Commit Graph

719 Commits

Author SHA1 Message Date
Peter Osterlund
91ef1ec8bf DroidFish: Added support for multi windows in android 7. 2017-05-27 13:30:21 +02:00
Peter Osterlund
ce800d9beb DroidFish: Make sure a too large string is not passed to the edit board
activity.
2017-05-27 00:09:14 +02:00
Peter Osterlund
94c9d914ac DroidFish: Fixed bug in 055322 causing small values not to be displayed. 2017-05-26 23:19:36 +02:00
Peter Osterlund
76d79ef7a8 DroidFish: Fixed race condition when canceling a progress dialog. 2017-05-26 15:50:06 +02:00
Peter Osterlund
1141efca4f DroidFish: Fixed compiler warnings. 2017-05-26 13:41:39 +02:00
Peter Osterlund
6e4733bf41 DroidFish: Improved text to speech output. 2017-05-26 10:55:41 +02:00
Peter Osterlund
e065656b6c DroidFish: Removed move cache from MoveGen.
This cache was not thread safe and was not used much anyway. (Leftover
from CuckooChess move generator.)
2017-05-26 00:41:04 +02:00
Peter Osterlund
1ce7d2298e DroidFish: Fixed possible NPE when reading scid database. 2017-05-25 20:36:09 +02:00
Peter Osterlund
987e0d7d3e DroidFish: Fixed stack overflow in request permission handling. 2017-05-25 19:56:24 +02:00
Peter Osterlund
b5cc492c38 DroidFish: Fixed crash when receiving an incorrect PGN intent. 2017-05-25 19:38:49 +02:00
Peter Osterlund
0553222853 DroidFish: Use 'G' prefix for values larger than 1e11. 2017-05-25 11:09:19 +02:00
Peter Osterlund
9480603ddb DroidFish: Don't do network communication on main thread. 2017-04-22 09:22:39 +02:00
Peter Osterlund
b8aaa215d3 DroidFish: Use 'M' prefix for NPS values larger than 1e8. 2017-04-22 07:32:13 +02:00
Peter Osterlund
92cd27724a Removed redundant public access modifier for interface methods. 2017-02-13 08:54:02 +01:00
Peter Osterlund
698e5c203d DroidFish: Fixed build of eco.dat on platforms where UTF-8 is not
standard.
2017-02-04 08:14:05 +01:00
Peter Osterlund
1a4b857fe9 DroidFish: Changed version to 1.67. 2017-01-31 22:36:28 +01:00
Peter Osterlund
5f9627ef8a DroidFish: German translation updates. 2017-01-31 22:33:22 +01:00
Peter Osterlund
b79179a1dc DroidFish: Fixed NPE in speech synthesis code. 2017-01-31 22:26:16 +01:00
Peter Osterlund
91c6a39bb7 DroidFish: Fixed potential null pointer dereferences. 2017-01-19 22:58:15 +01:00
Peter Osterlund
1011506cea DroidFish: Improved opening names. 2017-01-09 22:07:04 +01:00
Peter Osterlund
212295a9d2 DroidFish: Check in missing change from source code rearrangement. 2017-01-08 18:12:38 +01:00
Peter Osterlund
e09894e186 DroidFish: Fixed warning in main.xml. 2017-01-08 09:52:55 +01:00
Peter Osterlund
58a5e19ba4 DroidFish: Source code rearrangement. 2017-01-08 09:46:25 +01:00
Peter Osterlund
74fdfaf9b1 DroidFish: Toggling large buttons could affect display of game headers. 2017-01-07 16:31:38 +01:00
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