Commit graph

1507 commits

Author SHA1 Message Date
45711764da
//maze3d: fix crash 2024-10-14 20:58:50 +01:00
e0ba5d9810
Revert "//count: deliberately introduce a crash for testing purposes"
This reverts commit 39b3ef428d.
2024-10-14 20:56:20 +01:00
4bd278d6b9
//maze, //maze3d: update to WEA pos API
Ref https://worldeditadditions.mooncarrot.space/api/#worldeditadditions_core.pos
2024-10-14 20:50:31 +01:00
ea1c17a6e3
safe_function: only log error when there's actually an error 2024-10-14 20:48:55 +01:00
b6c41395f6
core: tidy up new safe_function implementation; bugfix 2024-10-14 20:46:26 +01:00
00b1aed1ff
abstract new xpcall wrapper into new API function safe_function 2024-10-14 19:25:53 +01:00
c01eb23488
newline 2024-10-14 18:53:32 +01:00
938a617dc3
run_command: add prototype wrapper around command parsing. 2024-10-14 18:51:33 +01:00
VorTechnix
d006a91eaa
better error tracebacks 2024-10-14 10:32:11 -07:00
VorTechnix
5381c31abb
Update notify.lua 2024-10-13 21:18:57 -07:00
VorTechnix
a9a7a5a9f1
Fixed some problems 2024-10-13 15:01:53 -07:00
VorTechnix
cd8a034333
more tests 2024-10-13 14:23:34 -07:00
VorTechnix
ef1189e6db
Update notify.lua 2024-10-13 14:23:05 -07:00
VorTechnix
c218242190
added //test 2024-10-13 13:54:02 -07:00
VorTechnix
f15d2e31f7
added test handler 2024-10-13 13:53:24 -07:00
VorTechnix
5e54d112ce
added wea_c.notify 2024-10-13 13:52:27 -07:00
39b3ef428d
//count: deliberately introduce a crash for testing purposes
YOU DO NOT WANT THIS COMMIT!
TODO REVERT THIS COMMIT VIA REBASE WHEN DONE.
2024-10-12 01:05:38 +01:00
cd22c710b2
start working on implementing some kind of system to catch error messages
....it works, but:
- We can't capture stack traces like this
- It's messy
- We need to implement an escape/encodeURIComponent function ourselves from scratch 'cause the one I ripped from Stack Overflow sucks
2024-10-12 01:04:27 +01:00
86fd6a560d
split_shell: document properly
it should appear in the Lua API docs now.

Cody AI was actually v helpful with this, and it helped that I already had tests for it o/
2024-10-11 03:19:31 +01:00
270cbd5aae
split_shell: remove unused argument 2024-10-11 03:12:14 +01:00
9761fec6e7
promise.lua: add luacheck directive 2024-10-11 03:11:45 +01:00
VorTechnix
30e154944d
Update promise_tech.lua 2024-10-10 09:22:27 -07:00
VorTechnix
269a73be48
Fixed CLRF Issues (I hope) 2024-10-07 16:11:35 -07:00
VorTechnix
29bac504b0
migrated mtools to WEA pos system 2024-10-07 15:40:34 -07:00
72ab9e0d64
README: document building the website locally 2024-10-07 20:41:56 +01:00
3e0bed11f0
worldeditadditions: add comment about Ctrl + S in docs to main @namespace 2024-10-07 19:51:33 +01:00
5358c7237f
Merge branch 'dev' of github.com:sbrl/Minetest-WorldEditAdditions into dev 2024-10-07 19:08:07 +01:00
7b43e4b201
weac.parse.map: add nil check via assertion 2024-10-07 19:07:49 +01:00
VorTechnix
9495dd7992
fixed aliases 2024-10-04 13:02:47 -07:00
717a651bd8
typos in comments 2024-10-02 01:20:08 +01:00
d74427e017
Fix some luacheck errors
the others are because rotate.lua isn't finished
Unfortunately I don't have the time to fix it now, because it will require a lot of time
2024-10-02 01:17:41 +01:00
e8dca3ce7d
website/Reference: really fix the eslint error :D 2024-10-02 01:06:56 +01:00
cd1e4a74ed
website/Reference: add eslint ignore line 'cause of syntax and stuff 2024-10-02 01:05:22 +01:00
cc795f0f95
Fix eslint issues 2024-10-02 01:03:09 +01:00
39bba6bef1
website: update all 11ty file to .mjs / ESM modules 2024-10-02 00:55:24 +01:00
1f8ad8e106
website: update 11ty to v3 2024-10-02 00:21:05 +01:00
f56b4ff8f6
website: update dependencies 2024-10-01 22:29:36 +01:00
f3f0e8966d
run_command: prepend the name of the command in case of error. 2024-10-01 21:27:30 +01:00
VorTechnix
f24ceffd2c
Merge pull request #112 from sbrl/selection-tools-refactor
Selection tools refactor
2024-10-01 11:52:04 -07:00
VorTechnix
b319baae16
Merge branch 'dev' into selection-tools-refactor 2024-10-01 11:44:01 -07:00
VorTechnix
7a0d24f872
CRLF to LF 2024-10-01 08:40:58 -07:00
VorTechnix
e811090527
Position statements for command returns 2024-10-01 08:03:21 -07:00
VorTechnix
f4b3b09b26
Update init.lua Removed TODO 2024-10-01 07:58:08 -07:00
VorTechnix
df2af2df7d
Description Tweak for removed commands
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 07:48:32 -07:00
VorTechnix
a48576a7ab
Better errors?
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:53:32 -07:00
VorTechnix
f399d475cc
UASPARSE touchups
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:51:38 -07:00
VorTechnix
a794429961
Show default values in param
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:50:48 -07:00
VorTechnix
b884eb0e58
Apply suggested removals
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:49:04 -07:00
VorTechnix
5415e21384
Apply suggested title changes
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:48:08 -07:00
5fd0c3dad3
core/pos: implement set_multi as a convenient alternative to multiple set() calls
/cc @VorTechnix & https://github.com/sbrl/Minetest-WorldEditAdditions/pull/112/files?diff=unified&w=1
2024-09-30 22:01:22 +01:00