version 1.4.53b
[polyglot.git] / ChangeLog
1 =========1.4.53b================\r
2 - Multipv code by HGM. \r
3 =========1.4.52b================\r
4 - Reexport SyncStop. It is apparently necessary for the Aquarium Book Adapter.\r
5 =========1.4.51b================\r
6 - Support for new nps command. Code provided by Harm Geert Muller. \r
7 =========1.4.50b================\r
8 - Change in architecture. Persistence is disabled. The user is required to push the "Save" button explicitly to save the settings. What is retained is that in case PG is invoked with -noini (or as a special exception for WB 4.4.0 when the config files are polyglot_1st.ini or polyglot_2nd.ini) then PG uses a default config file whose name is derived from the engine name. \r
9 - New option: OnlyWbOptions (default: true). Restrict the options that PG sends to those that are potentially useful for WinBoard.\r
10 =========1.4.47b================\r
11 - Try to detect if the engine is not an UCI engine.\r
12 =========1.4.46b================\r
13 - The default persistence directory on Windows is now _PG. The names of the engine specific ini files are mangled so as not to contain spaces. \r
14 - PG now tries to guess if a string option is really a file or a path (like in the Arena GUI). \r
15 =========1.4.45b================\r
16 - The engine specific config files (<myname>.ini) are now stored in a separate directory. $HOME/.polyglot on Linux and "./Polyglot Settings" on Windows. \r
17 - The engine specific config files are now complete config files. So they can be used in a stand alone fashion.\r
18 - Implemented a minor hack to make xboard show error messages during startup. \r
19 =========1.4.44b================\r
20 - "Implementation" of new buttons and controls.\r
21 - The "Persist" option is now persistent. That is if you turn of "Persist" then as a special case PG will remember this.\r
22 - There is now a "reset" button which restores the default options. The code is commented out since WB does not support it yet.\r
23 =========1.4.42b================\r
24 - SaveSettingsOnExit/SaveFile renamed as Persist/PersistFile.\r
25 - Many bug fixes in the persistence feature.\r
26 - The PG_<myname>.ini file now contains only options that have been changed. So the resulting ini files are much smaller. This makes this version of PG usable on WB 4.3.15 as now the engine specific ini file will be empty (the user has no way to change options).\r
27 =========1.4.41b================\r
28 - Some segfaults fixed in case of corrupt config files.\r
29 - Persistence of options. If the option SaveSettingsOnExit is true (the default) PolyGlot now saves its options in a file whose name is given by the option SaveFile which by default is equal to the engine name, prefixex by PG_ and suffixed by ".ini".\r
30 =========1.4.39b================\r
31 - Refactoring of config file parsing\r
32 - Fix crash bug in epd-test\r
33 - Do not export Chess960. This is handled completely internally. \r
34 - Do not export UCI_Opponent and UCI_Chess960. These are handled internally.\r
35 - PG can now also be comfortably configured through command line options (i.e. without using a config file). \r
36 - Allow quotes in configfile (as in Fonzy Bleumer's PG). \r
37 =========1.4.37b================\r
38 - Two new options: BookDepth and BookTreshold. BookDepth limits the number of moves the book is used and BookTreshold sets the minimum weight a book move should have.\r
39 =========1.4.36b================\r
40 - Bugfix: option = 0/1 was translated incorrectly.\r
41 - Default node count is 1.\r
42 - EOF received from the engine should now be logged correctly (i.e. after the buffer is empty).\r
43 - Bugfix: Nasty buffer overflow in the macro CONSTRUCT_ARG_STRING.\r
44 - Bugfix: pipex_writeln (win32) was logging at the wrong spot. \r
45 - Log board when an illegal move is received. \r
46 =========1.4.35b================\r
47 - New WbWorkAround for silly bug in WB. Depth <=1 clears the engine output window. Why should an engine not be allowed to send info at depth one?\r
48 =========1.4.34b================\r
49 - Warning: this release is less well tested as usual\r
50 - Allow spaces around "=" in "option =" commands.\r
51 - WbWorkArounds is now true by default. It decapitalizes Draw when this appears in engine option. \r
52 - Trying to set a non existent UCI option gives an error. \r
53 - PG will now resign in case of an illegal engine move. \r
54 - More code has been put in "pipex".\r
55 - info strings and unrecognized info lines are relayed to the GUI.\r
56 =========1.4.33b================\r
57 - New option: "WbWorkArounds" to work around bugs in WB. Currently it blocks options which contain "Draw" in their name from being sent to the GUI. Engines that have such options are Rybka and HIARCS. \r
58 - Bugfix for ASSERT failure in bright. Now another ASSERT failure has appeared which seems to be bright's fault however. \r
59 =========1.4.32b================\r
60 - Bugfix: the default setting for RepeatPV had become false again...\r
61 =========1.4.31b================\r
62 - Bugfix: improper handling of vararg function.\r
63 =========1.4.30b================\r
64 - Some more meaningful error messages added.\r
65 - Some buffer overflow checks added.\r
66 - Simplification of strange signal kludge in gui.c. \r
67 - Removal of obsolete code in engine.c and gui.c. Platform specific code has been abstracted and pushed into pipex_win32.c and pipex_posix.c\r
68 - The format of the version number has changed once again. Debian was unhappy with the previous one.\r
69 =========1.4b29================\r
70 - Conversion from C++ to C (suggested by E.M.)\r
71 - More refactoring. The win32 and posix I/O now have a uniform interface (see pipex.h). \r
72 =========1.4b28================\r
73 - Some comments added to explain the exact behaviour of some of the public functions in pipe.cpp. \r
74 - LineInput now returns a bool which is FALSE in case of EOF. \r
75 =========1.4b27================\r
76 - Option "ScoreWhite" : report score from white's point of view (suggested by E.M.).\r
77 - Option "KibitzInterval" : try to wait this many seconds between kibitzes (suggested by E.M.)\r
78 =========1.4b26================\r
79 - Contraction of version number.\r
80 - Log if SetProcessAffinityMask is not available (suggested by E.M.).\r
81 - pipe.cpp : Make PipeStruct a proper class with private/public members.\r
82 - Check for EOF in GUI input.\r
83 - pipe.cpp : delay reporting EOF until buffer is empty.\r
84 - Messages from the Engine to PG were not logged in the windows version.\r
85 =========1.4w10UCIb24===========\r
86 - Portability fixes for WIN9X (Eric Mullins).\r
87 - Portability fixes for MSVC++ (Eric Mullins).\r
88 - Default setting of RepeatPV is now true.\r
89 - Do not read data if input buffer is full (Windows).\r
90 =========1.4w10UCIb22===========\r
91 - Polyglot now completely poll free...\r
92 =========1.4w10UCIb21===========\r
93 - Crash bug in memory command fixed\r
94 - Small optimizations\r
95 =========1.4w10UCIb20===========\r
96 - More refactoring.\r
97 - No more polling for GUI input\r
98 =========1.4w10UCIb18===========\r
99 - Two new utilities: info-book and dump-book.\r
100 =========1.4w10UCIb17===========\r
101 - More refactoring. main.cpp is now #ifdef _WIN32 free.\r
102 - The main loop (previously in adapter.cpp) is now in its own file mainloop.cpp.\r
103 - adapter.cpp has been renamed into xboard2uci.cpp. It is #ifdef _WIN32 free.\r
104 - EOF from the engine no longer kills PG. It should now\r
105 be possible to close an engine and reopen another one (if that ever became useful) \r
106 =========1.4w10UCIb16===========\r
107 - xboard options commands\r
108 - correction of handling of combo boxes in UCI protocol\r
109 - "gui-mode". It is now possible to run PG without config file\r
110 - The polyglot options are not exported, so they are now settable by the GUI\r
111 =========1.4w10UCIb15===========\r
112 - Due to refactoring time stamps in Windows would be written twice. \r
113 This has been fixed. \r
114 - More refactoring; the number of #ifdef _WIN32's has again been\r
115 drastically reduced.\r
116 =========1.4w10UCIb14===========\r
117 - option to alter priority now also works on windows\r
118 (Eric Mullins)\r
119 - refactoring so that posix and win32 part share more\r
120 code\r
121 - a number of potential busy loop scenarios have been eliminated \r
122 in the Windows code (Windows uses polling)\r
123 - the return value of CreateProcess is now checked\r
124 =========1.4w10UCIb13===========\r
125 - perft mode exposed.\r
126 =========1.4w10UCIb12===========\r
127 - Replaced %lld everywhere by S64_FORMAT.\r
128 =========1.4w10UCIb11===========\r
129 - Crash bug fix (wrong parentheses in instruction that checked for help\r
130 option).\r
131 =========1.4w10UCIb10===========\r
132 - It is now possible to do "make rpm" to make an rpm binary package. \r
133 - Trivial bug fixes.\r
134 - Documentation added for epd-test functionality (man page).\r
135 - Cosmetic cleanups of output of epd-test.\r
136 - "polyglot --help" output added.\r
137 - Added polyglot book format specification to distribution.\r
138 =========1.4w10UCIb9===========\r
139 - Trivial cosmetic fixes\r
140 - Some engines do not support the "Hash" options.\r
141 So we do not send memory=1 in that case. \r
142 =========1.4w10UCIb8===========\r
143 - Support for egtpath command in xboard protocol\r
144 =========1.4w10UCIb7===========\r
145 - Debianization: it is now possible to do "make deb" to build a Debian/Ubuntu\r
146 package.\r
147 =========1.4w10UCIb6===========\r
148 - UCI GUI support added. This makes it possible to use PG as a book engine\r
149 on GUI's like ChessBase and Arena which normally only support their\r
150 own proprietary format. \r
151 \r
152 - Support for new xboard "cores N" and "memory N" commands. See here\r
153 for a complete description\r
154 \r
155         http://home.hccnet.nl/h.g.muller/engine-intf.html\r
156 \r
157 - Some work arounds for engines like Toga which only allow some settings\r
158 to be set before the first "isready" command. \r
159 \r
160 - Autotooled distribution.\r
161 \r
162 - Proper manual page. The README file is generated automatically from this. \r
163 \r
164 - More sane naming of README files.\r
165 \r
166 - If BookLearn is false (the default) PG will open the book read only.\r
167 \r
168 - Windows and non-Windows log file formats are now the same.\r
169 \r
170 - Proper ChangeLog (you are reading it!).\r
171 =========1.4w10================\r
172 fixed analysis output for toga\r
173 =========1.4w9=================\r
174 fixed bug in 1.4w8\r
175 added RepeatPV workaround\r
176         fixed disappearing output in engine-output window while in multipv mode\r
177         when an engine sends its move to polyglot,\r
178         polyglot normally repeats the last pv string(which also contains score,depth and time usage) it got from the engine.\r
179         Some engines however do not send a new pv string just before sending the move and the now old pv string\r
180         find might confuse debugtools that parse the winboard debug files.\r
181         Adding "RepeatPV = false" to the [POLYGLOT] section of the ini file stops this repetition.\r
182  \r
183 =========1.4w8=================\r
184 fixed multipv output\r
185 note that the pv with the worst score will be on top of the engine-output window.\r
186 added timestamp in logfile (Jaap Weidemann)\r
187 \r
188 =========1.4w7=================\r
189 compiles under linux/unix again\r
190 =========1.4w6=================\r
191 access to winboard draw/drawoffer and resign\r
192 \r
193         1:to activate draw offers the engine has \r
194            to define the "UCI_DrawOffers" parameter with the 'option" command at startup. \r
195         2:to offer a draw or accept a draw offer:just send "info string DrawOffer" to polyglot. \r
196         3:if winboard sends "draw" polyglot sends "setoption DrawOffer draw" to the engine.\r
197         4.to resign: send "info string Resign" to polyglot.\r
198         please check the winboard documentation for the draw/drawoffer and resign commands.\r
199                 \r
200 =========1.4w5:================\r
201 Fixed errors in SyncStop handling.\r
202 book building: the error message now also contains the game number \r
203 added Affinity option:\r
204 In the [PolyGlot] section(ini file):\r
205 - "Affinity" mask\r
206 mask is a bit vector in which each bit represents the processors that a process is allowed to run on.\r
207 \r
208 some minor bugs fixed\r
209 \r
210 checks if child did really quit.\r
211 \r
212 \r