Peter Osterlund
eed9d1a76a
Remove unused imports
2019-07-19 19:28:57 +02:00
Peter Osterlund
408cb78272
Make class fields in EditPGN private
2019-07-19 19:26:43 +02:00
Peter Osterlund
bdd577bb93
Translation update
2019-07-19 08:36:26 +02:00
Peter Osterlund
2145f67e91
Whitespace fix
2019-07-17 08:38:12 +02:00
Peter Osterlund
7da4b21d9b
Add missing copyright headers
2019-06-15 20:30:47 +02:00
Peter Osterlund
93b3434af9
Disable language setting code for API >= 28
...
The existing code does not work for API >= 28 and it is unknown how to
make it work.
2019-06-15 11:27:04 +02:00
Peter Osterlund
0ca5a1092d
Don't try to use a non-existing directory for external processes
2019-06-11 17:30:04 +02:00
Peter Osterlund
be1b667f35
Set working directory for external engines
...
When running an external engine set the working directory of the
engine process to .../DroidFish/uci/logs. This makes it possible for
the engine to create log files or other auxiliary files in that
directory.
This is useful for the OpenCL version of LC0, which needs to create a
tuning file somewhere. With this change it can be placed in the
current working directory.
2019-06-10 20:06:15 +02:00
Peter Osterlund
71221314e6
Use vector graphics for "silhouette" icon
...
This icon is used for notifications.
2019-06-09 13:10:05 +02:00
Peter Osterlund
f3c1a6289d
Fix formatting of CPU warning dialog text
2019-06-09 12:28:50 +02:00
Peter Osterlund
010e01589d
Make CPU usage notification work for Android 26
2019-06-09 11:12:08 +02:00
Peter Osterlund
b60105780b
Update app icon
...
New icons for android 26 and later. Also add round icons.
2019-06-09 08:57:46 +02:00
Peter Osterlund
3363b1d9c0
Use try-with-resources
2019-05-25 09:05:57 +02:00
Peter Osterlund
16e7c34337
Move "new game" action to the left drawer menu
...
Only use the right drawer menu for less common actions.
2019-05-25 06:56:38 +02:00
Peter Osterlund
5573b2be2f
Don't truncate game history when sending moves to the chess engine
...
The LC0 engine evaluation function depends on the move history.
Null moves are still truncated though, since a UCI engine is not
expected to be able to handle null moves.
2019-05-25 06:54:31 +02:00
Peter Osterlund
fe0de534a0
Update information about network engine server software
2019-05-19 00:38:14 +02:00
Peter Osterlund
5d599c2782
Code reformatting
2019-04-24 23:43:46 +02:00
Peter Osterlund
068b97ac85
Reformat XML files
2019-04-24 23:43:46 +02:00
Peter Osterlund
39d4c91bbd
Adjust titlebar padding
2019-04-23 21:54:39 +02:00
Peter Osterlund
2b5e88d8c0
Simplify TourGuide.java using getToolTip()
2019-04-23 21:39:21 +02:00
Ebrahim Byagowi
31d8ebab0e
Use binding in LoadFEN and EditPGN
2019-04-23 20:09:12 +02:00
Ebrahim Byagowi
0324409feb
Use binding in SeekBarPreference
2019-04-23 20:09:12 +02:00
Ebrahim Byagowi
7e4a0314c9
Use binding in EditOptions root also
2019-04-23 20:09:12 +02:00
Ebrahim Byagowi
a912458ffb
Use binding in EditOptions and TourGuide of DroidFishApp
2019-04-23 20:09:12 +02:00
Ebrahim Byagowi
80e8183757
Use more idiomatic and implicit pointer dereference
2019-04-22 20:04:37 +02:00
Peter Osterlund
53c1618010
Adjust titlebar layout.
2019-04-22 10:14:30 +02:00
Ebrahim Byagowi
d92aa005b1
Remove Holo's titlebar uses
2019-04-22 09:09:24 +02:00
Ebrahim Byagowi
a03e64af6d
Replace CheckBoxPreference uses with SwitchPreference
2019-04-22 10:50:02 +04:30
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
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
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