freeglut
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

19 years agoFix to glutInit() command-line argument compaction - Patch #1027724 from takeshi2
J.C. Jones [Wed, 15 Sep 2004 12:09:21 +0000 (12:09 +0000)]
Fix to glutInit() command-line argument compaction - Patch #1027724 from takeshi2

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

19 years agomore updates from John Fay
Brian Paul [Mon, 13 Sep 2004 18:39:10 +0000 (18:39 +0000)]
more updates from John Fay

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

19 years agosome function renaming, etc (John Fay)
Brian Paul [Mon, 13 Sep 2004 18:09:00 +0000 (18:09 +0000)]
some function renaming, etc (John Fay)

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

19 years agojoystick updates from John Fay
Brian Paul [Fri, 10 Sep 2004 15:51:10 +0000 (15:51 +0000)]
joystick updates from John Fay

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

19 years agoupdated comments from John Fay
Brian Paul [Fri, 10 Sep 2004 14:14:30 +0000 (14:14 +0000)]
updated comments from John Fay

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

19 years agoFix a game mode crashing bug, conditional compilation for Windows, and comment out...
J.C. Jones [Wed, 11 Aug 2004 15:56:20 +0000 (15:56 +0000)]
Fix a game mode crashing bug, conditional compilation for Windows, and comment out some diagnostic prints (John Fay)

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

19 years agoImplements Richard Rauch's request that the warning about indirect rendering contexts...
J.C. Jones [Thu, 5 Aug 2004 01:12:50 +0000 (01:12 +0000)]
Implements Richard Rauch's request that the warning about indirect rendering contexts be suppressed for his BSD operating systems.

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

19 years agoSomeone used C++ style comments in a C file... tisk tisk...
J.C. Jones [Thu, 5 Aug 2004 01:12:13 +0000 (01:12 +0000)]
Someone used C++ style comments in a C file... tisk tisk...

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

19 years agoBugfix for "glutBitmapString" so that it now handles end-of-line characters properly...
J.C. Jones [Thu, 5 Aug 2004 01:11:21 +0000 (01:11 +0000)]
Bugfix for "glutBitmapString" so that it now handles end-of-line characters properly (Richard Rauch)

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

19 years agoIncremental update ... (John Fay)
J.C. Jones [Thu, 5 Aug 2004 01:10:14 +0000 (01:10 +0000)]
Incremental update ... (John Fay)

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

19 years agogive menu windows the title 'freeglut menu' (helps Chromium)
Brian Paul [Tue, 29 Jun 2004 15:50:57 +0000 (15:50 +0000)]
give menu windows the title 'freeglut menu' (helps Chromium)

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

19 years agomove glXMakeCurrent() to after the point where the window's title is set (helps Chromium)
Brian Paul [Tue, 29 Jun 2004 15:50:26 +0000 (15:50 +0000)]
move glXMakeCurrent() to after the point where the window's title is set (helps Chromium)

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

20 years agoAdd one more header file to MSVC files
J.C. Jones [Thu, 13 May 2004 02:11:26 +0000 (02:11 +0000)]
Add one more header file to MSVC files

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

20 years agoJohn Fay: Direct/indirect rendering context change, fix a bug that somebody reported...
J.C. Jones [Wed, 12 May 2004 00:33:12 +0000 (00:33 +0000)]
John Fay: Direct/indirect rendering context change, fix a bug that somebody reported (about needing "GLUT_XLIB_IMPLEMENTATION" defined) and remove a false deprecation of a function.

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

20 years agoJohn Fay: A bug fix re: behavior of the code when the user clicks the "x" to close...
J.C. Jones [Wed, 12 May 2004 00:31:31 +0000 (00:31 +0000)]
John Fay: A bug fix re: behavior of the code when the user clicks the "x" to close a window, and commentary to a message type with fixes for a Windows event processing bug.

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

20 years agoJohn Fay: Implement the modified logic of the direct/indirect rendering context.
J.C. Jones [Wed, 12 May 2004 00:29:27 +0000 (00:29 +0000)]
John Fay: Implement the modified logic of the direct/indirect rendering context.

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

20 years agoJohn Fay: Implement the upper end of the bitmapped fonts (beyond ASCII code 127...
J.C. Jones [Wed, 12 May 2004 00:26:42 +0000 (00:26 +0000)]
John Fay:  Implement the upper end of the bitmapped fonts (beyond ASCII code 127).  The fonts are very close to the GLUT fonts.

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

20 years agoJohn Fay: These files implement the teapot for WINCE.
J.C. Jones [Wed, 12 May 2004 00:23:00 +0000 (00:23 +0000)]
John Fay: These files implement the teapot for WINCE.

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

20 years agoJohn Fay: Remove some obsolete defined symbols.
J.C. Jones [Wed, 12 May 2004 00:17:46 +0000 (00:17 +0000)]
John Fay: Remove some obsolete defined symbols.

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

20 years agoJohn Fay: Add "freeglut_glutfont_definitions.c" to the build and tell it to look...
J.C. Jones [Wed, 12 May 2004 00:17:17 +0000 (00:17 +0000)]
John Fay: Add "freeglut_glutfont_definitions.c" to the build and tell it to look in the "include" directory for the <GL/freeglut.h> file.

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

20 years agoRemoved unnecessary initialisation.
Steve Baker [Sun, 28 Mar 2004 15:51:33 +0000 (15:51 +0000)]
Removed unnecessary initialisation.

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

20 years agoAdded a cullface test.
Steve Baker [Sun, 28 Mar 2004 15:44:22 +0000 (15:44 +0000)]
Added a cullface test.

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

20 years agoremoved .cpp file (using LoadLibrary() instead)
Daniel Wagner [Mon, 22 Mar 2004 10:19:25 +0000 (10:19 +0000)]
removed .cpp file (using LoadLibrary() instead)
removed modified gx.h file
cleaned up all // and tabs

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

20 years agoPrevent exceeding array bounds in X11 key-repeat detection
Nigel Stewart [Wed, 17 Mar 2004 04:02:21 +0000 (04:02 +0000)]
Prevent exceeding array bounds in X11 key-repeat detection

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

20 years agoreplaced all tabs with 4 spaces
Daniel Wagner [Tue, 16 Mar 2004 08:38:28 +0000 (08:38 +0000)]
replaced all tabs with 4 spaces
replaced all // with /* */ block
fixed freeglut_gx.cpp file with #if TARGET_HOST_WINCE

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

20 years agoWhitespace conversion - tabs to 4 spaces
Nigel Stewart [Tue, 16 Mar 2004 00:17:11 +0000 (00:17 +0000)]
Whitespace conversion - tabs to 4 spaces

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

20 years agoRevert X11 fgCloseWindow to 1.38 pre-offscreen implementation.
Nigel Stewart [Tue, 16 Mar 2004 00:15:05 +0000 (00:15 +0000)]
Revert X11 fgCloseWindow to 1.38 pre-offscreen implementation.

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

20 years agofixed mouse position and keyboard mapping.
Daniel Wagner [Mon, 15 Mar 2004 15:23:29 +0000 (15:23 +0000)]
fixed mouse position and keyboard mapping.
added c-wrapper cpp file for GAPI.

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

20 years agoadded support for WindowsCE (building on top of klimt)
Daniel Wagner [Mon, 15 Mar 2004 13:42:20 +0000 (13:42 +0000)]
added support for WindowsCE (building on top of klimt)

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

20 years agoRepeat-key handling for Win32
Nigel Stewart [Mon, 15 Mar 2004 11:31:19 +0000 (11:31 +0000)]
Repeat-key handling for Win32
Utilise both FreeGLUT state and per-window filtering modes

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

20 years agoForgot to update the ChangeLog for the benefit of those who do not have
Richard Rauch [Mon, 15 Mar 2004 06:19:33 +0000 (06:19 +0000)]
Forgot to update the ChangeLog for the benefit of those who do not have
CVS or Web access.

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

20 years agoCompleted removal of all support for the offscreen rendering.
Richard Rauch [Mon, 15 Mar 2004 06:16:47 +0000 (06:16 +0000)]
Completed removal of all support for the offscreen rendering.

If you wish to do offscreen supportin a portable manner, you will
no longer be able to do so with current versions of freeglut.

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

20 years agoRemoved Makefile support for the offscreen demo.
Richard Rauch [Mon, 15 Mar 2004 06:10:27 +0000 (06:10 +0000)]
Removed Makefile support for the offscreen demo.

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

20 years agoRemoved offscreen demo program.
Richard Rauch [Mon, 15 Mar 2004 06:08:08 +0000 (06:08 +0000)]
Removed offscreen demo program.

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

20 years agoProvide local include path to automake for GL/freeglut.h etc
Nigel Stewart [Mon, 15 Mar 2004 00:07:37 +0000 (00:07 +0000)]
Provide local include path to automake for GL/freeglut.h etc

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

20 years agoCode formatting tweak
Nigel Stewart [Sun, 14 Mar 2004 04:37:17 +0000 (04:37 +0000)]
Code formatting tweak

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

20 years agoResolution of X11 key-repeat handling
Nigel Stewart [Sun, 14 Mar 2004 04:36:02 +0000 (04:36 +0000)]
Resolution of X11 key-repeat handling

glutSetKeyRepeat is global to all FreeGLUT windows in the application
glutIgnoreKeyRepeat is a per-window over-ride

To avoid nasty global X11 state interaction, or GLUT-style
event queue filtering - the approach in FreeGLUT is to
use the current key state XQueryKeymap to detect and
ignore KeyRelease/KeyPress pairs that are auto-generated.

See also:
http://pyopengl.sourceforge.net/documentation/manual/glutSetKeyRepeat.3GLUT.xml
http://pyopengl.sourceforge.net/documentation/manual/glutIgnoreKeyRepeat.3GLUT.xml

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

20 years agoStripped out tabs and end-of-line whitespace
Nigel Stewart [Sun, 14 Mar 2004 03:47:46 +0000 (03:47 +0000)]
Stripped out tabs and end-of-line whitespace
Differences are in whitespace only

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

20 years agoResolve [ 853044 ] FreeGLUT menus on Win32 in task bar and ALT-TAB list
Nigel Stewart [Wed, 10 Mar 2004 05:11:04 +0000 (05:11 +0000)]
Resolve [ 853044 ] FreeGLUT menus on Win32 in task bar and ALT-TAB list
CreateWindowEx(WS_EX_TOOLWINDOW,...) extended style suppresses the popup menu window from the taskbar or ALT-TAB list

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

20 years agoignoreKeyRepeat mode in FreeGLUT is TRUE by default
Nigel Stewart [Mon, 8 Mar 2004 06:06:57 +0000 (06:06 +0000)]
ignoreKeyRepeat mode in FreeGLUT is TRUE by default
For compatibility with GLUT, the mode should be FALSE by default
This issues was probably undetected until now because ignoreKeyRepeat didn't yet work.

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

20 years agoResolved bug #869765 glutIgnoreKeyRepeat() Fix (Win32)
Nigel Stewart [Mon, 8 Mar 2004 05:49:55 +0000 (05:49 +0000)]
Resolved bug #869765 glutIgnoreKeyRepeat() Fix (Win32)
glutIgnoreKeyRepeat now behaves correctly on Win32

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

20 years agoC++ style comment converted to C style comment
Nigel Stewart [Mon, 8 Mar 2004 05:15:15 +0000 (05:15 +0000)]
C++ style comment converted to C style comment

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

20 years agoInclude freeglut header via <GL/freeglut.h> rather than "../include/GL/freeglut.h"
Nigel Stewart [Mon, 8 Mar 2004 05:05:38 +0000 (05:05 +0000)]
Include freeglut header via <GL/freeglut.h> rather than "../include/GL/freeglut.h"
This allows some additional flexibility with file layout.
It should be the responsibility of the build environment, rather than at source level.
This change tested on MSVC 6, cygwin and mingw32 gcc and Linux gcc.

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

20 years agoAccording to John F. Fay:
Nigel Stewart [Wed, 3 Mar 2004 03:35:42 +0000 (03:35 +0000)]
According to John F. Fay:
The variable "num_axes" should be "joy->num_axes".

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

20 years agoRemoved nonstandard #warning constructs. Converted to XXX comments.
Richard Rauch [Fri, 20 Feb 2004 23:31:41 +0000 (23:31 +0000)]
Removed nonstandard #warning constructs.  Converted to XXX comments.
(These are warnings about gamemode features not working the same on
some systems as on others.  The semantics of gamemode are dubious,
since it was never formally documented, and has for a long time
worked in different ways on different systems, so it is arguable that
there is nothing really wrong with systems that don't support
resolution-changes.)

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

20 years agoFixed the bug where glutDisplayFunc() was effectively invoking
Richard Rauch [Fri, 20 Feb 2004 05:05:35 +0000 (05:05 +0000)]
Fixed the bug where glutDisplayFunc() was effectively invoking
glutPostRedsiplay().  This is wrong on the face of it, and may be
at root for some of the annoying "timing" issues we've had with
redisplay events being called inappopriately.

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

20 years agoI had rubbed the offscreen/Makefile.am off from the shapes demo. I forgot
Richard Rauch [Thu, 19 Feb 2004 11:13:11 +0000 (11:13 +0000)]
I had rubbed the offscreen/Makefile.am off from the shapes demo.  I forgot
to remove a couple of references to the shapes.c and shapes.dsp (.dsw?)
files.

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

20 years agoAdded "offscreen" demo, a very simple program that produces an onscreen
Richard Rauch [Thu, 19 Feb 2004 10:09:29 +0000 (10:09 +0000)]
Added "offscreen" demo, a very simple program that produces an onscreen
window and, upon command, renders a similar offscreen display and writes
the result to disk.

Also, modified the build structure for UNIX_X11 to autobuild the demo.
(Not done for WIN32 at this time.)

Also, forgot to previously commit the updated freeglut_ext.h include.
Eeep.

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

20 years agoMinor comment adjustments.
Richard Rauch [Wed, 18 Feb 2004 06:52:50 +0000 (06:52 +0000)]
Minor comment adjustments.

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

20 years agoRefinements to comments
Nigel Stewart [Wed, 18 Feb 2004 02:51:04 +0000 (02:51 +0000)]
Refinements to comments

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

20 years agoNormalized the style of the new joystick a bit.
Richard Rauch [Sat, 14 Feb 2004 08:51:54 +0000 (08:51 +0000)]
Normalized the style of the new joystick a bit.

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

20 years agoFor some reason, the X "expose" event handler was *directly* calling
Richard Rauch [Sat, 14 Feb 2004 03:29:57 +0000 (03:29 +0000)]
For some reason, the X "expose" event handler was *directly* calling
the display handler in the client.  (Okay, it was calling a function
that operates on the window handle.)

If you have any complexity to the display code, this can be painful
to watch.  I can't think of a good reason to do the display immediately,
so I fixed the code to do a glutPostRedisplay().

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

20 years agoA commit on behalf of John (in turn, and in part, also on behalf of
Richard Rauch [Sat, 14 Feb 2004 03:23:43 +0000 (03:23 +0000)]
A commit on behalf of John (in turn, and in part, also on behalf of
Thierry).

 * Renamed some of the old PLIB functions to have glut* prefixes.
   (I guess that there is some thought about exporting them to the
    API.)

 * Changes from Thierry for FreeBSD support, and/or results of testing?

 * I re-merged an XXX comment re. NetBSD/amd64 and propogated a
   comment on a duplicated #define for FreeBSD.  We need the GNU
   autoconfig stuff to be updated by someone who groks it, now.

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

20 years agoCommit of John's tidying-up of a comment, closing out an XXX comment that
Richard Rauch [Mon, 9 Feb 2004 14:54:14 +0000 (14:54 +0000)]
Commit of John's tidying-up of a comment, closing out an XXX comment that
I wrote.  Thanks, John.

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

20 years ago...AND a tab snuck into my changes for GLUT_OFFSCREEN support. Mea culpa.
Richard Rauch [Sat, 7 Feb 2004 12:12:46 +0000 (12:12 +0000)]
...AND a tab snuck into my changes for GLUT_OFFSCREEN support.  Mea culpa.

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

20 years agoRemoved a ^M that snuck into the #pragma for the new joystick code.
Richard Rauch [Sat, 7 Feb 2004 12:11:30 +0000 (12:11 +0000)]
Removed a ^M that snuck into the #pragma for the new joystick code.

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

20 years agoOoops. We don't want people to be able to create a subwindow of an
Richard Rauch [Sat, 7 Feb 2004 12:10:26 +0000 (12:10 +0000)]
Ooops.  We don't want people to be able to create a subwindow of an
offscreen window.  (^&  This is no longer permitted.

(Actually, it would be nice if it would work, but I don't think that you
can subwindow a pixmap in UNIX_X11, and assume that subwindowing offscreen
doesn't work on WIN32, either.)

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

20 years agoAdded entries for the joystick updates and the offscreen experimental
Richard Rauch [Sat, 7 Feb 2004 11:36:39 +0000 (11:36 +0000)]
Added entries for the joystick updates and the offscreen experimental
support.

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

20 years agoChanged a couple of XXX comments. Added a new one. These all the nest of
Richard Rauch [Sat, 7 Feb 2004 11:22:16 +0000 (11:22 +0000)]
Changed a couple of XXX comments. Added a new one.  These all the nest of
#ifs in the BSD section of the new joystick code.

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

20 years ago"Heavy editing" by John to his CallbackMaker demo.
Richard Rauch [Sat, 7 Feb 2004 10:57:17 +0000 (10:57 +0000)]
"Heavy editing" by John to his CallbackMaker demo.

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

20 years agoJohn added a #pragma to the joystick code for WIN32 users.
Richard Rauch [Sat, 7 Feb 2004 10:52:08 +0000 (10:52 +0000)]
John added a #pragma to the joystick code for WIN32 users.

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

20 years agoAdds GLUT_OFFSCREEN as a display mode option. This includes:
Richard Rauch [Sat, 7 Feb 2004 10:40:59 +0000 (10:40 +0000)]
Adds GLUT_OFFSCREEN as a display mode option.  This includes:

 * Recognizing the mode when you call glutCreateWindow().
   (Offscreen looks and acts like a top-level window in many
   ways.)

 * During the life of the offscreen "window", various window-management
   functions are modified to respect offscreen status.

   (Excepting reshaping windows, there is not much useful interpretation
    for managment of offscreen areas.  Reshaping is possibly more work
    than it's worth to support, and GLUT specs allow us to ignore the
    request.)

 * Cleanup for "offscreen" windows is a little different than for regular
   windows.

Windows still don't start up quite ideally.  Offscreen windows should
probably get a reshape event, but not a display.

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

20 years agoBig import of updated joystick code from PLIB, with permission from
Richard Rauch [Thu, 5 Feb 2004 23:31:09 +0000 (23:31 +0000)]
Big import of updated joystick code from PLIB, with permission from
Steve Baker.  Most of the adaptation done by John, with a little bit
of testing and changes by Thierry Thomas and myself.  Seems to compile on:

  WIN32
  Red Hat LINUX
  FreeBSD
  NetBSD/amd64

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

20 years agoClose a bug whereby events can be delayed arbitrarily long if they get
Richard Rauch [Sun, 1 Feb 2004 09:18:59 +0000 (09:18 +0000)]
Close a bug whereby events can be delayed arbitrarily long if they get
caught between the socket and the client-side queue on X, sometime
after glutMainLoopEvent()'s loop quits and before the sleep code is
invoked.

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

20 years agoAmmended a comment on fgCheckJoystickCallback().
Richard Rauch [Fri, 16 Jan 2004 12:44:50 +0000 (12:44 +0000)]
Ammended a comment on fgCheckJoystickCallback().

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

20 years agoMinor style normalizations to minimize the diffs between *now* and from
Richard Rauch [Fri, 16 Jan 2004 00:22:43 +0000 (00:22 +0000)]
Minor style normalizations to minimize the diffs between *now* and from
before John's changes.  No functional changes:

 * Removed some hard TABs introduced.
 * Removed some spaces-at-end-of-line introduced.
 * A couple of function calls were touched up.

I did this separately only because I don't like messing with other people's
commits.  (I don't like feeling like the style police, either, but when
I mess with the commit, there's no room for reverting my interference if
it is deemed undesirable...)

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

20 years agoSome changes from John.
Richard Rauch [Fri, 16 Jan 2004 00:17:23 +0000 (00:17 +0000)]
Some changes from John.

The main attraction seems to be correcting a bug with the action-on-
window-close.

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

20 years agoWin32 glutIconifyWindow() patch contributed by John F. Fay
Nigel Stewart [Mon, 5 Jan 2004 15:49:14 +0000 (15:49 +0000)]
Win32 glutIconifyWindow() patch contributed by John F. Fay
Restrict resize callbacks to visible windows
When iconified via glutIconifyWindow(), don't pass (0,0) to resize callback
Note that minimising the window via the menu or minimise button is not yet resolved.

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

20 years agoSplit a few overlong lines.
Richard Rauch [Tue, 30 Dec 2003 11:50:58 +0000 (11:50 +0000)]
Split a few overlong lines.

Adjusted some spacing in a few spots to be more consistant with
freeglut style.  Including one unindented if() body.

Eliminated a dead variable.

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

20 years agoChanged several #ifdef's to proper #if's. Eeek. Oook.
Richard Rauch [Tue, 30 Dec 2003 11:43:24 +0000 (11:43 +0000)]
Changed several #ifdef's to proper #if's.  Eeek.  Oook.

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

20 years agoHm... I thought that I committed this last night. What's up?
Richard Rauch [Tue, 30 Dec 2003 10:57:01 +0000 (10:57 +0000)]
Hm...  I thought that I committed this last night.  What's up?

This is Nigel's modified fgSleepForEvents(), essentially.  Take 2.

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

20 years agoThree supported win32 compilation environments: MSVC, Cygwin and MingW32
Nigel Stewart [Tue, 30 Dec 2003 02:55:39 +0000 (02:55 +0000)]
Three supported win32 compilation environments: MSVC, Cygwin and MingW32
#pragma is specific to MS compiler

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

20 years agoExplicitly cast function pointer to (void *) in SET_WCB since all callbacks stored...
Nigel Stewart [Tue, 30 Dec 2003 02:51:32 +0000 (02:51 +0000)]
Explicitly cast function pointer to (void *) in SET_WCB since all callbacks stored as void pointers
suppress gcc -Wall -pendantic "noise"

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

20 years agoTypesafe handling of temporary window destroy callback
Nigel Stewart [Tue, 30 Dec 2003 02:49:56 +0000 (02:49 +0000)]
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"

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

20 years agoThree supported win32 compilation environments: MSVC, Cygwin and MingW32
Nigel Stewart [Tue, 30 Dec 2003 02:28:13 +0000 (02:28 +0000)]
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

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

20 years agostrlen expects (char *), rather than (unsigned char *)
Nigel Stewart [Tue, 30 Dec 2003 02:24:05 +0000 (02:24 +0000)]
strlen expects (char *), rather than (unsigned char *)
suppress gcc -Wall -pendantic "noise"

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

20 years agoReplace assignment of array to struct with field-by-field assignment
Nigel Stewart [Tue, 30 Dec 2003 02:22:11 +0000 (02:22 +0000)]
Replace assignment of array to struct with field-by-field assignment
suppress gcc -Wall -pendantic "noise"

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

20 years agoglutBitmapString and glutBitmapLength expect (unsigned char *) rather than (char *)
Nigel Stewart [Tue, 30 Dec 2003 02:20:03 +0000 (02:20 +0000)]
glutBitmapString and glutBitmapLength expect (unsigned char *) rather than (char *)
suppress gcc in -Wall -pendantic "noise"

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

20 years agoReplace #ifdef WIN32 with #ifdef TARGET_HOST_WIN32, as per FreeGLUT convention
Nigel Stewart [Tue, 30 Dec 2003 02:17:07 +0000 (02:17 +0000)]
Replace #ifdef WIN32 with #ifdef TARGET_HOST_WIN32, as per FreeGLUT convention

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