Commit Graph

2258 Commits

Author SHA1 Message Date
Elias Naur 26c6de6363 Implemented variable sized events in preparation of timestamped input events 2006-07-03 23:16:26 +00:00
Elias Naur 25a953bbdc Removed svn:executable properties on windows java files 2006-07-03 21:53:10 +00:00
Elias Naur e97f4ce950 Don't delete the generated directories themselves on ant clean-generated, only the source files 2006-07-03 20:10:10 +00:00
Elias Naur 436fcbea89 Fixed comment 2006-07-03 19:22:20 +00:00
Elias Naur 3902c69c7a Now that no native side event_queue_t type is used anymore, convert input read() semantics to use normal nio Buffer semantics - that is, move the position when writing events 2006-07-03 19:09:47 +00:00
Elias Naur b20423aa62 Fixed comment 2006-07-03 18:56:15 +00:00
Elias Naur a417b8f15c Linux: Moved Display state booleans to java side 2006-07-03 18:33:25 +00:00
Elias Naur 2f957f816d Linux: Fix multiple calls of setIcon by creating copies of icon data instead of converting data in-place 2006-07-03 18:18:27 +00:00
Elias Naur cbe41294a5 Linux: Moved most input related stuff from native to java 2006-07-03 18:07:44 +00:00
Elias Naur 5671f93656 Added support for applets to jinput 2006-07-03 12:00:12 +00:00
Elias Naur 8e11d22366 Added seal to security sensitive jars 2006-07-03 11:44:34 +00:00
Elias Naur 967edb048a Moved LWJGLInstaller to org.lwjgl.util.applet 2006-07-03 11:37:38 +00:00
Elias Naur 4eb40bfe6a Fixed AppletTest 2006-07-03 11:36:23 +00:00
Elias Naur 8dd4e47dae Removed org.lwjgl.util.model 2006-07-03 11:30:30 +00:00
Elias Naur 1efa8258d1 Removed multiple library names support from Sys.java, it is not needed anymore 2006-07-03 10:28:32 +00:00
Elias Naur 85ca7c65bb Made sure no dependency from core LWJGL to LWJGLInstaller exists 2006-07-03 10:21:44 +00:00
Elias Naur 5a83c8de35 Reverted Display.getPrivilegedBoolean access modifier change - package private is alright 2006-07-02 22:45:56 +00:00
Elias Naur 0ddd80b0c9 Spelling fixes 2006-07-02 22:41:59 +00:00
Brian Matzon a844c680a3 add linux and mac natives to lwjgl applet jar 2006-07-02 22:01:27 +00:00
Brian Matzon e676edc5c0 support for version
beta2 tag
2006-07-02 21:59:10 +00:00
Brian Matzon 06e4daaa75 beta2 tag 2006-07-02 21:58:37 +00:00
Brian Matzon d7e7b299c1 beta2 tag 2006-07-02 21:58:00 +00:00
Brian Matzon 66e6539b7c preliminary applet support 2006-07-02 21:56:57 +00:00
Brian Matzon 5d2772ba9e preliminary applet support 2006-07-02 21:55:09 +00:00
Brian Matzon 70fe495e75 preliminary applet support 2006-07-02 21:51:53 +00:00
Brian Matzon 1d18e303b2 preliminary applet support 2006-07-02 21:51:22 +00:00
Brian Matzon f9d262bcc4 preliminary applet support 2006-07-02 21:50:50 +00:00
Brian Matzon eba1a5c2cf added version check
preliminary applet support
2006-07-02 21:47:09 +00:00
Brian Matzon 800ba0a969 beta2 tag
updated applet tag to build all libs needed
2006-07-02 21:44:58 +00:00
Brian Matzon 3260389ebb default to OpenGL test 2006-07-02 21:24:50 +00:00
Brian Matzon a9edd6af6e made Display priveledged action private. Fixes a possible security exploit that would allow anyone to get a boolean from System properties *gasp* 2006-07-02 20:26:49 +00:00
Elias Naur 33540d8195 Windows: Fixed compile error 2006-07-01 05:33:14 +00:00
Elias Naur ecb7e3bb4e Fixed KeyboardTest 2006-06-30 23:37:12 +00:00
Elias Naur 18721df832 Reverted the widening of Keyboard.getEventCharacter 2006-06-30 23:05:28 +00:00
Elias Naur 322351b216 Linux: native code cleanup 2006-06-30 19:28:00 +00:00
Elias Naur 744fbdd26f Windows: Fixed Display.setIcon memory leak 2006-06-30 19:08:20 +00:00
Elias Naur 48cf79e55f Linux: Fixed Display.setIcon memory leak. 2006-06-30 18:56:37 +00:00
Elias Naur 9e1280d281 Linux: Made the native destructor my_fini static 2006-06-30 16:47:46 +00:00
Elias Naur 8ee5b8d931 Windows: replace loadLibrary("jawt") with Toolkit.getDefaultToolkit() which is better and avoids classloader issues with multiple loaded natives. Additionally, getDefaultToolkit is not a privileged action, while loadLibrary is. 2006-06-28 21:16:14 +00:00
Elias Naur 1a0dde001c Windows: Added missing doPrivileged around loadLibrary("jawt") 2006-06-28 06:02:00 +00:00
Elias Naur c0b1cc5a8b Added an applet test (lwjgl from applets doesn't work yet). 2006-06-27 15:41:53 +00:00
Elias Naur 7ac72d9c32 Mac OS X: Made KeyboardEventQueue handle widened char types 2006-06-27 12:57:04 +00:00
Elias Naur 0f12ecee3b Windows: Generalize getMin/MaxCursorSize to one native GetSystemMetrics 2006-06-27 11:11:37 +00:00
Elias Naur d7ba837de9 Windows: Moved isUndecorated from global to local variable 2006-06-26 14:28:52 +00:00
Elias Naur da1b81a57d Windows: Moved is_dirty from native to java 2006-06-26 14:24:45 +00:00
Elias Naur 13d345abce Widened Keyboard.getEventCharacter() return type from char to int to accomodate 32 bit characters. 2006-06-26 14:13:57 +00:00
Elias Naur c2dfea3214 Windows: moved closerequested from native to java 2006-06-26 14:05:42 +00:00
Elias Naur 6cf49718db Windows: LWJGL didn't work well with jinput, but compatibility could be greatly improved if LWJGL used DirectInput 8 (like jinput). This can't be done unconditionally, since we need the DX3 support for older versions of windows. So, I've moved most Mouse and Keyboard stuff from native to java side and generalized DirectInput access through an abstract base class, with two concrete subclasses, one for dx3 and one for dx8. 2006-06-26 13:50:48 +00:00
Elias Naur e99b357a1b Windows: Cleanup of native input code 2006-06-23 16:45:21 +00:00
Brian Matzon 9e811f332a fixed offset/length to use buffer properties 2006-06-23 08:16:27 +00:00
Brian Matzon d20c118cd6 fixed offset/length to use buffer properties
keep reference to buffers until free'd
added FMUSIC_LoadSongEx test
2006-06-23 08:14:49 +00:00
Elias Naur 20663ff01b Mac OS X: Fix ctrl-click right button handling 2006-06-22 10:42:45 +00:00
Elias Naur 502291c9cb Windows: Display.getVersion should return null when getAdapter() is null 2006-06-20 14:09:27 +00:00
Elias Naur 72c0fc81b8 Windows: Make sure the DirectInput even buffer is properly flushed before switching to grabbed state. 2006-06-18 09:08:55 +00:00
Elias Naur d7542e3a71 Windows: Fixed spurious mouse button events after a Mouse.setGrabbed(true) 2006-06-18 08:51:03 +00:00
Elias Naur c77c8069d6 Windows: Fix Windows sometimes marking LWJGL apps as "not responding" 2006-06-17 23:46:59 +00:00
Elias Naur 8ea2ce415e Added missing static methods to Quaternion for consistency. Cleaned up handling of src == dest aliasing 2006-06-16 13:30:27 +00:00
Elias Naur 09001cb925 Added missing static methods to Matrix4f for consistency. Cleaned up handling of src == dest aliasing 2006-06-16 12:44:53 +00:00
Elias Naur dbf9356358 Added missing static methods to Matrix3f for consistency. Cleaned up handling of src == dest aliasing 2006-06-16 08:20:21 +00:00
Elias Naur 48a52a67ce Added missing static methods to Matrix2f for consistency. Cleaned up handling of src == dest aliasing 2006-06-16 07:54:47 +00:00
Elias Naur effa3a297c Added missing static methods to Matrix2f for consistency. Cleaned up handling of src == dest aliasing 2006-06-16 07:53:41 +00:00
Elias Naur 71970c3bbf Added missing static methods to Matrix2f for consistency. Cleaned up handling of src == dest aliasing 2006-06-16 07:48:40 +00:00
Elias Naur 5b18caad92 windows: cleanup 2006-06-15 15:08:06 +00:00
Elias Naur cf56cfacbb windows: Add support for WGL_ATI_pixel_format_float 2006-06-15 15:03:29 +00:00
Elias Naur a842ed163c Win32: Minor fix to build.bat 2006-06-15 13:42:48 +00:00
Elias Naur 8d9d7f350e Removed isStateKeySet from KeyboardTest 2006-06-15 13:41:26 +00:00
Elias Naur d3530a26dc Win32: Tweaked build.bat to use the env variables from the newest DX SDK 2006-06-15 11:41:21 +00:00
Elias Naur ca4ffed1b1 Win32: Fixed exception message when the ARB pixel format path is selected, but the dummy pixel format is -1. 2006-06-12 14:17:42 +00:00
Elias Naur c68a8ed314 Win32: Make sure the ARB pixel format path is selected when floating point formats are required 2006-06-12 14:09:49 +00:00
Elias Naur ea121f6f7e Mac OS X: Check for 10.4 when using floating point formats 2006-06-12 13:42:25 +00:00
Elias Naur 7ebfbf8bfe Mac OS X implementation of floating point pixel formats 2006-06-12 13:33:07 +00:00
Elias Naur 9c4ce2845b Windows implementation of floating point pixel formats 2006-06-12 13:28:56 +00:00
Elias Naur c1e65970a2 Added floating point format to PixelFormat. Linux implementation 2006-06-12 13:01:05 +00:00
Elias Naur 9f41ecaedb Removed Keyboard.isStateKeySet() - it is easily replaced by Toolkit.getLockingKeyState() 2006-06-10 20:42:26 +00:00
Elias Naur 6e6bdb1fa0 Mac OS X: Catch exceptions from getLockingKeyState 2006-06-10 19:46:28 +00:00
Elias Naur 15676f6129 Mac OS X: Implement Display.isStateKeySet() 2006-06-10 19:40:54 +00:00
Elias Naur 52ef6c1f64 AWT: Support re-entrant redrawing (by the same AWT thread). This happens when displaying dialog boxes from paintGL() or initGL() 2006-06-07 06:52:53 +00:00
Elias Naur aedb5ad912 Mac OS X: Fixed flickering caused by the new context handling in AWTGLCanvas 2006-06-07 06:35:52 +00:00
Brian Matzon 548fc1df71 make destroy try its best to close sound and music 2006-06-06 20:37:11 +00:00
Brian Matzon 9cfd950c15 make StopAllSongs public 2006-06-06 20:36:45 +00:00
Brian Matzon 4f3c76a6ba devil 1.6.8-RC1 2006-06-03 08:15:07 +00:00
Elias Naur d281f8848c Change AWTGLCanvas paint() to make current and release the context to avoid problems with different AWT event threads calling paint() 2006-05-30 12:41:49 +00:00
Elias Naur 7c34e2cddb Win32: Track directinput mouse buttons in the windows message state array. This should avoid some problems when switching from grabbed to non-grabbed 2006-05-30 08:48:16 +00:00
Elias Naur 05111c300f Linux: Added Xfixes to the list of libraries liblwjgl.so statically links to 2006-05-29 19:03:02 +00:00
Elias Naur a2059554c2 Split out the exception case in BufferChecks.checkBufferSize() to help the JVM inline it 2006-05-29 12:30:23 +00:00
Elias Naur 5e4807ebac Saved one getClientAttribStack() in StateTracker.pushAttrib() 2006-05-29 12:24:46 +00:00
Ioannis Tsakpinis bb66074c13 Fixed i64 suffixes 2006-05-26 12:58:37 +00:00
Ioannis Tsakpinis 843ce1bc27 Added EXT_timer_query extension
Added support for long (int64) types
2006-05-25 13:03:35 +00:00
Elias Naur cce631748d Win32: Updated various native string handling to use the new _s "secure" variants. 2006-05-18 12:11:37 +00:00
Elias Naur 4dcd3421c0 Win32: Update build.bat to use the free Visual Studio Express 2005 compiler. We can use the /delayload switch for the default build now. 2006-05-18 11:43:52 +00:00
Caspian Rychlik-Prince c3325f0ac2 Added serialVersionUID 2006-05-16 18:51:27 +00:00
Elias Naur 2cc1b508dd Update doc/generator.txt 2006-05-16 11:32:45 +00:00
Elias Naur 24bef50437 Linux: Apparently, some the Mesa GLX 1.3 glxChooseFBConfig don't like the GLX_STEREO attribute, even when set to False. So we'll only specify GLX_STEREO in case a stereo context is actually requested 2006-05-15 19:37:29 +00:00
Ioannis Tsakpinis cbbac62c30 Added ATI_text_fragment_shader extension 2006-05-15 13:09:47 +00:00
Brian Matzon 6f184075d9 1.0beta version string
fixes to optional
2006-05-14 21:55:57 +00:00
Brian Matzon 7c08c27dd8 1.0beta version string 2006-05-14 21:54:48 +00:00
Ioannis Tsakpinis 58fc5401d5 Added ATI_shader_texture_lod extension 2006-05-14 14:18:13 +00:00
Elias Naur ec67322e64 Linux: Fixed accum color bits when accum_bpp = 0 2006-05-13 10:03:19 +00:00
Elias Naur 6bb5885bcc Updated jinput.jar to fix a NPE in the directinput plugin 2006-05-07 10:19:47 +00:00
Elias Naur 1ea59789f6 Mac OS X: build fixes 2006-05-06 19:45:12 +00:00