aboutsummaryrefslogtreecommitdiffstats
path: root/util/jid.lua
Commit message (Collapse)AuthorAgeFilesLines
* Backout 7e820979fd9b (broke tests)Kim Alvefur2015-10-021-1/+5
|
* util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-211-18/+24
| | | | return them in a table at the end
* util.jid: Optimize bareKim Alvefur2014-08-071-5/+1
|
* util.jid: Use existing join function in jid.prepKim Alvefur2014-08-071-15/+8
|
* util.jid: Return early in join on invalid jidsKim Alvefur2014-08-071-6/+5
|
* Merge 0.9->0.10Matthew Wild2013-12-161-1/+4
|\
| * util.jid: Strip trailing '.' when normalizing hostnamesMatthew Wild2013-12-161-1/+4
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|/
* util.jid: Added escape() and unescape().Waqas Hussain2011-11-011-0/+13
|
* util.jid: Fix parsing of JIDs with no nodepart and an @ in the resourcepart ↵Matthew Wild2010-08-311-1/+1
| | | | (thanks seth)
* util.jid: compare() added, with some tests.Kim Alvefur2010-07-161-0/+13
|
* Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
|
* util.jid: Add join(node, host, resource) function to join the components and ↵Matthew Wild2009-11-271-0/+13
| | | | return nil if invalid
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* util.jid: Eliminate global method useWaqas Hussain2009-05-161-5/+7
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* util/jid: string prepping functions added: prepped_split and prepWaqas Hussain2009-01-151-0/+33
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Removed useless checkWaqas Hussain2008-11-221-3/+1
|
* Better names for variablesMatthew Wild2008-11-211-4/+4
|
* Remove old TODOMatthew Wild2008-11-211-1/+0
|
* Remove some declarations I added while debuggingMatthew Wild2008-11-211-2/+1
|
* Improve jid.split() and jid.bare() to pass new test cases with invalid JIDsMatthew Wild2008-11-211-7/+15
|
* Add jid.bare() helper functionMatthew Wild2008-11-201-0/+5
|
* Minor edit, and added a TODOWaqas Hussain2008-10-221-1/+2
|
* Fixed: util/jid.lua now returns module objectWaqas Hussain2008-10-141-0/+2
|
* jid.split(): Return nil when passed nilMatthew Wild2008-09-301-0/+1
|
* Fixing jid.split() for all JIDsMatthew Wild2008-09-271-1/+4
|
* Added all the files to please hg :/matthew2008-08-241-0/+8