forked from lua-nucleo/lua-nucleo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HISTORY
246 lines (180 loc) · 5.3 KB
/
HISTORY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
Version 1.0.0 (2016-12-15)
==========================
Additions and improvements:
dsl:
path_based_walker.lua
key_value_store:
Added classes to handle key-value tuples with different
implementations.
quicksort:
Added classical quick-sort implementation. Used by <key_value_store>.
Test framework extensions.
More tests (inculding tests for new features).
Bug fixes:
tdeepequals:
ordered_pairs(). Fixed case when ordered_pairs() failed to
handle table with table-type key.
Version 0.1.0 (2013-10-03)
==========================
Another fixed-version release.
What's new:
diagnostics:
capture_source_location()
dsl:
some code to work with embedded DSLs
ensure:
ensure_is()
ensure_has_substring()
functional:
compose()
import_as_require:
removed, use plain import instead
init:
`require "lua-nucleo"` now works
suite:
test decorators
table-utils:
tkvlist_to_hash()
tisarray()
tmerge_many()
tpretty:
tpretty_ex()
tpretty_ordered()
Changes:
checker: allowing smart error messages
ensure: Cheaper substring checks
make.sh: Add --no-restart option
suite: Factory now should be a function, not table
test: Obsolete table argument in test:factory
Some bug-fixes and code tuning.
Version 0.0.7 (2012-04-25)
==========================
Seventh fixed-version release.
removed obsolete TODO
tstr: fixed number serialization
tests:
added tests for tstsr and tstr_cat
improved test for inf, -inf, nan serialization
Version 0.0.6 (2012-04-16)
==========================
Sixth fixed-version release.
Improvements and changes:
etc/list-exports/config.lua: header added
make.sh: fixes
string.lua:
number_to_string(), serialize_number() added, handle inf,-inf and nan
use "%.17g" format instead of "%.55g" for number serialization
tstr.lua: fix inf,-inf,nan serialization
tpretty.lua: fix inf,-inf,nan serialization
tserialize.lua: fix inf,-inf,nan serialization
tests:
0160-string.lua:
test for number_to_string and serialize_number added
test to ensure "%.17g" is enough for number serialization
0290-tstr.lua: tests for inf,-inf,nan serialization
0330-tpretty.lua: test for inf,-inf,nan serialization
0220-tserialize-basic.lua: tests for inf,-inf,nan,1/3 pi serialization
Version 0.0.5 (2012-04-10)
==========================
Fifth fixed-version release.
Improvements and changes:
ensure/returns: improved error reporting
tests:
fixed test 0030 and removed obsolete comments
fixed test data for 0300
added tests for escape_lua_pattern
updated luaJIT globals list according to version 2.0.0-beta9
added a match into escape_lua_pattern matches table
Version 0.0.4 (2012-04-03)
==========================
Fourth fixed-version release.
New stuff:
string:
number_to_string_with_base with test
cut_with_ellipsis
timestamp:
get_decasecond_timestamp
tavle-utils:
tarraytohash with tests
Improvements and changes:
Added headings into the files
Deleted obsolete 'bench' directory
string:
handle numbers in htmlspecialchars
And some other changes.
Version 0.0.3 (2012-02-14)
==========================
Third fixed-version release.
New stuff:
table-utils:
tkvmap_unpack,
tgenerate_{1,2}d_linear added,
tgenerate_n deprecated,
tslice,
tarraylisttohashlist,
tflip_inplace,
tkvlist2kvpairs,
tfilterkeylist,
tsetpathvalue,
tisempty,
tifindvalue_nonrecursive
timestamp:
get_tomorrow_timestamp
string:
escape_for_json,
starts_with,
ends_with,
make_escape_subst,
url_encode
math:
epsilon_equals
args:
check_types
Improvements and changes:
test suite:
now supports fail_on_first_error,
now supports test:BROKEN to mark temporarily broken tests
tpretty:
now generates better-formatted code
indent and cols arguments are now optional (defaulting to " " and 80)
import:
now respects absolute paths
scoped_cat_tree_manager:
now can use custom make_concatter
coro, pcall:
pcall wrapper moved from coro.lua to a separate file
log:
configurable flush criteria
Bug fixes:
table-utils:
tsetpath,
tslice,
tarraylisttohashlist
timestamp:
get_quarter_timestamp
And some other changes.
Version 0.0.2 (2011-01-26)
==========================
Second fixed-version release.
New stuff:
stack_with_factory
ordered_named_cat_manager
scoped_cat_tree_manager
timestamp: get_{quarter,minute}_timestamp
table-utils:
tmap_kv, tmapofrecordgroups,
timapofrecordgroups, tilistofrecordfields,
tipermute_inplace, tkvtorecordlist
string:
kv_concat,
escape_lua_pattern,
fill_curly_placeholders_ex
code: globals, exports, profile
args: amap
require_and_declare
Bug fixes:
tpretty: fixed array hole handling
And some other changes.
Version 0.0.1 (2010-09-12)
==========================
First fixed-version release