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
|
/*
* ChangeLog: Dealing with the actual changes of code in ircII, leaving
* NEWS for actual user changes.
*
* Matthew Green, 1993.
*
* Copyright(c) 1993-2021
*
* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
*
* @(#)$eterna: ChangeLog,v 2.817 2021/04/27 19:00:13 mrg Exp $
*/
Tue Apr 27 03:06:24 PDT 2021 - matthew green <mrg@eterna.com.au>
source/alias.c:
avoid uninitialised variable access, from clang.
Sun Apr 11 20:58:01 UTC 2021 - matthew green <mrg@eterna.com.au>
source/exec.c:
use a simpler method to strip trailing crnl.
source/history.c:
avoid returning stack buffer.
Sat Mar 20 21:27:05 PDT 2021 - matthew green <mrg@eterna.com.au>
help/assign, help/basics, help/dquery, help/expressions,
help/foreach, help/if, help/intro, help/list, help/menus, help/mode,
help/names, help/newuser, help/servlist, help/who, help/xecho,
help/xtype, help/alias/special, help/bind/keys, help/ctcp/ctcp,
help/load/action, help/load/alias, help/load/autoop,
help/load/autoquery, help/load/basical, help/load/commander,
help/load/deutsch, help/load/english, help/load/fnet,
help/load/functions, help/load/local, help/load/oper,
help/load/recursion, help/load/wallopstat, help/load/window,
help/note/deny, help/note/find, help/note/flag, help/note/ls,
help/note/news, help/note/send, help/note/spy, help/note/user,
help/note/waitfor, help/note/wall, help/note/wallops,
help/on/channel_nick, help/on/ctcp_reply, help/on/dcc_list,
help/on/disconnect, help/on/exec, help/on/exec_errors,
help/on/exec_exit, help/on/exec_prompt, help/on/flood, help/on/hook,
help/on/input, help/on/mode, help/on/nickname, help/on/notice,
help/on/on, help/on/server_notice, help/on/timer, help/on/window,
help/set/debug, help/set/display_encoding, help/set/input_encoding,
help/set/irc_encoding, help/set/status_format, help/window/show:
remove tabs and reformat a bunch. the html output is now
not entirely broken for a bunch of pages i checked.
Sat Mar 20 13:48:07 PDT 2021 - matthew green <mrg@eterna.com.au>
doc/help2html.pl, help/@, help/alias/functions, help/alias/special:
handle help files without Usage: and properly format
alias/functions list of functions, which also makes
alias/special come out mostly OK.
Fri Mar 19 21:47:07 PDT 2021 - matthew green <mrg@eterna.com.au>
doc/help2html.pl:
properly handle "pre" vs non-pre sections, makes many
of the pages display correctly or almost so.
20210314
Sun Mar 14 11:19:32 PDT 2021 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/defs.h.in, include/irc_std.h:
finish removing RFC2553 / addrinfo checks.
source/ctcp.c:
call sl_free() in do_clientinfo(). from michael ortmann
<ortmann@posteo.de>.
source/ircaux.c, source/server.c:
be sure to free addrinfo structures. picked up by the
leak sanitizer.
20210302
Tue Mar 2 13:43:11 PST 2021 - matthew green <mrg@eterna.com.au>
source/ctcp.c, source/edit.c, source/mail.c, source/menu.c:
make sure final character is \n before removing it.
ensure that ctime() does not return NULL. reported by
michael ortmann <ortmann@posteo.de>.
Tue Mar 2 13:02:05 PST 2021 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
avoid accessing a variable after it goes out of scope.
from sanitizer, via michael ortmann <ortmann@posteo.de>.
20210301
Tue Mar 2 03:03:05 PST 2021 - matthew green <mrg@eterna.com.au>
Makefile.in, configure, configure.in, include/defs.h.in,
source/getaddrinfo.c, source/getnameinfo.c, source/inet_ntop.c,
source/inet_pton.c, source/snprintf.c:
assume host provides working implementations of
functions getnameinfo()/getaddrinfo()/snprintf().
Tue Mar 2 02:14:31 PST 2021 - matthew green <mrg@eterna.com.au>
source/exec.c:
in close_all_exec() call kill_process() before
delete_process() so that kill_process() can find info
about the process before it is removed.
source/ircaux.c:
convert from sigblock() to sigprocmask(). also block
SIGUSR2 as well as SIGUSR1, and also block them when
calling malloc() and realloc() as well as free().
Sun Feb 28 23:46:10 UTC 2021 - matthew green <mrg@eterna.com.au>
configure.in, configure:
support combining sanitizers. asan+ubsan, lsan+ubsan
are ok, but since asan includes lsan, including both
crashes, so don't allow that. allow calling them
asan/address, lsan/leak, and ubsan/undefined.
Sun Feb 28 22:43:32 UTC 2021 - matthew green <mrg@eterna.com.au>
help/bind/refresh_window_lastlog:
add missing documentation for new-in-2017 bindable key.
Sat Feb 27 15:02:39 PST 2021 - matthew green <mrg@eterna.com.au>
source/crypt.c:
avoid C99's "for (type var = 0; ...)" feature. this trips
up defaults on older GCCs while can compile the rest of
the C99-using parts of ircii without any fault.
Sat Feb 27 14:36:30 PST 2021 - matthew green <mrg@eterna.com.au>
include/debug.h, include/irc.h, source/debug.c, source/irc.c:
remove get_log_fp() and move all the log handling into
debug.c. avoid wanting a static definition of 'stderr'
and fix compliation issues on some platforms.
20210226
Fri Feb 26 23:54:16 PST 2021 - matthew green <mrg@eterna.com.au>
include/irc.h, source/debug.c, source/irc.c:
convert open_log_file() to not override what 'stderr' is,
since this conflicts with address sanitizer's use of stderr.
add get_log_fp() and use it in debug.c to find the FILE *
for the log now that 'stderr' is not it.
Fri Feb 26 23:49:15 PST 2021 - matthew green <mrg@eterna.com.au>
source/window.c:
fix a memory leak triggered by wrapped lines and the
cursor indent is missing or is too long, found by
by -fsanitize=address leak sanitizer.
Fri Feb 26 23:11:14 PST 2021 - matthew green <mrg@eterna.com.au>
fix four bugs reported by michael ortmann <ortmann@posteo.de>:
source/icb.c:
fix a logic error that would crash if hit.
source/newio.c:
avoid overflowing the buffer passed to dgets() by 1 byte.
source/parse.c:
avoid underflowing the buffer passed to irc2_parse_server()
by 1 byte, if it sees a line with just "\n".
source/queue.c:
fix a crash in "/queue -delete <queue>" by defining this
operation as delete all the entries in the named queue.
Wed Feb 24 23:35:54 UTC 2021 - matthew green <mrg@eterna.com.au>
configure.in, configure:
add support for the leak sanitizer. fix the
getaddrinfo() works test which was leaking memory.
Wed Feb 24 23:24:40 UTC 2021 - matthew green <mrg@eterna.com.au>
source/alias.c, source/irc.c, source/hook.c:
make sure numerics are in valid range, and buffers are
impossible to overrun (shouldn't happen, but the
compiler/sanitizer can't tell from what it can see.)
Wed Feb 24 11:53:38 PST 2021 - matthew green <mrg@eterna.com.au>
configure.in, configure:
add --with-sanitizer[=<asan|ubsan>] support to configure.
source/ircflush.c:
avoid an extremely unlikely buffer overflow.
source/ircaux.c:
appease undefined sanitizer and ensure a format passed to
vsnprintf() is not NULL.
Wed Feb 24 11:52:02 PST 2021 - matthew green <mrg@eterna.com.au>
source/parse.c:
make sure all unused elements of TrueArgs[] are NULL.
20210224
Wed Feb 24 02:25:44 PST 2021 - matthew green <mrg@eterna.com.au>
include/parse.h, source/funny.c, source/notice.c, source/numbers.c,
source/parse.c, source/whois.c:
consolidate most of the arg checking and calls to new
irc2_odd_server_stuff() into check_params(). fix the check
in p_kick().
Wed Feb 24 02:00:11 PST 2021 - matthew green <mrg@eterna.com.au>
include/edit.h, include/funny.h, include/notice.h, include/numbers.h,
include/parse.h, include/whois.h, source/edit.c, source/funny.c,
source/notice.c, source/numbers.c, source/parse.c, source/whois.c:
avoid NULL derefs, and accessing previous stack contents,
triggerable by a malicious IRC server. fix the do_hook()
call in whoreply_check() to not pass potentially random,
but likely duplicated data to /ON WHO. ensure that
break_args() always NULL-ends the array, a zero length input
would leave the ArgList uninitialised. check all consumers
in irc2_parse_server() and numbered_command() properly check
the arguments they expect before using them, and document
the assumptions and requirements. original issues reported
by michael ortmann <ortmann@posteo.de>, with further
investigation by mrg. i was only able to trigger crashes
with NULL dereferences, not control any other effect.
source/edit.c:
rename version() to e_version() to avoid human-conflict
with the also static version() in irc.c.
Wed Feb 24 01:13:10 PST 2021 - matthew green <mrg@eterna.com.au>
source/numbers.c:
call save_message_from() before calling
restore_message_from() when handling non-special numerics.
Wed Feb 24 00:57:43 PST 2021 - matthew green <mrg@eterna.com.au>
source/exec.c, source/icb.c:
use my_strcmp() and my_strlen() to avoid warnings.
source/numbers.c:
consistently use ArgList[0] over *ArgList.
Tue Feb 16 18:37:13 PST 2021 - matthew green <mrg@eterna.com.au>
source/icb.c:
avoid reading one byte beyond "" in two places.
picked up by -fsanitize=address.
Tue Feb 16 17:50:36 PST 2021 - matthew green <mrg@eterna.com.au>
source/exec.c:
avoid one byte buffer underflow write of a 0 byte,
picked up by -fsanitize=address. looking at a couple
of stack layouts for this function, the written byte
is currently dead space so very unlikely exploitable.
20201117
Tue Nov 17 00:22:18 PST 2020 - matthew green <mrg@eterna.com.au>
source/aes.c, source/cast.c, source/crypt.c:
introduce crypt_get_random_data() and use it to obtain
more than one byte at a time if available.
Tue Nov 17 00:05:45 PST 2020 - matthew green <mrg@eterna.com.au>
include/exec.h, include/signals.h, source/exec.c, source/irc.c,
source/mksignals.pl, source/signals.c:
move all the signal data into signals.c, and access it
via new get_signal().
source/alias.c, source/hook.c, source/server.c, source/term.c,
source/translat.c, source/window.c:
mark local variables static.
Fri Jul 31 13:22:28 PDT 2020 - matthew green <mrg@eterna.com.au>
source/server.c:
display SSL information in the server list.
configure.in, configure:
fix indentation and display of [] in --help. fix error
handling message when looking for socks5.
Thu Apr 30 20:13:04 PDT 2020 - matthew green <mrg@eterna.com.au>
source/dcc.c:
initialised buf to NULL. fixes free() of random data,
and thus likely crash. reported by michael ortmann
<ortmann@posteo.de>.
Fri Mar 13 05:13:38 PDT 2020 - matthew green <mrg@eterna.com.au>
source/status.c:
avoid negative hour/minutes causing buffer overflow.
Thu Apr 25 17:06:08 PDT 2019 - matthew green <mrg@eterna.com.au>
source/newio.c:
initialise nfds to avoid the case where no FDs are
persent in the fd_sets.
source/server.c:
fix 13 year old bug: $IRCSERVERS tries to new_free()
data in the environment which does not work.
Tue Mar 12 19:45:15 PDT 2019 - glen mccready <gkm@pobox.com>
source/newio.c:
mac os didn't like unsigned < (int)-1 with the
change below. slight change to how we calculate
nfds.
Sat Mar 9 16:19:16 PST 2019 - matthew green <mrg@eterna.com.au>
source/newio.c:
use unsigned for array index.
Mon Feb 4 17:35:12 PST 2019 - matthew green <mrg@eterna.com.au>
source/hook.c, source/ircflush.c, source/server.c:
fix potential snprintf() truncation issues.
20190117
Thu Jan 17 17:16:10 PST 2019 - matthew green <mrg@eterna.com.au>
doc/ircii.spec:
fix help file list.
Thu Jan 17 15:59:25 PST 2019 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
make lastlog_line_back_alloc() allocate an actual
LastlogLineBackInfo structure not a pointer to it.
fixes random issues in other code as it would
overflow other allocations. found by leot@netbsd
with the help of electric-fence.
20190116
Wed Jan 16 20:27:43 PST 2019 - matthew green <mrg@eterna.com.au>
include/config.h.dist, source/hook.c, source/sl.c:
avoid using identifiers starting with _.
Wed Jan 16 02:01:57 PST 2019 - matthew green <mrg@eterna.com.au>
source/input.c:
add a hack to fix the input line scrolling to keep
some prior context.
Tue Jan 15 23:44:07 PST 2019 - matthew green <mrg@eterna.com.au>
Makefile.in:
installhelp target depends upon installdirs. from
Christian Weisgerber <naddy@mips.inka.de>.
help/for:
add a help page to link to foreach, where for is
actually documented. PR#608.
Tue Jan 15 23:32:02 PST 2019 - matthew green <mrg@eterna.com.au>
source/dcc.c:
don't allow closing dcc from within a dcc hook.
fixes PR#643.
Tue Jan 15 22:25:41 PST 2019 - matthew green <mrg@eterna.com.au>
source/mksignals.pl, source/signals.c:
add support for handling aliases by eliding them. mark
IOT as maybe an alias for ABRT. fixes clang warning.
source/vars.c:
fix some paren placement to be valid, found by clang.
Tue Jan 15 16:31:54 PST 2019 - matthew green <mrg@eterna.com.au>
configure.in, configure, include/defs.h.in, include/irc.h,
assume getcwd() and strerror() always exist.
fix a comment error.
include/irc_std.h, include/ircterm.h:
move SVR4 specific code into ircterm.h
source/exec.c:
fix a compile error with new my_sigstr().
20190115
Tue Jan 15 02:59:55 PST 2019 - matthew green <mrg@eterna.com.au>
include/signals.h, source/exec.c, source/mksignals.pl,
source/signals.c:
be more safe around the signals[] array, and always use
the accessor which has been updated to be safe for empty
signals. allow runtime to add "SIG<n> to the signal
list if it is empty. convert to u_char.
Tue Jan 15 02:29:58 PST 2019 - matthew green <mrg@eterna.com.au>
doc/help2htmp.pl:
fix the output a little. avoid extra blank lines and
convert leading spaces into .
Tue Jan 15 01:30:29 PST 2019 - matthew green <mrg@eterna.com.au>
configure.in, configure:
move default paths in prefix under new ./configure option
--with-prefix-paths. fix --help output alignment.
Tue Jan 15 00:57:24 PST 2019 - matthew green <mrg@eterna.com.au>
Makefile.in:
remove support for irc.old binary. remove umask setting.
both from pkgsrc.
configure.in, configure, include/irc.h:
if setting -L path, set -I path too. don't bother checking
for limits.h, just always include it. it was checked, but
not ever included.
Tue Jan 15 00:21:53 PST 2019 - matthew green <mrg@eterna.com.au>
Makefile.in, include/signals.h, source/exec.c, source/ircaux.c,
source/signals.c, source/mkmksiginc.pl, source/mksiginc.c,
source/mksignals.pl:
replace mkmksiginc.pl and mksiginc.c with mksignals.pl
and signals.c that does not require run-time support
and should allow ircii to be cross compiled sanely.
20190114
Mon Jan 14 23:32:35 PST 2019 - matthew green <mrg@eterna.com.au>
script/nicksearch:
don't hard code "Sec" but use $N. don't overrite
client_info value.
Makefile.in, source/strcasestr.c, include/strcasestr.h,
source/lastlog.c:
copy netbsd's strcasestr() and use it for /lastlog,
which has been case-sensitive since 20161207.
source/strsep.c:
update copyright to 3-clause BSD.
20180609
Sat Jun 9 19:23:13 PDT 2018 - matthew green <mrg@eterna.com.au>
help/ircii/command_line_args, help/ircii/environment_vars,
help/ircii/programming, help/ircii/server_lists:
new help files.
help/on/send_talk help/on/talk
remove obsolete for 16 years help files.
help/*:
fix a lot of wrong links such that help2html.pl
now generations a a tree without missing links.
Sat Jun 9 17:11:11 PDT 2018 - matthew green <mrg@eterna.com.au>
Makefile.in, doc/help2html.pl:
add a way to build html copies of the help files.
help/alias/alias:
fix link to set input_aliases.
include/names.h, source/names.c:
make channel modes u_int not u_long.
source/whois.c:
redo whois_ignore_msgs() to be less indented.
source/window.c:
move many variables in windowcmd() into the used
scope. restore a lost error report. plus some
memory leaks in error handling.
source/irc.c:
new vesrion.
Mon Jun 4 12:21:52 PDT 2018 - matthew green <mrg@eterna.com.au>
configure.in, configure, source/translat.c:
add -Wformat-security to the default warnings list.
fix the three problems found. idea from diz.
Thu Mar 29 01:49:50 PDT 2018 - matthew green <mrg@eterna.com.au>
source/edit.c:
fix a bug in command completion. the irc_command[] array
has "" first and NULL last entry and must be accounted for.
pointed out by leot@netbsd.org who provided an initial fix.
move the special case into find_command() itself.
Tue Feb 6 12:22:15 PST 2018 - matthew green <mrg@eterna.com.au>
source/window.c:
fix an identation error.
Wed Nov 8 13:59:10 PST 2017 - matthew green <mrg@eterna.com.au>
script/silent:
ensure there's a space between the messages and status.
from leot.
help/window/where:
fix a typo. from leot.
20171101
Wed Nov 1 17:33:48 PDT 2017 - matthew green <mrg@eterna.com.au>
revert most of this change:
source/ctcp.c, source/lastlog.c, source/mail.c, source/notice.c,
source/numbers.c, source/parse.c, source/whois.c:
avoid set_lastlog_msg_level() when already using
save_message_from(). it's not necessary. in
parse_server_notice() always restore the level. this may have
been the cause of messages going to the wrong place occasionlly.
few minor other clean ups related to message levels.
as it fails to set the lastlog level correctly, leading to lastlog
failing to save many messages.
Tue Oct 31 14:32:03 PDT 2017 - matthew green <mrg@eterna.com.au>
source/status.c:
use my_strcpy() again, now it handles overlapping strings.
Tue Oct 31 13:15:06 PDT 2017 - matthew green <mrg@eterna.com.au>
revert this change:
Wed Sep 13 17:56:00 PDT 2017 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/icb.c:
avoid set_lastlog_msg_level() when already using
save_message_from(). it's not necessary.
as it fails to set the lastlog level correctly, leading to lastlog
failing to save many messages.
Mon Oct 30 14:28:42 PDT 2017 - matthew green <mrg@eterna.com.au>
include/irc_std.h, include/ircaux.h, source/dcc.c, source/ircaux.c,
source/lastlog.c, source/notice.c, source/numbers.c, source/parse.c:
make my_strcpy() and my_strncpy() first class local functions
that do not have non-overlapping requirements.
Thu Sep 14 14:59:47 PDT 2017 - matthew green <mrg@eterna.com.au>
source/ctcp.c, source/dcc.c, source/lastlog.c, source/mail.c,
source/notice.c, source/numbers.c, source/parse.c, source/whois.c,
source/window.c:
avoid set_lastlog_msg_level() when already using
save_message_from(). it's not necessary. in
parse_server_notice() always restore the level. this may have
been the cause of messages going to the wrong place occasionlly.
few minor other clean ups related to message levels.
source/mail.c:
remove redundant #ifdef.
20170913
Wed Sep 13 17:56:00 PDT 2017 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/icb.c:
avoid set_lastlog_msg_level() when already using
save_message_from(). it's not necessary.
source/edit.c:
use strcmp() instead of open coding.
source/parse.c:
fix an unlikely memory leak.
Wed Sep 13 14:25:15 PDT 2017 - matthew green <mrg@eterna.com.au>
source/numbers.c:
display_msg() shouldn't check for : prefixes, the callers
all take care of this. from dholland@netbsd. clean up a
little as well.
Wed Sep 13 14:04:10 PDT 2017 - matthew green <mrg@eterna.com.au>
source/ircaux.c:
fix rework of double_quote() to ensure nul termination.
avoids tabkey adding "gcnt" or similar to the end of
nicks 8-11 chars long.
Tue Sep 5 21:44:36 PDT 2017 - matthew green <mrg@eterna.com.au>
source/names.c:
revert part of 20161214 commit:
>fix add_channel() in some reconnecting case where the
>channel should go back to the current window.
that makes /join #foo not connect the channel to the
current window.
Tue Sep 5 21:41:25 PDT 2017 - matthew green <mrg@eterna.com.au>
include/output.h, include/window.h, source/keys.c, source/window.c:
rename refresh_window_lastlog() as window_refresh_lastlog(),
and move the frontend for the current window into
window_refresh_lastlog_key().
20170708
Sun Jul 9 00:54:48 PDT 2017 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
handle lastlog buffer realloc issues and fix a potential
memory leak.
Sat Jul 8 23:56:22 PDT 2017 - matthew green <mrg@eterna.com.au>
source/help.c:
use sl_iter_fwd() instead of directly access the
StringList.
Sat Jul 8 23:43:36 PDT 2017 - matthew green <mrg@eterna.com.au>
include/sl_irc.h, source/sl_irc.c:
add sl_iter_fwd() / sl_iter_rev() methods to traverse
the string list.
include/keys.h, include/output.h, source/keys.c, source/window.c:
add REFRESH_WINDOW_LASTLOG bindable function. it
refreshes the current window with information from
the lastlog, filling the screen as much as possible.
Sat Jul 8 23:41:45 PDT 2017 - matthew green <mrg@eterna.com.au>
include/window.h, source/window.c:
remove unused islogged types. it's yes/no.
Sat Jul 8 20:54:01 PDT 2017 - matthew green <mrg@eterna.com.au>
include/window.h, source/menu.c, source/window.c:
remove ShrinkInfo and just return "int bottom"
part of it, the only part used. adjust both
redraw_resized() and resize_display() to match.
redraw_resized() loses unused AnchorTop param.
Sat Jul 8 05:05:49 PDT 2017 - matthew green <mrg@eterna.com.au>
help/lastlog:
document (old) -save, and new -saveall/-loadall.
Sat Jul 8 04:49:47 PDT 2017 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
add two new commands to /lastlog: -saveall and
-loadall. these save or load the full lastlog
into a special file that includes a timestamp and
the log level. this allows lastlog to be reload
upon restarting. early basic version so far.
don't ignore lines less than 2 chars - "> " is
not always the output or should be ignored.
Sat Jul 8 00:22:25 PDT 2017 - matthew green <mrg@eterna.com.au>
include/lastlog.h, source/lastlog.c, source/window.c:
push the function-static data in lastlog_line_back()
into an allocated/freed per call value. introduce
lastlog_line_back_alloc()/lastlog_line_back_free()
to deal with the dynamic nature.
20170704
Tue Jul 4 18:55:39 PDT 2017 - matthew green <mrg@eterna.com.au>
source/status.c:
fix overlapping strcpy() issue.
Tue Jul 4 05:29:50 PDT 2017 - matthew green <mrg@eterna.com.au>
source/help.c:
fix missing restore_message_from() in /help.
source/ctcp.c:
ensure ctcp_quote_it() doesn't overrun it's buffer.
convert do_clientinfo() to sl_init() and pals. fix
a memory leak.
Tue Jul 4 05:08:07 PDT 2017 - matthew green <mrg@eterna.com.au>
source/help.c:
convert help to use sl_init() and pals.
source/ircaux.c:
in malloc_*snprintf() avoid writing to the old
pointer until we're done.
Tue Jul 4 04:39:54 PDT 2017 - matthew green <mrg@eterna.com.au>
source/help.c:
put some common code into functions and generally
clean up a little.
Tue Jul 4 01:04:29 PDT 2017 - matthew green <mrg@eterna.com.au>
source/hook.c, source/ignore.c, source/names.c, source/server.c:
rework several functions to use sl_concat() instead of
writing into a stack buffer. rewrite most of
ignore_info() to use a common function, saving 88 out
of 138 lines in total.
Mon Jul 3 22:38:46 PDT 2017 - matthew green <mrg@eterna.com.au>
include/sl_irc.h, source/sl_irc.c:
add sl_size() to return number of entries. fix
the length calculation for sl_concat() to not
include the separator the first time.
source/edit.c, source/funny.c, source/help.c:
replace BIG_BUFFER_SIZE usage with sl_concat().
clean up help some more. fix a bug in funny_list
when /list -wide or /names -wide was given. this
now works again (busted 3.5 years ago.)
Mon Jul 3 21:05:14 PDT 2017 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/menu.c, source/sl.c:
avoid direct calls to malloc/free.
Mon Jul 3 20:53:34 PDT 2017 - matthew green <mrg@eterna.com.au>
include/debug.h, source/debug.c:
add "misc" debug entry, for random stuff that may not
end up being commited.
Makefile.in, include/sl_irc.h, source/sl_irc.c:
add new sl_concat() routine on top of sl.c, that
concatenates a string list with a separator.
source/notify.c:
use sl_concat() in do_notify(), instead of the hard
coded BIG_BUFFER_SIZE buffer.
Mon Jul 3 20:06:16 PDT 2017 - matthew green <mrg@eterna.com.au>
source/dcc.c:
remove BIG_BUFFER_SIZE usage in process_incoming_chat().
help/ircii/copyright, source/help.c:
fix copyright. remove one BIG_BUFFER_SIZE in help_me().
Mon Jul 3 19:36:16 PDT 2017 - matthew green <mrg@eterna.com.au>
source/ctcp.c, source/dcc.c, source/edit.c, source/funny.c,
source/help.c, source/hook.c, source/ignore.c, source/input.c,
source/names.c, source/notify.c, source/server.c,
source/status.c, source/window.c:
mark BIG_BUFFER_SIZE usages that need to be fixed.
fix a potential overflow issue in proxy handling.
add attempted fix at overlapping strcpy in
make_status_one().
20170703
Mon Jul 3 07:02:50 PDT 2017 - matthew green <mrg@eterna.com.au>
include/debug.h, source/debug.c, source/help.c:
introduce DB_HELP debug level. mostly useless so
far. rework help_topic() to both avoid using
BIG_BUFFER_SIZE as well as simplify the zcat logic.
Mon Jul 3 06:16:06 PDT 2017 - matthew green <mrg@eterna.com.au>
source/funny.c, source/irc.c, source/server.c:
avoid BIG_BUFFER_SIZE in a few minor places.
Mon Jul 3 05:59:59 PDT 2017 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/history.c, source/mail.c, source/menu.c:
use FS_BUFFER_SIZE for disk IO.
source/dcc.c:
check send(2) return in process_outgoing_file().
put_it()/say() have taken floats for along time,
remove ancient stupid workaround.
Mon Jul 3 05:10:59 PDT 2017 - matthew green <mrg@eterna.com.au>
include/alias.h, source/alias.c, source/edit.c, source/if.c:
add free_alias() to clean up after match_alias().
include/irc.h, source/dcc.c, source/edit.c, source/help.c:
add FS_BUFFER_SIZE for IO buffers. use it instead
of BIG_BUFFER_SIZE in a few places. use PATH_MAX
where relevant.
source/dcc.c:
rework dcc_filesend() to avoid BIG_BUFFER_SIZE.
source/edit.c:
pull the alias and command printing out of
command_completion() into subroutines. rework them
all to avoid using BIG_BUFFER_SIZE.
source/dcc.c, source/edit.c, source/history.c,
source/ircaux.c, source/lastlog.c, source/log.c, source/vars.c:
adjust expand_twiddle() to always return non NULL.
Mon Jul 3 04:14:37 PDT 2017 - matthew green <mrg@eterna.com.au>
Makefile.in:
update depends list.
configure, configure.in, source/hook.c, source/output.c,
include/buffer.h:
remove PUTBUF_* and just use malloc_vsnprintf().
don't check for unused vasprintf() anymore.
20170702
Sun Jul 2 09:25:06 PDT 2017 - matthew green <mrg@eterna.com.au>
source/alias.c:
rewrite expander_addition() and avoid BIG_BUFFER_SIZE.
source/ircaux.c:
rework double_quote() to avoid BIG_BUFFER_SIZE by
double pass on the string.
Sun Jul 2 07:22:54 PDT 2017 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
adjust send_ctcp() and send_ctcp_reply() to avoid
BIG_BUFFER_SIZE. remove dead code in
send_ctcp_reply().
Sun Jul 2 06:55:19 PDT 2017 - matthew green <mrg@eterna.com.au>
source/edit.c:
avoid BIG_BUFFER_SIZE in waitcmd(), really_save(),
save_settings(), redirect_msg(), show_timer(), and
pingcmd().
source/ignore.c:
remove BIG_BUFFER_SIZE in ignore_nickname().
Sun Jul 2 06:29:29 PDT 2017 - matthew green <mrg@eterna.com.au>
source/help.c:
avoid BIG_BUFFER_SIZE in help_prompt(),
help_pause_add_line(), help_show_paused_topic(),
Sun Jul 2 06:08:00 PDT 2017 - matthew green <mrg@eterna.com.au>
source/edit.c, source/ircaux.c, source/names.c:
adjust path_search() to return a malloced() value.
avoid BIG_BUFFER_SIZE in expand_twiddle() and
recreate_mode().
Sun Jul 2 05:50:54 PDT 2017 - matthew green <mrg@eterna.com.au>
source/server.c:
remove easy BIG_BUFFER_SIZE usages in close_server(),
login_to_server(), and display_server_list().
Sun Jul 2 05:23:58 PDT 2017 - matthew green <mrg@eterna.com.au>
source/status.c:
remove some easy BIG_BUFFER_SIZE usages in most
status_*() backends. one easy but large one left,
plus 4 not so easy ones.
Sun Jul 2 04:56:59 PDT 2017 - matthew green <mrg@eterna.com.au>
source/notice.c, source/numbers.c, source/screen.c:
remove more BIG_BUFFER_SIZE in load_ircrc*(),
cannot_join_channel(), numbered_command(),
window_redirect() and add_to_screen().
Fri Jun 30 22:12:32 PDT 2017 - matthew green <mrg@eterna.com.au>
configure, configure.in:
fix efence support in the modern shlib world.
include/ircaux.h, source/ircaux.c:
add malloc_vsnprintf().
source/vars.c, source/whois.c, source/window.c:
remove most BIG_BUFFER_SIZE uses. using either
malloc_snprintf() or similar in most places.
Fri Jun 30 20:57:47 PDT 2017 - matthew green <mrg@eterna.com.au>
source/alias.c:
unbreak aliases in the form of foo[bar][baz] (ie, with
two or more [] sequences.)
Thu Jun 29 19:16:17 PDT 2017 - matthew green <mrg@eterna.com.au>
include/ircaux.h, source/alias.c, source/edit.c, source/history.c,
source/ircaux.c, source/whois.c:
remove ignored 2nd arg to malloc_snprintf().
20170606
Tue Jun 6 15:01:47 PDT 2017 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/defs.h.in source/output.c:
add --with-default-resize-method[=type] (either "old" or
"new") to choose the old or new window resize method.
the default is the new one. note that /window balance
remains using the old method as a direct command.
Mon Jun 5 16:42:42 PDT 2017 - matthew green <mrg@eterna.com.au>
source/window.c:
make recalculate_windows() work, including when windows
are resized too tiny. a few extra checks and some fall
back to normal window_balance() when failure is detected,
perhaps automatically first hiding some windows first.
Mon Jun 5 15:32:56 PDT 2017 - matthew green <mrg@eterna.com.au>
source/window.c:
fix recalculate_windows() some. remove redundant code.
still has some minor issues, but works most of the time now.
Mon Jun 5 15:06:19 PDT 2017 - matthew green <mrg@eterna.com.au>
source/screen.c:
check against current, not old, window sizes, to determine
if the screen size changed. fixes random window rebalance
upon ^L after "/window new new".
source/window.c:
remove some redundant code from recalculate_windows().
Mon Jun 5 14:28:26 PDT 2017 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/defs.h.in, source/help.c:
check alphasort()'s arg type and use that for the
scandir() comparision function. enables both old
and new style scandir() types to pass warning
enabled builds. adjust the help code to suit.
source/irc.h:
on linux, define _GNU_SOURCE very early.
source/debug.h:
force a type to unsigned.
20170424
Mon Apr 24 22:06:40 PDT 2017 - matthew green <mrg@eterna.com.au>
source/edit.c source/keys.c source/translat.c:
remove some unnecessary casts.
Mon Apr 24 20:08:18 PDT 2017 - matthew green <mrg@eterna.com.au>
source/alias.c:
use the new bracket_to_dot() again in /alias handling, as it
has the same bug as the prior fix.
20170128
Sat Jan 28 16:43:39 PST 2017 - matthew green <mrg@eterna.com.au>
source/alias.c:
strcat() can't be used on overlapping strings says opengroup
and OSX triggers a fault. pull the code to convert eg
"foo[bar][baz]" into "foo.bar.baz" into its own function and
manually strcat as necessary.
Mon Jan 9 12:32:10 PST 2017 - matthew green <mrg@eterna.com.au>
source/names.c:
don't pass NULL pointers to window_get_server_group().
20161214
Wed Dec 14 22:28:52 PST 2016 - matthew green <mrg@eterna.com.au>
configure, configure.in:
it's spelled "-lssl -lcrypto", not the reverse. fixes
static linking.
source/input.c:
handle current_irc_encoding() returning NULL.
source/names.c:
fix add_channel() in some reconnecting case where the
channel should go back to the current window.
source/server.c:
only set proxyname/port when they're used.
20161207
Wed Dec 7 09:09:13 PST 2016 - glen mccready <gkm@pobox.com>
include/ircaux.h:
add malloc_snprintf.
source/ircaux.c:
fix strmcat_ue. optimize strmcat. remove scanstr.
add malloc_snprintf. optimize expand_twidle.
source/dcc.c, source/lastlog.c:
use strstr instead of scanstr.
source/alias.c, source/edit.c, source/history.c, source/whois.c:
use malloc_snprintf instead of malloc/strcpy/strcat/strcat
sequences.
20161204
Fri Dec 2 15:06:41 PST 2016 - glen mccready <gkm@pobox.com>
include/alias.h, include/menu.h, include/parse.h, include/server.h,
source/alias.c, source/edit.c, source/exec.c, source/funny.c,
source/help.c, source/hook.c, source/if.c, source/ignore.c,
source/input.c, source/ircaux.c, source/ircsig.c, source/keys.c,
source/menu.c, source/names.c, source/notice.c, source/numbers.c,
source/output.c, source/parse.c, source/queue.c, source/screen.c,
source/server.c, source/snprintf.c, source/status.c,
source/translat.c, source/whois.c, source/window.c:
coding conventions. spaces to tabs. (u_char)0 -> '\0'
source/help.c:
update compar() prototype
20151120
Fri Nov 20 01:16:10 PST 2015 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
extra the lastlog printing into its own function and add a
hack to remove any present trailing ALL_OFF.
source/log.c:
remove an #ifdef.
source/output.c, source/screen.c:
remove calls to add_to_log() from output.c functions and
rely entirely on add_to_screen() to do this. add missing
calls to add_to_log() in the missing screen and basic
terminal support sections of add_to_screen().
script/nicksearch:
add new script to search for nicks.
20151111
Wed Nov 11 15:00:48 PST 2015 - matthew green <mrg@eterna.com.au>
Makefile.in:
make sure we only create sig.inc if successful.
source/server.c:
make sure we assign the ssl level to something in servercmd().
20151002
Fri Oct 2 21:14:39 PDT 2015 - matthew green <mrg@eterna.com.au>
source/translat.c:
give invalid utf-8 sequences a length of 1, so that we are
actually able to advance beyond them instead of an infinite
loop.
20150903
Thu Sep 3 12:34:00 PDT 2015 - matthew green <mrg@eterna.com.au>
include/ircterm.h, source/output.c, source/screen.c, source/status.c,
source/term.c, source/window.c:
use the final column of the display. provide a way to get
the old behaviour via TERM_USE_LAST_COLUMN. adjust a few
Debug()s to remove the (now provided) function name, and
add a Debug about screen size setting and also if
output_line() skips any text.
20150513
Wed May 13 15:44:36 PDT 2015 - matthew green <mrg@eterna.com.au>
contrib/README, contrib/noansi.c:
add a small program to strip DOS ansi codes. from
cstone@pobox.com.
include/screen.h, source/screen.c, source/status.c, source/window.c:
add a size_t len parameter to my_strcpy_ci().
include/server.h, source/server.c:
make ssl_level_to_sa_flags() public as server.c wants to
use it. fix it to use comparision instead of bitwise checks,
as the values are not bitwise values. add an SSL_UNKNOWN
value to server_ssl_level and use it to avoid overriding
user-set values when deriving a server name in
parse_server_info(). fixes a bug reported Jim Westfall.
include/translat.h, source/input.c, source/screen.c, source/translat.c:
decode_mb() gains a size_t destlen parameter.
source/window.c,
expand split_up_line()'s internal outputs[] array, and make
sure we don't overrun it.
source/term.c:
add a new TERM_IGNORE_LAST_COLOMN define, and start to begin
to use the final column.
20150222
Sun Feb 22 04:41:48 PST 2015 - matthew green <mrg@eterna.com.au>
include/ctcp.h, include/debug.h, include/hook.h, include/output.h,
source/alias.c, source/edit.c, source/irc.c, source/server.c,
source/whois.c:
add format checking to all varargs functions that
resolve to normal printf arguments, and fix the various
problems found.
Sat Feb 21 17:42:52 PST 2015 - matthew green <mrg@eterna.com.au>
include/server.h, source/edit.c, source/irc.c, source/server.c:
add GCC format checking attribute to send_to_server()
and fix the two places it was wrong. now irc realname
is properly sent again, and we fix an old error in
redirect handling.
Sat Feb 21 16:46:31 PST 2015 - matthew green <mrg@eterna.com.au>
source/translat.c:
don't set irc/display/input_encoding if they're
unable to iconv_open() with it. avoids leaving
the system more non-functional.
20141220
Sat Dec 20 12:31:10 PST 2014 - matthew green <mrg@eterna.com.au>
source/names.c:
fix SWITCH_CHANNELS binding, which was calling the
backend twice, and switch to and then back to the
previous channel, appearing to do nothing.
Wed Nov 26 13:42:34 PST 2014 - matthew green <mrg@eterna.com.au>
configure, configure.in:
for --with-openssl and no argument, don't look in
the "yes" directory for openssl, but assume it is
in the default path, as expected below.
20141122
Sat Nov 22 13:25:17 PST 2014 - matthew green <mrg@eterna.com.au>
source/edit.c:
fix find_command() to not have potential array bounds issues.
source/output.c, source/window.c, include/window.h:
use balance_windows() for now on SIGWINCH, etc.
recalculate_windows() still has a problem.
20141028
Tue Oct 28 18:31:45 PDT 2014 - matthew green <mrg@eterna.com.au>
source/debug.c:
tm_year offset is 1900, not 0.
source/window.c:
don't allow 'extra' to become negative, or to adjust
windows via the change percentage after the first loop.
abort() if extra ends up negative. fixes various
issues seen when some types of resizing are performed.
20141018
Sat Oct 18 06:36:19 PDT 2014
source/output.c:
fix a -1 array index introduced recently.
Sat Oct 18 06:26:34 PDT 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, doc/ircii.spec, doc/ircii.spec.in, source/irc.c:
make 'dist' target set the version for ircii.spec.
20140831
Sun Aug 31 23:34:55 PDT 2014 - matthew green <mrg@eterna.com.au>
source/term.c, include/ircterm.h:
return void for tputs_x(), term_beep(), term_cr(),
term_underline_on(), term_underline_off(),
term_standout_on(), term_standout_off(),
term_clear_screen(), term_move_cursor(),
term_newline(), term_bold_on(), and term_bold_off().
fixes build issues on NetBSD 5.x.
Mon Aug 25 12:19:46 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircII.1:
convert to mandoc format. from Thomas Klausner
<tk@giga.or.at>. fix a couple of errors while there.
Mon Aug 25 11:48:55 PDT 2014 - matthew green <mrg@eterna.com.au>
source/input.c, source/translat.c:
fix compliation issues when iconv can't be found.
Mon Aug 25 11:21:20 PDT 2014 - matthew green <mrg@eterna.com.au>
source/server.c:
fix argument order in connect_to_server_direct.
from Jared McNeill.
source/irc.c:
various fixes to option parsing. from Jared McNeill.
20140824
Sun Aug 24 21:40:26 PDT 2014 - matthew green <mrg@eterna.com.au>
source/ssl.c:
rewrite ssl_setup_certs() to keep track of what paths/files
it has seen before, and only update stuff when they change.
if neither SSL_CA_PATH nor SSL_CA_FILE are set, call
SSL_CTX_set_default_verify_paths(). this enables the default
ssl certificates to be used, freeing the end-user from having
to know the paths to set.
help/set/ssl_ca_path:
add an example for SET SSL_CA_PATH.
Sun Aug 24 20:41:30 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircii.spec:
make this actually work with sources from today that come
in a tarball with todays date.
Sun Aug 24 20:28:01 PDT 2014 - matthew green <mrg@eterna.com.au>
Makefile.in:
avoid double $(DESTDIR) for mandir setting.
Sun Aug 24 14:35:26 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircii.spec:
updates from Jared McNeill and myself.
Wed Aug 20 22:27:39 PDT 2014 - matthew green <mrg@eterna.com.au>
include/server.h, source/server.c:
finish HTTP proxy support by parsing the HTTP reply.
Thu Aug 14 01:02:28 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircII.1, include/debug.h, include/server.h, include/window.h,
source/debug.c, source/edit.c, source/irc.c, source/server.c,
source/window.c:
add HTTP proxy support. new "proxy" debug level, add
proxy name and port arguments to parse_server_info() and
window_get_connected(). new default proxy server/port
available via "-R server:port" option. each server can
also take "NO_PROXY/" prefix (similar to ICB/, etc.) or
take a "PROXY/<server>:<port>/" to enforce a particular
proxy usage for this server. /server and /window server
also gain a "-proxy server port" option.
currently, this does not wait for the valid HTTP response
before attempting to connect, but works otherwise.
Wed Aug 13 18:55:47 PDT 2014 - matthew green <mrg@eterna.com.au>
source/window.c:
bring back the old recalculate_windows() but call it
balance_windows(), and use it for /window balance.
Wed Aug 13 18:48:58 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irccrypt.h, source/crypt.c, source/dcc.c:
move CRYPT_BUFFER_SIZE into irccrypt.h from both crypt.c
and dcc.c. adjust code to use "long long" type now we
demand c99, and remove some XXXs.
source/numbers.c:
use parsing_server() like the XXX comment says.
Wed Aug 13 18:44:57 PDT 2014 - matthew green <mrg@eterna.com.au>
source/irc.c:
ensure help text goes to stderr, even if we've parsed
a "-o log" debug option.
Tue Aug 12 17:22:05 PDT 2014 - matthew green <mrg@eterna.com.au>
source/irc.c:
alpha-order the help text options.
20140806
Wed Aug 6 18:16:33 PDT 2014 - matthew green <mrg@eterna.com.au>
include/debug.h, source/debug.c:
add DB_WINDOW debug level.
include/screen.h, source/screen.c:
add screen_get_old_co() and screen_get_old_li() accessors.
source/window.c:
rewrite recalculate_windows() to attempt to keep the same
proportionality.
Wed Aug 6 13:11:14 PDT 2014 - matthew green <mrg@eterna.com.au>
source/window.c:
fix the "channel already bound" message to tell you which
window has it bound, rather than this window.
Wed Aug 6 12:46:33 PDT 2014 - matthew green <mrg@eterna.com.au>
script/icb:
add /stats command support
include/ircaux.h, source/ircaux.c, source/alias.c:
make my_str*icmp() use const.
include/server.h, source/icb.c, source/server.c:
introduce private server data, with a call back to
free it. use this in icb to make the
icb_got_group_waiting_for_members variable per-server.
apply some const.
20140711
Fri Jul 11 04:29:33 PDT 2014 - matthew green <mrg@eterna.com.au>
help/set/ssl_ca_chain_file, help/set/ssl_ca_file,
help/set/ssl_ca_path, help/set/ssl_ca_private_key_file,
include/config.h.dist, include/ssl.h, include/vars.h,
source/ssl.c, source/vars.c:
add 4 variables to control the inputs to
SSL_CTX_load_verify_locations() - SSL_CA_FILE and
SSL_CA_PATH, SSL_CTX_use_certificate_chain_file() -
SSL_CA_CHAIN_FILE, and SSL_CTX_use_PrivateKey_file() -
SSL_CA_PRIVATE_KEY_FILE. they have NULL defaults so
that the normal defaults are loaded. not tested against
a real server etc, yet.
Fri Jul 11 03:45:49 PDT 2014 - matthew green <mrg@eterna.com.au>
include/server.h, source/server.c:
add 2 new server flags CONNECTED and SSL_DONE, use them
to distinguish between when we've finished the non-blocking
connect and when SSL negotiation has completed to avoid
spinning the CPU. call login_to_server() instead of
server_check_ssl() in the fd is readable section of
do_server(), which now ensures SSL_connect() is not called
after it returns success. move some non blocking code
around to suit this separation as well.
Fri Jul 11 02:50:36 PDT 2014 - matthew green <mrg@eterna.com.au>
include/ssl.h, source/ircio.c, source/newio.c, source/ssl.c:
remove unnecessary ssl_is_pending().
Fri Jul 11 02:01:29 PDT 2014 - matthew green <mrg@eterna.com.au>
include/ssl.h, source/server.c, source/ssl.c:
change ssl init status returns into a tri-state OK, FAIL,
and PENDING. use this in ssl_init_connection() and also
in server_check_ssl() to not cpu-spin calling SSL_connect()
until it works. however, select() seems to continue to
return readable for the fd, and we do loop anyway, but with
other events still handled. still a CPU issue, but no
longer a hangs everything issue.
source/server.c, source/dcc.c, source/irc.c, source/ircio.c,
source/newio.c:
convert dgets() to return -2 in the case of "retry again"
later returns for SSL_read() and SSL_write() calls, bubble
this upto many dgets() callers and allow them to continue.
Thu Jul 10 19:23:24 PDT 2014 - matthew green <mrg@eterna.com.au>
source/server.c:
move the guts of the code to reestablish the old server if
a new server can't connect into a new function, and call
that if ssl init fails hard (verify fails), leaving us
still connected to the original server.
Wed Jul 9 21:19:47 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircII.1:
add missing options, including debug-only options.
source/server.c:
change server_check_ssl() to return a status. use this to
avoid calling close_server() on the previous server, so we
can return to it.
source/ssl.c:
only create one SSL_CTX.
Wed Jul 9 20:20:47 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircII.1:
alpha-order the option list and descriptions.
Wed Jul 9 20:07:44 PDT 2014 - matthew green <mrg@eterna.com.au>
source/ssl.c:
enable SSL verification support. fix a bug in the error path.
doc/ircII.1:
document the SSLIRC*/ server prefixes. reorder the nickname
and servername for reality.
20140709
Wed Jul 9 06:40:13 PDT 2014 - matthew green <mrg@eterna.com.au>
include/server.h, source/edit.c, source/irc.c, source/server.c,
doc/ircII.1, help/server,help/window/server:
add new server_default_encryption() to set the default
encryption level for a particular protocol. so far only
IRC is supported. valid values are "check", "nocheck"
and "off". make sure server_ssl_level values are properly
initialised before use. make the default for irc use
new irc_ssl_level. update help files for ssl support,
and some older /window server options.
source/irc.c:
alpha-order parse_arg() switch.
Fri Jul 4 22:06:46 PDT 2014 - matthew green <mrg@eterna.com.au>
include/config.h.dist, source/irc.c:
remove PAUSE_AFTER_MOTD options; always enable this code.
redo input_pause() to not use irc_io() and clean up irc_io()
and its' helper functions now that one_key is never true.
include/output.h, include/screen.h, include/server.h,
source/output.c, source/server.c:
constify the first argument to put_it(), send_to_server(),
say(), yell(), help_put_it() and output_line().
Fri Jul 4 20:05:34 PDT 2014 - matthew green <mrg@eterna.com.au>
Makefile.inc, configure, configure.in, include/defs.h.in, source/ssl.c:
add support for --with-openssl switch. it defaults to on
and expects to find libcrypto and libssl. enable support
for building without openssl by eliding most of ssl.c.
Fri Jul 4 06:51:19 PDT 2014 - matthew green <mrg@eterna.com.au>
source/ssl.c:
handle errors properly when trying to setup the connection.
don't leak memory.
source/server.c:
only close the connection if we actually were trying
to use SSL here.
20140704
Fri Jul 4 05:28:46 PDT 2014 - matthew green <mrg@eterna.com.au>
source/server.c:
goto real_continue when continuing the main do_server()
loop, to ensure the dgets separater is reset. fix a
comment to match the code (from rtr.)
include/ssl.h, source/ircio.c, source/newio.c, source/ssl.c:
introduce ssl_is_pending() wrapper around SSL_pending()
and use it in new_select() to make sure we read from
the SSL socket. expand ssl_print_error_queue() to take
a const char *msg as well. set SSL_MODE_AUTO_RETRY.
Fri Jul 4 05:11:40 PDT 2014 - matthew green <mrg@eterna.com.au>
source/debug.c:
include date/time in the debugging messages.
Thu Jul 3 09:57:38 PDT 2014 - tyler retzlaff <rtr@crt0.ca>
source/ssl.c:
use SSLv2_client_method when establishing a context
for connection to a server.
properly evaluate SSL_connect return value 0 is also
an error.
Tue Jul 1 21:59:33 PDT 2014 - matthew green <mrg@eterna.com.au>
source/newio.c:
clean up some.
Tue Jul 1 21:37:27 PDT 2014 - matthew green <mrg@eterna.com.au>
source/crypt.c:
use size_t over int in a few places
Tue Mar 18 17:26:59 PDT 2014 - matthew green <mrg@eterna.com.au>
include/debug.h, include/ssl.h, source/debug.c, source/ircio.c,
source/newio.c, source/server.c, source/ssl.c:
add newio, ssl and server debug levels. expand the
ssl_read()/ssl_write() functions to also take an fd,
and use it instead of keeping it in the SslInfo. fix
the ircio build. call init_io() from init_io_rec().
only call dgets_clear_ssl_info()/ssl_close_connection()
if the ssl info actually exists. move the call to
ssl_init_connection() into new server_check_ssl() and
call this from a couple of places. actually use
ssl_read() and ssl_write().
Mon Mar 17 17:29:15 PDT 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, include/newio.h, include/server.h, include/window.h,
source/edit.c, source/newio.c, source/server.c, source/window.c:
SSL support stage 1. this works for non-SSL still, but
has trouble connecting to SSL servers. there are some
new switches, etc. /window server and /server both have
new -ssl, -nossl, and -sslnocheck options. server names
can now have SSLIRC/ and SSLIRCNOCHECK/ prefixes in
addition to the existing IRC/ and ICB/ prefixes. expand
dgets() and server to deal with calling the SSL functions.
todo:
- configure support to find openssl
- if SSL init fails, revert to previous server
- send_to_server() needs help
- close_server() needs help
- actually verify the certificate against something (we
have no methods to pass cert files/dirs in yet)
- documentation updates
20140317
Mon Mar 17 13:51:05 PDT 2014 - matthew green <mrg@eterna.com.au>
source/edit.c:
make meta4 sticky again.
configure.in, configure:
use AC_PREREQ([2.69]).
Mon Mar 17 11:46:32 PDT 2014 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/defs.h.in, include/irc.h,
include/irc_std.h, include/ircterm.h, source/crypt.c, source/irc.c,
source/ircflush.c, source/status.c, source/term.c, source/wserv.c:
retire RETSIGTYPE and the AC_TYPE_SIGNAL test that has
actually been obsolete in ircii since 2004.
20140314
Fri Mar 14 14:17:48 PDT 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, include/crypt.h, include/irccrypt.h,
source/cipher-test.c, source/crypt.c, source/ctcp.c, source/dcc.c,
source/edit.c, source/parse.c, source/vars.c
rename include/crypt.h as include/irccrypt.h to avoid
<crypt.h> including this header, not the header that
defines crypt(3).
Fri Mar 14 12:14:10 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/example_menu, help/!, help/input, help/menus, help/wait,
help/alias/special, include/input.h, include/irc.h,
include/keys.h, include/server.h, script/autoquery,
script/bigcheese, script/kickmenu, script/log, script/time,
script/troy, script/version, source/alias.c, source/edit.c,
source/exec.c, source/help.c, source/input.c, source/irc.c,
source/keys.c, source/server.c:
remove support for $"..." expansions and /wait without
-cmd, and convert all the remaining distribution scripts
and menus to use /input and /wait -cmd. remove
documentation for both. move the input_pause() function
into irc.c. this removes all irc_io() abuse. remove
a lot of no longer necessary code in irc_io() including
the ability to be called recursively, and make it static
to irc.c. more could go if input_pause() is reworked.
remove get_send_line(), change_send_line(), server_waiting(),
server_waiting_inc(), server_waiting_dec(), lame_wait_nick[],
wait_index, set_wait_process(), and break_io_processing(),
and the waiting member of Server structure.
Fri Mar 14 01:11:59 PDT 2014 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/cast_sbox.h, include/defs.h.in,
include/irc_std.h, source/cast.c, source/dcc.c:
stop finding a 32 bit integer in configure and just assume
that uint32_t exists from <stdint.h>. remove tests for
missing errno and sys_errlist[] declarations; these systems
probably stopped working with C89 was enforced 10 years ago.
Fri Mar 14 01:04:03 PDT 2014 - matthew green <mrg@eterna.com.au>
include/debug.h, source/debug.c, source/edit.c, source/history.c,
source/input.c, source/irc.c, source/lastlog.c, source/output.c,
source/screen.c, source/status.c, source/window.c:
remove the old K&R/C89 compatible Debug() macros and
re-implement it with C99 varadic macro support. use this
to easily add the function/line number to the output.
convert debug level to debug sets, and implement sets for
scroll, load, history, cursor, ircio, lastlog, window
create and the status bar.
Thu Mar 13 21:14:09 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/Copyright, help/ircii/copyright, help/note/antiwall,
help/note/deny, help/note/flag, help/note/key, help/note/news,
help/note/note, help/note/save, help/note/sent, help/note/service,
help/note/stats, help/note/wall, help/note/wallops, source/help.c:
remove support for /help files knowing whether you're an
IRC operator or not, and adjust the help files to show the
same information to everyone, but note that some
functionality is likely restricted. updated copyrights,
and add the copyrights for sl.[ch].
Wed Mar 12 16:18:45 PDT 2014 - matthew green <mrg@eterna.com.au>
configure, configure.in, Makefile.in, include/irc.h:
use datarootdir over datadir. move the AIX specific code
into irc.h out of configure, it doesn't need to be a
configure-time test.
Wed Mar 12 15:40:33 PDT 2014 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/defs.h.in, include/irc.h,
include/irc_std.h, include/scandir.h, source/aes.c, source/alias.c,
source/crypt.c, source/ctcp.c, source/dcc.c, source/debug.c,
source/edit.c, source/exec.c, source/funny.c, source/getaddrinfo.c,
source/getnameinfo.c, source/help.c, source/hook.c, source/irc.c,
source/ircaux.c, source/ircflush.c, source/ircio.c, source/log.c,
source/mail.c, source/mksiginc.c, source/newio.c, source/notice.c,
source/numbers.c, source/output.c, source/scandir.c, source/server.c,
source/snprintf.c, source/term.c, source/translat.c, source/window.c,
source/wserv.c:
major clean up of old compatibility code:
- don't bother checking for unistd.h, string.h, sys/wait.h
or termios.h as we demand they exist for a while now.
- assume uname(3).
- convert all remaining index/rindex/bcopy/bzero calls into
my_index/memcopy/memset calls, and remove any compat code.
- make the scandir compat code depend upon 'struct dirent'
and stop forcing it to exist for some platforms, and call
it 'irc_scandir' to avoid potential conflicts.
- remove repeated #includes of standard headers.
- assume a standard <sys/stat.h>.
- remove "LYNX_STUFF" code for actions.
- use the right types for scandir functions.
- remove /*VARARGS*/ and unused functions.
- always include SERVERS_FILE support.
- remove last vestigates of _IBMR2 and M_UNIX support, and
BROKEN_SCANF support.
- remove dead code in wserv.
-- remove dead and broken CORECATCH and ALLOC_DEBUG code.
20140311
Wed Mar 12 01:48:44 PDT 2014 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in, source/irc.c:
convert to autoconf 2.69. use AC_CHECK_TYPES(), and fix the
output path for AC_CONFIG_HEADER(). remove now obsolete
acconfig.h.
Wed Mar 12 01:41:39 PDT 2014 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in:
move the all but 'ssize_t' out of acconfig.h, there
doesn't seem to be an easy way to deal with this for
autoconf-2.6x and 2.13 from the same configure.in.
Wed Mar 12 01:28:41 PDT 2014 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in, include/irc.h,
source/newio.c:
remove unset MAIL_DIR.
assume 'struct linger' exists.
move most configure define descriptions into configure.in
from acconfig.h.
make a comment about using <stdint.h> when forcing c99.
Wed Mar 12 01:14:26 PDT 2014 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
include/irc_std.h:
remove several unnecessary #undef lines from acconfig.h.
move description for HAVE_GETADDRINFO, HAVE_GETNAMEINFO,
and HAVE_RFC2553_NETDB into configure.in
move the _AIX / COMPAT_43 definition into irc_std.h.
Wed Mar 12 01:03:43 PDT 2014 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
include/icb.h, include/irc.h, include/irc_std.h, source/irc.c,
source/ircsig.c, source/mail.c, source/term.c, source/wserv.c:
remove AMS_MAIL (andrew) support.
remove unused BROKEN_GETPGRP.
assume we always have sigaction() and setsid().
Wed Mar 12 00:30:10 PDT 2014 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in, include/irc.h:
begin to prepare for modern autoconf. move many define
descriptions into configure.in out of acconfig.h. use
AC_CHECK_FUNCS(). move the non blocking check after the
socks check, as socks turns it off. move the defines for
socks into a socks_compat.h, rather than having things be
mostly hard coded in configure.in and acconfig.h.
Wed Mar 12 00:25:34 PDT 2014 - matthew green <mrg@eterna.com.au>
configure, configure.in:
add -Wformat to warning options.
Wed Mar 12 00:16:55 PDT 2014 - matthew green <mrg@eterna.com.au>
source/edit.c:
break out the extremely deeply nested parts of load() into
a new load_a_file() function.
Wed Mar 12 00:14:01 PDT 2014 - matthew green <mrg@eterna.com.au>
include/hook.h, source/edit.c, source/hook.c, source/screen.c:
convert set_in_on_who() to return the old in_on_who value,
and use this to reduce the number of lines in some other code.
Tue Mar 11 23:14:55 PDT 2014 - matthew green <mrg@eterna.com.au>
source/alias.c, source/crypt.c, source/edit.c, source/exec.c,
source/funny.c, source/getnameinfo.c, source/help.c,
source/history.c, source/hook.c, source/if.c, source/ignore.c,
source/input.c, source/irc.c, source/keys.c, source/lastlog.c,
source/notify.c, source/numbers.c, source/output.c, source/parse.c,
source/server.c, source/status.c, source/vars.c, source/whois.c,
source/window.c:
remove /*ARGSUSED*/ markers.
source/edit.c:
turn metaX_hit into an array, and adjust the code to use
this to its advantage.
Tue Mar 11 22:59:09 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, include/server.h, source/alias.c, source/dcc.c,
source/edit.c, source/exec.c, source/help.c, source/hook.c,
source/icb.c, source/irc.c, source/names.c, source/notify.c,
source/numbers.c, source/parse.c, source/screen.c, source/server.c,
source/status.c, source/whois.c, source/window.c:
hide from_server. move 'environ' extern into exec.c.
always call set_from_server() with a timer's server.
fix a missing re-set of from_server in some commented out
code in bind_channel().
Tue Mar 11 04:18:57 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, source/alias.c, source/ctcp.c, source/dcc.c,
source/edit.c, source/exec.c, source/help.c, source/history.c,
source/hook.c, source/icb.c, source/if.c, source/ignore.c,
source/input.c, source/irc.c, source/ircaux.c, source/keys.c,
source/menu.c, source/names.c, source/notice.c, source/notify.c,
source/numbers.c, source/output.c, source/parse.c, source/queue.c,
source/screen.c, source/server.c, source/status.c, source/term.c,
source/vars.c, source/whois.c, source/window.c:
fix zero[] and one[] to be persistent. convert
empty_string[] into empty_string().
Tue Mar 11 04:15:14 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, source/alias.c, source/input.c, source/irc.c:
remove use_input global that was always 1.
Tue Mar 11 02:38:02 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, source/edit.c, source/irc.c, source/notice.c:
hide ircrc_file.
Tue Mar 11 02:07:54 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, source/alias.c, source/dcc.c, source/edit.c,
source/irc.c, source/ircaux.c, source/names.c, source/parse.c,
source/window.c:
make zero[] and one[] into zero() and one().
Tue Mar 11 01:59:08 PDT 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/irc.h, include/server.h, source/alias.c,
source/dcc.c, source/edit.c, source/exec.c, source/icb.c,
source/irc.c, source/names.c, source/notice.c, source/notify.c,
source/numbers.c, source/parse.c, source/server.c, source/status.c,
source/whois.c, source/window.c:
hide invite_channel, ircquick_file and primary_server.
remove now never non-zero break_io_processing, and export
new break_io_processing() for now hidden irc_io_loop.
Tue Mar 11 00:04:38 PDT 2014 - matthew green <mrg@eterna.com.au>
source/cipher-test.c, source/dcc.c, source/debug.c, source/edit.c,
source/help.c, source/if.c, source/ircflush.c, source/ircsig.c,
source/keys.c, source/log.c, source/mail.c, source/menu.c,
source/output.c, source/reg.c, source/term.c, source/translat.c,
source/vars.c, source/wserv.c:
apply static to various variables that are already only
accessed locally. update copyrights.
Mon Mar 10 23:39:44 PDT 2014 - matthew green <mrg@eterna.com.au>
doc/ircII.1, include/irc.h, include/server.h, source/alias.c,
source/dcc.c, source/edit.c, source/help.c, source/input.c,
source/irc.c, source/notice.c, source/numbers.c, source/parse.c,
source/screen.c, source/server.c, source/status.c, source/term.c,
source/window.c:
rename "dumb" mode as "non full screen" mode. hide the
old "dumb" variable as term_basic(). make oper_command
a per-server function, allowing multiple concurrent
/oper and server connections to occur. hide args_str()
and nickname. server_[gs]et_who_info() don't need an
"int server" argument.
Mon Mar 10 23:38:34 PDT 2014 - matthew green <mrg@eterna.com.au>
include/hook.h, include/irc.h, source/edit.c, source/exec.c,
source/hook.c, source/irc.c:
hide send_text_flag.
Mon Mar 10 23:10:41 PDT 2014 - matthew green <mrg@eterna.com.au>
include/server.h, source/alias.c, source/ctcp.c, source/exec.c,
source/funny.c, source/icb.c, source/names.c, source/notice.c,
source/numbers.c, source/parse.c, source/server.c, source/whois.c:
hide parsing_server_index via parsing_server().
Mon Mar 10 12:25:48 PDT 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/irc.h, source/alias.c, source/ctcp.c,
source/dcc.c, source/edit.c, source/icb.c, source/input.c,
source/irc.c, source/ircaux.c, source/mail.c, source/numbers.c,
source/parse.c, source/server.c, source/vars.c, source/whois.c:
move alias_buffer() and cut_buffer[] into edit.c and make
cut_buffer static in there. hide hostname[], username[],
realname[], away_set, irc_lib and source_host, send_umode.
move set_realname() into irc.c. delete obsolete do_fork.
mark some previously missed variables static.
Sun Mar 9 17:16:26 PDT 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, source/irc.c, source/ircaux.c, source/mail.c:
hide my_path() and add some missing static.
Sun Mar 9 01:35:41 PST 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/irc.h, include/server.h, source/edit.c,
source/irc.c, source/numbers.c, source/parse.c, source/server.c,
source/term.c:
convert who_mask, who_name, who_host, who_server, who_file,
who_nick, who_real and cannot_open into per-server values
under a WhoInfo structure hidden inside edit.c. move a big
chunk of whoreply() from numbers.c into edit.c. this enables
/who -<options> to work concurrently on multiple servers as
well. hide use_flow_control, tflag, qflag and bflag. fix a
bug in /disconnect where it would cause irc to exit.
Thu Mar 6 17:54:55 PST 2014 - matthew green <mrg@eterna.com.au>
include/dcc.h, include/irc.h, include/notify.h, include/server.h,
source/alias.c, source/ctcp.c, source/dcc.c, source/edit.c,
source/irc.c, source/notify.c, source/screen.c, source/server.c,
source/status.c, source/vars.c:
hide irc_version, last_notify_nick, program_name, idle_time,
client_default_icb and dcc_source_host. move set_dcchost()
into dcc.c where it belongs. convert 'waiting' into a
per-server thing with real accessors.
20140306
Thu Mar 6 15:38:13 PST 2014 - matthew green <mrg@eterna.com.au>
source/ircaux.c, source/server.c:
let connect_by_number() keep errno a valid number if it
fails to call socket() or bind(). remove bind_local_addr()'s
unused 2nd argument. support IPv6 addresses and port numbers
in here as well. in connect_to_server_direct(), if
connect_by_number() returns -1, keep errno, and save it around
a ouple of other calls that might reset it.
Thu Mar 6 13:46:07 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, source/alias.c, source/ctcp.c, source/dcc.c,
source/edit.c, source/hook.c, source/if.c, source/irc.c,
source/ircaux.c, source/names.c, source/newio.c, source/queue.c,
source/screen.c, source/server.c, source/term.c, source/whois.c,
source/window.c:
hide in_redirect and in_ctcp_flag. remove 'extern'
declarations where they're not needed.
Mon Mar 3 10:48:15 PST 2014 - matthew green <mrg@eterna.com.au>
include/alias.h, include/irc.h, include/output.h, include/server.h,
include/window.h, source/alias.c, source/edit.c, source/exec.c,
source/help.c, source/hook.c source/icb.c, source/if.c, source/irc.c,
source/output.c, source/parse.c, source/server.c, source/window.c:
hide joined_nick, public_nick, using_server_process
and window_display.
Sun Mar 2 02:47:30 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, source/edit.c, source/help.c, source/input.c,
source/irc.c, source/output.c, source/screen.c, source/server.c,
source/status.c, source/term.c, source/translat.c, source/window.c:
hide to_window, current_screen, main_screen and
last_input_screen.
Sat Mar 1 21:42:55 PST 2014 - matthew green <mrg@eterna.com.au>
include/ignore.h, source/icb.c, source/ignore.c, source/notice.c,
source/parse.c, source/whois.c:
hide ignore_usernames and highlight_char. remove code that
assumed that highlight_char was followed by a nul byte.
Sat Mar 1 21:27:27 PST 2014 - matthew green <mrg@eterna.com.au>
include/translat.h, include/window.h, source/input.c, source/names.c,
source/output.c, source/screen.c, source/translat.c, source/window.c:
hide irc_encoding, display_encoding, input_encoding,
who_level and who_from. obsolete in_window_command by always
calling update_all_windows() in windowcmd().
20140228
Fri Feb 28 19:57:13 PST 2014 - matthew green <mrg@eterna.com.au>
include/hook.h, include/parse.h, source/alias.c, source/ctcp.c,
source/edit.c, source/exec.c, source/hook.c, source/icb.c,
source/notice.c, source/parse.c, source/screen.c:
hide in_on_who, FromUserHost and doing_privmsg.
Fri Feb 28 17:23:17 PST 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/output.h, include/translat.h, include/vars.h,
include/whois.h, source/alias.c, source/ctcp.c, source/dcc.c,
source/edit.c, source/hook.c, source/icb.c, source/irc.c,
source/keys.c, source/log.c, source/notice.c, source/output.c,
source/parse.c, source/screen.c, source/status.c, source/translat.c,
source/vars.c, source/whois.c, source/window.c:
convert loading_global and var_settings into a functions.
move the code to load "global" into its own function called
from two source files. hide irclog_fp, load_depth,
my_echo_set_message_from and beep_on_level. change
add_to_log() to convert fp == NULL internal to set fp equal
irclog_fp, removing the need for it to be public.
remove unnecessary externs for dig_table_*[] and move
DIG_TABLE_SIZE into translat.c itself.
Fri Feb 28 15:32:35 PST 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, include/numbers.h, source/alias.c, source/edit.c,
source/funny.c, source/irc.c, source/numbers.c, source/whois.c:
hide background, irc_path, whois_nick and current_numeric.
remove unused whois_nick and move wait_nick into edit.c.
Fri Feb 28 02:40:17 PST 2014 - matthew green <mrg@eterna.com.au>
include/ctcp.h, include/ircterm.h, include/output.h,
include/window.h, source/ctcp.c, source/irc.c, source/notice.c,
source/output.c, source/parse.c, source/screen.c, source/term.c,
source/whois.c, source/window.c:
hide ctcp_was_crypted, term_reset_flag, underline,
do_refresh_screen and in_help. remove redirect_nick[].
convert the term_*() function pointers into real
functions with the pointer variables local to term.c.
Fri Feb 28 02:34:02 PST 2014 - matthew green <mrg@eterna.com.au>
source/edit.c:
fix the handling of promptlist insertion in add_wait_prompt().
Fri Feb 28 02:14:10 PST 2014 - matthew green <mrg@eterna.com.au>
source/edit.c:
fix the handling of edit_char() and the promptlist.
Thu Feb 27 17:20:23 PST 2014 - matthew green <mrg@eterna.com.au>
include/ctcp.h, include/debug.h, include/exec.h, include/icb.h,
include/irc.h, include/irc_std.h, include/screen.h, include/server.h,
source/alias.c, source/ctcp.c, source/dcc.c, source/debug.c,
source/edit.c, source/exec.c, source/icb.c, source/irc.c,
source/lastlog.c, source/mkmksiginc.pl, source/mksiginc.c,
source/names.c, source/notice.c, source/numbers.c, source/parse.c,
source/screen.c, source/server.c, source/status.c, source/window.c:
hide ctcp_type[], debuglevel, signals[], max_signo, icb_port,
irc_port, screen_list, connected_to_server, and never_connected.
introduce an ARRAY_SIZE() macro and use it in 4 places. some
minor constification.
Wed Feb 26 13:42:02 PST 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/newio.h, include/server.h, include/status.h,
source/alias.c, source/dcc.c, source/edit.c, source/icb.c,
source/irc.c, source/names.c, source/newio.c, source/numbers.c,
source/parse.c, source/server.c, source/status.c, source/window.c:
convert number_of_servers into a function call. hide
sent_nick, sent_body and recv_nick. move all the processing
around do_status_alarmed into status.c, and rename
real_status_alarmed() as check_status_alarmed(). convert
dgets_errno into a function call.
Tue Feb 25 16:59:37 PST 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, configure, configure.in:
add three new configure flags:
--with-debugging[=flags] Build with debugging support.
--with-warnings[=flags] Build with GCC warnings.
--with-warning-errors[=flags] Turn warnings into errors.
that really are just extra CFLAGS, with sane defaults.
Tue Feb 25 15:24:14 PST 2014 - matthew green <mrg@eterna.com.au>
include/ircterm.h, include/keys.h, include/translat.h, include/window.h,
source/edit.c, source/keys.c, source/term.c:
convert term macros into real functions, and hide the termcap
values all inside term.c. move the accesses of key_names[],
keys[] and meta[1-8]_keys[] into keys.c directly with a couple
of accessors. remove no longer present variable externs.
put the keys*[] arrays at the start of keys.c where i've always
looked for them, and they're now needed to avoid forward decls.
Tue Feb 25 09:59:54 PST 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/screen.h, source/alias.c, source/edit.c,
source/funny.c, source/help.c, source/input.c, source/irc.c,
source/menu.c, source/output.c, source/screen.c, source/status.c,
source/term.c, source/translat.c, source/window.c:
hide Screen entirely inside screen.c. move a bunch of
the data inside edit.c as EditInfo, add accessor for
the remaining members: promptlist, next, window_stack,
curosr_window, and size info. remove unused prev member.
replace "screen_get_redirect_token(current_screen)" with
"get_redirect_token()". simplify promptlist handling.
Tue Feb 25 02:49:36 PST 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, include/config.h.dist, include/vars.h, source/screen.c,
source/vars.c:
make WSERV_PATH a real variable you can /set.
source/wserv.c:
fix bugs in SIGWINCH handler that no longer exits upon
select(2) returning EINTR.
Tue Feb 25 01:46:07 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, include/window.h, source/output.c, source/screen.c,
source/status.c, source/window.c:
hide more of Screen:
- hide current_window, last_window_refnum, cursor_window,
visible_windows, fdin, fpout
- remove fpin, as it is set but unused otherwise
- use number_of_windows() in several places
fix problems with Debug() code since Window was hidden
source/screen.c:
fix a fd leak if accept() fails in /window create. handle
the case of fdopen() fails in /window create (fixes crash.)
set program_name, for when screen/wserv want to use it.
for now, remove the not ready code in wserv.c for screen
that is causing it to crash.
source/irc.c:
add usage info for -DDEBUG compiles as well
Mon Feb 24 23:00:39 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, include/window.h, source/alias.c, source/edit.c,
source/help.c, source/input.c, source/irc.c, source/output.c,
source/screen.c, source/window.c:
begin to hide Screen:
- fpin/fdout - already hidden
- renames wservio to wserv_fd and hides it
- redirect_* - already hidden
- hides screennum, current_window, alive, visible_windows,
window_list, window_list_end and inputdata
- make curr_scr_win a macro in front of
screen_get_current_window() and introduce
set_curr_scr_win() macro.
- add window_get_prev()
20140221
Fri Feb 21 05:54:40 PST 2014 - matthew green <mrg@eterna.com.au>
source/server.c:
fix a bug in server_get_whois_stuff() that was
causing crashes.
Fri Feb 21 03:53:52 PST 2014 - matthew green <mrg@eterna.com.au>
source/irc.c:
check USER before the password file. it's 2014.
20140220
Fri Feb 21 03:20:42 PST 2014 - matthew green <mrg@eterna.com.au>
include/window.h, source/help.c, source/irc.c, source/names.c,
source/output.c, source/screen.c, source/status.c, source/window.c:
move Window into window.c itself. add missing accessors
for hold_mode, nicks, hold_info and a passthrough for
nicks_has_who_from().
Fri Feb 21 03:05:50 PST 2014 - matthew green <mrg@eterna.com.au>
include/window.h, source/alias.c, source/help.c, source/hold.c,
source/menu.c, source/output.c, source/window.c:
add accessors for Window's top, bottom, cursor, line_cnt,
scroll, display-size, visible and update members.
Fri Feb 21 02:17:39 PST 2014 - matthew green <mrg@eterna.com.au>
include/window.h, source/hold.c, source/output.c, source/status.c,
source/window.c:
add accessors for Window's status_line, double_status,
hold_mode, hold_on_next_rite, scrolled_lines and
new_scrolled_lines.
Thu Feb 20 17:02:17 PST 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, include/output.h, include/screen.h, include/window.h,
source/output.c, source/screen.c, source/window.c:
move several functions out of screen.c into window.c or
output.c, based upon who structures they operate on.
output.c gains display_highlight(), display_bold(),
display_colours(), and rite().
window.c gains Display, ShrinkInfo, scroll_window().
add_to_window(), scrollback_forwards(), scrollback_backwards(),
scrollback_end(), scrollback_start(), redraw_resized(),
recalculate_windows(), clear_window(), clear_all_windows(),
recalculate_window_positions(), redraw_all_windows(),
resize_display(), free_display(), erase_display(),
split_up_line_alloc(), and window_add_display_line(), plus
some other static functions only used by these.
Thu Feb 20 15:43:12 PST 2014 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
fix a segv when scrollback back from some contexts.
include/hold.h, include/window.h, source/edit.c, source/hold.c,
source/menu.c, source/screen.c, source/status.c, source/window.c:
move several parts of Window* into HoldInfo* only visible
in hold.c. several new window functions to wrap the new
or changed hold functions are introduced.
Thu Feb 20 02:17:09 PST 2014 - matthew green <mrg@eterna.com.au>
include/names.h, include/window.h, source/menu.c, source/names.c,
source/screen.c, source/status.c, source/window.c:
move all window nick list handling into names.c.
add and use accessors for miscflags, current_channel,
window_level and menu members of Window. create a
window_menu_lines() front end to menu_lines().
source/crypt.c, source/ignore.c, source/names.c, source/notify.c:
remove verbose uses of negative flags for list operations.
just use zero.
Thu Feb 20 01:30:12 PST 2014 - matthew green <mrg@eterna.com.au>
include/lastlog.h, include/window.h, source/lastlog.c,
source/screen.c, source/window.c:
encapsulate the lastlog info in Window into a new
LastlogInfo, and hide accesses to it inside lastlog.c.
add new accessors as needed.
Thu Feb 20 00:59:27 PST 2014 - matthew green <mrg@eterna.com.au>
include/window.h, source/alias.c, source/lastlog.c, source/screen.c,
source/server.c, source/status.c, source/window.c:
hide Window's name, prev_server, bound_channel, query_nick,
notify_level, and log*.
Tue Feb 18 06:51:07 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, include/window.h, source/alias.c, source/names.c,
source/screen.c, source/server.c, source/status.c, source/window.c:
add window_get_refnum(), window_get_sticky(),
window_set_sticky(), window_get_next() and window_get_screen()
accessors, hiding several Window * members.
move new_window() and create_refnum() into window.c.
Mon Feb 17 22:34:42 PST 2014 - matthew green <mrg@eterna.com.au>
include/window.h, source/alias.c, source/edit.c, source/exec.c,
source/names.c, source/screen.c, source/server.c, source/status.c,
source/window.c:
begin to hide Window references. add 3 new functions:
window_get_server(), window_get_server_group(), and
window_server_delete() that return this windows server
or server_group, and deal with reallocating server
numbers after one is deleted.
several clean ups: remove unnecessary braces, fit in
80 cols for many places again.
Mon Feb 17 18:13:05 PST 2014 - matthew green <mrg@eterna.com.au>
include/server.h, source/alias.c, source/edit.c, source/icb.c,
source/notice.c, source/parse.c, source/server.c, source/whois.c,
source/window.c:
remove ircd 2.5 support.
Sat Feb 15 06:04:17 PST 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, include/alias.h, include/edit.h, include/hook.h,
include/irc.h, include/irc_std.h, include/output.h,
include/server.h, include/stack.h, include/whois.h,
source/edit.c, source/hook.c, source/stack.c:
remove stack.c, and its invasive unfinished hooks in to
the rest of the code.
remove unused struct ArgPosTag.
move Hook, HookFunc and NumericList definitions into hook.c.
stop exporting numeric_list and hook_functions.
move load_depth externs into edit.h.
move WhoisQueue/WhoisStuff typedefs, and struct whois_stuff_stru
into whois.h.
move struct hook_stru, hook_func_stru and numeric_list_stru
into hook.c.
remove some old select(), getenv() and errno compat that
was only good for truly ancient platforms we don't support.
Sat Feb 15 04:52:47 PST 2014 - matthew green <mrg@eterna.com.au>
include/window.h, source/alias.c, source/names.c, source/screen.c,
source/server.c, source/status.c, source/window.c:
convert all traverse_all_windows() users to
window_traverse() (ie, the recursively OK version).
rename Win_Trav::flag to Win_Traf::init to more properly
reflect what it means. delete traverse_all_windows().
Fri Feb 14 06:06:40 PST 2014 - matthew green <mrg@eterna.com.au>
include/alias.h, include/crypt.h, include/ctcp.h, include/edit.h,
include/hook.h, include/irc.h, include/keys.h, include/server.h,
include/window.h, source/alias.c, source/ctcp.c, source/edit.c,
source/irc.c, source/server.c, source/whois.c:
make Alias structure private to alias.c. make CtcpFlood
structure private to ctcp.c. move TimerTimeout() into
edit.c as timer_timeout() and make TimerList structure
private to edit.c. make WhoisQueue structure private
to whois.c. make SGroup structure private to server.c.
remove "global" WhoisQueue head/tail, and only allow
whois queue actions on a valid server. fix the one
caller of server_get_qhead() that wasn't prepared to
accept NULL return.
20140205
Wed Feb 5 05:57:20 PST 2014 - matthew green <mrg@eterna.com.au>
source/window.c:
fix window_kill_swap(), it already knows that the window
will exist. don't delete_window() the current window if
passed NULL, just ignore it.
Tue Feb 4 23:15:00 PST 2014 - matthew green <mrg@eterna.com.au>
include/irc.h, include/notice.h, include/parse.h:
split out the functions in notice.c and parse.c to their
respective headers, creating notice.h in the process.
Tue Feb 4 22:44:18 PST 2014 - matthew green <mrg@eterna.com.au>
include/ctcp.h, include/server.h, source/ctcp.c, source/server.c:
move the per-server ctcp flood info into ctcp.c itself
and access it via struct ctcp_flood_stru / CtcpFlood.
move Server type and struct into server.c itself now
that it is only accessed from server.c.
Tue Feb 4 19:33:55 PST 2014 - matthew green <mrg@eterna.com.au>
include/parse.h, include/server.h, source/alias.c, source/ctcp.c,
source/dcc.c, source/edit.c, source/funny.c, source/help.c,
source/icb.c, source/irc.c, source/names.c, source/notice.c,
source/notify.c, source/numbers.c, source/parse.c, source/server.c,
source/status.c, source/whois.c, source/window.c:
move almost all accesses of server_list[] into server.c.
move parse_server() into server.c. rename all
[gs]_server_foo() functions as server_[gs]et_foo() and
introduced many more. replace get_server_localaddr()
and get_server_localaddrlen() with new
server_get_local_ip_info().
Tue Feb 4 04:05:16 PST 2014 - matthew green <mrg@eterna.com.au>
Makefile.in, include/irc.h, include/struct.h:
retire struct.h. move the 3 remaining typedefs into irc.h
itself.
Tue Feb 4 03:55:06 PST 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/hold.h, include/input.h, include/lastlog.h,
include/menu.h, include/screen.h, include/status.h, include/struct.h,
include/window.h:
move Hold, Lastlog, WindowMenu, WindowStack, Prompt, and
ScreenInputData types into their respective headers.
Tue Feb 4 03:29:17 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, include/struct.h, include/window.h:
move struct screen_stru and struct window_stru into
screen.h and window.h respectively.
Tue Feb 4 03:11:23 PST 2014 - matthew green <mrg@eterna.com.au>
include/names.h, include/struct.h, source/names.c, source/window.c:
convert ChannelList.connected and ChannelList.status types
into new enums ChanListConnected and ChanListStatus. move
realloc_channels() and swap_channels_win_ptr() from window.c
into names.c (the latter as channel_swap_win_ptr().)
move struct channel_stru into names.c itself now it is only
access from names.c directly.
Tue Feb 4 02:48:52 PST 2014 - matthew green <mrg@eterna.com.au>
include/names.h, source/edit.c, source/names.c, source/window.c:
rename channel_is_current() to channel_is_current_window().
move a big chunk of is_current_channel() into names.c
as channel_is_on_window(). move two chunks of
window_set_server() into names.c as
channels_move_server_simple() and
channels_move_server_complex(). move win_list_channels()
into names.c as window_list_channels().
Tue Feb 4 01:42:19 PST 2014 - matthew green <mrg@eterna.com.au>
include/names.h, source/edit.c, source/names.c, source/screen.c:
move ChannelList handling from do_channel() and
add_to_screen() into names.c, using 2 new functions
channel_window() and channel_is_current().
Tue Feb 4 01:09:19 PST 2014 - matthew green <mrg@eterna.com.au>
include/names.h, source/funny.c, source/names.c, source/numbers.c:
move lookup/set for ChannelList status into names.c, with
new channel_mode_lookup().
Tue Feb 4 00:12:41 PST 2014 - matthew green <mrg@eterna.com.au>
include/screen.h, include/struct.h, source/window.c:
move ShrinkInfo into screen.h. move WindowStack
into window.c.
Mon Feb 3 23:54:53 PST 2014 - matthew green <mrg@eterna.com.au>
include/names.h, include/struct.h, source/alias.c, source/menu.c,
source/names.c, source/screen.c, source/whois.c, source/window.c:
move NickList handling all into names.c. add new
display_nicks_info(), nicks_add_to_window(), and
nicks_remove_from_window(), and move free_nicks()
and function_chanusers() into names.c.
rename some struct names to standardise them.
source/window.c:
remove the code in set_query_nick() that tries to
change the current window nick list based up on /query.
it was redundant and would remove users after a
/query nick, /query <nothing> sequence.
Mon Feb 3 22:42:02 PST 2014 - matthew green <mrg@eterna.com.au>
include/hold.h, include/list.h, include/struct.h, source/hold.c,
source/screen.c, source/window.c:
move Hold definition into hold.c, with free_hold().
move List definition into list.h. document it a little.
Mon Feb 3 22:24:42 PST 2014 - matthew green <mrg@eterna.com.au>
source/cast.c:
keep encryption/decryption state per-key and clear
it when we don't need it. clean up a little.
Mon Feb 3 21:29:49 PST 2014 - matthew green <mrg@eterna.com.au>
include/struct.h, source/ctcp.c:
move struct _ctcp_entry into ctcp.c itself as
struct ctcp_stru, as it is already only used here.
Mon Feb 3 20:59:22 PST 2014 - matthew green <mrg@eterna.com.au>
include/edit.h, include/struct.h, source/edit.c, source/input.c,
source/screen.c:
move the prompt list handling all into edit.c, including
the renamed struct prompt_list definition, leaving just
pointers around for the per-screen entry. consolidate
the processing of an input prompt into the new
prompt_check_input(). move add_wait_prompt() to edit.c,
and export new prompt_current_prompt() and
prompt_active_count() functions.
clean up input_do_check_prompt() a little.
Mon Feb 3 06:35:45 PST 2014 - matthew green <mrg@eterna.com.au>
include/dcc.h, include/struct.h, source/alias.c, source/dcc.c:
move DCC_list internal to dcc.c, including ClientList.
move the guts of both function_dcclist() and
function_chatpeers() into dcc.c as new functions
dcc_list_func() and dcc_chatpeers_func().
make dcc_searchlist() and dcc erase() static.
make many function_*() functions static.
Sat Feb 1 20:19:00 PST 2014 - matthew green <mrg@eterna.com.au>
include/menu.h, include/struct.h, include/window.h, source/menu.c,
source/screen.c, source/window.c:
move struct MenuOptionTag, MenuOption, struct MenuTag,
Menu, and struct WindowMenuTag into menu.c itself, and
only export MenuWindow * type externally. convert uses
to interfaces exported by menu.c.
update DISPLAY_AFTER_SCROLL code to be less ugly.
20140201
Sat Feb 1 18:51:26 PST 2014 - matthew green <mrg@eterna.com.au>
source/input.c:
compare input position with cursor_x not cursor_y.
Fri Jan 31 04:30:13 PST 2014 - matthew green <mrg@eterna.com.au>
include/ircaux.h, source/aes.c, source/alias.c, source/cast.c,
source/cipher-test.c, source/crypt.c, source/ctcp.c, source/dcc.c,
source/edit.c, source/exec.c, source/flood.c, source/funny.c,
source/history.c, source/hold.c, source/hook.c, source/icb.c,
source/ignore.c, source/input.c, source/irc.c, source/ircaux.c,
source/ircio.c, source/lastlog.c, source/menu.c, source/names.c,
source/newio.c, source/notify.c, source/parse.c, source/queue.c,
source/scandir.c, source/screen.c, source/server.c, source/stack.c,
source/whois.c, source/window.c:
convert new_malloc(), new_realloc() and new_free() to return
and take void * instead of u_char *. update all the callers
to not cast the return value, and also use sizeof(*var) over
sizeof(type).
Thu Jan 30 22:42:27 PST 2014 - matthew green <mrg@eterna.com.au>
include/input.h, include/screen.h, include/struct.h, source/input.c,
source/screen.c:
move ScreenInputBufferData and ScreenInputData inside
input.c directly, and only access them in input.c.
change Screen to take a pointer to an opaque type (it's
already all setup and accessed in input.c.)
Thu Jan 30 21:02:05 PST 2014 - matthew green <mrg@eterna.com.au>
source/input.c, source/screen.c, source/window.c:
if iconv(3) returns an error, always be sure to end
processing, regardless of errno itself. fixes hangs
when a conversion fails in some cases. when unsetting
any of the utf-8 variables, set them to latin1. fixes
segv with eg, /set -display_encoding.
20140130
Thu Jan 30 03:23:16 PST 2014 - matthew green <mrg@eterna.com.au>
source/input.c:
rename a variable to better reflect its use.
Thu Jan 30 02:08:16 PST 2014 - matthew green <mrg@eterna.com.au>
source/input.c, source/screen.c, source/window.c:
don't call cursor_to_input() before calling
update_input(). it's useless and moves the cursor.
source/input.c:
set old_cursor_pos to 0 if it's ahead of cursor_y.
fixes input line scrolling issues.
Sat Jan 11 12:30:12 PST 2014 - matthew green <mrg@eterna.com.au>
source/edit.c, source/help.c, source/names.c, source/screen.c,
source/translat.c:
remove set but unused variables.
Sat Jan 11 22:51:01 PST 2014 - matthew green <mrg@eterna.com.au>
include/buffer.h, source/alias.c, source/crypt.c, source/dcc.c,
source/edit.c, source/exec.c, source/history.c, source/ircaux.c,
source/ircflush.c, source/ircio.c, source/screen.c, source/server.c,
source/wserv.c:
fix various issues found by newer GCC on ubuntu.
20131230
Mon Dec 30 05:16:19 PST 2013 - matthew green <mrg@eterna.com.au>
source/input.c:
cursor_to_input() should only operate on the current
screen. copy old behaviour of update_input() and
only write the new part of the display with
UPDATE_FROM_CURSOR calls.
source/screen.c:
fix a merge error with utf-8 patch.
Sun Dec 29 20:08:54 PST 2013 - matthew green <mrg@eterna.com.au>
source/lastlog.c
notice when the screen width changes and
recalculate the per-line array.
source/term.c:
use the current screen's lines/colums in
copy_window_size(). now lastlog notices screen
size changes.
Sun Dec 29 19:53:31 PST 2013 - matthew green <mrg@eterna.com.au>
include/lastlog.h, include/struct.c, source/lastlog.c,
source/screen.c:
make lastlog_stru only visible in lastlog.c.
move next_line_back() into lastlog.c and call
it lastlog_line_back().
Sun Dec 29 19:40:03 PST 2013 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
fix the pointer type in free_lastlog_entry().
Sun Dec 29 19:41:33 PST 2013 - matthew green <mrg@eterna.com.au>
Makefile.in, acconfig.h, configure, configure.in,
help/set/display_encoding, help/set/input_encoding,
help/set/irc_encoding, help/set/translation, include/config.h.dist,
include/defs.h.in, include/input.h, include/irc.h, include/ircterm.h,
include/screen.h, include/struct.h, include/translat.h, include/vars.h,
source/alias.c, source/edit.c, source/exec.c, source/input.c,
source/irc.c, source/screen.c, source/status.c, source/term.c,
source/translat.c, source/vars.c:
reapply the UTF-8 patch. original description:
Wed Sep 21 08:49:58 EST 2005 - Joel Yliluoma <bisqwit@iki.fi>
Replaced the ancient TRANSLATION feature
and the hackish japanese support features
and all the hardcoded latin1-related stuff
with iconv-based full character set support
for input, output and display. Supports all
the singlebyte and multibyte encodings supported
by iconv, with or without shift codes.
As a consequence, the following settings are
no longer used: TRANSLATION, ISO2022_SUPPORT
Instead, INPUT_ENCODING, DISPLAY_ENCODING
and IRC_ENCODING are used for input, terminal
and network encodings respectively.
All conversions are done transparently.
If the system does not have iconv library,
only ISO-8859-1 is supported (built-in).
Note that if EIGHT_BIT_CHARACTERS is not set,
all 7th bits of bytes will be stripped. (Why??)
Sun Dec 29 17:48:35 PST 2013 - matthew green <mrg@eterna.com.au>
source/input.c:
fix DEBUG build.
source/screen.c:
outputline(): avoid modifying strings just so strlen()
will work when we already have the length handy.
split_up_line_alloc(): alloc space for NULL, too.
next_line_back(): remove static ScreenLines[] since we
can now use the lastlog entry's.
Sun Dec 29 06:46:11 PST 2013 - matthew green <mrg@eterna.com.au>
include/lastlog.h, source/lastlog.c, source/screen.c:
make add_to_lastlog() return the u_char ** it split
up, if it happened to do that. fix comments in it
that have been wrong for over 20 years.
make split_up_line_alloc() NULL terminate the list.
use the pre-split list in add_to_window().
Sun Dec 29 06:05:06 PST 2013 - matthew green <mrg@eterna.com.au>
include/lastlog.h, include/screen.h, include/struct.h,
source/lastlog.c, source/screen.c, source/window.c:
begin to store split up messages in the lastlog.
move free_lastlog() to lastlog.c. and move the
main guts of it into free_lastlog_entry(), that
is reused during normal scrolling.
add a new split_up_line_alloc() that has the same
signature as split_up_line(), but returns a
dynamically allocated array of pointers, and
clears the pointers from split_up_line()'s static
array.
source/term.c:
make copy_window_size() cope with NULL inputs.
Sun Dec 29 03:59:03 PST 2013 - matthew green <mrg@eterna.com.au>
include/screen.h, include/struct.h, include/window.h,
source/screen.c, source/window.c:
make the definition of Display local to screen.c.
20131228
Sat Dec 28 18:16:39 PST 2013 - matthew green <mrg@eterna.com.au>
doc/ircII.1:
update to describe -l option.
source/screen.c:
use macros not magic numbers.
source/window.c:
clean up, and fix a bug in bind_channel().
Sat Dec 28 18:23:03 PST 2013 - matthew green <mrg@eterna.com.au>
source/lastlog.c, source/parse.c:
avoid leaking FILE *'s.
source/server.c:
avoid leaking memory.
source/dcc.c, source/exec.c, source/irc.c, source/ircio.c,
source/mail.c, source/newio.c, source/screen.c,
source/server.c:
remove the unused 4th parameter to dgets() and
cleanup dgets() itself for this.
Thu Feb 21 14:01:23 PST 2013 - matthew green <mrg@eterna.com.au>
configure.in, configure:
avoid re-setting libexecdir if it is set on the
command line.
20111115
Tue Nov 15 01:25:01 PST 2011 - matthew green <mrg@eterna.com.au>
source/irc.c:
properly bump version.
20111114
Mon Nov 14 15:12:09 PST 2011 - matthew green <mrg@eterna.com.au>
source/edit.c, help/nuser:
add a /NUSER command to change your irc and user names.
largely from Hendrix/zDm via tMH.
doc/ircii.spec:
rpm-style spec file, contributed by lukem
source/edit.c:
disable "TZ" hack, it fails weirdly with multitime.
Sat Jul 9 22:58:33 PDT 2011 - matthew green <mrg@eterna.com.au>
configure, configure.ac, Makefile.in, ...:
install ircio and wserv into libexec dir.
20110428
Thu Apr 28 15:13:02 PDT 2011 - matthew green <mrg@eterna.com.au>
source/mkmksiginc.pl, source/mksiginc.c:
adjust the C/CPP for each signal to allow eg SIGRTMAX
to be a C expression not just a CPP one. fixes a
problem on modern centos reported by rob windsor.
20110228
Tue Feb 1 02:57:58 PST 2011 - matthew green <mrg@eterna.com.au>
source/screen.c:
avoid trying to print high-bit unprintable chars
source/window.c:
avoid implicit int
include/ignore.h, source/ignore.c, source/edit.c:
add /SAVE -IGNORE support
Tue Jan 26 20:59:24 PST 2010 - matthew green <mrg@eterna.com.au>
source/edit.c:
match "TZ" not "TV". ooops.
20090520
Wed May 20 22:17:27 PDT 2009 - matthew green <mrg@eterna.com.au>
source/exec.c, source/crypt.c:
order alarm/signal correctly to avoid spurious SIGALRM
causing irc to exit.
Fri May 1 17:56:12 PDT 2009 - matthew green <mrg@eterna.com.au>
configure, configure.in:
check for getaddrinfo/getnameinfo in -lmedia, for qnx.
Fri May 1 00:35:38 PDT 2009 - matthew green <mrg@eterna.com.au>
include/cast_sbox.h:
remove K&R C support.
include/keys.h, include/hook.h, include/vars.h:
remove trailing , from enum lists.
Mon Apr 27 19:02:10 PDT 2009 - matthew green <mrg@eterna.com.au>
include/irc.h, source/irc.c, source/term.c, source/wserv.c:
add a new MY_SIGNAL_REINIT() that expands to
nothing on BSD platforms.
Mon Apr 27 18:26:02 PDT 2009 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
include/exec.h, include/irc.h, include/ircterm.h,
include/scandir.h, source/exec.c, source/irc.c, source/ircaux.c,
source/scandir.c, source/term.c, source/wserv.c:
remove support the following systems:
DGUX, Interactive UNIX 2/3, UNICOS, AIX 3,
MUNIX/M_UNIX, NeXT, SVR3, ULTRIX, Dynix/ptx,
HPUX7, HPUX8
remove support for the follow features:
<sgtty.h>, <termio.h>, non POSIX wait,
non POSIX nonblocking
Sun Apr 26 01:30:12 PDT 2009 - matthew green <mrg@eterna.com.au>
source/ircaux.c:
if bind_local_addr() fails, notify the user that
IRCHOST is probably wrong
20081115
Sun Nov 16 00:18:05 PST 2008 - matthew green <mrg@eterna.com.au>
translation/*
re-add these, missed in 20080314
Tue Oct 28 09:21:11 PDT 2008 - matthew green <mrg@eterna.com.au>
include/config.h.dist:
bump the default lastlog size to 440
20080414
Mon Apr 14 14:45:10 PDT 2008 - matthew green <mrg@eterna.com.au>
sourec/icb.c:
maintain the channel list for icb as well. this makes
/on nickname, /on channel_nick, $chanusers() and
$onchannel() work for icb.
20080314
Fri Mar 14 10:06:58 PDT 2008 - matthew green <mrg@eterna.com.au>
Makefile.in, acconfig.h, configure, configure.in,
help/set/display_encoding, help/set/input_encoding,
help/set/irc_encoding, help/set/translation, include/config.h.dist,
include/defs.h.in, include/input.h, include/irc.h,
include/ircterm.h, include/screen.h, include/struct.h,
include/translat.h, include/vars.h, source/alias.c, source/edit.c,
source/exec.c, source/input.c, source/irc.c, source/newio.c,
source/screen.c, source/status.c, source/term.c, source/translat.c,
source/vars.c:
revert the utf-8 changes. they cause way too much
cpu time / slowness when lastlog gets large. there
should be a re-implementation coming in the future.
Tue Jun 26 13:31:29 EST 2007 - matthew green <mrg@eterna.com.au>
help/on/icb_who:
describe /on icb_who, not something else
script/icb:
understand /annoy
Wed Jun 20 13:14:31 PDT 2007 - matthew green <mrg@eterna.com.au>
source/names.c:
fix a bug in walk_channels() i introduced in late 93.
symptom was /on channel_signoff not working.
Mon Mar 12 13:20:59 PDT 2007 - matthew green <mrg@eterna.com.au>
source/exec.c:
rename _child_died to waitpid_child_died.
Tue Jan 30 12:17:30 EST 2007 - matthew green <mrg@eterna.com.au>
source/icb.c:
in icb_put_public(), split the line at a space boundary
if it exists within the last 10 characters.
Wed Sep 27 17:26:35 EST 2006 - matthew green <mrg@eterna.com.au>
source/server.c:
in connect_to_server_direct() reorder some code to avoid
using from_server when it is -1. mostly from Bernd
Eckenfels <ecki@lina.inka.de>.
include/ircterm.h, source/crypt.c, source/dcc.c, source/log.c,
source/newio.c, source/server.c:
remove final remaining _Windows code.
Sat Sep 2 12:12:20 PDT 2006 - matthew green <mrg@eterna.com.au>
source/input.c:
don't reduce the screen zone by WIDTH twice. this fixes
a problem where the input line would scroll to the next
part at 20 chars before the end of line.
Mon Aug 28 12:51:32 PDT 2006 - matthew green <mrg@eterna.com.au>
Makefile.in, source/wterm.c:
make wterm.c be a real file that defines STTY_ONLY and
then includes term.c.
Sun Aug 27 16:04:39 PDT 2006 - matthew green <mrg@eterna.com.au>
include/buffer.h, include/irc.h, include/irc_std.h, source/alias.c,
source/ctcp.c, source/edit.c, source/help.c, source/hook.c,
source/irc.c, source/ircaux.c, source/keys.c, source/output.c:
remove all windows and msdos code, and some other unused
things as well.
20060821
Tue Aug 22 05:57:18 EST 2006 - matthew green <mrg@eterna.com.au>
source/edit.c: disallow these commands in ICB mode:
ADMIN CONNECT CTCC CTCP DCC DEOP DIE HASH HOST ISONLUSERS
NOTE NOTICE OPER REDIRECT REHASH REQUEST RESTART USERHOST
WALL WALLOPS WHOWAS.
source/hook.c:
be much safer about access the hook_functions[] list and
bounds check it in several places. note via XXX a place
where ircii will fail when when more than 2048 hooks are
installed for a particular lists. re-factor some code to
avoid deep indentation.
source/parse.c:
as the XXX comment said over 10 years ago, only pass
numbered commands from 1 to 999 to numbered_command().
Tue Aug 8 18:13:21 EST 2006 - matthew green <mrg@eterna.com.au>
source/vars.c, source/input.c:
rework the input prompt bug fix, based on work from flier.
source/input.c:
fix update_input() when term_echo is not set. from flier.
Fri Aug 4 10:24:39 EST 2006 - matthew green <mrg@eterna.com.au>
script/icb:
for /ping on ICB, use /msg server ping.
20060725
Tue Jul 25 19:03:57 PDT 2006 - matthew green <mrg@eterna.com.au>
script/listidle:
update this from http://tris.net/software/listidle.irc
Tue Jul 25 03:52:10 PDT 2006 - matthew green <mrg@eterna.com.au>
Makefile.in, include/Makefile.in, include/config.h.dist,
include/hook.h, include/hook.h.proto, include/keys.h,
include/keys.h.proto, include/vars.h, include/vars.h.proto,
incldue/count.l, source/vars.c:
add a new check in init_variables() to ensure that the
irc_variable[] table is properly sorted. we still depend
on the list on vars.h to also be sorted, but this is at
least one step better. sort the entries that were not
properly sorted. delete include/*.h.proto,
include/count.l, include/Makefile.in and convert the
generated lists into enum's. no longer require lex to
build. remove LEX and LEXLIB.
configure, configure.in:
remove AC_PROG_LEX and don't output include/Makefile.
help/set/use_old_msg:
delete USE_OLD_MSG variable as the support for it has not
been available for some time.
help/set/iso2022_support:
delete, was an empty file.
Tue Jul 25 02:42:19 PDT 2006 - matthew green <mrg@eterna.com.au>
configure.in, configure:
adjust the iconv "const" check to match more cases.
Sun Jul 23 03:00:53 PDT 2006 - matthew green <mrg@eterna.com.au>
help/digraph, help/bind/enter_digraph, help/set/eight_bit_characters:
replace references to /set translation with updated ones
source/vars.c:
properly reorder irc_encoding and irchost.
20060721
Fri Jul 21 19:25:30 PDT 2006 - matthew green <mrg@eterna.com.au>
include/config.h.dist, include/vars.h.proto, include/vars.h,
source/vars.c:
add defaults for STATUS_SCROLLED and STATUS_SCROLLED_LINES
variables. add %P%s to the default status format.
source/status.c:
add two new status format functions: %P for STATUS_SCROLLED
and %s for STATUS_SCROLLED_LINES. increase MAX_FUNCTIONS
(really should fix this properly.) clean up some obsolete
code.
source/screen.c:
update the status bar when scrolling.
help/set/status_scrolled, help/set/status_scrolled_lines,
help/set/status_format:
document the new status features.
help/set/status_hold_lines:
fix a typo.
20060718
Tue Jul 18 21:46:59 PDT 2006 - matthew green <mrg@eterna.com.au>
source/edit.c:
call set_input_raw() from get_history(), not set_input().
now ^V/^B/etc work properly from history.
source/irc.c:
fix a sign issue in the DEBUG code.
Tue Jul 18 17:54:29 EST 2006 - matthew green <mrg@eterna.com.au>
script/redirx:
update this to v1.3 from http://tris.net/software/redirx.irc.
20060705
Wed Jul 5 16:34:25 PDT 2006 - matthew green <mrg@eterna.com.au>
include/hook.h, include/hook.h.proto, source/alias.c, source/cast.c,
source/hook.c, source/input.c, source/names.c, source/screen.c,
source/server.c, source/stack.c, source/translat.c, source/whois.c,
source/window.c:
change a few variables type to properly match their usage.
remove a whole bunch of casts, and, unfortunately add a few
more.
20060704
Tue Jul 4 18:05:48 PDT 2006 - matthew green <mrg@eterna.com.au>
source/input.c, source/vars.c:
ensure that the INPUT_PROMPT is properly initialised
otherwise a default empty INPUT_PROMPT will cause
temporary input prompts (such as "Help?") to become
the input prompt.
Thu Sep 22 08:14:11 EST 2005 - matthew green <mrg@eterna.com.au>
source/alias.c, source/crypt.c, source/dcc.c, source/edit.c,
source/exec.c, source/help.c, source/icb.c, source/ignore.c,
source/input.c, source/irc.c, source/ircaux.c, source/mail.c,
source/names.c, source/notice.c, source/screen.c, source/server.c,
source/status.c, source/term.c, source/translat.c, source/vars.c,
source/window.c:
fix signed verses unsigned problems. fix int verses
socklen_t problems.
Thu Sep 22 06:16:06 EST 2005 - matthew green <mrg@eterna.com.au>
configure, configure.in, source/translat.c, source/input.c,
source/screen.c, include/irc.h:
add a test to see whether the 2nd argument to iconv()
is const or not, rather than hard coding it cost for
NetBSD and not for everything else.
20050921
Wed Sep 21 08:49:58 EST 2005 - Joel Yliluoma <bisqwit@iki.fi>
Makefile.in, configure.in, include/defs.h.in,
include/config.h.dist,
help/set/display_encoding, help/set/irc_encoding,
help/set/input_encoding, help/set/translation,
help/set/iso2022_support,
include/input.h, include/irc.h, include/screen.h,
include/struct.h, include/translat.h, include/ircterm.h,
include/vars.h.proto, include/vars.h,
source/alias.c, source/edit.c,
source/input.c, source/screen.c, source/status.c,
source/term.c, source/translat.c, source/vars.c,
translation/*, ChangeLog:
Replaced the ancient TRANSLATION feature
and the hackish japanese support features
and all the hardcoded latin1-related stuff
with iconv-based full character set support
for input, output and display. Supports all
the singlebyte and multibyte encodings supported
by iconv, with or without shift codes.
As a consequence, the following settings are
no longer used: TRANSLATION, ISO2022_SUPPORT
Instead, INPUT_ENCODING, DISPLAY_ENCODING
and IRC_ENCODING are used for input, terminal
and network encodings respectively.
All conversions are done transparently.
If the system does not have iconv library,
only ISO-8859-1 is supported (built-in).
Note that if EIGHT_BIT_CHARACTERS is not set,
all 7th bits of bytes will be stripped. (Why??)
source/exec.c:
include unistd.h if exists
- compiles cleaner with -Wall
source/keys.c:
^U mapped to ERASE_TO_BEG_OF_LINE instead
of ERASE_LINE - now analogous to how ^K works;
bash does the same.
Fri Jul 8 18:55:06 EST 2005 - matthew green <mrg@eterna.com.au>
configure, configure.in:
don't pass -Xc to sunpro on solaris. from grant@netbsd.org.
Sat Jan 22 23:11:12 EST 2005 - matthew green <mrg@eterna.com.au>
source/lastlog.c:
in bits_to_lastlog_level(), add spaces before all but
the first level, not after each of them.
Mon Jan 3 22:13:47 EST 2005 - matthew green <mrg@eterna.com.au>
source/names.c:
call set_channel_by_refnum() in rename_channel(), so that
the window->current_channel changes as well.
20050101
Sat Jan 1 18:29:46 EST 2005 - matthew green <mrg@eterna.com.au>
include/server.h:
add comments to describe the difference between
from_server and parsing_server_index variables.
source/keys.c, source/edit.c, include/keys.h.proto, include/keys.h:
change the function echo() to echocmd(), mirroring most other
commands being foocmd().
source/status.c:
change a type to u_char to avoid a warning.
source/server.c, doc/ircII.1:
add support for $IRCSERVERSFILE, that replaces the
default LIBDIR/ircII.servers.
source/edit.c, source/server.c, help/msg:
add a -server flag to /msg, to allow one to send a
message to a server in a different window.
source/icb.c, source/names.c, source/names.h:
add a new rename_channel() instead of abusing the
add_channel() interface, for when ICB groups are
renamed.
source/server.c:
in get_server_localaddrlen() and get_server_localaddr()
properly bounds check against number_of_servers.
20040820
Fri Aug 20 12:16:35 EST 2004 - matthew green <mrg@eterna.com.au>
include/config.h.dist:
include status_user[123] in DEFAULT_STATUS_FORMAT.
20040711
Sun Jul 11 03:06:51 EST 2004 - matthew green <mrg@eterna.com.au>
source/icb.c:
be sure to save the ICB group status for reconnection time.
Thu Jul 8 23:19:03 EST 2004 - matthew green <mrg@eterna.com.au>
source/edit.c:
set sent_nick in ICB mode as well. makes /msg . work for ICB.
Sun Jul 4 00:53:46 EST 2004 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
in do_ctcp() don't skip leading ':' like we used to long ago.
20040703
Sat Jul 3 20:23:17 EST 2004 - matthew green <mrg@eterna.com.au>
configure.in, configure:
add a comment. ircio needs snprintf* too
include/irc_std.h:
fix a prototype.
configure.in, configure, Makefile.in:
fix pax -s call: it takes BRE's not ERE's. should remove a
NetBSD pkgsrc patch..
include/ircaux.h, source/ircaux.c, source/term.c:
remove "new_stty()".
Wed Apr 14 23:59:40 EST 2004 - matthew green <mrg@eterna.com.au>
script/listidle:
make sort-of work. partially from tristan.
Mon Feb 16 21:01:16 EST 2004 - matthew green <mrg@eterna.com.au>
source/mkmksiginc.pl, source/mksiginc.c, source/exec.c, source/exec.h:
remove (most) uses of NSIG - auto generate the array max size
instead. should fix solaris builds.
help/topic, script/default:
document ICB topic support, and make the default /topic work.
20040216
Mon Feb 9 22:43:03 EST 2004 - matthew green <mrg@eterna.com.au>
help/expressions:
document A++ and A-- binary operators
help/foreach:
begin to document /for
source/alias.c:
remove OLD_ALIAS_ALLOC method
20040106
Tue Jan 6 19:08:39 EST 2004 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/buffer.h, include/ctcp.h,
include/debug.h, include/defs.h.in, include/hook.h,
include/hook.h.proto, include/irc.h, include/output.h, include/server.h,
include/whois.h, source/crypt.c, source/ctcp.c, source/debug.c,
source/help.c, source/hook.c, source/if.c, source/ignore.c,
source/menu.c, source/notify.c, source/output.c, source/server.c,
source/stack.c, source/whois.c, INSTALL:
remove any non-<stdarg.h> style varadic function support.
ircii now require an ANSI C compiler.
Tue Jan 6 00:53:50 EST 2004 - matthew green <mrg@eterna.com.au>
include/vars.h.proto, include/vars.h, include/config.h.dist,
source/names.c, source/vars.c:
add new /SET SWITCH_TO_QUIET_CHANNELS that allows
SWITCH_CHANNELS binding to ignore "quiet" channels.
from Magnus Tjernstrom <d92-mtm@ludd.luth.se>.
Wed Dec 17 01:33:29 EST 2003 - matthew green <mrg@eterna.com.au>
source/irc.c:
set ircquick_file not ircrc_file, if $IRCQUICK is set.
source/server.c:
fix a few bugs with server process code, partially
inspired by PR#647.
source/window.c:
don't send PART to ICB servers.
20031208
Mon Dec 8 21:30:39 EST 2003 - matthew green <mrg@eterna.com.au>
source/newio.c:
be defensive about accessing rec_io[] out of bounds.
should stop PR#643.
Mon Dec 8 18:39:13 EST 2003 - matthew green <mrg@eterna.com.au>
source/ircio.c:
initialise res. from mats@snowbee.dyns.cx in PR#647.
source/screen.c:
turn back on bold/highlight/underline if any of them
are toggled, as termcap may turn off everything. idea
from Rado Smiljanic <am3a035@math.uni-hamburg.de> in PR#609.
Mon Dec 8 12:51:51 EST 2003 - matthew green <mrg@eterna.com.au>
source/server.c:
remove \n from a say().
acconfig.h, configure, configure.in, include/defs.h.in,
source/edit.c:
look for tzset(3), and use it when setting/unsetting
the TZ environment variable.
script/icb:
add a /hush alias.
configure, configure.in:
don't always enable emacs meta keys, from sec@42.org
in PR#683.
source/edit.c:
reapply a change from march 1997 that got lost in 2002:
don't send "NAMES" for hostmasked channels (eg,
#foo:*.edu). fixes PR#187
fixes PR#675.
script/redirx:
new script from tristan@ethereal.net. automatically
shortens urls seen on channel.
source/term.c:
do nothing if (dumb) in set_term_eight_bit(). PR#651
help/assign, help/echo, help/exec, help/server, help/squit, help/wait,
help/alias/functions, help/load/edit, help/load/netsplit,
help/load/repeat, help/on/on, help/set/full_status_line,
help/set/help_pager, script/compl.mods, script/imap, script/netsplit,
script/nocolour, source/ctcp.c, source/exec.c, source/status.c,
source/term.c, source/window.c:
fix spelling of "its" vs "it's". from splite@purdue.edu
in PR#654.
Tue Dec 2 16:38:08 EST 2003 - matthew green <mrg@eterna.com.au>
script/multichan:
add an example script for maintaining multiple server
and channel configurations.
Wed Oct 22 11:12:20 EST 2003 - matthew green <mrg@eterna.com.au>
source/cast.c, source/crypt.c, source/aes.c, include/crypt.h:
change crypt functions to take size_t not int.
script/icb:
add an icb /away frontend.
Wed Jul 16 15:22:47 EST 2003 - matthew green <mrg@eterna.com.au>
help/on/icb_cmdout, help/on/icb_motd, include/hook.h,
include/hook.h.proto source/hook.c source/icb.c:
rename /on icb_motd to icb_cmdout and also make sure that
if the hook fires, we don't print a spurious not understood
message.
Wed Jul 16 09:23:00 EST 2003 - matthew green <mrg@eterna.com.au>
source/icb.c:
add /on TOPIC support.
Sun Jul 13 05:25:02 EST 2003 - matthew green <mrg@eterna.com.au>
aclocal.m4, configure, configure.in:
check if we can use "-Xc" on solaris..
Sat Jul 12 16:55:41 EST 2003 - matthew green <mrg@eterna.com.au>
source/cast.c:
don't regenerate the key for every message.
Makefile.in, include/crypt.h, source/aes.c, source/cipher-test.c,
source/crypt.c, source/ctcp.c, source/rijndael.c:
rename rijndael cipher to AES.
Sat Jul 12 16:45:17 EST 2003 - matthew green <mrg@eterna.com.au>
Makefile.in, doc/crypto, help/encrypt, include/ctcp.h,
source/cipher-test.c, source/crypt.c, source/ctcp.c, source/irc.c,
source/notice.c, source/parse.c, source/sed.c, source/whois.c:
remove "SED" cipher support entirely..
Sat Jul 12 14:41:59 EST 2003 - matthew green <mrg@eterna.com.au>
include/irc_std.h, source/cast.c, source/rijndael.c, source/sed.c:
add a new IRCII_RCSID_NAMED() macro that can set the name
of the rcsid string. redefined IRCII_RCSID in terms of
this, and use the new one in the included sources files.
Makefile.in, source/cipher-test.c:
add a new test-rig for the /crypt ciphers..
Sat Jul 12 14:25:23 EST 2003 - matthew green <mrg@eterna.com.au>
include/irc.h, include/status.h, source/irc.c, source/status.c,
source/vars.c:
avoid the final gcc warning by splitting the variable
list functions into two classes.
Sat Jul 12 05:18:58 EST 2003 - matthew green <mrg@eterna.com.au>
configure, configure.in:
add -lnsl -lsocket unconditionally on solaris.
20030709
Wed Jul 9 13:43:35 EST 2003 - matthew green <mrg@eterna.com.au>
source/names.c:
avoid using -1 as an array index. fixes some
core dumps pointed out by bisqwit.
Wed Jul 9 02:30:34 EST 2003 - Joel Yliluoma <bisqwit@iki.fi>
include/vars.h.proto, include/vars.h, source/vars.c,
include/config.h.proto, include/config.h, source/dcc.c,
help/set/bind_local_dcchost, help/set/dcchost:
Add /set bind_local_dcchost feature to select
whether outgoing dcc requests should be bound
to a local net interface.
Wed Jul 9 02:16:16 EST 2003 - matthew green <mrg@eterna.com.au>
source/edit.c:
/DCC does not require a server (/dcc raw)
Wed Jul 9 01:03:28 EST 2003 - Joel Yliluoma <bisqwit@iki.fi>
include/vars.h.proto, include/vars.h, source/vars.c,
include/config.h.proto, include/config.h, source/dcc.c,
help/set/dccport, help/set/dcchost:
Added /set dccport feature to select the
TCP port to use in dcc requests.
source/newio.c
Enabled SO_REUSEADDR, which makes it faster to
regain access to a previously listened port.
help/timer:
expand.
20030706
Mon Jul 7 01:28:08 EST 2003 - matthew green <mrg@eterna.com.au>
include/irc.h, source/irc.c, source/term.c:
turn on_signal_occured into an array and stack
signals up (overflow at 16 signals; it should be
enough and avoids any soft of malloc in signal
handlers..)
Mon Jul 7 00:31:31 EST 2003 - matthew green <mrg@eterna.com.au>
source/mkmksiginc.pl, source/mksiginc.c, Makefile.in,
configure, configure.in:
add a perl program to generate a C program that we
compile and run on the target to generate a list of
valid signal names. this replaces the generation
of sig.inc in configure.
source/exec.c:
reverse test of SIGCLD/SIGCHLD. this code needsa
an enema... we should de-support old systems...
Sun Jul 6 19:16:16 EST 2003 - matthew green <mrg@eterna.com.au>
source/irc.c:
move a big chunk of irc_io() into a new function to
process one screen irc_do_a_screen().
source/screen.c:
actually avoid dumping core in an error condition, not
just have a comment that says /* error */.
Sun Jul 6 18:49:42 EST 2003 - matthew green <mrg@eterna.com.au>
help/on/os_signal:
new documentation.
Sun Jul 6 18:40:22 EST 2003 - matthew green <mrg@eterna.com.au>
configure, configure.in:
also try looking in /usr/include/asm/signal.h. fixes
problems on linux. from jorgenam@ifi.uio.no.
include/hook.h, include/hook.h.in, source/hook.c, source/irc.c,
source/status.c:
add support for /on OS_SIGNAL_LIST. from jorgenam@ifi.uio.no.
include/irc.h, source/irc.c:
various clean ups.
include/irc_std.h, include/ircterm.h, source/crypt.c, source/irc.c,
source/ircflush.c, source/status.c, source/term.c, source/wserv.c:
change sigfunc from void (func *)(void) to void (func *)(int)
and change all signal-handler functions accordingly.
Thu Mar 27 15:14:47 EST 2003 - matthew green <mrg@eterna.com.au>
source/icb.c:
fix long messages in /msg.
Tue Mar 18 18:07:06 EST 2003 - matthew green <mrg@eterna.com.au>
source/icb.c:
implement/honour /set beep_on_msg in ICB.
Sun Mar 16 15:36:00 EST 2003 - matthew green <mrg@eterna.com.au>
configure, configure.in:
turn off emacs meta keys by default, it hurts non-english
speakers too much.
source/keys.c:
fix the emacs meta key bindings for M-b and M-d.
20030315
Sat Mar 15 16:25:09 EST 2003 - matthew green <mrg@eterna.com.au>
source/status.c:
more new bugs - status_make_printable() over the entire
string, not all but the last 3 chars. process the removal
of \f for right justification even if we have filled the
status bar width already.
Sat Mar 15 01:10:00 EST 2003 - matthew green <mrg@eterna.com.au>
source/names.c:
fix another error from recreate_modes().
20030314
Fri Mar 14 23:09:29 EST 2003 - matthew green <mrg@eterna.com.au>
source/status.c:
fix some errors introduced recently.
Fri Mar 14 10:45:53 EST 2003 - matthew green <mrg@eterna.com.au>
source/status.c:
clean up make_status(); split it the guts into a
make_status_one().
source/names.c:
fix an error introduced in recreate_modes().
20030313
Thu Mar 13 21:52:42 EST 2003
source/ircaux.c:
don't strcpy the empty_string; just assign a nul.
source/alias.c, source/dcc.c, source/edit.c, source/help.c,
source/ignore.c, source/names, source/notify.c, source/numbers.c,
source/server.c, source/whois.c:
avoid potential buffer overflows by using the
nul-terminating my_strm*() routines.
source/names.c:
rewrite recreate_mode() to be more friendly.
source/ctcp.c:
source/status.c:
avoid buffer overflows in ctcp and status buffers.
noted by Timo Sirainen <tss@iki.fi> in PR#617.
Thu Mar 06 13:49:30 EST 2003 - matthew green <mrg@eterna.com.au>
source/alias.c:
next_unit(): '|' should use C '|' not '||'. from ?.
source/edit.c:
use \ as a quote character to /msg, so that one can
/msg \/oink and avoid the /oink alias.
Sun Feb 16 13:13:20 EST 2003 - matthew green <mrg@eterna.com.au>
help/@:
add missing help file. PR#605
source/server.c:
don't remove fake entries, it causes trouble!
20030106
Tue Jan 7 04:39:05 EST 2003 - matthew green <mrg@eterna.com.au>
source/reg.c:
just call it "my_tolower" and be done with it.
source/exec.c:
for EXEC -OUT, make sure that public messages are treated
like public (not private) messages. fixes exec -out on ICB.
20021226
Thu Dec 26 20:06:59 EST 2002 - matthew green <mrg@eterna.com.au>
source/keys.c:
don't bind char 231 to EMACS_FORWARD_CHAR but to
SELF_INSERT, noted by moof.
source/edit.c:
don't look for comma's in ICB group or usernames as they
are legal. PR#602. don't reset the command to "NOTICE"
before ICB may want to check it for being "PRIVMSG".
source/edit.c, help/msg:
if we are doing a /msg, don't check if the channel name is
the same as the target, but instead send a message, as they
have separate name spaces.
Sun Dec 8 13:57:31 EST 2002 - matthew green <mrg@eterna.com.au>
contrib/japanese_support, contrib/README:
the japanese (iso2022) support has been integrated,
so remove the patch.
Sat Dec 7 22:08:17 EST 2002 - matthew green <mrg@eterna.com.au>
source/server.c:
fix a bug in /on raw_send, from bisqwit.
source/numbers.c:
reset_nickname() doens't need a ArgList argument.
PargsArgs() for 432, 433 and 437 numbers.
20021207
Sat Dec 7 02:08:54 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c:
make timers run in level crap by default
source/parse.c:
make the final /notify output level crap by default,
this and the above are part of PR#563.
Sat Dec 7 01:26:42 EST 2002 - matthew green <mrg@eterna.com.au>
source/window.c:
use the server.h API for get_server_nickname().
source/numbers.c:
remove nickname_in_use(). move the broken functionality
to reset_nickname() and fix it. should fix PR#588.
source/notice.c:
reset attempting_to_connect to 0, don't decrememnt it.
source/server.c:
add new reconnect_to_server(server, prev_server) function
and use it. in connect_to_server(), don't overwrite the
server_index value with the return value from
connect_to_server_{direct,process}(). avoids a potential
data segment smashing bug.
Fri Dec 6 19:32:30 EST 2002 - matthew green <mrg@eterna.com.au>
source/dcc.c:
dcc_raw_connect(): ipv4 sockaddr is 'struct sockaddr_in',
not 'struct in_addr'. initialise "res". both from bisqwit.
Sun Nov 17 22:46:43 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
also look for tgetent() in -lncurses.
20021117
Sun Nov 17 18:30:30 EST 2002 - matthew green <mrg@eterna.com.au>
source/dcc.c, include/dcc.h:
re-sync the dcc_types[] array and the DCC_TYPES defines,
fixing PR#597.
Sun Nov 17 13:20:24 EST 2002 - matthew green <mrg@eterna.com.au>
source/ircaux.c:
fix -h. don't listen() always! PR#598 & PR#600.
20021103
Sun Nov 3 01:01:15 EST 2002 - matthew green <mrg@eterna.com.au>
source/mail.c:
back out removal of message_from(.., LOG_CURRENT). mail
stuff should probably go there anyway.
20021101
Thu Oct 31 23:05:10 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c:
disable KICK, KILL, LEAVE, LINKS, PART, SERVLIST, SQUERY,
STATS, SUMMON, TIME, TRACE and USERS for ICB.
Thu Oct 31 15:00:55 EST 2002 - matthew green <mrg@eterna.com.au>
source/icb.c:
notice the new style icb group name change message. PR#596.
20021031
Thu Oct 31 01:21:46 EST 2002 - matthew green <mrg@eterna.com.au>
help/on/icb_who, help/on/icb_motd:
new help pages
source/hook.c, source/icb.c:
rework /on icb_who so that it actually works and is useful.
Makefile:
actually build sl.c
Thu Oct 31 00:55:20 EST 2002 - matthew green <mrg@eterna.com.au>
help/on/icb_error, help/on/icb_status:
these document the right hook, not /help on notice.
include/hook.h, include/hook.h.proto, source/hook.c, source/icb.c:
implement /on icb_who and /on /icb_motd.
20021012
Sat Oct 12 22:09:05 EST 2002 - matthew green <mrg@eterna.com.au>
source/screen.c, source/status.c, source/term.c:
filter a few more chars that affect terminal output. PR#593.
Fri Oct 4 15:30:36 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c:
reset & check meta[5678]_hit if we use them, just like
everything else except meta4_hit.
Fri Oct 4 14:46:35 EST 2002 - matthew green <mrg@eterna.com.au>
source/sl.c, include/sl.h:
stringlist handling functions, from netbsd-current.
source/help.c:
replace help_paused_lines with a stringlist. this not only
stops core dumps for non-standard terminal sizes (as reported
in debian PR#66446), but also reduces memory usage.
20020912
Fri Sep 13 05:22:38 EST 2002 - matthew green <mrg@eterna.com.au>
source/cast.c, source/screen.c:
fix a couple more portability bogons.
Thu Sep 12 16:23:02 EST 2002 - matthew green <mrg@eterna.com.au>
include/cast_sbox.h:
make this build with K&R C again.
source/exec.c:
don't redefine killpg().
source/getaddrinfo.c:
remove ANSI-only C code.
source/getnameinfo.c:
fix an error in the function header.
source/window.c:
avoid redefining MAXINT.
Tue Sep 10 21:49:57 EST 2002 - matthew green <mrg@eterna.com.au>
include/irc_std.h:
protect prototypes on new functions.
include/cast_sbox.h:
force all the constants to unsigned.
source/irc.c, source/getaddrinfo.c, source/getnameinfo.c,
source/inet_pton.c, source/inet_ntop.c, include/irc_std.h,
source/hook.c, source/screen.c, source/icb.c:
convert ANSI-only C to portable code.
Tue Sep 10 20:32:07 EST 2002 - matthew green <mrg@eterna.com.au>
Makefile.in:
fix a few spurious issues picked up by IRIX make.
20020908
Sun Sep 8 22:38:47 EST 2002 - matthew green <mrg@eterna.com.au>
source/dcc.c:
remove one use of getnameinfo(). just convert the 32 bit
value into a "a.b.c.d" IP address and let getaddrinfo()
deal with it later.. dcc works again now.
Sun Sep 8 22:09:29 EST 2002 - matthew green <mrg@eterna.com.au>
source/dcc.c:
fix a 64-bit problem with dcc.
Sun Sep 8 16:03:37 EST 2002 - matthew green <mrg@eterna.com.au>
script/icb, source/edit.c, source/icb.c:
support IBC /join -invite and /join -force.
Sun Sep 8 15:08:27 EST 2002 - matthew green <mrg@eterna.com.au>
configure, configure.in:
fix an informative message that was listed as an error.
source/icb.c, source/edit.c, include/edit.h:
make do_channel() public, not static. in icb_put_group(),
call do_channel() before randomly sending a join to the
server. should check for -force.
source/dcc.c:
more type clean up in register_dcc_offer().
20020907
Sat Sep 7 17:16:11 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c, source/mail.c, source/numbers.c, source/window.c:
remove message_from(..., LOG_CURRENT) in a few places. remove
some comments that say to remove a couple of other instances
of these as well. inspired by PR#563 (not fixed.)
Sat Sep 7 16:59:55 EST 2002 - matthew green <mrg@eterna.com.au>
source/screen.c:
don't be smart when parsing screen bold, underline, inverse
or "off" markers - it doesn't work. fixes PR#519.
Sat Sep 7 09:26:25 EST 2002 - matthew green <mrg@eterna.com.au>
source/dcc.c:
clean up register_dcc_offer() some. properly set
Client->remname so that dcc works properly.
20020906
Sat Sep 7 01:44:49 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
accept --with-non-blocking=none.
include/irc.h, include/irc_std.h:
move the RFC2553 / addrinfo / etc code to irc_std.h. add new
source_host and dcc_source_host extern u_char *'s. define a
SOCKADDR_STORAGE and SS_FAMILY define, based on INET6.
include/server.h:
remove local_addr from Server struct. add a SOCKADDR_STORAGE
and int length. change get_server_localaddr() to return this,
and add a get_server_localaddrlen().
include/struct.h:
remove struct in_addr remote and replace it with a u_char
*remname that we lookup when necessary.
include/vars.h.proto, include/vars.h, source/vars.c, source/irc.c,
help/set/dcchost:
add /set dcchost. changes what "irc -H" set.
source/dcc.c, source/irc.c, source/ircaux.c, source/server.c:
remove MyHostName, MyHostAddr, forced_ip_addr and
forced_ip_addr_storage. add dcc_source_host. remove
process_hostname(). defer "irc -H" lookup until later.
cleanup lots of INET6. store the full sockaddr in the
server_list[] rather than just the IP address. remove any
DCC means IPv4 code. simplify connect_by_number() and
bind_local_addr() now that they don't do DCC listens.
source/dcc.c:
add a new dcc_sockname() to dcc.c and use it to print the IP &
port for a given connection. add new listen_dcc() to handle
dcc send/chat initiation. change dcc_open() drastically to
suite. handle a failure to accept() in process_incoming_chat().
lots of little cleanup. we can now support IPv6 DCC.
Thu Sep 5 14:09:35 EST 2002 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in, include/irc.h:
always provide a socklen_t.
Thu Sep 5 13:16:21 EST 2002 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
source/inet_pton.c, source/inet_ntop.c:
always provide inet_pton(3) and inet_ntop(3).
source/ircaux.c:
fix struct sockaddr_storage vs. INET6 build problem.
Thu Sep 5 12:12:03 EST 2002 - matthew green <mrg@eterna.com.au>
Makefile.in:
let ircio get at getaddrinfo.o.
acconfig.h, configure.in, configure, incldue/defs.h.in:
don't bother looking for gethostbyname() in -lresolv anymore.
look for gethostbyname2() for our getaddrinfo().
source/getaddrinfo.c, source/getnameinfo.c:
define our own "myoffsetof" macro.
source/ircaux.c:
only set sockaddr.sa_len if it exsists...
20020904
Thu Sep 5 02:35:28 EST 2002 - matthew green <mrg@eterna.com.au>
Makefile.in:
regen depends.
acconfig.h, aclocal.m4, configure, configure.in, source/getaddrinfo.c,
source/getnameinfo.c, include/irc.h, include/defs.h.in, source/dcc.c:
restructure ipv6 & getaddrinfo() tests. always provide a
version of getaddrinfo() and getnameinfo(), and use these
everywhere. a lot of the configure work was taken from
lukemftp.
help/alias/functions, help/dcc/talk help/dcc/tmsg, include/dcc.h,
include/struct.h, include/talkd.h, script/tabkey, source/alias.c,
source/dcc.c, source/edit.c:
remove /dcc talk, /dcc tmsg and /dcc summon.
include/ircaux.h, source/ircaux.c, source/irc.c, source/server.c:
now we have getaddrinfo always, switch to a single
connect_by_number() implementation.
20020903
Tue Sep 3 11:44:58 EST 2002 - matthew green <mrg@eterna.com.au>
help/on/ctcp_reply, help/on/flood, help/on/notice, include/flood.h,
script/bigcheese, script/columns, script/default, script/mudlike,
script/oldping, script/service, script/traces, source/ctcp.c,
source/flood.c, source/icb.c, source/notice.c, source/parse.c,
source/whois.c:
change /on flood, /on ctcp_reply, /on notice and /on
encrypted_notice to all show the "target" as $1. this is
a backwards incompatible change but sripts can use
"if (V > 20020902)" to check for the changed interface.
update all scripts to cope. fixes PR#587.
20020902
Mon Sep 2 12:20:30 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c
reset new my_echo_set_who_level hack variable at the end
of my_echo().
configure.in, configure:
don't look for -lresolv on *bsd. fix --with-non-blocking.
20020830
Fri Aug 30 15:44:13 EST 2002 - matthew green <mrg@eterna.com.au>
source/window.c:
reset who_level to LOG_CRAP not 0.
source/screen.c, source/edit.c, include/edit.h:
GC some unused code. in add_to_screen(), if who_level was set by
my_echo(), use it in preference to who_from, so that xecho -level
works for channel data as well. fixes PR#575.
source/parse.c:
call message_from() with the right log level, not LOG_MSG always.
Fri Aug 30 14:21:02 EST 2002 - matthew green <mrg@eterna.com.au>
source/term.c:
only decrement screen->co for the main screen; the value given
to us by wserv for non-main screen's is already adjusted and
was being decreased once per refresh_screen() call.
Fri Aug 30 12:50:40 EST 2002 - matthew green <mrg@eterna.com.au>
acconfig.h, include/defs.h.in:
add #undef WITH_EMACS_META_KEYS
configure.in, configure:
add a --with-emacs-meta-keys switch to enable meta key support
source/keys.c:
support --with-emacs-meta-keys.
Fri Aug 30 11:21:33 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
add an "int" return type to a main() test program. warn about
non blocking in one missing case.
include/ircaux.h:
add connect_by_number2() in INET6 case. move SA_LEN compat here.
include/server.h:
add "struct addrinfo *res, *res0" elements in INET6 case.
source/irc.c:
cleanup INET6 code.
source/ircaux.c:
restructure INET6 version connect_by_number() into
connect_by_number2(), and make the former call the new function.
the new function takes pointers to struct addrinfo pointers for
the res0 and current res0. this allows non blocking connects to
work with multi-homed servers that do not listen on all interfaces
or network protocols (IPv4/IPv6). fixes PR#533.
source/server.c:
pass a server_index to connect_to_server_{process,direct}() and
use this to determine if we already have a res/res0 for this
server, and pass these to connect_by_number2() appropriately.
in do_server(), fix a INET6 getpeername() issue. also, if we
lose connection to a server we haven't logged into, and we have
res/res0, call connect_to_server() again directly. initialise/clean
up the res0 in add_to_server_list(), remove_from_server_list()
and in new login_to_server_nonnblocking(). INET6/nonblocking
code clean up.
Thu Aug 29 21:31:55 EST 2002 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in, source/edit.c:
look for setenv(3) and unsetenv(3) and add ircii commands
/setenv and /unsetenv if they exist.
source/alias.c, include/status.h, source/status.c:
add a new format_clock() that contains part of the guts of
update_clock(), which now uses format_clock(). call format_clock()
instead of update_clock() in alias_date() ($Z).
20020829
Thu Aug 29 19:49:28 EST 2002 - matthew green <mrg@eterna.com.au>
source/ircaux.c:
split connect_by_number() into new/old socket API versions
(#ifdef INET6), and remove the ESIX crap from the new one.
fix a bug in the multiple-host records case where we would
not notice a connection had succeeded but try everything
and report success or failure for the last.
include/log.h, source/log.c, source/window.c:
change the signature on do_log() so that the passed in FILE *
becomes a FILE ** we can modify, rather than return. fixes
core dumps when using /log. from flier <flier@scrollz.com>.
source/server.c:
avoid from_server overflows (Matt Dunford <zoot@zotikos.com>)
help/on/ctcp, help/on/dcc_raw, help/on/exec, help/on/exec_errors,
help/on/exec_exit, help/on/exec_prompt, help/on/flood, help/on/hook,
help/on/notify_signoff, help/on/notify_signon:
fixes from Matt Dunford <zoot@zotikos.com>, with a couple of
minor touchups by myself.
Tue Aug 27 20:46:14 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
detect linux /usr/include/ncurses earlier so that
we actually find <termcap.h>.
Tue Aug 27 00:06:01 EST 2002 - matthew green <mrg@eterna.com.au>
help/basics, help/cat, help/commands, help/connect:
minor fixes from Matt Dunford <zoot@zotikos.com>.
20020822
Thu Aug 22 23:12:10 EST 2002 - matthew green <mrg@eterna.com.au>
source/names.c:
fix !channel handling. fixes PR#571.
Thu Aug 22 16:59:10 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
don't check for v?snprintf twice.
Makefile.in:
don't build rijndael library (yet).
source/server.c:
fix some pedantic C issues picked up by the HPUX C compiler.
script/fkeys:
new script to make function keys work. it's gross but it
works. from Stefan `Sec` Zehl <sec@42.org> in PR#574.
script/2.8script, script/default, script/newaway
unify & backwards compat-ify alias "n.o". from "Mario
'BitKoenig' Holbe" <Mario.Holbe@RZ.TU-Ilmenau.DE> in PR#580.
source/irc.c:
avoid core dumps with "irc --- nick". from Oleg Drokin
<green@linuxhacker.ru> in PR#576.
Thu Aug 22 04:04:38 EST 2002 - matthew green <mrg@eterna.com.au>
source/icb.c:
split up the message properly; we were not including the
length of our nickname.
Fri Jun 21 11:40:10 EST 2002 - matthew green <mrg@eterna.com.au>
source/irc.c, doc/ircII.1:
irc -t is now the default. use -T to get ti/te sequences.
20020403
Wed Apr 3 16:37:16 EST 2002 - matthew green <mrg@eterna.com.au>
help/cat:
change literal ^_ and ^B into control chars. from William
Katz <druid@dorsai.org>.
20020402
Tue Apr 2 19:10:57 EST 2002 - matthew green <mrg@eterna.com.au>
source/dcc.c:
use the size of the buffer, not sizeof (char *). fixes PR#569.
Tue Apr 2 17:42:06 EST 2002 - matthew green <mrg@eterna.com.au>
include/status.h, source/alias.c, source/irc.c, source/status.c:
back out most of the previous; redo it via adding a new
UPDATE_TIME flag for update_clock(); only when this is
passed do we update the local min/hour and check for timers
going off, etc.
include/hook.h.proto, include/hook.h, source/dcc.c, help/on/dcc_list:
add new /on dcc_list, ala window_list.
Thu Mar 28 23:52:17 EST 2002 - matthew green <mrg@eterna.com.au>
source/window.c:
don't call add_channel() with a key of "".
source/names.c:
don't create a mode if we just have an empty key.
source/server.c:
fix a warning from no nonblocking connects.
20020328
Thu Mar 28 01:59:34 EST 2002 - matthew green <mrg@eterna.com.au>
include/status.h, source/alias.c, source/irc.c, source/status.c:
move the static int hour/min from update_clock() to irc_io(),
and add a pair of int * arguments to update_clock() to pass
them in. use these only if provided. update all callers.
i believe this fixes the status-clock-does-not-update bug.
Thu Mar 28 01:06:55 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
add a --enable-non-blocking=[no|posix|bsd|sysv] to force the
type of non blocking connects used, or to disable it entirely.
Thu Mar 28 00:15:39 EST 2002 - matthew green <mrg@eterna.com.au>
script/autoquery, help/load/autoquery:
new script from Friedrich Delgado Friedrichs
<friedel@nomaden.org> that causes ircII to create
new /query windows for each nick involved in /msg.
include/strsep.h, source/strsep.c, Makefile.in, source/edit.c,
source/irc.c, source/numbers.c, source/screen.c, source/window.c:
copy netbsd libc/strsep.c and borg it into my_strsep().
use this to replace using strtok() everywhere, except for
a few places next_arg() fit instead.
source/ircaux.c:
look for EAI_FAMILY if EAI_ADDRFAMILY is missing. BSD/OS,
from PR#566.
include/names.h, source/names.c, source/window.c, source/edit.c,
source/icb.c, source/irc.c, source/parse.c, source/window.c:
add a u_char *key argument to add_channel() and use it in
/window channel.
source/window.c:
fix /set xterm_options/screen_options.
Tue Mar 26 04:44:56 EST 2002 - matthew green <mrg@eterna.com.au>
source/icb.c:
call message_from() for the icb group, in the default case
of an info message, so that they go to the group.
Mon Mar 25 15:47:26 EST 2002 - matthew green <mrg@eterna.com.au>
source/window.c:
set default nick and port in window_get_connected() before
we call add_to_server_list(). fixes core dump in /window
server new.server.
20020325
Mon Mar 25 01:47:38 EST 2002 - matthew green <mrg@eterna.com.au>
include/server.h, source/server.c, source/window.c:
add a new "fake server" concept that new servers are
added as, until connect_to_server_*() returns some sort
of success and enters the server. after these return,
we garbage collect all fake server entries. this keeps
the server list as clean as before.
Mon Mar 25 00:57:07 EST 2002 - matthew green <mrg@eterna.com.au>
include/alias.h, include/dcc.h, include/hook.h.proto,
include/hook.h, include/input.h, include/whois.c:
remove unused extern globals. XXX mark some others.
source/edit.c:
fix /whois for ICB.
source/server.c:
fix "irc -icb nick icb.server.com" again.
Mon Mar 25 00:13:12 EST 2002 - matthew green <mrg@eterna.com.au>
include/server.h, include/window.h, source/edit.c, source/notice.c,
source/numbers.c, source/server.c, source/window.c:
move `int attempting_to_connect;' inside the server_list[]
and maintain it on a per-server basis. remove the
connect_next_nick, connect_next_password,
connect_next_icbgroup, connect_next_icbmode,
connect_next_server_group, connect_next_as_icb and
connect_next_as_irc globals. to keep the functionality always
add /server entries to the server list when processing them so
we can store this information there from the start. modify
CHOOSE_PORT to take a server argument as a version. make
/window server pay attention to multiple -flags.
Sun Mar 24 21:26:42 EST 2002 - matthew green <mrg@eterna.com.au>
help/window/where:
very old missing help file.
Sat Mar 23 16:25:34 EST 2002 - matthew green <mrg@eterna.com.au>
include/window.h, source/server.c, source/window.c:
add a new window_set_prev_server(int server) function, that
sets the prev_server for every window whose server is the
same as "server". call this from login_to_server().
Sat Mar 23 15:24:33 EST 2002 - glen mccready <gkm@pobox.com>
include/server.h, source/server.c, source/window.c:
unstatic add_server_to_server_group(). implement
`/window server .'. still doesn't quite work as the
prev_server isn't set properly yet.
20020322
Fri Mar 22 02:48:54 EST 2002 - matthew green <mrg@eterna.com.au>
source/alias.c:
revert change from Tue Mar 19 00:28:36 EST 2002 to:
alias_server_version(), function_querynick(),
function_winserver(), function_winservergroup(),
function_winvisible(), function_winnum(), function_winnam(),
function_winrows(), function_wincols() and function_channels().
20020321
Thu Mar 21 14:16:01 EST 2002 - matthew green <mrg@eterna.com.au>
doc/ircII.1:
document server server groups, and expand the examples.
Thu Mar 21 14:03:10 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c:
ensure that "/save -all" works. PR#559.
Thu Mar 21 13:48:02 EST 2002 - matthew green <mrg@eterna.com.au>
source/alias.c, include/defs.h.in, configure, configure.in:
look for and include <crypt.h> for crypt(3) prototype.
include/window.h, include/server.h, source/window.c, source/server.c:
integrate server groups more tightly. allow one to express
them in the $IRCSERVER format as ``:group:'' before the
server name. eg, IRC/:group:server.name:port.
Thu Mar 21 03:58:58 EST 2002 - matthew green <mrg@eterna.com.au>
source/edit.c:
add a new NOICB command flag and reject any such commands
attempted on an ICB server. don't send an info command
to the ICB server, but do still allow it locally.
Thu Mar 21 02:36:54 EST 2002 - matthew green <mrg@eterna.com.au>
source/names.c:
in both lookup_channel() and has_voice(), verify that our
arguments are sane, and return failure if they aren't. PR#560.
Thu Mar 21 00:38:27 EST 2002 - matthew green <mrg@eterna.com.au>
help/server, source/server.c, include/server.h:
implement /server -group <group> <server>, which sets the
server group for the name <server> to <group>. <group> is
handled just as window server groups, and infact uses the
same data structures.
help/window/addgroup:
reference help/window/delgroup.
source/ircaux.c:
minor optimisations for malloc_str*().
source/ircflush.c, source/ircio.c, source/wserv.c:
add prototypes for main() so we get no warnings.
source/server.c, source/whois.c:
work around -Wuninitalised breakage.
Wed Mar 20 03:20:08 EST 2002 - matthew green <mrg@eterna.com.au>
script/tabkey:
fix $tk.followadd(). from Mario.Holbe@RZ.TU-Ilmenau.DE
in PR#565.
Tue Mar 19 00:28:36 EST 2002 - matthew green <mrg@eterna.com.au>
source/alias.c:
fix alias_chanop(), alias_modes() (from PR#562),
alias_server_version(), function_querynick(),
function_winserver(), function_winservergroup(),
function_winvisible(), function_winnum(), function_winnam(),
function_winrows(), function_wincols() and function_channels()
to use the correct server, not the current windows server.
include/ignore.h, source/ignore.c, help/alias/functions:
new ignore_list_string() function. rearrange ignore_list(),
add a new external ignore_list_string(), and update
ignore_list() callers. document.
Mon Mar 18 23:52:11 EST 2002 - matthew green <mrg@eterna.com.au>
source/ircaux.c, include/ircaux.c:
add malloc_strncpy() and malloc_strncat() functions that
have an "size_t extra" parameter, indicating how much
extra space to allocate for this string. useful for
replacing two calls to malloc_str*() with one and a
call to my_str*(), and avoiding the extra malloc.
Mon Mar 18 01:16:42 EST 2002 - matthew green <mrg@eterna.com.au>
help/set/tab, help/set/decrypt_program, help/set/show_stars,
help/set/iso2022_support:
add missing help docs. PR#558.
help/set/pause_after_motd help/set/status_dquery:
remove obsolete docs. PR#558.
incldue/alias.h:
remove unused alias_illegals extern.
Mon Mar 11 23:50:42 EST 2002 - matthew green <mrg@eterna.com.au>
help/on/window_list, include/hook.h, include/hook.h.proto,
source/hook.c, source/window.c:
add a new /on window_list that hooks into the output of
/window list. part of PR#551.
Mon Mar 11 20:25:46 EST 2002 - matthew green <mrg@eterna.com.au>
source/screen.c, source/window.c, include/window.h:
change create_additional_screen() to take an "int" arg of the
screen type (ST_xxx), and to use this when determining the
type of screen to create.. change /window create to look for
either a -xterm or -screen option to force one or the other.
add some more debug output. now one can open new xterm's from
a screen session.
Mon Mar 11 01:00:41 EST 2002 - matthew green <mrg@eterna.com.au>
help/expressions:
add a note warning about the dangers of ircII expression
evaluation, and to use ( and ) to properly force the correct
association.
source/icb.c:
add /on flood support to ICB. PR#524.
20020310
Sun Mar 10 20:10:51 EST 2002 - matthew green <mrg@eterna.com.au>
source/numbers.c:
password_sendline: server index is in data not line: PR#547.
source/server.c:
add_to_server_list: be careful not to clear valid passwords:
PR#547.
Sun Mar 10 19:14:11 EST 2002 - matthew green <mrg@eterna.com.au>
configure.in, configure:
if we don't find gethostbyname in -lresolv, try -lnsl. PR#537.
Sun Mar 10 18:16:23 EST 2002 - matthew green <mrg@eterna.com.au>
source/notice.c:
fix a bug from 8 years ago: don't send flooded notices as
public notices. fixes PR#549.
source/edit.c:
display sub-second timer information, from flier in PR#554.
source/numbers.c:
add a hack to fix PR#552: set the nick on numeric 001 if
it is wrong.
Sun Mar 10 01:55:57 EST 2002 - matthew green <mrg@eterna.com.au>
source/hook.c:
add fuzzy matching so that, eg, "/on send" will show all the
current hooks starting with "send". idea from poxaV.
20020309
Sat Mar 9 02:34:44 EST 2002 - matthew green <mrg@eterna.com.au>
source/ctcp.c, source/dcc.c:
add some beep support, if beep_on_level has CTCP or
DCC. from dive@endersgame.net.
Makefile.in:
regen depends.
Sat Mar 9 02:05:25 EST 2002 - matthew green <mrg@eterna.com.au>
source/irc.c, source/input.c, source/screen.c:
add some debug code. in input_update() don't overwrite
buffer_pos or str_start on resize. use set_current_screen(),
don't set current_screen manually. clean up
screen_wserv_message() some.
20020306
Wed Mar 6 21:18:30 EST 2002 - matthew green <mrg@eterna.com.au>
source/irc.c:
fix a Debug().
source/term.c:
restructure term_resize() slightly.
source/screen.c:
add some debugging to create_additional_screen(). clean up unix
sockets. default screen size from the master, not 80x24.
call recalculate_windows after getting a wserv message.
source/wserv.c:
remove ircIIpid and related code, obsolete. include some more
headers so we find TIOCGWINSZ where it can be. fix got_sigwinch()
bugs. fixed arg checking bugs. fixed control socket path bug.
don't perror with our tty. call got_sigwinch() at startup.
Tue Jan 22 20:24:56 EST 2002 - matthew green <mrg@eterna.com.au>
source/vars.c:
set the default IRCHOST variable. from flier.
Tue Jan 22 13:46:53 EST 2002 - matthew green <mrg@eterna.com.au>
script/autoop:
fix from Bernd Eckenfels <ecki@lina.inka.de> for nicks
ending in backslash.
help/alias/special:
fix an example. from David Murn <davey@doa.org> in
debian PR#113884.
Tue Jan 22 03:05:27 EST 2002 - matthew green <mrg@eterna.com.au>
source/irc.c:
only look at wservin for non-main screen's.
source/screen.c:
implement screen_wserv_message().
source/term.c:
modify term_resize() to cope with wserv messages.
Tue Jan 22 01:15:29 EST 2002 - matthew green <mrg@eterna.com.au>
Makefile.in:
link ircII.1 to irc.1, finally.
include/screen.h, include/struct.h, source/irc.c, source/wserv.c,
source/screen.c:
add a new control socket for WSERV sessions, for coping with
screen size changes.
include/config.h.dist, include/var.h, include/var.h.proto,
include/hook.h, include/hook.h.proto, include/keys.h,
include/keys.h.proto, source/crypto.c, source/vars.c:
add a new /set decrypt_program. from flier.
source/icb.c:
clear the ICB $userhost() when it isn't known.
Wed Jan 16 00:33:45 EST 2002 - matthew green <mrg@eterna.com.au>
source/crypt.c:
put a newline between crypto key & text for external programs.
noticed by flier <flier@scrollz.com>.
Wed Dec 19 00:54:04 EST 2001 - matthew green <mrg@eterna.com.au>
source/icb.c:
don't wipe out the current channel in icb_put_action().
source/server.c:
rework logic on what server to choose next to avoid skipping
one accidentally.
Wed Dec 19 00:11:03 EST 2001 - matthew green <mrg@eterna.com.au>
source/icb.c, source/edit.c, include/icb.h:
new icb_put_action() function. make icb_put_public()
obey window_display.
include/ircterm.h, include/struct.h, source/alias.c, source/funny.c,
source/help.c, source/input.c, source/menu.c, source/output.c,
source/screen.c, source/status.c, source/term.c, source/window.c:
move lower_mark, upper_mark, input_line, str_start, zone
and cursor from screen.c into the per-screen struct. also
move the static lines & columns variables from input.c and
term.c here as well. this handles the input prompt on other
screen's properly. move the CO and LI variables from term.c
into the per-screen struct as well. call new_window() at
the top of init_screen() to setup the master screen structure
earlier. TODO: have some way of wserv telling the master
ircii about screen changes. but at least for now the input
prompt should work much better.
Tue Dec 18 17:34:06 EST 2001 - matthew green <mrg@eterna.com.au>
include/irc_std.h:
add UPP and CPP macros for char ** conversions.
Mon Dec 17 22:17:22 EST 2001 - Joel Yliluoma <bisqwit@iki.fi>
source/edit.c, source/irc.c, include/edit.h:
Added support for microsecond resolution in /TIMER.
Todo: Add named timers some day.
source/dcc.c:
Fixed crashing when closing DCC RAW_LISTEN socket.
help/exec:
Updated the documentation (found a flaw).
Mon Dec 17 21:55:24 EST 2001 - matthew green <mrg@eterna.com.au>
source/alias.c, help/alias/functions:
new $filestat($file) that returns size, uid, gid, mode,
filename of passed in $file. inspired by a change in
the debian bug database.
20011210
Fri Nov 30 10:03:10 EST 2001 - matthew green <mrg@eterna.com.au>
script/times:
add a public_other /on as well
source/irc.c:
call check_wait_status until it returns < 0. from bisqwit.
Tue Sep 18 11:37:03 EST 2001 - matthew green <mrg@eterna.com.au>
source/alias.c:
fix $mid(0, ...). from tristan in private email.
Fri Sep 7 02:49:55 EST 2001 - Joel Yliluoma <bisqwit@iki.fi>
help/exec, source/alias.c, source/exec.c, include/exec.h,
include/alias.h:
Added -FILTER switch to /EXEC, and documented it,
Now external programs can be scripted to select
recipients on multiple servers.
Fri Sep 7 02:49:52 EST 2001 - Joel Yliluoma <bisqwit@iki.fi>
source/server.c, include/hook.h, include/hook.h.proto, source/hook.c,
help/on/raw_send:
RAW_SEND -list support had vanished from my last
update, added it back.
source/screen.c:
mIRC-colour codes work better now.
Rewritten the indent code, colour codes
now work in CONTINUED_LINE too.
help/on/msg:
Updated the documentation of /msg.
source/screen.c, source/edit.c, source/edit.h:
Allow multiple different target redirection.
20010807
Tue Aug 7 21:08:32 EST 2001 - matthew green <mrg@eterna.com.au>
source/window.c, source/screen.c:
set connect_next_as_irc/connect_next_as_icb before calling
connect_to_server() always.
source/alias.c, source/crypt.c, source/ctcp.c, source/dcc.c,
source/edit.c, source/exec.c, source/funny.c, source/help.c,
source/hook.c, source/icb.c, source/ignore.c, source/ircaux.c,
source/ircflush.c, source/ircio.c, source/mail.c, source/names.c,
source/numbers.c, source/parse.c, source/rijndael.c, source/screen.c,
source/server.c, source/stack.c, source/status.c, source/translat.c,
source/vars.c, source/whois.c, source/window.c:
convert sprintf() to snprintf() now that we have that always.
Tue Aug 7 15:42:19 EST 2001 - matthew green <mrg@eterna.com.au>
help/icb:
add a link to http://www.icb.net/
source/output.c:
avoid core dumps on empty MOTD lines. from Bernd Eckenfels
<ecki@lina.inka.de>.
include/buffer.h, source/output.c, source/hook.c:
move PUTBUF macros into new buffer.h, and use them in do_hook.
configure.in, configure:
look for sendmail in /usr/sbin first.
source/output.c:
use snprintf() everywhere here.
Fri Jul 27 01:19:04 EST 2001 - matthew green <mrg@eterna.com.au>
source/input.c:
in update_input(), add some sanity checking on lower_mark,
upper_mark & str_start.
source/alias.c:
fix an underrun in $mid(). pointed out by jnelson@epicsol.org
in PR#536.
20010720
Fri Jul 20 10:49:26 EST 2001 - matthew green <mrg@eterna.com.au>
source/screen.c:
in output_line(), don't fwrite() in the CHARSET & COLOUR tag
cases, unless we have a greater than zero length.
Fri Jul 20 06:57:28 EST 2001 - matthew green <mrg@eterna.com.au>
source/screen.c:
in output_line(), don't blindly step through the string to
decode the colour or charset tags, make sure we don't step
past the nul.
source/lastlog.c:
in bits_to_lastlog_level(), the max length of the levels is
closer to 120 than 80.. adjust a buffer size.
20010612
Tue Jun 12 23:12:34 EST 2001 - matthew green <mrg@eterna.com.au>
source/irc.c, source/window.c, source/server.c:
provide no default quit message anywere.
source/parse.c:
fix is_channel() for ICB.
Sun May 20 06:48:11 EST 2001 - Joel Yliluoma <bisqwit@iki.fi>
include/vars.h.proto, include/vars.h, include/irc.h,
include/config.h.dist, source/screen.c, source/vars.c:
applied the japanese patch (from galibert@mines.u-nancy.fr),
which also fixes the ^V/^B/^_/color handling over broken lines.
source/dcc.c, source/irc.c:
dcc working with masquerades (new -H switch; IPv4 only)
source/notice.c, source/server.c:
fixed -q again (prevent also .ircquick)
source/alias.c, help/alias/functions:
added new functions: SHELLFIX, URLENCODE functions.
Makefile.in:
remove rijndael-alg-ref.c, rijndael-api-ref.c and config.h on
make distclean.
Mon Feb 12 23:53:22 EST 2001 - matthew green <mrg@eterna.com.au>
include/server.h, source/funny.c, source/status.c:
add usermode `z' support.
doc/ircII.1: document the ircII.servers & ircII.motd files.
Mon Feb 12 23:42:30 EST 2001 - matthew green <mrg@eterna.com.au>
source/snprintf.c, Makefile.in, acconfig.h, configure, configure.in:
look for snprintf() and vsnprintf() and provide replacements if
they do not exist. nothing uses this (yet).
Tue Jan 2 22:26:14 EST 2001 - matthew green <mrg@eterna.com.au>
source/server.c:
don't call get_connected() but just call window_set_server() for
the relevant windows, if we fail to connect. fixes PR#227.
Tue Jan 2 17:09:21 EST 2001 - matthew green <mrg@eterna.com.au>
help/alias/functions, include/ignore.h, include/notify.h,
source/alias.c, source/ignore.c, source/notify.c:
4 new functions, inspired by PR#66:
IGNORED(NICK TYPE) Returns "ignored", "highlighted", "dont"
or "0", depending on what ignore action
will be applied to this NICK and TYPE of
ignorance. TYPE must be one of MSGS,
PUBLIC, WALLS, WALLOPS, INVITES,
NOTICES, NOTES, CTCP or CRAP.
NOTIFY(TYPE) Returns either the TYPE "here", "gone"
or "all" lists, default being "here".
SCREENS() Returns a list of the current screen.
WINDOWS() Returns a list of the current windows.
inspired by PR#66.
include/vars.h.proto, include/vars.h, include/config.h.dist,
source/output.c, source/vars.c, help/set/star_prefix:
new /set star_prefix variable that replaces the hard coded
"*** " prefix from many messages, and replaces it with the
expanded value of this variable, so that /set star_prefix $Z
works. inspired by PR#48.
source/numbers.c:
be saner in reset_nickname(). deal with various bugs here.
inspired by PR#287.
Tue Jan 2 11:50:23 EST 2001 - matthew green <mrg@eterna.com.au>
include/vars.h.proto, include/vars.h, include/config.h.dist,
include/names.h, source/alias.c, source/names.c, source/status.c,
source/vars.c, help/set/status_voice:
add new /set status_voice and %v status_format modifier,
part of PR#11.
20010101
Mon Jan 1 22:07:31 EST 2001 - matthew green <mrg@eterna.com.au>
source/notice.c, irc.c:
load "global" before .ircrc, when using -b. fixes PR#498.
source/window.c:
avoid a core dump when re-binding a channel. fixes PR#497.
script/listidle, help/load/listidle:
new listidle script from tristan in PR#466.
source/numbers.c:
re-do numeric 437 processing. fixes PR#500.
source/edit.c:
handle /me for ICB. fixes PR#492.
source/whois.c:
kill some debug messages.
source/term.c:
kill some "#ifdef mips" lossage.
Mon Jan 1 12:34:26 EST 2001 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
include/ircterm.h, source/term.c:
check for fwrite/fputc and only redefine them if they are
not already present (and if "mips", like it was). make the
fake macros more robust and correct.
20001231
Tue Dec 19 16:25:55 EST 2000 - matthew green <mrg@eterna.com.au>
source/menu.c:
fix a core dump, noted by "David O'Shea"
<s341595@student.uq.edu.au> in PR#503.
source/term.c:
give cygwin a 2K buffer.
Mon Dec 4 21:34:19 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c:
apply patch from <jnelson@acronet.net> to avoid sending
"NAMES " to the server in cases it was not meant. PR#501.
20001120
Mon Nov 20 00:07:40 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c:
in send_text(), don't do dcc chat/talk or command expansion
if the target is actually the current channel. stops things
like groups named `/quit' from being obnoxious.
Mon Nov 6 02:00:46 EST 2000 - matthew green <mrg@eterna.com.au>
configure, configure.in:
add a `--with-efence' option to include the Electric Fence
malloc debugging library.
include/ircterm.h:
support ncurses tputs(3) variant.
Wed Oct 25 08:35:55 EST 2000 - matthew green <mrg@eterna.com.au>
source/output.c:
s/buf/putbuf/ in !stdarh.h code. PR#496 from Andreas Ley
<andy@rz.uni-karlsruhe.de>.
20001024
Tue Oct 24 12:52:46 EST 2000 - matthew green <mrg@eterna.com.au>
source/names.c:
in mark_not_connected(), clear the channel status. fixes
PR#495.
Fri Oct 13 22:18:52 EST 2000 - matthew green <mrg@eterna.com.au>
include/crypt.h, source/cast.c, source/crypt.c, source/rijndael.c,
source/sed.c:
toss the generic CBC code for now. make cast.c like it was,
and use the built-in rijndael CBC code. generate a 32-byte
IV for the start of the connection. disable the rijndael
code while it doesn't work.
source/irc.c:
call srandom() when we start.
20001009
Mon Oct 9 02:13:16 EST 2000 - matthew green <mrg@eterna.com.au>
Makefile.in:
regenerate dependancies
Mon Oct 9 02:04:32 EST 2000 - matthew green <mrg@eterna.com.au>
source/rijndael.c, source/cast.c, source/crypt.c, source/sed.c,
include/crypt.h:
further crypto handling simplification. complete the rijndael
cipher (using the new generic CBC-mode handling code).
Sun Oct 8 08:47:31 EST 2000 - matthew green <mrg@eterna.com.au>
source/rijndael/:
add Rijndael reference source 2.1.
Makefile.in:
update for Rijndael support. clean up some things.
configure.in, configure:
remove --with-cast. crypto is always there now.
include/crypt.h, source/ctcp.c:
simplify ctcp crypto handling.
20001007
Sat Oct 7 21:58:27 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c, source/alias.c, source/irc.c, include/irc.h:
remove internal_version, and make irc_version be this YYYYMMDD
string instead.
Sat Oct 7 16:36:19 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c, source/alias.c:
PR#482 & #483 from maximum entropy <entropy@zippy.bernstein.com>
fix off-by-one error calling getcwd.
source/irc.c:
fix some typos
source/screen.c:
more robust mIRC code from PR#480 from
<wiz@danbala.tuwien.ac.at>.
source/ircaux.c:
pr#488 from ecki@lina.inka.de: fix off-by-one overflow in
strmcpy().
configure.in, configure:
Reimplemented gethostbyname() check from Arkadiusz Miskiewicz
<misiek@pld.org.pl> in PR#486.
Tue Sep 19 02:45:35 EST 2000 - matthew green <mrg@eterna.com.au>
doc/ircII.1, include/irc.h, source/irc.c, source/term.c:
add new -t command line argument to make ircII not use the
termcap "ti" and "te" sequences. fixes PR#484. add -T to
turn them on (if present) for completeness.
4.4Z
Thu Aug 31 22:19:55 EST 2000 - matthew green <mrg@eterna.com.au>
source/window.c:
fix "/window new move -3". patch from
<jnelson@epicsol.org> in PR#477.
source/flood.c:
apply forcer's hack-patch to work around the problem
described in PR#471.
source/names.c:
avoid using CHAN_LIMBO as a bit flag, cuz it isn't. part
of PR#472.
Thu Aug 10 10:50:23 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c:
allocate enough space in the ICB /whois for the string to
be written. found by moof/libefence.
4.4Y
Sat Aug 5 22:19:20 EST 2000 - matthew green <mrg@eterna.com.au>
source/window.c, source/server.c, include/window.h:
in window_get_connected(), don't kill the current window's
version of current_channel. if that is going to happen,
window_set_server() will do it. fixes my PR#442.
Sat Aug 5 15:12:39 EST 2000 - matthew green <mrg@eterna.com.au>
source/window.c, help/window/nostatus:
implement /window nostatus to entirely disable the
status line. can be confusing with mulitle visible windows
with nostatus! inspired by PR#455.
Sat Aug 5 14:36:58 EST 2000 - matthew green <mrg@eterna.com.au>
source/ircaux.c:
set "err" in all cases, so we know when we have actually
succeeded. fixes connections to the local machine.
Fri Aug 4 17:42:13 EST 2000 - matthew green <mrg@eterna.com.au>
include/config.h.dist, include/vars.h, include/vars.h.proto,
source/names.c, source/vars.c:
add /set hide_channel_keys {on|off}, inspired by PR#467
(whose patch was based on over 5 year old code).
4.4X
Fri Aug 4 12:18:10 EST 2000 - matthew green <mrg@eterna.com.au>
source/irc.c:
use a local static "buffer", fixes lossage.
4.4V
Wed Aug 2 18:41:22 EST 2000 - matthew green <mrg@eterna.com.au>
source/icb.c:
don't ignore empty fields, fill them in as normal.
Wed Jul 19 03:12:37 EST 2000 - matthew green <mrg@eterna.com.au>
include/irc.h, source/alias.c, source/ctcp.c, source/edit.c,
source/exec.c, source/help.c, source/history.c, source/ignore.c,
source/irc.c, source/lastlog.c, source/mail.c, source/menu.c,
source/names.c, source/notice.c, source/numbers.c, source/screen.c,
source/server.c, source/translat.c, source/window.c:
remove all uses of the global buffer, and delete it.
Sun Jul 16 14:23:48 EST 2000 - matthew green <mrg@eterna.com.au>
source/names.c:
don't use the global "buffer".
Thu Jul 13 13:15:08 EST 2000 - matthew green <mrg@eterna.com.au>
help/on/icb_status, help/on/icb_error:
document the recently added icb_status and icb_error hooks.
source/edit.c:
fix `/join -' dumping core, PR#458.
Sun Jun 11 17:39:05 EST 2000 - matthew green <mrg@eterna.com.au>
source/icb.c:
fix my PR#444: moderator sign off message wrongly parsed.
Sun Jun 11 17:17:21 EST 2000 - matthew green <mrg@eterna.com.au>
include/config.h.dist, include/vars.h, include/vars.h.prot,
source/irc.c, source/screen.c, source/vars.c
help/set/foreground_colour, help/set/background_colour:
add two new /set variables: foreground_colour and
background_colour, and use these. add new -r switch to
reverse the default values. from forcer@mindless.com,
and is the best fix for his PR#446.
help/set/colour:
document this recent variable.
Sun Jun 11 17:03:16 EST 2000 - matthew green <mrg@eterna.com.au>
source/term.c, include/ircterm.h:
use termcap 'ti' and 'te' sequences when starting and leaving
(or when suspending). should fix colour reset problems as
seen in PR#429.
include/config.h.lynx:
kill.
Mon May 29 00:35:44 EST 2000 - matthew green <mrg@eterna.com.au>
help/set/xterm_geomoptstr, help/set/xterm_options, help/set/xterm_path,
include/config.h.lynx, include/config.h.dist, include/vars.h.proto,
source/screen.c, source/vars.c, include/vars.h:
add new /set xterm_geomoptstr variable to change the "-geom"
option to the xterm program, necessary for, eg, rvxt. fixes
PR#449 from <jmf@digitalexp.com>.
include/struct.h, source/names.c:
remove the 'cached' mode string. it was getting wrong with
channel keys and it seems useless now anyway.
4.4U
Thu May 11 13:04:07 EST 2000 - matthew green <mrg@eterna.com.au>
source/server.c:
make /disconnect * work.
source/dcc.c, source/newio.c, source/server.c, source/screen.c,
source/window.c:
rename refresh and timeout functions/variables as these
are defined in most <curses.h> files.
source/translat.c:
fopen() likes "r" not "R".
source/notify.c:
in do_notify(), don't change from_server and leave it
changed if we have an ICB server for primary.
source/edit.c:
don't send IRC PRIVMSG to ICB servers.
help/disconnect:
document this command.
Sat Apr 15 04:57:21 PDT 2000 - matthew green <mrg@eterna.com.au>
help/lastlog:
document /lastlog <pattern> <count> <start> support.
source/edit.c:
fix ICB /topic. apply patch from Roman Gollent
<roman@babe.pobox.com> to make /topic * work.
Tue Apr 11 00:24:12 EST 2000 - matthew green <mrg@eterna.com.au>
source/names.c:
fix a problem found by forcer: in remove_channel(), if we can
work out the refnum of the window this channel is on, pass it
to is_current_channel(), rather than always passing -1.
source/output.c:
do not use a static buffer for vasprintf(). put_it() and
friends are sometimes re-entrant. picked up by forcer and
electric fence.
configure.in, configure:
explicitly test for struct sockaddr's "sa_len" member.
source/alias.c:
fix off-by-one malloc error.
4.4T
Mon Apr 3 17:43:02 EST 2000 - matthew green <mrg@eterna.com.au>
Makefile.in, source/irc.c, source/ircaux.c, source/ircio.c,
source/file.c:
remove dated, unused and definately insecure PRIV_PORT code.
include/irc_std.h:
introduce my_str{len,cpy,ncpy}() macros that (char *)ifiy
the correct arguments, to avoid warnings from u_char *'s.
source/alias.c:
use my_str{len,cpy,ncpy}().
include/config.h.dist, include/config.h.lynx:
enable EIGHT_BIT_CHARACTERS by default.
Sat Apr 1 18:10:33 EST 2000 - matthew green <mrg@eterna.com.au>
include/count.l, include/hook.h, include/hook.h.proto, include/keys.h,
include/keys.h.proto, include/vars.h, include/vars.h.proto:
make count preserve $Id strings that are in .proto files, and
add additional $Id strings for the generated .h files.
Sat Apr 1 17:31:35 EST 2000 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/alias.h, include/crypt.h,
include/ctcp.h, include/dcc.h, include/edit.h, include/exec.h,
include/flood.h, include/funny.h, include/help.h, include/history.h,
include/hold.h, include/hook.h, include/hook.h.proto, include/icb.h,
include/if.h, include/ignore.h, include/input.h, include/irc.h,
include/ircaux.h, include/ircterm.h, include/keys.h,
include/keys.h.proto, include/lastlog.h, include/list.h, include/mail.h,
include/menu.h, include/names.h, include/notify.h, include/numbers.h,
include/output.h, include/parse.h, include/queue.h, include/screen.h,
include/server.h, include/stack.h, include/status.h, include/struct.h,
include/translat.h, include/vars.h, include/vars.h.proto,
include/whois.h, include/window.h, source/alias.c, source/cast.c,
source/crypt.c, source/ctcp.c, source/dcc.c, source/edit.c,
source/empty_metakeys.inc, source/exec.c, source/flood.c,
source/funny.c, source/help.c, source/history.c, source/hold.c,
source/hook.c, source/icb.c, source/if.c, source/ignore.c,
source/input.c, source/irc.c, source/ircaux.c, source/keys.c,
source/lastlog.c, source/list.c, source/mail.c, source/menu.c,
source/names.c, source/notice.c, source/notify.c, source/numbers.c,
source/output.c, source/parse.c, source/queue.c, source/reg.c,
source/screen.c, source/sed.c, source/server.c, source/stack.c,
source/status.c, source/term.c, source/translat.c, source/vars.c,
source/whois.c, source/window.c:
convert from char to u_char for everything that can be.
Fri Mar 31 23:49:42 EST 2000 - matthew green <mrg@eterna.com.au>
Makefile.in:
remove $DESTDIR from exec_prefix; it is already in the prefix.
Tue Mar 28 10:31:13 EST 2000 - glen mccready <gkm@pobox.com>
source/server.c:
clean up server handling a bit. fix false "Connected" message.
should consider removing server_list[].connected in favor of a
flag and add more status tracking flags.
Sun Mar 26 02:37:03 EST 2000 - matthew green <mrg@eterna.com.au>
source/screen.c:
when scrolling backwards, check how many lines in the
lastlog we have and then make sure we don't scroll
beyond that. fixes PR#430. rewrite a recent fix to
part of the split_up_window() function.
source/server.c:
in /server -delete, call close_server().
Thu Mar 23 17:13:51 EST 2000 - matthew green <mrg@eterna.com.au>
help/exec, help/set/exec_protection:
add a reference to /set exec_protection in /help exec, noted
by matthewa@materna.nl in PR#431.
script/columns, script/times:
add an evil hack to let these two be loaded together. fixes
PR#425 from Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>.
Tue Mar 21 11:08:26 EST 2000 - matthew green <mrg@eterna.com.au>
configure.in, configure:
a fix IPv4-only nodes that have getaddrinfo(), from
Jun-ichiro itojun Hagino <itojun@iijlab.net>.
4.4S
Fri Mar 17 15:07:25 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c:
properly fix the terrible bug in send_text().
4.4R
Fri Mar 17 02:19:20 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c:
fix a terrible bug in send_text().
4.4Q
Thu Mar 16 23:58:40 EST 2000 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
avoid using %ld as an argument to send_ctcp_reply().
Thu Mar 16 22:55:12 EST 2000 - matthew green <mrg@eterna.com.au>
configure, configure.in, Makefile.in:
use a find & chmod chain to ensure the permissions
of the installed help files is correct.
Sun Mar 5 08:04:22 EET 2000 - Joel Yliluoma <bisqwit@iki.fi>
configure, configure.in, acconfig.h:
add $crypt() function.
source/screen.c:
fixed the mirc colour support again.
(something had broken it)
help/cat:
add help file for this.
Wed Feb 23 00:06:05 EET 2000 - Joel Yliluoma <bisqwit@iki.fi>
source/alias.c, help/alias/functions:
added crypt() support and help files.
Thu Mar 16 12:36:40 EST 2000 - matthew green <mrg@eterna.com.au>
source/edit.c:
deal with /join, /invite, /who, /nick and /topic again.
Wed Mar 15 14:18:30 EST 2000 - glen mccready <gkm@pobox.com>
include/ircterm.h, source/term.c, source/irc.c, source/screen.c:
streamline term.c fp handling. use term_flush()
where appropriate rather than calling fflush()
directly. there's a div by zero work around, too.
4.4P
Wed Mar 15 17:51:07 EST 2000 - matthew green <mrg@eterna.com.au>
source/screen.c, source/irc.c, include/irc.h:
in add_to_window(), don't add something to the end
of a string, but allocate our own buffer to do this,
and then add the ALL_OFF char. eliminte the char []
`global_all_off'. fixes off-by-one errors caused
by vasprintf() support for output.c.
source/irc.c:
fix PR#428: /set -irchost dumps core.
Sat Mar 11 17:31:43 EST 2000 - matthew green <mrg@eterna.com.au>
help/encrypt, source/crypt.c:
unless the new -showkeys option is specified to the
/encrypt command, do not show the keys for each user.
Sat Mar 11 15:33:06 EST 2000 - matthew green <mrg@eterna.com.au>
help/set/lastlog_level, include/lastlog.h, script/screen,
source/lastlog.c, source/output.c:
add lastlog level HELP, that is where all HELP
messages are sent to.
Fri Mar 3 20:38:59 EST 2000 - matthew green <mrg@eterna.com.au>
include/status.h source/alias.c source/irc.c source/status.c:
change update_clock() to take a buffer and a length to
write a string to, rather than using a static buffer.
source/screen.c:
in rite(), do not increase new_scrolled_lines if we
are redrawing.
source/screen.c:
in split_up_lines(), if we get a string that seems to
be empty, don't pass it to malloc_strcpy() because we
don't have a handle on the owner of the string. in
this case, we copy " " and then free it later.
Fri Mar 3 12:24:59 EST 2000 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/crypt.h, include/defs.h.in,
include/edit.h, include/irc.h, include/ircterm.h, source/alias.c,
source/cast.c, source/crypt.c, source/edit.c, source/icb.c,
source/irc.c, source/ircsig.c, source/log.c, source/notify.c,
source/parse.c, source/screen.c, source/sed.c, source/status.c:
remove solaris warnings. part of this changed meant going
to more unsigned char uses in alias.c. ideally, we should
use unsigned chars everywhere but calling stdlib functions
will cause warnings.
source/help.c:
manage the opening and closing of FILE *help_fp in a much
saner way to stop it ever being used in an unstable fashion.
Fri Mar 3 02:29:06 EST 2000 - matthew green <mrg@eterna.com.au>
help/bind/meta5_character, help/bind/meta6_character, help/bind/keys,
help/bind/meta7_character, help/bind/meta8_character, include/edit.h,
include/keys.h, include/keys.h.proto, include/struct.h, source/edit.c,
source/empty_metakeys.inc, source/keys.c, source/screen.c:
add meta[5678]_character /bindings. we split the
initialiser for meta[35678] out into empty_makekeys.inc
because we use it 5 times.
Fri Mar 3 00:59:01 EST 2000 - matthew green <mrg@eterna.com.au>
source/screen.c:
in redraw_window(), if we have scrolled lines, lets
redraw all of the displayed lines, rather than skipping
the last line. in scrollback_end(), reset
new_scrolled_lines to 0 as well. in scrollback_start(),
call a series of next_line_back() calls to find out how
many (output) lines there are in the last log (as opposed
to individual lastlog entries, which may span several
output lines), so that scrollback_start() can actually
work correctly now.
4.4O
Thu Mar 2 23:15:18 EST 2000 - matthew green <mrg@eterna.com.au>
source/debug.c:
fflush(stderr); at the end of debug() -- just to make
sure debug messages get written out in a timely fashion.
include/screen.h, source/screen.c:
make redraw_window() static to screen.c; it was the only
user anyway.
source/screen.c:
modify redraw_window() to take an additional "backscroll"
parameter and pass true in this parameter when calling the
function from back/forward scrolling functions, and false
elsewhere. remove the "int skip" parameter from the
next_line_back() function. it causes the function to skip
lines for what appears to be no good reason, and this is,
in addition to the above change to redraw_window() have
cause the majority of scroll bugs.
Thu Mar 2 00:17:18 EST 2000 - matthew green <mrg@eterna.com.au>
source/server.c:
add support for [server]:port addreses, including
[IP:v6] style ones, so that one can use IPv6 addresses
as well as ports, nicks, etc.
include/irc.h, include/vars.h.proto, include/vars.h, source/irc.c,
source/vars.c:
implement /set irchost; from <tristan@ethereal.net>
help/set/irchost:
add documentation for above.
include/config.h.dist, include/config.h.lynx, include/vars.h,
include/vars.h.proto, source/numbers.c, source/vars.c,
help/set/no_ask_nickname:
implement /set no_ask_password on; stops reset_nickname()
in numbers.c from prompting the user for a password, so
that a script can take care of the error instead.
include/output.h, include/status.h, source/irc.c,
source/output.c, source/screen.c, source/status.c:
convert all signal handlers (except for coredump()) to
the `set a variable, return, and let someone else perform
the task we want' style. ie, don't be unsafe in signal
handlers and call things like stdio and malloc!
source/icb.c:
handle many /ignore requests.
Wed Mar 1 21:17:19 EST 2000 - matthew green <mrg@eterna.com.au>
Makefile.in, configure, configure.in:
ignore CVS dirs when installing things more
carefully. support `$DESTDIR' in Makefile.in
(this from Arkadiusz Miskiewicz <misiek@pld.org.pl>),
and use @libdir@ and @mandir@ rather than using
${prefix}/foo for these.
source/ircaux.c:
use index(foo, ' '); over sindex(foo, " "); from
Mark Mielke <mark@mielke.cc>.
source/edit.c, help/exec.c:
fix typos; from Mark Mielke <mark@mielke.cc>.
source/status.c:
remove the uses of the global "buffer" from status.c.
inspired by a PR from Mark Mielke <mark@mielke.cc>
source/edit.c, source/screen.c:
make sure we translate everything, even in dumb mode,
everywhere. from: Alexander Trump <assa@assa.tlt.ru>.
source/edit.c:
fix /set auto_unmark_away variable; it has been broken
for at least 5 years. fixes PR#377.
source/alias.c, help/alias/functions:
implement wincols() and winrows() functions that return
the number of columns and rows (respectively) in the
current window, or -1.
source/wserv.c, configure.in, configure, acconfig.h:
fix AIX support. mostly from Graovac
<ddavid@lamar.ColoState.EDU>.
source/server.c, source/window.c:
server_itsname() return "<None>" for no server name.
source/edit.c:
yell() not say() when we don't load an executable file.
script/2.8script:
remove some damage.
source/names.c:
avoid adding channel "0" to the channel list. PR#277
source/exec.c:
/exec output is level crap by default; make it so.
source/dcc.c:
if a /dcc get fails because we couldn't create the
local file, _don't_ delete the offer from our list!
source/queue.c:
for `/queue' when no queue commands have ever been
run, we used to dump core from calling toupper("Top").
call toupper() on the copied string rather than on
the passed in string.h, and then copying. PR#403
source/names.c, include/names.h:
add support for +c (colourless) and +R (registered
users only) channel modes. from jim efaw in PR#420.
source/names.c:
add support to properly join !channels.
source/crypt.c:
fix /encrypt -sed when cast support also enabled.
from Jim Efaw <jimefaw@eggroll.com>.
Tue Feb 29 19:52:50 EST 2000 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
source/output.c:
add checks for vasprintf(3), vsnprintf(3) and
snprintf(3) (the latter not used in the ircII
yet?). rework the screen output routines (yell(),
say(), put_it() and help_put_it() to use vasprintf()
if it exists, then fallback vsnprintf() and finally
back to vsprintf() like the old code. this should
allow lines with extremely large output (such as
many-kilobyte aliases) to be displayed correctly
(vasprintf()) or at least truncated (vsnprintf())
and not dumping core.
Mon Feb 28 12:09:24 EST 2000 - matthew green <mrg@eterna.com.au>
include/alias.h, source/alias.c, source/irc.c:
malloc_str*() the space for char *command_line,
rather than having a buffer in bss.
include/ircaux.h, source/ircaux.c:
add a malloc_strcat_ue() that unescapes backslashes
(like strmcat_ue()).
source/alias.c:
modify expander_addition() and alias_special_char()
to take a malloc() maintained buffer, rather than a
BIG_BUFFER_SIZE one, by replacing str*() calls with
malloc_str*() calls in many places. remove a hack
that would try to stop core dumps when this buffer
became overflowed that now should never happen.
modify alias_expand() to use the changed functions
from above, including malloc_strcat_ue(). also,
remove BIG_BUFFER_SIZE from the rest of alias.c:
alias_currdir(), function_strip(), function_encode(),
function_decode(), function_dcclist(),
function_chatpeers(), function_chanusers(),
note: function_pid(), function_ppid() and
function_idle() all use the global "buffer" still.
source/edit.c:
remove a dependancy on BIG_BUFFER_SIZE in parse_line().
note all the uses of BIG_BUFFER_SIZE and the global
"buffer". yes, it is time to get rid of the global
buffer and the BIG_BUFFER_SIZE define.
Sun Feb 27 18:46:01 EST 2000 - matthew green <mrg@eterna.com.au>
source/window.c, include/window.h:
add a 'Win_Trav' that we use in window_traverse()
now, as our status of where we are in traversal.
note that we have to set:
Win_Trav stuff;
stuff.flag = 1;
before calling window_traverse initially.
include/vars.h.proto, include/vars.h, source/screen.c,
source/vars.c, help/set/xterm_path:
add /set xterm_path <path>
Sun Feb 27 18:02:08 EST 2000 - matthew green <mrg@eterna.com.au>
source/window.c:
fix window_get_connected() to note the nick to use
once a server is found, if the nick isn't already
specified. fixes problem with multiple server:port
combinations with different nicks.
4.4N
Sun Feb 27 12:36:35 EST 2000 - matthew green <mrg@eterna.com.au>
include/window.h, source/server.c, source/window.c:
rename set_window_server() to window_set_server().
source/window.c, source/server,c. source/notice.c,
source/irc.c, source/numbers.c, include/server.h:
retire WIN_OLDCONN flag. this means we can revert
get_connected() to take only one argument. in
window_set_server(), always transfer the channels
to the new server if WIN_TRANSFER, because
WIN_OLDCONN is now gone.
Sat Feb 26 13:41:31 EST 2000 - matthew green <mrg@eterna.com.au>
script/icb, source/edit.c:
deal with /join, /invite, /who, /nick and /topic in
the script.
source/parse.c:
give all static functions a `p_' prefix like about
1/2 of them already have.
Sun Feb 13 03:00:37 EST 2000 - matthew green <mrg@eterna.com.au>
include/hook.h, include/hook.h.proto, source/hook.c,
source/window.c, help/on/window_swap:
add new hook WINDOW_SWAP that is triggered when ever
a window is swapped.
include/struct.h, source/edit.c, source/names.c, source/screen.c,
source/window.c:
revert /window bind to original behavior: property of
a window, not a channel.
Tue Feb 1 16:40:18 EST 2000 - matthew green <mrg@eterna.com.au>
source/icb.c:
deal with the fact that ICB groups can be renamed.
Mon Jan 31 15:01:41 EST 2000 - matthew green <mrg@eterna.com.au>
source/icb.c, source/edit.c:
change icb_put_msg2() to honour window_dislay, and
using this implement /whois for ICB mode (as
"/m server whereis").
4.4M
Fri Jan 7 09:55:29 EST 2000 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in,
source/irc.c, source/ircaux.c, source/server.c:
add IPv6 support from Arkadiusz Miskiewicz
<misiek@misiek.eu.org> as given in PR#402.
source/icb.c:
make SHOW_CHANNEL_NAMES work on ICB.
Tue Dec 21 02:38:00 EET 1999 - Joel Yliluoma <bisqwit@iki.fi>
source/edit.c, help/cat:
added /CAT command to easify avoiding security
risks when otherwise /exec cat would be used.
/CAT adds a line to specified file (to end).
Sat Dec 18 22:32:18 EST 1999 - matthew green <mrg@eterna.com.au>
help/icb:
fix some typoes from <kleink@serpens.swb.de> in
PR#395.
Makefile.in:
regenerate dependancies after adding ircflush.c
to the list of them. this fixes PR#396.
configure.in:
s/PREFIX/prefix/ so that it it works.
ircbug.in:
automatically determine how to suppress newlines,
fixing PR#398.
source/edit.c:
re-set from_level correctly in my_echo; fixes PR#387,
#399 and #412 (patch supplied in this one from Hans
Hasselaar <hansh@ircnet.dk>).
Thu Dec 9 21:42:41 EST 1999 - matthew green <mrg@eterna.com.au>
script/default:
new script that is a suggested default `.ircrc'
for people to use.
script/times:
new script that adds times to msgs, dcc and channel
traffic.
script/otherstatus:
new script to let you have a bold or underlined
status bar.
all the above are derived from parts of mrg's setup.
Thu Dec 9 15:08:09 EST 1999 - matthew green <mrg@eterna.com.au>
soruce/icb.c:
one can now send long lines and have them broken
up correctly.
Sat Oct 23 06:10:21 EEST 1999 - Joel Yliluoma <bisqwit@iki.fi>
source/screen.c:
fixed the mirc colour support, did not work correctly.
help/set/make_notice_msg:
described MAKE_NOTICE_MSG
Wed Oct 20 21:11:56 EST 1999 - matthew green <mrg@eterna.com.au>
help/load/screen, help/load/tabkey, scripts/tabkey,
scripts/screen:
move default ^X^X binding to `screen' script, and
make it swap scripts, like screen(1) does.
Wed Sep 8 03:07:24 EEST 1999 - Joel Yliluoma <bisqwit@iki.fi>
source/parse.c, source/vars.c, include/vars.h.proto
added boolean set MAKE_NOTICE_MSG
Sat Sep 4 19:03:22 EEST 1999 - Joel Yliluoma <bisqwit@iki.fi>
help/alias/functions
described the hasvoice() and dcclist() functions.
described the chatpeers() function.
source/alias.c
added chatpeers() function.
Sun Jul 25 05:50:15 EEST 1999 - Joel Yliluoma <bisqwit@iki.fi>
source/alias.c, source/names.c, source/irc.c
added .ircquick file support.
added hasvoice() and dcclist() functions.
4.4L
Mon Aug 23 21:43:51 EST 1999 - matthew green <mrg@eterna.com.au>
configure.in, configure, source/ircaux.c, include/config.h.dist,
include/config.h.lynx, include/defs.h.in:
fix up ZCAT/ZSUFFIX auto-finding support to work and
be used.
Makefile.in:
set help & translation paths properly when building
both help.c and translation.c.
Mon Aug 23 19:52:26 EST 1999 - matthew green <mrg@eterna.com.au>
configure.in, configure, acconfig.h, include/defs.h.in:
add SOCKS version 5 support (from agc@netbsd.org).
Makefile.in:
fix some more $(srcdir) lossage with autoconf
and autoheader runs.
source/server.c:
make sure varaiable is not uninitialised (from
agc@netbsd.org).
Mon Aug 23 12:30:29 EST 1999 - matthew green <mrg@eterna.com.au>
configure.in, configure, Makefile.in, include/Makefile.in,
include/config.h, source/Makefile.in:
add support for building outside of the source
tree, largely from glen. config.h.dist is copied
to the build tree now. neat.
4.4K
Sun Aug 22 04:07:03 EST 1999 - matthew green <mrg@eterna.com.au>
source/irc.c:
fix usage string to be a real C string again.
source/icb.c:
fix an off by one error in long msg handling.
Sun Aug 22 01:32:35 EST 1999 - matthew green <mrg@eterna.com.au>
INSTALL, configure, configure.in, include/irc.h, source/help.c,
source/mail.c, source/wserv.c:
add patches from Gerben_Wierda@RnA.nl to fix NeXT
support.
source/window.c:
apply PR#378 from forcer: WINDOW KILL_OTHERS crashes
with more than 2 windows.
source/ircaux.c:
do not copy a string onto itself. it fails. fixes
several PRs: 379, 380, 381, 385, 386, 388 and 390.
include/ircterm.h
FreeBSD uses int/int for tputs function too. maybe
ncurses does?
acconfig.h, configure, configure.in, include/defs.h.in:
apply patch from Tod McQuillin <devin@lm.com> in
PR#382 to fake a `ssize_t' for older systems.
source/window.c:
deal with CHANNEL_NAME_WIDTH == 0. fixes PR#384.
configure, configure.in:
--datadir is now used and sets where $IRCLIB exists
(as ${datadir}/irc). fixes PR#383.
Wed Jul 21 09:48:45 EST 1999 - matthew green <mrg@eterna.com.au>
source/edit.c, help/brick:
add `/brick channel nick' command.
4.4J
Thu Jul 15 12:18:44 EST 1999 - matthew green <mrg@eterna.com.au>
help/load/icb, script/icb:
add `/register'
include/config.h*, include/server.h, include/icb.h,
source/irc.c, source/server.c, doc/ircII.1:
add -P switch to set deafult ICB port. have a
define `ICB_PORT' (that is 7326) for the default.
source/cast.c, source/dcc.c, include/irc_std.h,
include/cast_sbox.h:
replace 'cast_t' with 'castkey' and 'u_32int_t'
with 'u_32int' as _t is not my name space.
source/cast.c:
fix several bugs noted by Michael Katzenmayer
<katzenmayer@erfnet.com>: castkey had u_char instead
of u_int, and some packaging problems introduced since
the CBC changes.
Thu Jun 17 16:38:34 EST 1999 - matthew green <mrg@eterna.com.au>
source/alias.c, help/alias/functions:
new $SERVERTYPE() function that returns either
`IRC2.X' (X between 5 and 11 so far), or `ICB'.
idea from tristan@ethereal.net.
4.4I
Sat May 22 00:00:11 EST 1999 - matthew green <mrg@eterna.com.au>
include/crypt.h:
rename CAST128ED to CAST128ED-CBC so that newer
implementations will fail to operate with prior
versions, rather than attempt to work and lose.
Fri May 21 18:29:15 EST 1999 - matthew green <mrg@eterna.com.au>
configure, configure.in, acconfig.h, include/defs.h.in,
source/crypt.c:
use /dev/urandom if possible. avoid using the
implementation namespace a bit...
source/wserv.c:
fix this for unix domain 4.4BSD machines.
source/term.c:
ensure we catch all ESC aliases...
source/parse.c:
let older /on join's work again.
source/icb.c:
make sure we properly disconnect a server. for
public and private messages, be sure not to overflow
the 255 byte ICB limit.
source/exec.c:
for /exec's that have output elsewhere, make sure
that they go to the right server.
source/cast.c:
change CAST-128 implmentation from EBC mode to CBC
mode. this is incompatible with previous versions
but as EBC is less secure, too bad.
Mon Mar 8 14:13:54 EST 1999 - matthew green <mrg@eterna.com.au>
configure, configure.in, acconfig.h, include/defs.h.in,
source/cast.c, source/crypt.c:
look for and, if we find it, use /dev/random as
a source of randomness for crypto code.
source/icb.c, source/edit.c, include/icb.h:
add a new icb_put_funny_stuff() that handles doing
irc-like /names and /list.
script/global:
load tabkey & icb by default.
Fri Mar 5 15:24:11 EST 1999 - matthew green <mrg@eterna.com.au>
include/server.h, script/icb, source/edit.c, source/icb.c,
source/irc.c, source/parse.c, source/server.c,
source/whois.c source/window.c:
add an extra argument to the parse_server_info()
stuff, that returns anything beyond the nick.
this is used by the ICB code to set default group
and mode. you can specify that a server is ICB
in the IRCSERVER and related lists by prepending
it with IRC/. eg set IRCSERVER to:
`ICB/icb.network.net:7326::mynick:channel'.
4.4H
Thu Mar 4 19:42:31 EST 1999 - matthew green <mrg@eterna.com.au>
include/server.h, source/numbers.c, source/server.c,
source/window.c:
connect_to_server() and find_in_server_list() both
take a "nick" argument now. server lists are unique
now only if the nickname is the same.
source/icb.c:
parse status messages for signon/signoff/arrive/depart
and convert them to join/leave hooks.
source/screen.c:
deal with no current_screen. helps with output
functions run during client startup not dumping core.
update fwrite() tests to be consistent.
Thu Mar 4 18:54:08 EST 1999 - matthew green <mrg@eterna.com.au>
include/hook.h, include/hook.h.proto, source/edit.c,
source/hook.c, source/icb.c, source/irc.c, source/server.c:
add hooks for ICB stuff. implement two new hooks
for ICB only stuff: ICB_STATUS and ICB_ERROR, for
icb status and error messages. all others go via
server_notice, msg, public, send_msg, send_public
which exist. more to come.
Thu Mar 4 17:56:26 EST 1999 - matthew green <mrg@eterna.com.au>
source/irc.c, source/icb.c, source/server.c,
include/server.h:
fix -irc/-icb args to skip the rc/cb bit. add
a icb group concept, separate to the irc channels.
Thu Mar 4 14:24:25 EST 1999 - matthew green <mrg@eterna.com.au>
include/irc.h, include/server.h, source/irc.c,
source/server.c, source/window.c:
if run as "icb", default to icb. add -irc/-icb
switch to the command line, and -irc to both
/window server and /server.
Thu Mar 4 13:10:41 EST 1999 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
dcc actions to the right window. from forcer.
configure, configure.in:
cast recv() address argument to (struct sockaddr *)
to let it compile, and let the nonblock test have a
chance at working. from forcer.
source/numbers.c:
print a channel not available message even if we
don't understand it properly, so that the user gets
the message anyway.
contrib/README, (removed contrib/colour and contrib/colour.orig),
include/config.h*, include/irc.h include/vars.h.proto,
include/vars.h, source/screen.c, source/vars.c:
add a /set colour to mimic mIRC-style colours. it
does not use termcap colour stuff, as no one uses
those anyway. at least on IRC. this is sarayans
original patch as maintained by forcer, and what
was originally in the contrib directory.
source/dcc.c:
print ip:port for dcc send. from forcer.
Wed Mar 3 18:06:17 EST 1999 - matthew green <mrg@eterna.com.au>
source/newio.c, include/newio.h:
add a "dgets_separator" that lets you change the
"end of line" charater. this is useful for ICB
where it is a nul, not a newline.
help/icb, include/icb.h, include/server.h, script/icb,
source/Makefile.in, source/edit.c, source/icb.c, source/irc.c,
source/notify.c, source/server.c, source/window.c:
add elementary ICB support. /server -icb host port
should do the right thing, and let you join channels,
see messages, send then. a new /icb command lets you
have access to all the icb commands, and most IRC
commands that make sense in this context (/nick,
/topic, /version, /msg, /join, etc) have been modified
to know the are talking to an ICB server and pass the
users request off to the icb code to handle. this
uses the new dgets_separator() for ICB server
connection processing.
this is missing hooks and stuff, but it should be at
least usable for now. i expect to add hooks and stuff
shortly. the script adds aliases for icb commands
(/group, /boot, /pass, etc.), and the help file is
fairly useless...
4.4G
Sun Feb 28 13:37:48 EST 1999 - matthew green <mrg@eterna.com.au>
source/screen.c:
use ssize_t for the length, and cast it to size_t
where needed, to avoid it overflowing.
various:
use __SVR4 as the canonical SVR4 preprocessor
define, as it is.
source/hook.c, include/hook.h.proto, include/hook.h, help/on/join:
/on join takes 3 args.
configure.in, acconfig.h, source/dcc.c:
add writev & <sys/uio.h> check and use it if possible.
doc/ircII.1:
document the -b flag.
source/server.c:
call the right parse_server() routine in all cases.
source/ctcp.c:
be saner about PARANOID.
source/dcc.c, source/ctcp.c, source/crypt.c, source/cast.c,
source/edit.c, include/crypt.h:
convert to a "crypt_key" type for crypto keys, rather
than passing around char *'s. this lets the key be
opaque and let the crypto engine hide in here.
source/ctcp.c, source/crypt.c, source/cast.c source/sed.c,
include/crypt.h, include/ctcp.h, help/encrypt:
split SED code into sed.c. allow more than one type
of crypto system to be compiled in. currently there
is only support for SED and CAST-128.
4.4F
Tue Feb 9 21:30:37 EST 1999 - matthew green <mrg@eterna.com.au>
source/crypt.c, source/ctcp.c, source/dcc.c:
various bug fixes to crypto code.
Tue Feb 02 03:45:58 est 1999 - glen mccready <glen@qnx.com>
source/exec.c, help/exec:
add /exec -target.
Sun Jan 03 20:19:54 est 1999 - glen mccready <glen@qnx.com>
source/alias.c:
more functions, winsrvr() and winsrvrgrp() to return
the windows server and server_group.
source/window.c:
make "window query" work like "query".
Sun Jan 03 17:21:02 est 1999 - glen mccready <glen@qnx.com>
source/alias.c:
add a couple of useful functions. one, winvis(), to
tell you if a window is visible. another, querynick(),
to tell you what nick, if any, a window is queried to.
Sun Jan 03 12:42:44 est 1999 - glen mccready <glen@qnx.com>
source/window.c:
allow "window channel #chan,key" to work.
4.4E
Sun Nov 8 16:23:19 EST 1998 - matthew green <mrg@eterna.com.au>
source/cast.c:
be defensive about putting the final nul back in
to the string: it can never be >7 as the blocksize
is 8...
source/ctcp.c:
quote ':' with a standard quote character in
ctcp_quote_it() as do_ctcp() treats : specially (if
it is the first char of a string). the avoids
accidentally losing the first character of a string.
Fri Nov 6 19:33:31 EST 1998 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/alias.h,
include/ctcp.h, include/dcc.h, include/defs.h.in, include/edit.h,
include/hold.h, include/hook.h, include/if.h, include/input.h,
include/irc.h, include/irc_std.h, include/ircaux.h,
include/ircterm.h, include/keys.h, include/keys.h.proto,
include/menu.h, include/names.h, include/output.h,
include/screen.h, include/server.h, include/translat.h,
include/vars.h, include/window.h, source/alias.c, source/cast.c,
source/crypt.c, source/ctcp.c, source/dcc.c, source/debug.c,
source/edit.c, source/exec.c, source/file.c, source/flood.c,
source/funny.c, source/help.c, source/history.c, source/hold.c,
source/hook.c, source/if.c, source/ignore.c, source/input.c,
source/irc.c, source/ircaux.c, source/ircflush.c, source/ircio.c,
source/ircsig.c, source/keys.c, source/lastlog.c, source/list.c,
source/log.c, source/mail.c, source/menu.c, source/names.c,
source/newio.c, source/notice.c, source/notify.c,
source/numbers.c, source/output.c, source/parse.c, source/queue.c,
source/reg.c, source/scandir.c, source/screen.c, source/server.c,
source/stack.c, source/status.c, source/term.c, source/translat.c,
source/vars.c, source/whois.c, source/window.c, source/wserv.c:
make (almost) compile with quite anal gcc flags under
NetBSD 1.3H, quietly. this adds support for finding
a locally delcared "errno", and also removes a bunch of
the old STDC crap with passing char's to functions.
also fixed a few bugs that were found!
4.4D
Fri Nov 6 02:38:34 EST 1998 - matthew green <mrg@eterna.com.au>
source/dcc.c:
add untested code for using writev if available.
also, fix dcc chat encryption.
source/irc.c, source/notice.c, source/parse.c, source/whois.c:
clean up "int sed;" processing.
Wed Oct 28 12:11:10 EST 1998 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/flood.c, source/irc.c, source/ircaux.c,
source/numbers.c, source/parse.c, source/server.c,
source/window.c, include/irc.h:
remove NICKNAME_LEN. make nicks dynamically allocated.
this is so ircII works on blundernet.
source/dcc.c:
fix some problems with encrypted dcc chat. still not
totally working...
4.4C
Sun Sep 27 12:18:08 EST 1998 - matthew green <mrg@eterna.com.au>
source/screen.c:
fix flash-style attacks, by checking for characters
0-32 with the high-bit set (128->160) and performing
the same alternation on those.
contrib/README, contrib/colour, contrib/colour.orig:
add the new colour patch from PR#332, moving the old
one to colour.orig. from forcer.
source/alias.c:
use the current server for $A and $N expansion, not
the current window. from flier@globecom.netin pr 300.
Sun Sep 27 02:28:08 EST 1998 - matthew green <mrg@eterna.com.au>
translation/POLISH, translation/POLISH_NOPL:
fixed polish translation tables, from Piotr Kucharski
<chopin@sgh.waw.pl> in pr#344.
source/edit.c, include/edit.h:
make /timer server-aware. from flier in pr#295.
Sat Sep 26 12:36:02 EST 1998 - matthew green <mrg@eterna.com.au>
source/alias.c:
fix $rindex(), using patch in pr335 from Tristan Horn
<tristan@ethereal.net>.
source/numbers.c:
if we get end of motd, and we haven't seen a 002 or
version notice, fake one up...
Sat Sep 26 03:58:30 EST 1998 - matthew green <mrg@eterna.com.au>
source/server.c, source/window.c, source/numbers.c,
source/help.c, source/dcc.c:
change {save,restore}_message_from() into a queue so
that now that we use them for every message_from(),
info is not by too save_ callers before a restore_.
fix some of the callers of these functions to work
properly in the presence of a queue.
Wed Sep 23 00:51:22 EST 1998 - matthew green <mrg@eterna.com.au>
source/notice.c:
allow server notices to see the 1st parameter as it
comes from the server, as it may be a channel. from
galibert@iria.mines.u-nancy.fr (Olivier Galibert) in
pr#239.
script/2.9script:
deal with PR#217 sanely now we have the above.
configure, configure.in:
check for gcc on QNX (from glen).
source/numbers.c:
deal with number 405. fixes pr#336.
source/alias.c:
fix overflow in eval echo [3232235777/255].
configure, configure.in: source/exec.c:
don't go past the end of the signals array.
source/log.c:
fix core dump through nulref from flier in pr#334.
Tue Sep 22 20:38:16 EST 1998 - matthew green <mrg@eterna.com.au>
source/alias.c, source/ctcp.c, source/dcc.c, source/edit.c,
source/funny.c, source/help.c, source/lastlog.c, source/mail.c,
source/names.c, source/notice.c, source/notify.c, source/numbers.c,
source/parse.c, source/server.c, source/whois.c, source/window.c:
rework message_from() usage: now we use the two handy
functions {save,restore}_message_from() a lot throughout
the tree (when using message_from()). this ensures that
the from level/message level/from who/etc are all set
correctly at all times. also fix a few bugs here.
/notify, /help, ctcp messages and several other systems
were not properly restoring or setting the levels. this,
i believe, is the cause of random messages going to the
wrong place, extremely rarely. i belive i have fixed
all of these problems now, and perhaps not broken anything.
also fix temporary setting of from_server that did not
restore the previous value.
source/alias.c:
avoid using from_server or parsing_server_index as an index
if it is < 0.
Wed Sep 16 11:04:45 EST 1998 - matthew green <mrg@eterna.com.au>
source/history.c:
create the .irchist file mode 600.
include/names.h, include/server.h, source/funny.c,
source/names.c, source/parse.c, source/status.c:
support irc 2.10 modes, from <kalt@stealth.net>.
4.4B
Tue Sep 8 00:43:18 EST 1998 - matthew green <mrg@eterna.com.au>
INSTALL, Makefile.in, easyinst:
remove easyinst, document --with[out]-cast.
Mon Sep 7 18:33:01 EST 1998 - matthew green <mrg@eterna.com.au>
source/irc.v, doc/VERSIONS:
bump version to 4.4B, due to the CAST-128 support.
configure, configure.in:
change --with-cast to support `=no', and also if we
find source/cast.c, enable cast support. fix alignment
of some strings for --with-cast and --with-paranoid.
Mon Sep 7 15:11:57 EST 1998 - matthew green <mrg@eterna.com.au>
source/cast.c, source/crypt.c, source/ctcp.c, include/crypt.h,
include/cast_sbox.h, acconfig, configure configure.in:
add a --with-cast switch to configure, to enable built-in
CAST-128 encryption support, rather than the old broken
crypt. requires cast.c and cast_sbox.h that will *not*
be distributed with ircII by default.
Sat Sep 5 21:39:36 EST 1998 - matthew green <mrg@eterna.com.au>
source/crypt.c, help/encrypt, help/set/old_encrypt_program,
help/set/encrypt_program:
change encrypt_program to write key as first line,
rather than insecure cmd line argument. add a new
`old_encrypt_program' (default off) variable to use
the old API. XXX the exec code here has lots of
syscalls with no return values checked XXX.
Tue Jun 2 18:48:39 EST 1998 - matthew green <mrg@eterna.com.au>
source/queue.c:
fix core dumps. pr#298.
doc/ircII.1:
document the "global" script. pr#315.
Tue Jun 2 18:13:09 EST 1998 - matthew green <mrg@eterna.com.au>
help/window/bind, help/window/unbind:
new help files.
script/nocolour:
stop mIRC colour crap.
source/server.c:
match server name correctly. noted in pr#301.
source/dcc.c:
print ip/port in dcc requests. per pr#325.
source/crypt.c:
call setgid() before setuid(). call wait() after exec().
there are still MANY system calls with unchecked return
values here but at least it seems to work now. at least
with `/usr/games/caeser' as the encryption program, and 13
as the key (rot13 :).
configure.in, configure:
AMS mail is ~/Mailbox as a directory, not a file. this
fixes problems with qmail installations.
Tue Jun 2 16:11:05 EST 1998 - matthew green <mrg@eterna.com.au>
source/names.c:
initialise new->status, which fixes the "channel leave"
bug, noted in several PR's (fix from 328).
source/mail.c:
use my_strnicmp(). from mark.
configure, configure.in, acconfig.h, include/defs.h.in, source/ctcp.c:
add a --with-paranoid switch which disables the "bad" parts of
ctcp version/finger replies.
source/ctcp.c, source/dcc.c, source/edit.c:
allow dcc channels to have (only) ctcp queries. involved some
interface changes to send_ctcp() and related functions. for now,
no replies are generated -- there is no privmsg/notice in a dcc
chat connection.
source/ctcp.c:
ensure ctcp functions that return data return it in a malloced
string, and ensure that the caller cleans this up. should fix
several problems noted over the last several years.
source/dcc.c, include/irc.h:
avoid buffer overflows in dcc chat connections. noted by forcer.
Fri Jan 12 02:20:00 EST 1997 - glen mccready <glen@qnx.com>
source/edit.c, source/exec.c, source/screen.c, source/server.c,
source/status.c, source/ircio.c, source/ircflush.c, source/irc.c,
source/wserv.c, source/names.c, source/dcc.c, source/scandir.c,
source/help.c, include/scandir.h:
clean up some warnings. prototype scandir. make sure
notify_mark is prototyped where it's used. fudge some
qnx defaults further in configure.
source/queue.c:
fix segv (pr#292).
source/vars.c:
fix "/set logfile ~/blah".
source/ircaux.c, source/alias.c, include/ircaux.h:
add srindex() to compliment sindex(). used by $rindex().
source/output.c:
fix bug in end-of-string handling.
Fri Jan 9 23:44:00 EST 1997 - glen mccready <glen@qnx.com>
source/ctcp.c:
fix missing toupper().
4.4
Sun Dec 7 13:25:24 EST 1997 - matthew green <mrg@eterna.com.au>
source/screen.c:
fix PR211 from krys: make scrolling work a bit better.
Thu Dec 4 11:25:13 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c:
fix PR280: don't set SERVERREQ for /msg as it breaks
dcc chat and /disconnect-ed.
Tue Nov 25 16:52:31 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c:
hack: fix pr272: set lastlog/loglevel to CRAP for
xecho -window.
source/numbers.c:
fix pr273: numerics 471, 473, 474, 475 and 476 need
to be caught my the client before hooking. do so.
source/notice.c:
fix pr274 (i think, i can not test this): if the server
doesn't give a 'normal' 002 numeric, don't totally lose.
pretend it's a 2.9 server and go from there.
source/ctcp.c, source/edit.c:
from flier in pr275: don't free the return value of
crypt_msg().
source/lastlog.c:
fix pr276: free the malloced copy, and use strncmp().
2.9beta2
Mon Nov 10 15:06:55 EST 1997 - matthew green <mrg@eterna.com.au>
source/names.c, source/names.h:
cleanup mode string code. fix bug while i'm here...
2.9beta1
Mon Nov 10 11:36:56 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c:
giver user indication of SQUERY (idea from kalt).
source/names.c:
add modes a and q. should parse server numeric for
this info at connect time. (from kalt) also, don't leak
a channel (from flier).
source/parse.c:
if is_channel() is called with NULL, return 0 (from
vps@unicorn.niimm.spb.su)
source/window.c:
make /window remove deal with ^foo as a nick (from flier).
source/numbers.c:
add a hook for numeric 437.
source/irc.c, source/hook.c, source/notice.c, source/server.c:
change get_connected() to take an oldconn parameter, that
makes it set WIN_OLDCONN when moving channels. update
callers of this.
script/dccchan, help/load/dccchan:
add ian frechette's dccchan implementation.
Thu Oct 9 00:09:42 EST 1997 - matthew green <mrg@eterna.com.au>
source/vars.c, source/alias.c:
send output of non-singual versions of /set, /assign
and /alias to window level crap, like it used to do.
eg, '/set foo' will go to crap, but '/set foo bar'
will go to the current window.
Thu Sep 4 13:45:03 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c:
use send_2comm() for squery.
help/squery, help/servlist:
document these new commands.
README:
duh! update my address to eterna, not mame.
INSTALL:
make a note about the fuckage that happens with
BIND 8 being installed into /usr/local.
2.9alpha8
Sun Aug 31 15:21:53 EST 1997 - matthew green <mrg@eterna.com.au>
script/2.9script, help/load/2.9script:
new files: contain code to deal with 2.9 server
messages and stats p output. from kalt in pr#217.
source/names.c, source/edit.c, source/window.c:
don't use a server index if it is -1. fixes some
crashes. from flier@ferlin.fri.uni-lj.si in pr#222
and pr#223.
source/window.c:
fix error in displays, from flier@ferlin.fri.uni-lj.si
in pr#228.
source/dcc.c, source/names.c:
don't forget to free some things, from sarayan in pr's
232 and 234.
source/server.c:
fix out-of-bounds bcopy() that was causing lots of havoc
after /server -delete. from sarayn in pr#238.
source/server.c:
don't trash parsing_server_index, from sarayan in pr#240.
source/edit.c:
add SERVLIST and SQUERY as comments (for ircd 2.9), using
send_comm(). this may not be correct and these commands
may simply fail.
script/version:
update for 2.9.
2.9alpha7
Tue Jun 3 22:34:10 EST 1997 - matthew green <mrg@eterna.com.au>
source/keys.c:
pass the args in /parse. fixes PR#236. from sarayan.
source/server.c:
don't send whois foo and whois !foo. fixes PR#85.
also from sarayan.
source/parse.c:
don't use `level' if we haven't set it! also from
sarayan.
Thu May 22 04:53:00 EST 1997 - glen mccready <glen@qnx.com>
source/irc.c, source/ircaux.c:
add '-h host' for specifying the local address for
multi-homed boxes.
Wed May 7 17:55:56 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c, help/save:
add new SERVERREQ flag to irc_commands[] that
requires that we be connected to a server for this
command to be run. fixes problems noted in pr#222
and pr#223.
implement /save -force, to skip the question asking.
Mon May 5 19:13:32 EST 1997 - matthew green <mrg@eterna.com.au>
source/ignore.c:
rework a sentence.
sourec/dcc.c:
make dcc sent/read byte counts correct under systems
with off_t > long (eg, NetBSD/sparc), by casting
arguments for "%ld" to (long).
2.9alpha6
Mon Apr 21 16:35:57 EST 1997 - matthew green <mrg@eterna.com.au>
source/hook.c:
minor fix for previous.
Mon Apr 21 01:12:22 EST 1997 - matthew green <mrg@eterna.com.au>
source/hook.c:
fix Add_Remove_Check stuff, from Sarayan.
source/names.c:
fully initialise channel. from sarayan.
source/vars.c:
handle DEFAULT_LOG being on.
contrib/README, contrib/random_nick:
Kalt's random nick patch.
2.9alpha5
Sun Apr 20 20:51:01 EST 1997 - matthew green <mrg@eterna.com.au>
source/alias.c, source/crypt.c, source/dcc.c, source/edit.c,
source/exec.c, source/hook.c, source/keys.c, source/lastlog.c,
source/vars.c:
purify found several memory leaks i introduced some
months ago. thanks sar.
source/alias.c:
alias_xxx() functions don't allocate their return value.
Sun Apr 20 19:41:53 EST 1997 - matthew green <mrg@eterna.com.au>
contrib/README, contrib/japanese_support:
put PR#203 from Sarayan into the contrib directory,
so that people needing ISO2202 (japanese) support
can have it.
Sun Apr 20 18:43:33 EST 1997 - matthew green <mrg@eterna.com.au>
contrib/README, contrib/colour:
put PR#202 from Sarayan into the contrib directory,
so that people wanting colour can have it.
Tue Apr 15 01:58:44 CDT 1997 - scott reynolds <scottr@og.org>
acconfig.h, include/defs.h.in:
don't use non-blocking connects if SOCKS support
is enabled.
2.9alpha4
Tue Apr 15 02:29:48 EST 1997 - matthew green <mrg@eterna.com.au>
source/output.c:
increase the buffer size, as suggested by
<flier@ferlin.fri.uni-lj.si> in pr#201.
Tue Apr 15 02:13:11 EST 1997 - matthew green <mrg@eterna.com.au>
source/window.c:
handle /window double correctly. from
<flier@ferlin.fri.uni-lj.si> in pr#198 & pr#200.
normalise some formats.
when swapping channels and windows, don't do
disconnected windows. pr #182, pr#191 & pr#196
help/window/sticky:
initial document on this commmand.
Tue Apr 15 01:11:48 EST 1997 - matthew green <mrg@eterna.com.au>
source/mail.c:
minor optimisation.
source/server.c:
default to /WINDOW STICKY.
source/screen.c, source/window.c, include/window.h:
remove WIN_LOGLEVEL.
Wed Apr 2 16:04:04 EST 1997 - matthew green <mrg@eterna.com.au>
include/ircterm.h
add __GNU__ (the hurd) to the int/int putchar_x
crowd. this was the only change required!
source/edit.c:
patch from Sarayan to fix some errors caused by me,
and some clean up, for the channel commands. pr#190.
Wed Mar 26 18:11:22 EST 1997 - matthew green <mrg@eterna.com.au>
include/ircterm.h:
#ifdef __sgi, then int putchar_x(int) is correct.
this works for IRIX5 and IRIX6. if it doesn't
work, blame sarayan.
2.9alpha3
Wed Mar 26 15:50:50 EST 1997 - matthew green <mrg@eterna.com.au>
NEWS:
updated for `2.9'
Wed Mar 26 14:33:56 EST 1997 - matthew green <mrg@eterna.com.au>
source/names.c:
leave kicked channels in CHAN_LIMBO.
source/status.c:
don't cut of domains of irc servers called "irc.".
source/dcc.c, source/screen.c:
deal with /window add =nick properly.
source/window.c:
change add_nicks_by_refnum() so that you can
explicitly add/delete with a new parameter. allows
the caller to _NOT_ have to malloc a new string for
prepending a ^ on it.
help/help, help/load/help, help/set/help_pager,
help/set/help_service, help/set/help_prompt, script/help,
source/help.c, source/vars.c, include/vars.h.proto,
include/vars.h:
remove help_service, and re-implement it as a help
script.
source/server.c, source/window.c:
finish /server . that glen started at my urging.
include/ircterm.h:
Linux and AIX use int/int for tputs.
source/edit.c:
fix a few commands, and make leave comments work
properly.
source/dcc.c:
handle dcc send with "irc -S" by using MyIpAddr.
source/numbers.c:
reset the whois_queue() on numeric 001.
source/dcc.c:
don't use a filename if it's NULL. from Sarayan.
source/ircaux.c:
don't free anything pointing as "empty_string".
should prhaps do zero and one here also.
configure, configure.in:
look for /stand/vmunix as well as /hp-ux, before
testing for HPUX.
easyinst:
deal with default server more sanely.
Sun Mar 23 03:24:48 EST 1997 - matthew green <mrg@eterna.com.au>
help/alias/functions:
fix index ^ desc. from Stefan Le Breton
<stlb@cs.tu-berlin.de>.
Sun Mar 23 01:59:45 EST 1997 - matthew green <mrg@eterna.com.au>
source/parse.c, source/hook.c, include/hook.h.proto,
include/irc.h:
remove ON_KICK: we always have it.
Makefile.in:
cp not ln config.h.dist to config.h.
include/config.h.dist, include/config.h.lynx, include/vars.h,
include/vars.h.proto, include/hook.h, include/hook.h.proto::
add ctcp_reply* and status_group variables
include/hook.h.proto, include/hook.h:
add /on KICK as normal.
Wed Mar 19 06:10:03 METDST 1997 - Olivier Galibert <galibert@loria.fr>
source/ctcp.c, source/server.c, source/vars.c,
include/server.h, include/vars.h, include/config.h,
include/config.h.dist, include/config.h.lynx:
Implement new way of doing CTCP reply flood
protection. Read source/ctcp.c for details.
Has been tested against multiple -- unasked for--
flood attacks, never failed :-)
Fri Mar 21 16:26:45 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c:
from sarayan: fix array out of bounds.
source/lastlog.c:
from StElb <stlb@cs.tu-berlin.de>: add lastlog
-save <file>.
source/numbers.c:
handle number 437, for ircd 2.9.
Fri Mar 21 12:23:03 EST 1997 - matthew green <mrg@eterna.com.au>
source/edit.c:
don't send "NAMES" for hostmasked channels (eg,
#foo:*.edu). fixes PR#187
source/dcc.c:
fix pr#131: handle dcc send with irc -AS.
Thu Mar 20 17:56:47 EST 1997 - matthew green <mrg@eterna.com.au>
translation/POLISH, translation/POLISH_NOPL,
help/set/translation:
add POLISH translation tables from Piotr 'Beeth'
Kucharski <chopin@sgh.waw.pl>
script/global, help/ison:
add /ISON command.
2.9alpha2
Wed Mar 19 14:42:24 EST 1997 - matthew green <mrg@eterna.com.au>
source/dcc.c:
fix bug pointed out by sar: don't use filename if
it is NULL.
source/vars.c:
fix bug pointed out by shadow@tsatsos.math.auth.gr:
/set -realname dumped core.
help/server:
clarify /server name:port:pass:nick
source/ircaux.c:
in new_free(), just reset the pointer to NULL it is
really `empty_string'.
source/parse.c:
use STRING_CHANNEL not a hardcoded '+'.
Fri Jan 17 18:10:54 EST 1997 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
change the way ctcp flood protection works. for
longer or faster messages, we ignore for longer.
2.9alpha1
Mon Nov 11 01:25:27 CST 1996 - scott reynolds <scottr@og.org>
source/parse.c:
fix reversed test for comment when leaving channel.
Wed Jul 24 11:42:12 EST 1996 - matthew green <mrg@eterna.com.au>
source/lastlog.c, source/mail.c, source/window.c, source/notice.c,
source/names.c, source/server.c, source/screen.c, source/edit.c,
source/funny.c, source/irc.c, source/dcc.c, source/ctcp.c,
source/parse.c, source/numbers.c, source/whois.c:
more message_from() clean ups.
source/parse.c, help/on/leave:
implement part comments (from per).
Mon Jul 22 11:42:47 EST 1996 - matthew green <mrg@eterna.com.au>
acconfig.h, include/defs.h.in, include/config.h:
only define NON_BLOCKING_CONNECTS if we actually have
a way of doing it.
source/server.c, source/screen.c, source/dcc.c:
fix some redirect lossage.
2.9_roof
Sun Jul 21 05:20:15 EST 1996 - matthew green <mrg@eterna.com.au>
source/ctcp.c, source/dcc.c, source/edit.c, source/funny.c,
source/lastlog.c, source/mail.c, source/numbers.c,
source/server.c, source/whois.c, source/window.c,
source/notice.c, source/names.c, source/parse.c:
use message_from() consistantly across the board, except
for a few places that set it explicitly to LOG_CURRENT
(which _should_ be the default). this should fix all the
bugs with messages going to the wrong window, but there
are also *lastlog*() functions that might affect this
(and assignments tto `to_window', etc, etc).
source/names.c, source/parse.c:
move the notify_mark() calls to add_to_channel() and
remove_from_channel().
help/set/translation:
update to reality.
Fri Jul 19 22:33:14 EST 1996 - matthew green <mrg@eterna.com.au>
source/newio.c:
it's FD_SETSIZE, _not_ FDSETSIZE.
source/ctcp.c:
in do_ctcp(), only call send_to_server() if there is
actually something to send. stops the client sending
a blank line to the server for every ctcp recieved.
source/server.c:
when a connection fails, set connected = 0, and
read = write = -1 in the server struct. this stops the
"looping failed connection" bug from happening.
Tue Jul 9 13:47:42 MET DST 1996 - Christophe Kalt <kalt@syrk.ensta.fr>
source/numbers.c:
display numeric 366 (RPL_ENDOFNAMES) in the right window.
2.9_wall
Wed Jun 26 23:14:21 EST 1996 - matthew green <mrg@eterna.com.au>
source/parse.c:
don't notify_mark() when nick changes case only.
source/numbers.c:
don't set +sw with numeric 381. why was this ever
done, i dunno...
source/numbers.c, source/funny.c, include/server.h:
notice and care about usermode +r and numeric 484
(ERR_RESTRICTED).
include/ircterm.h:
XXX more irix6 lossage. give a tgetstr() proto.
Wed Jun 26 12:49:50 EST 1996 - matthew green <mrg@eterna.com.au>
source/edit.c, source/input.c:
ANSIification of some functions taking char arguments.
source/dcc.c:
__STDC_ -> __STDC__
configure.in, configure, acconfig.h, include/config.h,
include/config.h.lynx, include/defs.h.in:
implement --with-default-server (scottr).
source/irc.c, source/notice.c, include/irc.h:
implement new -b switch: loads .ircrc before
connecting to a server.
source/edit.c:
fix auto_unmark_away (pr#104). check_away was always 0.
configure.in, configure:
impliment --with-non-blocking=(posix|bsd|sysv|none).
make solaris test work on x86.
Thu Jun 20 15:32:03 EST 1996 - matthew green <mrg@eterna.com.au>
source/term.c, include/ircterm.h:
XXX HACK ALERT!
made this work for irix6, kinda. this
needs to be replaced by something real.
source/mail.c, source/help.c:
NeXT bug fixes from Mark.
script/2.8script:
fix invite and ban reply.
Tue Jun 11 19:52:23 EST 1996 - matthew green <mrg@eterna.com.au>
source/server.c:
don't use sa_len anymore. irix uses it and it
makes Lossage!
easyinst:
deal with no config.h.dist
source/keys.c:
cast call to malloc_strcpy(). from fn.
source/translat.c
translation tables don't have spaces in their
names. from fn.
include/output.h:
refresh_screen returns RETSIGTYPE. pr#92.
contrib/README, contrib/check_load:
added contrib section.
include/lastlog.h:
make default window level LOG_NONE, as per -DPHONE.
2.9_floor
Thu Jun 6 00:50:08 CDT 1996 - scott reynolds <scottr@og.org>
source/if.c:
fix a buffer overrun. (from Karthik Gargi)
2.9_base
Sun Apr 14 14:55:15 CDT 1996 - scott reynolds <scottr@og.org>
source/window.c:
fix problem with /WINDOW SERVER ignoring the port
from the server list under some conditions.
Sun Mar 31 08:45:47 CST 1996 - scott reynolds <scottr@og.org>
Makefile.in:
when installing, make sure to create $(mandir), if
necessary.
Fri May 31 00:14:23 EST 1996 - matthew green <mrg@eterna.com.au>
Makefile.in:
don't delete config.h anymore.
Mon Mar 18 12:40:33 CST 1996 - scott reynolds <scottr@og.org>
source/edit.c:
don't try to use args to /PART if they weren't
specified. fixes pr 81, from krys.
Fri Mar 22 15:13:24 EST 1996 - matthew green <mrg@eterna.com.au>
source/irc.c:
fix old bug in updating status clock.
2.8.16beta
Sun Mar 17 15:19:09 EST 1996 - matthew green <mrg@eterna.com.au>
source/irc.c, doc/VERSIONS
note beta release.
Thu Mar 14 11:08:53 EST 1996 - matthew green <mrg@eterna.com.au>
source/window.c:
backout previous change to window_get_connected().
fix the bug by not calling realloc_channels() in
set_window_server().
Wed Mar 13 23:45:53 EST 1996 - matthew green <mrg@eterna.com.au>
source/edit.c:
backout one of the previous next_arg() changes that
broke "/ foo". from phil.
source/window.c:
fix pr#75. don't be so intrusive looking for a channel
for this window. call set_window_server() with misc of 1
from window_get_connected(). this fixes an annoying bug
that made channels get reconnected to the wrong window.
however, this may cause more lossage.
source/parse.c:
add signon/off detection in nick changes. pr#77 from
krys.
2.8.15
Fri Mar 1 21:44:00 EST 1996 - matthew green <mrg@eterna.com.au>
include/whois.h:
add WHOIS_ISON2 as required by scott's change below.
source/dcc.c:
#ifdef S_IFDIR: some unix doesn't have this?
source/edit.c:
fix some memory leaks with expand_twiddle() usage.
use next_arg().
source/exec.c:
bounds check in is_process_running(). from mark
matthewson.
source/help.c:
count displayed help lines correctly. from kalt.
source/parse.c:
display kick in correct window. from kalt.
source/server.c:
don't allow send_to_server() to recurse.
source/vars.c:
add VF_EXPAND_PATH. allows HELP_PATH to be ~/irc/help, eg.
Thu Feb 29 23:41:40 CST 1996 - scott reynolds <scottr@og.org>
source/whois.c:
more whois queue cleanup, from phil.
source/window.c:
fix definition of is_current_channel() to agree with
prototype, and fix for SAME_WINDOW_ONLY, both from phil.
2.8.14
Thu Feb 15 10:16:20 EST 1996 - matthew green <mrg@eterna.com.au>
source/dcc.c:
don't use the ip address 127.0.0.1 for dcc connections.
source/help.c, help/*:
add copyright notices.
Wed Feb 14 17:11:44 EST 1996 - matthew green <mrg@eterna.com.au>
source/server.c:
be smarter about displaying server lists. reworked
change from phil.
Tue Feb 13 22:33:10 CST 1996 - scott reynolds <scottr@og.org>
include/server.h, source/ctcp.c, source/names.c, source/server.c,
source/whois.c:
Changes from <Philippe.LEVAN@enst-bretagne.fr>:
- initialize ctcp_last_reply_time when creating a
server in the list
- significantly clean up the whois queue stuff
- be more careful with servers we're waiting to
be reconnected
2.8.13beta
Wed Feb 7 21:55:36 EST 1996 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
fix bugs introduced in new flood code.
Tue Jan 30 22:55:11 CST 199 - scott reynolds <scottr@og.org>6
source/lastlog.c:
extend LOG_BEEP beyond pr #56 to include normal
lastlog operations.
help/set/lastlog_level, help/window/notify_level:
documentation for LOG_BEEP.
Tue Jan 30 00:13:17 CST 1996 - scott reynolds <scottr@og.org>
include/lastlog.h, source/lastlog.c, source/screen.c:
add LOG_BEEP, and clean up a bit. closes pr #56,
mostly from krys.
Mon Jan 29 16:32:00 EST 1996 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
be smarted about ctcp floods (still allow non-replying commands).
Sun Jan 21 18:10:24 CST 1996 - scott reynolds <scottr@og.org>
source/edit.c:
compare the correct variable; fixes pr #45.
source/term.c:
check for and disable VDISCARD if present, from
<levan@rennes.enst-bretagne.fr>
help/window/double:
added. closes related pr #28.
Fri Jan 05 11:22:29 EST 1996 - glen mccready <glen@qnx.com>
source/dcc.c, source/server.c:
put forth some effort in cleaning up the non-blocking
connects - ideas for the cleanup stemmed from a chat
with deraadt@theos.com
Thu Dec 21 15:56:55 CST 1995 - scott reynolds <scottr@og.org>
source/irc.c:
Add '&' expansion to the code that gets the user's
name from the passwd file.
Wed Dec 13 17:04:52 CST 1995 - scott reynolds <scottr@og.org>
include/struct.h, include/config.h.dist, include/config.h.lynx,
include/config.h.phone, include/vars.h, include/vars.h.proto,
source/screen.c, source/status.c, source/vars.c, source/window.c:
pr #42, /SET DOUBLE -> /WINDOW DOUBLE, from krys.
Wed Dec 06 13:28:46 EST 1995 - glen mccready <glen@qnx.com>
Makefile.in:
fix `installman'
configure.in:
slightly modify the qnx compile/link options used
source/alias.c:
function_idle() now always exists, instead of only
when strftime() was found by configure
source/exec.c:
POSIX doesn't define NSIG or anything like it; _SIGMAX
is an extension from somewhere.. with POSIX.4 coming into
being SIGRTMAX may be useful at some point.. until then..
source/term.c, source/window.c:
avoid name conflicts
source/wserv.c, source/ircsig.c:
cast signal handlers
Mon Nov 13 23:50:33 CST 1995 - scott reynolds <scottr@og.org>
source/edit.c, source/hook.c:
fix memory leaks, from krys. fixes PRs 38, 39.
Sun Nov 12 23:37:39 EST 1995 - matthew green <mrg@eterna.com.au>
include/config.h.phone, include/config.h.lynx,
include/config.h.dist:
remove some old cruft.
source/mail.c:
count From_ lines correctly.
source/count.l, include/count.l, include/Makefile.in:
move count.l to include.
configure.in, configure, aclocal.m4:
update sendmail check to use macros.
source/vars.c:
comment last of help_service code.
Fri Nov 10 02:55:21 EST 1995 - matthew green <mrg@eterna.com.au>
include/ircaux.h, source/alias.c, source/ctcp.c,
source/dcc.c, source/edit.c, source/exec.c, source/hook.c,
source/ignore.c, source/input.c, source/ircaux.c,
source/keys.c, source/lastlog.c, source/names.c,
source/stack.c, source/translat.c, source/vars.c,
source/window.c:
remove all occurances of my_stricmp/my_strnicmp
in a loop where one string being compared was
always upper or lower already. convert some older
changes like this to use upper() and lower().
Mon Nov 6 01:03:06 CST 1995 - scott reynolds <scottr@og.org>
script/imap:
updated mapper script from ian.
Sat Nov 4 21:06:29 EST 1995 - matthew green <mrg@eterna.com.au>
Makefile.in, doc/ircbug.1 doc/query-pr.1:
install manuals, and the ircbug program.
2.8.12beta
Wed Nov 1 23:27:33 EST 1995 - matthew green <mrg@eterna.com.au>
include/config.h.dist, include/config.h.lynx,
include/config.h.phone, source/help.c:
#ifdef support for help services. not enabled by default.
Wed Nov 1 23:17:10 EST 1995 - matthew green <mrg@eterna.com.au>
help/window/same_window_only, include/vars.h,
include/vars.h.proto, source/window.c, source/vars.c:
add philippe's same_window_only set.
Wed Nov 1 22:21:46 EST 1995 - matthew green <mrg@eterna.com.au>
source/edit.c:
call do_channel() with join -i; fixes pr#23
configure.in, aclocal.m4, ircbug.in:
look for sendmail now; don't assume it is in /usr/sbin.
easyinst:
don't call configure with ". ./configure". export necessary
variables (IRCLIB and bindir).
remove all help service stuff -- they don't exist anymore.
Tue Oct 31 00:58:59 CST 1995 - scott reynolds <scottr@og.org>
Makefile.in, acconfig, include/defs.h.in, configure.in, configure,
source/irc.c, source/ircflush.c, source/ircio.c, source/wserv.c:
add support for SOCKS firewall traversal library.
INSTALL:
SOCKS support, and a caveat.
Mon Oct 30 23:05:30 EST 1995 - matthew green <mrg@eterna.com.au>
source/names.c:
fix switch_channels; from philippe.
Fri Oct 27 20:23:29 CDT 1995 - scott reynolds <scottr@og.org>
include/config.h.dist, include/struct.h, include/vars.h.proto,
source/input.c, source/screen.c, source/status.c, source/vars.c,
source/window.c:
double status line, from Christophe Kalt.
source/dcc.c:
double status line, plus fix a bogon when compiling without
NON_BLOCKING_CONNECTS.
include/vars.h:
from vars.h.proto above.
include/irc.h:
struct.h must be included only after INPUT_BUFFER_SIZE
is defined. fixes PR #21.
2.8.11beta
Wed Oct 25 15:14:49 EST 1995 - matthew green <mrg@eterna.com.au>
source/alias.c, source/dcc.c, source/help.c, source/names.c:
fix bug in alias_server(), missing #ifdef nonblocking,
set use_help_service properly, call is_current_channel()
correctly, and clear the server's channel list in a
better way. all from philippe.
Tue Oct 24 23:56:44 EST 1995 - matthew green <mrg@eterna.com.au>
source/numbers.c:
fix bug that made failed oper commands close the server.
from philippe.
Fri Oct 13 01:15:25 EST 1995 - matthew green <mrg@eterna.com.au>
include/dcc.h, include/ircterm.h, source/alias.c, source/ctcp.c,
source/dcc.c, source/help.c, source/hold.c, source/if.c,
source/menu.c, source/names.c, source/output.c, source/reg.c,
source/scandir.c, source/server.c, source/status.c:
more fixes for solaris warnings.
Fri Oct 13 01:14:59 EST 1995 - matthew green <mrg@eterna.com.au>
source/parse.c, source/server.c, include/parse.h, include/server.h:
begin framework for other parsers.
Fri Sep 22 11:01:28 CDT 1995 - scott reynolds <scottr@og.org>
source/reg.c:
enable new _wild_match(), remove old version.
Thu Sep 21 14:14:32 EST 1995 - matthew green <mrg@eterna.com.au>
source/keys.c, source/edit.c, source/edit.h:
rename clear_screen() to irc_clear_screen().
Tue Sep 12 23:25:00 CDT 1995 - scott reynolds <scottr@og.org>
include/edit.h, source/edit.c, source/whois.c:
ison_ison() -> ison_now(); add dummy arg and prototype
it the way add_ison_to_whois() expects.
source/reg.c:
Integrate new version of _wild_match() from
<dalewis@acsu.buffalo.edu> with minor changes, but don't
enable/use it yet.
Fri Sep 8 12:57:14 CDT 1995 - scott reynolds <scottr@og.org>
include/ircterm.h, source/edit.c, source/input.c, source/irc.c,
source/menu.c, source/output.c, source/parse.c, source/screen.c,
source/status.c, source/term.c:
Move the #include <{curses.h|term.h}> into ircterm.h, and
account for some nasty #define's in some lame <term.h>
implementations.
Thu Sep 7 10:28:20 CDT 1995 - scott reynolds <scottr@og.org>
source/hook.c, source/ircaux.c, source/ircio.c:
More portability fixes pointed out by HP's cc.
Wed Sep 6 21:02:01 CDT 1995 - scott reynolds <scottr@og.org>
include/irc_std.h:
Remove unused TRUE/FALSE #defines.
include/hook.h.proto:
Finish up previous change.
configure.in:
Fix a comment.
Wed Sep 6 16:52:51 CDT 199 - scott reynolds <scottr@og.org>5
include/irc.h:
If we HAVE_STDARG_H but we're not __STDC__, just forget
about <stdarg.h>.
include/ctcp.h, include/debug.h, include/defs.h, include/hook.h,
include/output.h, include/server.h, include/whois.h:
Undo previous HAVE_STDARG_H changes.
Tue Sep 5 15:31:06 CDT 1995 - scott reynolds <scottr@og.org>
source/alias.c:
Fix "illegal pointer combination" warnings.
Tue Sep 5 14:57:59 CDT 1995 - scott reynolds <scottr@og.org>
include/ircterm.h, include/term.c:
HP-UX declares arg3 to tputs() differently. Barf.
Wed Sep 6 01:34:53 EST 1995 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/defs.h, include/ircterm.h,
include/term.h, source/edit.c, source/funny.c, source/help.c,
source/input.c, source/irc.c, source/ircaux.c, source/keys.c,
source/menu.c, source/output.c, source/parse.c, source/screen.c,
source/status.c, source/term.c, source/vars.c, source/window.c,
source/wserv.c:
renamed term.h to ircterm.h so that it wouldn't conflict
with <term.h>. fixed test for term.h (sigh).
Tue Sep 5 07:30:14 CDT 1995 - scott reynolds <scottr@og.org>
Makefile.in, configure, configure.in, source/Makefile.in:
Move burden of generating vars.h, hook.h, and keys.h to
developers.
include/Makefile.in:
Added.
include/vars.h, include/hook.h, include/keys.h:
Generated and added.
Tue Sep 5 21:29:02 EST 1995 - matthew green <mrg@eterna.com.au>
acconfig.h, configure, configure.in, include/defs.h.in, include/irc.h,
source/edit.c, source/input.c, source/irc.c, source/ircio.c,
source/menu.c, source/output.c, source/parse.c, source/scandir.c,
source/screen.c, source/status.c, source/term.c:
quell some gcc warnings under solaris 2.
Sun Sep 3 13:22:38 CDT 1995 - scott reynolds <scottr@og.org>
include/ctcp.h, include/debug.h, include/hook.h.proto,
include/output.h, include/server.h, include/whois.h:
Don't try using '...' in prototypes unless __STDC__ is
defined. Takes care of some brain-damaged stock compilers
on otherwise ANSI-aware systems. In particular, this
takes care of HP-UX 9 and, presumably, SunOS 4 systems.
2.8.10
Sun Sep 3 23:41:33 EST 1995 - matthew green <mrg@eterna.com.au>
include/alias.h, include/exec.h, include/irc.h, include/list.h,
include/menu.h, include/names.h, include/screen.h, include/status.h,
include/struct.h, include/whois.h, include/window.h, source/alias.c,
source/crypt.c, source/ctcp.c, source/dcc.c, source/edit.c,
source/exec.c, source/help.c, source/history.c, source/hook.c,
source/ignore.c, source/irc.c, source/ircaux.c, source/ircio.c,
source/keys.c, source/lastlog.c, source/list.c, source/mail.c,
source/menu.c, source/names.c, source/numbers.c, source/parse.c,
source/screen.c, source/server.c, source/stack.c, source/status.c,
source/term.c, source/whois.c, source/window.c, doc/VERSIONS:
fix most of -Wstrict-prototypes, a few more ansi c parameter
promotion fixes (not sure if any are left), up version, fix
a few more warnings, and remove some unused code.
Sun Sep 3 00:16:23 CDT 1995 - scott reynolds <scottr@og.org>
source/edit.c, source/input.c, source/menu.c, source/output.c,
source/parse.c, source/screen.c, source/status.c, source/term.c:
Include <curses.h> if needed.
include/term.h:
Prototype putchar_x() properly.
Sat Sep 2 23:07:56 CDT 1995 - scott reynolds <scottr@og.org>
acconfig.h, configure.in, configure, include/defs.h.in,
source/irc.c, source/term.c:
Test for tputs() declaration in <curses.h>. Rename
USING_CURSES to INCLUDE_CURSES_H, since the new
use of this is a superset of the old.
Sun Sep 3 12:04:35 EST 1995 - matthew green <mrg@eterna.com.au>
source/crypt.c, source/dcc.c, source/debug.c, source/exec.c,
source/hook.c, source/irc.c, source/ircaux.c, source/ircflush.c,
source/ircio.c, source/mail.c, source/menu.c, source/names.c,
source/newio.c, source/screen.c, source/server.c, source/wserv.c,
include/irc.h, include/newio.h, include/debug.h:
move newio.c functions from irc.h to newio.h, and include
this. more prototypes and some style fixes. removed some
unused functions.
Fri Sep 1 10:31:02 CDT 1995 - scott reynolds <scottr@og.org>
source/alias.c, source/dcc.c, source/exec.c, source/keys.c,
source/reg.c, source/vars.c:
Fix some inconsistencies for certain static functions.
Fri Sep 1 09:41:04 CDT 1995 - scott reynolds <scottr@og.org>
include/ctcp.h, include/debug.h, include/hook.h.proto,
include/server.h:
Put some HAVE_STDARG_H lines back that I had deleted
earlier.
include/ircaux.h, source/ircaux.c:
Another ANSI prototype.
Thu Aug 31 08:20:54 CDT 1995 - scott reynolds <scottr@og.org>
include/ircaux.h, include/screen.h, include/whois.h,
include/window.h, source/edit.c, source/ircaux.c,
source/notice.c, source/notify.c, source/screen.c,
source/stack.c, source/status.c:
More ANSI prototyping.
Wed Aug 30 23:00:41 CDT 1995 - scott reynolds <scottr@og.org>
include/alias.h, include/crypt.h, include/ctcp.h, include/dcc.h,
include/debug.h, include/edit.h, include/exec.h, include/flood.h,
include/funny.h, include/help.h, include/history.h, include/hold.h,
include/hook.h.proto, include/if.h, include/input.h,
include/ignore.h, include/irc.h, include/ircaux.h, include/keys.h,
include/lastlog.h, include/list.h, include/log.h, include/mail.h,
include/menu.h, include/names.h, include/notify.h,
include/numbers.h, include/output.h, include/parse.h,
include/queue.h, include/screen.h, include/server.h,
include/stack.h, include/status.h, include/term.h,
include/translat.h, include/vars.h.proto, include/whois.h:
Consistency.
Wed Aug 30 12:45:32 CDT 1995 - scott reynolds <scottr@og.org>
include/alias.h, include/dcc.h, include/list.h, include/names.h,
include/notify.h, include/server.h, include/struct.h:
ANSIfy some more prototypes.
source/alias.c, source/ctcp.c, source/dcc.c, source/edit.c,
source/exec.c, source/funny.c, source/history.c, source/hold.c,
source/hook.c, source/if.c, source/ignore.c, source/input.c,
source/irc.c, source/ircaux.c, source/keys.c, source/list.c,
source/menu.c, source/names.c, source/newio.c, source/notice.c,
source/numbers.c, source/output.c, source/parse.c, source/screen.c,
source/server.c, source/status.c, source/term.c, source/vars.c,
source/window.c:
Various ANSI prototype-related cleaning, and some
cosmetics to keep gcc -Wall from complaining.
source/reg.c:
Fix operator precedence problem in _wild_match() and
the way it deals with backslash quoting.
Mon Aug 28 23:08:30 EST 1995 - matthew green <mrg@eterna.com.au>
include/window.h, source/server.c, source/irc.c, source/window.c,
include/irc.h, include/irc_std.h:
finish server group stuff, remove couple more warnings with
proper prototypes.
configure, configure.in:
redo signal processing and make AMS mail smarter.
include/config.h.phone, include/config.h.lynx, include/config.h.old,
include/config.h.lynx:
remove DYNAMIC_SLIP, and, totally remove config.h.old.
Mon Aug 28 17:33:32 EST 1995 - matthew green <mrg@eterna.com.au>
source/server.c, source/window.c, source/keys.h.proto, source/list.h,
source/numbers.h, source/server.h, source/struct.h,
source/vars.h.proto, source/window.h:
add some of the server group stuff. isn't use, but, the
user interface is mostly done. new window commands
addgroup and delgroup exist.
Thu Aug 24 13:13:21 EST 1995 - matthew green <mrg@eterna.com.au>
source/funny.c, source/keys.c, source/server.c, source/status.c:
more casts.
Thu Aug 24 01:41:12 EST 1995 - matthew green <mrg@eterna.com.au>
source/alias.c, source/dcc.c, source/edit.c, source/input.c,
source/lastlog.c, source/newio.c, source/screen.c,
source/server.c, source/status.c, source/keys.c, source/vars.c,
source/window.c, source/if.c:
more ansi function definitions, fix picky compiler
warnings, and fix a few bogons in previous change.
Wed Aug 23 22:50:37 EST 1995 - matthew green <mrg@eterna.com.au>
source/alias.c, source/edit.c, source/hold.c, source/if.c,
source/input.c, source/keys.c, source/menu.c, source/names.c,
source/output.c, source/screen.c, source/term.c, source/window.c,
include/alias.h, include/window.h:
add a lot of ansi function definitions.
Wed Aug 23 21:43:46 EST 1995 - matthew green <mrg@eterna.com.au>
source/window.c:
call window_check_servers() at the end of
window_get_connected() to maybe ensure that all servers are
actually connected.
source/translat.c:
add a couple of ansi function declarations.
2.8.9
Wed Aug 23 13:04:54 EST 1995 - matthew green <mrg@eterna.com.au>
source/server.c:
a quick hack to stop the spinning server loop bug. needs
to be revised.
source/irc.c, doc/VERSIONS:
update.
Mon Aug 14 09:54:10 CDT 1995 - scott reynolds <scottr@og.org>
Makefile.in:
Spelling correction.
include/hook.h.proto, include/keys.h.proto, include/vars.h.proto:
Add ANSI prototypes.
include/edit.h, include/irc.h, include/ircaux.h, include/server.h,
include/term.h, include/window.h:
Clean up and add a few more ANSI prototypes.
source/alias.c, source/edit.c, source/hook.c, source/irc.c,
source/keys.c, source/numbers.c, source/screen.c, source/server.c,
source/term.c, source/vars.c, source/window.c:
First run through gcc -Wall -Wmissing-prototypes. Lots
more needs to be done.
Fri Aug 11 03:53:13 EST 1995 - matthew green <mrg@eterna.com.au>
source/alias.h, source/crypt.h, source/ctcp.h, source/dcc.h,
source/debug.h, source/edit.h, source/exec.h, source/flood.h,
source/funny.h, source/history.h, source/hold.h, source/ignore.h,
source/input.h, source/ircaux.h, source/list.h, log.h,
source/mail.h, source/menu.h, source/names.h, source/notify.h,
source/numbers.h, source/output.h, screen.h, source/server.h,
source/status.h, source/struct.h, source/talkd.h, source/term.h,
source/window.h:
consistancy.
Thu Aug 10 01:43:01 EST 1995 - matthew green <mrg@eterna.com.au>
source/debug.c, source/exec.c, source/flood.c, source/hook.c,
source/ignore.c, source/menu.c, source/names.c, source/notify.c,
source/numbres.c, source/screen.c, source/server.c, source/stack.c,
source/window.c, source/alias.c, source/dcc.c, source/crypt.c,
include/debug.h:
fix prototype warnings and bogons in debug.c with -DDEBUG.
Wed Aug 9 08:50:51 EST 1995 - matthew green <mrg@eterna.com.au>
source/irc.c, source/dcc.c, include/dcc.h:
prototype dcc_check(), and attempt to make non blocking
connects work more sanely.
Tue Aug 8 16:24:27 CDT 1995 - scott reynolds <scottr@og.org>
include/alias.h, include/crypt.h, include/ctcp.h, include/dcc.h,
include/debug.h, include/defs.h, include/edit.h, include/exec.h,
include/flood.h, include/funny.h, include/help.h, include/history.h,
include/hold.h, include/if.h, include/ignore.h, include/input.h,
include/irc.h, include/irc_std.h, include/ircaux.h, include/lastlog.h,
include/list.h, include/log.h, include/mail.h, include/menu.h,
include/names.h, include/notify.h, include/numbers.h, include/output.h,
include/parse.h, include/queue.h, include/screen.h, include/server.h,
include/stack.h, include/status.h, include/struct.h, include/talkd.h,
include/term.h, include/translat.h, include/whois.h, include/window.h,
source/gzip.h:
Add ANSI prototypes to a great many functions.
source/irc.c:
call to set_window_server was missing "all" arg
source/screen.c:
call to dgets() was missing "specials" arg
Tue Aug 8 12:16:25 EST 1995 - matthew green <mrg@eterna.com.au>
source/server.c:
fix a bogon glen left lying around in failed server
connections.
2.8.8
Wed Aug 02 00:57:54 MDT 1995 - glen mccready <glen@qnx.com>
source/irc.c, source/ircaux.c, source/dcc.c, source/screen.c,
source/server.c, include/dcc.h, include/ircaux.h:
mostly working non-blocking connect code
define NON_BLOCKING_CONNECTS
a start at "/server ."
define SERVER_DOT
source/alias.c, source/edit.c, source/exec.c, source/names.c,
source/parse.c, source/stack.c, source/window.c, include/irc.h:
use `zero' and `one' rather than "0" and "1"
use my_stricmp() less to save tolower()ing the string
source/newio.c:
the new_free() mentioned below was necessary
source/notify.c:
the extra test broke /notify
source/if.c, source/reg.c:
cleaned up some warnings
Tue Jul 25 23:29:04 EST 1995 - matthew green <mrg@eterna.com.au>
source/ircaux.c, source/newio.c:
fix typo in ircaux.c.
remove dated ESIX code (read/recv)
make new_close() smarter: doesn't matter if you
call it with -1, and doesn't new_free() the io_rec,
as it's likely we'll want it later anway.
source/dcc.c, source/edit.c, source/file.c, source/flood.c,
source/history.c, source/ignore.c, source/ircflush.c,
ircsig.c, source/lastlog.c, source/list.c, source/log.c,
source/mail.c, source/notify.c, source/reg.c, source/screen.c,
stack.c, source/translat.c, source/vars.c, source/whois.c,
source/wserv.c:
for (;foo;) -> while (foo)
source/ircserv.c, source/ircio.c, source/Makefile.in,
doc/ircII.1, doc/SecureIRC, source/file.c, source/irc.c,
source/server.c, Makefile.in:
renamed ircserv to ircio.
Thu Jul 20 02:45:39 CDT 1995 - christopher williams <cgw@io.com>
source/edit.c:
fix bug in execute_timer() to set to_window
to curr_scr_win
Wed Jul 19 22:57:57 MDT 1995 - glen mccready <glen@qnx.com>
source/ctcp.c, include/server.h:
fix for premature ctcp flood response
Tue Jul 18 23:19:35 CDT 1995 - scott reynolds <scottr@og.org>
configure.in, configure, acconfig.h, include/defs.h.in,
include/irc.h:
check for varargs.h
include/ctcp.h, include/debug.h, include/irc.h,
include/output.h, include/server.h, include/whois.h,
include/hook.h.proto, source/alias.c, source/ctcp.c,
source/debug.c, source/help.c, source/hook.c,
source/ircaux.c, source/output.c, source/server.c,
source/term.c source/whois.c:
use stdarg.h if available.
Tue Jul 18 00:38:02 MDT 1995 - glen mccready <glen@qnx.com>
source/dcc.c:
added dcc rename -chat
Tue Jul 4 23:21:17 CDT 1995 - scott reynolds <scottr@og.org>
configure.in, configure:
general organizational cleanup.
Tue Jul 4 13:47:22 CDT 1995 - scott reynolds <scottr@og.org>
source/term.c, source/output.c:
check for sys/ioctl.h; remove dead code.
Mon Jul 3 23:57:41 CDT 1995 - scott reynolds <scottr@og.org>
source/term.c:
set up termcap before twiddling tty settings.
2.8.7
Sat Jul 1 21:44:20 EST 1995 - matthew green <mrg@eterna.com.au>
source/names.c:
various fixes to previous changes.
configure.in, configure:
portability and style fixes.
Sat Jul 1 21:46:57 EST 1995 - scott reynolds <scottr@og.org>
configure.in, configure, Makefile.in, source/term.c,
acconfig.h:
install help pages with pax/tar/cpio. do termios
stuff as termios/sgtty/termio.
Mon Jun 26 00:17:46 EST 1995 - matthew green <mrg@eterna.com.au>
source/dcc.c:
add errno to dcc send close message.
configure, configure.in:
fix bug in test for unsigned 32 bit int's.
Sat Jun 24 06:23:08 EST 1995 - matthew green <mrg@eterna.com.au>
include/lastlog.h, include/names.h, source/edit.c,
source/irc.c, source/names.c, source/numbers.c,
source/screen.c, source/server.c, source/window.c:
added connected member to ChannelList. reworked
some PHONE/NOPHONE things to be simpler, fix a
couple of memory leaks in names.c
Sat Jun 24 04:31:05 EST 1995 - matthew green <mrg@eterna.com.au>
source/edit.c:
do st_mode in a more sane way.
Thu Jun 22 23:54:57 EST 1995 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/screen,c, source/server.c,
source/window.c:
remove dgets timed out messages. reverse log on
PHONE and call it NOPHONE for most.
source/alias.c, help/alias/functions:
idle() command, and doc for idle and strftime, from
scottr@plexus.com.
help/
added.
Wed Jun 7 23:52:56 EST 1995 - matthew green <mrg@eterna.com.au>
source/crypt.c, source/dcc.c, source/exec.c, source/irc.c,
source/ircaux.c, source/ircserv.c, source/screen.c,
source/server.c:
use new_close() not close().
2.8.6
Wed Jun 7 00:24:34 EST 1995 - matthew green <mrg@eterna.com.au>
source/server.c:
couple of fixes from philippe i missed, and removal
of old junk (local_ip_address).
include/edit.h, include/hold.h, include/input.h,
include/irc.h, include/keys.h.proto, include/menu.h,
include/names.h, include/output.h, include/screen.h,
include/term.h, include/window.h, source/edit.c,
source/hold.c, source/input.c, source/irc.c,
source/keys.c, source/menu.c, source/names.c,
source/output.c, source/screen.c, source/term.c,
source/window.c:
don't ask.
source/irc.c, doc/VERSIONS:
release.
2.8.5
a big thanks to philippe for this version.
Sat May 27 00:02:13 EST 1995 - matthew green <mrg@eterna.com.au>
configure configure.in:
handle space or tab in version grovelling.
source/edit.c:
added phil to info.
source/irc.c, doc/VERSIONS:
release.
Fri May 26 23:55:35 EST 1995 - matthew green <mrg@eterna.com.au>
include/funny.h, include/names.h, include/server.h,
include/window.h, source/alias.c, source/ctcp.c,
source/edit.c, source/funny.c, source/irc.c, source/names.c,
source/notice.c, source/numbers.c, source/parse.c,
source/screen.c, source/server.c, source/status,c,
source/window.c:
a bunch of changes from philippe relating to
windows and servers and channels and other little
things. /window server, channel and bind all work
MUCH better.
2.8.4
Fri May 26 23:54:19 EST 1995 - matthew green <mrg@eterna.com.au>
(actually 19950412)
source/names.c:
fix a buglet in previous.
2.8.3
Tue Apr 11 22:04:49 EST 1995 - matthew green <mrg@eterna.com.au>
source/names.c:
optimise a Hell of a lot of things.
source/server.c:
remove dyanmic slip stuff. we do this a better
way already..
source/names.c, source/server.c, source/parse.c,
source/notice.c, include/names.h:
rework the channel_list to be a server-local thing
(and thus attached to the server_list). this lets
multi-servers work better.
Sun Apr 9 23:20:17 EST 1995 - matthew green <mrg@eterna.com.au>
script/tabkey:
fix to allow nicks with \'s in them work.
2.8.2
Thu Apr 6 00:37:12 EST 1995 - matthew green <mrg@eterna.com.au>
source/names.c:
removed bogus patch.
Tue Apr 4 01:18:47 EST 1995 - matthew green <mrg@eterna.com.au>
source/irc.c:
patch for qnx's select lossage from glen@qnx.com.
2.8.1
Tue Apr 4 01:04:44 EST 1995 - matthew green <mrg@eterna.com.au>
configure.in/configure:
quick patch to fix message on sunos, and autoconf
2.2.
include/names.h, source/names.c:
fix from levan@enstb.enst-bretagne.fr for cached
mode strings and channel limits.
include/window.h, source/edit.c, source/names.c,
source/status.c, source/window.c:
fixes from levan@enstb.enst-bretagne.fr for
various window/server problems.
source/help.c, source/numbers.c:
fixes from levan@enstb.enst-bretagne.fr for dumb
mode and wait prompts. maybe this should be fixed
in add_wait_prompt() instead...
source/edit.c:
update poxaV's address.
source/irc.c:
don't do the notify_list if we aren't connected!
source/notify.c:
fix core dump.
source/screen.c:
fixed select() return value. duh.
source/server.c:
fixes from levan for port stuff. fixes from me
for a stupid core dump that shouldn't happen. we
reset the entire server connection list if we get
this `impossible' case. should warn the user too,
i guess.
2.8
Thu Jan 26 18:13:57 EST 1995 - matthew green <mrg@eterna.com.au>
released to the public.
2.7.3
Tue Jan 24 00:13:28 EST 1995 - matthew green <mrg@eterna.com.au>
configure, configure.in, include/exec.h, include/irc_std.h
source/exec.c:
some fixes for next: major lossage head damaged
i don't know how to organise an operating system
such that it works -or- i'm just a stupid git who
has no idea about standards. you choose.
2.7.2
Sat Jan 21 12:34:02 EST 1995 - matthew green <mrg@eterna.com.au>
source/dcc.c:
always make sure from_server is set in dcc_open.
source/edit.c:
some zcat fixes.
configure, configure.in:
-lc -lposix for NeXT.
2.7.1
Mon Jan 16 20:14:59 EST 1995 - matthew green <mrg@eterna.com.au>
source/server.c, source/edit.c, include/server.h:
added /disconnect.
Mon Jan 16 17:23:38 EST 1995 - matthew green <mrg@eterna.com.au>
source/parse.c:
can't use '\a' on broken compilers. what a pile
of shit they are. found by comstud.
Sun Jan 15 12:14:39 EST 1995 - matthew green <mrg@eterna.com.au>
source/newio.c:
fixed bug caused with /flush sending a null rd
value to new_select(). duh. found by
arnaud.girsch@insa-lyon.fr.
2.7
Thu Jan 12 21:20:04 EST 1995 - matthew green <mrg@eterna.com.au>
2.7 released to the world.
Wed Jan 11 14:16:34 EST 1995 - matthew green <mrg@eterna.com.au>
source/server.c:
fixed for new dgets_errno being -1 for read == 0.
broken strerror() on losing systems.
Tue Jan 10 23:40:24 EST 1995 - matthew green <mrg@eterna.com.au>
source/whois.c:
i hate c. stdarg fixes me and glen bashed into
working.
source/window.c:
doh! thanks glen.
2.6.10
Sat Jan 7 01:30:11 EST 1995 - matthew green <mrg@eterna.com.au>
configure.in:
fixed typo.
NEWS:
updated for 2.7
source/server.c:
fixed bug in dcc send/chat and non-first server
connected to.
include/vars.h.proto, include/keys.h.proto,
include/hook.h.proto:
changed __P macro.
source/ctcp.c source/debug.c source/file.c source/flood.c
source/funny.c source/hold.c source/ircflush.c
source/ircserv.c source/lastlog.c source/list.c
source/menu.c source/notice.c source/output.c source/reg.c:
reformat. nothing else needed now.
2.6.9
Thu Jan 5 17:52:00 EST 1995 - matthew green <mrg@eterna.com.au>
source/vars.c:
fixed losing ansi stuff.
Makefile.in:
added cleandir and realclean targets.
Wed Jan 4 22:44:18 EST 1995 - matthew green <mrg@eterna.com.au>
configure.in, source/help.c, source/mail.c:
updated fully for autoconf 2.x. this could lead
to some breakage. we'll see.
source/edit.c:
make `/topic * foo' work as expected.
source/keys.c, source/term.c:
fixed eight_bit_mode and /bind'ing char's with an
eigth bit set.
2.6.8
Tue Jan 3 01:14:53 EST 1995 - matthew green <mrg@eterna.com.au>
source/
removed all occurances of "index" as a variable.
move the ansi prototype macro from __P() to _()
code "freeze" for 2.7
Mon Jan 2 16:44:10 EST 1995 - matthew green <mrg@eterna.com.au>
source/names.c, source/funny.c, source/parse.c,
include/names.h:
added new method of user joining for irc 2.9 (
JOIN #foo^G[ov]) handling.
Sun Jan 1 21:39:58 EST 1995 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/server.c, include/server.h
added struct in_addr to server structure that is
filled in with getsockname() and is used in dcc
requests.
source/dcc.c:
added idea from mark to show unknown dcc requests.
source/newio.c:
fixed new_select() to call select with the correct
first argument.
2.6.7
Thu Dec 29 22:22:34 EST 1994 - matthew green <mrg@eterna.com.au>
source/Makefile.in:
fixed lossage with wterm dependancies.
source/irc.c:
fixed "irc --" and "irc -q nick" core dumps.
source/input.c:
make transpose chars work at the end of line.
doc/ircII.1:
updated my email address.
2.6.6
Wed Dec 21 20:43:04 EST 1994 - matthew green <mrg@eterna.com.au>
source/Makefile.in:
updated dependancies. (problems pointed out by
daniel carosone).
source/dcc.c:
read in to the *end* of the buffer, dork.
2.6.5
Mon Dec 19 02:57:38 EST 1994 - matthew green <mrg@eterna.com.au>
Makefile.in, configure.in:
some changes as needed for autoconf 2.x.
source/dcc.c, source/window.c, include/dcc.h:
might have fixed the bug with bsd/dcc chat.
2.6.4
Mon Dec 19 01:47:21 EST 1994 - matthew green <mrg@eterna.com.au>
source/irc.c, source/notice.c, include/irc.h:
added -q option for quick startup.
Mon Dec 19 01:32:15 EST 1994 - matthew green <mrg@eterna.com.au>
source/edit.c, source/names.c, source/screen.c,
source/window.c, include/window.h
added 'bind' and 'unbind' window commands.
source/edit.c:
moved NOVICE /part stuff to only be when we are
actually sending a JOIN to the server.
Sun Dec 18 23:00:54 EST 1994 - matthew green <mrg@eterna.com.au>
easyinst:
fixed bug in question asking.
source/server.c:
fixed lossage with /server -delete, reported by
scottr.
source/parse.c:
removed bogus fix from cjs@netcom.com.
source/alias.c:
still fixing chanusers().
source/exec.c:
close all unneeded fd's in /exec now.
source/numbers.c:
try to set the message_from level to the channel
the numeric is about, if we can.
source/screen.c:
move closing in to close_all_screen() so we can
call it for /exec also.
2.6.3
Sun Nov 27 03:16:16 EST 1994 - matthew green <mrg@eterna.com.au>
source/alias.c:
fix for chanusers() from Greg Jarman <amigo@deakin.edu.au>
source/ctcp.c
fix for do_echo() from taner
source/window.c
made default JOIN rather than CHANNEL for /win join
source/parse.c
fix for /server lossage from cjs@netcom.com
source/translat.c:
fix for /set -translation
Sun Nov 27 02:36:23 EST 1994 - matthew green <mrg@eterna.com.au>
source/screen.c, source/vars.c, include/vars.h.proto:
added dave leonard's screen_options stuff, as well
as some bug fixes he found.
Fri Nov 25 16:58:00 EST 1994 - matthew green <mrg@eterna.com.au>
source/dcc.c:
got fix for dcc problems from Scott Johnson
<scottj@neuron.cs.tamu.edu>
Tue Nov 15 01:27:40 EST 1994 - matthew green <mrg@eterna.com.au>
source/dcc.c:
added diagnostic to attempt to observe losing dcc
chat and newer-bsd's. it appears that somewhere
between 2.5 and 2.6.2 it was fixed -- perhaps the
edit.c lossage fixed in 2.6.1.
source/edit.c:
/join now defaults to sending a JOIN command rather
than sending a CHANNEL command... duh!
2.6.2
Mon Nov 14 01:23:44 EST 1994 - matthew green <mrg@eterna.com.au>
source/names.c, source/server.c:
fixed bug avalon found where death of other
servers would cause channel lists to be broken.
source/screen.c:
fully initialised struct timeval for window create.
2.6.1
Tue Nov 08 02:35:r9 EST 1994 - matthew green <mrg@eterna.com.au>
Makefile.in, mkinstalldirs:
removed old garbage, and we now use noah's
mkinstalldirs..
include/help.h, include/if.h, include/queue.h:
added to help fix edit.c lossage.
include/alias.h, include/crypt.h, include/edit.h,
include/exec.h, include/history.h, include/hook.h.proto,
include/ignore.h, include/irc.h, include/keys.h.proto,
include/notify.h, include/parse.h, include/server.h,
include/stack.h, include/parse.h, include/vars.h.proto,
include/window.h, source/alias.c, source/crypt.c,
source/edit.c, source/exec.c, source/help.c,
source/history.c, source/hook.c, source/if.c,
source/ignore.c, source/keys.c, source/match.c,
source/names.c, source/notice.c, source/notify.c,
source/queue.c, source/server.c, source/stack.c,
source/translat.c, source/vars.c, source/window.c,
source/irc.c:
many of the functions in the edit.c command array
were called with three args, but these functions
only took 2 args. all fixed up and prototyped now.
who knows what lossage this caused. found by
diane bruce (db@diana.ocunix.on.ca).
2.6
Tue Oct 18 19:17:49 EST 1994 - matthew green <mrg@eterna.com.au>
script/newformat
does $R processing for stats l output. works only
on the local server, though. from ian.
Mon Oct 17 21:59:21 EST 1994 - matthew green <mrg@eterna.com.au>
source/reg.c:
% was broken in pattern matching. got a fix from
ian and no_nick for this. grumble.
source/server.c, include/config.h.dist
got a patch from ian to make ircii do dynamic
ip number stuff.
2.5
Sun Oct 16 15:45:47 EST 1994 - matthew green <mrg@eterna.com.au>
more general clean up.
2.4
Sun Oct 16 09:48:53 EST 1994 - matthew green <mrg@eterna.com.au>
source/edit.c:
turned on hop's for, fe and fec commands.
Sat Oct 15 13:25:47 EST 1994 - matthew green <mrg@eterna.com.au>
general clean up of everything.
2.3.24
Wed Oct 12 09:24:36 EST 1994 - matthew green <mrg@eterna.com.au>
source/debug.c:
added fixes.
source/irc.c, source/screen.c:
added debugging info in forward_scroll. (not part
of release tree).
source/stack.c:
begun finishing.
Sun Oct 9 16:42:44 EST 1994 - matthew green <mrg@eterna.com.au>
configure.in source/crypt.c source/dcc.c source/debug.c
source/edit.c source/exec.c source/help.c source/history.c
source/hook.c source/ircaux.c source/server.c source/log.c
source/term.c source/whois.c source/window.c source/output.c
source/ctcp.c:
stdarg.h patches from brianc@qnx.com and glen@qnx.com,
plus some other minor fixes. qnx support, also.
Thu Oct 6 22:16:42 EST 1994 - matthew green <mrg@eterna.com.au>
source/server.c:
fixed `bug' in -DPHONE where /window server + was
setting the window level to ALL. eeew.
Mon Sep 26 14:38:17 EST 1994 - matthew green <mrg@eterna.com.au>
source/alias.c:
fix for onchannel() from Scott Reynolds
<scott@lisa.acs.nmu.edu>
2.3.23beta
Sun Sep 4 00:24:13 EST 1994 - matthew green <mrg@eterna.com.au>
source/names.c:
fixed /part bug,and a fix (finally!) for ischanop()
from <cbehrens@iastate.edu>.
source/dcc.c:
fixed bug where you could not dcc send to one person
more than once.
source/screen.c:
fixed resize bug when going to s smaller window and
a line would be cut off. how did this last so long?
Tue Aug 2 00:30:33 EST 1994 - matthew green <mrg@eterna.com.au>
configure.in, include/irc.h, include/term.h, source/scandir.c,
source/term.c:
fixed hpux autoconf problems.
configure now checks that -lresolv actually works,
and doesn't break compiles.
configure doesn't use BSDWAIT if POSIX is defined,
so that newer bsd systems (like netbsd) will use the
POSIX waitpid() stuff, not causes warnings..
Sun Jul 31 21:53:03 EST 1994 - matthew green <mrg@eterna.com.au>
source/dcc.c:
removed debug message, and a fix for DCC_RAW from
jim_bob (jrg@doc.ic.ac.uk).
2.3.22beta
Sun Jul 31 03:07:00 EST 1994 - matthew green <mrg@eterna.com.au>
source/names.c, source/parse.c, include/names.h
fixed ircii not forgetting about remembered channel
modes after the channel has been joined.
source/queue.c, source/notify.c, source/mail.c:
fixed compatibilty problems found with sunos cc.
source/irc.c:
versions.
script/autoop, script/list, script/functions, script/imap,
script/history-match:
fixed autoop & list, cleaned up functions and imap,
added history-match (Daemon).
Tue Jul 26 22:12:42 EST 1994 - matthew green <mrg@eterna.com.au>
source/edit.c, source/alias.c:
getcwd() fixes from cgw.
source/dcc.h, include/dcc.h:
added new member to the client struct, othername.
it's currently only used by dcc_filesend() to save
the name given as well as the full path - so that
/dcc send file nick file works, without giving the
full pathname for 'file'.
2.3.21b
Mon Jul 25 23:27:09 EST 1994 - matthew green <mrg@eterna.com.au>
source/window.c:
window() - added new commands REMOVE, which is the
opposite of ADD, and NUMBER, which changes the refnum
of a window, forcing a swap if needed.
source/ircserv.c:
removed printf()'s. no more lame messages at startup
now.
acconfig.h, configure.in, include/irc.h, source/alias.c,
source/dcc.c, source/edit.c:
configure now checks for getcwd() not getwd(), and
everything now uses getcwd() not getwd().
source/term.c:
cleaned up a bit.
script/uhnotify:
got a fix from taner <taner@ucsd.edu>.
2.3.21a
Sat Jul 23 23:30:53 EST 1994 - matthew green <mrg@eterna.com.au>
source/alias.c:
fixed the broken $, bug introduced from hop's alias.c
changes. blah.
Sat Jul 23 18:37:25 EST 1994 - matthew green <mrg@eterna.com.au>
source/alias.c, include/irc_std.h, source/term.c:
removed sys/param.h, and moved it into irc_std.h.
this was to get the newer bsd's define of BSD4_4
(net/2 defines this as 0.5), which was then used
in term.c to use termios.
source/ctcp.c:
also prints unix version (uname) in ctcp finger
reply.
source/scandir.c:
removed sunos4 readdir_r() stuff. it used to fail
because we were getting the ucblib's readdir() but
not using the right header files.
include/irc_std.h, configure.in, acconfig.h:
added a check for memmove(), which we now use if we
are missing bcopy().
2.3.21
Sun Jul 3 17:03:52 EST 1994 - matthew green <mrg@eterna.com.au>
source/alias.c:
fixed bug that broke /if and chewed cpu time.
2.3.20
Sat Jul 2 17:36:41 EST 1994 - matthew green <mrg@eterna.com.au>
this version was mostly updates from jeremy nelson
(jnelson@iastate.edu), with a few other bits from me.
configure, acconfig.h:
bug fix for signal() test, and check for uname(2).
include/dcc.h, source/notice.c, source/whois.c:
added new hooks ENCRYPTED_NOTICE and
ENCRYPTED_PRIVMSG from hop (jnelson@iastate.edu)
include/names.h, source/names.c:
fixed memory leak in recreate_mode() that hop found,
but patched badly ;). it now caches the string
version of the mode for each channel, in each channel's
channel struct.
source/Makefile.in:
updated dependancies.
source/alias.c:
reworked parser stuff from hop, plus a few new goodies.
source/ctcp.c:
added special parsing of ctcp SED.
added posix uname() handling for ctcp FINGER.
source/help.c:
temporary fix for compressed help pages.
source/hook.c:
added hop's new do_hook() and assiciated routines that
fix the bugs we had in serial numbers.
source/if.c:
added some of hop's if.c hacks
source/ircaux.c:
added hop's stristr() and rstristr() functions.
source/parse.c:
many bug fixes from hop.
source/queue.c:
added hop's queue.c after cleaning it up a bit.
source/whois.c:
various bug fixes from hop and myself.
version 2.3.19 never really existed.
2.3.18
Sun Mar 27 22:41:02 EST 1994 - matthew green <mrg@eterna.com.au>
source/reg.c:
fixed bug in matching where the string ended in \.
found by avalon (avalon@coombs.anu.edu.au)
source/input.c:
fixed bug in transpose characters (avalon).
source/alias.c:
fixed pathetic code for showing aliases.
source/dcc.c:
fixed window level stuff.. bry (b@ctpm.org).
source/hook.c
removing all hooks with a specific serial number
works now (/on #hook 1 -).
source/parse.c, source/numbers.c:
fixed bugs with missing args
2.3.17beta
Mon Mar 21 00:08:15 EST 1994 - matthew green <mrg@eterna.com.au>
source/crypt.c, source/help.c, source/vars.c, source/screen.c,
source/Makefile.in:
fixed security bugs in /help and some /set's and in
/window create.
configure.in:
moved AC_PROG_CPP.
translation/RUSSIAN*:
added this. thanks to dima@demos.su (Dima Ruban)
for these.
Sat Mar 19 00:04:42 EST 1994 - matthew green <mrg@eterna.com.au>
source/window.c:
fixed bug in /on window_kill
source/help.c:
fixed lame bug in freeing nonallocated memory
source/exec.c:
fixed bugs in getpgrp() stuff
source/dcc.c:
dcc requests with the port < 1024 are now rejceted.
source/scandir.c
hopefully got the solaris 2 stuff right here. i
hate solaris 2.
2.3.16beta
Thu Feb 3 20:11:11 EST 1994 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
fixed stupid bug
source/parse.c:
fixed window level problems.
2.3.15beta
Tue Feb 1 19:18:23 EST 1994 - matthew green <mrg@eterna.com.au>
source/config.h:
updated for the beta release.
source/scandir.c:
memory leak fixes, and solaris fixes.
source/status.c:
'mode k' bug fixed. any non printables chars are now
hanlded properly in the status line..
Mon Jan 17 18:48:54 EST 1994 - matthew green <mrg@eterna.com.au>
source/parse.c:
fixed the level of topic changes
source/server.c, source/notice.c:
fixed resending away's on reconnect/changing servers.
source/notify.c:
made `notify -' delete all the nicks in the list.
Sun Jan 9 22:47:09 EST 1994 - matthew green <mrg@eterna.com.au>
source/ctcp.c:
fixed ctcp flooding so that we don't see multiple
`ctcp flood from nick'.
source/whois.c:
added notify_mark() all for 401.
source/screen.c, source/wserv.c, include/screen.h:
added the ttyname stuff, but aren't using it yet.
source/alias.c:
fixed stupid bug in alias parsing that gave core dumps.
how this lasted this long i have no idea.
source/dcc.c:
remove the broken-dcc-times stuff, and now we just use
the anal-ultrix stuff.
source/parse.c:
added message_from() things for p_channel().
source/stack.c, source/stack.h:
played some more. things actually compile again here,
but nothing new works.
2.3.14
Wed Jan 5 22:43:08 EST 1994 - matthew green <mrg@eterna.com.au>
source/notify.c, source/notice.c, source/parse.c, source/whois.c,
source/vars.c, include/config.h*, include/vars.h.proto,
include/notify.h
added notify_handler variable.
source/irc.c:
fixed bug in /wait. god, what a stupid bug.
Sun Jan 2 02:36:11 EST 1994 - matthew green <mrg@eterna.com.au>
source/scandir.c:
fixed for readdir_r() with solaris 2. thanks to
Travis L Priest <T.L.Priest@LaRC.NASA.GOV> for this one.
source/names.c:
fixed sending of modes to server on rejoin.
source/alias.c:
fixed bug in $N where from_server != current_screen->
current_window->server.
source/ctcp.c:
made `ctcp time' more `date' like.
source/window.c:
made continued line be up to 1/2 the screen.
Thu Dec 30 23:47:01 EST 1993 - matthew green <mrg@eterna.com.au>
source/unotify:
updated to not show UNKNOWN crap.
source/help.c:
fixed set help_window. i hate help.c
source/numbers.c:
changed reset_nickname() etc to not have more than
one `Nickname:' prompt waiting at a time.
Wed Dec 29 01:08:13 EST 1993 - matthew green <mrg@eterna.com.au>
script/uhnotify:
added new script to do cached userhost lookups for
notify.
2.3.13
Tue Dec 28 03:26:13 EST 1993 - matthew green <mrg@eterna.com.au>
source/edit.c:
userhost() - now lets any number of nick's for -cmd.
configure.in:
fixed lame bugs in 2.3.12 that prevented it from
even compiling.
2.3.12
Fri Dec 24 00:50:11 EST 1993 - matthew green <mrg@eterna.com.au>
source/vars.c, source/whois.c, source/notify.c, source/parse.c
include/vars.h.proto, include/notify.h:
added notify stuff from checking join's, etc.
source/help.c
fixed typo-bug.
source/edit.c, source/server.c:
added /clear -unhold
Wed Dec 22 23:30:15 EST 1993 - matthew green <mrg@eterna.com.au>
source/exec.c, configure.in, acconfig.h:
finished svr3/twg patches, fixed the UNIX_MAIL stuff,
finished the auto-grok signals for exec.c.
2.3.11c
2.3.11b
source/server.c:
fixed all known bugs in server.c ;-)
2.3.11a
Thu Dec 2 21:05:56 EST 1993 - matthew green <mrg@eterna.com.au>
source/server.c:
added extra debugging to dgets stuff.
2.3.11
Thu Dec 2 01:50:31 EST 1993 - matthew green <mrg@eterna.com.au>
source/dcc.c, source/exec,c, source/irc.c, source/server.c
source/newioc, source/screen.c:
fixed lame bug's introduced in 2.3.9 that caused
bogus server connections closing.
2.3.10
Sun Nov 28 13:15:14 EST 1993 - matthew green <mrg@eterna.com.au>
source/exec.c:
fixed POSIX kill(-pid).
Mon Nov 15 23:32:22 EST 1993 - matthew green <mrg@eterna.com.au>
source/crypt.c source/exec.c source/file.c source/help.c
source/irc.c source/ircaux.c source/ircflush.c source/log.c
source/mail.c source/notice.c source/parse.c source/scandir.c
source/term.c include/irc.h:
svr3/wollongong tcp/ip patches applied from entropy
(entropy@parakeet.con.wesleyan.edu)
2.3.9
Mon Nov 15 00:58:56 EST 1993 - matthew green <mrg@eterna.com.au>
source/..:
various fixes to remove the `stricmp' stuff so that
ircii always uses its own `my_stricmp'
source/server.c, source/parse.c, source/window.c:
fixed bug where ircii wouldn't let you /server after
a oper kill. removed the kludge `CLOSING_SERVER'
code (oops, for got to remove the #define from server.h
oh well).
source/irc.c:
fixed notify/clock scheluding.
Tue Nov 2 21:17:59 EST 1993 - matthew green <mrg@eterna.com.au>
source/exec.c, include/irc.h:
exec.c defines IN_EXEC_C so that in include/irc.h we
don't include unistd.h
source/dcc.c, source/ircserv.c, source/ircaux.c, source/newio.c
added set_socket_options() which either calls the
ESIX mark_socket() thing, or sets off linger and sets
keepaline and reuseaddr on.
2.3.8
Mon Nov 1 00:45:13 EST 1993 - matthew green <mrg@eterna.com.au>
source/edit.c:
added /beep command which just beeps the terminal.
source/edit.c, source/keys.c:
added rbind command that is a reverse bind lookup.
`/rbind parse_command' shows all keys bound to
parse_command.
source/status.c:
fixed problem with alarm clock (shulick@indiana.edu)
source/irc.c:
handlers for SIGHUP/SIGTERM that call irc_exit().
Sun Oct 31 18:01:12 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/server.c:
fixed bug where primary_server was -1 and used as an
index.
source/vars.c, source/hook.c, source/edit.c, source/alias.c,
source/keys.c, source/notice.c:
changed the way /save works. you can use -bind -on
-alias -digraph -set -notify to save just those types
(default is all of them), and the -all switch also
saves things that were generated by the global script.
these are not saved by default.
Sun Oct 31 05:10:14 EST 1993 - Matthew Green <mrg@eterna.com.au>
configure.in:
updated for autoconf 1.7, couple of other small
bugs fixed
source/vars.c, include/vars.h.proto:
added REALNAME varaible.
2.3.7
Sun Oct 24 21:47:10 EST 1993 - Matthew Green <mrg@eterna.com.au>
too many to remember. many bugs fixed. hide_private_channels,
mode #foo +l 0, away when changing servers. on connect now has
the port. added posix signals when avaliable. more real svr4
support. various little bits of other peoples patches added
where still needed.
2.3.6
Mon Oct 4 02:37:27 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/status.c:
yay!!!!!! fixed the `cursor gets lost with /window
create' bug finally. added a cursor_to_display() in
update_status().
source/alias.c:
new funcitons pid() and ppid() (and thus function_pid()
and function_ppid()).
Sat Sep 25 20:13:38 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/server.c:
fixed the long know bug in bad link on /server. also
fixed setting of closed fd to -1.
Sun Sep 5 23:52:39 EST 1993 - Matthew Green <mrg@eterna.com.au>
easyinst:
shell script from end to configure that also sets up
the default server and default help service.
source/, include/
removed `SCO' and replaced it with either `M_UNIX' or
with `HAVE_SYS_UN_H'.
source/dcc.c:
now shows the port as well as the ip address.
Thu Aug 26 00:09:11 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c, source/window.c, include/lastlog.h:
fixed bugs in 2.3.3 relating to window level LOG_DCC.
LOG_DCC is back in level LOG_ALL 'cause now only one
window can have it at once.
oh god i am so lame. fixed /dcc get bug.
configure.in:
added tests for testing getpgrp() to grok non-posix
getpgrp() regardless what <unistd.h> says.
2.3.3
Sun Aug 22 18:29:21 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/, include/irc.h
removed all occurances of the lame null() macro.
2.3.2
Sun Aug 1 02:25:21 EST 1993 - Matthew Green <mrg@eterna.com.au>
configure.in, source/Makefile.in, Makefile.in
no longer creates source/Makefile from
source/Makefile.proto, but rather configure does. we
call the make in source/ with the righ aruments.
source/, include/dcc.h, include/irc.h
general clean up with some header files, fixed time.h
and sys/time.h, netinet/in.h (thanks 386bsd for broken
header files)..
Wed Jul 28 23:39:51 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/stack.c:
fixed stack pop on <number> so that the list from the
stack is actually added to the numeric list, if it was
empty, currently.
Tue Jul 27 23:59:45 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ctcp.c:
fixed bugs in send_action() where it was sending the
message as the format string, and in do_sed() where it
was calling crypt_msg() with a null key.
2.3.1
Sat Jul 24 03:47:26 EST 1993 - Matthew Green <mrg@eterna.com.au>
script/dmsg
added this finally..
2.3.0
Sun Jul 18 04:36:04 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c:
fixed lame bug with the dcc deadlists.
source/ircaux.c:
null() -=> NULL
2.3beta1.9
Mon Jul 12 20:43:55 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/stack.c source/hook.c, include/stack.h:
got /stack working with on's. yay
configure.in, Makefile.in, acconfig.h:
updated for use with autoheader, acconfig.h added for
this purpose (thanks noah). defs.h is much nicer than
-DBLAH all the way across the screen.
source/scandir.c, configure.in:
whole thing put in a #ifdef HAVE_SCANDIR, that is grokked
in configure ..
2.3beta1.8
Sat Jul 10 13:11:48 EST 1993 - Matthew Green <mrg@eterna.com.au>
configure.in, Makefile.in:
fiddled with, added questions for DEFAULT_SERVER and
DEFAULT_HELP_SERVICE, unused so far..
source/dcc.c, source/edit.c, source/numbers.c:
fixed some level things.
source/edit.c:
made NUMBER_OF_COMMANDS groked automatically..
2.3beta1.7
Sun Jul 4 19:49:36 EST 1993 - Matthew Green <mrg@eterna.com.au>
NeXT port for 2.3 .. cleaned up all the .. `suggest parentheses'
warnings from gcc -Wparentheses ..
2.3beta1.6
Thu Jul 1 23:06:14 EST 1993 - Matthew Green <matthew@valiant.vut.edu.au>
hpux/osf1/sgi/osx/ptx stuff for 2.3 ..
2.3beta1.2
Tue Jun 29 14:14:29 EST 1993 - Matthew Green <mrg@eterna.com.au>
.. added gnu's autoconf to ircII, it works for sunos, and mostly
for sgi so far ..
2.2.9
Tue Jun 29 00:05:04 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/newio.c;
new_select() - once again, linux proves to be painful.
previous `fixes' to this routine were lame, and leaked
memory.
2.2.8
Sat Jun 26 14:45:10 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/hook.c:
fixed stupid bug in do_hook() which ignored the last
/on in each list.
2.2.7
Sat Jun 26 05:15:35 EST 1993 - Matthew Green <mrg@eterna.com.au>
.. clean up for release ..
Fri Jun 18 12:25:18 EST 1993 - Matthew Green <mrg@eterna.com.au>
.. various bugs for dynix/ptx, linux, hpux .. fixed.. general
clean up for the release.
(2.3beta1.1)
Sun Jun 13 01:10:07 EST 1993 - Matthew Green <mrg@eterna.com.au>
Wow. ircII is now under RCS.
2.2.7pre2
Fri Jun 11 03:44:25 EST 1993 - Matthew Green <mrg@eterna.com.au>
ctcp.c:
do_finger() - fixed type for replies for daemon clients..
server.c:
server() - fixed setting of away's, was causing core dumps,
and general lossage.
Wed Jun 9 23:30:33 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/server.c:
fixed sending AWAY's when reconnecting.. by adding the
: prefix..
(2.3beta1.0)
Wed Jun 9 00:20:19 EST 1993 - Matthew Green <mrg@eterna.com.au>
the lot,
gah, huge clean up. changed the lame alpha `port' Long
stuff back to long, and started using the types for lots
of things.. like time_t, etc..
created include/ and moved every header in here.. major
changes to source/Makefile.proto for this..
added debug.c and debug.h.. and debug define to config.h
Wed Jun 2 23:07:25 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/term.c, source/irc.c:
added support to reset signal handlers under ESIX.
source/edit.c, source/server.h, source/server.c:
made /redirect smarter about if it needs to wait on
server output, by setting something in send_to_server(),
that is checked after the end of the parse_line() in
redirect().
source/dcc.c:
fixed varoius DYNIX/ptx problems that got introduced..
source/window.c:
create_additional_screen() - close() and unlink() when
the create fails...
Tue Jun 1 23:41:08 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/term.c:
term_cont() - added signal for linux..
2.2.7pre1
Tue Jun 1 20:00:02 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/vars.c, source/edit.c:
Changed the way EIGHT_BIT_CHARACTERS works so that if you
set it, its honoured.
source/ctcp.c:
fixed UTC bug.
source/, Makefile.
Added patch from Fuzzy to give SCO UNIX support.
<adrian@cursci.co.uk>
Sun May 30 01:36:18 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/help.c:
fixed the linux/help bug finally. not exactly sure what
was wrong with it, but Veep <eric@blahrvares.er.usgs.gov>
found the problem, and i fixed it.
Fri May 28 23:10:47 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/parse.c:
p_privmsg() - fixed beep_when_away with /on msg..
Thu May 20 03:25:57 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/irc.c:
irc_io() - when reading from stdin (for any screen) we
read up to BIG_BUFFER_SIZE chars at a time now.
source/ctcp.c, source/dcc.c:
added sizes to dcc send/get.
source/names.c:
decipher_mode() - bug with loosing track of mode string
for mode's v and b (Aiken).
source/alias.c:
added randm(), a better random function (Sarayan) and
fixed bug in function_srand() if input was an empty
string.
source/edit.c:
load() - now allows \ at the end of a line to continue
the line (Stargazer <spz@specklec.mpifr-bonn.mpg.de>)
Tue May 18 01:20:50 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/numbers.c:
stupid stupid stupid bug in 433 handling fix.
source/screen.c:
over zealousness with unsigned char's removed.
2.2.6+
Wed May 12 20:39:01 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/numbers.c:
fixed various bugs in the handling of some of the more
important numerics. every numeric should be able to
be caught in a /on now.
source/notice.c:
parse_server_notice() - if from is null, use the server's
name as far as its concerned, if it exists (.itsname).
source/screen.c:
change the handling of lines that are null being written to
the screen, that was causing core dumps in places. (Rogue_F)
source/keys.c:
write_bindings() - changed char to unsigned char.
Fri May 7 22:54:58 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/names.c:
blah, fixed show_channel() to not assume buffer isn't
changed ever.
Thu May 6 04:41:24 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/numbers.c, source/parse.c, source/funny.c:
fixed some numerics that were in accessable from /on
<num> (353 and 366), and removed the away-time from
the /on msg hook.
script/finger:
updated so it doesn't cause core dumps on AIX (Daemon)
install:
updated to work with the new config.h (Daemon)
Wed May 5 21:43:35 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/new_io.c:
new_select() - if timeout == NULL, then we bzero() the
newtimeval .. stops ircserv from hanging... thanks to
Kenny Zalewski <zalewk@rpi.edu> for this.
2.2.5
Tue May 4 17:12:03 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/keys.h.proto, source/keys.c, source/screen.c
Added new binding SCROLL_START, and new function
scrollback_start() to do it.
source/ircaux.c:
check_nickname() - fixed bug where it was returning `s'.
Tue May 4 02:11:02 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/exec.c:
various patches from avalon added to help speed up
exec handling.
Mon May 3 21:32:49 EST 1993 - Matthew Green <mrg@eterna.com.au>
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh.
Turning bold or inverse off turns everything off. its a bug in
termcap. sigh.
Mon May 3 01:26:18 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/irc.c:
added HPUX and linux to the re-issue list for signals
that are handled seeing the internal process handlers
aren't always re-set properly -=> ^C making the client
exit untimely.
Sun May 2 23:06:08 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/parse.c, source/notice.c, source/ignore.c, source/ignore.h:
changed the handling of ignore_combo, introducing
a new function double_ignore().
source/parse.c, source/ignore.c
moved IgnoreCombo() into ingore.c from parse.c and
renamed it ignore_combo()
source/window.c, source/screen.c, source/dcc.c:
removed netinet/in.h and arpa/inet.h includes where they
existed as dcc.h includes them, and 386BSD has lame
header files.
source/pares.c:
p_nick() - if its mynick then its shown to the current
window.
source/lastlog.c:
lastlog() - added -literal switch.
Sun May 2 05:03:27 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/names.c, source/names.h:
Added channels keys to the channel stuff, and it also
gets shown in the mode returned.
source/numbers.c:
Fixed bug in 002 handling with SHOW_NUMERICS on.
Fri Apr 30 18:48:04 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ircux.c:
check_nickname() - rewritten, and handles things better.
source/irc.c:
parse_args() - we now call check_nickname() to make
sure the nick given is "ok". If not, we don't start.
Wed Apr 28 19:55:43 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ctcp.c:
fixed bug in ctcp ping reply.
source/parse.c, source/edit.c:
prefixed duplicate funcion names with p_ and e_.
source/screen.c:
fixed lame bug in add_to_window() where the arguments
to strmcat() were wrong. (wall privmsg quit channel
invite nick)
source/keys.c:
added emacs bindings to 0x80 + b/d/f/h/^? for people
with meta keys.
source/keys.h:
removed. wasn't used anywhere.
source/dcc.c:
DCC connections are now shown with the ip number, to
provide a little extra security (Avalon).
Tue Apr 27 02:33:03 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c:
"blah". fixing put_it() et al, didn't fix the lame
ultrix float bug after all. stupid ultrix.
2.2.4
Mon Apr 26 12:01:58 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ctcp.c:
fixed lame bug in do_atmosphere() that was making channels
leave windows because of a missing 2nd argument to
is_current_channel().
2.2.3
Mon Apr 26 00:42:21 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/screen.c, source/irc.h, source/irc.c:
added new global variable, char global_all_off[] that
holds a string with the ALL_OFF character in it. Fixes
bug with crap getting on the screen.
source/Makefile.proto:
Added dependancies for crypt.o.
pre2.2.3
Sun Apr 25 11:17:29 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/exec.c:
fixed lameness with wait3() arguements.
source/screen.c:
added a `:' to the send_to_server() call when redirecting.
makes it so that 2.8 servers get everything.
Sun Apr 25 01:35:35 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/
blah. fixed several problems in lots of stupid things
i did for the release.
source/screen.c, source/status.c, source/irc.h:
changed bold, inverse and underline characters to
^B, ^V and ^_ respectively. wow. it makes some sense
now.
Makefile:
Some rearrangements, and general updating. its now
easier to install, or at least i hope so.
config.h:
several things updated, AUTO_RECONNECT removed..
2.2.2
Fri Apr 23 05:44:29 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/
fixed all of the implicit functions declartions, and
several other compiler warnings. wheeeeeeeeeee.
Thu Apr 22 14:42:07 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/numbers.c:
fixed handling of RPL_LINKS (364) so that 2.8 servers
would be cool.
Thu Apr 22 04:18:53 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/
fixeds 1000's olf lines of warnings from gcc -Wall.
Tue Apr 20 22:29:05 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/term.c:
fixed lame hpux bugs, got term.c back to working again.
source/keys.c, source/edit.c:
fixed 8-bit stuff again in edit_char(), by using
unsigned char.
pre2.2.pl12
Mon Apr 19 21:54:09 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/term.c:
blah. i hate sun tty drivers. we're back to sgtty.
Sat Apr 17 21:28:42 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/alias.c, source/alias.h, source/parse.c, source/ctcp.c,
source/dcc.c, source/dcc.h, source/edit.c, source/edit.h,
sourec/exec.c, source/flood.c, source/help.c, source/history.c,
source/irc.c, source/irc.h, source/ircaux.c, source/log.c,
source/mail.c, source/notice.c, source/scandir.c, source/server.c,
source/status.c, source/whois.c, source/dcc.c.orig, source/screen.c:
Added OSF/1 support. Made `long' a define, Long.
source/output.c, source/ctcp.c, source/server.c, source/hook.c:
put_it(), say(), yell(), send_to_server(), do_hook(),
send_ctcp() and send_ctcp_notice() - changed from being
`int' to `char *' being passed. Fixes several lame
problems.
Thu Apr 15 17:09:16 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/whois.c:
whois_operator() - fixed 313 reply, so that 2.8
servers look cool.
source/numbres.c
cannot_join_channel() - now switch on -current_numeric,
not current_numeric.
source/term.c:
Changed terminal handling from sgtty to termios for
SUNOS.
Tue Apr 13 13:39:09 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ctcp.c:
fixed various bugs with ctcp floods,
source/
fixed lots of compiler warnings, thanks to Vesa.
pre2.2.2pl10
Mon Apr 12 18:39:55 EST 1993 - Matthew Green <mrg@eterna.com.au>
all:
fixed various .h and .c files, removing a few compiler
warnings.
source/alias.c:
changed $channels() and $servers() to $mychannels and
$myservers().
source/edit.c:
Added new command XTYPE [-LITERAL] <text>, function
xtypecmd().
Mon Apr 12 03:26:44 EST 1993 - Matthew Green <mrg@eterna.com.au>
Makefile, source/Makefile.proto
Added LEX and LEXLIB.
Sat Apr 10 02:42:55 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c;
close_all_dcc() - fixed bug where the list was merely
being lost, not removed (so not closing fd's)
pre2.2.2pl9
Fri Apr 9 02:27:26 EST 1993 - Matthew Green <mrg@eterna.com.au>
Makefile, source/dcc.c:
Added PTX patches.
source/exec.c, source/edit.c, source/screen.c:
changed test_to_process() to have switch if it would
call put_it() or not - fixed recusive bug with /redirectign
to a process.
Thu Apr 8 01:17:41 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/server.c:
Fixed /window server, and /server so that ircii would
use the old port numbers.
Wed Apr 7 13:31:23 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/hook.c:
Made save_hooks() include the serial number.
source/edit.c:
parse_line() - \r and \n are not treated as special from
within a loaded script anymore.
pre2.2.2pl8
Tue Apr 6 23:37:27 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/history.c:
Fixed history scrolling from the initial input line.
source/server.c:
Fixed bug in server -delete where Window->server's
were left the old value.
source/mail.c:
Made it so mail type messages go to level CRAP.
soucre/alias.c:
Added poxaV's curpos patch.
source/edit.c:
Changed /WAIT to use unknown command, not WHOIS.
pre2.2.2pl7
Tue Apr 6 01:01:46 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/notice.c:
fixed lame bug where the server version/name NOTICE was
being shown twice.
source/numbers.c:
Added lastlog saving to all numeric messages.
source/mail.c:
init_mail() - fixed handling of env var MAIL where it was
strcat()ing not strcpy()ing (Glenn!)
source/status.c:
Added Aiken's right justification patch to the status
line (%>).
source/screen.c, source/window.c, source/window.h:
Fixed lame bug where I'd left variables in screen.c and
window.c.
source/?:
Added various things from Lynx.
Mon Apr 5 05:15:16 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/numerics.c:
made numerics 471 473 474 475 476 show what sort of
cannot join channel they are.
source/whois.c:
made 313 replies (whois operator) only add the
"(is an IRC operator)" if the server is < 2.8.
Tue Mar 30 03:58:27 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c, Makefile:
Added support for A/UX, thanks to Helen Rose for help
with this (hrose@eff.org).
pre2.2.2pl6
Tue Mar 30 02:02:22 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/term.c, source/term.h:
changed various things for hpux terminal emulation. .now
uses sysV style (termio). Fixes problem with getting
info about the terminal out of the tty. Also added
support for irix.
pre2.2.2pl5
Mon Mar 29 18:50:25 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/window.h, source/screen.c, source/screen.h
source/names.c, source/lastlog.c, source/hold.c, source/exec.c,
source/translat.c, source/term.c, source/status.c, source/menu.c,
source/irc.c, source/input.c, source/help.c, source/edit.c,
source/alias.c
window.c was split into window.c and screen.c today, and
these files had various changes to fit to this.
Mon Mar 29 01:13:30 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/count.l, source/count.c, source/Makefile.proto:
Added count.l, removed count.c, and updated Makefile.proto
to use these changes.
source/irc.c, source/dcc.c, source/exec.c
Fixed close_all_dcc(), and close_all_exec(). Added
signal handlers for SIGUSR1 (sig_user1) and SIGUSR2
(sig_user2). USR1 closes all dcc and exec connections,
and USR2 uses setjmp()/longjmp() to break out of where
it is, and start processing from irc_io() again. USR2
doesn't seem to work. sigh.
pre2.2.2pl4
Sat Mar 27 04:18:29 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c:
fixed lame bugs for some commands losing parameters.
source/window.h, source/window.c:
Fixed bugs in scroll functions where wrong lines were
displayed when new lines had been added to the window.
New Window element int new_scrolled_lines.
source/server.c:
fixed ircserv to show the real name of the program in
argv[0], not "ircserv".
source/edit.c:
Fixed handling of literal ^J and ^M's to the way they were
originally documented in UPDATES (the same as \n used to do).
source/hook.c:
ugh, do_hook(). added a bzero(). see comments. ha ha ha.
source/lastlog.h:
Added LOG_SNOTE to LOG_ALL.
Thu Mar 25 23:58:58 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ctcp.c, source/parse.c:
Finished the ignore ctcps and crap stuff.
source/parse.c:
ON PUBLIC has $1 as channel, and $2- as message.
Thu Mar 25 02:19:04 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c:
fixed send_com() so that it would only use "%s :%s" when
the argument existed.
source/ignore.c, source/ignore.h:
changed level from unsigned char to int, to allow more than
8 level's of ignore to work. Reformatted the output ..
Wed Mar 24 19:57:03 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/numbers.c:
Fixed motd numerics for 2.8 properly..
source/vars.h.proto, source/vars.c, config.h, config.h.lynx:
Added new variable NOTIFY_LEVEL, which is used by default
for new windows.
source/edit.c:
Fixed bug in quote(), where the arguement was being sent
as the format string. Real dumb.
source/ctcp.c, source/ignore.c, source/ignore.h, source/lastlog.c,
source/lastlog.c:
Added ignore levels CTCP and CRAP.
Tue Mar 23 01:58:34 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c, source/numbers.c, source/window.c, source/whois.c,
source/irc.c:
Changed redirect to use unknown command, and fixed some
strange bugs. Some still exist with 2.8 servers. Also
made all numerics work with /on <num>. Some (318 eg)
didn't have hook code for it.
source/input.c:
Fixed lame bug in write a character to the screen.
Mon Mar 22 02:24:43 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/window.h:
Added window notify levels, with /window notify_level
level ..
source/vars.h.proto, source/vars.c, source/window.c, source/keys.c,
config.h, config.h.lynx:
Added two new variables, XTERM_OPTIONS, whose value is
passed to xterm, when using WINDOW CREATE, and
EIGHT_BIT_CHARACTERS, which, if set, doesn't strip the
8th bit off the input streams.
source/alias.c, source/names.c, source/names.h, source/server.c,
source/server.h:
Added new functions $channels() and $servers().
Sun Mar 21 02:31:25 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c:
privmsg() - changed so that /msg =nick and @nick both
set from_server to -1.. fixes lame level bug..
Sat Mar 20 02:16:34 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c:
window() - made /window server make the window level
ALL -DCC, not just ALL.
source/numbers.c:
Fixed the INFO and MOTD numerics so that they will work
with the new ones from ircd 2.8-7+ .. blah ..
source/newio.c:
new_select() - fixed so that select() wouldn't over right
the struct timeval...
Fri Mar 12 18:27:31 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c:
send_com() - wasn't prefixing the arguements with a
: which meant ircd 2.8 was being lame ... For some
commands, using send_comm()
Mon Mar 8 10:22:03 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/exec.c:
fixed bug in /exec -in
source/server.c:
added support for /server -delete
source/edit.c, source/keys.c:
Added support for 8 bit input.
source/irc.c:
Added command line option -v, version.
2.2.1.2
Sun Feb 28 13:35:19 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/whois.c:
add_to_whois_queue() - finished fixing another bug in
/userhost -cmd..
source/names.c:
ignore() - made /IGNORE use the HIGHLIGHT_CHARACTER.
reconnect_all_channels() - fixed bug from 2.2.1
2.2.1.1
Wed Feb 24 17:43:55 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/whois.c:
Fixed bug in /userhost.
source/parse.c:
Fixed bug in ON RAW_IRC.
Tue Feb 23 18:56:54 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/reg.c:
Fixed bug in \escaping. (Troy)
Sun Feb 21 16:36:22 EST 1993 - Matthew Green <mrg@eterna.com.au>
script/troy, script/killpath, script/kpstat, script/traces:
Updatd scripts for 2.2.1.
Sat Feb 20 00:36:12 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c, source/irc.c
Finally did The Right Thing (tm) with the wait key junk
that help uses, and moved it from irc_io() to edit_char()
where I should have put it originally. Also fixes a bug
in dumb mode.
Thu Feb 18 01:48:05 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/window.h:
window() - added new command LOGFILE for window logging.
source/dcc.c:
We now use wait_new_free() for dcc_erase().
Makefile:
Removed makehelps and changed installhelp.
Wed Feb 17 06:13:34 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/notice.c:
changed ON SERVER_NOTICE for $0 to be the server name.
Changed the AIX_370 #if's to BROKEN_SCANF.
source/ctcp.c:
Fixed bugs in CTCP PING.
source/edit.c:
Fixed bugs in me() and describe().
Thu Feb 11 14:57:10 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/server.c:
do_server() - actually fixed the autoreconect problems
when there is only one server in the server list this
time. ugh.
config.h, source/vars.h.proto, source/vars.c, source/parse.c
Added new variable SHOW_WHO_HOPCOUNT, whoreply().
Wed Feb 10 19:53:32 EST 1993 - Matthew Green <mrg@eterna.com.au>
script/whowas
New whowas script for 2.2 from Mycroft.
source/ctpc.c
Fixed NO_CTCP_FLOOD, changed do_errmsg() to do_echo(),
and moved do_ping() to this, and added CTCP ECHO.
Numerous other bugs fixes from various people.
2.2
Tue Feb 9 16:46:39 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c, source/scandir.c, source/help.c, source/edit.c:
couple of bugs fixes here and there ...
source/edit.c:
bug in who() with -operator switch..
Sun Feb 7 17:35:03 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/server.c, source/edit.c;
Fixed away bugs..
source/window.c:
update_all_status() - doesn't call traverse_all_windows()
anymore, as it was calling it recusively. Should rewrite
traverse_all_winodws().
source/
Support for Solaris 2 added (spot <raob@ee.mu.oz.au>)
source/
Support for 386BSD added (Mycroft)
Sun Feb 7 05:04:23 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/alias.c:
alias_currdir(), and `$W' now return the current working
directory. alias_version(), and '$V' give the version
(poxaV).
source/alias.c:
alias_current_numeric(), and `$H' now return the current
numeric.
source/edit.c;
fixed couple of memory leaks, made `:' not a special
character in command mode, as it is now the no-op command.
me(), describe() and prepare_action() - changed to not
add the offensive period.
source/window.c:
window() - fixed bugs in WINDOW SERVER and WINDOW NAME.
source/help.c:
help() - bit of cleaning up..
source/ctcp.c:
do_version() - made it use IRCII_COMMENT if the value for
CLIENT_INFORMATION is null.
Thu Feb 4 17:59:23 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/
Various unused variables removed, uninitialised variables
initilised..
source/status.c, source/window.c, source/hook.c, source/edit.c,
source/if.c:
Few bug fixes here and there, and a couple of very nasty
memory leaks.. thanks to jlemon..
source/hook.c:
do_hook() - fixed the `Dumb mode' bug that Daemon, then
recently poxaV had trouble with (Mycroft)
Wed Feb 3 18:30:04 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/ctcp.c, source/vars.h.proto, source/vars.c, config.h:
New variable NO_CTCP_FLOOD, which when set makes ircii
only send one CTCP reply per second.
source/numbers.c, source/whois.c, source/names.c, source/funny.c:
Changed all the numerics replies so that $0 is now the
server name (if it want't already), except for ISON and
USERHOST, as these are server local anyway.
Tue Feb 2 21:40:46 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c, source/whois.c:
Removed /msg -channel as it doesn't make sense anymore.
source/dcc.c:
process_dcc_request() - fixed start times in dcc requests.
source/status.c:
status_mail() - fixed stupid bug (Mycroft).
source/whois.c:
no_such_nickname() - fixed so that $0 is now the server name.
Sun Jan 31 23:33:18 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c:
kill_screen() - fixed more lame bugs left for me to fix.
source/term.h, source/scandir.c, source/ircflush.c:
Fixed various hpux problems.
Makefile, config.h, source/dcc.c, source/edit.c,source/exec.c,
source/irc.c, source/irc.h, source/mail.c, source/scandir.c,
source/term.c, source/hook.c:
Fixed various AIX 3.1/3.2 problems. (Mycroft)
Sat Jan 30 18:28:31 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c, source/ctcp.c:
Added CTCP PING to ircII... pingcmd() and special case
handling for the reply .. convert_ping_args()..
source/edit.c
waitcmd() - fixed stupid bug that Troy left in the code
to set up a WAIT -CMD.
Thu Jan 28 23:37:19 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/names.c:
Fixed bug in irc -c that I broke when fixing the phone bug.
Wed Jan 27 22:48:46 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/irc.c:
Changed create_additional_screen() to select on the listening
socket, and timeout after 5 seconds, returning an error,
rather than just calling accept(). This stops the case where
the wserv process doesn't get started, and the client will
hang in the accept(). Removed the force arguement from
kill_screen(), and all the calls to it.
source/edit.c:
renamed new_send_line() to sendlinecmd() so that it follows
the general ircII pattern (is there such a thing ? - phone :)
Tue Jan 26 19:03:51 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/status.c
Added poxaV's patch to put time in standard format.
Mon Jan 25 09:14:10 EST 1993 - Brian Koehmstedt <bpk@gnu.ai.mit.edu>
source/crypt.c, source/dcc.c, source/exec.c, source/help.c,
source/irc.c, source/ircaux.c, source/notice.c, source/scandir.c,
source/term.c, source/ircflush.c:
added support for Linux
Mon Jan 25 02:52:14 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c, source/exec.c, source/server.c, source/window.c:
added close_all_dcc(), close_all_exec() and close_all_server(),
which are called from create_additional_screen(), from the
forked process to close all unneeded file descriptors.
create_screen() - fixed bug when create_screen() returns a
screen that was marked as being !alive.
Hmm, somewhere here I think I have fixed the bug with the
position of the cursor, when using more than one screen.
No idea if it is fixed, but I can't get it to happen.
source/names.c:
set_window_channel() - fixed bug when channel was NULL.
Mon Jan 25 11:44:20 EST 1993 - Charles Hannum <mycroft@gnu.ai.mit.edu>
source/window.c:
scroll_window() - fixed bug that deleted text from the
input prompt
Thu Jan 21 18:16:16 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/dcc.c:
Added flag to dcc_message_transmit(), to indicate if the
hook/put_it() call should be made. Used when redirecting
to a dcc chat connection, which is now possible.
Wed Jan 20 23:41:50 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c, source/edit.c, source/whois.c, source/window.h:
Changed how REDIRECT works. We now send a redirect token
to the server when redirecting, not a wait token. It is in
the form of #RED#nnnn where nnnn is the screen's number
(internal). Redirect also is a property of the screen, not
of the whole of ircII. This means that there are no more
valid reasons to call irc_io() recursively.
source/mysetjmp.h, source/mysetjmp.c, source/irc.c, source/alias.c,
source/window.c, source/window.h:
Removed all the code that was applicable to the mysetjmp()
code, as there are no need for it anymore - only /WAIT and
$".." call irc_io() recursively, and they can be used in
other (better) ways.
Tue Jan 19 14:05:52 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/help.c:
You guessed it.. another bug.. fixed.
source/window.c;
window() - fixed bugs in WINDOW SERVER.
source/parse.c, source/edit.c, source/exec.c:
Added doing_privmsg, which makes ircII convert all attempts
to PRIVMSG from a PRIVMSG in to a NOTICE.
source/parse.c, source/whois.c:
Added flag to HOST and USERHOST commands. It allows a command
to be executed when the the userhost (302) reply comes back
from the server - userhost_cmd_returned().
source/edit.c;
Added new command INPUT. Takes a ".." prompt as its first
parameter, and displays this, and prompts for input that
expanded, and passed to the command that is its second arg.
(ie, /INPUT "prompt> " echo $*). This should be used as
a replacement for $".." type variables.
Sun Jan 17 22:01:34 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/help.c:
help_prompt() - fixed another bug.. when will it end..?
source/dcc.c:
register_dcc_offer() - made dcc collisions for DCC CHAT
automatically connect to the other party. Impressed.
source/window.h, source/window.c:
Added new define in winodw.h SCROLL_AFTER_DISPLAY .. which
makes the display scroll like it used to in 2.1.5.
Sun Jan 17 01:16:37 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/funny.c:
Fixed lame bug in funny_list() which caused the wide list
to be corrupted when more than 50 in it.
Sat Jan 16 17:42:41 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c:
Fixed stupid bug in window(), in the CHANNEL command.
source/dcc.c:
Forgot dcc get for lame ultrix - fixed.
source/lastlog.c:
lastlog() - made it possible to /lastlog <pattern> <count>
now.
source/help.c:
help_me() - fixed a stupid bug that would cause help to
become trapped, and unusable for that session.
Fri Jan 15 16:26:13 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/irc.c, source/window.c:
Finally got irc_io() knowing when a socket connection to
a wserv process closes, and to kill that screen, I know
don't know of any pending bugs directly related to
WINDOW CREATE.
source/irc.c, source/help.c:
Got help working properly again (I think), and all the
checking to make sure ircII won't get confused, etc.
Fri Jan 15 03:07:48 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/help.c:
Added variable help_screen, that is set when we enter a
help command, and is set to NULL when we exit. In help(),
I made it illegal to call help from more then one screen
at the same time.
source/irc.c, source/window.c:
Added new function is_main_screen(), and added code to
irc_io() to detect if a screen is closed from something
other than window delete.
Thu Jan 14 12:37:10 EST 1993 - Matthew Green <mrg@eterna.com.au>
Makefile, source/Makefile.proto:
Removed the INSTALL section of this, replacing it with a
cp, strip, and chmod, as not all machines support install.
Also added new target `everything' to the Makefile.. that
does the same as `make all ircflush ircserv wserv'.
Wed Jan 13 18:19:26 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/alias.c, source/edit.c:
Smallish revamp of the whole modules, formatting for 80 columns
and smallish optimizations here and there. Could be bugs here
I guess.
source/crypt.c, source/ctcp.c, source/dcc.c, source/exec.c,
source/flood.c, source/funny.c, source/help.c, source/history.c,
source/hold.c, source/hook.c, source/if.c, source/ignore.c,
source/input.c, source/irc.c, source/ircaux.c, source/ircflush.c,
source/ircserv.c, source/key.c, source/lastlog.c, source/list.c,
source/log.c, source/mail.c, source/menu.c, source/mysetjmp.c
source/names.c, source/newio.c, source/notice.c, source/notify.c
source/numbers.c, source/output.c, source/parse.c source/reg.c,
source/status.c, source/server.c, source/term.c source/translat.c,
source/vars.c, source/whois.c, source/window.c, source/wserv.c:
reformatted for 80 columns, hopefully thats the end of the
formatting saga.. :)
Tue Jan 12 16:42:55 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/dcc.c:
Changed the call to put_it() for ultrix machines so that
the floating pointers won't get garbled.
source/ctcp.c, source/ctcp.h:
Fixed send_ctcp_reply(), and removed Transmit_CTCP() moving
the 2 lines to the only place it was called from.
source/translat.c, source/term.c, source/ignore.c:
reformatted.
Mon Jan 11 16:40:14 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c:
Changed window() so that the handling of HOLD_MODE called
set_int_var() rather than reset_line_cnt(). Fixed a problem
with /flush.
Mon Jan 11 01:35:22 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/lastlog.c, source/file.c, source/crypt.c, source/list.c:
reformatted.
Mon Jan 11 00:29:41 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/names.h, source/names.c, source/window.c, source/window.h,
source/edit.c, source/parse.c:
Changed the handing of WINDOW CHANNEL, and JOIN so that
ircII now remembers what window a channel was joined on.
channel() in both parse.c and edit.c were changed,
add_channel() in names.c. New function, set_channel_window()
added, in names.c thats sets a channel's window, and as such,
Window * added to ChannelList. This sometimes helps ircII
remember what channels were on which windows, when
re-connecting to a server. Sometimes.
source/ctcp.c, source/output.c, source/hook.h.proto, source/parse.c,
source/output.h:
Moved the ctcp_* functions in output.c to ctcp.c, where they
belong, and also put in_on_who in hook.h.proto, and fixed
those fucntions that used it.
Sun Jan 10 10:30:20 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/funny.c:
Changed funny_list(), fixing the -TOPIC argument to the
LIST command. Changed the functionality of -TOPIC so
that it works *with* the other arguements, not against
them.
Sun Jan 10 09:23:43 EST 1993 - poxaV <cgw@unt.edu>
source/vars.h.proto, source/vars.c, source/status.c, config.h:
renamed status_user() to status_user0(), and added 3
new functions, status_user[123]().. New variables
STATUS_USER[0-3] .. to go with the new status line
functions, %X, %Y and %Z.
Thu Jan 7 00:13:14 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/status.c:
Fixed status_oper() so that it wouldn't show
if SHOW_STATUS_ALL wasn't set.
Wed Jan 6 19:04:42 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/funny.c:
Changed funny_print_widelist() .. it now works
again, I don't know when I broke it.
Wed Jan 6 11:59:11 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/term.c, source/wserv.c:
Made the term_init() call used in wserv to set the
line discipline to RAW, so I could forget about
having to worry about signals, and removed the
SIGINT handling from wserv.c. Hopefully this means
that wserv works properly now. (thanks to Dizzy
<nathan@eas.gatech.edu> for help with this).
Wed Jan 6 00:03:00 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/Makefile.proto:
updated depandancies, and re-organised the
SOURCES and OBJECTS.
source/timer.c, source/edit.c, source/irc.c, source/irc.h,
source/mysetjmp.c, source/mysetjmp.h, source/window.c:
Moved everything from timer.c into either edit.c
or irc.c. Made WINDOW_CREATE define more parts
out, in irc.c, mysetjmp.[ch], and window.c.
Tue Jan 5 20:59:36 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/exec.c:
Reformatted, and new element of the process list
added, server, to allow /exec -out/msg/notice
to go to the right server.
source/newio.c:
reformatted.
Tue Jan 5 18:06:25 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c, source/keys.c:
Added new function parsekeycmd(), and new command,
PARSEKEY which calls it - does the same as typing
a key which is bound the the arguement.
Tue Jan 5 17:03:04 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/window.c:
Changed window() so that the WINDOW CHANNEL
command with no arguments make the current
window's channel null.
Tue Jan 5 16:15:51 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/wserv.c:
Changed got_sigint() to send the ^C down the pipe,
rather than kill SIGINT the ircII process, as this
was causing the ^C to be read as though it was from
the main screen.
Tue Jan 5 01:57:58 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/edit.c:
Changed new_send_line() to set the display on.
Mon Jan 4 23:46:58 EST 1993 - Matthew Green <mrg@eterna.com.au>
source/vars.h.proto, source/vars.c, source/hook.c, source/edit.c,
config.h:
New variable INPUT_PROTECTION. Doesn't allow any
ON INPUT's to be added when set. ON INPUT moved to
send_line(), so that all input is caught in the hook,
SENDLINE command added, that calls the new function,
new_send_line, that does a simliar thing to the send_line
command, except, no handling for prompts, or ON INPUT is
done during this.
Mon Jan 4 15:23:34 EST 1993 - Matthew Green <mrg@eterna.com.au>
hook.c:
reformatted.
Fri Jan 1 23:46:03 EST 1993 - Matthew Green <mrg@eterna.com.au>
*.h:
Fixed all the header files, so that if included more than
once, they are only parsed once.
|