aboutsummaryrefslogtreecommitdiff
path: root/builtin/common/serialize.lua
Commit message (Collapse)AuthorAge
* Builtin: Redo serialize.lua (#11427)Lars Müller2022-06-11
| | | | | | | | | Features: * Support for arbitrary references, including self-referencing * Short output, references "long" strings as a bonus * Around the same speed, potentially slower if long, short keys are present * Properly works with NaN and inf
* minetest.serialize: Reversible number serialization (#9722)HybridDog2020-04-22
| | | | | | | * minetest.serialize: Reversible number to string conversion The %a format is not supported in Lua 5.1. This commit also adds two tests for number serialization.
* Fix potential security issue(s), documentation on minetest.deserialize() (#9369)sfan52020-03-05
| | | Also adds an unittest
* Add Lua unit tests to builtin using busted (#9184)rubenwardy2020-01-18
|
* Add luacheck to check builtin (#7895)rubenwardy2019-08-06
|
* minetest.deserialize: Throw error when argument not string (#5738)SmallJoker2017-05-09
|
* Faster insertion into tableRui9142016-03-06
|
* Fix serialization of floating point numbersShadowNinja2015-02-21
|
* Fix imprecise serialization of large numbersShadowNinja2015-01-25
|
* Fix typo in `serialize.lua`.Diego Martínez2015-01-15
|
* Tweak core.serializeShadowNinja2014-11-19
| | | | This adds proper support for nested tables and improves performance a bit.
* 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