133 Commits

Author SHA1 Message Date
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
078254ae6d Simplify and refactor uhwm_wait_output helper 2015-04-16 18:02:13 +00:00
Thibault Jouan
c7f3743949 Configure uhwm_wait_output test helper via the env
The `timeout' keyword argument was never used, replace it with a test
for UHWMTEST_OUTPUT_TIMEOUT environment variable and use the value when
set.
2015-04-16 17:31:56 +00:00
Thibault Jouan
1e1645107c Implement `execute' action keyword 2015-04-16 17:12:00 +00:00
Thibault Jouan
43e90dafce Add Env#log_error to log messages at ERROR level 2015-04-16 17:11:21 +00:00
Thibault Jouan
1903ba166b Use uh to fake windows in cucumber test suite 2015-04-16 16:13:54 +00:00
Thibault Jouan
d781a48837 Log X events received by the manager 2015-04-16 13:19:29 +00:00
Thibault Jouan
6ad1735775 Add Client#geo= attribute accessor 2015-04-16 13:18:28 +00:00
Thibault Jouan
360b1583bf Fix AcceptanceHelpers#with_other_wm 2015-04-16 12:27:21 +00:00
Thibault Jouan
36e105bb42 Ensure test windows are closed after cucumber run 2015-04-16 12:26:29 +00:00
Thibault Jouan
0a8a6bc5fb Refactor Manager#handle 2015-04-16 12:10:49 +00:00
Thibault Jouan
d46a332218 Extract code from Manager#connect as private method 2015-04-16 12:05:51 +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
fe47e27d98 Prototype clients management with windows 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
d501bb9b35 Accept options in uhwm_run_wait_ready UAT helper 2015-04-15 17:54:19 +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
712dde4718 Freeze Env::LOGGER_LEVEL_STRINGS 2015-04-15 11:52:08 +00:00
Thibault Jouan
57a7e104ce Extract default env key bindings in a constant 2015-04-15 09:34:30 +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
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
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
e9de59b37b Manage run control file path in Env 2015-04-14 02:03:59 +00:00
Thibault Jouan
5e80648525 Fix error message in uhwm_wait_output UAT helper 2015-04-14 01:41:05 +00:00
Thibault Jouan
8a97f3c8b8 Move OtherWMRunningError message in the class 2015-04-13 21:39:01 +00:00
Thibault Jouan
53d83d5f08 Extract user acceptance test helpers in a module 2015-04-13 01:56:08 +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
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
59e9562279 Rename :display, :* events as :* 2015-04-10 07:53:45 +00:00
Thibault Jouan
791c159d7a Implement ruby feature loading (-r CLI option) 2015-04-10 07:14:41 +00:00
Thibault Jouan
d965fb2afd Handle Manager logging with events Dispatcher 2015-04-09 23:31:56 +00:00
Thibault Jouan
7b9854b499 Support event hook arguments in Dispatcher 2015-04-09 23:31:13 +00:00
Thibault Jouan
520a0c87c9 Implement Env#log_debug 2015-04-09 23:11:52 +00:00
Thibault Jouan
7636e646f2 Fix coding standards (indent align in Env) 2015-04-09 23:11:24 +00:00