15 Commits

Author SHA1 Message Date
ShadowNinja
dbf9e444b1 Split settings into seperate source and header files
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
ShadowNinja
33f6656d33 Add compression API 2014-09-20 14:02:54 -04:00
ShadowNinja
2a9c6a3e88 Make print() NUL-safe 2014-05-15 19:09:47 -04:00
ShadowNinja
6001210df6 Organize builtin into subdirectories 2014-05-07 17:14:23 -04:00
ShadowNinja
1945cac46a Add write_json() to the async API 2014-05-07 17:05:44 -04:00
sapier
e2a88e15fd Add proper lua api deprecated handling 2014-04-29 22:49:04 +02:00
ShadowNinja
5805a3dc4c Remove dependency on marshal and many other async changes
This makes a number of changes:
  * Remove the dependency on marshal by using string.dump and loadstring.
  * Use lua_tolstring rather than having Lua functions pass string lengths to C++.
  * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs.
  * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality.
  * Don't wait for async threads to shut down.  (Is this safe?  Might result in corruption if the thread is writing to a file.)
  * Pop more unused items from the stack
  * Code style fixes
  * Other misc changes
2014-04-27 16:15:53 -04:00
ShadowNinja
3b98b3d78d Rename get_json_value to read_json_value 2014-01-11 13:52:26 -05:00
ShadowNinja
e2b44bca93 Don't throw a error when writing JSON fails 2013-12-18 18:18:43 -05:00
ShadowNinja
c24cde1d75 Add 'minetest.write_json' 2013-12-18 16:46:53 -05:00
sapier
b1a9e58d6a Fix modstore/favourites hang by adding asynchronous lua job support 2013-11-29 22:09:14 +01:00
PilzAdam
56f58ccf3b Allow non-string arguments for minetest.is_yes() 2013-09-10 21:38:44 +02:00
PilzAdam
14d20ac1a4 Add Settings interface for Lua 2013-09-10 18:31:38 +02:00
Kahrl
1f772a3890 Add minetest.parse_json, engine.parse_json 2013-09-02 02:20:08 +02:00
Kahrl
ee90d438b8 Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00