Commit Graph

340 Commits

Author SHA1 Message Date
Peter Osterlund
db704232df DroidFish: Fixed NPE when shutting down program while trying to contact a network engine. 2012-08-19 16:17:28 +00:00
Peter Osterlund
31d6c0f768 DroidFish: Use helper function MoveGen.legalMoves(). 2012-08-19 10:21:06 +00:00
Peter Osterlund
5c161d2101 DroidFish: Display chess moves using localized piece names. 2012-08-19 10:05:42 +00:00
Peter Osterlund
986d30991d DroidFish: Improved "flip board based on player name" behavior. From Leo Mayer. 2012-08-17 19:12:25 +00:00
Peter Osterlund
5a7bd52687 DroidFish: Allow using more threads and more hash memory. Useful for network engines. 2012-08-05 19:28:18 +00:00
Peter Osterlund
a7e21224b8 DroidFish: Added support for running the chess engine on a different computer, communicating with it using a network socket. 2012-08-05 18:58:28 +00:00
Peter Osterlund
04f1225d3e DroidFish: Made it possible to change the engine hash table size. 2012-07-24 01:04:43 +00:00
Peter Osterlund
bb3cff5298 DroidFish: New partial French translation. 2012-07-23 13:15:39 +00:00
Peter Osterlund
6515abdcd8 DroidFish: Updated German translation. 2012-07-23 13:11:19 +00:00
Peter Osterlund
840e577dde DroidFish: Updated Spanish translation. From Amador Cuesta. 2012-07-23 12:29:11 +00:00
Peter Osterlund
29f0b8766c DroidFish: Simplified TextIO.isValid() method. 2012-07-22 09:30:18 +00:00
Peter Osterlund
1f5f5c9522 DroidFish: Fixed crash when engine did not report a ponder move. 2012-07-20 21:38:25 +00:00
Peter Osterlund
c0bc8d3556 DroidFish: Changed version to 1.44. 2012-07-20 15:39:34 +00:00
Peter Osterlund
210bf89ef8 DroidFish: Disable use of boldface in android 4.1 to work around crash bug, see http://code.google.com/p/android/issues/detail?id=34872. 2012-07-19 11:43:30 +00:00
Peter Osterlund
9ccffdbb45 DroidFish: Updated Portuguese translation. 2012-07-18 09:45:50 +00:00
Peter Osterlund
eba354ea8f DroidFish: Handled PGN file intents with more than one game. 2012-07-16 12:55:33 +00:00
Peter Osterlund
1de1e05025 DroidFish: Implemented function to share a PGN game. 2012-07-16 11:47:29 +00:00
Peter Osterlund
46c62f232d DroidFish: Hard-coded the stockfish date. The date of compilation is not of much interest. 2012-07-16 11:46:50 +00:00
Peter Osterlund
352b54254a DroidFish: Display player names in the title bar when the clocks are not running. 2012-07-16 08:45:57 +00:00
Peter Osterlund
fca2f69711 DroidFish: Updated translations. 2012-07-15 14:48:46 +00:00
Peter Osterlund
6bf1886e71 DroidFish: Fixed to work with CuckooChess changes. 2012-07-15 11:00:43 +00:00
Peter Osterlund
6861e6d266 DroidFish: Updated Portuguese translation. 2012-07-14 22:14:15 +00:00
Peter Osterlund
d95283b1fe DroidFish: When stopping analysis mode by pressing the toggle analysis button, restore the game mode from the last time the toggle analysis button was pressed. 2012-07-14 13:33:00 +00:00
Peter Osterlund
9c332ef518 DroidFish: Updated Portuguese translation. 2012-07-14 09:56:30 +00:00
Peter Osterlund
ce5600db80 DroidFish: Fixed crash if engine reported invalid moves in the PV or an invalid ponder move. 2012-07-14 01:14:55 +00:00
Peter Osterlund
2810a11a57 DroidFish: Updated translations. New partial portuguese translation. 2012-06-26 19:51:23 +00:00
Peter Osterlund
ec3d540988 DroidFish: Minor text fix. 2012-06-17 08:41:27 +00:00
Peter Osterlund
0a93e39a6e DroidFish: Changed version to 1.43. 2012-06-16 00:20:58 +00:00
Peter Osterlund
41014a5cd8 DroidFish: Small optimization. 2012-06-15 22:19:27 +00:00
Peter Osterlund
62008f45c7 DroidFish: Draw pictures in off-screen bitmaps to prevent crash when "Force GPU rendering" is enabled in android developer options. 2012-06-15 22:06:42 +00:00
Peter Osterlund
b7be2823ab DroidFish: Changed version to 1.42. 2012-06-13 20:21:26 +00:00
Peter Osterlund
e72346e6c8 DroidFish: Removed stockfish version number from about.html. 2012-06-13 20:20:40 +00:00
Peter Osterlund
bb6dc8867f DroidFish: Updated translations. 2012-06-13 19:57:24 +00:00
Peter Osterlund
ddf86c3ad7 DroidFish: Improved tapping behavior. 2012-06-10 15:01:07 +00:00
Peter Osterlund
10c80e802c DroidFish: Made the large buttons a little smaller when all three custom buttons are visible. 2012-06-10 14:11:09 +00:00
Peter Osterlund
789c734337 DroidFish: Added button touch visual feedback. 2012-06-10 13:30:35 +00:00
Peter Osterlund
4932e44a92 DroidFish: Added a third configurable button. 2012-06-10 08:28:34 +00:00
Peter Osterlund
6540f2f49a DroidFish: Display book move hints in bold face to distinguish them from book move percentages. 2012-06-10 00:22:06 +00:00
Peter Osterlund
a1f960da85 DroidFish: Added icons for all button actions. 2012-06-09 23:53:51 +00:00
Peter Osterlund
e0ae12e7f8 DroidFish: Disabled logging in SVG parser. 2012-06-09 22:40:58 +00:00
Peter Osterlund
f61785af2d DroidFish: Avoid terminating space character in book info strings. 2012-06-09 22:18:24 +00:00
Peter Osterlund
499ce4e6e4 DroidFish: Use SVG graphics for buttons. Implemented "toggle large buttons" button action. 2012-06-09 20:04:22 +00:00
Peter Osterlund
64d0048222 DroidFish: SVG, added support for gradients on strokes. 2012-06-09 15:32:15 +00:00
Peter Osterlund
b1df438d06 DroidFish: Handle floating point numbers with negative exponent in SVG parser. 2012-06-09 14:52:07 +00:00
Peter Osterlund
bbbb9078cb DroidFish: Handle units in SVG parser for stroke-width attribute. 2012-06-09 14:51:09 +00:00
Peter Osterlund
a857fbc2cd DroidFish: Added support for rounded rectangles in SVG files. 2012-06-09 13:37:32 +00:00
Peter Osterlund
936925dcc4 DroidFish: Avoid NPE if engine sends invalid moves in the PV. 2012-06-07 22:04:21 +00:00
Peter Osterlund
0cfda3577c DroidFish: Ignore "pt" unit when parsing SVG files. 2012-06-07 17:28:32 +00:00
Peter Osterlund
9447c67ce7 DroidFish: Fixed incorrect bounds calculation in SVG code. 2012-06-06 19:57:35 +00:00
Peter Osterlund
436579fe20 DroidFish: Fixed warnings in SVG code. 2012-06-06 19:55:33 +00:00
Peter Osterlund
7c37f8f5ed DroidFish: Added svg-android code for SVG support. See http://code.google.com/p/svg-android/. 2012-06-06 19:50:45 +00:00
Peter Osterlund
026de0610f DroidFish: Longer timeout before reporting engine problem. 2012-06-06 19:43:22 +00:00
Peter Osterlund
bcdbb5c82a DroidFish: Updated stockfish to a development version to fix problems on quad-core ARM CPUs. 2012-06-04 16:25:51 +00:00
Peter Osterlund
7344b26a53 DroidFish: Added support for mips architecture. Requires NDK r8. 2012-05-19 06:42:02 +00:00
Peter Osterlund
99501040c2 DroidFish: Updated German translations. 2012-05-19 05:53:10 +00:00
Peter Osterlund
c6734bb722 DroidFish: Updated German translations. 2012-05-15 17:54:47 +00:00
Peter Osterlund
ad76eda35b DroidFish: Fixed problems with the "Flip Board: Player" setting. Board flip should be considered when editing the game headers and when changing the player name in preferences. 2012-05-15 17:46:41 +00:00
Peter Osterlund
5601d65217 DroidFish: Removed duplicated strings. 2012-05-13 21:28:01 +00:00
Peter Osterlund
ee87a711b1 DroidFish: Removed duplicated string. 2012-05-13 21:22:06 +00:00
Peter Osterlund
81bd2a6326 DroidFish: Variation arrows no longer override analysis arrows and book arrows. 2012-05-13 06:49:12 +00:00
Peter Osterlund
95d1e63338 DroidFish: Implemented "toggle engine analysis" button action. 2012-05-13 06:32:36 +00:00
Peter Osterlund
84f28eaa12 DroidFish: Updated German translations. 2012-05-13 06:10:36 +00:00
Peter Osterlund
d67f536cf2 DroidFish: Implemented configurable buttons. 2012-05-13 00:26:56 +00:00
Peter Osterlund
1a6d76c5e3 DroidFish: Whitespace fix. 2012-05-12 19:48:21 +00:00
Peter Osterlund
f49809fa7f DroidFish: Don't run GTB initialization and engine startup in parallel. Seems to trigger ICS bug, see http://stackoverflow.com/questions/8688382/runtime-exec-bug-hangs-without-providing-a-process-object. 2012-05-12 18:16:38 +00:00
Peter Osterlund
51278dfc35 DroidFish: Don't reinitialize GTB in onResume(). The performance hit is not worth it. The tradeoff is that you now have to restart the program for new files added to the GTB directory to be recognized. 2012-05-12 17:48:38 +00:00
Peter Osterlund
1c10b740f1 DroidFish: Fixed default value for number of engine threads to match default in preferences.xml. 2012-05-12 17:44:43 +00:00
Peter Osterlund
4753286aeb DroidFish: Preparations for supporting one more button. 2012-05-12 17:42:56 +00:00
Peter Osterlund
1ec674197c DroidFish: Implemented chmod using JNI. More efficient than starting a process. 2012-05-12 17:31:50 +00:00
Peter Osterlund
94f9994fe6 DroidFish: Do GTB initialization in a background thread. 2012-05-12 16:16:38 +00:00
Peter Osterlund
d442bb002e DroidFish: Added link to translation project at crowdin.net. 2012-05-12 04:27:04 +00:00
Peter Osterlund
fe9c22f2d4 DroidFish: Added Russian translation. 2012-05-12 04:02:19 +00:00
Peter Osterlund
ad7f409a8e DroidFish: New language files generated from crowdin.net. 2012-05-12 03:22:15 +00:00
Peter Osterlund
3d7c5c03f8 DroidFish: Removed resource "ok". Android has a built-in resource for this. 2012-05-10 19:35:26 +00:00
Peter Osterlund
9bdbfd7428 DroidFish: Added web link to the GPL in the about dialog. 2012-05-10 18:43:34 +00:00
Peter Osterlund
77b25099eb DroidFish: Optionally vibrate when the computer makes a move. 2012-05-10 18:36:02 +00:00
Peter Osterlund
00013ebaa9 DroidFish: Updated for new SDK/NDK versions. 2012-05-01 16:53:19 +00:00
Peter Osterlund
d349d41e26 DroidFish: Updated Spanish translation, from Amador Cuesta. 2012-04-29 11:54:04 +00:00
Peter Osterlund
06452b38ff DroidFish: Updated Spanish translation, from Amador Cuesta. 2012-04-26 17:48:52 +00:00
Peter Osterlund
1569ac3731 DroidFish: Removed the padding around the chess board. Makes it slightly larger. 2012-04-22 11:23:41 +00:00
Peter Osterlund
656db44a6b DroidFish: Added scid and gaviota links to the Spanish and German translations. 2012-04-22 07:36:04 +00:00
Peter Osterlund
8dbbcad69d DroidFish: Changed version to 1.41. 2012-04-14 17:50:00 +00:00
Peter Osterlund
37793466e0 DroidFish: Added links to "OI File Manager", "Scid on the go" and "Gaviota endgame tablebases" in the about/help dialog. 2012-04-14 16:27:23 +00:00
Peter Osterlund
91524829f5 DroidFish: Added hint about how to undo/redo single half moves. 2012-04-14 14:46:02 +00:00
Peter Osterlund
fbd7225386 DroidFish: Made "save to pgn file" easier to understand. 2012-04-14 13:25:19 +00:00
Peter Osterlund
14d17d6719 DroidFish: Made it possible to load/save PGN files in any directory, using the "OI file manager". 2012-04-14 12:37:15 +00:00
Peter Osterlund
cc5582bdbc DroidFish: If setting strength to 0% when stockfish engine is used, show a hint that using the CuckooChess engine gives even lower strength. 2012-04-08 16:42:21 +00:00
Peter Osterlund
a0eb057e4a DroidFish: Allow selecting side to play when starting a new game. 2012-04-07 23:46:04 +00:00
Peter Osterlund
9be6394737 DroidFish: Changed default value of "flip board based on player name" setting to "true". 2012-04-07 21:28:21 +00:00
Peter Osterlund
12a84db608 DroidFish: Changed default number of engine threads to 1. Improves GUI responsiveness on some devices. 2012-04-07 21:14:20 +00:00
Peter Osterlund
463bbcba20 DroidFish: Added flip board button. 2012-04-07 21:05:05 +00:00
Peter Osterlund
e6e4d6b213 DroidFish: Added support for default player name. 2012-04-07 15:45:34 +00:00
Peter Osterlund
926fe6b214 DroidFish: Added button content descriptions to silence warnings. 2012-04-07 11:02:01 +00:00
Peter Osterlund
a53834d21e DroidFish: Added preference setting for left-handed landscape mode. 2012-04-07 10:43:12 +00:00
Peter Osterlund
9661e5a478 DroidFish: Changed "-" to dash to silence warning. 2012-04-07 10:19:13 +00:00
Peter Osterlund
bdd67ce315 DroidFish: Display PGN comments in a color different from PGN moves. 2012-04-07 09:15:44 +00:00
Peter Osterlund
d4ddd88aae DroidFish: Added color themes from scid on the go. 2012-03-04 20:01:47 +00:00
Peter Osterlund
f602cd6448 DroidFish: Updated FIXME list. 2012-03-04 19:04:23 +00:00
Peter Osterlund
43e0f00175 DroidFish: Avoid infinite recursion in SeekBarPreference. 2012-02-14 22:42:50 +00:00
Peter Osterlund
36a9ed45d7 DroidFish: Fixed to make unicode characters display correctly in about dialog. 2012-02-12 20:22:42 +00:00
Peter Osterlund
28b81ddf0e DroidFish: Fixed warning in manifest file. 2012-02-12 09:49:54 +00:00
Peter Osterlund
b97303fd5b DroidFish: Handle PGN intents with scheme "file". 2012-02-05 21:24:59 +00:00
Peter Osterlund
1c1640d73c DroidFish: Ignore leading and trailing whitespace in the TB path. 2012-01-30 18:52:27 +00:00
Peter Osterlund
0039df9eaa DroidFish: Updated German translation, from Uwe Walschus. 2012-01-29 15:54:22 +00:00
Peter Osterlund
dd90969716 DroidFish: Changed version to 1.40. 2012-01-28 11:45:53 +00:00
Peter Osterlund
dc705746a0 DroidFish: Updated German translation, from Uwe Walschus. 2012-01-28 02:14:21 +00:00
Peter Osterlund
5e4c179ca7 DroidFish: In "sticky" edit board mode, if the target square already contains the selected piece, clear the square instead of doing nothing. 2012-01-26 18:43:53 +00:00
Peter Osterlund
72b93358af DroidFish: When displaying tablebase info, only display the best score for pawn promotions. 2012-01-26 18:22:16 +00:00
Peter Osterlund
4020384ad6 DroidFish: Avoid null pointer exception in pgn load/save. 2012-01-25 19:04:41 +00:00
Peter Osterlund
7b1cb4cdfb DroidFish: Fixed about.html formatting problem. 2012-01-23 22:50:57 +00:00
Peter Osterlund
905c155270 DroidFish: Use html to format the about dialog text. 2012-01-22 19:22:56 +00:00
Peter Osterlund
babb66427f DroidFish: Updated Spanish translation, from Amador Cuesta. 2012-01-22 13:06:21 +00:00
Peter Osterlund
4e86b110d3 DroidFish: Changed default value for tablebase root probe setting to true. 2012-01-22 12:48:11 +00:00
Peter Osterlund
7caebc66d5 DroidFish: Made the internal stockfish engine work also on arm v6 architectures. 2012-01-21 20:16:47 +00:00
Peter Osterlund
bbaf130eac DroidFish: Reinitialize tablebases when activity is resumed. 2012-01-21 11:26:51 +00:00
Peter Osterlund
50ef527376 DroidFish: Reinitialize tablebases when activity is started. 2012-01-21 08:51:01 +00:00
Peter Osterlund
1370b50ec7 DroidFish: Improved help texts for tablebase settings. 2012-01-21 08:16:02 +00:00
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