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