Commit Graph

18 Commits

Author SHA1 Message Date
Stephen Boddy da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Chris Jones 6a4e47090b Automatically inject a UUID into any factory object, rather than special-casing terminals. This will be very useful for introspection via dbus 2012-10-18 11:39:28 -07:00
Stephen Boddy 03791c753b Swap order of imports to avoid needlessly throwing ImportError all the time, and cache as much as we can (imported classes, keys) 2011-02-17 02:28:38 +01:00
Chris Jones 678057a0d3 First run at layout loading, creating, enumerating and saving. It sucks and works poorly at the moment, but here it is 2010-02-01 12:11:44 +00:00
Chris Jones 62c0cef759 Remove an unused variable 2010-01-22 18:57:31 +00:00
Chris Jones 32a3933b6c Add some basic test coverage of factory.py 2010-01-14 23:40:02 +00:00
Chris Jones 58fd86486d Switch to using **kwargs instead of *args for the added flexibility it brings. We need to support keyword arguments for Window.__init__() 2010-01-05 12:49:04 +00:00
Chris Jones 42e022a938 Make the factory uglier, but better able to handle not running from inside the library, and make the plugins import from the library. These changes make it possible to run epicrefactor from outside itself, which is necessary to make the top level terminator script work with it 2010-01-04 13:46:55 +00:00
Chris Jones be224f3016 Undo previous change that had Factory registering windows and terminals. Instead make them self-register since they already have a Terminator reference anyway. Remove calls to register_terminla from elsewhere. 2010-01-04 13:11:16 +00:00
Chris Jones 995aa99b2e Teach Factory how to make a Window, and have it register terminals windows automagically 2010-01-04 13:04:46 +00:00
Chris Jones 2c8e2d14e4 port to new borg __init__() 2009-12-22 00:25:05 +00:00
Chris Jones 602c6a3b57 Make title changes propagate better, albeit not perfectly yet 2009-12-10 13:20:03 +00:00
Chris Jones 7ed5a573d5 at the suggestion of pylint, refactor Factory::isinstance() to be more succinct 2009-12-09 13:22:27 +00:00
Chris Jones 2db2e0f75e Beginnings of making the tab close button work, only handles the simplest case so far 2009-12-08 09:10:39 +00:00
Chris Jones 2a76382e47 migrate to using the factory and extend it to have an isinstance() 2009-11-25 00:37:29 +00:00
Chris Jones 0447c8f6f2 quiesce pylint 2009-11-24 23:49:03 +00:00
Chris Jones f8ab3d8308 remove testing 2009-11-24 23:47:44 +00:00
Chris Jones 2dd44ddc8a Add an object factory to get us out of our dependency hell 2009-11-24 23:47:32 +00:00