Commit Graph

795 Commits

Author SHA1 Message Date
Peter Osterlund
93809f5b91 Avoid NPE in ColorPickerPreference.java. 2019-04-22 04:32:18 +02:00
Peter Osterlund
b1f6cae789 Move SeekBarPreference layout to xml file. 2019-04-22 04:28:44 +02:00
Ebrahim Byagowi
0144b0b02d Remove Holo theme remainees from the app 2019-04-22 00:54:12 +02:00
Hamidreza Bayat
0ea27cbfbd Replace anonymous classes with lambda 2019-04-22 02:27:42 +04:30
Hamidreza Bayat
d9bbc01d19 Use Java 8 2019-04-22 02:27:19 +04:30
Hamidreza Bayat
6a2876f825 Update dependencies(Avoid using alpha & beta versions) 2019-04-21 21:35:54 +02:00
Peter Osterlund
d0fb56e03e Migrate to AndroidX support libraries. 2019-04-20 13:21:19 +02:00
Peter Osterlund
026b3ca9f0 Remove incorrect null check.
The check for move == null in DroidFish.movePlayed() is wrong because this case
happens if the computer move is a draw claim involving a move to be played but
not actually being played.
2019-04-20 13:21:19 +02:00
Peter Osterlund
d292f0604c Fix "engine error" after delivering mate in ponder-on game.
When the human player delivers check mate in a ponder-on game, the GUI sometimes
reported "engine error". This happened when the computer was pondering a move
that ended the game, so that there were no valid moves after the ponder move.
2019-04-20 13:21:07 +02:00
Peter Osterlund
e42ee6607e Fix incorrect indentation. 2019-04-19 21:55:50 +02:00
Peter Osterlund
f8163545eb Workaround for build failure when building from a clean source tree.
The build fails when building from a clean source tree, because the
CuckooChessEngine.jar file does not exist. This commit adds a workaround,
but you have to build twice to get the CuckooChess.jar file to be built.
2019-04-19 19:09:04 +02:00
Peter Osterlund
23b6f94678 CuckooChess: Fix bug in UCI option printout.
Also update UCI_EngineAbout to point to the correct URL.
2019-04-19 19:01:03 +02:00
Peter Osterlund
d6011531d8 Update version code for re-release of 1.74. 2019-04-19 07:53:59 +02:00
Peter Osterlund
0d7b7fd395 Update translations. 2019-04-19 07:48:18 +02:00
Peter Osterlund
a44da0b223 Change version to 1.74. 2019-04-17 19:59:58 +02:00
Peter Osterlund
e9d579a049 Update translations. 2019-04-17 19:40:35 +02:00
Peter Osterlund
062b37e885 Update translations. 2019-04-15 21:57:57 +02:00
Peter Osterlund
2d3414dabc Add button action to toggle TB hints.
Add a configurable button action to toggle display of tablebase hints.
2019-04-14 18:27:07 +02:00
Peter Osterlund
3b7a751e7b Add new piece sets.
Add new piece sets from PyChess and from Wikimedia Commons.
2019-04-14 01:34:47 +02:00
Peter Osterlund
3c361195d8 Switch to androidsvg SVG library.
This library has much better support for the SVG standard.
2019-04-14 01:27:58 +02:00
Peter Osterlund
1fd3492edd Fix stockfish crash.
Merge commit 4e2bb8fa44fe03a2fdb2d3448ac93986354bf9ae from
https://github.com/official-stockfish.
2019-04-10 20:32:19 +02:00
Peter Osterlund
7c660323f0 Use SVG graphics to draw chess pieces.
Use SVG graphics to draw chess pieces instead of a custom font. This should fix
the problem where some android devices ignore the requested font so the chess
pieces are drawn as two overlapping regular letters.

This should also make it easier to add alternative piece sets in the future.
2019-04-07 18:47:17 +02:00
Peter Osterlund
c0eaf35bf6 Add GPL v3 license file.
This does not change the license for any of the source files, it just
includes the already used license in the repository.
2019-03-31 09:20:21 +02:00
Peter Osterlund
a133a77510 Don't flip the board based on "player name" when toggling analysis.
Automatic board flip based on "player name" is only supposed to happen when
loading a new game or similar. If you for some reason want to have the board
flipped compared to the "player name" orientation, it is annoying that the board
flips back every time you toggle analysis mode.
2019-03-31 03:11:14 +02:00
Peter Osterlund
78b4ac2762 Fix some Android Studio warnings. 2019-03-30 15:44:35 +01:00
Peter Osterlund
8a0a495830 Update link to syzygy tablebases. 2019-03-24 21:24:58 +01:00
Peter Osterlund
7568fad3c3 Commit missing change from "Remove unneeded code from buildSrc". 2019-03-24 21:23:23 +01:00
Peter Osterlund
de36444c9f Remove unneeded code from buildSrc. 2019-03-17 23:49:23 +01:00
Peter Osterlund
1a533ca1fb Fix some Android Studio warnings. 2019-03-17 22:35:02 +01:00
Peter Osterlund
eaadffa6b0 Fix some Android Studio warnings. 2019-03-17 12:52:54 +01:00
Peter Osterlund
bd99154def Convert project to Android Studio. 2019-03-17 09:11:36 +01:00
Peter Osterlund
b8220fbcc7 DroidFish: Update version code for re-release of 1.73. 2018-12-13 21:22:11 +01:00
Peter Osterlund
30ef8d73a9 DroidFish: Update translations. 2018-12-13 21:13:52 +01:00
Peter Osterlund
27c7e33831 DroidFish: Change version to 1.73. 2018-12-12 20:41:31 +01:00
Peter Osterlund
e257f53d52 DroidFish: Update translations. 2018-12-05 23:58:29 +01:00
Peter Osterlund
5c5f94184e DroidFish: Don't use 6-men TBs for 32-bit compiles. 2018-12-03 20:53:11 +01:00
Peter Osterlund
ef24ff02de DroidFish: Update to Stockfish 10. 2018-12-03 20:38:40 +01:00
Peter Osterlund
6174f4ca24 Update to target version 28. 2018-11-02 20:36:21 +01:00
Peter Osterlund
d2cb42e8f2 CuckooChessAPK: Update to target version 28. 2018-11-02 18:03:10 +01:00
Peter Osterlund
e549dafdc7 DroidFish: Fix crash when probing "wide" DTZ tables. 2018-10-14 23:42:40 +02:00
Peter Osterlund
4da6355ed9 DroidFishTest: Update target SDK version to 24. 2018-10-14 11:31:30 +02:00
Peter Osterlund
79d0009e76 DroidfFish: Add option to load game by sweeping on the chess board.
Add a preference setting to make horizontal sweep on the chess board
load the next/previous game instead of moving forward/back in the
current game.
2018-10-14 10:09:40 +02:00
Peter Osterlund
9a6b374856 DroidFish: Show toast when quick loading FEN from file.
When loading a position from a file using the quick next/previous key
actions, display a toast containing the whole line from the EPD/FEN
file.
2018-10-14 10:07:16 +02:00
Peter Osterlund
2038855893 DroidFish: Cancel old toast before showing new. 2018-10-14 09:05:25 +02:00
Peter Osterlund
ac72cf115e DroidFish: Support 7-men syzygy tablebases.
Update syzygy probing code from texel to support probing of 7-men
tablebases.
2018-10-07 00:25:16 +02:00
Peter Osterlund
a8b4de0c50 CuckooChessAPK: Change target version. 2018-04-22 18:54:27 +02:00
Peter Osterlund
7a35f0d759 DroidFish: Add Chinese simplified translation. 2018-04-22 16:24:01 +02:00
Peter Osterlund
4aa1d95d46 DroidFish: Update translations. 2018-04-21 08:47:10 +02:00
Peter Osterlund
272289c3bf DroidFish: Don't crash if pgn data cannot be read.
Avoid crash if reading pgn or fen data fails because of a security
restriction.
2018-03-10 08:16:46 +01:00
Peter Osterlund
833a5afeef DroidFish: Fix crash when starting network engine.
Fix crash when trying to start an incorrectly configured network engine
with an invalid port number.
2018-03-10 08:07:15 +01:00