freeglut
16 years agoImplementing Jocelyn Frechot's changes -- see e-mail of Thursday, 11/8/2007 9:12 AM.
John F. Fay [Mon, 12 Nov 2007 04:06:19 +0000 (04:06 +0000)]
Implementing Jocelyn Frechot's changes -- see e-mail of Thursday, 11/8/2007 9:12 AM.

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

16 years agoRemoving more Win64 build warnings from joystick code
John F. Fay [Tue, 2 Oct 2007 02:46:04 +0000 (02:46 +0000)]
Removing more Win64 build warnings from joystick code

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

16 years agoRemoving the final compiler warning when building on Win75 -- thank you, Antonio...
John F. Fay [Sun, 30 Sep 2007 12:07:26 +0000 (12:07 +0000)]
Removing the final compiler warning when building on Win75 -- thank you, Antonio Mattos.

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

16 years agoRemoving the remaining compiler warnings from the cursor code, thanks to Antonio...
John F. Fay [Sat, 29 Sep 2007 13:06:38 +0000 (13:06 +0000)]
Removing the remaining compiler warnings from the cursor code, thanks to Antonio Mattos of Brazil.  The double type-casting is needed because of a bug in the new MSVC; there is a discussion on the web on this subject.

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

16 years agoChanging the cursor definition macro for newer versions of MSVC -- thanks to "Mattos...
John F. Fay [Tue, 25 Sep 2007 23:09:29 +0000 (23:09 +0000)]
Changing the cursor definition macro for newer versions of MSVC -- thanks to "Mattos" of Brazil

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

16 years agoMore changes for Jocelyn Frechot's multisampling changes. The library builds now...
John F. Fay [Tue, 25 Sep 2007 03:54:56 +0000 (03:54 +0000)]
More changes for Jocelyn Frechot's multisampling changes.  The library builds now.  It still needs some testing with sample cases under X11.

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

16 years agoFixing a remaining bug in the multisampling change ... there may be more ...
John F. Fay [Sun, 23 Sep 2007 14:29:06 +0000 (14:29 +0000)]
Fixing a remaining bug in the multisampling change ... there may be more ...

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

16 years agoPutting in Jocelyn Frechot's X11 visual context changes. THIS WILL BREAK THE BUILD...
John F. Fay [Sat, 22 Sep 2007 02:55:37 +0000 (02:55 +0000)]
Putting in Jocelyn Frechot's X11 visual context changes.  THIS WILL BREAK THE BUILD as I am unable to test it on a Linux machine here.  Somebody please test it for me.

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

16 years agoRemoving compiler warnings in MSVC 2005 build
John F. Fay [Fri, 21 Sep 2007 04:32:59 +0000 (04:32 +0000)]
Removing compiler warnings in MSVC 2005 build

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

16 years agoImplementing Larry Ramey's "glutExit" feature (see e-mails from him on 11/9/05, 6...
John F. Fay [Fri, 21 Sep 2007 04:00:14 +0000 (04:00 +0000)]
Implementing Larry Ramey's "glutExit" feature (see e-mails from him on 11/9/05, 6/28/06)

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

16 years agoImplementing first part of Windows version of "GLUT_CAPTIONLESS" and "GLUT_BORDERLESS...
John F. Fay [Wed, 19 Sep 2007 04:42:25 +0000 (04:42 +0000)]
Implementing first part of Windows version of "GLUT_CAPTIONLESS" and "GLUT_BORDERLESS" per feature request "[ 1197016 ] need GLUT_CAPTIONLESS window option".  Needs more work; menus are slightly mispositioned, X11 version does not support it, banner appears at beginning but disappears on window resize.  But this is a start.

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

16 years agoFixing Linux key-repeat mode bug reported in "[ 1796845 ] Keyboard events are lost...
John F. Fay [Wed, 19 Sep 2007 04:15:14 +0000 (04:15 +0000)]
Fixing Linux key-repeat mode bug reported in "[ 1796845 ] Keyboard events are lost when key repeat is enabled."

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

16 years agoFixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick...
John F. Fay [Wed, 19 Sep 2007 04:10:46 +0000 (04:10 +0000)]
Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick.c error"

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

16 years agoImplementing feature request "[ 947118 ] Popup menu is hidden under the TOPMOST window"
John F. Fay [Tue, 18 Sep 2007 03:50:24 +0000 (03:50 +0000)]
Implementing feature request "[ 947118 ] Popup menu is hidden under the TOPMOST window"

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

16 years agoAdding Takeshi Nishimura's Feature Request "[ 1045202 ] Cope with a menu with many...
John F. Fay [Tue, 18 Sep 2007 03:22:11 +0000 (03:22 +0000)]
Adding Takeshi Nishimura's Feature Request "[ 1045202 ] Cope with a menu with many items" -- sorry it took so long.

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

16 years agoAddressing Feature Request #1307049 that "freeglut" should return 0 if "glutGetWindow...
John F. Fay [Tue, 18 Sep 2007 02:32:53 +0000 (02:32 +0000)]
Addressing Feature Request #1307049 that "freeglut" should return 0 if "glutGetWindow" is called without a prior call to "glutInit", rather than terminating on error.

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

16 years agoAdded Windows "nmake" Makefiles and dependency files for the two "freeglut" projects...
John F. Fay [Tue, 18 Sep 2007 02:26:39 +0000 (02:26 +0000)]
Added Windows "nmake" Makefiles and dependency files for the two "freeglut" projects in accordance with Feature Request #1454543

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

16 years agoFixing bug #1688954, submitted in Marcy '07. I changed "FREEGLUT" to _T("FREEGLUT...
John F. Fay [Sun, 16 Sep 2007 04:16:49 +0000 (04:16 +0000)]
Fixing bug #1688954, submitted in Marcy '07.  I changed "FREEGLUT" to _T("FREEGLUT") and nothing changed on my Windows XP system.  If this will allow it to work on Vista, then in it goes.

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

16 years agoFixing bug report #1052151 from October 2004.
John F. Fay [Sun, 16 Sep 2007 03:57:04 +0000 (03:57 +0000)]
Fixing bug report #1052151 from October 2004.

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

17 years agoAdding a Frequently Asked Questions file
John F. Fay [Tue, 28 Nov 2006 19:01:13 +0000 (19:01 +0000)]
Adding a Frequently Asked Questions file

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

17 years agoRemoved incorrect comment about internal WGL/ARB definitions.
Joe Krahn [Thu, 28 Sep 2006 15:21:33 +0000 (15:21 +0000)]
Removed incorrect comment about internal WGL/ARB definitions.
I actually had put those comments in because I had meant to go back and
re-check the WGL extension. But, maybe locally defined extensions
should be kept in a separate include file?

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

17 years agoUndo svn:eol-style=CR/LF for MSVC project files.
Joe Krahn [Wed, 27 Sep 2006 03:00:42 +0000 (03:00 +0000)]
Undo svn:eol-style=CR/LF for MSVC project files.

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

17 years agoAdded FREEGLUT_LIB_PRAGMAS to control MS library pragmas, and fixed NOMINMAX define.
Joe Krahn [Tue, 26 Sep 2006 03:18:18 +0000 (03:18 +0000)]
Added FREEGLUT_LIB_PRAGMAS to control MS library pragmas, and fixed NOMINMAX define.

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

17 years agoAdded svn:eol-style=CRLF property to MSVC project/workspace files.
Joe Krahn [Tue, 26 Sep 2006 03:04:37 +0000 (03:04 +0000)]
Added svn:eol-style=CRLF property to MSVC project/workspace files.

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

17 years agoFixing a typo bug in the display mode checking (removing multisampling if it is not...
John F. Fay [Mon, 25 Sep 2006 14:27:10 +0000 (14:27 +0000)]
Fixing a typo bug in the display mode checking (removing multisampling if it is not supported)

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

17 years agoFixed a small mistake in the previous commit for glutGet.
Joe Krahn [Mon, 25 Sep 2006 02:41:15 +0000 (02:41 +0000)]
Fixed a small mistake in the previous commit for glutGet.

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

17 years agoAdded proper support for number of mouse buttons in X11, and
Joe Krahn [Mon, 25 Sep 2006 02:39:33 +0000 (02:39 +0000)]
Added proper support for number of mouse buttons in X11, and
a keyboard in Windows CE. Also, several glutGet results returning
TRUE/FALSE were changed to 1/0, because the actual return type
is int (although they are technically the same in practice).

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

17 years agoConverted Time counter to a uniform unsigned long it value.
Joe Krahn [Sun, 24 Sep 2006 21:28:38 +0000 (21:28 +0000)]
Converted Time counter to a uniform unsigned long it value.
The initialized flag was redundant with the main Initialized flag,
and conversion of timeval to milliseconds in POSIX makes the code
cleaner. Timeval has a longer range, but the time value is already
limited by the GLUT API.

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

17 years agoRemoved WindowState.IsGameMode; it is redundant with Structure.GameModeWindow
Joe Krahn [Sat, 23 Sep 2006 03:49:13 +0000 (03:49 +0000)]
Removed WindowState.IsGameMode; it is redundant with Structure.GameModeWindow

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

17 years agoAdding support for the multisampling query per bug report 1274193
John F. Fay [Thu, 21 Sep 2006 22:39:12 +0000 (22:39 +0000)]
Adding support for the multisampling query per bug report 1274193

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

17 years agoFixing Bug #1398196 - Windows message argument
John F. Fay [Thu, 21 Sep 2006 22:06:57 +0000 (22:06 +0000)]
Fixing Bug #1398196 - Windows message argument

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

17 years agotest (comment edited)
Joe Krahn [Thu, 21 Sep 2006 19:20:17 +0000 (19:20 +0000)]
test (comment edited)

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

17 years agoAdding temporary fix to "glutInitDisplayString" to ignore numerical assignments
John F. Fay [Thu, 21 Sep 2006 19:02:14 +0000 (19:02 +0000)]
Adding temporary fix to "glutInitDisplayString" to ignore numerical assignments

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

17 years agoAdding multisampling to *nix and Windows; also some other pixel format enhancements...
John F. Fay [Thu, 21 Sep 2006 18:59:37 +0000 (18:59 +0000)]
Adding multisampling to *nix and Windows; also some other pixel format enhancements to Windows

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

17 years agoEnhancing the "CallbackMaker" demo
John F. Fay [Thu, 21 Sep 2006 18:44:55 +0000 (18:44 +0000)]
Enhancing the "CallbackMaker" demo

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

17 years agoJoe Krahn's changes to "TARGET_HOST" defined constants
John F. Fay [Thu, 21 Sep 2006 18:39:09 +0000 (18:39 +0000)]
Joe Krahn's changes to "TARGET_HOST" defined constants

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

17 years agoFixing two minor bugs, adding comments
John F. Fay [Thu, 21 Sep 2006 17:33:56 +0000 (17:33 +0000)]
Fixing two minor bugs, adding comments

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

17 years agoChanging "GameMode" to "GameModeWindow ... and testing whether I can get to SVN directly
John F. Fay [Thu, 21 Sep 2006 17:13:37 +0000 (17:13 +0000)]
Changing "GameMode" to "GameModeWindow ... and testing whether I can get to SVN directly

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

17 years agoCheck fgets for return value to avoid warnings.
Sven Panne [Sat, 5 Aug 2006 16:31:20 +0000 (16:31 +0000)]
Check fgets for return value to avoid warnings.

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

17 years agoFixed typo in date
Sven Panne [Sat, 5 Aug 2006 16:29:28 +0000 (16:29 +0000)]
Fixed typo in date

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

17 years agoUpdated build requirements for SuSE 10.1
Sven Panne [Sat, 5 Aug 2006 15:52:45 +0000 (15:52 +0000)]
Updated build requirements for SuSE 10.1

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

18 years agoOoops, forgot to ingore INSTALL and install-sh in previous commit...
Sven Panne [Wed, 12 Oct 2005 14:22:04 +0000 (14:22 +0000)]
Ooops, forgot to ingore INSTALL and install-sh in previous commit...

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

18 years agoMoved GLUT_INIT_STATE to <GL/freeglut_ext.h>, it is not part of the
Sven Panne [Wed, 12 Oct 2005 14:20:36 +0000 (14:20 +0000)]
Moved GLUT_INIT_STATE to <GL/freeglut_ext.h>, it is not part of the
original GLUT.

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

18 years agoSimply use autoreconf in autogen.sh, it is much simpler and the recommended
Sven Panne [Wed, 12 Oct 2005 13:04:46 +0000 (13:04 +0000)]
Simply use autoreconf in autogen.sh, it is much simpler and the recommended
way in the autotools documentation. Removed INSTALL, install-sh and
mkinstalldirs, they are either unused or automatically generated by
autogen.sh.

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

18 years agoAllowing compilation of Windows version by removing DLL decorations from deprecated...
John F. Fay [Thu, 6 Oct 2005 14:01:56 +0000 (14:01 +0000)]
Allowing compilation of Windows version by removing DLL decorations from deprecated joystick interface extensions

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

18 years agoImplementing Stereo in Windows
John F. Fay [Thu, 6 Oct 2005 13:53:42 +0000 (13:53 +0000)]
Implementing Stereo in Windows

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

18 years agoUse target-specific *_CPPFLAGS, not the deprecated INCLUDES.
Sven Panne [Wed, 7 Sep 2005 11:53:13 +0000 (11:53 +0000)]
Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.

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

18 years agoUse -Wall for automake to catch some buglets, deprecated stuff, etc.
Sven Panne [Wed, 7 Sep 2005 11:47:20 +0000 (11:47 +0000)]
Use -Wall for automake to catch some buglets, deprecated stuff, etc.

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

18 years agoSilenced autogen.sh
Sven Panne [Sun, 4 Sep 2005 15:24:57 +0000 (15:24 +0000)]
Silenced autogen.sh

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

18 years agoNecessary files for Open Watcom support
John F. Fay [Wed, 31 Aug 2005 16:00:55 +0000 (16:00 +0000)]
Necessary files for Open Watcom support

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

18 years agoAdding Open Watcom support
John F. Fay [Wed, 31 Aug 2005 14:33:33 +0000 (14:33 +0000)]
Adding Open Watcom support

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

18 years agoDocumenting support for Open Watcom
John F. Fay [Wed, 31 Aug 2005 13:52:48 +0000 (13:52 +0000)]
Documenting support for Open Watcom

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

18 years agoImplementing WATCOM support
John F. Fay [Wed, 31 Aug 2005 13:10:40 +0000 (13:10 +0000)]
Implementing WATCOM support

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

18 years agoNuked useless bit-fiddling, pointed out by John. I was a bit too quick to
Sven Panne [Thu, 14 Jul 2005 12:54:24 +0000 (12:54 +0000)]
Nuked useless bit-fiddling, pointed out by John. I was a bit too quick to
cut-n-paste the cfmakeraw() definition into our code... :-]

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

18 years agoSynched the DLL definitions with reality.
Sven Panne [Thu, 14 Jul 2005 11:56:34 +0000 (11:56 +0000)]
Synched the DLL definitions with reality.

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

18 years agoFixed the GLUT_CURSOR_INHERIT logic once again...
Sven Panne [Thu, 14 Jul 2005 09:39:26 +0000 (09:39 +0000)]
Fixed the GLUT_CURSOR_INHERIT logic once again...

Note that this commit is untested, but at least it looks better than
before. We really a need a cursor test program.

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

18 years agoFixing a cursor bug in \"GLUT_CURSOR_INHERIT\"
John F. Fay [Wed, 13 Jul 2005 20:25:07 +0000 (20:25 +0000)]
Fixing a cursor bug in \"GLUT_CURSOR_INHERIT\"

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

18 years agoImprove autoconf magic: To detect headers like GL/gl.h, it might be
Sven Panne [Wed, 13 Jul 2005 12:05:33 +0000 (12:05 +0000)]
Improve autoconf magic: To detect headers like GL/gl.h, it might be
necessary to temporarily use the X11 flags found by AC_PATH_XTRA.

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

18 years agoAvoid gcc warnings for some joystick code (e.g. on Solaris).
Sven Panne [Wed, 13 Jul 2005 11:44:59 +0000 (11:44 +0000)]
Avoid gcc warnings for some joystick code (e.g. on Solaris).

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

18 years agoTiny cleanup only...
Sven Panne [Wed, 13 Jul 2005 11:38:27 +0000 (11:38 +0000)]
Tiny cleanup only...

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

18 years agoSolaris doesn't have cfmakeraw, but it is only a convenience function for
Sven Panne [Wed, 13 Jul 2005 11:35:36 +0000 (11:35 +0000)]
Solaris doesn't have cfmakeraw, but it is only a convenience function for
some bit-fiddling, anyway.

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

18 years agoMade all the "glutJoystickXXX" functions part of the freeglut extensions.
Sven Panne [Fri, 8 Jul 2005 13:20:12 +0000 (13:20 +0000)]
Made all the "glutJoystickXXX" functions part of the freeglut extensions.
If this is not what we want, we can easily #ifdef this away again...

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

18 years agoMade a few global arrays "static", avoiding namespace pollution. The only
Sven Panne [Fri, 8 Jul 2005 12:48:58 +0000 (12:48 +0000)]
Made a few global arrays "static", avoiding namespace pollution. The only
externally visible symbols should either be from the GLUT API ("glutXXX")
or internal freeglut entities ("fgYYY"). Reformatted things a bit on the way.

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

18 years agoWe only have pending redisplay callbacks when the window wants to be
Sven Panne [Wed, 6 Jul 2005 16:11:31 +0000 (16:11 +0000)]
We only have pending redisplay callbacks when the window wants to be
redisplayed *and* it is visible. Otherwise we won't redraw, anyway, and
immediately discover that there's still something to do, etc. etc., leading
to 100% CPU load.

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

18 years agoRemoved redundant code.
Sven Panne [Wed, 6 Jul 2005 16:06:05 +0000 (16:06 +0000)]
Removed redundant code.

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

18 years agoX11 only: Destroy the global menu rendering context when deinitializing.
Sven Panne [Wed, 6 Jul 2005 16:02:48 +0000 (16:02 +0000)]
X11 only: Destroy the global menu rendering context when deinitializing.
The visual/context handling for menus is still rather obscure, though...

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

18 years agoReverting previous commit: %lf is a valid format specifier for the scanf
Sven Panne [Wed, 6 Jul 2005 09:19:37 +0000 (09:19 +0000)]
Reverting previous commit: %lf is a valid format specifier for the scanf
familiy of functions only, not for the printf family.

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

18 years agoImplementing the new menu context variable names in Windows ...
John F. Fay [Tue, 5 Jul 2005 14:39:07 +0000 (14:39 +0000)]
Implementing the new menu context variable names in Windows ...

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

18 years agoChanging a comment ... nothing big.
John F. Fay [Tue, 5 Jul 2005 14:16:44 +0000 (14:16 +0000)]
Changing a comment ... nothing big.

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

18 years agoFixing output formats ... nothing big
John F. Fay [Tue, 5 Jul 2005 13:54:18 +0000 (13:54 +0000)]
Fixing output formats ... nothing big

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

18 years agoX11 only: Free XVisualInfo structures when they are not needed
Sven Panne [Tue, 5 Jul 2005 12:32:56 +0000 (12:32 +0000)]
X11 only: Free XVisualInfo structures when they are not needed
anymore, fixing a space leak. Not perfect for menus yet...

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

18 years agoTiny change to make grep's life easier: Rename the fields of the menu
Sven Panne [Tue, 5 Jul 2005 11:31:58 +0000 (11:31 +0000)]
Tiny change to make grep's life easier: Rename the fields of the menu
context. Not really worth a ChangeLog entry...

IMHO it looks like we could kill the whole MenuContext stuff, it is of no
use currently and some things look strange, like e.g. having a context per
menu. The latter is not OK when a menu is attached to multiple windows.

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

18 years agoHandle modifiers in MotionNotify events, too. This fixes bug #1227920
Sven Panne [Sat, 2 Jul 2005 13:50:02 +0000 (13:50 +0000)]
Handle modifiers in MotionNotify events, too. This fixes bug #1227920
(glutGetModifiers not set/allowed in mouse callbacks). In addition, some related
cleanup has been done.

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

18 years agoPartial fixes for bug #1218900 (freeglut-2.4.0 on FreeBSD).
Sven Panne [Sat, 2 Jul 2005 13:13:30 +0000 (13:13 +0000)]
Partial fixes for bug #1218900 (freeglut-2.4.0 on FreeBSD).

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

18 years agoRemove wrong "execute" bits when creating a distribution. This fixes
Sven Panne [Sat, 2 Jul 2005 12:58:07 +0000 (12:58 +0000)]
Remove wrong "execute" bits when creating a distribution. This fixes
bug #961938 (Executable bit set on non exe files).

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

18 years agoTiny cosmetic change, not worth a ChangeLog entry.
Sven Panne [Sat, 2 Jul 2005 12:56:08 +0000 (12:56 +0000)]
Tiny cosmetic change, not worth a ChangeLog entry.

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

18 years agoAdded John's missing ChangeLog entry.
Sven Panne [Sat, 2 Jul 2005 12:53:26 +0000 (12:53 +0000)]
Added John's missing ChangeLog entry.

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

18 years agoAdding the \"freeglut_input_devices.c\" file to the Windows project files
John F. Fay [Fri, 1 Jul 2005 14:00:15 +0000 (14:00 +0000)]
Adding the \"freeglut_input_devices.c\" file to the Windows project files

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

18 years agoSome steps toward compilation under MinGW. Note that there are still
Sven Panne [Fri, 1 Jul 2005 13:55:12 +0000 (13:55 +0000)]
Some steps toward compilation under MinGW. Note that there are still
linking troubles for the examples.

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

18 years agoFixed #ifdef for ChangeDisplaySettingsEx prototype.
Sven Panne [Fri, 1 Jul 2005 12:39:38 +0000 (12:39 +0000)]
Fixed #ifdef for ChangeDisplaySettingsEx prototype.

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

18 years agoSilenced a signed/unsigned mismatched via a cast.
Sven Panne [Fri, 1 Jul 2005 11:44:53 +0000 (11:44 +0000)]
Silenced a signed/unsigned mismatched via a cast.

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

18 years agoMinGW is lacking a prototype for ChangeDisplaySettingsEx, so supply one in
Sven Panne [Fri, 1 Jul 2005 11:42:27 +0000 (11:42 +0000)]
MinGW is lacking a prototype for ChangeDisplaySettingsEx, so supply one in
this case. Note that this should better be handled via autoconf than via cpp.

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

18 years agoRemoved redundant files from EXTRA_DIST.
Sven Panne [Fri, 1 Jul 2005 11:14:43 +0000 (11:14 +0000)]
Removed redundant files from EXTRA_DIST.

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

18 years agoOoops, forgot to set the current window in the last commit. I'll have to
Sven Panne [Thu, 30 Jun 2005 14:49:54 +0000 (14:49 +0000)]
Ooops, forgot to set the current window in the last commit. I'll have to
test better before comitting... :-]

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

18 years agoWhen a window is iconified, only an UnmapNotify is sent, not a
Sven Panne [Thu, 30 Jun 2005 14:35:29 +0000 (14:35 +0000)]
When a window is iconified, only an UnmapNotify is sent, not a
VisibilityNotify, so we have to handle the window status callback in the
former case, too. This fixes bug #763442 (Call the visibility callback when
minimizing a window).

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

18 years agoCleaned up CreateNotify/ConfigureNotify handling.
Sven Panne [Thu, 30 Jun 2005 12:39:14 +0000 (12:39 +0000)]
Cleaned up CreateNotify/ConfigureNotify handling.

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

18 years agoOoops, forgot to dump a few fields in some events...
Sven Panne [Thu, 30 Jun 2005 11:45:34 +0000 (11:45 +0000)]
Ooops, forgot to dump a few fields in some events...

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

18 years agoAdded --enable-debug configure flag. Currently it only turns on X11 event
Sven Panne [Thu, 30 Jun 2005 11:12:55 +0000 (11:12 +0000)]
Added --enable-debug configure flag. Currently it only turns on X11 event
tracing, but in the future we could add more.

Note: freeglut_main.c could benefit from some restructuring to clean up
the #ifdefs and cut down the sizes of some extremely long functions.

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

18 years agoIgnore files generated during RPM build.
Sven Panne [Thu, 30 Jun 2005 11:03:25 +0000 (11:03 +0000)]
Ignore files generated during RPM build.

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

18 years agoFixing the documentation regarding callbacks and geometry shape additions
John F. Fay [Thu, 23 Jun 2005 17:39:05 +0000 (17:39 +0000)]
Fixing the documentation regarding callbacks and geometry shape additions

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

18 years agoAdding separate static library and DLL demonstration program projects
John F. Fay [Thu, 23 Jun 2005 17:15:26 +0000 (17:15 +0000)]
Adding separate static library and DLL demonstration program projects

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

18 years agoAdding separate demo program projects for static library and DLL versions
John F. Fay [Thu, 23 Jun 2005 17:09:49 +0000 (17:09 +0000)]
Adding separate demo program projects for static library and DLL versions

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

18 years agoAdding support for separate static library demo programs
John F. Fay [Thu, 23 Jun 2005 17:08:29 +0000 (17:08 +0000)]
Adding support for separate static library demo programs

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

18 years agoKeeping current ...
John F. Fay [Thu, 23 Jun 2005 14:37:38 +0000 (14:37 +0000)]
Keeping current ...

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

18 years agoNew file for Joe Krahn\'s dials input device
John F. Fay [Thu, 23 Jun 2005 14:33:02 +0000 (14:33 +0000)]
New file for Joe Krahn\'s dials input device

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

18 years agoFixing a bug in the Sierpinski sponge code that made the application crash if called...
John F. Fay [Wed, 22 Jun 2005 22:11:50 +0000 (22:11 +0000)]
Fixing a bug in the Sierpinski sponge code that made the application crash if called with number of levels < 0

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

18 years agoJoe Krahn\'s input (dials) device implementation.
John F. Fay [Wed, 22 Jun 2005 21:37:26 +0000 (21:37 +0000)]
Joe Krahn\'s input (dials) device implementation.

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

18 years agoAdded an RPM spec file based on the one shipped with SuSE 9.3.
Sven Panne [Tue, 14 Jun 2005 15:37:09 +0000 (15:37 +0000)]
Added an RPM spec file based on the one shipped with SuSE 9.3.

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

18 years agoRelease of 2.4.0
J.C. Jones [Fri, 10 Jun 2005 01:11:46 +0000 (01:11 +0000)]
Release of 2.4.0

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

19 years ago2.4.0 Release Candiate 5
J.C. Jones [Thu, 2 Jun 2005 22:45:15 +0000 (22:45 +0000)]
2.4.0 Release Candiate 5

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