]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Tue, 9 Jun 2015 21:12:17 +0000 (23:12 +0200)]
Merge pull request #1743 from Airblader/bug-1742
Remove redundant and broken check for '\0'.
Ingo Bürk [Tue, 9 Jun 2015 20:14:56 +0000 (22:14 +0200)]
Remove redundant and broken check for '\0'.
fixes #1742
Michael Stapelberg [Sun, 7 Jun 2015 18:46:16 +0000 (20:46 +0200)]
Merge pull request #1731 from Airblader/feature-indicator-pango
Allow pango markup for the binding indicator.
Michael Stapelberg [Fri, 5 Jun 2015 10:16:47 +0000 (12:16 +0200)]
Merge pull request #1737 from Airblader/feature-xdotool-on-travis
Install xdotool to run tests requiring it on Travis.
Ingo Bürk [Thu, 4 Jun 2015 15:05:53 +0000 (17:05 +0200)]
Install xdotool to run tests requiring it on Travis.
Michael Stapelberg [Tue, 2 Jun 2015 20:25:27 +0000 (22:25 +0200)]
Merge pull request #1735 from shdown/strdup
i3bar: fix freeing static strings
shdown [Tue, 2 Jun 2015 20:08:08 +0000 (23:08 +0300)]
i3bar: fix freeing static strings
name and color fields of blocks are freed in clear_statusline, so they
need to be strdup'ed.
Michael Stapelberg [Tue, 2 Jun 2015 06:35:14 +0000 (08:35 +0200)]
Merge pull request #1733 from Airblader/feature-1732
Added a separate color directive for the binding mode indicator
Michael Stapelberg [Tue, 2 Jun 2015 06:33:41 +0000 (08:33 +0200)]
Merge pull request #1734 from Airblader/bug-1538-1
Fix warning about potentially uninitialized variable.
Ingo Bürk [Mon, 1 Jun 2015 15:10:10 +0000 (17:10 +0200)]
Fix warning about potentially uninitialized variable.
Ingo Bürk [Sun, 31 May 2015 14:27:58 +0000 (16:27 +0200)]
Use the introduced binding_mode_* colors to draw the binding mode.
fixes #1732
Ingo Bürk [Sun, 31 May 2015 14:07:40 +0000 (16:07 +0200)]
Added the 'binding_mode' color directive to the documentation.
Ingo Bürk [Sun, 31 May 2015 14:07:23 +0000 (16:07 +0200)]
Introduce a config directive 'binding_mode' in the 'bar' config, pass it through the IPC and parse it in i3bar.
Michael Stapelberg [Sun, 31 May 2015 14:13:51 +0000 (16:13 +0200)]
Merge pull request #1725 from Airblader/bug-1056
Allow window decoration to change focus
Ingo Bürk [Sun, 31 May 2015 10:35:47 +0000 (12:35 +0200)]
Allow pango markup for the binding indicator.
Ingo Bürk [Fri, 29 May 2015 18:28:35 +0000 (20:28 +0200)]
Use XCB_NONE instead of hard-coded 0.
Ingo Bürk [Fri, 29 May 2015 18:28:24 +0000 (20:28 +0200)]
Allow hovering over the window decoration to change the focus if the parent container is split horizontally or vertically.
fixes #1056
Ingo Bürk [Fri, 29 May 2015 21:49:22 +0000 (23:49 +0200)]
Added a testcases for #1056 to test whether hovering over a window decoration causes the corresponding window to be
focused.
Michael Stapelberg [Wed, 27 May 2015 17:27:56 +0000 (19:27 +0200)]
Merge pull request #1722 from Airblader/bug-1701
Grab all buttons when managing a window
Ingo Bürk [Tue, 26 May 2015 14:57:25 +0000 (16:57 +0200)]
Improve logging of button events.
Ingo Bürk [Tue, 26 May 2015 14:56:00 +0000 (16:56 +0200)]
Grab all buttons when managing a window to also allow 'bindsym --whole-window button4 …' to work correctly.
fixes #1701
Michael Stapelberg [Sun, 24 May 2015 23:05:08 +0000 (01:05 +0200)]
docs/ipc: add veelenga/i3ipc-ruby
Michael Stapelberg [Sun, 24 May 2015 22:51:41 +0000 (00:51 +0200)]
Merge pull request #1714 from Airblader/feature-docs-6
Fixed syntax for tray_output in userguide
Michael Stapelberg [Sat, 23 May 2015 11:33:33 +0000 (13:33 +0200)]
Merge pull request #1716 from botovq/next
mkdirp: do not throw an error if directory exists
Theo Buehler [Sat, 23 May 2015 11:12:18 +0000 (13:12 +0200)]
mkdirp: do not throw an error if directory exists
If I restart i3 4.10.2 twice, e.g. with
$ i3-msg restart; sleep 3; i3-msg restart
the second time I get the following two errors:
05/22/15 10:46:03 - ERROR: mkdir(/tmp/i3-theo.toAK7N) failed: File exists
05/22/15 10:46:03 - ERROR: Could not create "/tmp/i3-theo.toAK7N" for storing the restart layout, layout will be lost.
The first one is from mkdirp() in src/ipc.c and the second one is from
store_restart_layout() in src/util.c.
Notice that I do _not_ get the ``open()'' or ``Could not write restart layout to
...'' error messages, so the layout writing code after line 260 in
store_restart_layout() succeeded and the layout isn't actually lost. Thus,
these error messages are a bit misleading, especially the second one (which is
triggered by the failure of mkdirp()).
POSIX says about `mkdir -p':
``Each dir operand that names an existing directory shall be ignored without
error.''
Therefore, I suggest the following simple patch that makes mkdirp() succeed if
the named file exists and actually is a directory. This silences the second
error as well.
Ingo Bürk [Sat, 23 May 2015 02:07:43 +0000 (22:07 -0400)]
Fixed syntax for tray_output in userguide.
Michael Stapelberg [Mon, 18 May 2015 19:46:47 +0000 (21:46 +0200)]
Merge pull request #1706 from Airblader/feature-docs-5
Made syntax of syntax descriptions consistent:
Ingo Bürk [Tue, 12 May 2015 22:07:01 +0000 (18:07 -0400)]
Made syntax of syntax descriptions consistent:
* <xyz> denotes that some string must be used which is not a fixed value (e.g., a command), but a variable string (text, a number, ...)
* [xyz] denotes that the parameter is optional
* abc|xyz denotes that either abc or xyz must be given
Michael Stapelberg [Sun, 17 May 2015 13:02:50 +0000 (15:02 +0200)]
Merge pull request #1698 from Airblader/feature-1696
Added 'move position mouse'
Ingo Bürk [Thu, 14 May 2015 17:07:56 +0000 (13:07 -0400)]
Protect "move position mouse" against a NULL access.
This could happen if two outputs are set up to have a gap in between them and the mouse cursor
being in said gap when the command is triggered.
Ingo Bürk [Sun, 3 May 2015 14:19:23 +0000 (16:19 +0200)]
Added testcases for 'move position mouse'
Michael Stapelberg [Wed, 13 May 2015 06:35:06 +0000 (08:35 +0200)]
Merge pull request #1704 from acrisci/bug/cmd-detect-base-16
Detect base 16 in cmd criteria
Ingo Bürk [Sun, 3 May 2015 12:59:30 +0000 (14:59 +0200)]
Added 'move position mouse' command to the userguide.
Ingo Bürk [Sat, 2 May 2015 22:19:26 +0000 (00:19 +0200)]
Implemented new command 'move [window|container] [to] position mouse|cursor|pointer
fixes #1696
Tony Crisci [Tue, 12 May 2015 21:04:01 +0000 (17:04 -0400)]
Detect base 16 in cmd criteria
Try to detect base 16 numbers given to `con_id` and `id` for command criteria
by setting the base of strtol to 0. This should also detect octal.
This is necessary because mouse bindings now may be serialized as hex as of
5c32de4 .
Michael Stapelberg [Tue, 12 May 2015 20:44:08 +0000 (22:44 +0200)]
Merge pull request #1700 from mh21/tray-icon-size-cleanup
Tray icon size cleanup.
Michael Stapelberg [Thu, 7 May 2015 06:55:47 +0000 (23:55 -0700)]
Merge pull request #1693 from mh21/wm-class-garbage-no-copy
Don't duplicate property value on class change.
Michael Hofmann [Mon, 30 Mar 2015 10:02:39 +0000 (12:02 +0200)]
No memcpy on class change.
Michael Hofmann [Wed, 6 May 2015 14:28:29 +0000 (16:28 +0200)]
Introduce sstrndup wrapper.
Michael Stapelberg [Tue, 5 May 2015 07:43:43 +0000 (00:43 -0700)]
Merge pull request #1638 from hwangcc23/fix-1489
Add a timeout: delay_exit_on_zero_displays
Michael Stapelberg [Sun, 3 May 2015 16:57:05 +0000 (18:57 +0200)]
userguide: quoted strings need to be used, escaping isn’t possible
fixes #1678
Michael Stapelberg [Sun, 3 May 2015 09:28:45 +0000 (02:28 -0700)]
Merge pull request #1689 from Airblader/feature-docs-4
Debugging docs – minimal setup, small log file, closed source software
Ingo Bürk [Sun, 26 Apr 2015 21:07:41 +0000 (23:07 +0200)]
Added a section to the debugging docs:
* Motivate users to come up with clear and minimal instructions on how to reproduce a problem before submitting an issue.
* Encourage users to restart i3 before reproducing the problem so that the log file can stay small and noise-free.
* Mention the non-support of closed source software.
Michael Stapelberg [Sat, 2 May 2015 15:24:54 +0000 (08:24 -0700)]
Merge pull request #1685 from Deiz/fix-new-workspace-float
Initialize workspace rect to the output's upon creation
Michael Hofmann [Mon, 30 Mar 2015 22:07:50 +0000 (00:07 +0200)]
Tray icon size cleanup.
- icon_size instead of font.height
- consistent spacing with tray_spacing_px
Deiz [Sun, 26 Apr 2015 18:23:08 +0000 (14:23 -0400)]
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.
Michael Stapelberg [Sun, 26 Apr 2015 21:44:03 +0000 (23:44 +0200)]
Merge pull request #1680 from acrisci/bug/randr-disabled-outputs
Check if output is disabled in handle_output()
Michael Stapelberg [Sun, 26 Apr 2015 21:38:27 +0000 (23:38 +0200)]
Merge pull request #1657 from Georgiy-Tugai/fix-flickering-shortened
i3bar: fix flickering shortened status bar on other output(s)
Michael Stapelberg [Sun, 26 Apr 2015 21:36:28 +0000 (23:36 +0200)]
Merge pull request #1683 from Airblader/bug-click-detection
Only detect clicks within the statusline width.
Michael Stapelberg [Sun, 26 Apr 2015 21:31:12 +0000 (23:31 +0200)]
Merge pull request #1688 from Airblader/feature-1687
Added a note to the debugging docs about sensitive data.
Ingo Bürk [Sun, 26 Apr 2015 20:51:16 +0000 (22:51 +0200)]
Added a note to the debugging docs about sensitive data.
resolves #1687
Michael Stapelberg [Sun, 26 Apr 2015 10:15:38 +0000 (12:15 +0200)]
Merge pull request #1684 from acrisci/bug/focus-without-input-hint
Ignore InputHint when not in WM_HINTS
Michael Stapelberg [Sun, 26 Apr 2015 10:13:43 +0000 (12:13 +0200)]
Merge pull request #1672 from acrisci/bug/fix-freebsd-bindmouse
bugfix: serialize con_id with %p in run_binding()
Tony Crisci [Sun, 26 Apr 2015 02:43:46 +0000 (22:43 -0400)]
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
Tony Crisci [Sun, 26 Apr 2015 00:05:55 +0000 (20:05 -0400)]
Bugfix: serialize con_id with %p in run_binding()
%p is equivalent to either %x or %lx, depending on the pointer size of the
platform. Before this commit, we always used %d, which has the same behavior
on Linux, but is not automatically expanded to %ld on e.g. FreeBSD.
fixes #1661
Ingo Bürk [Sat, 25 Apr 2015 21:31:56 +0000 (23:31 +0200)]
Only detect clicks within the statusline width.
If the user clicks on the very top of i3bar above a tray icon, i3bar might
mistakenly trigger the click event for the last status block. This is due to
the fact that the click detection considers the separator width of the block
even though on the last block this is ignored, incorrectly spanning the block's
width partially (or entirely) across the tray area.
Michael Stapelberg [Fri, 24 Apr 2015 16:46:42 +0000 (18:46 +0200)]
userguide: add a note to both “exec”s about semicolon and comma
fixes #1678
Tony Crisci [Thu, 23 Apr 2015 22:21:15 +0000 (18:21 -0400)]
Check if output is disabled in handle_output()
Check if the `connection` of the randr output is
XCB_RANDR_CONNECTION_DISONNECTED and disable the output if it is.
This fixes an issue where the output would not be disabled if the output was
physically unplugged from the machine.
Michael Stapelberg [Tue, 21 Apr 2015 08:09:51 +0000 (10:09 +0200)]
Merge pull request #1664 from Airblader/feature-wm-state-hidden-2
Set _NET_WM_STATE_HIDDEN in tabbed/stacked containers
Ingo Bürk [Fri, 17 Apr 2015 18:09:53 +0000 (20:09 +0200)]
Added testcases for setting _NET_WM_STATE_HIDDEN on unfocused containers in tabbed/stacked containers.
Ingo Bürk [Thu, 16 Apr 2015 17:43:23 +0000 (19:43 +0200)]
Set the _NET_WM_STATE_HIDDEN atom on windows that are currently not visible due to being in the non-focused tab of a stacked or tabbed container.
fixes #1648
Ingo Bürk [Thu, 16 Apr 2015 17:42:31 +0000 (19:42 +0200)]
Added 'con_is_hidden' to check whether a given container is visible to the user assuming its workspace is visible.
This is useful for determining whether we want to set the _NET_WM_STATE_HIDDEN atom on the window.
Michael Stapelberg [Tue, 21 Apr 2015 06:42:16 +0000 (08:42 +0200)]
Merge pull request #1665 from Airblader/feature-1658
Added criterion 'window_type'
Michael Stapelberg [Tue, 21 Apr 2015 06:32:13 +0000 (08:32 +0200)]
Merge pull request #1669 from Airblader/feature-docs-2
Documentation Improvement – Debug i3bar
Michael Stapelberg [Tue, 21 Apr 2015 06:31:40 +0000 (08:31 +0200)]
Merge pull request #1636 from Deiz/update-notices
Update copyright notices and get rid of ranges
Michael Stapelberg [Tue, 21 Apr 2015 06:29:55 +0000 (08:29 +0200)]
Merge pull request #1666 from Xarthisius/undef_FALSE
Fix ‘FALSE’ undeclared (first use in this function) when i3 is built w/o PANGO
Georgiy Tugai [Tue, 21 Apr 2015 02:58:43 +0000 (12:28 +0930)]
i3bar: fix flickering shortened status bar on other output(s)
Kacper Kowalik (Xarthisius) [Sun, 19 Apr 2015 15:26:10 +0000 (10:26 -0500)]
Fix ‘FALSE’ undeclared (first use in this function) when i3 is built without PANGO support
Deiz [Sat, 4 Apr 2015 00:17:56 +0000 (20:17 -0400)]
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
Michael Stapelberg [Mon, 20 Apr 2015 21:29:24 +0000 (23:29 +0200)]
Merge pull request #1674 from Airblader/feature-docs-3
Adapt release.sh to update the latest version in the debugging docs.
Ingo Bürk [Sun, 19 Apr 2015 08:47:33 +0000 (10:47 +0200)]
Cleanup: delete comments that were accidentally copy-pasted and are incorrect for these test cases
Ingo Bürk [Sun, 19 Apr 2015 08:47:09 +0000 (10:47 +0200)]
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
Ingo Bürk [Sat, 18 Apr 2015 22:37:10 +0000 (00:37 +0200)]
Added testcase for 'window_type' criterion when used as a command.
Ingo Bürk [Sat, 18 Apr 2015 22:30:01 +0000 (00:30 +0200)]
Added testcase for changing _NET_WM_WINDOW_TYPE after the window is already managed.
Ingo Bürk [Sat, 18 Apr 2015 22:29:31 +0000 (00:29 +0200)]
Handle changes to _NET_WM_WINDOW_TYPE after the window has been managed.
Ingo Bürk [Sat, 18 Apr 2015 19:09:03 +0000 (21:09 +0200)]
Implement new criterion 'window_type = normal|dialog|utility|toolbar|splash|menu|dropdown_menu|popup_menu|tooltip'
fixes #1658
Ingo Bürk [Sun, 19 Apr 2015 20:37:37 +0000 (22:37 +0200)]
Provide instructions on how to debug i3bar
Ingo Bürk [Mon, 20 Apr 2015 15:51:34 +0000 (17:51 +0200)]
Adapt release.sh to update the latest version in the debugging docs.
Michael Stapelberg [Sun, 19 Apr 2015 19:11:22 +0000 (21:11 +0200)]
contributing: mention that we cannot support closed-source software
Michael Stapelberg [Sun, 19 Apr 2015 19:04:26 +0000 (21:04 +0200)]
Merge pull request #1662 from Airblader/feature-move-to-mark
Allow moving windows to marks
Ingo Bürk [Wed, 15 Apr 2015 19:33:59 +0000 (21:33 +0200)]
Added test case for transfer of urgency flag when moving a window to a mark.
Ingo Bürk [Wed, 15 Apr 2015 18:39:39 +0000 (20:39 +0200)]
fix commands parser test
Ingo Bürk [Wed, 15 Apr 2015 18:38:33 +0000 (20:38 +0200)]
Added testcase for moving a window to a workspace holding the mark
Ingo Bürk [Wed, 15 Apr 2015 17:59:53 +0000 (19:59 +0200)]
Disallow moving a container to itself since this would crash i3.
Ingo Bürk [Wed, 15 Apr 2015 16:41:56 +0000 (18:41 +0200)]
Added testcases for 'move window|container to mark <str>'
fixes #1643
Ingo Bürk [Tue, 14 Apr 2015 15:57:33 +0000 (17:57 +0200)]
Implement the command 'move container to mark <mark>' using 'con_move_to_mark'.
Ingo Bürk [Wed, 15 Apr 2015 16:36:45 +0000 (18:36 +0200)]
Added 'con_move_to_mark' to move a container to the container holding a certain mark.
Ingo Bürk [Tue, 14 Apr 2015 15:56:10 +0000 (17:56 +0200)]
Extract a function from con_move_to_workpsace that deals with moving a container to some other container rather than being restricted to moving to a specific workspace.
Ingo Bürk [Tue, 14 Apr 2015 15:51:28 +0000 (17:51 +0200)]
added function 'con_by_mark' to look up a con holding the given mark
Ingo Bürk [Sun, 12 Apr 2015 15:30:31 +0000 (17:30 +0200)]
Added configuration directive for 'move [container|window] [to] mark <str>'
Michael Stapelberg [Sun, 19 Apr 2015 16:28:08 +0000 (09:28 -0700)]
Merge pull request #1632 from Deiz/binding-border
Add a --border flag to enable mouse binds to trigger on border click
Ingo Bürk [Sat, 18 Apr 2015 20:02:03 +0000 (22:02 +0200)]
Added testcase for criterion 'window_type'.
Michael Stapelberg [Thu, 16 Apr 2015 07:34:01 +0000 (00:34 -0700)]
Merge pull request #1651 from tanderson92/pkgconfig
Respect EXEC_PREFIX and a users' choice of PKG_CONFIG.
Michael Stapelberg [Thu, 16 Apr 2015 07:21:13 +0000 (09:21 +0200)]
release.sh: add missing -t parameter for sendmail
Michael Stapelberg [Thu, 16 Apr 2015 07:21:00 +0000 (09:21 +0200)]
release.sh: add missing commit step for debian changelog
Michael Stapelberg [Thu, 16 Apr 2015 07:20:43 +0000 (09:20 +0200)]
release.sh: fix encoding and concatenating changelog
Michael Stapelberg [Thu, 16 Apr 2015 07:20:22 +0000 (09:20 +0200)]
release.sh: set up master branch for pushing the website
Michael Stapelberg [Thu, 16 Apr 2015 07:19:46 +0000 (09:19 +0200)]
release.sh: checkout correct branch before copying docs
Michael Stapelberg [Thu, 16 Apr 2015 07:19:30 +0000 (09:19 +0200)]
release.sh: 4.10.2 release
Michael Stapelberg [Thu, 16 Apr 2015 07:08:46 +0000 (09:08 +0200)]
debian: update changelog