Michael Pfaff
02f595e0b9
Move more logging to Java side
2022-10-05 18:08:45 -04:00
Ioannis Tsakpinis
5400bb27db
Misc fixes and improvements on Windows:
...
- Cleaned up cl flags and enabled parallel compilation. Native compilation
is now multiple times faster.
- Fixed all /W3 compilation warnings.
- Changed window flag from WS_CHILDWINDOW to WS_POPUP when Display.setParent
is used, in an attempt to fix focus-related issues.
2013-01-29 22:53:11 +02:00
Ioannis Tsakpinis
dd87468d6f
Added @Optional support for AL and GLES.
2011-10-12 17:58:04 +00:00
Ioannis Tsakpinis
72f4758d5e
Added support for OpenGL 4.2
2011-08-08 10:48:14 +00:00
Brian Matzon
67307a7023
update default size of buffer for sprintfJavaString. Failed to upgrade size on second run since do_vsnprintf was returning -1 on windows at least
2010-10-14 19:58:32 +00:00
Ioannis Tsakpinis
f80e5a94d6
OpenCL bug fixes on MacOS.
...
Improved 64bit pointer detection.
2010-10-01 22:20:14 +00:00
Ioannis Tsakpinis
1aa9ab5104
Added support for OpenCL & CL/GL interop + minor improvements. [WIP]
2010-09-26 23:43:24 +00:00
Elias Naur
94bd43ce19
Windows: Handle missing va_copy macro in MSVC
2008-12-22 16:38:57 +00:00
Elias Naur
f8d5028de3
Made sprintfJavaString handle arbitrary length strings and reduce stack usage
2008-12-22 16:27:21 +00:00
Elias Naur
4b93774ef7
Windows 64: Enabled lwjgl64.dll and fixed crash
2008-12-22 11:55:28 +00:00
Elias Naur
8b0b1b8b63
Added platform specific getJNIVersion implementations
2008-04-30 14:58:47 +00:00
Elias Naur
add0189490
NewStringNativeUnsigned should return NULL if argument string is NULL
2008-04-25 17:21:59 +00:00
Elias Naur
8d5e9695a5
Removed unused native function getJVM()
2008-04-07 19:31:23 +00:00
Brian Matzon
175642d593
updated and added license where needed
2008-04-07 18:42:36 +00:00
Elias Naur
23701fdf75
Windows: Remove dependency on DirectInput for WindowsMouse used by WindowsDisplay. Keyboard conversion coming up. Reasons:
...
1. DirectInput is deprecated (http://en.wikipedia.org/wiki/DirectInput ). Specifically, Microsoft recommends using regular windows messages for keyboard and mouse input.
2. Not using DirectInput enable us to use the Raw Input JInput plugin to access multiple mice (and keyboards).
3. We're already using windows messages for features DirectInput never supported, so by removing DirectInput dependency, we get rid of some special case code.
4. When we're only using windows messages for input, we're (theoretically) more compatible than with a dependency on a properly working DirectInput.
2007-04-24 09:30:03 +00:00
Brian Matzon
5caece9329
fixing warnings
2007-04-19 23:02:57 +00:00
Brian Matzon
6889c876f6
using NewStringNativeWithLength
2007-04-19 22:18:16 +00:00
Elias Naur
176a617393
Windows: Native compile fixes
2007-03-30 19:00:59 +00:00
Elias Naur
3c44d0c7be
Added error checking to getBooleanProperty
2007-03-09 14:34:27 +00:00
Elias Naur
eeb711239e
Added error checking to NewStringNative
2007-03-09 14:28:52 +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
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