]> git.sur5r.net Git - i3/i3/log
i3/i3
13 years agoRevert "Don't draw on backbuffer, when hiding (thx sECuRE)"
Axel Wagner [Mon, 21 Mar 2011 16:29:11 +0000 (17:29 +0100)]
Revert "Don't draw on backbuffer, when hiding (thx sECuRE)"

This reverts commit f51ba2d7ecf3f560c8ce4d3ab8419ecf6265839c.

This commit introduced a regression, which prevented i3bar to be redrawn
at all in some circumstances. It will later be reintroduced in a bigger
refactoring of event-dependencies

13 years agoFix typo in comment (thx sECuRE)
Axel Wagner [Sun, 20 Mar 2011 18:52:20 +0000 (19:52 +0100)]
Fix typo in comment (thx sECuRE)

13 years agoCollapse two ChangeGC-calls (thx sECuRE)
Axel Wagner [Sun, 20 Mar 2011 18:49:59 +0000 (19:49 +0100)]
Collapse two ChangeGC-calls (thx sECuRE)

13 years agoAdd Color for focused ws (thx phnom)
Axel Wagner [Sun, 20 Mar 2011 18:29:30 +0000 (19:29 +0100)]
Add Color for focused ws (thx phnom)

13 years agoBugfix: Skip inactive outputs, when unmapping
Axel Wagner [Sat, 19 Mar 2011 22:28:10 +0000 (23:28 +0100)]
Bugfix: Skip inactive outputs, when unmapping

13 years agoDon't draw on backbuffer, when hiding (thx sECuRE)
Axel Wagner [Sat, 19 Mar 2011 22:27:50 +0000 (23:27 +0100)]
Don't draw on backbuffer, when hiding (thx sECuRE)

13 years agoXClearArea can't be used on pixmaps (thx sECuRE)
Axel Wagner [Sat, 19 Mar 2011 22:04:09 +0000 (23:04 +0100)]
XClearArea can't be used on pixmaps (thx sECuRE)

13 years agobugfix: Skip inactive outputs on redraw (thx sECuRE)
Axel Wagner [Sat, 19 Mar 2011 21:30:59 +0000 (22:30 +0100)]
bugfix: Skip inactive outputs on redraw (thx sECuRE)

13 years agoDon't reallocate the backbuffer on every refresh (thx sECuRE)
Axel Wagner [Sat, 19 Mar 2011 21:27:35 +0000 (22:27 +0100)]
Don't reallocate the backbuffer on every refresh (thx sECuRE)

13 years agoAdd support for I3_SOCKET_PATH-atom
Axel Wagner [Sat, 19 Mar 2011 21:06:08 +0000 (22:06 +0100)]
Add support for I3_SOCKET_PATH-atom

13 years agoAuto-update NUM_ATOMS by putting it into the enum (thx sECuRE)
Axel Wagner [Sat, 19 Mar 2011 19:58:05 +0000 (20:58 +0100)]
Auto-update NUM_ATOMS by putting it into the enum (thx sECuRE)

13 years agoBugfix: Don't SIGSTOP child in dockmode
Axel Wagner [Mon, 14 Mar 2011 08:24:32 +0000 (09:24 +0100)]
Bugfix: Don't SIGSTOP child in dockmode

13 years agoUse DISPLAY in XKB-code
Axel Wagner [Mon, 14 Mar 2011 08:20:16 +0000 (09:20 +0100)]
Use DISPLAY in XKB-code

13 years agoBugfix: Don't segfault, if child was killed
Axel Wagner [Mon, 14 Mar 2011 08:17:06 +0000 (09:17 +0100)]
Bugfix: Don't segfault, if child was killed

13 years agoCorrect minor issues reported by the analyzer.
Fernando Tarlá Cardoso Lemos [Sat, 26 Feb 2011 00:45:52 +0000 (21:45 -0300)]
Correct minor issues reported by the analyzer.

Found with the Clang Static Analyzer.

13 years agoImplement dock-positioning
Axel Wagner [Mon, 21 Feb 2011 14:47:58 +0000 (15:47 +0100)]
Implement dock-positioning

13 years agoCorrect typo
Axel Wagner [Wed, 16 Feb 2011 18:53:42 +0000 (19:53 +0100)]
Correct typo

13 years agoBugfix: Don't override DEBUG-env in Makefile
Axel Wagner [Sat, 5 Feb 2011 14:20:40 +0000 (15:20 +0100)]
Bugfix: Don't override DEBUG-env in Makefile

13 years agoBugfix: _only_ stop child, if hide_on_modifier is set (thx cradle)
Axel Wagner [Fri, 4 Feb 2011 09:04:54 +0000 (10:04 +0100)]
Bugfix: _only_ stop child, if hide_on_modifier is set (thx cradle)

13 years agoBugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 11:56:49 +0000 (12:56 +0100)]
Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)

13 years agoBugfix: free() output-names seperately (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 11:02:09 +0000 (12:02 +0100)]
Bugfix: free() output-names seperately (thx dothebart)

13 years agoBugfix: Also free() the head of slist/tailq (Thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:51:46 +0000 (01:51 +0100)]
Bugfix: Also free() the head of slist/tailq (Thx dothebart)

13 years agoBugfix: free() text, after drawing it (thx dothebart)
Axel Wagner [Tue, 25 Jan 2011 23:55:15 +0000 (00:55 +0100)]
Bugfix: free() text, after drawing it (thx dothebart)

13 years agoBugfix: free() workspace-list of outputs seperately (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:38:48 +0000 (01:38 +0100)]
Bugfix: free() workspace-list of outputs seperately (thx dothebart)

13 years agoRemove superflous FREE_SLIST
Axel Wagner [Tue, 25 Jan 2011 23:54:35 +0000 (00:54 +0100)]
Remove superflous FREE_SLIST

13 years agoBugfix: free() workspace-names seperately (thx dothebart)
Axel Wagner [Tue, 25 Jan 2011 23:34:15 +0000 (00:34 +0100)]
Bugfix: free() workspace-names seperately (thx dothebart)

13 years agoBugfix: free() command-string, after it is not needed anymore
Axel Wagner [Wed, 26 Jan 2011 00:24:54 +0000 (01:24 +0100)]
Bugfix: free() command-string, after it is not needed anymore

13 years agoBugfix: Test for outputs == NULL
Axel Wagner [Wed, 26 Jan 2011 00:21:36 +0000 (01:21 +0100)]
Bugfix: Test for outputs == NULL

13 years agoChange default socketpath to /tmp/i3-ipc.sock
Axel Wagner [Sat, 22 Jan 2011 16:41:24 +0000 (17:41 +0100)]
Change default socketpath to /tmp/i3-ipc.sock

13 years agoUse tree-command for workspace-switching
Axel Wagner [Fri, 14 Jan 2011 18:16:52 +0000 (19:16 +0100)]
Use tree-command for workspace-switching

13 years agoDisplay socket-path in connection-error-message
Axel Wagner [Fri, 14 Jan 2011 16:33:40 +0000 (17:33 +0100)]
Display socket-path in connection-error-message

13 years agoUse I3SOCK environment-variable
Axel Wagner [Tue, 11 Jan 2011 04:02:55 +0000 (05:02 +0100)]
Use I3SOCK environment-variable

13 years agoSeparate the lines received in a single read.
Fernando Tarlá Cardoso Lemos [Mon, 3 Jan 2011 00:39:49 +0000 (22:39 -0200)]
Separate the lines received in a single read.

Fixes the case where multiple lines are read in a single read syscall
(it could be better optimized in the future). Also fixes a memory
corruption issue when rec == 0.

13 years agoBugfix: If hide-on-modifier is set, stop the child after starting
Axel Wagner [Thu, 6 Jan 2011 16:35:23 +0000 (17:35 +0100)]
Bugfix: If hide-on-modifier is set, stop the child after starting

13 years agoBugfix: Recreate double-buffers on reconfiguring (thx sECuRE)
Axel Wagner [Thu, 6 Jan 2011 16:28:21 +0000 (17:28 +0100)]
Bugfix: Recreate double-buffers on reconfiguring (thx sECuRE)

13 years agoUse strerror() for more usefull errormessages
Axel Wagner [Sat, 1 Jan 2011 15:48:30 +0000 (16:48 +0100)]
Use strerror() for more usefull errormessages

13 years agoFix typo (thx julien)
Axel Wagner [Sat, 1 Jan 2011 14:19:55 +0000 (15:19 +0100)]
Fix typo (thx julien)

13 years agoOnly use font_info after we know, the request succeded
Axel Wagner [Sat, 1 Jan 2011 14:19:17 +0000 (15:19 +0100)]
Only use font_info after we know, the request succeded

13 years agoUse "*buffer == '\0'" instead of "strlen(buffer) == 0" (thanks dothebart)
Axel Wagner [Sat, 1 Jan 2011 14:07:28 +0000 (15:07 +0100)]
Use "*buffer == '\0'" instead of "strlen(buffer) == 0" (thanks dothebart)

13 years agoBugfix: Recover from closed socket
Axel Wagner [Sun, 26 Dec 2010 18:29:57 +0000 (19:29 +0100)]
Bugfix: Recover from closed socket

13 years agoMerge branch 'master' into tree
Axel Wagner [Sun, 26 Dec 2010 14:27:32 +0000 (15:27 +0100)]
Merge branch 'master' into tree

13 years agoBugfix: Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/)
Axel Wagner [Sun, 26 Dec 2010 13:45:31 +0000 (14:45 +0100)]
Bugfix: Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/)

13 years agoRevert "Double-fork() to avoid zombies"
Axel Wagner [Sun, 26 Dec 2010 13:34:54 +0000 (14:34 +0100)]
Revert "Double-fork() to avoid zombies"

This reverts commit a4eafae108b63f5df76eea2958aee8cf95cb1ad6.

13 years agoRemove unnecessary declaration
Axel Wagner [Thu, 23 Dec 2010 15:50:48 +0000 (16:50 +0100)]
Remove unnecessary declaration

13 years agoUpdate changelog and manpage
Axel Wagner [Thu, 23 Dec 2010 15:38:22 +0000 (16:38 +0100)]
Update changelog and manpage

13 years agoMerge branch 'next'
Axel Wagner [Thu, 23 Dec 2010 15:34:19 +0000 (16:34 +0100)]
Merge branch 'next'

13 years agoSwitch back ws_fg and ws_bg (Thanks julien)
Axel Wagner [Fri, 3 Dec 2010 16:59:16 +0000 (17:59 +0100)]
Switch back ws_fg and ws_bg (Thanks julien)

13 years agoSwitch back ws_fg and ws_bg (Thanks julien)
Axel Wagner [Fri, 3 Dec 2010 16:59:16 +0000 (17:59 +0100)]
Switch back ws_fg and ws_bg (Thanks julien)

13 years agomake i3bar work with tree branch again (current_workspace is a string now)
Michael Stapelberg [Sun, 21 Nov 2010 23:07:52 +0000 (00:07 +0100)]
make i3bar work with tree branch again (current_workspace is a string now)

13 years agoWe don't need sig_quit
Axel Wagner [Thu, 11 Nov 2010 02:01:40 +0000 (03:01 +0100)]
We don't need sig_quit

13 years agoSend a SIGTERM instead of a SIGQUIT to exit the child
Axel Wagner [Thu, 11 Nov 2010 01:59:17 +0000 (02:59 +0100)]
Send a SIGTERM instead of a SIGQUIT to exit the child

13 years agoHandle SIGTERM/-INT/-HUP
Axel Wagner [Thu, 11 Nov 2010 01:47:30 +0000 (02:47 +0100)]
Handle SIGTERM/-INT/-HUP

13 years ago-V actually does not take an argument (yet)
Axel Wagner [Thu, 11 Nov 2010 01:37:50 +0000 (02:37 +0100)]
-V actually does not take an argument (yet)

13 years agoDouble-fork() to avoid zombies
Axel Wagner [Wed, 10 Nov 2010 17:46:47 +0000 (18:46 +0100)]
Double-fork() to avoid zombies

13 years agoAdd support for bar_fg and bar_bg
Axel Wagner [Thu, 4 Nov 2010 12:46:50 +0000 (13:46 +0100)]
Add support for bar_fg and bar_bg

13 years agoCall init_colors() earlier
Axel Wagner [Thu, 4 Nov 2010 12:46:33 +0000 (13:46 +0100)]
Call init_colors() earlier

13 years agoMention the color-options in the manpage
Axel Wagner [Thu, 4 Nov 2010 11:43:33 +0000 (12:43 +0100)]
Mention the color-options in the manpage

13 years agoSome stylechanges to previous commit
Axel Wagner [Thu, 4 Nov 2010 11:27:10 +0000 (12:27 +0100)]
Some stylechanges to previous commit

13 years agoCustom colors can be set from the command line.
Fernando Tarlá Cardoso Lemos [Sun, 24 Oct 2010 03:24:51 +0000 (01:24 -0200)]
Custom colors can be set from the command line.

13 years agoAdded a distclean target.
Fernando Tarlá Cardoso Lemos [Sun, 24 Oct 2010 03:29:54 +0000 (01:29 -0200)]
Added a distclean target.

13 years agoDon't map bars on creation, if hide_on_modifier is enabled
Axel Wagner [Sun, 24 Oct 2010 21:03:44 +0000 (23:03 +0200)]
Don't map bars on creation, if hide_on_modifier is enabled

13 years agoPlace bar at the bottom of the screen, when creating them
Axel Wagner [Sun, 24 Oct 2010 20:56:08 +0000 (22:56 +0200)]
Place bar at the bottom of the screen, when creating them

13 years agoRemove unnecessary dependencies
Axel Wagner [Thu, 21 Oct 2010 22:30:09 +0000 (00:30 +0200)]
Remove unnecessary dependencies

13 years agoAdding a manpage
Axel Wagner [Fri, 17 Sep 2010 16:27:07 +0000 (18:27 +0200)]
Adding a manpage

13 years agoUse DLOG/ELOG-macros, provide --verbose-option
Axel Wagner [Fri, 17 Sep 2010 04:49:28 +0000 (06:49 +0200)]
Use DLOG/ELOG-macros, provide --verbose-option

13 years agoClean the XCB-errorhandling a little bit up
Axel Wagner [Fri, 17 Sep 2010 03:55:38 +0000 (05:55 +0200)]
Clean the XCB-errorhandling a little bit up

13 years agoUse font_ascent instead of font_height, it's more elegant
Axel Wagner [Fri, 17 Sep 2010 03:29:01 +0000 (05:29 +0200)]
Use font_ascent instead of font_height, it's more elegant

13 years agoRename xcb_screens to xcb_screen, it's really just one
Axel Wagner [Fri, 17 Sep 2010 03:28:22 +0000 (05:28 +0200)]
Rename xcb_screens to xcb_screen, it's really just one

13 years agoAdd some more comments
Axel Wagner [Fri, 17 Sep 2010 03:26:31 +0000 (05:26 +0200)]
Add some more comments

13 years agoUse only xcb_query_font()
Axel Wagner [Fri, 17 Sep 2010 01:27:06 +0000 (03:27 +0200)]
Use only xcb_query_font()

13 years agoWe don't need get_string_width anymore
Axel Wagner [Fri, 17 Sep 2010 01:11:49 +0000 (03:11 +0200)]
We don't need get_string_width anymore

13 years agoMake i3_default_sock_path a local variable
Axel Wagner [Fri, 17 Sep 2010 01:04:40 +0000 (03:04 +0200)]
Make i3_default_sock_path a local variable

13 years agoMove child_pid into child.c
Axel Wagner [Fri, 17 Sep 2010 01:03:43 +0000 (03:03 +0200)]
Move child_pid into child.c

13 years agoUse realloc instead of manually reallocating
Axel Wagner [Fri, 17 Sep 2010 00:28:56 +0000 (02:28 +0200)]
Use realloc instead of manually reallocating

13 years agoAdd CHANGELOG
Axel Wagner [Fri, 17 Sep 2010 00:21:09 +0000 (02:21 +0200)]
Add CHANGELOG

13 years agoUse draw_text() to render text to the correct spot
Axel Wagner [Fri, 17 Sep 2010 00:17:18 +0000 (02:17 +0200)]
Use draw_text() to render text to the correct spot

13 years agoWrite a wrapper around xcb_image_text_16()
Axel Wagner [Thu, 16 Sep 2010 23:52:04 +0000 (01:52 +0200)]
Write a wrapper around xcb_image_text_16()

xcb_image_text_16() can only process up to 255 glyphs, so we
write a wrapper around it for arbitrary long strings

13 years agoWe don't need to crop at that point
Axel Wagner [Thu, 16 Sep 2010 23:51:10 +0000 (01:51 +0200)]
We don't need to crop at that point

13 years agoDraw the statusline to a seperate buffer-pixmap
Axel Wagner [Thu, 16 Sep 2010 23:18:50 +0000 (01:18 +0200)]
Draw the statusline to a seperate buffer-pixmap

13 years agoDefine Macros MAX and MIN
Axel Wagner [Thu, 16 Sep 2010 23:16:53 +0000 (01:16 +0200)]
Define Macros MAX and MIN

13 years agoAllocate the right amount of memory for ev_child
Axel Wagner [Tue, 7 Sep 2010 15:28:15 +0000 (17:28 +0200)]
Allocate the right amount of memory for ev_child

13 years agoAllocate the right amount of memory for ev_child
Axel Wagner [Tue, 7 Sep 2010 15:28:15 +0000 (17:28 +0200)]
Allocate the right amount of memory for ev_child

13 years agoReimplement double-buffering
Axel Wagner [Sat, 4 Sep 2010 16:26:30 +0000 (18:26 +0200)]
Reimplement double-buffering

Due to a merge-fuckup, the double-buffer-code got lost. Know flickering
should not happen anymore.

13 years agoMerge branch 'hide' into next
Axel Wagner [Wed, 25 Aug 2010 22:03:41 +0000 (00:03 +0200)]
Merge branch 'hide' into next

13 years agoMake hide_on_modifier configurable
Axel Wagner [Wed, 25 Aug 2010 22:02:35 +0000 (00:02 +0200)]
Make hide_on_modifier configurable

13 years agoPut usage-message in own function
Axel Wagner [Wed, 25 Aug 2010 22:01:24 +0000 (00:01 +0200)]
Put usage-message in own function

13 years agoPut the bars on top, when reconfiguring
Axel Wagner [Wed, 25 Aug 2010 21:36:25 +0000 (23:36 +0200)]
Put the bars on top, when reconfiguring

13 years agoUnhide on urgent-hint
Axel Wagner [Wed, 25 Aug 2010 19:50:01 +0000 (21:50 +0200)]
Unhide on urgent-hint

13 years agoSend the child SIGSTOPs and SIGCONTs
Axel Wagner [Wed, 25 Aug 2010 16:31:03 +0000 (18:31 +0200)]
Send the child SIGSTOPs and SIGCONTs

13 years agoDefine overrride-redirect
Axel Wagner [Wed, 25 Aug 2010 16:23:33 +0000 (18:23 +0200)]
Define overrride-redirect

The bars should not be in dockmode, when hide-on-mod is active

13 years agoImplement hide-on-modifier
Axel Wagner [Wed, 25 Aug 2010 14:23:30 +0000 (16:23 +0200)]
Implement hide-on-modifier

13 years agoRemove trailing newline from stdin
Axel Wagner [Wed, 25 Aug 2010 02:58:28 +0000 (04:58 +0200)]
Remove trailing newline from stdin

13 years agoDon't manually strip dzen-formats.
Axel Wagner [Tue, 24 Aug 2010 12:01:48 +0000 (14:01 +0200)]
Don't manually strip dzen-formats.

Instead "output_format = none" should be used in the i3status-config

13 years agoOnly copy the double-buffer on expose-events
Axel Wagner [Sun, 22 Aug 2010 08:24:32 +0000 (10:24 +0200)]
Only copy the double-buffer on expose-events

13 years agoAdd declaration, accidentally lost in last commit
Axel Wagner [Sat, 21 Aug 2010 11:29:38 +0000 (13:29 +0200)]
Add declaration, accidentally lost in last commit

13 years agoImplement double-buffering to get rid of flickering
Axel Wagner [Sat, 21 Aug 2010 11:09:34 +0000 (13:09 +0200)]
Implement double-buffering to get rid of flickering

13 years agoImplement double-buffering to get rid of flickering
Axel Wagner [Sat, 21 Aug 2010 11:09:34 +0000 (13:09 +0200)]
Implement double-buffering to get rid of flickering

13 years agoCorrect typo in usage-message
Axel Wagner [Thu, 19 Aug 2010 20:13:40 +0000 (22:13 +0200)]
Correct typo in usage-message

13 years agoAdded some error handling for xcb
Axel Wagner [Wed, 18 Aug 2010 01:58:32 +0000 (03:58 +0200)]
Added some error handling for xcb

13 years agoAdd licensing information
Axel Wagner [Sat, 7 Aug 2010 16:05:16 +0000 (18:05 +0200)]
Add licensing information