Commit Graph

406 Commits

Author SHA1 Message Date
Peter Osterlund
bbc4e45cff DroidFish: Use fullscreen mode also in preferences and load/save game activities. 2012-09-30 21:42:35 +00:00
Peter Osterlund
937ae75799 DroidFish: Updated translations. 2012-09-30 19:51:40 +00:00
Peter Osterlund
1084cea95c DroidFish: Updated translations. 2012-09-30 18:55:43 +00:00
Peter Osterlund
d6855782cf DroidFish: Updated translations. 2012-09-30 09:34:06 +00:00
Peter Osterlund
f6d4fcb7b3 DroidFish: Updated translations. 2012-09-30 09:08:23 +00:00
Peter Osterlund
3047c32ec5 DroidFish: Disable board gestures by default, to improve responsiveness when touching the board to make moves. 2012-09-30 07:35:01 +00:00
Peter Osterlund
c43d652207 DroidFish: In edit board portrait mode, use only a single title bar line. 2012-09-29 23:28:30 +00:00
Peter Osterlund
9858697da2 DroidFish: Modified color theme background colors. 2012-09-29 22:50:43 +00:00
Peter Osterlund
3913b818d6 DroidFish: When loading a game, switch game mode to edit/replay. 2012-09-29 22:32:17 +00:00
Peter Osterlund
03342fb46b DroidFish: Added option to not keep variations in the move list. 2012-09-29 14:17:25 +00:00
Peter Osterlund
4541e83cf0 DroidFish: Made display of variations in the status area optional. 2012-09-29 13:07:01 +00:00
Peter Osterlund
566f76f598 DroidFish: Fixed wrong text string in edit header dialog. 2012-09-29 12:11:00 +00:00
Peter Osterlund
7a2bce1e89 DroidFish: Added option to control title bar scrolling. 2012-09-29 12:00:40 +00:00
Peter Osterlund
913accffb6 DroidFish: Changed background color for blue theme to dark blue. 2012-09-29 11:16:36 +00:00
Peter Osterlund
1f49993c39 DroidFish: Reorganized preferences. 2012-09-29 10:57:57 +00:00
Peter Osterlund
705e0ffea3 DroidFish: Made it possible to change background color and text foreground color. From Leo Mayer. 2012-09-28 22:22:06 +00:00
Peter Osterlund
fa0d1a20d9 DroidFish: Show material diff in edit board mode. From Leo Mayer. 2012-09-28 20:10:00 +00:00
Peter Osterlund
935fe8e4fe DroidFish: Lint fixes, from Leo Mayer. 2012-09-28 17:52:42 +00:00
Peter Osterlund
12f43e5d0c DroidFish: Small optimization in SVGParser. From Leo Mayer. 2012-09-28 17:31:03 +00:00
Peter Osterlund
b88ca87867 DroidFish: Avoid crash if "Scid on the go" misbehaves. 2012-09-28 17:03:11 +00:00
Peter Osterlund
0fd90e2550 DroidFish: Updated stockfish to version 2.3.1. 2012-09-23 08:13:11 +00:00
Peter Osterlund
87e38eca80 DroidFish: Better layout for edit board in landscape mode. 2012-09-22 11:27:12 +00:00
Peter Osterlund
0456c02cf9 DroidFish: Don't use recursion in GameTree.translateMovesHelper(). Recursion can crash with stack overflow error for long pgn games. 2012-09-22 09:04:57 +00:00
Peter Osterlund
b40717603f DroidFish: Updated translations. 2012-09-22 07:24:15 +00:00
Peter Osterlund
9f2a871f00 DroidFish: Updated translations. 2012-09-22 07:16:24 +00:00
Peter Osterlund
ec753f73f6 DroidFish: Use white/black square characters (unicode 25a0/25a1) instead of text strings to save space in the title bar. 2012-09-21 20:00:45 +00:00
Peter Osterlund
04f7d88368 DroidFish: Remove spaces in time control string, to save space on the title bar. 2012-09-21 19:47:27 +00:00
Peter Osterlund
75fd15d3bf DroidFish: Use custom title bar also for edit board mode. Most title bar widgets are hidden though. 2012-09-21 19:39:29 +00:00
Peter Osterlund
9e44414235 DroidFish: Left-handed layout mode did not work if droidfish was started in landscape mode. Layout was not updated immediately when handedness was changed in preferences. 2012-09-21 19:25:35 +00:00
Peter Osterlund
a224defe3f DroidFish: Support full-screen mode in edit board activity. 2012-09-21 18:34:46 +00:00
Peter Osterlund
b4736fe3dc DroidFish: Align the chess board to the top of its drawing area in landscape mode. Makes it aligned with the new non-full-width title bar. 2012-09-21 17:57:34 +00:00
Peter Osterlund
db057ea137 DroidFish: Title bar layout improvements, from Leo Mayer. 2012-09-21 17:55:30 +00:00
Peter Osterlund
2a551d694d DroidFish: Menu button in edit board mode now shows the same menu as when long pressing the board. From Leo Mayer. 2012-09-21 17:42:00 +00:00
Peter Osterlund
f0035a6690 DroidFish: Moved computation of material difference to the Util class, so that it can be reused by the EditBoard activity. 2012-09-19 18:11:53 +00:00
Peter Osterlund
aa0cc399bc DroidFish: Optional second title line with captured piece information and time control information. Implemented by Leo Mayer, with some changes by me. 2012-09-19 16:23:32 +00:00
Peter Osterlund
3f911220c2 DroidFish: Cosmetic change. 2012-09-17 22:12:20 +00:00
Peter Osterlund
a7bd973995 DroidFish: Updated stockfish to version 2.3. 2012-09-16 15:16:15 +00:00
Peter Osterlund
41e7a6922c DroidFish: Reduced opening book memory usage. 2012-09-11 22:44:49 +00:00
Peter Osterlund
1767f8c947 DroidFish: Moved code in ChessBoard.java that is not used by ChessBoardEdit.java to new class ChessBoardPlay. 2012-09-10 21:46:24 +00:00
Peter Osterlund
9810c3d054 DroidFish: Display error message if trying to use a slash (/) character in network engine names. 2012-09-08 14:35:47 +00:00
Peter Osterlund
7fb1b02ef3 DroidFish: Updated translations. 2012-09-08 07:10:51 +00:00
Peter Osterlund
4265f2e6f0 DroidFish: Removed unwanted newline characters in about.html. 2012-09-08 06:02:23 +00:00
Peter Osterlund
5c5989dd94 DroidFish: Replaced tab characters with spaces. 2012-09-07 20:23:44 +00:00
Peter Osterlund
06ee386923 DroidFish: Better text in "manage chess engines" menu. 2012-09-07 19:39:24 +00:00
Peter Osterlund
3d12ab7f59 DroidFish: Don't start the white clock in the initial position. It is not nice that the clock starts running immediately when you first start the program. 2012-09-02 07:54:44 +00:00
Peter Osterlund
7bbf888eb1 DroidFish: Added preference setting to choose between "sticky" and "toggle" mode for selecting squares. 2012-09-02 01:44:41 +00:00
Peter Osterlund
98f3982011 DroidFish: Documented how to use a network engine. 2012-09-02 00:33:45 +00:00
Peter Osterlund
21fa9d1522 DroidFish: When "quick move input" is enabled and the user taps on a piece that has no valid moves, display a toast that explains that the piece can not be moved. Idea from Leo Mayer. 2012-09-02 00:08:03 +00:00
Peter Osterlund
b66acc006f DroidFish: Simplified navigation between engine management dialogs. 2012-09-01 23:17:02 +00:00
Peter Osterlund
a1b7f6688b DroidFish: Ask for confirmation before deleting network engine. 2012-09-01 22:04:04 +00:00
Peter Osterlund
447e8de9c7 DroidFish: Cosmetic changes. 2012-09-01 21:15:48 +00:00
Peter Osterlund
7fd384ac7b DroidFish: Split the DroidFish.onCreateDialog function into one function per dialog type. 2012-09-01 20:27:46 +00:00
Peter Osterlund
b342e18423 DroidFish: Moved the "piece name" preferences setting to the "User Interface" section. 2012-09-01 20:01:04 +00:00
Peter Osterlund
7967615386 DroidFish: Use k and M prefixes for nodes and nodes/second in the engine status information. 2012-09-01 18:59:43 +00:00
Peter Osterlund
2798f59554 DroidFish: Added color picker code from Daniel Nilsson and Sergey Margaritov, adapted to DroidFish by Leo Mayer. 2012-08-31 23:38:12 +00:00
Peter Osterlund
c1a0e69e75 DroidFish: Updated German translation. From Leo Mayer. 2012-08-31 23:24:30 +00:00
Peter Osterlund
37b82a8e11 DroidFish: Fixed incorrect comment. From Leo Mayer. 2012-08-31 23:22:54 +00:00
Peter Osterlund
ad349a36b1 DroidFish: Don't use largest font size for status text in portrait mode. 2012-08-31 23:09:44 +00:00
Peter Osterlund
b0a2f9f317 DroidFish: Better font for figurine notation. From Leo Mayer. 2012-08-28 17:34:57 +00:00
Peter Osterlund
37610d8297 DroidFish: Preliminary support for figurine chess notation. From Leo Mayer, with some small changes by me. 2012-08-27 18:14:10 +00:00
Peter Osterlund
feb5fabb22 DroidFish: Made it possible to configure more than one network engine. 2012-08-26 22:00:27 +00:00
Peter Osterlund
6a37ea341d DroidFish: Don't use tab characters in xml files. 2012-08-26 18:53:49 +00:00
Peter Osterlund
7103e831ff DroidFish: Don't use tab characters in xml files. 2012-08-26 18:53:07 +00:00
Peter Osterlund
157f0b6359 DroidFish: Clarified that engine strength setting is not used in analysis mode. 2012-08-26 15:56:34 +00:00
Peter Osterlund
7f5718ccb2 DroidFish: In analysis mode, don't show the strength setting in the title bar. Strength is always 100% in analysis mode. 2012-08-26 15:28:58 +00:00
Peter Osterlund
1f01daf133 DroidFish: Improved "one touch move" behavior. Based on patch from Leo Mayer. 2012-08-26 13:34:54 +00:00
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