Commit Graph

810 Commits

Author SHA1 Message Date
brianp
0090d41ba9 fixes for menus being attached to multiple buttons/windows (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@570 7f0cb862-5218-0410-a997-914c9d46530a
2005-02-16 00:52:23 +00:00
brianp
cd34db4902 added error check (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@569 7f0cb862-5218-0410-a997-914c9d46530a
2005-02-16 00:49:28 +00:00
brianp
5653791bd0 AUX buffers for Windows (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@568 7f0cb862-5218-0410-a997-914c9d46530a
2005-02-15 14:49:39 +00:00
brianp
fd3bf94540 Aux color buffer support. Pass one of GLUT_AUX[1234] to glutInitDisplayMode.
Only implemented/tested on GLX, not Windows.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@567 7f0cb862-5218-0410-a997-914c9d46530a
2005-02-11 15:22:09 +00:00
brianp
e9be78b6fc Fix object/function pointer inconsistencies which are a problem for gcc 3.4.2.
Added GLUTproc type, returned by glutGetProcAddress().


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@566 7f0cb862-5218-0410-a997-914c9d46530a
2005-02-11 15:18:04 +00:00
spanne
3506d4ac40 autoconf 2.58 is enough
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@565 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-23 18:08:20 +00:00
spanne
f4eff70e98 Stylistic change only (added "do { ... } while( 0 )" around multi-statement macros)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@564 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-23 17:52:16 +00:00
spanne
61ddeb2e75 Testing for errno.h is overkill. :-)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@563 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-23 17:44:58 +00:00
spanne
29e57cdace Windows platforms only: Merged some cursor-related code from John Fay
(with minor changes)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@562 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-23 17:38:33 +00:00
spanne
b1e9a6e16d Hopefully removed all damage done by commits without merge
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@561 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-05 14:28:22 +00:00
spanne
ac2e30aecd 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: https://svn.code.sf.net/p/freeglut/code/trunk@560 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-05 13:11:30 +00:00
spanne
1aa0b5ccf6 Fixed part of bug #926883 (Video mode matching code, memory leaks,
fullscreen), i.e. issue warnings when XF86VidModeFOO fails.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@559 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 17:11:33 +00:00
spanne
c70e6634ff (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: https://svn.code.sf.net/p/freeglut/code/trunk@558 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 16:49:37 +00:00
spanne
f7ef083831 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: https://svn.code.sf.net/p/freeglut/code/trunk@557 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 14:14:56 +00:00
spanne
2e4ddfd047 Improved error message a bit when no suitable visual could be found
(X11 only).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@556 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 12:42:09 +00:00
spanne
d52d41a3e3 autoconf'd vfprintf
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@555 7f0cb862-5218-0410-a997-914c9d46530a
2005-01-03 12:02:42 +00:00
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