freeglut
13 years agoFixing bug 3105058. There is a possibly substantial change on line 783, where the...
John F. Fay [Tue, 25 Jan 2011 05:43:37 +0000 (05:43 +0000)]
Fixing bug 3105058.  There is a possibly substantial change on line 783, where the "window->Window.Device" is replaced with "hDC" rather than "current_hDC" which was assigned to its value earlier.

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

13 years agoFixing bug report 3021598 by modifying "glutSetWindow" under Windows so that it only...
John F. Fay [Tue, 25 Jan 2011 05:17:12 +0000 (05:17 +0000)]
Fixing bug report 3021598 by modifying "glutSetWindow" under Windows so that it only releases and gets the device context if the window is being set to a new window

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

13 years agoFixing bug report 2952457 -- modifying the "FREEGLUT_EXIT_IF_NO_WINDOW" macro so...
John F. Fay [Sun, 23 Jan 2011 22:30:13 +0000 (22:30 +0000)]
Fixing bug report 2952457 -- modifying the "FREEGLUT_EXIT_IF_NO_WINDOW" macro so that it does not exit if the user has specified "GLUT_ACTION_CONTINUE_EXECUTION".

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

13 years agoFixing bug 2946386 -- typo in 'configure.ac'
John F. Fay [Sun, 23 Jan 2011 22:19:16 +0000 (22:19 +0000)]
Fixing bug 2946386 -- typo in 'configure.ac'

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

13 years agoFixing bug 3058389, typo in Open Watcom Makefile.wat. Thank you, Kasper.
John F. Fay [Sun, 23 Jan 2011 19:12:30 +0000 (19:12 +0000)]
Fixing bug 3058389, typo in Open Watcom Makefile.wat.  Thank you, Kasper.

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

13 years agoPart one of fixing bug 3058987 -- the 'freeglut_patch_visual_info.diff' changes
John F. Fay [Sun, 23 Jan 2011 18:58:54 +0000 (18:58 +0000)]
Part one of fixing bug 3058987 -- the 'freeglut_patch_visual_info.diff' changes

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

13 years agoAdding support to Solaris courtesy of Dagobert Michelsen, bug report 3077828 (thank...
John F. Fay [Sun, 23 Jan 2011 14:29:47 +0000 (14:29 +0000)]
Adding support to Solaris courtesy of Dagobert Michelsen, bug report 3077828 (thank you, Dagobert).

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

13 years agoRemoving a bunch of Windows line endings -- see bug report 3077828
John F. Fay [Sun, 23 Jan 2011 14:18:25 +0000 (14:18 +0000)]
Removing a bunch of Windows line endings -- see bug report 3077828

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

13 years agoFixing bug report 3106347, 'Incorrect normals for glutSolidCone' -- thank you Nigel.
John F. Fay [Sun, 23 Jan 2011 04:25:33 +0000 (04:25 +0000)]
Fixing bug report 3106347, 'Incorrect normals for glutSolidCone' -- thank you Nigel.

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

13 years agoAdding Visual Studio 2010 support and moving Visual Studio 2008 support from two...
John F. Fay [Sun, 23 Jan 2011 03:47:05 +0000 (03:47 +0000)]
Adding Visual Studio 2010 support and moving Visual Studio 2008 support from two separate directories into a single "VisualStudio" directory.

Use of the project files in the "VisualStudio2008" or "VisualStudio2008Static" directories is now DEPRECATED.

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

13 years agoAdding a 'README.mac' file to capture Nicholas Panayis' experience -- see e-mail...
John F. Fay [Sun, 23 Jan 2011 02:45:42 +0000 (02:45 +0000)]
Adding a 'README.mac' file to capture Nicholas Panayis' experience -- see e-mail on freeglut-developer dated 11/9/2010 at 10:03 PM

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

14 years agoFixing typo in a comment per e-mail from Arvin Schnell dated 11/19/10 4:55 AM
John F. Fay [Sat, 20 Nov 2010 13:40:25 +0000 (13:40 +0000)]
Fixing typo in a comment per e-mail from Arvin Schnell dated 11/19/10 4:55 AM

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

14 years agoAddressing feature request 2116152 -- adding an fgError exit callback routine --...
John F. Fay [Mon, 1 Nov 2010 04:13:54 +0000 (04:13 +0000)]
Addressing feature request 2116152 -- adding an fgError exit callback routine -- patch from Chris Marshall in e-mail dated 10/30/2010 2:06 PM

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

14 years agoFixing "fgDestroyWindow" error per e-mail from John Tsiombikas dated Wed, 26 May...
John F. Fay [Sat, 29 May 2010 02:07:21 +0000 (02:07 +0000)]
Fixing "fgDestroyWindow" error per e-mail from John Tsiombikas dated Wed, 26 May 2010 13:16:28 +0200

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

14 years agoAllowing recent change to build on older versions of MSVC per e-mail from Eero Pajarr...
John F. Fay [Mon, 1 Feb 2010 03:02:44 +0000 (03:02 +0000)]
Allowing recent change to build on older versions of MSVC per e-mail from Eero Pajarre dated 1/31/10 at 10:00 AM

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

14 years agoPutting the definition of "HAVE_VFPRINTF" back in (and adding the errant "F") per...
John F. Fay [Sat, 30 Jan 2010 00:54:59 +0000 (00:54 +0000)]
Putting the definition of "HAVE_VFPRINTF" back in (and adding the errant "F") per e-mail from Eero Pajarre dated 1/29/2010 at 7:51 AM

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

14 years agoAdding a more comprehensive warning message if "CreateDC" failed, per e-mail from...
John F. Fay [Sat, 30 Jan 2010 00:03:48 +0000 (00:03 +0000)]
Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from Eero Pajarre dated 1/29/10, 5:26 AM

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

14 years agoImplementing Windows multiple-display patch per e-mail from Eero Paharre dated 1...
John F. Fay [Fri, 29 Jan 2010 05:05:14 +0000 (05:05 +0000)]
Implementing Windows multiple-display patch per e-mail from Eero Paharre dated 1/25/10, 11:54 AM

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

14 years agoMaking all Windows include file names lower-case for better *nix compatibility per...
John F. Fay [Mon, 25 Jan 2010 03:57:50 +0000 (03:57 +0000)]
Making all Windows include file names lower-case for better *nix compatibility per e-mail from Martin Payne vintage 1/22/2010 6:15 AM.

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

14 years agoChecking for a window before we try to refer to it (see e-mail by Eero Pajarre dated...
John F. Fay [Mon, 11 Jan 2010 01:41:38 +0000 (01:41 +0000)]
Checking for a window before we try to refer to it (see e-mail by Eero Pajarre dated 1/10/2010 at 2:48 PM).

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

14 years agoFixing a typo in a comment
John F. Fay [Mon, 4 Jan 2010 16:31:17 +0000 (16:31 +0000)]
Fixing a typo in a comment

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

14 years agoImplementing feature request #2840239: Windows special keys added (ctrl, shift and...
John F. Fay [Mon, 4 Jan 2010 04:44:34 +0000 (04:44 +0000)]
Implementing feature request #2840239:  Windows special keys added (ctrl, shift and alt)

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

14 years agoImplementing feature request 2824176: detection of X11 special keys: SHIFT, CTRL...
John F. Fay [Mon, 4 Jan 2010 04:07:03 +0000 (04:07 +0000)]
Implementing feature request 2824176:  detection of X11 special keys: SHIFT, CTRL, ALT

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

15 years agoRearranged some of the configuration-dependent code with an eye to simplifying it.
John F. Fay [Thu, 24 Dec 2009 04:05:46 +0000 (04:05 +0000)]
Rearranged some of the configuration-dependent code with an eye to simplifying it.

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

15 years agoAdding Solaris and OSX to the *nix/X11 cursor support and adding a comment to the...
John F. Fay [Thu, 24 Dec 2009 03:06:22 +0000 (03:06 +0000)]
Adding Solaris and OSX to the *nix/X11 cursor support and adding a comment to the spaceball file

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

15 years agoAdding a check for Solaris in the "freeglut_internal.h" code to avoid duplication
John F. Fay [Mon, 21 Dec 2009 01:50:35 +0000 (01:50 +0000)]
Adding a check for Solaris in the "freeglut_internal.h" code to avoid duplication

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

15 years agoHaving the library poll joysticks only if there is an active joystick callback enable...
John F. Fay [Sun, 13 Dec 2009 13:47:20 +0000 (13:47 +0000)]
Having the library poll joysticks only if there is an active joystick callback enabled per e-mail exchange titled "overjoyed" on December 10-13, 2009

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

15 years agoFixing another errant "HAVE_ERRNO_H" preprocessor definition
John F. Fay [Sun, 13 Dec 2009 13:46:20 +0000 (13:46 +0000)]
Fixing another errant "HAVE_ERRNO_H" preprocessor definition

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

15 years agoChecking in the 'build patch' from Jeremy Huddleston vintage 11/19/09 -- everything...
John F. Fay [Sun, 13 Dec 2009 05:06:44 +0000 (05:06 +0000)]
Checking in the 'build patch' from Jeremy Huddleston vintage 11/19/09 -- everything except the 'configure.ac' changes which break my Cygwin build

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

15 years agoReplacing a needed function in the cursor code -- the previous SVN commit broke the...
John F. Fay [Sat, 12 Dec 2009 13:37:57 +0000 (13:37 +0000)]
Replacing a needed function in the cursor code -- the previous SVN commit broke the build.

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

15 years agoSimplifying the system-dependent conditional code in "freeglut_cursor.c"
John F. Fay [Sat, 5 Dec 2009 14:58:24 +0000 (14:58 +0000)]
Simplifying the system-dependent conditional code in "freeglut_cursor.c"

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

15 years agoUploading spaceball/set-window patch per e-mail from John Tsiombikas dated 1:34 PM...
John F. Fay [Thu, 3 Dec 2009 03:21:12 +0000 (03:21 +0000)]
Uploading spaceball/set-window patch per e-mail from John Tsiombikas dated 1:34 PM, 12/2/09

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

15 years agoBumping the version number up to 2.7.0 -- we are now into the new "unstable" build...
John F. Fay [Wed, 2 Dec 2009 12:08:37 +0000 (12:08 +0000)]
Bumping the version number up to 2.7.0 -- we are now into the new "unstable" build for the next go-around

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

15 years agoSee e-mail from Martin Payne dated 11/30/09 at 5:51 AM. These changes include changi...
John F. Fay [Wed, 2 Dec 2009 03:56:05 +0000 (03:56 +0000)]
See e-mail from Martin Payne dated 11/30/09 at 5:51 AM.  These changes include changing "HAVE_ERRNO" to "HAVE_ERRNO_H" globally, modifying "configure.ac" to check for "errno.h", and modifying the "vcproj" files to suppress spurious warnings.

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

15 years agoMaking the "smooth_opengl3" typedefs to be Windows only per a discussion on the devel...
John F. Fay [Thu, 19 Nov 2009 12:51:58 +0000 (12:51 +0000)]
Making the "smooth_opengl3" typedefs to be Windows only per a discussion on the developers' list over the last several days.

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

15 years agoAdding Mac OSX to the list of platforms covered by the X11 support. This is a stopga...
John F. Fay [Wed, 18 Nov 2009 12:29:05 +0000 (12:29 +0000)]
Adding Mac OSX to the list of platforms covered by the X11 support.  This is a stopgap measure so we can get something out the door; I would prefer native OSX support.  See e-mail from Paul Martz at 3:25 PM, 11/16/09 for some thoughts on this.  Apparently this allows the library to build but the demos do not work.

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

15 years agoPutting in the "glutFullScreen" support for Gnome and other X window managers per...
John F. Fay [Wed, 18 Nov 2009 01:52:13 +0000 (01:52 +0000)]
Putting in the "glutFullScreen" support for Gnome and other X window managers per e-mail with patch file from John Tsiombikas dated 2:14 AM, 11/16/09

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

15 years agoFixing the "freeglutdll.def" for real per e-mail from Martin Payne dated 12:58 PM...
John F. Fay [Sat, 14 Nov 2009 19:11:21 +0000 (19:11 +0000)]
Fixing the "freeglutdll.def" for real per e-mail from Martin Payne dated 12:58 PM, 11/14/09

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

15 years agoRemoving a set of deprecated joystick functions from "freeglutdll.def" per e-mail...
John F. Fay [Sat, 14 Nov 2009 18:43:07 +0000 (18:43 +0000)]
Removing a set of deprecated joystick functions from "freeglutdll.def" per e-mail thread with Martin Payne on "Release Candidate 2 status", one entry of which is dated 1:03 AM, 11/14/09

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

15 years agoFixing bug 2862668, "freeglut 2.6.0 RC1 fails to build on FreeBSD", submitted by...
John F. Fay [Sat, 14 Nov 2009 04:31:39 +0000 (04:31 +0000)]
Fixing bug 2862668, "freeglut 2.6.0 RC1 fails to build on FreeBSD", submitted by Alexis Ballier ( aballier ) - 2009-09-20 09:44 (thank you, Alexis)

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

15 years agoMaking the spaceball demo a bit more elegant per e-mail from John Tsiombikas dated...
John F. Fay [Wed, 11 Nov 2009 03:30:06 +0000 (03:30 +0000)]
Making the spaceball demo a bit more elegant per e-mail from John Tsiombikas dated 8:45 PM, 11/10/09.

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

15 years agoGetting the "spaceball" demo to build properly in Windows
John F. Fay [Wed, 11 Nov 2009 01:21:41 +0000 (01:21 +0000)]
Getting the "spaceball" demo to build properly in Windows

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

15 years agoAdding the "freeglut_spaceball.c" file to the MSVC6 project files
John F. Fay [Wed, 11 Nov 2009 00:59:50 +0000 (00:59 +0000)]
Adding the "freeglut_spaceball.c" file to the MSVC6 project files

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

15 years agoAdding "freeglut_spaceball.c" to the VS2008 project files per e-mail from Diederick...
John F. Fay [Mon, 9 Nov 2009 13:08:37 +0000 (13:08 +0000)]
Adding "freeglut_spaceball.c" to the VS2008 project files per e-mail from Diederick Niehorster dated 12:13 AM, 11/9/09

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

15 years agoAdding "freeglut_spaceball" to the "Makefile.wat" file to (I hope) allow it to build...
John F. Fay [Sun, 8 Nov 2009 02:58:49 +0000 (02:58 +0000)]
Adding "freeglut_spaceball" to the "Makefile.wat" file to (I hope) allow it to build using OpenWATCOM

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

15 years agoConverting tab characters to spaces in the source code ...
John F. Fay [Sun, 8 Nov 2009 02:00:17 +0000 (02:00 +0000)]
Converting tab characters to spaces in the source code ...

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

15 years agoRemoving spurious warning message from new freeglut spaceball support per e-mail...
John F. Fay [Sat, 7 Nov 2009 02:16:38 +0000 (02:16 +0000)]
Removing spurious warning message from new freeglut spaceball support per e-mail from John Tsiombikas dated 11/06/09 12:19 PM

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

15 years agoFirst attempt at adding John Tsiombikas' spaceball support for X11. It compiles...
John F. Fay [Fri, 6 Nov 2009 13:26:16 +0000 (13:26 +0000)]
First attempt at adding John Tsiombikas' spaceball support for X11.  It compiles under Windows but the demo program does not.  See e-mail from John Tsiombikas dated 10/15/2009 9:43 AM.

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

15 years agoImplementing "glutEntryFunc" for Windows properly. I also moved the menu highlight...
John F. Fay [Thu, 5 Nov 2009 13:45:52 +0000 (13:45 +0000)]
Implementing "glutEntryFunc" for Windows properly.  I also moved the menu highlight code so that needs checking.

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

15 years agoAdding a check for mingw64 in "freeglut_cursor.c" per e-mail from Sisyphus dated...
John F. Fay [Wed, 4 Nov 2009 00:38:55 +0000 (00:38 +0000)]
Adding a check for mingw64 in "freeglut_cursor.c" per e-mail from Sisyphus dated Thu, 29 Oct 2009 13:13:18 +1100

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

15 years agoProtecting "errno" in case it is not defined per e-mail from Vincent R dated 5:37...
John F. Fay [Tue, 3 Nov 2009 13:45:32 +0000 (13:45 +0000)]
Protecting "errno" in case it is not defined per e-mail from Vincent R dated 5:37 AM, October 3, 2009.

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

15 years agoProtecting some preprocessor symbols that are not defined in OpenGL-ES per e-mail...
John F. Fay [Mon, 2 Nov 2009 13:42:23 +0000 (13:42 +0000)]
Protecting some preprocessor symbols that are not defined in OpenGL-ES per e-mail from Vincent R dated 5:37 AM, October 3, 2009.

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

15 years agoAdded support for sRGB framebuffers via the GLX_ARB_framebuffer_sRGB /
Sven Panne [Mon, 10 Aug 2009 18:39:58 +0000 (18:39 +0000)]
Added support for sRGB framebuffers via the GLX_ARB_framebuffer_sRGB /
WGL_ARB_framebuffer_sRGB extensions. Added support for context profiles via the
new parts of the GLX_ARB_create_context / WGL_ARB_create_context extensions.

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

15 years agoUnbreak the build for non-Windows platforms, fixing obviously untested
Sven Panne [Thu, 23 Jul 2009 19:07:34 +0000 (19:07 +0000)]
Unbreak the build for non-Windows platforms, fixing obviously untested
recent commits.

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

15 years agoMaking the #ifdef's around "__glutExitFunc" consistent so Cygwin will build
John F. Fay [Sun, 12 Jul 2009 14:29:16 +0000 (14:29 +0000)]
Making the #ifdef's around "__glutExitFunc" consistent so Cygwin will build

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

15 years agoAdding the Cygwin/mingw documentation from Jean-Seb (see e-mail dated Thu 7/9/2009...
John F. Fay [Sun, 12 Jul 2009 14:07:19 +0000 (14:07 +0000)]
Adding the Cygwin/mingw documentation from Jean-Seb (see e-mail dated Thu 7/9/2009 5:51 PM)

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

15 years agoMaking the "AT_EXIT" hack look a bit less like a copy-and-paste
John F. Fay [Fri, 10 Jul 2009 16:18:06 +0000 (16:18 +0000)]
Making the "AT_EXIT" hack look a bit less like a copy-and-paste

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

15 years agoChanging the OpenWatCom support per e-mail from Paul Blew dated Thu 6/11/2009 3:35 AM
John F. Fay [Mon, 22 Jun 2009 18:54:41 +0000 (18:54 +0000)]
Changing the OpenWatCom support per e-mail from Paul Blew dated Thu 6/11/2009 3:35 AM

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

15 years agoDisable the ATEXIT_HACK for Watcom, their "exit" function has a different
Sven Panne [Thu, 11 Jun 2009 08:25:25 +0000 (08:25 +0000)]
Disable the ATEXIT_HACK for Watcom, their "exit" function has a different
calling convention, leading to compilation errors.

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

15 years agoImproving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
John F. Fay [Sun, 31 May 2009 13:00:44 +0000 (13:00 +0000)]
Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM

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

15 years agoMove all files related to Visual Studio 2008 into 2 directories, one for the normal...
Sven Panne [Sun, 24 May 2009 12:31:43 +0000 (12:31 +0000)]
Move all files related to Visual Studio 2008 into 2 directories, one for the normal DLL build, and one for the static build. We should do this for other IDEs, too.

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

15 years agoPut static library stuff into its own solution. This way, a rather uncommon way doesn...
Sven Panne [Sat, 23 May 2009 12:50:37 +0000 (12:50 +0000)]
Put static library stuff into its own solution. This way, a rather uncommon way doesn't clutter up our normal solution, which is DLL-based.

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

15 years agoIgnore more files generated by Visual C++ 2008
Sven Panne [Sat, 23 May 2009 12:42:05 +0000 (12:42 +0000)]
Ignore more files generated by Visual C++ 2008

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

15 years agoNormalized VC 2008 project, making the configurations more general.
Sven Panne [Sat, 23 May 2009 12:20:07 +0000 (12:20 +0000)]
Normalized VC 2008 project, making the configurations more general.

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

15 years agoAdded missing guard to deactivate ATEXIT_HACK on non-Windows platforms
Sven Panne [Fri, 22 May 2009 16:51:26 +0000 (16:51 +0000)]
Added missing guard to deactivate ATEXIT_HACK on non-Windows platforms

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

15 years agoAvoid warnings when the ATEXIT_HACK is used with GCC, making the hack even uglier.
Sven Panne [Fri, 22 May 2009 15:50:24 +0000 (15:50 +0000)]
Avoid warnings when the ATEXIT_HACK is used with GCC, making the hack even uglier.

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

15 years agoAdded the ugly ATEXIT_HACK from GLUT 3.7, making freeglut binary compatible with...
Sven Panne [Fri, 22 May 2009 15:20:03 +0000 (15:20 +0000)]
Added the ugly ATEXIT_HACK from GLUT 3.7, making freeglut binary compatible with the GLUT DLLs out in the wild.

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

15 years agoUse our module definition file, so we get undecorated names in the resulting DLL...
Sven Panne [Fri, 22 May 2009 14:15:49 +0000 (14:15 +0000)]
Use our module definition file, so we get undecorated names in the resulting DLL, just like the classic GLUT DLL from Nate Robins.

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

15 years agoUse our module definition file, so we get undecorated names in the resulting DLL...
Sven Panne [Fri, 22 May 2009 14:15:10 +0000 (14:15 +0000)]
Use our module definition file, so we get undecorated names in the resulting DLL, just like the classic GLUT DLL from Nate Robins.

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

15 years agoRemoved obsolete lines. Fixed version number.
Sven Panne [Fri, 22 May 2009 14:12:30 +0000 (14:12 +0000)]
Removed obsolete lines. Fixed version number.

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

15 years agoIgnore file generated by Visual C++ 2008
Sven Panne [Fri, 22 May 2009 14:07:13 +0000 (14:07 +0000)]
Ignore file generated by Visual C++ 2008

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

15 years agoWe are at version 2.6.0 now.
Sven Panne [Sun, 5 Apr 2009 13:50:17 +0000 (13:50 +0000)]
We are at version 2.6.0 now.

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

15 years agoAdded more project/workspace/... files to distribution.
Sven Panne [Sun, 5 Apr 2009 13:13:31 +0000 (13:13 +0000)]
Added more project/workspace/... files to distribution.

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

15 years agoRemoved remnants of CVS.
Sven Panne [Sun, 5 Apr 2009 12:47:32 +0000 (12:47 +0000)]
Removed remnants of CVS.

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

15 years agoFixed minor typo in NEWS.
Sven Panne [Sun, 5 Apr 2009 10:50:13 +0000 (10:50 +0000)]
Fixed minor typo in NEWS.

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

15 years agoMake the example fully OpenGL-3.1-compliant.
Sven Panne [Mon, 30 Mar 2009 16:14:49 +0000 (16:14 +0000)]
Make the example fully OpenGL-3.1-compliant.

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

15 years agoMake Visual C happy by including stddef.h and explicitly marking some literals as...
Sven Panne [Fri, 27 Mar 2009 16:20:40 +0000 (16:20 +0000)]
Make Visual C happy by including stddef.h and explicitly marking some literals as float.

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

15 years agoSynched ChangeLog with latest changes
Sven Panne [Thu, 26 Mar 2009 16:19:26 +0000 (16:19 +0000)]
Synched ChangeLog with latest changes

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

15 years agoUnbreak the build: C++ style comments are not allowed in ISO C90
Sven Panne [Thu, 26 Mar 2009 16:12:42 +0000 (16:12 +0000)]
Unbreak the build: C++ style comments are not allowed in ISO C90

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

15 years agoFixing "freeglut_input_devices.c" for MSVS2005 and later per e-mail from Diederick...
John F. Fay [Thu, 19 Mar 2009 14:55:14 +0000 (14:55 +0000)]
Fixing "freeglut_input_devices.c" for MSVS2005 and later per e-mail from Diederick Niehorster dated Thu 3/19/2009 6:57 AM

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

15 years agoRemoving some build warnings from deprecated functions for VS2008 per e-mail from...
John F. Fay [Tue, 17 Mar 2009 17:19:05 +0000 (17:19 +0000)]
Removing some build warnings from deprecated functions for VS2008 per e-mail from Diederick Niehorster dated Tue 3/10/2009

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

15 years agoAdding Visual Studio 2008 solution and project files
John F. Fay [Tue, 17 Mar 2009 15:43:25 +0000 (15:43 +0000)]
Adding Visual Studio 2008 solution and project files

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

15 years agoSet the default number of samples per pixel to 4 and actually use the value set
Sven Panne [Mon, 16 Mar 2009 17:53:54 +0000 (17:53 +0000)]
Set the default number of samples per pixel to 4 and actually use the value set
with glutSetOption(GLUT_MULTISAMPLE,...) in Windows code. Previously the Windows
code used a hardwired value of 4 and the GLX code had a default of 0, neither
made much sense. Similarly, set the default number of auxiliary buffers to 1 and
use that value when GLUT_AUX is used. Note: There latter token has the same
value as GLUT_AUX1, and for historical reasons we seem to have 2 APIs to set the
number of auxiliary buffers: Explicitly using GLUT_AUX1 ... GLUT_AUX4, and using
a combination of GLUT_AUX with glutSetOption. The default of 1 ensures
consistent behaviour in both cases.

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

15 years agoAdded GLUT_AUX and GLUT_MULTISAMPLE as possible parameters for
Sven Panne [Mon, 16 Mar 2009 17:30:37 +0000 (17:30 +0000)]
Added GLUT_AUX and GLUT_MULTISAMPLE as possible parameters for
glutGet, making things more symmetric with glutSetOption.

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

15 years agoAdding "GLUT_MULTISAMPLE" to "shapes" demo ... because we can (see e-mail from Dieder...
John F. Fay [Mon, 16 Mar 2009 17:28:25 +0000 (17:28 +0000)]
Adding "GLUT_MULTISAMPLE" to "shapes" demo ... because we can (see e-mail from Diederick C. Niehorster dated Mon 3/9/2009)

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

15 years agoAdded missing API entries.
Sven Panne [Mon, 16 Mar 2009 16:44:36 +0000 (16:44 +0000)]
Added missing API entries.

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

15 years agoAdded NEWS entry for 2.6.0 release. Please review/extend/fix...
Sven Panne [Sun, 15 Mar 2009 18:12:28 +0000 (18:12 +0000)]
Added NEWS entry for 2.6.0 release. Please review/extend/fix...

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

15 years agoRecreated ChangeLog via svn2cl, so we use the standard GNU format now
Sven Panne [Sun, 15 Mar 2009 17:28:14 +0000 (17:28 +0000)]
Recreated ChangeLog via svn2cl, so we use the standard GNU format now

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

15 years agoAdding the "smooth_opengl3" demo
John F. Fay [Tue, 10 Mar 2009 15:25:34 +0000 (15:25 +0000)]
Adding the "smooth_opengl3" demo

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

15 years agoMaking the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility...
John F. Fay [Mon, 9 Mar 2009 14:41:59 +0000 (14:41 +0000)]
Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility with GLEW per suggestion by Diederick C. Niehorster in e-mail dated Mon 3/9/2009 8:06 AM

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

15 years agoSetting the "fractals" demo initial number of levels to 4 per suggestion from Diederi...
John F. Fay [Mon, 9 Mar 2009 14:32:09 +0000 (14:32 +0000)]
Setting the "fractals" demo initial number of levels to 4 per suggestion from Diederick C. Niehorster [diederick@niehorster.eu] in e-mail dated Mon 3/9/2009 5:29 AM

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

15 years agoFixing Microsoft compatibility with the new "vsnprintf" by putting an underscore...
John F. Fay [Sun, 1 Mar 2009 21:23:24 +0000 (21:23 +0000)]
Fixing Microsoft compatibility with the new "vsnprintf" by putting an underscore in front of it if WIN32 is defined but __CYGWIN__ is not

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

15 years agoWe do not depend on GLU anymore
Sven Panne [Sun, 1 Mar 2009 12:40:49 +0000 (12:40 +0000)]
We do not depend on GLU anymore

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

15 years agoAdded notes for building under Cygwin
Sven Panne [Sun, 1 Mar 2009 12:32:03 +0000 (12:32 +0000)]
Added notes for building under Cygwin

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

15 years agoTo build shared libraries on Windows, one has to declare explicitly that there are...
Sven Panne [Sun, 1 Mar 2009 11:38:18 +0000 (11:38 +0000)]
To build shared libraries on Windows, one has to declare explicitly that there are no undefined symbols during linking. No idea why, but this seems to be the only way to enable this on Cygwin via -mno-cygwin. Hopefully this won't cause problems on other platforms (which has to be tested).

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

15 years agoWindows fun again: Use the correct calling convention for OpenGL extension entries.
Sven Panne [Sun, 1 Mar 2009 11:33:15 +0000 (11:33 +0000)]
Windows fun again: Use the correct calling convention for OpenGL extension entries.

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

15 years agoWhen -mno-cygwin is used, we get ancient GL headers, so be a bit more conservative.
Sven Panne [Sat, 28 Feb 2009 18:31:35 +0000 (18:31 +0000)]
When -mno-cygwin is used, we get ancient GL headers, so be a bit more conservative.

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

15 years ago_CrtDumpMemoryLeaks and its header are Microsoft-specific, e.g. Cygwin doesn't provid...
Sven Panne [Sat, 28 Feb 2009 18:02:31 +0000 (18:02 +0000)]
_CrtDumpMemoryLeaks and its header are Microsoft-specific, e.g. Cygwin doesn't provide them.

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

15 years agoDo not try to destroy a GLX context when there is none, e.g. when glXCreateContextAtt...
Sven Panne [Sat, 28 Feb 2009 17:09:15 +0000 (17:09 +0000)]
Do not try to destroy a GLX context when there is none, e.g. when glXCreateContextAttribsARB is not there.

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

15 years agoUse snprintf or _snprintf instead of the potentially dangerous sprintf
Sven Panne [Sat, 28 Feb 2009 13:09:22 +0000 (13:09 +0000)]
Use snprintf or _snprintf instead of the potentially dangerous sprintf
to avoid warnings.

NOTE: Due to excessive use of #ifdefs, the joystick code is on the
border of being unmaintainable! I could only check that it compiles
cleanly on my Linux box. Others should test this on their platforms
(Windows, Mac OS X, *BSD) to make sure that nothing has been broken.

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