Commit Graph

1979 Commits

Author SHA1 Message Date
Rcmaniac25
c89d3ed781 Implemented fg_window_blackberry.c to initialize and cleanup windows Implemented a BlackBerry specific fg_init so that bps can be started and stopped. 2014-01-23 22:42:04 -05:00
Rcmaniac25
e865fdfe54 Android and BlackBerry have a fair amount of overlap, for now. 2014-01-23 22:41:56 -05:00
Rcmaniac25
551458bb15 Initial commit of BlackBerry implementation. It compiles, but doesn't have required functions implemented. 2014-01-23 22:41:25 -05:00
Diederick Niehorster
944cdf1b8b Merge branch 'svn/trunk' 2014-01-23 10:28:31 +08:00
dcnieho
9b0e63e8da -sync command line option now causes X server to operate in synchronized/blocking mode
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1643 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-23 02:28:02 +00:00
Diederick Niehorster
0621394995 Merge branch 'svn/trunk' 2014-01-22 20:58:38 +08:00
dcnieho
f6a11225ad should be using GetKeyState not GetAsyncKeyState to check for modifier keys as we care which modifiers were active at the time of the key/mouse press we are processing
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1642 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-22 12:06:59 +00:00
Diederick Niehorster
7047fbbad0 Merge branch 'svn/trunk' 2014-01-22 18:10:15 +08:00
dcnieho
e8d8bdf9e3 implement handling of GLDebugSwitch: we use glutReportErrors to check for errors in each iteration of the glut mainloop if requested
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1641 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-22 10:09:57 +00:00
Diederick Niehorster
910dd744ca Merge branch 'svn/trunk' 2014-01-22 12:18:58 +08:00
jtsiomb
2b5292bb4f Applied Bruce Merry's patch fixing bug #206 (segfault on shutdown in the AMD/ATI fglrx driver).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1640 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-21 10:52:53 +00:00
jtsiomb
65e227d03d fixed timer.c: wouldn't compile in C89 mode due to recent change which added two
for loops with a loop variable declared in the statement itself.



git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1639 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-21 10:50:05 +00:00
dcnieho
2bbf66ef98 Fixed CMake UNIX config when building only "freeglut_static" or only the shared library
- was setting a property on "freeglut" while "FREEGLUT_BUILD_SHARED_LIBS" was "OFF"

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1638 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-18 01:57:14 +00:00
Diederick Niehorster
2ecd3fb6bf Merge branch 'svn/trunk' 2014-01-18 09:57:01 +08:00
Diederick C. Niehorster
e739fd4519 Merge pull request #7 from SRombauts/git_master
Fixed CMake UNIX config when building only the static or shared library
2014-01-17 17:56:20 -08:00
Sébastien Rombauts
5e24b99214 Fixed CMake UNIX config when building only "freeglut_static" or only the shared library
- was setting a property on "freeglut" while "FREEGLUT_BUILD_SHARED_LIBS" was "OFF"
2014-01-17 20:09:15 +01:00
Diederick Niehorster
0b67500f5d Merge branch 'svn/trunk' 2014-01-18 00:20:59 +08:00
dcnieho
0be6109313 timer demo now has a menu to:
- set flicker tempo
- test whether menus can be modified in the callback (there was a regression with this in freeglut 2.8.1 that was perchance already fixed in r1583, but make sure we're testing this from now on)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1637 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 16:18:46 +00:00
dcnieho
5757433d2a add small note: closing menu before executing callback is also important so that the callback can actually modify the menu
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1636 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 16:18:35 +00:00
dcnieho
bf2ff7171a add another call for forking and helping out implementing new features
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1635 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 13:40:47 +00:00
Diederick Niehorster
ce10731246 Merge branch 'svn/trunk' 2014-01-17 21:40:37 +08:00
dcnieho
cef8d0ce5c add 10bit display formats to todo list
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1634 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 13:40:35 +00:00
dcnieho
1acb96bfe4 putting BB10 in progrss list
updating links now that sf.net project is upgraded to new interface
putting word out for github clone and request pull requests there

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1633 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 13:27:15 +00:00
Diederick Niehorster
63c01d926f Merge branch 'svn/trunk' 2014-01-16 10:07:31 +08:00
dcnieho
3ca229e04c Creade readme for git repo on github.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1632 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-16 02:07:29 +00:00
Diederick C. Niehorster
1c9264df4b Creade readme for git repo on github. 2014-01-16 10:06:31 +08:00
Diederick Niehorster
66e9bfe558 Merged from branch 'trunk' 2014-01-15 11:33:21 +08:00
dcnieho
792de931b7 note about using near far variable names
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1631 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-15 03:22:37 +00:00
Diederick C. Niehorster
f3371afb96 Merge pull request #6 from dcnieho/bugfix_nearfar_defines
note about using near far variable names
2014-01-13 07:52:34 -08:00
Diederick Niehorster
7bf204a28d note about using near far variable names 2014-01-13 23:49:03 +08:00
dcnieho
de5b5ddf74 Created or replaced branch /trunk from /trunk:1627
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1630 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-11 04:56:50 +00:00
dcnieho
2715e0929e Fixing problem with non-client area becoming unresponsive on Windows due to mouse capture that isn't released. Thanks Philipp Kutin (on list!) for figuring this out and proposing a solution.
-> It appears GetAsyncKeyState's return can be non-zero even when the queried key is not pressed

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1627 7f0cb862-5218-0410-a997-914c9d46530a
2013-11-09 05:33:02 +00:00
jtsiomb
855c10d908 Applied James DeLisle's patch adding EWMH _NET_WM_PID support.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1626 7f0cb862-5218-0410-a997-914c9d46530a
2013-08-28 14:33:07 +00:00
beuc
925f7446b7 Find this kind of bug is definitely out of my juridiction - please, PLEASE maintain a list of changes to apply on each port. Having negative elapsed time messed the animations so weird that you can't guess where that came from.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1625 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 17:04:04 +00:00
beuc
ad7b684681 Update SVN instructions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1624 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:13:27 +00:00
beuc
57176e0bcd Make Android work again - adapt to recent changes and fix use of GL-nonES function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1623 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:05:39 +00:00
beuc
8ff008e3d7 Identify Android thread in the logs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1622 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:02:32 +00:00
beuc
2f2ee68986 Fix random crash
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1621 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:01:33 +00:00
beuc
efa4318cca Fix compilation warning about unused variables and functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1620 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 14:57:13 +00:00
beuc
7d21c989bf Document the need to install MESA-GLES development files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1619 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 14:54:55 +00:00
dcnieho
59a8038d1c fgProcessWork, not fgPlatformProcessWork
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1618 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-20 14:04:21 +00:00
dcnieho
6e7e3375a3 strip out GLUT_DISPLAY_CALLBACK from worklist _before_ calling display callback. Any postredisplay in the display callback will then be honored, but no unnecessary redisplay work will be called due to redisplays queued during resize, visibility and other such processing
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1617 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-20 14:04:06 +00:00
dcnieho
42dc7ef4bf should not strip out GLUT_DISPLAY_CALLBACK at the end of processing work. It kills the glutPostRedisplay inside the display callback method of getting your window continuously redrawn...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1616 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-18 01:53:21 +00:00
dcnieho
8d979f3c7e part of dealing with work is platform independent, so moved it to platform independent part of code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1615 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-07 12:21:03 +00:00
dcnieho
5658b01337 redisplay is now also on the work list instead of handled separately
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1614 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-07 08:04:46 +00:00
dcnieho
28539c8e95 doc that timers are sorted by endtime + don't call fgElapsedTime() if no timers to check, its a waste
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1613 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-07 08:03:48 +00:00
dcnieho
02bb655c5c Menu's work again in gamemode too now. We have to do a normal ShowWindow in gamemode, or the menu won't pop up over the gamemode window.
Also now using fgState.ActiveMenus instead of enumerating to see if there is an active menu

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1612 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-06 14:08:59 +00:00
dcnieho
60e65375c1 cleanup a debug statement
show flag should be SW_SHOWNA, not SW_SHOWNOACTIVATE according to docs

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1611 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-06 10:20:42 +00:00
dcnieho
123c48b2ae clicking in another window also no longer closed the menu unless focus was changed. Fixed in click checker in general menu code, so it'll improve menus on X11 as well. Our Windows part now only needed for when losing focus because switching to a non-FreeGLUT window
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1610 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-06 10:17:04 +00:00
dcnieho
7ae2b6eee1 now that menu's no longer take focus from their parent, clicking the non-client area of the parent no longer closed the menu. fixed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1609 7f0cb862-5218-0410-a997-914c9d46530a
2013-04-06 10:16:27 +00:00