Commit Graph

  • be6350a54f Split a few overlong lines. rkrolib 2003-12-30 11:50:58 +0000
  • ba4088e1f2 Changed several #ifdef's to proper #if's. Eeek. Oook. rkrolib 2003-12-30 11:43:24 +0000
  • 5d5ba0e9e9 Hm... I thought that I committed this last night. What's up? rkrolib 2003-12-30 10:57:01 +0000
  • 4f23cc54d6 Added pre-built DevPak link for Dev C++ users nigels 2003-12-30 09:53:12 +0000
  • 4a51a82b08 Three supported win32 compilation environments: MSVC, Cygwin and MingW32 #pragma is specific to MS compiler nigels 2003-12-30 02:55:39 +0000
  • 176108b5eb Explicitly cast function pointer to (void *) in SET_WCB since all callbacks stored as void pointers suppress gcc -Wall -pendantic "noise" nigels 2003-12-30 02:51:32 +0000
  • 2ed416a592 Typesafe handling of temporary window destroy callback Move assignment out of while test, scope temporary inside loop Be explicit about assignment/comparison in if test for gcc peace of mind suppress gcc -Wall -pendantic "noise" nigels 2003-12-30 02:49:56 +0000
  • 54ba1965ee Three supported win32 compilation environments: MSVC, Cygwin and MingW32 The windows mmsystem header need only be included internally to freeglut strdup vs _strdup is specific to the MS compiler nigels 2003-12-30 02:28:13 +0000
  • b5452aeafe strlen expects (char *), rather than (unsigned char *) suppress gcc -Wall -pendantic "noise" nigels 2003-12-30 02:24:05 +0000
  • 1fdd04c554 Replace assignment of array to struct with field-by-field assignment suppress gcc -Wall -pendantic "noise" nigels 2003-12-30 02:22:11 +0000
  • ddd877b469 glutBitmapString and glutBitmapLength expect (unsigned char *) rather than (char *) suppress gcc in -Wall -pendantic "noise" nigels 2003-12-30 02:20:03 +0000
  • 4a7c8b153d Replace #ifdef WIN32 with #ifdef TARGET_HOST_WIN32, as per FreeGLUT convention nigels 2003-12-30 02:17:07 +0000
  • 4590373e8d fgState.FPSInterval is unsigned int (GLuint), environment variable GLUT_FPS can be negative nigels 2003-12-30 02:14:54 +0000
  • d07ef326cd OpenGL context is not made current on Win32 until fgSetWindow is called. This resolves severe problems observed in GLUI applications. nigels 2003-12-30 02:01:53 +0000
  • 3585f68a7f #pragma message is only understood my MS compiler #if defined(_MSC_VER) .. #endif nigels 2003-12-30 01:58:19 +0000
  • 4be32e042b Resolve bug 864978 - GLUT_OWNS_JOYSTICK unhandled nigels 2003-12-30 01:54:44 +0000
  • 5cc127d807 Tidy nested if/else to suppress gcc -Wall -pedantic noise gcc suggests explicit braces to avoid ambiguous `else' nigels 2003-12-30 01:52:07 +0000
  • 5a8204816b Add a newline between the bug reports and the feature requests. puggles 2003-12-29 21:11:33 +0000
  • 5e4c0b6c11 Add in a "view PHP source" option to all webpages that links to CVS. Clean up the template file a little more for kicks. :) puggles 2003-12-29 19:02:34 +0000
  • 4dcf24793a Missed a set of commands to put in a "typewriter" font. rkrolib 2003-12-25 17:24:27 +0000
  • 95fc4f4d4d Use "bzcat ... | tar -xvf -" instead of "tar -jxvf ...". rkrolib 2003-12-25 17:23:08 +0000
  • 2d4c487aff Some cleanup and touchup to the web-pages. rkrolib 2003-12-25 16:22:03 +0000
  • e72b2158c0 Configuring with "--enable-warnings" broke three demos: * CallbackMaker defined, but did not use, the Joystick() function (a callback for the freeglut joystick interface). I uncommented the callback-registration. I assume that it was commented out because it was spammy. (freeglut does joysticks by polling with a timer.) Perhaps a longer interval than 10ms would be advisable? rkrolib 2003-12-25 14:39:38 +0000
  • 64443c7c4b Moved the window-resize code so that it happens whenever there is a pending resize for the window, whether or not the window is visible or in need of a redisplay. The resize is now done before the visibility and need-to-redisplay checks. rkrolib 2003-12-23 08:39:44 +0000
  • 38fb597973 Got rid of those int/ptr warnings on AMD64. (The code was casting an {int} to a pointer, and later retrieving the int by another cast. It should be safe provided that pointers are at least as big as {int}, but GCC was giving warnings on my system, so...fixed.) rkrolib 2003-12-22 22:13:20 +0000
  • 69c32f5e17 Several test-on-assignment cases have been converted to stop GCC from complaining about if( a = get_a_value_for_a( ) ) type code. rkrolib 2003-12-22 21:39:18 +0000
  • 0687f2f596 Ooops, left some cruft in a comment in the header when committing the last patch. Cleaned up. rkrolib 2003-12-19 01:00:07 +0000
  • a7d846c36b Wrote SET_WCB() to set a window callback. This lets us out of using the FETCH_WCB() as an lvalue (which it shouldn't, since the value of the FETCH is cast to the correct function-pointer type). rkrolib 2003-12-19 00:54:27 +0000
  • 686cb62330 Change the destination directory of the debug version to "Debug" (John Fay) puggles 2003-12-15 17:18:37 +0000
  • 76a87d1864 Add a newline to "make all make install" so that it'll ... work! puggles 2003-12-14 04:55:28 +0000
  • 019099a2a2 Keep from claiming 100% compatibility. Richard pointed out this was false advertising and James needs to be shot three times in the stomach and then beheaded by a spoon that is too big. puggles 2003-12-14 02:04:29 +0000
  • ffcd263378 Fix link to the project interface (was pointing at the old typo3 interface!) puggles 2003-12-13 20:30:01 +0000
  • 280fb4a52f Add a placeholder message until we update this page with real progress and timeline information. puggles 2003-12-13 19:17:08 +0000
  • 8407d17ee9 Initial import puggles 2003-12-13 18:58:30 +0000
  • ae6a201f0e Initial import of the web page -- Release of 2.2.0 puggles 2003-12-13 18:56:30 +0000
  • 3212d13152 Uh, re-add since the module works. puggles 2003-12-13 04:51:03 +0000
  • 1fe055088a Undo the pseudo-module now that I've added a real web-src module puggles 2003-12-13 04:47:12 +0000
  • 878f58d35b First try of getting the web page to work via CVS. puggles 2003-12-13 03:52:54 +0000
  • 8625b93f73 Release 2.2.0 puggles 2003-12-13 01:43:57 +0000
  • 8fdfd1e769 Stripped out TABs that got reintroduced. rkrolib 2003-12-11 22:13:03 +0000
  • 103f7e8d87 The deferred window destruction code was destroying the windows in reverse order. This cased a crash when the call to glutDestroyWindow() for a sub windows was immediately followed by a call to glutDestroyWindow() for it's parent. fgCloseWindows() would call fgDestroyWindow() for the parent first fgDestroyWindws() would recurse over the children and then fgCloseWindows() would call fgDestroyWindow() again for the child. cjp 2003-12-11 21:29:43 +0000
  • a28a6de82f Include project file in the distribution. puggles 2003-12-11 20:53:14 +0000
  • 2cbec9d142 Updates for 2.2.0 RC2 puggles 2003-12-11 19:56:59 +0000
  • a04ca6e4d8 Add shapes to the Visual C workspace. puggles 2003-12-11 19:51:11 +0000
  • 3d300c8f38 Package the visual C project file with the distribution puggles 2003-12-11 19:02:07 +0000
  • d305033c78 Set the version to 2.2.0 puggles 2003-12-11 18:57:32 +0000
  • 5707f479d4 Nigel Stewart's Win32 window-sizing fix for game mode puggles 2003-12-11 18:53:06 +0000
  • de8936fe30 Disable/enable lighting in the "one.c" demo (John Fay) puggles 2003-12-11 18:49:38 +0000
  • 9438a576ba Add some essentials to get this program to compile (Nigel) puggles 2003-12-11 17:05:44 +0000
  • d725e892b8 Update to reflect 2.2.0 release puggles 2003-12-11 17:03:09 +0000
  • a24ffcc0bc Note the release of 2.2.0 RC1 puggles 2003-12-11 01:48:08 +0000
  • 6a3df5043c John correctly observed that the initialization {OldHeight} and {OldWidth} in the window structure should be done for both windows and sub-windows, and the easiest way to do this is in the freeglut_structure.c:fgCreateWindow() code. So, transplant one line. rkrolib 2003-12-11 00:08:49 +0000
  • d4f3ec79de Commit of John's change to stop an infinite-loop condition when the only windows left are freeglut menu windows, and correctly calls exit() if we drop out of the main loop without having requested any freeglut extensions to glutMainLoop() handling. rkrolib 2003-12-10 23:59:45 +0000
  • 3ae658e166 Two from Nigel: rkrolib 2003-12-07 10:12:22 +0000
  • a9d59e0c78 Added an option to enable gcc compiler warnings. I've explicitly excluded the one about adding parentheses. cjp 2003-12-03 19:03:13 +0000
  • 2e4d5de7c0 Touched up several comments, pointing up things that may be worth reflect- ing upon in the future. rkrolib 2003-12-03 09:57:01 +0000
  • 03cf899635 Hrm. I misunderstood the purpose of {window->State.Width} and {...Height}. Those are *not* records of the old values, but rather of the *desired* *new* values, hence it was inappropriate to use them in ConfigureNotify X11 event handling. Doing so introduced some new problems. rkrolib 2003-12-03 02:07:36 +0000
  • 60cc2c79ce Changed Create/ConfigureNotify handling in UNIX_X11: rkrolib 2003-12-02 21:30:02 +0000
  • 1f312bc035 Added an "XXX" earmark for post-release contemplation. (The point is definitely in need of consideration, I believe, but is not immediately a major bug, so I'd rather not mess with it at the risk of postponing a release "soon".) rkrolib 2003-12-02 21:14:32 +0000
  • 642f60f651 Ensure that the time-out for sleeping is never negative. rkrolib 2003-12-02 21:04:33 +0000
  • 819e8645b6 Fixed a bug for UNIX_X11 where window reshape events were causing freeglut to mark the window as *needing* a reshape (which during general display callback handling would result in effectively a glutReshapeWindow()). rkrolib 2003-12-02 15:03:48 +0000
  • d45a86a088 Added missing prototype for new list function. cjp 2003-12-01 17:59:42 +0000
  • e7a19a5546 Timer optimizations. Made the list of pendinig timers ordered. Added a free list of used timer structures. cjp 2003-11-28 19:19:59 +0000
  • e6de6c2e6f Timer optimizations. cjp 2003-11-28 19:08:25 +0000
  • 5b391a7097 Fixed windows compilation problem with last update. cjp 2003-11-28 12:04:24 +0000
  • b309d468c4 Window close fix. The default behaiour should now be the same as with glut. cjp 2003-11-27 19:49:53 +0000
  • 9b36eb081b Added change from Nigel to have resize events cause redraw events in WIN32. Also slightly reshuffled comments to deal with line-wrap issues. rkrolib 2003-11-26 01:21:29 +0000
  • 0dd93cb5e1 John reported, and fixed, a problem that recent changes caused for the Lorenz demo (seems to be WIN32 specific). rkrolib 2003-11-25 17:25:43 +0000
  • 1e09843db1 Update from John: Removed the freeglut hack of decrementing the highst-window-ID marker when the highest window is deleted. (This was a half-way measure for an idea that was decided to be dubious in the first place.) rkrolib 2003-11-25 14:17:05 +0000
  • efb92f27a8 Added a new demo (from Nigel) showing some of the basic GLUT geometry shapes. "shapes" is the name of the demo. rkrolib 2003-11-25 14:10:35 +0000
  • e1416ae642 Commit of work from Nigel: rkrolib 2003-11-25 13:53:19 +0000
  • 96ee3c4798 More work from John (sorry for procrastinating): rkrolib 2003-11-25 04:57:10 +0000
  • db9108dfeb Change from John (I removed a couple of spaces from a couple of lines in his freeglut_internal.h file where they were wrapping in EMACS; otherwise, the files are exactly as he sent them to me). rkrolib 2003-11-25 04:21:48 +0000
  • 354569a7c4 Numerous style normalizations from John: rkrolib 2003-11-21 21:15:58 +0000
  • 7e7ff3191d All changes are from John, except for: (a) I re-inserted the meat of a comment that I still feel is relavent. (b) I fixed a compile-time error in the UNIX_X11 code where a variable is declared after executable code in a block without creating a new sub-block for the declaration. rkrolib 2003-11-21 00:49:51 +0000
  • 1c7454b49d Lots of stuff that John F. Fay pointed out. Plus some changes to remove gcc warnings. cjp 2003-11-18 22:09:15 +0000
  • 6d21d76b1a Fix spelling mistake in a variable name. Added a comment for John Fay. Added the copyright notice for XParseGeometry source. cjp 2003-11-17 21:11:33 +0000
  • a437c328e9 Made Modifers variable global as per glut classic. cjp 2003-11-16 14:10:35 +0000
  • b47a8b1fcc Removed old unused glutInitDisplayString code. Reformated new glutInitDisplayString and XParseGeometry code. cjp 2003-11-16 13:49:49 +0000
  • d906368add Use XParseGeometry for better geometry parsing. Moved geometry parsing to after fgInitialize() so we can use the screen size to correctly calculate negative positions in the geometry string. Copied the code for XParseGeometry from the X11 sources for use in the Win32 version. freeglut now passes test1 of the glut test suite. cjp 2003-11-16 01:41:18 +0000
  • d161195cb4 Removed the state variable BuildingAMenu. Instead pass a new parameter isMenu to fgCreateWindow(). Elsewhere use window->IsMenu. cjp 2003-11-15 19:25:22 +0000
  • 22b6c59f34 freeglut_assert_ready is going to have to go at some point. But for now I've moved setting fgState.Initalized to GL_FALSE. cjp 2003-11-15 19:11:09 +0000
  • 3f70f7bdf2 Replace TRUE with GL_TRUE and FALSE with GL_FALSE where the type is GLboolean. cjp 2003-11-15 19:06:28 +0000
  • 06174f9086 Normalized the spacing around symbols, for the most part. Ho-hum. rkrolib 2003-11-15 17:48:43 +0000
  • e8cfcd2247 Added a call to fgDeinitialize() before the call to exit() in fgError(). cjp 2003-11-15 16:52:46 +0000
  • 1fe1473fbb Style normalizations to the joystick code. rkrolib 2003-11-15 16:39:46 +0000
  • 2b78c976ea Added a new state variable "Initalized". Replaced referenced to Time.Set with this new variable where appropriate. fgElapsedTime() now set the start time if Time.Set is false. Moved glutGet(GLUT_ELAPSED_TIME) handling to before the assert. cjp 2003-11-15 16:24:33 +0000
  • 6895440554 Normalized the internal header's style a bit. rkrolib 2003-11-14 17:46:01 +0000
  • 26b98ad308 Plowed one more file this morning. Still just trivial formatting issues. rkrolib 2003-11-14 15:10:50 +0000
  • d83464df48 Yet more trivial style normalizations. rkrolib 2003-11-14 14:59:49 +0000
  • 53dfc57542 Minor style corrections. rkrolib 2003-11-14 14:52:15 +0000
  • 2b9010b0b1 Minor spacing quibble. rkrolib 2003-11-14 14:39:20 +0000
  • 74e6d246ca Added a brief explanatory note to the X code for GLUT_CURSOR_NONE. rkrolib 2003-11-14 14:36:27 +0000
  • 1d2ade2f1c Noted one of a few cases where we do something immediately that could more efficiently be postponed, quite easily---and which GLUT promises *is* to be postponed. (It is unlikely that the difference will break any apps, but postponing should be easy...) rkrolib 2003-11-14 11:04:11 +0000
  • 4c4112fe92 Updated ChangeLog for the day. rkrolib 2003-11-11 11:55:19 +0000
  • b92f1915fe Removal of all remaining TABs in the freeglut *.[ch] files. (I missed a few in the "one" demo, it seems, and some more crept back into freeglut_(ext|font).c, presumably due to my own edits when I forgot to use the "freeglut-c-mode" in EMACS.) rkrolib 2003-11-11 11:52:14 +0000
  • 4ccdcf6f4e Moved glutInit*() functions ahead of glutInit(). (This is proper use of glutInit() in general, since it allows the user to override settings via {argc, argv} command-line params.) rkrolib 2003-11-11 11:20:01 +0000
  • 48f65ac54d Style normalizations: Removed CRs and hard TABs mostly. rkrolib 2003-11-11 11:18:16 +0000
  • 864ea93df3 Corrected the numbering of the ChangeLog (there were two (110)s). rkrolib 2003-11-11 09:05:14 +0000
  • 34f8ee3dca Added CRs to the ends of all lines in MS developer studio demos.dsw file.. rkrolib 2003-11-11 03:35:47 +0000