aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* util.termcolours: Validate color codes, fixes tracebackKim Alvefur2016-02-281-2/+7
|
* util.termcolours: Add some CSS color namesKim Alvefur2016-02-271-0/+12
|
* util.termcolours: Add 256 color supportKim Alvefur2016-02-271-0/+25
|
* util.datamanager: Explicit handling of each error condition (see #632)Kim Alvefur2016-02-271-14/+16
|
* Merge 0.9->0.10Kim Alvefur2016-02-251-0/+1
|\
| * util.datamanager: Unreference file handle after closing it to prevent trying ↵Kim Alvefur2016-02-251-0/+1
| | | | | | | | to close it again (fixes #632)
| * util.uuid: Open /dev/urandom read-only, make seed() a noopKim Alvefur2016-01-101-4/+2
| |
* | util.termcolours: Remove argument from noop function [luacheck]Kim Alvefur2016-02-251-1/+1
| |
* | util.termcolours: Silence luacheck warningKim Alvefur2016-02-251-0/+2
| |
* | util.template: Use separate variables for source and compiled function ↵Kim Alvefur2016-02-251-4/+4
| | | | | | | | [luacheck]
* | util.template: Silence luacheck warnings about unused loop varsKim Alvefur2016-02-251-1/+1
| |
* | util.openssl: Allow order of distinguished name fields to be included in configKim Alvefur2016-02-251-2/+1
| |
* | util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD ↵Kim Alvefur2016-02-221-0/+3
| | | | | | | | arc4random() CSPRNG
* | util.iterators: Use table.pack() on Lua 5.2Kim Alvefur2016-02-221-1/+1
| |
* | util.multitable: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+2
| |
* | util.iterators: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+2
| |
* | util.import: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-0/+1
| |
* | util.debug: Silence luacheck warning about modifying 'debug' libKim Alvefur2016-02-221-0/+3
| |
* | util.session: Fix luacheck warningsKim Alvefur2016-02-221-3/+3
| |
* | util.sql: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+1
| |
* | util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin)Kim Alvefur2016-02-211-1/+31
| |
* | util.logger: Silence luacheck warningKim Alvefur2016-02-041-0/+1
| |
* | util.logger: Remove unused localsKim Alvefur2016-02-041-4/+1
| |
* | modulemanager, util.pluginloader: Move logic for locating some module ↵Matthew Wild2016-02-011-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.uuidKim Alvefur2016-01-311-1/+7
| |
* | util.random: Open /dev/urandom read-only, make seed() a noopKim Alvefur2016-01-121-4/+2
| |
* | Merge 0.9->0.10Kim Alvefur2016-01-081-1/+5
|\|
| * util.uuid: Use /dev/urandomKim Alvefur2016-01-061-27/+16
| |
| * util.ip: Support zone id syntax in IPv6 addressesKim Alvefur2016-01-041-1/+5
| |
| * util.ip: Fix protocol detection of IPv6 addresses beginning with : ↵Matthew Wild2013-05-181-2/+4
| | | | | | | | [Backported from 0.10]
| * util.ip: Automatically determine protocol of IP address if none specified. ↵Matthew Wild2013-05-171-1/+9
| | | | | | | | Return error if invalid. [Backported from 0.10]
| * util.uuid: Remove unused importKim Alvefur2015-12-081-1/+0
| |
* | util.random: Use /dev/urandomKim Alvefur2016-01-061-24/+4
| |
* | util.uuid: Take random byte directly instead of the low bits from the ascii ↵Kim Alvefur2016-01-061-1/+1
| | | | | | | | value of a hex nibble
* | util.events: Document data structuresMatthew Wild2015-12-231-0/+5
| |
* | util.openssl: Fix style / whitespaceKim Alvefur2015-12-231-7/+7
| |
* | util.openssl: Rename variables for readabilityKim Alvefur2015-12-231-9/+9
| |
* | util.openssl: Move quoting and tostring call into escape functionKim Alvefur2015-12-231-3/+3
| |
* | util.array: Just use table.remove as array:pop()Kim Alvefur2015-12-231-5/+1
| |
* | util.array: Fix minory style issuesKim Alvefur2015-12-231-10/+10
| |
* | util.cache (and tests): Call on_evict after insertion of the new key, so ↵Matthew Wild2015-12-221-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)
* | MergeMatthew Wild2015-12-162-47/+102
|\ \
| * | util.sslconfig: More descriptive variable names and also commentsKim Alvefur2015-12-131-31/+56
| | |
| * | util.datamanager: Add append to public apiKim Alvefur2015-12-111-0/+1
| | |
| * | util.datamanager: Return extra location infoKim Alvefur2015-12-111-3/+3
| | |
| * | util.datamanager: Make sure only strings are passed as data to append()Kim Alvefur2015-12-111-0/+1
| | |
| * | util.datamanager: Add some comments about the append functionKim Alvefur2015-12-111-0/+3
| | |
| * | util.datamanager: Handle potential error from :write() callKim Alvefur2015-12-111-3/+3
| | |
| * | util.datamanager: Handle potential issues from fallocateKim Alvefur2015-12-111-1/+10
| | |
| * | util.datamanager: No shadowing of variable [luacheck]Kim Alvefur2015-12-111-1/+3
| | |