Commit Graph

53 Commits

Author SHA1 Message Date
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 270c583dcf app version in window title
svn path=/trunk/boinc/; revision=8663
2005-10-12 18:40:53 +00:00
Bruce Allen fb2e676440 Add WU name to graphics window title.
TODO: add app_version_num to window title.
David or Rom, could you add app_version_num to struct APP_INIT_DATA?

svn path=/trunk/boinc/; revision=8658
2005-10-12 02:19:28 +00:00
Charlie Fenton 08ccd747fd *** empty log message ***
svn path=/trunk/boinc/; revision=7807
2005-09-06 12:58:56 +00:00
Charlie Fenton 62ef1e8107 *** empty log message ***
svn path=/trunk/boinc/; revision=5929
2005-04-25 11:09:40 +00:00
Charlie Fenton 716c75f996 *** empty log message ***
svn path=/trunk/boinc/; revision=5890
2005-04-19 00:34:41 +00:00
Charlie Fenton e50c21e658 *** empty log message ***
svn path=/trunk/boinc/; revision=5876
2005-04-16 07:16:29 +00:00
Charlie Fenton 91580bf010 *** empty log message ***
svn path=/trunk/boinc/; revision=5780
2005-04-05 14:26:34 +00:00
Charlie Fenton 9fc1e29b31 *** empty log message ***
svn path=/trunk/boinc/; revision=5778
2005-04-05 11:48:52 +00:00
David Anderson dae6b07a9b *** empty log message ***
svn path=/trunk/boinc/; revision=5691
2005-03-19 21:39:17 +00:00
Rom Walton 9b5a4bb483 *** empty log message ***
svn path=/trunk/boinc/; revision=5660
2005-03-14 21:37:53 +00:00
David Anderson 179bdec4d7 *** empty log message ***
svn path=/trunk/boinc/; revision=5658
2005-03-14 18:39:41 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 0b495765c4 *** empty log message ***
svn path=/trunk/boinc/; revision=5427
2005-02-15 06:32:43 +00:00
Eric J. Korpela 4f5cff90d5 Changed xwin_glut_is_initialized() to return int.
svn path=/trunk/boinc/; revision=5321
2005-02-04 21:26:27 +00:00
Eric J. Korpela 0616ecb86f Added a boolean function "xwin_glut_is_initialized()" to allow applications
to determine whether glut has been initialized before calling any glut API
functions.

svn path=/trunk/boinc/; revision=5317
2005-02-04 21:04:05 +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 7d96f35ba3 Reinhard has done a substantial amount of work in the past
couple of weeks to fix a number of bugs and problems in the
X-windows and/or Mac graphics event loop, and with lockfile
handling problems seen on a number of Unix file systems. A
brief summary of the changes is:

lockfile: replace calls to exit() by boinc_finish() + make
boinc_finish() remove the lockfile

graphics-eventloop: some re-structuring and simplification to
make handling of glut-exits/abort-signals more robust.  Eric,
if you could test this under Solaris we'd be very grateful.

svn path=/trunk/boinc/; revision=5025
2005-01-08 01:17:51 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
David Anderson 097c237fda *** empty log message ***
svn path=/trunk/boinc/; revision=4964
2004-12-30 03:33:53 +00:00
Bruce Allen c4c6f4be40 make X/Unix graphics not fail if GLUT calls abort(3). This
generated a SIGARBT.  We now catch this signal.  In the
graphics thread, this just restarts the graphics init process
(with some sleep(2)ing if needed to prevent a busy fail loop).
If the signal is caught in the main thread, we restore the old
signal handler then raise(SIGABRT).

David, note that when run standalone, killing the graphics
window does NOT kill the process.  I think this is fine, but
it doesn't correspond to what the documentation says.

svn path=/trunk/boinc/; revision=4958
2004-12-29 12:21:46 +00:00
Bruce Allen 9c1fb7a931 We need to change the fixed 60 second interval to increasing intervals.
When glutInit fails it prints a line (~100 chars) to stdout.  If it does
this 60 times per hour, that's 6kB/hour.  After ten hours it will overflow
the blob for stderr.

svn path=/trunk/boinc/; revision=4953
2004-12-28 09:32:29 +00:00
David Anderson 177b530d0b *** empty log message ***
svn path=/trunk/boinc/; revision=4951
2004-12-28 03:39:52 +00:00
David Anderson 452c6831cc *** empty log message ***
svn path=/trunk/boinc/; revision=4927
2004-12-23 06:10:53 +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
David Anderson 421cbcf75d *** empty log message ***
svn path=/trunk/boinc/; revision=4880
2004-12-17 19:55:08 +00:00
David Anderson 18f015b6ae *** empty log message ***
svn path=/trunk/boinc/; revision=4837
2004-12-13 19:14:54 +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 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 1ec6fdd236 *** empty log message ***
svn path=/trunk/boinc/; revision=4651
2004-11-24 23:51:15 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
David Anderson f342486b5f *** empty log message ***
svn path=/trunk/boinc/; revision=4601
2004-11-18 22:18:00 +00:00
David Anderson c245b19c15 *** empty log message ***
svn path=/trunk/boinc/; revision=4584
2004-11-18 01:30:37 +00:00
David Anderson aa5569c9a2 *** empty log message ***
svn path=/trunk/boinc/; revision=4583
2004-11-17 22:11:17 +00:00
David Anderson e74adba4f7 *** empty log message ***
svn path=/trunk/boinc/; revision=4582
2004-11-17 21:02:46 +00:00
David Anderson 52da590b2d *** empty log message ***
svn path=/trunk/boinc/; revision=4580
2004-11-17 19:19:26 +00:00
David Anderson 8fb8d2e466 *** empty log message ***
svn path=/trunk/boinc/; revision=4349
2004-10-19 20:27:09 +00:00
David Anderson 6d2ef15032 *** empty log message ***
svn path=/trunk/boinc/; revision=4338
2004-10-18 00:49:48 +00:00
David Anderson 37adf79297 *** empty log message ***
svn path=/trunk/boinc/; revision=4328
2004-10-14 22:01:05 +00:00
David Anderson b531e42fa9 *** empty log message ***
svn path=/trunk/boinc/; revision=4325
2004-10-13 22:52:37 +00:00
David Anderson 679fa7507e *** empty log message ***
svn path=/trunk/boinc/; revision=4323
2004-10-13 20:20:19 +00:00
Noaa Avital 531a5be9f8 *** empty log message ***
svn path=/trunk/boinc/; revision=4034
2004-08-09 20:08:04 +00:00
Noaa Avital ced6ac5aa9 *** empty log message ***
svn path=/trunk/boinc/; revision=3960
2004-07-29 20:42:37 +00:00
Noaa Avital 32173ecca1 *** empty log message ***
svn path=/trunk/boinc/; revision=3930
2004-07-21 22:45:03 +00:00
Daniel Hsu 6f658cf837 *** empty log message ***
svn path=/trunk/boinc/; revision=3896
2004-07-16 21:10:15 +00:00
Noaa Avital f23ae0cac3 *** empty log message ***
svn path=/trunk/boinc/; revision=3886
2004-07-15 21:54:48 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00