13 Commits

Author SHA1 Message Date
Maksim
56455f4297 Fix "Can't serialize data of type userdata" 2020-06-29 19:35:12 +02:00
MoNTE48
bb8d62e5cb Builtin: backport some fixes 2020-03-09 15:16:02 +01:00
MoNTE48
b3a34dd850 Builtin: Backport MT5 minor changes 2020-02-04 21:47:07 +01:00
MoNTE48
399f707877 Fix builtin formatting 2019-08-02 17:47:34 +02:00
SmallJoker
a5777cb04a minetest.deserialize: Throw error when argument not string (#5738) 2017-05-09 23:11:20 +02:00
Rui914
7a9e8367db Faster insertion into table 2016-03-06 23:42:04 +00:00
ShadowNinja
c07611927c Fix serialization of floating point numbers 2015-02-21 13:16:18 -05:00
ShadowNinja
1010819207 Fix imprecise serialization of large numbers 2015-01-25 20:19:35 -05:00
Diego Martínez
d74fa1ba9a Fix typo in serialize.lua. 2015-01-15 16:16:41 -05:00
ShadowNinja
6ffe52db17 Tweak core.serialize
This adds proper support for nested tables and improves performance a bit.
2014-11-19 12:40:54 -05:00
ShadowNinja
dd2fe1036b Rework dumping functions
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-24 17:32:42 -04:00
ShadowNinja
9718e20bfa Use "core" namespace internally 2014-05-08 13:02:04 -04:00
ShadowNinja
6001210df6 Organize builtin into subdirectories 2014-05-07 17:14:23 -04:00