Hello community, here is the log from the commit of package khtml for openSUSE:Factory checked in at 2019-11-12 11:47:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/khtml (Old) and /work/SRC/openSUSE:Factory/.khtml.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "khtml" Tue Nov 12 11:47:20 2019 rev:71 rq:747113 version:5.64.0 Changes: -------- --- /work/SRC/openSUSE:Factory/khtml/khtml.changes 2019-10-14 13:36:17.518212200 +0200 +++ /work/SRC/openSUSE:Factory/.khtml.new.2990/khtml.changes 2019-11-12 11:47:27.798852198 +0100 @@ -1,0 +2,10 @@ +Sun Nov 3 15:47:02 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.64.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.64.0.php +- Changes since 5.63.0: + * Extend KHtmlView::print() to use a predefined QPrinter instance (kde#405011) + +------------------------------------------------------------------- Old: ---- khtml-5.63.0.tar.xz khtml-5.63.0.tar.xz.sig New: ---- khtml-5.64.0.tar.xz khtml-5.64.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ khtml.spec ++++++ --- /var/tmp/diff_new_pack.Pxq7r8/_old 2019-11-12 11:47:29.778854222 +0100 +++ /var/tmp/diff_new_pack.Pxq7r8/_new 2019-11-12 11:47:29.794854238 +0100 @@ -17,14 +17,14 @@ %define lname libKF5KHtml5 -%define _tar_path 5.63 +%define _tar_path 5.64 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: khtml -Version: 5.63.0 +Version: 5.64.0 Release: 0 Summary: HTML rendering engine License: LGPL-2.1-or-later ++++++ khtml-5.63.0.tar.xz -> khtml-5.64.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/CMakeLists.txt new/khtml-5.64.0/CMakeLists.txt --- old/khtml-5.63.0/CMakeLists.txt 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/CMakeLists.txt 2019-11-02 13:56:16.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.63.0") # handled by release scripts -set(KF5_DEP_VERSION "5.63.0") # handled by release scripts +set(KF5_VERSION "5.64.0") # handled by release scripts +set(KF5_DEP_VERSION "5.64.0") # handled by release scripts project(KHtml VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.63.0 NO_MODULE) +find_package(ECM 5.64.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -99,6 +99,7 @@ remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0) +add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000) add_definitions(-DENABLE_SVG) add_definitions(-DENABLE_SVG_FONTS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/po/et/khtml5.po new/khtml-5.64.0/po/et/khtml5.po --- old/khtml-5.63.0/po/et/khtml5.po 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/po/et/khtml5.po 2019-11-02 13:56:16.000000000 +0100 @@ -4,20 +4,20 @@ # Hasso Tepper <ha...@kde.org>, 1999-2004, 2005, 2006. # Marek Laane <b...@smail.ee>, 2003-2009. # Peeter Russak <p...@tkwcy.ee>, 2005. -# Marek Laane <b...@smail.ee>, 2009, 2010, 2011, 2012, 2014, 2016. +# Marek Laane <b...@smail.ee>, 2009, 2010, 2011, 2012, 2014, 2016, 2019. msgid "" msgstr "" "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-05-20 02:56+0200\n" -"PO-Revision-Date: 2016-09-09 02:52+0300\n" +"PO-Revision-Date: 2019-10-31 12:42+0200\n" "Last-Translator: Marek Laane <qiila...@gmail.com>\n" -"Language-Team: Estonian <kde-i18n-...@kde.org>\n" +"Language-Team: Estonian <kde...@lists.linux.ee>\n" "Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.5\n" +"X-Generator: Lokalize 19.08.1\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #, kde-format @@ -1223,25 +1223,19 @@ msgstr " <a href=\"%1\">[omadused]</a>" #: khtml_part.cpp:4019 -#, fuzzy, kde-format -#| msgctxt "HTML rendering mode (see http://en.wikipedia.org/wiki/Quirks_mode)" -#| msgid "Quirks" +#, kde-format msgctxt "HTML rendering mode (see https://en.wikipedia.org/wiki/Quirks_mode)" msgid "Quirks" msgstr "Uurderežiim" #: khtml_part.cpp:4022 -#, fuzzy, kde-format -#| msgctxt "HTML rendering mode (see http://en.wikipedia.org/wiki/Quirks_mode)" -#| msgid "Almost standards" +#, kde-format msgctxt "HTML rendering mode (see https://en.wikipedia.org/wiki/Quirks_mode)" msgid "Almost standards" msgstr "Peaaegu standardne" #: khtml_part.cpp:4026 -#, fuzzy, kde-format -#| msgctxt "HTML rendering mode (see http://en.wikipedia.org/wiki/Quirks_mode)" -#| msgid "Strict" +#, kde-format msgctxt "HTML rendering mode (see https://en.wikipedia.org/wiki/Quirks_mode)" msgid "Strict" msgstr "Range" @@ -1545,15 +1539,7 @@ #. i18n: ectx: property (whatsThis), widget (QDialog, KJSErrorDlgBase) #: kjserrordlgbase.ui:18 -#, fuzzy, kde-format -#| msgid "" -#| "This dialog provides you with notification and details of scripting " -#| "errors that occur on web pages. In many cases it is due to an error in " -#| "the web site as designed by its author. In other cases it is the result " -#| "of a programming error in Konqueror. If you suspect the former, please " -#| "contact the webmaster of the site in question. Conversely if you suspect " -#| "an error in Konqueror, please file a bug report at http://bugs.kde.org/. " -#| "A test case which illustrates the problem will be appreciated." +#, kde-format msgid "" "This dialog provides you with notification and details of scripting errors " "that occur on web pages. In many cases it is due to an error in the web " @@ -1568,7 +1554,7 @@ "võib siiski olla tegu ka Konquerori programmeerimisveaga. Kui arvad, et " "tegemist on esimesega, võid ühendust võtta antud veebilehekülje autoriga. " "Kui aga arvad, et süüdi on Konqueror, anna palun veast teada aadressil " -"http://bugs.kde.org. Väga kasulik oleks kaasa panna ka viga selgitav näide." +"https://bugs.kde.org. Väga kasulik oleks kaasa panna ka viga selgitav näide." #: kmultipart/httpfiltergzip.cpp:89 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/po/gl/khtml5.po new/khtml-5.64.0/po/gl/khtml5.po --- old/khtml-5.63.0/po/gl/khtml5.po 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/po/gl/khtml5.po 2019-11-02 13:56:16.000000000 +0100 @@ -16,14 +16,15 @@ "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-05-20 02:56+0200\n" -"PO-Revision-Date: 2019-06-01 19:34+0200\n" +"PO-Revision-Date: 2019-10-19 22:27+0200\n" "Last-Translator: Adrián Chaves (Gallaecio) <adr...@chaves.io>\n" -"Language-Team: Galician <kde-i18n-...@kde.org>\n" +"Language-Team: Galician <proxe...@trasno.gal>\n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 19.11.70\n" #, kde-format msgctxt "NAME OF TRANSLATORS" @@ -206,7 +207,7 @@ "Do you want to stop the script?" msgstr "" "Un script desta páxina está a bloquear a KHTML. Se continúa a executarse, " -"outros aplicativos poderían tornarse menos receptivos.\n" +"outras aplicacións poderían tornarse menos receptivas.\n" "Quere deter este script?" #: ecma/kjs_binding.cpp:196 @@ -1469,7 +1470,7 @@ "todo o fondo colorido da páxina converterase en branco. A impresión será " "máis rápida e gastará menos tinta ou tóner.</p><p>Se desactiva esta caixa " "para marcar, a impresión do documento HTML producirase coa configuración de " -"cores orixinal tal como a ve no aplicativo. Isto pode producir páxinas " +"cores orixinal tal como a ve na aplicación. Isto pode producir páxinas " "enteiras a cores (ou en escala de grises, se usa unha impresora en branco e " "negro). A impresión posibelmente será máis lenta e gastará máis tinta ou " "tóner.</p></qt>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/po/id/khtml5.po new/khtml-5.64.0/po/id/khtml5.po --- old/khtml-5.63.0/po/id/khtml5.po 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/po/id/khtml5.po 2019-11-02 13:56:16.000000000 +0100 @@ -17,7 +17,6 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 19.04.3\n" #, kde-format msgctxt "NAME OF TRANSLATORS" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/po/zh_CN/khtml5.po new/khtml-5.64.0/po/zh_CN/khtml5.po --- old/khtml-5.63.0/po/zh_CN/khtml5.po 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/po/zh_CN/khtml5.po 2019-11-02 13:56:16.000000000 +0100 @@ -15,7 +15,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-05-20 02:56+0200\n" -"PO-Revision-Date: 2019-09-05 09:24\n" +"PO-Revision-Date: 2019-10-09 09:45\n" "Last-Translator: Guo Yunhe (guoyunhe)\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/src/khtmlview.cpp new/khtml-5.64.0/src/khtmlview.cpp --- old/khtml-5.63.0/src/khtmlview.cpp 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/src/khtmlview.cpp 2019-11-02 13:56:16.000000000 +0100 @@ -3127,6 +3127,12 @@ void KHTMLView::print(bool quick) { + QPrinter printer; + print(&printer, quick); +} + +void KHTMLView::print(QPrinter *_printer, bool quick) +{ if (!m_part->xmlDocImpl()) { return; } @@ -3135,7 +3141,7 @@ return; } - QPrinter printer; + QPrinter &printer = *_printer; QPointer<QPrintDialog> dialog(new QPrintDialog(&printer, this)); QPointer<KHTMLPrintSettings> printSettings(new KHTMLPrintSettings(dialog)); //XXX: doesn't save settings between prints like this dialog->setOptionTabs(QList<QWidget *>() << printSettings.data()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/khtml-5.63.0/src/khtmlview.h new/khtml-5.64.0/src/khtmlview.h --- old/khtml-5.63.0/src/khtmlview.h 2019-10-06 11:45:57.000000000 +0200 +++ new/khtml-5.64.0/src/khtmlview.h 2019-11-02 13:56:16.000000000 +0100 @@ -32,6 +32,7 @@ #include <QScrollArea> class QPainter; +class QPrinter; class QRect; template< typename T > class QVector; template <class T> class QStack; @@ -200,6 +201,15 @@ void print(bool quick = false); /** + * Prints the HTML document. + * @param printer shared printer instance + * @param quick if true, fully automated printing, without print dialog + * + * @since 5.64 + */ + void print(QPrinter *printer, bool quick = false); + + /** * Display all accesskeys in small tooltips */ void displayAccessKeys();