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
b8d0830d44
A first pass to correctly convert between c char strings to Java Strings.
2012-09-09 10:01:53 +10:00
Adam Murdoch
4e8db25017
Added PosixFile.symlink() and readLink().
2012-09-01 16:12:24 +10:00
Adam Murdoch
1878bd9ff0
Use the system character encoding to encode file names before passing them to the native code.
2012-08-12 13:13:11 +10:00
Adam Murdoch
058df967a4
Implemented FileSystems on Linux.
2012-08-12 12:59:00 +10:00
Adam Murdoch
b494c52441
Split OS X specific functions out of posix.cpp.
2012-08-12 07:50:08 +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
243bd5514c
Added some diagnostics.
2012-08-10 07:29:01 +10:00
Adam Murdoch
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.
2012-08-10 06:00:05 +10:00
Adam Murdoch
0180d2f035
fixes for Solaris
2012-08-06 15:30:08 +10:00
Adam Murdoch
de2dd46cfb
Added some diagnostics for missing terminal capability.
2012-08-06 15:11:41 +10:00
Adam Murdoch
a7518b4766
Lookup all terminal capabilities on initialisation.
2012-08-06 15:05:38 +10:00
Adam
3cf9618427
initial support for Solaris
2012-08-06 13:48:40 +10:00
Adam Murdoch
e0c31aa176
Added support for Terminal.cursorStartOfLine() and clearToEndOfLine().
2012-08-04 17:18:16 +10:00
Adam Murdoch
ec9d8d7bf8
Added support for Terminal.up(), down(), left(), right() for the terminal.
2012-08-04 16:18:30 +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