- Mar 01, 2017
-
-
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
-
Lukas Stadler authored
-
Mick Jordan authored
-
- Feb 28, 2017
-
-
Mick Jordan authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
stepan authored
-
Mick Jordan authored
[GR-2982] Remove temporary directory on context exit; share parent tempdir for SHARED_PARENT_RW contexts.
-
Lukas Stadler authored
-
Lukas Stadler authored
-
Lukas Stadler authored
-
- Feb 27, 2017
-
-
Lukas Stadler authored
-