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 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458
|
2005-02-26 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-change-candidate-index) : Fix potential crash
and its behavior when pressing skk-prev-candidate-key? just
after starting conversion.
2005-02-26 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper.c (uim_helper_send_message) : Change timeout
value to 2 sec.
2005-02-26 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper.c (uim_helper_send_message) : Change timeout
value.
* uim/uim-helper-server.c : Use non-blocking io.
(init_serv_fd) : Use O_NONBLOCK for server fd.
(parse_content) : Use select when write(2) fails with EAGAIN or
EINTR.
(uim_helper_server_process_connection) : Use O_NONBLOCK for client
fd.
2005-02-26 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c: Removed unneed macro "#ifdef HAVE_M17NLIB".
2005-02-26 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: m17n-core is not sufficient for uim. uim requires
m17n-shell.
2005-02-26 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Require m17n-lib 1.2.0 or higher for m17n-lib module.
2005-02-25 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* qt/pref-qt.cpp (UimPrefDialog::checkDotUimFile) : Oops, forgot
to write checkin message in r720. Also add comment about the
change.
2005-02-25 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* qt/immodule-qhelpermanager.cpp (update_prop_list_cb) : Send
prop_list_update message on a focused context only.
(update_prop_label_cb) : Send prop_label_update message on a
focused context only.
* qt/quiminputcontextplugin-qt4/qhelpermanager.cpp : Ditto.
2005-02-25 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/prime.c:
-(prime_lib_init): Fixed too many execution of prime. Thanks to
Hiroyuki Komatsu <komatsu@taiyaki.org>.
2005-02-25 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(register_callbacks): register to minput_default_driver.
-(init_m17nlib): Call register_callbacks once.
2005-02-25 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(find_im_by_name): Fix the case if lang == NULL. Thanks to Kenichi Handa
for reporting.
2005-02-25 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/ipa-x-sampa.scm: A bug fix to close bug #2472.
-(ipa-x-sampa-init-handler): set back-match as #t.
2005-02-25 TOKUNAGA Hiroyuki <tkng@xem.jp>
* Makefile.am: Added autogen.sh to EXTRA_DIST.
2005-02-24 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* po/ja.po : Add translation of skk-special-midashi-key?
2005-02-24 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximserver.cpp (InputContext::focusIn) : Fix to update
prop_{label,list} properly when focus_in (related to the changes
in r612).
2005-02-24 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/toolbar-common-gtk.c
- (command_entry):
* Simplify descriptions
* Remove C99 style trailing comma
* po/uim.pot
* po/ja.po
* po/fr.po
- Update
2005-02-24 Takuro Ashie <ashie@homa.ne.jp>
* pref-gtk.c
- (quit_confirm): Changed buttons to GTK_BUTTONS_YES_NO instead of
GTK_BUTTONS_OK_CANCEL. Thanks 336 of [Anthy/uim thread 5].
But saving issue doesn't reproduce on my environment....
- (quit_confirm_dialog_response_cb): Ditto.
- (check_dot_uim_file): Set parent window of warning dialog.
Thanks 471 of [Anthy/uim thread 5].
2005-02-24 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/tutcode-key-custom.scm
- Modify labels appropriately
* po/POTFILES.in
- Add scm/tutcode-key-custom.scm
* po/uim.pot
* po/fr.po
- Update
* po/ja.po
- Update. Almost of messages has been filled for 0.4.6 release
except for skk-special-midashi-key?, skk-vi-escape-key? and
skk-state-direct-no-preedit-nop-key? defined in
skk-key-custom.scm since I don't know about their
responsibility. Please modify them appropriately.
2005-02-24 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-rt.scm
- (define-custom): Fix invalid key-predicate definition for non-key
custom variables
2005-02-23 Takuro Ashie <ashie@homa.ne.jp>
* helper/toolbar-common-gtk.c
- Show switcher icon on system tray icon.
Thanks 466 of [Anthy/uim thread 5].
2005-02-23 kzk <mover@hct.zaq.ne.jp>
* qt/pref-keyeditformbase.ui
* qt/pref-olisteditformbase.ui
* qt/pref-keygrabformbase.ui
- fix compilation problem on Qt 3.2
2005-02-23 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c : Fix slow personal dictionary parse.
(reverse_cache) : New function.
(parse_dic_line) : Don't use slow add_line_to_cache_last each
time.
(skk_read_personal_dictionary) : Reverse cache after parsing all
lines.
2005-02-22 Takuro Ashie <ashie@homa.ne.jp>
* configure.ac
- Added missing "-lz" for EBLIB_LIBS.
Thanks No.454 of [Anthy/uim thread 5] for reporting.
2005-02-22 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* config.guess : Sync with libtool-1.5.14.
* config.sub : Ditto.
* ltmain.sh : Ditto.
* uim/Makefile.am : Use LTLIBINTL and LTLIBICONV instead of
LIBINTL and LIBICONV for libuim_la_LIBADD. Remove redundant
LIBICONV from uim_sh_LDADD and uim_agent_LDADD since they are
contained in libuim.la.
* fep/Makefile.am : Remove redundant LIBICONV from uim_fep_LDADD.
* xim/Makefile.am : Remove redundant LIBICONV from uim_xim_LDADD.
2005-02-22 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/init.scm
- Cosmetic change
2005-02-22 TOKUNAGA Hiroyuki <tkng@xem.jp>
* po/fr.po:Added French translation.
Thanks to Thierry Vignaud <tvignaud@mandrakesoft.com>.
2005-02-21 YamaKen <yamaken@bp.iij4u.or.jp>
* test/Makefile.am
- (EXTRA_DIST): Add lacking files test-action.scm,
test-custom-rt.scm, test-lazy-load.scm, test-plugin.scm and
test-ustr.scm
2005-02-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* qt/candwin-qt.cpp (CandidateWindow::slotStdinActivated) : Use
same buffer size for IPC as in uim-candwin-gtk.
2005-02-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/slib.c (string_equal) : Fix to avoid crashes when using
wrong type of argument in string=?
2005-02-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/Makefile.am : Fix linking order of libuim-custom.la and
libuim.la. Thanks Jeroen Ruigrok for reporting.
* qt/Makefile.am : Ditto.
* uim/Makefile.am : Ditto.
* examples/uim-custom/Makefile.am : Ditto.
2005-02-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Modify umbiguous error message about iconv function.
2005-02-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* config.rpath : Add missing file.
2005-02-21 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/Makefile.am: Added tutcode-key-custom.scm.
2005-02-21 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/Makefile.am
- (EXTRA_DIST): Add lacking files COMPATIBILITY, CUSTOM, DOT-UIM,
HELPER-PROTOCOL, PLUGIN and UIM-SCM. Thanks No.438 of [Anthy/uim
thread 5]
2005-02-21 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/tutcode-key-custom.scm: New file for key configuration of tutcode.
* scm/tutcode.scm: Move some key definitions to scm/tutcode-key-custom.scm.
Thanks to KIHARA Hideto <deton@m1.interq.or.jp> for this patch.
2005-02-20 TOKUNAGA Hiroyuki <tkng@xem.jp>
* release 0.4.6beta2.
2005-02-20 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit complements lacking commit log of r676. All changes
exept for doc/UIM-SH had actually been performed in r676.
* uim/uim-util.h
- (is_setugid): New function
* uim/uim-util.c
- (is_setugidp): New static function. YamaKen had claimed that this
function name is inappropriate and should be renamed to
'setugidp'. This renaming will be re-suggested after our busy
status has gone
- (uim_init_util_subrs): Add initialization of is-set-ugid? to wrap
is_setugidp. YamaKen claimed that this procedure should be renamed
to 'setugid?'
* uim/uim-helper.c
- (uim_helper_get_pathname): Avoid invoking getenv if is_setugid()
is true
* scm/init.scm
- (load-user-conf): Avoid invoking getenv if is-set-ugid? is true
* scm/plugin.scm
- (uim-plugin-lib-load-path, uim-plugin-scm-load-path,
load-module-conf, load-enabled-modules): Ditto
* scm/skk.scm
- (skk-read-personal-dictionary, skk-save-personal-dictionary):
Ditto
* doc/UIM-SH
- Add description about '-B' option
2005-02-20 Takuro Ashie <ashie@homa.ne.jp>
* scm/prime-key-custom.scm
- Fixed some messages.
* po/ja.po, po/uim.pot, po/POTFILES.in
- Updated.
2005-02-20 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/plugin.scm
- (load-enabled-modules): Fix the broken modification committed in r676
2005-02-20 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Release 0.4.6beta1.
2005-02-20 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim-helper.c:
-(is_setugid): New function to check uid and euid.
* uim/uim-ipc.c:
-(uim_ipc_open_command_with_option): If uid and euid is not the same,
full path of the command should be passed to execlp.
* uim/uim.c:
-(uim_init_scm): If uid and euid is not the same,
getenv() shouldn't be called.
* scm/init.scm: If uid and euid is not the same,
getenv shouldn't be called.
* scm/plugin.scm; If uid and euid is not the same,
getenv shouldn't be called.
* scm/skk.scm; If uid and euid is not the same,
getenv shouldn't be called
2005-02-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* po/POTFILES.in: ipa.scm is renamed to ipa-x-sampa.scm.
2005-02-19 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/helper-candwin-gtk.c (read_cb) : Use slightly larger
buffer for IPC (SKK-JISYO.L's "kou" entry has 240 candidates).
2005-02-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/ipa-x-sampa.scm: Renamed from ipa.scm
2005-02-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* qt/Makefile.am: hacks to pass 'make releasetest'
2005-02-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/Makefile.am:
-(libuim_la_SOURCES): Added uim-encoding.h
2005-02-18 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-func.c
- (uim_iconv_create): Replace C++ style '0' pointer with C style
'NULL'
2005-02-18 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-func.c (uim_iconv_create) : Add an encoding check that
was accidentally removed in r668, sorry.
* uim/uim-encoding.h : Cosmetic changes.
2005-02-18 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-encoding.h : New file. Table for codeset aliases.
* uim/uim-func.c (check_encoding_equivalence) : New function to
check whether tocode and fromcode of iconv_open(3) are
equivalent.
(uim_iconv_is_convertible) : Use check_encoding_equivalence()
instead of strcmp(). Use uim_iconv_open() instead of
iconv_open(3).
(uim_get_encoding_alias) : New function. Get list of aliases of
supplied encoding.
(uim_iconv_open) : New function. Wrapper for iconv_open(3) to
avoid system dependency.
(uim_iconv_create) : Use check_encoding_equivalence() instead of
strcmp().
(uim_iconv_code_conv) : If ic is NULL, return immediately.
2005-02-17 Takuro Ashie <ashie@homa.ne.jp>
* uim/uim-func.c
- (uim_iconv_create): Don't create iconv context when the tocode and
the fromcode are same encoding.
Please see [Anthy-dev 1854] for more detail.
2005-02-16 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/uim-fep.c(usage): use get_enc() instead of NULL
2005-02-16 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Add "ngettext" check for gettext to prevent
compilation error with old glibc. This check also implies a
check for bind_textdomain_codeset.
2005-02-16 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Add check for vsnprintf().
2005-02-16 TOKUNAGA Hiroyuki <tkng@xem.jp>
* m4/Makefile.am:
-(EXTRA_DIST): Added new files.
2005-02-16 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/str.c(get_enc): "utf-8" -> "UTF-8", "euc-jp" -> "EUC-JP"
2005-02-16 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/DOT-UIM
- Add description about default.scm to the section "Precedence of
settings"
2005-02-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/Makefile.am
- Fix top_srcdir for LIBUIM_PLUGIN_LIB_DIR with top_builddir
- Fix relative path for LIBUIM_SCM_FILES with absolute one. It must
be ensured as absolute path.
- Fix loading of installed-modules.scm when builddir != srcdir
- Thanks Masanari Yamamoto for reporting
* uim/uim.h
- (uim_create_context): Modifiy description abount enc argument
2005-02-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(fill_new_candidates): Fixed a memory leak.
-(old_cands_free): Fixed an inifinite loop condition.
2005-02-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(get_nth_candidate): Speeding up with candidate cache.
2005-02-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm:
-(m17nlib-update-candidates): Fixed a bug. Thanks to UTUMI Hirosi
for reporting.
2005-02-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(ic_array): Added new members old_candidates and new_candidates.
These members are used as cache of candidates.
-(old_cands_free): New function.
-(fill_new_candidates): New function to fill candidate cache with
new candidates.
-(same_candidatesp); New function.
-(candidates_changedp): New function.
-(calc_cands_num); New function.
2005-02-15 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Add check for C99 vsnprintf().
* xim/util.c : Add portable version of vsnprintf().
2005-02-15 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/escseq.c(my_putchar): fix a warning
2005-02-15 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/escseq.c: int my_putchar(int c) -> int my_putchar(char c)
2005-02-15 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Revise iconv(3) check.
2005-02-15 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : If iconv(3) is not found, stop configure.
Add <signal.h> for checking sit_t for FreeBSD 4.1.
2005-02-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (delete): New SRFI procedure
2005-02-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c: Corresponded to the situation where the language of input
method is nil.
-(pushback_input_method): Don't return if lang is NULL
-(get_input_method_name): Omit lang of input method if it was NULL.
2005-02-14 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* configure.ac: Check libcurses first, if libcurses is not found
check libncurses.
2005-02-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Use both libcurses and libncurses for
uim-fep again. This solves linking problem in Solaris9.
2005-02-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* Fix compilation on Solaris9.
* xim/connection.cpp : Include "config.h" and "alloca.h"
appropriately.
* xim/ximtrans.cpp : Include "alloca.h" appropriately.
* xim/ximic.cpp : Ditto.
* xim/ximim.cpp : Ditto.
* xim/ximserver.cpp : Check definition of _GNU_SOURCE.
* xim/main.cpp Ditto.
* xim/helper.cpp : Ditto.
* xim/locale.cpp : Ditto.
2005-02-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/util.h : Fix typo.
2005-02-14 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/uim-fep.c: turn on the input method when -S option is set
2005-02-14 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(compose_modep): Fixed a condition of compose mode. If candidate_from
is bigger than candidate_to, not compose mode.
2005-02-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Remove -ansi from CXXFLAGS since this breaks some
systems header files on some platform.
2005-02-14 Takuro Ashie <ashie@homa.ne.jp>
* uim.pc.in
- Added "datadir", "uim_datadir", "uim_scmdir" variables according to
[Anthy-dev 1810].
2005-02-14 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/Makefile.am
- Replace 'echo' with $(ECHO)
- Remove '-n' option of echo to avoid portability problem. Thanks
Masanari Yamamoto for reporting
2005-02-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* m4/ac_cxx_namespace.m4 : New file. From
http://ac-archive.sourceforge.net/C++_Support/ac_cxx_namespaces.html
* m4/ac_cxx_have_stl.m4 : New file. From
http://ac-archive.sourceforge.net/C++_Support/ac_cxx_have_stl.html
* configure.ac : Add check for AC_CXX_NAMESPACES and
AC_CXX_HAVE_STL for uim-xim.
2005-02-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/locale.cpp : Define _GNU_SOURCE to use asprintf and include
<stdio.h>. Remove sanity check added in r636.
* xim/util.cpp (vasprintf) : Use length 1 for check len. Thanks
to Konosuke Watanabe.
* xim/helper.cpp : Define _GNU_SOURCE to use asprintf.
* xim/ximserver.cpp : Ditto.
* xim/main.cpp : Ditto.
2005-02-13 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/draw.c: bugfix
2005-02-13 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* Fix compilation on Solaris8, thanks to Konosuke Watanabe.
* configure.ac : Add check for sig_t.
* uim/uim-ipc.c : If strsep doesn't exist, use uim_strsep.
* uim/uim-helper.c : Include "config.h" and check typedef sig_t
if it doesn't exist.
* uim/strsep.c : Rename strsep into uim_strsep.
* xim/locale.cpp : Add sanity check.
* xim/util.h : If strsep doesn't exist, use uim_strsep.
* xim/util.cpp : Fix vasprintf on Solaris8.
2005-02-13 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/{uim-fep.c,escseq.c,draw.c} bugfix
2005-02-12 Takuro Ashie <ashie@homa.ne.jp>
* helper /toolbar-common-gtk.c
- Added some buttons. In the futuer, They should become customizable.
- (struct _CommandEntry): Added for creating menu and buttons.
- (toolbar_button_press_cb): New callback function.
- (helper_toolbar_prop_list_update): Create buttons according to
command_entry.
- (switcher_button_create): Removed. Create the widget by
helper_toolbar_prop_list_update() instead.
- (switcher_button_pressed): Ditto.
- (pref_button_create): Ditto.
- (pref_button_pressed): Ditto.
- (toolbar_new): Store our icons to icon stock.
2005-02-12 Takuro Ashie <ashie@homa.ne.jp>
* qt/pref-qt.h, helper/pref-qt.cpp
- Comment out SubgroupData.
- (GroupPageWidget::setupWidgets): Create sub groups directly in this
function.
2005-02-12 Takuro Ashie <ashie@homa.ne.jp>
* qt/pref-qt.cpp
- (SubgroupData::searchGroupVBoxByCustomSym):
Check whether the gvboxMap contains the given key.
2005-02-11 Takuro Ashie <ashie@homa.ne.jp>
* qt/toolbar-common-quimhelpertoolbar.cpp
- (QUimHelperToolbar::QUimHelperToolbar): Fixed typo.
* scm/im-custom.scm
- (toolbar group): Divide as new main group.
- (buttons sub group): New sub group.
* po/ja.po, po/uim.pot
- Updated.
2005-02-11 kzk <mover@hct.zaq.ne.jp>
* scm/Makefile.am
- regard $(top_srcdir)/uim/.libs as LIBUIM_PLUGIN_LIB_DIR in
creating loader.scm and installed-modules.scm
2005-02-11 Takuro Ashie <ashie@homa.ne.jp>
* gtk/gtk-im-uim.c
- (cand_deactivate_cb): Check uic->win before removing filter
function.
- (im_uim_finalize): minor fix.
2005-02-11 kzk <mover@hct.zaq.ne.jp>
* qt/toolbar-common-quimhelpertoolbar.cpp
- change uim-compat-scm.h's path
* qt/Makefile.am
- clean up build rules
2005-02-11 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/ add -S option
2005-02-11 kzk <mover@hct.zaq.ne.jp>
* qt/toolbar-common-quimhelpertoolbar.h
* qt/toolbar-common-quimhelpertoolbar.cpp
- add dict, input pad, handwriting input pad, help button
2005-02-11 kzk <mover@hct.zaq.ne.jp>
* scm/im-custom.scm
- add some configurations for toolbar buttons
- dict
- input-pad
- handwriting-input-pad
- help
Ashie-san, please modify uim-toolbar-gtk as well.
Following is the test to CCMAIL feature.
CCMAIL:ashie@good-day.co.jp
2005-02-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* Fix crash bug with F10 key with anthy reported by Konosuke
Watanabe.
* scm/anthy.scm (anthy-make-whole-raw-string) : Fix to append
pending and right-str as correct sequence.
* scm/japanese.scm (ja-raw-string-to-valid-roma) : Check next-str
appropriately. Don't use ja-default-small-tsu-roma.
(ja-raw-string-to-valid-roma) : Check next-str appropriately.
2005-02-11 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/japanese-kana.scm
- (ja-kana-katakana-rule): Fix a wrong entry
2005-02-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/helper-candwin-gtk.c (read_cb) : Use a bit larger buffer for
read(2).
2005-02-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* doc/XIM-SERVER : Update candidate window section.
2005-02-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Don't compile fep unless curses library is found.
* xim/canddisp.c : Use uim-candwin-qt if selected toolkit is qt.
* xim/Makefile.am : Check default toolkit.
2005-02-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Remove a check for glib-2.0 since no component
in current uim uses glib directly.
2005-02-10 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- Removed USE_SUB_GROUP macro.
- Don't show the save confirm dialog on switching page.
- (save_confirm_dialog_response_cb): Comment out.
- (pref_tree_selection_changed): Disable confirm dialog.
- (create_group_widget) Removed USE_SUB_GROUP macro.
2005-02-09 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* Remove socket path before excecuting new prime process for unix
domain socket.
2005-02-09 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/DOT-UIM
- Fix typos
2005-02-09 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes define-key in ~/.uim taking effect again
* scm/custom-rt.scm
- (custom-call-hook-procs): New procedure
- (custom-set-value!): Simplify with custom-call-hook-procs
- (define-custom): Don't define key predicate if define-key'ed one
already exists
* doc/DOT-UIM
- Modify "Configuring key bindings" section about prerequisites
2005-02-09 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit limits default window size of uim-pref-gtk. Previous
size (screen size * 0.7) is too large for large screen
* helper/pref-gtk.c
- (DEFAULT_WINDOW_WIDTH_MAX, DEFAULT_WINDOW_HEIGHT_MAX): New macro
- (create_pref_window): Limit max size of default window
2005-02-09 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Remove -Wmissing-format-attribute from CXXFLAGS
to prevent compilation error with gcc-2.95.3. Thanks KIHARA
Hideto.
* xim/util.h : Include <stdarg.h> for va_list.
* xim/ximserver.cpp : Include "config.h"
* xim/convdisp.cpp : Ditto.
* xim/ximpacket.cpp (RxPacket_impl::RxPacket_impl): Fix compilation
warning of copy constructor.
2005-02-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* gtk/gtk-im-uim.c (update_prop_list_cb) : Do not send message
unless context is focused.
(update_prop_label_cb) : Ditto.
* xim/ximserver.cpp (InputContext::update_prop_list_cb) : Ditto.
(InputContext::update_prop_label_cb) : Ditto.
* uim/uim-helper-client.s (uim_helper_init_client_fd) : Set
O_NONBLOCK flag after connect() has been succeeded.
2005-02-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper.c (uim_helper_send_message) : Update sleep code.
2005-02-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Fix typo.
2005-02-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper-client.c : Use non blocking IO for helper socket.
* uim/uim-helper-server.c (parse_content) : Don't check
uim_helper_fd_writable().
(proc_func) : Cosmetic change.
(uim_helper_server_process_connection) : Minor cleanup.
* uim/uim-helper.c (uim_helper_send_message) : If getting EAGAIN
error with write(2), retry again after sleeping a while.
2005-02-08 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-cand-win-gtk.c, scm/im-custom.scm:
- Changed eb-enable? -> eb-enable-for-annotation?.
2005-02-08 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-eb.[ch]
- New files to add EB support for annotation. This code is based on
kzk-san's patch.
But it is a very ad-hoc solution. Although it shoud be written in
scheme code, I commit the ad-hoc solution to advance annotation
and sub-window related discussion.
* gtk/uim-cand-win-gtk.c
- (tree_selection_changed): Added EB support.
* gtk/Makefile.am
- Ditto
* scm/im-custom.scm
- Added EB related settings.
* po/ja.po, po/uim.pot
- Updated.
2005-02-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper.c (uim_helper_send_message) : Don't check
uim_helper_fd() and don't exit with SIGPIPE with write(2).
2005-02-08 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/anthy-key-custom.scm
* scm/canna-key-custom.scm
* scm/skk-key-custom.scm
- Replace the messages "commit preedit string as" with "commit as"
to simplify them. Thanks UTUMI Hirosi for your opinion
* scm/im-custom.scm
- (custom candidate-window-position): Replace the word 'caret' with
'cursor'
* po/ja.po
* po/uim.pot
- Update
- Standardize some Japanese words. See header commnt of
ja.po. Thanks No.318 of [Anthy/uim thread 5].
2005-02-08 Takuro Ashie <ashie@homa.ne.jp>
* uim-cand-win-gtk.c:
- (uim_cand_win_gtk_create_sub_window):
Never use horizontal scrollbar.
2005-02-08 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/DOT-UIM
- New file
- Add new section "Precedence of settings"
- Add new section "Special settings that cannot be configured in ~/.uim"
- Add new section "Configuring key bindings"
- Add new section "Overriding lazy-loaded settings"
2005-02-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Show configure result of PRIME.
2005-02-08 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/anthy-key-custom.scm
- Revert all changes of r600. The '[Anthy]' tag is necessary for the
feature "key reference" although it is not implemented yet. Leave
other tags untouched also
2005-02-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/anthy-key-custom.scm:
- Removed tautological "[Anthy]".
2005-02-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac, uim/Makefile.am: Version check of prime is added.
2005-02-07 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (push_back_candidate_to_array) : Do not call
realloc() with a NULL pointer, call malloc() instead.
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-cand-win-gtk.[ch]:
- Added sub window feature for annotation.
- (uim_cand_win_gtk_map): New callback function to sync visibility
between candidates window and sub window.
- (uim_cand_win_gtk_unmap): Ditto.
- (uim_cand_win_gtk_init): Added above callbacks and initialize
sub_window struct.
- (uim_cand_win_gtk_dispose): Clean up sub window.
- (uim_cand_win_gtk_set_candidates): Added sub window handling and
annotation column.
- (uim_cand_win_gtk_create_sub_window): New function for sub window.
- (uim_cand_win_gtk_layout_sub_window): Ditto.
- (tree_selection_change): Renamed from tree_selection_changed.
- (tree_selection_changed): New callback function to handle sub
window.
2005-02-07 kzk <mover@hct.zaq.ne.jp>
* qt/pref-customwidgets.cpp
- (KeyGrabForm::keyPressEvent): add Key_Delete, Key_Insert
- remove unnecessary spaces
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(create_pref_window): Extended initial window size.
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk-custom-widgets.c:
-(key_pref_set_value): Added 'nsert' key.
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim.h:
-(enum UKey): Added new key UKey_Insert.
2005-02-07 kzk <mover@hct.zaq.ne.jp>
* qt/pref-qt.cpp
* qt/pref-qt.h
- add waning of ~/.uim existance.
- (UimPrefDialog::checkDotUimFile): new func
- (QConfirmDialog): reorganized
- delete dialog after it is excuted
* qt/pref-customwidgets.cpp
- delete dialog after it is excuted
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* qt/Makefile.am: Added a new rule to pass 'make releasetest'.
2005-02-07 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-choice-label, custom-choice-desc):
* Fix Siod-dependent invalid predicate. assq does not return ()
but #f. Don't use null? to test #f
* Return val-sym instead of empty string
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-cand-win-gtk.c
- (uim_cand_win_gtk_init): Initialize "position" member.
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* custom.scm: Fixed the bug that uim-pref doesn't work when
the value of environment variable LIBUIM_VERBOSE is higher
than 3.
-(custom-choice-label): Added null? check.
-(custom-choice-desc): Added null? check.
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-cand-win-gtk.h, gtk/uim-cand-win-gtk.c
- (uim_cand_win_gtk_layout):
Added "topwin_width" and "topwin_height" arguments to set window
position according to the user setting.
* gtk/gtk-im-uim.c
- (im_uim_set_cursor_location): Simplified.
- (toplevel_window_candidate_cb): Follow above change.
- (cand_activate_cb): Ditto.
- (cand_select_cb): Ditto.
- (cand_shift_page_cb): Ditto.
2005-02-07 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/pref-gtk.c
- (check_dot_uim_file): Fix a typo of the message and modify some
words
* po/ja.po
* po/uim.pot
- Update
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- (check_dot_uim_file):
New function to check ~/.uim and show warning dialog.
- (main): Check ~/.uim.
* po/ja.po: Updated.
2005-02-07 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-helper.c
- (uim_helper_send_message): Add a comment
2005-02-07 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (string->char): New procedure
- (string->printable-char): Simplify with string->char
2005-02-07 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-helper-server.c
- (parse_content): Remove invalid termination. (ret == 0) does not
mean end of writing
* uim/uim-helper.c
- (uim_helper_send_message):
* Ditto
* Fix logical typo about parens
* Fix pointer for free()
* Add an explanation about wrong assumtion about select(2) and
uim_helper_fd()
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c:
- (choose_olist_clicked_cb): Use proper window title.
- (choose_key_clicked_cb): Ditto.
* po/ja.po
- Updated.
2005-02-07 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/pref-gtk-custom-widgets.c
(uim_pref_gtk_set_default_value) : Minor clean up.
2005-02-07 kzk <mover@hct.zaq.ne.jp>
* qt/Makefile.am
- add -avoid-version to LDFLAGS.
Thanks UTUMI-san!
* qt/toolbar-standalone-qt.cpp
- use PE_DockWindowSeparator for toolbar like KToolbar
2005-02-07 kzk <mover@hct.zaq.ne.jp>
* qt/toolbar-common-uimstateindicator.cpp
- (propListUpdate): handle popup menu correctly.
This is reported by UTUMI-san. Thank you!
2005-02-07 kzk <mover@hct.zaq.ne.jp>
* qt/pref-qt.cpp
- (UimPrefDialog::createMainWidgets())
: more KDE suitable GUI, like konqueror configure dialog
2005-02-07 kzk <mover@hct.zaq.ne.jp>
* qt/pref-customwidgets.cpp
- (CustomSpinBox::update(),
CustomLineEdit::update(),
CustomPathnameEdit::update(),
CustomChoiceCombo::update(),
CustomOrderedListEdit::update(),
CustomKeyEdit::update())
: sync with label
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/ipa.scm: Changed description of input method.
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim-helper-server.c:
-(init_serv_fd): Change owner of socket path.
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c
- (uim_pref_gtk_set_default_value): Do not access to invalid memory.
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* pref-gtk-custom-widgets.c
- (uim_pref_gtk_set_default_value): Fixed a clash bug.
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c
- (choose_key_button_clicked_cb): Translate a message.
- (uim_pref_gtk_set_default_value): Sorry, realloc size was wrong.
2005-02-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/ipa.scm: Replaced 'F' with proper character.Thanks to
Denis Jacquerye <moyogo@gmail.com>
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* uim/uim-custom.c
- (uim_custom_olist_get): Fixed typo.
2005-02-07 Takuro Ashie <ashie@homa.ne.jp>
* qt/pref-qt.cpp:
- Enable sub group feature.
2005-02-07 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-custom.c (uim_custom_olist_get) : Fix to use
custom-value or custom-default-value properly depending on
the context.
(uim_custom_key_get) : Ditto.
2005-02-06 Takuro Ashie <ashie@homa.ne.jp>
* po/ja.po, helper/pref-gtk-custom-widgets.c:
- Fixed some messages.
2005-02-06 Takuro Ashie <ashie@homa.ne.jp>
* helper/Makefile.am
- Rename uim-dict to uim-dict-gtk.
2005-02-06 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper-server.c (parse_content) : Retry sending message
if write(2) fails with EAGAIN and EINTR. If return value of
write(2) is less than requested length, retry with remaining
buffer.
* uim/uim-helper.c (uim_helper_send_message) : Ditto.
2005-02-06 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Fix have_x test for xim test, and show status
whether to compile uim-xim.
2005-02-06 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c:
- (sync_value_int): Also set sensitivity of label.
- (sync_value_string): Ditto.
- (sync_value_choice): Ditto.
2005-02-06 YamaKen <yamaken@bp.iij4u.or.jp>
* po/ja.po
* po/uim.pot
- Update
2005-02-06 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im-custom.scm
- (custom-group im-deployment, custom-group visual-preference): New
subgroup
- (custom custom-activate-default-im-name?, custom
custom-preserved-default-im-name, custom enabled-im-list): Replace
the subgroup with im-deployment. Yes, this makes the relationship
between the two default-im-name custom variables. But this
subgrouping is better as visual recognition
- (custom uim-color, custom candidate-window-position): Add subgroup
visual-preference
2005-02-06 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (define-custom): Fix implicit 'main' subgroup handlings
- (custom-group main): Replace empty label with dummy string to
avoid invalid gettext translation
* helper/pref-gtk.c
- (USE_SUB_GROUP): Define as 1
- (create_sub_group_widgets): Removing frame for 'main' subgroup. If
you feel it strange, Replace it as you favor
2005-02-06 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-collect-by-group): Support 'AND' expression with backward
compatibility
* helper/pref-gtk.c
- (create_sub_group_widgets): Use the AND expression to collect
custom variables of subgroups (as quick hack)
* uim/uim-custom.h
- (uim_custom_collect_by_groups): New function as placeholder
2005-02-06 kzk <mover@hct.zaq.ne.jp>
* qt/pref-qt.cpp
- setCaption
* qt/pref-customwidgets.cpp
- handle key symbol properly
2005-02-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* xim/Makefile.am: Use new flag XIM. If XIM not defined, uim-xim
doesn't built.
2005-02-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac:
(XIM): New flag to disable X.
2005-02-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Disable Qt related features if Qt not found.
2005-02-06 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/Makefile.am
- clean installed-modules.scm and loader.scm
2005-02-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac:
-(with_qt): Renamed from enable_qt.
-(with_qtimmodule: Renamed from enable_qtimmodule.
- Fixed a typo. Thanks to Konosuke Watanabe for reporting.
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- (create_sub_group_widgets):
Renamed from create_sub_group_widget.
Skip empty sub group.
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- Sub group feature has been implemented, but still be commented out
because of some reason. To debug it, please define USE_SUB_GROUP
as 1.
- (create_sub_group_widget): New function.
- (create_group_widget): Use above function.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* Makefile.am:
-(releasetest-all-flag-enabled): Added --with-qt-immodule option.
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c
- (update_custom_type_olist_cb): New function.
- (add_custom_type_orderedlist):
Set callback for custom type ordered list.
- (update_custom_type_key_cb): Simplified.
- (sync_value_olist): Rename from olit_pref_entry_set_value.
- (sync_value_key): Rename from key_pref_entry_set_value.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* qt/Makefile.am: Hacks to pass 'make releasetest'
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Fixed a typo. -r545 and this commit is reported by
Konosuke Watanabe. Thanks!
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Fixed typos.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* qt/Makefile.am: Added suffix rules. .ui -> .h and .h -> .moc
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* toolbar-systray-gtk.c: set locale.
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* qt/bushu.t: Moved from previous revision.
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* qt/immodule-plugin.cpp
- register only "uim" as plugin (exclude "uim-anthy", "uim-prime", etc.)
* qt/pref-customwidgtes.h
- forgot to commit...
2005-02-05 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im.scm
- (register-im): Fix invalid rejection of registering direct
IM. Thank you Kazuki Ohta for reporting and cooperation.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Replace AC_ARG_ENABLE with AC_ARG_WITH. Switch depends
on external software package should use AC_ARG_WITH.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c: include "uim/uim-compat-scm.h" to pass
'make distcheck'.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/Makefile.am:
-(installed-modules.scm,loader.scm): PWD must not be used to pass 'make distcheck'.
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* qt/pref-customwidgets.cpp
- (KeyGrabForm): filter all key event of child widgets.
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* scm/prime-key-custom.scm
- remove unnecessary ")"
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk-custom-widgets.c
- fix typo( Faild -> Failed )
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c:
- (uim_pref_gtk_set_default_value): free custom.
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* delete old UimQt and uim-kdehelper.
Now, Qt merge is done!
* qt/quiminputcontextplugin
* qt/uim-kdehelper
- deleted
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* Merge uim-chardict-qt from uim-kdehelper.
* qt/chardict-kseparator.h
* qt/chardict-chargridview.h
* qt/chardict-qt.cpp
* qt/chardict-bushuviewwidget.cpp
* qt/chardict-unicodeviewwidget.cpp
* qt/chardict-kseparator.cpp
* qt/chardict-chargridview.cpp
* qt/chardict-qt.h
* qt/chardict-bushuviewwidget.h
* qt/chardict-unicodeviewwidget.h
- new files
* qt/Makefile.am
- add uim-chardict-qt
2005-02-05 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximic.cpp (extra_input) : Revise previous fix. Now
"commit_string" from uim helper should works with all XIM
clients.
2005-02-05 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximic.cpp (extra_input) : Fix to force send key event.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Release 0.4.6alpha1.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* Makefile.am:
-(EXTRA_DIST): Added ChangeLog.old, uim.desktop
2005-02-05 kzk <mover@hct.zaq.ne.jp>
* qt/candiw-qt.cpp
- (CandidateWindow::CandidateWindow): use QApplication::exit instead of exit
* qt/pref-qt.cpp
- (UimPrefDialog::UimPrefDialog): use QApplication::exit instead of exit
* qt/pref-customwidgets.cpp
- (CustomOrderedLitEdit::updateText): quote each item of list and put space
after separator(comma) to make easy to recognize.
- (CustomKeyEdit::updateText): Ditto
- layout enhancement
* qt/qtgettext.h
- add copyright
* qt/switcher-qt.cpp
- eye candy enchancement
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* Makefile.am: rewrited releasetest rule.
2005-02-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim.desktop: Changed execution file name for temporary solution.
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.c
- (sync_value_int): bug fix.
2005-02-05 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c, helper/pref-gtk-custom-widgets.[ch]:
- (uim_pref_gtk_set_default_value):
New function to add "Set to default" feature.
- (set_to_default_cb): Ditto.
- (defaults_button_clicked): Ditto.
- (create_setting_button_box): Added default button.
- (custom_spin_button_value_changed):
Rename from custom_adjustment_value_changed to connect signal to
spin button instead of adjustment.
- (sync_value_int): Connect signal to spin button instead of adjustment.
- (update_custom_type_int_cb): Ditto.
- (add_custom_type_integer): Ditto.
2005-02-04 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/pref-gtk-custom-widgets.c (key_pref_win) : Remove widget
for modifier buttons.
(key_pref_set_value) : Set modifier name here.
(key_pref_add_button_clicked_cb) : Remove modifier key handling.
(choose_key_clicked_cb) : Hack to use gtk_im_context_simple for
text entry.
2005-02-04 TOKUNAGA Hiroyuki <tkng@xem.jp>
* gtk/gtk-im-uim.c:
-(filter_keypress): focused_context shouldn't be used in this function.
2005-02-04 TOKUNAGA Hiroyuki <tkng@xem.jp>
* gtk/gtk-im-uim.c:
-(filter_keypress): Call uim_press/release_key if snooper is not installed.
2005-02-04 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk-custom-widgets.[ch]:
- Divide from pref-gtk.c
- (grab_win_key_press_cb): Return TRUE to solve #Bug 2409.
* helper/pref-gtk.c
- Move widgets for each custom types to pref-gtk-custom-widgets.c.
2005-02-04 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- (sync_value_bool): New function to unify synchronizing view.
- (sync_value_int): Ditto.
- (sync_value_string): Ditto.
- (sync_value_choice): Ditto.
- (update_custom_type_int_cb): Ditto
- (update_custom_type_bool_cb): Use above function.
- (add_custom_type_bool): Ditto
- (update_custom_type_int_cb) Ditto
- (add_custom_type_integer): Ditto
- (update_custom_type_string_cb): Ditto
- (add_custom_type_string_cb): Ditto
- (update_custom_type_choice_cb): Ditto
- (add_custom_type_choice_cb): Ditto
--Tthi/e line, and those below, will be ignored--
M po/ja.po
M helper/pref-gtk.c
M helper/input-pad-ja.c
2005-02-04 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- Get uim_custom via uim_custom_get() each time when we acces to
custom value, do not hold it.
- (add_custom_type_bool): Put check box before label.
2005-02-04 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* doc/XIM-SERVER : Update description.
2005-02-04 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/xim.h : Add const qualifiers to appropriate 'char *'
pointers.
* xim/compose.cpp : Ditto.
* xim/ximtrans.cpp : Ditto.
* xim/ximpacket.cpp : Ditto.
* xim/canddisp.cpp : Ditto.
* xim/main.cpp : Ditto. Fix some warnings of printf().
(main) : Remove redundant code for "uim-%s" style server name.
* xim/ximserver.cpp (print_ustring) : Fix warning of printf().
(XimServer::setupConnection) : Remove redundant code for "uim-%s"
style server name.
2005-02-04 YamaKen <yamaken@bp.iij4u.or.jp>
* tools
- New directory
* tools/uim-trace.sh
* tools/uim-trace.gdb
- New file. Simple siod invocation tracer for debugging
2005-02-04 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/plugin.c
- (plugin_load):
* Fix invalid list iterations
* Simplify string handling
* scm/lazy-load.scm
- (stub-im-generate-init-handler): Support absense of stub-im
* test/test-im.scm
- (test custom-im-list-as-choice-rec): Follow recent change of
messages
* test/test-lazy-load.scm
- (test stub-im-generate-stub-im-list): Ditto
2005-02-04 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/tcode.scm
* scm/tutcode.scm
* scm/direct.scm
- Modify short-desc of the IM
* scm/skk-custom.scm
- (skk-im-short-desc): Modify
* scm/anthy-custom.scm
- (anthy-im-short-desc): Modify
* scm/canna-custom.scm
- (canna-im-short-desc): Modify
* scm/generic-key-custom.scm
- (custom-group global-keys): Rename to global-keys1
- (custom-group global-keys1): Renamed from global-keys
- (custom-group global-keys-advanced): Rename to global-keys2
- (custom-group global-keys2): Renamed from global-keys-advanced
- Follow the renaming in all custom variable definitions
* scm/prime-key-custom.scm
- (custom-group prime-keys): Rename to prime-keys1
- (custom-group prime-keys1): Renamed from prime-keys
- (custom-group prime-keys-advanced1): Rename to prime-keys2
- (custom-group prime-keys2): Renamed from prime-keys-advanced1
- (custom-group prime-keys-advanced2): Rename to prime-keys3
- (custom-group prime-keys3): Renamed from prime-keys-advanced2
- Follow the renaming in all custom variable definitions
* scm/anthy-key-custom.scm
- (custom-group anthy-keys): Rename to anthy-keys1
- (custom-group anthy-keys1): Renamed from anthy-keys
- (custom-group anthy-keys-advanced1): Rename to anthy-keys2
- (custom-group anthy-keys2): Renamed from anthy-keys-advanced1
- (custom-group anthy-keys-advanced2): Rename to anthy-keys3
- (custom-group anthy-keys3): Renamed from anthy-keys-advanced2
- Follow the renaming in all custom variable definitions
* scm/canna-key-custom.scm
- (custom-group canna-keys): Rename to canna-keys1
- (custom-group canna-keys1): Renamed from canna-keys
- (custom-group canna-keys-advanced1): Rename to canna-keys2
- (custom-group canna-keys2): Renamed from canna-keys-advanced1
- (custom-group canna-keys-advanced2): Rename to canna-keys3
- (custom-group canna-keys3): Renamed from canna-keys-advanced2
- Follow the renaming in all custom variable definitions
* scm/skk-key-custom.scm
- (custom-group skk-keys): Rename to skk-keys1
- (custom-group skk-keys1): Renamed from skk-keys
- (custom-group skk-keys-advanced1): Rename to skk-keys2
- (custom-group skk-keys2): Renamed from skk-keys-advanced1
- (custom-group skk-keys-advanced2): Rename to skk-keys3
- (custom-group skk-keys3): Renamed from skk-keys-advanced2
- Follow the renaming in all custom variable definitions
* po/ja.po
* po/uim.pot
- Update
2005-02-04 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/lazy-load.scm
- (stub-im-generate-init-handler): Fix the broken error check
added by previous commit
2005-02-04 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im-custom.scm
- (custom-installed-im-list): Avoid infinite loop while reloading
all modules
* scm/lazy-load.scm
- (stub-im-generate-init-handler): Add error check for possible stub
IM actualization failure
* uim/plugin.c
- (plugin_load): Add error check for scm file loading
* uim/uim.c
- (uim_create_context): Add error check whether uim_init() had been
called
2005-02-04 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- (olist_pref_entry_set_value): Quote each item of list and put space
after separator(comma) to make easy to recognize. Although I don't
think that it is the best way, I think it is better than before.
- (key_pref_entry_set_value): Same with above.
2005-02-04 kzk <mover@hct.zaq.ne.jp>
* po/ja.po
* po/POTFILES.in
* po/uim.pot
- add translations for qt applications
2005-02-04 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-set-value!): Fix excessive update-hook invocation
* test/test-lazy-load.scm
- (test stub-im-generate-stub-im-list, test
stub-im-generate-all-stub-im-list): Follow recent specification
change
* test/test-im.scm
- (test custom-im-list-as-choice-rec): Follow recent message
modification
* doc/UIM-SCM
- Trivial fix
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* qt/pref-qt.cpp
- disable subgrouping feature because it makes pref unstable
and cause crash in uncertain reason.
* qt/pref-customwidgets.cpp
- (update): set the contents before calling
setEnabled( custom->is_active ) to show the contents when
it is inactive at startup time.
* qt/qtgettext.h
- (N_): convert from UTF-8
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/00INDEX
- Add UIM-SCM
* doc/UIM-SCM
- New file
- Add new section "Abstract"
- Add new section "Protecting lisp objects from GC"
- Add new section "Internal"
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* po/ja.po
* po/uim.pot
- Update
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds key-binding custom definitions for PRIME
* scm/prime.scm
- require-custom "prime-key-custom.scm"
- (prime-latin-key?, prime-wide-latin-key?, prime-begin-conv-key?,
prime-on-key?, prime-commit-key?, prime-next-candidate-key?,
prime-prev-candidate-key?, prime-next-page-key?,
prime-prev-page-key?, prime-cancel-key?, prime-backspace-key?,
prime-delete-key?, prime-go-left-key?, prime-go-right-key?,
prime-go-left-edge-key?, prime-go-right-edge-key?,
prime-register-key?, prime-typing-mode-hiragana-key?,
prime-typing-mode-katakana-key?, prime-typing-mode-hankana-key?,
prime-typing-mode-wideascii-key?, prime-typing-mode-ascii-key?):
Move to prime-key-custom.scm as custom variable
* scm/prime-key-custom.scm
- New file
- (custom-group prime-keys, custom-group prime-keys-advanced1,
custom-group prime-keys-advanced2, custom-group
prime-keys-completion): New custom group
- (custom prime-latin-key, custom prime-wide-latin-key, custom
prime-begin-conv-key, custom prime-on-key, custom
prime-commit-key, custom prime-next-candidate-key, custom
prime-prev-candidate-key, custom prime-next-page-key, custom
prime-prev-page-key, custom prime-cancel-key, custom
prime-backspace-key, custom prime-delete-key, custom
prime-go-left-key, custom prime-go-right-key, custom
prime-go-left-edge-key, custom prime-go-right-edge-key, custom
prime-register-key, custom prime-typing-mode-hiragana-key, custom
prime-typing-mode-katakana-key, custom
prime-typing-mode-hankana-key, custom
prime-typing-mode-wideascii-key, custom
prime-typing-mode-ascii-key): New custom variable
* scm/skk-key-custom.scm
- Cosmetic change
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit performs again adaptation of key-str representation for
uim-pref. See [Anthy-dev 1718] for further information.
* helper/pref-gtk.c
- (key_pref_set_value):
* Ignore Shift modifier for printable char keys for
easy-to-recognize key configuration. uim-custom performs
implicit shift key encoding/decoding appropriately.
* Remove g_ascii_tolower() in accordance with the specification
change of key representation on uim-pref
* scm/custom.scm
- (key-list-encode-shift): Add support for non-letter printable char
- (key-list-ignore-regular-shift): Fix for non-letter chars
- (key-list-ignore-letter-shift,
key-list-ignore-punct-numeric-shift, key-list-strip-shift,
key-list-strip-regular-shift): New procedure
- (key-list-export-as-basic, key-list-import-as-basic): Replace the
filter in accordance with the specification change
* scm/util.scm
- (string->printable-char): New procedure
- (string->letter): Simplify with string->printable-char
* scm/skk-key-custom.scm
- (custom skk-special-midashi-key): Replace <Shift> with
<IgnoreShift> to fit to the specification change
* uim/uim-custom.c
- (literalize_string): New procedure
- (extract_key_literal, uim_custom_save_group, uim_custom_set): Fix
broken string escaping
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* po/ja.po
* po/uim.pot
- Update
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* qt/candwin-qt.cpp
* qt/uim-kdehelper/src/candwin/uim-candwin-qt.cpp
* qt/toolbar-standalone-qt.cpp
* qt/candwin-qt.h
* fep/uim-fep.c
* fep/callbacks.c
* fep/uim-fep-tick.c
* fep/draw.c
* po/ja.po
* po/uim.pot
* helper/toolbar-applet-gnome.c
* helper/im-switcher-gtk.c
* helper/helper-candwin-gtk.c
* helper/input-pad-ja.c
* test/test-im.scm
* test/test-action.scm
* scm/uim-sh.scm
* scm/m17nlib.scm
* scm/action.scm
* scm/latin.scm
* scm/key.scm
* scm/load-action.scm
* uim/uim.h
* uim/uim-sh.c
* uim/prime.c
* uim/uim-helper-client.c
* uim/uim-helper.c
* uim/uim-helper-server.c
* uim/uim-table.c
* uim/uim-key.c
* uim/uim-func.c
* examples/uim-custom/uim-custom-update.c
* examples/uim-custom/uim-custom-dump.c
* examples/uim-custom/uim-custom-variable.c
- Update copyright by following script
svn diff -r90 >tmp.diff; egrep '^Index: ' tmp.diff | perl -pe 's/^Index: //' | xargs grep 'Copyright.*uim Project' 2>/dev/null | egrep -v 2005 | perl -pe 's/:.+//' | xargs perl -i -pe 's/^([^"]+Copyright.*) (200[0-4])[^ ]* /\1 \2-2005 /'
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* qt/pref-qt.h
* qt/pref-qt.cpp
- simplify the code for default QVGroupBox handling
- addCustomTypeKey is broken in some readon.
I don't know why... So, commented out.
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit moves unexported static declarations of siod.h to slib.c
* uim/siod.h
- (siod_init, siod_quit, set_repl_hooks, get_c_string,
get_c_string_dim, get_c_int, nlength, get_c_pointer,
get_c_func_pointer, cons, car, cdr, setcar, intcons, eql, symcons,
symbol_boundp, symbol_value, symbol_to_string, rintern, closure,
ptrcons, funcptrcons, init_subr, init_subr_0, init_subr_1,
init_subr_2, init_subr_2n, init_subr_3, init_subr_4, init_subr_5,
init_lsubr, init_fsubr, init_msubr, delq, set_eval_hooks, leval,
symbolconc, lprin1f, lread, lreadtk, lreadf, require, strcons,
equal, set_fatal_exit_hook, intern, gc_protect,
siod_gc_protect_stack, siod_gc_unprotect_stack,
siod_repl_c_string_entered, repl_c_string, siod_return_value,
reverse, nreverse, cadr, caar, cdar, cddr, siod_true_value,
siod_false_value, lapply, listn, must_malloc, get_c_file,
last_c_errmsg, llast_c_errmsg, siod_c_provide, funcall1, funcall2,
siod_set_lib_path): Move to slib.c
* uim/slib.c
- (siod_init, siod_quit, set_repl_hooks, get_c_string,
get_c_string_dim, get_c_int, nlength, get_c_pointer,
get_c_func_pointer, cons, car, cdr, setcar, intcons, eql, symcons,
symbol_boundp, symbol_value, symbol_to_string, rintern, closure,
ptrcons, funcptrcons, init_subr, init_subr_0, init_subr_1,
init_subr_2, init_subr_2n, init_subr_3, init_subr_4, init_subr_5,
init_lsubr, init_fsubr, init_msubr, delq, set_eval_hooks, leval,
symbolconc, lprin1f, lread, lreadtk, lreadf, require, strcons,
equal, set_fatal_exit_hook, intern, gc_protect,
siod_gc_protect_stack, siod_gc_unprotect_stack,
siod_repl_c_string_entered, repl_c_string, siod_return_value,
reverse, nreverse, cadr, caar, cdar, cddr, siod_true_value,
siod_false_value, lapply, listn, must_malloc, get_c_file,
last_c_errmsg, llast_c_errmsg, siod_c_provide, funcall1, funcall2,
siod_set_lib_path): Moved from siod.h
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im-custom.scm
- (custom enable-lazy-loading?): Move to bottom of the group
- (custom enable-im-switch, custom switch-im-key): Remove 'advanced'
subgroup
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* Makefile.am
- forgot to change CXXFLAG for qedittest
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* configure.ac
- more valid check for $QTINCDIR
- more valid check for $QTLIBDIR
- rename QT_CFLAGS to QT_CXXFLAGS
- rename UIM_QT_CFLAGS to UIM_QT_CXXFLAGS
* qt/Makefile.am
- use QT_CXXFLAGS instead of CXXFLAGS
- use QT_LDFLAGS instead of LDFLAGS
- add QT_CXXFLAGS and QT_LDFLAGS to each module
* These problems are suggested by tkng-san. Thank you!
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/pref-gtk.c
- (apply_button_clicked): Remove miscommitted code fragment that has
been removed by r489
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-set-value!): Replace O(n^2) hook handling with O(n). This
change has been resolved the long startup time of custom.scm and
'apply' operation time reported in r485.
* helper/pref-gtk.c
- (apply_button_clicked):
* Remove the debug messages and the comment
* The 'apply' operation problem was caused by custom-set-value!
invoked by receiving prop_custom_update message by uim-pref
itself. So this modification has also resolved the 'apply'
problem. But I found another problem. uim_custom_broadcast sends
156 prop_custom_update messages, but uim_pref receives only
33-35 messages. It's not resolved. It seems to
uim_helper_send_message() and uim_helper_get_message() is
performing broken write(2) and read(2) handlings
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* pref-gtk.c
- In accordance with yamaken's suggest at r485, I investigated the code.
I think there's no need to have OBJECT_DATA_VALUE_CHANGED attribute
widgets by widgets, because modification is managed by the value
"value_changed". So, the code around OBJECT_DATA_VALUE_CHANGED is no
need, I think.
Please check, Ashie-san.
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* configure.ac
- add warning flags for more strict compilation
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* pixmaps/Makefile.am
- add configure-qt.png
* pixmaps/configure-qt.png
- pixmap for uim-pref-qt, which is used by toolbar
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* uim-toolbar-qt reorganization.
Rightclicking, custom, size handling is implemented.
* qt/toolbar-standalone-qt.h
* qt/toolbar-standalone-qt.cpp
- (class UimStandaloneToolbar): new class
* qt/toolbar-common-uimstateindicator.h
* qt/toolbar-common-uimstateindicator.cpp
- (class QHelperToolbarButton): new class for handling size
* qt/toolbar-common-quimhelpertoolbar.h
* qt/toolbar-common-quimhelpertoolbar.cpp
- (slotExecPref): new func
- (quitToolbar): new signal
- (contextMenuEvent): new func
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/pref-gtk.c
- (apply_button_clicked):
* Add debug messages. Remove it once the problem has been resolved
* Add the comment about the performance of 'apply' operation. The
gtk_tree_model_foreach() code fragment is very slow. It takes
approximately 8 second in my environment. And it seems to be
increasing by number of custom variables exponentially. Can it
be reduced?
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit renames the file 'stub-ims.scm' with 'loader.scm'. Sorry
for frequent renaming of the file...
* scm/plugin.scm
- (load-enabled-modules): Replace "stub-ims.scm" with "loader.scm"
* scm/manage-modules.scm
- (generate-stub-ims-scm): Rename to generate-loader-scm
- (generate-loader-scm): Renamed from generate-stub-ims-scm
* scm/Makefile.am
- Replace stub-ims.scm with loader.scm
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* Handle encoding of gettext string properly.
Specify encoding by bind_textdomain_codeset, and _(
macro is replaced in qtgettext.h
* qt/candwin-qt.cpp
* qt/pref-qt.cpp
* qt/pref-customwidgets.cpp
* qt/switcher-qt.cpp
* qt/toolbar-standalone-qt.cpp
* qt/toolbar-common-quimhelpertoolbar.cpp
- include "qtgettext.h" instead of "uim/gettext.h"
- call bind_textdomain_codeset
* qt/qtgettext.h
- new file
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* add "qedittest" for testing to input Qt application
* Makefile.am
- add rules for qedittest
* qedittest.cpp
- new file
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* helper/Makefile.am
- rename uim-im-switcher-gtk from uim-im-switcher
* helper/toolbar-common-gtk.c
* helper/toolbar-applet-gnome.c
- exec uim-im-switcher-gtk instead of uim-im-switcher
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* configure.ac
- add Qt's plugin dir detect support
* Makefile.am
- add qt to SUBDIRS
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* merge UimQt to uim core
* qt/immodule-quiminputcontext_with_slave.cpp
* qt/immodule-subwindow.h
* qt/immodule-plugin.cpp
* qt/immodule-qhelpermanager.h
* qt/immodule-quiminputcontext.h
* qt/immodule-candidatewindow.h
* qt/immodule-subwindow.cpp
* qt/immodule-quiminputcontext_with_slave.h
* qt/immodule-qhelpermanager.cpp
* qt/immodule-quiminputcontext.cpp
* qt/immodule-candidatewindow.cpp
- copied from quiminputcontext/src directory
* qt/Makefile.am
- add rules for immodule
2005-02-03 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-rt.scm
- (define-custom): Fix broken define-key invocation. Thanks Etsushi
Kato for reporting
2005-02-03 kzk <mover@hct.zaq.ne.jp>
* configure.ac
- add --enable-qt-immodule configure option
* qt/Makefile.am
- add CXXFLAGS to -DQT_IMMODULE when qt-immodule is enabled
* qt/pref-customwidgets.cpp
- Key_Kanji, Key_Zenkaku_Hankaku, Key_Multi_key,
Key_Mode_switch, and Key_Muhenkan are add in qt-immodule
patch.
2005-02-02 kzk <mover@hct.zaq.ne.jp>
* qt/Makefile.am
- modify the rule for uic( user interface compiler )
Thank you for reporting, tkng-san!
2005-02-02 kzk <mover@hct.zaq.ne.jp>
* configure.ac
- guess $QTDIR and $QTINCDIR more properly
Thank you for reportin, tkng-san!
2005-02-02 Takuro Ashie <ashie@homa.ne.jp>
* helper/toolbar-systray-gtk.c:
(main): create tray icon.
2005-02-02 kzk <mover@hct.zaq.ne.jp>
* Internationalize by using uim's gettext system
* qt/candwin-qt.cpp
* qt/toolbar-standalone-qt.cpp
* qt/switcher-qt.cpp
* qt/pref-qt.cpp
* qt/pref-qt.h
* qt/toolbar-common-quimhelpertoolbar.cpp
* qt/Makefile.am
* qt/pref-customwidgets.cpp
- internationalize
2005-02-02 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (string-escape): New procedure
* scm/custom.scm
- (custom-list-as-literal, custom-value-as-literal): Fix broken
string escapeing
2005-02-02 kzk <mover@hct.zaq.ne.jp>
* Now is the time to merge uim-kdehelper to uim core!!
This commit copies "pref", "candwin", "toolbar", "switcher"
to uim core.
* qt/pref-customwidgets.h
* qt/pref-keyeditformbase.ui
* qt/pref-olisteditformbase.ui
* qt/candwin-qt.cpp
* qt/pref-kseparator.cpp
* qt/candwin-qt.h
* qt/pref-kseparator.h
* qt/switcher-qt.cpp
* qt/toolbar-standalone-qt.cpp
* qt/pref-qt.cpp
* qt/toolbar-common-uimstateindicator.cpp
* qt/switcher-qt.h
* qt/toolbar-standalone-qt.h
* qt/pref-qt.h
* qt/toolbar-common-uimstateindicator.h
* qt/toolbar-common-quimhelpertoolbar.cpp
* qt/pref-keygrabformbase.ui
* qt/Makefile.am
* qt/toolbar-common-quimhelpertoolbar.h
* qt/pref-customwidgets.cpp
- new files copied from uim-kdehelper
2005-02-02 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds key-binding custom definitions for CANNA
* scm/canna.scm
- require-custom "canna-key-custom.scm"
- (canna-off-key?): Removed since obsolete
- (canna-on-key?, canna-latin-key?, canna-wide-latin-key?,
canna-hankaku-kana-key?, canna-kana-toggle-key?,
canna-commit-as-opposite-kana-key?, canna-begin-conv-key?,
canna-commit-key?, canna-extend-segment-key?,
canna-shrink-segment-key?, canna-next-candidate-key?,
canna-prev-candidate-key?, canna-cancel-key?,
canna-backspace-key?, canna-delete-key?, canna-go-left-key?,
canna-go-right-key?, canna-beginning-of-preedit-key?,
canna-end-of-preedit-key?, canna-next-segment-key?,
canna-prev-segment-key?): Move to canna-key-custom.scm as custom
variable
- (canna-next-page-key?, canna-prev-page-key?, canna-kill-key?,
canna-kill-backward-key?):Move to canna-key-custom.scm as custom
variable as comment
* scm/canna-key-custom.scm
- New file
- (custom-group canna-keys, custom-group canna-keys-advanced1,
custom-group canna-keys-advanced2): New custom group
- (custom canna-next-segment-key, custom canna-prev-segment-key,
custom canna-extend-segment-key, custom canna-shrink-segment-key,
custom canna-commit-as-opposite-kana-key, custom
canna-wide-latin-key, custom canna-hankaku-kana-key, custom
canna-kana-toggle-key, custom canna-on-key, custom
canna-latin-key, custom canna-begin-conv-key, custom
canna-commit-key, custom canna-cancel-key, custom
canna-next-candidate-key, custom canna-prev-candidate-key, custom
canna-beginning-of-preedit-key, custom canna-end-of-preedit-key,
custom canna-backspace-key, custom canna-delete-key, custom
canna-go-left-key, custom canna-go-right-key): New custom variable
- (custom canna-next-page-key, custom canna-prev-page-key, custom
canna-kill-key, custom canna-kill-backward-key): New custom
variable as comment for future use
* scm/prime-key-custom.scm
- New file. Just a placeholder at now
* scm/Makefile.am
- (SCM_FILES): Add canna-key-custom.scm and prime-key-custom.scm
* po/POTFILES.in
- Add scm/canna-key-custom.scm and scm/prime-key-custom.scm
2005-02-02 kzk <mover@hct.zaq.ne.jp>
* configure.ac
- add configure option --enable-debug
2005-02-02 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds key-binding custom definitions for SKK
* scm/im-custom.scm
- (custom-group mode-transition): New custom group
* scm/skk.scm
- require-custom "skk-key-custom.scm"
- (skk-latin-key?, skk-wide-latin-key?, skk-begin-conv-key?,
skk-begin-completion-key?, skk-next-completion-key?,
skk-prev-completion-key?, skk-on-key?, skk-hankaku-kana-key?,
skk-return-key?, skk-commit-key?, skk-next-candidate-key?,
skk-prev-candidate-key?, skk-next-page-key?, skk-prev-page-key?,
skk-kana-toggle-key?, skk-cancel-key?, skk-backspace-key?,
skk-go-left-key?, skk-go-right-key?, skk-latin-conv-key?,
skk-kanji-mode-key?, skk-special-midashi-key?,
skk-conv-wide-latin-key?, skk-vi-escape-key?,
skk-state-direct-no-preedit-nop-key?): Move to skk-key-custom.scm
as custom variable
- (skk-plain-space-key?): Move to skk-key-custom.scm as define-key
- (skk-auto-start-henkan-keyword-list): Add a comment
* scm/skk-key-custom.scm
- New file
- (custom-group skk-keys, custom-group skk-keys-advanced1,
custom-group skk-keys-advanced2, custom-group
skk-keys-completion): New custom group
- (skk-plain-space-key?): Moved from skk.scm
- (custom skk-on-key, custom skk-latin-key, custom
skk-wide-latin-key, custom skk-kanji-mode-key, custom
skk-hankaku-kana-key, custom skk-kana-toggle-key, custom
skk-begin-conv-key, custom skk-commit-key, custom skk-cancel-key,
custom skk-return-key, custom skk-conv-wide-latin-key, custom
skk-latin-conv-key, custom skk-begin-completion-key, custom
skk-next-completion-key, custom skk-prev-completion-key, custom
skk-special-midashi-key, custom skk-vi-escape-key, custom
skk-state-direct-no-preedit-nop-key, custom
skk-next-candidate-key, custom skk-prev-candidate-key, custom
skk-next-page-key, custom skk-prev-page-key, custom
skk-backspace-key, custom skk-go-left-key, custom
skk-go-right-key): New custom variable
* scm/Makefile.am
- (SCM_FILES): Add skk-key-custom.scm
* po/POTFILES.in
- Add scm/skk-key-custom.scm
2005-02-02 YamaKen <yamaken@bp.iij4u.or.jp>
* More custom group division and reorganization
* scm/im-custom.scm
- (custom-group annotation, custom-group dictionary, custom-group
segment-sep, custom-group special-op): New custom group
- (switch-im-key?): Add as null key definition
* scm/skk-custom.scm
- (custom-group skk-advanced): New custom group
- Reorganize group of custom variables and reorder. No other
attributes are modified
* scm/anthy-custom.scm
* scm/canna-custom.scm
- Ditto
2005-02-02 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac, Makefile.am, data/
- Removed data/ directory.
2005-02-02 kzk <mover@hct.zaq.ne.jp>
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- (GroupPageWidget::setupWidgets): Hide the "main" subgroup's
QVGroupBox when it has no contents.
But this commit seems very adhoc to me... "main" subgroup should
have its contents.
- (UimPrefDialog::createGroupWidgets): add sanity check
* uim-kdehelper/src/pref/uim-pref-qt.h
- (SubgroupData::getMainSubgroupGroupVBox): new func
- (SubgroupData::searchGroupVBoxByCustomSym): constize
* uim-kdehelper/src/pref/customwidgets.cpp
- add sanity check
2005-02-02 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/prime.scm;
-(prime-context-new): Call prime-context-set-widgets!
2005-02-02 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds key-binding custom definitions for Anthy, and
divide the global key-binding group into two groups
* scm/anthy.scm
- require-custom "anthy-key-custom.scm"
- (anthy-on-key?, anthy-latin-key?, anthy-wide-latin-key?,
anthy-hankaku-kana-key?, anthy-kana-toggle-key?,
anthy-commit-key?, anthy-commit-as-opposite-kana-key?,
anthy-commit-as-katakana-key? "F7"), anthy-commit-as-hankana-key?
"F8"), anthy-commit-as-wide-latin-key? "F9"),
anthy-commit-as-latin-key? "F10"), anthy-begin-conv-key?,
anthy-extend-segment-key?, anthy-shrink-segment-key?,
anthy-next-candidate-key?, anthy-prev-candidate-key?,
anthy-next-page-key?, anthy-prev-page-key?, anthy-cancel-key?,
anthy-backspace-key?, anthy-delete-key?, anthy-kill-key?,
anthy-kill-backward-key?, anthy-go-left-key?, anthy-go-right-key?,
anthy-beginning-of-preedit-key?, anthy-end-of-preedit-key?,
anthy-next-segment-key?, anthy-prev-segment-key?): Move to
anthy-key-custom.scm as custom variable
* scm/anthy-key-custom.scm
- New file
- (custom-group anthy-keys, custom-group anthy-keys-advanced1,
custom-group anthy-keys-advanced2): New custom group
- (custom anthy-next-segment-key, custom anthy-prev-segment-key,
custom anthy-extend-segment-key, custom anthy-shrink-segment-key,
custom anthy-commit-as-latin-key, custom
anthy-commit-as-wide-latin-key, custom
anthy-commit-as-katakana-key, custom anthy-commit-as-hankana-key,
custom anthy-commit-as-opposite-kana-key, custom
anthy-wide-latin-key, custom anthy-hankaku-kana-key, custom
anthy-kana-toggle-key, custom anthy-on-key, custom
anthy-latin-key, custom anthy-begin-conv-key, custom
anthy-commit-key, custom anthy-cancel-key, custom
anthy-next-candidate-key, custom anthy-prev-candidate-key, custom
anthy-next-page-key, custom anthy-prev-page-key, custom
anthy-beginning-of-preedit-key, custom anthy-end-of-preedit-key,
custom anthy-kill-key, custom anthy-kill-backward-key, custom
anthy-backspace-key, custom anthy-delete-key, custom
anthy-go-left-key, custom anthy-go-right-key): New custom variable
* scm/Makefile.am
- (SCM_FILES): Add anthy-key-custom.scm
* po/POTFILES.in
- Add scm/anthy-key-custom.scm
* scm/generic-key-custom.scm
- (custom-group global-keys-advanced): New custom group
- (custom generic-beginning-of-preedit-key, custom
generic-end-of-preedit-key, custom generic-kill-key, custom
generic-kill-backward-key, custom generic-backspace-key, custom
generic-delete-key, custom generic-go-left-key, custom
generic-go-right-key, custom generic-return-key): Move group to
global-keys-advanced
* po/ja.po
* po/uim.pot
- Update
2005-02-02 TOKUNAGA Hiroyuki <tkng@xem.jp>
* toolbar-common-gtk.c:
-(switcher_button_create, pref_button_create): Take second argument.
-(switcher_button_pressed, pref_button_pressed): Function prototype
changed.
-(uim_helper_applet_new): New function.
* toolbar-applet-gnome.c:
-(uim_menu_xml): Updated menu items.
2005-02-02 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im-custom.scm
- (custom-installed-im-list): Resolve the "reloading a file that
contains multiple IMs" problem as temporary solution. It's a quite
dirty way and should be replaced by proper way after 0.4.6
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
helper/toolbar-common-gtk.c:
-(prop_button_pressed, prop_button_released): Third argument changed.
-(switcher_button_create, pref_button_create): Pass a SizeGroup as
an argument.
-(uim_helper_trayicon_new): New function.
-(list_data_free): New utility function.
-(prop_data_flush): New utility function.
-(helper_toolbar_prop_list_update): Renamed from
helper_applet_prop_list_update.
-(helper_toolbar_prop_label_update): Renamed from
helper_applet_prop_label_update.
-(helper_icon_prop_list_update): New function.
-(helper_icon_parse_helper_str): New function.
-(fd_read_cb): Renamed from uim_applet_fd_read_cb.
-(check_helper_connection): Take a GtkWidget as an argument.
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-compat-scm.c
- (uim_scm_symbol_value_bool): Fix invalid result acquisition
* scm/init.scm
- (load-modules): Fix lazy loading of direct IM
2005-02-01 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm : Change description about annotation.
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c:
-(hbox_hierarchy_changed):Removed not used function.
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c:
-(convert_charset): New function.
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c: More clean up.
-(get_charset): Result charset must be copied before free().
-(menu_button_create): New function.
-(menu_button_append_menu): New function.
-(append_button): New function.
-(helper_applet_prop_list_update): Concrete widget creation process
is splitted to menu_button_create and menu_button_append_menu.
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-comnon-gtk.c: A bit clean up.
-(get_charset): New function.
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-systray-gtk.c:
-(main): Changed variable name. toolbar -> icon.
2005-02-01 kzk <mover@hct.zaq.ne.jp>
* uim-kdehelper/src/pref/customwidgets.cpp
- (KeyGrabForm::keyPressEvent): handle F%d key correctly
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c:
-(switcher_button_create): Return NULL if switcher button is not
required.
-(pref_button_create): Return NULL if pref button is not required.
2005-02-01 kzk <mover@hct.zaq.ne.jp>
* implement key editing feature in uim-pref-qt.
Now, basic requirement for pref application is satisfied,
I think.
* uim-kdehelper/src/pref/customwidgets.h
* uim-kdehelper/src/pref/customwidgets.cpp
- implement key editing feature
* uim-kdehelper/src/pref/uim-pref-qt.h
- remove unnecessary header file
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- use "main" for main group vbox
* uim-kdehelper/src/pref/keygrabformbase.ui
- change size
2005-02-01 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-standalone-gtk.c:
-(main): call uim_init/quit.
2005-02-01 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- (choose_olist_clicked_cb): Rearranged buttons as cross-shaped, and
put a paddgin to the right side of buttons.
2005-02-01 Takuro Ashie <ashie@homa.ne.jp>
* uim/anthy.c:
- (get_segment_length): New function.
- (uim_plugin_instance_init): Added new procedure for getting length
of a segment.
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/CUSTOM
- Add a section "Invoke an arbitrary procedure when a custom
variable has been set" to indicate usage of custom-set-hooks
* scm/action.scm
- (context-list-replace-widgets!): Add a comment
* scm/load-action.scm
- (context-list-replace-widgets!): New stub procedure
2005-02-01 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm : Add custom-get-hooks for
skk-show-annotation?
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit enables replacing toolbar widgets configured in
preexisting context on the fly
* scm/action.scm
- (context-list-replace-widgets!): New procedure
* scm/prime.scm
- (prime-configure-widgets): Invoke context-list-replace-widgets! to
replace toolbar widgets configured in preexisting context
* scm/canna.scm
- (canna-configure-widgets): Ditto
* scm/anthy.scm
- (anthy-configure-widgets): Ditto
* scm/skk.scm
- (skk-configure-widgets): Ditto
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit enables limited version of set-hook invocation with
custom-rt.scm. It results that im-default-name and toolbar
configurations in running processes are dynamically updated on the
fly
* scm/custom-rt.scm
- (custom-set-hooks): New variable
- (custom-add-hook): Implement lightweight hook handling only works
for custom-set-hooks
- (custom-set-value!): Add set-hook handling
* scm/anthy-custom.scm
* scm/canna-custom.scm
* scm/prime-custom.scm
* scm/skk-custom.scm
- Enclose set-hooks that handles metainformation of the custom
variable into (if custom-full-featured?) block to enable the
lightweight set-hook invocation
- Fix *-configure-widgets invocation
* scm/im-custom.scm
- (custom custom-activate-default-im-name?): Add a comment
2005-02-01 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm : Add an activity-hook for showing annotation
in preedit area.
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit tunes Scheme interpreter performance for uim-custom
* scm/init.scm
- (prealloc-heaps-for-heavy-job): New procedure
* scm/custom.scm
- Invoke prealloc-heaps-for-heavy-job
2005-02-01 kzk <mover@hct.zaq.ne.jp>
* im-kdehelper/src/pref/Makefile.am
- add keyeditformbase.ui keygrabformbase.ui
* uim-kdehelper/src/pref/keygrabformbase.ui
- the dialog to grab the key
* uim-kdehelper/src/pref/keyeditformbase.ui
- the dialog to list up the key
* uim-kdehelper/src/pref/olisteditformbase.ui
- change layouting
* uim-kdehelper/src/pref/uim-pref-qt.h
- implement class SubgroupData's destructor
- implement GroupPageWidget::addCustomTypeKey
* uim-kdehelper/src/uim-pref-qt.cpp
- implement class SubgroupData's destructor
* uim-kdehelper/src/pref/customwidgets.h
* uim-kdehelper/src/pref/customwidgets.cpp
- add key edit support partly
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im-custom.scm
- (custom-group candwin): New custom group
* scm/generic-custom.scm
- (custom 'generic-use-candidate-window?, custom
'generic-candidate-op-count, custom 'generic-nr-candidate-max,
custom 'generic-commit-candidate-by-numeral-key?): Add subgroup
candwin
- Add an activity-hook for candidate window custom variables
* scm/anthy-custom.scm
- (custom 'anthy-use-candidate-window?, custom
'anthy-candidate-op-count, custom 'anthy-nr-candidate-max, custom
'anthy-select-candidate-by-numeral-key?): Add subgroup candwin
- Add an activity-hook for candidate window custom variables
* scm/canna-custom.scm
- (custom 'canna-use-candidate-window?, custom
'canna-candidate-op-count, custom 'canna-nr-candidate-max): Add
subgroup candwin
- Add an activity-hook for candidate window custom variables
* scm/prime-custom.scm
- (prime-nr-candidate-max, prime-always-show-window?): Add subgroup
candwin
* scm/skk-custom.scm
- (custom 'skk-use-candidate-window?, custom
'skk-candidate-op-count, custom 'skk-nr-candidate-max, custom
'skk-commit-candidate-by-label-key?): Add subgroup candwin
- Add an activity-hook for candidate window custom variables
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes toolbar of PRIME configurable via uim-pref
* scm/prime.scm
- (prime-widgets, default-widget_prime_input_mode,
prime-input-mode-actions): Move to prime-custom.scm as custom variable
* scm/prime-custom.scm
- (prime-input-mode-indication-alist): New variable
- (prime-widgets): Moved from prime.scm as ordinary variable
- (custom default-widget_prime_input_mode, custom
prime-input-mode-actions): New custom variable
- Add several hooks to relate the new custom variables
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes toolbar of SKK configurable via uim-pref
* scm/skk.scm
- (skk-widgets, default-widget_skk_input_mode,
skk-input-mode-actions): Move to skk-custom.scm as custom variable
* scm/skk-custom.scm
- (skk-input-mode-indication-alist): New variable
- (skk-widgets): Moved from skk.scm as ordinary variable
- (custom default-widget_skk_input_mode, custom
skk-input-mode-actions, ): New custom variable
- Add several hooks to relate the new custom variables
2005-02-01 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk.c
- (custom_combo_box_changed): fixed wrong condition
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes toolbar of Canna configurable via uim-pref
* scm/canna.scm
- (canna-widgets, default-widget_canna_input_mode,
default-widget_canna_kana_input_method, canna-input-mode-actions,
canna-kana-input-method-actions): Move to canna-custom.scm as
custom variable
* scm/canna-custom.scm
- (canna-input-mode-indication-alist,
canna-kana-input-method-indication-alist): New variable
- (custom canna-widgets, custom default-widget_canna_input_mode,
custom canna-input-mode-actions, custom
default-widget_canna_kana_input_method, custom
canna-kana-input-method-actions): New custom variable
- Add several hooks to relate the new custom variables
2005-02-01 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk.c
- custom->value->as_key is not the array of the pointer to
type (struct uim_custom*) but the array of the pointer to
type (struct uim_custom_key*)
2005-02-01 kzk <mover@hct.zaq.ne.jp>
- uim/plugin.c
- (load_plugin): hope this is the last memory leak in this file...
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/anthy-custom.scm
- Add an activity-hook to anthy-segment-separator
* scm/canna-custom.scm
- Add an activity-hook to canna-segment-separator
* scm/im-custom.scm
- Modify a comment
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im-custom.scm
- Add a set-hook for enabled-im-list to reflect the value to
custom-preserved-default-im-name
- (custom-hook-set-default-im-name): Simplify
- (custom-group im-switching, custom enable-im-switch, custom
switch-im-key): Comment out to avoid confusion of users since I
think that current "im-switching by hotkey" feature is not useful.
* scm/custom.scm
- (custom-group hidden): New custom group for future use
* doc/CUSTOM
- Fix a typo
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/generic.scm
- (action action_generic_off): Replace iconic label "o" with "-" to
be distinguished from "O" as on-state easily. Thanks No.24 of
[Anthy/uim thread 5] for reporting
* scm/m17nlib.scm
- (action action_m17nlib_off): Ditto
* scm/skk-custom.scm
- (skk-im-short-desc): Replace "Uim" in the message with "uim" for
consistency. Thanks No.976 of [Anthy/uim thread 4] for reporting
* helper/GNOME_UimApplet.server.in.in
- Ditto
* po/ja.po
* po/uim.pot
- Update
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/generic.scm
- (ascii-rule): New variable. This rule is defined as dump
ASCII-to-ASCII map
* scm/latin.scm
- (latin-im-rule): New variable. This rule is define as combination
of ascii-rule and latin-compose-rule
- (latin-init-handler): Replace latin-compose-rule with
latin-im-rule. This enables typing ASCII characters on 'on' mode
of the IM
* scm/viqr.scm
- Add lacking (require "generic.scm")
2005-02-01 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (make-scm-pathname): New procedure
- (try-load, try-require): Suppress file not found error message
* uim/uim-util.c
- (file_stat_mode, file_readablep, file_writablep, file_executablep,
file_regularp, file_directoryp): New function
- (uim_init_util_subrs): Add initialization of file-readable?,
file-writable?, file-executable?, file-regular? and file-directory?
* uim/slib.c
- (siod_lib_path): New function
- (init_subrs): Add initialization of load-path procedure
* uim/uim-custom.c
- Add #include <sys/types.h>
2005-02-01 kzk <mover@hct.zaq.ne.jp>
* uim-kdehelper/src/pref/uim-pref-qt.h
- (UimPrefDialog::m_applyButton): new variable
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- (UimPrefDialog::UimPrefDialog): exit when uim_custom_enable()
failed.
- (UimPrefDialog::setupWidgets): change button's order in
accordance with KDE's HIG.
- (UimPrefDialog::slotCustomValueChanged): enable apply button
- (UimPrefDialog::slotApply): disable apply button
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk.c
- (update_custom_type_choice_cb): clear the contents of combobox
by calling gtk_list_store_clear.
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/CUSTOM
- Update the section "How to reflect defined customs into your IM code"
- Update the section "Control activity of a custom variable"
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* doc/00INDEX
- Add 'CUSTOM'
* doc/CUSTOM
- New file
- Add new section "How to reflect defined customs into your IM code"
- Add new section "Control activity of a custom variable"
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* implement "setDefault" feature in uim-pref-qt
* uim-kdehelper/src/pref/uim-pref-qt.h
- (class GroupPageWidget): new class
- (UimPrefDialog::addCustom,
UimPrefDialog::addCustomTypeBool,
UimPrefDialog::addCustomTypeInteger,
UimPrefDialog::addCustomTypeString,
UimPrefDialog::addCustomTypePathname,
UimPrefDialog::addCustomTypeChoice,
UimPrefDialog::addCustomTypeOrderedList,
UimPrefDialog::addCustomTypeKey)
: move to GroupPageWidget
- (UimPrefDialog::slotSetDefault): new function
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- Ditto
- (UimPrefDialog::slotCancel): not confirm the change
* uim-kdehelper/src/pref/customwidgets.h
- (UimCustomItemIface::setDefault): new pure virtual function
- (CustomCheckBox::setDefault,
CustomSpinBox::setDefault,
CustomLineEdit::setDefault,
CustomPathnameEdit::setDefault,
CustomChoiceCombo::setDefault,
CustomOrderedListEdit::setDefault)
: new function
- (CustomPathnameEdit::slotActivated): rename from slotHighlighted
* uim-kdehelper/src/pref/customwidgets.cpp
- Ditto
- (CustomPathnameEdit::update): clear combobox's contents before
inserting new item
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* uim/plugin.c
- fix wrong condition of the last commit.
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* uim/plugin.c
- (plugin_load): abolish more memory leak.
* Until this commit, possible memory leak seems to be
abolished. Thank you memprof!
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk.c
- Fix memory leak. The value got by calling
uim_custom_primary_groups() must be freed by calling
uim_custom_symbol_list_free( primary_groups );
* uim-pref-qt's same problem will be fixed soon
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/init.scm
- (load-modules): Load actually enabled IMs only when (not
enable-lazy-loading?) rather than stupidly loading all installed
modules
* scm/plugin.scm
- (load-enabled-modules): New procedure moved and renamed from
load-stub-ims of scm/lazy-load.scm
* scm/lazy-load.scm
- (load-stub-ims): Remove
- (stub-im-generate-stub-im-list): Modify the stub-im template as
require-module'ing when (not enable-lazy-loading?)
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* abolish 4 memory leaks
* uim/uim-custom.c
- (extract_choice_list): free the old contents of choice_sym_list
- (uim_custom_cb_update_cb_gate): free the string passed to
update_cb
* uim/plugin.c
- (plugin_load): free char *path, which is allocated by calling
uim_scm_c_str
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-group main): New custom group. This may have fixed the bug
reported in r413. Thanks Kazuki
* test/test-custom.scm
- (test custom-group-subgroups): Add existence check of 'main group
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/pref-gtk.c
- (update_custom_type_choice_cb): Add debug message
2005-01-31 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(update_custom_type_choice_cb): Commented out experimental code.
2005-01-31 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(update_custom_type_bool_cb, update_custom_type_string_cb,
update_custom_type_choice_cb, update_custom_type_key_cb):
Get new custom item from second argument.
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* Implement subgrouping feature to uim-pref-qt.
* BUG!?
The "main" subgroup's custom->label seems to weird string.
Please check, Yamaken.
* uim-kdehelper/src/pref/uim-pref-qt.h
- (addCustom, addCustomTypeBool, addCustomTypeInteger,
addCustomTypeString, addCustomTypeString,
addCustomTypePathname, addCustomTypeChice,
addCustomTypeOrderedList, addCustomTypeKey)
: use QVGroupBox instead of QVBox
- (class SubgroupData): new class
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- (createGroupWidget): dealing with subgroup
- (createGroupWidgets): use custom->label
2005-01-31 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- (choose_olist_clicked_cb): Moved up and down button to left side.
2005-01-31 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* po/ja.po : Fix translation of "Show annotation in preedit area" in scm/skk-custom.lisp
2005-01-31 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- (choose_olist_clicked_cb): Arranged buttons as cross-shaped.
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* Implement Callbacks for uim_custom
* qt/uim-kdehelper/src/pref/customwidgets.h
- (UimCustomItemIface::UimCustomItemIface): register callback
- (UimCustomItemIface::update_cb): callback
- (UimCustomItemIface::updateItem): update m_custom variable by
calling uim_custom_get
- (UimCustomItemIface::update): pure virtual function to update
the condition of widget
- (CustomCheckBox::update): update CustomCheckBox
- (CustomSpinBox::update): update CustomSpinBox
- (CustomLineEdit::update): update CustomLineEdit
- (CustomChoiceCombo::update): update CustomChiceCombo
- (CustomOrderedListEdit::update): update CustomOrderedListEdit
* qt/uim-kdehelper/src/pref/customwidgets.cpp
- Ditto
* qt/uim-kdehelper/src/pref/uim-pref-qt.cpp
- move updation handling to customwidget.cpp
2005-01-31 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk.c
- (olist_pref_entry_set_value): use item->label instead of item->symbol
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-rt.scm
- (custom-set-value!): Fix invalid key-binding configuration caused
by r390
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (custom_cb_add): Fix misformed sexp. This makes custom callback
working
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* po/ja.po
* po/uim.pot
- Update
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes toolbar of Anthy configurable via uim-pref
* scm/custom.scm
- (custom-choice-range-reflect-olist-val,
custom-call-all-hook-procs, custom-touch-value!, custom-type-info,
custom-set-type-info!): New procedure
- (custom-set-value!): Add lacking custom-update-hooks invocation
for the value itself rather than activity change
- (custom-reload-customs): Add invocation for custom-set-hooks
* scm/custom-rt.scm
- (custom-choice-range-reflect-olist-val): New procedure
* scm/action.scm
- (indication-rec-spec, record indication): Move to load-action.scm
* scm/load-action.scm
- (indication-rec-spec, record indication): Moved from action.scm
- (indication-alist-entry-extract-choice, action-id-list->choice,
indication-alist-indicator): New procedure
* scm/im-custom.scm
- (custom-im-list-as-choice-rec): gettextize
- (custom-group toolbar): New custom group
- (custom toolbar-show-switcher-button?, custom
toolbar-show-pref-button?): Add toolbar as subgroup
* scm/anthy.scm
- (anthy-widgets, default-widget_anthy_input_mode,
default-widget_anthy_kana_input_method, anthy-input-mode-actions,
anthy-kana-input-method-actions): Move to anthy-custom.scm as
custom variable
- (action action_anthy_hiragana, action action_anthy_katakana,
action action_anthy_hankana, action action_anthy_direct, action
action_anthy_zenkaku, action action_anthy_roma, action
action_anthy_kana, action action_anthy_azik): Add future
replacement codes as comment
* scm/anthy-custom.scm
- (anthy-input-mode-indication-alist,
anthy-kana-input-method-indication-alist): New variable
- (custom anthy-widgets, custom default-widget_anthy_input_mode,
custom anthy-input-mode-actions, custom
default-widget_anthy_kana_input_method, custom
anthy-kana-input-method-actions): New custom variable
- Add several hooks to relate the new custom variables
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/intl.c
- (intl_bind_textdomain_codeset):
* Add validity check for args
* Add proper NULL handlings
- (intl_dgettext): Add validity check for args
* uim/uim.c
- Move config.h to top
- (uim_init_scm): Add default encoding configuration as commented
out code
2005-01-31 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/toolbar-common-gtk.c
- (right_click_menu_create, switcher_button_create,
pref_button_create):
* gettextize strings
* Remove trailing "." of strings for menu
2005-01-31 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (quote_word) : Again using dynamic memory
allocation with realloc(). The bug was actually just a careless
miss...
2005-01-31 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (quote_word) : Malloc fixed sized memory instead
of using realloc() to avoid some memory problem.
(sanitize_word) : Cosmetic change.
2005-01-30 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (next_cand_slash) : Minor bug fix of r393.
2005-01-30 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (quote_word) : Quote double quotation.
(sanitize_word) : Sanitize double quotation character.
2005-01-30 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_eval_candidate) : Add check if
uim_scm_return_value() is empty.
2005-01-30 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(update_custom_type_bool_cb, update_custom_type_string_cb,
update_custom_type_choice_cb, update_custom_type_key_cb):
New callback functions.
-(add_custom_type_bool, add_custom_type_string,
add_custom_type_choice, add_custom_type_key): Register
custom callback function.
2005-01-30 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_eval_candidate) : Add simple sanity check.
2005-01-30 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim-custom.c;
-(custom_cb_add): Fixed wrong order of arguments of custom-register-cb.
2005-01-30 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm (skk-show-annotation-in-preedit?) : New
custom variable. Default is #f.
* scm/skk.scm (skk-prepare-commit-string) : Evaluate candidate
string which contains 'concat'.
(skk-do-update-preedit) : Ditto. Check condition of
skk-show-annotation-in-preedit?
(skk-get-candidate-handler) : Evaluate 'concat'.
* uim/skk-dic.c : Stop including "uim-compat-scm.h".
(next_slash) : Renamed to next_cand_slash.
(next_cand_slash) : Renamed from next_slash. Locate the starting
point (slash) of next candidate.
(next_slash_in_bracket) : New. Locale next slash.
(okuri_in_bracket) : Use next_slash_in_bracket().
(nth_candidate) : Use next_cand_slash().
(skk_commit_candidate) : Also reorder base candidate array even if
candidate array with okuri string exists.
(quote_word) : New. Replace some words using 'concat'.
(sanitize_word) : Don't ignore some words to be registered in
personal dictionary. Word with space and parenthesis is allowed
except the words are composed by space only.
(skk_lib_get_annotation) : Don't assume the word as annotation if
it is ended with colon.
(skk_lib_remove_annotataion) : Ditto.
(skk_eval_candidate) : New. Evaluate 'concat' emacs lisp.
(uim_plugin_instance_init) : Export skk_eval_candidate as
skk-lib-eval-candidate to scheme.
2005-01-30 YamaKen <yamaken@bp.iij4u.or.jp>
* This commmit replaces a Scheme API im-label-name with im-name-label
in accordance with following discussion
http://lists.freedesktop.org/archives/uim/2005-January/000921.html
http://lists.freedesktop.org/archives/uim/2005-January/000973.html
* scm/im.scm
- (record im, register-im): s/label-name/name-label/g
* scm/generic.scm
- (generic-register-im): Ditto
* scm/im-custom.scm
- (custom-im-list-as-choice-rec): Ditto
* scm/lazy-load.scm
- (register-stub-im): Ditto
* scm/prime.scm
* scm/spellcheck.scm
* scm/canna.scm
* scm/anthy.scm
* scm/skk.scm
- s/label-name/name-label/g in register-im
* scm/hangul.scm
- s/label-name/name-label/g in hangul-register-im
* scm/skk-custom.scm
- (skk-im-label-name): Rename to skk-im-name-label
- (skk-im-name-label): Renamed from skk-im-label-name
- (custom-group skk): s/label-name/name-label/g
* scm/prime-custom.scm
- (prime-im-label-name): Rename to prime-im-name-label
- (prime-im-name-label): Renamed from prime-im-label-name
- (custom-group prime): s/label-name/name-label/g
* scm/anthy-custom.scm
- (anthy-im-label-name): Rename to anthy-im-name-label
- (anthy-im-name-label): Renamed from anthy-im-label-name
- (custom-group anthy): s/label-name/name-label/g
* scm/spellcheck-custom.scm
- (spell-im-label-name): Rename to spell-im-name-label
- (spell-im-name-label): Renamed from spell-im-label-name
- (custom-group spellcheck): s/label-name/name-label/g
* scm/canna-custom.scm
- (canna-im-label-name): Rename to canna-im-name-label
- (canna-im-name-label): Renamed from canna-im-label-name
- (custom-group canna): s/label-name/name-label/g
2005-01-30 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/ipa.scm: Added some entries based on X-SAMPA.
This commit close bug #2416. Thanks to Denis Jacquerye <moyogo@gmail.com>.
2005-01-30 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit changes key-binding representation for users. See
following discussions (sorry, written in Japanese).
http://lists.sourceforge.jp/mailman/archives/anthy-dev/2005-January/001637.html
http://lists.sourceforge.jp/mailman/archives/anthy-dev/2005-January/001670.html
Remove your ~/.uim.d/customs/custom-global-keys.scm to reflect new
key definitions.
* helper/pref-gtk.c
- (key_pref_set_value): Downcase alphabet key
* scm/custom.scm
- (key-list->gui-key-list): Replace with 'key-list-export-as-basic
- (gui-key-list->key-list): Replace with 'key-list-import-as-basic
- (key-list-export-as-basic): Remove key-list-upcase in accordance
with the discussion
- (key-list-import-as-basic): Remove key-list-encode-shift and
key-list-downcase, and add key-list-decode-shift in accordance
with the discussion
* scm/generic-key-custom.scm
- (custom generic-commit-key, custom generic-cancel-key, custom
generic-next-candidate-key, custom generic-prev-candidate-key,
custom generic-beginning-of-preedit-key, custom
generic-end-of-preedit-key, custom generic-kill-key, custom
generic-kill-backward-key, custom generic-backspace-key, custom
generic-delete-key, custom generic-go-left-key, custom
generic-go-right-key, custom generic-return-key): Replace the
pairs such as '("<Control>m" "<Control>M") with
'("<IgnoreCase><Control>m") to unify alphabetic key bindings for
user convenience
2005-01-30 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit simplifies complicated IM loading (including
lazy-loading) process involving several state variables,
* scm/init.scm
- (enable-action?): New variable
- (load-modules): New procedure
- Make direct IM lazy-loadable
- Avoid full loading of IMs when LIBUIM_VANILLA=1
- Move (require-custom "im-custom.scm") from im.scm
- Move (require "key.scm") from im.scm
- Simplify complicated IM loading process including lazy-loading
- Resolve stub-im inconsistency problem between actually installed
modules and generated in custom-global.scm
- Support per-user plugin configuration file
~/.uim.d/plugin/installed-modules.scm
- Support per-user stub-im file file
~/.uim.d/plugin/stub-ims.scm
* scm/im.scm
- (register-im): Simplify rejection condition
- Move (require-custom "im-custom.scm") to init.scm
- Move (require "key.scm") to init.scm
* scm/plugin.scm
- (installed-im-module-list): New variable
- (load-module-conf): New procedure
* scm/im-custom.scm
- (custom-installed-im-list):
* Redefine as procedure
* Remove conditional evaluation
- (custom enabled-im-list):
* Replace default value with '(direct) because normal
initialization of libuim prepares proper enabled-im-list
* Replace range definition in accordance with the condition
custom-full-featured?
* Remove complicated bootstrapping
- (custom-hook-literalize-enabled-im-list): Removed. This also
withdraws per-user-enabled-im-list-loaded? and
im-lazy-loading-enabled?
- (custom enable-lazy-loading?): New custom variable
* scm/lazy-load.scm
- (stub-im-generate-stub-im-list):
* Replace enabled-im-list acquisition code in accordance with the
simplification
* Modify stub-im definition code in accordance with simplification
of lazy-loading process
- (stub-im-generate-all-stub-im-list): Load all
installed-im-module-list explicitly in accordance with change of
IM loading process
- (load-stub-ims): New procedure
* scm/load-action.scm
- Replace conditional variable disable-action with enable-action?
* scm/manage-modules.scm
- New file. Generates input method module configurations for plugin
installation
- (generate-installed-modules-scm, generate-stub-ims-scm): New
procedure
* scm/Makefile.am
- (scm_DATA): Replace enabled-ims.scm with stub-ims.scm
- (SCM_FILES): Add manage-modules.scm
- (installed-modules.scm):
* Replace generation rule with manage-modules.scm
* Now installed-modules.scm also contains enabled-im-list in
addition to installed-im-module-list
- (enabled-ims.scm): Withdraw the file and generation rule
- (stub-ims.scm): New generation rule
* test/test-lazy-load.scm
- (test stub-im-generate-stub-im-list, test
stub-im-generate-all-stub-im-list): Follow the specification
change
* test/test-im.scm
- (testcase im im-management, testcase im im-custom):
* Apply following changes to setup process to follow the
specification changes
* Load IM modules explicitly
* Add test-im and test-im2 to enabled-im-list
* test/test-action.scm
- (testcase action):
* Load IM modules explicitly in setup process to follow the
specification changes
2005-01-30 kzk <mover@hct.zaq.ne.jp>
* bug fix of uim-pref-qt
* uim-kdehelper/src/pref/customwidgets.h
- (updateText): new function
* uim-kdehelper/src/pref/customwidgets.cpp
- (updateText): new function
- (slotEditButtonClicked): add enabled item first for storing the
order of the list, and update the text of lineedit after list is
modified.
* uim-kdehelper/src/pref/olisteditformbase.ui
- change listview's column name
- make header unclickable and resizable
2005-01-29 Masahito Omote <omote@utyuuzin.net>
* doc/HELPER-CANDWIN: Updated.
2005-01-29 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.c
- (load_conf): Removed
- (uim_init_scm): Remove scm file loadings
* scm/init.scm
- (load-user-conf): New procedure. This is equivalent of load_conf()
- Add loading of fundamental part of uim as uim_init_scm() did
- This file initializes platform dependent execution
environment. The codes are written for ordinary UNIX desktop
system. Modify this file with careful investigation to change uim
configuration for special platforms such as embedded environments
2005-01-29 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/loader.scm
- Rename to init.scm
* scm/init.scm
- Renamed from loader.scm
* scm/Makefile.am
* po/POTFILES.in
- Replace loader.scm with init.scm
* uim/uim.c
- (uim_init_scm): Replace loader.scm with init.scm
2005-01-29 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/Makefile.am
- (scm_DATA): Add installed-modules.scm and enabled-ims.scm
- (SCM_FILES): Remove installed-modules.scm and enabled-ims.scm
- Fix dependency of installed-modules.scm
2005-01-29 kzk <mover@hct.zaq.ne.jp>
* check helper connection before calling uim_helper_client_focus_out()
* gtk/gtk-im-uim.c
- (focus_out): check helper connection before calling calling
uim_helper_client_focus_out()
* qt/quiminputcontextplugin/src/quiminputcontext.cpp
- (unsetFocus): Ditto
* qt/quiminputcontextplugin-qt4/quiminputcontext.cpp
- (unsetFocus): Ditto
2005-01-29 kzk <mover@hct.zaq.ne.jp>
* Enhancement of uim-pref-qt. (this is my escaping from test:-P)
The main enhancement is implementing ordered list editing.
* uim-kdehelper/src/Makefile.am
- add customwidgets.cpp, kseparator.h, kseparator.cpp,
and olisteditformbase.ui.
* uim-kdehelper/src/olisteditformbase.ui
- the ui file for OrderedListEdit dialog
* uim-kdehelper/src/pref/customwidgets.h
- move contents to customwidgets.cpp
- (class CustomOrderedListEdit): new class
- (class OListEditForm): new class
* uim-kdehelper/src/pref/customwidgets.cpp
- new file(the contents is moved from customwidgets.h)
- (class CustomOrderedListEdit): new class
- (class OListEditForm): new class
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- (createGroupWidget): display title as KControl and use KSeparator
- (slotCancel): not confirm change if nothing is changed when
cancel button is clicked.
- (addCustomTypeOrderedList): new function
* uim-kdehelper/src/pref/kseparator.h
* uim-kdehelper/src/pref/kseparator.cpp
- separator widget ported from kdelibs
2005-01-29 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/latin.scm
* scm/direct.scm
- Rewrite short-desc and label-name of the IM
* po/uim.pot
* po/ja.po
- Update
2005-01-29 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c:
-(switcher_button_pressed): Process right click correctly.
-(pref_button_pressed): Process right click correctly.
--This line, and those below, will be ignored--
M toolbar-common-gtk.c
2005-01-29 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c: This commit implements right click menu to
uim-toolbar-gtk.
-(menu_switcher_activated):New function.
-(menu_pref_activated):New function.
-(menu_quit_activated):New function.
-(prop_right_button_pressed):New function.
-(prop_button_pressed): Call prop_right_button_pressed if right button
was pressed.
2005-01-29 kzk <mover@hct.zaq.ne.jp>
* this commit aims to introduce --enable-uimqt-debug configure
option for suppressing the debug message.
* qt/quiminputcontextplugin/configure.in.in
- add --enable-uimqt-debug option
* qt/quiminputcontextplugin/src/quiminputcontext.cpp
- include config.h
- turn on qDebug when ENABLE_DEBUG is defined
* qt/quiminputcontextplugin/src/plugin.cpp
- Ditto
* qt/quiminputcontextplugin/src/candidatewindow.cpp
- Ditto
* qt/quiminputcontextplugin/src/candidatewindow.cpp
- Ditto
2005-01-29 kzk <mover@hct.zaq.ne.jp>
* UimQt: specify default size of CandidateWindow instead
of resizing because resizing causes flickering.
* qt/quiminputcontextplugin/src/candidatewindow.h
- (CandidateWindow::adjustCandidateWindowSize): removed
- (CandidateWindow::sizeHint): new function
- (CandidateWindow::itemAtIndex): add const qualifier
- (CandidateListView::sizeHint): new function
* qt/quiminputcontextplugin/src/candidatewindow.cpp
- (CandidateWindow::adjustCandidateWindowSize): removed
- (CandidateWindow::sizeHint): new function
- (CandidateListView::sizeHint): new function
2005-01-28 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c:
-(switcher_button_create, pref_button_create): Changed description of
each button's role. (Exec xxx -> Execute xxx)
2005-01-28 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c:
-(switcher_button_create): Use icon.
* pixmaps/: New directory for pixmaps.
- switcher-icon.png: Icon for switcher. Thanks to UTUMI Hirosi.
2005-01-28 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Added --default-toolkit option.
2005-01-28 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-compat-scm.h
* uim/uim-compat-scm.c
- (uim_scm_symbol_value_bool): New function
* scm/im-custom.scm
- (custom toolbar-show-switcher-button?, custom
toolbar-show-pref-button?): New custom variable
2005-01-28 kzk <mover@hct.zaq.ne.jp>
* helper/im-switcher-gtk.c
- fix warning by using GTK_FRAME macro.
2005-01-28 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit performs adaptation of key-str representation for
uim-pref. Default representation may be changed to "always
capitalized letter keys with ignore-case" after discussion for
easy-to-recognize key configuration
* helper/pref-gtk.c
- (key_pref_set_value):
* Add conversion from " " to "space" for user convenience
* Add capitalization for alphabet keys for easy-to-recognize key
configuration. uim-custom performs implicit shift key
encoding/decoding appropriately. This feature is disabled at now
* scm/custom.scm
- (key-list->gui-key-list, gui-key-list->key-list): New variable
- (custom-key?): Accept translator-prefixes
- (custom-expand-key-references): Add key-str customizable
conversion for uim-pref
- (reversed-tag-prefix-alist): New variable
- (key-str->key-list, key-list->key-str, map-key-list-body,
map-key-list-letter, map-key-str, key-list-upcase,
key-list-downcase, key-list-visualize-space,
key-list-characterize-space, key-list-encode-shift,
key-list-decode-shift, key-list-ignore-regular-shift,
key-list-ignore-case, key-list-strip-translators,
key-list-export-as-basic, key-list-import-as-basic,
key-list-export-as-traditional, key-list-import-as-traditional,
key-str->gui-key-str, gui-key-str->key-str): New procedures for
customizable conversion for uim-pref
- (custom-set-value!, custom-definition-as-literal): Replace
define-key with combination of define and make-key-predicate to
allow flexible key binding
* test/test-custom.scm
- (test custom-key?, test custom-valid?): Accept translator-prefix
- (test custom-definition-as-literal): Follow the specificationn
change
2005-01-28 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- (olist_pref_up_button_clicked_cb)
(olist_pref_down_button_clicked_cb):
Scroll the tree view on up or down buttons are pressed.
2005-01-28 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- All changes are validated by test-util.scm
- (char-printable?): Fix lacking non-ASCII character check
- (string->letter): New procedure
* test/test-util.scm
- (test char-control?, test char-upper-case?, test char-lower-case?,
test char-alphabetic?, test char-numeric?, test char-printable?,
test char-graphic?): Add non-ASCII character check
- (test string->letter): New test
2005-01-28 TOKUNAGA Hiroyuki <tkng@xem.jp>
* entry.c: Use GTimer to measure elapsed time for uim_init.
2005-01-28 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-common-gtk.c: Added "Exec pref" button.
-(pref_button_create); New function.
-(pref_button_pressed); New function.
2005-01-28 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_lib_remove_annotation) : Add check for empty
list.
(skk_lib_get_annotation) : Ditto.
* scm/skk-custom.scm : Add new custom boolean variable
'skk-show-annotation? Default is #t.
* scm/skk.scm (skk-get-nth-candidate) : Check skk-show-annotation?
(skk-do-update-preedit) : Don't show annotation in preedit area.
This is ddskk compatible behavior.
2005-01-27 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (reorder_candidate) : Revise r364. Set the flag
only when sequence of the candidates has changed.
2005-01-27 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (reorder_candidate) : Set cache_modified flag.
* scm/skk.scm : Use char-upper-case? in util.scm instead of
skk-upper-char?
(skk-upper-char?) : Removed.
2005-01-27 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* callback.c (get_candidate) : bug fix
2005-01-27 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- All changes are validated by test-util.scm
- (compose): New procedure
- (unfold): New SRFI procedure
- (char-upper-case?, char-lower-case?, char-alphabetic?,
char-numeric?, char-downcase, char-upcase): New R5RS-like
procedure
- (char-control?, char-printable?, char-graphic?): New procedure
- (control-char?): Rewrite as alias of char-control?
- (alphabet-char?): Rewrite as alias of char-alphabetic?
- (numeral-char?): Rewrite as alias of char-numeric?
- (usual-char?): Rewrite as alias of char-graphic?
- (to-lower-char): Rewrite as alias of char-downcase
- (numeral-char->number): Replace numeral-char? with char-numeric?
* test/test-util.scm
- Update copyright
- (test compose, test unfold, test char-upper-case?, test
char-lower-case?, test char-alphabetic?, test char-numeric?, test
char-downcase, test char-upcase, test char-control?, test
char-printable?, test char-graphic?): New test
- (control-char?, alphabet-char?, numeral-char?, usual-char?,
to-lower-char): Replace value tests with alias identity test
* uim/uim-util.c
- Update copyright
- All changes are validated by test-util.scm
- (digit2string):
* Fix buffer overrun
* Add type check
* test/test-uim-util.scm
- Update copyright
- (test digit->string): Add longest 32bit value tests
* uim/uim-scm.h
- Update copyright
2005-01-27 YamaKen <yamaken@bp.iij4u.or.jp>
* examples/uim-custom/uim-custom-update.c
- (main): Add error handlings around uim_init() and
uim_custom_enable()
* examples/uim-custom/uim-custom-dump.c
- (main): Ditto
* examples/uim-custom/uim-custom-variable.c
- (main): Ditto
2005-01-27 YamaKen <yamaken@bp.iij4u.or.jp>
* qt/uim-kdehelper/src/pref/uim-pref-qt.cpp
- (UimPrefDialog::UimPrefDialog): Add error handling around
uim_custom_enable(). uim-pref-qt should abort execution if the
initialization failed. uim_init() should also be treated as same
way
* helper/pref-gtk.c
- (main): Add error handlings around uim_init() and
uim_custom_enable()
2005-01-27 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/prime.c
- (prime_init_ud): Fix C++ style comment with C style one
* uim/skk-dic.c
- (sanitize_word, skk_lib_get_annotation): Fix constness handlings
2005-01-27 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_quit): Add uim_custom_group_cb_remove() and
uim_custom_global_cb_remove()
2005-01-27 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit splits libuim-custom off from libuim as optional part of
libuim. Users of uim-custom must link libuim-custom explicitly
* uim/uim.c
- (uim_quit): Remove comment outed uim_custom_quit()
* uim/uim-custom.c
- (uim_custom_enable):
* Replace with (load-plugin "custom-enabler")
* Modify the comment
- (uim_custom_init):
* Add prototype declaration
* New function (reverted to previous implementation)
* Modify the comment
- (uim_custom_quit):
* Add prototype declaration
* Modify the comment
* uim/uim-custom-enabler.c
- New file
- This plugin is only used for managing initialization and
finalization of uim-custom API by using plugin facility. Users of
uim-custom API must also link libuim-custom at
compile-time. uim_custom_init() and uim_custom_quit() provides the
initialization and finalization function itself, and this file and
uim_custom_enable() provides an interface for how to invoke
them. The two parts are responsible for orthogonal issues and
should be kept separated
- (uim_plugin_instance_init, uim_plugin_instance_quit): New function
* uim/plugin.c
- (plugin_load): Accept plugin without corresponding scm file
* uim/Makefile.am
- Add build rule for libuim-custom
- Add build rule for libuim-custom-enabler.so
* qt/uim-kdehelper/src/pref/Makefile.am
* helper/Makefile.am
* examples/uim-custom/Makefile.am
- Add -luim-custom
2005-01-26 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/Makefile.am
- Fix build script for enabled-ims.scm. Thanks UTUMI Hirosi and
No.143 of [Anthy/uim thread 5] for reporting
2005-01-26 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- Enabled multiple selection on ordered list preference window.
2005-01-26 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-helper-server.c : Handle SIGPIPE properly which was
caused from sudden disconnect of uim-im-switcher-gtk.
(parse_content) : Handle EPIPE.
(main) : SIG_IGN of SIGPIPE.
* uim/uim-helper-client.c (uim_helper_read_proc) : Check fd
readable state properly.
* uim/uim-helper.c (uim_helper_send_message) : Check fd writable
state properly.
2005-01-25 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit re-enables all m17nlib IMs. Although they are redundant
and unconfortable, they can be disabled by uim-pref
* scm/m17nlib.scm
- (duplicated-im-list): Revise the comment
- (duplicated-im?):
* Always returns #f to enable all IMs. Original behavior is also
preserved as unused code
* Add a comment
2005-01-25 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit complements install-time configuration ability of
enabled-im-list and lazy-loading features. New behaviors of changed
procedures are not validated by unit test yet
At now, there are some weird fileset organizations and complex
variable handlings involving uim-custom, lazy-loading and
enabled-im-list. Some of them came from limited architectural change
of uim 0.4.6, some of others are intentionally made as development
step for future restructure of uim, and some others simply need
discussions. Ask me any intention, specification, usage or doubt
* configure.ac
- Define new AM_CONDITIONAL PRIME, SKK as always true. Add configure
option handlings if you want
* scm/Makefile.am
- (SCM_FILES): Add installed-modules.scm and enabled-ims.scm
- Add generation rules for installed-modules.scm and enabled-ims.scm
* scm/loader.scm
- (installed-im-module-list): Move to installed-modules.scm which is
generated automatically on install-time
- Add (load "installed-modules.scm")
- Support stub-im and enabled-im-list for lazy-loading that had been
configured in install-time. The data is acquired by loading
enabled-ims.scm
* scm/im.scm
- (enabled-im-list): New variable
- (normalize-im-list): Add a comment about inconsistency between
im-list and corresponding IM management entity in C-side
(uim_im_array)
- (register-im): Sense enabled-im-list to reject disabled IMs of a
IM module on lazy-loading. For example, a stub-im entry such as
hangul2 will also load unnecessary and disabled hangul3 and romaja
without this workaround
* scm/im-custom.scm
- (custom-installed-im-list): Remove 'direct' IM from enabled-im-list
- (custom-hook-literalize-enabled-im-list): Add definition of
per-user-enabled-im-list-loaded? and im-lazy-loading-enabled? in
accordance with install-time configurations
* scm/lazy-load.scm
- (stub-im-generate-stub-im-list): Replace determination logic of
lazy-loading in accordance with install-time configurations
* scm/custom.scm
- Cosmetic change
- (custom-reload-customs): Simplify
- (custom-full-featured?): New variable
* scm/custom-rt.scm
- (custom-full-featured?): New variable
* scm/uim-sh.scm
- (uim-sh-opt-strict-batch): New variable
- (uim-sh-loop, uim-sh-parse-args, uim-sh-usage): Support new -B
option (strict batch mode)
* test/test-lazy-load.scm
- (test stub-im-generate-stub-im-list, test
stub-im-generate-all-stub-im-list): Follow specification change of
stub-im-generate-stub-im-list
- svn propset svn:executable ON
* test/test-im.scm
- (testcase im im-management): Add temporary workaround to cheat on
revised register-im to setup proc. It should be rewritten as
proper tests in accordance with new enabled-im-list handlings of
register-im
* test/test-custom-rt.scm
* test/test-plugin.scm
- svn propset svn:executable ON
* gtk/Makefile.am
- Fix a spacing
2005-01-25 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.c
- (uim_quit): Comment out uim_custom_quit() as temporary workaround
to avoid unbound variable error when uim_custom_enable() is not
invoked
-------- missing changelog of r342 --------
* uim/uim.c
- (uim_quit): Add uim_custom_quit()
2005-01-23 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-scm (skk-proc-state-kanji) : Check if skk-context-head
is empty to start auto conversion.
* uim/skk-dic.c (open_lock) : Fix typo.
2005-01-22 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/uim-fep.c: fix bugs related UIM_FEP_GETMODE and UIM_FEP_SETMODE
* fep/uim-fep-tick.c (version): replace fprint(stderr) with printf
* fep/draw.c: fix a comment
2005-01-22 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm : Fix typo.
2005-01-22 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-ipc.c (uim_ipc_open_command_with_option) : free string
at the proper place.
2005-01-21 Takuro Ashie <ashie@homa.ne.jp>
* po/ja.po, po/POTFILES.in: Updated.
2005-01-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-commit-editor-context) : Add appendix character to
the string.
2005-01-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm : Update description about skk-auto-start-henkan?
2005-01-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm : Fix r341 to prevent saving incorrect words in
personal dictionary.
(skk-style-spec) : Add new style-spec entry for auto-conversion
characters.
(skk-context-rec-spec) : Add new entry 'appendix for
auto-conversion characters.
(skk-prepare-commit-string) : Add appendix character.
(skk-do-update-preedit) : Show appendix character.
(skk-proc-state-kanji) : Use skk-context-appendix instead of
skk-context-okuri.
(skk-back-to-kanji-state) : Add appendix character to
skk-context-head.
2005-01-21 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim-custom.h,uim/uim-custom.c:
- uim_custom_enable: New function. Renamed from uim_custom_init.
- uim_custom_quit: uim_custom_quit should be called in uim_quit..
* helper/pref-gtk.c, qt/uim-kdehelper/src/pref/uim-pref-qt.cpp,
examples/uim-custom/uim-custom-update.c,
examples/uim-custom/uim-custom-dump.c,
examples/uim-custom/uim-custom-variable.c:
- s/uim_custom_init/uim_custom_enable/
- Removed uim_custom_quit.
2005-01-21 Takuro Ashie <ashie@homa.ne.jp>
* uim/uim-custom.c:
- (c_list_to_str): Terminate the string by NUL character.
2005-01-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk-custom.scm (skk-auto-start-henkan?) : New custom
boolean variable. Default is #t.
* scm/skk.scm (skk-auto-start-henkan-keyword-list) : New list of
characters for starting auto conversion.
(skk-proc-state-kanji) : Enable auto conversion with some specific
characters.
2005-01-21 TOKUNAGA Hiroyuki <tkng@xem.jp>
* gtk/gtk-im-uim.c:
-(im_module_create): First argument of setlocale should be LC_CTYPE.
2005-01-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm : Indentation fixes using tab.
(skk-context-rec-spec) : Use empty list instead of "" for head
and okuri.
(skk-proc-state-direct-no-preedit) : Check each modifier key
separately instead of whole modifier-key-mask to prevent problem
with some wide latin characters.
(skk-proc-state-direct) : Ditto. This fixes the bug introduced in
r251. Use skk-upper-char? for beginning of skk-state-kanji.
(skk-upper-char?) : New procedure.
(skk-proc-state-kanji) : Use skk-upper-char? instead of checking
shift-key-mask.
2005-01-20 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-state-direct-no-preedit-nop-key?) : New key
definition. Keys in this list will have no effect on
proc-state-direct-no-preedit.
* scm/skk.scm (skk-proc-state-direct-no-preedit) : Update r335
using skk-state-direct-no-preedit-nop-key? See [Anthy-dev
1613].
2005-01-20 TOKUNAGA Hiroyuki <tkng@xem.jp>
* doc/api-doc/uim-devel.db: Update documentation.
Added new chapters:
- Customization features
- How to debug
2005-01-20 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct-no-preedit) : Make sure to
not forward skk-on-key? as native event although the key is not
used in this state. This is ddskk compatible behavior.
2005-01-20 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c:
- Added UI for editing ordered list.
- (choose_key_clicked_cb): Don't use gtk_dialog_run() for key
preference window.
2005-01-19 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct-no-preedit) : Do commit raw
even for keys with shift modifier mask when they are not
alphabet keys (e.g. "<Control><Shift>_").
2005-01-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* README: Updated software requirement infomation.
2005-01-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* README, README.ja: Removed obsolete description.
2005-01-19 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/im-switcher-gtk.c
- (create_switcher): Adjust spacing as familiar as uim-pref-gtk
2005-01-19 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit removes --enable-compat-custom option of configure
script and all related codes. This has also resolved bug #2306
* configure.ac
- Remove --enable-compat-custom option and related definitions
* uim/Makefile.am
- Remove "if COMPAT_CUSTOM" section
* uim/uim.c
- Remove #ifndef UIM_COMPAT_CUSTOM enclosure
* uim/uim-compat-custom.h
* uim/uim-compat-custom.c
- Remove
2005-01-19 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/plugin.c
- (plugin_unload):
* Add error checks
* Remove Scheme-side construct
* scm/plugin.scm
- (plugin-list-delete): New procedure
2005-01-19 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/test-custom.scm
- (test define-custom (choice)): Add test for overwriting definition
- (test custom-value-as-literal, test custom-definition-as-literal):
Add test for #f and () as value
* test/test-im.scm
- (test normalize-im-list, test register-im (module-name)): New test
- (test register-im):
* Add test for module-name
* Add test for overwriting register
* Check result value of register-im (initial register or not)
- (testcase im im-custom): New testcase
- (test custom-im-list-as-choice-rec): New test
* test/test-plugin.scm
- New file
- (testcase module): New testcase
- (test require-module): New test
* test/test-lazy-load.scm
- New file
- (testcase stub-im): New testcase
- (test stub-im-generate-init-handler, test register-stub-im, test
stub-im-generate-stub-im-list, test
stub-im-generate-all-stub-im-list): New test
* scm/im-custom.scm
* scm/plugin.scm
* scm/custom.scm
* scm/im.scm
- Remove TODO mark
2005-01-18 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_lib_remove_annotation) : Revert r325 change
to use uim_scm_c_str() because this function may modify the
string.
2005-01-18 kzk <mover@hct.zaq.ne.jp>
* qt/uim-kdehelper/src/pref/uim-pref-qt.cpp
- fix the order of ComboBox
- fix layouting
2005-01-18 kzk <mover@hct.zaq.ne.jp>
* qt/uim-kdehelper/src/pref/uim-pref-qt.cpp
- handle defaultly selected symbol
- fix the bug of combobox-insertion index
2005-01-18 kzk <mover@hct.zaq.ne.jp>
* qt/uim-kdehelper/src/pref/customwidgets.h
- fix wrong Q_ASSERT condition
2005-01-18 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/skk-dic.c:
-(skk_commit_candidate), (sanitize_word), (skk_learn_word),
(skk_learn_word), (skk_lib_save_personal_dictionary),
(skk_lib_get_annotation), (skk_lib_remove_annotation): Replaced
uim_scm_c_str with uim_scm_refer_c_str.
2005-01-18 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximserver.cpp (XimServer::customContext) : Re-enable IM
updating.
* scm/skk.scm (skk-proc-state-direct-no-preedit) : Add modifier
key handling in no-preedit state as in skk-proc-state-direct.
This avoids unwanted skk-flush enbuged in r246.
2005-01-18 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac, Makefile.am: Removed sumika.
* sumika/ Removed.
2005-01-18 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(uim_plugin_instance_quit):Don't free im_array and ic_array if not
initialized.
2005-01-18 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds on-the-fly custom variable update of live
uim-enabled processes via uim-helper-server
* uim/slib.c
- (procedurep): New function
- (init_subrs): Add initialization of procedurep
* scm/custom-rt.scm
- (custom-key-exist?, custom-set-value!): New procedure
- (define-custom): Add definition of 'key' custom variable in
addition to key predicate
- (custom-prop-update-custom-handler): Implement. warning: no
validation performed
* test/test-slib.scm
- (testcase procedures): New testcase
- (test precedure?): New test
* test/test-custom-rt.scm
- New file
- (testcase custom define-custom, testcase custom methods): New
testcase
- (test define-custom (choice), test define-custom (choice) #2, test
define-custom (key), test define-custom (key) #2, test
custom-key-exist?, test custom-value, test custom-set-value!):
New test
2005-01-18 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximserver.cpp (XimServer::customContext) : Don't update
ximserver's input method for now to avoid confusion.
2005-01-18 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-rt.scm
- (custom-exist?): Add check for symbol-bound?
- (custom-value): Cosmetic change
- (define-custom): Replace symbol-bound? with custom-exist?
- (custom-prop-update-custom-handler): Add a comment
2005-01-18 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-rt.scm
- (require-custom): Accept defined-order groups instead of
reversed-order one. This change has been fixed broken per-user
config loading on custom.scm. Thanks Etsushi Kato for reporting.
- (custom-list-primary-groups): Return as defined order
2005-01-18 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_key_get): Fix broken list acquisition. Thank you
Takuro Ashie for reporting
- (uim_custom_set): Add explanation about null list to the document
2005-01-17 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/plugin.c
- (uim_quit_plugin):
* Fix broken plugin-alist iteration in null list case
* Simplify
2005-01-17 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (extract_key_literal): Revert the C reimplementation of string
quotation in r311 to Scheme (the bugfix is applied. thanks). We
should done most job by Scheme, at least in uim-custom.c to keep
easy rewritability since various part of uim-custom
implementations may be altered
2005-01-17 Takuro Ashie <ashie@homa.ne.jp>
* uim/uim-custom.c
- (extract_key_literal): Quote UCustomKey_Regular type value.
2005-01-17 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c: Added the feature to apply key preference.
* po/ja.po: Fixed mistranslation.
2005-01-17 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-ipc.c (uim_ipc_open_command_with_option) : Don't modify
option string in this function as the variable is declared
const.
* scm/skk.scm (skk-proc-state-okuri) : Fix to reset okuri-head
character when it is changed in proc-state-okuri.
(skk-reset-handler) : Cosmetic change.
2005-01-17 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximserver.cpp (XimServer::customContext) : Fix stupid bug.
2005-01-17 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-ipc.c (uim_ipc_open_command_with_option) : Fix to
terminate argument for execvp with NULL pointer even when
the string contains more than 8 options.
2005-01-16 kzk <mover@hct.zaq.ne.jp>
* qt/quiminputcontext/src/quiminputcontext.cpp
- (setFocus) : Fix occasional mismatch of helper
label with focus in. uim_helper_client_focus_in() is definitely
needed to be called before uim_prop_list_update() and
uim_prop_label_update. This sequence is required to make sure the
exsitence of only one focused context in whole desktop.
This problem is originally reported by ekato, and I only applied
his patch. Thanks!
* qt/quiminputcontextplugin-qt4/quiminputcontext.cpp
- Ditto
2005-01-16 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* This commit is a workaround for r304.
* uim/uim.h : Add new prototype uim_ipc_open_command_with_option.
* uim/uim-ipc.c (uim_ipc_open_command_with_option) : New function.
Most of the code is from old uim_ipc_open_command(), but use execvp
instead of execlp. const char *option is used as a command line
argument.
(uim_ipc_open_command) : Call uim_ipc_open_command_with_option()
with option NULL.
* uim/prime.c (prime_ud_command) : Removed.
(prime_init_ud) : Don't free path here.
(prime_ud_get_path) : Use "/tmp/uim-prime-user" as the socket path.
(prime_get_ud_command) : Removed.
(prime_lib_init) : Use proper option for
uim_ipc_open_command_with_option().
* uim/strsep.c : New file. Add strsep() for system without it.
* uim/Makefile.am (libuim_la_SOURCES) : Remove prime.c. Add
strsep.c if it is needed.
* xim/util.cpp (strsep) : Removed.
* configure.ac : Add AM_CONDITIONAL for NEED_STRSEP_C.
2005-01-16 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/prime.c:
-(prime_init_ud):New function to connect to prime server.
-(prime_get_ud_path): New function to get the path of unix domain socket
-(prime_get_ud_command):New function to get prime command string
with -u option.
-(prime_read_msg_from_ud);New function to read message from file descriptor
-(prime_write_msg_to_ud): New function to write message to file descriptor
-(prime_lib_init): Changed argument. Now it's take an argument. If the
argument is true, uim-prime uses unix domain socket to communicate
with PRIME.
* scm/prime.scm:
-(prime-util-string-split): Allow non-string argument.
-(prime-engine-send-command):Don't append "\n" here.
-(prime-init-handler): Pass an argument for prime-lib-init.
* scm/prime-custom.scm:
-(prime-use-unixdomain?): New custom item for prime.
2005-01-16 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* gtk/gtk-im-uim.c (im_uim_send_im_list) : Cosmetic change.
(im_uim_parse_helper_str_im_change) : Properly update property
list of focused context after im switch.
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit implements user-specified "enabled IM list" and "lazy IM
loading" features. The lazy loading significantly reduces startup
time and memory consumption.
Per-user configuration works fine, but install-time stub-im
generation is not yet supported. So you have to run uim-pref & save
configuration. "enabled-im-list" in
~/.uim.d/customs/custom-global.scm controls which IMs should be
appeared to IM selection menus. This item may become editable by
uim-pref soon
* scm/lazy-load.scm
- New file to support lazy IM loading
- (stub-im-generate-init-handler, register-stub-im,
stub-im-generate-stub-im-list, stub-im-generate-all-stub-im-list):
New procedure
* scm/plugin.scm
- (required-modules-alist): Remove
- (currently-loading-module-name): New variable
- (require-module): Simplify
* scm/im.scm
- (record im): Add new member 'module-name'. register-im API is not
affected
- (normalize-im-list): New procedure
- (register-im): Support overwrite registration to allow stub-im
actualization
* test/test-im.scm
- (testcase im im-management, testcase im im-switching, testcase im
context management): Add explicit full module loading to setup to
follow user-enabled IM loading feature
- (test register-im): Follow the addition of 'module-name' of record
im
* scm/custom.scm
- (define-custom): Support overwrite registration
- (custom-value-as-literal): Fix invalid literalization for () as
list
* scm/loader.scm
- Perform full module loading only when lazy-load.scm is not loaded
* scm/im-custom.scm
- (custom-im-list-as-choice-rec): Split off responsibility of
reversing
- (custom custom-preserved-default-im-name): Add reverse
- (custom-default-enabled-im-list): Rename to custom-installed-im-list
- (custom-installed-im-list): New variable
- (enabled-im-list): Fix bootstrap-time (no per-user config file)
default value acquisition
- (custom-hook-literalize-enabled-im-list): New hook procedure to
generate stub-im definitions
* scm/Makefile.am
- (SCM_FILES): Add lazy-load.scm
2005-01-15 Masahito Omote <omote@utyuuzin.net>
* doc/PLUGIN: Commit current draft.
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (try-load, try-require): New procedure for error-proof file loading
* scm/custom-rt.scm
- (custom-load-group-conf): Replace 'load' with 'try-load' to avoid
the crash caused by "file not found". Thanks No.52 of [Anthy/uim
thread 5] for reporting
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/latin.scm
- Add lacking (require "generic.scm"). Thanks Masaki Yatsu for
reporting
2005-01-15 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/input-pad-ja.c (padbutton_clicked) : Remove redundant
"\n".
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/m17nlib.scm
- Replace 'require' for generic-key-custom.scm with
'require-custom'. All other custom definition files must be
loaded by require-custom, too. Developers, please keep in
mind this new rule. I'll describe it into doc/CUSTOM
2005-01-15 kzk <mover@hct.zaq.ne.jp>
* scm/Makefile.am
- remove custom-vars.scm
2005-01-15 kzk <mover@hct.zaq.ne.jp>
* qt/quiminputcontextplugin/src/quiminputcontext.cpp
* qt/quiminputcontextplugin-qt4/quiminputcontext.cpp
- add check if displayLimit is 0
- remove candidate selection by number key support
because this function is implemented in uim scm
level.
2005-01-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm: Fixed wrong previous commit. (Uncommented duplicated
IM list.)
2005-01-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm: Require generic-key-custom.scm instead of generic-key.scm
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit divides custom-vars.scm into appropriate files with
per-IM basis
* uim/uim.c
- (uim_init_scm):
* Load direct.scm by require-module instead of
uim_scm_require_file()
* Remove (require-custom "custom-vars.scm")
* scm/custom-vars.scm
- Remove obsolete file
* scm/Makefile.am
- (SCM_FILES):
* Remove custom-vars.scm and generic-key.scm
* Add skk-custom.scm, generic-key-custom.scm, prime-custom.scm,
generic-custom.scm, anthy-custom.scm, im-custom.scm,
spellcheck-custom.scm, and canna-custom.scm
* Reordered as appropriately
* scm/generic-key.scm
- Remove obsolete file
* scm/generic-key-custom.scm
- Moved generic-key custom variables from custom-vars.scm
* scm/im.scm
- Load im-custom.scm by require-custom
* scm/im-custom.scm
- Moved 'global' custom variables from custom-vars.scm
- (custom custom-preserved-default-im-name): Support null im-list at
startup of libuim
* scm/generic.scm
- Load generic-custom.scm by require-custom
- (generic-use-candidate-window?, generic-candidate-op-count,
generic-nr-candidate-max,
generic-commit-candidate-by-numeral-key?): Remove to replace with
corresponding custom variables
* scm/generic-custom.scm
- Moved generic custom variables from custom-vars.scm
* scm/anthy.scm
- Load anthy-custom.scm by require-custom
- (anthy-use-candidate-window?, anthy-candidate-op-count,
anthy-nr-candidate-max, anthy-show-segment-separator?,
anthy-select-candidate-by-numeral-key?, anthy-segment-separator):
Remove to replace with corresponding custom variables
- Replace label-name and short-desc of register-im with the
equivalent variables defined in anthy-custom.scm
* scm/anthy-custom.scm
- Moved anthy custom variables from custom-vars.scm
* scm/canna.scm
- Load canna-custom.scm by require-custom
- (canna-use-candidate-window?, canna-candidate-op-count,
canna-nr-candidate-max, canna-show-segment-separator?,
canna-segment-separator): Remove to replace with corresponding
custom variables
- (canna-server-name): Move to canna-custom.scm
- Replace label-name and short-desc of register-im with the
equivalent variables defined in canna-custom.scm
* scm/canna-custom.scm
- Moved canna custom variables from custom-vars.scm
- (canna-server-name): Raw variable moved from canna.scm
* scm/skk.scm
- Load skk-custom.scm by require-custom
- (skk-dic-file-name, skk-personal-dic-filename,
skk-uim-personal-dic-filename, skk-use-candidate-window?,
skk-candidate-op-count, skk-nr-candidate-max,
skk-use-recursive-learning?, skk-egg-like-newline?,
skk-commit-newline-explicitly?, skk-style, skk-use-with-vi?,
skk-use-numeric-conversion?, skk-commit-candidate-by-label-key?):
Remove to replace with corresponding custom variables
- Replace label-name and short-desc of register-im with the
equivalent variables defined in skk-custom.scm
* scm/skk-custom.scm
- Moved skk custom variables from custom-vars.scm
- (custom 'skk-commit-newline-explicitly?): Add a comment
* scm/prime.scm
- Load prime-custom.scm by require-custom
- (prime-nr-candidate-max, prime-always-show-window?,
prime-auto-register-mode?, prime-pseudo-mode-cursor?,
prime-char-annotation?, prime-custom-display-usage?,
prime-mask-pending-preedit?): Remove to replace with corresponding
custom variables
- (prime-dont-use-numeral-key-to-select-cand): Add a comment
- Replace label-name and short-desc of register-im with the
equivalent variables defined in prime-custom.scm
* scm/prime-custom.scm
- Moved prime custom variables from custom-vars.scm
- (custom 'prime-custom-display-usage?): New custom variable
* scm/spellcheck.scm
- Load spellcheck-custom.scm by require-custom
- (spell-use-candidate-window?, spell-candidate-op-count,
spell-preedit-immididate-commit?, spell-always-show-window?,
spell-on-key?): Remove to replace with corresponding custom
variables
- Replace label-name and short-desc of register-im with the
equivalent variables defined in spellcheck-custom.scm
* scm/spellcheck-custom.scm
- Moved spellcheck custom variables from custom-vars.scm
- Uncomment all disabled custom variables
- (spell-on-key): New custom variable
* test/test-im.scm
- (testcase im im-management, test register-im): Follow the addition
of im-label-name in r282 of new repository
2005-01-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim.desktop: New file for desktop entry.
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/skk-custom.scm
* scm/generic-key-custom.scm
* scm/prime-custom.scm
* scm/generic-custom.scm
* scm/anthy-custom.scm
* scm/im-custom.scm
* scm/spellcheck-custom.scm
* scm/canna-custom.scm
- New file copied from custom-vars.scm to prepare appropriate file
separation
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/plugin.scm
- (require-module): New procedure. This abstraction of loading is
required to implement the lazy loading feature
- Remove unused debug codes
* scm/loader.scm
- Update copyright
- Remove discrete require and load-plugins
- (installed-im-module-list): New variable
- Load all IMs listed in installed-im-module-list by
require-module. This code will be removed once the enabled-im-list
feature is implemented
2005-01-15 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/slib.c (Quotient) : Remove fail safe code for divided by
zero. Show error message instead in this case.
(Remainder) : Ditto.
2005-01-15 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.c
- (uim_init_scm): Load plugin.scm and custom-rt.scm before im.scm
* scm/custom-vars.scm
- (direct-im-canonical-name, anthy-im-canonical-name,
canna-im-canonical-name, skk-im-canonical-name,
prime-im-canonical-name, pyunihan-im-canonical-name,
pinyin-big5-im-canonical-name, py-im-canonical-name,
ipa-im-canonical-name, romaja-im-canonical-name,
hangul3-im-canonical-name, hangul2-im-canonical-name,
viqr-im-canonical-name, tutcode-im-canonical-name,
tcode-im-canonical-name, spellcheck-im-canonical-name): Remove
- (custom-im-list-as-choice-rec): New procedure
- (custom custom-preserved-default-im-name,
custom-default-enabled-im-list): Simplify
- (custom-group key): Remove
- (generic-on-key, generic-off-key, generic-begin-conv-key,
generic-commit-key, generic-cancel-key,
generic-next-candidate-key, generic-prev-candidate-key,
generic-next-page-key, generic-prev-page-key,
generic-beginning-of-preedit-key, generic-end-of-preedit-key,
generic-kill-key, generic-kill-backward-key,
generic-backspace-key, generic-delete-key, generic-go-left-key,
generic-go-right-key, generic-return-key): Remove useless
subgroup 'key'
- (anthy-im-label-name, anthy-im-short-desc, canna-im-label-name,
canna-im-short-desc, skk-im-label-name, skk-im-short-desc,
prime-im-label-name, prime-im-short-desc, spell-im-label-name,
spell-im-short-desc): New variable
- (custom-group anthy, custom-group canna, custom-group skk,
custom-group prime, custom-group spellcheck): Simplify with
*-im-label-name and *-im-short-desc
- (custom spellcheck-use-candidate-window?): Rename to
spell-use-candidate-window?
- (custom spell-use-candidate-window?): Renamed from
spellcheck-use-candidate-window?
- (custom spellcheck-candidate-op-count): Rename to
spell-candidate-op-count
- (custom spell-candidate-op-count): Renamed from
spellcheck-candidate-op-count
- (custom spellcheck-preedit-immediate-commit?): Rename to
spell-preedit-immediate-commit?
- (custom spell-preedit-immediate-commit?): Renamed from
spellcheck-preedit-immediate-commit?
- (custom spellcheck-always-show-window?): Rename to
spell-always-show-window?
- (custom spell-always-show-window?): Renamed from
spellcheck-always-show-window?
2005-01-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-commit-by-label-key) : Cosmetic change.
2005-01-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-commit-by-label-key) : One more fix for display
limit with 0.
* scm/skk-editor.scm : Update copyright.
2005-01-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/generic.scm : Add check for display limit with 0.
* scm/anthy.scm : Ditto.
* scm/skk.scm : Ditto.
* gtk/gtk-im-uim.c : Ditto.
* xim/ximserver.cpp : Ditto.
* uim/slib.c : Add fail safe behavior for Remainder and Quotient.
2005-01-14 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds lightweight version of uim-custom facility named
custom-rt.scm, and Fix a bug related to custom type 'key'
* scm/custom.scm
- (custom-set-value!): Fix broken define-key invocation. The test
for the case is added to test-custom.scm and validated
- (record custom-choice-rec): Move to custom-rt.scm
- (custom-add-hook, define-custom): Mark as API
- (custom-definition-as-literal): Simplify
- (custom-reload-customs): New procedure to support
custom-rt.scm. The test for this procedure is not yet available
- Add custom-reload-customs at end of file
* scm/custom-rt.scm
- New file
- All codes are not yet validated by testing framework
- (record custom-choice-rec): Moved from custom.scm
- (custom-required-custom-files, custom-rt-primary-groups): New
variables
- (custom-load-group-conf, require-custom,
custom-modify-key-predicate-names, custom-rt-add-primary-groups):
New procedure
- (custom-list-primary-groups, custom-add-hook, define-custom-group,
custom-exist?, custom-value, define-custom,
custom-prop-update-custom-handler): New procedure. These
procedures are lightweight or dummy version of same name ones in
custom.scm. They are overridden by full-featured version once the
custom.scm has been loaded
* scm/Makefile.am
- (SCM_FILES): Add custom-rt.scm
* test/test-custom.scm
- (testcase custom custom-group, testcase custom custom-group
methods): Modify loading process of custom.scm to conform to
introduction of custom-rt.scm
- (test define-custom (key)): Add a test for key reference
* uim/uim.c
- (uim_init_scm):
* Replace custom.scm with custom-rt.scm
* Load plugin.scm before custom-rt.scm
* Replace uim_scm_require_file("custom-vars.scm") and
uim_custom_load() with require-custom
2005-01-14 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/im.scm
- (record im): Add new member 'label-name'. The name is under
discussion and not final
- (register-im): Add label-name arg
* scm/m17nlib.scm
- (m17nlib-register):
* Add label-name arg to register-im
* Replace 'intern' with string->symbol to conform to R5RS
* scm/generic.scm
- (generic-register-im): Add label-name arg
* scm/hangul.scm
- (hangul-register-im):
* Update copyright
* Add label-name arg
- Add label-name arg to hangul-register-im invocations and apply
cosmetic change
* scm/tcode.scm
* scm/tutcode.scm
* scm/ipa.scm
* scm/prime.scm
* scm/spellcheck.scm
* scm/latin.scm
* scm/direct.scm
* scm/canna.scm
* scm/viqr.scm
* scm/anthy.scm
* scm/skk.scm
* scm/pyload.scm
- Update copyright
- Add label-name arg to register-im invocations
2005-01-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm : Explicitly denote empty list as '(). Replace some
empty list with #f appropriately. Check empty list with null?
explicitly.
(skk-get-nth-candidate) : Simplify.
(skk-proc-state-okuri) : Fix backspace key behavior.
* scm/skk-editor.scm : Explicitly denote empty list as '().
2005-01-14 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c: Added key preference UI, but it doesn't work yet.
2005-01-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct) : Simplify the changes in
r274.
2005-01-14 kzk <mover@hct.zaq.ne.jp>
* handle encoding of uim-pref-qt
* qt/uim-kdehelper/src/pref/uim-pref-qt.h
- (addCustomTypeOrderedList): new function
* qt/uim-kdehelper/src/pref/uim-pref-qt.cpp
- (main): call bind_textdomain_codeset for ensuring
the encoding of custom variable is UTF-8. But now
PACKAGE is hardcoded as "uim", so once this is
merged into uim, need to include "uim/config.h"
and "uim/gettext.h"
- (addCustomTypeOrderedList): new function
- (_FU8): new macro
- replace qFatal with qWarning
- update Comment
2005-01-14 kzk <mover@hct.zaq.ne.jp>
* remove KDE dependency of chardict-qt, switcher-qt,
and toolbar-qt from source code for merging
uim-kdehelper to uim package.
* qt/uim-kdehelper/src/chardict/bushuviewwidget.cpp
- remove #include <klocale.h>
* qt/uim-kdehelper/src/chardict/uim-chardict-qt.cpp
- remove #include <klocale.h>
* qt/uim-kdehelper/src/switcher/im-switcher-qt.cpp
- remove #include <klocale.h>
* qt/uim-kdehelper/src/common/quimhelpertoolbar.cpp
- remove #include <klocale.h>
* qt/uim-kdehelper/src/Makefile.am
- add pref in SUBDIRS
2005-01-13 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds "a group is updated" callback and "group list is
updated" callback feature to uim-custom API. The features are
validated by test-custom.scm in Scheme level. Calling via
uim-custom.h is not yet tested
* uim/uim-custom.h
- (uim_custom_group_cb_add, uim_custom_group_cb_remove,
uim_custom_global_cb_add, uim_custom_global_cb_remove): New
function
* uim/uim-custom.c
- (uim_custom_group_cb_add, uim_custom_group_cb_remove,
uim_custom_global_cb_add, uim_custom_global_cb_remove): New
function
- (uim_custom_global_cb_update_cb_t): New type
- (uim_custom_global_cb_update_cb_gate, uim_bool custom_cb_add,
uim_bool custom_cb_remove): New static function
- (uim_custom_init): Add initialization of custom-global-update-cb-gate
- (uim_custom_cb_add): Simplify with custom_cb_add()
- (uim_custom_cb_remove): Simplify with custom_cb_remove()
* scm/custom.scm
- (custom-group-update-hooks, custom-group-list-update-hooks): New
variable
- (define-custom-group): Add custom-group-list-update-hooks handling
- (define-custom): Add custom-group-update-hooks handling
- (custom-register-update-cb): Remove
- (custom-register-cb): New procedure
* test/test-custom.scm
- (testcase custom hooks): Modify setup proc
- (test custom-register-update-cb, test custom-register-update-cb (2
callbaks)): Remove
- (test custom-register-cb (custom update hook), test
custom-register-cb (custom update hook, 2 callbaks), test
custom-register-cb (custom-group update hook), test
custom-register-cb (custom-group update hook, 2 callbaks), test
custom-register-cb (group-list update hook)): New test
2005-01-13 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-vars.scm
- (custom candidate-window-position):
* Restore the custom variable removed by misunderstanding
* Change custom type from string to choice
* uim/uim-compat-scm.c
- (uim_symbol_value_str): Allow value as symbol
* scm/util.scm
- (uim-symbol-value-str): New procedure for uim_symbol_value_str()
* po/uim.pot
* po/ja.po
- Update
2005-01-13 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct) : Generalization of
skk-plain-space-key? case.
2005-01-13 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-get-nth-candidate) : Replace #f with () on
numlst if it is empty.
(skk-prepare-commit-string) : Ditto.
(skk-check-candidate-window-begin) : Ditto.
2005-01-13 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/plugin.scm: Fixed a typo.
2005-01-13 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/setenv.c: Fixed the warning:ISO C forbids an empty source file
This warning was appeared on the system which already have setenv(3)
2005-01-13 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
-(custom-expand-key-references, custom-list-as-literal,
custom-definition-as-literal): Simplify
* test/test-custom.scm
- (test custom-definition-as-literal): Follow the specification
change
* scm/anthy.scm
- (anthy-converting-state-preedit, anthy-get-commit-string):
Simplify
2005-01-13 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/generic.scm (generic-commit-by-numkey) : Fix typo.
* uim/slib.c (Quotient) : Add comment.
(Remainder) : New function for r5rs. Exported as remainder for
scheme.
* scm/util.scm (quotient) : New for r5rs. This is an alias of '/'
in siod.
* scm/skk.scm : Update copyright.
(skk-commit-candidate-by-label-key?) : New custom
variable. Default is #f.
(skk-context-rec-spec) : Add new member nr-candidates in order to
reduce complexity of calling skk-lib-get-nr-candidates many
times.
(skk-begin-conversion) : Reset skk-context-nr-candidates here.
(skk-check-candidate-window-begin) : Call
skk-lib-get-nr-candidates only at here and store it to
skk-context-nr-candidates.
(skk-commit-by-label-key) : New function. Commit candidate
by key denoted by its heading label. Only numeric key handling
is enabled yet.
(skk-change-candidate-index) : Simplify using
skk-context-nr-candidates.
(skk-heading-label-char?) : New function. Currently only handles
numeric characters.
(skk-proc-state-converting) : Add candidate committing facility
using label keys.
(skk-get-candidate-handler) : Change to use remainder as label.
* scm/custom-vars.scm (skk-commit-candidate-by-label-key?) : New
custom variable for uim-skk.
2005-01-13 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds string-join and other new utility procedures to
util.scm. All changes are validated by test-util.scm
* scm/util.scm
- Update copyright
- (join, string-join, string-append-map, append-map): New procedure
- (iota): Support optional 'start' argument
- (alist-replace): Remove the comment "not yet tested"
* test/test-util.scm
- (test join, test string-join, test string-append-map, test
append-map): New test
- (test iota): Add tests for 'start' argument
2005-01-13 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-definition-as-literal): Fix bogus define-key literal
generation. Thanks No.28 of [Anthy/uim thread 5] for reporting
2005-01-13 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit suppresses pedantic warnings. No logical changes have
been applied actually
* uim/uim-scm.h
- (uim_func_ptr): New type
- (uim_scm_c_func_ptr, uim_scm_make_func_ptr): New function
* uim/uim-scm.c
- (uim_scm_c_func_ptr, uim_scm_make_func_ptr): New function
- Modify the word expression of header comment to suppress warning
* uim/siod.h
- Add a coumment about static declarations in this file
- (struct obj): Add new member c_func_pointer
- (tc_c_func_pointer, FPOINTERP, NFPOINTERP): New macro
- (C_FUNC): New type
- (get_c_func_pointer, funcptrcons): New static function
* uim/slib.c
- (get_c_func_pointer, funcptrcons, func_pointer_prin1): New static
function
- (init_storage): Add initialization of print hook for tc_c_func_pointer
* uim/uim-compat-scm.c
- (uim_scm_c_list_free): Formal rewriting to suppress warning
* uim/uim-custom.c
- (extract_choice_list): Formal rewriting to suppress warning
- (uim_custom_cb_update_cb_gate): Replace uim_scm_c_ptr() with
uim_scm_c_func_ptr() to suppress warning
- (uim_custom_cb_add): Replace uim_scm_make_ptr() with
uim_scm_make_func_ptr() to suppress warning
* uim/plugin.c
- (plugin_load):
* Cosmetic change
* Replace uim_scm_make_ptr() with uim_scm_make_func_ptr() to
suppress warning
- (plugin_unload): Replace uim_scm_c_ptr() with uim_scm_c_func_ptr()
to suppress warning
* uim/canna.c
- (UIM_CANNA_DEBUG): New macro. Commented out by default
- (context_array_len): Comment out the unused variable to suppress
warning
- (get_canna_context): Enclose printf debug messages into #ifdef
UIM_CANNA_DEBUG
- (_update_segment, get_nth_candidate):
* Ditto
* Cast buf arg for RkGetKanji() to suppress warning
- (commit_segment): Comment out unused variables to suppress warnings
- (uim_plugin_instance_quit): Comment out unused dynamic loading
related check to suppress warning
2005-01-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
scm/skk.scm (skk-flush) : Reset candidate window explicitly.
2005-01-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
Update on setup tools. Fix some English.
2005-01-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/canddisp.cpp : Just update copyright.
* xim/canddisp.h : Ditto.
* xim/connection.cpp : Ditto.
* xim/connection.h : Ditto.
* xim/compose.cpp : Ditto.
* xim/compose.h : Ditto.
* xim/convdisp.cpp : Ditto.
* xim/convdisp.h : Ditto.
* xim/helper.cpp : Ditto.
* xim/helper.h : Ditto.
* xim/locale.cpp : Ditto.
* xim/main.cpp : Ditto.
* xim/util.cpp : Ditto.
* xim/util.h : Ditto.
* xim/xdispatch.h : Ditto.
* xim/xim.h : Ditto.
* xim/ximic.cpp : Ditto.
* xim/ximim.cpp : Ditto.
* xim/ximpacket.cpp : Ditto.
* xim/ximpn.h : Ditto.
* xim/ximtrans.cpp : Ditto.
* xim/ximserver.h : Ditto.
(class XimServer) : Add new private member mUsePreservedDefaultIM.
* xim/ximserver.cpp : Update copyright.
(XimServer::customContext) : Update ximserver's global im with
customized one.
2005-01-12 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_key_get): Fix broken Scheme interfaces
- (uim_custom_cb_remove): Fix wrong variable name
* uim/uim-compat-scm.c
- (uim_scm_c_str_failsafe): Add check for #f
* scm/custom-vars.scm
- (custom switch-im-key): Uncomment
- (custom generic-on-key, custom generic-off-key, custom
generic-begin-conv-key, custom generic-commit-key, custom
generic-cancel-key, custom generic-next-candidate-key, custom
generic-prev-candidate-key, custom generic-next-page-key, custom
generic-prev-page-key, custom generic-beginning-of-preedit-key,
custom generic-end-of-preedit-key, custom generic-kill-key, custom
generic-kill-backward-key, custom generic-backspace-key, custom
generic-delete-key, custom generic-go-left-key, custom
generic-go-right-key, custom generic-return-key): Gettextize
- (custom skk-dic-file-name, custom skk-personal-dic-filename,
custom skk-uim-personal-dic-filename): Move to bottom of the group
* po/uim.pot
* po/ja.po
- Update
2005-01-12 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-vars.scm
- (viqr-im-canonical-name, custom 'prime-mask-pending-preedit?):
Modify message appropriately
- (custom uim-color, custom skk-style): Gettextize
* scm/canna.scm
* scm/viqr.scm
- Modify short-desc of IM appropriately
* po/uim.pot
* po/ja.po
- Update
2005-01-12 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/anthy.scm:
-(anthy-flush): Candidate window should be deactivated before
calling (anthy-context-set-candidate-window! ac #f)
2005-01-12 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit provides some custom variables for testing new custom
types 'key' and 'ordered-list'
* scm/custom.scm
- (custom-key-advanced-editor?): New procedure
- (custom-range): Fix ordered-list handling
* test/test-custom.scm
- (test custom-range): Follow ordered-list specification fix
* scm/custom-vars.scm
- (pyunihan-im-canonical-name, pinyin-big5-im-canonical-name,
py-im-canonical-name): Update label string
- (custom custom-preserved-default-im-name): Replace manual list
construction with custom-choice-rec-new as proper operation
- (custom-default-enabled-im-list): New variable
- (custom enabled-im-list): New custom
- (custom-group key, custom-group global-keys): New custom group
- (custom generic-on-key, custom generic-off-key, custom
generic-begin-conv-key, custom generic-commit-key, custom
generic-cancel-key, custom generic-next-candidate-key, custom
generic-prev-candidate-key, custom generic-next-page-key, custom
generic-prev-page-key, custom generic-beginning-of-preedit-key,
custom generic-end-of-preedit-key, custom generic-kill-key, custom
generic-kill-backward-key, custom generic-backspace-key, custom
generic-delete-key, custom generic-go-left-key, custom
generic-go-right-key, custom generic-return-key): New custom
* helper/pref-gtk.c
- (add_custom_type_orderedlist): New function as placeholder. Rename
and implement this function appropriately
- (add_custom): Add ordered-list handling
2005-01-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximserver.cpp (InputContext::focusIn) : Same change as r256
for uim-xim.
* xim/compose.cpp (XimIM::ParseComposeStringFile) : Cosmetic change.
2005-01-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* gtk/gtk-im-uim.c (focus_in) : Fix occasional mismatch of helper
label with focus in. uim_helper_client_focus_in() is definitely
needed to be called before uim_prop_list_update() and
uim_prop_label_update. This sequence is required to make sure the
exsitence of only one focused context in whole desktop.
2005-01-12 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-vars.scm
- Comment out all definitions of spellcheck group since spellcheck
IM is not available yet
- Sort some custom variables
2005-01-12 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-key.c
- (struct key_entry):
* Named from the anonymous struct for key_tab
* Add const qualifier to member 'str'
- (key_tab): Rewrite definition using struct key_entry
- (define_valid_key_symbols): New static function
- (get_sym, keycode_to_sym, handle_key): Add const qualifier to
appropriate 'char *' pointers
- (uim_init_key_subrs):
* Add define_valid_key_symbols() invocation
* Remove unnecessary cast
* scm/key.scm
- (valid-key-symbols): Remove here. The variable is defined in
uim-key.c
- (key-symbol?): New procedure
- (set-key-binding, regist-key-binding): Remove these obsolete
placeholders existing in comment
* uim/slib.c
- (init_subrs): Cosmetic change
2005-01-12 YamaKen <yamaken@bp.iij4u.or.jp>
* All functions of new custom type 'key' are validated and available
for use in Scheme level. Using via uim-custom.h is not checked yet
* scm/custom.scm
- (custom-key?): Apply valid-strict-key-str? for string element
- (define-custom): Fix broken custom-set-value! invocation for
symbol or list value
- (custom-set-value!): Fix broken define-key invocation
* test/test-custom.scm
- (test key-definition?): Remove
- (test custom-key?, test custom-expand-key-references, test
define-custom (choice) #2, test define-custom (key), test
define-custom (key) #2): New test
- (testcase custom custom-symbol): Rename to custom-choice
- (testcase custom custom-choice): Renamed from custom-symbol
- (test define-custom (symbol)): Rename to test define-custom
(choice)
- (test define-custom (choice)):
* Renamed from test define-custom (symbol)
* Add value check
- (testcase custom custom-group): Replace *-im-canonical-name and
*-im-desc with direct string literal to avoid being affected by
custom-vars.scm
- (test custom-valid?, test custom-value, test custom-set-value!,
test custom-default?, test custom-default-value, test
custom-groups, test custom-type, test custom-type-attrs, test
custom-range, test custom-label, test custom-desc, test
custom-value-as-literal, test custom-definition-as-literal): Add
test for 'key'
2005-01-11 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-vars.scm
- (custom-group anthy, custom-group canna, custom-group skk,
custom-group prime, custom-group spellcheck): Fix undefined
variable reference for description. Thanks No.20 of [Anthy/uim
thread 5] for reporting
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/generic.scm:
-(generic-commit-candidate-by-numeral-key?): New variable.
-(generic-commit): New procedure.
-(generic-commit-by-numkey): New procedure.
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct) : Update comment about
code committed in r246. Update code on key events with
modifiers.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm:
-(m17nlib-update-candidate): Removed unneed calling of
im-activate-candidate-selector
2005-01-11 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-vars.scm
- (direct-im-desc, anthy-im-desc, canna-im-desc, skk-im-desc,
prime-im-desc, pyunihan-im-desc, pinyin-big5-im-desc, py-im-desc,
ipa-im-desc, romaja-im-desc, hangul3-im-desc, hangul2-im-desc,
viqr-im-desc, tutcode-im-desc, tcode-im-desc, spellcheck-im-desc):
Remove
- (romaja-im-canonical-name, hangul3-im-canonical-name,
hangul2-im-canonical-name): Modify as appropriately
- (custom custom-preserved-default-im-name): Replace IM description
with registered IM's own one
* scm/hangul.scm
- Modify short-desc of the 3 input methods
* po/uim.pot
- Update
* po/ja.po
- Update and fix. Thanks No.10 of [Anthy/uim thread 5] for
suggestion
2005-01-11 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (candidate-window-position): Remove since unused
test/test-custom.scm
- (custom candidate-window-position): Remove since unused
- (custom canna-server-name): Remove. This custom variable caused
duplicate "Canna server name" item on uim-pref
- (custom-hook-literalize-preserved-canna-server-name): New procedure
- Add custom-hook-literalize-preserved-canna-server-name to
custom-literalize-hooks to output cannaserver definition to
custom-canna.scm
2005-01-11 YamaKen <yamaken@bp.iij4u.or.jp>
* test/test-custom.scm
- (testcase custom custom-group): Add most of custom variable
definitions copied from custom-vars.scm to avoid being affedted by
its modification
- (test custom-list-groups, test custom-collect-by-group): Follow
the change of predefined customs
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct) : Commit pending rk "n" with
skk-return-key?. Flush context for native (not for uim skk)
event with {control,alt} mask (but I can't understand why key 32
exists here? Also meaning of the code and its comment
differs??)
2005-01-11 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-scm.c
- (siod_init_subr): Fix wrong type of 3rd argument
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac (NEED_SETENV_C) : New conditional variable to check
whether uim/setenv.c is needed to compile.
* uim/Makefile.am : Add setenv.c into libuim_la_SOURCES depending
on NEED_SETENV_C condition.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm:
-(duplicated-im?): Closed function definition.
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-proc-state-direct) : With skk-plain-space-key?,
compose rk string even with using the space character. And
don't commit native space if composed string is zenkaku space.
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/custom-vars.scm : Fix typo in skk-use-with-vi? section.
2005-01-11 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/m17nlib.scm
- Add a comment about duplicated-im-list
- (duplicated-im?): Simplify
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/helper-candwin-gtk.c (candwin_active) : Split candidate
line with "\t" into only 2 segment since prime may return
candidate string containing tab.
* qt/uim-kdehelper/src/candwin/uim-candwin-qt.cpp
(CandidateWindow::activeCand) : Ditto.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
gtk/uim-cand-win-gtk.c:
-(uim_cand_win_gtk_layout): Use width of candidate window to calculate
candidate windows's position.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/loader.scm: Added calling of new plugin prime.
* uim/Makefile.am: Added new plugin file libuim-prime.so.
* uim/uim.c: Removed calling of uim_init_prime/uim_quit_prime.
* uim/context.h: Removed function prototypes of uim_init_prime and
uim_quit_prime.
* uim/prime.c:
-(uim_plugin_instance_init): Renamed from uim_init_prime.
-(uim_plugin_instance_quit): Renamed from uim_init_prime.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/plugin.c:
-(plugin_unload): Removed unused variable.
-(uim_quit_plugin): Removed unused variable.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim.h, uim/uim-ipc.c:
-(uim_ipc_open_command): Added const qualifier.
-(uim_ipc_send_command): Added const qualifier.
* uim/prime.c: Added const qualifiers.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim-func.c:
(im_clear_mode_list): Reverted the change in revision 226.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c: Removed all unsigned qualifier to fix warnings.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c:
-(preedit_changedp): Fixed wrong return value. This may cause a problem
with m17n-lib 1.1.0 or lower. (I didn't checked.)
-(get_right_of_cursor): Fixed an careless bug.
-(get_nr_candidates): Removed unused variable.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm:
-(duplicated-im?): Fixed typo. deplicated -> duplicated.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/plugin.scm:
-(uim-plugin-lib-load-path): Fixed that the priority of LIBUIM_PLUGIN_DIR
was lower than other pathes.
-(uim-plugin-scm-load-path): Fixed that the priority of LIBUIM_SCM_FILES
was lower than other pathes.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim.c: Oops, in my previous ocmmit, I've forgotten to revert CONTEXT_ARRAY_SIZE.
I changed the value of this variable to 5 for debugging perpose, but that's too
short for practical use.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim.c:
-(get_context_id): Substitute -1 if there's no free context slot.
-(uim_create_context): Fail if id == -1
-(uim_switch_im): Call release-context before calling create-context.
-(uim_release_context):substitute NULL to uc->modes[i] after freed.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/m17nlib.scm: Stop to register some duplicated input methods.
-(duplicated-im-list): New variable. A list of duplicated IM name.
-(duplicated-im?): New function. Return #t if argument is
duplicated IM name.
-(m17nlib-register): Stop to register some duplicated input methods.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim-fun.c:
-(uim_release_preedit_segments): Added NULL check.
-(im_clear_mode_list): Break for loop if NULL str found.
2005-01-11 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/m17nlib.c: Fixed some warnings.
-(uim_plugin_instance_init): Renamed from uim_init_m17nlib.
-(uim_plugin_instance_quit): Renamed from uim_quit_m17nlib.
2005-01-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximserver.cpp (InputContext::candidate_activate) : Use
uim_candidate_get_heading_label() to get heading label. Format
of string sent to helper-candidate-window is changed according
to this.
* helper/helper-candwin-gtk.c (candwin_activate) : Change column
type for heading labels as G_TYPE_STRING from G_TYPE_UNIT. Use
heading labels of candidates with supplied string from uim-xim
instead of calculated one.
(str_parse) : Avoid unnecessary loop.
* qt/uim-kdehelper/src/candwin/uim-candwin-qt.cpp
(CandidateWindow::activateCand) : Use heading labels of candidates
with supplied string from uim-xim instead of calculated one.
* doc/HELPER-CANDWIN : Update section about activate command.
2005-01-11 Masahito Omote <omote@utyuuzin.net>
* uim/plugin.c:
- (plugin_quit): Move unloading code from 'uim_quit_plugin'.
- (uim_quit_plugin): Simplified.
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm : Make skk-candidate-op-count behave as intended
with uim-pref.
* scm/custom-vars.scm : Change skk-candidate-op-count. Add two
more skk related options.
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/plugin.scm
- (uim-plugin-lib-load-path, uim-plugin-scm-load-path): Simiplify
the definition
- (record plugin-entry): New record to simplify the implementation
- (plugin-list-append): Simplify with plugin-entry
- (plugin-list-query-library, plugin-list-query-instance-init,
plugin-list-query-instance-quit):
* Simplify with plugin-entry
* Add existence check for plugin entry corresponding to
plugin-name
* uim/plugin.c
- (uim_quit_plugin): Fix memory leaks
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/siod.h
- (NPOINTERP): New macro
* uim/slib.c
- (get_c_pointer): Fix inversed type check
* uim/plugin.c
- (uim_quit_plugin):
* Enable when #ifdef UIM_SCM_NESTED_EVAL
* Add uim_scm_gc_protect_stack() since this function is called
from C execution context. I'll describe about it into
doc/UIM-SCM
* uim/uim-scm.c
- (siod_init_subr): New static function
- (uim_scm_init_subr_0, uim_scm_init_subr_1, uim_scm_init_subr_2,
uim_scm_init_subr_3, uim_scm_init_subr_4, uim_scm_init_subr_5):
Replace init_subr() with siod_init_subr() to apply
uim_scm_gc_protect_stack() since this function is called from C
execution context
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim.c (uim_check_im_exist) : Add sanity check for the case
getting NULL evaluated string with uim-get-default-im-name or
uim-get-im-name-for-locale. Thanks Mike FABIAN for reporting.
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Separate uim-fep specific dependent library into
FEP_LIBADD from LIBS.
* fep/Makefile.am (uim_fep_LDADD) : Use FEP_LIBADD.
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_key_get): Fix argument passing of UIM_EVAL_FSTRING()
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit encapsulates Siod dependency into uim-scm module. All
global symbols defined in slib.c listed below have been hidden to
resolve namespace pollution. Now all global symbols of libuim.so has
uim_ prefix. Try objdump -TC libuim.so|egrep -v '(\*UND\*| uim_)'
Although all direct linking to Siod functions and variables have
been removed, uim/*.[ch] and scm/*.scm are still depending on Siod
specific behaviors, and uim-scm API provides some Siod specific
interfaces. More elaborations of uim-scm API is required before
providing alternative Scheme interpreter such as
uim-scm-tinyscheme.c or uim-scm-gauche.c.
* uim/siod.h
- (number2string, string2number, caaar, caadr, cadar, caddr, cdaar,
cdadr, cddar, cdddr, apply1, siod_verbose_level): Remove
- (siod_init, siod_quit, set_repl_hooks, get_c_string,
get_c_string_dim, get_c_int, nlength, get_c_pointer, cons, car,
cdr, setcar, intcons, eql, symcons, symbol_boundp, symbol_value,
symbol_to_string, rintern, closure, ptrcons, init_subr,
init_subr_0, init_subr_1, init_subr_2, init_subr_2n, init_subr_3,
init_subr_4, init_subr_5, init_lsubr, init_fsubr, init_msubr,
delq, set_eval_hooks, leval, symbolconc, lprin1f, lread, lreadtk,
lreadf, require, strcons, equal, set_fatal_exit_hook, intern,
gc_protect, siod_gc_protect_stack, siod_gc_unprotect_stack,
siod_repl_c_string_entered, repl_c_string, siod_return_value,
reverse, nreverse, cadr, caar, cdar, cddr, siod_true_value,
siod_false_value, lapply, listn, must_malloc, get_c_file,
last_c_errmsg, llast_c_errmsg, siod_c_provide, funcall1, funcall2,
siod_set_lib_path): Make static. Should be moved into slib.c
* uim/slib.c
- (siod_verbose_level): Make static
- (get_c_int, nlength, siod_set_lib_path, strcons, repl_c_string,
siod_repl_c_string_entered, set_repl_hooks, siod_return_value,
set_fatal_exit_hook, siod_gc_protect_stack,
siod_gc_unprotect_stack, get_c_string, get_c_string_dim, cons,
car, cdr, setcar, intcons, equal, eql, symcons, symbol_boundp,
symbol_value, symbol_to_string, must_malloc, rintern, intern,
closure, gc_protect, get_c_pointer, ptrcons, init_subr,
init_subr_0, init_subr_1, init_subr_2, init_subr_2n, init_subr_3,
init_subr_4, init_subr_5, init_lsubr, init_fsubr, init_msubr,
set_eval_hooks, leval, lapply, reverse, symbolconc, lprin1f,
lread, lreadf, lreadtk, delq, siod_c_provide, require, get_c_file,
nreverse, caar, cadr, cdar, cddr, siod_true_value,
siod_false_value, last_c_errmsg, llast_c_errmsg, funcall1,
funcall2, listn, siod_quit, siod_init): Make static
* uim/uim-scm.c
- Revise the header comment about Scheme interpreter
- Include slib.c and uim-compat-scm.c
- (true_sym, false_sym): Make static
- (string_equal): Remove to replace with same function defined in
slib.c
- (uim_scm_string_equal): Adapt to string_equal() defined in slib.c
- (uim_scm_init): Remove initialization of string=?
* uim/uim-scm.h
- (true_sym, false_sym): Remove
- (TRUEP, FALSEP, NTRUEP, NFALSEP): Rewrite without true_sym and
false_sym
* uim/uim-compat-scm.c
- (uim_scm_symbol_value_str, uim_scm_symbol_value): Replace
false_sym with uim_scm_f()
* uim/Makefile.am
- (EXTRA_DIST): Add slib.c and uim-compat-scm.c
- (libuim_la_SOURCES): Remove slib.c and uim-compat-scm.c
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit removes Siod dependency from intl.c
* uim/Makefile.am
- Remove intl.h
* uim/context.h
- Update copyright
- (uim_init_intl_subrs): New function
* uim/uim.c
- (uim_init_scm):
* Add uim_init_intl_subrs()
* Call uim_init_util_subrs() earlier
* uim/intl.h
- Remove
* uim/intl.c
- Add lacking copyright header
- Remove #include "siod.h"
- Include config.h, uim-scm.h, uim-compat-scm.h, context.h
- (intl_gettext_package, intl_textdomain, intl_bindtextdomain,
intl_bind_textdomain_codeset, intl_gettext, intl_dgettext,
intl_dcgettext, intl_ngettext, intl_dngettext, intl_dcngettext):
* Replace LISP with uim_lisp
* Replace get_c_int() with uim_scm_int()
* Replace intcons() with uim_scm_make_int()
* Replace get_c_string() with uim_scm_refer_c_str()
* Replace strcons() with uim_scm_make_str()
* Replace NULLP with uim_scm_nullp()
- (init_intl): Rename to uim_init_intl_subrs() to avoid global
symbol table pollution
- (uim_init_intl_subrs):
* Renamed from init_intl()
* Replace init_subr_*() with uim_scm_init_subr_*()
* Replace siod_c_provide() with uim_scm_provide()
* uim/slib.c
- Remove #include "intl.h"
- (siod_init): Remove init_intl()
* uim/uim-compat-scm.h
- Update copyright
- (uim_scm_provide): New function
* uim/uim-compat-scm.c
- (uim_scm_provide): New function
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/context.h : Remove uim_init_* and uim_quit_* for anthy and
skk.
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c : Update copyright. Make SKK facility pluggable
using uim_plugin_instance_init() and uim_plugin_instance_quit().
* uim/uim.c : Remove uim_init_skk_dic() and uim_quit_skk_dic().
* scm/loader.scm : Make SKK pluggable.
* uim/Makefile.am : Remove skk-dic.c from libuim_la_SOURCES, and
create skk module from the file. Move -lcanna from
libuim_canna_la_LDFLAGS to libuim_canna_la_LIBADD. Remove
"@LIBINT@ @LIBICONV@" from libuim_m17n_lib_la_LIBADD,
libuim_scim_la_LIBADD, libuim_canna_la_LIBADD, and
libuim_anthy_la_LIBADD.
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Add new option --enable-compat-table
- Add configure result message for developers
- Set default enable_* vars even if not specified by configure
option
* scm/Makefile.am
- (SCM_FILES): Enclose hk.scm into if COMPAT_TABLE
* uim/Makefile.am
- (libuim_la_SOURCES): Enclose uim-table.c into if COMPAT_TABLE
* uim/context.h
- (uim_init_table_subrs): Enclose into #ifdef UIM_COMPAT_TABLE
* uim/uim.c
- (uim_init_scm): Enclose uim_init_table_subrs() into #ifdef
UIM_COMPAT_TABLE
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit removes Siod dependency from uim-util.c
* uim/uim-util.c
- Remove #include "siod.h"
- (str_seq_equal, str_seq_partial): Rewrite siod dependent codes
with uim-scm API
- (string_equal) Move to uim-scm.c
- (uim_init_util_subrs): Move initialization of string=? to uim-scm.c
* uim/uim-scm.h
- Add API intention to the header comment
- (uim_scm_length): New function
* uim/uim-scm.c
- (uim_scm_nullp, uim_scm_eq): Fix return type int with uim_bool
- (uim_scm_string_equal):
* Ditto
* Replace the implementation with string_equal
- (string_equal): Moved from uim-util.c
- (uim_scm_length): New function
- (uim_scm_init): Moved initialization of string=? from uim-util.c
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim-scm.c : Move uim_scm_reverse() from uim-compat-scm.c
since reverse() is in r5rs. Please revert this change if it
is not appropriate, yamaken.
* uim/uim-scm.h : Moved from uim-compat-scm.h.
* uim/uim-compat-scm.c : Remove uim_scm_reverse().
* uim/uim-compat-scm.h : Ditto.
2005-01-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c : Remove "include siod.h". Use
uim_scm_null_list() instead of uim_scm_f() for some place
appropriately. Replace reverse() to uim_scm_reverse().
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* helper/pref-gtk.c
- (pref_tree_selection_changed, quit_confirm): Modify English
expression of messages
* scm/custom-vars.scm
- (custom prime-pseudo-mode-cursor?): Fix a typo of label
* po/uim.pot
* po/ja.po
- Just updated by make update-po
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* po/POTFILES.in
- Replace scm/custom.scm with scm/custom-vars.scm
* po/uim.pot
- Update
* po/ja.po
- Just updated by make update-po. No rewrite by hand is applied
- Some messages from toolbar-common-gtk.c and helper/input-pad-ja.c
have been orphaned. Remove them if you certainly know about them
* po/ja.gmo
- Remove
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/plugin.c
- (plugin_load): Remove unneeded uim_scm_gc_protect_stack() Since
the function is always called from Scheme execution context
2005-01-10 Masahito Omote <omote@utyuuzin.net>
* This commit drops 'struct _uim_plugin_info' and 'struct _plugin_list'.
All plugin's information will be stored to 'plugin-alist' and
'plugin-funcs-alist' by Scheme. But because 'uim_quit_plugin' does not work
well for now, all sections are surrounded by '#if 0'.
* uim/plugin.c:
- (plugin_load): Store plugin's informations to 'plugin-alist'.
- (uim_quit_plugin): Get plugin's informations from 'plugin-alist'
- (uim_plugin_instance_query): Removed. Replaced by 'plugin-list-query'.
* uim/plugin.h:
- Remove 'struct _uim_plugin_info' and 'struct _plugin_list'.
* uim/plugin.scm:
- (plugin-alist): New variable.
- (plugin-func-alist): New variable.
- (plugin-list-append): New function.
- (plugin-list-query): New function.
- (plugin-list-query-library): New function.
- (plugin-list-query-instance-init): New function.
- (plugin-list-query-instance-quit): New function.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/skk-dic.c: Fixed warnings.
- All NIL was replaced with uim_scm_null_list().
- (skk_dic_open), (find_cand_array_lisp), (skk_get_nth_candidate),
(skk_commit_candidate): Added const qualifiers.
Now left warning is only two, they are related on reverse(); If we could
fix this, we can split skk-dic.c from libuim. This will reduce the size
of libuim about 20KB.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/skk-dic.c:
- All strcons was replaced with uim_scm_make_str
- All get_c_string was replaced with uim_scm_refer_c_str
- All uim_get_c_string was replaced with uim_scm_c_str
- All cons was replaced with uim_scm_cons
- All NULLP was replaced sith uim_scm_nullp
-(find_line), (extract_line_index), (do_search_line)
(find_candidate_array_from_line), (alloc_skk_line)
(skk_search_line_from_file), (skk_search_line_from_cache)
(find_cand_array),(skk_store_replaced_numeric_str)
(numeric_wide_or_kanji_conv), (numeric_kanji_with_position_conv)
(numeric_kanji_for_check_conv), (numeric_shogi_conv)
(numeric_convert), (skk_make_comp_array_from_cache)
(skk_read_personal_dictionary), (skk_lib_read_personal_dictionary)
(update_personal_dictionary_cache): Added const qualifiers.
2005-01-10 kzk <mover@hct.zaq.ne.jp>
* uim-pref-qt is now reached the level of current gtk's.
* uim-kdehelper/src/pref/uim-pref-qt.h
- (confirmChange): new function
- (QConfirmDialog): new class
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- (createGroupWidget): add group title label
- (slotSelectionChanged): confirm change
- (slotCancel): confirm change
- (confirmChange): new function
* uim-kdehelper/src/pref/customwidgets.h
- remove debug messages
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/skk-dic.c: Removed a siod dependency.
- Many NIL was replaced with uim_scm_f().
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/skk-dic.c: Removed some siod dependency.
- get_c_int was replaced with uim_scm_c_int
- intcons was replaced with uim_scm_make_int
- CAR was replaced with uim_scm_car.
- CDR was replaced with uim_scm_cdr.
This commit would cause many compiler warnings, but it should work.
I'll fix these warnings later.
2005-01-10 Masahito Omote <omote@utyuuzin.net>
* uim/prime.c: Sync with the changes of new uim-scm's implementations.
* uim/canna.c:
- (init_canna_lib): Check whether cannaserver is enabled or not.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/prime.scm: Merged Hiroyuki Komatsu's prime_2004-12-13.scm.
Note, this version is incompatible with older PRIMEs.
To use this, you need one of following.
- PRIME 0.8.5 or higher.
- PRIME 0.9.3 or higher.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/anthy.scm: Changed the order of im-commit and reset-candidate-window
to fix Bug #1855.
2005-01-10 kzk <mover@hct.zaq.ne.jp>
* uim-pref-qt now has an ability to change the configuration
of uim. Althogh some part is not completed yet, now it can
do the basic operaton.
* uim-kdehelper/src/pref/uim-pref-qt.cpp
* uim-kdehelper/src/pref/uim-pref-qt.cpp
- implement custom symbol handling
- implement saving function
* uim-kdehelper/src/pref/customwidgets.h
- new file
* uim-kdehelper/src/pref/Makefile.am
- add customwidgets.h
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/custom-vars.scm: Removed an obsolete customize item, Added some
new customize items.
-(prime-preedit-immediate-commit?): Removed.
-(prime-auto-register-mode?): New customize item.
-(prime-pseudo-mode-cursor?): New customize item.
-(prime-char-annotation?): New customize item.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/prime.scm: Fixed a typo. pseude -> pseudo.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/custom-vars.scm:
-(anthy-select-candidate-by-numeral-key?): Added a new customize item
for anthy.
2005-01-10 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/plugin.scm:
-(uim-plugin-lib-load-path): Fixed that the priority of LIBUIM_PLUGIN_DIR
was lower than other pathes.
-(uim-plugin-scm-load-path): Fixed that the priority of LIBUIM_SCM_FILES
was lower than other pathes.
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* Dummy commit to fix previous commit log
"All modifications are not yet validated"
2005-01-10 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds new custom type 'key'. All functions are
validated and available for use in Scheme level. Using via
uim-custom.h is not checked yet
* scm/custom.scm
- (custom-key?): Implement
- (custom-expand-key-references, custom-exist?,
custom-list-as-literal): New procedure
- (define-custom): Add custom-set-value! invocation to apply special
handlings such as define-key
- (custom-set-value!): Invoke define-key if custom type is key
- (custom-value-as-literal):
* Simplify with custom-list-as-literal
* Support custom type 'key'
- (custom-definition-as-literal): Put define-key if custom type is
'key'
* uim/uim-custom.c
- (uim_custom_key_get): Modify sexp to get value
2005-01-09 kzk <mover@hct.zaq.ne.jp>
* uim-pref-qt
* OOps.. I forgot to call uim_custom_init(). The SEGV which was
described in previous commit was caused by this mistake. Excume
me, for my hasty decision.
2005-01-09 kzk <mover@hct.zaq.ne.jp>
* initial commit of uim-pref-qt which doesn't depend on KDE products.
* uim-kdehelper/src/pref/uimconfig
* uim-kdehelper/src/pref/uimqtconfig
- deleted because of KDE dependency
* pref/uim-pref-qt.h
* pref/uim-pref-qt.cpp
* Makefile.am
- initial commit
* but this version causes SEGV by just calling uim_custom_primary_groups()
please check, Yamaken.
My Environment:
uim trunk r187
./configure --enable-debug
backtrace:
#0 0x41aeb47e in _IO_str_overflow () from /lib/libc.so.6
#1 0x41aea488 in _IO_default_xsputn () from /lib/libc.so.6
#2 0x41ac4efc in vfprintf () from /lib/libc.so.6
#3 0x41adffeb in vsprintf () from /lib/libc.so.6
#4 0x41acd94d in sprintf () from /lib/libc.so.6
#5 0x4002215d in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:381
#6 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#7 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#8 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#9 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#10 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#11 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#12 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#13 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#14 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#15 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#16 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#17 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#18 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
#19 0x40022236 in my_err (message=0x4003786c "wta(non-symbol) to setvar", x=0x0) at slib.c:399
#20 0x40021f49 in setvar (var=0x0, val=0x0, env=0x0) at slib.c:326
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-collect-by-group): Fix reversed order of custom-symbol
list. Now returns defined-order of symbols
* test/test-custom.scm
- (test custom-collect-by-group): Follow the fix
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- (custom-definition-as-literal): Add comment about literalize-hook
* scm/custom-vars.scm
- (custom-hook-literalize-preserved-default-im-name): Fix infinite
loop. Thanks No.9 of [Anthy/uim thread 5] for reporting
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds new custom type ordered-list. All functions are
validated and available for use in Scheme level. Using via
uim-custom.h is not checked yet
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-validator-alist): Add new type ordered-list
- (custom-valid-choice?): Replace unwanted let* with let
- (custom-ordered-list?): New predicate
- (define-custom): Support list value to accept ordered-list
- (custom-value-as-literal): Support ordered-list
* test/test-custom.scm
- (test custom-ordered-list?): New test
- (testcase custom methods): Add an ordered-list definition to setup
- (test custom-valid?, test custom-value, test custom-set-value!,
test custom-default?, test custom-default-value, test
custom-groups, test custom-type, test custom-type-attrs, test
custom-range, test custom-label, test custom-desc, test
custom-value-as-literal, test custom-definition-as-literal): Add
test for ordered-list
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-validator-alist):
* Replace pathname? with custom-pathname?
* Replace key-definition? with custom-key?
- (pathname?): Rename to custom-pathname?
- (custom-pathname?): Renamed from pathname?
- (key-definition?): Rename to custom-key?
- (custom-key?):
* Renamed from key-definition?
* Remove a comment
* Remove the temporary implementation
* test/test-custom.scm
- (test pathname?): Rename to custom-pathname?
- (test custom-pathname?):
* Renamed from pathname?
* Follow the renaming
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-define-group): Rename to define-custom-group
- (define-custom-group): Renamed from custom-define-group
* scm/custom-vars.scm
- Replace all custom-define-group with define-custom-group
* test/test-custom.scm
- (test custom-define-group, custom-group-rec): Rename to
'define-custom-group, custom-group-rec'
- (test define-custom-group, custom-group-rec):
* Renamed from 'custom-define-group, custom-group-rec'
* Follow the renaming
- (testcase custom custom-group methods): Replace all custom-define-group
with define-custom-group in setup
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-canonical-value-as-string): Rename to custom-value-as-literal
- (custom-value-as-literal): Renamed from custom-canonical-value-as-string
- (custom-canonical-definition-as-string): Rename to
custom-definition-as-literal
- (custom-definition-as-literal):
* Renamed from custom-canonical-definition-as-string
* Merge custom-as-string
- (custom-as-string): Remove to merge into custom-definition-as-literal
* scm/custom-vars.scm
- (custom-hook-literalize-preserved-default-im-name): Follow the renamings
* uim/uim-custom.c
- (uim_custom_value_as_literal, uim_custom_definition_as_literal): Follow
the renamings
* test/test-custom.scm
- (test custom-canonical-value-as-string): Rename to
custom-value-as-literal
- (test custom-value-as-literal):
* Renamed from custom-canonical-value-as-string
* Follow the renaming
- (test custom-canonical-definition-as-string): Rename to
custom-definition-as-literal
- (test custom-definition-as-literal):
* Renamed from custom-canonical-definition-as-string
* Follow the renaming
* Merge test custom-as-string
- (test custom-as-string): Remove to merge into custom-definition-as-literal
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-set!): Rename to custom-set-value!
- (custom-set-value!): Renamed from custom-set!
- (custom-prop-update-custom-handler): Follow the renaming
* test/test-custom.scm
- (test custom-set!): Rename to custom-set-value!
- (test custom-set-value!):
* Renamed from custom-set!
* Follow the renaming
- (test custom-update-hooks, test custom-update-hooks (self update), test
custom-register-update-cb, test custom-register-update-cb (2 callbaks),
test custom-set-hooks, test custom-set-hooks (self update), test
custom-value, test custom-default?, test custom-default-value, test
canna-server-name): Follow the renaming
* uim/uim-custom.c
- (uim_custom_set): Follow the renaming
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_type, uim_custom_choice_get): Follow the renaming of previous
commit of 'symbol' -> 'choice'
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-validator-alist): Rename 'symbol' to 'choice'
- (custom-valid-symbol?): Rename to custom-valid-choice?
- (custom-valid-choice?):
* Renamed from custom-valid-symbol?
* Follow the renamings
- (record custom-symbol-rec): Rename to custom-choice-rec
- (record custom-choice-rec): Renamed from custom-symbol-rec
- (custom-symbol-label): Rename to custom-choice-label
- (custom-choice-label):
* Renamed from custom-symbol-label
* Follow the renamings
- (custom-symbol-desc): Rename to custom-choice-desc
- (custom-choice-desc):
* Renamed from custom-symbol-desc
* Follow the renamings
- (custom-range, custom-canonical-value-as-string): Follow the renamings
* scm/custom-vars.scm
- (custom uim-color, custom custom-preserved-default-im-name, custom
skk-style): Replace custom type 'symbol' with 'choice'
* test/test-custom.scm
- (test custom-valid-symbol?): Rename to custom-valid-choice?
- (test custom-valid-choice?):
* Renamed from custom-valid-symbol?
* Follow the renamings
- (test custom-symbol-rec-new): Rename to custom-choice-rec-new
- (test custom-choice-rec-new):
* Renamed from custom-symbol-rec-new
* Follow the renamings
- (test custom-symbol-label): Rename to custom-choice-label
- (test custom-choice-label):
* Renamed from custom-symbol-label
* Follow the renamings
- (test custom-symbol-desc): Rename to custom-choice-desc
- (test custom-choice-desc):
* Renamed from custom-symbol-desc
* Follow the renamings
- (testcase custom hooks): Follow the renamings in setup
- (test custom-type): Follow the renamings
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-activity-hook): Rename to custom-activity-hooks
- (custom-update-hook): Rename to custom-update-hooks
- (custom-get-hook): Rename to custom-get-hooks
- (custom-set-hook): Rename to custom-set-hooks
- (custom-literalize-hook): Rename to custom-literalize-hooks
- (custom-activity-hooks): Renamed from custom-activity-hook
- (custom-update-hooks): Renamed from custom-update-hook
- (custom-get-hooks): Renamed from custom-get-hook
- (custom-set-hooks): Renamed from custom-set-hook
- (custom-literalize-hooks): Renamed from custom-literalize-hook
- (custom-value, custom-set!, custom-active?, custom-as-string,
custom-register-update-cb): Follow the renamings
* scm/custom-vars.scm
- (custom custom-preserved-default-im-name, custom
custom-activate-default-im-name?, custom
custom-preserved-default-im-name, custom
custom-activate-default-im-name?, custom
custom-preserved-default-im-name, custom
custom-preserved-default-im-name, custom switch-im-key?, custom
custom-preserved-canna-server-name, custom
custom-activate-canna-server-name?, custom canna-server-name,
custom custom-activate-canna-server-name?, custom
custom-preserved-canna-server-name): Follow the renamings
* test/test-custom.scm
- (test custom-update-hook): Rename to custom-update-hooks
- (test custom-update-hook (self update)): Rename to custom-update-hooks
(self update)
- (test custom-get-hook): Rename to custom-get-hooks
- (test custom-get-hook (self update)): Rename to custom-get-hooks (self
update)
- (test custom-set-hook): Rename to custom-set-hooks
- (test custom-set-hook (self update)): Rename to custom-set-hooks (self
update)
- (test custom-update-hooks): Renamed from custom-update-hook
- (test custom-update-hooks (self update)): Renamed from custom-update-hook
(self update)
- (test custom-get-hooks): Renamed from custom-get-hook
- (test custom-get-hooks (self update)): Renamed from custom-get-hook (self
update)
- (test custom-set-hooks): Renamed from custom-set-hook
- (test custom-set-hooks (self update)): Renamed from custom-set-hook (self
update)
- (test custom-active?, test custom-update-hooks, test
custom-update-hooks (self update), test custom-get-hooks, test
custom-get-hooks (self update), test custom-set-hooks, test
custom-set-hooks (self update), test custom-as-string): Follow the
renamings
2005-01-09 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* xim/compose.cpp: add #include <ctype.h>
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- All changes are validated by test-custom.scm
- (custom-set!): Fix update-hook invocation
- (custom-register-update-cb): Fix a typo that made it broken
* test/test-custom.scm
- (test custom-collect-by-group): Follow change of custom variable
definition
- (test custom-remove-hook, test custom-update-hook, test
custom-update-hook (self update), test custom-register-update-cb,
test custom-register-update-cb (2 callbaks), test
custom-as-string, test custom-prop-update-custom-handler): New test
- (testcase custom interfaces): New testcase
- (testcase custom methods): Add new custom test-modelist by setup
- (test custom-set-hook, test custom-set-hook (self update), test
custom-default?, test custom-default-value, test
canna-server-name): Add validation for result value of custom-set!
- (test custom-set!):
* Ditto
* Add test for custom type 'symbol' (may be renamed to 'choice')
2005-01-09 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/plugin.c:
-(plugin_load): tmp was renamed to proper name 'plugin_name'.
-(plugin_load): Suppressed unwanted message outputs.
2005-01-09 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/canna.c
- Remove unused #include "siod.h". The Siod dependency had already
been removed
2005-01-08 Masahito Omote <omote@utyuuzin.net>
* Drop dlfcn in Canna. libuim-canna.so is linked libcanna.
* configure.ac: Add AC_CHECK_LIB(canna).
* uim/Makefile.am: Make libuim-canna.so linked libcanna.
* uim/canna.c: Sync with the changes of scm's and plugin's implementation.
* scm/loader.scm: Enable (load-plugin "canna") again.
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/skk.scm
- (skk-dic-file-name): Replace hardcoded directory with sys-datadir
* scm/custom-vars.scm
- (custom skk-dic-file-name): Replace hardcoded directory for
default value with sys-datadir
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_init): Fix uim_scm_load_file("custom.scm") with
uim_scm_require_file("custom.scm")
* uim/uim-sh.c
- (main): Replace uim_scm_load_file() with uim_scm_require_file()
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/plugin.c
- Fix a typo '#ifdef UIM_SCM_NESTED_EVAL' with #ifndef. Thanks Mike
Fabian for reporting
- (uim_plugin_instance_query): Disable by #if 0 for now
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/loader.scm
- Comment out canna since broken at now
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom.scm
- Update copyright
- Remove a header comment
- Move all custom definitions to custom-vars.scm. No modification is
applied
* scm/custom-vars.scm
- Virtually new file (i.e. ignore previous svn cp)
- Moved all custom definitions from custom.scm. No modification is
applied
* scm/Makefile.am
- (SCM_FILES): Add custom-vars.scm
* uim/siod.h
- (siod_repl_c_string_entered): New function for #if
!NESTED_REPL_C_STRING configuration
* uim/slib.c
- (siod_repl_c_string_entered): Ditto
* uim/uim-scm.c
- (uim_scm_require_file): Support direct call from C for #ifndef
UIM_SCM_NESTED_EVAL configuration
* uim/uim.c
- (uim_init_scm):
* Replace most of uim_scm_load_file() with uim_scm_require_file()
appropriately
* Move loading position of custom.scm
* Add uim_scm_require_file("custom-vars.scm")
* Modify some comments
* test/test-custom.scm
- (testcase custom custom-group, testcase custom custom-group
methods): Comment out (load "custom.scm") in accordance with
custom-vars.scm separation
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/custom-vars.scm
- New file. Copied from custom.scm to prepare separation
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* test/uim-test-utils.scm
- Set environment variable LIBUIM_VANILLA to 1 to suppress loading
per-user configuration
* uim/uim.c
- (uim_init_scm): Suppress uim_custom_load() when LIBUIM_VANILLA is
set
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/slib.c
- (repl_c_string_entered): New static variable for #if
!NESTED_REPL_C_STRING configuration
- (repl_driver): Add error check for nested entrance
- (siod_init): Add initialization of repl_c_string_entered
* uim/uim-scm.c
- (uim_scm_require_file): Support #ifndef UIM_SCM_NESTED_EVAL
configuration as AS-IS quality
* uim/plugin.c
- Add #include "uim-compat-scm.h" for #ifdef UIM_SCM_NESTED_EVAL
- (plugin_load): Support #ifndef UIM_SCM_NESTED_EVAL configuration
by replacing uim_scm_eval_c_string() with uim_scm_symbol_value()
to remove nested repl_c_string call
* uim/uim.h
- Modify the comment about uim_bool
2005-01-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/plugin.c : Remove Mac OS X specific ".dylib" since module is
now created with adding -module to libtool's LDFLAGS.
* uim/Makefile.am : Use -rpath $(uim_plugindir) -avoid-version
-module for pluins LDFLAGS.
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.h
- (uim_bool): New type moved from uim-scm.h
- (UIM_FALSE, UIM_TRUE): New macro moved from uim-scm.h
uim/uim-scm.h
- (uim_bool): Move to uim.h
- (UIM_FALSE, UIM_TRUE): Move to uim.h
- Add #include "uim.h" for uim_bool
* uim/uim-custom.h
- Remove #include "uim-scm.h" for uim_bool
- Add #include "uim.h" for uim_bool
* uim/uim-compat-scm.h
- Add #include "uim.h" for uim_bool
* COMPATIBILITY
- Describe revision number reset caused by the compromise, and about
new revision number notation such as 'ac-r40' to distinguish from
old one. 'ac' stands for 'after compromised'.
- Add a new entry 'A boolean type for uim'
2005-01-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/im-switcher-gtk.c : Fix gtk's version dependent behavior
of toggle_button internal sequence.
2005-01-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* gtk/uim-cand-win-gtk.c:
- (im_cand_win_gtk_init): Reverted wrong changes in -r 160.
2005-01-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* gtk/gtk-im-uim.c:
-(im_module_create):Removed needless calling of uim_init.
-(im_module_init): Added calling of uim_init.
-(im_uim_class_finalize): Removed needless calling of uim_quit.
* gtk/uim-cand-win-gtk.c:
-(uim_cand_win_gtk_init):Removed needless calling of uim_init.
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/plugin.h
- (NEW_UIM_PLUGIN): Remove
- (uim_plugin_init, uim_plugin_quit): Remove
- (uim_plugin_instance_init, uim_plugin_instance_quit): New
prototype decl for distinct plugin
* uim/anthy.c
- Remove unused #include "siod.h". The Siod dependency had already
been removed
* uim/uim-util.c
- (sys_libdir, sys_pkglibdir, sys_datadir, sys_pkgdatadir): Fix
return type LISP with uim_lisp
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Make --enable-scm-nested-eval --disable-callback-queue default
- Modify the help string of sumika as 'obsolete'
2005-01-08 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit fixes plugin loading. m17nlib and anthy plugins has been
loadable without special settings. canna is still broken
* configure.ac
- Add new option --without-anthy
* uim/Makefile.am
- (uim_plugindir): New definition
- (lib_LTLIBRARIES): Move libuim-m17nlib.la, libuim-scim.la,
libuim-canna.la and libuim-anthy.la to uim_plugin_LTLIBRARIES
- (uim_plugin_LTLIBRARIES):
* New definition
* Moved libuim-m17nlib.la, libuim-scim.la, libuim-canna.la and
libuim-anthy.la from lib_LTLIBRARIES
- (libuim_la_CPPFLAGS):
* Remove -DLIBDIR
* Add -DPKGLIBDIR
* Add -DPKGDATADIR
- Enclose libuim_anthy_la_* into 'if ANTHY' block
* uim/uim-util.c
- (sys_pkglibdir, sys_pkgdatadir): New static function
- (uim_init_util_subrs): Add Scheme procedure initialization of
sys-pkglibdir and sys-pkgdatadir
* scm/plugin.scm
- (uim-plugin-lib-load-path): Fix sys-libdir with sys-pkglibdir
- (uim-plugin-scm-load-path): Fix <sys-datadir>/uim/plugin with
sys-pkgdatadir
2005-01-07 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Fix LOCALEDIR and GNOMELOCALEDIR definition. This has resolved bug
#1820
- Define LIBDIR and DATADIR
* uim/uim-util.c
- (sys_libdir, sys_datadir): New static function
- (uim_init_util_subrs): Add Scheme procedure initialization of
sys-libdir and sys-datadir
* scm/plugin.scm
- (uim-plugin-lib-load-path): Fix hardcoded system libraries
directory with sys-libdir
- (uim-plugin-lib-load-path): Fix hardcoded system data directory
with sys-datadir
2005-01-07 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/slib.c
- (gc_cells_sweeped): Rename to gc_cells_swept
- (gc_cells_swept): Renamed from gc_cells_sweeped
- (gc_sweep, gc_ms_stats_end, siod_init): Follow the renaming
2005-01-07 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds new attribute editor_type to custom value of type
'key'. This instructs widget type of the custom variable. uim-pref
should passively reflect the attribute to select the type of
widget. custom.scm will control the type
* uim/uim-custom.h
- (enum UCustomKeyEditorType): New enum
- (struct uim_custom_key): Add new member editor_type
- (uim_custom_key_new): Add new arg editor_type
* uim/uim-custom.c
- (uim_custom_choice_new, uim_custom_key_new): Remove redundant
prototype declaration
- (uim_custom_key_get, uim_custom_key_new): Add initialization of
editor_type
2005-01-07 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c: Added confirm dialog.
2005-01-07 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds new custom types support ordered list and key. But
still not working since corresponding custom.scm part is lacking
* uim/uim-custom.h
- Update copyright
- (uim_custom_choice_new, uim_custom_key_new): Remove const
specifier of args
* uim/uim-custom.c
- (c_list_to_str, extract_choice_symbol, choice_list_to_str,
uim_custom_choice_new, uim_custom_olist_get,
uim_custom_olist_item_list, uim_custom_key_get,
uim_custom_key_new, uim_custom_key_free, extract_key_literal,
key_list_to_str, uim_custom_key_list_free): New static function
- (uim_custom_type, uim_custom_value_internal,
uim_custom_value_free, uim_custom_range_get,
uim_custom_range_free, uim_custom_set, ): Add support for new
custom types ordered list and key
- (uim_custom_choice_get): Replace an uim_custom_choice construction
with uim_custom_choice_new()
- (uim_custom_choice_free): Add error handling
- (extract_choice_list): New function. Most of implementation is
moved from uim_custom_choice_item_list()
- (uim_custom_choice_item_list): Simplify with extract_choice_list()
- (uim_custom_cb_add): Cast update_cb to (void *) to relax warning
2005-01-07 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- (create_pref_treeview): Use label instead of symbol for group name
on tree view.
2005-01-07 Takuro Ashie <ashie@homa.ne.jp>
* scm/custom.scm: Replaced N_ with _.
* scm/POTFILES.in, po/ja.po: Updated.
2005-01-07 Takuro Ashie <ashie@homa.ne.jp>
* uim/uim-custom.c
- (uim_custom_set): Quote the UCustom_Str type value to bound.
Now UCustom_Str type value can be saved, but I'm now wondering
whether the text should be sanitized more strictly or not.
2005-01-07 Takuro Ashie <ashie@homa.ne.jp>
* configure.ac, helper/Makefile.am:
Fixed some bugs in detecting gtk+-2.4 issue.
2005-01-07 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit tunes GC frequency of the Scheme interpreter. This
significantly reduces GC frequency on near-threshold unfortunate
case
* uim/uim-scm.c
- Update copyright
- (uim_scm_init):
* Add new arg "-t16384" to siod_argv to specify
heap_alloc_threshold. The value reduces GC frequency, but
increases memory consumption. This is a tradeoff
* Move the position of verbose arg to top of siod_argv to
stabilize index even if new arg is added
* uim/slib.c
- (heap_alloc_threshold, gc_cells_sweeped): New static variable
- (gc_sweep): Update gc_cells_sweeped
- (gc_ms_stats_end): Show new statistics items gc_cells_sweeped,
number of heaps and map number of heaps
- (gc_for_newcell):
* Simplify detection of length of freelist
* Refer heap_alloc_threshold to determine whether new heap is
required or not
- (siod_init):
* Add initialization of heap_alloc_threshold and
gc_cells_sweeped. heap_alloc_threshold keeps original hardcoded
value 100
* Add parsing of new option '-t' (heap_alloc_threshold)
2005-01-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac, helper/Makefile.am:
Require GTK+ 2.2 for GTK+ immodule, require GTK+ 2.4 for uim-pref-gtk.
I don't test that it really works on GTK+ 2.2 environment and I have
no will to support that. Report is welcome if patch is applied.
2005-01-07 Masahito Omote <omote@utyuuzin.net>
* Old plugin implementation is dropped.
- uim/m17nlib.c, uim/anthy.c: Remove #ifndef NEW_UIM_PLUGIN sections.
- plugin.c: Remove #ifndef sections.
- plugin.h: Remove #ifndef NEW_UIM_PLUGIN sections and remove NEW_UIM_PLUGIN.
2005-01-07 Masahito Omote <omote@utyuuzin.net>
* uim/plugin.c
- Use path_car for the exit condition from loops instead of path_cdr.
- (plugin_load): Fix a misimplementation of plugin_scm_filename.
2005-01-06 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit tunes Scheme interpreter configuration
* uim/uim-scm.c
- (uim_scm_init):
* Change heap size and nheaps from 100000:10 to 16384:64 to allow
fine grained memory allocation. This reduces memory consumption
of the process
* Change obarray_dim (hash size of symbol table) from 1000 to 1024
to reduce calculation time of hash value (may affect very low
power processor)
* Change stack_size from 200000 to 262144 (256KB). This only
affects maixmum size of GC sweep on stack
2005-01-06 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/util.scm
- (iterate-lists):
* Replace map with mapcar to implement map
* Remove recursion invocation redundancy
- (map): Support 4 or more lists as argument by new implementation
using iterate-lists. Use native mapcar when the lists is up to
3. Thanks TOKUNAGA Hiroyuki for fast mapcar3 implementation
- (for-each): Replace mapcar with map to support arbitrary length of
list arguments
* test/test-util.scm
- (test map): Add 2 cases for 3 and 4 lists of argument
* scm/plugin.scm
- Comment out print debug form to run testing framework
2005-01-06 Masahito Omote <omote@utyuuzin.net>
* uim/plugin.c (plugin_load): Fix typo.
2005-01-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/slib.c:
- (mapcar3): Argument of fcn should be cdr of each lists.
2005-01-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/slib.c: Mapcar3 was implemented (It's used from custom.scm)
-(mapcar3): New function.
2005-01-06 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- (add_custom_type_choice): Use custom->value instead of
custom->default_value to set default value.
Now UCustom_Choice seems work correctly.
2005-01-06 Takuro Ashie <ashie@homa.ne.jp>
* pref-gtk.c
- (add_custom_type_choice): Fixed wrong string comparison to set
default item of combo box.
2005-01-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/plugin.c: This commit simplify plugin_load, but behavior would
not be changed.
-(plugin_load): Use uim_scm_car and uim_scm_cdr instead of
__uim_scm_c_str_list.
-(__uim_scm_c_list): Removed because it's no longer needed.
-(__uim_scm_c_str_failsafe): Removed because it's no longer needed.
-(__uim_scm_c_str_list): Removed because it's no longer needed.
-(__uim_scm_c_list_free): Removed because it's no longer needed.
2005-01-06 Takuro Ashie <ashie@homa.ne.jp>
* helper/pref-gtk.c
- Enabled to save custom value, but it doesn't work yet correctly
except UCustom_Bool and UCustom_Int.
2005-01-06 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/uim.c (load_conf) : Fix r127 and r128 bug.
2005-01-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* scm/Makefile.am: Added plugin.scm
2005-01-06 Masahito Omote <omote@utyuuzin.net>
* This commit contains the changes of the searching way of plugins. But due to
not mergeed uim_scm_c_list functions to uim-scm.c and for backward
compatibility, new code is disabled by default. If you want to enable this,
uncomment '#define NEW_UIM_PLUGIN 1' in uim/plugin.h.
* scm/plugin.scm: New file including the default search path of plugins.
* uim/plugin.h:
- Update copyright.
+ (_uim_plugin_info):
- (plugin_instance_init): Change the member's names from plugin_init.
- (plugin_instance_quit): Change the member's names from plugin_quit.
* uim/plugin.c:
- Update copyright.
- (__uim_scm_c_list): New function from uim-custom.c for getting string list
from scheme variable. This code has a difference with original code.
uim_scm_c_list does not work if lists' variables are just a array of
strings.
- (__uim_scm_c_str_failsafe): Ditto.
- (__uim_scm_c_str_list): Ditto.
- (__uim_scm_c_list_free): Ditto.
+ (plugin_load):
- Drop a hardcode of searching path.
- Get search path from scheme variable. 'uim-plugin-lib-load-path' is
for shared libraries and 'uim-plugin-scm-load-path' is for scheme.
+ (uim_init_plugin):
- Drop a hardcode of searching path.
- (uim_plugin_instance_query): New function.
* uim/anthy.c, uim/m17nlib.c:
- #include "plugin.h"
- (uim_plugin_instance_init): New function for replacing plugin_init.
- (uim_plugin_instance_quit): Ditto.
- Update copyright.
* uim/uim.c:
- Update copyright.
- (uim_init_scm): Load "plugin.scm" after "im.scm".
* uim/uim-compat-scm.c: Update copyright.
2005-01-06 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds new custom types 'key' and 'ordered list' to custom
API. Let me know how do you think about the
interfaces. Corresponding implementations will follow soon
* uim/uim-custom.h
- (enum UCustomType): Add UCustom_OrderedList
- (enum UCustomKeyType): New enum
- (union uim_custom_value): Add new member as_olist and as_key
- (struct uim_custom_key): New type
- (union uim_custom_range): Add new member as_olist
- (uim_custom_choice_new, uim_custom_choice_list_free,
uim_custom_key_new, uim_custom_key_list_free): New function
* uim/uim-custom.c
- (uim_custom_choice_list_free): Remove static specifier to be API
function
2005-01-06 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit exposes preliminary Scheme->C list representation
conversion functions. These interfaces are not yet stable and may be
altered in near future. Be careful to use.
* uim/uim-custom.c
- (uim_scm_c_list_conv_func, uim_scm_c_list_free_func): Move to
uim-compat-scm.[hc]
- (uim_scm_c_list, uim_scm_c_str_failsafe, uim_scm_c_str_list,
uim_scm_c_list_free): Move to uim-compat-scm.[hc]
* uim/uim-compat-scm.h
- (uim_scm_c_list_conv_func, uim_scm_c_list_free_func): Moved from
uim-custom.c
- (uim_scm_c_list, uim_scm_c_str_failsafe, uim_scm_c_str_list,
uim_scm_c_list_free): Moved from uim-custom.c
* uim/uim-compat-scm.c
- (return_val): New variable
- (uim_init_compat_scm_subrs): Add initialization of return_val
- (uim_scm_c_list_conv_func, uim_scm_c_list_free_func): Moved from
uim-custom.c
- (uim_scm_c_list, uim_scm_c_str_failsafe, uim_scm_c_str_list,
uim_scm_c_list_free): Moved from uim-custom.c
2005-01-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/uim.c:
-(uim_init): Removed calling of uim_init_anthy.
-(uim_quit): Removed calling of uim_quit_anthy.
* uim/anthy.c: Splitted from core library.
- All 'LISP' was replaced with 'uim_lisp'.
- All strcons was replaced with uim_scm_make_str.
- All intcons was replaced with uim_scm_make_int.
* scm/loader.scm:
- Removed (require "anthy.scm")
- Added (load-plugin "anthy")
2005-01-05 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.c
- Include stdio.h for fopen
- (load_conf): Add lacking local variable decl to fix previous
commit
2005-01-05 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.c
- (load_conf): Restore file existence check to suppress "No such
file or directory" error message. Thanks UTUMI Hirosi for
reporting
2005-01-05 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/m17nlib.scm
- (m17nlib-on-key?, m17nlib-off-key?): Add quote to
generic-{on,off}-key? to allow reflect runtime redefinition of
generic-{on,off}-key?. See rule 8 of doc/KEY to recognize what
quote means (what is different between closure and symbol for arg
of define-key)
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(custom_pathname_button_clicked_cb): Fixed a warning.
-(add_custom_type_pathname) Fixed a warning.
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c: Implemented filename specify dialog.
-(custom_pathname_button_clicked_cb): New function.
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/im-swicther-gtk.c:
-(grouped): Removed because it was an unused variable.
-(change_input_method): Fixed wrong case label.
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(create_pref_treeview): Select first group initially.
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(create_group_widget): Fixed a memory leak.
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
-(add_custom_type_pathname),(create_group_widget): Fixed warnings.
2005-01-05 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Changed to require GTK+ 2.4.
2005-01-04 kzk <mover@hct.zaq.ne.jp>
* helper/pref-gtk.c
- create each group's widget at startup and store it to tree_store
- rename (create_pref_widget) to (create_group_widget)
- remove "GtkWidget *pref_widget"
- FIXME: we should select "global" section initially, but how can i
do this? I don't have enough knowledge about gtk...
2005-01-04 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim.c
- (uim_get_default_im_name, uim_get_im_name_for_locale): Fix old and
invalid 'default' IM for fallback with 'direct' IM in accordance
with the renaming. But this fallback will never happen
2005-01-04 Masahito Omote <omote@utyuuzin.net>
* doc/PLUGIN: New file. But it is not written yet.
* doc/00INDEX: Add PLUGIN.
* uim/uim-scm.c (uim_scm_require_file): Remove '#if 0' section.
2005-01-04 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/compose.cpp : Remove mb to wc conversion.
* xim/compose.h (_DefTree) : Remove wc member.
2005-01-04 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit replaces Siod-dependent Scheme interface codes
with equivalent one using uim-scm API, and reorganizes Scheme
interpreter interface codes into appropriate files. Most of
Siod dependent codes are encapsulated into uim-scm and
uim-compat-scm. Following dependency is remaining:
- Some rk-related functions in uim-util.c is still using raw
Siod functions. But these functions will be removed when new
rk replacement has become
- Some optional files (prime.c, skk-dic.c, uim-table.c,
cannca.c and anthy.c) are still using raw Siod and obsolete
uim-compat-scm functions. siod.h should be excluded first to
acquire Siod independency. But I will not do it near
future. Anyone?
* uim/context.h
- Remove #include "siod.h"
- (UIM_EVAL_STRING_INTERNAL): Replace repl_c_string() with
uim_scm_eval_c_string()
- (uim_init_scm_subrs): Rename to uim_scm_init() since the
function does not perform subr initialization
- (uim_scm_init):
* Renamed from uim_init_scm_subrs()
* Add a new arg verbose_level
- (uim_scm_quit): New function
- (uim_init_m17nlib, uim_quit_m17nlib): Remove unused
prototype decl
- (uim_get_c_string): Move to uim-compat-custom.h
- (uim_key_sym_to_int): Move to uim-key.c
- (uim_schedule_cb): Enclose into #ifdef UIM_CALLBACK_QUEUE
* uim/uim-scm.h
- (uim_scm_is_alive, uim_scm_set_lib_path): New function
* uim/uim-scm.c
- Include stdio.h and ctype.h for moved functions
- (uim_siod_fatal, uim_output): Static variables moved from uim.c
- (uim_scm_get_output, uim_scm_set_output, exit_hook): Moved
from uim.c
- (uim_scm_is_alive, uim_scm_set_lib_path, uim_scm_quit): New
function
- (uim_init_scm_subrs): Rename to uim_scm_init() since the
function does not perform subr initialization
- (uim_scm_init):
* Renamed from uim_init_scm_subrs()
* Add a new arg verbose_level
* Move Siod interpreter initialization code from
uim_init_scm() of uim.c and cleaned up
* uim/uim-compat-scm.h
- (uim_get_c_string): Moved from context.h
- (uim_scm_init_fsubr): New function
* uim/uim-compat-scm.c
- Include stdlib.h and string.h for moved functions
- (uim_get_c_string):
* Moved from uim-util.c
* Replace LISP with uim_lisp
- (uim_scm_init_fsubr): New function
* uim/uim-util.c
- (uim_get_c_string): Move to uim-compat-custom.c
* uim/uim-func.c
- Remove #include "siod.h"
- (uim_eval_string): Replace repl_c_string() with uim_scm_eval_c_string()
* uim/uim.c
- Remove stdio.h and ctype.h for moved functions
- (siod_verbose_level): Remove extern decl
- (uim_siod_fatal, uim_output): Static variables moved to uim-scm.c
- (uim_scm_get_output, uim_scm_set_output, exit_hook): Moved
to uim-scm.c
- (uim_create_context): Replace uim_siod_fatal with !uim_scm_is_alive()
- (load_conf): Simplify and make Siod independent by uim-scm API
- (uim_init_scm): Move Siod interpreter initialization code to
uim_scm_init() of uim-scm.c
- (uim_init): Move uim_output handling to uim_scm_init()
- (uim_quit): Move uim_output handling and Siod finalization
to uim_scm_quit()
* uim/uim-key.c
- Include uim.h, uim-scm.h and uim-compat-scm.h to follow
Siod-related header file reorganization
- (uim_key_sym_to_int):
* Commented out by #if 0 since unused. prototype declaration
is also moved into #if 0 from context.h
* Replace LISP with uim_lisp
* Replace combination of uim_get_c_string() and free() with
uim_scm_refer_c_str()
- (define_key): Rewrite by uim-scm API functions instead of
raw Siod functions
- (uim_init_key_subrs): Replace init_fsubr() with uim_scm_init_fsubr()
* uim/prime.c
* uim/skk-dic.c
* uim/uim-table.c
* uim/canna.c
* uim/anthy.c
- Include uim-scm.h, uim-compat-scm.h, and siod.h to follow
Siod-related header file reorganization. siod.h should be
excluded to acquire Siod independency
2005-01-04 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit replaces Siod-dependent Scheme interface codes with
equivalent one using uim-scm API.
* uim/uim-scm.h
- (uim_scm_refer_c_str, uim_scm_consp, uim_scm_integerp,
uim_scm_stringp): New function
* uim/uim-scm.c
- (uim_scm_refer_c_str, uim_scm_consp, uim_scm_integerp,
uim_scm_stringp): New function
- (uim_scm_c_str): Rewrite the implementation using
uim_scm_refer_c_str()
* uim/uim-util.c
- (string_equal, charcode2string, string2charcode, digit2string,
nthcdr, str_seq_equal, str_seq_partial, rk_find_seq,
rk_find_partial_seq, rk_expect_seq, c_getenv, c_setenv,
c_unsetenv, eucjp_string_to_list, lang_code_to_lang_name_raw):
* Replace LISP with uim_lisp
* Replace false_sym with uim_scm_f()
* Replace true_sym with uim_scm_t()
* Replace INTNUMP() with uim_scm_integerp()
* Replace INTNM() with uim_scm_c_int()
* Replace get_c_int() with uim_scm_c_int()
* Replace intcons() with uim_scm_make_int()
* Replace STRINGP() with uim_scm_stringp()
* Replace get_c_string() with uim_scm_refer_c_str()
* Replace strcons() with uim_scm_make_str()
* Replace NIL with uim_scm_null_list() or uim_scm_f() appropriately
* Replace NULLP() and NNULLP() with uim_scm_nullp()
* Replace CAR() with uim_scm_car() or uim_scm_caar()
* Replace CDR() with uim_scm_cdr()
* Replace cons() with uim_scm_cons()
- (uim_strsplit): Make args and local variables const
- (uim_split_string):
* Replace invalid NULL checks for LISP (should test whether #f or
not) with more strict uim_scm_stringp()
* Replace LISP with uim_lisp
* Replace NIL with uim_scm_null_list()
* Replace false_sym with uim_scm_f()
* Replace get_c_string() with uim_scm_refer_c_str()
- (uim_init_util_subrs):
* Replace init_subr_1() with uim_scm_init_subr_1()
* Replace init_subr_2() with uim_scm_init_subr_2()
* Replace init_subr_3() with uim_scm_init_subr_3()
* uim/uim-func.c
- Include uim-scm.h
- (retrieve_uim_context, im_clear_preedit, im_pushback_preedit,
im_update_preedit, im_commit, im_commit_raw, im_get_raw_key_str,
im_clear_mode_list, im_pushback_mode_list, im_update_mode_list,
im_update_mode, get_im_lang, im_activate_candidate_selector,
im_select_candidate, im_shift_page_candidate,
im_deactivate_candidate_selector, im_request_surrounding,
im_delete_surrounding):
* Replace LISP with uim_lisp
* Replace false_sym with uim_scm_f()
* Replace true_sym with uim_scm_t()
* Replace INTNUMP() with uim_scm_integerp()
* Replace INTNM() with uim_scm_c_int()
* Replace get_c_int() with uim_scm_c_int()
* Replace intcons() with uim_scm_make_int()
* Replace STRINGP() with uim_scm_stringp()
* Replace get_c_string() with uim_scm_refer_c_str()
* Replace strcons() with uim_scm_make_str()
* Replace NIL with uim_scm_null_list() or uim_scm_f() appropriately
* Replace NULLP() and NNULLP() with uim_scm_nullp()
* Replace CONSP() with uim_scm_consp()
* Replace CAR() and car() with uim_scm_car() or uim_scm_caar()
* Replace CDR() and cdr() with uim_scm_cdr()
* Replace cons() with uim_scm_cons()
- (im_set_encoding, im_update_prop_list, im_update_prop_label):
* Replace combination of uim_get_c_string() and free() with
uim_scm_refer_c_str()
* Replace LISP with uim_lisp
* Replace false_sym with uim_scm_f()
- (im_register_im):
* Replace combination of get_c_string() and strdup() with
uim_scm_c_str()
* Replace get_c_string() with uim_scm_refer_c_str()
* Replace LISP with uim_lisp
* Replace false_sym with uim_scm_f()
* Replace true_sym with uim_scm_t()
- (im_return_str, im_return_str_list):
* Replace uim_get_c_string() with uim_scm_c_str()
* Replace LISP with uim_lisp
* Replace false_sym with uim_scm_f()
* Replace STRINGP() with uim_scm_stringp()
* Replace NULLP() and NNULLP() with uim_scm_nullp()
* Replace CAR() and car() with uim_scm_car() or uim_scm_caar()
* Replace CDR() and cdr() with uim_scm_cdr()
- (uim_init_im_subrs):
* Replace init_subr_1() with uim_scm_init_subr_1()
* Replace init_subr_2() with uim_scm_init_subr_2()
* Replace init_subr_3() with uim_scm_init_subr_3()
* Replace init_subr_4() with uim_scm_init_subr_4()
2005-01-04 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds C pointer type object to Siod interpreter, and
implements flexible per-custom-variable callback using the pointer
object feature. All codes are not tested yet.
* uim/siod.h
- (struct obj): Add new union member c_pointer
- (tc_c_pointer, POINTERP): New macro
- (get_c_pointer, ptrcons): New function
* uim/slib.c
- (get_c_pointer, ptrcons): New function
- (pointer_prin1): New static function
- (init_storage): Add initialization of print hook for tc_c_pointer
- (ltypeof): Add case tc_c_pointer
* uim/uim-scm.h
- (uim_scm_c_ptr, uim_scm_make_ptr): New function
* uim/uim-scm.c
- (uim_scm_c_ptr, uim_scm_make_ptr): New function
* uim/uim-custom.h
- (uim_custom_cb_set): Renamed to uim_custom_cb_add()
- (uim_custom_cb_add): Renamed from uim_custom_cb_set()
- (uim_custom_cb_remove): New function
* uim/uim-custom.c
- (uim_custom_cb_update_cb_t): New type
- (uim_custom_init): Add registration of custom-update-cb-gate
- (uim_custom_quit): Add removal of all registered callbacks
- (uim_custom_cb_update_cb_gate, uim_custom_cb_remove): New function
- (uim_custom_cb_set): Renamed to uim_custom_cb_add()
- (uim_custom_cb_add):
* Renamed from uim_custom_cb_set()
* Implemented
* scm/custom.scm
- (custom-update-hook): New variable
- (custom-remove-hook, custom-register-update-cb): New procedure
- (custom-set!): Add update callback handlings
2005-01-04 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_type): Cosmetic change to conform to standard coding
style
* uim/uim-compat-scm.c
- (uim_scm_int_from_c_int, uim_symbol_value_str,
uim_scm_str_from_c_str, uim_scm_c_strs_into_list, uim_scm_quote,
uim_scm_nth, uim_scm_list1, uim_scm_list2, uim_scm_list3,
uim_scm_list4): Ditto
* uim/uim-scm.c
- (uim_scm_t, uim_scm_f, uim_scm_null_list, uim_scm_nullp,
uim_scm_eq, uim_scm_string_equal, uim_scm_eval,
uim_scm_eval_c_string, uim_scm_car, uim_scm_cdr, uim_scm_cadr,
uim_scm_caar, uim_scm_cdar, uim_scm_cddr, uim_scm_cons,
uim_scm_require_file): Ditto
* uim/uim.c
- (uim_scm_get_output, uim_scm_set_output, uim_switch_im): Ditto
2005-01-03 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/loader.scm
- Replace the plugin name "libuim-m17nlib" with "m17nlib" to enable
autoloading of m17nlib.scm by uim/plugin.c
- Remove (require "m17nlib.scm")
- Replace the plugin name "libuim-scim.so" with "scim" to enable
autoloading of m17nlib.scm by uim/plugin.c
- Remove (require "scim.scm")
* uim/plugin.c
- (PLUGIN_PREFIX): New macro
- (plugin_load): Rewrite plugin name composition using
PLUGIN_PREFIX. This enables autoloading of
<pluginname>.scm. Previous implementation was trying to load
libuim-<pluginname>.scm.
2005-01-03 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_init): Add initialization of return_val
* uim/uim-compat-scm.c
- (uim_scm_symbol_value_int): Replace NNULLP() with NFALSEP() to
remove Siod dependency
- (uim_scm_c_strs_into_list, uim_scm_symbol_value): Cast LISP values
to uim_lisp to suppress warnings
- (uim_init_compat_scm_subrs): uim_scm_gc_protect("e_sym)
* uim/uim-scm.c
- (uim_scm_c_int, uim_scm_c_str): Add uim_scm_gc_protect_stack()
required for my_err()
- (uim_scm_eval): Remove redundant #ifdef UIM_SCM_NESTED_EVAL
- (uim_init_scm_subrs):
* Add initialization of protected_arg0
* Move uim_scm_gc_protect() to after value initialization
2005-01-03 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/slib.c
- (repl_driver): Fix exception frame handling on NESTED_REPL_C_STRING
* uim/uim-scm.h
- (uim_scm_require_file): New API function
* uim/uim-scm.c
- (uim_scm_require_file):
* Replace the implementation with an equivalent one using
UIM_EVAL_FSTRING2(). The old implementation is preserved in #if
0 block for fallback
* Add uim_scm_gc_protect_stack() to old implementation
2005-01-03 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/loader.scm
- Replace the plugin name "libuim-m17nlib.so" with "libuim-m17nlib"
to conform to recent platform-dependent plugin suffix support in
uim/plugin.c
2005-01-03 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/compose.cpp (XimIM::parse_compose_line) : Renamed from
XimIM::parseline. Fix minor bug in terminating locale_utf8_buf
for special case.
(XimIM::ParseComposeStringFile) : Renamed from
XimIM::XimParseStringFile.
(mb_string_to_utf8) : Return 0 not NULL and terminate buffer if it
fails to convert string.
* xim/xim.h (class XimIM) : Rename parseline member into
parse_compose_line. Rename XimParseStringFile member to
ParseComposeStringFile.
2005-01-03 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/plugin.c (uim_init_plugin) : Avoid SEGV if user doesn't set
LIBUIM_PLUGIN_LIBDIR and/or LIBUIM_SCM_FILES.
* xim/compose.cpp : Cosmetic change.
2005-01-03 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-compat-scm.c
- (uim_scm_symbol_value_int): Protect caller stack from GC
- (uim_scm_symbol_value_str):
* Protect caller stack from GC
* replace NNULLP() with NFALSEP() to remove Siod dependency
2005-01-03 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit fixes the SEGV on mlterm-2.9.1 reported in [Anthy-dev
1531] by Kazuki Ohta. Thanks for reporting.
* uim/uim-func.c
- (im_update_prop_list):
* Fix invalid callback invocation position
* Add error handling for the case uc == NULL
- (im_update_prop_label): Fix invalid callback invocation position
2005-01-03 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/helper.cpp (helper_str_parse) : Support "commit_string" and
"prop_update_custom".
* xim/ximserver.h (class InputContext) : Change return type of
extra_input(). Add new member customContext().
(class XimServer) : Add new member customContext().
* xim/ximserver.cpp (XimServer::customContext) : New function.
Call customContext() of all InputContext.
(InputContext::customContext) : Do uim_prop_updatre_custom().
(InputContext::extra_input) : Call XimIC's extra_input().
* xim/ximic.cpp (extra_input) : Check string.
2005-01-03 Masahito Omote <omote@utyuuzin.net>
* This commit changes plugin's loading behavior. You have to specify prefix of
plugin's filename instead of the filename of shared library.
* uim/uim-scm.c(uim_scm_require_file): New function for wrapping 'require'.
* uim/plugin.c: Support search path(not completed and very ad-hoc) and loading
'.scm' file at the same time.
- (uim_init_plugin): Support search path.
- (plugin_load): Support search path and loading '.scm' after plugin's
initialization is finished.
2005-01-03 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/anthy.c:
- all siod_true_value was replaced with uim_scm_t.
- all siod_false_value was replaced with uim_scm_f.
This is for modulizing of input method.
2005-01-03 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
- (create_setting_button_box): Added apply button.
2005-01-03 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c:
- (create_setting_button_box): New function.
- (create_pref_widget): Added calling of create_setting_button_box.
2005-01-03 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/pref-gtk.c: New file. Source file for uim-pref-gtk.
2005-01-03 Masahito Omote <omote@utyuuzin.net>
* uim/uim.c(uim_get_candidate): Initialize as 0. Because cand->anontate is not
used in some IMs such as anthy and canna, free(cand->annotation) makes segv.
2005-01-03 Masahito Omote <omote@utyuuzin.net>
* uim/plugin.c: Change indent. This change does not effect plugin's behavior
at all. Only for better viewing of diffs.
2005-01-02 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/compose.h (class Compose) : New public member reset().
* xim/compose.cpp (Compose::reset) : New function. Reset compose
state.
* xim/ximic.cpp (XimIC::reset_ic) : Reset key state.
* xim/ximserver.h (class keyState) : New public member reset().
* xim/ximserver.cpp (keyState::reset) : Reset modifier key and
compose state.
2005-01-02 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Define X11 library directory.
* xim/compose.cpp : Use configure time defined path for
compose.dir and Compose.
2005-01-01 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/convdisp.cpp (check_atr) : Set default line_space as 16.
* ximic.cpp (icxatr::icxatr) : Initialize line_space.
2005-01-01 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/xim.h : Add compose key support. Include "compose.h".
(class XimIM) : Add create_compose_tree() and get_compose_tree()
public members. Add get_compose_filename(), TransFileName(),
XimParseStringFile(), FreeComposeTree(), parseline(),
get_mb_string(), and mTreeTop members for protected.
(class XimIC) : Use dynamic m_keyState member.
* xim/compose.cpp : New file for compose key support from X11's
imLocal.
(Compose::Compose) : Constructor of Compose class.
(Compose::~Compose) : Destructor of Compose class.
(Compose::handleKey) : Compose key handling. Return true if key
is matched with compose tree and commit composed string.
(nextch) : New.
(nexttoken) : New.
(modmask) : New.
(XimIM::TransFileName) : Return filename of included compose file.
(XimIM::get_mb_string) : New.
(XimIM::parseline) : Parse lines of compose file.
(XimIM::XimParseStringFile) : Parse compose file and create
compose tree.
(XimIM::create_compose_tree) : Check existence of compose file and
parse it.
(XimIM::get_compose_tree) : Return pointer of compose tree.
(XimIM::get_compose_filename) : Return compose file name with
corresponding locale from compose.dir.
(parse_line) : Parse compose.dir file.
(KeySymToUcs4) : New.
(mb_string_to_utf8) : Convert parsed composed string into utf-8.
* xim/compose.h : New file.
(_DefTree) : Compose Tree struct.
(class Compose) : Compose key state class.
* xim/ximim.cpp (XimIM_impl::create_ic) : Create compose tree
with first XimIC.
(XimIM::XimIM) : Initialize mTreeTop.
(XimIM::FreeComposeTree) : New function. Clear compose tree.
* xim/ximserver.cpp (InputContext::pushKey) : Handle compose key.
(keyState::keyState) : Construct with XimIC information and create
mCompose.
(keyState::~keyState) : Delete mCompose.
(keyState::check_key) : Set X's key information. Don't forward
deadkeys and Multi_key to libuim.
(keyState::check_compose) : New function. Return true if key is
used for compose.
(keyState::xkeysym) : New function.
(keyState::xkeystate) : New function.
* xim/ximserver.h : Include "compose.h".
(class keyState) : Add check_compose(), xkeysym(), and xkeystate()
members for public. Add mXKeySym, mXKeyState, mCompose, and mIc
members for private.
* xim/ximic.cpp (XimIC::XimIC) : Allocate m_keyState.
(XimIC::~XimIC) : Delete m_keyState.
* xim/Makefile.am : Add compose.{cpp,h} into uim_xim_SOURCES.
* xim/locale.cpp (utf8_to_native_str) : Don't copy original
string.
2004-12-31 kzk <mover@hct.zaq.ne.jp>
* helper/toolbar-standalone-gtk.c
- #include <locale.h> for LC_ALL symbol
2004-12-31 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit removes callback queue from libuim to simplify the
internal implementation. Whether use the callback queue or not is
still configurable at compile time:
- The old code using callback queue
configure --disable-scm-nested-eval --enable-callback-queue
- The new simplified code without callback queue
configure --enable-scm-nested-eval --disable-callback-queue
- The new simplified code without callback queue, but sometime
crashes the application process. Exist only for testing purpose
configure --disable-scm-nested-eval --disable-callback-queue
Please test the second configuration. The second will be default for
uim 0.4.6 if no fatal behavior is reported. After 0.4.6, the old
codes enclosed by #ifdef UIM_CALLBACK_QUEUE will be removed to
prepare further libuim simplification. If the callback queue is
completely gone, we can simplify other codes affected by the
callback queue such as uim_eval_string()
* configure.ac
- Add new option --disable-callback-queue
* uim/context.h
- (struct cb_q, struct cb, an anonymous enum): Enclose with #ifdef
UIM_CALLBACK_QUEUE
- (struct uim_context_): Enclose a member cb_q with #ifdef
UIM_CALLBACK_QUEUE
* uim/uim.c
- (uim_create_context): Enclose uc->cb_q initialization with #ifdef
UIM_CALLBACK_QUEUE
* uim/uim-func.c
- (uim_flush_cb, uim_schedule_cb): Enclose with #ifdef
UIM_CALLBACK_QUEUE
- (uim_eval_string): Enclose callback queue handling with #ifdef
UIM_CALLBACK_QUEUE
- (im_clear_preedit, im_pushback_preedit, im_update_preedit,
im_commit, im_update_mode_list, im_update_prop_list,
im_update_prop_label, im_update_mode,
im_activate_candidate_selector, im_select_candidate,
im_shift_page_candidate, im_deactivate_candidate_selector,
im_request_surrounding, im_delete_surrounding):
* Enclose callback queue handling with #ifdef UIM_CALLBACK_QUEUE
* Add direct callback invocation for #ifndef UIM_CALLBACK_QUEUE
2004-12-31 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/slib.c
- (repl_driver): Add lacking siod_gc_unprotect_stack() to fix
NESTED_REPL_C_STRING support
2004-12-31 TOKUNAGA Hiroyuki <tkng@xem.jp>
* xim/ximserver.cpp: Include Xlib.h before Xutil.h.
Thanks to Mike Castle <dalgoda@ix.netcom.com>.
2004-12-31 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds nested Scheme evaluation feature described
below. The feature will be enabled by default once tested enough.
- nested Scheme evaluation from C (i.e. C -> Scheme -> C -> Scheme)
- protect lisp objects on the caller stack from GC
* configure.ac
- Add new option --enable-scm-nested-eval
* uim/siod.h
- Add a header comment about lisp object on stack
- Include config.h
- Define NESTED_REPL_C_STRING defaults to 0
- (siod_gc_protect_stack, siod_gc_unprotect_stack): New function
* uim/slib.c
- Add a changelog about NESTED_REPL_C_STRING
- Include config.h
- Modify a typo in a comment
- (repl_driver, init_storage, siod_init): Support
NESTED_REPL_C_STRING
- (siod_gc_protect_stack, siod_gc_unprotect_stack): New function to
support NESTED_REPL_C_STRING
* uim/uim-scm.h
- (uim_scm_gc_protect_stack, uim_scm_gc_unprotect_stack): New
function
* uim/uim-scm.c
- (uim_scm_gc_protect_stack, uim_scm_gc_unprotect_stack): New
function
- (uim_scm_eval): Protect stack from GC
2004-12-31 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- (AC_CONFIG_FILES): Add examples/Makefile and
examples/uim-custom/Makefile
* Makefile.am
- (SUBDIRS): Add examples
* examples/Makefile.am
* examples/uim-custom/Makefile.am
- New file
- Add build instructions for uim-custom-{variable,dump,update}
* examples/uim-custom/uim-custom-dump.c
- Include lacking stdlib.h
* examples/uim-custom/uim-custom-variable.c
- Include lacking stdlib.h
- (inspect_custom):
* Fix invalid type declaration of s_range
* Add an error case handling to suppress warnings
- (main): Remove unused variables
2004-12-30 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- Remove a header comment about error handling
- Add a header comment about static functions
- (uim_scm_c_list, uim_scm_c_list_free, uim_custom_choice_get,
uim_custom_choice_item_list, uim_custom_value_free,
uim_custom_range_get, uim_custom_range_free, uim_conf_prepare_dir,
uim_custom_save_group, uim_custom_broadcast, uim_custom_get,
uim_custom_free, uim_custom_group_get, uim_custom_group_free): Add
error handlings
- (uim_custom_type_eq, uim_custom_is_active): Replace NFALSEP with
uim_scm_c_bool()
- (uim_custom_set):
* Add error handlings
* Replace NFALSEP with uim_scm_c_bool()
- (uim_custom_value_internal):
* Add error handlings
* Replace NFALSEP with uim_scm_c_bool()
* Move uim_custom_type() to avoid possible return_val overwriting
- (prepare_dir):
* Remove an unused variable
* Cosmetic change
* uim/uim-scm.c
- (uim_scm_c_int, uim_scm_c_str): Fix wrong cast
- (uim_scm_load_file): Add a comment
2004-12-30 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-scm.h
- (uim_scm_load_file): Change return type from void to uim_bool to
indicate whether succeeded or not
* uim/uim-scm.c
- (uim_scm_load_file):
* Change return type from void to uim_bool to indicate whether
succeeded or not
* Return succeeded or not
* uim/uim-custom.c
- (prepare_dir, uim_custom_load_group): Add error handlings
* uim/uim-custom.h
- Include uim-scm.h for uim_bool
* examples/uim-custom/uim-custom-dump.c
* examples/uim-custom/uim-custom-variable.c
- Remove #include <uim/uim-scm.h>
2004-12-30 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_init, uim_custom_quit, uim_custom_load,
uim_custom_save, uim_custom_broadcast, uim_custom_get,
uim_custom_set, uim_custom_free, uim_custom_value_as_literal,
uim_custom_definition_as_literal, uim_custom_group_get,
uim_custom_group_free, uim_custom_collect_by_group,
uim_custom_groups, uim_custom_primary_groups,
uim_custom_group_subgroups, uim_custom_symbol_list_free,
uim_custom_cb_set): Add doxygen style description
* uim/uim-custom.h
- Remove function specific description
- Add function group headers
2004-12-30 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_choice_list_free): Add lacking static specifier
- (uim_scm_c_list, uim_scm_c_str_failsafe, uim_scm_c_str_list,
uim_scm_c_list_free): Make static. Moving to uim-scm.c is
postponed
* uim/uim-custom.h
- Modify some comments
2004-12-30 YamaKen <yamaken@bp.iij4u.or.jp>
* examples/uim-custom/uim-custom-variable.c
- New file
- Shows how to modify custom variable
- (choice_items_to_str, inspect_custom, main): New function
2004-12-29 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/escseq.c
- tcsetattr(STDIN_FILENO, TCSAFLUSH, &tios);
+ tcsetattr(STDIN_FILENO, TCSANOW, &tios);
2004-12-29 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* scm/{anthy,canna,skk}.scm
change the order of {anthy,canna,skk}-input-mode-actions
2004-12-29 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Remove "-O2" from CFLAGS and CXXFLAGS when --enable-debug
* uim/uim-scm.c
- (protected_arg0): New static variable
- (uim_scm_c_int, uim_scm_c_str, uim_scm_string_equal): Protect the
argument from GC by using protected_arg0
- (uim_init_scm_subrs): Add initialization of protected_arg0
* examples/uim-custom/uim-custom-update.c
- Fix include path
- (main): Cosmetic change
2004-12-29 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_custom_choice_item_list): Fix mishandled data conversion
* uim/plugin.c
- (plugin_load): Fix using stdout for error messages with
stderr. libuim must not break stdout stream of
applications. Although some uim tools such as uim-sh puts sexps to
stdout, it uses stdout as an application.
* examples/uim-custom/uim-custom-dump.c
- New file
- Shows how to access custom groups and custom variables
- (dump_custom, dump_group, main): New function
2004-12-28 YamaKen <yamaken@bp.iij4u.or.jp>
* examples
* examples/uim-custom
- New directory
* examples/uim-custom/uim-custom-update.c
- New file
- Shows Usage of uim_custom_save() and uim_custom_broadcast() of
custom API
- (main): New function
2004-12-28 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-scm.h
- (uim_lisp): Replace actual definition 'void *' with 'struct
uim_opaque *' to enable compile-time type check
* uim/uim-scm.c
- (uim_scm_nullp, uim_init_scm_subrs): Cast between LISP and
uim_lisp properly
2004-12-28 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes uim_custom_load() and uim_custom_broadcast()
working as prototype quality
* uim/uim-custom.h
- (uim_custom_load): New function
* uim/uim-custom.c
- (for_each_primary_groups, uim_custom_load_group): New static
function
- (uim_custom_load): New function
- (uim_custom_save): Move almost code into for_each_primary_groups
to share the code between uim_custom_load_group() and reimplement
with the function
* uim/uim.c
- Include uim-custom.h
- (uim_init_scm): Add initialization of custom variables and loading
from ~/.uim.d/customs/custom-*.scm
* scm/loader.scm
- Move loading of custom.scm into uim.c
2004-12-28 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit makes uim_custom_save() working as prototype quality
* uim/uim-custom.c
- (custom_subdir): New static variable
- (uim_custom_init): Fix invalid pointer arg for uim_scm_gc_protect()
- (custom_file_path): Fix misspelled subdirectory name by replacing
the name with custom_subdir
- (prepare_dir): Implement for testing
- (uim_conf_prepare_dir): Fix wrong subdirectory path
- (uim_custom_save_group): Replace the subdirectory name with
custom_subdir
- (uim_custom_save_group): Print lacking "\n" for each lines
2004-12-26 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_string_to_list) : Removed.
(skk_string_to_hira_list) : Ditto. These kana conversion from
completed string is now handled in scheme side.
(skk_string_to_kata_list) : Ditto.
* scm/skk.scm (skk-proc-state-kanji) : Pressing C-q during
skk-proc-state-kanji now commit kana with hanakaku katakana.
(find-kana-list-from-rule) : New function. Find corresponding
list of hiragana, katakana, and hanakaku-katakana with supplied
string from ja-rk-rule-basic.
(skk-append-list-to-context-head) : New function. Append list of
hiragana, katakana, and hankaku-katakana into skk-context-head.
(skk-string-list-to-context-head) : New function. Add string list
created by completed midashi-entry into skk-context-head.
(skk-proc-state-completion) : Create skk-contex-head from
completed string even with hankaku-katakana.
2004-12-26 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac:
- (AC_INIT): Second argument changed to use version checking.
2004-12-26 Masahito Omote <omote@utyuuzin.net>
* This commit is the same changes as in r68.
- helper/toolbar-common-gtk.c: Use GIOChannel instaed of GdkInput.
- helper/im-switcher-gtk.c: Use GIOChannel instaed of GdkInput.
- helper/helper-candwin-gtk.c: Use GIOChannel instaed of GdkInput.
- helper/dict-main-gtk.c: Use GIOChannel instaed of GdkInput.
2004-12-25 Masahito Omote <omote@utyuuzin.net>
* gtk/gtk-im-uim.c: Use GIOChannel instaed of GdkInput because GdkInput
is marked as deprecated. Transition from GdkInput to GIOChannel in GDK core
was alread started in 1999. So this change does not break libuim's ABI.
- (global section): Change definition of read_tag as unsigned int.
- (helper_read_cb): Use GIOFunc.
- (check_helper_connection): Use g_io_channel_unix_new and g_io_add_watch
instead of gtk_input_add.
- (im_uim_helper_disconnect_cb): Use g_source_remove instead of
gdk_input_remove.
2004-12-25 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (merge_base_candidates_to_array) : Renamed from
merge_candidate_array.
(merge_word_to_cand_array) : New function. Insert the word at the
end of real_cand if it doesn't exist in real_cand of destination
array.
(merge_real_candidiate_array) : Use merge_word_to_cand_array.
(compare_and_merge_skk_line) : Merge two candidate arrays even if
they have same length of real_cands.
2004-12-25 kzk <mover@hct.zaq.ne.jp>
* uim-kdehelper/src/chardict/uim-chardict-qt.cpp
- fix build problem reported by UTUMI-san
2004-12-25 kzk <mover@hct.zaq.ne.jp>
* Now Qt4-beta1, which includes immodule support is released!
This change aims to enable input on Qt4-beta1 through UIM.
* quiminputcontextplugin-qt4/plugin.cpp
- disable QUimInputContextWithSlave class
* quiminputcontextplugin-qt4/qhelpermanager.h
- indentation change
* quiminputcontextplugin-qt4/quiminputcontext.cpp
- indentation change
- change keyevent->state() into keyevent->modifiers()
- comment out undeclared keys in Qt4
- change (mouseHandler)'s args
- change IMStart into InputMethodStart, as well as IMComposing
and IMEnd
- fixed typo
* quiminputcontextplugin-qt4/candidatewindow.cpp
- use QListWidget for candidate selection. but not complete yet.
- add insert and clear function of listwidgetitem
- (slotCandidateSelected): new function
* quiminputcontextplugin-qt4/quiminputcontext.h
- (mouseHandler): change args
- (isComposing): new function
- (readIMConf): make it public
- (m_isComposing): new variable for isComposing() function
* quiminputcontextplugin-qt4/candidatewindow.h
- now parent class is QVBox'Widget'
- indentation change
- (slotCandidateSelected): new function
- (cList): new variable
* quiminputcontextplugin-qt4/qhelpermanager.cpp
- optimize a little bit
* quiminputcontextplugin-qt4/quiminputcontextplugin.pro
- remove quiminputcontextplugin_with_slave.h and
quiminputcontextplugin_with_slave.cpp
* quiminputcontextplugin-qt4/edittest/main.cpp
- change QVBox into QVBoxWidget
2004-12-24 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Add AC_CHECK_FUNCS(getpid stat mkdir chmod) for uim-custom.c
* uim/uim-custom.h
- (uim_custom_set_cb): Rename to uim_custom_cb_set()
- (uim_custom_cb_set):
* Renamed from uim_custom_set_cb()
* Change type definition as appropriate
* uim/uim-custom.c
- Include some header files
- (custom_msg_tmpl, helper_fd): New static variable
- (helper_disconnect_cb, uim_conf_path, custom_file_path,
prepare_dir, uim_conf_prepare_dir, uim_custom_save_group): New
static function
- (uim_custom_save): Implemented but not not yet working until
prepare_dir() is implemented
- (uim_custom_broadcast): Implemented
- (uim_custom_set_cb): Rename to uim_custom_cb_set
- (uim_custom_cb_set):
* New function Renamed from uim_custom_set_cb()
* Not yet implemented
2004-12-23 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c : Fix minor bug in cache handling.
(add_line_to_cache_head) : Update cache modified state here.
(move_line_to_cache_head) : Ditto.
(add_line_to_cache_last) : Ditto.
(skk_commit_candidate) : Don't update the state here.
(update_personal_dictionary_cache) : Don't ommit the last line of
sorted lines. Correctly concatinate differential lines.
2004-12-23 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/anthy.c : Oops... revert accidental commit.
2004-12-23 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (cache_line_diffs) : Calculate number of lines.
(update_personal_dictionary_cache) : Update cache line number
properly.
2004-12-23 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_read_personal_dictionary) : Minor change
about timing of file locking.
(skk_lib_save_personal_dictionary) : Ditto.
2004-12-22 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/helper-candwin-gtk.c (candwin_activate) : Call
update_label().
2004-12-22 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c : Enable exclusive access of personal dictionary.
(open_lock) : New function.
(close_lock) : New function.
(skk_read_personal_dictionary) : Do file locking with F_RDLCK.
(skk_lib_save_personal_dictionary) : Do file locking with F_WRLCK.
2004-12-22 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/toolbar-standalone-gtk.c:
-(size_request_cb): Added size check. If old/new width/height are the
same, do nothing.
2004-12-21 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Add existence check for dlfunc(3)
* uim/plugin.c
- Define dlfunc as alias of dlsym if HAVE_DLFUNC is not defined
- (plugin_load): Replace dlsym() with dlfunc() to suppress warning
2004-12-21 YamaKen <yamaken@bp.iij4u.or.jp>
* configure.ac
- Add use_m17nlib="no" before AC_ARG_WITH(m17nlib) macro to fix
broken AC_MSG_RESULT() when m17nlib is not used
- Cosmetic changes to AC_ARG_WITH(m17nlib)
- Remove unused AM_CONDITIONAL(XFCE4_PANEL)
2004-12-21 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/slib.c
- (string2integer): Add lacking static specifier
2004-12-21 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit performs the first step of reorganization of uim-scm API
and custom API. Many API functions and global variables are moved to
another file and renamed
* The uim-scm API are reformed for input method plugin and internal
uim implementation. See header comment of uim-scm.h
* UIM_EVAL_FSTRINGn(), uim_sizeof_sexp_str() and uim_eval_string() in
context.h will be reorganized into uim-scm API by subsequent
reorganization steps. This step may be performed after uim 0.4.6 has
been released
* Further direction of the uim-scm API about namespace pollution
removel and Scheme interpreter migration has been written in
uim-scm.c. See the comment around #include "slib.c"
* configure.ac
- Add new options --disable-compat-scm and --enable-compat-custom
- Stop configure process if --enable-sumika is performed without
--enable-compat-scm and --enable-compat-custom
* uim/Makefile.am
- (libuim_la_SOURCES):
* Add uim-scm.c
* Add uim-compat-scm.c if COMPAT_SCM
* Add uim-compat-custom.c if COMPAT_CUSTOM
* Add uim-custom.c if COMPAT_CUSTOM is not defined
- (pkginclude_HEADERS):
* Add uim-compat-scm.h if COMPAT_SCM
* Add uim-compat-custom.h if COMPAT_CUSTOM
* Add uim-custom.h if COMPAT_CUSTOM is not defined
* uim/siod.h
- (repl_c_string): Add const qualifier to arg 1
* uim/slib.c
- (repl_c_string): Add const qualifier to arg 1
- (repl_c_string_arg): Add const qualifier
* uim/uim.h
- (uim_symbol_value_str): Rewrite the comment. This API function
will be deprecated. Use custom API (uim-custom.h) instead
* uim/context.h
- (uim_init_scm_subrs): New function
- (uim_init_compat_scm_subrs): New function only declared when
UIM_COMPAT_SCM is defined
* uim/uim.c
- (uim_init_scm):
* Invoke uim_init_scm_subrs()
* Invoke uim_init_compat_scm_subrs() when UIM_COMPAT_SCM is
defined
* Invoke uim_init_plugin() earlyer than other init functions
* uim/uim-func.c
- (TRUEP, FALSEP, NTRUEP, NFALSEP, true_sym, false_sym): Remove to
follow the API reorganization. These definitions are moved to
uim-scm.h and uim-scm.c
- (uim_init_im_subrs): Remove initialization of true_sym and
false_sym
* uim/plugin.c
- Include uim-scm.h instead of uim-util.h to follow the API
reorganization
- (true_sym, false_sym): Remove to follow the API reorganization
- (plugin_load):
* Replace the type 'LISP' with 'uim_lisp' to follow the API
reorganization
* Replace NIL with uim_scm_f() to follow the API reorganization
* Replace true_sym with uim_scm_t() to follow the API
reorganization
- (plugin_unload):
* Replace the type 'LISP' with 'uim_lisp' to follow the API
reorganization
* Replace NIL with uim_scm_f() to follow the API reorganization
- (uim_init_plugin):
* Remove initialization of true_sym and false_sym
* Replace uim_init_subr_1 with uim_scm_init_subr_1 to follow the
API reorganization
* uim/uim-custom.h
- (typedef uim_bool, UIM_FALSE, UIM_TRUE): Move to uim-scm.h
* uim/uim-custom.c
- Remove obsolete UIM_NO_COMPAT_CUSTOM definition
- Reorder #include lines
- (TRUEP, FALSEP, NTRUEP, NFALSEP, true_sym, false_sym): Remove to
follow the API reorganization. These definitions are moved to
uim-scm.h and uim-scm.c
- (uim_scm_return_value, uim_scm_c_symbol): Move to uim-scm.c
- (uim_custom_init): Remove initialization of true_sym and
false_sym
* uim/uim-scm.h
- Update header comment about this API appropriately
- (typedef uim_bool, UIM_FALSE, UIM_TRUE): Moved from uim-custom.h
- (true_sym, false_sym): New global variable
- (uim_scm_c_bool, uim_scm_make_bool, uim_scm_make_int,
uim_scm_make_str, uim_scm_make_symbol, uim_scm_eval_c_string,
uim_scm_init_subr_0, uim_scm_init_subr_1, uim_scm_init_subr_2,
uim_scm_init_subr_3, uim_scm_init_subr_4, uim_scm_init_subr_5):
New function
- (uim_scm_c_symbol, uim_scm_return_value): New function moved from
uim-custom.c
- (TRUEP, FALSEP, NTRUEP, NFALSEP): New macro moved from uim-util.c
- (uim_scm_repl_c_string, uim_scm_symbol_value_int,
uim_scm_int_from_c_int, uim_scm_symbol_value_str,
uim_scm_str_from_c_str, uim_scm_c_strs_into_list,
uim_scm_symbol_value, uim_scm_intern_c_str, uim_scm_qintern_c_str,
uim_scm_quote, uim_scm_nth, uim_scm_list1, uim_scm_list2,
uim_scm_list3, uim_scm_list4, uim_scm_list5, uim_scm_reverse,
uim_scm_nreverse, struct uim_api_tbl): Move to uim-compat-scm.h
- (enum UCustomType, uim_custom_value, uim_custom_value_as_bool,
uim_custom_value_as_int, uim_custom_value_as_str,
uim_custom_value_as_path, uim_custom_value_as_symbol,
uim_custom_set, uim_custom_symbol_label, uim_custom_symbol_desc,
uim_custom_label, uim_custom_desc, uim_custom_type,
uim_custom_default_value, uim_custom_ctype, uim_custom_range,
uim_custom_group_label, uim_custom_group_desc,
uim_custom_group_subgroups, uim_custom_list_groups,
uim_custom_list_primary_groups, uim_custom_collect_by_group,
uim_custom_value_as_string, uim_custom_definition_as_string):
Move to uim-compat-custom.h
* uim/uim-compat-scm.h
- Most part of this file has been moved from uim-scm.h, but actual
operation is performed by removing other functions from the file
previously copied from uim-scm.h
- Update header comment about this API appropriately
- (uim_scm_repl_c_string, uim_scm_symbol_value_int,
uim_scm_int_from_c_int, uim_scm_symbol_value_str,
uim_scm_str_from_c_str, uim_scm_c_strs_into_list,
uim_scm_symbol_value, uim_scm_intern_c_str, uim_scm_qintern_c_str,
uim_scm_quote, uim_scm_nth, uim_scm_list1, uim_scm_list2,
uim_scm_list3, uim_scm_list4, uim_scm_list5, uim_scm_reverse,
uim_scm_nreverse, struct uim_api_tbl): Moved from uim-scm.h
* uim/uim-compat-custom.h
- Most part of this file has been moved from uim-scm.h, but actual
operation is performed by removing other functions from the file
previously copied from uim-scm.h
- Update header comment about this API appropriately
- (enum UCustomType, uim_custom_value, uim_custom_value_as_bool,
uim_custom_value_as_int, uim_custom_value_as_str,
uim_custom_value_as_path, uim_custom_value_as_symbol,
uim_custom_set, uim_custom_symbol_label, uim_custom_symbol_desc,
uim_custom_label, uim_custom_desc, uim_custom_type,
uim_custom_default_value, uim_custom_ctype, uim_custom_range,
uim_custom_group_label, uim_custom_group_desc,
uim_custom_group_subgroups, uim_custom_list_groups,
uim_custom_list_primary_groups, uim_custom_collect_by_group,
uim_custom_value_as_string, uim_custom_definition_as_string):
Moved from uim-scm.h
* uim/uim-util.c
- Reorder #include lines
- Include uim-scm.h and uim-compat-scm.h to follow the API
reorganization
- (TRUEP, FALSEP, NTRUEP, NFALSEP): Move to uim-scm.h
- (true_sym, false_sym): Move to uim-scm.c
- (quote_sym): Move to uim-compat-scm.c
- (uim_scm_c_int, uim_scm_c_str, uim_scm_gc_protect,
uim_scm_get_verbose_level, uim_scm_set_verbose_level,
uim_scm_load_file, uim_scm_t, uim_scm_f, uim_scm_null_list,
uim_scm_nullp, uim_scm_eq, uim_scm_string_equal, uim_scm_eval,
uim_scm_cdr, uim_scm_cadr, uim_scm_caar, uim_scm_cdar,
uim_scm_cddr, uim_scm_cons): Move to uim-scm.c
- (uim_scm_repl_c_string, uim_scm_symbol_value_int,
uim_scm_int_from_c_int, uim_scm_symbol_value_str,
uim_scm_str_from_c_str, uim_scm_c_strs_into_list,
uim_scm_symbol_value, uim_scm_intern_c_str, uim_scm_qintern_c_str,
uim_scm_quote, uim_scm_nth, uim_scm_list1, uim_scm_list2,
uim_scm_list3, uim_scm_list4, uim_scm_list5, uim_scm_reverse,
uim_scm_nreverse): Move to uim-compat-scm.c
- (uim_custom_value, uim_custom_value_as_bool,
uim_custom_value_as_int, uim_custom_value_as_str,
uim_custom_value_as_path, uim_custom_value_as_symbol,
uim_custom_set, uim_custom_symbol_label, uim_custom_symbol_desc,
uim_custom_label, uim_custom_desc, uim_custom_type,
uim_custom_default_value, uim_custom_ctype, uim_custom_range,
uim_custom_group_label, uim_custom_group_desc,
uim_custom_group_subgroups, uim_custom_list_groups,
uim_custom_list_primary_groups, uim_custom_collect_by_group,
uim_custom_value_as_string, uim_custom_definition_as_string): Move
to uim-compat-custom.c
- (uim_init_subr_0): Moved and renamed to uim_scm_init_subr_0 of
uim-scm.c
- (uim_init_subr_1): Moved and renamed to uim_scm_init_subr_1 of
uim-scm.c
- (uim_init_subr_2): Moved and renamed to uim_scm_init_subr_2 of
uim-scm.c
- (uim_init_subr_3): Moved and renamed to uim_scm_init_subr_3 of
uim-scm.c
- (uim_init_subr_4): Moved and renamed to uim_scm_init_subr_4 of
uim-scm.c
- (uim_init_util_subrs): Remove initialization of true_sym,
false_sym and quote_sym
* uim/uim-scm.c
- Most part of this file has been moved from uim-util.c, but actual
operation is performed by removing other functions from the file
previously copied from uim-util.c
- Reorder #include lines
- Add header comment about future namespace pollution removal and
Scheme interpreter migration
- (true_sym, false_sym):
* Moved from uim-util.c to follow the API reorganization
* Make exported
- (uim_scm_c_bool, uim_scm_make_bool, uim_scm_eval_c_string,
uim_init_scm_subrs): New function
- (uim_scm_c_symbol, uim_scm_return_value): Moved from uim-custom.c
- (uim_scm_c_int, uim_scm_c_str, uim_scm_gc_protect,
uim_scm_get_verbose_level, uim_scm_set_verbose_level,
uim_scm_load_file, uim_scm_t, uim_scm_f, uim_scm_null_list,
uim_scm_nullp, uim_scm_eq, uim_scm_string_equal, uim_scm_eval,
uim_scm_cdr, uim_scm_cadr, uim_scm_caar, uim_scm_cdar,
uim_scm_cddr, uim_scm_cons): Moved from uim-util.c
- (uim_scm_make_int):
* New function
* Implementation is copied from uim_scm_int_from_c_int()
- (uim_scm_make_str):
* New function
* Implementation is copied from uim_scm_str_from_c_str()
- (uim_scm_make_symbol):
* New function
* Implementation is copied from uim_scm_intern_c_str()
- (uim_scm_init_subr_0):
* Moved and renamed from uim_init_subr_0 of uim-util.c
* Cosmetic change
- (uim_scm_init_subr_1):
* Moved and renamed from uim_init_subr_1 of uim-util.c
* Cosmetic change
- (uim_scm_init_subr_2):
* Moved and renamed from uim_init_subr_2 of uim-util.c
* Cosmetic change
- (uim_scm_init_subr_3):
* Moved and renamed from uim_init_subr_3 of uim-util.c
* Cosmetic change
- (uim_scm_init_subr_4):
* Moved and renamed from uim_init_subr_4 of uim-util.c
* Cosmetic change
- (uim_scm_init_subr_5): New function
* uim/uim-compat-scm.c
- Most part of this file has been moved from uim-util.c, but actual
operation is performed by removing other functions from the file
previously copied from uim-util.c
- Update header comment about this API appropriately
- (quote_sym): Moved from uim-util.c
- (uim_scm_repl_c_string, uim_scm_symbol_value_int,
uim_scm_symbol_value_str, uim_scm_c_strs_into_list,
uim_scm_symbol_value, uim_scm_qintern_c_str, uim_scm_quote,
uim_scm_nth, uim_scm_list1, uim_scm_list2, uim_scm_list3,
uim_scm_list4, uim_scm_list5, uim_scm_reverse, uim_scm_nreverse):
Moved from uim-util.c
- (uim_scm_int_from_c_int):
* Moved from uim-util.c
* Replace the implementation with uim_scm_make_int()
- (uim_scm_str_from_c_str):
* Moved from uim-util.c
* Replace the implementation with uim_scm_make_str()
- (uim_scm_intern_c_str):
* Moved from uim-util.c
* Replace the implementation with uim_scm_make_symbol()
- (uim_init_compat_scm_subrs): New function
* uim/uim-compat-custom.c
- Most part of this file has been moved from uim-util.c, but actual
operation is performed by removing other functions from the file
previously copied from uim-util.c
- Reorder #include lines
- (uim_custom_value, uim_custom_value_as_bool,
uim_custom_value_as_int, uim_custom_value_as_str,
uim_custom_value_as_path, uim_custom_value_as_symbol,
uim_custom_set, uim_custom_symbol_label, uim_custom_symbol_desc,
uim_custom_label, uim_custom_desc, uim_custom_type,
uim_custom_default_value, uim_custom_ctype, uim_custom_range,
uim_custom_group_label, uim_custom_group_desc,
uim_custom_group_subgroups, uim_custom_list_groups,
uim_custom_list_primary_groups, uim_custom_collect_by_group,
uim_custom_value_as_string, uim_custom_definition_as_string):
Moved from uim-util.c
* uim/uim-sh.c
- Add #include "uim-compat-scm.h" to follow the API reorganization
* uim/canna.c
- Include uim-scm.h and uim-compat-scm.h to follow the API
reorganization
- (true_sym): Remove to follow the API reorganization
- (uim_init_canna): Remove initialization of true_sym
* uim/m17nlib.c
- (preedit_changedp, free_id): Replace the type 'LISP' with
'uim_lisp' to follow the API reorganization
- (init_m17nlib, compose_modep, free_id, push_symbol_key, push_key,
commit, candidate_showp):
* Replace the type 'LISP' with 'uim_lisp' to follow the API
reorganization
* Replace NIL with uim_scm_f() to follow the API reorganization
- (get_left_of_cursor, get_right_of_cursor, get_left_of_candidate,
get_selected_candidate, get_right_of_candidate,
get_commit_string):
* Replace the type 'LISP' with 'uim_lisp' to follow the API
reorganization
* Replace uim_scm_str_from_c_str() with uim_scm_make_str() to
follow the API reorganization
- (get_input_method_name, get_input_method_lang):
* Replace uim_scm_str_from_c_str() with uim_scm_make_str() to
follow the API reorganization
* Replace NIL with uim_scm_f() to follow the API reorganization
- (get_nth_candidate):
* Replace the type 'LISP' with 'uim_lisp' to follow the API
reorganization
* Replace uim_scm_str_from_c_str() with uim_scm_make_str() to
follow the API reorganization
* Replace NIL with uim_scm_f() to follow the API reorganization
- (get_nr_input_methods, alloc_id):
* Replace uim_scm_int_from_c_int() with uim_scm_make_int() to
follow the API reorganization
- (get_nr_candidates, get_candidate_index):
* Replace the type 'LISP' with 'uim_lisp' to follow the API
reorganization
* Replace uim_scm_int_from_c_int() with uim_scm_make_int() to
follow the API reorganization
- (uim_init_m17nlib):
* Replace uim_init_subr_0, uim_init_subr_1, uim_init_subr_2,
uim_init_subr_3 with uim_scm_init_subr_0, uim_scm_init_subr_1,
uim_scm_init_subr_2, uim_scm_init_subr_3, to follow the API
reorganization
* sumika/common/uimconfig.c
* sumika/gtk2/uimcontainer.c
- Include uim-compat-scm.h and uim-compat-custom.h instead of
uim/uim-scm.h to follow the API reorganization
2004-12-21 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (open_dic) : Properly initialize di->addr.
2004-12-21 Takuro Ashie <ashie@homa.ne.jp>
* gtk-im-uim.c: Revert. Sorry, I commited wrong file.
* uim-cand-win-gtk.c: This is the correct one.
2004-12-21 Takuro Ashie <ashie@homa.ne.jp>
* helper/helper-candwin-gtk.c, gtk/gtk-im-uim.c
- (tree_selection_changed): Do not update selected index if the
current selected index is negative value.
- (uim_cand_win_gtk_set_candidates): update label.
2004-12-21 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit prepares uim-scm and custom API reorganization
* uim/uim-compat-scm.h
* uim/uim-compat-custom.h
- New file copied from uim-scm.h
* uim/uim-scm.c
* uim/uim-compat-scm.c
* uim/uim-compat-custom.c
- New file copied from uim-util.c
2004-12-20 Takuro Ashie <ashie@homa.ne.jp>
* helper/helper-candwin-gtk.c:
- Follow uim-cand-win-gtk.c's changes.
2004-12-20 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-cand-win-gtk.c:
"unselected" state has been revived.
Thanks reporting > Hiroyuki Komatsu <komatsu@taiyaki.org>
2004-12-20 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* scm/skk.scm (skk-list-to-context-head) : Removed. This function
was broken.
(skk-begin-completion) : Use correct kana-type for completion.
(skk-proc-state-completion) : Invoke skk-lib-string-to-hiragana-list
and skk-lib-string-to-katakana-list to set context-head from
string. Use correct kana-type for completion.
* uim/skk-dic.c (skk_string_to_list) : New function to get list
from string.
(skk_string_to_hira_list) : New function. Return list from string
with hiragana.
(skk_string_to_kata_list) : New function. Return list from string
with katakana.
(uim_init_skk_dic) : Export skk-lib-string-to-hiragana-list and
skk-lib-string-to-katakana-list for scheme.
2004-12-20 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c : Make uim's skk support candidate arrays with
different okurigana. Also make sure to update and merge
personal dictionary cache while saving if other process which
uses libuim have modified the dictionary file.
(skk_cand_array) : Fix comment.
(skk_line) : Ditto.
(dic_info) : Add new member, cache_modified and cache_len.
(open_dic) : Initialize properly.
(okuri_in_bracket) : New function to get okurigana in bracket.
(compose_line_parts) : Get correct candidate from dictionary entry
within bracket.
(copy_skk_line) : New function.
(add_line_to_cache_head) : Increment length of cached lines.
(merge_real_candidate_array) : New function.
(skk_commit_candidate) : Delete code for nth = 0. Set candidate
in candidate array with corresponding okurigana if okuri exists.
(parse_dic_line) : Add dic_info for argument.
(skk_read_personal_dictionary) : New function. Splitted from
skk_lib_read_personal_dictionary(). Store timestamp of personal
dictionary while loading.
(skk_lib_read_personal_dictionary) : Most implementation moves
into skk_read_personal_dictionary().
(push_back_candidate_array_to_sl) : New function. Copy and add
candidate array to skk_line.
(compare_and_merge_skk_line) : New function. Merge candidates
from two skk_lines with same heading entry.
(compare_entry) : New function for merge sort.
(cache_line_diffs) : New function. Return lines with differential
heading entry between two personal dictionary caches. Also
merge candidate arrays for line with same heading entry.
(lmerge) : New function for merge sort.
(lsort) : New function. Do merge sort on personal dictionary
cache.
(update_personal_dictionary_cache) : New function. Update cache
using updated personal dictionary file.
(skk_lib_save_personal_dictionary) : Check timestamp of personal
dictionary and update cache if the file is modified by other
process.
* scm/skk.scm (skk-release-handler) : Add release handler. Call
skk-save-personal-dictionary.
2004-12-20 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/skk.scm
- (action action_skk_hiragana, action action_skk_katakana, action
action_skk_hankana, action action_skk_latin, action
action_skk_wide_latin): Fix invalid descendant context
support. Thanks 824 of 'Anthy/uim thread 4' for reporting
2004-12-19 TOKUNAGA Hiroyuki <tkng@xem.jp>
* helper/im-switcher-gtk.c:
-(load_configration): Fixed to try to open unknown file. This wil
fix Bug #1769.
2004-12-17 YamaKen <yamaken@bp.iij4u.or.jp>
* scm/hangul2.scm
- (hangul2-rule): Fix an invalid key sequence. This is the only one
entry that uses 5-length key sequence. Probably the converter
assumed at most 4-length
2004-12-17 YamaKen <yamaken@bp.iij4u.or.jp>
* uim/uim-custom.c
- (uim_scm_c_list_free, uim_custom_choice_item_list): Cosmetic
change
2004-12-17 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit adds preliminary implementation of new custom API
- This implementation is not yet working and lacking error
handlings. Restruction of uim-scm API is required to work.
- Don't insert NULL checks for free(3). free(3) accepts NULL as
proper argument that causes no action
* uim/uim-custom.h
- The custom type 'symbol' has been renamed to 'choice' to avoid
confusing with ordinary lisp symbol
- (uim_bool): New type. I want a boolean type for uim to explicitly
indicate intention about values. It should be reorganized into
uim.h after agreement with other developers
- (UIM_FALSE, UIM_TRUE): New macro
- (enum UCustomType): Rename the member UCustom_Symbol with
UCustom_Choice
- (union uim_custom_value): Rename the member as_symbol with
as_choice and change the type
- (struct uim_custom_symbol): Renamed to uim_custom_choice
- (struct uim_custom_choice): Renamed from uim_custom_symbol
- (union uim_custom_range): New union
- (struct uim_custom): Change types of value, default_value and
range to pointer
- (uim_custom_init, uim_custom_quit, uim_custom_save,
uim_custom_broadcast, uim_custom_set): Change the return type from
int to uim_bool to indicate the intention
- (uim_custom_value_as_string): Renamed to uim_custom_value_as_literal
- (uim_custom_value_as_literal): Renamed from uim_custom_value_as_string
- (uim_custom_definition_as_string): Renamed to
uim_custom_definition_as_literal
- (uim_custom_definition_as_literal): Renamed from
uim_custom_definition_as_string
* uim/uim-custom.c
- New file
- This file includes some new or duplicated uim_scm_* APIs. It
should be reorganized into uim-scm.[hc]
- (TRUEP, FALSEP, NTRUEP, NFALSEP): New macro
- (uim_scm_c_list_conv_func, uim_scm_c_list_free_func): New type
- (true_sym, false_sym, return_val): New static variable
- (uim_scm_return_value, uim_scm_c_symbol, uim_scm_c_list,
uim_scm_c_str_failsafe, uim_scm_c_str_list, uim_scm_c_list_free):
New function
- (str_list_arg): New static variable
- (uim_custom_type_eq, uim_custom_type, uim_custom_is_active,
uim_custom_get_str, uim_custom_label, uim_custom_desc,
uim_custom_choice_get, uim_custom_choice_free,
uim_custom_choice_item_list, uim_custom_choice_list_free,
uim_custom_value_internal, uim_custom_value,
uim_custom_default_value, uim_custom_value_free,
uim_custom_range_elem, uim_custom_range_get,
uim_custom_range_free): New static functions
- (uim_custom_quit, uim_custom_save, uim_custom_broadcast,
uim_custom_set_cb): New function. Just placeholders at now
- (uim_custom_init, uim_custom_get, uim_custom_set, uim_custom_free,
uim_custom_value_as_literal, uim_custom_definition_as_literal,
uim_custom_group_get, uim_custom_group_free,
uim_custom_collect_by_group, uim_custom_groups,
uim_custom_primary_groups, uim_custom_group_subgroups,
uim_custom_symbol_list_free): New function
* uim/uim-scm.h
- Add #include <stdio.h> to avoid errors
- Enclose old custom APIs with #ifdef UIM_NO_COMPAT_CUSTOM
* uim/siod.h
- (siod_return_value): New function
* uim/slib.c
- (siod_return_value): New function
2004-12-16 TOKUNAGA Hiroyuki <tkng@xem.jp>
* skk-dic.c:
- (uim_quit_skk_dic): Added NULL check.
2004-12-15 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/scim.cpp: New file. First step of a long long road...
2004-12-14 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (dic_info) : Add personal_dic_timestamp member.
(open_dic) : Enable uim-skk functionality even without SKK-JISYO.
(skk_search_line_from_file) : Ditto.
(parse_dic_line) : Ditto.
(skk_lib_save_personal_dictionary) : Ditto.
(uim_quit_skk_dic) : Ditto.
(skk_lib_get_annotation) : New function. Annotation can be
retrieved from scheme with skk-lib-get-annotation.
(uim_init_skk_dic) : Add skk-lib-get-annotation.
2004-12-14 TOKUNAGA Hiroyuki <tkng@xem.jp>
* configure.ac: Added SCIM configure test.
2004-12-14 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim.c: Removed calling canna initialize/finalize function, because
canna support is splitted into plugin.
I'll do the same thing for Anthy, SKK, PRIME.
2004-12-14 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/Makefile.am: SCIM and Canna is defined as plugin.
2004-12-13 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* uim/skk-dic.c (skk_commit_candidate) : Even if committed word is
0th candidate, make sure to mark the entry as "need_save = 1"
according to ddskk's behavior.
2004-12-13 kzk <mover@hct.zaq.ne.jp>
* Add the support of SubWindow to UimQt.
This uses new API uim_candidate_get_annotation_str,
so now commented out defaultly. (Version check cannot
work properly, because now uim svn's version is "trunk"
in configure.ac)
* qt/quiminputcontext/src/Makefile.am
- add subwindow.h and subwindow.cpp
* qt/quiminputcontext/src/subwindow.h
* qt/quiminputcontext/src/subwindow.cpp
- new files
* qt/quiminputcontext/src/candidatewindow.h
- (slotHookSubwindow): new function
- (moveEvent): new function
- (resizeEvent): new function
- (subWin): new member
* qt/quiminputcontext/src/candidatewindow.cpp
- (deactivateCandwin): cancel Hooking of subwindow
- (setPage): get annotation string using uim_candidate_get_annotation_str.
Now this code is commented out.
2004-12-13 kzk <mover@hct.zaq.ne.jp>
* uim/uim.h
- (uim_candidate_get_annotation_str): documentation update
2004-12-13 kzk <mover@hct.zaq.ne.jp>
* scm/m17nlib.scm
- (m17nlib-get-candidate-handler): add ""(empty string) for annotation member
* scm/prime.scm
- (prime-get-candidate-handler): Ditto
* scm/generic.scm
- (generic-get-candidate-handler): Ditto
* scm/canna.scm
- (canna-get-candidate-handler): Ditto
* scm/anthy.scm
- (anthy-get-candidate-handler): Ditto
* scm/skk.scm
- (skk-get-candidate-handler): Ditto
2004-12-13 kzk <mover@hct.zaq.ne.jp>
* Add candidate's annotation support
* uim/uim.h
- (uim_candidate_get_annotation_str): new public API
- documentation update
* uim/uim.c
- (uim_get_candidate): cand->annotation may be uim_return_str_list[2] if available
- (uim_candidate_get_annotation_str): new function
- (uim_candidate_free): free cand->annotation str if available
2004-12-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/locale.cpp (locale_map) : Add encoding information for
locale_map to support system which doesn't handle setlocale(3)
without encoding name.
(get_valid_locales) : Retry setlocale() with encoding information
if it fails.
2004-12-12 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/slib.c:
- (string2integer): New function.
2004-12-12 Masanari Yamamoto <h013177b@ice.nuie.nagoya-u.ac.jp>
* fep/str.c (tab2space) : New function to use prime 0.8.5
2004-12-12 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Check strsep().
* xim/locale.cpp (all_locales) : Add sanity check.
* xim/util.h : Add prototype of strsep() for system without it.
* xim/util.cpp (strsep) : New function for system without it.
2004-12-11 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* helper/helper-candwin-gtk.c (_UIMCandidateWindow) : Add size
attribute variables.
(configure_event_cb) : New function for configure_event callback.
(init_candidate_win) : Connect to configure_event callback.
(candwin_activate) : No need to do gtk_window_get_size() here.
(candwin_move) : Move layout code to uim_cand_win_gtk_layout().
(uim_cand_win_gtk_set_page) : Resize window here. Shrink height
in addition to width.
(uim_cand_win_gtk_layout) : New function.
2004-12-11 kzk <mover@hct.zaq.ne.jp>
* Enhancement of uim-chardict-qt
* qt/uim-kdehelper/src/chardict/chargridview.cpp
- (setCharacters): fix rows caluculation bug
* qt/uim-kdehelper/src/chardict/uim-chardict-qt.h
- add new enum member UNKNOWN
- (changeMode): now public slot
* qt/uim-kdehelper/src/chardict/unicodeviewwidget.h
- remove conflicting signal
* qt/uim-kdehelper/src/chardict/uim-chardict-qt.cpp
- (main): parse arguments
2004-12-10 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Check setenv() and unsetenv(). Reported by Konosuke
Watanabe.
* uim/setenv.c : New file. Compatiblity function of setenv() and
unsetenv().
* uim/uim-util.c : Add prototype of setenv() and unsetenv() if
they are not available on target system.
* uim/Makefile.am : Add setenv.c as libuim_la_SOURCES.
2004-12-10 kzk <mover@hct.zaq.ne.jp>
* scm/anthy.scm
- This commit enable you to select candidate by pressing
Numeral-keys (0 to 9). Now this function is defaultly
disabled.
- (anthy-select-candidate-by-numeral-key?): new variable
- (anthy-move-candidate-in-page): new function
- (anthy-proc-converting-state): handle numeral key when
this function is enabled and candidate window is shown.
2004-12-10 kzk <mover@hct.zaq.ne.jp>
* More enhancement of uim-chardict-qt
- support ModeChange function
- now search by bushu and unicode block
- font selection
- you can specify the font to display characters
- configuration
- store splitter's location
- store font configuration
- clarify class structure
* uim-kdehelper/src/chardict/chargridview.cpp
* uim-kdehelper/src/chardict/chargridview.h
* uim-kdehelper/src/chardict/kseparator.cpp
* uim-kdehelper/src/chardict/kseparator.h
* uim-kdehelper/src/chardict/bushuviewwidget.cpp
* uim-kdehelper/src/chardict/bushuviewwidget.h
* uim-kdehelper/src/chardict/unicodeviewwidget.cpp
* uim-kdehelper/src/chardict/unicodeviewwidget.h
- new files
* uim-kdehelper/src/chardict/Makefile.am
- add new files
2004-12-10 Takuro Ashie <ashie@homa.ne.jp>
* helper/im-switcher-gtk.c: Translate "Changing way".
* po/uim.pot, po/ja.po: Update.
* scm/custom.scm: Internationalize.
2004-12-10 kzk <mover@hct.zaq.ne.jp>
* qt/uim-kdehelper/src/common/uimstateindicator.cpp
- (slotMenuActivated): remove radundant "\n" of helper message
2004-12-09 Takuro Ashie <ashie@homa.ne.jp>
* po/POTFILES.in:
- Added helper/toolbar-common-gtk.c and helper/input-pad-ja.c.
2004-12-09 Takuro Ashie <ashie@homa.ne.jp>
* gtk/uim-cand-win-gtk.c:
- Set position of candidates window every time when candidates are
set. But it'a temporary solution. I'll fix it by more suitable
way when uim-custom is completed.
Thanks reporting > Hiroyuki Komatsu.
2004-12-09 Takuro Ashie <ashie@homa.ne.jp>
* helper/toolbar-standalone-gtk.c: Internationalize.
2004-12-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* configure.ac : Check for asprintf() and vasprintf(), by Konosuke
Watanabe.
* xim/Makefile.am : Add util.{h,cpp}, helper.{h,cpp} as
uim_xim_SOURCES.
* xim/util.h : New file. Move fd dispatch prototypes and misc
functions from main.c. Add asprintf() and vasprintf() for
system which lacks these function.
* xim/util.cpp : Ditto.
* xim/helper.h : New file. Move check_helper_connection()
prototype from ximserver.h.
* xim/helper.cpp : Move uim-helper related functions from from
main.c.
* xim/connection.h : Move connection_setup() prototype from
main.c.
* xim/main.cpp : Use proper header files. Move fd dispatch
definition into util.{h,cpp}. Move helper related function into
helper.cpp.
* xim/locale.cpp : Use proper header file.
* xim/ximtrans.cpp : Ditto.
* xim/ximic.cpp : Ditto.
* xim/ximim.cpp : Ditto.
* xim/ximserver.cpp : Ditto.
* xim/convdisp.cpp : Ditto.
* xim/ximpacket.cpp : Ditto.
* xim/canddisp.cpp : Ditto.
* xim/ximserver.h : Ditto.
2004-12-08 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* xim/ximtrans.cpp (Connection::xim_open) : In full-synchronous
XIM event flow, don't use KeyRelease event.
* xim/ximic.cpp (XimIC::get_ic_atr) : Update comment.
* xim/ximserver.cpp (KeyState::check_key) : Check modifier keys
properly even when KeyRelease event is not available.
2004-12-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* japanese.scm:
- Old ja-kana-rule was renamed to ja-kana-hiragana-rule.
2004-12-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* intltool-update.in:
-(GeneratePOTemplate): Remove xxx.scm.h files after use.
2004-12-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim/context.h:
- Added function prototypes.
uim_init_plugin and uim_quit_plugin.
2004-12-08 kzk <mover@hct.zaq.ne.jp>
* changes for "candidate-window-position" property
* quiminputcontextplugin-qt4/quiminputcontext.cpp
* quiminputcontextplugin/src/quiminputcontext.cpp
- (QUimInputContextPlugin): read IM configuretion
- (getPreeditCursorPosition): return 0 if always left position
- (readIMConf): new function
* quiminputcontextplugin-qt4/quiminputcontext.h
* quiminputcontextplugin/src/quiminputcontext.h
- (readIMConf): new function
* uiminputcontextplugin-qt4/candidatewindow.h
* uiminputcontextplugin/src/candidatewindow.h
- (setAlwaysLeftPosition): new function
- (isAlwaysLeftPosition): new function
- (isAlwaysLeft): new variable
* quiminputcontextplugin-qt4/qhelpermanager.cpp
* quiminputcontextplugin/src/qhelpermanager.cpp
- (parseStrImChange): call QUimInputContext::readIMConf
when im is switched.
2004-12-08 kzk <mover@hct.zaq.ne.jp>
* initial commit of uim-chardict-qt
now chardict has only the function to show chars
by specifying bushu. it uses Bushu->Kanji dictionary
of canna project. Thanks!
* uim-kdehelper/src/Makefile.am
- add chardict to SUBDIRS
* uim-kdehelper/src/chardict
- new directory
* uim-kdehelper/data
- new directory for storing various datas
2004-12-08 TOKUNAGA Hiroyuki <tkng@xem.jp>
* In this revision, plugin system is introduced, and this system
applied to m17nlib.c. This may cause some troubles.
* uim/m17nlib.c: Some functions are renamed.
- intcons -> uim_scm_int_from_c_int
- strcons -> uim_scm_str_from_c_str
- uim_get_c_string -> uim_scm_c_str
- get_c_int -> uim_scm_c_int
- init_subr_0 -> uim_init_subr_0
- init_subr_1 -> uim_init_subr_1
- init_subr_2 -> uim_init_subr_2
- init_subr_3 -> uim_init_subr_3
* uim/plugin.c: New file to introduce plugin sytem.
* uim/plugin.h: New file to introduce plugin sytem.
* uim/Makefile.am: m17n-lib glue code (m17nlib.c) is splitted into plugin.
* scm/loader.scm: Call load-plugin before read m17nlib.scm.
2004-12-07 kzk <mover@hct.zaq.ne.jp>
* INDENTATION CHANGE FOR ALL FILES
* qt/*
- all source files( *.h, *.cpp ) are now automatically indented by
using Artistic Style( http://astyle.sourceforge.net/ ). The
command options are written in "INDENT" file.
2004-12-07 kzk <mover@hct.zaq.ne.jp>
* qt/uim-kdehelper/admin
- update build system( overwrite existing one )
2004-12-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* test.sh.in:
-(LIBUIM_PLUGIN_LIB_DIR): New environment variable for plugin system.
2004-12-07 TOKUNAGA Hiroyuki <tkng@xem.jp>
* uim-util.c:
-(uim_init_subr_0): New function.
-(uim_init_subr_1): New function.
-(uim_init_subr_2): New function.
-(uim_init_subr_3): New function.
2004-12-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
* All files imported from old repository.
2004-12-06 TOKUNAGA Hiroyuki <tkng@xem.jp>
New directory trunk/ created.
|