Kim Alvefur <zash@zash.se> [Wed, 28 Oct 2020 23:15:52 +0100] rev 11198
tools/form2table: Convert XEP-0004 dataform from XML to util.dataforms Lua format
Used this to generate code for a number of PubSub forms IIRC
Kim Alvefur <zash@zash.se> [Wed, 28 Oct 2020 23:05:15 +0100] rev 11197
tools/linedebug: Print each line of source executed
The extremely verbose debug output. Nice for getting some idea which
code runs most often, or where it pauses for no reason etc.
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