Commit Graph

125 Commits

Author SHA1 Message Date
skilchen
e317745098 don't reuse code from 0.18.0 2018-09-15 14:05:42 +02:00
skilchen
9fa477de75 more efficient fix for #8961 2018-09-15 01:04:23 +02:00
Araq
4ab9953787 fixes #8961 2018-09-14 11:40:43 +02:00
Araq
7896903fd0 make tio test green again 2018-08-22 13:15:19 +02:00
Araq
64517445ea even more strict isNil handling for strings/seqs in order to detect bugs 2018-08-22 12:35:46 +02:00
Araq
7ac6462cbd make at least bootstrapping work 2018-08-05 14:17:24 +02:00
Araq
e6738ba9d9 make 'echo' threadsafe on Windows; fixes #8511 2018-08-04 18:11:03 +02:00
Andreas Rumpf
4389409e26 fix merge conflict 2018-07-18 09:46:30 +02:00
Andreas Rumpf
74bf316619 more progress on destructor based strings 2018-07-13 21:15:47 +02:00
Yuriy Glukhov
dfe3f16022 Don't depend on string.h in codegen (#8299) 2018-07-13 17:41:59 +02:00
Joey
559a7615ad Nintendo switch support (#8069)
* 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
2018-06-27 12:35:09 +02:00
Araq
2d68674338 fixes #7252 2018-04-06 22:25:25 +02:00
Volodymyr Melnychuk
40e3b5798a Fix undefined reference with MinGw (#7175)
* fix undefined reference with mingw
* use fseek, ftell for x86 and _fseeki64, _ftelli64 for amd64
2018-02-09 09:34:26 +01:00
pqflx3
8d8df5807b Fixes #7121 (#7148)
* Replace ftell and fseek with (windows) _ftelli64, _fseeki64 and (posix) ftello, fseeko

* disable large file test
2018-01-31 16:38:37 +01:00
rrenderr
a1016245cc - fixed lock of a program when proc echo is called on Android 5.x.x (#7054) 2018-01-10 12:41:29 +01:00
Andreas Rumpf
762ade1177 'ord' does not produce a range type anymore 2017-11-02 18:23:21 +01:00
Andreas Rumpf
527e20fd3a fixes the Windows build 2017-10-16 19:52:32 +02:00
Andreas Rumpf
7eeef4aae7 fixes #1137 2017-10-16 16:47:10 +02:00
Charlie Barto
d55e02ddf1 fixes to allow the usage of clang on windows with the msvc abi and ms headers (#6442) 2017-10-09 17:26:53 +02:00
Jacek Sieka
22684370b0 remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
Andreas Rumpf
cb0d65280f fixes #6131 2017-07-22 15:42:09 +02:00
Araq
6eb74c7281 remove system.getFileSize again, breaks windows builds and I don't want more stuff that's a pain to support in a platform independent manner 2017-04-08 18:19:01 +02:00
Emery Hemingway
bc5c2d8414 getFileSize and setFileSize procedures for File and AsyncFile
Platform independent procedure to set a file length. Useful when
replacing file content.
2017-04-05 19:05:43 -05:00
araq
1811e51ff5 fixes #5392 2017-02-15 22:09:16 +01:00
Araq
9b8150aef1 sysio: check for IO errors for write operations 2017-02-11 00:23:22 +01:00
Araq
a20b4c674e sysio: minor improvements 2017-02-09 20:11:54 +01:00
Andreas Rumpf
52c38f8535 make tests green again 2017-02-08 22:42:48 +01:00
Andreas Rumpf
d23eb79849 make tests green again 2017-02-08 22:21:01 +01:00
Araq
794d36cf31 fixes #5349 2017-02-08 14:33:05 +01:00
Yuriy Glukhov
feba5acc98 Added FileSeekPos 2016-12-08 18:57:46 +02:00
Araq
7c22c03876 fixes bootstrapping problem 2016-10-21 18:02:57 +02:00
Andreas Rumpf
e2eb9f815e fixes #564 2016-10-21 16:57:57 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
A. S. Budden
8e28a6140b Correction as I hadn't realised setvbuf had been renamed. 2016-06-13 16:57:52 +01:00
A. S. Budden
1095b35a79 Merged upstream/devel into this branch to resolve conflicts and ensure an easy merge back into upstream/devel 2016-06-13 16:44:14 +01:00
A. S. Budden
5327cd0a84 Corrected setStdIoUnbuffered for systems without stdout, stderr or stdin declared. 2016-06-13 16:37:50 +01:00
Andreas Rumpf
68d1240012 fixes sysio/readChar regression 2016-06-13 12:23:31 +02:00
A. S. Budden
52b4e8f661 Added setStdIoUnbuffered for unbuffered stdio (fixes #2146). 2016-06-12 07:40:28 +01:00
Jacek Sieka
9604444d09 fix fgets type 2016-06-08 20:48:46 +08:00
Jacek Sieka
8d7a45f205 prefer consts to importing #defines from headers
to be completed - better would be to have a libc wrapper that deals with
all pesky C ABI details
2016-06-06 23:00:00 +08:00
Jacek Sieka
64b0485207 fix types of ansi_c/sysio to more closely match C ABI
also fixes some instances of using C library functions when there are
nim alternatives available
2016-06-05 12:03:20 +08:00
Andreas Rumpf
ab08ee1ce6 widestrs are always available for better interop 2016-05-28 20:18:11 +02:00
Dominik Picheta
a70e6b3fde Fixes #3752. 2016-04-04 12:06:25 +01:00
def
dfba0bdcaf Explicitly return false 2016-03-18 19:09:27 +01:00
def
d5c332ffa8 Comment to explain not opening directories in open() 2016-03-17 22:22:52 +01:00
def
7fa3d58167 Don't check opened file for directory in nimscript 2016-03-16 13:05:04 +01:00
def
14bbfa360c Don't open directories as files 2016-03-14 13:05:06 +01:00
def
5a06c2260d Support IOFBF and IONBF on all systems 2016-03-06 22:09:27 +01:00
Andreas Rumpf
8ec5c01cae further progress on --gc:v2 2016-02-17 14:52:02 +01:00
Reimer Behrends
7dd263f506 Fix readLine handling of long lines. 2015-08-28 17:21:03 +02:00