]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Wed, 5 Aug 2015 20:40:58 +0000 (22:40 +0200)]
append_layout: load floating containers correctly
fixes #1739
fixes #1271
Michael Stapelberg [Tue, 4 Aug 2015 07:10:06 +0000 (00:10 -0700)]
Merge pull request #1816 from tcreech/tcreech-for-illumos
Changes for compiling i3 on Illumos
Michael Stapelberg [Mon, 3 Aug 2015 17:49:15 +0000 (10:49 -0700)]
Merge pull request #1789 from shdown/next
Use safe wrappers wherever possible
shdown [Mon, 3 Aug 2015 09:51:55 +0000 (12:51 +0300)]
Use safe wrappers inside "#if 0" too
shdown [Mon, 3 Aug 2015 09:51:39 +0000 (12:51 +0300)]
.travis.yml: add a wrapped functions grepper script
shdown [Mon, 3 Aug 2015 09:51:20 +0000 (12:51 +0300)]
config_parser: don't use sizeof(char)
shdown [Mon, 3 Aug 2015 09:50:50 +0000 (12:50 +0300)]
Use safe wrappers wherever possible
shdown [Mon, 3 Aug 2015 09:50:13 +0000 (12:50 +0300)]
libi3: change scalloc() signature to match calloc()
Michael Stapelberg [Mon, 3 Aug 2015 06:52:10 +0000 (23:52 -0700)]
Merge pull request #1712 from Airblader/feature-next-wm-size-hints-adopted
[Adopted] Use WM_SIZE_HINTS when available to set the geometry of floating windows
Michael Stapelberg [Sun, 2 Aug 2015 18:50:14 +0000 (20:50 +0200)]
Properly clear the urgency hint when set by i3.
fixes #1825
Michael Stapelberg [Sun, 2 Aug 2015 16:14:00 +0000 (09:14 -0700)]
Merge pull request #1822 from acrisci/feature/docs-contributing-formatting
docs: improve formatting for CONTRIBUTING
Tony Crisci [Sat, 1 Aug 2015 18:50:55 +0000 (14:50 -0400)]
docs: improve formatting for CONTRIBUTING
Michael Stapelberg [Fri, 31 Jul 2015 07:41:35 +0000 (00:41 -0700)]
Merge pull request #1821 from acrisci/feature/dont-log-motion-notify
Don't log motion notify
Tony Crisci [Fri, 31 Jul 2015 02:40:38 +0000 (22:40 -0400)]
Don't log motion notify
Do not log an XCB_MOTION_NOTIFY event in handlers.c because this
clutters the log.
Only log in the motion notify handler if something important happens.
Michael Stapelberg [Thu, 30 Jul 2015 20:45:23 +0000 (22:45 +0200)]
release.sh: pull website repository before
Michael Stapelberg [Thu, 30 Jul 2015 20:43:34 +0000 (22:43 +0200)]
release.sh: the mailing list part is done automatically
Michael Stapelberg [Thu, 30 Jul 2015 20:27:15 +0000 (22:27 +0200)]
Update debian/changelog
Michael Stapelberg [Thu, 30 Jul 2015 20:27:15 +0000 (22:27 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Thu, 30 Jul 2015 20:27:15 +0000 (22:27 +0200)]
Merge branch 'release-4.10.3'
Michael Stapelberg [Thu, 30 Jul 2015 20:26:58 +0000 (22:26 +0200)]
release i3 4.10.3
Michael Stapelberg [Thu, 30 Jul 2015 20:26:45 +0000 (22:26 +0200)]
release.sh: replace version in _docs/debugging at the right time
Michael Stapelberg [Thu, 30 Jul 2015 20:21:48 +0000 (22:21 +0200)]
release.sh: bugfix: take docs from tmpdir, not startdir
Michael Stapelberg [Thu, 30 Jul 2015 20:16:01 +0000 (22:16 +0200)]
release.sh: commit modified debian/changelog
Otherwise, we cannot switch branches.
Michael Stapelberg [Thu, 30 Jul 2015 20:07:51 +0000 (22:07 +0200)]
release.sh: 4.10.3 release
Michael Stapelberg [Thu, 30 Jul 2015 20:07:13 +0000 (22:07 +0200)]
release.sh: tell git to prefer “next” when merging
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.
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.
Deiz [Sun, 29 Mar 2015 21:18:00 +0000 (17:18 -0400)]
Move mkdirp into libi3
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 [Sun, 3 May 2015 16:57:05 +0000 (18:57 +0200)]
userguide: quoted strings need to be used, escaping isn’t possible
fixes #1678
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.
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.
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
Tim Creech [Tue, 28 Jul 2015 00:47:12 +0000 (20:47 -0400)]
Changes for compiling on Illumos
* common.mk: use -lsocket -liconv -lgen on Illumos/Solaris
* mkdirp: return int and accept a mode argument
* use i3's mkdirp on everything except Illumos
Michael Stapelberg [Thu, 30 Jul 2015 07:05:08 +0000 (00:05 -0700)]
Merge pull request #1818 from simonnagl/terminology
Added terminology to i3-sensible-terminal
Simon Nagl [Tue, 28 Jul 2015 21:00:18 +0000 (23:00 +0200)]
Added terminology to i3-sensible-terminal
Michael Stapelberg [Mon, 27 Jul 2015 20:33:03 +0000 (22:33 +0200)]
Make line continuation userguide entry more verbose.
Michael Stapelberg [Mon, 27 Jul 2015 20:29:44 +0000 (22:29 +0200)]
Improve error message for clarity.
Michael Stapelberg [Mon, 27 Jul 2015 20:27:03 +0000 (13:27 -0700)]
Merge pull request #1797 from hwangcc23/config-file-line-continuation
Support config file line continuation
hwangcc23 [Tue, 14 Jul 2015 15:38:45 +0000 (23:38 +0800)]
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
Michael Stapelberg [Sun, 19 Jul 2015 20:48:04 +0000 (22:48 +0200)]
Merge pull request #1805 from lasers/next
Added missing bar section for tray_output primary
Chris [Sat, 18 Jul 2015 23:50:02 +0000 (18:50 -0500)]
Added missing bar section for tray_output primary
Michael Stapelberg [Sat, 18 Jul 2015 22:23:39 +0000 (00:23 +0200)]
add link to a rust i3 library
Michael Stapelberg [Tue, 14 Jul 2015 13:00:30 +0000 (09:00 -0400)]
Merge pull request #1795 from PopeLevi/patch-1
Added 'pg' to i3-sensible-pager
PopeLevi [Tue, 14 Jul 2015 08:03:55 +0000 (20:03 +1200)]
Added 'pg' to i3-sensible-pager
Added 'pg' to the list of pagers in i3-sensible-pager
Michael Stapelberg [Sun, 12 Jul 2015 14:24:33 +0000 (07:24 -0700)]
Merge pull request #1792 from PopeLevi/patch-1
Added mate-terminal to i3-sensible-terminal
PopeLevi [Sun, 12 Jul 2015 12:13:55 +0000 (00:13 +1200)]
Added mate-terminal to i3-sensible-terminal
Added the 'mate-terminal' terminal emulator to the list of terminals emulators in i3-sensible-terminal
Michael Stapelberg [Fri, 10 Jul 2015 15:29:48 +0000 (08:29 -0700)]
Merge pull request #1786 from hwangcc23/pr-for-issue-#1785
Display which config is used in --more_version
hwangcc23 [Thu, 9 Jul 2015 14:25:50 +0000 (22:25 +0800)]
Display which config is used in --more_version
In the output of i3 --moreversion,
display the path of the used config and its last modified time.
Michael Stapelberg [Fri, 10 Jul 2015 05:03:27 +0000 (22:03 -0700)]
Merge pull request #1788 from acrisci/feature/docs-contributing-finding-issues
docs: add section on finding issues to CONTRIBUTING
Tony Crisci [Fri, 10 Jul 2015 04:04:20 +0000 (00:04 -0400)]
docs: add section on finding issues to CONTRIBUTING
Michael Stapelberg [Wed, 1 Jul 2015 13:05:56 +0000 (06:05 -0700)]
Merge pull request #1778 from Airblader/bug-1777
Send custom command if workspace buttons are disabled
Ingo Bürk [Wed, 1 Jul 2015 12:48:06 +0000 (14:48 +0200)]
Send custom-defined command upon click on the non-statusline part of i3bar even if workspace_buttons is set to 'no'.
fixes #1777
Michael Stapelberg [Wed, 1 Jul 2015 10:00:37 +0000 (03:00 -0700)]
Merge pull request #1776 from Airblader/bug-1774
Return non-match instead of asserting
Ingo Bürk [Wed, 1 Jul 2015 09:47:55 +0000 (11:47 +0200)]
Remove asserts and return non-match instead if the container or its workspace cannot be found.
This can cause an issue if used in combination with for_window and i3bar during startup of i3 otherwise.
fixes #1774
Michael Stapelberg [Tue, 30 Jun 2015 20:52:54 +0000 (13:52 -0700)]
Merge pull request #1771 from Airblader/feature-1769
Implement new criterion 'workspace'.
Michael Stapelberg [Tue, 30 Jun 2015 20:52:48 +0000 (13:52 -0700)]
Merge pull request #1772 from Airblader/feature-fix-newline
Added missing newlines in log statements.
Ingo Bürk [Mon, 29 Jun 2015 21:58:48 +0000 (23:58 +0200)]
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
Michael Stapelberg [Tue, 30 Jun 2015 18:50:28 +0000 (11:50 -0700)]
Merge pull request #1768 from hwangcc23/atoi2strtol
Fix TODO in src/bindings.c
Ingo Bürk [Tue, 30 Jun 2015 18:48:35 +0000 (20:48 +0200)]
Added missing newlines in log statements.
hwangcc23 [Thu, 25 Jun 2015 14:33:50 +0000 (22:33 +0800)]
Fix TODO by replacing atoi by strtol
Fix TODO in bindings.c.
There is no problem to use atoi here since either keycode 0 or button0 is invalid.
But strtol is more flexible and is recommanded for conversion.
Michael Stapelberg [Mon, 29 Jun 2015 07:24:59 +0000 (00:24 -0700)]
Merge pull request #1747 from Airblader/feature-1723
Implement "title_format"
Ingo Bürk [Thu, 11 Jun 2015 05:26:01 +0000 (07:26 +0200)]
Added documentation for "title_format".
Michael Stapelberg [Mon, 29 Jun 2015 07:19:44 +0000 (00:19 -0700)]
Merge pull request #1745 from mh21/configurable-tray-padding
Configurable tray padding.
Ingo Bürk [Wed, 10 Jun 2015 17:01:05 +0000 (19:01 +0200)]
Parse the title_format and display the customized window title if a format was set.
The format string set with "title_format" can contain the placeholder "%title" which will be replaced with the actual window title.
By not overwriting window->name itself, we make sure that assignment matching still works as expected.
fixes #1723
Ingo Bürk [Wed, 10 Jun 2015 16:59:45 +0000 (18:59 +0200)]
Added command directive 'title_format'.
This directive will be used to customize the window title.
Michael Stapelberg [Sun, 28 Jun 2015 19:27:52 +0000 (21:27 +0200)]
add util-{wm,keysyms} explicitly, remove obsolete xlib, update lkgv
fixes #1764
Michael Hofmann [Tue, 9 Jun 2015 08:06:45 +0000 (10:06 +0200)]
Configurable tray padding.
Michael Stapelberg [Sun, 21 Jun 2015 11:24:35 +0000 (13:24 +0200)]
debian: stacklimit.png got deleted, so remove it from i3-wm.docs
Michael Stapelberg [Thu, 18 Jun 2015 18:50:56 +0000 (20:50 +0200)]
Merge pull request #1697 from Airblader/feature-1695
Extend mouse commands on i3bar
Ingo Bürk [Thu, 4 Jun 2015 13:55:39 +0000 (15:55 +0200)]
Added testcase for #1695.
Ingo Bürk [Sat, 23 May 2015 20:48:29 +0000 (16:48 -0400)]
Ensure format of dumped bindings for i3bar is compatible with i3 bindings.
fixes #1695
Ingo Bürk [Sat, 2 May 2015 19:56:10 +0000 (21:56 +0200)]
Adapted userguide for new i3bar 'bindsym' command.
Ingo Bürk [Sat, 13 Jun 2015 12:58:41 +0000 (14:58 +0200)]
Read 'bindsym' rather than the old 'wheel_up_cmd' and 'wheel_down_cmd' directives in i3bar and call the command if specified.
The old directives are still read for transitional support which can be removed in a future version.
Michael Stapelberg [Sat, 13 Jun 2015 12:39:19 +0000 (14:39 +0200)]
Merge pull request #1752 from Airblader/feature-test-cleanups-1
Silence "masks earlier declaration in same scope" warnings
Michael Stapelberg [Sat, 13 Jun 2015 10:39:59 +0000 (12:39 +0200)]
Merge pull request #1744 from Airblader/feature-docs-7
Documentation Improvements
Ingo Bürk [Fri, 12 Jun 2015 16:19:43 +0000 (18:19 +0200)]
Silence "masks earlier declaration in same scope" warnings when executing tests.
Ingo Bürk [Tue, 9 Jun 2015 21:13:40 +0000 (23:13 +0200)]
Fix documentation for border styles.
Michael Stapelberg [Fri, 12 Jun 2015 07:52:02 +0000 (09:52 +0200)]
userguide: document signal handling caveat affecting at least dash(1)
fixes #1741
Ingo Bürk [Tue, 9 Jun 2015 21:13:15 +0000 (23:13 +0200)]
Remove dead documentation for non-existing feature "stack-limit".
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.
Ingo Bürk [Sat, 2 May 2015 19:54:56 +0000 (21:54 +0200)]
Implement i3's logic for maintaining a list of 'bindsym' directives and passing it to i3bar through the IPC.
Ingo Bürk [Sat, 2 May 2015 19:53:23 +0000 (21:53 +0200)]
Add new command skeleton 'bindsym <button> <command>' for 'bar' block.
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