- Added check for alloca and _alloca to configure.ac
- Structural change to boinc_worker_timer() to get rid of
essentially empty if clause.
- (WIN32) set_worker_timer() now checks that interrupt_count is incrementing
before assuming success.
- Added MINGW32 fix for missing alloca() define to gutil.C
- Added MINGW32/Dev-C++ fix for missing fpreset() prototypes to
boinc_win.h
svn path=/trunk/boinc/; revision=10130
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
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
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