Commit Graph

140 Commits

Author SHA1 Message Date
Vadim A. Misbakh-Soloviov
5ce9a775a3
Refactor Set._tostring. Fixes #61
__tostring convertation metatable function from the code imported from
lua-set library has been reworked by the code, based on the idea,
of the one, that was sugested by @GitSparTV in #61.

The purpose of that refactoring is to reduce memory usage,
caused by strings reallocation by string concatenation.
(Table concatenation cheaper)

Despite code should be pretty valid, and passes all tests,
I think it needs to survive a bunch of real-life tests,
but, unlikely, I have not enough spare time ATM.

Please, test it and report, if any.

Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2023-04-06 04:23:38 +07:00
Vadim A. Misbakh-Soloviov
2ce09f82a4
reflect 5.4 compatibility in README 2022-04-27 00:46:50 +07:00
Vadim A. Misbakh-Soloviov
e1a0c648e4
added 0.3.9 rockspec 2022-04-27 00:09:06 +07:00
Vadim A. Misbakh-Soloviov
5a59532055
parser: fix #59, fix 60 2022-04-27 00:02:38 +07:00
Vadim A. Misbakh-Soloviov
7f380f69a6
Uploading v0.3.8 rockspec 2021-08-25 12:25:26 +07:00
yaw-man
baa3655ca3 Fix sample.lua iteration
sample.lua did not iterate over the output of :select() correctly. It had been written assuming the keys were attributes, when in fact the keys are numbers, and the values are attributes. This caused an error when running the sample script.
2021-08-25 08:20:00 +03:00
Vadim A. Misbakh-Soloviov
b66ae0c21e
Uploading 0.3.7 rockspec 2021-08-25 12:05:20 +07:00
Vadim A. Misbakh-Soloviov
b8e676b6a6
Fixed #55 2021-08-25 11:45:20 +07:00
Vadim A. Misbakh-Soloviov
4f6437ebd1
fix comments stripper (fixes #54) 2019-08-18 22:53:13 +07:00
Vadim A. Misbakh-Soloviov
f102657929
travis: kicking lj 2019-06-10 00:22:40 +03:00
Vadim A. Misbakh-Soloviov
cd679ed398
travis: kicking lj 2019-06-09 22:43:06 +03:00
Vadim A. Misbakh-Soloviov
a93c556258
travis: kicking lj 2019-06-09 22:20:22 +03:00
Vadim A. Misbakh-Soloviov
1a988101e7
travis: kicking lj 2019-06-09 22:18:40 +03:00
Vadim A. Misbakh-Soloviov
fa29fdcbb4
travis: kicking lj-20 2019-06-09 22:02:32 +03:00
Vadim A. Misbakh-Soloviov
a76c9fce53
travis: kicking lj-20 2019-06-09 20:58:35 +03:00
Vadim A. Misbakh-Soloviov
b6f80cd291
travis: stupid luarocks :-/ 2019-06-09 20:45:55 +03:00
Vadim A. Misbakh-Soloviov
1db0072d92
travis: luarocks fix for luajit 2019-06-09 20:43:12 +03:00
Vadim A. Misbakh-Soloviov
ed9b0ee858
travis: luarocks cannot into lua5.4 yet 2019-06-09 20:38:25 +03:00
Vadim A. Misbakh-Soloviov
3f13077f33
bumping travis 2019-06-09 20:32:07 +03:00
Vadim A. Misbakh-Soloviov
cc8e4f6717
Addint rockspec for 036 2019-06-09 20:09:49 +03:00
Vadim A. Misbakh-Soloviov
b5362e0e55
improved tpl-resisting and testing 2019-06-09 20:03:56 +03:00
Vadim A. Misbakh-Soloviov
6f45c76030
Newly uploaded rock
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2019-06-09 14:07:57 +03:00
Vadim A. Misbakh-Soloviov
b1ce66fecb
Rework a bit:
- Config API
 - Debugging
 - Fixes #50, #42 and similar
 - Reformatting

Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2019-06-09 04:20:53 +03:00
Vadim A. Misbakh-Soloviov
b967f09068
rockspecs (only actual versions) fixes 2018-06-03 15:10:46 +03:00
Vadim A. Misbakh-Soloviov
b033a1a618
v0.3.4 2017-07-22 23:11:44 +07:00
Vadim A. Misbakh-Soloviov
6f4c5a1145
one more pattern fix 2017-07-22 22:15:45 +07:00
Vadim A. Misbakh-Soloviov
2e2f306e7f
reworking tpl detection; fixes #50 2017-07-22 19:00:38 +07:00
Vadim A. Misbakh-Soloviov
404de0b9be
fix: missed limit as parse() parameter 2017-07-21 23:58:09 +07:00
Vadim A. Misbakh-Soloviov
023e7910b5
return of old rockspecs (just in case) 2017-07-14 13:26:57 +07:00
Vadim A. Misbakh-Soloviov
02a5ba46fa
v0.3.3 2017-04-19 10:44:20 +07:00
Vadim A. Misbakh-Soloviov
7c245ae7a2
"settext" node method implementation. Fixes #38 2017-04-19 10:33:30 +07:00
Vadim A. Misbakh-Soloviov
07a1b0fde8
"textonly" node method implementation. Fixes #47 2017-04-19 10:29:26 +07:00
Vadim A. Misbakh-Soloviov
5bcd0ab24c
badges 2017-04-09 14:32:38 +07:00
Vadim A. Misbakh-Soloviov
30b104541d
fix travis (lua5.3 dislikes lunitx without runner) 2017-04-09 14:11:58 +07:00
Vadim A. Misbakh-Soloviov
0e7462ea88
travis fix 2017-04-09 14:06:37 +07:00
Vadim A. Misbakh-Soloviov
a7ae1ec77b
fix tests 2017-04-09 13:59:14 +07:00
Vadim A. Misbakh-Soloviov
c943629e1f
Tests fix after adding coverage 2017-04-09 13:20:07 +07:00
Vadim A. Misbakh-Soloviov
a04ab7d9cd
added travis; moved rockspecs; tests and docs modified 2017-04-09 13:15:06 +07:00
Vadim A. Misbakh-Soloviov
06da2e960e
update tests to reflect issue #42 2017-04-09 02:49:58 +07:00
Vadim A. Misbakh-Soloviov
c9639054d4
drop luarocks requirement 2017-04-09 02:44:37 +07:00
Vadim A. Misbakh-Soloviov
acad4d40eb
Added loop limit, added kludge for template engines, documented loop limit, added error messages, fixes #42 2017-04-09 01:55:25 +07:00
Vadim A. Misbakh-Soloviov
71c0a65006
dropping old rocks 2017-04-09 01:50:51 +07:00
Vadim A. Misbakh-Soloviov
4dbae96e8d
source reformatting (tabs) 2017-04-09 01:50:14 +07:00
Vadim A. Misbakh-Soloviov
2c5b1d1689
fixing rocks urls 2017-04-09 01:49:51 +07:00
Harry
b6b01c29e7 fix format README.md (#46) 2017-04-08 10:46:27 +07:00
Patrick Ewing
9dc0715503 Allow custom tag HTML5 tags to include hyphens. 2015-10-22 10:10:44 -07:00
Vadim A. Misbakh-Soloviov
66c03644e0
kludge for cases of closing void tags
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2015-09-03 22:07:47 +06:00
Vadim A. Misbakh-Soloviov
0938f8424b
Making parser to work with Lua5.1 (goto calls replaced with repeat-until-true loop)
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2015-09-03 19:43:21 +06:00
Vadim A. Misbakh-Soloviov
2a876887d2
added a kludge for cases of closing non-opened tags
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
2015-09-03 18:37:38 +06:00
Vadim A. Misbakh-Soloviov
74e189b9e8
1st step on remove dependency from lua-set (bundling used functions) 2015-09-02 19:38:31 +06:00