Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.set: Remove unnecessary local declaration, arguments are already locals ↵ | Matthew Wild | 2015-05-06 | 1 | -1/+1 |
| | | | | [luacheck] | ||||
* | Merge 0.9->0.10 | Matthew Wild | 2013-11-10 | 1 | -1/+1 |
|\ | |||||
| * | util.set: Remove unused variable | Matthew Wild | 2013-11-10 | 1 | -1/+1 |
| | | |||||
* | | util.set: :items() now returns an iterator instead of the underlying table. ↵ | Matthew Wild | 2013-09-03 | 1 | -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->trunk | Matthew Wild | 2013-09-03 | 1 | -2/+2 |
|\| | |||||
| * | util.set: Fix :include() and :exclude() methods to iterate the input set ↵ | Matthew Wild | 2013-09-02 | 1 | -2/+2 |
| | | | | | | | | correctly | ||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -18/+18 |
|/ | |||||
* | util.set: Change '/' operator from filter to map+filter (nil to drop from ↵ | Matthew Wild | 2012-05-24 | 1 | -2/+3 |
| | | | | set, false is a valid item). No code found which depends on current behaviour. | ||||
* | util.set: Accept nil to add_list() | Matthew Wild | 2012-01-22 | 1 | -2/+4 |
| | |||||
* | Monster whitespace commit (beware the whitespace monster). | Waqas Hussain | 2010-10-16 | 1 | -1/+1 |
| | |||||
* | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
| | |||||
* | Add copyright header to those files missing one | Matthew Wild | 2009-07-10 | 1 | -0/+8 |
| | |||||
* | util.set: Add set.xor() to get a set consisting of items not in both sets | Matthew Wild | 2009-04-22 | 1 | -0/+4 |
| | |||||
* | util.set: Add set:empty() to discover if the set is the empty set | Matthew Wild | 2009-04-22 | 1 | -0/+4 |
| | |||||
* | util.set: Add metatable to sets to allow +, -, /, ==, tostring and to double ↵ | Matthew Wild | 2009-04-22 | 1 | -4/+54 |
| | | | | as iterators | ||||
* | util.set: Rename private items container, optimise set.difference() and add ↵ | Matthew Wild | 2009-03-23 | 1 | -9/+18 |
| | | | | set.intersection() | ||||
* | util.set: Fix to make constructor work, and functions defined correctly | Matthew Wild | 2009-03-22 | 1 | -8/+14 |
| | |||||
* | util.set: New util library | Matthew Wild | 2009-03-22 | 1 | -0/+75 |