Commit Graph

858 Commits

Author SHA1 Message Date
fayjf
4fddcfd08f Adding "glutFullScreenToggle" for X11 -- still needs implementation in Windows (e-mail by Jocelyn Frechot, Sun 11/25/2007 11:29 AM)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@738 7f0cb862-5218-0410-a997-914c9d46530a
2007-12-02 03:50:29 +00:00
fayjf
9d2fccf853 Fixing the window position for asynchronous X11 implementations (e-mail by Jocelyn Frechot, Sun 11/25/2007 11:29 AM)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@737 7f0cb862-5218-0410-a997-914c9d46530a
2007-12-01 23:34:55 +00:00
fayjf
872dbbc4ad Making a demo program that uses "glutMainLoopEvent"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@736 7f0cb862-5218-0410-a997-914c9d46530a
2007-11-26 08:09:45 +00:00
fayjf
7f75464b6f Implementing Jocelyn Frechot's changes -- see e-mail of Thursday, 11/8/2007 9:12 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@735 7f0cb862-5218-0410-a997-914c9d46530a
2007-11-12 04:06:19 +00:00
fayjf
afd73e99d6 Removing more Win64 build warnings from joystick code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@733 7f0cb862-5218-0410-a997-914c9d46530a
2007-10-02 02:46:04 +00:00
puggles
7b7de85a0d SVN Update
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@732 7f0cb862-5218-0410-a997-914c9d46530a
2007-10-01 02:42:12 +00:00
fayjf
cc84d110ac Removing the final compiler warning when building on Win75 -- thank you, Antonio Mattos.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@731 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-30 12:07:26 +00:00
fayjf
8b5b378c99 Removing the remaining compiler warnings from the cursor code, thanks to Antonio Mattos of Brazil. The double type-casting is needed because of a bug in the new MSVC; there is a discussion on the web on this subject.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@730 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-29 13:06:38 +00:00
fayjf
0e17c966c4 Changing the cursor definition macro for newer versions of MSVC -- thanks to "Mattos" of Brazil
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@729 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-25 23:09:29 +00:00
fayjf
624693e28e More changes for Jocelyn Frechot's multisampling changes. The library builds now. It still needs some testing with sample cases under X11.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@728 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-25 03:54:56 +00:00
fayjf
5ab9b39a6c Fixing a remaining bug in the multisampling change ... there may be more ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@727 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-23 14:29:06 +00:00
fayjf
5ffa7abdb6 Putting in Jocelyn Frechot's X11 visual context changes. THIS WILL BREAK THE BUILD as I am unable to test it on a Linux machine here. Somebody please test it for me.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@726 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-22 02:55:37 +00:00
fayjf
74802d3f21 Removing compiler warnings in MSVC 2005 build
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@725 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-21 04:32:59 +00:00
fayjf
55c6100806 Implementing Larry Ramey's "glutExit" feature (see e-mails from him on 11/9/05, 6/28/06)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@724 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-21 04:00:14 +00:00
fayjf
9fffa516e3 Implementing first part of Windows version of "GLUT_CAPTIONLESS" and "GLUT_BORDERLESS" per feature request "[ 1197016 ] need GLUT_CAPTIONLESS window option". Needs more work; menus are slightly mispositioned, X11 version does not support it, banner appears at beginning but disappears on window resize. But this is a start.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@723 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-19 04:42:25 +00:00
fayjf
f5cd6eb893 Fixing Linux key-repeat mode bug reported in "[ 1796845 ] Keyboard events are lost when key repeat is enabled."
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@722 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-19 04:15:14 +00:00
fayjf
7234e21a11 Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick.c error"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@721 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-19 04:10:46 +00:00
fayjf
33c99dfafe Implementing feature request "[ 947118 ] Popup menu is hidden under the TOPMOST window"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@720 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 03:50:24 +00:00
fayjf
4433f7f336 Adding Takeshi Nishimura's Feature Request "[ 1045202 ] Cope with a menu with many items" -- sorry it took so long.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@719 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 03:22:11 +00:00
fayjf
179cf69128 Addressing Feature Request #1307049 that "freeglut" should return 0 if "glutGetWindow" is called without a prior call to "glutInit", rather than terminating on error.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@718 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 02:32:53 +00:00
fayjf
f0f836b78d Added Windows "nmake" Makefiles and dependency files for the two "freeglut" projects in accordance with Feature Request #1454543
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@717 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 02:26:39 +00:00
fayjf
146beb5f88 Fixing bug #1688954, submitted in Marcy '07. I changed "FREEGLUT" to _T("FREEGLUT") and nothing changed on my Windows XP system. If this will allow it to work on Vista, then in it goes.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@716 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-16 04:16:49 +00:00
fayjf
9c2a742925 Fixing bug report #1052151 from October 2004.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@715 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-16 03:57:04 +00:00
fayjf
c609d36203 Adding a Frequently Asked Questions file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@714 7f0cb862-5218-0410-a997-914c9d46530a
2006-11-28 19:01:13 +00:00
joekrahn
8575cb31c8 Removed incorrect comment about internal WGL/ARB definitions.
I actually had put those comments in because I had meant to go back and
re-check the WGL extension. But, maybe locally defined extensions
should be kept in a separate include file?


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@713 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-28 15:21:33 +00:00
joekrahn
6273d5e17b Added FREEGLUT_LIB_PRAGMAS to control MS library pragmas, and fixed NOMINMAX define.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@711 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-26 03:18:18 +00:00
fayjf
6fbecfbb6f Fixing a typo bug in the display mode checking (removing multisampling if it is not supported)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@709 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-25 14:27:10 +00:00
joekrahn
490ada7091 Fixed a small mistake in the previous commit for glutGet.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@708 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-25 02:41:15 +00:00
joekrahn
20684ece83 Added proper support for number of mouse buttons in X11, and
a keyboard in Windows CE. Also, several glutGet results returning
TRUE/FALSE were changed to 1/0, because the actual return type
is int (although they are technically the same in practice).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@707 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-25 02:39:33 +00:00
joekrahn
007f03763e Converted Time counter to a uniform unsigned long it value.
The initialized flag was redundant with the main Initialized flag,
and conversion of timeval to milliseconds in POSIX makes the code
cleaner. Timeval has a longer range, but the time value is already
limited by the GLUT API.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@706 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-24 21:28:38 +00:00
joekrahn
d38b3eeff0 Removed WindowState.IsGameMode; it is redundant with Structure.GameModeWindow
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@705 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-23 03:49:13 +00:00
fayjf
94662b8d1b Adding support for the multisampling query per bug report 1274193
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@704 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 22:39:12 +00:00
fayjf
938aa5fa90 Fixing Bug #1398196 - Windows message argument
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@703 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 22:06:57 +00:00
joekrahn
bedbe25db5 test (comment edited)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@702 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 19:20:17 +00:00
fayjf
2c85792a59 Adding temporary fix to "glutInitDisplayString" to ignore numerical assignments
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@701 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 19:02:14 +00:00
fayjf
4f6e4144b1 Adding multisampling to *nix and Windows; also some other pixel format enhancements to Windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@700 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 18:59:37 +00:00
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
e6727385dd Fixed typo in date
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@694 7f0cb862-5218-0410-a997-914c9d46530a
2006-08-05 16:29:28 +00:00
spanne
1fe75429c9 Updated build requirements for SuSE 10.1
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@693 7f0cb862-5218-0410-a997-914c9d46530a
2006-08-05 15:52:45 +00:00
spanne
9ea2a52be0 Ooops, forgot to ingore INSTALL and install-sh in previous commit...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@692 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-12 14:22:04 +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
fayjf
88b28ee963 Allowing compilation of Windows version by removing DLL decorations from deprecated joystick interface extensions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@689 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-06 14:01:56 +00:00
fayjf
dfaf1a5846 Implementing Stereo in Windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@688 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-06 13:53:42 +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
86ebda12d2 Necessary files for Open Watcom support
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@684 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 16:00:55 +00:00
fayjf
d62bf658f7 Adding Open Watcom support
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@683 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 14:33:33 +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
fayjf
a9ed0f7521 Implementing WATCOM support
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@681 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 13:10:40 +00:00
spanne
485ee9acb8 Nuked useless bit-fiddling, pointed out by John. I was a bit too quick to
cut-n-paste the cfmakeraw() definition into our code... :-]


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@680 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-14 12:54:24 +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
fayjf
322a290199 Fixing a cursor bug in \"GLUT_CURSOR_INHERIT\"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@677 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 20:25:07 +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
4901f840a9 Tiny cleanup only...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@674 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 11:38:27 +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
a37b090e46 Reverting previous commit: %lf is a valid format specifier for the scanf
familiy of functions only, not for the printf family.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@667 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-06 09:19:37 +00:00
fayjf
3ae354ad4b Implementing the new menu context variable names in Windows ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@666 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-05 14:39:07 +00:00
fayjf
e64851b09c Changing a comment ... nothing big.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@665 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-05 14:16:44 +00:00
fayjf
a51693c8fd Fixing output formats ... nothing big
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@664 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-05 13:54:18 +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
a3d9116d49 Tiny change to make grep's life easier: Rename the fields of the menu
context. Not really worth a ChangeLog entry...

IMHO it looks like we could kill the whole MenuContext stuff, it is of no
use currently and some things look strange, like e.g. having a context per
menu. The latter is not OK when a menu is attached to multiple windows.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@662 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-05 11:31:58 +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
b0c169e1dd Tiny cosmetic change, not worth a ChangeLog entry.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@658 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-02 12:56:08 +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
fayjf
edbb985462 Adding the \"freeglut_input_devices.c\" file to the Windows project files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@656 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-01 14:00:15 +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
e2ad6be7ff Fixed #ifdef for ChangeDisplaySettingsEx prototype.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@654 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-01 12:39:38 +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
948c2f3aac Ooops, forgot to set the current window in the last commit. I'll have to
test better before comitting... :-]


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@650 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-30 14:49:54 +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
a3c6ceb012 Ooops, forgot to dump a few fields in some events...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@647 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-30 11:45:34 +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
spanne
6446237de5 Ignore files generated during RPM build.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@645 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-30 11:03:25 +00:00
fayjf
5892d02528 Link to the 2.4.0 release announcement
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@644 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-27 12:38:13 +00:00
fayjf
47c6519cb7 Fixing the documentation regarding callbacks and geometry shape additions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@643 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-23 17:39:05 +00:00
fayjf
d81bca4108 Adding separate static library and DLL demonstration program projects
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@642 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-23 17:15:26 +00:00
fayjf
7e677e8148 Adding separate demo program projects for static library and DLL versions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@641 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-23 17:09:49 +00:00
fayjf
ff9455fb0c Adding support for separate static library demo programs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@640 7f0cb862-5218-0410-a997-914c9d46530a
2005-06-23 17:08:29 +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
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