index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util
/
iterators.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
compat: Use table.pack (there since Lua 5.2) over our util.table
Kim Alvefur
2022-07-11
1
-1
/
+1
*
compat: Remove handling of Lua 5.1 location of 'unpack' function
Kim Alvefur
2022-07-11
1
-1
/
+1
*
util.iterators: Use pack from table.pack
Kim Alvefur
2018-12-08
1
-3
/
+3
*
util.iterators: Add sorted_pairs() method
Matthew Wild
2018-09-21
1
-0
/
+13
*
util.iterators: Add join() method and tests
Matthew Wild
2018-05-18
1
-0
/
+46
*
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
Kim Alvefur
2017-11-10
1
-2
/
+2
*
util.iterators: Add iterator wrapper that works like select(n, ...) applied t...
Kim Alvefur
2016-04-15
1
-0
/
+9
*
util.iterators: Normalize indentation
Kim Alvefur
2016-04-13
1
-12
/
+12
*
util.iterators: Fix use of incorrect variable accidentally introduced in a9ef...
Matthew Wild
2016-03-21
1
-2
/
+2
*
util.iterators: Variable renaming to avoid shadowing [luacheck]
Matthew Wild
2016-03-10
1
-9
/
+9
*
util.iterators: Return initial var from upstream iterator [luacheck]
Matthew Wild
2016-03-10
1
-1
/
+1
*
util.iterators: Don't replace var, as we should preserve var from the origina...
Matthew Wild
2016-03-10
1
-1
/
+1
*
util.iterators: Use table.pack() on Lua 5.2
Kim Alvefur
2016-02-22
1
-1
/
+1
*
util.iterators: Localize unpack() in Lua 5.2 compatible way
Kim Alvefur
2016-02-22
1
-1
/
+2
*
Remove all trailing whitespace
Florian Zeitz
2013-08-09
1
-5
/
+5
*
util.iterators: Small fix for variable scoping issue
Matthew Wild
2013-05-17
1
-1
/
+1
*
util.iterators: Add filter() to run results through a filter function
Matthew Wild
2013-05-17
1
-1
/
+15
*
util.iterators: Various fixes and improvements, primarily use pack() where it...
Matthew Wild
2013-05-17
1
-8
/
+12
*
util.iterators: Add ripairs() (ipairs() in reverse) (thanks Maranda)
Matthew Wild
2013-04-12
1
-0
/
+5
*
util.iterators: Make a standard library (no longer injects into global namesp...
Matthew Wild
2012-01-23
1
-11
/
+14
*
util.iterators: it2table: Fix variable name
Matthew Wild
2011-12-07
1
-1
/
+1
*
util.iterators: Add range(from, to)
Matthew Wild
2011-09-25
1
-0
/
+7
*
Monster whitespace commit (beware the whitespace monster).
Waqas Hussain
2010-10-16
1
-2
/
+2
*
util.iterators: Add skip() to skip the first n items of an iterator
Matthew Wild
2010-07-20
1
-0
/
+9
*
Update copyright headers for 2010
Matthew Wild
2010-03-22
1
-2
/
+2
*
util.iterators: Add tail() iterator, to return the last n items
Matthew Wild
2009-08-10
1
-0
/
+21
*
util.iterators: Add head() iterator, to return the first n items
Matthew Wild
2009-08-10
1
-0
/
+12
*
Add copyright header to those files missing one
Matthew Wild
2009-07-10
1
-0
/
+8
*
util.iterators: New iterators library
Matthew Wild
2009-03-25
1
-0
/
+94