Adam Murdoch
a4b166bc02
Added license and copyright notice.
2012-12-14 04:51:07 +11:00
Adam Murdoch
802fb78f29
Split out terminfo jni functions into a separate native library, so that curses/ncurses is not required to load the main native library.
2012-11-12 17:20:04 +11:00
Adam Murdoch
6b09ac415a
Updated native library version.
2012-10-10 17:09:12 +11: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
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
3a58e27eeb
Added SystemInfo and FileSystems to query system and file system information, respectively.
2012-08-12 06:17:58 +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
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