Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lnav for openSUSE:Factory checked in 
at 2022-03-09 18:47:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lnav (Old)
 and      /work/SRC/openSUSE:Factory/.lnav.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lnav"

Wed Mar  9 18:47:44 2022 rev:2 rq:960307 version:0.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/lnav/lnav.changes        2021-08-18 
08:56:58.178900284 +0200
+++ /work/SRC/openSUSE:Factory/.lnav.new.2349/lnav.changes      2022-03-11 
11:47:09.322877002 +0100
@@ -1,0 +2,61 @@
+Fri Feb 18 08:52:49 UTC 2022 - Marcin Bajor <[email protected]>
+
+- Add temporary patch (fix-for-upstream-sources.patch) for the upstram issue
+  gh#tstack/lnav#942
+
+-------------------------------------------------------------------
+Wed Nov  3 08:22:37 UTC 2021 - Michael Vetter <[email protected]>
+
+- Update to 0.10.1:
+  Features:
+  * Added ":show-only-this-file" command that hides all files except the
+    one for the top line in the view.
+  * The ":write-raw-to" command now accepts a --view flag that specifies
+    the source view for the data to write. For example, to write the
+    results of a SQL query, you would pass "--view=db" to the command.
+  * The commands used to access the clipboard are now configured through
+    the "tuning" section of the configuration.
+  * Added an "lnav_version()" SQL function that returns the current
+    version string.
+  * Added basic support for the logfmt file format. Currently, only files
+    whose lines are entirely logfmt-encoded are supported. The lines
+    must also contain either a field named "time" or "ts" that contains
+    the timestamp.
+  * Added the "logfmt2json()" SQL function to convert a string containing
+    a logfmt-encoded message into a JSON object that can be operated on
+    more easily.
+  * Added the "gzip()" and "gunzip()" SQL functions to compress values
+    into a blob and decompress a blob into a string.
+    Interface changes:
+  * The xclip implementation for accessing the system clipboard now writes
+    to the "clipboard" selection instead of the "primary" selection.
+  * The 'query' bookmark type and y/Y hotkeys have been removed due to
+    performance issues and the functionality is probably rarely used.
+  Bug Fixes:
+  * The text "send-input" would show up on some terminals instead of
+    ignoring the escape sequence. This control sequence was only
+    intended to be used in the test suite.
+  * Remote file synchronization has been optimized a bit.
+  * Configuration values loaded from the ~/.lnav/configs directory
+    are now included in the default configuration, so they won't be
+    saved into the ~/.lnav/config.json user configuration file.
+  * Key handling in the visual filter editor will no longer swallow
+    certain key-presses when editing a filter.
+  * Scrolling performance restored in the SQL view.
+  * The ':redirect-to' command now works with '/dev/clipboard'
+  * The field overlay (opened by pressing 'p') now shows 'log_time'
+    for the timestamp field instead of the name defined in the format.
+  * The search term in the bottom status bar will now update properly
+    when switching views.
+  * The "Out-Of-Time-Order Message" overlay will be shown again.
+  * The tab for the "Files" panel will be highlighted in red if there
+    is an issue opening a file.
+  * Overwritten files should be reloaded again.
+  * The "jget()" SQL function now returns numbers with the correct type.
+  * The "json_contains()" SQL function now returns false if the first
+    argument is NULL instead of NULL.
+  * The local copies of remote files are now cleaned up after a couple
+    days of the host not being accessed.
+  * The initial loading and indexing phase has been optimized.
+
+-------------------------------------------------------------------

Old:
----
  lnav-0.10.0.tar.gz

New:
----
  fix-for-upstream-sources.patch
  lnav-0.10.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lnav.spec ++++++
--- /var/tmp/diff_new_pack.uoHSLv/_old  2022-03-11 11:47:09.838876489 +0100
+++ /var/tmp/diff_new_pack.uoHSLv/_new  2022-03-11 11:47:09.842876485 +0100
@@ -2,7 +2,7 @@
 #
 # spec file for package lnav
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2010-2013 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,7 +26,7 @@
 BuildRequires:  gcc6-c++
 %endif
 Name:           lnav
-Version:        0.10.0
+Version:        0.10.1
 Release:        0
 Summary:        Logfile Navigator
 License:        BSD-2-Clause
@@ -35,6 +35,8 @@
 #Git-Clone:     https://github.com/tstack/lnav.git
 Source:         
https://github.com/tstack/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        lnav.desktop
+#PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch gh#tstack/lnav#942
+Patch0:         fix-for-upstream-sources.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libcurl-devel
@@ -65,6 +67,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CXX=%{cxx}

++++++ fix-for-upstream-sources.patch ++++++
--- ./src/sysclip.cfg.hh.orig   2021-11-18 15:41:23.581000000 +0100
+++ ./src/sysclip.cfg.hh        2021-11-19 14:38:45.056958236 +0100
@@ -44,12 +44,10 @@
     std::string cc_read;
 
     std::string select(op_t op) const {
-        switch (op) {
-            case op_t::WRITE:
-                return this->cc_write;
-            case op_t::READ:
-                return this->cc_read;
+        if (op == op_t::WRITE) {
+            return this->cc_write;
         }
+        return this->cc_read;
     }
 };
 
@@ -59,12 +57,10 @@
     clip_commands c_find;
 
     const clip_commands& select(type_t t) const {
-        switch (t) {
-            case type_t::GENERAL:
-                return this->c_general;
-            case type_t::FIND:
-                return this->c_find;
+        if (t == type_t::GENERAL) {
+            return this->c_general;
         }
+        return this->c_find;
     }
 };
 

++++++ lnav-0.10.0.tar.gz -> lnav-0.10.1.tar.gz ++++++
++++ 24114 lines of diff (skipped)

Reply via email to