Commit Graph

761 Commits

Author SHA1 Message Date
fayjf
709c43db4d New file for Joe Krahn\'s dials input device
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@638 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-23 14:33:02 +00:00
fayjf
9240a48960 Fixing a bug in the Sierpinski sponge code that made the application crash if called with number of levels < 0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@637 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-22 22:11:50 +00:00
fayjf
a84f4042f0 Joe Krahn\'s input (dials) device implementation.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@636 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-22 21:37:26 +00:00
spanne
2ded92b062 Added an RPM spec file based on the one shipped with SuSE 9.3.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@635 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-14 15:37:09 +00:00
puggles
9e001e7b44 Release of 2.4.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@633 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-10 01:11:46 +00:00
puggles
1f664f1df3 Note Release 2.4.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@632 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-10 01:11:10 +00:00
puggles
48aaea7256 2.4.0 RC 5
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@631 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-02 22:49:03 +00:00
puggles
cca8a5df74 2.4.0 Release Candiate 5
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@629 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-02 22:45:15 +00:00
fayjf
95156e0338 Takeshi Nishimura\'s changes to make the Windows mouse wheel/button mapping match that of X11; also fixing a typo in the associated mouse callback argument list
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@628 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-26 12:26:31 +00:00
puggles
c1de4b915c 2.4.0 RC 4 update
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@627 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-26 02:25:08 +00:00
puggles
78ed046ffb 2.4.0 RC4 updates
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@625 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-26 02:11:10 +00:00
puggles
cbf7110c0f Fix joysticks so they are polled by their timer correctly. (Dan Torop)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@624 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-26 02:07:14 +00:00
spanne
f96be5c547 The original glutEnterGameMode() returns the window id of the game
mode window, not TRUE/FALSE, we should better follow that. Note that
most man pages claim that this function returns void, but this is
definitely wrong.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@623 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-24 16:15:25 +00:00
spanne
aff9d5e8cc When switching to game mode under X11, no ConfigureNotify event will
happen and consequently no reshape callback will ever be called via
the normal mechanism. To fix this, note that the game mode window
needs to be resized and handle this before redraw.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@622 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-24 15:56:04 +00:00
spanne
d0df3bd759 Guarantee consistency of names/addresses in glutGetProcAddress by
using a macro. In addition, this avoids any non-constant initializer
issues which might be raised when using WinDoze GCCs. The additional
code overhead is negligible, at least for x86 (a few instructions per
name).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@621 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-22 09:45:53 +00:00
spanne
e317fc93be Lowering minimum autoconf version required.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@620 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-22 09:20:31 +00:00
puggles
a416124269 Tag for 2.4.0 RC3
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@619 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-20 01:55:46 +00:00
puggles
b6cbef0909 2.4.0 RC3 Release
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@618 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-20 01:54:55 +00:00
puggles
6733ef96a7 Notes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@616 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-20 01:51:47 +00:00
spanne
0aedc9e758 Fixed SF bug #1204256: Off-by-one error in X11 mode switching.
The code which changes the X11 video mode has an off-by-one error,
resulting in a wrong mode or segfault. I've refactored the code
slighty to make it hopefully clearer what's going on and corrected
some #ifdefs on the way. Now at least the "One" demo works for me.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@615 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-19 06:54:27 +00:00
spanne
cea3641a13 Fixed SF bug #1204261: Mini space leak when creating an X11 window
(X11 text property values have to be freed after using them)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@614 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-19 06:51:03 +00:00
fayjf
83dcd8b899 Removing a C++ comment and simplifying the string handling
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@613 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-18 12:39:43 +00:00
fayjf
51ce35c19d Misiek\'s changes to fix Game Mode--getting display settings under Windows
and setting the window size correctly on all operating systems.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@612 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-17 16:50:30 +00:00
puggles
3dda2ed20b 2.4 Release Candidate 2
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@611 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-16 01:12:49 +00:00
puggles
35efb72763 Mark for 2.4 RC 2
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@609 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-16 01:09:39 +00:00
fayjf
0f8a824bc7 Removing two unused variables so this will compile on Linux with -Wall
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@608 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-13 12:54:38 +00:00
fayjf
413f5c131e Updating the ChangeLog ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@607 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-12 15:54:11 +00:00
fayjf
90cd4fe1c1 Takeshi Nishimura\'s menu changes--menus should now work properly. Use
the GLUT \"GLUTmech\" and \"walker\" demos to test them.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@606 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-12 13:00:49 +00:00
fayjf
74da1b5cf9 Takeshi Nishimura\'s menu fixes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@605 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-12 02:01:01 +00:00
puggles
042916af53 2.4.0 Release Candidate 1 Released
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@604 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-09 01:43:07 +00:00
puggles
ba265639ae Freeglut 2.4.0 Release Candidate 1
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@603 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-09 01:40:28 +00:00
spanne
ca4f47277d Fixed a cuboctahedron vertex, implemented wire mode for that shape.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@601 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-06 15:44:34 +00:00
spanne
4257efb83f Necessary compilation fixes for newer GCCs (e.g. 3.3.5, 4.0).
Side effect: The shapes demo has a new 'i' key now.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@600 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-06 15:39:24 +00:00
fayjf
53c452c7a2 Updated the ChangeLog again ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@599 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-05 17:34:00 +00:00
fayjf
c8f9a63d03 Replacing the original \"freeglut\" \"shapes\" demo with the much snazzier OpenGLUT \"shapes\" demo. Many thanks to the OpenGLUT community for writing it. The copyright notice stays in the program.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@598 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 21:02:22 +00:00
fayjf
29339a69ee Changing hard-coded constant (number of mouse buttons = 3) to a \"glutDeviceGet\" call in two places under X11
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@597 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 13:19:38 +00:00
fayjf
f2813782f5 Changing the version number from 2.0 to 2.4.0 ... do we need to add any new interface functions?
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@596 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 12:59:45 +00:00
fayjf
2e3bcfe04e Removing an unused variable
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@595 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 12:57:57 +00:00
fayjf
7198d2443f Adding a comment on why \"freeglut\" differs from GLUT in a particular way
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@594 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 12:55:56 +00:00
fayjf
3f4250d748 Removing an unused function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@593 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 12:53:48 +00:00
fayjf
47259d1983 Making the \"key repeat\" initialization consistent with the rest of its usage; also making the \"initDisplayString\" ever-so-slightly mroe general
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@592 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 12:51:53 +00:00
fayjf
da057e797e Updating the ChangeLog and TODO files in preparation for the upcoming release
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@591 7f0cb862-5218-0410-a997-914c9d46530a
2005-05-04 12:38:41 +00:00
fayjf
6fad66f7dd Adding a \"TODO\" comment about dynamically allocating joystick buttonj and axis arrays
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@590 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-29 13:35:06 +00:00
fayjf
5c37eb4026 Updationg the ChangeLog ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@589 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-29 13:22:18 +00:00
fayjf
4f2f270b9a Adding a \"README.Win32\" file with instructions on how to install \"freeglut\" under Windows.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@588 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-28 19:47:20 +00:00
fayjf
33a4d1473a Adding Window Exit event handling to the Windows code; also adding a note that eventually it would be good to handle the Window Entry event
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@587 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-28 14:42:26 +00:00
fayjf
b16eb7cc2f Fixing bug [ 1111218 ] fullscreen not working
Better late than never.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@586 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-27 17:27:20 +00:00
fayjf
819c712006 Fixing Bug Report [ 1160442 ] glutGet(GLUT_ELAPSED_TIME) is too granular
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@585 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-27 16:02:31 +00:00
fayjf
0bd8456a65 Fixing the typecasts on the callback fetches and invocations to allow \"freeglut\" to compile with GCC 4.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@584 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-26 17:44:57 +00:00
fayjf
cd7f74dca3 Fixing erroneous implementation of Takeshi\'s fix
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@583 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-26 15:52:27 +00:00
fayjf
0a1ca74613 Changing include path from relative to absolute to support off-directory builds (Yuri D\'Elia, March 22, 5:59 PM)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@582 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-26 13:38:27 +00:00
fayjf
7a4f95e49d Adding \"LISEZ-MOI\", the French version of \"README\"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@581 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-26 13:08:51 +00:00
fayjf
839f0c0a98 Updating the ChangeLog ... it seems to be something of a stepchild if we\'re not careful.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@580 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-25 14:55:22 +00:00
fayjf
3baca83139 Yuri D\'Elia\'s changes to get the virtual maximum screen extent instead of the actual screen size.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@579 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-22 20:35:24 +00:00
fayjf
a972964124 Yuri D\'Elia\'s changes to the game mode window
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@578 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-22 20:29:55 +00:00
fayjf
ddda7ab09f Change a hard-coded number to a defined constant and add some initializations
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@577 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-22 18:18:29 +00:00
fayjf
401e4369e5 Removing duplicate cursor code. This and the previous change (in freeglut_main.c) apparently got combined.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@576 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-22 15:23:12 +00:00
fayjf
437bb127b4 Updating the ChangeLog to reflect activity over the past few months
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@575 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-22 15:15:52 +00:00
fayjf
43f57a35bb Trying again to change \"fgStructure.Window\" to \"fgStructure.CurrentWindow\" and \"fgStructure.Menu\" to \"fgStructure.CurrentMenu\" for easier maintenance.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@574 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-22 14:17:31 +00:00
fayjf
a72757e31d Updating the ChangeLog as a means of testing pCVSc
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@573 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-15 13:28:16 +00:00
fayjf
073c39afd2 Testing!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@572 7f0cb862-5218-0410-a997-914c9d46530a
2005-04-15 13:16:33 +00:00
brianp
baa96828be added comment about AUX flags
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@571 7f0cb862-5218-0410-a997-914c9d46530a
2005-03-23 15:14:32 +00:00
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
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