aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
...
* | | util.timer: Fix another variable name typo (thanks again zash).Waqas Hussain2013-10-301-2/+2
| | |
* | | util.timer: Fix variable name typo.Waqas Hussain2013-10-301-2/+2
| | |
* | | util.timer: Updated to use util.indexedbheap to provide a more complete API. ↵Waqas Hussain2013-10-301-1/+57
| | | | | | | | | | | | Timers can now be stopped or rescheduled. Callbacks are now pcall'd. Adding/removing timers from within timer callbacks works better. Optional parameter can be passed when creating timer which gets passed to callback, eliminating the need for closures in various timer uses. Timers are now much more lightweight.
* | | util.indexedbheap: A priority queue implementation with a reverse index with ↵Waqas Hussain2013-10-301-0/+153
| | | | | | | | | | | | no per-entry memory allocation.
* | | Merge 0.10->trunkKim Alvefur2013-10-151-46/+47
|\| |
| * | util.sasl.scram: Rename variable for clarityKim Alvefur2013-10-131-7/+7
| | |
| * | util.sasl.scram: Cache profile name instead of concatenating when usedKim Alvefur2013-10-131-2/+3
| | |
| * | util.sasl.scram: Rewrite patterns and capture client-first-message-bare, ↵Kim Alvefur2013-10-131-5/+6
| | | | | | | | | | | | client-final-message-without-proof
| * | util.sasl.scram: Create the state table as late as possible, keep state in ↵Kim Alvefur2013-10-131-41/+40
| | | | | | | | | | | | locals for faster access
| * | util.sasl.scram: Compare gs2-header to cbind-input (Thanks Tobias)Kim Alvefur2013-10-121-8/+8
| | |
* | | Merge 0.10->trunkMatthew Wild2013-10-101-2/+1
|\| |
| * | util.sasl: Remove unused print() import.Waqas Hussain2013-10-071-1/+0
| | |
| * | util.sasl: Make registerMechanism a public function (again)Waqas Hussain2013-10-071-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2013-10-062-18/+20
|\| |
| * | util.array: Improve array:reverse() and make it work as both method and ↵Kim Alvefur2013-10-061-9/+20
| | | | | | | | | | | | non-mutating function
| * | util.sasl.scram: Remove unused function and importKim Alvefur2013-10-061-9/+0
| | |
* | | mod_pubsub, util.pubsub: Keep track of the order of itemsKim Alvefur2013-10-041-1/+8
|/ /
* | Merge 0.9->0.10Matthew Wild2013-09-301-1/+1
|\|
| * util.filters: Fix inserting items so that higher priority filters run firstKim Alvefur2013-09-301-1/+1
| |
* | util.x509: Only compare identity with oid-on-xmppAddr for XMPP servicesKim Alvefur2013-09-261-1/+3
| |
* | util.sasl.scram: Simplify validation of client-first-messageKim Alvefur2013-09-221-14/+18
| |
* | Merge Tobias SCRAM-PLUS workKim Alvefur2013-09-222-7/+87
|\ \
| * | Backout ae48bf828f21Kim Alvefur2013-09-221-3/+3
| | |
| * | Only advertise mechanisms needing channel binding if a channel binding ↵Tobias Markmann2011-02-072-3/+26
| | | | | | | | | | | | backend is avaliable.
| * | sasl.util.scarm: Rearrage some code so it makes more sense.Tobias Markmann2011-02-061-5/+6
| | |
| * | util.sasl.scram: Checking the GS2 header for valid start flag.Tobias Markmann2011-02-061-0/+7
| | |
| * | util.sasl.scram: Remove some debugging output.Tobias Markmann2011-01-171-6/+0
| | |
| * | util.sasl.scram: Adding reference to RFC 5929 'Channel Bindings for TLS'.Tobias Markmann2011-01-171-0/+4
| | |
| * | util.sasl.scram: Validate channel binding data of client final message.Tobias Markmann2011-01-171-3/+12
| | |
| * | util.sasl.scram: Use self.profile.cb for detection whether channel binding ↵Tobias Markmann2011-01-171-3/+3
| | | | | | | | | | | | is supported or not.
| * | util.sasl: New method to add channel binding handler to a SASL instance.Tobias Markmann2011-01-171-0/+9
| | |
| * | Run with own LuaSec.Tobias Markmann2011-01-171-3/+3
| | |
| * | Check whether we support the proposed channel binding type.Tobias Markmann2011-01-152-0/+16
| | |
| * | Adding some code for channel binding advertising.Tobias Markmann2011-01-121-6/+23
| | |
* | | util.set: :items() now returns an iterator instead of the underlying table. ↵Matthew Wild2013-09-031-1/+1
| | | | | | | | | | | | This is much more efficient than 'for item in set' (which still works for now). Current access to _items is generally done directly, this may change.
* | | Merge 0.9->trunkMatthew Wild2013-09-031-2/+2
|\ \ \ | | |/ | |/|
| * | util.set: Fix :include() and :exclude() methods to iterate the input set ↵Matthew Wild2013-09-021-2/+2
| | | | | | | | | | | | correctly
* | | util.async: Make guarder() localMatthew Wild2013-08-131-1/+1
| | |
* | | util.async: Add guarder method, to create guards to ensure only a single ↵Matthew Wild2013-08-131-1/+37
| | | | | | | | | | | | runner can pass through a section of code at a time
* | | util.async: Fix logic bug that prevented error watcher being called for runnersMatthew Wild2013-08-131-2/+6
| | |
* | | util.async: waiter: Throw error if done() called too many timesKim Alvefur2013-08-121-0/+2
| | |
* | | util.async: waiter: Remove restriction about wait() being called before done()Matthew Wild2013-08-121-4/+5
| | |
* | | util.async: runner: Fix check for new state to recognise transition to 'waiting'Matthew Wild2013-08-121-1/+1
| | |
* | | util.async: Make functions localMatthew Wild2013-08-121-2/+2
| | |
* | | util.async: New library to provide support around coroutine-based ↵Matthew Wild2013-08-111-0/+115
| | | | | | | | | | | | non-blocking functions
* | | util.debug: Fix level of locals when inspecting a coroutineMatthew Wild2013-08-111-4/+6
| | |
* | | util.debug: Further fix to display locals in extended tracebacksMatthew Wild2013-08-101-4/+6
| | |
* | | util.debug: Fixes to make coroutine tracebacks work properlyMatthew Wild2013-08-101-8/+10
| | |
* | | Remove all trailing whitespaceFlorian Zeitz2013-08-0931-130/+130
| | |
* | | util.events: Remove varargs, event handlers can now only accept a single ↵Matthew Wild2013-07-151-3/+3
| | | | | | | | | | | | parameter