From f6f642c0f5c205be2e38ceaaa5d3ae75ff52366e Mon Sep 17 00:00:00 2001 From: degroote Date: Sun, 1 May 2016 09:39:58 +0000 Subject: Update to 4.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes from upstream since 4.11 • use https instead of git/http, update contact information, add GPG key • docs/hacking-howto: fix old cfgparse.y reference to config_parser.c • docs/ipc: added link to i3ipcpp (C++ library) • docs/userguide: clarify no_focus documentation • docs/userguide: add documentation for binding modes • docs/userguide: fix rendering of __focused__ • docs/userguide: improve placement of explicit IDs for headings • docs/userguide: make rendering of key bindings more consistent • docs/userguide: clarify quoting of “exec” commands • man/i3-nagbar: fix example invocation • man/i3: add “floating window” to terminology • i3-sensible-*: quote variables correctly • i3-sensible-editor: add neovim • i3-sensible-terminal: add termit, st • i3bar: use cairo for all drawing operations • i3bar: support per-statusblock border and background colors • i3bar: support different bar background colors depending on whether the bar is on the focused output or not • i3bar: multiple tray_output directives on the same bar are now supported • i3bar: support disabling the modifier by specifying “modifier none” • use cairo for all drawing operations • fix a number of memory leaks, thanks to AddressSanitizer • no_focus is now suppressed for the first window of a workspace • “workspace next/prev” now looks for numbered workspaces after reaching the last workspace (it used to incorrectly only look at named workspaces) • multiple marks can now be set on a single window (but a mark can still only be present on one window at a time) • the “unmark” command now supports criteria • the “con_id” criterion now supports the special value __focused__ • the “workspace” command now supports the --no-auto-back-and-forth parameter • the “move window to workspace” command now supports the --no-auto-back-and-forth parameter • the “resize grow|shrink width|height” command now works for a nested split in the same direction • support _NET_WM_USER_TIME’s special 0 value, indicating that a window should not be focused • use 32-bit visual by default if available. This reduces graphical glitches when using transparency (which is still not officially supported) • the “move position center” command now supports criteria • specifying invalid match criteria now results in an error instead of blindly applying the operation to the currently focused window • allow mouse bindings to run on the root window • support matching _NET_WM_WINDOW_TYPE_NOTIFICATION in criteria • all criteria are now matched, even when con_id or con_mark are given (used to be a special case) • allow the “id” criterion to be specified in any base recognized by strtol(), not only base 10 • non-true color displays are now supported again (e.g. the Raspberry Pi) • the “split” command now has a “toggle” option • the additional color class “decoration_border” was added • title_format is now stored on containers instead of windows, allowing the use of title_format on split containers • On OpenBSD, i3 now uses pledge(2) • support _NET_WM_DESKTOP (for pager applications like gnome-panel) • floating workspaces are no longer available (they were not supported for a while now) • floating windows now carry the I3_FLOATING_WINDOW atom so that tools like compositors can be configured to match on floating windows Bugfixes from upstream since 4.11 • i3bar: display short text only on the monitor(s) on which it is necessary • i3bar: explicitly set cursor using libxcb-cursor if available • i3bar: fix XEMBED messages • i3-nagbar: explicitly set cursor using libxcb-cursor if available • duplicated keybindings are now also detected when one uses bindcode but the other(s) use(s) bindsym • keymap fallback for servers without XKB (e.g. TightVNC) has been added • using pango markup in mode names is now optional, fixing a regression in i3 v4.11 where modes which contained characters such as “<” would break. • moving windows to a workspace by specifying a mark now works • the root output is now used when any RandR request fails (for x2go) • assignments are now marked as run before executing them, preventing endless loops/crashes when assignments cause another assignment evaluation • splitting/floating a dock container no longer crashes i3 • correctly compare modifier mask when identifying keybindings (fixes bindings which use --release) • no longer fail config validation when there is no newline at the end of the config file • scrollwheel buttons are now only grabbed when necessary, allowing the use of “bindsym button*” or scrolling in windows without focusing them (in case no “bindsym button*” is present) • parse con_id in base 16 (affected FreeBSD only) • fix crash when opening a large number of windows • reject empty swallow definitions to avoid crashes • don’t remove SubstructureRedirect event mask temporarily (fixes i3bar stopping after system suspend) • move urgent flag before killing the parent to avoid a crash • correctly validate “kill” command to avoid crashing when “kill” is invoked on workspace containers • actually accept the documented “workspace” token as an alternative to “→” in assign statements • remove _NET_WM_STATE on withdrawn windows to comply with the spec • the “border” command now uses logical pixels (relevant for hi-dpi displays) • “tray_output primary” does not properly fall back and hence was removed from the default config again • correctly determine focused workspace when moving workspace to output • revert to default binding mode before reloading the config file • correctly interpret _MOTIF_WM_HINTS (endianness-dependent) --- wm/i3/Makefile | 6 +++--- wm/i3/PLIST | 2 +- wm/i3/distinfo | 14 +++++++------- wm/i3/patches/patch-src_log.c | 27 ++++++++++++--------------- wm/i3/patches/patch-src_main.c | 33 +++++++++++++++++---------------- 5 files changed, 40 insertions(+), 42 deletions(-) (limited to 'wm') diff --git a/wm/i3/Makefile b/wm/i3/Makefile index fcaac4fb060..c69906e70d0 100644 --- a/wm/i3/Makefile +++ b/wm/i3/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2015/11/09 11:05:44 nros Exp $ +# $NetBSD: Makefile,v 1.14 2016/05/01 09:39:58 degroote Exp $ # -DISTNAME= i3-4.11 +DISTNAME= i3-4.12 CATEGORIES= wm MASTER_SITES= http://i3wm.org/downloads/ EXTRACT_SUFX= .tar.bz2 @@ -27,7 +27,7 @@ MAKE_ENV+= DEBUG=0 MAKE_ENV+= SHM_SUPPORT=0 REPLACE_PERL+= i3-dmenu-desktop -REPLACE_PERL+= i3-migrate-config-to-v4 +REPLACE_PERL+= i3-migrate-config-to-v4 REPLACE_PERL+= i3-save-tree SUBST_CLASSES+= conf diff --git a/wm/i3/PLIST b/wm/i3/PLIST index 1301fcbc21f..4432e59c64d 100644 --- a/wm/i3/PLIST +++ b/wm/i3/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2015/04/05 17:02:51 nros Exp $ +@comment $NetBSD: PLIST,v 1.4 2016/05/01 09:39:58 degroote Exp $ bin/i3 bin/i3-config-wizard bin/i3-dmenu-desktop diff --git a/wm/i3/distinfo b/wm/i3/distinfo index 7f165f4540e..38c8e8f0906 100644 --- a/wm/i3/distinfo +++ b/wm/i3/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.9 2015/11/09 11:05:44 nros Exp $ +$NetBSD: distinfo,v 1.10 2016/05/01 09:39:58 degroote Exp $ -SHA1 (i3-4.11.tar.bz2) = 85d04492214bd26c2804dfa83c979fda54b51c08 -RMD160 (i3-4.11.tar.bz2) = afdc6ef9708e797870b4c6c4dedc3b289a7b7d9c -SHA512 (i3-4.11.tar.bz2) = 76d45be9006973dd4093fd21ea1c83742b7977c7698e133ce8f9e7826d97d1631fbe6c3ea4a7eb3d989027f98e12738158e72ec450b0df3dddd28f912ff49a4f -Size (i3-4.11.tar.bz2) = 972929 bytes +SHA1 (i3-4.12.tar.bz2) = 264e682c7404ee8d5da76e3d652c546db1662a2b +RMD160 (i3-4.12.tar.bz2) = 65d74a4ddc775d7e5888c72cf72fbb43873dd9e0 +SHA512 (i3-4.12.tar.bz2) = 966f62dbd82c6c70d1344cc61f14f154f3f649ce1b5a5b5168f00f50d598582ef26f5bd5496ea62e13213e45b1c7043f6209c94fcbefe2947fec63284445c1f5 +Size (i3-4.12.tar.bz2) = 988084 bytes SHA1 (patch-Makefile) = 919f0e87efa951bde531b9172b74589d3e1c474a -SHA1 (patch-src_log.c) = 75ac4d0681d114e0343ddb015292c6c8ee81c1ae -SHA1 (patch-src_main.c) = c03fcb12d404fcdfd14c1892b771ee0c7a86b39d +SHA1 (patch-src_log.c) = 3d2a869a79e9ae851c6044752d1d0b3d2a4b0ee2 +SHA1 (patch-src_main.c) = 98428db66fed3352ee8f76ad43930b0418079b01 diff --git a/wm/i3/patches/patch-src_log.c b/wm/i3/patches/patch-src_log.c index 0f9b2316082..df1f2493f48 100644 --- a/wm/i3/patches/patch-src_log.c +++ b/wm/i3/patches/patch-src_log.c @@ -1,18 +1,14 @@ -$NetBSD: patch-src_log.c,v 1.3 2014/08/09 19:14:01 degroote Exp $ - -NetBSD does not support shm_open (3), disable the code in this case - ---- src/log.c.orig 2014-06-15 17:12:43.000000000 +0000 -+++ src/log.c 2014-08-09 20:52:23.000000000 +0000 -@@ -108,6 +108,7 @@ +--- src/log.c.orig 2016-03-06 15:17:18.000000000 +0000 ++++ src/log.c 2016-05-01 10:51:32.392955298 +0000 +@@ -116,6 +116,7 @@ + * + */ + void open_logbuffer(void) { ++#if !defined(__NetBSD__) + /* Reserve 1% of the RAM for the logfile, but at max 25 MiB. * For 512 MiB of RAM this will lead to a 5 MiB log buffer. * At the moment (2011-12-10), no testcase leads to an i3 log - * of more than ~ 600 KiB. */ -+#if !defined(__NetBSD__) - long long physical_mem_bytes; - #if defined(__APPLE__) - int mib[2] = {CTL_HW, HW_MEMSIZE}; -@@ -163,6 +164,7 @@ +@@ -166,6 +167,7 @@ logwalk = logbuffer + sizeof(i3_shmlog_header); loglastwrap = logbuffer + logbuffer_size; store_log_markers(); @@ -20,16 +16,17 @@ NetBSD does not support shm_open (3), disable the code in this case } /* -@@ -170,10 +172,12 @@ +@@ -173,11 +175,13 @@ * */ void close_logbuffer(void) { +#if !defined(__NetBSD__) close(logbuffer_shm); shm_unlink(shmlogname); + free(shmlogname); logbuffer = NULL; shmlogname = ""; -+#endif ++#endif /* !defined(__NetBSD__) */ } /* diff --git a/wm/i3/patches/patch-src_main.c b/wm/i3/patches/patch-src_main.c index 7e6eea7137e..6d94c7bef0a 100644 --- a/wm/i3/patches/patch-src_main.c +++ b/wm/i3/patches/patch-src_main.c @@ -1,27 +1,28 @@ -$NetBSD: patch-src_main.c,v 1.1.1.1 2013/02/12 23:25:35 tonnerre Exp $ - ---- src/main.c.orig 2012-12-11 23:08:17.000000000 +0000 -+++ src/main.c -@@ -218,12 +218,6 @@ static void i3_exit(void) { - #if EV_VERSION_MAJOR >= 4 +--- src/main.c.orig 2016-05-01 10:53:25.236039259 +0000 ++++ src/main.c 2016-05-01 10:54:26.269651048 +0000 +@@ -166,11 +166,13 @@ ev_loop_destroy(main_loop); #endif -- -- if (*shmlogname != '\0') { -- fprintf(stderr, "Closing SHM log \"%s\"\n", shmlogname); -- fflush(stderr); -- shm_unlink(shmlogname); -- } + ++#if !defined(__NetBSD__) + if (*shmlogname != '\0') { + fprintf(stderr, "Closing SHM log \"%s\"\n", shmlogname); + fflush(stderr); + shm_unlink(shmlogname); + } ++#endif /* !defined(__NetBSD__) */ } /* -@@ -233,9 +227,6 @@ static void i3_exit(void) { +@@ -180,9 +182,11 @@ * */ static void handle_signal(int sig, siginfo_t *info, void *data) { -- if (*shmlogname != '\0') { -- shm_unlink(shmlogname); -- } ++#if !defined(__NetBSD__) + if (*shmlogname != '\0') { + shm_unlink(shmlogname); + } ++#endif /* !defined(__NetBSD__) */ raise(sig); } -- cgit v1.2.3