Kim Alvefur <zash@zash.se> [Fri, 26 Mar 2021 13:03:22 +0100] rev 11493
util.envload: Add basic test of envload()
Kim Alvefur <zash@zash.se> [Fri, 26 Mar 2021 13:01:16 +0100] rev 11492
util.datamapper: Revert one special attribute to longer form
Had a name, using attr() broke it.
Kim Alvefur <zash@zash.se> [Fri, 26 Mar 2021 12:53:29 +0100] rev 11491
util.datamapper: Use attribute convenience function throughout
Matthew Wild <mwild1@gmail.com> [Thu, 25 Mar 2021 15:08:22 +0000] rev 11490
util.promise: Switch order of parameters to join()
This saves awkward fiddlery with varargs and also echoes the
signature of pcall/xpcall.
Matthew Wild <mwild1@gmail.com> [Thu, 25 Mar 2021 14:32:32 +0000] rev 11489
util.promise: all()/all_settled() pass through non-promise values
Matthew Wild <mwild1@gmail.com> [Thu, 25 Mar 2021 14:28:38 +0000] rev 11488
util.promise: Add join() convenience method
Usage: promise.join(p1, p2, function (result1, result2)
[...]
end)
Matthew Wild <mwild1@gmail.com> [Thu, 25 Mar 2021 13:51:16 +0000] rev 11487
util.promise: Add support for arbitrary keys in all()/all_settled()
Kim Alvefur <zash@zash.se> [Wed, 24 Mar 2021 16:36:00 +0100] rev 11486
mod_message: Stop advertising offline message support (mod_offline does that)
mod_offline also already advertises this feature, so it's added twice.
Kim Alvefur <zash@zash.se> [Wed, 24 Mar 2021 00:48:02 +0100] rev 11485
util.datamapper: Don't include empty unwrapped arrays
Since there is no way to distinguish an empty such array from a
zero-length array. Dropping it seems like the least annoying thing to
do.
Kim Alvefur <zash@zash.se> [Wed, 24 Mar 2021 00:34:22 +0100] rev 11484
util.datamapper: Add test coverage of unwrapped arrays of objects
Should the xml name/ns go on the array or the items schema? The later
apparently.