spanne
162255a20a
Removed redundant #include
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@554 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 12:00:21 +00:00
spanne
a954e5c33e
autoconf'd <errno.h> handling and removed an unused '#include <sys/stat.h>'
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@553 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 11:35:18 +00:00
spanne
3817d97ab7
autoconf'd <limits.h> and <sys/param.h> handling, removing MIN/MAX
...
macros on the way.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@552 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 11:22:59 +00:00
spanne
a425a411af
Cosmetics.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@551 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 10:58:18 +00:00
spanne
c6d8295732
autoconf'd <fcntl.h> and <sys/ioctl.h> handling
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@550 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 10:57:58 +00:00
spanne
45a783693d
Improved <sys/typed.h> / <unistd.h> handling as suggested by the
...
autoconf docs.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@549 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 10:35:36 +00:00
spanne
11192577c4
Fixed <sys/time.h> / <time.h> handling as suggested by the autoconf
...
docs.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@548 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 10:24:15 +00:00
spanne
561481f9d2
Moved '#include "config.h"' to freeglut_internal.h, we will need it
...
there soon and it makes everything a bit shorter.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@547 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 10:13:27 +00:00
spanne
6ffeb69190
Resurrected my recent additions which were nuked by the previous
...
commit, adding the latest change on the way. :-(
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@546 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 09:13:26 +00:00
spanne
810a67a80f
Removed acconfig.h, it is deprecated and we don't need it.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@545 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 09:07:00 +00:00
spanne
8afaa43f1d
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: https://svn.code.sf.net/p/freeglut/code/trunk@544 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 08:44:48 +00:00
puggles
cfef5bfb34
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: https://svn.code.sf.net/p/freeglut/code/trunk@543 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 02:11:12 +00:00
puggles
65980f45ac
General ChangeLog Updates
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@542 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 02:05:43 +00:00
puggles
ee6d3a9a1c
Adding initialization checking to all GLUT interface functions and removing asserts from the rest of the code - John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@541 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 02:04:45 +00:00
spanne
9c68fad27d
Added missing files from "src" subdirectory to dist.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@540 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 18:35:44 +00:00
spanne
e691f6301c
Synched with project member list on SourceForge
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@539 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 16:43:45 +00:00
spanne
90652ea32b
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: https://svn.code.sf.net/p/freeglut/code/trunk@538 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 16:39:40 +00:00
spanne
a38edbb898
Make "gcc -Wall -pedantic -Werror" happy.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@537 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 16:09:55 +00:00
spanne
207d5dc3c9
Ignore files generated by autoscan.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@536 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 14:17:28 +00:00
spanne
eb7b024f0c
Renamed "configure.in" to the officially preferred "configure.ac".
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@535 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 14:01:29 +00:00
spanne
67b8b16ea9
Removed unused stamp-h* files, configure generates them (a single
...
stamp-h1, to be exact).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@534 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 13:41:33 +00:00
spanne
17757f4131
Added eMbedded Visual Tools project/workspace files to distribution.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@533 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 13:39:49 +00:00
spanne
c0b1e6178d
Ignore distribution tar files
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@532 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-01 13:37:11 +00:00
spanne
ad7e1384cc
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: https://svn.code.sf.net/p/freeglut/code/trunk@531 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 17:26:13 +00:00
spanne
bbacc741c5
Fixed bug #1040435 (glutBitmapString() bug).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@530 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 16:35:23 +00:00
spanne
5448913d6e
Alas, the ChangeLog has not the usual ChangeLog format, so tell
...
(X)Emacs about that fact.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@529 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 13:59:20 +00:00
spanne
a3e75b2f8c
Fixed bug #1045054 (KeyReleaseMask typo).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@528 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 13:55:26 +00:00
spanne
dda2b9bdcd
Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT) unimplemented).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@527 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 13:51:35 +00:00
spanne
75ef445990
Fixed bug #1079530 (glutGetProcAddress and geometric objects).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@526 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 13:44:06 +00:00
spanne
14f372e2fa
Improved ignorance.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@525 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-31 13:42:51 +00:00
puggles
277a549cc6
Some assertion changes / removals from Dr. John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@524 7f0cb862-5218-0410-a997-914c9d46530a
2004-12-17 14:57:28 +00:00
brianp
8fd086e068
joystick init fixes (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@523 7f0cb862-5218-0410-a997-914c9d46530a
2004-10-06 14:54:13 +00:00
brianp
20ecbd409c
updated comments (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@522 7f0cb862-5218-0410-a997-914c9d46530a
2004-10-05 22:07:05 +00:00
brianp
2a1a8f1a36
improved comments and mouse coord adjustments (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@521 7f0cb862-5218-0410-a997-914c9d46530a
2004-10-05 22:06:22 +00:00
brianp
6f4c8c6ed3
more clean-ups, fixes from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@520 7f0cb862-5218-0410-a997-914c9d46530a
2004-10-05 18:34:23 +00:00
brianp
f4fbf7b21f
font updates from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@519 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-23 17:48:49 +00:00
brianp
fc9f0b06c4
more updates from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@518 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-23 17:42:38 +00:00
brianp
8e94eb798b
assorted updates from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@517 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-23 14:34:05 +00:00
puggles
228c4bd617
Fix to glutInit() command-line argument compaction - Patch #1027724 from takeshi2
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@516 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-15 12:09:21 +00:00
brianp
a82a0dff4a
more updates from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@515 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-13 18:39:10 +00:00
brianp
447cac3357
some function renaming, etc (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@514 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-13 18:09:00 +00:00
brianp
413bd1e861
joystick updates from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@513 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-10 15:51:10 +00:00
brianp
5bd18d1bcd
updated comments from John Fay
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@512 7f0cb862-5218-0410-a997-914c9d46530a
2004-09-10 14:14:30 +00:00
puggles
7e23a609ff
Fix a game mode crashing bug, conditional compilation for Windows, and comment out some diagnostic prints (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@511 7f0cb862-5218-0410-a997-914c9d46530a
2004-08-11 15:56:20 +00:00
puggles
34d1c10c25
Implements Richard Rauch's request that the warning about indirect rendering contexts be suppressed for his BSD operating systems.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@510 7f0cb862-5218-0410-a997-914c9d46530a
2004-08-05 01:12:50 +00:00
puggles
f20f677500
Someone used C++ style comments in a C file... tisk tisk...
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@509 7f0cb862-5218-0410-a997-914c9d46530a
2004-08-05 01:12:13 +00:00
puggles
0c7fad1ec5
Bugfix for "glutBitmapString" so that it now handles end-of-line characters properly (Richard Rauch)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@508 7f0cb862-5218-0410-a997-914c9d46530a
2004-08-05 01:11:21 +00:00
puggles
d916321fd4
Incremental update ... (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@507 7f0cb862-5218-0410-a997-914c9d46530a
2004-08-05 01:10:14 +00:00
brianp
49b265eba4
give menu windows the title 'freeglut menu' (helps Chromium)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@506 7f0cb862-5218-0410-a997-914c9d46530a
2004-06-29 15:50:57 +00:00
brianp
c3a84ddd90
move glXMakeCurrent() to after the point where the window's title is set (helps Chromium)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@505 7f0cb862-5218-0410-a997-914c9d46530a
2004-06-29 15:50:26 +00:00
puggles
290f7a43e8
Add one more header file to MSVC files
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@504 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-13 02:11:26 +00:00
puggles
92180def60
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: https://svn.code.sf.net/p/freeglut/code/trunk@503 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:33:12 +00:00
puggles
994e73cad8
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: https://svn.code.sf.net/p/freeglut/code/trunk@502 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:31:31 +00:00
puggles
ae113a8850
John Fay: Implement the modified logic of the direct/indirect rendering context.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@501 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:29:27 +00:00
puggles
c28e19b830
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: https://svn.code.sf.net/p/freeglut/code/trunk@500 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:26:42 +00:00
puggles
f0e7e663b5
John Fay: These files implement the teapot for WINCE.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@499 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:23:00 +00:00
puggles
d6eae7134a
John Fay: Remove some obsolete defined symbols.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@498 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:17:46 +00:00
puggles
c46ead491e
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: https://svn.code.sf.net/p/freeglut/code/trunk@497 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-12 00:17:17 +00:00
puggles
d3fad7828e
Fix broken link to CVS instructions
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@496 7f0cb862-5218-0410-a997-914c9d46530a
2004-05-02 04:06:56 +00:00
puggles
107b2d39ae
Fix underline behavior due to typo (a.hover should be a:hover) ;)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@495 7f0cb862-5218-0410-a997-914c9d46530a
2004-04-13 00:35:38 +00:00
sjbaker
a19cbfa13a
Removed unnecessary initialisation.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@494 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-28 15:51:33 +00:00
sjbaker
3905363c58
Added a cullface test.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@493 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-28 15:44:22 +00:00
drgoldie
c23c129b0e
removed .cpp file (using LoadLibrary() instead)
...
removed modified gx.h file
cleaned up all // and tabs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@492 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-22 10:19:25 +00:00
puggles
3e6bc9b199
Add "you must subscribe before you can post to our mailing lists" and correctly capitalize "XFree86".
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@491 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-18 18:43:08 +00:00
puggles
13f6488430
Add "mailto" tags to the mailing list links.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@490 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-17 17:47:41 +00:00
nigels
101fd08582
Prevent exceeding array bounds in X11 key-repeat detection
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@489 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-17 04:02:21 +00:00
drgoldie
041d8017dc
replaced all tabs with 4 spaces
...
replaced all // with /* */ block
fixed freeglut_gx.cpp file with #if TARGET_HOST_WINCE
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@488 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-16 08:38:28 +00:00
nigels
c233e0f5db
Whitespace conversion - tabs to 4 spaces
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@487 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-16 00:17:11 +00:00
nigels
4e304b51b9
Revert X11 fgCloseWindow to 1.38 pre-offscreen implementation.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@486 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-16 00:15:05 +00:00
drgoldie
154a985699
fixed mouse position and keyboard mapping.
...
added c-wrapper cpp file for GAPI.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@485 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 15:23:29 +00:00
drgoldie
30aa3f91c3
added support for WindowsCE (building on top of klimt)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@484 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 13:42:20 +00:00
nigels
11d357efc4
Repeat-key handling for Win32
...
Utilise both FreeGLUT state and per-window filtering modes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@483 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 11:31:19 +00:00
rkrolib
3ff83f17c8
Forgot to update the ChangeLog for the benefit of those who do not have
...
CVS or Web access.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@482 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 06:19:33 +00:00
rkrolib
b3f3ea2cf0
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: https://svn.code.sf.net/p/freeglut/code/trunk@481 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 06:16:47 +00:00
rkrolib
a4e8aad90c
Removed Makefile support for the offscreen demo.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@480 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 06:10:27 +00:00
rkrolib
68abc58465
Removed offscreen demo program.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@479 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 06:08:08 +00:00
nigels
d566de6bc8
Provide local include path to automake for GL/freeglut.h etc
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@478 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-15 00:07:37 +00:00
nigels
121d94e35c
Code formatting tweak
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@477 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-14 04:37:17 +00:00
nigels
6065b3da65
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: https://svn.code.sf.net/p/freeglut/code/trunk@476 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-14 04:36:02 +00:00
nigels
a291d1e0d3
Stripped out tabs and end-of-line whitespace
...
Differences are in whitespace only
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@475 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-14 03:47:46 +00:00
nigels
c203af6503
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: https://svn.code.sf.net/p/freeglut/code/trunk@474 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-10 05:11:04 +00:00
nigels
8ef6187d85
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: https://svn.code.sf.net/p/freeglut/code/trunk@473 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-08 06:06:57 +00:00
nigels
9e4156f49f
Resolved bug #869765 glutIgnoreKeyRepeat() Fix (Win32)
...
glutIgnoreKeyRepeat now behaves correctly on Win32
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@472 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-08 05:49:55 +00:00
nigels
7542599aa9
C++ style comment converted to C style comment
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@471 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-08 05:15:15 +00:00
nigels
1523c69539
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: https://svn.code.sf.net/p/freeglut/code/trunk@470 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-08 05:05:38 +00:00
nigels
def83e15e9
According to John F. Fay:
...
The variable "num_axes" should be "joy->num_axes".
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@469 7f0cb862-5218-0410-a997-914c9d46530a
2004-03-03 03:35:42 +00:00
rkrolib
15c7f0ba24
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: https://svn.code.sf.net/p/freeglut/code/trunk@468 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-20 23:31:41 +00:00
rkrolib
517a32d77d
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: https://svn.code.sf.net/p/freeglut/code/trunk@467 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-20 05:05:35 +00:00
rkrolib
3b23a58148
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: https://svn.code.sf.net/p/freeglut/code/trunk@466 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-19 11:13:11 +00:00
rkrolib
813e5ed5ac
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: https://svn.code.sf.net/p/freeglut/code/trunk@465 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-19 10:09:29 +00:00
rkrolib
819e75a0f3
Minor comment adjustments.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@464 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-18 06:52:50 +00:00
nigels
192d0ba74e
Refinements to comments
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@463 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-18 02:51:04 +00:00
rkrolib
a1547dde81
Normalized the style of the new joystick a bit.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@462 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-14 08:51:54 +00:00
rkrolib
c03f197329
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: https://svn.code.sf.net/p/freeglut/code/trunk@461 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-14 03:29:57 +00:00
rkrolib
70f0afbc07
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: https://svn.code.sf.net/p/freeglut/code/trunk@460 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-14 03:23:43 +00:00
rkrolib
a6d19e891d
Commit of John's tidying-up of a comment, closing out an XXX comment that
...
I wrote. Thanks, John.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@459 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-09 14:54:14 +00:00
rkrolib
1101bb7b23
...AND a tab snuck into my changes for GLUT_OFFSCREEN support. Mea culpa.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@458 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 12:12:46 +00:00
rkrolib
5f324aa73b
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: https://svn.code.sf.net/p/freeglut/code/trunk@456 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 12:10:26 +00:00
rkrolib
401cff3240
Added entries for the joystick updates and the offscreen experimental
...
support.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@455 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 11:36:39 +00:00
rkrolib
1559d50f18
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: https://svn.code.sf.net/p/freeglut/code/trunk@454 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 11:22:16 +00:00
rkrolib
f464318e8d
"Heavy editing" by John to his CallbackMaker demo.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@453 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 10:57:17 +00:00
rkrolib
bfae88650c
John added a #pragma to the joystick code for WIN32 users.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@452 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 10:52:08 +00:00
rkrolib
190a260143
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: https://svn.code.sf.net/p/freeglut/code/trunk@451 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-07 10:40:59 +00:00
rkrolib
3119df3a6c
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: https://svn.code.sf.net/p/freeglut/code/trunk@450 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-05 23:31:09 +00:00
rkrolib
46f090da2c
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: https://svn.code.sf.net/p/freeglut/code/trunk@449 7f0cb862-5218-0410-a997-914c9d46530a
2004-02-01 09:18:59 +00:00
rkrolib
377940880c
Ammended a comment on fgCheckJoystickCallback().
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@448 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-16 12:44:50 +00:00
rkrolib
889ff65585
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: https://svn.code.sf.net/p/freeglut/code/trunk@447 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-16 00:22:43 +00:00
rkrolib
5e022b0578
Some changes from John.
...
The main attraction seems to be correcting a bug with the action-on-
window-close.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@446 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-16 00:17:23 +00:00
nigels
96d0286492
Minor fix for website nav panel - FreeGLUT logo location
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@445 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-05 22:47:21 +00:00
nigels
2a3ccb7132
Changed CSS links to absolute URL
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@444 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-05 15:59:45 +00:00
nigels
b9b95cdc8c
Win32 glutIconifyWindow() patch contributed by John F. Fay
...
Restrict resize callbacks to visible windows
When iconified via glutIconifyWindow(), don't pass (0,0) to resize callback
Note that minimising the window via the menu or minimise button is not yet resolved.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@443 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-05 15:49:14 +00:00
nigels
c342b2fe2a
Minor tweak to generateFooter()
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@442 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-05 15:04:25 +00:00
nigels
10d29e38ed
Updated entire website to be XHTML 1.0 Strict XML compliant
...
Some reorgansiation of navigation structure.
Developer Info "dinfo.php" and User Info "uinfo.php" now obsolete.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@441 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-05 14:44:52 +00:00
nigels
0245ec89eb
Added freshmeat and openl links to navigation panel
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@440 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-05 14:43:50 +00:00
nigels
2c46236afb
Added Gentoo ebuild link
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@439 7f0cb862-5218-0410-a997-914c9d46530a
2004-01-01 02:03:56 +00:00
puggles
19a2b0f841
Added the API from the docs directory. Updated the stylesheet with header styles. Noted in the news that the API is now online. Updated the user and developer info pages with a better looking "Documentation" section.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@438 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-31 03:21:06 +00:00
rkrolib
be6350a54f
Split a few overlong lines.
...
Adjusted some spacing in a few spots to be more consistant with
freeglut style. Including one unindented if() body.
Eliminated a dead variable.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@437 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 11:50:58 +00:00
rkrolib
ba4088e1f2
Changed several #ifdef's to proper #if's. Eeek. Oook.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@436 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 11:43:24 +00:00
rkrolib
5d5ba0e9e9
Hm... I thought that I committed this last night. What's up?
...
This is Nigel's modified fgSleepForEvents(), essentially. Take 2.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@435 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 10:57:01 +00:00
nigels
4f23cc54d6
Added pre-built DevPak link for Dev C++ users
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@434 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 09:53:12 +00:00
nigels
4a51a82b08
Three supported win32 compilation environments: MSVC, Cygwin and MingW32
...
#pragma is specific to MS compiler
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@433 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:55:39 +00:00
nigels
176108b5eb
Explicitly cast function pointer to (void *) in SET_WCB since all callbacks stored as void pointers
...
suppress gcc -Wall -pendantic "noise"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@432 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:51:32 +00:00
nigels
2ed416a592
Typesafe handling of temporary window destroy callback
...
Move assignment out of while test, scope temporary inside loop
Be explicit about assignment/comparison in if test for gcc peace of mind
suppress gcc -Wall -pendantic "noise"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@431 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:49:56 +00:00
nigels
54ba1965ee
Three supported win32 compilation environments: MSVC, Cygwin and MingW32
...
The windows mmsystem header need only be included internally to freeglut
strdup vs _strdup is specific to the MS compiler
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@430 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:28:13 +00:00
nigels
b5452aeafe
strlen expects (char *), rather than (unsigned char *)
...
suppress gcc -Wall -pendantic "noise"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@429 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:24:05 +00:00
nigels
1fdd04c554
Replace assignment of array to struct with field-by-field assignment
...
suppress gcc -Wall -pendantic "noise"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@428 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:22:11 +00:00
nigels
ddd877b469
glutBitmapString and glutBitmapLength expect (unsigned char *) rather than (char *)
...
suppress gcc in -Wall -pendantic "noise"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@427 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:20:03 +00:00
nigels
4a7c8b153d
Replace #ifdef WIN32 with #ifdef TARGET_HOST_WIN32, as per FreeGLUT convention
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@426 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:17:07 +00:00
nigels
4590373e8d
fgState.FPSInterval is unsigned int (GLuint), environment variable GLUT_FPS can be negative
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@425 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:14:54 +00:00
nigels
d07ef326cd
OpenGL context is not made current on Win32 until fgSetWindow is called.
...
This resolves severe problems observed in GLUI applications.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@424 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 02:01:53 +00:00
nigels
3585f68a7f
#pragma message is only understood my MS compiler
...
#if defined(_MSC_VER) .. #endif
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@423 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 01:58:19 +00:00
nigels
4be32e042b
Resolve bug 864978 - GLUT_OWNS_JOYSTICK unhandled
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@422 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 01:54:44 +00:00
nigels
5cc127d807
Tidy nested if/else to suppress gcc -Wall -pedantic noise
...
gcc suggests explicit braces to avoid ambiguous `else'
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@421 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-30 01:52:07 +00:00
puggles
5a8204816b
Add a newline between the bug reports and the feature requests.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@420 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-29 21:11:33 +00:00
puggles
5e4c0b6c11
Add in a "view PHP source" option to all webpages that links to CVS. Clean up the template file a little more for kicks. :)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@419 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-29 19:02:34 +00:00
rkrolib
4dcf24793a
Missed a set of commands to put in a "typewriter" font.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@418 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-25 17:24:27 +00:00
rkrolib
95fc4f4d4d
Use "bzcat ... | tar -xvf -" instead of "tar -jxvf ...".
...
Also, changed to follow the convention that stuff-you-type is in
a "typewriter" font (use <tt> tags).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@417 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-25 17:23:08 +00:00
rkrolib
2d4c487aff
Some cleanup and touchup to the web-pages.
...
Nothing exciting.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@416 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-25 16:22:03 +00:00
rkrolib
e72b2158c0
Configuring with "--enable-warnings" broke three demos:
...
* CallbackMaker defined, but did not use, the Joystick() function
(a callback for the freeglut joystick interface). I uncommented
the callback-registration. I assume that it was commented out
because it was spammy. (freeglut does joysticks by polling with a
timer.) Perhaps a longer interval than 10ms would be advisable?
* fractals.c used strcpy() without getting the prototype. Added
#include <string.h> at the top.
* fractals_random.c had the same problem as fractals.c.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@415 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-25 14:39:38 +00:00
rkrolib
64443c7c4b
Moved the window-resize code so that it happens whenever there is a
...
pending resize for the window, whether or not the window is visible or
in need of a redisplay. The resize is now done before the visibility
and need-to-redisplay checks.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@414 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-23 08:39:44 +00:00
rkrolib
38fb597973
Got rid of those int/ptr warnings on AMD64. (The code was
...
casting an {int} to a pointer, and later retrieving the int
by another cast. It should be safe provided that pointers
are at least as big as {int}, but GCC was giving warnings on
my system, so...fixed.)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@413 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-22 22:13:20 +00:00
rkrolib
69c32f5e17
Several test-on-assignment cases have been converted to stop GCC from
...
complaining about if( a = get_a_value_for_a( ) ) type code.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@412 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-22 21:39:18 +00:00
rkrolib
0687f2f596
Ooops, left some cruft in a comment in the header when committing the
...
last patch. Cleaned up.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@411 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-19 01:00:07 +00:00
rkrolib
a7d846c36b
Wrote SET_WCB() to set a window callback. This lets us out of using
...
the FETCH_WCB() as an lvalue (which it shouldn't, since the value of
the FETCH is cast to the correct function-pointer type).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@410 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-19 00:54:27 +00:00
puggles
686cb62330
Change the destination directory of the debug version to "Debug" (John Fay)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@409 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-15 17:18:37 +00:00
puggles
76a87d1864
Add a newline to "make all make install" so that it'll ... work!
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@408 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-14 04:55:28 +00:00
puggles
019099a2a2
Keep from claiming 100% compatibility. Richard pointed out this was false advertising and James needs to be shot three times in the stomach and then beheaded by a spoon that is too big.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@407 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-14 02:04:29 +00:00
puggles
ffcd263378
Fix link to the project interface (was pointing at the old typo3 interface!)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@406 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-13 20:30:01 +00:00
puggles
280fb4a52f
Add a placeholder message until we update this page with real progress and timeline information.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@405 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-13 19:17:08 +00:00
puggles
8407d17ee9
Initial import
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@404 7f0cb862-5218-0410-a997-914c9d46530a
2003-12-13 18:58:30 +00:00