mfelsche Reimplement files.FileLines (#2707)
* Add UnitTest.set_up similar to UnitTest.tear_down

for use-cases where the Env from the TestHelper is needed to initialize state in a test, which is very hard to do in the constructor (e.g. for creating temporary directories)

* reimplement FileLines using buffered.Reader

Making it maintain its own cursor through the file for not disturbing other operations on the same file.

Removed File.line as agreed upon in #2185

* make examples work with iso^ FileLines

* fix windows issues with files/File.flush test

* simplify and fix FileLines implementation

* Add documentation for UnitTest.set_up

* added manual changelog entries

* Add arg keep_line_breaks to function buffered.Reader.line

* advance file cursor for each returned line to the end of that very line

to be exact it is advanced to after the linebreak

* update changelog

* Removed old changelog entries that were added during faulty rebase [skip ci]
Latest commit b73b4c4 Sep 4, 2018
Permalink
..
Failed to load latest commit information.
circle Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
commandline Allow more customisation of artificial environments Apr 3, 2018
counter Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
dtrace Run cycle detector every N ms based on timer (#2709) Jun 20, 2018
echo Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
ffi-callbacks Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
ffi-struct Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
files Reimplement files.FileLines (#2707) Sep 4, 2018
gups_basic Fix usage of cli package in examples. Jun 6, 2018
gups_opt Fix usage of cli package in examples. Jun 6, 2018
helloworld Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
ifdef Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
lambda Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
mailbox Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
mandelbrot Fix usage of cli package in examples. Jun 6, 2018
message-ubench Allow more customisation of artificial environments Apr 3, 2018
mixed Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
n-body Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
net Fix examples/net and add additional output (#2395) Dec 13, 2017
overload Fix `make test-examples` errors if missing example apps were included Jan 27, 2018
ponybench Add .gitignore to ponybench example Jun 10, 2018
printargs Allow more customisation of artificial environments Apr 3, 2018
producer-consumer Expose OutStream rather than StdStream in Env (#2463) Jan 14, 2018
readline Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
ring Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
spreader Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
systemtap Run cycle detector every N ms based on timer (#2709) Jun 20, 2018
timers Add gitignore to examples to ignore the binary (#2349) Nov 18, 2017
under_pressure Update Backpressure.apply/release examples (#2708) May 23, 2018
yield Fix usage of cli package in examples. Jun 6, 2018