Commit graph

857 commits

Author SHA1 Message Date
Michael Catanzaro
7f3c702021 Disallow resigning for your opponent 2013-05-12 21:53:35 -05:00
Michael Catanzaro
370b7e03b7 Stop the engine immediately after game ends
It doesn't need to stay running until the next game begins, or
gnome-chess is closed. Particularly relevant when the engine doesn't
know that the game is over (e.g. after running out of time).
2013-05-12 13:35:18 -05:00
Michael Catanzaro
4a9cee45c9 Increase default width to 700
This is set to avoid jarring changes in size that occur when the current
size is too small to accomodate the move description (at least for
English users).
2013-05-12 13:05:48 -05:00
Michael Catanzaro
24cdd40578 gsettings: remove PieceType enum from schemalist
This was only used for the promotion type preference, which no longer
exists.
2013-05-12 12:56:21 -05:00
Michael Catanzaro
ebca48c0cd Always specify engine in saved game
Even if the engine has never been changed from the default, specify it
2013-05-12 12:47:42 -05:00
Michael Catanzaro
9ae2d5df63 Save should be insensitive after loading a game
Save As remains valid, but Save is not an option until a player has
moved. However, if the game was autoloaded, then Save is sensitive and
functions like Save As, as before (so this only affects games that were
manually loaded by the user).
2013-05-12 12:09:58 -05:00
Michael Catanzaro
159c6f7e88 Game doesn't need saved after undo to the start
Save and save as should not be sensitive after undoing past the first
move in the game. Also, the game doesn't need to be autosaved in this
situation.
2013-05-12 11:20:48 -05:00
Michael Catanzaro
592754bed0 Fix Stockfish engine integration
Stockfish seems to go a bit nuts if passed an empty string for
command-line arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=696474
2013-05-11 22:24:08 -05:00
Michael Catanzaro
f4b137e318 ChessEngine: profile and binary should be private 2013-05-11 19:49:23 -05:00
Michael Catanzaro
8cfa88758e chess-view: make abstract 2013-05-11 19:36:29 -05:00
Michael Catanzaro
3a1ce12c39 ChessEngine: make abstract 2013-05-11 19:35:52 -05:00
Michael Catanzaro
894a74a885 Make the computer's pieces uncontrollable
https://bugzilla.gnome.org/show_bug.cgi?id=665610
2013-05-11 14:54:04 -05:00
Michael Catanzaro
021257fb13 Fix initial sensitivity of certain preferences
* Ensure smooth 3D view option is initially disabled if 3D view is
  disabled.

* Ensure piece type combo is initially disabled if 3D view is enabled.
2013-05-10 17:40:07 -05:00
Michael Catanzaro
f7ea9ef224 Code style fix for my previous commit 2013-05-10 16:46:18 -05:00
Michael Catanzaro
f4a9927e53 3D view: show board numbering only when enabled
https://bugzilla.gnome.org/show_bug.cgi?id=647191
2013-05-10 16:32:01 -05:00
Michael Catanzaro
3f9ed4e245 Translate "Chess" on the About page 2013-05-05 20:57:34 -05:00
Andika Triwidada
3f812f556e Updated Indonesian translation 2013-05-03 02:40:33 +07:00
Michael Catanzaro
0abcf8b17b Fix rpmlint incorrect-fsf-address 2013-05-01 00:12:24 -05:00
Michael Catanzaro
ef8c92cec7 Fix loading games where the human was last to move
https://bugzilla.gnome.org/show_bug.cgi?id=609815
2013-04-30 23:39:49 -05:00
Michael Catanzaro
c67bf17741 Generate .gitignores using git.mk 2013-04-28 22:44:08 -05:00
Michael Catanzaro
bcf6d444f4 include git.mk in data/icons/Makefile.am
Every other Makefile.am already did this
2013-04-28 22:40:54 -05:00
Michael Catanzaro
f7caf34b5a GNOME Chess 3.9.1 2013-04-28 16:48:35 -05:00
Michael Catanzaro
3ef73310e6 Add myself to the maintainers list 2013-04-27 15:08:01 -05:00
Anish A
d5989f8424 Updated Malayalam Translation 2013-04-27 14:30:01 +05:30
Jiro Matsuzawa
a7691f2f86 help: Fix obsolete product of bugzilla
https://bugzilla.gnome.org/show_bug.cgi?id=697995
2013-04-14 22:44:30 -06:00
Michael Catanzaro
d190d8bbdb Fix AI hang when Phalanx attempts to promote
Also, add two promotion tests

https://bugzilla.gnome.org/show_bug.cgi?id=696475
2013-04-14 22:34:18 -06:00
Michael Catanzaro
55f896d1d2 Chess history doesn't work very well
* Autoload the most recent autosaved game instead of the least recent
* Update history upon completing a game, so it's not autoloaded forever
* Autosave even if game was manually loaded from a PGN

https://bugzilla.gnome.org/show_bug.cgi?id=695092
2013-04-14 22:29:28 -06:00
Michael Catanzaro
3a0a4d6a89 Insufficient material fixes
Although two knights cannot FORCE a checkmate, the opponent can
blunder. This position is not a draw.

Also, if each side has one minor piece (unless they are two
Bishops on the same color) the game is - surprisingly - not drawn.
With the extra piece you could wind up in a checkmate that's not
possible if the King is on his own.

https://bugzilla.gnome.org/show_bug.cgi?id=691053
2013-04-14 22:24:11 -06:00
Michael Catanzaro
2a25e3e1a7 ChessState.get_fen() replaces all knights with kings
https://bugzilla.gnome.org/show_bug.cgi?id=691050
2013-04-14 22:17:51 -06:00
Michael Catanzaro
e9f7c8f0fb Respect engine args specified in engines.conf
https://bugzilla.gnome.org/show_bug.cgi?id=691031
2013-04-14 22:02:43 -06:00
OKANO Takayoshi
a5e6ab72bf l10n: Update Japanese translation 2013-04-15 00:50:13 +09:00
Jason D. Clinton
5e849670d3 GNOME Chess 3.8.0 2013-03-26 21:41:56 -06:00
Rajesh Ranjan
e310d21c88 hindi translation 2013-03-25 15:39:15 +05:30
Ihar Hrachyshka
302acfb8c3 Updated Belarusian translation. 2013-03-23 22:46:04 +03:00
Arash Mousavi
8b2d3046a0 L10N: Updated Persian Translation 2013-03-23 11:25:30 +04:30
Dr.T.Vasudevan
2a0bf5e939 Updated Tamil translation 2013-03-23 09:54:26 +05:30
Alexandre Franke
3ee7648572 Update French translation 2013-03-21 18:22:18 +01:00
Victor Ibragimov
a62ccf56e9 [l10n] Added Tadjik translation 2013-03-19 22:02:10 +01:00
Thomas Hindoe Paaboel Andersen
bd50feb868 prepare 3.7.92 2013-03-19 21:13:02 +01:00
Jeremy Bicha
2cdb36fcb3 update configure.ac for .desktop renaming 2013-03-18 20:10:34 -04:00
Jeremy Bicha
c3a03830b7 Rename gnome-chess.desktop back to glchess.desktop
We don't have a good way of handling migrating user settings for a
change like this, so let's revert for now.

https://bugzilla.gnome.org/show_bug.cgi?id=696068
2013-03-18 11:59:02 -04:00
Rūdolfs Mazurs
24dbb294eb Updated Latvian translation 2013-03-18 14:26:30 +02:00
Changwoo Ryu
8e08ef79e6 Updated Korean translation 2013-03-18 11:30:46 +09:00
Changwoo Ryu
9c1e07790f Updated Korean translation 2013-03-18 11:26:57 +09:00
Ask H. Larsen
1a72471c03 Updated Danish translation 2013-03-17 08:44:56 +01:00
Duarte Loreto
58e99f5324 Updated Portuguese translation and converted to New Spelling (Novo AO) 2013-03-15 16:01:30 +00:00
Claude Paroz
d014cbab73 Updated French translation 2013-03-14 23:02:08 +01:00
Balázs Úr
c3983302d8 Updated Hungarian translation 2013-03-14 22:35:59 +01:00
Mattias Põldaru
66f3971806 [l10n] Updated Estonian translation 2013-03-13 13:00:07 +02:00
Carles Ferrando
000d66a346 [l10n] Updated Catalan (Valencian) translation 2013-03-12 23:34:24 +01:00