- Mar 02, 2017
-
-
Mick Jordan authored
-
Mick Jordan authored
-
Lukas Stadler authored
-
Florian Angerer authored
-
Lukas Stadler authored
-
Florian Angerer authored
Fixed unit test issue: Used the system temp path in a test case which is different for other platforms. Sorry for that.
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Miloslav Metelka authored
-
Stepan Sindelar authored
-
Miloslav Metelka authored
-
- Mar 01, 2017
-
-
stepan authored
-
Florian Angerer authored
-
Florian Angerer authored
Refined a test case.
-
Florian Angerer authored
Fixed serious bug during decoding: Did not properly use the decoder when reading single 'elements' from a connection using method 'getc'. An element is either a character or a byte depending on the connection mode text or binary, respectively. Now, a stream decoder is created on demand and used for any subsequent character-based reading. As in GnuR, mixing binary- and text-based reading and writing leads to undefined behavior since the decoder may already have consumed some bytes.
-
Florian Angerer authored
-
Florian Angerer authored
Removed unnecessary implementation of deleting a temp file since there was already support for this.
-
Florian Angerer authored
Refactored unit tests to not use temp dir (does not work reliably).
-
Florian Angerer authored
Fixed bug in class DelegateReadWriteRConnection: Did not properly return the output stream for compatibility. Ignored a test using JUnit's Ignore annotation.
-
Florian Angerer authored
Added method 'ByteBuffer getChannel()' to interface RConnection and therefore exposing the unterlying channel for FastR internal use. Removed fall-through cases in FileConnections.
-
Florian Angerer authored
-
Florian Angerer authored
Replaced "RError.error(this..." by "RError.error(RError.SHOW_CALLER...". Implemented handling of flag 'raw' when opening files. Added a test for this. Fixed warning in class ConnectionFunctions.
-
Florian Angerer authored
Refactored base classes RConnection, BaseRConnection, and DelegateRConnection to strictly seperate the concerns. BaseRConnection now stores "session data" whereas a delegate connection performs the I/O operation. RConnection is now just an interface defining common operations.
-
Florian Angerer authored
Merged tests for raw connections into TestConnections.
-
Florian Angerer authored
-
Florian Angerer authored
-
Florian Angerer authored
-
Florian Angerer authored
Fixed checkstyle errors.
-
Florian Angerer authored
-
Florian Angerer authored
Implemented non-blocking/text-mode behavior of function "readLines" (silently pushes back incomplete final lines). Refactored all delegate connection implementations to be based on a channel (again).
-
Florian Angerer authored
Added micro tests for several combinations of readLines' flags.
-
Florian Angerer authored
-
Florian Angerer authored
Splitted delegate connection classes into blocking and non-blocking implementations (at least prepared for non-blocking). This was necessary because we cannot simply wrap channels into input streams on non-blocking sockets.
-
Florian Angerer authored
Implemented proper dispatching if an URL is used in function "file".
-
Florian Angerer authored
This seems not to be easily possible from Java. Added more tests and implemented some small missing functionality. Refactored file and compressed file connection implementation. Added encoding support for files. Made some cleanup.
-
Florian Angerer authored
- Moved DelegateRConnection and subclasses into separate files (for better overview). - Increased code sharing of readLines, readChar, readBin (same for write) by providing standard implementation in the delegate classes. Hence, implementation of, for example, named pipes (FIFOs) is almost trivial. - Fixed some bug in SeekableMemoryByteChannel and changed behavior if a byte array is provided in the constructor. - Implemented push back reset when seeking. Added initial test class for FIFOs and added tests to file and text connections. Implemented function "fifo" for working with named pipes.
-
Florian Angerer authored
-
Stepan Sindelar authored
-
stepan authored
-
Lukas Stadler authored
-