aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | util.async: Add guarder method, to create guards to ensure only a single ↵Matthew Wild2013-08-131-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runner can pass through a section of code at a time
| * | | | | | | util.async: Fix logic bug that prevented error watcher being called for runnersMatthew Wild2013-08-131-2/+6
| | | | | | | |
| * | | | | | | util.async: waiter: Throw error if done() called too many timesKim Alvefur2013-08-121-0/+2
| | | | | | | |
| * | | | | | | util.async: waiter: Remove restriction about wait() being called before done()Matthew Wild2013-08-121-4/+5
| | | | | | | |
| * | | | | | | util.async: runner: Fix check for new state to recognise transition to 'waiting'Matthew Wild2013-08-121-1/+1
| | | | | | | |
| * | | | | | | util.async: Make functions localMatthew Wild2013-08-121-2/+2
| | | | | | | |
| * | | | | | | util.async: New library to provide support around coroutine-based ↵Matthew Wild2013-08-111-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-blocking functions
| * | | | | | | util.debug: Fix level of locals when inspecting a coroutineMatthew Wild2013-08-111-4/+6
| | | | | | | |
| * | | | | | | util.debug: Further fix to display locals in extended tracebacksMatthew Wild2013-08-101-4/+6
| | | | | | | |
| * | | | | | | util.debug: Fixes to make coroutine tracebacks work properlyMatthew Wild2013-08-101-8/+10
| | | | | | | |
| * | | | | | | Remove all trailing whitespaceFlorian Zeitz2013-08-0931-130/+130
| | | | | | | |
| * | | | | | | util.events: Remove varargs, event handlers can now only accept a single ↵Matthew Wild2013-07-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter
| * | | | | | | util.sql: Do lazy fetching of affected/rowcountKim Alvefur2013-07-121-3/+3
| | | | | | | |
| * | | | | | | Backed out changeset 3c57c2281087Kim Alvefur2013-07-121-1/+2
| | | | | | | |
| * | | | | | | util.sql: Don't fetch row count of result sets for queries that don't have ↵Kim Alvefur2013-07-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result sets
| * | | | | | | util.sql: Set charset and collation for MySQL when creating tablesKim Alvefur2013-07-111-0/+2
| | | | | | | |
| * | | | | | | Merge the mergeMatthew Wild2013-06-132-0/+26
| |\ \ \ \ \ \ \
| | * | | | | | | util.sasl.external: Add SASL EXTERNAL mechanismKim Alvefur2013-06-132-0/+26
| | | | | | | | |
| * | | | | | | | Merge 0.9->trunkMatthew Wild2013-06-131-1/+5
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge 0.9->trunkMatthew Wild2013-06-131-0/+3
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge 0.9->trunkKim Alvefur2013-05-261-1/+1
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | util.ip: Fix protocol detection of IPv6 addresses beginning with :Matthew Wild2013-05-181-2/+4
| | | | | | | | | | |
| * | | | | | | | | | util.ip: Add CIDR notation parsing and matchingMatthew Wild2013-05-181-1/+24
| | | | | | | | | | |
| * | | | | | | | | | Merge 0.9->trunkKim Alvefur2013-05-181-0/+7
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | util.ip: Add 'private' method/property to determine whether an IP address is ↵Matthew Wild2013-05-171-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generally expected to be internet-routeable (YMMV)
| * | | | | | | | | | | util.ip: Automatically determine protocol of IP address if none specified. ↵Matthew Wild2013-05-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return error if invalid.
| * | | | | | | | | | | util.iterators: Small fix for variable scoping issueMatthew Wild2013-05-171-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | util.iterators: Add filter() to run results through a filter functionMatthew Wild2013-05-171-1/+15
| | | | | | | | | | | |
| * | | | | | | | | | | util.iterators: Various fixes and improvements, primarily use pack() where ↵Matthew Wild2013-05-171-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it should be used.
* | | | | | | | | | | | util.xmppstream: Also disable CharacterData merging after stream restartsMatthew Wild2014-04-021-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | util.xmppstream: Disable LuaExpat's buffering (if possible)Matthew Wild2014-04-021-3/+3
| | | | | | | | | | | |
* | | | | | | | | | | | util.dependencies: Log error when LuaExpat is not capable of enforcing ↵Matthew Wild2014-03-301-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stanza size limits
* | | | | | | | | | | | util.xmppstream: Implement stanza size limiting, default limit 10MBMatthew Wild2014-03-301-6/+80
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | util.pluginloader: Always use path separator from package.config (thanks Junne)Kim Alvefur2014-03-091-4/+4
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | util.jid: Strip trailing '.' when normalizing hostnamesMatthew Wild2013-12-161-1/+4
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | util.set: Remove unused variableMatthew Wild2013-11-101-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | util.filters: Fix inserting items so that higher priority filters run firstKim Alvefur2013-09-301-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | util.set: Fix :include() and :exclude() methods to iterate the input set ↵Matthew Wild2013-09-021-2/+2
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | correctly
* | | | | | util.dataforms: Return nil for empty list-mutli responses, to be consistent ↵Florian Zeitz2013-06-141-1/+5
| |_|_|/ / |/| | | | | | | | | | | | | | with other readers
* | | | | util.pubsub: Check whether node exists, when deletingFlorian Zeitz2013-06-121-0/+3
| |_|/ / |/| | |
* | | | util.pubsub: Fix get_subscriptions to not pass a boolean as node name ↵Kim Alvefur2013-05-261-1/+1
| |/ / |/| | | | | | | | (thanks jonas)
* | | util.ip: Convert IPv4 mapped addresses to hex.Kim Alvefur2013-05-181-0/+7
|/ /
* | util.json: New, faster, stricter, more compliant JSON decoder. Now returns ↵Waqas Hussain2013-05-071-192/+155
| | | | | | | | nil,err instead of throwing errors on invalid input.
* | util.array: Wrap tostring() output in {} (otherwise empty arrays print as "").Waqas Hussain2013-05-071-1/+1
| |
* | util.json: Make setmetatable local.Waqas Hussain2013-05-061-1/+1
| |
* | util.json: Fix variable name typo which broke util.json when util.array was ↵Waqas Hussain2013-05-061-1/+1
| | | | | | | | missing.
* | util.json: Optimize long string parsing.Waqas Hussain2013-05-051-5/+5
| |
* | Merge with FlorobMatthew Wild2013-05-011-1/+1
|\ \
| * | util.dataforms: Add support for generating type='fixed' fieldsFlorian Zeitz2013-02-111-1/+1
| | |
* | | util.rfc{3484,6724}: Update to RFC 6724Florian Zeitz2013-04-302-8/+30
| | |