|
4597edcf1e
|
str_ends: write tests
|
2021-12-31 01:33:44 +00:00 |
|
|
08cff1c967
|
strings/polyfill/str_ends: actually export it correctly
|
2021-12-31 01:14:08 +00:00 |
|
|
f259f85771
|
Add io compatibility layer
....I can't believe that Lua doesn't have an inbuilt scandir
equivalent?!
|
2021-12-31 00:57:17 +00:00 |
|
|
1e9a651537
|
stings/polyfill: add str_ends
....because seriously, Lua *really* should have this.
|
2021-12-31 00:55:46 +00:00 |
|
|
f1a433b5e3
|
split_shell: automatically trim whitespace; ignore args that consist solely of whitespace
Hence "//bonemeal 1 4 " now functions correctly
|
2021-12-28 01:27:39 +00:00 |
|
VorTechnix
|
54268431b5
|
added missing quotation marks
|
2021-11-07 07:36:43 -08:00 |
|
VorTechnix
|
b72d36816e
|
added to_boolean
|
2021-10-10 14:39:30 -07:00 |
|
VorTechnix
|
b20c8f9af1
|
Merge branch 'main' into VorTechnix
|
2021-08-01 07:03:31 -07:00 |
|
|
a9b746986a
|
fixup
|
2021-07-31 16:08:01 +01:00 |
|
|
07c55dc740
|
split_shell: comment debug
also, in 45def53 we fixed a bug with quotes being left behind at the and
of a string
|
2021-07-31 16:07:48 +01:00 |
|
|
45def53294
|
various commands: Upgrade to use wea.split_shell
|
2021-07-31 16:03:04 +01:00 |
|
|
bd1da727a4
|
Integrate split_shell into worldeditadditions
...it's not used anywhere yet though
|
2021-07-28 18:32:41 +01:00 |
|
|
b708fec2db
|
fixup
|
2021-07-28 18:07:21 +01:00 |
|
|
6a77b3cd21
|
split_shell: fix escape handling by unwinding escaping by 1 level
|
2021-07-28 17:54:44 +01:00 |
|
|
c282e286bb
|
split_shell: correctly handle escaping edge cases
|
2021-07-28 17:49:18 +01:00 |
|
|
31a4d89a49
|
TEST: implement split_shell
|
2021-07-28 17:39:09 +01:00 |
|
VorTechnix
|
415f36013f
|
comment tweak
|
2021-07-27 19:56:29 -07:00 |
|
VorTechnix
|
af07a158a8
|
shaved some milliseconds off split
|
2021-07-23 18:05:54 -07:00 |
|
VorTechnix
|
72513b350a
|
revert to fsplit
|
2021-07-23 10:46:23 -07:00 |
|
VorTechnix
|
ce1ba27728
|
new split function
|
2021-07-22 13:29:41 -07:00 |
|
|
90b456a687
|
Merge branch 'main' into vortechnix
|
2021-06-26 02:18:48 +01:00 |
|
|
afce954306
|
Test the rest of the sring polyfills
|
2021-06-26 02:17:49 +01:00 |
|
|
6a42aa6838
|
Set out the basics of automated tests for str_padend
|
2021-06-26 02:05:01 +01:00 |
|
VorTechnix
|
2d6bd676d6
|
Update --remove tocharset testing tags
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
|
2021-06-25 17:25:09 -07:00 |
|
VorTechnix
|
a6a858046f
|
Update tochars.lua grammar
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
|
2021-06-25 16:30:38 -07:00 |
|
VorTechnix
|
a40b65af3e
|
Update --remove old tochars syntax
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
|
2021-06-25 16:29:47 -07:00 |
|
VorTechnix
|
efef201fde
|
//smake added
|
2021-06-22 09:33:49 -07:00 |
|
VorTechnix
|
7553163e11
|
split tochars to separate file
|
2021-06-03 10:02:17 -07:00 |
|
VorTechnix
|
622ea7a683
|
added worldeditadditions.tochars
|
2021-06-02 21:29:36 -07:00 |
|
|
8bc2e543da
|
polyfill str_starts: make less dense and mroe readable
|
2021-05-30 13:06:47 +01:00 |
|
|
1e677c1f3f
|
wea.split: Standardise comment
|
2021-05-29 22:49:14 +01:00 |
|
|
8877e356f0
|
refactor: refactor utils/strings.lua into multiple files
|
2021-03-20 01:48:56 +00:00 |
|