Commit Graph

123 Commits

Author SHA1 Message Date
David Anderson be9c1ec9b4 - API: initialize all fields on BOINC_OPTIONS.
Fixes a bug that caused crash on 64bit Linux
    (from M.F. Somers)

api/
    boinc_api.h

svn path=/trunk/boinc/; revision=12909
2007-06-12 18:01:27 +00:00
David Anderson b4087e0e1b svn path=/trunk/boinc/; revision=12850 2007-06-08 07:55:27 +00:00
David Anderson 8f25fdf2a1 David 14 May 2007
- API: Eric Myers reported that my 4 May checkin
        (which increased worker thread stack size to the limit
        returned by getrlimit())
        broke his app on several Linux platforms.
        So I added a worker_thread_stack_size element to BOINC_OPTIONS.
        If you want an increased stack size, set this.
    - web RPC: add <url> and <local_revision> elements to
        the XML returned by get_project_config.php

    html/user/
        sample_get_project_config.php
    api/
        graphics_impl.C


svn path=/trunk/boinc/; revision=12664
2007-05-14 19:52:00 +00:00
David Anderson 87fbd47b75 *** empty log message ***
svn path=/trunk/boinc/; revision=12187
2007-03-04 20:52:31 +00:00
David Anderson 984c5a635e *** empty log message ***
svn path=/trunk/boinc/; revision=11702
2006-12-19 22:52:58 +00:00
David Anderson d3b1c45d64 *** empty log message ***
svn path=/trunk/boinc/; revision=11634
2006-12-07 17:30:48 +00:00
David Anderson 5e406b783c *** empty log message ***
svn path=/trunk/boinc/; revision=11236
2006-10-03 15:43:38 +00:00
David Anderson 15fa53c622 *** empty log message ***
svn path=/trunk/boinc/; revision=10514
2006-06-26 17:09:23 +00:00
David Anderson 279172e807 *** empty log message ***
svn path=/trunk/boinc/; revision=10318
2006-06-12 20:09:19 +00:00
Rom Walton f91c1401dc *** empty log message ***
svn path=/trunk/boinc/; revision=10285
2006-06-09 16:25:13 +00:00
Charlie Fenton 4e56e102bb *** empty log message ***
svn path=/trunk/boinc/; revision=10282
2006-06-09 12:40:27 +00:00
David Anderson d1caa3b689 pass rsc_fpops_est to app
svn path=/trunk/boinc/; revision=10276
2006-06-09 02:33:00 +00:00
Eric J. Korpela 77ca32d7e2 *** empty log message ***
svn path=/trunk/boinc/; revision=10123
2006-05-11 18:28:35 +00:00
David Anderson 3a0a20ae0d *** empty log message ***
svn path=/trunk/boinc/; revision=10068
2006-05-01 05:54:52 +00:00
Rom Walton d6d5922904 *** empty log message ***
svn path=/trunk/boinc/; revision=9712
2006-03-23 03:05:59 +00:00
Charlie Fenton ae01b962ea *** empty log message ***
svn path=/trunk/boinc/; revision=9658
2006-03-16 08:51:34 +00:00
David Anderson 960d40f916 *** empty log message ***
svn path=/trunk/boinc/; revision=9654
2006-03-15 19:27:37 +00:00
Charlie Fenton b8c40b5a2a *** empty log message ***
svn path=/trunk/boinc/; revision=9650
2006-03-15 01:50:12 +00:00
David Anderson a180483343 api change
svn path=/trunk/boinc/; revision=9639
2006-03-13 20:45:08 +00:00
Rom Walton 0137d9f38d *** empty log message ***
svn path=/trunk/boinc/; revision=9632
2006-03-11 21:30:26 +00:00
Rom Walton 12ee0008ec *** empty log message ***
svn path=/trunk/boinc/; revision=9588
2006-03-02 08:28:23 +00:00
Charlie Fenton 4073eae69d *** empty log message ***
svn path=/trunk/boinc/; revision=9578
2006-02-28 09:53:10 +00:00
Charlie Fenton deaa508a7c *** empty log message ***
svn path=/trunk/boinc/; revision=9574
2006-02-28 01:57:55 +00:00
Rom Walton ec9b73480a *** empty log message ***
svn path=/trunk/boinc/; revision=9533
2006-02-23 07:54:11 +00:00
David Anderson c3425dbb6c let apps handle abort requests
svn path=/trunk/boinc/; revision=9400
2006-02-03 20:48:48 +00:00
David Anderson dbd7017ea9 bool->int in API
svn path=/trunk/boinc/; revision=9193
2006-01-06 23:38:49 +00:00
Bruce Allen 13e3b93cce Put prototype in the correct section.
svn path=/trunk/boinc/; revision=9188
2006-01-06 12:40:17 +00:00
Bruce Allen 4463b0948d Nasty bug in API lib. See checkin_nodes_2004 December 22.
Functions meant to be used from within C shoud never be
declared bool!

Fix: change boinc_is_standalone() to return int not bool.

Note: some API functions still return bools, but since E@H
doesn't use them and I am afraid of doing damage, I have
left them alone.

svn path=/trunk/boinc/; revision=9181
2006-01-06 09:02:26 +00:00
David Anderson a40fb4ca57 include integer ops in benchmark API
svn path=/trunk/boinc/; revision=8796
2005-11-03 05:31:21 +00:00
David Anderson f2d9aa4b8f *** empty log message ***
svn path=/trunk/boinc/; revision=8155
2005-09-23 20:59:39 +00:00
Charlie Fenton 08ccd747fd *** empty log message ***
svn path=/trunk/boinc/; revision=7807
2005-09-06 12:58:56 +00:00
David Anderson 0d4fae3a35 boinc_not_using_cpu() API
svn path=/trunk/boinc/; revision=7410
2005-08-17 21:05:26 +00:00
David Anderson ba945d2c72 API critical section calls
svn path=/trunk/boinc/; revision=7292
2005-08-12 21:24:07 +00:00
David Anderson a2ddb241a4 API bug fix
svn path=/trunk/boinc/; revision=7277
2005-08-11 21:26:02 +00:00
Charlie Fenton 3a5356ff4a *** empty log message ***
svn path=/trunk/boinc/; revision=6470
2005-06-28 09:56:10 +00:00
David Anderson 6722611151 *** empty log message ***
svn path=/trunk/boinc/; revision=6423
2005-06-24 04:34:45 +00:00
David Anderson 2224431435 *** empty log message ***
svn path=/trunk/boinc/; revision=6197
2005-05-20 00:48:52 +00:00
David Anderson 64b871f819 *** empty log message ***
svn path=/trunk/boinc/; revision=5962
2005-04-28 23:19:58 +00:00
David Anderson 7c0456340a *** empty log message ***
svn path=/trunk/boinc/; revision=5232
2005-01-28 01:58:11 +00:00
Rom Walton b91c5683a3 *** empty log message ***
svn path=/trunk/boinc/; revision=5219
2005-01-27 09:19:42 +00:00
Rom Walton 943dfda580 *** empty log message ***
svn path=/trunk/boinc/; revision=5218
2005-01-27 08:36:27 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Bruce Allen 37a49c9b09 Patches from Reinhard Prix to fix several problems.
(1) apps being suspended would call boinc_finish(nonzero) and
          core client would treat this as app failure.  Introduce
          a new function boinc_exit() and call that instead.
(2) improvements to GUI build with wxWidgets
(3) improved X event handling loop now ensures that X window
          is taken away when window killed.

svn path=/trunk/boinc/; revision=5142
2005-01-19 15:54:04 +00:00
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 18f015b6ae *** empty log message ***
svn path=/trunk/boinc/; revision=4837
2004-12-13 19:14:54 +00:00
David Anderson 12e3ff46a6 *** empty log message ***
svn path=/trunk/boinc/; revision=4832
2004-12-13 01:21:50 +00:00
David Anderson e6fb58fee8 *** empty log message ***
svn path=/trunk/boinc/; revision=4826
2004-12-12 06:54:28 +00:00
David Anderson 537c820866 *** empty log message ***
svn path=/trunk/boinc/; revision=4820
2004-12-11 01:01:19 +00:00
David Anderson f4ef0f5126 *** empty log message ***
svn path=/trunk/boinc/; revision=4801
2004-12-09 01:07:01 +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