Hello community,

here is the log from the commit of package kemoticons for openSUSE:Factory 
checked in at 2015-09-24 07:11:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kemoticons (Old)
 and      /work/SRC/openSUSE:Factory/.kemoticons.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kemoticons"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kemoticons/kemoticons.changes    2015-09-02 
07:45:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kemoticons.new/kemoticons.changes       
2015-09-24 07:11:28.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Sep  8 17:13:04 UTC 2015 - [email protected]
+
+- Update to 5.14.0
+  * Performance: cache a KEmoticons instance here, not a KEmoticonsTheme.
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.14.0.php
+
+-------------------------------------------------------------------

Old:
----
  kemoticons-5.13.0.tar.xz

New:
----
  kemoticons-5.14.0.tar.xz

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

Other differences:
------------------
++++++ kemoticons.spec ++++++
--- /var/tmp/diff_new_pack.bMgeyE/_old  2015-09-24 07:11:28.000000000 +0200
+++ /var/tmp/diff_new_pack.bMgeyE/_new  2015-09-24 07:11:28.000000000 +0200
@@ -17,9 +17,9 @@
 
 
 %define lname   libKF5Emoticons5
-%define _tar_path 5.13
+%define _tar_path 5.14
 Name:           kemoticons
-Version:        5.13.0
+Version:        5.14.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 2.8.12

++++++ kemoticons-5.13.0.tar.xz -> kemoticons-5.14.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kemoticons-5.13.0/CMakeLists.txt 
new/kemoticons-5.14.0/CMakeLists.txt
--- old/kemoticons-5.13.0/CMakeLists.txt        2015-08-04 11:53:46.000000000 
+0200
+++ new/kemoticons-5.14.0/CMakeLists.txt        2015-09-04 22:11:22.000000000 
+0200
@@ -3,7 +3,7 @@
 project(KEmoticons)
 
 include(FeatureSummary)
-find_package(ECM 5.13.0  NO_MODULE)
+find_package(ECM 5.14.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -23,8 +23,8 @@
 include(ECMGenerateHeaders)
 include(ECMPackageConfigHelpers)
 
-set(KF5_VERSION "5.13.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.13.0") # handled by release scripts
+set(KF5_VERSION "5.14.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.14.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KEMOTICONS
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kemoticons_version.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kemoticons-5.13.0/src/integrationplugin/ktexttohtml.cpp 
new/kemoticons-5.14.0/src/integrationplugin/ktexttohtml.cpp
--- old/kemoticons-5.13.0/src/integrationplugin/ktexttohtml.cpp 2015-08-04 
11:53:46.000000000 +0200
+++ new/kemoticons-5.14.0/src/integrationplugin/ktexttohtml.cpp 2015-09-04 
22:11:22.000000000 +0200
@@ -25,7 +25,7 @@
 
 #include <QGlobalStatic>
 
-Q_GLOBAL_STATIC(KEmoticonsTheme, sTheme);
+Q_GLOBAL_STATIC(KEmoticons, sEmoticons)
 
 
 KTextToHTMLEmoticons::KTextToHTMLEmoticons()
@@ -36,14 +36,9 @@
                                              bool strictParse,
                                              const QStringList &exclude)
 {
-    KEmoticons emoticons;
-    if (sTheme->themeName() != emoticons.currentThemeName()) {
-        *sTheme = emoticons.theme();
-    }
-
     KEmoticonsTheme::ParseMode mode = KEmoticonsTheme::DefaultParse;
     if (strictParse) {
         mode = KEmoticonsTheme::StrictParse;
     }
-    return sTheme->parseEmoticons(text, mode, exclude);
+    return sEmoticons->theme().parseEmoticons(text, mode, exclude);
 }


Reply via email to