Commit Graph

275 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
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