Bool transition: do not scanf directly into would-be bools.
[gnushogi.git] / ChangeLog
bloba54db497c26edd17b876432b209de81b4293986c
1 2014-02-16  Yann Dirson <ydirson@free.fr>
3         * TODO: Note remaining known bugs
5 2014-02-16  Yann Dirson <ydirson@free.fr>
7         * NEWS, gnushogi/commondsp.c: Ensure the player names are refreshed
8         after a switch (impacts Curses mode).
10 2014-02-16  Yann Dirson <ydirson@free.fr>
12         * gnushogi/rawdsp.c: EditBoard: use printf for conciseness
14 2014-02-16  Yann Dirson <ydirson@free.fr>
16         * NEWS, gnushogi/cursesdsp.c: Curses: parametrize hardcoded values
17         for captures pieces, fixing minishogi display.
19 2014-02-16  Yann Dirson <ydirson@free.fr>
21         * NEWS, gnushogi/cursesdsp.c: Curses: shift board one char to the
22         right to leave enough space for captures.  There was not really enough space to display top player's captures
23         correctly.
25 2014-02-16  Yann Dirson <ydirson@free.fr>
27         * NEWS, gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: display
28         message on wrong input.
30 2014-02-16  Yann Dirson <ydirson@free.fr>
32         * NEWS, gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: fix
33         error handling in piece setting.  On invalid piece name, the code was anyway destroying any piece in
34         the target location, and the whole logic was diluted.
36 2014-02-16  Yann Dirson <ydirson@free.fr>
38         * gnushogi/cursesdsp.c: Curses: move things around in EditBoard to
39         free the message line.
41 2014-02-16  Yann Dirson <ydirson@free.fr>
43         * NEWS, gnushogi/cursesdsp.c: Curses: fix position of lower clock
44         for minishogi.  The hunt for hardcoded values goes on...
46 2014-02-16  Yann Dirson <ydirson@free.fr>
48         * NEWS, gnushogi/cursesdsp.c: Curses: avoid getting out of 80
49         columns when editing board.  Now print user-provided chars on line following the long prompt.
51 2014-02-16  Yann Dirson <ydirson@free.fr>
53         * NEWS, gnushogi/cursesdsp.c: Curses: fix inverted column numbers
54         display for minishogi.
56 2014-02-16  Yann Dirson <ydirson@free.fr>
58         * gnushogi/cursesdsp.c: Curses: use a macro for left margin of
59         display
61 2014-02-15  Yann Dirson <ydirson@free.fr>
63         * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: simplify loop
64         logic by ending iterations early.
66 2014-02-15  Yann Dirson <ydirson@free.fr>
68         * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: restructure
69         loop for consistency.
71 2014-02-16  Yann Dirson <ydirson@free.fr>
73         * gnushogi/cursesdsp.c: EditBoard: resync Curses implementation with
74         the Raw one.
76 2014-02-15  Yann Dirson <ydirson@free.fr>
78         * NEWS, gnushogi/commondsp.c, gnushogi/cursesdsp.c,
79         gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/util.c: Fix use of
80         (COL|ROW)_NAME macros to compute numbers from names.  The formula is reversible for the somewhat-standard default position
81         notation, but that does not mean we should write silly things.  As a
82         proof, if that was needed, the formula necessary to support the
83         xboard protocol is not reversible.
85 2014-02-05  Yann Dirson <ydirson@free.fr>
87         * doc/gnushogi.texi: Remove XShogi doc from the manual, and add
88         information about available GUIs.
90 2014-02-05  Yann Dirson <ydirson@free.fr>
92         * Makefile.in, NEWS, configure.ac, doc/xshogi.6, xshogi/BUGS,
93         xshogi/Makefile.in, xshogi/NEWS, xshogi/README,
94         xshogi/README.xboard, xshogi/REMOTEHOSTS, xshogi/bitmaps.h,
95         xshogi/eastern_bitmaps/bigblank.xbm,
96         xshogi/eastern_bitmaps/bigblankR.xbm,
97         xshogi/eastern_bitmaps/biglight.xbm,
98         xshogi/eastern_bitmaps/bigsolid.xbm,
99         xshogi/eastern_bitmaps/bigsolidR.xbm,
100         xshogi/eastern_bitmaps/bigsolidR_l.xbm,
101         xshogi/eastern_bitmaps/bigsolidR_m.xbm,
102         xshogi/eastern_bitmaps/bigsolid_l.xbm,
103         xshogi/eastern_bitmaps/bigsolid_m.xbm,
104         xshogi/eastern_bitmaps/bishop.xbm,
105         xshogi/eastern_bitmaps/bishopP.top.xbm,
106         xshogi/eastern_bitmaps/bishopP.xbm,
107         xshogi/eastern_bitmaps/bishopPR.top.xbm,
108         xshogi/eastern_bitmaps/bishopPR.xbm,
109         xshogi/eastern_bitmaps/bishopPR_l.top.xbm,
110         xshogi/eastern_bitmaps/bishopPR_l.xbm,
111         xshogi/eastern_bitmaps/bishopPR_m.top.xbm,
112         xshogi/eastern_bitmaps/bishopPR_m.xbm,
113         xshogi/eastern_bitmaps/bishopP_l.top.xbm,
114         xshogi/eastern_bitmaps/bishopP_l.xbm,
115         xshogi/eastern_bitmaps/bishopP_m.top.xbm,
116         xshogi/eastern_bitmaps/bishopP_m.xbm,
117         xshogi/eastern_bitmaps/bishopR.xbm,
118         xshogi/eastern_bitmaps/bishopR_l.xbm,
119         xshogi/eastern_bitmaps/bishopR_m.xbm,
120         xshogi/eastern_bitmaps/bishop_l.xbm,
121         xshogi/eastern_bitmaps/bishop_m.xbm,
122         xshogi/eastern_bitmaps/gold.xbm, xshogi/eastern_bitmaps/goldR.xbm,
123         xshogi/eastern_bitmaps/goldR_l.xbm,
124         xshogi/eastern_bitmaps/goldR_m.xbm,
125         xshogi/eastern_bitmaps/gold_l.xbm,
126         xshogi/eastern_bitmaps/gold_m.xbm, xshogi/eastern_bitmaps/icon.xbm,
127         xshogi/eastern_bitmaps/king.xbm, xshogi/eastern_bitmaps/kingR.xbm,
128         xshogi/eastern_bitmaps/kingR_l.xbm,
129         xshogi/eastern_bitmaps/kingR_m.xbm,
130         xshogi/eastern_bitmaps/king_l.xbm,
131         xshogi/eastern_bitmaps/king_m.xbm,
132         xshogi/eastern_bitmaps/knight.xbm,
133         xshogi/eastern_bitmaps/knightP.xbm,
134         xshogi/eastern_bitmaps/knightPR.xbm,
135         xshogi/eastern_bitmaps/knightPR_l.xbm,
136         xshogi/eastern_bitmaps/knightPR_m.xbm,
137         xshogi/eastern_bitmaps/knightP_l.xbm,
138         xshogi/eastern_bitmaps/knightP_m.xbm,
139         xshogi/eastern_bitmaps/knightR.xbm,
140         xshogi/eastern_bitmaps/knightR_l.xbm,
141         xshogi/eastern_bitmaps/knightR_m.xbm,
142         xshogi/eastern_bitmaps/knight_l.xbm,
143         xshogi/eastern_bitmaps/knight_m.xbm,
144         xshogi/eastern_bitmaps/lance.xbm,
145         xshogi/eastern_bitmaps/lanceP.xbm,
146         xshogi/eastern_bitmaps/lancePR.xbm,
147         xshogi/eastern_bitmaps/lancePR_l.xbm,
148         xshogi/eastern_bitmaps/lancePR_m.xbm,
149         xshogi/eastern_bitmaps/lanceP_l.xbm,
150         xshogi/eastern_bitmaps/lanceP_m.xbm,
151         xshogi/eastern_bitmaps/lanceR.xbm,
152         xshogi/eastern_bitmaps/lanceR_l.xbm,
153         xshogi/eastern_bitmaps/lanceR_m.xbm,
154         xshogi/eastern_bitmaps/lance_l.xbm,
155         xshogi/eastern_bitmaps/lance_m.xbm,
156         xshogi/eastern_bitmaps/none.xbm, xshogi/eastern_bitmaps/none_l.xbm,
157         xshogi/eastern_bitmaps/none_m.xbm, xshogi/eastern_bitmaps/pawn.xbm,
158         xshogi/eastern_bitmaps/pawnP.xbm,
159         xshogi/eastern_bitmaps/pawnPR.xbm,
160         xshogi/eastern_bitmaps/pawnPR_l.xbm,
161         xshogi/eastern_bitmaps/pawnPR_m.xbm,
162         xshogi/eastern_bitmaps/pawnP_l.xbm,
163         xshogi/eastern_bitmaps/pawnP_m.xbm,
164         xshogi/eastern_bitmaps/pawnR.xbm,
165         xshogi/eastern_bitmaps/pawnR_l.xbm,
166         xshogi/eastern_bitmaps/pawnR_m.xbm,
167         xshogi/eastern_bitmaps/pawn_l.xbm,
168         xshogi/eastern_bitmaps/pawn_m.xbm, xshogi/eastern_bitmaps/rook.xbm,
169         xshogi/eastern_bitmaps/rookP.top.xbm,
170         xshogi/eastern_bitmaps/rookP.xbm,
171         xshogi/eastern_bitmaps/rookPR.top.xbm,
172         xshogi/eastern_bitmaps/rookPR.xbm,
173         xshogi/eastern_bitmaps/rookPR_l.top.xbm,
174         xshogi/eastern_bitmaps/rookPR_l.xbm,
175         xshogi/eastern_bitmaps/rookPR_m.top.xbm,
176         xshogi/eastern_bitmaps/rookPR_m.xbm,
177         xshogi/eastern_bitmaps/rookP_l.top.xbm,
178         xshogi/eastern_bitmaps/rookP_l.xbm,
179         xshogi/eastern_bitmaps/rookP_m.top.xbm,
180         xshogi/eastern_bitmaps/rookP_m.xbm,
181         xshogi/eastern_bitmaps/rookR.xbm,
182         xshogi/eastern_bitmaps/rookR_l.xbm,
183         xshogi/eastern_bitmaps/rookR_m.xbm,
184         xshogi/eastern_bitmaps/rook_l.xbm,
185         xshogi/eastern_bitmaps/rook_m.xbm,
186         xshogi/eastern_bitmaps/silver.xbm,
187         xshogi/eastern_bitmaps/silverP.xbm,
188         xshogi/eastern_bitmaps/silverPR.xbm,
189         xshogi/eastern_bitmaps/silverPR_l.xbm,
190         xshogi/eastern_bitmaps/silverPR_m.xbm,
191         xshogi/eastern_bitmaps/silverP_l.xbm,
192         xshogi/eastern_bitmaps/silverP_m.xbm,
193         xshogi/eastern_bitmaps/silverR.xbm,
194         xshogi/eastern_bitmaps/silverR_l.xbm,
195         xshogi/eastern_bitmaps/silverR_m.xbm,
196         xshogi/eastern_bitmaps/silver_l.xbm,
197         xshogi/eastern_bitmaps/silver_m.xbm,
198         xshogi/eastern_bitmaps/smallblank.xbm,
199         xshogi/eastern_bitmaps/smallblankR.xbm,
200         xshogi/eastern_bitmaps/smalllight.xbm,
201         xshogi/eastern_bitmaps/smallsolid.xbm,
202         xshogi/eastern_bitmaps/smallsolidR.xbm,
203         xshogi/eastern_bitmaps/smallsolidR_l.xbm,
204         xshogi/eastern_bitmaps/smallsolidR_m.xbm,
205         xshogi/eastern_bitmaps/smallsolid_l.xbm,
206         xshogi/eastern_bitmaps/smallsolid_m.xbm,
207         xshogi/new_eastern_bitmaps/bigsolidR_l.xbm,
208         xshogi/new_eastern_bitmaps/bigsolid_l.xbm,
209         xshogi/new_eastern_bitmaps/bishopPR_l.xbm,
210         xshogi/new_eastern_bitmaps/bishopP_l.xbm,
211         xshogi/new_eastern_bitmaps/bishopR_l.xbm,
212         xshogi/new_eastern_bitmaps/bishop_l.xbm,
213         xshogi/new_eastern_bitmaps/goldR_l.xbm,
214         xshogi/new_eastern_bitmaps/gold_l.xbm,
215         xshogi/new_eastern_bitmaps/kingR_l.xbm,
216         xshogi/new_eastern_bitmaps/king_l.xbm,
217         xshogi/new_eastern_bitmaps/knightPR_l.xbm,
218         xshogi/new_eastern_bitmaps/knightP_l.xbm,
219         xshogi/new_eastern_bitmaps/knightR_l.xbm,
220         xshogi/new_eastern_bitmaps/knight_l.xbm,
221         xshogi/new_eastern_bitmaps/lancePR_l.xbm,
222         xshogi/new_eastern_bitmaps/lanceP_l.xbm,
223         xshogi/new_eastern_bitmaps/lanceR_l.xbm,
224         xshogi/new_eastern_bitmaps/lance_l.xbm,
225         xshogi/new_eastern_bitmaps/none_l.xbm,
226         xshogi/new_eastern_bitmaps/pawnPR_l.xbm,
227         xshogi/new_eastern_bitmaps/pawnP_l.xbm,
228         xshogi/new_eastern_bitmaps/pawnR_l.xbm,
229         xshogi/new_eastern_bitmaps/pawn_l.xbm,
230         xshogi/new_eastern_bitmaps/rookPR_l.xbm,
231         xshogi/new_eastern_bitmaps/rookP_l.xbm,
232         xshogi/new_eastern_bitmaps/rookR_l.xbm,
233         xshogi/new_eastern_bitmaps/rook_l.xbm,
234         xshogi/new_eastern_bitmaps/silverPR_l.xbm,
235         xshogi/new_eastern_bitmaps/silverP_l.xbm,
236         xshogi/new_eastern_bitmaps/silverR_l.xbm,
237         xshogi/new_eastern_bitmaps/silver_l.xbm,
238         xshogi/new_eastern_bitmaps/smallsolidR_l.xbm,
239         xshogi/new_eastern_bitmaps/smallsolid_l.xbm,
240         xshogi/new_western_bitmaps/bishopPRW.xbm,
241         xshogi/new_western_bitmaps/bishopPW.xbm,
242         xshogi/new_western_bitmaps/bishopRW.xbm,
243         xshogi/new_western_bitmaps/bishopW.xbm,
244         xshogi/new_western_bitmaps/goldRW.xbm,
245         xshogi/new_western_bitmaps/goldW.xbm,
246         xshogi/new_western_bitmaps/kingRW.xbm,
247         xshogi/new_western_bitmaps/kingW.xbm,
248         xshogi/new_western_bitmaps/knightPRW.xbm,
249         xshogi/new_western_bitmaps/knightPW.xbm,
250         xshogi/new_western_bitmaps/knightRW.xbm,
251         xshogi/new_western_bitmaps/knightW.xbm,
252         xshogi/new_western_bitmaps/lancePRW.xbm,
253         xshogi/new_western_bitmaps/lancePW.xbm,
254         xshogi/new_western_bitmaps/lanceRW.xbm,
255         xshogi/new_western_bitmaps/lanceW.xbm,
256         xshogi/new_western_bitmaps/noneW.xbm,
257         xshogi/new_western_bitmaps/pawnPRW.xbm,
258         xshogi/new_western_bitmaps/pawnPW.xbm,
259         xshogi/new_western_bitmaps/pawnRW.xbm,
260         xshogi/new_western_bitmaps/pawnW.xbm,
261         xshogi/new_western_bitmaps/rookPRW.xbm,
262         xshogi/new_western_bitmaps/rookPW.xbm,
263         xshogi/new_western_bitmaps/rookRW.xbm,
264         xshogi/new_western_bitmaps/rookW.xbm,
265         xshogi/new_western_bitmaps/silverPRW.xbm,
266         xshogi/new_western_bitmaps/silverPW.xbm,
267         xshogi/new_western_bitmaps/silverRW.xbm,
268         xshogi/new_western_bitmaps/silverW.xbm, xshogi/parser.y,
269         xshogi/scanner.l, xshogi/sysdeps.h,
270         xshogi/western_bitmaps/bishopPRW.xbm,
271         xshogi/western_bitmaps/bishopPW.xbm,
272         xshogi/western_bitmaps/bishopRW.xbm,
273         xshogi/western_bitmaps/bishopW.xbm,
274         xshogi/western_bitmaps/goldRW.xbm,
275         xshogi/western_bitmaps/goldW.xbm,
276         xshogi/western_bitmaps/kingRW.xbm,
277         xshogi/western_bitmaps/kingW.xbm,
278         xshogi/western_bitmaps/knightPRW.xbm,
279         xshogi/western_bitmaps/knightPW.xbm,
280         xshogi/western_bitmaps/knightRW.xbm,
281         xshogi/western_bitmaps/knightW.xbm,
282         xshogi/western_bitmaps/lancePRW.xbm,
283         xshogi/western_bitmaps/lancePW.xbm,
284         xshogi/western_bitmaps/lanceRW.xbm,
285         xshogi/western_bitmaps/lanceW.xbm,
286         xshogi/western_bitmaps/noneW.xbm,
287         xshogi/western_bitmaps/pawnPRW.xbm,
288         xshogi/western_bitmaps/pawnPW.xbm,
289         xshogi/western_bitmaps/pawnRW.xbm,
290         xshogi/western_bitmaps/pawnW.xbm,
291         xshogi/western_bitmaps/rookPRW.xbm,
292         xshogi/western_bitmaps/rookPW.xbm,
293         xshogi/western_bitmaps/rookRW.xbm,
294         xshogi/western_bitmaps/rookW.xbm,
295         xshogi/western_bitmaps/silverPRW.xbm,
296         xshogi/western_bitmaps/silverPW.xbm,
297         xshogi/western_bitmaps/silverRW.xbm,
298         xshogi/western_bitmaps/silverW.xbm, xshogi/xshogi.c,
299         xshogi/xshogi.h, xshogi/xshogifn.h: Remove XShogi from the source
300         tree
302 2014-01-16  Yann Dirson <ydirson@free.fr>
304         * configure.ac: Bump version to "1.4.1+".
306 2014-01-14  Yann Dirson <ydirson@free.fr>
308         * ChangeLog, NEWS, README, configure.ac: Prepare v1.4.1
310 2014-01-14  Yann Dirson <ydirson@free.fr>
312         * AUTHORS: Update maintainership info in AUTHORS.
314 2014-01-14  Yann Dirson <ydirson@free.fr>
316         * Makefile.in, gnushogi/Makefile.in, gnushogi/attacks.c,
317         gnushogi/book.c, gnushogi/book.h, gnushogi/commondsp.c,
318         gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/debug.h,
319         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/eval.c,
320         gnushogi/eval.h, gnushogi/genmove.c, gnushogi/globals.c,
321         gnushogi/gnushogi.h, gnushogi/init.c, gnushogi/main.c,
322         gnushogi/makepattern.c, gnushogi/opts.h, gnushogi/pat2inc.c,
323         gnushogi/pattern.c, gnushogi/pattern.h, gnushogi/rawdsp.c,
324         gnushogi/rawdsp.h, gnushogi/search.c, gnushogi/sizetest.c,
325         gnushogi/tcontrl.c, gnushogi/util.c: Update copyright info for 2008
326         (minishogi patches) and recent developments.
328 2014-01-14  Yann Dirson <ydirson@free.fr>
330         * gnushogi/init-common.c, gnushogi/pattern-common.c: Add missing
331         copyright info to *-common.c, added by the minishogi patches.
333 2014-01-14  Yann Dirson <ydirson@free.fr>
335         * gnushogi/pattern.c: Adjust comment to prevent licensecheck from
336         considering pattern.c as generated
338 2014-01-14  Yann Dirson <ydirson@free.fr>
340         * doc/gnushogi.texi: Doc: mention 1.4.1
342 2014-01-14  Yann Dirson <ydirson@free.fr>
344         * doc/gnushogi.texi: Doc: more on shogi variants in general, and
345         Mini Shogi in particular.
347 2014-01-12  Yann Dirson <ydirson@free.fr>
349         * configure.ac: Bump version to "1.4.1-rc1+".
351 2013-12-18  Yann Dirson <ydirson@free.fr>
353         * Makefile.in: Fix "make distclean" when there is no editor backup
354         file to remove.
356 2013-12-18  Yann Dirson <ydirson@free.fr>
358         * NEWS, configure.ac: Prepare v1.4.1rc1.
360 2013-12-17  Yann Dirson <ydirson@free.fr>
362         * .gitignore, Makefile.in, configure.ac,
363         misc/mkmakefile.mingw-on-cygwin, win32/config.h.in: Add build
364         support for win32 on cygwin (gcc3).
366 2013-12-17  Yann Dirson <ydirson@free.fr>
368         * README.maint, TODO, configure.ac, gnushogi/Makefile.profile.in: 
369         Get rid of Makefile.profile, document flags to use in README.maint
370         instead.  We don't want to maintain Makefile.profile as a quasi-copy of main
371         Makefile, that's not a good practice at all.
373 2013-12-17  Yann Dirson <ydirson@free.fr>
375         * gnushogi/pat2inc.c: Kill dead code in pat2inc.
377 2013-12-17  Yann Dirson <ydirson@free.fr>
379         * gnushogi/makepattern.c, gnushogi/pat2inc.c, gnushogi/pattern.c: 
380         Minor pat2inc code cleanups
382 2013-12-17  Yann Dirson <ydirson@free.fr>
384         * gnushogi/Makefile.in: Drop useless defines for pat2inc build.
386 2013-12-17  Yann Dirson <ydirson@free.fr>
388         * doc/Makefile.in, doc/{gnushogi.texinfo => gnushogi.texi}: Use
389         .texi suffix, preferred to .texinfo.
391 2013-12-16  Yann Dirson <ydirson@free.fr>
393         * gnushogi/Makefile.in: Fix ordering of include dirs.  Local headers first, then build dir, then src dir.
395 2013-12-16  Yann Dirson <ydirson@free.fr>
397         * Makefile.in: Minor makefile improvements
399 2013-12-15  Yann Dirson <ydirson@free.fr>
401         * gnushogi/opts.h: Move into opts.h the "mostly for hacking" remark
402         from INSTALL file.
404 2013-12-05  Yann Dirson <ydirson@free.fr>
406         * .gitignore: Update .gitignore for doc/ dir.
408 2013-12-05  Yann Dirson <ydirson@free.fr>
410         * gnushogi/commondsp.c, gnushogi/cursesdsp.c,
411         gnushogi/dspwrappers.c: #define _POSIX_C_SOURCE to get proper access
412         to snprintf and vsnprintf.
414 2013-12-05  Yann Dirson <ydirson@free.fr>
416         * configure.ac, gnushogi/rawdsp.c: Use POSIX setvbuf in preference
417         to BSD setlinebuf.  This avoids implicit declaration of setlinebuf with GNU libc, which
418         would have required to define _BSD_SOURCE just to get rid of, and is
419         not an innocuous setting.  Drop call to no-op AC_FUNC_SETVBUF_REVERSED at the same time.
421 2013-12-05  Yann Dirson <ydirson@free.fr>
423         * configure.ac: Fully quote autoconf macro arguments, as they
424         should.
426 2013-12-05  Yann Dirson <ydirson@free.fr>
428         * configure.ac: Bump version to "1.4.1-rc0+".
430 2013-12-05  Yann Dirson <ydirson@free.fr>
432         * doc/Makefile.in: Generate HTML doc using makeinfo, instead of
433         obsolecent texi2html
435 2013-11-07  Yann Dirson <ydirson@free.fr>
437         * NEWS, README, configure.ac: Prepare v1.4.1rc0.
439 2013-11-07  Yann Dirson <ydirson@free.fr>
441         * doc/gnushogi.texinfo: Update manual for maintainer, project
442         communication, and plans.
444 2013-11-07  Yann Dirson <ydirson@free.fr>
446         * TODO: Update TODO: there are plans for v1.5, and things have been
447         done.
449 2013-11-05  Yann Dirson <ydirson@free.fr>
451         * Makefile.in: Fix "make dist" not to include a recursive copy of
452         the dist.
454 2013-11-05  Yann Dirson <ydirson@free.fr>
456         * doc/gnushogi.texinfo: Fix formatting of boards in texinfo doc.
458 2013-11-05  Yann Dirson <ydirson@free.fr>
460         * NEWS: Update NEWS file for upcoming 1.4.1.
462 2013-11-05  Yann Dirson <ydirson@free.fr>
464         * doc/gnushogi.6: Remove version number from manpage.  It was not very useful there, and has been out of sync with the
465         software version anyway.
467 2013-11-05  Yann Dirson <ydirson@free.fr>
469         * Makefile.in, gnushogi/Makefile.in, gnushogi/Makefile.profile.in,
470         xshogi/Makefile.in: Remove unused obsolete version numbers from
471         Makefiles.
473 2013-10-20  Yann Dirson <ydirson@free.fr>
475         * TODO: Take note of more cleanups to do.
477 2013-10-20  Yann Dirson <ydirson@free.fr>
479         * configure.ac, gnushogi/Makefile.in: Move hashfile definition from
480         configure.ac into Makefile.in Like other similar defs...
482 2013-10-20  Yann Dirson <ydirson@free.fr>
484         * .gitignore, Makefile.in, configure.ac, gnushogi/Makefile.in,
485         misc/gnuminishogi.tbk: Use configure --enable-minishogi to select
486         build of gnuminishogi.  At the same time, provide an empty gnuminishogi.tbk so things work
487         more as they should.  Only the patterns are still necessary to specify manually at this
488         point.
490 2013-09-27  H.G. Muller <h.g.muller@hccnet.nl>
492         * gnushogi/eval.c: Fix mini-Shogi out-of-bounds acces of board
494 2011-09-29  Yann Dirson <ydirson@free.fr>
496         * gnushogi/eval.c: Avoid looking at the game type to determine
497         minishogi piece values.  We don't know how to determine the game type anyway, and a previous
498         patch disables its computation, but no need to compile dead code in
499         this case.  Another problem to look at is that "in_opening_stage" is surely
500         badly tuned for MiniShogi, but the program seems to score better
501         with current code that by telling there is opening stage.  Flag FIXME's where applicable so some willing soul would know where
502         to find things to improve for MiniShogi.
504 2011-09-28  Yann Dirson <ydirson@free.fr>
506         * gnushogi/eval.c: Disable GuessGameType() for MiniShogi.  Game types for MiniShogi are surely different from the ones in
507         Shogi, so this would require serious thought to get it right.  Just
508         pretend we don't know.
510 2011-09-28  Yann Dirson <ydirson@free.fr>
512         * gnushogi/eval.c: Fix ScorePosition() for MiniShogi.  Gcc's stack-smashing protection combined with glibc's
513         -D_FORTIFY_SOURCE detected with a segfault that we were using
514         9x9-board offsets on our 5x5 board.  This patch abstracts the
515         relevant hardcoded constants and provides correct values for
516         MiniShogi.
518 2008-02-11  Yann Dirson <ydirson@altern.org>
520         * TODO, gnushogi/Makefile.in, gnushogi/init-common.c,
521         gnushogi/init.c, gnushogi/makepattern.c, gnushogi/pat2inc.c,
522         gnushogi/pattern-common.c, gnushogi/pattern.c,
523         gnushogi/pattern.inc, misc/gnuminishogi.pat: Generate patterns.inc
524         at build time.
526 2008-02-11  Yann Dirson <ydirson@altern.org>
528         * TODO, gnushogi/attacks.c, gnushogi/commondsp.c,
529         gnushogi/cursesdsp.c, gnushogi/eval.c, gnushogi/genmove.c,
530         gnushogi/globals.c, gnushogi/gnushogi.h, gnushogi/init.c: Initial
531         attempt at minishogi.  This preliminar minishogi takes the approach of conditional
532         compilation, so I can focus on differences between shogi and
533         minishogi.  Those ifdef's are expected to progressively disappear as
534         the support code is made generic enough to support the needs of both
535         variants.
537 2013-10-20  Yann Dirson <ydirson@free.fr>
539         * Makefile.in, configure.ac, doc/{Makefile => Makefile.in},
540         gnushogi/Makefile.in: Fix various regression for building out of
541         tree.  Most notably, doc was never buildable out of tree, but the recent
542         build enhancements did not take that into account.
544 2013-09-27  H.G. Muller <h.g.muller@hccnet.nl>
546         * gnushogi/gnushogi.h, gnushogi/init.c, gnushogi/rawdsp.c: Windows
547         port This patch makes GNU Shogi compilable with gcc under Cygwin, using
548         the -mno-cygwin flag, so that it can run as a native Windows
549         application, independent of Cygwin1.dll.  The patch is fully conditional, based on defined(WIN32).  YD: rebased onto recent refactorings
551 2013-11-03  Yann Dirson <ydirson@free.fr>
553         * configure.ac: Normalize configure --help using AS_HELP_STRING.
555 2013-11-03  Yann Dirson <ydirson@free.fr>
557         * configure.ac: Don't bail out if configure (without --with-curses)
558         does not find libcurses.  Only fail when --with-curses was requested and libcurses cannot be
559         found.
561 2013-11-03  Yann Dirson <ydirson@free.fr>
563         * gnushogi/Makefile.in, gnushogi/Makefile.profile.in: Fix funny
564         search-and-replace copyright typo.
566 2013-11-03  Yann Dirson <ydirson@free.fr>
568         * configure.ac, gnushogi/Makefile.in, gnushogi/commondsp.c,
569         gnushogi/cursesdsp.c, gnushogi/gnushogi.h, gnushogi/main.c,
570         gnushogi/pat2inc.c, gnushogi/rawdsp.c, gnushogi/sizetest.c,
571         version.h, xshogi/Makefile.in, xshogi/xshogi.c: Use centralized
572         version from configure.ac, drop use of separate patchlevel.
574 2013-11-03  Yann Dirson <ydirson@free.fr>
576         * gnushogi/Makefile.in, gnushogi/book.c, gnushogi/commondsp.c,
577         gnushogi/cursesdsp.c, gnushogi/globals.c, gnushogi/gnushogi.h,
578         gnushogi/init.c, gnushogi/main.c, gnushogi/pat2inc.c,
579         gnushogi/rawdsp.c, gnushogi/search.c, gnushogi/util.c,
580         misc/gnushogi.lng: Move strings back into source code, from .lng
581         support.  * there is no point in translating the protocol * if someone wants to translate the curses UI, this should be done
582           with gettext
584 2013-10-23  Yann Dirson <ydirson@free.fr>
586         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
587         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h,
588         gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/rawdsp.h,
589         gnushogi/tcontrl.c: Move ElapsedTime to tcontrl.c, now that there is
590         a single implementation.
592 2013-10-23  Yann Dirson <ydirson@free.fr>
594         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
595         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
596         gnushogi/rawdsp.h, gnushogi/search.c: Make UpdateClocks and
597         input-polling dspwrappers-based too.  Those things are the only thing called from ElapsedTime() to be
598         different between Curses and Raw/X, and were not abstracted yet.  The poll-based polling code was not called from within
599         ElapsedTime(), which made it less frequently called, but that did
600         not seem to be a problem.  And it was redundant in Curses mode with
601         the FIONREAD call.
603 2013-10-22  Yann Dirson <ydirson@free.fr>
605         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
606         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
607         gnushogi/rawdsp.h: Fix regression with stdarg dspwrappers.  1be442641b610fa1b6172a38d9acffe2d22797b6 and
608         3f589711eb3ecc7644378d6a0f2f29bc4b4c7db9 are both broken, passing
609         the va_list inside another va_list to poor unsuspecting backend
610         implementations.
612 2013-10-19  Yann Dirson <ydirson@free.fr>
614         * gnushogi/makepattern.c: Fixed minor regression in makepatter.  In 6cdb4afe21c8d0eb740a6a22a02a0adf922fddfc, I messed up a
615         conditional causing an error message to be written even when we did
616         find a pattern file.
618 2013-10-19  Yann Dirson <ydirson@free.fr>
620         * gnushogi/cursesdsp.c, gnushogi/gnushogi.h: Fix build of
621         --with-curses mode.  Broken by 6030715dffdadf4402dccf6a8bf9966cfab2be1d and not checked
622         soon enough :(
624 2013-10-19  Yann Dirson <ydirson@free.fr>
626         * gnushogi/cursesdsp.c: Drop non-curses support from
627         Curses_ElapsedTime.  Similar to 58e443e7ec0d834fe75a9eda53f4cfaf7f8b106c, was a remnant
628         from before 4a9acd2e4d21586f2af629ec44cd78c237dcd702.
630 2013-10-19  Yann Dirson <ydirson@free.fr>
632         * gnushogi/makepattern.c: Drop NOT_CURSES occurences from
633         makepattern.  Why on earth are we supposing that pat2inc would run in Curses mode
634         one day ?
636 2013-10-19  Yann Dirson <ydirson@free.fr>
638         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
639         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
640         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers:
641         SetupBoard.  Not a very big problem since that function is not curses-only this
642         time, but raw-only.  But this is the natural continuation of the
643         "nuke NOT_CURSES" movement.
645 2013-10-19  Yann Dirson <ydirson@free.fr>
647         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/gnushogi.h: 
648         Stop exporting Curses-internal functions to everyone.  Possible since cursesdsp is now self-contained.
650 2013-10-19  Yann Dirson <ydirson@free.fr>
652         * configure.ac, gnushogi/Makefile.in: Finish the --without-curses
653         support.  Now that all the silly problems refering to Curses-specific
654         functions from unrelated places are all solved, we can spare linking
655         cursesdsp when not required.
657 2013-10-19  Yann Dirson <ydirson@free.fr>
659         * gnushogi/rawdsp.c: Remove dead Curses-specific code from
660         Raw_ElapsedTime()
662 2013-10-19  Yann Dirson <ydirson@free.fr>
664         * gnushogi/search.c: Remove useless explicit prototype for pow().
666 2013-10-19  Yann Dirson <ydirson@free.fr>
668         * gnushogi/Makefile.in, gnushogi/Makefile.profile.in,
669         gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/dspwrappers.c,
670         gnushogi/dspwrappers.h, gnushogi/gnushogi.h, gnushogi/rawdsp.c,
671         gnushogi/rawdsp.h, gnushogi/sysdeps.c: Change ElapsedTime to a
672         normal display function.  The FIONREAD version is clearly tied to Curses, and the NOFIONREAD
673         works corectly with xshogi/xboard as well as Raw.  No reason for a
674         separate mechanism.  --without-curses now builds as expected.
676 2013-10-19  Yann Dirson <ydirson@free.fr>
678         * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: Make spacing consistent
679         in *dsp.c, kill unused global hidden between funcs.
681 2013-10-19  Yann Dirson <ydirson@free.fr>
683         * gnushogi/sysdeps.c: Factorize ElapsedTime implementations by
684         restricting HAVE_GETTIMEOFDAY #ifdef's.  (and take the best-looking one on cosmetic differences)
686 2013-10-19  Yann Dirson <ydirson@free.fr>
688         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
689         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h,
690         gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/rawdsp.h: Fix
691         ShowPrompt implementation across display drivers.
693 2013-10-17  Yann Dirson <ydirson@free.fr>
695         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
696         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
697         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers:
698         GetString.  Thin function is the first non-void one and shows the limits of the
699         current macro set.  Let's consider this stuff to be temporary.  At least it finally allows to drop #include <curses.h> from
700         commondsp.
702 2013-10-16  Yann Dirson <ydirson@free.fr>
704         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
705         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
706         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers:
707         AlwaysShowMessage.
709 2013-10-16  Yann Dirson <ydirson@free.fr>
711         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
712         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
713         gnushogi/rawdsp.h: Provide a Raw version of ShowNodeCnt to avoid
714         more #ifdef's.  At the same time, nuking "#ifdef DYNAMIC_ZNODES" (dead code).
716 2013-10-16  Yann Dirson <ydirson@free.fr>
718         * gnushogi/commondsp.c: When in check, complain with the requested
719         move.  Looks like in xshogi mode we were complaining by explicitly using
720         the algebraic notation, but apparently noone forces us to do so.
722 2013-10-15  Yann Dirson <ydirson@free.fr>
724         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
725         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
726         gnushogi/rawdsp.h: Add safeguard against buffer overflow when
727         calling scanf.
729 2013-10-15  Yann Dirson <ydirson@free.fr>
731         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
732         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
733         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers.
735 2013-10-19  Yann Dirson <ydirson@free.fr>
737         * configure.ac: Configure: stop abusing AC_MSG_CHECKING, use correct
738         idioms.
740 2013-10-14  Yann Dirson <ydirson@free.fr>
742         * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c,
743         xshogi/xshogi.c: Finally get rid of that highly non-standard use of
744         SIGINT.  People will at last be able to Ctrl-C gnushogi :)
746 2013-10-14  Yann Dirson <ydirson@free.fr>
748         * gnushogi/search.c: Regularly check for user input when searching,
749         to have a chance to catch EOF from engine.  When an engine quits without terminating a searching gnushogi, it
750         would continue to search and never realize there was no reason to
751         continue.  This is a poll-based implementation of what H.G.Muller wrote for
752         WIN32 to circumvent the lack of UNIX signals there.
754 2013-10-14  Yann Dirson <ydirson@free.fr>
756         * gnushogi/commondsp.c, gnushogi/rawdsp.c: Detect EOF waiting for
757         user input in xshogi and raw modes, and trigger exit.  No idea why the raw implementation of ExitShogi() did not call
758         exit().  Even after detecting EOF, we were thrown into a tight
759         loop...
761 2013-10-13  Yann Dirson <ydirson@free.fr>
763         * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c,
764         xshogi/xshogi.c: Restore SIGINT for stopping gnushogi when thinking.  SIGINT is unfortunately part of the protocol inherited from
765         gnuchess4, and is used by xboard as such.  So this was not a proper
766         fix for the original issue.  This reverts commit 00e10bc4a760150665436b17c50abf264f28d435, "Don't
767         intercept INT and QUIT signals, and use USR1 instead of QUIT for".
769 2013-10-14  Yann Dirson <ydirson@free.fr>
771         * configure.ac: Rename configure --with-xshogi to --enable-xshogi
772         for correctness.
774 2013-10-08  Yann Dirson <ydirson@free.fr>
776         * Makefile.in, configure.ac: Start of a "make dist" target.  The old one uses a script that was never published...
778 2013-10-08  Yann Dirson <ydirson@free.fr>
780         * .gitignore, Makefile.in, doc/Makefile, doc/gnushogi.html,
781         doc/gnushogi.info, doc/gnushogi.info-1, doc/gnushogi.info-2,
782         doc/gnushogi.ps, doc/gnushogi_1.html, doc/gnushogi_10.html,
783         doc/gnushogi_11.html, doc/gnushogi_12.html, doc/gnushogi_13.html,
784         doc/gnushogi_14.html, doc/gnushogi_15.html, doc/gnushogi_16.html,
785         doc/gnushogi_17.html, doc/gnushogi_18.html, doc/gnushogi_19.html,
786         doc/gnushogi_2.html, doc/gnushogi_20.html, doc/gnushogi_21.html,
787         doc/gnushogi_22.html, doc/gnushogi_23.html, doc/gnushogi_24.html,
788         doc/gnushogi_3.html, doc/gnushogi_4.html, doc/gnushogi_5.html,
789         doc/gnushogi_6.html, doc/gnushogi_7.html, doc/gnushogi_8.html,
790         doc/gnushogi_9.html, doc/gnushogi_abt.html, doc/gnushogi_ovr.html,
791         doc/gnushogi_toc.html, doc/texinfo.tex: Rework doc-handing make
792         rules and remove generated files from version control.  Newer texinfo.tex was imported from texinfo 5.1.
794 2013-10-08  Yann Dirson <ydirson@free.fr>
796         * doc/Makefile, doc/make_fig1, doc/make_fig2: Remove hack previously
797         used to insert diags into generated HTML.  Useless since db5c540ff7e9dd176f797b50031141e2c2059456.
799 2013-10-08  Yann Dirson <ydirson@free.fr>
801         * autogen.sh: Don't cause autogen.sh to run configure.
803 2013-10-08  Yann Dirson <ydirson@free.fr>
805         * ChangeLog, README.maint: Initiate new ChangeLog using git2cl.
807 2013-10-08  Yann Dirson <ydirson@free.fr>
809         * ChangeLog => ChangeLog.old, NEWS: Start to fill NEWS, rotate
810         pre-git logs to ChangeLog.old.
812 2013-10-08  Yann Dirson <ydirson@free.fr>
814         * doc/gnushogi.texinfo: Critical texinfo doc formatting fixes.  * "@sp 1" everywhere look ugly today * ASCII rendering of boards requires @verbatim
816 2013-10-08  Yann Dirson <ydirson@free.fr>
818         * doc/gnushogi.texinfo: Use @ifnotex and not @ifinfo, or HTML does
819         not get its ToC.
821 2013-10-08  Yann Dirson <ydirson@free.fr>
823         * doc/gnushogi.texinfo: Remove text of the GPL (v2) from texinfo
824         doc, it did not format any more though TeX.
826 2013-09-30  Yann Dirson <ydirson@free.fr>
828         * gnushogi/Makefile.in, xshogi/Makefile.in: Honor LDFLAGS at
829         link-time.
831 2013-09-29  Yann Dirson <ydirson@free.fr>
833         * configure.ac, gnushogi/dspwrappers.c, gnushogi/gnushogi.h,
834         gnushogi/main.c: Allow configure --without-curses.  Not finding libcurses was surely causing problems, we now also
835         proceed cleanly in that case.
837 2013-09-29  Yann Dirson <ydirson@free.fr>
839         * gnushogi/dspwrappers.c: Remove excessive boilerplate duplication
840         from dspwrappers.
842 2013-09-29  Yann Dirson <ydirson@free.fr>
844         * .gitignore: Add .gitignore file
846 2013-09-29  Yann Dirson <ydirson@free.fr>
848         * configure.ac: Clarify configure options that only relate to xshogi
850 2013-10-03  Yann Dirson <ydirson@free.fr>
852         * gnushogi/Makefile.in, gnushogi/Makefile.profile.in,
853         gnushogi/attacks.c, gnushogi/book.c, gnushogi/book.h,
854         gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
855         gnushogi/debug.h, gnushogi/dspwrappers.c, gnushogi/dspwrappers.h,
856         gnushogi/eval.c, gnushogi/eval.h, gnushogi/genmove.c,
857         gnushogi/globals.c, gnushogi/gnushogi.h, gnushogi/init.c,
858         gnushogi/main.c, gnushogi/makepattern.c, gnushogi/opts.h,
859         gnushogi/pat2inc.c, gnushogi/pattern.c, gnushogi/pattern.h,
860         gnushogi/rawdsp.c, gnushogi/rawdsp.h, gnushogi/search.c,
861         gnushogi/sizetest.c, gnushogi/sysdeps.c, gnushogi/tcontrl.c,
862         gnushogi/util.c, version.h: Restore previous copyright information
863         that got removed by error.  This reverts part of commit
864         82b026e6376b640a4d3409a461dd6bd83708e33e, which changed too much of
865         the copyright headers when changing license to GPL3.
867 2011-09-29  Yann Dirson <ydirson@free.fr>
869         * gnushogi/eval.c: Fix another hardcored 9x9-board hardcoded value.
871 2008-02-11  Yann Dirson <ydirson@altern.org>
873         * gnushogi/commondsp.c, gnushogi/gnushogi.h, gnushogi/init.c: 
874         Document internal APIs.
876 2008-02-11  Yann Dirson <ydirson@altern.org>
878         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/eval.c,
879         gnushogi/genmove.c, gnushogi/gnushogi.h, gnushogi/init.c,
880         gnushogi/rawdsp.c, gnushogi/util.c: Parametrize more hardcoded
881         contants.
883 2008-02-11  Yann Dirson <ydirson@altern.org>
885         * gnushogi/gnushogi.h: Use enums.
887 2008-02-11  Yann Dirson <ydirson@altern.org>
889         * gnushogi/Makefile.in, gnushogi/gnushogi.h, xshogi/Makefile.in: Add
890         support for building gnushogi and xshogi out of source tree.
892 2011-09-27  Yann Dirson <ydirson@free.fr>
894         * gnushogi/book.c, gnushogi/commondsp.c, gnushogi/main.c,
895         gnushogi/rawdsp.c: Deal with warnings raised by -Wformat-security.
897 2009-08-03  Stijn van Drongelen <tinctorius@gmail.com>
899         * gnushogi/rawdsp.c: Fixes segfault in gnushogi when asking for
900         help.  Closes Debian Bug#434139.
902 2008-02-11  Yann Dirson <ydirson@altern.org>
904         * gnushogi/pattern.c, gnushogi/pattern.h: Statify functions not used
905         outside their compilation unit.
907 2008-02-11  Yann Dirson <ydirson@altern.org>
909         * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c,
910         xshogi/xshogi.c: Don't intercept INT and QUIT signals, and use USR1
911         instead of QUIT for communication.  This braindead use of SIGINT causes problem when a frontend is
912         interrupted with Ctrl-C: if gnushogi is waiting for input, it would
913         enter a tight loop trying to read stdin, eating 100% CPU.
915 2008-01-18  Yann Dirson <ydirson@altern.org>
917         * gnushogi/eval.c, gnushogi/search.c: Fix integer overflow caused by
918         bad use of binary operator.  Guess this may make the AI more accurate :) Problem caught by gcc: ../../gnushogi/search.c: In function 'search':
919         ../../gnushogi/search.c:887: warning: overflow in implicit constant
920         conversion A quick audit only revealed a place where another logical AND was
921         tested using a curious idiom, so let's make it consistent at the
922         same time.
924 2008-01-18  Yann Dirson <ydirson@altern.org>
926         * gnushogi/sysdeps.c: Do not attempt to outguess system headers by
927         (re)defining errno.  Recent glibc define error as a cpp macro expanding to a function
928         call.  Thus, "extern int errno" should cause a link-time undefined
929         symbol when errno.h is not included.  Here it is, and gcc complains
930         with the following cryptic warning: ../../gnushogi/sysdeps.c: In function 'ElapsedTime_FIONREAD':
931         ../../gnushogi/sysdeps.c:97: warning: function declaration isn't a
932         prototype
934 2008-01-18  Yann Dirson <ydirson@altern.org>
936         * gnushogi/pat2inc.c: Fix a function prototype.
938 2012-05-20  Yann Dirson <ydirson@free.fr>
940         * Add missing info headers