134 Commits

Author SHA1 Message Date
Peter Osterlund
600b306195 DroidFish: Fixed broken handling of UCI "searchmoves" in the cuckoochess engine. 2012-01-17 23:35:51 +00:00
Peter Osterlund
e4b468d88d DroidFish: Rewrote the cuckoochess communication so that internet permission is no longer needed. 2012-01-15 11:39:23 +00:00
Peter Osterlund
97ff270ee5 DroidFish: Use a prebuilt stockfish engine for Android 1.5, because the version built by the NDK fails to start. 2012-01-15 01:43:08 +00:00
Peter Osterlund
ff40f9adc2 DroidFish: Restored space between engine name and engine strength in the title bar. 2012-01-15 00:52:11 +00:00
Peter Osterlund
43224e4ee7 DroidFish: Start the new engine immediately after it has been selected, even if it is not needed right away. This is less confusing in situations where there is some problem with the engine. 2012-01-08 17:28:10 +00:00
Peter Osterlund
ec8993ba8f DroidFish: Terminate the stderr-reading thread if the external engine crashes. 2012-01-08 17:25:28 +00:00
Peter Osterlund
006e66397e DroidFish: Display an error message when loading an engine that doesn't support the UCI protocol. 2012-01-08 02:39:31 +00:00
Peter Osterlund
40bb41bbca DroidFish: Fixed bug when exporting time information to PGN data. 2012-01-08 01:18:07 +00:00
Peter Osterlund
298d0478de DroidFish: Created method EngineState.setState() to simplify state machine debugging. 2012-01-08 00:32:18 +00:00
Peter Osterlund
b97830c29a DroidFish: Display an error message if an engine is terminated prematurely. 2012-01-07 23:29:51 +00:00
Peter Osterlund
6b04258f95 DroidFish: Don't send UCI options that an engine doesn't understand. 2012-01-07 10:33:20 +00:00
Peter Osterlund
ac10ab3017 DroidFish: Fixed bug in engine title display. 2012-01-07 08:46:15 +00:00
Peter Osterlund
42a71b0ec5 DroidFish: Clarified that not all engine options work for all engines. Display the current engine in the program title bar. 2012-01-07 08:19:14 +00:00
Peter Osterlund
441b6bc59a DroidFish: Disabled the internal stockfish engine on Android 1.5, because it doesn't work there. 2012-01-07 02:54:50 +00:00
Peter Osterlund
bd14dedd1d DroidFish: Show engine error even if no detailed error string exists. 2012-01-07 01:40:48 +00:00
Peter Osterlund
f108540e8f DroidFish: Avoid run-time warning. 2012-01-06 22:53:01 +00:00
Peter Osterlund
e2a3215e20 DroidFish: Made sure the stockfish executable gets installed if it has been modified. 2012-01-06 21:03:50 +00:00
Peter Osterlund
f3c99a56f4 DroidFish: Fix for Android 1.5. 2012-01-06 19:31:34 +00:00
Peter Osterlund
9e83fd4206 DroidFish: Added copyright headers. 2012-01-04 21:15:06 +00:00
Peter Osterlund
1d0dde26d0 DroidFish: Moved error message to strings.xml. 2012-01-04 21:10:26 +00:00
Peter Osterlund
da605aa225 DroidFish: Run the internal stockfish engine as a separate process instead of using jni + fork, which is not stable. 2012-01-04 21:02:26 +00:00
Peter Osterlund
915b0d6897 DroidFish: Display an error message if an external engine fails to start. 2012-01-04 19:07:26 +00:00
Peter Osterlund
869f45334e DroidFish: Automatically create default directory structure on the SD card when starting the program. 2012-01-04 17:44:34 +00:00
Peter Osterlund
6436c4f027 DroidFish: Fixed "force computer move" function. 2012-01-03 18:37:44 +00:00
Peter Osterlund
01fdf25b72 DroidFish: Fix SeekBarPreference for languages that uses decimal comma instead of decimal dot. 2012-01-02 18:20:47 +00:00
Peter Osterlund
c653ef8ec2 DroidFish: Implemented support for external UCI engines. 2012-01-01 22:36:25 +00:00
Peter Osterlund
a1fdce1942 DroidFish: Check File.renameTo() return value. 2012-01-01 10:40:00 +00:00
Peter Osterlund
04a0b68f1a DroidFish: Renamed NativePipedProcess to StockFishJNI. 2012-01-01 10:31:12 +00:00
Peter Osterlund
4f4d1d95d7 DroidFish: Reduced visibility of opening book implementation classes. 2012-01-01 09:49:13 +00:00
Peter Osterlund
ce0cccb385 DroidFish: Moved the BookOptions class to the book package. 2012-01-01 09:46:02 +00:00
Peter Osterlund
61c2a92a12 DroidFish: Moved opening book code to separate package. 2012-01-01 09:42:17 +00:00
Peter Osterlund
aeaee1e5cd DroidFish: Changed default thinking time to 60 moves in 2 minutes. 2012-01-01 01:21:29 +00:00
Peter Osterlund
d8782830a9 DroidFish: More robust handling of misbehaving engines. 2011-12-31 20:09:31 +00:00
Peter Osterlund
6f25af50d9 DroidFish: Report engine name in the GUI when a new engine is started. 2011-12-31 13:42:48 +00:00
Peter Osterlund
7e133f2f15 DroidFish: Run the cuckoochess engine with reduced thread priority. 2011-12-31 11:27:06 +00:00
Peter Osterlund
6cd29a0353 DroidFish: Avoid empty lines in engine thinking information. 2011-12-31 10:36:46 +00:00
Peter Osterlund
c1ab57b4f9 DroidFish: Rewrote the engine communication so that the GUI never waits for the engine. 2011-12-31 02:30:18 +00:00
Peter Osterlund
9d7d30b293 DroidFish: Use the SearchListener interface to communicate the search result (best move + ponder move) back to the DroidChessController. 2011-12-28 20:11:48 +00:00
Peter Osterlund
6165005464 DroidFish: Removed unused code to generate internal .bin book. The corresponding code from CuckooChess is used for this task. 2011-12-28 16:00:05 +00:00
Peter Osterlund
0ca0a40324 DroidFish: Code cleanup. 2011-12-28 15:53:27 +00:00
Peter Osterlund
99580477bd DroidFish: Set the SearchListener in the DroidComputerPlayer constructor. 2011-12-28 14:35:47 +00:00
Peter Osterlund
519f104f0f DroidFish: Moved the "strength" variable from UCIEngine to DroidComputerPlayer. 2011-12-28 13:20:04 +00:00
Peter Osterlund
1e2d42a9e0 DroidFish: Made the public interface to the DroidChessController class synchronized. 2011-12-28 13:19:14 +00:00
Peter Osterlund
b78c6e7849 DroidFish: Don't clear hash table inside the Game class. 2011-12-28 12:00:08 +00:00
Peter Osterlund
af932e3a54 DroidFish: Minor comment improvements. 2011-12-28 00:56:35 +00:00
Peter Osterlund
8cdb10a075 DroidFish: Removed implemented FIXME item. 2011-12-27 15:21:07 +00:00
Peter Osterlund
6dd495e234 DroidFish: Better error messages when trying to read invalid FEN/PGN data. 2011-12-27 15:19:32 +00:00
Peter Osterlund
4f2bc00259 DroidFish: Some code re-organization. 2011-12-27 14:57:36 +00:00
Peter Osterlund
d44cb003f1 DroidFish: In edit board mode, made setup piece selection "sticky" to make board editing faster. 2011-12-25 08:51:24 +00:00
Peter Osterlund
762b8a8cac DroidFish: Avoid unnecessary GUI updates. 2011-12-24 12:22:45 +00:00