Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 09:53:10 +0100] rev 10579
core.moduleapi: Fix error context in :send_iq API
It got passed as argument to reject() instead of the util.error
function and was lost.
Kim Alvefur <zash@zash.se> [Sun, 29 Dec 2019 22:20:51 +0100] rev 10578
mod_http_errors: Use text from util.errror object if included
This makes util.error objects useful for more than just an error code
container.
Kim Alvefur <zash@zash.se> [Sun, 29 Dec 2019 01:11:55 +0100] rev 10577
util.pubsub: Ignore unused argument in tests [luacheck]
Kim Alvefur <zash@zash.se> [Thu, 26 Dec 2019 01:52:14 +0100] rev 10576
util.pubsub: Cover subscription filter in a partial test
I'm not sure I understand spies well enough to test that the arguments
and return values are as expected.
Better than nothing at least.
Kim Alvefur <zash@zash.se> [Sat, 28 Dec 2019 06:18:58 +0100] rev 10575
net.server_epoll: Avoid concatenating buffer with single item
Saves creating a string that'll be identical to buffer[1] anyways, as
well as a C function call. Depending on Lua version and length of the
string, this could be reusing an interned string, but a longer one would
probably be duplicated for no reason.
Having exactly one item in the buffer seems like it would be fairly
common, but I have not done an extensive study. If opportunistic writes
are enabled then it will be even more likely.
This special case could be optimized like this in table.concat but it
does not look like it is.
Matthew Wild <mwild1@gmail.com> [Tue, 24 Dec 2019 08:42:53 +0000] rev 10574
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Sun, 16 Dec 2018 02:56:11 +0100] rev 10573
core.rostermanager: Cache rosters of offline users for faster access (fixes #1233)
(grafted from 42a3e3a2824822cef7640ac56d182c59bdd4224e)
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 01:21:58 +0100] rev 10572
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 01:01:05 +0100] rev 10571
mod_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 01:00:35 +0100] rev 10570
mod_muc_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk