aboutsummaryrefslogtreecommitdiff
path: root/builtin/common
AgeCommit message (Collapse)Author
2016-10-31Core.rotate_and_place: Remove unused call to get_look_pitch()Auke Kok
2016-10-17Builtin: Add vector.floor helper functionrubenwardy
2016-06-28Only allow strings to be passed to minetest.global_exists (#4253)HybridDog
Sometimes you accidentally forget the quotes when using global_exists, this makes minetest abort if you did so. M builtin/common/strict.lua
2016-03-06Faster insertion into tableRui914
2015-10-14Refactor loggingShadowNinja
- Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
2015-09-23Add /emergeblocks command and core.emerge_area() Lua APIkwolekr
2015-07-21Allow random menu images for subgamessfan5
2015-06-02Fix wrong replace from previous commitest31
2015-06-01Localize inside whole misc_helpers.luaest31
2015-04-21Add minetest.global_exists()ShadowNinja
2015-02-21Fix serialization of floating point numbersShadowNinja
2015-02-18Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est31
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
2015-02-14Fix crash on passing false as value in table to table.copy(t)est31
Fixes #2293.
2015-02-04Change assignment to global in a function to warningrubenwardy
2015-01-25Fix imprecise serialization of large numbersShadowNinja
2015-01-15Simplify deleteblocks chat command argument parsingkwolekr
Add optional core.pos_to_string decimal place rounding Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2015-01-15Fix typo in `serialize.lua`.Diego Martínez
2015-01-04Fix off-by-one error in `string:split` implementation.Diego Martínez
2014-12-28Faster string.split implementation.Diego Martinez
2014-12-12Revert "Adjust the values of dirs1 and dirs2 so that rotate_and_place ↵Craig Robbins
orients textures correctly" This reverts commit 9878e8de4fdf232ebb77b396766c339786c01218. See: https://github.com/minetest/minetest/issues/1939 and IRC log for discussion
2014-12-11Fix undeclared globals in functions and shorten lines in misc_helpers.lua.paramat
2014-12-06Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker
2014-11-27Add minetest.copy_table(table) To get rid off the "table references"SmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-25Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere
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
2014-11-23Make duplicate warning checks file and line specificShadowNinja
2014-11-23Fix console spaming by debug function on mod checking for global variable to ↵sapier
exist.
2014-11-19Add strict moduleShadowNinja
Also fix leaking globals found by it.
2014-11-19Tweak core.serializeShadowNinja
This adds proper support for nested tables and improves performance a bit.
2014-11-08Fix dump() indentation with non-tab indentsShadowNinja
2014-11-08Add last_login field to auth.txtRyan Newell
Also shortens some related code and adds more parameters to string.split.
2014-09-21Make dump's output prettierShadowNinja
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).
2014-07-19Remove vector assertionsShadowNinja
These were initially added to get tracebacks for invalid vector errors, but it didn't work and tracebacks have since been properly fixed in the core.
2014-07-16Add srollbar formspec elementsapier
2014-05-24Rework dumping functionsShadowNinja
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()
2014-05-24Fix a bunch of small bugs due to mainmenu cleanupsapier
Fix doubleclick not working in singleplayer Fix of by one issue on accessing raw list Fix this->self Fix copy&paste error for scroll button
2014-05-16Add formspec toolkit and refactor mainmenu to use itsapier
Fix crash on using cursor keys in client menu without selected server Add support for non fixed size tabviews
2014-05-08Use "core" namespace internallyShadowNinja
2014-05-07Organize builtin into subdirectoriesShadowNinja