1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888
|
2007-02-18 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 2.0.5
2007-02-18 Derek Atkins <derek@ihtfp.com>
The New Turkish Lira changes from TRL to TRY in 2005. Fix #408442.
2007-02-18 Andreas Köhler <andi5.py@gmx.net>
Make new windows the same size as the active one. Fix #341968.
New main windows appear very small, so set their size to the one
of the currently active window. If that is in a maximized state,
maximize the new windows too. However, do not try to position
them.
2007-02-18 Christian Stimming <stimming@tuhh.de>
Add sanity checks when accessing GncPluginPage. Fixes #405851 and
hopefully others.
2007-02-04 Joshua Sled <jsled@asynchronous.org>
Bug#168700: extension of fin.scm with cpd_{,i,p}pmt functions,
featuring variable compounding and consistent rounding functions.
Patch from Ludovic Nicolle <ludo_gnc@chezludo.com>, though moved
around in the file a bit.
2007-02-04 Joshua Sled <jsled@asynchronous.org>
Bug#372262: create the session with the file-creation option enabled.
2007-02-04 Andreas Köhler <andi5.py@gmx.net>
Do not crash on delete_event in new user dialog. Fix #401484.
If the new user dialog is closed with the help of the window
manager, the delete_event is not handled and
g_assert_not_reached() is reached by the code. Treat it like a
click on "Cancel" instead.
2007-02-02 Christian Stimming <stimming@tuhh.de>
* accounts/fr_CA/*: Added Canadian French account templates by
Serge P. Leblanc.
* po/fr.po: Updated French translation by Fabrice Kurz.
2007-01-28 Derek Atkins <derek@ihtfp.com>
* /tmp/qof.trace or /tmp/gnucash.trace is opened for writing directly.
This could be a security issue if someone else, say, makes a symlink
to somewhere else. Instead, create a tempfile and then rename it
into place which is safe against the symlink attack.
Patch by Bill Nottingham <notting@redhat.com>
2007-01-27 Derek Atkins <derek@ihtfp.com>
* "string-match" uses regexp which can error out if a GNC Account
has a paren in it, or any other regexp special character. Use
"string-contains" from srfi-13 instead. Bug reported by Melinda
Savoy:
http://lists.gnucash.org/pipermail/gnucash-user/2007-January/019028.html
2007-01-27 Christian Stimming <stimming@tuhh.de>
* Change Russian Ruble from RUR to RUB; r7574 was erroneous. #393185.
Fix numerical currency code for RUB.
2007-01-27 Joshua Sled <jsled@asynchronous.org>
* Bug#394420: initialized dates still aren't valid; set to 'now'
before manipulating. Also: use correct month (!) :p
2007-01-27 David Hampton <hampton@employees.org>
* Don't abort when F::Q fails to return a quote. GnuCash may have
more quote sources to query. Fixes #387410.
* Make the dependency requirements consistent with the other
gnc-fq-xxx programs. This program does not use the additional
requirements, but since its used as a diagnostic to find
problems with gnucash, it should be helpful to have them listed
here.
2007-01-27 Andreas Köhler <andi5.py@gmx.net>
* Adjust box packing in payment dialog. Fix #393024.
* Use MAX_DATE_LENGTH+1 as length for some date buffers.
Avoid memory corruption by reserving enough bytes on the stack for a
date buffer. Patch by Richard Earnshaw <rearnsha@netbsd.org>.
* Use guiles native sort and record. Fix #373809.
Slib 3a4 changed the way to determine whether to use natively
supported features or the ones provided by slib. This leads to
several problems:
* some code creates a record with one implementation and code uses it
with the other implementation
* slibs sort does not seem to work with guile 1.6.8 arrays and even
exposes a bug in those arrays
Return to the status quo by removing all (require 'sort) and (require
'record). GnuCash depends on Guile >= 1.6 which should feature that.
2007-01-12 Andreas Köhler <andi5.py@gmx.net>
* Translate expenses in mortgage/loan druid. Fixes #393436.
* Actually translate "Remove Splits". The button label in the
warning dialog about reconciled splits when removing splits from a
transaction used N_ without gettext, so was untranslated.
2007-01-01 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 2.0.4
2006-12-30 David Hampton <hampton@employees.org>
* Save and restore the visibility of the toolbar, statusbar, and
summarybar. Fixes #106259.
2006-12-30 Andreas Köhler <andi5.py@gmx.net>
* Avoid crash when renaming page in a page-less window by returning if
there is no current page. Fixes #388841.
2006-12-30 Derek Atkins <derek@ihtfp.com>
* Load and store a commodity's KVP-frame (IFF it's non-empty).
This would let us store something like an Asset Class.
* guile 1.8's SCM_EXACTP() throws an error when passed a
non-number. So make sure we test SCM_NUMBERP() before
SCM_EXACTP() This causes gnucash to crash on e.g. FC6 from the
File Properties Menu.
* Make sure we set DYLD_LIBRARY_PATH in the test environment (for
MacOS X)
2006-12-30 Christian Stimming <stimming@tuhh.de>
* Check for potentially failed utf8 conversion of locale strings.
bug#383270
2006-12-30 Chris Shoemaker <chris.shoemaker@cox.net>
* Return zero instead of failing an assertion when the register
asks a Split for its amount in a commodity that is not involved
in the split's transaction. This will prevent the crash in bug
#379625, but doesn't solve the underlying problem, which is a
bug in the register.
2006-12-25 Andreas Köhler <andi5.py@gmx.net>
* Correct account compatibility check with top level account. #389317
2006-12-20 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/test/Makefile.am: Minor fix so build
completes on Ubuntu/Debian (tested on Edgy)
2006-12-10 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 2.0.3
2006-12-02 Chris Shoemaker <chris.shoemaker@cox.net>
Fix bug #353450 - Crash on quit during save.
Add a lock to the QofSession object, and use it in
qof_session_save() to protect against re-entrance.
The lock always starts at 1 and is 0 while inside
qof_session_save(). If another call is made to qof_session_save()
while one is in progress, the lock will momentarily drop below 0
before returning to zero.
Note: The per-session nature of the lock would make it appear that
we support concurrent saving of different sessions. In fact, we
do not, because the file backend blocks the main process until the
forked gzip process is finished, and it only knows how to keep
track of one child pid at a time.
--
Factor out some quiting code from gnc_main_window_delete_event()
and gnc_main_window_cmd_file_quit(). The new implementation fixes
two bugs - one in each of the previous implementations.
The bug in the gnc_main_window_cmd_file_quit() code was a race
condition whereby one could quit the application without finishing
pending changes in pages. This would happen if the began a save,
modified the page during the save, and then triggered the
File->Quit command before the save completed. For the register
page, this sequence was possible, even though most of the UI
controls are disabled during save.
The bug in the gnc_main_window_delete_event() code was that it
didn't check for an in-progress save before prompting the user to
save a dirty book.
2006-12-01 Andreas Köhler <andi5.py@gmx.net>
Save window size and position of the transfer dialog.
2006-11-29 Andreas Köhler <andi5.py@gmx.net>
When progress bar is showing, do not make menus and toolbars
insensitive, but rather the underlying action groups. This way even
keyboard accelerators will not make sneaking calls while saving.
Fixes #381467.
2006-11-29 Christian Stimming <stimming@tuhh.de>
Replace 'static inline' by 'static' for functions that are used by
function pointers. Fixes some compiler issues when building without
certain optimizations.
2006-11-20 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-parse.scm:
Don't have aktzu in the "case" twice. Fixes #377519.
2006-11-13 Chris Shoemaker <chris.shoemaker@cox.net>
Make the xml file read behavior less random for malformed account
input.
2006-11-12 Christian Stimming <stimming@tuhh.de>
Fix missing date when reconciling from HBCI #372929.
as suggested by Konstantin Goudkov
2006-11-09 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-gnome-utils.c: Inform the user about
'gnucash-docs' package when Help is selected with no
content. Fixes #347102.
2006-11-05 David Hampton <hampton@employees.org>
* src/report/standard-reports/category-barchart.scm:
* src/report/standard-reports/account-piecharts.scm: Fix some
scheme inexact errors. Fixes 347462.
2006-11-03 Andreas Köhler <andi5.py@gmx.net>
Make gnc-dense-cal:month_name to use g_date_strftime instead of
strftime so that it returns a clean UTF-8 string.
2006-10-10 Chris Shoemaker <chris.shoemaker@cox.net>
Ensure that the blank transaction is marked as the pending
transaction when it is modified. This fixes a bug where editing
the blank transaction, moving off of the transaction line to a
split line, leaving the split line unedited and then closing the
register will incorrectly leave the transaction open without
asking. The bug fixed by this commit is possibly responsible for
some of the crashes like bug #348469.
This fixes a bug in r14495. The bug is that auto-completed
transactions aren't correctly marked as pending. This bug is
probably responsible for the crashes like those in bug #348469.
In general, the register makes it very difficult to consistently
distiguish between beginning to edit a transaction that's being
edited in another register and beginning to edit the blank
transaction, which is already open for editing, but isn't marked
pending so that we can pretend it hasn't been opened if it never
gets modified.
Fortunately, the auto-completion code only runs on the blank
transaction, so we can assume it's not being edited in another
register. This patch goes ahead and marks the blank transaction
as pending.
2006-10-09 Andreas Köhler <andi5.py@gmx.net>
Lessen restriction of the parameter whoami of the gnc_gconf_add/
remove_notification functions. Now the pair of section and whoami
has to be unique, as GncMainWindow adds notifications to two
different sections. Extends r14675. Remove a superfluous leading
slash and doubly defined gconf key macros.
Correct gnc_gconf_add/remove_notification to avoid printf'ing NULL and
therefore crashes on Solaris and Windows. r14675 had fixed that, r14945
(me) undermined it though. (#378881).
Remove "closing last window" confirmation dialog and corresponding
warning (reverting r14580). Fixes #355392.
2006-09-26 Andreas Köhler <andi5.py@gmx.net>
Handle type-compatibility when reparenting accounts: #344966.
Add xaccAccountTypesCompatibleWith and change
xaccAccountTypesCompatible to use that.
Add gnc_tree_model_account_types_set_mask and bind mask to the
filter model instead using it as data of the filter function,
because those can only be set once per filter.
f_model is not always set in
gnc_tree_model_account_types_get_selection because of a bug in
gtk+ (#357791). Also add gnc_tree_model_account_types_get_mask.
Make the account type list in the account dialog dynamically
filtered based on compatibility to the parent account.
* add gnc_account_parent_changed_cb. Filter by valid_types & parent
compatible types
* add aw->preferred_account_type to remember what we chose but may not
work currently
* make valid_types a guint32 (was GList*)
* last_used_account_type is only set in gnc_ui_to_account
Free a list in import-account-matcher.c.
Ease account type changes in the account dialog after OK is
clicked. Before, we did not enforce compatibility with the parent
account and suggested to change only children or children and all
parent accounts up to the top-level one. We do enforce it now and
only need to look at the children.
The filling of the hash of (children) account (type) changes has
been replaced by showing the user a filtered account tree and the
types are adjusted recursively once the user verified the change.
This is another attempt to resolve #344966.
2006-10-08 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 2.0.2
2006-10-03 Chris Shoemaker <chris.shoemaker@cox.net>
* src/gnome-utils/glade/transfer.glade: Fix for bug #359471.
Remove the glade hookup of gnc_xfer_dialog_close_cb() to the
close signal. This callback doesn't handle aborting correctly
when called directly, but it will behave correctly when called
indirectly from close_handler(). The "response" callback will
now be called for all actions that close the dialog.
2006-10-03 Andreas Köhler <andi5.py@gmx.net>
* transaction.scm: Quote an empty scheme list and avoid crash of
transaction report on empty session. Fixes #359412.
2006-10-03 Christian Stimming <stimming@tuhh.de>
* several Makefile.am files: Fix Makefiles for .schemas file
installation. srcdir contains the .schemas.in files, but not the
generated .schemas files. Fixes make distcheck.
2006-10-01 Christian Stimming <stimming@tuhh.de>
* po/fr.po: Updated French translaction by Fabrice Kurz
2006-09-26 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-query-list.c:
Initialize sort order in query lists. Fixes #357481.
2006-09-26 Derek Atkins <derek@ihtfp.com>
Add the ability to override the default sort (#150799).
Override the Transaction Number to sort numerically.
* lib/libqof/qof/qofclass.h:
* lib/libqof/qof/qofquery.c:
* lib/libqof/qof/qofquerycore-p.h:
* lib/libqof/qof/qofquerycore.[ch]:
- Publish the QofCompareFunc prototype.
- Add a new QofParam param_compfcn parameter
- Change QofQuery to use the param_compfcn over the
default type compare function.
- create (and publish) a qof API to compare strings
as numbers: qof_string_number_compare_func()
* src/engine/Transaction.c:
Assign TRANS_NUM to use qof_string_numer_compare_func()
2006-09-25 Christian Stimming <stimming@tuhh.de>
* po/ne.po: Updated complete Nepali translation by Subir
Pradhanang et al.
2006-09-23 Derek Atkins <derek@ihtfp.com>
* src/ledger-core/split-register*.c:
suspend events around the Commit(). Fixes #347089 when combined
with r14495.
* src/gnome/druid-acct-period.c:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome/window-reconcile.c:
disable lot scrubbing during Check & Repair (#357370).
Lots are supposed to be disabled in the 2.0 release until we
get the cap-gains code working. IMHO the cap-gains code should
deal with extra txn splits instead of creating additional txns.
2006-08-22 Chris Shoemaker <chris.shoemaker@cox.net>
Avoid crash from opening transaction in more than one register. Bug #347089.
In any case where we might be opening the transaction and marking it as the
pending transaction, check first if it's already open. If it is, we assume
that it's being edited by another register. We report the error and abort
the action that would have opened the transaction.
2006-09-19 Andreas Köhler <andi5.py@gmx.net>
* src/backend/file/gnc-backend-file.c:
* src/gnome-utils/gnc-file.c: Do not complain about non-existent
files if we save to a new file. In pass one we ignore the error
returned by stat and call qof_session_begin with
create_if_nonexistent=TRUE for a second run.
2006-09-03 Christian Stimming <stimming@tuhh.de>
* lib/libqof/qof/qofbackend.h, src/gnome-utils/gnc-file.c,
src/backend/file/gnc-backend-file.c: If the file type wasn't
recognized, check whether this failed because of no read
permission and give appropriate user feedback.
* src/backend/file/gnc-backend-file.c: Fix error checking for
non-existing filenames. Will now always give a "file not found"
message on nonexisting paths or filenames. #351351.
2006-08-22 Chris Shoemaker <chris.shoemaker@cox.net>
Drop gtktreedatalist (and gnctreemodelsort) from the build because it can
conflict with the real gtk+ version of the same file, depending on the
linking order of libgncmod-gnome-utils.so and the gtk+ libraries.
2006-08-20 David Hampton <hampton@employees.org>
* src/gnome/gnc-plugin-page-account-tree.c: Maintain the account
hierarchy when reparenting the descendants of a deleted account.
2006-08-18 David Hampton <hampton@employees.org>
* src/gnome/gnucash-desktop*: Update so that bug-buddy 2.16 will
still allow you to file bugs against gnucash.
* src/engine/Account.c: Add missing call to xaccAccountBeginEdit.
2006-08-15 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c, druid-hbci-initial.c:
Double-check really every string from aqbanking for valid utf-8
characters.
* src/core-utils/gnc-glib-utils.[hc]: Add
gnc_utf8_strip_invalid_strdup() that returns a stripped copy
instead of working in-place.
* src/import-export/hbci/dialog-hbcitrans.c (blz_changed_cb):
Ensure the encoding of the ktoblzcheck library is used
correctly. Their encoding is still always ISO-8859-1, but in
future versions they might change it to something else. We're
prepared now.
2006-08-15 David Hampton <hampton@employees.org>
* src/core-utils/gnc-gconf-utils.[ch]:
* src/gnome-utils/dialog-preferences.c:
* src/gnome-utils/gnc-plugin.[ch]:
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/dialog-reset-warnings.c:
* src/gnome-utils/gnc-tree-view.c: Remove overloading of an
argument passed to the gnc_gconf_add/remove_notification
functions.. This will solve a crash on Solaris caused by
g_vasprintf being passed a "%s" format string and a NULL as
argument.
2006-08-14 David Hampton <hampton@employees.org>
* doc/tip_of_the_day.list.in: Add a tip for raising the accounts
menu in a register page.
2006-08-12 Christian Stimming <stimming@tuhh.de>
* [ lots of files ]:
Fix all last untranslated report titles.
Deactivated Test Graphing report -- it is untranslated completely.
* gnucash/trunk/src/business/business-reports/owner-report.scm:
Fix untranslated part of string.
* gnucash/trunk/src/import-export/import-backend.c:
Replace exact comparison of doubles by checking for a small
enough difference. bug#347791.
2006-08-11 Christian Stimming <stimming@tuhh.de>
* src/business/business-reports/aging.scm:
Fix string that wasnt marked for translation.
Fortunately exactly this string exists already.
2006-08-08 Christian Stimming <stimming@tuhh.de>
* configure.in, src/gnome-utils/schemas/Makefile.am: Find absolute
path of gconftool-2 during configure. Make gconftool rules to fail
if gconftool-2 could not be found. bug#349851.
* src/gnome-utils/druid-gnc-xml-import.c: Improve wording for XML
data file import druid. bug#342727.
2006-08-07 Christian Stimming <stimming@tuhh.de>
* po/hu.po: Updated Hungarian translation by Sulyok Péter
<peti@sulyok.hu>
2006-08-06 Andreas Köhler <andi5.py@gmx.net>
* various: String fixes that have been delayed due to the string
freeze.
2006-07-30 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 2.0.1
2006-07-31 Derek Atkins <derek@ihtfp.com>
* src/bin/gnucash-bin.c:
Adjust the "development version" message for the 2.0.1 release.
2006-07-30 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/window-reconcile.c: Replace the hbox separating debits
from credits in the reconciliation window by a homogeneous
table. This avoids nasty redraws when one of them changes in
size. Fixes #342512.
2006-07-28 Christian Stimming <stimming@tuhh.de>
* accounts/de_DE/Makefile.am: Updated acctchrt_skr03.gnucash-xea
by Oliver Vollmer. Enabled it again for distribution and
installation because the author thinks it is verified enough by
now.
2006-07-24 Derek Atkins <derek@ihtfp.com>
* [lots of Makefile.am files]:
Allow proper compile/install from tarball using separate builddir.
- Don't distribute (most) generated files.
- Be (more) consistent about when generated files are cleaned.
* po/POTFILES.skip:
- Now that we distribute the SX schema properly, don't skip it
in the POTFILES.skip file.
2006-07-24 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-tree-view.c: Correctly set column sort
orders from gconf. Fixes #348248.
2006-07-22 Derek Atkins <derek@ihtfp.com>
* configure.in: check for SLIB. (#347922)
2006-07-21 Christian Stimming <stimming@tuhh.de>
* accounts/de_DE/Makefile.am: Removed acctchrt_skr03.gnucash-xea
from distribution and installation by request of its author who
doubts the fiscal correctness of this account chart for small
businesses.
2006-07-20 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/report.scm:
Change cmdline warning into an actual user's error dialog
when user attempts to save a report with the same name as
an existing report.
2006-07-19 Christian Stimming <stimming@tuhh.de>
* src/engine/test-core/test-engine-stuff.c:
Fix test of numerics in random splits, because multiplications
might also turn out zero.
2006-07-18 Christian Stimming <stimming@tuhh.de>
* configure.in:
Re-use existing GUILE_LOAD_PATH variable in order not to override
existing search paths.
2006-07-16 Derek Atkins <derek@ihtfp.com>
* configure.in:
check for (g-wrap) module (#347680)
Apparently some distributions ship g-wrap-config separately
from the g-wrap.scm guile module.
2006-07-15 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-file.scm:
Ignore any unknown !Option specification. Fixes #160735.
2006-07-15 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-parse.scm:
Allow comma-radix numbers without a radix. Fixes #142424.
I.e., allow "17.500" to be parsed either as "seventeen and a half"
or as "seventeen thousand five hundred". Note that numbers STILL
default to decimal-radix instead of asking the user to choose.
* src/business/business-core/gncEntry.[ch]:
* src/business/business-ledger/gncEntryLedger.c:
Properly round invoice entries and totals. Fixes #300042.
Perform internal computations to LCD, but then export rounded values.
Now, using the test case in Bug #300042 I get the same values
in the invoice window, in the printable invoice report, and
in the CoA Registers.
* src/business/business-gnome/dialog-invoice.c:
Set the summary bar values when the window is first opened (#345978).
2006-07-15 Chris Shoemaker <chris.shoemaker@cox.net>
* lib/libqof/qof/gnc-numeric.c:
Avoid SIGFPE due to modulo-by-zero is the requested number of
significant figures is greater than log10(2^63).
2006-07-15 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Remove obsolete
buttons for aqbanking/hbci setup that are unneeded. Fix crash due
to dangling points by deleting all pointers after calling
AB_Banking_Fini. (#347595)
2006-07-14 Derek Atkins <derek@ihtfp.com>
* configure.in:
check for (g-wrap gw-glib-spec). Bomb out if not found. #347404.
* configure.in:
Pull down one change from r14497 to fix a broken test (#347607).
2006-07-14 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/schemas/Makefile.am: Add
apps_gnucash_scheduled_transctions.schemas.in. Fixes #340641.
2006-07-13 Chris Shoemaker <chris.shoemaker@cox.net>
* Fix off-by-one bug that strips all spaces from imported strings.
(#347472)
2006-07-12 Derek Atkins <derek@ihtfp.com>
* src/engine/Group.c:
Allow account-separator character in account names (#347321).
Revert to previous behavior of xaccGetAccountFromFullName()
which was changed in r13467 when the function was restructured.
This patch returns to the old behavior (but uses the new
function structure).
* Handle the case of a user who has svk but hasn't configured it.
(#347403).
2006-07-09 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 2.0.0
* src/gnome-utils/glade/totd.glade: Removed 1.8 references
* doc/README.OFX: Removed 1.8 references
* doc/tip_of_the_day.list.in: Removed 1.8 references
* doc/README.german: Removed 1.8 references
* doc/TRANSLATION_HOWTO: Removed 1.8 references
* README: Removed 1.8 references
2006-07-07 David Hampton <hampton@cisco.com>
* src/engine/Transaction.c: Restore 1.8 behavior by using the full
date/time when sorting on the posted date. Fixes #346954.
2006-07-06 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-account.c: When creating accounts from
the register, fix the name parsing logic to correctly handle the
case where the first new account will be the first child of its
parent. Fixes #345771.
2006-07-04 Derek Atkins <derek@ihtfp.com>
* src/core-utils/gnc-glib-utils.h
* src/core-utils/gw-core-utils-spec.scm:
Remove the gnc_utf8_validate() API. It's not used anywhere.
* src/core-utils/gnc-glib-utils.c:
Rework gnc_utf8_validate() as a copy-and-paste of g_utf8_validate
but ignore certain control characters between 0x00 and 0x20
that are not valid XML characters. Fixes #346535.
2006-07-04 Christian Stimming <stimming@tuhh.de>
* po/de.po: Proof-read and improved German translation by feedback
from Andi Köhler.
2006-07-01 David Hampton <hampton@employees.org>
* src/quotes/gnc-fq-helper.in: This one file really does require
the perl Date::Manip module.
2006-07-01 Christian Stimming <stimming@tuhh.de>
* po/nl.po, po/glossary/nl.po: Updated Dutch translation by
Bernard Meens <meensb@xs4all.nl>
2006-06-28 David Hampton <hampton@employees.org>
* packaging/gnucash-1.9.x.ebuild:
* src/quotes/gnc-fq-update.in:
* src/quotes/gnc-fq-check.in:
* src/quotes/gnc-fq-helper.in:
* src/quotes/gnc-fq-dump: Recent version of Finance::Quote no
longer depend on Date::Manip, but they do now depend on
Crypt::SSLeay.
2006-06-27 David Hampton <hampton@employees.org>
* src/report/standard-reports/portfolio.scm:
* src/report/standard-reports/advanced-portfolio.scm: Restore the
original sort ordering which is grouping by parent account, and
then sorting within a group first by account code and then by
account name. Partial fix for #345385.
* src/quotes/gnc-fq-update.in:
* src/quotes/gnc-fq-check.in:
* src/quotes/gnc-fq-helper.in:
* src/quotes/gnc-fq-dump: When modules can't be found refer users
to their package manager first. Other fixups for the utility
program name changes.
2006-06-27 Christian Stimming <stimming@tuhh.de>
* src/backend/file/gnc-backend-file.c: Ignore failed chown()
because it always fails on vfat/samba. #345913
2006-06-26 David Hampton <hampton@employees.org>
* src/pixmaps/gnucash-icon.png:
* src/pixmaps/appicon.png: Add new application icon.
2006-06-25 Joshua Sled <jsled@asynchronous.org>
* src/pixmaps/gnucash_splash.png: reduced-size splash image.
2006-06-24 Derek Atkins <derek@ihtfp.com>
Allow building from either SVN or SVK
* util/gnc-svnversion: obtain revision info from SVN or SVK.
Deals with lndir tree and both svn and svk checkouts.
* configure.in:
* src/gnome-utils/Makefile.am:
use new gnc-svnversion script instead of calling out to svn
directly.
* moved glade-fixup to util subdir
2006-06-20 Christian Stimming <stimming@tuhh.de>
* src/engine/iso-4217-currencies.scm: Add Suriname Dollar
currency; replaces SRG, but due to a non-unity exchange rate we
cannot have it replaced automatically. #319084
* src/backend/file/io-gncxml-v2.c: Use waitpid() only if
<sys/wait.h> is available. Unavailable on win32.
2006-06-18 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.8
2006-06-18 Christian Stimming <stimming@tuhh.de>
* accounts/de_DE/acctchrt_skr03.gnucash-xea: Add new SKR03 account
template (in addition to the existing SKR04) by Oliver Vollmer
<ovo@mx.lihas.de>.
r14377 | chris | 2006-06-16 21:00:18 -0400 (Fri, 16 Jun 2006) | 2 lines
M /gnucash/trunk/src/engine/gnc-commodity.c
M /gnucash/trunk/src/engine/iso-4217-currencies.scm
Update mnemonic for Mexican Peso. Fixes Bug #345048.
r14375 | chris | 2006-06-16 20:38:08 -0400 (Fri, 16 Jun 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/dialog-utils.c
Make the keypad 'minus' key enter a dash in the date entry for ISO dates.
Fixes Bug #345096.
r14373 | chris | 2006-06-16 19:14:13 -0400 (Fri, 16 Jun 2006) | 3 lines
M /gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
Restore non-editing state when cancelled editing is complete.
Fixes Bug #344870, which was a regression caused by r11892.
2006-06-16 David Hampton <hampton@employees.org>
* src/register/register-gnome/gnucash-item-edit.c: Correctly
indicate the focus state of the register. Fixes #342055.
* src/gnome-utils/gnc-main-window.[ch]:
* src/gnome/gnc-plugin-page-account-tree.c: Instead of marking the
first page so that it can't be closed, mark the first *accounts*
page so that it can't be closed.
* src/register/register-gnome/gnucash-header.c: Remove five year
old workaround for a resizing bug. Fixes #344764. Also
explicitly initialize a couple of variables.
2006-06-14 David Hampton <hampton@employees.org>
* src/app-utils/gnc-ui-util.c: Restore the auto decimal places
settings from gconf at startup. Fixes #344938.
* src/business/business-gnome/glade/invoice.glade: The Chargeback
and Extra Payments sections of the bill should not expand to fill
extra space.
* src/business/business-ledger/gncEntryLedgerLoad.c: Use the new
mechanism for the account list popups. Fixes #342058.
* src/import-export/hbci/gnc-hbci-utils.c: HBCI data is already in
utf8. Don't recode into the local charset (which may not be utf8).
2006-06-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c: Similarly ensure for
aqbanking/mt940 import that all retrieved strings will be valid
utf8.
2006-06-13 David Hampton <hampton@employees.org>
* src/import-export/qif-import/druid-qif-import.c: Do a better job
of turning the busy cursor on/off. Now works correctly if there's
a failure in the input file.
* src/core-utils/gnc-glib-utils.[ch]:
* src/core-utils/gw-core-utils-spec.scm:
* src/import-export/qif-import/qif-file.scm:
* src/import-export/ofx/gnc-ofx-import.c: Strip all invalid utf8
characters from imported QIF and OFX/QFX strings. This fixes bugs
#106203 #338296 #344170 and #344219. Long term gnucash should be
enhanced to learn/remember the input encoding and automatically
convert to utf8.
2006-06-13 Derek Atkins <derek@ihtfp.com>
* configure.in: force-enable hbci if the user enables mt940
2006-06-13 David Hampton <hampton@employees.org>
* src/quotes/gnc-fq-helper.in: Tell gnucash that a currency quote
failed instead of just abandoning the request. Fixes #344546.
r14354 | chris | 2006-06-12 20:35:47 -0400 (Mon, 12 Jun 2006) | 2 lines
M /gnucash/trunk/src/import-export/qif-import/qif-parse.scm
Don't crash when parsing empty string as date. Fixes #344466.
2006-06-12 David Hampton <hampton@employees.org>
* src/engine/Account.c: When committing an account during the
closing of a book, don't search the engine for splits that are in
the process of being assigned to the account but aren't yet linked
into the account. This eliminates an O(n*m) operation that will
never find any work to perform. Fixes #344473.
* src/quotes/gnc-fq-check.in: Quote the F::Q version number so
that it will be correctly parsed as a string.
2006-06-09 David Hampton <hampton@employees.org>
* doc/examples/*.qif: Tell subversion these files are text.
* src/doc/valgrind.txt:
* src/doc/Makefile.am:
* src/gnome-utils/ui/gnc-main-window-ui.xml:
* src/gnome-utils/gnc-main-window.c:
* configure.in: Move the valgrind reference code from a compiled
file to a documentation file. The start/stop valgrind command
didn't work as well as I'd hoped. Fixes #344353.
2006-06-07 David Hampton <hampton@employees.org>
* src/business/business-gnome/business-gnome.scm: Restore the
business reports menu.
r14345 | chris | 2006-06-06 21:34:54 -0400 (Tue, 06 Jun 2006) | 4 lines
M /gnucash/trunk/src/register/ledger-core/split-register-util.c
Um, uhh, important code change. Might fix #343798.*
(*) Might also do strange things to the register, esp. cursor motion.
2006-06-06 David Hampton <hampton@employees.org>
* src/business/business-gnome/glade/billterms.glade: Hide notebook
tabs on programmatically changed notebook.
2006-06-05 Chris Lyttle <chris@wilddev.net>
* packaging/gnucash-1.9.x.ebuild: Update to use -docs-1.9.0
2006-06-05 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.7
2006-06-05 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-menu-extensions.c: Fix "missing icon" menu
icons on FC6.
2006-06-04 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-icons.c:
* src/gnome-utils/test/test-gnc-dialog.c: Include "config.h".
2006-06-04 Derek Atkins <derek@ihtfp.com>
* configure.in:
* various Makefile.am files:
Move the GLIB26 compatibility checks to configure.in.
Just modify GLIB_LIBS and GLIB_CFLAGS so everyone properly
links against the glib26 compatibility library when necessary.
2006-06-04 David Hampton <hampton@employees.org>
* various Makefile.am files: Don't ever reference lib/glib26 if
the host system has glib 2.6 or better installed.
* various Makefile.am files: Add lib/glib26 to the include and
library paths.
* src/gnome-utils/gnc-plugin-page.h: Include gkeyfile.h instead of
explicitly declaring a data type. This prevents include file
ordering problems.
2006-06-04 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/gnc-plugin-file-history.c:
swap the #includes so it builds on FC3 w/ glib-2.4
2006-06-04 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-plugin-file-history.c: If the g2 file
history list is empty, then copy the file history list over from
Gnucash 1.x gnome settings file. #342724.
2006-06-04 Joshua Sled <jsled@asynchronous.org>
* src/register/register-gnome/gnucash-item-edit.c (gnc_item_edit_selection_received)
(gnc_item_edit_selection_get, gnc_item_edit_paste_clipboard)
(gnc_item_edit_paste_primary, gnc_item_edit_new): Use the
selection type UTF8_STRING for copy/paste rather than the combination
of COMPOUND_TEXT, TEXT and STRING, as the LCD STRING is inadequate
for interesting characters, and it is what the rest of GTK does.
* src/register/register-gnome/gnucash-item-edit.c
(gnc_item_edit_selection_get),
(gnc_item_edit_selection_received): Handle selections more
correctly in a utf8 world, within GnuCash at least. Fixes
Bug#333299.
* src/gnome/druid-loan.c (ld_get_pmt_formula)
(ld_get_ppmt_formula, ld_get_ipmt_formula): Treat all numbers in a
auto-decimal-point-safe way. Bug#343795.
2006-06-04 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-html.[ch]:
* src/report/report-gnome/gnc-plugin-page-report.c: Add
gnc_html_copy and enable report pages to copy to clipboard.
Fixes #343645.
* src/gnome/gnc-plugin-page-register.c: Readd descriptions for
Cut/Copy/Paste actions in register pages.
r14302 | chris | 2006-06-03 10:51:10 -0400 (Sat, 03 Jun 2006) | 3 lines
M /gnucash/trunk/src/backend/file/test/test-load-backend.c
M /gnucash/trunk/src/backend/file/test/test-load-xml2.c
M /gnucash/trunk/src/backend/postgres/test/test-db.c
M /gnucash/trunk/src/backend/postgres/test/test-load-backend.c
M /gnucash/trunk/src/backend/postgres/test/test-period.c
When loading the gmodule backends from the test suite, look in ../.libs
for the real module.
r14301 | chris | 2006-06-03 09:42:53 -0400 (Sat, 03 Jun 2006) | 2 lines
M /gnucash/trunk/configure.in
M /gnucash/trunk/po/POTFILES.skip
M /gnucash/trunk/src/backend/file/Makefile.am
M /gnucash/trunk/src/backend/file/gnc-backend-file.c
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/import-export/Makefile.am
Disable support for the old binary file format.
2006-06-03 Derek Atkins <derek@ihtfp.com>
* src/engine/Split.c:
Properly round values when setting the Base Value. Fixes #337505.
* src/business/dialog-tax-table/tax-tables.glade:
fix a string. It should be "Edit" not "gtk-edit". This string
is already translated, so shouldn't be an issue for the string
freeze.
2006-06-03 Joshua Sled <jsled@asynchronous.org>
* src/gnome/ui/gnc-plugin-page-register-ui.xml:
* src/gnome/ui/gnc-plugin-page-account-tree-ui.xml:
* src/gnome/glade/lots.glade:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome/gnc-plugin-page-register.c:
* src/gnome/lot-viewer.c: Re-enable View Lots; disable 'View' button. Fix
clist/lot-title handling bug. Bug#343772.
2006-06-03 David Hampton <hampton@employees.org>
* src/register/register-gnome/combocell-gnome.c:
* src/register/register-gnome/gnucash-item-list.[ch]: Only use the
amount of space required to show all the entries in the popup, not
all the available space. Fixes #343242.
* src/register/register-gnome/gnucash-sheet.c: The register code
shouldn't process any keystrokes that have a "modifier" (e.g. Alt,
Meta, etc.) key pressed. This allows Alt-Ctl-Pgup/Down in a
register to change the notebook page, just like from the accounts
page. Also remove some dead code. Fixes #343228.
2006-06-03 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/Makefile.am:
* src/gnome-utils/druid-gnc-xml-import.c:
* src/backend/file/io-gncxml-v2.h: Link gnome-utils against
backend/file and remove symbol lookup in druid-gnc-xml-import.c.
* src/register/register-gnome/gnucash-sheet.c: Add GDK_Menu as
shortcut for showing register popups. Fixes 343244.
2006-06-02 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/gnc-window.c: The progress bar changes size when
text is added/removed. Prevent these changes by setting the text
to a single space when there is no text to display. Fixes
#343455.
* src/gnome/window-reconcile.c: Limit the reconciliation date to
the past or today, never the future. Fixes #343527.
2006-06-01 Derek Atkins <derek@ihtfp.com>
* configure.in: Don't need to patch libtool for darwin anymore.
Patch by David Reiser.
* src/gnome-utils/dialog-preferences.c: fix non-C99 construct so
the file builds again.
* po/nb.po: updated Norwegian Bokmål translation by Sigve Indregard
* src/backend/Makefile.am:
* src/backend/gnc-backend-api.h:
deleted gnc-backend-api.h, which isn't needed by anything
* src/backend/file/gnc-backend-file.[ch]:
make "gnc_new_backend()" into a private function. It's
never called from anywhere, so it's not needed in the API.
* src/backend/file/Makefile.am:
Build a shared library (libgnc-backend-file-utils) and a
loadable module (libgnc-backend-file). This should let us
build on MacOS AND windows.
* src/business/business-core/file/Makefile.am:
* src/gnome/Makefile.am:
link against libgnc-backend-file-utils
2006-06-01 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/dialog-preferences.c: Do not try to find
positions for alphabetic insertions of add_on pages, but rather
append and then sort pages in the end. Solves appearance of pref
dialog in non-C locales.
* src/gnome-utils/glade/preferences.glade: Move "Accounting
Period" to the top, regardless of above.
* src/gnome-utils/gnc-main-window.c: Cancel renaming of a page
when GDK_Escape is pressed. Fixes #343226.
r14285 | chris | 2006-05-31 21:44:53 -0400 (Wed, 31 May 2006) | 6 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account.c
Restore two behaviors removed by r14283, and add a third.
1) Invalidate outstanding iterators when a row is inserted or deleted.
2) Emit row_changed for ancestors of inserted or deleted row.
New) Emit row_changed for ancestors of a changed account, too.
2006-05-31 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-tree-model-account.c: Replace
gnc_tree_model_account_path_changed with manual checks whether
the inserted (resp. deleted) account is the first (resp. last)
account in its level and call gtm_row_has_child_toggled only in
these cases. Might fix #343405, as GtkTreeModelFilter seems to
make (false) assumptions when being woken up too often.
2006-05-31 Derek Atkins <derek@ihtfp.com>
* po/es.po: Updated Spanish Translation from Eneko Lacunza
* src/business/business-core/gncAddress.c: remove some duplicated code.
2006-05-30 David Hampton <hampton@employees.org>
* various: Update the help file names now that the docs are xml
instead of html. Fixes #343255.
* src/scm: Remove old help-topics-index files.
r14276 | chris | 2006-05-30 20:56:10 -0400 (Tue, 30 May 2006) | 3 lines
M /gnucash/trunk/src/gnome/gnucash.desktop.in
M /gnucash/trunk/src/pixmaps/Makefile.am
GNOME integration, part 2. Bug #342936.
Use the same icon for the window manager as for the desktop.
r14251 | chris | 2006-05-29 18:07:10 -0400 (Mon, 29 May 2006) | 4 lines
M /gnucash/trunk/src/gnome/Makefile.am
M /gnucash/trunk/src/gnome/gnucash.desktop.in
D /gnucash/trunk/src/gnome/gnucash.keys.in
D /gnucash/trunk/src/gnome/gnucash.mime
M /gnucash/trunk/src/pixmaps/Makefile.am
Improve GNOME desktop integration. Bug #342936
Patch supplied by Stanislav Brabec <sbrabec@suse.cz>.
r14237 | chris | 2006-05-29 15:24:38 -0400 (Mon, 29 May 2006) | 3 lines
M /gnucash/trunk/src/business/business-reports/aging.scm
Fix a crash in the aging report. Breaks a string, but seeing English is
better than seeing a guile stack trace.
r14233 | chris | 2006-05-29 00:53:40 -0400 (Mon, 29 May 2006) | 2 lines
M /gnucash/trunk/Makefile.am
revert r14177 because it fails make dist.
r14232 | chris | 2006-05-29 00:52:23 -0400 (Mon, 29 May 2006) | 4 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/engine/gnc-engine.c
Move the error-handling of failure to initialize the engine from
gnc-engine.c to gnucash-bin.c. This allows tests that call
gnc_engine_init() but fail to find a backend to still pass.
2006-05-29 Joshua Sled <jsled@asynchronous.org>
* packaging/gnucash-1.9.x.ebuild: Remove support for being a
dual-nature -release and -svn ebuild. Misc cleanups.
2006-05-29 Andreas Köhler <andi5.py@gmx.net>
* src/backend/file/io-gncxml-v2.c: Add wait_for_gzip to avoid
reading from a file that is still being written to by a child
process, a race condition at the end of the xml import druid.
2006-05-28 David Hampton <hampton@employees.org>
* src/pixmaps/gnucash_splash.png: New splash screen from Joshua
Facemyer / Impressus Art <faceman@impressusart.com>.
* po/en_GB.po: Updated translation from Nigel Titley.
* src/backend/file/io-gncxml-v2.c: Fix gcc4 complaint about unused
return value of the write function.
2006-05-28 Andreas Köhler <andi5.py@gmx.net>
* src/backend/file/gnc-backend-file.c:
* src/backend/file/io-gncxml-v2.c: Move is_gzipped_file to
io-gncxml-v2.c. Extend try_gz_open to read from gzipped files.
Let gnc_xml2_find_ambiguous and parse_with_subst_push_handler
read gzipped files.
* src/backend/file/sixtp.c:
* src/backend/file/sixtp.h: Add gnc_is_our_first_xml_chunk.
* src/backend/file/io-gncxml-v2.h:
* src/gnome-utils/druid-gnc-xml-import.c: Remove "error" from
argument list of gnc_xml2_find_ambiguous.
r14213 | chris | 2006-05-27 22:23:37 -0400 (Sat, 27 May 2006) | 7 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
The description for the "sort_column" gconf key of the tree_views says,
"Possible values for this setting are the name of any column in this
dialog (see the column_order key) or the keyword 'none'."
The third click on a column header removes the sorting by that column.
This patch will now store 'none' for the sort_column in that case.
r14212 | chris | 2006-05-27 15:05:41 -0400 (Sat, 27 May 2006) | 12 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
Use GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of '0' as the
fallback sort column, since column 0 may not be sortable with the
default sort function.
Set the MODEL_COLUMN column property, even when it is -1, since
gnc_tree_view_set_sort_column() looks for this condition.
Make the gnc_tree_view_count_visible_columns() function only count regular
columns, so that the special columns don't count, but count any
DEFAULT_VISIBLE columns, even if they've been hidden by gconf. That way,
the special columns will still show and allow the user to unhide columns.
r14210 | chris | 2006-05-27 10:19:48 -0400 (Sat, 27 May 2006) | 3 lines
M /gnucash/trunk/lib/libqof/backend/file/Makefile.am
M /gnucash/trunk/src/backend/file/Makefile.am
M /gnucash/trunk/src/backend/postgres/Makefile.am
Add -avoid-version to LDFLAGS of gmodule backends.
Hopefully this will solve the problem Macs are having dlopen'ing them.
2006-05-27 Joshua Sled <jsled@asynchronous.org>
* packaging/gnucash-1.9.x.ebuild: Add docs extraction, un-slot,
un-/opt-ize.
2006-05-27 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/druid-gnc-xml-import.c: When the user chooses
another default encoding, do not recheck the file for ambiguous
words, but rather just resort what has been found before.
2006-05-26 Derek Atkins <derek@ihtfp.com>
* src/engine/gnc-engine.c: load the qsf backend from the right place.
* src/engine/gnc-engine.c:
force-exit gnucash if a required library can't be loaded.
* src/engine/gnc-engine.c:
* lib/libqof/qof/qofsession.c:
QOF should load its own backend libraries.
It shouldn't depend on apps to load QOF libraries.
Make sure app-defined backends are used first.
Fix a memory leak in qofsession.
2006-05-26 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Simplify calling
the aqhbci setup wizard for aqbanking>=1.9.1 because we don't need
to select an aqbanking backend beforehand.
2006-05-25 Chris Shoemaker <chris.shoemaker@cox.net>
* configure.in: REactivate --enable-sql by reverting part of r14175
see bug#332251.
r14200 | chris | 2006-05-25 20:23:34 -0400 (Thu, 25 May 2006) | 2 lines
M /gnucash/trunk/ChangeLog
M /gnucash/trunk/configure.in
REactivate --enable-sql by reverting part of r14175; see bug#332251
r14199 | chris | 2006-05-25 20:14:28 -0400 (Thu, 25 May 2006) | 4 lines
M /gnucash/trunk/src/engine/gnc-engine.c
Load the file backend _after_ the qsf backend, so that it gets tried
_before_ the qsf backend, because the qsf backend prints some noisy error
messages while figuring out that the gnucash file isn't a qsf file.
r14198 | chris | 2006-05-25 20:10:35 -0400 (Thu, 25 May 2006) | 3 lines
M /gnucash/trunk/ChangeLog
M /gnucash/trunk/lib/libqof/backend/file/Makefile.am
M /gnucash/trunk/lib/libqof/backend/file/qof-backend-qsf.h
M /gnucash/trunk/lib/libqof/backend/file/qsf-backend.c
M /gnucash/trunk/lib/libqof/qof/guid.c
M /gnucash/trunk/lib/libqof/qof/qof.h
M /gnucash/trunk/lib/libqof/qof/qofbackend-p.h
M /gnucash/trunk/lib/libqof/qof/qofbackend.c
M /gnucash/trunk/lib/libqof/qof/qofbackend.h
M /gnucash/trunk/lib/libqof/qof/qofbook.c
M /gnucash/trunk/lib/libqof/qof/qofsession-p.h
M /gnucash/trunk/lib/libqof/qof/qofsession.c
M /gnucash/trunk/lib/libqof/qof/qofsession.h
M /gnucash/trunk/lib/libqof/qof/qofutil.c
M /gnucash/trunk/lib/libqof/qof/qofutil.h
M /gnucash/trunk/src/backend/file/gnc-backend-file.c
M /gnucash/trunk/src/backend/file/gnc-backend-file.h
M /gnucash/trunk/src/backend/file/test/test-load-backend.c
M /gnucash/trunk/src/backend/file/test/test-load-xml2.c
M /gnucash/trunk/src/backend/postgres/Makefile.am
M /gnucash/trunk/src/backend/postgres/PostgresBackend.c
M /gnucash/trunk/src/backend/postgres/PostgresBackend.h
M /gnucash/trunk/src/backend/postgres/test/test-db.c
M /gnucash/trunk/src/backend/postgres/test/test-load-backend.c
M /gnucash/trunk/src/backend/postgres/test/test-period.c
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/Makefile.am
M /gnucash/trunk/src/engine/Period.c
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/gnc-commodity.h
M /gnucash/trunk/src/engine/gnc-engine.c
M /gnucash/trunk/src/engine/gnc-engine.h
M /gnucash/trunk/src/engine/gnc-pricedb.c
M /gnucash/trunk/src/engine/gnc-session-scm.c
M /gnucash/trunk/src/engine/gnc-session-scm.h
M /gnucash/trunk/src/engine/gw-engine-spec.scm
M /gnucash/trunk/src/gnome-utils/gnc-file.c
M /gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Merge 'misc-backend' -r 14160:14184 into trunk.
This includes the now semi-functional postgres backend.
2006-05-24 Joshua Sled <jsled@asynchronous.org>
* src/register/ledger-core/split-register-load.c (skip_cb):
Disable skipping hidden accounts for the purposes of quickfill
completion population. Less-than-ideal-but-simple fix for
Bug#340885.
2006-05-24 Derek Atkins <derek@ihtfp.com>
* src/report/report-gnome/window-report.c:
Re-enable window sensitivity if the report fails. Fixes #341610
2006-05-24 Christian Stimming <stimming@tuhh.de>
* configure.in: Deactivate --enable-sql because PostgreSQL backend
is still broken and we can't fix it before 2.0.0; bug#332251.
r14181 | chris | 2006-05-24 18:57:43 -0400 (Wed, 24 May 2006) | 3 lines
M /gnucash/branches/misc-backend/lib/libqof/qof/guid.c
The postgres backend depends on the value of the null guid, so revert it
to its 1.8 value.
r14180 | chris | 2006-05-24 18:54:03 -0400 (Wed, 24 May 2006) | 2 lines
M /gnucash/trunk/lib/libqof/qof/gnc-date.c
Consistently pad date formats with zeros instead of spaces.
r14170 | chris | 2006-05-23 23:55:35 -0400 (Tue, 23 May 2006) | 2 lines
M /gnucash/branches/misc-backend/src/backend/postgres/Makefile.am
M /gnucash/branches/misc-backend/src/backend/postgres/PostgresBackend.c
M /gnucash/branches/misc-backend/src/engine/Account.c
M /gnucash/branches/misc-backend/src/engine/gnc-commodity.h
Trivial comments/cleanups.
r14169 | chris | 2006-05-23 23:53:52 -0400 (Tue, 23 May 2006) | 2 lines
M /gnucash/branches/misc-backend/src/gnome-utils/gnc-html-graph-gog.c
Clarify unused parameters.
r14168 | chris | 2006-05-23 23:48:00 -0400 (Tue, 23 May 2006) | 3 lines
M /gnucash/branches/misc-backend/src/gnome-utils/gnc-file.c
There's no need to rerun the book-saved callbacks in gnc_file_save_as()
because they've already been run in gnc_file_save()
r14167 | chris | 2006-05-23 23:44:50 -0400 (Tue, 23 May 2006) | 6 lines
M /gnucash/branches/misc-backend/src/gnome-utils/gnc-file.c
M /gnucash/branches/misc-backend/src/gnome-utils/gnc-main-window.c
Use the session URL instead of file path for
1) determining if we have something open
2) determining if we're saving exactly what we have open
3) updating the title bar
r14166 | chris | 2006-05-23 23:34:18 -0400 (Tue, 23 May 2006) | 2 lines
M /gnucash/branches/misc-backend/lib/libqof/backend/file/Makefile.am
M /gnucash/branches/misc-backend/lib/libqof/backend/file/qof-backend-qsf.h
M /gnucash/branches/misc-backend/lib/libqof/backend/file/qsf-backend.c
M /gnucash/branches/misc-backend/lib/libqof/qof/qof.h
M /gnucash/branches/misc-backend/lib/libqof/qof/qofsession.c
Move the QSF backend from custom init to GModule init.
r14165 | chris | 2006-05-23 23:21:09 -0400 (Tue, 23 May 2006) | 18 lines
M /gnucash/branches/misc-backend/lib/libqof/backend/file/qsf-backend.c
M /gnucash/branches/misc-backend/lib/libqof/qof/qofbackend-p.h
M /gnucash/branches/misc-backend/lib/libqof/qof/qofbackend.c
M /gnucash/branches/misc-backend/lib/libqof/qof/qofbackend.h
M /gnucash/branches/misc-backend/lib/libqof/qof/qofsession-p.h
M /gnucash/branches/misc-backend/lib/libqof/qof/qofsession.c
M /gnucash/branches/misc-backend/lib/libqof/qof/qofsession.h
M /gnucash/branches/misc-backend/lib/libqof/qof/qofutil.c
M /gnucash/branches/misc-backend/lib/libqof/qof/qofutil.h
M /gnucash/branches/misc-backend/src/backend/file/gnc-backend-file.c
M /gnucash/branches/misc-backend/src/backend/file/gnc-backend-file.h
M /gnucash/branches/misc-backend/src/backend/file/test/test-load-backend.c
M /gnucash/branches/misc-backend/src/backend/file/test/test-load-xml2.c
M /gnucash/branches/misc-backend/src/backend/postgres/PostgresBackend.c
M /gnucash/branches/misc-backend/src/backend/postgres/PostgresBackend.h
M /gnucash/branches/misc-backend/src/backend/postgres/test/test-db.c
M /gnucash/branches/misc-backend/src/backend/postgres/test/test-load-backend.c
M /gnucash/branches/misc-backend/src/backend/postgres/test/test-period.c
M /gnucash/branches/misc-backend/src/engine/Period.c
M /gnucash/branches/misc-backend/src/engine/Transaction.c
M /gnucash/branches/misc-backend/src/engine/gnc-engine.c
M /gnucash/branches/misc-backend/src/engine/gnc-engine.h
M /gnucash/branches/misc-backend/src/engine/gnc-pricedb.c
M /gnucash/branches/misc-backend/src/engine/gnc-session-scm.c
M /gnucash/branches/misc-backend/src/engine/gnc-session-scm.h
M /gnucash/branches/misc-backend/src/engine/gw-engine-spec.scm
Decrease coupling between backends and engine:
- do not include the (supposedly) private qofbackend-p.h in qofutil.h,
instead, include it explictly in only the places that need it.
- since backends are GModules, use the GModule module init hook, instead
of rolling our own and using a different function for each backend
- loop over a list of backends for the engine to try to load
- include the postgres backend in that list of backends
- move qof_session_export() from gnc-engine.c to qofsession.c
- publicize qof_backend_set_error() and qof_backend_get_error()
- privatize QofBookFileType to gnc-backend-file.c
Incidental:
- Plug a string leak in qofsession.c
- drop the unused gnc_session_scm_export code
- Drop unimplemented prototype gncBackendInit_file()
- Formatting cleanups.
r14164 | chris | 2006-05-23 23:18:14 -0400 (Tue, 23 May 2006) | 2 lines
M /gnucash/branches/misc-backend/lib/libqof/qof/qofbook.c
Recognize unequal books as unequal.
r14163 | chris | 2006-05-23 23:16:19 -0400 (Tue, 23 May 2006) | 2 lines
M /gnucash/branches/misc-backend/src/engine/Makefile.am
Make sure GNC_LIBDIR is updated when the installation dir changes.
r14161 | chris | 2006-05-23 21:40:39 -0400 (Tue, 23 May 2006) | 2 lines
A /gnucash/branches/misc-backend (from /gnucash/trunk:14160)
Branched from trunk at r14160, hoping postgres will work again someday...
r14159 | chris | 2006-05-23 21:25:30 -0400 (Tue, 23 May 2006) | 4 lines
M /gnucash/trunk/lib/guile-www/cgi.scm
M /gnucash/trunk/lib/guile-www/http.scm
M /gnucash/trunk/src/import-export/qif-import/qif-file.scm
M /gnucash/trunk/src/import-export/qif-io-core/qif-file.scm
M /gnucash/trunk/src/scm/command-line.scm
Fix Bug#342736 by replacing "make-shared-substring" with "substring".
Guile 1.8 automatically shares strings as copy-on-write and no longer
provides the "make-shared-substring" procedure.
r14158 | chris | 2006-05-23 20:49:10 -0400 (Tue, 23 May 2006) | 3 lines
M /gnucash/trunk/lib/libqof/qof/gnc-date.c
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
Fix Bug#342546 by using the pref date format instead of locale.
Also prefix-pad fixed-width date formats with '0'.
2006-05-23 Joshua Sled <jsled@asynchronous.org>
* src/register/register-gnome/gnucash-sheet.c
(GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL): Change test to be
open-ended on the top, as we expect future GTKs will not allow
this either, as experience has shown. Should fix Bug#342182.
2006-05-22 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/*:
remove hook to test druid for 2.0 release.
2006-05-22 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-plugin-page-account-tree.c,
gnc-plugin-page-register.c: Deactivate the "View Lots" menu item
because the lot viewer is unfinished as well.
* src/gnome/gnc-plugin-basic-commands.c: Deactivate the "Close
Books" menu item because that feature is unfinished as well.
* src/gnome/gnc-plugin-basic-commands.c: Hide the "Export account
chart as QSF" as well. Not ready for 2.0.0 due to e.g. bug#341559.
2006-05-21 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-plugin-basic-commands.c,
src/gnome/ui/gnc-plugin-basic-commands-ui.xml: Hide the "QSF
Import" for the 2.0.0 release because it is not yet finished. Can
be activated again in the next developing HEAD branch.
* po/ro.po: Initial Romanian translation by Danny Fischer
<dan.pescaru@gmail.com>
2006-05-20 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-file.[ch]:
* src/import-export/log-replay/gnc-log-replay.c:
* src/import-export/qif-import/druid-qif-import.c: Extend
gnc_file_dialog to take a GList of GtkFileFilters instead of a
filter string. Allows patterns like *.[Qq][Ii][Ff] without
messing up the dialog, fixes #336124.
2006-05-19 David Hampton <hampton@employees.org>
* src/register/register-gnome/gnucash-grid.c: Make the blue
past/future dividing line thicker so that it is obvious. Fixes
#342051.
* src/engine/engine-helpers.c:
* macros/legacy_macros.m4:
* configure.in: Make the removal of scm_block_gc conditional on
having guile 1.8 installed.
* src/engine/engine-helpers.c: More of the patch from Bill
Nottingham for compiling with guile 1.8.
2006-05-17 Mike Alexander <mta@umich.edu>
* From bugzilla #342153.
* src/engine/cap-gains.c (finder_helper): Don't add a split with
the wrong sign to a lot and don't add any split to a lot that is
fat.
* src/engine/cap-gains.c (xaccSplitAssignToLot): Set the value and
amount in the new split after it is in the transaction so the
correct denominator can be found.
* src/engine/cap-gains.c (xaccSplitAssign): Ignore splits with
zero amounts.
* src/engine/cap-gains.c (xaccSplitComputeCapGains): If the gain
is already recorded correctly do nothing. This happens when
called from gnc_book_partition_txn at which time things are
inconsistent.
* src/engine/policy.c (DirectionPolicyGetSplit): Don't add a split
to a lot unless it will be the new last split.
* src/engine/Scrub2.c (xaccScrubMergeSubSplits): Make sure the
splits are really related before merging them.
* src/engine/Account.c (xaccAccountInsertLot): Don't move the
splits in the lot into the new account. The caller does this if
necessary and this fails when called from gnc_book_close_period.
2006-05-17 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/druid-gnc-xml-import.c: Scott Oonk's patch to
activate forward button in XML import druid after having decided
on each ambiguous string. Fix #342050.
2006-05-16 Derek Atkins <derek@ihtfp.com>
* lib/libqof/qof/gnc-date.c:
revert r14081 because we always have localtime_r.
* lib/libgsl/Makefile.am:
don't distribute the gsl specfiles
* packaging/gnucash.spec.in:
fix for change of location of files.
2006-05-16 Christian Stimming <stimming@tuhh.de>
* lib/libqof/qof/gnc-date.c (timespecCanonicalDayTime)
(qof_print_date_buff, dateSeparator, gnc_timespec_last_mday)
(gnc_timespec2dmy): Use localtime_r only when HAVE_LOCALTIME_R is
defined. Might be undefined on some weird systems out there,
e.g. windows/mingw32.
2006-05-15 Derek Atkins <derek@ihtfp.com>
* src/import-export/test/Makefile.am:
need to link against gnome-utils
2006-05-15 Joshua Sled <jsled@asynchronous.org>
* lib/libqof/qof/gnc-date.c (timespecCanonicalDayTime)
(qof_print_date_buff, dateSeparator, gnc_timespec_last_mday)
(gnc_timespec2dmy): convert `localtime` to `localtime_r`, after
seeing localtime fail (strange as it is...).
2006-05-15 Christian Stimming <stimming@tuhh.de>
* doc/README.german: Updated German README which was horribly
outdated.
* doc/README.HBCI: Updated explanation of HBCI features.
2006-05-14 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.6
r14050 | chris | 2006-05-14 17:30:22 -0400 (Sun, 14 May 2006) | 2 lines
M /gnucash/trunk/src/engine/Transaction.c
Disable Lots scrubbing, which is causing test-suite failures.
2006-05-14 Joshua Sled <jsled@asynchronous.org>
* packaging/gnucash-1.9.x.ebuild (DEPEND): Cleanups from Ed Catmur
<ed@catmur.co.uk> for better Gentoo-iness, doc install,
/usr/bin/gnucash-${version} symlink, .desktop install.
* src/engine/gw-engine-spec.scm: expose gnc:book-get-template-group
* src/report/standard-reports/general-journal.scm
(general-journal-options-generator): Filter template
transactions out of query; Bug#341609.
2006-05-14 Derek Atkins <derek@ihtfp.com>
* src/lib/libqof/qof/qofquery.h:
Fix the documentation of qof_query_merge for degenerate cases.
* po/el.po: Updated Greek translation by Nikos Charonitakis
<nikosx@gmail.com>
r14038 | chris | 2006-05-14 07:59:39 -0400 (Sun, 14 May 2006) | 2 lines
M /gnucash/trunk/src/backend/file/io-gncxml-v2.c
Undo accidental revert of part of r13713 by r14026.
r14037 | chris | 2006-05-13 22:07:52 -0400 (Sat, 13 May 2006) | 15 lines
M /gnucash/trunk/src/gnome/druid-hierarchy.c
M /gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-price.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.h
M /gnucash/trunk/src/import-export/import-account-matcher.c
Change the method for specifying and recording the default visibility of
tree-view columns. There is now a per-column setting, "DEFAULT_VISIBLE",
similar to "ALWAYS_VISIBLE", that controls the visibility of a column in
the absence of, or prior to, gconf management.
It is no longer necessary for the tree view to store a list of column names
for default visible columns.
To faciliate the adaptation of pre-existing tree-views, the
view_column_find_by_name() has been publicized as
gnc_tree_view_find_column_by_name().
All callers of gnc_tree_view_configure_columns() have been converted to use
the DEFAULT_VISIBLE column property.
r14034 | chris | 2006-05-13 00:52:09 -0400 (Sat, 13 May 2006) | 5 lines
M /gnucash/trunk/src/report/report-system/commodity-utilities.scm
M /gnucash/trunk/src/report/report-system/report-utilities.scm
M /gnucash/trunk/src/report/standard-reports/advanced-portfolio.scm
M /gnucash/trunk/src/report/standard-reports/portfolio.scm
M /gnucash/trunk/src/report/standard-reports/price-scatter.scm
M /gnucash/trunk/src/report/standard-reports/transaction.scm
M /gnucash/trunk/src/scm/gnumeric/table-utils.scm
Fixing bug #341589: Apparently, guile 1.8 will actually enforce the rule
that all datum portions of case-statement clauses be unique. The syntax:
'foo expands to a list of two symbols: (quote foo)
If both 'foo and 'bar are used, then the "quote" symbol won't be unique.
2006-05-12 Derek Atkins <derek@ihtfp.com>
* goffice-config.h.in:
* gsf-config.h.in:
Make sure to properly define _GNU_SOURCE in sub-config files.
The build was broken without this.
* src/engine/gnc-engine.c:
Use QSF #defines instead of hard-coding the library name and init-fcn
* lib/libqof/qof/Makefile.am:
change the name of our qof library
* lib/libqof/backend/file/Makefile.am:
change the name of our qsf library
* lib/libqof/qof/qof.h:
point to the newly named qsf library
* configure.in:
Error out if the user calls --enable-qof
Change the name of the internal qof library and directories
so that our qof can co-exist with a "native" qof
2006-05-12 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-plugin-hbci.c: Add the Tools->HBCI
Setup menu item to the register tabs as well. Bug#341510.
r14027 | chris | 2006-05-11 21:47:12 -0400 (Thu, 11 May 2006) | 8 lines
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Fix Bug #341375.
When handling the focus-out event for a GtkCellEditable, it's important
not to keep the editable alive for too long, because the cursor-blink
timeout expects that the editable still has the focus. The easiest way to
do this is to stop the editing immediately by calling
gtk_cell_editable_editing_done() and then handle all the real work from
the "editing-done" signal handler.
r14026 | chris | 2006-05-11 20:28:34 -0400 (Thu, 11 May 2006) | 2 lines
M /gnucash/trunk/src/backend/file/io-gncxml-v2.c
Minor cleanups to gnc_counter_end_handler().
r14025 | chris | 2006-05-11 20:25:15 -0400 (Thu, 11 May 2006) | 2 lines
M /gnucash/trunk/src/engine/Makefile.am
Cause gncla-dir.h to be re-made after a 'make clean'.
r14024 | chris | 2006-05-11 18:25:55 -0400 (Thu, 11 May 2006) | 3 lines
M /gnucash/trunk/configure.in
Look for g-wrap's (g-wrap gw standard) or (g-wrap gw-standard) since
g-wrap 1.9.6 doesn't have (g-wrap runtime).
r14023 | chris | 2006-05-11 17:21:42 -0400 (Thu, 11 May 2006) | 2 lines
M /gnucash/trunk/configure.in
When searching for the g-wrap runtime module, look in the G_WRAP_MODULE_DIR.
r14022 | chris | 2006-05-11 01:04:56 -0400 (Thu, 11 May 2006) | 2 lines
M /gnucash/trunk/configure.in
Warn if no g-wrap runtime module is available during configure.
r14002 | chris | 2006-05-10 21:14:12 -0400 (Wed, 10 May 2006) | 3 lines
M /gnucash/trunk/configure.in
M /gnucash/trunk/lib/libqof/backend/file/qsf-backend.c
M /gnucash/trunk/lib/libqof/backend/file/qsf-xml-map.c
M /gnucash/trunk/lib/libqof/backend/file/qsf-xml.c
M /gnucash/trunk/lib/libqof/qof/gnc-date.c
M /gnucash/trunk/lib/libqof/qof/gnc-numeric.c
M /gnucash/trunk/lib/libqof/qof/guid.c
M /gnucash/trunk/lib/libqof/qof/kvp_frame.c
M /gnucash/trunk/lib/libqof/qof/qofbackend.c
M /gnucash/trunk/lib/libqof/qof/qofbookmerge.h
M /gnucash/trunk/lib/libqof/qof/qofmath128.c
M /gnucash/trunk/lib/libqof/qof/qofsql.c
M /gnucash/trunk/src/backend/file/gnc-backend-file.c
M /gnucash/trunk/src/backend/file/sixtp-dom-generators.c
M /gnucash/trunk/src/backend/file/sixtp-utils.c
M /gnucash/trunk/src/backend/postgres/PostgresBackend.c
M /gnucash/trunk/src/backend/postgres/account.c
M /gnucash/trunk/src/backend/postgres/book.c
M /gnucash/trunk/src/backend/postgres/builder.c
M /gnucash/trunk/src/backend/postgres/checkpoint.c
M /gnucash/trunk/src/backend/postgres/escape.c
M /gnucash/trunk/src/backend/postgres/events.c
M /gnucash/trunk/src/backend/postgres/gncquery.c
M /gnucash/trunk/src/backend/postgres/kvp-sql.c
M /gnucash/trunk/src/backend/postgres/price.c
M /gnucash/trunk/src/backend/postgres/txn.c
M /gnucash/trunk/src/backend/postgres/txnmass.c
M /gnucash/trunk/src/backend/postgres/upgrade.c
M /gnucash/trunk/src/business/business-ledger/gncEntryLedger.c
M /gnucash/trunk/src/business/business-ledger/gncEntryLedgerControl.c
M /gnucash/trunk/src/business/business-ledger/gncEntryLedgerDisplay.c
M /gnucash/trunk/src/business/business-ledger/gncEntryLedgerLayout.c
M /gnucash/trunk/src/business/business-ledger/gncEntryLedgerLoad.c
M /gnucash/trunk/src/business/business-ledger/gncEntryLedgerModel.c
M /gnucash/trunk/src/engine/TransLog.c
M /gnucash/trunk/src/engine/gnc-commodity.c
M /gnucash/trunk/src/engine/test/test-book-merge.c
M /gnucash/trunk/src/engine/test/test-recursive.c
M /gnucash/trunk/src/gnome/dialog-chart-export.h
M /gnucash/trunk/src/gnome/dialog-find-transactions.c
M /gnucash/trunk/src/gnome/dialog-print-check.c
M /gnucash/trunk/src/gnome/gnc-split-reg.c
M /gnucash/trunk/src/gnome/lot-viewer.c
M /gnucash/trunk/src/gnome/window-reconcile.c
M /gnucash/trunk/src/gnome-utils/dialog-utils.c
M /gnucash/trunk/src/gnome-utils/print-session.c
M /gnucash/trunk/src/import-export/binary-import/druid-commodity.c
M /gnucash/trunk/src/import-export/import-account-matcher.c
M /gnucash/trunk/src/import-export/import-backend.c
M /gnucash/trunk/src/import-export/import-commodity-matcher.c
M /gnucash/trunk/src/import-export/import-match-picker.c
M /gnucash/trunk/src/import-export/import-settings.c
M /gnucash/trunk/src/import-export/import-utilities.c
M /gnucash/trunk/src/import-export/log-replay/gnc-log-replay.c
M /gnucash/trunk/src/import-export/mt940/gnc-mt940-import.c
M /gnucash/trunk/src/import-export/ofx/gnc-ofx-import.c
M /gnucash/trunk/src/import-export/qif-import/druid-qif-import.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
Factor out #define _GNU_SOURCE from various .c files into an AC_GNU_SOURCE
check in configure.in.
2006-05-10 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-io-core/qif-parse.scm:
Same patch as qif-import/qif-parse.scm for guile-1.8.
* configure.in: add $GUILE_INCS when testing g-wrap
2006-05-10 Christian Stimming <stimming@tuhh.de>
* accounts/de_AT/*: Added new Austrian German account templates by
Roman Bertle <bertle@smoerz.org>.
2006-05-09 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-parse.scm:
Bill Nottingham's patch to fix a guile parser problem during build.
r13985 | chris | 2006-05-09 23:54:45 -0400 (Tue, 09 May 2006) | 3 lines
M /gnucash/trunk/src/business/business-reports/fancy-invoice.scm
M /gnucash/trunk/src/report/report-system/html-table.scm
Fix fancy invoice report. Bug #341046.
Also, liberalize gnc:html-table-append-row! to accept a non-list argument.
r13984 | chris | 2006-05-09 21:53:24 -0400 (Tue, 09 May 2006) | 2 lines
M /gnucash/trunk/src/scm/main.scm
Silence guile warnings about duplicate binding introduced in guile-1.8.
r13966 | chris | 2006-05-08 23:17:04 -0400 (Mon, 08 May 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Use g_get_current_time() instead of gettimeofday(). Fixes #341044.
r13965 | chris | 2006-05-08 20:42:32 -0400 (Mon, 08 May 2006) | 3 lines
M /gnucash/trunk/src/scm/printing/print-check.scm
Limit memo length to 27 chars on Quicken wallet checks with side stub
Patch by David Reiser, bug #340977
r13958 | chris | 2006-05-08 00:56:17 -0400 (Mon, 08 May 2006) | 4 lines
M /gnucash/trunk/src/engine/Split.c
M /gnucash/trunk/src/engine/Transaction.c
Remove some unnecessary calls to xaccGroupMarkNotSaved() which were
dirtying the book implicitly without setting any time of first change.
Instead, make sure that committed Splits dirty their parent Transaction.
r13957 | chris | 2006-05-08 00:47:04 -0400 (Mon, 08 May 2006) | 5 lines
M /gnucash/trunk/lib/libqof/qof/qofinstance-p.h
M /gnucash/trunk/lib/libqof/qof/qofinstance.c
M /gnucash/trunk/lib/libqof/qof/qofutil.c
Add a flag, 'infant', to QofInstance to note that the instance has been
committed at least once in its lifecycle. Then, we can mark the collection
dirty whenever an object is committed, except for the special case of an
QofInstance that has never been committed before and is now being deleted.
r13956 | chris | 2006-05-07 23:04:49 -0400 (Sun, 07 May 2006) | 4 lines
M /gnucash/trunk/lib/libqof/qof/qofutil.c
M /gnucash/trunk/lib/libqof/qof/qofutil.h
Fix off-by-one error when checking editlevel in qof_commit_edit() (and
macro version), in case we ever want qof_commit_edit() to actually do
something with a backend.
r13955 | chris | 2006-05-07 23:02:15 -0400 (Sun, 07 May 2006) | 4 lines
M /gnucash/trunk/lib/libqof/qof/qofutil.c
M /gnucash/trunk/lib/libqof/qof/qofutil.h
Make qof_commit_edit() (and macro version) call qof_backend_run_commit()
instead of qof_backend_run_begin().
Minor cleanups of qof_commit_edit() and qof_begin_edit().
r13954 | chris | 2006-05-07 22:54:03 -0400 (Sun, 07 May 2006) | 3 lines
M /gnucash/trunk/src/backend/file/gnc-budget-xml-v2.c
M /gnucash/trunk/src/engine/gnc-budget.c
M /gnucash/trunk/src/engine/gnc-budget.h
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
Add begin/commit edit blocks to budget setters. Change to using the
"destroy" method for budget deletion.
2006-05-07 Joshua Sled <jsled@asynchronous.org>
* src/engine/Group.c (xaccAccountStagedTransactionTraversal):
Simplify.
* src/engine/test-core/test-engine-stuff.c (make_trans_query):
Don't construct queries involving empty strings, as the query
processor asserts that string match terms are not empty. Fixes
`test-query` failure.
* src/gnome/dialog-scheduledxaction.c (sxd_close_handler):
Actually close the dialog when we are button-requested to Close
the dialog, thus cleaning up properly. Bug#340936.
* src/register/register-gnome/formulacell-gnome.c
(gnc_formula_cell_direct_update): Call new factored-out logic.
Fix Bug#340875 regarding same.
* src/register/register-gnome/pricecell-gnome.c
(gnc_basic_cell_insert_decimal): Factor utf8-safe string copying +
decimal-point insertion out.
(gnc_price_cell_direct_update): Call new factored-out logic.
2006-05-06 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-account.c: Rebuild the column
selection menu when the report currency is changed. Fixes
#340243.
* src/register/register-gnome/gnucash-header.c:
* src/gnome-utils/dialog-transfer.c: Trivial replacements for
deprecated functions.
* src/gnome-utils/gnc-file.c:
* src/gnome-utils/gnc-main-window.c: Use the new qof functions to
provide a dirty indication in the title bar, fixing #339026. Also
provide an indication of how long the book has been dirty in the
"save changes to file" dialog.
* lib/libqof/qof/qofbook.[ch]:
* lib/libqof/qof/qofbook-p.h:
* lib/libqof/qof/qofutil.c: Add support for directly marking the
book dirty, for recording the time that the book transitioned from
clean to dirty, and for calling back a registered function when
the book transitions from clean to dirty.
* configure.in: Can't use external qof until it supports
"alternate dirty mode".
* src/gnome-utils/dialog-commodity.c:
* src/engine/gnc-lot.[ch]:
* src/engine/gnc-commodity.[ch]:
* src/engine/SchedXaction.[ch]: Add begin_edit/commit_edit
brackets around object modifications. Bug #339943 should be fixed
as of this change.
* src/engine/gnc-pricedb.c: No longer need special handling when
marking prices as dirty.
* src/engine/Account.c: Remove redundant setting an account dirty.
Set collection clean/dirty functions.
* src/engine/gnc-engine.c: Unconditionally enable qof alternate
dirty mode.
* lib/libqof/qof/qofbook.[ch]:
* lib/libqof/qof/qofid-p.h:
* lib/libqof/qof/qofinstance.[ch]:
* lib/libqof/qof/qofid.[ch]:
* lib/libqof/qof/qofutil.c: Add an alternate mode for handling the
dirty state of instances and collections. In this mode, marking
an instance as dirty does not immediately mark the collection as
dirty. The collection is only dirtied when a dirty instance is
actually committed to the collection. Also add some debugging
functions.
2006-05-05 David Hampton <hampton@employees.org>
* configure.in: Bump the version number for setting the
GNOME_DISABLE_DEPRECATED flag.
r13922 | chris | 2006-05-04 20:58:17 -0400 (Thu, 04 May 2006) | 5 lines
M /gnucash/trunk/src/engine/Split.c
More consistent Lot<->Split handling. Try to use the right API for adding
a cloned Split to the Lot. Make sure to remove the Split from the Lot when
deleting a Split. (This prevents use-after-free by test-lots.) Add some
comments to some strange code that's possibly wrong.
r13921 | chris | 2006-05-04 20:40:15 -0400 (Thu, 04 May 2006) | 13 lines
M /gnucash/trunk/src/engine/Scrub.c
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/Transaction.h
M /gnucash/trunk/src/engine/cap-gains.c
M /gnucash/trunk/src/engine/cap-gains.h
Move some gains-related transaction-scrubbing operations to from
cap-gains.c to Transaction.c.
Fix a logic error where "split->gains |= ~GAINS_STATUS_ADIRTY" was supposed
to be "split->gains &= ~GAINS_STATUS_ADIRTY".
Disable the loop-restart code in xaccTransScrubGainsDate() because I think
the state changes inside the loop will never cause a previously-skipped
Split to be not skipped during another pass.
Incidental:
make both xaccTransFindSplitByAccount() arguments 'const'
Internalize Begin/Commit edit block into xaccTransScrubSplits()
r13920 | chris | 2006-05-04 20:18:59 -0400 (Thu, 04 May 2006) | 2 lines
M /gnucash/trunk/src/engine/test/test-transaction-reversal.c
Some testing bits that got left out of r13916.
r13919 | chris | 2006-05-04 20:17:04 -0400 (Thu, 04 May 2006) | 2 lines
M /gnucash/trunk/src/engine/test-core/test-engine-stuff.c
Correctly ensure that the amount and value of test Splits have the same sign
r13917 | chris | 2006-05-03 23:59:15 -0400 (Wed, 03 May 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
Fix bug #340168 by ignoring Splits that have been destroyed since the
last call to xaccTransBeginEdit().
r13916 | chris | 2006-05-03 20:06:58 -0400 (Wed, 03 May 2006) | 5 lines
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/Transaction.h
M /gnucash/trunk/src/gnome/gnc-plugin-page-register.c
M /gnucash/trunk/src/gnome/gnc-split-reg.c
Hide the Transaction's management of the "reverse-by" KVP inside the engine.
Add new function xaccTransGetReversedBy() to find the reversing transaction
if there is one.
This also ensures that the KVP changes are inside a Begin/Commit block.
2006-05-02 David Hampton <hampton@employees.org>
* src/backend/postgres/price.c:
* src/business/business-core/gncJob.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncVendor.c:
* src/business/business-core/gncEntry.c:
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncBillTerm.c:
* src/business/business-core/gncOrder.c:
* src/business/business-core/gncEmployee.c:
* src/business/business-core/gncTaxTable.c:
* src/engine/gnc-budget.c:
* src/engine/Account.c:
* src/engine/Group.c:
* src/engine/gnc-commodity.c:
* src/engine/SchedXaction.c:
* lib/libqof/qof/qofobject.c: Use the existing QOF API to modify
the instance dirty flag.
2006-05-02 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/glade/sched-xact.glade: Correct option strings in sx
editor for tri-annual transactions. Fix #339724.
2006-05-01 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-account.c: Use the parent commodity and
account type when creating new accounts. Fixes #337189 and
#340242.
* src/gnome-utils/gnc-file.c:
* src/engine/TransLog.[ch]: Start a new log file after a save.
Fixes #173056.
2006-05-01 Joshua Sled <jsled@asynchronous.org>
* src/register/register-gnome/pricecell-gnome.c
(gnc_price_cell_direct_update): null-terminate strings we traffic
in, leading to less crashes! :( Bug#340358.
2006-04-30 David Hampton <hampton@employees.org>
* src/gnome/reconcile-list.c: Patch from Mike Alexander to fix the
cleared split date threshold in the reconcile window. Fixes
#340235.
2006-05-01 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-html-graph-gog.c: Add legend only to
barchart and piechart plots, not to scatter plots, as there is
currently no usage for it. Fix #337769.
2006-04-30 Joshua Sled <jsled@asynchronous.org>
Bug#340197: reverse account opening balances when desired.
* src/gnome/druid-hierarchy.c (balance_cell_data_func): Don't
invert balances here. Leads to strange behavior.
* src/gnome/druid-hierarchy.c (starting_balance_helper): Reverse
balance if needed by the account.
2006-04-30 Christian Stimming <stimming@tuhh.de>
* src/app-utils/gnc-ui-util.c: Fix retrieval of reconcile
abbreviation if the translators erroneously did not use the same
string length as the english string. Bug #339722.
2006-04-29 David Hampton <hampton@employees.org>
* src/engine/gnc-lot.c:
* src/engine/cap-gains.[ch]: Patch from Mike Alexander's to handle
multiple lot dispositions on the same day. Needed since the
transaction sorting code may sort gains splits after other splits
on the same day. Add a new function to find the source split
associated with a capital gains split. Also use lot_amount and
lot_value consistently instead of opening_amount and
opening_value.
* src/business/business-gnome/dialog-billterms.c:
* src/business/business-gnome/glade/billterms.glade: Eliminate
some gtk warning messages. Stop the contents of the Bill Terms
dialog from shifting around when the first/last term is
created/destroyed.
2006-04-30 Andreas Köhler <andi5.py@gmx.net>
* configure.in:
* src/register/register-gnome/gnucash-item-edit.[ch]: Remove all
XIM code, as it has been commented out unconditionally already
for a while. Send focus in/out events to register GtkEntry.
Address #337020.
2006-04-29 Joshua Sled <jsled@asynchronous.org>
Bug#157179: make multi-commodity SX handling a bit better.
* src/gnome/dialog-sxsincelast.c (sxsl_get_sx_vars): refactor to
process SX splits in the same order as the transaction creation
routine. Return needed commodity exchange rates as variables.
(create_each_transaction_helper): Use the user-provided exchange
rates to create the splits, not the pricedb.
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Ensure that auto-create SX template txns aren't in multiple commodities.
* src/app-utils/gnc-exp-parser.c (gnc_ep_tmpvarhash_check_vals):
remove printf.
2006-04-29 Christian Stimming <stimming@tuhh.de>
* po/glossary/gnc-glossary.txt: Clarify definitions of and
relations between bill, invoice, job, and order.
2006-04-29 David Hampton <hampton@employees.org>
* src/report/report-gnome/gnc-plugin-page-report.c: Don't allow
the user to save a report until they have changed the report
name. Remove the duplicate shortcut on the Add Report menu item.
* src/report/report-system/report.scm: Don't load a custom report
that has the same name as a standard report. Fixes #168250.
* src/bin/gnucash-bin.c: Load the user config earlier in startup.
Fixes the missing custom report problem #338668.
* src/register/register-gnome/gnucash-sheet.c: Lower the minimum
required width of the register. This does affect the size
constraint imposed by the register summary bar.
2006-04-28 David Hampton <hampton@employees.org>
* configure.in: Default to --enable-error-on-warning only in svn
based source trees. Fixes #330687.
* src/gnome/window-reconcile.c:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/engine/gnc-lot.[ch]:
* src/engine/Transaction.c:
* src/engine/Scrub2.c:
* src/engine/cap-gains.c: Mike Alexander's patch to fix lot date
calculation, and to include all splits when computing capital
gain's instead of just the opening lot. Scrub lots when scrubbing
everything else. Some MacOs X fixes.
* src/gnome/gnc-plugin-basic-commands.c: Finishing all pending
transactions before new and open commands, not just save commands.
Fixes #334090.
r13885 | chris | 2006-04-29 22:38:11 -0400 (Sat, 29 Apr 2006) | 2 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-register.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
Take care of any pending changes to a Transaction before voiding it.
r13883 | chris | 2006-04-29 20:43:45 -0400 (Sat, 29 Apr 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register.c
When deleting the current Transaction in the register, let the action take
effect immediately by commiting the transaction if it's open.
r13880 | chris | 2006-04-29 11:08:12 -0400 (Sat, 29 Apr 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.h
Return the GtkTreeViewColumn from gnc_tree_view_account_add_kvp_column().
r13874 | chris | 2006-04-28 22:17:14 -0400 (Fri, 28 Apr 2006) | 3 lines
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/AccountP.h
When deleting an Account, also delete any Splits that are set to be
added to the Account if their open Transaction is commited.
r13870 | chris | 2006-04-28 09:01:30 -0400 (Fri, 28 Apr 2006) | 3 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
For budget data entry interpret an empty string as valid input meaning "0".
Closes #339946
2006-04-27 Christian Stimming <stimming@tuhh.de>
* po/fr.po: Updated French translation by Fabrice Kurz
<kurzf@voila.fr>.
* src/import-export/hbci/hbci-interaction.c: Fix
GNCInteractor_hadErrors() that reported too many errors. Fixes
#339504.
r13869 | chris | 2006-04-27 17:02:30 -0400 (Thu, 27 Apr 2006) | 2 lines
M /gnucash/trunk/src/engine/Account.c
Remove an assertion w/ explanation of why it doesn't hold. Fixes #339781.
r13865 | chris | 2006-04-26 23:27:46 -0400 (Wed, 26 Apr 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register.c
Address bug #339288: When deleting a split, ensure the transaction is open
for editing, an redraw the display afterward.
r13864 | chris | 2006-04-26 22:52:31 -0400 (Wed, 26 Apr 2006) | 3 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
M /gnucash/trunk/src/gnome/gnc-plugin-page-register.c
M /gnucash/trunk/src/gnome/gnc-split-reg.c
M /gnucash/trunk/src/gnome/reconcile-list.c
M /gnucash/trunk/src/gnome/window-reconcile.c
Remove some unnecessary BeginEdit/CommitEdit calls.
Early exit the budget keynav function on no-op case.
r13863 | chris | 2006-04-26 22:18:37 -0400 (Wed, 26 Apr 2006) | 14 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
More register fixes related to recent changes:
For the autofill in basic-ledger mode, avoid an extra BeginCommit.
For "remove all splits from the transaction" case, also avoid a potential
extra BeginCommit. Also, fix a bug where one split might have not been
removed if this operation was performed in a register other than the one
where the transaction was created.
Make sure that whenever we actually do commit the pending transaction, we
clear the stored GUID *before* the commit, since it may be checked again
from the register's refresh event handler.
In other news, I haven't seen the orphan splits recently...
2006-04-26 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c
(scheduledxaction_editor_dialog_destroy): re-order SX disolution
vs. ui teardown. Add comment info-request response.
2006-04-26 Christian Stimming <stimming@tuhh.de>
* doc/gnucash.1.in: Properly quote marks. Bug #339731.
2006-04-25 David Hampton <hampton@employees.org>
* src/import-export/qif-import/qif-to-gnc.scm:
* src/import-export/qif-import/qif-merge-groups.scm:
* src/import-export/qif-import/qif-file.scm:
* src/import-export/qif-import/druid-qif-import.c:
* src/gnome/glade/progress.glade: Center the progress dialog on
the qif import druid. Fixes #336188.
* src/engine/gnc-pricedb.c:
* src/engine/gnc-commodity.c: Mark the collections as clean after
the default items have been created. Fixes #337185.
* src/scm/price-quotes.scm: Fix the crash in #339764.
2006-04-25 Joshua Sled <jsled@asynchronous.org>
Bug#119078: promote register parse errors to the user.
* src/register/register-core/pricecell.c (gnc_price_cell_parse):
Return error if cell text isn't parseable via expression parser.
* src/register/register-core/pricecell.c (gnc_price_cell_leave):
* src/register/register-core/formulacell.c (gnc_formula_cell_leave):
Promote error to UI if cell text isn't parseable.
* src/register/register-core/table-allgui.c (gnc_table_save_cells):
* src/register/ledger-core/split-register-load.c
(gnc_split_register_load): Don't -- seemingly unnecessarily --
call [...]leave_update here.
2006-04-25 David Hampton <hampton@employees.org>
* src/gnome/gnc-plugin-page-register.c: Don't try to update the
main window page name when invoked with an embedded window. Fixes
#339763.
2006-04-25 Christian Stimming <stimming@tuhh.de>
* po/de.po: Updated German translation. 3666 out of 3666
translated.
2006-04-25 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-tree-view.c: Initialize depth variable in
tree view keynav before using it.
2006-04-25 David Hampton <hampton@employees.org>
* src/scm/process.scm: Handle the failure to fork a child process
and print an error message, instead of just ignoring the
error. Fixes #127241.
* src/gnome-utils/gnc-currency-edit.[ch]: Add completion support to
the currency edit widget. Fixes #339412.
* src/gnome/glade/account.glade: Don't use the full width of the
dialog, only as much as is necessary for the content.
r13858 | chris | 2006-04-25 23:30:42 -0400 (Tue, 25 Apr 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.h
Publicize the ALWAYS_VISIBLE column attribute for GncTreeView.
r13847 | chris | 2006-04-25 00:18:45 -0400 (Tue, 25 Apr 2006) | 2 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.h
Implement a keynav policy for the budget page. Addresses bug #339515.
r13844 | chris | 2006-04-24 18:35:33 -0400 (Mon, 24 Apr 2006) | 10 lines
M /gnucash/trunk/src/register/ledger-core/split-register.c
Another crack at fixing bug #327780.
Simplify the control flow around the code in gnc_split_register_save() that
decides what transactions to commit and when. Be sure to commit the
blank transaction even when it's not the pending transaction. Refresh the
register after transaction rollback.
Add more assertions that will either fail in some case I haven't tested or
prove that more register code is unreachable.
r13843 | chris | 2006-04-24 18:27:37 -0400 (Mon, 24 Apr 2006) | 2 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
Use 'pending_trans' variable name for clearer code.
r13841 | chris | 2006-04-24 09:58:04 -0400 (Mon, 24 Apr 2006) | 2 lines
M /gnucash/trunk/src/register/ledger-core/split-register.c
Fix uninitialized use in gnc_split_register_empty_current_trans_except_split
2006-04-24 Christian Stimming <stimming@tuhh.de>
* src/import-export/log-replay/gnc-log-replay.c: Activate newly
added string as string freeze exception. That bug was grave enough
to justify this.
r13836 | chris | 2006-04-23 20:58:43 -0400 (Sun, 23 Apr 2006) | 2 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
Default the budget page's show_hidden flag to FALSE. Closes #339413.
r13834 | chris | 2006-04-23 19:01:46 -0400 (Sun, 23 Apr 2006) | 9 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
Don't immediately commit the blank transaction after creating it.
When saving the register state, don't commit an open transaction unless
we think it was opened from this register.
These changes are intended to fix bug #327780. I've also added several
related assertions. If any of these assertions fail, it may indicate that
I don't really understand what's going on, and that this may not be the
correct fix for #327780.
r13833 | chris | 2006-04-23 17:07:55 -0400 (Sun, 23 Apr 2006) | 4 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register-p.h
M /gnucash/trunk/src/register/ledger-core/split-register.c
Remove some unnecessary Begin/Commit blocks around code that is already
transactional.
Convert some Split function calls to the xaccSplit... form.
r13830 | chris | 2006-04-22 01:14:48 -0400 (Sat, 22 Apr 2006) | 4 lines
M /gnucash/trunk/src/engine/Transaction.c
Internalize the transactional semantics for all Transaction setters.
This is what I actually intended in r13130, but we want the stuff that
xaccTransCommitEdit provides over-and-above what qof_commit_edit provides.
r13827 | chris | 2006-04-22 00:42:29 -0400 (Sat, 22 Apr 2006) | 2 lines
M /gnucash/trunk/src/business/business-core/gncBillTerm.c
M /gnucash/trunk/src/business/business-core/gncCustomer.c
M /gnucash/trunk/src/business/business-core/gncEmployee.c
M /gnucash/trunk/src/business/business-core/gncEntry.c
M /gnucash/trunk/src/business/business-core/gncInvoice.c
M /gnucash/trunk/src/business/business-core/gncJob.c
M /gnucash/trunk/src/business/business-core/gncOrder.c
M /gnucash/trunk/src/business/business-core/gncTaxTable.c
M /gnucash/trunk/src/business/business-core/gncVendor.c
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/gnc-pricedb.c
Replace calls to QOF_COMMIT_EDIT_PART1 macro with calls to qof_commit_edit()
2006-04-22 David Hampton <hampton@employees.org>
* src/report/report-gnome/gnc-plugin-page-report.c:
* src/gnome-utils/gnc-main-window.[ch]:
* src/gnome/gnc-plugin-page-register.c: Update a report's tab name
in the main window when the name in the report options is
changed. Fixes #334199. Also update a register's tab name if the
account name is changed.
2006-04-22 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-split-reg.c: Mark string for translation as
pointed out by Andreas Köhler.
2006-04-22 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Fix a null pointer
dereference. Don't make the Close button sensitive until a page
has been added. Fixes #339372.
* src/pixmaps/Makefile.am:
* src/gnome-utils/gnc-icons.c: Rename some icon files.
r13825 | chris | 2006-04-21 21:25:35 -0400 (Fri, 21 Apr 2006) | 2 lines
M /gnucash/trunk/lib/libqof/qof/qoflog.c
Avoid buffer overrun in qoflog.
2006-04-21 David Hampton <hampton@employees.org>
* src/pixmaps/Makefile.am:
* src/business/business-gnome/gnc-plugin-page-invoice.c:
* src/gnome-utils/gnc-icons.[ch]:
* src/gnome/gnc-plugin-page-register.c: Add new icons for
invoices, adding a scheduled transaction, and the jump action.
Fixes #339112.
* src/import-export/log-replay/gnc-log-replay.c:
* src/engine/TransLog.[ch]: Don't allow the user to open the
current log file. This only produces a debug message because of
the string freeze. Fixes #337211. Also add a filter for '*.log'
to the file selection dialog.
* src/report/report-gnome/gnc-plugin-page-report.c:
* src/gnome-utils/gnc-main-window.c: Don't allow a report page to
be closed of it is in the process of reloading. Make the close
buttons on the notebook tabs insensitive when the rest of the UI
is insensitive. Fixes 339327.
* src/report/utility-reports/welcome-to-gnucash.scm:
* src/report/report-gnome/report-gnome.scm: Make the "Welcome to
GnuCash" report menu item build the entire report, instead of just
the first sub-report.
* src/report/report-system/report.scm:
* src/report/report-system/report-system.scm:
* src/report/report-gnome/gnc-plugin-page-report.c: Correctly save
and restore multicolumn reports. Fixes 327627.
* src/report/report-system/html-document.scm: Don't complain about
reports without html titles. This occurs for every embedded
report.
* src/gnome/glade/reconcile.glade: Remove translatable flag from a
label. Remove unused "Reconcile" dialog. This was an old abandoned
attempt to replace the hardcoded C reconcile dialog with one from
a glade file.
* src/gnome/glade/account.glade: Add a tooltip for the "hidden"
option in the Edit Account dialog.
r13811 | chris | 2006-04-19 21:37:50 -0400 (Wed, 19 Apr 2006) | 2 lines
M /gnucash/trunk/ChangeLog
M /gnucash/trunk/configure.in
M /gnucash/trunk/lib/libqof/backend/file/pilot-qsf-gncCustomer.xml
M /gnucash/trunk/lib/libqof/backend/file/qof-backend-qsf.h
M /gnucash/trunk/lib/libqof/backend/file/qsf-backend.c
M /gnucash/trunk/lib/libqof/backend/file/qsf-xml-map.c
M /gnucash/trunk/lib/libqof/backend/file/qsf-xml.c
M /gnucash/trunk/lib/libqof/backend/file/qsf-xml.h
M /gnucash/trunk/lib/libqof/qof/deprecated.h
M /gnucash/trunk/lib/libqof/qof/kvp_frame.c
M /gnucash/trunk/lib/libqof/qof/kvp_frame.h
M /gnucash/trunk/lib/libqof/qof/qofbookmerge.c
M /gnucash/trunk/lib/libqof/qof/qofchoice.c
M /gnucash/trunk/lib/libqof/qof/qofutil.c
M /gnucash/trunk/lib/libqof/qof/qofutil.h
Revert r13797 so that it can be recommited as logical, documented changes.
2006-04-19 David Hampton <hampton@employees.org>
* src/report/report-system/gnc-report.c: If the report already has
an id assigned (i.e. restored reports) then add it to the table
using that id. Only generate ids for reports that don't have them
yet.
* src/gnome-utils/gnc-main-window.c: Don't call shutdown directly
from the delete_event handler, but use a periodic idle function
that checks to insure that gnucash isn't saving the data file
before calling shutdown. Fixes 338952. Also ignore repeated
delete events if a shutdown is queued.
2006-04-19 Christian Stimming <stimming@tuhh.de>
* accounts/fr_CH/acctchrt_*.gnucash-xea: New French Swiss account
templates by Jonathan Ernst.
2006-04-18 David Hampton <hampton@employees.org>
* src/report/report-gnome/window-report.[ch]:
* src/gnome/top-level.c: Parse the old ~/.gnome/GnuCash MDI
document file to see which 1.8 reports should be opened the first
time gnucash2 starts.
2006-04-18 Christian Stimming <stimming@tuhh.de>
* po/fr.po: Updated French translation by Jonathan Ernst.
* po/glossary/fr.po: Added French glossary by Jonathan Ernst
<jonathan@ernstfamily.ch>.
2006-04-18 Derek Atkins <derek@ihtfp.com>
* doc/tip_of_the_day.list.in:
Fix a 1.8 -> 2.0 string.
* src/report/standard-reports/register.scm:
Fix a string that wasn't marked for translation.
2006-04-16 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.5
2006-04-16 Derek Atkins <derek@ihtfp.com>
* src/business/business-gnome/glade/choose-owner.glade:
* src/business/business-gnome/dialog-choose-owner.[ch]:
Add new files to make the string freeze that define the
interface to choose a customer or vendor for a hand-entered
transaction. Hopefully we can simplify the input by allowing
users to enter a transaction directly and assigning it to a
customer/vendor by hand (rather than going through the business
interfaces).
r13790 | chris | 2006-04-15 17:37:00 -0400 (Sat, 15 Apr 2006) | 5 lines
M /gnucash/trunk/src/report/report-system/report-system.scm
M /gnucash/trunk/src/report/report-system/report-utilities.scm
M /gnucash/trunk/src/report/standard-reports/balance-sheet.scm
M /gnucash/trunk/src/report/standard-reports/equity-statement.scm
M /gnucash/trunk/src/report/standard-reports/trial-balance.scm
Avoid trying to represent "forever-ago" with a timepair.
Instead, call gnc:accountlist-get-comm-balance-at-date when we really just
want the balance at one date.
This fixes the retained-earnings calculation on the balance sheet report.
2006-04-15 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/druid-gnc-xml-import.c:
need to #include gmodule.h.
2006-04-15 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-price.c:
* src/gnome-utils/dialog-account.c:
* src/gnome-utils/glade/commodity.glade:
* src/gnome-utils/dialog-commodity.c:
* src/gnome/gnc-plugin-basic-commands.c:
* src/gnome/glade/commodities.glade:
* src/gnome/glade/account.glade:
* src/gnome/glade/price.glade:
* src/gnome/dialog-commodities.c: Replace "commodity" with
"security" where it is user visible. If its possible to determine
that the user is operating on a currency instead of a commodity,
update titles/labels to specify "security". Fixes 338382.
* src/backend/file/io-gncxml-v2.c:
* src/import-export/hbci/gnc-hbci-kvp.[ch]:
* src/engine/Account.c:
* src/engine/Scrub.[ch]: Clean up the xml file some by dropping
empty kvp strings/frames and 'false' placeholder values.
2006-04-15 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/druid-gnc-xml-import.c: Fix to compile on
systems with glib < 2.9.
2006-04-15 David Hampton <hampton@employees.org>
* src/engine/Account.c:
* src/engine/gw-engine-spec.scm:
* src/engine/Transaction.c:
* src/engine/Transaction.h:
* src/engine/Split.c:
* lib/libqof/qof/kvp_frame.[ch]: The kvp_frame_get_string()
function returns a pointer to an internal string. Mark it 'const'
to prevent callers from trying to free it.
2006-04-14 David Hampton <hampton@employees.org>
* src/register/ledger-core/split-register-load.c:
* src/gnome-utils/gnc-tree-view-account.[ch]:
* src/gnome-utils/dialog-account.c:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome/glade/account.glade:
* src/gnome/gnc-plugin-page-budget.c:
* src/engine/Account.[ch]: Add a per-account "hidden" flag, and
update the accounts page and the account quickfill to respect this
flag. Also flip the "hide zero balance" flag to a "show zero
balance" flag for symmetry. Implements 87077.
* src/gnome/gnc-plugin-page-account-tree.c: Allow the account tree
view callback to run in addition the the page callback. Fixes
303995.
* src/gnome-utils/glade/preferences.glade: Clarify text regarding
the lines in the register. Fixes 338479.
* src/backend/file/io-gncxml-v2.c:
* src/gnome-utils/druid-gnc-xml-import.c: Fixes to compile with
gcc4.
2006-04-14 Andreas Köhler <andi5.py@gmx.net>
* lib/libqof/qof/qofbackend.h:
* lib/libqof/qof/qofsession.c:
* src/backend/file/gnc-backend-file.[ch]:
* src/backend/file/io-example-account.[ch]:
* src/backend/file/io-gncxml-v1.c:
* src/backend/file/test/test-xml2-is-file.c: Add
ERR_FILEIO_NO_ENCODING and test whether xml data file declares
encoding.
* src/backend/file/sixtp.[ch]: Add parsing in push mode.
* src/backend/file/io-gncxml-v2.[ch]: Add analysis of data file to
find ambiguous words because of missing encoding, and parsing of
it with string substitutions.
* src/gnome-utils/druid-gnc-xml-import.[ch]:
* src/gnome-utils/glade/druid-gnc-xml-import.glade: Add Code and
GUI for a druid that enables the user to select from different
encodings for each ambiguous word.
* src/gnome-utils/gnc-file.c: Hook the druid into the file loading
process and reload the file if it was successful.
2006-04-14 Derek Atkins <derek@ihtfp.com>
* src/engine/Transaction.c:
* src/engine/test/test-date.c:
* src/backend/file/test/test-dom-converters1.c:
Fix 64-bit compile: Use G_GUINT64_FORMAT instead of %llu or lld
for Timespec seconds.
* src/app-utils/gnc-ui-util.c:
Fix 64-bit compile issues:
- Use QOF_SCANF_LLD instead of GNC_SCANF_LLD.
- Use QOF_SCANF_LLD and G_GINT64_FORMAT properly.
- replace %lld with G_GINT64_FORMAT
2006-04-13 David Hampton <hampton@employees.org>
* src/register/ledger-core/gnc-ledger-display.c:
* src/business/business-ledger/gncEntryLedgerDisplay.c:
* src/gnome-utils/window-main-summarybar.c:
* src/engine/Transaction.c:
* src/engine/gnc-event.h:
* src/gnome/window-reconcile.c: Add a new event for when a split
associated with account is changed.
* src/gnome-utils/account-quickfill.c: Improve the performance of
the listen_for_accounts function. Never rebuild the list_store
from scratch as the time required to sort each account insertion
takes forever with a large number of accounts.
* src/gnome-utils/window-main-summarybar.c:
* src/gnome/dialog-commodities.c:
* src/engine/engine.scm:
* src/engine/commodity-table.scm:
* src/engine/gnc-commodity.c:
* src/app-utils/options.scm: Finish cleaning up old uses of
NS_ISO. Use the C is_currency function for both C and Scheme
calls.
* src/import-export/qif-import/druid-qif-import.c:
* src/import-export/binary-import/druid-commodity.c:
* src/import-export/ofx/gnc-ofx-import.c:
* src/import-export/hbci/druid-hbci-initial.c:
* src/gnome-utils/dialog-preferences.c:
* src/gnome-utils/gnc-currency-edit.c:
* src/app-utils/gnc-euro.c:
* src/app-utils/options.scm:
* src/app-utils/gnc-ui-util.c: Replace NS_ISO with NS_CURRENCY.
This substitution was already performed by the called functions,
so there this change is purely cosmetic.
* src/gnome-utils/dialog-commodity.c:
* src/engine/gnc-commodity.[ch]: Added a couple of comments
related to the change from NS_ISO to NS_CURRENCY.
2006-04-13 Andreas Köhler <andi5.py@gmx.net>
* src/engine/Group.c: Fix loop of split account reassignments in
xaccGroupMergeAccounts, because the commit of one split will
change the list itself. Potentially fix 337048.
2006-04-12 David Hampton <hampton@employees.org>
* src/engine/gnc-commodity.c: Update the determination of what's a
currency and what isn't. Fixes 337804.
2006-04-11 Andreas Köhler <andi5.py@gmx.net>
* qofsession.c (qof_session_load): Fix leakage of old books.
2006-04-11 Derek Atkins <derek@ihtfp.com>
* lib/libqof/qof/qofbookmerge.c: fix a few memory leaks.
r13770 | chris | 2006-04-11 22:31:23 -0400 (Tue, 11 Apr 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
Test for support of the tree-model-sort interface instead of one particular
implementation.
r13767 | chris | 2006-04-10 23:12:09 -0400 (Mon, 10 Apr 2006) | 9 lines
M /gnucash/trunk/src/engine/Split.c
Implement Split events for Split destruction, Split rollback, (including
Split un-destruction) and Split re-parenting.
All these actions now generate ITEM-REMOVED or ITEM-ADDED events for
related Transactions (as appropriate).
Minor: allow xaccSplitSetParent() to accept a NULL argument in order to use
it in the rollback-newly-created-split case.
r13766 | chris | 2006-04-10 22:55:57 -0400 (Mon, 10 Apr 2006) | 7 lines
M /gnucash/trunk/src/engine/Transaction.c
Avoid generating Transaction modified events for Transaction roll-back.
Enable emission of some new Split events.
Use xaccSplitRollbackEdit() in implementation of xaccTransRollbackEdit().
Avoid rollback of Splits not owned by the Transaction. This was actually
impossible to encounter, but the algorithm is now correct even for some
cases that aren't permitted by other code.
2006-04-10 Derek Atkins <derek@ihtfp.com>
* src/import-export/hbci/gnc-hbci-gettrans.c:
* src/import-export/hbci/gnc-hbci-utils.c:
Back out r13752. We don't need to explicitly #include glib.h
because qof.h includes it for us. Besides, it doesn't fix
the whole problem.
* lots of files:
Revert r13749. Wedon't need to explicitly #include glib.h
because qof.h includes it for us. Also, this changeset contains
lots of other stuff that has nothing to do with glib.h. Note
that this revision wont build, but I'll fix that shortly.
* lib/libqof/qof/deprecated.h:
* lib/libqof/qof/qofutil.h:
Create a QOF_SCANF_LLD (because we cannot use the printf version).
Keep the deprecated GNC_SCANF_LLD defined in terms of the new
QOF_SCANF_LLD.
* src/backend/file/sixtp-utils.c:
use QOF_SCANF_LLD to read 64-bit numbers.
* src/gnome-utils/QuickFill.c:
* src/engine/gnc-pricedb.c:
* src/engine/Transaction.c:
* src/engine/gnc-commodity.c:
convert gnc_string_cache* APIs to CACHE_* APIs.
* src/engine/Account.c:
Properly convert usage of SAFE_STRCMP() to safe_strcmp()
* src/engine/kvp-scm.c:
#include <qof.h> instead of <kvp_frame.h>
* src/engine/gnc-engine.c:
Update the method used to shutdown QOF.
2006-04-08 David Hampton <hampton@employees.org>
* src/gnome-utils/account-quickfill.c: Eliminate some unnecessary
work by comparing the account name in the quickfill with the
actual account name, and only rebuilding the quickfill if they
differ. This improves GnuCash's response somewhat, but still
needs more improvement.
2006-04-07 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Include the svn revision
number in the about dialog.
2006-04-07 Derek Atkins <derek@ihtfp.com>
* lib/libqof/qof/qof.h: QOF requires <glib.h>
2006-04-07 Neil Williams <linux@codehelp.co.uk>
* libqof/qof/qof-be-utils.h : Removed. Content
moved into qofutil.c alongside the function versions.
* libqof/qof/qofutil.c : Replaces gnc-engine-util.c
* libqof/qof/gnc-engine-util.c : Removed.
* libqof/qof/qofutil.h : Replaces gnc-engine-util.h
* libqof/qof/gnc-engine-util.h : Removed.
Standardise on gint and gchar. libqof 0.6.4 release.
* libqof/qof/qofbackend-p.h :
* libqof/qof/qofbook.c :
* libqof/qof/qofbackend.h : Replace Doxygen fix.
* libqof/qof/qofbook.h :
* libqof/qof/kvp_frame.c :
* libqof/qof/qofquery.c :
* libqof/qof/kvp_frame.h :
* libqof/qof/qoflog.c : Add Utilities to the default
log_module list.
* libqof/qof/qofquerycore.h :
* libqof/qof/qoflog.h :
* libqof/qof/qofsession.h :
* libqof/qof/qofid-p.h :
* libqof/qof/qofreference.c :
* libqof/qof/qofsql.c : Allow INSERT queries
to be logged.
* libqof/qof/qofsql.h :
* libqof/qof/gnc-numeric.h :
* libqof/qof/qofclass.h :
* libqof/qof/qofla-dir.h.in : Licence typo.
* libqof/qof/qof.h : New files.
* libqof/qof/guid.h :
* libqof/qof/deprecated.c : Replace gnc_strpcpy.
* libqof/qof/qofbook-p.h :
* libqof/qof/deprecated.h : Deprecate
qof_book_set_schedxactions which has no
declaration. Deprecate the expression of
glib.h in the QOF API. libqof2 applications
will have to include glib.h directly. Prevents
a redundant dependency in qof packages.
* libqof/qof/qofinstance.c :
* libqof/qof/gnc-date.c :
* libqof/qof/qofquerycore-p.h :
* libqof/qof/gnc-date.h :
* libqof/qof/qofevent.c :
* libqof/qof/qofevent.h :
* libqof/qof/qofid.h :
* libqof/qof/qofbookmerge.c :
* libqof/qof/qofbookmerge.h :
* libqof/qof/qofgobj.c :
* libqof/qof/Makefile.am : New files.
* libqof/qof/qofbackend.c : Move the function
versions of the begin_edit and commit_edit
routines to the Utilities file alongside
the macro versions from qof-be-utils.h
* libqof/backend/file/qsf-backend.c : using gint64 so don't use the
32bit glib macros, GINT_TO_POINTER and GPOINTER_TO_INT.
* libqof/backend/file/qsf-xml-map.c :
* libqof/backend/file/qof-backend-qsf.h :
* libqof/backend/file/qsf-xml.c :
* libqof/backend/file/qsf-xml.h : add encoding backend
option. Set the option using the default KvpValue,
then manipulate the option and store the value back into the
KvpValue and backend configuration KvpFrame.
Explicitly including glib.h instead of relying
on libqof to reduce dependency problems.
* register/ledger-core/gnc-ledger-display.c :
* backend/file/test/test-load-backend.c :
* backend/file/sixtp-utils.c :
* business/business-core/gncBusGuile.c :
* business/business-core/gw-business-core-spec.scm :
* business/dialog-tax-table/gw-dialog-tax-table-spec.scm :
* gnome-utils/QuickFill.c :
* engine/gw-kvp-spec.scm :
* engine/gnc-pricedb.c :
* engine/Account.c :
* engine/engine-helpers.c :
* engine/gnc-lot.c :
* engine/kvp-scm.c :
* engine/Period.c :
* engine/Transaction.c :
* engine/test/test-load-engine.c :
* engine/gnc-commodity.c :
* engine/gnc-associate-account.c :
* engine/gnc-engine.c :
* engine/SchedXaction.c :
* engine/gnc-session.c :
* app-utils/gnc-component-manager.c :
* app-utils/gnc-account-merge.c :
* app-utils/gnc-ui-util.c : Replacing deprecated code.
* src/doc/gnc-numeric-example.txt : Move example from
gnc_numeric.h to a separate Doxygen file.
2006-04-07 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Patch from chpe@gnome.org to
use the gtk_show_about_dialog to avoid an inconsistency in the
GtkAboutDialog code. Fixes 337634.
* src/backend/file/io-gncxml-v2.c: The cvs version of libxml2
refuses to write attribute tags that don't have valid namespaces.
Since gnucash writes the root node of the XML data file by hand,
there's no node with namespaces that can be passed in to the code
that generates the gnc:count-data tags. These tags must be
generated by hand as well.
* src/backend/file/gnc-commodity-xml-v2.c: When writing a currency
to the data file, write the full commodity data block for backward
compatibility with 1.8, instead of just writing the quote source
information.
r13738 | chris | 2006-04-05 18:30:00 -0400 (Wed, 05 Apr 2006) | 3 lines
M /gnucash/trunk/src/engine/test/test-commodities.c
Make the tests for growing commodity tables more accurate -
silences incorrect failures.
r13737 | chris | 2006-04-05 13:59:14 -0400 (Wed, 05 Apr 2006) | 3 lines
M /gnucash/trunk/src/engine/gnc-commodity.c
When destroying a commodity, remove it from the commodity table.
Fixes random crashes demonstrated by test-xml-commodities.
2006-04-05 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/gnc-window.[ch]:
* src/gnome/gnc-plugin-basic-commands.c: Make the entire UI (menus
and toolbar) insensitive when the progress bar is showing.
Replaces the code to make the Save/Save As menus insensitive while
saving. Should prevent a whole class of bugs caused by gtk
commands sneaking in and causing non-recursive code to be entered
recursively.
2006-04-05 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.4
2006-04-03 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.[ch]:
* src/gnome/gnc-plugin-basic-commands.c: Serialize access to the
"Save" and "Save As" commands. Fixes 148905.
* src/backend/file/sixtp-dom-generators.c:
* src/backend/file/gnc-commodity-xml-v2.c:
* src/gnome-utils/dialog-commodity.c:
* src/gnome/dialog-commodities.c:
* src/engine/gnc-commodity.[ch]: Use the name "Currency"
internally instead of ISO4217. Make it possible to edit the "get
quotes" flag on currencies.
2006-04-02 David Hampton <hampton@employees.org>
* src/register/ledger-core/split-register-model.c: Change the
access key on the "Change Split" button. Fixes 336836.
* src/gnome-utils/gnc-main-window.c: Change the access key on the
Transaction menu to not conflict with the Tools menu. Fixes
336829.
2006-04-02 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/dialog-account.c: Set search column for account
types lists interactive search. Fix 336833.
2006-04-01 David Hampton <hampton@employees.org>
* src/backend/file/gnc-account-xml-v2.c:
* src/scm/price-quotes.scm:
* src/engine/Account.c:
* src/engine/engine-utilities.scm:
* src/engine/gnc-commodity.c: Mike Alexander's patch to get
currency quote retrieval working again, and some other small
currency quote bugfixes. Closes 333572.
2006-03-31 David Hampton <hampton@employees.org>
* src/engine/Transaction.c: Restore sorting transactions by date
posted. Fixes 335190.
r13718 | chris | 2006-03-30 20:43:16 -0500 (Thu, 30 Mar 2006) | 5 lines
M /gnucash/trunk/src/engine/test/test-freq-spec.c
M /gnucash/trunk/src/engine/test-core/test-engine-stuff.c
M /gnucash/trunk/src/test-core/test-stuff.c
M /gnucash/trunk/src/test-core/test-stuff.h
Return the actual number of test failures with get_rv().
Use shorter strings for commodity mnemonics.
Ensure that test splits amount and value have the same sign.
Avoid numerical overflow in rate calculation when generating test splits.
2006-03-30 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-reset-warnings.c: Fix the dialog so that
the 'Cancel' button cancels all changes made since the dialog was
opened. (c.f. The HIG section on explicit apply windows.) The
'OK' button is now always sensitive. Fixes #336629 and #336630.
* src/backend/file/io-gncxml-v2.c:
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/gnc-window.c: Work around the fact that a
validating XML parser barfs on gnucash's use of an attribute in an
undefined namespace.
2006-03-30 Joshua Sled <jsled@asynchronous.org>
* src/calculation/expression_parser.c (primary_exp):
* src/app-utils/test/test-exp-parser.c (test_parser): Tighten the
grammar around quoted strings. Test-case fixes.
* src/calculation/expression_parser.c (primary_exp):
* src/app-utils/test/test-exp-parser.c (test_parser): Add basic
validation and test-cases for invalid expressions. Bugs#308554,
334811.
* accounts/C/acctchrt_checkbook.gnucash-xea: Revoke placeholder
status from leaf Expense account in Simple Checkbook account
tree. Bug#334777.
2006-03-30 Christian Stimming <stimming@tuhh.de>
* po/es.po: Updated Spanish translation by Eneko Lacunza
<listas@enlar.net>
2006-03-28 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/options-utilities.scm: Move
gnc:options-add-subtotal-view! options from income-statement,
account-summary, and balance-sheet to here. Try to clarify the
wording of the option -- any native english speaker please feel
free to correct the wording even more.
* src/report/standard-reports/trial-balance.scm,
income-statement.scm, equity-statement.scm: Remove unused strings.
* src/report/standard-reports/account-summary.scm,
balance-sheet.scm: Revert report date option to the 1.8 state
where the stock gnc:options-add-report-date! was used and allowed
many potential relative dates.
2006-03-27 David Hampton <hampton@employees.org>
* src/gnome/glade/account.glade:
* src/gnome/druid-hierarchy.c: Change the title of the category
view to track changes in the highlighted group name. Fixes
reopened 334783.
2006-03-27 Christian Stimming <stimming@tuhh.de>
* src/register/register-gnome/gnucash-sheet.h: Stick with vertical
padding of 2 as discussed in bug#334920.
2006-03-25 David Hampton <hampton@employees.org>
* src/gnome/gnc-plugin-page-register.c:
* src/gnome/ui/gnc-plugin-page-register-ui.xml: Add a reconcile
button to the toolbar of a register page. Fixes 136522.
* src/gnome/window-reconcile.c: Add a context menu to the
reconcile window. Fixes 120830.
2006-03-25 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/test/Makefile.am:
link against GUILE_LIBS when building the test-link test app (#336007)
2006-03-25 David Hampton <hampton@employees.org>
* src/register/register-gnome/combocell-gnome.c: Fix the lack of
action strings in the popup menu. The problem occurs because the
menu is populated before the the item edit widget is created. Add
a list store to track these strings (what the old menustrings list
did) which is then passed off to the item_edit widget when that is
created. Fixes 334592.
2006-03-24 David Hampton <hampton@employees.org>
* src/gnome/ui/gnc-reconcile-window-ui.xml:
* src/gnome/window-reconcile.c: Add toolbar icons for Postpone and
Cancel. Fixes 114267.
* configure.in: List the optional components that will be compiled
in the summary at the end of the configure run.
r13698 | chris | 2006-03-24 21:53:51 -0500 (Fri, 24 Mar 2006) | 2 lines
M /gnucash/trunk/src/report/report-gnome/window-report.c
More translator-friendly string placement.
r13694 | chris | 2006-03-23 21:01:18 -0500 (Thu, 23 Mar 2006) | 9 lines
M /gnucash/trunk/src/report/report-gnome/window-report.c
When opening GnuCash for the first time since 1.8.x, allow the user to
choose which reports (if any) to open. If the user cancels the dialog,
no reports are opened, otherwise, for each report, they are asked whether
or not they want to open it. However, if there are less than 4 reports
the dialog is skipped and the reports are just opened. Closes bug#335188.
Note: if someone implements a solution that opened only precisely the
reports that were left open in 1.8.x, it's fine to remove this extra code.
r13686 | chris | 2006-03-23 00:41:29 -0500 (Thu, 23 Mar 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/dialog-options.c
Add a label to the budget selection combobox. Bug#334501
2006-03-23 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (delete_button_clicked):
Bug#335564: ensure the book's SX List is as consistent as
possible; specifically, before we free the SX (which now generates
an event which walks the book's SX List).
2006-03-24 Andreas Köhler <andi5.py@gmx.net>
* src/register/register-gnome/gnucash-grid.c:
* src/register/register-gnome/gnucash-item-edit.c:
* src/register/register-gnome/gnucash-sheet.h:
* src/register/register-gnome/gnucash-style.c: Add vertical
padding in register cells and align text, editable text and the
text cursor vertically. This makes the cells taller and centers
the text. Add one pixel to the horizontal padding.
2006-03-23 David Hampton <hampton@employees.org>
* numerous: Regularize capitalization of the word 'GnuCash' where
its user visible.
2006-03-23 Derek Atkins <derek@ihtfp.com>
* src/business/business-gnome/businessmod-gnome.c:
open the bills due reminder at BOOK_OPENED instead of UI_START.
This gets us the bills-due reminder on File->Open as well.
2006-03-23 David Hampton <hampton@employees.org>
* src/backend/postgres/checkpoint.c: Update to compile on FC5.
2006-03-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c: Store the log level
of all printed messages and use this as yet another check whether
aqbanking had any errors.
r13683 | chris | 2006-03-22 19:33:11 -0500 (Wed, 22 Mar 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
Avoid infinite loop in gnc_find_split_in_trans_by_memo(). Bug #335465
Reported by Mike Alexander.
2006-03-22 David Hampton <hampton@employees.org>
* accounts/*/acctchrt_common.gnucash-xea: Mark all common account
sets to be initially selected when creating a new file.
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome/glade/account.glade:
* src/gnome/dialog-new-user.c:
* src/gnome/druid-hierarchy.[ch]: Differentiate between calling
the hierarchy druid from the new user code and from the window
menus. In the former case, account sets that are marked to be
initially selected will be pre-selected in the "account sets"
tree. In the latter case (e.g. adding a new account set to
existing accounts) these markings will be ignored. Don't allow
the user to move off the account set selection page until at least
one account set is selected. Relabel a window to make it clear
that the account tree only reflects the accounts in one particular
set, not the aggregate set of accounts that will be created.
Fixes 334778, 334780 and 334783.
2006-03-22 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-dense-cal.c:
* src/gnome-utils/gnc-frequency.c:
* src/gnome-utils/gnc-recurrence.c: Remove some optional return
value locations in emissions of signals without return value.
* src/gnome-utils/gnc-html-graph-gog.c: Rename gtkhtml workaround,
non-squared graphs in gtkhtml >= 3.10.1. Fix 328114.
2006-03-21 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-account.[ch]:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome/glade/account.glade:
* src/gnome/ui/gnc-plugin-page-account-tree-ui.xml: Add support
for renumbering the account codes for all the children of a given
account. Implements 334594.
2006-03-21 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/gnc-plugin-page-register.c: Fill the filter by dialog
with given start/end time instead of calculating earliest/latest
date found. Fix 335237.
* src/gnome-utils/gnc-date-edit.c (gnc_date_edit_get_date): Avoid
needless second call to mktime.
2006-03-19 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.3
2006-03-19 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/dialog-options.c: Treat the date option widget
as container if it shows absolute and relative dates, in
multichoice_cb. Fix 335106. Replace deprecated
g_object_{set,get}_data calls.
2006-03-18 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-dense-cal.c: Replace gdk_draw_pixmap with
gdk_draw_drawable.
* src/gnome/dialog-sx-from-trans.c: Let glib subtract days from a
GDate, because G_DATE_BAD_DAY (0) is a bad day. Clear the date
before setting day and update frequency specification before
moving one day back.
* src/gnome-utils/gnc-embedded-window.c:
* src/gnome/dialog-sxsincelast.c:
* src/gnome/dialog-scheduledxaction.c: Correct SX editor and Since
Last Run dialog to close their register plugin pages instead of
only the ledgers. Fix 334627.
2006-03-18 Christian Stimming <stimming@tuhh.de>
* src/scm/doc.scm, src/scm/main.scm: Comment out
gnc:load-help-topics function because it isn't used anymore, and
with the last change it also won't be translated anymore.
* src/scm/help-topics-index.scm: Remove translation macros so that
this unused file isn't included in the translation template any
more. Avoids useless translation work.
2006-03-17 David Hampton <hampton@employees.org>
* src/scm/price-quotes.scm:
* src/gnome/dialog-price-edit-db.c: Pass a dialog pointer through
the scm code and back to the C error display functions. This will
parent the error dialog properly. Fixes 334929.
* src/gnome-utils/account-quickfill.c: Enhance the quickfill event
handler to detect changes in whether an account should appear in
the quickfill. Fixes 334787.
* src/gnome-utils/gnc-file.c:
* src/gnome-utils/gnc-main-window.c:
* src/engine/gnc-hooks.[ch]: Add a "book saved" hook. Use this to
update the window titles after a file is saved. Fixes 334789.
2006-03-17 Andreas Köhler <andi5.py@gmx.net>
* src/engine/Split.c: Fix return value of get_corr_account_split
and reverse the tests of its callers. Fix 334801.
2006-03-16 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-account.c:
* src/gnome-utils/gnc-tree-view-commodity.c:
* src/gnome-utils/gnc-tree-view-price.c:
* src/gnome-utils/gnc-tree-view.c: Use the stable sort function
from Account.c to back up the user selected primary sort
column. Fixes 334595. Also collapse common code, pull strings via
the model, and use the utf8 collate function instead of strcmp.
* src/gnome-utils/gnc-tree-model-account.c:
* src/engine/Account.[ch]:
* src/engine/Recurrence.c: Collapse duplicated code into a single
function.
2006-03-16 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/dialog-commodities.c:
* src/gnome/dialog-price-edit-db.c: Add row_activated callback to
commodity and price editor tree views. Fix 334661.
* src/gnome/gnc-plugin-page-register.c: Make register ui update
unconditionally if in a GncEmbeddedWindow.
2006-03-16 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-commodity.c:
* src/gnome-utils/gnc-tree-view-price.c:
* src/engine/Account.c:
* src/core-utils/gnc-glib-utils.[ch]: Add a wrapper function for
g_utf8_collate that handles checking for null pointers or null
strings.
* src/gnome-utils/gnc-tree-model-account.[ch]:
* src/gnome-utils/gnc-tree-view-account.c: Move the computation of
accounting period balances into the model and colorize it.
2006-03-16 Christian Stimming <stimming@tuhh.de>
* src/gnome/Makefile.am: Add more linker flags for referenced
libraries. Necessary when the required libraries are not inferred
from the dependencies by that particular libtool, e. g. on
windows/mingw32.
2006-03-15 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Treat the file name as utf8
when finding the file name for the window title.
* src/gnome-utils/gnc-main-window.c: Don't create a new window for
a page if there's already an open blank window. Fixes 334672.
2006-03-15 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/window-reconcile.c: Add a call to gnc_tm_set_day_end
to correct initial ending balance in reconcile windows.
2006-03-15 Derek Atkins <derek@ihtfp.com>
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
Note: it think it's probably wrong to set the locale here.
* src/business/business-core/Makefile.am:
Move sources to remove the libgw-engine dependency.
* src/business/business-core/Makefile.am:
* src/business/business-core/file/Makefile.am:
move file-backend dependency from core to core/file.
2006-03-15 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/Makefile.am: Add more linker flags for
referenced libraries. Necessary when the required libraries are
not inferred from the dependencies by that particular libtool,
e. g. on windows/mingw32.
* src/gnc-module/gnc-module.h: Remove include <ltdl.h> that is
unnecessary for code using this header. Gets rid of some <ltdl.h>
weirdness that plagues other object code files on windows.
2006-03-14 Christian Stimming <stimming@tuhh.de>
* src/backend/file/gnc-backend-file.c: Disable extra NFS lockfile
checking on windows due to missing link(2). This is not a problem
because on windows there also is no NFS, and the
open(O_CREAT|O_EXCL) is sufficiently atomic for our purposes.
* src/backend/file/io-gncxml-v2.c: Disable file compression on
windows due to missing pipe(2), conditioned on #ifdef
_WIN32. Insert code suggestion for windows, but is disabled for
now.
* src/gnome-utils/gnc-druid-provider-multifile-gnome.h: Improve
include order so that building without <glob.h> is possible.
2006-03-14 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-account.c:
* src/gnome-utils/gnc-account-sel.c:
* src/gnome/druid-stock-split.c:
* src/engine/Account.c:
* src/engine/gw-engine-spec.scm:
* src/engine/Group.[ch]: Leave the accounts unordered in the
engine. Switch the g-wrap functions that return account lists to
use new functions that return sorted lists so that they see no
change. Fixes 331855. Also change the default account sorting to
sort on utf8 strings.
* src/gnome-utils/dialog-account.c: Fix a warning message.
2006-03-13 Neil Williams <linux@codehelp.co.uk>
* : Synchronise with external QOF 0.6.3
* qof/deprecated.c : Tweak.
* qof/deprecated.h : Tweak.
* qof/gnc-date.c : Use the macro defined in
external QOF that avoids a legacy gnucash macro.
* backend/file/qsf-backend.c : Standardise on gint and gchar.
Skip unregistered objects when processing maps.
* backend/file/qsf-map.xsd.xml : allow for iteration of hierarchical
objects
* backend/file/qsf-xml-map.c : Standardise on gint and gchar.
Correct map handling to allow reverse operations and iteration
over hierarchical objects. Improving debug messages
and preventing a crash when loading a map directly.
* backend/file/pilot-qsf-gncCustomer.xml : add reverse mapping
* backend/file/qsf-xml.c : Standardise on gint and gchar.
* backend/file/qsf-xml.h : Standardise on gint and gchar.
Support iteration over incoming QSF objects inside map
operations. Remove gnucash-specific gettext defines.
2006-03-13 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-plugin-page.c (gnc_plugin_page_add_book):
Save a QofBook instead of its GUID in the list of books. This
should renable the deletion of some plugin pages.
2006-03-13 Christian Stimming <stimming@tuhh.de>
* */*.scm: Reduce debug stack size from 2,000,000 to 200,000
because guile on windows will only accept the smaller value.
2006-03-12 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.[ch]:
* src/gnome-utils/gnc-plugin-page.[ch]:
* src/gnome/gnc-plugin-basic-commands.c:
* src/gnome/gnc-plugin-page-register.c: Add a new per-page
callback to tell the page to finish any pending activities. The
page may return FALSE to abort whatever the caller's normal
function. Add helper routines to iterate over all pages in a
window, or all pages in all windows. Call these new functions
before Quit, Save, Close, and closing a window. The register page
now implements this hook and uses it to save/discard any pending
transaction. Closes 334090.
* src/gnome-utils/glade/commodity.glade: Tweak a couple of
tooltips. Try and make it clear that the commodity mnemonic field
must exactly match that used by the quote source.
* src/report/standard-reports/advanced-portfolio.scm: Andrew
Sackville-West's patch to tidy up the multi-currency handling
quite a bit. It also adds some functionality such as showing the
basis, realized and unrealized gains, and takes advantage of the
new gnc_pricedb_lookup-latest-before function.
* src/business/business-reports/aging.scm: Andrew Sackville-West's
patch to show zero balance entries in the payables and receivables
aging reports.
* src/engine/gnc-pricedb.[ch]:
* src/engine/gw-engine-spec.scm: Andrew Sackville-West's changes
to add the ability to lookup the latest price before a specific
date.
* src/register/register-gnome/gnucash-sheet.[ch]:
* src/register/ledger-core/split-register.[ch]:
* src/register/ledger-core/split-register-control.c:
* src/gnome/gnc-split-reg.[ch]:
* src/gnome/gnc-plugin-page-register.c:
* src/engine/Transaction.h: Replace the changes in r13361 with a
better method for determining when a change in the register needs
to be reflected in the available user actions. Now updates the
Void and Unvoid actions which implements the enhancement request
in 330763.
2006-03-11 David Hampton <hampton@employees.org>
* src/register/register-gnome/combocell-gnome.c:
* src/register/register-gnome/gnucash-item-list.[ch]: Finish
removing the redundant list of valid strings maintained by the
combocell and use the list in the item_edit widget. Fixes the
problem where account cell contents disappear when focusing in/out
of an account cell.
* src/gnome-utils/account-quickfill.c: Update the quickfill to
watch for accounts being added/removed from the account
tree. Fixes 152101 and 302682.
2006-03-11 Derek Atkins <derek@ihtfp.com>
* src/gnome-search/dialog-search.c:
Make sure we translate the button label string.
* src/business/business-reports/invoice.scm:
translate "Thank you.." string.
* src/engine/Makefile.am:
fix the build-order (and install order) of the engine libs.
2006-03-11 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-model-account.c:
* src/engine/Group.c: The account tree model event handler needs
to be more robust in the case of multiple account sets existing at
the same time. Pass the account group instead of the parent
account so that its possible to determine which model a "top
level" account belongs to. Fixes 333866.
2006-03-11 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/dialog-commodity.c: Fix order of parameters to
gnc_ui_common_commodity_modal, and 334181.
* src/gnome-utils/window-main-summarybar.c: Unref the summary bar
list store so that it gets deleted together with the combobox.
* src/gnome-utils/gnc-tree-view-account.c: Avoid calculation of
account period total for the top level account.
r13607 | chris | 2006-03-11 22:38:27 -0500 (Sat, 11 Mar 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/dialog-utils.c
M /gnucash/trunk/src/gnome-utils/glade/transfer.glade
Restore some widget names that were lost in r9938 but still used by
dialog-transfer.c. Added a warning to find more bugs like this one.
r13601 | chris | 2006-03-11 14:39:16 -0500 (Sat, 11 Mar 2006) | 7 lines
M /gnucash/trunk/src/engine/Group.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account.c
Change the account removal event back to using the parent account instead of
the group, but delay the nulling of the account's group pointer until after
the generation of the remove event. That way, the tree model can verify
that the removed account's root is the same as the root for the model.
Also, in the model's event handler, check that accounts are in the same book
as the model is for.
r13594 | chris | 2006-03-10 20:23:43 -0500 (Fri, 10 Mar 2006) | 4 lines
M /gnucash/trunk/src/backend/file/sixtp-utils.c
M /gnucash/trunk/src/backend/file/test/test-save-in-lang.c
M /gnucash/trunk/src/gnc-module/gnc-module.c
Invert sense of conditions involving g_setenv() since its return value
is different than that of setenv(). Also, convert last remaining uses of
setenv() to g_setenv().
2006-03-10 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Walk through the list of
plugins installed in a window and uninstall them before the window
is destroyed. Fixes 333973.
* src/core-utils/gnc-gobject-utils.c: Change the output from this
file to use g_message instead of g_warning so the
--g-fatal-warnings argument doesn't trip over it.
2006-03-10 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-dialog-utils.scm:
gnc:get-account-from-full-name requires two args, not three (#334170)
* Makefile.am: put ".links" into lib so rm -rf works properly
from the top-level of the source tree.
2006-03-10 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Show newly created windows
when restoring the second and subsequent windows.
2006-03-10 Christian Stimming <stimming@tuhh.de>
* po/*.po: Recode all po files into UTF-8 character encoding,
except for the most recent ones, and uk.po which seems to contain
encoding errors.
* configure.in, src/gnome-utils/dialog-utils.c: Gnucash replaced
dlopen/dlsym by the g_module functions, so don't error out if they
are unavailable; dlsym is needed only optionally for BSD
linkers. Also removes quotation error in AC_MSG_ERROR macro.
* src/gnome-utils/gnc-druid-provider-multifile-gnome.h,
gnc-druid-provider-file-gnome.c: If <glob.h> unavailable, provide
own typedef and disable globbing.
2006-03-09 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-main-window.c: Move retrieval of private
data of main window after the creation of the window.
2006-03-09 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-model-commodity.c:
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/gnc-tree-model-price.c:
* src/gnome-utils/gnc-plugin-page.[ch]:
* src/gnome-utils/gnc-account-sel.c:
* src/gnome-utils/account-quickfill.c:
* src/engine/gnc-commodity.h:
* src/engine/gnc-engine.h:
* src/app-utils/gnc-component-manager.c:
* lib/libqof/qof/deprecated.[ch]:
* lib/libqof/qof/qofevent.c:
* lib/libqof/qof/qofevent-p.h:
* configure.in: Finish removing deprecated QOF functions.
* src/gnome/dialog-price-editor.c:
* src/gnome/top-level.c:
* src/gnc-ui.h: Restore clickable links for price quotes.
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* src/optional/Makefile.am : Make xsl/ available
for installation and therefore packaging.
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* src/gnome/druid-merge.c : Use new function names.
* src/engine/test/test-book-merge.c : Use new function names.
* lib/libqof/qof/qof_book_merge.c : Removed.
* lib/libqof/qof/qof_book_merge.h : Removed.
* lib/libqof/qof/qofbookmerge.c : Replacement file.
* lib/libqof/qof/qofbookmerge.h : Replacement file.
* lib/libqof/qof/qof.h : Use new filename.
* lib/libqof/qof/deprecated.c : Deprecate old function
names from qof_book_merge in favour of new from qofbookmerge.
* lib/libqof/qof/deprecated.h : Added deprecated function
declaration.s
* lib/libqof/qof/Makefile.am : New files.
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/qof/qofquery-deserial.c : Update status; this
file will not exist in libqof2
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/qof/qofevent.h : Doxygen tweak.
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/backend/file/qsf-backend.c : Remove deprecated
glib function g_strncasecmp in favour of g_ascii_strncasecmp
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* src/optional/xsl : New directory for optional XSL
* src/optional/xsl/vcard-gnccustomer.pl : Perl script
to create QSF from VCards
* src/optional/xsl/gnucash-gnccustomer-vcard2.xsl :
XSL to generate vcards from QSF (gncCustomer)
* src/optional/xsl/gnucash-std.xsl : Common routines
for gnucash XSL stylesheets
* src/optional/xsl/Makefile.am : Don't build, just install.
* src/optional/xsl/string.xsl : xsltsl standard library XSL
in place until available as a package.
* src/optional/xsl/README : Notes on using XSL and examples.
* src/optional/xsl/date-time.xsl : xsltsl standard library.
* src/optional/Makefile.am : install only.
* configure.in : Add instruction to build a Makefile in
src/optional/xsl
2006-03-09 Neil Williams <linux@codehelp.co.uk>
* src/business/business-core/gncInvoice.c : Enable
QOF_TYPE_COLLECT to allow recursive copying of gncEntry
within a gncInvoice for QSF export.
2006-03-09 Christian Stimming <stimming@tuhh.de>
* lib/libqof/qof/qoflog.c, lib/libqof/qof/gnc-date.c,
src/engine/Transaction.c: Add substitution code for unavailable
functions gettimeofday and gmtime_r.
* configure.in, Makefile.am: Replace "ln -sf" by "$(LN_S) -f" for
systems that don't have symbolic links available.
* configure.in, src/gnome-utils/gnc-druid-provider-file-gnome.h:
Check for <glob.h> and provide own typedef if header unavailable.
* configure.in, src/gnome-utils/gnc-gnome-utils.c: Check for
<X11/Xlib.h> and ignore code section if header unavailable.
* po/glossary/vi.po: Updated vietnamese glossary by Clytie Siddall
<clytie@riverland.net.au>
2006-03-09 David Hampton <hampton@employees.org>
* src/engine/gw-engine-spec.scm:
* src/engine/Group.c:
* lib/libqof/qof/qofquery.c:
* lib/libqof/qof/qofsession.c: Remove more functions to be
deprecated in libqof2. (Pass Three - more trivial substitutions
and simple translations.)
* numerous: Never include "config.h" from a header file. Doing so
makes it nigh impossible to override configuration settings.
r13576 | chris | 2006-03-09 23:23:48 -0500 (Thu, 09 Mar 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/dialog-transfer.c
M /gnucash/trunk/src/gnome-utils/dialog-transfer.h
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
Factor out and create new function: gnc_xfer_dialog_run_exchange_dialog()
This isolates the amount-to-value conversion algorithm from the register.
r13575 | chris | 2006-03-09 21:28:28 -0500 (Thu, 09 Mar 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register-p.h
M /gnucash/trunk/src/register/ledger-core/split-register.c
More register line wraps, clean-ups, etc., plus some minor re-ordering
to prepare for some factoring.
r13538 | chris | 2006-03-08 00:47:36 -0500 (Wed, 08 Mar 2006) | 2 lines
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/Transaction.h
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
More line-wraps, cleanups, factoring new function: xaccTransGetSplitIndex().
2006-03-08 David Hampton <hampton@employees.org>
* numerous: Remove more functions to be deprecated in
libqof2. (Pass Two - more trivial substitutions, some simple
translations.)
* numerous: Remove functions to be deprecated in libqof2. (Pass
One - trivial substitutions.)
* src/gnome-utils/gnc-tree-model-account.c:
* src/engine/Account.c:
* src/engine/Group.c: Remove extra events added in r13483. This
leaves the REMOVE event as the only changed event.
2006-03-08 Derek Atkins <derek@ihtfp.com>
* src/engine/gnc-filepath-utils.c:
gstdio.h and g_mkdir are in glib-2.6 -- use old APIs with glib-2.4.
* lib/libqof/qof/qofevent.[ch]:
Fix the definition of QOF_EVENT_BASE; use QOF_EVENT__LAST for tests.
* src/engine/gnc-event.h:
Add GNC_EVENT_ITEM_ADDED and GNC_EVENT_ITEM_REMOVED event definitions
* src/engine/Split.c:
Emit GNC_EVENT_ITEM_ADDED and GNC_EVENT_ITEM_REMOVED events
when a split is added or removed from an account.
* configure.in: depend on QOF 0.6.3 for proper event handling.
2006-03-08 Christian Stimming <stimming@tuhh.de>
* src/gnc-module/gnc-module.c, src/backend/file/sixtp-utils.c:
Replace setenv() by g_setenv for increased cross-platform
compatibility.
* src/engine/gnc-filepath-utils.c: Replace mkdir by g_mkdir for
increased cross-platform compatibility.
* src/core-utils/gnc-gconf-utils.c,
src/business/business-gnome/business-urls.c
src/gnome-utils/dialog-preferences.c
src/gnome-utils/gnc-currency-edit.c
src/gnome-utils/gnc-plugin-file-history.c
src/gnome-utils/gnc-main-window.c
src/gnome-utils/dialog-reset-warnings.c
src/gnome-utils/gnc-tree-view.c src/gnome/window-reconcile.c
src/app-utils/file-utils.c src/app-utils/gnc-ui-util.c : Replace
index(3) by strchr(3) and rindex(3) by strrchr(3) because the
latter is more widely available.
2006-03-07 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-splash.c: Use a font size of "smaller" when
printing to the splash screen. Should solve 104436 except for
people running with huge system fonts.
* src/gnome-utils/gnc-tree-view-account.[ch]: Relabel column
titles from "XXX (Report)" to a label that includes the currency
mnemonic (e.g. "Total (EUR)"). Closes 118695.
* src/app-utils/gnc-ui-util.c:
* src/engine/gnc-hooks.[ch]: Cache the result of a gconf lookup
for a currency choice. Add a new callback hook for when a user
changes a currency setting (default account or report).
* src/register/register-gnome/combocell-gnome.c:
* src/register/register-gnome/gnucash-item-list.[ch]:
* src/register/register-gnome/gnucash-item-edit.[ch]:
* src/register/ledger-core/gnc-ledger-display.c:
* src/register/ledger-core/split-register.h:
* src/register/ledger-core/split-register-load.c:
* src/register/register-core/combocell.h:
* src/gnome-utils/account-quickfill.[ch]: The account quickfill
has multiple components to it, only one of which was shared. Build
and use a shared list store used by the gnucash_item_edit
widget (which is updated by signals sent when accounts are
added/deleted/modified.) With this in place, its not necessary to
rebuild two account quickfills for each open register window when
a gnc_gui_resume_refresh is called which eliminates an O(2n)
slowdown. This seems sufficient to close 120028.
* src/gnome/dialog-price-editor.c:
* src/gnome/top-level.c:
* src/gnome/dialog-commodities.c:
* src/gnome/dialog-price-edit-db.c:
* src/gnc-ui.h: Remove all usage of gnc_get_current_session / book
/ whatever except at the very top level when the dialog is
originally created. Tell the component manager to delete the
dialog when the session is destroyed. Remove support for an old
url-that-generates-a-price-edit-window trick.
* src/gnome-utils/gnc-file.c: Add a couple of calls to the
component manager when closing the current session.
* src/engine/gnc-pricedb.c: Use the pointer to the commodity as a
hash key instead of looking up the commodity string and then
hashing that. Fixes 332678.
2006-03-08 Andreas Köhler <andi5.py@gmx.net>
* configure.in:
* lib/libqof/qof/guid.c: Add configure test for sys/times.h and
corrected guid.c to check for that.
2006-03-07 Christian Stimming <stimming@tuhh.de>
* lib/libqof/qof/guid.c: Make seed collection parts that depend on
particular functions #ifdef'd on that to enable easier
windows/mingw32 porting.
* lib/libc/setenv.h: Fix old libc substitution files, now needed
for windows/mingw32 porting.
* Makefile.am: Add po/gnucash.pot to EXTRA_DIST because the
translation template is needed in the tarball for translators.
2006-03-07 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/gnc-plugin-page-register.c: Disable sensitivity of
style radio actions for registers with ledger_type != LD_SINGLE.
2006-03-07 Derek Atkins <derek@ihtfp.com>
* lib/libgsf-1.12.3/tests/test-msole1.c:
properly ignore the return value of fgets(). Fixes an FC4 error.
r13535 | chris | 2006-03-07 23:48:32 -0500 (Tue, 07 Mar 2006) | 2 lines
M /gnucash/trunk/src/register/ledger-core/split-register-model-save.c
M /gnucash/trunk/src/register/ledger-core/split-register-model.c
M /gnucash/trunk/src/register/ledger-core/split-register-util.c
More line-wraps, cleanups and factoring.
r13529 | chris | 2006-03-07 21:20:57 -0500 (Tue, 07 Mar 2006) | 2 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
Minor line wraps and factoring.
r13513 | chris | 2006-03-07 00:31:54 -0500 (Tue, 07 Mar 2006) | 3 lines
M /gnucash/trunk/src/backend/file/io-gncbin-r.c
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/Account.h
M /gnucash/trunk/src/engine/gnc-associate-account.c
M /gnucash/trunk/src/gnome/druid-stock-split.c
M /gnucash/trunk/src/gnome/gnc-split-reg.c
M /gnucash/trunk/src/register/ledger-core/gnc-ledger-display.c
M /gnucash/trunk/src/register/ledger-core/split-register-model.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
Factor out and create new function: xaccAccountIsPriced() that does the
common STOCK, MUTUAL or CURRENCY check.
r13512 | chris | 2006-03-06 23:45:46 -0500 (Mon, 06 Mar 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
When periodically checking for ui events, avoid creating a QofSession
if we don't already have one.
r13510 | chris | 2006-03-06 22:41:39 -0500 (Mon, 06 Mar 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
M /gnucash/trunk/src/register/register-core/table-allgui.c
M /gnucash/trunk/src/register/register-core/table-allgui.h
M /gnucash/trunk/src/register/register-gnome/gnucash-item-edit.c
Minor code factoring, line-wraps, control-flow simplifications, etc.
centered around split-register-load.c.
r13508 | chris | 2006-03-06 22:07:41 -0500 (Mon, 06 Mar 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
Factor out one small piece of the huge gnc_split_register_load() into
new static function add_quickfill_completions().
r13507 | chris | 2006-03-06 21:42:12 -0500 (Mon, 06 Mar 2006) | 2 lines
M /gnucash/trunk/src/engine/Scrub.c
M /gnucash/trunk/src/engine/gnc-commodity.c
M /gnucash/trunk/src/engine/gnc-commodity.h
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
Factor out and create new function: gnc_commodity_is_currency().
r13505 | chris | 2006-03-06 19:27:38 -0500 (Mon, 06 Mar 2006) | 3 lines
M /gnucash/trunk/src/engine/Account.c
Move both old an new-style Account MODIFY events into the "on_done" case
of qof_commit_edit_part2().
2006-03-06 Joshua Sled <jsled@asynchronous.org>
* src/gnome/glade/sched-xact.glade: Change initial sensitivity of
auto-create+notify SX pref.
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
Add multi-commodity SX support. Bug#333532.
* packaging/gnucash-1.9.x.ebuild (SRC_URI): Mods for ebuild to be
used as an SVN ebuild.
2006-03-06 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-html-graph-gog.c: Save the go graph in the
GtkHTMLEmbedded object. Add printing support for the graphs
(depends on #332884). A bit of formatting.
* src/gnome-utils/gnc-html.[ch]: Correct prototype of
GncHTMLObjectCB to return gboolean.
* src/gnome-utils/print-session.[ch]: Create a new job with a
default config for the print dialog. Remove GnomePrintPaper
*paper from the PrintSession.
2006-03-06 Christian Stimming <stimming@tuhh.de>
* src/import-export/ofx/gnc-ofx-import.c: Fix OFX import problem
with some dividends transactions. Patch by David Reiser. #164645.
* src/import-export/import-backend.c: Fix crash when "clear" is
chosen but no matching transaction is selected. Now those imported
transactions will silently be ignored. #317917.
r13498 | chris | 2006-03-05 18:46:39 -0500 (Sun, 05 Mar 2006) | 4 lines
M /gnucash/trunk/src/engine/Split.c
Don't force a resort of Account's split lists during xaccTransCommitEdit().
This happens already in xaccAccountCommitEdit() and if the Account isn't
being edited, then we inserted the Split in sorted order anyway.
2006-03-05 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.2
2006-03-05 David Hampton <hampton@employees.org>
* src/engine/Transaction.c:
* src/engine/Split.c: Use utf8 collation routines when sorting
splits in a register. Also, only sort on the date of
transactions (not date and time) since gnucash doesn't allow times
to be input. Fixes #127809.
2006-03-05 Joshua Sled <jsled@asynchronous.org>
* packaging/gnucash-1.9.x.ebuild: Add checks for libgsf and
goffice being built_with_use gnome. Add code to shutdown any
user-level gconfd's running. Add note about broken
make_desktop_entry. Expand range of README installs.
* src/app-utils/test/test-exp-parser.c (test_parser): Hack-fix
test errors due to missing function now required by
expression-parser. In the future, we should have a better way to
setup the application/test state.
* src/calculation/expression_parser.c (primary_exp): Fix
function-parsing bug I introduced during the week with another bug
fix.
2006-03-05 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register.c:
* src/register/ledger-core/split-register-load.c:
* src/register/ledger-core/split-register-control.c:
Fix a compiler warning so the code builds properly:
- warning: suggest parentheses around assignment used as truth value
* configure.in: change the g-wrap 1.3 + GCC4 behavior.
only warn the user (not blow out) if they explicitly request
--enable-error-on-warning. But still blow out if they
didn't specifically request it and we turned it on by default.
2006-03-05 Christian Stimming <stimming@tuhh.de>
* src/register/ledger-core/split-register-control.c: Fix missing
variable initialization in Chris' changes.
2006-03-04 David Hampton <hampton@employees.org>
* src/register/ledger-core/gnc-ledger-display.[ch]:
* src/register/ledger-core/split-register.c:
* src/gnome/gnc-plugin-page-register.c: Move/fix the callbacks
function that kills any open registers for an account that has had
"extreme" changes made to it in the "edit account" dialog. Fixes
331415.
* src/pixmaps/*
* src/gnome-utils/Makefile.am:
* src/gnome-utils/gnc-icons.[ch]:
* src/gnome-utils/gnc-dir.h.in:
* src/gnome/gnc-plugin-page-register.c:
* src/gnome/ui/*: Consolidate the new icons with the existing set
of icons.
* src/gnome-utils/gnc-tree-model-account.c:
* src/engine/Account.c:
* src/engine/Group.c: Rework the events generated by the
account/group files and consumed by the GncTreeModelAccount.
Should eliminate all g_value_unset and g_object_set_property
warnings related to changes in the account tree.
* src/engine/Transaction.c:
* src/engine/gnc-event.h: Rename a data structure field.
* src/gnome-utils/dialog-account.c: Fix duplicate account name
checking bug that prevented editing account info.
2006-03-04 Andreas Köhler <andi5.py@gmx.net>
* src/gnome/glade/account.glade: set automatic policy on some
scrolledwindows in the account dialog
* glade-fixup:
* src/gnome/glade/account.glade:
* src/gnome/glade/budget.glade:
* src/gnome/glade/price.glade:
* src/gnome/glade/print.glade:
remove add_tearoffs property from GtkComboBoxes
* Hello_ChangeLog
2006-03-04 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-account.c:
* lib/glib26/gkeyfile.c:
* lib/glib26/gutils26.[ch]: Make g_strv_length available outside
of the gkeyfile compatability library.
2006-03-04 Joshua Sled <jsled@asynchronous.org>
* src/gnome/schemas/Makefile.am (install-data-local)
* src/gnome-utils/schemas/Makefile.am (install-data-local)
* src/business/business-gnome/schemas/Makefile.am (install-data-local)
* src/import-export/hbci/schemas/Makefile.am (install-data-local)
* src/import-export/schemas/Makefile.am (install-data-local):
Modify schema mkdirs by DESTDIR for packaging.
* src/gnome/glade/sched-xact.glade: Fix selection mode on
transaction reminder and obsolete SX lists.
* src/gnome/ui/icon-split.png:
* src/gnome/ui/icon-transfer.png:
Add split, transfer icons provided by Andrew Duggan
<cmkrnl@speakeasy.net>.
* src/gnome-utils/gnc-dir.h.in:
* src/gnome-utils/Makefile.am (gnc-dir.h):
* src/gnome/gnc-plugin-page-register.c
(gnc_plugin_page_register_actions)
(gnc_plugin_page_register_class_init): Add registration, use of
gnucash-provided (split, transactions) icons. Bug#327647.
* src/gnome-utils/gnc-menu-extensions.c (gnc_extension_path):
Fixes to memory deallocation suggested by Phil Longstaff
<plongstaff@newearth.org>.
2006-03-04 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-preferences.c:
* src/gnome-utils/glade/preferences.glade:
* src/gnome/schemas/apps_gnucash_general.schemas.in:
* src/engine/Account.c:
* src/app-utils/gnc-ui-util.c: Update the preferences dialog to
allow any unicode character as the separator.
r13487 | chris | 2006-03-04 23:14:38 -0500 (Sat, 04 Mar 2006) | 5 lines
M /gnucash/trunk/src/engine/Scrub.c
M /gnucash/trunk/src/engine/Split.c
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
Convert xaccTransGetSplit() and xaccTransCountSplits() to return the
index and count reflective of any in-progress edit.
Convert some split iterators from directly using the GList of Splits to
using xaccTransGetSplit().
r13476 | chris | 2006-03-04 13:12:34 -0500 (Sat, 04 Mar 2006) | 4 lines
M /gnucash/trunk/src/engine/engine-interface.scm
Use for-each, lambda expressions for iterating over split lists.
In contrast to the previous looping construct, this will work even if
the split operations don't have side-effects on the split lists.
r13471 | chris | 2006-03-04 01:56:27 -0500 (Sat, 04 Mar 2006) | 3 lines
M /gnucash/trunk/src/engine/Transaction.c
When the book is shutting down, don't be so eager to destroy the whole
transaction. This makes it easier to safely iterate over a split list.
r13469 | chris | 2006-03-04 00:10:15 -0500 (Sat, 04 Mar 2006) | 2 lines
M /gnucash/trunk/src/engine/Transaction.c
Destroy Transactions without rebalancing when shutting down the book.
r13468 | chris | 2006-03-03 22:21:34 -0500 (Fri, 03 Mar 2006) | 5 lines
M /gnucash/trunk/src/engine/Makefile.am
M /gnucash/trunk/src/engine/Transaction.c
A /gnucash/trunk/src/engine/gnc-event.h
Generate REMOVE events when a Split is removed from a Transaction.
Pass the *old* parent transaction (since the Split may be moving into
a new transaction) and the old index of the Split in the old Transaction's
list of Splits.
r13466 | chris | 2006-03-03 21:42:49 -0500 (Fri, 03 Mar 2006) | 2 lines
M /gnucash/trunk/src/engine/Scrub.c
Look for orphan Splits even when there is no Transaction imbalance.
r13465 | chris | 2006-03-03 19:27:38 -0500 (Fri, 03 Mar 2006) | 2 lines
D /gnucash/trunk/src/gnome-utils/dialog-exchange.h
Delete unused dialog-exchange.h
r13464 | chris | 2006-03-03 19:23:07 -0500 (Fri, 03 Mar 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register.c
Remove an unnecessary Account edit-block.
Minor control-flow simplification.
r13463 | chris | 2006-03-03 19:13:15 -0500 (Fri, 03 Mar 2006) | 2 lines
M /gnucash/trunk/src/register/ledger-core/split-register-load.c
Bits to let the register see the in-progress Transaction edit.
r13462 | chris | 2006-03-03 19:11:44 -0500 (Fri, 03 Mar 2006) | 16 lines
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/Account.h
M /gnucash/trunk/src/engine/AccountP.h
Remove xaccAccountRemoveSplit, and xaccAccountInsertSplit.
(Actually, xaccAccountInsertSplit is #def'd to xaccSplitSetAccount().)
Accounts no longer manage their Split lists. The Account split lists
should only ever be modified from within xaccTransCommitEdit(). This
simplifies some of the operations on Accounts, since they can now be
expressed in terms of operations on Splits.
Also, the consolidation of two operations (RemoveSplit and InsertSplit)
into one operation (xaccSplitSetAccount) means that it's no longer
possible to orphan a Split.
Incidental:
Fix a leak of a KVP frame.
Don't recompute the account balance if we're shutting down.
r13461 | chris | 2006-03-03 19:11:16 -0500 (Fri, 03 Mar 2006) | 14 lines
M /gnucash/trunk/src/engine/Transaction.c
The xaccTransRollbackEdit() part of the Begin/Commit edit-block rewrite.
Broken out just for clarity.
Note: There's one piece that I didn't change that I think is conceptually
awkward. It has to do with how/when we would discover that another
user has deleted the transaction we're currently editing. I think it makes
more sense to detect and handle this case in xaccTransCommitEdit() instead
of xaccTransRollbackEdit(), because (a) we don't actually have to do the
rollback if we just destroy the trans, (b) some rollbacks are not backend-
induced, but rather voluntary, (c) we need a generalized mechanism
anyway for detecting and handling deleted transactions even when
we're not editing them.
r13460 | chris | 2006-03-03 19:10:44 -0500 (Fri, 03 Mar 2006) | 5 lines
M /gnucash/trunk/src/engine/Scrub.c
Move one data-validation function from Scrub.c into Transaction.c
One simplification in xaccTransScrubImbalance() to always find the root
AccountGroup from the Transaction's book.
r13459 | chris | 2006-03-03 19:10:12 -0500 (Fri, 03 Mar 2006) | 31 lines
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/Transaction.h
A good bit of notes about how the Transaction Begin/Commit
edit-blocks should work, and why.
Converts the very important xaccTransCommitEdit function to use the
qof_commit_edit_part2() function instead of something that is 90%
similar.
Transactions have a Split list that keeps track of Splits during the edit.
During edits, this list only grows and never shrinks. Splits that
have been destroyed or reparented to other transactions remain in
the list, along with pre-edit Splits and newly added Splits. Only after a
successful commit does the Split list drop reparented or destroyed
Splits. A couple out-of-engine users (mainly the register) call
xaccTransGetSplitList() an work from the Transaction's split list,
but they expect to be working with only the Splits that would still be in
the Transaction if the in-progress edit would be committed. So, we
provide the function xaccTransStillHasSplit(t, s) to allow users to query
the in-edit state of the Transaction's Split list.
xaccTransRemoveSplit() and xaccTransInsertSplit() have been replaced by
xaccSplitSetParent().
The new xaccTransCommitEdit tries to take a more conservative approach
to event generation, too. Instead of generating every possible event for
any commit, it should generate only events that indicate a change to an
engine object or relation.
Move some of the financial-constraint-enforcing functions closer to the
relevant data-structures. (from Scrub.c)
r13458 | chris | 2006-03-03 19:09:31 -0500 (Fri, 03 Mar 2006) | 9 lines
M /gnucash/trunk/src/engine/test/test-period.c
M /gnucash/trunk/src/engine/test/test-split-vs-account.c
M /gnucash/trunk/src/engine/test-core/test-engine-stuff.c
Remove some testing of an engine API that has been removed.
The engine used to have functions that made it possible to orphan a Split.
As this is no longer possible, we can't test anymore.
Incidental:
Fix three or four small leaks in the test functions.
Allow test-period to be randomized based on optional command-line arg.
r13457 | chris | 2006-03-03 19:09:03 -0500 (Fri, 03 Mar 2006) | 27 lines
M /gnucash/trunk/src/engine/Split.c
M /gnucash/trunk/src/engine/Split.h
M /gnucash/trunk/src/engine/SplitP.h
Splits can now keep track of their own rollback state.
The Split <-> Account and Split <-> Transaction relationships are now
treated as properties of the Split. In terms of the BeginEdit/CommitEdit
block, Splits are subordinate to Transactions. There is no public
BeginEdit/CommitEdit block for Splits; changes to Splits should be wrapped
in their Transaction's Edit-block.
In the case of the Split <-> Account relationship, the call to
xaccSplitSetAccount() will be immediately visible from
xaccSplitGetAccount(), but the Account does not learn about the
Split until and if the edit is committed.
In the case of the Split <-> Transaction relationship, calling
xaccSplitSetParent() will immediately add the Split to the
Transactions split list. This is because the Split's Transaction
owns the reference to the Split. However, see the Transaction.c
patch for how to distinguish pre-edit state from in-edit state.
In both cases, events are not generated until the edits are committed.
Most of this new logic is in an engine-private helper xaccSplitCommitEdit(),
which is called from xaccTransCommitEdit().
Incidental:
Increased error-checking in xaccSplitSetValue().
Internalize a Transaction Begin/Commit edit-block in every setter func.
r13456 | chris | 2006-03-03 19:08:16 -0500 (Fri, 03 Mar 2006) | 7 lines
M /gnucash/trunk/src/engine/engine-utilities.scm
M /gnucash/trunk/src/engine/engine.scm
M /gnucash/trunk/src/engine/gw-engine-spec.scm
M /gnucash/trunk/src/report/report-system/report-utilities.scm
Remove two slightly different definitions of
gnc:transaction-map-splits, both unused.
Remove g-wrapped versions of functions being removed:
gnc:account-fix-split-date-order,
gnc:trans-fix-split-date-order
2006-03-03 David Hampton <hampton@employees.org>
* numerous: Convert the account separator from a single character
to a character string. This allows multibyte unicode characters
to be the account separator character. Fixes 333061. Reworked a
couple of routines that pull account names into their component
parts. Also fixed a bug in the new account dialog when creating
multiple accounts at once.
2006-03-03 Derek Atkins <derek@ihtfp.com>
* configure.in: error out on g-wrap-1.3, gcc4, and error-on-warning.
Fixes #330615.
2006-03-02 Joshua Sled <jsled@asynchronous.org>
* src/gnc-ui.h: Fix SXEDITOR help target id. Bug#128857.
2006-03-02 Christian Stimming <stimming@tuhh.de>
* src/import-export/mt940/gnc-mt940-import.c: More work on mt940
import. Completed #325170.
* accounts/el_GR/*-xea: Greek account templates converted to
UTF-8, by Nikos Charonitakis <nikosx@gmail.com>.
2006-03-02 David Hampton <hampton@employees.org>
* numerous: Move the storage for the account separator character
into Account.c (default ':') and set it with an accessor function
at startup and when it is changed in the preferences/gconf.
Eliminate unnecessary passing around of the account separator
character.
2006-03-01 David Hampton <hampton@employees.org>
* src/register/register-core/pricecell.c:
* src/register/register-core/formulacell.c:
* src/calculation/fin_spl_protos.h:
* src/calculation/expression_parser.c:
* src/app-utils/gnc-ui-util.[ch]:
* src/app-utils/gnc-exp-parser.c: Convert all locations that parse
input using the locale thousands/decimal point characters to use
unicode functions. This should allow multi-byte unicode
characters to work as these separators on input.
* src/app-utils/gnc-ui-util.c: Rework of Sylvain Defresne's patch
to support multi-byte unicode thousands separator and decimal
point characters when printing numbers.
2006-03-01 Derek Atkins <derek@ihtfp.com>
* src/report/standard-reports/transaction.scm:
Andrew Sackville-West's patch to add transaction links.
2006-02-28 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-account.c: Collapse the common parts of
the "new account" and "edit account" dialog validation code into a
single routine. Fixes 117812.
* src/app-utils/options.scm: Andreas Köhler's patch to correctly
build a html color value. Fixes 328933.
2006-02-28 Joshua Sled <jsled@asynchronous.org>
* src/bin/gnucash-bin.c (gnucash_command_line): Terminate
GOptionEntry array, preventing warnings and/or errors parsing
command-line options.
2006-02-28 David Hampton <hampton@employees.org>
* configure.in: Set the GNOME_DISABLE_DEPRECATED flag for gnome
versions up to 2.13.7.
* src/gnome-utils/dialog-options.c: Allow this one file to use
deprecated gnome functions, but only when compiled with gtk 2.4.
Later versions of gtk include the needed replacement function and
deprecated gnome functions are not allowed.
r13426 | chris | 2006-02-28 14:57:24 -0500 (Tue, 28 Feb 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
M /gnucash/trunk/src/register/ledger-core/split-register-model-save.c
M /gnucash/trunk/src/register/ledger-core/split-register-model.c
M /gnucash/trunk/src/register/ledger-core/split-register-p.h
Make register use engine-provided xaccTransGetAccountConvRate() instead of
writing its own.
r13425 | chris | 2006-02-28 14:46:19 -0500 (Tue, 28 Feb 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-model.c
Make register use engine-provided xaccTransGetAccountBalance() instead
of writing its own.
r13424 | chris | 2006-02-28 14:38:29 -0500 (Tue, 28 Feb 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-model.c
Make register use engine-provided xaccTransGetAccountAmount() instead of
writing its own.
r13423 | chris | 2006-02-28 14:34:42 -0500 (Tue, 28 Feb 2006) | 3 lines
M /gnucash/trunk/src/register/ledger-core/split-register-control.c
Make register use engine-provided xaccTransHasReconciledSplits() instead
of writing it's own.
2006-02-27 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-utils.[ch]: Remove a unused function that
calls deprecated gnome routines.
* src/gnome/window-reconcile.c:
* src/gnome/ui/gnc-reconcile-window-ui.xml:
* src/gnome/ui/Makefile.am: Convert the reconcile window from the
old GnomeUIInfo menu/toolbar widgets to the newer GtkAction based
widgets.
2006-02-27 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/gnc-backend-file.h (struct FileBackend_struct):
Remove unused `pricedb_lookup` and `export` operations from
gnucash-specific file backend.
* src/backend/file/gnc-backend-file.c (gnc_backend_new): Use
correct 'export' function-slot, allowing File > Export > Export
Accounts to work again. Bug#332802.
* src/gnome/gnc-plugin-basic-commands.c: Clarify "Export Accounts"
from "Export Chart of Accounts [to QSF].
* src/calculation/expression_parser.c (primary_exp): Fix infinite
loop in parsing malformed functions (e.g. "ipmt(1:2:)"). Bug#332804.
* src/app-utils/gnc-exp-parser.c (func_op): No longer crashes on
an invalid formula, though it's also not very clear what's going
on. Basically fixes Bug#137885.
2006-02-27 David Hampton <hampton@employees.org>
* src/engine/gnc-pricedb.[ch]:
* src/engine/gnc-pricedb-p.h:
* src/engine/Account.[ch]:
* src/app-utils/gnc-ui-util.[ch]: Add 'const' qualifiers to
various functions.
* src/gnome-utils/gnc-main-window.c: Check for the existence of a
page before dereferencing it. Fixes 332680.
2006-02-27 Derek Atkins <derek@ihtfp.com>
* src/business/business-gnome/glade/job.glade
* src/business/business-gnome/glade/order.glade
* src/business/business-gnome/glade/invoice.glade
* src/business/business-gnome/glade/billterms.glade
* src/business/business-gnome/glade/payment.glade
* src/business/business-gnome/glade/vendor.glade
* src/business/business-gnome/glade/customer.glade
Don't need to translate placeholder labels.
2006-02-26 Derek Atkins <derek@ihtfp.com>
Apply a re-work of Titi Ala'ilima's patch to apply payments
directly to invoices. This fixes bug #121420.
* src/business/business-core/gncInvoice.[ch]:
Add argument to the ProcessPayment API to allow the caller
to specify an invoice to post to first.
* src/business/business-gnome/business-gnome-utils.[ch]:
Create an invoice-select API that lets you select an invoice
based on an owner (or not). I.e., you can limit the invoice
search based on a selected owner. If you change the owner
it invalidates the invoice search.
* src/business/business-gnome/dialog-payment.[ch]:
Change the API from ..new_with_value() to ..new_with_invoice().
Pull the default amount from the invoice (if one exists).
Allow the user to select an invoice and apply payments there.
If the user changes the owner, invalidate the invoice.
* src/business/business-gnome/business-options-gnome.c:
use the new invoice-select API instead of calling general_search
API directly.
* src/business/business-gnome/dialog-invoice.c:
call the new dialog-payment API. No need to compute the initial
value here; the payment dialog will compute it from the invoice
(instead of computing it from the invoice here).
* src/business/business-gnome/glade/payment.glade:
Add invoice-selector label and box.
2006-02-26 David Hampton <hampton@employees.org>
* packaging: Create a consolidated directory for distribution
specific scripts.
* src/gnome-utils/dialog-utils.[ch]:
* src/app-utils/option-util.c: Restore GtkOptionMenu support
because the newer GtkComboBox doesn't support per item tooltips.
Fixes bug 332569.
2006-02-26 Neil Williams <linux@codehelp.co.uk>
* qof/qof-be-utils.h : Replace macro to restore
programme flow.
* qof/qofevent.c :
* qof/qofevent.h : Outline method to make application
events easier to use.
* qof/deprecated.c : Define deprecated event functions
that call new QofEvents with a NULL event_data argument.
* qof/qofbook.c : Use new qof_event arguments.
* qof/qofevent.c : Allow events to be generated with an
optional event_data argument.
* qof/qofevent.h : Doxygen tweaks.
2006-02-26 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-html-graph-gog.c:
Andreas Köhler's patch for barchart improvements: segment color
setting, axis rotation and formatting.
* src/engine/SX-book.c (gnc_sx_get_sxes_referencing_account):
* src/gnome/dialog-scheduledxaction.c: Add handler for
account-deleted events, determine and display editors for SXes
referencing those accounts. Fixes Bug#312730.
* src/report/utility-reports/Makefile.am (SCM_FILE_LINKS):
* src/report/utility-reports/utility-reports.scm:
* src/report/utility-reports/iframe-url.scm:
* doc/tip_of_the_day.list.in:
Remove web browser "report".
r13395 | chris | 2006-02-26 13:36:05 -0500 (Sun, 26 Feb 2006) | 2 lines
M /gnucash/trunk/src/business/business-core/gncBillTerm.c
M /gnucash/trunk/src/business/business-core/gncCustomer.c
M /gnucash/trunk/src/business/business-core/gncEmployee.c
M /gnucash/trunk/src/business/business-core/gncEntry.c
M /gnucash/trunk/src/business/business-core/gncInvoice.c
M /gnucash/trunk/src/business/business-core/gncJob.c
M /gnucash/trunk/src/business/business-core/gncOrder.c
M /gnucash/trunk/src/business/business-core/gncTaxTable.c
M /gnucash/trunk/src/business/business-core/gncVendor.c
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/gnc-pricedb.c
Use function version of QOF_COMMIT_EDIT_PART2.
r13391 | chris | 2006-02-26 00:00:52 -0500 (Sun, 26 Feb 2006) | 2 lines
M /gnucash/trunk/lib/libqof/qof/guid.c
Keep track of exactly how many bytes we've sent to md5_process_bytes().
r13390 | chris | 2006-02-25 23:56:47 -0500 (Sat, 25 Feb 2006) | 8 lines
M /gnucash/trunk/lib/libqof/qof/qof-be-utils.h
M /gnucash/trunk/lib/libqof/qof/qofbackend.c
Implement QOF_COMMIT_EDIT_PART2 as a function instead of a macro.
Any of the callbacks passed to this function may be NULL to decline the
use of that callback. Also, the three callbacks are now called in three
mutually exclusive cases, corresponding to:
1) a failed commit, ('on_error')
2) a successful commit where the object remains valid, ('on_done'), and
3) a successful commit where the object has been destroyed, ('on_free').
2006-02-25 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Remember the order in which
the notebook tabs are referenced. When closing a tab, switch to
the tab that was previously in front, not the first tab in the
notebook. Fixes 332355.
2006-02-24 David Hampton <hampton@employees.org>
* src/register/register-gnome/gnucash-sheet.[ch]:
* src/register/register-gnome/gnucash-item-edit.[ch]:
* src/gnome/gnc-plugin-page-register.c: Override the generic edit
menu sensitivity code to provide the right sensitivity for the
entry widget buried in the register.
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/gnc-plugin-page.h: Provide a hook for pages to
override the generic edit menu sensitivity code.
* src/gnome-utils/ui/gnc-main-window-ui.xml:
* src/gnome-utils/gnc-main-window.c: Remove unnecessary menu
item. The same functionality exists in the "Menus & Toolbars"
preference panel.
2006-02-24 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-account-matcher.h: Let the account
matcher accept a parent widget to avoid windows that are lost
behind other windows. Adapt importer modules accordingly.
* src/import-export/import-account-matcher.c: Don't allow
placeholder be selected for importing transactions. Fixes
bug#327891.
* src/import-export/mt940/gnc-mt940-import.c: Get MT940 importer
compile again (experimental; requires aqbanking-1.9.7). It is not
yet tested with actual files. Bug#325170.
* src/import-export/import-account-matcher.h: Make gchar argument
const because it is only used as a const.
r13378 | chris | 2006-02-24 00:53:35 -0500 (Fri, 24 Feb 2006) | 7 lines
M /gnucash/trunk/src/business/business-gnome/dialog-invoice.c
M /gnucash/trunk/src/engine/gnc-session.c
M /gnucash/trunk/src/engine/gnc-session.h
M /gnucash/trunk/src/gnome-utils/gnc-file.c
Since QOF no longer keeps track of the "current" session,
qof_session_destroy() no longer clears the current session when we destroy
it. Therefore, explicitly call gnc_clear_current_session() when we want
to destroy the current session.
Also, avoid accidentally creating a new book and session if there is no
open book/current session when we run the bill reminder.
r13369 | chris | 2006-02-23 15:11:02 -0500 (Thu, 23 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome/dialog-sxsincelast.c
M /gnucash/trunk/src/import-export/ofx/gnc-ofx-import.c
When we malloc a Transaction, then TransBeginEdit, then want to abort,
just call xaccTransDestroy(), xaccTransCommitEdit(). No rollback needed.
r13368 | chris | 2006-02-23 12:44:42 -0500 (Thu, 23 Feb 2006) | 5 lines
M /gnucash/trunk/src/engine/Split.c
M /gnucash/trunk/src/engine/Split.h
M /gnucash/trunk/src/engine/SplitP.h
Dirty Splits when they change.
Add const to Split where appropriate.
Fix GCache crash cause by using non-cached value in cached 'action' field
from the qsf-backend.
2006-02-23 David Hampton <hampton@employees.org>
* src/report/report-system/html-utilities.scm: Andrew
Sackville-West's to pass the rignt number of arguments to
gnc:register-guid.
* src/report/report-gnome/gnc-plugin-page-report.c:
* src/gnome-utils/gnc-recurrence.c:
* src/gnome-utils/gnc-plugin-file-history.c:
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/gnc-plugin-page.[ch]:
* src/gnome-utils/dialog-commodity.c:
* src/gnome/gnc-plugin-page-register.c: Minor code cleanup and
consolidations.
2006-02-23 Joshua Sled <jsled@asynchronous.org>
* gentoo/gnucash-1.9.x.ebuild: Add ebuild for gnucash 1.9/2.0 series.
* src/gnome-utils/dialog-totd.c (gnc_totd_dialog): Increment TOTD
index on dialog init.
* src/gnome-utils/gnc-html-graph-gog.c (handle_barchart): fix
x-axis labeling. Patch from Andreas Köhler. Bug#332359.
2006-02-23 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/test/Makefile.am:
add QOF_LIBS to link line because debian libtool is broken.
2006-02-22 Derek Atkins <derek@ihtfp.com>
* src/gnome/gnc-plugin-page-register.c:
include gtk-compat.h so we build against gtk-2.4.
* src/gnome-utils/Makefile.am:
force a build from svn to have access to svn version info.
this might break the broken ebuild that forcibly removes the
.svn directories, but the ebuild is broken and shouldn't do that.
2006-02-22 David Hampton <hampton@employees.org>
* src/gtk-compat.h:
* src/gnome/gnc-plugin-page-register.c: Cleanup patch from Andreas
Köhler.
* src/register/ledger-core/split-register.[ch]:
* src/register/ledger-core/split-register-control.c:
* src/gnome/gnc-plugin-page-register.c: Provide a callback whereby
the core register code can tell the upper layers that it has moved
from an expanded transaction to a collapsed transaction. This
lets the upper layer adjust the "split" transaction toolbar button
properly. Fixes 332165.
r13363 | chris | 2006-02-22 16:52:46 -0500 (Wed, 22 Feb 2006) | 3 lines
M /gnucash/trunk/src/engine/Makefile.am
A /gnucash/trunk/src/engine/Split.c (from /gnucash/trunk/src/engine/Transaction.c:13362)
A /gnucash/trunk/src/engine/Split.h (from /gnucash/trunk/src/engine/Transaction.h:13359)
A /gnucash/trunk/src/engine/SplitP.h (from /gnucash/trunk/src/engine/TransactionP.h:13359)
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/Transaction.h
M /gnucash/trunk/src/engine/TransactionP.h
Separate the Split functions from Transaction.c into Split.c.
Introduce xaccSplitVoid() and xaccSplitUnvoid() to aid the separation.
r13362 | chris | 2006-02-22 12:41:58 -0500 (Wed, 22 Feb 2006) | 3 lines
M /gnucash/trunk/src/engine/Transaction.c
Add some comments, error checks, ENTER/LEAVE balances and a special-case
early-return for the conversion-rate calculation.
r13360 | chris | 2006-02-22 09:22:30 -0500 (Wed, 22 Feb 2006) | 3 lines
M /gnucash/trunk/src/engine/gnc-lot.c
Use correct function name qof_instance_set_dirty.
Comment on current state of Lot behavior.
r13359 | chris | 2006-02-22 01:01:07 -0500 (Wed, 22 Feb 2006) | 3 lines
M /gnucash/trunk/src/engine/Period.c
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/gnc-lot-p.h
M /gnucash/trunk/src/engine/gnc-lot.c
Convert Lots from a QofEntity to a QofInstance.
They now store their own dirty state.
r13358 | chris | 2006-02-21 22:30:48 -0500 (Tue, 21 Feb 2006) | 4 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/gnome-utils/gnc-file.c
No need to run the BOOK_OPENED hook twice when open a book.
And no need to run it at all when we fail to open a book.
Also, require HAVE_GTK26 before using gtk_get_option_group().
r13357 | chris | 2006-02-21 22:05:20 -0500 (Tue, 21 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-file.c
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Avoid instantiating the current session until we're actually opening a file.
r13356 | chris | 2006-02-21 21:43:20 -0500 (Tue, 21 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome/dialog-chart-export.c
M /gnucash/trunk/src/gnome/druid-acct-period.c
M /gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
M /gnucash/trunk/src/gnome/gnc-plugin-page-register.c
Files accidentally left out of previous commit (r13355).
r13355 | chris | 2006-02-21 21:39:02 -0500 (Tue, 21 Feb 2006) | 5 lines
M /gnucash/trunk/src/app-utils/gnc-ui-util.c
M /gnucash/trunk/src/app-utils/gw-app-utils-spec.scm
M /gnucash/trunk/src/business/business-gnome/dialog-invoice.c
M /gnucash/trunk/src/business/business-gnome/gnc-plugin-business.c
M /gnucash/trunk/src/engine/Makefile.am
A /gnucash/trunk/src/engine/gnc-session.c
M /gnucash/trunk/src/engine/gnc-session.h
M /gnucash/trunk/src/gnome-utils/gnc-file.c
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
Remove uses of deprecated qof_session_get_current_session() and
qof_session_set_current_session(). GnuCash now manages its own current
session. New function: gnc_current_session_exist() to test whether there
is a current session.
r13351 | chris | 2006-02-21 16:46:07 -0500 (Tue, 21 Feb 2006) | 2 lines
M /gnucash/trunk/lib/libqof/qof/qofid.c
Mark the QofCollection as dirty when a new QofEntity is added or removed.
r13350 | chris | 2006-02-21 16:44:42 -0500 (Tue, 21 Feb 2006) | 3 lines
M /gnucash/trunk/src/engine/gnc-lot.c
Mark the GNC_LOT QofCollection dirty whenever a Lot changes.
This includes when the KVP is changed via the setters.
r13347 | chris | 2006-02-21 15:27:40 -0500 (Tue, 21 Feb 2006) | 2 lines
M /gnucash/trunk/src/engine/Account.c
Avoid qof-dirtying Accounts when Splits or Lots are inserted or removed.
r13345 | chris | 2006-02-21 14:43:00 -0500 (Tue, 21 Feb 2006) | 4 lines
M /gnucash/trunk/src/engine/test-core/test-engine-stuff.c
Move the code that (usually) ensures value/amount consistency for Splits
from add_random_splits() to get_random_split().
Avoid numeric overflow when creating split values.
2006-02-21 David Hampton <hampton@employees.org>
* src/gnome/gnc-plugin-page-register.c: Fix from Andreas Köhler to
deactivate the toolbar split button in an auto-split register.
Fixes 330621.
* src/gnome-utils/gnc-tree-model-account.c: Two fixes from Andreas
Köhler. One fixes 331183, the problem where editing a top-level
account doesn't set the current parent.
2006-02-21 Joshua Sled <jsled@asynchronous.org>
* lib/libqof/qof/qofevent.[ch] (QOF_DEFAULT_EVENT_LIMIT): rename, set
to reasonable value (the last-defined event).
* src/register/ledger-core/split-register-load.c
(gnc_split_register_load): Ensure that a (unique) relevent split
from the currently-pending transaction is always in the split list
before we load it, preventing transactions from disappearing from
a register while being edited, but without saving the entire (and
maybe partially-invalid) split list around for a while. Fixes bugs
108347, 125480, 141287, 153183, 168630 (and maybe 126471).
* src/register/ledger-core/split-register.c (gnc_split_register_destroy_info):
* src/register/ledger-core/split-register-p.h (struct sr_info):
Remove saved_slist.
* lib/libqof/qof/qofevent.h (QOF_EVENT_CREATE):
Fix event values.
2006-02-20 David Hampton <hampton@employees.org>
* src/register/register-gnome/gnucash-date-picker.c: Andreas
Köhler's patch to prevent a crash in the register date picker
widget when using gtk 2.8.
* src/bin/gnucash-bin.c:
* src/gnome-utils/glade/commodity.glade:
* src/gnome-utils/dialog-commodity.c:
* src/gnome/dialog-price-edit-db.c: Disable quote related
functionality when F::Q isn't installed. Fixes 130347 and 314054.
* src/gnome-utils/gnc-file.[ch]:
* src/gnome-utils/gnc-main-window.c: Catch and defer the quit
command if a file save is in progress. Fixes 155327.
* rpm/gnucash.spec.in:
* rpm/README: Update spec file from RH8 to FC4.
* src/backend/file/sixtp-utils.c:
* src/backend/postgres/test/test-db.c:
* src/report/report-gnome/gnc-plugin-page-report.c:
* src/calculation/fin.c:
* src/gnome-utils/gnc-html.c:
* src/gnome-utils/gnc-html-graph-gog.c:
* lib/libgsf-1.12.3/gsf/gsf-output-stdio.c:
* lib/libgsf-1.12.3/gsf/gsf-utils.c:
* configure.in: Compile cleanly with when _FORTIFY_SOURCE is
defined. This definition is forced when building RPMs on FC4.
2006-02-20 Derek Atkins <derek@ihtfp.com>
* configure.in: fix the qof configure test for OSX.
2006-02-20 David Hampton <hampton@employees.org>
* lib/libqof/qof/guid.c: Don't reference uninitialized memory.
2006-02-20 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/qof/gnc-event.c :
* lib/libqof/qof/gnc-event-p.h :
* lib/libqof/qof/gnc-event.h : Removed files.
* lib/libqof/qof/qofevent.c :
* lib/libqof/qof/qofevent-p.h :
* lib/libqof/qof/qofevent.h : Replacement files using extensible
event identifiers.
* lib/libqof/qof/deprecated.c : Old functions now pointed to
replacements.
* lib/libqof/qof/deprecated.h : Old defines now pointed to
replacements.
* lib/libqof/qof/qof.h : Replace files.
* lib/libqof/qof/Makefile.am : Replace files.
2006-02-20 David Hampton <hampton@employees.org>
* src/gnome/dialog-scheduledxaction.c:
* src/gnome/glade/sched-xact.glade: Use a spin_box instead of an
entry for the 'occurrences' and 'remaining' numeric fields.
* src/gnome/dialog-scheduledxaction.[ch]:
* src/gnome/glade/sched-xact.glade: HIGify the scheduled
transaction dialogs.
* src/gnome/gnc-plugin-page-register.c: Remove forced screen
updates that are no longer necessary.
* src/register/register-gnome/gnucash-sheet.c: If the number of
"visible to the user" lines in the register has shrunk, force the
parent widget to redraw. This fixes #328787.
r13338 | chris | 2006-02-20 20:24:03 -0500 (Mon, 20 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gtktreedatalist.c
Use glib's slice allocator in favor of GMemChunks for glib >= 2.9.
Patch by Andreas Köhler <andi5.py@gmx.net>.
r13330 | chris | 2006-02-20 15:47:01 -0500 (Mon, 20 Feb 2006) | 6 lines
M /gnucash/trunk/src/gnome-utils/Makefile.am
A /gnucash/trunk/src/gnome-utils/gnctreemodelsort.c
A /gnucash/trunk/src/gnome-utils/gnctreemodelsort.h
A /gnucash/trunk/src/gnome-utils/gtktreedatalist.c
A /gnucash/trunk/src/gnome-utils/gtktreedatalist.h
Add a local copy of GtkTreeModelSort from gtk 2.8.12. Our local copy is
called GncTreeModelSort. This newer version of GtkTreeModelSort fixes at
least one observed bug with our use of sorted models. The
gtktreedatalist.[ch] files are used by GtkTreeModelSort and are directly
from gtk 2.8.12 without any renames because they aren't exported by gtk.
r13329 | chris | 2006-02-20 15:22:24 -0500 (Mon, 20 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/dialog-options.c
M /gnucash/trunk/src/gnome-utils/dialog-utils.c
M /gnucash/trunk/src/gnome-utils/dialog-utils.h
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Explictly require gtk2.6 for conditionally compiled code that needs it.
r13328 | chris | 2006-02-20 15:09:02 -0500 (Mon, 20 Feb 2006) | 3 lines
M /gnucash/trunk/src/gtk-compat.h
M /gnucash/trunk/src/import-export/hbci/dialog-hbcitrans.c
M /gnucash/trunk/src/register/register-gnome/gnucash-item-list.c
Factor out a compat definition of GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
into gtk-compat.h.
r13313 | chris | 2006-02-19 21:58:29 -0500 (Sun, 19 Feb 2006) | 1 line
M /gnucash/trunk/src/engine/test-core/test-engine-stuff.c
Fix for 'use of uninitialized' warning.
2006-02-19 Derek Atkins <derek@ihtfp.com>
* src/engine/Transaction.c:
Allow nested begin/commit in xaccTransSetTxnType(). Fixes #331771.
The old code wouldn't let you set the value if you were already
within a BeginEdit/CommitEdit block.
2006-02-19 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
* configure.in: Change to version 1.9.1
2006-02-19 David Hampton <hampton@employees.org>
* src/register/register-gnome/pricecell-gnome.c: Take the
selection into account when handling the keypad decimal point key.
Fixes 314775.
* src/register/register-gnome/combocell-gnome.c: When looking for
an matching account name, start at the beginning of the selected
region, not the end. Problem created when the code stopped adding
placeholder accounts to the quickfill. Fixes 328893.
2006-02-19 Neil Williams <linux@codehelp.co.uk>
* backend/file/qsf-backend.c : Correcting collect handling,
prevent duplication.
* qof/qof.h : Create reference group in doxygen and
export qofreference.h into the API.
* qof/qof/qofsession.c : Set QOF_TYPE_COLLECT as registered
type and move qof_entity_get_reference_from to new file.
* qof/qof/qofsession.h : Move qof_entity_get_reference_from
to new file: qofreference.c|h.
* qof/qofreference.c : New file to handle reference related
code.
* qof/qofreference.h : New public header.
* qof/test/test-recursive.c : Fix collect recursive tests
2006-02-19 David Hampton <hampton@employees.org>
* src/quotes/finance-quote-helper.in:
* src/quotes/dump-finance-quote:
* src/quotes/update-finance-quote.in:
* src/quotes/Makefile.am:
* src/quotes/value_portfolio:
* src/quotes/gnc-prices:
* src/quotes/README:
* src/quotes/finance-quote-check.in:
* src/core-utils/gw-core-utils-spec.scm:
* src/scm/price-quotes.scm: Regularize the naming of the
Finance::Quote auxiliary scripts. Remove the obsolete gnc-prices
script. Move the to the bin directory the scripts that weren't
already there.
2006-02-19 Joshua Sled <jsled@asynchronous.org>
* src/app-utils/gnc-account-merge.[ch]: Remove placeholder-difference
"ERROR" merge state.
* src/gnome/druid-hierarchy.c (placeholder_cell_data_func)
(on_final_account_prepare): Remove use of default
account-tree-model placeholder column, and substitute a column
that reflects the post-merge value.
2006-02-19 Derek Atkins <derek@ihtfp.com>
* src/engine/TransLog.c: use TABS not SPACES for column separators
* src/import-export/log-replay/gnc-log-replay.c: use printf
so we don't have a tab->space conversion problem like we
did in TransLog.c
Fixes #331620.
* src/business/business-gnome/dialog-payment.c:
Pop up a warning dialog if the user has no valid post-to accounts.
Fixes #331730.
* src/business/business-reports/fancy-invoice.scm:
Brian's patch to add company-id to the company address.
* src/business/business-core/gncOwner.[ch]: Add api to get owner
kvp-slots abstractly.
* src/business/business-gnome/dialog-payment.c: Load/save the
last-used transfer account whenever the owner changes or
the dialog completes.
Fixes #329725.
* lib/goffice-0.0.4/goffice/cut-and-paste/foo-canvas/foo-canvas-i18n.h:
Use glib's gi18n.h instead of redefining gettext.
* src/engine/test/test-engine-stuff.c:
- Prefer QUERY_AND and QUERY_OR over NAND, NOR, XOR
- Don't randomly generate a gnc_numeric with a 0 denominator.
* src/business/business-gnome/dialog-invoice.c:
Don't let users post negative invoices. (#166864)
Pop up an error dialog and prevent the post.
* lib/libqof/qof/guid.[ch]:
Phil Longstaff's patch to make the GUID length a magic number.
2006-02-18 Derek Atkins <derek@ihtfp.com>
* intl-scm/xgettext.scm: remove the absolute path from filenames
* intl-scm/Makefile.am: pass the absolute path to xgettext.scm
* src/import-export/log-replay/gnc-log-replay.c:
display an error dialog when we fail to parse a log file
due to EOF or a bad header parsing. Fixes #331620 based
on the test-case.
2006-02-17 David Hampton <hampton@employees.org>
* src/register/register-gnome/gnucash-sheet.c:
* src/register/register-gnome/gnucash-item-edit.[ch]: Remove all
explicit claiming of the selection in these files. The GtkEntry
they use already performs claims, and the additional just mess
things up. Fixes #330153.
* src/register/register-gnome/gnucash-item-list.c:
* src/report/report-gnome/dialog-style-sheet.c:
* src/gnome-utils/gnc-tree-model-commodity.c:
* src/gnome-utils/gnc-tree-model-budget.[ch]:
* src/gnome-utils/gnc-tree-model-account.c:
* src/gnome-utils/gnc-tree-model-price.c:
* src/gnome-utils/gnc-tree-view-account.c:
* src/gnome-utils/dialog-options.c:
* lib/goffice-0.0.4/goffice/graph/gog-guru.c:
* lib/goffice-0.0.4/goffice/gtk/go-format-sel.c: Prepare for gtk
change that will issue warnings if the return value of the
gtk_tree_model iter functions are not used.
2006-02-17 Derek Atkins <derek@ihtfp.com>
* intl-scm/Makefile.am:
* lib/guile-www/Makefile.am:
* src/app-utils/Makefile.am:
* src/business/business-core/Makefile.am:
* src/business/business-gnome/Makefile.am:
* src/business/business-reports/Makefile.am:
* src/business/business-utils/Makefile.am:
* src/business/dialog-tax-table/Makefile.am:
* src/core-utils/Makefile.am:
* src/engine/Makefile.am:
* src/gnc-module/Makefile.am:
* src/gnome/Makefile.am:
* src/gnome-utils/Makefile.am:
* src/import-export/hbci/Makefile.am:
* src/import-export/Makefile.am:
* src/import-export/qif-import/Makefile.am:
* src/import-export/qif-io-core/Makefile.am:
* src/register/register-core/Makefile.am:
* src/report/locale-specific/us/Makefile.am:
* src/report/report-gnome/Makefile.am:
* src/report/report-system/Makefile.am:
* src/report/standard-reports/Makefile.am:
* src/report/stylesheets/Makefile.am:
* src/report/utility-reports/Makefile.am:
* src/scm/gnumeric/Makefile.am:
* src/scm/Makefile.am:
* src/scm/printing/Makefile.am:
* src/tax/us/Makefile.am:
Make the build work if the build directory is not the source
directory. Also symlink .scm files into the build directory
so it's possible to run from it.
Also fix "fin.scm installed twice", bug #168629.
* src/import-export/log-replay/gnc-log-replay.c:
Don't pass NULL to ferror() (from bug #143720).
* src/import-export/log-replay/gnc-log-replay.c:
scrub the transaction for a currency after we replay. (#143720).
* configure.in: remove un-needed/wanted gsf/goffice configure options
* macros/g-wrap.m4: fix the help text spacing.
* configure.in: autodetect OFX and use it if we find it.
the --enable/disable-ofx will make the check fatal on failure
or skip it altogether if you want to ignore an existing libofx.
r13280 | chris | 2006-02-17 10:03:23 -0500 (Fri, 17 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/dialog-account.c
Use GPOINTER_TO_INT to avoid casting pointer to integer of different size.
2006-02-15 Derek Atkins <derek@ihtfp.com>
* configure.in: get --disable-gui to actually do what we want.
- Move a bunch of configure code around in the file.
- Don't look for goffice/gsf if we ask for --disable-gui
- add a few more comments
- no need to check for libxml2 twice (more work to do here).
* src/backend/file/test/Makefile.am:
* src/backend/file/Makefile.am:
* src/business/business-core/file/Makefile.am:
* src/gnome-utils/Makefile.am:
* lib/libgsf-1.12.3/tests/Makefile.am:
* configure.in:
combine XML_{CFLAGS,LIBS} into LIBXML2_{CLFLAGS,LIBS}
* src/backend/file/test/test-load-xml2.c:
* src/backend/file/gncmod-file-backend.c:
move jsled's g-type initialization into the module init
this way we don't need to worry about it in every test app.
* src/backend/file/test/test-load/xml2.c:
need g_type_init() because we don't actually "load" the file backend.
* lib/libqof/qof/Makefile.am: add qofla-dir.h to DISTCLEANFILES
2006-02-15 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/test/test-load-xml2.c (main): Initialize
g_types before we can expect gconf (via the gnc file backend) to
work, as per the gconf API docs.
* src/gnome/dialog-hierarchy.c:
* src/gnome/glade/account.glade: Andreas Köhler's patch to not
scroll the tree view headers in the new-account hierarchy druid.
Bug#330850.
2006-02-15 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/business-core.scm:
Fix a typo; forgot one procedure name-change instance.
* lib/libqof/qof/Makefile.am: keep qofla-dir.h out of the dist
* configure.in: look in builddir for qof includes.
* src/business/business-reports/owner-report.scm:
set the document title properly.
r13271 | chris | 2006-02-15 17:06:37 -0500 (Wed, 15 Feb 2006) | 11 lines
M /gnucash/trunk/src/gnome-utils/dialog-account.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.h
Convert the AccountType selection functions to work with GtkTreeSelections
from views using the filtered GncTreeModelAccountTypes.
Privatize the unfiltered GncTreeModelAccountTypes - now, every accessible
account-types TreeModel is a new GtkTreeModelFilter, and their
ref-counting is always the same.
Add some tweaks to gnc-tree-model-account-types.[ch] from
Andreas Köhler <andi5.py@gmx.net>, plus the conversion of the Account
Dialog's account-types field to use the filtered GncTreeModelAccountTypes
instead of a GtkListStore, but simplified to use the AccountType
selection functions.
r13267 | chris | 2006-02-15 09:58:34 -0500 (Wed, 15 Feb 2006) | 3 lines
M /gnucash/trunk/configure.in
Remove --enable-opt-style-install configure option.
That's one less thing to test.
r13266 | chris | 2006-02-14 20:52:15 -0500 (Tue, 14 Feb 2006) | 15 lines
M /gnucash/trunk/src/report/report-system/report-system.scm
M /gnucash/trunk/src/report/report-system/report-utilities.scm
M /gnucash/trunk/src/report/standard-reports/balance-sheet.scm
M /gnucash/trunk/src/report/standard-reports/equity-statement.scm
M /gnucash/trunk/src/report/standard-reports/income-statement.scm
Changed balance calculations in three reports from using local
copies of buggy accountlist-get-comm-balance-at-date to using a new
gnc:accountlist-get-comm-balance-interval provided by
report-utilities.scm. For the affected calculations, the balances no
longer exclude transactions on the first day of the reporting period.
This fixes http://bugzilla.gnome.org/show_bug.cgi?id=331005.
Changed calculations:
Income Statement: Total Expenses, Total Revenues
Balance Sheet: Retained Earnings (*)
Equity Statement: Retained Earnings (*), Net Income
(*) The Retained Earning calculations use a start-date of "forever-ago"
so they are not affected, but still converted to the new function.
2006-02-14 Derek Atkins <derek@ihtfp.com>
* src/report/standard-reports/advanced-portfolio.scm:
Andrew Sackville-West's patch to add display options and fix
the multicurrency patch. Fixes #314554 and #330577.
2006-02-14 Christian Stimming <stimming@tuhh.de>
* src/gnome/schemas/*.schemas.in: Make the gconf key wordings
consistent across all of our schemas files, as discussed and
prepared on http://wiki.gnucash.org/wiki/GConf_Wording .
* src/import-export/hbci/gnc-hbci-utils.c: For latest aqbanking
changes, define AQBANKING_NOWARN_DEPRECATED to disable aqbanking
compiler warnings because we will still use those functions for
some time to come.
2006-02-13 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-account.c:
* src/gnome/glade/account.glade: Andreas Köhler's patch to convert
the account types list in the account edit dialog to a
GtkTreeView/GtkListStore.
* src/gnome/gnc-plugin-page-register.c: Andreas Köhler's patch to
prevent crash when voiding a transaction.
* src/gnome/glade/sched-xact.glade:
* src/gnome/glade/account.glade: Andreas Köhler's patch to wrap
label text in a couple of dialogs.
2006-02-13 Derek Atkins <derek@ihtfp.com>
* src/backend/postgres/table.m4:
use glib macro instead of cast to convert pointer to int.
Fixes #330581.
* src/report/standard-reports/advanced-portfolio.scm:
revert r13244 in this file because it's badly formed and
breaks the report. Reopened bug #314554.
2006-02-12 Neil Williams <linux@codehelp.co.uk>
* src/calculation/fin.c : Fix Bug 107876 - financial
calculator would call exit(1) if calculation resulted
in an interest rate of zero.
2006-02-12 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/qof/qofbackend.h : Add error value for files that
cannot be opened. ERR_FILEIO_READ_ERROR.
* lib/libqof/qof/qofsession.c : Improve QOF_TYPE_COLLECT handling
and recursive copies
* lib/libqof/backend/file/qsf-backend.c : Check that files can be opened before
trying to work out their type. Use new QofBackendError value
if open to read fails.
* src/engine/test-core/test-stuff.c : Ensuring get_random_double
returns at least some decimal places more often than not.
2006-02-12 Derek Atkins <derek@ihtfp.com>
* src/business/*/*.scm:
rename gnc:owner-get-address-dep to
gnc:owner-get-name-and-address-dep in preparation of
some other patches.
* src/business/business-core/business-core.scm:
add gnc:owner-get-name-dep and gnc:owner-get-address-dep APIs
* src/business/business-reports/fancy-invoice.scm:
Change the font of the client company name to match the
owner company name. Fixes #327545.
* src/business/business-utils/business-prefs.scm:
* src/business/business-utils/business-utils.scm:
Add a bunch of new File -> Properties to describe the business.
* src/business/business-reports/fancy-invoice.scm:
Parameterize all the various settings in the report so
they can all be set through the options or file->properties
settings. Patch by "Brian", but slightly modified to not
hard-code some strings.
* src/report/stylesheets/stylesheet-fancy.scm:
Des Dougan's patch to let the user choose the fancy-stylesheet
image alignment. Fixes #314048.
Mike Alexander's Currency Scrub patch.
* src/engine/Scrub.c:
* src/engine/Scrub.h:
Try to fix transactions that have no currency, perhaps because
of a log replay. Workaround for bug #143720.
Boris Zbarsky's advanced-portfolio patch.
* src/report/standard-reports/advanced-portfolio.scm:
Apply dividend and brokerage to moneyin and moneyout to more
accurately reflect account activity. Fixes bug #311549.
Mike Alexander's patch to handle multiple currencies in reports.
* src/report/standard-reports/portfolio.scm:
* src/report/standard-reports/advanced-portfolio.scm:
Report currency option
Sort accounts
Handle "nearest price" option better
* src/report/standard-reports/cash-flow.scm:
Handle multiple currencies better
* src/report/standard-reports/transaction.scm:
Add common currency option.
Handle "nearest price" option better.
* src/report/report-system/commodity-utilities.scm
(gnc:exchange-by-pricedb-nearest):
Use price nearest to noon on the day specified.
Fixes bug #314554.
Mike Alexander's reconcile preselection patch (#112653).
* src/gnome/window-reconcile.c (gnc_reconcile_window_create_list_box):
* src/gnome/reconcile-list.c (gnc_reconcile_list_new):
* src/gnome/reconcile-list.h (gnc_reconcile_list_new):
Don't pre-select the reconciled status for transactions after the
statement date.
Fixes #112653.
Christian Neumair's desktop patch (#145545)
* src/gnome/gnucash.desktop.in
* src/gnome/Makefile.am
Make the desktop more HIG-compliant.
r13243 | chris | 2006-02-12 15:31:11 -0500 (Sun, 12 Feb 2006) | 3 lines
M /gnucash/trunk/src/calculation/expression_parser.c
Don't continue to parse the expression if we've already reached the end.
Fixes http://bugzilla.gnome.org/show_bug.cgi?id=166840.
r13229 | chris | 2006-02-12 00:21:09 -0500 (Sun, 12 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/window-main-summarybar.c
Use the price nearest to midday to get the value in the default currency.
Patch by Mike Alexander <mta.umich.edu>, closes bug #330361
r13228 | chris | 2006-02-11 23:13:29 -0500 (Sat, 11 Feb 2006) | 4 lines
M /gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
Take #2: Fixups for two botched gnc-plugin-page-report.c commits tonight.
1) Correctly handle gc protection for non-boolean 'edited_reports' field.
2) Pass list argument instead of immediate to gfec_apply.
r13227 | chris | 2006-02-11 21:40:35 -0500 (Sat, 11 Feb 2006) | 4 lines
M /gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
Gracefully handle errors in report options.
This prevents the whole program from crashing when unrecognized report
options are used.
r13223 | chris | 2006-02-11 16:07:32 -0500 (Sat, 11 Feb 2006) | 4 lines
M /gnucash/trunk/src/report/report-system/Makefile.am
M /gnucash/trunk/src/report/report-system/gnc-report.c
gc_protect SCM reports while they are in the GHashTable.
Also, use gfec to be a bit more defensive about potential errors while
running a report.
r13200 | chris | 2006-02-11 00:23:12 -0500 (Sat, 11 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/glade/preferences.glade
Tweak the preferences labels for accounting periods.
r13199 | chris | 2006-02-11 00:14:21 -0500 (Sat, 11 Feb 2006) | 4 lines
M /gnucash/trunk/src/app-utils/app-utils.scm
M /gnucash/trunk/src/app-utils/date-utilities.scm
M /gnucash/trunk/src/app-utils/gnc-accounting-period.h
M /gnucash/trunk/src/app-utils/gw-app-utils-spec.scm
M /gnucash/trunk/src/app-utils/options.scm
Change the reports from using a hard-coded fiscal year to using the global
accounting period set in the preferences. Both the start date and the end
date are used, so the user is free to choose any arbitrary period.
r13198 | chris | 2006-02-11 00:00:02 -0500 (Sat, 11 Feb 2006) | 3 lines
M /gnucash/trunk/src/app-utils/gnc-accounting-period.c
M /gnucash/trunk/src/app-utils/gnc-accounting-period.h
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
M /gnucash/trunk/src/gnome-utils/window-main-summarybar.c
M /gnucash/trunk/src/gnome-utils/window-main-summarybar.h
Move the accounting period preference functions from window-main-summarybar
to gnc-accounting-period.
2006-02-11 Derek Atkins <derek@ihtfp.com>
* src/report/report-gnome/gnc-plugin-page-report.c:
don't need to scm_gc_{un,}protect_object on SCM_BOOL_F.
* src/business/business-reports/owner-report.scm:
set the document title properly AFTER type-str is set.
* configure.in:
rework the initialization to require autoconf-2.59 and automake-1.9
parse the version out of the AC_PACKAGE_VERSION macro, so
we still only need to set it in one place. This should
solve a number of old-automake related problems people have seen.
2006-02-11 David Hampton <hampton@employees.org>
* src/gnome/glade/acctperiod.glade:
* src/gnome/glade/sched-xact.glade:
* src/gnome/glade/account.glade: Patch from Tommi Vainikainen
<tvainika@niksula.hut.fi> to remove extraneous line breaks.
* src/backend/file/test/test-xml-commodity.c:
* src/backend/file/gnc-commodity-xml-v2.c:
* src/backend/postgres/table.m4:
* src/import-export/ofx/gnc-ofx-import.c:
* src/import-export/import-commodity-matcher.[ch]:
* src/gnome-utils/gnc-tree-view-commodity.c:
* src/gnome-utils/gnc-tree-model-commodity.[ch]:
* src/gnome-utils/dialog-commodity.[ch]:
* src/engine/gw-engine-spec.scm:
* src/engine/test-core/test-engine-stuff.c:
* src/engine/test/test-commodities.c:
* src/engine/gnc-commodity.[ch]: Globally replace the words
"exchange_code" with cusip in the source. No user visible changes.
2006-02-11 Christian Stimming <stimming@tuhh.de>
* po/Makevars: Add --keyword=Q_ to xgettext arguments so that
translations with context prefix/disambiguation prefix are
included as well.
2006-02-10 David Hampton <hampton@employees.org>
* src/gnome/gnc-plugin-page-account-tree.c: Correctly open an
account and its sub-accounts. Fixes 330745.
2006-02-10 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-options.c:
Test for an empty string when translating. (Fixes #330179)
* Makefile.am:
added README.dependencies to the dist. Fixes #330614.
* configure.in:
check that we can find g-wrap-wct.h.
detects that we're running on a "broken" system like Ubuntu.
This is in response to #330539.
* lib/libqof/qof/gnc-event.c:
Better handling of event removal. This allows us to actually
clean up, but also makes sure we don't destroy the handler
list out from under us as we're processing events.
2006-02-09 David Hampton <hampton@employees.org>
* src/bin/gnucash-bin.c: Pass argc by reference instead of value
so g_option_parse_context can update it.
* src/bin/gnucash-bin.c: Don't initialize the display at option
parsing time. This way --add-price-quotes can run from a cron
job.
* src/gnome-utils/glade/commodity.glade:
* src/gnome-utils/dialog-commodity.c:
* src/engine/gnc-commodity.c: Update for known F::Q 1.11 quote
sources.
* src/quotes/finance-quote-check.in:
* src/scm/price-quotes.scm: Print out the installed F::Q version
at startup.
2006-02-09 Derek Atkins <derek@ihtfp.com>
* macros/legacy_macros.m4: when the guile version check fails,
print out the version of guile that we found in order to
aid debugging.
2006-02-09 David Hampton <hampton@employees.org>
* src/register/ledger-core/split-register-control.c: Better fix
for the code that updates the buy/sell action based on the number
of shares entered in a transaction.
r13167 | chris | 2006-02-09 00:23:51 -0500 (Thu, 09 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
Remove forgotten unused variable.
r13165 | chris | 2006-02-08 23:53:43 -0500 (Wed, 08 Feb 2006) | 4 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
Add two columns to the Accounts page: "Total (Period)" & "Balance (Period)"
These are the recursive and non-recursive, respectively, period balances,
where the accounting period is specified in the preferences.
r13158 | chris | 2006-02-08 23:17:27 -0500 (Wed, 08 Feb 2006) | 5 lines
M /gnucash/trunk/src/gnome-utils/window-main-summarybar.c
M /gnucash/trunk/src/gnome-utils/window-main-summarybar.h
Fix an off-by-one (day) error in the dates used by the summarybar.
Factor out and publicize functions to get the start and end of the
accounting period in the preferences.
Mark one comment as probably obsolete.
r13156 | chris | 2006-02-08 20:47:26 -0500 (Wed, 08 Feb 2006) | 4 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.h
Factor out an "approved" method for getting the GtkCellRenderer from a
GtkTreeViewColumn that's been added to a GncTreeView with one of the
convenience functions.
r13155 | chris | 2006-02-08 20:24:47 -0500 (Wed, 08 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome/Makefile.am
D /gnucash/trunk/src/gnome/window-main-summarybar.c
D /gnucash/trunk/src/gnome/window-main-summarybar.h
M /gnucash/trunk/src/gnome-utils/Makefile.am
A /gnucash/trunk/src/gnome-utils/window-main-summarybar.c (from /gnucash/trunk/src/gnome/window-main-summarybar.c:13154)
A /gnucash/trunk/src/gnome-utils/window-main-summarybar.h (from /gnucash/trunk/src/gnome/window-main-summarybar.h:13154)
Move window-main-summarybar.[ch] from gnome/ to gnome-utils/.
It doesn't depend on anything in gnome/.
r13154 | chris | 2006-02-08 10:05:28 -0500 (Wed, 08 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-register.c
Change name of SplitRegister variable name to 'reg' for consistency.
r13153 | chris | 2006-02-08 10:00:24 -0500 (Wed, 08 Feb 2006) | 2 lines
M /gnucash/trunk/src/report/report-system/html-document.scm
A little error checking for report titles.
r13152 | chris | 2006-02-08 01:04:51 -0500 (Wed, 08 Feb 2006) | 6 lines
M /gnucash/trunk/lib/libqof/qof/gnc-event.c
Don't allow the event handler list to shrink while we're traversing it.
This change isn't ideal in the sense that the handler list is now a
monotonically increasing resource, but it's better than crashing when the
handler in node N+1 happens to be deleted while servicing the handler in
node N.
r13150 | chris | 2006-02-08 00:55:04 -0500 (Wed, 08 Feb 2006) | 4 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-commodity.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-price.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model.h
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-price.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
Convert GncTreeModel from a GtkObject to a GObject.
Replace gtk_object_sink calls on the models with g_object_unref calls.
Correctly increase the refcount of "remembered" models when we return them.
2006-02-08 David Hampton <hampton@employees.org>
* src/register/ledger-core/split-register-control.c: Fix the code
that updates the buy/sell action based on the number of shares
entered in a transaction.
* src/gnome/dialog-price-edit-db.c:
* src/engine/gnc-pricedb.c: A couple of performance enhancements.
* src/gnome/gnc-plugin-basic-commands.c: Set the busy cursor while
the dialogs are being generated.
* src/gnome/glade/commodities.glade:
* src/gnome/glade/price.glade: Set the window type hint to normal.
* src/gnome-utils/glade/commodity.glade: Fix a duplicate
accelerator key.
2006-02-08 Chris Lyttle <chris@wilddev.net>
* NEWS: Added some text about the release.
2006-02-08 David Hampton <hampton@employees.org>
* src/gnome-search/search.glade: Set the default button. Fixes
#329539.
2006-02-07 Christian Stimming <stimming@tuhh.de>
* po/glossary/gnc-glossary.txt: Update glossary with new term
'voucher'.
r13149 | chris | 2006-02-07 21:23:59 -0500 (Tue, 07 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-commodity.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-price.c
Convert GncTreeModelPrice and GncTreeModelCommodity to use GObject dispose
path instead of GtkObject destroy path.
r13148 | chris | 2006-02-07 20:55:07 -0500 (Tue, 07 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account.c
Convert GncTreeModelAccount to use the GObject dispose path instead of
the GtkObject destroy path. Also, remove the gconf callback during dispose.
r13140 | chris | 2006-02-07 14:52:29 -0500 (Tue, 07 Feb 2006) | 2 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
Recompute argc after argv may have changed.
r13134 | chris | 2006-02-06 15:41:40 -0500 (Mon, 06 Feb 2006) | 4 lines
M /gnucash/trunk/src/engine/Transaction.c
Fix two places where we were letting the split values become incoherent
with account balances.
Comment two possible bugs related to capgains and dirtying (or not) Splits.
r13133 | chris | 2006-02-06 13:31:49 -0500 (Mon, 06 Feb 2006) | 2 lines
M /gnucash/trunk/src/backend/file/io-gncxml-v1.c
Fix breakage from missed case in Split QofEntity->QofInstance conversion.
r13132 | chris | 2006-02-06 12:57:45 -0500 (Mon, 06 Feb 2006) | 4 lines
M /gnucash/trunk/src/engine/Transaction.c
Keep QOF aware of the dirty-state of Transactions.
Also, dirty transactions upon changing due date and read-only status,
which didn't used to happen.
r13131 | chris | 2006-02-06 12:12:39 -0500 (Mon, 06 Feb 2006) | 4 lines
M /gnucash/trunk/src/backend/postgres/txn.c
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/Period.c
M /gnucash/trunk/src/engine/Scrub2.c
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/TransactionP.h
M /gnucash/trunk/src/engine/cap-gains.c
Convert Split from QofEntity to QofInstance.
Let QofInstance manage the book pointer and kvp frame instead of Split
managing its own.
r13130 | chris | 2006-02-06 11:18:52 -0500 (Mon, 06 Feb 2006) | 2 lines
M /gnucash/trunk/src/engine/Transaction.c
Replace check_open() in setter API with internal qof_{begin,commit}_edit().
2006-02-06 David Hampton <hampton@employees.org>
* src/import-export/hbci/glade/hbci.glade:
* src/report/report-gnome/report.glade:
* src/gnome/glade/budget.glade:
* src/gnome/glade/tax.glade:
* src/gnome/glade/account.glade:
* glade-fixup: Filter out more post gtk2.4 properties.
* src/bin/gnucash-bin.c: Fix some issues when invoking from a
non-utf8, non latin1 locale. Use g_print to print to the
console. Convert from popt to g_options for glib >= 2.6. Fixes
#328991.
* src/register/register-gnome/gnucash-item-edit.c:
* src/register/register-gnome/gnucash-grid.c: Scott Oonk' patch to
fix a couple of problems with right justified cells in the
register.
- Make sure the text in the cell stays right justified when
deleting characters.
- Adjust the positioning of text to account for the popup toggle.
- Change gnucash-item-edit to use logical extents instead of ink
extents. This syncs gnucash-item-edit.c with change made to
gnucash-grid.c in r12155.
2006-02-05 Derek Atkins <derek@ihtfp.com>
* src/backend/file/test/Makefile.am: link against libcore-utils.
* src/app-utils/test/test-scm-query-string.c:
use g_strdup -- cannot feed SCM_STRING_CHARS() back into guile.
(fixes a weird test-case failure in some cases).
* src/backend/file/Makefile.am: link against libcore-utils.
* src/engine/test/test-engine-stuff.c:
- make sure a random group always has at least two accounts
- fix "make random transaction" to tell us when we don't
have at least two accounts.
- free the results of xaccGroupGetSubAccounts().
* src/engine/test/test-engine-stuff.c:
- better fix for #accounts
- don't g_list_free the account_list
2006-02-05 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/qof/qoflog.c :
* lib/libqof/qof/qoflog.h :
* lib/libqof/qof/deprecated.c :
* lib/libqof/qof/deprecated.h : Deprecating qof_log_set_level_global
in favour of qof_log_set_level_registered. Documenting circumstances
under which _global could be modified and added as a new function.
Improve qof_log_check to handle out-of-bounds log_levels.
2006-02-05 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/qof/qofbackend-p.h :
* lib/libqof/qof/qofbackend.h : Improving
documentation for QofBackendProvider
* lib/libqof/qof/qofchoice.c :
* lib/libqof/qof/qofchoice.h : Support logging.
* lib/libqof/qof/qoflog.c : Add qofchoice to default
log modules.
* lib/libqof/qof/gnc-engine-util.h : Line-wrapping tweak.
r13128 | chris | 2006-02-05 23:50:02 -0500 (Sun, 05 Feb 2006) | 9 lines
M /gnucash/trunk/src/engine/Transaction.c
Remove check_open() calls from Transaction setters.
These calls were probably a copied idiom from the Split setters in this
same file, but Split and Transaction use completely different mechanisms
for managing dirty state. Transactions inherit from QofInstance and so
use the .dirty field. Splits inherit from QofEntity, so their
check_open(split->parent) calls are their way of letting someone know
they've changed.
r13096 | chris | 2006-02-04 11:34:57 -0500 (Sat, 04 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
Hook-up the new budget value estimation dialog.
r13095 | chris | 2006-02-04 11:32:30 -0500 (Sat, 04 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome/glade/budget.glade
New dialog for estimating budget values from past transactions.
Minor string and glade tweaks.
r13094 | chris | 2006-02-04 11:29:00 -0500 (Sat, 04 Feb 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-date-edit.c
M /gnucash/trunk/src/gnome-utils/gnc-date-edit.h
gnc_date_edit_set_gdate(): A GDate setter for GNCDateEdit is useful, too.
r13093 | chris | 2006-02-04 10:17:51 -0500 (Sat, 04 Feb 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-date-edit.c
M /gnucash/trunk/src/gnome-utils/gnc-date-edit.h
Add getter gnc_date_edit_get_gdate() for getting the value of a GNCDateEdit
widget as a GDate.
r13092 | chris | 2006-02-04 10:12:09 -0500 (Sat, 04 Feb 2006) | 5 lines
M /gnucash/trunk/src/engine/Recurrence.c
M /gnucash/trunk/src/engine/Recurrence.h
M /gnucash/trunk/src/engine/gnc-budget.c
Factor out some code from gnc-budget into Recurrence so that the budget
estimation code can use stand-alone recurrences to estimate budget values.
Also, tweak the initial budget so that it begins at the beginning of the
current month.
r13091 | chris | 2006-02-04 10:06:19 -0500 (Sat, 04 Feb 2006) | 2 lines
M /gnucash/trunk/src/app-utils/gnc-ui-util.c
Teach PrintAmountInternal() to correctly handle a reciprocal denominator.
r13090 | chris | 2006-02-04 00:37:50 -0500 (Sat, 04 Feb 2006) | 9 lines
M /gnucash/trunk/src/engine/test/test-numeric.c
Add some test-cases for gnc_numerics using the reciprocal denominator.
Even though we don't explicitly ask for this representation, certain
calculations (e.g. those involving GNC_HOW_DENOM_SIGFIGS in the loan
druid and soon in budgets) will return numbers using this representation.
Unfortunately, these numbers aren't handled correctly by most of the
gnc_numeric functions, like the ones for comparison, equality testing,
arithmetic and conversion.
2006-02-04 David Hampton <david@dhcp-15.rainbolthampton.net>
* src/register/ledger-core/split-register.c:
* src/gnome-utils/gnc-tree-view-account.c: Get gnucash to compile
with gcc4.1.
2006-02-04 Derek Atkins <derek@ihtfp.com>
* lib/libqof/qof/gnc-numeric.c:
- Fixes for handling reciprocal values.
- Mark a lot of places where potential overflow bugs
are not handled.
2006-02-04 Joshua Sled <jsled@asynchronous.org>
* src/doc/xml/gnucash-v2.rnc: Add reverse-engineered schema for
"v2" (1.8/2.0) XML files.
* src/backend/file/io-gncxml-v2.c (write_v2_header): Emit
'fs' (FreqSpec), 'bgt', 'recurrence' (Budgeting), and 'lot'
namespace decls.
2006-02-04 David Hampton <hampton@employees.org>
* src/import-export/schemas/Makefile.am:
* src/import-export/hbci/schemas/Makefile.am:
* src/business/business-gnome/schemas/Makefile.am:
* src/gnome-utils/schemas/Makefile.am:
* src/gnome/schemas/Makefile.am: Don't just install the schema
files, also install the gconf objects into the database. Reverts
accidental change made as part of r12863.
2006-02-04 Joshua Sled <jsled@asynchronous.org>
* src/report/report-system/html-document.scm
(gnc:html-document-headline): Add a headline property to the
html-document record.
* src/report/report-system/html-style-sheet.scm
(gnc:html-style-sheet-render): Add headline-copy, better comment.
* src/report/stylesheets/stylesheet-plain.scm (plain-renderer)
* src/report/stylesheets/stylesheet-fancy.scm (fancy-renderer)
* src/report/stylesheets/stylesheet-easy.scm (easy-renderer):
Use headline if available, fallback to title.
* src/business/business-reports/aging.scm (aging-renderer)
* src/business/business-reports/owner-report.scm (reg-renderer):
Use strings in titles, markup for the richer headline. Bug#329369.
2006-02-04 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-commodity.c:
* src/gnome-utils/gnc-tree-view-account.c: Add disambiguating
prefix to the single letter column titles.
* src/report/stylesheets/stylesheet-fancy.scm:
* src/report/stylesheets/stylesheet-easy.scm: Dave Herman's
<dvherman@gmail.com> patch to fix #327630 by copying missing
"function" (gnc:html-document-set-style!) from the plain to both
the "fancy" and "easy" stylesheets.
* src/gnome-utils/gnc-tree-view-commodity.c:
* src/gnome-utils/gnc-tree-view-price.c:
* src/gnome-utils/gnc-tree-view-account.c:
* src/gnome-utils/gnc-tree-view.c: Andreas Köhler's patch to
perform the i18n on column headers before calling the generic tree
view code instead of performing it a couple steps removed. This
is a leftover from several years ago when the columns were defined
in an array. It also introduces the translatable strings
"P" (placeholder) and "Q" (quotes) used in toggle column headers.
2006-02-04 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/glade/preferences.glade: Fix name of
file-compression option.
* src/backend/file/gnc-backend-file.c (gnc_backend_new): Setup
option initial values; register configuration-change notification.
(retain_changed_cb, compression_changed_cb): Add.
* src/backend/file/gnc-backend-file.h (struct FileBackend_struct):
Move backend options into backend struct.
2006-02-03 David Hampton <hampton@employees.org>
* src/business/business-gnome/dialog-order.c:
* src/business/business-gnome/dialog-vendor.c:
* src/business/business-gnome/dialog-customer.c:
* src/business/business-gnome/dialog-job.c:
* src/business/business-gnome/dialog-employee.c:
* src/business/business-gnome/dialog-invoice.c:
* src/gnome/dialog-find-transactions.c:
* src/gnome-search/search.glade:
* src/gnome-search/dialog-search.[ch]: Re-title the search dialog
based upon the menu used to invoke it. Fixes #329538.
r13089 | chris | 2006-02-03 16:29:06 -0500 (Fri, 03 Feb 2006) | 4 lines
M /gnucash/trunk/src/engine/gnc-budget.c
Use the string cache for budget name and description.
Dirty the book when the budget changes.
Remove some obsolete budget code.
r13079 | chris | 2006-02-02 13:47:34 -0500 (Thu, 02 Feb 2006) | 4 lines
M /gnucash/trunk/Makefile.am
M /gnucash/trunk/make-gnucash-potfiles.in
Allow make-gnucash-potfiles to run from directories other than srcdir.
Better documentation of exactly what m-g-potfiles excludes, and a general
clean-up of the script.
2006-02-02 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view.[ch]: Andreas Köhler's patch to
allow explicit specification of which columns in a tree view
expand. Updated to automatically mark a column as expandable if
it is the only visible column.
* src/business/dialog-tax-table/dialog-tax-table.c:
* src/gnome-utils/gnc-tree-view-account.c:
* src/gnome-utils/dialog-account.c:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome/druid-stock-split.c:
* src/gnome/dialog-tax-info.c:
* src/gnome/druid-hierarchy.c: Change the default visibilities of
the GncTreeViewAccount widget to only show the account name
column. This is the most commonly used case for this widget.
2006-02-02 Joshua Sled <jsled@asynchronous.org>
* lib/libqof/qof/qofsession.c (qof_session_load_backend): get+load
backend configuration after creation.
* src/backend/file/gnc-backend-file.c (gnc_file_be_get_config):
fix configuration.
(gnc_file_be_remove_old_files): Add ".log" suffix to the
check for to-remove files. Bug#329670. Reformat.
2006-02-02 David Hampton <hampton@employees.org>
* src/register/register-core/numcell.c: Don't call g_utf8_strlen
with a NULL pointer. Fixes 329556.
* src/gnome-utils/gnc-tree-model-commodity.c:
* src/gnome-utils/gnc-tree-model-account.c:
* src/gnome-utils/gnc-tree-model-price.c: Better handling in the
model event handling functions. Noticeable in the commodity and
price trees when adding/deleting the first/last item.
* src/gnome/dialog-commodities.c: Fix a crash when manipulating
commodities before crating the first account.
* src/gnome-utils/gnc-file.c: Re-enable events before processing
the book-opened hook. Solves some strange problems in the account
tree which were caused by the Orphan account being created during
the callbacks, but no event being sent to the account tree model.
2006-02-02 Derek Atkins <derek@ihtfp.com>
* src/backend/file/io-gncxml-v2.c:
Specify the output xml encoding as utf8.
2006-02-01 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncInvoice.c:
Need to put the new split into the txn as well as the acct
before we call xaccSplitSetBaseValue(). Fixes #325890.
* src/business/business-core/gncInvoice.[ch]:
Add new API: gncInvoiceSortEntries()
* src/business/business-core/gncEntry.c:
re-sort the parent when the entry date changes.
Only re-sort when the existing date is non-zero (i.e.
don't re-sort on the initial setting of the date).
Fixes #320566.
* src/gnome-search/dialog-search.c:
* src/gnome-search/dialog-search.h:
Modify the gnc_search_dialog_create() API to add an optional
"type label" parameter, so you can manually set the string
presented to the user for what they are searching for...
* src/business/business-gnome/dialog-order.c:
* src/business/business-gnome/dialog-vendor.c:
* src/business/business-gnome/dialog-customer.c:
* src/business/business-gnome/dialog-job.c:
* src/business/business-gnome/dialog-employee.c:
* src/gnome/dialog-find-transactions.c:
Pass NULL into new search API parameter
* src/business/business-gnome/dialog-invoice.c:
Modify how we call the search dialog. Send in different
sets of parameters depending on whether we're searching for
a Customer Invoice, Vendor Bill, or Employee Expense Voucher.
Pass in a type_label as well so the dialog can properly label
the "new" button. This fixes the UI Bug #117354.
r13072 | chris | 2006-02-01 19:07:58 -0500 (Wed, 01 Feb 2006) | 2 lines
M /gnucash/trunk/Makefile.am
M /gnucash/trunk/po/POTFILES.skip
Check for any accidentally-distributed files not marked for translation.
r13070 | chris | 2006-02-01 17:38:41 -0500 (Wed, 01 Feb 2006) | 2 lines
M /gnucash/trunk/Makefile.am
Add POTFILES.skip to EXTRA_DIST.
r13067 | chris | 2006-02-01 15:33:36 -0500 (Wed, 01 Feb 2006) | 2 lines
A /gnucash/trunk/po/POTFILES.skip
Don't translate obsolete files.
r13066 | chris | 2006-02-01 15:32:11 -0500 (Wed, 01 Feb 2006) | 2 lines
M /gnucash/trunk/make-gnucash-potfiles.in
When generating POTFILES.in, don't include files we don't want to translate.
r13065 | chris | 2006-02-01 15:30:14 -0500 (Wed, 01 Feb 2006) | 3 lines
M /gnucash/trunk/Makefile.am
Fail 'make distcheck' if POTFILES.in contains undistributed files.
The failure will also helpfully explain which files are the problem.
2006-01-31 Derek Atkins <derek@ihtfp.com>
* configure.in: include gmodule in GLIB_LIBS
* lib/libqof/qof/Makefile.am: link libqof against glib.
2006-01-30 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-html-graph-gog.c (read_doubles): Explicitly
enter the C locale before calling sscanf on doubles string-ified
by guile. Bug#328773.
2006-01-30 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncInvoice.c:
Make sure to insert new splits into an account before we
set the Base Value.. Otherwise it will fail to set the
value properly. Closer to fixing 325890, but it's still
not completely fixed.
2006-01-30 Joshua Sled <jsled@asynchronous.org>
* src/gnome/glade/sched-xact.glade: Change since-last-run
final-page text from "apply" to "Apply". Bug#329125.
r13056 | chris | 2006-01-30 22:41:01 -0500 (Mon, 30 Jan 2006) | 2 lines
M /gnucash/trunk/src/report/locale-specific/us/taxtxf-de_DE.scm
M /gnucash/trunk/src/report/locale-specific/us/taxtxf.scm
Don't add markup to tax report titles.
r13047 | chris | 2006-01-29 22:53:09 -0500 (Sun, 29 Jan 2006) | 4 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view.h
New function: gnc_tree_view_add_combo_column().
This function is only compiled when HAVE_GTK26 because it uses
GtkCellRendererCombo.
r13045 | chris | 2006-01-29 21:59:43 -0500 (Sun, 29 Jan 2006) | 3 lines
M /gnucash/trunk/src/engine/Transaction.c
M /gnucash/trunk/src/engine/Transaction.h
M /gnucash/trunk/src/engine/TransactionP.h
Add some convenience functions for getting values from various combinations
of Accounts, Transactions, and Splits.
r13040 | chris | 2006-01-29 19:59:25 -0500 (Sun, 29 Jan 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.h
Convert account types filter dialog to use checkboxes for selection.
Patch by Eskil Bylund <eskil.bylund@gmail.com>
2006-01-29 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
* src/business/business-core/file/gnc-bill-term-xml-v2.h:
Add a new API to "find-or-create" a billterm so all the
code is collated in one location.
Add more debugging during the scrub phases.
* src/business/business-core/file/gnc-invoice-xml-v2.c:
* src/business/business-core/file/gnc-vendor-xml-v2.c:
* src/business/business-core/file/gnc-customer-xml-v2.c:
Use the new bill-term find-or-create API
* src/business/business-core/gncBillTerm.c:
add some additional debugging
* src/business/business-core/gncBillTerm.h:
The Billterm Type ENUM must start at 1, not zero. The data file
now appears to properly save itself without destroying data.
Fixes rest of #328790.
2006-01-29 David Hampton <hampton@employees.org>
* src/gtk-compat.h:
* src/gnome-utils/gnc-main-window.c:
* src/Makefile.am: Make the cut/paste change compile on gtk 2.4
systems.
* various: Remove extraneous carriage returns from text that will
be put into a GtkLabel (since labels know how to wrap text).
* src/report/stylesheets/stylesheet-fancy.scm : Dave Herman's
patch to suppresses extraneous entries table entries in reports
when there are no files specified for the "logo pix" file or the
"header pix" file.
* src/gnome-utils/gnc-main-window.c: Eskil Bylund's patch from
Epiphany to enable cut/paste. Extended to support GtkTextView
widgets as well as GtkEditable widgets.
* src/gnome-utils/gnc-main-window.c: Andreas Köhler's patch to fix
a problem where switching windows repeatedly confusing the
Windows menu. Fixes #327943.
* gnc-tree-model-commodity.c: Andreas Köhler's patch to fix
commodity editor warnings/crash. Fixes #328788.
2006-01-29 Joshua Sled <jsled@asynchronous.org>
* src/report/utility-reports/welcome-to-gnucash.scm: register
menu item for self.
* src/report/report-gnome/report-gnome.scm
(gnc:report-menu-setup): Remove report menu-item creation.
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
Degrade more gracefully in the face of errors during scheduled-transaction
creation; record errors in-band rather than simply to the log, and
display them to the user. Resolves bugs: 151157, 167858, 151487.
2006-01-29 David Hampton <hampton@employees.org>
* src/register/ledger-core/split-register.c:
* src/register/ledger-core/split-register-control.c:
* src/import-export/hbci/druid-hbci-initial.c:
* src/report/report-gnome/gnc-plugin-page-report.c:
* src/gnome-utils/gw-gnome-utils-spec.scm:
* src/gnome-utils/gnc-gui-query.c:
* src/gnc-ui.h: HIG changes for the "radio option" query dialog.
* src/engine/gnc-engine.c: Restore reasonable default logging
levels.
* README: Michael Wahlbrink's cvs to svn changes.
* src/import-export/qif-import/dialog-account-picker.c:
* src/import-export/hbci/gnc-hbci-gettrans.c:
* src/import-export/hbci/hbci-interaction.c:
* src/report/report-gnome/window-report.c:
* src/gnome-utils/gnc-file.c:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome-search/search-string.c: Use a format string of "%s"
when building a message dialog from a single string.
* src/gnome-utils/gnc-main-window.c:
* src/gnome/gnc-split-reg.c:
* src/gnome/dialog-commodities.c:
* src/gnome/dialog-price-edit-db.c: Use the gtk2.6 secondary
message text function now that there is a 2.4 emulation routine
available.
* src/gnome-utils/gncmod-gnome-utils.c:
* src/app-utils/gnc-err-popup.[ch]:
* src/app-utils/Makefile.am: Remove deprecated files
* src/register/ledger-core/split-register-model.c:
* src/register/ledger-core/split-register.c:
* src/register/ledger-core/split-register-control.c:
* src/import-export/hbci/dialog-pass.c:
* src/business/business-ledger/gncEntryLedger.c:
* src/business/business-ledger/gncEntryLedgerControl.c:
* src/business/business-gnome/gnc-plugin-business.c:
* src/gnome-utils/gnc-gnome-utils.c:
* src/gnome-utils/gw-gnome-utils-spec.scm:
* src/gnome-utils/gnc-file.[ch]:
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/dialog-utils.[ch]:
* src/gnome-utils/gnc-gui-query.[ch]:
* src/gnome/gnc-split-reg.c:
* src/gnome/dialog-chart-export.c:
* src/gnome/schemas/apps_gnucash_warnings.schemas.in:
* src/gnome/dialog-commodities.c:
* src/gnome/dialog-price-edit-db.c:
* src/gnc-ui.h:
* src/app-utils/option-util.c: HIG rework. Remove newlines from
dialog message strings. Give some dialogs more descriptive button
labels. Clean up the code around the file save query dialog.
2006-01-28 Joshua Sled <jsled@asynchronous.org>
* src/report/report-system/html-style-sheet.scm
(gnc:html-style-sheet-render): Maintain the html-document title
while rendering so the progress bar is setup with the right name.
Bug#327650.
2006-01-28 Joshua Sled <jsled@asynchronous.org>
* src/gnome/gnc-split-reg.c: Remove a lot of dead code.
(gnc_split_reg_new): Remove create-flags and
disallowed-cap[abilitie]s; add simple "read-only" flag.
* src/gnome/gnc-plugin-page-register.c
(gnc_plugin_page_register_actions): remove stock-missing icon for
"edit exchange rate" action.
(GncPluginPageRegisterPrivate, gnc_plugin_page_register_init)
(gnc_plugin_page_register_create_widget): Replace "disallow
cap[abilitie]s" with specific read-only flag.
* src/gnome/dialog-scheduledxaction.c (schedXact_editor_create_ledger):
* src/gnome/dialog-sxsincelast.c (create_to_create_ledger)
(create_autoCreate_ledger, create_created_ledger): Set read-only
flag on register.
2006-01-28 David Hampton <hampton@employees.org>
* src/gnome-utils/print-session.h: Add an include so gnucash
compiles on gnome2.13 again.
2006-01-28 Joshua Sled <jsled@asynchronous.org>
* src/gnome/gnc-plugin-page-register.c (gnc_plugin_page_register_cmd_reverse_transaction)
(gnc_plugin_page_register_cmd_view_sort_by)
(gnc_plugin_page_register_cmd_view_filter_by)
(gnc_plugin_page_register_cmd_transfer)
(gnc_plugin_page_register_cmd_reconcile)
(gnc_plugin_page_register_cmd_jump): Treat
GNC_PLUGIN_PAGE(page)->window as a GncWindow, not necessarily and
immediately a GtkWindow; fixes issues with GTK cast warnings on
GncEmbeddedWindow usages of the register.
2006-01-28 Joshua Sled <jsled@asynchronous.org>
* src/gnome/ui/gnc-sxed-window-ui-full.xml: Add.
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_menu_entries)
(schedXact_editor_create_ledger)
* src/gnome/dialog-sxsincelast.c (create_autoCreate_ledger)
(create_created_ledger, create_to_create_ledger)
(gnc_sxsld_menu_entries): Setup SX-related registers to only
display and allow relevant register functionality. Bug#327642.
* src/gnome/gnc-plugin-page-register.c
(gnc_plugin_page_register_actions): Change stock icons for
BlankTransaction and ScheduleTransaction Actions.
2006-01-28 Joshua Sled <jsled@asynchronous.org>
* lib/libgsf-1.12.3/gsf-gnome/Makefile.am (pkglib_LTLIBRARIES)
* lib/libgsf-1.12.3/gsf/Makefile.am (pkglib_LTLIBRARIES)
* lib/goffice-0.0.4/goffice/Makefile.am (pkglib_LTLIBRARIES)
* configure.in: Use pkglib automake variables to install in a
gnucash-specific hierearchy; change configure.in paths for goffice
for similar reasons. Bug#328858.
2006-01-25 Joshua Sled <jsled@asynchronous.org>
* src/gnome/glade/sched-xact.glade: Bug#327775: consistency in
case of dialog title.
Bug#327641: fix glade-spec'ed response-codes for OK/Cancel
buttons, thus letting logic work again.
2006-01-28 Christian Stimming <stimming@tuhh.de>
* configure.in: Revert aqbanking dependency. We still stick to
1.0.0 because a) FC3 has AQBANKING 1.0.x, b) We can't find an
AQBANKING 1.3 tarball -- the earliest we can find is 1.6, c)
AQBANKING 1.6 doesn't build on FC3 because of dependencies
2006-01-28 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/file/gnc-owner-xml-v2.c:
GncOwner is not a QOF_INSTANCE. Get the GUID correctly.
Fixes part of #328790 (but not all of it).
2006-01-28 Christian Stimming <stimming@tuhh.de>
* configure.in: For HBCI, require aqbanking >= 1.3.0 (released
2005-08-11) since current aqbanking is beyond 1.9.x and those
really old versions had to deal with very different packaging
structure.
r13010 | chris | 2006-01-28 15:30:23 -0500 (Sat, 28 Jan 2006) | 5 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-register.c
Automatically close registers whose accounts are deleted.
We use the component manager to watch for the destruction of the account.
Previously, having an account's register open while deleting it would
just crash.
r12999 | chris | 2006-01-28 12:17:49 -0500 (Sat, 28 Jan 2006) | 3 lines
M /gnucash/trunk/lib/libqof/qof/qoflog.c
Re-enable logging for GnuCash modules that haven't explicitly set their
own levels.
r12997 | chris | 2006-01-28 01:05:54 -0500 (Sat, 28 Jan 2006) | 3 lines
M /gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
Remove obsolete code to handle account-types filtering for budgets.
Really remove treeviewcolumns when we're done with them.
r12995 | chris | 2006-01-27 23:14:56 -0500 (Fri, 27 Jan 2006) | 2 lines
M /gnucash/trunk/src/report/standard-reports/budget.scm
Better default account selection when opening the budget report.
r12994 | chris | 2006-01-27 21:23:38 -0500 (Fri, 27 Jan 2006) | 2 lines
M /gnucash/trunk/gnucash.m4
Remove traces of old gnucash-run-script from gnucash.m4.
r12993 | chris | 2006-01-27 18:03:23 -0500 (Fri, 27 Jan 2006) | 3 lines
M /gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
M /gnucash/trunk/src/report/report-system/gnc-report.c
M /gnucash/trunk/src/report/report-system/gnc-report.h
M /gnucash/trunk/src/report/report-system/gw-report-system-spec.scm
M /gnucash/trunk/src/report/report-system/report.scm
Move generation of report serial ids from guile to C.
Try to gracefully handle more errors during report loading.
r12989 | chris | 2006-01-27 01:15:31 -0500 (Fri, 27 Jan 2006) | 3 lines
M /gnucash/trunk/src/report/report-gnome/window-report.c
M /gnucash/trunk/src/report/report-system/report.scm
Check for invalid options tables when loading reports.
Also, plug memory leak in my last commit.
r12988 | chris | 2006-01-27 00:27:08 -0500 (Fri, 27 Jan 2006) | 2 lines
M /gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
M /gnucash/trunk/src/report/report-gnome/window-report.c
Avoid showing any invalid reports.
2006-01-27 David Hampton <hampton@employees.org>
* src/scm/printing/print-check.scm:
* src/gnome/glade/print.glade:
* src/gnome/dialog-print-check.c: Add translation and rotation to
the custom printing page. Modify the code so that only the custom
widgets that have an effect for the current setting are sensitive.
2006-01-27 Derek Atkins <derek@ihtfp.com>
Get "make distcheck" to work....
* src/import-export/test/Makefile.am:
Added src/scm directory to test environment
* lib/goffice-0.0.4/Makefile.am:
Don't install libgoffice-1.pc, but distribute it
* lib/libgsf-1.12.3/tests/Makefile.am:
Link to the proper location of libgsf-1.la
* lib/libgsf-1.12.3/Makefile.am:
Don't install the gsf .pc files, but distribute them.
* lib/Makefile.am:
Use DIST_SUBDIRS to distribute qof, gsf, and goffice
* configure.in:
fix QOF_LIBS to use builddir, not srcdir
* Makefile.am:
add po/POTFILES.in to the dist
link gsf into the srcdir, not the builddir
* src/report/report-system/Makefile.am:
make sure we distribute gw-report-system.h
* src/bin/Makefile.am:
clean i18n.h in distclean
2006-01-26 David Hampton <hampton@employees.org>
* configure.in: Default the --enable-compile-warnings argument to
yes.
* src/gnome/window-reconcile.c:
* src/gnome/glade/tax.glade:
* src/gnome/glade/reconcile.glade:
* src/gnome/dialog-tax-info.c: More HIG changes.
* src/report/report-system/gnc-report.[ch]:
* src/report/report-gnome/window-report.[ch]:
* src/gnome/top-level.c: Fix compilation warnings.
2006-01-26 Derek Atkins <derek@ihtfp.com>
* configure.in: fail if we find libgsf >= 1.12.2 but not libgsf-gnome.
This is instead of configure succeeding and then failing the
build later.
r12985 | chris | 2006-01-26 23:38:47 -0500 (Thu, 26 Jan 2006) | 2 lines
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Avoid saving invalid pages.
r12984 | chris | 2006-01-26 21:12:41 -0500 (Thu, 26 Jan 2006) | 13 lines
M /gnucash/trunk/src/gnome/top-level.c
M /gnucash/trunk/src/report/report-gnome/dialog-column-view.c
M /gnucash/trunk/src/report/report-gnome/dialog-style-sheet.c
M /gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
M /gnucash/trunk/src/report/report-gnome/window-report.c
M /gnucash/trunk/src/report/report-gnome/window-report.h
M /gnucash/trunk/src/report/report-system/Makefile.am
M /gnucash/trunk/src/report/report-system/gnc-report.c
M /gnucash/trunk/src/report/report-system/gnc-report.h
A /gnucash/trunk/src/report/report-system/gw-report-system-spec.scm
M /gnucash/trunk/src/report/report-system/html-style-sheet.scm
M /gnucash/trunk/src/report/report-system/report-system.scm
M /gnucash/trunk/src/report/report-system/report.scm
M /gnucash/trunk/src/report/utility-reports/view-column.scm
M /gnucash/trunk/src/report/utility-reports/welcome-to-gnucash.scm
M /gnucash/trunk/src/scm/main-window.scm
M /gnucash/trunk/src/scm/main.scm
Move the global report hash-table from guile to C.
Move the book-open/close hooks from guile to C.
There are several places where we do report-management from C already.
Those places no longer use libguile to access the hash-table of reports -
they can just call C functions.
For now, there's still some report-management happening in guile so guile
can access the global state through g-wrapped functions. Eventually,
all report-management should be in C and guile can just provide single
reports one-at-a-time.
r12982 | chris | 2006-01-26 12:38:26 -0500 (Thu, 26 Jan 2006) | 4 lines
M /gnucash/trunk/src/gnome/top-level.c
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
M /gnucash/trunk/src/gnome-utils/gnc-main-window.h
Register book open/close callbacks during gui init.
Split handling of persistent application state into book-level data
and window-level data.
r12980 | chris | 2006-01-25 23:02:47 -0500 (Wed, 25 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/overrides/Makefile.am
D /gnucash/trunk/src/bin/overrides/gnucash-run-script
M /gnucash/trunk/src/bin/test/Makefile.am
D /gnucash/trunk/src/bin/test/test-run-script
M /gnucash/trunk/src/scm/main.scm
Remove the obsolete gnucash-run-script and its test.
Also, the (gnucash main) module no longer depends on (gnucash price-quotes).
r12979 | chris | 2006-01-25 22:07:03 -0500 (Wed, 25 Jan 2006) | 4 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/gnome/Makefile.am
D /gnucash/trunk/src/gnome/dialog-totd.c
D /gnucash/trunk/src/gnome/dialog-totd.h
M /gnucash/trunk/src/gnome/top-level.c
M /gnucash/trunk/src/gnome-utils/Makefile.am
A /gnucash/trunk/src/gnome-utils/dialog-totd.c (from /gnucash/trunk/src/gnome/dialog-totd.c:12978)
A /gnucash/trunk/src/gnome-utils/dialog-totd.h (from /gnucash/trunk/src/gnome/dialog-totd.h:12978)
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
Move dialog-totd from gnome to gnome-utils.
Do low-level application initialization even before booting guile.
This means the splash and totd come up almost instantly.
r12978 | chris | 2006-01-24 23:54:12 -0500 (Tue, 24 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/main.scm
M /gnucash/trunk/src/scm/price-quotes.scm
Install price quote sources without calling main.scm.
This makes the startup sequence a little clearer.
r12977 | chris | 2006-01-24 23:32:56 -0500 (Tue, 24 Jan 2006) | 5 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/report/report-gnome/report-gnome.scm
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/doc.scm
M /gnucash/trunk/src/scm/main.scm
Re-enable report menu setup.
The report menu setup is pretty fragile - it has to be done in a pretty
specific order, so I pulled it out of (gnc:main) and call it independently.
Also, move more bits of gnc:main into the modules where the bits are used.
r12976 | chris | 2006-01-24 21:06:08 -0500 (Tue, 24 Jan 2006) | 6 lines
M /gnucash/trunk/src/app-utils/app-utils.scm
M /gnucash/trunk/src/core-utils/gw-core-utils-spec.scm
M /gnucash/trunk/src/engine/gw-engine-spec.scm
M /gnucash/trunk/src/gnome-utils/gnc-menu-extensions.scm
M /gnucash/trunk/src/gnome-utils/gnome-utils.scm
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
Export debugging state from C to guile.
Remove obsolete guile command line options.
Remove guile setting of add-extension hooks that were apparently
obsoleted by C code a while ago.
Remove guile's access to application lifecycle function hooks.
r12975 | chris | 2006-01-24 20:36:28 -0500 (Tue, 24 Jan 2006) | 8 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/business/business-gnome/business-gnome.scm
M /gnucash/trunk/src/gnome/gw-gnc-spec.scm
M /gnucash/trunk/src/gnome/top-level.c
M /gnucash/trunk/src/gnome/top-level.h
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h
M /gnucash/trunk/src/gnome-utils/gnc-splash.c
M /gnucash/trunk/src/gnome-utils/gnc-splash.h
M /gnucash/trunk/src/gnome-utils/gw-gnome-utils-spec.scm
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
M /gnucash/trunk/src/scm/price-quotes.scm
Consolidate application lifecycle functions into src/gnome-utils,
leaving only the highest level of gui initialization in /gnome/top-level.c
Process --loglevel command-line option from C.
Move the running of the startup hook from guile to C.
Distrubute bits of scheme from main.scm to the modules they're used in.
Remove more obsoleted scheme.
r12974 | chris | 2006-01-24 20:21:28 -0500 (Tue, 24 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/core-utils/gnc-main.c
M /gnucash/trunk/src/core-utils/gnc-main.h
M /gnucash/trunk/src/gnome-utils/gnc-main-window.c
Process --debug command-line option from C instead of guile.
This re-enables the debugging "extensions" menu.
2006-01-24 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.h: Factor out importing
functions that might be useful for mt940 importer.
* src/import-export/hbci/gnc-hbci-transfer.c: Fix wrong amount
sign.
2006-01-23 Derek Atkins <derek@ihtfp.com>
* src/engine/test/Makefile.am: add explicit libdep on libcore-utils.la
2006-01-23 Neil Williams <linux@codehelp.co.uk>
* src/engine/Transaction.c : Let the backend
work with splits without checking for the parent Trans
* src/gnome/glade/chart-export.glade : glade-fixup change.
* src/gnome/glade/merge.glade : Reviewed for QSF Import usage
* src/gnome/druid-merge.c : Fix QSF import and merge, closes
[Bug 327640]. r12961.
* src/gnome/druid-merge.h : Remove unneeded function.
* src/gnome/druid-hierarchy.c : Expand on the error message,
should it still be required.
* configure.in : Increase QOF dependency to the next release
to ensure compatibility.
2006-01-23 Neil Williams <linux@codehelp.co.uk>
* lib/libqof/backend/file/qsf-backend.c : Prevent
bad time values from being passed to entity.
* lib/libqof/qof/qof_book_merge.c : Fix merge
handling of QOF_TYPE_CHAR to use gchar instead of
casting from a gchar*
* lib/libqof/qof/qof_book_merge.h : Use gchar
consistently instead of mixing with char.
r12964 | chris | 2006-01-23 14:29:57 -0500 (Mon, 23 Jan 2006) | 5 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/gnucash-bin.c
Avoid GUI initialization durring --add-price-quotes, fixes #327670
BTW, it turns out that we don't need to call gtk_init(). It's called
during the LIBGNOMEUI_MODULE initializtion from gnome_program_init().
r12956 | chris | 2006-01-23 12:38:13 -0500 (Mon, 23 Jan 2006) | 28 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/gnome/Makefile.am
M /gnucash/trunk/src/gnome/gw-gnc-spec.scm
M /gnucash/trunk/src/gnome/top-level.c
M /gnucash/trunk/src/gnome/top-level.h
M /gnucash/trunk/src/scm/Makefile.am
M /gnucash/trunk/src/scm/build-config.scm.in
M /gnucash/trunk/src/scm/main-window.scm
M /gnucash/trunk/src/scm/main.scm
Major step in extraction of application startup from guile.
Details:
Remove the last bits of libguile from top-level.[ch].
Change the gui initialization funtions so they can be called from C.
Drop some gwrappers for gui initialization functions.
Process the --nofile and filename command-line options from C.
Drastic simpilification of main.scm.
Initialize the gui and enter the gtk event-loop from C.
Even though there's some more clean-up to do, this patch does mark
a certain milestone: A developer seeking to understand and/or modify
GnuCash's startup process can now essentially ignore the guile portion.
Most parts of our startup now look pretty typical for a gnome-2 app.
The parts that remain firmly in guile are initialization of the report
menus and the installation of price-quote sources.
Caveat: We have multiple mechanisms for handling the filename
argument string -- some in guile and some in C. The C-side mechanisms
(in engine/gnc-filepath-utils.c) seem a little nicer than the guile
ones (in main.scm). They have slightly different behavior (e.g. which
paths they'll search for data files.) They both handle URIs and
making absolute paths out of relative ones. This patch switches from
using the guile functions to the C function. I've tested that the common
cases are handled the same way, but it wouldn't surprise me if some
corner-cases are not.
r12948 | chris | 2006-01-22 22:56:10 -0500 (Sun, 22 Jan 2006) | 2 lines
M /gnucash/trunk/src/scm/main.scm
Remove "batch-mode" processing from main.scm. It's no longer needed.
r12947 | chris | 2006-01-22 22:43:55 -0500 (Sun, 22 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
Remove --devel option, which aparently doesn't do anything.
Also remove now unused guile portion of --add-price-quote option.
r12946 | chris | 2006-01-22 22:26:01 -0500 (Sun, 22 Jan 2006) | 18 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/main.scm
M /gnucash/trunk/src/scm/price-quotes.scm
Process the --add-price-quotes command-line option from C.
This is done by booting guile with a custom inner_main.
Much of the work is still handled by price-quotes.scm, which
is now a true stand-alone guile module without the circular dependency
on the (gnucash main) module.
One caveat: Since the initialization of guile-side debugging variables
is in main.scm, and since main.scm is no longer executed when running
--add-price-quotes, the guile code that runs during --add-price-quote
isn't affected by the --debug option. A work-around is to use the
GNC_DEBUG environment variable:
$ GNC_DEBUG=yes gnucash --add-price-quote myfile
In the longer term, we'll either move the debugging aids to a common place
where it can be used by both main.scm and price-quotes.scm, or we'll get
the debugging state from the C-side via gwrap.
r12945 | chris | 2006-01-22 22:12:27 -0500 (Sun, 22 Jan 2006) | 3 lines
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h
M /gnucash/trunk/src/gnome-utils/gw-gnome-utils-spec.scm
Introduced gwrapped gnc_gnome_locate_data_file().=
This was supposed to go with r12942.
r12944 | chris | 2006-01-22 19:47:45 -0500 (Sun, 22 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
Process gnome command-line arguments after our own,
so we can provide our own AUTOHELP.
r12943 | chris | 2006-01-22 19:46:22 -0500 (Sun, 22 Jan 2006) | 3 lines
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
M /gnucash/trunk/src/scm/price-quotes.scm
Remove processing of share-path from guile.
This is now handled by Gnome's gnome_program_locate_file() function.
r12942 | chris | 2006-01-22 18:12:15 -0500 (Sun, 22 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/gnome/top-level.c
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
M /gnucash/trunk/src/gnome-utils/gnc-gnome-utils.h
M /gnucash/trunk/src/gnome-utils/gw-gnome-utils-spec.scm
Initialize Gnome libraries before booting guile.
2006-01-22 David Hampton <hampton@employees.org>
* src/gnome/dialog-chart-export.c:
* src/gnome/glade/chart-export.glade: More HIG changes.
* src/gnome-utils/gnc-file.c: Add an icon to the export button in
the generic filename dialog.
* src/gnome-utils/glade/commodity.glade:
* src/gnome/dialog-price-editor.c:
* src/gnome/glade/progress.glade:
* src/gnome/glade/price.glade:
* src/gnome/dialog-price-edit-db.c: More HIG changes.
* src/scm/printing/print-check.scm:
* src/gnome/glade/print.glade:
* src/gnome/schemas/Makefile.am:
* src/gnome/schemas/apps_gnucash_dialog_common.schemas.in:
* src/gnome/schemas/apps_gnucash_dialog_print_checks.schemas.in:
* src/gnome/dialog-print-check.[ch]: Overhaul the print check
dialog. Make HIG changes, and make the dialog remember its state
across invocations (including all the custom values). Fix a crash
when canceling printing.
* src/register/ledger-core/dialog-dup-trans.c:
* src/gnome-utils/dialog-account.c:
* src/gnome-utils/glade/commodity.glade:
* src/gnome-utils/glade/exchange-dialog.glade:
* src/gnome/dialog-totd.c:
* src/gnome/glade/stocks.glade:
* src/gnome/glade/budget.glade:
* src/gnome/glade/totd.glade:
* src/gnome/glade/register.glade:
* src/gnome/glade/account.glade:
* src/gnome/druid-stock-split.c: More HIG changes.
* src/gnome-utils/gnc-date-edit.[ch]:
* src/gnome-utils/gnc-general-select.[ch]: Add support for setting
these widgets as the target of a GtkLabel access key.
2006-01-21 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-amount-edit.c:
* src/gnome/dialog-fincalc.c:
* src/gnome/glade/fincalc.glade: Overhaul the financial calculator
dialog.
2006-01-21 Derek Atkins <derek@ihtfp.com>
* src/bin/gnucash-bin.c: update splash screen while loading modules.
Granted, this has no effect because the splash screen isn't
/UP/ when we're loading the modules. But still, once we
initialize the gnome application earlier this will let us
update the splash screen.
* src/app-utils/prefs.scm: replace an API needed by old scheme
config files. It was removed in r11565. Replace it now.
* src/backend/file/io-example-account.c
* src/backend/file/sixtp-utils.c
* src/backend/file/sixtp.c
* src/calculation/expression_parser.c
* src/gnome-utils/gnc-date-edit.c
* src/gnome-utils/gnc-menu-extensions.c
* src/app-utils/gnc-ui-util.h
* src/app-utils/gnc-ui-util.c
* doc/Makefile.am
* lib/libqof/qof/guid.c
* lib/libqof/qof/gnc-date.c
* lib/libqof/qof/gnc-engine-util.c
* lib/libqof/qof/gnc-engine-util.h
Thomas Klausner's NetBSD patch.
* src/bin/test/Makefile.am:
Need to add a PATH for the tests to succeed.
2006-01-21 David Hampton <hampton@employees.org>
* src/gnome-utils/*.glade: Move glade files to a new subdirectory.
* src/gnome-utils/commodity.glade:
* src/gnome-utils/exchange-dialog.glade:
* src/gnome-utils/druid-provider-multifile.glade:
* src/gnome-utils/dialog-commodity.c: HIG rework.
* src/business/business-gnome/glade/billterms.glade:
* src/business/dialog-tax-table/dialog-tax-table.c:
* src/business/dialog-tax-table/tax-tables.glade: HIG rework on a
couple of dialogs.
* src/import-export/qif-import/qif.glade:
* src/import-export/binary-import/binary-import.glade:
* src/import-export/import-provider-format.glade:
* src/import-export/hbci/glade/hbci.glade: Do some HIG cleanup.
Remove extraneous newline characters from strings.
2006-01-21 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/glade/hbci.glade: Add field length limits
again to avoid data loss on text entry.
2006-01-20 David Hampton <hampton@employees.org>
* src/register/register-gnome/gnucash-item-list.c: Glib 2.9
requires GdkEvents to be marked as BOXED instead of POINTER.
Fixes #326056.
2006-01-20 Derek Atkins <derek@ihtfp.com>
* src/bin/gnucash-bin.c: Load config.auto AND config.user files.
Load the .user file first, and then load the .auto.
* src/scm/Makefile.am: paths.scm was removed.
r12912 | chris | 2006-01-20 22:59:22 -0500 (Fri, 20 Jan 2006) | 3 lines
M /gnucash/trunk/src/app-utils/gw-app-utils-spec.scm
M /gnucash/trunk/src/engine/gw-engine-spec.scm
M /gnucash/trunk/src/report/report-system/html-style-sheet.scm
M /gnucash/trunk/src/report/report-system/report.scm
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
D /gnucash/trunk/src/scm/path.scm
Guile-side clean-up for --namespace option.
Also one bit of uncommitted code from gwrap change.
r12911 | chris | 2006-01-20 22:50:25 -0500 (Fri, 20 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/core-utils/Makefile.am
A /gnucash/trunk/src/core-utils/gnc-main.c
A /gnucash/trunk/src/core-utils/gnc-main.h
M /gnucash/trunk/src/engine/Makefile.am
M /gnucash/trunk/src/engine/gnc-commodity.c
M /gnucash/trunk/src/engine/gnc-commodity.h
M /gnucash/trunk/src/engine/gw-engine-spec.scm
M /gnucash/trunk/src/scm/price-quotes.scm
Process the --namespace command-line option from C, not guile.
r12910 | chris | 2006-01-20 09:52:57 -0500 (Fri, 20 Jan 2006) | 1 line
M /gnucash/trunk/src/gnome-utils/test/Makefile.am
Fix linking for src/gnome-utils/test/
r12909 | chris | 2006-01-20 00:19:15 -0500 (Fri, 20 Jan 2006) | 5 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
M /gnucash/trunk/src/scm/path.scm
Move the loading of user and system config files from guile to C.
Remove the "load config" command line options, since they weren't doing
anything different than the default.
r12902 | chris | 2006-01-19 13:43:59 -0500 (Thu, 19 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/gnome/top-level.h
Remove "reverse_balance" fucntions from top-level.h.
Add another #include for gnucash-bin.c
r12900 | chris | 2006-01-19 13:02:18 -0500 (Thu, 19 Jan 2006) | 4 lines
M /gnucash/trunk/AUTHORS
M /gnucash/trunk/src/engine/Account.c
M /gnucash/trunk/src/engine/Account.h
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.c
M /gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.h
Filter out deprecated account types from the account types treemodel.
Patch by Eskil Bylund <eskil.bylund@gmail.com>
r12899 | chris | 2006-01-19 12:58:02 -0500 (Thu, 19 Jan 2006) | 3 lines
M /gnucash/trunk/src/app-utils/gncmod-app-utils.c
M /gnucash/trunk/src/bin/gnucash-bin.c
Add hooks just once in app_utils module init.
Also don't try to load imaginary module.
r12886 | chris | 2006-01-19 09:16:58 -0500 (Thu, 19 Jan 2006) | 2 lines
M /gnucash/trunk/src/gnome/top-level.h
add missing #include
r12882 | chris | 2006-01-19 00:54:16 -0500 (Thu, 19 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/main.scm
Exit gnucash from C, not guile.
r12881 | chris | 2006-01-19 00:18:27 -0500 (Thu, 19 Jan 2006) | 2 lines
M /gnucash/trunk/src/app-utils/app-utils.scm
M /gnucash/trunk/src/app-utils/gncmod-app-utils.c
move some app-util function hooks from guile to C
2006-01-19 David Hampton <hampton@employees.org>
* src/core-utils/gnc-gkeyfile-utils.[ch]:
* src/app-utils/file-utils.c:
* src/app-utils/gnc-exp-parser.c: Provide better arguments for
specifying what to do when a key_file doesn't exist.
* src/gnome-utils/gnc-main-window.c: Check for bogus window
structures (i.e. empty) when reading/writing the state file.
2006-01-19 Derek Atkins <derek@ihtfp.com>
* src/business/business-gnome/dialog-invoice.c:
need to #include gkeyfile.h for glib24 systems
* src/business/business-gnome/Makefile.am:
link against glib26 compatibility library.
2006-01-19 David Hampton <hampton@employees.org>
* src/business/business-gnome/dialog-invoice.c: Delete the invoice
page completely when closing it. Prevents a crash when trying to
open a different data file is there is an invoice page in the
window.
* src/gnome-search/gnc-general-search.c: Finish the job. Make sure
this component isn't unregistered multiple times.
2006-01-18 Derek Atkins <derek@ihtfp.com>
* src/bin/gnucash-bin.c:
* src/gnome-utils/gnc-splash.c:
Always print the SVN version and build date.
Make "development version" based on GNUCASH_SVN
* src/gnome-utils/Makefile.am:
Define GNUCASH_SVN whenever the source is not a dist tarball.
2006-01-18 David Hampton <hampton@employees.org>
* src/business/business-core/gncOwner.[ch]:
* src/business/business-gnome/dialog-invoice.[ch]:
* src/business/business-gnome/gnc-plugin-page-invoice.c:
Save/restore business invoice pages.
* src/app-utils/gnc-component-manager.c: Tweak a debugging
statement.
* src/gnome-search/gnc-general-search.c: Unregister this component
properly when destroying it.
* src/gnome-utils/gnc-query-list.c: The GtkObject destroy function
can be called multiple times. Protect from unregistering the
component multiple times.
2006-01-18 Joshua Sled <jsled@asynchronous.org>
* src/app-utils/gnc-account-merge.[ch]: C-style comment
conventions; rename identifiers that are C++ keywords.
2006-01-18 Joshua Sled <jsled@asynchronous.org>
* src/gnome/gnc-plugin-page-account-tree.c
(gnc_plugin_page_account_tree_create_widget): Remove name-editing
callback setup.
2006-01-18 David Hampton <hampton@employees.org>
* All xxx.schemas files renamed to xxx.schemas.in.
* All schema directory Makefile.am files replaced.
* make-gnucash-potfiles.in: Now also pulls strings from schema
files. Together these fix bugs #327507 and #327353 which are
about schema file strings not being translated.
2006-01-18 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_update_fs): Propgate
bi-weekly ui-frequency in transition from "schedule transaction"
dialog to "Advanced..." (Scheduled Transaction Editor).
Patch from Robert Zaleski <rzaleski81@yahoo.com>.
<http://bugzilla.gnome.org/show_bug.cgi?id=327547>.
2006-01-18 Derek Atkins <derek@ihtfp.com>
* src/bin/Makefile.am: Fix some srcdir/builddir issues
with #includes and libraries.
* src/Makefile.am: Move 'bin' last so that it's built
after gnome-utils so Chris' change works.
r12879 | chris | 2006-01-18 23:29:07 -0500 (Wed, 18 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
Move "unstable development version" message from guile to C.
Remove crufty guile command-line options.
r12874 | chris | 2006-01-18 21:34:23 -0500 (Wed, 18 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/main.scm
dlopen() modules from C, instead of from guile
r12873 | chris | 2006-01-18 21:00:25 -0500 (Wed, 18 Jan 2006) | 2 lines
M /gnucash/trunk/src/scm/main.scm
The Parenthesis! My favorite punctuation.
r12872 | chris | 2006-01-18 20:33:16 -0500 (Wed, 18 Jan 2006) | 4 lines
M /gnucash/trunk/src/scm/command-line.scm
M /gnucash/trunk/src/scm/main.scm
M /gnucash/trunk/src/scm/path.scm
Minor scheme cleanup.
Move one function from path.scm to command-line.scm.
Remove processing of arguments now handled in C.
r12868 | chris | 2006-01-18 20:26:21 -0500 (Wed, 18 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
Use popt to automatically generate pretty --usage and --help.
r12838 | chris | 2006-01-17 22:46:53 -0500 (Tue, 17 Jan 2006) | 3 lines
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/gnucash-bin.c
Catch --version argument before booting Guile.
Also show svn revision info if binary was built from svn.
2006-01-17 Christian Stimming <stimming@tuhh.de>
* src/import-export/mt940/gnc-mt940-import.c: Add initial work on
upgrading the old non-compilable mt940-importer code by
F. Steinel. Code still non-compilable, see
http://bugzilla.gnome.org/show_bug.cgi?id=325170
2006-01-17 Neil Williams <linux@codehelp.co.uk>
* src/engine/gnc-engine.c : Removing .la from
name of module to be loaded with GModule.
r12817 | chris | 2006-01-16 21:28:13 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/src/engine/test/test-lots.c
sane indenting
r12816 | chris | 2006-01-16 21:26:16 -0500 (Mon, 16 Jan 2006) | 12 lines
M /gnucash/trunk/src/bin/gnucash-bin.c
M /gnucash/trunk/src/scm/main.scm
Pull the C inner_main into the environment of the guile (gnucash
main) module.
Strangely, symbols that are resolved during a dlopen() *before* calling
scm_set_current_module() are not resolvable from guile code that is inside
a module.
In order for code in a guile module to see symbols from dlopen'ed libraries,
they must be dlopen'ed *while* that guile module is current. I imagine this
is because the process of changing the current guile module purposely hides
all symbols in the current symbol table - to create an illusion of an empty
table. Kinda interesting... kinda scary...
r12815 | chris | 2006-01-16 20:42:46 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/overrides/Makefile.am
Don't distribute non-existant 'gnucash'
r12372 | chris | 2006-01-16 16:17:48 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/GNOME2_STATUS
update budget-related status
r12368 | chris | 2006-01-16 11:30:12 -0500 (Mon, 16 Jan 2006) | 5 lines
M /gnucash/trunk/src/gnc-module/gnc-module.c
M /gnucash/trunk/src/gnc-module/gnc-module.h
M /gnucash/trunk/src/gnc-module/gnc-module.scm
M /gnucash/trunk/src/gnc-module/gw-gnc-module-spec.scm
M /gnucash/trunk/src/gnc-module/test/test-load-c.c
Slight contraction of gnc-module API.
Privatize structures that aren't used externally. Remove unused functions.
r12367 | chris | 2006-01-16 09:42:43 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/src/business/business-core/test/test-customer.c
Register business objects before testing them.
r12366 | chris | 2006-01-16 09:24:57 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/lib/libgsf-1.12.3/tests/test-cp-zip.c
Allow a libgsf test to pass even with glib 2.4.
r12365 | chris | 2006-01-16 00:30:34 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/test/Makefile.am
Remove unneeded testing environments.
r12364 | chris | 2006-01-16 00:22:01 -0500 (Mon, 16 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/test/Makefile.am
D /gnucash/trunk/src/bin/test/fake-guile
D /gnucash/trunk/src/bin/test/test-guile-env-override
Remove obsolete test for starting GnuCash with a different guile.
2006-01-16 Joshua Sled <jsled@asynchronous.org>
* lib/libgsf-1.12.3/thumbnailer/
* lib/libgsf-1.12.3/Makefile.am: Remove unused 'thumbnailer'
directory.
2006-01-16 Joshua Sled <jsled@asynchronous.org>
* src/register/register-gnome/gnucash-sheet.c
(GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL): Compatibility with
gtk 2.8, as well, for selection of the auto-completed region.
2006-01-16 Derek Atkins <derek@ihtfp.com>
* configure.in: us AM_PATH_GWRAP properly. Exit configure on failure.
2006-01-15 Derek Atkins <derek@ihtfp.com>
* src/gnome/dialog-new-user.c: some fixes to get file to compile.
2006-01-15 Joshua Sled <jsled@asynchronous.org>
* accounts/C/*: add placeholder flags for relevant accounts.
2006-01-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-tree-view-account.c
(gnc_tree_view_account_new_with_group):
Record editable text columns in private data structure.
(gtva_set_column_editor)
(gtva_setup_column_renderer_edited_cb)
(gnc_tree_view_account_set_name_edited)
(gnc_tree_view_account_set_code_edited)
(gnc_tree_view_account_set_description_edited)
(gnc_tree_view_account_set_notes_edited):
Add support for setting up column-edited callbacks.
(gnc_tree_view_account_name_edited_cb)
(gnc_tree_view_account_code_edited_cb)
(gnc_tree_view_account_description_edited_cb)
(gnc_tree_view_account_notes_edited_cb):
Provide stock editable-column handlers.
* src/gnome/gnc-plugin-page-account-tree.c
(gnc_plugin_page_account_tree_create_widget): Setup default
editing callbacks for text columns.
* src/app-utils/gnc-account-merge.[ch]: Non-ui-specific utility
routines from account-hierarchy druid regarding account-hierarchy
merge logic and constraints.
* src/gnome/druid-hierarchy.c: Remove static variables describing
dialog and dialog-in-interaction-with the druid-merge.c code.
(gnc_create_hierarchy_druid, get_final_balance)
(set_final_balance): simplify to Map<Account*,
balance:gnc_numeric*>, which is more tolerant of Account-name
changes.
(gnc_ui_hierarchy_druid_with_callback): Add callback support for
caller to have calling-specific work done.
(use_existing_account_data_func): Conditionally add column
detailing the status of how this new hierarchy merges into the
existing one.
(on_final_account_next): Check to ensure there are no
account-hierarchy merge conflicts before allowing Next to final
page.
(balance_cell_data_func): Add new subtlety around opening-balance
editing in the face of hierarachy-merging.
(on_finish): Reorder dialog finishing to work around account-tree
model bug, starting-balance-transaction creation, data-merging,
when-completed callback creation.
(gnc_ui_hierarchy_druid_hook): Add callback to create new
account-page as consequence of new-file hook run.
* src/gnome/dialog-new-user.c (after_hierarchy_druid): Create+use
callback for new-user-dialog specific code.
* src/gnome/glade/account.glade: Change "opening balances" page
title, default dialog positioning hint (from none to parent-center).
* src/gnome/druid-merge.[ch]
(gnc_ui_qof_book_merge_druid): Remove hierarchy-druid wrapper.
: remove un-used qof_book_merge_druid.
* accounts/C/*: Add placeholder flag on relevant accounts.
r12363 | chris | 2006-01-15 22:23:35 -0500 (Sun, 15 Jan 2006) | 2 lines
M /gnucash/trunk/src/bin/test/test-version
Fix src/bin/test/test-version for new gnucash executable.
r12362 | chris | 2006-01-15 21:43:56 -0500 (Sun, 15 Jan 2006) | 6 lines
M /gnucash/trunk/lib/libqof/backend/file/Makefile.am
Specify that LIBADD libraries are for libqof_backend_qsf.la.
Solves:
libqof-backend-qsf.so: undefined symbol: xmlNodeGetContent
error during `make check'
r12351 | chris | 2006-01-14 00:47:17 -0500 (Sat, 14 Jan 2006) | 5 lines
M /gnucash/trunk/src/business/dialog-tax-table/Makefile.am
Declare library dependency for dialog-tax-table.
libtool 1.5.16 seems to not mind the dependency being undeclared but
libtool 1.5.6 on FC3 won't lt_dlopen() the .la file without it.
r12350 | chris | 2006-01-13 22:56:53 -0500 (Fri, 13 Jan 2006) | 4 lines
M /gnucash/trunk/configure.in
M /gnucash/trunk/doc/Makefile.am
M /gnucash/trunk/lib/libc/Makefile.am
M /gnucash/trunk/lib/libqof/backend/file/Makefile.am
M /gnucash/trunk/src/bin/Makefile.am
M /gnucash/trunk/src/bin/overrides/Makefile.am
M /gnucash/trunk/src/gnome/Makefile.am
M /gnucash/trunk/src/gnome-utils/Makefile.am
M /gnucash/trunk/src/quotes/Makefile.am
Add 'Makefile' as a dependency for targets that are generated
from scriptlets in Makefile. That way, if the generating scriptlet is
changed, (or the Makefile is regenerated) the target will also be remade.
r12339 | chris | 2006-01-13 00:13:05 -0500 (Fri, 13 Jan 2006) | 2 lines
M /gnucash/trunk/Makefile.am
M /gnucash/trunk/configure.in
M /gnucash/trunk/lib/libqof/qof/Makefile.am
M /gnucash/trunk/src/Makefile.am
M /gnucash/trunk/src/bin/Makefile.am
Various fixes to allow `make dist` and building from tarball.
2006-01-13 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/Makefile.am: revert 12296 and handle the
case of an svn checkout without .svn subdirs (gentoo ebuild).
In particular, we want to use $(srcdir)/gnc-svninfo.h
so that a build from a dist tarball has the svn version.
* src/bin/overrides/gnucash
* src/bin/overrides/gnucash-valgrind
* src/bin/overrides/Makefile.am:
remove unnecessary override files that are no longer useful.
* goffice/*/Makefile.am:
* libgsf/*/Makefile.am:
don't install goffice and gsf headers.
* configure.in: Properly set QOF_LIB_DIR et. al. for internal qof.
* lib/libqof/qof/Makefile.am: qofla-dir.h depends on Makefile.
Make sure you rebuild qofla-dir.h when the Makefile changes,
which would imply re-configuration. You never know, the
user might have changed --prefix which means you want to
rebuild the header.
2006-01-13 Neil Williams <linux@codehelp.co.uk>
* src/bin/test/test-version : Using Derek's fix to
resolve the test failure.
2006-01-13 Derek Atkins <derek@ihtfp.com>
* src/bin/overrides/gnucash-build-env.in:
Change core-utils to a gnc-module-dir so it loads both
the .scm and the .so properly.
r12338 | chris | 2006-01-12 21:05:51 -0500 (Thu, 12 Jan 2006) | 10 lines
M /gnucash/trunk/ChangeLog
M /gnucash/trunk/ChangeLog.2005
ChangeLog entries from svn for past 12 days.
Hmm... A commit message for my commit messages... what to write?
Using this, format which is much closer to svn log, saved some time.
This commit took about 10 min to prepare, and I estimate it would have
taken another 20 to format like my last entries. The main effort is
moving the messages off of column 0. I suspect that the non-uniform
entry style might start to bother me enough to look at the xslt again.
We'll see.
r12337 | chris | 2006-01-12 20:25:12 -0500 (Thu, 12 Jan 2006) | 5 lines
M /trunk/src/app-utils/Makefile.am
M /trunk/src/app-utils/gnc-gettext-util.c
M /trunk/src/app-utils/gnc-gettext-util.h
M /trunk/src/app-utils/gw-app-utils-spec.scm
D /trunk/src/app-utils/i18n.h.in
M /trunk/src/bin/Makefile.am
M /trunk/src/bin/gnucash-bin.c
A /trunk/src/bin/i18n.h.in (from /trunk/src/app-utils/i18n.h.in:12334)
M /trunk/src/scm/main.scm
Move gnu-module init and gettext init from scm to C.
Move i18n.h.in from src/app-utils to src/bin, where it is used.
Remove unneeded gettext init code in src/app-utils
r12330 | chris | 2006-01-12 16:26:01 -0500 (Thu, 12 Jan 2006) | 6 lines
M /trunk/src/backend/file/gnc-account-xml-v2.c
M /trunk/src/backend/file/test/test-real-data.sh
M /trunk/src/backend/file/test/test-xml-account.c
Don't let deprecated tags overwrite data from newer tags.
Avoid testing for match of deprecated tags.
Warn about deprecated tags not being preserved.
Plug another leak in test case.
Make successful test-xml-account less verbose.
r12329 | chris | 2006-01-12 16:22:03 -0500 (Thu, 12 Jan 2006) | 3 lines
M /trunk/src/backend/file/test/test-file-stuff.c
Avoid creating new xml parser for each test file.
This plugs a mem leak in the test case.
2006-01-12 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-account.c: Remove the unnecessary
explicit removal of the tree model and let the core GtkTreeView
code do its thing. Prevents a weird crash when canceling the
transfer code.
2006-01-12 Derek Atkins <derek@ihtfp.com>
* configure.in: add --enable-qof so build defaults to internal qof.
* configure.in: fixes to make configure more quiet
- move PKG_CONFIG check early in the process
- use --silence-errors more
* macros/pkg.m4: work around a pkg-config bug that outputs
errors to stderr even when you tell it to output to stdout.
2006-01-10 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-gnome-utils.c:
* src/gnome-utils/dialog-utils.c: A couple of simple substitutions
for deprecated functions.
* src/gnome-utils/dialog-options.c: Use newer function for setting
the width of a GtkSpinButton.
* src/network-utils/Makefile.am:
* src/gnome-utils/gnc-html.c:
* src/gnome/top-level.c: The gnucash gpg networking code isn't
called from anywhere. No need to compile it as part of the build.
* src/register/register-gnome/gnucash-cursor.c:
* src/register/register-gnome/gnucash-item-edit.c:
* src/register/register-gnome/gnucash-grid.c:
* src/register/register-gnome/gnucash-header.c:
* src/gnome-utils/gnc-dense-cal.c:
* src/gnome-utils/gnc-main-window.c:
* src/gnome-utils/dialog-utils.c:
* src/gnome-utils/dialog-options.c: Replace deprecated functions
with their current equivalent.
2006-01-10 Derek Atkins <derek@ihtfp.com>
* make-gnucash-potfiles.in: ignore dangling symlinks when
building po/POTFILES.in
2006-01-10 Christian Stimming <stimming@tuhh.de>
* accounts/nb/*, configure.in: Add account templates for Norwegian
(Bokmal) language; by Tor Harald Thorland <linux@strigen.com>; not
fully functional so far.
r12322 | chris | 2006-01-10 23:39:12 -0500 (Tue, 10 Jan 2006) | 2 lines
M /trunk/src/engine/Account.c
Factor-out cut-n-paste job from xaccCloneAccount{Simple}.
r12321 | chris | 2006-01-10 23:30:20 -0500 (Tue, 10 Jan 2006) | 3 lines
M /trunk/src/engine/Account.c
Convert account name, code and description to use string cache.
Plus minor comments and tweaks.
r12319 | chris | 2006-01-10 23:27:02 -0500 (Tue, 10 Jan 2006) | 2 lines
M /trunk/lib/libqof/qof/gnc-engine-util.h
Add CACHE_REPLACE(dst, src) macro for common case in string setters.
r12316 | chris | 2006-01-10 21:58:59 -0500 (Tue, 10 Jan 2006) | 2 lines
M /trunk/src/engine/gnc-commodity.c
Convert gnc-commodity to use vanilla string cache macros.
r12315 | chris | 2006-01-10 21:56:02 -0500 (Tue, 10 Jan 2006) | 3 lines
M /trunk/lib/libqof/qof/gnc-engine-util.c
M /trunk/lib/libqof/qof/gnc-engine-util.h
Add const to gnc_string_cache_insert argument.
Handle NULL values gracefully.
r12313 | chris | 2006-01-10 21:19:42 -0500 (Tue, 10 Jan 2006) | 2 lines
M /trunk/src/engine/test/test-date.c
Add commented-out test case demonstrating lack of year 2038 support.
r12311 | chris | 2006-01-10 16:42:55 -0500 (Tue, 10 Jan 2006) | 2 lines
M /trunk/src/engine/gnc-commodity.c
Plug memory leak of gnc_commodity_namespace->QofInstance; found w/ valgrind.
r12308 | chris | 2006-01-09 16:06:45 -0500 (Mon, 09 Jan 2006) | 2 lines
M /trunk/src/engine/test/test-date.c
Avoid testing dates near or after 2038, because the qof parsing
functions fail.
r12306 | chris | 2006-01-08 22:33:46 -0500 (Sun, 08 Jan 2006) | 2 lines
M /trunk/src/app-utils/gnc-ui-util.c
M /trunk/src/app-utils/test/test-print-parse-amount.c
Don't test numeric parsing for numbers that overflow, we'd fail.
2006-01-08 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-options.c: Add a button to clear the name
of the currently selected file in a file chooser.
* src/register/register-gnome/gnucash-item-list.c:
* src/import-export/hbci/dialog-hbcitrans.c: The GTK2.4 headers
are missing a named constant.
* lib/goffice-0.0.4/goffice/glib24_26-compat.c: Fix a couple of
compiler version issues.
2006-01-08 Derek Atkins <derek@ihtfp.com>
* Makefile.am: fix the dist-hook macro for po/POTFILES.in
2006-01-08 Neil Williams <linux@codehelp.co.uk>
* src/import-export/qif-import/test/Makefile.am : OSX fix.
* po/en_GB.po : (To assist the TP project,
with help from Nigel Titley, GNU translator.)
Remaining: 92 fuzzy translations, 1 untranslated message
* . : Adding *.prj.bak to svn:ignore.
2006-01-08 Neil Williams <linux@codehelp.co.uk>
* src/engine/Transaction.c : Even up ENTER and LEAVE
calls.
* src/gnome-utils/druid-gconf-setup.c : Typo fix.
* src/gnome-utils/gnc-tree-model-budget.h : Doxygen tweak.
* src/gnome/gnc-plugin-budget.c : Match ENTER with LEAVE
* src/gnome/gnc-plugin-page-budget.h : Doxygen tweak.
2006-01-08 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/gnc-main-window.c: Add gnc workaround function
for errorneous gtk_action_group_set_translation_domain. Fixes the
statusbar-tooltip error mentioned on 2006-01-07. Filed in gtk as
bug#326200.
2006-01-07 David Hampton <hampton@employees.org>
* src/report/standard-reports/account-summary.scm: Copy the table
markup from an intermediate table to the final displayed table.
* src/report/report-system/html-acct-table.scm: When building a
html table from an account tree, apply markup to the "total" lines
so that they use the right stylesheet colors.
* src/report/standard-reports/portfolio.scm:
* src/report/standard-reports/advanced-portfolio.scm: Fix the
"share decimal places" option.
2006-01-07 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-plugin-page-register.c,
src/report/report-gnome/gnc-plugin-page-report.c: Add more
tooltips to actions.
* src/gnome-utils/gnc-main-window.c: Add display of a GtkAction's
tooltip in the statusbar when the mouse is selection its menu
item. Code copied from gtk+'s test/testmerge.c. Works fine, except
that in non-C locales some "" tooltips are translated in a weird
way. Maybe because "" is errorneously passed through gettext(),
which will accidentally catch a wrong string from the po
files. This needs to be fixed.
* src/report/report-gnome/gnc-plugin-page-report.c: Rename "Save
report" menu item to "Add report" according to IRC discussion with
warlord.
* autogen.sh: Move code from macros/autogen.sh to here to make it
more obvious what happens. Add checks for all programs that are
called, fixes bug#325721. However in principle the code wasn't
changed, only cleaned up.
2006-01-07 David Hampton <hampton@employees.org>
* src/business/business-gnome/dialog-order.c:
* src/business/business-gnome/dialog-date-close.c:
* src/gnome-utils/gnc-druid-provider-file-gnome.[ch]: Remove some
deprecated gnome functions.
* src/bin/gnucash-valgrind.in:
* src/bin/Makefile.am: Add a script to invoke the new gnucash.bin
executable via valgrind.
* src/gnome/window-main-summarybar.c: Performance enhancements.
Remove the model from the combo box before clearing and
repopulating it.
2006-01-06 David Hampton <hampton@employees.org>
* src/import-export/hbci/dialog-hbcitrans.[ch]:
* src/import-export/hbci/glade/hbci.glade:
* src/import-export/hbci/gnc-hbci-transfer.c: Make the HBCI
Transfer dialog work again using a GtkListStore.
r12278 | chris | 2006-01-06 17:28:38 -0500 (Fri, 06 Jan 2006) | 2 lines
M /trunk/src/app-utils/gnc-ui-util.c
M /trunk/src/app-utils/gnc-ui-util.h
Fix floating point exception by checking for overflow.
r12273 | chris | 2006-01-06 16:31:22 -0500 (Fri, 06 Jan 2006) | 10 lines
M /trunk/Makefile.am
Fixes for `make check' in toplevel Makefile.am.
Conditionally add symlink from ./gsf to ./lib/libgsf-1.12.3/gsf.
Also, silence warning:
/usr/share/automake-1.9/am/tags.am: ctags was already defined in
condition !GNC_CTAGS_FILE, which is included in condition TRUE ...
Makefile.am:138: ... `ctags' previously defined here
and avoid possible `make dist' failure by added po/POTFILES.in to
dist-hook.
r12271 | chris | 2006-01-05 21:49:27 -0500 (Thu, 05 Jan 2006) | 8 lines
M /trunk/Makefile.am
D /trunk/po/POTFILES.in
Yet more build tweaks for .pot file generation.
Remove po/POTFILES.in (again) from svn. Since po/POTFILES.in is added
to BUILT_SOURCES, it's auto-generated now whenever the `make all',
`make check', or `make install' targets are processed, (but not
recreated every time). And `make pot' forces the recreation of
po/POTFILES.in. Hopefully, this will works even on OSX.
2006-01-04 David Hampton <hampton@employees.org>
* src/gnome-utils/ui/gnc-main-window-ui.xml:
* src/gnome-utils/gnc-main-window.c: Add in some conditionally
compiled hooks for turning callgrind on/off via the menus.
* src/gnome/gnc-plugin-page-account-tree.c: Consolidate some
common functionality.
* src/register/register-gnome/combocell-gnome.c:
* src/register/register-gnome/gnucash-item-list.[ch]:
* src/register/ledger-core/split-register-load.c:
* src/register/register-core/combocell.h: Load the entire data set
into the combocell before enabling sorting. Saves a tremendous
amount of time.
* src/backend/file/gnc-transaction-xml-v2.c:
* lib/libqof/qof/gnc-numeric.c: A couple of performance tweaks.
r12252 | chris | 2006-01-03 18:49:39 -0500 (Tue, 03 Jan 2006) | 5 lines
M /trunk/src/bin/Makefile.am
A /trunk/src/bin/gnucash-bin.c
A /trunk/src/bin/gnucash.in
Invert the program entry point.
'gnucash' is now a shell script that calls the executable
'gnucash-bin' which uses libguile to load guile modules.
2006-01-03 Joshua Sled <jsled@asynchronous.org>
* gnc-sxed-window-ui.xml: Remove unreferenced `TransactionAction`.
* dialog-sxsincelast.c (sxsld_disposition_changed): change the
assertion into a simple return-if-fail due to apparent change in
the calling order in gtk 2.x...
2006-01-03 David Hampton <hampton@employees.org>
* src/engine/Transaction.c: When setting the amount of a split,
don't call gnc_numeric_convert on it if the split isn't assigned
to an account. This reduces the time spent loading a data file.
* src/business/business-gnome/glade/invoice.glade: Couple the
radio buttons in the unpost dialog.
* src/gnome/top-level.c:
* src/gnome/dialog-totd.c:
* src/gnome/glade/totd.glade: Revert the previous change and make
the totd always float above all other GnuCash windows.
2006-01-02 David Hampton <hampton@employees.org>
* src/gnome/dialog-totd.c: Use the component manager to ensure
there is only one totd dialog at a time. Don't mark the dialog as
transient (or type GTK_WINDOW_DIALOG) so that window managers
won't make it float above all other GnuCash windows.
* src/engine/Transaction.c: Fix test inverted by commit 12231.
* src/gnome-utils/Makefile.am
* src/gnome-utils/gnc-tree-model-example-account.[ch]: Remove
unused files.
* src/gnome/glade/account.glade:
* src/gnome/druid-hierarchy.c: Use a GtkListStore for the example
account categories instead of layering a custom selection model on
a custom example account model. The code is a lot simpler and has
additional sorting capability. Do some rework on the druid
layout.
* src/gnome-utils/gnc-tree-model-selection.[ch]: Correct function
name. Add a comment.
2006-01-02 Derek Atkine <derek@ihtfp.com>
* src/gnome-utils/gnc-tree-view-account.c:
* src/gnome/gnc-plugin-page-budget.c:
need to #include gkeyfile.h if we don't have glib26.
2006-01-02 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view.c: Use the right function to hide
a tree column. Update a couple of debugging messages.
* src/engine/gw-engine-spec.scm:
* src/engine/gnc-commodity.[ch]: Initialize the qof instances in
commodity namespaces.
r12232 | chris | 2006-01-01 19:37:02 -0500 (Sun, 01 Jan 2006) | 2 lines
D /trunk/src/gnome/gncmod-budget.c
Delete unused gncmod-budget.c.
r12231 | chris | 2006-01-01 17:26:15 -0500 (Sun, 01 Jan 2006) | 9 lines
M /trunk/src/engine/Transaction.c
M /trunk/src/engine/Transaction.h
General clean-up in Transaction.[ch].
* Regularization of 'trans' as variable name.
* Whitespace and linewraps
* lots of control-flow simplification
* factor one chunk out into get_any_account()
* Comment some things that are bogus or need improvement
|