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
Richard Rauch [Thu, 19 Feb 2004 11:13:11 +0000 (11:13 +0000)]
I had rubbed the offscreen/Makefile.am off from the shapes demo. I forgot
to remove a couple of references to the shapes.c and shapes.dsp (.dsw?)
files.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@466
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Thu, 19 Feb 2004 10:09:29 +0000 (10:09 +0000)]
Added "offscreen" demo, a very simple program that produces an onscreen
window and, upon command, renders a similar offscreen display and writes
the result to disk.
Also, modified the build structure for UNIX_X11 to autobuild the demo.
(Not done for WIN32 at this time.)
Also, forgot to previously commit the updated freeglut_ext.h include.
Eeep.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@465
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Wed, 18 Feb 2004 06:52:50 +0000 (06:52 +0000)]
Minor comment adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@464
7f0cb862-5218-0410-a997-
914c9d46530a
Nigel Stewart [Wed, 18 Feb 2004 02:51:04 +0000 (02:51 +0000)]
Refinements to comments
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@463
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 14 Feb 2004 08:51:54 +0000 (08:51 +0000)]
Normalized the style of the new joystick a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@462
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 14 Feb 2004 03:29:57 +0000 (03:29 +0000)]
For some reason, the X "expose" event handler was *directly* calling
the display handler in the client. (Okay, it was calling a function
that operates on the window handle.)
If you have any complexity to the display code, this can be painful
to watch. I can't think of a good reason to do the display immediately,
so I fixed the code to do a glutPostRedisplay().
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@461
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 14 Feb 2004 03:23:43 +0000 (03:23 +0000)]
A commit on behalf of John (in turn, and in part, also on behalf of
Thierry).
* Renamed some of the old PLIB functions to have glut* prefixes.
(I guess that there is some thought about exporting them to the
API.)
* Changes from Thierry for FreeBSD support, and/or results of testing?
* I re-merged an XXX comment re. NetBSD/amd64 and propogated a
comment on a duplicated #define for FreeBSD. We need the GNU
autoconfig stuff to be updated by someone who groks it, now.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@460
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Mon, 9 Feb 2004 14:54:14 +0000 (14:54 +0000)]
Commit of John's tidying-up of a comment, closing out an XXX comment that
I wrote. Thanks, John.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@459
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 12:12:46 +0000 (12:12 +0000)]
...AND a tab snuck into my changes for GLUT_OFFSCREEN support. Mea culpa.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@458
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 12:11:30 +0000 (12:11 +0000)]
Removed a ^M that snuck into the #pragma for the new joystick code.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@457
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 12:10:26 +0000 (12:10 +0000)]
Ooops. We don't want people to be able to create a subwindow of an
offscreen window. (^& This is no longer permitted.
(Actually, it would be nice if it would work, but I don't think that you
can subwindow a pixmap in UNIX_X11, and assume that subwindowing offscreen
doesn't work on WIN32, either.)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@456
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 11:36:39 +0000 (11:36 +0000)]
Added entries for the joystick updates and the offscreen experimental
support.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@455
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 11:22:16 +0000 (11:22 +0000)]
Changed a couple of XXX comments. Added a new one. These all the nest of
#ifs in the BSD section of the new joystick code.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@454
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 10:57:17 +0000 (10:57 +0000)]
"Heavy editing" by John to his CallbackMaker demo.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@453
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 10:52:08 +0000 (10:52 +0000)]
John added a #pragma to the joystick code for WIN32 users.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@452
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sat, 7 Feb 2004 10:40:59 +0000 (10:40 +0000)]
Adds GLUT_OFFSCREEN as a display mode option. This includes:
* Recognizing the mode when you call glutCreateWindow().
(Offscreen looks and acts like a top-level window in many
ways.)
* During the life of the offscreen "window", various window-management
functions are modified to respect offscreen status.
(Excepting reshaping windows, there is not much useful interpretation
for managment of offscreen areas. Reshaping is possibly more work
than it's worth to support, and GLUT specs allow us to ignore the
request.)
* Cleanup for "offscreen" windows is a little different than for regular
windows.
Windows still don't start up quite ideally. Offscreen windows should
probably get a reshape event, but not a display.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@451
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Thu, 5 Feb 2004 23:31:09 +0000 (23:31 +0000)]
Big import of updated joystick code from PLIB, with permission from
Steve Baker. Most of the adaptation done by John, with a little bit
of testing and changes by Thierry Thomas and myself. Seems to compile on:
WIN32
Red Hat LINUX
FreeBSD
NetBSD/amd64
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@450
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Sun, 1 Feb 2004 09:18:59 +0000 (09:18 +0000)]
Close a bug whereby events can be delayed arbitrarily long if they get
caught between the socket and the client-side queue on X, sometime
after glutMainLoopEvent()'s loop quits and before the sleep code is
invoked.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@449
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Fri, 16 Jan 2004 12:44:50 +0000 (12:44 +0000)]
Ammended a comment on fgCheckJoystickCallback().
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@448
7f0cb862-5218-0410-a997-
914c9d46530a
Richard Rauch [Fri, 16 Jan 2004 00:22:43 +0000 (00:22 +0000)]
Minor style normalizations to minimize the diffs between *now* and from
before John's changes. No functional changes:
* Removed some hard TABs introduced.
* Removed some spaces-at-end-of-line introduced.
* A couple of function calls were touched up.
I did this separately only because I don't like messing with other people's
commits. (I don't like feeling like the style police, either, but when
I mess with the commit, there's no room for reverting my interference if
it is deemed undesirable...)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@447
7f0cb862-5218-0410-a997-
914c9d46530a