Commit Graph

73 Commits

Author SHA1 Message Date
David Anderson fbfd793489 - API: initialize sigaction struct in X graphics code
svn path=/trunk/boinc/; revision=13558
2007-09-09 21:09:07 +00:00
Charlie Fenton 5d2d8dea7a Added a comment
svn path=/trunk/boinc/; revision=13252
2007-07-31 13:35:40 +00:00
Charlie Fenton 6db6b61352 Graphics API: Don't render graphics when application is suspended to reduce CPU usage
svn path=/trunk/boinc/; revision=13250
2007-07-31 13:11:26 +00:00
Charlie Fenton e0b4dfea33 Graphics API: Don't render graphics when application is suspended to reduce CPU usage
svn path=/trunk/boinc/; revision=13249
2007-07-31 13:07:10 +00:00
David Anderson 673a2bee27 *** empty log message ***
svn path=/trunk/boinc/; revision=11619
2006-12-05 03:50:36 +00:00
David Anderson da173a0dc1 *** empty log message ***
svn path=/trunk/boinc/; revision=11404
2006-10-31 00:29:30 +00:00
Charlie Fenton 380c3d6ea9 *** empty log message ***
svn path=/trunk/boinc/; revision=11016
2006-08-27 00:03:58 +00:00
Charlie Fenton 60be32263f *** empty log message ***
svn path=/trunk/boinc/; revision=10959
2006-08-22 00:53:47 +00:00
Charlie Fenton 77a94a58ad *** empty log message ***
svn path=/trunk/boinc/; revision=10952
2006-08-21 15:59:16 +00:00
Charlie Fenton 55d3287dfc *** empty log message ***
svn path=/trunk/boinc/; revision=10951
2006-08-21 14:41:30 +00:00
Charlie Fenton 56959e9a27 *** empty log message ***
svn path=/trunk/boinc/; revision=10935
2006-08-17 09:39:18 +00:00
Charlie Fenton 56716723bb *** empty log message ***
svn path=/trunk/boinc/; revision=10817
2006-08-02 00:58:02 +00:00
Walt Gribben 92300dd902 *** empty log message ***
svn path=/trunk/boinc/; revision=10813
2006-08-01 23:59:33 +00:00
Charlie Fenton 0d5748e73f *** empty log message ***
svn path=/trunk/boinc/; revision=10687
2006-07-20 09:24:06 +00:00
David Anderson 0f28904e41 *** empty log message ***
svn path=/trunk/boinc/; revision=10313
2006-06-12 16:16:17 +00:00
Charlie Fenton b6bed4b2d3 *** empty log message ***
svn path=/trunk/boinc/; revision=10114
2006-05-08 22:45:10 +00:00
David Anderson a9183d00dc *** empty log message ***
svn path=/trunk/boinc/; revision=10097
2006-05-04 04:29:28 +00:00
David Anderson 9d4cbf912e glut
svn path=/trunk/boinc/; revision=9782
2006-03-31 07:16:44 +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
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