]>
git.sur5r.net Git - i3/i3/log
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
Michael Stapelberg [Thu, 27 Oct 2011 20:46:01 +0000 (21:46 +0100)]
extend t/124-move.t to test move for floating containers
Michael Stapelberg [Thu, 27 Oct 2011 20:22:41 +0000 (21:22 +0100)]
t/124-move.t: re-activate test for useless move commands
Michael Stapelberg [Thu, 27 Oct 2011 19:36:55 +0000 (20:36 +0100)]
Bugfix: Don’t invoke resizing when clicking on the decoration in a > 1 child split con (Thanks julien)
Fixes: #534
Michael Stapelberg [Wed, 26 Oct 2011 20:21:55 +0000 (21:21 +0100)]
Bugfix: Only fallback on the font if it’s actually set (Thanks phnom)
Michael Stapelberg [Tue, 25 Oct 2011 22:41:52 +0000 (23:41 +0100)]
Also call workspace_show() when moving cursor to an empty output (Thanks mw)
Michael Stapelberg [Tue, 25 Oct 2011 22:04:10 +0000 (23:04 +0100)]
Bugfix: Correctly use workspace_show() when focus changes to a different output via EnterNotify or FocusIn (Thanks pnutzh4x0r)
This makes i3bar show the correct workspace when you move your mouse from one
output to another.
Michael Stapelberg [Tue, 25 Oct 2011 21:31:57 +0000 (22:31 +0100)]
Bugfix: properly handle comments in colors {} blocks of bar config (+test) (Thanks fernandotcl)
Michael Stapelberg [Tue, 25 Oct 2011 21:23:35 +0000 (22:23 +0100)]
Merge branch 'exec_nosn' into next
Michael Stapelberg [Tue, 25 Oct 2011 21:21:59 +0000 (22:21 +0100)]
complete-run: clear the DESKTOP_STARTUP_ID environment variable before starting i3
Michael Stapelberg [Tue, 25 Oct 2011 21:21:37 +0000 (22:21 +0100)]
tests: extend t/175-startup-notification to test the --no-startup-id flag
Michael Stapelberg [Tue, 25 Oct 2011 21:21:09 +0000 (22:21 +0100)]
docs/userguide: document the --no-startup-id flag for exec directives in the config
Michael Stapelberg [Tue, 25 Oct 2011 21:18:40 +0000 (22:18 +0100)]
docs/userguide: document the --no-startup-id flag
Michael Stapelberg [Tue, 25 Oct 2011 21:18:17 +0000 (22:18 +0100)]
Add a --no-startup-id flag for exec (command), exec (config), exec_always (config)
Michael Stapelberg [Tue, 25 Oct 2011 20:19:38 +0000 (21:19 +0100)]
normalize file headers across **/*.{h,c}
Michael Stapelberg [Tue, 25 Oct 2011 19:50:57 +0000 (20:50 +0100)]
bar config: fall back to the i3 font (Thanks pl)
Michael Stapelberg [Mon, 24 Oct 2011 19:11:32 +0000 (20:11 +0100)]
i3bar: put tray icons in the save-set (prevents them from crashing when i3bar exits/crashes)
Fernando Tarlá Cardoso Lemos [Sun, 23 Oct 2011 21:06:43 +0000 (19:06 -0200)]
Close empty workspaces if they're not visible.
Previously, we'd only close an empty workspace when we moved away
from it. Now we also close it when the last client exits, as long
as that workspace is not visible anymore.
Michael Stapelberg [Sun, 23 Oct 2011 22:20:57 +0000 (23:20 +0100)]
get rid of xcb.c in all i3-* tools
open_input_window was slightly different for each of them, so it made no sense
to generalize it (then we would end up with a thin and useless wrapper).
Michael Stapelberg [Sun, 23 Oct 2011 21:37:11 +0000 (22:37 +0100)]
Add libi3/load_font, use it everywhere
…except for i3bar, which needs slightly more information about the font
Michael Stapelberg [Sun, 23 Oct 2011 21:03:20 +0000 (22:03 +0100)]
remove unused cached_fonts TAILQ
Michael Stapelberg [Sun, 23 Oct 2011 21:02:11 +0000 (22:02 +0100)]
Actually make load_font only fallback if 'fallback' is true
Michael Stapelberg [Sun, 23 Oct 2011 20:51:43 +0000 (21:51 +0100)]
Fix tests: s/i3bar/bar {/ and hash prefix for color codes in GET_BAR_CONFIG
Michael Stapelberg [Sun, 23 Oct 2011 20:45:12 +0000 (21:45 +0100)]
Fix comment in run_assignments (Thanks xeen)
Michael Stapelberg [Sun, 23 Oct 2011 20:26:15 +0000 (21:26 +0100)]
Move get_mod_mask to libi3, use it in i3 and i3-config-wizard
Also, the API changed a bit. There are two functions now, both assume you
already got the keysyms (which is the case for i3 and i3-config-wizard),
one gets the modifier mapping for you (aio_get_mod_mask_for) while the other
assumes you also got that. No roundtrips are required for the latter.
Michael Stapelberg [Sun, 23 Oct 2011 18:41:40 +0000 (19:41 +0100)]
Introduce --get_socketpath and --force_xinerama as synonyms for --get-socketpath and --force-xinerama
Michael Stapelberg [Sun, 23 Oct 2011 18:37:28 +0000 (19:37 +0100)]
i3-input: Remove unused get_mod_mask from xcb.c
Michael Stapelberg [Sun, 23 Oct 2011 18:34:48 +0000 (19:34 +0100)]
i3-input: fix handling of Mode_switch (makes special characters work again)
This seems to have only worked before in certain settings, where the modifiers
were configured in a way that it matched by chance…
Michael Stapelberg [Sun, 23 Oct 2011 18:34:21 +0000 (19:34 +0100)]
i3-input: Bugfix: font must be dynamically allocated, we FREE it later
Michael Stapelberg [Sun, 23 Oct 2011 17:33:21 +0000 (18:33 +0100)]
remove unused get_mod_mask from i3-config-wizard/xcb.{c,h}
Michael Stapelberg [Sun, 23 Oct 2011 17:06:25 +0000 (18:06 +0100)]
Eliminate xcb_change_gc_single everywhere with C99
Michael Stapelberg [Sun, 23 Oct 2011 17:02:01 +0000 (18:02 +0100)]
move strndup to libi3
Michael Stapelberg [Sun, 23 Oct 2011 16:55:58 +0000 (17:55 +0100)]
i3-nagbar: eliminate xcb_change_gc_single with C99
Michael Stapelberg [Sun, 23 Oct 2011 16:48:44 +0000 (17:48 +0100)]
Fix colors in i3bar (Thanks julien)
i3bar previously used get_colorpixel on strings without the leading # (ff0000
instead of #ff0000). Since it uses libi3’s get_colorpixel now we needed to
update a few places.
Michael Stapelberg [Sun, 23 Oct 2011 16:45:40 +0000 (17:45 +0100)]
i3-config-wizard: eliminate xcb_change_gc_single with C99
Michael Stapelberg [Sun, 23 Oct 2011 16:38:21 +0000 (17:38 +0100)]
Move get_colorpixel to libi3, use it everywhere else
Michael Stapelberg [Sun, 23 Oct 2011 16:26:06 +0000 (17:26 +0100)]
i3-input: eliminate xcb_change_gc_single usage with C99
Michael Stapelberg [Sun, 23 Oct 2011 16:18:14 +0000 (17:18 +0100)]
add libi3/ipc_connect, use it in i3-config-wizard, i3-input, i3bar
Michael Stapelberg [Sun, 23 Oct 2011 16:01:56 +0000 (17:01 +0100)]
debian: update package descriptions
Michael Stapelberg [Sun, 23 Oct 2011 15:53:16 +0000 (16:53 +0100)]
debian: use ${perl:Depends}, remove perl from build-deps, update recommends
We can drop the perl module recommends since i3-wsbar no longer ships with i3.
Michael Stapelberg [Sun, 23 Oct 2011 15:41:23 +0000 (16:41 +0100)]
cfgparse: use different literal strings for ambiguous keywords in bar context
Michael Stapelberg [Sun, 23 Oct 2011 15:39:18 +0000 (16:39 +0100)]
i3bar: make len an integer for %.*s in sasprintf
Michael Stapelberg [Sun, 23 Oct 2011 13:31:43 +0000 (14:31 +0100)]
i3bar: check exit code of pipe()
Michael Stapelberg [Sun, 23 Oct 2011 12:17:32 +0000 (13:17 +0100)]
docs/userguide: use the correct color keywords (Thanks Atsutane)
Michael Stapelberg [Sun, 23 Oct 2011 12:16:56 +0000 (13:16 +0100)]
introduce sasprintf() in libi3, use it everywhere
Michael Stapelberg [Sun, 23 Oct 2011 12:16:39 +0000 (13:16 +0100)]
makefile: correctly depend on libi3/*.c to recompile libi3 when necessary
Michael Stapelberg [Sun, 23 Oct 2011 12:16:26 +0000 (13:16 +0100)]
add libi3/libi3.a to .gitignore
Michael Stapelberg [Sun, 23 Oct 2011 12:15:20 +0000 (13:15 +0100)]
i3-input: use IPC functions from libi3
Michael Stapelberg [Sun, 23 Oct 2011 12:12:52 +0000 (13:12 +0100)]
i3-config-wizard: use IPC functions from libi3
Michael Stapelberg [Sun, 23 Oct 2011 11:10:20 +0000 (12:10 +0100)]
i3bar: makefile: correctly depend on libi3
Michael Stapelberg [Sun, 23 Oct 2011 11:02:03 +0000 (12:02 +0100)]
debian: raise dependency on debhelper
Michael Stapelberg [Sun, 23 Oct 2011 11:01:22 +0000 (12:01 +0100)]
lower dependency on libstartup-notification, fix build-dep in debian/control
Michael Stapelberg [Sun, 23 Oct 2011 11:00:56 +0000 (12:00 +0100)]
remove obsolete TERM_EMU build option
Michael Stapelberg [Sun, 23 Oct 2011 10:31:55 +0000 (11:31 +0100)]
makefile: use /bin/echo to get consistent results for the escaping
On the buildbot slave machine, we have a different version of zsh which seems
to handle this slightly different with the built-in echo…
Fernando Tarlá Cardoso Lemos [Sat, 22 Oct 2011 00:50:09 +0000 (22:50 -0200)]
Bump dh compat to 7, simplify debian/rules.
Also added hardening flags. We can't enable PIE because i3bar seems
to have problems with that. We also shouldn't enable bindnow, as it
the startup performance penalty (though probably not too bad) might
not be acceptable for i3-msg and i3-input.
Michael Stapelberg [Sat, 22 Oct 2011 23:15:13 +0000 (00:15 +0100)]
remove/shorten a lot of debugging messages
Some of them are useless nowadays, others very unlikely to be a problem.
Those which might still be interesting somewhen in the future are just
commented out.
Michael Stapelberg [Sat, 22 Oct 2011 22:40:02 +0000 (23:40 +0100)]
normalize modelines/headers across src/*.c
Michael Stapelberg [Sat, 22 Oct 2011 17:28:11 +0000 (18:28 +0100)]
Bugfix: i3.config: status_command, not status_line (Thanks eeemsi)
Michael Stapelberg [Sat, 22 Oct 2011 17:23:29 +0000 (18:23 +0100)]
update manpage for 'bar' config (Thanks eeemsi)
Michael Stapelberg [Sat, 22 Oct 2011 16:02:49 +0000 (17:02 +0100)]
Merge branch 'bar-config' into next
Michael Stapelberg [Sat, 22 Oct 2011 15:33:00 +0000 (16:33 +0100)]
migration from exec i3bar to bar config: i3 substitutes exec with a bar block, shows nagbar
Michael Stapelberg [Sat, 22 Oct 2011 15:16:06 +0000 (16:16 +0100)]
i3-nagbar: Implement -t warning, makes colors yellow(ish)
Michael Stapelberg [Sat, 22 Oct 2011 14:24:18 +0000 (15:24 +0100)]
i3-migrate-config-to-v4: generate a bar {} block instead of exec i3bar
Michael Stapelberg [Sat, 22 Oct 2011 14:08:24 +0000 (15:08 +0100)]
i3bar: delete include/queue.h, use i3’s copy
Michael Stapelberg [Sat, 22 Oct 2011 14:00:31 +0000 (15:00 +0100)]
i3bar: change default font to the i3 default one