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