Commit Graph

1498 Commits

Author SHA1 Message Date
Brian Matzon 85ed9cbe76 dont add the platform native jar to the classpath 2008-04-13 16:32:55 +00:00
Elias Naur 544d74962d Linux: Don't let display usage count reach 0 2008-04-13 11:28:41 +00:00
Elias Naur 228f1f0520 Linux: Moved X error handling to java 2008-04-13 08:34:39 +00:00
Elias Naur 261d453a3e Linux: Removed change set code again 2008-04-12 23:09:47 +00:00
Elias Naur f5bf8b49f5 Linux: More focus fixes for the applet (XEmbed) case 2008-04-12 21:45:04 +00:00
Elias Naur 3f24f11607 Bumped Sys.JNI_VERSION 2008-04-12 20:45:43 +00:00
Elias Naur 11f25424e2 Linux: Added support for XFixesChangeSaveSet to increase robustness of parented mode 2008-04-12 20:40:27 +00:00
Elias Naur a015dc4558 Linux: Rewrote focus handling to cope with the weird focus behaviour when running in an XEmbed enabled jvm (applet mode) 2008-04-12 20:07:23 +00:00
Brian Matzon c8d4eb6a86 alpha 4 2008-04-11 12:21:25 +00:00
Brian Matzon 737f7885ae support for prepending host to cache path (defaults to true) 2008-04-10 21:02:04 +00:00
Elias Naur 657bd156e2 Windows: Removed directinput files, since they are now unused. Fixed headers build.xml target 2008-04-10 20:47:29 +00:00
Elias Naur e50dc04191 Removed AWTInputAdapter, since Display.setParent() works much betterdiff 2008-04-10 20:25:54 +00:00
Elias Naur 3f4f832669 Mac OS X: Fixed potential NPE in AWTUtil.getPointerLocation 2008-04-10 20:14:15 +00:00
Elias Naur 450634c49c Linux: Removed grab/ungrabServer logic and replace it with catching of any X errors occruing because of a XSetInputFocus race 2008-04-09 23:40:18 +00:00
Elias Naur ab4bb1ebcb Linux: Moved input focus handling to LinuxDisplay. Bumped Sys.JNI_VERSION 2008-04-09 18:44:25 +00:00
Elias Naur 1a9bed90ed Windows: When parented, take focus on mouse click 2008-04-09 18:25:30 +00:00
Elias Naur b5c893d207 Linux: When parented, take focus on click 2008-04-09 18:09:15 +00:00
Elias Naur e4d35cdb0d Windows: Use current Mouse.isGrabbed() when determining grab status 2008-04-08 11:21:57 +00:00
Elias Naur d0736741d9 Windows: Don't grab mouse when not focused 2008-04-08 10:40:26 +00:00
Elias Naur d8333fb279 Added line about tracking parent size to Display.setParent javadoc 2008-04-07 20:39:46 +00:00
Brian Matzon 2c807eddb3 2.0a3 version string 2008-04-07 19:47:40 +00:00
Elias Naur 2c0137eff8 Added fullscreen switching to DisplayParentTest 2008-04-07 19:40:53 +00:00
Elias Naur 61a71ea912 Let the Display resize itself to match its parent, if non null 2008-04-07 19:21:40 +00:00
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Elias Naur c9d1a37085 Bumped Sys.JNI_VERSION 2008-04-07 17:34:29 +00:00
Elias Naur 428d55ed0e Mac OS X: Implemented Display.setParent support 2008-04-07 17:10:14 +00:00
Elias Naur c456d9c323 Really fixed MouseTest 2008-04-07 16:37:39 +00:00
Elias Naur 40efb3e042 Fixed MouseTest 2008-04-07 16:20:35 +00:00
Elias Naur 97ebcea9c8 Windows: Improved focus handling when Display.getParent() != null 2008-04-07 15:33:34 +00:00
Elias Naur 12a1f5e3e5 Mac OS X: Split canvas listener from MacOSXGLCanvas 2008-04-07 13:34:20 +00:00
Elias Naur 3948769802 Windows: Implemented Display.setParent support 2008-04-07 10:18:09 +00:00
Elias Naur e2596d8efa Linux: Use icon mask as monochrome to please some xorg versions 2008-04-07 09:23:27 +00:00
Brian Matzon 3b5c704383 fixed issue with prematurely interrupting the inputstream getter thread\nmade secondary check for inputstream null 2008-04-06 22:15:16 +00:00
Elias Naur bf25259325 Linux: Attempt to avoid race condition when tracking Display parent focus 2008-04-06 21:34:22 +00:00
Elias Naur c499f33bcf Added experimental Display.setParent to allow Display to be embedded in an AWT Canvas. Added basic linux implementation and test. 2008-04-06 20:56:52 +00:00
Elias Naur 350c3c2661 Let otherwise generic AWT utilities classes take a Component instead of the more specific AWTGLCanvas 2008-04-06 14:39:32 +00:00
Elias Naur bc33b3c4d5 Windows: Moved Display.setIcon logic to java 2008-04-01 20:45:24 +00:00
Elias Naur 395cf797cb Linux: Added alpha mask support to Display.setIcon 2008-04-01 19:46:20 +00:00
Elias Naur abd3f75d6c Removed 2D OpenGL initialization code from Display. It messes with the implicit, but well-defined, opengl default state and doesn't fit well with multiple context types (gl3 and d3d) 2008-03-23 15:51:10 +00:00
Elias Naur 65309d759c Added notes to Mouse.poll() and Keyboard.poll() that Display.processMessages() (or Display.update()) must be called to receive new input state 2008-03-02 18:16:39 +00:00
Elias Naur 59f5ed712e Added AWTInputAdapter.isCreated() requested by kevglass 2008-02-01 12:02:54 +00:00
Brian Matzon 0d2f6a8256 second 2.0 alpha 2008-01-31 19:22:32 +00:00
Brian Matzon c4b9d2321d 2.0a version string 2008-01-21 22:56:37 +00:00
Elias Naur a877b0c1f1 javadoc fixes 2008-01-21 22:20:25 +00:00
Elias Naur 31669b02ec javdoc fixes 2008-01-21 22:15:12 +00:00
Brian Matzon 73f10ce7c0 removing as per request of elias 2008-01-21 22:07:48 +00:00
Elias Naur 6d9ce94068 javadoc fixes 2008-01-21 22:03:45 +00:00
Brian Matzon c9979fcfab 2.0 version string 2008-01-21 21:55:20 +00:00
Elias Naur dc3999b075 Removed devil and fmod support. yay. 2008-01-21 21:38:29 +00:00
Elias Naur 7fe1db23ec Converted GLU to use Buffers instead of arrays to match the rest of lwjgl 2008-01-21 21:27:03 +00:00
Elias Naur df9e7af261 Moved org.lwjgl.opengl.glu to org.lwjgl.util.glu 2008-01-21 20:38:04 +00:00
Elias Naur 5e3956d358 Moved translation of ogl error codes from GLU to Util, to prepare for glu to be moved to lwjgl_utils 2008-01-21 20:28:53 +00:00
Elias Naur e9a3b7a556 Display: Removed display_impl.update() from isCloseRequested(), isVisible(), isDirty() and isActive() since it can be an expensive call on at least linux. Display.update() is now required to be called to update the internal state. 2008-01-21 20:21:21 +00:00
Brian Matzon f6152a134a 1.1.4 version string 2008-01-20 08:20:54 +00:00
Elias Naur fa4bc30097 Only let Display.update() call display_impl.update() once 2008-01-19 09:53:14 +00:00
Elias Naur 8e2233167d Linux: Fixed test for XkbSetDetectableAutoRepeat success 2008-01-19 08:57:20 +00:00
Elias Naur e448bb0c29 Removed OS message polls from mouse and keyboard poll() and read(), since they can be quite expensive 2008-01-19 08:49:10 +00:00
Elias Naur d184509ac7 AWTGears: Make the canvas the same size as the Gears test 2008-01-18 10:29:01 +00:00
Elias Naur 8f677f1585 Linux: use XkbSetDetectableAutoRepeat to detect repeated key events more reliably 2008-01-07 18:29:04 +00:00
Elias Naur 4bf0703eb1 Windows: Pulled DefWindowProc calling to java side 2007-12-13 09:29:36 +00:00
Elias Naur 1cd7d96c68 Mouse: Attempt to clarify Mouse.setNativeCursor javadoc 2007-11-27 07:58:03 +00:00
Brian Matzon c3500a14d2 fixed 1.1 detection so that oal 1.1 stubs are loaded for major > 1 2007-11-12 16:02:57 +00:00
Elias Naur dbe9667c3d Added a Thread.yield() to applets tests that repaint() last in paintGL() to help input responsiveness on linux. Thanks to Kappa for debugging and finding the workaround. 2007-11-09 05:11:29 +00:00
Brian Matzon 632fcbfeaa added aho's adapter 2007-11-07 23:17:14 +00:00
Elias Naur 71603f996f Tweaked exception message 2007-11-01 13:06:11 +00:00
Brian Matzon 9ebea51be1 updating version string to 1.1.3 2007-10-28 21:42:43 +00:00
Brian Matzon d098129690 miscellaneous minor fixes to improve the loading and displaying of the applet 2007-10-24 21:55:39 +00:00
Brian Matzon 99fe356399 reworked urlconnection.getInputStream to threaded usage, to avoid Opera issue (detective work: kappaOne) 2007-10-24 21:25:54 +00:00
Brian Matzon ee85c04e95 removed annotation 2007-10-24 21:23:32 +00:00
Brian Matzon 409da4106b added required isSupported 2007-10-22 20:54:16 +00:00
Brian Matzon 21b2cc0c21 cleaning imports 2007-10-20 21:31:52 +00:00
Brian Matzon d87b73e73d applied kappaOnes latest fixes 2007-10-20 21:20:00 +00:00
Brian Matzon 8ee25e22cd removing direct x, can be picked up in the lwjgl-directx tag 2007-10-20 19:02:48 +00:00
Brian Matzon 5a659ac1d9 make sure that any windows cursor image pixel is either 0xffxxxxxx or 0x00000000 2007-10-20 14:48:07 +00:00
Elias Naur 07ae6b0513 Fixed GLU compile error 2007-10-17 08:24:07 +00:00
Brian Matzon d11758044a fix: generic error message placeholder String text was not being replace by the error message - kappaOne 2007-10-13 07:37:39 +00:00
Elias Naur a9f9a38c4c Mac OS X: Release and clear the context from the drawable in the correct order 2007-08-30 18:27:12 +00:00
Elias Naur bc09bd11e3 Don't let Display.sync* sleep with the global lock held 2007-08-30 12:34:56 +00:00
Elias Naur 7e05654cd2 Made Display.timeNow local 2007-08-30 12:19:34 +00:00
Elias Naur 3d81b7715d Added KEY_LMETA and KEY_RMETA to Keyboard to replace the windows centric KEY_LWIN and KEY_RWIN, which are now deprecated 2007-08-28 08:02:24 +00:00
Elias Naur 473eb61c60 Mac OS X: Mapped the option key to Keyboard.KEY_LWIN and Keyboard.KEY_RWIN instead of KEY_*META like the alt key 2007-08-28 07:38:20 +00:00
Elias Naur 9fc5b5273b Linux: Don't close the static Display connection, to avoid crashes with some dri drivers 2007-08-26 22:07:24 +00:00
Elias Naur 42a9d985d4 tweaked build.xml to get compile working again 2007-08-25 14:47:24 +00:00
Mark Bernard 9182e5b3ae First commit of Direct3D extension. 2007-08-22 23:11:27 +00:00
Mark Bernard ed3261718f First commit of Direct3D extension. 2007-08-22 23:11:02 +00:00
Brian Matzon 31a1fe4d4f 1.1.2 2007-08-17 18:41:00 +00:00
Elias Naur 1c935179f3 Windows: Don't do SYSRQ hackery on WM_SYSKEYDOWN 2007-08-17 06:14:40 +00:00
Elias Naur c443696e24 Reverted 2877 2007-08-17 06:12:59 +00:00
Brian Matzon 26a040a7d2 handle alt+space (windows system menu) 2007-08-16 20:29:01 +00:00
Elias Naur 02d119d76e Windows: Handle WM_SYSCHAR 2007-08-16 09:46:45 +00:00
Elias Naur 15cf41553c Don't allow switching to fullscreen when a custom display mode is in effect. This is a change from before, where the current mode was simply overwritten with the initial (desktop) mode 2007-08-16 08:55:06 +00:00
Elias Naur 03749c312c Revert 2872 2007-08-16 08:49:14 +00:00
Elias Naur 9851b06009 Windows: Make cursor visible when grabbed and not focused 2007-08-16 08:38:20 +00:00
Brian Matzon e809c1f7f0 fix: make sure that we return to the same display mode that was set in windowed mode when toggling between fullscreen and windowed mode 2007-08-15 20:14:29 +00:00
Elias Naur e76fd53950 Windows: Fixed cursor clipping when loosing focus 2007-08-12 23:33:25 +00:00
Brian Matzon 866374b003 tagging 1.1.1 2007-08-05 20:51:11 +00:00
Elias Naur 1a13e010a6 Windows: Mapped VK_OEM_8 to KEY_GRAVE to match lwjgl 1.0 behaviour 2007-07-29 19:55:06 +00:00
Elias Naur 7a49d5ce8f Windows: Mapped VK_SNAPSHOT to KEY_SYSRQ and added workaround to a windows bug where WM_KEYDOWN is never generated for VK_SNAPSHOT 2007-07-29 19:43:36 +00:00
Elias Naur 659a1cf4c7 Windows: Added key mapping to KEY_EQUALS for VK_OEM_PLUS to match lwjgl1.0 with US keyboard layout 2007-07-29 19:24:17 +00:00
Elias Naur aa434022ee Bumped Sys.JNI_VERSION 2007-07-28 21:28:33 +00:00