Commit graph

1257 commits

Author SHA1 Message Date
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
Matej Urbančič
11e0ca6a6f Updated Slovenian translation 2014-03-31 22:48:50 +02:00
Piotr Drąg
89695ce402 doap: update URLs 2014-03-31 20:17:36 +02:00
Milo Casagrande
a7d604ea55 Updated Italian translation 2014-03-28 08:28:07 +00:00
Yosef Or Boczko
ac8fa3cf43 Fix some untranslated strings in the save dialog
https://bugzilla.gnome.org/show_bug.cgi?id=727059
2014-03-26 08:44:56 -05:00
Yosef Or Boczko
621308e1b8 Use headerbar in the preferences dialog
https://bugzilla.gnome.org/show_bug.cgi?id=727056
2014-03-26 08:43:01 -05:00
Michael Catanzaro
4812c81815 Partially revert "remove unnecessary size groups"
The header bar size group was actually important: it was keeping the New
Game button at the proper height. And since it wasn't causing any
problems, let's just put it back.

https://bugzilla.gnome.org/show_bug.cgi?id=726951
2014-03-24 19:48:06 -05:00
Inaki Larranaga Murgoitio
a1eaa5e9b2 Updated Basque language 2014-03-24 21:42:29 +01:00
Michael Catanzaro
6d4e61c79a Compute the width of the time labels at runtime
Set the time labels to be a little bit wider than the widest they might
ever be, so they never resize.

This assumes that each player will be limited to at most 999 minutes,
which currently is not the case, but will be soon.

https://bugzilla.gnome.org/show_bug.cgi?id=726955
2014-03-24 09:48:05 -05:00
Michael Catanzaro
da695c6cc4 Use the correct ratio character for the time label
https://bugzilla.gnome.org/show_bug.cgi?id=726954
2014-03-24 09:47:24 -05:00
Michael Catanzaro
53fdcacd19 ui: remove unnecessary size groups
The horizontal size group is exacerbating the horrible resizing
behavior as the clock ticks down. It's not the size group's fault that
this is broken, but the size group makes it 1634435x worse.

The vertical size group is simply unnecessary in 3.12. In 3.10 it is
needed for the header bar buttons to have the same height, but forces
the buttons into odd (non-square) shapes. Let's just remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=726951
2014-03-24 09:46:51 -05:00
Michael Catanzaro
e75dc1ceea Update header bar title after Undo
Now that we display the name of the player to move, we need to remember
to keep this updated even if we go back in time.

https://bugzilla.gnome.org/show_bug.cgi?id=726950
2014-03-24 09:46:18 -05:00
Michael Catanzaro
bdd5ff69fe Do not unconditionally call prctl in distributed C
The existing check for linux/prctl.h works great if you are compiling
the Vala code, but it's expected that users and distributions may start
with the distributed C files instead. If the tarball is generated on
Linux, then the call to prctl() will unconditionally appear in the
distributed C, and if the tarball isn't generated on Linux, then it will
be unconditionally absent.

There are only two ways to fix this: (a) not distribute any C code, or
(b) move the conditional compilation out of the Vala code. Though it
looks like the Autotools Vala world may be starting to lean towards (a),
let's be conservative and pick (b) for now.

https://bugzilla.gnome.org/show_bug.cgi?id=726614
2014-03-24 09:45:08 -05:00
Michael Catanzaro
702dd599af Prepare 3.12.0 2014-03-24 09:32:16 -05:00
Andre Klapper
92aa98665e User docs: Remove non-existing See Also page 2014-03-23 21:30:24 +01:00
Andre Klapper
5f61c72317 User docs: Update URL 2014-03-23 21:29:51 +01:00