Commit Graph

611 Commits

Author SHA1 Message Date
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