Michael Stapelberg
c62f70856f
Bugfix: Don’t crash when dock clients set the urgency hint (+testcase)
2011-05-11 22:45:20 +02:00
Michael Stapelberg
4da6fc7ba3
Bugfix: Restore border_style when restarting inplace (Thanks aniou)
...
Fixes #385 .
2011-05-11 20:45:56 +02:00
Michael Stapelberg
9c05c18156
ipc: change border_style to human-readable string instead of enum value
2011-05-11 20:39:18 +02:00
Michael Stapelberg
098fc06942
tests: add --coverage-testing option to complete-run.pl
2011-05-08 20:08:35 +02:00
Michael Stapelberg
4fc26e7de0
tests: make complete-run.pl scan tests for !NO_I3_INSTANCE!, simplify code
2011-04-26 19:20:29 +02:00
Michael Stapelberg
f67dd28cf0
tests: add testcase for the different socket path locations
2011-04-26 19:15:55 +02:00
Michael Stapelberg
9723366eff
tests: add testcase for WM_TAKE_FOCUS
...
requires the very latest checkout of X11::XCB
2011-03-19 02:21:46 +01:00
Michael Stapelberg
cdeb49127f
Bugfix: restore focus to the correct window when a non-focused window gets destroyed (+testcase)
2011-03-14 16:34:35 +01:00
Michael Stapelberg
2524b5262d
tests: clean up/beautify all tests (code style / test style)
2011-03-09 20:25:17 +01:00
Michael Stapelberg
57e7cc8f6a
tests: fix t/19-match.t, needs a delay for i3 to pick up the UnmapNotify event
2011-03-09 18:47:00 +01:00
Michael Stapelberg
86637d2e07
Bugfix: Make level up a noop during fullscreen mode (+testcase) (Thanks dothebart)
...
Fixes #341
2011-03-09 18:37:05 +01:00
Michael Stapelberg
0a24057241
When leaving fullscreen, set focus to con which was opened during fullscreen (+testcase) (Thanks dothebart)
2011-03-07 00:06:27 +01:00
Michael Stapelberg
4514146ed9
Use the combined geometry of children when setting a split container to floating (+testcase) (Thanks mseed)
...
Fixes #332
2011-03-06 02:39:15 +01:00
Michael Stapelberg
0a2ee1d2aa
Bugfix: Focus workspace after closing one of multiple dock clients (+testcase) (Thanks mseed)
2011-03-04 15:21:18 +01:00
Michael Stapelberg
caa1ac1a9f
Use the original geometry for floating windows
2011-03-03 16:22:22 +01:00
Michael Stapelberg
a038d2674b
Bugfix: 'level up' needs to stop at the workspace con + testcase (Thanks mseed)
2011-03-03 14:30:13 +01:00
Michael Stapelberg
33c2b4e582
Bugfix: Correctly fix the percent values for resizing when making a floating con tiling (Thanks mseed) (+testcase)
2011-02-28 23:59:56 +01:00
Michael Stapelberg
b595ff05c5
Fix regression: Don’t add floating nodes twice when restoring layout (+testcase)
2011-02-28 20:44:23 +01:00
Michael Stapelberg
db0d66e545
tests: extend t/10-dock.t for top/bottom positioned dock clients by position/hint
2011-02-21 14:55:03 +01:00
Michael Stapelberg
0f97b1fef6
tests: add test for dock client + restart
2011-02-21 12:21:02 +01:00
Michael Stapelberg
a678c16bc9
tests: fix t/16-nestedcons.t
2011-02-21 12:20:55 +01:00
Michael Stapelberg
95e8b1a467
tests: extend t/10-dock.t to make use of the tree
2011-02-21 00:23:25 +01:00
Michael Stapelberg
bafb065d7c
tests: don’t skip t/10-dock.t, make it work again
2011-02-20 23:50:01 +01:00
Michael Stapelberg
7f89c71689
Implement dock mode, update testsuite
...
Currently, dock clients are only possible at the top.
2011-02-20 23:43:03 +01:00
Michael Stapelberg
6a6746b967
revert the replacement of a single h/v-split with its child container
...
Makes more problems than it creates. Will use a different fix suggested by
Merovius.
2011-02-19 18:30:26 +01:00
Michael Stapelberg
26a416e016
refactor tree_move() into src/move.c, change config (!), change testcase
...
Due to lots of cases which were added and added to tree_move(), the function
was not really easy to understand. For this refactoring, I wrote tree_move()
from scratch, thinking about (hopefully) all cases. The testsuite still passes.
The move command also has different parameters now. Instead of the hard to
understand 'before v' stuff, we use 'move [left|right|up|down]'.
2011-02-14 23:05:20 +01:00
Michael Stapelberg
44ab15abf0
tests: add testcase for the focus when moving floating con to other ws problem
2011-02-01 18:18:25 +01:00
Michael Stapelberg
ed7bee72bd
tests: extend testcase to check for the last commit
2011-02-01 18:18:07 +01:00
Michael Stapelberg
dc6241456a
testcases: use the does_i3_live function
2011-01-28 01:21:38 +01:00
Michael Stapelberg
773bc5ba6d
fix typo in testcases/complete-run.pl
2011-01-28 01:18:30 +01:00
Michael Stapelberg
e2975d80e9
implement make clean in testcases/
2011-01-28 01:12:56 +01:00
Michael Stapelberg
2d82868a1a
tests: implement does_i3_live for regression tests
2011-01-28 01:10:45 +01:00
Michael Stapelberg
0e8fdab302
disable sighandler for testsuite runs
2011-01-28 00:48:22 +01:00
Michael Stapelberg
36e20a93a0
add a regression test for the floating move thing
2011-01-27 23:25:36 +01:00
Michael Stapelberg
b2ba02f801
add a testcase for correct floating con reattaching
2011-01-27 17:23:29 +01:00
Michael Stapelberg
1fecbb3e5a
Bugfix: also close empty split containers when the clients are moved away (Thanks mseed)
...
Also update the testcase (which used only 'kill' before).
2011-01-20 10:09:43 +01:00
Michael Stapelberg
115462f103
Implement tree flattening to automatically solve situations of redundant chains of split containers
...
This should fix the move problems. See comment of tree_flatten() for a little
example.
2011-01-07 22:21:41 +01:00
Michael Stapelberg
186d2c7bfa
ipc: change 'orientation' to human readable string instead of raw integer value
2011-01-07 20:48:01 +01:00
Michael Stapelberg
f65e4f5b16
Bugfix: Don’t redistribute resize percentage values when closing floating (!) windows (Thanks Merovius) (+testcase)
2010-12-30 02:39:14 +01:00
Michael Stapelberg
0f0d01336b
Bugfix: Correctly attach floating Cons to a different workspace, extend testcase
2010-11-29 20:39:56 +01:00
Michael Stapelberg
613866dbc0
tests: use cmd() in t/32-move-workspace.t
2010-11-29 20:24:13 +01:00
Michael Stapelberg
ad825913b4
Bugfix: Fix crash when moving a floating Con to a different workspace, add testcase (Thanks EelVex)
2010-11-29 20:20:44 +01:00
Michael Stapelberg
b0068de3d7
Bugfix: Transfer 'percent' factor when splitting, add testcase for resizing
2010-11-29 11:24:12 +01:00
Michael Stapelberg
a61480db99
tests: add cmd() function for typing less to get i3 to run a command
2010-11-29 11:21:33 +01:00
Michael Stapelberg
a0cd3c2bab
Include 'percent' in tree JSON, use C-locale when dumping, update testcase
2010-11-29 11:10:17 +01:00
Michael Stapelberg
178b28ed09
tests: mark t/10-dock.t as TODO, dock clients not implemented yet (makes all tests pass!)
2010-11-28 22:13:09 +01:00
Michael Stapelberg
b7e1ae13c5
tests: fix t/30-close-empty-split.t by properly creating a split con
2010-11-28 21:49:42 +01:00
Michael Stapelberg
47fe31f104
tests: fix t/31-stacking-order.t: don’t get focus on workspace level, use get_focused()
2010-11-28 21:28:44 +01:00
Michael Stapelberg
5872cbcba6
tests: fix t/29-focus-after-close.t to correctly open a split container
2010-11-28 21:16:58 +01:00
Michael Stapelberg
40365d347b
tests: fix t/27-regress-floating-parent.t (focus the other tiling client explictly)
2010-11-28 21:11:14 +01:00
Michael Stapelberg
a120a820d1
tests: update t/04-floating.t for new border styles
2010-11-28 20:23:17 +01:00
Michael Stapelberg
2dba7ec1ec
Bugfix for the last commit (broke some moving situations), update testcase
2010-11-28 20:15:47 +01:00
Michael Stapelberg
f55d5e12c9
tests: update t/16-nestedcons.t with new window_rect parameter
2010-11-28 17:29:44 +01:00
Michael Stapelberg
d0de3f403d
Bugfix: Restore focus after changing layout (Thanks fernandotcl)
2010-11-28 01:39:47 +01:00
Michael Stapelberg
1de97a1f1f
correctly sort numbered workspaces (+testcase)
...
Numbered workspaces (workspaces with a name containing only digits) will be
inserted in the correct order now. Named workspaces are always sorted after
numbered workspaces and in the order of creation.
2010-11-21 23:35:49 +01:00
Michael Stapelberg
4549effe15
perl: use get_tree instead of get_workspaces
2010-11-21 21:42:28 +01:00
Michael Stapelberg
09b5b17830
Bugfix: Don’t attach tiling containers to floating containers
...
This bug happened when there were only floating containers on a workspace and a
new tiling window was to be opened.
2010-11-21 16:49:59 +01:00
Michael Stapelberg
f53fafe100
ipc: s/floating-nodes/floating_nodes for consistency
2010-11-21 16:34:45 +01:00
Michael Stapelberg
fcd8518d81
floating-unmap.t: switch order, don’t use workaround
2010-11-20 20:18:00 +01:00
Michael Stapelberg
39fa1d724a
bugfix: don’t treat workspace as empty if they only have floating windows (+testcase)
2010-11-20 20:16:15 +01:00
Michael Stapelberg
db651679c5
Bugfix: Properly ignore UnmapNotify events (especially for floating windows)
...
This fixes the bug which caused floating windows to be visible even when
switching to a different workspace.
Instead of ignoring a specific sequence, we now set an ignore_unmap counter for
each container. (So, should containers be closed too early or stay open even if
they should be closed, we probably need to have a closer look at the counter.
At the moment, it is increased by one on reparenting and unmapping (for
workspace changes) and decremented by one on each UnmapNotify event).
This system is better because a sequence does not describe a single unmap or
reparent request but a request to X11 on the network layer -- which can contain
multiple requests.
2010-11-20 19:11:43 +01:00
Michael Stapelberg
a27af52706
fix floating focus behaviour, extend testcase
2010-11-14 22:35:44 +01:00
Michael Stapelberg
ffff4b159f
add testcase for focus problem when toggling floating/tiling mode
...
Test 3 does not yet pass.
2010-11-14 21:43:31 +01:00
Michael Stapelberg
510d1f78a1
modify t/04-floating.t to reflect the new way we are doing decorations
2010-11-14 16:42:13 +01:00
Michael Stapelberg
1a2134d4c3
add testcases/complete-run.pl, a script for conveniently running the testsuite (or parts of it)
2010-11-13 17:29:20 +01:00
Michael Stapelberg
dc10c67060
Bugfix: Close containers which are empty due to a move (Thanks fernando)
2010-11-13 14:55:11 +01:00
Michael Stapelberg
4aef09ab34
t/16-nestedcons.t: add 'border' key
2010-11-13 14:33:58 +01:00
Michael Stapelberg
432073dbe5
implement support for WM_TRANSIENT_FOR, expand testcase
2010-11-13 01:19:21 +01:00
Michael Stapelberg
8f7bd538d8
implement configure requests, adapt testcase
...
testcase does not pass 100% due to clients not being reparented correctly yet.
2010-11-12 21:41:10 +01:00
Michael Stapelberg
6c699801ab
bugfix: need to use window_type instead of type in t/04-floating.t
2010-11-12 20:36:37 +01:00
Michael Stapelberg
df2ded08d8
add testcase for invalid commands
2010-11-12 20:26:53 +01:00
Michael Stapelberg
e07fee4472
parser: don’t exit(1) on invalid command, use better error message
2010-11-12 20:22:55 +01:00
Michael Stapelberg
5c2758af26
Implement support for size hints (including test case)
2010-10-11 21:32:29 +02:00
Michael Stapelberg
27ffe9eae1
t/22-split: Bugfix: don’t declare old_count twice (Thanks Lourens)
2010-08-21 18:25:48 +02:00
Lourens Rozema
c780f5dd0b
Test 16 fixed expectation of the (root) focused field to exist in the tree and always be zero.
2010-08-21 18:24:21 +02:00
Michael Stapelberg
b572fea5c6
testcase: use open_empty_con in some more testcases
2010-07-17 15:52:22 +02:00
Michael Stapelberg
b4e3563dc1
t/29-focus-after-close.t: add more tests (for a regression)
2010-07-17 15:17:33 +02:00
Michael Stapelberg
55f695436a
testcases: Implement open_empty_con which directly returns the ID
2010-07-17 15:17:16 +02:00
Michael Stapelberg
21c45418b3
more explanation in t/29-focus-after-close.t
2010-07-17 13:37:21 +02:00
Michael Stapelberg
099df7f438
Bugfix: Keep focus on the current workspace when moving containers, add testcase
2010-07-17 13:27:34 +02:00
Michael Stapelberg
69e5c0f6ce
Treat stacking containers as if they are in vertical orientation, add testcase
2010-07-17 01:27:47 +02:00
Michael Stapelberg
09c6b587d3
close empty parent containers, add testcase
2010-07-17 00:54:47 +02:00
Michael Stapelberg
16f5c879f6
testcases: remove 'use v5.10' as this is automatically done in lib/i3test
2010-07-04 19:53:05 +02:00
Michael Stapelberg
b186446fb7
Bugfix: Correctly restore focus after close (and add testcase)
2010-07-04 19:50:44 +02:00
Michael Stapelberg
49ed703299
Bugfix: Insert new containers at the right position (and add testcase)
2010-07-03 17:42:36 +02:00
Michael Stapelberg
66fc795379
lib/i3test: use custom import() instead of Test::Kit to also import v5.10
2010-07-03 16:28:58 +02:00
Michael Stapelberg
f7842e4c71
t/18-openkill.t: search not focused container instead of using the first one
2010-07-03 15:29:44 +02:00
Michael Stapelberg
4eace6f886
Go down the tree when moving windows, add testcase for moving
2010-06-29 19:05:31 +02:00
Michael Stapelberg
285692c92c
Update testcases (and skip some tests for the moment)
2010-06-02 23:53:22 +02:00
Michael Stapelberg
6897e15e72
Implement mark/goto, modify testcase
2010-06-02 23:32:05 +02:00
Michael Stapelberg
32be3af109
Re-implement support for the urgency hint, extend t/13-urgent.t
...
The actual rendering will follow
2010-06-02 17:55:10 +02:00
Michael Stapelberg
03c8da0a74
t/lib/i3test.pm: refactor get_ws and get_ws_content using List::Util’s first
2010-06-02 17:50:06 +02:00
Michael Stapelberg
18f7e1ffd1
t/22: extend to verify that splitting in the same direction multiple times does not create new containers
2010-06-01 22:42:32 +02:00
Michael Stapelberg
249c3f58ab
t/21: formatting
2010-06-01 22:29:09 +02:00
Michael Stapelberg
3aa1801392
add testcase for crash on closing floating windows whose parent was killed
2010-06-01 20:52:59 +02:00
Michael Stapelberg
afa8be9547
lib/i3test: Implement get_focused
2010-06-01 20:52:22 +02:00
Michael Stapelberg
a25dc3e988
Implement focus command (and extend t/21-next-prev.t to test it)
2010-06-01 18:49:43 +02:00
Michael Stapelberg
de0c13ba78
Add testcase which ensures that floating windows can be closed
...
See last commit
2010-05-31 23:17:02 +02:00
Michael Stapelberg
6a1c34d2c5
Implement 'split'
2010-05-10 09:33:10 +02:00
Michael Stapelberg
145ebc7584
Implement 'prev', extend testcase
2010-05-10 09:08:31 +02:00