Thibault Jouan
cd06f99e9f
Fix initial events handling for mux worker
...
* Rename `before_wait' worker callback to `before_watch';
* Setup `before_watch' callback in the runner, handling events with the
manager;
* Test the mux worker with a cucumber scenario.
2015-04-24 19:53:08 +00:00
Thibault Jouan
6cfed91653
Test blocking worker (UAT)
2015-04-23 21:25:58 +00:00
Thibault Jouan
eaa1d279dc
Refactor Manager
2015-04-22 17:19:41 +00:00
Thibault Jouan
009d5dbedd
Handle and forward expose events to the layout
2015-04-22 09:55:25 +00:00
Thibault Jouan
accbebe97c
Test how the manager handles window changes
2015-04-22 08:14:45 +00:00
Thibault Jouan
95245e1178
Forward :change events to Layout#update in runner
2015-04-22 08:14:45 +00:00
Thibault Jouan
0601fe0560
Handle property_notify events in Manager#handle
2015-04-22 08:14:45 +00:00
Thibault Jouan
b1a601918e
Implement Manager#update_properties
2015-04-22 08:14:45 +00:00
Thibault Jouan
933bcdfcd8
Make the manager listen for changes on new window
...
When mapping a new window, listen for property notify events.
2015-04-22 08:14:45 +00:00
Thibault Jouan
03a6c323ac
Implement Client#update_window_properties
2015-04-22 08:14:45 +00:00
Thibault Jouan
b3a82fcf92
Fix how uh-wm is tested for readiness in UAT
2015-04-21 13:58:25 +00:00
Thibault Jouan
730527b836
Fix non-deterministic user acceptance tests
2015-04-21 13:46:54 +00:00
Thibault Jouan
cc66b6a760
Accept code as block in ActionsHandler#evaluate
2015-04-21 11:34:01 +00:00
Thibault Jouan
6346eb5ee6
Simplify cucumber X steps
2015-04-21 07:24:03 +00:00
Thibault Jouan
ad67456c52
Fix coding standards in UAT helpers
2015-04-21 06:07:47 +00:00
Thibault Jouan
3fd8658adf
Simplify cucumber steps (uhwm process)
2015-04-21 06:01:23 +00:00
Thibault Jouan
a4b6127ec8
Refactor cucumber steps (quitting uhwm)
2015-04-21 05:57:37 +00:00
Thibault Jouan
2cca771ad0
Bump minor version
2015-04-21 05:48:40 +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
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
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
f15fa116c9
Rename Manager#manage as Manager#map
2015-04-20 07:14:55 +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
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
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
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
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
a9466a49f0
Refactor env logging common usages with a module
2015-04-18 18:04:46 +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