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