summary refs log tree commit diff stats
path: root/lib/system/sysio.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix readLine handling of long lines.Reimer Behrends2015-08-281-1/+10
|
* Merge pull request #3239 from xyz32/develAndreas Rumpf2015-08-251-4/+15
|\ | | | | When reading files, check if the eof flag is set before throwing.
| * remove fileErrorxyz2015-08-251-4/+1
| |
| * Append the readAllBuffer to what was read alreadyxyz2015-08-231-1/+1
| |
| * Use seLen as sugested, and fix typosxyz2015-08-231-3/+2
| |
| * When reading files, check if the eof flag is set before throwing.xyz2015-08-221-4/+19
| |
* | fixes sysio regression for nimscript supportAraq2015-08-241-1/+4
|/
* Merge pull request #3143 from def-/readline-fasterAndreas Rumpf2015-08-211-54/+30
|\ | | | | Improve performance of readLine by using fgets
| * Improve readLine to work with strings containing \0 again.def2015-07-251-5/+15
| | | | | | | | This decreases performance slightly.
| * No need to set trailing \0def2015-07-241-7/+4
| |
| * Improve performance of readLine by using fgetsdef2015-07-241-54/+23
| | | | | | | | This drops compatibility with pure CR line endings of old Mac systems
* | implements experimental new config system based on NimScriptAraq2015-08-161-4/+7
|/
* reworked deprecation to retain old procspatrick dw2015-06-191-1/+5
|
* Renamed writeln procs to writeLinepatrick dw2015-06-181-1/+2
|
* fixes bootstrapping on windowsAraq2015-04-101-2/+3
|
* Merge pull request #2329 from def-/readlineAndreas Rumpf2015-04-101-16/+52
|\ | | | | Speed up readLine by using getc_unlocked
| * Speed up readLine by using getc_unlockeddef2015-03-121-16/+52
| | | | | | | | | | | | - Only on POSIX and Windows (_fgetc_nolock here) systems - File is locked to our thread before and unlocked after readLine - About 3 times faster in some simple tests
* | Use more Natural and Positive numbers in proc parametersdef2015-04-061-18/+18
| | | | | | | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work
* | Make readFile work with FIFO filesdef2015-03-121-1/+1
|/
* Fix for readAll(stdin) problem on OS X and better anyway.Hans Raaf2015-03-011-2/+2
|
* fixes #2199, fixes #2197Araq2015-02-241-1/+1
|
* Make readBytes and writeBytes work with uint8def2015-02-181-2/+2
| | | | | | So far only openarray[int8] worked. Now it's openarray[int8|uint8]. This should make sense, since uint8 is comfortable to represent a byte (0-255) and there is already type byte* = uint8 in system.
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* lots of C++ codegen improvementsAraq2015-02-071-5/+11
|
* fixed 'system.open' bugAraq2014-09-141-7/+7
|
* system files use new identifiersAraq2014-08-231-61/+61
|
* Fixed readAllBuffer() to avoid adding garbage bytes at end.Reimer Behrends2014-05-261-4/+8
| | | | | | | The function readAllBuffer() always returned a string that was a multiple of the BufSize in length, regardless of how many bytes were actually read, padding the result with garbage bytes on the last chunk. This fix properly trims the last chunk to its actual size.
* doc generation for asyncdispatch worksAraq2014-04-061-2/+3
|
* case consistency: next stepsAraq2013-12-291-5/+5
|
* improvements for 'pretty'Araq2013-12-281-9/+9
|
* case consistency part 4Araq2013-12-271-6/+6
|
* templates can access hidden fieldsAraq2013-12-251-4/+4
|
* bootstraps with new template symbol binding rulesAraq2013-12-241-1/+1
|
* NoFakeVars progressAraq2013-12-241-0/+4
|
* vm: FFI improvementsAraq2013-12-231-6/+14
|
* new VM: some progress for the FFI supportAraq2013-12-231-2/+2
|
* float64 is now an alias to 'float'; fixes #545Araq2013-08-301-1/+1
|
* made some tests greenAraq2013-06-301-2/+2
|
* --os:standalone works againAraq2013-06-301-17/+22
|
* GC'ed wide strings for windowsAraq2013-05-201-8/+4
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* made some tests greenAraq2013-03-041-0/+2
|
* Copyright 2012 -> 2013Araq2013-01-081-1/+1
|
* 'assert' hides EAssertionFailsure; stdlib makes use of 'tags'Araq2012-11-181-11/+13
|
* profiler improvementsAraq2012-09-171-1/+1
|
* term rewriting macros fully implemented; still buggyAraq2012-09-031-4/+0
|
* openarray/varargs split; breaks bootstrappingAraq2012-08-161-2/+2
|
* DLLs should work again; fixes #169Araq2012-07-241-0/+2
|
* changed integer promotion rules; breaks bootstrapping and lots of codeAraq2012-07-081-4/+4
|
* added devel/logging; weakrefs test; next steps for proper unsigned supportAraq2012-07-051-1/+1
|