Remove more duplicate variable declarations.
[gnushogi.git] / ChangeLog
1 2014-01-14  Yann Dirson <ydirson@free.fr>
2
3         * AUTHORS: Update maintainership info in AUTHORS.
4
5 2014-01-14  Yann Dirson <ydirson@free.fr>
6
7         * Makefile.in, gnushogi/Makefile.in, gnushogi/attacks.c,
8         gnushogi/book.c, gnushogi/book.h, gnushogi/commondsp.c,
9         gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/debug.h,
10         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/eval.c,
11         gnushogi/eval.h, gnushogi/genmove.c, gnushogi/globals.c,
12         gnushogi/gnushogi.h, gnushogi/init.c, gnushogi/main.c,
13         gnushogi/makepattern.c, gnushogi/opts.h, gnushogi/pat2inc.c,
14         gnushogi/pattern.c, gnushogi/pattern.h, gnushogi/rawdsp.c,
15         gnushogi/rawdsp.h, gnushogi/search.c, gnushogi/sizetest.c,
16         gnushogi/tcontrl.c, gnushogi/util.c: Update copyright info for 2008
17         (minishogi patches) and recent developments.
18
19 2014-01-14  Yann Dirson <ydirson@free.fr>
20
21         * gnushogi/init-common.c, gnushogi/pattern-common.c: Add missing
22         copyright info to *-common.c, added by the minishogi patches.
23
24 2014-01-14  Yann Dirson <ydirson@free.fr>
25
26         * gnushogi/pattern.c: Adjust comment to prevent licensecheck from
27         considering pattern.c as generated
28
29 2014-01-14  Yann Dirson <ydirson@free.fr>
30
31         * doc/gnushogi.texi: Doc: mention 1.4.1
32
33 2014-01-14  Yann Dirson <ydirson@free.fr>
34
35         * doc/gnushogi.texi: Doc: more on shogi variants in general, and
36         Mini Shogi in particular.
37
38 2014-01-12  Yann Dirson <ydirson@free.fr>
39
40         * configure.ac: Bump version to "1.4.1-rc1+".
41
42 2013-12-18  Yann Dirson <ydirson@free.fr>
43
44         * Makefile.in: Fix "make distclean" when there is no editor backup
45         file to remove.
46
47 2013-12-18  Yann Dirson <ydirson@free.fr>
48
49         * NEWS, configure.ac: Prepare v1.4.1rc1.
50
51 2013-12-17  Yann Dirson <ydirson@free.fr>
52
53         * .gitignore, Makefile.in, configure.ac,
54         misc/mkmakefile.mingw-on-cygwin, win32/config.h.in: Add build
55         support for win32 on cygwin (gcc3).
56
57 2013-12-17  Yann Dirson <ydirson@free.fr>
58
59         * README.maint, TODO, configure.ac, gnushogi/Makefile.profile.in: 
60         Get rid of Makefile.profile, document flags to use in README.maint
61         instead.  We don't want to maintain Makefile.profile as a quasi-copy of main
62         Makefile, that's not a good practice at all.
63
64 2013-12-17  Yann Dirson <ydirson@free.fr>
65
66         * gnushogi/pat2inc.c: Kill dead code in pat2inc.
67
68 2013-12-17  Yann Dirson <ydirson@free.fr>
69
70         * gnushogi/makepattern.c, gnushogi/pat2inc.c, gnushogi/pattern.c: 
71         Minor pat2inc code cleanups
72
73 2013-12-17  Yann Dirson <ydirson@free.fr>
74
75         * gnushogi/Makefile.in: Drop useless defines for pat2inc build.
76
77 2013-12-17  Yann Dirson <ydirson@free.fr>
78
79         * doc/Makefile.in, doc/{gnushogi.texinfo => gnushogi.texi}: Use
80         .texi suffix, preferred to .texinfo.
81
82 2013-12-16  Yann Dirson <ydirson@free.fr>
83
84         * gnushogi/Makefile.in: Fix ordering of include dirs.  Local headers first, then build dir, then src dir.
85
86 2013-12-16  Yann Dirson <ydirson@free.fr>
87
88         * Makefile.in: Minor makefile improvements
89
90 2013-12-15  Yann Dirson <ydirson@free.fr>
91
92         * gnushogi/opts.h: Move into opts.h the "mostly for hacking" remark
93         from INSTALL file.
94
95 2013-12-05  Yann Dirson <ydirson@free.fr>
96
97         * .gitignore: Update .gitignore for doc/ dir.
98
99 2013-12-05  Yann Dirson <ydirson@free.fr>
100
101         * gnushogi/commondsp.c, gnushogi/cursesdsp.c,
102         gnushogi/dspwrappers.c: #define _POSIX_C_SOURCE to get proper access
103         to snprintf and vsnprintf.
104
105 2013-12-05  Yann Dirson <ydirson@free.fr>
106
107         * configure.ac, gnushogi/rawdsp.c: Use POSIX setvbuf in preference
108         to BSD setlinebuf.  This avoids implicit declaration of setlinebuf with GNU libc, which
109         would have required to define _BSD_SOURCE just to get rid of, and is
110         not an innocuous setting.  Drop call to no-op AC_FUNC_SETVBUF_REVERSED at the same time.
111
112 2013-12-05  Yann Dirson <ydirson@free.fr>
113
114         * configure.ac: Fully quote autoconf macro arguments, as they
115         should.
116
117 2013-12-05  Yann Dirson <ydirson@free.fr>
118
119         * configure.ac: Bump version to "1.4.1-rc0+".
120
121 2013-12-05  Yann Dirson <ydirson@free.fr>
122
123         * doc/Makefile.in: Generate HTML doc using makeinfo, instead of
124         obsolecent texi2html
125
126 2013-11-07  Yann Dirson <ydirson@free.fr>
127
128         * NEWS, README, configure.ac: Prepare v1.4.1rc0.
129
130 2013-11-07  Yann Dirson <ydirson@free.fr>
131
132         * doc/gnushogi.texinfo: Update manual for maintainer, project
133         communication, and plans.
134
135 2013-11-07  Yann Dirson <ydirson@free.fr>
136
137         * TODO: Update TODO: there are plans for v1.5, and things have been
138         done.
139
140 2013-11-05  Yann Dirson <ydirson@free.fr>
141
142         * Makefile.in: Fix "make dist" not to include a recursive copy of
143         the dist.
144
145 2013-11-05  Yann Dirson <ydirson@free.fr>
146
147         * doc/gnushogi.texinfo: Fix formatting of boards in texinfo doc.
148
149 2013-11-05  Yann Dirson <ydirson@free.fr>
150
151         * NEWS: Update NEWS file for upcoming 1.4.1.
152
153 2013-11-05  Yann Dirson <ydirson@free.fr>
154
155         * doc/gnushogi.6: Remove version number from manpage.  It was not very useful there, and has been out of sync with the
156         software version anyway.
157
158 2013-11-05  Yann Dirson <ydirson@free.fr>
159
160         * Makefile.in, gnushogi/Makefile.in, gnushogi/Makefile.profile.in,
161         xshogi/Makefile.in: Remove unused obsolete version numbers from
162         Makefiles.
163
164 2013-10-20  Yann Dirson <ydirson@free.fr>
165
166         * TODO: Take note of more cleanups to do.
167
168 2013-10-20  Yann Dirson <ydirson@free.fr>
169
170         * configure.ac, gnushogi/Makefile.in: Move hashfile definition from
171         configure.ac into Makefile.in Like other similar defs...
172
173 2013-10-20  Yann Dirson <ydirson@free.fr>
174
175         * .gitignore, Makefile.in, configure.ac, gnushogi/Makefile.in,
176         misc/gnuminishogi.tbk: Use configure --enable-minishogi to select
177         build of gnuminishogi.  At the same time, provide an empty gnuminishogi.tbk so things work
178         more as they should.  Only the patterns are still necessary to specify manually at this
179         point.
180
181 2013-09-27  H.G. Muller <h.g.muller@hccnet.nl>
182
183         * gnushogi/eval.c: Fix mini-Shogi out-of-bounds acces of board
184
185 2011-09-29  Yann Dirson <ydirson@free.fr>
186
187         * gnushogi/eval.c: Avoid looking at the game type to determine
188         minishogi piece values.  We don't know how to determine the game type anyway, and a previous
189         patch disables its computation, but no need to compile dead code in
190         this case.  Another problem to look at is that "in_opening_stage" is surely
191         badly tuned for MiniShogi, but the program seems to score better
192         with current code that by telling there is opening stage.  Flag FIXME's where applicable so some willing soul would know where
193         to find things to improve for MiniShogi.
194
195 2011-09-28  Yann Dirson <ydirson@free.fr>
196
197         * gnushogi/eval.c: Disable GuessGameType() for MiniShogi.  Game types for MiniShogi are surely different from the ones in
198         Shogi, so this would require serious thought to get it right.  Just
199         pretend we don't know.
200
201 2011-09-28  Yann Dirson <ydirson@free.fr>
202
203         * gnushogi/eval.c: Fix ScorePosition() for MiniShogi.  Gcc's stack-smashing protection combined with glibc's
204         -D_FORTIFY_SOURCE detected with a segfault that we were using
205         9x9-board offsets on our 5x5 board.  This patch abstracts the
206         relevant hardcoded constants and provides correct values for
207         MiniShogi.
208
209 2008-02-11  Yann Dirson <ydirson@altern.org>
210
211         * TODO, gnushogi/Makefile.in, gnushogi/init-common.c,
212         gnushogi/init.c, gnushogi/makepattern.c, gnushogi/pat2inc.c,
213         gnushogi/pattern-common.c, gnushogi/pattern.c,
214         gnushogi/pattern.inc, misc/gnuminishogi.pat: Generate patterns.inc
215         at build time.
216
217 2008-02-11  Yann Dirson <ydirson@altern.org>
218
219         * TODO, gnushogi/attacks.c, gnushogi/commondsp.c,
220         gnushogi/cursesdsp.c, gnushogi/eval.c, gnushogi/genmove.c,
221         gnushogi/globals.c, gnushogi/gnushogi.h, gnushogi/init.c: Initial
222         attempt at minishogi.  This preliminar minishogi takes the approach of conditional
223         compilation, so I can focus on differences between shogi and
224         minishogi.  Those ifdef's are expected to progressively disappear as
225         the support code is made generic enough to support the needs of both
226         variants.
227
228 2013-10-20  Yann Dirson <ydirson@free.fr>
229
230         * Makefile.in, configure.ac, doc/{Makefile => Makefile.in},
231         gnushogi/Makefile.in: Fix various regression for building out of
232         tree.  Most notably, doc was never buildable out of tree, but the recent
233         build enhancements did not take that into account.
234
235 2013-09-27  H.G. Muller <h.g.muller@hccnet.nl>
236
237         * gnushogi/gnushogi.h, gnushogi/init.c, gnushogi/rawdsp.c: Windows
238         port This patch makes GNU Shogi compilable with gcc under Cygwin, using
239         the -mno-cygwin flag, so that it can run as a native Windows
240         application, independent of Cygwin1.dll.  The patch is fully conditional, based on defined(WIN32).  YD: rebased onto recent refactorings
241
242 2013-11-03  Yann Dirson <ydirson@free.fr>
243
244         * configure.ac: Normalize configure --help using AS_HELP_STRING.
245
246 2013-11-03  Yann Dirson <ydirson@free.fr>
247
248         * configure.ac: Don't bail out if configure (without --with-curses)
249         does not find libcurses.  Only fail when --with-curses was requested and libcurses cannot be
250         found.
251
252 2013-11-03  Yann Dirson <ydirson@free.fr>
253
254         * gnushogi/Makefile.in, gnushogi/Makefile.profile.in: Fix funny
255         search-and-replace copyright typo.
256
257 2013-11-03  Yann Dirson <ydirson@free.fr>
258
259         * configure.ac, gnushogi/Makefile.in, gnushogi/commondsp.c,
260         gnushogi/cursesdsp.c, gnushogi/gnushogi.h, gnushogi/main.c,
261         gnushogi/pat2inc.c, gnushogi/rawdsp.c, gnushogi/sizetest.c,
262         version.h, xshogi/Makefile.in, xshogi/xshogi.c: Use centralized
263         version from configure.ac, drop use of separate patchlevel.
264
265 2013-11-03  Yann Dirson <ydirson@free.fr>
266
267         * gnushogi/Makefile.in, gnushogi/book.c, gnushogi/commondsp.c,
268         gnushogi/cursesdsp.c, gnushogi/globals.c, gnushogi/gnushogi.h,
269         gnushogi/init.c, gnushogi/main.c, gnushogi/pat2inc.c,
270         gnushogi/rawdsp.c, gnushogi/search.c, gnushogi/util.c,
271         misc/gnushogi.lng: Move strings back into source code, from .lng
272         support.  * there is no point in translating the protocol * if someone wants to translate the curses UI, this should be done
273           with gettext
274
275 2013-10-23  Yann Dirson <ydirson@free.fr>
276
277         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
278         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h,
279         gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/rawdsp.h,
280         gnushogi/tcontrl.c: Move ElapsedTime to tcontrl.c, now that there is
281         a single implementation.
282
283 2013-10-23  Yann Dirson <ydirson@free.fr>
284
285         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
286         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
287         gnushogi/rawdsp.h, gnushogi/search.c: Make UpdateClocks and
288         input-polling dspwrappers-based too.  Those things are the only thing called from ElapsedTime() to be
289         different between Curses and Raw/X, and were not abstracted yet.  The poll-based polling code was not called from within
290         ElapsedTime(), which made it less frequently called, but that did
291         not seem to be a problem.  And it was redundant in Curses mode with
292         the FIONREAD call.
293
294 2013-10-22  Yann Dirson <ydirson@free.fr>
295
296         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
297         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
298         gnushogi/rawdsp.h: Fix regression with stdarg dspwrappers.  1be442641b610fa1b6172a38d9acffe2d22797b6 and
299         3f589711eb3ecc7644378d6a0f2f29bc4b4c7db9 are both broken, passing
300         the va_list inside another va_list to poor unsuspecting backend
301         implementations.
302
303 2013-10-19  Yann Dirson <ydirson@free.fr>
304
305         * gnushogi/makepattern.c: Fixed minor regression in makepatter.  In 6cdb4afe21c8d0eb740a6a22a02a0adf922fddfc, I messed up a
306         conditional causing an error message to be written even when we did
307         find a pattern file.
308
309 2013-10-19  Yann Dirson <ydirson@free.fr>
310
311         * gnushogi/cursesdsp.c, gnushogi/gnushogi.h: Fix build of
312         --with-curses mode.  Broken by 6030715dffdadf4402dccf6a8bf9966cfab2be1d and not checked
313         soon enough :(
314
315 2013-10-19  Yann Dirson <ydirson@free.fr>
316
317         * gnushogi/cursesdsp.c: Drop non-curses support from
318         Curses_ElapsedTime.  Similar to 58e443e7ec0d834fe75a9eda53f4cfaf7f8b106c, was a remnant
319         from before 4a9acd2e4d21586f2af629ec44cd78c237dcd702.
320
321 2013-10-19  Yann Dirson <ydirson@free.fr>
322
323         * gnushogi/makepattern.c: Drop NOT_CURSES occurences from
324         makepattern.  Why on earth are we supposing that pat2inc would run in Curses mode
325         one day ?
326
327 2013-10-19  Yann Dirson <ydirson@free.fr>
328
329         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
330         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
331         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers:
332         SetupBoard.  Not a very big problem since that function is not curses-only this
333         time, but raw-only.  But this is the natural continuation of the
334         "nuke NOT_CURSES" movement.
335
336 2013-10-19  Yann Dirson <ydirson@free.fr>
337
338         * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/gnushogi.h: 
339         Stop exporting Curses-internal functions to everyone.  Possible since cursesdsp is now self-contained.
340
341 2013-10-19  Yann Dirson <ydirson@free.fr>
342
343         * configure.ac, gnushogi/Makefile.in: Finish the --without-curses
344         support.  Now that all the silly problems refering to Curses-specific
345         functions from unrelated places are all solved, we can spare linking
346         cursesdsp when not required.
347
348 2013-10-19  Yann Dirson <ydirson@free.fr>
349
350         * gnushogi/rawdsp.c: Remove dead Curses-specific code from
351         Raw_ElapsedTime()
352
353 2013-10-19  Yann Dirson <ydirson@free.fr>
354
355         * gnushogi/search.c: Remove useless explicit prototype for pow().
356
357 2013-10-19  Yann Dirson <ydirson@free.fr>
358
359         * gnushogi/Makefile.in, gnushogi/Makefile.profile.in,
360         gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/dspwrappers.c,
361         gnushogi/dspwrappers.h, gnushogi/gnushogi.h, gnushogi/rawdsp.c,
362         gnushogi/rawdsp.h, gnushogi/sysdeps.c: Change ElapsedTime to a
363         normal display function.  The FIONREAD version is clearly tied to Curses, and the NOFIONREAD
364         works corectly with xshogi/xboard as well as Raw.  No reason for a
365         separate mechanism.  --without-curses now builds as expected.
366
367 2013-10-19  Yann Dirson <ydirson@free.fr>
368
369         * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: Make spacing consistent
370         in *dsp.c, kill unused global hidden between funcs.
371
372 2013-10-19  Yann Dirson <ydirson@free.fr>
373
374         * gnushogi/sysdeps.c: Factorize ElapsedTime implementations by
375         restricting HAVE_GETTIMEOFDAY #ifdef's.  (and take the best-looking one on cosmetic differences)
376
377 2013-10-19  Yann Dirson <ydirson@free.fr>
378
379         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
380         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h,
381         gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/rawdsp.h: Fix
382         ShowPrompt implementation across display drivers.
383
384 2013-10-17  Yann Dirson <ydirson@free.fr>
385
386         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
387         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
388         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers:
389         GetString.  Thin function is the first non-void one and shows the limits of the
390         current macro set.  Let's consider this stuff to be temporary.  At least it finally allows to drop #include <curses.h> from
391         commondsp.
392
393 2013-10-16  Yann Dirson <ydirson@free.fr>
394
395         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
396         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
397         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers:
398         AlwaysShowMessage.
399
400 2013-10-16  Yann Dirson <ydirson@free.fr>
401
402         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
403         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
404         gnushogi/rawdsp.h: Provide a Raw version of ShowNodeCnt to avoid
405         more #ifdef's.  At the same time, nuking "#ifdef DYNAMIC_ZNODES" (dead code).
406
407 2013-10-16  Yann Dirson <ydirson@free.fr>
408
409         * gnushogi/commondsp.c: When in check, complain with the requested
410         move.  Looks like in xshogi mode we were complaining by explicitly using
411         the algebraic notation, but apparently noone forces us to do so.
412
413 2013-10-15  Yann Dirson <ydirson@free.fr>
414
415         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
416         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
417         gnushogi/rawdsp.h: Add safeguard against buffer overflow when
418         calling scanf.
419
420 2013-10-15  Yann Dirson <ydirson@free.fr>
421
422         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
423         gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c,
424         gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers.
425
426 2013-10-19  Yann Dirson <ydirson@free.fr>
427
428         * configure.ac: Configure: stop abusing AC_MSG_CHECKING, use correct
429         idioms.
430
431 2013-10-14  Yann Dirson <ydirson@free.fr>
432
433         * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c,
434         xshogi/xshogi.c: Finally get rid of that highly non-standard use of
435         SIGINT.  People will at last be able to Ctrl-C gnushogi :)
436
437 2013-10-14  Yann Dirson <ydirson@free.fr>
438
439         * gnushogi/search.c: Regularly check for user input when searching,
440         to have a chance to catch EOF from engine.  When an engine quits without terminating a searching gnushogi, it
441         would continue to search and never realize there was no reason to
442         continue.  This is a poll-based implementation of what H.G.Muller wrote for
443         WIN32 to circumvent the lack of UNIX signals there.
444
445 2013-10-14  Yann Dirson <ydirson@free.fr>
446
447         * gnushogi/commondsp.c, gnushogi/rawdsp.c: Detect EOF waiting for
448         user input in xshogi and raw modes, and trigger exit.  No idea why the raw implementation of ExitShogi() did not call
449         exit().  Even after detecting EOF, we were thrown into a tight
450         loop...
451
452 2013-10-13  Yann Dirson <ydirson@free.fr>
453
454         * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c,
455         xshogi/xshogi.c: Restore SIGINT for stopping gnushogi when thinking.  SIGINT is unfortunately part of the protocol inherited from
456         gnuchess4, and is used by xboard as such.  So this was not a proper
457         fix for the original issue.  This reverts commit 00e10bc4a760150665436b17c50abf264f28d435, "Don't
458         intercept INT and QUIT signals, and use USR1 instead of QUIT for".
459
460 2013-10-14  Yann Dirson <ydirson@free.fr>
461
462         * configure.ac: Rename configure --with-xshogi to --enable-xshogi
463         for correctness.
464
465 2013-10-08  Yann Dirson <ydirson@free.fr>
466
467         * Makefile.in, configure.ac: Start of a "make dist" target.  The old one uses a script that was never published...
468
469 2013-10-08  Yann Dirson <ydirson@free.fr>
470
471         * .gitignore, Makefile.in, doc/Makefile, doc/gnushogi.html,
472         doc/gnushogi.info, doc/gnushogi.info-1, doc/gnushogi.info-2,
473         doc/gnushogi.ps, doc/gnushogi_1.html, doc/gnushogi_10.html,
474         doc/gnushogi_11.html, doc/gnushogi_12.html, doc/gnushogi_13.html,
475         doc/gnushogi_14.html, doc/gnushogi_15.html, doc/gnushogi_16.html,
476         doc/gnushogi_17.html, doc/gnushogi_18.html, doc/gnushogi_19.html,
477         doc/gnushogi_2.html, doc/gnushogi_20.html, doc/gnushogi_21.html,
478         doc/gnushogi_22.html, doc/gnushogi_23.html, doc/gnushogi_24.html,
479         doc/gnushogi_3.html, doc/gnushogi_4.html, doc/gnushogi_5.html,
480         doc/gnushogi_6.html, doc/gnushogi_7.html, doc/gnushogi_8.html,
481         doc/gnushogi_9.html, doc/gnushogi_abt.html, doc/gnushogi_ovr.html,
482         doc/gnushogi_toc.html, doc/texinfo.tex: Rework doc-handing make
483         rules and remove generated files from version control.  Newer texinfo.tex was imported from texinfo 5.1.
484
485 2013-10-08  Yann Dirson <ydirson@free.fr>
486
487         * doc/Makefile, doc/make_fig1, doc/make_fig2: Remove hack previously
488         used to insert diags into generated HTML.  Useless since db5c540ff7e9dd176f797b50031141e2c2059456.
489
490 2013-10-08  Yann Dirson <ydirson@free.fr>
491
492         * autogen.sh: Don't cause autogen.sh to run configure.
493
494 2013-10-08  Yann Dirson <ydirson@free.fr>
495
496         * ChangeLog, README.maint: Initiate new ChangeLog using git2cl.
497
498 2013-10-08  Yann Dirson <ydirson@free.fr>
499
500         * ChangeLog => ChangeLog.old, NEWS: Start to fill NEWS, rotate
501         pre-git logs to ChangeLog.old.
502
503 2013-10-08  Yann Dirson <ydirson@free.fr>
504
505         * doc/gnushogi.texinfo: Critical texinfo doc formatting fixes.  * "@sp 1" everywhere look ugly today * ASCII rendering of boards requires @verbatim
506
507 2013-10-08  Yann Dirson <ydirson@free.fr>
508
509         * doc/gnushogi.texinfo: Use @ifnotex and not @ifinfo, or HTML does
510         not get its ToC.
511
512 2013-10-08  Yann Dirson <ydirson@free.fr>
513
514         * doc/gnushogi.texinfo: Remove text of the GPL (v2) from texinfo
515         doc, it did not format any more though TeX.
516
517 2013-09-30  Yann Dirson <ydirson@free.fr>
518
519         * gnushogi/Makefile.in, xshogi/Makefile.in: Honor LDFLAGS at
520         link-time.
521
522 2013-09-29  Yann Dirson <ydirson@free.fr>
523
524         * configure.ac, gnushogi/dspwrappers.c, gnushogi/gnushogi.h,
525         gnushogi/main.c: Allow configure --without-curses.  Not finding libcurses was surely causing problems, we now also
526         proceed cleanly in that case.
527
528 2013-09-29  Yann Dirson <ydirson@free.fr>
529
530         * gnushogi/dspwrappers.c: Remove excessive boilerplate duplication
531         from dspwrappers.
532
533 2013-09-29  Yann Dirson <ydirson@free.fr>
534
535         * .gitignore: Add .gitignore file
536
537 2013-09-29  Yann Dirson <ydirson@free.fr>
538
539         * configure.ac: Clarify configure options that only relate to xshogi
540
541 2013-10-03  Yann Dirson <ydirson@free.fr>
542
543         * gnushogi/Makefile.in, gnushogi/Makefile.profile.in,
544         gnushogi/attacks.c, gnushogi/book.c, gnushogi/book.h,
545         gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h,
546         gnushogi/debug.h, gnushogi/dspwrappers.c, gnushogi/dspwrappers.h,
547         gnushogi/eval.c, gnushogi/eval.h, gnushogi/genmove.c,
548         gnushogi/globals.c, gnushogi/gnushogi.h, gnushogi/init.c,
549         gnushogi/main.c, gnushogi/makepattern.c, gnushogi/opts.h,
550         gnushogi/pat2inc.c, gnushogi/pattern.c, gnushogi/pattern.h,
551         gnushogi/rawdsp.c, gnushogi/rawdsp.h, gnushogi/search.c,
552         gnushogi/sizetest.c, gnushogi/sysdeps.c, gnushogi/tcontrl.c,
553         gnushogi/util.c, version.h: Restore previous copyright information
554         that got removed by error.  This reverts part of commit
555         82b026e6376b640a4d3409a461dd6bd83708e33e, which changed too much of
556         the copyright headers when changing license to GPL3.
557
558 2011-09-29  Yann Dirson <ydirson@free.fr>
559
560         * gnushogi/eval.c: Fix another hardcored 9x9-board hardcoded value.
561
562 2008-02-11  Yann Dirson <ydirson@altern.org>
563
564         * gnushogi/commondsp.c, gnushogi/gnushogi.h, gnushogi/init.c: 
565         Document internal APIs.
566
567 2008-02-11  Yann Dirson <ydirson@altern.org>
568
569         * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/eval.c,
570         gnushogi/genmove.c, gnushogi/gnushogi.h, gnushogi/init.c,
571         gnushogi/rawdsp.c, gnushogi/util.c: Parametrize more hardcoded
572         contants.
573
574 2008-02-11  Yann Dirson <ydirson@altern.org>
575
576         * gnushogi/gnushogi.h: Use enums.
577
578 2008-02-11  Yann Dirson <ydirson@altern.org>
579
580         * gnushogi/Makefile.in, gnushogi/gnushogi.h, xshogi/Makefile.in: Add
581         support for building gnushogi and xshogi out of source tree.
582
583 2011-09-27  Yann Dirson <ydirson@free.fr>
584
585         * gnushogi/book.c, gnushogi/commondsp.c, gnushogi/main.c,
586         gnushogi/rawdsp.c: Deal with warnings raised by -Wformat-security.
587
588 2009-08-03  Stijn van Drongelen <tinctorius@gmail.com>
589
590         * gnushogi/rawdsp.c: Fixes segfault in gnushogi when asking for
591         help.  Closes Debian Bug#434139.
592
593 2008-02-11  Yann Dirson <ydirson@altern.org>
594
595         * gnushogi/pattern.c, gnushogi/pattern.h: Statify functions not used
596         outside their compilation unit.
597
598 2008-02-11  Yann Dirson <ydirson@altern.org>
599
600         * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c,
601         xshogi/xshogi.c: Don't intercept INT and QUIT signals, and use USR1
602         instead of QUIT for communication.  This braindead use of SIGINT causes problem when a frontend is
603         interrupted with Ctrl-C: if gnushogi is waiting for input, it would
604         enter a tight loop trying to read stdin, eating 100% CPU.
605
606 2008-01-18  Yann Dirson <ydirson@altern.org>
607
608         * gnushogi/eval.c, gnushogi/search.c: Fix integer overflow caused by
609         bad use of binary operator.  Guess this may make the AI more accurate :) Problem caught by gcc: ../../gnushogi/search.c: In function 'search':
610         ../../gnushogi/search.c:887: warning: overflow in implicit constant
611         conversion A quick audit only revealed a place where another logical AND was
612         tested using a curious idiom, so let's make it consistent at the
613         same time.
614
615 2008-01-18  Yann Dirson <ydirson@altern.org>
616
617         * gnushogi/sysdeps.c: Do not attempt to outguess system headers by
618         (re)defining errno.  Recent glibc define error as a cpp macro expanding to a function
619         call.  Thus, "extern int errno" should cause a link-time undefined
620         symbol when errno.h is not included.  Here it is, and gcc complains
621         with the following cryptic warning: ../../gnushogi/sysdeps.c: In function 'ElapsedTime_FIONREAD':
622         ../../gnushogi/sysdeps.c:97: warning: function declaration isn't a
623         prototype
624
625 2008-01-18  Yann Dirson <ydirson@altern.org>
626
627         * gnushogi/pat2inc.c: Fix a function prototype.
628
629 2012-05-20  Yann Dirson <ydirson@free.fr>
630
631         * Add missing info headers
632