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