Commit Graph

123 Commits

Author SHA1 Message Date
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
Michael Stapelberg d8307f4b4a implement 'next' in the new command parser (testcase unfinished) 2010-05-10 00:06:24 +02:00
Michael Stapelberg 65e9036837 bugfix: don’t clean up workspace when switching to the same workspace 2010-05-09 23:20:49 +02:00
Michael Stapelberg 206e1ed041 less boilerplate by using Test::Kit and -It/lib in Makefile 2010-04-17 22:49:26 +02:00
Michael Stapelberg a2e3bb1cdd make testcases use AnyEvent::I3 2010-04-17 22:40:01 +02:00
Michael Stapelberg fdd44dcada make the fullscreen testcase test the 'fullscreen' command, too 2010-04-17 19:29:27 +02:00
Michael Stapelberg b244ce3915 extend fullscreen testcase 2010-04-17 17:40:19 +02:00
Michael Stapelberg 1b4bd96ea9 extend t/02-fullscreen.t 2010-04-17 13:53:41 +02:00
Michael Stapelberg 9488e3d249 add testcase for multiple commands (and whitespace variations) 2010-04-17 12:58:36 +02:00
Michael Stapelberg 50d590df28 add test for the match functionality in the new parser 2010-04-16 23:04:42 +02:00
Michael Stapelberg f48cc9ee21 update t/16* for data structure 2010-04-16 21:01:08 +02:00
Michael Stapelberg 93600ce0fd implement con_id for matching containers, extend testcase 2010-04-16 15:30:07 +02:00
Michael Stapelberg caa1e9a962 move common functions to i3test, export them, bail out if workspace creation fails 2010-04-16 15:03:27 +02:00
Michael Stapelberg 64d34d7e70 add testcase for opening/killing containers 2010-04-16 14:52:31 +02:00
Michael Stapelberg d94bef2ebb retab! 2010-04-16 14:34:12 +02:00
Michael Stapelberg 9b737f631d add testcase for changing workspaces 2010-04-16 14:24:29 +02:00
Michael Stapelberg c145f7e529 first step of the big refactoring ("tree" branch).
From here on, we can track changes. It made no sense to put the
development up to this point into git.
2010-04-13 13:17:39 +02:00
Michael Stapelberg 93a9f3c244 Bugfix: Don’t mess up x/y coordinates in configurerequests for floating windows
This was the cause for ticket #93, which actually has a false
conclusion for the reason of this bug.

This code needs to be refactored.
2010-03-11 23:34:29 +01:00
Michael Stapelberg 9a9ba1b859 ipc: implement GET_WORKSPACES message type
This is the foundation to use dzen2 or similar as a complete
replacement for the internal workspaces bar.

A testcase is included, more documentation about the IPC interface
will follow.
2010-03-11 15:58:39 +01:00
Michael Stapelberg f7c8e76782 Select containers above or near the whole snapped width/height
This fixes ticket #100, and is best explained using a little example.
Consider the following layout:

+---+---+
|   | X |
+---+---+
|   X   |
+---+---+

Where X marks a window, so you have an empty container in the upper
left, the container on the bottom is snapped to the right. Before
this commit, nothing would happen when focusing "above". After
this commit, the upper window gets focused.
2010-03-11 00:15:34 +01:00
Michael Stapelberg 7a9755ad91 Add testcase for the last commit 2010-03-05 19:53:33 +01:00
Michael Stapelberg 8a9b57c874 Extend testcase for dock clients with wm_transient_for hint 2010-01-01 16:19:55 +01:00
Michael Stapelberg 245e29ef95 Expand testcase for urgency hint 2009-11-20 15:56:18 +01:00
Michael Stapelberg ff3809f388 Add testcase for resizing of floating windows 2009-11-18 22:52:34 +01:00
Michael Stapelberg 0610c028d6 Add testcase for the urgency hint
Needs latest X11::XCB from git
2009-11-18 20:39:53 +01:00
Michael Stapelberg f9d155341e Change testcases to work with the released version of X11::XCB 2009-10-26 20:04:37 +01:00
Michael Stapelberg 87ced0438a Add testcase for the mark/goto command 2009-10-07 21:50:23 +02:00
Michael Stapelberg cf17e73293 Add a new test for moving clients to different workspaces (tiling and floating) 2009-10-01 17:18:11 +02:00
Michael Stapelberg f5c0bfd181 More tests 2009-08-22 07:53:34 +02:00
Michael Stapelberg 32532792cd tests: Use hex color codes for background_color 2009-08-21 16:06:12 +02:00
Michael Stapelberg 4a83bd26f8 Implement tests in t/10-dock.t 2009-08-21 15:01:20 +02:00
Michael Stapelberg 01f06f11ba Use ArrayRefs instead of Rects where possible, add t/10-dock.t 2009-08-21 12:32:54 +02:00
Michael Stapelberg a1e9f75fe5 Expand fullscreen test to setting the hint before mapping the window 2009-08-21 12:15:53 +02:00
Michael Stapelberg 992c531c4c Switch to default mode before running the test 2009-08-06 00:16:26 +02:00
Michael Stapelberg bc4c321c1b Add testcase to test stacking mode for containers 2009-08-06 00:03:31 +02:00
Michael Stapelberg aaca2346d8 Add testcase for checking if the focus stack is correct when mapping/unmapping floating clients 2009-08-05 21:54:24 +02:00
Michael Stapelberg d9f8e2fa98 Add test for moving windows 2009-08-05 21:47:43 +02:00
Michael Stapelberg 0f414f8ade Add testcases for IPC and basic focus switching 2009-08-05 21:37:11 +02:00
Michael Stapelberg 6e77e9d3f2 Add testcase for floating windows, add sleep to 01-tile.t 2009-08-05 20:47:10 +02:00
Michael Stapelberg 730508057c use sleep with fractions, not usleep 2009-07-23 01:14:36 +02:00
Michael Stapelberg dba1612655 Add test case for unmanaged windows (override_redirect => 1) 2009-07-16 14:29:18 +02:00
Michael Stapelberg 47041bdd73 Add testcases :-) 2009-07-16 13:43:43 +02:00