Brian Paul [Wed, 16 Feb 2005 00:52:23 +0000 (00:52 +0000)]
fixes for menus being attached to multiple buttons/windows (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@570
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Wed, 16 Feb 2005 00:49:28 +0000 (00:49 +0000)]
added error check (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@569
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Tue, 15 Feb 2005 14:49:39 +0000 (14:49 +0000)]
AUX buffers for Windows (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@568
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Fri, 11 Feb 2005 15:22:09 +0000 (15:22 +0000)]
Aux color buffer support. Pass one of GLUT_AUX[1234] to glutInitDisplayMode.
Only implemented/tested on GLX, not Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@567
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Fri, 11 Feb 2005 15:18:04 +0000 (15:18 +0000)]
Fix object/function pointer inconsistencies which are a problem for gcc 3.4.2.
Added GLUTproc type, returned by glutGetProcAddress().
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@566
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 23 Jan 2005 18:08:20 +0000 (18:08 +0000)]
autoconf 2.58 is enough
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@565
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 23 Jan 2005 17:52:16 +0000 (17:52 +0000)]
Stylistic change only (added "do { ... } while( 0 )" around multi-statement macros)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@564
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 23 Jan 2005 17:44:58 +0000 (17:44 +0000)]
Testing for errno.h is overkill. :-)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@563
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sun, 23 Jan 2005 17:38:33 +0000 (17:38 +0000)]
Windows platforms only: Merged some cursor-related code from John Fay
(with minor changes)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@562
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Jan 2005 14:28:22 +0000 (14:28 +0000)]
Hopefully removed all damage done by commits without merge
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@561
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Wed, 5 Jan 2005 13:11:30 +0000 (13:11 +0000)]
Reworked the X11 part of glutSetCursor, fixing bug #764187 (Variable mouse
pointers don't work) on the way:
* Use slightly more compatible cursor shapes for GLUT_CURSOR_RIGHT_ARROW
and GLUT_CURSOR_LEFT_ARROW.
* Refactored and fixed the erroneous code for GLUT_CURSOR_NONE.
* Removed the incorrect use of XFreeCursor and use a cache of cursors
instead. Cursors are never freed now, we could do this e.g. via
reference countig if this is really needed.
* Fixed error handling.
* Unknown cursor types are an error now.
* Now the window state always corresponds to the wanted cursorID, even in
the case of GLUT_CURSOR_FULL_CROSSHAIR.
NOTE: I am not sure where the cursor cache should really reside, currently it
is simply a file-local variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@560
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 17:11:33 +0000 (17:11 +0000)]
Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen), i.e. issue warnings when XF86VidModeFOO fails.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@559
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 16:49:37 +0000 (16:49 +0000)]
(234) Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen): Now we first try to get an exact mode match, ignoring the
refresh rate if none could be found. This way the X11 part and the WinDoze
behave similarly. NOTE: We still don't behave like GLUT, because it has a
wider notion of "best" match. We have to refactor and extend freeglut quite
a bit to do that.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@558
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 14:14:56 +0000 (14:14 +0000)]
Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen), i.e. memory leak caused by not freeing the mode lines
returned by XF86VidModeGetAllModeLines
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@557
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 12:42:09 +0000 (12:42 +0000)]
Improved error message a bit when no suitable visual could be found
(X11 only).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@556
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 12:02:42 +0000 (12:02 +0000)]
autoconf'd vfprintf
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@555
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 12:00:21 +0000 (12:00 +0000)]
Removed redundant #include
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@554
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 11:35:18 +0000 (11:35 +0000)]
autoconf'd <errno.h> handling and removed an unused '#include <sys/stat.h>'
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@553
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 11:22:59 +0000 (11:22 +0000)]
autoconf'd <limits.h> and <sys/param.h> handling, removing MIN/MAX
macros on the way.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@552
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 10:58:18 +0000 (10:58 +0000)]
Cosmetics.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@551
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 10:57:58 +0000 (10:57 +0000)]
autoconf'd <fcntl.h> and <sys/ioctl.h> handling
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@550
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 10:35:36 +0000 (10:35 +0000)]
Improved <sys/typed.h> / <unistd.h> handling as suggested by the
autoconf docs.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@549
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 10:24:15 +0000 (10:24 +0000)]
Fixed <sys/time.h> / <time.h> handling as suggested by the autoconf
docs.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@548
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 10:13:27 +0000 (10:13 +0000)]
Moved '#include "config.h"' to freeglut_internal.h, we will need it
there soon and it makes everything a bit shorter.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@547
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 09:13:26 +0000 (09:13 +0000)]
Resurrected my recent additions which were nuked by the previous
commit, adding the latest change on the way. :-(
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@546
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 09:07:00 +0000 (09:07 +0000)]
Removed acconfig.h, it is deprecated and we don't need it.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@545
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Mon, 3 Jan 2005 08:44:48 +0000 (08:44 +0000)]
Make it compile again with "-Wall -pedantic -Werror", redoing quite a
few things I've fixed already a few days ago. Have today's commits
been done by copying instead of merging? :-(
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@544
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Mon, 3 Jan 2005 02:11:12 +0000 (02:11 +0000)]
Changes remove duplicate menu code from "freeglut_window.c" and put it into one place in "freeglut_menu.c" where it belongs. - John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@543
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Mon, 3 Jan 2005 02:05:43 +0000 (02:05 +0000)]
General ChangeLog Updates
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@542
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Mon, 3 Jan 2005 02:04:45 +0000 (02:04 +0000)]
Adding initialization checking to all GLUT interface functions and removing asserts from the rest of the code - John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@541
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 18:35:44 +0000 (18:35 +0000)]
Added missing files from "src" subdirectory to dist.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@540
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 16:43:45 +0000 (16:43 +0000)]
Synched with project member list on SourceForge
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@539
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 16:39:40 +0000 (16:39 +0000)]
Modernized configure.ac a bit and added a rule to Makefile.am to
update libtool. Note that all gcc compiler warnings are now on by
default.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@538
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 16:09:55 +0000 (16:09 +0000)]
Make "gcc -Wall -pedantic -Werror" happy.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@537
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 14:17:28 +0000 (14:17 +0000)]
Ignore files generated by autoscan.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@536
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 14:01:29 +0000 (14:01 +0000)]
Renamed "configure.in" to the officially preferred "configure.ac".
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@535
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 13:41:33 +0000 (13:41 +0000)]
Removed unused stamp-h* files, configure generates them (a single
stamp-h1, to be exact).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@534
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 13:39:49 +0000 (13:39 +0000)]
Added eMbedded Visual Tools project/workspace files to distribution.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@533
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Sat, 1 Jan 2005 13:37:11 +0000 (13:37 +0000)]
Ignore distribution tar files
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@532
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 17:26:13 +0000 (17:26 +0000)]
Fixed first bug of #1064195 (two things when using signals): Don't
issue a warning about select when a non-blocked signal was caught.
This makes sense and is more compatible with GLUT.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@531
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 16:35:23 +0000 (16:35 +0000)]
Fixed bug #1040435 (glutBitmapString() bug).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@530
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 13:59:20 +0000 (13:59 +0000)]
Alas, the ChangeLog has not the usual ChangeLog format, so tell
(X)Emacs about that fact.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@529
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 13:55:26 +0000 (13:55 +0000)]
Fixed bug #1045054 (KeyReleaseMask typo).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@528
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 13:51:35 +0000 (13:51 +0000)]
Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT) unimplemented).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@527
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 13:44:06 +0000 (13:44 +0000)]
Fixed bug #1079530 (glutGetProcAddress and geometric objects).
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@526
7f0cb862-5218-0410-a997-
914c9d46530a
Sven Panne [Fri, 31 Dec 2004 13:42:51 +0000 (13:42 +0000)]
Improved ignorance.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@525
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Fri, 17 Dec 2004 14:57:28 +0000 (14:57 +0000)]
Some assertion changes / removals from Dr. John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@524
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Wed, 6 Oct 2004 14:54:13 +0000 (14:54 +0000)]
joystick init fixes (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@523
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Tue, 5 Oct 2004 22:07:05 +0000 (22:07 +0000)]
updated comments (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@522
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Tue, 5 Oct 2004 22:06:22 +0000 (22:06 +0000)]
improved comments and mouse coord adjustments (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@521
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Tue, 5 Oct 2004 18:34:23 +0000 (18:34 +0000)]
more clean-ups, fixes from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@520
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Thu, 23 Sep 2004 17:48:49 +0000 (17:48 +0000)]
font updates from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@519
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Thu, 23 Sep 2004 17:42:38 +0000 (17:42 +0000)]
more updates from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@518
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Thu, 23 Sep 2004 14:34:05 +0000 (14:34 +0000)]
assorted updates from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@517
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 15 Sep 2004 12:09:21 +0000 (12:09 +0000)]
Fix to glutInit() command-line argument compaction - Patch #1027724 from takeshi2
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@516
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Mon, 13 Sep 2004 18:39:10 +0000 (18:39 +0000)]
more updates from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@515
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Mon, 13 Sep 2004 18:09:00 +0000 (18:09 +0000)]
some function renaming, etc (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@514
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Fri, 10 Sep 2004 15:51:10 +0000 (15:51 +0000)]
joystick updates from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@513
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Fri, 10 Sep 2004 14:14:30 +0000 (14:14 +0000)]
updated comments from John Fay
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@512
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 11 Aug 2004 15:56:20 +0000 (15:56 +0000)]
Fix a game mode crashing bug, conditional compilation for Windows, and comment out some diagnostic prints (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@511
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Thu, 5 Aug 2004 01:12:50 +0000 (01:12 +0000)]
Implements Richard Rauch's request that the warning about indirect rendering contexts be suppressed for his BSD operating systems.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@510
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Thu, 5 Aug 2004 01:12:13 +0000 (01:12 +0000)]
Someone used C++ style comments in a C file... tisk tisk...
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@509
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Thu, 5 Aug 2004 01:11:21 +0000 (01:11 +0000)]
Bugfix for "glutBitmapString" so that it now handles end-of-line characters properly (Richard Rauch)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@508
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Thu, 5 Aug 2004 01:10:14 +0000 (01:10 +0000)]
Incremental update ... (John Fay)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@507
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Tue, 29 Jun 2004 15:50:57 +0000 (15:50 +0000)]
give menu windows the title 'freeglut menu' (helps Chromium)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@506
7f0cb862-5218-0410-a997-
914c9d46530a
Brian Paul [Tue, 29 Jun 2004 15:50:26 +0000 (15:50 +0000)]
move glXMakeCurrent() to after the point where the window's title is set (helps Chromium)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@505
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Thu, 13 May 2004 02:11:26 +0000 (02:11 +0000)]
Add one more header file to MSVC files
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@504
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:33:12 +0000 (00:33 +0000)]
John Fay: Direct/indirect rendering context change, fix a bug that somebody reported (about needing "GLUT_XLIB_IMPLEMENTATION" defined) and remove a false deprecation of a function.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@503
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:31:31 +0000 (00:31 +0000)]
John Fay: A bug fix re: behavior of the code when the user clicks the "x" to close a window, and commentary to a message type with fixes for a Windows event processing bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@502
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:29:27 +0000 (00:29 +0000)]
John Fay: Implement the modified logic of the direct/indirect rendering context.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@501
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:26:42 +0000 (00:26 +0000)]
John Fay: Implement the upper end of the bitmapped fonts (beyond ASCII code 127). The fonts are very close to the GLUT fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@500
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:23:00 +0000 (00:23 +0000)]
John Fay: These files implement the teapot for WINCE.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@499
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:17:46 +0000 (00:17 +0000)]
John Fay: Remove some obsolete defined symbols.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@498
7f0cb862-5218-0410-a997-
914c9d46530a
J.C. Jones [Wed, 12 May 2004 00:17:17 +0000 (00:17 +0000)]
John Fay: Add "freeglut_glutfont_definitions.c" to the build and tell it to look in the "include" directory for the <GL/freeglut.h> file.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@497
7f0cb862-5218-0410-a997-
914c9d46530a
Steve Baker [Sun, 28 Mar 2004 15:51:33 +0000 (15:51 +0000)]
Removed unnecessary initialisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@494
7f0cb862-5218-0410-a997-
914c9d46530a
Steve Baker [Sun, 28 Mar 2004 15:44:22 +0000 (15:44 +0000)]
Added a cullface test.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@493
7f0cb862-5218-0410-a997-
914c9d46530a
Daniel Wagner [Mon, 22 Mar 2004 10:19:25 +0000 (10:19 +0000)]
removed .cpp file (using LoadLibrary() instead)
removed modified gx.h file
cleaned up all // and tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@492
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Wed, 17 Mar 2004 04:02:21 +0000 (04:02 +0000)]
Prevent exceeding array bounds in X11 key-repeat detection
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@489
7f0cb862-5218-0410-a997-
914c9d46530a
Daniel Wagner [Tue, 16 Mar 2004 08:38:28 +0000 (08:38 +0000)]
replaced all tabs with 4 spaces
replaced all // with /* */ block
fixed freeglut_gx.cpp file with #if TARGET_HOST_WINCE
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@488
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Tue, 16 Mar 2004 00:17:11 +0000 (00:17 +0000)]
Whitespace conversion - tabs to 4 spaces
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@487
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Tue, 16 Mar 2004 00:15:05 +0000 (00:15 +0000)]
Revert X11 fgCloseWindow to 1.38 pre-offscreen implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@486
7f0cb862-5218-0410-a997-
914c9d46530a
Daniel Wagner [Mon, 15 Mar 2004 15:23:29 +0000 (15:23 +0000)]
fixed mouse position and keyboard mapping.
added c-wrapper cpp file for GAPI.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@485
7f0cb862-5218-0410-a997-
914c9d46530a
Daniel Wagner [Mon, 15 Mar 2004 13:42:20 +0000 (13:42 +0000)]
added support for WindowsCE (building on top of klimt)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@484
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Mon, 15 Mar 2004 11:31:19 +0000 (11:31 +0000)]
Repeat-key handling for Win32
Utilise both FreeGLUT state and per-window filtering modes
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@483
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Mon, 15 Mar 2004 06:19:33 +0000 (06:19 +0000)]
Forgot to update the ChangeLog for the benefit of those who do not have
CVS or Web access.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@482
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Mon, 15 Mar 2004 06:16:47 +0000 (06:16 +0000)]
Completed removal of all support for the offscreen rendering.
If you wish to do offscreen supportin a portable manner, you will
no longer be able to do so with current versions of freeglut.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@481
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Mon, 15 Mar 2004 06:10:27 +0000 (06:10 +0000)]
Removed Makefile support for the offscreen demo.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@480
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Mon, 15 Mar 2004 06:08:08 +0000 (06:08 +0000)]
Removed offscreen demo program.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@479
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Mon, 15 Mar 2004 00:07:37 +0000 (00:07 +0000)]
Provide local include path to automake for GL/freeglut.h etc
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@478
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Sun, 14 Mar 2004 04:37:17 +0000 (04:37 +0000)]
Code formatting tweak
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@477
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Sun, 14 Mar 2004 04:36:02 +0000 (04:36 +0000)]
Resolution of X11 key-repeat handling
glutSetKeyRepeat is global to all FreeGLUT windows in the application
glutIgnoreKeyRepeat is a per-window over-ride
To avoid nasty global X11 state interaction, or GLUT-style
event queue filtering - the approach in FreeGLUT is to
use the current key state XQueryKeymap to detect and
ignore KeyRelease/KeyPress pairs that are auto-generated.
See also:
http://pyopengl.sourceforge.net/documentation/manual/glutSetKeyRepeat.3GLUT.xml
http://pyopengl.sourceforge.net/documentation/manual/glutIgnoreKeyRepeat.3GLUT.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@476
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Sun, 14 Mar 2004 03:47:46 +0000 (03:47 +0000)]
Stripped out tabs and end-of-line whitespace
Differences are in whitespace only
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@475
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Wed, 10 Mar 2004 05:11:04 +0000 (05:11 +0000)]
Resolve [ 853044 ] FreeGLUT menus on Win32 in task bar and ALT-TAB list
CreateWindowEx(WS_EX_TOOLWINDOW,...) extended style suppresses the popup menu window from the taskbar or ALT-TAB list
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@474
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Mon, 8 Mar 2004 06:06:57 +0000 (06:06 +0000)]
ignoreKeyRepeat mode in FreeGLUT is TRUE by default
For compatibility with GLUT, the mode should be FALSE by default
This issues was probably undetected until now because ignoreKeyRepeat didn't yet work.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@473
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Mon, 8 Mar 2004 05:49:55 +0000 (05:49 +0000)]
Resolved bug #869765 glutIgnoreKeyRepeat() Fix (Win32)
glutIgnoreKeyRepeat now behaves correctly on Win32
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@472
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Mon, 8 Mar 2004 05:15:15 +0000 (05:15 +0000)]
C++ style comment converted to C style comment
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@471
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Mon, 8 Mar 2004 05:05:38 +0000 (05:05 +0000)]
Include freeglut header via <GL/freeglut.h> rather than "../include/GL/freeglut.h"
This allows some additional flexibility with file layout.
It should be the responsibility of the build environment, rather than at source level.
This change tested on MSVC 6, cygwin and mingw32 gcc and Linux gcc.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@470
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Wed, 3 Mar 2004 03:35:42 +0000 (03:35 +0000)]
According to John F. Fay:
The variable "num_axes" should be "joy->num_axes".
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@469
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Fri, 20 Feb 2004 23:31:41 +0000 (23:31 +0000)]
Removed nonstandard #warning constructs. Converted to XXX comments.
(These are warnings about gamemode features not working the same on
some systems as on others. The semantics of gamemode are dubious,
since it was never formally documented, and has for a long time
worked in different ways on different systems, so it is arguable that
there is nothing really wrong with systems that don't support
resolution-changes.)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@468
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Fri, 20 Feb 2004 05:05:35 +0000 (05:05 +0000)]
Fixed the bug where glutDisplayFunc() was effectively invoking
glutPostRedsiplay(). This is wrong on the face of it, and may be
at root for some of the annoying "timing" issues we've had with
redisplay events being called inappopriately.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@467
7f0cb862-5218-0410-a997-
914c9d46530a