| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | - apply an import refactoring to the ORM as well | Mike Bayer | 2013-08-14 | 3 | -21/+44 |
| | | | | | | | | | | - rework the event system so that event modules load after their targets, dependencies are reversed - create an improved strategy lookup system for the ORM - rework the ORM to have very few import cycles - move out "importlater" to just util.dependency - other tricks to cross-populate modules in as clear a way as possible | ||||
| * | fix missing comma | Mike Bayer | 2013-07-31 | 1 | -1/+1 |
| | | |||||
| * | - this collection can be None on cleanup, so check for that | Mike Bayer | 2013-07-27 | 1 | -1/+1 |
| | | |||||
| * | - add event.contains() function to the event package, returns True | Mike Bayer | 2013-07-26 | 3 | -17/+23 |
| | | | | | | if the given target/event/fn is set up to listen. - repair mutable package which is doing some conditional event listening | ||||
| * | - Removal of event listeners is now implemented. The feature is | Mike Bayer | 2013-07-26 | 6 | -0/+1034 |
| provided via the :func:`.event.remove` function. [ticket:2268] - reorganization of event.py module into a package; with the addition of the docstring work as well as the new registry for removal, there's a lot more code now. the package separates concerns and provides a top-level doc for each subsection of functionality - the remove feature works by providing the EventKey object which associates the user-provided arguments to listen() with a global, weak-referencing registry. This registry stores a collection of _ListenerCollection and _DispatchDescriptor objects associated with each set of arguments, as well as the wrapped function which was applied to that collection. The EventKey can then be recreated for a removal, all the _ListenerCollection and _DispatchDescriptor objects are located, and the correct wrapped function is removed from each one. | |||||
