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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
John F. Fay [Tue, 3 Feb 2009 21:22:08 +0000 (21:22 +0000)]
Adding some instructions about building on a *nix platform to the 'README' file
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@765
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 3 Feb 2009 21:08:11 +0000 (21:08 +0000)]
Removing some errant tabs, fixing ticket #2137721, and adding special-key capability to recognizing the NumLock, Delete, and keypad '5' keys
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@764
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 3 Feb 2009 14:31:36 +0000 (14:31 +0000)]
A further response to bug [ 1804696 ] Warnings when building on OpenSolaris -- per comment by Nigel Stewart on that bug report
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@763
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Mon, 2 Feb 2009 22:43:50 +0000 (22:43 +0000)]
Fixing bug [ 1804696 ] Warnings when building on OpenSolaris as updated 2/2/09 by Nigel Stewart
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@762
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Thu, 20 Nov 2008 11:59:29 +0000 (11:59 +0000)]
Yet another try to make the font definitions compile on all platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@761
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Mon, 17 Nov 2008 14:50:08 +0000 (14:50 +0000)]
Allowing "freeglut" to compile without errors under *nix. Before this, there were problems with conflicting definitions of the GLUT font definitions.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@760
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Thu, 6 Nov 2008 19:17:13 +0000 (19:17 +0000)]
Ooops, forgot one file in the previous commit (fix for "--without-x").
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@759
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Thu, 6 Nov 2008 19:16:33 +0000 (19:16 +0000)]
Use autoconf to detect gettimeofday instead of broken #ifdef.
Note: freeglut compiles under Cygwin now, even when "--without-x" is used for
configuration.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@758
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Thu, 6 Nov 2008 18:57:44 +0000 (18:57 +0000)]
We need to link against winmm under Cygwin when --without-x is used to get
timeBeginPeriod, timeEndPeriod, joyGetPosEx and joyGetDevCaps.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@757
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Thu, 6 Nov 2008 18:29:35 +0000 (18:29 +0000)]
Fixed first parameter of CreateWindow call, used for multisampling on Windows.
It compiles, but it is otherwise untested.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@756
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Nov 2008 18:46:20 +0000 (18:46 +0000)]
Be conservative about the presence of GL_TABLE_TOO_LARGE.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@755
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Nov 2008 18:45:36 +0000 (18:45 +0000)]
freeglut_internal.h needs some GL types, but it is not self-contained.
TODO: Move freeglut.h #include into freeglut_internal.h itself?
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@754
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Nov 2008 18:24:43 +0000 (18:24 +0000)]
Removed the annoying "Unable to create direct context rendering..." warning,
it served no real purpose, and on some platforms there simply is no such
thing as a direct context.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@753
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Nov 2008 18:16:17 +0000 (18:16 +0000)]
Ignore *.exe
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@752
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Nov 2008 18:11:40 +0000 (18:11 +0000)]
Handle new glutInitContext* API entries in glutGetProcAddress
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@751
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Nov 2008 18:05:36 +0000 (18:05 +0000)]
Make freeglut compile under Cygwin, which has an ancient GLX header
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@750
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 21:30:53 +0000 (21:30 +0000)]
Added OpenGL 3.0 context creation API entries
glutInitContextVersion,
glutInitContextFlags
and their related constants
GLUT_INIT_MAJOR_VERSION
GLUT_INIT_MINOR_VERSION
GLUT_INIT_FLAGS
GLUT_DEBUG
GLUT_FORWARD_COMPATIBLE
Note that this works with GLX only currently, the glutInitContext* API entries
have no effect for WGL yet.
TODO: Centralize the context creation code for WGL (the harder part) and use the
new wglCreateContextAttribsARB API entry (the easy part, re-use most of the GLX
code).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@749
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 20:09:02 +0000 (20:09 +0000)]
Refactored GLX context creation into a single function, centralizing things to
be changed for OpenGL 3.0 context creation and removing some cut-n-paste.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@748
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 19:38:05 +0000 (19:38 +0000)]
Make a wgl/glXGetProcAddress abstraction available internally. We will need this
to get the new context creation function.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@747
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 19:26:36 +0000 (19:26 +0000)]
Do not depend on GLU, it will vanish in the future, at least in its current
form.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@746
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 18:42:49 +0000 (18:42 +0000)]
Removed superfluous #includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@745
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 18:27:21 +0000 (18:27 +0000)]
Fix for bug #1709675 ("probably not be so ISO-conformant"): The C compiler flag
-Werror is not used by default anymore, a separate configure flag
--enable-warnings-as-errors has been introduced for this purpose, which is off
by default.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@744
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 2 Nov 2008 18:14:02 +0000 (18:14 +0000)]
Added AM_PROG_CC_C_O to configure.ac, removing a warning during autogen.sh. This
flag seems to be necessary for per-target flags (used in demo programs)
nowadays.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@743
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Mon, 21 Jul 2008 15:00:51 +0000 (15:00 +0000)]
Implementing a patch from Jocelyn Frechot (thank you, Jocelyn) that "should enable the XInput extension management with the autotools." See e-mail of Sun 7/20/2008 12:01 PM.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@742
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 10 Jul 2008 15:17:10 +0000 (15:17 +0000)]
Adding "glutExit" to the functions in "fghGetProcAddress" in accordance with an e-mail from Jocelyn Frechot dated Tue 7/8/2008 12:26 PM
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@741
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sat, 5 Apr 2008 21:53:51 +0000 (21:53 +0000)]
Adding "SC_MONITORPOWER" and other new options to the "wParam" option list (e-mail from Ron Larkin, 3/17/08, 11:00 AM)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@740
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sun, 2 Dec 2007 03:50:29 +0000 (03:50 +0000)]
Adding "glutFullScreenToggle" for X11 -- still needs implementation in Windows (e-mail by Jocelyn Frechot, Sun 11/25/2007 11:29 AM)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@738
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sat, 1 Dec 2007 23:34:55 +0000 (23:34 +0000)]
Fixing the window position for asynchronous X11 implementations (e-mail by Jocelyn Frechot, Sun 11/25/2007 11:29 AM)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@737
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Mon, 26 Nov 2007 08:09:45 +0000 (08:09 +0000)]
Making a demo program that uses "glutMainLoopEvent"
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@736
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Mon, 12 Nov 2007 04:06:19 +0000 (04:06 +0000)]
Implementing Jocelyn Frechot's changes -- see e-mail of Thursday, 11/8/2007 9:12 AM.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@735
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 2 Oct 2007 02:46:04 +0000 (02:46 +0000)]
Removing more Win64 build warnings from joystick code
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@733
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sun, 30 Sep 2007 12:07:26 +0000 (12:07 +0000)]
Removing the final compiler warning when building on Win75 -- thank you, Antonio Mattos.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@731
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sat, 29 Sep 2007 13:06:38 +0000 (13:06 +0000)]
Removing the remaining compiler warnings from the cursor code, thanks to Antonio Mattos of Brazil. The double type-casting is needed because of a bug in the new MSVC; there is a discussion on the web on this subject.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@730
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 25 Sep 2007 23:09:29 +0000 (23:09 +0000)]
Changing the cursor definition macro for newer versions of MSVC -- thanks to "Mattos" of Brazil
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@729
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 25 Sep 2007 03:54:56 +0000 (03:54 +0000)]
More changes for Jocelyn Frechot's multisampling changes. The library builds now. It still needs some testing with sample cases under X11.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@728
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sun, 23 Sep 2007 14:29:06 +0000 (14:29 +0000)]
Fixing a remaining bug in the multisampling change ... there may be more ...
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@727
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sat, 22 Sep 2007 02:55:37 +0000 (02:55 +0000)]
Putting in Jocelyn Frechot's X11 visual context changes. THIS WILL BREAK THE BUILD as I am unable to test it on a Linux machine here. Somebody please test it for me.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@726
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Fri, 21 Sep 2007 04:32:59 +0000 (04:32 +0000)]
Removing compiler warnings in MSVC 2005 build
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@725
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Fri, 21 Sep 2007 04:00:14 +0000 (04:00 +0000)]
Implementing Larry Ramey's "glutExit" feature (see e-mails from him on 11/9/05, 6/28/06)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@724
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Wed, 19 Sep 2007 04:42:25 +0000 (04:42 +0000)]
Implementing first part of Windows version of "GLUT_CAPTIONLESS" and "GLUT_BORDERLESS" per feature request "[ 1197016 ] need GLUT_CAPTIONLESS window option". Needs more work; menus are slightly mispositioned, X11 version does not support it, banner appears at beginning but disappears on window resize. But this is a start.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@723
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Wed, 19 Sep 2007 04:15:14 +0000 (04:15 +0000)]
Fixing Linux key-repeat mode bug reported in "[ 1796845 ] Keyboard events are lost when key repeat is enabled."
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@722
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Wed, 19 Sep 2007 04:10:46 +0000 (04:10 +0000)]
Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick.c error"
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@721
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 18 Sep 2007 03:50:24 +0000 (03:50 +0000)]
Implementing feature request "[ 947118 ] Popup menu is hidden under the TOPMOST window"
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@720
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 18 Sep 2007 03:22:11 +0000 (03:22 +0000)]
Adding Takeshi Nishimura's Feature Request "[ 1045202 ] Cope with a menu with many items" -- sorry it took so long.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@719
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 18 Sep 2007 02:32:53 +0000 (02:32 +0000)]
Addressing Feature Request #1307049 that "freeglut" should return 0 if "glutGetWindow" is called without a prior call to "glutInit", rather than terminating on error.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@718
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 18 Sep 2007 02:26:39 +0000 (02:26 +0000)]
Added Windows "nmake" Makefiles and dependency files for the two "freeglut" projects in accordance with Feature Request #1454543
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@717
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sun, 16 Sep 2007 04:16:49 +0000 (04:16 +0000)]
Fixing bug #1688954, submitted in Marcy '07. I changed "FREEGLUT" to _T("FREEGLUT") and nothing changed on my Windows XP system. If this will allow it to work on Vista, then in it goes.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@716
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Sun, 16 Sep 2007 03:57:04 +0000 (03:57 +0000)]
Fixing bug report #1052151 from October 2004.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@715
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Tue, 28 Nov 2006 19:01:13 +0000 (19:01 +0000)]
Adding a Frequently Asked Questions file
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@714
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Thu, 28 Sep 2006 15:21:33 +0000 (15:21 +0000)]
Removed incorrect comment about internal WGL/ARB definitions.
I actually had put those comments in because I had meant to go back and
re-check the WGL extension. But, maybe locally defined extensions
should be kept in a separate include file?
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@713
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Wed, 27 Sep 2006 03:00:42 +0000 (03:00 +0000)]
Undo svn:eol-style=CR/LF for MSVC project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@712
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Tue, 26 Sep 2006 03:18:18 +0000 (03:18 +0000)]
Added FREEGLUT_LIB_PRAGMAS to control MS library pragmas, and fixed NOMINMAX define.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@711
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Tue, 26 Sep 2006 03:04:37 +0000 (03:04 +0000)]
Added svn:eol-style=CRLF property to MSVC project/workspace files.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@710
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Mon, 25 Sep 2006 14:27:10 +0000 (14:27 +0000)]
Fixing a typo bug in the display mode checking (removing multisampling if it is not supported)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@709
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Mon, 25 Sep 2006 02:41:15 +0000 (02:41 +0000)]
Fixed a small mistake in the previous commit for glutGet.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@708
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Mon, 25 Sep 2006 02:39:33 +0000 (02:39 +0000)]
Added proper support for number of mouse buttons in X11, and
a keyboard in Windows CE. Also, several glutGet results returning
TRUE/FALSE were changed to 1/0, because the actual return type
is int (although they are technically the same in practice).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@707
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Sun, 24 Sep 2006 21:28:38 +0000 (21:28 +0000)]
Converted Time counter to a uniform unsigned long it value.
The initialized flag was redundant with the main Initialized flag,
and conversion of timeval to milliseconds in POSIX makes the code
cleaner. Timeval has a longer range, but the time value is already
limited by the GLUT API.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@706
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Sat, 23 Sep 2006 03:49:13 +0000 (03:49 +0000)]
Removed WindowState.IsGameMode; it is redundant with Structure.GameModeWindow
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@705
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 22:39:12 +0000 (22:39 +0000)]
Adding support for the multisampling query per bug report 1274193
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@704
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 22:06:57 +0000 (22:06 +0000)]
Fixing Bug #1398196 - Windows message argument
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@703
7f0cb862-5218-0410-a997-
914c9d46530a
Joe Krahn [Thu, 21 Sep 2006 19:20:17 +0000 (19:20 +0000)]
test (comment edited)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@702
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 19:02:14 +0000 (19:02 +0000)]
Adding temporary fix to "glutInitDisplayString" to ignore numerical assignments
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@701
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 18:59:37 +0000 (18:59 +0000)]
Adding multisampling to *nix and Windows; also some other pixel format enhancements to Windows
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@700
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 18:44:55 +0000 (18:44 +0000)]
Enhancing the "CallbackMaker" demo
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@699
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 18:39:09 +0000 (18:39 +0000)]
Joe Krahn's changes to "TARGET_HOST" defined constants
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@698
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 17:33:56 +0000 (17:33 +0000)]
Fixing two minor bugs, adding comments
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@697
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 21 Sep 2006 17:13:37 +0000 (17:13 +0000)]
Changing "GameMode" to "GameModeWindow ... and testing whether I can get to SVN directly
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@696
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 5 Aug 2006 16:31:20 +0000 (16:31 +0000)]
Check fgets for return value to avoid warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@695
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 5 Aug 2006 16:29:28 +0000 (16:29 +0000)]
Fixed typo in date
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@694
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 5 Aug 2006 15:52:45 +0000 (15:52 +0000)]
Updated build requirements for SuSE 10.1
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@693
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 12 Oct 2005 14:22:04 +0000 (14:22 +0000)]
Ooops, forgot to ingore INSTALL and install-sh in previous commit...
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@692
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 12 Oct 2005 14:20:36 +0000 (14:20 +0000)]
Moved GLUT_INIT_STATE to <GL/freeglut_ext.h>, it is not part of the
original GLUT.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@691
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 12 Oct 2005 13:04:46 +0000 (13:04 +0000)]
Simply use autoreconf in autogen.sh, it is much simpler and the recommended
way in the autotools documentation. Removed INSTALL, install-sh and
mkinstalldirs, they are either unused or automatically generated by
autogen.sh.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@690
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 6 Oct 2005 14:01:56 +0000 (14:01 +0000)]
Allowing compilation of Windows version by removing DLL decorations from deprecated joystick interface extensions
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@689
7f0cb862-5218-0410-a997-
914c9d46530a
John F. Fay [Thu, 6 Oct 2005 13:53:42 +0000 (13:53 +0000)]
Implementing Stereo in Windows
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@688
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 7 Sep 2005 11:53:13 +0000 (11:53 +0000)]
Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@687
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 7 Sep 2005 11:47:20 +0000 (11:47 +0000)]
Use -Wall for automake to catch some buglets, deprecated stuff, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@686
7f0cb862-5218-0410-a997-
914c9d46530a