Commit Graph

18 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
d70a620089 Javadocs. 2012-10-07 07:00:27 +10:00
Adam Murdoch
fbf246dbf9 Changed NativeLibraryLocator to make extraction code multi-process safe. 2012-10-07 06:55:03 +10:00
Adam Murdoch
af53881b0b Added Native.getNativeVersion() 2012-09-09 10:21:49 +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
67f057f6af Extracted the strategy for finding native library out of Native. 2012-09-03 14:05:01 +10:00
Adam Murdoch
066a2be380 Improved error handling for case where native library for current architecture is not available. 2012-09-03 13:59:46 +10:00
Adam Murdoch
b7f6183c4b Some tidy-ups to exception handling in Native.get(). 2012-09-01 10:31:15 +10:00
Adam Murdoch
b8b96291c6 Throw NativeIntegrationUnavailableException when an integration is not supported, and NativeException when something goes wrong loading the integration. 2012-09-01 10:29:43 +10:00
Adam Murdoch
ba2a54b403 Some javadocs, include javadocs in the application distribution. 2012-09-01 10:15:25 +10:00
Adam Murdoch
2e5f9cb546 Moved creation of integrations to Platform. 2012-08-12 07:45:10 +10:00
Adam Murdoch
3a58e27eeb Added SystemInfo and FileSystems to query system and file system information, respectively. 2012-08-12 06:17:58 +10:00
Adam Murdoch
8621ef80e9 - Bundle native library in jar and extract at runtime.
- Don't reinitialise terminal in TerminalAccess.getTerminal() if already initialised.
2012-08-10 08:50:40 +10:00
Adam Murdoch
e9b300f610 Moved some classes around. 2012-08-04 13:32:41 +10:00
Adam Murdoch
a1c46d3dfa Implemented TerminalAccess.isTerminal() and Terminal.getTerminalSize() on windows. 2012-08-04 13:27:56 +10:00
Adam Murdoch
e5537494b0 First pass for windows support. 2012-08-04 12:32:15 +10:00
Adam Murdoch
dadf93caf8 Added concept of platform to the internals. 2012-08-04 11:41:19 +10:00