Commit graph

1791 commits

Author SHA1 Message Date
Michael Catanzaro
184b004b02 Prepare 3.29.90 2018-07-27 21:17:43 -05:00
Michael Catanzaro
f6bf52b767 Fix check for prctl
The define got borked during the meson port
2018-07-27 20:37:24 -05:00
Michael Catanzaro
17602f2804 Rename app ID
Whoever decided the app should be lowercase?
2018-07-27 20:05:34 -05:00
Michael Catanzaro
4d5638dc46 Remove attempt to vary the save dialog labels
It's defeated by the fact that the dialog is cached the first time it is
created... whatever labels get used on the first construction get used
forever.
2018-07-27 20:03:51 -05:00
Michael Catanzaro
e28ef95709 Switch to native file choosers
For the Flatpak. Fixes #27
2018-07-27 20:00:59 -05:00
Michael Catanzaro
eb7f2636c5 Improve construction of the no-engine info bar
This reparenting strategy was pretty wild.
2018-07-27 19:46:42 -05:00
Michael Catanzaro
f918814c9e Remove info bars from save and open dialogs
Display errors in message dialogs instead. Also, ensure the main dialogs
are closed before opening the message dialog, to avoid popping up the
message dialog on top of the file chooser, as currently happens when
trying to open something that's not a PGN.
2018-07-27 19:31:23 -05:00
Michael Catanzaro
134b501bf6 Fix silly deprecation warning 2018-07-27 18:01:46 -05:00
Michael Catanzaro
9bc94a14ee Fix wrong player sometimes winning when timer expires
Fixes #25. Thanks to Alessandro Bruni for investigating and proposing
the original version of this patch.
2018-07-27 17:57:59 -05:00
Michael Catanzaro
f4961bd57b Improve ChessClock
Make most of the members private and expose new properties to get the
remaining time for each player. Much simpler to use.

Credit to Alessandro Bruni for the initial version of this patch adding
the new properties, and to Sahil Sareen for spotting a bug in that
version.
2018-07-27 17:52:47 -05:00
Michael Catanzaro
9b892882b1 Only display claim draw dialog if game has started
We should also probably decide whether the game has started before
scheduling the timeout, since that's a 100ms window for everything to
break, otherwise.

Fixes #22
2018-07-27 16:22:07 -05:00
Bruno Lopes da Silva
ea79e9471f Update Brazilian Portuguese translation 2018-07-10 13:27:41 +00:00
Michael Catanzaro
b2963ed41f Attempt to fix nightly build 2018-05-31 13:22:35 +00:00
Daniel Mustieles
a8c8deab2d Updated Spanish translation 2018-05-22 13:05:36 +02:00
Mingcong Bai
f2fb1e2284 Update Chinese (China) translation 2018-05-21 16:03:54 +00:00
Matej Urbančič
1cc33806ba Added Slovenian translation 2018-05-15 21:55:35 +02:00
Fabio Tomat
eb5aa9803b Update Friulian translation 2018-05-06 15:41:31 +00:00
Kukuh Syafaat
251efb0226 Update Indonesian translation 2018-05-06 10:40:54 +00:00
Daniel Șerbănescu
f3f0bac38e Update Romanian translation 2018-05-06 09:46:20 +00:00
Marek Černocký
9e70d02599 Updated Czech translation 2018-05-04 00:48:28 +02:00
Michael Catanzaro
411b51d201 Update my copyright year
Looks like I've made some change in every year
2018-04-24 12:20:04 -05:00
Michael Catanzaro
0babf56b89 Fix code style 2018-04-24 12:19:56 -05:00
Michael Catanzaro
04c7f5aea7 Prepare 3.29.1 2018-04-24 12:15:04 -05:00
Michael Catanzaro
be944e49cc Fix claim draw dialog appearing for moves through history
Using the history viewer should not trigger the claim draw dialog. I
noticed this because there's a big warning comment in game_turn_cb()
saying to not use it for anything related to the game itself, yet here
it was.

Note I add one additional check here, to mave sure the game has not
ended before telling the engine to move.

Note also that this makes every move 0.1s slower than before... that
seems fine.
2018-04-24 12:12:12 -05:00
Michael Catanzaro
384ebe0120 Make it really obvious when an en passant capture is performed
Let's change the window title. Should hopefully cut down on bug reports.

https://bugzilla.gnome.org/show_bug.cgi?id=485246
2018-04-24 11:51:57 -05:00
Michael Catanzaro
9b41b9bef7 Show better move description for en passant captures
The current description is wrong since it says the captured piece was at
the current location of the capturing piece, but that's not true for en
passant captures.

Also, this might possibly help users realize that en passant is not a bug.
2018-04-24 11:48:07 -05:00
Michael Catanzaro
221e06e5e9 Fix check for human player in update_headerbar_title
The goal is to print a warning about check if it's the human's turn, but
this would be broken if computer vs. computer games were supported.
2018-04-24 11:48:07 -05:00
Michael Catanzaro
4b314fdbd9 Add a FIXME 2018-04-24 10:32:48 -05:00
Michael Catanzaro
95292f5597 Rename ChessMove.moved_rook to castling_rook 2018-04-24 09:54:55 -05:00
Stas Solovey
3e79435b78 Update Russian translation 2018-04-12 19:44:36 +00:00
Michael Catanzaro
aaeebd1c94 Prepare 3.28.1 2018-04-10 02:11:01 -05:00
Piotr Drąg
51d5c99009 Update Polish translation 2018-03-27 21:15:29 +02:00
Piotr Drąg
1ce9269617 Update Polish translation 2018-03-27 21:12:29 +02:00
Daniel Șerbănescu
f1ab727e94 Update Romanian translation 2018-03-26 20:13:03 +00:00
Mandy Wang
c5f5f74b8d Update zh_CN translations 2018-03-24 00:13:26 +08:00
gogo
93fa6a22de Update Croatian translation 2018-03-14 19:02:57 +00:00
gogo
683fdf70f7 Update Croatian translation 2018-03-14 18:41:20 +00:00
Michael Catanzaro
ea0d76bd58 Remove leftover automake file 2018-03-11 18:27:45 -05:00
Michael Catanzaro
036d3552bc Tests should not be installed
These are getting installed into /usr/bin

https://bugzilla.gnome.org/show_bug.cgi?id=794238
2018-03-11 12:42:16 -05:00
Michael Catanzaro
c2292dd1a7 libchess should be a static convenience library
This shouldn't be installed as a shared library

https://bugzilla.gnome.org/show_bug.cgi?id=794238
2018-03-11 12:41:16 -05:00
Michael Catanzaro
c1cc98cd83 Stop creating legacy 22x22 icon directory
This icon was removed in 3.28.

https://developer.gnome.org/hig/stable/icons-and-artwork.html.en

https://bugzilla.gnome.org/show_bug.cgi?id=794240
2018-03-11 11:29:03 -05:00
Michael Catanzaro
fef3e69c47 Prepare 3.28.0 2018-03-10 12:38:08 -06:00
Piotr Drąg
83f4badb00 Fix Spanish translation header 2018-02-23 23:26:40 +01:00
Fabio Tomat
bb34e20080 Update Friulian translation 2018-02-17 02:39:08 +00:00
Piotr Drąg
cb28564926 Update Polish translation 2018-02-08 00:51:39 +01:00
Piotr Drąg
52e5ede60a Remove obsolete translations
They contain all the games from the now-defunct gnome-games package,
now only inflating the package size.
2018-02-01 22:41:35 +01:00
Michael Catanzaro
59db5984f8 Prepare 3.27.2 2017-11-15 15:13:10 -06:00
Michael Catanzaro
56d3556124 Add missing newline to error message 2017-11-15 15:12:02 -06:00
Ken VanDine
a997da7e20 Install the svg files for the pieces in the correct location
https://bugzilla.gnome.org/show_bug.cgi?id=790395
2017-11-15 14:24:54 -05:00
Ken VanDine
08bb18b07f Install schema file
https://bugzilla.gnome.org/show_bug.cgi?id=790395
2017-11-15 14:19:55 -05:00