af375d6114Added ProcessLauncher and implementation.
Adam Murdoch
2013-02-20 07:20:09 +11:00
fc23941f5cImplemented get and set environment variables for posix.
Adam Murdoch
2013-02-16 11:15:05 +11:00
01c4f26e97Include errno name in error messages, if the errno is known.
Adam Murdoch
2013-02-16 11:14:41 +11:00
0c5d0dfe80Don't set 'user.dir' if the working directory could not be set.
Adam Murdoch
2013-02-07 18:04:44 +11:00
6cab15ece4Started implementing environment variable methods on windows.
Adam Murdoch
2013-02-07 17:58:13 +11:00
ff3abfd4fdSome tweaks to error messages for unsupported platforms.
Adam Murdoch
2013-02-07 16:58:33 +11:00
9e0493f94eImplemented Process working directory methods on windows, and fixed file system details.
Adam Murdoch
2013-02-07 16:58:11 +11:00
27bc7d8a76Update.
Adam Murdoch
2013-01-26 18:19:02 +11:00
12c41606eeSome fixes for linux.
Adam Murdoch
2013-01-26 18:18:56 +11:00
64a738008eAdded Process.getWorkingDirectory() and setWorkingDirectory() and posix implementation.
Adam Murdoch
2013-01-26 17:51:10 +11:00
47f914b49dUpgraded wrapper to use 1.4-rc-1.
Adam Murdoch
2013-01-20 06:32:12 +11:00
a4b166bc02Added license and copyright notice.
Adam Murdoch
2012-12-14 04:51:07 +11:00
0a0828b7ffUpdates
Adam Murdoch
2012-12-01 16:01:58 +11:00
c8ad72e205Show JVM file encoding and terminal implementation.
Adam Murdoch
2012-12-01 16:01:47 +11:00
c355d50bb9Some comments.
Adam Murdoch
2012-12-01 16:01:30 +11:00
f811c16ae5Added a Terminal implementation that uses ANSI control characters.
Adam Murdoch
2012-12-01 16:01:19 +11:00
eb17aefc73Added useful toString() to Terminal implementations.
Adam Murdoch
2012-12-01 16:00:47 +11:00
9f1f4be937Publish a single jar that contains all native libraries for a given variant.
Adam Murdoch
2012-11-18 06:59:28 +11:00
802fb78f29Split out terminfo jni functions into a separate native library, so that curses/ncurses is not required to load the main native library.
Adam Murdoch
2012-11-12 17:20:04 +11:00
c4a55e54e5Extracted loading of native library out of Native into NativeLibraryLoader.
Adam Murdoch
2012-11-12 17:00:29 +11:00
1b4479a13eUpdated changes section for 0.3 release.
Adam Murdoch
2012-11-12 16:39:32 +11:00
2efd8ec125Split curses based functions out to separate source file.
Adam Murdoch
2012-10-21 16:57:03 +11:00
7f5a002f96Added a TODO.
Adam Murdoch
2012-10-21 16:45:20 +11:00
92feb28007Merge pull request #1 from breskeby/master
Adam Murdoch
2012-10-29 21:59:31 -07:00
75899b093eSome updates.
Adam Murdoch
2012-10-11 12:30:18 +11:00
de1924f4ddUpdates.
Adam Murdoch
2012-10-10 17:41:33 +11:00
933775dd09Updates post release.
Adam Murdoch
2012-10-10 17:34:02 +11:00
665524bb34Fixed typo.
Adam Murdoch
2012-10-10 17:18:41 +11:00
247e2ba012Updates
Adam Murdoch
2012-10-10 17:09:19 +11:00
6b09ac415aUpdated native library version.
Adam Murdoch
2012-10-10 17:09:12 +11:00
7cfe8dc502Fixed terminal reset on windows.
Adam Murdoch
2012-10-10 17:02:47 +11:00
93012d3cc8Write some text to stderr if connected to a terminal and stdout is not.
Adam Murdoch
2012-10-10 16:57:59 +11:00
2fb75c790cUse correct handle when detecthing console on windows.
Adam Murdoch
2012-10-10 16:51:02 +11:00
827387dd78Some updates.
Adam Murdoch
2012-10-10 16:28:54 +11:00
d70a620089Javadocs.
Adam Murdoch
2012-10-07 07:00:27 +10:00
e334585da0Fixed classifier for source archive.
Adam Murdoch
2012-10-07 07:00:17 +10:00
fbf246dbf9Changed NativeLibraryLocator to make extraction code multi-process safe.
Adam Murdoch
2012-10-07 06:55:03 +10:00
bba726c4c5Support os arch 'amd64' on osx as it is used in openjdk and oracles jdk for formally known 'x86_64' architecture
Rene Groeschke
2012-10-05 11:10:34 +02:00
bc84bb102bUpdated readme.
Adam Murdoch
2012-09-16 19:49:16 +10:00
8e30146b5aUpdated readme.
Adam Murdoch
2012-09-16 19:48:30 +10:00
1690cc5e0fPublish source and javadoc, incremented version.
Adam Murdoch
2012-09-16 19:48:20 +10:00
3052c7034bSome changes to artifact uploads.
Adam Murdoch
2012-09-16 13:48:54 +10:00
1fd7726ec1Some updates.
Adam Murdoch
2012-09-16 10:55:20 +10:00
d5404493cfBuild x86 and x64 variants of windows dlls.
Adam Murdoch
2012-09-16 09:33:47 +10:00
b44e037b05Can use external or project dependencies to build test app.
Adam Murdoch
2012-09-16 09:11:17 +10:00
ac06e9c9b5Moved test app source to test app project.
Adam Murdoch
2012-09-16 08:57:14 +10:00
40afbc5cc5Split test app project out of root project.
Adam Murdoch
2012-09-16 07:02:46 +10:00
30cc864813- Improvements to fetching file system information on Windows. - Fixes for reset and clearing to end of line for Windows console.
Adam Murdoch
2012-09-15 17:52:51 +10:00
17ab1f04efFirst cut of file system information for windows.
Adam Murdoch
2012-09-15 09:58:34 +10:00
de4e340e2cImplemented SystemInfo for windows.
Adam Murdoch
2012-09-09 17:07:38 +10:00
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.
Adam Murdoch
2012-09-09 16:29:42 +10:00
208d1be584implemented basic char_to_java()
Adam Murdoch
2012-09-09 14:17:58 +10:00
7e2a573ff2- Changed char_to_java() to use C charset instead of JVM's default encoding. - Changed PosixFileFunctions.readLink() to return String instead of byte[].
Adam Murdoch
2012-09-09 10:22:40 +10:00
af53881b0bAdded Native.getNativeVersion()
Adam Murdoch
2012-09-09 10:21:49 +10:00
b8d0830d44A first pass to correctly convert between c char strings to Java Strings.
Adam Murdoch
2012-09-09 10:01:53 +10:00
182efebb40Added @ThreadSafe.
Adam Murdoch
2012-09-08 10:19:26 +10:00
65e2610eefUse the wrapper.
Adam Murdoch
2012-09-08 10:19:13 +10:00
3f478d1665Added @ThreadSafe to a bunch of stuff.
Adam Murdoch
2012-09-08 10:11:39 +10:00
f6ea1d8e33- Changed Native.get() to cache integration instances. - Extracted DefaultSystemInfo out of a couple of separate places.
Adam Murdoch
2012-09-08 10:11:25 +10:00
ab1487d215Fixed thread safety for Terminal implementations. Changed Terminal implementation on windows to Flush System.out/System.err
Adam Murdoch
2012-09-08 09:08:43 +10:00
1c3ab6a289Extracted superclass for Terminals implementations, and fixed thread-safety.
Adam Murdoch
2012-09-08 08:44:53 +10:00
2be367e342Renamed test
Adam Murdoch
2012-09-08 08:44:27 +10:00
93a13da5f6Fleshed out posix file test.
Adam Murdoch
2012-09-08 08:44:19 +10:00
a95daece98Tweak to jni jar name
Adam Murdoch
2012-09-08 08:44:06 +10:00
90b81e8bf5Publish the jar and jni jars as separate modules, and renamed the native libraries.
Adam Murdoch
2012-09-08 08:30:17 +10:00
cb86354a4fUpdates.
Adam Murdoch
2012-09-03 14:26:05 +10:00
12ecb00d88Tweaked task name.
Adam Murdoch
2012-09-03 14:25:54 +10:00
228b9c3ddeCreate a separate jar file for each native library variant.
Adam Murdoch
2012-09-03 14:24:49 +10:00
67f057f6afExtracted the strategy for finding native library out of Native.
Adam Murdoch
2012-09-03 14:05:01 +10:00
066a2be380Improved error handling for case where native library for current architecture is not available.
Adam Murdoch
2012-09-03 13:59:46 +10:00
efa6e683eeTweaked build for linux machines where multi-arch support is not available.
Adam Murdoch
2012-09-03 13:59:11 +10:00
4e8db25017Added PosixFile.symlink() and readLink().
Adam Murdoch
2012-09-01 16:11:30 +10:00
cd24d5fb51Fixed to work with 32bit ibm jvm.
Adam Murdoch
2012-09-01 10:38:27 +10:00
b7f6183c4bSome tidy-ups to exception handling in Native.get().
Adam Murdoch
2012-09-01 10:31:15 +10:00
b8b96291c6Throw NativeIntegrationUnavailableException when an integration is not supported, and NativeException when something goes wrong loading the integration.
Adam Murdoch
2012-09-01 10:29:43 +10:00
ba2a54b403Some javadocs, include javadocs in the application distribution.
Adam Murdoch
2012-09-01 10:15:25 +10:00
3e4dc956edSome renames and javadoc.
Adam Murdoch
2012-09-01 10:02:02 +10:00
ee7f527b41Added
Adam Murdoch
2012-08-27 19:56:57 +10:00
f5dc6b80e1- Compile 64 and 32 bit variants on Linux. - Give each variant of the native library a unique name.
Adam Murdoch
2012-08-27 19:55:59 +10:00
05a4cfe19bJava 5 compilation fixes.
Adam Murdoch
2012-08-27 19:55:03 +10:00
743a1f90c9updated
Adam Murdoch
2012-08-27 06:26:56 +10:00
3b2fb7d7caDon't throw exception away.
Adam Murdoch
2012-08-13 11:40:01 +10:00
1878bd9ff0Use the system character encoding to encode file names before passing them to the native code.
Adam Murdoch
2012-08-12 13:13:11 +10:00
058df967a4Implemented FileSystems on Linux.
Adam Murdoch
2012-08-12 12:59:00 +10:00
b494c52441Split OS X specific functions out of posix.cpp.
Adam Murdoch
2012-08-12 07:50:08 +10:00
462350d8aeUpdated readme.
Adam Murdoch
2012-08-12 07:45:23 +10:00
2e5f9cb546Moved creation of integrations to Platform.
Adam Murdoch
2012-08-12 07:45:10 +10:00
97038bbf6eBuild native library for i386 and x86_64 on OS X
Adam Murdoch
2012-08-12 07:44:51 +10:00
3a58e27eebAdded SystemInfo and FileSystems to query system and file system information, respectively.
Adam Murdoch
2012-08-12 06:17:58 +10:00
5f3761dd41Some updates.
Adam Murdoch
2012-08-10 08:50:51 +10:00
8621ef80e9- Bundle native library in jar and extract at runtime. - Don't reinitialise terminal in TerminalAccess.getTerminal() if already initialised.
Adam Murdoch
2012-08-10 08:50:40 +10:00
3c9720f9abFixed dependencies.
Adam Murdoch
2012-08-10 07:33:24 +10:00
243bd5514cAdded some diagnostics.
Adam Murdoch
2012-08-10 07:29:01 +10:00
6aa1c12bdcUpdated.
Adam Murdoch
2012-08-10 06:02:53 +10:00
ec2eb737a6- Added Terminal.supportsTextAttributes(), supportsColor() and supportCursorMotion(). - Changed semantics for Terminal.normal(), bold(), foreground() and reset() so that they are no-ops when not supported. - Fixed test app not to blow up on unsupported capability.
Adam Murdoch
2012-08-10 06:00:05 +10:00
0180d2f035fixes for Solaris
Adam Murdoch
2012-08-06 15:30:08 +10:00
de2dd46cfbAdded some diagnostics for missing terminal capability.
Adam Murdoch
2012-08-06 15:11:41 +10:00
a7518b4766Lookup all terminal capabilities on initialisation.
Adam Murdoch
2012-08-06 15:05:38 +10:00
a249a250d3Updated readme.
Adam Murdoch
2012-08-06 14:11:14 +10:00
3cf9618427initial support for Solaris
Adam
2012-08-06 13:48:40 +10:00