Commit Graph

101 Commits

Author SHA1 Message Date
Adam Murdoch
c4a55e54e5 Extracted loading of native library out of Native into NativeLibraryLoader. 2012-11-12 17:00:29 +11:00
Adam Murdoch
1b4479a13e Updated changes section for 0.3 release. 2012-11-12 16:39:32 +11:00
Adam Murdoch
2efd8ec125 Split curses based functions out to separate source file. 2012-11-12 16:36:37 +11:00
Adam Murdoch
7f5a002f96 Added a TODO. 2012-11-12 16:36:37 +11:00
Adam Murdoch
92feb28007 Merge pull request #1 from breskeby/master
Support for amd64 on osx
2012-10-29 21:59:31 -07:00
Adam Murdoch
75899b093e Some updates. 2012-10-11 12:30:18 +11:00
Adam Murdoch
de1924f4dd Updates. 2012-10-10 17:41:33 +11:00
Adam Murdoch
933775dd09 Updates post release. 2012-10-10 17:34:02 +11:00
Adam Murdoch
665524bb34 Fixed typo. 2012-10-10 17:18:41 +11:00
Adam Murdoch
247e2ba012 Updates 2012-10-10 17:09:19 +11:00
Adam Murdoch
6b09ac415a Updated native library version. 2012-10-10 17:09:12 +11:00
Adam Murdoch
7cfe8dc502 Fixed terminal reset on windows. 2012-10-10 17:02:47 +11:00
Adam Murdoch
93012d3cc8 Write some text to stderr if connected to a terminal and stdout is not. 2012-10-10 16:57:59 +11:00
Adam Murdoch
2fb75c790c Use correct handle when detecthing console on windows. 2012-10-10 16:51:02 +11:00
Adam Murdoch
827387dd78 Some updates. 2012-10-10 16:28:54 +11:00
Adam Murdoch
d70a620089 Javadocs. 2012-10-07 07:00:27 +10:00
Adam Murdoch
e334585da0 Fixed classifier for source archive. 2012-10-07 07:00:17 +10:00
Adam Murdoch
fbf246dbf9 Changed NativeLibraryLocator to make extraction code multi-process safe. 2012-10-07 06:55:03 +10:00
Rene Groeschke
bba726c4c5 Support os arch 'amd64' on osx as it is used in openjdk and oracles jdk for formally known 'x86_64' architecture 2012-10-05 11:10:34 +02:00
Adam Murdoch
bc84bb102b Updated readme. 2012-09-16 19:49:16 +10:00
Adam Murdoch
8e30146b5a Updated readme. 2012-09-16 19:48:30 +10:00
Adam Murdoch
1690cc5e0f Publish source and javadoc, incremented version. 2012-09-16 19:48:20 +10:00
Adam Murdoch
3052c7034b Some changes to artifact uploads. 2012-09-16 13:48:54 +10:00
Adam Murdoch
1fd7726ec1 Some updates. 2012-09-16 10:55:20 +10:00
Adam Murdoch
d5404493cf Build x86 and x64 variants of windows dlls. 2012-09-16 09:33:47 +10:00
Adam Murdoch
b44e037b05 Can use external or project dependencies to build test app. 2012-09-16 09:11:17 +10:00
Adam Murdoch
ac06e9c9b5 Moved test app source to test app project. 2012-09-16 08:57:14 +10:00
Adam Murdoch
40afbc5cc5 Split test app project out of root project. 2012-09-16 08:55:26 +10:00
Adam Murdoch
30cc864813 - Improvements to fetching file system information on Windows.
- Fixes for reset and clearing to end of line for Windows console.
2012-09-15 17:52:51 +10:00
Adam Murdoch
17ab1f04ef First cut of file system information for windows. 2012-09-15 09:58:34 +10:00
Adam Murdoch
de4e340e2c Implemented SystemInfo for windows. 2012-09-09 17:07:38 +10:00
Adam Murdoch
dd255be667 - Changed PosixFileFunctions to pass Strings to JNI methods, and use java_to_char() to encode as C char string.
- Don't need to pass system encoding back up to Java as part of system info.
2012-09-09 16:29:42 +10:00
Adam Murdoch
208d1be584 implemented basic char_to_java() 2012-09-09 14:17:58 +10:00
Adam Murdoch
7e2a573ff2 - Changed char_to_java() to use C charset instead of JVM's default encoding.
- Changed PosixFileFunctions.readLink() to return String instead of byte[].
2012-09-09 10:22:40 +10:00
Adam Murdoch
af53881b0b Added Native.getNativeVersion() 2012-09-09 10:21:49 +10:00
Adam Murdoch
b8d0830d44 A first pass to correctly convert between c char strings to Java Strings. 2012-09-09 10:01:53 +10:00
Adam Murdoch
182efebb40 Added @ThreadSafe. 2012-09-08 10:19:26 +10:00
Adam Murdoch
65e2610eef Use the wrapper. 2012-09-08 10:19:13 +10:00
Adam Murdoch
3f478d1665 Added @ThreadSafe to a bunch of stuff. 2012-09-08 10:11:39 +10:00
Adam Murdoch
f6ea1d8e33 - Changed Native.get() to cache integration instances.
- Extracted DefaultSystemInfo out of a couple of separate places.
2012-09-08 10:11:25 +10:00
Adam Murdoch
ab1487d215 Fixed thread safety for Terminal implementations. Changed Terminal implementation on windows to Flush System.out/System.err 2012-09-08 09:08:43 +10:00
Adam Murdoch
1c3ab6a289 Extracted superclass for Terminals implementations, and fixed thread-safety. 2012-09-08 08:44:53 +10:00
Adam Murdoch
2be367e342 Renamed test 2012-09-08 08:44:27 +10:00
Adam Murdoch
93a13da5f6 Fleshed out posix file test. 2012-09-08 08:44:19 +10:00
Adam Murdoch
a95daece98 Tweak to jni jar name 2012-09-08 08:44:06 +10:00
Adam Murdoch
90b81e8bf5 Publish the jar and jni jars as separate modules, and renamed the native libraries. 2012-09-08 08:30:17 +10:00
Adam Murdoch
cb86354a4f Updates. 2012-09-03 14:26:05 +10:00
Adam Murdoch
12ecb00d88 Tweaked task name. 2012-09-03 14:25:54 +10:00
Adam Murdoch
228b9c3dde Create a separate jar file for each native library variant. 2012-09-03 14:24:49 +10:00
Adam Murdoch
67f057f6af Extracted the strategy for finding native library out of Native. 2012-09-03 14:05:01 +10:00