224 Commits

Author SHA1 Message Date
Thibault Jouan
cc401c8733 Update documented usage 2015-04-21 05:04:17 +00:00
Thibault Jouan
04d999e1b0 Fix non-deterministic test in manager/unmanage 2015-04-21 03:41:14 +00:00
Thibault Jouan
3849471a1b Merge branch 'window-destroy-handling' 2015-04-21 02:26:45 +00:00
Thibault Jouan
29f2b4725d Test how manager should handle destroyed windows 2015-04-21 02:26:29 +00:00
Thibault Jouan
e97dcea87a Handle destroy_notify X events in manager 2015-04-21 02:26:29 +00:00
Thibault Jouan
31a326e7eb Implement Manager#destroy 2015-04-21 02:26:29 +00:00
Thibault Jouan
0423d6df9d Update uh dependency requirement to 2.0.0.pre2 2015-04-21 02:26:29 +00:00
Thibault Jouan
4c9342c2f2 Increase default wait timeout in UAT helpers 2015-04-21 02:22:25 +00:00
Thibault Jouan
42751993a2 Test manager client unmanagement with cucumber 2015-04-21 02:22:21 +00:00
Thibault Jouan
a15af6f0ab Merge branch 'window-unmap-handling'
Handle unmap notify event in the manager, generate :unmanage events
with the client, and forward them to the layout.
2015-04-20 10:24:51 +00:00
Thibault Jouan
a6edac962b Add layout client unmanagement feature 2015-04-20 10:24:39 +00:00
Thibault Jouan
38a90ab0af Register for layout unmanage handling in runner 2015-04-20 10:24:39 +00:00
Thibault Jouan
a052140921 Handle unmap_notify X events in Manager 2015-04-20 10:24:39 +00:00
Thibault Jouan
09d7b6ebb5 Implement Manager#unmap 2015-04-20 10:24:39 +00:00
Thibault Jouan
7722909c22 Allow Client unmap_count accessor to be set 2015-04-20 10:24:39 +00:00
Thibault Jouan
b156665236 Add #x_window_unmap to UAT helpers 2015-04-20 10:24:39 +00:00
Thibault Jouan
9a4f2727d2 Supports multiple clients in UAT helpers 2015-04-20 10:24:39 +00:00
Thibault Jouan
f2c97499ce Fix wording in Runner#register_event_hooks specs 2015-04-20 10:24:27 +00:00
Thibault Jouan
a7941d51cc Split Runner#register_event_hooks spec with context 2015-04-20 10:24:27 +00:00
Thibault Jouan
c71fed4108 Reorder Manager specs 2015-04-20 10:24:27 +00:00
Thibault Jouan
f15fa116c9 Rename Manager#manage as Manager#map 2015-04-20 07:14:55 +00:00
Thibault Jouan
d8994dc165 Fix wording in Manager specs 2015-04-20 07:14:45 +00:00
Thibault Jouan
77226594fa Merge branch 'configure-requests-handling'
Handle configure requests events: asks the layout to suggest a geo,
generates configure events for new windows, else just configure the
client if it is known, or return a default hard-coded geometry.
2015-04-20 05:50:05 +00:00
Thibault Jouan
30cb15b5d3 Register :configure event for layout in runner 2015-04-20 05:49:51 +00:00
Thibault Jouan
84d92798a0 Modify manager to handle configure request events 2015-04-20 05:49:51 +00:00
Thibault Jouan
1f7b2269c7 Implement Manager#configure 2015-04-20 05:49:51 +00:00
Thibault Jouan
7fc695f258 Implement Client#configure 2015-04-20 05:49:51 +00:00
Thibault Jouan
c69a600ca4 Return last hook return value in Dispatcher#emit 2015-04-20 05:49:51 +00:00
Thibault Jouan
7c440e28d2 Fix manager/manage feature 2015-04-20 05:49:33 +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
bdbeca399a Ensure only one client is managed for given window 2015-04-20 04:11:41 +00:00
Thibault Jouan
036ca1f989 Log X errors 2015-04-20 04:08:55 +00:00
Thibault Jouan
02861a63d4 Prevent manager from handling override_redirect windows 2015-04-19 04:35:37 +00:00
Thibault Jouan
c51d1525ee Delegates `layout_*' messages as Layout#handle_* 2015-04-19 02:13:26 +00:00
Thibault Jouan
d47e7de6d0 Log a message when `quit' action is invoked 2015-04-19 01:50:48 +00:00
Thibault Jouan
5e057ebab3 Fix default arguments in rake `run' task 2015-04-19 01:49:17 +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
231e72df42 Fix travis CI errors when before_install timeout 2015-04-18 20:27:08 +00:00
Thibault Jouan
26bac5aea9 Test that manager listen to appropriate events 2015-04-18 20:11:04 +00:00
Thibault Jouan
20cdec5fce Fix constant resolution in layout CLI option 2015-04-18 19:53:23 +00:00
Thibault Jouan
68cec67402 Fix uhwm_wait_output acceptance helper with strings 2015-04-18 19:52:43 +00:00
Thibault Jouan
78dffde6c9 Remove a comment left in cucumber steps 2015-04-18 19:42:03 +00:00
Thibault Jouan
82a4161cc2 Improve UAT on layout
* Move cucumber features regarding the layout protocol in
  layout/protocol;
* Add new cucumber features to test uh-layout integration in uh-wm, at
  least simple mapping and focus behavior;
* Add new acceptance testing helpers
2015-04-18 19:33:47 +00:00
Thibault Jouan
2894783b57 Configure travis CI to send email notifications 2015-04-18 18:05:04 +00:00
Thibault Jouan
a9466a49f0 Refactor env logging common usages with a module 2015-04-18 18:04:46 +00:00
Thibault Jouan
5a102e7739 Improve CLI usage cucumber feature
Change a step definition to communicate intent more clearly.
2015-04-18 17:19:15 +00:00
Thibault Jouan
6ce237f8f3 Rename cucumber feature for CLI require option 2015-04-18 17:19:11 +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