Commit Graph

695 Commits

Author SHA1 Message Date
Peter Osterlund
a612d06a0b DroidFish: Removed incorrect comment. 2017-01-06 07:01:29 +01:00
Peter Osterlund
1b1977973a DroidFish: Changed version to 1.66. 2017-01-03 20:18:10 +01:00
Peter Osterlund
7459b86775 DroidFish: Updated translations. 2017-01-03 19:14:05 +01:00
Peter Osterlund
827febd8e1 DroidFish: Improved Spanish text to speech. 2017-01-01 20:44:39 +01:00
Peter Osterlund
7cc84a2b6e DroidFish: Updated translations. 2017-01-01 20:12:20 +01:00
Peter Osterlund
6acaacc82e DroidFish: Updated translations. 2017-01-01 14:49:34 +01:00
Peter Osterlund
bd586b9ea9 DroidFish: Spanish text to speech support. 2017-01-01 14:36:15 +01:00
Peter Osterlund
140b4957fe DroidFish: Workaround for bug in Samsung text to speech implementation. 2017-01-01 13:03:11 +01:00
Peter Osterlund
e1ea35409e DroidFish: Changed version to 1.65. 2016-12-30 19:35:29 +01:00
Peter Osterlund
b1507439d7 DroidFish: Updated translations. 2016-12-29 18:41:13 +01:00
Peter Osterlund
f211786b74 DroidFish: Fixed out of memory error when receiving large PGN files.
If receiving a large PGN file as a content stream from another app,
store the data in a temporary file instead of reading it all into
memory.

This also makes content containing more than one game work correctly by
letting the user select which game to open.
2016-12-27 14:12:45 +01:00
Peter Osterlund
5c6b1408f4 DroidFish: Only play the announcement sound if the TTS engine is idle. 2016-12-27 08:26:30 +01:00
Peter Osterlund
fbb6bace27 DroidFish: Updated translations. 2016-12-27 01:13:07 +01:00
Peter Osterlund
c34b04903a DroidFish: Improved text to speech output.
* If the previous speech is not finished when a new move is made, queue
the new speech instead of interrupting the old speech.

* Play the regular move sound before speaking the move, to get the human
attention before the speech starts.

* Added a menu item to the board menu to repeat the last move.
2016-12-27 01:08:45 +01:00
Peter Osterlund
7fab4ff646 DroidFish: Updated translations. 2016-12-27 00:02:19 +01:00
Peter Osterlund
72f940de01 DroidFish: Made it possible to set result when editing headers. 2016-12-26 23:54:40 +01:00
Peter Osterlund
7b98ca3c7b DroidFish: Fixed incorrect formatting. 2016-12-26 00:50:07 +01:00
Peter Osterlund
4d47022168 DroidFish: Updated translations. 2016-12-26 00:48:11 +01:00
Peter Osterlund
ecb078c205 DroidFish: German text to speech support. 2016-12-26 00:41:06 +01:00
Peter Osterlund
c43e5656d7 DroidFish: Added missing copyright headers. 2016-12-25 23:06:14 +01:00
Peter Osterlund
b73f1d477b DroidFish: A mating move could be added more than once to the game tree. 2016-12-25 21:38:25 +01:00
Peter Osterlund
1808bbb10c Removed useless comments. 2016-12-25 13:20:14 +01:00
Peter Osterlund
82d2daa29d DroidFish: Updated translations. 2016-12-25 12:27:29 +01:00
Peter Osterlund
0c33791ddd DroidFish: English text to speech support for announcing moves. 2016-12-25 11:48:04 +01:00
Peter Osterlund
38295b516f DroidFish: Fixed confusing code. 2016-12-24 06:40:27 +01:00
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