aboutsummaryrefslogtreecommitdiff
path: root/builtin/common/misc_helpers.lua
Commit message (Collapse)AuthorAge
* core.rotate_node: Do not trigger after_place_node (#6900)SmallJoker2018-06-03
|
* Allow dumping userdata (#7012)you2018-06-03
|
* core.rotate_node: Run callbacks like with any regular placed node (#6648)SmallJoker2018-06-03
|
* Set placer to nil instead of a non-functional one in item_OnPlace (#6449)DTA72018-06-03
| | | | | | * Set placer to nil instead of a non-functional one This requires nil checks in core.rotate_node and core.rotate_and_place.
* Fix Rotate Node Placement (#6424)tenplus12018-06-03
| | | | This properly checks for creative mode or privilege when using fixed rotate_node() function.
* Fix core.wrap_text and make its behaviour consistent with the docssfan52018-06-03
| | | | Code based on initial implementation by @dsohler.
* Fix sending color codes to clients that don't support them. (#5950)red-0012018-06-03
| | | Also remove `disable_escape_sequences` since it's not needed anymore.
* CSM: Document forgotten functionsSmallJoker2017-05-16
|
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Pointed thing to face pos: Fix crash if opening door with slab or stairMarkuBu2017-04-19
| | | | | | Avoids crash caused when 'pointed thing -under' and '-above' are not face-neighbours, for example in the case of pointing to the top half of a door.
* First commit for fine pointed (#5485)MarkuBu2017-04-01
|
* Add functions to strip color information. (#5472)Diego Martínez2017-03-28
|
* Fix a type bug in colorize functionLoïc Blot2017-03-28
| | | | This bug was introduced by dd2f1d7551bfd70357ad4f3fb180704194272147 and reported by @kilbith
* Typo fixLoïc Blot2017-03-24
|
* Add multiline support to colorize. (#5444)red-0012017-03-24
|
* Block access to the `io` libraryred-0012017-03-19
|
* Give CSM access to use `core.colorize()` (#5113)red-0012017-03-17
|
* [CSM] Add local formspecs. (#5094)red-0012017-03-13
|
* Revert "Adding particle blend, glow and animation (#4705)"sfan52016-11-14
| | | | This reverts commit 93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.
* Adding particle blend, glow and animation (#4705)Foghrye42016-11-15
|
* Core.rotate_and_place: Remove unused call to get_look_pitch()Auke Kok2016-10-31
|
* Faster insertion into tableRui9142016-03-06
|
* Add /emergeblocks command and core.emerge_area() Lua APIkwolekr2015-09-23
|
* Allow random menu images for subgamessfan52015-07-21
|
* Fix wrong replace from previous commitest312015-06-02
|
* Localize inside whole misc_helpers.luaest312015-06-01
|
* Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est312015-02-18
| | | | | | | check serverlist Client now informs about incompatible servers from the list, this permits to prevent the protocol movements. Server announces its supported protocol versions to master server
* Fix crash on passing false as value in table to table.copy(t)est312015-02-14
| | | | Fixes #2293.
* Simplify deleteblocks chat command argument parsingkwolekr2015-01-15
| | | | | Add optional core.pos_to_string decimal place rounding Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
* Fix off-by-one error in `string:split` implementation.Diego Martínez2015-01-04
|
* Faster string.split implementation.Diego Martinez2014-12-28
|
* Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place ↵Craig Robbins2014-12-12
| | | | | | | | orients textures correctly" This reverts commit 9878e8de4fdf232ebb77b396766c339786c01218. See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion
* Fix undeclared globals in functions and shorten lines in misc_helpers.lua.paramat2014-12-11
|
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-06
|
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-27
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere2014-11-25
| | | | | | textures correctly According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
* Fix dump() indentation with non-tab indentsShadowNinja2014-11-08
|
* Add last_login field to auth.txtRyan Newell2014-11-08
| | | | Also shortens some related code and adds more parameters to string.split.
* Make dump's output prettierShadowNinja2014-09-21
| | | | | | | | Changes: * Indentation with tabs by default. * Array keys dumped without "[i] = " prefix. * String keys that are valid identifiers aren't enclosed in '[""]'. * Basic support for multiple references (as specified in the comment).
* Add srollbar formspec elementsapier2014-07-16
|
* Rework dumping functionsShadowNinja2014-05-24
| | | | | | | | | Changes: * Add comments to explain the dumping code * Add support for dumping values of any type (as '<' <type> '>') * Add support for tables as keys in dump2() * Make dump2() return it's result (like dump()) rather than printing it * Simplify and optimize function serialization via serialize()
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Organize builtin into subdirectoriesShadowNinja2014-05-07