Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.xmppstream: Remove namespace tracking, it's broken as implemented | Matthew Wild | 2016-03-05 | 1 | -23/+0 |
| | | | | | The code fails to handle namespaces on the initial opening tag (when 'stanza' is nil). Fixing this seems not worth the effort for a feature that is not being used. | ||||
* | util.xml: Correct stanza.namespaces table construction when duplicate prefix ↵ | Waqas Hussain | 2016-03-05 | 1 | -5/+11 |
| | | | | names are encountered in the element tree. | ||||
* | Merge 0.10->trunk | Matthew Wild | 2016-03-04 | 1 | -1/+3 |
|\ | |||||
| * | util.json: Fix encoding of json.null (bug introduced in bf1f09a5bcf7) | Matthew Wild | 2016-03-04 | 1 | -1/+3 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-02-28 | 1 | -2/+2 |
|\| | |||||
| * | util.sasl.scram: Rename variable in places missed in 65e36b81d56a (thanks mt) | Kim Alvefur | 2016-02-28 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-02-28 | 2 | -8/+6 |
|\| | |||||
| * | util.sasl.scram: Remove unused initial value [luacheck] | Kim Alvefur | 2016-02-28 | 1 | -1/+1 |
| | | |||||
| * | util.sasl.scram: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2016-02-28 | 1 | -5/+5 |
| | | |||||
| * | util.sasl.anonymous: Remove unused locals [luacheck] | Kim Alvefur | 2016-02-28 | 1 | -2/+0 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-02-28 | 3 | -19/+66 |
|\| | |||||
| * | util.termcolours: Rename loop variable [luacheck] | Kim Alvefur | 2016-02-28 | 1 | -4/+4 |
| | | |||||
| * | util.termcolours: Validate color codes, fixes traceback | Kim Alvefur | 2016-02-28 | 1 | -2/+7 |
| | | |||||
| * | util.termcolours: Add some CSS color names | Kim Alvefur | 2016-02-27 | 1 | -0/+12 |
| | | |||||
| * | util.termcolours: Add 256 color support | Kim Alvefur | 2016-02-27 | 1 | -0/+25 |
| | | |||||
| * | util.datamanager: Explicit handling of each error condition (see #632) | Kim Alvefur | 2016-02-27 | 1 | -14/+16 |
| | | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2016-02-25 | 1 | -0/+1 |
| |\ | |||||
| | * | util.datamanager: Unreference file handle after closing it to prevent trying ↵ | Kim Alvefur | 2016-02-25 | 1 | -0/+1 |
| | | | | | | | | | | | | to close it again (fixes #632) | ||||
| | * | util.uuid: Open /dev/urandom read-only, make seed() a noop | Kim Alvefur | 2016-01-10 | 1 | -4/+2 |
| | | | |||||
| * | | util.termcolours: Remove argument from noop function [luacheck] | Kim Alvefur | 2016-02-25 | 1 | -1/+1 |
| | | | |||||
| * | | util.termcolours: Silence luacheck warning | Kim Alvefur | 2016-02-25 | 1 | -0/+2 |
| | | | |||||
| * | | util.template: Use separate variables for source and compiled function ↵ | Kim Alvefur | 2016-02-25 | 1 | -4/+4 |
| | | | | | | | | | | | | [luacheck] | ||||
| * | | util.template: Silence luacheck warnings about unused loop vars | Kim Alvefur | 2016-02-25 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-02-25 | 1 | -2/+1 |
|\| | | |||||
| * | | util.openssl: Allow order of distinguished name fields to be included in config | Kim Alvefur | 2016-02-25 | 1 | -2/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-02-22 | 7 | -7/+16 |
|\| | | |||||
| * | | util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD ↵ | Kim Alvefur | 2016-02-22 | 1 | -0/+3 |
| | | | | | | | | | | | | arc4random() CSPRNG | ||||
| * | | util.iterators: Use table.pack() on Lua 5.2 | Kim Alvefur | 2016-02-22 | 1 | -1/+1 |
| | | | |||||
| * | | util.multitable: Localize unpack() in Lua 5.2 compatible way | Kim Alvefur | 2016-02-22 | 1 | -1/+2 |
| | | | |||||
| * | | util.iterators: Localize unpack() in Lua 5.2 compatible way | Kim Alvefur | 2016-02-22 | 1 | -1/+2 |
| | | | |||||
| * | | 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] |