]> git.sur5r.net Git - i3/i3/log
i3/i3
14 years agoipc: add member 'focused' to every container
Michael Stapelberg [Sun, 4 Jul 2010 20:17:18 +0000 (22:17 +0200)]
ipc: add member 'focused' to every container

14 years agoBugfix: Don’t try to focus the container itself when closing
Michael Stapelberg [Sun, 4 Jul 2010 20:16:54 +0000 (22:16 +0200)]
Bugfix: Don’t try to focus the container itself when closing

14 years agotestcases: remove 'use v5.10' as this is automatically done in lib/i3test
Michael Stapelberg [Sun, 4 Jul 2010 17:53:05 +0000 (19:53 +0200)]
testcases: remove 'use v5.10' as this is automatically done in lib/i3test

14 years agoBugfix: Correctly restore focus after close (and add testcase)
Michael Stapelberg [Sun, 4 Jul 2010 17:50:44 +0000 (19:50 +0200)]
Bugfix: Correctly restore focus after close (and add testcase)

14 years agoconfig: add reload keybinding
Michael Stapelberg [Sat, 3 Jul 2010 17:27:25 +0000 (19:27 +0200)]
config: add reload keybinding

14 years agoBugfix: Insert new containers at the right position (and add testcase)
Michael Stapelberg [Sat, 3 Jul 2010 15:42:36 +0000 (17:42 +0200)]
Bugfix: Insert new containers at the right position (and add testcase)

14 years agolib/i3test: use custom import() instead of Test::Kit to also import v5.10
Michael Stapelberg [Sat, 3 Jul 2010 14:28:58 +0000 (16:28 +0200)]
lib/i3test: use custom import() instead of Test::Kit to also import v5.10

14 years agot/18-openkill.t: search not focused container instead of using the first one
Michael Stapelberg [Sat, 3 Jul 2010 13:29:44 +0000 (15:29 +0200)]
t/18-openkill.t: search not focused container instead of using the first one

14 years agoBugfix: Ignore sequences of mapping/unmapping windows to avoid getting enter_notifies
Michael Stapelberg [Fri, 2 Jul 2010 18:33:26 +0000 (20:33 +0200)]
Bugfix: Ignore sequences of mapping/unmapping windows to avoid getting enter_notifies

14 years agobugfix: correctly focus follow up window when closing floating windows
Michael Stapelberg [Wed, 30 Jun 2010 20:37:57 +0000 (22:37 +0200)]
bugfix: correctly focus follow up window when closing floating windows

14 years agoparser: implement move
Michael Stapelberg [Wed, 30 Jun 2010 20:23:32 +0000 (22:23 +0200)]
parser: implement move

14 years agoparser: implement resize command
Michael Stapelberg [Wed, 30 Jun 2010 17:47:23 +0000 (19:47 +0200)]
parser: implement resize command

14 years agoparser: implement explicit "mode floating"/"mode tiling"
Michael Stapelberg [Wed, 30 Jun 2010 13:54:34 +0000 (15:54 +0200)]
parser: implement explicit "mode floating"/"mode tiling"

14 years agoparser: implement "reload"
Michael Stapelberg [Wed, 30 Jun 2010 13:31:29 +0000 (15:31 +0200)]
parser: implement "reload"

14 years agoparser: call tree_close_con() instead of tree_close() when run interactively
Michael Stapelberg [Wed, 30 Jun 2010 13:27:18 +0000 (15:27 +0200)]
parser: call tree_close_con() instead of tree_close() when run interactively

14 years agoupdate configfile for the new commands (this is not the final default config file)
Michael Stapelberg [Tue, 29 Jun 2010 22:25:11 +0000 (00:25 +0200)]
update configfile for the new commands (this is not the final default config file)

14 years agoGo down the tree when moving windows, add testcase for moving
Michael Stapelberg [Tue, 29 Jun 2010 17:05:31 +0000 (19:05 +0200)]
Go down the tree when moving windows, add testcase for moving

14 years agofloating: correctly kill floating containers when closing
Michael Stapelberg [Mon, 28 Jun 2010 20:37:35 +0000 (22:37 +0200)]
floating: correctly kill floating containers when closing

14 years agofloating: use con_fix_percent
Michael Stapelberg [Mon, 28 Jun 2010 20:36:08 +0000 (22:36 +0200)]
floating: use con_fix_percent

14 years agore-implement click to focus
Michael Stapelberg [Mon, 28 Jun 2010 20:26:23 +0000 (22:26 +0200)]
re-implement click to focus

14 years agofloating: re-implement floating_modifier + left/right mouse button to drag/resize
Michael Stapelberg [Mon, 28 Jun 2010 20:23:32 +0000 (22:23 +0200)]
floating: re-implement floating_modifier + left/right mouse button to drag/resize

14 years agoautomatically set dialog windows to floating
Michael Stapelberg [Mon, 28 Jun 2010 19:40:36 +0000 (21:40 +0200)]
automatically set dialog windows to floating

14 years agosplit up toggle_floating_mode into floating_enable and floating_disable
Michael Stapelberg [Mon, 28 Jun 2010 19:40:17 +0000 (21:40 +0200)]
split up toggle_floating_mode into floating_enable and floating_disable

14 years agoUpdate testcases (and skip some tests for the moment)
Michael Stapelberg [Wed, 2 Jun 2010 21:53:22 +0000 (23:53 +0200)]
Update testcases (and skip some tests for the moment)

14 years agoImplement mark/goto, modify testcase
Michael Stapelberg [Wed, 2 Jun 2010 21:32:05 +0000 (23:32 +0200)]
Implement mark/goto, modify testcase

14 years agosplit containers do not directly accepts windows (they only have children)
Michael Stapelberg [Wed, 2 Jun 2010 20:35:37 +0000 (22:35 +0200)]
split containers do not directly accepts windows (they only have children)

14 years agobugfix: only print the first match when looking for the loglevel
Michael Stapelberg [Wed, 2 Jun 2010 20:34:31 +0000 (22:34 +0200)]
bugfix: only print the first match when looking for the loglevel

fixes problems with con.c, container.c, config.c

14 years agobugfix: the layout command needs to change the layout of the parent container
Michael Stapelberg [Wed, 2 Jun 2010 16:58:52 +0000 (18:58 +0200)]
bugfix: the layout command needs to change the layout of the parent container

14 years agoRe-implement support for the urgency hint, extend t/13-urgent.t
Michael Stapelberg [Wed, 2 Jun 2010 15:51:58 +0000 (17:51 +0200)]
Re-implement support for the urgency hint, extend t/13-urgent.t

The actual rendering will follow

14 years agot/lib/i3test.pm: refactor get_ws and get_ws_content using List::Util’s first
Michael Stapelberg [Wed, 2 Jun 2010 15:50:06 +0000 (17:50 +0200)]
t/lib/i3test.pm: refactor get_ws and get_ws_content using List::Util’s first

14 years agoparser: implement matching on the window id
Michael Stapelberg [Wed, 2 Jun 2010 15:20:32 +0000 (17:20 +0200)]
parser: implement matching on the window id

14 years agomore debug output
Michael Stapelberg [Wed, 2 Jun 2010 15:04:26 +0000 (17:04 +0200)]
more debug output

14 years agoDon’t ignore sequence in UnmapNotify, there might be multiple windows in one sequence
Michael Stapelberg [Wed, 2 Jun 2010 15:03:26 +0000 (17:03 +0200)]
Don’t ignore sequence in UnmapNotify, there might be multiple windows in one sequence

This would lead to i3 thinking that a new window was already managed if it
has the same X-ID as the old window. Instead, we need to fix the EnterNotify
problem in a different way.

14 years agoClear event mask while reparenting
Michael Stapelberg [Wed, 2 Jun 2010 15:02:10 +0000 (17:02 +0200)]
Clear event mask while reparenting

This way, we can avoid to ignore UnmapNotify events generated by reparenting.
It is generally considerable to have as little ignored events as possible
due to side-effects.

14 years agoInclude git branch name in the version string
Michael Stapelberg [Wed, 2 Jun 2010 09:21:52 +0000 (11:21 +0200)]
Include git branch name in the version string

14 years agoparser: implement 'layout'
Michael Stapelberg [Tue, 1 Jun 2010 21:20:57 +0000 (23:20 +0200)]
parser: implement 'layout'

14 years agoMake splitting a container which was already split a noop
Michael Stapelberg [Tue, 1 Jun 2010 20:45:18 +0000 (22:45 +0200)]
Make splitting a container which was already split a noop

14 years agot/22: extend to verify that splitting in the same direction multiple times does not...
Michael Stapelberg [Tue, 1 Jun 2010 20:29:19 +0000 (22:29 +0200)]
t/22: extend to verify that splitting in the same direction multiple times does not create new containers

14 years agot/21: formatting
Michael Stapelberg [Tue, 1 Jun 2010 20:29:09 +0000 (22:29 +0200)]
t/21: formatting

14 years ago"Re-parent" floating clients whose old_parent is being closed (makes t/27 pass)
Michael Stapelberg [Tue, 1 Jun 2010 19:34:47 +0000 (21:34 +0200)]
"Re-parent" floating clients whose old_parent is being closed (makes t/27 pass)

14 years agoadd testcase for crash on closing floating windows whose parent was killed
Michael Stapelberg [Tue, 1 Jun 2010 18:52:59 +0000 (20:52 +0200)]
add testcase for crash on closing floating windows whose parent was killed

14 years agolib/i3test: Implement get_focused
Michael Stapelberg [Tue, 1 Jun 2010 18:52:22 +0000 (20:52 +0200)]
lib/i3test: Implement get_focused

14 years agoipc: include floating-nodes in tree reply
Michael Stapelberg [Tue, 1 Jun 2010 18:50:23 +0000 (20:50 +0200)]
ipc: include floating-nodes in tree reply

14 years agoImplement focus command (and extend t/21-next-prev.t to test it)
Michael Stapelberg [Tue, 1 Jun 2010 16:49:43 +0000 (18:49 +0200)]
Implement focus command (and extend t/21-next-prev.t to test it)

14 years agobugfix: allocate one more zero-byte to definitely get a zero-terminated string
Michael Stapelberg [Tue, 1 Jun 2010 16:46:14 +0000 (18:46 +0200)]
bugfix: allocate one more zero-byte to definitely get a zero-terminated string

14 years agoAdd testcase which ensures that floating windows can be closed
Michael Stapelberg [Mon, 31 May 2010 21:17:02 +0000 (23:17 +0200)]
Add testcase which ensures that floating windows can be closed

See last commit

14 years agoImplement correct removal of floating containers
Michael Stapelberg [Mon, 31 May 2010 21:16:20 +0000 (23:16 +0200)]
Implement correct removal of floating containers

14 years agofix: to always abort we need to assert(false)
Michael Stapelberg [Mon, 31 May 2010 21:08:16 +0000 (23:08 +0200)]
fix: to always abort we need to assert(false)

14 years agoReposition floating windows while dragging
Michael Stapelberg [Mon, 31 May 2010 21:01:08 +0000 (23:01 +0200)]
Reposition floating windows while dragging

14 years agore-enable sending fake configure notifies
Michael Stapelberg [Mon, 31 May 2010 21:00:36 +0000 (23:00 +0200)]
re-enable sending fake configure notifies

14 years agoImplement mode toggle
Michael Stapelberg [Mon, 31 May 2010 20:48:28 +0000 (22:48 +0200)]
Implement mode toggle

14 years agocleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type
Michael Stapelberg [Sun, 30 May 2010 22:11:11 +0000 (00:11 +0200)]
cleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type

14 years agoUpdate _NET_WM_STATE after fullscreen state changes
Michael Stapelberg [Wed, 26 May 2010 21:21:37 +0000 (23:21 +0200)]
Update _NET_WM_STATE after fullscreen state changes

14 years agoSet up _NET_WM_SUPPORTED and window manager name again
Michael Stapelberg [Fri, 14 May 2010 22:28:10 +0000 (00:28 +0200)]
Set up _NET_WM_SUPPORTED and window manager name again

This fixes MPlayer fullscreen mode

14 years agoAdd parameter to reparent windows instead of killing them when closing a container
Michael Stapelberg [Fri, 14 May 2010 22:16:59 +0000 (00:16 +0200)]
Add parameter to reparent windows instead of killing them when closing a container

Necessary because when windows are unmapped, they are not necessary to
be killed (an application can unmap it temporarily).

14 years agore-render the three after calling parse_cmd
Michael Stapelberg [Fri, 14 May 2010 21:41:17 +0000 (23:41 +0200)]
re-render the three after calling parse_cmd

14 years agoIgnore UnmapNotify events generated by reparenting
Michael Stapelberg [Fri, 14 May 2010 21:37:56 +0000 (23:37 +0200)]
Ignore UnmapNotify events generated by reparenting

14 years agouse the new parser for handling keybindings
Michael Stapelberg [Tue, 11 May 2010 21:04:47 +0000 (23:04 +0200)]
use the new parser for handling keybindings

14 years agogrammar: s/layout_mode/window_mode
Michael Stapelberg [Tue, 11 May 2010 21:04:21 +0000 (23:04 +0200)]
grammar: s/layout_mode/window_mode

14 years agoImplement 'restore' in new parser
Michael Stapelberg [Tue, 11 May 2010 21:00:31 +0000 (23:00 +0200)]
Implement 'restore' in new parser

14 years agoimplement 'move' command in the new parser
Michael Stapelberg [Tue, 11 May 2010 20:46:49 +0000 (22:46 +0200)]
implement 'move' command in the new parser

14 years agoImplement exec, exit, level, restart (without testcases for now)
Michael Stapelberg [Mon, 10 May 2010 08:12:35 +0000 (10:12 +0200)]
Implement exec, exit, level, restart (without testcases for now)

14 years agoImplement 'split'
Michael Stapelberg [Mon, 10 May 2010 07:33:10 +0000 (09:33 +0200)]
Implement 'split'

14 years agoImplement 'prev', extend testcase
Michael Stapelberg [Mon, 10 May 2010 07:08:31 +0000 (09:08 +0200)]
Implement 'prev', extend testcase

14 years agoimplement 'next' in the new command parser (testcase unfinished)
Michael Stapelberg [Sun, 9 May 2010 22:06:24 +0000 (00:06 +0200)]
implement 'next' in the new command parser (testcase unfinished)

14 years agobugfix: really return focus list in IPC tree dump (instead of nodes list)
Michael Stapelberg [Sun, 9 May 2010 22:00:43 +0000 (00:00 +0200)]
bugfix: really return focus list in IPC tree dump (instead of nodes list)

14 years agoalso re-render the tree for commands using the new parser
Michael Stapelberg [Sun, 9 May 2010 21:24:03 +0000 (23:24 +0200)]
also re-render the tree for commands using the new parser

14 years agobugfix: don’t clean up workspace when switching to the same workspace
Michael Stapelberg [Sun, 9 May 2010 21:20:49 +0000 (23:20 +0200)]
bugfix: don’t clean up workspace when switching to the same workspace

14 years agoMakefile: only enable when -freorder-blocks-and-partition when DEBUG != 1
Michael Stapelberg [Sun, 9 May 2010 20:45:21 +0000 (22:45 +0200)]
Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1

…otherwise you don’t see variables in gdb

14 years agoless boilerplate by using Test::Kit and -It/lib in Makefile
Michael Stapelberg [Sat, 17 Apr 2010 20:49:26 +0000 (22:49 +0200)]
less boilerplate by using Test::Kit and -It/lib in Makefile

14 years agomake testcases use AnyEvent::I3
Michael Stapelberg [Sat, 27 Mar 2010 14:20:38 +0000 (15:20 +0100)]
make testcases use AnyEvent::I3

14 years agoimplement 'fullscreen' command
Michael Stapelberg [Sat, 17 Apr 2010 17:29:44 +0000 (19:29 +0200)]
implement 'fullscreen' command

14 years agomake the fullscreen testcase test the 'fullscreen' command, too
Michael Stapelberg [Sat, 17 Apr 2010 17:29:27 +0000 (19:29 +0200)]
make the fullscreen testcase test the 'fullscreen' command, too

14 years agothrow out some old code from manage.c, cleanups
Michael Stapelberg [Sat, 17 Apr 2010 16:26:46 +0000 (18:26 +0200)]
throw out some old code from manage.c, cleanups

14 years agoinclude match.h in all.h
Michael Stapelberg [Sat, 17 Apr 2010 15:47:07 +0000 (17:47 +0200)]
include match.h in all.h

14 years agologlevel bitmasks needs to be larger because we got more than 32 files
Michael Stapelberg [Sat, 17 Apr 2010 15:46:11 +0000 (17:46 +0200)]
loglevel bitmasks needs to be larger because we got more than 32 files

14 years agoremove old fullscreen code
Michael Stapelberg [Sat, 17 Apr 2010 15:43:50 +0000 (17:43 +0200)]
remove old fullscreen code

14 years agoimplement con_toggle_fullscreen
Michael Stapelberg [Sat, 17 Apr 2010 15:40:41 +0000 (17:40 +0200)]
implement con_toggle_fullscreen

14 years agoextend fullscreen testcase
Michael Stapelberg [Sat, 17 Apr 2010 15:40:19 +0000 (17:40 +0200)]
extend fullscreen testcase

14 years agohandle destroynotify events
Michael Stapelberg [Sat, 17 Apr 2010 15:27:53 +0000 (17:27 +0200)]
handle destroynotify events

14 years agopush X11 changes after a window is mapped
Michael Stapelberg [Sat, 17 Apr 2010 14:43:34 +0000 (16:43 +0200)]
push X11 changes after a window is mapped

14 years agoWhen assigning children to containers, reset their x window state
Michael Stapelberg [Sat, 17 Apr 2010 14:41:20 +0000 (16:41 +0200)]
When assigning children to containers, reset their x window state

14 years agoput container in fullscreen mode if the fullscreen state is set when mapping
Michael Stapelberg [Sat, 17 Apr 2010 12:21:34 +0000 (14:21 +0200)]
put container in fullscreen mode if the fullscreen state is set when mapping

14 years agohandle client messages (fullscreen window state)
Michael Stapelberg [Sat, 17 Apr 2010 11:54:45 +0000 (13:54 +0200)]
handle client messages (fullscreen window state)

14 years agoextend t/02-fullscreen.t
Michael Stapelberg [Sat, 17 Apr 2010 11:53:41 +0000 (13:53 +0200)]
extend t/02-fullscreen.t

14 years agoadd testcase for multiple commands (and whitespace variations)
Michael Stapelberg [Sat, 17 Apr 2010 10:58:36 +0000 (12:58 +0200)]
add testcase for multiple commands (and whitespace variations)

14 years agoclear current_match when dropping state
Michael Stapelberg [Sat, 17 Apr 2010 10:57:06 +0000 (12:57 +0200)]
clear current_match when dropping state

14 years agoadd test for the match functionality in the new parser
Michael Stapelberg [Fri, 16 Apr 2010 21:04:42 +0000 (23:04 +0200)]
add test for the match functionality in the new parser

14 years agomake floating an enum (we need three states, not only two)
Michael Stapelberg [Fri, 16 Apr 2010 20:57:21 +0000 (22:57 +0200)]
make floating an enum (we need three states, not only two)

14 years agomove match_* to match.c
Michael Stapelberg [Fri, 16 Apr 2010 20:51:25 +0000 (22:51 +0200)]
move match_* to match.c

14 years agocheck for empty matches
Michael Stapelberg [Fri, 16 Apr 2010 20:50:20 +0000 (22:50 +0200)]
check for empty matches

14 years agomove con_focus to con.c
Michael Stapelberg [Fri, 16 Apr 2010 19:04:36 +0000 (21:04 +0200)]
move con_focus to con.c

14 years agobetter debug messages
Michael Stapelberg [Fri, 16 Apr 2010 19:02:34 +0000 (21:02 +0200)]
better debug messages

14 years agoupdate t/16* for data structure
Michael Stapelberg [Fri, 16 Apr 2010 19:01:08 +0000 (21:01 +0200)]
update t/16* for data structure

14 years agoclean up old workspace when switching (makes test 2 of t/16-*.t pass)
Michael Stapelberg [Fri, 16 Apr 2010 18:59:21 +0000 (20:59 +0200)]
clean up old workspace when switching (makes test 2 of t/16-*.t pass)

14 years agoignore sequence of unmapnotify events (generates enternotify events)
Michael Stapelberg [Fri, 16 Apr 2010 18:56:49 +0000 (20:56 +0200)]
ignore sequence of unmapnotify events (generates enternotify events)

14 years agoimplement con_id for matching containers, extend testcase
Michael Stapelberg [Fri, 16 Apr 2010 13:30:07 +0000 (15:30 +0200)]
implement con_id for matching containers, extend testcase

14 years agomove common functions to i3test, export them, bail out if workspace creation fails
Michael Stapelberg [Fri, 16 Apr 2010 13:03:27 +0000 (15:03 +0200)]
move common functions to i3test, export them, bail out if workspace creation fails

14 years agoadd testcase for opening/killing containers
Michael Stapelberg [Fri, 16 Apr 2010 12:52:31 +0000 (14:52 +0200)]
add testcase for opening/killing containers

14 years agoretab!
Michael Stapelberg [Fri, 16 Apr 2010 12:34:12 +0000 (14:34 +0200)]
retab!