18 Commits

Author SHA1 Message Date
shadowislord
b300915092 NativeLibraryLoader: use the OS's cache folder instead of home folder for storing natives 2015-02-15 16:18:04 -05:00
shadowislord
51c8894e03 NativeLibraryLoader: Fix crash when working directory not writable
Loder -> Loader
2015-02-15 14:05:33 -05:00
shadowislord
8f9dfcc7c1 NativeLibraryLoader: Allow specifying the filename that the extracted library should have (needed for certain workarounds..) 2015-01-27 21:11:13 -05:00
shadowislord
3991123073 NativeLibraryLoader: Don't load LWJGL / JInput when they are not found in classpath
* LWJGL / JInput have their own loading mechanism which works fine when they are in java.library.path (e.g. when bundling)
2015-01-27 20:07:34 -05:00
shadowislord
2cc601edc3 NativeLibraryLoader: Don't gobble the exception message when loading via System.loadLibrary() 2015-01-27 18:00:29 -05:00
Normen Hansen
50134899f8 - remove adding for 64 ending for natives 2015-01-27 11:49:06 +01:00
shadowislord
32cfca495d * NativeLibraryLoader: Add method to get a list of jars that contain known natives 2015-01-25 19:32:33 -05:00
shadowislord
56a187f77a * NativeLibraryLoader: Add method to extract a platform's natives 2015-01-25 19:10:32 -05:00
Normen Hansen
5c9fee7a7e - update library names for lwjgl 2.9.2 on OSX 2015-01-25 22:48:23 +01:00
Normen Hansen
32f4245aff - fix osx bullet binary path 2015-01-13 17:14:48 +01:00
Normen Hansen
fd78498bc8 - fix NativeLibraryLoader using deprecated Natives class for hash generation
- fix bullet native file name for OSX
2015-01-13 16:10:09 +01:00
shadowislord
e637cd0b7a * NativeLibraryLoader: More hacks .. Use the proper loading method based on the library name.
* TestNativeLoader: More concrete test that uses a custom natives folder and ensures all natives load properly and prints their versions.
2014-06-07 14:09:42 -04:00
shadowislord
36483c4b49 * Avoid conflicts when extracting both 64-bit and 32-bit libraries to the same folder .. This is mainly for the bulletjme library which doesn't specify "64" at the end of the filename 2014-06-06 21:18:50 -04:00
shadowislord
34826360d6 * Native bullet was marked as a non-JNI library for some reason - that's fixed now 2014-06-06 21:15:24 -04:00
shadowislord
48ccb0fe56 * Fix jinput native library loading - now the JNI library name is based on the name in the jar 2014-06-06 21:05:15 -04:00
shadowislord
54ffe15dda * Switch to new native library loader
* Deprecate old library loader
 * Add warning when the requested number of antialiasing samples cannot be satisfied
 * Cleaned up LwjglContext.determineMaxSamples()
2014-06-06 20:39:37 -04:00
shadowislord
2ca99b83de * More javadoc in NativeLibraryLoader 2014-06-05 23:59:24 -04:00
shadowislord
948fdb21eb * Add new flag to Platform enum which specifies if its 32-bit platform or 64-bit.
* Add new but currently unused native extraction engine which supports user-specified native libraries as well as deferred extraction of libraries.
2014-06-05 22:32:06 -04:00