Commit Graph

273 Commits

Author SHA1 Message Date
Peter Osterlund
27d6b729f0 DroidFish: Fixed problem with CPU notification not going away if program was previously killed by Android to free up memory. 2012-01-21 07:44:28 +00:00
Peter Osterlund
6b7c844df0 DroidFish: Added support for Gaviota endgame tablebases. 2012-01-20 19:14:25 +00:00
Peter Osterlund
e6f63f59e9 DroidFish: Avoid null pointer exception if engine reports that it is currently searching an invalid move. 2012-01-20 19:12:04 +00:00
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
bd9a0c4928 DroidFish: Changed version to 1.39. 2012-01-15 07:44:34 +00:00
Peter Osterlund
2a189d54ca DroidFish: Clarified that UCI engines must be compiled for Android. 2012-01-15 01:49:53 +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
ca1482a80a DroidFish: Updated stockfish to version 2.2.2. 2012-01-15 01:13:33 +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
0d43a3bd7c DroidFish: Fixed non-ascii spaces in values-es/strings.xml 2012-01-08 16:59:50 +00:00
Peter Osterlund
840acd84f9 DroidFish: Fixed non-ascii spaces in values-es/strings.xml 2012-01-08 16:57:56 +00:00
Peter Osterlund
01b97f6590 DroidFish: Updated Spanish translation, from Amador Cuesta. 2012-01-08 16:26:52 +00:00
Peter Osterlund
0c1fe0fc55 DroidFish: Updated German translation, from Uwe Walschus. 2012-01-08 15:26:20 +00:00
Peter Osterlund
19684dad4f DroidFish: Removed no longer needed instructions to create directories on the SD card from the German and Spanish translations. 2012-01-08 11:16:29 +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
f544cfdec3 DroidFish: Updated German translation, from Uwe Walschus. 2012-01-08 01:57:25 +00:00
Peter Osterlund
8f6719db59 DroidFish: Improved the about dialog help text. 2012-01-08 01:53:14 +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
6c85f9e0c1 DroidFish: Updated stockfish engine to version 2.2.1. 2012-01-07 02:07:28 +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
99717796fe DroidFish: Updated Spanish translation. 2012-01-05 20:41:18 +00:00
Peter Osterlund
a4bcae2a87 DroidFish: Updated German translation, from Uwe Walschus. 2012-01-05 19:58:55 +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
865eab1f9b DroidFish: Updated Spanish translation, from Amador Cuesta. 2012-01-03 19:05:51 +00:00
Peter Osterlund
6436c4f027 DroidFish: Fixed "force computer move" function. 2012-01-03 18:37:44 +00:00
Peter Osterlund
e362208438 DroidFish: Added translators information to the about dialog. 2012-01-02 18:22:15 +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
a47b47a8d3 DroidFish: Updated Spanish translation, from Amador Cuesta. 2012-01-02 18:17:42 +00:00
Peter Osterlund
c07863581a DroidFish: Added some missing strings to German strings.xml. 2012-01-01 23:33:33 +00:00
Peter Osterlund
2879152e8f DroidFish: Added Spanish translation, from Amador Cuesta. 2012-01-01 23:32:50 +00:00
Peter Osterlund
e4b9ce7a6f DroidFish: Added brief info about external UCI engines to the about dialog. 2012-01-01 22:53:59 +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
e00df7370c DroidFish: Updated stockfish engine to version 2.2. 2012-01-01 00:52:19 +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
e458b95d33 DroidFish: Moved ListPreference default values to strings.xml. Avoids "converting to string" warnings in the system log. 2011-12-31 12:19:05 +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
Peter Osterlund
a00f8c1028 DroidFish: Fixed missing line break in multi-pv mode. 2011-12-24 10:41:12 +00:00
Peter Osterlund
97e5585d3a DroidFish: Don't let the "thinking" view take up screen space when it is empty. 2011-12-24 09:08:49 +00:00
Peter Osterlund
bdb55f5677 DroidFish: Made it possible to hide engine statistics. 2011-12-24 08:00:07 +00:00
Peter Osterlund
6b9d274008 DroidFish: Fixed crash when reading PGN file. 2011-12-24 07:28:59 +00:00
Peter Osterlund
49e938b498 DroidFish: Changed version to 1.38. 2011-12-18 13:53:59 +00:00
Peter Osterlund
818bc9d9a9 DroidFishTest: Small cleanup in GameTreeTest. 2011-12-18 07:12:35 +00:00
Peter Osterlund
d07fc8fbf3 DroidFish: Updated German translation, from Uwe Walschus. 2011-12-18 01:14:30 +00:00
Peter Osterlund
bf0252ea9a DroidFish: Updated German translation, from Uwe Walschus. 2011-12-18 00:24:51 +00:00
Peter Osterlund
c01b7fbec4 DroidFish: Don't allow setting up positions with too many pieces. 2011-12-18 00:11:51 +00:00
Peter Osterlund
71b7ec9bac DroidFish: Made member variables in DroidComputerPlayer non-static. There is only one DroidComputerPlayer object anyway. 2011-12-17 23:43:21 +00:00
Peter Osterlund
ed349128d7 DroidFish: Updated German translation, from Uwe Walschus. 2011-12-17 23:32:50 +00:00
Peter Osterlund
5c2dec7499 DroidFish: Made it possible to click on moves in the move list to navigate to the corresponding position in the game. Idea from Scid on the go. 2011-12-17 23:01:53 +00:00
Peter Osterlund
4fe1d1d578 DroidFish: Added "preferences" to strings.xml. 2011-12-17 20:15:02 +00:00
Peter Osterlund
fb55f703fd DroidFish: Updated German translation, from Uwe Walschus. 2011-12-17 19:35:56 +00:00
Peter Osterlund
d2741c31c5 DroidFish: Fixed crash on Android 1.6 and 2.1 when long pressing the analysis area when the computer was not analyzing. 2011-12-17 18:53:51 +00:00
Peter Osterlund
3c9f4a676c DroidFish: Moved more strings to strings.xml. 2011-12-17 18:01:08 +00:00
Peter Osterlund
148d12f090 DroidFish: Updated German translation, from Uwe Walschus. 2011-12-17 17:30:55 +00:00
Peter Osterlund
6fb74d81b5 DroidFish: Moved FEN/PGN parse error messages to strings.xml. 2011-12-17 12:49:33 +00:00
Peter Osterlund
5c09f71347 DroidFish: Moved preferences strings to strings.xml. 2011-12-17 11:14:14 +00:00
Peter Osterlund
6bffcb57b0 DroidFish: Updated German translation, from Uwe Walschus. 2011-12-17 09:52:28 +00:00
Peter Osterlund
5bd3038de6 DroidFish: Replaced tabs with spaces in xml files. 2011-12-17 09:23:49 +00:00
Peter Osterlund
b789406ac7 DroidFish: Moved options menu strings to strings.xml. 2011-12-17 09:12:22 +00:00
Peter Osterlund
70cac5464f DroidFish: Moved "delete game/delete file" strings to strings.xml. 2011-12-17 08:54:14 +00:00
Peter Osterlund
1695cf1624 DroidFish: Moved strings to strings.xml so they can be translated. 2011-12-17 02:35:30 +00:00
Peter Osterlund
045cb8a700 DroidFish: Moved game status strings to strings.xml. 2011-12-17 01:33:22 +00:00
Peter Osterlund
cf312a2b20 DroidFish: Use localized strings for white/black in the title bar. 2011-12-17 00:35:55 +00:00
Peter Osterlund
4767bcb892 DroidFish: Added German translation from Uwe Walschus. 2011-12-17 00:08:15 +00:00
Peter Osterlund
d945c87190 DroidFish: When making a move, scroll the move list window to make current move visible. 2011-12-15 00:23:32 +00:00
Peter Osterlund
577dd388e8 DroidFish: Lint warning fixes from Aaro Korhonen. 2011-12-13 21:26:33 +00:00
Peter Osterlund
c5f3b7817c DroidFish: Protect against null pointer exception in DroidEngineControl. 2011-12-11 03:11:01 +00:00
Peter Osterlund
7cfae75cb2 DroidFish: Fixed potential threading problems. 2011-12-04 21:27:52 +00:00
Peter Osterlund
e547c780c9 DroidFish: Don't process scroll events if chess board square size is zero. 2011-12-04 13:01:14 +00:00
Peter Osterlund
ec8e082d5f DroidFish: Fixed warnings found by FindBugs. 2011-12-04 11:35:36 +00:00
Peter Osterlund
68ecd0c854 DroidFish: Added safety check to avoid null pointer exception in reportPromotePiece. 2011-12-04 10:36:56 +00:00
Peter Osterlund
62e3ace1ab DroidFish: UI improvements from Aaro Korhonen.
- SeekBarPreference now uses Android system style (textAppearanceLarge) instead of custom attribute values.
- The dialog for filename has now the same visual style as the other dialogs.
- Added colons to the rest of the dialog labels.
- Added some padding to select_game.xml.
2011-11-28 17:22:00 +00:00
Peter Osterlund
09c270d533 DroidFish: Small simplification in "edit headers" function. 2011-11-27 12:44:41 +00:00
Peter Osterlund
b39e5c7840 DroidFish: UI improvements from Aaro Korhonen. "Edit headers" and "edit comments" are now dialogs instead of activities, which looks much better. 2011-11-27 12:26:14 +00:00
Peter Osterlund
3d994e3381 DroidFish: Made it possible to cancel scid file reading. Doesn't work perfectly though, because quite a lot of CPU time is spent initially inside the Scid on the go app, and that part can not be interrupted. 2011-11-27 03:24:42 +00:00
Peter Osterlund
b3bddec2c6 DroidFish: Added Aaro Korhonen to the about dialog. 2011-11-27 02:18:55 +00:00
Peter Osterlund
d945a2bc5e DroidFish: Swapped ok/cancel buttons in views for consistency with Android dialogs. 2011-11-27 01:52:17 +00:00
Peter Osterlund
e8d1ef5dd6 DroidFish: UI improvements from Aaro Korhonen.
- All the menu items are now using standard Android system icons.
- Removed the edit.png & start.png files as they're now obsolete.
- Dialogs are now using standard Ok / Cancel buttons.
- EditText views (in dialogs, 'Goto move' for instance) are now using standard Android background.
- The dialog for selecting the game mode now has a title.
- The dialog for selecting the player to move now uses radio boxes instead of buttons for a logical consistency.
- The dialog for selecting the en passant file now closes itself after an item has been chosen.
- The custom title bar (for clocks etc.) now uses the system style 'windowTitleStyle' for a visual consistency with non-custom titles.
- The header and comment editors are now wrapped in a ScrollView to provide landscape support.
2011-11-27 01:24:52 +00:00
Peter Osterlund
c8b0b8a1d3 CuckooChess: Changed node counters to long to avoid wraparound on long searches. 2011-11-26 13:50:15 +00:00
Peter Osterlund
66aaca4aac DroidFish: Changed version to 1.37. 2011-11-20 15:18:54 +00:00
Peter Osterlund
ed834bdfbd DroidFish: Updated Stockfish engine to version 2.1.1. 2011-11-19 10:11:26 +00:00
Peter Osterlund
629a365d90 DroidFish: Fixed bug where non-standard PGN headers were duplicated when PGN headers were edited. 2011-11-14 19:41:39 +00:00
Peter Osterlund
cafab99c8a DroidFish: Fixed "load scid file" dialog to work on pre-2.2 devices. (Thanks to Gerhard Kaleb for pointing this out.) 2011-11-14 17:57:55 +00:00
Peter Osterlund
96047e29ec DroidFish: Removed obsolete FIXME item. 2011-11-13 20:36:34 +00:00
Peter Osterlund
7cc120f2a3 DroidFish: Made the Native_Builder use the NDK environment variable. 2011-11-12 23:33:21 +00:00
Peter Osterlund
252789e186 Moved DroidFish project to trunk/ 2011-11-12 19:44:06 +00:00