Commit Graph

1090 Commits

Author SHA1 Message Date
fayjf
79007d8cac Fixing "cmake" with the new location of the "freeglut_xinput_x11.c" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1036 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 05:10:51 +00:00
fayjf
a61a8d8cf7 Moving the "\freeglut_xinput.c" file from the Common directory to the x11 directory and adding the "_x11" to the end of the file name
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1035 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 05:01:29 +00:00
fayjf
1543325eeb Adding the X11-specific source files to the Makefile input
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1034 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-04 04:57:44 +00:00
fayjf
af95912407 Moving some header-style joystick code from "freeglut_joystick.c" to "freeglut_internal.h" to allow the code to build on X11
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1033 7f0cb862-5218-0410-a997-914c9d46530a
2012-02-01 01:51:40 +00:00
fayjf
ee0807ed33 Changing the version number since we're making some rather extensive changes to the code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1032 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-31 04:56:12 +00:00
fayjf
412df6db71 Fixing a bug I introduced into the "...ATEXIT" hack
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1031 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-30 03:34:22 +00:00
fayjf
89d7b12018 Moving the platform-specific window state fields into their own substructure
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1030 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 19:17:18 +00:00
fayjf
dbc94b3d56 Moving more Windows-specific header stuff over to the Windows-specific header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1029 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 13:14:08 +00:00
fayjf
d526869dee Moving the Windows-specific includes into the Windows-specific header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1028 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 13:11:30 +00:00
fayjf
fb4798198c Moving the Windows-specific "__glutCreateMenuWIthExit" function to the Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1027 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 13:06:54 +00:00
fayjf
7a945281b1 Moving the Windows-specific joystick definitions into the Windows-specific header file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1026 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 05:26:54 +00:00
fayjf
ce296d938e Moved the platform-specific variables in the Joystick structure into their own platform-specific substructure.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1025 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 05:25:10 +00:00
fayjf
71de22bf85 Removing the Windows-specific "includes" from "freeglut_joystick.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1024 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:46:29 +00:00
fayjf
8ab31e17c0 Splitting the platform-specific joystick "Raw Read" code into its own functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1023 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:45:17 +00:00
fayjf
74bd5d3da6 Splitting the platform-specific "fgSystemTime" code into its own functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1022 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:32:41 +00:00
fayjf
807a310099 Moving non-Windows platform-specific code lower in the file again to avoid declaration problems and splitting out the platform-specific fghJoystickOpen code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1021 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:25:56 +00:00
fayjf
266e1b8bb9 Splitting out the platform-specific code from "fghJoystickInit"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1020 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:01:24 +00:00
fayjf
3f41b865c4 Moving the definition of the "fgJoystick" structure type to the header file so I can use it across source code files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1019 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:51:12 +00:00
fayjf
0f68653742 Moving the platform-specific code (non-Windows) farther up in the freeglut_joystick.c file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1018 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:42:57 +00:00
fayjf
310d40d945 Splitting platform-specific code out of "fgJoystickClose" function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1017 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:38:11 +00:00
fayjf
1c8c92fa89 Moving the Windows-specific "glutInitWithExit" function to a Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1016 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:25:31 +00:00
fayjf
d59e23ba2e Moving the "glutCreateWindowWithExit" and its associated variable to the Windows-specific files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1015 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:22:28 +00:00
fayjf
d918fca3c0 Moving the platform-specific FBConfig and device context variables into platform-specific parts of the code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1014 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:15:41 +00:00
fayjf
9d8d27aa4f Moving the platform-specific window handle and context type definitions into platform-specific code regions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1013 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:04:35 +00:00
fayjf
137cc6d75c Moving the Windows platform-specific "SwapBuffers" calls into a Windows platform-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1012 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:52:21 +00:00
fayjf
ab2e6057aa Moving platform-specific fields in "SFG_Display" into a substructure
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1011 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:45:04 +00:00
fayjf
488cd6ed75 Fixing the previous commit so we don't have a circular include. Under the new regime, the "freeglut_internal_mswin.h(platform).h" file will have only platform-specific definitions in it and will be included at the top of "freeglut_internal.h".
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1010 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:29:16 +00:00
fayjf
ccfdd2eb5f Adding the platform-specific includes to "freeglut_internal.h" in preparation for some more major changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1009 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:22:56 +00:00
fayjf
a7d02bb52d Removing some Windows-specific function prototypes from "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1008 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 04:07:10 +00:00
fayjf
8389adce0b Removing a bunch of "static" declarations from the "fgPlatform" function definitions to remove a raft of Linux errors
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1007 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 03:48:12 +00:00
fayjf
2b2e9a9644 Fixing the Linux directory paths in which the "automake" looks for source code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1006 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 03:30:19 +00:00
fayjf
7c9b1f6d0d Putting in Diederick Niehorster's patch from e-mail dated 1/23/12 at 6:48 AM to fix the "WM_TOUCH" bugs inserted in the recent code changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1005 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 00:09:40 +00:00
fayjf
c8a0264fc4 Fixing a preprocessor typo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1004 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:46:18 +00:00
fayjf
cec64541a5 Splitting the rest of the Windows-specific "freeglut_window.c" functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1003 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:44:18 +00:00
fayjf
4c2d8597d3 Splitting some Windows-specific "freeglut_window.c" functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1002 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:24:34 +00:00
fayjf
00b83f5488 Moving some function prototypes into the source files where they are found and out of the "freeglut_internal.h" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1001 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:06:58 +00:00
fayjf
d36338f9f1 Rationalizing the names of the platform-specific functions so that they begin with "fgPlatform"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1000 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:01:37 +00:00
fayjf
2b9a6f6732 Splitting Windows-specific "freeglut_structure.c" code into its own file (there isn't any)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@999 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:42:31 +00:00
fayjf
7331abf64a Splitting the other "glutGet" Windows-specific code into its own function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@998 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:37:06 +00:00
fayjf
c9e93c29b3 Moving Windows-specific "glutGet" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@997 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:06:48 +00:00
fayjf
80f6707bf4 Splitting a little Windows-specific menu code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@996 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 02:46:16 +00:00
fayjf
b5938bf572 Splitting the rest of the Windows-specific code from "freeglut_main.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@995 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 19:25:56 +00:00
fayjf
d75a397b78 Moving some Windows-specific code out of "freeglut_main.c" into the Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@994 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 06:21:50 +00:00
fayjf
df4390f600 Splitting out more Windows-specific code in "freeglut_init.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@993 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:48:15 +00:00
fayjf
e0b5c3f20a Splitting the Windows-specific input device code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@992 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:42:57 +00:00
fayjf
cc36c34c2a Correcting a header comment
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@991 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:32:31 +00:00
fayjf
301df8e9f4 Moving the command-line parsing into its own function in preparation for splitting out platform-specific code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@990 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:38:09 +00:00
fayjf
b5c63cdad2 Removing more duplicate code ... need to be more careful.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@989 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:21:42 +00:00
fayjf
c449ab244c Removing some duplicate code from "freeglut_init.c" and its Windows version
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@988 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:20:28 +00:00
fayjf
93b2137e8f Moving some Windows-specific "freeglut_init.c" helper functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@987 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:10:00 +00:00
fayjf
2b3c51b0bd Moving some Windows-specific code from "freeglut_gamemode.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@986 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:51:15 +00:00
fayjf
c28372cd99 Moving more Windows-specific code from "freeglut_ext.c" to the windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@985 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:44:03 +00:00
fayjf
a625fdf807 Moving some Windows-specific code from "freeglut_ext.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@984 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:38:05 +00:00
fayjf
0417074499 Making "freeglut_internal_mswin.h" part of the MSVC 6.0 projects
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@983 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:35:57 +00:00
fayjf
f565d17162 Splitting out the Windows-specific cursor code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@982 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:33:47 +00:00
fayjf
95a4d59bc8 Adding the platform-specific files to Visual Studio 2008 and 2010 per e-mail from Diederick Niehorster dated 1/19/12 at 3:00 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@981 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:07:37 +00:00
fayjf
6ac5889df6 Putting the platform-specific files into the "Cmake" input
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@980 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-17 04:36:09 +00:00
fayjf
fddcc52a66 Adding /one more/ blank platform-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@979 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-16 01:31:19 +00:00
fayjf
e8d77f14c5 Adding empty files for platform-specific Windows and Posix/X11 code to be placed in.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@978 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-16 01:27:55 +00:00
fayjf
132f622a2a Moving the source code files from 'src' to 'src/Common' as a first step towards separating out the platform-specific code. This builds in MSVC 6.0 and I tried to catch all the other build systems, but I'm sure I broke *something*.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@976 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 03:49:12 +00:00
fayjf
2331ec9b19 Adding header files to the "freeglut" projects per e-mail from Paul Martz dated 1/9/12 at 1:22 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@975 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 02:05:59 +00:00
fayjf
f4e9f3aa31 Making the building of demo programs optional, but enabled by default per e-mail from Paul Martz dated 1/9/12 at 8:56 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@974 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 02:01:19 +00:00
fayjf
49a72751ed Adding further comments to the removal of the "atexit" call from the Windows build, per e-mail from Diederick Niehorster dated 1/8/12 at 10:06 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@973 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-09 04:35:20 +00:00
fayjf
2adc0ddf75 Fixing the "cmake" inputs to build the "spaceball" demo properly per e-mail from Paul Martz dated 1/8/12 at 12:03 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@972 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-08 19:25:33 +00:00
fayjf
9510d7557c Getting "cmake" to work on MSVC 6.0. Instructions are in e-mail from David Brown dated 1/3/2012 at 11:43 PM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@971 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-08 04:59:13 +00:00
fayjf
d031a5c93f Adding the first step towards "cmake" support. It does not work with MSVC 6.0 yet.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@970 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-08 04:37:34 +00:00
fayjf
78f090f23b Modifying the web pages to give news of the new release
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@969 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-02 13:37:46 +00:00
fayjf
82ba0308b9 Updating the web page for RC 4
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@963 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-22 04:05:50 +00:00
fayjf
d8b86185c7 Fixing the "xrandr" refresh rate per e-mail from John Tsiombikas dated 12/19/11 at 7:14 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@962 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:30:00 +00:00
fayjf
4007f4ba93 Fixing ambiguous parentheses (possibly incorrect?) and a grammatical error in a comment in "freeglut_gamemode.c" per e-mail from John Tsiombikas dated 12/19/11 at 7:14 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@961 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:26:29 +00:00
fayjf
4dbbd19e46 Leave game mode on "deinitialization" if we entered it, per e-mail from John Tsiombikas dated 12/19/11 at 7:07 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@960 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:21:25 +00:00
fayjf
7540c81b88 Fixing the "fgDeinitialize" call properly per e-mail from John Tsiombikas dated 12/19/11 at 7:07 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@959 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-20 03:18:11 +00:00
fayjf
74a3090e96 Updating the web page to show 2.8.0 Release Candidate 3
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@958 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-19 02:35:25 +00:00
fayjf
a705abd462 Removing the "atexit ( fgDeinitialize )" call from the Windows code per e-mail trail culminating in a message from Martin Payne dated 12/17/11 at 4:43 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@956 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-17 13:19:25 +00:00
fayjf
681299bdf1 Making the check for a current window in "glutPostRedisplay" more stringent
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@955 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-17 13:10:59 +00:00
fayjf
ae998b54d5 Fixing a memory leak in the "fgHintPresent" function per e-mail from John Tsiombikas dated 12/13/11 6:22 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@954 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-14 03:40:52 +00:00
fayjf
be2e5e2ff9 Undoing changeset 949 as it breaks the Linux build, per e-mail from John Tsiombikas dated 12/13/11 6:41 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@953 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-14 03:35:07 +00:00
fayjf
33d23d40ab Deleting project directories that were deprecated last January and are now redundant and out of date
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@952 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 05:40:10 +00:00
fayjf
8caccb7d26 Adding four new functions to the DLL export definition so that they will be exported without decoration, per e-mail from Martin Payne dated 12/12/11 at 3:16 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@951 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 04:02:26 +00:00
fayjf
a1f12724d0 Updating copyright and version information in "freeglut.rc" file per suggestion from Martin Payne in e-mail dated 12/12/11, 3:16 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@950 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 03:59:58 +00:00
fayjf
7225768c0b Adding an error message code to the "smooth_opengl3" demo per e-mail from Diederick Niehorster dated 12/9/2011 as 12:22 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@949 7f0cb862-5218-0410-a997-914c9d46530a
2011-12-13 03:48:26 +00:00
fayjf
2f61654254 Putting the message on the web site that we are testing 2.8.0 Release Candidate 2
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@948 7f0cb862-5218-0410-a997-914c9d46530a
2011-11-07 04:22:54 +00:00
fayjf
2533806c55 Updating the 64-bit builds for Visual Studio 2008 and 2010, per e-mail from Diederick Niehorster dated 11/2/11 10:05 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@945 7f0cb862-5218-0410-a997-914c9d46530a
2011-11-06 20:18:26 +00:00
fayjf
46c318c429 Patching to fix "glXCreateContextAttribsARB not found" problem per e-mail from John Tsiombikas dated 11/3/2011 7:02 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@943 7f0cb862-5218-0410-a997-914c9d46530a
2011-11-06 13:54:43 +00:00
fayjf
747517066a FreeBSD patch per e-mail from John Tsiombikas vintage 9/27/11, 10:37 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@942 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:37:26 +00:00
fayjf
9b112ded4d Giving credit where credit is due (I think -- let me know if I've overlooked you)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@941 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:24:32 +00:00
fayjf
9b77f45700 Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to the Lorenz and Spaceball demos
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@940 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:06:39 +00:00
fayjf
cdde1ea3d4 Addressing Ubuntu bug 686315 reported as freeglut bug 3407093 -- rearranging the 'Makefile.am' loader flags
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@939 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-28 01:04:17 +00:00
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
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