<feed xmlns='http://www.w3.org/2005/Atom'>
<title>minetest.git/src/script/cpp_api, branch 0.4.16</title>
<subtitle>lizzy's patches for luanti
</subtitle>
<id>https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=0.4.16</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=0.4.16'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/'/>
<updated>2017-05-20T14:45:49+00:00</updated>
<entry>
<title>Fix CSM crash (#5779)</title>
<updated>2017-05-20T14:45:49+00:00</updated>
<author>
<name>red-001</name>
<email>red-001@outlook.ie</email>
</author>
<published>2017-05-20T14:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=772944daf69ab463568fbbf35a9011e4c8e6c44a'/>
<id>urn:sha1:772944daf69ab463568fbbf35a9011e4c8e6c44a</id>
<content type='text'>
Caused by dc5bc6c and them made worse by 5ebf8f9</content>
</entry>
<entry>
<title>Fix a warning pointed by GCC 7.1</title>
<updated>2017-05-18T18:55:27+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2017-05-18T18:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=1c6d2f596df8fc2254916cf323bdbaf13905aebf'/>
<id>urn:sha1:1c6d2f596df8fc2254916cf323bdbaf13905aebf</id>
<content type='text'>
lua_tonumber overflow in snprintf (12 bytes and only 10 can be written)
</content>
</entry>
<entry>
<title>Use a settings object for the main settings</title>
<updated>2017-05-06T19:33:19+00:00</updated>
<author>
<name>ShadowNinja</name>
<email>shadowninja@minetest.net</email>
</author>
<published>2014-12-12T19:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=43d1f375d18a2fbc547a9b4f23d1354d645856ca'/>
<id>urn:sha1:43d1f375d18a2fbc547a9b4f23d1354d645856ca</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>[CSM] add `on_item_use` (#5544)</title>
<updated>2017-05-06T19:12:44+00:00</updated>
<author>
<name>red-001</name>
<email>red-001@outlook.ie</email>
</author>
<published>2017-05-06T19:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=5ebf8f945050e9c74a3bb6784a0844d1fb68bdff'/>
<id>urn:sha1:5ebf8f945050e9c74a3bb6784a0844d1fb68bdff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[CSM] Add event on_place_node API lua (#5548)</title>
<updated>2017-04-29T10:08:16+00:00</updated>
<author>
<name>Vincent Glize</name>
<email>vincentglize@hotmail.fr</email>
</author>
<published>2017-04-29T10:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340'/>
<id>urn:sha1:dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340</id>
<content type='text'>
* [CSM] Add event on_place_node API lua
</content>
</entry>
<entry>
<title>Fix various points reported by cppcheck (#5656)</title>
<updated>2017-04-25T08:21:42+00:00</updated>
<author>
<name>Loïc Blot</name>
<email>nerzhul@users.noreply.github.com</email>
</author>
<published>2017-04-25T08:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=a7e131f53e211ffbe38d34d23b33e13cc401f013'/>
<id>urn:sha1:a7e131f53e211ffbe38d34d23b33e13cc401f013</id>
<content type='text'>
* Fix various performance issues reported by cppcheck + code style (CI)

* Make CI happy with code style on master
* guiFileSelectMenu: remove useless includes
* some performance fixes pointed by cppcheck
* remove some useless casts
* TextDest: remove unused setFormSpec function

* Fix various iterator post-increment reported by cppcheck
</content>
</entry>
<entry>
<title>Pass clang-format on various cpp/header files (#5559)</title>
<updated>2017-04-23T07:52:40+00:00</updated>
<author>
<name>Loïc Blot</name>
<email>nerzhul@users.noreply.github.com</email>
</author>
<published>2017-04-23T07:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=91a9382c25328075d1a27593b22b0a75863951e1'/>
<id>urn:sha1:91a9382c25328075d1a27593b22b0a75863951e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add on_flood() callback.</title>
<updated>2017-04-22T00:23:51+00:00</updated>
<author>
<name>Auke Kok</name>
<email>sofar@foo-projects.org</email>
</author>
<published>2017-04-20T06:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=cca58fe0fd1aac4246a23e1fc4f8469bdd280c6d'/>
<id>urn:sha1:cca58fe0fd1aac4246a23e1fc4f8469bdd280c6d</id>
<content type='text'>
This callback is called if a liquid definitely floods a non-air
node on the map. The callback arguments are (pos, oldnode, newnode)
and can return a `bool` value indicating whether flooding the
node should be cancelled (`return true` will prevent the node
from flooding).

Documentation is added, the callback function was tested with a
modified minetest_game.

Note that `return true` will likely cause the node's `on_flood()`
callback to be called every second until the node gets removed,
so care must be taken to prevent many callbacks from using this
return value. The current default liquid update interval is 1.0
seconds, which isn't unmanageable.

The larger aim of this patch is to remove the lava cooling ABM,
which is a significant cost to idle servers that have lava on their
map. This callback will be much more efficient.
</content>
</entry>
<entry>
<title>Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)</title>
<updated>2017-04-19T22:12:52+00:00</updated>
<author>
<name>Loïc Blot</name>
<email>nerzhul@users.noreply.github.com</email>
</author>
<published>2017-04-19T22:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=f98bbe193e0093aca8d8957cec82fdbd28639915'/>
<id>urn:sha1:f98bbe193e0093aca8d8957cec82fdbd28639915</id>
<content type='text'>
* Also remove 2 non declared but defined functions
* Make some functions around const ref changes const</content>
</entry>
<entry>
<title>Plug two minor Leaks (#5603)</title>
<updated>2017-04-17T07:04:58+00:00</updated>
<author>
<name>Auke Kok</name>
<email>sofar+github@foo-projects.org</email>
</author>
<published>2017-04-17T07:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=97988a1044e0fce20a6ddc9e9cb6be395101cb2a'/>
<id>urn:sha1:97988a1044e0fce20a6ddc9e9cb6be395101cb2a</id>
<content type='text'>
* Resource leak: CHECK_FILE_ERR returns, without freeing chunk_name.

Found with static analysis.

* Resource leak: leaks `page` on error path.

Found with static analysis.
</content>
</entry>
</feed>
