]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Sun, 8 Apr 2012 13:59:49 +0000 (15:59 +0200)]
Implement resize <grow|shrink> <width|height>, use it in the default config
Fixes: #576
Michael Stapelberg [Sat, 7 Apr 2012 17:15:41 +0000 (19:15 +0200)]
Bugfix: Properly terminate lines not ending with a newline (Thanks xeen)
Previously, we didn’t check for a newline and thus could be corrupting
formerly valid UTF-8 input, such as
echo -n '↓'
Fixes: #671
Michael Stapelberg [Sat, 7 Apr 2012 14:22:58 +0000 (16:22 +0200)]
Force WM_TAKE_FOCUS event to be sent when clicking
This fixes more problems with Eclipse.
See also commit
1962c30dfb3baee0fb98589aca575ae54d1142e0
Michael Stapelberg [Thu, 5 Apr 2012 16:12:24 +0000 (18:12 +0200)]
add a testcase for the previous commit
Peter Bui [Tue, 20 Mar 2012 22:52:38 +0000 (18:52 -0400)]
Bug 676: if scratchpad window is active on a non-visible workspace, then "scratchpad show" should move it to the current visible workspace.
Jose Pereira [Sun, 1 Apr 2012 14:07:15 +0000 (15:07 +0100)]
Added option to select primary display on tray_output
Michael Stapelberg [Sat, 31 Mar 2012 08:53:04 +0000 (10:53 +0200)]
Use (void) instead of () for functions without args (Thanks fernandotcl)
See also:
http://article.gmane.org/gmane.linux.kernel/
1268792
The C compiler will handle (void) as "no arguments" and () as "variadic
function" (equivalent to (...)) which might lead to subtle errors, such
as the one which was fixed with commit
0ea64ae4 .
Michael Stapelberg [Mon, 26 Mar 2012 15:36:00 +0000 (17:36 +0200)]
i3bar: kill child processes when exit()ing (they might be stopped) (Thanks darkraven)
Michael Stapelberg [Mon, 26 Mar 2012 15:00:44 +0000 (17:00 +0200)]
testsuite: explicitly start Xdummy with -nolisten tcp
Michael Stapelberg [Mon, 26 Mar 2012 15:00:35 +0000 (17:00 +0200)]
A few style fixes for the previous commit
darkraven [Thu, 1 Mar 2012 05:53:06 +0000 (13:53 +0800)]
Use 32bit visual only when needed. Thus we could drop the --enable-32bit-visual option.
Fernando Tarlá Cardoso Lemos [Tue, 21 Feb 2012 16:53:01 +0000 (14:53 -0200)]
Don't multiply by sizeof(char) twice.
This is a no-op, since sizeof(char) is 1. But still, we shouldn't
multiply twice, it's misleading.
Fernando Tarlá Cardoso Lemos [Tue, 21 Feb 2012 16:51:31 +0000 (14:51 -0200)]
Document text_len in the draw_text description.
Pavel Löbl [Fri, 23 Mar 2012 12:39:17 +0000 (13:39 +0100)]
Extends move command for floating windows
Michael Stapelberg [Thu, 22 Mar 2012 12:10:36 +0000 (13:10 +0100)]
userguide: add a hint to xev (Thanks toxios)
Michael Stapelberg [Wed, 21 Mar 2012 21:30:08 +0000 (22:30 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 21 Mar 2012 21:29:51 +0000 (22:29 +0100)]
Merge branch 'fix-eclipse-focus'
Michael Stapelberg [Wed, 21 Mar 2012 21:27:31 +0000 (22:27 +0100)]
Force WM_TAKE_FOCUS event to be sent again upon EnterNotify
This fixes focus problems with Eclipse. Apparently, Eclipse waits for getting
notified about the focus, and since it used non-managed windows, i3 didn’t care
to update the focus.
Fixes: #621, #675
Michael Stapelberg [Wed, 21 Mar 2012 20:41:13 +0000 (21:41 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 21 Mar 2012 20:40:55 +0000 (21:40 +0100)]
Merge branch 'leavestates'
Michael Stapelberg [Wed, 21 Mar 2012 20:40:44 +0000 (21:40 +0100)]
cfgparse: leave EAT_WHITESPACE and BINDSYM_COND states on EOL (Thanks dothebart)
Fixes: #642
Michael Stapelberg [Wed, 21 Mar 2012 17:03:49 +0000 (18:03 +0100)]
debugging trick: keep a symbol pointing to I3_VERSION around
This way, gdb will include the i3 version in backtraces.
Michael Stapelberg [Wed, 21 Mar 2012 19:24:29 +0000 (20:24 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 21 Mar 2012 19:24:03 +0000 (20:24 +0100)]
Merge branch 'fix-floating-restart'
Michael Stapelberg [Wed, 21 Mar 2012 19:14:50 +0000 (20:14 +0100)]
Bugfix: Fix restart with for_window floating configuration (Thanks garga)
Fixes: #668
Calling tree_close with dont_kill_parent=true will avoid it from closing the
workspace if it’s empty (and it’s temporarily empty, because 'floating disable'
detaches, then re-attaches the window).
Michael Stapelberg [Wed, 21 Mar 2012 16:20:07 +0000 (17:20 +0100)]
Bugfix: Also clear the command parser’s stack upon invalid commands (Thanks helgikrs)
Fixes: #652
Michael Stapelberg [Mon, 19 Mar 2012 21:30:20 +0000 (22:30 +0100)]
i3bar: Fix memory for old plain-text input (Thanks Han)
Michael Stapelberg [Mon, 19 Mar 2012 20:42:08 +0000 (21:42 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 19 Mar 2012 20:42:00 +0000 (21:42 +0100)]
Merge branch 'fix-i3bar-multi-dpy'
Michael Stapelberg [Mon, 19 Mar 2012 20:41:45 +0000 (21:41 +0100)]
Fix i3bar when using multiple displays (Thanks brimstone)
Michael Stapelberg [Tue, 21 Feb 2012 14:23:58 +0000 (15:23 +0100)]
i3-config-wizard: use fgetln on OpenBSD, too (Thanks David Coppa)
Michael Stapelberg [Tue, 21 Feb 2012 13:37:55 +0000 (14:37 +0100)]
t/158-wm_take_focus: use sync_with_i3 instead of a timeout
Michael Stapelberg [Tue, 21 Feb 2012 13:28:37 +0000 (14:28 +0100)]
t/164-kill-win-vs-client: get rid of sleep()s
Michael Stapelberg [Tue, 21 Feb 2012 13:22:26 +0000 (14:22 +0100)]
t/187-commands-parser: shave off a bit of time by consolidating calls
Michael Stapelberg [Tue, 21 Feb 2012 13:11:04 +0000 (14:11 +0100)]
t/171-config-migrate: shave off a bit of time by consolidating migrate_config calls
Michael Stapelberg [Tue, 21 Feb 2012 12:58:49 +0000 (13:58 +0100)]
t/166-assign: check for i3-nagbar in the process hierarchy instead of sleep(1)
Michael Stapelberg [Tue, 21 Feb 2012 12:40:53 +0000 (13:40 +0100)]
tests: don’t wait for window map event in open_special
Since the window doesn’t get mapped at all in these tests (it’s assigned to an
invisible workspace), this saves us a timeout of 2 seconds :).
Michael Stapelberg [Tue, 21 Feb 2012 12:38:49 +0000 (13:38 +0100)]
Use gettimeofday() and struct timevals instead of time()
Initially I thought using the second precision time() function is good enough,
but to make t/113-urgent.t considerably faster (>2s vs. 0.08s), we put in a
little more effort and use gettimeofday. Otherwise, this test blocks the whole
testsuite from completing much faster on modern machines :).
Michael Stapelberg [Thu, 16 Feb 2012 23:44:18 +0000 (23:44 +0000)]
re-add src/cmdparse.* to clean target for people who are switching from the master branch / have old build dirs
Michael Stapelberg [Thu, 16 Feb 2012 23:41:58 +0000 (23:41 +0000)]
i3bar: compile with yajl < 2
Michael Stapelberg [Thu, 16 Feb 2012 23:32:36 +0000 (23:32 +0000)]
debian: add i3bar-protocol.html to docs
Michael Stapelberg [Thu, 16 Feb 2012 23:27:11 +0000 (23:27 +0000)]
Implement the i3bar JSON protocol (with fallback to plain text)
If the first line of the input starts with {"version":, then the input is
considered to be JSON, otherwise it is interpreted as plain text.
Only the "full_text" and "color" parts of a block are currently understood by
i3bar.
Michael Stapelberg [Thu, 16 Feb 2012 20:39:34 +0000 (20:39 +0000)]
add docs/i3bar-protocol
Michael Stapelberg [Thu, 16 Feb 2012 18:43:47 +0000 (18:43 +0000)]
tests: add a testcase for the floating size constraints
Michael Stapelberg [Thu, 16 Feb 2012 18:41:54 +0000 (18:41 +0000)]
use signed integer types for the floating size constraints
Michael Stapelberg [Thu, 16 Feb 2012 18:41:48 +0000 (18:41 +0000)]
cfgparse: also accept negative numbers
D Thompson [Thu, 16 Feb 2012 14:36:46 +0000 (06:36 -0800)]
Implement support for user configuration of constraints on floating window dimensions.
Michael Stapelberg [Wed, 15 Feb 2012 22:05:28 +0000 (22:05 +0000)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 15 Feb 2012 22:05:07 +0000 (22:05 +0000)]
Merge branch 'fix-i3bar-highlight'
Simon Kämpe [Thu, 2 Feb 2012 20:28:38 +0000 (21:28 +0100)]
Highlight i3bar ws when changing output w/ mouse.
Michael Stapelberg [Wed, 15 Feb 2012 21:02:40 +0000 (21:02 +0000)]
Render only once for all matching assignments (Thanks rami)
Fixes: #608
Michael Stapelberg [Tue, 7 Feb 2012 22:38:21 +0000 (17:38 -0500)]
Refactor the interface of commands.c
This change has two implications:
1) tree_render() will now be called precisely once for input which consists of
multiple commands (like "focus left; focus right"). Also, the caller of
parse_command() has to call it. This makes us able to fix tickets such as
ticket #608 (where multiple tree_render() calls are noticable).
2) The output of a command is now a JSON array of return values of the
individual subcommands. In the case of "focus left; focus right", this is:
[{"success":true}, {"success":true}]
While this is incompatible with what i3 returned before, the return value of
commands was undocumented and therefore not subject to our API stability.
Michael Stapelberg [Sat, 28 Jan 2012 16:09:02 +0000 (16:09 +0000)]
Implement support for chosing a 32 bit visual (necessary for pseudo-transparency) (Thanks darkraven)
You need to specify the --enable-32bit-visual flag when starting i3. This is
done because everything feels sluggish on my system when using a 32 bit visual
instead of a 24 bit visual. Fast > fancy.
Michael Stapelberg [Wed, 15 Feb 2012 18:08:53 +0000 (18:08 +0000)]
tests: add test for previous commit
Fernando Tarlá Cardoso Lemos [Sun, 29 Jan 2012 18:22:43 +0000 (16:22 -0200)]
Fix the coords of floating cons when moving workspaces.
Fixes floating containers seemingly showing up in the wrong
workspace after moving workspaces containing floating containers.
We must *always* fix the coordinates of floating containers when
moving workspaces across outputs. That's because the coordinates
of floating containers are *not* relative to the workspaces.
Michael Stapelberg [Wed, 15 Feb 2012 18:02:02 +0000 (18:02 +0000)]
tests: make t/504-move-workspace-to-output consistent with the previous commit
Fernando Tarlá Cardoso Lemos [Sat, 14 Jan 2012 22:09:09 +0000 (20:09 -0200)]
If moving the last ws, create a new one in its place.
This seems better than refusing to move the last workspace.
Michael Stapelberg [Tue, 14 Feb 2012 22:47:40 +0000 (22:47 +0000)]
tests: add a test for the urgent= criteria
Jeremy O'Brien [Tue, 24 Jan 2012 23:00:27 +0000 (18:00 -0500)]
Implement urgency flag matcher
Currently it supports the following options:
"oldest": match the first window that triggered an urgent event
"latest": match the last window that triggered an urgent event
Fernando Tarlá Cardoso Lemos [Sun, 29 Jan 2012 19:15:18 +0000 (17:15 -0200)]
Mention floating_fix_coordinates in the hacking how-to.
Michael Stapelberg [Sun, 12 Feb 2012 11:21:08 +0000 (11:21 +0000)]
debian: add debugging-releas-version.html to docs
Michael Stapelberg [Sun, 12 Feb 2012 11:17:03 +0000 (11:17 +0000)]
docs/debugging: cover development version, add debugging-release-version
Michael Stapelberg [Sun, 12 Feb 2012 10:21:01 +0000 (10:21 +0000)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 12 Feb 2012 10:20:56 +0000 (10:20 +0000)]
Merge branch 'fixes-cfg-wizard'
beauby [Fri, 10 Feb 2012 00:12:43 +0000 (01:12 +0100)]
Fixed a memory leak
beauby [Fri, 10 Feb 2012 00:11:00 +0000 (01:11 +0100)]
BugFix: keep the indentation of config.keycodes
Michael Stapelberg [Fri, 10 Feb 2012 19:55:40 +0000 (19:55 +0000)]
Bugfix: insert ending double quote at the right position (Thanks mxf)
Michael Stapelberg [Fri, 10 Feb 2012 19:49:38 +0000 (19:49 +0000)]
Bugfix: Correctly handle missing ending double quotes (+test) (Thanks mxf)
Michael Stapelberg [Fri, 10 Feb 2012 00:03:18 +0000 (00:03 +0000)]
Merge branch 'master' into next
Conflicts:
i3-config-wizard/main.c
Michael Stapelberg [Fri, 10 Feb 2012 00:02:20 +0000 (00:02 +0000)]
Merge branch 'fix-freebsd-getline'
beauby [Thu, 9 Feb 2012 23:21:26 +0000 (00:21 +0100)]
Fixed the fgetln workaround
Michael Stapelberg [Mon, 30 Jan 2012 16:55:06 +0000 (16:55 +0000)]
Bugfix: Properly handle workspace names with double quotes (+test) (Thanks kvapen)
Michael Stapelberg [Tue, 7 Feb 2012 22:42:58 +0000 (17:42 -0500)]
Merge branch 'master' into next
Michael Stapelberg [Tue, 7 Feb 2012 22:42:41 +0000 (17:42 -0500)]
Merge branch 'fix-split'
Michael Stapelberg [Mon, 30 Jan 2012 16:13:44 +0000 (16:13 +0000)]
Bugfix: Properly split when the current container is alone within a stacked/tabbed con (+test) (Thanks aksr)
Fixes: #630
Michael Stapelberg [Tue, 7 Feb 2012 22:41:36 +0000 (17:41 -0500)]
Merge branch 'master' into next
Michael Stapelberg [Tue, 7 Feb 2012 22:41:15 +0000 (17:41 -0500)]
Merge branch 'fix-workspace_layout'
Michael Stapelberg [Mon, 30 Jan 2012 16:03:51 +0000 (16:03 +0000)]
Bugfix: Obey workspace_layout when re-inserting floating containers (+test) (Thanks aksr)
The code wasn’t using con_attach and therefore didn’t obey workspace_layout.
Fixes: #631
Michael Stapelberg [Mon, 30 Jan 2012 15:53:46 +0000 (15:53 +0000)]
Error message was missing a slash
Michael Stapelberg [Mon, 30 Jan 2012 15:51:48 +0000 (15:51 +0000)]
tests: Make i3 create its temporary files in /tmp/i3-testsuite
This behavior can be avoided by passing dont_create_temp_dir => 1 to
launch_with_config (or activate_i3).
This commit fixes t/159-socketpaths.t being flaky on non-systemd computers.
Michael Stapelberg [Tue, 7 Feb 2012 21:10:16 +0000 (21:10 +0000)]
randr: Skip workspaces which are assigned to a different output when creating a new workspace
If you had workspace 1, 2, 3, 4 on LVDS1 and you enabled HDMI2 (where workspace
1 to workspace 5 are assigned to HDMI2), i3 would look for a new workspace for
LVDS1 (since all workspaces were moved), create workspace 5, move that over due
to assignment and then create workspace 6. Effectively, you would end up with
an empty workspace 5.
Fernando Tarlá Cardoso Lemos [Sat, 28 Jan 2012 01:47:59 +0000 (23:47 -0200)]
Don't migrate unfocused empty workspaces when disabling output.
This is more similar to what happens when you close the last client
of an unfocused workspace (the workspace gets reaped).
Michael Stapelberg [Tue, 7 Feb 2012 20:43:58 +0000 (20:43 +0000)]
docs/ipc: remove the log_markers request (it was removed from the code)
Jure Ziberna [Mon, 6 Feb 2012 00:35:27 +0000 (01:35 +0100)]
docs/ipc: added python library
Fernando Tarlá Cardoso Lemos [Sun, 29 Jan 2012 22:07:19 +0000 (20:07 -0200)]
Fix the text alignment in the workspace indicator.
We now use 5px padding for the workspace text on both sides. Some
fonts will look off-by-one (e.g. fixed), but that's because X core
fonts have padding. This padding is per-char, varies wildly across
different fonts, and would be a major pain to offset for. Even if
we could take this padding into account, this would probably make
things look even worse for some fonts.
Michael Stapelberg [Sun, 29 Jan 2012 20:55:54 +0000 (20:55 +0000)]
i3bar: make the ws buttons a bit smaller (like before) and improve the centering
Michael Stapelberg [Sun, 29 Jan 2012 18:03:03 +0000 (18:03 +0000)]
testcases: requires Test::More >= 0.94 (for subtests)
Michael Stapelberg [Sun, 29 Jan 2012 18:02:48 +0000 (18:02 +0000)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 29 Jan 2012 18:02:44 +0000 (18:02 +0000)]
Merge branch 'fix-floating-disappear'
Fernando Tarlá Cardoso Lemos [Sun, 29 Jan 2012 17:53:30 +0000 (15:53 -0200)]
Fix coords of floating containers when the output is disabled.
This prevents floating containers from "disappearing" when their
associated output is disabled. Thanks Michael for the advice.
Michael Stapelberg [Sat, 28 Jan 2012 10:35:18 +0000 (10:35 +0000)]
commands_parser: use safewrapper functions
Michael Stapelberg [Sat, 28 Jan 2012 10:22:43 +0000 (10:22 +0000)]
i3bar: correctly check errors when getting the _XEMBED_INFO property
This fixes a problem where starting gnome-settings-daemon (maybe other
programs, too) would leave an empty spot in i3bar’s tray area.
Marcelo Cerri [Thu, 26 Jan 2012 12:22:15 +0000 (10:22 -0200)]
Fixed worspace clicking area for i3bar (branch next)
Michael Stapelberg [Sat, 28 Jan 2012 10:05:51 +0000 (10:05 +0000)]
i3bar: make the space between workspace buttons 1 px again
Michael Stapelberg [Fri, 27 Jan 2012 22:39:51 +0000 (22:39 +0000)]
manpages: update i3-msg.man
Michael Stapelberg [Fri, 27 Jan 2012 22:32:40 +0000 (22:32 +0000)]
add comments to src/commands.c
Michael Stapelberg [Fri, 27 Jan 2012 22:32:25 +0000 (22:32 +0000)]
userguide: document 'fullscreen global'
Michael Stapelberg [Fri, 27 Jan 2012 22:11:03 +0000 (22:11 +0000)]
Rip out the old command parser, remove migration code
Michael Stapelberg [Fri, 27 Jan 2012 21:47:55 +0000 (21:47 +0000)]
Bugfix: Free old criteria matching window list (Thanks piroko)
Michael Stapelberg [Fri, 27 Jan 2012 21:36:40 +0000 (21:36 +0000)]
complete-run: make --valgrind, --strace, --coverage-testing work again