Commit Graph

1122 Commits

Author SHA1 Message Date
fayjf
f86a562414 Fixing bug 3048705 -- "fgOpenWindow should only return after the window opens". This is a *nix change and I am building on Windows, so somebody else needs to test this change.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@891 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:56:38 +00:00
fayjf
4a9a84130a Fixing bug report 3104860 -- setting the accumulator bits to one if GLUT_ACCUM is set (Windows code only)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@890 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:47:56 +00:00
fayjf
ad3899e6a1 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: https://svn.code.sf.net/p/freeglut/code/trunk@889 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:43:37 +00:00
fayjf
dc9123210d 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: https://svn.code.sf.net/p/freeglut/code/trunk@888 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:17:12 +00:00
fayjf
b542912840 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: https://svn.code.sf.net/p/freeglut/code/trunk@887 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 22:30:13 +00:00
fayjf
d8c52fb066 Fixing bug 2946386 -- typo in 'configure.ac'
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@886 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 22:19:16 +00:00
fayjf
21c78935f7 Fixing bug 3058389, typo in Open Watcom Makefile.wat. Thank you, Kasper.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@885 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 19:12:30 +00:00
fayjf
707dedd131 Part one of fixing bug 3058987 -- the 'freeglut_patch_visual_info.diff' changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@884 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 18:58:54 +00:00
fayjf
62dc997e85 Adding support to Solaris courtesy of Dagobert Michelsen, bug report 3077828 (thank you, Dagobert).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@883 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 14:29:47 +00:00
fayjf
5bdbf8739d Removing a bunch of Windows line endings -- see bug report 3077828
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@882 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 14:18:25 +00:00
fayjf
51d3ffb2e6 Fixing bug report 3106347, 'Incorrect normals for glutSolidCone' -- thank you Nigel.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@881 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 04:25:33 +00:00
fayjf
28fbb2e489 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: https://svn.code.sf.net/p/freeglut/code/trunk@880 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 03:47:05 +00:00
fayjf
91da82f05a 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: https://svn.code.sf.net/p/freeglut/code/trunk@879 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 02:45:42 +00:00
fayjf
84097816a1 Fixing typo in a comment per e-mail from Arvin Schnell dated 11/19/10 4:55 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@878 7f0cb862-5218-0410-a997-914c9d46530a
2010-11-20 13:40:25 +00:00
fayjf
e5e5aebedf 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: https://svn.code.sf.net/p/freeglut/code/trunk@877 7f0cb862-5218-0410-a997-914c9d46530a
2010-11-01 04:13:54 +00:00
fayjf
c7aaa1bc6b Fixing "fgDestroyWindow" error per e-mail from John Tsiombikas dated Wed, 26 May 2010 13:16:28 +0200
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@876 7f0cb862-5218-0410-a997-914c9d46530a
2010-05-29 02:07:21 +00:00
fayjf
142e76b216 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: https://svn.code.sf.net/p/freeglut/code/trunk@875 7f0cb862-5218-0410-a997-914c9d46530a
2010-02-01 03:02:44 +00:00
fayjf
70d3a84fbb 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: https://svn.code.sf.net/p/freeglut/code/trunk@874 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-30 00:54:59 +00:00
fayjf
600f6d5a8f 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: https://svn.code.sf.net/p/freeglut/code/trunk@873 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-30 00:03:48 +00:00
fayjf
e20faf7c03 Implementing Windows multiple-display patch per e-mail from Eero Paharre dated 1/25/10, 11:54 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@872 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-29 05:05:14 +00:00
fayjf
c907da58a6 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: https://svn.code.sf.net/p/freeglut/code/trunk@871 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-25 03:57:50 +00:00
fayjf
c152b70c81 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: https://svn.code.sf.net/p/freeglut/code/trunk@870 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-11 01:41:38 +00:00
fayjf
cc885020fd Fixing a typo in a comment
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@869 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 16:31:17 +00:00
fayjf
4942803265 Implementing feature request #2840239: Windows special keys added (ctrl, shift and alt)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@868 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 04:44:34 +00:00
fayjf
860aa2a786 Implementing feature request 2824176: detection of X11 special keys: SHIFT, CTRL, ALT
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@867 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 04:07:03 +00:00
fayjf
89054dd9a7 Rearranged some of the configuration-dependent code with an eye to simplifying it.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@866 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-24 04:05:46 +00:00
fayjf
9b9809432d Adding Solaris and OSX to the *nix/X11 cursor support and adding a comment to the spaceball file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@865 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-24 03:06:22 +00:00
fayjf
eff908883c Adding a check for Solaris in the "freeglut_internal.h" code to avoid duplication
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@864 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-21 01:50:35 +00:00
fayjf
726c395f33 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: https://svn.code.sf.net/p/freeglut/code/trunk@863 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 13:47:20 +00:00
fayjf
81d921ae4c Fixing another errant "HAVE_ERRNO_H" preprocessor definition
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@862 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 13:46:20 +00:00
fayjf
e2a89d2678 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: https://svn.code.sf.net/p/freeglut/code/trunk@861 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 05:06:44 +00:00
fayjf
ab90771c87 Replacing a needed function in the cursor code -- the previous SVN commit broke the build.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@860 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-12 13:37:57 +00:00
fayjf
f2e555b6e6 Simplifying the system-dependent conditional code in "freeglut_cursor.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@859 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-05 14:58:24 +00:00
fayjf
439af1ae86 Adding Martin Payne's changes to the web source per e-mail dated 11/30/09, 5:31 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@858 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 13:06:07 +00:00
fayjf
cf68c85c42 Diederick Niehorster's web page changes as listed in an e-mail dated 11/29/09, 8:35 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@857 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 04:12:54 +00:00
fayjf
51c968449c Uploading spaceball/set-window patch per e-mail from John Tsiombikas dated 1:34 PM, 12/2/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@856 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 03:21:12 +00:00
fayjf
e5e1e7df6c 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: https://svn.code.sf.net/p/freeglut/code/trunk@855 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-02 12:08:37 +00:00
fayjf
103563ac3b 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: https://svn.code.sf.net/p/freeglut/code/trunk@854 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-02 03:56:05 +00:00
fayjf
7efa887c37 Updating the web page
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@853 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-30 01:08:32 +00:00
fayjf
ff2ef131b4 Making the "smooth_opengl3" typedefs to be Windows only per a discussion on the developers' list over the last several days.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@851 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-19 12:51:58 +00:00
fayjf
4aeba03641 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: https://svn.code.sf.net/p/freeglut/code/trunk@850 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-18 12:29:05 +00:00
fayjf
ee3f0e0680 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: https://svn.code.sf.net/p/freeglut/code/trunk@849 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-18 01:52:13 +00:00
fayjf
77dda48064 Fixing the "freeglutdll.def" for real per e-mail from Martin Payne dated 12:58 PM, 11/14/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@848 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 19:11:21 +00:00
fayjf
52e7f764cc 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: https://svn.code.sf.net/p/freeglut/code/trunk@847 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 18:43:07 +00:00
fayjf
acb7e60c1f 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: https://svn.code.sf.net/p/freeglut/code/trunk@846 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 04:31:39 +00:00
fayjf
aaaac4abe3 Making the spaceball demo a bit more elegant per e-mail from John Tsiombikas dated 8:45 PM, 11/10/09.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@845 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 03:30:06 +00:00
fayjf
0be6f5a309 Getting the "spaceball" demo to build properly in Windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@844 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 01:21:41 +00:00
fayjf
11adf5e005 Adding the "freeglut_spaceball.c" file to the MSVC6 project files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@843 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 00:59:50 +00:00
fayjf
7eb5301e0e 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: https://svn.code.sf.net/p/freeglut/code/trunk@841 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-09 13:08:37 +00:00
fayjf
c2557f0a19 Adding "freeglut_spaceball" to the "Makefile.wat" file to (I hope) allow it to build using OpenWATCOM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@840 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-08 02:58:49 +00:00