Commit graph

24 commits

Author SHA1 Message Date
Kim Alvefur
5251c9b686 compat: Remove handling of Lua 5.1 location of 'unpack' function 2022-07-11 19:07:38 +02:00
Kim Alvefur
5a608450d5 lint: Remove use of the 143 error code
Does not appear to be invoked by anything
2018-12-08 17:10:51 +01:00
Kim Alvefur
43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 2018-02-28 20:06:26 +01:00
Kim Alvefur
c904d1e28d util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck] 2017-11-10 17:47:11 +01:00
Kim Alvefur
1438a38845 util: Various minor changes to please [luacheck] 2017-11-10 05:42:32 +01:00
Kim Alvefur
29c6aed489 util.multitable: Localize unpack() in Lua 5.2 compatible way 2016-02-22 17:40:42 +01:00
Kim Alvefur
eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 2015-02-21 10:36:37 +01:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
53793b75db util.multitable: Some fixes for iter()... always match against query, and pass value after path results 2012-05-22 14:31:19 +01:00
Matthew Wild
d964388983 util.multitable: No longer use table.remove to drop elements from the stack, when key is nil immediately (on empty tables) the previous stack entry's key gets removed instead 2012-05-19 15:35:49 +01:00
Matthew Wild
e4fe19362f util.multitable: Add :iter() method to iterate over results at a fixed depth (parameters are equivalent to :search()) 2012-05-19 04:12:41 +01:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
1f45b979b1 util.multitable: No globals today, thank you. Fixes missing table entries and a potential traceback 2009-05-04 19:06:31 +01:00
Matthew Wild
c80f91dc02 0.3->0.4 2009-03-20 20:16:25 +00:00
Matthew Wild
b9636951c1 util.multitable: Add mt:search(), use nil for wildcard keys 2009-02-26 16:55:46 +00:00
Matthew Wild
c5ee166aa9 Update copyright notices for 2009 2009-01-30 17:59:26 +00:00
Matthew Wild
f2d020191f 0.2->0.3 2009-01-30 17:40:25 +00:00
Matthew Wild
bf3b96204d GPL->MIT! 2009-01-30 17:22:56 +00:00
Waqas Hussain
f71a012a30 Added util.multitable.set 2008-12-27 08:27:26 +05:00
Matthew Wild
d3ad4a5123 0.1 -> 0.2 2008-12-10 15:44:03 +00:00
Matthew Wild
c0334a2ad9 Small fix for multitable 2008-12-06 03:40:51 +00:00
Waqas Hussain
bd000cf509 MultiTable: Remove all empty sub-tables when elements are removed 2008-12-05 05:24:10 +05:00
Waqas Hussain
15e7a1b4e7 util.multitable - A table with multiple key for each entry 2008-12-05 04:56:04 +05:00