1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184
|
commit 97991a3919da6a07c4c87308ae66fb441bd512e3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 11 21:49:30 2019 +0100
configure.ac: Bump package version to 0.5.3.
commit cebf5db0d181381417ba7908c1180f956b264fb6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 11 21:46:52 2019 +0100
configure.ac: Bump libtool/library version from 6:0:2 to 6:1:2.
The libtool current:revision:age numbers change from 6:0:2 to 6:1:2 since
no new APIs were added, changed or removed (but the source code did change).
Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.4.2.0 to libsigrokdecode.so.4.2.1, the SONAME
(+symlink) remains the same, though (libsigrokdecode.so.4).
commit 24dcd808809b7beb0698a33e50683bb3a0cc48e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 11 21:30:47 2019 +0100
Doxyfile: Set version to 0.5.3.
commit b9bafaf82f7569af026ef3a5b10bec039c312c2c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 11 22:10:54 2019 +0100
Remove the 'tags' feature since it's an ABI change.
commit 6cedf14fd76f7c835a963283962964008de23972
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 11 21:30:25 2019 +0100
NEWS: Add list of user-visible changes so far.
commit 3f5f3a92889e2f297ee6b94362e587a2994f896b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 11 21:27:13 2019 +0100
Backport recent changes from mainline.
This includes all changes from
4f0d192d748e987af43ec5b811a643eb0a8601b2
"type_decoder.c: Fix trailing whitespace."
up to
1d7e79da75afbdfd5d1863de6482bf4cd21e5c7e
"ac97/lin: Remove some unneeded code snippets."
commit 07b9781940ed3c194805ff08e20ae32a90098cb5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 12 21:30:44 2018 +0200
configure.ac: Bump package version to 0.5.2.
commit a1b7feea26c6ae6f0ebac606cf5988d23e42c039
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 12 21:29:47 2018 +0200
configure.ac: Bump libtool/library version from 5:0:1 to 6:0:2.
The libtool current:revision:age numbers change from 5:0:1 to 6:0:2
since new APIs were added (but no existing ones were changed or
removed). Thus, revision is set to 0, current and age are bumped.
Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.4.1.0 to libsigrokdecode.so.4.2.0, the SONAME
(+symlink) remains the same, though (libsigrokdecode.so.4).
commit 3ad1035037b1b3831120d7102e6b8b94fa21377d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 12 21:26:00 2018 +0200
Doxygen: Update relevant @since tags to 0.5.2.
commit c5d82fe0869198317531dc571fe9587ca2509848
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 12 21:24:53 2018 +0200
Doxyfile: Set version to 0.5.2.
commit 921e18955daedbcc6cfd8ae5c60cce681626a105
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 12 21:24:13 2018 +0200
NEWS: Add list of user-visible changes so far.
commit fb2496413d46b2a19dd8945c0ca7364b3472213a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 12 21:20:34 2018 +0200
Backport recent changes from mainline.
This includes all changes from
1dac69e9b0bc1d12c45d2a6e49b9890f29b744cb
"Show backtrace when decode() aborts due to an error."
up to
2d0ef8bdad13fa50dbb9073c0ce4fd0ce4e025b6
"morse: fix for #1278"
This is possible since none of the changes above change or remove public
API calls of the library.
commit 0c81775a0e148d926a91cbbe3a106d61c5aec561
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 12 20:35:57 2018 +0200
configure.ac: Bump package version to 0.5.1.
commit 52b54481d3471017c20b248edfabcafdcef788c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 12 20:34:15 2018 +0200
configure.ac: Bump libtool/library version from 4:0:0 to 5:0:1.
The libtool current:revision:age numbers change from 4:0:0 to 5:0:1
since new APIs were added (but no existing ones were changed or
removed). Thus, revision is set to 0, current and age are bumped.
Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.4.0.0 to libsigrokdecode.so.4.1.0, the SONAME
(+symlink) remains the same, though (libsigrokdecode.so.4).
commit 48fa574ee8a19924644833e12bc3c28bf3651585
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 12 20:31:24 2018 +0200
Doxygen: Update relevant @since tags to 0.5.1.
commit b7825e8c137b31c772a3481784ad9a84c14d724e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 12 20:30:03 2018 +0200
Doxyfile: Set version to 0.5.1.
commit ea5f5d1f56c1b9c64d7d9027543b7e4372312f09
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 12 20:29:24 2018 +0200
NEWS: Add list of user-visible changes so far.
commit 2ba06442543625adec845a38b7b0fbb776fcce7b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jun 12 03:17:28 2017 +0200
Backport recent changes from mainline.
This includes all changes from
23e806c21e6e01999163c892635c6dea9d788daa
"session.c: Fix a compiler warning on Mac OS X."
up to
cffb6592f4cff804745b8456e2c9f8abc6571603
"can: Fix incorrect stuff bit handling."
This is possible since none of the changes above change or remove public
API calls of the library.
commit 8ae93e0c54ae685cb60ab15e33dab5704e595a02
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jun 12 03:17:28 2017 +0200
Doxyfile: Set version to 0.5.0.
commit 1ac02afa92e461a4586e9edc1f7bdda67650d477
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jun 12 03:16:21 2017 +0200
Bump libtool version (not package version) to 4:0:0.
The last release (0.4.0) had the libtool version (current:revision:age)
set to 3:0:0. Since this release removes and changes interfaces, the
new version is 4:0:0.
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.3.0.0 to libsigrokdecode.so.4.0.0, the SONAME
(+symlink) becomes libsigrokdecode.so.4.
commit 168e5fbe5a776d33750c0df9b12cee06d55d8c1c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 9 15:00:46 2017 +0200
NEWS: Add list of user-visible changes so far.
commit c947ab01c5db200fafbd93d26f9898bcc477b30e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jun 12 02:50:23 2017 +0200
Various Doxygen fixes.
commit fa7fdc54764d574446002c12d328b6f8bbb7e803
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Jun 6 23:12:04 2017 +0200
spi: Missing samplerate spec is not fatal
Check for the availability of a samplerate specification, but don't
abort in its absence. Lack of the samplerate only prevents the emission
of throughput annotations, but still allows decoding the clocked signal.
commit de15aa2a9bbecbd495279ae88e57623b138686da
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Jun 6 22:55:52 2017 +0200
spi: Improve use of PD API version 3
Eliminate more instances where Python code tracked signal changes instead
of having common library code do the work. Reduce the number of boundary
crossings between library and decoder code (Python vs C), by inspecting
fewer input edges. Yet cope with the CS signal's being optional. Emit
identical annotations to the previous implementation for CS changes,
including the initial change "from None to 0/1". Sort the checks for
optional input signals at the top of decode() into a more natural order.
Improve and update comments.
This commit results in a more appropriate use of the PD v3 API in the
SPI protocol decoder.
commit 3b5b9ad27f507a9669231940acdf411ba7139b1f
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Jun 6 21:13:27 2017 +0200
gpib: Convert to PD API version 3
Have edges detected in common library code. Cope with optional initial
low level (without an edge) at the start of sample data. Handle the
optionally enforced processing at a specified sample number.
commit bcf6548ba8b604fa56a9cf4f7f985e9f67dd5bb6
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Jun 6 20:32:07 2017 +0200
pwm: Convert to PD API version 3
Have edges detected in common library code.
commit 15814cab085d57db0448a8a5ddd18fd776c68530
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Jun 6 20:05:05 2017 +0200
spi: Convert to PD API version 3
Have edges detected in common library code. Move the test for presence
of optional channels out of the decode loop. Do inspect the very first
sample for pixel compatibility with the previous implementation.
commit fb83ab342944ce8bddfeb87220f311954be8d0a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 6 14:43:08 2017 +0200
HACKING: Update URL to Linux kernel coding style.
commit e1eacaabe27095eb4688b4b1e50523d2d3527f22
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 6 12:46:08 2017 +0200
Rename eeprom93cxx decoder to eeprom93xx.
Not all EEPROMs of this series have (just) a 'c' in the name.
commit 3505b1b5e1fb15ee44e267bcdf50a32ee603a4a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 6 12:40:58 2017 +0200
eeprom24xx: Don't make lists.py executable.
commit 18101a318c4ed6ed3f6a32ef7e4867ed7be1ff2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 6 11:51:04 2017 +0200
Drop trailing whitespace in various PDs.
commit 97b874bd0b6913ed52df1b8aac5e7491479fac9a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 11 23:20:58 2017 +0200
Add srd_inst_initial_pins_set_all() and support code.
This allows frontends to set the assumed initial pins (i.e., the assumed
state of the pins before the first sample of a capture) to user-specified
values.
The assumed initial pins can be either low, or high, or "use same value
as the first sample of the capture".
The special self.initial_pins decoder attribute is now removed.
commit 0c931451554443463309e5e08b2e098bc195d06f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jun 5 17:00:04 2017 +0200
Rename maxim_ds28ea00 to ds28ea00.
None of the other PDs have a vendorname in the PD name.
commit d480174d51b327ad8e579d79f619607a9687597e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 31 22:51:23 2017 +0200
struct srd_decoder: Add list of input/output decoder IDs.
commit cdb49509e85443129f2d60180eb818813030901e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 26 17:19:53 2017 +0200
Show lib versions in the debug output.
commit a0128522e5fb4ee50fe10450ad8255cd1729bde4
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun May 14 19:08:37 2017 +0200
can: Skip stuff bit inspection where not applicable
Bit stuffing does not apply to the last fields of a frame, specifically
the CRC delimiter, the ACK, and the end-of-frame fields. Adjust the
respective bit handling logic.
This fixes bug #656.
commit 64d8711976c3e74a4a19beabd505438ce91ac86c
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun May 14 19:36:17 2017 +0200
can: Convert to PD API version 3
Don't inspect each individual sample in the Python based PD. Instead use
the backend's query API to detect the start of a frame and to advance to
the sample point position.
commit 2fac4493014b7f9f38814173e9744c636dcfa078
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 25 23:42:58 2017 +0200
can: Add warnings for various invalid bits and fields.
commit f8eb6c3f41e2c4705124c0381e64458818b52353
Author: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Fri May 12 13:58:28 2017 +0200
sdcard_sd: reference latest command when displaying response
Replace the hardcoded value with the last cmd used. I'd think the whole
ACMD handling could be simplified if we make further use of this new
variable. But for now, let's keep it simple and make it work.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
commit 1cf5aeaf84f230fa13aa894f6bd719af42657169
Author: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Fri May 12 13:58:27 2017 +0200
sdcard_sd: output CMD8 in cmd8-handler
Probably a typo, currently 'cmd0' gets pushed out.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
commit e6282a1ad7c7f15e52341c9323b17b59827ed4e8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 13 15:51:59 2017 +0200
timing: Drop obsolete self.oldpin variable.
commit a93601346b535c48c18d03e0d67c3d8f7243f313
Author: Karl Palsson <karlp@etactica.com>
Date: Fri Jan 20 16:23:50 2017 +0000
timing: "normalize" negative times too
Use the same scale.
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit b8c44f69b0f12c2cee2b9765abca8e0b3e751b43
Author: Karl Palsson <karlp@etactica.com>
Date: Fri Jan 20 16:24:29 2017 +0000
timing: add edge-edge mode and delta calculation
Instead of only measuring the timing from any edge to any edge, provide
a mode to measure the times from falling->falling and rising->rising
edges. This works better to monitor timing of an IRQ pin for instance,
that drives one direction under hardware, and is only cleared by
software reading a value.
Include time delta measurements as an optional annotation to help track
jitter in measurements.
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit 82738302754039cffb4ee84b2fa9b1450612a5e3
Author: Karl Palsson <karlp@etactica.com>
Date: Fri Jan 20 16:03:21 2017 +0000
timing: disable averaging if set to zero
The extra row of the average isn't always useful. Allow it to be
disabled by setting the average window to zero.
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit 888790e97cb51d65b64f3fbe43d91e40f4776b07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 12 00:24:41 2017 +0200
Rename ade7758 decoder to ade77xx.
There are multiple devices in the ADE77xx series that are similar enough
to be supportable via this decoder in the future.
commit abf9deff150e0d19989504e71ace952eae87c94e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 30 18:16:21 2017 +0200
ade7758: Slightly shorten some code chunks.
commit e439018ad1f9c461ec7a66c03e0c690764149dbc
Author: Karl Palsson <karlp@etactica.com>
Date: Fri Jan 13 16:55:26 2017 +0000
Add an ADE7758 protocol decoder.
No value decoding, that can be fairly complicated.
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit 3fa675b4c6500bb0cad1c3bbd891f7ec08ead099
Author: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Wed May 3 21:00:57 2017 +0200
sdcard_sd: remove unused functions
putr2 is unused, so let it go.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
commit 67791ed18aa007402674ac528d97c812821fde0d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 6 20:07:09 2017 +0200
eeprom93cxx: Improve longname.
commit 5f914c47bebd66887a25ff87b37bcdefe26555a4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 5 20:33:26 2017 +0200
microwire/eeprom93cxx: Use 'es' instead of 'se' abbrevation.
(for consistency with all other decoders)
commit 941e7a64cac608a61e601770afe68de66d346eec
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 5 20:31:20 2017 +0200
eeprom93cxx: Update wrt Python output namedtuple usage.
commit b13ced31554253f301143aa7c8121a4460db57b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 3 22:37:15 2017 +0200
eeprom93cxx: Shorten put_word() a bit.
commit 3a9c517e63cfced0470b08a7d8b5fc1006b55e8e
Author: Kevin Redon <kingkevin@cuvoodoo.info>
Date: Wed May 3 22:21:46 2017 +0200
Add a 93Cxx Microwire EEPROM protocol decoder.
This fixes parts of bug #931.
commit 9fb04bdfa4a2fe0e5653d5922307696e29387dc0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 5 20:21:22 2017 +0200
microwire: Use namedtuple in some more cases.
commit 15c107c28d4715d36787fb1e6dc6b21ec7b5b5b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 5 20:18:54 2017 +0200
microwire: Use namedtuple for the Python output.
This has two advantages:
- The Python output is always deterministic, which was not the case for
the dict-based version since dict items have no guaranteed order in
Python. This caused issues with the sigrok-test use-case.
- The code is slightly more readable.
commit fe9e9cebf035708240350b4fe80a676112130074
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 5 08:45:07 2017 +0200
microwire: Drop some trailing whitespace.
commit 13c484ddd3156c70bb1257208bdae839e463a24e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 5 08:11:32 2017 +0200
microwire: Shorten decode() a bit.
commit 0e081655c049245c2215ed5fb14bcecdf57ca9df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 3 22:07:29 2017 +0200
microwire: Make Ready/Busy extra annotation classes.
commit bf3d8c801f01639da7045ff81fc32cb5d97cd3c5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 3 22:06:51 2017 +0200
microwire: Make the start bit an extra annotation class.
commit bf014116fb4725b60165a01e9a5d1567fbed501b
Author: Kevin Redon <kingkevin@cuvoodoo.info>
Date: Wed May 3 21:29:49 2017 +0200
Add a Microwire protocol decoder.
This fixes parts of bug #931.
commit d507f5e445906d8e90f643b18dc23c455f8569a8
Author: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Wed Apr 26 17:17:32 2017 +0200
sdcard_sd: really show result of SET_BLOCKLEN
Now that self.arg is populated, we can finally use it.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
commit 619ed6b4ef103f1dc0d4a03b68447a44cd2f12d6
Author: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Wed Apr 26 17:17:31 2017 +0200
sdcard_sd: always show CMD argument in hex
This is especially useful with the default handler, so you can better
understand the transfer if you are already familiar with CMD numbers and
their arguments. It makes it also easier to compare with the debug
output of the e.g. Linux Kernel.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
commit ee390f6741427244a43de56e6254e487eecbc530
Author: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: Wed Apr 26 17:17:30 2017 +0200
sdcard_sd: don't interate over not implemented command
There is no handler for CMD4 yet.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
commit ddc23d8cb0e9b6097cc28e6b1bf5966822939f77
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 7 08:09:56 2017 +0200
onewire_link: (Re-)convert to PD API version 3.
commit 64922f694d78f23f4960baa3a161f01a7ed9cf26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 6 19:27:37 2017 +0200
onewire_link: Factor out some helper methods.
This avoids some boilerplate in the decode() method itself.
commit 548b39e78ed1b8638e84c1ee9bfa30d987f97c55
Author: King Kévin <kingkevin@cuvoodoo.info>
Date: Sun Mar 26 19:31:56 2017 +0200
Implement new 1-Wire link decoder using time ranges
Rewrite of the 1-Wire link decoder.
Existing outputs are kept and new warnings are added.
Instead of sampling at fixed user defined time, time ranges as
specified by the "Book of iButton Standards" are used.
The user does not have to tweak the timing values anymore.
Overdrive speed is detected automatically.
This fixes bugs #666 and #926.
commit 483f2aff787a750efc3c470cbb25bd2de754b824
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Fri Mar 31 20:21:08 2017 +0200
iec: Convert to PD API version 3
commit e51475add18d4a6ee4e30c4c5891b6de64c7c148
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 31 19:18:19 2017 +0200
Don't show a harmless/confusing warning on stdout.
Some Python versions will lead to the following message on stdout currently:
srd: Attribute Error: Failed to load decoder common: no 'Decoder' \
attribute in imported module: 'module' object has no attribute 'Decoder'
This is a harmless (though confusing for users) warning, since "common"
is not an actual PD and it shouldn't be loaded as PD (it just has to
be present).
commit e125d0f74b7a5d23354d45ab114da82ec2532423
Author: fenugrec <fenugrec@users.sourceforge.net>
Date: Mon Mar 20 18:56:25 2017 -0400
eeprom24xx: add Xicor X24C02 variant
commit a8933728e3bad0e34d743d9d38baba98f443b018
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 18 23:03:17 2017 +0100
dali: Use a slightly better variable name.
commit 41b3732153c082f5a493514542e8963e6743b4e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 18 23:01:56 2017 +0100
dsi: Use a slightly better variable name.
commit 92c117d691161db07cf4dc38a6bef2d563d31f43
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 18 22:58:41 2017 +0100
dsi: Small fix for the longname.
commit b26c713b6a1650eba0e7808672f290813c893881
Author: Jeremy Swanson <jnswanson1@gmail.com>
Date: Thu Feb 16 16:29:47 2017 +0000
Add a DALI protocol decoder.
commit 23a8a38357ed6917d2471f46f65b158379ad564e
Author: Jeremy Swanson <jnswanson1@gmail.com>
Date: Thu Feb 16 16:29:47 2017 +0000
Add a DSI protocol decoder.
commit 0b83932c9348d3105dd9d572663455694605dad1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 15 09:27:43 2017 +0100
uart: Minor cosmetic changes.
commit 4bb42a91968b5b610c0c843024aa158e2f414805
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 19:01:04 2017 +0100
uart: Use consistent order of steps when processing samples
Slightly rearrange some of the methods which are involved in UART frame
inspection. Use a consistent sequence of steps: Grab the signal's
current value, accumulate and process the information, emit respective
annotations, and advance to the next stage in the UART frame inspection.
commit 080b528200abe354412aba63ddee5d76ac9c8e14
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 19:15:31 2017 +0100
uart: Remove redundant "reached bit" checks
After the decode() method got adjusted to call wait() with custom made
conditions and to check .matched[] before inspecting samples, the check
whether a bit time's sample point was reached has become obsolete.
commit 7d62e5b33a3404d319f42c81f3344240d430746a
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 18:46:32 2017 +0100
uart: Improve robustness of query API result processing
Since either of the UART signals (RX, TX) is optional, and in the
absence of Decoder.wait() conditions that "will never match", we cannot
construct a constant layout. Instead we need to explicitly keep track of
which item in the list of wait conditions corresponds to which signal.
Once the index in the list of wait conditions is known, inspection of
samples can depend on the Decoder.matched[] attribute. Before this
change, redundant reached_bit() checks kept us from processing samples
that should not have been inspected. Tests pass before and after this
very commit.
commit 0de2810f223fefc9e3040adaa7f1b97616c6931d
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 18:15:51 2017 +0100
uart: Reduce redundancy in sample inspection (state machine)
Factor out the logic which inspects samples that were provided by the
PD version 3 query API, and dispatches their processing depending on
the progress of UART frame inspection. "Unroll" a loop over the RX and
TX signals.
This commit replaces some complicated variable assignments by easier to
verify invocations.
commit dcd3d6262c57d86581864e642ec00dda5342d1af
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 18:00:06 2017 +0100
uart: Convert to PD API version 3
Adjust the UART protocol decoder, to make use of the query based API.
Have edges detected and unrelated samples skipped by common code.
This implementation keeps some redundancy in place (like checking for
having reached specific sample numbers, while the backend managed that
for us). This approach reduces the diff and shall simplify review.
Only some common checks in decode() were moved to the start of the
routine, outside of the sample inspection loop.
commit 5e3c79fdf6fa757daaff69794fcc0bea1ab7a285
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 17:10:28 2017 +0100
uart: Minor readability nit (position of start bit in calculation)
Rephrase the bit slot index calculation for UART frames such that it
becomes more apparent whether a start bit is involved or whether an
array index needs adjustment due to Python range semantics.
This shall improve readability, and reduce the probability of off-by-one
errors during maintenance.
commit 1078af01aeee50c9ad9633dd477e9de575521012
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 15:35:27 2017 +0100
uart: Immediately skip reception of parity bits when not applicable
When the UART frame does not contain a parity bit, then immediately
advance to reception of stop bits after all data bits were received.
This eliminates the necessity to run the parity check routine when
parity does not apply in the first place. Without this change, some
"dummy" sample needs to get inspected for correct operation of the
state machine.
commit cf60d0bc17b1a8e316ab5ef054f07a5fa59d1585
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Tue Mar 14 15:33:07 2017 +0100
uart: Remove an obsolete unused routine
commit 04383ea876df72b7bd5c19854c30c81abdc0aa0c
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Mar 5 18:09:59 2017 +0100
decoder: terminate .wait() and .decode(), join threads for v3 instances
Add support to terminate blocking .wait() and .decode() method calls of
v3 decoder instances. This terminates the decoder thread's main routine
and allows to release associated resources. Cope with requested as well
as unexpected termination of decode() calls. Add debug messages to
thread related code paths.
Make sure to unblock the main thread which feeds the decoder thread.
This unbreaks situations where decoders e.g. throw "need samplerate to
decode" exceptions.
Drain Python errors which might remain from the most recent .decode()
execution, to not affect other code paths. This avoids an issue where
the creation of a new decoder instance fails in the presence of errors
from a previous run.
This fixes bug #902.
commit 1ec8b3acd2ef4e857110e536b40377e6f645b89f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 5 17:05:06 2017 +0100
configure summary: Show linker flags.
commit 75ee26938e77fb4c086f04531fe865cfbeb48ca0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 5 17:04:38 2017 +0100
configure summary: Show whether shared/static build is enabled.
commit ee60935a5f599414f5378b825ade17d697c216be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 4 14:30:18 2017 +0100
rgb_led_ws281x: Use self.samplenum.
This is currently just a cosmetic change, but will make the conversion
to the PDv3 API slightly easier and more readable.
commit fcd5d23a05282728ad7693f997b1b81d67d409cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 2 00:03:16 2017 +0100
Drop obsolete workarounds in PDs.
Some PDs were using a temporary workaround for (as it turned out) a
refcounting issue that was fixed in 066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a.
commit 01b60707d7aa8db402c9288472c102da483cad39
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 09:04:55 2017 +0100
srd_decoder_load(): Drop dead code.
In 'except_out' the fail_txt variable is always non-NULL.
commit 3e18df5daa04fe3851b20909e912489bfe98e6b9
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Mon Feb 27 22:33:17 2017 +0100
Fix memory leak in get_current_pinvalues()
The ownership of the tuple reference is transferred to the caller, so
the refcount should not be increased.
commit 01f15bdf8e0c9960991544d19848b81a67e3d423
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Mon Feb 27 22:24:23 2017 +0100
More refcounting fixes
PyList_SetItem steals a reference, so code calling that must either
transfer ownership or increase the refcount.
commit c22cbd433a6637466d5e142e900a117048024728
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 08:42:44 2017 +0100
instance.c: Add a debug message for thread creation.
commit f98f41714fc5c7516f614e0d453f6226533d981d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 26 15:55:00 2017 +0100
srd_inst_decode(): Slightly more verbose error message.
commit 2f7bc9d2c4faa65bf1e8130d978c10c177f85444
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Feb 26 13:10:06 2017 +0100
Fix examples to show abs_end_samplenum as exclusive
commit de23c992a48b5f9f145a7c26a62f10cd5b87b218
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Feb 26 13:07:03 2017 +0100
Return SRD_ERR_ARG from srd_inst_decode if samplenums are wrong
This validates the requirements that
* abs_start_samplenum continues where the previous decode ended
* abs_end_samplenum is not lower than abs_start_samplenum
Failure to meet these requirements will make v3 decoders crash.
commit 066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Feb 26 12:52:12 2017 +0100
Fix refcounting bug in set_new_condition_list()
py_conditionlist is an owned reference (it gets passed to Py_DecRef()
at the end), so we need to increment the refcount when assigning it
from the borrowed reference py_conds.
commit e27d3e67cb69d54936399cd97a4c40c9842549a7
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Feb 26 09:16:36 2017 +0100
instance.c: fix a 'matched' vs 'matches' typo
The Decoder_wait() routine will populate the .matched attribute before
returning to the caller. The srd_inst_start() routine used to setup a
.matches attribute which is unexpected. Make both routines consistently
assign to 'matched' as that is what Python decoder implementations are
referencing.
commit a92df5bab879d5ba6a3f9d01428867c57d8c6b67
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Wed Feb 15 19:14:27 2017 +0100
Add an initial serial GPIB (IEC) decoder.
commit 4564e8e53af85e696a58e43677bae87470c52771
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 21 22:10:35 2017 +0100
Clarify that {start,end,cur}_samplenum are absolute numbers.
commit 9bac00e0b211579935640bb4d6fed988d2d148c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 7 10:40:29 2017 +0100
instance.c: Fix a compiler warning.
../instance.c: In function ‘srd_inst_find_by_id’:
../instance.c:485:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (di = srd_inst_find_by_id_stack(inst_id, tmp))
^~
commit 79d0013e85ca5ee5086ece1528b4403777a01f96
Author: Karl Palsson <karlp@etactica.com>
Date: Mon Nov 28 17:31:55 2016 +0000
Look up instances by ID in the full stack
srd_inst_find_by_id() previously only searched for instance IDs at the
bottom of any stacked decoders. Make it properly search all stacks,
just like srd_inst_find_by_obj() and more usefully when trying to
generate unique instance IDs.
No external API change, only the explicit behaviour of the API.
This fixes parts of bug #868.
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit 3262ef0203e23399f3cab796391da06969c8306b
Author: Karl Palsson <karlp@etactica.com>
Date: Mon Apr 11 17:25:42 2016 +0200
Support adding multiple instances of a decoder
srd_inst_new() used the decoder ID as the instance ID, preventing the use
of multiple instances of the same decoder in the same session. Simply
append a numerical suffix to later instances to allow more.
Required changes to cleanup to reliably free all memory. Valgrind checked.
This fixes parts of bug #868.
Based on original work by: Soeren Apel <soeren@apelpie.net>
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit 1d4fe1c19c0948fb67b4a91495b126a763ea7adb
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Feb 12 21:44:19 2017 -0700
Added intial ADF4350/1 decoder
commit 2bde58c5654e7f0103a301548ac60ba294d5b649
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 11:26:19 2017 +0100
z80: Convert to PD API version 3 (brute force)
This implementation technically uses v3 API calls, but has yet to come
up with appropriate wait() conditions, to spend less time in the decoder
and have more tedious work done in the backend.
commit c551f324c89c1bc83b1f529c2b065cdb5a745c3a
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 11:20:09 2017 +0100
t55xx: Convert to PD API version 3
commit 1153584350aeba4a58aa5bd54aeb2fcd33126c22
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 11:12:13 2017 +0100
sdcard_sd: Convert to PD API version 3
commit d9135fe1d8982160e2b8283120a07ade7b9e0566
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 11:09:45 2017 +0100
qi: Convert to PD API version 3
commit 6c0a0f6177b3de5df9d8a21549f2702d2d04733a
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 10:56:16 2017 +0100
ps2: Convert to PD API version 3
commit 00177e99094dc8a186238c12ee205cac105f9108
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 10:50:46 2017 +0100
mdio: Convert to PD API version 3
commit d47dd3d900f96d831b5f9c9f87d9b9c941a1777e
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 10:48:44 2017 +0100
em4305: Convert to PD API version 3
commit afb0d2339c0218627d6802a9138d78de57bab0a7
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Jan 15 10:44:19 2017 +0100
em4100: Convert to PD API version 3
commit 4539e9ca58966ce3c9cad4801b16c315e86ace01
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Thu Oct 20 09:55:29 2016 +0200
license: remove FSF postal address from boiler plate license text
Remove the FSF postal address as it might change (it did in the past).
Reference the gnu.org website instead which is more stable.
commit 991c44f33a55733610f6d9da1efbcc5bf1074dee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 26 23:28:58 2016 +0100
configure.ac: Also check for Python 3.6.
commit c9947048b3cdc98887c860f4b3949989cc68676a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 26 18:47:10 2016 +0100
avr_pdi: Don't pass self.samplenum (use it), simplify code.
commit 6a239714f9432e290ec7e26f239c6f9d1827233e
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Dec 4 21:08:51 2016 +0100
avr_pdi: Convert to PD API version 3.
Switch to the v3 decoder API: The decode() methods takes no arguments,
instead it calls wait() and has common code find edges on input signals.
commit f0349f7f5bae7cff479772fa9791d3f7f311dfc3
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sat Nov 12 23:19:47 2016 +0100
avr_pdi: introduce decoder for Atmel Program and Debug Interface
Introduce a decoder for Atmel's proprietary programming and debugging
interface which got introduced with ATxmega chips. This implementation
supports the UART style physical (two wires PDI_CLK and PDI_DATA).
commit bc6f82bb2856c0b5175e6858a13dc2e071cf2fee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:21:39 2016 +0200
usb_power_delivery: Convert to PD API version 3.
commit af495297728b449832a4f780d1f59c1cea5c295d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:21:08 2016 +0200
tlc5620: Convert to PD API version 3.
commit 831e976a72a74dfa71548091b4fa401713d74052
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:21:03 2016 +0200
timing: Convert to PD API version 3.
commit e809f7bc100f2d67bc45f35ce8fc3f01dc6684c0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:20:17 2016 +0200
swd: Convert to PD API version 3.
commit e500b376b5cf74f4862688f310b9b8008bfc3eea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:19:54 2016 +0200
stepper_motor: Convert to PD API version 3.
commit 5e39fa54152db51fd9bdfb33edfd55a54493821d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:19:21 2016 +0200
spdif: Convert to PD API version 3.
commit 8eb06a59636274fe6143aa7d87f7374cd12f3df9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:17:52 2016 +0200
parallel: Convert to PD API version 3.
commit d14e8033e3f94e6912250c80acf2a202a60b8e6c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:16:48 2016 +0200
onewire_link: Convert to PD API version 3.
commit 2d557217c8e394e0bcacf3aea62f407ee804b06d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:15:12 2016 +0200
jtag: Convert to PD API version 3.
commit 54dad54a0215683b594cc891c9e41f79530b7f1d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:14:40 2016 +0200
jitter: Convert to PD API version 3.
commit 5844bb0f1335feaed9875712468609533b554db4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:14:29 2016 +0200
ir_nec: Convert to PD API version 3.
commit 07e40f346ac1ed5ca98f636f2dd0ba5a7fe0011e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:14:07 2016 +0200
i2s: Convert to PD API version 3.
commit 592f355b7fcf1cfb9e38d5d52373b6559ac26ecc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:13:49 2016 +0200
i2c: Convert to PD API version 3.
commit 3aa79ba32865780d3fc2506e47036b200921d947
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:13:21 2016 +0200
guess_bitrate: Convert to PD API version 3.
commit e623c0fb15dcdca26fe181cddb9056630797a82d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:12:53 2016 +0200
dcf77: Convert to PD API version 3.
commit 86e7c29c4c80fe20d5e75db129f5e12398dfefb3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:11:16 2016 +0200
aud: Convert to PD API version 3.
commit b6bac00c20f2da8da1b6795fa8c6a5ea83ceb4da
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:09:41 2016 +0200
am230x: Convert to PD API version 3.
commit 21dfd91d99836bdc6c0da939b601dd8a52358f21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 15:09:17 2016 +0200
Add support for the new query-based PD v3 decoder API.
For the time being, both APIs (2 and 3) will remain supported until all
decoders have been converted to API version 3. Then, support for API
version 2 will be dropped.
Decoders using PD v3 API can benefit from both readability improvements
as well as performance improvements. Up to 10x speedup has been measured
in some situations (depends a lot on the decoder, the amount of data,
the amount of edges in the signals, the amount of oversampling etc. etc.).
This is only the first set of (basic) performance improvements for
libsigrokdecode, there are various additional opportunities for further
changes to improve performance.
This changeset has been tested to survive a run of all the test-cases in
the sigrok-test repo without issues (for the converted PDs), however it is
not very well-tested yet, so there might be regressions that need to be
addressed.
commit ee9304c667bf98b3c4e3a767943e3d8f6964601e
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Nov 20 18:18:57 2016 +0100
repo mgmt: git ignore compiled Python bytecode files
commit 3ab22459a92d2e129362ded379f6b75c0f6d4cdf
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Nov 20 16:51:47 2016 +0100
build support: sort list of installed items, factor out pretty printer
Alpha-sort the list of installed items, to support developers which scan
the list for newly added items. Factor out the logic which pretty prints
installed items while maintaining a maximum screen output line length.
commit d2297b8729027787f2dcbf988d42a9dfdd03fd5c
Author: Karl Palsson <karlp@etactica.com>
Date: Tue Nov 29 14:01:22 2016 +0000
valgrind: free channels
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit 95e40a0ce2e27ba6ea7c97d9956918336160bf7b
Author: Karl Palsson <karlp@etactica.com>
Date: Fri Nov 25 13:55:56 2016 +0000
valgrind: safely iterate lists
Old versions triggered valgrind errors as the API method to remove an
entry modifies the list that was being iterated.
Signed-off-by: Karl Palsson <karlp@etactica.com>
commit de22de7f5d6e371f4c8cdd2b211b8e5a1fbe973a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 6 20:14:43 2016 +0100
spiflash: Major refactoring and annotation improvements.
commit 1be94d3d0d62d233c33cb1d8e2f5719e2973267c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 6 18:16:57 2016 +0100
spiflash: Use OrderedDict for cmds, more readable annotation indices.
commit 6ccb64feb20dcb7833b2452cdfface4d9aa2bd72
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 6 17:55:13 2016 +0100
spiflash: Initial RDSR2 implementation (incomplete).
This is not entirely correct yet, will be fixed later.
commit 0a89f2ae27d7ba9e6f009df9745f45c4524234fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 6 17:49:28 2016 +0100
spiflash: Implement WRSR command.
commit 03ec43f06ea5675828316228f4e26f8152859c99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 30 11:28:38 2016 +0100
spiflash: Add FIDELIX FM25Q32 metadata.
commit db1882287c6e29d7c22f55f21c0735a67e580d3d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 24 02:02:12 2016 +0200
spiflash: Remove hardcoded Macronix references.
commit e33410d3f96db7bb6a2ed0e2540e0df17bf561b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 24 00:36:45 2016 +0200
spiflash: Implement Release Power-down / Device ID (0xAB) command.
This fixes bug #845.
commit 37a2cca99bd06c760f201dc5c8c033cd4b8a40a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 4 02:04:03 2016 +0100
ps2: Add more detailed per-bit annotations.
commit f90269a38093e9c27abbf1bc8737ebe963986ec9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 4 00:19:51 2016 +0100
ps2: Neither the clock nor the data pin is optional.
commit 1a751158ad36a77caf6c4f8ebe5b02978142f2e7
Author: Daniel Schulte <trilader@schroedingers-bit.net>
Date: Sun Oct 16 11:51:24 2016 +0200
Add initial version of PS/2 decoder
commit 6069768266f3bdd8cddd64ba33666f05e7fff55b
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Oct 16 18:25:29 2016 +0200
Print error messages when decoders fail load time checks
Several checks get applied when loading externally provided protocol
decoders. Print error messages when checks fail, so that developers can
better resolve issues.
The sequence of tests terminates upon the first failed check, while
decoders may suffer from several issues at the same time. This is
considered acceptable, as it reduces the commit's size and the code's
complexity. This commit only adds error messages, and does not change
logic/behaviour.
Failed API version checks result in two messages: One specific message
which reflects the decoder's version and what's supported by the loader,
and a generic message that the API version check has failed. This is
done to simplify the logic of a rarely used error code path.
This commit addresses libsigrokdecode Bug 704, and allows to identify
decoders from parallel installations of differing version.
This fixes bug #704.
Signed-off-by: Gerhard Sittig <gerhard.sittig@gmx.net>
commit af21ec73e2bf2a6aaec758b090902e7cf3ab96ad
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Oct 16 18:25:25 2016 +0200
.gitattributes: introduce git attributes for improved Python diffs
In the absence of respective instructions, git will use a rather generic
approach to generate diffs and patches. Introduce a git attributes file
which results in improved output for Python sources (i.e. all protocol
decoders).
Signed-off-by: Gerhard Sittig <gerhard.sittig@gmx.net>
commit 8284ca7360c96ac8085ba90b6f1f0e8fb88e6290
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 23 21:01:08 2016 +0200
spi: Fix binary output for wordsizes > 8.
For wordsizes > 8, multiple bytes are used (big-endian).
This fixes bug #686.
commit ea36c1988829b9f8e9385ff6e5e506e3cab46877
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 23 18:35:01 2016 +0200
uart: Default to hex format datavalue annotations.
This is in almost all cases what the user will want, only rarely ASCII
(the old default) will be the more natural fit.
commit 98b8913915e8649cca83f543e84fbf128707b5fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Sep 23 22:19:57 2016 +0200
uart: Emit 2 bytes for 9-bit UART binary output.
For 5..8 data bits the binary output will be 1 byte, for 9 data bits
it will be 2 bytes (big-endian).
This fixes bug #708.
commit 711d0602317e28ddc123ab540036b37979df70c4
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Oct 16 18:26:18 2016 +0200
uart: skip frames with invalid start bits
When the start bit is not low at its sample point, then stop trying
to interpret the remaining frame -- it's already known to be invalid,
anyway.
Wait for the next start bit instead, assuming that either the falling
edge which started the inspection of the UART frame and its start bit
was a spurious glitch or that the captured signal does not communicate
at the decoder's configured bitrate.
Signed-off-by: Gerhard Sittig <gerhard.sittig@gmx.net>
commit 6ffd71c169f0562134b5e7548ea0a36f93604d86
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Oct 16 18:25:28 2016 +0200
uart: rework text formatting of communicated data values, plus nits
Factor out the code which generates a textual representation for the
numeric values that were communicated via UART bit patterns. Make the
width of the output text depend on the number of bits in the UART frame
(five to nine) instead of assuming bytes of exactly eight bits.
Fix other minor issues while we are here: Nine bits result in a number
range of 0 to 511 (not 512). ASCII codes 30 and 31 are non-printables.
The previous implementation skipped a significant leading digit in the
octal representation.
Signed-off-by: Gerhard Sittig <gerhard.sittig@gmx.net>
commit e9a3c933ea8d77a46b881e525c2cfaf71b23041d
Author: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sun Oct 16 18:25:27 2016 +0200
uart: minor nit, rename the "databyte" variable
Given the generic nature of UART communication and the supported range
for the data width, "byte" may be a misleading name for the numeric
value that gets communicated in five to nine data bits. Rename the
"databyte" variable to "datavalue".
Signed-off-by: Gerhard Sittig <gerhard.sittig@gmx.net>
commit ffd58b683fc200c3bfb96a274dd2bc5c4cea7dcc
Author: Rudolf Reuter <reuterru@arcor.de>
Date: Wed Oct 12 02:51:28 2016 +0200
Add an initial GPIB decoder.
commit 084758572e97ff9251da9b75c1f5295faf9621c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 24 14:04:05 2016 +0200
midi: Add missing copyright lines.
commit f8a6ae167cf134d0f2dc2c94165f2824a3eb75fe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 24 13:36:19 2016 +0200
midi: Random cosmetic cleanups.
commit 740a4a52d9b5d00dc0beede63cc21b55e563d9c9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 24 13:23:49 2016 +0200
midi: Simplify some boolean tests.
commit 73c8d0fbdffe673d334f02bafb94f681a5c29ea9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 24 13:20:39 2016 +0200
midi: Use "is" or "is not" with None.
commit 8657abb6e0aecf0e7e76f6f757292ec5bd6e8205
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 24 13:20:16 2016 +0200
usb_request: Use "is" or "is not" with None.
commit 6aa03e3aeb9054122e52016c3344927d5c0f02de
Author: Chris <chrisdreher@hotmail.com>
Date: Sun Sep 11 18:14:44 2016 -0700
midi: Add support for complex MIDI message formats (inter-related).
- Handle "Running Status" where status byte can be omitted
- SysEx message can be terminated by status byte, not just EOX
- Handle SysReal messages that interrupt in-progress message transmission
- Identify and print garbage / truncated data
- Add 2 new annotations: text-sysreal-verbose and text-error
commit 294bcfd4e07fbc6ac23d23d5d6c775e01e33b00a
Author: Chris <chrisdreher@hotmail.com>
Date: Mon Sep 5 12:42:42 2016 -0700
midi: chromatic_notes in list.py was off by 1 octave
(ex: note 60 is middle C which is C4, not C3)
commit c1fc50b1256dba3bfad7e769691f11b729601b28
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 24 12:22:57 2016 +0200
uart: Fix a bug in the output for stacked PDs.
The UART bit information was not transmitted correctly to stacked PDs
if there was an overlap between RX and TX bytes in the data.
commit eb6360c9b161e77c6a04479a08c581306ffb9818
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 4 19:14:10 2016 +0200
midi: Some annotation consistency changes.
commit 9cc1ddf98e97ce7dc3f968cfe5dd5b121c475a88
Author: Chris <chrisdreher@hotmail.com>
Date: Fri Aug 26 21:35:03 2016 -0700
Updates each annotation with multiple strings ranging from long, medium, and short lengths
commit a1f66576f4b5e6d13edeb7319cae9c09679aafa4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 26 08:59:07 2016 +0200
usb_power_delivery: Drop problematic exception in us2samples().
This causes an issue when running the sigrok-test test-cases, so drop
it for now (the same check already exists in decode()).
This fixes bug #758.
commit 80f8083b19da35f4cf015d6e612f3517635b04a4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 25 22:34:55 2016 +0200
srd_inst_decode(): Return SRD_ERR_ARG if unitsize is 0.
commit 04867deb37b0f8cdfad55ab7bdb8708fd13f53fc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 25 22:26:41 2016 +0200
srd_inst_decode(): Make the code API version dependent.
commit 40589f25f90c4863cfe2787b72629aa0a8cda082
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 25 22:22:07 2016 +0200
Factor out srd_decoder_apiver().
commit e959f49ac718b45d83304f626559de29403ac52f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 25 22:01:04 2016 +0200
srd_inst_decode(): Improve comments and log messages.
Also, drop @since tag (as the function is not public).
commit e27347a42f06d4ff19b061f89a2257df1fc13098
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 25 21:57:39 2016 +0200
srd_session_send(): Improve Doxygen comments.
commit e1fefac5ab598c09968dc4729d07989fe9753498
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 23 20:07:54 2016 +0200
ssi32: Slightly more descriptive naming.
commit b0fc934add3394f7e753db6bcac23a2362bf7149
Author: Chris Dreher <chrisdreher@hotmail.com>
Date: Fri Aug 19 10:26:02 2016 -0700
midi: Substantially improve decoding of MIDI messages.
* Decode note names and percussion names (ex: 'G2', 'Tambourine').
* Decode instrument names and drum_kit names (ex: 'Flute', 'GS Orchestra Kit').
* Handle Polyphonic Pressure / Aftertouch (message 0xAn).
* Handle Program Change (message 0xCn).
* Handle Channel Pressure / Aftertouch (message 0xDn).
* Handle Channel Mode (message 0xBn mm where mm is 120 through 127).
* Handle System Common messages (message 0xF1 through 0xF6), including
full time code decoding.
* SysEx decoding now decodes the 1-3 byte manufacturer field, payload
is now displayed as hex.
* 'undefined' fields now display the value (ex: 'undefined 0xf4').
* Add 'MSB' and 'LSB' to many control_functions entries.
* Fix "trapped in state X" bug with handle_channel_msg_generic(),
though this might be dead code.
* Fix bug in sysex_manufacturer_ids; 1-byte manufacturers were not
tuples due to missing comma.
* Fix bug in SysEx decoding state machine; 0xF7 now sent to handle_sysex_msg().
commit d66d47eda43be865ca6775fe4f02cdd0824b6abb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 22 00:16:49 2016 +0200
ssi32: Minor cosmetics, add full license header (for consistency).
commit 268d62bf304d73d8e99cf2112c0974c813b966f6
Author: Oleksij Rempel <fixed-term.Oleksij.Rempel@de.bosch.com>
Date: Sun Aug 21 23:08:57 2016 +0200
Add Bosch SSI32 protocol decoder.
Signed-off-by: Oleksij Rempel <fixed-term.Oleksij.Rempel@de.bosch.com>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
commit 27ea5bac5d4b383477f1ed69c533610548d27138
Author: cbdev <cb@cbcdn.com>
Date: Wed Jun 29 18:39:10 2016 +0200
Add a DMX512 protocol decoder
commit 2cd9b19718ec7a21186d15634062b2409e4e5813
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 28 22:23:09 2016 +0200
timing: Add frequency and averaging support.
This patch was contributed by James Sleeman <james@gogo.co.nz>, thanks!
commit b33a73bc0e7185cadc8b93fd283be4007d8167ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 22 22:16:09 2016 +0200
spiflash: Add a 'format' option.
commit 1ec9c5e29850740a96d3e2b137ace9a4a678d786
Author: Angus Gratton <gus@projectgus.com>
Date: Sun May 22 11:47:57 2016 +1000
spiflash: Perf tweak: Build handler lookup table once per decoder
commit 10d3c8dc2556b08512290afa17d237156a5f0314
Author: Angus Gratton <gus@projectgus.com>
Date: Sun May 22 11:43:45 2016 +1000
spiflash: Handle "Fast Read Dual I/O"
commit 2c920167bfbaeb902f1492ad7be4ecbc0f9e0ca8
Author: Angus Gratton <gus@projectgus.com>
Date: Sun May 22 11:42:52 2016 +1000
spiflash: Handle CS# transitions, allow variable-length transfers
commit 5b0b88ced37e8fbe3031867255412f449245ca26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 19 18:38:05 2016 +0200
Consistency renames of {ss,es}_ variables.
commit 135b790c851c52400279e7c932e1f900d91ae5cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 24 21:42:02 2016 +0200
Move common/ directory into decoders/.
This simplifies cross-platform handling of the Python/decoder paths
and module installation/dist a bit and also fixes bug #804.
commit ae2181cd35e84ce81cfe58d2e0e05fdb3dfcb263
Author: Benjamin Larsson <benjamin@southpole.se>
Date: Wed May 11 20:40:54 2016 +0200
Add decoder for em4305 RFID protocol
commit 92b7b49f6964f57a7d6fc4473645c993cfa4ba52
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 15 15:42:48 2016 +0200
Use consistent __init__() format across all PDs.
The previous **kwargs some PDs had is not actually ever used, so drop it.
commit 4045d68426fdc10ed3a0ac02d4bc353b37f1f252
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 11 18:55:13 2016 +0200
usb_request: Drop hardcoded samplerate.
The libsigrokdecode backend now passes metadata (e.g. samplerate) to all
PDs, stacked and non-stacked (see bug #664), so this interim solution is no
longer needed.
commit 937e4c51d509c386536141e6cd2d8cd933dcfb4a
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Sat Oct 3 16:26:23 2015 +0200
Supply metadata to stacked decoders
Currently only toplevel decoders receive the samplerate, thus stacked
decoders are not able to derive e.g. timestamps from the sample number.
This fixes bug #664.
commit 366580f2617432561b0a93bc32e56f83895a7e48
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 11 18:39:02 2016 +0200
wiegand: Make bitwidth_ms option values integer (not string).
commit 1b1de5693cc7229c01502b23bc659a3b09af8868
Author: Sean Burford <sburford@google.com>
Date: Tue May 10 17:25:21 2016 +1000
Add wiegand decoder.
commit a9f7935a3db8da5aa9b137cf758ad1c57f31cae9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:15:06 2016 +0200
Consistently use ' instead of " for strings in all PDs.
commit ada4c3a342cdfc40bb83a927ece536cc984e27be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 5 19:56:58 2016 +0200
Factor out SD card lists into common/sdcard.
These are used by the sdcard_spi and sdcard_sd decoders.
commit 769ed325837271b76beca1e74a037cf8bb91f4b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:56:40 2016 +0200
Factor out bcd2int() into common/srdhelper.
commit 799d9431e854c0d2c7be7e16926c50e32e2683ce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:35:18 2016 +0200
Have one subdirectory per module in common/ as well.
This is consistent with decoders/, conveniently allows for more than one
file per module, and also happens to avoid some import warnings.
commit 1049c90ff82d3d5ce32ac92b032dd2d5a5d847cd
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 21 01:44:10 2016 +0200
Move constants out of xfp to common/plugtrx.
commit be93391b62b1575ad75db99bf25fef245b85f8b7
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 21 01:33:49 2016 +0200
Add common directory for shared modules.
commit 30d775b095a4b76e5fa755b19d5521affa3c053c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 03:42:24 2016 +0200
mdio: Add 'TURNAROUND' long/full annotation.
(useful in GUIs for displaying more useful annotations at certain
zoom levels)
commit 2452e2a32baaf818a92318165ca0bfeb7d75715b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 27 22:17:01 2016 +0200
mdio: Factor out self.putff().
commit d12e106fe565b2fd431c7306a1f38363960a33d4
Author: Elias Oenal <git@eliasoenal.com>
Date: Mon Apr 18 17:37:07 2016 +0200
Add an MDIO protocol decoder.
This new implementation supports all the features of the old decoder,
and additionally supports Clause 22 and 45.
commit 846fc6d4d9838d23037505669d94d006281868b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 27 18:50:37 2016 +0200
Drop mdio decoder (to be replaced with another implementation).
commit 406af2171101cb2fe93f99d5d8a85a551dba1060
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 20 19:31:38 2016 +0200
pwm: Use self.{ss,es}_block for consistency across PDs.
commit 963d71d5527c9c1cf16bb8d5fbeed2d452ffd5c0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 20 19:31:21 2016 +0200
timing: Use self.samplenum for consistency across PDs.
commit e96593c1e2e614d3b08076d4f7318ef388e35a9d
Author: fenugrec <fenugrec@users.sourceforge.net>
Date: Wed Mar 9 15:36:06 2016 -0500
Add initial Renesas Advanced User Debugger (AUD) decoder.
commit 88df2c9a6e125590db12aebb8a4466ebd57978c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 4 08:20:08 2016 +0100
em4100/t55xx: Fix accidentally broken wording in license header.
The word "version" was accidentally replaced by "data" (sed).
commit 9eac0fe36580a21ad8eeef5b31118af97749beb8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 4 08:13:30 2016 +0100
Fix various incorrect PD license metadata fields.
Have the PD 'license' attribute match what the license header of the
respective pd.py file actually says.
commit 66fc6e7c21878ae7e7ee65096fdf304133de3136
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 15 00:06:38 2016 +0300
Add an rgb_led_ws281x decoder.
This decoder handles the WS2812B protocol (and possibly WS2811).
Example dump already exists: led/ws281x/ws281x_4ch_5mhz.sr.
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
commit e2bc7a1e2f4e40250d117c587ad02343257d0f2a
Author: Benjamin Larsson <benjamin@southpole.se>
Date: Sun Jan 24 23:49:55 2016 +0100
Add decoder for the t55xx RFID protocol
commit 6e58cefe1056bd17f605e7717c44461d324a953d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 3 18:37:30 2016 +0100
configure.ac: Bump package version to 0.5.0.
0.5.0 will be the next major, API-changing release. Bump now, so that
there is no confusion of tarball 0.4.0 and 0.5.0-git snapshots.
commit b144d63507bed89c551e3fdd74fe106c4d264fc2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 29 23:32:37 2016 +0100
Bump libtool version (not package version) to 3:0:0.
The last release (0.3.0) had the libtool version (current:revision:age)
set to 2:0:0. Since this release removes and changes interfaces, the new
version is 3:0:0.
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.2.0.0 to libsigrokdecode.so.3.0.0, the SONAME
(+symlink) becomes libsigrokdecode.so.3.
commit a87daa42b8f9a223b6af4a1b693e4214fc802ff4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 29 21:25:18 2016 +0100
NEWS: Update for upcoming 0.4.0 release.
commit 7bee21e85c0cc7ada8ce54b8ff0fa759d084a7c5
Author: Martijn van Buul <martijn.van.buul@gmail.com>
Date: Tue Jan 26 22:13:26 2016 +0100
configure.ac: Also check for Python 3.5.
This fixes bug #739.
commit 96a044da40fd33e6f3273f0052fdd12f54770150
Author: Daniel Thompson <daniel@redfelineninja.org.uk>
Date: Fri Jan 22 08:29:09 2016 +0000
uart: Optimize handling of samples when tx and rx are both idle
Re-enable the fast path for identical samples but only when both
pins are waiting for the start bit. For sparse data sets (I tested
UT61E capture log) the optimization results in a >4x decode
improvement.
commit 27c69645218c7cc88c991c8c18b585ffd092acc0
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Sun Jan 10 19:23:55 2016 +0200
arm_itm: Use objdump instead of addr2line.
This improves speed and fixes bug 564. Code is somewhat
of a copypaste from the arm_etm counterpart, but there
are enough differences that it is easier to keep separate
copy of the objdump parsing in each.
commit 669f30f4b1035a8eb0a5350246a3bc50cf8b376d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 25 16:28:23 2015 +0100
usb_power_delivery: Raise SamplerateError instead of Exception.
(for consistency with the other PDs)
commit 2f37032807e19bc93b7f3223e1568db46318790c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 23 20:01:48 2015 +0100
Use self.out_binary naming consistently across all PDs.
commit 2824e81140d3a8e37464f758cf67f50f2f7afca7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 23 20:00:45 2015 +0100
Use a Python list (not tuple) for OUT_BINARY.
This is more consistent with annotation syntax and looks slightly
better in most cases.
commit 0679f5bf9b2334deb75243abb80ef7e0d0472c18
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 20 17:49:31 2015 +0100
Drop obsolete support for annotation tuples (only support lists).
None of the PDs use this.
commit 91ae892dcb8637961fc52cc8b528e1f77bec3a53
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 18 17:42:16 2015 +0100
em4100: Simplify the code a bit.
commit 13090f246f88ecea35afd43e3ada0dda061f6994
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 18 17:29:10 2015 +0100
em4100: Use ss/es naming for consistency across PDs.
commit 1a782fad8a1e8addeb1f27e221b286ffe2b2e30a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 18 17:21:47 2015 +0100
em4100: Eliminate some unnecessary int()s.
commit 428e40cb08410595126f245e5379cd3104747937
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 18 18:14:06 2015 +0100
em4100: Change annotation setup a bit, decode more protocol details.
commit 8f26590799306bf7e13241c345adbf1fde811ec7
Author: Benjamin Larsson <benjamin@southpole.se>
Date: Tue Dec 15 01:00:01 2015 +0100
Add RFID EM4100 protocol decoding
commit 033e7d4db76f2e2a289d5567e9532f26201cfa74
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 16 18:14:30 2015 +0100
usb_power_delivery: Use "if not self.samplerate" form.
Use the "if not self.samplerate" form, which catches both the case
where self.samplerate is None, as well as the case where it is 0.
This is also consistent with all the other PDs.
commit 89b9aaf771abd5642dc8acb2281af3bb66a9424f
Author: Vincent Palatin <vpalatin@chromium.org>
Date: Wed Nov 25 09:19:58 2015 -0800
usb_power_delivery: convert double quotes to single quotes
For consistency with other decoders, convert all the double quotes around
strings to single quotes.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
commit 45883c6b54839988850d5fb3d6fdbedab0011ced
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Fri Dec 4 22:36:17 2015 +0100
init: Don't let Python override signal handlers
This fixes bug #461.
commit 502acfc2c71a2bbc97d4d7597150cd479bead1ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 4 22:11:14 2015 +0100
usb*: Minor cosmetics.
commit 1647db062c75b5058fbbd581438a25e76f17cde6
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Tue Dec 1 06:44:43 2015 +0100
usb_signalling: detect PREamble PID
PID decoding is normally done in the packet layer, but the signalling
layer has to switch behaviour on detection of an PREamble PID.
commit 9821622af021360a92334d1a6b465c8e3aab90b6
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Tue Dec 1 06:48:02 2015 +0100
usb_signalling: add signaling states needed after LS PREamble PID
commit be0f8fee99fe939c50ed5d2483a924754788c0b3
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Tue Dec 1 05:53:32 2015 +0100
usb_{packet,request}: handle PREamble transmissions
commit 831d893d4b9e4f76b5e645ee5e6fcfd4962ffa6a
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Mon Nov 30 00:35:11 2015 +0100
usb_signalling: fix SOP detection after an error condition
If the oldsym is not set to 'J' before entering IDLE state, the SOP
detection will never trigger
commit e655c0aa44ac56ff66ad98d30a97cf852bdf7048
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Mon Nov 30 00:00:03 2015 +0100
usb_packet: handle errors from usb_signalling
If a packet had any errors, the usb_signalling PD will not send an EOP
but an ERR message. Wait for the next SOP in both cases.
commit 72b2a50cc23388ba3568fc96deda79a7e39cbfc5
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Sun Nov 29 23:56:53 2015 +0100
usb_request: Handle transmission timeouts
If a device or host did not receive a handshake 18 bit times after the
EOP, there was a transmission error and the host may repeat the
transmission
commit 519092e31aa4f2288dd82d43719d5a88d4e465b9
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 07:15:36 2015 +0100
usb_signalling: add option to automatically set signalling speed
In automatic mode, the bus is assumed to be in IDLE state. After a
RESET, the bus state is checked again.
commit 13e813080ccf342e9577317400530335c5475764
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 05:39:10 2015 +0100
usb_signalling: decode RESET and Keep-Alive signalling conditions
Resets are at least 10ms at the root hub downstream facing port and
2.5us at the device (root hub reset may be shortened by itermediate
hubs).
Keep-alive is a low-speed only signalling condition, as low-speed has no
SOFs to inhibit devices to enter suspend
commit 6fbab493aaee26f9ecba0268261d1f3264339d9d
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 05:20:22 2015 +0100
usb_signalling: use explicit positions for packet start/end
Instead of centering the block around the sampleposition, which shows
some visual glitches due to rounding, use the edge positions already
known. Remove unused halfbit symbol.
commit 0f274b53a9c0c8a40cdb0ed41023705d99bc6c6c
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 04:55:56 2015 +0100
usb_signalling: handle symbol errors in EOP state
Only SE0 and J are valid symbols during EOP
commit bef4949d31076cf7dfdea5ed8bf7800bf3e2678d
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 04:52:53 2015 +0100
usb_signalling: remove unneeded syms array
Do not call get_eop() from get_bit(), but directly issue the symbol. As
get_eop() is only called during the GET EOP state, the SE0 is implicit and
there is no need to save it into the syms array.
commit ce780be23a64df70ac350c8584d484e72c00990e
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 04:20:54 2015 +0100
usb_signalling: remove unused ss_sop member
commit 033d6221f3d0cd607bb11031a2764a293bf4bff1
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 04:11:37 2015 +0100
usb_signalling: detect bit stuffing errors
More than six consecutive 1's are an error
commit 56cc44ff1106e8e28d9242b6232552c501090ed4
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Fri Nov 13 04:05:24 2015 +0100
usb_signalling: consolidate symbol output
No need to replicate the symbol formatting in several places
commit 8c90d7bdf21f091bb8bf6a45fbb8602e406b10e4
Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
Date: Sun Nov 8 00:49:08 2015 +0000
spi: Add a 'TRANSFER' output type.
commit 92a06d0b6bbe173257d7c76ed2318f5b35f65637
Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
Date: Sat Nov 7 23:39:59 2015 +0000
Fix documentation comment in SPI decoder
commit 79065c6f7602f1f02399bcf45bb3ef0cb73587ae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 21 20:18:47 2015 +0100
usb_power_delivery: Minor typo and whitespace fixes.
commit fddb311472d4458382418de3f091bd1b997d3a89
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 21 19:35:15 2015 +0100
usb_power_delivery: Use the same license header format as other PDs.
commit ced6589fc96e49c0fa69565c46e5cb4fb25459bc
Author: Vincent Palatin <vpalatin@chromium.org>
Date: Thu May 29 06:51:13 2014 -0700
USB Power Delivery protocol decoder
Decode and packetize the Biphase Mark Coding (aka differential Manchester)
as used in the Universal Serial Bus Power Delivery Specification Revision 2.0
v1.1, then decode the packet content.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
commit a1497fa349673fb5cd2cb5b62dbc90160d7f9e49
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 21 18:43:06 2015 +0100
spiflash: Fix incorrect 'inputs' field.
(this PD is indeed stacked on top of SPI)
commit 979d5dd08f33e90da58ef6bb76137693ed84693a
Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
Date: Tue Nov 3 14:02:11 2015 +0000
Initial attempt at MAX7219/MAX7221 decoder
commit c63f5a875761cb83abfad7ede0615415cdc90c76
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 3 02:12:49 2015 +0100
srd_decoder_unload(): Remove PD from the internal list.
This issue was discovered via the newly added unit tests.
commit 1b6f39e39b9700a787db81268c4ae9cd0d3f1499
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 3 02:12:29 2015 +0100
tests/decoder.c: Add some srd_decoder_unload*() tests.
commit 76a4498f3a1eb0ce3919c3ce72fad76f99049942
Author: Elrond <elrond+sigrok.org@samba-tng.org>
Date: Wed Oct 21 16:17:19 2015 +0200
UART: Handle framing errors better
1. Show Frame Error on the Start bit
2. Don't overwrite framing errors with (valid) start/stop bit info
commit 943f9176255c63924fcf55c6ba8bad05e91d4923
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Oct 6 22:42:52 2015 +0200
exception: Decorate catch function with format attribute
commit 41d43a33fb4088889aba931cbdbc032263a6f397
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Oct 6 21:08:36 2015 +0200
build: Require GLib 2.28.0
This is needed for e.g. g_slist_free_full(), which incidentally
has been in use for a while already.
commit e9dd2fea0514df9316a12bae191b810811fc9f01
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Oct 6 22:30:14 2015 +0200
util: Factor out Python module load
Create a utility function for loading a Python module by its name
in UTF-8.
commit 6d67d057d13318deb0a11de2589b5442df389092
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Oct 6 21:07:47 2015 +0200
decoder: Refactor loading code and plug leaks
commit 201a85a8ea071d37f4fda2668c0a1c488d852f4e
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Oct 5 01:53:43 2015 +0200
Python: Restrict code to stable ABI subset
Limit usage of the Python C API to the stable ABI subset as defined
by PEP 384. This removes some type definitions and functions which
libsigrokdecode made use of. Convert all affected code to suitable
API alternatives. Also fix a few leaks that became apparent while
working on the code.
The most visible change is that PyTypeObject is now an opaque type.
Thus, the custom Decoder and srd_logic types are now created on the
heap via an alternative API. Unfortunately, since tp_name is now
inaccessible, type names had to be removed from the log output.
Stack traces after Python exceptions are now formatted by calling
into Python, since the trace object C API is no longer available.
commit bd0e7d2e71e7a05b2bb0686a86a75b8fcb92fd54
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Sun Oct 4 00:43:38 2015 +0200
usb_request: USB transaction decoder and PCAP generator
The new decoder stacks on top of the usb_packet PD. It adds one new
annotation row, and is able to save the decoded data as PCAP trace.
It has been successfully tested against all traces in sigrok-dumps and
some more traces.
commit 91a19cb31778ccb6db79c4d4d75d993d974ebae0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 6 08:29:56 2015 +0200
usb_packet: Document CRC5 ERROR and CRC16 ERROR packets.
commit 64b45b207121eeb9b0db7f71ba067f23fe7f7ea7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 6 08:28:03 2015 +0200
usb_{signalling,packet}: Minor cosmetics.
commit a241cfb6e1fbf1f7c85109a54e914672b633f5f3
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Wed Sep 30 00:24:24 2015 +0200
usb_signalling: Track USB symbol width to compensate frequency errors
USB low/full speed allows for frequency tolerance of 1.5%/0.25%. At
maximum packet size (sync + PID + data + CRC16) of 12 bytes/1027 bytes
this amounts to 1.4 bits/20 bits, so the decoder has to lock to the
actual symbol frequency to avoid any symbol misdetections.
The signal is sampled twice, once at the symbol center and once at
the expected edge position. Comparing the symbol at both positions gives
an indication if the current bit width is too low or too high. Adjust
accordingly.
commit 0e3cb15e814f20b201709688ab4eaa6eee54dc40
Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Date: Thu Oct 1 00:12:29 2015 +0200
usb_packet: calculate and check CRC5/CRC16
In case CRC validation fails, an crc5-err/crc16-err annotation is issued,
instead of crc5-ok/crc16-ok, and the error is noted in the annotation
text.
commit d9673085e0f35f4cf7704f340ce56f954d7beab6
Author: Roland Hieber <rohieb@rohieb.name>
Date: Sun Oct 4 23:04:02 2015 +0200
rfm12: fix small typo
There is a small typo in the rfm12 protocol decoder that I just noticed:
commit b480383d4605915f7b4cd8f14ccf62af9bf710f3
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Oct 3 14:28:43 2015 +0200
tests: Do not reference parent directory in includes
Rely on the compiler include path instead.
commit 41bab68212533f4697ad378af574e06ea83e4fd9
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Oct 3 14:21:01 2015 +0200
tests: Rename DECODERS_DIR to DECODERS_TESTDIR
Avoid confusion resulting from using the same macro name for
different purposes.
commit 583001b3f16795abd24278fbb2e5232a7ca27fb0
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Oct 3 14:17:07 2015 +0200
build: Do not hard-code decoders location on Windows
commit 40c6ac1d3fbded276dcbff23e8bc099896ab2fb5
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Oct 3 13:18:09 2015 +0200
init: Also look for decoders in XDG data directories
commit d8d409590ce21116d85800c0eb8be287817a0eed
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Oct 3 11:40:33 2015 +0200
init: Simplify srd_decoder_searchpath_add()
Don't mess with colon-separated search path strings -- instead,
simply prepend items to the sys.path list object. Also keep the
internal decoder path list in the same order as the items added
to sys.path.
commit 750e122d2bcdf05e600112ffda431f97608db387
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Sep 15 11:42:05 2015 +0200
jitter, pwm: Avoid Unicode string literals
It seems the Python we ship along our Windows binaries does not
support u"..." strings, even though it's been a language feature
since Python 2. Remove the "u" prefix to avoid a syntax error.
Also, consistently use format "%.1f" at all scales.
This fixes bug #569.
commit 544038d90e05c03f6f914c7771ee52dd85784ca8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 14 19:05:54 2015 +0200
can: Improve stuff bit annotation placement.
commit d4a28d0fb6e1380590564be2b47ba3642130555b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 14 18:25:02 2015 +0200
can: Emit bit value annotations.
commit c6bfbc0043089e006c684bcce609da50aadded81
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 14 17:56:46 2015 +0200
Makefile.am: Shorten ChangeLog target a bit.
commit ef3a66299ade1bc41090d0b6d24c21b6bcfad571
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 13 23:05:42 2015 +0200
log: Use GLib printf for consistency
Just as in libsigrok, use g_vfprintf() in the log callback to make
sure we are linking to a standard-conforming printf implementation.
commit fdfc532ecd49fc3353627ef4a093366e73d6b91a
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 13 22:10:54 2015 +0200
Build: Move _POSIX_C_SOURCE definition to config.h
Do not redefine it though when already set, so that it can be
overridden by the user, or indirectly by the compiler settings.
commit 367843620d039ad183bc4d7c33d91c316d717621
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 13 22:07:11 2015 +0200
Build: Include <config.h> first in all source files
Since Autoconf places some important feature flags only into the
configuration header, it is necessary to include it globally to
guarantee a consistent build.
commit 4916b17368e8ed06f4bfd045052ab0f891c33954
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 13 22:01:34 2015 +0200
Fix srd_log() format warnings
commit fd4918101e0878be9d399a344511253f5867a646
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 13 21:32:27 2015 +0200
log: Enable varargs format warnings
Decorate srd_log() with the GCC format printf attribute so that the
compiler can check the format string and arguments for consistency.
Also remove the srd_err(), sr_warn(), etc. functions and replace
them with macro wrappers around srd_log().
commit 9fb7e7fe2c7edafdeedf1976d1723ffe557c8a7c
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 13 21:10:40 2015 +0200
log: Remove srd_log_logdomain_{get,set} from the API
The confusingly named srd_log_logdomain_set() simply set a global
string prefixed to the log message by the default log callback.
This is pretty much useless, misleadingly named, and not used by
either sigrok-cli or PulseView.
commit 2730fe2397101f2c0a66abd3a7fd5fa531d3c710
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 10 18:19:47 2015 +0200
instance.c: Don't use 'di' before NULL-checking it.
commit 9576e005e18b2d0131e0fce5279a401cbe71c0f8
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Sep 10 18:45:50 2015 +0200
Build: Put --no-print-directory into GNUMAKEFLAGS
Also output the compiler version in the configuration summary.
commit 0fd8a35de8b89fce395c14190f63c02b9aa976df
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Sep 10 18:44:55 2015 +0200
sigrok.m4: Update with latest version from libsigrok
commit a6c1c359dab0f707ecdc0bf7fcb7de9b7dabfd06
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 6 10:53:54 2015 +0200
libsigrokdecode.pc: Publish decodersdir variable
This is so that downstream modules can find the install location
of the decoders.
commit a4b5d9a99e4d202ccd65bc77624949e68a858e3a
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Sep 6 10:51:22 2015 +0200
Build: Show CC and CFLAGS in configuration summary
commit e4bafb8df34c2c051ec7a2e9a5e50b54849f0eb2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 3 09:19:56 2015 +0200
jtag_stm32: Decode IDCODE contents as strings (not just hex vals).
commit d011c2e1fe2e4f0144a2c8e56d7feeda8520fd81
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 3 08:36:21 2015 +0200
jtag_stm32: Decode more fields, improve IDCODE handling.
commit 0edb5d58301af36844681f6427b06040678f63d0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 2 21:06:01 2015 +0200
jtag_stm32: Cleanups, shorter code.
commit a4dd548f5332453cef7442e453eef99343bdc5fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 2 20:49:47 2015 +0200
jtag_stm32: Update to reflect change in jtag OUT_PYTHON.
commit 36faa6d0a353709235b7bf1076ae29552154e4a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 2 20:49:20 2015 +0200
jtag: Submit bit samplenumbers together with the bits.
commit 6cdc1e0997c41ef92bb39a67f5f67b676ee5205e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 1 20:13:27 2015 +0200
jtag_stm32: Fix incorrect handling of registers.
The STM32F10xxx has two serially connected JTAG TAPs, the boundary scan tap
(5 bits) and the Cortex-M3 TAP (4 bits). See UM 31.5 "STM32F10xxx JTAG TAP
connection" for details.
Due to this, we need to ignore the last bit of each data shift (and we
currently ignore the 5 bits of the boundary scan tap).
commit 80214a11ba67e76257750e2dae3b1169c3e61c17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Aug 16 00:37:34 2015 +0200
jtag: Add more annotations, fix a SHIFT-IR/-DR issue.
The code was previously not decoding a bit for the first state change
to SHIFT-IR/-DR, which was incorrect.
commit f7332ee0869cea37577257126acfe40bbe9f4db4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 14 20:05:34 2015 +0200
jtag: Fix/enable OUT_PYTHON output.
commit 27b3f2b09722ac0333657212f1c5592ca6f4fe56
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 28 19:25:09 2015 +0200
Replace another -D_DEFAULT_SOURCE with -D_POSIX_C_SOURCE=200112L.
commit 94ac149f168731a96e5b9adc2addaceb9b170142
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 28 18:34:34 2015 +0200
Build: Go back to _POSIX_C_SOURCE=200112L
commit 3a2086f011619dc62c58f39ffcfade9763813276
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Aug 26 23:12:28 2015 +0200
configure: Enable largefile support on 32-bit systems
commit 7614222ca6cc73aae478d0ed659c0bcedfee4cc3
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Aug 26 14:07:39 2015 +0200
Build: Define feature test macro _DEFAULT_SOURCE
This basically makes glibc expose the same set of features as
if gcc was invoked without any restricting -std=c* option. Unlike
_GNU_SOURCE however, it does not enable GNU-specific extensions.
So, with this macro defined the behavior of Linux with glibc
should match that of other platforms.
commit a654ef6e407f1f914a6ec9b104a5e4cf9b84524c
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Aug 26 13:01:16 2015 +0200
Build: Use TESTS prefix instead of CHECK for flag variables
In order to avoid confusion of the flags-gathering pkg-config
result with the actual test for the availability of "check",
change the pkg-config output variable prefix from CHECK to TESTS.
commit 051d71c2b2851a3bcee29f46f7c7027a2edbc568
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Aug 25 03:06:33 2015 +0200
Clean up .gitignore
commit 7eb90f2304e10d13281d47d944168fe40a77e6d6
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Aug 25 02:59:48 2015 +0200
Build: Adopt new Autotools magic
commit bcd4e47e8cc688d2a04c6fbfde1e0a354405f769
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Aug 24 21:09:47 2015 +0200
Build: Reduce autogen.sh to trivial stub
Use autoreconf instead of invoking the various Auto tools
separately. Get rid of the Darwin-specific guesswork -- it does
not make sense to handle this at the level of libsigrokdecode.
People should set up their ACLOCAL_PATH themselves as appropriate
for their own system; just as they already need to set up various
other paths.
commit 28aeef67d01b0263934feb3147813d3c750f942c
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Aug 24 21:07:42 2015 +0200
Build: Add copy of libsigrok Autoconf macro file
commit aac0ac249169a8774b30a2f3458a056ae2c80c63
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 21 14:50:04 2015 +0200
nunchuk: Fix inverted button press logic.
The buttons are pressed if the respective bit is 0.
commit cda2d36cfeed3f921252ffa95377529d6bdc074b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 20 19:36:12 2015 +0200
Pass unitsize per sample chunk.
Don't pass unitsize to srd_inst_channel_set_all(), have that only
set the channel map. Instead, srd_session_send() now has a parameter
for the unitsize which is passed with every new chunk to be decoded.
This is in preparation to fix issues with devices or files which
have a unitsize != 1 and where the "guessed" unitsize based on the
number of channels is not correct.
This also allows for (potential) future changes where every chunk can
indeed have a different unitsize.
This fixes (parts of) bug #352.
commit bbe1b715a71536e38a2b7e2362dbd8827a18ec1f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 18 08:24:29 2015 +0200
mrf24j40: Fix a register address typo.
commit 04c310c8d90a29dc4125ad2b707d08ed4fe15c52
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 17 22:04:46 2015 +0200
tlc5620: Add options for per-DAC Vref, show voltages.
Instead of showing raw values in the annotations, calculate the
actual voltage (based on raw value, gain, and Vref) and use that.
commit a945c53611b3c8bdfd5d30fec7675320213acfe0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 17 22:05:06 2015 +0200
tlc5620: Handle the case of less than 11 bits in a command.
commit 3992b1e180283036ad4a834419b73d5d3eb53089
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 17 22:01:37 2015 +0200
tlc5620: Properly handle LOAD and LDAC based operations.
- If LOAD goes low *and* LDAC is already low, the voltage is set
immediately.
- If LOAD goes low but LDAC is high, the value is only written into
an internal register, but the voltage is not changed (yet).
- If LDAC goes low, all four DAC voltages (DAC A/B/C/D) are set
according to the respective register values at the same time.
commit e57813d5b3a44d0e504b6571c9b06a8a8da79f8a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 17 21:46:22 2015 +0200
tlc5620: Only decode the last 11 bits, ignore the rest.
commit ce0c47f34659181a7c5f82bfb782d8a5f5987ac7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 17 21:28:21 2015 +0200
tlc5620: Fix incorrect DAC selection decode, add more annotations.
commit 3e84c443857ae649be31df7ca13690c6d3578e54
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 14 19:01:39 2015 +0200
usb_packet: Handle invalid packets more gracefully.
Previously the PD was blindly trying to decode any packet, no matter
whether it was too short (and/or bogus) or not, causing issues like this:
srd: Calling usb_packet decode(): IndexError: list index out of range
Such cases of invalid input are now handled better by emitting "UNKNOWN"
and "Invalid packet" annotations.
This fixes bug #186.
commit 42227c2d29c8330c955cf64cf92be0bf1bf4aeeb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 14 13:48:08 2015 +0200
usb_packet: Fix incorrect DATA*/MDATA handling.
Thanks to Pavel Sukortsev for the bug report and fix.
This fixes bug #623.
commit 08c41387ca016a59c041c8bc76efab037da5894a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 6 19:27:04 2015 +0200
Add initial SD card (SD mode) decoder.
In the current state the decoder can decode the following commands:
CMD0, CMD2, CMD3, CMD6, CMD7, CMD8, CMD9, CMD10, CMD13, CMD16, CMD55,
ACMD6, ACMD13, ACMD41, ACMD51.
Other commands (and more details for existing commands) will be added later.
commit fbff319f0a65e2d87a609f77a32b26ef200a5215
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 23 17:12:41 2015 +0200
Slightly more verbose logging in srd_inst_decode().
commit f7504c3772512586c3178e26b6945a4064c070d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 18 18:04:08 2015 +0200
Bump version to 0.4.0 (the upcoming next major release).
commit 709b84383503326eba654613d083352b00d31c97
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 18 17:59:19 2015 +0200
Append "-git" to the version string.
This avoids confusion with the released tarballs.
commit db858a048288645d00eeb643dc43006ef9875280
Author: Bart de Waal <bart@waalamo.com>
Date: Mon Jul 13 23:59:55 2015 +0200
Add protocol decoder for Modbus RTU.
commit d574715e3916740deeffbd7637d20c78e062fff3
Author: Josef Gajdusek <atx@atx.name>
Date: Thu Jul 9 12:54:28 2015 +0200
qi: Add Qi charger protocol decoder
commit e4302cbe5cb375a50bd9a30a8a2855d9fa6ab14d
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sat Jun 6 22:05:06 2015 +0200
Add an MDIO/SMI decoder.
commit 295b78c7d971e1abd7021d88415523ad66a3e448
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 1 01:21:53 2015 +0200
adns5020: Minor tweak to annotation format.
commit 07505b2a1a31759f90f9e7e2bfee5d75d4b1b729
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 1 00:59:23 2015 +0200
mrf24j40: Factor out register lists to lists.py.
commit fecabafe31aa77e039268b63fa6a409922858505
Author: Karl Palsson <karlp@tweak.net.au>
Date: Wed May 27 01:25:16 2015 +0000
Add a Microchip MRF24J40 802.15.4 2.4GHz RF tranceiver decoder.
No interpretation of register bits, nor attempting to decode packet contents,
but all shifted register addresses and long register memory regions are
decoded.
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
commit 8f7f170ffbb0acfd170054546a9ecf27f557167e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jun 22 15:15:17 2015 +0200
adns5020: Add manufacturer name to description.
commit ef0734978955d34e42187f79f6c2ed910b4b873d
Author: Karl Palsson <karlp@tweak.net.au>
Date: Sat May 16 17:14:50 2015 +0000
Add Avago ADNS-5020 optical mouse sensor decoder.
Decodes reads/writes of registers. Understands resetting on chip select if
provided. Does not understand burst mode.
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
commit e2ba53bbd8d176aedc8f5f9a3bb4086bc5f526f3
Author: Karl Palsson <karlp@tweak.net.au>
Date: Sat May 30 20:28:55 2015 +0000
am23xx: explicitly mention RHTxx devices.
Include their compatibility in the dropdown options too.
commit 468c974e7bdbc068ad1771069e3e0adb35853ad5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 26 17:53:24 2015 +0200
timing: Shorten annotations (time units).
commit 92adde514e1be3015ebd44da813fb6bec0001370
Author: Baruch Even <baruch@ev-en.org>
Date: Sat Apr 4 21:21:34 2015 +0200
Add a decoder that calculates timings between transitions.
commit c2446117b9758b14e328e4244e9787e5fb65f62b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 4 20:41:24 2015 +0200
spiflash: Add lists.py and a 'chips' PD option.
commit 3ca1f1b3530ff5fb2e93785516e088a58429191e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 4 19:41:44 2015 +0200
Rename the 'mx25lxx05d' PD to 'spiflash'.
This is in preparation of making the PD more generic so it can support
a lot more xx25 series SPI (NOR) flash chips.
commit 868fd207a7506ae2ab48d6a8755350e452d60521
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 4 18:34:42 2015 +0200
Fix a bunch of typos.
commit c357abd198bd195cb9ea015130dc76c8c7a33651
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 7 02:36:47 2015 +0200
autogen.sh: Drop obsolete MinGW/MSYS items.
For Windows builds (which require MinGW-w64) we currently support:
- cross-builds using MXE (mxe.cc) and possibly other cross-compile setups
- native builds using MSYS2 (sf.net/projects/msys2/)
Neither of those require explicitly specifying ACLOCAL_DIR.
commit 3085037bbcb7f6a5ea101227f3ab2045645a21c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 3 23:21:59 2015 +0200
onewire_link: Fix a bug when the samplerate is too low for the PD.
The code was trying to emit annotations before
self.register(srd.OUTPUT_ANN) was run.
This fixes bug #357.
commit 348118b732231daf9d9e4b3f7c80e7939f3eb0ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 3 22:50:41 2015 +0200
Makefile.am: Use libtool's -no-undefined option.
commit cdceaa9438e889e55d7f5c364f05548afba66bc3
Author: Andreas Sandberg <andreas@sandberg.pp.se>
Date: Fri Feb 13 21:42:01 2015 +0000
spi: Don't decode data lines if CS isn't asserted
Avoid decoding and outputting data from the SPI bus if the CS pin
hasn't been asserted. This avoids confusing both users and stacked
decoders which otherwise end up seeing traffic intended for other
chips (or just noise).
Note: The old behavior of decoding all traffic is still in place if
no CS pin has been wired up to the decoder.
This fixes bug #559.
commit a7c8dc5e3a2b7ad38eb03a958180f97f3059ea31
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 2 22:48:03 2015 +0200
Slightly shorten a few PD descriptions.
commit d2bcb32bc16eddffc9ec54b505c03028a2ec4160
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Sat Mar 7 16:14:19 2015 +0200
Add a decoder for stepper motor direction/speed signals.
commit 1c023fab6542d33b3e1c7f32504c0fcc9495dfb1
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Sat Mar 7 15:55:18 2015 +0200
Fix a few decoding bugs with arm_etmv3.
Fixed:
- wrong address decoding for some branches
- error in annotation lists for exception entry/exit
- exception was being thrown for 0E0N p-header packets
- fixes to objdump output parsing, better function name & source code matching
New features:
- added decoding of IRQ names for branch exception info
- added support for -C option to objdump to decode C++ symbol names
- put branches on the "Exceptions" annotation row when they contain exception info.
commit e4227bafd63472d1a0d23fa54f62a2b20e296115
Author: Matt Porter <mporter@konsulko.com>
Date: Mon Mar 30 23:59:38 2015 -0400
pwm: add period annotation
commit 077fa8acbcb8b585af6f5323f16221940a27a72e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 7 19:12:15 2015 +0100
Use g_malloc*() consistently, simplify error handling.
Use g_malloc*() for small allocations and assume they always
succeed. Simplify error handling in a few places accordingly.
Document the rules in the README file.
commit c052046717c09758bbdf62819e0029dddcae7159
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 28 14:18:56 2015 +0100
unit tests: Drop unneeded check_ filename prefix.
commit 7c139a54d14979f832c53d6f7fae7d415ca41a74
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 25 09:41:23 2015 +0100
mx25lxx05d: Implement FAST READ command.
commit 1483fb220ce56405433aee298d1637f6b041ac2b
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Mon Feb 23 19:47:56 2015 +0200
Fix typo in swd decoder
commit 686f0c3621cd8ef7264f3e45e0218f2ebdfb612a
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Mon Feb 23 19:49:06 2015 +0200
Add ARM TPIU/ITM/ETMv3 decoders
commit 5dc48752efc84171dece2dcef93577e5483b9775
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 24 21:46:04 2015 +0100
nrf24l01: Change 'xn297_extensions' option to 'chip'.
This allows for easily extending the PD to support other clones or
compatibles of the nRF24L01(+) chip as well.
commit b03e2209d5e83e3c1b9737097b13109c7e4658c3
Author: Mike <mike@flomp.net>
Date: Fri Feb 6 16:42:32 2015 +0000
nrf24l01: Add option to support the XN297's extra registers
commit b5712ccbbcd023e5ac20d790bf75af3c18fc66d5
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Sun Feb 15 19:08:36 2015 +0200
Improve uart decoder sample positions at high data rates.
At 3 samples per bit, the uart decoder took the value at the last sample
instead of the middle one. Improve calculations so that sampling is more
accurate at odd number of samples per bit.
commit 2590c098bb44f660a9668db66deaf59f3a7a651b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 31 23:39:02 2015 +0100
unit tests: Disable timeout for one of the test cases.
This one can take a while, thus disable the timeout.
commit 9177963de41c2d003d417049470eea3c98eeb2ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 24 20:46:18 2015 +0100
README: Update build requirements list.
commit c4d5221077ef95488325dd104a806eadb5b5f13b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 19 18:57:56 2014 +0100
Add 24xx I2C EEPROM protocol decoder.
commit 49d0e05ce73b2b8e47714b5d95e66e9b27aeaa4d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 28 14:33:50 2014 +0100
spi: Add binary output facilities for MISO/MOSI.
This fixes bug #424.
commit be42cffca100c00d0d5510b08dcb66655f8a5746
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 16 14:51:47 2014 +0100
edid: Add annotation rows.
commit 2ef800662842775738659e72ade594713cfb849b
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 16 14:51:19 2014 +0100
eded: Add all sections.
commit 70aa53ec10dabe4a5267e142974b35d1312f7119
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 23 23:06:45 2014 +0100
jitter: Simplify ascii-float binary out.
This also outputs one item of OUT_BINARY per jitter value (not one
item per ASCII character in the ASCII floating point number).
commit 05aaa48637fe56ac087569d784dbfdc91341f619
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 23 22:55:54 2014 +0100
jitter: Rename "jitter" binary out to "ascii-float".
commit 5f987d6f312a7a586b0af5aca267b98747e5df4a
Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Date: Thu Nov 13 15:50:43 2014 -0500
jitter: add a binary output to report the raw jitter value.
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
commit 961699aaab1e44dab827c9f1884100b87a0a97fd
Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Date: Wed Nov 12 12:42:03 2014 -0500
jitter: fixes an error when a miss clock/signal is detected
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
commit 34cfd419098c5a9dc32270308c5e55e9c6893e91
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 9 20:29:31 2014 +0100
jitter: Factor out handle_clk() and handle_sig().
commit c2049e2c98e3186a2c6462e5dcede8d2b0747021
Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Date: Thu Oct 23 13:08:29 2014 -0400
Add a timing jitter decoder.
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
commit 9658c7100a62499cce1939193c8be80bb300d0f8
Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Date: Wed Oct 29 23:31:43 2014 -0400
pwm: Fix and rework
Reworked in the algorithm:
- Fixed the polarity setting
- Taken in consideration the first transition
- Using the 'None' state instead of -1 and 0 value
- Simplify the algorithm and remove useless branches and variables
- Avoid re-calculating the same thing more than once
- Renamed a few variables for a better understanding
- Duty cycle precision changed to floating value
Otherwise:
- Added a meta OUTPUT for the duty cycle average
- Renamed the polarity option:
'polarity', 'active low/high' are well-understood terms.
- Added comments
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
commit 8a110ab1ea46d89d36a610e4249fe1eabed27757
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Sun Oct 19 22:54:51 2014 +0200
spi: Use 'None' to signal the missing CS# pin.
commit 22630a3d54361f083877a68724e8b823d5e063a7
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Sun Oct 19 21:29:07 2014 +0200
nrf24l01: Don't decode incomplete commands.
Wait for the CS# line to be inactive before decoding the commands.
commit 3cc4c4a96dba8390ec4eabbd62cc1d50d653640e
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Sun Oct 19 20:39:38 2014 +0200
nrf24l01: Check for CS# pin and only throw exceptions once.
commit 1c49e875623918f8893308307f487a1f551daec4
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Sat Oct 18 11:31:16 2014 +0200
spi: Tell stacked decoders about missing CS# signal.
This could previously be detected by the absence of a CS-CHANGE packet
before the first data packet, but it makes the stacked decoder simpler
if it is told directly.
commit b4332f0fdd7706d9caf39a5dcd8a1b5b06a626ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 16 21:23:19 2014 +0200
Add a PWM decoder.
commit 0c7d5a56449babeb84013118935c0dacecdadd70
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 16 17:58:28 2014 +0200
uart: Fix code comment.
commit 7cf698c5475ac6948d7a9d5c2a6e4ec9cb878d84
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 16 09:35:27 2014 +0200
uart: Emit databyte and bits list at the same time.
This will allow for much simpler code in stacked PDs.
Adapt stacked PDs to new API.
commit bd6594c0cdae0a525e147c6e33e496ff87823d16
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 15 15:23:22 2014 +0200
instance.c: Fix whitespace.
commit ee7de90f6e61d15e4aeb40ccbe1a6d007b1fc9a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 15 15:22:48 2014 +0200
midi: Fix two incorrect sample numbers.
commit 486b19ce017c6663be6574dacd0c823304903bca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 13 17:05:07 2014 +0200
All PDs: More consistent names for ss/es variables.
Use self.ss/self.es, or if there's a need to differentiate
them a bit more, use self.ss_<suffix>/self.es_<suffix> consistently.
Also, drop some unused variables.
commit 95d11271b46a46788d497481d03177e883c8554e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 1 19:01:39 2014 +0200
All PDs: Only import the 'Decoder' object.
Anything else in the pd.py files doesn't have to be imported/exposed.
commit 0b6bc7f9554c0980153563b6a3d16c3642fc4651
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 20:21:33 2014 +0200
am230x: Factor out handle_byte() to simplify state machine.
commit dcfb60a1658243c3130774fe00645e7fedb23211
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 19:02:00 2014 +0200
swd: Drop unnecessary debug code.
commit 4afe40462af650a0df1bfb7bd185ee666f2b30f0
Author: Angus Gratton <gus@projectgus.com>
Date: Sat Jul 12 19:34:19 2014 +1000
swd: Add SWD protocol decoder for ARM Serial Wire Debug format.
Supports annotated output for analysing debug sessions, Python output
for potential stacked decoders looking at higher level debug
operations.
commit 25adf5cf29d26751d3f481bd2d22fe8d034ed44c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 17:31:40 2014 +0200
am230x: Minor documentation fix.
commit ed758f091ebb31380868041da87812d3e4ea4a94
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 15:13:50 2014 +0200
am230x: Use slightly more liberal timing values.
This seems to be required at least for some AM2301 and DHT11 sensors.
commit cda1352a7ce0248e6db1996d9ddb9dbee2f91e8b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 14:58:25 2014 +0200
am230x: Change option to 'device' to allow for more devices.
commit f87162978a3f804d43ae12208c3d6a4a86382c1c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 14:57:56 2014 +0200
am230x: Fix self.reset() method name.
commit 47405f47db235c06d9f2ad26ae51791136b62a91
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 12 14:31:21 2014 +0200
am230x: Minor cosmetics.
commit b1f2b85bd9a7cb79265f251cbecba84cdc04dd5e
Author: Johannes Römer <jroemer@physik.uni-wuerzburg.de>
Date: Mon Oct 6 23:30:22 2014 +0200
Add decoder for AM230x digital humidity and temperature sensors.
commit 280d554c29fc234d27be77d602436395d01da6dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 28 22:48:39 2014 +0200
Replace ann_format with ann_class.
The naming has been changed to "annotation class" a while ago.
commit e228150a0e8d60ef3fcaa6f077305a8e6045dfe8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 28 21:38:39 2014 +0200
sdcard_spi/usb_packet: Drop unused variables.
commit 4eafeeefc716a617837f1d69c040753b0b8d71f7
Author: David Barksdale <amatus@amatus.name>
Date: Mon Sep 15 11:50:09 2014 -0500
uart: Implement signal inversion
commit f38da319741c74b83b4d2146f872d05cbd8e2f3c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 11 00:45:08 2014 +0200
Fix out-of-tree build of the unit tests.
commit cb9a5046bed65e38b28c21afcb8945b19d4e8012
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 10 09:26:11 2014 +0200
Various PDs: Whitespace, cosmetics.
commit cac173dbec2b1761414ace8289204945557c8526
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 8 21:44:03 2014 +0200
rfm12: Cosmetics.
Also, update author email address.
commit c9021bc926a42284baf99c174eba4a52b412847e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 8 11:55:07 2014 +0200
rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry.
commit 04ff49263b0a462250d2301e6d4d17db5904a8d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 8 11:54:25 2014 +0200
rfm12: Avoid using the Python 'range' keyword as variable.
commit 4ef0ff313b3ac48d585f581593738c1a3e607f26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 8 11:48:05 2014 +0200
rfm12: Drop debug printing.
Any errors during decoding should be handled by the PD state machine.
commit d44c802b7cd5a89fee9cdf294acb999d30dd2507
Author: Sławek Piotrowski <slawomir.piotrowski@payu.pl>
Date: Thu Sep 4 00:32:14 2014 +0200
RFM12 decoder
commit c414f1996bec719dda64ca5731fea78f1d48887a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 1 17:38:09 2014 +0200
PD tests moved into the sigrok-test repo.
Drop them from the libsigrokdecode repository.
commit 586361052b414d9e17fdecf54c5db0282c25339f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 30 00:55:56 2014 +0200
spdif: Simplify get_pulse_type() a bit.
commit 5302d1e99ed4234b622e7d85ff3e58e2e4648f25
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 30 00:16:33 2014 +0200
spdif: Use strings for decoder states.
commit cc16130e89911cae694c5245df9fd223750c47d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 30 00:09:50 2014 +0200
spdif: Add another annotation helper.
commit eb148e7a78ed4c3b9615b41d9c967cb5f403fa0f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 29 23:50:56 2014 +0200
spdif: Refactor and reduce nesting level.
commit cb6d4c6d8a06ee62a6aa37cc5cddc71cd5ae3adb
Author: Guenther Wenninger <robin@bitschubbser.org>
Date: Sat Apr 19 02:20:42 2014 +0200
Add initial S/PDIF decoder.
commit 00bdc23e73fc3af5a7656ae584216330e4a31556
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 21:35:26 2014 +0200
ds1307: Warn about (and ignore) non-DS1307 traffic.
commit 7d74799011f28796bbb8165dc3bcd4c8cca12052
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 21:19:05 2014 +0200
ds1307: Correctly handle address wrap-around.
commit 53908ef10d1c5e3d77c3551703fa1633303b9242
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 21:17:32 2014 +0200
ds1307: Refactoring and cleanups.
commit 903e9b14c84400579e0d786b7a96e9e587b5849b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 21:03:00 2014 +0200
ds1307: Handle SRAM register accesses.
commit 37834eed4b104fcf77258cca846302911dea34ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 20:45:56 2014 +0200
ds1307: Handle register 0x07 (control register).
commit 5188abb910323c22c57ef95880cdd78eaab2e1f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 20:36:09 2014 +0200
ds1307: Emit per-bit annotations for registers.
Also, add more annotation classes (and annotation rows).
commit 11bd6317ec8d00b3a421516c2e9747a8f7a551ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 18:43:51 2014 +0200
configure.ac: Use AM_CFLAGS instead of CFLAGS.
CFLAGS, CPPFLAGS, LDFLAGS and so on are so-called "user variables" and
are meant for users of the package to use/override. The package itself
should not set or modify them in any way. Instead, the "shadow variables"
such as AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS and so on, can be modified by
the package.
commit 98c47d1107c0f0509cb7e40f2805286e1319afef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Aug 16 18:38:07 2014 +0200
tca6408a: Cosmetics.
commit d4026957a57e5f665fa91c8d706976613e29c1b4
Author: alberink <alberink@stampfini.org>
Date: Thu Jun 19 17:18:52 2014 +0200
Add decoder for TCA6408A I2C I/O expanders.
commit 28c3c217cc70cf2eba41dbca2954c5d8382802d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 14 19:30:54 2014 +0200
tests: Factor out srdtest_setup() / srdtest_teardown().
commit d841d5b26f2134143fc80c9898522d13387b7cc8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 14 18:51:11 2014 +0200
Whitespace and consistency fixes.
commit dfbe1fb2a602114f74cc4f7e3610204dbb559012
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 11 22:53:02 2014 +0200
pdtests: Check for SamplerateError in all PDs that emit it.
commit a573d3944c410d90adb5130323e0f3792d9ae201
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 11 22:53:35 2014 +0200
parallel: Enforce that at least one pin must be provided.
commit f04964c696336f5699a099bbd64785f199d91f4c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Aug 10 09:22:29 2014 +0200
spi/nrf24l01/uart: Use ChannelError exception.
Rename the old MissingDataError to the clearer ChannelError. Also, add
ChannelError in the UART decoder.
commit 8aeedf9ee376f1b48fe9c42924ebf34f9c8c2ddd
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Sun Aug 3 23:30:42 2014 +0200
nrf24l01: prettify annotation output
commit 1f6f2ad8c33e58cfd40ea0370e6d2dfbd6040026
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 31 00:44:20 2014 +0200
tests/pdtest: Small fix to make it work with Python 3.2.
Python 3.2 doesn't yet have the copy() method for lists:
AttributeError: 'list' object has no attribute 'copy'
commit 83df730dd21ce52670a593455cfe5e732989a90d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 31 00:02:22 2014 +0200
tests/check_session.c: Fix compiler warning.
This fixes 'warning: "_POSIX_C_SOURCE" redefined' with some Python
versions.
commit 3b884e8567e7a5fc2f5582951ec9af9a69fd8b65
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 23 00:00:33 2014 +0200
Drop references to obsolete sigrok-commits mailing list.
commit 7149b578a48e90a8b34d70174f8c3ce51de1e282
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jul 20 13:16:30 2014 +0200
runtc: Update to the new libsigrok session API.
(also fixes the build for libsigrokdecode)
commit 3a1501e9e07a93a9b157fcce53aa070c5a0bf3d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jul 20 11:31:27 2014 +0200
Fix incorrect doxygen comment for srd_decoder_list().
This fixes bug #378.
commit 35b380b1156434b73d4a976c68f5ab3604c8510a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jul 15 22:49:43 2014 +0200
All PDs: Minor whitespace and consistency fixes.
- No newlines at the end of files.
- No trailing ';' characters.
- Comparison with None: Use 'is None' or 'is not None'.
- Comparison with True/False: Use 'if cond:' or 'if not cond:'.
- Various minor whitespace fixes.
commit 22fc7ace72f3165c98208a8f544156e04a709639
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 9 17:31:32 2014 +0200
uart/i2cfilter: Don't check multiple-choice options.
For options which only have a limited set of valid values, we don't need
to check (in the PD) whether a valid value was supplied, since the backend
can do that for us.
commit 21b39043472eeeb2e0155eafc73247f5010af714
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jul 8 21:36:53 2014 +0200
Various PDs: Minor consistency fixes.
(Consistently use single-quotes for all Python strings everywhere)
commit 21cda9512f29947617da45822ab524b1f76f56c1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jul 8 21:32:32 2014 +0200
Various PDs: Throw SamplerateError instead of Exception.
Also, use the "if not self.samplerate" form, which catches both the case
where self.samplerate is None, as well as the case where it is 0.
commit e28f7aee3b96afeb543e0c3c29e3950ddd61a490
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jul 8 21:21:03 2014 +0200
All PDs: Drop unneeded exceptions.
In all current PDs it is not necessary to raise an exception upon
invalid states (of the PD's state machine), since we can guarantee that
no such invalid state can ever be reached in these PDs.
commit 0e501c70cf26f208d7e523b7fe737d0e8d565109
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Tue Jul 8 22:15:30 2014 +0200
Add nRF24L01(+) protocol decoder.
commit 34929ee00c976842196ca95240b6cb1a7f5d8c75
Author: Jens Steinhauser <jens.steinhauser@gmail.com>
Date: Tue Jul 8 17:48:56 2014 +0200
spi: Fix order of MISO/MOSI data items.
commit 0d06305deb8d94dfddfef710004a500bf30fb1ff
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 8 21:43:58 2014 +0200
pdtest: Use new exception output.
commit 84d7ecb947a8a6453fc0cb1d7973a821615dec54
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 8 21:43:33 2014 +0200
Make exception output more predictable.
commit f6c7eade2b8853b3d525b5cc0402e89ca74c1908
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Tue Jul 1 00:07:40 2014 +0200
Remove dependency on Python.h from public API header
This prevents Python.h from being included into client code, where
it can mess things up by e.g. redefining _POSIX_C_SOURCE.
commit 67ecff568264e0af2cf137af1d0f4edf7a9dcf2e
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Jun 29 11:38:50 2014 +0200
runtc: Fix incorrect include directive
runtc.c used to try to include "../config.h". This only works when
building in the source tree, otherwise there is no config.h in the
parent directory of runtc.c. However, the explicit path is
unnecessary since the build directory (whether the same as the source
directory or not) will always be added to the include path.
commit 6a0341595610c9d14d4121bb8fa82ab7eeb03693
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Mon Jul 7 01:36:22 2014 +0200
srd_decoder_load_all_path: Support zipimport paths
srd_decoder_load() works perfectly with decoders stored inside zip files.
However, srd_decoder_load_all{_path,}() did not, because it assumed that
normal directory listings can be used to enumerate decoders, which is not
the case for zipped decoders. Fix this by providing a fallback based on
the zipimporter Python class.
commit 37b0da68d021530012f17e86b4754d109977ba76
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jun 27 18:45:46 2014 +0200
spi: Add coverage tests for all exceptions.
commit 7ea7c017c334ebb466923f6e9fef9ef72e157676
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jun 27 18:45:01 2014 +0200
spi: Add coverage tests for all mosi/miso and lsb/msb combinations.
commit 4fecc5a4bcb036f40e23ab967579334076203c2f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jun 27 18:37:58 2014 +0200
spi: Refactor for more coverage, and remove dead code.
commit 5f22c187f99ea13e0a1a5c8c995e73a75f93a9b1
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jun 26 19:56:02 2014 +0200
runtc: PD option value is a GVariant, not string.
This is still broken: it needs to properly check the expected type of
the option, not just blindly assume G_VARIANT_TYPE_STRING.
commit 604eece9928adbf4fb6b85470ceadeca1b73fabb
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 24 18:17:22 2014 +0200
pdtest: Generate report regardless of verbose mode.
commit 66a6eee7b0783f816187e75324df09a729a4070e
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 24 16:04:45 2014 +0200
edid: Add another test, covering more code in the PD.
commit d45058e87e7045fef1b7c4425de1917a554545f7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 24 15:49:05 2014 +0200
pdtest: Generate a report listing missed lines across the whole PD.
commit d2bdb1303679b97c3de5ce2d2d1f2b62c9828a3a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 23 19:52:45 2014 +0200
i2c: Generate proper exception for missing samplerate, and test for it.
Also remove some dead code.
commit d510f7b3d5d03c6fca5b6af4e184dc2f46da9a1a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 23 19:49:47 2014 +0200
pdtest/runtc: Support for output type 'exception'.
The match value should be the name of the exception thrown, e.g.
AttributeError, IndexError or even a custom exception defined in
the protocol decoder, such as SamplerateError.
commit 4e891b94cae1b3e83155721476137a900fe242a6
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat Jun 14 01:54:11 2014 -0400
do not add check to common cflags/libs
Only the unittests use these flags, so don't go linking them in for
the main library too.
commit 3b776f38b9fe2903fd7a4af9d9ca9edd159cea0b
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat Jun 14 01:54:10 2014 -0400
fix test operator
The == operator is not in POSIX.
commit 4f8e40458fe9c0da90ba4634d248d4edb9f4b5aa
Author: Kumar Abhishek <abhishek@theembeddedkitchen.net>
Date: Sat May 10 04:32:06 2014 +0700
runtc.c: Fix compiler warning
c was of type char, while getopt returns an int. This
caused a compiler warning during build.
commit 783b54337242e5c40da8ffc0fc18babbcd09bc67
Author: Kumar Abhishek <abhishek@theembeddedkitchen.net>
Date: Sat May 10 04:32:05 2014 +0700
libsigrokdecode: Fix make -j issue with build_runtc
The build of runtc caused issues with make -j as runtc
was attempted to be linked with libsigrokdecode before
libsigrokdecode was linked. Using LDADD to insert
libsigrokdecode ensures that it links before runtc,
ensuring the build completes correctly.
commit 888bbe38a50a1e3224dcef68686a00e2754e8b47
Author: Abhishek Kumar <abhishek@theembeddedkitchen.net>
Date: Fri May 9 06:05:00 2014 +0700
Add python as a pkg-config dependency
The current libsigrokdecode build passes the python
CPPFLAGS and LDFLAGS directly into libsigrokdecode.pc.in.
This leads to issues while cross-compiling as while using
PKG_CONFIG_SYSROOT_DIR, there is a chance of the prefix
being duplicated. We now, while detecting the installation
of python (cross or normal), add a dependency for the
module name in the pkgconfig file (from configure.ac).
commit 95e2b2f92b144e1b0edf29819a8585dbbc00f169
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 23:05:28 2014 +0200
configure.ac: Bump package version to 0.3.0.
commit 60bc3a86d321ed10ec8dd1bb997b680a43cdd3ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 23:03:10 2014 +0200
configure.ac: Bump libtool/library version from 1:0:0 to 2:0:0.
The libtool current:revision:age numbers change from 1:0:0 to 2:0:0.
Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.1.0.0 to libsigrokdecode.so.2.0.0, the SONAME (+symlink)
becomes libsigrokdecode.so.2.
commit 92682a9977259f32054e839aa4a76028fec9ecda
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 23:06:57 2014 +0200
Bump libsigrok (optional) dependency to 0.3.0.
commit 91fe57918dc2c030ab5e68e861ecd2f4abe92f20
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 09:00:00 2014 +0200
NEWS: Add list of user-visible changes so far.
commit e559d5da6717ff9e956ac7ad58fdb51ca774840d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 15 18:30:28 2014 +0200
Makefile.am: Add HACKING to the tarball.
commit 5c0c9cb3a78be20d98f81cff1405bbf2c927384e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 23:46:21 2014 +0200
Only load and use PDs of API version 2.
Decoders that implement any other PD API version are per definition not
compatible and cannot work with this library version.
commit 5dec4b91cb72c49453134fb3ba5c9930895825f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 22:29:18 2014 +0200
README: Document python3-coverage requirement for tests.
commit 1c0dbcc95b2e8e9a20279f0dab0eecd115be5484
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 22:17:03 2014 +0200
Fix 'make install' on OSes where 'python3' doesn't exist.
Sometimes the Python 3 executable is called just 'python3', sometimes
it is called 'python3.4' and so on. Handle all cases transparently for
the user.
Before:
$ make install
/usr/bin/env: python3: No such file or directory
After:
$ make install
python3.4 ./tools/install-decoders -i ./decoders -o [...]
Installing 36 protocol decoders:
[...]
commit 0672779d5e3e128ef3f7ec932772ff6d65fcbc50
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 21:59:57 2014 +0200
HACKING: Update to current conventions.
(mostly copied from libsigrok, which normally has the same conventions)
commit 23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 21:00:24 2014 +0200
Mark some variables more consistently as SRD_PRIV.
commit aa6506b86e43d332f839ac1d6e0361ef36e9de75
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 20:56:32 2014 +0200
log.c: Avoid using the same name for a variable and enum.
commit c57d10136f77a9011c1179d584dca68fecb12b09
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 20:25:17 2014 +0200
Update a few Doxygen @since tags.
commit af9527d1776668699a4c1244a419902af47f8493
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 19:54:02 2014 +0200
libsigrokdecode.h: Give type names to all enumerations.
This matches the libsigrok conventions, and will be required (or
at least nice to have) for libsigrokdecode language bindings later.
commit 64b354d6823a0b19333ee65e073e5d8169a44027
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 00:08:15 2014 +0200
tools/install-decoders: Minor consistency fix.
commit f6527cc4f7625eb5283eee5392312ad5df70e0f3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 23:56:50 2014 +0200
Move srd_check_init() to decoder.c and make it static.
The function srd_check_init() is only used in decoder.c.
commit 2060510aaafcc7eb27fac071334b4f8aa1f3cab2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 23:52:54 2014 +0200
Make 'pd_list' static, it's only used in one file.
commit 17475b09ef9504f91a28b0873b53cec329513077
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 23:45:55 2014 +0200
Make the srd_Decoder type private.
It's not public API and is not used (nor should it be used) by any frontends.
commit e9c1a90c311a65e5b1576a63078d854771a9c83b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 23:41:04 2014 +0200
srd.c: Fix typo to avoid Doxygen output for srd_check_init().
commit fb8e307d0dc7e53d051e1c9fe18ebd56f1b13ab3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 23:40:54 2014 +0200
Doxygen: Don't parse anything in tests/ or doxy/.
None of that is API-relevant.
commit 5f079f4e914171fb3a627e0a63c4f4cb589e4115
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 23:17:02 2014 +0200
doxygen: Updated Doxyfile to doxygen 1.8.6.
commit 2372b1998ae5d252433d7a7a07744ba2ea81b96e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 22:45:50 2014 +0200
Don't define names ending with _t (POSIX reserved).
Avoid defining any names ending in _t, those are generally reserved
for POSIX usage. For details see:
http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html
http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
commit 5cdc02d4a6947966135aada5f3dcaccfd3e94413
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 22:36:55 2014 +0200
edid: s/annotation type/annotation class/.
commit e94fdd576d250652891f3ca5be61e2eb80b152cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 22:35:32 2014 +0200
tests/check_session.c: Use UINT64_MAX.
commit dea61db0817432886e830b4916c375a88256ba07
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 24 14:12:49 2014 +0200
Detect Python 3.4 if not installed as "python3".
commit f714f8f836b7cd20f9a5a41dc21bcc8584c87c3b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 15 08:44:51 2014 +0200
instance.c: s/probe/channel/.
commit bf69977d12886794ac597083403859ac99ab38ac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 15 08:43:22 2014 +0200
All PDs: More consistent OUTPUT_PYTHON format docs.
commit ce71bf0e29e9c3890eb74725ceb963ff35a29639
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 14 23:50:45 2014 +0200
sdcard_spi: Avoid duplicate keys in a Python dict.
This fixes bug #191.
commit 12851357e784b893e24880efc6cd22a0cbcc64ce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 14 22:14:39 2014 +0200
All PDs: Bump api_version to 2.
Older libsigrokdecode versions are no longer able to use the current
versions of the PDs (various changes in syntax etc).
commit c761524941fcb2237ceb65082e504e5e48e62a05
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 14 23:09:43 2014 +0200
All PDs: Drop some unneeded comments.
commit 803cf705914644e5d6bc63e262004be1da8bea9d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 5 18:25:22 2014 +0100
nunchuk: Fix PD to become usable in GUIs.
- Provide proper annotation classes and annotation rows.
- Emit bit-exact annotations for some registers.
- Output short and long annotations (for use when zooming).
- Various minor fixes.
This fixes bug #344.
commit 170d0e246f6b51900856bf1f89089162cd7ca2c2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 15 00:46:45 2014 +0200
debug: Log unitsize when configuring channel map.
commit 3195dc80c72c62a0f07816882f3b2a169986cf66
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 13 21:59:02 2014 +0200
.gitignore: Add test-suite.log.
commit 6a15597a7b3f901b566b7bfc8c484a14e0fb6a11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 13 19:57:43 2014 +0200
Rename 'probe' to 'channel' everywhere.
Variables of type 'struct srd_channel *' are consistently named 'pdch' to
make them easily distinguishable from libsigrok's 'struct sr_channel *'
variables that are consistently named 'ch'.
commit 486858f7208207fb12a281640c5f6e9be4e4626f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 13 19:56:09 2014 +0200
z80: Fix incorrect license field.
commit 20e950feb2fea1c6c106ced44e1fef3cf6d882ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 9 21:06:27 2014 +0200
Switch to a non-recursive automake setup.
(fewer files, less clutter)
commit a0a9afd940fe8f447665b369328f270f5ba10cb9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 9 21:02:16 2014 +0200
README: Update build dependencies list.
commit a5077804d65c3b699a9dbce76ac77d6a7db81133
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 5 13:00:59 2014 +0200
configure.ac: Clearly mark required and optional libs.
Also, drop printing of the detected Python CPPFLAGS/LDFLAGS, not really
needed since it's available in 'make V=1' output as well (and we don't print
it for other libs either).
commit 1ced2b013412336a9d9ac77aded7078b4eef3780
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Mar 20 16:42:18 2014 +0100
Bump minimum Python version to 3.2
We use some functions specific to 3.1, but every distribution appears
to be at 3.2.x already anyway.
commit 2160cddd3b39903b3102976e1a8d324a15412c58
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Mar 20 17:02:56 2014 +0100
pdtest: Add support for code coverage.
commit 7023cb9faa3d212b2ba6a0c2f59f93ced0afa547
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 18 12:13:38 2014 +0100
runtc: Add list of missed lines to coverage output.
commit fa62a8f9841955980a5a46e9aaedb62839e098dc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 18 20:39:09 2014 +0100
usb_packet: Fix an incorrect index.
commit 7a23306705864b1cc96bbbee57d47e6f87f7767b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 18 20:21:48 2014 +0100
usb_packet: Provide better short/long annotations.
commit 85c03d6009c4939786925d9c9f8880f34f1b7eb7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 18 20:15:03 2014 +0100
usb_signalling: Make each symbol an annotation class.
commit b413721ccb254e99cf8b8991bb1adf2fb26b53a6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 18 20:04:10 2014 +0100
usb_signalling: Provide better short/long annotations.
commit 5bc679c6b0367558b7ce94cfa6cd45b483ad98c9
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 17 11:24:32 2014 +0100
Add support for code coverage of used decoder modules.
commit c35fcb590e8c464b528b6949b9aafb1ced52c4dd
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Mar 14 01:01:03 2014 +0100
Bring various test output files up to date.
commit ea1fc7b1a9d857c7ad147c1b81c6e4b3aa1cd3b6
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Mar 14 01:00:25 2014 +0100
pdtest: Small fix.
commit b0918d40e285e7782f4e86356c41648dc748e477
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 12 00:51:06 2014 +0100
Various PDs: Minor option related fixes.
commit 4e4f8527de0927f2eb1d98e90b58e018ba28d341
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 12 00:22:31 2014 +0100
Various PDs: Drop currently unsupported probes in stacked PDs.
At the moment we don't yet support PDs which take both input from
another PD (which they're stacked on top of) and from one or more
logic inputs/pins.
This will be supported later on, and at that time we'll bring back
these changes.
commit 3a851e5c7ba119cea6e8604a3f3e7ac27c80f536
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 12 00:17:46 2014 +0100
can: Make sample_point a float option.
This allows users to set values like 70.5% or such.
commit 65f6eb77a33e6e7185376b1d9b8f3f0c62273d27
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 11 23:27:31 2014 +0100
Fix enumeration of option values.
commit 24a3d8d0b9b1c0d543e408261aa85e31032b90d8
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Mar 11 22:58:24 2014 +0100
Fixed g_variant_get_double copy-paste error
commit bee57ee84753471970f9b65b34e71c54a0558768
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 10 15:44:24 2014 +0100
ir_nec: Update to recent PD API changes.
commit 12fecc8ffc48a92ce1678aa9b4988f85bebe21a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 7 21:49:12 2014 +0100
ir_nec: Add support for higher-level remote control annotations.
commit 5bb61a25d31c4c32f5109c38d7fd31c9e0d2c441
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 7 20:17:00 2014 +0100
ir_nec: Addresses and commands are transmitted LSB-first.
commit 70835fd4d2dcf2c67e2448b73f0b7008ddf9fe29
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 7 19:30:09 2014 +0100
ir_nec: Add support for more fields.
Also show the AGC field(s) and pauses, the stop bit, and the individual
address / address# and command / command# fields.
commit 73fc79e094855b616fb6d6e392a87338ffe37a6b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 7 17:24:21 2014 +0100
ir_nec: Drop some unneeded options.
The timing of the protocol is not really configurable, valid data in
this protocol must always adhere to the same timing parameters, making them
configurable should not be needed.
Also: Only check for the "interesting" edges and simplify the code a bit.
commit 00962e763e610d8535dd9df1ac97377b3fb727a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 7 14:55:54 2014 +0100
Rename 'ir_nec6122' PD to 'ir_nec', minor fixes and simplifications.
This IR protocol is commonly referred to as "the NEC protocol", and can be
generated by various means (not only via the NEC µPD6121/µPD6122 ICs).
Drop some unneeded variables and fix/simplify the code a bit.
commit 5e6fa9cc6c1ac53de29350722f86e7524cc53442
Author: Gump Yang <gump.yang@gmail.com>
Date: Fri Mar 7 14:53:50 2014 +0100
Add NEC IR protocol decoder.
commit da9bcbd9f45b0153465c55ec726a0d76f6d7f01e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 10 12:23:38 2014 +0100
Probes, optional probes and annotations now take a tuple.
Annotation entries also consist of a tuple, not a list.
commit d1e2129c7b01a760d48bcc8e7fc12956a62698c1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 10 10:35:41 2014 +0100
ir_rc5: Change PD options to be a tuple of dictionaries.
commit 780770f1295b7fdeb4481eb42623bad5da1e19a7
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 10 00:43:27 2014 +0100
Remove unused probes and options
commit 84c1c0b52820af2418186ac3ecf93a5c6373a22e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 9 23:48:27 2014 +0100
Change PD options to be a tuple of dictionaries.
Each option consists of a dictionary with the following keys:
id The option id, which is passed in when setting a value.
desc A description of the option, suitable for display.
def The default value for this option.
values (optional) If present, a tuple containing values the option
may take. They must be of the same type as the default.
Valid types for the options are UTF-8-encoded strings, integers, and
floating point values.
commit cfe46204d1c91f02d0e2c6679a2d15ff92bb90c8
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Mar 4 18:40:24 2014 +0000
onewire_link: Replaced us with µs
commit cbbccbf4faeffcd2607266fa396d801981ffcaa4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 5 23:44:54 2014 +0100
ir_rc5: Fix incorrect bit length of RC-5 packets.
All RC-5 packets are 14 bits long.
commit 16211e24f7a34590f02e9f8a327b1eb3647c7c62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 5 23:44:14 2014 +0100
ir_rc5: Don't throw exception upon invalid edge distances.
Instead, reset the state machine and continue with the rest of the data.
commit 92d992d2e50a1996fa2f436f5217b5a9fb3b7e62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 5 23:34:50 2014 +0100
ir_rc5: Only determine edge type once.
commit 914f0b99d1f07c351742eaa5c8e397d601996846
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 6 19:49:06 2014 +0100
Add initial RC-5 IR protocol decoder.
commit 697967f246f368de3a1778b3bead87ac7a50bfdd
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Mar 2 11:10:40 2014 +0100
z80: Use methods directly as state values.
commit 3831aa891c7a9822a376023419a1fea1a698463c
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Fri Feb 28 21:10:53 2014 +0100
z80: Display not-taken conditional calls correctly.
commit 739f9313539c559949748d918e59865496ad8f6e
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Fri Feb 28 21:03:23 2014 +0100
z80: Fix display of read/modify/write instructions.
commit e029ab1f6ff7fc8e06a4869417a875136318515f
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Fri Feb 28 19:48:33 2014 +0100
z80: Shorten annotation ID 'warning' to 'warn'.
commit 8830db5df55241e1ea775a70671ecb11235cf3c1
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Feb 27 22:07:58 2014 +0100
z80: Output jump offsets relative to instruction start.
Most assemblers recognize the symbol $ for the address of the
current instruction. Make use of this to output relative jump
instructions using the $[+-]offset syntax, with offset being
the displacement minus the instruction length.
commit aef3c1095e966212fd9a9b02cb08a0ff50e13a7b
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Feb 27 21:31:10 2014 +0100
z80: Format hex numbers with leading zero if necessary.
Assembler syntax requires that all numbers start with a decimal
digit. Introduce a custom 'H' format for prefixing a leading 0
to hexadecimal numbers that would otherwise start with a letter.
commit 31737ae022b6356eea8da9792e966b3e1d10f1c8
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Feb 24 00:03:20 2014 +0100
z80: Use list comprehensions for bus probes.
commit 26abbf3762e19d89ab578905aaba24e8764d1696
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Feb 18 22:03:45 2014 +0100
z80: New decoder for disassembling Z80 CPU instructions.
commit 9eec72cb2bf132600db3330f49dace3bdf74080a
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Feb 20 06:24:23 2014 +0100
Make the data unit size configurable
commit 4aedd5b887ef7e34bc00c0ef76dc91ea2c443583
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 12 22:55:37 2014 +0100
uart: Emit per-bit annotations and OUTPUT_PYTHON data.
commit 5e5002be5bb69ed47317cf70053bf5da2598044d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 19:13:51 2014 +0100
xfp: Drop unused "import os".
commit 246654246821fcde172c97399e6e8175708e60b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 19:12:56 2014 +0100
jtag: Use list comprehensions.
commit 3c8031b3f543f82a4a357b4987e0ae6273facfcf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 19:00:36 2014 +0100
sdcard_spi: Use list comprehensions.
commit ae33d639670cd4ca6bfe683c4284dd55377e5f21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 18:58:09 2014 +0100
rtc8564: Use list comprehensions.
commit e85b0440b9b50b8eac7f1b04d0108cbb77bcdb02
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 23 18:30:01 2014 +0100
rgb_led_spi: Shorten name/description (drop "mode").
In the 'sdcard_spi' PD/case the SD spec specifically differentiates between
a so-called "SPI mode" and "SD mode" (both being well-defined terms from
the spec), thus the "SPI mode" in the name and description of that PD.
For 'rgb_led_spi' however there's no such distinction for "modes"
really, so shorten the name/description to just 'RGB LED (SPI)'.
commit 7c09dbb2adb240e013d373da8dccb56efd22380e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 15:17:52 2014 +0100
spi: Fix some start/end samplenumbers for PYTHON output.
This fixes the data/annotations of stacked PDs.
commit 8e8096e8289d8c5a5adf75109e481fe734e629f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 15:11:24 2014 +0100
spi: Fix a bug when only supplying MOSI (but not MISO).
commit ae036d3403ad9e301d41a68869ded51a54127bfe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 15:09:22 2014 +0100
rgb_led: Rename PD to rgb_led_spi.
There are a number of other RGB LED protocols (simple or more advanced
ones, and various ones not based on SPI), so use a more distinguishable
name for this PD.
commit 83d792a4c201c081070f2fdf638e485c5b8a52a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 15:08:34 2014 +0100
rgb_led: Fix annotation end sample numbers.
commit 8967e839a3df6aa8766f57e521c81edd3a12be4d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 19 15:07:39 2014 +0100
rgb_led: Minor cosmetics, whitespace.
commit 2c1732728b130a71105cd9deaf36c9213ef44a82
Author: Matt Ranostay <mranostay@gmail.com>
Date: Mon Feb 17 22:08:41 2014 -0800
Initial RGB LED decoder
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit eafe8f08a1cb46e411dcd358f0d748f7d1aa47aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 9 19:26:59 2014 +0100
usb_packet: s/NACK/NAK/.
The USB spec spells this as "NAK".
commit a87d7847818a2b6389d9a8cbc9ba690ed8b49317
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 5 17:31:36 2014 +0100
usb_packet: Use annotation classes and annotation rows.
commit c82620fc0b10c9541b8a92bd3ea3dd4bdf982390
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 5 00:44:52 2014 +0100
sdcard_spi: Adapt for MSB-first bits from spi PD.
commit d78e0beb6594de5dfd2a17d72f532a42f85ca55c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 5 00:44:27 2014 +0100
spi: Use/store bits in MSB-first order.
This makes things a bit easier/clearer for most stacked PDs.
commit bb08f4b3608b7ed4c932ed2041b1f41a5c9a7fed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 4 22:47:43 2014 +0100
spi: Fix warnings about CS# being de-asserted.
commit bff3a0a0031a32e19c1170e5a387197d879944ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 4 17:07:08 2014 +0100
rtc8564: Improve short annotations.
commit 09d09aceed72c7ca28023862c9049372dfef8d1d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 22:33:37 2014 +0100
rtc8564: Provide per-bit annotations.
commit de038c4710b3ed11bd7a745ae86ecaf0a63a300d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 21:53:46 2014 +0100
i2c: Emit per-bit annotations/packets and define annotation rows.
commit 9ed420384f97966e20e9c25ca6e99d7c903caf1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 22:51:56 2014 +0100
mx25lxx05d: Define annotation rows.
commit 9389f2c1b9b74e00d1369e846d4417bf644275d0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 22:43:01 2014 +0100
mx25lxx05d: Use proper annotation classes.
commit 38ab4ed09ad08d12eb34b0e24765790b34d90cc7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 16:31:08 2014 +0100
avr_isp: Fix 'Device' annotation sample numbers + row.
commit 3b0013416fcfb17e8bc6cfd6850e79971f239fe0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 16:17:22 2014 +0100
avr_isp: Define annotation rows.
commit ad30cb466b4f0c0ff448af7a34aee96f40c9c472
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 16:12:12 2014 +0100
avr_isp: Use proper annotation classes.
commit d780f0071d3052931a953bb2dbbe6c7f20e1e638
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 12:17:23 2014 +0100
sdcard_spi: Merge command ID/name and description into same annotation.
commit 0b5fc0742d89d72ceed0aef14a61e16d7dfa9099
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 09:35:30 2014 +0100
sdcard_spi: Improved command handling / display.
commit 21e7a67e9a9d70aca44577d7556c1008e872d14c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 02:01:05 2014 +0100
sdcard_spi: Fix handling of some warning annotations.
commit 041885bd28ac983501e9de2a247f3f5bb31a0c1f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 01:39:40 2014 +0100
sdcard_spi: Fix incorrect R1 reply annotation endsample.
commit 49176fecb4ab0c7a2474d50ff98a6f105c2a638f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 01:25:16 2014 +0100
sdcard_spi: Fix incorrect 'Command index' value access.
commit a74855de187198624fefd2c12ef8355e5a869f80
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 01:24:47 2014 +0100
sdcard_spi: Use bit-exact annotations in handle_response_r1().
commit d4ad1cb483c6aa4fa2333676d9d8538b2bb32d92
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 20:05:30 2014 +0100
sdcard_spi: Use bit-exact annotations in handle_command_token().
commit 9ed115003c754ed2af523af98d22123cee6e99d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 21:10:23 2014 +0100
spi: Throw an error if neither MISO nor MOSI was supplied.
commit 808c6e7496410ea473c1a625530fd15f779b542e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 21:03:47 2014 +0100
spi: Fix incorrect dataword endsample numbers.
commit bbc100f764f523dbc63daed84be5011432685e9a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 16:40:30 2014 +0100
spi: Refactoring and cleanups.
commit d482a2d39a9677a8c1ea91b945a2496b44caf642
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 15:54:15 2014 +0100
spi: Factor out reset_decoder_state().
commit cddd11bc7911af991fcd7f9a4232c700fded9c17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 15:27:10 2014 +0100
spi: Output per-bit annotations and OUTPUT_PYTHON data.
This can be used by higher-level PDs to decode per-bit items (not just
based on whole datawords).
commit 86f685145345cabef1373a1242016b769ff199b4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 14:24:29 2014 +0100
sdcard_spi: Define annotation rows.
This fixes parts of bug #309.
commit 361c1e76a85bb14dce7b9f3e97deb9fe09416a7b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 02:35:59 2014 +0100
sdcard_spi: Use proper annotation classes.
This fixes parts of bug #309.
commit 1b3109bc83e7d540d30f5c805382339d7a9dc891
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 02:14:37 2014 +0100
sdcard_spi: Initial fixing round for correct samplenumbers.
This fixes parts of bug #309.
commit 64134a4c84459474a1f1d767314f9a9ecf928539
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 01:07:20 2014 +0100
rtc8564: Handle century bit.
commit 6e256b1c2c19ba37b79e75b01a4ce67462ba0e1f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 00:55:48 2014 +0100
rtc8564: Provide short/long annotations.
commit 3d1901418abc422d949dfd20c633af5c881620d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 00:40:23 2014 +0100
rtc8564: Handle register 0x06 (weekday).
commit 3161ab5a3569f88e6e9fadfd9d8e54f53620f104
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 2 00:20:57 2014 +0100
rtc8564: Define annotation rows.
commit a4289441eda34163f7e38f44367c4e888eb81eb1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 23:47:03 2014 +0100
rtc8564: Use proper annotation classes.
commit 58e7e508ded52194ed06a23a48f169779f4c7708
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 23:38:25 2014 +0100
lpc: Define annotation rows.
commit 847e488b37fe5c85c4d1aa4930ced34c24ca5b03
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 23:14:46 2014 +0100
Add a few missing probe-names.
commit 4e3b276aac6d42722fe8a90e8c4ea74bf59fdb37
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 18:20:45 2014 +0100
uart: Better annotation row handling of parity errors.
commit e2ff870ec47cc01a24d037c75d16ebaccdf1ff69
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 18:11:40 2014 +0100
guess_bitrate: start() doesn't take a metadata argument anymore.
commit b92233847c6a77dfb66ac2eaef3c2ef4ff57640c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 16:03:22 2014 +0100
Fix more warnings exposed by -Wmissing-prototypes.
commit 066d659423912025b5b680c5bf74fca11aa72398
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 15:41:36 2014 +0100
usb_signalling: Define annotation rows.
commit 49e8a4d6fe1ac4f5f9100cce5e01ea59305adeb4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 15:40:27 2014 +0100
spi: Improve probe names/descriptions a bit.
commit 8e11415b6bc83e6a114223a3ece588097b0e50d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 15:25:53 2014 +0100
onewire_link: Define annotation rows.
commit bb5ebde6dce29b53a814efe3a1b1c350196674d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 14:58:23 2014 +0100
dcf77: Fix incorrect startsample for "month" field.
commit 011ed1a3b28553b9932b5acbc74c6f19ab4c1eed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 1 14:46:52 2014 +0100
avr_isp: Fix a bug resulting in incorrect start samples.
commit 9f6df6fe1aa837d0506b1b9bef6ee75c951a8da2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 31 14:56:17 2014 +0100
dcf77: Define annotation rows.
commit 06b52ebb5fe7c09890dee02aa653578c2faf5a65
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 31 14:56:14 2014 +0100
spi: Define annotation rows.
commit 2ce20a91c05f32d6b99fda089736f980cb05aeff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 22:26:39 2014 +0100
uart: Define annotation rows.
Also, provide all the required annotation classes for this to work
properly.
commit 1ce468178f581b6270e1f2862ab585e8a38aa056
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 31 16:59:22 2014 +0100
Add support for annotation rows.
An annotation row is a list of annotation classes that should all be
displayed in the same "row" in GUIs.
For example, the UART decoder would have at least two rows (for decoded
RX and TX data/startbits/stopbits/paritybits), the SPI decoder would have
at least two rows (for decoded MISO and MOSI data), and so on.
Each annotation row has a short ID string (mostly for use in
command-line frontends), a description string (mostly for use by GUIs),
and a tuple/list of annotation class IDs belonging to this row.
If no annotation rows are provided by the decoder, frontends can
consider this as the "trivial" case of all annotation classes being
displayed on the same (only) row.
commit 3dd546c15fc973b3495f0d2557333e9ef31ca7dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 31 00:45:56 2014 +0100
uart: Allow either RX or TX to be optional.
commit 9bf7f71c8e29328bda5689d79b412cc0dde9fbe9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 31 00:13:32 2014 +0100
srd_inst_probe_set_all: Error out upon missing required probes.
commit c515eed7ef7a04a42b5b34abd308e08d6942835e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 22:37:29 2014 +0100
s/out_proto/out_python/.
The output type is now called OUTPUT_PYTHON, adapt all PDs to that.
commit 4467372a2e39bb72648eebbb96934147681110c2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 19:33:13 2014 +0100
Fix warnings exposed by -Wmissing-prototypes.
commit cb73763da5d004b3f780f4395ccf19a398da60a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 19:28:49 2014 +0100
configure.ac: Add -Wmissing-prototypes.
commit 4dc2a249c9691da9981c849270267a3dc1096700
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 19:19:23 2014 +0100
configure.ac: Only check for things we actually use.
Drop checks where we don't use the result (yet). We might bring back
some of those once we start actually using the result in the code.
commit 714f22fe69a79f517fb3b47567b390233987d246
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 19:17:40 2014 +0100
mx25lxx05d: Add probe test case.
commit 9eace5fb7ce1c9cc736fd7a133dc413536004dee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 17:54:16 2014 +0100
uart: Add trekstor_ebr30_a test case.
commit e0a0123d2f7f1039fe52f24591dff262b4f8935c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 15:26:06 2014 +0100
uart: Better fix for ASCII output.
This is a temporary thing, later there'll be some facility to let
frontends handle any annotations marked as "this is a number" (as opposed
to "this is a string") in a generic manner and display them in any
supported (by that frontend) format, e.g. ascii, hex, oct, decimal,
binary, big-endian vs. little-endian, and so on.
This is a fix related to #201.
commit 251d5c4f25ef1fae437c67b953221606a9109b77
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 29 18:34:10 2014 +0100
spi: Add mx25l1605d_probe test case.
commit e693716544080a057f0299f402d5d84a38c7e1f7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 29 18:25:08 2014 +0100
spi: Add atmega32_00 test case.
commit bcd14870c22d59f76566b0038d5884064ca7441e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 29 00:31:14 2014 +0100
spi: Rename 'sck' to the more common 'clk'.
commit 12549f1161748215072541ed9a9c8625da041131
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 27 14:38:47 2014 +0100
spi: Allow MISO or MOSI to be optional.
This fixes bug #175.
commit 8b9179378172206e4053b2773a5ba1f8a076a1c9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 27 15:50:15 2014 +0100
tests/pdtest: Fix -R (takes an argument).
commit c141101084198a7baecaae08509d8d2a03300c5c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 25 09:55:19 2014 +0100
spi: Drop temporary hack for combined MISO/MOSI out.
commit 4fd46107d35d7ed471e7ca0f4ad9823d1d88cc1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 27 15:09:08 2014 +0100
Fix out-of-tree build.
This fixes 'make install' and 'make dist' for out-of-tree builds.
commit 2de277b88e7e7ff49c5a2933da36cb28d3f79481
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 22 23:06:01 2014 +0100
tests/runtc.c: Minor whitespace fixes.
commit 00bebae3f43a6c0c577d31c7c0b58faeb002478b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 22 23:03:02 2014 +0100
tests/pdtest: Add missing license header.
commit cd8eb52870200196b12d6950eead62d46864cd00
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 22 23:01:52 2014 +0100
tests/pdtest: Fix shebang line.
commit 9f2f42c064e8a7100cee13460a7a3638f468f56a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 22 22:56:08 2014 +0100
All PDs: Consistent naming/case for annotation shortnames/IDs.
commit ef36224880135a05d2fbde8f048ea3fe3f425df9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 22 22:47:18 2014 +0100
All PDs: Drop unneeded comments.
The single comment re-stating the PD's name / description / purpose in
each pd.py file is not really needed, that info is available in the
Decoder class' attributes already.
commit 4c3b1846c9c307c1c35f86d259ddb968ed92718d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 22 22:43:21 2014 +0100
All PDs: Improve/fix descriptions.
commit 37e4c724efa64dd6061f7bb83f126b81da949771
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 20 21:52:15 2014 +0100
transitioncounter: Drop PD (obsolete).
This decoder was just a simple test case for early libsigrokdecode
development and testing, it is neither useful nor properly working
currently, so drop it.
commit 0bb7bcf316b528acbe0ef82f4c1e310e756074bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 20 17:43:01 2014 +0100
uart: Add binaryout/dump support, drop obsolete 'uart_dump' PD.
The functionality of the preliminary 'uart_dump' PD is now available
in the proper 'uart' PD, via the OUTPUT_BINARY mechanism that frontends
can use to dump decoded data (in various formats) to a file, or pipe it
into other applications, and so on.
Old sigrok-cli example usage:
$ sigrok-cli -i foo.sr -P uart:rx=0:tx=1,uart_dump:filename=bootlog.txt
New sigrok-cli example usage:
$ sigrok-cli -i foo.sr -P uart:rx=0:tx=1 -B uart=rxtx > bootlog.txt
New sigrok-cli example usage (piping into other applications):
$ sigrok-cli -i foo.sr -P uart:rx=0:tx=1 -B uart=rxtx | grep "whatever"
commit e54f222c4edf55a379e5b3ad892cf671ace83e48
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 18 19:15:41 2014 +0100
i2s: Add WAV dump support, drop obsolete 'i2s_dump' PD.
The functionality of the preliminary 'i2s_dump' PD is now available
in the proper 'i2s' PD, via the OUTPUT_BINARY mechanism that frontends
can use to dump decoded data (in various formats) to a file, or pipe it
into other applications, and so on.
Old sigrok-cli example usage:
$ sigrok-cli -i 2ch-16bit-16khz.sr \
-P i2s:sck=0:ws=1:sd=2,i2s_dump:filename=foo.wav
$ aplay foo.wav
New sigrok-cli example usage:
$ sigrok-cli -i 2ch-16bit-16khz.sr \
-P i2s:sck=0:ws=1:sd=2 -B i2s=wav > foo.wav
$ aplay foo.wav
New sigrok-cli example usage (piping into other applications):
$ sigrok-cli -i 2ch-16bit-16khz.sr \
-P i2s:sck=0:ws=1:sd=2 -B i2s=wav | aplay -
commit e8ce01860673214bae97a6b793a7f55e13128dba
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 17 17:56:26 2014 +0100
configure.ac: Drop obsolete MinGW Python3 workaround.
We just use dummy/fake python3.pc files on Windows so that the usual
pkg-config mechanism works there as well.
commit 91c78794d872dcac55f93ecbae1e28cec1ca6bf6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 17 17:56:08 2014 +0100
configure.ac: Check for all known Python3 pkg-config names.
Even when using pkg-config not all distro/platform specific issues are
transparent, unfortunately. On some systems the pkg-config file is
named "python3.pc" on others it's versioned, e.g. "python-3.2.pc".
See also: http://sigrok.org/wiki/Libsigrokdecode/Python
This should fix the build on e.g. FreeBSD, NetBSD, Mac OS X (some
versions), and possibly various Linux distros, e.g. Gentoo.
Also, drop manual AC_MSG_ERROR() and let PKG_CHECK_MODULES() output a
more verbose and standardized error message if Python 3 is not found.
commit 8eafa2613d2541e934a04874cd35cbc944c3168b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 13 23:26:36 2014 +0100
parallel: Make CLK probe optional.
When no CLK probe is supplied to this PD, handle any transition on
any of the supplied data probes as if there had been a CLK transition.
(based on a suggestion/patch by "bmx" from the #sigrok channel, thanks!)
commit 6af04d5a36a47b11dcf10bb629105600aa5a66eb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 3 17:41:24 2014 +0100
Link against libm to avoid Python related linking errors.
The python3-config script reported "-lm" as linker option previously,
but we switched to using pkg-config (among other things for
cross-compile support) which doesn't report "-lm" though (this is a
common behaviour across multiple distros and OSes).
commit 7d54fe300d9e3375f731abcd16d637e470ef3976
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Thu Jan 2 12:43:34 2014 +0100
configure.ac: Use pkg-config to check for python
Using python-config does not work when cross-compiling, since it
can only be run on the host system.
commit 0c0368d0fc4ba737716326b87e99d70397134d38
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 28 23:17:18 2013 +0100
jtag: Use proper annotation classes, fix GUI usage.
This closes bug #156.
commit 6b32f92828b18f510a5da1f729c3694bbe9b1f42
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 13 15:39:44 2013 +0200
jtag: Refactor and simplify some code.
commit 001974848a862a7eeab7efc81cc0b21aec56464d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 28 15:15:06 2013 +0100
Do some more I2C to I²C changes.
commit ea48f54366eec05c4675c29387e741ddeeb9d2f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 28 15:11:55 2013 +0100
i2s: Fix typo.
commit 31f1a29687604b8da5a4a3c46a72f82fc783947b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 09:17:02 2013 +0100
mxc6225xu: Replace I2C with I²C
commit 1db7e477b3a63a837e478dc12f7a8026dcca4ef1
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 09:16:13 2013 +0100
lm75: Replace I2C with I²C
commit f9c2aa723f5a5c0b7baca2dd5c8f9da92900fce6
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 09:03:48 2013 +0100
i2s_dump: Replace I2S with I²S
commit 270a59d81fd0d18e6dc8930829d61e0bf64f0e8d
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 09:02:34 2013 +0100
i2s: Replace I2S with I²S
commit bbe6d87fa91938bafc81c19cb1ef868d1c29bb2b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 09:01:02 2013 +0100
i2cfiler: Replaced I2C with I²C
commit 25ac80b22a198833caa515875ab61a1e15adca18
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 01:37:18 2013 +0100
i2cdemux: Replaced I2C with I²C
commit ab4aa33c4bd3f72707c718bb0448722a5c2c9912
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Dec 28 01:21:26 2013 +0100
i2c: Replaced I2C with I²C
commit 919ace16e7100fccd51fda16c6d40fc3ad9915e2
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 22 23:07:23 2013 +0100
runtc: Fix conditional build on non-Linux systems.
commit 83411834eec29f08443908b7d2a427e7fb130573
Author: Arkadiusz Miśkiewicz <arekm@maven.pl>
Date: Wed Dec 18 16:12:34 2013 +0100
Don't install runtc.
Don't install runtc. Not meant for generic usage.
Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
commit 97578cb1dfb0dcadf748b55dc4bcfa3ea2202c19
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 18 12:04:26 2013 +0100
runtc: Output binary as ASCII timestamp/class/hex bytes instead.
This allows for verifying timestamps and classes as well.
commit baeaa75dedad94558e40a888c2a56ecea2cdb702
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 15 15:55:35 2013 +0100
runtc: Make sure to compile against this library
It might compile against a previously-installed one unless the linker
finds it in the top directory first.
commit 0b2a10a37f61cc70260376d8b7c2c01ca63deaf7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 13 18:13:08 2013 +0100
i2c: Add Python tests.
commit b7e15e0e2c1fef3a938c84d79022098f8482920a
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 13 18:11:52 2013 +0100
pdtest/runtc: Add support for Python output types.
commit 3d14e7c9ac0155c0438b46dee267e3e16a6b8e3a
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 13 17:57:01 2013 +0100
Send SRD_OUTPUT_PYTHON to registered callbacks as well.
There's really only one use case for this: the testing framework. This
allows it to check what gets sent up the stack as well.
commit c8233c78da6acb23b74afe271c30355442fdaa5c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 13 11:52:38 2013 +0100
Prune dead code.
commit be6733ca41275b59a5e240ff104f2a16ad3828d3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 13 11:51:41 2013 +0100
i2c: Avoid obsolete method.
commit 5ece2a0623d22421300ea6844de569ae87a07d5e
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 13 11:29:59 2013 +0100
No need to mess with method reference counts.
commit e6449805fc8d56d0d8ff4003d123437e799b242f
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 12 13:30:36 2013 +0100
i2c: Add binary tests.
commit d7d693b51692aa7aae90f3ca8caf5a8e9c581ed9
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 12 13:29:37 2013 +0100
pdtest/runtc: Add support for binary output types.
commit 98457aa731ec0e7fe5a1be9f83181354253dc566
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 12 13:28:21 2013 +0100
pdtest: Add -f option to automatically fix failing tests.
commit 6b85745afe65ebd2722921bf23e91fa4573f4302
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 12 01:29:26 2013 +0100
runtc: Add support for binary output.
commit 5cb2cb0209d043b5b3293002ebf305efd59e05b9
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 12 00:57:04 2013 +0100
Use new binary class definition format.
commit 1f2275dd284326fb3ccda6b2bf17a495d5c2de75
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 12 00:56:12 2013 +0100
Binary classes are now defined as (name, description).
commit 62a2b15ce3fe6af6867c30cfc9c14c01d201a898
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 23:41:02 2013 +0100
Easier access to sequences of strings, not just lists.
commit 932606db3cdb14518dac55c67f4ecc8471fb6a33
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 21:53:17 2013 +0100
runtc: Return errorcode according to testcase result.
commit caa4b2cc0cdb34570e0fe8e5a6dad05a2988cc89
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 21:52:33 2013 +0100
pdtest: Use -dd to turn on SR/SRD debugging.
commit 554a49f9df0ee8c57d7fae64515cf57d622b0511
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 18:36:42 2013 +0100
check: Make sure to test this set of decoders, not the installed ones.
commit ea81b49a3ca4fff4994693d30045d51b86181e32
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 18:31:56 2013 +0100
Load decoders from all search paths, not just the default.
srd_decoder_load_all() was really only getting a list of decoders
from the default (installation) path, so could not find uninstalled
decoders, or those in a custom added search path.
This broke development of new PDs when using the SIGROKDECODE_DIR
environment variable, and broke many of the unit tests in the tests/
directory -- those actually tested against the already-installed
decoders, not the ones about to be installed.
commit 820bf44828745e7d0a7bb0974164acd899c3c113
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 16:30:25 2013 +0100
Clear decoder list after unloading, not just at exit.
commit b74823812d4106bfafc4a7fef1d4a141dac58519
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 12:50:38 2013 +0100
runtc: Make sure to test this set of decoders, not the installed ones.
commit 2c53ea9310728f451a7c69c49d376b727ff08ff3
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 12:49:30 2013 +0100
pdtest: Don't bother with diff if any error at all occurred.
commit c87dce4c93822df764cc380213e9a69eced7e6e9
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 12:48:50 2013 +0100
pdtest: Add option for custom sigrok-dumps repository path.
commit de556baee957a019ac5c16caf1305f5441adf30c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 12:39:50 2013 +0100
pdtest: Always sanity-check all testcases.
commit f8c88ebc5b33052de0b88690577af4611aa3709a
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 01:21:22 2013 +0100
Clean up runtc build.
This only compiles libsigrok into the one target that needs it, instead
of slopping it all over the place.
commit fbd226c3f70f20fdf3cbfd43a671bf2bcc5d23e6
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 10 17:17:38 2013 +0100
Add protocol decoder testing framework.
This adds a tool in the tests directory, called pdtest. It uses the
"test/" directory in every PD directory, if present, to run the
PD against dumps found in the sigrok-dumps repository, and compares
the output against ".output" files in the "test/" directory. The file
"test/test.conf" is used to configure which tests to run.
A separate tool (tests/runtc.c) is used to run the actual decoding and
report output.
To get an overview of the options, run tests/pdtest without any options.
commit 4d2c7619ec72728dd01999f20ef1004e018d18a4
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 10 02:38:44 2013 +0100
API clarification.
commit 7efd37c004833a4f1758bc99623850d89722636d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 10 01:05:59 2013 +0100
Fix 'dist' make target.
commit a6b52878af14944b52ed202478f038b1abcb0d07
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 9 11:44:27 2013 +0100
Avoid GError warning when unloading decoders.
commit a90eeee1f0af5213f8e88788d0d2d715fad1d4c6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 9 01:40:23 2013 +0100
Support DESTDIR on install targets.
Fixes bug 215.
commit b098b820b2942ed6e98546ed897ca81bdedee25c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 4 11:05:00 2013 +0100
parallel: start(): Drop obsoleted metadata parameter.
This fixes bug #202.
commit 8705ddc81b001d7f79ed94e9aa34b792cfdd4481
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 14:46:23 2013 +0100
uart: Display non-ASCII characters properly.
We use the [XX] notation for non-printable characters, which is what
various other logic analyzer software packages do too, e.g. the
CWAV USBee Suite.
This fixes bug #201.
commit 169f42726fcd44ca9a98c914b835ae6ff31295c3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 29 13:59:51 2013 +0100
Python 3.2 and portability fixes.
commit 3f5bd4ed85954564b0b6d9819328dbef04d1d3d5
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 27 17:50:23 2013 +0100
Clean up autoconf leftover configuration.
commit 9cb607f576448b29a65c9f8e955193146d6848c0
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 27 16:52:56 2013 +0100
edid: Make sure to install the vendor list.
commit 03d6d746b742fb21ca22086ba6b72943a845ecc9
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 27 16:47:04 2013 +0100
Automate protocol decoder installation.
This automatically figures out the files to install for each protocol
decoder, without involving autotools.
All python files (filenames ending in .py) are always installed. If a
protocol decoder requires installation of a non-python file, a small
file called 'config' can be created in that protocol decoder's
directory, with the following content:
# comments are ok
extra-install vendorlist.txt commands.txt
commit 37b94c205e4c1c43e77e29993108f23066cbce05
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 26 16:05:54 2013 +0100
Remove 64-probe limit.
Fixes bug 120.
commit d95f2888014f54fc650dc575c270cc2891580f4f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 19 21:14:03 2013 +0100
Add a missing #include.
This causes compiler errors in some setups otherwise, e.g.:
CC libsigrokdecode_la-session.lo
session.c: In function 'srd_session_metadata_set':
session.c:195:46: error: expected ')' before 'PRIu64'
srd_dbg("Setting session %d samplerate to %"PRIu64".",
^
session.c: In function 'srd_session_send':
session.c:242:15: error: expected ')' before 'PRIu64'
"number %" PRIu64 ", %" PRIu64 " bytes at 0x%p",
^
commit e630b755f6a3573b6bca87cd280048468204216f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 10:57:34 2013 +0100
Turn off excessive logging
commit eaad935fbaa3c301aded9c64dfe514cc4ca40968
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 10:55:02 2013 +0100
Remove unreasonable test
commit 092f1437d385585ebf12c6a060e753ba812d1700
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 10:49:04 2013 +0100
Fix inverted condition on doc check
commit aac68131f8ab9aa6dc1f1392a4f9a131a1c54d36
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 10:44:28 2013 +0100
Don't try to load an already-loaded module
Python silently uses the existing module anyway, but the library
was counting it as an extra module. This was exposed by a test
case in the test suite.
commit 22c9bc2a4e958fccf498f4480965ec03884bc058
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 09:41:14 2013 +0100
Don't decrease borrowed reference to probe definition dict
This fixes bug 177.
commit a8c765481ed4eff56701724f11564a02c8660c03
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 01:33:54 2013 +0100
Fix inverted condition on decoder check
commit e195c025c303e361d0cc5a207f9c9443fb8deced
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 01:21:16 2013 +0100
Check library initialization before handling decoders
commit 909fbf4181ab401a371265567505ffa1403f73d6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 01:14:02 2013 +0100
Clean up prototypes
commit ca27aa8f9d91d68bfd55fb17fea181a1ba6054a4
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 18 00:03:53 2013 +0100
Better error checking on session metadata
commit a3a2a26d2a93d1fe7a3bb2e8eb732509c8c905e6
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Nov 16 23:03:19 2013 +0100
Only instance-related functionality remains, rename source file
commit 190b71cfebc1dd000d3203c7300a10afd96c1201
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Nov 16 22:58:28 2013 +0100
Move initialization/shutdown into srd.c
commit fe9d91a88a8896ef04d12682720943b237c0a295
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Nov 16 23:14:50 2013 +0100
Move session-specific functionality into session.c
commit 2aa72348627817f068b6e1862727025a7cb5b662
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Nov 16 15:33:16 2013 +0100
Minor cleanup
commit 2b628af1e5f816b96683a5a140642a97fe0ef8e1
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 15 23:37:47 2013 +0100
Move versioning info out to separate header
commit a929afa618be52072786b51f1b9ea7be03edcd49
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 10 12:45:58 2013 +0100
Use OUTPUT_BINARY with four classes.
commit d75d8a7c40011cdc15be8330b5efbdf812c4fe27
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 10 12:42:11 2013 +0100
Implement OUTPUT_BINARY
This requires the PD to have a tuple in its class called 'binary',
which contains a list of strings describing the different binary
classes it can output. For the SPI decoder this might be 'MOSI' and
'MISO', for example.
The data is submitted to the frontend as struct srd_proto_data_binary,
which contains the class that data belongs to.
commit 0169f19c53e195df2f96c4df731ad3214c59e20a
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 21:56:21 2013 +0100
Drop obsolete report() method.
commit 0309c15a6990f57fbbb27d6a77957b1282163f06
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 21:55:09 2013 +0100
Drop outdated report: this should be handled by a frontend.
commit be465111b552c7c2a2262ac49758a30a8bf1b1d5
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 17:25:53 2013 +0100
Use the new Decoder.register() API
commit 8a3c879201df27615f30b7c6b3a4072526c0e378
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 14:55:09 2013 +0100
Emit meta bitrate
commit 8d2a96368a130d8c7d1b7877536cfcf48305f609
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 00:36:16 2013 +0100
Emit meta bitrate
commit 19ac1568f74920bd44e43671059cf9e1780e5aca
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 00:32:03 2013 +0100
Prune dead code
commit 7ee0c40b4ac605c68a8ec2008ef4ab61a1872475
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 14 00:19:28 2013 +0100
Implement OUTPUT_META
This replaces the Decoder.add() method with Decoder.register().
The first argument is still output type, but all arguments are now
optional:
Decoder.register(output_type,
id='someid',
meta=(object-type, 'Name', 'Description'))
'id' defaults to the protocol decoder instance id, and only needs changing
if a decoder chain needs to fork.
'object-type' refers to a Python object, such as int or str.
After registering, the PD submits data as usual with Decoder.put(), with
the only argument a value of the registered object-type.
commit 0b9224604aa166775a6693efba215a33ce594b70
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 7 22:38:47 2013 +0100
Split annotation-specific output to another struct
struct srd_proto_data was supposed to be independent of the output
type, but a field specific to annotations snuck in there.
commit 4f75f1c1dfdec362514884ac4335c080b48b3d78
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 7 15:02:10 2013 +0100
Minor code cleanup
commit f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 5 11:21:33 2013 +0100
Rename inter-PD output type to SRD_OUTPUT_PYTHON
This better reflects what it is: a python object generated and
processed by python code.
commit 98e0b79b9fd2abf076054abc5f25c184b436cb87
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 31 12:25:58 2013 +0100
unittests: Update to recent API changes.
srd_session_config_set() is now called srd_session_metadata_set(), and
SRD_CONF_NUM_PROBES and SRD_CONF_UNITSIZE are dropped.
commit 8915b34659332288aab38780d8f10d75c4c83e7f
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Oct 30 22:35:41 2013 +0100
The start() method no longer takes a metadata parameter
commit f372d597739a30e0106aebc8225c1edebf6d93e3
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Oct 30 22:25:45 2013 +0100
Receive samplerate via metadata(), not start()
commit ed41649709abc02362df526cbd725775000e8199
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Oct 30 16:30:05 2013 +0100
Pass metadata to PDs only at runtime, not at decoder start
The SRD_CONF_NUM_PROBES metadata key was removed. It wasn't actually
used for anything, since this is trivially available via the configured
(or default) probe list.
The SRD_CONF_UNITSIZE key was removed. The unit size is instead derived
from the probe list: the number of probes packed into the least amount
of space possible defines the unit size.
PD changes:
* The start() method no longer takes a 'metadata' parameter.
* Metadata now comes in only via the metadata() method, which takes
a key and value. The only key defined so far is SRD_CONF_SAMPLERATE,
which is exported into the module namespace.
API changes:
* srd_session_send() now takes an end_samplenum parameter, and had its
options rearranged.
* srd_session_config_set() is now srd_session_metadata_set(). This keeps
"config" options for a future feature to allow PDs or frontends to
configure each other's options on the fly, up and down the stack.
commit 69075817a626982179e5739bf0eee5e47b8a5f9e
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Oct 30 15:22:10 2013 +0100
Documentation and coding style fixes
commit 56c93143f54601280a119b64b1eea8dc4b591dcb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 23 19:59:50 2013 +0200
Add a 'guess_bitrate' protocol decoder.
This PD tries to guess / detect / estimate a bitrate of e.g. some
UART communication snippet or other protocols.
commit 3af0e3455d4263f79920afaf6aed44286ad37ba0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 23 19:23:40 2013 +0200
controller.c: Add checks for srd_inst_option_set().
This also fixes some unit tests that were previously failing.
commit 368b406efb2f4527d11b10dda8011f352288023e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 23 19:21:45 2013 +0200
testsuite: Add some decoder instance related tests.
commit a3b4f1684a8f5c4a3bb65de89c36108bf8565197
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 21 22:59:25 2013 +0200
parallel: Limit number of probes to 8 for now.
This will be increased again at some later point.
commit 74bb0af5daeef0d9abcf382b238e84376b1e006b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 20 23:09:46 2013 +0200
session: Add some more parameter checks, minor other fixes.
Some of these also fix unit tests that were previously failing.
commit 269b442df38c1cfe825fd397612f8f79aea5541d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 18 19:39:30 2013 +0200
testsuite: Add a few session related unit tests.
commit 25e1418afe855a77be29bca4350dc49220dd3143
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 19 21:36:49 2013 +0200
Add initial sync parallel bus decoder.
commit 8a01468302ed915f6efd6933836c27e60a019100
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 17 23:52:15 2013 +0200
Report invalid module name on decoder load
commit 9b9ff99983bba5f06093002e6cafd5bfd632b65d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 17 22:44:29 2013 +0200
testsuite: Add a few more unit tests.
commit 94bc9a839da836c802e77a6d7254945086a3be77
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 17 22:42:34 2013 +0200
Minor cosmetics, typos, Doxygen updates/fixes.
commit 119d62586036f4436de8e11824e388c3f0a882c4
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 17 16:27:54 2013 +0200
Avoid clobbering class variables when setting instance options
commit 308d9958c9b4ca8f7126d7e8c81be3b93749a2b1
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 17 16:26:58 2013 +0200
Don't release borrowed reference
commit bf525bd23ab8be68b6369c8f950aeeeacc677eb2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 17 02:05:09 2013 +0200
.gitignore: Add some missing entries.
commit 3ad11099f8d45c215d3b44e5588832b7679b887d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 17 01:48:08 2013 +0200
testsuite: Add some basic tests for loading PDs.
commit 7529cdaad9e9a52c93ed4d21c2fcccaf3313592c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 16 19:37:44 2013 +0200
Add a testsuite for libsigrokdecode.
This uses the Check unit testing framework, just like libsigrok.
For now, only a few very basic unit tests are included.
Invocation:
make check
commit 7fc7bde666b3c1234e3d9612caa0388381881059
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Oct 16 11:10:27 2013 +0200
Properly return error on exception in srd_inst_option_set()
commit 32cfb920625182c03eb4a4564ffdfa9d2b08f15c
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Sep 12 23:54:43 2013 +0200
Move all decoder instances and callbacks into a session struct
The struct srd_session also holds configuration parameters formerly
passed to srd_session_start().
The new call srd_session_new() takes a pointer where a newly allocated
pointer to struct srd_session will be stored. This pointer must be
passed as the first argument to all functions that require it.
The SRD_CONF_NUM_PROBES, SRD_CONF_UNITSIZE and SRD_CONF_SAMPLERATE
keys must be configured with srd_config_set() before srd_session_start()
is called.
A new call srd_session_destroy() is also available. This cleans up all
resources the session holds. This is also called from srd_exit() for
all sessions.
commit 1f2e00d140ac41a3a61888f67fc6f96c4369bea3
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Sep 11 12:35:17 2013 +0200
Code cleanup
commit 6fd278bac7d10e967e708171e2b3aa8b3382a2ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 13 18:32:52 2013 +0200
i2s_dump: Fix bug in the WAV output format generation.
commit f54ffe555c7be3cc674833953fd5d8aba1a88e17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 13 17:30:32 2013 +0200
Add new i2s_dump protocol decoder.
This stacks of top of the 'i2s' decoder and outputs the audio data to
file (or stdout) in various formats. Currently only WAV is supported.
This is work in progress, it has various hard-coded assumptions.
commit 7fb4935edde881272fabdeda83f554bcf150689f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 19:10:29 2013 +0200
tlc5620: Output short/long annotations.
This fixes (the remaining parts of) bug #168.
commit 5f4de613af7b95dd37c6df69efb1214c741fdd05
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 18:59:30 2013 +0200
tlc5620: Use annotation types.
This fixes parts of bug #168.
commit 63374ad88faa566e3fffbca0e31c501e68ec372b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 22:20:18 2013 +0200
lpc: Initial start-/end-sample support.
This fixes (parts of) bug #163.
commit f7aa0719c59029f5340ac30d11efd5679ca07475
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 20:02:39 2013 +0200
lpc: Use annotation types.
This fixes (parts of) bug #163.
commit 6554fbc9e135916909ea3cdb6b4d35e73b7daa07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 19:48:17 2013 +0200
lpc: Make the RESET# pin optional.
commit 59d3200cb1f7c64aabffcf3e69e66626d2fd83b7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 19:24:48 2013 +0200
lpc: Fix handling of optional probes.
commit edc6c8fd1ff5c603163e6b1e3d0f6cee3de8aa55
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 19:21:39 2013 +0200
lpc: Add annotation helper method.
This fixes (parts of) bug #163.
commit 9059125f3997a7ce77ef5081da5e8bc8160e6769
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 10 22:44:02 2013 +0200
usb_signalling: Drop packet handling.
The usb_signalling PD should not care about packets, only symbols and bits.
The new (fixed) usb_packet PD constructs packets out of individual bits now.
commit 0eb16a7bab83bf219004b768cb58d90a6c52e0d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 4 11:35:56 2013 +0200
usb_packet: Major rewrite, e.g. to prepare for GUI usage.
Restructure the PD into a state machine, output individual packet
components as separate annotations, define a protocol output format and
implement it (so that other PDs can stack on top of this one), and fix
various other isses in the PD.
commit a015bd4926d95a5cbb25843c02eca967097f4e7e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 2 19:29:54 2013 +0200
Rename usb_protocol to usb_packet.
There will be further PDs that are stacked on top of usb_packet.
commit a56b8fe1439410e88a4fa3888820f693f6f37aba
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 2 19:13:44 2013 +0200
usb_signalling: Document protocol output format.
Also, add missing output for some packet types.
commit 4e980c20fbb456ca339529762ea7173900521a3c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 00:34:41 2013 +0200
onewire_link: Provide short/long annotations.
commit 015dc33a9fe13c529bd84fcfdca39d3fa2f7c293
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 00:30:35 2013 +0200
onewire_link: Fix typos.
commit 6f50757335d1936558779fd8fe8100a8257e7a71
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 9 00:23:49 2013 +0200
onewire_link: Split "reset" and "presence" annotations.
This needs a few more fixes later, but it's a start.
commit 01520fa9a6e0fe3eb17dd107a408e6b7e726850a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 23:20:15 2013 +0200
onewire_link: Default the 'overdrive' option to 'no'.
commit 497f196ddfa2d0e2e7925d6d8b3dea3548cf1b52
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 23:06:39 2013 +0200
onewire_link: Use defaults for the PD options.
This also simplifies the PD code a bit.
commit 5484838563328e7d0533e6bdf5405829d24e7ca0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 17:56:01 2013 +0200
onewire_link: Drop PD info not useful for the user.
commit 938aa7fb36fc0f172dda3b2bc5c15b226a458295
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 17:49:55 2013 +0200
onewire_link: Use annotation types.
This fixes bug #147.
commit ddeb9b32167075938aa96af0f71acfa190a9c3e1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 17:46:59 2013 +0200
onewire_link: Add/use annotation helpers.
commit 750a808a37cca1b05e27ff10088c2780627295d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 00:41:28 2013 +0200
i2s: Add shorter and longer annotations for GUI use.
This fixes (the remaining parts of) bug #162.
commit 4adb11a93d77de94d3114624dce5464c2d25cd61
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 8 00:26:54 2013 +0200
i2s: Define/use common proto out format.
commit 2b2b7c300e6771ac6aa2982ced109ef3f02f3636
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 7 16:34:51 2013 +0200
i2s: Add helper methods for annotation/proto output.
commit 29fc362596c87eaa3dc684d1d23047772ad27354
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 7 16:32:11 2013 +0200
i2s: Use annotation types.
This fixes parts of bug #162.
commit 17f5df4f9eb701d6e8203d2953a7c48d3dd55537
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 18 21:31:47 2013 +0200
Add initial MIDI protocol decoder.
This supports a certain number of MIDI messages already, but not yet all
of them. More will be added later.
commit ab96960eded15c227208e49007a0b3f65c046aa3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 29 20:22:51 2013 +0200
usb_signalling: Fix packet annotation.
commit fdd5ee5e2ca54c287aecf8c31a3249d5f69fdd66
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 29 20:19:21 2013 +0200
usb_signalling: Fix EOP handling and annotation.
commit edad813467a4a248edaa1c91377d532b2e7f8786
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 29 20:05:13 2013 +0200
usb_signalling: Properly use different annotation types.
commit d1970f14488ad23f595994779831cd8897c39300
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 29 00:18:24 2013 +0200
usb_signalling: Fix decode of individual bits.
After a Start of Packet (SOP) has been detected, "sample" the individual
USB symbolѕ/bits in the middle of the respective bittime (depending on
whether full-speed or low-speed signalling is used).
This fixes various incorrectly decoded cases (bug #158).
commit 7dc75721f38ce781db1b8d512d626024acf35b59
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Sep 20 16:28:33 2013 +0200
usb_signalling: Simplify symbols handling a bit.
commit 5bb55598a1868113513f737b2714bcd6e48aa9b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Sep 20 16:22:33 2013 +0200
usb_signalling: Refactor/simplify bitrate/bitwidth handling.
commit 7d4b5fac7abd39749900a2990f8d0b1b81edd20d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 20:46:56 2013 +0200
usb_signalling: Fix start/end sample numbers.
This makes the decoder suitable for GUI usage.
This fixes bug #155.
commit 69ada057e0a8ed086d89d976b1c78e22bea26a77
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 20:07:03 2013 +0200
dcf77: Fix date parity check.
The parity check for certain DCF77 fields/bits was incorrect. It has to be
an even parity over bits 36-58. This is fixed now.
This fixes bug #157.
commit 99f5e74a415f94e1de50475bb26c82fe2dc7c893
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 18:12:45 2013 +0200
dcf77: Provide short and long annotations.
commit 3e9b87f7817506371149b0dba5848c2519285c1a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 16:50:15 2013 +0200
dcf77: Fix multi-bit DCF77 field annotations.
commit aa4cf4c629018a486dea560d639215c7beec2289
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 16:39:59 2013 +0200
dcf77: Consistency renames.
commit 54f1b2b7a7933d87151a8af5cab53bcd1e75fe4c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 16:33:32 2013 +0200
dcf77: Drop PON pin handling.
The PON pin is specific to the Pollin "DCF1 module", but has nothing to
do with DCF77 itself. Thus, drop it from this PD. It can be part of
another stacked PD if needed.
This fixes bug #153.
commit 8a18c4e7629ca748c3975116255a0374cfb0a9e7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 15 16:31:00 2013 +0200
dcf77: Use proper annotations for DCF77 components.
commit e3163b299981d708fcbd418c1c6dab8c4a0af559
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 14 23:20:48 2013 +0200
dcf77: Fix bug in handling of DCF77 bit 0.
commit 09bca51125c4f7916b9f35e49e4f83895abf01ed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 14 23:17:10 2013 +0200
dcf77: Fix start-/end-sample numbers.
This fixes bug #154.
commit a250a66dddc795295d7758f09d40463ddaf62eb8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 14 20:28:40 2013 +0200
i2c: Drop unneeded 'addressing' option.
This (unimplemented so far) option is not needed at all, since the
decoder will be able to detect 7/10 bit slave addresses automatically,
the user doesn't have to specify slave address sizes.
commit 9e95e4d85337965285d4814eb0c44837910b66f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 14 20:10:01 2013 +0200
i2c: Drop obsolete TODOs.
commit f1428c4cbd60be07322cc3129eaed716a269648b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 14 19:07:20 2013 +0200
i2c: Move OUTPUT_PROTO docs to pd.py.
commit 871b19d2c747c4baf2fcc3fbed6ca51e435a0e4a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 14 19:06:05 2013 +0200
i2c: Moved extensive protocol docs to the wiki.
commit d94ff143ef7725388299ef9bd3be7ebc60e0dd2e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Sep 13 19:08:34 2013 +0200
i2c: Various fixes to make the PD suitable for GUIs.
The output format of the slave address is now a PD option. It can be
"shifted" or "unshifted", i.e. bit 0 (which contains a read/write
marker) is either shifted out or not, i.e., the slave address is
displayed as 8bit or 7bit number (or 11bit/10bit number for 10bit slave
addresses).
Data bytes (not address bytes) are always shown as 8bit values, of course.
Add annotation types for the individual I2C components such as
start conditions, stop conditions, ACK/NACK, address read/writes,
data read/writes and so on.
This fixes bug #151.
commit 0702e0cf5a0577122c4008007151b6c3d798b0fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 21:22:09 2013 +0200
spi: Add some documentation, move OUTPUT_PROTO docs.
Add a short help text for the PD and move the OUTPUT_PROTO docs to pd.py
since they're not meant for the user too see.
commit efa641735217e5425f93e69cbaddf70d75c7e9e4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 21:19:55 2013 +0200
spi: Make CS# optional and use it if supplied.
The CS# pin is now optional, it can either be supplied to the PD or not.
If it _is_ supplied, reset the PD state every time it changes. This has
the effect that "incomplete" SPI frames and those where CS# is not
asserted are ignored and not decoded.
This fixes bug #152.
commit 191ec8c5b7b6bb6b348a2c43b851923181fd68d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 21:14:06 2013 +0200
spi: Refactor code, use a state machine.
commit 29f8bb7b787ff8bc2a2e55d3de0b53452e73c6af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 21:05:22 2013 +0200
spi: Provide multiple annotation types.
For now SPI gets the following annotation types:
- MISO/MOSI SPI data
- MISO SPI data
- MOSI SPI data
(i.e. you can see either MISO, or MOSI, or both; the latter is most
useful for CLI usage)
Also, show the hex values as e.g. F5 (upper-case letters, no "0x" prefix).
commit ec0afe27db7f6e2abdd2a712ca4bbc5c01debe67
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 20:57:04 2013 +0200
spi: Fix start-/end-sample numbers.
This now makes the SPI decoder suitable for use in GUIs.
This fixes bug #150.
commit 3eda7779a7db58d76f0512940da7f6d7e4339731
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 20:45:02 2013 +0200
spi: Make data format a PD option, add annotation types.
The data format can be specified via the PD's "format" option now, it is
no longer an annotation type.
Also, add and use two annotation types: "Data" and "Warnings".
commit 74c9bb3caa945409b3e8a68920f910e8363732fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 16:36:25 2013 +0200
can: Use proper annotation types for the CAN fields.
This allows GUIs to show different fields in different colors.
commit 6d6b32d6ca3610c07513137ee72e908e87e1c97b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 09:40:40 2013 +0200
uart: Output data in separate RX and TX annotation types.
There is one annotation type for the RX side of the communication/data
output now, and another one for the TX side.
This allows GUIs to show them in two different traces, and/or show them in
the same trace but with different colors.
This also has the additional benefit that it is clear which databyte
belongs to which direction. Previously the annotations had to look like
"RX: 5F" or "TX: 11001011", but the "RX: " and "TX: " prefixes are now
no longer required, making the GUI traces (and CLI output too) much more
readable.
commit 1f224555348ff440bdbd7014f66ac5ce44eb4d27
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 09:32:28 2013 +0200
uart: Use same length for data output in all cases.
Until now you could get e.g. "d" or "df" as hex output from the UART PD.
This will now be a common-length "0D" and "DF". When all data byte
annotations are of the same lengths the readability in GUI traces is a lot
better. Also, hardcode hex characters to be upper-case (for now).
The same applies to oct ("021" instead of "21") and bin output
("00001001" instead of "1001").
commit 3a1803b09807eafba04c5e9fb0110d1c0d9f0eaf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 09:17:12 2013 +0200
uart: Put annotations into proper annotation types.
There are now extra annotation types for data, start/stop/parity bits and
for warnings (e.g. "invalid parity" or "frame error" or such).
This allows users to select which of the annotation types they want to
see (they can select one/multiple/all annotations as needed), and also
allows them to use different visual representation for the different
annotation types in GUIs (e.g. different colors for the blobs, different
fonts, rectangle/round/elliptic blobs, and so on; how the annotation
blobs are displayed is entirely up to the GUI and its configuration by
the user).
commit 4cace3b8485ffd04ed5c07ee81be812c7284c37b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 09:07:53 2013 +0200
uart: Move OUTPUT_PROTO format description to pd.py.
This is information that a user (when viewing PD info in a GUI/CLI)
should not see (and doesn't care to see), it is meant for developers only.
Thus, make it a comment in pd.py instead.
commit 3091f4e048d5baab17863b49f34f7a5b5149d709
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 09:01:52 2013 +0200
uart: Drop extensive protocol info (moved to wiki).
Move the full details of the protocol to the wiki, the docs in the PD
itself should only be a short description and/or a collection of notes
that could be useful for a user in a GUI (or CLI) to decide which
PD to select, which options to set how, what PDs to stack where, and so on.
The full protocol description (including photos, examples, ...) is here:
http://sigrok.org/wiki/Protocol_decoder:Uart
commit 3006c663c9c2be8f476a0085d1d59319501b6303
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 08:31:59 2013 +0200
uart: Make data format selection a PD option.
Until now we (ab)used annotation types for outputting the same data
(numbers) in different formats (hex, ascii, binary, and so on).
Turn this into a proper PD option, since annotation types should rather be
used for different _types_ of annotations (e.g. "CRC", "Stop bit",
"Preamble", "Sequence counter", "Warnings", and similar things), not
different _formats_ for the same annotation type.
Old sigrok-cli invocation for hex output:
sigrok-cli ... -P uart:rx=0:tx=1 -A uart=hex
New:
sigrok-cli ... -P uart:rx=0:tx=1:format=hex
In GUIs there is now a new "Data format" option where the user can
select the output format for UART data (default is 'ascii').
commit 9f18eb6c7baad207a15c6efcfedf751838b8000e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 12 08:20:03 2013 +0200
uart: Use T for stop bit, P for parity bit.
The short(est) annotations for "Stop bit" and "Parity bit" have both
been "P" until now, which is confusing for users (on certain zoom levels
in GUIs). Use "T" for stop bits now instead.
commit 9300bc22bad033204d369884b0f548b1e2a9bc59
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 11 19:53:31 2013 +0200
uart: Don't prefix databyte output numbers.
Previously the output was 0x41 or 0o101 or 0b1000001, now it is 41 or
101 or 1000001. We drop these prefixes, since they decrease the readability
of the PD output (especially when displayed in GUIs) and are not needed
anyway since the user knowingly selected the number format before running
the respective PD.
commit 83be7b8384e0dc20b84de831e5922fb9c6d0762d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 11 19:20:15 2013 +0200
uart: Fix corner-case that can occur with LA triggers.
Assume that the initial pin state is 1/high for the RX and TX lines.
This fixes the decode when an LA triggers on e.g. TX=low (the first
sample would be low in that case, so the falling edge for the start bit
would be missed by the decoder).
commit 15ac66048e7dcd9c6a0ddbfc5cab2e56f95b3f56
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 11 19:15:51 2013 +0200
uart: Fix start-/end-sample numbers.
This now makes the UART decoder suitable for use in GUIs.
This fixes bug #148.
commit 534ae91250fed49eb22ad7400e8b6c520aadc461
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 10 09:33:11 2013 +0200
can: Use annotation abbreviations.
Supply long, middle, and short versions for most annotations, so that
GUIs can show nicely readable and useful annotations on various zoom
levels.
commit 4b1813b4bc93a0b456f884c8de9f71df4bde6a39
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 9 21:48:42 2013 +0200
can: Fix annotation start/end samples.
With this change pretty much all CAN annotations that are currently
output should have the correct values, including single-bit and
multi-bit fields, standard and extended CAN frames, and so on.
This fixes #146.
commit e20f455cbc52684d177a42153fa9be931077a338
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Sep 9 19:38:38 2013 +0200
can: Prepare for fixing annotation start/end samples.
commit 95097f3108033f69c19a315a7d042383b7295628
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 8 15:16:11 2013 +0200
i2c: Fix corner-case that can occur with LA triggers.
Until now the I2C PD was basically ignoring the very first sample, and
using that as the initial 'oldscl'/'oldsda' value.
However, if your logic analyzers trigger on, say, SDA=low that will
result in a file where the first sample is really important since it
is the one which the PD will need to know that there's a falling edge
on SDA.
Thus, assume both SCL and SDA are high/1 when the PD starts. This is
a good assumption since both pins have pullups on them in practice
and are thus high/1 when the bus is idle.
Later on we might want to have config options to let the PD assume
other states of SDA/SCL initially.
commit b055603b3ff59be1497b96a1a22da262b8753d75
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Sep 3 16:36:44 2013 +0100
i2s: Fixed annotation sample numbers
commit 84f33bc71163b4a233f51cf64912a5a8f65d7565
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 15 17:12:33 2013 +0200
pan1321: Improve commands documentation.
commit b1f2d25f16636caa9d6a8d0715c772040b3dc68c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 9 20:17:03 2013 +0200
pan1321: Initial JSDA support.
commit 2d3f496e293b85a1f702355bf7fd275ae2f31455
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 9 19:19:00 2013 +0200
pan1321: Add support for JAAC.
commit 72a6cad40c4df6e5e45216cd5f77d1b195168359
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 9 19:13:20 2013 +0200
pan1321: Properly check for \r\n, not just \n.
commit db9ebbc2143f4b744b273ed0d5bbfd4b02aa8db9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 9 19:11:08 2013 +0200
pan1321: Code simplifications.
commit 6bbd2a8afb1daa76bc14866c2c1a345b1cea5e44
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Aug 4 14:24:40 2013 +0200
pan1321: Add warnings for invalid protocol usage.
commit 5b2b0b0d88b19301e744e0a84df3bad91c5e28d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Aug 4 14:15:33 2013 +0200
pan1321: Support JSEC and JPRO.
commit 2994587f98f205bb8847554bd28483532b277f2c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 1 18:20:36 2013 +0200
Use frontend-registered callback with correct parameters
commit 845f0d4031780220451037e87885e1ff79670976
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 31 11:18:49 2013 +0200
xfp: Decoder for XFP I2C structures
commit 5ab72981db9f1573d52db87d218f024fec6c8723
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 31 11:17:02 2013 +0200
Ignore __pycache__ entries
commit 1cb844734958781fea47b7884db6e56d8a83c000
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 13 21:30:04 2013 +0200
lpc: Bugfix: Sample data at rising clock edges.
commit cded73ba6a9a2095d06e92912a7e6f6ccb22307e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 13 21:06:03 2013 +0200
lpc: Various fixes to make the PD actually work.
commit b88e336b86493ee3d893f563d1d847d901f8ce07
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 23 11:24:25 2013 +0200
Fix double free
commit ca3fc3c0c042ecf509f8218e417655c04c9b9831
Author: Bert Vermeulen <bert@biot.com>
Date: Wed May 8 22:25:37 2013 +0200
Fix double free
commit 3abc83b996547a69bad906ec748f30874aae4796
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 8 16:46:07 2013 +0200
Doxyfile: Set version to "unreleased development snapshot".
commit e592ac8917d17665119b3647b5eae27fa387d6de
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 5 17:20:13 2013 +0200
Fix various memory leaks
commit 47dfa77d472795e6b5ad2ec3f3588a9619aec70f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 23:51:35 2013 +0200
Use enums for error codes and loglevels as in libsigrok.
commit cdf156ba36def94a86453b017054470ee9ae7608
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 23:28:10 2013 +0200
Add srd_strerror() and srd_strerror_name().
commit 30b770d5375522bd014502b9348aff3ee36e830d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 23:09:53 2013 +0200
libsigrokdecode-internal.h: Cosmetics.
commit 3d0530ef2115b56d3750c3557a0d45bd3831b7c6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 21:37:54 2013 +0200
NEWS: Minor updates.
commit 4cc0d9fe8d4f0b8d7d92aab6d5d63bf143fbe264
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 21:21:30 2013 +0200
Doxygen: Various fixes.
commit c1f86f02a149f46609273e1bd5b42696d544727a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 14:49:21 2013 +0200
Main header is <libsigrokdecode/libsigrokdecode.h> now.
This matches the convention used in libsigrok. Potential other headers
might end up in libsigrokdecode/, but only libsigrokdecode.h is meant
to be #included by frontends directly.
commit 8c664ca2d7b4faffa7b3dbeb3b9e491976c24eee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 14:45:49 2013 +0200
Doxygen: Add @since markers to API functions.
Also, document the functions in version.c.
commit f11e9498c83d4b27ffc1029f6dbd7ef871953aca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 14:31:11 2013 +0200
HACKING: Document the @since Doxygen tag.
commit 0a7ae201ca82293fe3bb413cdddf7bcf9b0f42da
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 14:22:01 2013 +0200
Doxyfile: Set version number to 0.2.0.
commit 10b3851672d9047941079bca052751855f5ea5fa
Author: Bert Vermeulen <bert@biot.com>
Date: Fri May 3 11:20:06 2013 +0200
Update package version to new 0.2.0 release
commit 50bd5d259677faf87bb3408e111d0e833d7ba9b4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 22:27:20 2013 +0200
GPL headers: Use correct project name.
commit cab2b4eb7fc8ba1cbe3f48a662bd636facf965ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 15 12:21:04 2013 +0200
configure.ac: Show $build, $host, and lib versions.
commit 307fcf90e9e537e97c4621bb3ba8f276a0f5d548
Author: Peter Stuge <peter@stuge.se>
Date: Sat Apr 6 15:01:25 2013 +0200
configure.ac: Look for python-config-3.x besides python3.x-config.
commit 3e1a99c0f8c5e9ace4748ff818146a70b9549092
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 20 00:03:03 2013 +0100
README: Add "Copyright and license" section.
commit 2f395bff8f096ef738140913e2d01ff0a8c07002
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 19 01:47:53 2013 +0100
use GVariant for passing decoder options and probes
Decoder options are now exposed in struct srd_decoder, via a GSList
of the new struct srd_decoder_option. The 'def' field represents
the default value as set in the decoder, converted to GVariant. This
allows a library user to determine the type as well as default value.
commit 0ff2d191726ef2e5a30ce697c7c93e4b0b1605f3
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 19 01:01:25 2013 +0100
code cleanup
commit 47198f313a3c3e6431f5896fae3fb556f38746ed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:21:35 2013 +0100
configure.ac: Drop std-options, unneeded.
The automake 'std-options' option checks whether all installed tools
and scripts have a --help and --version CLI option. This check is not
needed for libsigrokdecode though, since it doesn't install any tools.
commit d5a4209da3f3dc35bb3f262818a46c19b524c711
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 12:53:49 2013 +0100
README: Refer to INSTALL and new Building wiki page.
commit 8b97d010eff4f87732c9a82e3f8c9e624295f4ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 12 15:12:09 2013 +0100
ds1307: Fix date/day-of-week printing.
commit 3bf689988fc1e8db9cb3997039b06f683c413fc1
Author: Matt Ranostay <mranostay@gmail.com>
Date: Mon Mar 11 08:03:20 2013 +0000
Add Dallas DS1307 RTC protocol decoder
Dallas DS1307 RTC protocol decoder that works stacked
with the I2C PD. Based on the rtc8564 protocol decoder.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 4895418c6800ecb128ed36af2a1bc46916c9be85
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 22:25:15 2013 +0100
Doxygen: Initial groups and topic short descriptions.
commit 54fdeeefffe31d32dddaf0f3d6a99dc7b3bc2448
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 22:10:57 2013 +0100
Doxygen: Add @file items for the relevant files.
These short descriptions are shown in the "Files" section of the
Doxygen output.
commit 57790bc8c558ccf2e57b3d973c043088232628c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 21:44:11 2013 +0100
Doxygen: Mark private functions/variables properly.
commit 31e615a50b34f67bdf5562ad887415b2ec8796c8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 21:43:46 2013 +0100
Doxygen: Document how to mark private stuff.
commit d7dae84b94b597458f1dce0c126e31d5697234e6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 21:32:31 2013 +0100
Doxygen: Add intro section and some docs.
commit 5d24bb216924e92c25202fc7f48dd0bcc5b88655
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 21:07:53 2013 +0100
Add contrib/sigrok-logo-notext.png.
This is used in the generated Doxygen HTML output.
commit c1507ca92d4161f7895993988f70f6549a9f7f7a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 21:03:08 2013 +0100
Doxyfile: Update to match the libsigrok file/settings.
This uses a template generated by Doyxgen 1.8.1.2 (like libsigrok
currently does) and adapts it to libsigrokdecode needs.
commit cf3a952add0bc2b7d6631c65e4ad667dc9ac8d65
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 12:19:22 2013 +0100
.gitignore: Add INSTALL (copied by automake).
commit 38ff5046e8344940601f2b9eb5d8dbfbef975c30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 12:18:29 2013 +0100
Bring back temporarily reverted changes.
commit de5a05f120d6d7f1e20265e9e264ac859c9c5020
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 30 01:16:35 2013 +0100
can: Temporary quickfix for a bug.
commit d71834acaacc7fd8af6e7293231ecd7cd2743ccf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 00:59:59 2013 +0100
Update package version to new 0.1.1 release.
commit 2b7c61d605a79206779d2ebb4336b9765f54881c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 00:50:14 2013 +0100
Update libtool version numbers for libsigrokdecode.
The last release of libsigrokdecode (package version number 0.1.0) had the
initial libtool version numbers (current:revision:age) of 0:0:0.
The upcoming release (0.1.1) is API-compatible with 0.1.0 and can be used
as drop-in replacement. Programs linked against 0.1.0 do not need to
be recompiled or relinked.
As per the libtool guidelines this release only increments the
libtool "revision" number. The new libtool version numbers
(current:revision:age) are thus 0:1:0.
See here for details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
commit a860b7cccbed7b52feeb6b37c81d5984ce37baa8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 00:39:53 2013 +0100
NEWS: Various updates.
commit 1c9ac10f4b2c6e83184fe29bd32e090fcac211e7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 21:46:42 2013 +0100
Minor autotools improvements.
- Don't use "foreign" option for automake. Without this automake will
perform some additional sanity checks e.g. on missing files. It will also
now add the usual INSTALL file which documents the configure options etc.
- Add AUTHORS file.
- Add 'check-news' automake option, which will abort 'make dist' if
the NEWS file doesn't list the current (to be released) package
version at the top (i.e., if we forget to update NEWS).
commit 322c6b2fb36aaa38967ca797acef0ebb1f3090e6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 21:26:45 2013 +0100
Temporarily revert API changes in preparation of release.
The upcoming libsigrokdecode release should not contain any API changes
so it is compatible with existing released frontends (sigrok-cli 0.3.1).
commit 6d333fd65c41f7bf6470d0b6ada88efee4777f59
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 21:23:25 2013 +0100
configure.ac: Drop AC_PROG_CXX.
We don't need a C++ compiler for libsigrokdecode, so don't check for one.
This would cause a build failure on all systems where there is a C compiler
but no C++ compiler installed.
commit 7560e16c17b9616e2ab6ae39a65c550b061889fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 16:38:46 2013 +0100
Lower glib-2.0 requirement to 2.24.0.
We don't use any of the recent glib features in libsigrokdecode, it
compiles fine with 2.24.x.
commit 96732f09031ba9434ff7542e5b88834ab16db611
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 7 23:11:22 2013 +0100
Makefile.am: Fix typo in 'ChangeLog' target.
commit d523eae6e0617e6ad5055738ea4864deacae4313
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 7 22:30:17 2013 +0100
Cosmetics, fix typos.
commit 90a31a01c5afe1a51dbe6b5e90a88e54adfe7d1c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 7 22:25:33 2013 +0100
NEWS: Add list of user-visible changes so far.
commit 9e1437a045ef0c7df7e847be148fac6b4c0bbb4b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 1 19:11:13 2013 +0100
Small cosmetic/consistency fixes in the PDs.
commit 42515b0f25613499167b66c1d8a659526fb46b8d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 1 13:04:16 2013 +0100
constify srd_decoder_list() output
commit c78eeef14ff4c23d021adf7c439ea173a651db7e
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 1 01:09:46 2013 +0100
srd_inst_new() options can be NULL
commit 2218c267081268865fc90ee607c4c6ced541bfed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 17:16:19 2012 +0100
Fix compiler warning.
commit 4bd77045bbad0aa6bdb8172d396a8cea7225c07e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 17:12:19 2012 +0100
configure.ac: Add missing -fvisibility=hidden to CFLAGS.
commit 6ff4cd08a0e6d29dd7587173defb8bf17c0d9b62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 17:03:20 2012 +0100
configure.ac: Fix CFLAGS settings.
Don't override/overwrite CFLAGS in configure.ac, but rather amend it
with (currently) "-Wall -Wextra".
This properly allows users/packagers to do things like:
./configure (this will default to using "-g -O2" additionally)
CFLAGS="-g -O2" ./configure (same as above)
CFLAGS="" ./configure (no additional flags)
CFLAGS="-g -O0" ./configure (disable optimization, e.g. for valgrind use)
etc. etc.
commit 702fa251997d8e6ac4f71837e1e89d3d537df42a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 28 19:06:17 2012 +0100
Add intial CAN protocol decoder.
commit 2b7e4c8b89d60394c186e73f55411d565d13abf6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 12 19:45:52 2012 +0100
configure.ac: Also check for python3.3-config.
commit f2e114dedd0456eee1858b1fc9d129b70b1d627a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 21 22:56:01 2012 +0100
mlx90614: "Kelvin", not "degrees Kelvin".
commit 0eeeb544e1ea3cef9669f98e7c0b19b8f73a9236
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 21 22:51:31 2012 +0100
Fix bugs in "Invalid state" printing/exceptions.
commit 24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 21 22:43:02 2012 +0100
All PDs: Name the files pd.py consistently.
The Python module name is determined by the directory name (e.g. dcf77),
the *.py file names in that directory don't matter and can be kept
consistent.
commit 23f999aa996e54cd73cb54d5e254d1445d65847d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 21 22:29:43 2012 +0100
configure.ac/Makefile.am: Alphabetical order.
commit 17db40087cb0b4ed76ee26cbc69458f598630fc6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 21 22:27:13 2012 +0100
tlc5620: Refactoring, add initial LOAD support.
commit 92d1aba34bbe661b388e874fda0a41f477d3e30d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 20 16:32:02 2012 +0100
Initial TI TLC5620 (8-bit quad DAC) protocol decoder.
commit 1859c4804d04b58ba15a316eb16035c6bbb611fe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 14:44:15 2012 +0200
Re-add HACKING file after repo split.
commit 55e5c4e10d5d3f18d7f42ea6415782461ff55123
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 13 15:49:09 2012 +0200
Small update for the pkg-config files and Windows.
On Windows, cmake-using projects seem to have problems with the
"-I/c/Python32/include" syntax we have in the libsigrokdecode .pc file.
However, "-Ic:/Python32/include" works fine. So we just add both to
support everything.
commit e0af499b4f5840190807636e536e1fb4956f71a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 11 00:38:38 2012 +0200
README: Update repo URL.
commit 6fe6b38cbc3075ebfe4527d07367f8a37c40418d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 11 00:34:27 2012 +0200
.gitignore: Add missing entries.
commit d3b034e68fe544f823d66ead4c1561a33c9f135d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 10 23:37:19 2012 +0200
README: Add status, update URL, small fixes.
commit b08272363131621c7571a02ac752e727e0ed54df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 31 11:34:46 2012 +0200
srd: uart: Fix regression.
Thanks Iztok Jeras <iztok.jeras@gmail.com> for the report.
commit 47ec18f56d174fbfc6cba9ff76c80518aa90cc46
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jul 31 23:48:13 2012 +0200
Add initial SD card (SPI mode) decoder.
This is work in progress, but it already works partially, and can be used
for actual decodes of some commands.
This PD stacks on top of the SPI protocol decoder.
commit f84d82c0aba0d249c085efa9532761941d0792b2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 28 18:14:21 2012 +0200
srd: lm75: s/degrees Kelvin/Kelvin/.
The temperature unit is nowadays called just "Kelvin", not
"degrees Kelvin" (even though this was not always the case).
commit 1fd698dcf076c62e53e089be50572efae6b68f15
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 28 17:39:38 2012 +0200
srd: avr_isp: Improve Chip Erase handling.
commit 77adad943111ab064f01838033dc9c94152f46c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 28 10:51:32 2012 +0200
srd: avr_isp: Factor out part numbers/names to part.py.
commit 3bd76451f01dface8df58828a2bbc242d3391db9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 26 18:55:02 2012 +0200
srd: Initial decoder for AVR ISP protocol.
commit 1fe967f266313f26f76f5b94800aad64dfdb3f5b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 21:58:20 2012 +0200
srd: onewire_link: Annotations shouldn't be ALLCAPS.
While states in the PD should be ALLCAPS per guidelines (for
consistency), the annotations that a PD outputs (and are shown in a
console via sigrok-cli or in a GUI) should be "normal" human-readable
text/formatting usually, i.e. not ALLCAPS.
commit 500560a16ed5ea35def72714d1e38a92dd74f5be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 21:31:04 2012 +0200
srd: maxim_ds28ea00: Factor out putx(), small fixes.
commit c07cbb92b129bef7a279169e1d7312811ee5e83f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 21:21:51 2012 +0200
srd: maxim_ds28ea00: Cosmetics, cleanups.
commit 0afa64aefc96649c74770dbcbbcfb5934d99fe18
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 21:04:20 2012 +0200
srd: maxim_ds28ea00: Fix to only handle DS28EA00.
commit 19dd61efcc1fe07c6a66f48f74b7926607f3a541
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 20:37:41 2012 +0200
srd: Rename onewire_transport to maxim_ds28ea00.
It doesn't make sense to have one "generic" onewire_transport PD, as
this layer is very much device-specific and such a generic PD would
have to contain an accumulation of all possible features and commands
and handling code of all existing (now and in the future) 1-Wire
devices, which is neither possible nor useful nor elegant.
There are (for example) 1-Wire thermometers, RTCs, EEPROMs,
special-purpose security chips with passwords/keys, battery monitoring
chips, and many many others. They all have a different set of features,
commands and command codes, RAM areas/sizes/partitioning/contents,
protocols, and so on.
Thus, the layering for 1-Wire PD stacks should look like this:
onewire_link -> onewire_network -> <specificdevice>
Examples:
onewire_link -> onewire_network -> maxim_ds28ea00 (special thermometer)
onewire_link -> onewire_network -> maxim_ds2431 (1kbit EEPROM)
onewire_link -> onewire_network -> maxim_ds2417 (RTC)
onewire_link -> onewire_network -> maxim_ds2762 (battery monitor)
onewire_link -> onewire_network -> maxim_ds1961s (SHA-1 eCash iButton)
and so on...
So, renaming onewire_transport to maxim_ds28ea00. The non-DS28EA00
specific code will be dropped and/or moved to other PDs on top of
onewire_network later.
commit 5d7c5bcca4f770280cd4b58a8ea383fe97cf4a32
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 20:36:07 2012 +0200
srd: onewire_network: Fix typo, command is 0x69.
The 'Overdrive match ROM' command is 0x69, not 0x6d. Verified in various
datasheets and the original 1-Wire/iButton spec.
commit 3f302d519e813af30a796a16f84e688550827ae0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jul 21 19:16:16 2012 +0200
srd: onewire_link/network: Fix annotations, small cleanups.
The annotation types are 'Text' and 'Warnings', not 'Link' etc. as the
annotations of the onewire_link PD (for example) are already clearly
from the link layer. The annotation types should be different things/formats
of a specific PD's annotation output instead (like "Celsius" / "Kelvin"
for some temperature sensor, for example).
commit 48b5974694d0a587f3d7bc9c58a2cc5bf917f644
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 19 21:40:40 2012 +0200
srd: onewire_link/network: Reduce nesting level.
Also, some additional cleanups.
commit 6188e4e41ef0d9468a1b9f9bad5637ca862d73df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 19 21:26:50 2012 +0200
srd: onewire_network: Cosmetics, simplifications, doc fixes.
commit e7720d6c73eb981e57753c9028fa3e9019676c50
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 18 22:16:19 2012 +0200
srd: onewire_link: Cosmetics, simplifications, doc fixes.
commit 4dfff747ed380c8cda9410b5a7d3d97c59a64a9a
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue Jul 17 21:50:08 2012 +0200
onewire: fixed an issue caused by renaming a transport layer command
commit 758d2ea98ad32adca6d1b76b982ec101ad363ac7
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue Jul 17 21:42:53 2012 +0200
onewire: added new transport layer commands
commit 4633e258a4885a455a82c32548f7bb4d4b293e2e
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue Jul 17 19:33:44 2012 +0200
onewire: updated documentation
commit a81787f62362e7ab8471c4c01baa6a806d624d58
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sun Jul 15 17:46:20 2012 +0200
onewire: added transport layer decoder, it does not do much for now
commit 671cc3009b967bd105757d0a0c267a68f18c58b9
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Fri Jul 13 23:55:44 2012 +0200
onewire: updates to link layer timing
commit e540618c9d8d04ebb2e639ad1e650d689c89a818
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Fri Jul 13 22:59:12 2012 +0200
onewire: combined reset and presence detect events, avoid unneeded overdrive exit message
commit 99f5f3b5ac31347795582872a5d92f3d9430c21d
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue Jul 10 23:14:35 2012 +0200
onewire: the split of the protocol into layers works now
commit 9cfb16e8532e34b40edf1d980c7438afb31668e0
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue Jul 10 22:06:58 2012 +0200
onewire: placing protocol layers into separate directories
commit d37961b0c723abba3d70c9ef1a94f78bf4245f7d
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Mon Jul 9 23:29:34 2012 +0200
onewire: preparations for protocol separation between link and network layers
commit bcf36fc8681c2184b81601449c5fde25251e45cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 11 22:27:07 2012 +0200
srd: Drop 'usb' PD, replaced by two others.
The new 'usb_signalling' and the 'usb_protocol' PD which stacks on top
of it, replace the old 'usb' decoder.
commit 2fcd7c22852436c3226de9007e88cb305cce1b00
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 11 22:19:31 2012 +0200
srd: Performance improvements for various PDs.
Ignore/skip identical samples in most (low-level) PDs, as we're usually
(but not necessarily always) only interested in pin changes.
This yields a significant performance improvement for the PDs.
The mechanism was already used in the 'i2s', 'jtag', and 'lpc' PDs, but not
yet in all supported low-level decoders. The following PDs now also use
this mechanism: 'dcf77', 'i2c', 'spi', 'uart', and 'usb_signalling'.
Thanks Lars-Peter Clausen <lars@metafoo.de> for bringing this to our
attention.
commit b5d3ea69628d49ab5b26e064559f7a237b46c086
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 4 22:03:34 2012 +0200
srd: lm75: Output min/max/avg temperature in report().
This is just a preparation for later, the report() is not hooked up
anywhere, yet.
commit 86aac5f0a866f7a5bf5280ea44a291549554d661
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 4 19:52:29 2012 +0200
srd: lm75: Warn about temperature reg. being read-only.
commit 5b30440e7eea86e4d7e5ebc40aa738faf4899970
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 4 19:35:59 2012 +0200
srd: lm75: Generic handling of register reads/writes.
commit ffcfb70e83f3f001bf4751b5920db96d40b23c4f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 4 01:58:46 2012 +0200
srd: onewire: Fix copyright line, and PD name/description.
commit f4d0363dc492cebc3bc37adfbffaff6fafd55ff4
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Mon Jul 2 23:54:52 2012 +0200
some white space changes, changed handling of normal/overdrive timing, annotations now show duration
commit a2b13347895840f5e79238f504e0b6e322c133a1
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sun Jul 1 18:35:43 2012 +0200
added some ducumentation, shortened the ROM command decoder code
commit c08aea7e835a60f86e65c3b05bc8edff763c87a9
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sat Jun 30 22:09:47 2012 +0200
added some untested overdrive functionality, added some comments, modified timing values in annotations
commit 41e5c645a828eec6d1df30cc1e5840027cf787b2
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Thu Jun 28 23:07:16 2012 +0200
commented out most of the TRANSPORT layer code, added some code for an improved timing calculation
commit 13329e2d81e17bd3aa1b48a5197f892f825abd2d
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue Jun 26 00:42:03 2012 +0200
decoder onewire: added conditional network commands, some fixex to the transport layer
commit af5ec813b0bc118e28c04d6b61e110a2117002a8
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Mon Jun 25 22:03:37 2012 +0200
decoder onewire: separated transport layer code from network layer
commit 0bd62eb1ffc0b1611f88c2cbf8e59b4be183113b
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Mon Jun 25 21:27:02 2012 +0200
decoder onewire: some annotation cleanup
commit de2f532821bab1bef235ee65b38b0f4427bb9d5c
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sat Jun 23 22:06:47 2012 +0200
onewire decoder: removed some debug code, preparations for the next protocol layer
commit d2b6e141c5c6707897b19cfd7ccf4f3ffd21d501
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sat Jun 23 21:29:03 2012 +0200
onewire decoder: added search support
commit cf0f9df0a3a37f996a89d33098086cbaa3c27a5d
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sat Jun 23 18:06:09 2012 +0200
onewire decoder: added some byte related code
commit af6237856ef92e64f7eb0f7d150ee1e3785026cc
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Sat Jun 2 20:06:45 2012 +0200
some fixex to the link layer, not final
commit 0631e33dc11b621914af0e76a1864567557ebdc4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 4 01:19:35 2012 +0200
unfinished update to onewire protocol decoder
commit 48eee789a15ebd4c26d469a29dd79e7971f031fe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 28 21:43:12 2012 +0200
srd: i2cfilter: Output actual I2C packets.
Change this PD from an I2C->databytes converter/filter to an actual
pure I2C filter in the sense that both input and output is a valid I2C
protocol stream.
Also, change the EDID decoder accordingly, to use the new i2cfilter
output.
commit 44f7ba18ee64fc89d0f69619076ff28a8bc6b31a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 27 20:02:25 2012 +0200
srd: Add National LM75 protocol decoder.
This shall support the original National LM75 I2C-based temperature sensor,
as well as various compatible devices of other vendors, such as the
Fairchild FM75, Dallas DS75, and so on.
Currently only 9bit resolution is supported, and not all commands are
decoded, yet. The register contents and temperatures are decoded
correctly though, and can be output in both Celsius and Kelvin.
commit 387b6e3bb4340e20c978a8c47037d0bea9cca3c0
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 23 01:17:36 2012 +0200
sr/srd/cli: require glib version >= 2.28
Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.
commit 2dc6d41c64a8235308e61b4f9b509c7fecb2b502
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 19 17:29:18 2012 +0200
srd: Split USB decoder in two PDs (which stack).
The 'usb_signalling' decoder just decodes symbols from D+/D- levels,
handles bit stuffing and outputs the symbols and (potential) packets.
The 'usb_protocol' decoder takes that output and tried to parse USB
packets from it (SOF, SETUP, IN, OUT, DATA0, and so on).
This is the base decoder on top of which various others will stack
later on.
The two new PDs are work in progress, so we still keep the old 'usb' PD
around for a little while, until the two new ones are fully working and
well-tested.
commit 3cf771a5179d94a156bef1aa95d7e05411dc82e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 15 15:21:06 2012 +0200
srd: usb: Add long description of the PIDs.
Also, add missing ones which are mentioned in the USB spec. However, not
all may be relevant for LS/FS signalling. But they're still useful to
have in the table, so we can output warnings like
"Warning: HS PID encountered, but device is FS???"
commit c2937021535a0ef11f2905e47447da3b589c65e3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 14 22:46:52 2012 +0200
srd: usb: Preliminary USB low-speed support.
Some of the differences of USB low-speed (compared to full-speed) are:
- 1.5Mb/s datarate, not 12MBit/s.
- The J and K states are swapped/inverted.
Note: This is work in progress, further changes may still be needed.
Add a 'signalling' option, which allows the user to select whether the
PD should decode using the low-speed or full-speed signalling protocol.
If unspecified, the default is full-speed.
commit 274e98d684d342ec307cce05ed878c21c3161ef4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 14 02:06:36 2012 +0200
srd: uart_dump: Small simplification.
commit c1c1d34feecda97ab42fb7c3b9f7cb8a6fed190e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 14 02:02:42 2012 +0200
srd: uart_dump: Fix file output (flush).
We need to flush the file output buffer(s), lacking a stop() call in
PDs at the moment, which could do the flush (or file close()) only once
at the end of the PD "session".
commit a0153e903ba04cf9e6eb8c8a501508f4606efa6b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 14 01:14:10 2012 +0200
srd: Add experimental uart_dump decoder.
This PD stacks on top of the UART protocol decoder, and ouputs the
decoded UART data in the "canonical" format, one byte after the other
without any metadata (start bits, stop bits, parity bits, errors) and
without any sample-numbers and such. This is basically what you would
see in a terminal program, such as minicom.
Per default it outputs to stdout, but using the 'filename' option
and/or the 'filename_rx'/'filename_tx' options it can also output to
files.
Using the 'tx' and 'rx' options you can also select whether both, or
only one of the data direction's data should be output.
Example:
sigrok-cli -i foo.sr \
-a uart:rx=0:tx=1,uart_dump:rx=no:tx=yes:filename=foo.txt \
-s uart,uart_dump
This PD is just an experiment for now, it's possible that it will be
replaced / reimplemented via a different sigrok facility later on.
commit e1f5df5bd1d4847f1ebfade8d71161f8a5ede862
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 13 19:34:11 2012 +0200
srd: pan1321: Add 'Text' (short) annotation format.
Rename the old 'Text' format to 'Text (verbose)'.
commit f9b0356bb8e5eeeb406c8be998f0746548a1e2dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 13 19:26:02 2012 +0200
srd: pan1321: Output correct start/end sample values.
commit 140149cb9803789402328b01a378d43d59c5d8a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 13 19:09:05 2012 +0200
srd: Fix non-working PAN1321 decoder.
commit 71077f34ffbd7d4015886a229edb2f2f827cb442
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 12 20:38:08 2012 +0200
srd: Cosmetics.
commit 74244cdae2309d444034fc7647171afab9dddf75
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jun 9 18:34:24 2012 +0200
srd: jtag: Document current (WIP) protocol output format.
commit b189c8b1d918b975300d77dd0569665cce5d5843
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jun 9 17:57:30 2012 +0200
srd: usb: Fix bugs in the USB decoder.
The samplenum/scount handling was broken recently (mea culpa), and the
DP/DM probes were swapped.
commit fcd8c14d65034400bdd70aff28bda185f84d9196
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 8 21:39:09 2012 +0200
srd: dcf77: Initial PON handling.
commit abbc128575797da7b56b08940174229ce8fa8a9b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 8 21:06:59 2012 +0200
srd: dcf77: Bugfix, PD was broken.
commit 173c919ca0788371935ae5aa6fee1f692087337d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 8 19:44:44 2012 +0200
srd: mx25lxx05d: 'Verbose decode' & 'Warnings' annotations.
commit b54936a95bb42d6763dd392267c5808677f1c4d0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 8 16:14:31 2012 +0200
srd: mx25lxx05d: Add empty handlers for TODO cmds.
commit 781ef9450d82a9c7381aef17fb4974a1e49ec2d2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 8 16:07:02 2012 +0200
srd: mx25lxx05d: Further fixes/simplifications.
Also handle (not yet implemented) special-case command names such as
'RDP/RES' and 'FAST/READ' correctly.
commit 4772a846dca34cedcfe99ffc09b4c24710e44b2c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 8 14:58:47 2012 +0200
srd: mx25lxx05d: Simplify/generify cmd handling.
commit 69ff19c84c5a6836702803cac4d1aa27e083d716
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 01:15:55 2012 +0200
srd: mlx90614: Small bugfix.
commit 365eeed279c3a2089dde413cdbb2a19a7726edb3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 01:03:54 2012 +0200
srd: nunchuk: Enable PD now, it works fine.
commit b7ddc77bab6a47595940c0b4a169b0fa1727be9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 28 14:57:51 2012 +0200
srd: nunchuk: Support for the Nunchuk init sequence.
commit d628cdb521159d600cb19a3cd04eec28e07d9220
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 28 14:17:55 2012 +0200
srd: nunchuk: Add verbose summary annotation.
commit 11860e5a81b1bf5e02b0a4f698b41cac5ede7a3e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 27 16:22:59 2012 +0200
srd: nunchuk: Only output summary annotation if possible.
commit 739f1b7310b5b6926dfd8e9991bcb2fe057eca5d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 27 16:15:06 2012 +0200
srd: nunchuk: Fix most annotation samplenumbers.
Also, add a self.putx() helper method, as most annotations we have right
now are exactly one I2C packet long (there will also be others later, though).
commit 5ea8b024da82871d4054356f8a645c8d61bbcd47
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 27 16:05:34 2012 +0200
srd: Wii Nunchuk: Complete rewrite, PD works now.
The Nintendo Wii Nunchuk protocol decoder, while it was in the repo for
a while, didn't really work yet (among other things, due to lack of
dumps for testing the code).
This is fixed now, the rewritten decoder works fine with most dump
files in the sigrok-dumps repo. A few minor issues remain to be
added/fixed, though.
commit b7a7e6f5f4aa08ca340bbc316ac391b3a0d423ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 01:04:48 2012 +0200
srd: Cosmetics.
commit bf20c75821129600da8ccd3ff5fe33d8f31812b4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 01:04:29 2012 +0200
srd: Disable 'onewire' PD for now, until it's working.
commit a07128cc4b6c4cbdcc0c46263abe76d0e08e0882
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 29 20:30:15 2012 +0200
sr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.
If the (generated) ChangeLog file is marked for DISTCLEANFILES, it'll be
removed whenever "make distclean" is called (and is then gone forever if
you use the tarballs, for example).
commit 1227e5854dcf4f6b5cd2f9792f66ea994c3a7bad
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 23 01:12:11 2012 +0200
srd: onewire: Fix incorrect format for annotation output.
Should be a list containing:
- Annotation format number (e.g. 0, or ANN_DEC, etc).
- A list of strings (the annotation). If more than one string is
supplied, the other ones should be short versions of the string.
Example: [ANN_DEC, ["Foobarbaz", "Foo", "F"]]
This is optional, and mostly useful for GUIs.
commit 080243a8224c8453c4993ad22f5bdc63e1dba2de
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 23 01:09:49 2012 +0200
srd: onewire: Fix %d and %s mismatch.
commit 4a583ba42431fa2031a6bf39b249e4902973833d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 23 01:01:03 2012 +0200
srd: onewire: Get optional 'pwr' probe value, too.
commit 0b8ea2bffbc907048c9a5ed5b563abc29f936f5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 23 00:59:50 2012 +0200
srd: onewire: Drop UART leftover comments.
commit 4fe36ec3f9bf5729de3e73a6edcb38e78652c961
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue May 22 22:27:25 2012 +0200
removed some code copied from UART decoder, fixed some Python syntax issues
commit 39a0219a1ec59f1d49ef96c4f99121a071e6dfb8
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Wed May 16 22:01:32 2012 +0200
unfinished update to onewire protocol decoder
commit 51990c45a1cdcf023f3bbe75a5003c87f8ac902b
Author: Iztok Jeras <iztok.jeras@gmail.com>
Date: Tue May 15 23:15:26 2012 +0200
commiting new unfinished 1-wire decoder
commit cd287c56af4e005e36faa26a88f6ef6dcbb2c902
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 18 21:42:29 2012 +0200
srd: MX25Lxx05D: Fix inverted SRWD bit handling.
commit 7cfbf663d2acd5c1d289e1eb6f4aafbf76dc169d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 18 19:58:58 2012 +0200
srd: MX25Lxx05D: Decode status register bits.
commit 87e574b787fc96a34fe7ea2fd20a4de06cde8c08
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 18 15:28:52 2012 +0200
srd: MX25Lxx05D: Fix SE command.
commit 5ebb76fecc4ed07dd68a38dc55f3ba4ff34e7d70
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 18 15:05:03 2012 +0200
srd: MX25Lxx05D: Implement READ command.
commit e4022299ba10e4ce4133da48932da695af4b9c99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 16 23:06:21 2012 +0200
srd: MX25Lxx05D: Implement RDSR and PP commands.
Also, some small fixes and additional debug code/output.
commit 3e3c03309ee21d839f85e981d361ca77b08d5ba0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 16 22:48:47 2012 +0200
srd: spi: Document output protocol, send CS# changes.
As per guidelines in HACKING, the protocol "commands"/items should be ALLCAPS,
thus change 'data' to 'DATA'. Also, fix MX25Lxx05D protocol decoder
accordingly, currently the only one we have which stacks on top of SPI.
Add a new 'CS-CHANGE' output protocol item, which is sent upon every
change of the CS# pin value (either 0->1, or vice versa). This is needed
by various higher-level PDs.
commit bdd820e3c0c2681b171fc7cc0198244f40a64b34
Author: Pekka Nikander <pekka.nikander@senseg.com>
Date: Fri May 11 19:23:21 2012 +0300
sr/srd/cli: Fix compiling with Homebrew.
Add ACLOCAL_DIR setting and AM_PROG_AR macro for compiling with Homebrew
under Mac OS X.
Applies essentially the same change to
{libsigrok,libsigrokdecode,sigrok-cli}/{autogen.sh,configure.ac}
It may be that the same fix is needed for the other autogen.sh and/or
configure.ac files, but that hasn't been tested and therefore not in
this commit.
commit 1cc590f73673ce209ae41d6aa42ffa9a60649415
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 10 09:38:54 2012 +0200
srd: JTAG: Enavble and get/use optional probes.
commit dd93276bf6b7537b65cab270f66666bf23fbc585
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 10 09:34:13 2012 +0200
srd: Support for one or more optional probes.
In the protocol decoder you always get all required probes, then _all_
optional probes in the list of probes in the decode() call.
Example:
(r1, r2, r3, o1, o2, o3, o4) = pins
In this case r1-r3 are required probes, o1-o4 are optional probes.
However, the value of valid/used/specified probes will be 0 or 1,
whereas the value of probes that were not specified/assigned by the user
will be (at the moment) 42.
The PD can check for a valid probe like this:
if p in (0, 1):
...
Or check for an invalid probe:
if (p > 1):
...
The value of 42 could change to be -1 or None later.
commit 29590b14fc508a0b951ea0b87e98f7741808bab0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 9 01:06:01 2012 +0200
srd: Fix a few Doxygen errors.
commit a465436e627578f69c403de75a89522dfd883217
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 9 00:35:30 2012 +0200
srd: Add usable one-liner descriptions for all PDs.
commit ee3e279c7558b388410d16cbce9db6c80e9c0c67
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 8 23:53:48 2012 +0200
srd: Remove TODOs from annotation format names.
Also, fix minor consistency issues, cosmetics, typos.
commit d274e1bfc2cd0795c62ce304fa01320af16ca396
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 5 19:51:30 2012 +0200
srd: JTAG/SMT32: Some more improvements.
Add APB-AP register offsets/names, refactor and fix some code, handle
in/out APACC/DPACC better.
commit 32fd715cb7918dd13af14dcfd0a10e909cfac306
Author: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date: Fri May 4 10:18:22 2012 +0200
Fix bracket placing
Make it consistent with the rest of the code
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
commit c840e704fae9345c2a572a7efe4af8d5150c1a2d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 3 21:22:03 2012 +0200
srd: JTAG/STM32: Factor out dpacc_data_in/out.
Also, add a few code comments.
commit 457acc283457b248a0e669022a7d48103885bb03
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 3 19:19:01 2012 +0200
srd: JTAG/STM32: Decode IDCODE[31:0] parts.
commit 8189738ed4ab7947a7b4a867bcde100cd84f44a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 3 01:39:30 2012 +0200
srd: JTAG: Also show the bitstrings in hex (for now).
commit e9656a0c6b99528656df8d18cd84643eb9491d63
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 3 01:39:16 2012 +0200
srd: JTAG/STM32: Various improvements, fixes.
Add APACC register handling, fix DPACC handling (esp. 'A' register size),
ouput a warning upon reserved DAPABORT bits being non-zero, implement
preliminary state machine, add various TODOs.
This is still work in progress, not yet finished or working properly.
commit 66a8517ecfea370741c5789d664c9a965b5c0bc2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 28 19:24:57 2012 +0200
srd: Add initial JTAG/STM32 protocol decoder.
(not yet finished)
This protocol decoder can decode ST STM32 specific JTAG accesses, knows
about the STM32-specific registers and bits.
commit 6e7a0087c5b3db987f5798d821f9e98848b650a6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 29 00:46:02 2012 +0200
srd: JTAG: Add some more docs.
commit 6d990fe1dbf441eb9f090898e7c3a57889b26aef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 29 00:35:52 2012 +0200
srd: JTAG: The TRST# (and SRST#) signals are optional.
Don't handle them for now, will do this later.
commit e5edf39f10053515fb044314adf83820ad118c57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 28 19:24:14 2012 +0200
srd: jtag: Various bugfixes.
Most importantly, both TDI and TDO are sampled at the rising TCK edge,
and only upon transitions from SHIFT-DR to SHIFT-DR and SHIFT-IR to SHIFT-IR
are we to save the TDI/TDO values (if I understood this correcly).
Also, start out in RUN-TEST/IDLE state for now. This is useful if you
have JTAG dumps which start "in the middle" somewhere, not in the
TEST-LOGIC-RESET state. For full dumps, the JTAG software usually issues
five TMS=1 cycles to force the JTAG state machine into TEST-LOGIC-RESET
anyway, so this works fine too.
commit 557a143d8018ac5b25b0cdde99415433e3663f62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 26 22:51:26 2012 +0200
srd: Add initial JTAG protocol decoder.
This is unfinished, needs some more work.
commit 2002229d8ae50531d27eb9396803b6f4666d9335
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 25 18:44:50 2012 +0200
srd: lpc: Minor additions/fixes.
commit 17160de7e6022a2c05311d76e1082502bdf3a8a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 21 19:58:47 2012 +0200
srd: MXC6225XU: Bugfixes, add missing bits/registers.
commit d997c01abaa3e6b9b9de10976f3564a2b9f993a8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 19 20:18:10 2012 +0200
srd: Initial MEMSIC MXC6225XU protocol decoder.
Not quite finished yet, but relatively close.
commit 271acd3bde96474c7ed5f822d470f555af8e7d93
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 17 23:28:12 2012 +0200
Initial LPC protocol decoder implementation.
This is unfinished and not tested, and probably not really working, yet.
commit 6b249180f1f15eb1d10c617f76b35d1535c0d4f7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 17 00:12:56 2012 +0200
srd: Initial 0.1.0 release.
commit a4cb05f748a1104faba456217a762befc4faf2f3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 16 23:16:00 2012 +0200
sr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.
This avoids warnings on a MinGW build. The feature depends on ELF files,
but MinGW/Windows uses PE files.
commit 53a07a6d287ecdd3a9831dd3778676edf6ee8a9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 16 23:10:26 2012 +0200
srd: Quickfix for MinGW build issue.
commit 0c081c63de28e694eeaeee613e7bfa17bee81bc7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 15 20:58:08 2012 +0200
srd: Add functions to query srd version(s).
commit 63b1026d367275c7171da7dc7d5ac675a420f485
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 7 18:14:39 2012 +0200
sr/srd: Use/fix SR(D)_MAX_NUM_PROBES.
commit 387c7bc65c4e87d704d4f59e78218effbfadcc95
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Fri Apr 6 22:29:31 2012 +0100
srd/i2s: Added links to documentation
commit 780a5beeaf36e7af20f4f37c0f13473f3f9bb1d3
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Fri Apr 6 22:01:30 2012 +0100
srd/i2s: Added sample-rate and bit-depth to report
commit abbbd2ba56a70b9978c4f31a4988102364807997
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Fri Apr 6 20:11:01 2012 +0100
srd/i2s: Print a warning on receiving a malformed word
commit 2ab416c214e248be8ece49bab2cabf2b28954cca
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Fri Apr 6 20:01:02 2012 +0100
srd/i2s: Initial implementation
commit 5626f8b4101330194c5b70a59ee3579087b7f7a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 17:06:03 2012 +0200
srd: Disable 'nunchuk' PD for now, it's unfinished.
commit 4180cba9a51acd32f69f0f8628bb746ea3e12be6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 17:04:50 2012 +0200
srd: Decoders: Fix/simplify samplenum usage.
commit 394b74dca66d540cae154dfeb3bea4253db4304d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 12:09:37 2012 +0200
sr/srd: Fix 'make distcheck'.
commit 4b442477602ef5938c4826925e21f38c8f1e13a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 12:05:20 2012 +0200
sr/srd: Add ChangeLog to ignore list, it's generated.
commit ab13922ca9fa2fc03e2a355166af5732f8e8a009
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:38:38 2012 +0200
srd: Generate ChangeLog from git upon 'make dist'.
commit dc17bafa2f645366d4c1f2bb1be4e787def80026
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:37:19 2012 +0200
srd: Add NEWS file.
commit 14b42dad483c98b3dbf7b389e60b9cede1cd122f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:31:14 2012 +0200
srd: SRD_PACKAGE_VERSION_* for consistency.
No need to use the LIBSIGROKDECODE_ prefix here when we use SRD_ everywhere
else. Also, better distinction between package version and lib version.
commit aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:08:16 2012 +0200
srd: Some more (optional) consistency renames.
commit b33b8aa56ec27edf57cd7dc3d735370f60bfe13d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 14:49:11 2012 +0200
srd/cli/qt: Some more API consistency renames.
commit 122e9a90a54e034b93f554938896983d293edec1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 09:39:44 2012 +0200
srd: PDs: Kill obsolete 'longdesc' entries.
commit 0736708e58a10e1903c47d72fee5343cccb1ce95
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 22:05:59 2012 +0100
srd: Add .gitignore file.
commit 03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 19:41:40 2012 +0100
srd: sigrokdecode.h: Add version macros.
commit 8f01b6bcc58e25c92a263f99283748d29421cacb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 17:52:48 2012 +0100
srd: Rename sigrokdecode.h to sigrokdecode.h.in.
commit 363252b482d189c9cca596b146f5fb6ead6e3412
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 09:37:55 2012 +0100
srd: List 'report()' in all PDs for consistency.
commit 6c36501de9d0b91a203d4943b16d0a63e1c98d9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 22:38:08 2012 +0100
srd: Drop unused inputformats/outputformats entries.
commit 0575fc98b5787d4f207064d3a69f5d3cf6922fc2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 22:33:51 2012 +0100
sr/srd: Remove API warnings from READMEs.
We'll have a libsigrok and a libsigrokdecode release soon. After that,
any API changes must be properly documented and reflected in the
SO version (and package version) numbers of the libs.
commit 9c661c498eaa200304a770c469ec180a2a6c0485
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:40:07 2012 +0100
srd: Drop ebr30a_i2c_demux in favor of i2cdemux.
The i2cdemux protocol decoder is the more generic version of the
obsolete ebr30a_i2c_demux decoder, and should be able (now or later) to do
everything that ebr30a_i2c_demux can do.
commit 5a2c4dc462310a8a031abda7e6cbb0532873ec55
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:28:43 2012 +0100
sr/srd: Small fixes, constifications, doc updates.
commit abf77a8df245c31a8beb80be094972c4d188adab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 18:40:25 2012 +0100
sr/cli/gtk/qt: Fix package version numbers / docs.
The next (and first) libsigrok release will be called 0.1.0.
The next (and first) libsigrokdecode release will be called 0.1.0.
The next sigrok-cli release will be called 0.3.0 (as we already had a 0.1
and 0.2 release of sigrok-cli; those did not yet use the libs, though).
sigrok-gtk and sigrok-qt didn't have any releases yet, so their version
numbers are set to 0.1.0.
Also, consistently use three numbers/digits for our version numbers.
commit 96c52595ac5cdf7594a639af7ef682411917f52a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 20 18:02:45 2012 +0100
srd: srd_exit(): Set pd_list to NULL after freeing.
This will ensure that any subsequent checks for pd_list == NULL work
properly.
commit 29dad0ac4acd7174cee00556f6104594497fe970
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 20 17:58:25 2012 +0100
srd/cli/qt: s/srd_session_feed/srd_session_send/.
commit 8ad6e500312084cd4ae43c7bda476cc7370cda20
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 16 15:25:53 2012 +0100
srd/cli/qt:s/decoders/decoder/ for consistency.
commit abeeed8b6da45e1854bc151a8175836b5ca38e34
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 16 15:12:54 2012 +0100
srd: Constify lots more parameters.
commit 361fdcaafec8ddd37f0d381204e4c2a22c56b238
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 15 22:00:24 2012 +0100
srd: Cosmetics, fix/add Doxygen comments.
commit ed2306a6f29bc4d85f5f248c83fff252b22c60a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 18 14:16:50 2012 +0100
srd: Fix typos.
commit a759e1a143122dd73f9051a3d48c4846839c340e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:12:08 2012 +0100
srd: Drop unused ARRAY_SIZE/ARRAY_AND_SIZE for now.
commit f9d87f641e55cd643037d81d7221ddc169cdae6b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 4 10:55:30 2012 +0100
srd: I2C: Update PD protocol docs.
commit 1541976fcac03a780b5d27046f5f8884973c08ae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 4 10:40:58 2012 +0100
srd: PDs: More cosmetics.
commit 2b7160383cc189f721600c04be17a980e216dfd6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 4 10:13:29 2012 +0100
srd: PDs: Use strings for states, too.
commit 09059016e02db5d83b4862a3adcf8ddf101f6991
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 3 14:39:14 2012 +0100
srd: PDs: Consistency/cosmetic fixes.
commit 0082d592076fdc3fe06a760d432a48163ee0bd97
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 3 14:13:21 2012 +0100
sr/srd: s/handler/callback/.
We should consistently use the same name for the same thing.
commit 41a5d9624022856f4ef357c1fdce041a9774a99c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 22:32:34 2012 +0100
sr: Name all callback data 'cb_data'.
commit 4c1d067068fdb9e5f723b3548bddb64e0b06fc36
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 21:56:24 2012 +0100
sr/srd: Consistency fixes for callbacks.
- Callback function pointer typedefs end with _t.
- Variables holding callback functions are named 'cb' everywhere.
commit 1b75abfdd3e00ef590c9d1905863f6f2cb5a8632
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 28 14:33:45 2012 +0100
srd: I2C: change format to have ACK/NACK bits as separate events
commit 5154cadf4a143f6157a54aa4d2097dffe78c0f29
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 28 02:01:41 2012 +0100
srd: fix SIGROKDECODE_DIR env variable brokenness
commit 708b3b84ea6b9ba3a60d5aa2a0ad56613ad8bbfd
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 28 01:16:29 2012 +0100
srd: properly return status code
commit e4f822680083b65e34b9c8b091025f66ea6efde6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 00:42:45 2012 +0100
srd: PDs: Whitespace and cosmetics.
commit 9d122fd5d66aa178547ec4222ab5f526f8a14cf7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 03:43:28 2012 +0100
srd: rename public API functions to srd_thing_action format
commit 9b37109da365335c1b6da14f073513c7855872d8
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 03:28:53 2012 +0100
srd: don't load all protocol decoders unless we really need to.
commit 582c8473ffd456dfb0796974ef2c0b1b78de38a8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 14:55:20 2012 +0100
srd: last public/private fix, and docs for all publis functions.
commit 12243c22bf01506ac3b220bfe38384db9903756c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 14:18:32 2012 +0100
srd: finish up public/private API
commit ee4ed2279e3d3d4b2911aa2a1ed4effcbd1bbe60
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 13:47:07 2012 +0100
srd: no public API functions use python-specific arguments now
commit 65e1c7d091956e42aa4d97d7b639e10076e6f8ff
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 04:07:22 2012 +0100
srd: extra module path can now optionally be passed to srd_init()
Also environment variable SIGROKDECODE_DIR, if present, is prepended
to the module path.
commit e09023b9dc8f1d6783a3bf6b05402a88060a795f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 22:09:18 2012 +0100
Rename 'void *' callback parameters to 'user_data'.
This is better, both for consistency reasons, and also because 'data' is
a bit too generic and might be confusing, especially since we have other
'data' fields in the code in various places.
commit ae53d0a5971121e03a07c469e39ff3cfa34a2111
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 22:38:17 2012 +0100
srd: Every callback should have a 'void *' parameter.
This is required in various situations and for various lib users,
especially so GUIs which might want to pass specific info via this
mechanism.
commit 56bf4c20afc2785f8cdf75e386159e23fa2c1acf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 20:06:46 2012 +0100
Use g_try_malloc/g_free/g_strdup consistently.
Avoid plain malloc()/free() in sr/srd, especially in the API calls.
Also avoid g_malloc*() in favor of g_try_malloc*().
Use g_strdup() instead of strdup() so that we can use g_free()
consistently everywhere.
Exceptions: Stuff that is allocated via other libs (not using glib),
should also be properly free'd using the respective free-ing function
(instead of g_free()). Examples: Stuff allocated by libusb, libftdi, etc.
Also, use sr_err() instead of sr_warn() for actual errors. sr_warn() is
meant for non-fatal/uncritical warnings.
commit a8b72b05cad9fd63e52079acb395a6694ed5f6b6
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Feb 11 18:06:56 2012 +0100
srd: rename all instance to inst
commit 7b56d7a5d272879bc2b48f751935fda86347c438
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:43:26 2012 +0100
srd: Update README.
commit 511e2123038c0df994ecadb1454d0869dc256698
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 10 09:29:38 2012 +0100
srd: s/python/Python/.
commit a61ece2022f9e765d65dcd0ed22dba7e71e138a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 10 00:06:58 2012 +0100
srd: Add/improve g_malloc() error messages.
commit a33a0e3bd59214cc4ddb021389f5c2ad91134587
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 9 19:17:54 2012 +0100
srd: Move private symbols to sigrokdecode-internal.h.
commit 55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 9 19:11:53 2012 +0100
srd: Add/use SRD_API/SRD_PRIV macros.
This is not yet finished, more things should be made private.
commit c9bfccc6347e05e6faba6f27fe0e50a7d55f531c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 8 22:39:30 2012 +0100
srd: Cosmetics, whitespace, coding-style fixes.
commit 41106a07486f46de5dac2fd55233691172d4fe59
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 8 19:52:43 2012 +0100
srd: More consistent log related function names.
Also, fix typos, constify some parameters, add more Doxygen comments.
commit 3b5839d56023d6105ea58766313f26c15f6d0877
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:41:30 2012 +0100
Project-wide consistent naming for #include guards.
Document the naming scheme in HACKING.
commit 63d62a5c6aa3c66b6b3c0662155752ccb123ee23
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 12:54:44 2012 +0100
autogen.sh: aclocal support for Windows XP/Vista/7.
commit bb590e071c0f6554695334b5da804c75267541fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 2 09:28:56 2012 +0100
srd: Add explicit srd_pd_output_callback_t typedef.
commit 7f7ea759ebdc854beb0468b410f7d2382f291a4f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 23:14:29 2012 +0100
srd: Properly use append() for appending to lists.
This is not only the canonical way to do it, it's also quite a bit faster
and less memory-intensive than using '+='.
commit 156509ca42f0df2380c9f205f9aad337e1a07802
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 22:23:03 2012 +0100
srd: Move all protocol docs to __init__.py files.
commit 94bbdb9a4146ec5eaa56411706dc92de3a92f2d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 21:57:43 2012 +0100
srd: spi: Use strings for most options.
commit a7fc4c342689ab3b42cd8e662612e12aee8a2bf3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 19:47:50 2012 +0100
srd: uart: Use strings for most PD options.
commit 8e828d2a29154fb9cae8c9c38d27c60f820dd584
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 19:24:21 2012 +0100
srd: uart: Move protocol docs to __init__.py.
commit 1ccef4616d2c6d6fcdfee6a72d051387625678ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 19:07:11 2012 +0100
srd: uart: Add missing initialization.
commit b9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 18:59:18 2012 +0100
srd: uart: Use strings for packet types.
While this has a (small) performance penalty compared to using integers,
it has the advantage of not requiring the use of magic numbers which
need to be declared in both the UART decoder and all decoders which
stack on top of UART.
commit b77614bc977475102062ac5d1c8fe8e55349315a
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 1 00:13:42 2012 +0100
srd: rename extra_probes to optional_probes in all PDs
commit dcdf48838748df02bc3028c4a26ea6d4506ee542
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 1 00:07:55 2012 +0100
srd: rename extra_probes to optional_probes
commit fa12a21e3c779df4e33dcfe394e2ded3f96028ce
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 31 23:48:10 2012 +0100
srd: free all decoder instances when unloading decoders
commit dbeaab27a4537863a5d7a8180af2de57ba55f1d4
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 31 22:35:22 2012 +0100
srd: avoid POSIX_SOURCE warning
commit d3c8af667a6f2677c3ecc52b5249f24d9d0b356c
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 31 18:07:59 2012 +0100
srd: remove obsolete DDC-only I2C filter
commit 61c2bd366eba64b50009c604c382c547f6cfdd88
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 31 18:05:11 2012 +0100
srd: add generic I2C filter PD
commit 12b5e28ecccaaff12a4339867b5bbcd533b1e1fc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 30 20:17:15 2012 +0100
srd: Add missing <inttypes.h> #include (for PRIu64).
commit 2a706c20b73ea466a16c7f5ae6a8b0d44e470053
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 31 00:48:07 2012 +0100
edid: properly deal with leading I2C crud + small fixes
commit 6fff00eee1dd62477cd2708df480b985ef416a67
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 30 01:23:35 2012 +0100
srd: removed stray malloc()
commit ad022d94ef9a32428fe44710e7eff311991fd9e6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 30 01:22:27 2012 +0100
srd: clear objects after final decref, so it doesn't happen twice
commit 1063646c74946527c6e8d23790f6fd8501f5665c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 29 20:13:43 2012 +0100
edid: move PD docstring to __init__.py
also minor code cleanups
commit 91b2e171b0e84764f078414cd9445a0133bd653f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 29 18:43:45 2012 +0100
srd: add EDID 1.3 decoder
commit 70ccb1ce0cf0ae5e125c651a2ed7947ae0e58b19
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 29 18:42:10 2012 +0100
ddc: add protocol output
commit 066ecdabd251d503649850f09ff2bf161fc3364b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 21:26:56 2012 +0100
Update/enforce/document our build requirements.
commit 6f858319a4dd20b243e5584ab7a60e54f5a50471
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 21:26:26 2012 +0100
srd: Drop unneeded check, g_free() handles NULL fine.
commit fd4aa8aaed83f9f0041647b913e48ef95c1aab55
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:08:13 2012 +0100
srd: PDs: Cleanups, simplifications, small fixes.
commit afff6b1a0be19c4f0976309cae571a0c3e41c157
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 27 18:47:27 2012 +0100
srd: mlx90614: Show more exact temperature.
commit 1c2b0d0b82a48bd323b46440f17b049090cabc79
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 27 18:38:16 2012 +0100
srd: Use PRIu64 for uint64_t values.
Using %d seems to silently work on Linux, but leads to a segfault on
Windows/MinGW.
commit ce46beed20cef3262cdf8a921fdf7632f0356227
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 27 08:21:58 2012 +0100
srd: add more debugging around probe mapping
commit 568112ce6de82135b0bfd7b5319ffdd611e6b030
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 27 01:14:01 2012 +0100
srd: use format string where one is expected
commit bc1385a6d999c0011050b1cbd275879a928f4252
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 26 23:48:11 2012 +0100
srd: Melexis MLX90614 Infrared Thermometer decoder.
commit 7a1712c4fd07f64222079acd5ec3fa3348a5cb15
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 26 01:15:10 2012 +0100
srd: Remove manual log domain ("srd: ") prefixes.
commit 3a8b2e789262545fe409f95f69319b80e66aac13
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 25 11:00:04 2012 +0100
srd: log: Support for setting a log domain (prefix).
commit ac941bf91b1a4f75ed793ca1547a1bd75bac0a1a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 25 22:25:25 2012 +0100
srd: UART: s/parity/parity_type/.
commit decde15ecb51b3326b31019af61e0a729b9c61d0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 25 22:11:38 2012 +0100
srd: All PDs: Various fixes, cosmetics.
- List all API methods and metadata variables in all PDs to make things
easier and more consistent for new PD writers.
- Fix probe assignment in a few PDs.
- Raise exceptions upon invalid states of the PD state machines (bug).
commit 385508e9b12d87519f9144a67e7682b46a592200
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 25 19:02:11 2012 +0100
srd: mx25lxx05d: Cleanups, add optional probes.
commit 66e4c27c13b2e7ba857c9c9bd9a33a8b3a5cb0fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 25 02:52:27 2012 +0100
srd: Support for registering a custom log handler.
commit ed5f826a3fe1186f9a2249ca897b836111145116
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 25 01:49:32 2012 +0100
srd: Add Epson RTC-8564 JE/NB protocol decoder.
commit 2072ae0c89fec6b06cc579a6c584e67e2a59f7ec
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 25 01:49:35 2012 +0100
srd: properly recurse into PD instances when looking for one.
This fixes the confusion between parallel and linear stacks.
commit 58572aed02d81e2cc75749c2c4b516538b5ca9b9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 24 03:51:02 2012 +0100
sr: better error reporting
commit b3b2cae8e36ca939f1a8535e95431ceefa8a1cb8
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 24 02:02:03 2012 +0100
srd: change struct srd_pd_output to have a path to the DI, not the decoder.
commit 9d9fcb375d7702082146bf917a5d19cc83480eae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 23 19:58:06 2012 +0100
srd: Prepend (not append) PD dirs to sys.path.
commit be873260307fb879200ace642c15164c39234007
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 23 19:34:23 2012 +0100
srd: deal with invalid probe specifications better
commit 0146063014a7dba729ce2378e30ea9d501ac0ae8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 23 05:03:25 2012 +0100
srd: i2cdemux: add missing Makefile.am
commit 2086c68463fef416fd9a48dac5e1aa7fa593308d
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 23 04:51:33 2012 +0100
srd: use new exception system everywhere
commit ec871a279893cfe0ab378eddc0a9f9bcccc44925
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 23 02:20:51 2012 +0100
srd: add python exception catcher, which routes to srd_err() and srd_dbg()
commit 4fadb1282f5e9aa41abcb67e7d90cdc4a9b2628d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 22 03:29:22 2012 +0100
srd: minor code cleanup
commit d567790b9c0ab30b18aceb92e6714e631200e9b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 22 14:28:48 2012 +0100
srd: Add generic i2cdemux protocol decoder.
commit d906d3f978233458fc73b56fb232352affd1b433
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 22 02:51:49 2012 +0100
srd: make all debugging and error reporting uniform
commit 86d6a21e9913d38cc1ae2ebd279ed2ce61fb548f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 22 00:53:24 2012 +0100
srd: use more appropriate calls for integer constants
commit 19a90bab1b8d88c173ce29f8243747740d280164
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 21 19:45:04 2012 +0100
srd: better check for PDs with no defined probes
commit 4244f8252706c5715a5598c51914f4f8d20c5e84
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 21 15:04:47 2012 +0100
srd: fix probe mapping
commit f38ec2855ce41154bc1035dd7f1ab9a21f411f0d
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 20 22:25:42 2012 +0100
srd: support for mapping probes
commit 11ea8ae1b2279566125978766735a26252dff412
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 20 22:23:27 2012 +0100
srd: decoder class structure check belongs in module loader
commit d42fc6ee118ff673cef1c4ffbce0c7f603519f63
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 20 22:08:22 2012 +0100
add py_dictitem_as_str(), more checking in py_attr_as_str()
commit 4a04ece49f00ba2be5c16a55547b1a8d7e9519f9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 20 01:16:47 2012 +0100
srd: UART: Update to new options API.
commit 8a7ce2a3f77bae0a4a6aa08751bdd9a963168192
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 20 00:40:47 2012 +0100
srd: SPI: Convert to new options API.
commit eb2bbd668758f00afccda9a04690e84b56cc99b1
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 19 17:12:02 2012 +0100
srd: fix decoder loading, and back to using glib dirent wrappers
commit 1d552cd37d050b346adccdcd61e1ee695d5a6d52
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 19 15:05:38 2012 +0100
srd: don't check directory structure a PD is in, but what it implements.
Also added extra check to require start() and decode() methods in the
PD's Decoder class.
commit 21481b6609641fb3076290dad915a3a6259ce05a
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 19 09:59:00 2012 +0100
srd: simplified error checking, in preparation for more of it
commit 130ef08ad86df267f14901a895ffd5ee46696c72
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 19 00:00:02 2012 +0100
accept only supported types in decoder class default option values
commit 639c56898e88aae99a7b91a5c6d2b7870956d648
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 19 00:21:00 2012 +0100
srd: Windows/MinGW Python path format fixes.
On Windows/MinGW, Python's sys.path needs entries of the form
'C:\\foo\\bar' instead of '/foo/bar'.
commit e431d9cc4afa5e695efea61fb769f20d86f0bbe0
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 18 22:59:14 2012 +0100
srd: always set default options, regardless of overrides
commit 79c4f9b987329587fd388d49015921ab4f9553bd
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 17 03:39:28 2012 +0100
I2C: no need to copy default option values over from the class
definition anymore: it happens automagically.
commit 0bdadba205a6d7688a2bb8d98ab342abe22acd6e
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 17 03:37:34 2012 +0100
SRD: support setting per-PD options
All decoder class options are automatically copied to a newly created
instance with their default value, which can be overridden with the
GHashTable passed to srd_instance_new().
Currently, only strings and integers are supported as option value
types. The type is set by the default value in the decoder class, and
enforced when overriding them. Integers can be specified in any
format python allows: 10, 0x0a and so on.
commit 7b14cee1e2b43738a13108180dee73a08cbde87b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 16 05:01:05 2012 +0100
srd: don't decref an object we don't own
commit c49750787d045582dc08419b1312770a57fb845f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 23:21:22 2012 +0100
I2C: properly use sample numbers in proto/annotation output
commit 86528298fa2abfe825d6763b806095972e8bd8f4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 23:20:39 2012 +0100
srd: PDs now get a logic feed with sample numbers, not time/duration
commit a2c2afd9357fab233a4f09531618faa81d54d4d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 20:41:46 2012 +0100
srd: Add 'api_version = 1' to all PDs.
commit 64c29e28e0efa184319f7831b3eca18c7f73f7d0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 15:36:01 2012 +0100
srd: Each PD now has its own subdirectory.
commit d0a0ed032e0120140a28e93ac42753786bf0087b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 14:44:40 2012 +0100
move sigrokdecode.Decoder type to its own source file
commit 56270764cd4dd3d255979a283092765057a0d3de
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 13:16:48 2012 +0100
srd: Decoders: Remove author/email fields.
We decided it's too much hassle to deal with this in GUIs (multiple
fields, multiple name and email addresses and copyright years etc. etc)
with too little gain. The authors/emails etc. are already in the .py file's
license header and in git anyway.
commit 9e587cc9d4db0da9bdfffbc023d848dd59df74b4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 12:50:07 2012 +0100
srd: Bring back small stuff lost in the merge.
Also, use ''' for docstrings to be consistent with the rest.
commit 876f83fd3396ce581e700741e58414c2f4f6277e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 04:31:23 2012 +0100
srd: rename srd_usb to what it thinks it's called
commit 9e681b1b7f7c1d6d4d56ad476647e21fd6f835c6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 04:31:23 2012 +0100
srd: rename srd_usb to what it thinks it's called
commit e7edca072b38affaa80dec93d21ba19a1fbd257e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 04:24:15 2012 +0100
srd: handle missing module docstrings better
commit 87998e973f16206be1391f87ccae7c2756baf353
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 04:02:21 2012 +0100
CLI: when invoked with only -a <pd>, the PD's documentation is shown.
commit 451680f192b97d652fb02186f5201efa0d668a2a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 03:58:27 2012 +0100
srd: clean up module loading/unloading, and the decoder struct
PDs are now checked for a proper Decoder object, with at least the
required attributes.
The author, long_desc and func attributes in the decoder object are gone.
commit f8e458577f72a5b13fa83b6cd3675a7eefc83072
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 03:43:01 2012 +0100
move srd_Decoder to sigrokdecode.h, and rename it in line with srd_logic
commit 8892c76856f22acf6eafc66c6a5f86ab7cb8bddb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 02:17:10 2012 +0100
srd: Add ebr30a_i2c_demux PD (I2C in, 3 x I2C out).
commit ba24aaf7608bc5f26705b2747a2f7c05c52a7820
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 02:01:37 2012 +0100
srd: I2C: Small fixup.
commit 5dd1c937a764a1517a8e12d10af6c3fcb9c8b3c9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 15 01:22:19 2012 +0100
srd: pan1321: Support replies from device.
commit d9c0d0a34a606bd1c96b468cbce4f0f8397e291d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 23:17:40 2012 +0100
srd: pan1321: Update to new UART format.
commit 97cca21f9423164b0ef3fe52c529f1920cc669a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 22:51:07 2012 +0100
srd: UART: Handle both RX and TX pins.
Also, experiment with readability improvements a bit.
commit 526e580446dd45c3cb6811dd69a31eaff54e908e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 21:44:01 2012 +0100
srd: Separate author/email fields for now.
This will be needed in GUIs to easily handle/display the values without
the need for additional parsing.
commit 3d3da57d7e7a7414e012e86dde32530e01b4dc45
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 21:41:41 2012 +0100
Improve 'longname' PD strings, use in 'sigrok-cli -V'.
commit a2d2aff27099449deb1a791b3adc05ee610861e6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 21:34:06 2012 +0100
srd: I2C: No need for underscores in string cmds.
commit ea90233eb2e76cca10adf3ed3c016c5b6cb993e1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 20:48:55 2012 +0100
srd: Consistent PD option defaults handling.
commit acba48696ef9dd516d2cdf90f89e099deb7e1a73
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 18:40:43 2012 +0100
srd: SPI: Add support for different CS# polarity.
commit 01329e88ee576eb511528e691ddee23998d2de21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 18:34:07 2012 +0100
srd: SPI: Output warning annotation if CS# de-asserted.
commit c94c8c918152004e7bed50a50dcf7be233674b9d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 18:27:54 2012 +0100
srd: SPI: Support sampling on rising/falling CLK edge.
commit cc2047464a6b01474721557f32acafd9f1f00cb9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 18:09:11 2012 +0100
srd: SPI: Add support for arbitrary word sizes.
commit 1ea831e97a3c65b820c049220480def1636cb0b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 18:08:00 2012 +0100
srd: SPI: Add support for bit order option.
commit 0db89774dee57db500f270985f73f3bb2dcdbb42
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 18:02:33 2012 +0100
srd: SPI: Set default PD options.
commit 0c3089c1c49e51e588dd264abafb05efdd44d0c8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 16:19:46 2012 +0100
srd: SPI: Fix typo.
commit 238b4080f5de6e12f36d66c93e0fa8afb9688233
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 16:18:29 2012 +0100
srd: SPI: Sketch of the PD options (unused).
commit 9b4d8a5753db586648abfe7897c29ad5d5bc77a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 15:57:27 2012 +0100
srd: mx25lxx05d: Update to new API, make it work.
This works (partially) with output from the 'spi' protocol decoder.
commit d6bace96eda41684bdd4136a009bb261d36e8fd2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 15:56:44 2012 +0100
srd: SPI: Handle both directions, output proto data.
commit 4e570fa925c5e879b34dfc6a1817bb4fad7b3385
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 15:25:28 2012 +0100
srd: SPI: probes[]: Add missing MISO and CS lines.
commit de9cee24cf52e42e51434ed542d4506c1fc0901b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 15:21:03 2012 +0100
srd: SPI: s/sdata/mosi/.
commit 4917bb31c6a1e3e77418ac446650a6d9aa3e528b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 15:18:41 2012 +0100
srd: SPI: s/rxdata/mosidata/.
commit a10bfc48b04de832a62a474b34b23f8f24662e9a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 15:17:33 2012 +0100
srd: SPI: s/rxcount/bitcount/.
commit b1bb5eed4ad056f760bec83e784699dabbd72a18
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 02:22:46 2012 +0100
srd: Fix/update SPI protocol decoder.
commit dbbee4bf6c71d7b3403e465a9dd481962fe7c77b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 01:48:20 2012 +0100
srd: Fix transitioncounter protocol decoder.
commit bbe99ad5311855f2c1e12195ba8632ca8524b654
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 01:32:47 2012 +0100
srd: USB: Move pids dict to global level.
commit 0690a587c96796a4ff1aca2813d45e24a4314504
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 14 01:29:52 2012 +0100
srd: USB: Update decoder to new API, small fixes.
commit 2b0915c197388c3c40f18875b375b5ca8c9d9387
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 13 18:49:09 2012 +0100
srd: Add initial DCF77 protocol decoder.
Works quite well already, but not all details of the protocol are
implemented, yet.
commit c0d7b38e465d0f2f704c15f439e625f18122e3a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 12 23:20:41 2012 +0100
srd: nunchuk: Partial update to new stacking API.
This is unfinished and untested, and probably does not work at all, yet.
commit 2b9837d9fc5f9b4eca52327527e18db4bfb730ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 12 22:49:41 2012 +0100
srd: decoders: Rename obsolete timeoffset/duration.
commit 9a12a6e7af3d7091d8e35dd1c731402cb80a01b0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 12 22:16:26 2012 +0100
srd: decoders: Metadata consistency fixes/updates.
commit 957da0732562da1011adb6da95614d67143a607c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 12 22:07:50 2012 +0100
srd: i2c: Drop unneeded %s usage.
commit bf1c3f4db0ffbc05f29f81541c551c691ccd2ba7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 12 21:57:51 2012 +0100
srd: i2c: Use short-form if-else Python idiom.
commit eb7082c98efad727d88e3ebeadcd496fa948475b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 12 21:43:19 2012 +0100
srd: Decoders: Cosmetics and whitespace fixes.
- Remove superfluous whitespace.
- Add URLs and more info.
- Consistently use ' instead of " for Python strings.
commit 56202222ed83ff030239bb23be8296574674c4f7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 11 00:52:54 2012 +0100
srd: Drop duplicate SRD_ prefix from ANN/PROTO.
Using srd.SRD_OUTPUT_ANN is unneeded, srd.OUTPUT_ANN is better/shorter.
commit d0e93c76e381eff58ca23949301f781b24ba4a8b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 22:12:46 2012 +0100
srd: Drop useless out_ann/out_proto init.
If those variables are used before start() was called, that's a bug anyway.
commit 677d597b072c0a1d2df81c5c193cd3678aef8d03
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 21:10:23 2012 +0100
srd: Use 'import sigrokdecode as srd' for brevity.
commit e97b6ef569f73e387b2597dfa144c01838c0e27c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 21:05:09 2012 +0100
srd: annotation -> annotations.
In the PDs (Python code), the 'annotation' variable/attribute is a list
of annotation formats. Use the plural 'annotations' as we do for other
lists such as 'inputs', 'outputs', 'probes', 'options', and so on.
commit 94d43b37bd34263f5ed9f7135aac5fe7413c7f07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 20:44:22 2012 +0100
srd: Finish consistency rename to ANN/PROTO.
commit 6b741b128c9838d2c417e56a6e8b5d377467a3ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 20:43:52 2012 +0100
srd: Fix typo in Makefile.am.
commit 42a85ed0aed14216232ae48af1b5b709ec31f800
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 20:00:25 2012 +0100
srd: Minor doxygen cosmetics.
commit 5cc2d7bbc075ef6048bd5cd4e36533e874efb6a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 02:37:44 2012 +0100
srd: Add Panasonic PAN1321 decoder (on top of UART).
This is just a first prototype implementation, it's not finished at all.
commit 7cf79452a87317fe79895302e86ef016b1173ac8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 02:16:53 2012 +0100
srd: self.add: Use sigrokdecode.SRD_OUTPUT_*.
commit c9b24fc3d2f8c84338f07239edc1d4850164ae0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 02:11:50 2012 +0100
srd: output_{protocol,annotation} -> out_{proto,ann}.
commit 2fd89a85c4a1131ca259d794a43b26b8bd84b6a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 02:06:31 2012 +0100
srd: s/output_new/add/ for all decoders.
commit 7ce7775cb5a4e97264df62f43315d32504602072
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 10 00:25:16 2012 +0100
Stacked protocol decoders implementation.
The DDC decoder takes input from the I2C PD.
commit b231546d63396fd6cac381b12b99caf07687e7e3
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 9 00:13:03 2012 +0100
code cleanup
commit f9a3947a7a8d884de6c55693b216f89b1d27d979
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 9 00:12:19 2012 +0100
srd: change output_new() API call to add()
commit 84b81f1df5a51285e55d808fdfb7968cd70711e9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 8 20:01:53 2012 +0100
i2c: fix address handling
commit 983cb0f5b49167328864d0878148a7407becd1c0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 8 03:20:12 2012 +0100
pass PD output to the calling frontend, simple annotation viewer in CLI.
commit 61132abd40fb2a69beb1873fa079f1a93a4d6534
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 22:06:28 2012 +0100
srd: UART: Define an output format and document it.
This is a first attempt, might not be finished or finalized.
commit 5cc4b6a07ccd2fc907650319c7fd6fbd160b6b85
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 21:06:16 2012 +0100
srd: UART: Add more aliases, report invalid bits.
commit 1bb57ab8b3f108aff2cf83cd7dba3744050ec195
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 18:57:47 2012 +0100
srd: UART: Update to new PD annotation API.
commit a565c12819a428b92ea4808114698c5997105e3e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 18:42:53 2012 +0100
srd: UART: Drop 'quick_hack' stuff.
commit 47bd8ddead2ae35b209839255740e3f81ce4b8bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 17:14:08 2012 +0100
srd: Add SRD_ERR_BUG.
commit a9f9cab363a8a816f056fdf87b034491b61daea5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 14:15:10 2012 +0100
More .gitignore files cleanup.
commit 3e2a9de2adfc73a640fa352fdc1ebc804fc98a69
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 7 04:18:16 2012 +0100
expose SRD_OUTPUT_* as symbols in the sigrokdecode module.
commit 0ee4dd54ce134158cd2068866ddc7d32c692d457
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 7 03:59:16 2012 +0100
Decoder.output_new() now takes an extra protocol_id argument.
commit f9afa08467a7a11317f0e40145091a5945a54eda
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 7 03:42:26 2012 +0100
check before calling PyObject_GetAttrString(): this throws an exception.
commit 159699490ea4bf2495e99dcd5fb18b240d7499df
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 7 02:50:14 2012 +0100
convert data coming in from a PD to C structs
This is in preparation for passing annotation data back to the calling
frontend, and python data up to the next protocol in the stack.
commit 721501bf4267db27bd6b848c8a0d4b5016b1f1c0
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Fri Jan 6 11:07:37 2012 +0000
Added "autostuff" to the .gitignore.
commit c66baa8cbe1d5f0b6d6c4fb8cbe8ca05fcdf7763
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 21:07:23 2012 +0100
srd: We use 0/1 instead of False/True at the moment.
commit 958f394e13a2f34f3451e10ec0a85743d6cde70a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 20:58:52 2012 +0100
srd: Update mx25lxx05d.py to new API.
commit 1f24514c0e276d2844657925e4e423be5297cd2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 20:56:59 2012 +0100
srd: Update nunchuk decoder to new API.
commit f9b3b245bce5c8bf6fa63005dcc823904bba0ca8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 20:50:37 2012 +0100
srd: Update transitioncounter to the new API.
commit ea42f53ece1b82434ba6f5f43e23560b81c102bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 20:26:54 2012 +0100
srd: Update USB decoder to the new API.
commit 6b5b91d27aba833af9804bdf9b755790931d2800
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 19:00:27 2012 +0100
srd: Update the SPI decoder to the new API.
commit 29ed0f4c0632530cc6a3dcd723a007927e48701b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 16:27:15 2012 +0100
srd: Convert UART decoder to new API.
commit b67eb0bd213b5259ae4a6f002022e5cab8b149b7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 5 16:01:25 2012 +0100
srd: Small Python detection fixes.
commit 631b080a4122fa9a059b9ea51333497c22ffb1f9
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 5 14:27:13 2012 +0000
configure.ac: fixed python3-config detection.
commit bc5f5a434e148db1843be7b02b95a35d21237702
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 5 03:31:36 2012 +0100
new srd_logic type implementation for PDs to iterate over.
commit 81eb8e80eaf8ddc74f37afd43aae87d9abb9d6af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 15:26:41 2012 +0100
A few more fixes for configure.ac files.
Add missing checks and quotes, remove superfluous checks, etc.
commit d32ed3bc6ffb2695a597ce09b38a6485023ab6d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 02:50:26 2012 +0100
sr/srd: Add Doxyfile to the tarball.
commit aa56f7ad4f6238fd994b37bf61ba0efa052c14d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 02:41:33 2012 +0100
srd: Show config summary, libs, and Python info.
commit a101c52f7651995196a77cb94da65a02583bb1f1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 00:44:02 2012 +0100
srd: configure.ac: Fix version number magic.
commit 087d133da974eff5c74322a0c08b5f91d97c3462
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 21:55:48 2012 +0100
Put most autotools files into autostuff/.
This yields a slightly more "tidy" top-level directory.
commit 71071bcfd36bed13b110931a6cc8189a1493dd2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 20:26:29 2012 +0100
srd: Remove decode() docstrings.
This info is in the decoder's metadata, where the frontends can get it
from programmatically anyway.
commit 066e65a3a60ef5836d9e75b8dffeb55a152efe4d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 20:08:18 2012 +0100
srd: Put files into .../share/libsigrokdecode.
commit 73191416cc24884ffab5f21cc3405c7757884fba
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:56:01 2012 +0100
sr/srd: Fix left-over #includes.
The libs themselves should use #include "sigrok.h" etc., while the
frontends must use #include <sigrok.h> and so on.
commit fb53ee5e242be7781b0d34a7d006c630095bcb72
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:36:30 2012 +0100
srd: *.py: Remove one incorrect ord() call.
While 'data' is of type 'bytes', 'data[0]' for example is of type 'int',
thus the ord() there is neither needed nor correct anymore (yields an error).
commit f6555179b242357f9c75b1f6178537de2001cd98
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:30:17 2012 +0100
srd: Quick hack to make nunchuk.py work again.
commit f90fe506f8480047a3ba23a2bc99066fa2d208f0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:17:01 2012 +0100
srd: Quick hack to make mx25lxx05d.py work again.
In Python 3 there's no xrange() anymore, only range().
commit 862f6f270752e93fdd172a0e3d460349890ef191
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:13:48 2012 +0100
srd: Quick hack to make transitioncounter.py work again.
commit b327337fcc92b9e6e8703ded4caa61cb8734534a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 18:33:43 2012 +0100
srd: Quick hack to make the USB decoder work again.
commit ffe880e79ccd98de803706e0a02c0df2574e29ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 18:32:08 2012 +0100
srd: Quick hack to make the SPI decoder work again.
Since Python 3 there are some explicit int() casts needed.
commit 2642062273901c87e7eee597c96cab6a606ec104
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 17:47:55 2012 +0100
srd: Quick hack to make the UART decoder work again.
commit 084f0f94deedb52ced0c96590a621339973eb7a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 2 14:23:15 2012 +0100
srd: configure.ac: Add comment.
commit 804404fc6d9393e4169c64f47c5adefaefb61480
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 22:38:25 2011 +0100
Split README, add appropriate ones per-project.
commit 2891e1bc35f9e3dd1faaa60484d5ddd774f80028
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 10:50:00 2011 +0100
sr/srd: Remove/fix non-applicable autotools stuff.
commit a190e97997d091a6a1ff53d4f50ce6eae26ab9ae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 10:42:39 2011 +0100
sr/srd: Move some files to their resp. dirs.
commit 81fc8c6bdea80ea4abf6ed636f88bf5e93b26420
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Wed Dec 28 15:14:31 2011 +0100
Fix utf8 encoding error by changing the Python parameter to a bytes() object (python3 regression).
commit 8b4bbd2a0bcfdc2e186b345de087f23b9c904080
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 28 13:40:23 2011 +0100
better python memory management
commit 5f802ec6473029e89d2db9cbd71cf0ce86a1b653
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 27 22:15:53 2011 +0100
python 3 port
commit 1aef2f93a29f01168c04fd0478b29af290d8756b
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 15 03:31:31 2011 +0100
make time/duration work, at least when loading from a session file
PD decode() call now takes 3 arguments: timeoffset, duration, data
as per the current API specification.
commit e508088229e96423854ba6db63084c9bb18eeb34
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 7 09:56:49 2011 +0100
new dynamic output stream registration code, not finished.
commit a62186e44c606a8d4cb45b3d8c3cc9fa6a5038ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 21 19:09:46 2011 +0100
srd: SRD_ERR_ARGS -> SRD_ERR_ARG.
This is done to be consistent with libsigrok's SR_ERR_ARG (nicer that way).
commit 43c0a640533331c45ed1b46725524773085de99e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 21 18:57:04 2011 +0100
srd: Add logging framework.
This includes the (private) functions srd_err() and friends, the
(public) SRD_LOG_ERR macros and friends, and the (public) API functions
srd_set_loglevel() and srd_get_loglevel().
commit 1b1c914fe5c1b88db6e0b8e49bee896428d483cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 17 17:29:10 2011 +0100
srd: Add MX25Lxx05D SPI chip decoder.
Work in progress, not yet fully functional.
commit bffd9bc09c76aa2189f89e76fd4a0aa314418193
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 10 16:57:16 2011 +0100
srd: nunchuk: Make states global.
commit e9de9c90da6bd8c6a2314fb68f37cefc0a480926
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 10 16:54:47 2011 +0100
srd: decoders: Don't use problematic and/or construct.
commit 5b6b4f7759cf726bbfc00bd30b2e02cdea33cc6d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 7 19:45:40 2011 +0100
srd: UART: Simplify a code snippet.
commit 6efe1e1106bd648705f6f704ed2f267c86035dac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 7 19:43:24 2011 +0100
srd: UART: Add some protocol documentation.
commit f44d2db2a027857bdfbfc18e40b9900cad1b0e1d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 7 02:03:25 2011 +0100
srd: Add initial UART decoder.
Works with any baudrate, number of bits, parity types, number of stop
bits and so on, in theory. Not all options are fully implemented or
tested though. Various TODOs remain.
commit 6547acfda9913a8856e2c875dc3f340570d80583
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Mon Dec 5 20:31:32 2011 +1300
srd: Initialise struct members by name. Minor other fixes.
Restored some prototypes in sigrokdecode.h.
Abort sigrok-cli on error while decoding (includes KeyboardInterrupt).
Fixed passing metadata to Decoder.start() method.
commit 09b0acbb8dd292794e7fc797352cda47c27a1355
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 4 23:36:52 2011 +0100
srd: Bring back the 'id' field and use it.
commit 1c8ac5bf07e0ded582234c9ef50ba10f042bae52
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 4 20:59:56 2011 +0100
srd: Update decoders to changed API.
commit b2c19614a6c4eaa0170971d1261a1bb25212e277
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 4 10:33:02 2011 +0100
refactored PD framework, now using new sigrok.Decoder object
This uses the new python unified type/class object API to construct
an object for PDs to subclass. The sigrok.Decoder class has a method
put() which is implemented as a C function, and receives the PD's
object instance as its first parameter.
commit 2b7d0e2bf5147025e9d76d14e266b9905503b957
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Fri Dec 2 06:44:42 2011 +1300
srd: Changed nunchuk and transitioncounter to new registraion api.
commit 67e847fd2185aa5677954dceacf3c279d7a68af1
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Thu Dec 1 23:09:40 2011 +1300
srd: PDs now explicitly register with sigrok module.
commit 400f9ae7ff16bb611d758d75ff4931b667561b11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 1 11:04:35 2011 +0100
srd: i2c.py: States are global, not per-instance.
commit 9611dc5f8b88f0dc43fbb00a91d1222ee720d2b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 30 23:14:19 2011 +0100
srd: srd_usb.py: Cosmetics, white-space fixes.
commit 16ba97cf2252bc9543f70a0cf3e7d4b2ec6e7ee1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 30 00:19:16 2011 +0100
srd: nunchuk.py: Add some more URLs.
commit 03325c23133175d4d1ea86b361c92b8cb12b1b36
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Tue Nov 29 23:50:32 2011 +1300
srd: Added USB full-speed decoder.
commit 012cfd0d620a42165e964c9443bbcde1e4d24b6d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 28 21:46:55 2011 +0100
srd: nunchuk.py: Convert to new decoder API.
This is not really finished, or tested, or working. It's also a decoder
which stacks on top of the I2C decoder, and the infrastructure for
stacking decoders is not yet usable.
commit 60b928b2c9d3fa31f42c25613f2f07bc9e44fff5
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Mon Nov 28 22:54:18 2011 +1300
srd: Moved instance list to libsigrokdecode.
Functions changed to srd_session_start() to initialise the session,
and srd_session_feed() to feed sample data to the decoders.
commit 73e542a4611411411a6df4843d62576e25ddeb7c
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Mon Nov 28 21:52:35 2011 +1300
srd: Pass samplerate to decoder in metadata.
commit 4e338c00bda2e81210bf7569f29b77999a1d2bfb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 27 22:27:36 2011 +0100
decoders: Drop psyco stuff, seems obsolete.
The psyco module seems to be mostly unmaintained at this point, it does
not support Python 2.7 or higher at all, it only supports x86, it doesn't
support 64 bit systems at all, etc. etc.
We should try to find other ways to optimize our decoders for speed.
commit e100d51ec0909db8f93c837ea1fd92a08461b781
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 27 22:17:54 2011 +0100
srd: Python: Consistently use single quotes for strings.
commit c4262fd6b2f8ef540b8cc93ac61956d89062d2be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 27 22:12:37 2011 +0100
srd: i2c.py: Docstrings should use """.
This is the most commonly used and recommended method for docstrings.
commit 5dd9af5bdc48c0b90512b2782bad893f76ee4a0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 27 21:51:39 2011 +0100
srd: i2c.py: Mark Repeated Start condition as 'Sr'.
commit 7b86f0bc7a0009e928e4bcc250c3e0cc12dda7ac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 27 20:17:49 2011 +0100
srd: i2c.py: Rework I2C decoder.
This should be working OK for most use-cases now, though there certainly
are a few TODOs left. The output format is just a quick hack and will
change.
commit 3643fc3fe053bf531b4a7618d02c3d92c29f924b
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Nov 27 19:17:13 2011 +1300
srd: Pass metadata to decoders only on SR_DF_HEADER.
Before this was passed to the decoder's constuctor, but the parameters
may not all be known at construction. Decoders now have a method start()
which is called at the start of the capture, and metadata is passed as
an arg to this function.
commit f39d2404acb54461f61b676ab164d42e9e76e3fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 24 09:35:26 2011 +0100
srd: i2c.py: Convert to new API (unfinished).
This decoder is probably not fully converted yet, and doesn't really
successfully decode I2C, yet. It's work in progress.
commit 4be5b85eed190fd0a57b0c23ae706ec37ed1dfe5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 24 01:24:46 2011 +0100
srd: Comment out debug line for now.
commit b41ae47fa350bc0b6c81f0411cc12b9741a7e4e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 23 23:08:39 2011 +0100
transitioncounter.py: Convert to new API.
This is still work-in-progress, but at least it runs and outputs stuff now.
commit 81370309fbf8453b19c8ddfa09ed65064fd72c6e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 23 23:05:01 2011 +0100
nunchuk.py: Fix indentation (syntax error).
commit ad2dc0de10ac5c2c6c3aacff0b2835cd4dc22578
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 23 16:15:55 2011 +0100
Decoders: Use 4 spaces for indentation as per PEP-8.
commit 0d1cf0f842116f852ada53c25a2579437622859e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 23 09:17:48 2011 +0100
srd: decode.c: Improve error handling a bit.
commit 261d65327fa3a70b06d7e5b05c03c44cbb3b7eac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 23 09:09:30 2011 +0100
srd: decode.c: Add/fix comments and coding-style.
commit c75080f0d84de5f2aa73472ad4d6cf32aaeba88e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 23 08:56:44 2011 +0100
srd: Doxygen comments for srd_init() and srd_exit().
commit f97f531c2d31b729afbf1c97a0d017526bf8e52a
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Nov 20 18:39:50 2011 +1300
libsigrokdecode: Allow frontend to configure decoder probes.
commit 74911b4c1f6d184dac878d94992d480af0564734
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Nov 20 16:30:38 2011 +1300
libsigrokdecode: Allow multiple PD instances.
There is currently no way to configure options or probes, so they'll
always be the same, but it's a start.
commit 6eb875784c96db52e962f40df24035c31c5be738
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Nov 20 13:07:44 2011 +1300
libsigrokdecode: Move decoder metadata into Decoder object.
commit 052f32eee3b5e2f850f529c003bc90ef0bb88cc9
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Tue Nov 15 18:47:15 2011 +1300
Simplified code for calling Python decode method.
commit 3b24e3781a0374ce2d66f1d3de59a5a5d10d657a
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Mon Nov 14 10:07:29 2011 +0100
Add support for OO based PDs.
commit 9d29ffadbe10efe400b1ced74636b8ee203f1e48
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Sun Nov 13 03:11:40 2011 +0100
Pass multiple samples to the protocol decoder and adapt transitioncounter.py to work with this.
commit 71a133c83c0df02d8c016ec8c192f070ad8a37fd
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Sun Nov 13 00:27:58 2011 +0100
Update transitioncounter.py to the streaming PD API.
commit 922763abc279fc5d4e0ed93ed6c6bebbf68d7baf
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Sat Nov 12 23:42:52 2011 +0100
Partial implementation of the streaming PD API.
commit 7c3d8112204315d717b85bc4c71ecbf3ccf54f51
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 19 18:10:32 2011 +0100
libsigrokdecode.pc.in: Add missing @CPPFLAGS_PYTHON@.
commit 13f95f7392e87e4b1846266ecee68d75dd3c3453
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 17 22:42:30 2011 +0100
libsigrokdecode.pc: Add glib + Python.
commit f7b07643a758affd60c8ff0f6b1661faf9e5d5f7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 23:18:46 2011 +0200
Revert temporary changes for 0.2 release.
commit a5ec180ff8b7d91d4b96b4e7469424622dfe9234
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 22:38:35 2011 +0200
Disable some stuff which should not be in 0.2.
Disable decoders, disable lib building.
commit e36d7343ffed4be56b0bbc278aee26671c9990a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 19:48:09 2011 +0200
Decoders: s/dist_pkgdata_SCRIPTS/dist_pkgdata_DATA/.
The .py decoder files are not technically scripts and should not be
executable and can not be invoked on the command line
(via ./foo.py --help or similar).
commit a0d4825744bd5bc2cd18a51e8339faf11b9d87c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:12:41 2011 +0100
Make some more items 'static'.
commit 775dda7af58ad9a6bb45ef05634bed59497bb305
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 9 00:01:02 2011 +0100
sigrokdecode.h: More doxygen-friendly comments.
commit f430ac36e41823b96552ae0dccd4a7970ecf5782
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 23:46:29 2011 +0100
Doxygen config files: Initial configuration.
commit 58d1fb8f967468abdbf58cd85e967c6d94043295
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 23:00:49 2011 +0100
Add doxygen config files for both libs.
commit 75a282e54f566cb6bc9b684dd1bf63d7e36a68b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 6 17:36:32 2011 +0100
struct srd_decoder: Add more string fields.
Get the following string fields from the .py decoders' register()
function and store them in the respective 'struct srd_decoder':
- longname
- longdesc
- author
- email
- license
commit 4ed59136f8033c2cb745302bfd42d359c541e64b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 6 17:29:44 2011 +0100
Python decoders: Add more metadata.
Make the list of metadata info match the spec in the wiki more closely.
commit 959933226cb93b87d3c07c01c8af63840200671e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 4 20:11:17 2011 +0100
Revert FIRMWARE_DIR / DECODERS_DIR method for now.
There were several issues with the other method, revert for now.
commit 17830fe1a2445c109761a5f50aa9f6d665157cd0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 2 10:25:52 2011 +0100
Fix build when no libusb-LA is compiled.
Until now the build would break if the user doesn't enable at least one
of the libusb1.0-based LAs. I.e., you could not compile only OLS, or
only the demo driver.
commit 7ea73e33f50211a1b3df6556f6fcfcbab6c36735
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 19:22:13 2011 +0100
Consistently use _exit prefix for functions.
commit d752b12b7d6f5795e82aa43b395247a82be54670
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 15:41:39 2011 +0100
Change SIGROKDECODE_ prefix to SRD_.
Do the same for sigrokdecode_ -> srd_ in struct names and function names.
commit f9b54a6ca92f1d1532237db0439fc772789f3718
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 28 00:56:46 2011 +0100
Properly free all memory upon sigrokdecode_shutdown().
commit 53bec0cfaef9ce8c646deee7d9ba6340137713a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 28 00:11:00 2011 +0100
libsigrokdecode: Always load all decoders upon init.
Let sigrokdecode_init() always load all decoders it can find in the
decoders directory, i.e., the user doesn't need to manually load decoders.
Instead he can just look up the list via sigrokdecode_list_decoders()
after sigrokdecode_init() has run.
This is not a problem, as sigrokdecode_init() is only run once per
sigrok-cli or sigrok-gui invocation, and even with many decoders this
should not take too long.
The list of decoders within libsigrokdecode is no longer a string, but
rather a list of 'struct sigrokdecode_decoder *' pointers.
Add sigrokdecode_get_decoder_by_id() API function which returns the
decoder with the specified ID (file name without ".py" suffix, for now),
or NULL if it cannot be found.
sigrokdecode_load_decoder() is now a private function and not exported
via the lib, i.e. not available to users of libsigrokdecode.
commit 76672e26c961d3161b7e67e47d46d0264c9f5c04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 23:17:47 2011 +0100
Fix some compiler warnings.
commit c7bb5dff3a5259ce7e59db7932580173462b00a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 23:12:34 2011 +0100
decode.c: Simplify the import code.
Use PyImport_ImportModule() instead of PyImport_Import(), so we don't
have to temporarily create a py_name object.
commit f7313eeaf3b64fafa792a225a2b70c745e8d5cc6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 23:02:39 2011 +0100
Some more simplifications in decode.c.
commit 2557ad9d2de490cab14ae0b3a197de2b1c7f9f21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 22:53:29 2011 +0100
Use Py_XINCREF/Py_XDECREF, not Py_INCREF/Py_DECREF.
They're defined like this in Python.h:
/* Macros to use in case the object pointer may be NULL: */
#define Py_XINCREF(op) if ((op) == NULL) ; else Py_INCREF(op)
#define Py_XDECREF(op) if ((op) == NULL) ; else Py_DECREF(op)
I.e., the performance penalty we take by using Py_XINCREF/Py_XDECREF is
pretty much non-existant.
commit 036e6f672169c63fb304f3842667e3a09879b512
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 22:50:57 2011 +0100
decode.c: Simplify sigrokdecode_run_decoder().
commit 4fa17efc0be6542055476bd7764fc04391bc652d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 22:13:08 2011 +0100
Bugfix: Add missing Py_INCREF()s.
This should fix an error/segfault when running a decoder on bigger
datasets.
commit 6b08da24ec79989565e5417cf111a243073cd2fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 21:07:40 2011 +0100
decode.c: Better documentation.
Mark all Python/C API functions returning a new reference with "NEWREF",
and those that steal references with "STEAL".
commit 3a9a7e38cc74b4da07b03fafbc6674a20510d79e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 20:57:09 2011 +0100
decode.c: Fix typos.
commit f800adc478591cff0a462ae51af105eebfb7a9f4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 20:56:39 2011 +0100
Bugfix: PyTuple_SetItem() "steals" a reference.
commit d842aebec31fd21fe0803cb9504ded698f6c1457
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 24 00:24:27 2011 +0100
configure.ac: Fix firmware/decoders dir variables.
FIRMWARE_DIR and DECODERS_DIR as defined in config.h need some magic applied
to resolve the $prefix/$data variable to an absolute path.
commit 7492a27a7873120d28e4cabf3abad28204ff8844
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 23 19:53:50 2011 +0100
Introduce proper libtool versioning for the libs.
commit 253f9603f8d022b2a948be0f2f572f5281f1b4e6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 23:00:59 2011 +0100
lib headers: Add 'extern "C"' for C++ usage.
commit 81c9bc4448af804376f86cb3373ced99414071a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 00:39:59 2011 +0100
Re-enable stuff we temporarily disabled for 0.1.
commit 17891ce2b00e2bea78f66c56a141ae8512a838df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 22:32:00 2011 +0100
Disable decoders and session CLI options for 0.1.
commit 0a746957146a36a5450a9918acb511eae95e9a04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 19:20:44 2011 +0100
Don't install libs and headers in the 0.1 release.
The library APIs are not yet usable or finalized, so don't expose the
libs for now. Instead, only install sigrok-cli, the manpages, and
the decoders.
commit 104260684195431f4023acad96ba37787a14a6ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 04:26:07 2011 +0100
libsigrokdecode fix to handle unusual dirnames.
Windows paths such as c:\... and/or those with spaces in them were
problematic.
commit 0895f56aa091fabc4761862f43020b53396ed9d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 03:30:26 2011 +0100
Only load decoders from $(datadir)/sigrok/decoders.
Drop convenience locations which were supposed to allow running
./cli/sigrok-cli in the build directory. That will not really work fine
due to some other reasons. We only support running sigrok-cli after an
installation (into /usr/local or /opt or $HOME/sigrokinst or whatever).
commit 5b05904dc5dd1182fdf381b66fbc4a7ad97e37aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 03:07:00 2011 +0100
Don't print .py suffix in protocol decoder names.
commit 276b55eb6e4308cfaf6b18b457f514b2f9409cc5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 03:00:15 2011 +0100
Bugfix: Use only .py decoders, ignore .pyc files.
commit 871d21e2555c345350ec951f1639b4a75dbd4fea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 02:37:51 2011 +0100
Don't expose libsigrokdecode's interal GSList.
Instead, add a libsigrokdecode_list_decoders() API call which gives you
the list of known protocol decoders.
commit f301bde35eda4b33218d947243da33ef11d52d47
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 02:32:03 2011 +0100
Install decoders into a decoders/ subdir.
Use $(datadir)/sigrok/decoders as subdirectory for the protocol decoders
(instead of installing them in the top-level $(datadir)/sigrok), just
as we do for $(datadir)/sigrok/firmware.
commit 7c24d086f1c81fd23fd93e5702c6f46a36f3d3f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 01:44:41 2011 +0100
CLI: Support for running protocol decoders.
Add a new -A | --list-protocol-decoders option to show the list of
protocol decoders we could find.
Add -a | --protocol-decoders to specify a list of decoders that shall
be applied to the datastream. Currently only works for one decoder.
Define DECODERS_DIR, which is the directory where the decoders will be
installed upon 'make install', and where libsigrokdecode_init() will
search for them.
Thanks Olivier Fauchon <olivier@aixmarseille.com> for the initial patch,
merged in slightly different form.
commit 9c93add5aeca95c568afab7fe249c0586d8dec6b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 10 23:27:15 2011 +0100
Rename the scripts/ directory to decoders/.
commit e6c7a826d9617bafb24ac05e05cd8e1e7ad1f9cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 17:00:18 2011 +0100
Fix compile for Python >= 3.0.
Python docs tells us more about string functions:
"These functions have been renamed to PyBytes_* in Python 3.x. Unless
otherwise noted, the PyBytes functions available in 3.x are aliased to
their PyString_* equivalents to help porting."
(http://docs.python.org/c-api/string.html)
Use #defines to map the new names and fix the compile for Python >= 3.0.
Thanks Olivier Fauchon <olivier@aixmarseille.com> for the patch.
commit 70e44845f0138666d78fc2a13acc4e37fc63c4f9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 12:50:01 2010 +0200
libsigrokdecode: Use SIGROKDECODE_OK.
commit 0862329b41482ce690e868a99db75e8830bf9877
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 11 21:55:35 2010 +0200
pkg-config: Add libsigrokdecode.pc.
commit 32e4aea0f87b0d3d4f8e37516edddc19f6f36889
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 11 17:16:38 2010 +0200
Use CLEANFILES instead of extra target.
commit e7eac430fcd764fa72e3b2d06d00718fbdff0a11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 21:07:03 2010 +0200
scripts: Add clean-local target for *.pyc.
commit 9a67ccfdbed90fdb47232708b143ffbf403b2e80
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 4 23:19:31 2010 +0200
I2C: Convert output to more usable format.
commit 15167916e6e9d88b2b421c3ce2a80f7b29f25ce0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 27 23:18:05 2010 +0200
i2c.py: Fix typo resulting in a nonworking script.
commit cd0fc8c53f8f2d61375da310b924825f0bddc549
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 27 23:13:45 2010 +0200
Add Python decoder for the Wii Nunchuk.
Untested, unfinished.
commit 23fb2e12078a679b737aa3ec128b8af3a7923692
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 24 16:52:55 2010 +0200
I2C decoder format draft (unfinished).
commit a156f09eac00be0f6d8beaeadef77b03077ab7b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 24 01:33:52 2010 +0200
Various small decoder script fixes.
commit 87f03ae9f2bf5df0e671881b679b25feccbe2fde
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 24 01:12:09 2010 +0200
dist_pkgdata_SCRIPTS: Add i2c.py.
commit 5c55017c401002c18b1d43dad61200df17ab3321
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 24 01:04:20 2010 +0200
Various Python decoder infrastructure improvements.
- Introduce 'struct sigrokdecode_decoder'.
- Decoders are now handled via two C functions:
- sigrokdecode_load_decoder(): Fills a 'struct sigrokdecode_decoder'.
- sigrokdecode_run_decoder(): Runs a decoder function.
- There are now two decoder API functions a script needs to implement:
- register(): Returns a Python dict with certain metadata.
- decode(): Runs the actual decoder code.
- libsigrokdecode: Add and use some more #defines for errors:
- SIGROKDECODE_ERR_ARGS
- SIGROKDECODE_ERR_PYTHON
- Various other smaller Python decode script infrastructure issues.
commit 31b82285e5ca1fbd6a33eaaaa95bf83862b69eb1
Author: unknown <Uwe@.(none)>
Date: Fri Apr 23 18:49:17 2010 +0200
sigrokdecode.h: Add struct sigrokdecode_decoder_info.
commit 23a13b21b38211c73cbe0418a88060f0586cc065
Author: unknown <Uwe@.(none)>
Date: Fri Apr 23 18:47:43 2010 +0200
Rename sigrokdecode_register_i2c() to register().
commit 6fe63193b0ff900335b791aba8099ab44f7b0c8a
Author: unknown <Uwe@.(none)>
Date: Fri Apr 23 18:46:36 2010 +0200
transitioncounter: Add register() function.
commit 2b45dd716c3f27a62d163de7ec12f6c225ef4e39
Author: unknown <Uwe@.(none)>
Date: Fri Apr 23 18:06:22 2010 +0200
sigrokdecode_run_decoder(): Pass in the module name.
commit 33e72c5440ab5973bcb99b5c133e0cdcf15636e8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 21 20:31:10 2010 +0200
Python: Use "enums" as states, not strings.
Also, fix a typo.
commit 930bd9d961b9a13259ffb4997be9fa6ebcdb9da9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 18 03:15:06 2010 +0200
Python: Bugfixes (True/False != 1/0).
commit a5fdab452f682e50cc05d6f392f750473fd93e78
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 18 02:02:35 2010 +0200
Python: Use range instead of xrange.
For small numbers range seems to be faster, and xramge is being removed
anyway in Python 3 AFAIK.
commit 2454527da4eeb27683f64ffdc3311d4ac00b3a04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 18 01:58:45 2010 +0200
sigrokdecode_init: Add more Python search paths.
commit c11d3c15af2e3ebd04af9326a5f95f9b212f6a8d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 18 01:54:49 2010 +0200
transitioncounter.py: Simplify and optimize a bit.
commit 3cf4ed56626bf1b775d38e3b582bae2c607d44b2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:07:16 2010 +0200
libsigrok: Coding style fixes.
commit 887d6cfa6a924254a9a96a3cc704e6189a53b944
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 12 19:42:35 2010 +0200
Use psyco (if available) to improve performance.
commit 0588ed702725edbb5ed37ceb63fced93a5e68251
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 11 21:44:12 2010 +0200
First attempt at an I2C decoder (untested).
commit d0f3d67746c89ee19f4c7a8d6f8858afd54347de
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 11 03:58:05 2010 +0200
Implement a simple transition counter script.
commit 910e5fd8a73ac006bd5fa341b3f3cf3d9318b4f0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 22:18:46 2010 +0200
Fix all warnings and re-enable -Wextra.
commit 3a72d2b31f43788996777b11bff672c0c0e76798
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 02:11:01 2010 +0200
More paths to the libsigrokdecode Python scripts.
commit 3aca097f7fa3bd75693954806d64281239cad2fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 02:06:55 2010 +0200
Fix incorrect path to the Python decoder scripts.
commit a4898be72e8018462f02e117376625454974cd99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 01:29:32 2010 +0200
libsigrokdecode: Add initial return code list.
commit 1c6fa20f549c0565ce4fae6ddf7d5eb60db2ddea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 2 20:18:27 2010 +0200
Start of code base layout restructuring.
|