lp:~neon/kmines/master

Created by Philip Muškovac on 2012-09-20 and last modified on 2020-02-29
Get this branch:
bzr branch lp:~neon/kmines/master

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Deprecated Projected Neon
Project:
kmines
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://anongit.kde.org/kmines.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was on 2020-03-17.

Import started on 2020-03-21 on alnitak and finished on 2020-03-21 taking 20 seconds — see the log
Import started on 2020-03-19 on alnitak and finished on 2020-03-19 taking 25 seconds — see the log
Import started on 2020-03-18 on alnitak and finished on 2020-03-18 taking 15 seconds — see the log
Import started on 2020-03-17 on alnitak and finished on 2020-03-17 taking 15 seconds — see the log

Recent revisions

1154. By Yichao Yu <email address hidden> on 2020-02-29

Fix accidental revealing of items when the game is restarted after lost from a middle click.

Summary:
When a flag is misplaced, a middle click could cause the game to lost.
Currently, if the user choose to restart the game in this case, there is a high chance
that a few pieces around the one middle clicked are revealed right after the game restarted.

The reason is that when the user restart the game in such case,
it happens within `checkLost`/`onItemRevealed` which means that the
game might not be the same one anymore after `onItemRevealed` returns
and the loop handling all neighboring pieces are now operating on the now restarted game.

The fix is to make sure the loop stops when the game is finished. Checking `m_gameOver` is
unreliable and won't work in this case since the restart of the game would have reset it.
Instead, the finished status is returned from all functions that trigger such a condition
and the information is propagated back to the caller to terminate the loop appropriately.
This also improved another unreliable use of `m_gameOver` that is currently harmless.

Debugging was possible thanks to `rr`.

Reviewers: mlaurent, yurchor, #kde_games, aacid

Reviewed By: yurchor, aacid

Subscribers: aacid, kde-games-devel

Differential Revision: https://phabricator.kde.org/D27716

1153. By Yuri Chornoivan <email address hidden> on 2020-02-28

Compile for ECM < 5.58

1152. By Laurent Montel <email address hidden> on 2020-01-09

Fix compile

1151. By Laurent Montel <email address hidden> on 2020-01-08

Use debug categories

1150. By Laurent Montel <email address hidden> on 2020-01-08

Ignore .cmake directory

1149. By Laurent Montel <email address hidden> on 2020-01-08

Move code in cpp file. Initialize value/pointer

1148. By Yuri Chornoivan <email address hidden> on 2019-11-26

Fix link: ui.html -> menus.html

1147. By l10n daemon script <email address hidden> on 2019-11-18

SVN_SILENT made messages (.desktop file) - always resolve ours

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"

1146. By Yuri Chornoivan <email address hidden> on 2019-11-16

Use URLs with transport encryption

1145. By l10n daemon script <email address hidden> on 2019-11-15

SVN_SILENT made messages (.desktop file) - always resolve ours

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"

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.