Commit Graph

1769 Commits

Author SHA1 Message Date
fayjf
32eeed5042 Fixing build warnings on OpenSUSE (and probably other Linux distros) by enclosing some function prototypes within an "ifdef" checking for Windows per e-mail from Johannes Obermayr dated 8/8/2011 at 1:05 PM (thank you, Johannes)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@938 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-10 12:53:06 +00:00
fayjf
b9d2d7a189 Addressing bug report 3368139 about warnings under OpenSUSE. I added two explicit casts and an initialization.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@937 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 17:26:30 +00:00
fayjf
1cbc89e7f0 Putting in Diederick Niehorster's documentation updates per e-mail dated 9/5/2011 at 1:26 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@936 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 13:07:43 +00:00
fayjf
65b30abf59 Fixing the "XRANDR" version testing in "freeglut_gamemode.c", addressing bug 3383843. Thanks to Diederick Niehorster for pointing it out.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@935 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 12:56:50 +00:00
fayjf
aacc1b36a2 Whoops, I missed one.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@934 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 04:59:32 +00:00
fayjf
267487614e Cleaning up the MS VS2008 and VS2010 project files--removing some specifications that are already default and removing debug info generation from the release versions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@933 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 04:48:42 +00:00
fayjf
57039867b7 Final patch on full screen fix per e-mail from Diederick Niehorster dated 10/4/11 at 10:19 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@932 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-05 03:35:35 +00:00
fayjf
440b6ad83b Adding the "patch_demo" patch per e-mail from Diederick Niehorster vintage 6/9/11 at 11:57 PM. Please check that I got them right; they are quite confusing.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@931 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 20:30:48 +00:00
fayjf
8c65b376ac Fixing the build after Diederick Niehorster's full screen fixes: they are only valid for WINVER >= 0x0500.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@930 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 19:58:20 +00:00
fayjf
cf91891cf8 Putting in Diederick Niehorster's fullstreen patch per e-mail from him dated 6/9/2011, updated 9/4/2011 with modified patch.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@929 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 19:38:32 +00:00
fayjf
42235dfaa1 Fixing freeglut's desire to initialize the spaceball every time a window is checked. Now it tries once the first time a spaceball function is called and after that if it fails it doesn't try any more. This is per an e-mail from Diederick Niehorster vintage 6/8/11 at 3:17 AM, referring to feature request 3190319.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@928 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 03:49:11 +00:00
fayjf
36bdaa9a43 Fixing bug 3292122 from Nigel Stewart (thanks, Nigel) so that "freeglut" will build on Ubuntu, per e-mail from Diederick Niehorster vintage 6/8/2011 at 3:07 AM. There was a problem with variables being declared only with an X extension but being used for all of X.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@927 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 03:35:29 +00:00
fayjf
679e603ffc Fixing a null argument to 'strdup' per e-mail from Eero Pajarre dated 6/8/2011 4:15 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@926 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:53:12 +00:00
fayjf
f979d866ea Adding a multitouch patch from Eero Pajarre per e-mail dated 6/8/2011 1:14 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@925 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:50:27 +00:00
fayjf
248df90aef Patch for new Visual Studios to fix typos and quiet warnings per e-mail from Diederick C. Niehorster dated 6/5/2011 at 9:23 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@924 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:47:11 +00:00
fayjf
ef4424524a Updating the MSVC 2010 project file for the "subwin" demo, courtesy of an e-mail from Diederick Niehorster dated 6/5/2011 at 9:32 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@923 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:36:14 +00:00
fayjf
f106c8b1e8 Fixing a 'gamemode at_exit' bug courtesy of Diederick Niehorster per e-mail dated 6/1/11 1:50 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@922 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-01 11:44:00 +00:00
fayjf
3a5a72436b Adding support for partial mouse wheel turns as requested by Jason Wilkins in an e-mail dated 5/27/11 10:34 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@921 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:37:31 +00:00
fayjf
25edeabab4 Adding "MouseWheelTicks" to the "fgState" structure as a first step towards supporting fractional mouse wheel ticks
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@920 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:27:04 +00:00
fayjf
409b0c9f78 Fixing multitouch for Windows per e-mail from Florian Echtler dated 5/3/11 10:33 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@919 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:17:34 +00:00
fayjf
7b62a4fb84 Fixing 'glutGet' processing for 'GLUT_BORDERLESS' on Windows per e-mail from Eero Pajarre dated 4/24/2011 10:17 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@918 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:12:02 +00:00
fayjf
849856388a Fixing 'GLUT_BORDERLESS' on Windows per e-mail from Eero Pajarre dated 4/24/2011 9:19 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@917 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:10:13 +00:00
fayjf
5fac63e885 Updating the VS 2010 solution file per e-mail from Diederick Niehorster dated 5/27/11 at 3:59 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@916 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:03:10 +00:00
fayjf
d6a686cad3 Adding the "subwin" demo to the MSVC 6.0 workspace, in both static and dynamic configurations
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@915 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-26 18:10:27 +00:00
fayjf
81fdcb4328 Fixing the build on *nix per e-mail from John Tsiombikas dated 3/22/11 at 2:26 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@914 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-25 02:50:57 +00:00
fayjf
67fa04607e Fixing problems in VS2010 solution and project files per e-mail from Diederick Niehorster dated 3/22/11 11:30 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@913 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 12:40:54 +00:00
fayjf
484626fccb Adding the "subwin" demo program to the Visual Studio 2010 build tree per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM. I had to hand-jam it with Notepad so please check it for errors.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@912 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 04:06:04 +00:00
fayjf
1d25372912 Adding the "subwin" demo program to the Visual Studio 2008 build tree per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@911 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 03:55:21 +00:00
fayjf
e627bb8e41 Making some constants in the 'subwin' demo floating-point to silence compiler warnings per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@910 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 03:38:25 +00:00
fayjf
f32f2d2b6c Adding 'invisible messages' patch per e-mail from John Tsiombikas dated 3/18/11 1:24 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@909 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:53:09 +00:00
fayjf
6c4b6141d7 More game mode patches from John Tsiombikas, from an e-mail vintage 3/18/11 1:24 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@908 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:51:00 +00:00
fayjf
d77fcbd6ee Adding 'freeglut_xinput.c' to fix the SVN head per e-mail from Floiran Echtler around March 19, 2011
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@907 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:44:31 +00:00
fayjf
eb247de77f Adding the 'subwinfix.patch' patch to set the focus in the Windows code. Includes a demo program. See e-mail from Evan Felix dated 3/17/11 4:22 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@906 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-18 03:21:56 +00:00
fayjf
c6a776f086 Adding multitouch capability per e-mail from Florian Echtler dated 3/17/11 12:07 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@905 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-18 02:59:22 +00:00
fayjf
4a2f0ca602 Adding more examples to 'one.c' to test the game mode string per e-mail from Diedrick Niehorster dated 3/16/11 11:06 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@904 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 04:22:55 +00:00
fayjf
b5bed65086 Adding a warning to an unsuccessful game mode entry per e-mail from Diedrick Niehorster dated 3/16/11 11:06 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@903 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 04:21:38 +00:00
fayjf
59cf65ed21 Implementing the 'gamemode-testing_windows.patch' per e-mail from Diederick Niehorster dated 3/16/11 1:06 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@902 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:55:51 +00:00
fayjf
fb0382908b Fixing the unspecified game mode parameter problem per e-mail from Diederick Niehorster dated 3/16/11 1:06 AM -- putting in both 'gamemode-unspecified' patch files at once
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@901 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:53:40 +00:00
fayjf
f11acde225 Applying the "readme-win32.patch" patch from Diederick Niehorster in e-mail dated 3/16/11 at 1:06 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@900 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:49:29 +00:00
fayjf
524888cc10 Applying the "vs2010_project_files.patch" patch from Diederick Niehorster in e-mail dated 3/16/11 at 1:06 AM. It will need checking that I have done it right as I needed to use the text editor to put them in.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@899 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:46:09 +00:00
fayjf
ca1a3d45cc Implementing John Tsiombikas' missing error demo patch per e-mail dated 3/15/11 8:04 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@898 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-16 03:24:21 +00:00
fayjf
bad5d84e8b Implementing John Tsiombikas' game mode patch per e-mail dated 3/15/11 8:04 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@897 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-16 03:22:49 +00:00
fayjf
b6e66727a9 Fixing a bug which set the "ErrorFunc" field in the call to "glutInitWarningFunc"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@896 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-14 03:26:15 +00:00
fayjf
7e3e81f7f8 Reducing the initial menu window size from 100x100 pixels to 1x1 pixel so that it doesn't "flash" on the screen as the menu is being created. Reference to e-mail by Jason Wilkins dated 2/22/2011 11:43 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@895 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-14 02:59:17 +00:00
fayjf
3364c70ee6 Fixing a bug in the game mode refresh rate specification, in the case in which an exact match is not found in the available display modes. Reference to e-mail from Diederick C. Niehorster dated 1/26/2011, 11:59 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@894 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:19:00 +00:00
fayjf
45305abdcb Fixing game mode in X11 so that it doesn't override unspecified settings per e-mail from John F. Fay dated March 13, 2011 around 4:09 PM. I think this addresses bug report 3112718.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@893 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:11:18 +00:00
fayjf
4f556f9516 Fixing game mode in Windows so that it doesn't override unspecified settings per e-mail from Diederick C. Niehorster, 1/25/2011, 11:09 PM. I think this addresses bug report 3112718.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@892 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:00:37 +00:00
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