Commit Graph

270 Commits

Author SHA1 Message Date
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
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
818bc9d9a9 DroidFishTest: Small cleanup in GameTreeTest. 2011-12-18 07:12:35 +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
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
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
6fb74d81b5 DroidFish: Moved FEN/PGN parse error messages to strings.xml. 2011-12-17 12:49:33 +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
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
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
252789e186 Moved DroidFish project to trunk/ 2011-11-12 19:44:06 +00:00