84 Commits

Author SHA1 Message Date
Thibault Jouan
c51d1525ee Delegates `layout_*' messages as Layout#handle_* 2015-04-19 02:13:26 +00:00
Thibault Jouan
5e18dbae95 Change default quit key binding to mod+shift+q 2015-04-19 01:28:03 +00:00
Thibault Jouan
6c7b01c9aa Accept modifier in `key' run control keyword 2015-04-19 01:12:35 +00:00
Thibault Jouan
7d011dad60 Improve CLI usage output
* Move -h option at tail;
* Add separator between standard and tail options.
2015-04-18 17:08:18 +00:00
Thibault Jouan
71caf160be Add version CLI option 2015-04-18 17:03:25 +00:00
Thibault Jouan
5ab463cde5 Allow worker configuration with run control file 2015-04-18 02:03:37 +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
887c66a6f7 Implement Manager#handle_next_event 2015-04-18 00:46:50 +00:00
Thibault Jouan
231e7cd67a Configure default worker settings 2015-04-18 00:46:50 +00:00
Thibault Jouan
0164b52465 Implement Manager#flush 2015-04-17 15:14:48 +00:00
Thibault Jouan
18667e2492 Implement Manager#to_io 2015-04-17 15:13:18 +00:00
Thibault Jouan
799cb3f5d9 Remove specs testing for log messages 2015-04-16 21:40:05 +00:00
Thibault Jouan
b4240a8b4f Implement Client#focus 2015-04-16 21:09:59 +00:00
Thibault Jouan
3cf62cc07d Implement Client#hide 2015-04-16 21:09:59 +00:00
Thibault Jouan
870e11a702 Implement Client#show 2015-04-16 21:09:59 +00:00
Thibault Jouan
15f966654b Implement client visibility state 2015-04-16 21:09:55 +00:00
Thibault Jouan
1a1f181313 Rename Client#wname as Client#name 2015-04-16 18:46:07 +00:00
Thibault Jouan
5351307cdc Implement Client#moveresize 2015-04-16 18:16:49 +00:00
Thibault Jouan
d781a48837 Log X events received by the manager 2015-04-16 13:19:29 +00:00
Thibault Jouan
a0dcca07f9 Register clients in manager on map requests 2015-04-16 12:01:15 +00:00
Thibault Jouan
6e90225c9d Add basic Client class 2015-04-16 12:01:15 +00:00
Thibault Jouan
8bcb31ddc2 Forward :manage events to the Layout in Runner 2015-04-16 12:01:15 +00:00
Thibault Jouan
4e65d46730 Handle map_request events in the Manager 2015-04-16 12:01:15 +00:00
Thibault Jouan
3f39b90269 Listen events for window management in Manager 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
6ac26c370e Implement `modifier' run control keyword 2015-04-15 09:31:32 +00:00
Thibault Jouan
620150b6d8 Remove context for constructor specs 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
0a83563cad Improve error reporting on run control evaluation 2015-04-15 04:13:24 +00:00
Thibault Jouan
9c9aa1dabb Configure upcased key as combination with shift mod 2015-04-15 01:09:18 +00:00
Thibault Jouan
56197c85f8 Translate common key names in `key' RC keyword 2015-04-14 22:14:10 +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
66c1b78740 Fix a description in Manager#handle specs 2015-04-14 21:42:33 +00:00
Thibault Jouan
e81cf3a52f Clean up tests
* Remove deprecated tags;
* Improve scenarios, steps and specs descriptions.
2015-04-14 02:59:48 +00:00
Thibault Jouan
62c824cd7d Specify alternate run control file path from CLI 2015-04-14 02:28:37 +00:00
Thibault Jouan
7493ab3284 Evaluate run control file when present 2015-04-14 02:28:33 +00:00
Thibault Jouan
d6ae5d9446 Add rspec helpers for filesystem 2015-04-14 02:07:57 +00:00
Thibault Jouan
e9de59b37b Manage run control file path in Env 2015-04-14 02:03:59 +00:00
Thibault Jouan
6cafd2ea37 Remove Runner.run factory specs 2015-04-14 02:02:43 +00:00
Thibault Jouan
10591d0646 Fail when another window manager is already running 2015-04-13 01:29:35 +00:00
Thibault Jouan
c3e1f9639a Handle and format Uh::WM::RuntimeError in CLI.run 2015-04-13 01:29:04 +00:00
Thibault Jouan
34d84ad111 Configure rspec to run :xvfb examples with Xvfb 2015-04-13 01:29:04 +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
b65e989c38 Accept -l LAYOUT CLI option to set the layout 2015-04-12 21:04:29 +00:00
Thibault Jouan
c9e6d1807b Fix X display handling in rspec test suite
* Hide any available X display from test suite context;
* Ensure the manager never connect or block.
2015-04-10 10:16:30 +00:00
Thibault Jouan
59e9562279 Rename :display, :* events as :* 2015-04-10 07:53:45 +00:00