Commit Graph

115 Commits

Author SHA1 Message Date
fayjf
735a977bba Enhancing the "CallbackMaker" demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@699 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 18:44:55 +00:00
fayjf
ad0d735b7f Joe Krahn's changes to "TARGET_HOST" defined constants
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@698 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 18:39:09 +00:00
fayjf
22deb0baa1 Fixing two minor bugs, adding comments
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@697 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 17:33:56 +00:00
fayjf
d4e5d7ed27 Changing "GameMode" to "GameModeWindow ... and testing whether I can get to SVN directly
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@696 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 17:13:37 +00:00
spanne
3929b150ac Check fgets for return value to avoid warnings.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@695 7f0cb862-5218-0410-a997-914c9d46530a
2006-08-05 16:31:20 +00:00
spanne
f3d8a6c845 Moved GLUT_INIT_STATE to <GL/freeglut_ext.h>, it is not part of the
original GLUT.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@691 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-12 14:20:36 +00:00
spanne
593887dece Simply use autoreconf in autogen.sh, it is much simpler and the recommended
way in the autotools documentation. Removed INSTALL, install-sh and
mkinstalldirs, they are either unused or automatically generated by
autogen.sh.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@690 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-12 13:04:46 +00:00
spanne
0e76af92bb Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@687 7f0cb862-5218-0410-a997-914c9d46530a
2005-09-07 11:53:13 +00:00
spanne
c529daadc7 Use -Wall for automake to catch some buglets, deprecated stuff, etc.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@686 7f0cb862-5218-0410-a997-914c9d46530a
2005-09-07 11:47:20 +00:00
spanne
c3abbc2013 Silenced autogen.sh
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@685 7f0cb862-5218-0410-a997-914c9d46530a
2005-09-04 15:24:57 +00:00
fayjf
da09dcc857 Documenting support for Open Watcom
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@682 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 13:52:48 +00:00
spanne
7c0201f17b Synched the DLL definitions with reality.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@679 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-14 11:56:34 +00:00
spanne
ee25389446 Fixed the GLUT_CURSOR_INHERIT logic once again...
Note that this commit is untested, but at least it looks better than
before. We really a need a cursor test program.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@678 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-14 09:39:26 +00:00
spanne
fa640f9356 Improve autoconf magic: To detect headers like GL/gl.h, it might be
necessary to temporarily use the X11 flags found by AC_PATH_XTRA.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@676 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 12:05:33 +00:00
spanne
e802d0e918 Avoid gcc warnings for some joystick code (e.g. on Solaris).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@675 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 11:44:59 +00:00
spanne
7007bb0eb8 Solaris doesn't have cfmakeraw, but it is only a convenience function for
some bit-fiddling, anyway.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@673 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 11:35:36 +00:00
spanne
c9d919e643 Made all the "glutJoystickXXX" functions part of the freeglut extensions.
If this is not what we want, we can easily #ifdef this away again...


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@672 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-08 13:20:12 +00:00
spanne
7648f784f3 Made a few global arrays "static", avoiding namespace pollution. The only
externally visible symbols should either be from the GLUT API ("glutXXX")
or internal freeglut entities ("fgYYY"). Reformatted things a bit on the way.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@671 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-08 12:48:58 +00:00
spanne
633e3e7179 We only have pending redisplay callbacks when the window wants to be
redisplayed *and* it is visible. Otherwise we won't redraw, anyway, and
immediately discover that there's still something to do, etc. etc., leading
to 100% CPU load.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@670 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-06 16:11:31 +00:00
spanne
56a37333b9 Removed redundant code.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@669 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-06 16:06:05 +00:00
spanne
e3f40841b6 X11 only: Destroy the global menu rendering context when deinitializing.
The visual/context handling for menus is still rather obscure, though...


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@668 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-06 16:02:48 +00:00
spanne
bd0a87210c X11 only: Free XVisualInfo structures when they are not needed
anymore, fixing a space leak. Not perfect for menus yet...


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@663 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-05 12:32:56 +00:00
spanne
c4c3661612 Handle modifiers in MotionNotify events, too. This fixes bug #1227920
(glutGetModifiers not set/allowed in mouse callbacks). In addition, some related
cleanup has been done.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@661 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-02 13:50:02 +00:00
spanne
4e334977a1 Partial fixes for bug #1218900 (freeglut-2.4.0 on FreeBSD).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@660 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-02 13:13:30 +00:00
spanne
f8d3ddc18a Remove wrong "execute" bits when creating a distribution. This fixes
bug #961938 (Executable bit set on non exe files).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@659 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-02 12:58:07 +00:00
spanne
7b1940f291 Added John's missing ChangeLog entry.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@657 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-02 12:53:26 +00:00
spanne
c262125b5a Some steps toward compilation under MinGW. Note that there are still
linking troubles for the examples.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@655 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-01 13:55:12 +00:00
spanne
865b149540 Silenced a signed/unsigned mismatched via a cast.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@653 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-01 11:44:53 +00:00
spanne
50c4e7b82a MinGW is lacking a prototype for ChangeDisplaySettingsEx, so supply one in
this case. Note that this should better be handled via autoconf than via cpp.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@652 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-01 11:42:27 +00:00
spanne
0377776087 Removed redundant files from EXTRA_DIST.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@651 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-01 11:14:43 +00:00
spanne
a7b1f61d79 When a window is iconified, only an UnmapNotify is sent, not a
VisibilityNotify, so we have to handle the window status callback in the
former case, too. This fixes bug #763442 (Call the visibility callback when
minimizing a window).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@649 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-30 14:35:29 +00:00
spanne
49d5acfd00 Cleaned up CreateNotify/ConfigureNotify handling.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@648 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-30 12:39:14 +00:00
spanne
9b175ab2e6 Added --enable-debug configure flag. Currently it only turns on X11 event
tracing, but in the future we could add more.

Note: freeglut_main.c could benefit from some restructuring to clean up
the #ifdefs and cut down the sizes of some extremely long functions.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@646 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-30 11:12:55 +00:00
fayjf
c14557b774 Keeping current ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@639 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-23 14:37:38 +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
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
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
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
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
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
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
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