]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agocomplete-run: don’t parallelize more than the number of tests
Michael Stapelberg [Sat, 17 Dec 2011 11:19:31 +0000 (11:19 +0000)]
complete-run: don’t parallelize more than the number of tests

12 years agotests: add test for previous commit
Michael Stapelberg [Sat, 17 Dec 2011 11:18:43 +0000 (11:18 +0000)]
tests: add test for previous commit

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 17 Dec 2011 11:18:35 +0000 (11:18 +0000)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-var-tabs'
Michael Stapelberg [Sat, 17 Dec 2011 11:18:17 +0000 (11:18 +0000)]
Merge branch 'fix-var-tabs'

12 years agoBugfix: Skip leading whitespace in variable assignments (Thanks ben)
Michael Stapelberg [Sat, 17 Dec 2011 11:16:34 +0000 (11:16 +0000)]
Bugfix: Skip leading whitespace in variable assignments (Thanks ben)

Fixes: #577
12 years agoMake complete-run store the timings, schedule tests and print time estimate
Michael Stapelberg [Fri, 16 Dec 2011 16:52:32 +0000 (16:52 +0000)]
Make complete-run store the timings, schedule tests and print time estimate

Yay for self-optimizing software and time estimates

12 years agodocs/ipc: the command has a reply now
Michael Stapelberg [Thu, 15 Dec 2011 17:30:32 +0000 (17:30 +0000)]
docs/ipc: the command has a reply now

12 years agoMerge branch 'logbuf' into next
Michael Stapelberg [Sat, 10 Dec 2011 11:35:37 +0000 (11:35 +0000)]
Merge branch 'logbuf' into next

12 years agotests: disable SHM logging, we redirect anyways
Michael Stapelberg [Sat, 10 Dec 2011 11:32:15 +0000 (11:32 +0000)]
tests: disable SHM logging, we redirect anyways

12 years agoadd i3-dump-log, a tool to dump the SHM log
Michael Stapelberg [Sat, 10 Dec 2011 11:27:40 +0000 (11:27 +0000)]
add i3-dump-log, a tool to dump the SHM log

12 years agoimplement the GET_LOG_MARKERS IPC request/reply
Michael Stapelberg [Sat, 10 Dec 2011 11:16:32 +0000 (11:16 +0000)]
implement the GET_LOG_MARKERS IPC request/reply

12 years agoadd TYPE_GET_LOG_MARKERS to i3-msg
Michael Stapelberg [Sat, 10 Dec 2011 11:16:12 +0000 (11:16 +0000)]
add TYPE_GET_LOG_MARKERS to i3-msg

12 years agofix the SHM log size
Michael Stapelberg [Sat, 10 Dec 2011 11:15:57 +0000 (11:15 +0000)]
fix the SHM log size

12 years agosighandler: handle all "Core" signals
Michael Stapelberg [Sat, 10 Dec 2011 11:05:37 +0000 (11:05 +0000)]
sighandler: handle all "Core" signals

12 years agoIntroduce --shmlog-size flag, unlink SHM log when exiting
Michael Stapelberg [Sat, 10 Dec 2011 10:51:55 +0000 (10:51 +0000)]
Introduce --shmlog-size flag, unlink SHM log when exiting

12 years agoImplement logging to a SHM ringbuffer
Michael Stapelberg [Fri, 9 Dec 2011 22:27:35 +0000 (22:27 +0000)]
Implement logging to a SHM ringbuffer

This feature is automatically enabled when running a debug version of i3.
The logfile will use 1% of your physical RAM size, but at max 25 MiB.

12 years agoi3-nagbar: add -t to the synopsis (Thanks gamo)
Michael Stapelberg [Wed, 7 Dec 2011 18:19:11 +0000 (18:19 +0000)]
i3-nagbar: add -t to the synopsis (Thanks gamo)

12 years agotestcases: introduce TestWorker.pm
Maik Fischer [Tue, 29 Nov 2011 12:48:04 +0000 (13:48 +0100)]
testcases: introduce TestWorker.pm

instead of executing a new perl interpreter (via TAP::Parser)
each time we start a testfile, fork a TestWorker for each display.

Each worker preloads i3test via 'require', blocking waits on its ipc
to get a new filename, forks itself upon arrival and 'do'es this
testscript.

12 years agotestcases: move Xdummy cleanup code to StartXDummy
Maik Fischer [Sun, 27 Nov 2011 17:21:41 +0000 (18:21 +0100)]
testcases: move Xdummy cleanup code to StartXDummy

12 years agocomplete-run: add cleanup sighandler
Maik Fischer [Sun, 27 Nov 2011 16:59:25 +0000 (17:59 +0100)]
complete-run: add cleanup sighandler

12 years agocomplete-run: reorder code to make code flow more clear
Maik Fischer [Sun, 27 Nov 2011 16:24:18 +0000 (17:24 +0100)]
complete-run: reorder code to make code flow more clear

12 years agocomplete-run: die if X11::XCB couldn’t connect to a display
Maik Fischer [Sun, 27 Nov 2011 16:03:52 +0000 (17:03 +0100)]
complete-run: die if X11::XCB couldn’t connect to a display

12 years agotestcases: always start i3 through i3test::launch_with_config
Maik Fischer [Fri, 25 Nov 2011 16:39:19 +0000 (17:39 +0100)]
testcases: always start i3 through i3test::launch_with_config

this will pave the way to just call BAIL_OUT and stop the currently
running testfile if i3 died for whatever reason.

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
12 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 24 Nov 2011 23:50:11 +0000 (23:50 +0000)]
Merge branch 'master' into next

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

12 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

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

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

12 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

12 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

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

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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

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

12 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

12 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

12 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

12 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

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

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

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

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

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

12 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

12 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

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

12 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

12 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