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
|
===========================================================================
MARK: released openhbci-0.9.17 (2004/08/11)
===========================================================================
2004-07-01 Christian Stimming <stimming@tuhh.de>
* src/openhbci: Applied yet another AMD 64bit patch by Bernd
Wagner <F.J.Bernd.Wagner@t-online.de>
2004-06-24 Christian Stimming <stimming@tuhh.de>
* src/openhbci/tree.h: gcc3.4 fix by Hanno Bck
2004/06/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- applied a AMD-64bit patch submitted by Bernd Wagner
===========================================================================
MARK: released openhbci-0.9.16 (2004/06/09)
===========================================================================
2004/06/09: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCI: added a function needed by the new DDVCard2 plugin
===========================================================================
MARK: released openhbci-0.9.15 (2004/05/21)
===========================================================================
2004/05/21: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- plugins are now linked against libOpenHBCI in order to fix some problems
with recent libtdl.
===========================================================================
MARK: released openhbci-0.9.14 (2004/01/13)
===========================================================================
2004/01/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- undid the change from 2004/01/05, with both may banks the mark "CR" is used
for positive values.
However, we need to find a way to predict the way the bank's server uses
"RC"/"CR", unfotunately I don't know how (for now, that is).
- prepared next release
2004/01/05: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- swiftparser.cpp: bugfix for RC/RD in field 61
2003-12-06 Christian Stimming <stimming@tuhh.de>
* src/plugins/keyfile/mediumkeyfile.cpp: Fix the file access
permission feature since yesterday's version was totally broken.
2003-12-05 Christian Stimming <stimming@tuhh.de>
* src/plugins/keyfile/mediumkeyfile.h, mediumkeyfile.cpp: Remember
and restore the file access permissions for the keyfile.
2003/09/18: Jan-Pascal van Best <janpascal@vanbest.org>
-------------------------------------------------------
- swiftparser.cpp: bugfix for wrong acount number with MT940
data with multiple account
- swiftparser.cpp: stricter checking of non-SWIFT :86: tag
2003/09/18: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- started using the cvs_acl script to control CVS access
- added Jan-Pascal to the contributor section of the AUTHORS file
2003/09/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- src/openhbci/core/swiftparser.cpp:
- included a fix proposed by Jan-Pascal van Best concerning tag 25
- if the :86: tag does not contain fields then the rest of the tag will
be regarded as the description of a transaction
2003-09-12 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/Makefile.am: Let swiftparser.h be installed so
that applications can use it.
* src/openhbci/core/swiftparser.h: Add C wrappers for Swiftparser.
2003-08-20 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/rsakey.cpp: Fixed a stupid bug in the
signature padding code
2003-08-19 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/rsakey.cpp: Signature is now padded to a
multiple of 8 (\0 is added at the beginning)
===========================================================================
MARK: released openhbci-0.9.13 (2003/08/02)
===========================================================================
2003-08-02 Christian Stimming <stimming@tuhh.de>
* configure.in: Prepare for 0.9.13 release.
2003-07-28 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/account.h: Added C wrapper for
Account::addAuthorizedCustomer -- why on earth did I forget that
earlier @&%$!
2003-07-04 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/bankimpl.cpp: Fix (show-stopper) bug in latest
findAccount() improvements.
2003/07/02: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in configure.in-output: When dynamic plugin loading is disabled
but no extra plugin is added, then the list of plugins should not contain
the word "none" ;-)
- added check for compatibility mode
- SimpleConfig now only creates variables with nonempty values.
Loader now only writes the charge and originalValue field if it really
is set. Otherwise, the next load will set the default value of "0" anyway.
This altogether reduces the size of at least my .openhbci file by
approximately 9 % ;-)
Well, this isn't much, but it is worth mentioning it ;-)
- account matcher now also accepts account numbers with leading zeroes, even
if the bank does not. This way "0001234567" for OpenHBCI is the same as
"1234567".
2003/07/01: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in OutboxJobGetTurnover: Now the closing balance of a day
is properly used if available.
- added method Pointer::release(). This one is used to free the data object
of a pointer. This way to destroy objects is much cleaner than that one
previously used (setAutoDelete(false);delete()).
The old method invalidated the content of the object pointer within the
HBCI::Pointer, and this could cause programs to crash (like it did a week
ago).
- changed API and BankImpl to use this new method
- listed objects in API and BankImpl, which are freed using the new
Pointer::release() method are now marked with a description, to let you see
which pointer caused the exception (if any did).
2003/06/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in aclocal.m4
- added test for SED to configure.in
- fixed a bug in SEGSingleTransfer which caused OpenHBCI to crash if the job
is not supported by your bank
2003-06-24 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxaccjobs.cpp
(HBCI::OutboxJobGetTransactions): Add retrieval methods for
fromDate and toDate and C wrappers.
* src/openhbci/api_c.h, src/openhbci/api_c.cpp: Moved HBCI_API C
wrappers to separate file since api.h was getting insanely
big. Added C wrapper for removeQueuedJob.
2003/06/23: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in OutboxJobGetAccounts which sometimes causes crashes
NOTE: A job should avoid storing a pointer to the message queue. But if it
can't (like the job above), then it should release the job as ASAP.
Otherwise due to the destruction handling of OpenHBCI every medium gets
freed before the job, and so the MessageQueue tries to unmount a medium
which does not exist. And, what might be more severe, the medium gets
destroyed without being unmounted !
===========================================================================
MARK: released openhbci-0.9.12 (2003/06/21)
===========================================================================
2003-06-21 Christian Stimming <stimming@tuhh.de>
* configure.in, openhbci.spec.in: Prepare for 0.9.12 release.
2003-06-15 Christian Stimming <stimming@tuhh.de>
* openhbci.spec.in: Fix plugin directory. Add Prefix: tag to
enable relocation.
* Makefile.am, configure.in, */Makefile.am: Fix make dist target.
2003-06-14 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxaccjobs.h: Added
OutboxJobGetTransactions::lastBalance() and C wrapper to manually
retrieve the balance from the GetTransactions job.
2003/06/14: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added a new field to Transaction: id. Some people asked me to make
transactions unique, and as I figured out when storing the transactions
within OpenHBCI's configfile the only way to make all transactions unique
is to assign an id *inside* OpenHBCI.
However, this only affects programs which let OpenHBCI store the
transactions (like all programs for now except GNUCash).
2003/06/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- MessageQueue::addSigner now only adds a signer to the queue if it does
not already exist
- changed API::bankList() to API::banks() (in analogy to bank::users() and
other methods).
The old methods are still around but will most likely be removed before
the release of version 1.0. If you want to make your programs fit for 1.0
you can define OPENHBCI_NO_COMPAT so that the old deprecated methods are
no longer defined. This will result in compile errors which make it easy
for you to spot the locations to change
- changed behaviour of swift parser: It now stores the full closing balance
if it gets one, instead of only a value. This is needed for the new
feature:
- JOBGetTurnover now detect the closing balance if the bank sends one. This
balance can now be used if the bank does not support the JOBGetBalance job.
- OutboxJobGetTurnover commits this additional information as the new
booked balance of the account upon commit().
- added comparison operators to HBCI::Time
2003/06/11: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- introduced a timeout to connection (as requested by Oliver Kopp)
- added this timeout to Loader (variable "sockettimeout")
- fixed a bug in Keyfile plugin: exited the ask-user-to-insert-correct-medium
loop too soon
2003/06/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in keyname handling: The name of the key owner was not unescaped
before storage, but escaped just before using it in a message. However,
that led to double escaping of the name, which is unintended behaviour.
- changed constructor of JOBDialogInit: The old one was to unspecific. Now
we can specify whether we want to get the bank's keys and some other actions
directly (e.g. the old constructor made JOBDialogInit draw the servers
keys even in KeyDisable jobs, which is at least undesireable).
- started debugging of OutboxJobDisableLostKeys, but it still doesn't work
with my bank :-/ (error: 9381: Fehlende Identifikation. What the heck does
that mean ??!)
2003/06/08: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- completed Ludolfs email address in the AUTHORs file after receiving his
authorization
2003/06/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- incorporated a patch submitted by Ludolf Holzheid. This patch fixes a bug
which caused OpenHBCI to recognize two identical transactions taken on the
same day without assuming the second one to be a duplicate.
Thank you very much, Ludolf !
- added Medium::setProperty and Medium::getProperty
2003-06-06 Christian Stimming <stimming@tuhh.de>
* configure.in: Ensure the environment variable SED is set.
* src/openhbci/api.cpp: Revert last change -- it introduced one
#else too much.
2003/06/05: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added a "throw" to _ensureMedium. If the plugin is not available and can
not be loaded the exception is thrown instead of trying to call a method
on the not-available pointer and thus provocing an exception of the
pointer class which is quite hard to interprete.
2003-06-04 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/account.h, src/openhbci/core/accountimpl.h:
Remove deprecated methods about account limit. In AccountImpl make
them private but declare HBCI::Loader as friend class.
* src/openhbci/core/interactorcb.h: Removed deprecated methods.
* src/openhbci/core/limit.h: Add C wrappers. Add static methods
for converting HBCI one-character limit type to the enum defined
here, and vice versa.
2003/06/03: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in configure script: Apparently newer versions of autoconf
do not previde the variables "libdir" et al which are known to work in a
Makefile inside the configure script. In fact using these variables in a
configure script is deprecated. So as a quick (and ugly) hack I replaced
"libdir" by "$prefix/lib" ("prefix" is available). Maybe we should change
this later.
- improved plugin loading: now the default location for plugins is
"$prefix/lib/openhbci/plugins" (now following the FHS, thus hopefully
making Debian people happy).
However, the old locations will scanned, too. This is done in a way that
in any case the newest plugins will be chosen:
for (VERSION=CURRENT; VERSION>=CURRENT-AGE; VERSION--)
for (pathname=DIRNAMES.begin(); pathname!=DIRNAMES.end(); pathname++)
check for plugins
As you can see the newest version from each location are scanned first, so
newer plugins at any scanned location will replace older ones.
- more debug output concerning plugin loading
- incremented BUILD number accordingly
2003/06/01: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in Makefile.am: Tried to statically link plugins before they
were build (reported and fixed by Ludolf Holzheid)
2003/05/29: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added methods Account::clearTransactions and Account::clearStandingOrders
which do what you would expect them to do.
- made some methods of Loader static, so that they can be used without a
reference to API.
2003-05-21 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/statusreport.h, statusreport.cpp: Added
MessageReference::cmp function as well as many more C wrappers.
2003-05-20 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjob.h: Fix include order for C programs.
2003/05/20: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in HKDAB segment (one "+" too much)
- fixed a bug in HKKAZ segment (sometimes one "+" short)
- fixed a bug in MediumKeyfile: was not asking for a NEW pin when creating
a new medium
- fixed a bug concerning synchronization (syncronization of systemid was
impossible when there already was a systemid. However, the specs state that
after not using HBCI for 6 months the bank is allowed to withdraw the
systemid thus forcing the client to synchronize again)
2003-05-19 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjob.h, outboxjob.cpp: Add C wrappers for
OutboxJob::messageReference.
* src/openhbci/outbox.cpp: Still improve the
customerQueue::removeByStatus, now with using Function objects and
STL standard algorithms where appropriate.
2003/05/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJobs::type() is public now, I don't even know why it was protected
in the first place. It is such a usefull method to programs...
- fixed a bug in Outbox. Note:
Deleting an entry from a list is not as easy as we thought ;-)
THIS way it works now as intended ;-)
2003-05-18 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/statusreport.h, statusreport.cpp,
src/openhbci/outboxjobs.h, outboxjobs.cpp: Add C wrappers for
StatusReport, list of StatusReport, MessageReference, and usage of
that in OutboxJobGetStatusReports.
2003/05/18: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- improved plugin system:
Now OpenHBCI expects plugins in
$PREFIX/share/openhbci/plugins/$VERSION/media
VERSION is the SO-version of the library libopenhbci.so.
Since the SO-VERSION is part of the PLUGIN_PATH, OpenHBCI will not
even try to load an incompatible plugin. Each version of OpenHBCI will
only load those plugins, which are suspected to work with OpenHBCI.
2003-05-18 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbci.h, hbci.cpp: Modify the default
systemVersion so that no dot between minor and patchlevel is not
used. Add C wrapper for setting systemVersion.
* src/openhbci/outboxjobs.h, outboxjobs.cpp: Add some C wrappers
for new JobGetStatusReports (needs more work, though).
2003/05/17: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- implemented status reports:
- added MessageQueue::messageNumber()
- added Job::startSegment() and Job::lastSegment()
- added OutboxJob::setMessageReference()
- added OutboxJob::messageReference()
- added OutboxJob::segmentForStatusReport()
- added files statusreport.{cpp,h}
- added SEGGetStatusReport and SEGStatusReport
- added JOBGetStatusReport
- added OutboxJobGetStatusReport
- Hbci::setSystemVersion now only reads the first 5 characters of the given
parameter
- Hbci::setSystemName now only reads the first 20 characters of the given
parameter
2003-05-17 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbci.cpp: Quick fix to not have a version
string longer than 5 characters.
* src/openhbci/core/messagequeue.cpp: Revert some debugLevel()
changes so that HBCI::debugLevel(3) (used from gnucash for turning
on debugging) actually prints out the HBCI segments.
2003/05/17: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in configure srcipt which occurred when statically linking
in external plugins
- included an OpenBSD fix
2003/05/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed an old bug in the specfile, which now prevents building RPM
packages on Redhat 8.0.
===========================================================================
MARK: released openhbci-0.9.10 (2003/05/16)
===========================================================================
2003/05/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added method MediumRDHBase::setSEQ() which allows setting the signature
sequence counter to a specified value.
- set SO-AGE to 0, we had some API changes since the last release.
2003/05/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed some bugs in the newly imported code. Sorry :-}
Now plugin loading works again.
2003/05/11: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added "prefix" to LibLoader and thus to all inheriting classes.
If this prefix is not empty, then it will be prepended to all symbols
which are to be resolved by the LibLoader.
This is needed to statically link in plugins.
- added code to configure.in that allows to determine whether plugin loading
is supported by the current system (depends on GCC which needs to have
version 3.0). If it is not supported, then the plugin rdhfile will be
statically linked to OpenHBCI.
- configure now scans the folder ext_plugins for more plugins to be
statically linked in. This way you only need to download other plugins
(like DDVCard) and decompress that package to ext_plugins/.
The configure script automatically adds the necessary code to init those
new plugins.
- plugins will only be statically linked in if plugin loading is not
supported
- on OpenBSD resolving symbols from a library opened via dlopen(3)
needs the prefix "_", otherwise the symbol can not be found. So LibLoader
now checks for both: symbol with and without a leading "_".
2003-05-10 Christian Stimming <stimming@tuhh.de>
* openhbci.m4: Reverted AM_PATH_OPENHBCI back to be using C
because configure scripts probably get broken when using C++
(Note: CVS log message for openhbci.m4 was misleading.)
2003-05-05 Christian Stimming <stimming@tuhh.de>
* openhbci.m4: Changed AC_LANG(C++) macro to AC_LANG_PUSH/POP in
order to not break configure scripts in C.
2003-05-02 Christian Stimming <stimming@tuhh.de>
* src/openhbci/plugin.cpp, mediumplugin.cpp, mediumpluginlist.cpp:
Add include <assert.h> to satisfy gcc3.3 systems.
2003/04/29: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in swiftparser concerning "storno" reports
2003-04-25 Christian Stimming <stimming@tuhh.de>
* openhbci.m4: Updated version check macro. It now uses C++
instead of plain C and therefore picks the right overloaded
Hbci::libraryVersion method anyway.
* src/openhbci/core/hbci.h, hbci.cpp: Reverted additional
parameter in HBCI_Hbci_libraryVersion -- it breaks existing
configure checks. Instead, created new additional functions for
four-digit version numbering.
* src/openhbci/api.h, api.cpp, mediumplugin.{h,cpp},
plugin.{h,cpp}, mediumpluginlist.{h,cpp}: Implemented C wrappers
for MediumPlugin functions.
* src/openhbci/mediumplugin.h, mediumpluginfile.h,
mediumpluginlist.h, plugin.h, pluginfile.h,
src/openhbci/core/libloader.h: Clean up includes: changed from ""
to <>, replaced unnecessary include files by forward
declarations. Improved doxygen comments.
2003/04/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- implemented mediumCheck() in KeyfilePlugin
2003-04-25 Christian Stimming <stimming@tuhh.de>
* src/openhbci/mediumplugin.h, mediumpluginfile.h,
mediumpluginlist.h, plugin.h, pluginfile.h,
src/openhbci/core/libloader.h: Make headers C compatible, declare
some C wrappers. Implementations still missing, though.
* src/plugins/keyfile/keyfile.h: Fix missing 'const'.
2003/04/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- MediumPlugin: Added method mediumCheck() which can be used to check whether
a name resolves to a usable medium.
A file medium might check whether the file has the correct format, a card
plugin might check whether the inserted card is the correct type.
The fallback of this method (which is not yet implemented by the plugins)
returns an error indicating that this method is not supported by this
plugin.
This method would allow me to remove the need to link AqMoney (or other
applications) against Libchipcard in order to check whether a card is
supported or not without the need to ask the user for a pin.
The only place where Libchipcard should be needed would be in a card plugin.
- added class MediumPluginList which holds exactly that.
An object of this class is returned by the equally new method
API::enumerateMediumPlugins().
This method scans the media plugin directory for files with the system's
extension for DLLs (".so" for Linux) and tries to load them all.
But this method only allows those pluginfiles to create a plugin, not to
register with OpenHBCI !
Thus simply scanning for plugins does not automatically register all of
them !
However, the new class MediumPluginList now contains an
application-browseable list of loadable media plugins.
AqMoney uses the new command "pluginlist" to show a list of currently
installed plugins.
2003-04-23 Christian Stimming <stimming@tuhh.de>
* doc/mainpage.txt: Moved mainpage text from openhbci.h to here.
* doc/pages-source.txt, Doxyfile.in: Added the inclusion of
doc/*.txt texts into doxygen output, section "Related Pages".
* doc/plugins.txt: Improved plugin description and tutorial.
2003-04-22 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbci.h: Removed (!) Hbci::hasLibchipcard() and
HBCI_Hbci_hasLibchipcard() since this function is now totally
meaningless and rather misleading.
* src/openhbci/api.cpp (HBCI_API_mediumType): Catch exceptions
gracefully in C wrappers.
2003/04/21: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- media plugins are now searched for in a subfolder of the plugin path
(PREFIX/share/openhbci/plugins/media)
- added method API::pluginPath() which returns the plugin path
2003/04/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed the autoconf-Problem with newer autoconf versions.
NOTE: Please do not use names of Macros in "fprintf" or other text output
functions within openhbci.m4. Autoconf seems to believe that something
went wrong if it encounters such a string within the constructed configure
script.
- MediumKeyfile: Added a multistep backup system for medium files.
Now before writing a keyfile previously existing ones will be renamed in
order to have at least one safe backup file in any case.
- added security warning so that users will not accidentally submit their
private keys. MediumKeyfile is now less verbous (needs higher debuglevels
to output trivial debugging information)
- added version checking to keyfile plugin
- keyfile plugin now uses authentificator instead of interactor to retrieve
the pin (was a bug, the pin retrieval MUST always be done using the
authentificator to allow other pin-getting methods)
2003/04/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- tried to fix a bug in SWIFTParser
- added option "--plugins" to openhbci-config. This returns the location
of the plugin files
- added parameter to HBCI::libraryVersion to return the build version as
well. The full version must be checked by plugins to allow CVS development
on plugins and OpenHBCI itself in parallel
- added a plugin framework description file for developers
- removed aqmoney.1 manpage
2003-04-16 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/libloader.cpp: Added error checking when
resolving symbols.
* src/openhbci/pluginfile.cpp: Implemented checking for the plugin
interface version number.
* src/openhbci/plugin.h, src/plugin/keyfile/keyfile.cpp,
src/plugin/ddvcard/ddvcard.cpp: Add version number for openhbci's
plugin interface system as an int symbol in the plugin files.
* src/openhbci/api.h, api.cpp (HBCI_API_mediumType): Added C
wrapper for the API::mediumType() method.
* src/openhbci/core/value.h, user.h, standingorder.h,
src/cmoney/*.c: Fix compiler warnings about non-C-style comments
in headers.
* src/openhbci/core/medium.h: Fix compiler warning about comma at
end of enumeration.
2003/04/15: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- WARNING: This CVS version breaks compatibility with existing
OpenHBCI versions !
You will have to update your programs to make use of this new version !
- created a Plugin infrastructure which is now used to provide a medium
- medium.h: generalized MediumType, this now only distinguishes
files from cards. This is all an application needs to know about
a medium
- removed MediumDDV, MediumKeyfile and MediumRSACard. These are now provided
by plugins
- API: changed parameters for methods mediumFactory and createNewMedium,
added some methods concerning plugins.
- Medium*:
- nearly all methods which returned a bool do now return an Error
- mountMedium no longer takes the User as an argument, since the owner
of the medium is already stored within a medium (set by Loader)
2003-04-13 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/rsakey.cpp: Fix for the new openssl version
(0.9.6j and 0.9.7b):
'e' is now also set in private keys, since openssl calculates some
random data where it needs 'e' (blinding).
2003/04/08: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added methods/constructors to classes File and SimpleConfig which allow
to work on stdin, stdout and stderr. This way we can read transaction files
from stdin and write them to stdout.
2003-04-05 Christian Stimming <stimming@tuhh.de>
* src/openhbci/api.cpp, src/openhbci/core/account.h,
accountimpl.cpp, accountimpl.h, bank.h, bankimpl.cpp, bankimpl.h,
medium.cpp, medium.h, mediumkeyfile.cpp, mediumkeyfile.h,
user.cpp, user.h: Partially reverted last change: Removed clear()
method again. This method would mean introducing a second
destructor-Method, and it is not at all clear which parts of an
object should be deleted in the conventional destructor and which
ones in clear(). Therefore I implemented a different solution:
Force a deletion of Pointer<>-stored objects in the conventional
destructor and at the same time set these Pointers to
non-autodelete. To my knowledge, this is sufficient to delete the
cross-linked objects. It has the advantage that all deletion
happens inside the destructor and there is no ambiguity between
more than one destructor function.
2003/04/03: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added "clear()" method to all important classes. This is needed, because
most classes are crosslinked, and so nearly no destructor is ever called.
Now the class API calls "clear()" of each bank, which in turn calls this
method on all users and accounts. This way cross referencing is solved.
Please note that the destructors of all classes which have a clear() method
should be prepared that the clear() function has been called ! This means
the destructor really should not do anything important. Those thing
should be handled by "clear()" now.
- added "owner()" and "setOwner()" to medium. This way we can get rid of the
situation where the medium needs to know its owning user (like in
"changePin()")
We really should think about removing the "user" part from mountMedium()
and other methods :-/
- please remember that we have to increment both SO number and AGE prior
to next release !
===========================================================================
MARK: released openhbci-0.9.9 (2003/03/30)
===========================================================================
2003-03-30 Christian Stimming <stimming@tuhh.de>
* openhbci.m4: Update automake macro to support the new
VERSION_BUILD number.
2003/03/30: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added new version part: OPENHBCI_VERSION_BUILD
This can be used to easily distinguish between CVS versions.
Note for CVS-developers: Please increment the BUILD version tag whenever
there you add new features.
- incremented version numbers prior to possible next release
2003-03-23 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/accountsegs.cpp: Patch by Ludolf Holzheid to
fix problems wit HKKAZ.
* src/openhbci/outboxjobkeys.cpp, src/cmoney/*.c: Fix compiler
warnings.
* acinclude.m4, configure.in: Add macro AS_SCRUB_INCLUDE so that
gcc3 compiler warnings about 'reordering system include paths' go
away. Added configure argument --enable-error-on-warning.
2003/03/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- openhbci-config is now enlisted as "bin_SCRIPT". This allows handling of
this like all other binaries. It is especially now removed from system by
"make uninstall"
2003-03-06 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/account.h: Add C wrappers for instituteCode in
account. Improved documentation.
2003-03-04 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/api.cpp: Fix in findAccount(...). Now accounts that
have another institute id then the bank object they belong to can
be searched.
* src/openhbci/core/account.h: Added the medthods "instituteCode"
and "countryCode" from AccountImpl to Account. We need this
information when creating transactions ...
* src/openhbci/core/bank.h: Added documentation to Bank.bankCode()
and Bank.countryCode() - it should not be used for creating
transactions... (use Account.instituteCode()/Account.countryCode()
instead)
* src/openhbci/core/bank[impl].{cpp,h}: Added method to delete
institute messages
2003-03-02 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/medium*{cpp,h}: Methods for changing the pin that
protects a medium and modifying its content (institute code, user
id ...)
* src/openhbci/loader.cpp: Fixed a but in saveAccountParams (the
institute code of the bank-object instead the one of the
account-object was used)
* src/openhbci/core/accountsegs.cpp: GetBalance ... now use the
institute code of the account object instead the one of the bank
object
2003-03-01 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjobkeys.h: Fixed i.e. removed default
arguments from C functions -- C doesn't have that.
2003-02-26 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/rsakey.{cpp,h}: Added methods to set the
version numbers of a key, changed the padding from "padding to 786
bit" to "padding to length of modulus" (might be a fix for the
HVB-problem and should be ok since StarMoney does it this was;-)
* src/openhbci/outboxjobkeys.{cpp,h}: The ChangeKeys-job is now
tested and works (at least with ppi)
2003-02-21 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/outboxjobkeys.{cpp,h}: Added a new job to change
the cryptographic keys.
* src/openhbci/core/admin{jobs,segs}.{cpp,h}: Support for the job
mentioned above.
* src/openhbci/progressmonitor.h: New JobProgressType
"JOB_CHANGE_KEYS"
* src/openhbci/api.h: Added OutboxJobChangeKeys to "friend"-list
of API (for postprocessInitJob).
* Note: The job is not yet testet and will probably contain bugs
2003-02-18 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/outboxjobkeys.{cpp,h}: Added two new jobs to
disable the cryptographic keys. One if you still have access to
your keys, one if you have lost them.
* src/openhbci/core/admin{jobs,segs}.{cpp,h}: Support for the two
jobs mentioned above.
* src/openhbci/progressmonitor.h: New JobProgressType
"JOB_DISABLE_KEYS"
* src/openhbci/api.h: Added OutboxJobDisableKeys to "friend"-list
of API (for postprocessInitJob).
===========================================================================
MARK: released openhbci-0.9.8 (2003/02/19)
===========================================================================
2003/02/18: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed output of "openhbci-config": "-lchipcard" is now removed, because
if OpenHBCI was compiled with Libchipcard-Support this dependency already
exists. So there is no need to make an application depend directly on
Libchipcard.
- incremented minor SO version number
2003-02-18 Fabian Kaiser <fabian@openhbci.de>
* configure.in: Changed version of openHBCI from 0.9.7 to 0.9.8
2003/02/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed serious bugs in DDV card code. Might have caused applications to crash
when the false card was inserted.
2003/02/15: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed warning about using Libchipcard 0.7.
- openhbci-config now uses "/bin/sh" instead of "/bin/bash"
2003-02-14 Christian Stimming <stimming@tuhh.de>
* openhbci.spec.in: Canonify openhbci.m4 reference in spec file.
2003/02/14: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added new error codes for sockets: System call interrupts should be
treated as soft errors instead of hard ones.
- implemented check for new interrupt error in connection.cpp
2003/02/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added openhbci.m4 to rpm specfile
2003-02-10 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/bank.cpp, customer.cpp, hbci.cpp,
interactor.cpp, medium.cpp, standingorder.cpp, transaction.cpp,
user.cpp: In C wrappers, be even more paranoid about possible NULL
char* pointers.
* src/openhbci/core/medium.h, mediumddv.h, mediumrdhbase.h,
mediumkeyfile.h, mediumrsacard.h: Made first argument of
Medium::mountMedium to be optional. Adapted C wrappers.
* src/openhbci/api.cpp: In C wrappers, be even more paranoid about
possible NULL char* pointers.
2003-02-09 Christian Stimming <stimming@tuhh.de>
* openhbci.spec.in: Fixed some problems in the RPM spec file.
===========================================================================
MARK: released openhbci-0.9.7 (2003/02/06)
===========================================================================
2003/02/06: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- incremented version numbers prior to next release
2003-02-04 Christian Stimming <stimming@tuhh.de>
* openhbci.spec.in: Updated RPM spec file, by Chris Lyttle
<chris@wilddev.net>.
2003/02/01: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in socket.cpp
===========================================================================
MARK: released openhbci-0.9.6 (2003/01/31)
===========================================================================
2003-01-31 Fabian Kaiser <fabian@openhbci.de>
* configure.in, openhbci.spec.in: Added the new limit.h to the
list of Doxygen-files/RPM-spec
* src/openhbci/loader.cpp: Fixes a bug the account limits (this
has never worked since the account-limits were always overwritten
by the job-limits.
* src/openhbci/outboxstojobs.{cpp,h},
src/openhbci/outboxaccjobs.{cpp,h}: Added static methods to query
the job-limit.
* src/openhbci/core/adminsegs.cpp: Fixes the
SEGCryptesHead::toString, here the customer-id was used instead of
the user-id in "DE keyname" when using ddv.
* src/openhbci/core/{Makefile.am, account.h, accountimpl.{cpp,h},
updjob.{cpp,h}, limit.{cpp,h}: Added a new class "Limit" for
better handling of account-/job-limits. Marked the old
limit-methods in account "deprecated" and added the new
limit-query-method.
2003/01/31: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- adjusted version numbers prior to release 0.7.6
2003-01-30 Christian Stimming <stimming@tuhh.de>
* src/cmoney/createuser.c: The #include <openhbci.h> breaks the
build on yet other systems. I don't need it anyway, so I removed
it.
2003-01-30 Fabian Kaiser <fabian@openhbci.de>
* src/cmoney/createuser.c: The "#include <openhbci/openhbci.h>"
broke the build on systems that don't have the includes already
installed (changed to "#include <openhbci.h>")
* src/openhbci/core/standingorder.{cpp,h}: Removed the deprecated
methods that have moved to OutboxJobXXXStandingOrder.
* openhbci.spec.in: Added mediumrsacard.h and openhbci.m4 to the
rpm-spec.
* src/cmoney/Makefile.am: cmoney is not installed anymore
* src/openhbci/api.{cpp,h}, loader.cpp,
src/openhbci/core/adminjobs.cpp, user.{cpp,h},
userparams.{cpp,h}: Handling for the UPD-parameter
"UPD-Verwendung" which gives information about the bank tells us
which jobs are supported or not. As this information was not
processed in openHBCI until now, you might reset the
UPD-version of your users to "0". This way, the UPD are sent to you
during the next dialog initialisation. Not resetting the UPD is
no problem but you won't be able to get this "support"-information.
2003-01-29 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxstojobs.h: Add C wrappers for OutboxJobs with
StandingOrders.
* src/openhbci/core/standingorder.h: Add C wrappers for
StandingOrder.
* src/openhbci/outboxaccjobs.cpp,
src/openhbci/core/accountimpl.cpp,
src/openhbci/core/accountsegs.cpp: Fix compiler warnings: line
accountsegs.cpp:661: "jp" might be used uninitialized.
* src/openhbci/core/medium.h,.cpp, mediumrdhbase.h,.,cpp: Add more
C wrappers.
* src/openhbci/core/mediumddv.h,.cpp: Add C wrapper typedef for
MediumDDV which wasn't there before. Add C wrappers.
* src/openhbci/openhbci.h.in: Include mediumddv.h in the headers
available from C.
* src/openhbci/api.h,.cpp: Add more C wrappers.
* src/cmoney/createuser.c, src/cmoney/*.c: Fix some compiler
warnings. Test whether mediumddv.h is correct for C.
2003-01-29 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/accountimpl.{cpp,h} ,
src/openhbci/outboxstojobs.{cpp,h}, outboxaccjobs.{cpp,h}: The
jobs that deal with "Geschaeftsvorfaelle" now can give
information about support for specified accounts.
2003-01-28 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/bank.h, bank.cpp: Add C wrappers for
HBCI::instituteMessage.
* src/tools/rdhconverter/main.cpp: Add using namespace std to
satisfy gcc3.
2003/01/27: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added specialized error codes suitable for chipcard support.
This allows for better feedback when using chipcards as media.
2003-01-27 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumkeyfile.cpp: Clean up usage of error
codes.
2003/01/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in MediumKeyfile::createMedium: Did not ask for a pin when none
was given
- fixed a bug in src/openhbci/Makefile.am: Target "install-exec-local" did
not honour $(DESTDIR)
2003-01-26 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/outboxstojobs.cpp: Now the standing order jobs can
return the the HBCI::StandingOrder they are handling (see
Transaction &OutboxJobTransfer::transaction())
* src/openhbci/core/accountsegs.cpp: In
SEGStandingOrder::toString, the execution date is now set only if
it is valid. An invalid date should be set if the bank does not allow
terminable deletions of standing orders.
* src/openhbci/outboxstojobs.h: Added information about the
"invalid-date" to the documentation of
OutboxJobDeleteStandingOrder.
* src/openhbci/core/job.cpp: Fixed a stupid bug I introduced when
I added unescaping of segment responses (Aufsetzpunkt was broken).
2003-01-25 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/{posix,windows}/socket.{h,cpp}: Applied the
new error codes.
* src/openhbci/api.h, api.cpp, src/openhbci/core/Makefile.am:
Removed connection.h from the includes list, since the forward
declaration is enough in api.h -- only in api.cpp you need the
actual header. Also, removed connection.h from being installed at
all.
* src/openhbci/core/connection.{h,cpp}: Changed Connection::open()
to return an Error instead of a bool, to have more detailed error
messages. Note: Fortunately this doesn't change the API, since
with the above change in api.h the header connection.h is no
longer visible for an application anyway -- unless an application
was using the (internal) class Connection! If that is the case,
please revert this change for now, and I'll come up later with a
better solution. (sorry, I can't send/receive emails this
weekend.)
* src/openhbci/core/error.h: Add error codes for 'connection
refused'.
2003-01-24 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/outboxaccjobs.cpp: fixes the bug that a wrong
bpd-parameter was used to query the allowed transaction codes in
OutboxJobTransfer
* src/openhbci/outboxaccjobs.{cpp,h}, outboxstojobs.{cpp,h}:
the return type of
OutboxJob{Transfer|NewStandingOrder}::transactionCodes() is now
list<int> because of setTransactionCode(int)
2003-01-24 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/outboxaccjobs.{cpp,h}: added class methods to
query the number of allowed dscription lines ...
* src/openhbci/outboxstojobs.{cpp,h}: copied the class
methods from HBCI::StandingOrder to query the allowed parameters
for a new standing order.
* src/openhbci/core/standingorder.h: marked the methods mentioned
above as deprecated
2003-01-23 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/job.cpp, messagequeue.cpp: Unescaping for the
segment response (jobs and general response).
2003/01/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- socket.cpp/socket.h: fixed a design flaw which prevented some clients to
connect to the server
- added "addAuthorizedCustomer()" to class Account. It is already defined in
AccountImpl, but not accessable from outside OpenHBCI.
The reason why I need this is that some banks to not provide an account
list. So in this case we have to create an account manually. But when doing
so we always create an account to which no one has access, since the list
of authorized users is empty. So we need to be able to add an entry from
inside an application.
2003/01/09: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- possibly fixed the umlauts problem in SWIFTParser
2003/01/06: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- openhbci-config is now installed with $(DESTDIR) prefixed.
===========================================================================
MARK: released openhbci-0.9.5 (2003/01/05)
===========================================================================
2003/01/05: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- updated version info prior to next release
- excluded test subdir from normal make
2003-01-04 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/interactorcb.{h,cpp}: Added callback code for
the new notification functions.
2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumrsacard.h: Fix the compatibility
#ifdefs (this time hopefully in the correct way).
2002/12/30: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- corrected a minor bug in the media code:
if you previously aborted an operation, then most following operations
which call Interactor::keepAlive() failed, because the "abort" flag
was never reset.
- MediumDDVCard and MediumRDHCard now overload the method CTCard::doCallBack
and call "Interactor::keepAlive", so that a long term chipcard action can
now be aborted by the user (as shown in the latest CVS version of KOpenHBCI)
2002-12-28 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/error.cpp, mediumrsacard.h,
src/openhbci/api.cpp: More compatibility work.
* configure.in: Add libchipcard version check -- still only 0.6.0
is required, but this can be changed to a higher version number
any time now.
2002/12/27: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added two methods to HBCI::Interactor which are called when performing
secure pin verification using the keypad of a card reader. Now you are
informed about the need for entering the pin.
- added the configure switch "--enable-rsacard" which does exactly that.
Well, for now the code for RSA cards is not part of OpenHBCI, since it
has to undergo some more tests.
- fixed some compile errors for FreeBSD 4.6.2.
- removed test "AC_TYPE_SOCKLEN_T" and all occurrences of "socklen_t" in
the socket code, since at least FreeBSD fails this test and does not
allow compiling important parts of OpenHBCI.
2002/12/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added support for RSACards (temporary disabled)
You will need the latest CVS version of LibChipCard for this to work
(0.7beta1 does not suffice, but 0.7beta2 does)
- adapted DDV code to latest CVS version of LibChipCard
- moved some Medium code that existed in all Medium classes to the base class
- added a parameter to MediumRDHBase::createUserKeys() to allow later
activation of created keys (as discussed in openhbci-devel)
- added methods activateKeys(), tempSignKey() and tempCryptKey() which will
be usefull for a key change job
- fixed a bug in debugcode of messagequeue.cpp which has been reported to
cause segfaults when the debug file could not be opened
2002-12-26 Christian Stimming <stimming@tuhh.de>
* src/openhbci/api.h: Add some function documentation.
2002-12-14 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/bank.h: Add findJob() method with C wrappers.
* src/openhbci/core/bpdjob.h: Add C wrappers.
2002/12/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added support for LibChipCard v0.7
- posix/socket.cpp: "PATH_MAX" is now defined if it not already was
2002-12-10 Christian Stimming <stimming@tuhh.de>
* src/openhbci/tree.h, src/openhbci/core/messagequeue.cpp,
deskey.cpp: More gcc3.2 fixes.
* src/openhbci/core/error.h, deskey.cpp: Inserted Using namespace
std; to work around problems with older libchipcard.
2002-12-09 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/listwrappers.h: Inserted a "using namespace
std" in the __cplusplus-part to satisfy gcc 3.2
2002-12-08 Christian Stimming <stimming@tuhh.de>
* src/openhbci/Makefile.am: Increment library interface number
(since functions were added) but also set age=1 since nothing was
removed or changed. (in accordance with libtool manpages)
2002-12-07 Christian Stimming <stimming@tuhh.de>
* configure.in: Incremented version number due to upcoming release
and because of latest API additions.
* src/openhbci/core/bank.{h,cpp}: Added C wrappers for
hbci-version management.
* src/openhbci/core/listwrappers.{h,cpp}: Added separate file for
C wrappers for list<int>.
2002/12/02: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in HBCIString, which caused it to take an umlaut for a blank
(or even worse: for an EOL).
2002/11/04: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added MediumRDHBase::resetSEQ to reset the sequence counter.
You may need this after multiple unsuccessful tries to send your keys to
the server
2002-10-28 Christian Stimming <stimming@tuhh.de>
* src/openhbci/api.cpp, src/openhbci/core/medium.cpp: Catch even
more exceptions in the C wrappers to avoid uncaught exceptions
propagating into the application.
2002-10-27 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/error.h: Fix header for C wrappers.
Add more specific error codes.
* src/openhbci/api.cpp: For single errors during executeQueue,
return those specific errors instead of a general one.
2002/10/27: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a severe bug in MediumKeyfile
- added a new constructor to Error, which allows returning an error by
referring to another one ;-) Please see the documentation, it's quite
exhaustive ;-)
- added another constructor to Error, which converts a LibChipCard error into
a HBCI::Error.
- MediumKeyfile:
- now the only place where the pin is asked for is mountMedium()
- that is the only place where we check whether the file to mount
already exists. If it does not the user is asked to mount it (in
case it is a mountable medium like a floppy disc)
- Medium in common: mountMedium() now returns a HBCI::Error to give a more
precise feedback
2002-10-26 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumkeyfile.cpp: Comment out the automatic
PIN-question in *writeFile* since this is much more likely to
accidentally overwrite files compared to the usefulness. Needs
more discussion though.
* src/openhbci/core/date.cpp: Fix stuuupid typo in C wrapper of
HBCI_Date_new, which prevented gnucash from using it.
2002/10/22: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- The name of the institute key is now properly escaped
2002-10-20 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumkeyfile.cpp: Use the newly defined error
codes.
* src/openhbci/core/error.h: Add definitions for specific error
codes, to mark some *very* specific errors.
2002-10-19 Christian Stimming <stimming@tuhh.de>
* src/openhbci/loader.cpp: Only create a customer if a loaded user
has zero customers.
===========================================================================
MARK: released openhbci-0.9.2 (2002/10/19)
===========================================================================
2002/10/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed version numbers etc for next release.
- fixed all Makefile.am to be used with newer autotools.
2002-10-19 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/adminsegs.cpp: According to Martin's proposal,
use the User-ID in HKSAK instead of customerID. Fixes problems
with Deutsche Bank.
2002-10-18 Christian Stimming <stimming@tuhh.de>
* acinclude.m4, configure.in, ltmain.sh,
src/openhbci/core/posix/datetime.h,
src/openhbci/core/posix/socket.cpp: Patch for Mac OS by "Peter
O'Gorman" <peter@pogma.com>.
2002/10/17: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- MessageQueue:
- fixed a typo
- probably fixed the cause for crash in Debugmode
- added debug message showing the encrypted message, in case we need to
review the key
- Connection: verbosity now depends on the Debuglevel, not on
"#ifdef DEBUGMODE"
2002/10/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OpenHBCI will abort the a bankQueue if the connection is broken
- now hopefully using correct IDs for HKVSK etc.
- added cryptKeyOwner() to MediumRDHBase and inheriting classes
2002-10-16 Christian Stimming <stimming@tuhh.de>
* src/cmoney/interactor.c (msgInputPin): Replace gets by fgets.
===========================================================================
MARK: released openhbci-0.9.1 (2002/10/16)
===========================================================================
2002/10/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed version numbers etc for next release.
2002-10-15 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/hbcistring.cpp,swiftparser.cpp: Fixed some
include-directives for gcc3.2.
Note: "unary_function"s like "toupper(), isdigit()..." need to include
"<cctype>". Use of "cerr, cout, endl"... requires "<iostream>".
The new headerfiles don't contain some includes anymore so they have
to be included by hand.
2002/10/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- now only a single library is installed, no further need for the core
library.
2002/09/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HNHSK should take the user id instead of the customer id. Fixed.
- added verbosity to MediumDDV
2002-10-07 Christian Stimming <stimming@tuhh.de>
* src/openhbci/progressmonitor.h,
src/openhbci/core/windows/datetime.h: Add using namespace std.
2002-10-03 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcistringlist.h: Added list_string_concat C
functions to convert lists of strings into one long string. (Gee,
I should've come up with that idea way earlier.) Fix headers in
hbcistring.h.
* src/openhbci/core/hbcistring.{h,cpp}: Fix locale-problems of
string2double function by using the Value()-constructor. Commented
out several obsolete and unused functions.
* src/openhbci/core/accountjobs.cpp: Add stderr-dumping of
transaction list, if debugLevel()>2.
* src/openhbci/core/swiftparser.cpp (transactionReport): Add some
consts. Add dump() method.
* src/openhbci/core/date.cpp: Fix serious bugs in conversion
HBCI::Date->struct tm, as necessary for the C wrappers.
2002-10-01 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/value.cpp: Eventually fixed the floating value
conversion headache by temporarily modifying the locale. Ouch.
2002-09-26 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/date.{h,cpp}: Add conversion routines to
time_t type and more comparison functions, and C wrappers for it.
* src/openhbci/core/value.{h,cpp}: Rewrote the string/Value/string
conversion routines to correct the latest bugs here. Added
Value::currencyPrecision() that returns the ISO-4217 decimal
precision for given currencies.
* src/test/test-value.cpp: Add test program for HBCI::Value
implementation.
===========================================================================
MARK: released openhbci-0.9beta3 (2002/09/24)
===========================================================================
2002/09/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a severe bug which corrupted negative values
Checking out the new version is strongly advised !
2002-09-23 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/transaction.{h,cpp}: Make more C return types
const.
* src/openhbci/core/medium.h: Fix includes for C wrappers.
2002-09-19 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumrdhbase.h,
src/openhbci/core/mediumkeyfile.h,
src/tools/rdhconverter/mediumrdh.cpp: Removed _path data member in
base class since this already exists and belongs to the derived
class.
* src/openhbci/core/value.h: Add C wrappers for constructor
(oops).
2002-09-18 Christian Stimming <stimming@tuhh.de>
* openhbci.m4: Add proper macro to be used by autoconf in
applications.
* src/openhbci/core/mediumkeyfile.cpp: Condition debugging output
on debugLevel.
2002-09-17 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/customer.{h,cpp}: Made more C wrappers use a
const object.
===========================================================================
MARK: released openhbci-0.9beta2 (2002/09/12)
===========================================================================
2002-09-07 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjobs.h: Add C wrappers.
2002-09-01 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumrdhbase.{h,cpp}: Add C wrappers.
2002/08/31: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- bpdCom did not initialize "language", so sometimes we got random values
here provocing a syntax error in messages.
- removed debug stuff from MediumKeyfile
2002/08/28: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed old MediumRDH from openhbci library (it is now part of the
new rdh conversion tool).
- added new tool "rdhconverter" which converts an old keyfile to the new
version.
Please note that this branch of OpenHBCI does not allow using old keyfiles !
Therefore you will have to convert them using this new tool.
Try "rdhconverter --help" for a detailed description.
2002/08/22: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- Medium: added hbci()
- Interactor:
- changed msgInsertCardOrAbort to msgInsertMediumOrAbort
- changed msgInsertCorrectCardOrAbort to msgInsertCorrectMediumOrAbort
Both now take an argument which describes which type of medium is to be
inserted (either card or file)
- API:
- mediumFactory now takes MediumType as second argument, not the
security mode
- MediumRDH: Now inherits MediumRDHBase
- removed all "dynamic_cast"s to MediumRDH, we now cast to MediumRDHBase,
which is the new base class for all RDH media.
2002-08-26 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/mediumrdh.cpp: Fixed the bug that was
responsible for breaking the institute-keys on a rdh-medium.
The whole trouble came from the fact that pointers are a bitch;-)
2002-08-25 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/rsakey.cpp,h: Moved the "#include
<openssl/rsa.h>" from header to implementation-file. This way
there is only one point left (libchipcard/chipcard.h) where the
OpenSSL-includes are required to be present for an application to
compile.
2002-08-22 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/api.cpp: API::bankFactory(...) - the bank-language
is now set the HBCI_LANGUAGE_GERMAN as default. Otherwise the new
HBCI::Bank is broken due to some nice random valuse for
Bank::language().
2002-08-22 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/value.cpp,h: Fixed the fix.
Now a HBCI::Error is thrown if the value-string in
HBCI::Value(string) is malformed.
2002-08-22 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/value.cpp: Bugfix, if the decimal-delimiter is
set to "," instead of "." for your system, all values (balance,
limits, turnover-values...) were set to XXX.00 instead of
XXX.YY. Very interesting that nobody ever noticed it before...
2002-08-21 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/account.h, accountsegs.cpp, bank.h,
bankparams.h, customer.h, error.h, hbcistringlist.h, rsakey.cpp,
standingorder.cpp, standingorder.h, user.h: Patch by Benoit
Grgoire <bock@step.polymtl.ca>: The changes needed to get it to
compile on Mandrake cooker.
* src/openhbci/core/interactor.cpp: Make Interactor::keepAlive
only output messages if debugLevel>0.
2002-08-20 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumrdh.cpp: (readFile) fix list clearing;
still needs testing, though.
2002-08-19 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/job.h: Fixed a compiler-warning due to
some missing /* */ after an #endif
* src/openhbci/core/bank.h, bankimpl.h: Moved version(),
setVersion(int) from BankImpl to Bank::bpdVersion(),
Bank::setBPDVersion(int). Needed to reset the BPD-Version after
a change of the bank's HBCI-Version.
2002-08-19 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/job.h: Added C wrapper for
errorcodeIsLibraryBug.
2002/08/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in jobQueue which caused it to only remove ONE job when
performing removeByResult() or removeByState().
- introduced debugLevel() and setDebugLevel() to HBCI which is used when
printing debug output
- debug output of some of the most important methods in HBCI::API
is now diverted to the ProgressMonitor.
2002-08-16 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjob.h, outbox*job*.h: Added resultCodes() in
all OutboxJobs to enable detailed error analysis. Also, added C
wrappers for that and for list<int>.
* src/openhbci/core/messagequeue.h: Improved docs. Commented out
the deprecrated-printf in getResult().
* src/openhbci/core/job.h: Added errorcodeIsLibraryBug to check
for precisely that.
* src/openhbci/core/mediumrdh.{h,cpp}: Added getInstKeyNumber,
getInstKeyVersion for iniletter.
2002-08-15 Christian Stimming <stimming@tuhh.de>
* src/openhbci/api.cpp: Fix callings of the ProgressMonitor.
* src/openhbci/outbox.{h,cpp}: Added Outbox::allDialogJobs(),
needed by API to correctly calculate the number of jobs per
transaction.
* src/openhbci/outboxjob.h: Added friend class customerQueue since
this one needs an internal OutboxJob function. Improved docs.
2002-08-14 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/interactor.h: Added some C wrappers.
2002/08/14: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- moved remaining files to LGPL
2002/08/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- MediumDDV:
- adjusted to recent changes in libchipcard
- removed unused constructor parameter "slot"
2002-08-13 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/mediumrdh.h, mediumddv.h: Made much more
methods private, as discussed on openhbci-general. Added
MediumRDH::hasInstSignKey() to query exactly that.
NOTE: MediumRDH::instPubSignKey turned private, so if your
application used this to query whether there is a sign key, then
now you need to switch to the new hasInstSignKey() method.
* src/openhbci/core/medium{,rdh,ddv}.h: Improved
documentation. Made mediumName() return a const string& (since
this was trivially achievable).
2002/08/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- adjusted MediumDDV to recent changes in libChipCard. Of course it also
continues to compile with older versions.
- AccountImpl: Added removeAuthorizedCustomer()
- BankImpl: removeUser now removes all if its customers from all the banks
accounts.
2002-08-13 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjob.h: Add C wrappers for status queries.
* src/openhbci/api.h: Added C wrapper for API::interactor().
* src/openhbci/core/interactor.h: Added C wrapper for logging
function.
2002-08-12 Christian Stimming <stimming@tuhh.de>
* src/openhbci/api.cpp (createNewMedium): Added one single PIN
query instead of having several of them.
* src/openhbci/core/mediumrdh.h: Made the minimum PIN size a
static class constant.
* src/openhbci/*: Improved API documentation all over the place.
* src/openhbci/core/bank.h: Add HBCI_Bank_hbci C function.
* src/openhbci/core/medium.h: Added the pin argument to C wrappers
for mount/unmount medium.
* src/openhbci/progressmonitorcb.h,
src/openhbci/core/interactorcb.h: Changed class so that it also
stores a user_data pointer and passes it on to the callback
functions. Also, all callback functions have to be passed in the
constructor (however, all of them may be NULL).
2002-08-10 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbci.h: added Hbci::hasLibchipcard to answer
this question at runtime.
* src/openhbci/api.h, src/openhbci/core/bank.h, user.h, medium.h:
Catch exceptions that might be thrown by the C++ method, and
return the HBCI_Error pointers instead of nothing in the C
wrappers.
* src/openhbci/core/medium.{h,cpp}: Add some more C wrappers for
HBCI_Medium.
* src/openhbci/core/mediumrdh.{h,cpp}: Add even more C wrappers
for HBCI_MediumRDH, esp. to get data for the ini-letter.
2002-08-09 Christian Stimming <stimming@tuhh.de>
* src/openhbci/api.{h,cpp}: Added totalAccounts() and totalUsers()
and their C wrappers to make counting those easier.
* src/openhbci/core/account.h, bank.h, customer.h,
hbcistringlist.h, standingorder.h, transaction.h, user.h: Added
list_*_foreach C function that makes it much easier to traverse
the lists of those Classes.
2002-08-02 Christian Stimming <stimming@tuhh.de>
* src/aqmoney: removed aqmoney again so that it will reside within
its own project from now on again.
* src/openhbci/core/Makefile.am: Removed some headers from
iheader_DATA so that they are not installed, since they are used
internally only.
2002/08/02: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- AqMoney now includes "openhbci.h" instead of "openhbci/openhbci.h"
- minor fixes/changes in configure script
2002-08-01 Christian Stimming <stimming@tuhh.de>
* src/openhbci/*: THE GREAT FILE RENAMING! All hbci*.h files have
been renamed to *.h, so that the initial hbci prefix is gone not
only in the class name but also in the file name. The only
exception is hbcistring.h which kept the hbciprefix, since
otherwise we would collide with libc's <string.h> all too easily.
* src/openhbci/*: Improved docs (especially non-documented method
arguments, since newer doxygen versions complain about those
quite annoyingly).
* src/openhbci/hbciapi.{h,cpp}: Added HBCI_API_bankList().
Commented out some C wrappers again (for convenience object
retrieval) since those are avaliable in the HBCI::Bank.
* src/openhbci/core/hbcibank.{h,cpp}: Added list_HBCI_Bank type.
2002-07-30 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcirsakey.{h,cpp}: Removed istream/ostream
related methods as announced on openhbci-general on 2002-07-25.
* src/openhbci/core/hbci.{h,cpp}: Made Hbci::libraryVersion
static, since this property is not object-specific.
2002-07-29 Christian Stimming <stimming@tuhh.de>
* src/cmoney/*: Made cmoney compilable again.
* src/openhbci/*.{h,cpp}: Renamed all C wrappers so that they are
in accordance with the HBCI_MyClass_MyMethod convention.
2002-07-28 Fabian Kaiser <fabian@openhbci.de>
* src/*{cpp,h}: All classes moved to namespace "HBCI".
The classes named "HBCIxxx" have been renamed to "xxx", classes
that had no such prefix have also moved to namespace "HBCI".
For the c-wrappers there are still typedefs named "HBCIxxx".
The old class HBCI has been renamed to Hbci because C++ doesn't
like classes with the same name as the namespace;-)
2002/07/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJobGetAccounts now sets the result. Since the job itself does
nothing this result will always be "ok".
- reverted change of HBCI_LANGUAGE since that breaks compilation of AqMoney
and other apps. That made setting the language more difficult.
- changed language in HBCIBank to int (from string). Now the value of the
bank is used in initialisation of dialogs.
- removed HBCI::_dialogLanguage, since it is not used anymore.
2002-07-26 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbci.h, src/openhbci/hbciapi.h: Changed
HBCI_LANGUAGE from anonymus to named enum.
* src/openhbci/openhbci.h.in: Removed inclusion of openhbci-core.h
so that openhbci-core.h can go away soon.
2002/07/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIBank/Impl: added removeAccount().
- HBCIConnection: added error checks
2002/07/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- aqmoney and cmoney are now included in normal make again.
I removed that while changing include statements in OpenHBCI.
- "openhbci" folder (where all header files are linked to upon configure
invocation) is now removed and recreated prior to linking the headers.
2002-07-25 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcirsakey.{h,cpp} (loadDataFromString):
Replaced the LAST non-trivial macro (woo-hoo) by a function after
review by Fabian.
2002-07-25 Fabian Kaiser <fabian@openhbci.de>
* src/openhbci/core/bankparams.cpp: If a job with the specified
segment version (between versionMin and versionMax) could not be
found, we simply return the one with the highes version number (if
none at all could be found, we still return NULL;-)
2002/07/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJob: description is public again (why did Christian change that
to protected anyway ?). This method is needed by some applications,
at least by mines.
- HBCIMediumDDV now checks whether the CardReader has a keypad. If so this
will be used to make the user enter the pin. Now entering the pin is quite
sure when used with an appropriate terminal and a chip card.
2002/07/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- header files are now installed to ${includedir}/openhbci. Changed all
header files to reflect this situation
2002-07-24 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcijob.{h,cpp}h, *jobs.{h,cpp}: Added many
consts all over the place.
* src/openhbci/core/hbciseg.{h,cpp}, *segs.{h,cpp}: Changed
argument of parse() from string& to const string&. hbciseg.h: Made
parse_ktv static instead of normal member.
* src/openhbci/core/hbcierror.h: Added named enum types for the
(previously anonymus) ErrorLevel and ErrorAdvice. Relax -- no
further name changes were done :-)
* src/openhbci/core/hbcirsakey.cpp (toString): Replaced the
non-trivial macro by its expansion. (Replacement of the macro in
loadDataFromString is intended but will be reviewed first.)
* src/openhbci/core/hbcistring.h: Made Constructor of HBCIString
private -- after all, we only have static methods here.
* src/openhbci/core/hbcimedium{rdh,ddv,}.{h,cpp},
* src/openhbci/core/hbcicryptkey.h, hbcirsakey.{h,cpp},
* src/openhbci/core/hbcistandingorder.{j,cpp}: Added much more
const's.
* src/openhbci/outboxjob.h, outbox*job*.{h,cpp}: Added much more
consts in the method declarations. Declared HBCIAPI and Outbox as
friend classes and changed all methods that are only needed by
those to be protected methods. Made more data member private,
removed _user data member since this was almost never used and can
always be found through the customer.
2002-07-22 Christian Stimming <stimming@tuhh.de>
* src/openhbci/progressmonitorcb.{h,cpp}, hbciapi.{h,cpp}: Added
callback based C wrapper class for ProgressMonitor and implemented
C wrappers for HBCIAPI::setMonitor.
* src/openhbci/progressmonitor.h (JobProgressType), outboxjob.h,
outbox*job*.h: Added enum type entries for all OutboxJob's derived
classes. In OutboxJob, added a type() member that returns the
appropriate type as defined in progressmonitor.h .
* src/openhbci/outboxjob.{h,cpp}, hbciapi, outboxjob: Named
OutboxJob_Status and _Result instead of having them as plain
integer values.
* src/openhbci/outboxjob.{h,cpp}, outbox*job*.*: Removed
HBCI_JOB_TYPE_* member in OutboxJob since this was used *nowhere*
(and also out of date).
* src/openhbci/progressmonitor.{h,cpp}, src/openhbci/hbciapi.cpp:
Added enum constants that specify the type of action invoked.
* src/openhbci/outboxjobs, outboxjob, outboxaccjobs,
outboxjobkeys, outboxstojobs: Separated all the OutboxJobs into
different files to make this more readable.
2002-07-20 Christian Stimming <stimming@tuhh.de>
* src/cmoney/*: cmoney is now up and running again. :-)
* src/openhbci/core/hbciaccount, hbcicustomer, hbcistandingorder,
hbcitransaction, hbciuser, hbcistringlist: Completed C wrappers
for lists of the mentioned data types.
* src/openhbci/hbciapi.cpp: Fix C wrappers for factories since
HBCIPointers have to explicitly be made autoDelete(false) before
returning their pointers.
* src/openhbci/core/hbciinteractorcb.cpp (msgInputPin): Overwrite
buffer for PIN when no longer in use.
* src/openhbci/core/hbcidate.h,
src/openhbci/core/hbciinteractorcb.h, src/openhbci/hbciapi,
outboxjobs, src/openhbci/core/hbcibank, hbciuser: Improved and
added C wrappers.
* src/openhbci/core/*.h: Cleaned up includes.
* src/openhbci/core/accountjobs.h, src/openhbci/core/hbciuser.cpp:
Add more consts.
2002/07/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- moved "posix" and "windows" one level deeper (they are now subfolders
to "core"), for two reasons:
- "core" is a better place OS dependant classses
- at last one core class is going to need them (HBCIConnection)
- added classes Socket, SocketSet and InetAddress. Currently there are only
posix versions, WIN32 will follow.
- HBCIConnection: now uses the new Socket class. The advantage of this class
over the BIO interface of OpenSSL is Socket makes use of timeout values.
This allows for more fluid GUI programs, since keepAlive() is now called
more frequently, thus allowing the GUI to update more often.
2002-07-19 Christian Stimming <stimming@tuhh.de>
* src/cmoney/*, src/openhbci/cmdlineoptions.cpp,
src/openhbci/core/hbcierror.cpp,
src/openhbci/core/hbcistringlist.cpp,
src/openhbci/core/hbcitransaction.cpp,
src/openhbci/core/hbci.{h,cpp}, src/openhbci/hbciapi.{h,cpp}: More
C wrapper work.
* src/openhbci/core/hbcipointer.h: Clarified doc.
2002-07-18 Christian Stimming <stimming@tuhh.de>
* src/openhbci/hbciapi.{h,cpp}, core/hbci.h,
core/hbciinteractorcb.{h,cpp}: More C wrapper work and improved
documentation.
2002-07-17 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbciinteractorcb.{h,cpp}, Makefile.am:
Introduced derived class that stores function callbacks, intended
to be useful for C wrappers.
* src/openhbci/core/hbciinteractor.h, hbcipointer.h: More
preparations for C wrappers.
* src/openhbci/core/hbciauth.h, hbciinteractor.h: More
documentation.
2002/07/17: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIMediumDDV is less restrictive in getContext(). It now supports
cards without valid data in the institute specific data area.
2002/07/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed prefix "c_" from all classes/files
- changed HBCIInteractor according to out latest discussion in
openhbci-general:
- replaced general methods by special ones, thus removing general
user interaction from OpenHBCI.
- the base class does no interaction, this is now up to the application,
because otherwise we would still have the need for message creation
inside of openhbci.
- changed HBCIAuth to reflect the changes in HBCIInteractor
- added AQMInteractor to AqMoney which now inherits HBCIInteractor.
- HBCIAuth: added check for minimum length of the retrieved pin
2002-07-16 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjobs.cpp: Implemented checking of
HBCI::isRetrievalOnly() in ::commit() methods.
* src/openhbci/hbciloader.h: Cleaned up includes. Changed
loadAccount() to only use HBCIBank so that HBCIBankImpl stays
invisible for the user app.
* src/openhbci/hbciloader.{h,cpp}, outboxjobs.cpp,
c_simpleconfig.{h,cpp}: Cleaned up includes.
2002/07/15: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- c_config.{cpp,h}: added c_Config::clear() to allow fast and easy clearing
the configuration (thus leaving it empty).
- Outbox::setNextId() did nothing. Fixed.
- HBCIAPI, Outbox: added removeQueuedJob(HBCIPointer<OutboxJob> job)
2002-07-13 Christian Stimming <stimming@tuhh.de>
* src/openhbci/hbciapi.h, src/openhbci/core/hbci.h: Added
retrieval-only flag to HBCI.
* src/openhbci/core/accountjobs.cpp: Added some queries of
hbci()->isReadOnly in StandingOrder-Jobs where appropriate.
* src/openhbci/hbciapi.h: Made postProcessInitJob and
processInstituteMessages private. Made some factories
static. Improved docs.
* src/openhbci/hbciapi.{h,cpp}, outbox.{h,cpp},
outboxjobs.{h,cpp}: Clean up includes.
* src/openhbci/core/hbciaccount.h, accountsegs.cpp,
src/openhbci/hbciloader.cpp: Removed HBCIAccount::instituteCode
and countryCode.
* src/openhbci/hbciapi.cpp: Removed one superfluous const_cast.
2002/07/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJobs: description() is now more, well, descriptive ;-)
- Outbox: fixed bugs concerning calculation of job count
- HBCIInteractor::keepAlive() didnot use the value of "_aborted". Fixed.
2002/07/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- moved HBCI::keepAlive() to HBCIInteractor
- removed argument HBCI from HBCIInteractor
- added HBCIInteractor::abort() and aborted() to make it more usable.
- implemented HBCIInteractor::abort()
2002-07-12 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcibalance.{h,cpp}: Completed C wrappers.
* src/openhbci/core/hbcidate.{h,cpp}: Added HBCIDate::to_tm() for
conversion to struct tm. Added C wrappers.
* src/openhbci/core/hbciaccount.{h,cpp}: Completed C wrappers.
* src/openhbci/core/hbciaccount.h,
src/openhbci/core/hbciaccountimpl.{h,cpp}: Added const where
possible, cleanded up includes.
* src/openhbci/core/hbciaccount.h, src/openhbci/hbciapi.cpp:
Remove HBCIAccount::addAuthorizedCustomer since we decided the
application shouldn't use this. Reordered necessary casts in
HBCIAPI::postProcessInitJobs so that this works.
2002/07/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIPointer: renamed HBCIPointerBase::ptr() to voidptr() to avoid
compiler warnings.
2002/07/11: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIMediumRDH:
- added "b" to fopen(), this flag is ignored by Linux but
desperately needed by WIN32 !!
- reading the medium is now performed in a loop, since fread() does not
guarantee to read all data (you can call this a bug fix ;-)
- windows/c_directory: homeDirectory() now returns a directory retrieved
by calling "GetWindowsDirectory()", since the book "Windows Programmierung
fuer Experten" says this is the only directory that is guaranteed to be
private to every user.
- added hbciabstracttrans to Makefile.am, otherwise other programs cannot
compile
- added dllimport.h to Makefile.am (same reason)
2002-07-11 Fabian Kaiser <openhbci@derzach.de>
* src/aqmoney/delstandingorder.cpp: it is now checked, if the bank
supports terminable deleting of standing orders. if not, the date
is removed from the delete-job
2002-07-11 Fabian Kaiser <openhbci@derzach.de>
* src/openhbci/outboxjobs.{h, cpp}: support for deleting standing
orders.
In OutboxJobGetStandingOrders::commit(), the current
account-information is now set for all new orders (for the
hbciloader, see below).
* src/openhbci/core/accountjobs.{h,cpp}, accountsegs.{h,cpp}:
support for deleting standing orders.
* src/openhbci/hbciloader.cpp: the standing orders are now stored
together with the "id" and the "institute" (i know, this
information is doubled in case of the aqmoney2.conf. advantage of
this is that you can simply copy the whole order into the
transaction file and then call the delete-job (where you need "id"
and "institute").
FIXME: Think of a better solution
* src/openhbci/core/hbcistandingorder.{h,cpp}: added some methods
to retrieve valid parameters for the delete-job
* src/aqmoney/main.cpp, delstandingorder.{h,cpp}: support for
deleting standing orders.
2002-07-11 Fabian Kaiser <openhbci@derzach.de>
* doc/exampleStandingOrder.tfile: Added an example of how a
standing-order transaction-file might look like
2002-07-11 Fabian Kaiser <openhbci@derzach.de>
* src/openhbci/outboxjobs.{h,cpp},
src/openhbci/core/accountjobs.{h,cpp},
src/openhbci/core/accountsegs.{h,cpp}: Added and implemented the
"Aufsetzpunkt" for JOBGetTurnover/OutboxJobGetTransactions
2002/07/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIAPI: reenabled factories for HBCIUser/Customer
- HBCILoader: restored factory usage
- aqmoney/main.cpp:
- removed some unused command line options
- added command line options
- "customer"
- "role"
If at least "customer" is given, then aqmoney will create a HBCICsutomer,
too, upon creation of a HBCIUser.
- restored usage of HBCIPointer for access to HBCIUser wherever I found
them removed
- added AqMoney module "createcustomer" whicl allows adding a HBCICustomer
to an existing user. This is needed in case you forgot to mention the
customer upon creation of the user (using command "createuser").
- changed configure.in to use openssl-DLLs under WIN32
- prepared OpenHBCI to create DLLs
- ported OS dependant files to WIN32 (for mingw32)
- added DLLIMPORT to enable DLLs
- removed HBCIAccount::userID(), since it isn't used anymore.
- added dllimport.h which defines the macro DLLIMPORT
- OutboxJobs: Account jobs now take a HBCICustomer as argument
- Outbox: Moved nextId from OutboxJob to this class, since an ID is only
usefull for jobs that are enqueued. There are reasons to create a job
without the intention of enqueuing it (such as getting some job parameters).
This way those jobs won't eat up all our job ids.
- AqMoney modules can now take an argument which chooses the HBCICustomer
which is to sign the jobs. If omitted, then the first authorized customer
is taken (as before).
- HBCIAccountImpl now stored a list of HBCIPointer<HBCICustomer> instead of
a string list (which contained the customer ids only).
- OutboxJob now sets the jobid upon job enqueueing
- all OutboxJobs now add their signers to the HBCIMessageQueue
- configuration file is now much smaller, since we now use much shorter
names for banks/users/customers/accounts. Since the name of those groups
doesn't matter at all (it is never parsed) I decided to use simple numbers.
As you can see the readability is rather improved.
2002/07/08: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- hbciaccountimpl.{h,cpp}: changed bad usage of HBCIPointer to a
better one ;-)
- hbcipointer.h: added some "const" keywords to make all work again
- src/aqmoney/dump.cpp: corrected view of standing orders
- HBCIAccountImpl: addTransaction() itself now checks for double entries.
A transaction will be sorted into the transaction list according to its
date.
- OutboxJobGetTransactions: Now internally stores JobGetTurnOver instead
of the base class. Here you can see how HBCIPointer::cast() simplifies
working with HBCIPointers.
2002/07/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- hbcipointer.h: renamed HBCIPointer::setDelete() to setAutoDelete().
- HBCIPointer::setAutoDelete() now throws an exception if called without
pointing to an object.
2002-07-07 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjobs.cpp (OutboxJobKeys),
src/openhbci/core/adminjobs.h: Fix _initjob type problem that came
up after I changed the argument of postProcessInitJob.
2002-07-06 Fabian Kaiser<openhbci@derzach.de>
* src/openhbci/core/accountsegs.cpp: "othername" and "description"
are now correctly escaped in the HBCI-message for standing orders.
2002-07-06 Fabian Kaiser<openhbci@derzach.de>
* src/openhbci/core/hbciabstracttrans.h: Removed the method
"transactionText" and "transactionKey". They had nothing to do
with the basic transaction but only with HBCITransaction.
* src/openhbci/core/hbcistandingorder.{h,cpp}: Now extends
HBCIAbstractTrans. Many methods renamed. The methods that give
information about correct values for order-fields are now
static. This way we get rid of some problems with the
HBCILoader. Btw, otherName and description are now also list<string>.
* src/openhbci/core/accountsegs.{h,cpp}: Some changes to get the
new HBCIStandingOrder running. Fieldnames changed to the names
used in HBCIAbstractTrans.
* src/openhbci/core/accountjobs.cpp: Some changes to get the new
HBCIStandingOrder running.
* src/openhbci/hbciloader.cpp: Modifications for loading and
saving of HBCIStandingOrder. Now the account and bank code are
set in the transaction file to be compatible with the handling of
HBCITransaction.
* src/aqmoney/dump.cpp: Modifications to get the new
HBCIStandingOrder running (description and othername have changed)
* src/aqmoney/newstandingorder.cpp: Now the account and bank code
from where you want to start the transaction are set in the
transaction file to be compatible with the handling of
HBCITransaction.
2002/07/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- internally changed HBCIPointer, now it is theoretically possible to cast
a HBCIPointer<Type X> to a HBCIPointer<Type Y>
- added class HBCIPointerCast<T,U>. It's only method is "cast", it allows
type-safe dynamic casting of a HBCIPointer<Type X> to a HBCIPointer<Type Y>.
Please see the API doc of this new class in "hbcipointer.h".
- added method HBCIPointer::cast(), this allows easy and type safe casting of
a HBCIPointer<X> to a HBCIPointer<Y>.
2002-07-06 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcistandingorder.cpp: Use the stored pointer
to HBCIBankImpl. However, we still need the dynamic_cast to
HBCIAccountImpl :-(
* src/openhbci/core/hbciaccountimpl.{h,cpp}: Store an HBCI Pointer
to the HBCIBankImpl instead of one to HBCIBank. Works transparent
to existing code, fortunately.
* src/openhbci/hbciapi.{h,cpp}: Changed arguments of
postProcessInitJob so that some dynamic_casts can go away.
* src/openhbci/core/hbcicustomer.h and places where used: As a
trial, switched to storing a const reference to HBCIUser instead
of HBCIPointer. IMHO, this works out quite well at this place,
since this class is still a really simple one. But if people think
having C++ reference is not a good idea then we could still revert
this change.
* src/openhbci/core/hbcimedium{rdh,ddv}.{h,cpp}: Added mountMedium
with string arguments since it is sometimes used without HBCIUser
object at hand.
* src/openhbci/core/hbcicustomer.h and places where used:
Commented out convenience method medium() -- the medium is now
always accessed through HBCIUser.
* src/openhbci/core/hbcicustomer.{h,cpp} and places where used:
Renamed id -> custId, role -> custName.
* src/openhbci/hbciapi.{h,cpp}: Removed factory methods for
application-visible classes.
* src/openhbci/core/hbcibankimpl.{h,cpp}: Cleared up constructors.
* src/openhbci/core/hbciuser.{h,cpp}: Add more documentation; Add
userName data member and C wrappers.
* src/openhbci/c_config.{h,cpp}, c_tree.h, c_simpleconfig.{h,cpp}:
Make more methods const.
* src/openhbci/outboxjobs.cpp, hbciapi.cpp;
src/openhbci/core/accountjobs.cpp, adminjobs.cpp,
hbciaccountimpl.cpp, hbcibankimpl.cpp, hbcimessagequeue.cpp:
Change C-style casts to explicit dynamic_casts<> to make them more
visible. (Hopefully in the end we come to a design that can live
without them totally :)
2002/07/06: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- renamed all methods named *Customer() to *User()
- HBCILoader now loads and saves HBCICustomers AND HBCIUsers
- added HBCIBank(Impl)::findCustomer()
- added HBCIAPI::findCustomer()
- now all classes use the new HBCICustomer class instead of the class
HBCIUser, which was formerly known as "HBCICustomer".
2002/07/05: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- renamed HBCICustomer to HBCIUser, makes place for a class HBCICustomer
with a different meaning (as discussed in openhbci-general)
2002-07-05 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outbox.cpp: Simplified calls to list<>::erase()
(one iterator is enough there).
* src/openhbci/c_tree.h: Remove one const and a method which were
wrong but due to not being instantiated didn't cause compiler
errors so far.
* src/openhbci/c_config, c_cmdlinoptions: Implemented methods
using the const_iterator.
* src/openhbci/c_tree.h: Added const_iterator and a whole lot of
const's.
* src/openhbci/core/hbciabstracttrans.{h,cpp}: Added abstract base
class for general HBCI business transactions (Geschaeftsvorfaelle)
which is implemented by HBCITransaction and later also by
HBCIStandingOrder.
2002-07-02 Christian Stimming <stimming@tuhh.de>
* src/openhbci/outboxjobs.{h,cpp}, hbciloader.{h,cpp}: Clean up
includes. Add casts to HBCIAccountImpl where necessary.
* src/openhbci/core/hbciaccount.h: Commented out many setter
methods which an application shouldn't use anyway.
2002/06/30 Fabian Kaiser<openhbci@derzach.de>
* src/openhbci/core/accountsegs.{h, cpp}: toString-method in
SEGStandingOrder filled with code. Also prepared for the use in a
later ModifyStandingOrder-job.
* src/openhbci/core/accountjobs.{h, cpp}: New job
"JOBNewStandingOrder" added.
* src/openhbci/outboxjobs.{h, cpp}: New job
"OutboxJobNewStandingOrder" added.
* src/aqmoney/newstandingorder.{h, cpp}, main.cpp: The new job for
creating a new standing order is now supported.
2002-06-30 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbciseg.{h,cpp}, accountjobs.cpp,
accountsegs.cpp: Replaced macro by function call.
* src/openhbci/core/*.h,*.cpp: Clean up include files.
* src/openhbci/core/hbcicustomer.h, hbcibank.h: More
documentation.
* src/openhbci/core/hbcipointer.h: Removed the const T* from ptr()
again, since that was semantically wrong.
2002-06-29 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcibank.h: Added C wrappers.
* src/openhbci/core/*.h, *.cpp: Added much more const's all over
the place to make the API const-correct. See
e.g. http://www.adtmag.com/joop/crarticle.asp?ID=1550 about why
this is a good thing.
2002/06/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added readStandingOrderFile()/writeStandingOrderFile()
- removed tutorials for the following reasons:
- they did not compile after merging the two projects
- no one volunteered in adapting them
- they do not fit into our API concept since they only use the core
(low level) API which is rather deprecated
- the manuals (in fact currently there only is one) are now installed
2002/06/21: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed a FIXME from HBCIBank's API doc, added a half-sentence there
2002-06-21 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbciseg.{h,cpp}, accountsegs.cpp,
adminsegs.cpp: Replace PARSE_KTV macro by member
function. Fortunately the calling of the macro/function doesn't
need to change at all but getting rid of non-trivial macros leaves
us much safer.
* src/openhbci/hbciloader.cpp: Fixed addInstituteMessage call.
* src/openhbci/core/adminsegs.cpp: Added dynamic_cast so that
HBCIBankImpl::version() can be used.
* src/openhbci/core/hbcibank.h: Commented out addInstituteMessage
(can IMHO only be called from inside the implementation), added
setLanguage again. Cleaned up comments. (also hbcibankimpl.h)
2002/06/20: Fabian Kaiser<openhbci@derzach.de>
------------------------------------------------
- HBCIMessageQueue: Reintroduced the skipping of the signature-validation
if no public bank keys are available.
- HBCISeg: Added a macro to parse ktv-elements (accountId, accountSuffix,
bankId and countryCode)
- SEGUserParameter: The new macro to parse ktv-elements is now used
- SEGStandingOrder: The new macro to parse ktv-elements is now used
- getstandingorders.cpp: Now the orders are retrieved via the account
instead of via the job
2002/06/20: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIMessageQueue: bankMessages are no longer deleted upon reset()
- HBCIBank: reintroduced institute messages
- HBCIAPI: institute messages are now copied to the appropriate bank
- HBCIStandingOrder:
- changed names concerning account ids and bank codes
to accountId and bankCode
- removed HBCIPointer usage for small value like classes (like HBCIValue,
HBCIDate)
- constructor now takes an acount instead of a user, since the parameters
depend on the account rather than on a customer. This has no effect to
the code, but it seems to be more logical.
- OutboxJobGetStandingOrders: commit() now stores the standing orders within
the account.
- HBCILoader:
- fixed a bug causing loadCustomer() not to set the cardNumber
- fixed a bug concerning loading of transactions
- institute messages are now loaded and saved
- standing orders are now loaded and saved
- AqMoney module getStandingOrder now works (it previously segfaulted)
- added comparison operators to HBCIValue
- AqMoney module is now able to dump standing orders (use --sto)
- AqMoney module is now able to dump institute messages (use --msg)
- HBCILoader is now flag controlled. You can specify what to load and what to
save. This currently only concerns loading/saving of
- transactions
- institute messages (I still don't agree with Christian on this matter,
but here it is anyway)
2002-06-18 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/accountjobs.cpp,
src/openhbci/core/accountjobs.cpp, src/openhbci/hbciloader.cpp:
Added some type-safe run-time downcasts (dynamic_cast) where the
code wants to access HBCIBankImpl features but only has the
HBCIBank reference at hand.
* src/openhbci/core/hbcibank.h: Added Documentation. Commented out
several methods which should not be used by an application, and
thus should not exist in the abstract base class.
* src/openhbci/core/hbcivalue.cpp, hbcierror.cpp, hbciaccount.cpp,
hbcitransaction.cpp: Replaced hbci_strdup by c_str() in those
places where the getter function returns a const string& anyway,
i.e., the string won't change.
* src/openhbci/core/bankparams.h, accountparams.h,
hbciaccount.h, hbciaccountimpl.h, hbcibank.h, hbcibankimpl.h,
hbcicustomer.h, hbcierror.h, hbcitransaction.h: Added a whole lot
of "const ... &" to return types of functions to avoid string
copying where it's not necessary.
* src/openhbci/core/hbcistring.cpp: Replaced new char[] by malloc,
since those char* pointers will be free'd instead of delete'd by C
applications.
* src/openhbci/core/hbcistringlist.{h,cpp}, Makefile.am: Defined a
C wrapper for list<string> plus an appropriate iterator.
2002-06-16 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcitransaction.{h,cpp}: Finished C wrappers;
removed hbci_strdup again and replaced it with const char* and
c_str(), respectively.
2002/06/15: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIAPI: added removeBank()
- HBCIBank: added removeCustomer()
- OutboxJobTransfer and OutboxJobDebitNote now check for readonly mode
- HBCIBankImpl: addAccount and addCustomer now do some important checks
to keep internal lists clean (checking for double entries etc)
- HBCIAPI: addBank now does some important checks to keep internal lists
clean (checking for double entries etc).
- added AqMoney module "accadd" to add accounts manually, if the bank does
not send a list.
- added manpage for AqMoney
2002/06/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCILoader: added readTransactionFile(), writeTransactionFile()
- changed all names of references to bank code to bankCode in API
- changed all names of references to account numbers to accountId in API
- fixed a bug in SEGSingleTransfer
- fixed a bug in JOBSingleTransfer
- fixed a bug in HBCIValue
- added AqMoney module sync
- added AqMoney module transfer
- added AqMoney module export
- made OutboxJob::nextId persistent
- added OutboxJobDebitNote
- AqMoney module now uses "--todate" and "--fromdate"
2002-06-13 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/hbcitransaction.{h,cpp}: Added C
wrappers. Made most member function returning const references.
* src/openhbci/hbciloader.cpp: Added bank/customerreference.
* src/openhbci/core/swiftparser.cpp: fixed bug (I hope).
2002/06/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIBank is now an abstract base class.
- updJob has moved into its own files
2002-06-12 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/swiftparser.cpp: Added parsing of
customerReference, bankReference.
* src/openhbci/core/hbcitransaction.h: Added exhaustive
explanations. Added customerReference, bankReference.
* src/openhbci/core/hbciaccount.{h,cpp}, hbcicustomer.{h,cpp}: Use
new hbci_strdup function and return char* instead of const char*.
2002/06/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added HBCIBalance, HBCIAccountBalance
- added HBCIAccountImpl, thus virtualizing HBCIAccount
- added HBCIAPI::getCustomers(), which returns a list of all customers
matching given criteria
- AqMoney module acclist now works again
- changed name of jobQueue to Outbox
- changed names of all queueJobsXX to OutboxJobXX
- AqMoney module turnover works again
- fixed some bugs in OutboxJobGetTransactions, works now
- fixed a bug in configure script, now "--with-debuglevel" is really used ;-)
- AqMoney module sendkey works
- AqMoney module iniletter enabled
- improved API documentation of HBCIAPI
- really renamed jobQueue to Outbox
- added OutboxJobSynchronize
- added OutboxJobGetSystemId
- removed "k_" prefix from all constants
- HBCIAPI: added factory methods, now HBCILoader only uses those to create
customers, banks and accounts.
2002/06/11: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed queueJob API to support queueJobs which do opening and closing
of dialogs themselves. This makes it possible to simply create jobs for
getting and sending keys.
- added new queueJobs: sendKeys, getKeys
- removed key management methods from HBCIAPI, since they are normal
queueJobs now.
- removed HBCIMessageBox files
2002/06/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- started working on AqMoney. It is fantastic, how small now the modules
become. Module getBalance works now, we are now able to read balances ;-)
- added HBCIAPI::getAccounts(), which creates a list of all system wide
known accounts which match given criteria
- added HBCIAPI::createNewMedium(), this medium creates a medium.
- AqMoney module "createUser" works, it is now able to use old keyfiles. This
is needed to change existing configurations to the new kind.
- AqMoney module "acclist" works.
- found and eliminated a place where a job changed something outside:
JOBDialogInit, it stored the servers public keys in the jobs owner's medium.
- added HBCIAPI::getServerKeys() and HBCIAPI::sendUserKeys()
- AqMoney module createUser() can now fetch all data needed from an already
existing medium. This is tried if one of no userId/bankId/server is
given. You can specify the context of the medium to select via the argument
"--context=xx" (default: first context).
- added HBCIAPI::findMedium(), now sharing media is proposed !! That means
if multiple users are stored in the same medium (thats the case for the
test cards of PPI) then all these HBCICustomers should use the same
HBCIMedium !
2002/06/08-10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
I was quite busy with OpenHBCI this weekend, there are so many changes besides
those listed below, so this list is only a short overview:
- rewrote major parts of the wrapper API.
- changed (and thereby simplified) major parts of the core API
- added HBCIBank
- use "const &" wherever I found it possible
- HBCI segments and jobs now under no circumstances change data outside their
own context. They simply gather information and leave it up to you
to incorate it into your system (the more abstract classes of the jobQueue
CAN do that for you, but they don't have to)
- moved interactive code from class HBCI to the class HBCIInteractor
- changed HBCIMessageBox to HBCIMessageQueue to avoid confusion
- removed HBCIInterface, added HBCIAPI instead
- added jobQueue, a smarter handling of the outbound queue
- changed HBCIChipCard to HBCIMediumDDV for consistency in name space
- nearly all classes encapsulate their members, you need to use a method to
access them
- moved transactionData to HBCITransaction
- started moving parsing code to segment/job class files (adminsegs.*,
accountsegs.* etc)
- moved most interesting classes into their own files, makes it easier to
include them. Their is still a significance in the include order
- moved institute messages to the new class HBCIBank
- fixed some bugs in HBCIPointer
- changed usage of simple pointers to that of HBCIPointer
- moved account list from class HBCI to HBCIBank, each HBCIBank holds a list
of its accounts and its customers
- added class HBCILoader which loads and saves data to/from c_SimpleConfigs
- removed unneeded classes (they were left over from AqMoney and some even
older projects of mines)
2002-06-09 Christian Stimming <stimming@tuhh.de>
* src/openhbci/c_cmdlineoptions.{h,cpp},
src/openhbci/core/hbcivalue.{h,cpp}, hbciaccount.{h,cpp},
hbcicustomer.{h,cpp}, hbcierror.{h,cpp}, hbcivalue.{h,cpp}: Use
new hbci_strdup function and return char* instead of const char*.
* src/openhbci/core/hbcitransaction.h: Rearranged the comments a
bit. (This class needs more work.)
2002/06/08: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed some methods of HBCIString to const, thus removing silent changes
to input parameters.
- exluded tutorials from normal build (takes annoying long to compile them
all)
2002/06/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIChipCard.cpp: removed struct s_institute_id from libChipCard, replaced
it with class HBCICard::instituteData. Had to change this class here to
reflect that change. You'll need the latest CVS version of libChipCard for
this to work.
- HBCIBank.{h,cpp}: a pure virtual destructor cause linkage problems (could
not link executables), so I changed the destructor to only be virtual and
wrote the method. That reenabled linking.
- removed AQMError from all source, since HBCIError is now identical to
that class.
- HBCIPointer.h: added methods setObjectDescription() and objectDescription(),
they handle the description of the object pointed to (please note that
setDescription() only changes the description of the pointer itself)
- HBCIInterface.{cpp,h}:now the outbox is private to HBCIInterface, you must
call enqueueJob() to add an OutboxJob.
- HBCIInterface.cpp: saveEnvironment now stores the relative path of the
medium rather than the absoulte path. This way you can simply copy the whole
".aqmoney" directory to any place you like. There is only one part to
change: "dir" in the "[general]" section of the configuration file.
- src/aqmoney/createuser.cpp: fixed a bug that caused the command "createuser"
to fail when creating a DDV mode customer.
2002-06-07 Christian Stimming <stimming@tuhh.de>
* src/openhbci/core/adminsegs.h: Derive the instituteParams from
the HBCIBank abstract base class, i.e. instituteParams implements the
interface definition for a HBCIBank.
* src/openhbci/core/hbcistring.{h,cpp}: Add strdup functions.
* src/openhbci/core/hbcibank.{h,cpp} Change class definition to be
an abstract base class. Add C wrappers.
2002-06-06 Christian Stimming <stimming@tuhh.de>
* src/cmoney/*.h: adapt includes to new package.
* src/openhbci/core/hbcibank.{h,cpp}: Add class definition,
although currently it currently isn't used anywhere.
* configure.in: Fix problem if libchipcard is not there.
2002-06-05 Christian Stimming <stimming@tuhh.de>
* src/openhbci/hbciinterfacec.{h,cpp}, src/cmoney/createuser.c:
Fixed HBCIInterfaceC_createUser().
2002-06-02 Martin Preuss <openhbci@aquamaniac.de>
* src/openhbci/Makefile.am: Added "-lstdc++" as needed library
to remove the need for specifying this library in C programs
* configure.in: added option "--enable-full-doc" which enabled full
APIDOC mode. Without this option "make srcdoc" will exclude internal
core API classes.
* Doxyfile.in: now supports two modes (normal API doc and full APIDOC)
* .cvsignore: added "apidoc" folder
2002-05-30 Christian Stimming <stimming@tuhh.de>
* src/openhbci/hbcidate.h: Clarify comments on how dates will be
interpreted.
2002-05-29 Christian Stimming <stimming@tuhh.de>
* */Makefile.in: Removed all automatically generated files. CVS
goes into developer-only mode, i.e. you better need
autoheader/autoconf et al. to compile CVS.
* src/openhbci/hbcidate.{h,cpp}: Add constructor that takes struct
tm* argument. Add C wrappers. FIXME: the semantics of the Year
argument in HBCIDate are still not totally clear.
2002-05-27 Christian Stimming <stimming@tuhh.de>
* src/openhbci/hbcivalue.{h,cpp},
src/openhbci/hbcicustomer.{h,cpp}: Added C wrappers.
* src/openhbci/openhbci.h.in: Added a lot of #ifdef's so that this
file can be included from C as well.
* src/openhbci/hbcierror.h: Remove bogus member function that was
added 3 days ago -- it isn't needed anyway.
2002-05-24 Christian Stimming <stimming@tuhh.de>
* src/openhbci/hbciaccount.{h,cpp},
src/openhbci/hbcierror.{h,cpp}: Added C wrappers.
2002/05/21 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a bug in HBCIValue. This is not really a bug, but HBCIValue was
to strict in handling values when parsing from string.
2002-05-09 Christian Stimming <stimming@tuhh.de>
* .cvsignore, debian/DEBIAN/.cvsignore, src/.cvsignore,
src/openhbci/.cvsignore, src/test/.cvsignore,
src/tutorial/.cvsignore: Added cvsignore entries for ALL
automatically generated files to avoid annoying conflicts etc.
2002/04/26 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- removed HKIDN from first init dialog. The HBCI specs do not mention
this segment in this dialog, and it is suspected of causing aborts with
some institutes. Well, we'll see ;-)
2002/04/20 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed HBCIJob/JOBDialogInit.
JOBDialogInit now overloads the method jobSuccess() to catch errors like
"Server does not use sign keys" and change them into warnings. This way
we should be able to work with those strange servers (Hypo-Vereinsbank).
This led to a change in error checking:
Well, until now the method
"HBCIMessageBox::getResult()"
has been used to determine if there was any error with any job.
This would disable working with servers that don't use sign keys, so I
advise you to use the new method
"HBCIMessageBox::hasErrors()"
instead. This method calls the new method
"HBCIJob::hasErrors()"
on each job in the queue. For this reason I strongly recommend AGAINST
using "getResult()" any longer.
- worked on HBCIMedium and its children. Now we give the mounting customer
when mounting a medium. This allows the media to tell the user WHICH
medium is to be mounted.
- removed some obsolete methods from HBCIMedium and its children
2002/04/19 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- lightened up SWIFTParser, now it should work with most institutes.
That was necessary, since some institutes do not comply with SWIFT specs.
2002/04/18 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- HBCIMediumRDH: now we can return the hash/exponent of the institutes
public crypt key, too.
2002/04/01 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- reorganized SimpleTransfer-Segments
- added SEG/JOBDebitNote ("Lastschrift"), which is now to be debugged
- added Makefile targets to create DEB and RPM packages
2002/03/18 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added operator==() to HBCIValue and to transactionData to allow
simple comparison.
- fixed a bug in SWIFT parser that caused openHBCI to not add transactions
that have no "otherInstCode". Now all transactions that have valid tags
are added to the transaction report.
2002/03/15 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changes in HBCIConnection
The read and write methods now call HBCI::keepAlive() to give the
application the opportunity to update it's GUI and to let the user abort a
transaction.
Therefore HBCIConnection needs to know about the application's main HBCI
object. Sorry for the break in the API, but when writing AqMoney I
experienced that this is necessary.
But these changes are easy to adapt to, since there is in any case a HBCI
object flying around ...
2002/03/14 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- openHBCI now compiles and runs under Windows (using mingw32).
2002/03/11 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- libchipcard has now new constructors due to MAJOR internal changes.
These changes only affect the constructor for "HBCIChipCard" of openHBCI.
This version here now uses the new constructors if version "0.3" or above
of libchipcard is found. Otherwise nothing is changed. In fact the internal
changes do not affect openhbci.
The major advantage of the new libchipcard version is, that you SHOULD now
use it even if you have NO card reader. This way your program (and of course
openhbci) is prepared to be used with any card terminal libchipcard supports
currently or in the future. Kewl, eh ? ;-)
2002/02/03 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added comparison operators to HBCIDate
- moved README.AQUAMANIAC to doc/DESIGN
2002/01/29 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed some minor bugs in SWIFTparser
- modified SWIFTparser to be more tolerant in parsing fields, since my
credit institute sometimes sends CR/LF after the "?" mark. That prevented
some fields from appearing in transaction reports
2002/01/28 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- introduced "systemName" and "systemVersion" to HBCI class. The values
for these variables default to "openhbci" and "0.3", but they can be
overwritten by programs to correctly identify themselves to the credit
institute.
2002/01/27 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixeds a severe bug in HBCIString::nextDE/DEG/SEG which took me an hour
to figure out why I could not get the crypt key from my server.
That is because the server of my real account sends a name containing
a "?:" mark, thus needing to be escaped. Since openHBCI did not escape
DE/DEG/DEG's it took that position as a stop mark.
Puh, that's fixed now ;-) Another error in those methods was that if
there would be multiple "\\" marks these methods would try to escape ALL
of them instead of just escaping the first one (which is expected
behavior due to the specs).
- README.AQUAMANIAC now includes a tutorial text that might help newbies
to see through the structure of openHBCI.
2002/01/26 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed Doxyfile to allow inclusion of other project's apidoc, namely that
of libchipcard. If you have libchipcard then its apidoc is available from
within the apidoc of openHBCI.
To specify where to store the apidoc you should specify the path when
invoking "configure" by giving the following option:
"--with-docpath=DIR".
The apidoc will then be created in the given path+"/openhbci".
In addition a tag file for doxygen is created to make the apidoc of openhbci
available to other projects.
So now you are able to combine the apidoc of your OWN projects with the
apidoc of openHBCI.
- removed redundant "+" at end of segment "HNSHK"
- fixed a newly introduced bug in HBCIMediumRDH that caused openHBCI to
endlessly ask for the pin
2002/01/24 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added a new class ("HBCIAuth") which is now used to get secrets like
the pin of your security medium. This is thougth of as a base class, it
currently just asks the user about the secret (pin), so there is no change
in handling of pins. But you may inherit this class to introduce other
means of getting a pin (like retrieving it automatically from a configuration
file, or getting it via any other authentification mechanism you prefer).
This step was necessary to make it possible to write command line utilities
which work without user interaction.
There is one central object of this classes sitting in a HBCI object,
called "authentificator". When creating a new instance of HBCI it
automatically installs a HBCIAuth base object
But you can simply overwrite that object with one of your derived
classes, thus making the whole library using the mechanism chosen.
- adapted HBCIChipCard and HBCIMediumRDH to this new situation
- removed some old "libchipcard-0.1" stuff, now you MUST upgrade to version
0.2 of libchipcard (http://libchipcard.sf.net)
- adapted HBCIChipCard to recent changes in libchipcard-0.2
- heavily improved HBCIError. Since I use a similar class in my other projects
I just transfered their behavior to HBCIError. Now this class not only
serves as an object to exception throwing, now you can use it instead of
normal BOOLean return codes. This new usage is introduced by "HBCIAuth".
Its method "getSecret()" returns a HBCIError object specifying IF there is
an error and when WHAT error it is. Simply call "isOk()" on such an object to
know the difference.
Since the new constructor allows more precise stating of the error occurred
the old constructor is deprecated and should therefore not be used any
longer. However, it is still supported, as long as there are classes which
have not been adapted to the new constructor (well, which at this time are
ALL other classes ;-).
2002/01/23 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a bug in HBCIPointer that allowed the usage counter to be negative.
2002/01/20 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added a "read" member to institute messages to flag if the message has been
read by someone.
This again is not used by openhbci (currently it is set to "false" upon
creation), but is of use for programs.
2002/01/09 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- prepared HBCIChipCard to use the new version 0.2 of libchipcard.
If you have the new version (0.2 or newer) then it will be used,
otherwise the old version will be used.
2002/01/05 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- minor changes in HBCIChipCard:
- removed deprecated constructor (that one which included a pointer to a
CTTerminal, since this stuff is now handled by libchipcard itself)
- introduced CardNumber into this class.
The reason was to improve the checking of an inserted card and to save
your card from the danger of getting unusable due to the internal pin-fail
counter.
The scenario which shows the major problem that has now been
fixed is this:
- creating a HBCIChipCard object: the CID stored by this class is empty
- HBCIMessageBox wants to sign a message, so it does this:
- mount chip card:
Since this is the first time the card reads the "Card Identification
Data (CID)" off the card and stores it internally
- ask the user about the pin
- try to verify the pin with the card
If you have inserted a false card, then the given pin does NOT match,
since HBCIChipCard had nothing to check the CID against (THAT has been read
upon mount)
This decrements the card's internal fail-counter and if it reaches zero
you can throw the card into a litter box, since it renders useless.
The fix is now to give the CardNumber (a quite unique number stored in the
Card Identification Data) to the constructor of HBCIChipCard. This informs
this class about the CID so that it now has data to compare the card's CID
against.
As you can see in the sources the constructors for both types of media are
now the same, thus again simplifying openHBCI.
2002/01/04 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a bug in HBCIChipCard:
selectContext now unmounts the chip card before throwing an exception
- added "managed" member to HBCIAccount. This one is not used by openhbci
itself, but can be used by programs to flag if this account is managed.
We need this, because whenever the UPD changes, ALL accounts are reported
by the server. So if we would simply delete the account then at the next
change it is back again.
2002/01/03 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added "server" to HBCIMedium::getContext() and all inheriting classes.
Because this is stored with the other context data it makes no sense to
exclude the server address from this method
- fixed a bug that caused HBCICustomer not to find an account if no subid
is given (which is mostly the case).
2001/12/30 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- I found that signing by multiple users which use the same medium does not
work, because HBCIMessageBox never selects a context on the medium.
So I had to change HBCICustomer, which is the owner of a medium:
- now HBCICustomer stores the countryCode, instituteCode and userId to
make HBCIMessageBox able to select an apropriate context after mounting
a medium. Therefore I had to change the constructor of this class.
- HBCIMessageBox now only unmounts a medium if it needs to mount another
one or if it gets destroyed. Otherwise it keeps the current medium
mounted.
This makes multiple signing possible as invented, and removes the need
for a program to mount a medium before sending jobs just to increment
the mount counter (as the tutorials did).
In fact you should NOT do that from now on, because that would again
disable multi-signatures.
- introduced usage of HBCIPointer to HBCIMessageBox for reference to the
currently mounted medium.
- introduced usage of HBCIPointer to HBCICustomer for reference to its
medium. This is the only interesting purpose for HBCIPointer in this
class, since it allows:
- using ONE HBCIMedium for multiple users:
If the user gets destroyed then the medium only gets destroyed if it is
not in use by other users or other messageboxes.
- avoiding memory leaks, because every medium is deleted when the last
user is destroyed.
So you don't have to care about the medium after creating it and
assigning it to a HBCICustomer.
As you can see the tutorials are getting smaller and smaller, since now some
internal things are handled by openhbci itself.
2001/12/29 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- removed contrib directory, it would become to big, and I think now it
should go into an extra directory in the CVS tree outside openhbci.
- changed HBCIChipCard to now use automatic open mode of libchipcard (changed
constructor)
This way programming gets much easier !
- modified the tutorials to use this new mode, as you can see they are now
shorter and have less "#ifdef HAS_LIBCHIPCARD" statements.
2001/12/27 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed HBCIPointer, now it is ready for use. Look into my contrib dir to
see how you can effectively use that class (dlgcreatemedium.cpp)
- added a transaction dialog to qcreatemedium in my contrib directory,
I am planning to use that in other programs, too.
It is located in the QTHBCI class to be used by other modules.
QT is quite interesting ;-)
2001/12/26 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- moved instituteMessages from HBCIMessageBox to HBCI.
This way institute messages received are directly stored into HBCI.
- added HBCIAccount class. It is simply a container for the accountParams AND
the balance, transactionData etc. This makes external programs extremely
easier (believe me, I am currently writing one). Currently openhbci
itself does NOT use those extra variables, but programs might. And maybe
later the corresponding JOBs store the data received directly in this
place.
- HBCICustomer now stores new class HBCIAccount instead of simply the
accountParams
- some tutorials needed a correction on this new situation.
If you are writing a program then you might have to change statements in
your program that look like
list<accountParams> xxx
to
list<HBCIAccount> xxx
- added some convenient methods to HBCIPointer
I guess I will start using it in the next days.
- added a contrib directory where users may contribute to openhbci without
changing the library itself.
This directory contains a little program written for QT that lets you
create a RDH medium. There are other programs in my queue ...
Why QT ? Because I don't know much about GTK, and QT is easy to deal with.
I intend to make the dialogs in my directory very modular, so
that they may be used in programs to be written.
- added a parameter to HBCI::msgInput to allow confirming of passwords.
2001/12/23 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed references to the libchipcard homepage in tutorials and READMEs
since libchipcard has a real homepage now.
2001/12/22 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed the name of some constants related to chip cards.
That step was necessary to support other CTAPI drivers than
libtowitoko, too.
Now openhbci does not use the content of <ctapi.h> at all, it simply
uses constants defined in libchipcard
- if you were using libchipcard before then you need the latest version
(at least 0.1.1beta1 or newer from CVS)
- otherwise you are not affected by this change
2001/12/13 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added new template class "HBCIPointer". This is a smart pointer template
with usage counter. It automagically deletes the date it points to if the
usage counter reaches zero (or less ;-))
Maybe we can now transfer the rest of the pointer usage in openhbci to this
new class.
- added "tutorial11" to show how this new class works. It's quite intuitive.
2001/12/11 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a "bug" that caused swiftparser to return an incorrect currency for
transactionData. Well, this is not really a bug, but it occurred that the
test server from PPI in Kiel, Germany transformed accounts from DEM to EUR
without updating the BPDs. I think this will never happen with real servers.
Anyway, if it does, we are prepared now ;-)
2001/12/10 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed "balance" in accountsegs:
removed "currency", because the member "value" is
able to hold the currency, so this would be double
2001/12/06 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- merged Mathias Kettners and my changes to avoid pointer usage, I guess
we are now in sync again.
- removed more compiler warnings
2001/12/02 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added example directory to show how to link your own project against
openhbci. That directory serves as a skeleton. To compile it change
into it and do "./configure" and "make". To use it you must install
openhbci FIRST !
2001/12/01 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- libchipcard changed name of ECCard class to HBCICard, so I had to change
"openhbci.h" and "hbcichipcard.*" to reflect this change
2001/11/29 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added institute code/country code to institute message
- started using ChangeLog file for daily work ;-)
Version 0.3
------------------------------------------------------------------------
The original version was too much based on RDH, so it was difficult to
implement DDV (I tried). There were too many pieces to change.
And there where also some changes pending (like moving SEGs to account based
ones).
Because this would occur again when another security medium gets introduced
into HBCI (like RSA chip card) I decided to make these changes to simplify
future implementations.
Another quite ugly thing was the need to register current HBCIUser and
HBCIInstitute whenever one of them changes. Because HBCI allows multiple
users to sign a message (and each user may use an other security mode) it would
have been very difficult to PROPERLY implement this feature with all the
registerUser/registerInstitute stuff.
Now you just add a signer and openhbci does the rest in a more transparent
way.
The openhbci library itself does NOT store the pin of the chip card for
security reasons. Therefore I needed some interactive methods to ask the user
to enter his pin. This is built into the new HBCIChipCard class which is based
on HBCIMedium. Therefore it is easy to transparently implement support for
class 3 (I guess that was the number) chip card readers, which let you enter
the pin directly into a builtin number key pad. And that allows me to later
implement the encrypted storage of keys which Fabian uses, too.
The changes are:
- added HBCIMedium
This class now stores the keys and does all the encryption and signature
stuff. It is now possible to switch from one security mode to another.
There are now two special classes derived from this one:
- HBCIMediumRDH
This class introduces RDH security mode and it does what Fabians version
did in several classes (creating RSA keys, loading, storing of keys,
encryption, decryption, signing and verifying a signature). In fact
nearly all methods are taken from various locations in Fabian's original
version.
- HBCIChipCard
This class introduces DDV security mode. It does all the interaction
between hbci and the chip card.
When new security media arrive (like the mysterious RSA chip card)
you only have to derive a class from HBCIMedium and it will be used
by the library.
- removed HBCIUser, added "accountParams" class to adminseg, because
the segment classes are the only ones who really know about what information
is delivered by the hbci server and what their format is, so now all
parsing of segment data is left in adminseg/adminjobs.
That makes the "accountParams" class a passive one which only STORES data.
- removed HBCIInstitute, added "instituteParams" class to adminseg (see
above), which only stores data
- added HBCICustomer
- a customer is defined by an institute id (containing country id, institute
code) and a user id assigned by that institute
- this class is the main class of my openhbci version
- now this class stores most information which was stored in HBCIUser,
except for the keys which went into HBCIMediumRDH
- it also stores the HBCI object to which this customer belongs and
the security medium this customer uses
- this class stores all account information (so called "UPD") for this
customer
- modified JOBs, SEGs (partially rewritten but even then based on Fabians)
- these classes are now based on HBCICustomer only. From that class they
get all the information they need (including a reference to the security
medium used)
- account based jobs (like JOBGetBalance) get the
appropriate "accountParams" object in their constructor
- modified HBCI
- removed all static stuff
- added interactive methods for reading pin, writing messages etc.
these methods have to be overloaded by YOUR application to be of any
use. I need these methods here because HBCI allows multiple signers
of messages. Therefore we might have the need to remove the currently
inserted card and to replace it by that of the next signer. And that
needs interactivity with the user (asking to replace card, asking for pin)
- added libraryVersion() and corresponding definitions to make it easier
to determine what the current openhbci version is capable of. The
definitions are:
- k_HBCI_LIBVERSION_MAJOR for the major version (currently 0)
- k_HBCI_LIBVERSION_MINOR for the minor version (currently 3)
- k_HBCI_LIBVERSION_PATCHLEVEL for the patchlevel (currently 0)
Martin Preuss<openhbci@aquamaniac.de>
Hamburg, Nov 26, 2001
|