aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | util.ip: Simplify creation of IPv6-mapped IPv4 addressesKim Alvefur2017-12-011-14/+1
| | |
* | | util.ip: Add a method returning a normalized IP addressKim Alvefur2017-12-011-0/+4
| | |
* | | util.ip: Simplify bitstring methodKim Alvefur2017-12-011-18/+2
| | |
* | | util.ip: Make bit string function into a methodKim Alvefur2017-12-011-7/+9
| | |
* | | util.ip: Parse IP address using inet_ptonKim Alvefur2017-12-011-21/+21
| | |
* | | util.ip: Reflow module export tableKim Alvefur2017-12-011-2/+4
| | |
* | | util.ip: Reflow metatableKim Alvefur2017-12-011-3/+9
| | |
* | | net.dns: Use inet_ntop from util.net if availableKim Alvefur2017-11-291-0/+13
| | |
* | | util.net: Add bindings to inet_ntop and inet_ptonKim Alvefur2017-11-261-0/+63
| | |
* | | util.crand: Add comments about definesKim Alvefur2017-12-011-0/+2
| | |
* | | util.crand: Apply formatterKim Alvefur2017-12-011-0/+1
| | |
* | | util.crand: Reorder includes so system ones are firstKim Alvefur2017-12-011-3/+2
| | |
* | | util.crand: Always include stdlib to be sure __GLIBC_PREREQ is definedKim Alvefur2017-12-011-3/+3
| | |
* | | util.template: Use util.envload instead of loadstring which is deprecated in ↵Kim Alvefur2017-11-231-2/+2
| | | | | | | | | | | | Lua 5.2
* | | util.format: Import unpack from table lib in Lua 5.2+Kim Alvefur2017-11-231-1/+1
| | |
* | | util.envload: Ignore "undefined variable" warning for loadstring [luacheck ↵Kim Alvefur2017-11-231-1/+1
| | | | | | | | | | | | with strict 5.2 or 5.3 checks]
* | | Merge 0.10->trunkKim Alvefur2017-11-231-23/+12
|\| |
| * | util.signal: Use a static array to keep track of pending signals (fixes #1029)Kim Alvefur2017-11-141-23/+12
| | |
* | | spec/net.http.server: Add test for #1044Kim Alvefur2017-11-221-0/+12
| | |
* | | Merge 0.10->trunkKim Alvefur2017-11-221-1/+1
|\| |
| * | util.helpers: Handle missing priorities, happens due to wildcard magic in ↵Kim Alvefur2017-11-221-1/+1
| | | | | | | | | | | | net.http.server (fixes #1044)
* | | Merge 0.10->trunkKim Alvefur2017-11-211-0/+2
|\| |
| * | mod_storage_sql: Add indices that include the with and when columns of archivesKim Alvefur2017-11-211-0/+2
| | |
* | | util.async: Fix thread check to work correctly in Lua 5.2Kim Alvefur2017-11-211-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 functionKim Alvefur2017-11-211-8/+10
| | |
* | | Merge 0.10->trunkKim Alvefur2017-11-202-14/+35
|\| |
| * | certmanager: Set single curve conditioned on LuaSec advertising EC crypto ↵Kim Alvefur2017-11-201-1/+1
| | | | | | | | | | | | support
| * | certmanager: Filter out curves not supported by LuaSecKim Alvefur2017-11-201-0/+12
| | |
| * | certmanager: Change table representing LuaSec capabilities to match ↵Kim Alvefur2017-11-201-13/+20
| | | | | | | | | | | | capabilities table exposed in LuaSec 0.7
| * | mod_debug_sql: Declare itself as global moduleKim Alvefur2017-11-181-0/+2
| | |
* | | mod_storage_internal: Skip write if no items matched a deletion queryKim Alvefur2017-11-191-0/+3
| | |
* | | util.pubsub: Recreate itemstore if persist_items changes or resize it if ↵Kim Alvefur2017-11-091-7/+7
| | | | | | | | | | | | max_items changes
* | | mod_pubsub: Allow itemstore to override item idsKim Alvefur2017-11-091-0/+3
| | |
* | | mod_pubsub/archive_itemstore: Support resize operationKim Alvefur2017-11-091-0/+5
| | |
* | | util.cache: Call on-eviction callback when shrinkingKim Alvefur2017-11-181-1/+6
| | |
* | | util.cache: Add a method to resize the cacheKim Alvefur2017-11-181-0/+14
| | |
* | | util.cache: Add method for removing all data (does not call eviction callback)Kim Alvefur2017-11-071-0/+7
| | |
* | | mod_storage_sql: Add support for truncating deletionKim Alvefur2017-11-091-1/+29
| | |
* | | mod_storage_internal: Optimize truncationKim Alvefur2017-11-101-4/+5
| | |
* | | mod_storage_internal: Allow truncating deletion at the beginning or end of ↵Kim Alvefur2017-11-091-0/+15
| | | | | | | | | | | | an archive store
* | | util.datetime: Add testsKim Alvefur2017-11-191-0/+76
| | |
* | | Merge 0.10->trunkKim Alvefur2017-11-101-1/+1
|\| |
| * | mod_c2s: Set a default value for c2s_timeout (fixes #1036)Kim Alvefur2017-11-101-1/+1
| | |
* | | util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]Kim Alvefur2017-11-104-5/+5
| | |
* | | MUC: Cache names of public rooms on evictionKim Alvefur2017-11-091-0/+1
| | |
* | | MUC: Measure rate of room evictionKim Alvefur2017-11-091-0/+2
| | |
* | | MUC: Tweak debug log messageKim Alvefur2017-11-091-1/+1
| | |
* | | net.server_event: Split long line [luacheck]Kim Alvefur2017-11-101-1/+2
| | |
* | | util.format: Move tests to spec/Kim Alvefur2017-11-102-10/+13
| | |
* | | util: Various minor changes to please [luacheck]Kim Alvefur2017-11-1018-115/+107
| | |