]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agotestcases: Makefile.PL: NAME =~ s/ /-/
Maik Fischer [Fri, 25 Nov 2011 16:04:52 +0000 (17:04 +0100)]
testcases: Makefile.PL: NAME =~ s/ /-/

since NAME is used to generate targets,
a space will lead to invalid syntax eg:
Makefile:547: warning: overriding commands for target `i3'
Makefile:536: warning: ignoring old commands for target `i3'

12 years agoStartXdummy.pm: make Xdummy startup a bit more robust
Maik Fischer [Thu, 24 Nov 2011 13:06:55 +0000 (14:06 +0100)]
StartXdummy.pm: make Xdummy startup a bit more robust

12 years agohacking-howto: talk about the tree data structure
Michael Stapelberg [Wed, 30 Nov 2011 20:55:48 +0000 (20:55 +0000)]
hacking-howto: talk about the tree data structure

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 30 Nov 2011 20:34:54 +0000 (20:34 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'noworkarea'
Michael Stapelberg [Wed, 30 Nov 2011 20:34:49 +0000 (20:34 +0000)]
Merge branch 'noworkarea'

12 years agoDon’t set the _NET_WM_WORKAREA hint at all (Thanks cg)
Michael Stapelberg [Wed, 30 Nov 2011 20:33:07 +0000 (20:33 +0000)]
Don’t set the _NET_WM_WORKAREA hint at all (Thanks cg)

Fixes: #539
12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 30 Nov 2011 20:10:45 +0000 (20:10 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'displayversion'
Michael Stapelberg [Wed, 30 Nov 2011 20:10:42 +0000 (20:10 +0000)]
Merge branch 'displayversion'

12 years agodisplay i3 version in errors, make conversion message an error
Michael Stapelberg [Wed, 30 Nov 2011 20:09:32 +0000 (20:09 +0000)]
display i3 version in errors, make conversion message an error

12 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 29 Nov 2011 22:37:11 +0000 (22:37 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-nested-resize'
Michael Stapelberg [Tue, 29 Nov 2011 22:37:08 +0000 (22:37 +0000)]
Merge branch 'fix-nested-resize'

12 years agoBugfix: Fix 'resize' command in nested containers (Thanks mseed)
Michael Stapelberg [Tue, 29 Nov 2011 22:36:40 +0000 (22:36 +0000)]
Bugfix: Fix 'resize' command in nested containers (Thanks mseed)

Fixes: #559
12 years agoman: change URL (Thanks aksr)
Michael Stapelberg [Tue, 29 Nov 2011 22:36:00 +0000 (22:36 +0000)]
man: change URL (Thanks aksr)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 29 Nov 2011 21:24:05 +0000 (21:24 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'v4-keywords'
Michael Stapelberg [Tue, 29 Nov 2011 21:24:01 +0000 (21:24 +0000)]
Merge branch 'v4-keywords'

12 years agoadd a few more keywords to make i3 recognize configs as v4
Michael Stapelberg [Tue, 29 Nov 2011 21:20:42 +0000 (21:20 +0000)]
add a few more keywords to make i3 recognize configs as v4

12 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 29 Nov 2011 20:50:11 +0000 (20:50 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-resize'
Michael Stapelberg [Tue, 29 Nov 2011 20:50:09 +0000 (20:50 +0000)]
Merge branch 'fix-resize'

12 years agoBugfix: Fix resizing for (e.g.) v-split containers in h-split containers
Michael Stapelberg [Tue, 29 Nov 2011 20:48:59 +0000 (20:48 +0000)]
Bugfix: Fix resizing for (e.g.) v-split containers in h-split containers

Fixes: #562
12 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 28 Nov 2011 23:28:03 +0000 (23:28 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-tab-focus'
Michael Stapelberg [Mon, 28 Nov 2011 23:27:46 +0000 (23:27 +0000)]
Merge branch 'fix-tab-focus'

12 years agoBugfix: Ignore EnterNotify events to prevent wrong focus in complex tabbed/stacked...
Michael Stapelberg [Mon, 28 Nov 2011 23:26:45 +0000 (23:26 +0000)]
Bugfix: Ignore EnterNotify events to prevent wrong focus in complex tabbed/stacked layouts (Thanks Phlogistique)

Fixes #560

Finally we have a good explanation and example for why we need to ignore
EnterNotify events which were caused by an Unmap :).

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 27 Nov 2011 21:44:28 +0000 (21:44 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-whitespace'
Michael Stapelberg [Sun, 27 Nov 2011 21:44:25 +0000 (21:44 +0000)]
Merge branch 'fix-whitespace'

12 years agoconvert tabs into whitespaces in config files
mgsnova [Sun, 27 Nov 2011 13:18:50 +0000 (14:18 +0100)]
convert tabs into whitespaces in config files

12 years agoImplement new "i3bar_command" option for bar.
Jan-Erik Rediger [Thu, 24 Nov 2011 20:53:29 +0000 (21:53 +0100)]
Implement new "i3bar_command" option for bar.

This allows you to specify an alternate path to the i3bar binary.
The userguide docu is included.

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.

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

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

12 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

12 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)

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

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

12 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