Commit graph

90 commits

Author SHA1 Message Date
apense
9a629d72e8 Added peeking procedures to streams
Adds peeking to streams, which is just like reading, but at the end, the stream position hasn't changed.
2015-04-12 20:38:35 -04:00
Archs
758a883cc6 set the correct length for s.data when data truely increased 2015-03-04 00:28:18 +08:00
Archs
f9b2f9565c streams.ssWriteData: calling setLen only when new data truely increases the underlying string buffer 2015-03-01 00:33:40 +08:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Araq
20774ad43c fixes the integer conversion regressions 2015-01-13 20:56:31 +01:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
e6d17e6273 made large parts of the stdlib gcsafe 2014-04-20 20:01:24 +02:00
Dominik Picheta
96c97d4103 JS: Fixes math and streams module and implements json. 2014-04-11 21:41:45 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Zahary Karadjov
a8e12afc76 test-runner for caas multi-step tests 2013-05-04 01:04:28 +03:00
Dominik Picheta
d26e488316 A file stream now makes sure to only close its file descriptor once. 2013-04-07 13:40:01 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
1342798cc7 small cleanups 2013-02-19 23:32:32 +01:00
Zahary Karadjov
81a3585872 merged upstream master 2013-01-27 23:41:45 +02:00
Grzegorz Adam Hankiewicz
afff026dbd Adds hyperlink to system module to explain TFileMode type. 2012-12-11 23:08:09 +01:00
Zahary Karadjov
091c1b3075 caas is now drivable through stdin
* added idetools --eval
* streams.readLine recognises and applies the backspace character
2012-11-28 01:15:13 +02:00
Araq
3c0a6a8962 'assert' hides EAssertionFailsure; stdlib makes use of 'tags' 2012-11-18 01:36:20 +01:00
Dominik Picheta
2898cc7c0e Fixes bug in streams.ssSetPosition. 2012-08-18 21:42:24 +01:00
Araq
8d99753d63 preparations for making 'closure' the default calling convention for proc types 2012-07-16 23:00:57 +02:00
Araq
7cd2f353c7 preparations for marker procs generation 2012-03-19 22:11:19 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
455994664e old 'readline' and 'endOfFile' not deprecated anymore; too convenient for 1 liners (see examples/maximum.nim) 2011-11-29 08:41:06 +01:00
Araq
e261a88d07 further steps to get rid of deprecated endOfFile and readLine 2011-11-29 01:24:58 +01:00
Araq
a489161b16 compiler uses new 'readLine' 2011-11-27 19:01:55 +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
40fa4bb52d better streams implemenation; fixes #63 2011-11-12 02:10:07 +01:00
Araq
485c371942 renamed optional to discardable 2011-09-24 19:18:08 +02:00
Araq
2f066395ba bugfixes; step one for 'var T' as return type support 2011-07-28 00:53:52 +02:00
Araq
990dc2d715 code gen bugfixes; marshal.nim implemented 2011-06-26 17:21:52 +02:00
Araq
849208d779 got rid of unsound co/contravariance in procvars 2011-06-17 01:04:33 +02:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
rumpf_a@web.de
053309e60a version 0.8.2 2009-10-21 10:20:15 +02:00
Andreas Rumpf
66a7e3d37c added tools and web dirs 2009-09-15 23:22:22 +02:00
Andreas Rumpf
300430fbba overload resolution for proc vars 2009-06-24 17:13:22 +02:00
Andreas Rumpf
4d4b3b1c04 version0.7.10 2009-06-08 08:06:25 +02:00
Renamed from lib/streams.nim (Browse further)