Commit Graph

60 Commits

Author SHA1 Message Date
luk3yx 2ac09aa32d Add button_url support 2024-08-08 08:24:44 +12:00
luk3yx fc663cb7c7 Fix unit test 2023-10-24 09:51:14 +13:00
luk3yx 4f8b2e6c86 Add support for field_enter_after_edit[] 2023-10-24 09:50:08 +13:00
luk3yx 37838b2d5f Make luacheck happy 2023-09-03 13:32:21 +12:00
Lazerbeak12345 61e91d483d
feat(walk_inner): provide parent info 2023-09-03 01:26:02 +00:00
luk3yx 4836cb2fb1 Merge branch 'feat-walk-override-container-elms' into 'master'
feat(walk): Allow overriding container elms

See merge request luk3yx/minetest-formspec_ast!1
2023-07-29 03:23:59 +00:00
Nathan Fritzler e78df3e0f8
feat(walk): Allow overriding container elms
This can, for example, allow for walking over flow formspecs. This would
allow for mods to modify forms from other mods.
2023-07-27 11:19:15 -06:00
luk3yx f874307f8d Add supported_games to mod.conf 2023-06-20 13:06:52 +12:00
luk3yx 775d5e6f9d Make luacheck happy 2023-04-19 12:51:42 +12:00
luk3yx c7629b718d Fix tabheader parsing and use busted for tests 2023-04-19 12:50:03 +12:00
luk3yx 68712195f3 Add support for (non-standard) scrollbar textures for now 2022-10-10 10:07:05 +13:00
luk3yx f721bc5a7e Revert README.md change 2022-07-18 18:34:09 +12:00
luk3yx 958525c20e Bugfix 2022-07-18 18:32:44 +12:00
luk3yx 5e6d7f40a4 Fix README.md 2022-07-18 18:30:31 +12:00
luk3yx eff068f1f2 Update README.md 2022-07-18 18:29:54 +12:00
luk3yx dbe51fe476 Swap code around 2022-07-18 17:50:58 +12:00
luk3yx ec24aed60a Lazy load safety.lua and fix some issues 2022-07-18 17:45:27 +12:00
luk3yx a42f688274 Add support for 9-slice images and animated images 2022-07-04 19:46:11 +12:00
luk3yx eef2860b4b Handle image_button{,_exit} parameters like the MT engine 2022-04-29 16:49:42 +12:00
luk3yx 7ec3236a18 Add title to mod.conf 2022-04-12 14:24:19 +12:00
luk3yx f9b29ba6e3 Use plurals for item, listelem, and caption 2022-02-13 16:34:01 +13:00
luk3yx 0ba38e041e Make new raw_parse more robust 2022-02-08 21:22:26 +13:00
luk3yx 8fca50e407 Drastically improve parsing and unparsing speed and fix bug
The parsing code still isn't easy to read but at least it's faster and 
not horribly bugged (I hope).
2022-02-08 20:36:14 +13:00
luk3yx 1d92fcf28b Fix scrollbar value 2022-02-05 20:45:34 +13:00
luk3yx b540045734 Update list[] based on new documentation
Now that "list[inventory_location;list_name;x,y;w,h]" is documented it 
can be used instead of "list[inventory_location;list_name;x,y;w,h;]".
2022-02-05 20:41:52 +13:00
luk3yx 0679c46b2c Add padding[] 2022-01-23 08:58:33 +13:00
luk3yx 4f189ca0e9 Make register_element undocumented 2021-11-24 15:50:08 +13:00
luk3yx ccba5eca04 Convert invsize[] to size[] and fix tablecolumns 2021-11-24 15:41:26 +13:00
luk3yx 8b18059cdf Make formspec_ast.flatten ignore scroll containers 2021-04-06 08:29:18 +12:00
luk3yx b56162912d Remove unrequired table.insert 2021-03-31 17:44:59 +13:00
luk3yx 549157bd22 Fix lua_dump.py 2021-03-27 10:09:47 +13:00
luk3yx a4d5dc23d3 Add old function back to lua_dump.py 2021-03-22 08:11:59 +13:00
luk3yx af262da9de Update again 2021-03-21 20:50:22 +13:00
luk3yx 094fd57f32 Tweak lua_dump.py 2021-03-21 20:48:55 +13:00
luk3yx cbfddef14d Shrink elements.lua
As the tables are never modified, any values that are the same can be 
shared.
2021-03-21 20:46:32 +13:00
luk3yx 17503d543b Update elements and fix background9 unparsing 2021-03-21 17:42:52 +13:00
luk3yx d1ba059652 Improve performance and fix index_event parsing 2021-03-11 22:30:27 +13:00
luk3yx df9e9e93a5 Parse positioned tooltips correctly 2021-03-09 10:27:26 +13:00
luk3yx e9302239fb Fix bgcolor fullscreen value 2021-03-09 10:18:14 +13:00
luk3yx 98906e1dde Add support for model[] 2021-02-05 18:28:50 +13:00
luk3yx 4c79bd7110 Improve safety.lua again 2021-02-05 14:31:28 +13:00
luk3yx 86faeff45d Partially fix safe_parse on formspec version >= 3 2021-02-05 14:18:36 +13:00
luk3yx 9f28d8cae3 Improve make_elements.py and fix some issues. 2021-02-04 22:29:50 +13:00
luk3yx 649acafff3 Fix containers in custom elements not ending
Parsing the formspec `formspec_ast:centered_label[1,1;0,0;]image[0,0;]` 
would previously offset the image.
2021-01-10 20:18:32 +13:00
luk3yx a3c1a490e0 Add luacheck and fix reported warnings 2020-11-26 16:20:50 +13:00
luk3yx 5545c25ea7 Fix tests.lua 2020-11-22 18:09:18 +13:00
luk3yx 64f33a51fa Fix dropdown[] 2020-09-07 19:45:01 +12:00
luk3yx 9a958355ca Add scroll_container[] (minor compatibility break) 2020-09-07 17:48:51 +12:00
luk3yx ea5ed53b5a Bugfix 2020-07-21 15:20:26 +12:00
luk3yx a0e2158b80 Fix lua_dump.py. 2020-02-13 16:17:53 +13:00