Hello community, here is the log from the commit of package kcron for openSUSE:Leap:15.2 checked in at 2020-05-13 03:51:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/kcron (Old) and /work/SRC/openSUSE:Leap:15.2/.kcron.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcron" Wed May 13 03:51:32 2020 rev:43 rq:797362 version:20.04.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/kcron/kcron.changes 2020-03-15 13:37:10.702867287 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.kcron.new.2738/kcron.changes 2020-05-13 03:51:34.532167065 +0200 @@ -1,0 +2,30 @@ +Thu Apr 23 12:22:13 UTC 2020 - Luca Beltrame <[email protected]> + +- Update to 20.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/releases/2020-04-apps-update +- Changes since 20.03.90: + * Fix build with Qt >= 5.15.0-beta3 + +------------------------------------------------------------------- +Sun Apr 5 20:29:54 UTC 2020 - Luca Beltrame <[email protected]> + +- Update to 20.03.90 + * New feature release + * For more details please see: + * https://kde.org/announcements/releases/20.04-rc +- No code change since 20.03.80 + +------------------------------------------------------------------- +Sun Mar 22 09:16:50 UTC 2020 - Luca Beltrame <[email protected]> + +- Update to 20.03.80 + * New feature release + * For more details please see: + * https://kde.org/announcements/releases/20.04-beta +- Changes since 19.12.3: + * Make it compile against qt5.15 + * Remove endl at the end of qdebug + +------------------------------------------------------------------- Old: ---- kcron-19.12.3.tar.xz kcron-19.12.3.tar.xz.sig New: ---- kcron-20.04.0.tar.xz kcron-20.04.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcron.spec ++++++ --- /var/tmp/diff_new_pack.XA0KU8/_old 2020-05-13 03:51:35.104168265 +0200 +++ /var/tmp/diff_new_pack.XA0KU8/_new 2020-05-13 03:51:35.108168273 +0200 @@ -1,7 +1,7 @@ # # spec file for package kcron # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,17 +21,13 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without lang Name: kcron -Version: 19.12.3 +Version: 20.04.0 Release: 0 Summary: Cron job configuration tool License: GPL-2.0-or-later Group: System/Management URL: https://www.kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz -%if %{with lang} -Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig -Source2: applications.keyring -%endif BuildRequires: extra-cmake-modules BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5I18n) @@ -44,15 +40,15 @@ Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} %if %{with lang} -Recommends: %{name}-lang +Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring %endif +Recommends: %{name}-lang %description KCron allows you to change your cron jobs setup. -%if %{with lang} %lang_package -%endif %prep %setup -q ++++++ kcron-19.12.3.tar.xz -> kcron-20.04.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/CMakeLists.txt new/kcron-20.04.0/CMakeLists.txt --- old/kcron-19.12.3/CMakeLists.txt 2020-03-03 01:26:57.000000000 +0100 +++ new/kcron-20.04.0/CMakeLists.txt 2020-04-17 02:35:33.000000000 +0200 @@ -27,10 +27,7 @@ IconThemes KIO ) -if (EXISTS "${CMAKE_SOURCE_DIR}/.git") - add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) - add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000) -endif() + add_subdirectory(src) add_subdirectory(doc) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/org.kde.kcron.metainfo.xml new/kcron-20.04.0/org.kde.kcron.metainfo.xml --- old/kcron-19.12.3/org.kde.kcron.metainfo.xml 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/org.kde.kcron.metainfo.xml 2020-04-07 17:41:22.000000000 +0200 @@ -17,9 +17,9 @@ <name xml:lang="fi">KCron</name> <name xml:lang="fr">KCron</name> <name xml:lang="gl">KCron</name> - <name xml:lang="ia">KCron</name> <name xml:lang="it">KCron</name> <name xml:lang="ko">KCron</name> + <name xml:lang="lt">KCron</name> <name xml:lang="nl">KCron</name> <name xml:lang="nn">KCron</name> <name xml:lang="pl">KCron</name> @@ -45,9 +45,9 @@ <summary xml:lang="fi">Tehtävien ajastus</summary> <summary xml:lang="fr">Planificateur de tâches</summary> <summary xml:lang="gl">Planificador de tarefas</summary> - <summary xml:lang="ia">Planificator de Cargas</summary> <summary xml:lang="it">Pianificatore di operazioni</summary> <summary xml:lang="ko">작업 스케줄러</summary> + <summary xml:lang="lt">Užduočių planuoklė</summary> <summary xml:lang="nl">Takenplanner</summary> <summary xml:lang="nn">Oppgåveplanleggjar</summary> <summary xml:lang="pl">Harmonogram zadań</summary> @@ -75,6 +75,7 @@ <p xml:lang="gl">O planificador de tarefas é unha interface gráfica para a utilizade estándar «cron». Con el as ordes (ou «tarefas») poden executarse en horas concretas, en días ou datas concretas, ou en intervalos específicos (tempo entre execucións).</p> <p xml:lang="it">Il pianificatore di operazioni è un'interfaccia grafica al programma «cron». Con esso i comandi (o «processi») possono essere avviati ad orari specifici, in certi giorni o in certe date, oppure ad intervalli specifici (tempo tra le esecuzioni).</p> <p xml:lang="ko">작업 스케줄러는 "cron" 유틸리티의 그래픽 프론트엔드입니다. 명령(혹은 "작업")을 지정한 시간, 지정한 요일이나 날짜, 또는 지정한 시간 간격마다 실행시킬 수 있습니다.</p> + <p xml:lang="lt">Užduočių planuoklė yra standartinės "cron" paslaugų programos grafinė naudotojo sąsaja. Naudojant ją, komandos (ar "užduotys") gali būti paleidžiamos tam tikru laiku, tam tikrą dieną ar datą, ar tam tikrais intervalais (laikais tarp paleidimo).</p> <p xml:lang="nl">Takenplanner is een grafische front-end voor het standaard hulpmiddel "cron". Hiermee kunt u commando's (of "takens") laten uitvoeren op specifieke tijden, op een bepaalde dag of datum of op specifieke intervallen (tijd tussen uitvoeren).</p> <p xml:lang="nn">Oppgåveplanleggjaren er eit grafisk grensesnitt til «cron»-verktøyet. Du kan bruka programmet til å køyra kommandoar («oppgåver») til faste klokkeslett, på faste vekedagar eller datoar, eller etter faste tidsintervall.</p> <p xml:lang="pl">Harmonogram zadań jest graficzną nakładką na podstawowe narzędzie "cron". Dzięki niemu, polecenia (lub "zadania") można wykonywać o danym czasie, o danym dniu lub dacie, lub w danych odstępach czasowych.</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/en_GB/kcron.po new/kcron-20.04.0/po/en_GB/kcron.po --- old/kcron-19.12.3/po/en_GB/kcron.po 2020-03-03 01:26:53.000000000 +0100 +++ new/kcron-20.04.0/po/en_GB/kcron.po 2020-04-17 02:35:31.000000000 +0200 @@ -10,7 +10,7 @@ "POT-Creation-Date: 2019-10-22 02:44+0200\n" "PO-Revision-Date: 2010-10-30 15:11+0100\n" "Last-Translator: Andrew Coles <[email protected]>\n" -"Language-Team: British English <[email protected]>\n" +"Language-Team: British English <[email protected]>\n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/it/docs/kcontrol5/kcron/index.docbook new/kcron-20.04.0/po/it/docs/kcontrol5/kcron/index.docbook --- old/kcron-19.12.3/po/it/docs/kcontrol5/kcron/index.docbook 2020-03-03 01:26:57.000000000 +0100 +++ new/kcron-20.04.0/po/it/docs/kcontrol5/kcron/index.docbook 2020-04-17 02:35:33.000000000 +0200 @@ -67,7 +67,7 @@ ><othercredit role="translator" ><firstname >Valerio</firstname -> <surname +><surname >Passini</surname ><contrib >Traduzione della documentazione</contrib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/ko/kcron.po new/kcron-20.04.0/po/ko/kcron.po --- old/kcron-19.12.3/po/ko/kcron.po 2020-03-03 01:26:54.000000000 +0100 +++ new/kcron-20.04.0/po/ko/kcron.po 2020-04-17 02:35:32.000000000 +0200 @@ -1,14 +1,14 @@ # Translation of kcron to Korean. # Copyright (C) 2001, 2007 Free Software Foundation, Inc. # hyunsuk shim <[email protected]>, 2001. -# Shinjo Park <[email protected]>, 2007, 2008, 2009, 2011, 2015. +# Shinjo Park <[email protected]>, 2007, 2008, 2009, 2011, 2015, 2020. # msgid "" msgstr "" "Project-Id-Version: kcron\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-10-22 02:44+0200\n" -"PO-Revision-Date: 2015-01-17 21:50+0900\n" +"PO-Revision-Date: 2020-04-05 02:22+0200\n" "Last-Translator: Shinjo Park <[email protected]>\n" "Language-Team: Korean <[email protected]>\n" "Language: ko\n" @@ -16,7 +16,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Lokalize 1.5\n" +"X-Generator: Lokalize 19.04.3\n" #, kde-format msgctxt "NAME OF TRANSLATORS" @@ -73,7 +73,7 @@ #: src/crontablib/ctcron.cpp:301 #, kde-format msgid "Unable to open crontab file for writing" -msgstr "crontab 파일에 쓰기 위해서 열 수 없음" +msgstr "crontab 파일에 쓰려고 열 수 없음" #: src/crontablib/ctcron.cpp:301 #, kde-format @@ -329,8 +329,8 @@ "\n" "Check the crontab man page for further details." msgstr "" -"/etc/cron.allow 파일이나 /etc/cron.deny 파일에 의해서\t KCron을 사용할 수 없" -"습니다.\t\n" +"/etc/cron.allow 파일이나 /etc/cron.deny 파일 때문에\t KCron을 사용할 수 없습" +"니다.\t\n" "\n" "자세한 사항은 crontab MAN 페이지를 참고하십시오." @@ -642,7 +642,7 @@ "\n" "%1\n" "\n" -"KCron을 종료할 것입니다.\n" +"KCron을 종료합니다.\n" #: src/kcmCron.cpp:143 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/nb/kcron.po new/kcron-20.04.0/po/nb/kcron.po --- old/kcron-19.12.3/po/nb/kcron.po 2020-03-03 01:26:55.000000000 +0100 +++ new/kcron-20.04.0/po/nb/kcron.po 2020-04-17 02:35:32.000000000 +0200 @@ -12,7 +12,7 @@ "POT-Creation-Date: 2019-10-22 02:44+0200\n" "PO-Revision-Date: 2010-10-29 12:51+0200\n" "Last-Translator: Bjørn Steensrud <[email protected]>\n" -"Language-Team: Norwegian Bokmål <[email protected]>\n" +"Language-Team: Norwegian Bokmål <[email protected]>\n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/nn/kcron.po new/kcron-20.04.0/po/nn/kcron.po --- old/kcron-19.12.3/po/nn/kcron.po 2020-03-03 01:26:55.000000000 +0100 +++ new/kcron-20.04.0/po/nn/kcron.po 2020-04-17 02:35:32.000000000 +0200 @@ -10,7 +10,7 @@ "POT-Creation-Date: 2019-10-22 02:44+0200\n" "PO-Revision-Date: 2011-07-09 13:52+0200\n" "Last-Translator: Karl Ove Hufthammer <[email protected]>\n" -"Language-Team: Norwegian Nynorsk <[email protected]>\n" +"Language-Team: Norwegian Nynorsk <[email protected]>\n" "Language: nn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/sk/kcron.po new/kcron-20.04.0/po/sk/kcron.po --- old/kcron-19.12.3/po/sk/kcron.po 2020-03-03 01:26:56.000000000 +0100 +++ new/kcron-20.04.0/po/sk/kcron.po 2020-04-17 02:35:32.000000000 +0200 @@ -3,19 +3,20 @@ # Stanislav Visnovsky <[email protected]>, 2002. # Stanislav Visnovsky <[email protected]>, 2003, 2004. # Richard Fric <[email protected]>, 2006, 2009. +# Matej Mrenica <[email protected]>, 2019. msgid "" msgstr "" "Project-Id-Version: kcron\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-10-22 02:44+0200\n" -"PO-Revision-Date: 2012-01-18 13:21+0100\n" -"Last-Translator: Roman Paholík <[email protected]>\n" -"Language-Team: Slovak <[email protected]>\n" +"PO-Revision-Date: 2019-11-18 11:00+0100\n" +"Last-Translator: Matej Mrenica <[email protected]>\n" +"Language-Team: Slovak <[email protected]>\n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.4\n" +"X-Generator: Lokalize 19.11.80\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #, kde-format @@ -657,7 +658,7 @@ msgstr "" "Táto aplikácia sa používa na plánovanie spúšťania programov na pozadí.\n" "Ak chcete naplánovať novú úlohu, kliknite na priečinok úlohy\n" -" a vyberte položku upraviť/nová z menu." +" a vyberte položku upraviť/nová z ponuky." #: src/kcmCron.cpp:143 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/po/zh_CN/kcron.po new/kcron-20.04.0/po/zh_CN/kcron.po --- old/kcron-19.12.3/po/zh_CN/kcron.po 2020-03-03 01:26:56.000000000 +0100 +++ new/kcron-20.04.0/po/zh_CN/kcron.po 2020-04-17 02:35:32.000000000 +0200 @@ -9,7 +9,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-10-22 02:44+0200\n" -"PO-Revision-Date: 2020-01-20 21:58\n" +"PO-Revision-Date: 2020-03-25 19:57\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/crontabPrinter.cpp new/kcron-20.04.0/src/crontabPrinter.cpp --- old/kcron-19.12.3/src/crontabPrinter.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/crontabPrinter.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -76,7 +76,7 @@ } bool CrontabPrinter::start() { - logDebug() << "Printing selection..." << endl; + logDebug() << "Printing selection..."; if (d->printer == nullptr) { d->printer = new QPrinter(); @@ -95,7 +95,7 @@ printDialog->setOptionTabs(QList<QWidget *>() << d->crontabWidget); printDialog->setEnabledOptions(QAbstractPrintDialog::PrintToFile); if (printDialog->exec() == QDialog::Rejected) { - logDebug() << "Printing canceled" << endl; + logDebug() << "Printing canceled"; delete printDialog; return false; } @@ -265,7 +265,7 @@ } void CrontabPrinter::printPageNumber() { - logDebug() << "Printing page number..." << endl; + logDebug() << "Printing page number..."; d->painter->translate(0, - d->currentRowPosition); d->printView->moveTo(QPoint(0, d->printView->height()) ); @@ -385,12 +385,12 @@ int columnWidthSum = 0; foreach(int width, columnWidths) { - logDebug() << "Column : " << width << endl; + logDebug() << "Column : " << width; columnWidthSum += width; } if (columnWidthSum >= pageWidth) { - logDebug() << "The printing could be out of the page" << endl; + logDebug() << "The printing could be out of the page"; return columnWidths; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/crontabWidget.cpp new/kcron-20.04.0/src/crontabWidget.cpp --- old/kcron-19.12.3/src/crontabWidget.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/crontabWidget.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -112,13 +112,13 @@ initialize(); - logDebug() << "Clipboard Status " << hasClipboardContent() << endl; + logDebug() << "Clipboard Status " << hasClipboardContent(); d->tasksWidget->setFocus(); QTreeWidgetItem* item = d->tasksWidget->treeWidget()->topLevelItem(0); if (item != nullptr) { - logDebug() << "First item found" << d->tasksWidget->treeWidget()->topLevelItemCount() << endl; + logDebug() << "First item found" << d->tasksWidget->treeWidget()->topLevelItemCount(); item->setSelected(true); } @@ -202,9 +202,9 @@ void CrontabWidget::initialize() { QVBoxLayout* layout = new QVBoxLayout(this); - logDebug() << "Begin view refresh" << endl; + logDebug() << "Begin view refresh"; - logDebug() << "Creating Tasks list..." << endl; + logDebug() << "Creating Tasks list..."; QHBoxLayout* cronSelector = createCronSelector(); layout->addLayout(cronSelector); @@ -233,7 +233,7 @@ d->variablesWidget->refreshVariables(ctCron); if (ctCron->isMultiUserCron() && ctHost()->isRootUser()==false) { - logDebug() << "Disabling view..." << endl; + logDebug() << "Disabling view..."; d->tasksWidget->treeWidget()->setEnabled(false); d->variablesWidget->treeWidget()->setEnabled(false); @@ -244,7 +244,7 @@ d->tasksWidget->toggleRunNowAction(false); } else { - logDebug() << "Enabling view..." << endl; + logDebug() << "Enabling view..."; d->tasksWidget->treeWidget()->setEnabled(true); d->variablesWidget->treeWidget()->setEnabled(true); @@ -269,7 +269,7 @@ QString clipboardText; if (d->tasksWidget->treeWidget()->hasFocus()) { - logDebug() << "Tasks copying" << endl; + logDebug() << "Tasks copying"; QList<TaskWidget*> tasksWidget = d->tasksWidget->selectedTasksWidget(); foreach(TaskWidget* taskWidget, tasksWidget) { @@ -281,7 +281,7 @@ } if (d->variablesWidget->treeWidget()->hasFocus()) { - logDebug() << "Variables copying" << endl; + logDebug() << "Variables copying"; QList<VariableWidget*> variablesWidget = d->variablesWidget->selectedVariablesWidget(); foreach(VariableWidget* variableWidget, variablesWidget) { @@ -295,28 +295,28 @@ QApplication::clipboard()->setText(clipboardText, QClipboard::Clipboard); QApplication::clipboard()->setText(clipboardText, QClipboard::Selection); - logDebug() << "Clipboard Status " << hasClipboardContent() << endl; + logDebug() << "Clipboard Status " << hasClipboardContent(); togglePasteAction(hasClipboardContent()); } void CrontabWidget::cut() { - logDebug() << "Cut content" << endl; + logDebug() << "Cut content"; copy(); if (d->tasksWidget->treeWidget()->hasFocus()) { - logDebug() << "Tasks cutting" << endl; + logDebug() << "Tasks cutting"; d->tasksWidget->deleteSelection(); } if (d->variablesWidget->treeWidget()->hasFocus()) { - logDebug() << "Variables cutting" << endl; + logDebug() << "Variables cutting"; d->variablesWidget->deleteSelection(); } } void CrontabWidget::paste() { - logDebug() << "Paste content" << endl; + logDebug() << "Paste content"; if (d->tasksWidget->treeWidget()->hasFocus()) { foreach(CTTask* task, d->clipboardTasks) { @@ -339,7 +339,7 @@ return d->ctHost->findSystemCron(); if (d->otherUsers->currentIndex() == d->otherUsers->count()-1) { - logDebug() << "Using Global Cron" << endl; + logDebug() << "Using Global Cron"; return d->ctGlobalCron; } @@ -366,7 +366,7 @@ } void CrontabWidget::setupActions() { - logDebug() << "Setup actions" << endl; + logDebug() << "Setup actions"; //Edit menu d->cutAction = KStandardAction::cut(this, SLOT(cut()), this); @@ -374,7 +374,7 @@ d->pasteAction = KStandardAction::paste(this, SLOT(paste()), this); togglePasteAction(false); - logDebug() << "Actions initialized" << endl; + logDebug() << "Actions initialized"; } @@ -410,7 +410,7 @@ CrontabPrinter printer(this); if (printer.start() == false) { - logDebug() << "Unable to start printer" << endl; + logDebug() << "Unable to start printer"; return; } printer.printTasks(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/crontablib/ctGlobalCron.cpp new/kcron-20.04.0/src/crontablib/ctGlobalCron.cpp --- old/kcron-19.12.3/src/crontablib/ctGlobalCron.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/crontablib/ctGlobalCron.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -24,7 +24,7 @@ CTGlobalCron::CTGlobalCron(CTHost* _ctHost) : CTCron() { - logDebug() << "Initializing CTGlobalCron" << endl; + logDebug() << "Initializing CTGlobalCron"; d->multiUserCron = true; d->systemCron = false; @@ -40,7 +40,7 @@ } QList<CTTask*> CTGlobalCron::tasks() const { - logDebug() << "Global Cron Tasks" << endl; + logDebug() << "Global Cron Tasks"; QList<CTTask*> tasks; foreach(CTCron* cron, ctHost->crons) { @@ -55,7 +55,7 @@ } QList<CTVariable*> CTGlobalCron::variables() const { - logDebug() << "Global Cron Variables" << endl; + logDebug() << "Global Cron Variables"; QList<CTVariable*> variables; foreach(CTCron* cron, ctHost->crons) { @@ -71,14 +71,14 @@ } void CTGlobalCron::addTask(CTTask* task) { - logDebug() << "Global Cron addTask" << endl; + logDebug() << "Global Cron addTask"; CTCron* actualCron = ctHost->findUserCron(task->userLogin); actualCron->addTask(task); } void CTGlobalCron::addVariable(CTVariable* variable) { - logDebug() << "Global Cron addVariable" << endl; + logDebug() << "Global Cron addVariable"; CTCron* actualCron = ctHost->findUserCron(variable->userLogin); actualCron->addVariable(variable); @@ -86,7 +86,7 @@ void CTGlobalCron::modifyTask(CTTask* task) { - logDebug() << "Global Cron modifyTask" << endl; + logDebug() << "Global Cron modifyTask"; CTCron* actualCron = ctHost->findCronContaining(task); @@ -105,7 +105,7 @@ } void CTGlobalCron::modifyVariable(CTVariable* variable) { - logDebug() << "Global Cron modifyVariable" << endl; + logDebug() << "Global Cron modifyVariable"; CTCron* actualCron = ctHost->findCronContaining(variable); @@ -124,14 +124,14 @@ } void CTGlobalCron::removeTask(CTTask* task) { - logDebug() << "Global Cron removeTask" << endl; + logDebug() << "Global Cron removeTask"; CTCron* actualCron = ctHost->findCronContaining(task); actualCron->removeTask(task); } void CTGlobalCron::removeVariable(CTVariable* variable) { - logDebug() << "Global Cron removeVariable" << endl; + logDebug() << "Global Cron removeVariable"; CTCron* actualCron = ctHost->findCronContaining(variable); actualCron->removeVariable(variable); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/crontablib/ctcron.cpp new/kcron-20.04.0/src/crontablib/ctcron.cpp --- old/kcron-19.12.3/src/crontablib/ctcron.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/crontablib/ctcron.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -101,7 +101,7 @@ if (initializeFromUserInfos(userInfos) == false) { ctInitializationError.setErrorMessage(i18n("No password entry found for uid '%1'", getuid())); - logDebug() << "Error in crontab creation of" << userInfos->pw_name << endl; + logDebug() << "Error in crontab creation of" << userInfos->pw_name; return; } @@ -111,9 +111,9 @@ this->parseFile(d->tmpFileName); } else { - logDebug() << "Error when executing command" << commandLineStatus.commandLine << endl; - logDebug() << "Standard output :" << commandLineStatus.standardOutput << endl; - logDebug() << "Standard error :" << commandLineStatus.standardError << endl; + logDebug() << "Error when executing command" << commandLineStatus.commandLine; + logDebug() << "Standard output :" << commandLineStatus.standardOutput; + logDebug() << "Standard error :" << commandLineStatus.standardError; } d->initialTaskCount = d->task.size(); @@ -140,7 +140,7 @@ return *this; if (source.isSystemCron() == true) { - logDebug() << "Affect the system cron" << endl; + logDebug() << "Affect the system cron"; } d->variable.clear(); @@ -261,7 +261,7 @@ return false; } - //logDebug() << exportCron() << endl; + //logDebug() << exportCron(); QTextStream out(&file); out << exportCron(); @@ -389,7 +389,7 @@ task->setSystemCrontab(false); } - logDebug() << "Adding task" << task->comment << " user : "<< task->userLogin << endl; + logDebug() << "Adding task" << task->comment << " user : "<< task->userLogin; d->task.append(task); } @@ -401,7 +401,7 @@ variable->userLogin = d->userLogin; - logDebug() << "Adding variable" << variable->variable << " user : "<< variable->userLogin << endl; + logDebug() << "Adding variable" << variable->variable << " user : "<< variable->userLogin; d->variable.append(variable); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/crontablib/cthost.cpp new/kcron-20.04.0/src/crontablib/cthost.cpp --- old/kcron-19.12.3/src/crontablib/cthost.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/crontablib/cthost.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -129,7 +129,7 @@ CTSaveStatus CTHost::save() { if (isRootUser() == false) { - logDebug() << "Save current user cron" << endl; + logDebug() << "Save current user cron"; CTCron* ctCron = findCurrentUserCron(); return ctCron->save(); @@ -196,7 +196,7 @@ return ctCron; } - logDebug() << "Unable to find the current user Cron. Please report this bug and your crontab config to the developers" << endl; + logDebug() << "Unable to find the current user Cron. Please report this bug and your crontab config to the developers"; return nullptr; } @@ -206,7 +206,7 @@ return ctCron; } - logDebug() << "Unable to find the system Cron. Please report this bug and your crontab config to the developers" << endl; + logDebug() << "Unable to find the system Cron. Please report this bug and your crontab config to the developers"; return nullptr; } @@ -216,7 +216,7 @@ return ctCron; } - logDebug() << "Unable to find the user Cron " << userLogin << ". Please report this bug and your crontab config to the developers" << endl; + logDebug() << "Unable to find the user Cron " << userLogin << ". Please report this bug and your crontab config to the developers"; return nullptr; } @@ -227,7 +227,7 @@ } } - logDebug() << "Unable to find the cron of this task. Please report this bug and your crontab config to the developers" << endl; + logDebug() << "Unable to find the cron of this task. Please report this bug and your crontab config to the developers"; return nullptr; } @@ -239,7 +239,7 @@ } } - logDebug() << "Unable to find the cron of this variable. Please report this bug and your crontab config to the developers" << endl; + logDebug() << "Unable to find the cron of this variable. Please report this bug and your crontab config to the developers"; return nullptr; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/crontablib/cttask.cpp new/kcron-20.04.0/src/crontablib/cttask.cpp --- old/kcron-19.12.3/src/crontablib/cttask.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/crontablib/cttask.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -62,7 +62,7 @@ // If reboot bypass initialize functions so no keys selected in modify task if (reboot == false) { - //logDebug() << "Line : " << tokStr << endl; + //logDebug() << "Line : " << tokStr; minute.initialize(tokStr.mid(0, spacePos)); while (isSpace(tokStr, spacePos+1)) @@ -354,7 +354,7 @@ QUrl commandPath = QUrl::fromLocalFile(completeCommandPath()); QMimeType mimeType = QMimeDatabase().mimeTypeForUrl(commandPath); - //logDebug() << mimeType->name() << endl; + //logDebug() << mimeType->name(); if (mimeType.name() == QLatin1String( "application/x-executable" ) || mimeType.name() == QLatin1String( "application/octet-stream" )) { //The next line is identical as SmallIcon(commandPath.fileName()), but is able to return a isNull() QPixmap diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/genericListWidget.cpp new/kcron-20.04.0/src/genericListWidget.cpp --- old/kcron-19.12.3/src/genericListWidget.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/genericListWidget.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -95,7 +95,7 @@ mainLayout->addLayout(treeLayout); - logDebug() << "Generic list created" << endl; + logDebug() << "Generic list created"; connect(treeWidget(), &QTreeWidget::itemDoubleClicked, this, &GenericListWidget::modifySelection); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/kcmCron.cpp new/kcron-20.04.0/src/kcmCron.cpp --- old/kcron-19.12.3/src/kcmCron.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/kcmCron.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -79,7 +79,7 @@ d->crontabWidget = new CrontabWidget(this, d->ctHost); - logDebug() << "Crontab Widget initialized" << endl; + logDebug() << "Crontab Widget initialized"; connect(d->crontabWidget->tasksWidget(), SIGNAL(taskModified(bool)), this, SIGNAL(changed(bool))); connect(d->crontabWidget->variablesWidget(), SIGNAL(variableModified(bool)), this, SIGNAL(changed(bool))); @@ -105,13 +105,13 @@ } void KCMCron::load() { - logDebug() << "Calling load" << endl; + logDebug() << "Calling load"; d->ctHost->cancel(); } void KCMCron::save() { - logDebug() << "Saving crontab..." << endl; + logDebug() << "Saving crontab..."; CTSaveStatus saveStatus = d->ctHost->save(); if (saveStatus.isError() == true) { @@ -121,7 +121,7 @@ } void KCMCron::defaults() { - logDebug() << "Loading defaults" << endl; + logDebug() << "Loading defaults"; d->ctHost->cancel(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/kcm_cron.desktop new/kcron-20.04.0/src/kcm_cron.desktop --- old/kcron-19.12.3/src/kcm_cron.desktop 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/kcm_cron.desktop 2020-04-07 17:41:22.000000000 +0200 @@ -156,7 +156,7 @@ X-KDE-Keywords[it]=cron,crontab,piano,compiti,compito,pianificare,vixie X-KDE-Keywords[kk]=cron,crontab,scheduled,tasks,task,schedule,vixie X-KDE-Keywords[ko]=cron,crontab,scheduled,tasks,task,schedule,vixie,작업,예약,예약된 작업 -X-KDE-Keywords[lt]=cron,crontab,nustatyta,užduotys,užduotis,tvarkaraštis,planuoti,vixie +X-KDE-Keywords[lt]=cron,crontab,nustatyta,suplanuota,planuota,užduotys,uzduotys,uzduotis,užduotis,tvarkaraštis,tvarkarastis,planuoti,vixie X-KDE-Keywords[mr]=क्रोन,क्रोनटॅब,नियोजीत,कार्य,कार्ये,नियोजन,विक्सी X-KDE-Keywords[nb]=cron,crontab,planlagt,oppgaver,oppgave,plan,vixie X-KDE-Keywords[nds]=cron,Opgaav,Opgaven,Opgaventabell,plaant,Plaan,vixie diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/taskEditorDialog.cpp new/kcron-20.04.0/src/taskEditorDialog.cpp --- old/kcron-19.12.3/src/taskEditorDialog.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/taskEditorDialog.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -367,12 +367,12 @@ void TaskEditorDialog::emptyMinutesGroup() { - logDebug() << "Empty minutes layout" << endl; + logDebug() << "Empty minutes layout"; for (int minuteIndex = 0; minuteIndex<=minuteTotal; ++minuteIndex ) { minutesLayout->removeWidget(minuteButtons[minuteIndex]); minuteButtons[minuteIndex]->hide(); - logDebug() << "Layout count" << minutesLayout->count() << endl; + logDebug() << "Layout count" << minutesLayout->count(); } minutesLayout->removeItem(minutesPreselectionLayout); @@ -391,7 +391,7 @@ */ emptyMinutesGroup(); - logDebug() << "Show all minutes" << endl; + logDebug() << "Show all minutes"; int minuteIndex = 0; for (int row = 0; row < (minuteTotal+1)/minutePerColumn; ++row) { @@ -409,7 +409,7 @@ } void TaskEditorDialog::reduceMinutesGroup() { - logDebug() << "Reducing view" << endl; + logDebug() << "Reducing view"; emptyMinutesGroup(); @@ -428,7 +428,7 @@ } } else { - logDebug() << "Reducing id" << minuteIndex << endl; + logDebug() << "Reducing id" << minuteIndex; ctTask->minute.setEnabled(minuteIndex, false); minuteButtons[minuteIndex]->setChecked(false); @@ -454,7 +454,7 @@ } void TaskEditorDialog::createMinutesGroup(QWidget* main) { - logDebug() << "Creating minutes group" << endl; + logDebug() << "Creating minutes group"; minutesGroup = new QGroupBox( i18n("Minutes"), main); @@ -495,7 +495,7 @@ reduceMinutesGroup(); } - logDebug() << "Minutes group created" << endl; + logDebug() << "Minutes group created"; } NumberPushButton* TaskEditorDialog::createHourButton(QGroupBox* hoursGroup, int hour) { @@ -512,7 +512,7 @@ QGroupBox* TaskEditorDialog::createHoursGroup(QWidget* main) { - logDebug() << "Creating hours group" << endl; + logDebug() << "Creating hours group"; QGroupBox* hoursGroup = new QGroupBox(i18n("Hours"), main); QGridLayout* hoursLayout = new QGridLayout(hoursGroup); //5 x 7 @@ -545,7 +545,7 @@ connect(allHours, &SetOrClearAllButton::clicked, this, &TaskEditorDialog::slotAllHours); connect(allHours, &SetOrClearAllButton::clicked, this, &TaskEditorDialog::slotWizard); - logDebug() << "Create hours group" << endl; + logDebug() << "Create hours group"; return hoursGroup; } @@ -728,7 +728,7 @@ QString path = pathCommand.at(0); QString binaryCommand = pathCommand.at(1); - logDebug() << "Looking for " << binaryCommand << "in" << path << endl; + logDebug() << "Looking for " << binaryCommand << "in" << path; bool found = false; bool exec = false; @@ -977,7 +977,7 @@ void TaskEditorDialog::slotMinutesPreselection(int index) { QVariant itemData = minutesPreselection->itemData(index); int step = itemData.toInt(); - logDebug() << "Selected step " << step << endl; + logDebug() << "Selected step " << step; if (step == -1) { //Unselect everything diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/tasksWidget.cpp new/kcron-20.04.0/src/tasksWidget.cpp --- old/kcron-19.12.3/src/tasksWidget.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/tasksWidget.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -60,7 +60,7 @@ connect(treeWidget(), &QTreeWidget::itemSelectionChanged, this, &TasksWidget::changeCurrentSelection); - logDebug() << "Tasks list created" << endl; + logDebug() << "Tasks list created"; } TasksWidget::~TasksWidget() { @@ -106,7 +106,7 @@ CTCron* ctCron = crontabWidget()->currentCron(); if (ctCron == nullptr) { - logDebug() << "Unable to find the related CtCron, please report this bug to KCron developer" << endl; + logDebug() << "Unable to find the related CtCron, please report this bug to KCron developer"; return; } @@ -183,12 +183,12 @@ } - logDebug() << "End of modification" << endl; + logDebug() << "End of modification"; } void TasksWidget::deleteSelection() { - logDebug() << "Selection deleting..." << endl; + logDebug() << "Selection deleting..."; QList<QTreeWidgetItem*> tasksItems = treeWidget()->selectedItems(); @@ -209,7 +209,7 @@ changeCurrentSelection(); } - logDebug() << "End of deletion" << endl; + logDebug() << "End of deletion"; } void TasksWidget::refreshTasks(CTCron* cron) { @@ -331,7 +331,7 @@ } void TasksWidget::changeCurrentSelection() { - //logDebug() << "Change selection..." << endl; + //logDebug() << "Change selection..."; if (treeWidget()->topLevelItemCount()==0) { togglePrintAction(false); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcron-19.12.3/src/variablesWidget.cpp new/kcron-20.04.0/src/variablesWidget.cpp --- old/kcron-19.12.3/src/variablesWidget.cpp 2020-03-01 10:06:08.000000000 +0100 +++ new/kcron-20.04.0/src/variablesWidget.cpp 2020-04-07 17:41:22.000000000 +0200 @@ -53,7 +53,7 @@ connect(treeWidget(), &QTreeWidget::itemSelectionChanged, this, &VariablesWidget::changeCurrentSelection); - logDebug() << "Variables list created" << endl; + logDebug() << "Variables list created"; } @@ -166,7 +166,7 @@ } void VariablesWidget::addVariable(CTVariable* variable) { - logDebug() << "Add a new variable" << endl; + logDebug() << "Add a new variable"; crontabWidget()->currentCron()->addVariable(variable); new VariableWidget(this, variable); @@ -258,7 +258,7 @@ } void VariablesWidget::changeCurrentSelection() { - logDebug() << "Change selection..." << endl; + logDebug() << "Change selection..."; bool enabled; if (treeWidget()->selectedItems().isEmpty())
