summary refs log tree commit diff stats
path: root/lib/pure/streams.nim
Commit message (Collapse)AuthorAgeFilesLines
* Update streams.nimindianpojken2017-10-161-8/+8
|
* Adds uintX variants to read/peek procsindianpojken2017-10-091-0/+32
|
* Fix (#6093)Dmitry Atamanov2017-07-171-2/+2
|
* fixes a long standing string steams bug that caused lexbase to misbehaveAndreas Rumpf2017-06-061-0/+4
|
* disable StringStream for JS (needs copyMem)Jacek Sieka2016-06-081-59/+59
|
* SpellcheckFederico Ceratto2016-02-291-1/+1
|
* Dont convert string to cstring when writing to stream.Yuriy Glukhov2016-01-211-1/+4
|
* use const instead of letRadu Oana2015-09-301-1/+1
|
* Move magic numbers to constRadu Oana2015-09-301-5/+6
|
* added streams.readAll procAraq2015-09-291-0/+12
|
* add default file mode to newFileStream()JamesP2015-09-261-1/+1
|
* add examples to top of module for stringStream and fileStreamJamesP2015-09-261-0/+20
|
* reworked deprecation to retain old procspatrick dw2015-06-191-2/+5
|
* Renamed writeln procs to writeLinepatrick dw2015-06-181-1/+3
|
* Allow to set position at end of streamFederico Omoto2015-06-091-1/+1
|
* lib/pure/p-t - Dropped 'T' from typespdw2015-06-041-1/+1
|
* Fix guard for streams testsFlaviu Tamas2015-05-251-1/+1
|
* Fix peekLine() for streamsSergey Avseyev2015-05-261-2/+6
| | | | | | | | | | | | | | | Motivation ---------- peekLine procs use defer to reset position in the stream, but it also make them always return nil. Modification ------------ Explicitly set result value in peekLine, and write missing unit test. Result ------ Tests are green and bug is fixed
* Remove trailing spacesSergey Avseyev2015-05-251-47/+47
|
* Added defer statementapense2015-05-241-1/+1
| | | All peeks should be covered by defer now, I think
* Rewrote some peeking proceduresapense2015-05-211-27/+4
| | | Use `defer`s and `read...` procs that are already in place. Someone should check that the `defer`s are written correctly. I'm new to using them.
* Update streams.nimapense2015-05-041-0/+10
|
* Added peeking procedures to streamsapense2015-04-121-1/+111
| | | Adds peeking to streams, which is just like reading, but at the end, the stream position hasn't changed.
* set the correct length for s.data when data truely increasedArchs2015-03-041-2/+2
|
* streams.ssWriteData: calling setLen only when new data truely increases the ↵Archs2015-03-011-3/+5
| | | | underlying string buffer
* Fix typosFederico Ceratto2015-02-151-10/+10
|
* fixes the integer conversion regressionsAraq2015-01-131-1/+1
|
* Nimrod renamed to NimAraq2014-08-281-2/+2
|
* big renameAraq2014-08-271-95/+102
|
* renamefestAraq2014-08-231-9/+9
|
* made large parts of the stdlib gcsafeAraq2014-04-201-7/+9
|
* JS: Fixes math and streams module and implements json.Dominik Picheta2014-04-111-39/+41
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
|
* case consistency part 4Araq2013-12-271-2/+2
|
* test-runner for caas multi-step testsZahary Karadjov2013-05-041-0/+6
|
* A file stream now makes sure to only close its file descriptor once.Dominik Picheta2013-04-071-1/+4
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* small cleanupsAraq2013-02-191-3/+1
|
* merged upstream masterZahary Karadjov2013-01-271-1/+2
|\
| * Adds hyperlink to system module to explain TFileMode type.Grzegorz Adam Hankiewicz2012-12-111-1/+2
| |
* | caas is now drivable through stdinZahary Karadjov2012-11-281-2/+6
|/ | | | | * added idetools --eval * streams.readLine recognises and applies the backspace character
* 'assert' hides EAssertionFailsure; stdlib makes use of 'tags'Araq2012-11-181-7/+8
|
* Fixes bug in streams.ssSetPosition.Dominik Picheta2012-08-181-1/+1
|
* preparations for making 'closure' the default calling convention for proc typesAraq2012-07-161-7/+8
|
* preparations for marker procs generationAraq2012-03-191-2/+0
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* old 'readline' and 'endOfFile' not deprecated anymore; too convenient for 1 ↵Araq2011-11-291-4/+2
| | | | liners (see examples/maximum.nim)
* further steps to get rid of deprecated endOfFile and readLineAraq2011-11-291-1/+3
|
* compiler uses new 'readLine'Araq2011-11-271-13/+13
|
* bugfix: tester compiles againAraq2011-11-261-1/+1
|