- Jan 19, 2019
-
-
Script Kiddy authored
-
- Nov 28, 2018
-
-
Laurent Montel authored
-
- Nov 07, 2018
-
-
Albert Astals Cid authored
-
- Oct 26, 2018
-
-
Laurent Montel authored
-
- Oct 10, 2018
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
-
- Mar 13, 2018
-
-
Script Kiddy authored
-
- Oct 22, 2017
-
-
Laurent Montel authored
-
- Oct 15, 2017
-
-
Script Kiddy authored
-
- Sep 28, 2017
-
-
Script Kiddy authored
-
- Aug 23, 2017
-
-
Luigi Toscano authored
newstuff.kde.org, long unmaintained, was retired.
-
- Jul 27, 2017
-
-
When the game window is resized before a game is started, the game scene is not correctly rescaled. When starting the game it might be too small (it seems never to be too large). This commit fixes the bug by triggering a fitInView() call of the gameView. The same function is triggered by a resize event. BUGS: 380464 REVIEW: 130167
-
- Jul 15, 2017
-
-
Luigi Toscano authored
-
- Jun 13, 2017
-
-
Script Kiddy authored
-
- Jun 08, 2017
-
-
Script Kiddy authored
-
- Mar 17, 2017
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- Mar 13, 2017
-
-
Luigi Toscano authored
"KDE" has been only the community for a while.
-
- Jan 30, 2017
-
-
Script Kiddy authored
-
- Dec 20, 2016
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
-
- Aug 19, 2016
-
-
Script Kiddy authored
-
- Jun 12, 2016
-
-
Script Kiddy authored
-
- May 11, 2016
-
-
Julian Helfferich authored
Before, the logging categories were declared in KBlocksDefine.h. They are moved into the new file KBlocks_debug.h to be consistent with other KDE Games. Similarly, the QLoggingCategory declaration from AI/KBlocksAITypeDefine.h is moved to KBlocks_debug.h. The file AI/KBlocksAITypeDefine.cpp is no longer needed.
-
- May 10, 2016
-
-
Burkhard Lück authored
remove entities kappname, package - not used anymore bump date + releaseinfo add screenshot add missing shortcut remove absolete comment remove appendix
-
- Apr 30, 2016
-
-
Julian Helfferich authored
When loading a plain text replay file, fscanf() was used. The use of this function is discouraged as it can lead to buffer overflows if the string read is larger than the reserved buffer. Now, the C-style functions are replaced with their C++ equivalents. This means the data is read from an ifstream and stored to a string via an istringstream.
-
Frederik Schwarzer authored
-
- Apr 26, 2016
-
-
Julian Helfferich authored
If the replay file can not be loaded, several pointers are set to NULL. In this case, several member functions crash if called. At the moment, these functions are not called since main checks if the replay file has been loaded successfully. However, if the check is omitted and the replay file cannot be loaded, the program crashes. I have added checks for NULL pointers in the member functions of KBlocksRepWin. Now, the program does not crash even if the check is omitted.
-
Julian Helfferich authored
If the passed replay file can not be loaded, several pointers are not set. They are currently not accessed since an error is shown in main.cpp when the file cannot be loaded, but it is good practice to set them anyhow.
-
Julian Helfferich authored
dynamic_cast can return a NULL pointer. I added a check that the pointer is not NULL before it is dereferenced.
-
- Apr 25, 2016
-
-
Julian Helfferich authored
Member variables mpGame and mSendLength were uninitialized in the constructor of KBlocksNetPlayer. mpGame is now set to nullptr and mSendLength to 0.
-
- Apr 24, 2016
-
-
Julian Helfferich authored
Member mRunning was uninitialized in the constructor of KBlocksPlayNetwork. Even though this member, which indicates whether a game is executed, is always initialized before it is used, it is good practice to initialize it in the constructor. It is now set to False in the constructor, indicating that no game is executed.
-
- Apr 22, 2016
-
-
Julian Helfferich authored
The member variable mGamesPerWidth was not initialized in KBlocksDisplay. I found out that this variable is not used and I have thus commented it out.
-
Julian Helfferich authored
Fix error in constructor of Span. Instead of delegating to the other constructor, a temporary object was created. Now, it uses C++11 delegating constructor.
-
- Apr 21, 2016
-
-
Julian Helfferich authored
The pointer mpGame in GamePlayerInterface was not initialized in the constructor. I noticed that both childs of GamePlayerInterface -- KBlocksDummyAI and KBlocksAIPlayer -- redeclare and hide mpGame instead of using the parent class member. I have removed the duplicate members in the child classes and initialize the pointer with nullptr.
-
Julian Helfferich authored
In KBlocksGameLogic constructor mInitialInterval and mLevelUpInterval are uninitialized. I have set them to their default values for AI mode. This patch actually fixes Coverity #76280 while the fix for Coverity #76280 in fact fixed Coverity #76274. The confusion was due to the fact that both members were missing in both constructors and Coverity tracks them as separate issues. Now, both are fixed.
-
Julian Helfferich authored
Pointer maGameList is not initialized in the constructor of GameLogicInterface. This class is an abstract base class and the pointer is initialized in the constructor of the only child class. Nonetheless, I have now set the pointer to nullptr in the initializer list of GameLogicInterface.
-
Julian Helfferich authored
In KBlocksGameReplayer constructor some member variables remain uninitialized in case the replay file cannot be opened. In this case, the game replayer is useless and the list of records always empty. However, I set the variables anyhow.
-
- Apr 20, 2016
-
-
Julian Helfferich authored
Members of PieceInterface were not initialized. Furthermore, I noticed that the derived class KBlocksPiece redeclares and hides the PieceInterface members. I have removed the duplicate members from KBlocksPiece and moved the initialization of the members to the PieceInterface constructor.
-
Julian Helfferich authored
Two member variables in KBlocksNetServer are never used. I have commented them out.
-
Julian Helfferich authored
Several members in KBlocksNetServer were not initialized. I set all pointers to nullptr, and members to the default values they get assigned in executeGame(). I also commented out two members that are currently not used.
-