Commit Graph

44 Commits

Author SHA1 Message Date
Lynn C. Rees
5b2125dc3a Support in operator on StringTableRef 2017-09-08 11:09:58 -06:00
David Krause
b20817c3fb added default param to strtabs.getOrDefault (#5280) 2017-01-26 10:34:02 +01:00
Araq
c0b8a79315 make tests green 2016-11-08 08:37:14 +01:00
Anatoly Galiulin
5e48bdd632 Allow to use strtabs module with js target 2016-09-08 10:21:00 +07:00
Araq
8be9e46403 udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
Araq
2fda95a4d6 added getOrDefault; bootstrapping works again 2015-10-13 03:03:05 +02:00
Araq
d8b0edc323 Merge branch 'mget' of https://github.com/def-/Nim into def--mget
Conflicts:
	lib/pure/collections/critbits.nim
	lib/pure/collections/tables.nim
	lib/pure/xmltree.nim
	lib/system/sets.nim
	tests/collections/ttables.nim
	tests/collections/ttablesref.nim
2015-10-13 00:22:27 +02:00
JamesP
73821ad1c4 add assert test to end of module 2015-10-06 16:36:32 +10:00
JamesP
87a6268d3c bug fix #3416 add wrapper around []= to account for
changes in StringTableRef disabling inc of counter
2015-10-05 15:16:43 +10:00
pdw
d18e18060e lib/pure/p-t - Dropped 'T' from types 2015-06-04 13:18:36 +02:00
def
63f9385327 Rename mget to []
- In sets, tables, strtabs, critbits, xmltree
- This uses the new var parameter overloading
- mget variants still exist, but are deprecated in favor of `[]`
- Includes tests and fixed tests and usages of mget
- The non-var `[]` now throws an exception instead of returning binary 0
  or an empty string
2015-03-31 00:32:39 +02:00
def
6523d80211 Rename clearStringTable to clear 2015-03-17 22:48:34 +01:00
def
43ed83384c Rename resetStringTable to clearStringTable 2015-03-17 19:40:22 +01:00
def
524b68d0ed Make strtabs module usable when avoiding allocations
- resetStringTable proc
2015-03-17 19:39:02 +01:00
Araq
0b5c42f405 configuration system supports %= to access environment variables 2015-02-07 12:55:23 +01:00
Araq
74c6c8c903 compiler distinguishes between 2 different 'var' types for C++ interop; code cleanups 2015-02-07 10:48:07 +01:00
Araq
bae9a0ceac more modules updated 2014-08-28 01:30:12 +02:00
Araq
df172806ea big rename 2014-08-28 00:24:52 +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
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
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
1dc362dcd4 compiler support for babel 2012-12-07 17:20:51 +01:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
e956abbadd slurp uses path; unidecode is improved and threadsafe 2011-10-08 01:17:06 +02:00
Araq
485c371942 renamed optional to discardable 2011-09-24 19:18:08 +02:00
Araq
7000cf51b7 modifyable results for generics; teventemitter works 2011-08-09 01:40:12 +02:00
Araq
2f066395ba bugfixes; step one for 'var T' as return type support 2011-07-28 00:53:52 +02:00
Araq
3e9dcc8be5 deprecated system.copy: use system.substr instead 2011-05-14 01:13:44 +02:00
Araq
6ff8752be5 cleaned up the tests; fixes #30; fixes #26 2011-05-01 20:11:55 +02:00
Araq
145fabeb67 const table support 2011-04-29 22:55:15 +02:00
Araq
fd0d3bf086 C source regenerated 2011-04-24 00:58:39 +02:00
Araq
4ba4999bb7 slice support in system.nim; syntactic sugar for tables; cleanup of grammar/parser 2011-04-23 17:11:24 +02:00
Araq
ae5074455d $ for strtabs; skipUntil, skipWhile for parseutils 2011-04-05 00:33:32 +02:00
Araq
e439c6b02e bugfix: init of temps 2010-08-24 00:19:16 +02:00
Andreas Rumpf
8098e2a421 inlining of the write barrier for dlls 2010-08-08 22:45:21 +02:00
Andreas Rumpf
7bf98411b6 version 0.8.8 2010-03-14 01:25:25 +01: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
a58a2f3823 better subscript overloading 2010-01-03 12:31:21 +01:00
Andreas Rumpf
66a7e3d37c added tools and web dirs 2009-09-15 23:22:22 +02:00
Andreas Rumpf
4d4b3b1c04 version0.7.10 2009-06-08 08:06:25 +02:00