Commit Graph

408 Commits

Author SHA1 Message Date
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