Commit Graph

  • af375d6114 Added ProcessLauncher and implementation. Adam Murdoch 2013-02-20 07:20:09 +11:00
  • fc23941f5c Implemented get and set environment variables for posix. Adam Murdoch 2013-02-16 11:15:05 +11:00
  • 01c4f26e97 Include errno name in error messages, if the errno is known. Adam Murdoch 2013-02-16 11:14:41 +11:00
  • 0c5d0dfe80 Don't set 'user.dir' if the working directory could not be set. Adam Murdoch 2013-02-07 18:04:44 +11:00
  • 6cab15ece4 Started implementing environment variable methods on windows. Adam Murdoch 2013-02-07 17:58:13 +11:00
  • ff3abfd4fd Some tweaks to error messages for unsupported platforms. Adam Murdoch 2013-02-07 16:58:33 +11:00
  • 9e0493f94e Implemented Process working directory methods on windows, and fixed file system details. Adam Murdoch 2013-02-07 16:58:11 +11:00
  • 27bc7d8a76 Update. Adam Murdoch 2013-01-26 18:19:02 +11:00
  • 12c41606ee Some fixes for linux. Adam Murdoch 2013-01-26 18:18:56 +11:00
  • 64a738008e Added Process.getWorkingDirectory() and setWorkingDirectory() and posix implementation. Adam Murdoch 2013-01-26 17:51:10 +11:00
  • 47f914b49d Upgraded wrapper to use 1.4-rc-1. Adam Murdoch 2013-01-20 06:32:12 +11:00
  • a4b166bc02 Added license and copyright notice. Adam Murdoch 2012-12-14 04:51:07 +11:00
  • 0a0828b7ff Updates Adam Murdoch 2012-12-01 16:01:58 +11:00
  • c8ad72e205 Show JVM file encoding and terminal implementation. Adam Murdoch 2012-12-01 16:01:47 +11:00
  • c355d50bb9 Some comments. Adam Murdoch 2012-12-01 16:01:30 +11:00
  • f811c16ae5 Added a Terminal implementation that uses ANSI control characters. Adam Murdoch 2012-12-01 16:01:19 +11:00
  • eb17aefc73 Added useful toString() to Terminal implementations. Adam Murdoch 2012-12-01 16:00:47 +11:00
  • 9f1f4be937 Publish a single jar that contains all native libraries for a given variant. Adam Murdoch 2012-11-18 06:59:28 +11:00
  • 802fb78f29 Split 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
  • c4a55e54e5 Extracted loading of native library out of Native into NativeLibraryLoader. Adam Murdoch 2012-11-12 17:00:29 +11:00
  • 1b4479a13e Updated changes section for 0.3 release. Adam Murdoch 2012-11-12 16:39:32 +11:00
  • 2efd8ec125 Split curses based functions out to separate source file. Adam Murdoch 2012-10-21 16:57:03 +11:00
  • 7f5a002f96 Added a TODO. Adam Murdoch 2012-10-21 16:45:20 +11:00
  • 92feb28007 Merge pull request #1 from breskeby/master Adam Murdoch 2012-10-29 21:59:31 -07:00
  • 75899b093e Some updates. Adam Murdoch 2012-10-11 12:30:18 +11:00
  • de1924f4dd Updates. Adam Murdoch 2012-10-10 17:41:33 +11:00
  • 933775dd09 Updates post release. Adam Murdoch 2012-10-10 17:34:02 +11:00
  • 665524bb34 Fixed typo. Adam Murdoch 2012-10-10 17:18:41 +11:00
  • 247e2ba012 Updates Adam Murdoch 2012-10-10 17:09:19 +11:00
  • 6b09ac415a Updated native library version. Adam Murdoch 2012-10-10 17:09:12 +11:00
  • 7cfe8dc502 Fixed terminal reset on windows. Adam Murdoch 2012-10-10 17:02:47 +11:00
  • 93012d3cc8 Write some text to stderr if connected to a terminal and stdout is not. Adam Murdoch 2012-10-10 16:57:59 +11:00
  • 2fb75c790c Use correct handle when detecthing console on windows. Adam Murdoch 2012-10-10 16:51:02 +11:00
  • 827387dd78 Some updates. Adam Murdoch 2012-10-10 16:28:54 +11:00
  • d70a620089 Javadocs. Adam Murdoch 2012-10-07 07:00:27 +10:00
  • e334585da0 Fixed classifier for source archive. Adam Murdoch 2012-10-07 07:00:17 +10:00
  • fbf246dbf9 Changed NativeLibraryLocator to make extraction code multi-process safe. Adam Murdoch 2012-10-07 06:55:03 +10:00
  • bba726c4c5 Support 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
  • bc84bb102b Updated readme. Adam Murdoch 2012-09-16 19:49:16 +10:00
  • 8e30146b5a Updated readme. Adam Murdoch 2012-09-16 19:48:30 +10:00
  • 1690cc5e0f Publish source and javadoc, incremented version. Adam Murdoch 2012-09-16 19:48:20 +10:00
  • 3052c7034b Some changes to artifact uploads. Adam Murdoch 2012-09-16 13:48:54 +10:00
  • 1fd7726ec1 Some updates. Adam Murdoch 2012-09-16 10:55:20 +10:00
  • d5404493cf Build x86 and x64 variants of windows dlls. Adam Murdoch 2012-09-16 09:33:47 +10:00
  • b44e037b05 Can use external or project dependencies to build test app. Adam Murdoch 2012-09-16 09:11:17 +10:00
  • ac06e9c9b5 Moved test app source to test app project. Adam Murdoch 2012-09-16 08:57:14 +10:00
  • 40afbc5cc5 Split 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
  • 17ab1f04ef First cut of file system information for windows. Adam Murdoch 2012-09-15 09:58:34 +10:00
  • de4e340e2c Implemented 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
  • 208d1be584 implemented 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
  • af53881b0b Added Native.getNativeVersion() Adam Murdoch 2012-09-09 10:21:49 +10:00
  • b8d0830d44 A first pass to correctly convert between c char strings to Java Strings. Adam Murdoch 2012-09-09 10:01:53 +10:00
  • 182efebb40 Added @ThreadSafe. Adam Murdoch 2012-09-08 10:19:26 +10:00
  • 65e2610eef Use the wrapper. Adam Murdoch 2012-09-08 10:19:13 +10:00
  • 3f478d1665 Added @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
  • ab1487d215 Fixed 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
  • 1c3ab6a289 Extracted superclass for Terminals implementations, and fixed thread-safety. Adam Murdoch 2012-09-08 08:44:53 +10:00
  • 2be367e342 Renamed test Adam Murdoch 2012-09-08 08:44:27 +10:00
  • 93a13da5f6 Fleshed out posix file test. Adam Murdoch 2012-09-08 08:44:19 +10:00
  • a95daece98 Tweak to jni jar name Adam Murdoch 2012-09-08 08:44:06 +10:00
  • 90b81e8bf5 Publish the jar and jni jars as separate modules, and renamed the native libraries. Adam Murdoch 2012-09-08 08:30:17 +10:00
  • cb86354a4f Updates. Adam Murdoch 2012-09-03 14:26:05 +10:00
  • 12ecb00d88 Tweaked task name. Adam Murdoch 2012-09-03 14:25:54 +10:00
  • 228b9c3dde Create a separate jar file for each native library variant. Adam Murdoch 2012-09-03 14:24:49 +10:00
  • 67f057f6af Extracted the strategy for finding native library out of Native. Adam Murdoch 2012-09-03 14:05:01 +10:00
  • 066a2be380 Improved error handling for case where native library for current architecture is not available. Adam Murdoch 2012-09-03 13:59:46 +10:00
  • efa6e683ee Tweaked build for linux machines where multi-arch support is not available. Adam Murdoch 2012-09-03 13:59:11 +10:00
  • 4e8db25017 Added PosixFile.symlink() and readLink(). Adam Murdoch 2012-09-01 16:11:30 +10:00
  • cd24d5fb51 Fixed to work with 32bit ibm jvm. Adam Murdoch 2012-09-01 10:38:27 +10:00
  • b7f6183c4b Some tidy-ups to exception handling in Native.get(). Adam Murdoch 2012-09-01 10:31:15 +10:00
  • b8b96291c6 Throw 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
  • ba2a54b403 Some javadocs, include javadocs in the application distribution. Adam Murdoch 2012-09-01 10:15:25 +10:00
  • 3e4dc956ed Some renames and javadoc. Adam Murdoch 2012-09-01 10:02:02 +10:00
  • ee7f527b41 Added 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
  • 05a4cfe19b Java 5 compilation fixes. Adam Murdoch 2012-08-27 19:55:03 +10:00
  • 743a1f90c9 updated Adam Murdoch 2012-08-27 06:26:56 +10:00
  • 3b2fb7d7ca Don't throw exception away. Adam Murdoch 2012-08-13 11:40:01 +10:00
  • 1878bd9ff0 Use 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
  • 058df967a4 Implemented FileSystems on Linux. Adam Murdoch 2012-08-12 12:59:00 +10:00
  • b494c52441 Split OS X specific functions out of posix.cpp. Adam Murdoch 2012-08-12 07:50:08 +10:00
  • 462350d8ae Updated readme. Adam Murdoch 2012-08-12 07:45:23 +10:00
  • 2e5f9cb546 Moved creation of integrations to Platform. Adam Murdoch 2012-08-12 07:45:10 +10:00
  • 97038bbf6e Build native library for i386 and x86_64 on OS X Adam Murdoch 2012-08-12 07:44:51 +10:00
  • 3a58e27eeb Added SystemInfo and FileSystems to query system and file system information, respectively. Adam Murdoch 2012-08-12 06:17:58 +10:00
  • 5f3761dd41 Some 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
  • 3c9720f9ab Fixed dependencies. Adam Murdoch 2012-08-10 07:33:24 +10:00
  • 243bd5514c Added some diagnostics. Adam Murdoch 2012-08-10 07:29:01 +10:00
  • 6aa1c12bdc Updated. 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
  • 0180d2f035 fixes for Solaris Adam Murdoch 2012-08-06 15:30:08 +10:00
  • de2dd46cfb Added some diagnostics for missing terminal capability. Adam Murdoch 2012-08-06 15:11:41 +10:00
  • a7518b4766 Lookup all terminal capabilities on initialisation. Adam Murdoch 2012-08-06 15:05:38 +10:00
  • a249a250d3 Updated readme. Adam Murdoch 2012-08-06 14:11:14 +10:00
  • 3cf9618427 initial support for Solaris Adam 2012-08-06 13:48:40 +10:00