Commit Graph

559 Commits

Author SHA1 Message Date
Bruce Allen 02e1ab9770 Make boinc_time_to_checkpoint() return int not bool, for compability
with C API.

svn path=/trunk/boinc/; revision=4921
2004-12-22 15:02:03 +00:00
David Anderson 779ee206b7 *** empty log message ***
svn path=/trunk/boinc/; revision=4912
2004-12-21 06:05:44 +00:00
David Anderson e3e062bed5 *** empty log message ***
svn path=/trunk/boinc/; revision=4901
2004-12-19 07:53:02 +00:00
Rom Walton ab98339572 *** empty log message ***
svn path=/trunk/boinc/; revision=4900
2004-12-19 04:27:02 +00:00
David Anderson 2b539b7f1e *** empty log message ***
svn path=/trunk/boinc/; revision=4881
2004-12-17 19:59:35 +00:00
David Anderson 421cbcf75d *** empty log message ***
svn path=/trunk/boinc/; revision=4880
2004-12-17 19:55:08 +00:00
Bruce Allen fdb0556fa6 Added RCSID tags
svn path=/trunk/boinc/; revision=4862
2004-12-16 03:28:40 +00:00
Bruce Allen 0329a35667 Added RCSID at the end
svn path=/trunk/boinc/; revision=4861
2004-12-16 03:09:57 +00:00
David Anderson 751b0ebd9b *** empty log message ***
svn path=/trunk/boinc/; revision=4854
2004-12-15 19:35:42 +00:00
David Anderson 2da526fa0d *** empty log message ***
svn path=/trunk/boinc/; revision=4849
2004-12-15 00:38:19 +00:00
David Anderson 8cab8517fd *** empty log message ***
svn path=/trunk/boinc/; revision=4846
2004-12-14 20:28:13 +00:00
David Anderson 3db69edb05 *** empty log message ***
svn path=/trunk/boinc/; revision=4844
2004-12-14 19:23:46 +00:00
David Anderson 18f015b6ae *** empty log message ***
svn path=/trunk/boinc/; revision=4837
2004-12-13 19:14:54 +00:00
David Anderson 940c173597 *** empty log message ***
svn path=/trunk/boinc/; revision=4836
2004-12-13 19:09:15 +00:00
David Anderson 9400348974 *** empty log message ***
svn path=/trunk/boinc/; revision=4835
2004-12-13 19:03:10 +00:00
David Anderson cacd24f348 *** empty log message ***
svn path=/trunk/boinc/; revision=4834
2004-12-13 18:55:42 +00:00
Bruce Allen 4c8d4ae2b0 Typo
svn path=/trunk/boinc/; revision=4833
2004-12-13 01:41:57 +00:00
David Anderson 12e3ff46a6 *** empty log message ***
svn path=/trunk/boinc/; revision=4832
2004-12-13 01:21:50 +00:00
Bruce Allen 152699da36 Initialized NULL (in static initialized data segment anyway, but be
explicit).

svn path=/trunk/boinc/; revision=4831
2004-12-12 15:21:20 +00:00
Bruce Allen 7ac4351f56 graphics_lib_handle has to be extern C to be usable in a C program.
svn path=/trunk/boinc/; revision=4830
2004-12-12 15:07:27 +00:00
Bruce Allen 7211c18865 Added extern C declarations to a couple of header files:
- In graphics_lib.h, this is for compatibility with pure C
      applications.
    - In graphics_impl.h, this would be needed EVEN if we were
      never building app or library with anything other than C++.
      It's because dlsym() can only work if you pass it a non-name
      mangled symbol. Please see:
      http://www.isotton.com/howtos/C++-dlopen-mini-HOWTO/C++-dlopen-mini-HOWTO.html
      for futher edetail.
    - Comments added to graphics_lib.C, better error message.

svn path=/trunk/boinc/; revision=4829
2004-12-12 14:40:43 +00:00
Bruce Allen 2c59187f7e Trying to make C compatible
svn path=/trunk/boinc/; revision=4828
2004-12-12 12:25:31 +00:00
Bruce Allen 2f122a6fa9 Missing include files for make install
svn path=/trunk/boinc/; revision=4827
2004-12-12 12:19:42 +00:00
David Anderson e6fb58fee8 *** empty log message ***
svn path=/trunk/boinc/; revision=4826
2004-12-12 06:54:28 +00:00
David Anderson 330477238f *** empty log message ***
svn path=/trunk/boinc/; revision=4825
2004-12-11 18:38:19 +00:00
David Anderson 4e2d808e1b *** empty log message ***
svn path=/trunk/boinc/; revision=4823
2004-12-11 05:55:55 +00:00
David Anderson 9c968d3c2f *** empty log message ***
svn path=/trunk/boinc/; revision=4822
2004-12-11 01:27:47 +00:00
David Anderson f95374f49d *** empty log message ***
svn path=/trunk/boinc/; revision=4821
2004-12-11 01:16:36 +00:00
David Anderson 537c820866 *** empty log message ***
svn path=/trunk/boinc/; revision=4820
2004-12-11 01:01:19 +00:00
Bruce Allen 2af4e5e390 David, here's a rough pass, I haven't even tried to compile
it. Please read comments in-line.  I think the major
        shortcoming is
        that most (all?) apps will want to use 'handle' to resolve their
        own functions to communicate data from worker to app graphics.
        Perhaps we should provide an additional argument to
        boinc_init_graphics_lib() for that purpose?  At the right point,
        after sucessful dlopen(), boinc_init_graphics_lib() will call
        that user-supplied function (if not NULL) passing it handle.
        On return boinc_init_graphics_lib() will then carry on and start
        graphics.
        It's fun working on a file that's not in Makefile.  No guilt!

svn path=/trunk/boinc/; revision=4816
2004-12-10 23:33:41 +00:00
David Anderson 4150dcbacc *** empty log message ***
svn path=/trunk/boinc/; revision=4811
2004-12-10 21:06:42 +00:00
David Anderson b4aeaca73d fixed file upload bug
svn path=/trunk/boinc/; revision=4808
2004-12-10 04:18:40 +00:00
David Anderson 3c3a9eebdf *** empty log message ***
svn path=/trunk/boinc/; revision=4807
2004-12-10 00:57:20 +00:00
Bruce Allen 18b001a1f2 Removed line continuation in comments
svn path=/trunk/boinc/; revision=4805
2004-12-09 16:45:22 +00:00
Bruce Allen 5d8366ca43 Removed bmplib.C tgalib.C from api/Makefile.am as workaround
for missing header files + code.  Note: header files must also
be listed among source files!

svn path=/trunk/boinc/; revision=4804
2004-12-09 10:45:27 +00:00
David Anderson f4ef0f5126 *** empty log message ***
svn path=/trunk/boinc/; revision=4801
2004-12-09 01:07:01 +00:00
David Anderson 289241c87b *** empty log message ***
svn path=/trunk/boinc/; revision=4800
2004-12-09 00:46:07 +00:00
David Anderson fc8c69048f *** empty log message ***
svn path=/trunk/boinc/; revision=4795
2004-12-08 20:55:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 0ed77df5c8 *** empty log message ***
svn path=/trunk/boinc/; revision=4780
2004-12-07 19:37:17 +00:00
Rom Walton d7519eec6a *** empty log message ***
svn path=/trunk/boinc/; revision=4778
2004-12-07 16:37:18 +00:00
Bruce Allen 6a4bb3419b Use HAVE_STD_MIN and HAVE_STD_MAX
svn path=/trunk/boinc/; revision=4777
2004-12-07 11:16:45 +00:00
Rom Walton f9c8c6b86d *** empty log message ***
svn path=/trunk/boinc/; revision=4775
2004-12-06 23:51:41 +00:00
Bruce Allen 2540d049ec [thanks to Bernd Machenschalk!]
Fixed 'time to checkpoint' problem under Win32 with pure C code.
It turns out that MS VC++ up to version 4.2 defines bool as INT.
But more recent VC++ defines bool as CHAR.  This broke
boinc_time_to_checkpoint() under Win32, when used within pure ANSI
C code, if you treated the return value as a bool. So this patch
defines bool as char if using C under recent MS compilers.

David, a better solution for API functions that should be
callable from C is to make them return 'int' not 'bool'.
Probably ditto for Fortran. Sigh.

svn path=/trunk/boinc/; revision=4767
2004-12-06 16:03:13 +00:00
David Anderson 11b088afe2 *** empty log message ***
svn path=/trunk/boinc/; revision=4765
2004-12-06 00:08:04 +00:00
David Anderson 02b6393a11 *** empty log message ***
svn path=/trunk/boinc/; revision=4764
2004-12-05 23:52:17 +00:00
Bruce Allen d11fe55856 Thanks, Reinhard!
-   C extern statements so that 'API' header files can be included in C
        programs as well as C++.
-   Make install now only installs the header files needed for building
        the external APIs.

svn path=/trunk/boinc/; revision=4755
2004-12-04 00:56:22 +00:00
Bruce Allen c2d7965c09 - Fixed autoconf/automake build process so that it works correctly
under Mac OSX. Also make dist now works (make distcheck still
     broken).  Karl, since you were the last
     person to fix up this mess, how about taking a look??

svn path=/trunk/boinc/; revision=4665
2004-11-26 17:45:13 +00:00
David Anderson d75f601efe *** empty log message ***
svn path=/trunk/boinc/; revision=4652
2004-11-25 07:24:35 +00:00
David Anderson 1ec6fdd236 *** empty log message ***
svn path=/trunk/boinc/; revision=4651
2004-11-24 23:51:15 +00:00