]>
git.sur5r.net Git - i3/i3/log
Maik Fischer [Mon, 21 Nov 2011 22:42:54 +0000 (23:42 +0100)]
testcases: only export eq_deeply, cmp_deeply from Test::Deep
Maik Fischer [Mon, 21 Nov 2011 22:39:58 +0000 (23:39 +0100)]
testcases: undo
0f386a96 t/144-regress-floating-resize.t
wait_for_map can't be used, since we don't set structure_notify
on the urxvts windows
Maik Fischer [Mon, 21 Nov 2011 22:37:04 +0000 (23:37 +0100)]
testcases: use global $x in wait_for_event, drop $x parameter
Maik Fischer [Mon, 21 Nov 2011 20:39:50 +0000 (21:39 +0100)]
testcases: let i3test.pm export $x, adapt testcases
Maik Fischer [Mon, 21 Nov 2011 20:04:00 +0000 (21:04 +0100)]
testcases: correctly enable lexical pragmata
eval 'package foo; use strict;' enables strict within eval, it does
not leak into the surrounding scope.
Also fix various warnings/compile errors found due to now enabled
strict and warnings.
Maik Fischer [Mon, 21 Nov 2011 16:33:18 +0000 (17:33 +0100)]
i3test.pm: bail_out if injection of exported modules fails
Maik Fischer [Mon, 21 Nov 2011 15:57:07 +0000 (16:57 +0100)]
testcases: move i3test::X11 from 170-force_focus_wrapping.t into i3test.pm
Michael Stapelberg [Mon, 21 Nov 2011 23:10:09 +0000 (23:10 +0000)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 21 Nov 2011 23:10:06 +0000 (23:10 +0000)]
Merge branch 'fix-float-fs'
Michael Stapelberg [Mon, 21 Nov 2011 23:04:49 +0000 (23:04 +0000)]
Bugfix: fix fullscreen with floating windows
Fixes: #564
Michael Stapelberg [Mon, 21 Nov 2011 21:48:34 +0000 (21:48 +0000)]
Merge branch 'drawing' into next (Thanks fernandotcl)
(from the 'less code duplication & more uniform behavior' department)
Michael Stapelberg [Mon, 21 Nov 2011 21:48:24 +0000 (21:48 +0000)]
little style fixes
Fernando Tarlá Cardoso Lemos [Mon, 14 Nov 2011 22:20:18 +0000 (20:20 -0200)]
Implement set_font_colors.
This paves the way for other font rendering backends. Fonts and
colors shouldn't be specified manually from now on.
Fernando Tarlá Cardoso Lemos [Sun, 13 Nov 2011 23:23:25 +0000 (21:23 -0200)]
Make all programs use draw_text.
Fernando Tarlá Cardoso Lemos [Sun, 13 Nov 2011 19:19:42 +0000 (17:19 -0200)]
Enhance libi3 and use it in i3bar.
Abstracted draw_text and predict_text_width into libi3. Use
predict_text_width from libi3 in i3 too. This required tracking
xcb_connection in a xcb_connection_t *conn variable that libi3
expects to be available in i3bar.
Michael Stapelberg [Mon, 21 Nov 2011 19:56:03 +0000 (19:56 +0000)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 21 Nov 2011 19:56:00 +0000 (19:56 +0000)]
Merge branch 'fix-focusin-dock'
Michael Stapelberg [Mon, 21 Nov 2011 19:55:41 +0000 (19:55 +0000)]
Bugfix: Skip dock clients when handling FocusIn events (Thanks cradle)
Maik Fischer [Mon, 21 Nov 2011 15:49:22 +0000 (16:49 +0100)]
testcases: fix race conditions in various tests
Maik Fischer [Thu, 10 Nov 2011 12:48:21 +0000 (13:48 +0100)]
complete-run: wait for all jobs to be finished
Maik Fischer [Sat, 12 Nov 2011 00:51:18 +0000 (01:51 +0100)]
testsuite: Makefile.PL: do not rename Makefile while running make clean
Michael Stapelberg [Mon, 21 Nov 2011 18:54:20 +0000 (18:54 +0000)]
tests: replace left-over move before/after commands (Thanks mxf)
Michael Stapelberg [Sun, 20 Nov 2011 10:52:21 +0000 (10:52 +0000)]
tests: add t/180-fd-leaks to ensure i3 does not leak fds on exec
Michael Stapelberg [Sun, 20 Nov 2011 10:51:21 +0000 (10:51 +0000)]
complete-run: close all fds except for 0, 1, 2
running in a VIM subshell leads to one more fd, for example
Michael Stapelberg [Sun, 20 Nov 2011 10:24:13 +0000 (10:24 +0000)]
complete-run: close the old socket fd
Michael Stapelberg [Sat, 19 Nov 2011 14:10:39 +0000 (14:10 +0000)]
Also check for empty $PAGER/$VISUAL/$EDITOR in i3-sensible-{editor,pager}
Michael Stapelberg [Sat, 19 Nov 2011 14:08:18 +0000 (14:08 +0000)]
i3-sensible-terminal: check $TERMINAL to not call 'which' without parameters (Thanks Fandekasp)
Michael Stapelberg [Wed, 16 Nov 2011 23:14:57 +0000 (23:14 +0000)]
clarify comments about socket activation (Thanks mxf)
Michael Stapelberg [Tue, 15 Nov 2011 23:39:43 +0000 (23:39 +0000)]
ipc: set CLOEXEC on client file descriptors (Thanks biiter)
Michael Stapelberg [Wed, 16 Nov 2011 21:41:55 +0000 (21:41 +0000)]
libi3/ucs2_conversion: tiny style fixes
Michael Stapelberg [Wed, 16 Nov 2011 21:41:45 +0000 (21:41 +0000)]
tests: store temp configs in /tmp/
Michael Stapelberg [Wed, 16 Nov 2011 21:41:00 +0000 (21:41 +0000)]
tests: Bugfix: Fix socket activation (see comment)
Fernando Tarlá Cardoso Lemos [Fri, 11 Nov 2011 23:18:37 +0000 (21:18 -0200)]
Consolidate all convert_* functions into libi3.
Some minor fixes along the way as well. Very minor stuff, unlikely
to ever be visible to the user.
Michael Stapelberg [Wed, 16 Nov 2011 20:10:48 +0000 (20:10 +0000)]
debian: make meta-package i3 depend on the precise version of i3-wm (Thanks Merovius)
This has the advantage that apt-get install i3/sid actually does what you expect :).
Michael Stapelberg [Tue, 15 Nov 2011 23:44:14 +0000 (23:44 +0000)]
debian: include PNGs of the userguide in docs
Michael Stapelberg [Tue, 15 Nov 2011 23:42:41 +0000 (23:42 +0000)]
userguide: use bar blocks in the bar related examples
Michael Stapelberg [Tue, 15 Nov 2011 23:39:43 +0000 (23:39 +0000)]
ipc: set CLOEXEC on client file descriptors (Thanks biiter)
Michael Stapelberg [Tue, 15 Nov 2011 23:30:17 +0000 (23:30 +0000)]
complete-run: implement --strace, make --valgrind log to test-specific file
Michael Stapelberg [Tue, 15 Nov 2011 20:20:54 +0000 (20:20 +0000)]
userguide: s/enter/Return (use correct keysym) (Thanks mxf)
Michael Stapelberg [Tue, 15 Nov 2011 19:54:03 +0000 (19:54 +0000)]
lib/SocketActivation: Bugfix: remove old code which leaks the socket file descriptor to i3
Michael Stapelberg [Sun, 13 Nov 2011 12:54:10 +0000 (12:54 +0000)]
docs/userguide: make it clear how to use multiple output directives (Thanks moemoe)
Michael Stapelberg [Sun, 13 Nov 2011 10:51:58 +0000 (10:51 +0000)]
docs/userguide: fix typo (Thanks sycamorex)
Michael Stapelberg [Fri, 11 Nov 2011 23:00:08 +0000 (23:00 +0000)]
debian: add changelog entry for upcoming version (for autobuilder)
Michael Stapelberg [Fri, 11 Nov 2011 22:49:20 +0000 (22:49 +0000)]
Merge branch 'next'
Michael Stapelberg [Fri, 11 Nov 2011 22:49:15 +0000 (22:49 +0000)]
Merge branch 'release-4.1' into next
Michael Stapelberg [Fri, 11 Nov 2011 22:40:38 +0000 (22:40 +0000)]
update debian/patches
Michael Stapelberg [Fri, 11 Nov 2011 22:37:01 +0000 (22:37 +0000)]
debian: add new manpages to i3-wm.manpages
Michael Stapelberg [Fri, 11 Nov 2011 22:33:45 +0000 (22:33 +0000)]
bump manpage version to 4.1
Michael Stapelberg [Fri, 11 Nov 2011 22:29:10 +0000 (22:29 +0000)]
Add manpages for i3-sensible-{pager,editor,terminal}
Michael Stapelberg [Fri, 11 Nov 2011 22:17:49 +0000 (22:17 +0000)]
update debian packaging
Michael Stapelberg [Fri, 11 Nov 2011 21:47:43 +0000 (21:47 +0000)]
Add release notes for v4.1
Michael Stapelberg [Fri, 11 Nov 2011 21:28:32 +0000 (21:28 +0000)]
debian: update changelog
Michael Stapelberg [Fri, 11 Nov 2011 19:19:14 +0000 (19:19 +0000)]
Bugfix: Only go to the parent container in resizing if that is actually a split container
(as opposed to a workspace)
This fixes a regression in resizing. We do need testcases for these things.
Michael Stapelberg [Fri, 11 Nov 2011 00:28:04 +0000 (00:28 +0000)]
Bugfix: Correctly handle --no-startup-id with quoted exec commands (Thanks aksr)
Parser changes shortly before a release. What could possibly go wrong.
Michael Stapelberg [Thu, 10 Nov 2011 23:37:53 +0000 (23:37 +0000)]
docs/userguide: make the bar config reflect reality
Forgot to update this when changing the color.
Michael Stapelberg [Thu, 10 Nov 2011 20:30:51 +0000 (20:30 +0000)]
Bugfix: Render floating windows after rendering all outputs (Thanks mw)
Fixes #548
See the comment on why this is necessary.
Michael Stapelberg [Thu, 10 Nov 2011 19:35:36 +0000 (19:35 +0000)]
Bugfix: Fix tabbed container resizing check (Thanks julien)
Fixes: #534
Turns out that my check was wrong. We actually just need to make sure we are
dealing with the split container.
Michael Stapelberg [Thu, 10 Nov 2011 19:17:36 +0000 (19:17 +0000)]
mark parameters const
Michael Stapelberg [Thu, 10 Nov 2011 18:43:03 +0000 (18:43 +0000)]
t/154-regress-multiple-dock: s/next v/focus right
Michael Stapelberg [Thu, 10 Nov 2011 18:42:24 +0000 (18:42 +0000)]
Bugfix: Correctly return to initial state after prev/next/back_and_forth (Thanks Brian)
Fixes: #552
Michael Stapelberg [Thu, 10 Nov 2011 18:38:29 +0000 (18:38 +0000)]
s/1/true
Michael Stapelberg [Wed, 9 Nov 2011 23:23:21 +0000 (23:23 +0000)]
i3bar: fix event handling
i3bar would only handle one event at a time instead of all pending events.
Michael Stapelberg [Wed, 9 Nov 2011 23:22:44 +0000 (23:22 +0000)]
i3bar: correctly handle unmapped tray clients, reconfigure tray icons after mapping/unmapping (Thanks IsoLnCHiP)
Fixes #550
Michael Stapelberg [Wed, 9 Nov 2011 22:41:56 +0000 (22:41 +0000)]
complete-run: remove Carp::Always, slipped in when debugging
Michael Stapelberg [Wed, 9 Nov 2011 22:38:29 +0000 (22:38 +0000)]
complete-run: don’t print long logfile paths, they are useless by now anyway
Michael Stapelberg [Wed, 9 Nov 2011 22:36:32 +0000 (22:36 +0000)]
Merge remote-tracking branch 'mxf/complete-run-statusline' into next
Michael Stapelberg [Wed, 9 Nov 2011 22:23:33 +0000 (22:23 +0000)]
Bugfix: Correctly fill the buffer with zeros
Maik Fischer [Wed, 9 Nov 2011 21:21:10 +0000 (22:21 +0100)]
complete-run: log verbose output, display statuslines instead
Michael Stapelberg [Tue, 8 Nov 2011 22:49:25 +0000 (22:49 +0000)]
Enable (unlimited) core dumps when running i3 development versions
Also prints out useful stuff:
CORE DUMPS: You are running a development version of i3, so coredumps were
automatically enabled (ulimit -c unlimited).
CORE DUMPS: Your current working directory is "/home/michael/i3".
CORE DUMPS: Your core_pattern is: /tmp/%e.core.%p
i3 (tree) version
4.0.2-479-g26ab2ac (2011-11-08, branch "next") starting
This does not affect child processes of i3.
The intention of this change is to make debugging easier – it’s one less thing
users of the development version have to worry about when trying to help with
debugging.
Michael Stapelberg [Tue, 8 Nov 2011 20:37:24 +0000 (20:37 +0000)]
Bugfix: Insert container at the correct position on workspace-level when workspace_layout == default
Fixes #533
The problem was that the code was always executed. While it *attaches* the new
container to the workspace container, it also sets current = NULL and thus
always appends the container instead of inserting it after the currently
focused child. So now, we just don’t execute that code at all for
workspace_layout == default.
Michael Stapelberg [Tue, 8 Nov 2011 18:06:44 +0000 (18:06 +0000)]
docs/userguide: s/shrinked/shrunk (Thanks f8l)
Michael Stapelberg [Mon, 7 Nov 2011 23:45:28 +0000 (23:45 +0000)]
lib/SocketActivation: don’t make POSIX export everything (Thanks mxf)
Michael Stapelberg [Mon, 7 Nov 2011 23:39:45 +0000 (23:39 +0000)]
lib/StartXDummy: use close STDOUT, STDERR instead of POSIX::close (Thanks mxf)
Michael Stapelberg [Mon, 7 Nov 2011 23:22:41 +0000 (23:22 +0000)]
update docs/testsuite with the simpler invocation of complete-run.pl
Michael Stapelberg [Mon, 7 Nov 2011 23:18:36 +0000 (23:18 +0000)]
Merge branch 'complete-run' into next
Michael Stapelberg [Mon, 7 Nov 2011 23:07:08 +0000 (23:07 +0000)]
lib/StartXDummy.pm: document why we use -config /dev/null
Michael Stapelberg [Mon, 7 Nov 2011 23:04:45 +0000 (23:04 +0000)]
complete-run.pl: automatically start Xdummy instances unless -d is specified
This makes running the testsuite incredibly easy:
$ ./complete-run.pl
:)
Michael Stapelberg [Mon, 7 Nov 2011 22:38:06 +0000 (22:38 +0000)]
complete-run: Bugfix: return condvar when $dont_start is true
Michael Stapelberg [Mon, 7 Nov 2011 21:34:50 +0000 (21:34 +0000)]
i3bar: fix indention in src/child.c
Michael Stapelberg [Mon, 7 Nov 2011 21:34:39 +0000 (21:34 +0000)]
ipc: fix memory leaks when clients disconnect
Michael Stapelberg [Mon, 7 Nov 2011 21:21:51 +0000 (21:21 +0000)]
complete-run.pl: implement --help
Michael Stapelberg [Mon, 7 Nov 2011 20:56:36 +0000 (20:56 +0000)]
complete-run: Bugfix: Don’t call recv inside a callback when cleanly exiting i3
Michael Stapelberg [Mon, 7 Nov 2011 20:56:04 +0000 (20:56 +0000)]
complete-run: Use Carp::Always to get nice stacktraces in case of errors
Michael Stapelberg [Mon, 7 Nov 2011 20:54:33 +0000 (20:54 +0000)]
lib/SocketActivation: use single quotes (for consistency)
Michael Stapelberg [Mon, 7 Nov 2011 20:53:49 +0000 (20:53 +0000)]
complete-run: implement --valgrind
Michael Stapelberg [Mon, 7 Nov 2011 20:52:14 +0000 (20:52 +0000)]
complete-run: pass outdir (not only logpath) to activate_i3()
Fernando Tarlá Cardoso Lemos [Sun, 6 Nov 2011 22:03:47 +0000 (20:03 -0200)]
Don't call free on statically allocated strings.
Fixes segfault when the option -f is used. Also, don't leak prompt
strings. We either keep FREE to prevent leaking, or choose to leak
and avoid strdup. Another option would be using a flag to indicate
whether or not the strings are heap allocated, but it's overkill.
Fernando Tarlá Cardoso Lemos [Sun, 6 Nov 2011 22:01:25 +0000 (20:01 -0200)]
Plug minor leaks in string conversion routines.
Michael Stapelberg [Mon, 7 Nov 2011 19:52:21 +0000 (19:52 +0000)]
i3bar: change default color for active workspace buttons to make them visible
Previously, you could not figure out which workspace is displayed on a screen
which is not focused.
Michael Stapelberg [Mon, 31 Oct 2011 20:44:55 +0000 (20:44 +0000)]
i3bar: fix -h output (Thanks IsoLnCHiP)
Michael Stapelberg [Mon, 31 Oct 2011 12:11:34 +0000 (12:11 +0000)]
Bugfix: RandR: Correctly keep focus on the focused workspace when an output disappears (Thanks AlexanderB, xeen)
Michael Stapelberg [Sat, 29 Oct 2011 21:58:32 +0000 (22:58 +0100)]
docs/userguide: clarify proportional resizing with floating modifier (Thanks Donald)
Michael Stapelberg [Thu, 27 Oct 2011 22:30:29 +0000 (23:30 +0100)]
fix t/120-multiple-cmds: open a window before moving
Michael Stapelberg [Thu, 27 Oct 2011 22:27:33 +0000 (23:27 +0100)]
Error out early if there is nothing to move
Fixes: #532
Michael Stapelberg [Thu, 27 Oct 2011 21:45:34 +0000 (22:45 +0100)]
docs/userguide: update the workspace assignment section
Michael Stapelberg [Thu, 27 Oct 2011 21:43:53 +0000 (22:43 +0100)]
Make named workspace assignments work again
Please note that you need a quoted string for the workspace name.
Example:
workspace "1: www" output HDMI2
Fixes: #456
Michael Stapelberg [Thu, 27 Oct 2011 21:29:47 +0000 (22:29 +0100)]
Bugfix: warp pointer during the EnterNotify-disabled phase
Following bug:
1) Assign workspace 9 to output HDMI2
2) On HDMI2, be on workspace 1
3) Focus a different output, say LVDS1
4) Execute i3 'workspace 9'
5) Something happens, but you end up back on ws 1
(this is due to an EnterNotify being generated when warping)
Michael Stapelberg [Thu, 27 Oct 2011 20:52:59 +0000 (21:52 +0100)]
Merge branch 'move-floating' into next
Michael Stapelberg [Thu, 27 Oct 2011 20:52:39 +0000 (21:52 +0100)]
docs/userguide: Document the move syntax
Michael Stapelberg [Thu, 27 Oct 2011 20:46:15 +0000 (21:46 +0100)]
Make 'move' handle floating windows properly
This means you can now specify an amount of pixels for the move command. The
default is 10. Note that this of course only works for floating windows.
Example:
move left 20 px