Commit Graph

721 Commits

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