Commit Graph

41 Commits

Author SHA1 Message Date
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 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 624f93ba34 Windows: Use the standard _WIN32 macro instead of the LWJGL defined WIN32. 2006-07-12 16:55:05 +00:00
Elias Naur 6d751849d1 Fix compile warning 2006-07-10 00:44:49 +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 c64dd328f9 Added a native NewStringNativeUnsigned to avoid compile warnings 2006-07-07 10:36:26 +00:00
Elias Naur cbe41294a5 Linux: Moved most input related stuff from native to java 2006-07-03 18:07:44 +00:00
Brian Matzon d7e7b299c1 beta2 tag 2006-07-02 21:58:00 +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 cce631748d Win32: Updated various native string handling to use the new _s "secure" variants. 2006-05-18 12:11:37 +00:00
Brian Matzon 7c08c27dd8 1.0beta version string 2006-05-14 21:54:48 +00:00
Brian Matzon 9130b91027 updated version to 1.0 2006-04-30 21:15:14 +00:00
Brian Matzon 5eab7dd2a6 incremented to 0.99 2005-12-17 21:22:11 +00:00
Elias Naur 747f0850a0 Added support for native formatted exception messages 2005-11-24 11:31:26 +00:00
Elias Naur d6ae5e2d45 Converted some static local variables to stack localvariables 2005-11-22 14:03:52 +00:00
Brian Matzon 2656b694e1 0.98 version string 2005-08-17 22:05:15 +00:00
Elias Naur f1705b7fde Added AccessController.doPrivileged where needed 2005-05-30 16:21:05 +00:00
Brian Matzon 8d18a63f59 0.97 version string 2005-05-18 21:02:41 +00:00
Elias Naur df4e906100 Removed event buffer overflow message 2005-04-11 07:58:10 +00:00
Brian Matzon ad8d7676c2 moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug 2005-03-29 18:09:33 +00:00
Brian Matzon 665839e202 updated version string to 96 2005-03-16 21:18:41 +00:00
Elias Naur 62e561cddf Win32 part of refactor and AWTGLCanvas 2005-02-21 14:46:47 +00:00
Elias Naur 17ee2523c0 The Big Generator. All OpenGL and OpenAL java and native source files are now generated from templates. See doc/generator.txt for a detailed description. 2005-02-15 11:05:36 +00:00
Brian Matzon d945460442 incrementing to 0.95 2005-01-25 06:31:35 +00:00
Elias Naur 66181d1486 Delegate Sys platform dependent methods into SysImplementation instances 2005-01-18 20:23:05 +00:00
Elias Naur ccd37148e1 Linux: Implemented AWT synchronization through JAWT. Needed because Xlib is not guaranteed thread safe 2005-01-11 15:22:12 +00:00
Brian Matzon 16fc090691 0.94 2004-12-13 17:16:47 +00:00
Brian Matzon 9dbf3119d7 include wtypes.h on win32 platforms 2004-12-13 17:06:48 +00:00
Brian Matzon 9494a40140 using vsnprintf for printfDebugJava *fix* 2004-12-12 10:44:34 +00:00
Brian Matzon ca774aa3ad using vsnprintf for printfDebugJava 2004-12-12 10:39:45 +00:00
Brian Matzon 4df51c137a make it compile 2004-12-12 10:12:49 +00:00
Elias Naur 7e4fc4c3b9 Added java debug output to linux display.c 2004-12-11 20:09:04 +00:00
Elias Naur 5ee6565bb5 Tweaked linux native isActive() and added printfDebugJava to print debug from native through Sys.log 2004-12-11 19:44:53 +00:00
Brian Matzon 426ec81c3c changed String handling to use proper localizing method 2004-11-14 10:42:19 +00:00
Brian Matzon 1bda864efd changed String handling to use proper localizing method 2004-11-13 21:06:38 +00:00
Elias Naur b1ce8014fc Fixed Mac OS X compilation of common 2004-11-02 14:43:16 +00:00
Brian Matzon 18b89b752a 0.93 2004-10-24 11:19:08 +00:00
Elias Naur 468502cb00 Track event mouse deltas even when the event queue overflows 2004-09-27 13:20:27 +00:00
Elias Naur fa1713c4e8 Add delta values to Mouse events 2004-09-22 11:08:21 +00:00
Elias Naur 5039684671 Win32 specific fix ups for C++->C conversion 2004-09-10 09:56:26 +00:00
Elias Naur 55a67aaacc Converted native code from C++ (.cpp files) to C (.c files), thus avoiding an annoying dependency on the standard C++ library on Linux. We weren't using any particular C++ features anyway. 2004-09-10 08:13:56 +00:00
Renamed from src/native/common/common_tools.cpp (Browse further)