Commit Graph

84 Commits

Author SHA1 Message Date
Grzegorz Adam Hankiewicz
d63eca96e5 Adds AllChars constant to strutils. 2014-01-22 23:01:50 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01: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
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
b76729df1c Merge branch 'master' of https://github.com/Araq/Nimrod into vm2
Conflicts:
	web/news.txt
2013-12-23 01:23:16 +01:00
Michał Zieliński
c363197275 Deprecate quoteIfContainsWhite in favor of osproc.quoteShell. 2013-12-10 23:00:01 +01:00
Grzegorz Adam Hankiewicz
da05cf51de Reverts "Make quoteIfContainsWhite quote…". Refs #702.
This reverts commit e7e8c77062 to avoid
tool breakage. A different approach is being worked on #730.
2013-12-10 17:50:47 +01:00
Michał Zieliński
e7e8c77062 Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.
On Windows put it in double quotes and escape double quotes using backslash.
On Posix put it in single quotes and escape single quotes using '"'"'.

This commit changes what quoteIfContainsWhite does, but before that change it
was used incorrectly all over standard library, which caused security issues.
2013-12-07 22:56:02 +01:00
Araq
9035d15ed2 next steps for FFI support 2013-11-25 13:04:11 +01:00
Araq
b4e25a6372 new VM is getting stable 2013-10-29 01:07:59 +01:00
Araq
023bd63d39 fixes #398 2013-08-31 20:45:34 +02:00
Araq
84534ce4b8 Merge branch 'master' of github.com:Araq/Nimrod 2013-07-20 20:18:21 +02:00
Araq
bfbdb1f028 refactorings for the eval engine; bugfix: clean templates as accessors 2013-07-19 22:22:20 +02:00
Grzegorz Adam Hankiewicz
65b899030d Extends align proc with default padding parameter. 2013-07-05 21:37:30 +02:00
Grzegorz Adam Hankiewicz
0b5ca95222 Adds note about grouping to split iterators. 2013-05-11 00:04:08 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Grzegorz Adam Hankiewicz
9c0798d638 Adds left alignment example to strutils. 2013-03-12 00:21:42 +01:00
Araq
5d119f61d1 preparations for a generational GC 2013-02-16 22:53:35 +01:00
Dominik Picheta
c4743805d9 Added strutils.unescape and fixed issue with strutils.escape. 2013-01-25 21:43:54 +00:00
Grzegorz Adam Hankiewicz
3ff2f7fbbc Adds to split() a code example using a set of separators. 2012-12-11 22:30:29 +01:00
Dominik Picheta
6c6dfff4e9 Added strutils.rfind. 2012-08-19 13:00:28 +01:00
Araq
d37fe6e0a5 stdlib uses more of varargs 2012-08-16 16:30:13 +02:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
15dd3a2251 fixes #109 2012-05-20 10:56:17 +02:00
Araq
8624ec09a9 bugfix: strutils.formatFloat 2012-05-09 02:14:48 +02:00
Araq
e95f155af3 small bugfixes; documentation generator supports smilies for the forum 2012-05-01 11:14:29 +02:00
Araq
3ef9f54cc1 added strutils.parseEnum; fixes #95 2012-04-01 00:31:22 +02:00
Araq
f0172b0a5f exported strutils.abbrev 2012-02-24 19:19:13 +01:00
Araq
4cfc0462a4 bugfixes: tests are green again 2012-01-13 23:28:08 +01:00
Araq
8ed3e295a3 niminst: diverse improvements; fixes #80 2012-01-13 21:15:00 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
b336bf4039 added support for advanced substitution expressions 2011-12-27 19:22:46 +01:00
Araq
f1f458137b Merge branch 'master' of github.com:Araq/Nimrod 2011-12-22 15:04:13 +01:00
Araq
cd83cc81aa code gen can generate code to keep alive stack roots 2011-12-22 15:04:00 +01:00
dom96
4f08946f64 fixes #77 2011-12-19 21:09:17 +00:00
Araq
e956abbadd slurp uses path; unidecode is improved and threadsafe 2011-10-08 01:17:06 +02:00
Araq
42516c0086 code generator supports constant sequences; more consistent compile time evaluation 2011-10-07 09:02:08 +02:00
Araq
14968fba46 bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments optimized; tstringinterp.nim now works 2011-09-26 00:24:06 +02:00
Keita Haga
15b1bda82b lib/pure/strutils.nim: fix doc comment for splitLines 2011-08-25 21:04:55 +09:00
Araq
569c1ce5ec bugfix: proper cache for generic instantiations 2011-07-21 00:57:39 +02:00
Araq
990dc2d715 code gen bugfixes; marshal.nim implemented 2011-06-26 17:21:52 +02:00
Araq
5008b44467 bugfixes for semantic checking; thread implementation pushed the compiler 2011-06-04 02:56:55 +02:00
Araq
3e9dcc8be5 deprecated system.copy: use system.substr instead 2011-05-14 01:13:44 +02:00
Araq
d2e2d71d05 newStringOfCap implemented and used to optimize some procs 2011-05-08 17:38:34 +02:00
Araq
48dd9679bd := templatable; lexer improvements 2011-04-17 20:17:45 +02:00
Araq
8d734244b1 linearScanEnd pragma; string case statement optimization 2011-03-14 23:57:41 +01:00
Araq
3005955d20 distinction between re.replace and re.replacef; speed improvements for re module 2011-03-06 21:16:05 +01:00
Araq
e424e13bd9 various bugfixes for generics; added generic sort proc 2011-03-03 02:01:22 +01:00