]> git.lizzy.rs Git - worldedit.git/log
worldedit.git
13 months agoFix deserialization of schematics with node names table master
Lizzy Fleckenstein [Mon, 27 Mar 2023 13:43:09 +0000 (15:43 +0200)]
Fix deserialization of schematics with node names table

13 months agoHarden //mtschemprob against incorrect input
sfan5 [Wed, 22 Mar 2023 20:26:53 +0000 (21:26 +0100)]
Harden //mtschemprob against incorrect input

closes #216

22 months agoHarden deserialize workaround against unexpected input
sfan5 [Mon, 6 Jun 2022 18:39:15 +0000 (20:39 +0200)]
Harden deserialize workaround against unexpected input

Otherwise it will stop working entirely soon when the
serialization inside Minetest is reworked.
This allows it to work at least in the cases where the original
bug (LuaJIT register limit) doesn't apply.

2 years agoUpdate IRC link in README
sfan5 [Sun, 14 Nov 2021 23:16:34 +0000 (00:16 +0100)]
Update IRC link in README

closes #207

2 years agoMake worldedit_gui error non-fatal
wsor4035 [Tue, 21 Sep 2021 18:47:57 +0000 (14:47 -0400)]
Make worldedit_gui error non-fatal

to allow worldedit to be used in worldmods

2 years agoRename util folder
sfan5 [Mon, 20 Sep 2021 23:34:10 +0000 (01:34 +0200)]
Rename util folder

because mod loading woes, minetest/minetest#11240

2 years agoAdd automated tests for WorldEdit API functions that run under CI
sfan5 [Mon, 20 Sep 2021 21:00:21 +0000 (23:00 +0200)]
Add automated tests for WorldEdit API functions that run under CI

uses a real Minetest instance (Docker)
currently covers most basic manipulations

2 years agoUse minetest.global_exists for LuaJIT check
sfan5 [Sun, 12 Sep 2021 17:35:57 +0000 (19:35 +0200)]
Use minetest.global_exists for LuaJIT check

closes #199

2 years agoAdd param2 button to WorldEdit GUI
Nathan Salapat [Fri, 23 Jul 2021 21:34:13 +0000 (16:34 -0500)]
Add param2 button to WorldEdit GUI

3 years agoUse minetest.get_objects_in_area when possible
sfan5 [Fri, 30 Apr 2021 17:33:27 +0000 (19:33 +0200)]
Use minetest.get_objects_in_area when possible

3 years agoWorldEdit 1.3
sfan5 [Sat, 30 Jan 2021 23:45:38 +0000 (00:45 +0100)]
WorldEdit 1.3

3 years agoHide gui button in unified_inventory on missing privilege (#195)
h3ndrik [Sat, 5 Dec 2020 13:12:32 +0000 (14:12 +0100)]
Hide gui button in unified_inventory on missing privilege (#195)

this fixes #151

3 years agoRaise safe region limit to 20000
sfan5 [Tue, 6 Oct 2020 11:53:22 +0000 (13:53 +0200)]
Raise safe region limit to 20000

3 years agoworldedit: Document inner working of worldedit.keep_loaded
sfan5 [Mon, 25 May 2020 17:48:54 +0000 (19:48 +0200)]
worldedit: Document inner working of worldedit.keep_loaded

3 years agoImprove node name normalization again
sfan5 [Tue, 12 May 2020 19:53:01 +0000 (21:53 +0200)]
Improve node name normalization again

so that "desert stone" won't select "desert stone block"

3 years agoFix rotate in worldedit GUI
sfan5 [Tue, 12 May 2020 19:29:51 +0000 (21:29 +0200)]
Fix rotate in worldedit GUI

3 years agoDo not allow //mix with no nodes
sfan5 [Sat, 9 May 2020 20:34:29 +0000 (22:34 +0200)]
Do not allow //mix with no nodes

4 years agoUpdate help texts to be consistent
sfan5 [Sun, 26 Apr 2020 14:53:55 +0000 (16:53 +0200)]
Update help texts to be consistent

4 years agoImplement //cubeapply with three side lengths
sfan5 [Sun, 26 Apr 2020 14:01:07 +0000 (16:01 +0200)]
Implement //cubeapply with three side lengths

4 years agoSet static_save = false for marker entities
sfan5 [Thu, 16 Apr 2020 21:50:15 +0000 (23:50 +0200)]
Set static_save = false for marker entities

4 years agoImplement //clearcut to delete trees, plants from generated terrain
sfan5 [Tue, 7 Apr 2020 01:05:30 +0000 (03:05 +0200)]
Implement //clearcut to delete trees, plants from generated terrain

closes #165

4 years agoFix off-by-one in //cubeapply
sfan5 [Mon, 6 Apr 2020 22:46:13 +0000 (00:46 +0200)]
Fix off-by-one in //cubeapply

4 years agoImprove brush command error messages
sfan5 [Mon, 6 Apr 2020 22:38:11 +0000 (00:38 +0200)]
Improve brush command error messages

4 years agoMove worldedit.marker_update
sfan5 [Mon, 6 Apr 2020 22:14:31 +0000 (00:14 +0200)]
Move worldedit.marker_update

Markers are part of the UI (`worldedit_chatcommands`) and do not belong in `worldedit`.

4 years agoImplement //cubeapply
sfan5 [Mon, 6 Apr 2020 21:32:11 +0000 (23:32 +0200)]
Implement //cubeapply

4 years agoImprove node name normalization in case of multi-line descriptions
sfan5 [Sun, 29 Mar 2020 19:55:47 +0000 (21:55 +0200)]
Improve node name normalization in case of multi-line descriptions

4 years agoGUI command execution: Do not ignore chatcommand return values
HybridDog [Mon, 17 Feb 2020 19:12:55 +0000 (20:12 +0100)]
GUI command execution: Do not ignore chatcommand return values

Additionally, this commit makes the command execution more modular,
so it is e.g. possible to implement something to disable the
many nodes confirmation after setting a checkbox in the formspec.

4 years agoMake region marker entities withstand TNT explosions
sfan5 [Fri, 6 Mar 2020 20:20:15 +0000 (21:20 +0100)]
Make region marker entities withstand TNT explosions

Also fixes a crash when detonating TNT near them though this is
not our fault and the proper fix is pending in minetest_game.

4 years agoCall minetest.deserialize with safe=true
sfan5 [Thu, 6 Feb 2020 10:53:14 +0000 (11:53 +0100)]
Call minetest.deserialize with safe=true

wtf?

4 years agoMove some deserialization code around
sfan5 [Thu, 6 Feb 2020 10:50:27 +0000 (11:50 +0100)]
Move some deserialization code around

4 years agoUnbreak //move (closes #188)
sfan5 [Fri, 20 Dec 2019 19:29:41 +0000 (20:29 +0100)]
Unbreak //move (closes #188)

4 years agoworldedit_gui: Improve behaviour of all input fields
sfan5 [Thu, 19 Dec 2019 17:20:24 +0000 (18:20 +0100)]
worldedit_gui: Improve behaviour of all input fields

continuation of 45acf09e4a3ea7ed563d2d43cc63425b04fc63ef

4 years agoImprove nodename normalization in some cases
sfan5 [Thu, 19 Dec 2019 15:58:24 +0000 (16:58 +0100)]
Improve nodename normalization in some cases

4 years agoFix some broken commands
sfan5 [Thu, 19 Dec 2019 15:45:38 +0000 (16:45 +0100)]
Fix some broken commands

This happens when you don't test.

4 years agoAllow more commands for brush usage
sfan5 [Thu, 19 Dec 2019 15:42:49 +0000 (16:42 +0100)]
Allow more commands for brush usage

In fact, allow all commands that are compatible by the brush:
the ones that expect exactly pos1 to be set

4 years agoworldedit_brush: Remove "safe region" hack
sfan5 [Thu, 19 Dec 2019 14:57:44 +0000 (15:57 +0100)]
worldedit_brush: Remove "safe region" hack

4 years agoUpdate worldedit_shortcommands for new changes
sfan5 [Thu, 19 Dec 2019 14:16:20 +0000 (15:16 +0100)]
Update worldedit_shortcommands for new changes

4 years agoRewrite command registration
sfan5 [Thu, 19 Dec 2019 13:12:45 +0000 (14:12 +0100)]
Rewrite command registration

4 years agoFix area clearing step of negative //move's
sfan5 [Wed, 13 Nov 2019 19:49:25 +0000 (20:49 +0100)]
Fix area clearing step of negative //move's

fixes #187

4 years agoMake object right-click work with wand
sfan5 [Sat, 9 Nov 2019 23:40:31 +0000 (00:40 +0100)]
Make object right-click work with wand

4 years agoFix double-definition of visual_size in entity def
ANAND [Mon, 14 Oct 2019 10:40:03 +0000 (16:10 +0530)]
Fix double-definition of visual_size in entity def

4 years agoAllow easily setting pos1 + 2 to the same node using the wand
sfan5 [Wed, 18 Sep 2019 22:06:30 +0000 (00:06 +0200)]
Allow easily setting pos1 + 2 to the same node using the wand

Though right-click currently doesn't work due to an engine bug.

4 years agoReset region by double-punching air using the wand
sfan5 [Wed, 18 Sep 2019 21:56:21 +0000 (23:56 +0200)]
Reset region by double-punching air using the wand

4 years agoworldedit_gui: Add tooltips to node search result
sfan5 [Wed, 18 Sep 2019 16:55:55 +0000 (18:55 +0200)]
worldedit_gui: Add tooltips to node search result

4 years agoworldedit_gui: Improve behaviour of some input fields
sfan5 [Wed, 18 Sep 2019 16:52:27 +0000 (18:52 +0200)]
worldedit_gui: Improve behaviour of some input fields

Can't be bothered to do the rest. This stuff should be
rewritten in a modular fashion anyway.

4 years agoFix nodename normalization with translated descriptions
sfan5 [Wed, 18 Sep 2019 16:38:49 +0000 (18:38 +0200)]
Fix nodename normalization with translated descriptions

4 years agoUpdate API docs
sfan5 [Tue, 17 Sep 2019 16:44:13 +0000 (18:44 +0200)]
Update API docs

4 years agoUse faster vmanip copying for //move too
sfan5 [Tue, 17 Sep 2019 16:37:33 +0000 (18:37 +0200)]
Use faster vmanip copying for //move too

4 years agoDelete old metadata when moving regions
sfan5 [Tue, 17 Sep 2019 16:03:19 +0000 (18:03 +0200)]
Delete old metadata when moving regions

This matches the behaviour before introduction of the vmanip code.

4 years agoAlways use faster vmanip copying code
sfan5 [Mon, 16 Sep 2019 23:20:10 +0000 (01:20 +0200)]
Always use faster vmanip copying code

Since the code has two arrays of the area before and after,
the copy order is totally irrelevant.
Of course, this doesn't apply to metadata and we still need
to do that backwards.

4 years agoFix schematics with extra headers to parse properly
sfan5 [Mon, 9 Sep 2019 18:52:15 +0000 (20:52 +0200)]
Fix schematics with extra headers to parse properly

Currently no schematic format makes use of these, but that
may change so do some future proofing.

4 years agoWarn when "misaligned" schematics are created
sfan5 [Sun, 8 Sep 2019 23:07:17 +0000 (01:07 +0200)]
Warn when "misaligned" schematics are created

The underlying issue is the size detection worldedit.allocate does
and can't be fixed or worked around in a simple way.

4 years agoClean up command code for //stack, //stack2
sfan5 [Sun, 8 Sep 2019 20:13:35 +0000 (22:13 +0200)]
Clean up command code for //stack, //stack2

4 years agoUpdate API docs
sfan5 [Sun, 8 Sep 2019 19:51:53 +0000 (21:51 +0200)]
Update API docs

4 years agoFix performance of //stack, //stack2
sfan5 [Sun, 8 Sep 2019 19:45:20 +0000 (21:45 +0200)]
Fix performance of //stack, //stack2

4 years agoFaster moving using vmanips (in some cases)
sfan5 [Sun, 8 Sep 2019 19:05:30 +0000 (21:05 +0200)]
Faster moving using vmanips (in some cases)

4 years agoFaster copying using vmanips
sfan5 [Sun, 8 Sep 2019 18:12:38 +0000 (20:12 +0200)]
Faster copying using vmanips

4 years agoRemove outdated function check
sfan5 [Sun, 8 Sep 2019 16:57:54 +0000 (18:57 +0200)]
Remove outdated function check

4 years agoFix crash on loading invalid schematic (fixes #160)
sfan5 [Fri, 6 Sep 2019 15:56:11 +0000 (17:56 +0200)]
Fix crash on loading invalid schematic (fixes #160)

4 years agoUse eye_height property for brush raytracing
sfan5 [Fri, 6 Sep 2019 15:45:51 +0000 (17:45 +0200)]
Use eye_height property for brush raytracing

4 years agoHandle invalid //rotate usage gracefully, fixes #150
sfan5 [Wed, 17 Jul 2019 00:35:57 +0000 (02:35 +0200)]
Handle invalid //rotate usage gracefully, fixes #150

4 years agoUpdate README
sfan5 [Wed, 17 Jul 2019 00:23:39 +0000 (02:23 +0200)]
Update README

4 years agoRemove deprecated depends.txt, add descriptions to mod.conf
sfan5 [Wed, 17 Jul 2019 00:15:04 +0000 (02:15 +0200)]
Remove deprecated depends.txt, add descriptions to mod.conf

4 years agoReplace more deprecated functions
sfan5 [Wed, 17 Jul 2019 00:06:29 +0000 (02:06 +0200)]
Replace more deprecated functions

4 years agoAdjust GUI compatibility code
sfan5 [Tue, 16 Jul 2019 23:44:15 +0000 (01:44 +0200)]
Adjust GUI compatibility code

4 years agoMake compatibility error in worldedit_brush fatal again
sfan5 [Tue, 16 Jul 2019 23:34:58 +0000 (01:34 +0200)]
Make compatibility error in worldedit_brush fatal again

This reverts commit a97cccd2a15347bed0d78c599d83e72dc0b99c65.

4 years agoReplace deprecated functions with newer ones
Panquesito7 [Sun, 16 Jun 2019 18:30:56 +0000 (13:30 -0500)]
Replace deprecated functions with newer ones

These commits create compatibility with MT/MTG 5.0.0+.
However, these commits may/will break with the 0.4-series.

4 years agoMake placeholders not pointable
Niwla23 [Tue, 16 Jul 2019 23:22:12 +0000 (01:22 +0200)]
Make placeholders not pointable

4 years agoFix //allocate with 0 nodes
sfan5 [Tue, 16 Jul 2019 23:20:40 +0000 (01:20 +0200)]
Fix //allocate with 0 nodes

4 years ago Fix //load with 0 nodes (#177)
TalkLounge [Sat, 15 Jun 2019 14:46:12 +0000 (16:46 +0200)]
 Fix //load with 0 nodes (#177)

5 years agoserialize: Fix detecting empty metadata (#176)
HybridDog [Wed, 24 Apr 2019 20:51:18 +0000 (22:51 +0200)]
serialize: Fix detecting empty metadata (#176)

5 years agoImplement full facedir and color* in //orient
Pedro Gimeno [Thu, 4 Apr 2019 21:50:57 +0000 (23:50 +0200)]
Implement full facedir and color* in //orient

Thanks to entuland for the Rhotator facedir to matrix and matrix to facedir code, which helped creating the tables.

5 years agoChange description for //about, fix #170
sfan5 [Sat, 8 Dec 2018 20:52:36 +0000 (21:52 +0100)]
Change description for //about, fix #170

5 years agoreplace deprecated function call
Isidor Zeuner [Fri, 23 Nov 2018 13:08:05 +0000 (14:08 +0100)]
replace deprecated function call

5 years agoWarn about invalid //stretch usage
sfan5 [Thu, 15 Nov 2018 19:48:20 +0000 (20:48 +0100)]
Warn about invalid //stretch usage

5 years ago//mix: Add node weighting support
Starbeamrainbowlabs [Fri, 12 Oct 2018 20:06:01 +0000 (21:06 +0100)]
//mix: Add node weighting support

5 years agoWand: select node under or above depending on pressed sneak key.
beyondlimits [Mon, 6 Aug 2018 12:34:03 +0000 (14:34 +0200)]
Wand: select node under or above depending on pressed sneak key.

5 years agoDocument //stretch, remove old documentation for //scale
sfan5 [Thu, 26 Jul 2018 09:52:10 +0000 (11:52 +0200)]
Document //stretch, remove old documentation for //scale

scale was replaced with stretch in 674d647

6 years agoDisable worldedit_brush mod instead of throwing error (#156)
Eugen Wesseloh [Tue, 10 Apr 2018 07:25:08 +0000 (09:25 +0200)]
Disable worldedit_brush mod instead of throwing error (#156)

6 years agoFix negative height pyramids (fixes #152)
sfan5 [Thu, 4 Jan 2018 00:03:51 +0000 (01:03 +0100)]
Fix negative height pyramids (fixes #152)

6 years agoAdd support for smart_inventory
Alexander Weber [Thu, 2 Nov 2017 17:51:16 +0000 (18:51 +0100)]
Add support for smart_inventory

6 years agoCorrect spelling of Minetest
sfan5 [Tue, 7 Nov 2017 13:20:45 +0000 (14:20 +0100)]
Correct spelling of Minetest

6 years agoFix a few assignments to undeclared globals
sfan5 [Tue, 7 Nov 2017 13:19:57 +0000 (14:19 +0100)]
Fix a few assignments to undeclared globals

6 years agoAdd configurable brush item
sfan5 [Sun, 17 Sep 2017 21:47:29 +0000 (23:47 +0200)]
Add configurable brush item

texture was supposed to be a brush, i suck at this :(

6 years agoFix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791
sfan5 [Tue, 12 Sep 2017 12:58:26 +0000 (14:58 +0200)]
Fix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791

6 years agoWorldEdit 1.2
sfan5 [Tue, 12 Sep 2017 12:25:38 +0000 (14:25 +0200)]
WorldEdit 1.2

6 years agoFix invalid node error message of //set and //mix
sfan5 [Tue, 12 Sep 2017 12:52:04 +0000 (14:52 +0200)]
Fix invalid node error message of //set and //mix

6 years agoRemove work in progress/unused components
sfan5 [Tue, 12 Sep 2017 12:13:18 +0000 (14:13 +0200)]
Remove work in progress/unused components

infinity: unused and not public, superseded by minetest.raycast()
limited: wip and disabled entirely anyway

6 years agoOptimize gui icon texture
sfan5 [Tue, 12 Sep 2017 11:30:11 +0000 (13:30 +0200)]
Optimize gui icon texture

6 years agoSupport //cube in the GUI
sfan5 [Tue, 12 Sep 2017 11:25:33 +0000 (13:25 +0200)]
Support //cube in the GUI

6 years agoRemove Lua functions from WorldEdit GUI
sfan5 [Tue, 12 Sep 2017 10:58:44 +0000 (12:58 +0200)]
Remove Lua functions from WorldEdit GUI

6 years agoAllow to bulk-set param2 of regions (#144)
Wuzzy [Tue, 5 Sep 2017 12:40:46 +0000 (14:40 +0200)]
Allow to bulk-set param2 of regions (#144)

6 years agoFix one-node high cylinders
sfan5 [Sun, 3 Sep 2017 18:11:31 +0000 (20:11 +0200)]
Fix one-node high cylinders

closes #146

6 years agoImprove node name normalization
sfan5 [Thu, 31 Aug 2017 18:38:38 +0000 (20:38 +0200)]
Improve node name normalization

6 years agoFix small logic error in worldedit.cylinder
sfan5 [Thu, 31 Aug 2017 18:10:08 +0000 (20:10 +0200)]
Fix small logic error in worldedit.cylinder

6 years agoAdd //hollowcube and //cube
sfan5 [Thu, 31 Aug 2017 17:07:51 +0000 (19:07 +0200)]
Add //hollowcube and //cube

closes #143

6 years agoWorldEdit GUI support for new //cylinder functionality
sfan5 [Thu, 31 Aug 2017 14:46:57 +0000 (16:46 +0200)]
WorldEdit GUI support for new //cylinder functionality

6 years agoDual-based cylinder
Kyle [Fri, 19 Oct 2012 01:10:30 +0000 (18:10 -0700)]
Dual-based cylinder

6 years agoDisable worldedit_gui fallback code (closes #141)
sfan5 [Sun, 20 Aug 2017 10:21:41 +0000 (12:21 +0200)]
Disable worldedit_gui fallback code (closes #141)

6 years agoMake sfinv gui code compatible with sfinv as included in MTG 0.4.15
sfan5 [Sun, 20 Aug 2017 10:13:56 +0000 (12:13 +0200)]
Make sfinv gui code compatible with sfinv as included in MTG 0.4.15

fixes #142