Hello community, here is the log from the commit of package kblocks for openSUSE:Factory checked in at 2015-01-08 23:16:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kblocks (Old) and /work/SRC/openSUSE:Factory/.kblocks.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kblocks" Changes: -------- --- /work/SRC/openSUSE:Factory/kblocks/kblocks.changes 2014-11-19 20:23:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kblocks.new/kblocks.changes 2015-01-08 23:16:19.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Dec 17 20:33:43 UTC 2014 - [email protected] + +- Update to KDE Applications 14.12.0 + * KDE Applications 14.12.0 + * See https://www.kde.org/announcements/announce-applications-14.12.0.php + +------------------------------------------------------------------- Old: ---- kblocks-4.14.3.tar.xz New: ---- kblocks-14.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kblocks.spec ++++++ --- /var/tmp/diff_new_pack.isy7xv/_old 2015-01-08 23:16:20.000000000 +0100 +++ /var/tmp/diff_new_pack.isy7xv/_new 2015-01-08 23:16:20.000000000 +0100 @@ -23,7 +23,7 @@ License: LGPL-2.1+ Group: Amusements/Games/Strategy/Real Time Url: http://www.kde.org -Version: 4.14.3 +Version: 14.12.0 Release: 0 Source0: kblocks-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ kblocks-4.14.3.tar.xz -> kblocks-14.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/KBlocksAILog.cpp new/kblocks-14.12.0/AI/KBlocksAILog.cpp --- old/kblocks-4.14.3/AI/KBlocksAILog.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/KBlocksAILog.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -75,11 +75,6 @@ is_channel_open[ch] = false; } -void clrscr() -{ - system("clear"); -} - void gotoXY(int x, int y) { #ifdef DEBUG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/KBlocksAILog.h new/kblocks-14.12.0/AI/KBlocksAILog.h --- old/kblocks-4.14.3/AI/KBlocksAILog.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/KBlocksAILog.h 2014-11-10 07:49:08.000000000 +0100 @@ -30,7 +30,6 @@ ** screen setting ********************************************** *****************************************************************/ #ifndef KSIRTET -void clrscr(); void gotoXY(int x, int y); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/KBlocksAIPlanner.cpp new/kblocks-14.12.0/AI/KBlocksAIPlanner.cpp --- old/kblocks-4.14.3/AI/KBlocksAIPlanner.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/KBlocksAIPlanner.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -50,7 +50,7 @@ // board rect Lines b_Col_maxHeight = Lines(w); - // board info - max height per coloumn + // board info - max height per column for(int x = 0; x < w; x++) { int y = 0; @@ -75,7 +75,7 @@ // scan all possible rotation for(int rotation = 0; rotation < loopCount; rotation++) { - // piece info - min/max height per coloumn + // piece info - min/max height per column piece.setRotation(rotation); // scan all possible x position - put piece on board diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/KBlocksAIPlanner.h new/kblocks-14.12.0/AI/KBlocksAIPlanner.h --- old/kblocks-4.14.3/AI/KBlocksAIPlanner.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/KBlocksAIPlanner.h 2014-11-10 07:49:08.000000000 +0100 @@ -21,7 +21,7 @@ class KBlocksAIPlanner : public PlannerInterface { public: - KBlocksAIPlanner(KBlocksField * p); + explicit KBlocksAIPlanner(KBlocksField * p); ~KBlocksAIPlanner(); int process(KBlocks_PieceType_Detail pieceValue); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/KBlocksAIPlannerExtend.h new/kblocks-14.12.0/AI/KBlocksAIPlannerExtend.h --- old/kblocks-4.14.3/AI/KBlocksAIPlannerExtend.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/KBlocksAIPlannerExtend.h 2014-11-10 07:49:08.000000000 +0100 @@ -22,7 +22,7 @@ class PathNode { public: - PathNode(KBlocksPiece * piece); + explicit PathNode(KBlocksPiece * piece); ~PathNode(); KBlocksPiece getContent(); @@ -48,7 +48,7 @@ class KBlocksAIPlannerExtend : public KBlocksAIPlanner { public: - KBlocksAIPlannerExtend(KBlocksField * field); + explicit KBlocksAIPlannerExtend(KBlocksField * field); ~KBlocksAIPlannerExtend(); int process(KBlocks_PieceType_Detail pieceValue); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/KBlocksAIPlayer.h new/kblocks-14.12.0/AI/KBlocksAIPlayer.h --- old/kblocks-4.14.3/AI/KBlocksAIPlayer.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/KBlocksAIPlayer.h 2014-11-10 07:49:08.000000000 +0100 @@ -27,7 +27,7 @@ class KBlocksAIPlayer : public GamePlayerInterface { public: - KBlocksAIPlayer(string name = ""); + explicit KBlocksAIPlayer(string name = ""); ~KBlocksAIPlayer(); public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/AI/PlannerInterface.h new/kblocks-14.12.0/AI/PlannerInterface.h --- old/kblocks-4.14.3/AI/PlannerInterface.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/AI/PlannerInterface.h 2014-11-10 07:49:08.000000000 +0100 @@ -18,7 +18,7 @@ class PlannerInterface { public: - PlannerInterface(KBlocksField * p){mpField = p;}; + explicit PlannerInterface(KBlocksField * p){mpField = p;}; virtual ~PlannerInterface(){}; virtual int process(KBlocks_PieceType_Detail) = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/GamePlayerInterface.h new/kblocks-14.12.0/GamePlayerInterface.h --- old/kblocks-4.14.3/GamePlayerInterface.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/GamePlayerInterface.h 2014-11-10 07:49:08.000000000 +0100 @@ -7,8 +7,8 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ -#ifndef GAMEPLAYINTERFACE_H -#define GAMEPLAYINTERFACE_H +#ifndef GAMEPLAYERINTERFACE_H +#define GAMEPLAYERINTERFACE_H #include <list> #include <string> @@ -49,5 +49,4 @@ SingleGameInterface* mpGame; }; -#endif - +#endif //GAMEPLAYERINTERFACE_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksAppThread.h new/kblocks-14.12.0/KBlocksAppThread.h --- old/kblocks-4.14.3/KBlocksAppThread.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksAppThread.h 2014-11-10 07:49:08.000000000 +0100 @@ -16,7 +16,7 @@ class KBlocksAppThread : public QThread { public: - KBlocksAppThread(KBlocksPlayNetwork * p); + explicit KBlocksAppThread(KBlocksPlayNetwork * p); ~KBlocksAppThread(); public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksConfigManager.cpp new/kblocks-14.12.0/KBlocksConfigManager.cpp --- old/kblocks-4.14.3/KBlocksConfigManager.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksConfigManager.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -7,6 +7,8 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ +#include "KBlocksConfigManager.h" + #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -15,8 +17,6 @@ #include <cctype> #include <algorithm> -#include "KBlocksConfigManager.h" - KBlocksConfigManager::KBlocksConfigManager() { stConfigSectionList.clear(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksGameLogic.h new/kblocks-14.12.0/KBlocksGameLogic.h --- old/kblocks-4.14.3/KBlocksGameLogic.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksGameLogic.h 2014-11-10 07:49:08.000000000 +0100 @@ -26,7 +26,7 @@ { public: explicit KBlocksGameLogic(int capacity, bool record = false); - KBlocksGameLogic(KBlocksGameReplayer * p); + explicit KBlocksGameLogic(KBlocksGameReplayer * p); ~KBlocksGameLogic(); public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksGameMessage.h new/kblocks-14.12.0/KBlocksGameMessage.h --- old/kblocks-4.14.3/KBlocksGameMessage.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksGameMessage.h 2014-11-10 07:49:08.000000000 +0100 @@ -15,7 +15,7 @@ class KBlocksGameMessage { public: - KBlocksGameMessage(int poolSize); + explicit KBlocksGameMessage(int poolSize); ~KBlocksGameMessage(); public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksGameRecorder.cpp new/kblocks-14.12.0/KBlocksGameRecorder.cpp --- old/kblocks-4.14.3/KBlocksGameRecorder.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksGameRecorder.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -50,7 +50,7 @@ int tmpTime = 0; timeLong oldTime = mGameRecord.front().time; list<_game_record_data>::iterator it; - for(it = mGameRecord.begin(); it != mGameRecord.end(); it++) + for(it = mGameRecord.begin(); it != mGameRecord.end(); ++it) { tmpTime = (int)(it->time - oldTime); oldTime = it->time; @@ -63,7 +63,7 @@ int tmpTime = 0; timeLong oldTime = mGameRecord.front().time; list<_game_record_data>::iterator it; - for(it = mGameRecord.begin(); it != mGameRecord.end(); it++) + for(it = mGameRecord.begin(); it != mGameRecord.end(); ++it) { tmpTime = (int)(it->time - oldTime); oldTime = it->time; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksNetPlayer.cpp new/kblocks-14.12.0/KBlocksNetPlayer.cpp --- old/kblocks-4.14.3/KBlocksNetPlayer.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksNetPlayer.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -118,7 +118,7 @@ tmpSendData[byteCounter++] = '|'; if (mSendLength == 0) { - for(it = mActionList.begin(); it != mActionList.end(); it++) + for(it = mActionList.begin(); it != mActionList.end(); ++it) { tmpSendData[byteCounter++] = (char)*it + '0'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksNetServer.cpp new/kblocks-14.12.0/KBlocksNetServer.cpp --- old/kblocks-4.14.3/KBlocksNetServer.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksNetServer.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -259,7 +259,7 @@ } QList<QString>::iterator it; - for(it = mPlayerIPList.begin(); it != mPlayerIPList.end(); it++) + for(it = mPlayerIPList.begin(); it != mPlayerIPList.end(); ++it) { parseIPString(*it, &tmpIP, &tmpPort); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksPieceGenerator.cpp new/kblocks-14.12.0/KBlocksPieceGenerator.cpp --- old/kblocks-4.14.3/KBlocksPieceGenerator.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksPieceGenerator.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -7,10 +7,11 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ +#include "KBlocksPieceGenerator.h" + #include <stdlib.h> #include <stdio.h> -#include "KBlocksPieceGenerator.h" #include "KBlocksPiece.h" KBlocksPieceGenerator::KBlocksPieceGenerator(int size) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksPieceGenerator.h new/kblocks-14.12.0/KBlocksPieceGenerator.h --- old/kblocks-4.14.3/KBlocksPieceGenerator.h 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksPieceGenerator.h 2014-11-10 07:49:08.000000000 +0100 @@ -13,7 +13,7 @@ class KBlocksPieceGenerator { public: - KBlocksPieceGenerator(int size = 4096); + explicit KBlocksPieceGenerator(int size = 4096); ~KBlocksPieceGenerator(); public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/KBlocksWin.cpp new/kblocks-14.12.0/KBlocksWin.cpp --- old/kblocks-4.14.3/KBlocksWin.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/KBlocksWin.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -25,6 +25,7 @@ #include <KgDifficulty> #include <QPixmapCache> +#include <QPointer> #define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API #include <libkdegamesprivate/kgamethemeselector.h> @@ -224,15 +225,16 @@ { if (index == 0) // TODO : game id?? multi game display?? { - KScoreDialog ksdialog( KScoreDialog::Name | KScoreDialog::Level | KScoreDialog::Score, this ); - ksdialog.initFromDifficulty(Kg::difficulty()); + QPointer<KScoreDialog> ksdialog = new KScoreDialog( KScoreDialog::Name | KScoreDialog::Level | KScoreDialog::Score, this ); + ksdialog->initFromDifficulty(Kg::difficulty()); KScoreDialog::FieldInfo info; info[KScoreDialog::Score].setNum( points ); info[KScoreDialog::Level].setNum( level ); - if ( ksdialog.addScore( info ) ) + if ( ksdialog->addScore( info ) ) { - ksdialog.exec(); + ksdialog->exec(); } + delete ksdialog; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/kblocks.desktop new/kblocks-14.12.0/kblocks.desktop --- old/kblocks-4.14.3/kblocks.desktop 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/kblocks.desktop 2014-11-10 07:49:08.000000000 +0100 @@ -97,7 +97,7 @@ GenericName[sv]=Spel med fallande block GenericName[tr]=Sütun Düşürme Oyunu GenericName[ug]=چۈشۈۋاتقان بۆلەك ئويۇنى -GenericName[uk]=Гра з падаючими блоками +GenericName[uk]=Гра з блоками, що падають GenericName[wa]=On djeu avou des blokes ki tcheyèt GenericName[x-test]=xxFalling Blocks Gamexx GenericName[zh_CN]=俄罗斯方块游戏 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kblocks-4.14.3/main.cpp new/kblocks-14.12.0/main.cpp --- old/kblocks-4.14.3/main.cpp 2014-09-13 16:02:53.000000000 +0200 +++ new/kblocks-14.12.0/main.cpp 2014-11-10 07:49:08.000000000 +0100 @@ -35,7 +35,6 @@ #include "KBlocksAppThread.h" -#include "KBlocksPlayNetwork.h" #include "AI/KBlocksAIPlayer.h" #include "KBlocksKeyboardPlayer.h" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
