Commit graph

1572 commits

Author SHA1 Message Date
Michael Catanzaro
a3f1007fe7 Workaround signal misfires that led to crash
Even though the original ChessGame is always destroyed immediately after
the creation of a new one (no other reference to it exists), the signals
we connected to the original game may be nonetheless fired by the NEW
game object. This must be a bug in Vala signals.

https://bugzilla.gnome.org/show_bug.cgi?id=732067
2014-06-22 20:32:48 -05:00
Michael Catanzaro
3fe468cb26 Do not use Gtk.Widget.double_buffered
It no longer does anything. Le sigh.
2014-06-22 14:01:53 -05:00
Aurimas Černius
a09c1536ff Updated Lithuanian translation 2014-06-22 16:21:21 +03:00
Michael Catanzaro
bf73f7c85b timer: use LTR character and mark for translation 2014-06-21 18:07:20 -05:00
Yosef Or Boczko
733ad77950 Updated Hebrew translation 2014-06-22 02:03:04 +03:00
Michael Catanzaro
7547f0a9cb Rephrase the player death message
For whatever reason, PGN has a notion of player death, to be used if the
moons align and a player is unable to complete a game because he died.
Probably no gnome-chess user will ever see this message ever -- he would
have to load a specially-prepared PGN -- but let's make it less
confusing anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=726454
2014-06-21 17:56:42 -05:00
Michael Catanzaro
0ae439e61d Reword the error message for engine errors
It's been reported that the existing error messages could be confusing
to users. In particular, the notion of a computer program dying (error
message when the engine process is killed) could be confusing. Reword to
avoid this.
2014-06-21 17:56:36 -05:00
Anders Jonsson
aec8719f59 Updated Swedish translation 2014-06-07 20:32:20 +00:00
Michael Catanzaro
530ffa05e5 Rely on RTL icon theme support 2014-06-05 10:29:34 -05:00
Michael Catanzaro
30a447d54a Require GTK+ 3.13.2
For RTL icon theme support
2014-06-05 10:28:13 -05:00
Enrico Nicoletto
a6ab3424c7 Updated Brazilian Portuguese translation 2014-05-21 16:45:17 +00:00
Michael Catanzaro
788ea1ff2c appdata: fix spelling of metadata_license tag 2014-05-20 20:53:27 -05:00
Michael Catanzaro
f2f2842bff Distribute libchess.vapi
This allows users to modify Vala files outside of lib/ without having to
manually remove anything.

https://bugzilla.gnome.org/show_bug.cgi?id=729042
2014-05-17 19:51:54 -05:00
Daniel Mustieles
61ee3bed87 Updated Spanish translation 2014-05-10 19:44:55 +02:00
Michael Catanzaro
3bff070918 appdata: update license fields 2014-05-09 20:16:39 -05:00
Ihar Hrachyshka
25d96fd3ab Updated Belarusian translation.
(cherry picked from commit 3a5f718577977d0d8a8b2bac9dba58c388daead7)
2014-05-04 23:28:05 +02:00
Aurimas Černius
64a138e1bf Updated Lithuanian translation 2014-05-03 22:02:40 +03:00
Yosef Or Boczko
d51b379680 Updated Hebrew translation 2014-04-26 21:34:35 +03:00
Michael Catanzaro
2b26be7c73 Prepare 3.13.1 2014-04-26 13:27:39 -05:00
Marek Černocký
3de0cbd776 Updated Czech translation 2014-04-23 21:44:57 +02:00
Dimitris Spingos
b8e3483bb3 Updated Greek translation 2014-04-21 20:19:48 +03:00
Tom Tryfonidis
a4155350e5 Updated Greek translation 2014-04-18 23:30:11 +00:00
Alexandre Franke
6685dfaad1 Update French translation 2014-04-17 18:06:12 +02:00
Rafael Ferreira
8b2679aaa4 Updated Brazilian Portuguese translation 2014-04-15 02:00:46 -03:00
Michael Catanzaro
a5dc9bee66 Do not unpause the game when the engine moves
Instead, wait until the player unpauses the game, and only then report
the move.

https://bugzilla.gnome.org/show_bug.cgi?id=726949
2014-04-14 13:08:18 -05:00
Matej Urbančič
312ec3bd72 Updated Slovenian translation 2014-04-11 23:10:22 +02:00
Michael Catanzaro
021f3ec246 Fix another translator comment 2014-04-09 19:30:31 -05:00
Michael Catanzaro
00f7df8abc Preferences: add missing mnemonics 2014-04-09 19:29:43 -05:00
Michael Catanzaro
a9fca365a9 Fix translator comment in preferences dialog 2014-04-09 08:40:31 -05:00
Michael Catanzaro
d0de4734c1 Add access key for new game button 2014-04-09 08:36:35 -05:00
Michael Catanzaro
02acdd8b98 Disable new game action before first move
Otherwise, pressing this button does nothing
2014-04-09 08:36:13 -05:00
Michael Catanzaro
03ea5ed4e5 Fixup: remove gear menu button from size group
This button no longer exists and is causing a warning
2014-04-09 08:36:13 -05:00
Michael Catanzaro
31c8f5781f Add translator comments for new resign dialog 2014-04-09 08:36:13 -05:00
Yosef Or Boczko
8668b5feeb Updated Hebrew translation 2014-04-09 15:24:22 +03:00
Michael Catanzaro
ffcbf957d2 Set reasonable defaults for global booleans
We actually need to set a default for allow_claim_draw_dialog to account
for cases where games are loaded instead of started new.

game_needs_saving should already be covered everywhere, but it doesn't
hurt to set this. By default, games don't need saved, since nothing has
happened yet.
2014-04-08 22:52:27 -05:00
Michael Catanzaro
cc04b52312 trivial: move methods related to claim draw 2014-04-08 22:46:37 -05:00
Michael Catanzaro
2ed16b90f7 Prompt the player when claiming a draw is possible
https://bugzilla.gnome.org/show_bug.cgi?id=727789
2014-04-08 22:45:25 -05:00
Michael Catanzaro
b1128fa66b Add ChessGame.can_claim_draw()
https://bugzilla.gnome.org/show_bug.cgi?id=727789
2014-04-08 22:45:25 -05:00
Michael Catanzaro
ed07707e69 Restore chess-scene.c to POTFILES.skip
It doesn't actually have any translatable strings, so it's not strictly
necessary, but it should definitely be here as long as chess-scene.vala
is listed in POTFILES.in
2014-04-08 21:59:04 -05:00
Michael Catanzaro
d057b32952 Add a resign button
https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
31365e4617 Switch to a Save As button
The standard Save is still available with Ctrl+S

https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
29556c95d5 Remove the gear menu
https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
dfb23c124e Remove the Claim Draw menu item
Instead, we should prompt the player when he has the option of claiming
a draw. This will come in the next commit.

https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:29 -05:00
Michael Catanzaro
17f0005f34 Split several files off into an internal library
This will be a static convenience library, so we don't have to recompile
all of these files for each test binary.
2014-04-08 21:50:59 -05:00
Michael Catanzaro
13fa74ee33 warning: extra tokens at end of #endif directive 2014-04-08 21:50:59 -05:00
Michael Catanzaro
dd340f9e9e Split chess-game.vala into multiple files
This is easily justified by observing that the majority of
chess-game.vala was devoted to the ChessState class.
2014-04-08 21:50:59 -05:00
Yosef Or Boczko
90f179f318 Updated Hebrew translation 2014-04-08 17:28:02 +03:00
Michael Catanzaro
45cf7b0bf5 Add a warning dialog when using Resign
https://bugzilla.gnome.org/show_bug.cgi?id=727788
2014-04-07 20:12:58 -05:00
Michael Catanzaro
8a588487b5 Stop using custom markup on message dialogs
Get with the new style. It's lightweight and not bold and not large.
That is, it's the default.
2014-04-07 19:40:03 -05:00
Michael Catanzaro
d567309442 Require GTK+ 3.12
We forgot to bump the GTK+ requirement when using GtkDialog's new
use_header_bar property.

https://bugzilla.gnome.org/show_bug.cgi?id=727720
2014-04-06 17:40:41 -05:00