summary refs log tree commit diff stats
path: root/lib/pure/streams.nim
Commit message (Collapse)AuthorAgeFilesLines
* streams: Update documentation, refs #10330 (#11059)jiro2019-04-291-81/+832
|
* newruntime: progressAraq2019-04-011-7/+7
|
* StringStream and parseJson, parseCfg, parseSql et al for the vm (#10746)Arne Döring2019-02-281-1/+32
|
* make travis greenAraq2019-02-061-1/+1
|
* make streams.close more forgiving in order to break less code out thereAraq2019-02-061-1/+1
|
* Improve exception tracking in the streams module (#10453)Oscar Nihlgård2019-01-281-21/+16
|
* make the stdlib work with the changed docgenAraq2019-01-111-1/+1
|
* make Stream.{read,peek} procs public (#9806)Notkea2019-01-091-2/+2
| | | Those are useful in generic code, and `proc write*[T](s: Stream, x: T)` was already public.
* stdlib: documenation updates, the exception names have been changedAndreas Rumpf2018-10-251-28/+28
|
* Fixes #8841 (#9101)Yasuhiro Horimoto2018-10-091-2/+2
| | | Modify comments for readChar and peekChar to the same as the comment for them in the source code.
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-1/+4
|
* stdlib workZahary Karadjov2018-06-161-2/+14
|
* Hide readAll from js for tests passingdata-man2018-05-251-13/+14
|
* Fixes streams bugsdata-man2018-05-251-3/+3
|
* Fixes #7877data-man2018-05-251-1/+0
|
* Fixes #7877data-man2018-05-251-6/+8
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-31/+0
|
* Fixes #5281 (#7489)Dmitry Atamanov2018-04-061-0/+2
|
* Resolves #5588: adds openFileStream proc that throws on failure (#7282)twetzel592018-03-041-0/+10
|
* 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
|
ware Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS