Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | util.openssl: Rename variables for readability | Kim Alvefur | 2015-12-23 | 1 | -9/+9 | |
| | | | ||||||
| * | | util.openssl: Move quoting and tostring call into escape function | Kim Alvefur | 2015-12-23 | 1 | -3/+3 | |
| | | | ||||||
| * | | util.array: Just use table.remove as array:pop() | Kim Alvefur | 2015-12-23 | 1 | -5/+1 | |
| | | | ||||||
| * | | util.array: Fix minory style issues | Kim Alvefur | 2015-12-23 | 1 | -10/+10 | |
| | | | ||||||
| * | | util.cache (and tests): Call on_evict after insertion of the new key, so ↵ | Matthew Wild | 2015-12-22 | 1 | -5/+6 | |
| | | | | | | | | | | | | inside on_evict we can be more certain about the current state of the cache (i.e. full, new item added, old item removed) | |||||
* | | | util.timer: Reschedule timers from stop() if the next pending event is stopped | Kim Alvefur | 2015-12-23 | 1 | -1/+10 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-12-16 | 1 | -4/+4 | |
|\| | | ||||||
| * | | Merge | Matthew Wild | 2015-12-16 | 2 | -47/+102 | |
| |\ \ | ||||||
| * | | | util.dependencies: Use prosody.log() instead of global log() | Matthew Wild | 2015-12-16 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | Merge 0.10->trunk | Kim Alvefur | 2015-12-13 | 1 | -31/+56 | |
|\ \ \ \ | | |/ / | |/| | | ||||||
| * | | | util.sslconfig: More descriptive variable names and also comments | Kim Alvefur | 2015-12-13 | 1 | -31/+56 | |
| | | | | ||||||
* | | | | Merge 0.10->trunk | Kim Alvefur | 2015-12-12 | 1 | -16/+46 | |
|\| | | | ||||||
| * | | | util.datamanager: Add append to public api | Kim Alvefur | 2015-12-11 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | util.datamanager: Return extra location info | Kim Alvefur | 2015-12-11 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | util.datamanager: Make sure only strings are passed as data to append() | Kim Alvefur | 2015-12-11 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | util.datamanager: Add some comments about the append function | Kim Alvefur | 2015-12-11 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | util.datamanager: Handle potential error from :write() call | Kim Alvefur | 2015-12-11 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | util.datamanager: Handle potential issues from fallocate | Kim Alvefur | 2015-12-11 | 1 | -1/+10 | |
| | | | | ||||||
| * | | | util.datamanager: No shadowing of variable [luacheck] | Kim Alvefur | 2015-12-11 | 1 | -1/+3 | |
| | | | | ||||||
| * | | | util.datamanager: Skip past second check if first attemtp to open file succeeds | Kim Alvefur | 2015-12-11 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | util.datamanager: In append() collect status when closing file handle as it ↵ | Kim Alvefur | 2015-12-11 | 1 | -3/+9 | |
| | | | | | | | | | | | | | | | | may fail (eg the implied flush) | |||||
| * | | | util.datamanager: Overwrite 'data' variable instead of shadownig it [luacheck] | Kim Alvefur | 2015-12-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | util.datamanager: Factor out code for appending bytes to a file | Kim Alvefur | 2015-12-11 | 1 | -10/+18 | |
| |/ / | ||||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-12-10 | 1 | -2/+4 | |
|\| | | ||||||
| * | | util.dataforms: Track which fields are included in a form | Kim Alvefur | 2015-12-08 | 1 | -2/+4 | |
| | | | ||||||
* | | | util.stanza, util.xml, util.xmppstream: Add support for tracking defined ↵ | Matthew Wild | 2015-12-08 | 3 | -6/+49 | |
| | | | | | | | | | | | | namespaces and their prefix (stanza.namespaces), knowing/preserving prefix names is required for some applications (thanks daurnimator) | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-11-26 | 2 | -30/+108 | |
|\| | | ||||||
| * | | util.cache: Small update to prefix private fields with an underscore, add a ↵ | Matthew Wild | 2015-11-26 | 1 | -32/+43 | |
| | | | | | | | | | | | | :count() method (same as util.queue) and add an optional on_evict callback | |||||
| * | | util.cache: Make sure cache size is specified as an integer | Kim Alvefur | 2015-11-25 | 1 | -0/+2 | |
| | | | ||||||
| * | | util.session: How would you even send anything to a session? | Kim Alvefur | 2015-11-24 | 1 | -0/+32 | |
| | | | ||||||
| * | | util.session: How does a session relate do a connection? | Kim Alvefur | 2015-11-24 | 1 | -0/+7 | |
| | | | ||||||
| * | | util.session: What does the session say? | Kim Alvefur | 2015-11-24 | 1 | -0/+8 | |
| | | | ||||||
| * | | util.session: What is the identity of a session? | Kim Alvefur | 2015-11-24 | 1 | -0/+7 | |
| | | | ||||||
| * | | util.session: What is a session? | Kim Alvefur | 2015-11-24 | 1 | -0/+11 | |
| | | | ||||||
* | | | Merge | Matthew Wild | 2015-11-24 | 1 | -3/+21 | |
|\ \ \ | ||||||
| * | | | util.timer: If possible, close the existing timer handle in order to have ↵ | Kim Alvefur | 2015-11-22 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | only one | |||||
| * | | | util.timer: Expire timer instance if another instance is already set to take ↵ | Kim Alvefur | 2015-11-22 | 1 | -2/+11 | |
| | | | | | | | | | | | | | | | | care of the next scheduled event | |||||
| * | | | util.timer: Keep count of how many timer instances are active | Kim Alvefur | 2015-11-22 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Merge 0.10->trunk | Matthew Wild | 2015-11-24 | 1 | -0/+91 | |
|\ \ \ \ | |/ / / |/| / / | |/ / | ||||||
| * | | util.cache: Ordered key->value data structure, with size limit (same as pubsub) | Matthew Wild | 2015-11-24 | 1 | -0/+91 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-11-22 | 1 | -4/+1 | |
|\| | | ||||||
| * | | util.ip: Improve comparison, == doesn't necessarily handle IPv6 addresses ↵ | Matthew Wild | 2015-11-22 | 1 | -4/+1 | |
| | | | | | | | | | | | | correctly if they aren't normalized (case, ::, etc.) | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-11-09 | 1 | -1/+15 | |
|\| | | ||||||
| * | | util.queue: Add luacheck annotations | Matthew Wild | 2015-10-18 | 1 | -1/+2 | |
| | | | ||||||
| * | | util.queue: Add :items() iterator | Matthew Wild | 2015-10-18 | 1 | -0/+13 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-10-11 | 1 | -3/+7 | |
|\| | | ||||||
| * | | Merge 0.9->0.10 | Kim Alvefur | 2015-10-11 | 1 | -3/+7 | |
| |\| | ||||||
| | * | util.openssl: Separate extension sections into one for self-signed certs and ↵ | Kim Alvefur | 2015-10-11 | 1 | -3/+7 | |
| | | | | | | | | | | | | one for requests | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-10-02 | 1 | -1/+1 | |
|\| | | ||||||
| * | | util.jid: Fix backout | Kim Alvefur | 2015-10-02 | 1 | -1/+1 | |
| | | |