Hello community,
here is the log from the commit of package i3 for openSUSE:Factory checked in at 2015-03-25 10:00:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/i3 (Old)
and /work/SRC/openSUSE:Factory/.i3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "i3"
Changes:
--------
--- /work/SRC/openSUSE:Factory/i3/i3.changes 2015-03-11 09:58:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.i3.new/i3.changes 2015-03-25 10:00:53.000000000 +0100
@@ -1,0 +2,18 @@
+Mon Mar 16 13:47:31 UTC 2015 - fcastelli@suse.com
+
+- Update to v4.9.1:
+- Bugfixes:
+ - i3bar: fix incorrect y-offset for text
+ - fix key bindings on big-endian platforms
+ - fix key bindings using Mode_switch
+ - fix keyboard layout change detection
+ - revert "Handle WM_CHANGE_STATE requests for iconic state" (fixes problems
+ with application windows disappearing, like SDL-based games when switching
+ workspaces)
+ - insert id-based match at HEAD, not TAIL (fixes window swallowing not
+ working when the criteria match the placeholder window)
+ - improve error messages on failing commands
+ - replace ~ in filepath when calling append_layout
+ - properly error out when the layout file cannot be read
+
+-------------------------------------------------------------------
Old:
----
i3-4.9.tar.bz2
New:
----
i3-4.9.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ i3.spec ++++++
--- /var/tmp/diff_new_pack.wPU3RF/_old 2015-03-25 10:00:54.000000000 +0100
+++ /var/tmp/diff_new_pack.wPU3RF/_new 2015-03-25 10:00:54.000000000 +0100
@@ -17,7 +17,7 @@
Name: i3
-Version: 4.9
+Version: 4.9.1
Release: 0
Summary: Tilling window manager
License: BSD-3-Clause
++++++ i3-4.9.tar.bz2 -> i3-4.9.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/I3_VERSION new/i3-4.9.1/I3_VERSION
--- old/i3-4.9/I3_VERSION 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/I3_VERSION 2015-03-07 20:26:21.000000000 +0100
@@ -1 +1 @@
-4.9 (2015-02-28, branch \"tags/4.9\")
\ No newline at end of file
+4.9.1 (2015-03-07, branch \"4.9.1\")
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/RELEASE-NOTES-4.9 new/i3-4.9.1/RELEASE-NOTES-4.9
--- old/i3-4.9/RELEASE-NOTES-4.9 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/RELEASE-NOTES-4.9 1970-01-01 01:00:00.000000000 +0100
@@ -1,124 +0,0 @@
-
- ┌──────────────────────────────┐
- │ Release notes for i3 v4.9 │
- └──────────────────────────────┘
-
-This is i3 v4.9. This version is considered stable. All users of i3 are
-strongly encouraged to upgrade.
-
-Notable new features include mouse button bindings and improved EWMH
-compatibility, meaning more external pager programs work with i3 now.
-
-Aside from that, this release contains plenty of bugfixes and little
-enhancements.
-
-The new dependency on libxkbcommon ≥ 0.4.0 is notable for distribution
-packages. This dependency allowed us to drop our last direct dependency
-on Xlib :).
-
-It’s also worth mentioning that all i3 repositories are now on GitHub, see
-http://thread.gmane.org/gmane.comp.window-managers.i3.general/1666 for the
-announcement.
-
- ┌────────────────────────────┐
- │ Changes in v4.9 │
- └────────────────────────────┘
-
- • docs/ipc: use an actual event type
- • docs/debugging: use logs.i3wm.org
- • docs/testsuite: add hint to use xvfb-run
- • testcases: use Xephyr instead of XDummy
- • i3-sensible-*: use command -v (built-in) instead of which(1)
- • i3.xsession.desktop: set DesktopNames (which gdm uses)
- • i3-save-tree: interpret commandline parameters as utf-8
- • i3-save-tree: add 'mark' as allowed key to i3-save-tree output
- • i3bar-protocol: ensure align = left is the default
- • i3bar: implement custom mouse wheel commands
- • i3bar: improve error message when a full_text property is missing
- • i3bar: respect the urgency flag on status blocks
- • i3bar: inset the urgent background of a status block for consistency with
- workspace buttons
- • i3bar: suspend the child when bars are fully obscured
- • i3bar: use Pango markup
- • ipc: implement the window::close event
- • ipc: implement the window::move event
- • ipc: implement the window::floating event
- • ipc: implement the window::urgent event
- • ipc: set ws reply "num" member to -1 when named
- • ipc: add deco_rect property to con in ipc response
- • ipc: include workspace con in workspace event
- • ewmh: implement property _NET_NUMBER_OF_DESKTOPS
- • ewmh: implement property _NET_DESKTOP_VIEWPORT
- • ewmh: implement property _NET_DESKTOP_NAMES
- • ewmh: handle _NET_CURRENT_DESKTOP requests
- • ewmh: handle _NET_CLOSE_WINDOW requests
- • ewmh: handle _NET_WM_MOVERESIZE requests
- • implement mouse bindings (e.g. bindsym button3 kill)
- • add mouse binding --whole-window flag
- • add mouse binding --release flag
- • switch to xcb-xkb and libxkbcommon, removing our last direct Xlib dep
- • make “move [direction]” work with criteria
- • make “move to <absolute> position” work with criteria
- • “workspace <n>” and “move to workspace <n>” now look for a workspace
- starting with number <n> (unless there is a workspace exactly matching that
- number). I.e., “workspace 4” will go to a workspace called “4: www” unless
- you have a workspace “4”
- • “focus <direction>” now focuses floating containers when there are no
- tiling containers on the destination output
- • take the motif border into account when calculating floating window
- geometry
- • revert “Disable pointer warps when focus_follows_mouse is disabled” as it
- was unexpected by a number of users. Sorry for the back-and-forth
- • handle WM_CLASS changes
- • raise floating windows on “focus <direction>”
- • align lower line of bar decoration to border width
- • parse tray_output as a word, not string
- • allow to validate the config file without X
- • do not resend focus on click, fixes compatibility problems with some wine
- or mono apps (e.g. Office 2010)
- • don't draw borders wider than actual width
- • prevent workspace change during global fullscreen
- • extend the fullscreen command (fullscreen [global])
- • fix start_application() doc about which shell is used
-
- ┌────────────────────────────┐
- │ Bugfixes │
- └────────────────────────────┘
-
- • i3-dmenu-desktop: quote path
- • i3bar: fix a double free when changing color configuration
- • i3bar: render bars after the first chunk of JSON
- • i3bar: add a sync call to confirm reparents before exiting (fixes tray
- restart issues)
- • i3bar: correctly calculate clicks on i3bar status blocks
- • i3bar: make click events on status blocks work with 'workspace_buttons no'
- • retina support: convert logical to physical pixels for default_border_width
- • retina support: treat everything up to 120 dpi as 96 dpi
- • don’t set input focus if not accepted (fixes problems with xfce4-notifyd)
- • don’t focus unmapped container on manage
- • create the directory for storing the restart state
- • avoid changing border width when changing containers from tiling to
- floating
- • layout saving: properly restore workspace containers
- • rerender the decoration when the container requires a pixmap and doesn’t
- have one
- • don’t set focus in con_set_layout() on invisible workspaces
- • properly handle windows unsetting WM_TRANSIENT_FOR
- • use the command parser to properly extract workspace names
- • copy binding before run (fixes reloads)
- • revert "Bugfix: Set input focus with last timestamp"
- • render floating windows during global fullscreen
- • actually parse client.placeholder
-
- ┌────────────────────────────┐
- │ Thanks! │
- └────────────────────────────┘
-
-Thanks for testing, bugfixes, discussions and everything I forgot go out to:
-
- Alexander Monakov, aszlig, cornerman, dmurph, Mats, dsargrad, hercek, hjem,
- Ingo, Ingo Bürk, Janus, javier, jefvel, Lukas K, Marein Konings, Mats,
- Michael Stapelberg, Mii, nikolaus, okraits, Peter, smlb, sur5r, Tony Crisci,
- val, vals, xeen, Yves-Alexis
-
--- Michael Stapelberg, 2015-02-28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/RELEASE-NOTES-4.9.1 new/i3-4.9.1/RELEASE-NOTES-4.9.1
--- old/i3-4.9/RELEASE-NOTES-4.9.1 1970-01-01 01:00:00.000000000 +0100
+++ new/i3-4.9.1/RELEASE-NOTES-4.9.1 2015-03-07 20:26:13.000000000 +0100
@@ -0,0 +1,36 @@
+
+ ┌──────────────────────────────┐
+ │ Release notes for i3 v4.9.1 │
+ └──────────────────────────────┘
+
+This is i3 v4.9.1. This version is considered stable. All users of i3 are
+strongly encouraged to upgrade.
+
+This is a bugfix release for i3 v4.9.
+
+ ┌────────────────────────────┐
+ │ Bugfixes │
+ └────────────────────────────┘
+
+ • i3bar: fix incorrect y-offset for text
+ • fix key bindings on big-endian platforms
+ • fix key bindings using Mode_switch
+ • fix keyboard layout change detection
+ • revert "Handle WM_CHANGE_STATE requests for iconic state" (fixes problems
+ with application windows disappearing, like SDL-based games when switching
+ workspaces)
+ • insert id-based match at HEAD, not TAIL (fixes window swallowing not
+ working when the criteria match the placeholder window)
+ • improve error messages on failing commands
+ • replace ~ in filepath when calling append_layout
+ • properly error out when the layout file cannot be read
+
+ ┌────────────────────────────┐
+ │ Thanks! │
+ └────────────────────────────┘
+
+Thanks for testing, bugfixes, discussions and everything I forgot go out to:
+
+ Steven McDonald, Ton van den Heuvel, Ingo Bürk
+
+-- Michael Stapelberg, 2015-03-07
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/VERSION new/i3-4.9.1/VERSION
--- old/i3-4.9/VERSION 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/VERSION 2015-03-07 20:26:21.000000000 +0100
@@ -1 +1 @@
-4.9
\ No newline at end of file
+4.9.1
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/debugging.html new/i3-4.9.1/docs/debugging.html
--- old/i3-4.9/docs/debugging.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/debugging.html 2015-03-07 20:26:21.000000000 +0100
@@ -872,7 +872,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/hacking-howto.html new/i3-4.9.1/docs/hacking-howto.html
--- old/i3-4.9/docs/hacking-howto.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/hacking-howto.html 2015-03-07 20:26:21.000000000 +0100
@@ -2298,7 +2298,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/i3bar-protocol.html new/i3-4.9.1/docs/i3bar-protocol.html
--- old/i3-4.9/docs/i3bar-protocol.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/i3bar-protocol.html 2015-03-07 20:26:21.000000000 +0100
@@ -1105,7 +1105,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/ipc.html new/i3-4.9.1/docs/ipc.html
--- old/i3-4.9/docs/ipc.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/ipc.html 2015-03-07 20:26:21.000000000 +0100
@@ -2187,7 +2187,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/layout-saving.html new/i3-4.9.1/docs/layout-saving.html
--- old/i3-4.9/docs/layout-saving.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/layout-saving.html 2015-03-07 20:26:21.000000000 +0100
@@ -980,7 +980,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/multi-monitor.html new/i3-4.9.1/docs/multi-monitor.html
--- old/i3-4.9/docs/multi-monitor.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/multi-monitor.html 2015-03-07 20:26:21.000000000 +0100
@@ -812,7 +812,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/testsuite.html new/i3-4.9.1/docs/testsuite.html
--- old/i3-4.9/docs/testsuite.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/testsuite.html 2015-03-07 20:26:21.000000000 +0100
@@ -1361,7 +1361,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/userguide.html new/i3-4.9.1/docs/userguide.html
--- old/i3-4.9/docs/userguide.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/userguide.html 2015-03-07 20:26:21.000000000 +0100
@@ -3048,7 +3048,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/docs/wsbar.html new/i3-4.9.1/docs/wsbar.html
--- old/i3-4.9/docs/wsbar.html 2015-02-28 14:52:03.000000000 +0100
+++ new/i3-4.9.1/docs/wsbar.html 2015-03-07 20:26:21.000000000 +0100
@@ -840,7 +840,7 @@
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-02-28 14:51:54 CET
+Last updated 2015-03-07 20:26:09 CET
</div>
</div>
</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/include/atoms.xmacro new/i3-4.9.1/include/atoms.xmacro
--- old/i3-4.9/include/atoms.xmacro 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/include/atoms.xmacro 2015-03-07 20:26:13.000000000 +0100
@@ -39,4 +39,3 @@
xmacro(_NET_REQUEST_FRAME_EXTENTS)
xmacro(_NET_FRAME_EXTENTS)
xmacro(_MOTIF_WM_HINTS)
-xmacro(WM_CHANGE_STATE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/libi3/font.c new/i3-4.9.1/libi3/font.c
--- old/i3-4.9/libi3/font.c 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/libi3/font.c 2015-03-07 20:26:13.000000000 +0100
@@ -126,7 +126,7 @@
cairo_set_source_rgb(cr, pango_font_red, pango_font_green, pango_font_blue);
pango_cairo_update_layout(cr, layout);
pango_layout_get_pixel_size(layout, NULL, &height);
- cairo_move_to(cr, x, y - (height - savedFont->height));
+ cairo_move_to(cr, x, y - 0.5 * (height - savedFont->height));
pango_cairo_show_layout(cr, layout);
/* Free resources */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/asciidoc.conf new/i3-4.9.1/man/asciidoc.conf
--- old/i3-4.9/man/asciidoc.conf 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/man/asciidoc.conf 2015-03-07 20:26:13.000000000 +0100
@@ -7,7 +7,7 @@
<refentrytitle>{mantitle}</refentrytitle>
<manvolnum>{manvolnum}</manvolnum>
<refmiscinfo class="source">i3</refmiscinfo>
-<refmiscinfo class="version">4.9</refmiscinfo>
+<refmiscinfo class="version">4.9.1</refmiscinfo>
<refmiscinfo class="manual">i3 Manual</refmiscinfo>
</refmeta>
<refnamediv>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-config-wizard.1 new/i3-4.9.1/man/i3-config-wizard.1
--- old/i3-4.9/man/i3-config-wizard.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-config-wizard.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-config-wizard
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-CONFIG\-WIZARD" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-CONFIG\-WIZARD" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-dmenu-desktop.1 new/i3-4.9.1/man/i3-dmenu-desktop.1
--- old/i3-4.9/man/i3-dmenu-desktop.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-dmenu-desktop.1 2015-03-07 20:26:28.000000000 +0100
@@ -71,7 +71,7 @@
.\" ========================================================================
.\"
.IX Title "I3-DMENU-DESKTOP 1"
-.TH I3-DMENU-DESKTOP 1 "2015-02-28" "perl v5.18.4" "User Contributed Perl Documentation"
+.TH I3-DMENU-DESKTOP 1 "2015-03-07" "perl v5.18.4" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-dump-log.1 new/i3-4.9.1/man/i3-dump-log.1
--- old/i3-4.9/man/i3-dump-log.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-dump-log.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-dump-log
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-DUMP\-LOG" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-DUMP\-LOG" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-input.1 new/i3-4.9.1/man/i3-input.1
--- old/i3-4.9/man/i3-input.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-input.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-input
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-INPUT" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-INPUT" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-migrate-config-to-v4.1 new/i3-4.9.1/man/i3-migrate-config-to-v4.1
--- old/i3-4.9/man/i3-migrate-config-to-v4.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-migrate-config-to-v4.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-migrate-config-to-v4
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-MIGRATE\-CONFIG\" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-MIGRATE\-CONFIG\" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-msg.1 new/i3-4.9.1/man/i3-msg.1
--- old/i3-4.9/man/i3-msg.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-msg.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-msg
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-MSG" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-MSG" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-nagbar.1 new/i3-4.9.1/man/i3-nagbar.1
--- old/i3-4.9/man/i3-nagbar.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-nagbar.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-nagbar
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-NAGBAR" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-NAGBAR" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-save-tree.1 new/i3-4.9.1/man/i3-save-tree.1
--- old/i3-4.9/man/i3-save-tree.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-save-tree.1 2015-03-07 20:26:28.000000000 +0100
@@ -71,7 +71,7 @@
.\" ========================================================================
.\"
.IX Title "I3-SAVE-TREE 1"
-.TH I3-SAVE-TREE 1 "2015-02-28" "perl v5.18.4" "User Contributed Perl Documentation"
+.TH I3-SAVE-TREE 1 "2015-03-07" "perl v5.18.4" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-sensible-editor.1 new/i3-4.9.1/man/i3-sensible-editor.1
--- old/i3-4.9/man/i3-sensible-editor.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-sensible-editor.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-sensible-editor
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-SENSIBLE\-EDITOR" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-SENSIBLE\-EDITOR" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-sensible-pager.1 new/i3-4.9.1/man/i3-sensible-pager.1
--- old/i3-4.9/man/i3-sensible-pager.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-sensible-pager.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-sensible-pager
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-SENSIBLE\-PAGER" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-SENSIBLE\-PAGER" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3-sensible-terminal.1 new/i3-4.9.1/man/i3-sensible-terminal.1
--- old/i3-4.9/man/i3-sensible-terminal.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3-sensible-terminal.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3-sensible-terminal
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3\-SENSIBLE\-TERMIN" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3\-SENSIBLE\-TERMIN" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3.1 new/i3-4.9.1/man/i3.1
--- old/i3-4.9/man/i3.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/man/i3bar.1 new/i3-4.9.1/man/i3bar.1
--- old/i3-4.9/man/i3bar.1 2015-02-28 14:52:10.000000000 +0100
+++ new/i3-4.9.1/man/i3bar.1 2015-03-07 20:26:28.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: i3bar
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 02/28/2015
+.\" Date: 03/07/2015
.\" Manual: i3 Manual
-.\" Source: i3 4.9
+.\" Source: i3 4.9.1
.\" Language: English
.\"
-.TH "I3BAR" "1" "02/28/2015" "i3 4\&.9" "i3 Manual"
+.TH "I3BAR" "1" "03/07/2015" "i3 4\&.9\&.1" "i3 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/src/bindings.c new/i3-4.9.1/src/bindings.c
--- old/i3-4.9/src/bindings.c 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/src/bindings.c 2015-03-07 20:26:13.000000000 +0100
@@ -159,9 +159,10 @@
* need to look in the array of translated keycodes for the event’s
* keycode */
if (input_type == B_KEYBOARD && bind->symbol != NULL) {
+ xcb_keycode_t input_keycode = (xcb_keycode_t)input_code;
if (memmem(bind->translated_to,
bind->number_keycodes * sizeof(xcb_keycode_t),
- &input_code, sizeof(xcb_keycode_t)) == NULL)
+ &input_keycode, sizeof(xcb_keycode_t)) == NULL)
continue;
} else {
/* This case is easier: The user specified a keycode */
@@ -210,7 +211,7 @@
state_filtered &= 0xFF;
DLOG("(removed upper 8 bits, state = %d)\n", state_filtered);
- if (xkb_current_group == XkbGroup2Index)
+ if (xkb_current_group == XCB_XKB_GROUP_2)
state_filtered |= BIND_MODE_SWITCH;
DLOG("(checked mode_switch, state %d)\n", state_filtered);
@@ -293,8 +294,8 @@
bind->translated_to[bind->number_keycodes - 1] = i;
}
- DLOG("Translated symbol \"%s\" to %d keycode\n", bind->symbol,
- bind->number_keycodes);
+ DLOG("Translated symbol \"%s\" to %d keycode (mods %d)\n", bind->symbol,
+ bind->number_keycodes, bind->mods);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/src/commands.c new/i3-4.9.1/src/commands.c
--- old/i3-4.9/src/commands.c 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/src/commands.c 2015-03-07 20:26:13.000000000 +0100
@@ -27,16 +27,19 @@
y(map_close); \
} \
} while (0)
-#define yerror(message) \
- do { \
- if (cmd_output->json_gen != NULL) { \
- y(map_open); \
- ystr("success"); \
- y(bool, false); \
- ystr("error"); \
- ystr(message); \
- y(map_close); \
- } \
+#define yerror(format, ...) \
+ do { \
+ if (cmd_output->json_gen != NULL) { \
+ char *message; \
+ sasprintf(&message, format, ##__VA_ARGS__); \
+ y(map_open); \
+ ystr("success"); \
+ y(bool, false); \
+ ystr("error"); \
+ ystr(message); \
+ y(map_close); \
+ free(message); \
+ } \
} while (0)
/** When the command did not include match criteria (!), we use the currently
@@ -574,8 +577,7 @@
if (parsed_num == -1) {
LOG("Could not parse initial part of \"%s\" as a number.\n", which);
- // TODO: better error message
- yerror("Could not parse number");
+ yerror("Could not parse number \"%s\"", which);
return;
}
@@ -900,11 +902,15 @@
void cmd_append_layout(I3_CMD, char *path) {
LOG("Appending layout \"%s\"\n", path);
+ /* Make sure we allow paths like '~/.i3/layout.json' */
+ path = resolve_tilde(path);
+
json_content_t content = json_determine_content(path);
LOG("JSON content = %d\n", content);
if (content == JSON_CONTENT_UNKNOWN) {
ELOG("Could not determine the contents of \"%s\", not loading.\n", path);
- ysuccess(false);
+ yerror("Could not determine the contents of \"%s\".", path);
+ free(path);
return;
}
@@ -946,6 +952,7 @@
if (content == JSON_CONTENT_WORKSPACE)
ipc_send_workspace_event("restored", parent, NULL);
+ free(path);
cmd_output->needs_tree_render = true;
}
@@ -1002,8 +1009,7 @@
if (parsed_num == -1) {
LOG("Could not parse initial part of \"%s\" as a number.\n", which);
- // TODO: better error message
- yerror("Could not parse number");
+ yerror("Could not parse number \"%s\"", which);
return;
}
@@ -2002,10 +2008,7 @@
}
if (!workspace) {
- // TODO: we should include the old workspace name here and use yajl for
- // generating the reply.
- // TODO: better error message
- yerror("Old workspace not found");
+ yerror("Old workspace \"%s\" not found", old_name);
return;
}
@@ -2015,10 +2018,7 @@
!strcasecmp(child->name, new_name));
if (check_dest != NULL) {
- // TODO: we should include the new workspace name here and use yajl for
- // generating the reply.
- // TODO: better error message
- yerror("New workspace already exists");
+ yerror("New workspace \"%s\" already exists", new_name);
return;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/src/handlers.c new/i3-4.9.1/src/handlers.c
--- old/i3-4.9/src/handlers.c 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/src/handlers.c 2015-03-07 20:26:13.000000000 +0100
@@ -804,21 +804,6 @@
XCB_ATOM_CARDINAL, 32, 4,
&r);
xcb_flush(conn);
- } else if (event->type == A_WM_CHANGE_STATE) {
- /* http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4 */
- Con *con = con_by_window_id(event->window);
-
- if (con && event->data.data32[0] == 3) {
- /* this request is so we can play some animiation showing the
- * window physically moving to the tray before we close it (I
- * think) */
- DLOG("Client has requested iconic state. Closing this con. (con = %p)\n", con);
- tree_close(con, DONT_KILL_WINDOW, false, false);
- tree_render();
- } else {
- DLOG("Not handling WM_CHANGE_STATE request. (window = %d, state = %d)\n", event->window, event->data.data32[0]);
- }
-
} else if (event->type == A__NET_CURRENT_DESKTOP) {
/* This request is used by pagers and bars to change the current
* desktop likely as a result of some user action. We interpret this as
@@ -1257,12 +1242,21 @@
DLOG("xkb event, need to handle it.\n");
xcb_xkb_state_notify_event_t *state = (xcb_xkb_state_notify_event_t *)event;
- if (state->xkbType == XCB_XKB_MAP_NOTIFY) {
+ if (state->xkbType == XCB_XKB_NEW_KEYBOARD_NOTIFY) {
+ DLOG("xkb new keyboard notify, sequence %d, time %d\n", state->sequence, state->time);
+ xcb_key_symbols_free(keysyms);
+ keysyms = xcb_key_symbols_alloc(conn);
+ ungrab_all_keys(conn);
+ translate_keysyms();
+ grab_all_keys(conn, false);
+ } else if (state->xkbType == XCB_XKB_MAP_NOTIFY) {
if (event_is_ignored(event->sequence, type)) {
DLOG("Ignoring map notify event for sequence %d.\n", state->sequence);
} else {
DLOG("xkb map notify, sequence %d, time %d\n", state->sequence, state->time);
add_ignore_event(event->sequence, type);
+ xcb_key_symbols_free(keysyms);
+ keysyms = xcb_key_symbols_alloc(conn);
ungrab_all_keys(conn);
translate_keysyms();
grab_all_keys(conn, false);
@@ -1273,7 +1267,7 @@
/* See The XKB Extension: Library Specification, section 14.1 */
/* We check if the current group (each group contains
* two levels) has been changed. Mode_switch activates
- * group XkbGroup2Index */
+ * group XCB_XKB_GROUP_2 */
if (xkb_current_group == state->group)
return;
xkb_current_group = state->group;
@@ -1283,7 +1277,7 @@
grab_all_keys(conn, false);
} else {
DLOG("Mode_switch enabled\n");
- grab_all_keys(conn, false);
+ grab_all_keys(conn, true);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/src/main.c new/i3-4.9.1/src/main.c
--- old/i3-4.9/src/main.c 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/src/main.c 2015-03-07 20:26:13.000000000 +0100
@@ -536,9 +536,9 @@
xcb_xkb_use_extension(conn, XCB_XKB_MAJOR_VERSION, XCB_XKB_MINOR_VERSION);
xcb_xkb_select_events(conn,
XCB_XKB_ID_USE_CORE_KBD,
- XCB_XKB_EVENT_TYPE_STATE_NOTIFY | XCB_XKB_EVENT_TYPE_MAP_NOTIFY,
+ XCB_XKB_EVENT_TYPE_STATE_NOTIFY | XCB_XKB_EVENT_TYPE_MAP_NOTIFY | XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY,
0,
- XCB_XKB_EVENT_TYPE_STATE_NOTIFY | XCB_XKB_EVENT_TYPE_MAP_NOTIFY,
+ XCB_XKB_EVENT_TYPE_STATE_NOTIFY | XCB_XKB_EVENT_TYPE_MAP_NOTIFY | XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY,
0xff,
0xff,
NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/src/restore_layout.c new/i3-4.9.1/src/restore_layout.c
--- old/i3-4.9/src/restore_layout.c 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/src/restore_layout.c 2015-03-07 20:26:13.000000000 +0100
@@ -219,7 +219,7 @@
Match *temp_id = smalloc(sizeof(Match));
match_init(temp_id);
temp_id->id = placeholder;
- TAILQ_INSERT_TAIL(&(con->swallow_head), temp_id, matches);
+ TAILQ_INSERT_HEAD(&(con->swallow_head), temp_id, matches);
}
Con *child;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/i3-4.9/testcases/t/231-wm-change-state.t new/i3-4.9.1/testcases/t/231-wm-change-state.t
--- old/i3-4.9/testcases/t/231-wm-change-state.t 2015-02-28 14:51:55.000000000 +0100
+++ new/i3-4.9.1/testcases/t/231-wm-change-state.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,49 +0,0 @@
-#!perl
-# vim:ts=4:sw=4:expandtab
-#
-# Please read the following documents before working on tests:
-# • http://build.i3wm.org/docs/testsuite.html
-# (or docs/testsuite)
-#
-# • http://build.i3wm.org/docs/lib-i3test.html
-# (alternatively: perldoc ./testcases/lib/i3test.pm)
-#
-# • http://build.i3wm.org/docs/ipc.html
-# (or docs/ipc)
-#
-# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
-# (unless you are already familiar with Perl)
-#
-# Correctly handle WM_CHANGE_STATE requests for the iconic state
-# See http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4
-# Ticket: #1279
-# Bug still in: 4.8-7-gf4a8253
-use i3test;
-
-sub send_iconic_state_request {
- my ($win) = @_;
-
- my $msg = pack "CCSLLLLLL",
- X11::XCB::CLIENT_MESSAGE, # response_type
- 32, # format
- 0, # sequence
- $win->id, # window
- $x->atom(name => 'WM_CHANGE_STATE')->id, # message type
- 3, # data32[0]
- 0, # data32[1]
- 0, # data32[2]
- 0, # data32[3]
- 0; # data32[4]
-
- $x->send_event(0, $x->get_root_window(), X11::XCB::EVENT_MASK_SUBSTRUCTURE_REDIRECT, $msg);
-}
-
-my $ws = fresh_workspace;
-my $win = open_window;
-
-send_iconic_state_request($win);
-sync_with_i3;
-
-is(@{get_ws($ws)->{nodes}}, 0, 'When a window requests the iconic state, the container should be closed');
-
-done_testing;
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org