Commit Graph

720 Commits

Author SHA1 Message Date
Peter Osterlund
595cb247ae DroidFish: Remember previous scroll location in preferences. 2016-12-23 21:17:07 +01:00
Peter Osterlund
be610c97f4 DroidFish: Small improvement in engine input handling. 2016-12-23 17:40:37 +01:00
Peter Osterlund
441afc3398 DroidFish: Updated translations. 2016-12-23 10:36:47 +01:00
Peter Osterlund
5ee35e62d5 DroidFish: Truncate long PV lines by default. 2016-12-23 10:32:40 +01:00
Peter Osterlund
00233340ec DroidFish: Changed version to 1.64. 2016-12-23 00:01:23 +01:00
Peter Osterlund
82c06be06b DroidFish: Limit the maximum size of the engine to GUI receive buffer.
This prevents out of memory crashes when using a network engine
connected to a 24 core machine running in MultiPV=100 mode.
2016-12-22 23:41:12 +01:00
Peter Osterlund
e810988f81 DroidFish: Updated translations. 2016-12-22 23:09:14 +01:00
Peter Osterlund
ec63491303 DroidFish: When sharing an image, share only the chessboard. 2016-12-21 20:34:54 +01:00
Peter Osterlund
af9b505e87 DroidFish: Better handling of large amounts of data from the engine. 2016-12-19 23:02:13 +01:00
Peter Osterlund
97160698a9 DroidFish: Fixed intent handling in low memory situations.
Lifecycle handling was wrong, causing the received activity intent to be
reprocessed if the activity was recreated after a previous low memory
situation.

This problem could be triggered by enabling "Don't keep activities" in
developer options and sending a pgn file intent to DroidFish.
2016-12-19 21:40:30 +01:00
Peter Osterlund
ea1788bcdb DroidFish: Updated translations. 2016-12-19 00:33:21 +01:00
Peter Osterlund
4f3903092c DroidFish: Made it easier to change number of variations (MultiPV). 2016-12-19 00:30:21 +01:00
Peter Osterlund
17f5c3edaa DroidFish: Updated translations. 2016-12-18 19:44:51 +01:00
Peter Osterlund
e485cb0a16 DroidFish: Updated translations. 2016-12-17 11:32:45 +01:00
Peter Osterlund
ae5f947b13 DroidFish: In edit board mode, use the same orientation as in game play. 2016-12-17 11:23:51 +01:00
Peter Osterlund
e030f68f7e DroidFish: Added function to add opening name to game headers. 2016-12-17 10:15:58 +01:00
Peter Osterlund
7dd20129ee DroidFish: Changed representation of the ECO database.
This makes it around 10% smaller.
2016-12-16 23:09:30 +01:00
Peter Osterlund
4408669833 DroidFishTest: Added tests for PGNFile class. 2016-12-16 22:19:38 +01:00
Peter Osterlund
15e1ae00b5 DroidFish: Improved PGN parsing in PGNFile.java.
The code now correctly handles the case when a '[' character is at the
start of a line inside a comment.
2016-12-15 22:54:34 +01:00
Peter Osterlund
840898460e DroidFish: Updated translations. 2016-12-12 22:49:59 +01:00
Peter Osterlund
8fb58d9633 DroidFish: Added new share options.
It is now possible to share a game as pgn, share a game as text, and
share an image as png.
2016-12-12 22:44:17 +01:00
Peter Osterlund
558a4abcea DroidFish: Made sharing games from ChessBase app work. 2016-12-12 19:43:56 +01:00
Peter Osterlund
3fa87c01eb DroidFish: Made UCI_LimitStrength and UCI_Elo options visible. 2016-12-04 11:02:28 +01:00
Peter Osterlund
d5082db983 DroidFish: Updated translations. 2016-12-03 10:45:01 +01:00
Peter Osterlund
1e061d288b DroidFish: Made it possible to disable automatic move list scrolling. 2016-12-03 10:39:41 +01:00
Peter Osterlund
64e19c005b DroidFish: Removed obsolete FIXME items. 2016-11-26 13:53:12 +01:00
Peter Osterlund
eeadd98fc4 DroidFish: Made it possible to use the ECO database as an opening book. 2016-11-20 14:14:41 +01:00
Peter Osterlund
f7dc507f21 DroidFish: Removed unused method in tourguide library. 2016-11-20 12:01:38 +01:00
Peter Osterlund
5df60c856e DroidFish: Made the application context globally available. 2016-11-20 12:01:04 +01:00
Peter Osterlund
3292bec55c DroidFish: Better handling of transpositions in ECO classification. 2016-11-15 20:54:25 +01:00
Peter Osterlund
4a9bcb8a21 DroidFish: Added setting to control when ECO codes are displayed. 2016-11-13 03:34:02 +01:00
Peter Osterlund
6996bead09 DroidFish, CuckooChessEngine: Don't fork when building book files.
This makes the build work even if "java" is not in the path.
2016-11-12 16:41:41 +01:00
Peter Osterlund
1b35f9590e DroidFish: Fixed wrong ECO classification after "e4 c5 h3 Nc6 g3". 2016-11-08 20:49:45 +01:00
Peter Osterlund
e03550027d DroidFishTest: Fixed an opening book test. 2016-11-08 19:44:24 +01:00
Peter Osterlund
e0f8aef6d6 DroidFish, CuckooChessEngine: Use java ant task.
Use java ant task to create book.bin and eco.dat so that /usr/bin/java
does not have to be hardcoded.
2016-11-07 22:56:27 +01:00
Peter Osterlund
4dc3b84115 DroidFish: Updated translations. 2016-11-07 21:55:22 +01:00
Peter Osterlund
c22210fb56 DroidFish: Fixed incorrect ECO classification. 2016-11-07 21:06:08 +01:00
Peter Osterlund
9a27cda809 DroidFish: Added missing GPL headers. 2016-11-06 21:52:15 +01:00
Peter Osterlund
ab601027b1 Merge branch 'eco-code'.
Re-implemented functionality to be more CPU efficient.
2016-11-06 21:49:25 +01:00
Peter Osterlund
9e5073b4bd DroidFish: Changed maximum number of arrows to 8. 2016-11-05 13:50:49 +01:00
Peter Osterlund
596e839eec DroidFish: Added configurable button action to toggle arrow visibility. 2016-11-05 12:49:09 +01:00
Peter Osterlund
5fd10a8e54 DroidFish: Changed version to 1.63. 2016-11-01 20:09:42 +01:00
Peter Osterlund
4b95f81eeb DroidFish: Updated translations. 2016-11-01 20:08:20 +01:00
Peter Osterlund
3d227b6bee DroidFish: Updated stockfish engine to version 8. 2016-11-01 19:40:58 +01:00
Aprijal Pasaribu
f666cc9f04 Add ECO opening codes 2016-10-18 03:14:46 +07:00
Peter Osterlund
503390c19f Merge branch 'aprijal-psrb-master'
Add hashfull information.
2016-10-17 20:39:34 +02:00
Aprijal Pasaribu
cf56850d7e add hashfull information 2016-10-17 22:36:14 +07:00
Peter Osterlund
c144bb9800 DroidFish: Updated stockfish engine to git version from 2016-09-17. 2016-09-18 00:05:29 +02:00
Peter Osterlund
ad63e43412 DroidFish: Changed version to 1.62. 2016-08-29 20:54:20 +02:00
Peter Osterlund
b9ad648cbb DroidFish: Updated stockfish engine to git version from 2016-08-28. 2016-08-29 19:39:55 +02:00
Peter Osterlund
e37b5db229 DroidFish: Updated project settings for eclipse 4.6 and Andmore. 2016-08-29 18:57:23 +02:00
Peter Osterlund
6f41ca0382 DroidFish: Fixed engine communication problem for Android N.
Process.getOutputStream() returns a buffered stream, so explicit flush()
calls are needed.
2016-08-29 18:55:40 +02:00
Peter Osterlund
03c6fbbce1 DroidFish: Updated project settings for eclipse 4.6 and Andmore. 2016-08-28 01:55:03 +02:00
Peter Osterlund
c1b0422f8b DroidFish: Changed NDK toolchain version to 4.9, for NDK r12b. 2016-08-15 21:03:15 +02:00
Peter Osterlund
1aa1143aeb DroidFish: Updated stockfish engine to git version from 2016-07-16. 2016-07-16 17:22:54 +02:00
Peter Osterlund
e2538623d3 DroidFish: Changed stockfish engine name to 2016-05-28 to match date of
last commit.
2016-05-30 21:01:27 +02:00
Peter Osterlund
9395f8c658 DroidFish: Updated stockfish engine to git version from 2016-05-21. 2016-05-30 20:56:34 +02:00
Peter Osterlund
db860811ca DroidFish: Fixed custom tool builder logs going to the wrong directory. 2016-05-30 20:19:03 +02:00
Peter Osterlund
162a7ff598 DroidFish: Removed an already implemented FIXME item. 2016-05-20 20:48:34 +02:00
Peter Osterlund
bba3d2b23c DroidFish: Enabled file logging for the custom tool builders.
Idea from Peter Most.
2016-05-20 20:39:43 +02:00
P. Most
01cc87fc58 Disabled missing enum case despite default 2016-05-14 22:53:18 +02:00
P. Most
db41da5ad7 Removed unnecessary semicolons 2016-05-14 22:33:25 +02:00
Peter Osterlund
69e0cfff72 DroidFish: Fixed possible NPE in TourGuide.cleanUp(). 2016-03-04 20:21:13 +01:00
Peter Osterlund
1e91a70537 DroidFish: Fixed problem in stockfish engine that could cause TBs not to
be used if some 6-men TBs are available, the root position contains 6
men, but the root position is not in the TBs.
2016-03-04 20:20:27 +01:00
Peter Osterlund
d673eea800 DroidFish: Handle 50-move draw rule when "probe at root" is enabled in
settings.
2016-02-14 20:33:51 +01:00
Peter Osterlund
022d864624 DroidFish: Fixed wrong drawer menu background color in the edit board
activity.
2016-01-16 23:56:13 +01:00
Peter Osterlund
848b3773ff DroidFish: Changed version to 1.61. 2016-01-13 21:23:01 +01:00
Peter Osterlund
86dc5f8053 DroidFish: Updated translations. 2016-01-13 21:07:02 +01:00
Peter Osterlund
f4622e620a DroidFish: Don't change background color for the overlay view. Removed
unnecessary preference change listener.
2016-01-13 20:50:44 +01:00
Peter Osterlund
43228ba081 DroidFish: Updated translations. 2016-01-13 19:42:08 +01:00
Peter Osterlund
350da047b6 DroidFish: Fixed a crash in the tour guide in android 3.0. 2016-01-13 19:29:23 +01:00
Peter Osterlund
630bdacd6c DroidFish: Handle screen resize (for example show/hide navigation bar)
when drawing the tour guide overlay.
2016-01-13 19:14:11 +01:00
Peter Osterlund
5c3180c8bb DroidFish: Translation updates. 2016-01-12 18:43:53 +01:00
Peter Osterlund
14f214f122 DroidFish: Updated translations. 2016-01-10 23:08:16 +01:00
Peter Osterlund
7a7b71aeea DroidFish: Updated translations. 2016-01-10 14:25:33 +01:00
Peter Osterlund
cbba46a6d5 DroidFish: Use the TourGuide library to display usage hints the first
time the program is started.
2016-01-10 14:08:54 +01:00
Peter Osterlund
88074f5327 DroidFish: Let the human player claim a draw that involves specifying
but not playing a move that would lead to a 50move/3rep draw.
2016-01-06 22:04:11 +01:00
Peter Osterlund
ad9c97a3ef DroidFish: Request external storage permission in android 6. 2016-01-06 18:51:03 +01:00
Peter Osterlund
46fa159cc1 DroidFish: Changed version to 1.60. 2016-01-02 23:57:17 +01:00
Peter Osterlund
db80ca4d10 DroidFish: Translation updates. 2016-01-02 23:53:39 +01:00
Peter Osterlund
48fd843ceb DroidFish: Added Gary Linscott to list of stockfish developers. 2016-01-02 23:30:57 +01:00
Peter Osterlund
816d29b9ca DroidFish: Updated stockfish to version 7. 2016-01-02 23:16:48 +01:00
Peter Osterlund
a675d8de0a DroidFish: If a game ends with one player resigning after making his
move, allow adding a variation to the game tree with the same move but
without resigning.
2016-01-01 23:48:15 +01:00
Peter Osterlund
613e068aee DroidFish: Use different background color for move list and thinking
output.
2016-01-01 18:21:42 +01:00
Peter Osterlund
8420e628e1 DroidFish: Improved handling of movelist scrolling when navigation bar
is enabled/disabled and when the analysis view gets smaller/larger.
2015-12-31 21:30:54 +01:00
Peter Osterlund
afcb7d2509 DroidFish: Update stockfish to version 7Beta2. 2015-12-31 01:59:48 +01:00
Peter Osterlund
679e3833b1 DroidFish: When clicking move links, also consider the character
immediately to the right of the link as a hit area.
2015-12-31 01:34:57 +01:00
Peter Osterlund
b1a3eee254 DroidFish: Speeded up move list drawing by reducing the number of span
objects.
2015-12-31 00:47:26 +01:00
Peter Osterlund
39607ff9a4 DroidFish: Use a specialized View class to speed up drawing of the move
list.
2015-12-30 23:41:06 +01:00
Peter Osterlund
58e10bbc79 DroidFish: Use EditText instead of TextView to display the move list.
About twice as fast for games with lots of comments on an HTC One M9.
2015-12-29 21:03:06 +01:00
Peter Osterlund
929f77ced2 DroidFish: Added "secret" way to allocate an unsafely large hash table. 2015-12-29 10:24:54 +01:00
Peter Osterlund
23511ee76d DroidFish: Don't reset MultiPV setting when restarting the app. 2015-12-29 02:27:23 +01:00
Peter Osterlund
ddab55e064 DroidFish: Moved buttons slightly away from the screen edges to avoid
interference between opening a drawer and long pressing a button.
2015-12-28 15:02:20 +01:00
Peter Osterlund
7026555cbe DroidFish: Made it possible to edit UCI options while the engine is
thinking. The changes take effect the next time the engine stops
thinking.
2015-12-28 14:39:51 +01:00
Peter Osterlund
2ca80fc19d DroidFish: Updated translations. 2015-12-28 00:20:09 +01:00
Peter Osterlund
ba06c2875b DroidFish: Update stockfish to version 7Beta1. 2015-12-27 23:25:14 +01:00
Peter Osterlund
27b7de9617 DroidFish: Use 4 threads when building native code. 2015-12-27 23:21:58 +01:00
Peter Osterlund
b6747254c7 DroidFish: Explicitly set the drawer menu foreground text color. The
default color is hard to read on some devices.
2015-12-27 21:27:32 +01:00
Peter Osterlund
286b5b7b82 DroidFish: Changed version to 1.59. 2015-12-27 01:25:23 +01:00
Peter Osterlund
7ea6f996b2 DroidFish: Fixed stockfish startup problem for android 4.0 and earlier. 2015-12-27 01:20:07 +01:00
Peter Osterlund
62eefff8c1 DroidFish: Removed unused import. 2015-12-26 23:58:06 +01:00
Peter Osterlund
37875c0311 DroidFish: More efficient way to detect if scid on the go is installed. 2015-12-26 22:28:20 +01:00
Peter Osterlund
bb0f757403 DroidFish: Included higher resolution versions of the app icon. 2015-12-26 12:54:46 +01:00
Peter Osterlund
428879bfcf DroidFish: Changed version to 1.58. 2015-12-26 01:43:19 +01:00
Peter Osterlund
ba39b30be7 DroidFish: Use DialogFragment instead of showDialog() in CPUWarning,
LoadFEN and LoadScid activities.
2015-12-25 10:34:58 +01:00
Peter Osterlund
efc6402829 DroidFish: When clicking on the right half of the title bar, open the
right drawer.
2015-12-24 13:18:26 +01:00
Peter Osterlund
a3042bcb75 DroidFish: Fixed incorrect capitalization of DroidFish. 2015-12-24 12:41:56 +01:00
Peter Osterlund
0cefaaa5f0 DroidFish: Use a drawer layout instead of the options menu in the edit
board activity.
2015-12-24 12:26:48 +01:00
Peter Osterlund
5df627a69d DroidFish: Use a drawer layout instead of the options menu. 2015-12-24 11:39:37 +01:00
Peter Osterlund
db450cf1b1 DroidFish: Use a drawer layout instead of the options menu. 2015-12-24 10:48:52 +01:00
Peter Osterlund
833051cb0e DroidFish: Use proguard to shrink apk size, but don't obfuscate to make
debugging easier.
2015-12-24 01:22:06 +01:00
Peter Osterlund
42210decf5 DroidFish: Made the notification icon work in android 5.0 and later. 2015-12-24 00:29:32 +01:00
Peter Osterlund
6ac0f5f5e3 DroidFish: New application icon based on an inkscape drawing. 2015-12-23 23:36:38 +01:00
Peter Osterlund
1d373a9be6 DroidFish: Hide the action bar in xml instead of in code for smoother
startup.
2015-12-21 22:54:25 +01:00
Peter Osterlund
c3f34dc9de CuckooChessEngine: Moved unit test code to a separate project, so that
it is not included in DroidFish.
2015-12-21 22:03:47 +01:00
Peter Osterlund
d436b8567e DroidFish: Removed the obsolete "go to move" item in the options menu. 2015-12-21 20:51:51 +01:00
Peter Osterlund
1949a4378e DroidFish: Use the holo theme. 2015-12-21 00:34:56 +01:00
Peter Osterlund
d1e2f8488f DroidFish: Suppressed warnings that can't be fixed while supporting old
API levels.
2015-12-20 23:00:04 +01:00
Peter Osterlund
81a3c17bcf DroidFish: Changed minSdkVersion to 11. 2015-12-20 22:12:13 +01:00
Peter Osterlund
aa4420aa47 DroidFish: Fixed more instances of not using monospace font on HTC M9. 2015-12-20 19:16:17 +01:00
Peter Osterlund
2b8fb24a79 DroidFish: Made monospace font work on HTC M9. This required changing
the minimum API level to 16 (4.1).
2015-12-20 16:03:24 +01:00
Peter Osterlund
7dd9052fc4 DroidFish: Removed unused imports. 2015-12-20 15:46:48 +01:00
Peter Osterlund
280bdfc5a1 DroidFish: Fixed crash when rotating screen while editing UCI options. 2015-12-20 13:58:46 +01:00
Peter Osterlund
7873d05541 DroidFish: Include engine name in UCI Options activity title. 2015-12-20 13:23:30 +01:00
Peter Osterlund
684ecce385 DroidFish: Disable hardware acceleration in the color picker. A
ComposeShader using two LinearGradient shaders is not supported when
using hardware acceleration.
2015-12-20 12:54:46 +01:00
Peter Osterlund
e467c154a9 DroidFish: Fixed lint warning. 2015-12-20 11:53:15 +01:00
Peter Osterlund
a837f762a8 DroidFish: Fixed lint warning. 2015-12-20 11:47:53 +01:00
Peter Osterlund
3301de9fbd DroidFish: Removed no longer needed lint suppression. 2015-12-20 11:43:43 +01:00
Peter Osterlund
9aa5acc03a DroidFish: Fixed lint warning. 2015-12-20 11:42:55 +01:00
Peter Osterlund
69fdab79d4 DroidFish: Don't use FloatMath. 2015-12-20 11:14:44 +01:00
Peter Osterlund
a3f5e17f81 DroidFish: Updated translations. 2015-12-20 10:32:06 +01:00
Peter Osterlund
6d3ff0c3ad DroidFish: Handle screenSize change in load/save activities without
restarting the activity.
2015-12-20 10:09:18 +01:00
Peter Osterlund
0ca1bfa26c DroidFish: Fixed problem causing progress dialog to stay visible after
rotating screen.
2015-12-20 08:59:42 +01:00
Peter Osterlund
7c4b41ebc5 DroidFish: Reverted 632df583bb. Fragment
classes need to be public, otherwise the app crashes when the screen is
rotated.
2015-12-20 01:41:58 +01:00
Peter Osterlund
34fffe5ee1 DroidFish: Reordered buttons according to android guidelines. 2015-12-20 01:13:53 +01:00
Peter Osterlund
632df583bb DroidFish: Hide implementation details in Preferences class. 2015-12-20 00:05:12 +01:00
Peter Osterlund
332cbe3c3b DroidFish: Use PreferenceFragment to display preferences. 2015-12-19 23:48:19 +01:00
Peter Osterlund
482202c44e DroidFish: Removed use of deprecated notification API. 2015-12-19 22:59:09 +01:00
Peter Osterlund
394a6c0e85 DroidFish: Require at least API level 15 (4.0.3). Removed use of some
deprecated APIs.
2015-12-19 22:36:32 +01:00
Peter Osterlund
8630c450df DroidFish: Require at least API level 15 (4.0.3). Removed use of some
deprecated APIs.
2015-12-19 22:34:54 +01:00
Peter Osterlund
e0c07f52ab DroidFish: Improved comment. 2015-12-19 08:13:00 +01:00
Peter Osterlund
b1dbe5293c DroidFish: Removed unnecessary parameter. 2015-10-24 00:59:18 +02:00
Peter Osterlund
a95dacafdf DroidFish: Run the engine process with lower priority. 2015-10-24 00:11:21 +02:00
Peter Osterlund
0d72a21f27 DroidFish: Updated stockfish to version 231015. 2015-10-23 22:58:14 +02:00
Peter Osterlund
e768c9408a DroidFish: More efficient update of "thinking info" when the engine
provides data faster than the GUI can handle.
2015-10-10 17:43:16 +02:00
Peter Osterlund
9d5fad30a4 DroidFish: Improved handling of invalid en passant square in FEN
parsing.
2015-10-03 18:30:58 +02:00
Peter Osterlund
651e649902 DroidFish: Fixed syzygy probing bug. See
https://github.com/official-stockfish/Stockfish/issues/394.
2015-09-03 20:19:11 +02:00
Peter Osterlund
55747bd63a DroidFish: Handle non-breaking space in pgn import. 2015-06-02 00:18:27 +02:00
Peter Osterlund
1435cb0ce2 DroidFish: Added a configurable button action to set engine options. 2015-05-24 00:31:52 +02:00
Peter Osterlund
f284180da8 DroidFish: Define IS_64BIT when compiling stockfish for 64 bit
architectures. About 2% faster on HTC One M9.
2015-05-23 13:35:12 +02:00