summary refs log tree commit diff stats
path: root/lib/system/sysio.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #9456 by only calling `c_fclose` if non nilVindaar2018-10-201-1/+4
|
* don't reuse code from 0.18.0skilchen2018-09-151-9/+2
|
* more efficient fix for #8961skilchen2018-09-151-0/+6
|
* fixes #8961Araq2018-09-141-2/+2
|
* make tio test green againAraq2018-08-221-3/+7
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-7/+1
|
* make at least bootstrapping workAraq2018-08-051-0/+8
|\
| * make 'echo' threadsafe on Windows; fixes #8511Araq2018-08-041-0/+8
| |
* | fix merge conflictAndreas Rumpf2018-07-181-1/+1
|\|
| * Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-1/+1
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-131-1/+1
|/
* Nintendo switch support (#8069)Joey2018-06-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* fixes #7252Araq2018-04-061-2/+2
|
* Fix undefined reference with MinGw (#7175)Volodymyr Melnychuk2018-02-091-4/+10
| | | | | * fix undefined reference with mingw * use fseek, ftell for x86 and _fseeki64, _ftelli64 for amd64
* Fixes #7121 (#7148)pqflx32018-01-311-8/+14
| | | | | | * Replace ftell and fseek with (windows) _ftelli64, _fseeki64 and (posix) ftello, fseeko * disable large file test
* - fixed lock of a program when proc echo is called on Android 5.x.x (#7054)rrenderr2018-01-101-2/+3
|
* 'ord' does not produce a range type anymoreAndreas Rumpf2017-11-021-1/+1
|
* fixes the Windows buildAndreas Rumpf2017-10-161-4/+6
|
* fixes #1137Andreas Rumpf2017-10-161-0/+12
|
* fixes to allow the usage of clang on windows with the msvc abi and ms ↵Charlie Barto2017-10-091-3/+6
| | | | headers (#6442)
* remove ArrayDummySize with unchecked arrays (#5818)Jacek Sieka2017-08-281-4/+4
|
* fixes #6131Andreas Rumpf2017-07-221-2/+2
|
* remove system.getFileSize again, breaks windows builds and I don't want more ↵Araq2017-04-081-7/+0
| | | | stuff that's a pain to support in a platform independent manner
* getFileSize and setFileSize procedures for File and AsyncFileEmery Hemingway2017-04-051-0/+7
| | | | | Platform independent procedure to set a file length. Useful when replacing file content.
* fixes #5392araq2017-02-151-1/+4
|
* sysio: check for IO errors for write operationsAraq2017-02-111-6/+8
|
* sysio: minor improvementsAraq2017-02-091-4/+5
|
* make tests green againAndreas Rumpf2017-02-081-0/+4
|
* make tests green againAndreas Rumpf2017-02-081-2/+0
|
* fixes #5349Araq2017-02-081-18/+33
|
* Added FileSeekPosYuriy Glukhov2016-12-081-2/+2
|
* fixes bootstrapping problemAraq2016-10-211-11/+11
|
* fixes #564Andreas Rumpf2016-10-211-5/+6
|
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
|
* Correction as I hadn't realised setvbuf had been renamed.A. S. Budden2016-06-131-3/+3
|
* Merged upstream/devel into this branch to resolve conflicts and ensure an ↵A. S. Budden2016-06-131-69/+84
|\ | | | | | | easy merge back into upstream/devel
| * fixes sysio/readChar regressionAndreas Rumpf2016-06-131-1/+1
| |
| * fix fgets typeJacek Sieka2016-06-081-1/+1
| |
| * prefer consts to importing #defines from headersJacek Sieka2016-06-061-7/+23
| | | | | | | | | | to be completed - better would be to have a libc wrapper that deals with all pesky C ABI details
| * fix types of ansi_c/sysio to more closely match C ABIJacek Sieka2016-06-051-62/+61
| | | | | | | | | | also fixes some instances of using C library functions when there are nim alternatives available
* | Corrected setStdIoUnbuffered for systems without stdout, stderr or stdin ↵A. S. Budden2016-06-131-3/+6
| | | | | | | | declared.
* | Added setStdIoUnbuffered for unbuffered stdio (fixes #2146).A. S. Budden2016-06-121-0/+5
|/
* widestrs are always available for better interopAndreas Rumpf2016-05-281-2/+1
|
* Fixes #3752.Dominik Picheta2016-04-041-0/+2
|
* Explicitly return falsedef2016-03-181-1/+1
|
* Comment to explain not opening directories in open()def2016-03-171-0/+3
|
* Don't check opened file for directory in nimscriptdef2016-03-161-2/+2
|
* Don't open directories as filesdef2016-03-141-0/+18
|
* Support IOFBF and IONBF on all systemsdef2016-03-061-3/+2
|
* further progress on --gc:v2Andreas Rumpf2016-02-171-51/+59
|