Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | util.import: Localize unpack() in Lua 5.2 compatible way | Kim Alvefur | 2016-02-22 | 1 | -0/+1 | |
| | | | ||||||
| * | | util.debug: Silence luacheck warning about modifying 'debug' lib | Kim Alvefur | 2016-02-22 | 1 | -0/+3 | |
| | | | ||||||
| * | | util.session: Fix luacheck warnings | Kim Alvefur | 2016-02-22 | 1 | -3/+3 | |
| | | | ||||||
| * | | util.sql: Localize unpack() in Lua 5.2 compatible way | Kim Alvefur | 2016-02-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-02-22 | 1 | -1/+31 | |
|\| | | ||||||
| * | | util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin) | Kim Alvefur | 2016-02-21 | 1 | -1/+31 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-02-05 | 1 | -4/+2 | |
|\| | | ||||||
| * | | util.logger: Silence luacheck warning | Kim Alvefur | 2016-02-04 | 1 | -0/+1 | |
| | | | ||||||
| * | | util.logger: Remove unused locals | Kim Alvefur | 2016-02-04 | 1 | -4/+1 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-02-01 | 2 | -1/+22 | |
|\| | | ||||||
| * | | modulemanager, util.pluginloader: Move logic for locating some module ↵ | Matthew Wild | 2016-02-01 | 1 | -0/+15 | |
| | | | | | | | | | | | | libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call | |||||
| * | | util.random: Restore friendlier error from 0.9/util.uuid | Kim Alvefur | 2016-01-31 | 1 | -1/+7 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-01-16 | 1 | -4/+2 | |
|\| | | ||||||
| * | | util.random: Open /dev/urandom read-only, make seed() a noop | Kim Alvefur | 2016-01-12 | 1 | -4/+2 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-01-08 | 3 | -26/+10 | |
|\| | | ||||||
| * | | Merge 0.9->0.10 | Kim Alvefur | 2016-01-08 | 1 | -1/+5 | |
| |\| | ||||||
| | * | util.uuid: Use /dev/urandom | Kim Alvefur | 2016-01-06 | 1 | -27/+16 | |
| | | | ||||||
| | * | util.ip: Support zone id syntax in IPv6 addresses | Kim Alvefur | 2016-01-04 | 1 | -1/+5 | |
| | | | ||||||
| | * | util.ip: Fix protocol detection of IPv6 addresses beginning with : ↵ | Matthew Wild | 2013-05-18 | 1 | -2/+4 | |
| | | | | | | | | | | | | [Backported from 0.10] | |||||
| | * | util.ip: Automatically determine protocol of IP address if none specified. ↵ | Matthew Wild | 2013-05-17 | 1 | -1/+9 | |
| | | | | | | | | | | | | Return error if invalid. [Backported from 0.10] | |||||
| | * | util.uuid: Remove unused import | Kim Alvefur | 2015-12-08 | 1 | -1/+0 | |
| | | | ||||||
| * | | util.random: Use /dev/urandom | Kim Alvefur | 2016-01-06 | 1 | -24/+4 | |
| | | | ||||||
| * | | util.uuid: Take random byte directly instead of the low bits from the ascii ↵ | Kim Alvefur | 2016-01-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | value of a hex nibble | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-01-02 | 1 | -0/+5 | |
|\| | | ||||||
| * | | util.events: Document data structures | Matthew Wild | 2015-12-23 | 1 | -0/+5 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-12-27 | 3 | -37/+34 | |
|\| | | ||||||
| * | | util.openssl: Fix style / whitespace | Kim Alvefur | 2015-12-23 | 1 | -7/+7 | |
| | | | ||||||
| * | | 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 | |
| |/ / |