Hello community, here is the log from the commit of package lxqt-runner for openSUSE:Factory checked in at 2019-11-07 23:21:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-runner (Old) and /work/SRC/openSUSE:Factory/.lxqt-runner.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-runner" Thu Nov 7 23:21:08 2019 rev:11 rq:746277 version:0.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-runner/lxqt-runner.changes 2019-02-25 17:49:39.962801330 +0100 +++ /work/SRC/openSUSE:Factory/.lxqt-runner.new.2990/lxqt-runner.changes 2019-11-07 23:21:16.896842399 +0100 @@ -1,0 +2,15 @@ +Thu Nov 7 12:20:42 UTC 2019 - Michael Vetter <[email protected]> + +- Remove old files: + * lxqt-runner-0.14.0.tar.xz + * lxqt-runner-0.14.0.tar.xz.asc + +------------------------------------------------------------------- +Mon Feb 25 10:21:01 UTC 2019 - [email protected] + +- Update to 0.14.1: + * MathItem: Use documented API of muparser and check for possible ArgSep() + and DecSep() conflict. Also do not use grouping for output values. + * Updated translations + +------------------------------------------------------------------- Old: ---- lxqt-runner-0.14.0.tar.xz lxqt-runner-0.14.0.tar.xz.asc New: ---- lxqt-runner-0.14.1.tar.xz lxqt-runner-0.14.1.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-runner.spec ++++++ --- /var/tmp/diff_new_pack.50JswI/_old 2019-11-07 23:21:17.608843163 +0100 +++ /var/tmp/diff_new_pack.50JswI/_new 2019-11-07 23:21:17.616843172 +0100 @@ -17,7 +17,7 @@ Name: lxqt-runner -Version: 0.14.0 +Version: 0.14.1 Release: 0 Summary: LXQt application launcher License: LGPL-2.1-or-later ++++++ lxqt-runner-0.14.0.tar.xz -> lxqt-runner-0.14.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/CHANGELOG new/lxqt-runner-0.14.1/CHANGELOG --- old/lxqt-runner-0.14.0/CHANGELOG 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/CHANGELOG 2019-02-24 23:56:26.000000000 +0100 @@ -1,3 +1,10 @@ +lxqt-runner-0.14.1 / 2019-02-24 +=============================== + + * MathItem: Use documented API of muparser and check for possible ArgSep() + and DecSep() conflict. Also do not use grouping for output values. + * Updated translations + * Note for packagers: lxqt-runner now depends on liblxqt >= 0.14.1 lxqt-runner-0.14.0 / 2019-01-25 =============================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/CMakeLists.txt new/lxqt-runner-0.14.1/CMakeLists.txt --- old/lxqt-runner-0.14.0/CMakeLists.txt 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/CMakeLists.txt 2019-02-24 23:56:26.000000000 +0100 @@ -27,7 +27,7 @@ # Minimum Versions set(KF5_MINIMUM_VERSION "5.36.0") set(LIBMENUCACHE_MINIMUM_VERSION "1.1.0") -set(LXQT_MINIMUM_VERSION "0.14.0") +set(LXQT_MINIMUM_VERSION "0.14.1") set(QT_MINIMUM_VERSION "5.7.1") find_package(Qt5Widgets ${QT_MINIMUM_VERSION} REQUIRED) @@ -43,7 +43,7 @@ include(LXQtCompilerSettings NO_POLICY_SCOPE) # Patch Version -set(LXQT_RUNNER_PATCH_VERSION 0) +set(LXQT_RUNNER_PATCH_VERSION 1) set(LXQT_RUNNER_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_RUNNER_PATCH_VERSION}) add_definitions( "-DLXQT_RUNNER_VERSION=\"${LXQT_RUNNER_VERSION}\"" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/providers.cpp new/lxqt-runner-0.14.1/providers.cpp --- old/lxqt-runner-0.14.0/providers.cpp 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/providers.cpp 2019-02-24 23:56:26.000000000 +0100 @@ -793,26 +793,47 @@ #ifdef MATH_ENABLED #include <muParser.h> -class MathItem::Parser : public mu::Parser +class MathItem::Parser : private mu::Parser { public: - static void initLocale() + Parser() + : mLocale(QLocale::system()) { try { // use the system's locale instead of the "C" - s_locale = std::locale{""}; + const std::locale loc{""}; + auto && numpunct = std::use_facet<std::numpunct<mu::char_type>>(loc); + SetDecSep(numpunct.decimal_point()); + SetThousandsSep(0); // means no grouping for muparser API + + const char arg_sep = GetArgSep(); + if (numpunct.decimal_point() == arg_sep) + { + if (arg_sep == ',') + SetArgSep(';'); + else + SetArgSep(','); + } } catch (const std::runtime_error & e) { qWarning().noquote() << "Unable to set locale for Math, " << e.what(); } + + // do not group in output + mLocale.setNumberOptions(mLocale.numberOptions() | QLocale::OmitGroupSeparator); + } + + + QString evalString(const QString & s) + { + SetExpr(s.toStdString()); + return mLocale.toString(Eval()); // can throw } + +private: + QLocale mLocale; }; -static void muParserInitLocale() -{ - MathItem::Parser::initLocale(); -} -Q_COREAPP_STARTUP_FUNCTION(muParserInitLocale) /************************************************ @@ -875,8 +896,7 @@ { try { - mParser->SetExpr(s.toStdString()); - self->mTitle = s + QL1C('=') + QLocale::system().toString(mParser->Eval()); + self->mTitle = s + QL1C('=') + mParser->evalString(s); break; } catch (const mu::Parser::exception_type & e) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/translations/lxqt-runner_fi.ts new/lxqt-runner-0.14.1/translations/lxqt-runner_fi.ts --- old/lxqt-runner-0.14.0/translations/lxqt-runner_fi.ts 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/translations/lxqt-runner_fi.ts 2019-02-24 23:56:26.000000000 +0100 @@ -6,7 +6,7 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="14"/> <source>Runner Settings</source> - <translation type="unfinished"></translation> + <translation>Käynnistimen asetukset</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="20"/> @@ -26,27 +26,27 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="46"/> <source>Show history first</source> - <translation type="unfinished"></translation> + <translation>Näytä historia ensin</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="53"/> <source>Store/show history</source> - <translation type="unfinished"></translation> + <translation>Säilytä/näytä historia</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="60"/> <source><b>Note</b>: The size of top-level widgets are constrained to 2/3 of the desktop's height and width.</source> - <translation type="unfinished"></translation> + <translation><b>Huomautus:</b> Päätason elementtien maksimikoko on 2/3 työpöydän leveydestä ja korkeudesta.</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="63"/> <source>Show list with:</source> - <translation type="unfinished"></translation> + <translation>Ehdotukset:</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="70"/> <source> item(s)</source> - <translation type="unfinished"></translation> + <translation> kohde(tta)</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="90"/> @@ -56,27 +56,27 @@ <message> <location filename="../configuredialog/configuredialog.cpp" line="61"/> <source>Top edge of the screen</source> - <translation type="unfinished"></translation> + <translation>Ylhäällä</translation> </message> <message> <location filename="../configuredialog/configuredialog.cpp" line="62"/> <source>Center of the screen</source> - <translation type="unfinished"></translation> + <translation>Keskellä</translation> </message> <message> <location filename="../configuredialog/configuredialog.cpp" line="68"/> <source>Focused screen</source> - <translation type="unfinished"></translation> + <translation>Aktiivisella näytöllä</translation> </message> <message> <location filename="../configuredialog/configuredialog.cpp" line="72"/> <source>Always on screen %1</source> - <translation type="unfinished"></translation> + <translation>Aina näytöllä %1</translation> </message> <message> <location filename="../configuredialog/configuredialog.cpp" line="81"/> <source>Reset</source> - <translation type="unfinished"></translation> + <translation>Palauta</translation> </message> </context> <context> @@ -89,17 +89,17 @@ <message> <location filename="../dialog.cpp" line="94"/> <source>Configure</source> - <translation type="unfinished"></translation> + <translation>Asetukset</translation> </message> <message> <location filename="../dialog.cpp" line="98"/> <source>Clear History</source> - <translation type="unfinished"></translation> + <translation>Tyhjennä historia</translation> </message> <message> <location filename="../dialog.cpp" line="351"/> <source>Show/hide runner dialog</source> - <translation type="unfinished"></translation> + <translation>Näytä/piilota käynnistin</translation> </message> </context> <context> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/translations/lxqt-runner_fr.ts new/lxqt-runner-0.14.1/translations/lxqt-runner_fr.ts --- old/lxqt-runner-0.14.0/translations/lxqt-runner_fr.ts 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/translations/lxqt-runner_fr.ts 2019-02-24 23:56:26.000000000 +0100 @@ -31,17 +31,17 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="53"/> <source>Store/show history</source> - <translation>Sauvegarder/Montrer l'historique</translation> + <translation>Enregistrer/Montrer l'historique</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="60"/> <source><b>Note</b>: The size of top-level widgets are constrained to 2/3 of the desktop's height and width.</source> - <translation type="unfinished"></translation> + <translation><b>Note</b>: La taille des widgets de niveau supérieur est limitée à 2/3 de la hauteur et de la largeur du bureau.</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="63"/> <source>Show list with:</source> - <translation>Montrer la liste avec :</translation> + <translation>Afficher une liste comportant :</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="70"/> @@ -84,7 +84,7 @@ <message> <location filename="../dialog.ui" line="26"/> <source>Application launcher </source> - <translation>Lanceur d'application</translation> + <translation>Lanceur d'application </translation> </message> <message> <location filename="../dialog.cpp" line="94"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/translations/lxqt-runner_gl.ts new/lxqt-runner-0.14.1/translations/lxqt-runner_gl.ts --- old/lxqt-runner-0.14.0/translations/lxqt-runner_gl.ts 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/translations/lxqt-runner_gl.ts 2019-02-24 23:56:26.000000000 +0100 @@ -76,7 +76,7 @@ <message> <location filename="../configuredialog/configuredialog.cpp" line="81"/> <source>Reset</source> - <translation>Reiniciar</translation> + <translation>Restabelecer</translation> </message> </context> <context> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/translations/lxqt-runner_pt.ts new/lxqt-runner-0.14.1/translations/lxqt-runner_pt.ts --- old/lxqt-runner-0.14.0/translations/lxqt-runner_pt.ts 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/translations/lxqt-runner_pt.ts 2019-02-24 23:56:26.000000000 +0100 @@ -36,7 +36,7 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="60"/> <source><b>Note</b>: The size of top-level widgets are constrained to 2/3 of the desktop's height and width.</source> - <translation><b>Noto</b>: o tamanho dos widgets do nível superior está restringido a 2/3 da altura e da largura da área de trabalho.</translation> + <translation><b>Nota</b>: o tamanho dos widgets de nível superior está restringido a 2/3 da altura e da largura da área de trabalho.</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="63"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/translations/lxqt-runner_ru_RU.ts new/lxqt-runner-0.14.1/translations/lxqt-runner_ru_RU.ts --- old/lxqt-runner-0.14.0/translations/lxqt-runner_ru_RU.ts 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/translations/lxqt-runner_ru_RU.ts 2019-02-24 23:56:26.000000000 +0100 @@ -6,7 +6,7 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="14"/> <source>Runner Settings</source> - <translation>Настройки ускорителя запуска</translation> + <translation>Настройки ускорителя</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="20"/> @@ -26,12 +26,12 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="46"/> <source>Show history first</source> - <translation type="unfinished"></translation> + <translation>Сначала показывать историю</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="53"/> <source>Store/show history</source> - <translation type="unfinished"></translation> + <translation>Хранить/показывать историю</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="60"/> @@ -41,7 +41,7 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="63"/> <source>Show list with:</source> - <translation type="unfinished"></translation> + <translation>Показывать список с:</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="70"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-runner-0.14.0/translations/lxqt-runner_tr.ts new/lxqt-runner-0.14.1/translations/lxqt-runner_tr.ts --- old/lxqt-runner-0.14.0/translations/lxqt-runner_tr.ts 2019-01-24 23:10:21.000000000 +0100 +++ new/lxqt-runner-0.14.1/translations/lxqt-runner_tr.ts 2019-02-24 23:56:26.000000000 +0100 @@ -26,27 +26,27 @@ <message> <location filename="../configuredialog/configuredialog.ui" line="46"/> <source>Show history first</source> - <translation type="unfinished"></translation> + <translation>Önce geçmişi göster</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="53"/> <source>Store/show history</source> - <translation type="unfinished"></translation> + <translation>Geçmişi kaydet/göster</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="60"/> <source><b>Note</b>: The size of top-level widgets are constrained to 2/3 of the desktop's height and width.</source> - <translation type="unfinished"></translation> + <translation><b>Not</b>: Üst seviye gereçlerin boyutu masaüstü yükseklik ve genişliğinin 2/3 ü ile sınırlıdır.</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="63"/> <source>Show list with:</source> - <translation type="unfinished"></translation> + <translation>Liste genişliğini göster:</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="70"/> <source> item(s)</source> - <translation type="unfinished"></translation> + <translation> öge(ler)</translation> </message> <message> <location filename="../configuredialog/configuredialog.ui" line="90"/>
