<?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: util/events.lua history</title>
    <description>util/events.lua revision history</description>
    <item>
    <title>util.events: Add set_debug_hook() method</title>
    <link>http://hg.omfa.de/prosody-hg/log/c99afee1c548/util/events.lua</link>
    <description><![CDATA[util.events: Add set_debug_hook() method<br/>
<br/>
Hook signature:<br/>
<br/>
  ret = debug_hook(handler, event_name, event_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>Thu, 03 Sep 2020 12:59:43 +0100</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/9e839fb4541a/util/events.lua</link>
    <description><![CDATA[Merge 0.10-&gt;trunk]]></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>Tue, 24 Apr 2018 22:59:41 +0100</pubDate>
</item>
<item>
    <title>util.events: Fix loop construct (negative step required)</title>
    <link>http://hg.omfa.de/prosody-hg/log/c380a22d52d5/util/events.lua</link>
    <description><![CDATA[util.events: Fix loop construct (negative step required)]]></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>Tue, 24 Apr 2018 22:58:46 +0100</pubDate>
</item>
<item>
    <title>vairious: Add annotation when an empty environment is set [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/4f0f5b49bb03/util/events.lua</link>
    <description><![CDATA[vairious: Add annotation when an empty environment is set [luacheck]]]></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>Wed, 28 Feb 2018 20:06:26 +0100</pubDate>
</item>
<item>
    <title>util: Various minor changes to please [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/e5d00bf4a4d5/util/events.lua</link>
    <description><![CDATA[util: Various minor changes to please [luacheck]]]></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, 10 Nov 2017 05:42:32 +0100</pubDate>
</item>
<item>
    <title>util.events: Fix comparison of event_name with nil instead of false (fixes #554)</title>
    <link>http://hg.omfa.de/prosody-hg/log/ba83ff7d9bd7/util/events.lua</link>
    <description><![CDATA[util.events: Fix comparison of event_name with nil instead of false (fixes #554)]]></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, 12 May 2016 18:45:30 +0100</pubDate>
</item>
<item>
    <title>util.events: Document data structures</title>
    <link>http://hg.omfa.de/prosody-hg/log/138241cc1b3a/util/events.lua</link>
    <description><![CDATA[util.events: Document data structures]]></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>Wed, 23 Dec 2015 11:17:26 +0000</pubDate>
</item>
<item>
    <title>util.*: Remove use of module() function, make all module functions local and return them in a table at the end</title>
    <link>http://hg.omfa.de/prosody-hg/log/5de6b93d0190/util/events.lua</link>
    <description><![CDATA[util.*: Remove use of module() function, make all module functions local and return them in a table at the end]]></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>Sat, 21 Feb 2015 10:36:37 +0100</pubDate>
</item>
<item>
    <title>Merge</title>
    <link>http://hg.omfa.de/prosody-hg/log/e923d7cb8430/util/events.lua</link>
    <description><![CDATA[Merge]]></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>Wed, 06 May 2015 19:21:29 +0100</pubDate>
</item>
<item>
    <title>util.events: Add get_handlers() method</title>
    <link>http://hg.omfa.de/prosody-hg/log/5466f24e51c9/util/events.lua</link>
    <description><![CDATA[util.events: Add get_handlers() method]]></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>Wed, 06 May 2015 19:21:18 +0100</pubDate>
</item>
<item>
    <title>util.events: Add local reference to table.remove (fixes traceback)</title>
    <link>http://hg.omfa.de/prosody-hg/log/999434eb1bbf/util/events.lua</link>
    <description><![CDATA[util.events: Add local reference to table.remove (fixes traceback)]]></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>Tue, 05 May 2015 00:41:39 +0200</pubDate>
</item>
<item>
    <title>util.events: Change from nil to false to indicate adding a global wrapper</title>
    <link>http://hg.omfa.de/prosody-hg/log/b44ebfe81c73/util/events.lua</link>
    <description><![CDATA[util.events: Change from nil to false to indicate adding a global wrapper]]></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>Tue, 28 Apr 2015 14:19:28 +0100</pubDate>
</item>
<item>
    <title>util.events: Add support for event wrappers, functions which can wrap the calling of event handlers to run code before/after an event (for debugging, statistics, logging purposes, etc.)</title>
    <link>http://hg.omfa.de/prosody-hg/log/9d2b56fd6b47/util/events.lua</link>
    <description><![CDATA[util.events: Add support for event wrappers, functions which can wrap the calling of event handlers to run code before/after an event (for debugging, statistics, logging purposes, etc.)]]></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>Tue, 28 Apr 2015 13:42:59 +0100</pubDate>
</item>
<item>
    <title>Remove all trailing whitespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/bd0ff8ae98a8/util/events.lua</link>
    <description><![CDATA[Remove all trailing whitespace]]></description>
    <author>&#70;&#108;&#111;&#114;&#105;&#97;&#110;&#32;&#90;&#101;&#105;&#116;&#122;&#32;&#60;&#102;&#108;&#111;&#114;&#111;&#98;&#64;&#98;&#97;&#98;&#101;&#108;&#109;&#111;&#110;&#107;&#101;&#121;&#115;&#46;&#100;&#101;&#62;</author>
    <pubDate>Fri, 09 Aug 2013 17:48:21 +0200</pubDate>
</item>
<item>
    <title>util.events: Remove varargs, event handlers can now only accept a single parameter</title>
    <link>http://hg.omfa.de/prosody-hg/log/60b3b6d27364/util/events.lua</link>
    <description><![CDATA[util.events: Remove varargs, event handlers can now only accept a single parameter]]></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>Mon, 15 Jul 2013 12:15:51 +0100</pubDate>
</item>
<item>
    <title>util.events: Remove an event's table when it has no more handlers.</title>
    <link>http://hg.omfa.de/prosody-hg/log/bc4f67a0658d/util/events.lua</link>
    <description><![CDATA[util.events: Remove an event's table when it has no more handlers.]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 19 Dec 2010 00:53:19 +0500</pubDate>
</item>
<item>
    <title>util.events: Event handler indices are now built lazily (faster server startup for large number of hosts).</title>
    <link>http://hg.omfa.de/prosody-hg/log/90c18e0355af/util/events.lua</link>
    <description><![CDATA[util.events: Event handler indices are now built lazily (faster server startup for large number of hosts).]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 19 Sep 2010 17:51:00 +0500</pubDate>
</item>
<item>
    <title>util.events: Create new index on handler change instead of modifying existing one (this makes util.events fully reentrant).</title>
    <link>http://hg.omfa.de/prosody-hg/log/a49ed9166820/util/events.lua</link>
    <description><![CDATA[util.events: Create new index on handler change instead of modifying existing one (this makes util.events fully reentrant).]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 17 Sep 2010 04:09:59 +0500</pubDate>
</item>
<item>
    <title>util.events: Fixed the exposed API for adding/removing sets of event handlers.</title>
    <link>http://hg.omfa.de/prosody-hg/log/91c55ae31ef3/util/events.lua</link>
    <description><![CDATA[util.events: Fixed the exposed API for adding/removing sets of event handlers.]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 17 Sep 2010 04:09:58 +0500</pubDate>
</item>
<item>
    <title>util.events: Removed dispatcher creation functions (these weren't being used).</title>
    <link>http://hg.omfa.de/prosody-hg/log/3f52f3d9db5a/util/events.lua</link>
    <description><![CDATA[util.events: Removed dispatcher creation functions (these weren't being used).]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 17 Sep 2010 04:09:58 +0500</pubDate>
</item>
<item>
    <title>Merge 0.6-&gt;0.7</title>
    <link>http://hg.omfa.de/prosody-hg/log/692b3c6c5bd2/util/events.lua</link>
    <description><![CDATA[Merge 0.6-&gt;0.7]]></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>Mon, 22 Mar 2010 17:24:55 +0000</pubDate>
</item>
<item>
    <title>Update copyright headers for 2010</title>
    <link>http://hg.omfa.de/prosody-hg/log/b7049746bd29/util/events.lua</link>
    <description><![CDATA[Update copyright headers for 2010]]></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>Mon, 22 Mar 2010 17:06:15 +0000</pubDate>
</item>
<item>
    <title>util.events: Rename add_plugin() and remove_plugin() to add_handlers() and remove_handlers() respectively</title>
    <link>http://hg.omfa.de/prosody-hg/log/2c416334579c/util/events.lua</link>
    <description><![CDATA[util.events: Rename add_plugin() and remove_plugin() to add_handlers() and remove_handlers() respectively]]></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, 31 Dec 2009 02:39:40 +0000</pubDate>
</item>
<item>
    <title>Add copyright header to those files missing one</title>
    <link>http://hg.omfa.de/prosody-hg/log/569d58d21612/util/events.lua</link>
    <description><![CDATA[Add copyright header to those files missing one]]></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, 10 Jul 2009 03:08:38 +0100</pubDate>
</item>
<item>
    <title>util.events: Convert from Windows line endings</title>
    <link>http://hg.omfa.de/prosody-hg/log/92357dffe743/util/events.lua</link>
    <description><![CDATA[util.events: Convert from Windows line endings]]></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, 09 Jul 2009 22:57:32 +0100</pubDate>
</item>
<item>
    <title>util.events: Replaced ipairs with slightly faster numeric for loop - #optimization</title>
    <link>http://hg.omfa.de/prosody-hg/log/b02b22f77326/util/events.lua</link>
    <description><![CDATA[util.events: Replaced ipairs with slightly faster numeric for loop - #optimization]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 26 Jun 2009 08:52:26 +0500</pubDate>
</item>
<item>
    <title>util.events: Dispatch code now accepts a variable number of arguments</title>
    <link>http://hg.omfa.de/prosody-hg/log/dffbb7d1da4b/util/events.lua</link>
    <description><![CDATA[util.events: Dispatch code now accepts a variable number of arguments]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 17 May 2009 04:50:32 +0500</pubDate>
</item>
<item>
    <title>util.events: Much more efficient index building</title>
    <link>http://hg.omfa.de/prosody-hg/log/8c5d945c1f35/util/events.lua</link>
    <description><![CDATA[util.events: Much more efficient index building]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 17 May 2009 02:06:35 +0500</pubDate>
</item>
<item>
    <title>util.events: handler priorities</title>
    <link>http://hg.omfa.de/prosody-hg/log/edef0c10e076/util/events.lua</link>
    <description><![CDATA[util.events: handler priorities]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 16 May 2009 15:56:45 +0500</pubDate>
</item>
<item>
    <title>util.events: event handlers can now return a result, which also interrupts further handling of the event</title>
    <link>http://hg.omfa.de/prosody-hg/log/542d49518d3a/util/events.lua</link>
    <description><![CDATA[util.events: event handlers can now return a result, which also interrupts further handling of the event]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 15 May 2009 06:23:55 +0500</pubDate>
</item>
<item>
    <title>Added: util/events.lua: An event handling library</title>
    <link>http://hg.omfa.de/prosody-hg/log/5663db788fdf/util/events.lua</link>
    <description><![CDATA[Added: util/events.lua: An event handling library]]></description>
    <author>&#87;&#97;&#113;&#97;&#115;&#32;&#72;&#117;&#115;&#115;&#97;&#105;&#110;&#32;&#60;&#119;&#97;&#113;&#97;&#115;&#50;&#48;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 30 Mar 2009 03:58:59 +0500</pubDate>
</item>

  </channel>
</rss>
