freeglut
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years agoTakeshi Nishimura\'s changes to make the Windows mouse wheel/button mapping match...
John F. Fay [Thu, 26 May 2005 12:26:31 +0000 (12:26 +0000)]
Takeshi Nishimura\'s changes to make the Windows mouse wheel/button mapping match that of X11; also fixing a typo in the associated mouse callback argument list

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

19 years ago2.4.0 RC4 updates
J.C. Jones [Thu, 26 May 2005 02:11:10 +0000 (02:11 +0000)]
2.4.0 RC4 updates

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

19 years agoFix joysticks so they are polled by their timer correctly. (Dan Torop)
J.C. Jones [Thu, 26 May 2005 02:07:14 +0000 (02:07 +0000)]
Fix joysticks so they are polled by their timer correctly. (Dan Torop)

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

19 years agoThe original glutEnterGameMode() returns the window id of the game
Sven Panne [Tue, 24 May 2005 16:15:25 +0000 (16:15 +0000)]
The original glutEnterGameMode() returns the window id of the game
mode window, not TRUE/FALSE, we should better follow that. Note that
most man pages claim that this function returns void, but this is
definitely wrong.

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

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