freeglut
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

15 years agoUse vsnprintf instead of the potentially dangerous sprintf to avoid
Sven Panne [Sat, 28 Feb 2009 12:56:20 +0000 (12:56 +0000)]
Use vsnprintf instead of the potentially dangerous sprintf to avoid
warnings. Using snprintf directly would be a little bit more tricky,
because once again Microsoft decided to avoid followind standards and
provide _snprintf instead. We could use this, too, but this would
require an additional autoconf check, which I'd like to avoid, if
possible.

Note: If VS *still* issues warnings, but this time about vsnprintf,
somebody should add some pragmas or whatever is needed to shut up that
warning, it would be silly.

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

15 years agoPosition the distance message closer to the middle of the window, it
Sven Panne [Sat, 28 Feb 2009 12:41:17 +0000 (12:41 +0000)]
Position the distance message closer to the middle of the window, it
has been far, far off to the upper right.

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

15 years agoSynched version number with configure.ac. We should better remove this
Sven Panne [Sat, 28 Feb 2009 12:16:03 +0000 (12:16 +0000)]
Synched version number with configure.ac. We should better remove this
redundancy and calculate this from configure.ac directly.

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

15 years agoFixing the DOS/Linux line ending problems in the progs/demos/smooth_opengl3 project...
John F. Fay [Thu, 19 Feb 2009 16:53:18 +0000 (16:53 +0000)]
Fixing the DOS/Linux line ending problems in the progs/demos/smooth_opengl3 project files

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

15 years agoFixing a build error caused by a variable declaration being out of place
John F. Fay [Wed, 18 Feb 2009 18:30:12 +0000 (18:30 +0000)]
Fixing a build error caused by a variable declaration being out of place

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

15 years agoFinal changes to make the example fully OpenGL-3.0-compliant:
Sven Panne [Sun, 15 Feb 2009 21:12:25 +0000 (21:12 +0000)]
Final changes to make the example fully OpenGL-3.0-compliant:

 * Use vertex attribute arrays.

 * Use our own projection matrix.

 * Do not use deprecated vertex/fragment shader variables.

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

15 years agoUse GLSL shaders (still 1.20, though). Dump GL info.
Sven Panne [Sun, 15 Feb 2009 17:53:48 +0000 (17:53 +0000)]
Use GLSL shaders (still 1.20, though). Dump GL info.

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

15 years agoAdded a commandline option for 'classic' contexts. Aesthetic changes.
Sven Panne [Sun, 15 Feb 2009 14:00:45 +0000 (14:00 +0000)]
Added a commandline option for 'classic' contexts. Aesthetic changes.

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

15 years agoUse VBOs in new example. Added a few comments.
Sven Panne [Sun, 15 Feb 2009 00:22:55 +0000 (00:22 +0000)]
Use VBOs in new example. Added a few comments.

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

15 years agoInitial version of a fully OpenGL-3.0-compliant of the famous smooth.c from the
Sven Panne [Sat, 14 Feb 2009 20:38:53 +0000 (20:38 +0000)]
Initial version of a fully OpenGL-3.0-compliant of the famous smooth.c from the
Red Book. What has been done already:

   * Explicitly request a forward-compatible 3.0 context

   * Report GL errors, if any, at a few crucial places

   * Replaced gluOrtho2D with a home-grown matrix + glLoadMatrixf

What remains to be done:

   * Use vertex shaders and fragment shaders

   * Use vertex buffer objects

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

15 years agoMention autogen.sh
Sven Panne [Fri, 13 Feb 2009 18:32:26 +0000 (18:32 +0000)]
Mention autogen.sh

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

15 years agoSynchronized WGL behavior with GLX implementation: Do not call the new context creati...
Sven Panne [Fri, 13 Feb 2009 18:28:58 +0000 (18:28 +0000)]
Synchronized WGL behavior with GLX implementation: Do not call the new context creation API when it is not required. Fixing a bug in a previous commit on the way... :-}

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

15 years agoMore refactorings: Removed useless return value. Simplified control structures even...
Sven Panne [Fri, 13 Feb 2009 18:24:46 +0000 (18:24 +0000)]
More refactorings: Removed useless return value. Simplified control structures even more.

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

15 years agoRefactoring only (replace nested conditionals with guard clauses), making the normal...
Sven Panne [Fri, 13 Feb 2009 18:16:41 +0000 (18:16 +0000)]
Refactoring only (replace nested conditionals with guard clauses), making the normal path of execution much clearer.

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

15 years agoWe have added some API entries, so we have to update library version information...
Sven Panne [Fri, 13 Feb 2009 18:05:37 +0000 (18:05 +0000)]
We have added some API entries, so we have to update library version information conforming to gnu.org/software/libtool/manual/html_node/Updating-version-info.html

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

15 years agoAvoid CR\LF vs. LF troubles when using TortoiseSVN plus Cygwin.
Sven Panne [Fri, 13 Feb 2009 17:45:46 +0000 (17:45 +0000)]
Avoid CR\LF vs. LF troubles when using TortoiseSVN plus Cygwin.

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

15 years agoIgnore config.lt, too. It seems to be generated by recent autotools.
Sven Panne [Fri, 13 Feb 2009 17:44:22 +0000 (17:44 +0000)]
Ignore config.lt, too. It seems to be generated by recent autotools.

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

15 years agoAdding OpenGL 3.0 context detection for Windows per e-mail from Paul Martz dated...
John F. Fay [Fri, 13 Feb 2009 03:22:17 +0000 (03:22 +0000)]
Adding OpenGL 3.0 context detection for Windows per e-mail from Paul Martz dated Thu 2/12/2009 9:03 AM (more or less)

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