Commit graph

16 commits

Author SHA1 Message Date
Kim Alvefur
43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 2018-02-28 20:06:26 +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
Matthew Wild
878efeecd5 Merge 0.9->0.10 2014-08-28 09:23:24 +01:00
Matthew Wild
b27e7b3834 util.filters: Ignore filters being added twice (fixes issues on removal) 2014-08-28 09:20:33 +01:00
Matthew Wild
6f46b6cd1a Merge 0.9->0.10 2013-09-30 23:46:38 +01:00
Kim Alvefur
6b44449fc4 util.filters: Fix inserting items so that higher priority filters run first 2013-09-30 21:51:42 +02:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
7513fb3ead util.filters: Add remove_filter_hook() 2010-12-22 16:46:19 +00:00
Matthew Wild
ac170b59fe util.filters: Support for 'filter hooks' that get called when a session is initialized for filters 2010-11-13 23:10:13 +00:00
Matthew Wild
ce782869b3 util.filters: Add newline at end of file 2010-07-08 14:08:27 +01:00
Matthew Wild
881dc8a105 util.filters: Ensure initialize() never initializes an object twice - and return the filter function to the caller 2010-06-02 17:23:57 +01:00
Matthew Wild
22af466006 util.filters: Break processing if a filterer returns nil 2010-06-02 13:31:36 +01:00
Matthew Wild
faf2be988f util.filters: Don't traceback with no filters of a type added 2010-06-02 13:03:55 +01:00
Matthew Wild
b5d2e584f4 util.filters: Don't traceback when trying to remove a filter from an uninitialized object 2010-06-02 12:24:07 +01:00
Matthew Wild
ac72ecb7fd util.filters: Expose the initialization function 2010-06-02 12:23:07 +01:00
Matthew Wild
8f8e28d750 util.filters: New utility library for managing filters on an object 2010-06-02 12:20:29 +01:00