aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.10->trunkMatthew Wild2015-05-191-0/+3
|\
| * util.x509: Tell LuaSec we want UTF-8 dataKim Alvefur2015-05-181-0/+3
| |
* | Merge 0.10->trunkKim Alvefur2015-05-131-1/+5
|\|
| * Merge 0.9->0.10Kim Alvefur2015-05-131-1/+5
| |\
| | * util.datamanager: Fix traceback from trying to purge when storage is empty ↵Kim Alvefur2015-05-131-1/+5
| | | | | | | | | | | | or otherwise unaccessible (fixes #496)
* | | Merge 0.10->trunkMatthew Wild2015-05-136-13/+68
|\| |
| * | util.queue: Small fast FIFO/ringbuffer/queue libraryMatthew Wild2015-05-131-0/+54
| | |
| * | util.set: Rename method argument to avoid name clash [luacheck]Matthew Wild2015-05-061-3/+3
| | |
| * | util.set: Add luacheck annotation for methods not referencing 'self'Matthew Wild2015-05-061-0/+3
| | |
| * | util.set: Remove unnecessary local declaration, arguments are already locals ↵Matthew Wild2015-05-061-1/+1
| | | | | | | | | | | | [luacheck]
| * | util.dataforms: Rename unused loop counter to '_' [luacheck]Matthew Wild2015-05-061-1/+1
| | |
| * | util.sslconfig: Rename variable to avoid name clash [luacheck]Matthew Wild2015-05-061-4/+4
| | |
| * | util.serialization: Remove unused imports of error() and loadstring() [luacheck]Matthew Wild2015-05-061-2/+0
| | |
| * | util.xml: Remove unused parameter (thanks, luacheck)Matthew Wild2015-05-061-1/+1
| | |
| * | util.dataforms: Remove unused import of pairs() (thanks luacheck)Matthew Wild2015-05-061-1/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2015-05-062-0/+5
|\| |
| * | MergeMatthew Wild2015-05-063-4/+5
| |\ \
| * | | util.events: Add get_handlers() methodMatthew Wild2015-05-061-0/+4
| | | |
| * | | portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵Matthew Wild2015-05-061-0/+1
| | | | | | | | | | | | | | | | usermanager, util.xml: Add luacheck annotations
* | | | Merge 0.10->trunkKim Alvefur2015-05-052-3/+4
|\ \ \ \ | | |/ / | |/| |
| * | | util.statistics: Collect duration sample even if run fewer times than the ↵Kim Alvefur2015-05-051-2/+2
| | | | | | | | | | | | | | | | sample interval
| * | | util.events: Add local reference to table.remove (fixes traceback)Kim Alvefur2015-05-051-1/+2
| | | |
* | | | Merge 0.10->trunkKim Alvefur2015-05-032-2/+68
|\| | |
| * | | Merge 0.9->0.10Kim Alvefur2015-05-031-1/+1
| |\ \ \ | | |/ / | |/| / | | |/
| | * util.datamanager: Fix traceback due to %s in log messageKim Alvefur2015-04-031-1/+1
| | |
| * | util.events: Change from nil to false to indicate adding a global wrapperMatthew Wild2015-04-281-2/+2
| | |
| * | util.events: Add support for event wrappers, functions which can wrap the ↵Matthew Wild2015-04-281-1/+67
| | | | | | | | | | | | calling of event handlers to run code before/after an event (for debugging, statistics, logging purposes, etc.)
* | | Merge 0.10->trunkMatthew Wild2015-03-241-0/+34
|\| |
| * | util.mercurial: Utility functions for Mercurial repositoriesKim Alvefur2015-01-211-0/+34
| | |
* | | Merge 0.10->trunkMatthew Wild2015-02-241-1/+1
|\| |
| * | Merge 0.9->0.10Kim Alvefur2015-02-211-1/+1
| |\|
| | * util.datamanager: Check that the global 'prosody' exists before using it ↵Kim Alvefur2015-02-201-1/+1
| | | | | | | | | | | | (fixes nil indexing in use outside of prosody)
* | | Merge 0.10->trunkMatthew Wild2015-01-311-1/+1
|\| |
| * | util.statistics: Return 0 as percentile if data out of rangeMatthew Wild2015-01-301-1/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2015-01-212-7/+173
|\| |
| * | statsmanager, util.statistics: API changes, remove debuggingMatthew Wild2015-01-211-24/+53
| | |
| * | util.statistics: New library for gathering various kinds of statisticsMatthew Wild2015-01-201-0/+131
| | |
| * | util.hex: Pedantic optimization, 1 table lookup per byte instead of 3 ↵Kim Alvefur2015-01-121-7/+13
| | | | | | | | | | | | function calls makes it go faster
* | | Merge 0.10 -> trunkWaqas Hussain2014-12-161-0/+1
|\| |
| * | mod_storage_sql2, util.sql: Set character encoding on every connectKim Alvefur2014-12-111-0/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2014-11-201-1/+1
|\| |
| * | mod_pubsub: Add support for including the publisher in item broadcastsPhilipp Hancke2014-11-201-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2014-11-091-0/+6
|\| |
| * | util.paths: Add function for joining path segmentsKim Alvefur2014-11-081-0/+6
| | |
* | | Merge 0.10->trunkKim Alvefur2014-10-261-13/+2
|\| |
| * | Merge 0.9->0.10Kim Alvefur2014-10-261-13/+2
| |\|
| | * Backout changeset 6e67c73f730c: not a major fix and it breaks interop with ↵Matthew Wild2014-10-241-13/+2
| | | | | | | | | | | | at least Isode M-Link, and possibly standards, while it's not clear it actually fixes the original problem either.
* | | Move timer code out of util.timer and into relevant net.server backendsdaurnimator2014-10-201-66/+1
| | |
* | | Merge 0.10->trunkWaqas Hussain2014-10-082-3/+14
|\| |
| * | Merge 0.9->0.10Waqas Hussain2014-10-082-3/+14
| |\|