<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dovecot.git/src/lib-lua/dlua-script.c, branch master</title>
<subtitle>dovecot</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/atom/src/lib-lua/dlua-script.c?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/atom/src/lib-lua/dlua-script.c?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/'/>
<updated>2021-09-17T11:47:15Z</updated>
<entry>
<title>lib-lua: Use rawget to check presence of functions in scripts</title>
<updated>2021-09-17T11:47:15Z</updated>
<author>
<name>Siavash Tavakoli</name>
<email>siavash.tavakoli@open-xchange.com</email>
</author>
<published>2021-09-07T14:03:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=460edc6b644bdd1951b789734693da0b9ba93d80'/>
<id>urn:sha1:460edc6b644bdd1951b789734693da0b9ba93d80</id>
<content type='text'>
With the restricted global variables in next commit, checking for
undeclared functions results in error. Use rawget to avoid metamethods.
</content>
</entry>
<entry>
<title>global: Use consistent lua function names</title>
<updated>2021-08-17T07:49:37Z</updated>
<author>
<name>Siavash Tavakoli</name>
<email>siavash.tavakoli@open-xchange.com</email>
</author>
<published>2021-08-13T10:08:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=f28482afb825004073bf3550610fefc3ab882efb'/>
<id>urn:sha1:f28482afb825004073bf3550610fefc3ab882efb</id>
<content type='text'>
Change lua-style function names to be consistent with dovecot's style.
</content>
</entry>
<entry>
<title>lib-lua: Delay running Lua script until dlua_script_init()</title>
<updated>2021-06-01T09:35:08Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-05-21T13:59:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=b0fd5705af179e584ffabf4c68639beb6a2c74b7'/>
<id>urn:sha1:b0fd5705af179e584ffabf4c68639beb6a2c74b7</id>
<content type='text'>
This allows the caller to register globals before running the script.
</content>
</entry>
<entry>
<title>lib-lua: Move finalizing event and setting linked list to dlua_create_script()</title>
<updated>2021-06-01T09:35:08Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-05-21T13:58:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=f45c32c96861f6e1b297c548648c234e043ef7c7'/>
<id>urn:sha1:f45c32c96861f6e1b297c548648c234e043ef7c7</id>
<content type='text'>
There's no need to delay them until dlua_script_create_finish().
</content>
</entry>
<entry>
<title>lib-lua: dlua_script_init() - Always return -1 if script_init() fails</title>
<updated>2021-06-01T09:35:08Z</updated>
<author>
<name>Timo Sirainen</name>
<email>timo.sirainen@open-xchange.com</email>
</author>
<published>2021-05-21T14:06:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=67c7c1aaae6d64108ce9925a18b9fff2f206483e'/>
<id>urn:sha1:67c7c1aaae6d64108ce9925a18b9fff2f206483e</id>
<content type='text'>
The previous behavior was to forward the script_init() return value to
the caller. This was somewhat unexpected behavior.
</content>
</entry>
<entry>
<title>lib-lua: Define lua_isinteger as boolean function</title>
<updated>2021-05-12T09:06:46Z</updated>
<author>
<name>Aki Tuomi</name>
<email>aki.tuomi@open-xchange.com</email>
</author>
<published>2021-05-10T16:21:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=b59e89ebd97fa52de25b8e976a7dfe61f0d8a639'/>
<id>urn:sha1:b59e89ebd97fa52de25b8e976a7dfe61f0d8a639</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib-lua: Fix error reporting for script loading</title>
<updated>2021-05-12T09:06:46Z</updated>
<author>
<name>Aki Tuomi</name>
<email>aki.tuomi@open-xchange.com</email>
</author>
<published>2021-04-19T11:51:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=1fa8dbb63efd93a5edbee016b4468f0da16a748a'/>
<id>urn:sha1:1fa8dbb63efd93a5edbee016b4468f0da16a748a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib-lua: Fix luaL_error usage</title>
<updated>2021-05-12T09:06:46Z</updated>
<author>
<name>Aki Tuomi</name>
<email>aki.tuomi@open-xchange.com</email>
</author>
<published>2021-04-16T10:19:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=4258a2d8d7a8d7b6aecd52b05566f759c9c13f6b'/>
<id>urn:sha1:4258a2d8d7a8d7b6aecd52b05566f759c9c13f6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib-lua: Remove obsolete threading check</title>
<updated>2021-05-06T19:17:05Z</updated>
<author>
<name>Josef 'Jeff' Sipek</name>
<email>jeff.sipek@open-xchange.com</email>
</author>
<published>2021-05-06T19:17:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=ef61bea4326b00d000c6ad36529cdac205c0b1c6'/>
<id>urn:sha1:ef61bea4326b00d000c6ad36529cdac205c0b1c6</id>
<content type='text'>
We support multiple lua thread as long as they are created using the
dlua_script_new_thread() helper.
</content>
</entry>
<entry>
<title>lib-lua: Fix script loading</title>
<updated>2021-03-22T10:38:20Z</updated>
<author>
<name>Aki Tuomi</name>
<email>aki.tuomi@open-xchange.com</email>
</author>
<published>2021-02-16T07:21:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/dovecot.git/commit/?id=fcf86bb7b2a35c9e82264394cac0853dc598b880'/>
<id>urn:sha1:fcf86bb7b2a35c9e82264394cac0853dc598b880</id>
<content type='text'>
Handle error cases correctly.
</content>
</entry>
</feed>
