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 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875
|
2004-05-21 AIDA Shinra <shinra@j10n.org>
* Canna 3.7p3 release.
* configure.ac: bump to 3.7p3
* canna/patchlevel.h: ditto
* CHANGES.jp: updated
2004-05-21 AIDA Shinra <shinra@j10n.org>
* confwrapper: "." bashism. Many shells don't searches the current
directory.
* Imakefile: $(CC) -> env $(CC) in case $(CC) is
"LD_LIBRARY_PATH=/usr/X11R6/lib cc".
* canuum/Imakefile: ditto
2004-05-19 AIDA Shinra <shinra@j10n.org>
* Canna 3.7p2 release.
* configure.ac: bump to 3.7p2
* canna/patchlevel.h: ditto
2004-05-05 AIDA Shinra <shinra@j10n.org>
* CHANGES.jp: fix a typo
2004-05-05 AIDA Shinra <shinra@j10n.org>
* COPYRIGHT: added
* CHANGES.jp: updated for 3.7p2
* RKCCONF.jp: warn about future change
2004-05-05 AIDA Shinra <shinra@j10n.org>
* Merge Pubdic+-fix01 to make the license of pubdic more clear.
* dic/ideo/pubdic/pod.c: Remove #ifndef POD_WCHAR part.
Make casts more proper. Add 'vu' conversion though it is not needed
for now.
* dic/ideo/pubdic/COPYRIGHT: added
* dic/ideo/pubdic/VERSION: added
2004-04-27 AIDA Shinra <shinra@j10n.org>
* VENDOR_DEFINES which comes from X.Org's imake contains single
quotes.
* confwrapper: generate cwenv.sh first and then run configure
* Imakefile: ditto
* canuum/Imakefile: ditto
* confwrapper.sub: removed
* Canna.conf.dist: DLLs need INSTBINFLAGS instead of INSTLIBFLAGS
2004-04-27 AIDA Shinra <shinra@j10n.org>
* When delay-connect is t and KC_FINALIZE is used uilib gets into
inconsistent state.
* lib/canna/commondata.c(mountnottry): added
* lib/canna/globnames: added mountnottry
* lib/canna/henkan.c(KanjiInit): mountnottry is now global symbol
(KanjiFin): clear some variables
2004-04-27 AIDA Shinra <shinra@j10n.org>
* Merge trivial fixes (uilib, doc)
* lib/canna/obind.c(owcLookupKanji2): buffer_return is not char *
but wchar_t *.
(cannawc32): use canna_uint32_t
(cannawc16): use canna_uint16_t
* lib/canna/RKroma.c(RkMapPhonogram): KPDIC&&PTDIC -> KPDIC||PTDIC
* [Canna-dev 297]: sentou 1moji sentaku bug
* lib/canna/henkan.c(TbChooseChar): last character's attribute needs
SENTOU flag
* [Canna-dev 290]: Documents
* doc/man/guide/tex/func.tex: Now renbun-continue is t by default.
* dic/ideo/grammar/gram.code: correct a comment
* [Canna-dev 291]: Protocol definition is inconsistent with
implementation.
* doc/intern/protocol.tex: corrected
* [Canna:05898]: canna-parse is broken
* lib/canna/lisp.c(Lread): stop fclose(NULL)
2004-04-27 AIDA Shinra <shinra@j10n.org>
* Merge trivial fixes (canuum, RKC and server)
* canuum/canuum.jmn: Description about -[SJUsju] options were
misleading or wrong.
* canuum/jhlp.c(chld_handler): cygwin has union wait but WIF*() macros
do not work if union wait is given
* canuum/termcap.c(sr_set): check %p though it exists only in terminfo
* lib/RKC/conf.c(read_pipe_with_errors): bug fix in no_exitstatus
case (thanks to nanashi san)
(Lexer_next): an extra memchr() caused a crash
* lib/RKC/convert.c(RkcSendERequest): When communication fails, set
errno to EPIPE and close the socket in any case.
* lib/RKC/wconvert.c(RkcSendWRequest): ditto
* server/misc.c(mysignal): added to prevent syscalls from restarting
* server/Imakefile: SIGNAL_DEFINES
* server/comm.c(ClientBuf): count temporary failures and close
connection if too many errors happen
(ClientBuf_recv): save errno before Dmsg
(ClientBuf_send): ditto
(EventMgr_run): ditto
2004-01-02 AIDA Shinra <shinra@j10n.org>
* Canna 3.7p1 release.
* CHANGES.jp: updated
* canna/patchlevel.h: bump to 3.7p1
2003-12-29 AIDA Shinra <shinra@j10n.org>
* Canna.conf.dist(sharedLibExtension): HPArchitecture is also defined
on Linux with hppa. Make sure the system is really HP-UX.
([Canna-dev 280])
* confwrapper: CC="$ccadd $CC" is foolish ([Canna-dev 281])
2003-12-28 AIDA Shinra <shinra@j10n.org>
* Canna.conf.dist(SHLIBLDFLAGS): Assign "-G -z text" on SVR4
because Solaris appends "-M mapfile" and therefore we need to
generate mapfile.
* server/wconvert.c(ExtensionVector): remove "static"
* CHANGES.jp: make mention of glibc
2003-12-28 AIDA Shinra <shinra@j10n.org>
* Sync with HEAD. All changes were fixes of bugs or portability
problems, therefore I merged all of them.
* CHANGES.jp: forgot IPv6 feature
* Canna.conf.dist(CppSedMagic): Remove #pragma inserted by the
default gcc-3.3 that ships with MacOS X 10.3. Recent snapshot
of XFree86 specifies /usr/bin/cpp3 as CppCmd so we don't need
redefine CppSedMagic.
* Imakefile: Use confwrapper. #undef malloc in cannaconf.h.
Fix OS2Architecture.
* configure.ac: add proper arguments of AC_INIT and RCSID
* confwrapper: added to remove something like ` ` in CPPFLAGS
and others
* confwrapper.sub: ditto
* mkrelease.sh: always use autoconf 2.59
* canuum/Imakefile: use confwrapper
* dic/ideo/pubdic/Imakefile: link libRKindep
* lib/RKC/conf.c(Lexer_next): skip #pragma
(host_str_defaults): put a dummy member
(top_num_defaults): ditto
* lib/RKindep/cfuncs.c: #ifndef HAVE_MALLOC -> #if !HAVE_MALLOC
* lib/RKindep/cfuncs.h: Newer autoconf defines HAVE_MALLOC to 0 but
older undefines it. Accept both.
* server/convert.c: Forward declaration of file scope array is not
confirm to the standard. Fixed. Added some #ifdef USE_EUC_PROTOCOL.
* server/wconvert.c: ditto
2003-12-13 AIDA Shinra <shinra@j10n.org>
* CHANGES.jp: modify description of old "security bug"
2003-12-12 AIDA Shinra <shinra@j10n.org>
* Canna 3.7 release.
* CHANGES.jp: updated
* canna/patchlevel.h: bump to 3.7
2003-12-12 AIDA Shinra <shinra@j10n.org>
* dic/ideo/*: Sync with DIC_WORK branch.
2003-12-07 AIDA Shinra <shinra@j10n.org>
* canna/widedef.h: MacOS X 10.3 support
* canna/jrkanji.h: define CANNA_JR_BEEP_FUNC_DECLARED
2003-10-12 AIDA Shinra <shinra@j10n.org>
* Imakefile: s/CANNA_PURE_CFLAGS/PURE_CFLAGS/
* configure.ac: check inet_aton
* server/misc.c(GetAddrListFromName): use inet_addr if inet_aton is
not available
* canuum/configure.ac: pass PURE_CFLAGS to configure
* canuum/header.c: specify argument types of code_trans to distinguish
int and size_t
* canuum/sdefine.h: declare msg_get to distinguish int and size_t
* canuum/termio.c(set_scroll_region): pass exactly 10 arguments to
tparm (as XSI Curses standard notes)
(throw_cur_raw): ditto
2003-10-10 AIDA Shinra <shinra@j10n.org>
* cmd/ctow/ctow.c: s/close/fclose/
2003-10-10 AIDA Shinra <shinra@j10n.org>
* Some minor cleanups (especially printf format problems and unused
variables)
* cmd/cannacheck/main.c: cleanuped
* cmd/cannastat/cannastat.c: cleanuped
* cmd/catdic/rutil.c: cleanuped
* cmd/chkconc/chkconc.c: cleanuped
* cmd/crfreq/crfreq.c: cleanuped
* cmd/crxdic/crxdic.c: cleanuped
* cmd/cshost/cshost.c: cleanuped
* cmd/ctow/ctow.c: cleanuped
* cmd/dicar/dicar.c: cleanuped
* cmd/dpxdic/dpxdic.c: cleanuped
* cmd/kpdic/kpdic.c: cleanuped
* cmd/mergewd/mergewd.c: cleanuped
* cmd/splitwd/splitwd.c: cleanuped
* cmd/wtoc/wtoc.c: cleanuped, s/close/fclose/
* server/comm.c: cleanuped
* lib/RK/RKintern.h: declare ustoeuc
2003-10-10 AIDA Shinra <shinra@j10n.org>
* configure.ac: check arpa/inet.h
* canna/net.h: include <arpa/inet.h> if exists
* server/misc.c(DetachTTY): use HAVE_*
2003-10-05 AIDA Shinra <shinra@j10n.org>
* canna/jrkanji.h: declare jrBeepFunc only if CANNA_NEW_WCHAR_AWARE is
defined
* lib/RKC/confP.h(Lexer): turn typeof(lineno) to unsigned int
* lib/RKC/conf.c(Lexer_next): ditto
(Lexer_error): ditto
2003-10-02 AIDA Shinra <shinra@j10n.org>
* Set nonblocking mode properly.
* server/comm.c(set_nonblock): added
(EventMgr_accept): invoke set_nonblock
(open_unix_socket): ditto
(open_inet_socket): invoke set_nonblock. handle failure in listen() properly.
(open_inet6_socket): ditto
(ClientBuf_send): check EAGAIN and EWOULDBLOCK
(ClientBuf_recv): ditto
2003-10-02 AIDA Shinra <shinra@j10n.org>
* canna/sysdep.h: fallback to sys/types.h if neither inttypes.h nor
stdint.h are found
* configure.ac: better checking of int32_t and in_addr_t (for Cygwin)
* cmd/canlisp/canlisp.c: define CANNA_NEW_WCHAR_AWARE
* cmd/catdic/RKdelline.c: ditto
* cmd/catdic/Imakefile: cannakill was bad link ([Canna-dev 257])
* Canna.conf.dist(LDOPTIONS): remove -l$(libCannaDir)
([Canna-dev 258])
2003-09-30 AIDA Shinra <shinra@j10n.org>
* CHANGES.jp: add some items
2003-09-30 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 254]
* lib/RKC/conf.c(host_num_defaults): change default value of
CONF_SERVER_TIMEOUT to 1500ms
* RKCCONF.jp: updated due to avobe change
* Imakefile: ifdef UseInet6 -> if UseInet6
2003-09-27 AIDA Shinra <shinra@j10n.org>
* dic/ideo/*: Sync with DIC_WORK branch. See dic/ideo/ChangeLog for
details.
* canna/patchlevel.h: bump to 3.7beta1
2003-09-26 AIDA Shinra <shinra@j10n.org>
* Update documents for 3.7 beta release.
* CHANGES.jp: truncated
* OCHANGES.jp: moved everything here from CHANGES.jp
* INSTALL: Updated. Removed description about ancient systems.
* INSTALL.jp: ditto
* README.jp: cannuum is now secure.
* misc/initfiles/sample.canna: describe :katakana
* misc/initfiles/verbose.canna: ditto
* misc/initfiles/unix.canna: describe and enable :katakana
2003-09-25 AIDA Shinra <shinra@j10n.org>
* Type of CRC is canna_uint32_t.
* lib/RKindep/cksum.h: use canna_uint32_t
* lib/RKindep/cksum.c: ditto
* cmd/crxdic/crxdic.c: ditto
2003-09-25 AIDA Shinra <shinra@j10n.org>
* Fix renbun-continue problem.
* lib/canna/commondata.c(InitCannaConfig): turn default value of
renbun-continue to t
* lib/canna/henkan.c(TanKakuteiYomiInsert): handle renbun-continue
properly
* misc/initfiles/verbose.canna: updated
2003-09-25 AIDA Shinra <shinra@j10n.org>
* canna/ccompat.h: avoid isolated semicolon in global scope
* cmd/cannastat/cannastat.c: add RCSID
* cmd/crrdic/*: removed because crrdic is obsoleted by kpdic
2003-09-25 AIDA Shinra <shinra@j10n.org>
* canna/jrkanji.h: Add declaration of jrBeepFunc. Remove exp() macro.
* lib/canna/canna.h: exp() macro is moved here
2003-09-25 AIDA Shinra <shinra@j10n.org>
* lib/RKC/conf.c(Parser_stmt): "foo" "bar" are converted to "foobar"
(syn_host): ditto
(Parser_getstr): added
* lib/RKC/confP.h: updated
2003-09-25 AIDA Shinra <shinra@j10n.org>
* Build cleanup and an experimental rule to build shared library.
* We no longer support EUC protocol.
* Canna.conf.dist: Lots of new macros. Especially make variables
"supportOldWchar" and "inet6Definition" are replaced with cpp macros
"SupportOldWchar" and "UseInet6".
* Imakefile: change the method to create cannaconf.h
* dic/ideo/pubdic/Imakefile: use ProgramTargetName rhan #if
* server/Imakefile: ditto
* cmd/cmd.tmpl: ditto
* cmd/catdic/Imakefile: ditto
* cmd/mkbindic/Imakefile: remove -Ui386
* cmd/mkromdic/Imakefile: remove -Ui386
* lib/RKindep/Imakefile: place all:: target first
2003-09-25 AIDA Shinra <shinra@j10n.org>
* lib/RKC/rkc.c(RkcConnectIrohaServer): invoke rkc_configure()
2003-09-24 AIDA Shinra <shinra@j10n.org>
* Now canna works on 64bit Solaris. I believe canna also works in
other 64bit environments with minor changes.
* configure.ac: check in_addr_t and socklen_t
* canna/net.h: Define canna_in_addr_t and canna_socklen_t here.
For this include "ccompat.h" first and place an include guard.
* cmd/cannastat/cannastat.c: remove verbose include
* cmd/crfreq/crfreq.c: fix type of header size
* lib/RK/RKintern.h(HD_TAGSIZ): correct definition
* lib/RK/ngram.c(RkKxGram): typeof(ng_neg) is canna_uint32_t
(RkReadGram): ditto
(RkCheckNegGram): ditto
* lib/RKC/wconvert.c(connect_unix): correct length of sockaddr
(connect_inet, INET6): type of port
(connect_inet, !INET6): type of hostinetaddr. use h_addr_list
if available.
* lib/RKindep/file.c(RkiConnect): type of 5th argument of getsockopt
* lib/canna/lisp.c(patom): cast properly due to varargs
* server/comm.c(open_inet_socket): use socklen_t
* server/main.c(process_request): forgot to pass first argument to
Dmsg
* server/wconvert.c(ExtensionRequest): static
2003-09-23 AIDA Shinra <shinra@j10n.org>
* cmd/cannastat/cannastat.c: cast time_t properly for printf
2003-09-23 AIDA Shinra <shinra@j10n.org>
* Fix RKC ABI problem.
RkcGetServerFD and RkcConnectIrohaServer were renamed by
sglobal.h, but their renamed names changed every time globnames
changed.
Now we export these functions in original names and renamed names
in 3.5/3.6. Cannastat and cshost in 3.5/3.6 work fine with new
3.7devel3 library, but these commands in older 3.7 fail to work.
For change of native ABI we bump patchlevel and minor version of
shared libraries.
* lib/RKC/rkc.c(G070_RkcGetServerFD): add for 3.5/3.6 compatibility
(G069_RkcConnectIrohaSrever): ditto
* cmd/cannastat/cannastat.c: don't include sglobal.h
* cmd/cshost/cshost.c: ditto
* canna/patchlevel.h: bump to 3.7devel3
* Canna.conf.dist(cannaDsoRev): bump to 1.2
2003-09-23 AIDA Shinra <shinra@j10n.org>
* More portable cshost. Ver.1 server support is removed.
* cmd/cshost/cshost.c(CannaDispControlList): rewrite
(IrohaDispControlList): removed
2003-09-23 AIDA Shinra <shinra@j10n.org>
* server/comm.h(EventMgr_run): make sure to send all of reply after
KillServer request.
2003-09-23 AIDA Shinra <shinra@j10n.org>
* Fully rewrite cannastat.
* New cannastat is more portable to 64bit environments.
* Implement strict error check.
* canna/rkcapi.h: new APIs
* cmd/cannastat/cannastat.c: rewrite
* lib/RKC/convert.c(ReadServer): export as RkcRecvEReply
(WriteServer): export as RkcSendERequest
* lib/RKC/wconvert.c(ReadServer): export as RkcRecvWReply
(WriteServer): export as RkcSendWRequest
* server/IR.h: move many definitions to server.h
* server/server.h: move many definitions from IR.h
2003-09-22 AIDA Shinra <shinra@j10n.org>
* Fix IR_STAT and IR_STAT2 and inhibit other protocols before IR_INIT.
* server/convert.c(SendTypeE5Reply): change first argument
(ir_initialize): make sure to close connection in error case
(ir_server_stat2): change first argument
(ir_server_stat): ditto
(ir_nosession): added
(parse_euc_request): s/request/xrequest/
(Vector): reject IR_STAT and IR_STAT2 when session is up
* server/main.c(process_request): perform dispatch via ir_nosession
2003-09-22 AIDA Shinra <shinra@j10n.org>
* server/misc.c(get_all_other_clients): correct syntax error
2003-09-21 AIDA Shinra <shinra@j10n.org>
* ServerNG: 50% scratched reimplementation of cannaserver.
* Now cannaserver does not use bitmap of sockets to manage clients.
This makes it far easy to port cannaserver to 64bit environments.
* Now cannaserver performs fully multiplexed I/O. Especially
we are free from hangs waiting for response from dead client.
* Intitialization, termination and error handling is much more
clean.
* All code derived from X server retired.
* All functions have prototypes.
* configure.ac: check syslog(), vsyslog() and time_t.
* canna/protodefs.h: simplify !EXTENSION case
* lib/RKindep/file.h(RKI_FD_SETSIZE): added
* server/IR.h: Now contains only minimum definitions for use
in cannastat and cshost.
* server/server.h: place prototype declarations here
* server/WaitFor.c: Removed.
* server/connectoin.c: Removed. Some code are moved into comm.c
and session.c.
* server/convert.c: Reduce use of ClientRec by some formal changes.
* server/wconvert.c: ditto
* server/comm.c: added
* server/session.c: added
* server/util.c: add const qualifier, replace int to size_t
2003-09-21 AIDA Shinra <shinra@j10n.org>
* lib/RK/RK.h: Fix 7th arguemnt's type of RkwGetSimpleKanji.
Declare RkwStoreRange.
* lib/RK/bun.c(RkwGetSimpleKanji): fix 7th arguemnt's type
* lib/RKC/rkc.c(RkwGetSimpleKanji): ditto
* lib/canna/engine.c(RkwGetSimpleKanji): ditto
2003-09-21 AIDA Shinra <shinra@j10n.org>
* lib/canna/kctrl.c(KC_initialize): fix condition
* cmd/cannacheck/main.c: remove "delay-connect" desc
2003-09-21 AIDA Shinra <shinra@j10n.org>
* lib/canna/kctrl.c(KC_initialize): s/chkverbose/ckverbose/
2003-09-21 AIDA Shinra <shinra@j10n.org>
* configure.ac: add spaces at the top of lines of AC_CHECK_FUNCS
2003-09-21 AIDA Shinra <shinra@j10n.org>
* lib/canna/kctrl.c(KC_initialize): ignore delay-connect in verbose
mode for cannacheck.
2003-09-18 AIDA Shinra <shinra@j10n.org>
* cmd/dpxdic/dpxdic.c(getdic): 300702L format dictionary
2003-09-18 AIDA Shinra <shinra@j10n.org>
* Cleanup includes and definitions in RKC and server.
* canna/protodefs.h(MIN): removed
* RKindep/ecfuncs.h(RKI_MIN): added
(RKI_MAX): added
* lib/RKC/*: cleaned up
* server/*: cleaned up
* server/server.h: added
2003-09-17 AIDA Shinra <shinra@j10n.org>
* Get rid of BIGPOINTER switch and replace to canna_intptr_t.
* configure.ac: test sizeof(void *)
* canna/sysdep.h: add canna_intptr_t and fix typo in canna_uint32_t
definition.
* Canna.conf.dist: remove pointerIntegerDef and wcharDefinition
* ccustom/Imakefile: ditto
* cmd/cmd.tmpl: ditto
* ccustom/lisp.h: use canna_intptr_t instead of POINTERINT
* cmd/cannacheck/main.c: ditto
* lib/canna/canna.h: define POINTERINT to canna_intptr_t
* lib/canna/lisp.c: replace unsigned POINTERINT to canna_uintptr_t
* lib/canna/lisp.h: use SIZEOF_VOID_P instead of BIGPOINTER switch
2003-09-17 AIDA Shinra <shinra@j10n.org>
* Remove most code for Windows port. It is generally ad hoc and making
difficult to maintain related code. In addition working Canna for
Windows requires additional proprietary code. Even if we ported
Canna to non-UNIX system again, the implementation would be far
from Canna for Windows anyway.
* lib/canna/*: New compile time switches "USE_MALLOC_FOR_BIG_ARRAY"
and "CODED_MESSAGE" are introduced. Some part of Windows code
is left and can be enabled by turning these switches on.
2003-09-17 AIDA Shinra <shinra@j10n.org>
* add sysdep.h and pubconf.h for canna_intXX_t.
* configure.ac: create pubconf.h
* Imakefile: create, link, and install pubconf.h
* canna/sysdep.h: added
* canna/ccompat.h: include "canna/sysdep.h"
* canna/Imakefile: link and install sysdep.h
* canna/jrkanji.h: include <canna/sysdep.h> and use canna_uintXX_t
* lib/RK/RK.h: ditto
* lib/RKC/rkcw.h: use canna_uintXX_t to define cannawc
* canna/protodefs.h: use canna_uint16_t to define Ushort
* server/IR.h(LENTODATA): use canna_uintXX_t
(DATATOLEN): ditto
2003-09-17 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 245]: new key symbols and others (by Ikumi san)
* doc/man/guide/tex/custom.tex: remove server-timeout
* dic/phono/tut.kpdef(tgu): tai->kuma (Reported by KIHARA Hideto san)
* canuum/canna.c(convert_getterm): use new key symbols
2003-09-17 AIDA Shinra <shinra@j10n.org>
* doc/misc/wchar.tex: removed obsolete document
* doc/misc/.cvsignore: removed
* doc/Imakefile: no need to put symlink to canna.sty in doc/misc
* [Canna-dev 127]: canlisp manual
* doc/lisp/canlisp.tex: Updated. Old Kon san's mail address was
removed.
2003-09-16 AIDA Shinra <shinra@j10n.org>
* lib/RKC/convert.c(ReadServer): continue in EINTR case
(WriteServer): select()
* lib/RKC/wconvert.c(READIT): continue in EINTR case
(WriteServer): select()
2003-09-15 AIDA Shinra <shinra@j10n.org>
* canuum/README.jp: Sync with release branch.
Update libspt download page.
2003-09-15 AIDA Shinra <shinra@j10n.org>
* CHANGES.jp: sync with release branch
* INSTALL: ditto
* INSTALL.jp: ditto
* canuum/canna.c(init_uum): remove nonsensical "< 0"
* server/server.jmn(SYNOPSIS): add -inet6
2003-09-15 AIDA Shinra <shinra@j10n.org>
* cmd/cannacheck/main.c: server name mignt be NULL if delay-connect
option is set
2003-09-15 AIDA Shinra <shinra@j10n.org>
* misc/.cvsignore: add manual.sed
* misc/initfiles/verose.canna(server-timeout): removed
2003-09-12 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 241]: bug report from Chinen san
* lib/RK/fq.c(readNV): bad pointer
2003-09-09 Toru TAKAMIZU <ttaka@earth.email.ne.jp>
* misc/initfiles/unix.canna: fix a typo ([Canna-dev 216]).
* misc/initfiles/verbose.canna: (setq inhibit-hankaku-kana nil)
([Canna-dev 216])
* document patch from Ikumi-san ([Canna-dev 216]). The document
is now compliant with LaTeX2e, while the old one depends on
LaTeX. Note that LaTeX 2.09 cannot typeset the document after
this change. The patch also includes a lot of misc fixes. The
following files are modified.
- doc/man/guide/tex/custom.tex
- doc/man/guide/tex/kanacode.tex
- doc/man/guide/tex/Imakefile
- doc/man/guide/tex/library.tex
- doc/man/guide/tex/server.tex
- doc/man/guide/tex/customex.tex
- doc/man/guide/tex/canna-dist.tex
- doc/man/guide/tex/commands.tex
- doc/man/guide/tex/konna.tex
- doc/man/guide/tex/jinput.tex
- doc/man/guide/tex/keymap.tex
- doc/man/guide/tex/func.tex
- doc/man/guide/tex/customfn.tex
- doc/README.jp
- doc/canna.sty
2003-09-08 AIDA Shinra <shinra@j10n.org>
* lib/RKC/conf.c(read_pipe_with_errors): prevent hang when my zombie
process disappeared by client's wait()
2003-09-08 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 239]: build error and error handling for rkc.conf
* lib/RKC/conf.c(config_path): better error messages
* lib/canna/Imakefile(clean): fix NARROW
2003-09-07 AIDA Shinra <shinra@j10n.org>
* lib/RK/ngram.c(RkReadGram): fix grammar offset calculation,
reduce gcc's warning
(RkCopyWrec): initialize a variable
* lib/RK/util.c(_RkReadHeader): fix copy size
(_RkCreateHeader): another fix of position calculation
2003-09-06 AIDA Shinra <shinra@j10n.org>
* lib/RKC/conf.c: cast 0xdeadbeef to int
(config_path): avoid PATH_MAX; now return a pointer allocated via
malloc()
(rkc_configure): change error handling for above change
* lib/RKC/confP.h: cast 0xdeadbeef to int
* lib/RKindep/strops.exp: add three entries
* lib/RKindep/strops.h(RKI_STRBUF_ADDCH): added
* lib/RKindep/strops.c(RkiStrbuf_add): added
(RkiStrbuf_addmem): added
(RkiStrbuf_addch): added
* Canna.conf.dist(CANNA_DEFINES): added for __EXTENSIONS__ on sun
* Imakefile(DEFINES): added for CANNA_DEFINES
* cmd/cmd.tmpl(DEFINES): add CANNA_DEFINES
* lib/RK/RKintern.h: fix RK_ASSERT
* lib/RK/util.c(_Rkpanic): s/fprintf/vfprintf/
(_RkCreateHeader): fix datasz calculation
* lib/RKC/Imakefile: merge RKC16/Imakefile
* lib/RKC16/Imakefile: merge into RKC/Imakefile and include it
* lib/canna/Imakefile: merge canna16/Imakefile
* lib/canna16/Imakefile: merge into canna/Imakefile and include it
2003-09-06 AIDA Shinra <shinra@j10n.org>
* lib/canna/Imakefile(RKINDEPSRCS): fix typo
* server/misc.c(EarlyInit): -l <num> was not working
2003-09-06 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 231]: cpdic failure and cpp's stderr
* lib/RKC/wconvert.c(SendType21Request): fix request size
* lib/RKC/Imakefile: add strops.[co]
* lib/RKC16/Imakefile: ditto
* lib/canna/Imakefile: ditto
* lib/canna16/Imakefile: ditto
* lib/RKC/conf.c(read_pipe_with_errors): added
(rkc_configure): use read_pipe_with_errors() instead of popen()
(Lexer_new): receive complete input instead of FILE *
* lib/RKC/confP.h(Lexer): remove rdbuf, curr and rdend is now const
char *
* lib/RKindep/strops.c: added
* lib/RKindep/strops.exp: added
* lib/RKindep/strops.h: added
2003-09-04 AIDA Shinra <shinra@j10n.org>
* dic/ideo/words/Imakefile: fix DIC_3_6_COMPAT
* dic/ideo/grammer/Imakefile: ditto
2003-09-04 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 226][Canna-dev 227]: isnumber
* lib/RKC/conf.c(Lexer_next): s/isnumber/isdigit/
2003-09-04 Toru TAKAMIZU <ttaka@earth.email.ne.jp>
* cmd/cannacheck/ccheck.man: remove a blank line
2003-08-31 AIDA Shinra <shinra@j10n.org>
* doc/intern/dic.txt: fix spelling
2003-08-31 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 220]: tango touroku problem
* lib/canna/uldefine.c(dicTourokuControl): set tblflag
2003-08-24 AIDA Shinra <shinra@j10n.org>
* doc/intern/dic.txt: previous commit was insufficient
* Canna.conf.dist(DIC_3_6_COMPAT): new cpp option
* dic/ideo/words/Imakefile: support DIC_3_6_COMPAT
* dic/ideo/grammer/Imakefile: ditto
* cmd/mkbindic/mkbindic.cpp: support -c option
* cmd/mkbindic/mkbindic.man: updated
* cmd/mkbindic/mkbindic.jmn: updated
2003-08-24 AIDA Shinra <shinra@j10n.org>
* New dictionary header. The new format is incompatible with former
format, therefore some compatibility feature are introduced.
Crxdic has "3.6-compatible" mode. Crfreq generates old .cld if
.cbd is old format. Server can mount both old and new dictionaries.
These stuff will be removed someday.
* canna/patchlevel.h: bump to 3.7devel2
* lib/RK/RKintern.h: include <unistd.h> and <fcntl.h>
(HD_*): reorder and change to enum
(HD_VERSION): new macro
(HD_TAG_*): moved into util.c
(struct ND): new member "version"
* lib/RK/ngram.c(RkReadGram): New argument "gramsz". Size check is
performed by "gramsz".
(RkOpenGram): Deal with new grammer data storage.
* lib/RK/permdic.c(openDF): Deal with new grammer data storage.
remove "WIN" code.
* lib/RK/util.c(HD_*): moved from RKintern.h
(read_tags): added
(_RkReadHeader): rewritten to handle new format
(_RkCreateHeader): ditto
* cmd/crfreq/crfreq.c(main): s/RK_MAX_HDRSIZ/RK_OLD_MAX_HDRSIZ.
Deal with new grammer data storage.
* cmd/crxdic/crxdic.c(struct dictionary): new members "gram{data,sz}"
(parse_arg): -c and -g option
(STrdup): check memory allocation error
(setHeader): removed
(makeHeader): rewritten
(write_file): write grammer data here instead of "cat" in Makefile
(main): store grammer in memory
* cmd/dpxdic/dpxdic.c(main): catch RkReadGram API change up
* dic/ideo/grammer/Imakefile: don't create fuzokugo.cld.
include cnj.bits to fuzokugo.cbd by "crxdig -g" instead of "cat".
* dic/ideo/words/dics.dir: remove fuzokugo.cld
* doc/intern/dic.txt: updated
2003-08-17 AIDA Shinra <shinra@j10n.org>
* doc/intern/dic.txt: documentation of binary dictionary format
2003-08-16 AIDA Shinra <shinra@j10n.org>
* Binary dictionary was not created properly. It caused wrong
learning sometimes.
* cmd/crxdic/crxdic.c(getp): returned number was not prime
(fil_ltab): "csn" record in link table was wrong
2003-08-16 AIDA Shinra <shinra@j10n.org>
* cmd/crxdic/crxdic.c: Improve boundary and internal sanity checks.
Some of error exit() are replaced to assert().
(fil_dic): remove pg arg
* lib/RK/RKintern.h(RK_ASSERT): added
* lib/RK/ngram.c(wstowrec): Fix wrong boundary check. Some of error
return are replaced to RK_ASSERT().
(RkParseWrec): Remove workaround for above wrong boundary check.
And improvements of sanity checks.
(RkParseOWrec): ditto
* lib/RK/util.c(_Rkpanic): use vfprintf
(RkAssertFail): added
* lib/RKC/convert.c(ServerTimeout): fix declaration
* lib/RKC/wconvert.c(ServerTimeout): define externally
* lib/canna/globnames: add ServerTimeout again
* server/misc.c(EarlyInit): fix -d handling
(BecomeDaemon): ditto
2003-08-08 AIDA Shinra <shinra@j10n.org>
* Preprocess rkc.conf by cpp.
* Canna.conf.dist(RKC_DEFINES): add -DCPP
* RKCCONF.jp: updated
* lib/RKC/conf.c(rkc_configure): popen cpp
(Lexer_new): initialize linetop flag
(Lexer_next): read "# line" generated by preprocessors
* lib/RKC/confP.h(Lexer): new member "linetop"
2003-08-07 AIDA Shinra <shinra@j10n.org>
* lib/RKC/conf.c(Parser_eval): disallow EOF in expressions
2003-08-07 AIDA Shinra <shinra@j10n.org>
* Implement C-like expressions evaluator for rkc.conf.
* RKCCONF.jp: updated
* lib/RKC/conf.c(match_operator1): added
(match_operator2): added
(Lexer_next): process operators, add postfix_op flag
(op_dump): added for debug
(Token_dump): add TOK_SEMICOLON and TOK_OPERATOR
(Parser_next): pass postfix_op flag to Lexer_next(), dump token
if CONF_LEXER_DEBUG is defined
(Parser_next_postfixop): added
(Parser_stmt): evaluate expressions
(Parser_eval_error): added
(Parser_eval): added
(calc_*): added
(top_statements): turn to static
(host_statements): turn to static
(RkcConfMgr_find): fix logic
* lib/RKC/confP.h(CONF_LEXER_DEBUG): add debug flag
(CONF_EVAL_DEBUG): add debug flag
(TokenType): add TOK_OPERATOR
(Operator): added
(TokenVal): new member "opval" to store an operator
(Parser): new member "exprval"
2003-08-05 AIDA Shinra <shinra@j10n.org>
* Implement RKC configuration infrastracture.
* RKCCONF.jp: new documentation
* configure.ac: check strlcpy()
* canna/rkcapi.h(INT_HEADER): added
* canna/Imakefile: add rkcapi.h
* canna/symbolname.h: remove "server-timeout"
* lib/RK/RK.h(RkwSetTimeout,RkwGetTimeout): removed
* lib/RKC/Imakefile: add conf.c, conf.h and confP.h
create symbolic link to rkcapi.h in $(CANNAROOT)/includes.
* lib/RKC/conf.c: added configurator implementation
* lib/RKC/conf.h: added
* lib/RKC/confP.h: added
* lib/RKC/rkc.c(ServerTimeout): move into wconvert.c
(config_error_handler): added
(RkwInitialize): remove CANNA_TIMEOUT feature.
invoke config_error_handler. invoke rkc_configure/rkc_config_fin.
(RkwFinalize): invoke rkc_config_fin.
(RkcListenConfigErrors): added
(RkwGetTimeout): removed
(RkwSetTimeout): removed
* lib/RKC/rkc.h: include "rkcapi.h"
* lib/RKC/wconvert.c(ServerTimeout): moved from rkc.c
(rkc_build_cannaserver_list): check "cannahost" in rkc.conf.
(rkc_Connect_Iroha_Server): set ServerTimeout here
* lib/RKC16/Imakefile: add conf.c, conf.h and confP.h
* lib/RKindep/Imakefile: add ecfuncs.h
* lib/RKindep/cfuncs.c(RkiAltStrlcpy): added
(RkiAltStrlcat): added
* lib/RKindep/ecfuncs.exp: added for RkiAltStrl{cat,cpy}
* lib/RKindep/ecfuncs.h: added for strlcpy and strlcat
* lib/RKindep/file.c(RkiGetLine): added
(RkiReadWholeFile): added
* lib/RKindep/file.exp: added RkiGetLine and RkiReadWholeFile
* lib/RKindep/file.h: ditto
* lib/canna/Imakefile(RKCSRCS): add conf.c
(RKCOBJS): add conf.o
* lib/canna16/Imakefile: ditto
* lib/canna/globnames: add config related functions and remove
ServerTimeout.
* lib/canna/henkan.c(warnRKCErrors): added
(KanjiInit): report RKC config errors if you are in verbose mode
* lib/canna/lisp.c(VServTimeout): removed
2003-08-02 AIDA Shinra <shinra@j10n.org>
* fix chkconc build.
* lib/RK/RKintern.h(struct RkGramIterator): added
(RkNextGram): added
* lib/RK/ngram.c(RkFirstGram): added
(RkEndGram): added
* cmd/chkconc: use RkGramIterator
2003-08-01 AIDA Shinra <shinra@j10n.org>
* lib/RK/permdic.c(_Rkpopen): fix copy and paste error
2003-08-01 AIDA Shinra <shinra@j10n.org>
* Change internal representation of conjunctions. Conjunction
matrix is packed per rows and referred by binary search.
It can also hold some flags. This is first step to increase
maximum number of hinshi.
* lib/RK/RKintern.h(RkKxDic): move RkKxDic to ngram.c.
(TestGram): replaced to RkTestGram()
(struct nword): remove nw_rcvec
* lib/RK/ngram.c(RkKxGram): added and new records
(gram_fill_conjcells): added
(RkGetGramSize): #ifdef unused
(RkTestGram): added to replace TestGram() macro
(RkCheckNegGram): moved from nword.c and compute rcvec here
* lib/RK/nword.c(checkNeg): renamed to RkCheckNegGram and moved
into ngram.c
(concWord): use RkCheckNegGram and remove unused variable
(parseWord): use RkTestGram
* lib/RK/bun.c(nword2str): use RkGetGramName instead of direct
access to nw_strtab
2003-07-31 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 218]: Ftte
Lower priority of 1 letter word + Ftte. Just a first step.
* lib/RK/RKintern.h(RkGram): add P_Ftte
(nword): move nw_count outside #ifdef LOGIC_HACK
(NW_LOWPRI): move outside #ifdef LOGIC_HACK
* lib/RK/context.c(_RkInitialize): get P_Ftte
* lib/RK/permdic.c(_Rkpopen): ditto
* lib/RK/nword.c: move some LOGIC_HACK code outside #ifdefs.
better to remove !LOGIC_HACK code?
(concWord): NW_LOWPRI to Ftte
(compword): place NW_LOWPRI words after all !NW_LOWPRI word.
2003-07-06 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 213]: Ikumi-san: key mappings and misc/canna removal
* lib/canna/lisp.c(keywordtable): add some key symbols
(LdefXKeysym): removed because nobody use and don't work and
considered harmful
* canna/symbolname.h(S_defXKeysym): removed
* lib/canna/alphamap.h: delete extra space
* lib/canna/emptymap.h: delete extra space
* misc/canna: removed because we have rc.canna
2003-07-06 Toru TAKAMIZU <ttaka@earth.email.ne.jp>
* [Canna-dev 190]: Ikumi-san: documentations improved.
- Canna.conf.dist: correct some wording
- INSTALL: explanation about automatic startup now makes the
reader refer to the sample script rather than shows an
example that assumes a certain directory layout etc.
- INSTALL.jp: ditto
2003-07-03 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 212]: KC_DO behaviour
* lib/canna/kctrl.c(KC_do): return number of commited characters for
consistency with EUC API
2003-06-29 AIDA Shinra <shinra@j10n.org>
* lib/RKindep/cksum.c(RkiCksumCRCAdd): char -> unsigned char
* cmd/crxdic/crxdic.c(makeHeader): dic->hdr is empty and useless here.
use dic->Dir->buf instead.
2003-06-29 AIDA Shinra <shinra@j10n.org>
* Several fixes related to romaji-kana conversion.
* cmd/dpromdic/dpromdic.c(printch): escape cpp-unsafe characters
* cmd/kpdic/kpdic.c(getWORD): Interpret "\xXX" format. "n\x27" was
"nx27" for 9 years!
(main): correct size header of PTDIC
* cmd/mkromdic/mkromdic.cpp: expand CPP macro
* lib/RK/RK.h: add RX_PTDIC
* lib/canna/RKroma.c: make PTDIC format work
(readHeader): added
(RkwOpenRoma): move header operations to readHeader
2003-06-23 AIDA Shinra <shinra@j10n.org>
* lib/RKC/rkc.c(uinfo): change to static to prevent a conflict with
uilib's uinfo
* lib/RKindep/Imakefile: don't use .SUFFIXES::, which conflicts with
all other .SUFFIXES:.
* lib/canna/uldefine.c(uuT2TangoEveryTimeCatch): also set SENTOU flag
to submitted string in romajiBuffer.
* Canna.conf.dist(cannaDsoRev): add Darwin dylib
* canna/widedef.h: add Darwin wchar
2003-05-28 AIDA Shinra <shinra@j10n.org>
* server/main.c(main): initialize first and fork last
* server/misc.c(BecomeDaemon): move init code to EarlyInit
* server/misc.c(EarlyInit): added
2003-05-28 AIDA Shinra <shinra@j10n.org>
* server/main.c(main): fork later
* server/misc.c(BecomeDaemon): _exit() instead of exit()
2003-04-06 AIDA Shinra <shinra@j10n.org>
* Merge stat patch by Fujieda-san and Kanou san. (default off)
* lib/RK/Imakefile: add /* -RK_LOG */
* lib/RK/RKintern.h: apply stat patch.
* lib/RK/bun.c: ditto
2003-04-05 AIDA Shinra <shinra@j10n.org>
* server/misc.c(GetAddrListFromName): resolve INET4 and INET6
independently.
2003-03-30 AIDA Shinra <shinra@j10n.org>
* server/connection.c(GetConnectionInfo): revert the way to
descriminate UNIX socket.
* server/main.c(NextAvailableClient): don't close socket here
2003-03-29 AIDA Shinra <shinra@j10n.org>
* lib/RKindep/file.h: include <sys/time.h> family for struct timeval.
2003-03-29 AIDA Shinra <shinra@j10n.org>
* Implement demand connection and timeout for client.
* lib/RKindep/file.c: added
* lib/RKindep/file.h: typedef rki_fd_set, RKI_FD_SET(), RkiConnect
* lib/RKindep/Imakefile: compile file.c
* lib/RKindep/file.exp: add RkiConnect
* configure.ac: check FD_ISSET and fd_set
* canna/symbolname.h: add "delay-connect", "server-timeout"
* lib/RK/RK.h: add RkwSetTimeout, RkwGetTimeout
* lib/RKC/Imakefile: include RKindep/file.c
* lib/RKC16/Imakefile: ditto
* lib/canna/Imakefile: ditto
* lib/canna16/Imakefile: ditto
* lib/RKC/convert.c(ReadServer): select()
* lib/RKC/wconvert.c(ReadServer): select()
(try_connect): added
(connect_inet): use try_connect
* lib/RKC/rkc.c(RkwInitialize): check CANNA_TIMEOUT env
(RkwGetTimeout): added
(RkwSetTimeout): added
* lib/canna/canna.h(CannaConfig): add DelayConnect
* lib/canna/commondata.c(standalone): removed
(DelayConnect): added
* lib/canna/globnames: add ServerTimeout (in libRKC)
* lib/canna/kctrl.c(KC_initialize): KanjiInit only if DelayConnect,
remove standalone flag
* lib/canna/lisp.c(VServTimeout): added
(VDelayConnect): added
* lib/canna/util.c(KanjiInitError): remove standalone flag
* misc/initfiles/unix.canna: (setq delay-connect t)
* misc/initfiles/verbose.canna: delay-connect, server-timeout
2003-03-26 AIDA Shinra <shinra@j10n.org>
* reimplement INET6 and ACL.
* configure.ac: check struct hostent.h_addr_list;
* lib/RKC/wconvert.c: allow scoped address
* server/IR.h: change address structures and change macros.
* server/connection.c: separate INET socket and INET6 socket.
(GetConnectionInfo): use getnameinfo.
* server/convert.c: reject IPv4 mapped address.
* server/main.c: GetConnectionInfo error check.
* server/misc.c: add new address handling.
(ACLCheckHostName): removed
(IR_Are_Addr_Equal): removed
(GetAddressFromName): removed
(AddrAreEqual): added
(GetAddrListFromName): added
(SearchAddrList): added
(FreeAddrList): added
(CreateAccessControlList): don't treat kernel hostname specially.
allow scoped address.
allow duplicate addresses.
(CheckAccessControlList): don't treat kernel hostname specially.
* server/wconvert.c(irw_killserver): cleanup
2003-03-24 AIDA Shinra <shinra@j10n.org>
* Inhibit direct configure invocation.
* Imakefile: set IN_MAKE=yes
* configure.ac: test $IN_MAKE
* canuum/Imakefile: set IN_MAKE=yes
* canuum/configure.in: test $IN_MAKE
2003-03-24 AIDA Shinra <shinra@j10n.org>
* RKindep cleanup.
* Imakefile: mkdir ./include/RKindep
* canna/ccompat.h: include "RKindep/cfuncs.h" instead of RKindep.h
* cmd/chkconc/chkconc.c: include "RKindep/file.h"
* cmd/crxgram/crxgram.c: ditto
* cmd/dicar/dicar.c: ditto
* cmd/dpxdic/dpxdic.c: ditto
* cmd/crxdic/crxdic.c: include "RKindep/file.h",
move cksum.h into RKindep/
* lib/RKindep/.cvsignore: RKIsubst.h -> *.sub
* lib/RKindep/cksum.h: ditto
* lib/RKindep/Imakefile: RKIsubst -> *.sub, separate RKindep.h
* lib/RKindep/basename.c: include "RKindep/file.h"
* lib/RKindep/cksum.c: move "RKindep/cksum.h" into RKindep/
* lib/RKindep/exports: removed and separated to *.exp
* lib/RKindep/RKindep.h: removed
* lib/RKindep/cfuncs.h: added
* lib/RKindep/file.h: added
* lib/RKindep/cfuncs.exp: added
* lib/RKindep/file.exp: added
* lib/RKindep/cksum.exp: added
2003-03-19 AIDA Shinra <shinra@j10n.org>
* Check cbd/cld consistency by CRC instead of *.cbd age.
* lib/RKindep/cksum.c: added
* lib/RKindep/cksum.h: added
* lib/RKindep/exports: add RkiCksum* APIs
* lib/RKindep/Makefile: add cksum.[ch]
* lib/RK/RKintern.h: add #CRC tag
* lib/RK/permdic.c: ditto
* lib/RK/util.c: add #CRC tag, remove essential_tag[] (unused)
* lib/RK/fq.c: compare CRC
* cmd/crxdic/crxdic.c: calculate CRC and store in #CRC tag
2003-03-10 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 182]: DicDir (by Takamizu san)
* Canna.conf.dist(ConvertPathName): add @(DicDir)
2003-03-05 AIDA Shinra <shinra@j10n.org>
* [Canna-dev 185]: misc patch by Ikumi san
* cmd/mkbindic/Imakefile: quote CPP
* cmd/mkromdic/Imakefile: dittto
* dic/phono/kana.kpdef: use \xnn escape seq
* dic/phono/newjis.kpdef: ditto
* lib/canna/RkPhono.jmn: remove dup file
* misc/Imakefile: create rc.canna, don't install [rc]Makefile
* misc/cMakefile: removed
* misc/rMakefile: reomved
* misc/rc.canna-dist: new script source
2003-02-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/server.man: misc improvements (by Takamizu san)
* server/server.jmn: ditto
2003-02-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
* separate default.canna and verbose.canna. (proposed by
TAMUKI san, Plamo maintainer)
* misc/default.ca: place it again
* misc/initfiles/default.ca: rename to verbose.canna
* misc/initfiles/verbose.canna: renamed from default.ca and slightly
modified
2003-02-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/romaji.c(doKakutei): save d->current_mode for
bubun-kakutei
2003-02-03 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/ebind.c(EUCListCallback): check items == NULL case
* lib/RKC/wconvert.c: make "extension" protocol sensical
* server/IRwproto.h: ditto
* server/wconvert.c: ditto
* server/main.c(Dispatch): output extension name to debug log
* server/wconvert.c(ReadWideRequestFromClient): ditto
* server/convert.c(ReadRequestFromClient): ditto
* server/misc.c(BecomeDaemon): if both -d and -l is given output
messages over the given priority to stdout.
* canna/patchlevel.h: rename to 3.7devel1
2003-02-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
* configure.ac: check sys/select.h
* server/connectoin.c: HAVE_SYS_SELECT_H instead of AIXV3
* server/WaitFor.c: ditto
* canna/protodef.h: correct ifdef around typedef Ushort and BYTE
* canna/ccompat.h(RCSID): forgot to define to empty for lint
* canuum/commonhd.h: don't need to include "cannaconf.h"
2003-02-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canna/ccompat.h: const hack is done in accanna.h
(WARN_REFERENCES): only use on ELF platform
(RCSID): __attribute((__unused__)) instead of .ident
* cmd/canlisp/canlisp.c: include "ccompat.h"
* cmd/forcpp/forcpp.c: ditto
* cmd/forsort/forsort.c: ditto
* cmd/catdic/can.c: define CANNA_NEW_WCHAR_AWARE
* cmd/catdic/rutic.c: ditto
* cmd/dpromdic/dpromdic.c: include "ccompat.h" and define
CANNA_NEW_WCHAR_AWARE
* cmd/wtoc/wtoc.c: include "ccompat.h"
(salloc): don't declare malloc() here
* lib/canna/obind.c(owcListCallback): check items == NULL case
2003-02-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
* [Canna-dev 164] [Canna-dev 169]: doc and Imakefile patches by
Takamizu san.
* server/server.jmn: more clear and accurate desc
* server/server.man: ditto
* cmd/catdic/Imakefile: install chmoddic.1
2003-01-25 AIDA Shinra <aida-s@jcom.home.ne.jp>
* oops, I forgot to add configure.ac and cmd/cmd.tmpl.
2003-01-25 AIDA Shinra <aida-s@jcom.home.ne.jp>
* autoconfize, cmd/*/Imakefile cleanup and add libRKindep
* Canna.conf.dist: define some make variables
(MakeCannaConfigH): include accanna.h from cannaconf.h
* Imakefile: invoke configure to create accanna.h
(distclean): remove files created by configure
* mkrelease.sh: generate configure and accanna.h.in
* configure.ac: added
* .cvsignore: add generated files by autoconf
* canna/ccompat.h: move HAVE_* to accanna.h.
include RKindep.h and define compatibility macros.
modify some macros.
(RCSID): new macro
* canuum/Imakefile: rename ConfigureEnv and ConfigureArgs to
distinguish toplevel configure and canuum configure
* canuum/canna.c: don't include "ccompat.h"
* cmd/cmd.tmpl: added
* cmd/*/Imakefile: cleanup using cmd.tmpl
* cmd/chkconc/chkconc.c: use RkiBasename() instead of basename()
* cmd/crxdic/crxdic.c: ditto
* cmd/crxgram/crxgram.c: ditto
* cmd/dicar/dicar.c: ditto
* cmd/dpxdic/dpxdic.c: ditto
* lib/Imakefile: add libRKindep
* lib/RKC/Imakefile: join cfuncs.c in libRKindep
* lib/RKC16/Imakefile: ditto
* lib/canna/Imakefile: ditto
* lib/canna16/Imakefile: ditto
* lib/RK/RKintern.h: define HAVE_RENAME in accanna.h
* server/Imakefile: cleanup
* lib/RKindep/Imakefile: added
* lib/RKindep/cfuncs.c: added
* lib/RKindep/basename.c: added
* lib/RKindep/RKindep.h: added
* lib/RKindep/exports: added
* lib/RKindep/.cvsignore: added
2003-01-25 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Canna.conf.dist: MANSUFF(X (thanks to nanashi san)
* mkrelease.sh: remove autom4te.cache
2003-01-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/configure.in: check union wait
* canuum/jhlp.c(chld_handler): HAVE_UNION_WAIT
* canuum/termio.c(openTermData): don't invoke reset_shell_mode()
2003-01-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/jhlp.c(open_ttyp): I_PUSH
* canuum/commonhd.h: fix typo (s/CONFIG_TEMRIO/CONFIG_TERMINFO)
2003-01-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
* [Canna-dev 153]: sample file problems (Thanks to Ikumi san)
* misc/initfiles/Imakefile: install default.canna to cannaLibDir
* misc/initfiles/default.ca: fix typo, 3.5 options
* misc/initfiles/sample.canna: ditto
* misc/initfiles/unix.canna: ditto
2003-01-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/obind.c(owcListCallback): correct owbuf size
2003-01-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Implement KC_SETLISTCALLBACK for EUC and old wchar_t. (dirty)
* canna/jrkanji.h(jrEUCListCallbackStruct): added
(CANNA_EUC_LISTCALLBACK): added to inform this API
* lib/canna/canna.h(uiContext): add elistcb
* lib/canna/ebind.c(EUCListCallback): added
(XKanjiControl2): map KC_SETLISTCALLBACK
* lib/canna/obind.c(owcListCallback): added
(owcKanjiControl2): map KC_SETLISTCALLBACK
* lib/canna/globnames: add EUCListCallback and owcListCallback
* lib/canna/kctrl.c(KC_setListCallback): set d->elistcb
2003-01-17 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/romaji.c(YomiKakutei): Oops, I left debug fprintf.
2003-01-17 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/henkan.c(TanPrintBunpou): correctly handle guidline clear
flags (Thanks to Ikumi san)
(TanPrintTime): ditto
(tanbunToYomiAll): avoid dereference of tan after tanbunCommitYomi
* lib/canna/romaji.c(howFarToGoBackward): character-based-move was
broken. Don't stop at HENKANSUMI && !SENTOU char. Instead we set
SENTOU flag in tango-touroku time.
(howFarToGoForward): ditto
* lib/canna/uldefine.c(uuT2TangoEveryTimeCatch): SENTOU flag on.
Now we can handle cursor in tango-touroku really properly.
2003-01-15 AIDA Shinra <aida-s@jcom.home.ne.jp>
* dic/ideo/pubdic/k.p(kabun): T35 -> T15 (Bugs #773)
2003-01-15 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/uldelete.c: delete words in group dictionaries (Thanks to
Ikumi san)
* cmd/crfreq/crfreq.c: avoid crash when filename and dicname are not
specified
* [Canna-dev 143]: misc fixes (Thanks to Toru TAKAMIZU san)
* ChangeLog(previous commit): s/TEMPDIR/TMPDIR/
* INSTALL: remove canvert
* INSTALL.jp: ditto
* cmd/dpbindic/dpbindic.man: reformat
* cmd/dpbindic/dpbindic.jmn: remove canvert(1) from .SH
* cmd/mkbindic/mkbindic.cpp: use .fq suffix if "-name foo.d" is
specified
* cmd/mkbindic/mkbindic.jmn: new filename, remove canvert(1)
* cmd/mkbindic/mkbindic.man: ditto, update examples, add $TMPDIR desc
* cmd/ctow/ctow.c: s/itow/ctow/ in comments, s/speach/speech/
* cmd/splitwd/splitwd.man: s/itow/ctow/
* lib/canna/parse.c: undef OBSOLETE_RCFILE
2003-01-13 AIDA Shinra <aida-s@jcom.home.ne.jp>
* cmd/dicar/dicar.man: correct typo(Thanks to NAKAMURA Takeshi san)
* cmd/mkbindic/mkbindic.cpp: change cpp check method, $TMPDIR (Thanks
to takasan san)
* Canna.conf.dist(MakeCannaConfigH): suppress echo
* misc/default.ca: already moved into initfiles; removed
* misc/Imakefile: remove default.ca
* misc/initfiles/default.ca: append old default.ca contents and
"nami" "nakaten" symbol defs as comment.
* misc/initfiles/unix.ca: add "nami" symbol
2003-01-13 AIDA Shinra <aida-s@jcom.home.ne.jp>
* wchar_t fix final step: now our cannawc does not need wchar_t hack.
* Canna.conf.dist(supportOldWchar): added
* canna/jrkanji.h: check CANNA_NEW_WCHAR_AWARE
* canna/widedef.h: don't define cannawc here
* canuum/canna.c: use new wide character
* cmd/cannacheck/main.c: don't include "widedef.h". instead
<canna/RK.h> is needed.
(CANNA_NEW_WCHAR_AWARE): define
* canna/ccompat.h(WARN_REFERENCES): added (copied from FreeBSD)
* lib/RK/RK.h: demand CANNA_NEW_WCHAR_AWARE
* lib/RK/RKintern.h(CANNA_NEW_WCHAR_AWARE): define
(cannawc): typedef to Wchar here
* lib/RKC/rkc.c(RkwInitialize): rkcWCinit is removed
* lib/RKC/rkcw.h(cannawc): typedef here
* lib/RKC/wutil.c: replace rkcWCinit and wchar_type to #ifdef
* lib/RKC16/Imakefile(DEFINES): undef WCHAR16, define CANNA_WCHAR16
* lib/canna/Imakefile: add obind.[co]
* lib/canna/obind.c: added
* lib/canna/canna.h: don't include "widedef.h" here
(CANNA_NEW_WCHAR_AWARE): define
* lib/canna/engine.c: use CANNA_WCHAR16
* lib/canna/globnames: add context_table
* lib/canna/kctrl.c(KC_initialize): WCinit is removed
(context_table): change to global
* lib/canna/util.c: replace WCinit and wchar_type to #ifdef
* lib/canna/lisp.c: ditto (WIN_CANLISP)
* lib/canna16/Imakefile: add obind.[co]
(DEFINES): undef WCHAR16, define CANNA_WCHAR16
2003-01-10 AIDA Shinra <aida-s@jcom.home.ne.jp>
* we no longer need JAPANESE_LOCALE
* Canna.conf.dist: remove JapaneseLocale and JAPANESE_LOCALE
* canuum/jhlp.c: don't use LANG
* canuum/wnn_config.h: remove JAPANESE_LOCALE
2003-01-10 AIDA Shinra <aida-s@jcom.home.ne.jp>
* sample/*: sample.c is a worst sample. It's hard to make cope with
new wide character. Remove them.
2003-01-10 AIDA Shinra <aida-s@jcom.home.ne.jp>
* wchar_t fix step 3: add cannawc hook (no API/ABI changes for now)
* canna/jrkanji.h: use cannawc instead of wchar_t
* canna/widedef.h: ditto
* lib/RK/RK.h: ditto
* lib/RKC/*: replace wchar_t to cannawc by macro carefully
* lib/canna/*: ditto
* server/IR.h: typedef Ushort cannawc; remove alternative prototypes
* server/util.c: don't include widedef.h
(wchar2ushort32): removed (unused function)
(ushort2wchar32): removed (unused function)
2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
* completely remove libc's mbstowcs
* lib/RKC/rkcw.h: remove JAPANESE_LOCALE
* lib/RKC/wutil.c: remove HAVE_WCHAR_OPERATION
* lib/canna/canna.h: remove JAPANESE_LOCALE
* sample/sample.c: distinguish X/libc wchar_t and canna wchar
(main): always invoke setlocale()
(euc): removed; always behaves as euc==1
(proc_keypress): always behaves as euc==1
(proc_ctl_keypress): remove HAVE_WCHAR_OPERATION
(checkOptions): -euc option is not needed
(checkGLineWidth): convert X/libc wchar to canna wchar
(WCinit): remove HAVE_WCHAR_OPERATION
(mywcstombs): added
(mymbstowcs): added
2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
* wchar_t fix step 2: remove libc's mbstowcs()
* Canna.conf(wcharDefinition): empty
(Wlib): removed
* canna/widedef.h: remove HAVE_WCHAR_OPERATION
* lib/canna/canna.h: ditto
* lib/canna/commondata.c(locale_insufficient): removed
* lib/canna/globnames: remove locale_insufficient
* lib/canna/jrbind.c(XwcLookupKanji2): remove if(locale_insufficient)
* lib/canna/util.c(WCinit): remove HAVE_WCHAR_OPERATION case
(CNvW2E): ditto
(CANNA_mbstowcs): always compiled
(CANNA_wcstombs): always compiled
* lib/canna/lisp.c(WCinit): remove HAVE_WCHAR_OPERATION case although
it is Windows only code
2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/uumimport.sh: don't use -ko; it is needless because FreeWnn
files are checkouted with -kv. now RCSID is expanded correctly.
* canuum/* (FreeWnn files): cvs admin -kkv
2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Imakefile(instmost): added
2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/Imakefile(ConfigureEnv): fix quote
* canuum/commonhd.h: redefine TERMCAP/TERMINFO here according to
CONFIG_TERMIO here
* canuum/configure.in: check killpg, getpgid, getpgrp
* canuum/jhlp.c(chld_handler): use KILLPG macro
(do_end): ditto
(setsize): ditto
* canuum/wnn_os.h: move TERMCAP/TERMINFO redefinition to commonhd.h
(KILLPG): new macro
(GETPGID): new macro
(GETMYPGRP): new macro
2003-01-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/RK/bun.c(RkStoreYomi): allow yomi == NULL && len == 0
2003-01-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
* [Canna-dev 119] chikuji input was broken
* lib/RKC/wconvert.c(SendType11Request): stop buffer overrun
* server/wconvert.c(irw_store_yomi): len = ushortstrlen() unless
req->yomi == NULL
(irw_store_range): ditto
(ProcWideReq11): allow empty string that is not null terminated
2003-01-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/*: add RCSID
* canuum/jhlp.c: remove code commented out
* canuum/ttyfdslot.c: removed
* canuum/sheader.h: remove ttyfdslot(), setutmp(), saveutmp() and
resetutmp()
* canuum/freewnn-uum.files: remove ttyfdslot.c and setutmp.c
2003-01-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Get pty with libspt:
http://members.jcom.home.ne.jp/aida-s/libspt/
* canuum/Imakefile: link libspt
(INSTUGIDFLAGS): don't need any privilege.
* canuum/jhlp.c(main): remove utmp logging without libspt completely.
(SysV j_term_save): remove meaningless cfset[io]speed.
(chld_handler): spt_utmp_set_exit()
(ptyfd, ttypfd): -1 init
(exec_cmd): use libspt, fix USE_LINUX_TERM, remove old utmp code.
(open_pty): use libspt
(do_end): libspt related cleanup, remove old utmp code, comment out
needless TIOCSSIZE.
(ptyname): don't compile when libspt is used.
* canuum/setutmp.c: removed because libspt does this
2002-12-28 AIDA Shinra <aida-s@jcom.home.ne.jp>
* cmd/Imakefile(SUBDIRS): add chkconc
* server/IR.h: define _WCHAR_t again after include "canna/RK.h"
* canna/widedef.h: FreeBSD 5.x and OpenBSD
2002-12-28 AIDA Shinra <aida-s@jcom.home.ne.jp>
* [canna-dev 97] [canna-dev 106] [canna-dev 107]
New direcroty hierarchy.
* Canna.conf.dist: new directory hierarchy if !ObsoleteInstallDir
(MakeCannaConfigH for !EMX): preserve old cannaconf.h if unchanged
* cmd/catdic/Imakefil: cannakill in cannaSrvDir if !ObsoleteInstallDir
2002-12-28 AIDA Shinra <aida-s@jcom.home.ne.jp>
* cleanuped tty handling of canuum and TERMCAP/TERMINFO detection.
* canuum/.cvsignore: add config.h.in
* canuum/Imakefile(TERMCAP_LIB): added
(distclean): delete config.cache and config.status
(reconfig): added
* canuum/canna.c: don't include <sgtty.h>, <curses.h>, <term.h>
directly. latter 2 are included from "wnn_os.h".
* canuum/config.h.in: remove from CVS. instead generate by
mkrelease.sh.
* canuum/acconfig.h: added (ported from FreeWnn)
(HAVE_TERMINFO): added
* mkrelease.sh: generate canuum/config.h.in using autoheader2.5
* configure.in: Do not set CDEBUGFLAGS/CCOPTIONS when CANNA.
Do not use AC_SEARCH_LIBS to detect terminal library.
Check termcap.h, sgtty.h, sys/termio.h and termios.h.
Choose appropreate terminal library. (ported from vim6.1)
Check setsid, dup2.
* canuum/freewnn-uum.files: remove config.h.in and add acconfig.h
* canuum/jhlp.c: move #include <curses.h> and <term.h> to wnn_os.h.
include termios.h or termio.h or sgtty.h appropreately.
(USE_LINUX_TERM): Added new macro. If you define it, old linux
specific terminal handling code is used instead of new POSIX based
one. I don't know why such a special code was needed, but leave it
just in case.
(ttyfd): initialize before open_pty()
(j_term_save): added. POSIX termios ready.
(j_term_restore): ditto
(j_term_p_init): ditto
(j_term_init): now POSIX termios ready
(open_ttyp): move some code to j_term_*.
(open_pty): ditto
(do_end): move cleanup code to j_term_restore.
(change_size): change #ifdefs
(exec_cmd): Add new code to use POSIX setsid(). If it is not
available or USE_LINUX_TERM is specified, old code is used.
* canuum/termcap.c: Move #include <curses.h>, <ncurses.h> and
<term.h> to "wnn_os.h".
* termio.h: ditto
* wnn_os.h: Use configure result instead of old TERMCAP/TERMINFO
definitions when CONFIG_TERMINFO is defined. In this case
include <curses.h>, <ncurses.h>, <term.h> and/or <termcap.h>
appropreately.
2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/henkan.c(doTanBubunMuhenkan): correctly calculate first
bunsetsu to convert to yomiContext.
2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
* add .cvsignore to all directories.
2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
* ChangeLog(previous commit): avoid keyword substitution
2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/canuum.man: added (but no complete)
* canuum/README.copyright: s/Canuum.files/freewnn-uum.files/g
* canuum/checkout.sh: cleanup, add RCSID
* canuum/uumimport.sh: cleanup, add RCSID
2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/Bring.sh: remove obsolete files
* canuum/Canuum.patch: ditto
* canuum/Uum.files: ditto
* canuum/configure.in: do not use canuum.tmpl
2002-12-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canuum/*: imported uum from FreeWnn and canuumized.
* mkrelease.sh: invoke autoconf
2002-12-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/ebind.c(XLookupKanji2): cast to unsigned char first
2002-12-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
* ChangeLog(2002-11-09 first commit): correct filename
2002-12-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Prevent wrong learning. It had occured in two situations:
1. bubun kakutei at bunsetsus (probably) except in jishu-henkan mode
2. bubun muhenkan
In both cases, all bunsetsus had been learned.
This commit is only a quick hack. tanbunContext should be removed
and new protocol should be added in future.
* lib/canna/henkan.c(tanbunToYomiAll): added
(doTanConvertTb): use tanbunToYomiAll
(doTanBubunMuhenkan): ditto
(tanbunToYomi,tanbunCommitYomi): added
(tanbunUnconvert): separated into tanbunToYomi and tanbunCommitYomi
(TbBubunMuhenkan): use tanbunToYomi and tanbunCommitYomi
(doYomiHenkan): added yc arg, new comment
(tanbunHenkan): removed because enterTanHenkanMode no longer calls
(enterTanHenkanMode): more strict error handling
* lib/canna/romaji.c(TbBubunKakutei): commented out (already unused)
2002-12-16 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/RK/Imakefile: RkMountD -> RkMountDic
2002-12-16 AIDA Shinra <aida-s@jcom.home.ne.jp>
[Canna:05811] [Canna:05812] autodef was broken
* lib/canna/lisp.c(Lusedic): handle ":katakana",":hiragana"
* lib/canna/romaji.c(doKakutei): define proper word
2002-12-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/canna/romaji.c(howFarToGoBackward): Stop at HENKANSUMI char.
Otherwise we cannot edit the words in tango-touroku if
character-based-move is true.
(howFarToGoForward): ditto
2002-12-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/convert.c:
if CANNA_LIGHT -> ifdef (thanks to Ayamura KIKUCHI san)
* lib/RKC/rkcw.h: ditto
* lib/RKC/convert.c: ditto
* ChangeLog: correct previous commit date
2002-12-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
* CHANGES.jp: more desc about one-letter word hack
* cmd/mkbindic/mkbindic.cpp: use only yomi as sort key
2002-12-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/wconvert.c: CANNA-2002-1 security fix.
* server/convert.c: ditto
* server/util.c(ushortmemchr): added
2002-11-09 AIDA Shinra <aida-s@jcom.home.ne.jp>
* cmd/catdic/Imakefile: remove wrong DESTDIR (thanks to SUZUKI san)
2002-11-09 AIDA Shinra <aida-s@jcom.home.ne.jp>
* dic/ideo/grammar/Imakefile: add DESTDIR (thanks to SUZUKI san)
* INSTALL.jp: s/lockfile/socket/g
* INSTALL: ditto
Corrected in 2002-12-18: s/words/grammar/
2002-11-07 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/util.c(ushort2euc): reverted previous wrong SS3 fix.
(euc2ushort): should be here.
* canna/patchlevel.h: bump to 4.0-devel.
* Canna.conf: CannaDsoRev is now 1.1 in all platforms.
2002-11-07 AIDA Shinra <aida-s@jcom.home.ne.jp>
* ChangeLog: correct date
* [canna-dev 50] [canna-dev 85]:
patch by ikumi-san. dic fixes.
* dic/ideo/a.p: correct kanjis
* dic/ideo/k.p: correct kanjis
* dic/ideo/s.p: correct kanjis
* dic/ideo/t.p: correct kanjis
* dic/ideo/h.p: correct kanjis
* dic/ideo/m.p: correct kanjis
* dic/ideo/y.p: correct kanjis
* dic/ideo/p.p: correct kanjis
* dic/ideo/w.p: correct kanjis
2002-11-07 AIDA Shinra <aida-s@jcom.home.ne.jp>
* ChangeLog: unified format
* server/misc.c(BecomeDaemon): hook SIGTERM before fork
(Reset): only raise a flag and return
(CheckSignal): added
* server/wconvert.c(ReadWideRequestFromClient): check signal
(WriteClient): ditto
* server/convert.c(ReadRequestFromClient): ditto
(WriteClient): ditto
(ir_error): ditto
* server/WaitFor.c: ditto
Corrected on 2002-11-07: not 2002-11-05
2002-11-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
* dic/ideo/pubdic/a.p(abushiga): magbushiga
* dic/ideo/pubdic/m.p(mabushiga): added
2002-11-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
* [canna-dev 50] [canna-dev 58] [canna-dev 75]:
patch by Ikumi-san. currently dic errors are not checked except
ones of a.p, so fix only them.
* cmd/catdic/Imakefile: add chmoddic, DESTDIR
* dic/ideo/words/Imakefile: fix text dic permission, add DESTDIR
* lib/RK/Imakefile: s/RkRgnBun/RkBgnBun/
* server/util.c: SS3 conversion was wring.
* dic/ideo/pubdic/a.p(adabana): fix kanji
(atsureki): fix kanji
(ankou): only two letter "ankou" is allowed.
2002-11-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
* ChangeLog: fix my mail address
* Canna.conf.dist(inet6Definition): added
(CANNASERVER_DEFINES, RKC_DEFINES): add inet6Definition
* lib/RKC/wconvert.c(connect_inet): create inet6 socket
(rkc_Connect_Iroha_Server): IPv6 [x::y] address expression support
* server/IR.h: add some in6_addr support
* server/connection.c(open_inet_socket): create inet6 socket
Dmsg was wrong, htons() was not needed(!INET6 only)
(CreateWellKnownSockets): call open_inet_socket when UseInet6
(GetConnectionInfo): support IPv6 address
* server/convert.c(ir_initialize): IPv4 address check
* server/misc.c: use IR_ARE_ADDR_EQUAL, Address
(IR_No_Address, IR_Unix_Address): added
(UseInet6): added
(USAGE): add -inet6 desc
(BecomeDaemon): initialize IR_No_Address if needed, check -inet6
(GetAddressFromName): added
(IR_Are_Addr_Equal): added
(CreateAccessControlList): IPv6 [x::y] address expression support
* server/server.man: add -inet6 desc
* server/server.jmn: ditto
* server/wconvert.c(irw_killserver): check IPv6 case
2002-10-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/server.jmn: remove premountdics desc
* server/server.man: ditto
* INSTALL(Acknowledgements): changed to "see README.ja."
2002-10-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/server.man: fix SYNOPSIS (Thanks to Hane san)
* dic/ideo/words/dics.dir: add fuzokugo.cld
2002-10-23 AIDA Shinra <aida-s@jcom.home.ne.jp>
* INSTALL.jp: updated
* INSTALL: ditto
2002-10-23 AIDA Shinra <aida-s@jcom.home.ne.jp>
* canna/patchlevel.h: bump to 3.6
* CHANGES.jp: add 3.6 desc
* README.jp: updated
* README: updated (acknowledgement is not yet done)
2002-10-23 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Canna.conf.dist: Added warning not to change -DCANNA_WCHAR.
* cmd/mkbindic/mkbindic.cpp: pass -div 512 to crfreq.
* ChangeLog (2002-10-20 first commit): corrected patch file name.
2002-10-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
* dic/ideo/pubdic/h.p (ha, hi, himatsu, funman): corrected spells.
* dic/ideo/pubdic/n.p (noukousoku): ditto
* dic/ideo/pubdic/t.p (toraware,dorojiai): ditto
* README, README.jp: add copyright notice
* server/server.man: add -u, -inet desc
remove obsolete lockfile description and describe socket.
* server/server.jmn: ditto
* cmd/catdic/cannakill.man: ditto
* cmd/catdic/cannakill.jmn: ditto
* Canna.conf.dist (ConvertPathName): added UnixSockDir,
UnixSockName, and AccessFile.
2002-10-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
* server/misc.c (CreateAccessControlList): remove needless init.
(from Debian)
* cmd/crxgram/crxgram.c (basename): avoid conflicting with glibc.
(from Debian)
* dic/ideo/pubdic/a.p (enzui): well-known pubdic error
* dic/ideo/pubdic/k.p (kotsuzui): ditto
* lib/RK/nword.c (evalSplit): one-letter word hack (from Debian)
* lib/canna/romaji.c: default romkana dic (from Debian)
(DEFAULT_ROMKANA_TABLE): always use ".cbp"
(OpenRoma): try topdir/ after topdir/dic/user and topdir/dic
* misc/Imakefile: exclude engineSwitch related files (from Debian)
* Canna.conf.dist: install both Japanese and English manuals
(JMNLOCLALE): added
(installManPageLong): install Japanese man page
(installLibManPageLong): ditto
(installLibManAliases): ditto, use symlink instead of .so
* Canna.conf.dist (MakeDirectoriesLong): add semicolon (from Debian)
2002-10-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
* lib/RK/dd.c (DDchmod): wrong buffer size (ported from Debian)
* server/misc.c (SetDicHome): fixed buffer overflow found by
Shadow Penguin. (ported from Debian)
* server/misc.c: added -u and -inet options (ported from Debian)
add #include <pwd.h>, <sys/types.h>
(userID, UseInet): added
(Usage): add -u, -inet
(BecomeDaemon): check -u, -inet
* server/connection.c: -inet option (ported From Debian)
add extern int UseInet
(CreateWellKnownSockets): check UseInet
* server/Imakefile: We have -u option, no need to setuid.
2002-10-20 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Imakefile: do not ignore errors when making all.
* canna/ccompat.h: added
* canna/Imakefile (OSDEP_HEADER): added ccompat.h
* server/IR.h: use ccompat.h
* lib/RK/RKintern.h: ditto
* lib/RKC/rkc.h: ditto
* lib/RKC/rkcw.h: ditto
* lib/canna/canna.h: ditto
* ccustom/canna.h: ditto
* ccustom/ccustom.c: ditto
* cmd/cannacheck/main.c: ditto
* cmd/catdic/RKdelline.c: ditto
* cmd/catdic/can.c: ditto
* cmd/catdic/rutil.c: ditto
* cmd/chkconc/chkconc.c: ditto
* cmd/crrdic/crrdic.c: ditto
* cmd/crxdic/crxdic.c: ditto
* cmd/crxgram/crxgram.c: ditto
* cmd/ctow/ctow.c: ditto
* cmd/dpxdic/dpxdic.c: ditto
* cmd/kpdic/kpdic.c: ditto
* cmd/splitwd/kpdic.c: ditto
* canuum/canna.c: ditto
* dic/ideo/public/pod.c: ditto
* lib/RK/bun.c: remove what is done in ccompat.h
* lib/RK/context.c: ditto
* lib/RK/dd.c: ditto
* lib/RK/dic.c: ditto
* lib/RK/fq.c: ditto
* lib/RK/ngram.c: ditto
* lib/RK/permdic.c: ditto
* lib/RK/tempdic.c: ditto
* lib/RK/util.c: ditto
* lib/RKC/convert.c: ditto
* lib/RKC/rkc.c: ditto
* lib/RKC/wconvert.c: ditto
* lib/RKC/wutil.c: ditto
* lib/canna/RKroma.c: ditto
* lib/canna/engine.c: ditto
* ccustom/lisp.c: ditto
* ccustom/util.c: ditto
* doc/man/guide/tex/cannaindex.c: use ccompat.h
stop using strdup.
* cmd/crxgram/Imakefile (INCLUDES): added $(CANNAROOT)/include
* cmd/ctow/Imakefile (INCLUDES): ditto
* cmd/kpdic/Imakefile (INCLUDES): ditto
* cmd/splitwd/Imakefile (INCLUDES): ditto
* dic/ideo/pubdic/Imakefile (INCLUDES): ditto
* lib/RK/RK.h: support prototype when __cplusplus.
2002-10-20 AIDA Shinra <aida-s@jcom.home.ne.jp>
* ChangeLog: added
* mkrelease.sh: added
* cmd/chkconc/Imakefile: add .exe suffix on __CYGWIN32__.
* Canna.conf: renamed to Canna.conf.dist.
Canna.conf is now created by mkrelease.sh.
* Canna.conf.dist: renamed from Canna.conf.
added DLL stuff for cygwin.
use UNIX rules instead of EMX rules(no UNIX socket, no subshell).
(cannaPrefix, cannaExecPrefix): added
(InstallAsUser): added
(UnixSockDir, UnixSockName): added
(AccessFile): added
* lib/RKC/rkcw.h: use UNIX socket in cygwin.
* server/Imakefile: added ConnectionFlags to DEFINES.
* canna/protodef.h: allow to configure UNIX socket dir.
(IR_UNIX_DIR): moved to cannaconf.h.
(IR_UNIX_PATH): use IR_UNIX_DIR, IR_UNIX_SOCKNAME defined in cannaconf.h.
* Imakefile: added includes:: dependency. (for XFree86 4.2.0 imake)
* lib/canna/Imakefile: ditto
* server/util.c: remove #include "net.h"
* server/misc.c: add #ifdef ACCESS_FILE
2002-10-20 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Applied Fujieda-san's patches:
http://www.jaist.ac.jp/~fujieda/canna/Canna35b2-unoff1.patch.gz,
http://www.jaist.ac.jp/~fujieda/canna/Canna35b2-unoff2.patch.gz,
http://www.jaist.ac.jp/~fujieda/canna/Canna35b2-hack1.patch.gz,
http://www.jaist.ac.jp/~fujieda/cygwin/Canna35b2-cygwin.patch.gz
Corrected on 2002-10-23: not -cygwin.patch.gz, but -cygwin.patch.bz2.
2002-10-19 AIDA Shinra <aida-s@jcom.home.ne.jp>
* Virgin import of Canna3.5b2.
$Id: ChangeLog,v 1.155.2.21 2004/05/19 15:47:33 aida_s Exp $
|