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 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585
|
2008-12-01 Kanru Chen <kanru@kanru.info>
* configure.ac: Bump version to 0.3.2 .
* TODO: Add new entry.
* NEWS: Update.
2008-12-01 Jim Huang <jserv.tw@gmail.com>
* src/tree.c: Fix build due to previous changes.
2008-12-01 Kanru Chen <kanru@kanru.info>
* include/global.h,
include/internal/tree-private.h (IS_USER_PHRASE) (IS_DICT_PHRASE): Hide
internal macro.
2008-12-01 Jim Huang <jserv.tw@gmail.com>
* src/hash.c (TerminateHash): Release internal memory allocations.
`make -C test vcheck` dumps reasonable results:
==30989== LEAK SUMMARY:
==30989== definitely lost: 0 bytes in 0 blocks.
==30989== possibly lost: 0 bytes in 0 blocks.
==30989== still reachable: 8,570 bytes in 582 blocks.
2008-12-01 Jim Huang <jserv.tw@gmail.com>
* test/gen_keystroke.c (main),
test/testchewing.c (main): Use refined chewing_delete() with IM
context instead of chewing_free.
2008-12-01 Jim Huang <jserv.tw@gmail.com>
* Doxyfile.in: To improve API documentation, enable the following
options:
- INLINE_SOURCES
- HAVE_DOT
- CALL_GRAPH
2008-12-01 Jim Huang <jserv.tw@gmail.com>
* include/chewingio.h,
include/mod_aux.h,
include/global.h,
include/chewing.h,
include/internal/chewing-utf8-util.h,
src/mod_aux.c: Improve Doxygen-friendly text.
Take care about @param[in] and @param[out] and name group.
2008-12-01 Jim Huang <jserv.tw@gmail.com>
* include/global.h,
include/internal/chewing-private.h,
include/internal/chewing-utf8-util.h,
src/hanyupinyin.c,
src/chewingio.c,
src/chewingutil.c,
src/hash.c: Remove the inclusion of header <stdlib.h> and <stdio.h> in
Chewing API headers. Place them in implementation C source files
instead.
2008-11-30 Jim Huang <jserv.tw@gmail.com>
* include/chewingio.h,
include/global.h,
include/chewing.h: Improve Doxygen-friendly text.
2008-11-30 Jim Huang <jserv.tw@gmail.com>
* Doxyfile.in: Update with doxygen 1.5.7.1 -u. Switch lang to
English.
* include/chewing.h: Initially documented for high level descriptions.
2008-11-30 Jim Huang <jserv.tw@gmail.com>
* test/Makefile.am: Launch valgrind via libtool. Avoid linkage
problems.
2008-11-30 Jim Huang <jserv.tw@gmail.com>
* include/zuin.h: Removed. We only need high level definitions so
far.
* include/internal/zuin-private.h: Merged the defintions orginally in
file include/zuin.h.
* include/chewing.h,
src/chewingio.c,
src/tools/sort_word.c,
src/chewingutil.c,
src/zuin.c,
Makefile.am: Ditto.
2008-11-30 Jim Huang <jserv.tw@gmail.com>
* Doxyfile.in: Ignore src/ directory since we refine APIs in headers.
2008-11-30 Jim Huang <jserv.tw@gmail.com>
* include/chewingio.h,
include/mod_aux.h,
include/global.h,
include/chewing.h,
include/zuin.h: Make Doxygen-friendly.
2008-11-27 Kanru Chen <kanru@kanru.info>
* include/chewingio.h,
src/chewingio.c (chewing_get_KBString): New API for retrieving kbtype in
string format.
2008-11-27 Kanru Chen <kanru@kanru.info>
* src/chewingio.c (chewing_get_KBType): Check kbtype's validity.
2008-11-23 Jim Huang <jserv.tw@gmail.com>
* include/chewingio.h,
src/chewingio.c (chewing_get_phoneSeq) (chewing_get_phoneSeqLen):
Globally defined. No more Win32 specific. Considering the usage of
chewing-utils, the two APIs are useful.
2008-11-23 Jim Huang <jserv.tw@gmail.com>
* src/hash.c (TerminateHash): New terminating service function
to free allocated hash entries.
(PhoneSeqTheSame): Avoid invalid memory access.
(InitHash): Hook TerminateHash and prepare hash list entry.
NOTE: there are still several memleaks. Use "make -C test vcheck" to
digg.
2008-11-22 Kanru Chen <kanru@kanru.info>
* configure.ac: Bump version to 0.3.1.901 .
2008-11-22 Kanru Chen <kanru@kanru.info>
* include/chewingio.h,
src/chewingio.c (chewing_free) (chewing_delete): Renamed.
(chewing_free): Used to free memory allocated by chewing.
(chewing_get_phoneSeq) (chewing_get_phoneSeqLen):
Win32 needs this two function.
* src/hash.c (HashItem2Binary) (_load_hash_file): Exported for
internal use.
2008-11-19 Kanru Chen <kanru@kanru.info>
* src/char.c,
src/dict.c: mmap use original file size.
2008-11-19 Kanru Chen <kanru@kanru.info>
* src/mod_aux.c: Only return by argument if the pointer is not NULL.
2008-11-16 Jim Huang <jserv.tw@gmail.com>
* include/global.h (struct ChewingConfigData)
include/chewingio.h: Added bPhraseChoiceRearward.
* src/chewingio.c (chewing_Configure)
(chewing_set_phraseChoiceRearward) (chewing_get_phraseChoiceRearward):
Ditto
* src/choice.c (ChoiceFirstAvail): bPhraseChoiceRearward indicates the
behavior for phrase choice to be rearward or not.
* test/gen_keystroke.c (main): Initialize configurations with
chewing_set_autoShiftCur and chewing_set_phraseChoiceRearward.
2008-11-14 Kanru Chen <kanru@kanru.info>
* src/private.h: Add STATIC_ASSERT macro.
* include/internal/zuin-private.h,
include/zuin.h,
src/tools/sort_word.c: Convert KB_* macros to enum.
* include/internal/chewing-private.h,
include/mod_aux.h,
src/chewingio.c,
src/mod_aux.c: New APIs to enumerate supported keyboard types.
2008-11-14 Kanru Chen <kanru@kanru.info>
* include/global.h,
include/internal/chewing-private.h: Move bAutoShiftCur and
bEasySymbolInput from ChewingData to ChewingConfigData.
* include/chewingio.h,
src/chewingio.c,
src/chewingutil.c: Add set/get function of bAutoShiftCur and
bEasySymbolInput attribute.
2008-11-14 Kanru Chen <kanru@kanru.info>
* NEWS: Update.
2008-11-08 Kanru Chen <kanru@kanru.info>
* src/char.c,
src/dict.c: Don't do void pointer arithmetic.
2008-11-03 Kanru Chen <kanru@kanru.info>
* src/choice.c (ChoiceFirstAvail): Catch the zero phrase case.
2008-10-28 Kanru Chen <kanru@kanru.info>
* src/chewingutil.c (AutoLearnPhrase): Fix the last phrase is new phrase
case.
2008-10-28 Kanru Chen <kanru@kanru.info>
* src/chewingutil.c (ChewingIsBreakPoint) (AutoLearnPhrase): Add
experimental auto new phrase learning based on heuristic rules mentioned
in "port bimsphone algorithm to libchewing".
2008-10-26 Kanru Chen <kanru@kanru.info>
* include/internal/chewing-utf8-util.h,
src/common/chewing-utf8-util.c (ueStrNBytes): New helper function.
* src/chewingio.c,
src/tree.c: Don't ignore length parameter when comparing two strings.
2008-10-26 Kanru Chen <kanru@kanru.info>
* src/chewingio.c,
src/chewingutil.c,
src/choice.c,
src/tree.c,
src/userphrase.c: Fix improper use of MAX_UTF8_SIZE. This is a serious
bug that can lead to wrong phrasing result.
2008-10-25 Kanru Chen <kanru@kanru.info>
* src/tree.c (FindInterval): Cleanup duplicated codes.
2008-10-25 Kanru Chen <kanru@kanru.info>
* src/chewingio.c: Check memory allocation before using it.
2008-10-25 Kanru Chen <kanru@kanru.info>
* include/internal/chewingutil.h (CountSymbols) (PhoneSeqCursor): New
function for calculating phone cursor position.
* include/internal/char-private.h,
src/chewingio.c,
src/chewingutil.c,
src/choice.c: Remove cursor field, replaced by PhoneSeqCursor function.
* src/choice.c (ChoiceFirstAvail): Use preferInterval instead of
phrOut.dispInterval to calculate phrase position.
* test/gen_keystroke.c: Show all interval.
2008-10-24 Jim Huang <jserv.tw@gmail.com>
* README: Update integration status and descriptions.
Put the logo generated by figlet.
2008-10-23 Jim Huang <jserv.tw@gmail.com>
* src/common/key2pho.c (zhuin_tab) (zhuin_tab_num),
src/chewingutil.c (SetUpdatePhraseMsg) (SpecialSymbolInput)
(symbol_buf): Added human readable comments around the HEX values.
The reason why we onvert string literal to hex representation is for
the sake of portability, that avoid some buggy or faulty environment
like Microsoft VC9 to misinterpret the string.
2008-10-23 Kanru Chen <kanru@kanru.info>
* Makefile.am: We no longer ship hanyupinyin.h, so remove it.
2008-10-22 Kanru Chen <kanru@kanru.info>
* src/common/key2pho.c,
src/chewingutil.c: Convert string literal to hex representation for
maximum portability.
2008-10-22 Kanru Chen <kanru@kanru.info>
* src/chewingio.c (chewing_handle_Esc): Remove the hack of SemiSymbolInput
since SemiSymbolInput is no longer existed.
2008-10-22 Kanru Chen <kanru@kanru.info>
* src/char.c,
src/chewingutil.c,
src/dict.c,
src/tree.c: Use PATH_MAX.
2008-10-22 Kanru Chen <kanru@kanru.info>
* include/internal/hanyupinyin-private.h,
src/chewingio.c,
src/hanyupinyin.c: Use consistent API to load hanyupinyin table.
* include/hanyupinyin.h: Removed.
* include/chewing.h,
src/zuin.c: Fix including.
* src/porting_layer/include/sys/plat_posix.h,
src/porting_layer/include/sys/plat_win32.h: Add PATH_MAX definition.
2008-10-22 Jim Huang <jserv.tw@gmail.com>
* src/chewingio.c (chewing_Init): Touch bTerminateCompleted after
initialization.
* src/private.h (TerminateServicesNUM): Fix limit of terminating
service number since new services are added.
* test/simulate.c (FILE *fp): Properly init to NULL.
2008-10-21 Jim Huang <jserv.tw@gmail.com>
* test/simulate.c: New file. Rewrite bacth simulating script in C to
gain more features such as high-lighting difference and statistics.
The reference output:
[ Report ]
Checks: 385 words, Failures: 34 words
Ratio: 91.17%
* test/simulate.sh: Wrapper to executable "simulate".
* test/testchewing.c
(commit_string) (main): Used in simulate.c file.
(compare_per_run): New function. Simply compare two UTF-8 character
between expected and committed string.
* test/Makefile.am: Added "simulate" program.
2008-10-20 Jim Huang <jserv.tw@gmail.com>
* src/tree.c (internal_release_Phrase) (FindInterval): Use distinct
enumeration for used phrase type instead of numbers.
2008-10-20 Kanru Chen <kanru@kanru.info>
* python/chewing.py,
python/test.py: Add initial python binding code.
2008-10-20 Jim Huang <jserv.tw@gmail.com>
* test/materials.txt: Added test cases from academic papers and
discussions.
2008-10-19 Kanru Chen <kanru@kanru.info>
* src/hanyupinyin.c,
src/mod_aux.c,
src/tools/maketree.c,
src/tools/sort_word.c,
src/tree.c,
test/gen_keystroke.c,
test/testchewing.c: Misc. cleanup.
2008-10-19 Kanru Chen <kanru@kanru.info>
* src/tree.c: Combine mmseg and chewing algorithm into score based
algorithm.
2008-10-19 Jim Huang <jserv.tw@gmail.com>
* test/materials.txt: Imported some test cases from rt.openfoundry.org
2008-10-19 Jim Huang <jserv.tw@gmail.com>
* test/debug-chewing-shell.sh: New script to automake the actions to
debug genkeystroke via gdb.
* test/README: Mentioned debug-chewing-shell.sh
2008-10-19 Jim Huang <jserv.tw@gmail.com>
* test/simulate.sh,
test/materials.txt: New batch simulating script. It makes use of
program "testchewing" from test suite and compare with the expected
string correspondingly defined in file materials.txt. The reference
output:
[Committed] 就平常交鋼琴
[Expected] 就平常教鋼琴
* test/README: Mentioned simulate.sh
* test/Makefile.am: Default test data should point to
$(top_srcdir)/test instead of $(top_builddir)/test.
2008-10-19 Jim Huang <jserv.tw@gmail.com>
* src/tree.c (InitTree),
src/char.c (InitChar),
src/dict.c (InitDict): Properly initialize plat_mmap instances and
verify them by plat_mmap_is_valid().
* src/porting_layer/src/plat_mmap_posix.c (plat_mmap_is_valid): Fix
faulty implementation on verifying file descriptor.
2008-10-18 Jim Huang <jserv.tw@gmail.com>
* test/README: Mentioned randkeystroke as the stress test for
libchewing robustness.
2008-10-18 Jim Huang <jserv.tw@gmail.com>
* src/tree.c (struct smart_com) (rule_largest_sum)
(rule_largest_avgwordlen) (rule_smallest_lenvariance)
(rule_largest_freqsum) (filter_by_rule) (add_comb)
(DetermineFirstTsi): New functions. Implemented the algorithm used
in bimsphone, which is based on mmseg:
http://technology.chtsai.org/mmseg/
This work was done by Kuang-che Wu <kcwu@csie.org>.
* src/tree.c (Phrasing): Switching to mmseg based algorithm when all
phrases in interval exist and number of phonetic sequence > 3.
NOTE: we will need to improve test suite to check the performance and
accuracy.
2008-10-18 Jim Huang <jserv.tw@gmail.com>
* test/README: Added the information about debugging genkeystroke.
The way to debug genkeystroke via gdb is a bit tricky since it uses
ncurses library. We use two X terminals to do this.
2008-10-18 Jim Huang <jserv.tw@gmail.com>
* data/tsi.src: Merged with libchewing-data project.
Last change: r342 | sky008888 | 2008-07-04 23:09:07 +0800
* data/phone.cin: Cherry pick from libchewing-data.
* data/phone.cin-CNS11643-complete.patch: Split the phone-word pair
that CJKUnifont doesn't display from data/phone.cin .
2008-10-16 Jim Huang <jserv.tw@gmail.com>
* include/global.h,
configure.ac: Disable GCC visibility support on gcc 3.x .
Although there are several gcc patches included in some gcc 3
distributions, they are somehow buggy until gcc4 finally releases.
Also, visibility is enabled on gcc4 by default.
2008-10-15 Kanru Chen <kanru@kanru.info>
* src/char.c,
src/tools/sort_word.c: Enable us_freq.dat binary format.
2008-10-15 Kanru Chen <kanru@kanru.info>
* data/Makefile.am,
include/internal/global-private.h,
src/char.c,
src/tools/Makefile.am,
src/tools/dat2bin.c,
src/tools/maketree.c,
src/tools/sort_dic.c,
src/tools/sort_word.c,
test/Makefile.am: Generate binary data in place.
2008-10-15 Kanru Chen <kanru@kanru.info>
* src/dict.c (TerminateDict) (InitDict) (Str2Phrase): Rewrite dict
binary data manipulation by using mmap.
2008-10-15 Jim Huang <jserv.tw@gmail.com>
* src/tree.c (OutputRecordStr): clean up dead code.
* src/chewingio.c,
src/zuin.c,
src/choice.c: Proper inclusion.
* src/dict.c (fgettab): Conditional build.
2008-10-15 Jim Huang <jserv.tw@gmail.com>
* include/internal/hash-private.h,
include/internal/tree-private.h,
src/tree.c,
src/hash.c,
src/chewingio.c (chewing_Init): Consistent naming for internal APIs.
Rename from ReadHash to InitHash. Rename from ReadTree to InitTree.
2008-10-15 Jim Huang <jserv.tw@gmail.com>
* src/tree.c (TerminateTree) (ReadTree),
src/char.c (TerminateChar) (InitChar),
src/dict.c (TerminateDict) (InitDict): Rewrite binary data
manipulation by using mmap (memory mapped, provided by porting_layer).
Expected to dramatically reduce loading time.
2008-10-14 Kanru Chen <kanru@kanru.info>
* src/dict.c,
src/tools/sort_dic.c: Make sort_dic produce binary data.
2008-10-14 Jim Huang <jserv.tw@gmail.com>
* test/Makefile.am: Quiet copy default test data.
* src/tree.c (ShowList),
src/chewingutil.c (ShowChewingData): Debug output tweaking.
* src/chewingutil.c (CallPhrasing): Dump chewing data internals when
debug mode.
2008-10-14 Jim Huang <jserv.tw@gmail.com>
* src/choice.c,
src/tree.c: Move the declaration of [TreeType] tree from ... to ...
2008-10-14 Jim Huang <jserv.tw@gmail.com>
* src/hash.c (formatstring): Removed since it does nothing readable.
(HashModify): Simplified hash output text.
2008-10-14 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Refactor enabling rules.
2008-10-14 Kanru Chen <kanru@kanru.info>
* test/Makefile.am,
test/randkeystroke.c: Add randkeystroke test program.
2008-10-14 Kanru Chen <kanru@kanru.info>
* include/mod_aux.h (chewing_cursor_Current): Correct return type.
* test/gen_keystroke.c: Add back cursor position.
2008-10-14 Kanru Chen <kanru@kanru.info>
* include/global.h,
include/internal/chewing-private.h: Expose InternalType.
* include/mod_aux.h,
src/mod_aux.c (chewing_interval_Enumerate) (chewing_interval_hasNext)
(chewing_interval_Get): New API to enumerate intervals.
* test/gen_keystroke.c: Use new API to display intervals.
2008-10-14 Kanru Chen <kanru@kanru.info>
* src/mod_aux.c (cand_no_max): Remove unnecessary static variable.
* include/internal/chewing-private.h,
src/tree.c (PhraseIntervalType): Move from ... to ...
* include/global.h,
include/internal/tree-private.h (ReadTree): Ditto.
* include/hanyupinyin.h,
include/internal/hanyupinyin-private.h,
src/hanyupinyin.c: Hide private structure.
2008-10-13 Kanru Chen <kanru@kanru.info>
* test/gen_keystroke.c (set_cursor): Removed.
2008-10-12 Jim Huang <jserv.tw@gmail.com>
* include/global.h: Added macro UNUSED = __attribute__((unused)).
* include/internal/chewingutil.h: Removed static functions.
* src/tree.c (ReadTree): Added terminating service: TerminateTree.
* src/hanyupinyin.c (chewing_set_PinYinMethod): Confirming vaild
PinYin method type.
(HanyuPinYinToZuin): Eliminate compiler warning.
* src/chewingio.c (chewing_Configure)
(chewing_set_selKey) (chewing_handle_Up) (chewing_handle_ShiftSpac):
Mark UNUSED parameters.
* src/tools/dat2bin.c (main): Properly initialize TreeType.
* src/chewingutil.c (HaninSymbolInput) (_Inner_InternalSpecialSymbol)
(EasySymbolInput): Mark UNUSED parameters.
(FindSymbolKey) (TerminateSymbolTable) (TerminateEasySymbolTable):
Eliminate compiler warning.
* src/hash.c (HashItem2String): Conditional build with ENABLE_DEBUG.
(HashItem2Binary) (ReadHashItem_bin) (migrate_hash_to_bin): Eliminate
compiler warning.
* src/tools/sort_word.c,
src/tools/sort_dic.c,
src/userphrase.c,
src/chewingutil.c,
src/zuin.c: Proper inclusion for internal headers.
* configure.ac: Refactor --enable-debug detection.
2008-10-11 Jim Huang <jserv.tw@gmail.com>
* include/global.h,
include/internal/global-private.h: Move filename definitions to the
later. Not necessary to expose chewing data filename information.
* src/tree.c,
src/char.c,
src/tools/sort_word.c,
src/tools/sort_dic.c,
src/tools/maketree.c,
src/chewingutil.c,
src/dict.c: Ditto. Proper inclusion.
* Makefile.am: Remove internal headers.
2008-10-11 Jim Huang <jserv.tw@gmail.com>
* src/tree.c (ReadTree),
src/char.c (InitChar),
src/dict.c (InitDict),
src/tools/Makefile.am,
data/Makefile.am,
configure.ac: Enable binary data representation. Default: enabled.
2008-10-10 Kanru Chen <kanru@kanru.info>
* include/chewingio.h,
include/global.h,
src/chewingio.c: Add public interfaces to set/get configs.
2008-10-09 Kanru Chen <kanru@kanru.info>
* configure.ac: Add gcc visibility support.
* include/char.h,
include/chewing-utf8-util.h,
include/chewing.h,
include/dict.h,
include/global.h,
include/hash.h,
include/mod_aux.h,
include/userphrase.h,
include/zuin.h: Remove internal interfaces.
* include/internal/char-private.h,
include/internal/chewing-private.h,
include/internal/chewing-utf8-util.h,
include/internal/chewingutil.h,
include/internal/choice-private.h,
include/internal/dict-private.h,
include/internal/hash-private.h,
include/internal/key2pho-private.h,
include/internal/tree-private.h,
include/internal/userphrase-private.h,
include/internal/zuin-private.h: Put internal interfaces here.
* src/Makefile.am,
src/char.c,
src/chewingio.c,
src/chewingutil.c,
src/chewingutil.h,
src/choice.c,
src/common/Makefile.am,
src/common/key2pho.c,
src/dict.c,
src/hash.c,
src/mod_aux.c,
src/porting_layer/src/Makefile.am,
src/tools/Makefile.am,
src/tools/sort_word.c,
src/tree.c,
src/userphrase.c,
src/zuin.c,
test/Makefile.am,
test/gen_keystroke.c: Adjust including path.
2008-10-01 Kanru Chen <kanru@kanru.info>
* configure.ac:
Migrate check module to use pkg-config.
Bump version to 0.3.1
* chewing.pc.in: Add --datarootdir.
2008-09-23 Kanru Chen <kanru@kanru.info>
* configure.ac: Change ABI version to 3.1.0
libchewing 0.3 stands for development branch. We intend to break
API/ABI at the stage. As the result, there would not be major version
change in library.
* NEWS: Updated.
2008-09-20 Kanru Chen <kanru@kanru.info>
* configure.ac: Bump version to 0.3.0.902
2008-09-20 Kanru Chen <kanru@kanru.info>
* configure.ac: Bump ABI version to 4.0.0
2008-07-07 Kanru Chen <kanru@kanru.info>
* test/gen_keystroke.c: Fix choice buffer output.
* src/mod_aux.c (chewing_cand_String): Kill memory leak.
2008-07-04 Kanru Chen <kanru@kanru.info>
* include/global.h,
include/zuin.h,
src/chewingio.c,
src/common/key2pho.c,
src/zuin.c: Apply DACHEN_CP26 patch, thanks Paul Liu.
2008-04-28 Caius Chance <cchance@redhat.com>
* src/chewingio.c:
Refactorized chewing_get_ChiEngMode( ChewingContext *ctx ).
2008-04-02 Jeff Chen <wiz.chen@gmail.com>
* src/chewingio.c,
src/chewingutil.c,
src/chewingutil.h: SemiSymbolInput() is useless.
2008-03-30 Jeff Chen <wiz.chen@gmail.com>
* src/zuin.c:
Type symbols easily for PinYin input.
2008-02-11 Jeff Chen <wiz.chen@gmail.com>
* src/choice.c:
Behaivor changed: Doing select at the end of edit buffer works on the
last phrase (interval).
2008-02-08 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Make use of AC_CONFIG_AUX_DIR.
* autotools: New directory containing files generated by autotools.
* scripts/remove-autotool.sh: Likewise.
2008-02-07 Jim Huang <jserv.tw@gmail.com>
* include/chewingio.h,
include/global.h,
src/chewingio.c,
src/hash.c,
src/choice.c,
src/porting_layer/include/plat_mmap.h,
src/porting_layer/src/plat_mmap_win32.c,
src/porting_layer/src/plat_mmap_posix.c: Update copyright date.
2008-02-07 Jim Huang <jserv.tw@gmail.com>
* data/tsi.src: Sync with libchewingdata project.
* test/Makefile.am: Added uhash.dat in CLEANFILES.
2008-02-05 Jeff Chen <wiz.chen@gmail.com>
* src/chewingio.c
(chewing_handle_Default) (chewing_handle_CtrlNum):
When users cancel symbol table by "ESC" key, it causes system to step
into wrong state.
Openning symbol table needs to invoke semi-symbol input.
2008-01-16 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/chewingio.h:
Correct the API documentation of chewing_get_ChiEngMode and
chewing_get_KBType.
* include/global.h:
Fix the missing plusses, thanks Bell Kin <kinbell4@gmail.com>.
* include/global.h:
Remove redundant definition of keyboard types.
2008-01-08 Caius Chance <cchance@redhat.com>
* src/chewingio.c,
src/porting_layer/src/plat_mmap_posix.c,
include/global.h,
include/chewingio.h: Keyboard layout toggle button on toolbar.
( Added a button for keyboard type change. It won't save to config
but just for input a character occasionally if such combination keys
are suddenly forgotten. )
2007-10-22 Kuang-che Wu <kcwu@csie.org>
* src/hash.c (ReadHash): Fix user's hash.dat not functional.
2007-04-20 Caius Chance <cchance@redhat.com>
* src/chewingio.c: Closes candidate window when user pressed Up key.
(Compared to Down key for opening candidate window implemented
currently.)
2007-01-03 Caius Chance <cchance@redhat.com>
* src/choice.c: Clear previous cnadidates before population of new
candidates. (Re-fixed as changes made on 2006-12-18 was not
effective.)
2006-12-29 Jim Huang <jserv.tw@gmail.com>
Merge from the latest libchewingdata
* data/tsi.src: Sync with libchewingdata project.
There are some missing glyph shown in rxvt-unicode, so omitted at the
moment.
2006-12-18 Jim Huang <jserv.tw@gmail.com>
Erase candidate and reset its length when Esc key is handled.
* src/chewingio.c (chewing_handle_Esc): Adjust the number of output
commit string according to chiSymbolBufLen.
Suggested by Caius Chance <cchance@redhat.com>.
2006-12-05 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Search $prefix/{include,lib} path first while checking
ncurses/ncursesw libraries. This is useful to cross-build.
* test/gen_keystroke.c: Add conditional include of ncurses.
2006-12-05 Kuang-che Wu <kcwu@csie.org>
* src/chewingutil.c (CleanAllBuf): nPrefer should also be cleaned when
clean all bufffer. Otherwise the status of candidate is incorrect
(after press "Enter" commit).
2006-12-04 Kuang-che Wu <kcwu@csie.org>
Fix portability issues on FreeBSD.
* autogen.sh: FreeBSD sh only support = for test, not ==. Variable
setting should be properly quoted.
* configure.ac test/gen_keystroke.c: widec version of ncurses.h is in
/usr/local/include/ncurses on FreeBSD. And library in /usr/local/lib.
* test/Makefile.am: Remove libncurses dependency for testchewing.c.
It's no longer needed.
* test/testchewing.c: support ShiftLeft and ShiftRight key.
2006-11-30 Jim Huang <jserv.tw@gmail.com>
Fix errors in EasySymbolInput while previous merge.
* src/chewingutil.c (InitSymbolTable) (InitEasySymbolInput): Replace
malloc with ALC macro.
(InitEasySymbolInput): Fix wrong string calls.
2006-11-30 Jim Huang <jserv.tw@gmail.com>
Most window systems bind ctrl- combination keys to specific system
functions, which makes chewing_handle_CtrlOption API being less
useful. So, just removed.
* include/chewingio.h,
src/chewingio.c (chewing_handle_CtrlOption): Remove unused API
function.
2006-11-28 Jim Huang <jserv.tw@gmail.com>
* src/chewingio.c (chewing_handle_CtrlNum): Return while selecting.
Invoke symbol input with Ctrl-[01].
* src/chewingutil.c,
src/chewingutil.h (SpecialEtenSymbolInput): Remove unused function.
* data/Makefile.am: Fixlet to install-data-local list.
2006-11-28 Jim Huang <jserv.tw@gmail.com>
* test/Makefile.am: Link to internal libraries to avoid unresolved
symbols.
2006-11-28 Jim Huang <jserv.tw@gmail.com>
* src/tools/sort_dic.c (main): Fix typo in fclose.
* src/hash.c (migrate_hash_to_bin): Avoid memory leak.
(ReadHash): recalculate chewing_lifetime.
* src/Makefile.am: Replace $(LIBTOOL_EXPORT_OPTIONS) with
`-export-symbols-regex "^(chewing)_"' to make sure exporting the right
Chewing API.
* data/Makefile.am: Move swkb.dat and symbols.dat to
install-data-local instead of datas section.
2006-11-26 Kuang-che Wu <kcwu@csie.org>
* src/chewingutil.c (SetUpdatePhraseMsg): Ticket #15025. Improve
message text.
2006-11-25 Kuang-che Wu <kcwu@csie.org>
Fix bug: When insert symbol via '`' and trigger auto commit, Chewing
may crash.
* src/chewingio.c (chewing_handle_Default): The saved cursor position
is incorrect due to auto commit. Defer auto-commit until selection.
2006-11-25 Kuang-che Wu <kcwu@csie.org>
Fix bug: When insert character in front of buffer and trigger auto
commit, Chewing may crash.
* src/chewingutil.c (ChewingKillChar): Don't allow cursor move left
beyond 0.
2006-11-25 Kuang-che Wu <kcwu@csie.org>
Fix bug: Chewing won't auto commit the string in buffer even string is
too long. This may lead buffer overflow and crash.
* src/chewingutil.c (CountReleaseNum): When 1st character in buffer is
not Zi and 2nd is, the number ready to commit is 1, not 0. Fix the
number off by 1.
2006-11-22 Caius Chance <cchance@redhat.com>
Release Page Up / Page Down key event to running applications.
(Fixed Page Up / Page Down key doesn't work when Chewing is activated.)
* src/chewingio.c
(chewing_handle_PageUp): Codes cloned from chewing_handle_Home().
(chewing_handle_PageDown): Same as above.
* include/chewingio.h
(chewing_handle_PageUp): Same as above.
(chewing_handle_PageDown): Same as above.
2006-11-16 Jim Huang <jserv.tw@gmail.com>
* src/chewingutil.c (InitEasySymbolInput): Fixlet to invalid
pointer.
2006-11-16 Jim Huang <jserv.tw@gmail.com>
Merge win32-utf8 branch and fix incorrect initialization.
* include/global.h
(struct SymbolEntry): New structure as entry of symbol table.
(struct ChewingData): Rename selectAreaLen to candPerPage. Added
bEasySymbolInput.
* src/chewingio.c
(chewing_Init): initialize Symbol Table.
(chewing_Reset): Backup old config and restore it after clearing
pgdata structure. This is important to avoid crash when switching
different IM engines.
(chewing_Configure): Rename selectAreaLen to candPerPage.
(chewing_handle_Esc): Modify symbol checking rule.
(chewing_handle_Default): Added bEasySymbolInput checks, and see if
EasySymbolInput should be invoked.
Added key '`' to open symbol table.
(chewing_handle_CtrlNum): Since we are using key '`' for open symbol
table, ctrl-[01] action is turned off. However, it could still be
implemented for customized tables later.
* src/tools/sort_dic.c (SetNewline2Zero) (main): Ignore '#' comment
in tsi.src .
Here are enumerations:
1. # comment with first character '#'
2. # comment after some spaces
3. data ... # comment after data
4. allow blank line in tsi.src
* src/chewingutil.c (symbol_table) (n_symbol_entry)
(g_easy_symbol_key) (g_easy_symbol_value) (g_easy_symbol_num)
(symbol_buf): New variables for new symbol table handling.
(FindEasySymbolIndex): New helper function. Find out Easy symbol index
using binary search.
(SetUpdatePhraseMsg): Separate internal table and look up
symbol_table.
(_Inner_InternalSpecialSymbol): New helper function.
(InternalSpecialSymbol): Reimplemented using
_Inner_InternalSpecialSymbol.
(EasySymbolInput): New function for help user to input symbols easily.
(InitSymbolTable): Ditto.
(InitEasySymbolInput): Ditto.
(SymbolChoice): Reimplemented. Support multi-level symbol choosing.
(OpenSymbolChoice): Ditto.
(CountReleaseNum): Count symbol as well.
(FindSymbolKey): New helper function.
(TerminateSymbolTable) (TerminateEasySymbolTable): New helper function
registered in terminating serivces.
* src/chewingutil.h: Likewise.
* src/hash.c (ComputeChewingLifeTime): Removed.
(ReadHash): Fix bug of re-base recentTime.
* src/choice.c (SetChoiceInfo) (ChoicePrevAvail) (ChoiceNextAvail):
Rename selectAreaLen to candPerPage.
(ChoiceEndChoice): Added symbol check.
* data/symbols.dat,
data/swkb.dat: New files. Used for symbol input.
* data/Makefile.am,
test/Makefile.am: Ditto.
* test/testchewing.c (main),
test/gen_keystroke.c (main): Fix for naming.
* configure.ac: Bump version to 0.3.091 .
* AUTHORS: Updated.
2006-11-08 Kuang-che Wu <kcwu@csie.org>
* src/choice.c (SetAvailInfo):
Fix bug, when list available phrases to choice, user's own phrases are
not included. This was fixed by Andy Horng <andyhorng168@gmail.com>
in r537 win32 branch.
2006-11-04 Kuang-che Wu <kcwu@csie.org>
* src/tree.c (NextCut): Fix memory leak. (ticket #20818)
2006-10-30 Caius Chance <cchance@redhat.com>
* src/chewingio.c (chewing_handle_ShiftSpace):
Fixed chewing switch between Full/Half mode and cursor moves one
space in gedit.
(Shift + Space should just only trigger between Full-width and Half-
width.)
2006-06-19 Jeff Chen <wiz.chen@gmail.com>
* data/pinyin.tab:
A new HanYu-PinYin mapping table contributed by Alexander Beels.
* src/hanyupinyin.h (chewing_set_PinYinMethod),
src/hanyupinyin.c:
Adding a new API --- "chewing_set_PinYinMethod" to support multiple
PinYin methods.
Using the implementation of 0.2.x instead of current one.
* src/zuin.c (IsSymbolKey):
Adding "IsSymbolKey" function to make PinYin method support symbol
input.
2006-05-20 Jim Huang <jserv.tw@gmail.com>
* src/char.c (Str2Word),
src/dict.c (Str2Phrase): Clarify the retrieval from char/dict data.
In the previous revision, sscanf with %s was used, and isspace(0xa0)
returns 1 on some BSD libc implementations due to the sematics of non
breaking space, that is platform-dependent.
Patched by Rong-En Fan <rafan@infor.org>.
2006-05-20 Jeff Chen <wiz.chen@gmail.com>
* src/hanyupinyin.c (HanyuPinYinToZuin):
The return value of HanyuPinYinToZuin should not be zero when
looking up table failed.
* src/zuin.c (PinYinInput):
It should clean the buffer of PinYin data and return "ZUIN_ABSORB"
to ignore the current key when converting failed.
2006-05-19 Jeff Chen <wiz.chen@gmail.com>
* data/pinyin.tab (fix key order): put "shun" before "shuo".
* src/hanyupinyin.c (InitMap): The upper limit of for-loop should
be N_TOTAL not (N_TOTAL - 1).
2006-05-15 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Bump version to 0.3.0 (final).
2006-05-15 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Bump ABI major version.
* data/Makefile.am,
src/tools/Makefile.am,
configure.ac: Disable --enable-binary-data option.
2006-05-15 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Fill chewing-devel@googlegroups.com as contact
address.
2006-05-15 Jim Huang <jserv.tw@gmail.com>
* src/chewingio.c (chewing_handle_Default): Update lifetime.
2006-05-15 Jim Huang <jserv.tw@gmail.com>
* data/phone.cin-CNS11643-complete.patch: New file. Extract all entries
that CJKUnifont doesn't contain from data/phone.cin .
Used for reference only.
* data/phone.cin: Hugely reduced.
Chewing could output most of Unihan (Extension A and B).
2006-05-11 Jim Huang <jserv.tw@gmail.com>
* src/hash.c (HashModify) (ReadHash):
Initiate variable at correct location and fix incorrect record locate
expression to avoid crashes if users don't have their own hash.dat .
Patched by James Huang <seamxr@gmail.com>.
2006-05-10 Jim Huang <jserv.tw@gmail.com>
* src/hanyupinyin.c (FreeMap) (InitMap): Fix incorrect file operation.
2006-05-10 Jim Huang <jserv.tw@gmail.com>
* configure.ac: Bump version to 0.2.94 .
2006-05-10 Jim Huang <jserv.tw@gmail.com>
* debian/*: Removed. Debian@Taiwan maintains the packaging.
2006-05-09 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/Makefile.am,
src/tools/dat2bin.c,
src/tools/maketree.c,
src/sort_word.c: Fix binary data build process.
2006-05-08 Jim Huang <jserv.tw@gmail.com>
* src/chewingio.c (chewing_handle_Default): Ignore non-printable
input to avoid unexpected behavior.
2006-05-08 Jim Huang <jserv.tw@gmail.com>
* include/userphrase.h (UserGetPhraseFirst),
src/userphrase.c (UserGetPhraseFirst): Removed since unused.
* include/hash.h (HASH_FILE): Redefine from "hash.dat" to "uhash.dat".
* src/hanyupinyin.c (HanyuPinYinToZuin): Fixlet and insert
DEBUG_CHECKPOINT for future handling.
* src/private.h (DEBUG_CHECKPOINT): Added filename information.
* data/Makefile.am: Install pinyin.dat .
2006-05-06 Jim Huang <jserv.tw@gmail.com>
* src/Makefile.am,
src/common/Makefile.am: Fixlet to distclean.
* Makefile.am: Fixlet to installed headers.
* configure.ac: Bump version to 0.2.93 .
2006-05-06 Jim Huang <jserv.tw@gmail.com>
* include/chewingutil.h,
src/chewingutil.h: Move from ... to ...
* include/global.h,
src/tree.c (IsContain),
src/chewingutil.c (FindIntervalFrom) (CountReleaseNum) (KillFromLeft)
(ShowChewingData) (ChewingKillSelectIntervalAcross)
(KillCharInSelectIntervalAndBrkpt): Marked as static.
* data/Makefile.am: Improved time stamp handling for data generation.
* data/NOTE: Added constant-calculating information.
2006-05-04 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* Makefile.am,
data/Makefile.am,
include/char.h,
include/global.h,
src/Makefile.am,
src/char.c,
src/choice.c,
src/tools/maketree.c,
src/tools/sort_word.c,
src/tree.c:
Automatically generate "src/chewing-definition.h" which contains
definition of TREE_SIZE and PHONE_NUM.
2006-05-02 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/char.h,
include/global.h: Adjust MAGIC constant size.
2006-05-02 Jim Huang <jserv.tw@gmail.com>
* src/private.h,
src/porting_layer/include/sys/plat_posix.h,
src/porting_layer/include/sys/plat_win32.h: Clean up private.h .
2006-05-02 Jim Huang <jserv.tw@gmail.com>
* include/hash.h
(BIN_HASH_SIG): New macro. Used for new binary-based hash data
signature.
(AlcUserPhraseSeq): Change prototype to assign phonelen and wordlen.
* src/userphrase.c (UserUpdatePhrase): Fix buggy memory allocation.
* src/hash.c
(AlcUserPhraseSeq) (HashInsert) (HashItem2String): Ditto.
(HashItem2Binary): New helper function. Convert Hash items to binary
form.
(HashModify): Handle hash storage via HashItem2Binary.
(isValidChineseString): New helper function. Check if input is a valid
Chinese string.
(ReadHashItem_bin) (ReadHashItem_txt): New helper function. Separate
ReadHashItem to two functions for binary and text-based form.
(open_file_get_length) (_load_hash_file) (migrate_hash_to_bin): New
helper functions. Used for binary hash file format and workaround for
hash corruption.
(ReadHash): Make use of the above new changes.
Taken from win32-utf8 branch, and modified with porting_layer.
Patched by James Huang (seamxr) <seamxr@gmail.com>.
* src/porting_layer/include/sys/plat_posix.h,
src/porting_layer/include/sys/plat_win32.h (PLAT_RENAME)
(PLAT_UNLINK): New macros. Wrapper for rename / unlink.
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* data/tsi.src: Remove all suffix <CR>.
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* test/gen_keystroke.c (main): Call curses::clear() to turn off the
annoying messages when debug enabled.
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* src/chewingio.c: Remove redundant WIN32 definitions since we have
porting_layer.
* src/hash.c (ReadHash): Clean up platform-dependent implementation.
* src/porting_layer/include/sys/plat_posix.h,
src/porting_layer/include/sys/plat_win32.h: Define platform-dependent
tmp_dir / mkdir.
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* src/common/key2pho.c (zhuin_tab): Add prefix space to distinguish
zhuin type to fix MakeOutput errors.
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* test/gen_keystroke.c (show_edit_buffer): Fixlet to wrong casting.
* include/hash.h (ReadHash),
src/hash.c (ReadHash): Change prototype from char * to const char *.
* include/chewing-utf8-util.h (ueStrNCpy),
src/common/chewing-utf8-util.c (ueStrNCpy): Change prototype from char
dest* to char dest[].
* src/tree.c (GetIntersection) (CompLen) (CompLenDescend) (CompFrom):
Removed since unused.
* src/hanyupinyin.c (HanyuPinYinToZuin): Use strdup instead of
sprintf.
* src/char.c (Str2Word): Fixlet to assert.
* src/userphrase.c (DeltaFreq): Removed since unused.
* src/mod_aux.c (chewing_cand_String): Add return value.
* README,
NEWS: Update OXIM bridge information.
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* src/chewingutil.c (MakeOutput):
Fixes in KB_HANYU_PINYIN to avoid wrong Unicode transformation.
Patched by hialan <hialan.liu@hotmail.com>
http://hialan.twbbs.org/ .
2006-04-30 Jim Huang <jserv.tw@gmail.com>
* include/global.h (struct ChewingConfigData::bEscCleanAllBuf):
New member. Add bEscCleanAllBuf option.
* src/chewingio.c
(chewing_Configure): Initialize bEscCleanAllBuf.
(chewing_handle_Esc): CleanAllBuf when bEscCleanAllBuf is true.
* src/tree.c
(LoadChar): Modify prototype to accept specific buffer length.
(OutputRecordStr): Likewise.
(Phrasing): Passing the length of chiBuf to OutputRecordStr.
The changes should be able to fix previous wrong behavior.
Taken from win32-utf8 branch.
* src/common/key2pho.c (PhoneFromUint): Removed since unused.
2006-04-29 Jim Huang <jserv.tw@gmail.com>
* include/global.h
(struct PhrasingOutput::nNumCut): New member. Indicate the number to
be cut-off while phrasing.
(struct ChewingData::symbolKeyBuf): New member. Used as symbol key
buffer.
* include/chewingutil.h (OpenSymbolChoice): New function.
* src/tree.c
(struct TreeDataType::nPhListLen): New member. Indicate the length of
phrase list.
(SortListByFreq): Update nPhListLen.
(NextCut): New helper function. Calculate the next cut-off node.
(Phrasing): Invoke NextCut after frequency-evaluation is done.
* src/chewingio.c
(chewing_Reset): Initialize nNumCut.
(DoSelect): change the checking rule for isSymbol since the semantics
of isSymbol is extended for the following values: (TODO: it should be
renamed for better readability)
1: traditional Hanin symbols.
2: pair symbols for OpenSymbolChoice.
(chewing_handle_Space) (chewing_handle_Down): Simplify the handling
of Chinese symbol cursor. Add new feature to invoke OpenSymbolChoice
for pair symbols.
(chewing_handle_Enter): Disable the call of CallPhrasing.
(chewing_handle_Tab): Adjust nNumCut while Tab triggered.
(chewing_handle_Default): Reset nNumCut = 0 and update user phrase
interval while everything got done.
* src/chewingutil.c
(InternalSpecialSymbol) (SymbolInput): Perform the storage of symbol
keys, that is required by OpenSymbolChoice.
(SymbolChoice): Handle different type of isSymbol.
(CleanAllBuf): Clean symbolKeyBuf.
(ChewingKillChar): ditto.
(OpenSymbolChoice): New function. Implement the choice mechanism for
pair symbols.
* src/hash.c
(ComputeChewingLifeTime): New helper function. Attempt to re-compute
chewing lifetime.
(ReadHash): Invoke ComputeChewingLifeTime.
* src/choice.c (ChoiceEndChoice): Handle different type of isSymbol.
The above changes are based on the hard work from
Andy Horng <andyhorng168@gmail.com>.
* configure.ac: Bump version to 0.2.92 .
* AUTHORS: Updated.
2006-04-29 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* configure.ac:
Correctly output include/config.h.in
Export LIBTOOL_EXPORT_OPTIONS to Makefile.
* include/config.h.in:
Removed.
2006-04-29 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/pinyin.tab,
include/chewing.h,
include/global.h,
include/hanyupinyin.h,
include/zuin.h,
src/Makefile.am,
src/chewingio.c,
src/chewingutil.c,
src/hanyupinyin.c,
src/zuin.c:
Change KB_HANYUPINYIN (renamed to KB_HANYU_PINYIN) to table-lookup
implementation.
Rename all `pinying' to `pinyin'.
2006-03-23 Jim Huang <jserv.tw@gmail.com>
* src/Makefile.am: Trivial change for libtool symbols.
2006-03-15 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/chewingutil.c (HaninSymbolInput),
src/choice.c (ChoicePrevAvail) (ChoiceNextAvail):
Correct symbol choice handling.
2006-03-13 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/tsi.src: Add 噹 ㄉㄧㄤ to avoid crash.
2006-03-05 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/choice.c (SetChoiceInfo): Fix wrong word length check.
2005-12-17 James Huang (seamxr) <seamxr@gmail.com>
* src/aux.c,
src/Makefile.am,
include/aux.h,
include/chewing.h:
Rename "aux.?" to "mod_aux.?". "aux" is a reserved keyword of win32 system.
2005-12-18 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* test/testchewing.c (commit_string),
test/gen_keystroke.c (show_edit_buffer) (showZuin)
(show_userphrase) (show_choose_buffer):
Correctly free allocated memory.
2005-12-17 Jim Huang <jserv.tw@gmail.com>
* src/aux.c,
include/aux.h: New files. Introduced Auxiliary APIs.
* test/testchewing.c (get_keystroke) (main),
test/gen_keystroke.c (show_edit_buffer) (show_interval_buffer)
(showZuin) (show_zuin_buffer) (show_userphrase) (show_choose_buffer)
(show_commit_string) (set_cursor) (main): Use new APIs.
NOTE: show_commit_string needs better output handling.
* test/Makefile.am,
src/Makefile.am,
include/global.h (struct ChewingContext),
include/chewing.h,
src/chewingio.c (chewing_new): Likewise.
2005-12-07 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/global.h,
src/chewingio.c,
src/chewingutil.c,
src/hash.c,
src/tools/sort_word.c,
src/tree.c,
src/userphrase.c:
Enlarge all buffer size so that can contain at most 6 byte utf8 word.
2005-12-06 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/chewingio.h,
include/global.h,
src/chewingio.c:
ConfigData rename to ChewingConfigData.
* src/chewingutil.c,
src/choice.c:
Change measure of selectAreaLen to number of word
that can be displayed.
2005-12-06 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/chewingio.h,
src/chewingio.c
(chewing_Init) (chewing_Terminate):
Only initialize/terminate global data.
(chewing_new): Allocate and initialize internal data.
(chewing_free): New API.
Deallocate internal data.
* test/testchewing.c (main),
test/gen_keystroke.c (main): Use the new API.
2005-12-04 Jim Huang <jserv@kaffe.org>
* test/test-mmap.c: New file. Unit test for mmap implementation in
porting_layer.
* test/do-test.c,
test/Makefile.am: Likewise.
* src/hash.c: Remove redundant macro.
* data/Makefile.am: Fixlet to binary-data generation when enabled.
2005-12-04 Jim Huang <jserv@kaffe.org>
* test/Makefile.am,
configure.ac: Conditional compilation for genkeystroke
if ncursesw is found.
2005-12-04 Jim Huang <jserv@kaffe.org>
* test/Makefile.am,
configure.ac: Check for check unit test framework.
http://check.sourceforge.net/
Conditional compilation if enable built-in unit tests.
* test/test-key2pho.c,
test/test-utf8.c,
test/do-test.c: Touched. Add copyright note.
* include/chewingutil.h,
src/chewingutil.c (MakeOutput): marked as static.
* README: Update win32-chewing information.
2005-12-03 Jim Huang <jserv@kaffe.org>
* test/gen_keystroke.c (show_full_shape) (main):
Tweaking for new API.
2005-12-03 Jim Huang <jserv@kaffe.org>
* include/chewingio.h,
src/chewingio.c (OnKeySpace) (OnKeyEsc) (OnKeyEnter) (OnKeyDel)
(OnKeyBackspace) (OnKeyTab) (OnKeyShiftLeft) (OnKeyLeft)
(OnKeyShiftRight) (OnKeyRight) (OnKeyUp) (OnKeyHome) (OnKeyEnd)
(OnKeyDown) (OnKeyCapslock) (OnKeyDefault) (OnKeyCtrlNum)
(OnKeyCtrlOption) (OnKeyShiftSpace) (OnKeyDblTab) (OnKeyNumlock):
API renamed with chewing_ prefix.
(SetConfig): Renamed to chewing_Configure.
(chewing_new): New function. Create handle to ChewingContext.
(InitChewing): Renamed to chewing_Init.
In addition, wrap InitChar, InitDict, and ReadTree.
(ChewingReset): Renamed to chewing_Reset.
(ChewingSetKBType): Renamed to chewing_set_KBType.
(TerminateChewing): Renamed to chewing_Terminate.
In addition, release internal data structure.
(SetChiEngMode): Renamed to chewing_set_ChiEngMode.
(GetChiEngMode): Renamed to chewing_get_ChiEngMode.
(SetShapeMode): Renamed to chewing_set_ShapeMode.
(GetShapeMode): Renamed to chewing_get_ShapeMode.
(KBStr2Num): Renamed to chewing_KBStr2Num.
(SetKBType): Removed (in chewing_KBStr2Num).
* include/global.h
(#define CHEWING_API): New macro. Indicate the exact API.
(struct ChewingContext): New structure to wrap ChewingData and
ChewingOutput.
* test/testchewing.c (main),
test/gen_keystroke.c (main): Use the new API.
2005-12-01 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* configure.ac:
Bump version to 0.2.91 .
0.2.9x series are experimental versions.
* include/chewingio.h,
include/global.h,
src/chewingio.c:
API change: InitChewing, new API ChewingReset, ChewingSetKBType.
Drop obsolete struct ChewingConf.
2005-11-29 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/common/key2pho.c
(UintFromPhone) (PhoneFromUint) (PhoneInxFromKey):
Adjust buffer size.
2005-11-26 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
* data/tsi.src:
Merged with new data from libchewing-data project.
Fix a lot of prolems caused by encoding conversion.
* src/chewingio.c (OnKeySpace) (OnKeyDefault) (OnKeyNumlock):
Copy UTF-8 encoded string in chiSymbolBuf to commitStr correctly.
* src/chewingutil.c (WriteChiSymbolToBuf) (MakeOutput):
Copy UTF-8 encoded string in chiSymbolBuf correctly.
* src/hash.c,
src/common/key2pho.c,
src/private.h,
include/hash.h:
Add some conditional compilation and missing header includes for Win32 to
enhance portability.
2005-11-11 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/phone.cin,
data/tsi.src:
Merge phone and phrase from CNS11643.
Source:
http://rt.openfoundry.org/Foundry/Project/Tracker/Display.html?Queue=436&id=15263
* src/char.c (Str2Word):
Only read 6 bytes to wrd_ptr->word avoid buffer overflow.
* src/tools/sort_word.c:
Adjust MAX_WORD from 20000 to 60000.
* include/char.h:
Adjust Word.word size from 10 bytes to 7 bytes.
* include/dict.h:
Adjust PHONE_PHRASE_NUM from 149233 to 162244.
* include/global.h:
Adjust TREE_SIZE from 153251 to 153341.
Adjust MAX_CHOICE from 250 to 567.
2005-11-10 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/hash.c,
src/tree.c:
Use ueStrLen to count wordSeq.
2005-11-13 Jim Huang <jserv@kaffe.org>
* src/private.h: Added POSIX's <unistd.h> and Win32's <io.h> include.
* src/hanyupinying.c,
src/hash.c: Move <unistd.h> include to private.h for
platform-indepedency.
2005-11-12 Jim Huang <jserv@kaffe.org>
* src/hash.c (ReadHash): Add an workaround if illegal data exist in
hash.dat. Merged from win32 branch.
* data/tsi.src: Fix typo in wrong phone of "明基".
2005-11-06 Jim Huang <jserv@kaffe.org>
* src/tree.c (PhraseIntervalContain) (GetIntersection)
(CheckBreakpoint) (CheckUserChoose) (CheckChoose) (AddInterval)
(FindInterval) (SetInfo) (CompLen) (CompLenDescend) (CompFrom)
(CompRecord) (Discard1) (Discard2) (LoadChar) (OutputRecordStr)
(LoadPhraseAndCountFreq) (IsRecContain) (SortListByFreq) (SaveRecord)
(RecursiveSave) (SaveList) (InitPhrasing) (SaveDispInterval)
(CleanUpMem) (CountMatchCnnct) (ShowList): Marked as static.
(internal_release_Phrase): Internal phrase memory management
routines. Free the one not used to avoid memory leak.
(FindInterval): Make use of internal_release_Phrase.
Patched by Sea Monster <seamxr@gmail.com>.
* src/char.c (CompUint16) (Str2Word): Marked as static.
(InitChar): Fix the wrong operation when USE_BINARY_DATA enabled.
* src/userphrase.c (DeltaFreq) (LoadOriginalFreq) (LoadMaxFreq)
(UpdateFreq): Marked as static.
(LoadOriginalFreq): Fix memory leak.
(UpdateLifetime): Dummy implementation.
TODO: we should introduce smarter approaches to update lifetime.
* src/dict.c (fgettab) (Str2Phrase),
src/zuin.c (IsDvorakHsuPhoEndKey) (IsHsuPhoEndKey) (IsET26PhoEndKey)
(IsDefPhoEndKey) (EndKeyProcess) (DefPhoInput) (HsuPhoInput)
(ET26PhoInput) (IsPinYingEndKey) (PinYingInput),
src/choice.c (ChangeSelectIntervalAndBreakpoint) (SetAvailInfo)
(ChoiceTheSame) (SetChoiceInfo) (ChangeUserData): Marked as static.
* src/tools/sort_word.c (main),
src/tools/sort_dic.c (main),
src/tools/maketree.c (main): Added conditional compilation to allow to
be used in dat2bin.c
* src/tools/dat2bin.c: New file. Convert text-based dat to binary
form.
* src/tools/Makefile.am: Likewise
* configure.ac: Define AM_CONDITIONAL ENABLE_BINARY_DATA.
2005-11-01 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/porting_layer/include/sys/plat_win32.h:
Adjustment of API naming.
2005-10-31 Jim Huang <jserv@kaffe.org>
* src/tree.c (ReadTree),
src/char.c (InitChar),
src/dict.c (InitDict): Fixlet to consistent porting layer API.
* src/Makefile.am: Introduce porting layer library.
* src/porting_layer/src/plat_mmap_win32.c,
src/porting_layer/src/plat_mmap_posix.c: Fixlet to missing include
of config.h, and minor adjustment of API naming.
2005-10-31 Jim Huang <jserv@kaffe.org>
* src/tree.c: Fixlet to missing include of plat_mmap.h .
* src/dict.c (InitDict): Minor fixes to mmap handle.
* src/porting_layer/include/plat_mmap.h: Use macros to present
FLAG_ATTRIBUTE_READ / FLAG_ATTRIBUTE_WRITE for portability.
* configure.ac: New option --enable-binary-data to indicate the use
experimental binary data support.
Auto-detect $host_os via autoconf.
2005-10-31 Jim Huang <jserv@kaffe.org>
* src/chewingio.c (DoSelect):
Fix a overrun bug that could crush the lib when we advance the cursor
automatically.
Patched by Sea Monster <seamxr@gmail.com>.
2005-10-31 Jim Huang <jserv@kaffe.org>
* src/porting_layer/src/Makefile.am,
src/porting_layer/src/plat_mmap_win32.c,
src/porting_layer/src/plat_mmap_posix.c,
src/porting_layer/Makefile.am,
src/porting_layer/include/sys/plat_posix.h,
src/porting_layer/include/sys/plat_win32.h,
src/porting_layer/include/plat_mmap.h,
src/porting_layer/include/plat_types.h:
New files. Porting layer for libchewing.
Initial implementation of MMap for POSIX and Win32.
* include/global.h (ChewingData::bAutoShiftCur):
New member. Automatically shift the cursor to next phrase.
* src/tree.c
(TerminateTree): New function dedicated to USE_BINARY_DATA.
(ReadTree) (CheckBreakpoint),
src/chewingutil.c (HaninSymbolInput) (HaninSymbolInput),
src/dict.c (TerminateDict) (InitDict),
src/hash.c (ReadHash),
src/zuin.c (EndKeyProcess),
src/choice.c,
src/chewingio.c (DoSelect) (OnKeySpace) (OnKeyDefault) (OnKeyNumlock),
src/char.c (TerminateChar) (InitChar) (TerminateChar):
Merged USE_BINARY_DATA support and Zuin fixes from win32 branch by
PCMan and Sea Monster. Reimplement the original win32 routines with
the porting_layer.
* src/private.h: Introduced the porting layer definitions.
Fixlet to Win32 DEBUG_OUT.
* src/Makefile.am,
configure.ac: Add platform-dependent declarations.
NOTE: UNDER_POSIX is hard-coded at the moment.
2005-10-29 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/phone.cin,
data/tsi.src:
Convert to using UTF-8 encoding.
* src/common/chewing-utf8-util.c,
include/chewing-utf8-util.h:
New routine to handle utf8 strings.
* src/common/key2pho.c:
PhoneBg2Uint() rename to UintFromPhone, modify Key2Pho() to handle utf8
string.
* src/common/Makefile.am:
Add chewing-utf8-util.c to source list.
* src/hash.c,
src/tree.c,
src/zuin.c,
src/userphrase.c,
src/choice.c,
src/chewingio.c,
src/chewingutil.c:
Modify to using new utf8 routine.
* include/char.h,
include/chewing.h,
include/global.h:
Enlarge buffer size to satisfy utf8 string.
* test/gen_keystroke.c,
test/Makefile.am:
Using ncursesw to show proper utf8 output.
* configure.ac,
test/do-test.c,
test/test-key2pho.c,
test/test-utf8.c,
test/xhtml.xsl,
test/test.css,
test/showhide.js:
Add unit test using 'check' framework.
2005-10-18 Hong Jen Yee (PCMan) <hzysoft@sina.com.tw>
* libchewing/trunk/src/chewingio.c (OnKeyNumlock):
Fix an error causing buffer overflow.
2005-10-15 Jim Huang <jserv@kaffe.org>
* src/chewingutil.c (SymbolInput),
src/chewingio.c (OnKeySpace):
Workaround to tricky crash issue.
That is the internal buffer in core library would be overwritten if
the input reaches more then 50 space characters in Chinese input mode,
Patched by: Sea Monster <seamxr@gmail.com>.
2005-10-15 Jim Huang <jserv@kaffe.org>
* include/chewingio.h (SetShapeMode) (GetShapeMode): New functions.
Set / get full-shape mode.
* include/global.h (ChewingData): New member data. bFullShape.
* include/chewingutil.h (FullShapeSymbolInput),
src/chewingutil.c (FullShapeSymbolInput): New function.
Provide full-shape symbol input mechanism.
* src/chewingio.c (InitChewing): Initialize bFullShape to
HALFSHAPE_MODE.
(SetShapeMode) (GetShapeMode): Implemented.
(OnKeySpace): Handle space input behavior in full/half-shape mode.
(OnKeyDefault): Likewise.
Patched by: Hong Jen Yee (PCMan) <hzysoft@sina.com.tw>.
* test/gen_keystroke.c (show_full_shape): New function to update
full/half-shape status.
(main): Add Ctrl-k to emulate Shift (toggle full/half-shape mode) in
test case.
2005-10-13 Jim Huang <jserv@kaffe.org>
* src/chewingio.c
(addTerminateService): Fix previous compilation error.
(OnKeyDefault):
Support key 'j' / 'k' for paging in selection mode.
Patched by: Tiberius Teng <tiberiusteng@msn.com>.
2005-10-10 Jim Huang <jserv@kaffe.org>
* src/chewingio.c (addTerminateService):
Avoid redundant function pointer.
Reported by: Hong Jen Yee (PCMan) <hzysoft@sina.com.tw>.
2005-10-10 Jim Huang <jserv@kaffe.org>
* src/chewingio.c (InitChewing): Remove unsafe atexit.
Note: TerminateChewing is now required.
* test/testchewing.c: likewise.
2005-09-30 Hong Jen Yee (PCMan) <hzysoft@sina.com.tw>
* src/hanyupinying.c (InitialsMap), (FinalsMap):
Declaration of variables should be put at the beginning of function
definition.
2005-08-08 Jim Huang <jserv@kaffe.org>
* configure.ac: Bump version to 0.2.7 .
* NEWS,
README: Updated.
2005-08-08 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/tsi.src:
Add one missing phrase "的". Delete one non-big5 phrase "游錫堃".
2005-08-04 Jim Huang <jserv@kaffe.org>
* src/hanyupinying.c (InitMap):
Add failback routines.
* src/Makefile.am:
Add CHEWING_DATADIR macro.
* data/Makefile.am:
Remove pinyin.tab from CLEANFILES.
2005-04-07 Jim Huang <jserv@kaffe.org>
* src/private.h,
src/zuin.c (PinYinInput),
src/chewingio.c (TerminateChewing) (OnKeyDefault):
More improved debug macros.
2005-04-03 Jim Huang <jserv@kaffe.org>
* src/private.h,
src/tree.c,
src/chewingutil.c,
src/hash.c,
src/zuin.c,
src/chewingio.c:
Improved debug macro definitions.
2005-04-03 Jim Huang <jserv@kaffe.org>
* include/chewingio.h
src/chewingio.c (TerminateChewing):
New function dedicated to terminate Chewing's internal
routines.
* src/private.h
src/chewingio.c (addTerminateService):
New private function to register the terminate services.
* src/hanyupinying.c (InitMap):
Use addTerminateService instead of atexit.
* src/dict.c (TerminateDict) (InitDict),
src/char.c (TerminateChar) (InitChar),
src/chewingio.c (TerminateDebug) (InitChewing):
Register corresponding terminate routines. (close the
data file I/O stream)
NOTE: atexit(3) is used.
2005-04-03 Jim Huang <jserv@kaffe.org>
* src/chewingio.c (InitChewing):
Remove improper exit function call, which causes
unexpected closing.
2005-04-03 Jeff Chen <u6191488@mail.cs.tku.edu.tw>
* src/hanyupinying.c (FinalsMap),
data/pinyin.tab:
Add "uei" and "uen" to PinYing-Zuin Map.
2005-04-02 Jim Huang <jserv@kaffe.org>
* include/global.h,
src/private.h:
Clean up. Move CompFuncType and ALC to private.
* src/hanyupinying.c (HanyuPinYingToZuin):
Avoid potential compiler-undefined behavior.
2005-04-01 Jeff Chen <u6191488@mail.cs.tku.edu.tw>
* src/hanyupinying.c
(InitialsMap) (FinalsMap) (FreeMap) (InitMap): New helper function
to construct the PinYin mapping.
(HanyuPinYingToZuin): Add support for customized PinYin table.
* src/zuin.c (IsPinYingEndKey):
Fix "space key to select" of PinYin.
* data/pinyin.tab,
data/Makefile.am:
New PinYin table. Put it in $HOME/.chewing.
2005-03-29 Jim Huang <jserv@kaffe.org>
* src/hanyupinying.c
(hanyuInitialsMap) (hanyuFinalsMap): Adapt reference table from Lin Yu-Tang.
(HanyuPinYingToZuin): Add "jo" detection.
Provided by Jeff Chen <u6191488@mail.cs.tku.edu.tw>.
2005-03-22 Jim Huang <jserv@kaffe.org>
* include/global.h,
test/testchewing.c,
test/gen_keystroke.c,
src/tree.c,
src/private.h,
src/chewingutil.c,
src/hash.c:
Move redundant debug macro into private.h .
2005-03-21 Jim Huang <jserv@kaffe.org>
* configure.ac,
autogen.sh:
Use autoheader.
* src/private.h:
New file. Define private internal macros.
* src/tree.c,
src/chewingutil.c,
src/hanyupinying.c,
src/hash.c,
src/zuin.c,
src/chewingio.c:
Adjust DEBUG macro name and include private.h .
2005-03-20 Jim Huang <jserv@kaffe.org>
* include/global.h (ConfigData):
Add bSpaceAsSelection option.
* src/chewingio.c
(SetConfig): Set bSpaceAsSelection.
Failback to default values if out-of-range.
(OnKeySpace): Perform old space key behavior when
bSpaceAsSelection disabled.
2005-03-20 Jim Huang <jserv@kaffe.org>
* test/Makefile.am:
Add vcheck to perform valgrind memory checking on the built-in
test suite.
* test/testchewing.c,
src/tree.c:
Minor free routines.
2005-03-18 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/chewingutil.c (InternalSpecialSymbol) (SymbolChoice):
Don't forget to keep the kbtype value.
2005-02-28 Jim Huang <jserv@kaffe.org>
* configure.ac:
Bump version to 0.2.6.
Bump ABI major version.
2005-02-27 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/char.h:
Adjust PHONE_NUM from 1319 to 1320.
2005-02-25 Kang-min Liu <gugod@gugod.org>
* src/chewingutil.c,
src/zuin.c:
More HanYu PinYing support routines.
2005-02-24 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/chewingio.c
(OnKeyESC): Remove unused string made by SemiSymbolInput when
press ESC.
(OnKeyCtrlNum): Should not call MakeOutputAddMsgAndCleanInterval.
2005-02-23 Jim Huang <jserv@kaffe.org>
* include/chewingio.h,
include/global.h,
include/chewingutil.h,
include/hanyupinying.h,
include/dict.h,
include/zuin.h,
src/chewingutil.c,
src/hash.c,
src/chewingio.c:
Bump copyright date.
2005-02-20 Kang-min Liu <gugod@gugod.org>
* include/global.h (ConfigData):
Add an extra field 'hsuSelKeyType' to indicate
the two different kind of hsu-keyboard selection key.
2005-02-19 Jim Huang <jserv@kaffe.org>
* src/hash.c (ReadHash):
Apply the patch from Mike FABIAN <mfabian@suse.de> to
prevent $HOME environment variable from getting changed.
2005-02-19 Kang-min Liu <gugod@gugod.org>
* include/hanyupinying.h,
src/hanyupinying.c,
include/global.h,
include/zuin.h:
Experimental feature -- HanYu PinYing Keyboard layout.
2005-02-08 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/tsi.src:
Add missing phrase(編輯器).
* include/dict.h,
include/global.h:
Adjust PHONE_PHRASE_NUM from 130000 to 149233.
TREE_SIZE from 149339 to 153251.
Avoid SegFault.
2005-01-29 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/chewingio.c (OnKeyShiftSpace):
Rename SpaceSymbolInput to SemiSymbolInput since SpaceSymbolInput
did not exist anymore.
2005-01-01 Kang-min Liu <gugod@gugod.org>
* include/chewingio.h
include/chewingutil.h,
src/chewingio.c,
src/chewingutil.c:
Add the facility to input symbols.(Ctrl-0 and Ctrl-1)
Make the NumLock keypad work just right
2004-12-28 Jim Huang <jserv@kaffe.org>
* include/dict.h:
Adjust PHONE_PHRASE_NUM from 120000 to 130000.
Avoid SegFault.
Reported by: Wei-zhong Yang <wz.yang@msa.hinet.net>
2004-12-28 Jim Huang <jserv@kaffe.org>
* configure.ac,
README:
Bump version to 0.2.5.
Update the status of integration.
2004-12-26 Jim Huang <jserv@kaffe.org>
* deabin/README.Debian,
README,
libchewing.spec.in:
Update web information.
2004-12-19 Kang-min Liu <gugod@gugod.org>
* libchewing/data/tsi.src:
Merge SpaceChewing's frequency tweaking from zonble.
2004-12-12 Kang-min Liu <gugod@gugod.org>
* libchewing/trunk/src/zuin.c:
Special handle for space key (Indeed very special one).
Un-break the situation that OnKeySpace() is not called,
hence the Candidate window doesn't show up, because
ZUIN_NO_WORD is returned.
2004-10-13 Jim Huang <jserv@kaffe.org>
* src/tools/sort_word.c,
src/tools/sort_dic.c,
src/tools/maketree.c,
src/tools/Makefile.am:
Remove redundant macro, definition, and typedef.
Make use of src/common.
2004-10-13 Jim Huang <jserv@kaffe.org>
* remove-autotool.sh,
src/tools/Makefile.am,
src/Makefile.am,
trunk/configure.ac,
trunk/autogen.sh:
Adjust autotool for newly-added src/common.
* src/key2pho.c,
src/common,
src/common/key2pho.c,
src/common/Makefile.am:
Move key2pho.c from src to src/common.
2004-10-07 Jim Huang <jserv@kaffe.org>
Tag 0.2.4 stable release as libchewing_production.
2004-10-05 Jim Huang <jserv@kaffe.org>
* configure.ac:
Bump version to 0.2.4.
Bump ABI major version.
2004-10-04 Jim Huang <jserv@kaffe.org>
* test/gen_keystroke.c (show_userphrase),
src/hash.c (ReadHash):
bzero is deprecated, use memset in new programs.
2004-10-03 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/chewingutil.c
(WriteChiSymbolToBuf):
Workaround to avoid different initialization behavior among
Win32 and Unix-like OSs.
2004-09-29 Jim Huang <jserv@kaffe.org>
* configure.ac:
Revert. Don't bother CFLAGS even if debugging is disabled.
2004-09-06 Kuang-che Wu <kcwu@csie.org>
* test/Makefile.am:
Fix automake error message about += before any = operation.
* autogen.sh:
Respect to autotools environment variable for using different
versions of autotools.
Avoid the use of pushd and popd because tranditional /bin/sh
doesn't have them.
2004-08-31 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/global.h (ConfigData):
Add bAddPhraseForward option.
* src/chewingio.c
(SetConfig): Set bAddPhraseForward.
(OnKeyCtrlNum) (OnKeyEnter): Make them work correctly when
bAddPhraseForward disabled.
2004-08-31 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* test/gen_keystroke.c,
testchewing.c:
Make use of OnKeyShiftLeft, OnKeyShiftRight.
2004-08-30 Jim Huang <jserv@kaffe.org>
* scripts/cvsup-tsi-src.sh:
Automatically cvs checkout libtabe, and generate tabe-tsi.src.
Use it as ./scripts/cvsup-tsi-src.sh in top directory.
* scripts/gen-tabe-diff.sh:
Generate the diff between existing tsi.src and tabe-tsi.src.
Use it as ./scripts/gen-tabe-diff.sh in top directory.
2004-08-30 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/global.h:
Enlarge TREE_SIZE from (112500) to (149339).
* include/dict.h:
Enlarge PHONE_PHRASE_NUM from (94000) to (120000).
* src/tree.c (TreeType tree): Marked as extern.
* src/hash.c (ReadHash): Initialize hash table.
* src/choice.c (TreeType tree): Declare its size as TREE_SIZE.
* data/tsi.src:
Update tsi.src to latest version.
2004-08-30 Jim Huang <jserv@kaffe.org>
* src/chewingio.c (CheckAndResetRange): marked as static.
(DoSelect): New helper function for valid word selection.
(OnKeySpace): Adapt DoSelect.
2004-08-23 Jim Huang <jserv@kaffe.org>
* include/zuin.h,
src/key2pho.c,
src/chewingutil.c:
Add Dvorak Hsu keyboard layout from SpaceChewing.
* src/zuin.c
(IsDvorakHsuPhoEndKey): New helper function to check Dvorak Hsu
key sequence.
(IsHsuPhoEndKey): Introduce Dvorak Hsu keyboard layout.
* src/chewingio.c
(dvorak_convert): New helper function to handle Dvorak <--> Qwerty
keyboard layout.
(OnKeyDefault): Introduce Dvorak Hsu keyboard layout.
2004-08-20 Jim Huang <jserv@kaffe.org>
* include/chewingio.h,
src/chewingio.c
(OnKeyShiftLeft) (OnKeyShiftRight) (OnKeyShiftSpace): New functions.
Introduce Hanin style support from SpaceChewing.
(CheckAndResetRange): Check the boundary of ChewingData instance.
* include/chewingutil.h (SymbolChoice):
New function. Provide generic symbol choice routine.
* src/chewingutil.c (SymbolChoice) (SpaceSymbolInput):
New functions.
* include/global.h (struct ChewingData) (struct ChewingOutput):
New members, PointStart and PointEnd. Necessary information for
Hanin style.
* src/zuin.c (HsuPhoInput):
Fix phonetic index in Hsu keyboard, and do fuzzy "g e" to "j e"
convertion.
* src/choice.c
(SetChoiceInfo): Make sure users' phone sequence was allocated
and set already.
(ChoiceEndChoice): Check if it's a symbol before return to the
old cursor and Chinese symbol cursor position.
* autogen.sh:
Remove automake cache.
2004-08-17 Jim Huang <jserv@kaffe.org>
* test/testchewing.c,
test/gen_keystroke.c:
Use Ctrl-B to switch English/Chinese mode to avoid screen
usage.
2004-08-09 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* configure.ac:
Updated to avoid removing wrong CFLAGS.
Reported by: Palatis <palatis@gentoo.org.tw>.
2004-08-09 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* Doxyfile.in,
configure.ac,
Makefile.am:
Added file Doxyfile.in, use 'make docs' to generate docs.
2004-08-07 Jim Huang <jserv@kaffe.org>
* libchewing.spec.in,
configure.ac,
Makefile.am:
RPM spec contributed by Shiva Huang <blueshiva@giga.net.tw>.
2004-08-06 Jim Huang <jserv@kaffe.org>
* include/chewing.h:
New file. Include all Chewing headers here.
Add extern chewing_lifetime symbol.
* src/hash.c,
src/userphrase.c:
Rename lifetime to chewing_lifetime.
* test/testchewing.c,
test/gen_keystroke.c:
Use brief include and write instructions for user-
defined phrase addition.
2004-08-05 Jim Huang <jserv@kaffe.org>
* chewing.pc.in,
configure.ac,
Makefile.am:
Support pkg-config.
2004-08-04 Jim Huang <jserv@kaffe.org>
* src/chewingio.c:
Introduce new enviornment variable CHEWING_DEBUG to
point out the file to put debug information.
2004-08-04 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* Makefile.am:
Add entry 'install-manpages'.
2004-08-04 Jim Huang <jserv@kaffe.org>
* configure.ac:
Bump version to 0.2.3.
2004-08-04 Jim Huang <jserv@kaffe.org>
* test/gen_keystroke.c,
test/testchewing.c:
Implement user phrase addition and some fancy rendering.
2004-08-04 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/choice.c (SetAvailInfo):
Fix wrong nAvail increase.
2004-08-04 Jim Huang <jserv@kaffe.org>
* test/gen_keystroke.c,
test/testchewing.c:
Support input behavior of SpaceChewing.
Add space key for selecting candidate phrases.
2004-08-03 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* data/tsi.src:
Add mising zuin symbols to avoid unexpected problems.
2004-08-03 Jim Huang <jserv@kaffe.org>
* src/choice.c (ChangeSelectIntervalAndBreakpoint):
Perform boundary check.
2004-08-03 Jim Huang <jserv@kaffe.org>
* src/chewingio.c:
Fix debug routines.
* src/choice.c:
Do available candidate phrases initialization.
Reported by: Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
2004-08-03 Jim Huang <jserv@kaffe.org>
* test/.cvsignore,
test/Makefile.am,
test/gen_keystroke.c,
test/testchewing.c:
Limit the prefix path test suite only ought to use,
the hash data included.
2004-08-03 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* test/gen_keystroke.c,
test/testchewing.c:
Remove unused variables.
Use .dat files in data.
* data/Makefile.am:
Generate .dat files when make all.
2004-08-03 Jim Huang <jserv@kaffe.org>
* src/chewingio.c (OnKeyDefault):
Fix the wrong ignoring key handler behavior.
2004-08-03 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* test/gen_keystroke.c,
test/testchewing.c:
Fix some bugs.
2004-08-02 Jim Huang <jserv@kaffe.org>
* test/Makefile.am:
Better test generation routines.
* test/testchewing.c,
test/gen_keystroke.c:
Add missing lifetime.
* test/README:
Brief usage.
2004-08-02 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* test/gen_keystroke.c,
testchewing.c,
test.txt,
README:
Initial built-in test suite.
2004-07-31 Jim Huang <jserv@kaffe.org>
* include/chewingio.h,
src/chewingio.c (OnKeySpace) (OnKeyCtrlOption):
New function. Make use of space key for most
operations, Eten special symbol input included.
* include/chewingutil.h,
src/chewingutil.c
(SpecialEtenSymbolInput): New function.
Introduce Eten special symbols.
(SpecialSymbolInput): Move its routines to InternalSpecialSymbol.
* src/hash.c:
Make lifetime with extern modifier.
2004-07-31 Jim Huang <jserv@kaffe.org>
* include/hash.h,
src/hash.c:
Initial support for MacOSX.
2004-07-29 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* src/tools/sort_dic.c:
Fix the broken encoding.
2004-07-23 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/chewingio.h:
Add some comment.
2004-07-21 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* configure.ac:
Fix --disable-debug option, remove '-g' flag.
2004-07-20 Jim Huang <jserv@kaffe.org>
* configure.ac:
Add --enable-debug support and detection for doxygen.
2004-07-20 Jim Huang <jserv@kaffe.org>
* include/char.h,
include/chewingutil.h,
include/global.h,
include/userphrase.h,
include/chewingio.h,
include/dict.h,
include/hash.h,
include/zuin.h:
Indent and remove the "GOING" naming not to be misunderstood.
2004-07-19 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* include/chewingio.h,
include/global.h,
include/hash.h,
include/userphrase.h,
include/zuin.h,
src/char.c,
src/chewingio.c,
src/chewingutil.c,
src/choice.c,
src/hash.c,
src/tree.c,
src/userphrase.c,
src/zuin.c,
src/tools/maketree.c,
src/tools/sort_dic.c:
Add some doxygen format comments and modify
all C++ style comments(//) to C style comments(/**/).
2004-07-17 Jim Huang <jserv@kaffe.org>
* README:
Add keyboard support information entries.
* TODO:
For developers only. Please write down plans
and on-going note here.
2004-07-17 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* debian/shlibs.local:
Updated Debian package information.
* include/zuin.h,
src/chewingio.c,
src/key2pho.c:
Add Dvorak keyboard support.
2004-07-17 Jim Huang <jserv@kaffe.org>
* src/tools/maketree.c,
src/tools/sort_dic.c,
src/tools/sort_word.c:
Indent coding style.
2004-07-06 Jim Huang <jserv@kaffe.org>
* src/char.c,
src/chewingutil.c,
src/dict.c,
src/key2pho.c,
src/userphrase.c,
src/chewingio.c,
src/choice.c,
src/hash.c,
src/tree.c,
src/zuin.c:
Indent and do more comments against the core.
2004-07-06 Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* debian/changelog,
debian/libchewing0-dev.dirs,
debian/libchewing0-dev.install,
debian/libchewing-dev.dirs,
debian/libchewing-dev.install:
Updated Debian package information.
2004-07-05 Jim Huang <jserv@kaffe.org>
* autogen.sh,
configure.ac,
Makefile.am,
src/tools/Makefile.am,
src/Makefile.am,
data/Makefile.am:
Adapt autotoolized patch from Kanru Chen <kanru.96@stu.csie.ncnu.edu.tw>
* COPYING: Specify LGPL.
* debian: Debianized information.
2004-05-27 Jim Huang <jserv@kaffe.org>
* src/hash.c: refactor its data structure.
* src/chewingio.c: fix memory leak and fix syntax compatibility.
* src/char.c: wide scope support.
* key2pho.c: fix syntax compatibility.
* data/tsi.src: fix some typo and errors.
2004-03-25 Jim Huang <jserv@kaffe.org>
Initial release of libchewing.
|