Commit Graph

951 Commits

Author SHA1 Message Date
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
fayjf
e84e92b56d Converting tab characters to spaces in the source code ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@839 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-08 02:00:17 +00:00
fayjf
e9ad401d84 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: https://svn.code.sf.net/p/freeglut/code/trunk@838 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-07 02:16:38 +00:00
fayjf
803c4f86a2 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: https://svn.code.sf.net/p/freeglut/code/trunk@837 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-06 13:26:16 +00:00
fayjf
755316c21d Implementing "glutEntryFunc" for Windows properly. I also moved the menu highlight code so that needs checking.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@836 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-05 13:45:52 +00:00
fayjf
23c2780aab 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: https://svn.code.sf.net/p/freeglut/code/trunk@835 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-04 00:38:55 +00:00
fayjf
0027c2521f Protecting "errno" in case it is not defined per e-mail from Vincent R dated 5:37 AM, October 3, 2009.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@834 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-03 13:45:32 +00:00
fayjf
2bebcfa23f 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: https://svn.code.sf.net/p/freeglut/code/trunk@833 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-02 13:42:23 +00:00
spanne
baf772ecb7 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: https://svn.code.sf.net/p/freeglut/code/trunk@832 7f0cb862-5218-0410-a997-914c9d46530a
2009-08-10 18:39:58 +00:00
spanne
5c6071fa45 Unbreak the build for non-Windows platforms, fixing obviously untested
recent commits.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@831 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-23 19:07:34 +00:00
fayjf
f0d06b2fe6 Making the #ifdef's around "__glutExitFunc" consistent so Cygwin will build
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@830 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-12 14:29:16 +00:00
fayjf
ecd59d13e2 Adding the Cygwin/mingw documentation from Jean-Seb (see e-mail dated Thu 7/9/2009 5:51 PM)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@829 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-12 14:07:19 +00:00
fayjf
d59ab1c02e Making the "AT_EXIT" hack look a bit less like a copy-and-paste
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@828 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-10 16:18:06 +00:00
fayjf
d011e8dc74 Changing the OpenWatCom support per e-mail from Paul Blew dated Thu 6/11/2009 3:35 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@827 7f0cb862-5218-0410-a997-914c9d46530a
2009-06-22 18:54:41 +00:00
spanne
22ea7171fe Disable the ATEXIT_HACK for Watcom, their "exit" function has a different
calling convention, leading to compilation errors.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@826 7f0cb862-5218-0410-a997-914c9d46530a
2009-06-11 08:25:25 +00:00
fayjf
a5f5c71bac Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@825 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-31 13:00:44 +00:00
spanne
3ba47f5708 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: https://svn.code.sf.net/p/freeglut/code/trunk@824 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-24 12:31:43 +00:00
spanne
ad2f613a10 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: https://svn.code.sf.net/p/freeglut/code/trunk@823 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:50:37 +00:00
spanne
6abe740e61 Ignore more files generated by Visual C++ 2008
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@822 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:42:05 +00:00
spanne
9ca59bae38 Normalized VC 2008 project, making the configurations more general.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@821 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:20:07 +00:00
spanne
8e840f9c61 Added missing guard to deactivate ATEXIT_HACK on non-Windows platforms
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@820 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 16:51:26 +00:00
spanne
2bf156719b Avoid warnings when the ATEXIT_HACK is used with GCC, making the hack even uglier.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@819 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 15:50:24 +00:00