Adam Murdoch
9f18c944b8
Reuse OS X file system implementation for FreeBSD.
2014-03-15 16:13:34 +11:00
Adam Murdoch
8fabe5b0c4
Added a stubbed implementation to list filesystems on FreeBSD.
2014-03-15 13:35:38 +11:00
Adam Murdoch
a19ec739eb
Fixes for handling of handle inheritance.
2014-01-28 20:19:29 +11:00
Adam Murdoch
a6e825464e
Split the c++ source files into separate source sets for shared, lib and curses
2013-12-12 12:21:44 +11:00
Michael Putters
9c4efce3d4
Added tests for WindowRegistry.getValueNames
2013-12-12 00:12:10 +01:00
Michael Putters
45dc2bc7be
Added Windows registry value names enumeration
2013-12-11 23:48:57 +01:00
Adam Murdoch
077298ddf4
Added WindowsRegistry.
2013-12-10 18:02:35 +11:00
Adam Murdoch
e03d3c16f3
Added PosixFiles.stat()
2013-12-07 09:27:52 +11:00
Adam Murdoch
2e2fbb8f02
Removed duplicate calls.
2013-03-13 10:12:57 +11:00
Adam Murdoch
f3af019c41
Changed method for converting between java and c strings, to convert using an intermediate wchar_t string. Should be more reliable than trying to probe the character encoding.
2013-02-25 19:30:33 +11:00
Adam Murdoch
18c0d99835
Implemented ProcessLauncher on Windows.
2013-02-20 15:02:25 +11:00
Adam Murdoch
fc23941f5c
Implemented get and set environment variables for posix.
2013-02-16 11:15:05 +11:00
Adam Murdoch
01c4f26e97
Include errno name in error messages, if the errno is known.
2013-02-16 11:14:41 +11:00
Adam Murdoch
6cab15ece4
Started implementing environment variable methods on windows.
2013-02-07 17:58:13 +11:00
Adam Murdoch
9e0493f94e
Implemented Process working directory methods on windows, and fixed file system details.
2013-02-07 16:58:11 +11:00
Adam Murdoch
12c41606ee
Some fixes for linux.
2013-01-26 18:18:56 +11:00
Adam Murdoch
64a738008e
Added Process.getWorkingDirectory() and setWorkingDirectory() and posix implementation.
2013-01-26 17:51:10 +11:00
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
2efd8ec125
Split curses based functions out to separate source file.
2012-11-12 16:36:37 +11:00
Adam Murdoch
7f5a002f96
Added a TODO.
2012-11-12 16:36:37 +11:00
Adam Murdoch
6b09ac415a
Updated native library version.
2012-10-10 17:09:12 +11:00
Adam Murdoch
7cfe8dc502
Fixed terminal reset on windows.
2012-10-10 17:02:47 +11:00
Adam Murdoch
2fb75c790c
Use correct handle when detecthing console on windows.
2012-10-10 16:51:02 +11:00
Adam Murdoch
30cc864813
- Improvements to fetching file system information on Windows.
...
- Fixes for reset and clearing to end of line for Windows console.
2012-09-15 17:52:51 +10:00
Adam Murdoch
17ab1f04ef
First cut of file system information for windows.
2012-09-15 09:58:34 +10:00
Adam Murdoch
de4e340e2c
Implemented SystemInfo for windows.
2012-09-09 17:07:38 +10: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
208d1be584
implemented basic char_to_java()
2012-09-09 14:17:58 +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
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
347ae83782
Implemented Terminal cursor methods on windows.
2012-08-04 17:56:12 +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
7ee843612a
Implemented Terminal.bold(), foreground(), normal() and reset().
2012-08-04 14:08:19 +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