Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | streams: implement readStr for VM, document VM limitations (#24058) | metagn | 2024-09-04 | 1 | -3/+12 |
| | | | | | | | | | | | fixes #24054 `readData` is not implemented for the VM as mentioned in the issue, but `readDataStr` is, so that is used for `readStr` instead on the VM. We could also just use it in general since it falls back to `readData` anyway but it's kept the same otherwise for now. Also where and why streams in general don't work in VM is now documented on the top level `streams` module documentation. | ||||
* | complete std prefixes for stdlib (#22887) | ringabout | 2023-10-30 | 1 | -1/+1 |
| | | | | follow up https://github.com/nim-lang/Nim/pull/22851 follow up https://github.com/nim-lang/Nim/pull/22873 | ||||
* | Markdown code blocks migration part 8 (#22478) | Andrey Makarov | 2023-08-15 | 1 | -44/+44 |
| | |||||
* | replace `doAssert false` with `raiseAssert` in lib, which works better with ↵ | ringabout | 2023-08-11 | 1 | -1/+1 |
| | | | | strictdefs (#22458) | ||||
* | Refines raises list in osproc (#21323) | ringabout | 2023-02-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | * Remove Exception from raises in closeImpl * Update osproc.nim * refine errors * add ValueError * cast raises * refactor raises lists * Update lib/pure/osproc.nim * Update lib/pure/osproc.nim --------- Co-authored-by: Antonis Geralis <43617260+planetis-m@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Export FileMode (#20726) | Antonis Geralis | 2022-11-02 | 1 | -0/+1 |
| | |||||
* | allow deferred close of nil stream (#20706) | n5m | 2022-10-31 | 1 | -4/+14 |
| | | | | | * allow deferred close of nil stream * improve example | ||||
* | [Orc] fixes "streams.readDataStr segafaults" when accepting a string ↵ | flywind | 2022-07-15 | 1 | -0/+5 |
| | | | | | literal (#20019) [backport] fixes streams.readDataStr accept a string literal | ||||
* | Really fix StringStream with ARC at compile-time, improve streams test (#19739) | Danil Yarantsev | 2022-04-25 | 1 | -2/+8 |
| | | | | | * Fix compile-time StringStream with ARC * make readDataStr work with ARC, improve test | ||||
* | Fix string stream crashing when created on nimscript due to last fix (#19717) | Jason Beetham | 2022-04-14 | 1 | -1/+1 |
| | |||||
* | StringStreams no longer errors when intialized with literals on arc/orc (#19708) | Jason Beetham | 2022-04-11 | 1 | -0/+2 |
| | |||||
* | move io out of system (#19442) | flywind | 2022-02-02 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * move io out of system * fix tests * fix tests * next step * rename to syncio * rename * fix nimscript * comma * fix * fix parts of errors * good for now * fix test | ||||
* | add sink and lent annotations for xmltree and streams (#18037) | Antonis Geralis | 2021-05-18 | 1 | -1/+1 |
| | |||||
* | fix #17888: remove undefined behavior for posix.open; fix ↵ | Timothee Cour | 2021-04-29 | 1 | -0/+1 |
| | | | | | | | | | | | tempfiles.createTempFile (#17889) * fix #17888: remove undefined behavior for posix.open; fix tempfiles.createTempFile * fix for tests/async/tasyncfile.nim * hide mode for now * add notice regarding stability | ||||
* | Change stdlib imports to use std prefix in most examples (#17202) | Danil Yarantsev | 2021-02-28 | 1 | -5/+5 |
| | |||||
* | fix some warnings (#16952) | flywind | 2021-02-08 | 1 | -2/+2 |
| | |||||
* | remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) | Timothee Cour | 2021-01-29 | 1 | -8/+2 |
| | | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup | ||||
* | Deprecate TaintedString (#15423) | Juan Carlos | 2021-01-15 | 1 | -43/+35 |
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | fixed article duplication typos (#16216) | ihlec | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | move tests to testament (#16101) | flywind | 2020-11-24 | 1 | -14/+0 |
| | | | | | | | | | * move tests to testament * minor * fix random * disable test random | ||||
* | Fix #12410 (#15685) | Clyybber | 2020-10-23 | 1 | -1/+1 |
| | | | | | * Fix #12410, big thanks to @pmetras for this fix * Add testcase | ||||
* | move since from inclrtl to std/private/since (#14188) | hlaaftana | 2020-05-02 | 1 | -1/+1 |
| | | | | * move since from inclrtl to std/private/since * move since import in system below for HCR | ||||
* | StringStream & more stdlib modules support for JS/NimScript (#14095) | hlaaftana | 2020-04-28 | 1 | -189/+287 |
| | | | | | * StringStream & more stdlib modules support for JS/NimScript * change back pegs test in line with #14134 | ||||
* | Faster readStr() (#14099) | Christopher Dunn | 2020-04-25 | 1 | -6/+22 |
| | | | | | | | | | * Faster readStr() * https://github.com/nim-lang/Nim/issues/13857 * Add .since annotation and add to changelog * Private, un-sinced proc for csource bootstrapping | ||||
* | Added fix for handling TaintedStrings in streams and httpclient (#12969) | Sam Wang | 2019-12-29 | 1 | -2/+10 |
| | | | | | | * Added fix for taint mode in streams and httpclient * Removed taintMode export from system.nim | ||||
* | Fix many broken links | Jjp137 | 2019-10-22 | 1 | -1/+1 |
| | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. | ||||
* | use system.move instead of system.shallowCopy if the GC mode requires it | Andreas Rumpf | 2019-10-04 | 1 | -4/+2 |
| | |||||
* | [backport] run nimpretty on string stuff | narimiran | 2019-09-30 | 1 | -7/+9 |
| | |||||
* | More of StringStream now works at compile time (#12284) | Clyybber | 2019-09-29 | 1 | -28/+103 |
| | | | | | | | | * readLine of StringStream now works at compile time * Work for js backend only at compile time * readAll now works at CT * readAll works in js ct now * Add test | ||||
* | fixes #9026 adds a readLineImpl to streams so that FileStreams can be fast ↵ | Ray Imber | 2019-09-23 | 1 | -13/+24 |
| | | | | (#12234) | ||||
* | streams.nim: indentation change | Araq | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | streams: change error message of `openFileStream` (#11438) [feature] | jiro | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | fixes #11049, wrong streams.readBool and streams.peekBool (#11284) | Miran | 2019-05-20 | 1 | -4/+16 |
| | |||||
* | streams: Update documentation, refs #10330 (#11059) | jiro | 2019-04-29 | 1 | -81/+832 |
| | |||||
* | newruntime: progress | Araq | 2019-04-01 | 1 | -7/+7 |
| | |||||
* | StringStream and parseJson, parseCfg, parseSql et al for the vm (#10746) | Arne Döring | 2019-02-28 | 1 | -1/+32 |
| | |||||
* | make travis green | Araq | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | make streams.close more forgiving in order to break less code out there | Araq | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | Improve exception tracking in the streams module (#10453) | Oscar Nihlgård | 2019-01-28 | 1 | -21/+16 |
| | |||||
* | make the stdlib work with the changed docgen | Araq | 2019-01-11 | 1 | -1/+1 |
| | |||||
* | make Stream.{read,peek} procs public (#9806) | Notkea | 2019-01-09 | 1 | -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 changed | Andreas Rumpf | 2018-10-25 | 1 | -28/+28 |
| | |||||
* | Fixes #8841 (#9101) | Yasuhiro Horimoto | 2018-10-09 | 1 | -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 seqs | Andreas Rumpf | 2018-08-13 | 1 | -1/+4 |
| | |||||
* | stdlib work | Zahary Karadjov | 2018-06-16 | 1 | -2/+14 |
| | |||||
* | Hide readAll from js for tests passing | data-man | 2018-05-25 | 1 | -13/+14 |
| | |||||
* | Fixes streams bugs | data-man | 2018-05-25 | 1 | -3/+3 |
| | |||||
* | Fixes #7877 | data-man | 2018-05-25 | 1 | -1/+0 |
| | |||||
* | Fixes #7877 | data-man | 2018-05-25 | 1 | -6/+8 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -31/+0 |
| |