Commit Graph

2302 Commits

Author SHA1 Message Date
Elias Naur b449fff026 Mac OS X: Fixed cursor warping coordinates 2006-10-27 08:15:31 +00:00
Elias Naur d396992cc5 Fixed potential NPE from Cursor.getCapabilities() 2006-10-27 06:27:58 +00:00
Elias Naur d4d39bf869 Made the AWT setCursorPosition garbage free 2006-10-27 06:04:55 +00:00
Elias Naur 23248b01c3 Mac OS X: Implemented AWTInputAdapter 2006-10-26 21:39:37 +00:00
Elias Naur fe7cde5cc5 Linux: Replaced obsolete hasFocus with isFocusOwner 2006-10-26 21:15:50 +00:00
Elias Naur a47e419168 Mac OS X: Moved mouse handling from MacOSXDisplay to MacOSXMouseEventQueue 2006-10-26 20:49:07 +00:00
Elias Naur 24e913477f Mac OS X: Fixed null delta_buffer in MacOSXMouseEventQueue 2006-10-26 20:33:40 +00:00
Elias Naur 3674d843c2 Added org.lwjgl.opengl.AWTInputAdapter which enabled use of Mouse and
Keyboard with AWTGLCanvases. Programs can now avoid implementing AWT input processing and access the mouse grabbing features from both Display and AWTGLCanvas. See org.lwjgl.test.opengl.awt.AWTInputAdapterTest for an example.

Note: This commit is the linux and generic AWT imlementation and can still
change a lot while implementing windows and mac os x.
2006-10-26 20:19:40 +00:00
Elias Naur 0a17002082 Don't register the Display shutdown hook in the static initializer. Register it at create() and remove it at destroy(). This avoids unnecessary conflicts when only using AWT stuff 2006-10-26 19:41:15 +00:00
Elias Naur fe1693a3c9 Mac OS X: Moved registering and unregistering of AWT listeners from MacOSXDisplay to the input handlers 2006-10-26 15:03:47 +00:00
Elias Naur 9e1254f6d1 Mac OS X: Moved AWT input handling to separate AWTUtil.java 2006-10-26 14:47:02 +00:00
Elias Naur 1616724cb5 Removed redundant import 2006-10-26 12:15:46 +00:00
Elias Naur 541ac859b1 Linux: Made cursor handles longs instead of ByteBuffers 2006-10-26 12:14:37 +00:00
Elias Naur 1802fa2d9d Linux: Added locking to LinuxMouse 2006-10-24 11:17:44 +00:00
Elias Naur 2de75e4fd9 Linux: Moved warp Atom from LinuxDisplay to LinuxMouse 2006-10-24 10:43:52 +00:00
Elias Naur a972dd272d Linux: Moved input event processing to LinuxKeyboard and LinuxMouse 2006-10-24 10:39:14 +00:00
Elias Naur 850f3c6b7f Linux: Removed redundant methods from LinuxDisplay.java 2006-10-24 09:59:00 +00:00
Elias Naur e23825c3e5 Linux: Moved more event handling logic to java 2006-10-24 09:52:12 +00:00
Elias Naur cb6a6ff2a2 Linux: Removed redundant include statements 2006-10-24 08:33:09 +00:00
Elias Naur 1f5f8687bb Linux: Moved current_win to java 2006-10-23 20:40:48 +00:00
Elias Naur 61e7c9e081 Linux: Moved screen from native to java 2006-10-23 20:14:45 +00:00
Elias Naur 8296ae06cb Linux: Moved the pointer warp X11 atom from native to java 2006-10-23 19:51:22 +00:00
Elias Naur 5dba786574 Linux: Moved another Display instance to java 2006-10-23 14:22:27 +00:00
Elias Naur 1a83741b89 Linux: Moved another Display instance to java 2006-10-23 14:16:40 +00:00
Elias Naur 8c5f601e31 Linux: Added sanity check to LinuxDisplay.getDisplay() 2006-10-23 14:05:40 +00:00
Elias Naur dd76a4b0d8 Linux: Moved Display pointer from native to java 2006-10-23 13:58:33 +00:00
Elias Naur 2e75098673 Linux: Simplified LinuxMouse 2006-10-23 10:24:03 +00:00
Elias Naur 1c18537f1e AWTGears: Set background of window to black to avoid some resizing artifacts 2006-10-20 12:55:01 +00:00
Elias Naur 5d5dde0aed Remove redundant resizing of AWT canvases in AWT tests 2006-10-20 12:36:51 +00:00
Elias Naur 12d445c7ec Added nicer resizing to AWT tests 2006-10-20 12:32:33 +00:00
Elias Naur 8698cf68f3 Linux: Don't use the SUN specific getScreenFromDevice in LinuxAWTCanvasPeerInfo. This avoids garbage creation per frame and avoids one bit of SUN JRE dependency. 2006-10-20 11:51:34 +00:00
Elias Naur dc4a31e799 Undo debug stuff that accidentially went with the last commit. 2006-10-20 10:44:28 +00:00
Elias Naur d9e94b2d54 Don't repaint() from a separate thread in AWT demos. This results in a smoother rendering. 2006-10-20 10:42:43 +00:00
Elias Naur 9f7da6d483 Windows: Restore the old ToAscii code used on win9x platforms in an attempt to fix broken keyboard input on win98se machines. 2006-10-11 20:26:35 +00:00
Elias Naur dedfaea500 Windows: Don't use a dummy window (HDC) when finding a pixel format but use the actual window directly. This will avoid cases where the pixel format index for the dummy window's HDC wasn't valid for the actual window's HDC. It also avoid unnecessary complexity.
Fix FullScreenWindowedTest to use the Display's current BPP to avoid 24/16 bpp weirdness
2006-10-11 13:48:48 +00:00
Ioannis Tsakpinis 1b1b9c5416 Added missing CURRENT_RASTER_SECONDARY_COLOR enum value (GL 2.1)
Added EXT_gpu_program_parameters extension
2006-10-11 11:21:40 +00:00
Elias Naur ec9b449b78 Made Display.getImplementation package private, and made the input.* packages access it through reflection. 2006-10-08 09:05:16 +00:00
Elias Naur 55f67e68cb Linux: Fix crash when LinuxCanvasImplementation.getScreenFromDevice fails 2006-09-28 21:53:18 +00:00
Elias Naur 9a684b77ab Bumped JNI library version 2006-09-21 14:39:10 +00:00
Elias Naur c91f78e1f6 Windows: Don't ignore errors from CoInitialize 2006-09-21 13:49:49 +00:00
Elias Naur 87523ce63a Windows: Got rid of dummy window in WindowsDisplayPeerInfo 2006-09-19 14:17:13 +00:00
Elias Naur def08f06f8 Display.java: Moved Context creation to after createWindow to relax the requirement that the Display PeerInfo must be valid before createWindow(). This will help Windows get rid of a dummy window. 2006-09-19 13:41:18 +00:00
Elias Naur 08c39c86d2 Windows: Removed unused method in WindowsDisplayPeerInfo 2006-09-19 13:18:05 +00:00
Elias Naur 26f2014516 Windows: Don't discard messages from other windows in the message handler 2006-09-19 11:06:02 +00:00
Elias Naur 03c801b081 Linux: Map alt-gr to RMENU 2006-09-18 15:03:44 +00:00
Elias Naur 145f00031a Windows: Fixed NPE in Display.getVersion() 2006-09-08 08:29:16 +00:00
Ioannis Tsakpinis 71f67b1859 Added INVALID_FRAMEBUFFER_OPERATION_EXT in GLU.gluErrorString 2006-09-01 20:15:05 +00:00
Brian Matzon 93aa253732 fixed params (int -> float) 2006-08-31 16:40:53 +00:00
Elias Naur ec4a94d47d Don't throw exceptions on Mouse.getEventButtonState 2006-08-31 13:35:36 +00:00
Kevin Glass 7f9faf144d Removed sanity checks for controllers. All controllers are now reported allowing the developer to make the decision over which ones to display to the user. 2006-08-30 02:47:49 +00:00
Kevin Glass b1a4935212 Added sanity checks on reported controllers to prune out one with no Axis or no Buttons. 2006-08-21 17:26:28 +00:00
Kevin Glass 8ac762037f Update controllers test to not poll() the controllers from multiple threads. 2006-08-21 17:25:49 +00:00
Ioannis Tsakpinis 84fdaeaff3 Added EXT_blend_color & EXT_blend_minmax extensions. 2006-08-16 10:42:43 +00:00
Elias Naur dde118016c Update to beta3 2006-08-10 08:45:10 +00:00
Ioannis Tsakpinis 7f2440d950 Added OpenGL 2.1 support 2006-08-03 10:00:11 +00:00
Ioannis Tsakpinis 02e0c84e0e 2006-08-03 09:51:45 +00:00
Elias Naur 78006b3409 Make sure the mode member is never null in FullScreenWindowedTest 2006-08-01 10:36:13 +00:00
Elias Naur 6e1913e4df Don't trust GL_MAX_CLIENT_ATTRIB_STACK_DEPTH since it is 0 on Xgl in linux. Instead make sure the state trackers are sized according to demand 2006-07-31 22:54:21 +00:00
Elias Naur 7b7ad52f29 ReferencesStack now clears references when popping to avoid keeping buffer references around too long 2006-07-31 22:37:31 +00:00
Elias Naur 552b7ca3fc Linux: Don't free already freed XIC and XIM instances in LinuxKeyboard 2006-07-31 01:22:33 +00:00
Ioannis Tsakpinis 84600dffdb Added SGIS_generate_mipmap & SGIS_texture_lod extensions 2006-07-25 15:31:16 +00:00
Elias Naur 4c9edffc85 Linux: Remove 32x32 icons size check, since other sizes seem to work alright. Document the fact that Display.setIcon use the icons from the icon array in order of decreasing preference 2006-07-22 21:30:31 +00:00
Elias Naur 086c4de5a1 Make sure OpenGL versions with major >= 3 is properly supported. Make sure major >= 1 in any case 2006-07-22 15:05:36 +00:00
Elias Naur 1fe2f034b0 Fix comment 2006-07-22 14:58:13 +00:00
Elias Naur 4d6cbb4d1c Windows: Ingore DI_POLLEDDEVICE when setting buffer size of a directinput device 2006-07-21 20:35:27 +00:00
Elias Naur ccc6b7ba66 glu: Remove unused Util.IntValue inner class 2006-07-17 23:27:29 +00:00
Elias Naur 4081364fa3 glu: Remove redundant initialization of PixelStoreState 2006-07-17 23:23:50 +00:00
Elias Naur 375a4490cf Windows: Fix warning 2006-07-15 21:37:50 +00:00
Elias Naur bd474ceaa9 Windows: Replace _WIN32 macro with _MSC_VER since the conditionals are really for the MSVC compiler, not for the windows platform in general. Code cleanup. 2006-07-15 21:01:11 +00:00
Elias Naur 050638760e Windows: Don't use a non-portable anonymous struct in contex.h 2006-07-15 20:25:56 +00:00
Elias Naur 5e012ce2e1 Windows: Cleanup 2006-07-15 19:55:42 +00:00
Elias Naur d9afe6b784 Windows: Moved NativeSysImplementation.java to WindowsSysImplementation.java and moved some native code to java. 2006-07-15 19:45:36 +00:00
Elias Naur 008c59a301 Windows: Move more of Display.getVersion to java 2006-07-15 19:25:13 +00:00
Elias Naur 01f382fa3b Windows: Added NULL check to malloc in display.c 2006-07-15 18:45:20 +00:00
Elias Naur 6b68892cc1 Windows: Forgot display.c in last commit 2006-07-15 18:43:04 +00:00
Elias Naur 79a8e1264c Fixed SysTest.java 2006-07-15 18:36:46 +00:00
Elias Naur 52396b5a5c Windows: Don't release clipboard data before use 2006-07-15 18:31:09 +00:00
Elias Naur 0c2f7092e2 Windows: Removed unused variable from display.c 2006-07-15 17:44:53 +00:00
Elias Naur 3b03560ee7 Split the external LWJGL version from the internal version of the native JNI library. The internal JNI version is now an integer. This has multiple advantages over the old way:
1. The JNI_VERSION field is now included automatically in the generated JNI headers, relieving us of the burden of updating the version number in both java and native code.
2. We can update the JNI version with every non-compatible change of the JNI library API, not just once per release, giving us extra safety when users download and build LWJGL from SVN.
3. We can now avoid rebuilding natives if a particular release only
contains java changes. Currently, This is mostly a problem when Brian bumps the
external version prior a release and I forget to re-build the natives ;)
2006-07-14 16:14:52 +00:00
Elias Naur 676728bfd3 Added additional @NoErrorCheck annotations 2006-07-14 13:07:38 +00:00
Elias Naur f5e9020e6e Added @NoErrorCheck to GL11.glGetError 2006-07-14 12:07:20 +00:00
Elias Naur f15c904fce Windows: Fixed setCursorPosition. 2006-07-14 10:38:31 +00:00
Elias Naur d859fdcca6 Added a Controllers applet test 2006-07-14 08:32:01 +00:00
Brian Matzon c7f8f488bd using constants for names 2006-07-12 19:57:22 +00:00
Brian Matzon d4a3be63d6 win32->windows 2006-07-12 19:55:57 +00:00
Elias Naur bb8dcf3996 Windows: Rename Win32* files to Windows* 2006-07-12 18:32:58 +00:00
Elias Naur 7815607e09 Windows: move natives from src/native/win32 to src/native/windows because the source really is bitness neutral, not 32 bit specific. 2006-07-12 18:09:11 +00:00
Elias Naur 624f93ba34 Windows: Use the standard _WIN32 macro instead of the LWJGL defined WIN32. 2006-07-12 16:55:05 +00:00
Elias Naur 90273174d5 Linux: more 64 bit stuff 2006-07-11 21:00:39 +00:00
Elias Naur 395327b755 Linux: more 64 bit stuff 2006-07-11 20:49:28 +00:00
Elias Naur e2bbb739aa Linux: added support for 64 bit JVMs 2006-07-11 20:30:19 +00:00
Elias Naur 253ee1bcf4 LWJGLInstaller: use constant instead of hardcoded filename 2006-07-11 19:33:05 +00:00
Brian Matzon b69aed51c7 update/fix comments 2006-07-11 19:30:10 +00:00
Elias Naur c2ed404c44 LWJGInstaller: Run the uninstaller before installing instead of at VM exit 2006-07-11 19:06:11 +00:00
Elias Naur 02d9944b2f LWJGLInstaller: Rename watermark file to .lwjglinuse 2006-07-11 18:55:35 +00:00
Elias Naur 9dfe05a126 LWJGLInstaller: Don't allow applets to decide whether to uninstall old lwjgl dirs 2006-07-11 18:52:13 +00:00
Elias Naur b3dcdeb51d Tightened access modifiers in LWJGLInstaller 2006-07-11 18:49:36 +00:00
Elias Naur 3768fdf891 Added final modifier to a constant in LWJGLInstaller 2006-07-11 18:38:46 +00:00
Elias Naur b9c965ff0b Windows: Add System.loadLibrary("jawt") again, since it seems that Toolkit.getDefaultToolkit() is not always enough. 2006-07-10 18:03:38 +00:00
Elias Naur c5b91e0f40 Windows: Pass correct class reference to CallStaticVoidMethod JNI 2006-07-10 15:46:21 +00:00
Elias Naur 3aa23f0c28 Windows: Fixed fetches of a boolean field with GetIntField JNI 2006-07-10 15:32:14 +00:00
Elias Naur 6be8bc806e Linux: Fixed fetch of a boolean field with GetIntField JNI 2006-07-10 15:29:29 +00:00
Elias Naur 292839a5be Add correct timestamps to jinput controller environment for LWJGL input Mouse and Keyboard 2006-07-10 00:47:32 +00:00
Elias Naur 6d751849d1 Fix compile warning 2006-07-10 00:44:49 +00:00
Elias Naur a84ecf8bed Windows: Fix issue when AWT core classes invoke the LWJGL message handler through a synchronous SendMessage. Bug triggered by jmetest.awt.swingui.TestJMEDesktop. 2006-07-10 00:34:28 +00:00
Elias Naur 67957781a2 Windows: don't cache the JNIEnv pointer in the message handle, but acquire it through the global JavaVM handle. 2006-07-09 08:31:49 +00:00
Elias Naur af9e73ed11 Linux: Made most fields in LinuxDisplay non-static 2006-07-08 22:17:09 +00:00
Elias Naur c208833e25 Windows: Moved gamma and display modes settings and more boolean state to java side. 2006-07-08 21:57:20 +00:00
Elias Naur cb8f098e17 Linux: Remove Makefiles 2006-07-07 14:06:46 +00:00
Elias Naur bf414409c0 Mac OS X: Added support for compile_native target. Moved optional libraries to compile_native_optional target 2006-07-07 12:41:36 +00:00
Elias Naur c64dd328f9 Added a native NewStringNativeUnsigned to avoid compile warnings 2006-07-07 10:36:26 +00:00
Elias Naur b91cfd8b60 MacOSXDisplay workaround done properly :) 2006-07-05 10:47:15 +00:00
Elias Naur f19f5cfb33 Mac OS X: Workaround a crash with applets and MacOSXDisplay 2006-07-05 09:58:48 +00:00
Elias Naur 6650e03ef4 Windows: Use data size constant for input devices instead of hard coded size 2006-07-04 17:46:33 +00:00
Elias Naur 4e68c787b3 Added Keyboard.getEventNanoseconds() and Mouse.getEventNanoseconds() 2006-07-04 17:07:13 +00:00
Elias Naur e28bde351b LWJGLInstaller now uses JarFile instead of JarInputStream to work around a bug with java 1.5 and jar signing 2006-07-04 13:44:16 +00:00
Elias Naur e0268732b0 LWJGLInstaller: Exceptions should propagate to ease debugging 2006-07-04 12:20:17 +00:00
Elias Naur a2f398e507 Tightened access modifiers for LWJGLInstaller 2006-07-04 12:10:35 +00:00
Elias Naur 9c5cf0beb5 Collapsed exception chains in LWJGLInstaller 2006-07-04 11:07:53 +00:00
Elias Naur cfe79394e6 Linux: Fixed privileged property access in LinuxDisplay.java 2006-07-04 10:52:36 +00:00
Elias Naur 0f4df46e9b LWJGLInstaller should check for non-existing master directory. Use exceptions instead of boolean status code in verifyCerts 2006-07-04 10:51:51 +00:00
Brian Matzon 3b64037940 cleaned up imports 2006-07-03 23:23:49 +00:00
Brian Matzon e11fbd3801 cleaned up imports 2006-07-03 23:23:14 +00:00
Brian Matzon 5c82452d5e added certificate check
reworked installer to expect a jar with the platform natives inside a jar
now installs into java.io.tmpdir/.lwjglinstall/<timestamp>
uninstaller checks for removed watermark file - tho it never gets removed *grumble*
2006-07-03 23:22:46 +00:00
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 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 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 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 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 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 8d9d7f350e Removed isStateKeySet from KeyboardTest 2006-06-15 13:41:26 +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
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