Kim Alvefur <zash@zash.se> [Wed, 28 Oct 2020 22:48:31 +0100] rev 11196
tools/cfgdump: Reads Prosody config file and pretty-prints it back out
Useful for comparing what you think you have in your config with what
Prosody sees, e.g. wrt (lack of) significance of indentation, order of
options vs scope etc. (global options do not go at the end!)
Could probably be turned into a prosodyctl command, especially if it
learns to redact secrets and passwords.
Kim Alvefur <zash@zash.se> [Wed, 28 Oct 2020 22:42:43 +0100] rev 11195
tools/tb2err: Formats Lua traceback in errors.err format
Manually opening to the files and line numbers from a Lua traceback is
tedious. This tool converts tracebacks into a format that many compilers
and such tools use, which is also compatible with Vim (and possibly
other editors).
Thus if someone sends you a pastebin link with a traceback, a command
like the following gets you right to the relevant lines:
curl paste.example/abc123.txt | tb2err > errors.err; vim -q
Matthew Wild <mwild1@gmail.com> [Wed, 28 Oct 2020 14:32:33 +0000] rev 11194
Merge 0.11->trunk
Matthew Wild <mwild1@gmail.com> [Wed, 28 Oct 2020 14:21:09 +0000] rev 11193
util.dbuffer: Optimize :sub() and :byte()
Kim Alvefur <zash@zash.se> [Sun, 25 Oct 2020 15:23:36 +0100] rev 11192
mod_pubsub: Comment on itemstore type
Kim Alvefur <zash@zash.se> [Sun, 25 Oct 2020 15:21:34 +0100] rev 11191
mod_pubsub: Clarify kind of item store created
Planning to make this configurable, so good to distinguish it from
future backends.
Kim Alvefur <zash@zash.se> [Sun, 25 Oct 2020 15:20:14 +0100] rev 11190
mod_pubsub: Don't set store as metatable
'archive' is not a metatable here, so this has no effect. Remove since
apparently nothing depends on this.
Matthew Wild <mwild1@gmail.com> [Wed, 21 Oct 2020 10:40:11 +0100] rev 11189
net.http: Add support for streaming chunked/large responses
Matthew Wild <mwild1@gmail.com> [Wed, 21 Oct 2020 10:34:16 +0100] rev 11188
net.http.parser: Expose 'partial', 'chunked' and 'body_length' on packets
Kim Alvefur <zash@zash.se> [Sun, 11 Oct 2020 23:04:13 +0200] rev 11187
util.paths: Optimize path joining with few arguments
A casual search suggests that the majority of paths.join() calls involve
only two arguments. This saves the creation of a table for up to 3
arguments.
Looks like 3x faster for 3 arguments or less, 5% slower when it uses the
array to concatenate.