]>
git.sur5r.net Git - i3/i3/log
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
Michael Stapelberg [Sat, 22 Oct 2011 11:34:06 +0000 (12:34 +0100)]
i3bar: change default colors to fit the i3 look & feel
The new default looks like this (like in docs/userguide):
colors {
background #000000
statusline #ffffff
focused_workspace #ffffff #285577
active_workspace #888888 #222222
inactive_workspace #888888 #222222
urgent_workspace #ffffff #900000
}
If you want to go back to the previous colors, use:
colors {
background #000000
statusline #ffffff
focused_workspace #ffffff #480000
active_workspace #ffffff #480000
inactive_workspace #ffffff #240000
urgent_workspace #ffffff #002400
}
Michael Stapelberg [Fri, 21 Oct 2011 22:22:48 +0000 (23:22 +0100)]
Bugfix: fix off by one when copying the hex colorcode (Thanks fernandotcl)
Michael Stapelberg [Fri, 21 Oct 2011 22:15:15 +0000 (23:15 +0100)]
i3bar: Bugfix: Don’t crash when tray_output is not set (Thanks fernandotcl)
Michael Stapelberg [Fri, 21 Oct 2011 22:09:57 +0000 (23:09 +0100)]
cfgparse: Don’t use asprintf when parsing hex colors
Michael Stapelberg [Fri, 21 Oct 2011 22:00:38 +0000 (23:00 +0100)]
tests: default bar mode changed
Michael Stapelberg [Fri, 21 Oct 2011 21:58:53 +0000 (22:58 +0100)]
Bugfix: properly transition in and out of the COLOR_COND state (Thanks fernandotcl)
Michael Stapelberg [Fri, 21 Oct 2011 21:22:02 +0000 (22:22 +0100)]
docs/userguide: document the output bar option
Michael Stapelberg [Fri, 21 Oct 2011 21:17:41 +0000 (22:17 +0100)]
i3bar: Implement the output option
Michael Stapelberg [Fri, 21 Oct 2011 19:04:55 +0000 (20:04 +0100)]
i3bar: spit out an error on wrong bar id
Michael Stapelberg [Fri, 21 Oct 2011 18:59:25 +0000 (19:59 +0100)]
i3bar: also use the position option when in 'hide' mode
Michael Stapelberg [Fri, 21 Oct 2011 18:50:40 +0000 (19:50 +0100)]
docs/userguide: document the tray_output bar option
Michael Stapelberg [Fri, 21 Oct 2011 18:47:56 +0000 (19:47 +0100)]
i3bar: implement the tray_output option
Michael Stapelberg [Fri, 21 Oct 2011 18:30:46 +0000 (19:30 +0100)]
i3bar: use safewrappers from libi3
Michael Stapelberg [Fri, 21 Oct 2011 18:06:53 +0000 (19:06 +0100)]
i3bar: makefile: fix dependency on libi3
Michael Stapelberg [Fri, 21 Oct 2011 18:03:54 +0000 (19:03 +0100)]
i3bar: makefile: prefix messages with [i3bar]
Michael Stapelberg [Fri, 21 Oct 2011 18:01:02 +0000 (19:01 +0100)]
change default config to use 'bar' blocks (Thanks mxf)
Michael Stapelberg [Fri, 21 Oct 2011 17:59:59 +0000 (18:59 +0100)]
i3bar: document -b in --help (Thanks mxf)
Michael Stapelberg [Thu, 20 Oct 2011 22:38:55 +0000 (23:38 +0100)]
bar config: make dock mode the default
Michael Stapelberg [Thu, 20 Oct 2011 22:38:34 +0000 (23:38 +0100)]
docs/userguide: document the bar configuration
Michael Stapelberg [Thu, 20 Oct 2011 21:55:24 +0000 (22:55 +0100)]
i3bar: update manpage
Michael Stapelberg [Thu, 20 Oct 2011 21:38:46 +0000 (22:38 +0100)]
cfgparse: eliminate absolute states, use yy_push_state/yy_pop_state
This fixes a problem with workspace assignments.
I tested i3 -C with three user configs (Thanks SardemFF7, julien, xeen)
and did not notice any problems.
Michael Stapelberg [Thu, 20 Oct 2011 21:25:59 +0000 (22:25 +0100)]
Don’t start i3-nagbar when using -C to validate the config
Michael Stapelberg [Thu, 20 Oct 2011 19:31:44 +0000 (20:31 +0100)]
tests: depend on AnyEvent::I3 0.09 (for get_bar_config)
Michael Stapelberg [Thu, 20 Oct 2011 19:16:07 +0000 (20:16 +0100)]
ipc: document the GET_BAR_CONFIG request/reply
Michael Stapelberg [Thu, 20 Oct 2011 18:51:01 +0000 (19:51 +0100)]
docs/ipc: fix example end
Michael Stapelberg [Thu, 20 Oct 2011 18:46:57 +0000 (19:46 +0100)]
docs/ipc: document i3 --get-socketpath
Michael Stapelberg [Thu, 20 Oct 2011 18:08:41 +0000 (19:08 +0100)]
i3bar: don’t reconnect, but exit(0) on EOF
Since i3 starts i3bar instances as necessary, EOF is considered a signal to
either shutdown because i3 exited or because it is restarting.
Michael Stapelberg [Thu, 20 Oct 2011 18:03:40 +0000 (19:03 +0100)]
Actually start i3bar instances for each configured bar
Michael Stapelberg [Thu, 20 Oct 2011 18:02:08 +0000 (19:02 +0100)]
tests: modify $PATH so that it prefers the compiled versions of everything in ../
Michael Stapelberg [Thu, 20 Oct 2011 17:47:09 +0000 (18:47 +0100)]
Clean bars before reloading the config (+test)
While the configuration gets updated in i3, the i3bar processes will not pick
up these changes. We have to think about a good way to do that.
Michael Stapelberg [Wed, 19 Oct 2011 21:58:19 +0000 (22:58 +0100)]
Make i3bar get its config from i3 via IPC
In order to not duplicate configuration options and make stuff confusing, we
dropped the commandline flags (except for socket_path and bar_id). This means
that you *have to* specify bar_id when starting i3bar. The best way is to let
i3 start i3bar, which it will do automatically for every bar {} configuration
block it finds.
Michael Stapelberg [Wed, 19 Oct 2011 18:57:39 +0000 (19:57 +0100)]
Create different IDs for each bar (+test)
Michael Stapelberg [Tue, 18 Oct 2011 21:16:04 +0000 (22:16 +0100)]
Implement parsing bar {} config blocks
Michael Stapelberg [Tue, 18 Oct 2011 21:15:48 +0000 (22:15 +0100)]
tests: add a test to check that bar configs are parsed correctly
Michael Stapelberg [Tue, 18 Oct 2011 21:12:46 +0000 (22:12 +0100)]
ipc: when requesting the bar config without a payload, return an array of available bar IDs
Michael Stapelberg [Tue, 18 Oct 2011 21:11:44 +0000 (22:11 +0100)]
Bugfix: Correctly close the colors map in the IPC bar config reply
Michael Stapelberg [Tue, 18 Oct 2011 21:11:27 +0000 (22:11 +0100)]
Make the barconfig list a TAILQ
Michael Stapelberg [Wed, 12 Oct 2011 22:23:09 +0000 (23:23 +0100)]
add an IPC request to get the bar configuration (by ID)
Michael Stapelberg [Wed, 12 Oct 2011 21:52:55 +0000 (22:52 +0100)]
add a data structure for 'bar' configuration
Michael Stapelberg [Wed, 12 Oct 2011 21:29:39 +0000 (22:29 +0100)]
reformat include/config.h
Peter Bui [Fri, 14 Oct 2011 15:36:32 +0000 (11:36 -0400)]
Focus new window only if it is on a visible workspace on the current focused output.
Michael Stapelberg [Tue, 18 Oct 2011 17:47:07 +0000 (18:47 +0100)]
Bugfix: Fix segfault when starting i3 (Thanks pnutzh4x0r)
Michael Stapelberg [Tue, 18 Oct 2011 17:32:47 +0000 (18:32 +0100)]
log: use localtime_r instead of localtime
localtime_r does not have the side-effect of behaving like it called tzset(),
in particular it will save one stat(/etc/localtime) syscall. This is not a big
deal, but it makes the strace output cleaner and thus more useful :).
Michael Stapelberg [Mon, 17 Oct 2011 22:35:19 +0000 (23:35 +0100)]
Merge branch 'workspace_baf' into next
Michael Stapelberg [Mon, 17 Oct 2011 22:34:29 +0000 (23:34 +0100)]
tests: add t/176-workspace-baf for the workspace back_and_forth feature
Michael Stapelberg [Mon, 17 Oct 2011 22:17:56 +0000 (23:17 +0100)]
Implement 'workspace back_and_forth' (Patch by Michael Walle)
Michael Stapelberg [Sat, 15 Oct 2011 22:32:04 +0000 (23:32 +0100)]
docs/Makefile: use $(ASCIIDOC), add asciidoc 'latest git docs' config
Michael Stapelberg [Sat, 15 Oct 2011 21:36:03 +0000 (22:36 +0100)]
debian: use debian/i3-wm.manpages instead of manuall installing manpages
Michael Stapelberg [Sat, 15 Oct 2011 15:56:47 +0000 (16:56 +0100)]
Bugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen)
Michael Stapelberg [Sat, 15 Oct 2011 15:56:32 +0000 (16:56 +0100)]
Don’t call ev_destroy_loop with ev < 4 in atexit (Thanks xeen)
Maik Fischer [Tue, 11 Oct 2011 12:13:42 +0000 (13:13 +0100)]
i3test.pm: use strict; use warnings; and fix related bugs
Michael Stapelberg [Mon, 10 Oct 2011 20:56:43 +0000 (21:56 +0100)]
testcases/makefile: add modeline, add testsuite-* and latest to 'clean' target
Michael Stapelberg [Mon, 10 Oct 2011 15:00:34 +0000 (16:00 +0100)]
t/175-startup-notification: don’t wait for i3 mapping the window
It is on a different workspace and will therefore not get mapped.
Syncing is enough.
Michael Stapelberg [Mon, 10 Oct 2011 14:54:23 +0000 (15:54 +0100)]
Merge branch 'startup-notification' into next
Michael Stapelberg [Mon, 10 Oct 2011 14:53:57 +0000 (15:53 +0100)]
Change the root window cursor to 'watch' during startups
Michael Stapelberg [Mon, 10 Oct 2011 14:35:38 +0000 (15:35 +0100)]
debian: update debian/control with new build-dep libstartup-notification0-dev
Michael Stapelberg [Mon, 10 Oct 2011 14:34:47 +0000 (15:34 +0100)]
add libstartup-notification to DEPENDS
Michael Stapelberg [Mon, 10 Oct 2011 14:30:07 +0000 (15:30 +0100)]
startup: delete the startup sequence upon completion, make the timeout complete it
Michael Stapelberg [Mon, 10 Oct 2011 14:21:08 +0000 (15:21 +0100)]
Move the includes after the include guard, no need to include these files more than once
Michael Stapelberg [Mon, 10 Oct 2011 12:50:03 +0000 (13:50 +0100)]
Implement timeouts for startup notifications
Michael Stapelberg [Mon, 10 Oct 2011 12:30:52 +0000 (13:30 +0100)]
support _NET_STARTUP_ID on the client leader window
(necessary for GIMP, geeqie, …)
Michael Stapelberg [Mon, 10 Oct 2011 11:48:43 +0000 (12:48 +0100)]
Get the _NET_STARTUP_ID in manage_window, get the corresponding workspace
Michael Stapelberg [Mon, 10 Oct 2011 11:48:19 +0000 (12:48 +0100)]
test: set the _NET_STARTUP_ID before mapping the window
Michael Stapelberg [Mon, 10 Oct 2011 11:47:56 +0000 (12:47 +0100)]
Keep track of startup notifications in a TAILQ, save workspace
Michael Stapelberg [Mon, 10 Oct 2011 10:36:21 +0000 (11:36 +0100)]
implement a startup monitor, move code to src/startup.c
Michael Stapelberg [Sun, 9 Oct 2011 23:24:29 +0000 (00:24 +0100)]
add testcase for the startup notification protocol
Michael Stapelberg [Sun, 9 Oct 2011 21:15:21 +0000 (22:15 +0100)]
make handle_client_message not return anything
The function returned an int for historical reasons.
Michael Stapelberg [Sun, 9 Oct 2011 19:18:38 +0000 (20:18 +0100)]
save the last timestamp received by X11 in last_timestamp
We need it for startup notifications (to generate a unique id)
Conflicts:
include/i3.h
src/main.c
Michael Stapelberg [Sun, 9 Oct 2011 17:21:59 +0000 (18:21 +0100)]
Implement support for startup notifications
This only sets up startup notifications for the 'exec' commands and directives.
Monitoring startups follows later.