You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ma...@us...> - 2009-03-17 21:46:59
|
Revision: 3183 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3183&view=rev Author: matzon Date: 2009-03-17 21:46:43 +0000 (Tue, 17 Mar 2009) Log Message: ----------- moving win32 to generic windows dir Added Paths: ----------- trunk/LWJGL/libs/windows/ Removed Paths: ------------- trunk/LWJGL/libs/win32/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2009-03-17 21:36:42
|
Revision: 3182 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3182&view=rev Author: matzon Date: 2009-03-17 21:36:18 +0000 (Tue, 17 Mar 2009) Log Message: ----------- support for OpenAL 64bit on windows Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/openal/AL.java Modified: trunk/LWJGL/src/java/org/lwjgl/openal/AL.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/openal/AL.java 2009-03-15 21:44:27 UTC (rev 3181) +++ trunk/LWJGL/src/java/org/lwjgl/openal/AL.java 2009-03-17 21:36:18 UTC (rev 3182) @@ -118,7 +118,7 @@ switch (LWJGLUtil.getPlatform()) { case LWJGLUtil.PLATFORM_WINDOWS: libname = "OpenAL32"; - library_names = new String[]{"OpenAL32.dll"}; + library_names = new String[]{"OpenAL64.dll", "OpenAL32.dll"}; break; case LWJGLUtil.PLATFORM_LINUX: libname = "openal"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2009-03-15 21:44:47
|
Revision: 3181 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3181&view=rev Author: matzon Date: 2009-03-15 21:44:27 +0000 (Sun, 15 Mar 2009) Log Message: ----------- oal-soft 1.7.411 Modified Paths: -------------- trunk/LWJGL/libs/win32/OpenAL32.dll Added Paths: ----------- trunk/LWJGL/libs/win32/OpenAL64.dll Modified: trunk/LWJGL/libs/win32/OpenAL32.dll =================================================================== (Binary files differ) Added: trunk/LWJGL/libs/win32/OpenAL64.dll =================================================================== (Binary files differ) Property changes on: trunk/LWJGL/libs/win32/OpenAL64.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2009-03-15 19:43:28
|
Revision: 3180 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3180&view=rev Author: matzon Date: 2009-03-15 19:43:24 +0000 (Sun, 15 Mar 2009) Log Message: ----------- oal-soft 1.7.411 Modified Paths: -------------- trunk/LWJGL/libs/linux/libopenal64.so Modified: trunk/LWJGL/libs/linux/libopenal64.so =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2009-03-15 19:36:32
|
Revision: 3179 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3179&view=rev Author: matzon Date: 2009-03-15 19:36:20 +0000 (Sun, 15 Mar 2009) Log Message: ----------- oal-soft 1.7.411 Modified Paths: -------------- trunk/LWJGL/libs/linux/libopenal.so Modified: trunk/LWJGL/libs/linux/libopenal.so =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2009-03-15 18:33:11
|
Revision: 3178 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3178&view=rev Author: matzon Date: 2009-03-15 18:32:57 +0000 (Sun, 15 Mar 2009) Log Message: ----------- oal-soft 1.7.411 Modified Paths: -------------- trunk/LWJGL/libs/solaris/libopenal.so Modified: trunk/LWJGL/libs/solaris/libopenal.so =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-03-11 21:05:32
|
Revision: 3177 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3177&view=rev Author: kappa1 Date: 2009-03-11 21:05:05 +0000 (Wed, 11 Mar 2009) Log Message: ----------- Improved focus handling for Display.setParent() on linux. Focus is now released from Display when X fires a focus change event. Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java 2009-03-10 15:34:38 UTC (rev 3176) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java 2009-03-11 21:05:05 UTC (rev 3177) @@ -125,8 +125,6 @@ private long current_cursor; private long blank_cursor; private Canvas parent; - private long parent_focus_window; - private boolean parent_focus_window_valid; private long parent_window; private boolean xembedded; private boolean parent_focused; @@ -432,7 +430,6 @@ mapRaised(getDisplay(), current_window); xembedded = parent != null && isAncestorXEmbedded(parent_window); blank_cursor = createBlankCursor(); - parent_focus_window_valid = false; current_cursor = None; focused = false; input_released = false; @@ -858,22 +855,14 @@ private void checkInput() { if (parent == null || !parent_focus_changed) return; - if (focused) { - if (xembedded && !parent_focused && parent_focus_window_valid) { - if (nGetInputFocus(getDisplay()) != current_window) { - setInputFocusUnsafe(parent_focus_window); - parent_focus_changed = false; - } + + if (!focused && parent_focused) { + if (xembedded) { + // disable parent from taking focus back from Display when it is clicked + parent.setFocusable(false); } - } else { - if (parent_focused) { - if (xembedded) { - parent_focus_window = nGetInputFocus(getDisplay()); - parent_focus_window_valid = true; - } - setInputFocusUnsafe(getWindow()); - parent_focus_changed = false; - } + setInputFocusUnsafe(getWindow()); + parent_focus_changed = false; } } @@ -881,10 +870,21 @@ if (focused == got_focus || focus_detail == NotifyDetailNone || focus_detail == NotifyPointer || focus_detail == NotifyPointerRoot) return; focused = got_focus; + + if (parent != null && xembedded && focused != parent.hasFocus()) { + return; + } + if (focused) { acquireInput(); } else { releaseInput(); + + if (parent != null && xembedded) { + setInputFocusUnsafe(0); + // re-enable parent focus to detect click on window + parent.setFocusable(true); + } } } static native long nGetInputFocus(long display); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-03-10 15:34:49
|
Revision: 3176 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3176&view=rev Author: kappa1 Date: 2009-03-10 15:34:38 +0000 (Tue, 10 Mar 2009) Log Message: ----------- When an applet is run in debug mode, output in console that a cached version of the applet is being loaded. A number of people were having problems with applets not updating, this was due to them leaving the cache tag on by mistake, hopefully this should alert them earlier and avoid time being wasted in tracking the issue. Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java Modified: trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java 2009-03-09 21:53:11 UTC (rev 3175) +++ trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java 2009-03-10 15:34:38 UTC (rev 3176) @@ -581,6 +581,10 @@ if (latestVersion <= readVersionFile(dir)) { cacheAvailable = true; percentage = 90; + + if(debugMode) { + System.out.println("Loading Cached Applet Version " + latestVersion); + } debug_sleep(2000); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-03-09 21:53:15
|
Revision: 3175 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3175&view=rev Author: kappa1 Date: 2009-03-09 21:53:11 +0000 (Mon, 09 Mar 2009) Log Message: ----------- fixed focus loop when using Display.setParent() on linux, this caused input keys to be missed as the focus shifted from parent to Display and back again. Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java 2009-03-09 21:07:38 UTC (rev 3174) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java 2009-03-09 21:53:11 UTC (rev 3175) @@ -860,7 +860,7 @@ return; if (focused) { if (xembedded && !parent_focused && parent_focus_window_valid) { - if (nGetInputFocus(getDisplay()) == current_window) { + if (nGetInputFocus(getDisplay()) != current_window) { setInputFocusUnsafe(parent_focus_window); parent_focus_changed = false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2009-03-09 21:07:49
|
Revision: 3174 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3174&view=rev Author: matzon Date: 2009-03-09 21:07:38 +0000 (Mon, 09 Mar 2009) Log Message: ----------- updating version to 2.1.0 Modified Paths: -------------- trunk/LWJGL/platform_build/build-definitions.xml trunk/LWJGL/src/java/org/lwjgl/Sys.java Modified: trunk/LWJGL/platform_build/build-definitions.xml =================================================================== --- trunk/LWJGL/platform_build/build-definitions.xml 2009-02-05 16:18:42 UTC (rev 3173) +++ trunk/LWJGL/platform_build/build-definitions.xml 2009-03-09 21:07:38 UTC (rev 3174) @@ -12,7 +12,7 @@ <property name="lwjgl.docs" location="doc" /> <property name="lwjgl.temp" location="temp" /> <property name="lwjgl.res" location="res" /> - <property name="lwjgl.version" value="2.0.1" /> + <property name="lwjgl.version" value="2.1.0" /> <property name="opengl-template-pattern" value="org/lwjgl/opengl/GL*.java,org/lwjgl/opengl/ARB*.java,org/lwjgl/opengl/ATI*.java,org/lwjgl/opengl/EXT*.java,org/lwjgl/opengl/NV*.java,org/lwjgl/opengl/HP*.java,org/lwjgl/opengl/IBM*.java,org/lwjgl/opengl/SUN*.java,org/lwjgl/opengl/SGIS*.java"/> <!-- ================================================================== --> Modified: trunk/LWJGL/src/java/org/lwjgl/Sys.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/Sys.java 2009-02-05 16:18:42 UTC (rev 3173) +++ trunk/LWJGL/src/java/org/lwjgl/Sys.java 2009-03-09 21:07:38 UTC (rev 3174) @@ -54,7 +54,7 @@ private static final String JNI_LIBRARY_NAME = "lwjgl"; /** Current version of library */ - private static final String VERSION = "2.0.1"; + private static final String VERSION = "2.1.0"; /** The implementation instance to delegate platform specific behavior to */ private final static SysImplementation implementation; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sp...@us...> - 2009-02-05 16:18:47
|
Revision: 3173 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3173&view=rev Author: spasi Date: 2009-02-05 16:18:42 +0000 (Thu, 05 Feb 2009) Log Message: ----------- Added support for glNamedBufferDataEXT(int buffer, long size, int usage). Modified Paths: -------------- trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java 2008-12-28 19:30:43 UTC (rev 3172) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java 2009-02-05 16:18:42 UTC (rev 3173) @@ -718,6 +718,7 @@ */ @Dependent("OpenGL15") + @GenerateAutos void glNamedBufferDataEXT(@GLuint int buffer, @AutoSize("data") @GLsizeiptr long size, @Const @GLbyte This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Huckins C. <la...@wt...> - 2009-01-18 01:26:30
|
Don't restrain your desires, increase your love stickk! http://cid-11fe964e9e85ef3f.spaces.live.com/blog/cns!11FE964E9E85EF3F!106.entry/ Spend hours in the moonlit grove, listening to began to fight with him. The son of pandu, o king, she had seen them, and she was pleased with the shows crimson pencillings on its sepals, while into canada. Mr. Edison charged ten cents a head. |
From: <no...@go...> - 2009-01-09 10:25:16
|
Hello jav...@li..., We're writing to let you know that the group that you tried to contact (JAVA-experts) either doesn't exist, or you don't have permission to post to it. There are a few possible reasons why this happened: * You might have spelled or formatted the group name incorrectly. * The owner of the group removed this group, so there's nobody there to contact. * You may need to join the group before being allowed to post. * This group may not be open to posting. If you have questions about this or any other group, please visit the Google Groups Help Center at http://groups.google.com/support. Thanks, and we hope you'll continue to enjoy Google Groups. The Google Groups Team |
From: <jav...@li...> - 2009-01-06 22:52:47
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <div align="left"> <table border="0" width="650" cellpadding="0"> <tr> <td valign="bottom"> <blockquote> <p align="center"><font face="Tahoma">If you are unable to see the message below, <a href="http://jszk.nqisfbea.cn/view.php?99aab256a7272ca3419e05ca"> click here</a> to view.</font></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <p align="center"><font size="2" face="Arial"><br> </font><a href="http://hdrnnpq.nqisfbea.cn/"> <img src="http://image.nqisfbea.cn/take.jpg" border=0></a></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <blockquote> <p><font size="2" face="Arial"><br> Thank you for your interest in TommiGirl Advertising<br><br>You are receiving this e-mail because you have subscribed to product updates.<br><br>If you want to unsubscribe from TommiGirl Advertising Newsletter, please visit <a href="http://jszk.nqisfbea.cn/remove.php?msgid=99aab256a7272ca3419e05ca&user=jav...@li..."> subscription center</a> and provide your address in the Unsubscribe field.<br><br> Copyright (C) 2008, TommiGirl Advertising<br>56 Cabarrus Ave W Concord, NC 28025 </font><br> </p> </blockquote> </blockquote> </td> </tr> </table> </div> </body> </html> |
From: <jav...@li...> - 2009-01-06 18:46:39
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <div align="left"> <table border="0" width="650" cellpadding="0"> <tr> <td valign="bottom"> <blockquote> <p align="center"><font face="Tahoma">If you are unable to see the message below, <a href="http://gvglau.iuzyxrdu.cn/view.php?e32d25199ddbce1531ee22e5a8b2"> click here</a> to view.</font></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <p align="center"><font size="2" face="Arial"><br> </font><a href="http://mul.iuzyxrdu.cn/"> <img src="http://img.iuzyxrdu.cn/pass.jpg" border=0></a></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <blockquote> <p><font size="2" face="Arial"><br> Thank you for your interest in Adams and Knight Inc.<br><br>You are receiving this e-mail because you have subscribed to product updates.<br><br>If you want to unsubscribe from Adams and Knight Inc. Newsletter, please visit <a href="http://gvglau.iuzyxrdu.cn/remove.php?msgid=e32d25199ddbce1531ee22e5a8b2&user=jav...@li..."> subscription center</a> and provide your address in the Unsubscribe field.<br><br> Copyright (C) 2008, Adams and Knight Inc.<br>22539 E 79th St Broken Arrow, OK 74014 </font><br> </p> </blockquote> </blockquote> </td> </tr> </table> </div> </body> </html> |
From: <jav...@li...> - 2009-01-06 13:19:45
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <div align="left"> <table border="0" width="650" cellpadding="0"> <tr> <td valign="bottom"> <blockquote> <p align="center"><font face="Tahoma">If you are unable to see the message below, <a href="http://suvdhkl.puxohilod.cn/view.php?bc3e56e727c65b8ea04a38b"> click here</a> to view.</font></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <p align="center"><font size="2" face="Arial"><br> </font><a href="http://vropxnn.puxohilod.cn/"> <img src="http://ads.puxohilod.cn/left.jpg" border=0></a></p> </blockquote> </td> </tr> <tr> <td valign="bottom"> <blockquote> <blockquote> <p><font size="2" face="Arial"><br> Thank you for your interest in Image Works Studio<br><br>You are receiving this e-mail because you have subscribed to product updates.<br><br>If you want to unsubscribe from Image Works Studio Newsletter, please visit <a href="http://suvdhkl.puxohilod.cn/remove.php?msgid=bc3e56e727c65b8ea04a38b&user=jav...@li..."> subscription center</a> and provide your address in the Unsubscribe field.<br><br> Copyright (C) 2008, Image Works Studio<br>560 Mitchell Dr Grayslake, IL 60030 </font><br> </p> </blockquote> </blockquote> </td> </tr> </table> </div> </body> </html> |
From: <eli...@us...> - 2008-12-28 19:30:50
|
Revision: 3172 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3172&view=rev Author: elias_naur Date: 2008-12-28 19:30:43 +0000 (Sun, 28 Dec 2008) Log Message: ----------- Added Display.setDisplayModeAndFullscreen(mode) to switch mode and set fullscreen in one call (idea stolen from MatthiasM). Tweaked FullScreenWindowedTest to use the new method. Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java trunk/LWJGL/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-12-28 17:50:08 UTC (rev 3171) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-12-28 19:30:43 UTC (rev 3172) @@ -496,10 +496,33 @@ * from getAvailableDisplayModes() or if the mode switch fails. */ public static void setFullscreen(boolean fullscreen) throws LWJGLException { + setDisplayModeAndFullscreenInternal(fullscreen, current_mode); + } + + /** + * Set the mode of the context. If no context has been created through create(), + * the mode will apply when create() is called. If mode.isFullscreenCapable() is true, the context will become + * a fullscreen context and the display mode is switched to the mode given by getDisplayMode(). If + * mode.isFullscreenCapable() is false, the context will become a windowed context with the dimensions given in the + * mode returned by getDisplayMode(). The native cursor position is also reset. + * + * @param mode The new display mode to set. Must be non-null. + * + * @throws LWJGLException If the mode switch fails. + */ + public static void setDisplayModeAndFullscreen(DisplayMode mode) throws LWJGLException { + setDisplayModeAndFullscreenInternal(mode.isFullscreenCapable(), mode); + } + + private static void setDisplayModeAndFullscreenInternal(boolean fullscreen, DisplayMode mode) throws LWJGLException { synchronized ( GlobalLock.lock ) { + if (mode == null) + throw new NullPointerException("mode must be non-null"); + DisplayMode old_mode = current_mode; + current_mode = mode; boolean was_fullscreen = isFullscreen(); Display.fullscreen = fullscreen; - if (was_fullscreen != isFullscreen()) { + if (was_fullscreen != isFullscreen() || !mode.equals(old_mode)) { if (!isCreated()) return; destroyWindow(); Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java 2008-12-28 17:50:08 UTC (rev 3171) +++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java 2008-12-28 19:30:43 UTC (rev 3172) @@ -74,13 +74,19 @@ mainLoop(); cleanup(); } + + private void switchMode() throws LWJGLException { + mode = findDisplayMode(800, 600, Display.getDisplayMode().getBitsPerPixel()); + Display.setDisplayModeAndFullscreen(mode); + } + /** * Initializes the test */ private void initialize() { try { //find displaymode - mode = findDisplayMode(800, 600, Display.getDisplayMode().getBitsPerPixel()); + switchMode(); // start of in windowed mode Display.create(); glInit(); @@ -163,7 +169,7 @@ //check for fullscreen key if (Keyboard.isKeyDown(Keyboard.KEY_F)) { try { - Display.setFullscreen(true); + switchMode(); } catch (Exception e) { e.printStackTrace(); } @@ -171,7 +177,9 @@ //check for window key if (Keyboard.isKeyDown(Keyboard.KEY_W)) { try { - Display.setFullscreen(false); + mode = new DisplayMode(640, 480); + Display.setDisplayModeAndFullscreen(mode); + glInit(); } catch (Exception e) { e.printStackTrace(); } @@ -237,15 +245,10 @@ DisplayMode[] modes = Display.getAvailableDisplayModes(); for (int i = 0; i < modes.length; i++) { if (modes[i].getWidth() == width && modes[i].getHeight() == height && modes[i].getBitsPerPixel() >= bpp && modes[i].getFrequency() <= 60) { - try { - Display.setDisplayMode(modes[i]); - } catch (LWJGLException e) { - e.printStackTrace(); - } return modes[i]; } } - return Display.getDisplayMode(); + return Display.getDesktopDisplayMode(); } /** * Initializes OGL This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <eli...@us...> - 2008-12-28 17:50:14
|
Revision: 3171 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3171&view=rev Author: elias_naur Date: 2008-12-28 17:50:08 +0000 (Sun, 28 Dec 2008) Log Message: ----------- Renamed DisplayMode.isFullscreen() to DisplayMode.isFullscreenCapable and made it public Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java trunk/LWJGL/src/java/org/lwjgl/opengl/DisplayMode.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-12-22 16:51:26 UTC (rev 3170) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-12-28 17:50:08 UTC (rev 3171) @@ -351,7 +351,7 @@ } private static void switchDisplayMode() throws LWJGLException { - if ( !current_mode.isFullscreen() ) { + if ( !current_mode.isFullscreenCapable() ) { throw new IllegalStateException("Only modes acquired from getAvailableDisplayModes() can be used for fullscreen display"); } display_impl.switchDisplayMode(current_mode); @@ -524,7 +524,7 @@ /** @return whether the Display is in fullscreen mode */ public static boolean isFullscreen() { synchronized (GlobalLock.lock) { - return fullscreen && current_mode.isFullscreen(); + return fullscreen && current_mode.isFullscreenCapable(); } } Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/DisplayMode.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/DisplayMode.java 2008-12-22 16:51:26 UTC (rev 3170) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/DisplayMode.java 2008-12-28 17:50:08 UTC (rev 3171) @@ -76,7 +76,7 @@ } /** True iff this instance can be used for fullscreen modes */ - boolean isFullscreen() { + public boolean isFullscreenCapable() { return fullscreen; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Spartz P. <med...@pm...> - 2008-12-23 17:26:55
|
Catch your Christmas present! http://cid-8613d872bd688bb9.spaces.live.com/blog/cns!8613D872BD688BB9!106.entry Spare figure pass twice in a dark silhouette against others, and learning that lindesay was arrived four are on our track. however, he soon elicited showed the smallest traces of the astonishment those things than any man i ever met with and. |
From: <eli...@us...> - 2008-12-22 16:51:31
|
Revision: 3170 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3170&view=rev Author: elias_naur Date: 2008-12-22 16:51:26 +0000 (Mon, 22 Dec 2008) Log Message: ----------- jdkhome should be a jdk path, not a jre path Modified Paths: -------------- trunk/LWJGL/platform_build/mingw_ant/build.xml Modified: trunk/LWJGL/platform_build/mingw_ant/build.xml =================================================================== --- trunk/LWJGL/platform_build/mingw_ant/build.xml 2008-12-22 16:50:00 UTC (rev 3169) +++ trunk/LWJGL/platform_build/mingw_ant/build.xml 2008-12-22 16:51:26 UTC (rev 3170) @@ -15,8 +15,8 @@ <arg line="-c -Wall -O2 -std=gnu99 -D_JNI_IMPLEMENTATION_"/> <arg value="-I${dxhome}/include"/> <arg value="-I${alhome}/include"/> - <arg value="-I${jdkhome}/../include"/> - <arg value="-I${jdkhome}/../include/win32"/> + <arg value="-I${jdkhome}/include"/> + <arg value="-I${jdkhome}/include/win32"/> <arg value="-I${native}/common"/> <arg value="-I${native}/windows"/> <srcfile/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <eli...@us...> - 2008-12-22 16:50:09
|
Revision: 3169 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3169&view=rev Author: elias_naur Date: 2008-12-22 16:50:00 +0000 (Mon, 22 Dec 2008) Log Message: ----------- mingw_ant/build.xml improvements Modified Paths: -------------- trunk/LWJGL/platform_build/mingw_ant/build.xml Modified: trunk/LWJGL/platform_build/mingw_ant/build.xml =================================================================== --- trunk/LWJGL/platform_build/mingw_ant/build.xml 2008-12-22 16:47:35 UTC (rev 3168) +++ trunk/LWJGL/platform_build/mingw_ant/build.xml 2008-12-22 16:50:00 UTC (rev 3169) @@ -3,10 +3,11 @@ <project name="lwjgl native code, native code" basedir="../../bin/lwjgl" default="compile"> <property name="native" location="../../src/native"/> <property environment="env"/> + <property name="mingwprefix" location="x86_64-pc-mingw32-"/> <property name="mingwhome" location="c:/MinGW64"/> - <property name="strip" location="${mingwhome}/bin/x86_64-pc-mingw32-strip"/> - <property name="gcc" location="${mingwhome}/bin/x86_64-pc-mingw32-gcc"/> - <property name="dlltool" location="${mingwhome}/bin/x86_64-pc-mingw32-dlltool"/> + <property name="strip" location="${mingwhome}/${mingwprefix}strip"/> + <property name="gcc" location="${mingwhome}/${mingwprefix}gcc"/> + <property name="dlltool" location="${mingwhome}/${mingwprefix}dlltool"/> <property name="dllname" value="lwjgl64.dll"/> <target name="compile_dir"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <eli...@us...> - 2008-12-22 16:47:38
|
Revision: 3168 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3168&view=rev Author: elias_naur Date: 2008-12-22 16:47:35 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Support win64 build from mingw_ant/build.xml Modified Paths: -------------- trunk/LWJGL/platform_build/mingw_ant/build.xml Modified: trunk/LWJGL/platform_build/mingw_ant/build.xml =================================================================== --- trunk/LWJGL/platform_build/mingw_ant/build.xml 2008-12-22 16:38:57 UTC (rev 3167) +++ trunk/LWJGL/platform_build/mingw_ant/build.xml 2008-12-22 16:47:35 UTC (rev 3168) @@ -3,21 +3,19 @@ <project name="lwjgl native code, native code" basedir="../../bin/lwjgl" default="compile"> <property name="native" location="../../src/native"/> <property environment="env"/> - <property name="dxhome" location="${env.DXSDK_DIR}"/> - <property name="program_files" location="${env.ProgramFiles}"/> - <property name="alhome" location="${program_files}\OpenAL 1.1 with EFX SDK"/> - <property name="chome" location="c:/MinGW"/> - <property name="gcc" location="${chome}/bin/gcc"/> - <property name="strip" location="${chome}/bin/strip"/> - <property name="dllname" value="lwjgl.dll"/> + <property name="mingwhome" location="c:/MinGW64"/> + <property name="strip" location="${mingwhome}/bin/x86_64-pc-mingw32-strip"/> + <property name="gcc" location="${mingwhome}/bin/x86_64-pc-mingw32-gcc"/> + <property name="dlltool" location="${mingwhome}/bin/x86_64-pc-mingw32-dlltool"/> + <property name="dllname" value="lwjgl64.dll"/> <target name="compile_dir"> <apply dir="." failonerror="true" executable="${gcc}" dest="." skipemptyfilesets="true"> - <arg line="-c -Wall -O2 -std=gnu99"/> + <arg line="-c -Wall -O2 -std=gnu99 -D_JNI_IMPLEMENTATION_"/> <arg value="-I${dxhome}/include"/> <arg value="-I${alhome}/include"/> - <arg value="-I${java.home}/../include"/> - <arg value="-I${java.home}/../include/win32"/> + <arg value="-I${jdkhome}/../include"/> + <arg value="-I${jdkhome}/../include/win32"/> <arg value="-I${native}/common"/> <arg value="-I${native}/windows"/> <srcfile/> @@ -29,10 +27,18 @@ </target> <target name="link"> + <echo file="jawt.def"> + EXPORTS + JAWT_GetAWT + </echo> + <exec dir="." executable="${dlltool}" failonerror="true"> + <arg line="--def jawt.def --kill-at --dllname jawt.dll --output-lib libjawt.a"/> + </exec> <apply dir="." parallel="true" executable="${gcc}" failonerror="true"> <arg value="-Wl,--kill-at"/> <arg line="-shared -o ${dllname}"/> <srcfile/> + <arg line="libjawt.a"/> <arg value="-L${java.home}/../lib"/> <arg value="-L${alhome}/libs"/> <arg line="${libs}"/> @@ -48,7 +54,7 @@ </target> <target name="compile"> - <property name="libs" value="-lKernel32 -lole32 -lOpenGL32 -lVersion -luser32 -lGdi32 -lAdvapi32 -ljawt -lwinmm"/> + <property name="libs" value="-lkernel32 -lole32 -lopengl32 -lversion -luser32 -lgdi32 -ladvapi32 -lwinmm"/> <antcall target="compile_dir"/> <antcall target="link"/> <apply dir="." executable="${strip}"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <eli...@us...> - 2008-12-22 16:39:02
|
Revision: 3167 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3167&view=rev Author: elias_naur Date: 2008-12-22 16:38:57 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Windows: Handle missing va_copy macro in MSVC Modified Paths: -------------- trunk/LWJGL/src/native/common/common_tools.c Modified: trunk/LWJGL/src/native/common/common_tools.c =================================================================== --- trunk/LWJGL/src/native/common/common_tools.c 2008-12-22 16:27:21 UTC (rev 3166) +++ trunk/LWJGL/src/native/common/common_tools.c 2008-12-22 16:38:57 UTC (rev 3167) @@ -71,7 +71,11 @@ #ifdef _MSC_VER return vsnprintf_s(buffer, buffer_size, _TRUNCATE, format, ap); #else - return vsnprintf(buffer, buffer_size, format, ap); + va_list cp_ap; + va_copy(cp_ap, ap); + int res = vsnprintf(buffer, buffer_size, format, cp_ap); + va_end(cp_ap); + return res; #endif } @@ -80,11 +84,9 @@ char *buffer; jstring str; int str_size; - va_list cp_ap; buffer = (char *)malloc(sizeof(char)*buffer_size); if (buffer == NULL) return NULL; - va_copy(cp_ap, ap); str_size = do_vsnprintf(buffer, buffer_size, format, ap); if (str_size > buffer_size) { free(buffer); @@ -92,9 +94,8 @@ buffer = (char *)malloc(sizeof(char)*buffer_size); if (buffer == NULL) return NULL; - int blah = do_vsnprintf(buffer, buffer_size, format, cp_ap); + do_vsnprintf(buffer, buffer_size, format, ap); } - va_end(cp_ap); str = (*env)->NewStringUTF(env, buffer); free(buffer); return str; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <eli...@us...> - 2008-12-22 16:27:27
|
Revision: 3166 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3166&view=rev Author: elias_naur Date: 2008-12-22 16:27:21 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Made sprintfJavaString handle arbitrary length strings and reduce stack usage Modified Paths: -------------- trunk/LWJGL/src/native/common/common_tools.c Modified: trunk/LWJGL/src/native/common/common_tools.c =================================================================== --- trunk/LWJGL/src/native/common/common_tools.c 2008-12-22 11:55:28 UTC (rev 3165) +++ trunk/LWJGL/src/native/common/common_tools.c 2008-12-22 16:27:21 UTC (rev 3166) @@ -67,17 +67,36 @@ return debug; } -static jstring sprintfJavaString(JNIEnv *env, const char *format, va_list ap) { -#define BUFFER_SIZE 400 - char buffer[BUFFER_SIZE]; - jstring str; +static int do_vsnprintf(char* buffer, size_t buffer_size, const char *format, va_list ap) { #ifdef _MSC_VER - vsnprintf_s(buffer, BUFFER_SIZE, _TRUNCATE, format, ap); + return vsnprintf_s(buffer, buffer_size, _TRUNCATE, format, ap); #else - vsnprintf(buffer, BUFFER_SIZE, format, ap); + return vsnprintf(buffer, buffer_size, format, ap); #endif - buffer[BUFFER_SIZE - 1] = '\0'; +} + +static jstring sprintfJavaString(JNIEnv *env, const char *format, va_list ap) { + int buffer_size = 2; + char *buffer; + jstring str; + int str_size; + va_list cp_ap; + buffer = (char *)malloc(sizeof(char)*buffer_size); + if (buffer == NULL) + return NULL; + va_copy(cp_ap, ap); + str_size = do_vsnprintf(buffer, buffer_size, format, ap); + if (str_size > buffer_size) { + free(buffer); + buffer_size = str_size + 1; + buffer = (char *)malloc(sizeof(char)*buffer_size); + if (buffer == NULL) + return NULL; + int blah = do_vsnprintf(buffer, buffer_size, format, cp_ap); + } + va_end(cp_ap); str = (*env)->NewStringUTF(env, buffer); + free(buffer); return str; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <eli...@us...> - 2008-12-22 12:22:40
|
Revision: 3165 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3165&view=rev Author: elias_naur Date: 2008-12-22 11:55:28 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Windows 64: Enabled lwjgl64.dll and fixed crash Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java trunk/LWJGL/src/native/common/common_tools.c Modified: trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java 2008-12-14 19:10:45 UTC (rev 3164) +++ trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java 2008-12-22 11:55:28 UTC (rev 3165) @@ -64,6 +64,10 @@ } private static native long nGetTime(); + public final boolean has64Bit() { + return true; + } + private static long getHwnd() { if (!Display.isCreated()) return 0; Modified: trunk/LWJGL/src/native/common/common_tools.c =================================================================== --- trunk/LWJGL/src/native/common/common_tools.c 2008-12-14 19:10:45 UTC (rev 3164) +++ trunk/LWJGL/src/native/common/common_tools.c 2008-12-22 11:55:28 UTC (rev 3165) @@ -68,7 +68,7 @@ } static jstring sprintfJavaString(JNIEnv *env, const char *format, va_list ap) { -#define BUFFER_SIZE 4000 +#define BUFFER_SIZE 400 char buffer[BUFFER_SIZE]; jstring str; #ifdef _MSC_VER This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |