Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |
|\| | | ||||||
| * | | mod_c2s: Set a default value for c2s_timeout (fixes #1036) | Kim Alvefur | 2017-11-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck] | Kim Alvefur | 2017-11-10 | 4 | -5/+5 | |
| | | | ||||||
* | | | MUC: Cache names of public rooms on eviction | Kim Alvefur | 2017-11-09 | 1 | -0/+1 | |
| | | | ||||||
* | | | MUC: Measure rate of room eviction | Kim Alvefur | 2017-11-09 | 1 | -0/+2 | |
| | | | ||||||
* | | | MUC: Tweak debug log message | Kim Alvefur | 2017-11-09 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.server_event: Split long line [luacheck] | Kim Alvefur | 2017-11-10 | 1 | -1/+2 | |
| | | | ||||||
* | | | util.format: Move tests to spec/ | Kim Alvefur | 2017-11-10 | 2 | -10/+13 | |
| | | | ||||||
* | | | util: Various minor changes to please [luacheck] | Kim Alvefur | 2017-11-10 | 18 | -115/+107 | |
| | | | ||||||
* | | | luacheckrc: Ignore long commets (e.g. license in util.sasl) | Kim Alvefur | 2017-11-10 | 1 | -0/+4 | |
| | | | ||||||
* | | | util.sql: Discard useless substitution count from string.gsub in SQL debug logs | Kim Alvefur | 2017-11-08 | 1 | -2/+2 | |
| | | |