freeglut
19 years agoWhen switching to game mode under X11, no ConfigureNotify event will
Sven Panne [Tue, 24 May 2005 15:56:04 +0000 (15:56 +0000)]
When switching to game mode under X11, no ConfigureNotify event will
happen and consequently no reshape callback will ever be called via
the normal mechanism. To fix this, note that the game mode window
needs to be resized and handle this before redraw.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@622 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoGuarantee consistency of names/addresses in glutGetProcAddress by
Sven Panne [Sun, 22 May 2005 09:45:53 +0000 (09:45 +0000)]
Guarantee consistency of names/addresses in glutGetProcAddress by
using a macro. In addition, this avoids any non-constant initializer
issues which might be raised when using WinDoze GCCs. The additional
code overhead is negligible, at least for x86 (a few instructions per
name).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@621 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoLowering minimum autoconf version required.
Sven Panne [Sun, 22 May 2005 09:20:31 +0000 (09:20 +0000)]
Lowering minimum autoconf version required.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@620 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoTag for 2.4.0 RC3
J.C. Jones [Fri, 20 May 2005 01:55:46 +0000 (01:55 +0000)]
Tag for 2.4.0 RC3

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@619 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoNotes
J.C. Jones [Fri, 20 May 2005 01:51:47 +0000 (01:51 +0000)]
Notes

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@616 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed SF bug #1204256: Off-by-one error in X11 mode switching.
Sven Panne [Thu, 19 May 2005 06:54:27 +0000 (06:54 +0000)]
Fixed SF bug #1204256: Off-by-one error in X11 mode switching.
The code which changes the X11 video mode has an off-by-one error,
resulting in a wrong mode or segfault. I've refactored the code
slighty to make it hopefully clearer what's going on and corrected
some #ifdefs on the way. Now at least the "One" demo works for me.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@615 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed SF bug #1204261: Mini space leak when creating an X11 window
Sven Panne [Thu, 19 May 2005 06:51:03 +0000 (06:51 +0000)]
Fixed SF bug #1204261: Mini space leak when creating an X11 window
(X11 text property values have to be freed after using them)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@614 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoving a C++ comment and simplifying the string handling
John F. Fay [Wed, 18 May 2005 12:39:43 +0000 (12:39 +0000)]
Removing a C++ comment and simplifying the string handling

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@613 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoMisiek\'s changes to fix Game Mode--getting display settings under Windows
John F. Fay [Tue, 17 May 2005 16:50:30 +0000 (16:50 +0000)]
Misiek\'s changes to fix Game Mode--getting display settings under Windows
and setting the window size correctly on all operating systems.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@612 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoMark for 2.4 RC 2
J.C. Jones [Mon, 16 May 2005 01:09:39 +0000 (01:09 +0000)]
Mark for 2.4 RC 2

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@609 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoving two unused variables so this will compile on Linux with -Wall
John F. Fay [Fri, 13 May 2005 12:54:38 +0000 (12:54 +0000)]
Removing two unused variables so this will compile on Linux with -Wall

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@608 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdating the ChangeLog ...
John F. Fay [Thu, 12 May 2005 15:54:11 +0000 (15:54 +0000)]
Updating the ChangeLog ...

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@607 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoTakeshi Nishimura\'s menu changes--menus should now work properly. Use
John F. Fay [Thu, 12 May 2005 13:00:49 +0000 (13:00 +0000)]
Takeshi Nishimura\'s menu changes--menus should now work properly.  Use
the GLUT \"GLUTmech\" and \"walker\" demos to test them.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@606 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoTakeshi Nishimura\'s menu fixes
John F. Fay [Thu, 12 May 2005 02:01:01 +0000 (02:01 +0000)]
Takeshi Nishimura\'s menu fixes

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@605 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFreeglut 2.4.0 Release Candidate 1
J.C. Jones [Mon, 9 May 2005 01:40:28 +0000 (01:40 +0000)]
Freeglut 2.4.0 Release Candidate 1

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@603 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed a cuboctahedron vertex, implemented wire mode for that shape.
Sven Panne [Fri, 6 May 2005 15:44:34 +0000 (15:44 +0000)]
Fixed a cuboctahedron vertex, implemented wire mode for that shape.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@601 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoNecessary compilation fixes for newer GCCs (e.g. 3.3.5, 4.0).
Sven Panne [Fri, 6 May 2005 15:39:24 +0000 (15:39 +0000)]
Necessary compilation fixes for newer GCCs (e.g. 3.3.5, 4.0).
Side effect: The shapes demo has a new 'i' key now.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@600 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdated the ChangeLog again ...
John F. Fay [Thu, 5 May 2005 17:34:00 +0000 (17:34 +0000)]
Updated the ChangeLog again ...

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@599 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoReplacing the original \"freeglut\" \"shapes\" demo with the much snazzier OpenGLUT...
John F. Fay [Wed, 4 May 2005 21:02:22 +0000 (21:02 +0000)]
Replacing the original \"freeglut\" \"shapes\" demo with the much snazzier OpenGLUT \"shapes\" demo.  Many thanks to the OpenGLUT community for writing it.  The copyright notice stays in the program.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@598 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoChanging hard-coded constant (number of mouse buttons = 3) to a \"glutDeviceGet\...
John F. Fay [Wed, 4 May 2005 13:19:38 +0000 (13:19 +0000)]
Changing hard-coded constant (number of mouse buttons = 3) to a \"glutDeviceGet\" call in two places under X11

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@597 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoChanging the version number from 2.0 to 2.4.0 ... do we need to add any new interface...
John F. Fay [Wed, 4 May 2005 12:59:45 +0000 (12:59 +0000)]
Changing the version number from 2.0 to 2.4.0 ... do we need to add any new interface functions?

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@596 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoving an unused variable
John F. Fay [Wed, 4 May 2005 12:57:57 +0000 (12:57 +0000)]
Removing an unused variable

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@595 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdding a comment on why \"freeglut\" differs from GLUT in a particular way
John F. Fay [Wed, 4 May 2005 12:55:56 +0000 (12:55 +0000)]
Adding a comment on why \"freeglut\" differs from GLUT in a particular way

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@594 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoving an unused function
John F. Fay [Wed, 4 May 2005 12:53:48 +0000 (12:53 +0000)]
Removing an unused function

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@593 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoMaking the \"key repeat\" initialization consistent with the rest of its usage; also...
John F. Fay [Wed, 4 May 2005 12:51:53 +0000 (12:51 +0000)]
Making the \"key repeat\" initialization consistent with the rest of its usage; also making the \"initDisplayString\" ever-so-slightly mroe general

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@592 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdating the ChangeLog and TODO files in preparation for the upcoming release
John F. Fay [Wed, 4 May 2005 12:38:41 +0000 (12:38 +0000)]
Updating the ChangeLog and TODO files in preparation for the upcoming release

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@591 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdding a \"TODO\" comment about dynamically allocating joystick buttonj and axis...
John F. Fay [Fri, 29 Apr 2005 13:35:06 +0000 (13:35 +0000)]
Adding a \"TODO\" comment about dynamically allocating joystick buttonj and axis arrays

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@590 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdationg the ChangeLog ...
John F. Fay [Fri, 29 Apr 2005 13:22:18 +0000 (13:22 +0000)]
Updationg the ChangeLog ...

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@589 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdding a \"README.Win32\" file with instructions on how to install \"freeglut\" under...
John F. Fay [Thu, 28 Apr 2005 19:47:20 +0000 (19:47 +0000)]
Adding a \"README.Win32\" file with instructions on how to install \"freeglut\" under Windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@588 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdding Window Exit event handling to the Windows code; also adding a note that eventu...
John F. Fay [Thu, 28 Apr 2005 14:42:26 +0000 (14:42 +0000)]
Adding Window Exit event handling to the Windows code; also adding a note that eventually it would be good to handle the Window Entry event

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@587 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixing bug [ 1111218 ] fullscreen not working
John F. Fay [Wed, 27 Apr 2005 17:27:20 +0000 (17:27 +0000)]
Fixing bug [ 1111218 ] fullscreen not working
Better late than never.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@586 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixing Bug Report [ 1160442 ] glutGet(GLUT_ELAPSED_TIME) is too granular
John F. Fay [Wed, 27 Apr 2005 16:02:31 +0000 (16:02 +0000)]
Fixing Bug Report [ 1160442 ] glutGet(GLUT_ELAPSED_TIME) is too granular

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@585 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixing the typecasts on the callback fetches and invocations to allow \"freeglut...
John F. Fay [Tue, 26 Apr 2005 17:44:57 +0000 (17:44 +0000)]
Fixing the typecasts on the callback fetches and invocations to allow \"freeglut\" to compile with GCC 4.0

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@584 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixing erroneous implementation of Takeshi\'s fix
John F. Fay [Tue, 26 Apr 2005 15:52:27 +0000 (15:52 +0000)]
Fixing erroneous implementation of Takeshi\'s fix

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@583 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoChanging include path from relative to absolute to support off-directory builds ...
John F. Fay [Tue, 26 Apr 2005 13:38:27 +0000 (13:38 +0000)]
Changing include path from relative to absolute to support off-directory builds (Yuri D\'Elia, March 22, 5:59 PM)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@582 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdding \"LISEZ-MOI\", the French version of \"README\"
John F. Fay [Tue, 26 Apr 2005 13:08:51 +0000 (13:08 +0000)]
Adding \"LISEZ-MOI\", the French version of \"README\"

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@581 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdating the ChangeLog ... it seems to be something of a stepchild if we\'re not...
John F. Fay [Mon, 25 Apr 2005 14:55:22 +0000 (14:55 +0000)]
Updating the ChangeLog ... it seems to be something of a stepchild if we\'re not careful.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@580 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoYuri D\'Elia\'s changes to get the virtual maximum screen extent instead of the actua...
John F. Fay [Fri, 22 Apr 2005 20:35:24 +0000 (20:35 +0000)]
Yuri D\'Elia\'s changes to get the virtual maximum screen extent instead of the actual screen size.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@579 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoYuri D\'Elia\'s changes to the game mode window
John F. Fay [Fri, 22 Apr 2005 20:29:55 +0000 (20:29 +0000)]
Yuri D\'Elia\'s changes to the game mode window

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@578 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoChange a hard-coded number to a defined constant and add some initializations
John F. Fay [Fri, 22 Apr 2005 18:18:29 +0000 (18:18 +0000)]
Change a hard-coded number to a defined constant and add some initializations

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@577 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoving duplicate cursor code. This and the previous change (in freeglut_main.c...
John F. Fay [Fri, 22 Apr 2005 15:23:12 +0000 (15:23 +0000)]
Removing duplicate cursor code.  This and the previous change (in freeglut_main.c) apparently got combined.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@576 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdating the ChangeLog to reflect activity over the past few months
John F. Fay [Fri, 22 Apr 2005 15:15:52 +0000 (15:15 +0000)]
Updating the ChangeLog to reflect activity over the past few months

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@575 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoTrying again to change \"fgStructure.Window\" to \"fgStructure.CurrentWindow\" and...
John F. Fay [Fri, 22 Apr 2005 14:17:31 +0000 (14:17 +0000)]
Trying again to change \"fgStructure.Window\" to \"fgStructure.CurrentWindow\" and \"fgStructure.Menu\" to \"fgStructure.CurrentMenu\" for easier maintenance.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@574 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoUpdating the ChangeLog as a means of testing pCVSc
John F. Fay [Fri, 15 Apr 2005 13:28:16 +0000 (13:28 +0000)]
Updating the ChangeLog as a means of testing pCVSc

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@573 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoTesting!
John F. Fay [Fri, 15 Apr 2005 13:16:33 +0000 (13:16 +0000)]
Testing!

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@572 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoadded comment about AUX flags
Brian Paul [Wed, 23 Mar 2005 15:14:32 +0000 (15:14 +0000)]
added comment about AUX flags

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@571 7f0cb862-5218-0410-a997-914c9d46530a

19 years agofixes for menus being attached to multiple buttons/windows (John Fay)
Brian Paul [Wed, 16 Feb 2005 00:52:23 +0000 (00:52 +0000)]
fixes for menus being attached to multiple buttons/windows (John Fay)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@570 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoadded error check (John Fay)
Brian Paul [Wed, 16 Feb 2005 00:49:28 +0000 (00:49 +0000)]
added error check (John Fay)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@569 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAUX buffers for Windows (John Fay)
Brian Paul [Tue, 15 Feb 2005 14:49:39 +0000 (14:49 +0000)]
AUX buffers for Windows (John Fay)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@568 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAux color buffer support. Pass one of GLUT_AUX[1234] to glutInitDisplayMode.
Brian Paul [Fri, 11 Feb 2005 15:22:09 +0000 (15:22 +0000)]
Aux color buffer support.  Pass one of GLUT_AUX[1234] to glutInitDisplayMode.
Only implemented/tested on GLX, not Windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@567 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFix object/function pointer inconsistencies which are a problem for gcc 3.4.2.
Brian Paul [Fri, 11 Feb 2005 15:18:04 +0000 (15:18 +0000)]
Fix object/function pointer inconsistencies which are a problem for gcc 3.4.2.
Added GLUTproc type, returned by glutGetProcAddress().

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@566 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoautoconf 2.58 is enough
Sven Panne [Sun, 23 Jan 2005 18:08:20 +0000 (18:08 +0000)]
autoconf 2.58 is enough

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@565 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoStylistic change only (added "do { ... } while( 0 )" around multi-statement macros)
Sven Panne [Sun, 23 Jan 2005 17:52:16 +0000 (17:52 +0000)]
Stylistic change only (added "do { ... } while( 0 )" around multi-statement macros)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@564 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoTesting for errno.h is overkill. :-)
Sven Panne [Sun, 23 Jan 2005 17:44:58 +0000 (17:44 +0000)]
Testing for errno.h is overkill. :-)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@563 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoWindows platforms only: Merged some cursor-related code from John Fay
Sven Panne [Sun, 23 Jan 2005 17:38:33 +0000 (17:38 +0000)]
Windows platforms only: Merged some cursor-related code from John Fay
(with minor changes)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@562 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoHopefully removed all damage done by commits without merge
Sven Panne [Wed, 5 Jan 2005 14:28:22 +0000 (14:28 +0000)]
Hopefully removed all damage done by commits without merge

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@561 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoReworked the X11 part of glutSetCursor, fixing bug #764187 (Variable mouse
Sven Panne [Wed, 5 Jan 2005 13:11:30 +0000 (13:11 +0000)]
Reworked the X11 part of glutSetCursor, fixing bug #764187 (Variable mouse
 pointers don't work) on the way:
   * Use slightly more compatible cursor shapes for GLUT_CURSOR_RIGHT_ARROW
     and GLUT_CURSOR_LEFT_ARROW.
   * Refactored and fixed the erroneous code for GLUT_CURSOR_NONE.
   * Removed the incorrect use of XFreeCursor and use a cache of cursors
     instead. Cursors are never freed now, we could do this e.g. via
     reference countig if this is really needed.
   * Fixed error handling.
   * Unknown cursor types are an error now.
   * Now the window state always corresponds to the wanted cursorID, even in
     the case of GLUT_CURSOR_FULL_CROSSHAIR.

NOTE: I am not sure where the cursor cache should really reside, currently it
is simply a file-local variable.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@560 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed part of bug #926883 (Video mode matching code, memory leaks,
Sven Panne [Mon, 3 Jan 2005 17:11:33 +0000 (17:11 +0000)]
Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen), i.e. issue warnings when XF86VidModeFOO fails.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@559 7f0cb862-5218-0410-a997-914c9d46530a

19 years ago(234) Fixed part of bug #926883 (Video mode matching code, memory leaks,
Sven Panne [Mon, 3 Jan 2005 16:49:37 +0000 (16:49 +0000)]
(234) Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen): Now we first try to get an exact mode match, ignoring the
refresh rate if none could be found. This way the X11 part and the WinDoze
behave similarly. NOTE: We still don't behave like GLUT, because it has a
wider notion of "best" match. We have to refactor and extend freeglut quite
a bit to do that.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@558 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed part of bug #926883 (Video mode matching code, memory leaks,
Sven Panne [Mon, 3 Jan 2005 14:14:56 +0000 (14:14 +0000)]
Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen), i.e. memory leak caused by not freeing the mode lines
returned by XF86VidModeGetAllModeLines

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@557 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoImproved error message a bit when no suitable visual could be found
Sven Panne [Mon, 3 Jan 2005 12:42:09 +0000 (12:42 +0000)]
Improved error message a bit when no suitable visual could be found
(X11 only).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@556 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoautoconf'd vfprintf
Sven Panne [Mon, 3 Jan 2005 12:02:42 +0000 (12:02 +0000)]
autoconf'd vfprintf

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@555 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoved redundant #include
Sven Panne [Mon, 3 Jan 2005 12:00:21 +0000 (12:00 +0000)]
Removed redundant #include

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@554 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoautoconf'd <errno.h> handling and removed an unused '#include <sys/stat.h>'
Sven Panne [Mon, 3 Jan 2005 11:35:18 +0000 (11:35 +0000)]
autoconf'd <errno.h> handling and removed an unused '#include <sys/stat.h>'

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@553 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoautoconf'd <limits.h> and <sys/param.h> handling, removing MIN/MAX
Sven Panne [Mon, 3 Jan 2005 11:22:59 +0000 (11:22 +0000)]
autoconf'd <limits.h> and <sys/param.h> handling, removing MIN/MAX
macros on the way.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@552 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoCosmetics.
Sven Panne [Mon, 3 Jan 2005 10:58:18 +0000 (10:58 +0000)]
Cosmetics.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@551 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoautoconf'd <fcntl.h> and <sys/ioctl.h> handling
Sven Panne [Mon, 3 Jan 2005 10:57:58 +0000 (10:57 +0000)]
autoconf'd <fcntl.h> and <sys/ioctl.h> handling

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@550 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoImproved <sys/typed.h> / <unistd.h> handling as suggested by the
Sven Panne [Mon, 3 Jan 2005 10:35:36 +0000 (10:35 +0000)]
Improved <sys/typed.h> / <unistd.h> handling as suggested by the
autoconf docs.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@549 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed <sys/time.h> / <time.h> handling as suggested by the autoconf
Sven Panne [Mon, 3 Jan 2005 10:24:15 +0000 (10:24 +0000)]
Fixed <sys/time.h> / <time.h> handling as suggested by the autoconf
docs.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@548 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoMoved '#include "config.h"' to freeglut_internal.h, we will need it
Sven Panne [Mon, 3 Jan 2005 10:13:27 +0000 (10:13 +0000)]
Moved '#include "config.h"' to freeglut_internal.h, we will need it
there soon and it makes everything a bit shorter.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@547 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoResurrected my recent additions which were nuked by the previous
Sven Panne [Mon, 3 Jan 2005 09:13:26 +0000 (09:13 +0000)]
Resurrected my recent additions which were nuked by the previous
commit, adding the latest change on the way.   :-(

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@546 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoved acconfig.h, it is deprecated and we don't need it.
Sven Panne [Mon, 3 Jan 2005 09:07:00 +0000 (09:07 +0000)]
Removed acconfig.h, it is deprecated and we don't need it.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@545 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoMake it compile again with "-Wall -pedantic -Werror", redoing quite a
Sven Panne [Mon, 3 Jan 2005 08:44:48 +0000 (08:44 +0000)]
Make it compile again with "-Wall -pedantic -Werror", redoing quite a
few things I've fixed already a few days ago. Have today's commits
been done by copying instead of merging? :-(

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@544 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoChanges remove duplicate menu code from "freeglut_window.c" and put it into one place...
J.C. Jones [Mon, 3 Jan 2005 02:11:12 +0000 (02:11 +0000)]
Changes remove duplicate menu code from "freeglut_window.c" and put it into one place in "freeglut_menu.c" where it belongs. - John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@543 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoGeneral ChangeLog Updates
J.C. Jones [Mon, 3 Jan 2005 02:05:43 +0000 (02:05 +0000)]
General ChangeLog Updates

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@542 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdding initialization checking to all GLUT interface functions and removing asserts...
J.C. Jones [Mon, 3 Jan 2005 02:04:45 +0000 (02:04 +0000)]
Adding initialization checking to all GLUT interface functions and removing asserts from the rest of the code - John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@541 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdded missing files from "src" subdirectory to dist.
Sven Panne [Sat, 1 Jan 2005 18:35:44 +0000 (18:35 +0000)]
Added missing files from "src" subdirectory to dist.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@540 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoSynched with project member list on SourceForge
Sven Panne [Sat, 1 Jan 2005 16:43:45 +0000 (16:43 +0000)]
Synched with project member list on SourceForge

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@539 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoModernized configure.ac a bit and added a rule to Makefile.am to
Sven Panne [Sat, 1 Jan 2005 16:39:40 +0000 (16:39 +0000)]
Modernized configure.ac a bit and added a rule to Makefile.am to
update libtool. Note that all gcc compiler warnings are now on by
default.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@538 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoMake "gcc -Wall -pedantic -Werror" happy.
Sven Panne [Sat, 1 Jan 2005 16:09:55 +0000 (16:09 +0000)]
Make "gcc -Wall -pedantic -Werror" happy.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@537 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoIgnore files generated by autoscan.
Sven Panne [Sat, 1 Jan 2005 14:17:28 +0000 (14:17 +0000)]
Ignore files generated by autoscan.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@536 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRenamed "configure.in" to the officially preferred "configure.ac".
Sven Panne [Sat, 1 Jan 2005 14:01:29 +0000 (14:01 +0000)]
Renamed "configure.in" to the officially preferred "configure.ac".

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@535 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoRemoved unused stamp-h* files, configure generates them (a single
Sven Panne [Sat, 1 Jan 2005 13:41:33 +0000 (13:41 +0000)]
Removed unused stamp-h* files, configure generates them (a single
stamp-h1, to be exact).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@534 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAdded eMbedded Visual Tools project/workspace files to distribution.
Sven Panne [Sat, 1 Jan 2005 13:39:49 +0000 (13:39 +0000)]
Added eMbedded Visual Tools project/workspace files to distribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@533 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoIgnore distribution tar files
Sven Panne [Sat, 1 Jan 2005 13:37:11 +0000 (13:37 +0000)]
Ignore distribution tar files

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@532 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed first bug of #1064195 (two things when using signals): Don't
Sven Panne [Fri, 31 Dec 2004 17:26:13 +0000 (17:26 +0000)]
Fixed first bug of #1064195 (two things when using signals): Don't
issue a warning about select when a non-blocked signal was caught.
This makes sense and is more compatible with GLUT.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@531 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed bug #1040435 (glutBitmapString() bug).
Sven Panne [Fri, 31 Dec 2004 16:35:23 +0000 (16:35 +0000)]
Fixed bug #1040435 (glutBitmapString() bug).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@530 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoAlas, the ChangeLog has not the usual ChangeLog format, so tell
Sven Panne [Fri, 31 Dec 2004 13:59:20 +0000 (13:59 +0000)]
Alas, the ChangeLog has not the usual ChangeLog format, so tell
(X)Emacs about that fact.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@529 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed bug #1045054 (KeyReleaseMask typo).
Sven Panne [Fri, 31 Dec 2004 13:55:26 +0000 (13:55 +0000)]
Fixed bug #1045054 (KeyReleaseMask typo).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@528 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT) unimplemented).
Sven Panne [Fri, 31 Dec 2004 13:51:35 +0000 (13:51 +0000)]
Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT) unimplemented).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@527 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoFixed bug #1079530 (glutGetProcAddress and geometric objects).
Sven Panne [Fri, 31 Dec 2004 13:44:06 +0000 (13:44 +0000)]
Fixed bug #1079530 (glutGetProcAddress and geometric objects).

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@526 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoImproved ignorance.
Sven Panne [Fri, 31 Dec 2004 13:42:51 +0000 (13:42 +0000)]
Improved ignorance.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@525 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoSome assertion changes / removals from Dr. John Fay
J.C. Jones [Fri, 17 Dec 2004 14:57:28 +0000 (14:57 +0000)]
Some assertion changes / removals from Dr. John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@524 7f0cb862-5218-0410-a997-914c9d46530a

19 years agojoystick init fixes (John Fay)
Brian Paul [Wed, 6 Oct 2004 14:54:13 +0000 (14:54 +0000)]
joystick init fixes (John Fay)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@523 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoupdated comments (John Fay)
Brian Paul [Tue, 5 Oct 2004 22:07:05 +0000 (22:07 +0000)]
updated comments (John Fay)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@522 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoimproved comments and mouse coord adjustments (John Fay)
Brian Paul [Tue, 5 Oct 2004 22:06:22 +0000 (22:06 +0000)]
improved comments and mouse coord adjustments (John Fay)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@521 7f0cb862-5218-0410-a997-914c9d46530a

19 years agomore clean-ups, fixes from John Fay
Brian Paul [Tue, 5 Oct 2004 18:34:23 +0000 (18:34 +0000)]
more clean-ups, fixes from John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@520 7f0cb862-5218-0410-a997-914c9d46530a

19 years agofont updates from John Fay
Brian Paul [Thu, 23 Sep 2004 17:48:49 +0000 (17:48 +0000)]
font updates from John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@519 7f0cb862-5218-0410-a997-914c9d46530a

19 years agomore updates from John Fay
Brian Paul [Thu, 23 Sep 2004 17:42:38 +0000 (17:42 +0000)]
more updates from John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@518 7f0cb862-5218-0410-a997-914c9d46530a

19 years agoassorted updates from John Fay
Brian Paul [Thu, 23 Sep 2004 14:34:05 +0000 (14:34 +0000)]
assorted updates from John Fay

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@517 7f0cb862-5218-0410-a997-914c9d46530a