]> git.sur5r.net Git - i3/i3/log
i3/i3
13 years agoBugfix: free() the grab_pointer reply
Michael Stapelberg [Sun, 31 Jul 2011 17:52:58 +0000 (19:52 +0200)]
Bugfix: free() the grab_pointer reply

13 years agohandle the xcb_grab_pointer reply
Michael Stapelberg [Sun, 31 Jul 2011 17:48:39 +0000 (19:48 +0200)]
handle the xcb_grab_pointer reply

13 years agoBugfix: also free() X11 errors in the main loop
Michael Stapelberg [Sun, 31 Jul 2011 17:41:57 +0000 (19:41 +0200)]
Bugfix: also free() X11 errors in the main loop

13 years agoForgot free(event)
Michael Stapelberg [Sun, 31 Jul 2011 17:34:55 +0000 (19:34 +0200)]
Forgot free(event)

13 years agoBugfix: Same xcb_send_event fix as 1e0033bce4
Michael Stapelberg [Sun, 31 Jul 2011 17:33:56 +0000 (19:33 +0200)]
Bugfix: Same xcb_send_event fix as 1e0033bce4

13 years agoBugfix: Correctly pass the pointer to xcb_send_event
Michael Stapelberg [Sun, 31 Jul 2011 17:26:38 +0000 (19:26 +0200)]
Bugfix: Correctly pass the pointer to xcb_send_event

13 years agoadd xcb_icccm_get_wm_protocols to xcb_compat.h (Thanks Merovius)
Michael Stapelberg [Sun, 31 Jul 2011 16:32:28 +0000 (18:32 +0200)]
add xcb_icccm_get_wm_protocols to xcb_compat.h (Thanks Merovius)

13 years agoxcb: don’t use the _unchecked variant for requests which have a reply
Michael Stapelberg [Sun, 31 Jul 2011 16:19:41 +0000 (18:19 +0200)]
xcb: don’t use the _unchecked variant for requests which have a reply

13 years agoBugfix: free replies after using them
Michael Stapelberg [Sun, 31 Jul 2011 16:17:56 +0000 (18:17 +0200)]
Bugfix: free replies after using them

13 years agoBugfix: load_font: free reply after using it
Michael Stapelberg [Sun, 31 Jul 2011 15:57:11 +0000 (17:57 +0200)]
Bugfix: load_font: free reply after using it

13 years agoBugfix: free font string after using it
Michael Stapelberg [Sun, 31 Jul 2011 15:54:53 +0000 (17:54 +0200)]
Bugfix: free font string after using it

13 years agoBugfix: cfgparse: correctly free parser/lexer
Michael Stapelberg [Sun, 31 Jul 2011 15:50:54 +0000 (17:50 +0200)]
Bugfix: cfgparse: correctly free parser/lexer

13 years agoBugfix: property handlers: correctly free replies in all cases
Michael Stapelberg [Sun, 31 Jul 2011 15:46:41 +0000 (17:46 +0200)]
Bugfix: property handlers: correctly free replies in all cases

13 years agoBugfix: Allocate 32 bytes for xcb_send_event, it always copies 32 bytes
Michael Stapelberg [Sun, 31 Jul 2011 15:46:01 +0000 (17:46 +0200)]
Bugfix: Allocate 32 bytes for xcb_send_event, it always copies 32 bytes

Fixes an 'uninitialized memory' error in valgrind

13 years agoBugfix: Free property replies in their handlers
Michael Stapelberg [Sun, 31 Jul 2011 15:12:37 +0000 (17:12 +0200)]
Bugfix: Free property replies in their handlers

13 years agoBugfix: Fix small memory leak when initializing output Cons
Michael Stapelberg [Sun, 31 Jul 2011 15:11:51 +0000 (17:11 +0200)]
Bugfix: Fix small memory leak when initializing output Cons

13 years agoBugfix: fix memory leak in src/cmdparse.y
Michael Stapelberg [Sun, 31 Jul 2011 15:11:28 +0000 (17:11 +0200)]
Bugfix: fix memory leak in src/cmdparse.y

13 years agodocs/hacking-howto: comment out a few sections which are not updated yet
Michael Stapelberg [Sun, 31 Jul 2011 14:19:25 +0000 (16:19 +0200)]
docs/hacking-howto: comment out a few sections which are not updated yet

We want to get this release out and will update the sections afterwards. Sorry!
If you need to know stuff *right now*, please ask us on IRC

13 years agodocs/userguide: update the status line section, recommend i3bar
Michael Stapelberg [Sun, 31 Jul 2011 13:39:18 +0000 (15:39 +0200)]
docs/userguide: update the status line section, recommend i3bar

dzen2 does not get mentioned anymore. They did not release a new version for
more than three years (-dock was added 2008-04-03). I am sick of telling people
they need to check out the latest SVN trunk of dzen2.

13 years agodocs/userguide: little fixes by fernando
Michael Stapelberg [Fri, 29 Jul 2011 11:31:37 +0000 (13:31 +0200)]
docs/userguide: little fixes by fernando

13 years agoremove unnecessary 'extern' keyword from function prototypes in include/xcursor.h
Michael Stapelberg [Fri, 29 Jul 2011 11:16:26 +0000 (13:16 +0200)]
remove unnecessary 'extern' keyword from function prototypes in include/xcursor.h

13 years agoBugfix: Set the cursor via the Xlib connection if XCursor is supported
Michael Stapelberg [Fri, 29 Jul 2011 11:12:28 +0000 (13:12 +0200)]
Bugfix: Set the cursor via the Xlib connection if XCursor is supported

This fixes a race where we created cursors on the Xlib connection, flushed,
then used the cursor on the XCB connection. Even though we flushed, the X
server did not process the requests yet and therefore returned a BadCursor
error.

This bugfix uses the Xlib connection for setting the root window cursor which
will ensure that the requests are properly serialized.

An easy test for this (on my machine) is the following ~/.xsession:
    xsetroot -cursor_name cross
    exec i3
If you see a cross cursor instead of the pointer, the race happens. You’ll see
a error_code=6 error in your ~/.xsession-errors.

13 years agoX11 errors: also log the error_code (see X Protocol, Appendix B, Errors)
Michael Stapelberg [Fri, 29 Jul 2011 11:11:02 +0000 (13:11 +0200)]
X11 errors: also log the error_code (see X Protocol, Appendix B, Errors)

13 years agoDon't leak the cursor_id.
Fernando Tarlá Cardoso Lemos [Thu, 28 Jul 2011 23:40:05 +0000 (20:40 -0300)]
Don't leak the cursor_id.

Fixes a server-side leak. The cursor_id is not needed when we're
using themed cursors (we never freed it either).

13 years agoSet the root window cursor. Fixes #442.
Fernando Tarlá Cardoso Lemos [Thu, 28 Jul 2011 23:36:14 +0000 (20:36 -0300)]
Set the root window cursor. Fixes #442.

13 years agodocs/userguide: explain the split command
Michael Stapelberg [Thu, 28 Jul 2011 23:12:19 +0000 (01:12 +0200)]
docs/userguide: explain the split command

13 years agodocs/userguide: explain default_orientation config directive
Michael Stapelberg [Thu, 28 Jul 2011 23:12:06 +0000 (01:12 +0200)]
docs/userguide: explain default_orientation config directive

13 years agouserguide: add popup_during_fullscreen configuration directive
Michael Stapelberg [Thu, 28 Jul 2011 22:26:30 +0000 (00:26 +0200)]
userguide: add popup_during_fullscreen configuration directive

13 years agoupdate docs/userguide (various little fixes/updates)
Michael Stapelberg [Thu, 28 Jul 2011 20:51:34 +0000 (22:51 +0200)]
update docs/userguide (various little fixes/updates)

13 years agoBugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi)
Michael Stapelberg [Thu, 28 Jul 2011 19:01:34 +0000 (21:01 +0200)]
Bugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi)

13 years agodocs/hacking-howto: a few little updates
Michael Stapelberg [Wed, 27 Jul 2011 15:05:28 +0000 (17:05 +0200)]
docs/hacking-howto: a few little updates

13 years agodocs/hacking-howto: update for RandR instead of Xinerama
Michael Stapelberg [Wed, 27 Jul 2011 14:37:19 +0000 (16:37 +0200)]
docs/hacking-howto: update for RandR instead of Xinerama

13 years agodocs/hacking-howto: update the file description
Michael Stapelberg [Wed, 27 Jul 2011 14:32:24 +0000 (16:32 +0200)]
docs/hacking-howto: update the file description

13 years agodocs/debugging: make the difference between logging and verbose logging more clear...
Michael Stapelberg [Wed, 27 Jul 2011 14:13:15 +0000 (16:13 +0200)]
docs/debugging: make the difference between logging and verbose logging more clear, little style fixes

13 years agomigrate-config: convert old 'with container' commands to 'focus parent; $command...
Michael Stapelberg [Wed, 27 Jul 2011 12:36:22 +0000 (14:36 +0200)]
migrate-config: convert old 'with container' commands to 'focus parent; $command' (+test) (Thanks Marcus)

13 years agotests: t/17-workspace.t: keep workspace 1 open
Michael Stapelberg [Wed, 27 Jul 2011 12:35:40 +0000 (14:35 +0200)]
tests: t/17-workspace.t: keep workspace 1 open

When not running i3 in a terminal from workspace 1, this would fail otherwise

13 years agotests: keep an X11 connection open to every display, fixes races
Michael Stapelberg [Wed, 27 Jul 2011 12:34:35 +0000 (14:34 +0200)]
tests: keep an X11 connection open to every display, fixes races

Otherwise, i3 is the only client and thus the X server shuts down after i3
disconnects. Xdummy restarts an X server, but that takes some time and
therefore sometimes the next testcase was unable to connect.

13 years agodefault config: start i3bar -d by default
Michael Stapelberg [Wed, 27 Jul 2011 11:32:27 +0000 (13:32 +0200)]
default config: start i3bar -d by default

like i3-migrate-config-to-v4.pl does it

13 years agoi3-nagbar: correctly check for errors when connecting to X11
Michael Stapelberg [Wed, 27 Jul 2011 11:30:12 +0000 (13:30 +0200)]
i3-nagbar: correctly check for errors when connecting to X11

13 years agoi3-config-wizard: use a managed, floating (dialog) window. fixes focus problems
Michael Stapelberg [Wed, 27 Jul 2011 11:28:32 +0000 (13:28 +0200)]
i3-config-wizard: use a managed, floating (dialog) window. fixes focus problems

Probably only when another window is already opened, but people can do that
(start i3 from within a terminal in their X session)

13 years agoi3-config-wizard: correctly check for errors when connecting to X11
Michael Stapelberg [Wed, 27 Jul 2011 11:05:40 +0000 (13:05 +0200)]
i3-config-wizard: correctly check for errors when connecting to X11

13 years agoremove _NET_WM_WORKAREA from _NET_SUPPORTED for now
Michael Stapelberg [Wed, 27 Jul 2011 10:51:38 +0000 (12:51 +0200)]
remove _NET_WM_WORKAREA from _NET_SUPPORTED for now

See ticket #301, this is a problem with Qt apps on your second monitor.

We should implement better EWMH support, but not before the release :).

13 years agoadd Xdummy script to start a headless X11 server
Michael Stapelberg [Mon, 25 Jul 2011 13:37:46 +0000 (15:37 +0200)]
add Xdummy script to start a headless X11 server

13 years agotestsuite: allow parallel runs. decreases the test time by 60% when using 4 displays
Michael Stapelberg [Mon, 25 Jul 2011 13:37:13 +0000 (15:37 +0200)]
testsuite: allow parallel runs. decreases the test time by 60% when using 4 displays

13 years agotests: get the socket path from the X11 atom I3_SOCKET_PATH
Michael Stapelberg [Mon, 25 Jul 2011 11:35:56 +0000 (13:35 +0200)]
tests: get the socket path from the X11 atom I3_SOCKET_PATH

The hard-coded socket paths are not useful when running the test suite in
parallel.

13 years agox.c: fix warning by removing unused variable
Michael Stapelberg [Sun, 24 Jul 2011 22:32:14 +0000 (00:32 +0200)]
x.c: fix warning by removing unused variable

13 years agohandlers.c: fix warnings
Michael Stapelberg [Sun, 24 Jul 2011 22:32:03 +0000 (00:32 +0200)]
handlers.c: fix warnings

13 years agoi3-nagbar: fix warnings
Michael Stapelberg [Sun, 24 Jul 2011 22:31:51 +0000 (00:31 +0200)]
i3-nagbar: fix warnings

13 years agomakefiles: build subdirs (Thanks Kacper)
Michael Stapelberg [Sun, 24 Jul 2011 22:31:35 +0000 (00:31 +0200)]
makefiles: build subdirs (Thanks Kacper)

13 years agoextend .gitignore
Michael Stapelberg [Sun, 24 Jul 2011 22:25:42 +0000 (00:25 +0200)]
extend .gitignore

13 years agodebian: add missing τεχ build dependencies for the refcard
Michael Stapelberg [Sun, 24 Jul 2011 20:57:55 +0000 (22:57 +0200)]
debian: add missing τεχ build dependencies for the refcard

13 years agodocs/makefile: correctly make 'clean'
Michael Stapelberg [Sun, 24 Jul 2011 20:43:50 +0000 (22:43 +0200)]
docs/makefile: correctly make 'clean'

13 years agouse the window class Firefox instead of the debian-specific Iceweasel
Michael Stapelberg [Sun, 24 Jul 2011 20:17:31 +0000 (22:17 +0200)]
use the window class Firefox instead of the debian-specific Iceweasel

13 years agodefine prototype for xcb_get_numlock_mask (fixes warning)
Michael Stapelberg [Sun, 24 Jul 2011 20:16:40 +0000 (22:16 +0200)]
define prototype for xcb_get_numlock_mask (fixes warning)

13 years agoi3-config-wizard: fix keypresses with numlock on, also accept keypad enter (Thanks...
Michael Stapelberg [Sun, 24 Jul 2011 20:14:12 +0000 (22:14 +0200)]
i3-config-wizard: fix keypresses with numlock on, also accept keypad enter (Thanks mxf)

13 years agorelease-notes: few fixes by fernando, thanks
Michael Stapelberg [Sun, 24 Jul 2011 20:06:53 +0000 (22:06 +0200)]
release-notes: few fixes by fernando, thanks

13 years agoadd release notes for 4.0 (no, we’re still not releasing yet)
Michael Stapelberg [Sun, 24 Jul 2011 19:33:54 +0000 (21:33 +0200)]
add release notes for 4.0 (no, we’re still not releasing yet)

13 years agoremove unnecessary close, because fclose already closes the file descriptor
Michael Stapelberg [Sun, 24 Jul 2011 16:42:46 +0000 (18:42 +0200)]
remove unnecessary close, because fclose already closes the file descriptor

13 years agodocs/ipc: document the tree request / reply
Michael Stapelberg [Sun, 24 Jul 2011 13:02:39 +0000 (15:02 +0200)]
docs/ipc: document the tree request / reply

13 years agoipc: make 'focused' a bool
Michael Stapelberg [Sun, 24 Jul 2011 13:00:09 +0000 (15:00 +0200)]
ipc: make 'focused' a bool

13 years agoipc: make 'urgent' a bool
Michael Stapelberg [Sun, 24 Jul 2011 12:54:30 +0000 (14:54 +0200)]
ipc: make 'urgent' a bool

13 years agoipc: send 'percent': null when percent is not relevant for the container
Michael Stapelberg [Sun, 24 Jul 2011 12:47:28 +0000 (14:47 +0200)]
ipc: send 'percent': null when percent is not relevant for the container

13 years agodocs/ipc: update socket path section
Michael Stapelberg [Sun, 24 Jul 2011 12:39:15 +0000 (14:39 +0200)]
docs/ipc: update socket path section

13 years agobump version number (no, we’re not releasing yet)
Michael Stapelberg [Sat, 23 Jul 2011 22:14:26 +0000 (00:14 +0200)]
bump version number (no, we’re not releasing yet)

13 years agoupdate PACKAGE-MAINTAINER, mention i3-migrate-config-to-v4.pl and i3-config-wizard
Michael Stapelberg [Sat, 23 Jul 2011 22:08:34 +0000 (00:08 +0200)]
update PACKAGE-MAINTAINER, mention i3-migrate-config-to-v4.pl and i3-config-wizard

13 years agoupdate DEPENDS file
Michael Stapelberg [Sat, 23 Jul 2011 21:53:31 +0000 (23:53 +0200)]
update DEPENDS file

13 years agoSet some more atoms for _NET_SUPPORTED (Thanks lexszero)
Michael Stapelberg [Sat, 23 Jul 2011 20:40:47 +0000 (22:40 +0200)]
Set some more atoms for _NET_SUPPORTED (Thanks lexszero)

13 years agoremove left-over wordexp.h include
Michael Stapelberg [Sat, 23 Jul 2011 20:37:41 +0000 (22:37 +0200)]
remove left-over wordexp.h include

13 years agoupdate debian/ to include all documentation/bump standars version
Michael Stapelberg [Sat, 6 Nov 2010 13:40:18 +0000 (14:40 +0100)]
update debian/ to include all documentation/bump standars version

Conflicts:

debian/control

13 years agoBugfix: use the global root variable, don’t get the first one (Thanks quaec)
Michael Stapelberg [Sat, 23 Jul 2011 20:29:01 +0000 (22:29 +0200)]
Bugfix: use the global root variable, don’t get the first one (Thanks quaec)

13 years agoMakefile: don’t set PREFIX/SYSCONFDIR (necessary for OpenBSD ports framework) (Thanks...
Michael Stapelberg [Sat, 24 Jul 2010 10:21:33 +0000 (12:21 +0200)]
Makefile: don’t set PREFIX/SYSCONFDIR (necessary for OpenBSD ports framework) (Thanks madroach)

13 years agodebian: add i3-wm.wm for dh_installwm to repository
Michael Stapelberg [Sat, 24 Jul 2010 10:19:53 +0000 (12:19 +0200)]
debian: add i3-wm.wm for dh_installwm to repository

13 years agoexpand .gitignore (Thanks madroach)
Michael Stapelberg [Sat, 23 Jul 2011 20:24:02 +0000 (22:24 +0200)]
expand .gitignore (Thanks madroach)

13 years agosecure strscpy by replacing with strncpy
Michael Stapelberg [Sat, 23 Jul 2011 20:22:36 +0000 (22:22 +0200)]
secure strscpy by replacing with strncpy

13 years agodocs: add reference card (by Zeus Panchenko)
Michael Stapelberg [Fri, 23 Jul 2010 19:38:42 +0000 (21:38 +0200)]
docs: add reference card (by Zeus Panchenko)

Conflicts:

docs/Makefile

13 years agoReset the color to the default color, don't harcode white.
Fernando Tarlá Cardoso Lemos [Sun, 20 Jun 2010 22:20:04 +0000 (19:20 -0300)]
Reset the color to the default color, don't harcode white.

13 years agodebian: bump compatibility to 6
Michael Stapelberg [Wed, 23 Jun 2010 16:29:35 +0000 (18:29 +0200)]
debian: bump compatibility to 6

13 years agodebian: update changelog
Michael Stapelberg [Wed, 23 Jun 2010 16:23:38 +0000 (18:23 +0200)]
debian: update changelog

13 years agodebian: add watch file
Michael Stapelberg [Wed, 23 Jun 2010 16:19:23 +0000 (18:19 +0200)]
debian: add watch file

13 years agodebian: call dh_installwm to register as alternative for x-window-manager
Michael Stapelberg [Wed, 23 Jun 2010 16:03:43 +0000 (18:03 +0200)]
debian: call dh_installwm to register as alternative for x-window-manager

13 years agodebian: update changelog
Michael Stapelberg [Wed, 9 Jun 2010 07:53:36 +0000 (09:53 +0200)]
debian: update changelog

13 years agoi3-wsbar: replace %w with the width of the output (Thanks dothebart)
Michael Stapelberg [Sat, 19 Jun 2010 09:48:47 +0000 (11:48 +0200)]
i3-wsbar: replace %w with the width of the output (Thanks dothebart)

This fixes ticket #231

13 years agoBugfix: i3-wsbar: properly catch errors when writing to child process
Michael Stapelberg [Wed, 16 Jun 2010 17:26:55 +0000 (19:26 +0200)]
Bugfix: i3-wsbar: properly catch errors when writing to child process

This comes at the expense of having Try::Tiny as additional dependency,
but I think Try::Tiny is widely available.

13 years agodebian: update i3-wm.docs
Michael Stapelberg [Sat, 23 Jul 2011 20:15:21 +0000 (22:15 +0200)]
debian: update i3-wm.docs

13 years agoupdate debian packaging
Michael Stapelberg [Sat, 23 Jul 2011 20:13:58 +0000 (22:13 +0200)]
update debian packaging

13 years agowsbar: print an error and exit after not being able to talk to i3 for 2 seconds ...
Michael Stapelberg [Wed, 26 May 2010 21:40:05 +0000 (23:40 +0200)]
wsbar: print an error and exit after not being able to talk to i3 for 2 seconds (Thanks badboy)

13 years agoBugfix: Don’t leak file descriptor
Michael Stapelberg [Sat, 23 Jul 2011 20:11:01 +0000 (22:11 +0200)]
Bugfix: Don’t leak file descriptor

13 years agoDon’t pretend like the global fullscreen mode would be configured in the default...
Michael Stapelberg [Tue, 4 May 2010 18:27:52 +0000 (20:27 +0200)]
Don’t pretend like the global fullscreen mode would be configured in the default config (Thanks Mirko)

Conflicts:

docs/userguide

13 years agouserguide: add missing $ (Thanks artoj)
Michael Stapelberg [Tue, 13 Apr 2010 19:05:04 +0000 (21:05 +0200)]
userguide: add missing $ (Thanks artoj)

13 years agoadd socket path parameter to i3-wsbar script
Jan-Erik Rediger [Sun, 11 Apr 2010 19:00:57 +0000 (21:00 +0200)]
add socket path parameter to i3-wsbar script

fixes http://i3.zekjur.net/bugs/ticket/210

13 years agoExclude docs/*.svg from dist tarball
Michael Stapelberg [Tue, 30 Mar 2010 11:25:25 +0000 (13:25 +0200)]
Exclude docs/*.svg from dist tarball

13 years agomakefile: cleanup src/cfgparse.dot
Michael Stapelberg [Tue, 30 Mar 2010 11:20:13 +0000 (13:20 +0200)]
makefile: cleanup src/cfgparse.dot

Conflicts:

Makefile

13 years agomakefile: pre-generate docs/
Michael Stapelberg [Tue, 30 Mar 2010 11:20:04 +0000 (13:20 +0200)]
makefile: pre-generate docs/

13 years agodebian: update changelog
Michael Stapelberg [Tue, 30 Mar 2010 11:12:28 +0000 (13:12 +0200)]
debian: update changelog

13 years agomanpage: update i3(1)
Michael Stapelberg [Sat, 27 Mar 2010 15:05:46 +0000 (16:05 +0100)]
manpage: update i3(1)

13 years agomanpages: don’t regenerate manpages on every 'make'
Michael Stapelberg [Sat, 27 Mar 2010 15:05:26 +0000 (16:05 +0100)]
manpages: don’t regenerate manpages on every 'make'

Conflicts:

man/Makefile

13 years agomakefile: includue i3-wsbar in dist
Michael Stapelberg [Sat, 23 Jul 2011 19:58:07 +0000 (21:58 +0200)]
makefile: includue i3-wsbar in dist

13 years agomanpages: extract manpage for i3-wsbar using pod2man(1)
Michael Stapelberg [Sat, 23 Jul 2011 19:57:35 +0000 (21:57 +0200)]
manpages: extract manpage for i3-wsbar using pod2man(1)

13 years agoBugfix: Correctly resize when clicking on the border of a stacked con
Michael Stapelberg [Sat, 23 Jul 2011 19:48:14 +0000 (21:48 +0200)]
Bugfix: Correctly resize when clicking on the border of a stacked con

Runs the same code as for non-stacked / non-tabbed containers, but on the
parent of the container (which is the stacked / tabbed con, since route_click
gets called with the child).

13 years agoAdd missing function prototype for strndup on Darwin (Thanks Marcus)
Michael Stapelberg [Sun, 17 Jul 2011 20:18:00 +0000 (22:18 +0200)]
Add missing function prototype for strndup on Darwin (Thanks Marcus)