33 Commits

Author SHA1 Message Date
Thibault Jouan
30cb15b5d3 Register :configure event for layout in runner 2015-04-20 05:49:51 +00:00
Thibault Jouan
e9baae2962 Remove logging for worker read events 2015-04-20 05:37:08 +00:00
Thibault Jouan
ae2beeac20 Change wording in layout logging 2015-04-20 05:37:08 +00:00
Thibault Jouan
036ca1f989 Log X errors 2015-04-20 04:08:55 +00:00
Thibault Jouan
a9466a49f0 Refactor env logging common usages with a module 2015-04-18 18:04:46 +00:00
Thibault Jouan
9ea43ee69a Integrate blocking and multiplexing workers usage 2015-04-18 02:03:32 +00:00
Thibault Jouan
fa03cd736a Implement Runner#worker 2015-04-18 00:46:50 +00:00
Thibault Jouan
d6b23994e9 Add some logging in layout hooks 2015-04-16 21:33:12 +00:00
Thibault Jouan
d781a48837 Log X events received by the manager 2015-04-16 13:19:29 +00:00
Thibault Jouan
8bcb31ddc2 Forward :manage events to the Layout in Runner 2015-04-16 12:01:15 +00:00
Thibault Jouan
1575a2d369 Handle termination properly
* Tell the manager to close the display before terminating;
* Log about quit request and process termination.
2015-04-15 12:49:04 +00:00
Thibault Jouan
d3f1fe6d34 Refactor Runner#register_event_hooks 2015-04-15 12:05:33 +00:00
Thibault Jouan
e12510713c Fix coding standards 2015-04-15 12:05:28 +00:00
Thibault Jouan
6ac26c370e Implement `modifier' run control keyword 2015-04-15 09:31:32 +00:00
Thibault Jouan
49f85bee35 Implement `quit' action keyword 2015-04-15 04:20:26 +00:00
Thibault Jouan
9c9aa1dabb Configure upcased key as combination with shift mod 2015-04-15 01:09:18 +00:00
Thibault Jouan
2a1a1f1185 Register key bindings in the env with RunControl 2015-04-14 21:42:47 +00:00
Thibault Jouan
b1aa430ef3 Add a new class for run control file evaluation 2015-04-14 21:42:47 +00:00
Thibault Jouan
7493ab3284 Evaluate run control file when present 2015-04-14 02:28:33 +00:00
Thibault Jouan
b9b2bff853 Use Layout from uh-layout as default 2015-04-12 21:04:29 +00:00
Thibault Jouan
616b14eae2 Register layout event hooks 2015-04-12 21:04:29 +00:00
Thibault Jouan
a848e6b936 Instantiate and assign a Layout in the Runner 2015-04-12 21:04:29 +00:00
Thibault Jouan
59e9562279 Rename :display, :* events as :* 2015-04-10 07:53:45 +00:00
Thibault Jouan
d965fb2afd Handle Manager logging with events Dispatcher 2015-04-09 23:31:56 +00:00
Thibault Jouan
ceac19b346 Quit on `mod1+q' key binding
* Loop our runner until it is "stopped";
* Use the event dispatcher to stop the runner on `mod1+q' key press;
* Tell the manager to grab the `q' key.
2015-04-09 00:30:13 +00:00
Thibault Jouan
224ae6be5f Implement Runner#run_until 2015-04-09 00:30:13 +00:00
Thibault Jouan
498feb809e Instanciate Manager with a mandatory Dispatcher 2015-04-09 00:30:13 +00:00
Thibault Jouan
6b0676e547 Accept constructor options in Runner.run factory 2015-04-09 00:30:13 +00:00
Thibault Jouan
7c8b312084 Accept stopped status param in Runner constructor 2015-04-09 00:30:13 +00:00
Thibault Jouan
fd13accaf6 Assign a Dispatcher in new Runner instances 2015-04-09 00:30:13 +00:00
Thibault Jouan
b354ffcd62 Add stopped status notion in Runner 2015-04-09 00:30:12 +00:00
Thibault Jouan
44a69b75c6 Accept a Manager instance in Runner constructor 2015-04-09 00:30:12 +00:00
Thibault Jouan
ea0034fd7e Implement basic Runner 2015-04-09 00:30:12 +00:00