Commit Graph

613 Commits

Author SHA1 Message Date
Eric J. Korpela accfed06e8 Mac patch for Makefile.am
svn path=/trunk/boinc/; revision=6041
2005-05-05 16:12:59 +00:00
Charlie Fenton e5d37f0d5e *** empty log message ***
svn path=/trunk/boinc/; revision=6038
2005-05-05 14:31:51 +00:00
David Anderson 1ae7d9b042 *** empty log message ***
svn path=/trunk/boinc/; revision=6026
2005-05-04 22:38:14 +00:00
David Anderson 406ba65605 *** empty log message ***
svn path=/trunk/boinc/; revision=5994
2005-05-01 04:49:51 +00:00
David Anderson 64b871f819 *** empty log message ***
svn path=/trunk/boinc/; revision=5962
2005-04-28 23:19:58 +00:00
David Anderson b8e12020e9 *** empty log message ***
svn path=/trunk/boinc/; revision=5942
2005-04-27 06:55:28 +00:00
Charlie Fenton 62ef1e8107 *** empty log message ***
svn path=/trunk/boinc/; revision=5929
2005-04-25 11:09:40 +00:00
Charlie Fenton 775adf5d19 *** empty log message ***
svn path=/trunk/boinc/; revision=5927
2005-04-24 12:31:55 +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
David Anderson 599943d367 *** empty log message ***
svn path=/trunk/boinc/; revision=5870
2005-04-15 22:38:22 +00:00
Rom Walton 9471802db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5844
2005-04-12 23:58:01 +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 7a6caef6cb *** empty log message ***
svn path=/trunk/boinc/; revision=5754
2005-04-01 22:30:08 +00:00
David Anderson ce48424984 *** empty log message ***
svn path=/trunk/boinc/; revision=5745
2005-03-30 21:11:49 +00:00
David Anderson dc0bf925b8 *** empty log message ***
svn path=/trunk/boinc/; revision=5732
2005-03-29 23:13:28 +00:00
David Anderson e057c05dfa *** empty log message ***
svn path=/trunk/boinc/; revision=5696
2005-03-21 19:57:44 +00:00
David Anderson dae6b07a9b *** empty log message ***
svn path=/trunk/boinc/; revision=5691
2005-03-19 21:39:17 +00:00
David Anderson 47a2b1ab49 *** empty log message ***
svn path=/trunk/boinc/; revision=5666
2005-03-15 20:23:24 +00:00
Rom Walton c8921f3bc3 *** empty log message ***
svn path=/trunk/boinc/; revision=5664
2005-03-15 18:35:53 +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 e18a297017 *** empty log message ***
svn path=/trunk/boinc/; revision=5625
2005-03-10 22:05:42 +00:00
David Anderson 7df8f71988 *** empty log message ***
svn path=/trunk/boinc/; revision=5570
2005-03-05 23:12:31 +00:00
David Anderson aaa135c3d3 *** empty log message ***
svn path=/trunk/boinc/; revision=5478
2005-02-19 00:12:59 +00:00
David Anderson 1e2c3e1266 *** empty log message ***
svn path=/trunk/boinc/; revision=5452
2005-02-16 23:30:29 +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
David Anderson 6c6b2b7ba2 *** empty log message ***
svn path=/trunk/boinc/; revision=5408
2005-02-11 23:47:49 +00:00
Bruce Allen 87d0753b1a Add CVS-id RCS tags to files.
svn path=/trunk/boinc/; revision=5398
2005-02-11 04:46:01 +00:00
Eric J. Korpela 7450ffd910 There was a problem using dynamic allocations (with new) in many of the
graphics classes.  In many places the code was written assuming default values
of 0, especially for pointers and booleans.  While that's true in the case of
a static instance with the default constructors, it not generally true with
dynamic allocation unless the default constructor is replaced.  Therefore I've
added constructors in the following classes/structs:  MOVING_TEXT_PANEL, COLOR,
PROGRESS, PROGRESS_2D, TEXTURE_DESC, REDUCED_ARRAY.

This will be a problem is any are used from C code unless the constructors
declarations are enclosed in "#ifdef __cplusplus" blocks.

There was also a problem that showed up under Windows when dynamic allocations
were used.  app_graphics_resize() gets called before app_graphics_init().  This
usually results in a crash since classes haven't yet been constructed.  To work
around this I've added a case for WM_CREATE in the WndProc() which calls
app_graphics_init.  Under windows this will get passed before WM_SIZE does.

svn path=/trunk/boinc/; revision=5395
2005-02-11 02:15:20 +00:00
Eric J. Korpela 0e47fe1fa6 -Unfortunately on some 32 bit systems there is a problem with wx-widgets
configuring itself for largefile support.  On these systems largefile
     support breaks C++ compiles by defining away many of the C standard library
     routines that should reside in namespace std::.  In order to get around
     problem first we have to check the largefile support macros.  Later we will
     use the macro SAH_LARGEFILE_BREAKS_CXX to check for the breakage.  If
     if breakage is found LARGEFILE_BREAKS_CXX is defined in config.h.  This
     define is checked in std_fixes.h and the appropriate functions are defined
     in order to solve the problem. (These functions were already in place)
     Because these defines affect the behavior of standard library headers,
     std_fixes.h is being included from config.h
    -Added AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS (for flags common to all
     compiles) so they will be defined in all Makefile.am files.
    -Put #ifdef _cplusplus around the C++ specific items in std_fixes.h so it
     may be included from C source files.

svn path=/trunk/boinc/; revision=5375
2005-02-09 19:39:04 +00:00
David Anderson 6e1c442831 *** empty log message ***
svn path=/trunk/boinc/; revision=5374
2005-02-09 19:02:11 +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 7c0456340a *** empty log message ***
svn path=/trunk/boinc/; revision=5232
2005-01-28 01:58:11 +00:00
Rom Walton 4294c73664 *** empty log message ***
svn path=/trunk/boinc/; revision=5220
2005-01-27 09:24:18 +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
David Anderson 74acc672b2 replace bad filename hashing function
svn path=/trunk/boinc/; revision=5031
2005-01-08 07:55:59 +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
David Anderson 8d9317c11f *** empty log message ***
svn path=/trunk/boinc/; revision=4990
2005-01-03 20:35:32 +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
David Anderson 637aa3b688 *** empty log message ***
svn path=/trunk/boinc/; revision=4962
2004-12-30 03:03:26 +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 fd4265d93b fixes from Reinhard Prix to disable building of boincglut under
Darwin/Unix.  It's only needed under Windows. Also warn user if
GLUT libraries missing, and then build only non-graphical client
side code.

svn path=/trunk/boinc/; revision=4954
2004-12-28 15:58:24 +00:00