| Commit message (Expand) | Author | Age | Files | Lines |
* | util.import: Explicitly export the global import function [luacheck] | Kim Alvefur | 2018-03-07 | 1 | -1/+1 |
* | util.logger: Import globals (fixes on Lua 5.2) | Kim Alvefur | 2018-02-28 | 1 | -0/+2 |
* | vairious: Add annotation when an empty environment is set [luacheck] | Kim Alvefur | 2018-02-28 | 29 | -0/+29 |
* | util.logger: New method 'add_simple_sink', logger.add_simple_sink(print) works | Matthew Wild | 2018-02-27 | 1 | -0/+11 |
* | util.set: Add a __name field to metatable | Kim Alvefur | 2018-02-16 | 1 | -1/+1 |
* | util.array: Add a __name field to metatable | Kim Alvefur | 2018-02-16 | 1 | -1/+1 |
* | util.stanza: Change __type to __name as this is used by Lua 5.3 in some error... | Kim Alvefur | 2018-02-16 | 1 | -1/+1 |
* | util.pubsub: Support a 'nodestore' for persisting nodes (same API as kv stores) | Matthew Wild | 2018-02-02 | 1 | -1/+41 |
* | util.pubsub: Move service methods object creation (just code reorganisation) | Matthew Wild | 2018-02-02 | 1 | -2/+6 |
* | util.pubsub: For clarity, split config tables from their metatables | Matthew Wild | 2018-02-01 | 1 | -6/+9 |
* | util.ip: Remove redundant caching of method output (supposed to be done in ab... | Kim Alvefur | 2017-12-09 | 1 | -17/+7 |
* | util.ip: Convert the correct IP to IPv6-mapped for comparison (fixes tracebac... | Kim Alvefur | 2017-12-09 | 1 | -1/+1 |
* | util.ip: Do equality checking by comparing packed representation to avoid any... | Kim Alvefur | 2017-12-01 | 1 | -1/+1 |
* | util.ip: Add CGNAT network range reserved in RFC 6598 | Kim Alvefur | 2017-12-01 | 1 | -1/+2 |
* | util.ip: Do exact match for longer bit counts than available | Kim Alvefur | 2017-12-01 | 1 | -1/+1 |
* | util.ip: Do CIDR matching by comparing all bits at once instead of using O(n)... | Kim Alvefur | 2017-12-01 | 1 | -4/+13 |
* | util.ip: Cache return values of all methods in one place | Kim Alvefur | 2017-12-01 | 1 | -1/+5 |
* | util.ip: Instantiate various addresses used for comparisons once | Kim Alvefur | 2017-12-01 | 1 | -45/+49 |
* | util.ip: Simplify creation of IPv6-mapped IPv4 addresses | Kim Alvefur | 2017-12-01 | 1 | -14/+1 |
* | util.ip: Add a method returning a normalized IP address | Kim Alvefur | 2017-12-01 | 1 | -0/+4 |
* | util.ip: Simplify bitstring method | Kim Alvefur | 2017-12-01 | 1 | -18/+2 |
* | util.ip: Make bit string function into a method | Kim Alvefur | 2017-12-01 | 1 | -7/+9 |
* | util.ip: Parse IP address using inet_pton | Kim Alvefur | 2017-12-01 | 1 | -21/+21 |
* | util.ip: Reflow module export table | Kim Alvefur | 2017-12-01 | 1 | -2/+4 |
* | util.ip: Reflow metatable | Kim Alvefur | 2017-12-01 | 1 | -3/+9 |
* | util.template: Use util.envload instead of loadstring which is deprecated in ... | Kim Alvefur | 2017-11-23 | 1 | -2/+2 |
* | util.format: Import unpack from table lib in Lua 5.2+ | Kim Alvefur | 2017-11-23 | 1 | -1/+1 |
* | util.envload: Ignore "undefined variable" warning for loadstring [luacheck wi... | Kim Alvefur | 2017-11-23 | 1 | -1/+1 |
* | Merge 0.10->trunk | Kim Alvefur | 2017-11-22 | 1 | -1/+1 |
|\ |
|
| * | util.helpers: Handle missing priorities, happens due to wildcard magic in net... | Kim Alvefur | 2017-11-22 | 1 | -1/+1 |
* | | util.async: Fix thread check to work correctly in Lua 5.2 | Kim Alvefur | 2017-11-21 | 1 | -2/+2 |
* | | util.async: Factor out thread check into a function | Kim Alvefur | 2017-11-21 | 1 | -8/+10 |
* | | util.pubsub: Recreate itemstore if persist_items changes or resize it if max_... | Kim Alvefur | 2017-11-09 | 1 | -7/+7 |
* | | util.cache: Call on-eviction callback when shrinking | Kim Alvefur | 2017-11-18 | 1 | -1/+6 |
* | | util.cache: Add a method to resize the cache | Kim Alvefur | 2017-11-18 | 1 | -0/+14 |
* | | util.cache: Add method for removing all data (does not call eviction callback) | Kim Alvefur | 2017-11-07 | 1 | -0/+7 |
* | | util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck] | Kim Alvefur | 2017-11-10 | 4 | -5/+5 |
* | | util.format: Move tests to spec/ | Kim Alvefur | 2017-11-10 | 1 | -10/+0 |
* | | util: Various minor changes to please [luacheck] | Kim Alvefur | 2017-11-10 | 18 | -115/+107 |
* | | util.sql: Discard useless substitution count from string.gsub in SQL debug logs | Kim Alvefur | 2017-11-08 | 1 | -2/+2 |
* | | Merge 0.10->trunk | Kim Alvefur | 2017-11-07 | 1 | -1/+2 |
|\| |
|
| * | util.sql: Return an error message when a SQL commit fails (LuaDBI doesn't) (T... | Kim Alvefur | 2017-11-07 | 1 | -1/+2 |
* | | util.pubsub: Add method for retreiving the last item (useful for sending on s... | Kim Alvefur | 2017-11-07 | 1 | -0/+9 |
* | | Merge 0.10->trunk | Kim Alvefur | 2017-11-03 | 1 | -1/+2 |
|\| |
|
| * | util.termcolours: Split a long line [luacheck] | Kim Alvefur | 2017-11-03 | 1 | -1/+2 |
* | | util.pubsub: Return an empty list if specific item asked for does not exist (... | Kim Alvefur | 2017-10-18 | 1 | -1/+1 |
* | | pubsub: Distinguish internal representation of node config from XEP-0060 form... | Kim Alvefur | 2017-10-17 | 1 | -2/+3 |
* | | util.pubsub: Remove inclusion of publisher | Kim Alvefur | 2017-10-16 | 1 | -3/+0 |
* | | util.debug: Produce a sensible name for nameless upvalues to C functions | Kim Alvefur | 2017-10-15 | 1 | -0/+1 |
* | | util.pubsub: Return item-not-found if a single item is requested, and not there | Kim Alvefur | 2017-10-10 | 1 | -1/+5 |