Commit Graph

1138 Commits

Author SHA1 Message Date
Elias Naur 0ddd80b0c9 Spelling fixes 2006-07-02 22:41:59 +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 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 48cf79e55f Linux: Fixed Display.setIcon memory leak. 2006-06-30 18:56:37 +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 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
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 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 8d9d7f350e Removed isStateKeySet from KeyboardTest 2006-06-15 13:41:26 +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 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 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
Caspian Rychlik-Prince c3325f0ac2 Added serialVersionUID 2006-05-16 18:51:27 +00:00
Brian Matzon 7c08c27dd8 1.0beta version string 2006-05-14 21:54:48 +00:00
Elias Naur 684ee48641 Added Display.swapBuffers(). Combined with Display.processMessages() and Mouse/Keyboard/Controllers.poll() this method allows an application to create a custom policy for the rendering/polling loop in addition to the static Display.update() policy. 2006-05-03 20:53:16 +00:00
Elias Naur 3ce92a9563 Fixed warning from generated native code on mac os x 2006-05-01 08:58:26 +00:00
Brian Matzon 9130b91027 updated version to 1.0 2006-04-30 21:15:14 +00:00
Brian Matzon 4869744cf1 changed cursor support exception to lwjglexception 2006-04-30 21:09:16 +00:00
Caspian Rychlik-Prince 16524516cd Tidied up unused variables, added serialVersionUIDs as appropriate,
removed a few unnecessary casts and brackets and exceptions.
2006-04-21 11:11:21 +00:00
Elias Naur 821778c655 Made AWTGLCanvas listen to its own component events 2006-04-06 21:00:43 +00:00
Elias Naur 481ffb5f16 Fixed jinput plugins 2006-04-05 12:42:17 +00:00
Elias Naur f16f0e26cc Added a JInput plugin to interface with the LWJGL mouse and keyboard from jinput (untested) 2006-04-05 11:27:46 +00:00
Elias Naur e94260adf8 Linux: Added SunOS (solaris) as a linux(-like) platform 2006-03-30 06:50:24 +00:00
Brian Matzon 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +00:00
Brian Matzon 0c539252b4 new, improved and shiny version, courtesy of Jos Hirth 2006-03-10 18:49:34 +00:00
Elias Naur e34ce0f20c Fixed typo 2006-02-28 12:39:15 +00:00
Caspian Rychlik-Prince 3548ac989c Removed superfluous imports 2006-02-27 19:55:43 +00:00
Elias Naur d7c55744ce Widened VBO/PBO buffer offsets and sizes to long to better match the GLsizeiptr and GLintptr native types 2006-02-26 11:44:34 +00:00
Elias Naur 2e3c168792 OpenGL: Made generated ContextCapabilities only try to load super class symbols if a sub class is supported. This avoids spurious 'Could not locate symbol' warnings in debug mode (glLoadProgramNV on ATI hardware) 2006-02-06 11:11:09 +00:00
Brian Matzon ac3a70926b support for ALC_ENUMERATION_EXT using LWJGL specific method: AL.getImplementations 2006-02-02 22:34:28 +00:00
Elias Naur bf84c8b361 Linux: Fixed resetDisplayMode in case XRandr is used and the first reported mode is not the initial mode 2006-01-31 12:48:46 +00:00
Elias Naur 3b8b751935 Linux: Fixed resetDisplayMode in case XRandr is used and the first reported mode is not the initial mode 2006-01-31 12:31:41 +00:00
Elias Naur a895f58e37 Mac OS X: Fixed legacy library loading 2006-01-17 08:47:52 +00:00
Caspian Rychlik-Prince 08ca3d8586 Cleanup of unused imports 2006-01-16 21:06:00 +00:00
Caspian Rychlik-Prince 64f58414b4 *** empty log message *** 2006-01-16 21:04:49 +00:00
Elias Naur e1c51385c6 Mac OS X: Added loading of a legacy native lwjgl library to support applications that need to run on Mac OS X 10.2, 10.3 and 10.4, including intel mac versions. NOTE: Intel support from the universal build is not tested, since I don\'t have acces to an intel mac. 2006-01-16 20:37:28 +00:00
Elias Naur 19d2d219ec Mac OS X: Load the framework (builtin) version of OpenAL last, after having tried all possible locations of a private openal.dylib 2006-01-16 19:35:09 +00:00
Elias Naur c26ebafa62 OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths. 2006-01-16 15:54:50 +00:00
Elias Naur 63589487d9 Linux: Added workaround to avoid crash on exit with nvidia drivers 2006-01-12 12:25:12 +00:00
Elias Naur 033dc40a89 Converted System.getenv() to Boolean.getBoolean to please the blackdown VM 2006-01-04 07:36:08 +00:00
Elias Naur c9f35b917d Made Display.releaseContext static (duh) 2006-01-02 14:15:24 +00:00
Elias Naur 95bc8cc4e5 Fixed exception messages 2006-01-02 14:05:30 +00:00
Elias Naur 9ccb31416e Added Display.releaseContext() 2006-01-02 13:49:36 +00:00
Elias Naur 5faf661f04 Added setSwapInterval to Display and AWTGLCanvas 2006-01-01 19:50:06 +00:00
Elias Naur 2a9b8de2fb Make Display, Pbuffer and AWTGLCanvas fail on null PixelFormats 2005-12-29 22:31:46 +00:00
Elias Naur 6ea1739399 Make Display, Pbuffer and AWTGLCanvas fail on null PixelFormats 2005-12-29 22:30:14 +00:00
Elias Naur a8aabe008e Added initGL to AWTGLCanvas 2005-12-28 22:23:35 +00:00
Elias Naur d633986260 PBO/VBO checks now query OpenGL directly instead of keeping track of the currently bound buffers 2005-12-27 14:46:42 +00:00
Elias Naur 07da99cd7d Win32: Moved getGammaRampLength to java side 2005-12-27 13:47:25 +00:00
Elias Naur ad1987d748 Win32: Moved handleMessages to java side (update()) 2005-12-27 13:40:21 +00:00
Elias Naur 13fdcded26 Added Sys.getVersion() in place of the compile time constant Sys.VERSION 2005-12-19 10:57:22 +00:00
Brian Matzon 5cdf986ed6 disallow creation of ILUT prior to ILU (unable to load native unless ILU has been loaded first) 2005-12-18 10:54:18 +00:00
Brian Matzon 5eab7dd2a6 incremented to 0.99 2005-12-17 21:22:11 +00:00
Elias Naur 2bc0988c98 Linux: More native code refactoring 2005-11-22 13:53:13 +00:00
Elias Naur 7469d59dbf Linux: Removed current_* mode cache from display.c 2005-11-22 11:23:37 +00:00
Elias Naur e2ee957f0b Linux: let exceptions from display.c propagate to LinuxDisplay.java 2005-11-21 22:21:29 +00:00
Elias Naur b6dd18fc7d Linux: Moved saved display mode from C to LinuxDisplay.java 2005-11-21 21:59:11 +00:00
Elias Naur 61bfceaaed Linux: Moved a display connection to java 2005-11-21 16:50:11 +00:00
Elias Naur debaaf6538 Linux: Move gamma ramps to java code 2005-11-21 16:32:34 +00:00
Elias Naur 6e5ed9d1ff Linux: Moved a display connection creation to java 2005-11-21 13:32:52 +00:00
Elias Naur 5af5828dc6 Linux: Moved display mode extension and window state handling up into java code 2005-11-21 13:22:52 +00:00
Elias Naur 73314be1bb Don't ignore exceptions 2005-11-20 10:08:02 +00:00
Kevin Glass 02a9ec5c9c Removed the use of "jinput.plugins" system property since it doesn't appear to be needed any more and causes double detection of controllers. 2005-11-15 22:31:49 +00:00
Brian Matzon 20a9d2216c reworked devil dynamic stub to use generated header using a new ILNative class 2005-11-04 19:22:52 +00:00
Elias Naur a9bd41f12e Mac OS X: Fixed an issue where pbuffer contexts could not share with the display context. 2005-11-04 12:38:59 +00:00
Brian Matzon 696a4c7ed9 removed premature created = true 2005-11-02 22:08:27 +00:00
Elias Naur 140e3fa3b7 Added support for doubles (ALdouble and GLdouble) 2005-11-02 09:28:12 +00:00
Elias Naur 965b0e1ec4 MacOSX: Fix bugs in MacOSXDisplay.setIcon 2005-10-31 10:51:54 +00:00
Elias Naur 44330fbd74 Don't fail on two threads wanting to lock the same PeerInfo 2005-10-23 19:52:15 +00:00