Commit Graph

61 Commits

Author SHA1 Message Date
Vitalii Koshura 44742026e2
Remove trailing whitespaces. Add CI script to verify in on every commit
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-05-05 20:08:17 +02:00
Gabor Gombas 0cab8848f3
Fix "-Wstrict-prototypes" warnings in API headers
When the BOINC API headers are included from C source code that gets compiled with "-Wstrict-prototypes", they generate a lot of "function declaration isn’t a prototype" warnings. The attached patch fixes it by turning "foo()" to "foo(void)".

Gabor

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-03-26 21:21:51 +02:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Frank Thomas fbcfeaf456 - Removed the svn:executable property from files that should not be executable,
like source code and text files. I skipped to check most files in html/
  and mac_*/ though.
- Added svn:executable to tools/watch_tcp because it has a shebang.


svn path=/trunk/boinc/; revision=13819
2007-10-10 09:25:40 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson f96db2c656 svn path=/trunk/boinc/; revision=13270 2007-08-06 23:06:16 +00:00
Reinhard Prix deee5e4317 - allow poor ANSI-C projects [such as E@H] to use BOINC: restore 'extern "C"' protection
- move extern bool boinc_graphics_possible(); into C++ API section
  [from Bernd's patch]

svn path=/trunk/boinc/; revision=11763
2007-01-04 11:28:41 +00:00
David Anderson da173a0dc1 *** empty log message ***
svn path=/trunk/boinc/; revision=11404
2006-10-31 00:29:30 +00:00
David Anderson e23f91745c *** empty log message ***
svn path=/trunk/boinc/; revision=10315
2006-06-12 16:22:43 +00:00
David Anderson 0f28904e41 *** empty log message ***
svn path=/trunk/boinc/; revision=10313
2006-06-12 16:16:17 +00:00
David Anderson e4ee999059 bool -> int
svn path=/trunk/boinc/; revision=9266
2006-01-18 23:04:05 +00:00
David Anderson f2d9aa4b8f *** empty log message ***
svn path=/trunk/boinc/; revision=8155
2005-09-23 20:59:39 +00:00
Rom Walton 340968387c *** empty log message ***
svn path=/trunk/boinc/; revision=8036
2005-09-16 18:16:49 +00:00
David Anderson 9f5adb0abc *** empty log message ***
svn path=/trunk/boinc/; revision=6404
2005-06-22 17:42:10 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson cacd24f348 *** empty log message ***
svn path=/trunk/boinc/; revision=4834
2004-12-13 18:55:42 +00:00
David Anderson 12e3ff46a6 *** empty log message ***
svn path=/trunk/boinc/; revision=4832
2004-12-13 01:21:50 +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
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
David Anderson e4215d8f72 *** empty log message ***
svn path=/trunk/boinc/; revision=4458
2004-10-29 18:18:53 +00:00
David Anderson f6171de1bd *** empty log message ***
svn path=/trunk/boinc/; revision=4439
2004-10-26 21:48:37 +00:00
David Anderson 53c86913b7 *** empty log message ***
svn path=/trunk/boinc/; revision=4437
2004-10-26 21:12:00 +00:00
David Anderson 06f28b0664 *** empty log message ***
svn path=/trunk/boinc/; revision=4433
2004-10-26 20:33:16 +00:00
David Anderson 62c59a93cd *** empty log message ***
svn path=/trunk/boinc/; revision=4316
2004-10-11 23:57:07 +00:00
Noaa Avital 4a3be34114 *** empty log message ***
svn path=/trunk/boinc/; revision=4035
2004-08-09 22:57:29 +00:00
Noaa Avital 0b0e581b9a *** empty log message ***
svn path=/trunk/boinc/; revision=4026
2004-08-07 00:31:41 +00:00
Noaa Avital a8c1439ef8 *** empty log message ***
svn path=/trunk/boinc/; revision=4024
2004-08-06 23:43:55 +00:00
David Anderson 2de0f5a1bb *** empty log message ***
svn path=/trunk/boinc/; revision=3460
2004-05-27 23:46:07 +00:00
David Anderson 4add3da6fa *** empty log message ***
svn path=/trunk/boinc/; revision=3459
2004-05-27 20:44:33 +00:00
Rom Walton 06c039bb56 *** empty log message ***
svn path=/trunk/boinc/; revision=3034
2004-03-06 09:45:25 +00:00
David Anderson 83f6d045f7 *** empty log message ***
svn path=/trunk/boinc/; revision=2636
2003-11-06 20:27:07 +00:00
David Anderson 5e2bc9d74b *** empty log message ***
svn path=/trunk/boinc/; revision=2614
2003-10-31 22:37:46 +00:00
David Anderson 631bcab45d *** empty log message ***
svn path=/trunk/boinc/; revision=2457
2003-10-14 20:37:02 +00:00
David Anderson 4947c97be0 *** empty log message ***
svn path=/trunk/boinc/; revision=2420
2003-10-07 04:35:56 +00:00
David Anderson e12769149f graphics stuff
svn path=/trunk/boinc/; revision=2410
2003-10-05 05:26:59 +00:00
Eric J. Korpela fc95f2f4bb *** empty log message ***
svn path=/trunk/boinc/; revision=2393
2003-10-02 21:30:14 +00:00
David Anderson 938a303ef8 frame rate throttling
svn path=/trunk/boinc/; revision=2392
2003-10-02 21:16:37 +00:00
David Anderson 70b839eace *** empty log message ***
svn path=/trunk/boinc/; revision=2390
2003-10-02 18:51:38 +00:00
Eric J. Korpela 20ab958bc9 *** empty log message ***
svn path=/trunk/boinc/; revision=2387
2003-10-01 18:19:29 +00:00
David Anderson 6fab589545 move graphics code
svn path=/trunk/boinc/; revision=2381
2003-09-30 21:17:20 +00:00
Oliver Wang 4ce3fac0e0 *** empty log message ***
svn path=/trunk/boinc/; revision=2368
2003-09-26 23:42:25 +00:00
Oliver Wang e109339306 *** empty log message ***
svn path=/trunk/boinc/; revision=2346
2003-09-22 22:22:20 +00:00
Oliver Wang 606e797e25 image support added for jpg, bmp and ppm
svn path=/trunk/boinc/; revision=2337
2003-09-17 23:17:09 +00:00
Eric Heien 29b8985b51 *** empty log message ***
svn path=/trunk/boinc/; revision=1345
2003-06-10 17:53:18 +00:00
Dan Werthimer 286ce243c2 no message
svn path=/trunk/boinc/; revision=1255
2003-05-28 22:39:08 +00:00
Dan Werthimer 3d01527a16 no message
svn path=/trunk/boinc/; revision=1163
2003-05-07 23:42:17 +00:00
Dan Werthimer 2e8548bb4c no message
svn path=/trunk/boinc/; revision=1160
2003-05-07 20:04:26 +00:00
Eric Heien 71ba44eb73 no message
svn path=/trunk/boinc/; revision=1145
2003-04-29 20:36:41 +00:00
Eric Heien a6c7974a13 misc fixes
svn path=/trunk/boinc/; revision=1011
2003-03-04 23:57:25 +00:00
Seth Cooper 74e0ad4c8b windows screensaver
svn path=/trunk/boinc/; revision=1007
2003-03-04 06:01:46 +00:00