Hello community,

here is the log from the commit of package ktexteditor for openSUSE:Factory 
checked in at 2017-10-27 13:57:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ktexteditor (Old)
 and      /work/SRC/openSUSE:Factory/.ktexteditor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ktexteditor"

Fri Oct 27 13:57:53 2017 rev:46 rq:536350 version:5.39.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ktexteditor/ktexteditor.changes  2017-09-19 
16:26:45.810685117 +0200
+++ /work/SRC/openSUSE:Factory/.ktexteditor.new/ktexteditor.changes     
2017-10-27 13:57:55.489824149 +0200
@@ -1,0 +2,23 @@
+Tue Oct 24 05:21:38 UTC 2017 - [email protected]
+
+- Add fix-some-indenters-from-indenting-on-random-characters.patch
+  to fix broken indentation of some languages (e.g. Python)
+
+-------------------------------------------------------------------
+Mon Oct 23 06:41:43 CEST 2017 - [email protected]
+
+- Update to 5.39.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.39.0.php
+- Changes since 5.38.0:
+  * Ignore default mark in icon border for single selectable mark
+  * Minor spell check interface fixes
+  * Use QActionGroup for input mode selection
+  * Fix missing spell check bar (kde#359682)
+  * Fix the fall-back "blackness" value for unicode > 255 characters. 
(kde#385336)
+  * Plugin template: fix name of Messages.sh
+  * Fix trailing space visualization for RTL lines.
+  * fix typo approved by Dominik Haumann
+
+-------------------------------------------------------------------

Old:
----
  ktexteditor-5.38.0.tar.xz

New:
----
  fix-some-indenters-from-indenting-on-random-characters.patch
  ktexteditor-5.39.0.tar.xz

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

Other differences:
------------------
++++++ ktexteditor.spec ++++++
--- /var/tmp/diff_new_pack.7FAEpX/_old  2017-10-27 13:57:56.825761701 +0200
+++ /var/tmp/diff_new_pack.7FAEpX/_new  2017-10-27 13:57:56.829761515 +0200
@@ -21,9 +21,9 @@
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
-%define _tar_path 5.38
+%define _tar_path 5.39
 Name:           ktexteditor
-Version:        5.38.0
+Version:        5.39.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0
@@ -65,6 +65,8 @@
 Source1:        baselibs.conf
 # PATCH-MISFEATURE-OPENSUSE - Disliked by the security team (boo#1033055)
 Patch1:         0001-Disable-KAuth-integration.patch
+# PATCH-FIX-UPSTREAM
+Patch2:         fix-some-indenters-from-indenting-on-random-characters.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -87,6 +89,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
   %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir}

++++++ fix-some-indenters-from-indenting-on-random-characters.patch ++++++
>From aeebeadb5f5955995c17de56cf83ba7166a132dd Mon Sep 17 00:00:00 2001
From: Sven Brauch <[email protected]>
Date: Mon, 16 Oct 2017 18:35:50 +0200
Subject: fix some indenters from indenting on random characters

If triggerCharacters was not set, toString() would return "undefined",
making indenters trigger on u, n, d, e, f, i and n.

Differential Revision: https://phabricator.kde.org/D8333
---
 src/script/kateindentscript.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/script/kateindentscript.cpp b/src/script/kateindentscript.cpp
index 15ce387..380bd45 100644
--- a/src/script/kateindentscript.cpp
+++ b/src/script/kateindentscript.cpp
@@ -46,7 +46,10 @@ const QString &KateIndentScript::triggerCharacters()
 
     m_triggerCharactersSet = true;
 
-    m_triggerCharacters = 
global(QStringLiteral("triggerCharacters")).toString();
+    auto triggerCharacters = global(QStringLiteral("triggerCharacters"));
+    if ( !triggerCharacters.isUndefined() ) {
+        m_triggerCharacters = triggerCharacters.toString();
+    }
 
     //qCDebug(LOG_KTE) << "trigger chars: '" << m_triggerCharacters << "'";
 
-- 
cgit v0.11.2

++++++ ktexteditor-5.38.0.tar.xz -> ktexteditor-5.39.0.tar.xz ++++++
++++ 51247 lines of diff (skipped)


Reply via email to