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
/
array.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
util.array: Fix new() library function
Kim Alvefur
2023-07-22
1
-1
/
+3
*
util.array: Expose new() on module table
Kim Alvefur
2023-06-10
1
-0
/
+2
*
util.array: Add :slice() method + tests
Matthew Wild
2021-09-12
1
-0
/
+34
*
util.array: pluck: Support default value to avoid holes
Matthew Wild
2020-06-04
1
-2
/
+6
*
util.array: Fix equality metamethod in Lua 5.3
Kim Alvefur
2020-01-15
1
-0
/
+5
*
util.array: Add __div for parity with util.set
Matthew Wild
2018-10-21
1
-0
/
+19
*
util.array: Break long line
Matthew Wild
2018-10-19
1
-1
/
+5
*
util.array: Add freeze metamethod
Kim Alvefur
2018-10-12
1
-0
/
+2
*
util.array: Add a __name field to metatable
Kim Alvefur
2018-02-16
1
-1
/
+1
*
util.array: Add method for filtering out duplicate values
Kim Alvefur
2017-03-31
1
-0
/
+12
*
util.array: Add O(n) equality check metamethod
Kim Alvefur
2017-03-16
1
-0
/
+13
*
util.array: Remove unused arguments [luacheck]
Kim Alvefur
2016-10-18
1
-1
/
+1
*
util.array: Rename arguments to avoid name clash [luacheck]
Kim Alvefur
2016-10-18
1
-4
/
+4
*
util.array: Just use table.remove as array:pop()
Kim Alvefur
2015-12-23
1
-5
/
+1
*
util.array: Fix minory style issues
Kim Alvefur
2015-12-23
1
-10
/
+10
*
util.*: Remove use of module() function, make all module functions local and ...
Kim Alvefur
2015-02-21
1
-3
/
+0
*
util.array: Add type() local
Kim Alvefur
2014-09-17
1
-0
/
+1
*
util.array: Improve array:reverse() and make it work as both method and non-m...
Kim Alvefur
2013-10-06
1
-9
/
+20
*
Remove all trailing whitespace
Florian Zeitz
2013-08-09
1
-3
/
+3
*
util.array: Wrap tostring() output in {} (otherwise empty arrays print as "").
Waqas Hussain
2013-05-07
1
-1
/
+1
*
util.array: Accept an iterator to the array constructor
Matthew Wild
2012-08-08
1
-1
/
+4
*
util.array: Avoid globals.
Waqas Hussain
2011-12-09
1
-6
/
+11
*
util.array: Make array:push() chainable.
Waqas Hussain
2011-12-09
1
-0
/
+1
*
util.array: Expand some of the more basic methods to act more sensibly than t...
Matthew Wild
2011-12-07
1
-9
/
+27
*
util.array: Add pluck() method to pick a given property from each item
Matthew Wild
2011-12-07
1
-0
/
+7
*
util.array: Fix array.collect() for iterators that expect initial value of va...
Matthew Wild
2011-09-25
1
-1
/
+1
*
Monster whitespace commit (beware the whitespace monster).
Waqas Hussain
2010-10-16
1
-2
/
+2
*
Update copyright headers for 2010
Matthew Wild
2010-03-22
1
-2
/
+2
*
util.array: Oh no it isn't!
Matthew Wild
2009-10-08
1
-1
/
+0
*
util.array: Small logic fix for array:filter()
Matthew Wild
2009-10-05
1
-1
/
+1
*
util.array: Fix for array:filter() (in-place filtering)
Matthew Wild
2009-10-05
1
-2
/
+13
*
util.array: Per-array methods now always mutate the array, array.* return a m...
Matthew Wild
2009-10-05
1
-21
/
+49
*
Add copyright header to those files missing one
Matthew Wild
2009-07-10
1
-0
/
+8
*
util.array: Add support for + operator to create a new array from two arrays ...
Matthew Wild
2009-06-20
1
-0
/
+5
*
util.array: Make array:reverse() and array:shuffle() return the array to allo...
Matthew Wild
2009-06-20
1
-0
/
+2
*
util.array: Add array:append() method, to append a new array to an existing one
Matthew Wild
2009-06-20
1
-0
/
+8
*
util.array: Add array.collect() to collect results from iterators into an arr...
Matthew Wild
2009-04-22
1
-1
/
+14
*
util.array: Add :reverse() method
Matthew Wild
2009-03-29
1
-0
/
+8
*
util.array: Expose array.* functions, to be used for unwrapped arrays
Matthew Wild
2009-03-26
1
-12
/
+14
*
util.array: New array library
Matthew Wild
2009-03-25
1
-0
/
+45