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
|
2019-10-28 Thomas Beierlein <tomjbe@gentoo.org>
* NEWS, ToDo: Update NEWS and ToDo files
2019-09-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/fldigixmlrpc.c, src/gettxinfo.c, src/globalvars.h, src/main.c,
test/data.c: Fix definition of 'rigmode' variable Newest version of hamlib
has an extended range of modei definitions and therefore defined it as
UInt64. That conflicts with the former definition of 'rigmode' as 32 bit int.
2019-09-29 Thomas Beierlein <tomjbe@gentoo.org>
* INSTALL: Fix dependencies for Debian like distributions Thx to Juajo EA8BGO
for reporting.
2019-09-18 zcsahok <ha5cqz@freemail.hu>
* src/gettxinfo.c: Fix sideband selection An unnoticed constant caused wrong
sideband selection when switching to SSB. Moved SSB and CW settings to
functions.
2019-09-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/parse_logcfg.h, src/rules.c: Refactor parsing of
config files
* src/parse_logcfg.c, src/rules.c: rewording of startup messages
2019-09-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/readqtccalls.c, src/rules.c,
src/sendqrg.c: Fix some minor display problems (Tnx HA5CQZ) - unify
capitalisation - do not use fixed display positions - show voice keyer
messages only in verbose mode
2019-09-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/audio.c, src/background_process.c, src/bandmap.c,
src/bands.c, src/callinput.c, src/changefreq.c, src/changepars.c,
src/clusterinfo.c, src/err_utils.c, src/fldigixmlrpc.c, src/freq_display.c,
src/grabspot.c, src/lancode.c, src/main.c, src/parse_logcfg.c, src/rules.c,
src/searchlog.c, src/sendbuf.c, src/sendqrg.c, src/showinfo.c,
src/splitscreen.c, src/ui_utils.c, src/writecabrillo.c: apply astylerc rules
2019-09-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/startmsg.c, src/startmsg.h: Change handling of verbose
startup * Do no longer slow down display of infos. Instead ask for
continuation before clearing the screen. That gives time to read the
messages. * Message display checks for enough room to display. If screen
gets full clear and start enew from above (after a small delay or
confirmation).
* src/getmessages.c, src/getmessages.h, src/main.c: Refactor check for first
run of TLf in new directory * Test it quite early. Show GPL and set
'verbose' mode.
2019-09-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c: Fix color settings for TERM=xterm-256color
2019-09-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/lancode.c: fix missing ntoh conversion
2019-07-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/background_process.h, src/changepars.c,
src/logit.c: Fix Simulator mode for CQWW contest. - Fix sidetone management
(Do not change own frequency during QSO and make random change of sidetone
for other station working - Add a little timing space before getting called
by other station - Refactor managment of simulation stages - Improve logic
to turn on/off of simulator mode
2019-07-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c: Make sure INFO messages can be read at least 1 second
2019-07-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/logit.c, src/recall_exchange.c: Recall old exchange only if exchange
field is empty If RECALL_MULTS is set keep the content of the exchange field
if not empty. Also do not empty the exchange field if no old exchange could
be found.
2019-07-06 zcsahok <ha5cqz@freemail.hu>
* src/main.c: improve command line argument handling Switched to Argp as it
provides a number of features (usage, version, error messages, long
arguments, ...) out of the box. The original issue was that argument option
had to be written without space (-fmyfile.dat). Now both this, the "normal'
format (-f myfile.dat), and the long format (--config=myfile.dat) are also
supported.
2019-06-23 zcsahok <ha5cqz@freemail.hu>
* src/changefreq.c, src/freq_display.c, src/freq_display.h: fix frequency
adjustment function (Ctrl-F) Replace key_get() with key_poll(). In order to
avoid flickering the order of freq_display() and time_update() was reversed.
Minor code cleanup was done in freq_display.c. Ctrl-F is now completely live
in the sense that it also takes over freq changes from the rig. The cluster
display below Ctrl-F is also updated and the displayed values are all in
sync. For TRX there is a delay of 1 sec but that's tolerable as it's the
normal behavior.
2019-06-17 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c: allow CQ<->S&P switch even if call input field is
non-empty
2019-06-14 zcsahok <ha5cqz@freemail.hu>
* src/cleanup.c: do not highlight exch field on CQ<->S&P
2019-06-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Fix possible use of NULL pointer
2019-05-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Allow wider adjustment QRG of grabbed station The
reported QRG of spotted stations may not be exact. So after a grab of it from
the bandmap list you may want to adjust the QRG a little. On the other side
after a grab if you just tune away you would like the call input field to
become empty automatically. The patch widens the allowed adjustment to
+/-500 Hz. That should hopefully be enough. Problem reported by Fred DH5FS.
2019-05-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c, src/splitscreen.c, src/splitscreen.h, src/ui_utils.c,
src/ui_utils.h: Respect screensize for packet interface As panels do not
support screen resize we need some additional code to renew the packet window
and setup the split display.
2019-04-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/changepars.c, src/changepars.h, src/clusterinfo.c,
src/muf.c, src/ui_utils.c, test/test_clusterinfo.c: Respect vertical screen
size for informational pop up windows - propagation window - cluster info -
network info - multiplier info
2019-04-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: Use full vertical screen size for bandmap display Fix
display of bandmap info and menu. Position adapts to size of screen
* src/clear_display.c, src/main.c: Respect vertical screen size for main
window
2019-03-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c, src/getwwv.c, src/lancode.c, src/lancode.h,
src/showinfo.c, src/splitscreen.c: Display of infos and errors always on
bottom line of window. Fix the display position for the following items: -
error messages - infoline with country informations - new WWV/WCY
announcements - talk command input - send cluster command
2019-05-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/grabspot.c, src/time_update.c: Fixup display of TRX
and MEM info - Remove arbitrary remnants just before the displayed values -
Erase fields if not rig control is available.
2019-03-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/ui_utils.c: Handle KEY_RESIZE Pick up new screen size after resize of
terminal window and redraw display
2019-05-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c: Simplify wipe of info line
2019-04-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/grabspot.c: Fix display of MEM frequency
* src/grabspot.c, src/sendqrg.c: Fix wrong prototyp declarations After the
switch to use freq_t for all frequency values there was a type mismatch for
send_bandswitch parameter.
2019-04-03 zcsahok <ha5cqz@freemail.hu>
* src/qrb.c: fix get_qrb return value
* src/qrb.c, src/qrb.h, src/showinfo.c, src/showinfo.h: show only valid DX
info
2019-03-25 Thomas Beierlein <tomjbe@gentoo.org>
* Refactor handling of warnings, errors and informational messages * Factor
out common sequences for better readability * Allows to change place and
mode of display in an easy way. That will be needed for resizing the
display.
2019-03-28 zcsahok <ha5cqz@freemail.hu>
* test/data.c: fix bandfrequency in test/data.c
2019-03-24 zcsahok <ha5cqz@freemail.hu>
* src/background_process.c, src/lancode.c: fix FREQMSG
* switch to use of freq_t
2019-02-17 Thomas Beierlein <tomjbe@gentoo.org>
* tlf.1.in: Add documentation for Multiplier aliases
2019-02-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c, src/makelogline.c, src/readcalls.c: Fix mult handling
for SECTION_MULT and SERIAL+SECTION With the possibility to use aliases for
section entries we need to record the original entered comment in log. The
recognized section gets recorded in the section column. Tlf now use the
recorded section for building the reached multiplier list during read of an
existing log file. Respect also alias settings for parsing of QSO sections
in getexchange() and checkexchange().
2019-01-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addmult.h, test/test_addmult.c: Add new function to look
for best match in given possible mult The function check if mult name or one
of its aliases is a substring of the searchstring and returns the best
matching length. If the returned length is equal the searchsting length then
we have an exact match.
2019-01-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, test/test_addmult.c: Add parsing of alias list
2019-01-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addmult.h: Change internal representation of possible
multipliers The change allows to associate each multiplier with a list of
aliases. If the alias is used it will be counted for the according
multiplier.
* src/addmult.c, src/addmult.h, src/changepars.c, src/getexchange.c,
src/globalvars.h, src/searchlog.c, test/test_addmult.c: Make handling of
possible mults opaque Concentrate implementation dateils in addmult.c.
Introduce getter functions for access to mult number and to mult name.
2018-10-11 Eric Tamme <eric.tamme@onsip.com>
* src/lancode.c, src/parse_logcfg.c, tlf.1.in: Add lan port config directive
- Allows to specify on which port number TLF is listening for incoming
broadcasts from other instances. - Allows even to run multiple instances of
TLF on teh same server.
2019-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* share/help.txt, src/changepars.c, src/main.c, src/parse_logcfg.c, tlf.1.in:
Drop SCAN related data - S-METER keyword and variables - clean up man page
and help.txt
2019-01-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, tlf.1.in: Add CALLMASTER= keyword to parser and man
page. Allow loading from different callmaster database file
2019-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* ToDo, share/logcfg.dat: Add ToDo list for version 1.4
2019-01-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c, test/test_searchlog.c: Refactor lookup of zonenumber -
2019-01-02 Thomas Beierlein <tomjbe@gentoo.org>
* test/test_searchlog.c: Add tests for USEPARTIAL call suggestions If
USEPARTIAL is set and there is only one matching call in already worked
stations or in callmaster database use it as suggestion for callinput.
2018-12-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c: Fix zone display for old behaviour If multiplier is WAZ
or ITU zone the following algorithmus is used: - First try to pick up the
zone from the comment string of the selected QSOs. Use the last one found. -
If no QSO with zoneinfo is found use zone_export (set by getctydata()
according to the country information. - If there are a zoneinfo field, but
it is not readable as zonenumber use either the zone from zone_fix
(calculated from the actual exchange field) or again from zone_export. That
allows an override of the calculated zone. NOTE: The algorithm has some
drawbacks. * If a single station has a different zone number than the normal
ones i it is not guaranteed, that we use this number. * If a zonenumber is
found during scan of former QSOs it is no longer possible to use the override
for searchlog operation. Show that zone number on lower line of search
window and use it to check for already worked zones.
2018-12-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c: Factor out display of search results
* src/searchlog.c: Factor out display of partials
* src/searchlog.c: fix display for WARC bands
2018-12-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c, test/test_searchlog.c: Factor out display related code -
Drawing of search window - Display of call info for 'hiscall' fragment -
converting bandstring to display line Add testcode for last function
* src/searchlog.c, test/test_searchlog.c: Factor out filtering of Log for
relevant QSOs
* src/searchlog.c, test/test_searchlog.c: Add first testcode for searchlog()
function Test basics of filtering relevant QSOs from log file based on
'hiscall'. Factor out preparation of display results for search window.
Simplify.
* src/searchlog.c: Drop DL1YFK "worked window" patch. The dropped code did
not change anything relevant. The lookup for qsos in question before was
always exact, so a 'best match' makes no sense.
* src/checklogfile.c, test/test_checklogfile.c: extend test_checklogfile()
and adapt tested code checklogfile() now guarantees that the logline is
terminated by \n
2018-12-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/checklogfile.c, test/test_checklogfile.c: added test_checklogline.c and
fix handling of wrong line length Prepares for refactoring and tightens
requests to the checking As a first step checklogfile should guarantee a
correct linelength of each log line.
2018-12-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/checklogfile.c, src/editlog.c, src/getmessages.c, src/setparameters.c:
Refactor logedit() function - Drop use of checklogfile() in not needed
places. - Adapt checklogfile() for use with logedit() Do not exit program if
file not found. Use ncurses for all text output. - Use existing
checklogfile() to check the log after editing Original code was a copy of
that funtion with small adaption wrt text output and errror handling. Be
aware that the functionality is still broken as before.
2018-12-05 zcsahok <ha5cqz@freemail.hu>
* configure.ac: switch to C99 mode Gives us more room for better coding,
e.g. 'bool' type, for-loop variables on the fly and other useful things.
2018-11-28 Thomas Beierlein <tb@forth-ev.de>
* src/editlog.c: Fix assertion after edit of logfile Stop background
processing also during edit of log file
2018-11-20 Thomas Beierlein <tb@forth-ev.de>
* test/Makefile.am: Use CMOCKA_LIBS for locating library
2018-11-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: Fix compiler warning from clang Calculation the difference
of two unsigned numbers gives an unsigned result. clang warns that doing an
abs() of it makes no sense. Thansk nate N0NB for reporting.
2018-11-03 Nate Bargmann <n0nb@n0nb.us>
* src/clear_display.c, src/log_to_disk.c: Show blanks instead of '---' in
NO_RST mode It looks like this patch only replaces the '---' string seen on
the log entry line with ' ' and does not replace those characters in the
log file where they are needed for proper Cabrillo generation. Testing is
necessary.
* rules/arrlss: Correct transposition of check and section rules/arrlss Per
http://www.arrl.org/sweepstakes the proper format for the sent exchange is:
# A % 83 CT where sending my call is also a required part of the exchange.
Added commented ALT macros that were available in CT. Added NO_RST as it is
not used in ARRL SS.
2018-11-01 zcsahok <ha5cqz@freemail.hu>
* src/sendqrg.c: fix SegV on missing RIGPORT
2018-10-22 Thomas Beierlein <tomjbe@gentoo.org>
* add tests for reading QTC lines - make qtc_line global to ease test
2018-10-20 Thomas Beierlein <tomjbe@gentoo.org>
* configure.ac: Fix requested cmocka version. Check for cmocka test framework
and warn if not installed
2018-10-18 zcsahok <ha5cqz@freemail.hu>
* fix config.h usage
* make hamlib mandatory
2018-10-16 Thomas Beierlein <tomjbe@gentoo.org>
* INSTALL: add build dependencies to install instructions
* NEWS: Fix typo
2018-10-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/fldigixmlrpc.c, src/fldigixmlrpc.h, src/main.c: move
variable to related file
2018-10-12 Eric Tamme <eric@uphreak.com>
* src/parse_logcfg.c: fix missing comma in command array
2018-09-30 Ervin Hegedus <airween@gmail.com>
* src/callinput.c, src/fldigixmlrpc.c, src/main.c: BMAUTOADD adds callsign to
bandmap when Fldigi set it. Show correct CTY info when call comes from
Fldigi. Changed RTTY-REV mode freq calc.
2018-09-28 Thomas Beierlein <tomjbe@gentoo.org>
* Makefile.am, test/Makefile.am, test/test_initial_exchange.c: Fix 'make
distcheck' 'make distcheck' does an VPATH install where the build directory
is not the source directory. That failed for data file used during unit
tests.
2018-09-27 Thomas Beierlein <tomjbe@gentoo.org>
* test/Makefile.am: add missing files to test/Makefile.am and
src/Makefile.am
* src/checkparameters.c, src/writeparas.c, src/writeparas.h, tlf.1.in: Fix
assertion if no .paras file exists during start
2018-09-23 Thomas Beierlein <tomjbe@gentoo.org>
* AUTHORS, INSTALL: update INSTALL and AUTHORS file
2018-08-09 Stephen Hurd <shurd@sasktel.net>
* src/audio.c, src/background_process.c, src/callinput.c, src/changepars.c,
src/checklogfile.c, src/deleteqso.c, src/editlog.c, src/fldigixmlrpc.c,
src/freq_display.c, src/getexchange.c, src/getmessages.c, src/gettxinfo.c,
src/keyer.c, src/logview.c, src/muf.c, src/parse_logcfg.c, src/qtcwin.c,
src/readcalls.c, src/score.c, src/scroll_log.c, src/sendbuf.c,
src/sendqrg.c, src/show_help.c, src/splitscreen.c, src/write_keyer.c:
Fix warnings. While many of these return codes should be checked, none of
them actually are, so having the return codes stored in variables is
pointless.
Create IGNORE() macro to ignore ignored unused results warnings.
2018-09-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/rules.c: make memory allocation error fatal
2018-08-10 Stephen Hurd <shurd@sasktel.net>
* test/data.c, test/test_sendbuf.c: Update the DIGIMODE tests for
PrepareSPcall() tests. Add digi_message to data in tests.
* tlf.1.in: Add documentation for DKF1..DKF12, ALT_DK1..ALT_DK10, DKCQM,
DKSPM, DKSPC
* src/autocq.c, src/callinput.c, src/getexchange.c, src/globalvars.h,
src/keyer.c, src/listmessages.c, src/logit.c, src/main.c,
src/messagechange.c, src/parse_logcfg.c, src/rules.c, src/sendbuf.c,
src/sendbuf.h, src/sendspcall.c, src/writeparas.c: Use separate messages for
RTTY than CW RTTY contests use a space, not newline at end of messages and
should start with a CR. To enable starting with CR, add a | character that
is translated to CR Add config keys DKF1..DKF12, ALT_DK1..ALT_DK10, DKCQM,
DKSPM, DKSPC Default values are the CW message with | at the start and the
trailing newline changed to a space. Note that in callinput.c, in SSB mode,
ENTER on a dupe when NOB4 is not set would send F7 message in CW. This now
sends the voice F7 message instead since that was likely the intent. New
function send_standard_message(int) added which sends the passed message
number using the current trxmode (cw, voice, or digi). Also added is
send_keyer_message(int) which works as above, but in voice mode will still
send CW. This is used by the CW keyer. LIST and MESSAGE will now show/edit
the DIGI messages in DIGI mode. In CW and voice modes, the CW messages will
be shown/changed.
2018-08-08 Stephen Hurd <shurd@sasktel.net>
* src/background_process.c, src/background_process.h, src/edit_last.c,
src/editlog.c, src/globalvars.h, src/logit.c, src/main.c,
src/setparameters.c, src/writeparas.c: Use condition variables to start/stop
the background process. Testing a global in a loop without volatile can
cause various issues with optimizers. Further, the sleep(1) granularity made
the background task unresponsive. Instead, use condition variables and
mutexes to allow waiting for the background thread to be restarted, then
running immediately when the condition occurs.
2018-09-16 Stephen Hurd <shurd@sasktel.net>
* src/dxcc.c, src/dxcc.h, src/getctydata.c: Use stdbool.h for booleans.
2018-08-08 Stephen Hurd <shurd@sasktel.net>
* src/calledit.c, src/callinput.c, src/dxcc.c, src/dxcc.h, src/getctydata.c,
src/getctydata.h, src/grabspot.c, src/showinfo.c, src/showinfo.h: Support CT9
cty.dat files This adds three new overrides, lat/lon, continent, and time
offset. showinfo() now needs a prefix, so create add a getctydata_pfx()
function which returns the prefix rather than the country. If a callsign in
cty.dat starts with an '=', it will only use exact matching, not prefix
matching. To allow backward compatability, Tlf remembers if it saw any '='
prefixes and if so, find_full_match() will only match those. If there were
no '=' prefixes, the behaviour is as before, and it will match any prefix.
2018-09-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/gettxinfo.c, src/sendqrg.c: Fix wrong includes and
possible NULL pointer problem.
2018-08-09 Stephen Hurd <shurd@sasktel.net>
* src/main.c: There are more than two valid TERM values... Remove the hack
which replaced any TERM value that wasn't "xterm" with "rxvt". Forcing rxvt
means that if the terminal is not rxvt compatible, all kinds of ncurses
things would break. The most common difference is F1 - F4. rxvt uses
\E[11~, \E[12~, \E[13~ and \E[14~ while most modern xterm compatibles use
\E[OP, \E[OQ, \EOR, and \EOS respectively. xterm-color and xterm-256color
for example would suffer from this issue, and F1 to F4 would not work
correctly.
2018-09-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/fldigixmlrpc.c, src/fldigixmlrpc.h,
src/parse_logcfg.c: Rename fldigi_get() to fldigi_isenabled()
2018-08-10 Stephen Hurd <shurd@sasktel.net>
* src/background_process.c, src/changepars.c, src/fldigixmlrpc.c,
src/fldigixmlrpc.h, src/main.c, src/parse_logcfg.c: Clean up various race
conditions in fldigi stuff Furthermore have fldigi_xmlrpc_query() return -1
when use_fldigi is false. Returning success resulted in uninitialized data
being used by callers, making it unsafe to ever turn off fldigi from tlf.
2018-08-08 Stephen Hurd <shurd@sasktel.net>
* src/fldigixmlrpc.c: Fix text.get_rx. Was using start:end instead of
start:length Don't request more characters than we can accept. Copy all the
received bytes into the result, rather than one less than was received.
* src/readcalls.c: POSIX doesn't define the -w option It seems to be a GNU
extension, and doesn't seem to be needed in this use case. The FreeBSD uniq
utility doesn't support it.
* src/netkeyer.c, src/sockserv.c: Add missing socket headers. These are
necessary to build on at least FreeBSD, and likely many more systems. I'm
actually surprised Linux builds without them.
* src/getctydata.c: malloc() is defined in stdlib.h. stdlib.h has been the
correct header for malloc() since C89.
2018-06-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/changepars.c, src/fldigixmlrpc.c, src/main.c,
src/parse_logcfg.c: Drop unused variable and rename for better readability
2018-05-23 Ervin Hegedus <airween@gmail.com>
* doc/README.RTTY, src/background_process.c, src/changepars.c,
src/fldigixmlrpc.c, src/fldigixmlrpc.h, src/main.c, src/parse_logcfg.c,
src/rtty.c, tlf.1.in: Extend Fldigi interface
2018-05-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Fix bug in BMAUTO_ADD and BMAUTO_GRAB logic. After
logging a new contact in S&P mode the next station from bandmap you tune over
got falsely the spot frequency of that last logged station.
2018-03-30 Nate Bargmann <n0nb@n0nb.us>
* doc/Makefile.am, doc/Xresources, tlf.1.in: Update man page for more
consistency New keywords, commands, and configuration parameters are now in
bold while value descriptions and files and pathnames are in italics. Typed
strings are enclosed in double quotes while typed key names are enclosed in
single quotes. Tried to ensure that text is more clear and from an objective
point of discussion. Added a sample Xresources file for configuring Xterm
with Linux console compatible color scheme for use with Tlf.
2018-02-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcabrillo.c, test/test_cabrillo.c: Use freq2band() conversion. Adapt
test code
2018-02-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/bandmap.h, src/bands.c, src/bands.h: Move bandcorners
and freq2band() to bands.c
2018-01-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/bands.c, src/bands.h, src/callinput.c: Move next_band to bands.c
* src/bands.h, src/callinput.c, src/tlf.h: Move IsWarcIndex to bands.h
2018-01-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/addmult.c, src/addpfx.c, src/bandmap.c, src/bands.c,
src/bands.h, src/focm.c, src/globalvars.h, src/paccdx.c, src/readcalls.c,
src/showpxmap.c, src/showscore.c, src/showzones.c, src/tlf.h,
test/test_addcall.c, test/test_addmult.c, test/test_score.c: Move inxes[] to
bands.c and adapt test code
* src/Makefile.am, src/bands.c, src/bands.h: Add new files bands.c and
bands.h Will concentrate all band and frequency related definitions in one
place.
2018-03-28 Nate Bargmann <n0nb@n0nb.us>
* tlf.1.in: Add documentation for winkeydaemon (#92) The winkeydaemon adds
cwdaemon style support for K1EL "Win Keyers" and compatible devices such as
the Ham Gadgets Master Keyer 1.
2018-03-01 zcsahok <ha5cqz@freemail.hu>
* src/searchlog.c, src/searchlog.h: allow leading spaces in callmaster file
2018-02-23 zcsahok <ha5cqz@freemail.hu>
* src/addmult.c: allow space before comment in addmult
2018-02-23 Thomas Beierlein <tomjbe@gentoo.org>
* tools/.astylerc: add astyle formatting rules
* Reformat using .astylerc
2018-02-21 zcsahok <ha5cqz@freemail.hu>
* src/initial_exchange.c, src/initial_exchange.h: fix initial_exchange: allow
DOS line endings and multiple columns
2018-02-19 zcsahok <ha5cqz@freemail.hu>
* .gitignore, Makefile.am: create README from README.md
* README => README.md: added README.md
2018-02-08 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c, src/callinput.h: Fix wrong return value of callinput()
This PR fixes the "long CQ bug": when sending a longer series of unanswered
CQ's the cursor sometimes jumps to the exchange field. This causes F1 to send
your call instead of CQ, so the op has to press either Esc or Tab to get back
to CQ'ing. Quite annoying, but keeps op awake. :-) An Easter egg version of
this "feature" is: start tlf press F3 14 times CW keyer window pops up. The
bug is a result of two issues. In callinput() key codes returned as char
although they fit in an int only. E.g. F1 is 0x109 and F3 is 0x10B. On return
only the lower 8 bits are kept and thus F1 is transformed into a Tab/Ctrl-I
(0x09) and F3 into Ctrl-K (0x0B). callinput() is supposed to return to
logit() only when some non-local keypress is to be handled (e.g. Enter).
Instead it returns when its internal counter i reaches 14: for (i =
strlen(hiscall); i <= 13; i++) { The idea may have been an optimization to
avoid excessive calls to strlen and track call length in i. But this doesn't
bring anything as this check is done only once per keypress and in the inner
loop [while (x < 1)] strlen and other stuff is happening 100 times a second
anyway.
* src/logit.c, src/logit.h, src/main.c: Fix prototyp of logit() function Old
prototype was a remnant from starting 'logit()' as thread in former code.
2018-01-31 zcsahok <ha5cqz@freemail.hu>
* .gitignore, .travis.yml, Makefile.am, configure.ac, test/Makefile.am,
test/data.c, test/functions.c, test/generate_defs.pl, test/test.h,
test/test_locator2longlat.c, test/test_score.c, test/test_zone_nr.c:
introduce test framework based on cmocka
* test/test_addcall.c, test/test_dxcc.c, test/test_getctydata.c: ported some
more tests
2018-01-31 Thomas Beierlein <tomjbe@gentoo.org>
* .travis.yml: Add Travis-CI configuration file
2018-01-15 zcsahok <ha5cqz@freemail.hu>
* src/callinput.h, src/gettxinfo.c, src/gettxinfo.h: Factor out
band switching logic and change return type of gettxinfo()
2018-01-21 zcsahok <ha5cqz@freemail.hu>
* src/gettxinfo.c: limit frequency polling to once per 200ms
2018-01-20 zcsahok <ha5cqz@freemail.hu>
* src/gettxinfo.c: use freq2band() for gettxinfo()
* src/bandmap.c, src/bandmap.h: Cleanup freq2band()
2018-01-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Fix band switching After introduction of BANDINDEX_OOB
the band up/down key did not work on upper and lower band (10->160 or
160->10)
2017-12-26 Ervin Hegedus <airween@gmail.com>
* src/logit.c: Removed the cleanup() from the end of the change_mode() In
case of SPRINTMODE the TU_MESSAGES was cutted by the cleanup(). That is
wrong.
2017-12-26 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c: BMAUTOGRAB only in S&P mode
2017-11-17 Ervin Hegedus <airween@gmail.com>
* src/background_process.c, src/cabrillo_utils.h, src/main.c, src/qtc_log.c,
src/qtc_log.h, src/readcabrillo.c: Refactor writing of QTC log file contest
and reading in cabrillo files are using the same code now.
2017-10-10 Ervin Hegedus <airween@gmail.com>
* src/globalvars.h, src/main.c, src/makelogline.c, src/readcabrillo.c:
Replaced time_ptr_cabrillo pointer to static struct
* src/main.c: Changed '-c' (convert) cli argument to '-i' (import)
2017-10-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/cabrillo_utils.h, src/readcabrillo.c: pick up addition for QTC
conversion from HA2OS
2017-07-03 Ervin Hegedus <airween@gmail.com>
* src/Makefile.am, src/cabrillo_utils.c, src/cabrillo_utils.h,
src/getexchange.c, src/getexchange.h, src/globalvars.h, src/main.c,
src/makelogline.c, src/readcabrillo.c, src/readcabrillo.h,
src/writecabrillo.c: Add readcabrillo feature
2017-12-07 Ervin Hegedus <airween@gmail.com>
* doc/New_Bandmap.txt, src/parse_logcfg.c, tlf.1.in: Fixed BANDMAP
configuration directive (added 'O' option to string), added some
documentation
2017-11-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/main.c: cleanup - Rely directly on the initialised list
2017-11-23 Ervin Hegedus <airween@gmail.com>
* src/bandmap.c: Add CQ zone value to BM spot from INIT_EXCH list, if exists
2017-11-20 Ervin Hegedus <airween@gmail.com>
* src/bandmap.c, src/bandmap.h: New feature: hide/mark spots on BM if them
are multipliers
2017-12-05 tnalpgge <tnalpgge@users.noreply.github.com>
* tlf.1.in: Correct documentation on Enter key to match observed behavior
2017-12-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/showzones.c, src/time_update.c: move zones display to
using panels Old code blinks zone display in 2s intervall. Tnx for reporting
Fred DH5FS.
2017-12-01 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c: spawn $SHELL instead of sh Use user's setting instead of
plain sh when opening a shell using '!'
2017-11-25 zcsahok <ha5cqz@freemail.hu>
* src/logview.c: Switch back to normal keypad mode in logview
2017-11-23 Thomas Beierlein <tomjbe@gentoo.org>
* share/callmaster, share/cty.dat: update callmaster database and cty.dat
Version are VER20171103 for callmaster VER20171122 for cty.dat
2017-10-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: fix wrong parsing of QTC= keyword
2017-07-04 Ervin Hegedus <airween@gmail.com>
* rules/tesla, share/cabrillo.fmt: Added Tesla memorial contest rule and
cabrillo format
2017-05-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addpfx.c, src/bandmap.c, src/clear_display.c,
src/clusterinfo.c, src/gettxinfo.c, src/globalvars.h, src/main.c,
src/paccdx.c, src/score.c, src/searchlog.c, src/showscore.c, src/tlf.h: Add a
special OOB out_of_band entry
* Tlf normally recognizes the band in use from
rigs frequency. If the rig is outside of any band there is a indetermined
state resulting in irregular characters on display and possible wrong entries
into the contest statistics. Tnx to Zoltan Csahok HA5CQZ for pointing out the
problem.
2017-06-14 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c: make skip of WARC-bands during contest more robust In
case of multiple neighboured WARC bands skip all until next contest band is
reached.
2017-05-29 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c, src/gettxinfo.c: Refactor band switching code into a
common function.
2017-05-09 Ervin Hegedus <airween@gmail.com>
* src/genqtclist.c, src/qtc_log.c, src/qtcwin.c, src/writecabrillo.c: Bugfix:
when QTC was set up as BOTH (eg. RTTY) the CABRILLO had created as wrong
format
2017-05-11 zcsahok <ha5cqz@freemail.hu>
* src/keyer.c, src/main.c, src/parse_logcfg.c: added option to use backspace
in the keyer window This is for the fast but not perfectly typers:
2017-04-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/readcalls.c: struct needs initialization
2017-04-10 Thomas Beierlein <tb@forth-ev.de>
* src/getctydata.c: factor out common code getctynr and getctydata uses the
same code to prepare the call and look it up in prefix table.
2017-04-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.h, src/setcontest.c: switch to getctynr() as we are only
interested in the number here
2017-04-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c, src/dxcc.h, src/readctydata.c, src/readctydata.h: move
load_ctydata() to dxcc.c
2017-01-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.c: Refactor getctydata() code
2017-02-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/getctydata.c: fix inconsistent usage of getctydata() in
addcall2()
2017-03-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/prevqso.c: resend report and qso nr with at least 3 digits
2017-03-01 Thomas Beierlein <tb@forth-ev.de>
* src/addmult.c, src/changepars.c, src/globalvars.h, src/main.c,
src/makelogline.c, src/readcalls.c, src/searchlog.c, src/showscore.c,
src/tlf.h: add a structure to represent worked multis
2017-02-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c, src/main.c, src/parse_logcfg.c, src/sendqrg.c: Allow
arbitrary long string for 'RIGPORT' keyword Tnx Ed W3NR for pointing out.
2017-02-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c, src/dxcc.h: make usage of function more secure Only non
negativ indices allowed. Check for out of bounds index. Return empty dummy
data if no element found.
2017-02-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/addpfx.c, src/addpfx.h, src/makelogline.c,
src/readcalls.c: change interface to add_pfx() function gets now pfxstr to
add and bandindex for worked band. Makes function more independent if called
for data coming from LAN
2017-02-06 Thomas Beierlein <tomjbe@gentoo.org>
* doc/FAQ: add hints to correct own CQ zone to FAQ
* share/cty.dat: update cty.dat file
2017-02-04 Ervin Hegedus <airween@gmail.com>
* src/main.c, src/parse_logcfg.c, src/tlf.h: Removed unused UNIQUECALL values
2017-02-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/globalvars.h, src/makelogline.c, src/readcalls.c,
src/showscore.c: Added UNIQUE_CALL_MULTI handling
- unique call signs can now be counted as multis for allband or per band.
(Needed e.g. for minitest like contests).
* src/main.c, src/parse_logcfg.c, src/tlf.h, tlf.1.in: Accept
UNIQUE_CALL_MULTI keyword
2017-01-12 Ervin Hegedus <airween@gmail.com>
* src/addcall.c, src/main.c, src/parse_logcfg.c, src/readcalls.c,
src/searchlog.c, src/tlf.h, tlf.1.in: Added new feature: MINITEST keyword to
support the Mini CW test
Optional an argument may passed to MINITEST, instean of hardcoded value
2017-01-30 Thomas Beierlein <tomjbe@gentoo.org>
* macros/ax_with_curses_extra.m4: Better regocnition of <panel.h>
If ax_with_ncurses finds a ncursesw instance the former code checks only for
<ncursesw/panelh>. If not there the search fails. That lead to problems at
least in Arch Linux which has only <panel.h> installed. The patched version
here checks first for <ncursesw/panel.h> and if not found also for
<panel.h>.
Tested for the following distributions: Gentoo, Debian 7..9, Linux Mint 17
and 18.1, Arch Linux, Ubuntu
* src/get_time.c: clarify function of get_time()
2017-01-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.c, tlf.1.in: Fix recognition of cq zone for 1Axxx stations
2017-01-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: fix warning about redefinition of _GNU_SOURCE
2017-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c: drop remnants of old 'keyerport' variable
* src/changepars.c, src/keyer.c, src/main.c, src/sendbuf.c,
src/speedupndown.c, src/stoptx.c, src/write_keyer.c: switch to new 'cwkeyer'
variable
* src/background_process.c, src/callinput.c, src/gettxinfo.c, src/keyer.c,
src/main.c, src/qtcwin.c, src/rtty.c, src/sendbuf.c, src/sendspcall.c,
src/stoptx.c, src/write_keyer.c: switch to new 'digikeyer' variable
2017-01-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c: prepare for separate keyers for CW and
digimode
2017-01-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/getpx.c: better implementation of getpx()
- handles callsigns with only letters
- correct handling of callsigns with long nummbers, e.g. DR2006Q or 9A800VZ
2017-01-06 Ervin Hegedus <airween@gmail.com>
* src/parse_logcfg.c: Fixed wrong parsing for EXCLUDE_MULTILIST parameters
2017-01-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: Fix test for countrynr in countrylist
As getctydata() has a sideeffect of changing 'countrynr' itself we need to
switch to use a local variable 'countrynr_tocheck' for the comparison.
2017-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/getexchange.c, src/gettxinfo.c, src/qtcwin.c,
src/rtty.c: simplify logic to call 'show_rtty' Call 'show_rtty' whenever we
are in DIGIMODE.
2016-12-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/sendqrg.c: add message if RIGPTT is not available for that rig
2016-08-14 Nate Bargmann <n0nb@n0nb.us>
* share/logcfg.dat, src/callinput.c, src/gettxinfo.c, src/main.c,
src/parse_logcfg.c, src/sendqrg.c, tlf.1.in: Enable Hamlib CAT PTT if wanted
and available
Introduce a new keyword for logcfg.dat, RIGPTT, which is a directive to test
for a Hamlib radio backend's PTT via CAT capability. If the backend reports
it is capable, Hamlib CAT PTT will be used in place of the netkeyer PTT
if Tlf is compiled with Hamlib support.
2016-12-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/splitscreen.c: output of cluster message needs a packet screen
Each cluster message (external or from internal network between multiple
loggers) will be processed in several steps: putting it on cluster screen,
looking for a personal conversation, adding to bandmap.
The change guarantees that it will only be added to the cluster screen if
such an object got initialized. (That would not be the case if we started
with the 'nopacket'-option or have no cluster configured).
2016-12-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/splitscreen.c: Migrate packet screen to ncurses panels
Old implementation used a separate newterm call to get a separate display
for packet screen -- separate from normal logger display. It was quite a
hack but worked ok. In new ncurses6 newterm does no longer give us a
separate screen. So we had to switch to use ncurses panels for the
packet screen. A popup panel covers inow the whole screen when we switch
to packet. That window is split into two derived windows for display of
cluster messages and a second one for input - as did the old
implementation.
2016-12-13 Thomas Beierlein <tomjbe@gentoo.org>
* macros/ax_with_curses.m4, macros/ax_with_curses_extra.m4, src/Makefile.am:
Use new AX_WITH_CURSES macro
New macro uses pkg-config for detecting libs and cflags for programs
using ncurses and falls back to old finding out the
parameters 'by hand'. For TLF it fixes: - Using libtinfo if stripped out
from libncurses - Added feature_test_macros for correct color handling if
needed.
2016-12-29 Thomas Beierlein <tomjbe@gentoo.org>
* doc/README.RTTY: adapt README.RTTY
2016-12-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/fldigixmlrpc.c: Make xmlrpc fldigi interface thread safe
2016-05-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/cleanup.c, src/keyer.c, src/main.c, src/qtcwin.c, src/sendbuf.c,
src/write_keyer.c, src/write_keyer.h: refactor handling of send cw or digi
data
Cleanup code so that all data for cw or digi keying goes through the
write_keyer() interface.
That means anyone who wants to send code has to use the keyer_append()
function which (in an thread safe manner) appends the data
to a keybuffer. The actual keying is done by a background thread which
regularly has to call the write_keyer() function.
2016-12-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, tlf.1.in: Set fldigis default URL
automatically.
* src/fldigixmlrpc.c, src/fldigixmlrpc.h, src/stoptx.c: minor changes
- rename to 'fldigi_to_rx()'
- do not add to a string of unknown length. Send '^r' on separate call
afterwars.
2016-11-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/callinput.c, src/fldigixmlrpc.c,
src/fldigixmlrpc.h, src/gettxinfo.c, src/main.c, src/rtty.c, src/stoptx.c,
src/write_keyer.c, src/main.c, src/parse_logcfg.c, src/tlf.h, tlf.1.in:
Allow new keyword FLDIGI to set up fldigi xmlrpc interface
2016-12-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/callinput.c, src/edit_last.c, src/get_time.c,
src/getmessages.c, src/grabspot.c, src/lancode.c, src/score.c,
src/scroll_log.c, src/searchlog.c: Cleanup
- fix type mismatches for 64 bit compilers
* src/sendbuf.c: cleanup some external declarations
2016-11-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/showpxmap.c: Fix bug: autosend did not work as Enter
key was wrongly checked
2016-11-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: fix bandmap display
If stations in bandmap are really close to each other (0.1 kcs) after a grab
from bandmap tlf showed the call on the frequency below as actual frequency.
The above fixes the behaviour and does some minor corrections on comments.
2016-11-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/edit_last.c: Fix bug: Enter did not end editing of last QSOs. fixed.
2016-11-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Fix bug: grab_next() not working without BMAUTOGRAB set
The grab functionality did not work if BMAUTOGRAB was not set. Closer
inspection showed that it worked shortly but got overridden by the tune-away
functionality. The main reason was the time delay between requesting the
change to a new QRG and the read back of the actual QRG.
To fix it we introduced a small state machine for grabbing spots with i
an intermediate IN_PROGRESS state which changes to REACHED as soon as
the actual QRG reaches the spot QRG. And only then the tune-away
functionality can do their work.
* src/qtcvars.h, src/readqtccalls.c: drop unused variable
2016-08-01 Ervin Hegedus <airween@gmail.com>
* doc/README_QTC.txt, rules/waedc_eu, src/main.c, src/parse_logcfg.c,
src/qtcvars.h, src/qtcwin.c, tlf.1.in: QTC_RECV_LAZY config option to skip
the RECV restrictions
2016-08-01 Thomas Beierlein <tomjbe@gentoo.org>
* ChangeLog, NEWS, configure.ac: Prepare for tlf-1.2.4.2 bug fix release
2016-07-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/show_help.c: drop old unused implementation of show_help(),
fix segmentation fault if help.txt gets found in local directory
2016-07-18 zcsahok <ha5cqz@freemail.hu>
* src/netkeyer.c, src/netkeyer.h: netkeyer: streamlined (part 2) - add
synthactic sugar - fix buffer overflow
2016-07-03 zcsahok <ha5cqz@freemail.hu>
* src/netkeyer.c: netkeyer: streamlined (part 1)
2016-06-26 Nate Bargmann <n0nb@n0nb.us>
* configure.ac: Remove unwanted indentation from '--help' output
* src/calledit.c, src/callinput.c, src/getexchange.c: Fix <Home> and <End>
keys for call input and exchange fields
* tlf.1.in: Update the man page Many updates to the manual page. Many more
corrections and additions likely remain.
2016-05-16 zcsahok <ha5cqz@freemail.hu>
* src/sendbuf.c: sendbuf.c: fix replace_n, reworked ExpandMacro
2016-05-11 Colin Tuckley <colint@debian.org>
* tlf.1.in: Fix spelling errors.
2016-05-09 Ervin Hegedus <airween@gmail.com>
* src/gettxinfo.c: Aligned hamlib's passband argument to the new macro:
RIG_PASSBAND_NORMAL
2016-05-04 Thomas Beierlein <tb@forth-ev.de>
* src/checklogfile.c: fix possible ressource leaks
2016-05-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c: support reloading the cty.dat database Free the g_ptr_arrays
for dxcc and prefix data befre reallocation
2016-05-03 Thomas Beierlein <tb@forth-ev.de>
* src/readctydata.c, src/readctydata.h: split out loading of cty database
from named file That allows a better testability as we can provide a
specialised cty.dat file.
2016-05-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/show_help.c: fix memory leak
2016-04-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: fix possible buffer overflows due to strncpy
2016-03-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: respect 'S'kip not dupes setting for bandmap
* src/addpfx.c: fix possible segmentation fault Do only remember MAX_PFX_LEN
chars from prefix (atm 5). As prefix regognition is not perfect we get
sometimes longer prefix signatures which led to segfaults.
2016-03-06 Thomas Beierlein <tb@forth-ev.de>
* Makefile.am: autoconf needs some more hints to find our macros
2016-03-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: allow BMAUTOGRAB also in Run mode
* src/callinput.c: update run/s&p mode display after alt/ctrl-g
2016-03-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/bandmap.h, src/callinput.c: Implement BMAUTOGRAB If set
callinput field will automatically grab an active spot from teh bandmap if
TRX frequency is near spot frequency. Works only in S&P mode.
2016-02-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: change autoadd triggering Former version had difficulties
to distinct between callsigns entered by the operator and callsigns grabbed
from bandmap. Now 'freqstore' remembers the actual QRG as soon as the
operator enters any chars into the call input field. That frequency is used
to detect QRG changes (tuning away). In any other case (e.g. callsign grabbed
from bandmap) 'freqstore' stays 0.
2016-02-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/callinput.c, src/main.c, src/parse_logcfg.c:
Move AUTOGRAB function to callinput()
2016-02-08 Thomas Beierlein <tomjbe@gentoo.org>
* src/addspot.c, src/addspot.h: Refactor code to add a spot to bandmap -
Split out the code to format a fake DX spot, add it to the own spot list and
send it to other stations on the LAN.
* tlf.1.in: Add description to man page
2016-02-05 Ervin Hegedus <airween@gmail.com>
* src/background_process.c, src/main.c, src/parse_logcfg.c: Improve new
BMAUTOADD feature
2016-01-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/ui_utils.c, tlf.1.in: Add some warning to lookup_keys() If some
special key combinations (Alt/Ctrl-PgUp/PgDown) do not work on the terminal
give a message to the user and suggest using ':cqd' Add that to the man page
also
2016-01-25 Nate Bargmann <n0nb@n0nb.us>
* src/bandmap.c: Initialize dupe value when a new spot is created Checking
with Valgrind memcheck generated in the report that, "Conditional jump or
move depends on uninitialised value(s)" in bmdata_write_file (bandmap.c:134).
The result is that various values could be written for the dupe value in
.bmdata.dat. Fixed by setting the dupe variable to 0 in bandmap_addspot().
This variable is only used in bandmap_show() and is never stored back into
the allspots GList.
* src/main.c: Make sure that rig control is closed properly on exit If
Hamlib is enabled in the build, close the rig port and release the rig
instance on exit.
2016-01-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/main.c, src/ui_utils.c, src/ui_utils.h: determine key
codes for extended keys during startup
2016-01-23 Nate Bargmann <n0nb@n0nb.us>
* src/changepars.c: Combine EXIT and QUIT stanzas The case stanzas for EXIT
and QUIT were identical so combine them.
* src/sockserv.c: Use memmove() for overlapping strings. Checking Tlf with
Valgrind showed that memcpy() was assigning a string back onto itself. The
Glibc documentation says doing so will result in undefined behavior and
recommends using memmove() instead.
* doc/keynames.txt, src/callinput.c: Use keyname() to test for Ctrl/Alt
PageUp/Down keys Testing has shown that the ordinal values for these
extended keys are defined in the terminfo database and vary across systems.
Use the ncurses keyname() function along with strcmp() to determine the keys
based on their names which appears to be consistent across the systems
tested.
2016-01-21 Nate Bargmann <n0nb@n0nb.us>
* src/callinput.c, tlf.1.in: Add Alt-PageUp/PageDown keys for Auto_CQ delay
Some terminals consume the Ctl-PageUp/PageDown keys (Xfce Terminal is one).
Add Alt-PageUp/PageDown as alternatives for increasing or decreasing the
Auto_CQ pause delay time.
2016-01-20 Nate Bargmann <n0nb@n0nb.us>
* src/splitscreen.c: Ensure keypad is called when exiting packet screen When
the packet screen is opened, keypad(entwin, TRUE) is called on the entwin
window. When set_term(mainscreen) was called, the keypad was not being
redirected back to stdscr. This should now be fixed and the arrow keys
respond as expected in the call input field.
* src/main.c: Don't call obsolete crmode() function Ncurses documentation
advises that crmode() should not be used. In curses.h it is a macro that
calls cbreak(), so call cbreak() instead for clarity.
2016-01-17 Nate Bargmann <n0nb@n0nb.us>
* src/getexchange.c: Merge F11 processing with other F keys The old code had
a skip in the numbering of the F keys jumping from 138 for F10 to 140 for
F11. As Ncurses now assigns sequential values using the KEY_F(n) = KEY_F(0)
+ n macro, this special handling is no longer necessary.
2016-01-12 Nate Bargmann <n0nb@n0nb.us>
* src/audio.c, src/autocq.c, src/calledit.c, src/callinput.c,
src/changefreq.c, src/changepars.c, src/edit_last.c, src/getexchange.c,
src/keyer.c, src/main.c, src/messagechange.c, src/qtcwin.c, src/showpxmap.c,
src/tlf_curses.h, src/ui_utils.c, tlf.1.in: Process input keystrokes using
keypad() Ncurses provides the keypad() function that maps most escaped key
codes to named constants found in curses.h. The onechar() function has been
reworked to minimize the amount of key escapes that need to be caught. Those
that are caught are assigned values to match the Ncurses declared constants.
Keys were tested on the Linux console, and the following X11 terminal
emulators, Xfce Terminal, Gnome Terminal, Xterm, and Qterm. Update the
tested constants to match the Ncurses defined constants in the rest of the
sort where key_get() and key_poll() are called. Ncurses will honor the value
of the environment variable ESCDELAY but to avoid the users having to set it,
use the set_escdelay() function to set the delay to 25 mS (default is 1000 mS
when unset) when the environment variable is unset. Should that be too
short, users can set it via the usual method, i.e. 'export ESCDELAY=125'
would set a delay of 125 mS.
2016-01-08 Nate Bargmann <n0nb@n0nb.us>
* doc/keynames.txt: Add keynames.txt Document the decimal value and name
string as returned by keyname() and accepted by key_defined() for Ncurses by
default. Keystrokes are processed from the various codes as shown by
'showkey -a' and escaped sequences are assigned to values corresponding to
the values and names in this file.
2016-01-02 Ervin Hegedus <airween@gmail.com>
* src/fldigixmlrpc.c: Fixed hamlib-related variable compile error
2016-01-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/fldigixmlrpc.c: fix unreachable code sequences
* src/fldigixmlrpc.c, src/gettxinfo.c: fix compile errors with
--disable-hamlib
2015-12-31 Thomas Beierlein <tomjbe@gentoo.org>
* configure.ac: Use mailing list address in AC_INIT macro ... as suggested
by Nate N0NB
2015-12-30 Nate Bargmann <n0nb@n0nb.us>
* configure.ac: Set temporary CFLAGS, CPPFLAGS, LIBS variables To assist
AC_CHECK_LIB and AC_CHECK_HEADERS temporarily set the user variables to the
paths found by pkg-config.
2015-12-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: Correct logic for WYSIWYG multis coming in via LAN
2015-12-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: keep the list of possible multis sorted
* src/addmult.c: better tests for possible mults for ARRL_SS and
DX_&_SECTIONS Old logic failed if some multi was part of a multi coming
later in the multi list (e.g. NE and ONE). Then tlf picked up the first one
and mised the other one. New logic scans all possible multis and keeps the
longest one which matches. Added some syntactic sugar - ALL_BAND or PER_BAND
to make clear if a multi counts per band or only once per contest.
2015-12-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addmult.h, src/main.c: cleanup logic
init_and_load_multipliers is now responsible for (freeing and new) allocation
of the mults_possible array. It now handles empty multplier filenames
gracefully by giving back an empty mults_possible array. The former check for
naming the file is now the responsibility of the calling function (if
needed).
2015-12-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: Tests for empty strings are already handled in
remember_multi(). Furthermore for-loops tests themself if endcondition is
already fullfilled when entered. So we can drop some needless tests.
2015-12-19 Nate Bargmann <n0nb@n0nb.us>
* macros/ax_with_curses.m4, src/tlf_curses.h, src/tlf_panel.h: Revert local
changes to macros/ax_with_curses.m4 Tom, DL1JBE, reported that on some
systems with ncursesw installed, the modification made to
macros/ax_with_curses.m4 caused a compilation failure. The patch reverts
those changes and returns the macro file to its original format of serial 15.
Also updated src/tlf_curses.h and src/tlf_panel.h to extend the header macro
tests to the ncursesw headers.
* configure.ac, src/Makefile.am: Set LIBM_LIB to preserve the LIBS variable
Autoconf documentation states the LIBS is a precious variable reserved for
the user. Add macros to define HAVE_LIBM in config.h and LIBM_LIB in
src/Makefile. Add LIBM_LIB to tlf_LDADD in src/Makefile.am.
* configure.ac, src/Makefile.am, src/addmult.c, src/readctydata.c,
src/rules.c, src/searchlog.c, src/show_help.c, src/writecabrillo.c:
Define
PACKAGE_DATA_DIR in src/Makefile.am Automake provides the predefined
'pkgdatadir' Makefile variable which is the same path as the previously
caclulated PACKAGE_DATA_DIR value in configure.ac. Use it to set
PACKAGE_DATA_DIR as a -D value to the preprocessor via AM_CPPFLAGS in
src/Makefile.am which is passed to the source files during preprocessing.
This conforms with current Autotools convention. As PACKAGE_DATA_DIR is
longer defined in config.h, remove its include directive from those files
that were only including it for the PACKAGE_DATA_DIR definition.
2015-12-18 Nate Bargmann <n0nb@n0nb.us>
* configure.ac, macros/ax_append_flag.m4, macros/ax_cflags_warn_all.m4,
macros/ax_require_defined.m4, src/Makefile.am: Use AX_CFLAGS_WARN_ALL to
determine compiler warnings As CFLAGS is a a precious user variable, use the
AX_CFLAGS_WARN_ALL macro and have it assign the warning flag(s) to AM_CFLAGS
which is then substituted into the Makefile. This macro determines the best
warning for various compilers. This macro depends on the AX_APPEND_FLAG and
AX_REQUIRE_DEFINED macros (in separate files).
* configure.ac, src/Makefile.am: Update Fldigi XML RPC stanza in configure.ac
The Autoconf documentation states that LIBS and CFLAGS are reserved for the
user. Refactor the Fldigi XML RPC stanza to avoid assigment to those
precious variables. Instead assign new LIBXMLRPC_LIB, LIBXMLRPC_CLIENT_LIB,
and LIBXMLRPC_UTIL_LIB to tlf_LDDADD in src/Makefile.am. Define the
HAVE_LIBXMLRPC, HAVE_LIBXMLRPC_CLIENT, and HAVE_LIBXMLRPC_UTIL macros for
config.h Also use standard Autoconf macros instead of raw shell if
conditional and complete quoting per current Autoconf convention.
* configure.ac, src/Makefile.am: Update Hamlib stanza in configure.ac The
Autoconf documentation states that LIBS and CFLAGS are reserved for the user.
Refactor the Hamlib stanza to avoid assigment to those precious variables.
Instead assign the HAMLIB_CFLAGS and HAMLIB_LIBS generated by the pkg-config
macro to AM_CFLAGS and tlf_LDDADD in src/Makefile.am respectively. Also use
standard Autoconf macros instead of raw shell if conditional and complete
quoting per current Autoconf standards.
* acinclude.m4, configure.ac, macros/ax_pthread.m4, src/Makefile.am: Update
to AX_PTHREAD macro The newer ax_pthread.m4 macro file from the Autoconf
archive provides updated searches for determining the correct pthread
compilation flags and linking libraries. This version also adds support for
clang which is becoming more important as a supported compiler. As the
ACX_PTHREAD macro is now outdated, remove acinclude.m4 from the repository.
* configure.ac, src/Makefile.am: Use glib macro to detect glib The glib
package includes its own M4 macro that uses pkg-config and also compiles
against the library to ensure it is available and suitable for use. Also
check that pkg-config is really available and exit configure with an error if
it is not.
2015-12-16 Nate Bargmann <n0nb@n0nb.us>
* macros/ax_with_curses_extra.m4: Fix bug in ax_with_curses_extra.m4 Found a
bug where the AX_WITH_CURSES_PANEL macro would incorrectly reset the
ax_cv_panel variable to 'no' when checking for the panel.h header a second
time even though it had found it as ncurses/panel.h on the previous call.
Confirmed working by David, CT1DRB.
2015-12-15 Nate Bargmann <n0nb@n0nb.us>
*
Load ncurses.h via tlf_curses.h Regarding Tlf Issue #51, this patch provides
consistency in the form of having the build system determine which ncurses
header file is available. The build system will set relevant macros in
config.h and boilerplate in tlf_curses.h will select the proper include path
based on the tests. This patch confines the boiler plate to one file
resulting in minimal editing of the other source files.
this patch resolves the problem of distributions putting panel.h in
/usr/include/ncurses rather than in /usr/include. Thanks to David, CT1DRB,
for reporting this issue with OpenSuSE LEAP 42.1. The build system will set
relevant macros in config.h and boilerplate in tlf_panel.h will select
the proper include path based on the tests. This patch confines the
boiler plate to one file resulting in minimal editing of the other
source files.
* configure.ac, macros/ax_with_curses.m4, macros/ax_with_curses_extra.m4,
src/Makefile.am: Switch Autoconf Archive macros for Curses search Use the
AX_WITH_CURSES and AX_WITH_CURSES_PANEL macros to determine the library and
header files location for curses. For now the AX_WITH_CURSES macro is edited
to only look for ncurses or curses and not ncursesw. Also the configure
options have been commented out as ncurses is required. Macros are set in
config.h to allow testing for the proper header file location to include.
2015-12-14 Nate Bargmann <n0nb@n0nb.us>
* configure.ac: Adjust tests in configure.ac Reposition several tests to be
run before the tests for third party packages. Temporarily comment out the
AC_PROG_GCC_TRADITIONAL and AC_FUNC_STRFTIME macros as the Autoconf
documentation states they are obsolescent. Temporarily comment out the
AC_HEADER_STDBOOL macro as no source file loads stdbool.h at this time.
Remove some header files from AC_CHECK_HEADERS as they are already checked by
the AC_HEADER_STDC macro.
* .gitignore, config.h.in, configure.ac: Remove generated config.h.in file
Have Autoconf check for src/tlf.h to assure the build system is working in
the correct project directory. As the AC_CONFIG_HEADERS macro will generate
config.h.in upon build system bootstrap, there is no need to carry this file
in the repository. Have git ignore generated config.h.in.
2015-12-08 Nate Bargmann <n0nb@n0nb.us>
* .gitignore: Have Git ignore backup files ( *~ ).
2015-12-12 Ervin Hegedus <airween@gmail.com>
* doc/README.RTTY, src/fldigixmlrpc.c, src/gettxinfo.c, src/globalvars.h,
src/main.c: Added new feature: calculate the QRG in different modulations, as
FSK, LSB/USB
2015-12-11 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: Fix bug in using multarray_nr for 'SERIAL&SECTION' keyword
Back in tlf 0.9.10 there was some inconsistent handling of the index for
adding new multis to mults[] array. Sometimes they were counted from 0
sometimes from 1 (depending on the contest). That was fixed some time ago
but there was a remnant in 'readcalls()' function left. That got dropped now.
* src/addmult.c: Fix bug in multcounting for ARRL-SS 'multarray_nr' is the
number of multis in 'mults[]' array. So to add a new mult first copy it into
the array and later increment the number of the multis.
2015-12-09 Thomas Beierlein <tb@forth-ev.de>
* src/main.c, src/ui_utils.c, src/ui_utils.h: Move refreshp() to ui_utils.c
2015-12-03 Nate Bargmann <n0nb@n0nb.us>
* src/addmult.c: Test for existence of MULT_LIST in install directory Code
only checked for MULT_LIST value in the working directory. Now also check
for the file in the installation directory. e.g. /usr/local/share/tlf
2015-12-05 Nate Bargmann <n0nb@n0nb.us>
* tlf.1.in: Fix typos in tlf.1.in
2015-11-30 Nate Bargmann <n0nb@n0nb.us>
* share/logcfg.dat, src/editlog.c, src/parse_logcfg.c: Prefer 'mcedit' for
logcfg.dat Also make sure that old values of 'mc' and 'MC' are recognized.
Enable 'mcedit' as a log file editor.
* rules/Makefile.am, rules/arrl160m_usa: Add ARRL 160m USA rules file Ensure
the new file is distributed and installed.
2015-11-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c: simplify switch logic in addcall() and addcall2() Replace
hard coded bandmask and bandindex values by switch variable and finally merge
the different switch branches which are now identical together.
2015-11-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/globalvars.h, src/main.c, src/paccdx.c, src/readcalls.c,
src/showscore.c: extend countryscore[] to full number of bands see
* src/addcall.c, src/globalvars.h, src/main.c, src/readcalls.c,
src/showscore.c:
extend zonescore[] and countryscore[] array to full number of bands Until now
there was a distinction between counting things for all bands (WARC and non
WARC) and counting zones and countries for contest bands only. The handling
can be simplified if we unify the handling and count zones and countries for
ALL bands. We can then ignore the non WARC entries for contest scoring.
Furthermore it is more easy to add additionla bands later.
2015-11-28 Nate Bargmann <n0nb@n0nb.us>
* Move includes from headers as much as possible. Only include
other header files in header files if absolutely necessary. Source files
declare all needed includes. This results in five local headers that still
include other headers
src/globalvars.h:2:# include "tlf.h"
src/globalvars.h:5:#include <glib.h>
src/nicebox.h:24:#include <curses.h>
src/qtcvars.h:21:#include "globalvars.h"
src/searchlog.h:24:#include <glib.h>
src/sendqrg.h:25:# include <config.h>
src/sendqrg.h:29:# include <hamlib/rig.h>
This minimizes, but doesn't entirely eliminate depedency chains when
including certain header files. All local header files should have include
guards so multiple include directives should not cause an error.
2015-11-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c: Drop redundant test for 'pfxnummultinr>0' 'pfcnumcntidx >
-1' can only be true if 'pfxnummultinr > 0'.
2015-11-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c: Fix lookup in pfxnummulti table If getctydata() did not
find the country (returns 0) then pfxnumcntidx got set to a wrong number.
2015-11-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: fix calculation of remaining time during bandmap read
Lastly spot->timeout got changed to unsigned. We must take care that we do
not get a wrap ariund if the diff between writing und reading the bandmap
data ist to big.
* src/bandmap.c, src/bandmap.h, src/time_update.c: Fix saving of bandmap data
Bandmap data are saved every 10s. It works now even if the bandmap is not
shown and even if auto CQ is working.
* src/autocq.c: Fix some small bug in auto_cq mode: - Do a time_update() to
keep displayed time and bandmap actual (tnx HA2OS for reporting)
2015-11-01 Thomas Beierlein <tb@forth-ev.de>
* share/Makefile.am, share/qtcmerge.py: Delete files no longer needed
* share/cty.dat: update cty.dat to VER20151027
2015-10-28 Ervin Hegedus <airween@gmail.com>
* rules/waedc_dx_rtty, rules/waedc_eu_rtty: Modified rule files for WAE RTTY,
for EU and DX stations
* src/qtcwin.c: Some minor changes to fixup the QTC send method in RTTY
* src/genqtclist.c: Fixed gentclist item length bug: if QTC set up as BOTH,
then the SEND length wasn't calculated correctly
* src/qtcwin.c: Fixed empty record command issue: if qtcrec_command was
empty, Tlf drops an error
2015-10-31 Thomas Beierlein <tomjbe@gentoo.org>
* datastructures: update description of datastructures
* src/background_process.c, src/main.c, src/searchlog.c, src/searchlog.h:
switch callmaster database to growing arrays
* src/searchlog.c: Allow comment lines in callmaster data base
2015-10-30 Thomas Beierlein <tomjbe@gentoo.org>
* share/callmaster: update callmaster file
* doc/FAQ: extend the FAQ
2015-10-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/clusterinfo.c: drop unused code, initialize spot array
2015-10-27 Ervin Hegedus <airween@gmail.com>
* src/callinput.c: Fixed immediated auto_cq bug: if Tlf sends CQ in auto
mode, and op press the first letter of callsign, that will be lost
2015-10-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/checklogfile.c, src/checkqtclogfile.c: Fix some NULL pointer warnings
* doc/FAQ: Add information about refreshing callmaster database and CTY.DAT
to FAQ
2015-10-22 Thomas Beierlein <tomjbe@gentoo.org>
* README: drop reference to not longer accessible wikispaces pages
2015-10-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: Cleanup bmdata_read_file - fix memory leak - close file
pointer - restructre parsing loop - simplify
* src/writecabrillo.c: Close opened file pointers in case of error
2015-10-11 Ervin Hegedus <airween@gmail.com>
* src/bandmap.c: Added new feature: save bandmap state when bandmap state
changed, and 10 secs elapsed till last write; this file will read by Tlf when
starts again
2015-10-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: Do not show QRG in bandmap when no active rig control in use
Show bandmap around center frequency for actual selectzed band and mode.
2015-09-22 Ervin Hegedus <airween@gmail.com>
* rules/waedc_dx, rules/waedc_dx_rtty, rules/waedc_eu, rules/waedc_eu_rtty,
share/qtcmerge.py, src/writecabrillo.c: Full 'QTC' line support in cabrillo
output
2015-09-13 Ervin Hegedus <airween@gmail.com>
* src/qtcwin.c: Fixed fill QTC time bug: after the last fill, the minutes
remained in all lines
2015-09-22 Thomas Beierlein <tomjbe@gentoo.org>
* ChangeLog, NEWS: Add missing NEWS and ChangeLog entries for tlf-1.2.2_pre1
2015-09-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/bandmap.h, src/parse_logcfg.c, src/time_update.c:
Improve bandmap display code
- display actual QRG on bandmap
- center bandmap around QRG
- update bandmap every second
- do not show WARC spots in contest mode
2015-09-13 Ervin Hegedus <airween@gmail.com>
* src/qtcwin.c: Fixed fill QTC time bug: after the last fill, the minutes
remained in all lines
2015-08-30 Ervin Hegedus <airween@gmail.com>
* src/bandmap.c: New feature: better handling of bandmap for WAE stations -
show station as workable on bandmap as long as it has any QTC capable flags
left
2015-09-01 Ervin Hegedus <airween@gmail.com>
* src/qtcwin.c: New feature: Ctrl-R to start and stop QTC recording - show
recording state (on/off)
2015-08-31 Ervin Hegedus <airween@gmail.com>
* src/main.c, src/parse_logcfg.c, src/qtcvars.h, src/qtcwin.c, tlf.1.in: New
feature: QTC_AUTO_FILLTIME - CTRL-F shortkey to fill the first two letters
of QTC time
2015-08-27 Ervin Hegedus <airween@gmail.com>
* src/background_process.c, src/lancode.c, src/lancode.h, src/qtcutil.c,
src/qtcutil.h, src/qtcvars.h, src/qtcwin.c, src/readqtccalls.c: New feature:
new QTC capable flags: - 'L': 'later', 'N': 'NO' for callsigns, - indicates
them in bandmap and worked window - send QTC flags through LAN to another
nodes
* src/bandmap.c, src/main.c, src/parse_logcfg.c, src/qtcutil.c,
src/qtcutil.h, src/qtcvars.h, src/readqtccalls.c, src/searchlog.c, tlf.1.in:
New feature: initial QTC capable callsigns list, and indicates them in
bandmap and worked window
2015-09-05 Ervin Hegedus <airween@gmail.com>
* src/background_process.c, src/lancode.c, src/lancode.h, src/qtcutil.c,
src/qtcutil.h, src/qtcwin.c, src/readqtccalls.c: New feature: QTC flags
sending through LAN to another nodes, when user mark a callsign.
2015-08-05 Ervin Hegedus <airween@gmail.com>
* src/qtcwin.c: Added new feature: move to next field in callsign/serial/qtc
nr fields with SPACE or ENTER
* src/qtcwin.c rules/waedc_eu:
Fix some minor problems as result to last WAEDC SSB
2015-08-14 Thomas Beierlein <tomjbe@gentoo.org>
* Fix handling of ITUMULT and WAZMULT keyword
CQ and ITU zones gets scored in the same 'zones[]' array. The commit
fixes the following problems:
- zones[] array was to small (only for 40 CQ zones)
- display of worked zones did not work
- rescoring did not recognize the already worked zones.
2015-08-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/splitscreen.c: fix segfault due to possible buffer overrun
2015-04-05 Thomas Beierlein <tomjbe@gentoo.org>
* rules/Makefile.am, rules/aadx_as, rules/aadx_dx: Add All Asian DX contest
2015-07-10 Thomas Beierlein <tb@forth-ev.de>
* src/addcall.c, src/makelogline.c: Fix PFX_MULT_MULTIBAND logic *
PFX_MULT_MULTIBAND counts prefix as multi, when country/continent is excluded
2015-07-09 Thomas Beierlein <tb@forth-ev.de>
* src/initial_exchange.c: Fix potential memory leak
2015-04-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/showscore.c: clean up of display code for PFX_MULT_MULTIBAND
2015-04-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/addpfx.c, src/addpfx.h, src/globalvars.h, src/readcalls.c,
src/showscore.c: cleanup PFX_MULT_MULTIBAND logic
* src/addcall.c, src/addcall.h, src/main.c, src/parse_logcfg.c,
src/readcalls.c, tlf.1.in: Add EXCLUDE_MULTILIST keyword
2015-07-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/globalvars.h, src/main.c, src/makelogline.c,
src/parse_logcfg.c, src/readcalls.c, src/searchlog.c, src/tlf.h, tlf.1.in:
Add PFX_NUM_MULTI keyword
2015-06-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/changepars.c, src/main.c, src/printcall.c, tlf.1.in:
autosend now supports manual start feature (see issue #12). * Set :char to
'm' for manual mode. Enter key starts sending cw but you can type additional
characters to the call sign. As soon as tlf sent all characters it sneds the
exchange.
* src/log_to_disk.c, src/main.c, src/prevqso.c, src/prevqso.h: resending of
last qsonr honors also last report
* src/sendbuf.c, src/sendbuf.h: factor out conversion to short cw numbers
* src/sendbuf.c, src/setcontest.c: drop contradictionary setting of
shortqsonr for ARLL_SS
2015-05-31 dh5fs <dh5fs@users.noreply.github.com>
* src/prevqso.c: update "repeat number" string its better to send "5NN" as
prefix before repeating the number then NR, some people react better to that
under low S/N conds
2015-04-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/addpfx.c, src/globalvars.h, src/main.c,
src/makelogline.c, src/parse_logcfg.c, src/readcalls.c, src/showscore.c,
tlf.1.in: add multi scoring for prefixes per band - new keyword
PFX_MULT_MULTIBAND - adapted counting and display
2014-07-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/readcalls.c, src/readcalls.h,
src/score.c, tlf.1.in: add more keywords for CONTINENT handling -
CONTINENTLIST continents to score points for - CONTINENT_LIST_POINTS points
for the continent from CONTINENTLIST - USE_CONTINENTLIST_ONLY Zero points for
other continents
2014-06-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/score.c, src/showscore.c, tlf.1.in: add
BANDWEIGHT_MULTIS and BANDWEIGHT_POINTS keywords - allow to give a weight
for the multis on different bands e.g. BANDWEIGHT_MULTIS=160:4,80:3,20:2 -
Multis for Bands not in list are multiplied by 1 - allows to give a weight
for the points on different bands - Points for Bands not in list are
multiplied by 1
2015-03-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/score.c: refactored for better test and maintenance The goal was to
get a better understanding or the point scoring logic and to allow easy
extensions in future. - Split score() into contest specific rules and
universal point scoring logic - factored out some common functions - added
some comments and made structure more clear
2015-02-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/score.c: cleanup and fix COUNTRYLIST=
handling
- Fix initialisiation of countrynr
2015-02-22 Nate Bargmann <n0nb@n0nb.us>
* configure.ac, tlf.1.in: Update manual page to current conventions The man
pages project provides guidelines for writing manual pages. This rewrite
attempts to bring the Tlf man page up to those standards. It is likely that
several errors and omissions still exist.
2015-02-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/Makefile.am, src/onechar.c, src/onechar.h, src/ui_utils.c: Move
onechar() routine and make it static We hide the onechar() routine to force
the use of the new key_get() and key_poll() routines. That is a first step
to switch to a different handling of key input. The next step will be a
switch to curses keypad mode where curses decodes the ESC sequences itself.
That will allow for: - handling more terminal types - resizing the program
window - accepting mouse input
2015-02-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/audio.c, src/bandmap.c, src/calledit.c, src/callinput.c,
src/changefreq.c, src/changepars.c, src/checklogfile.c, src/deleteqso.c,
src/edit_last.c, src/focm.c, src/getexchange.c, src/keyer.c,
src/listmessages.c, src/main.c, src/messagechange.c, src/muf.c,
src/setparameters.c, src/show_help.c, src/showpxmap.c: unify key input
handling - move usage of 'getchar()' to 'key_get()' getchar() bypassed the
curses key input routines. So we drop them and use key_get() instead to ask
for the next key from the user. - curses getch() does not handle multi
character escape sequences (e.g. function keys) well. So we switch to using
the new key_get() function which will give us only one key code per key
press. - switch to key_get in all remaining cases where onechar() was used.
* src/audio.c, src/autocq.c, src/callinput.c, src/getexchange.c: use new
key_poll() function Change all places where we only poll for keypresses
without waiting to use the new key_poll() function.
* src/ui_utils.c, src/ui_utils.h: add utility functions for non/blocking user
input
2015-02-02 Thomas Beierlein <tb@forth-ev.de>
* src/audio.c, src/autocq.c, src/callinput.c, src/changepars.c,
src/cleanup.c, src/clear_display.c, src/clusterinfo.c, src/freq_display.c,
src/log_to_disk.c, src/logit.c, src/muf.c, src/nicebox.c, src/printcall.c,
src/rtty.c, src/searchlog.c, src/showinfo.c, src/showpxmap.c,
src/splitscreen.c, src/time_update.c, src/writecabrillo.c: Use
modify_config() instead checking 'use_rxvt'
* src/Makefile.am, src/ui_utils.c, src/ui_utils.h: Add files to provide User
Interface utilities - Linux terminal requires A_BOLD to be set for most
attributes. Instead of adding the check for use_rxvt to each attribute
settings we provide modify_attr() function to do it instead.
2015-02-03 Thomas Beierlein <tb@forth-ev.de>
* many files...
fixup #include files -
add include guards - drop includes already included by tlf.h - sort out
otherwise inherited includes and make them explicit
2015-01-24 dh5fs <dh5fs@users.noreply.github.com>
* share/darcmults: darc_mults Multiplier file for DARC contests (Oct/14)
2015-01-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/Makefile.am, src/background_process.c, src/getexchange.c, src/logit.c,
src/logit.h, src/main.c, src/parse_logcfg.c, src/set_tone.c, src/set_tone.h,
src/write_tone.h: drop unneeded include file (write_tone.h) - function is
already exported by set_tone.h - cleanup according includes
* src/callinput.c, src/changepars.c: rework display of remaining sections in
multiplierinfo
2015-01-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.c, src/getctydata.h: backport fixes from waedc-qtc, add
include guards
* src/calledit.c, src/callinput.c, src/getwwv.c, src/globalvars.h,
src/logit.c, src/scroll_log.c, src/searchlog.c, src/showinfo.c: Fix lint
reports and cleanup - cleanup old crap from globalvars.h - fix potential
truncations in handling of timeoffset - fix conditions never met in
callinput.c - fix possible NULL pointers going into file functions
(searchlog.c, ) - fix warning about uninitialized call2[] variable - Exit if
logfile could not be opened (scroll_log.c)
* src/bandmap.c, src/rtty.c, tlf.1.in: backport some fixes from waedc-qtc
branch
2014-12-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/listmessages.c, src/logit.c, src/main.c, src/messagechange.c,
src/parse_logcfg.c: cleanup * switch to using SP_TU_MSG and CQ_TU_MSG
instead of hardcoded value * fix 'parse_logcfg()'
* src/listmessages.c, src/listmessages.h, src/tlf.h: adapt :list command *
:list now shows also the S&P_CALL_MSG * fix twisted definition of SP_TU_MSG
and CQ_TU_MSG * add #include guard
* src/parse_logcfg.c, tlf.1.in: Allow to use a custom S&P message instead of
the autogenerated one. * extend message[] field by one * add new Keyword
S&P_CALL_MSG * Use the new S&P_CALL_MSG if set
* src/main.c, src/sendspcall.c, src/tlf.h: Allow to use a custom S&P message
instead of the autogenerated one. * extend message[] field by one * Use the
new SP_CALL_MSG if set
2014-10-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Unify sending of call in S&P mode. - Normally the key is
handled by using 'sendspcall()' after <enter> key. - F1 key in empty call
field did also send the own call but by separate code. Now we use
'sendspcall()' in these case too.
2014-12-22 Ervin Hegedus <airween@gmail.com>
* src/rtty.c: Seek gMFSK.log to end of the file, when Tlf starts
2014-12-20 Reiner Herrmann <reiner@reiner-h.de>
* scripts/soundlog: Remove bashisms in sh script.
* scripts/soundlog: Drop -d /dev/dsp1 in favor of default. Taken from Debian
patch by John AC6SL <jnogatch@gmail.com>.
* scripts/soundlog: Change hardcoded home directory with $HOME. Taken from
Debian patch by John AC6SL <jnogatch@gmail.com>.
2014-11-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/fldigixmlrpc.c, src/fldigixmlrpc.h: New code from airween to read
offset frequency from fldigi via xmlrpc - Added new configure option:
--enable-fldigi-xmlrpc - Added fldigixmlrpc.[ch] files to read the carrier
value of Fldigi - Modified affected parts of code, when indicated/used the
RIG freq: * show frequency at right middle part in main window * store the
correct freq when user grabs the spot * restore the correct freq when user
loads a station from the bandmap - finally add missing #include and
include-guard
2014-10-31 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: Convert CALL= from logcfg.dat always to upper case. -
Pierre VE3KTB reported that cqww scoring did not work correctly if he enters
his own call in mixed or lower case. Thanks for the report.
2014-10-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/main.c: Fix use of Alt-0..Alt-9 messages - message[]
field had one member to much. Range of input keys was also one too wide.
2014-10-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c: comment usage of cw/digi/phone messages
2014-10-09 Thomas Beierlein <tb@forth-ev.de>
* src/keyer.c: put keyer into a popup window - define keyer window size and
position - pop up a panel at keyer start and hide when it stops
2014-09-24 Ervin Hegedus <airween@gmail.com>
* src/main.c, tlf.1.in: Added new startup argument: '-r', which disables
radio control
2014-09-24 Ervin Hegedus <airween@gmail.com>
* src/getexchange.c, src/makelogline.c: Added extra check for exchange field
for CQ-WW-RTTY - CQWW RTTY contest requires the two letter province for US
and Canada stations in the exchange.
* src/logit.c: Modified automatic cq zone nr copy to comment variable, if
that's not empty - If the user modified the exchange field, which was filled
out by Tlf from cty.dat, then Tlf rewrite the original value if switching
bqack forth between call input and comemtn field.
* src/getexchange.c, src/makelogline.c: Added extra check for exchange field
for CQ-WW-RTTY
* src/logit.c: Modified automatic cq zone nr copy to comment variable, if
that's not empty
* src/main.c: Added new startup argument: '-r', which disables radio control
2014-09-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c: fix initialization of digi modems. - write_tone() works only
for NET_KEYER and therefore calling it in the wrong context gave only an
error resulting in switching back to SSB mode.
2014-09-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/sendbuf.h: make sendbuf() and buffer[] private - new code should use
sendmessage() instead
* src/keyer.c, src/main.c: cleanup keyer() - second part - correct logic for
sending - do not send control characters to the keyer - drop no longer used
logic to buffer input and display it via buffer[] and buloc. That code was
not functional for a long time. Even in 0.9.10 it was no longer used
correctly.
2014-09-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/keyer.c, src/sendbuf.c, src/sendbuf.h: cleanup keyer() - first part -
use sendmessage() instead of sendbuf() - cleanup some unused code
2014-09-02 Thomas Beierlein <tb@forth-ev.de>
* src/logit.c, src/speedupndown.c: use sendmessage() instead of sendbuf()
* src/speedupndown.c: Refactor speedup() and speeddown()
2014-09-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/Makefile.am, src/callinput.h, src/getexchange.h, src/keyer.h,
src/parse_logcfg.c, src/speeddown.c, src/speeddown.h, src/speedup.c,
src/speedup.h, src/speedupndown.c, src/speedupndown.h: merge speedup.c and
speeddown.c to speedupndown.c - there is a lot of duplicated code which can
be factored out
2014-09-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/callinput.c, src/changepars.c,
src/getexchange.c, src/prevqso.c, src/sendspcall.c: Use sendmessage(msg)
instead of sendbuf()
2014-08-31 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/background_process.h, src/callinput.c,
src/changepars.c, src/getexchange.c, src/keyer.c, src/logit.c, src/main.c,
src/prevqso.c, src/prevqso.h, src/sendspcall.c, src/sendspcall.h,
src/speeddown.c, src/speeddown.h, src/speedup.c, src/speedup.h: cleanup -
refactor all declarations of 'extern char buffer[]' to sendbuf.h preparing a
later drop of sendbuf() function and replacement by sendbuf(char *msg).
* src/sendbuf.c: factor out macro expansion from sendbuf() function
2014-08-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/displayit.c, src/displayit.h, src/sendbuf.c, src/sendbuf.h: fix
displayit() - functions relied on termbuf temrinated with newline. Dropped
last character in display if not present.
2014-06-20 Thomas Beierlein <tb@forth-ev.de>
* src/clusterinfo.c, src/clusterinfo.h, src/time_update.c: cleanup
clusterinfo() - split out functions not belonging to the cluster display
2014-06-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/clusterinfo.c, src/clusterinfo.h, src/main.c, src/splitscreen.c:
cleanup clusterinfo() - drop compiler warnings - simplify - cleanup include
files - add include guard - move datastructures to file scope - rename 'ptr'
variable to 'nr_of_spots'
2014-06-18 Thomas Beierlein <tb@forth-ev.de>
* src/getmessages.c, src/main.c, src/muf.c, src/qrb.c, src/qrb.h,
src/showinfo.c, src/showinfo.h: cleanup qrb calculation - change internal
representation of station coordinates from string to double numbers - drop
usage of global variables and make them local funtion parameters - cleaunp
include files - add include guard
2014-06-17 Thomas Beierlein <tb@forth-ev.de>
* src/main.c, src/muf.c, src/muf.h, src/sunup.c, src/sunup.h: cleanup call of
sunup() function - move global vars to parameters - cleanup includes - add
include guard
2014-06-01 Thomas Beierlein <tomjbe@gentoo.org>
* datastructures, src/clusterinfo.c, src/main.c, src/printcall.c,
src/sendbuf.c: a little cleanup - make global variable local - fix doxygen
syntax - update description of datastructures
2014-05-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/main.c: restructure threading logic -
background thread gets started as before but main logging function 'logit()'
stays in the main thread - add an cleanup function via atexit() to stop
background thread
2014-05-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/rtty.c, src/rtty.h: add correct deinitialisation of RTTY
controller
2014-05-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/startmsg.c: restructure main() - factor out option parsing
and curses initialization - defer color initialisation until logcfg.dat is
read - factor out loading of databases - minor fixes to failure handling -
factor out initialisation of hamlib, packet and lan connection - factor out
initialisation of keyer device
2014-05-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/bandmap.c, src/clusterinfo.c, src/focm.c,
src/globalvars.h, src/main.c, src/readcalls.c, src/recall_exchange.c,
src/searchcallarray.c, src/tlf.h: add a structure to represent worked
stations - move single fields containing parts of the information to a
common struct ('callarray[]', 'call_band[]', 'call_exchange[]' and
'call_country') - rename 'callarray_nr' to 'nr_worked'
2014-04-27 Ervin Hegedus <airween@gmail.com>
* tlf.1.in: Adding new config option and macro
2014-04-26 Sebastian Kricner <sebastian.kricner@funwelt.de>
* src/callinput.c: Fragezeichen für Rufzeichen hinzugefügt
- Wenn im Eingabefeld ein Fragezeichen eingegeben wird und es kein
leeres Feld ist, werden die Buchstaben in CW gesendet, gefolgt von
einem Fragezeichen.
2014-05-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/searchlog.c: Extend searchlog() to show warc bands
- works only in QSO or DXPED mode where you are allowed to work the WARC bands
- fix for contest mode if there are some warc qsos in log (will not be shown
now) Based on HA2OS initial work on that. Thanks Ervin.
2014-05-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/focm.c, src/showscore.c: use new IsWarcIndex()
* src/addcall.c, src/readcalls.c: add statistics info also for warc bands
- countryscore and zonescore are evaluated only for non-warc bands
* src/addmult.c, src/tlf.h: prepare for display of WARC bands
- add entries to tlf.h
- complete conversion table 'inxes[]' from band index to band mask
- add macros IsWarcMask() and IsWarcIndex()
2014-04-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/splitscreen.c: handle newterm() not being able to allocate a second
screen
- happens for ncurses 5.8 and 5.9 with --enable-sp-funcs
- do not change color settings in that case and do not switch to
the packetscreen which is NULL resulting in a segfault
2014-05-01 Ervin Hegedus <airween@gmail.com>
* src/sendspcall.c, tlf.1.in: add hiscall before send "DE" if SEND_DE is used
in DIGIMODE
* src/sendbuf.c, tlf.1.in: added new placeholder: ! for exchange of other
station
2014-04-29 Thomas Beierlein <tomjbe@gentoo.org>
* tlf.1.in: add documentation for MY_QRA (needed for Stewperry contest)
2014-03-02 Ervin Hegedus <airween@gmail.com>
* src/gettxinfo.c, src/sendqrg.c: Handle RIG_ENIMPL and RIG_ENAVAIL response
from hamlib's rig_get_vfo() call
- call rig_get_freq() if rig_get_vfo() is not implemented
- error codes are reported as negative numbers
2014-04-21 Thomas Beierlein <tomjbe@gentoo.org>
* config.h.in, configure.ac: Drop test for GNU compatible malloc from
configure.ac The test seems to fail sporadically (e.g. reported for OpenSUSE
13.1). That test only checks that malloc does return a valid pointer for an
requested memory block of size 0. As we do not use these behaviour we do not
need to check for it.
2014-02-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/locator2longlat.c, src/showscore.c: split show_summary for stewperry
from other display
- ARRL FD uses POWERMULT as an real multiplier, but only as integer value.
So round it to nearest integer and use it as multiplier.
- for STEWPERRY the POWERMULT may be a fractional number and multiplies the
final score by that multiplier.
2014-02-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/locator2longlat.c, src/main.c, src/qrb.c, src/qrb.h, src/score.c,
src/showinfo.c: unify QRB calculation
- rename old qrb() to qrb_() and change it to use the new qrb() for
real work
- move calc_qrb() to qrb()
- add comments about positive sign for east longitudes to qrb() and
locator2longlat()
2013-10-14 airween <airween@gmail.com>
* src/log_to_disk.c: Modified log_to_disk.c for keep the new logfile format:
column 80 contains the '*'.
2014-02-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/focm.c, src/main.c, src/score.c, src/setcontest.c, src/showpxmap.c,
src/showscore.c: rename internal contest identifier to 'focm'
* src/Makefile.am, src/foc.c, src/foc.h, src/focm.c, src/focm.h, src/score.c,
src/setcontest.c, src/showpxmap.c, src/showscore.c: renamed file to focm.[ch]
for FOC Marathon
2013-08-06 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c: Fix input of new CW weight factor with Alt-w
2012-05-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/displayit.c, src/keyer.c, src/sendbuf.c: some cleanup for keyer logic
- Fix comments - drop unneeded code - leaving keyer switches back to correct
mode (RUN/S&P)
2014-02-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: add missing parentheses
2014-02-08 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/clusterinfo.c, src/gettxinfo.c,
src/searchlog.c, src/sendqrg.c: further cleanup of minor problems
- make variable static to allow only local access
- initialize rigfreq in different files
- handle problem if file could not be opened
2014-02-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: fix some minor problems
- make array index unsigned
- leave function if logfile could not be opened
2014-02-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: drop unneeded tests of HAVE_LIBHAMLIB and redundant code
* src/gettxinfo.c, src/main.c, src/sendqrg.c: make rigfreq local
2014-02-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/sendqrg.c, src/sendqrg.h, src/startmsg.h: cleanup header files and add
include guards
2014-02-04 Thomas Beierlein <tb@forth-ev.de>
* src/sendqrg.c, src/sendqrg.h: drop all remaining native_rig_ functions
* src/gettxinfo.c: drop all calls to native_rig_ functions from gettxinfo()
* src/gettxinfo.c, src/sendqrg.c, src/sendqrg.h: drop native_rig_reset_rit()
* src/main.c, src/sendqrg.c: drop unneeded native_rig_get_mode()
* src/sendqrg.c, src/sendqrg.h: drop init_ and close_ function for native_rig
* src/main.c: disabling rig control if no hamlib library compiled in
* src/main.c, src/parse_logcfg.c, src/sendqrg.c: Drop old logic which allowed
to have only a rigportnumber
- RIGPORT expects a whole portname (e.g. /dev/ttyS0")
* src/log_to_disk.c: add header file to fix implicit declaration of score2()
2014-01-29 Thomas Beierlein <tomjbe@gentoo.org>
* share/cabrillo.fmt, share/cty.dat: update files (thanks OK1RR)
* src/foc.c: score 6banders as 5banders with an additionla bonus
2014-01-28 airween <airween@gmail.com>
* src/showscore.c, tlf.1.in: Round final score when POWERMULT is float
2014-01-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/foc.c, src/foc.h, src/showpxmap.c: add list of countries to work
- scan initial exchange file and build list of countries
- display which countries are worked and which are missing
- Call with Alt+M
2014-01-27 airween <airween@gmail.com>
* src/showscore.c, tlf.1.in: Fixed POWERMULT config keyword
* src/main.c, src/score.c, src/showscore.c: Handle POWERMULT config variable
2014-01-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/foc.c: changed display of scoring results
2014-01-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/keyer.c, src/parse_logcfg.c, src/sendqrg.c, src/sendqrg.h,
src/speeddown.c, src/speedup.c, src/tlf.h, src/write_keyer.c: drop support
for ORION_KEYER
- A check on the mailing list showed that nobody seems to be interested in
that feature. It was also not mentioned in the man page or on Rein's
old tlf page.
2014-01-23 airween <airween@gmail.com>
* src/getexchange.c, src/parse_logcfg.c, src/score.c: Adding POWERMULT
keyword, and multiple the calculated points with it (Stewperry rules, #7)
2014-01-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/foc.c, src/foc.h, src/getsummary.c, src/showscore.c, src/showscore.h:
writecabrillo uses new function 'get_total_score()'
- In case we have complex scoring rules these function can redirect
to a contest specific calculation
2014-01-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: initialize complete call statistics
- rescoring works by rereading the logfile and building the whole
statistical data from there. Until now band and country data for
worked calls got not reinitialized.
Therefore we got wrong result when deleting the last call and rescoring.
* src/foc.c: fix scoring for FOC marathon 1 point per QSO 2 points per
country 5 points per continent 5b qso gets 10 points bonus 6b qso gets 15
points bonus Gx4FOC joker counts double
* rules/Makefile.am, rules/foc, rules/focmarathon, share/cabrillo.fmt,
src/setcontest.c: renamed contest 'foc' to 'focmarathon', added
keydefinitions - Thanks OK1RR.
2014-01-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/globalvars.h, src/main.c, src/makelogline.c: cleanup
- move scoring logic to 'makelogline'
- refactor padding with spaces and simplify
* src/makelogline.c: delimit strcat operations
- from time to time we have segfaults from copying to long information
fields into the logline. Then we are past the next column. If we
later try to fill up the space we get a segfault.
- Now we delimit all strcat operations which can have a variable
field length.
2014-01-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/makelogline.c: split contest independent and dependent part of log line
* src/makelogline.c, src/makelogline.h: start cleanup makelogline function
gave segfaults more than once. Needs a serious overhaul.
- add include guard
- move include files to .c
- sort out different tasks
- sort order of preparing time and qso number
* src/callinput.c: fix bug in autosend start logic
- triggered autostart even if only a frequency for band change was entered
- new logic checks if inputfield contains a plain number and does
not start autosend if true
2014-01-13 Thomas Beierlein <tomjbe@gentoo.org>
* rules/Makefile.am, rules/foc: add foc rules file
* src/foc.c: score continents correctly
* src/foc.c, src/foc.h, src/showscore.c: implement basic display of contest
score
2014-01-11 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: fix wrong setting of LAN designator
* src/foc.c, src/foc.h: fix declaration syntax
2014-01-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/foc.c, src/foc.h, src/score.c, src/score.h: add basic scoring logic for
qsos
- report 1 one for normal qso
- regex match Gx4FOC/xxx and give him 2 points
* src/foc.c, src/foc.h, src/main.c, src/setcontest.c: contest recognition and
initialization
2014-01-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/foc.c, src/foc.h: added contest files
* src/Makefile.am: start handling of FOC contest
* src/parse_logcfg.c: drop unneeded code dupliction
2014-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c: adapt evaluation of LAN Logline to longer prefixes prepared
by makelogline
2013-12-31 Thomas Beierlein <tomjbe@gentoo.org>
* src/gettxinfo.c, src/sendqrg.c: call 'rig_get_vfo' before using
RIG_VFO_CURR
- allows to switch VFO on the rig without loosing control by tlf.
Tnx HA2OS for help.
2013-12-28 airween <airween@gmail.com>
* src/getexchange.c, src/score.c: Fixed Stewperry QRB calculation error
2013-12-23 airween <airween@gmail.com>
* rules/stewperry: Added rules/stewperry rule file
* src/getexchange.c, src/locator2longlat.c, src/locator2longlat.h,
src/parse_logcfg.c: Fixed Stewperry rules: check MYQRA when Tlf starts, and
check the station's QRA as exchange
2013-12-15 airween <airween@gmail.com>
* src/Makefile.am, src/getexchange.c, src/globalvars.h,
src/locator2longlat.c, src/locator2longlat.h, src/main.c, src/parse_logcfg.c,
2013-12-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, tlf.1.in: Drop keyword '2EU3DX_POINTS'
- Keyword was not supported for a long time
- It got recognized but did nothing.
2013-12-19..12-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/background_process.h, src/logit.c,
src/logit.h, src/main.c, src/autocq.c, src/main.c, src/sendbuf.c,
src/sendbuf.h, src/callinput.c, src/getexchange.c, src/keyer.c,
src/listmessages.c, src/messagechange.c, src/parse_logcfg.c,
src/writeparas.c, src/bandmap.c, src/bandmap.h, src/checklogfile.c,
src/globalvars.h, src/grabspot.c, src/main.c,
src/sendbuf.c, src/sendqrg.c, src/showinfo.c, src/splitscreen.c,
src/time_update.c: Cleanup a lot of inconsistencies (see log messages for
detail)
2013-12-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/showscore.c: fix wrong order of tests for mult counting
- DX_&_SECTIONS has precedence over MULT_LIST in UNIVERSAL contest
- Thanks Ed W3NR and Fred DH5FS for pointing it out
2013-12-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/autocq.c, src/callinput.c, src/getexchange.c, src/keyer.c,
src/logit.c, src/sendbuf.c, src/sendbuf.h: send CW/DIGI messages only
if not empty
- avoid turning on and off transmitter in CW and Digimodes if message
is empty
- Thanks Ervin HA2OS for pointing out.
2013-12-12 dh5fs <dh5fs@users.noreply.github.com>
* tlf.1.in, share/help.txt, src/parse_logcfg.c, src/lancode.c: Allow
portnumbers for LAN-stations via ADDNODE command
2013-11-28 Thomas Beierlein <tomjbe@gentoo.org>
* help.txt, share/Makefile.am, share/help.txt, src/callinput.c,
src/changepars.c, src/show_help.c, src/show_help.h: move 'help.txt' to
<prefix>/share/help.txt
- add 'help.txt' to distribution
- install 'help.txt' as default hep file
- can be overridden by an own 'help.txt' in actual directory
- correct description for ':help' command in man page
2013-11-28 dh5fs <dh5fs@freenet.de>
* src/callinput.c: Update callinput.c modify CFM message to complete QSO
* help.txt: Create help.txt online help file <ALT+h>
2013-11-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c, src/dxcc.h: add special handling for '*...' prefixes
- strip '*' from prefix
- remember in describing structure
2013-11-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/makelogline.c: move zone id in logline a char right
- make room for 5 letter prefixes (e.g. HK0/a)
2013-11-18..11-20 Thomas Beierlein <tb@forth-ev.de>
* src/Makefile.am, src/cw_utils.c, src/callinput.c, src/clear_display,
src/cw_utils.h, src/parse_logcfg.c, src/getexchange.c, src/main.c,
src/speeddown.c, src/speedup.c, src/tlf.h, src/write_keyer.c, src/autocq.c,
src/speed_conversion.h: refactor CW speed logic
- add new 'cw_utils'
- move speedstr definition to cw_utils
- move 'speed_conversion' to cw_utils
- add SetCWSpeed and use it in parse_logcfg
- add GetCWSpeed and start to use it
- drop separate handling of 'keyspeed' variable
- move calculation of CW message length to cw_utils
2013-11-19 airween <airween@gmail.com>
* share/cty.dat: Added new cty.dat, released 2013-11-18
* share/callmaster, share/cty.dat: New databases from Ervin HA2OS
2013-11-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/lancode.c, src/parse_logcfg.c, tlf.1.in: Initialise tlf's
node designator (THISNODE=...) to 'A'
- Even if you do not use the LAN features and forgot to name your node
in logcfg.dat the node designator is used internally for adding a QSO
to the bandmap.
- Add further check logic to allow only designators 'A'..'H'
- document default setting for node designator in man page
2013-11-11..12-09 Thomas Beierlein <tomjbe@gentoo.org>
2013-12-06 dh5fs <dh5fs@users.noreply.github.com>
* src/callinput.c, src/changepars.c, src/keyer.c: implement reworked autosend
feature
- starts after 2..5 characters
- shorter calls have to be finished with ENTER key
- calculates the expected time to send the call from cw speed and switches
to sending exchange after that time is reached
- Allow autosend feature only in RUN mode
- Adapt ':char' command (accept 0 (off) or 2..5 as number of characters
before autosend start. Changing input can be dropped with ESC)
- SPACE and DOWN no longer starts autosend feature, but jumps to exchange
field
- A progress indicator shows the characters already sent.
2013-10-28 Thomas Beierlein <tb@forth-ev.de>
* src/main.c, src/muf.c, src/muf.h: cleanup use of internal variables
- use M_PI from math.h
- make some global variables privat
2013-10-27 Thomas Beierlein <tomjbe@gentoo.org>
* rules/cqww, share/cabrillo.fmt: fix cabrillo definition
- use TX identifier at end of line only for cqww contest
2013-10-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Fix handling of non existing cabrillo format file
2013-10-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/log_to_disk.c: Change accepted line length from LAN - Log lines are
longer since we added the QRG to its end. The LAN code missed that change
until now.
- Thanks airween HA2OS for the patch.
2013-08-27 Thomas Beierlein <tb@forth-ev.de>
* src/addcall.c, src/addmult.c, src/checklogfile.c, src/editlog.c: close
opened files if not needed
2013-08-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/changepars.c, src/splitscreen.c: Cleanup screen when
leaving TLF with active cluster
- If packet cluster was active when you leaved TLF there was an intermix
of tlf's screen content and the screen before tlf where started.
Reason was the second terminal for the cluster display which must
be closed with endwin() before leaving the program. Added
the code to cleanup_telnet() and called that routine when leaving tlf.
2013-08-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c, src/listmessages.c: Some small fixes
- give a short hint to use PgUp or PgDwn for :scv
- simplify display of cw messages (:list)
2013-08-06 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c: Fix switching on/off the score window
2013-07-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/clusterinfo.c, src/gettxinfo.c, src/main.c, src/sendqrg.c: Improve
handling of problems in rig link
- Report any error during startup of hamlib rig link
- In case of errors ask if user want to continue without rig control.
Otherwise exit tlf.
- If get_frequency fails (maybe because rig is switched off) report
frequency as 0.0. Do not change band settings from tranceiver.
(Show and log the actual frequency as 0, meaning no rig control available
at the moment)
- writecabrillo() will insert start-of-band frequency in log calculated from
band information
2013-07-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/keyer.c, src/messagechange.c: CW messages can no
longer be edited by Shift+Fx key
- The quick recall of an Fx message via Shift+Fx for edit got dropped
as the recognition of the keys is not reliable for some terminal emulators.
So we do no longer rely on that feature. Use :mes or edit
the config file instead.
2013-07-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/showpxmap.c: fix display of worked countries for cqww
- uses line 1..5 omitting the line with the contest information
- clear the lines before und after use
2013-07-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/showscore.c: Fix display of contest statistics
- Q/M calculates now QSOs per multi (was: points per multi)
- display Q/M with one digit after decimal point
- display Q/M always
- show band rate only for bands with more than ten QSOs
2013-07-07 Nate Bargmann <n0nb@n0nb.us>
* many files...: Correct GPL boilerplate in sources
The license boilerplate in the source files incorrectly referenced the
Library General Public License. Given that only 'COPYING' (GPL 2.0) is
included in the tlf directory, and all other documentation references the
GPL, the reference to 'Library' is presumed to be incorrect. With the
concurrance of Tom and Rein, this patch set removes the word 'Library' from
the boilerplate in all .c and .h files where it occured. Include minor Free
Software Foundation mailing address correction with this patch set.
2013-06-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c, src/readctydata.c: make parsing cty.dat more robust
- ignore country lines which do not have the needed components
2013-06-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/log_to_disk.c, src/makelogline.c: Move reset of RST to another place -
Setting RST to its default value after a QSO is not the job of a routine
which prepares the log line for the last QSO.
2013-06-16 Thomas Beierlein <tomjbe@gentoo.org>
* rules/arrlfd, src/callinput.c, src/clear_display.c, src/getexchange.c,
src/log_to_disk.c, src/main.c, src/makelogline.c, src/parse_logcfg.c,
tlf.1.in: add new configuration switch NO_RST
- will be needed for contests which do not record any exchange
(e.g. ARRLFD or CW Open)
- do not add RST into log and do not show RST if NO_RST is set, just
add '---' instead
- suppress redisplay of RST after PgUp/PgDwn if NO_RST is set, as it
does not make sense to change RST if no RST is used.
- document NO_RST in man page and add it to arrlfd rule file
2013-06-14 Thomas Beierlein <tomjbe@gentoo.org>
* share/cabrillo.fmt: ARRL-FD do not use cabrillo. Tnx Nate N0NB
2013-06-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/makelogline.c: Fix for WYSIWYG_ONCE
- points were not written for WYSIWYG_ONCE
* src/getsummary.c, src/writecabrillo.c: simplify
- use get_nr_of_points() and get_nr_of_mults() to calculate claimed score
2013-06-03 Nate Bargmann <n0nb@n0nb.us>
* rules/arrlfd: rules/arrlfd: Update to current FD rules
- The arrlfd rules file was dated so bring it up to date with
changes in Fd and TLF.
- fix recognition of ARRL Field day rules (rule file asked for
'arrlfd' contest, but parser looked for 'arrl_fd')
2013-05-06 Nate Bargmann <n0nb@n0nb.us>
* configure.ac: configure.ac: Enable silent make rules Use Autoconf help
string formatter for Hamlib option.
2013-05-05 Nate Bargmann <n0nb@n0nb.us>
* share/arrlsections: arrlsections: Add new Canadian sections Remove invalid
sections.
2013-05-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/showscore.c, src/showscore.h: Refactor calculation of total score
- factor out calculation of nr of points and mults
2013-06-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/showscore.c: factor out common code into 'display_header()' - gets
list of bands to show as parameter
* src/showscore.c: simplify display of headerline and setting of active band
- rename bandindex_normal and bandindex_warc to bi_normal/warc
- show bands in header line according to the list of band indices in
bi_normal or bi_warc
- simplify highlighting the actual band (do it now on the fly while
printing the line in first place.)
2013-05-30 Thomas Beierlein <tb@forth-ev.de>
* src/showscore.c: Refactor display algorithm for individual score lines
- define the column 'START_COL' where the display of the score should start
- use a table for defining the column number where we display the different
score points for each band
- use two further tables to define which bands should be shown for each
column
- rollup the display of the 6 columns into one loop using the above
mentioned tables
2013-05-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/showscore.c: Change display of score for ARRL SS
- Display points and mults (here section) for ARRL SS similar to
other contests.
2013-05-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/showscore.c: simplify showscore()
- add some comments
- drop unneeded variable initialisation
- unify display of summary for different contests
- factor out display of summary line
2013-05-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/edit_last.c: Fix character input in edit_last()
- display only visible part of logline
2013-05-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Fix frequency output for WARC bands in cabrillo file
- Original code missed all cases for QSOs in WARC bands. No frequency
information for that bands were written to cabrillo file.
- Even if no WARC bands should be used in contests we add the correct
frequency output for these bands
2013-05-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Fix band output for 12m in ADIF file
- Original code missed the case for QSOs in 12m band. The ADIF file
got no band output for that band. Fixed.
2013-03-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c: Reread contest rules file after edit of logcfg.dat with
:SET or :CFG
* src/changepars.c, src/getsummary.c, src/writecabrillo.c: Refactor
- move control of cluster display out to calling context
- reuse code to ask for sent exchange
- drop unused external variable declarations
* src/getsummary.c, src/getsummary.h: Rework to support Cabrillo v3.0 format
- refactor code to ask for input
- write some entries only to cabrillo file if user provided some input
2013-01-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/getsummary.c, src/getsummary.h, src/writecabrillo.c: Simplify writing
cabrillo header
- Until now the cabrillo header was written to a separate file by
'getsummary()' and finally copied together with the formatted QSO-lines.
Changed it so that we write the header direct to the final file and
therefore can drop the copying.
2013-01-12 Thomas Beierlein <tomjbe@gentoo.org>
* rules/arrlss, share/cabrillo.fmt: Add cabrillo definition for ARRL
Sweepstake
2013-01-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: Fix parsing of CALL in logcfg.dat - drop trailing
whitespace - for now keep the trailing NL as a lot of code in other parts of
tlf rely on that NL cahracter
2013-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: Fix parsing of CONTEST, LOGFILE, KEYER_DEVICE and
TELNETHOST
- Use g_strchomp to drop NL and trailing whitespaces from keywords
- simplify with g_strlcpy
* src/parse_logcfg.c: Fix parsing controllerport (ignore trailing whitespace)
2013-01-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, tlf.1.in: Reduce minimal livetime for bandmap entries
to 30s (requested by DH5YM)
2012-12-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c: allow Ctrl-k to start keyer during getexchange()
2012-12-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c: Allow editing of exchange field
- starts with 'left' key if exchange field is not empty
- supports the following keys:
- ctrl-A start of line
- ctrl-E end of line
- left one char left
- right one char right
- del delete key under cursor
- backspace delete char left from cursor
- any non control char insert if string not to long
* src/getexchange.c, src/getexchange.h: Move prototypes of internal functions
to hide visibility - add comments
2012-12-24 Thomas Beierlein <tomjbe@gentoo.org>
* NEWS, configure.ac: prepare for tlf-1.2.0_pre3 prerelease
2012-12-12 Thomas Beierlein <tomjbe@gentoo.org>
* doc/README.cabrillo: Add description of new cabrillo handling
2012-12-08 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Make token parsing reentrant.
2012-10-06 Thomas Beierlein <tomjbe@gentoo.org>
* doc/Makefile.am, doc/README.cab, doc/README.cabrillo, share/cabrillo.fmt,
src/writecabrillo.c: Add some more tokens to cabrillo handling
- Drop old write_cabrillo code
- You can now specify EXC1..EXC4 to address first to fourth space delimited
token from exchange field
- Rename README.cab file and fix spelling errors in cabrillo.fmt
2012-12-05 Thomas Beierlein <tb@forth-ev.de>
* src/autocq.c: Use stoptx() to stop auto_cq message. Old code did overwrite
the right screen border in case of ESC key to stop sending.
2012-11-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/getexchange.c: enable F-keys for digimode also in
exchange field
- While in digimode the F-keys only worked in the input field. Changed
logic so that they will also be accepted in the exchange field.
- Support also F10 and F11 in exchange field.
- While using CTCOMPATIBLE 'INS' key always send only a cw message even
when in SSB mode. Fixed.
2012-11-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/getexchange.c: simplify
- drop unneeded cursor positioning
- redraw call and comment input field before waiting for a new character
- use printcall() and refresh_comment(), but only if needed
- unify handling of band up and down
- drop unneeded call to time_update()
2012-11-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c, src/searchlog.c: fix display of zone and section in
searchlog window
2012-11-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: Fix memory leak
2012-11-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Drop not needed duplication of code for handling Fx
message keys
2012-11-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c: Adapt behaviour of :SCVOLUME command.
- Can be set even if sidetone device is console speaker.
2012-11-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, tlf.1.in: Allow setting of SIDETONE_VOLUME
even if SOUNDCARD is not set.
- To allow to turn off cwdaemons sidetone output it is needed to set
the volume of the sidetone to 0. Until now that was only possible if
SOUNDCARD was se in logcfg.dat which switches to a soundcard for sidetone
output.
- Fix for recognition of SIDETONE_VOLUME value (drop trailing \n)
- Allow volume setting independent of choosen sidetone device.
- Add information to man page.
* src/callinput.c: Cleanup old code
* src/initial_exchange.c, src/initial_exchange.h, src/main.c: Make errors in
initial exchange file more verbose. Thanks Mario DH5YM.
- make_ie_list() checks format of initial exchange entries (exactly
one call <comma> exchange) and complains about errors. It is difficult
to find the problematic line for long exchange files.
- New code reports the line number and ask for confirmation to continue
without initial exchanges in case of error.
2012-10-28 Thomas Beierlein <tomjbe@gentoo.org>
* tlf.1.in: minor correction to man page
2012-10-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: fix tune logic.
- adapt to cwdaemons behaviour. It tunes only for a given time and
than automatically stop.
- So request some tuning time (6s) and allow for an early stop with
any key press.
- Change TUNE_UP constant if you want a different time.
2012-10-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/getexchange.c, src/time_update.c: stop flickering
cursor while searchlog is shown
- during wait for input in call input or exchange field the searchlog
panel is regularly updated. That makes the cursor switch between
different places and showing a flickering effect.
- New logic dropped the time delay from 'time_update()' (as that function
should not determine the speed of the keyboard polling) and added
the delay into the polling loop so that the cursor is a long time in
the input field.
2012-10-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: convert file back to Unix LF endings
2012-10-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/set_tone.c: work around bugs in cwdaemon versions
- cwdaemon < 0.9.6 always set volume to 70% at change of tone freq
- cwdaemon >=0.9.6 do not set volume at all after change of freq
resulting in no tone output if you have a freq=0 in between
- So... to be sure we set the volume back to our chosen
value or to 70% (like cwdaemon) if no volume got specified
2012-10-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/sendspcall.c: use '}' and '{' only for MFJ1278 keyer to switch TX on
and off
2012-10-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/sendbuf.c: correct parsing of special characters in sendbuf() function
- old logic assumes that there is always a trailing newline so it checks
only until strlen(text)-1 is reached
- new code checks all characters until string end.
* src/write_keyer.c: shorten macro output in digimode
- old implementation had 5 empty lines for each macro output
(1 from message eol, 2 from write_keyer routine, 1 from echo,
1 from fldigi)
- dropped 1 of the lines in output string
- used '-n' switch to force echo to not append a further newline
- simplify command formatting
2012-10-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c, src/rtty.c: update miniterm also while in getexchange()
* src/rtty.c: make miniterm output more robust
- strncpy may leave non terminated strings, so switch to g_strlcpy i
- mvprintw needs a format string to avoid interpretation of '%' signs
in the received text.
* src/rtty.c: rework digimode receive routine 'rx_rtty()'
- fix buffer overrun in rx_addtext
- better logic to skip start of line info from GMFSK and FlDigi
- do not skip start of line if serial modem (MFJ or similar)
2012-10-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/parse_logcfg.h, src/rules.c: ask for
confirmation if errors in logcfg.dat or rule file detected
- for some time tlf reports errors in both configuration files but gives
user only 2 seconds time to read the problem. The changes records that
some problems exists and ask the user after processing the files if
we should continue or stop the program and fix the problem. That gives
them time to read the problems and think it over.
2012-10-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/set_tone.c: fix control of sidetone output
- CWTONE drops trailing newline now (was not recognized by cwdaemon 0.9.2
if there was a trailing newline)
- :tone did not initialize box correctly. Old screen contents showed
through the frame.
2012-10-09 Thomas Beierlein <tb@forth-ev.de>
* src/parse_logcfg.c: Correct wording for some error message
* rules/arrl10m_dx: fix typo wrt CQ_TU_MSG
2012-09-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/getsummary.c: cut erase strings which are too long for screen width
2012-09-17 Thomas Beierlein <tb@forth-ev.de>
* rules/arrl10m_dx, rules/arrldx_dx, rules/arrldx_usa, rules/contest,
rules/cqww, rules/eusprint, rules/lzdx, rules/pacc_dx, rules/pacc_pa,
rules/spdx_dx, rules/spdx_sp, rules/template, rules/wpx, share/cabrillo.fmt:
add some more cabrillo format specifications
- rename wpx cabrillo format into UNIVERSAL
- complete rule files with information which format to use
- new format for EU-SPRINT contest
2012-09-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: add handling of EXC_S item containing '#' special
character
- use old 'getsummary' to ask for exchange for now
2012-09-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: add handling of TX entry for cqww.m2 and other
contests
2012-09-10 Thomas Beierlein <tb@forth-ev.de>
* src/writecabrillo.c: Basic implemention of 'prepare_line' function
- format entries according to list of items from QSO: line definition
- add entry by entry to linebuffer
- !! atm not complete
2012-09-14 Thomas Beierlein <tb@forth-ev.de>
* src/searchlog.c: Old code segfaults for really long calls in 'searchlog'
- happens for long call signs which fill the call field
- strchr return NULL if space is not found, so limit string only if
a space is really found
2012-09-10 Thomas Beierlein <tomjbe@gentoo.org>
* share/cabrillo.fmt, src/writecabrillo.c: drop position from cabrillo format
definitions
- Each field in the QSO line is separated by one space from the
next.
- So knowing the length of each field we can determine the position
from that information if we have the field entries defined in order
2012-09-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Parse QSO logline into relevant pieces for
writecabrillo
2012-09-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Fill in qso_t structure and start parsing the qso
line
2012-09-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: fix possible segfault due to wrong allocation size
2012-09-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: fix memory leak The list of split parts of the entry
needs to be freed after being used.
2012-09-04 Thomas Beierlein <tb@forth-ev.de>
* src/writecabrillo.c: Parse each item description for QSO: line
- convert item name to a enumed tag
- parse and convert position and fieldwidth
- add all converted items to an array in the format description
2012-08-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: First steps to new 'write_cabrillo'
- Complete rewrite of main flow for the function. !Not all
functionality implemented.
- 'read_cabrillo_format' lookup file with needed cabrillo format
description in local dir or datadir and parses some keys
(atm only 'QSO:')
- QSO: key is splitted into separate items each describing one entry
in cabrillos QSO: line.
Be aware !! Keywords have to be case sensitive
* share/cabrillo.fmt: First simple definition of a cabrillo format file
2012-08-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: Second part of reworked parsing logic
- All keywords which require a parameter after an '=' use the
preparsed fields[1] variable now.
- To catch wrong syntax in the config file the macro PARAMETER_NEEDED
tests if needed that there was such a '=' in the config entry.
2012-08-16 Thomas Beierlein <tb@forth-ev.de>
* src/parse_logcfg.c: Fixes nasty problem in parsing of preferences from
logcfg.dat and rules file
- David N1EA and Martin OK1RR reports not working CLUSTERLOGIN.
- Reason was change in parsing logic done between tlf-1.0.5 and
tlf-1.1.0. TLF now stopped at keyword CLUSTER mas it was a substring of
CLUSTERLOGIN. So CLUSTERLOGIN got never called. Thorough inspection showed
that it may affect also other settings.
- New logic starts by splitting the inputline at a potential '=' sign.
First part: the keyword, second part (if available): the parameters.
The keyword gets stripped on both sides, the parameter only from
leading spaces. That allows something like ' CALL = DL1JBE'.
- All keywords in the keyword list were stripped from a trailing '='
sign. If you need to decide if it got called correctly, than look at the
second field in the parsed array.
2012-08-23 Thomas Beierlein <tb@forth-ev.de>
* .gitignore, aclocal.m4: remove unneeded 'aclocal.m4' and add it to
.gitignore
- They will be created automatically if you run 'autoreconf' after
an checkout. so there is no need to have it in the repository.
2012-08-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c, src/main.c, src/parse_logcfg.c: Add tilde expansion for
config file switch (-f)
- -f command line switch allows use of an alternate logfile.
Until now it does not recognize '~' as abbreviation for the users
HOME directory (Thanks David N1EA for reporting).
- If logfilename starts with ~/ it gets replaced by users home directory.
* src/checklogfile.c: fix uninitialized variable
2012-08-13 Thomas Beierlein <tb@forth-ev.de>
* tlf.1.in: comment CWBANDWIDTH= preference switch
- Normally in CW mode tlf sets the (hamlib defined) default bandwidth
during each switch of bands.
- If you need a different bandwidth you can set it with these switch
in logcfg.dat
2012-08-10 Thomas Beierlein <tb@forth-ev.de>
* config.h.in, configure.ac, configure.in: Prepare for Automake-1.13 which no
longer accepts a configure.in
- move configure.in to configure.ac
- regenerate config.h.in
2012-08-10 Thomas Beierlein <tomjbe@gentoo.org>
* doc/Makefile.am, doc/README.cab, share/Makefile.am, share/cabrillo.fmt,
tlf.1.in: add rudimental files with description of new cabrillo mechanism and
format specification (needs to be completed). Document new CABRILLO=
statement for ruls file.
2012-08-09 Thomas Beierlein <tb@forth-ev.de>
* src/main.c, src/parse_logcfg.c: add recognition of new keyword CABRILLO=
That keyword has to be used to name the cabrillo format definition to be used
when writing cabrillo logs.
2012-06-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: first work for new writecabrillo
2012-07-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Use g_strstrip instead home made function
* src/checklogfile.c, src/checklogfile.h, src/main.c: Implement new logfile
check and repair operation.
- all line have to be
a) a comment line starting with ';' or
b) starts with a valid bandnumber
- The length of each logline has to be LOGLINELEN (including \n)
a) If to long -> cannot handle that file type (possible truncation)
b) If some line to short -> maybe old log format, so ask if it should
try to repair (fill with needed amount of spaces).
2012-07-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c: Add warning if console window is too small for TLF (needs at
least 25x80)
2012-06-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Write QRG to cabrillo file if available in log file
2012-06-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Write QRG to ADIF file if available in log file
2012-01-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: renamed adif and cabrillo file according to OK1RR:
cabrillo: <call>.cbr
adif: <contest>.adi
2012-06-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/makelogline.c, src/tlf.h: Record the working QRG in the log i
ATTENTION!
New log line format in use! At the moment that is incompatible with old log
files. Back them up before experimenting. Code to migrate old log to new
format will follow in next days.
- make logline 7 characters longer to accomodate the QRG with one decimal
precision.
- record QRG at end of logline if you have the rig online
* src/gettxinfo.c: Fix wrong check for lowest band frequency. rig_get_freq()
reports frequency in Hz so we have to check against 1800000 Hz for lower
border of 160m band. Furthermore simplify switch logic and add an default
case if rig is not in ham band.
2012-06-06 Thomas Beierlein <tb@forth-ev.de>
* configure.in: Abort configure if ncurses libs not vailable. Tnx Jens DK2AB
for pointing it out.
2012-05-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/note.c: fix note input to add it to the internal recorded log lines and
to adapt to wider logline length
2012-05-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/deleteqso.c, src/deleteqso.h: Simplify
- Make logic independent of 'logline4'. Use 'qsos' instead.
- check for filesize >= LOGLINELEN
* src/edit_last.c, src/edit_last.h, src/main.c: New implementation of
edit_last() to enable longer loglines and thus make room for record of QRG
Needs a new mechanism to get and store editbuffer.
Former use of logline_edit field, which was shared with some other code for
displaying the last 5 qsos, was error prone. Use a separate editbuffer
instead and get the content from the qsos[] database every time we start to
edit a line. Write content of editbuffer back to qsos[] and file after
finishing the edit.
Furthermore refactor out common code
- highlight and unhighlite line
- limit len of displayed output line
- make number of lines easier to configure
- correct handling of empty log file
- fix edit of upper line !! Be aware that edit on ';' notes is broken
- better handling of <Tab> to hop from field to field
- move definition of logline_edit fields into main.c
2012-05-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/checklogfile.c, src/deleteqso.c, src/edit_last.c, src/editlog.c,
src/getmessages.c, src/globalvars.h, src/last10.c, src/main.c,
src/makelogline.c, src/readcalls.c, src/scroll_log.c, src/searchlog.c,
src/tlf.h: use LOGLINELEN to specify the size of a logline and the needed
checks and buffers
2012-04-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/cleanup.c, src/clear_display.c, src/main.c, src/note.c,
src/searchlog.c, src/showscore.c, src/tlf.h: Fix some more color settings i
- use C_ names wherever possible
- Drop use of 'DUPECOLOR' and use only 'C_DUPE'.
- invert color definition for 'C_DUPE' to avoid the STANDOUT attribute.
- change 'attron' to 'attrset' as old color definition required always an
'standout' attribute which got not reset by attron
2012-04-18 Thomas Beierlein <tomjbe@gentoo.org>
* rules/Makefile.am, share/Makefile.am: add forgotten files to Makefile.am
* ChangeLog, NEWS, configure.in: Prepare TLF-1.1.2 maintenance release (see
NEWS for details).
* share/usa_canada_states: remove old 'usa_canada_states' file, use
arrldx_mults instead
* rules/arrldx_dx, share/arrldx_mults: add actual mults file for ARRLDX
contest for DX and adapt path (tnx Fred DH5FS)
2012-03-31 Thomas Beierlein <tomjbe@gentoo.org>
* rules/arrl10m_dx, share/arrl10m_mults: add ARRL 10m contest
(tnx Fred DH5FS)
* src/parse_logcfg.c, src/score.c: correct naming of functions
* src/score.c: simplify loop exit logic
2012-03-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: fix recognition of COUNTRY_LIST= keyword
- multiplier_list was uninitialized. If it was not empty
COUNTRY_LIST definitions would not be recognized
- use glib for better handling of string termination
2012-03-19 Thomas Beierlein <tb@forth-ev.de>
* src/main.c, src/parse_logcfg.c, src/score.c: simplify COUNTRYLIST handling
- renamed 'multiplier_only' to 'countrylist_only'
- renamed 'multiplier_points' to 'countrylist_points'
- simplify naming scheme for local variables
2012-03-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c: rework checkexchange handling
- fix out of bounds error resulting in a segfault
- better maintainability by automatic calculation of loop boundaries
for pattern scanning
2012-02-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: better regognition of unknown keywords in logcfg.dat
and rules file
2012-02-27 Thomas Beierlein <tomjbe@gentoo.org>
* rules/arrldx_dx, rules/pacc_dx, rules/spdx_dx: fix wrong keyword:
'RECALL_EXCHANGE' is 'RECALL_MULTS' now
2012-02-19 Thomas Beierlein <tb@forth-ev.de>
* src/audio.c: Simplify audio recording by factoring out common code
2012-01-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c: simplify string handling
2012-01-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/Makefile.am, src/printfield.c, src/printfield.h, src/showscore.c,
src/showscore.h: Merge printfield() into showscore.c - only used for
showscore() - simplify printfield() function. - drop unneeded include file
from showscore.c
2012-01-15 Thomas Beierlein <tomjbe@gentoo.org>
* NEWS: Fix spelling error for G4KNO
2012-01-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/calledit.c: simplify calledit()
- drop not working keys for 'home' and 'down'
- factor out display code
- fix display of background for partials when leaving edit mode
2012-01-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c, src/main.c: Make sure that no packet related functions
get called if started with 'tlf -n'
2012-01-12 Thomas Beierlein <tb@forth-ev.de>
* src/makelogline.c, src/makelogline.h: Fix makelogline segfault if not in
contest mode Logline gets not cut back to 68 characters. Results in a buffer
overflow. Add description of logline format
2012-01-08 Thomas Beierlein <tomjbe@gentoo.org>
* doc/Makefile.am, doc/README.ssb: Added README.ssb from Andy, G4KNO. Thanks
for contributing.
2012-01-03 Thomas Beierlein <tomjbe@gentoo.org>
* scripts/play_vk: fix spelling of unmute command. Tnx G4KNO
2011-12-22 Thomas Beierlein <tomjbe@gentoo.org>
* NEWS, doc/README: move tlf's history of changes to NEWS file
* tlf.1.in: adapt man page to new features
2011-12-21 Thomas Beierlein <tomjbe@gentoo.org>
* Makefile.am, NEWS, New_Bandmap.txt, doc/Makefile.am, doc/New_Bandmap.txt:
Move New_Bandmap.txt to doc/
* NEWS: summarize changes made between tlf-1.0.5 and tlf-1.1.0
* share/cty.dat: new cty.dat from OK1RR. Thanks
2011-12-17 Thomas Beierlein <tomjbe@gentoo.org>
* New_Bandmap.txt, share/logcfg.dat: document configuration of bandmap
filtering
* src/parse_logcfg.c: fix location of #endif line
* src/bandmap.c: leave some headroom for grabbing next frequency
* src/bandmap.c, src/checklogfile.h, src/logit.c, src/netkeyer.c,
src/printcall.c, src/showscore.c, src/splitscreen.c, src/startmsg.c,
src/tlf.h: further cleanup - fix implicit declaration warnings - drop unused
variables
2011-12-14 Thomas Beierlein <tb@forth-ev.de>
* src/parse_logcfg.c, src/rules.c: cleanup - drop unused variable - fix
wrong initialisation of 'buff'
2011-12-14 Thomas Beierlein <tomjbe@gentoo.org>
* tlf.1.in: Fix description of LOWBAND_DOUBLE keyword in man page.
2011-12-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: divide livetime by 2 as aging is done every two seconds
* src/parse_logcfg.c: allow configuration of bandmap filtering in logcfg.dat
2011-12-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/tlf.h: fix recognition of keywords
- keywords with parameters did not work if keyword was not in first column
2011-12-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/bandmap.h: dupes will be skipped during ctrl-g
- make that feature configurable via bm_config.skipdupes
2011-12-11 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/parse_logcfg.h: better report of unsupported config
keywords
2011-11-24 Thomas Beierlein <tb@forth-ev.de>
* src/dxcc.c, src/grabspot.c, src/grabspot.h: fix prototypes - fix missing
'#include <string.h>' - add missing prototype for 'grab_next' - change
prototype of grabspot to return void
* src/addmult.c: fix wrong check for empty string in multiplier file
* src/callinput.c, src/changepars.c, src/main.c, src/printcall.c, src/rtty.c:
Fix use of 'miniterm' variable - clean old code - add comments - save and
restore variable if temporary disabled
* New_Bandmap.txt: Add some additional informations describing the new
bandmap functions.
* src/callinput.c, src/grabspot.c: Fix calculation of zone and prefix for
grabspot() - Zone and prefix was not calculated correctly during grab of a
station from bandmap. It was needed to call 'getctydata()' instead of
'getctynr()' - Drop clear_display after grab. Now the info line is displayed
properly. Thanks Fred DM3F for reporting.
2011-11-16 Thomas Beierlein <tomjbe@gentoo.org>
* INSTALL, configure.in: prepare for TLF-1.1pre3 release
* scripts/Makefile.am, scripts/play_vk, src/callinput.c: Use external script
'play_vk' for playing of SSB voice key messages
* share/Makefile.am: add list of usa_canada_states to installation files -
in distribution since 0.9.11 but forgotten in Makefile.am
2011-11-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c: change parsing of section for ARRL SS - trailing spaces
in mults_possible[] and cut out section string deleted - compare only pure
non-space strings
* src/getexchange.c: Fix possible segfaults - old code segfaults if serial
number >9999 was entered - simplify reading of check value
* src/getexchange.c, src/searchlog.c, src/searchlog.h: Display parsing
results for ARRL SS - displayed on lower line of Search panel again
* src/searchlog.c: fix display of needed sections - readcalls cuts always 3
char to worked mults[] fro some contests - ignore possible trailing spaces in
compare
* src/clear_display.c: display contest name on info line
2011-11-10 Thomas Beierlein <tomjbe@gentoo.org>
* rules/Makefile.am: add forgotten general 'contest' rule file to installable
files
* rules/arrlss: Better defaults for CW messages - exchange has to use serial
number instead of a fixed '1' - make check consistent between messages
* src/getexchange.c: Fix recognition of 'U' precedent - got introduced late
and was not recognized properly - add some comments to the meaning of the
searchpatterns
* src/searchlog.c: some minor optimization - drop unneeded statement - break
out of loop as soon as possible
* src/searchlog.c, src/showscore.c, src/showscore.h: Fix display of section
in ARRL_SS - moved display code to searchlog.c - use SearchPanel for display
- thanks for reporting to Ben NJ8J
2011-11-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/getexchange.c, src/logit.c, src/logit.h: make Ctrl-A
also work in exchange field - calls addspot() to add the actual call to the
bandmap - correct hide of searchlog
2011-11-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: strip trailing spaces on comments from log file
2011-11-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/changefreq.c, src/changefreq.h: hide cursor during frequnecy change
* src/callinput.c: Allow edit of old QSO's only if call field is empty
* src/calledit.c, src/callinput.c, src/getexchange.c: correct display of
cursor if searchwindow is shown
2011-11-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/searchlog.h: fix display of startup messages
2011-11-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/listmessages.c: correct displayed message name for CQmsg
2011-09-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/tlf.h: Report unsupported config keywords during
startup
* rules/arrldx_dx, rules/arrldx_usa, rules/arrlfd, rules/arrlss,
rules/contest, rules/cqww, rules/dxped, rules/eusprint, rules/lzdx,
rules/pacc_dx, rules/pacc_pa, rules/qso, rules/spdx_dx, rules/spdx_sp,
rules/ssa_mt, rules/template, rules/wpx, src/parse_logcfg.c: change keywords
in parse_logcfg.c to correspond to man page The keywords for CQ_TU_MSG,
VKCQM and VKSPM were not recognized correctly. Fixed. Adapt contest rules to
changed keywords.
2011-11-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c: Send VKCQM and VKSPM voice messages after end of QSO -
Drop a change made by Rein in tlf-0.9.22 to not send these messages if in SSB
mode
2011-11-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c: '+' and 'INSERT' respect CTCOMPATIBLE mode also during
getexchange()
2011-10-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: '+' and 'INSERT' respect CTCOMPATIBLE mode now - if
callfield not empty both keys are working now only if CTCOMPATIBLE is set in
logcfg.dat
2011-10-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/gettxinfo.c: Fix upper boundaries for 160 and 40 meters. - Thanks Ben
NJ8J for reporting
2011-10-27 Thomas Beierlein <tomjbe@gentoo.org>
* aclocal.m4, configure.in: prepare for prerelease 2 of tlf-1.1 - fix
aclocal.m4
* src/clear_display.c, src/printfield.c, src/showscore.c: move score display
in upper right corner of display
* src/logit.c, src/searchlog.c, src/searchlog.h: Hide searchlog panel at more
points
2011-10-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/muf.c: propagation display uses panel code now
* src/searchlog.c, src/searchlog.h, src/time_update.c: Use panel code for
show and hide of searchlog
2011-01-30 Thomas Beierlein <tb@forth-ev.de>
* src/nicebox.c, src/nicebox.h: factorisation to support nicebox for given
window
2011-10-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/audio.c, src/autocq.c, src/background_process.c,
src/bandmap.c, src/calledit.c, src/callinput.c, src/changepars.c,
src/checklogfile.c, src/cleanup.c, src/clear_display.c, src/clusterinfo.c,
src/deleteqso.c, src/displayit.c, src/edit_last.c, src/editlog.c,
src/freq_display.c, src/getexchange.c, src/getmessages.c, src/gettxinfo.c,
src/grabspot.c, src/keyer.c, src/lancode.c, src/listmessages.c,
src/log_to_disk.c, src/logit.c, src/logview.c, src/main.c,
src/messagechange.c, src/muf.c, src/netkeyer.c, src/parse_logcfg.c,
src/printcall.c, src/readcalls.c, src/readctydata.c, src/recall_exchange.c,
src/rtty.c, src/rules.c, src/searchlog.c, src/sendbuf.c, src/sendqrg.c,
src/setparameters.c, src/show_help.c, src/showpxmap.c, src/showscore.c,
src/splitscreen.c, src/startmsg.c, src/writeparas.c: switch all refresh()
calls for use of curses panels - add a fake refreshp() function which
replaces the old refresh() and calls 'update_panels()' followed by
'doupdate'. - serialize refreshp() calls from different threads
2011-10-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: fix delete of first line in bandmap (was one char to short)
2011-01-28 Thomas Beierlein <tb@forth-ev.de>
* config.h.in, configure.in: Prepare usage curses panel library
2011-10-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/clusterinfo.c, src/splitscreen.c: proper locking for spot_ptr[] array
2011-10-16 Thomas Beierlein <tomjbe@gentoo.org>
* share/logcfg.dat, src/callinput.c, src/changepars.c, src/clusterinfo.c,
src/main.c, src/parse_logcfg.c, src/setparameters.c, src/tlf.h, tlf.1.in:
Drop old SPOTLIST display
- ALT-a now switches between Nocluster->Cluster->Bandmap->
- 'cluster == MAP' displays the new bandmap and writes the last 8 spots to
Xplanet's marker file.
2011-10-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/Makefile.am, src/cluster_bg.c, src/cluster_bg.h: Delete unneeded
cluster_bg.[ch] files - functionality is now in clusterinfo.c
* src/background_process.c, src/background_process.h, src/cluster_bg.c,
src/clusterinfo.c: Move 'getclusterinfo()' to clusterinfo.c
* src/cluster_bg.c, src/cluster_bg.h, src/clusterinfo.c, src/clusterinfo.h:
Move 'loadbandmap()' to clusterinfo.c
2011-10-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/cluster_bg.c: change source of data for loadbandmap()
2011-10-11 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/cluster_bg.c, src/main.c: cleanup unneeded code -
drop double extern declarations - drop handling of spotinfo filed as nobody
uses that information
* src/cluster_bg.c, src/main.c, src/splitscreen.c: on the fly recognition of
WWV/WCY announcements
2011-10-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: keep display of frequency memory (#)
2011-10-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addmult.h, src/globalvars.h, src/readcalls.c: refactor
registration of worked multiplier and multi initialisation
* src/addmult.c, src/addmult.h, src/searchlog.c, src/searchlog.h: move
'load_multipliers()' to addmult.c
* src/addmult.c: drop old comment regarding 'wysiwymultsg' variable
2011-10-05 Thomas Beierlein <tb@forth-ev.de>
* README: Edited README
2011-10-05 Thomas Beierlein <tomjbe@gentoo.org>
* .gitignore, src/showscore.c: Do not show mults per band in WYSIWYG_ONCE
mode.
2011-10-05 Thomas Beierlein <tb@forth-ev.de>
* src/addmult.c, src/globalvars.h, src/main.c, src/readcalls.c,
src/showscore.c: Remove 'wysiwygmults' variable
* src/addmult.c, src/changepars.c, src/getsummary.c, src/globalvars.h,
src/readcalls.c, src/showscore.c: Remove 'multcount' variable
2011-10-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: Further simplifications
2011-10-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/changepars.c, src/getexchange.c, src/globalvars.h,
src/main.c, src/showscore.c: Complete new handling of mults_possible[] length
2011-09-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: Prepare factorization of addmult() and addmult2() Prepare
factorization of lookup of possible mults and worked mults
2011-09-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/tlf.h: Report unsupported config keywords during
startup
* rules/arrldx_dx, rules/arrldx_usa, rules/arrlfd, rules/arrlss,
rules/contest, rules/cqww, rules/dxped, rules/eusprint, rules/lzdx,
rules/pacc_dx, rules/pacc_pa, rules/qso, rules/spdx_dx, rules/spdx_sp,
rules/ssa_mt, rules/template, rules/wpx, src/parse_logcfg.c: change keywords
in parse_logcfg.c to correspond to man page The keywords for CQ_TU_MSG,
VKCQM and VKSPM were not recognized correctly. Fixed. Adapt contest rules to
changed keywords.
2011-10-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/changepars.c, src/getexchange.c, src/globalvars.h,
src/main.c, src/showscore.c: Complete new handling of mults_possible[] length
2011-09-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c: first steps to a rework multi scoring
2011-10-01 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/searchlog.c, tlf.1.in: Better handling
of lines from external multiplier file - Allow comment lines (starting with
'#') - strip leading and trailing whitespace - drop empty lines Furthermore
drop unneeded string variables and make global ones local.
2011-02-03 Thomas Beierlein <tb@forth-ev.de>
* rules/arrldx_dx, rules/arrldx_usa, rules/arrlfd, rules/arrlss,
rules/contest, rules/cqww, rules/dxped, rules/eusprint, rules/lzdx,
rules/pacc_dx, rules/pacc_pa, rules/qso, rules/spdx_dx, rules/spdx_sp,
rules/ssa_mt, rules/template, rules/wpx: fix format and drop false comment in
rule files
2011-09-24 Thomas Beierlein <tomjbe@gentoo.org>
* share/logcfg.dat, src/main.c, src/parse_logcfg.c, src/showscore.c,
tlf.1.in: drop MANY_CALLS config statement
* datastructures: commented use of 'mults_possible' array
2011-09-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: Correct rescoring for WYSIWYG_* methods
* src/addmult.c: strip trailing spaces from comment for WYSIWYG_... handling
* src/readcalls.c: Fixed handling of comments for WYSIWYG_ONCE and _MULTI -
Old code dropped multi at first space in comment string. Changed to strip
only trailing spaces. Was so back before tlf-0.9.21
* src/readcalls.c, src/recall_exchange.c, src/searchcallarray.c: Fix wrong
use of callarray_nr
2011-09-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/changepars.c, src/getexchange.c, src/globalvars.h,
src/main.c, src/searchlog.c, src/showscore.c: Switch mults_possible[] to a
growing array.
2011-09-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/searchlog.c: add comments and rearrange variable
definitions
2011-09-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: Logcfg.dat now allows >9 points for scoring Fix
possible overflows if there are point declaration above 9 points.
2011-09-15 Thomas Beierlein <tomjbe@gentoo.org>
* README: Add a summary description to README. The summary was copied from
the TLF page on Savannah. It gives a short intro which is shown on GitHubs
TLF repo page.
2011-07-26 Thomas Beierlein <tb@forth-ev.de>
* tlf.1.in: Drop ORION exception from RIGMODEL explanation
2011-06-10 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c, src/clear_display.c, src/getexchange.c, src/keyer.c,
src/logit.c, src/main.c, src/sendbuf.c: make curx and cury local variables
2011-06-08 Thomas Beierlein <tb@forth-ev.de>
* src/getpx.c, src/showinfo.c: Adding comments, small improvements, cleanup
2011-05-31 Thomas Beierlein <tb@forth-ev.de>
* src/log_to_disk.c, src/log_to_disk.h: add spot to bandmap for stations
worked in S&P
2011-05-29 Thomas Beierlein <tb@forth-ev.de>
* config.h.in, configure.in: some modernisation
2011-05-11 Thomas Beierlein <tb@forth-ev.de>
* src/background_process.c, src/log_to_disk.c, src/log_to_disk.h,
src/logit.c, src/scroll_log.c: fixed handling of exclusive access to
log_to_disk
2011-05-02 Thomas Beierlein <tb@forth-ev.de>
* src/addcall.c, src/getctydata.c: simplify
* src/set_tone.c: drop unneeded calculation of speedstr
2011-04-29 Thomas Beierlein <tb@forth-ev.de>
* src/addcall.c, src/readcalls.c, src/searchcallarray.c: Fixed handling of
callarray entries
2011-04-14 Thomas Beierlein <tb@forth-ev.de>
* src/addmult.c: use #define instead of fixed value for number of bands
* src/addspot.c: spot broadcasts to other stations contains the identifier of
the sending station now
* src/addcall.c: add_call() remembers worked band now
* src/readcalls.c: regroup code fragment
2011-03-03 Thomas Beierlein <tb@forth-ev.de>
* src/searchlog.c: correct position of pfx in bottom line of check window
2011-07-21 Thomas Beierlein <tb@forth-ev.de>
* Makefile.am, New_Bandmap.txt: add New_Bandmap.txt to EXTRA_DIST File
contains description of new bandmap features.
2011-07-23 Thomas Beierlein <tb@forth-ev.de>
* src/grabspot.c: fix compilation without hamlib
2011-07-06 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c, src/grabspot.c: implemented scanning up and down in
grab_next() switch keys: ctrl-g is for scanning now as Alt-g gets grabbed
from the terminal emulator
2011-07-05 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c: change meaning of Alt-G to jump to next spot
* src/bandmap.c, src/bandmap.h, src/grabspot.c: extended 'grab' function to
switch to next spot up- or downwards
2011-07-04 Thomas Beierlein <tb@forth-ev.de>
* src/grabspot.c: Grabspot switches to S&P if in run mode and remembers QRG
* src/bandmap.c, src/bandmap.h, src/grabspot.c, src/main.c, src/main.h:
started new grabspot implementation
2011-06-28 Thomas Beierlein <tb@forth-ev.de>
* src/bandmap.c, src/bandmap.h: First work on grabspot
2011-06-27 Thomas Beierlein <tb@forth-ev.de>
* src/bandmap.c, src/bandmap.h: restructure filtering
2011-06-23 Thomas Beierlein <tb@forth-ev.de>
* src/bandmap.c: add some comments
* src/bandmap.c: - rename 'spots' structure to 'allspots' - add mutex to
protect 'allspots' data structure
2011-06-10 Thomas Beierlein <tb@forth-ev.de>
* src/cluster_bg.c, src/getctydata.c, src/getctydata.h: implement getctynr
which does not change any global strings like pfstr, ituzone, countrynr,
continent and so on ... (port from tlf-1.0.5)
2011-05-16 Thomas Beierlein <tb@forth-ev.de>
* src/addspot.c, src/bandmap.c: fix display of reporting node
2011-05-02 Thomas Beierlein <tb@forth-ev.de>
* src/bandmap.c: Fix bandmap_show crashes
2011-04-29 Thomas Beierlein <tb@forth-ev.de>
* src/addcall.c, src/readcalls.c, src/searchcallarray.c: Fixed handling of
callarray entries
2011-04-14 Thomas Beierlein <tb@forth-ev.de>
* src/bandmap.c: bm_isdupe() respects worked band now
* src/bandmap.c: fix display of dupes in bandmap
* src/addspot.c: spot broadcasts to other stations contains the identifier of
the sending station now
* src/callinput.c: '.' calls new bm_menu() now
* src/bandmap.c, src/bandmap.h: bm_is_dupe() check implemented
* src/readcalls.c: regroup code fragment
2011-03-09 Thomas Beierlein <tb@forth-ev.de>
* src/cluster_bg.c: - drop display of old bandmap - call bm_show() to display
the new one
2011-03-08 Thomas Beierlein <tb@forth-ev.de>
* src/tlf.h: new definition of BANDINDEX_xx
2011-03-07 Thomas Beierlein <tb@forth-ev.de>
* src/Makefile.am, src/bandmap.c, src/bandmap.h, src/cluster_bg.c,
src/splitscreen.c: First work for new bandmap - add bandmap.[ch] - call
according functions - bandmap stores freq in Hz as integers
2011-02-24 Thomas Beierlein <tb@forth-ev.de>
* src/showinfo.c: - correct display of 1A stations - simplify
2011-02-25 Thomas Beierlein <tb@forth-ev.de>
* src/bandmap.h: First steps to define the behaviour of the new bandmap
2011-02-23 Thomas Beierlein <tb@forth-ev.de>
* src/addcall.c, src/cluster_bg.c, src/searchcallarray.c, src/tlf.h: - fix
wrong false return value from searchcallarray - simplify
2011-02-22 Thomas Beierlein <tb@forth-ev.de>
* src/main.c, src/makelogline.c, src/score.c: simplify handling of score
points
* configure.in, src/Makefile.am, src/addcall.c, src/addspot.c,
src/callinput.c, src/cluster_bg.c, src/dxcc.c, src/dxcc.h, src/getctydata.c,
src/getmessages.c, src/getwwv.c, src/globalvars.h, src/main.c,
src/makelogline.c, src/muf.c, src/readctydata.c, src/score.c,
src/searchlog.c, src/showinfo.c, src/showpxmap.c, src/tlf.h: switch cty data
handling to growing arrays needs GLib, so also add a check to configure.in
2011-06-09 thomas beierlein <tb@forth-ev.de>
version 1.0.5
* fixes some nasty racing condition between bandmap code and
checkwindow. In result prefix in lower line of checkwindow
got displayed wrong, but country was right.
Thanks Martin OK1RR for reporting.
2011-05-22 thomas beierlein <tb@forth-ev.de>
version 1.0.4
* fix for wrong handling of recalled exchange -
Thanks Martin OK1RR for reporting.
- All calls from initial exchange file will be recognised even
if part of a complex call, e.g. DL1CCL in LA/DL1CCL/p
- All calls from former QSO's have to be exact including any
pre- or postcombination
- Now complete exchange will be recalled (not only first word)
2011-02-07 thomas beierlein <tb@forth-ev.de>
version 1.0.3
* fix buffer overflow in 'send_lan_message'
* fix wrong count of points and qso's for last band entry.
Thanks Martin OK1RR for reporting.
2011-01-31 thomas beierlein <tb@forth-ev.de>
version 1.0.2
* fix bug in sendto call. cwdaemon needs a zero terminated string.
Thanks for reporting Andy G4KNO
2011-01-15 thomas beierlein <tb@forth-ev.de>
version 1.0.1
* fix calculation of sun up and down time based on longitude
from country description in cty.dat
2011-01-13 thomas beierlein <tb@forth-ev.de>
* fix bug in cty.dat and in the routine which reads in the file
2011-01-08 thomas beierlein <tb@forth-ev.de>
* fix logfile read error. Last QSO got reead twice.
* Optimize searchlog() for speed and also optimize partial call
lookup.
2010-12-23 thomas beierlein <tb@forth-ev.de>
version 1.0.0
* fix some possible buffer overflow in exchange handling for
cqww
* fix handling of changing RST, especially resetting the values to
59/599
* make Backspace and Delete-Keys the same
2010-12-19 thomas beierlein <tb@forth-ev.de>
* fix some code problems reported by Stephan F8FCE. Thanks.
* changed ESC handling in comment and call input field
2010-12-04 thomas beierlein <tb@forth-ev.de>
* add new cty.dat provided by OK1RR
* fix typos in man page and clarify CQDELAY handling
* fix CQDELAY handling in parse_cfg
2010-11-29 thomas beierlein <tb@forth-ev.de>
* fix parsing for MARKERDOTS and MARKERCALL keywords
* fix buffer overrun during write of markerfile
* add new callmaster file provided by OK1RR
2010-10-18 thomas beierlein <tb@forth-ev.de>
* fix installation commands for 'make distcheck'
2010-09-11 thomas beierlein <tb@forth-ev.de>
* fix calculation of sunrise and sunset times
* fix calculation of QSO Rate
* some minor fixes of uninitialized variables
2010-01-xx thomas beierlein <tb@forth-ev.de>
* better recognition of hamlib install (tnx F8FCE)
* fix a lot of buffer overrun for string handling (as glibc and gcc
use -D_FORTIFY_SOURCE for stricter checking of buffer overuns)
* rewrote handling of initial exchange file. It now allows empty
and comment lines (#) and spaces around the callsign. Leading
space before comment gets ignored.
* Fix input handling of notes.
* Fix autocq handling. First characters gets no longer swallowed.
* Drop code for old not functional LPT_KEYER and COM1_KEYER.
* strip autogenerated files from repository.
2007-12-21 rein couperus <rein@couperus.com>
* changed searchlog.c ('possible calls')
2007-12-18 rein couperus <rein@couperus.com>
* changed cluster_bg.c to fix possible buffer overflow
* changed searchlog.c -> compare now starts at beginning of callsign.
2003-09-10 dimiter (mitko) kroumov <lz3ny@bfra.org>
version 0.9.1:
* added an autoRXVTdiscovery and a hack XTERM arrows by putting "linux" native driver
as TERMinal in the environment.
* Introduced WAZMULT (CQWW like) and ITUMULT switches as contest rule multipliers
* logcfg.dat has been split up. added a new "rules/" directory for the contest rules file.
2002-11-03 rein couperus <rein@couperus.com>
version 0.8.6:
* bug fixes: various modules
* fixed getctydata.c to interpret ctydb properly
* fixed bug in callinput.c allowing input of too many characters in call field
* added TIME_OFFSET to allow running PC on local time instaead of UTC
* added arrl sweepstakes contest with flexible exchange input
2002-10-01 rein couperus <rein@couperus.com>
version 0.8.1:
* various modules: added frequency data, talk data and serialnr data network distribution
* added :info and :freq displays
2002-09-07 rein couperus <rein@couperus.com>
version 0.8.0:
* lancode.c, lancode.h: added networking module
* various modules: major code changes to interface to the networking module
for log data and packet data distribution
2002-08-30 rein couperus <rein@couperus.com>
version 0.7.3:
* background_process.c: added cw simulator mode
* changeparams.c: added command :simulator
* logit.c, call_input.c: added simulator code
* main.c: added various global variables for cw simulator
* searchlog.c: fixed bug to enable working more than 20 JA's (now 999)
2002-08-30 rein couperus <rein@couperus.com>
version 0.7.2:
* configure.in : added --enable-hamlib to switch on Hamlib support
* sendtxinfo.c, main.c: changed the code to support library switch
2002-08-21 rein couperus <rein@couperus.com>
version 0.7.1:
* parse_logcfg.c: added RIGPORT parameter
* clusterinfo.c : added ctrl-g support for spot list
2002-08-21 rein couperus <rein@couperus.com>
version 0.7.0:
* sendqrg.c: added Hamlib support
* gettxinfo.c: added Hamlib support
* parse_logconfig.c: added Hamlib support
* added rig.h
2002-08-12 rein couperus <rein@couperus.com>
version 0.6.1:
* splitscreen.c: telnet client does now display correctly when
long buffers come in.
* preliminary fix for bandmap display
* added FIFO interface to cluster monitor
* added command to logcfg.dat:
FIFO_INTERFACE
this starts a FIFO called clfile in the working directory for
added flexibility and backward compatability with previous
versions
2002-08-08 rein couperus <rein@couperus.com>
version 0.6.0:
* major rewrite of all routines making disk access.
* Removed all system calls.
* included telnet client and tnc terminal based on splitscreen by
Dave Brown, N2RJT. Now fully integrated with tlf.
* Added commands to logcfg.com:
TELNETHOST, TELNETPORT
TNCPORT (1 or 2)
* callinput.c: ESCAPE now erases call + exchange
* show_score.c: Color change in header line
2002-07-21 rein couperus <rein@couperus.com>
* searchlog.c: now keeps logdata in ram to speed up dupe check
removed sys calls and reference to /tmp/tlf
* store_to disk.c copy logdata into ram array
* delete_qso.c remove qso from ram array
* edit_last.c change qso in ram array
* readcalls.c read qso data into ram array
* main.c added global qso array (3000 qso's)
2002-07-21 rein couperus <rein@couperus.com>
* searchlog.c: changed partials routine to run in RAM
added load_partials function
* main.c: added load partials from disk
* time_update.c removed disk acces to logfile every 5 secs
* score.c changed cqww scoring (2 pts within NA)
2002-07-14 Rein Couperus <rein@couperus.com>
* edit_last.c: added instert and delete
* removed call to tlf_deletelogline
2002-07-13 Rein Couperus <rein@couperus.com>
tlf-0.5.4.3:
* main.c: added mixedmode parameter
* searchlog.c added mixed mode capability to dupe logic
* writecabrillo.c added wysiwyg multiplier format and mixed capability
* changeparameters.c added :CWMODE, :SSBMODE and :DIGIMODE commands
* show_help.c added new mode switch commands
2002-07-07 Rein Couperus <rein@couperus.com>
tlf-0.5.4.2:
* readcalls.c: fixed logic for wysiwyg multipliers
* getexchange.c : added "\" command
2002-06-09 Rein Couperus <rein@couperus.com>
tlf-0.5.4.1: adjustments for bugs in debian floppy version
(delete last qso, write cabrillo)
* deleteqso.c: killed the system call to script tlf_deletelogline, wrote
inline code to do the job.
*writecabrillo.c: removed system call to 'sed'
2002-05-31 Rein Couperus <rein@couperus.com>
tlf-0.5.4:
* tlf.h: added definition of EDITOR_E3
* various: added support for e3 editor (debian floppy )
* clusterinfo.c: read cl3file only if read successful
2002-05-26 Rein Couperus <rein@couperus.com>
tlf-0.5.3:
* getmessages.c: don't initialize call and logfile name if present in logcfg.dat
* getctydata.c: bug fix: calculate right cty for /P calls
2002-05-26 Rein Couperus <rein@couperus.com>
tlf-0.5.3:
* score.c: wpx + cqww: added 2 point mode for NA stations
* searchlog.c: added red warning signal in case of call lock (check partials)
* parse_logcfg.c: added generic parameters 2EU3DX_POINTS, COUNTRY_MULT,
PORTABLE_MULT2 , SERIAL_EXCHANGE for
use in logcfg.dat (e.g. in Region 1 field day..).
* added new parameters and logic to various files to enable "universal" contest
* edit_last.c : added new code to edit last qso ("@" command)
2002-05-24 Rein Couperus <rein@couperus.com>
tlf-0.5.2a: bug fixes:
* deleteqso.c: fixed call to tlf_deletelogline
* writecabrillo.c: changed version to 0.5.2
New feature: allow CW logging without external keyer....
* tlf.h: added #definition NO_KEYER
* write_keyer.c: check explicitly for presence of keyer
* parse_logcfg.c: make default NO_KEYER
* main.c: initialize keyerport to NO_KEYER
* keyer.c: bail out if NO_KEYER
* sendbuf.c: bail out if NO_KEYER
2002-05-24 Rein Couperus <rein@couperus.com>
* tlf-0.5.2: Automatic generation of .paras file in working directory
* changed tlf_cleanup to automatically generate clfile and wwvfile at startup
* removed .paras, clfile, wwvfile and logfiles from /examples/xxx/
* added parameter MANY_CALLS to logcfg.dat
* added parameters POWERMULT to logcfg.dat (for arrlfd)
* update of scoring routine for arrlfd
* added larger partial call window
2002-05-19 Rein Couperus <rein@couperus.com>
* tlf-0.5.1: Initial version with automake and autoconf.
|