]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agoHandle the case where there's no font char infos.
Fernando Tarlá Cardoso Lemos [Sun, 27 Nov 2011 19:45:24 +0000 (17:45 -0200)]
Handle the case where there's no font char infos.

Fixes i3bar crash with some fonts (and possible i3 crash too).
Thanks to xeen for reporting the issue.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 26 Nov 2011 22:25:06 +0000 (22:25 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-baf'
Michael Stapelberg [Sat, 26 Nov 2011 22:24:53 +0000 (22:24 +0000)]
Merge branch 'fix-baf'

12 years agoBugfix: Don’t create a workspace named "back_and_forth" on startup
Michael Stapelberg [Sat, 26 Nov 2011 22:24:30 +0000 (22:24 +0000)]
Bugfix: Don’t create a workspace named "back_and_forth" on startup

Fixes #565

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 26 Nov 2011 22:18:01 +0000 (22:18 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-dock-focus'
Michael Stapelberg [Sat, 26 Nov 2011 22:17:58 +0000 (22:17 +0000)]
Merge branch 'fix-dock-focus'

12 years agoBugfix: Fix crash on '[class="i3bar"] focus' (+test) (Thanks f8l)
Michael Stapelberg [Sat, 26 Nov 2011 22:17:34 +0000 (22:17 +0000)]
Bugfix: Fix crash on '[class="i3bar"] focus' (+test) (Thanks f8l)

Fixes #575

12 years agoInvalidate cached pixmaps on reload and redraw.
Fernando Tarlá Cardoso Lemos [Wed, 23 Nov 2011 23:12:36 +0000 (21:12 -0200)]
Invalidate cached pixmaps on reload and redraw.

After a reload, the drawing parameters for the decorations might
have changed, so we need to invalidate the cache and force a redraw
of the currently visible decorations. Also, don't leak the previous
font when reloading by freeing it before parsing the config.

13 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 26 Nov 2011 21:30:44 +0000 (21:30 +0000)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-comment'
Michael Stapelberg [Sat, 26 Nov 2011 21:30:40 +0000 (21:30 +0000)]
Merge branch 'fix-comment'

13 years agoFix comment for the previous commit
Michael Stapelberg [Sat, 26 Nov 2011 21:30:26 +0000 (21:30 +0000)]
Fix comment for the previous commit

13 years agotests: add test for ticket #561 (floating window size when changing border)
Michael Stapelberg [Sat, 26 Nov 2011 21:19:48 +0000 (21:19 +0000)]
tests: add test for ticket #561 (floating window size when changing border)

13 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 26 Nov 2011 21:19:30 +0000 (21:19 +0000)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-float-border'
Michael Stapelberg [Sat, 26 Nov 2011 21:19:26 +0000 (21:19 +0000)]
Merge branch 'fix-float-border'

13 years agoBugfix: Retain absolute window position and size when changing floating borders ...
Michael Stapelberg [Sat, 26 Nov 2011 21:18:23 +0000 (21:18 +0000)]
Bugfix: Retain absolute window position and size when changing floating borders (Thanks binzter)

Fixes: #561
13 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 24 Nov 2011 23:50:11 +0000 (23:50 +0000)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-norandr'
Michael Stapelberg [Thu, 24 Nov 2011 23:50:08 +0000 (23:50 +0000)]
Merge branch 'fix-norandr'

13 years agoBugfix: Fix startup when RandR is not present
Michael Stapelberg [Thu, 24 Nov 2011 23:49:35 +0000 (23:49 +0000)]
Bugfix: Fix startup when RandR is not present

13 years agohacking-howto: little fixes
Michael Stapelberg [Thu, 24 Nov 2011 23:49:20 +0000 (23:49 +0000)]
hacking-howto: little fixes

13 years agohacking-howto: s/iFunc/Func/ (Thanks mxf)
Michael Stapelberg [Wed, 23 Nov 2011 22:17:50 +0000 (22:17 +0000)]
hacking-howto: s/iFunc/Func/ (Thanks mxf)

13 years agoMerge branch 'hacking-howto' into next
Michael Stapelberg [Wed, 23 Nov 2011 21:54:52 +0000 (21:54 +0000)]
Merge branch 'hacking-howto' into next

13 years agohacking-howto: document X11 pushing/drawing
Michael Stapelberg [Wed, 23 Nov 2011 21:54:03 +0000 (21:54 +0000)]
hacking-howto: document X11 pushing/drawing

13 years agohacking-howto: document v4 rendering
Michael Stapelberg [Tue, 22 Nov 2011 23:54:54 +0000 (23:54 +0000)]
hacking-howto: document v4 rendering

13 years agohacking-howto: document thought-experiment (why cgroups don’t solve the window starts...
Michael Stapelberg [Sat, 27 Aug 2011 17:36:07 +0000 (19:36 +0200)]
hacking-howto: document thought-experiment (why cgroups don’t solve the window starts on wrong workspace problem)

13 years agohacking-howto: rendering (INCOMPLETE)
Michael Stapelberg [Wed, 17 Aug 2011 08:57:39 +0000 (10:57 +0200)]
hacking-howto: rendering (INCOMPLETE)

13 years agohacking-howto: update 'Data structures' for v4
Michael Stapelberg [Wed, 17 Aug 2011 00:26:35 +0000 (02:26 +0200)]
hacking-howto: update 'Data structures' for v4

13 years agoMerge branch 'testsuite' into next
Michael Stapelberg [Wed, 23 Nov 2011 20:34:02 +0000 (20:34 +0000)]
Merge branch 'testsuite' into next

13 years agotestcases: use open_window everywhere
Maik Fischer [Wed, 23 Nov 2011 16:22:43 +0000 (17:22 +0100)]
testcases: use open_window everywhere

13 years agoi3test.pm: add before_map hook to open_window
Maik Fischer [Wed, 23 Nov 2011 16:21:11 +0000 (17:21 +0100)]
i3test.pm: add before_map hook to open_window

13 years agoi3test.pm: open_(floating_)window: take arguments as hashref or key-value list
Maik Fischer [Wed, 23 Nov 2011 12:34:58 +0000 (13:34 +0100)]
i3test.pm: open_(floating_)window: take arguments as hashref or key-value list

13 years agotestcases: replace sleep with sync_with_i3 where appropiate
Maik Fischer [Wed, 23 Nov 2011 11:57:13 +0000 (12:57 +0100)]
testcases: replace sleep with sync_with_i3 where appropiate

13 years agotestcases: t/144-*: use open_window instead of launching urxvt
Maik Fischer [Wed, 23 Nov 2011 10:23:37 +0000 (11:23 +0100)]
testcases: t/144-*: use open_window instead of launching urxvt

13 years agoMerge branch 'testsuite' into next
Michael Stapelberg [Wed, 23 Nov 2011 00:04:53 +0000 (00:04 +0000)]
Merge branch 'testsuite' into next

13 years agotestcases: t/116-*: reinvent ignore() from Test::Deep
Maik Fischer [Tue, 22 Nov 2011 23:10:47 +0000 (00:10 +0100)]
testcases: t/116-*: reinvent ignore() from Test::Deep

13 years agotestcases: Makefile.PL: fix tabbing
Maik Fischer [Tue, 22 Nov 2011 23:10:00 +0000 (00:10 +0100)]
testcases: Makefile.PL: fix tabbing

13 years ago.gitignore: add generated testcases/Makefile
Maik Fischer [Tue, 22 Nov 2011 13:15:56 +0000 (14:15 +0100)]
.gitignore: add generated testcases/Makefile

13 years agotestcases: drop EV dependency
Maik Fischer [Tue, 22 Nov 2011 01:34:26 +0000 (02:34 +0100)]
testcases: drop EV dependency

13 years agotestcases: use Test::More is_deeply, don't depend on Test::Deep
Maik Fischer [Tue, 22 Nov 2011 01:21:47 +0000 (02:21 +0100)]
testcases: use Test::More is_deeply, don't depend on Test::Deep

13 years agotestcases: don't sync_with_i3() before $x->input_focus
Maik Fischer [Tue, 22 Nov 2011 00:27:08 +0000 (01:27 +0100)]
testcases: don't sync_with_i3() before $x->input_focus

since input_focus calls it anyways

13 years agotestcases: drop sync_with_i3()s $x parameter, use global
Maik Fischer [Tue, 22 Nov 2011 00:13:37 +0000 (01:13 +0100)]
testcases: drop sync_with_i3()s $x parameter, use global

13 years agotestcases: drop open_floating_window()s $x parameter, use global
Maik Fischer [Tue, 22 Nov 2011 00:00:54 +0000 (01:00 +0100)]
testcases: drop open_floating_window()s $x parameter, use global

13 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 22 Nov 2011 22:08:43 +0000 (22:08 +0000)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-warning'
Michael Stapelberg [Tue, 22 Nov 2011 22:08:40 +0000 (22:08 +0000)]
Merge branch 'fix-warning'

13 years agoFix prototype in include/xcursor.h (Thanks Greg Kroah-Hartman)
Michael Stapelberg [Tue, 22 Nov 2011 22:08:22 +0000 (22:08 +0000)]
Fix prototype in include/xcursor.h (Thanks Greg Kroah-Hartman)

13 years agoMakefiles: introduce $(FLEX) and $(BISON)
Michael Stapelberg [Tue, 22 Nov 2011 00:01:01 +0000 (00:01 +0000)]
Makefiles: introduce $(FLEX) and $(BISON)

13 years agoMerge branch 'testsuite' into next
Michael Stapelberg [Mon, 21 Nov 2011 23:52:18 +0000 (23:52 +0000)]
Merge branch 'testsuite' into next

13 years agotestcases: drop open_window()s $x parameter, use global one instead
Maik Fischer [Mon, 21 Nov 2011 23:47:32 +0000 (00:47 +0100)]
testcases: drop open_window()s $x parameter, use global one instead

13 years agot/005-floating.t: fix potentional race condition
Maik Fischer [Mon, 21 Nov 2011 23:42:26 +0000 (00:42 +0100)]
t/005-floating.t: fix potentional race condition

13 years agotestcases: use $x in wait_for_(un)map change to wait_for_(un)map($win)
Maik Fischer [Mon, 21 Nov 2011 22:44:20 +0000 (23:44 +0100)]
testcases: use $x in wait_for_(un)map change to wait_for_(un)map($win)

wait_for_unmap currently ignores its $window parameter, since
X11::XCB doesn't provide $event->{window} for unmap events yet.

13 years agotestcases: only export eq_deeply, cmp_deeply from Test::Deep
Maik Fischer [Mon, 21 Nov 2011 22:42:54 +0000 (23:42 +0100)]
testcases: only export eq_deeply, cmp_deeply from Test::Deep

13 years agotestcases: undo 0f386a96 t/144-regress-floating-resize.t
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

13 years agotestcases: use global $x in wait_for_event, drop $x parameter
Maik Fischer [Mon, 21 Nov 2011 22:37:04 +0000 (23:37 +0100)]
testcases: use global $x in wait_for_event, drop $x parameter

13 years agotestcases: let i3test.pm export $x, adapt testcases
Maik Fischer [Mon, 21 Nov 2011 20:39:50 +0000 (21:39 +0100)]
testcases: let i3test.pm export $x, adapt testcases

13 years agotestcases: correctly enable lexical pragmata
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.

13 years agoi3test.pm: bail_out if injection of exported modules fails
Maik Fischer [Mon, 21 Nov 2011 16:33:18 +0000 (17:33 +0100)]
i3test.pm: bail_out if injection of exported modules fails

13 years agotestcases: move i3test::X11 from 170-force_focus_wrapping.t into i3test.pm
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

13 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 21 Nov 2011 23:10:09 +0000 (23:10 +0000)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-float-fs'
Michael Stapelberg [Mon, 21 Nov 2011 23:10:06 +0000 (23:10 +0000)]
Merge branch 'fix-float-fs'

13 years agoBugfix: fix fullscreen with floating windows
Michael Stapelberg [Mon, 21 Nov 2011 23:04:49 +0000 (23:04 +0000)]
Bugfix: fix fullscreen with floating windows

Fixes: #564
13 years agoMerge branch 'drawing' into next (Thanks fernandotcl)
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)

13 years agolittle style fixes
Michael Stapelberg [Mon, 21 Nov 2011 21:48:24 +0000 (21:48 +0000)]
little style fixes

13 years agoImplement set_font_colors.
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.

13 years agoMake all programs use draw_text.
Fernando Tarlá Cardoso Lemos [Sun, 13 Nov 2011 23:23:25 +0000 (21:23 -0200)]
Make all programs use draw_text.

13 years agoEnhance libi3 and use it in i3bar.
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.

13 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 21 Nov 2011 19:56:03 +0000 (19:56 +0000)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-focusin-dock'
Michael Stapelberg [Mon, 21 Nov 2011 19:56:00 +0000 (19:56 +0000)]
Merge branch 'fix-focusin-dock'

13 years agoBugfix: Skip dock clients when handling FocusIn events (Thanks cradle)
Michael Stapelberg [Mon, 21 Nov 2011 19:55:41 +0000 (19:55 +0000)]
Bugfix: Skip dock clients when handling FocusIn events (Thanks cradle)

13 years agotestcases: fix race conditions in various tests
Maik Fischer [Mon, 21 Nov 2011 15:49:22 +0000 (16:49 +0100)]
testcases: fix race conditions in various tests

13 years agocomplete-run: wait for all jobs to be finished
Maik Fischer [Thu, 10 Nov 2011 12:48:21 +0000 (13:48 +0100)]
complete-run: wait for all jobs to be finished

13 years agotestsuite: Makefile.PL: do not rename Makefile while running make clean
Maik Fischer [Sat, 12 Nov 2011 00:51:18 +0000 (01:51 +0100)]
testsuite: Makefile.PL: do not rename Makefile while running make clean

13 years agotests: replace left-over move before/after commands (Thanks mxf)
Michael Stapelberg [Mon, 21 Nov 2011 18:54:20 +0000 (18:54 +0000)]
tests: replace left-over move before/after commands (Thanks mxf)

13 years agotests: add t/180-fd-leaks to ensure i3 does not leak fds on exec
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

13 years agocomplete-run: close all fds except for 0, 1, 2
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

13 years agocomplete-run: close the old socket fd
Michael Stapelberg [Sun, 20 Nov 2011 10:24:13 +0000 (10:24 +0000)]
complete-run: close the old socket fd

13 years agoAlso check for empty $PAGER/$VISUAL/$EDITOR in i3-sensible-{editor,pager}
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}

13 years agoi3-sensible-terminal: check $TERMINAL to not call 'which' without parameters (Thanks...
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)

13 years agoclarify comments about socket activation (Thanks mxf)
Michael Stapelberg [Wed, 16 Nov 2011 23:14:57 +0000 (23:14 +0000)]
clarify comments about socket activation (Thanks mxf)

13 years agoipc: set CLOEXEC on client file descriptors (Thanks biiter)
Michael Stapelberg [Tue, 15 Nov 2011 23:39:43 +0000 (23:39 +0000)]
ipc: set CLOEXEC on client file descriptors (Thanks biiter)

13 years agolibi3/ucs2_conversion: tiny style fixes
Michael Stapelberg [Wed, 16 Nov 2011 21:41:55 +0000 (21:41 +0000)]
libi3/ucs2_conversion: tiny style fixes

13 years agotests: store temp configs in /tmp/
Michael Stapelberg [Wed, 16 Nov 2011 21:41:45 +0000 (21:41 +0000)]
tests: store temp configs in /tmp/

13 years agotests: Bugfix: Fix socket activation (see comment)
Michael Stapelberg [Wed, 16 Nov 2011 21:41:00 +0000 (21:41 +0000)]
tests: Bugfix: Fix socket activation (see comment)

13 years agoConsolidate all convert_* functions into libi3.
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.

13 years agodebian: make meta-package i3 depend on the precise version of i3-wm (Thanks Merovius)
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 :).

13 years agodebian: include PNGs of the userguide in docs
Michael Stapelberg [Tue, 15 Nov 2011 23:44:14 +0000 (23:44 +0000)]
debian: include PNGs of the userguide in docs

13 years agouserguide: use bar blocks in the bar related examples
Michael Stapelberg [Tue, 15 Nov 2011 23:42:41 +0000 (23:42 +0000)]
userguide: use bar blocks in the bar related examples

13 years agoipc: set CLOEXEC on client file descriptors (Thanks biiter)
Michael Stapelberg [Tue, 15 Nov 2011 23:39:43 +0000 (23:39 +0000)]
ipc: set CLOEXEC on client file descriptors (Thanks biiter)

13 years agocomplete-run: implement --strace, make --valgrind log to test-specific file
Michael Stapelberg [Tue, 15 Nov 2011 23:30:17 +0000 (23:30 +0000)]
complete-run: implement --strace, make --valgrind log to test-specific file

13 years agouserguide: s/enter/Return (use correct keysym) (Thanks mxf)
Michael Stapelberg [Tue, 15 Nov 2011 20:20:54 +0000 (20:20 +0000)]
userguide: s/enter/Return (use correct keysym) (Thanks mxf)

13 years agolib/SocketActivation: Bugfix: remove old code which leaks the socket file descriptor...
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

13 years agodocs/userguide: make it clear how to use multiple output directives (Thanks moemoe)
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)

13 years agodocs/userguide: fix typo (Thanks sycamorex)
Michael Stapelberg [Sun, 13 Nov 2011 10:51:58 +0000 (10:51 +0000)]
docs/userguide: fix typo (Thanks sycamorex)

13 years agodebian: add changelog entry for upcoming version (for autobuilder)
Michael Stapelberg [Fri, 11 Nov 2011 23:00:08 +0000 (23:00 +0000)]
debian: add changelog entry for upcoming version (for autobuilder)

13 years agoMerge branch 'next'
Michael Stapelberg [Fri, 11 Nov 2011 22:49:20 +0000 (22:49 +0000)]
Merge branch 'next'

13 years agoMerge branch 'release-4.1' into next
Michael Stapelberg [Fri, 11 Nov 2011 22:49:15 +0000 (22:49 +0000)]
Merge branch 'release-4.1' into next

13 years agoupdate debian/patches 4.1
Michael Stapelberg [Fri, 11 Nov 2011 22:40:38 +0000 (22:40 +0000)]
update debian/patches

13 years agodebian: add new manpages to i3-wm.manpages
Michael Stapelberg [Fri, 11 Nov 2011 22:37:01 +0000 (22:37 +0000)]
debian: add new manpages to i3-wm.manpages

13 years agobump manpage version to 4.1
Michael Stapelberg [Fri, 11 Nov 2011 22:33:45 +0000 (22:33 +0000)]
bump manpage version to 4.1

13 years agoAdd manpages for i3-sensible-{pager,editor,terminal}
Michael Stapelberg [Fri, 11 Nov 2011 22:29:10 +0000 (22:29 +0000)]
Add manpages for i3-sensible-{pager,editor,terminal}

13 years agoupdate debian packaging
Michael Stapelberg [Fri, 11 Nov 2011 22:17:49 +0000 (22:17 +0000)]
update debian packaging

13 years agoAdd release notes for v4.1
Michael Stapelberg [Fri, 11 Nov 2011 21:47:43 +0000 (21:47 +0000)]
Add release notes for v4.1