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 |
|
Andreas Rumpf
|
f091ce258e
|
Merge pull request #3239 from xyz32/devel
When reading files, check if the eof flag is set before throwing.
|
2015-08-25 22:22:32 +02:00 |
|
xyz
|
1def8ec9f9
|
remove fileError
|
2015-08-25 06:48:58 -04:00 |
|
Araq
|
e703afdb3b
|
fixes sysio regression for nimscript support
|
2015-08-24 18:01:40 +02:00 |
|
xyz
|
88247e6857
|
Append the readAllBuffer to what was read already
|
2015-08-23 18:54:15 -04:00 |
|
xyz
|
385a883e14
|
Use seLen as sugested, and fix typos
|
2015-08-23 18:29:38 -04:00 |
|
xyz
|
dc6c0559e9
|
When reading files, check if the eof flag is set before throwing.
|
2015-08-22 10:59:20 -04:00 |
|
Andreas Rumpf
|
2733c508ef
|
Merge pull request #3143 from def-/readline-faster
Improve performance of readLine by using fgets
|
2015-08-21 21:30:27 +02:00 |
|
Araq
|
69b32637b1
|
implements experimental new config system based on NimScript
|
2015-08-16 13:41:30 +02:00 |
|
def
|
a9b299b4ed
|
Improve readLine to work with strings containing \0 again.
This decreases performance slightly.
|
2015-07-25 20:25:58 +02:00 |
|
def
|
401189c3fe
|
No need to set trailing \0
|
2015-07-24 01:13:52 +02:00 |
|
def
|
3943fba34b
|
Improve performance of readLine by using fgets
This drops compatibility with pure CR line endings of old Mac systems
|
2015-07-24 00:31:35 +02:00 |
|
patrick dw
|
1cdbd6b0a5
|
reworked deprecation to retain old procs
|
2015-06-19 18:50:01 -05:00 |
|
patrick dw
|
072688d06e
|
Renamed writeln procs to writeLine
|
2015-06-18 23:49:46 -05:00 |
|
Araq
|
8ddb58aecc
|
fixes bootstrapping on windows
|
2015-04-10 14:17:07 +02:00 |
|
Andreas Rumpf
|
6e6c6446a4
|
Merge pull request #2329 from def-/readline
Speed up readLine by using getc_unlocked
|
2015-04-10 14:02:22 +02:00 |
|