]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agoMerge branch 'i3-input-fmt' into next
Michael Stapelberg [Sun, 18 Sep 2011 12:58:08 +0000 (13:58 +0100)]
Merge branch 'i3-input-fmt' into next

12 years agoi3-input: update manpage
Michael Stapelberg [Sun, 18 Sep 2011 12:57:39 +0000 (13:57 +0100)]
i3-input: update manpage

12 years agoi3-input: implement -F (format) option, deprecate -p (prefix)
Michael Stapelberg [Sun, 18 Sep 2011 12:51:11 +0000 (13:51 +0100)]
i3-input: implement -F (format) option, deprecate -p (prefix)

This introduces the '-F format' parameter, which takes a format and replaces %s
in it with the user input. An example: The user should enter the target
workspace name. The appropriate i3-input invocation looks like this:

    i3-input -F 'workspace "%s"' -P 'Switch to workspace: '

12 years agoi3-input: add missing \n in --help
Michael Stapelberg [Sun, 18 Sep 2011 12:21:45 +0000 (13:21 +0100)]
i3-input: add missing \n in --help

12 years agoi3-input: reformat main.c
Michael Stapelberg [Sun, 18 Sep 2011 12:20:59 +0000 (13:20 +0100)]
i3-input: reformat main.c

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 17 Sep 2011 23:40:42 +0000 (00:40 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-floating-move'
Michael Stapelberg [Sat, 17 Sep 2011 23:40:39 +0000 (00:40 +0100)]
Merge branch 'fix-floating-move'

12 years agofix-bug-515: always adjust floating position when moving to another output
Peter Bui [Mon, 12 Sep 2011 00:14:20 +0000 (20:14 -0400)]
fix-bug-515: always adjust floating position when moving to another output

Floating con position needs to be adjusted when moving to another
output, regardless of whether or not the target workspace is visible.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 17 Sep 2011 19:55:13 +0000 (20:55 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-warp-same'
Michael Stapelberg [Sat, 17 Sep 2011 19:55:10 +0000 (20:55 +0100)]
Merge branch 'fix-warp-same'

12 years agoBugfix: Don’t warp the pointer if it already is on the target output (Thanks cls...
Michael Stapelberg [Sat, 17 Sep 2011 19:53:24 +0000 (20:53 +0100)]
Bugfix: Don’t warp the pointer if it already is on the target output (Thanks cls, pnutzh4x0r)

My testcase was putting a floating window on the left output, but overlapping a
little to the right output. Then switch to a workspace on the right output.

12 years agoMerge branch 'floating-focus' into next
Michael Stapelberg [Sat, 17 Sep 2011 18:29:52 +0000 (19:29 +0100)]
Merge branch 'floating-focus' into next

12 years agotests: extend t/35-floating-focus to use focus left/right on floating windows
Michael Stapelberg [Sat, 17 Sep 2011 18:29:23 +0000 (19:29 +0100)]
tests: extend t/35-floating-focus to use focus left/right on floating windows

12 years agoRemove obsolete code for floating focus
Michael Stapelberg [Sat, 17 Sep 2011 18:29:06 +0000 (19:29 +0100)]
Remove obsolete code for floating focus

12 years agoImplement focus switching (focus left/right) for floating windows
Michael Stapelberg [Sat, 17 Sep 2011 18:28:41 +0000 (19:28 +0100)]
Implement focus switching (focus left/right) for floating windows

Fixes: #475
12 years agoAlso make compilation possible on systems with libev 3
Michael Stapelberg [Sat, 17 Sep 2011 16:55:36 +0000 (17:55 +0100)]
Also make compilation possible on systems with libev 3

From the source:

    We need ev >= 4 for the following code. Since it is not *that* important
    (it only makes sure that there are no i3-nagbar instances left behind) we
    still support old systems with libev 3.

12 years agodocument the dependency on libev >=4.0 for ev_cleanup (Thanks phnom)
Michael Stapelberg [Sat, 17 Sep 2011 16:49:12 +0000 (17:49 +0100)]
document the dependency on libev >=4.0 for ev_cleanup (Thanks phnom)

libev 4.00 was released 2010-10-25, so nearly a year ago.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 17 Sep 2011 13:13:05 +0000 (14:13 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-float-size'
Michael Stapelberg [Sat, 17 Sep 2011 13:12:47 +0000 (14:12 +0100)]
Merge branch 'fix-float-size'

12 years agoTests: fix floating size, add a test to check floating size when starting in tiling
Michael Stapelberg [Sat, 17 Sep 2011 13:12:16 +0000 (14:12 +0100)]
Tests: fix floating size, add a test to check floating size when starting in tiling

12 years agoSend the correct X11 border_width in faked ConfigureNotifys
Michael Stapelberg [Sat, 17 Sep 2011 13:11:55 +0000 (14:11 +0100)]
Send the correct X11 border_width in faked ConfigureNotifys

12 years agoBugfix: Honor the X11 window border in ConfigureRequests
Michael Stapelberg [Sat, 17 Sep 2011 13:11:01 +0000 (14:11 +0100)]
Bugfix: Honor the X11 window border in ConfigureRequests

12 years agoBugfix: Honor the X11 window border when calculating dimensions for floating windows
Michael Stapelberg [Sat, 17 Sep 2011 13:10:35 +0000 (14:10 +0100)]
Bugfix: Honor the X11 window border when calculating dimensions for floating windows

12 years agoBugfix: Don’t use top border height twice when calculating dimensions for floating...
Michael Stapelberg [Sat, 17 Sep 2011 13:09:57 +0000 (14:09 +0100)]
Bugfix: Don’t use top border height twice when calculating dimensions for floating windows

12 years agofix build in 'next' (Thanks thomasba)
Michael Stapelberg [Wed, 14 Sep 2011 22:16:23 +0000 (23:16 +0100)]
fix build in 'next' (Thanks thomasba)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 14 Sep 2011 22:00:02 +0000 (23:00 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-floating-confreq'
Michael Stapelberg [Wed, 14 Sep 2011 21:59:59 +0000 (22:59 +0100)]
Merge branch 'fix-floating-confreq'

12 years agoBugfix: Correctly handle ConfigureRequests for floating windows in multi-monitor...
Michael Stapelberg [Wed, 14 Sep 2011 21:59:19 +0000 (22:59 +0100)]
Bugfix: Correctly handle ConfigureRequests for floating windows in multi-monitor setups (Thanks thomasba)

Fixes #519

12 years agoBugfix: Don’t fix floating coordinates when reassigning (fixes flickering)
Michael Stapelberg [Wed, 14 Sep 2011 21:58:51 +0000 (22:58 +0100)]
Bugfix: Don’t fix floating coordinates when reassigning (fixes flickering)

This fixes flickering when moving floating windows between different monitors.

12 years agoMerge branch 'fix-reload-assignments' into next
Michael Stapelberg [Sun, 11 Sep 2011 22:42:12 +0000 (23:42 +0100)]
Merge branch 'fix-reload-assignments' into next

12 years agoBugfix: Correctly free old assignments when reloading
Michael Stapelberg [Sun, 11 Sep 2011 22:41:46 +0000 (23:41 +0100)]
Bugfix: Correctly free old assignments when reloading

Fixes #516

12 years agore-indent load_configuration()
Michael Stapelberg [Sun, 11 Sep 2011 22:31:06 +0000 (23:31 +0100)]
re-indent load_configuration()

12 years agoupdate changelog (no, not releasing anytime soon)
Michael Stapelberg [Sun, 11 Sep 2011 22:19:59 +0000 (23:19 +0100)]
update changelog (no, not releasing anytime soon)

12 years agoSame bugfix as 2a215fd, but for assignments with invalid criteria
Michael Stapelberg [Sun, 11 Sep 2011 21:54:41 +0000 (22:54 +0100)]
Same bugfix as 2a215fd, but for assignments with invalid criteria

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 11 Sep 2011 21:52:44 +0000 (22:52 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-empty-criteria'
Michael Stapelberg [Sun, 11 Sep 2011 21:52:41 +0000 (22:52 +0100)]
Merge branch 'fix-empty-criteria'

12 years agoBugfix: Ignore for_window commands with empty (invalid) criteria (+test) (Thanks...
Michael Stapelberg [Sun, 11 Sep 2011 21:51:59 +0000 (22:51 +0100)]
Bugfix: Ignore for_window commands with empty (invalid) criteria (+test) (Thanks aksr)

12 years agofinally remove the deprecated 'screen' keyword from cfgparse.l
Michael Stapelberg [Sun, 11 Sep 2011 21:27:31 +0000 (22:27 +0100)]
finally remove the deprecated 'screen' keyword from cfgparse.l

12 years agoMerge branch 'new-assign' into next
Michael Stapelberg [Sun, 11 Sep 2011 21:15:51 +0000 (22:15 +0100)]
Merge branch 'new-assign' into next

12 years agodocs/userguide: fix the for_window syntax
Michael Stapelberg [Sun, 11 Sep 2011 21:15:14 +0000 (22:15 +0100)]
docs/userguide: fix the for_window syntax

12 years agodocs/userguide: document the new assign syntax
Michael Stapelberg [Sun, 11 Sep 2011 21:15:05 +0000 (22:15 +0100)]
docs/userguide: document the new assign syntax

12 years agomake the old assign syntax trigger an i3-nagbar warning (it’s deprecated), adjust...
Michael Stapelberg [Sun, 11 Sep 2011 21:01:36 +0000 (22:01 +0100)]
make the old assign syntax trigger an i3-nagbar warning (it’s deprecated), adjust test

12 years agoIntroduce a new syntax for the 'assign' command:
Michael Stapelberg [Sun, 11 Sep 2011 20:54:13 +0000 (21:54 +0100)]
Introduce a new syntax for the 'assign' command:

Instead of using a quoted string to specify the class / title, the assign
command now uses criteria, just like the for_window command or the command
scopes.

An example comes here:

    # Assign all Chromium windows (including popups) to workspace 1: www
    assign [class="^Chromium$"] → 1: www

    # Make the main browser window borderless
    for_window [class="^Chromium$" title=" - Chromium$"] border none

This gives you more control over the matching process due to various reasons:

1) Criteria work case-sensitive by default. Use the (?i) option if you want a
   case-insensitive match, like this:
   assign [class="(?i)^ChroMIUM$"] → 1

2) class and instance of WM_CLASS can now be matched separately. For example,
   when starting urxvt -name irssi, xprop will report this:
   WM_CLASS(STRING) = "irssi", "URxvt"
   The first part of this is the instance ("irssi"), the second part is the
   class ("URxvt").
   An appropriate assignment looks like this:
   assign [class="^URxvt$" instance="irssi"] → 2

3) You can now freely use a forward slash (/) in all strings since that is no
   longer used to separate class from title (in-band signaling is bad, mhkay?).

12 years agoKill left-over i3-nagbar processes on 'exit'
Michael Stapelberg [Sun, 11 Sep 2011 20:49:35 +0000 (21:49 +0100)]
Kill left-over i3-nagbar processes on 'exit'

12 years agodocs/userguide: provide an example of case-insensitive matching with PCRE (Thanks...
Michael Stapelberg [Sun, 11 Sep 2011 20:17:13 +0000 (21:17 +0100)]
docs/userguide: provide an example of case-insensitive matching with PCRE (Thanks stfn)

12 years agoMake the old 'assign' case-insensitive again (+test) (Thanks aksr)
Michael Stapelberg [Sun, 11 Sep 2011 20:16:45 +0000 (21:16 +0100)]
Make the old 'assign' case-insensitive again (+test) (Thanks aksr)

12 years agoMerge branch 'pcre' into next
Michael Stapelberg [Sun, 11 Sep 2011 10:41:29 +0000 (11:41 +0100)]
Merge branch 'pcre' into next

12 years agopcre: enable UCP, UTF-8 (if available), extend t/19-match
Michael Stapelberg [Sun, 11 Sep 2011 10:40:51 +0000 (11:40 +0100)]
pcre: enable UCP, UTF-8 (if available), extend t/19-match

12 years agomention PCRE in docs/userguide
Michael Stapelberg [Sun, 11 Sep 2011 10:10:09 +0000 (11:10 +0100)]
mention PCRE in docs/userguide

12 years agodebian: add libpcre3-dev as build-dependency
Michael Stapelberg [Sat, 10 Sep 2011 22:56:15 +0000 (23:56 +0100)]
debian: add libpcre3-dev as build-dependency

12 years agodocument the new dependency on libpcre in the DEPENDS file
Michael Stapelberg [Sat, 10 Sep 2011 22:55:49 +0000 (23:55 +0100)]
document the new dependency on libpcre in the DEPENDS file

12 years agoImplement support for PCRE regular expressions for all criteria (for_window, commands...
Michael Stapelberg [Sat, 10 Sep 2011 22:53:11 +0000 (23:53 +0100)]
Implement support for PCRE regular expressions for all criteria (for_window, commands, assignments)

12 years agoextend t/19-match to also test regular expressions
Michael Stapelberg [Sat, 10 Sep 2011 22:52:39 +0000 (23:52 +0100)]
extend t/19-match to also test regular expressions

12 years agoi3-msg: include newline at the end of the reply
Michael Stapelberg [Mon, 5 Sep 2011 20:55:31 +0000 (22:55 +0200)]
i3-msg: include newline at the end of the reply

12 years agoMerge branch 'clean-resize' into next
Michael Stapelberg [Mon, 5 Sep 2011 20:36:45 +0000 (22:36 +0200)]
Merge branch 'clean-resize' into next

12 years agoRestrict 'resize' command to left/right for horizontal cons, up/down for vertical...
Michael Stapelberg [Mon, 5 Sep 2011 20:36:04 +0000 (22:36 +0200)]
Restrict 'resize' command to left/right for horizontal cons, up/down for vertical cons

This makes the interface much clearer and avoids confusion about which key to
press in which situation.

12 years agoMerge branch 'fix-wsnum' into next
Michael Stapelberg [Mon, 5 Sep 2011 20:25:48 +0000 (22:25 +0200)]
Merge branch 'fix-wsnum' into next

12 years agoextend t/17-workspace.t to check if the numbers are assigned correctly
Michael Stapelberg [Mon, 5 Sep 2011 20:24:28 +0000 (22:24 +0200)]
extend t/17-workspace.t to check if the numbers are assigned correctly

12 years agoBugfix: Correctly handle workspace names which do not start with a zero
Michael Stapelberg [Mon, 5 Sep 2011 20:21:10 +0000 (22:21 +0200)]
Bugfix: Correctly handle workspace names which do not start with a zero

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 31 Aug 2011 12:45:14 +0000 (14:45 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-leaks'
Michael Stapelberg [Wed, 31 Aug 2011 12:45:11 +0000 (14:45 +0200)]
Merge branch 'fix-leaks'

12 years agoproperly free memory/close fd upon errors (Thanks xeen)
Michael Stapelberg [Wed, 31 Aug 2011 12:44:48 +0000 (14:44 +0200)]
properly free memory/close fd upon errors (Thanks xeen)

Found with the static analyzer cppcheck

12 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 29 Aug 2011 14:05:11 +0000 (16:05 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-userguide'
Michael Stapelberg [Mon, 29 Aug 2011 14:05:08 +0000 (16:05 +0200)]
Merge branch 'fix-userguide'

12 years agodocs/userguide: state that mod+shift+space toggles, add link to criteria in for_windo...
Michael Stapelberg [Mon, 29 Aug 2011 14:04:42 +0000 (16:04 +0200)]
docs/userguide: state that mod+shift+space toggles, add link to criteria in for_window (Thanks Don)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 29 Aug 2011 13:17:53 +0000 (15:17 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-borderless'
Michael Stapelberg [Mon, 29 Aug 2011 13:17:50 +0000 (15:17 +0200)]
Merge branch 'fix-borderless'

12 years agodocs/userguide: new_window: s/borderless/none/ (Thanks bjonnh)
Michael Stapelberg [Mon, 29 Aug 2011 13:17:31 +0000 (15:17 +0200)]
docs/userguide: new_window: s/borderless/none/ (Thanks bjonnh)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 18:18:03 +0000 (20:18 +0200)]
Merge branch 'master' into next

12 years agodebian: bump version so that apt prefers source builds over debian repository versions
Michael Stapelberg [Sun, 28 Aug 2011 18:17:38 +0000 (20:17 +0200)]
debian: bump version so that apt prefers source builds over debian repository versions

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 18:07:29 +0000 (20:07 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'release-4.0.2'
Michael Stapelberg [Sun, 28 Aug 2011 18:07:26 +0000 (20:07 +0200)]
Merge branch 'release-4.0.2'

12 years agodebian: wrap debian/control correctly
Michael Stapelberg [Sun, 28 Aug 2011 17:56:46 +0000 (19:56 +0200)]
debian: wrap debian/control correctly

12 years agobump version number in man/asciidoc.conf 4.0.2
Michael Stapelberg [Sun, 28 Aug 2011 17:47:03 +0000 (19:47 +0200)]
bump version number in man/asciidoc.conf

12 years agoadd release notes for v4.0.2
Michael Stapelberg [Sun, 28 Aug 2011 17:17:43 +0000 (19:17 +0200)]
add release notes for v4.0.2

12 years agodebian: update changelog for the 4.0.2 release
Michael Stapelberg [Sun, 28 Aug 2011 17:09:57 +0000 (19:09 +0200)]
debian: update changelog for the 4.0.2 release

12 years agoMerge branch 'fix-wsnum' into next
Michael Stapelberg [Sun, 28 Aug 2011 16:17:25 +0000 (18:17 +0200)]
Merge branch 'fix-wsnum' into next

12 years agoBugfix: Correctly assign a number to workspaces starting with '0: ' (Thanks SardemFF7)
Michael Stapelberg [Sun, 28 Aug 2011 16:17:02 +0000 (18:17 +0200)]
Bugfix: Correctly assign a number to workspaces starting with '0: ' (Thanks SardemFF7)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 16:03:06 +0000 (18:03 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'userguide'
Michael Stapelberg [Sun, 28 Aug 2011 16:03:03 +0000 (18:03 +0200)]
Merge branch 'userguide'

12 years agodocs/userguide: properly document command chaining and criteria
Michael Stapelberg [Sun, 28 Aug 2011 16:02:49 +0000 (18:02 +0200)]
docs/userguide: properly document command chaining and criteria

12 years agodocs/userguide: properly document the resize command
Michael Stapelberg [Sun, 28 Aug 2011 15:51:37 +0000 (17:51 +0200)]
docs/userguide: properly document the resize command

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 15:44:59 +0000 (17:44 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-urls'
Michael Stapelberg [Sun, 28 Aug 2011 15:44:57 +0000 (17:44 +0200)]
Merge branch 'fix-urls'

12 years agos/i3.zekjur.net/i3wm.org/g
Mark Kusch [Sun, 28 Aug 2011 07:59:03 +0000 (09:59 +0200)]
s/i3.zekjur.net/i3wm.org/g

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 15:41:23 +0000 (17:41 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-ipc-name'
Michael Stapelberg [Sun, 28 Aug 2011 15:40:15 +0000 (17:40 +0200)]
Merge branch 'fix-ipc-name'

12 years agoUse name_json if available, rather than non-descriptive name.
Peter Bui [Sun, 21 Aug 2011 20:19:53 +0000 (16:19 -0400)]
Use name_json if available, rather than non-descriptive name.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 15:02:19 +0000 (17:02 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'migrate-indention'
Michael Stapelberg [Sun, 28 Aug 2011 15:02:17 +0000 (17:02 +0200)]
Merge branch 'migrate-indention'

12 years agomigrate-config: use \s, be a bit more whitespace tolerant (+test) (Thanks sbedivere)
Michael Stapelberg [Sun, 28 Aug 2011 15:01:37 +0000 (17:01 +0200)]
migrate-config: use \s, be a bit more whitespace tolerant (+test) (Thanks sbedivere)

Fixes: #457
12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 14:18:24 +0000 (16:18 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'wizard-fix-mods'
Michael Stapelberg [Sun, 28 Aug 2011 14:18:21 +0000 (16:18 +0200)]
Merge branch 'wizard-fix-mods'

12 years agoi3-config-wizard: Bugfix: Check the modifier mapping to decide whether to use Mod1...
Michael Stapelberg [Sun, 28 Aug 2011 14:16:53 +0000 (16:16 +0200)]
i3-config-wizard: Bugfix: Check the modifier mapping to decide whether to use Mod1 or Mod4

Fixes #491

Before, we assumed XK_Alt_L was in Mod1 and XK_Super_L was in Mod4 (which is
true on most systems). Now we just check if the keycode is in Mod1 or Mod4 and
write the config accordingly.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 13:47:35 +0000 (15:47 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-floatdock'
Michael Stapelberg [Sun, 28 Aug 2011 13:47:31 +0000 (15:47 +0200)]
Merge branch 'fix-floatdock'

12 years agoBugfix: Make 'floating enable' check for dock windows (Thanks edelkind)
Michael Stapelberg [Sun, 28 Aug 2011 13:46:50 +0000 (15:46 +0200)]
Bugfix: Make 'floating enable' check for dock windows (Thanks edelkind)

Fixes #501

12 years agot/66-assign: check if i3 crashes when assigning a dock window to floating
Michael Stapelberg [Sun, 28 Aug 2011 13:43:51 +0000 (15:43 +0200)]
t/66-assign: check if i3 crashes when assigning a dock window to floating

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 28 Aug 2011 12:55:17 +0000 (14:55 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'userguide-wrapping'
Michael Stapelberg [Sun, 28 Aug 2011 12:55:14 +0000 (14:55 +0200)]
Merge branch 'userguide-wrapping'