Elias Naur
bd806ef59a
Refreshed jinput.jar with 64 bit support
2006-07-11 21:03:33 +00:00
Elias Naur
90273174d5
Linux: more 64 bit stuff
2006-07-11 21:00:39 +00:00
Elias Naur
fe4fde649f
Linux: more 64 bit stuff
2006-07-11 20:56:40 +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
8efeea4d53
Refreshed jinput.jar
2006-07-11 20:00:27 +00:00
Brian Matzon
e76cc18a9c
flueknepperi
2006-07-11 19:54:47 +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
72664f2d78
Linux: don't use static linking for 64 bit builds
2006-07-11 12:22:14 +00:00
Elias Naur
f5fd1c3de1
Windows: Use standard environment variables for build paths
2006-07-10 22:26:39 +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
3fd8ea895e
Windows: Added ant build.xml for native core
2006-07-08 17:20:18 +00:00
Elias Naur
cb8f098e17
Linux: Remove Makefiles
2006-07-07 14:06:46 +00:00
Elias Naur
a5e24ff84d
Linux: Remove debug echos from build.xml
2006-07-07 14:05:06 +00:00
Elias Naur
03738dcbed
Linux: Support x86_64 building
2006-07-07 14:02:13 +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
fd867d88bd
Commented out cvsbuild target - using it will propbably cause confusion
2006-07-07 11:47:56 +00:00
Elias Naur
fbde91bbce
Added linux specific build.xml for building liblwjgl.so. Moved FMOD and Devil native builds to compile_native_optional ant target
2006-07-07 11:00:32 +00:00
Elias Naur
ce2096e10d
Made build.xml use location in properties where appropriate
2006-07-07 10:38:54 +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
d3a7f46995
Added jars to classpath in applet.html test
2006-07-04 10:53:14 +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
8ffd193467
reworked installer to expect a jar with the platform natives inside a jar
2006-07-03 23:26:54 +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
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