<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: spec/util_human_io_spec.lua history</title>
    <description>spec/util_human_io_spec.lua revision history</description>
    <item>
    <title>util.human.io: Add simple version comparison</title>
    <link>http://hg.omfa.de/prosody-hg/log/7eb0e47418ab/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Add simple version comparison<br/>
<br/>
This is a small helper function that compares version string (it can be passed<br/>
to table.sort() as a comparator).<br/>
<br/>
Full version sorts (e.g. semver, and natural/alphanumeric sort in general) are<br/>
more complex, and I would like to eventually support those. But this is a<br/>
stable branch and we don't need it for anything just yet.<br/>
<br/>
Regarding justification for the stable branch:<br/>
<br/>
The function is being committed with extensive tests, and isn't currently used<br/>
anywhere. The plan is to use it in an upcoming update of how TLS profiles are<br/>
configured, but the inputs in that case will be fixed (meaning that the risk<br/>
of breakage is lower than if we were running it against arbitrary data).]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 12 Jun 2026 11:38:39 +0100</pubDate>
</item>
<item>
    <title>util.human.io: Don't accept ambiguous durations by default</title>
    <link>http://hg.omfa.de/prosody-hg/log/82513890a1d8/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Don't accept ambiguous durations by default<br/>
<br/>
The new method parse_duration_lax() exports the old behaviour, mainly for<br/>
compatibility purposes.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 30 Nov 2023 13:42:44 +0000</pubDate>
</item>
<item>
    <title>util.human.io: Add tests for parse_duration() (some failing)</title>
    <link>http://hg.omfa.de/prosody-hg/log/313c49c7566a/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Add tests for parse_duration() (some failing)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 16 Jul 2023 19:26:05 +0200</pubDate>
</item>
<item>
    <title>util.human.io: Include relevant arguments in test messages</title>
    <link>http://hg.omfa.de/prosody-hg/log/6beec4de8e63/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Include relevant arguments in test messages<br/>
<br/>
This way the relevant arguments are shown in case a test case fails]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 16 Jul 2023 19:17:06 +0200</pubDate>
</item>
<item>
    <title>util.human.io: Use tail call in test to get correct line numbers</title>
    <link>http://hg.omfa.de/prosody-hg/log/eca44e058eed/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Use tail call in test to get correct line numbers<br/>
<br/>
This is probably not guaranteed to work and might vary with Lua version,<br/>
but it's good enough for me to get accurate line numbers out of Busted<br/>
that don't all point to the test() function.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 16 Jul 2023 18:42:58 +0200</pubDate>
</item>
<item>
    <title>util.human.io: Add parse_duration() method to parse a duration string</title>
    <link>http://hg.omfa.de/prosody-hg/log/f4d7fe919969/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Add parse_duration() method to parse a duration string<br/>
<br/>
Similar logic occurs throughout various modules in the codebase. We might even<br/>
want a module:get_option_duration()??]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 07 Apr 2023 14:14:53 +0100</pubDate>
</item>
<item>
    <title>util.human.io: Fix cutting of UTF-8 into pieces</title>
    <link>http://hg.omfa.de/prosody-hg/log/93e9f7ae2f9b/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Fix cutting of UTF-8 into pieces<br/>
<br/>
Down the rabbit hole we go...]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 12 Nov 2021 14:21:15 +0100</pubDate>
</item>
<item>
    <title>util.human.io: Add brief test of table generation</title>
    <link>http://hg.omfa.de/prosody-hg/log/4d3247a1f6b3/spec/util_human_io_spec.lua</link>
    <description><![CDATA[util.human.io: Add brief test of table generation]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 28 Jun 2020 14:58:32 +0200</pubDate>
</item>

  </channel>
</rss>
