Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | net.dns: Don't compress a single zero group in IPv6 addresses to match ↵ | Kim Alvefur | 2017-12-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | behaviour of inet_ntop | |||||
| * | | util.signal: Fix loop (fixes #1047) | Kim Alvefur | 2017-11-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | A pre-commit version probably started with i = nsig and counted down, then an incomplete change to counting up was done | |||||
| * | | prosodyctl: Fix traceback with lfs < 1.6.2 and show warning | Matthew Wild | 2017-11-30 | 1 | -0/+3 | |
| | | | ||||||
* | | | 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 ↵ | Kim Alvefur | 2017-12-01 | 1 | -4/+13 | |
| | | | | | | | | | | | | O(n) function | |||||
* | | | 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 | |
| | | | ||||||
* | | | net.dns: Use inet_ntop from util.net if available | Kim Alvefur | 2017-11-29 | 1 | -0/+13 | |
| | | | ||||||
* | | | util.net: Add bindings to inet_ntop and inet_pton | Kim Alvefur | 2017-11-26 | 1 | -0/+63 | |
| | | | ||||||
* | | | util.crand: Add comments about defines | Kim Alvefur | 2017-12-01 | 1 | -0/+2 | |
| | | | ||||||
* | | | util.crand: Apply formatter | Kim Alvefur | 2017-12-01 | 1 | -0/+1 | |
| | | | ||||||
* | | | util.crand: Reorder includes so system ones are first | Kim Alvefur | 2017-12-01 | 1 | -3/+2 | |
| | | | ||||||
* | | | util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined | Kim Alvefur | 2017-12-01 | 1 | -3/+3 | |
| | | | ||||||
* | | | util.template: Use util.envload instead of loadstring which is deprecated in ↵ | Kim Alvefur | 2017-11-23 | 1 | -2/+2 | |
| | | | | | | | | | | | | Lua 5.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 ↵ | Kim Alvefur | 2017-11-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | with strict 5.2 or 5.3 checks] | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-11-23 | 1 | -23/+12 | |
|\| | | ||||||
| * | | util.signal: Use a static array to keep track of pending signals (fixes #1029) | Kim Alvefur | 2017-11-14 | 1 | -23/+12 | |
| | | | ||||||
* | | | spec/net.http.server: Add test for #1044 | Kim Alvefur | 2017-11-22 | 1 | -0/+12 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-11-22 | 1 | -1/+1 | |
|\| | | ||||||
| * | | util.helpers: Handle missing priorities, happens due to wildcard magic in ↵ | Kim Alvefur | 2017-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | net.http.server (fixes #1044) | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-11-21 | 1 | -0/+2 | |
|\| | | ||||||
| * | | mod_storage_sql: Add indices that include the with and when columns of archives | Kim Alvefur | 2017-11-21 | 1 | -0/+2 | |
| | | | ||||||
* | | | util.async: Fix thread check to work correctly in Lua 5.2 | Kim Alvefur | 2017-11-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | coroutine.running() now returns the main thread and a boolean true if called from the main thread, as opposed to nil in 5.1 | |||||
* | | | util.async: Factor out thread check into a function | Kim Alvefur | 2017-11-21 | 1 | -8/+10 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-11-20 | 2 | -14/+35 | |
|\| | | ||||||
| * | | certmanager: Set single curve conditioned on LuaSec advertising EC crypto ↵ | Kim Alvefur | 2017-11-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | support | |||||
| * | | certmanager: Filter out curves not supported by LuaSec | Kim Alvefur | 2017-11-20 | 1 | -0/+12 | |
| | | | ||||||
| * | | certmanager: Change table representing LuaSec capabilities to match ↵ | Kim Alvefur | 2017-11-20 | 1 | -13/+20 | |
| | | | | | | | | | | | | capabilities table exposed in LuaSec 0.7 | |||||
| * | | mod_debug_sql: Declare itself as global module | Kim Alvefur | 2017-11-18 | 1 | -0/+2 | |
| | | | ||||||
* | | | mod_storage_internal: Skip write if no items matched a deletion query | Kim Alvefur | 2017-11-19 | 1 | -0/+3 | |
| | | | ||||||
* | | | util.pubsub: Recreate itemstore if persist_items changes or resize it if ↵ | Kim Alvefur | 2017-11-09 | 1 | -7/+7 | |
| | | | | | | | | | | | | max_items changes | |||||
* | | | mod_pubsub: Allow itemstore to override item ids | Kim Alvefur | 2017-11-09 | 1 | -0/+3 | |
| | | | ||||||
* | | | mod_pubsub/archive_itemstore: Support resize operation | Kim Alvefur | 2017-11-09 | 1 | -0/+5 | |
| | | | ||||||
* | | | 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 | |
| | | | ||||||
* | | | mod_storage_sql: Add support for truncating deletion | Kim Alvefur | 2017-11-09 | 1 | -1/+29 | |
| | | | ||||||
* | | | mod_storage_internal: Optimize truncation | Kim Alvefur | 2017-11-10 | 1 | -4/+5 | |
| | | | ||||||
* | | | mod_storage_internal: Allow truncating deletion at the beginning or end of ↵ | Kim Alvefur | 2017-11-09 | 1 | -0/+15 | |
| | | | | | | | | | | | | an archive store | |||||
* | | | util.datetime: Add tests | Kim Alvefur | 2017-11-19 | 1 | -0/+76 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-11-10 | 1 | -1/+1 | |
|\| | |