Elias Naur
9db6528620
Windows: Make mingw build.xml strip the dll after linking. Delete optional build files from mingw_ant.
2006-07-15 23:20:06 +00:00
Elias Naur
fbca53f218
Windows: mingw path fixes
2006-07-15 23:04:07 +00:00
Elias Naur
8c1d6d041c
Windows: added build.xml for MinGW building of lwjgl.dll. Hopefully this could enable us to build 64 bit versions of the natives in the future. It currently works, with some manual removal of double declarations of symbols in dinput.h(!)
2006-07-15 21:44:59 +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
867828115e
Added a commented out generatechecks option to the opengl stubs generator. It can can be activated to add Utils.checkGLError everywhere
2006-07-14 11:54:52 +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
Elias Naur
84db769858
Refresh Jinput.jar
2006-07-13 18:56:19 +00:00
Brian Matzon
1cfed9e4ac
no more source dist - get from svn
...
date fixes
fixed signing and path issue when doing jnlp
2006-07-12 21:29:31 +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
Brian Matzon
d20fac0e67
check for fmod property when it's actually been imported
2006-07-12 19:38:24 +00:00
Brian Matzon
83c7ebb69d
using ant build files for linux
2006-07-12 19:36:29 +00:00
Brian Matzon
4e63e68bf6
check for fmod
2006-07-12 19:35:54 +00:00
Brian Matzon
ea4373698d
linux ant build files
2006-07-12 19:32:48 +00:00
Elias Naur
0be9f21397
Windows: Fix double compiler flag
2006-07-12 19:07:20 +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
8a1952f2b0
Added runtest ant target for easy execution of tests
2006-07-11 23:03:11 +00:00
Brian Matzon
94cae282d3
obsolete stuff - all hail svn remove!
2006-07-11 21:55:24 +00:00
Brian Matzon
5abc13ab8d
removing old build file stuff
2006-07-11 21:53:19 +00:00
Brian Matzon
9d4a978282
removing old build file stuff
2006-07-11 21:50:42 +00:00
Brian Matzon
585cddd5f6
removing old build file stuff
2006-07-11 21:48:58 +00:00
Brian Matzon
3aca397292
build natives into bin/<name>
2006-07-11 21:47:04 +00:00
Brian Matzon
eac254e3f8
build natives into bin/<name>
2006-07-11 21:46:44 +00:00
Brian Matzon
ba5251f80f
build natives into bin/<name>
2006-07-11 21:45:33 +00:00
Brian Matzon
3e2f18a628
build natives into bin/<name>
2006-07-11 21:44:40 +00:00
Brian Matzon
b459f25af7
removed (some) obsolete targets
...
build natives into bin/<name>
support for windows optional ant build files
2006-07-11 21:43:43 +00:00
Brian Matzon
660a992d61
optional build files
2006-07-11 21:23:08 +00:00
Elias Naur
f7e5dae008
Linux: Added libjinput-linux64.so 64 bit library
2006-07-11 21:08:59 +00:00
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