def
aa7e7ee270
Make readFile work with FIFO files
2015-03-12 21:17:39 +01:00
Hans Raaf
79ad73574c
Fix for readAll(stdin) problem on OS X and better anyway.
2015-03-01 03:35:20 +01:00
Araq
f4a0400de2
fixes #2199 , fixes #2197
2015-02-24 19:19:08 +01:00
def
ecfaab68f1
Make readBytes and writeBytes work with uint8
...
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.
2015-02-18 21:13:01 +01:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
Araq
e84834db79
lots of C++ codegen improvements
2015-02-07 10:48:07 +01:00
Araq
05f09fafcf
fixed 'system.open' bug
2014-09-14 11:27:14 +02:00
Araq
fc0fda14ae
system files use new identifiers
2014-08-23 00:58:04 +02:00
Reimer Behrends
ce773b70a7
Fixed readAllBuffer() to avoid adding garbage bytes at end.
...
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.
2014-05-26 14:29:55 +02:00
Araq
a4ccd7b865
doc generation for asyncdispatch works
2014-04-06 19:36:29 +02:00
Araq
438703f59e
case consistency: next steps
2013-12-29 01:13:51 +01:00
Araq
1101a40f91
improvements for 'pretty'
2013-12-28 23:30:53 +01:00
Araq
92b8fac94a
case consistency part 4
2013-12-27 23:10:36 +01:00
Araq
9e92455a53
templates can access hidden fields
2013-12-25 14:53:00 +01:00
Araq
4d01408a46
bootstraps with new template symbol binding rules
2013-12-24 16:42:24 +01:00
Araq
feb9af48f1
NoFakeVars progress
2013-12-24 00:21:22 +01:00
Araq
32ef1f8f32
vm: FFI improvements
2013-12-23 20:12:13 +01:00
Araq
9145bcfbb6
new VM: some progress for the FFI support
2013-12-23 01:17:48 +01:00
Araq
7056ceda67
float64 is now an alias to 'float'; fixes #545
2013-08-30 12:24:54 +02:00
Araq
1a5e30b053
made some tests green
2013-06-30 21:55:05 +02:00
Araq
52851b722d
--os:standalone works again
2013-06-30 21:15:28 +02:00
Araq
baf89e3d66
GC'ed wide strings for windows
2013-05-20 02:17:24 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
cbf82cad7d
made some tests green
2013-03-04 18:50:08 +01:00
Araq
3c73654aca
Copyright 2012 -> 2013
2013-01-08 07:54:23 +01:00
Araq
3c0a6a8962
'assert' hides EAssertionFailsure; stdlib makes use of 'tags'
2012-11-18 01:36:20 +01:00
Araq
75abf72503
profiler improvements
2012-09-17 00:31:41 +02:00
Araq
af7c92c003
term rewriting macros fully implemented; still buggy
2012-09-03 00:55:44 +02:00
Araq
0171566c98
openarray/varargs split; breaks bootstrapping
2012-08-16 08:34:33 +02:00
Araq
ed915a309e
DLLs should work again; fixes #169
2012-07-24 01:14:21 +02:00
Araq
4fbba0a65a
changed integer promotion rules; breaks bootstrapping and lots of code
2012-07-08 21:03:47 +02:00
Araq
36247e0947
added devel/logging; weakrefs test; next steps for proper unsigned support
2012-07-05 00:03:33 +02:00
Araq
2900ceae35
changed integer promotion rules; added math.fmod
2012-06-28 08:33:25 +02:00
Araq
3c98518487
docgen2 improvements
2012-06-23 16:32:14 +02:00
Araq
ff4a69b624
win64 is a supported target; bugfix: nimrod c -r on windows; stdlib uses wide char versions of the WinAPI
2012-03-04 21:44:56 +01:00
Araq
8d19a93f1a
pragma on/off improvements; endb rewritten
2012-01-28 23:22:44 +01:00
Araq
4f1b89c30c
year 2012 for most copyright headers
2012-01-02 23:07:35 +01:00
Araq
05fd30df43
sysio: got rid of now unnecessary length check
2011-12-31 11:35:40 +01:00
Simon Hafner
24917aaf1e
fixes for readAll
2011-12-30 14:15:12 +01:00
Simon Hafner
5ede29cd05
implemented readAll()
2011-12-22 17:17:06 +01:00
Araq
8e1313d237
bugfix: tester compiles again
2011-11-26 17:48:42 +01:00
Araq
4b39ac5cbe
deprecated endOfFile and readLine
2011-11-25 18:17:14 +01:00
Araq
485c371942
renamed optional to discardable
2011-09-24 19:18:08 +02:00
Araq
6023e994fb
beginning of a taint mode; type system enhancements
2011-09-24 00:46:41 +02:00
Araq
0e7f2ca3f1
bugfixes; added events module, sequtils module
2011-07-26 00:46:41 +02:00
Araq
990dc2d715
code gen bugfixes; marshal.nim implemented
2011-06-26 17:21:52 +02:00
Araq
04f9c2585a
readFile raises EIO instead of returning nil; added system.writeFile
2011-06-16 10:47:44 +02:00
Araq
e5eb36e472
ugh cannot get rid of rawEcho yet because old compiler relies on it
2011-06-05 10:56:20 +02:00
Araq
24ed9d560f
threads clean up their heap
2011-06-04 23:55:10 +02:00
Araq
36accda8aa
unary <; countup two type parameters; --recursivePath should work now
2011-01-29 14:18:43 +01:00