Michael Stapelberg
57438d270d
append_layout: load floating containers correctly
...
fixes #1739
fixes #1271
2015-08-05 22:40:58 +02:00
Michael Stapelberg
21d4b2319f
Properly clear the urgency hint when set by i3.
...
fixes #1825
2015-08-02 20:50:14 +02:00
hwangcc23
fc1477dfb5
Support config file line continuation
...
1. Allow to use the line continuation, which is indicated by \ before the new line character, in config files.
2. Add a new testcase "247-config-line-continuation.t" for
a). testing line continuation
b). making sure string escaping still works
c). testing line continuations within a string
b). testing line continuations with too many lines
2015-07-26 07:54:06 +08:00
Ingo Bürk
be406d036d
Implement new criterion 'workspace'.
...
If the match expression is a plain number (e.g., '99'), the number of a workspace will be compared strictly. Otherwise, the match expression is taken as a regular expression and compared against the workspace's name.
This allows all of the following:
for_window [workspace=5] ...
for_window [workspace="5:foo"] ...
for_window [workspace="foo"] ...
fixes #1769
2015-06-30 20:53:52 +02:00
Michael Stapelberg
8df7e4ecb9
Merge pull request #1747 from Airblader/feature-1723
...
Implement "title_format"
2015-06-29 00:24:59 -07:00
Ingo Bürk
55e8d06ee4
Added command directive 'title_format'.
...
This directive will be used to customize the window title.
2015-06-29 09:13:31 +02:00
Michael Hofmann
bad4203755
Configurable tray padding.
2015-06-28 00:14:37 +02:00
Michael Stapelberg
696d844ffa
Merge pull request #1697 from Airblader/feature-1695
...
Extend mouse commands on i3bar
2015-06-18 20:50:56 +02:00
Ingo Bürk
618b6744d5
Added testcase for #1695 .
2015-06-18 19:28:24 +02:00
Michael Stapelberg
4d25d6a5a6
Merge pull request #1752 from Airblader/feature-test-cleanups-1
...
Silence "masks earlier declaration in same scope" warnings
2015-06-13 14:39:19 +02:00
Ingo Bürk
73a84886d1
Silence "masks earlier declaration in same scope" warnings when executing tests.
2015-06-12 18:19:43 +02:00
Ingo Bürk
9571200baa
Remove dead documentation for non-existing feature "stack-limit".
2015-06-09 23:13:15 +02:00
Ingo Bürk
2b6f76852c
Implement i3's logic for maintaining a list of 'bindsym' directives and passing it to i3bar through the IPC.
2015-06-05 12:30:53 +02:00
Ingo Bürk
ab12d3fc74
Add new command skeleton 'bindsym <button> <command>' for 'bar' block.
2015-06-05 12:30:53 +02:00
Michael Stapelberg
6b505d8aca
Merge pull request #1733 from Airblader/feature-1732
...
Added a separate color directive for the binding mode indicator
2015-06-02 08:35:14 +02:00
Ingo Bürk
9b691bcca2
Introduce a config directive 'binding_mode' in the 'bar' config, pass it through the IPC and parse it in i3bar.
2015-05-31 16:49:09 +02:00
Ingo Bürk
1454975981
Added a testcases for #1056 to test whether hovering over a window decoration causes the corresponding window to be
...
focused.
2015-05-29 23:49:22 +02:00
Michael Stapelberg
da064cc08f
Merge pull request #1698 from Airblader/feature-1696
...
Added 'move position mouse'
2015-05-17 15:02:50 +02:00
Ingo Bürk
fbbe9cf2e8
Added testcases for 'move position mouse'
2015-05-14 13:04:58 -04:00
Michael Stapelberg
66a1fa7d46
Merge pull request #1638 from hwangcc23/fix-1489
...
Add a timeout: delay_exit_on_zero_displays
2015-05-05 00:43:43 -07:00
Deiz
f0f906a52e
Initialize workspace rect to the output's upon creation
...
The comment immediately following implied that this was the intended
behaviour. Not doing so means that compound commands that both move a
window to a new workspace as well as do something that depends on the
workspace's geometry (e.g. 'move position center' or 'floating enable'
on a tiled window) would use the workspace's calloc'd 0x0+0x0 geometry.
2015-04-28 15:09:58 -04:00
Tony Crisci
6cbe349774
Ignore InputHint when not in WM_HINTS
...
When InputHint is not in WM_HINTS (i.e., the flag is not set), treat the window
as if the InputHint was set (the default behavior). This means that i3 will
focus the window when it becomes managed.
fixes #1676
2015-04-25 22:43:46 -04:00
Ingo Bürk
cd0cf9d651
Added testcases for setting _NET_WM_STATE_HIDDEN on unfocused containers in tabbed/stacked containers.
2015-04-21 09:14:22 +02:00
Michael Stapelberg
67ec2333ee
Merge pull request #1665 from Airblader/feature-1658
...
Added criterion 'window_type'
2015-04-21 08:42:16 +02:00
Deiz
884214f14f
Update copyright notices and get rid of ranges
...
The script used to make these changes can be found at:
https://gist.github.com/Deiz/32322020f76d23e2bf8f
2015-04-20 17:50:21 -04:00
Ingo Bürk
e4a86d4aef
Cleanup: delete comments that were accidentally copy-pasted and are incorrect for these test cases
2015-04-20 19:27:43 +02:00
Ingo Bürk
09d1deda7f
Small cleanups:
...
* Implement criterion specs just like it is done in the spec for the config
* Declare variables in test case early so the 'my' keyword can be dropped in the actual test cases
2015-04-20 19:27:43 +02:00
Ingo Bürk
761a8713df
Added testcase for 'window_type' criterion when used as a command.
2015-04-20 19:27:43 +02:00
Ingo Bürk
18c45a7f09
Added testcase for changing _NET_WM_WINDOW_TYPE after the window is already managed.
2015-04-20 19:27:43 +02:00
Ingo Bürk
a59fe0d3d2
Added test case for transfer of urgency flag when moving a window to a mark.
2015-04-19 20:57:49 +02:00
Ingo Bürk
dc19ff9ec5
fix commands parser test
2015-04-19 20:57:49 +02:00
Ingo Bürk
fbebd3479b
Added testcase for moving a window to a workspace holding the mark
2015-04-19 20:57:49 +02:00
Ingo Bürk
283b231290
Disallow moving a container to itself since this would crash i3.
2015-04-19 20:57:49 +02:00
Ingo Bürk
05e8caab17
Added testcases for 'move window|container to mark <str>'
...
fixes #1643
2015-04-19 20:57:49 +02:00
Michael Stapelberg
8a608ee63a
Merge pull request #1632 from Deiz/binding-border
...
Add a --border flag to enable mouse binds to trigger on border click
2015-04-19 09:28:08 -07:00
Ingo Bürk
7e424b2d71
Added testcase for criterion 'window_type'.
2015-04-19 14:08:39 +02:00
Michael Stapelberg
4958ca00ab
Merge pull request #1654 from Deiz/complete-run-chdir
...
Allow complete-run.pl to be run from any directory
2015-04-12 10:46:54 -07:00
Deiz
e2e949f331
Allow complete-run.pl to be run from any directory
2015-04-12 13:21:20 -04:00
Nikita Mikhailov
2a4524a1e1
Bump testsuite dependencies versions
2015-04-11 21:24:01 +06:00
hwangcc
2c77d7ceed
Add a timeout: delay_exit_on_zero_displays
...
Outputs may disappear momentarily and come back later.
To prevent i3 from exit when no output is available momentarily, add a timeout delay_exit_on_zero_displays.
2015-04-11 22:13:10 +08:00
Deiz
547157d19b
Add test cases for --border
2015-04-02 16:46:42 -04:00
Deiz
ce48d5c5d7
Add a --border flag to enable mouse binds to trigger on border click
2015-04-02 16:24:05 -04:00
Ingo Bürk
42a666be3c
Added testcases for --whole-window in a binding inside a mode ( #1629 )
2015-04-02 11:17:29 +02:00
Michael Stapelberg
15d516f58c
Merge pull request #1628 from acrisci/feature/complete-run-coverage
...
complete-run: add coverage report generation
2015-04-02 00:33:05 -07:00
Tony Crisci
d2d72acac4
complete-run: add coverage report generation
...
When `complete-run.pl` is given `--coverage-testing`, try to generate an
html coverage testing report for the run. This requires i3 to be
compiled with coverage testing support.
2015-04-01 15:10:27 -04:00
Ingo Bürk
18d6b24f8d
Added testcase for the no_focus directive ( #1416 )
2015-04-01 20:46:56 +02:00
Ingo Bürk
b5f7c132fc
Added config directive 'no_focus <criteria>' ( #1416 )
2015-04-01 20:46:56 +02:00
Ingo Bürk
43204b43fd
Added a testcase for #1614
2015-04-01 13:51:48 +02:00
Michael Stapelberg
3b81e40096
Merge pull request #1618 from Deiz/fix-1603
...
Allow single-child non-default layout cons to be moved between outputs
2015-04-01 09:08:22 +02:00
Deiz
4e88c10564
Allow single-child non-default layout cons to be moved between outputs
...
Includes a test case to verify the behaviour of 'move <direction>'.
Fixes #1603 .
2015-03-31 13:58:29 -04:00