Commit Graph

22 Commits

Author SHA1 Message Date
David Anderson 53782b7de4 - lib: switch include order to the way it was (general to specific).
Should fix MinGW compile


svn path=/trunk/boinc/; revision=26008
2012-08-11 05:47:18 +00:00
David Anderson 405f567c81 - code cleanup: in foo.cpp, include foo.h first
svn path=/trunk/boinc/; revision=25933
2012-08-01 20:04:05 +00:00
Rom Walton bd8cee05e6 - MGR: Add OpenCL icon to the ProjectInfo wizard page.
clientgui/
        ProjectInfoPage.cpp, .h
    clientgui/res/
        openclicon.xpm
    clientgui/res/templates/
        openclicon.png
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=25676
2012-05-15 16:42:39 +00:00
David Anderson ceef77edfc - diagnostics lib:
- store file sizes as double rather than int
    - if we're appending to log files, initialize the
        size variables to the current size
    - check return value of fprintf, only increment size if it's +
    - when rotate log file, reset size var to zero


svn path=/trunk/boinc/; revision=25669
2012-05-10 19:47:51 +00:00
Rom Walton 1751c5d698 - lib: Fix a bug where information that was meant for stdout was
being written to stderr instead.
    - lib: Keep track of the rough estimate of stdout and stderr by
        incrementing internal variables instead of doing a stat on
        each log write.  stat() on Windows is converted to a FindFirstFile()
        call which in turn looks up the file size information in the
        directory structure file system entry.  The directory structure 
        information is only updated periodically.  This lead to larger
        than expected log file for both the manager and core client.
        
        This has the added advantage of reducing the overall number of
        file I/O operations when logging information.
        
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=25666
2012-05-09 23:22:37 +00:00
Rom Walton edbbf54a92 - client: Fix crashing bug in OpenCL detection on Windows.
- lib: Fix crashing bug for debug builds of the BOINC client
    
    client/
        coproc_detect.cpp
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24363
2011-10-10 14:21:08 +00:00
Rom Walton f304e50691 - Lib: Re-enable boinc lib mem snapshots for BOINC based applications (boinc,
boincmgr, boinc.scr) on Windows.
        
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24335
2011-10-05 21:45:35 +00:00
Rom Walton 68d7bb0426 Quick Updates
svn path=/trunk/boinc/; revision=24334
2011-10-05 21:33:51 +00:00
David Anderson 32583581ac - manager: fix build break on Linux
Undoes part of yesterday's checkin.
- more changes from #ifdef HAVE_X to #if HAVE_X


svn path=/trunk/boinc/; revision=24307
2011-09-28 17:33:26 +00:00
Rom Walton 96b1ce8e25 Quick Updates
svn path=/trunk/boinc/; revision=23197
2011-03-07 21:45:37 +00:00
Eric J. Korpela 459b0d5a57 Fixes for MinGW application build.
svn path=/trunk/boinc/; revision=21508
2010-05-13 17:03:29 +00:00
Rom Walton 9cb3e6ffc7 - client & lib: bring header inclusion up-to-date for the CC to begin
hunting down a memory leak.
        
    client/
        <Various Files>
    lib/
        <Various Files>

svn path=/trunk/boinc/; revision=21457
2010-05-11 19:10:29 +00:00
Rom Walton 9e2e47c1de - DIAG: Make init functions consistant with one another.
lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=21418
2010-05-07 22:25:58 +00:00
Rom Walton e14e1cad34 - Remove BOINC_RCSID tags from source files, we are doing branching and tagging
properly.
        
    <Various Files>

svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
Bernd Machenschalk cdcbfc29fd api: updates for building Win32 libs & API with MinGW gcc
added Makefile.mingw used for Einstein@home in lib/ as an
_alternative_ to api/Makefile.mingw

svn path=/trunk/boinc/; revision=19583
2009-11-16 13:13:42 +00:00
Eric J. Korpela 0f595f8857 Fixed problem that prevented stack backtrace from being printed after segfault
on linux.


svn path=/trunk/boinc/; revision=18959
2009-08-31 23:04:01 +00:00
David Anderson 563a55f37e - client/libs/samples: remove "#define read _read" etc. from boinc_win.h
These cause problems when "read" is a member name, etc.
		Do these #defines, conditioned on _MSC_VER,
		in the files that actually need them.
	- don't include boinc_win.h from parse.h.
		principle of minimal inclusion

svn path=/trunk/boinc/; revision=18902
2009-08-22 17:00:19 +00:00
David Anderson 97d50e12b9 - compile fixes for Haiku
svn path=/trunk/boinc/; revision=18213
2009-05-27 23:36:55 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +00:00
Charlie Fenton 1c431d8ca8 lib: add time stamps to BOINCTRACE on non-Windows systems
svn path=/trunk/boinc/; revision=17203
2009-02-11 10:36:16 +00:00
Eric J. Korpela 4e60ef3003 - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
- Update to libtool 1.5.24
- build environment:  Major automake changes that I've been warning about
  for some time.
- Now uses libtool to build libraries.
- Builds separate boinc_fcgi and sched_fcgi libraries for use with 
  FCGI server components.
- New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
  a library only if --with-libname[=DIR] is specified on the configure
  command line.  This is to allow inclusion of libraries when the 
  ssl, gtk, wxWidgets, or other configuration is incorrect for static
  libraries.
- Added a lot of "--with-*" for some libraries that might be required for
  static builds.
- The sea directory has been moved to packages/generic.  Changes to sea
  and the associated scripts might be required to better make use of the
  staging mechanism and shared libraries.
- Fixed includes of boinc_fcgi.h in many files.
- Fixed places where FCGI_FILE needs to be used implicitly.
- Fixed missing define of _SC_PAGESIZE on hosts that define only
  _SC_PAGE_SIZE.
- Moved build of boinc_cmd (and source file) from lib to client



svn path=/trunk/boinc/; revision=16904
2009-01-13 23:06:02 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00