1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 20970 20971 20972 20973 20974 20975 20976 20977 20978 20979 20980 20981 20982 20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036
|
2024-02-11 Morten Welinder <terra@gnome.org>
* Release 0.10.57
2024-01-22 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (fmt_shortest): Fix problem with
Decimal64 number going into E format.
* goffice/math/go-decimal.c (nextafterD): Fix assert with very
large arguments.
2023-12-03 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (parse_fmt): Fix width parsing (which we
evidently aren't using that much).
2023-11-02 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2023-11-02 Morten Welinder <terra@gnome.org>
* Release 0.10.56
2023-03-28 Morten Welinder <terra@gnome.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_update): Fix crash with no series. See #66.
2023-02-02 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2023-02-02 Morten Welinder <terra@gnome.org>
* Release 0.10.55
2023-01-23 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2023-01-19 Morten Welinder <terra@gnome.org>
* Release 0.10.54
2023-01-18 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-item.c (goc_item_bounds_changed): Don't
invalidate twice.
* goffice/utils/go-format.c (go_format_execute): Avoid integer
overflow when dealing with denominators.
2022-12-28 Morten Welinder <terra@gnome.org>
* goffice/math/go-accumulator.c (go_accumulator_add): Catch
non-finite numbers early.
2022-11-29 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-series.c (role_series_labels_can_add): Allow
multiple data labels. See #64.
2022-10-22 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_pow10l): Make the table cover the
full range of long double.
2022-09-17 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2022-09-17 Morten Welinder <terra@gnome.org>
* Release 0.10.53
2022-08-29 Morten Welinder <terra@gnome.org>
* plugins/plot_xy/gog-xy-dropbar.c (gog_xy_dropbar_view_render):
Fix typo. Fixes crash in Gnumeric #667.
2022-04-18 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2022-04-18 Morten Welinder <terra@gnome.org>
* Release 0.10.52
2022-02-17 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_add_epsilon): Fix fallback code.
2022-01-21 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-stack.c: Reimplement based on
GtkComboBox.
2022-01-20 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2022-01-20 Morten Welinder <terra@gnome.org>
* Release 0.10.51
2021-12-26 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-group.c (goc_group_fake_xchildren): Plug
leak.
2021-12-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_memdup_n): New function.
* goffice/utils/go-spectre.c (go_spectre_load_data): Use go_memdup.
* goffice/utils/go-emf.c (go_emf_load_data): Use go_memdup.
(go_emf_new_from_data): Ditto.
* goffice/component/go-component.c (go_component_duplicate): Use
go_memdup.
* goffice/data/go-data-simple.c (go_data_vector_str_new_copy): Use
g_new, not g_malloc.
(go_data_vector_val_new_copy): Use go_memdup_n.
* goffice/canvas/goc-group.c (goc_group_init): Use g_new0, not
g_malloc0.
2021-12-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_memdup): Replacement for
g_memdup until we depend on glib 2.67 or thereabouts.
2021-11-06 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_pow10): Make a much bigger table to
avoid depending on pow.
2021-08-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (gog_renderer_draw_data_label): draw
background and outline for data labels.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): typo.
2021-06-11 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): do not clip markers. #584.
2021-06-10 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2021-06-10 Morten Welinder <terra@gnome.org>
* Release 0.10.50
2021-05-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_draw): fix rendering on high
resolution monitors when scale is not 1. #578.
2021-05-12 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-matrix.c (gog_matrix_view_render): call the
build_matrix method for the real plot type. Fixes Debian #988397.
2021-04-26 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (set_format_category): This takes a
family, not a row number. Handle that properly.
2021-03-22 Morten Welinder <terra@gnome.org>
* plugins/reg_linear/gog-lin-reg.c
(gog_lin_reg_curve_get_equation): If x-axis is a date axis, use an
equation that effectively says y=a * #days + b where #days is
counted from the left edge, not the arbitrary zero date in year
1900.
2021-03-17 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c: Get rid of empty categories. (That
means "Special" which we never filled in. See #29.)
* goffice/graph/gog-label.c (gog_reg_eqn_get_str): Show only three
decimals for R^2.
* plugins/reg_linear/gog-lin-reg.c
(gog_lin_reg_curve_get_equation): Simplify code using fewer
branches.
2021-03-14 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2021-03-14 Morten Welinder <terra@gnome.org>
* Release 0.10.49
2020-09-26 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis-line.c (gog_axis_line_update_ticks): Zero
tick count when we dispose of ticks. Fixes Gnumeric #524.
(gog_axis_line_discard_ticks): Factor this repeated segment out.
2020-08-29 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_simple_to_odf):
Close <text> item. Fixes Gnumeric #518.
2020-08-12 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2020-08-12 Morten Welinder <terra@gnome.org>
* Release 0.10.48
2020-07-15 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object-xml.c (gogo_prop_end): Handle
translated booleans since we've managed to save some files that
way.
* goffice/utils/go-file.c (go_file_get_owner_name)
(go_file_get_group_name): Plug leak.
2020-06-26 Morten Welinder <terra@gnome.org>
* configure.ac (xrender): Stop checking for xrender. We haven't
needed that for a decade or two.
2020-06-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/*: enable GocGroup to work as a widgtless canvas.
* goffice/utils/go-emf.c: replace the canvas by a GocGroup.
* goffice/utils/go-image.c (go_image_new_from_data),
(go_image_type_for_format): ditto.
* tests/mf-demo.c (open_file): ditto.
2020-06-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_bitblt): implement filling with a solid
brush.
* goffice/utils/go-image.c (go_mime_to_image_format): update the EMF and
WMF mime types.
2020-06-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-font-sel-dialog.c (gfsd_class_init): fix more
criticals with Gtk+ >= 3.24.
2020-06-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-grid-line.c (gog_grid_line_xy_render): clip grid lines
rendering to the plot area. [#50]
2020-06-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (size_changed_cb): revert previous change.
2020-06-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (size_changed_cb): optimize GtkWidget
embedding in the canvas. See #465.
* goffice/canvas/goc-widget.c (goc_widget_connect_signals),
(goc_widget_notify_scrolled), (cb_canvas_changed),
(goc_widget_set_widget), (goc_widget_draw):
2020-05-27 Jean Brefort <jean.brefort@normalesup.org>
* plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_update): don't emit a
critical if the series is not valid. [#49]
2020-05-18 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): keep clipping for data
labels. [#47]
2020-05-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data.c (go_data_unserialize): don't load an invalid
empty string. [#46]
* goffice/graph/gog-object-xml.c (gog_dataset_sax_save): don't save any
void data. [#46]
* goffice/gtk/go-font-sel.c (gfs_get_property), (gfs_set_property),
(gfs_class_init): fix criticals with Gtk+ >= 3.24.
2020-05-09 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2020-05-09 Morten Welinder <terra@gnome.org>
* Release 0.10.47
2020-04-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_duplicate): do not destroy
original data. Fix #483.
2020-04-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c
(gog_axis_base_get_clamped_position): fix crossing axis position. [#45]
2020-04-19 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (cb_format_combo_changed): Take
auto-by-extension into account.
2020-04-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c (gog_series_dataset_dim_changed): check
validity when the data change. Fix #468.
2020-04-09 Jean Brefort <jean.brefort@normalesup.org>
reviewed by: <delete if not using a buddy>
* goffice/graph/gog-series.c (gog_series_check_validity): ensure all
required dims has valid data. Fix #466.
* plugins/plot_barcol/gog-1.5d.c (gog_1_5d_enum_in_reverse): fix legend
order in bar plots.
2020-03-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_check_extension): Make new_uri
optional.
2020-01-11 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c (gog_contour_view_render): fix a
drawing error in contour plots. Fix #458
2019-12-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels.c (gog_series_labels_update):
a better fix.
2019-12-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels.c (gog_series_labels_update):
fix warnings when the vector length is nil. See #426.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): do not process labels
if the series does not contain any valid data. Fix #426.
2019-11-06 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2019-11-06 Morten Welinder <terra@gnome.org>
* Release 0.10.46
2019-07-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_execute): Fix UTF-8 problem
with "mmmmm".
2019-06-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: typo.
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_build_matrix), (gog_contour_plot_foreach_elem): fix
legend contents. [#404]
2019-06-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_has_year)
(go_format_has_month) (go_format_has_day): new functions.
2019-06-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-math-editor.c (go_math_editor_class_init): fix signals to
make it work again.
2019-05-22 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2019-05-20 Morten Welinder <terra@gnome.org>
* Release 0.10.45
2019-04-05 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c (gog_ring_plot_class_init): fix ring plot
center size persistence. [#395]
2019-01-15 Jean Brefort <jean.brefort@normalesup.org>
* plugins/smoothing/gog-exp-smooth.c (gog_exp_smooth_update): protect
against NULL y values. [#377]
2018-11-24 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c: Introspection fixes.
2018-11-24 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-11-24 Morten Welinder <terra@gnome.org>
* Release 0.10.44
2018-08-19 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-08-19 Morten Welinder <terra@gnome.org>
* Release 0.10.43
2018-08-09 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-08-09 Morten Welinder <terra@gnome.org>
* Release 0.10.42
2018-08-06 Morten Welinder <terra@gnome.org>
* tests/test-quad.c (pow_tests): Comment out exp test. It's not
setup for quad correctly.
2018-08-05 Morten Welinder <terra@gnome.org>
* tests/test-quad.c: Try to make the tests work a bit better for
the excess-precision case, i.e., x86 in 32-bit mode.
2018-08-03 Morten Welinder <terra@gnome.org>
* goffice/goffice.c (libgoffice_init): Use g_type_ensure to avoid
giving the compiler any good ideas about removing calls.
2018-07-13 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-boxplot.c (gog_box_plot_view_render): do
not display whiskers when there are only ouliers outside of the box. Fixes
#345.
2018-05-17 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin.c (go_plugins_shutdown): Avoid hash order
dependency.
2018-05-10 Morten Welinder <terra@gnome.org>
* goffice/app/file.c (go_file_saver_for_file_name): Pick the most
capable saver if multiple are possible.
2018-05-07 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-05-07 Morten Welinder <terra@gnome.org>
* Release 0.10.41
2018-05-06 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (axis_format_value): When using General
format, limit precision to 9-10 digits. If you need more, use a
specific format, but you are probably doing something wrong
anyway. This avoids graph ticks of the form "1.10000000000002".
2018-04-29 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-04-29 Morten Welinder <terra@gnome.org>
* Release 0.10.40
2018-04-19 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-font-sel.c (gfs_screen_changed): Set a minimum
size for the family name picker so it's wide enough for 95% of the
possible values. (That leaves room for 5% of families with crazy
names, just in case.)
2018-04-18 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_finalize): Plug leak.
2018-04-06 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_update_contents):
Handle markup.
(go_option_menu_init): Add a bit of space between label and
separator so they don't touch.
2018-03-25 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_file_get_modtime): New function.
2018-03-14 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_start): Allocate memory before
we change fpu state. Seee bug #794115.
2018-03-13 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-03-13 Morten Welinder <terra@gnome.org>
* Release 0.10.39
2018-03-06 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (do_sinpil): Improve accuracy of
fallback.
2018-02-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-image.c (goc_image_draw): don't try to display an image
with nul size.
* goffice/utils/go-emf.c (go_emf_lineto): create a path if necessary instead
of returning an error.
2017-12-28 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-12-28 Morten Welinder <terra@gnome.org>
* Release 0.10.38
2017-12-11 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-rotation-sel.c (cb_rotate_changed): Signal a
style change, not just an object invalidation.
2017-12-10 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_style_context_from_selector):
Import from Gnumeric (in turn from gtk+).
2017-12-05 Morten Welinder <terra@gnome.org>
* tests/constants.c (main): Improve checking if double math
produces the right values for direct and inverse.
* goffice/gtk/goffice-gtk.c (_go_gtk_widget_add_css_provider):
Install the css provider screen-wide.
2017-12-02 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-rotation-sel.c (cb_rotate_canvas_realize): Use
css for styling.
* goffice/gtk/go-3d-rotation-sel.c (cb_rotate_canvas_realize): Ditto.
2017-12-01 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-12-01 Morten Welinder <terra@gnome.org>
* Release 0.10.37
2017-11-18 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-11-18 Morten Welinder <terra@gnome.org>
* Release 0.10.36
2017-10-30 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/Makefile.am: fix documentation build with recent gtk-doc.
[#788710]
* goffice/goffice.c:
2017-10-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c (xl_contour_plot_build_matrix): fix
rendering.
2017-10-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c (xl_xyz_series_init): don't show these
series in the legend. [#788861]
2017-10-02 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_surface_plot_build_matrix): don't crash if X or Y values are
missing. [#788437]
2017-08-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-format.c (printf_engineering): fix engineering format.
[#785669]
2017-07-06 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-07-06 Morten Welinder <terra@gnome.org>
* Release 0.10.35
2017-05-17 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_mul12): Avoid unnecessary
overflow when splitting a number into two parts.
2017-03-20 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-03-20 Morten Welinder <terra@gnome.org>
* Release 0.10.34
2017-03-17 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_new_from_XL): Cache also
rich-text formats.
2017-01-29 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-01-29 Morten Welinder <terra@gnome.org>
* Release 0.10.33
2017-01-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c : fix evaluation of regression curves
for area plots. [#777334]
2017-01-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_clear_parent): fix add child menu
in graph guru. [#777336]
2016-12-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (role_grid_line_major_can_add):
reimplement major grids for discrete axes. [#775624].
2016-11-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-libxml-extras.c: fix long double support condition.
[#774439]
2016-11-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-legend.c (cb_render_elements): allow box plots look
like bar plots in legends. [#773825]
* plugins/plot_distrib/gog-boxplot.c (gog_box_plot_class_init): ditto.
2016-10-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_render_general): Fix warning.
(go_format_get_details): Avoid pango_trom_string.
* goffice/math/go-matrix.c (go_quad_matrix_dump): Fix printf
argument. (Somehow magically worked -- on x86 at least.)
2016-08-20 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-08-20 Morten Welinder <terra@gnome.org>
* Release 0.10.32
2016-08-17 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_linear_regression_leverage):
Plug leak.
2016-06-29 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-06-29 Morten Welinder <terra@gnome.org>
* Release 0.10.31
2016-06-17 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-06-17 Morten Welinder <terra@gnome.org>
* Release 0.10.30
2016-05-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-color-scale.c (gog_color_scale_set_property),
(gog_color_scale_get_property): properly save and load the reference to
the axis. [#766829]
2016-05-06 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-05-06 Morten Welinder <terra@gnome.org>
* Release 0.10.29
2016-05-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c: fix doc.
* goffice/utils/go-style.c (go_style_apply_theme),
(go_style_gradient_sax_save), (go_style_fill_sax_save),
(go_style_sax_load_fill_pattern),
(go_style_sax_load_fill_gradient), (go_style_persist_sax_save),
(go_style_is_auto): really implement all auto flags.
2016-04-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (cb_hierarchy_changed): make css work again with
gtk+-3.20.
2016-04-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix an infinite
loop condition. [#765480]
2016-04-17 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): do not load invalid data
labels in XYcolor plots. [#765155]
2016-03-24 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_sqrt): Avoid extreme-case
unnecessary overflow.
(go_complex_div): Avoid extreme-case unnecessary overflow and
marginally improve accuracy.
2016-03-22 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-03-22 Morten Welinder <terra@gnome.org>
* Release 0.10.28
2016-03-11 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_series_update): avoid issues with -INFINITY as well.
2016-03-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_series_update): don't take nans and infinite into
account when evaluating automatic bins. [#763446]
2016-03-09 Morten Welinder <terra@gnome.org>
* tests/constants.c (print_bits): Fix bit pattern rounding past
the break.
2016-03-05 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_sqrt): Fix accuracy of
real component when argument is very near the negative real axis.
(go_complex_tan): Improve accuracy.
(go_complex_ln): Improve accuracy near unit circle.
2016-02-23 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_powx): Expose the power
function with separate return value for powers of 2.
2016-02-16 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c: Make a boxed type for the benefit of
introspection.
2016-02-08 Morten Welinder <terra@gnome.org>
* configure.ac: Require C99. Fix handling of $CC that includes
options. Don't check for yacc and lex.
2016-02-06 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-02-06 Morten Welinder <terra@gnome.org>
* Release 0.10.27
2016-02-06 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_from_polar_pi): Make this
public.
2016-02-02 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_powl): Fix real case
accuracy.
(go_complex_div): Avoid intermediate underflow when possible.
2016-01-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fixed axis
line children allocation, see #760675, comments 5-7.
2016-01-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: add title to axis lines. [#760675]
* goffice/graph/gog-axis.c : ditto.
2016-01-12 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.10-sections.txt: add missing declarations.
* goffice/data/go-data-simple.c (go_data_scalar_str_new_copy),
(go_data_vector_val_new_copy), (go_data_vector_str_new_copy): new
functions for introspection.
* goffice/data/go-data-simple.h: ditto.
* goffice/graph/gog-series.c: add an annotation.
2016-01-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin.c: add introspection annotations.
* goffice/goffice.c (libgoffice_init): initialise GOPluginLoaderModule
class to allow plugins initialization through introspection.
* goffice/graph/gog-object.c: add an introspection annotation.
* goffice/math/go-cspline.c: typo.
2016-01-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): write
gnm:am-suffix and gnm:pm-suffix attributes instead of the
gnm:style attribute for number:style
2016-01-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): write
gnm:style attribute of number:style
2015-12-28 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-12-28 Morten Welinder <terra@gnome.org>
* Release 0.10.26
2015-12-25 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-12-25 Morten Welinder <terra@gnome.org>
* Release 0.10.25
2015-12-14 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis-line.c (gog_tool_move_bound_init): Use
gog_axis_map_get_real_extents here, see bug #684886.
2015-12-01 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin.c (go_plugin_read): Plug leak.
2015-09-20 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-09-20 Morten Welinder <terra@gnome.org>
* Release 0.10.24
2015-09-05 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_matrix_plot_build_matrix): don't access NULL values. [#754590]
2015-08-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-path.c (goc_path_prepare_draw): fix bounds and distance
in RTL mode. [#753963]
* goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw): ditto.
2015-08-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_render_general): Also try the
shortest representation when we're barely width limited.
2015-07-28 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-07-28 Morten Welinder <terra@gnome.org>
* Release 0.10.23
2015-07-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_render_general): Try the shortest
representation when we're not width limited. Fixes #752839.
Also handle sign and shape when using shortest.
2015-07-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_metrics_from_str): fix a
paste error. Fixes #752223.
2015-07-08 Morten Welinder <terra@gnome.org>
* plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_update):
Survive missing y_val. Fixes Redhat #1240470.
2015-07-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_document_changed): check args
types. Fix #751925.
2015-06-22 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_radar/gog-radar.c (gog_rt_view_render): protect against wrong
series element index. [#751272]
2015-06-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map.c (color_map_load_from_uri): do not
free the GsfXMLInDoc* twice.
2015-06-21 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c (get_y_vector): skip invalid series.
[#751257]
2015-06-21 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): protect against wrong
series element index. [#751256]
2015-06-20 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-grid-line.c (gog_grid_line_radial_render):
Survive missing parameters.
* goffice/graph/gog-chart-map.c (null_map_2D): Zero output
variables.
2015-06-19 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): protect
against wrong series number. [#751059]
* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_render):
* plugins/plot_barcol/gog-line.c (gog_line_view_render):
2015-06-18 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_image_fetch): Sanity check image
type.
* goffice/graph/gog-object-xml.c (gogo_start): Sanity check object
type.
* goffice/graph/gog-plot-engine.c (gog_plot_new_by_name)
(gog_trend_line_new_by_name): Sanity check type name.
2015-06-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_get_child_by_role): protect against
NULL argument. [#750860]
2015-06-12 Morten Welinder <terra@gnome.org>
* goffice/app/io-context.c (ioc_finalize): Plug leak.
2015-06-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map.c (gog_axis_color_map_prep_sax): don't
free the xml doc twice.
2015-05-31 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_parse_number_new_1):
Prevent ABR.
2015-05-27 Morten Welinder <terra@gnome.org>
* goffice/utils/go-style.c (go_style_set_cairo_line): Plug leak.
2015-05-17 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_simple_to_odf):
Taking a wild guess that result should have been initialized to
TRUE.
* configure.ac (set_more_warnings): clang fix from gnumeric.
* goffice/math/go-quad.c (go_quad_start): Initialize constants via
non-const objects. See bug #749463.
2015-05-16 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-theme.c (theme_load_from_uri): Avoid double
unref on exit.
2015-05-14 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_finalize): Plug leak.
2015-05-12 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-renderer.c (gog_renderer_get_pixbuf): Handle
degenerate image size.
(gog_renderer_export_image): Limit size to shield cairo. Fixes #749274.
2015-05-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_parse): Don't read beyond
global variable's end. [#749167]
2015-05-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_save): don't save when no data is
available [see #748493, comments 13 to 16]
2015-05-04 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (axis_format_value): Allow caller to
handling scaling.
(map_linear_calc_ticks): Handling scaling so we can control
rounding errors in ticks.
2015-05-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (axis_format_value),
(gog_axis_set_property), (gog_axis_get_property),
(gog_axis_class_init), (gog_axis_init): add a display factor to scale
axis ticks labels. [#748295]
2015-04-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c (go_image_type_for_format): disable metafiles
support when there is no screen. [#748493]
2015-04-16 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-04-16 Morten Welinder <terra@gnome.org>
* Release 0.10.22
2015-04-15 Morten Welinder <terra@gnome.org>
* plugins/plot_barcol/gog-minmax.c (gog_minmax_plot_class_init):
Use GSF_PARAM_STATIC.
2015-04-13 Morten Welinder <terra@gnome.org>
* plugins/plot_pie/gog-pie.c (gog_ring_plot_class_init): Persist
the center size.
2015-04-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c (go_data_scalar_val_new): ensure that
go_data_has_value() returns TRUE if there is a valid number.
2015-04-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (cb_enable_dim): make manual scale really manual
even if it matches the auto value. [#700599]
2015-04-11 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_atan2pi): Simplify.
(go_atanpi, go_cotpi): New functions.
2015-04-03 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pattern.c (go_pattern_create_cairo_pattern):
Don't use 8x8 bitmaps for patterns. Draw all patterns with cairo.
(create_direct_pattern): Improve semi-circles rendering.
2015-04-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pattern.c (go_pattern_create_cairo_pattern): Do
2 colour translations instead of 64. Split submethods into
separate functions.
(svg_pattern): Fix scaling.
2015-04-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (_get_marker_surface),
(gog_renderer_draw_marker), (_free_marker_data): auto fill color made
transparent for opened markers (x, +, and *). [#691025]
* goffice/graph/gog-theme.c (map_marker): ditto.
* goffice/gtk/go-marker-selector.c (go_marker_palette_render_func),
(go_marker_selector_set_shape), (go_marker_selector_set_auto_fill): ditto.
* goffice/gtk/go-marker-selector.h: ditto.
* goffice/utils/go-marker.c (go_marker_is_closed_shape): ditto.
* goffice/utils/go-marker.h: ditto.
* goffice/utils/go-style.c (cb_marker_fill_color_changed),
(marker_init): ditto.
2015-03-31 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object-xml.c (gog_dtd): Remove duplicate node.
2015-03-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (make_dim_editor),
(cb_polar_unit_changed), (gog_axis_populate_editor): update circular axis
bounds after a unit change. [#746738]
2015-03-28 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): protect colored xy and
bubble plots against NULL z values.
2015-03-25 Morten Welinder <terra@gnome.org>
* plugins/plot_radar/gog-radar.c (gog_rt_plot_update): Handle log
radial axis better.
(gog_polar_plot_axis_get_bounds): Ditto.
2015-03-24 Morten Welinder <terra@gnome.org>
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds):
Use gog_axis_is_zero_important. Avoid underflow.
(gog_plot1_5d_update): Use gog_axis_data_get_bounds.
* goffice/graph/gog-axis.c (gog_axis_is_zero_important): New
function.
2015-03-20 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (_go_math_init): generate positive nan.
2015-03-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (axis_line_point): fix selection of
axes using only part of the plot area. [#746456]
2015-03-19 Morten Welinder <terra@gnome.org>
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds):
Use 0% as format instead of the ill-defined default which happens
to be 0.00% -- and that makes no sense here.
2015-03-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-line.c (goc_line_draw):
2015-03-12 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (gog_axis_data_get_bounds): New
function.
* plugins/plot_xy/gog-xy.c (gog_2d_plot_update): Use
gog_axis_data_get_bounds.
2015-03-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-matrix.c (gog_matrix_view_render): fix
rendering of matrix plots with a discrete axis.
* plugins/plot_surface/gog-xyz.c (gog_xyz_plot_axis_get_bounds): ditto.
2015-03-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (axis_line_get_bbox),
(axis_line_render): ensure that ticks on limits are not hidden
because of rounding errors.
2015-03-06 Johannes Deutsch <j_deutsch@web.de>
* goffice/canvas/goc-line.c (goc_line_draw): do not draw the line
over the arrow head at start. [#745736]
2015-03-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-03-04 Morten Welinder <terra@gnome.org>
* Release 0.10.21
2015-03-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_draw): clip each
rectangle before drawing. [#744076]
2015-03-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_create_pixbuf): Avoid
critical when loading fails.
(go_pixbuf_load_attr): Plug leak.
2015-02-28 Morten Welinder <terra@gnome.org>
* goffice/utils/go-image.c (go_image_get_info): New function.
2015-02-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c (go_image_new_from_data): ensure that GOPixbuf
keeps the original data around. [#745297]
* goffice/utils/go-pixbuf.c: ditto.
* goffice/utils/go-pixbuf.h: ditto.
2015-02-27 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_load_data): Set
->data_length.
* goffice/utils/go-image.c (go_image_new_from_data): If no image
data is given, create an unknown image placeholder.
2015-02-24 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-series-labels.c (gog_data_label_finalize):
Plug leak.
(role_data_label_post_add): Plug leak.
(gog_series_labels_finalize): Plug leak.
* goffice/graph/gog-axis-line.c
(gog_axis_base_get_crossed_axis_type): Make this public.
(gog_axis_base_get_crossed_axis_for_plot): New function -- when we
know the plot we can pick the desired axis.
2015-02-20 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-pattern-selector.c (go_pattern_tooltip_func): New
function.
* goffice/gtk/go-gradient-selector.c (go_gradient_tooltip_func):
New function.
2015-02-17 Morten Welinder <terra@gnome.org>
* goffice/utils/go-style.c (go_style_set_font_desc): Doc fix.
* goffice/utils/go-pattern.c (go_pattern_get_svg_path): Plug leak.
2015-02-16 Morten Welinder <terra@gnome.org>
* goffice/utils/go-style.c (cb_font_changed): Set auto_font.
(go_style_apply_theme): Apply font theming.
(go_style_font_sax_save): Only save font when not auto.
(go_style_sax_load_font): Be fairly smart about reading files
created prior to this fix.
(go_style_is_auto): Include auto_font and auto_color.
(go_style_line_sax_save, go_style_gradient_sax_save)
(go_style_text_layout_sax_save): Use sufficient precision.
2015-02-14 Morten Welinder <terra@gnome.org>
* goffice/utils/go-line.c (go_arrow_equal): New function.
* goffice/gtk/go-arrow-sel.c (go_arrow_sel_set_arrow): Use
go_arrow_equal.
2015-02-12 Morten Welinder <terra@gnome.org>
* goffice/utils/go-line.c: Use 0.0, not G_MINDOUBLE, to make cairo
produce dots. That seems to be the documented way to do it.
2015-02-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-rangefunc.c (go_range_increasing),
(go_range_decreasing): ignore nans. [#744200]
2015-02-11 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-arc.c (prepare_draw_arrow): Protect oval
drawing against invalid sizes.
* goffice/canvas/goc-line.c (goc_line_draw): Avoid overflow.
Round a bit more consistently.
(draw_arrow): Use go_arrow_draw.
* goffice/utils/go-line.c (go_arrow_draw): Only draw oval heads
when sizes are positive.
* goffice/gtk/go-font-sel.c (GOFontSelClass): Fix base class.
* goffice/utils/go-line.c (go_arrow_draw): New function extracted
from Gnumeric.
2015-02-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* graph/gog-chart-map.c: protect against missing data
2015-02-07 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_linear_solve_multiple):
Initialize regres. Why didn't the compiler warn about that?
2015-02-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-02-04 Morten Welinder <terra@gnome.org>
* Release 0.10.20
2015-02-04 Morten Welinder <terra@gnome.org>
* plugins/plot_barcol/gog-line.c (gog_line_series_init_style):
Don't wipe out marker colours just because the shape auto.
* plugins/plot_barcol/gog-minmax.c (gog_minmax_series_init_style): Ditto.
* plugins/plot_xy/gog-xy-minmax.c
(gog_xy_minmax_series_init_style): Ditto.
2015-01-26 Jean Brefort <jean.brefort@normalesup.org>
* plugins/reg_linear/gog-lin-reg.c: ensure that the dims number is correct
in all cases. [see #743507]
* plugins/reg_linear/gog-lin-reg.h: ditto.
* plugins/reg_linear/gog-polynom-reg.c: ditto.
2015-01-23 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-01-23 Morten Welinder <terra@gnome.org>
* Release 0.10.19
2015-01-21 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object.c (gog_object_add_by_role): Only
consider this explicitly_typed_role if the child type is not the
default.
2015-01-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_class_init): fixed typo in default map
name.
* goffice/graph/gog-guru.ui: allow the window to be maximized. [see #742897]
2015-01-17 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-rotation-sel.c (cb_rotate_changed): Avoid
rounding errors by using go_cospi and go_sinpi.
2015-01-16 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_series_update): don't loose any data when using
automatic bins. [#742996]
2015-01-14 Jean Brefort <jean.brefort@normalesup.org>
* plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_update): protect
against missing data. [#742859]
* plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_update): ditto.
* plugins/smoothing/gog-moving-avg.c (gog_moving_avg_update): ditto.
2015-01-11 Jean Brefort <jean.brefort@normalesup.org>
* libgoffice.pc.in: add missing libraries to Requires.private.
2015-01-09 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-pixmaps.c
(go_action_combo_pixmaps_create_menu_item): Use make_icon.
2015-01-08 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_offscreen_box_unrealize): Undo
the embedder part of realization too.
2015-01-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (gog_axis_line_get_ticks): don't return
invalid ticks.
2015-01-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: allow custom ticks and grid lines for axis
lines. [#600482]
* goffice/graph/gog-axis-line.h: ditto.
* goffice/graph/gog-axis-prefs.ui: ditto.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart.c: ditto.
* goffice/graph/gog-grid-line.c: ditto.
2015-01-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: fix axis title position when at high coordinate.
2015-01-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-impl.h: add GO_DATA_HAS_VALUE to GODataFlags.
* goffice/data/go-data.c: new go_data_has_value().
* goffice/data/go-data.h: ditto.
* goffice/graph/gog-series.c: don't use a data vector with no valid value.
[#741910]
* plugins/plot_xy/gog-xy.c: protect against NULL y vector.
2015-01-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_draw): implement native scrolling.
[#741394]
2015-01-06 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_offscreen_box_realize): Only
make window composited if the screen is. See bug 741455.
2015-01-04 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (update_preview_cb): Fix flags
argument of gtk_icon_theme_load_icon.
(go_gtk_widget_render_icon_pixbuf): New function.
* goffice/gtk/go-action-combo-pixmaps.c (make_icon): Use
go_gtk_widget_render_icon_pixbuf.
* goffice/gtk/go-action-combo-color.c (make_icon): Ditto.
2015-01-02 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_button_build_with_stock): Make
this work with icon names.
2014-12-31 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_guess_encoding): Lean a bit
heavier on libxml's encoding guess instead of g_get_charset which
may be a bit random.
2014-12-29 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.h (go_gtk_builder_new_internal): Remove.
Anyone crazy enough to use that deserves the pain.
2014-12-28 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_builder_load_internal):
Actually handle the claimed data: prefix.
* goffice/gtk/go-color-palette.c: Avoid GtkColorSelDialog which is
_gone_ from current gtk+. Use GtkColorChooserWidget instead.
* goffice/gtk/go-color-selector.c: Ditto.
2014-12-26 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-pixmaps.c (make_icon): Handle a
stock_id which is really an icon name.
2014-12-25 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-stack.c (cb_reconfig): Simplify
using gtk_action_create_icon which also handled named icons.
2014-12-15 Morten Welinder <terra@gnome.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_view_render): Cleanup. Avoid warnings. Avoid
unneccesary overflow.
2014-12-06 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-canvas.c (goc_canvas_draw): Plug leak.
(_goc_canvas_remove_item): New function. Use of this fixes
several crashes.
* goffice/canvas/goc-group.c (goc_group_remove_child): Don't mess
directly with the canvas' members here. Tell the canvas that
child is gone.
(goc_group_add_child): If the canvas changes, tell the old canvas
that child is gone.
* goffice/canvas/goc-item.c (goc_item_dispose): Don't mess
directly with the canvas' members here.
2014-11-26 Jean Brefort <jean.brefort@normalesup.org>
reviewed by: <delete if not using a buddy>
* goffice/graph/gog-axis.c (gog_axis_view_padding_request),
(gog_axis_view_size_allocate): Move the titles with the axis when some other
axis has an offset. [#684777]
2014-11-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (gog_axis_base_init_style): allow rotation
of axis line labels. [#740198]
2014-10-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_draw),
(goc_canvas_finalize), (goc_canvas_init), (goc_canvas_invalidate),
(goc_canvas_invalidate_region): add new goc_canvas_invalidate_region().
* goffice/canvas/goc-canvas.h: ditto.
2014-09-27 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-box.c (cb_state_flags_change): Don't use
deprecated signal and functions.
2014-09-25 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-09-25 Morten Welinder <terra@gnome.org>
* Release 0.10.18
2014-09-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-text.c (go_anchor_type_get_type),
(goc_text_prepare_draw), (goc_text_draw): add baseline anchor values.
* goffice/utils/go-emf.c (go_emf_dc_free), (go_emf_settextalign),
(go_emf_savedc), (go_emf_selectobject), (go_emf_bitblt),
(go_emf_extcreatefontindirectw), (go_emf_exttextouta),
(go_emf_exttextoutw), (go_emf_parse): partial implementation of text
support.
* goffice/utils/goffice-utils.h: add baseline anchor values.
2014-08-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c (go_data_vector_str_load_values),
(go_data_vector_str_get_value): don't pass NULL to g_strtod(). [#735555]
2014-08-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/graph/gog-axis-color-map.c (save_name_cb): don't skip
encoding on user entered names
2014-08-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map.c (gog_axis_color_map_save): better
file mode, (color_maps_load_from_dir): don't check the mime type as it
seems not so reliable, just check the extension. [#735007]
2014-08-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map.c (gog_axis_color_map_save): create
$HOME/.goffice/colormaps if needed. [#735008]
2014-08-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (cb_pattern_type_activate),
(cb_brightness_changed), (cb_gradient_type_changed),
(cb_fill_type_changed), (cb_font_color_changed),
(cb_angle_changed): fixed more auto style issues. [see Debian #757611]
2014-07-28 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-color.c
(go_combo_color_set_color_internal): Copy the pixbuf and set it
back onto the image. An ABI change in gtk means that changes no
longer take effect right away if we just change the image's pixbuf
directly. Fixes #733350.
2014-07-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (cb_outline_size_changed),
(cb_line_size_changed): fixed persistence of line width.
2014-07-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_init): center ticks by default.
* goffice/graph/gog-renderer.c (_draw_rotated_shape): add a missing
cairo_restore() call.
2014-07-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-trend-line.c (gog_trend_line_init_style): fix another
theme support issue.
2014-07-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-grid-line.c (gog_grid_line_init_style): fix theme
support. [#733403]
2014-06-09 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-06-09 Morten Welinder <terra@gnome.org>
* Release 0.10.17
2014-05-30 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (_go_math_init): Ensure test is locale
independent.
2014-05-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: new GoUnit objects.
* goffice/goffice.c (libgoffice_shutdown): ditto.
* goffice/graph/gog-axis.c: Add control for 3D plots axes lengths. [#694746]
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart.c (gog_chart_view_3d_process): ditto.
* goffice/utils/goffice-utils.h: new GoUnit objects.
* goffice/utils/go-unit.c: ditto.
* goffice/utils/go-unit.h: ditto.
2014-05-23 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-05-23 Morten Welinder <terra@gnome.org>
* Release 0.10.16
2014-05-10 Morten Welinder <terra@gnome.org>
* goffice/utils/go-style.c (go_style_get_marker): Constify.
2014-05-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c (gog_graph_view_render): don't crash when
selecting the 3d box.
2014-05-08 Morten Welinder <terra@gnome.org>
* goffice/utils/go-style.c (go_style_sax_load_line): Read
auto-width.
(go_style_line_sax_save): Save auto_width. Don't save width when
auto_width.
(go_style_apply_theme): Apply font color.
(go_style_font_sax_save): Save auto_color and auto_font (but see
comments).
(go_style_sax_load_font): Read auto-color.
* goffice/graph/gog-axis.c (map_linear_calc_ticks): Keep values as
integers as long as possible.
2014-05-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-line.c: restore dashes with dots.
2014-05-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-3d-box.c (gog_3d_box_class_init): add a view class for
the 3d box to support data that are view dependent.
* goffice/graph/gog-3d-box.h: ditto.
* goffice/graph/gog-axis-line.c (xyz_process): change gog_chart_map_3d_new()
signature to suppor the new view class.
* goffice/graph/gog-chart-map-3d.c (xyz_map_3D_to_view),
(gog_chart_map_3d_new), (gog_chart_map_3d_free): ditto.
* goffice/graph/gog-chart-map-3d.h: ditto.
* goffice/graph/gog-chart.c (gog_chart_view_3d_process): ditto.
* goffice/graph/gog-grid-line.c (gog_grid_line_xyz_render): ditto.
* goffice/graph/gog-grid.c (gog_grid_view_xyz_render): ditto.
* plugins/plot_surface/gog-surface.c (gog_surface_view_render): ditto.
2014-05-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-3d-box.c (cb_g3d_update),
(gog_3d_box_populate_editor): fixed criticals.
2014-05-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c (idle_handler): don't use GDK_THREADS_*.
[728793]
2014-04-30 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-04-30 Morten Welinder <terra@gnome.org>
* Release 0.10.15
2014-04-29 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (fmt_fp): Fix FMR.
(go_dtoa): Speed up shortest-representation.
2014-04-28 Morten Welinder <terra@gnome.org>
* tests/test-format.c (test_general_format): Simple test for
shortest-representation.
* goffice/utils/go-format.c (go_render_general): When we have
infinite room, just use go_dtoa to get the shortest
representation.
* goffice/math/go-dtoa.c (go_dtoa): Improve short-representation
handling.
2014-03-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_element_to_odf):
add arguments, change all callers and output gnm:min-integer-chars
(go_format_output_number_to_odf): handle the difference between ? and #
2014-04-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: add expand fields to GogPosition.
* goffice/graph/gog-graph.c (gog_graph_class_init): make charts expand.
* goffice/graph/gog-label.c (gog_text_view_render): fix alignment.
* goffice/graph/gog-object.c (gog_object_get_manual_allocation): take expand
field into account. [#728752]
2014-04-22 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (go_dtoa): Mostly implement the
shortest-version flag.
* goffice/graph/gog-object-xml.c (gog_object_write_property_sax):
Properly handle float/double properties.
* goffice/utils/go-format.c (go_format_output_number_to_odf):
Handle TOK_REPEATED_CHAR.
2014-04-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_number_to_odf):
Improve phase detection.
2014-04-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_number_to_odf):
Handle text formats here too. That might not seem logical, but a
text format really just has an "@" instead of some combination of
0/#/?; all the other parts are handled identically.
2014-04-19 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_number_to_odf):
Handle invisible characters again.
2014-04-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_get_manual_allocation): use
available space when position is manual but size is automatic. [#728391]
2014-04-16 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-view.c (gog_view_size_request): Zero
requisition before calling virtual method. All callers expect
this.
2014-04-15 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_filename_simplify): Fix argument
type for g_lstat.
* goffice/app/go-plugin.c (get_file_state_as_string): Use g_stat,
not raw stat.
* goffice/utils/go-style.c (go_style_marker_sax_save): Don't
output (meaningless) values for things that are "auto".
(go_style_line_sax_save): Ditto.
2014-04-14 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (fmt_fp): Portability improvement.
2014-04-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c (gog_graph_class_init): explicitly allow manual
charts size. [728134]
* goffice/graph/gog-object.c (gog_object_get_manual_allocation): take
manual size flags into account.
2014-04-13 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object.c (cb_manual_size_changed): Use a
canonical gboolean as argument to gtk_widget_set_visible.
(cb_update_editor): Ditto.
2014-04-13 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-04-13 Morten Welinder <terra@gnome.org>
* Release 0.10.14
2014-04-11 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-canvas.c (goc_canvas_realize)
(goc_canvas_unrealize): Install these as class methods, not
signals.
2014-04-10 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c: When building with
!GOFFICE_WITH_LONG_DOUBLE, don't use go_finitel. Just assume we
have isfinite.
* goffice/canvas/goc-item.c (cb_hierarchy_changed): Renamed from
cb_parent_changed.
(goc_item_get_style_context): Also watch ::canvas.
2014-04-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_render_general): Drop a decimal by
double-rounding the decimal string unless the string ends in '5'.
* goffice/math/go-dtoa.c (go_dtoa): Improve long-double handling.
2014-04-07 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (fmt_fp): Three fixes from musl. (One we
already had.)
* goffice/app/go-plugin.c (go_plugin_db_deactivate_plugin_list):
Another leak fix.
(go_plugins_get_available_plugins): Introspection fix.
2014-04-04 Morten Welinder <terra@gnome.org>
* goffice/math/go-dtoa.c (go_dtoa): New function.
(fmt_fp): Fix buffer overrun. Hit "%.3E" for 999999999.
* goffice/utils/go-format.c: Use go_dtoa extensively.
2014-04-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_number_to_odf): Also
flush string on '#' and '?'.
* goffice/math/go-math.c (go_fake_round): Fix problem for 2^51 and
like integers.
(go_fake_roundl): Ditto, although for different set of numbers.
(go_rint): Just use rint.
* tests/test-format.c: New test program.
* goffice/utils/go-format.c (go_format_output_conditional_to_odf):
Use go_ascii_dtoa.
(_go_number_format_init): Remove unused beyond_precision.
* goffice/math/go-math.c (go_ascii_dtoa): New function.
2014-04-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_conditional_to_odf):
Only use last condition as default if it is implicit. If that in
turn means we have no default, use General.
2014-04-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-rectangle.c (goc_rectangle_draw): always call
cairo_restore().
2014-03-31 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_number_to_odf):
Remove remaining cond_part references. Handle embedded text.
2014-03-30 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-plot-engine.c
(gog_trend_line_service_deactivate): Plug leak.
(gog_plot_type_service_deactivate): Ditto.
* goffice/app/go-plugin.c (go_plugin_db_deactivate_plugin_list):
Retry failed deactivations as long as we make progress. (Some
plugins depend on others.)
2014-03-28 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_parse_color): Implement
numbered colours instead of just parsing them.
2014-03-27 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_general_to_odf):
Match what LO does for "General".
(go_format_output_date_to_odf, go_format_output_to_odf): Make sure
we don't accidentally output a non-character token as-if it was a
single character.
2014-03-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_conditional_to_odf):
Don't make up a number format with nothing but maps in it. LO
doesn't really like that.
(go_format_output_simple_to_odf): New argument keep_open controls
whether to close the outermost xml tag.
(odf_output_color): New function. Use this for all odf fornat
colour output.
2014-03-25 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_to_odf): Handle
conditional formats.
(go_format_output_simple_to_odf): New function extracted from
go_format_output_to_odf.
(go_format_output_conditional_to_odf): New function.
2014-03-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_odf_style_map): fix format
prefix strings
2014-03-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_odf_style_map): figure
out the correct number of digits to use for condition values
2014-03-18 Morten Welinder <terra@gnome.org>
* Release 0.10.13
2014-03-18 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-03-17 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-child-button.c
(build_addition_process_children): Renamed from
build_addition_process_childs. Plug leak.
* goffice/canvas/goc-canvas.c (goc_canvas_dispose): Dispose of
->root instead of simply clearing it.
* goffice/canvas/goc-item.c (goc_item_dispose): Dispose of style
context, if we have one.
2014-03-16 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-polyline.c (goc_polyline_distance): Don't
save and restore style->width. Code was changed four years ago to
copy the style. And restoring after the _unref is bad.
* goffice/canvas/goc-polygon.c (goc_polygon_distance): Ditto.
* goffice/math/go-math.c (_go_math_init): Add test for buggy math
library (probably caused by compiler bug).
2014-03-15 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pango-extras.c (go_pango_translate_here): Plug
leak.
2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_dispose): fix criticals
related to style contexts destruction.
2014-03-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_init): really accept
leave_notify events. [#668103][see also #706659]
2014-03-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_to_odf): write
any started number.
2014-03-12 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-gsettings.c (go_conf_load_str_list): Don't
reverse the order of elements. Fixes #698630.
2014-03-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_to_odf): write
invisible characters but also write blank for LO and friends
2014-03-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_scientific_number_to_odf):
don't skip
2014-03-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_to_odf): write
invisible characters; add argument
(go_format_output_to_odf): adjust call to go_format_output_number_to_odf
2014-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c (go_file_open): use GsfInputHTTP for URLs
starting with "http://" or "https://". [see #724970]
2014-03-05 Jean Brefort <jean.brefort@normalesup.org>
* configure.ac: add test for lsm_itex_to_mathml
* plugins/lasem/component.c: use a local copy of lsm_itex_to_mathml and
friend when not available. [#725693]
* mmlitex/Makefile.am: remove extra DESTDIR. Patch from Julian
Sikorski. [#725684]
2014-03-03 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-03-03 Morten Welinder <terra@gnome.org>
* Release 0.10.12
2014-03-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-rotation-sel.c: fixed parent class.
2014-02-19 Jean Brefort <jean.brefort@normalesup.org>
* Makefile.am: add new mmlitex subdir.
* configure.ac: need libxslt.
* goffice/Makefile.am: add new files.
* goffice/component/go-component.c: fix data cleaning issues.
* goffice/graph/gog-equation.c: use the new GoMathEditor widget.
* goffice/gtk/go-font-sel.c: add go_font_sel_get_color().
* goffice/gtk/go-font-sel.h: ditto.
* goffice/gtk/go-math-editor.c: new math editor widget.
* goffice/gtk/go-math-editor.h: ditto.
* goffice/gtk/go-rotation-sel.c: use GtkGrid as parent.
* goffice/gtk/goffice-gtk.h: add the new GoMathEditor widget.
* goffice/utils/go-mml-to-itex.c: new MathML to ITEX convertor.
* goffice/utils/go-mml-to-itex.h: ditto.
* goffice/utils/goffice-utils.h: ditto.
* mmlitex/Makefile.am: ditto.
* mmlitex/README: ditto.
* mmlitex/cmarkup.xsl: ditto.
* mmlitex/entities.xsl: ditto.
* mmlitex/glayout.xsl: ditto.
* mmlitex/mmlitex.xsl: ditto.
* mmlitex/scripts.xsl: ditto.
* mmlitex/tables.xsl: ditto.
* mmlitex/tokens.xsl: ditto.
* plugins/Makefile.am: new math equations component.
* plugins/lasem/Makefile.am: ditto.
* plugins/lasem/component.c: ditto.
* plugins/lasem/plugin.xml.in: ditto.
2014-02-16 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-02-16 Morten Welinder <terra@gnome.org>
* Release 0.10.11
2014-02-11 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-02-11 Morten Welinder <terra@gnome.org>
* Release 0.10.10
2014-02-07 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (dt_add): && --> ||. Fixes bug 723820.
2014-01-31 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-pixmaps.c (cb_toolbar_reconfigured):
Redo all icons here.
* goffice/gtk/go-combo-color.c (go_combo_color_set_icon): New
function.
* goffice/gtk/go-combo-pixmaps.c
(go_combo_pixmaps_clear_elements): New function.
* goffice/gtk/go-action-combo-pixmaps.c (make_icon): Simplify
sizing.
* goffice/gtk/go-action-combo-color.c
(go_action_combo_color_create_tool_item): Handle reconfiguration
of the toolbar the item is in.
(make_icon): Simplify sizing.
* goffice/gtk/go-action-combo-stack.c
(go_action_combo_stack_create_tool_item): Handle reconfiguration
of the toolbar the item is in.
2014-01-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (gog_axis_base_set_property),
(gog_axis_base_class_init): always save the axis position. [#722402]
2014-01-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): fix compiler warning.
[#721004]
2013-12-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_render_general): If we're not
width-limited, add an extra digit if we don't round-trip properly.
Fix dropping of ".00000".
2013-12-23 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_atan2_special): Do quarters too.
2013-12-18 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_sin, go_quad_sinpi)
(go_quad_asin, go_quad_cos, go_quad_cospi, go_quad_acos): New
functions.
* goffice/math/go-complex.c (go_complex_from_polar_pi): Use
go_sinpi and go_cospi.
(go_complex_angle_pi): Use go_atan2pi.
(go_complex_pow): Improve accuracy.
* goffice/math/go-math.c (go_sinpi, go_cospi, go_tanpi): New
functions.
2013-12-17 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_add_epsilon, go_sub_epsilon): Base
upon C99's nextafter.
* tests/test-quad.c (floor_tests): Test asin and acos.
* goffice/math/go-quad.c (go_quad_acos, go_quad_asin): new
functions.
* goffice/math/go-complex.c (go_complex_from_polar_pi)
(go_complex_angle_pi): Handle diagonals too.
2013-12-16 Morten Welinder <terra@gnome.org>
* tests/test-quad.c (main): Test hypot.
* goffice/math/go-quad.c: Fix the on-axis case. *Sigh*
2013-12-13 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_radar/gog-radar.c (gog_rt_series_update): fix elements
number in polar plot series. [#720355]
2013-12-12 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_pow): Improve prevention
of intermediate overflow.
2013-12-12 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-boxplot.c
(gog_box_plot_axis_get_bounds): fix crasher [#720310],
(gog_box_plot_view_render): fix valgrind warning.
2013-12-07 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-font-sel.c (update_preview_after_face_change)
(go_font_sel_set_style): Fix enum confusion.
2013-12-05 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_pi): New constant.
(go_quad_log, go_quad_atan2, go_quad_atan2pi): New functions.
* tests/test-quad.c (main): Check value of go_quad_2pi.
Test go_quad_atan2.
2013-12-04 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_pow): Fix class over
premature overflow problems.
2013-12-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.ui:fix graph guru appearance when used with
gtk+-3.10. [#719681]
2013-11-28 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-11-28 Morten Welinder <terra@gnome.org>
* Release 0.10.9
2013-11-19 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_load_attr): Handle crazy
rowstride. Attempt at a fix for #712663.
2013-11-10 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (pi_hex_digits, ...): Keep one copy only,
not one per type.
2013-11-04 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_pow, go_quad_exp)
(go_quad_expm1, go_quad_floor): new functions.
* goffice/math/go-quad.h (go_quad_one, go_quad_pi, go_quad_e)
(go_quad_ln2, go_quad_sqrt2, go_quad_euler): Supply a handful of
useful constants at high accuracy.
2013-10-07 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-10-07 Morten Welinder <terra@gnome.org>
* Release 0.10.8
2013-10-04 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_set_menu): When a
new menu is set, clear the selected item. [#709438]
2013-10-01 Morten Welinder <terra@gnome.org>
* goffice/Makefile.am (ALL_HDRS): We also need goffice.h
* goffice/gtk/go-font-sel-dialog.c (go_font_sel_dialog_new):
Actually implement.
* goffice/Makefile.am (goffice.def): Don't export go_plugin_init
and go_plugin_shutdown (which are prototyped because modules may
defined them).
(ALL_HDRS): Export gtk related headers too.
* goffice/utils/go-styled-object.h: Remove
go_styled_object_is_filled which isn't implemented.
2013-10-01 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.10-sections.txt: never redefine GtkJustfication,
use GoJustification instead. [#709007]
* goffice/graph/gog-axis-line.c (axis_line_render),
(axis_circle_render): ditto.
* goffice/graph/gog-color-scale.c (gog_color_scale_view_render): ditto.
* goffice/graph/gog-label.c (gog_label_set_property),
(gog_label_get_property), (gog_label_init), (gog_text_view_render): ditto.
* goffice/graph/gog-legend.c (cb_render_elements): ditto.
* goffice/graph/gog-renderer.c (gog_renderer_draw_gostring),
(gog_renderer_draw_text): ditto.
* goffice/graph/gog-renderer.h: ditto.
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_view_render): ditto.
2013-09-26 Morten Welinder <terra@gnome.org>
* goffice/goffice.h: Don't check glib version when macro check
will do.
2013-09-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/smoothing/gog-exp-smooth.c (gog_exp_smooth_update): protect
against missing x values. [#708562]
* plugins/smoothing/gog-moving-avg.c (gog_moving_avg_update): ditto.
2013-09-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart.c (gog_chart_axis_set_assign): do not remove
extra axes after adding a plot. [#708292]
2013-09-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-color-scale.c (gog_color_scale_view_render): ensure that
the scale doe not extend outside of its bounding box, especially when axis
settings are wrong or missing.
* goffice/gtk/go-combo-box.c: make gtk-doc happy.
2013-09-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: add subdir-objects option.
2013-09-01 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-09-01 Morten Welinder <terra@gnome.org>
* Release 0.10.7
2013-08-27 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-08-27 Morten Welinder <terra@gnome.org>
* Release 0.10.6
2013-08-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c (gog_line_view_render): always allocate
enough room for points. [#706663]
2013-08-20 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-canvas.c (goc_canvas_draw): Fix redraw issues
for gtk+ 3.9 and up. Patch from Alexander Larsson <alexl@redhat.com>
in bug 703124.
2013-08-19 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-08-19 Morten Welinder <terra@gnome.org>
* Release 0.10.5
2013-08-17 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_matrix_plot_build_matrix),
(gog_xyz_surface_plot_build_matrix): fix third axis range evaluation. See
bug 705913, comment 23.
2013-08-15 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy-dropbar.c (gog_xy_dropbar_plot_update): fixed x/y
confusion.
* plugins/plot_xy/gog-xy-minmax.c (gog_xy_minmax_plot_update): ditto,
(gog_xy_minmax_plot_finalize), (gog_xy_minmax_plot_class_init): unref the
formats. See bug 705913, comment 6.
* plugins/plot_xy/plot-types.xml.in: fixed min max plots types.
2013-08-15 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz.c (gog_xyz_plot_update_3d),
(gog_xyz_plot_get_x_vals), (gog_xyz_plot_get_y_vals): fixed memory leaks.
2013-08-14 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c (gog_contour_view_render): don't crash
if there is no color is used. [#705913]
2013-08-11 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (_go_format_builtins)
(_go_format_currencies): Change from variabless to functions.
Improve C standard compliance in the process.
2013-08-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c: fix build without gtk.
* goffice/graph/gog-renderer.h: ditto.
* goffice/utils/go-editor.c (go_editor_add_page): ditto.
* goffice/utils/go-image.c (go_image_draw_fb),
(go_image_get_pixbuf_fb), (go_image_new_from_data): ditto and fix crash
when drawing a fallback image without gtk (from ssconvert). [#705677]
2013-08-05 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.10-sections.txt: make gtk-doc happy.
* goffice/graph/gog-chart-map.c (xy_make_path_step): remove an unneeded
lineto instruction.
* goffice/math/go-matrix.c: make gtk-doc happy.
* goffice/utils/go-path.c (go_path_add_points),
(go_path_interpret_full), (go_path_copy),
(go_path_copy_restricted), (go_path_append): two new functions and sanitize
a few others.
* goffice/utils/go-path.h: new functions.
* plugins/plot_barcol/gog-line.c (gog_line_view_get_data_at_point),
(gog_line_view_render):, (gog_line_view_class_init): implement
get_data_at_point for area and line plots and fix rendring of stacked area
plots. [#627277][#689661][#705034]
* plugins/plot_xy/gog-xy.c (gog_xy_view_get_data_at_point): minor
optimization.
2013-08-02 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-bubble-prefs.ui: fix area vs diameter selection.
[#705312]
2013-07-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_to_odf): watch for conditions
without format
2013-07-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_save),
(go_pixbuf_load_data), (go_pixbuf_draw): fix more out of memory issues.
[#705005]
2013-07-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_load_data): use g_try_malloc instead
of g_malloc to avoid crashes. [#704560]
2013-07-18 Jean Brefort <jean.brefort@normalesup.org>
reviewed by: <delete if not using a buddy>
* goffice/canvas/goc-ellipse.c (goc_ellipse_distance): fixed.
* goffice/canvas/goc-path.c (goc_path_distance): fixed distance evaluation.
[#704391]
* goffice/canvas/goc-text.c (goc_text_set_property),
(goc_text_prepare_draw), (goc_text_update_bounds),
(goc_text_distance), (goc_text_draw), (goc_text_style_changed),
(goc_text_class_init): fixed text position. [#704391]
* goffice/canvas/goc-text.h: ditto.
2013-07-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_new_from_data), (go_emf_parse): protect
against missing data. [#704311]
2013-07-15 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_linear_regression_leverage):
Prescale.
2013-07-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/goffice-component.h: move includes outside of
G_BEGIN_DECLS/G_END_DECLS.
2013-07-10 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-07-10 Morten Welinder <terra@gnome.org>
* Release 0.10.4
2013-07-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c (go_image_get_thumbnail),
(go_image_get_pixbuf), (go_image_get_scaled_pixbuf),
(go_image_set_name), (go_image_get_width), (go_image_get_height): protect
against invalid image argument [#703949]
2013-07-09 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (general_linear_regression):
Restore initialization of N2. Prescale x values.
2013-07-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_save),
(go_pixbuf_load_data), (go_pixbuf_draw): avoid writing to a NULL buffer.
2013-07-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_load_data): fix loading of image with
invalid size or data. [#703740]
2013-07-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-doc.c (load_image): check for NULL attrs
2013-07-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc.c (go_doc_image_fetch): make it more secure.
2013-06-25 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-06-25 Morten Welinder <terra@gnome.org>
* Release 0.10.3
2013-06-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c (gog_graph_finalize): destroy all sources.
[#702887]
* goffice/graph/gog-theme.c (gog_theme_get_color_map),
(gog_theme_set_name), (gog_theme_set_description), (gog_theme_dup),
(gog_theme_edit): check the argument type.
2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-label.c (gog_text_view_natural_size),
(gog_text_view_class_init): implement natural_size().
* goffice/utils/go-pattern.c (go_pattern_create_cairo_pattern): fix build.
2013-06-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pattern.c (go_pattern_get_pattern),
(go_pattern_create_cairo_pattern): don't use an invalid pattern.
[see #702833]
* goffice/utils/go-style.c (go_style_set_cairo_line): ditto.
2013-06-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.ui: set a minimal size. [#699473]
2013-06-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-data-set.c (gog_dataset_dims),
(gog_dataset_get_dim), (gog_dataset_set_dim): protect against a NULL set.
(see #702126).
2013-06-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-matrix.c (gog_matrix_view_render): ensure that
the plot is always rendered.
2013-06-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz-surface-prefs.c
(cb_missing_as_changed), (gog_xyz_surface_plot_pref): fixed "missing as"
combo box.
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_matrix_plot_build_matrix),
(gog_xyz_surface_plot_build_matrix),
(gog_xyz_surface_plot_set_property): force update when bins change.
* plugins/plot_surface/gog-xyz-surface.h: make two halper functions public.
2013-06-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_get_color_scale): make public.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart.c: ensure that contour plot slices don't appear in
legend when a color scale is used.
* plugins/plot_surface/chart_contour_2_2.svg: new pixmaps.
* plugins/plot_surface/chart_matrix_1_1.svg: ditto.
* plugins/plot_surface/chart_matrix_1_2.svg: ditto.
* plugins/plot_surface/chart_matrix_1_3.svg: ditto.
* plugins/plot_surface/chart_surface_2_3.svg: ditto.
* plugins/plot_surface/Makefile.am: new files.
* plugins/plot_surface/gog-contour.c: make compatible with XY plots.
* plugins/plot_surface/gog-contour.h: ditto.
* plugins/plot_surface/gog-matrix.c: new matrix plots. [#657918][#680806]
* plugins/plot_surface/gog-matrix.h:
* plugins/plot_surface/gog-surface.c: make compatible with XY plots.
* plugins/plot_surface/gog-xyz-surface-prefs.c: ditto.
* plugins/plot_surface/gog-xyz-surface-prefs.ui: ditto.
* plugins/plot_surface/gog-xyz-surface.c: add new plot types.
* plugins/plot_surface/gog-xyz-surface.h: ditto.
* plugins/plot_surface/gog-xyz.c: ditto.
* plugins/plot_surface/gog-xyz.h: ditto.
* plugins/plot_surface/matrix.xpm: new pixmap
* plugins/plot_surface/plot-types.xml.in: add new plot types.
* plugins/plot_surface/plugin.xml.in: ditto.
* plugins/plot_surface/xl-surface.c: make compatible with XY plots.
2013-06-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-label.c (gog_reg_eqn_populate_editor): allow regression
equation frame to rotate with text. [#701546]
2013-05-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-color-scale.c
(gog_color_scale_set_orientation), (position_fill_cb),
(position_changed_cb), (direction_changed_cb),
(gog_color_scale_set_property), (gog_color_scale_class_init),
(gog_color_scale_view_size_request),
(gog_color_scale_view_size_allocate),
(gog_color_scale_view_render), (gog_color_scale_view_class_init): allow
color scales to have titles. [#688595]
* goffice/graph/gog-label.c (gog_text_init_style): ditto.
2013-05-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c (libgoffice_init): fixed warnings.
* goffice/graph/gog-view.h: ditto.
* goffice/gtk/go-combo-box.h: ditto.
* goffice/math/go-R.h: ditto.
* goffice/utils/go-glib-extras.c: ditto.
2013-05-21 Morten Welinder <terra@gnome.org>
* goffice/goffice.c (libgoffice_init): Install the unknown_image
icon here.
2013-05-13 Morten Welinder <terra@gnome.org>
* goffice/utils/go-svg.c: Try another variant of previous fix.
2013-05-12 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (general_linear_regression): Take
threshold argument. All callers changed. Detect and mark
degenerate dimensions; adjust degrees-of-freedom accordingly.
Compute coefficient variances in a way that negatives can be ruled
out.
* goffice/math/go-matrix.c (go_quad_matrix_dump): New function for
debugging.
(go_quad_qr_determinant): Move the determinant computation here.
(go_quad_qr_mark_degenerate): New function.
(go_quad_matrix_back_solve, go_quad_matrix_fwd_solve): Handle
degenerate dimensions.
2013-05-11 Morten Welinder <terra@gnome.org>
* goffice/component/go-component.c: Fix issue with librsvg includes.
* goffice/utils/go-svg.c: Ditto. Fixes #695167.
2013-05-03 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_matrix_pseudo_inverse): Improve
algorithm.
2013-05-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: add new UI file.
* goffice/goffice.c (libgoffice_init): implement color scales.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-axis-color-map.c: ditto.
* goffice/graph/gog-axis-color-map.h: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart.c: ditto.
* goffice/graph/gog-color-scale-prefs.ui: new UI file.
* goffice/graph/gog-color-scale.c: implement color scales.
* goffice/graph/gog-color-scale.h: ditto.
* goffice/graph/gog-object.c: fix manual size issues.
* goffice/graph/gog-renderer.c (gog_renderer_draw_color_map): new
function.
* goffice/graph/gog-renderer.h: ditto.
* goffice/graph/gog-theme.c (build_predefined_themes): add color scale.
* goffice/graph/gog-view.c (gog_view_size_allocate_real): fix
manual size issues.
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): don't crash when inverting the
pseudo-3d axis.
* plugins/plot_surface/gog-xyz-prefs.c: add an option to not show
the colors in the legend.
* plugins/plot_surface/gog-xyz-prefs.ui: ditto.
2013-04-30 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_matrix_pseudo_inverse): New
function.
2013-04-26 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-04-26 Morten Welinder <terra@gnome.org>
* Release 0.10.2
2013-04-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-font-sel.c (gfs_screen_changed): ensure a full
initialization of all fields in the font selector. [#698867]
2013-04-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c (gog_series_populate_editor): hide the skip
invalid checkbox for line and area plots.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): fixed skip invalid
test.
2013-04-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-prefs.ui: fix interpolation selector.
* goffice/graph/gog-series.c (gog_series_set_property),
(cb_line_interpolation_changed), (gog_series_populate_editor): ditto.
* goffice/utils/go-style.c (outline_init):
* plugins/plot_barcol/gog-1.5d.c (go_plugin_init): add new area series type.
* plugins/plot_barcol/gog-line.c: implement interpolation in line and area
plots. [#698534]
* plugins/plot_barcol/gog-line.h: ditto.
2013-04-24 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_offscreen_box_size_allocate):
Clip crazy height/width to avoid program crash.
2013-04-19 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-color.c
(go_action_combo_color_create_tool_item): Show arrow only in
horizontal mode.
* goffice/gtk/go-combo-pixmaps.c (cb_preview_clicked): If arrow
isn't shown, just pop up the choices.
* goffice/gtk/go-action-combo-pixmaps.c
(go_action_combo_pixmaps_create_tool_item): Show arrow only in
horizontal mode.
* goffice/gtk/go-combo-box.c (go_combo_box_class_init): Install
"title" and "show-arrow" properties.
2013-04-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-box.c (go_combo_box_dispose): Rename from
go_combo_box_destroy and hooked up accordingly.
* goffice/gtk/go-combo-pixmaps.c (go_combo_pixmaps_init): Keep a
ref to grid.
(go_combo_pixmaps_screen_changed): Install as class handler, not
explicit signal.
(go_menu_pixmaps_add_element): Remove workaround for gtk+ 2.16
bug.
2013-04-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (gog_renderer_export_image): don't cache
markers when exporting to svg until things are fixed in cairo
(https://bugs.freedesktop.org/show_bug.cgi?id=63633). [#698162]
2013-04-16 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_file_sel_dialog): Don't use
hack post gtk+ 3.4.
2013-04-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-editor.c (go_editor_add_page): add a reference to the
widget when not using a scrolled window. Avoids unrefing a disposed object.
[#698150]
2013-04-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_set_transform): fix test. [#698101]
* goffice/utils/go-editor.c (go_editor_new): initialize
GOEditor::use_scrolled. [#698102]
2013-04-15 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): fixed style in scatter plot
after a valid but with invisible line series. [#698057]
2013-04-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (font_init): show the font face selector.
[#697243]
2013-03-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_set_property),
(go_component_get_property), (go_component_finalize),
(go_component_class_init), (go_component_init),
(go_component_duplicate), (go_component_set_inline),
(go_component_get_inline), (go_component_set_use_font_from_app),
(go_component_get_use_font_from_app): new property and functions.
* goffice/component/go-component.h: ditto.
2013-03-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_get_editor): force pages inside a
scrolled window.
* goffice/utils/go-editor.c (go_editor_add_page),
(go_editor_set_store_page), (go_editor_set_use_scrolled_window): make the
scrolled window optional. [#696825]
* goffice/utils/go-editor.h:
2013-03-27 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_widget_connect_signals): Plug
leak.
(goc_widget_set_widget): Properly disconnect signals.
2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_connect_signals),
(goc_widget_set_widget): connetc the signals to all widgets including those
inside a container. [#696533]
2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_distance): fixed distance
evaluation. This ensure that the cursor is correctly updated.
2013-03-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-format-sel.ui: fix currency selector visibility. [#696647]
2013-03-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pattern.c (go_pattern_is_solid): Handle greys.
* goffice/canvas/goc-group.c (goc_group_add_child): Only notify of
canvas changes when the canvas actually does change.
* goffice/canvas/goc-item.c (goc_item_get_style_context): Track
parent changes.
2013-03-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_draw),
(goc_item_draw_region): simplify.
2013-03-25 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-item.c (goc_item_get_style_context): Avoid
3.4 dependency.
2013-03-25 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_render): one more
uninitialized value issue fixed.
2013-03-25 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): don't use
uninitialized values. [#696569]
2013-03-25 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-polyline.c (goc_polyline_draw): Fix cairo
save stack imbalance.
2013-03-23 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-item.c (goc_item_get_style_context): New
function.
2013-03-22 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_position): Plug
leak.
2013-03-21 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_build): New
function.
* goffice/gtk/go-font-sel.c: Add underline support.
2013-03-20 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_set_history): Plug
leak.
(go_option_menu_get_menu): New function.
* goffice/gtk/go-font-sel.c: Add color group.
(go_font_sel_set_color): Add is_default argument and make this
public.
* goffice/gtk/go-color-group.c (go_color_group_finalize): Don't
leak the hash.
* goffice/gtk/go-combo-color.c (go_combo_color_class_init): Fix
type of first argument of color_changed signal. Fixes #696022.
2013-03-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-ellipse.c (goc_ellipse_prepare_draw),
(goc_ellipse_update_bounds), (goc_ellipse_distance),
(goc_ellipse_draw): fixed line width.
* goffice/canvas/goc-path.c (goc_path_prepare_draw),
(goc_path_update_bounds), (goc_path_draw): fixed line width and position
in RTL canvas.
* goffice/canvas/goc-polygon.c (goc_polygon_prepare_path),
(goc_polygon_update_bounds), (goc_polygon_distance),
(goc_polygon_draw): ditto.
* goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw),
(goc_polyline_draw): ditto.
* goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw),
(goc_rectangle_update_bounds), (goc_rectangle_draw): fixed line width.
* goffice/canvas/goc-styled-item.c
(goc_styled_item_set_cairo_line),
(goc_styled_item_get_scale_line_width),
(goc_styled_item_set_scale_line_width): new helper functions.
* goffice/canvas/goc-styled-item.h: ditto.
2013-03-20 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-font-sel.c (reload_faces): Use
go_font_sel_set_style to restore user's choice, not string
matching on face name. Fixes #696168.
2013-03-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-arc.c (goc_arc_prepare_draw): make item
transform work.
* goffice/canvas/goc-canvas.c (button_press_cb): typo.
* goffice/canvas/goc-circle.c (goc_circle_draw),
(goc_circle_update_bounds): make item transform work.
* goffice/canvas/goc-component.c (goc_component_draw),
(goc_component_update_bounds): ditto.
* goffice/canvas/goc-ellipse.c (goc_ellipse_prepare_draw): ditto.
* goffice/canvas/goc-group.c (goc_group_cairo_transform): ditto.
* goffice/canvas/goc-image.c (goc_image_draw): ditto.
* goffice/canvas/goc-item.c (goc_item_draw),
(goc_item_draw_region), (_goc_item_transform): ditto.
* goffice/canvas/goc-item.h: ditto.
* goffice/canvas/goc-line.c (goc_line_update_bounds),
(goc_line_draw): ditto.
* goffice/canvas/goc-path.c (goc_path_prepare_draw):
* goffice/canvas/goc-pixbuf.c (goc_pixbuf_update_bounds),
(goc_pixbuf_draw): ditto.
* goffice/canvas/goc-polygon.c (goc_polygon_update_bounds),
(goc_polygon_draw): ditto.
* goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw): ditto.
* goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw): ditto.
* goffice/canvas/goc-text.c (goc_text_prepare_draw),
(goc_text_update_bounds), (goc_text_distance), (goc_text_draw): ditto.
* goffice/utils/go-emf.c (go_emf_movetoex), (go_emf_exttextoutw):
start work on text support.
2013-03-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-font-sel.c (reload_families): Add more observed.
(my_get_face_name): Go a little crazy with resolving aliases and
typos.
2013-03-17 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_button_press): Focus
on click if button is set to do that.
2013-03-16 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_grid_remove_row): New
function.
2013-03-14 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-font-sel.c (gfs_fill_font_name_list): Implement
font filtering.
* goffice/gtk/go-font-sel-dialog.c: Just delegate to GOFontSel.
(gfsd_init): Set a title.
* goffice/gtk/go-font-sel.c: Implement the GtkFontChooser
interface.
* goffice/gtk/go-font-sel-dialog.c (gfsd_get_property)
(gfsd_set_property): Partially implement.
* goffice/gtk/go-font-sel.c (gfs_class_init): Default show-style
to FALSE.
(go_font_sel_set_style): Make this public and use pango type args.
(go_font_sel_set_sample_attributes): Handle super and subscript.
(go_font_sel_get_font_desc): New function.
* goffice/gtk/goffice-gtk.c (go_gtk_widget_replace): New function.
* goffice/utils/go-pango-extras.c (go_pango_measure_string): Move
from goffice/gtk/goffice-gtk.c
* goffice/gtk/go-font-sel.c (gfs_class_init): Add constructor
since we depend on construction parameters.
2013-03-13 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-font-sel.c (go_font_sel_get_font): Make it clear
that this doesn't work and hasn't done so for a while.
(gfs_class_init): Use proper widget hierarchy.
* goffice/gtk/go-optionmenu.c (go_option_menu_init): Be nice and
mark composite child.
2013-03-12 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (go_option_menu_position): Simplify
and make it work for menu items that aren't check items.
(go_option_menu_select_item): Make public.
* goffice/utils/go-glib-extras.c (go_slist_create): Constify.
2013-03-10 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c: Bring a blunt clue bat to the
attention of gtk-doc.
* goffice/math/go-cspline.c: ditto.
* goffice/math/go-cspline.c (go_csplinel_get_type): Fix reversed
conditionals.
* goffice/app/file.c (GOFileOpener): Add property getters and
setters. Add interactive property.
* goffice/app/file.c (GOFileSaver): Add interactive property.
2013-03-09 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-03-09 Morten Welinder <terra@gnome.org>
* Release 0.10.1
2013-03-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_new_from_file),
(go_emf_new_from_data), (go_emf_parse): Load imege size fro the data.
2013-03-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-arc.c (goc_arc_draw): removed an extra cairo_save().
* goffice/utils/go-emf.c (go_emf_fillpath),
(go_emf_strokeandfillpath), (go_emf_polypolygon16): Fixed fill rule.
2013-03-07 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-ellipse.c (goc_ellipse_distance): Avoid C++
comment.
* goffice/canvas/goc-group.c (goc_group_distance): Ditto.
* goffice/canvas/goc-path.c (goc_path_distance): Ditto.
* goffice/canvas/goc-rectangle.c (goc_rectangle_distance): Ditto.
* goffice/utils/go-emf.c (go_emf_load_data): Ditto.
* goffice/canvas/goc-arc.c (goc_arc_prepare_draw): Avoid C++
comment and rewrite arc type handling.
2013-03-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_polypolygon),
(go_emf_setpolyfillmode), (go_emf_selectobject), (go_emf_ellipse),
(go_emf_rectangle), (go_emf_extcreatepen): more fixes.
2013-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_ellipse), (go_emf_rectangle),
(go_emf_roundrect), (_go_emf_arc), (go_emf_arc), (go_emf_chord),
(go_emf_pie): implement more primitives.
2013-03-06 Jean Brefort <jean.brefort@normalesup.org>
* tests/pie-demo.c (main): fix deprecation issues.
2013-03-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_populate_editor): show the format page.
2013-03-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (text_layout_init): show the widget.
2013-03-03 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-pixmaps.c (go_menu_pixmaps_add_element):
Add extra tooltip argument.
* goffice/gtk/go-color-palette.c (go_color_palette_make_menu): Add
tooltip for menu mode too. Fixes #695032.
2013-02-28 Morten Welinder <terra@gnome.org>
* configure.ac: remove the DISABLE_DEPRECATED defines even from
development versions. We now get the information through gcc
warnings.
2013-02-26 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): make data
labels position independant on scale. [#694731]
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): ditto.
2013-02-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-styled-object.c (gog_style_new): returns GogStyle* to
avoid confuse introspection.
* goffice/graph/gog-styled-object.h: ditto.
2013-02-23 Morten Welinder <terra@gnome.org>
* */*.c: Avoid G_OBJECT casts for g_object_ref and g_object_unref.
2013-02-21 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin-service.c
(go_plugin_service_resource_read_xml): Fix potential free of
random memory.
2013-02-21 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (general_linear_regression): Drop
the memset. The constructor does it and with ref-counting it
doesn't work.
2013-02-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_build_snapshot): always
return an initialized value. [#694231]
* plugins/plot_barcol/gog-line.c (gog_line_view_render): do not use invalid
values. [#694232]
2013-02-17 Morten Welinder <terra@gnome.org>
* configure.ac (set_more_warnings): Improve support for clang.
2013-02-16 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (general_linear_regression): memset
the right size.
2013-02-15 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-selector.c (go_selector_new): Remove check for
gtk 2.8.x or later.
* goffice/gtk/goffice-gtk.c (go_gtk_builder_load): We no longer
need the dead kitten for GtkGrid.
* goffice/graph/gog-label.c (gog_label_populate_editor): Ditto.
2013-02-14 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-color-selector.c (cb_color_dialog_response): Kill
warning.
2013-02-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c (gog_object_write_property_sax): back to
GogStyle to preserve compatibility.
* goffice/graph/gog-styled-object.c (gog_styled_object_class_init): ditto.
* goffice/graph/gog-styled-object.h: don't deprecate gog_style_new().
2013-02-14 Jean Brefort <jean.brefort@normalesup.org>
* configure.ac: bump Gtk+ requirement to 3.2.0.
2013-02-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c (gog_object_write_property_sax): always
save a GogStyle for compatibility.
* goffice/graph/gog-styled-object.c (gog_styled_object_class_init): use
GOStyle for style property.
* others: replaced all GtkTable uses.
2013-02-07 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (back_solve): Fix infinite loop.
2013-01-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_populate_editor): do not show the
rotation button for axes other than circular.
2013-01-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-prefs.ui: add a user interface for discrete
circular axis rotation.
* goffice/graph/gog-axis.c (gog_axis_populate_editor): ditto.
* goffice/graph/gog-plot.c (gog_plot_populate_editor): add a user interface
for radar and polar plots axis selection. [#692803]
2013-01-24 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_linear_regression_leverage):
Fix cleanup.
(QRH): Fix cleanup in the error case.
2013-01-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels.c (gog_series_labels_class_init): really
accept a label offset larger than 10.
2013-01-22 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_linear_solve_multiple): New
function extracted from go_linear_solve.
2013-01-17 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (QRH): Make qdet argument optional.
(back_solve, fwd_solve): New functions extracted from and used
throughout.
(go_linear_regression_leverage): New function.
2013-01-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-smoothed-curve.c
(gog_smoothed_curve_parent_changed): call parent class
implementation. Fix crash after deleting a named smoothed
curve. [#691796]
2013-01-15 Morten Welinder <terra@gnome.org>
* goffice/utils/go-spectre.c (create_file): Helper to make sure
entire contents gets written to temporary file.
(go_spectre_load_data): Use create_file.
(go_spectre_new_from_data): Use create_file.
2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
* configure.ac: renamed configure.in and update obsolete macros.
* configure.in: ditto.
2013-01-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels.c (used_selection_changed_cb):
don't add an extra separator at start of the format string.
[#691704]
2013-01-13 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (QRH): New QR decomposition code
based on Householder matrices.
(QR, LUPDecomp, rescale, backsolve): Remove.
(go_linear_solve, go_matrix_determinant): Base on QR
decomposition.
2013-01-08 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (QR): Fix debug code.
2013-01-01 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-chart-map.c (polar_make_path_step): Remove
unused variables.
* goffice/math/go-regression.c (general_linear_regression): Ditto.
* goffice/graph/gog-guru.c (cb_key_press_event): Ditto.
* goffice/gtk/go-locale-sel.c (ls_get_property, ls_set_property):
Ditto.
2012-12-18 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-12-18 Morten Welinder <terra@gnome.org>
* Release 0.10.0
2012-12-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_set_font): make it return
TRUE when size changed.
* goffice/component/go-component.h: ditto.
2012-12-03 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: rquire lasem >= 0.4.1.
* goffice/Makefile.am: add goffice-debug.h.
* goffice/goffice-debug.h: new private header.
* goffice/app/go-plugin.c: moved debug declarations to goffice-debug.h.
* goffice/app/go-plugin.h: ditto.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-object.c: ditto.
* goffice/graph/gog-renderer.c: ditto.
* goffice/graph/gog-view.c: ditto.
2012-11-29 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-11-29 Morten Welinder <terra@gnome.org>
* Release 0.9.91
2012-11-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: add two new .ui files.
* goffice/app/go-plugin.c: use GO_R_OK.
* goffice/component/go-component.c: constify an argument.
* goffice/component/go-component.h: ditto.
* goffice/graph/gog-axis-color-map-prefs.ui: add a title.
* goffice/graph/gog-axis-color-map.c: add gog_color_map_delete().
* goffice/graph/gog-axis-color-map.h: ditto.
* goffice/graph/gog-theme-editor.ui: theme editor user interface.
* goffice/graph/gog-theme.c: new code to edit themes.
* goffice/graph/gog-theme.h: ditto.
* goffice/graph/new-theme-prefs.ui: ditto.
* goffice/gtk/goffice-gtk.c: use GO_W_OK.
* goffice/utils/go-file.h: define GO_X_OK and friends.
2012-11-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-locale-sel.c: fixed typos in locales list. [#688977]
2012-11-16 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-11-16 Morten Welinder <terra@gnome.org>
* Release 0.9.90
2012-11-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_str_delocalize): delocalize
"\ " to " "
2012-11-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (gog_renderer_get_pixbuf),
(_gsf_gdk_pixbuf_save), (gog_renderer_export_image): removed ifdef
GOFFICE_WITH_GTK around gdk_pixbuf calls.
2012-11-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-theme.c (theme_loaded): fixed series style.
* plugins/plot_pie/gog-pie.c (gog_pie_view_render): fixed a leak.
2012-11-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (go_style_init): adjust bevel limit.
2012-11-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-theme.c (elem_start), (parse_done_cb),
(gog_theme_prep_sax): avoid warnings when loading a known theme,
(gog_theme_fillin_style): fix auto fields.
2012-11-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_dib_create_pixbuf_from_data): read 24 bits
images.
2012-11-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map.c:
* goffice/graph/gog-theme.c (gog_theme_set_name),
(gog_theme_set_description), (gog_theme_dup), (gog_theme_edit): prepare for
theme edition.
* goffice/graph/gog-theme.h: ditto.
* goffice/utils/go-emf.c (go_emf_parse): do not crash when loading an .xls
file with an embedded EMF. [#688047]
2012-11-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_scientific_number_element_to_odf):
add argument
(go_format_output_scientific_number_to_odf): fix checking for literal E
2012-11-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* office/gtk/go-format-sel.c (cb_force_exponent_sign_toggle): new
(fmt_dialog_enable_widgets): add widget and handle F_FORCE_EXPONENT_SIGN_BUTTON
(nfs_init): add widget and connect cb_force_exponent_sign_toggle
* goffice/gtk/go-format-sel.ui: add checkbox
* goffice/utils/go-format.c (go_format_generate_scientific_str): use
exponent_sign_forced
(go_format_details_init): initialize exponent_sign_forced
(go_format_get_details): determine exponent_sign_forced
* goffice/utils/go-format.h: add exponent_sign_forced field to details
2012-11-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): fix placement of minus sign
2012-11-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse): use 32 bits for the locale
2012-11-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map.c (color_map_load_from_uri): cosmetic
changes.
* goffice/graph/gog-graph.c (gog_graph_populate_editor): use Id instead
of name to list themes.
* goffice/graph/gog-theme.c (gog_theme_sax_save),
(gog_theme_registry_lookup), (theme_load_from_uri): make embedded theme
saving really work.
2012-11-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph-prefs.ui: add a button to save an embedded
theme.
* goffice/graph/gog-graph.c (cb_theme_changed), (save_theme_cb),
(gog_graph_populate_editor): ditto.
* goffice/graph/gog-theme.c (gog_theme_save_to_home_dir): new function,
(gog_theme_registry_get_theme_names), (theme_load_from_uri): fix a
locale related issue.
* goffice/graph/gog-theme.h: ditto.
2012-11-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc.c (go_doc_write), (load_color_map),
(load_theme), (go_doc_read): serialize custom themes.
* goffice/graph/gog-axis-color-map.c (gog_axis_color_map_write),
(gog_axis_color_map_save), (gog_axis_color_map_persist_init),
(_gog_axis_color_maps_shutdown): cosmetic changes.
* goffice/graph/gog-graph.c (gog_graph_get_property),
(gog_graph_populate_editor), (gog_graph_sax_save),
(gog_graph_prep_sax), (gog_graph_persist_init), (theme_loaded_cb),
(gog_graph_set_theme): serialize custom themes.
* goffice/graph/gog-theme.c (gog_theme_set_property),
(gog_theme_get_property), (gog_theme_element_free),
(gog_theme_finalize), (gog_theme_class_init), (gog_theme_init),
(save_name_cb), (save_desc_cb), (save_elem_cb),
(save_series_style_cb), (gog_theme_build_uri),
(gog_theme_sax_save), (gog_theme_save), (theme_start),
(name_start), (name_end), (desc_end), (gog_theme_add_element),
(elem_start), (color_map_start), (theme_loaded), (parse_done_cb),
(gog_theme_prep_sax), (gog_theme_persist_init),
(gog_theme_find_element), (gog_theme_new), (gog_theme_get_id),
(gog_theme_get_description), (gog_theme_get_resource_type),
(gog_theme_registry_lookup), (build_predefined_themes),
(theme_load_from_uri), (_gog_themes_shutdown):
* goffice/graph/gog-theme.h: ditto.
* goffice/utils/go-style.c (go_style_force_auto),
(go_style_clear_auto): ditto.
* goffice/utils/go-style.h: ditto.
* goffice/utils/goffice-utils.c: ditto.
* goffice/utils/goffice-utils.h: ditto.
2012-11-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc.c (go_doc_write), (load_color_map),
(go_doc_save_resource): simplify.
* goffice/app/go-doc.h: ditto.
* goffice/graph/gog-axis-color-map-prefs.ui: only save a modified map.
* goffice/graph/gog-axis-color-map.c
(gog_axis_color_map_set_property),
(gog_axis_color_map_get_property), (gog_axis_color_map_class_init),
(save_name_cb), (build_uri), (gog_axis_color_map_write),
(color_stop_start), (map_start), (name_start), (name_end),
(color_stops_cmp), (gog_axis_color_map_save), (color_map_loaded),
(parse_done_cb), (gog_axis_color_map_prep_sax),
(gog_axis_map_persist_init),
(gog_axis_color_map_get_resource_type),
(gog_axis_color_map_set_name), (gog_axis_color_map_dup),
(update_snapshots), (gog_axis_color_map_edit),
(gog_axis_color_map_from_colors), (gog_axis_color_map_get_from_id),
(_gog_axis_color_maps_init), (_gog_axis_color_maps_shutdown): implement
color map duplication.
* goffice/graph/gog-axis-color-map.h: ditto.
* goffice/graph/gog-axis-prefs.ui: ditto.
* goffice/graph/gog-axis.c (gog_axis_sax_save): save a color map loaded
from a document, (color_map_dup_cb), (color_map_save_cb),
(color_map_changed_cb), (gog_axis_populate_editor): color map duplication.
* goffice/graph/gog-theme.c (build_predefined_themes),
(theme_load_from_uri): ditto.
* goffice/utils/go-persist.c: fix includes.
* goffice/utils/goffice-utils.c (go_resource_type_get_type): add new enum.
* goffice/utils/goffice-utils.h: ditto.
2012-11-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-color-map-prefs.ui: make it functional.
* goffice/graph/gog-axis-color-map.c (gog_axis_color_map_finalize),
(gog_axis_color_map_get_snapshot), (gog_axis_color_map_save),
(gog_axis_color_map_compare), (update_snapshots), (erase_cb),
(define_cb), (bin_changed_cb), (gog_axis_color_map_edit),
(gog_axis_color_map_from_colors), (color_map_loaded),
(color_map_load_from_uri), (_gog_axis_color_maps_init): implement the
creation of a new color map.
* goffice/graph/gog-axis.c (gog_axis_set_property),
(color_map_new_cb), (gog_axis_populate_editor): ditto.
2012-11-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c (cb_graph_guru_delete_item): select another
child with the same type when one exists instead of the parent. [#687102]
2012-11-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: add goffice-utils.c.
* goffice/app/go-doc.c (go_doc_finalize), (go_doc_write),
(load_color_map), (go_doc_read), (go_doc_save_color_map): save and load
used color maps.
* goffice/app/go-doc.h: ditto.
* goffice/graph/gog-axis-color-map.c (gog_axis_color_map_finalize),
(gog_axis_color_map_init), (gog_axis_color_map_get_id),
(gog_axis_color_map_from_colors), (save_name_cb),
(gog_axis_color_map_write), (color_stop_start), (map_start),
(name_start), (name_end), (color_map_loaded),
(color_map_load_from_uri), (parse_done_cb),
(gog_axis_color_map_sax_push_parser),
(gog_axis_color_map_get_from_id), (_gog_axis_color_maps_init): ditto.
* goffice/graph/gog-axis-color-map.h: ditto.
* goffice/graph/gog-axis.c (gog_axis_prep_sax),
(gog_axis_sax_save), (gog_axis_set_property),
(gog_axis_get_property), (gog_axis_persist_init): ditto.
* goffice/utils/goffice-utils.h: new uuid generator copied from
telepathy-gabble.
* goffice/utils/goffice-utils.c: new file.
2012-11-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: add new ui file.
* file goffice/app/go-doc.c: add support for color maps.
* file goffice/app/go-doc.h: ditto.
* file goffice/app/goffice-app.h: ditto.
* file goffice/goffice.h: ditto.
* file goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-axis-color-map-prefs.ui: new ui file.
* goffice/graph/gog-axis-color-map.c: new functions.
* goffice/graph/gog-axis-color-map.h: ditto.
* goffice/graph/gog-axis-prefs.ui: allow for color map changes.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-color-scale.c: minor update.
* goffice/graph/gog-graph.c: make sure we can access the GODoc when loading.
* goffice/graph/gog-graph.h: ditto.
* goffice/graph/gog-object-xml.c: ditto.
* goffice/graph/gog-object.c: ditto.
* goffice/graph/gog-theme.c: minor update.
* plugins/plot_surface/gog-contour.c: interpolate colors when using a color
map with less colors than there are levels.
2012-10-28 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (go_regression_stat_destroy): Plug
leak.
* goffice/app/go-conf-gsettings.c (go_conf_free_node): Plug leak.
(go_conf_get_node): Plug leak.
* goffice/graph/gog-theme.c (gog_theme_finalize): Get rid of ->dcm
too.
2012-10-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: new objects.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-axis.c (gog_axis_init_style), (gog_axis_init),
(gog_axis_get_color_map): add a color map to GogAxis.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-axis-color-map.c: new objects.
* goffice/graph/gog-axis-color-map.h: ditto.
* goffice/graph/gog-color-scale.c: ditto.
* goffice/graph/gog-color-scale.h: ditto.
* goffice/graph/gog-theme.c (map_area_series_solid_default),
(map_area_series_solid_guppi), (build_predefined_themes),
(theme_load_from_uri), (_gog_themes_init), (_gog_themes_shutdown),
(gog_theme_get_color_map): add two color maps to themes.
* goffice/graph/gog-theme.h: ditto.
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem), (gog_contour_view_render): use
GogAxisColorMap API for color plots.
* plugins/plot_xy/gog-xy.c (gog_2d_plot_update): fixed warning,
(gog_xy_view_render), (gog_xy_series_populate_editor): ditto for contour
plots.
2012-10-27 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis-line.c (axis_line_get_bbox): Improve
padding. Fixes #686473. Patch by Jean.
2012-10-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-image.c (goc_image_draw): fix image clipping. [#686490]
2012-10-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-label.c (gog_text_view_size_request),
(gog_text_view_render): fix rotated frames position.
* goffice/gtk/go-rotation-sel.c (cb_rotate_changed),
(cb_rotate_canvas_realize), (set_rot_from_point),
(go_rotation_sel_new), (go_rotation_sel_new_full): optionally support
-180° to 180° as allowed by GOStyle.
* goffice/gtk/go-rotation-sel.h: ditto.
* goffice/gtk/go-rotation-sel.ui: minor layout fix.
* goffice/utils/go-style.c (text_layout_init): use a full circle rotation
selector.
2012-10-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-label.c (gog_text_view_render):
2012-10-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-legend.c (cb_render_elements): restore pixel aligned
lines. [#686476]
2012-10-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.h: add some more auto fields.
2012-10-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-legend.c (cb_render_elements): don't draw a marker
when not needed. [#685484]
2012-10-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_populate_editor): don't show the
span tab for axes which don't support it. [#685405]
2012-10-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (axis_line_render): fixed axis handles
positions. [#684886]
2012-10-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc-impl.h: make image buffer really private.
* goffice/app/go-doc.c (go_doc_finalize), (go_doc_init),
(go_doc_init_write), (go_doc_init_read), (go_doc_write),
(go_doc_save_image), (load_image), (load_image_data),
(go_doc_end_read), (go_doc_image_fetch): ditto.
2012-10-01 Jean Brefort <jean.brefort@normalesup.org>
reviewed by: <delete if not using a buddy>
* goffice/graph/gog-series-labels-prefs.ui:
* goffice/graph/gog-series-labels.c (gog_data_label_class_init):
2012-09-28 Emmanuel Pacaud <emmanuel@gnome.org>
* goffice/graph/gog-equation.c: remove creation of goffice.mml.
2012-09-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels-prefs.ui: allow multiple selection.
* goffice/graph/gog-series-labels.c (used_selection_changed_cb),
(add_cb), (remove_cb), (gog_series_labels_update): fixed crash after gtk+
behavior change. [#684889]
2012-09-27 Chris Leonard <cjlhomeaddress@gmail.com>
* goffice/gtk/go-locale-sel.c: updated locales. [#682749]
2012-09-26 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: automatically use lasem when present.
2012-09-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (map_linear_auto_bound): fix scale when data
differ are nearly identical. [#684599]
2012-09-20 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_view_render): clip drawing to the plot area. [#684195]
2012-09-15 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_series_update): don't crash when no valid data is
available. [#684047]
2012-09-13 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/Makefile.am: add XYMinMax plot. [#683493]
* plugins/plot_xy/chart_minmax_1_3.svg: new icon.
* plugins/plot_xy/chart_minmax_1_4.svg:
* plugins/plot_xy/chart_minmax_2_3.svg:
* plugins/plot_xy/chart_minmax_2_4.svg:
* plugins/plot_xy/gog-xy.c (go_plugin_init): register xy-minmax types.
* plugins/plot_xy/gog-xy-minmax.c: Scattered MinMax plot implementation.
(gog_xy_minmax_view_render), (gog_xy_minmax_view_class_init):
* plugins/plot_xy/gog-xy-minmax.h:
* plugins/plot_xy/plot-types.xml.in: register new plot type.
* plugins/plot_xy/plugin.xml.in: ditto.
2012-09-11 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_to_odf): try to improve
ODF export of unidentified formats.
2012-09-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-equation.c (gog_equation_update): fix warning,
(gog_equation_init): intialize the lasem document style.
* goffice/utils/go-style.c (go_style_persist_prep_sax): cosmetic.
2012-09-06 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-09-06 Morten Welinder <terra@gnome.org>
* Release 0.9.6
2012-09-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-path.c (go_path_new_from_odf_enhanced_path): return NULL
when the path is empty.
2012-09-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_view_padding_request): accept an
axis which parent is not a chart.
* goffice/utils/go-path.c (go_path_new_from_odf_enhanced_path): commented.
* goffice/utils/go-path.h: removed unused diirections.
2012-08-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-path.c (goc_path_prepare_draw),
(goc_path_draw): fixed fill rule usage.
* goffice/utils/go-path.c (parse_value), (emit_function_8),
(_path_arc), (go_path_arc_degrees), (go_path_arc_full),
(go_path_quadrant), (go_path_new_from_odf_enhanced_path): import arcs
and friends from ODF enhanced paths.
2012-08-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-path.c (skip_spaces), (skip_comma_and_spaces),
(parse_value), (parse_values), (emit_function_2),
(emit_function_6), (emit_function_8), (emit_quadratic),
(go_path_new_from_svg), (go_path_new_from_odf_enhanced_path): accept
variables in ODF enhanced paths.
2012-08-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-path.c (go_path_arc_degrees),
(go_path_arc_to_degrees), (go_path_svg_move_to),
(go_path_svg_line_to), (go_path_svg_curve_to), (go_path_svg_close),
(go_path_to_svg), (go_path_new_from_svg),
(go_path_new_from_odf_enhanced_path): enhanced odf paths support.
2012-08-20 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-docs.xml: fixed a few more doc issues.
* goffice/graph/gog-styled-object.c (gog_styled_object_class_init): ditto.
* goffice/utils/go-cairo.c (go_cairo_emit_svg_path): use
go_path_new_from_svg().
* goffice/utils/go-path.c (go_path_scale),
(go_path_new_from_svg), (go_path_new_from_odf_enhanced_path): new functions.
* goffice/utils/go-path.h: ditto.
2012-08-16 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: requires libgsf-1 >= 1.14.23 for introspection.
* docs/reference/goffice-docs.xml: fixed documentation warnings.
* all others: ditto.
2012-08-15 Chris Leonard <cjlhomeaddress@gmail.com>
* goffice/gtk/go-format-sel.c: add comments for translators to SI units
names. [#681813]
2012-08-15 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c (gog_contour_view_render): fix a crash
for infinite values. [#841840]
2012-08-14 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-bubble-prefs.ui: one more 3d->3D.
2012-08-14 Quentin Glidic <sardemff7+gnome@sardemff7.net>
* goffice/utils/go-spectre.c (go_spectre_load_data): fix build with
libspectre. [#681846]
2012-08-13 Jean Bréfort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot-impl.h: removed unused field in GogPlotDesc.
* goffice/graph/gog-plot.c (gog_plot_class_init): 3d -> 3D. [#681777]
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_class_init): ditto.
* plugins/plot_pie/gog-pie.c (gog_pie_plot_class_init): ditto.
* plugins/plot_xy/gog-xy.c (gog_bubble_plot_class_init): ditto.
2012-08-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: changed the build system.
* goffice/app/Makefile.am: removed.
* goffice/canvas/Makefile.am: removed.
* goffice/component/Makefile.am: removed.
* goffice/data/Makefile.am: removed.
* goffice/graph/Makefile.am: removed.
* goffice/gtk/Makefile.am: removed.
* goffice/math/Makefile.am: removed.
* goffice/utils/Makefile.am: removed.
* goffice/utils/go-gdk-pixbuf.c: new file.
* goffice/utils/go-gdk-pixbuf.h: ditto.
* all others: fix introspection and gtk-doc warnings.
2012-08-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/Makefile.am: new GoView class for use in file openers and
savers.
* goffice/app/file-priv.h: ditto.
* goffice/app/file.c: ditto.
* goffice/app/file.h: ditto.
* goffice/app/go-app.h: ditto.
* goffice/app/go-plugin-loader-module.c: ditto.
* goffice/app/go-plugin-service.c: ditto.
* goffice/app/go-plugin-service.h: ditto.
* goffice/app/go-view.c: ditto.
* goffice/app/go-view.h: ditto.
* goffice/app/goffice-app.h: ditto.
* all others: introspection warnings.
2012-08-01 Jean Brefort <jean.brefort@normalesup.org>
* all: fixed some introspection and doc warnings.
2012-08-01 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: requires gtk-doc >= 1.12.
* docs/reference/goffice-docs.sgml: replaced by xml.
* docs/reference/goffice-docs.xml: replaces sgml.
* docs/reference/Makefile.am: ditto.
2012-08-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-action-combo-color.c
(go_action_combo_color_create_tool_item),
(go_action_combo_color_set_allow_alpha): add alpha support.
* goffice/gtk/go-action-combo-color.h: ditto.
2012-07-29 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz-surface-prefs.c
(cb_missing_as_changed), (gog_xyz_surface_plot_pref): add an option for
missing data.
* plugins/plot_surface/gog-xyz-surface-prefs.ui: ditto.
* plugins/plot_surface/gog-xyz-surface.c (missing_as_string),
(missing_as_value), (gog_xyz_surface_plot_build_matrix),
(gog_xyz_surface_plot_set_property),
(gog_xyz_surface_plot_get_property), (common_init_class): ditto.
* plugins/plot_surface/gog-xyz-surface.h: ditto.
2012-07-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c (gog_plot_set_property),
(gog_plot_get_property), (gog_plot_class_init): save axis Id for all axes,
not only X and Y. [#680739]
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_surface_plot_build_matrix): avoid leaks and invalid properties.
2012-07-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_map_get_real_extents),
(gog_axis_map_get_real_bounds): new functions taking the axis span into
account.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart-map.c (xy_make_close_path): take new fill type
into account.
* goffice/graph/gog-plot.c (gog_plot_populate_editor): allow axis choice for
pseudo-3d plots. [see #680636]
* goffice/graph/gog-series.c: allow filling to axis limits. [#680513]
* goffice/graph/gog-series.h: ditto.
* plugins/plot_xy/gog-xy.c (gog_xy_series_class_init): ditto.
2012-07-26 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): add series name to the elements. [#680508]
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_surface_plot_build_matrix): use go_nan instead of 0 when data are
missing and fix cardinality when pseudo-3d axis bounds can't be retrieved.
[#680486][#680512]
2012-07-24 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_add): Complain if not properly
initialized.
(go_quad_start): Keep track of initialization depth.
* goffice/math/go-regression.c (go_matrix_invert): Ensure go_quad
has been properly initialized. Don't re-use partial results after
they have been rounded to "double".
2012-07-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: make introspection stuff build when no libgoffice
is installed.
2012-07-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_stop_editing): do not
unref twice the same object. Related to #680190.
2012-07-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_finalize),
(go_component_set_data), (go_component_set_command_context),
(go_component_get_command_context),
(go_component_set_default_command_context),
(go_component_duplicate): fix some issues related to #680190.
* goffice/component/go-component.h: ditto.
* all others: fix introspection warnings.
2012-07-15 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-07-15 Morten Welinder <terra@gnome.org>
* Release 0.9.5
2012-07-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line-impl.h: move prototypes to gog-axis-line.h.
[#679967]
* goffice/graph/gog-axis-line.h: ditto.
2012-07-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/Makefile.am: don't install gog-axis-line-impl.h.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-graph.c: fixed documentation typo.
* goffice/graph/gog-object.h: add fields for future use.
* goffice/graph/gog-view.h: ditto.
2012-07-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-label.c (gog_text_view_size_request),
(gog_text_view_render): fix use of rich text from GOData.
* goffice/graph/gog-renderer.c (gog_renderer_get_gostring_OBR): fix rich
text size evaluation. [#679459]
2012-06-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/graph/gog-reg-curve.c (limits_changed_cb): keep the
min/max entries visible
(gog_reg_curve_populate_editor): ditto
* goffice/graph/gog-reg-curve-prefs.ui align High/low limits with
high/low bounds
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* plugins/plot_xy/gog-xy-prefs.ui (gog-xy-prefs): add border_width
2012-06-25 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-style-prefs.ui (go-style-prefs): add border_width
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/graph/gog-reg-curve.c (gog_reg_curve_populate_editor): fix
gtk version check
* plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_populate_editor):
With the corrected gtk check above, we can depend on the attached info.
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/graph/gog-reg-curve-prefs.ui: avoid unneccesarily high
dialog by placing checkbox to right
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_populate_editor):
There are two more rows that are being used for some drawing limits
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_populate_editor):
place the new items at the bottom
* plugins/reg_linear/gog-polynom-reg.c
(gog_polynom_reg_curve_populate_editor): assume we are at the bottom,
so no row insertion is required.
2012-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_populate_editor):
fix item placement for pre-gtk-3.4.0
* plugins/reg_linear/gog-polynom-reg.c
(gog_polynom_reg_curve_populate_editor): ditto
2012-05-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-reg-curve.c (gog_reg_curve_populate_editor): fix
criticals, with gtk+ < 3.2, [#676641]
(gog_reg_curve_view_render): fix limits with a discrete X-axis.
* plugins/reg_linear/gog-lin-reg.c
(gog_lin_reg_curve_build_values), fix x automatic values,
(gog_lin_reg_curve_populate_editor): fix
criticals, with gtk+ < 3.2. [#676641]
* plugins/reg_linear/gog-log-reg.c
(gog_log_reg_curve_build_values): fix x automatic values.
* plugins/reg_linear/gog-polynom-reg.c
(gog_polynom_reg_curve_build_values), fix x automatic values,
(gog_polynom_reg_curve_populate_editor): fix
criticals, with gtk+ < 3.2. [#676641]
2012-05-21 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: copied code from introspection.m4
2012-05-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-color.h (go_color_from_gdk_rgba): new
* goffice/utils/go-color.c (go_color_from_gdk_rgba): new
2012-05-19 Jean Brefort <jean.brefort@normalesup.org>
* Makefile.am: enhance Introspection build support.
* configure.in: ditto.
* goffice/Makefile.am: ditto.
2012-05-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_init): enable scroll events.
2012-05-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-pango-extras.c
(go_load_pango_attributes_into_buffer_filter): remove underline
(go_load_pango_attributes_into_buffer_named_filter): add underline
(go_create_std_tags_for_buffer): create underline tags
(go_load_pango_attributes_into_buffer): handle underline tags as named tags
2012-05-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-group.c: moved transfrom to GocItem.
* goffice/canvas/goc-group.h: ditto.
* goffice/canvas/goc-item.c (goc_item_init),
(goc_item_get_operator), (goc_item_set_transform),
(_goc_item_transform): ditto.
* goffice/canvas/goc-item.h: ditto.
* goffice/canvas/goc-text.c (go_anchor_type_get_type): typo,
(goc_text_draw): fix text position when clipped. [#676067]
* goffice/utils/go-emf.c (go_dib_read_header),
(go_dib_create_pixbuf_from_data), (go_wmf_mr_arc), (go_emf_header),
(go_emf_polybezier), (go_emf_setworldtransform),
(go_emf_modifyworldtransform), (go_emf_selectobject),
(go_emf_rectangle), (go_emf_stretchdibits), (go_emf_polybezier16),
(go_emf_polygon16), (go_emf_parse): more work.
2012-05-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-pango-extras.c (go_pango_attrs_to_markup): new
(go_pango_attr_as_markup_string): new
* utils/go-pango-extras.h (go_pango_attrs_to_markup): new
2012-05-12 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-plot-engine.c
(cb_pending_trend_line_types_load): Conditionalize debug print.
2012-05-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_get_equation): fixed
logfit equation typo. [#675560]
2012-04-21 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-04-21 Morten Welinder <terra@gnome.org>
* Release 0.9.3
2012-04-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (load_wmf_as_pixbuf): fix build with EMF support.
2012-04-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c: fixed documentation.
* goffice/graph/gog-theme.c: ditto.
* goffice/utils/go-file.c: ditto.
* goffice/utils/go-emf.c (load_wmf_as_pixbuf), (go_emf_load_data),
(go_emf_new_from_file), (go_emf_new_from_data), (go_emf_parse): use
libwmf when not built with emf support, and load emf image size.
* goffice/utils/go-image.c (go_image_draw_fb): use the pixbuf when
available.
2012-04-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c: fixed documentation.
* goffice/canvas/goc-group.c: ditto.
* goffice/canvas/goc-item.c: ditto.
2012-03-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c (go_image_new_from_file),
(go_image_new_from_data): correctly store EPS images even when not
supported.
* goffice/utils/go-spectre.c (go_spectre_new_from_file),
(go_spectre_new_from_data): ditto.
2012-03-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_load_data), (go_emf_get_pixbuf),
(go_emf_class_init): use a fallback image when the actual image type is
not supported.
* goffice/utils/go-image.c (go_image_draw_fb),
(go_image_get_pixbuf_fb), (go_image_get_scaled_pixbuf_fb),
(go_image_class_init): ditto.
* goffice/utils/go-spectre.c (go_spectre_build_surface),
(go_spectre_draw), (go_spectre_get_pixbuf),
(go_spectre_get_scaled_pixbuf), (go_spectre_class_init): ditto.
2012-03-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-image.c (goc_image_draw),
(goc_image_class_init): fixed cropped images rendering.
2012-03-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pixbuf.c (go_pixbuf_save): fix pixbuf saving when cairo
data has not been generated. [see #672716]
2012-03-25 Morten Welinder <terra@gnome.org>
* tools/embedder (embed_data): When we go to a new line, clear the
nohex flag. This avoids lines starting with three quotes which
confuse the heck out of intltool 0.50
2012-03-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_to_odf): Undo last
change. Get version from output.
2012-03-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_output_to_odf): Take extra
odf_version argument.
(go_format_output_fraction_to_odf): Ditto. Caller changed.
* goffice/utils/go-pixbuf.c (go_pixbuf_save): Survive lack of
image data.
2012-03-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_to_odf): do not
unneccessarily include a number:number element
2012-03-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_scientific_number_to_odf):
fix output of scientific formats
2012-03-16 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_show): Remove. (Use
go_gtk_url_show instead.)
(go_url_encode): Make this a thin wrapper over
g_uri_escape_string.
* goffice/gtk/goffice-gtk.c (go_gtk_help_button_init): Hook up
cb_help normally, ie., not swapped.
(go_help_display): Add argument screen so we can show help on the
right screen. Use go_gtk_url_show, not go_url_show, for the same
reason.
* goffice/utils/go-file.c (go_url_decode): Remove. Glib's
g_uri_unescape_string does the same thing.
2012-03-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c: add some doc.
* goffice/utils/go-emf.c (go_emf_save), (go_emf_load_data),
(go_emf_differ), (go_emf_new_from_file), (go_emf_new_from_data),
(go_emf_setworldtransform), (go_emf_modifyworldtransform),
(go_emf_createpen), (go_emf_polygon16), (go_emf_polyline16),
(go_emf_extcreatepen): more implementations and fixes.
* goffice/utils/go-image.c (go_image_get_data): new function, replaces
obsolete go_image_get_pixels.
* goffice/utils/go-image.h: ditto.
* goffice/utils/go-spectre.c (go_spectre_save),
(go_spectre_load_data), (go_spectre_differ): ditto.
* goffice/utils/go-svg.c (go_svg_save), (go_svg_load_data),
(go_svg_differ), (go_svg_new_from_file), (go_svg_new_from_data): ditto.
2012-03-10 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add a test for ghostscript to avoid crashes when using
libspectre.
* goffice/Makefile.am: make introspection build when libgoffice is not
installed [#671699]
* goffice/utils/go-emf.c (go_emf_modifyworldtransform): typo,
(go_emf_lineto): implement, (go_emf_parse): initialize more fields.
* other files: fix documentation for introspection.
2012-03-08 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add introspection support. [#670161]
* goffice/Makefile.am: ditto.
* goffice/app/go-plugin-loader-module.h: ditto.
* goffice/canvas/goc-component.c: fixed introspection warnings.
* goffice/utils/go-font.c: ditto.
* goffice/utils/go-format.c: ditto.
* goffice/utils/go-glib-extras.c: ditto.
* goffice/utils/go-style.h: reversed some previous unneeded changes.
2012-03-07 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (cb_attrs_as_string): Tweak handling
of bold so PANGO_WEIGHT_NORMAL becomes 0 and PANGO_WEIGHT_BOLD
becomes 1. PangoWeight->double->PangoWeight still round trips
unless you start below 100.
2012-03-06 Morten Welinder <terra@gnome.org>
* goffice/utils/go-image.c (go_image_new_from_data): Make fallback
work even in the non-GUI case.
2012-03-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-cmd-context-impl.h: fixed for nested structs introspection.
* goffice/app/go-doc-impl.h: ditto.
* goffice/app/go-doc.c: fixed documentation layout issues.
* goffice/graph/gog-axis-line.c (cb_position_toggled): fixed unused
variables warnings.
* goffice/graph/gog-plot.h: fixed for nested structs introspection.
* goffice/utils/datetime.c: fixed documentation layout issues.
* goffice/utils/go-file.c: ditto.
* goffice/utils/go-style.h: fixed for nested structs introspection.
2012-03-02 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-03-02 Morten Welinder <terra@gnome.org>
* Release 0.9.2
2012-02-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-path.c (go_path_interpret), (go_path_to_cairo),
(go_path_copy), (go_path_append): cleaned GOPath API.
* goffice/utils/go-path.h: ditto.
2012-02-14 Morten Welinder <terra@gnome.org>
* goffice.mk (list_of_sources): Create a list of sources at each
directory level.
2012-02-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (cb_position_toggled): don't move any other
axis when changing an axis position. [#669050]
2012-02-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-reg-curve-prefs.ui: add limits to the regression curve
display range. [#669252]
* goffice/graph/gog-reg-curve.c (limits_changed_cb),
(gog_reg_curve_populate_editor), (gog_reg_curve_get_property),
(gog_reg_curve_set_property), (gog_reg_curve_class_init),
(gog_reg_curve_init), (gog_reg_curve_dataset_dims),
(gog_reg_curve_dataset_get_elem), (gog_reg_curve_view_render): ditto.
* goffice/graph/gog-reg-curve.h: ditto.
* plugins/reg_linear/gog-lin-reg.c
(gog_lin_reg_curve_populate_editor): ditto.
* plugins/reg_linear/gog-polynom-reg.c
(gog_polynom_reg_curve_populate_editor): ditto.
2012-02-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (gog_renderer_draw_gostring): take subscript
and superscript into account.
2012-02-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix Y-axis label
position. [#669325]
* goffice/utils/go-line.c: fix documentation.
2012-02-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (axis_line_render): limit the axis line
to its actual span.
* goffice/graph/gog-axis.c (gog_axis_map_get_extents),
(gog_axis_map_get_bounds): fix bounds for logarithmic axes using only
a partial range. [#669257]
* goffice/graph/gog-chart-map.c (xy_make_path): add ODF like Bezier cubic
spline interpolation. [#663356]
* goffice/utils/go-line.c: ditto.
* goffice/utils/goffice-utils.h: ditto.
2012-01-26 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_set_dirty_time)
(go_doc_get_dirty_time): New function.
(go_doc_set_dirty): Set dirty time.
(go_doc_class_init): Install new dirty-time property.
2012-01-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c (graph_typeselect_minor): fixed selector
position. [#667793]
* goffice/utils/go-cairo.h: set CAIRO_CLAMP to a larger value. [#645938]
2012-01-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.h: fixed GdkPixbuf usage. [#667005]
2012-01-05 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin-service.c
(go_plugin_service_resource_finalize): Plug leak.
2011-12-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_guess_encoding): Hook up
existing debug code.
2011-12-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (ethiopic_additional_digits): new
(convert_numerals): use ethiopic_additional_digits
(handle_ethiopic): new
(go_format_execute): call handle_ethiopic
(go_render_general): call handle_ethiopic
2011-12-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (GOFormatShapeFlags): new flag
(handle_chinese): add and use shape_flags argument, change all
callers
2011-12-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (chinese_marker_shapes): add large markers
(handle_chinese): use '?' for larger than expected markers
2011-12-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_new_1): handle locales
before starting the numbers
(numeral_shapes): adjust
(chinese_marker_shapes): new
(convert_numerals): handle chinese position markers
(handle_chinese): new
(go_format_execute): call handle_chinese
(HANDLE_NUMERAL_SHAPE): call handle_chinese
2011-12-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: inhibit eps support for now because it makes gnumeric
crash when using jpeg images.
* goffice/graph/gog-label.c (gog_text_set_property),
(gog_text_view_size_request), (gog_text_view_render): add justification for
multi lines text.
* goffice/gtk/go-font-sel.c (go_font_sel_set_font): allow non integer font
sizes.
* goffice/utils/go-image.c (go_image_new_from_data): always display an image
even when the format is not supported.
2011-12-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-glib-extras.c (go_unichar_issign): add signs
2011-12-25 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_unichar_issign): New
function.
2011-12-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_locale): allow for 33 bit
locale
(handle_common_token): handle shape-flags
(go_format_parse_number_new_1): write sign after common tokens
(go_format_parse): just look at the locale part for the magic
(go_format_dump_program): separate shape flags from shape
(plus_shapes): new
(convert_minus): change into convert_sign
(INSERT_PLUS): new
(INSERT_MINUS): look at the right part of the flag
(go_format_execute): consider shape_flags, use shapes for non-markup
scientific format
2011-12-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (handle_common_token): store shape
separately
(go_format_dump_program): handle OP_NUMERAL_SHAPE and make OP_LOCALE
more descriptive
(minus_shapes): new
(numeral_shapes): new
(convert_numerals): new
(INSERT_MINUS): use the correct symbol
(go_format_execute): handle numeral shape
(convert_minus): use the correct symbol
(go_render_general): add argument, change all callers, handle numeral
shape
* goffice/utils/go-format.h (go_render_general): add arguments
2011-12-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (axis_line_get_bbox),
(axis_line_render), (axis_circle_get_bbox), (axis_circle_render),
(xyz_process): allow for multi-line labels.
* goffice/graph/gog-label.c (gog_label_set_property),
(gog_label_get_property), (gog_label_class_init), (gog_label_init),
(gog_text_view_size_request), (gog_text_view_render): ditto.
* goffice/graph/gog-legend.c (cb_size_elements),
(cb_render_elements): ditto.
* goffice/graph/gog-renderer.c (gog_renderer_draw_gostring),
(gog_renderer_draw_text), (gog_renderer_get_gostring_OBR),
(gog_renderer_get_text_OBR), (gog_renderer_get_text_AABR),
(gog_renderer_get_gostring_AABR): add new arguments.
* goffice/graph/gog-renderer.h: ditto.
* goffice/utils/go-geometry.c: documentation typo.
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_view_render): fixed after API change.
2011-12-17 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): fixed rounding errors in limits displayed
in the legend. [#666292]
2011-12-08 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: remove pixmaps/Makefile.
2011-12-05 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin-service.c: new "resource" service type.
* goffice/utils/go-rsm.c (go_rsm_unregister_file): fix
precondition.
2011-12-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-group.c (goc_group_init): initialize the transform
matrix.
* goffice/canvas/goc-group.h: add a matrix.
* goffice/canvas/goc-path.c (goc_path_set_property),
(goc_path_get_property), (goc_path_prepare_draw),
(goc_path_class_init): add a fill rule.
* goffice/canvas/goc-path.h: ditto.
* goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw): skip invalid
points so that it supports polypolyline.
* goffice/utils/go-emf.c (go_wmf_read_points),
(go_wmf_read_pointl), (go_emf_polygon), (go_emf_polyline),
(go_emf_polybezierto), (go_emf_polylineto), (go_emf_polypolyline),
(go_emf_polypolygon), (go_emf_setwindowextex),
(go_emf_setwindoworgex), (go_emf_setviewportextex),
(go_emf_setviewportorgex), (go_emf_setpolyfillmode),
(go_emf_settextalign), (go_emf_settextcolor), (go_emf_movetoex),
(go_emf_selectobject), (go_emf_ellipse), (go_emf_rectangle),
(go_emf_fillpath), (go_emf_strokeandfillpath),
(go_emf_extcreatefontindirectw), (go_emf_exttextoutw),
(go_emf_polygon16), (go_emf_polyline16), (go_emf_polybezierto16),
(go_emf_polylineto16), (go_emf_polypolyline16),
(go_emf_polypolygon16): more work.
2011-12-04 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-plot-engine.c: Add debug code.
2011-12-03 Morten Welinder <terra@gnome.org>
* plugins/reg_linear: embed ui files into plugin.
* plugins/reg_logfit: embed ui files into plugin.
* plugins/smoothing: embed ui files into plugin.
* plugins/plot_pie: embed stuff like plot_xy.
* plugins/plot_radar: embed stuff like plot_xy.
* pixmaps/Makefile.am (dist_icon_DATA): Don't distribute unused
icon files.
* plugins/plot_distrib: embed stuff like plot_xy.
* goffice/graph/gog-error-bar.c (display_combo_desc): Embed error
bar pixmaps.
* plugins/plot_barcol: embed stuff like plot_xy.
* plugins/plot_surface: embed stuff like plot_xy.
2011-12-02 Morten Welinder <terra@gnome.org>
* plugins/plot_xy: Move icon files here...
* pixmaps: ...from here.
* plugins/plot_xy/gog-xy.c: embed icons into here.
* tools/embedder: Add the ability to unregister resources.
* goffice/graph/gog-guru.c (graph_typeselect_minor): Load icons
for subtypes here.
(cb_plot_types_init): Not here.
* goffice/utils/go-pixbuf.c (go_gdk_pixbuf_new_from_file):
Optionally load from resource.
* goffice/utils/go-glib-extras.c (go_debug_flag): New function.
* goffice/utils/go-rsm.c (go_rsm_unregister_file): New function.
* goffice/Makefile.am: Embed svg-patterns.xml without compression.
* goffice/utils/go-pattern.c (go_pattern_get_svg_path): Use
embedded resource, not a file.
2011-12-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-path.c (goc_path_set_property): make it properly
manage the path.
* goffice/utils/go-emf.c (go_wmf_read_spoint),
(go_wmf_read_lpoint), (go_wmf_read_gocolor), (go_emf_dc_free),
(go_emf_convert_coords), (go_emf_polygon), (go_emf_polyline),
(go_emf_polybezierto), (go_emf_polylineto), (go_emf_polypolyline),
(go_emf_setwindowextex), (go_emf_setwindoworgex),
(go_emf_setviewportextex), (go_emf_setviewportorgex),
(go_emf_movetoex), (go_emf_intersectcliprect), (go_emf_savedc),
(go_emf_restoredc), (go_emf_selectobject), (go_emf_createpen),
(go_emf_createbrushindirect), (go_emf_beginpath), (go_emf_endpath),
(go_emf_closefigure), (go_emf_fillpath),
(go_emf_strokeandfillpath), (go_emf_strokepath),
(go_emf_polygon16), (go_emf_polyline16), (go_emf_polybezierto16),
(go_emf_polylineto16), (go_emf_parse): implement more.
* goffice/utils/go-path.c (go_path_ref): fixed a crasher.
* goffice/utils/go-path.h: ditto.
2011-12-01 Morten Welinder <terra@gnome.org>
* goffice/goffice.c: Include generated embedded-ui.c here and call
the registration function.
* goffice/*/*.c: use resource, not filename for ui files.
2011-12-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_get_details): When
looking for the exponent skip the whole EESI/ESI/EE/E marker
2011-12-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_get_details): do not
mistake the scale symbol as mantissa
2011-12-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (cb_si_combo_changed): check "Append
this SI unit" button
2011-12-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (cb_si_unit_toggle): set the scale
correctly
2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets): set
initial sensitivity of SI unit checkboxes
2011-11-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets),
(nfs_init), (go_format_sel_show_preview),
(go_format_sel_hide_preview): replaced GtkTable by GtkGrid.
* goffice/gtk/go-format-sel.ui: ditto.
* tests/mf-demo.c (main): works only if built with GOFFICE_WITH_EMF
defined.
2011-11-27 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-11-27 Morten Welinder <terra@gnome.org>
* Release 0.9.1
2011-11-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_export_image),
(go_component_duplicate): new functions.
* goffice/component/go-component.h: ditto.
* goffice/utils/go-emf.c (go_wmf_read_spoint),
(go_wmf_read_lpoint), (go_emf_setwindowextex),
(go_emf_setwindoworgex), (go_emf_setviewportextex),
(go_emf_setviewportorgex), (go_emf_setmapmode), (go_emf_setbkmode),
(go_emf_setrop2), (go_emf_intersectcliprect), (go_emf_savedc),
(go_emf_restoredc), (go_emf_parse): implement some callbacks.
2011-11-25 Morten Welinder <terra@gnome.org>
* goffice/math/go-rangefunc.c (go_range_sumsq, go_range_devsq):
Simplify.
* goffice/math/go-accumulator.c (go_accumulator_add_quad): New
function.
2011-11-24 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-11-24 Morten Welinder <terra@gnome.org>
* Release 0.9.0
2011-11-23 Morten Welinder <terra@gnome.org>
* goffice/math/go-accumulator.c: New file.
* goffice/math/go-rangefunc.c (go_range_devsq, go_range_sumsq)
(go_range_sum, go_range_average): Base on GOAccumulator.
(go_range_constant): New function.
2011-10-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/goffice-gtk.c (recent_func_log_func): new
(go_gtk_file_sel_dialog): avoid gtk bug #664587
2011-11-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_guess_encoding): Plug leak.
2011-11-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-trend-line.c (gog_trend_line_populate_editor): fixed
editor build.
* goffice/graph/gog-smoothed-curve.c
(gog_smoothed_curve_parent_changed),
(gog_smoothed_curve_class_init), (gog_smoothed_curve_init),
(gog_smoothed_curve_dataset_dims),
(gog_smoothed_curve_dataset_get_elem),
(gog_smoothed_curve_dataset_dim_changed): fixed data management in
exponential smoothing.
* goffice/graph/gog-smoothed-curve.h: ditto.
* plugins/smoothing/gog-exp-smooth.c (gog_exp_smooth_update),
(gog_exp_smooth_class_init), (gog_exp_smooth_init): ditto.
* plugins/smoothing/gog-exp-smooth.h: ditto.
2011-11-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.ui: fixed a Gtk warning.
2011-11-16 Jody Goldberg <jody@gnome.org>
* goffice/canvas/goc-widget.c (goc_widget_set_widget) : clear the ofbox
after unref. Fixes slicer view combo.
2011-11-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-component.c (goc_component_set_property): don't change
the size when not needed.
* goffice/component/go-component.c (go_component_get_mime_type),
(editor_destroy_cb), (go_component_edit),
(go_component_stop_editing): add new functions.
* goffice/component/go-component.h: ditto.
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds): ensure
that 0 is in the default values axis range. [#663717]
2011-11-10 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf.h (go_conf_node_get_key_type)
(go_conf_get_value_as_str, go_conf_set_value_from_str)
(go_conf_get_long_desc, go_conf_get_short_desc): Delete.
2011-11-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot-impl.h: fixed macro name.
* goffice/graph/gog-series-impl.h: removed the get_percent_value member.
* goffice/graph/gog-series-labels.c (gog_data_label_update),
(gog_series_labels_update): really implement percent as label.
* goffice/graph/gog-series.c (role_series_labels_post_add),
(gog_series_get_interpolation_params): remove
gog_series_get_data_as_percent.
* goffice/graph/gog-series.h: ditto.
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update),
(_gog_plot1_5d_get_percent_value): implement percent as labels for bar/col
plots.
* plugins/plot_barcol/gog-1.5d.h: ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_plot_class_init): ditto.
2011-11-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c (go_component_set_font): new function.
* goffice/component/go-component.h: ditto.
* goffice/utils/go-image.c (go_image_finalize),
(go_image_get_pixbuf): cache the pixbuf.
* goffice/utils/go-image.h: ditto.
2011-11-06 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: drop gconf support.
* goffice/app/go-conf.c: ditto.
* goffice/app/go-conf-gconf.c: ditto.
2011-11-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c (go_emf_get_canvas): new function,
(go_emf_new_from_file): fixed several issues.
* goffice/utils/go-emf.h: added a new prototype.
* tests/mf-demo.c (open_file), (main): use GOEmf to load the images.
2011-11-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_bounds_changed): invalidate new
position (and force a bound update). [#662393]
2011-11-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polyline.c (goc_polyline_finalize),
(goc_polyline_class_init): fix memory leak. [#663355]
2011-11-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-image-sel.ui: make the icon selector larger.
* goffice/utils/go-image.c (go_image_new_from_data): add support for pixbuf,
(go_image_new_for_format), (go_image_type_for_format): new functions.
* goffice/utils/go-image.h: ditto.
2011-11-04 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add a test for libspectre presence.
* goffice/component/go-component.c (go_component_write_xml_sax),
(_go_component_start): remove obsolete GOC_PARAM_PERSISTENT.
* goffice/component/go-component.h: ditto.
* goffice/goffice.c (libgoffice_init): add GO_TYPE_SPECTRE.
* goffice/utils/Makefile.am: add go-spectre.[c,h]
* goffice/utils/go-image.c (go_image_new_from_file),
(go_image_new_from_data): create images form eps if libspectre is
present.
* goffice/utils/go-svg.c (go_svg_get_pixbuf),
(go_svg_get_scaled_pixbuf): fixed memory leak.
* goffice/utils/goffice-utils.h: add GOSpectre.
2011-11-03 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_builder_new): Plug leak.
* goffice/utils/go-glib-extras.c (go_hash_values): Remove.
2011-11-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c (gog_series_populate_editor): fix
interpolation widgets visibility. [#663283]
* goffice/utils/go-style.c (outline_init), (line_init),
(fill_init), (go_style_populate_editor): enhanced layout.
2011-11-03 Morten Welinder <terra@gnome.org>
* goffice/utils/go-string.c (go_string_new_rich_nocopy): New function.
(go_string_new_rich): Drop "copy" argument. All callers changed.
* goffice/graph/gog-axis.c (map_discrete_calc_ticks): Plug leak.
* goffice/utils/go-string.c (go_string_new_rich): Plug leak.
2011-10-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (cb_size_changed),
(cb_manual_size_changed), (gog_object_populate_editor): made the manual
size UI consistent.
* goffice/gtk/goffice-gtk.c (go_gui_get_image_save_info): don't ask for
the extension when file type is unknown.
* goffice/utils/go-image.c (go_image_get_format_from_name),
(go_image_new_from_data): fixed behavior with unknown format.
2011-10-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_set_operator),
(goc_item_get_operator): add a cairo_operator_t member for future use.
* goffice/canvas/goc-item.h: ditto.
* goffice/utils/go-emf.c (go_dib_read_header),
(go_dib_create_pixbuf_from_data), (go_emf_header),
(go_emf_stretchdibits): import a simple image. [#653667]
2011-10-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: allow the canvas in the without gtk build.
* goffice/canvas/Makefile.am: ditto.
* goffice/canvas/goc-arc.h: add placeholders for extensions.
* goffice/canvas/goc-canvas.c: ditto.
* goffice/canvas/goc-canvas.h: ditto.
* goffice/canvas/goc-circle.h: ditto.
* goffice/canvas/goc-component.c: ditto.
* goffice/canvas/goc-ellipse.h: ditto.
* goffice/canvas/goc-graph.c: ditto.
* goffice/canvas/goc-graph.h: ditto.
* goffice/canvas/goc-group.h: ditto.
* goffice/canvas/goc-image.h: ditto.
* goffice/canvas/goc-item.c: ditto.
* goffice/canvas/goc-item.h: ditto.
* goffice/canvas/goc-line.h: ditto.
* goffice/canvas/goc-path.h: ditto.
* goffice/canvas/goc-pixbuf.h: ditto.
* goffice/canvas/goc-polygon.h: ditto.
* goffice/canvas/goc-polyline.h: ditto.
* goffice/canvas/goc-rectangle.h: ditto.
* goffice/canvas/goc-styled-item.h: ditto.
* goffice/canvas/goc-text.c: ditto.
* goffice/canvas/goc-text.h: ditto.
* goffice/canvas/goc-widget.h: ditto.
* goffice/canvas/goffice-canvas.h: ditto.
* goffice/component/go-component.c: remove support for windowed components.
* goffice/component/go-component.h: ditto.
* goffice/goffice.h: fix the without gtk build.
* goffice/graph/gog-object.c: ditto.
* goffice/gtk/goffice-gtk.c: ditto.
* goffice/utils/go-emf.c: imported Valek's WMF parser and started an EMF
parser.
* goffice/utils/go-image.h: fix the without gtk build.
* goffice/utils/go-pango-extras.c: ditto.
* goffice/utils/go-pango-extras.h: ditto.
* plugins/plot_radar/gog-radar.c: ditto.
2011-10-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: some work on manual labels size.
* goffice/graph/gog-chart.c (gog_chart_get_manual_size_mode),
(gog_chart_class_init): ditto.
* goffice/graph/gog-label.c (gog_text_set_property),
(gog_text_get_property), (gog_text_get_manual_size_mode),
(gog_text_class_init), (wrap_cb), (gog_label_populate_editor):
* goffice/graph/gog-label.h: ditto.
* goffice/graph/gog-object-prefs.ui: ditto.
* goffice/graph/gog-object.c (cb_manual_size_changed),
(gog_object_populate_editor), (gog_object_class_init),
(gog_object_get_manual_allocation), (gog_object_document_changed),
(gog_object_get_manual_size_mode):
* goffice/graph/gog-object.h: ditto.
* goffice/graph/gog-view.c (gog_tool_resize_object_point),
(gog_tool_resize_object_render): ditto.
* goffice/utils/go-style-prefs.ui: redesigned the style prefs widget.
* goffice/utils/go-style.c (go_style_set_image_preview),
(outline_init), (line_init), (fill_image_init),
(fill_update_visibilies), (fill_init), (go_style_populate_editor): ditto.
2011-10-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_get_bounds): fixed arguments type.
* goffice/canvas/goc-canvas.h: ditto.
* goffice/canvas/goc-pixbuf.c (goc_pixbuf_draw): cleaned.
* goffice/graph/gog-3d-box-prefs.ui: fixed GtkGrid spacing.
* goffice/graph/gog-axis-prefs.ui: ditto.
* goffice/graph/gog-guru-type-selector.ui: ditto.
* goffice/utils/go-emf.c (go_emf_new_from_file),
(go_emf_new_from_data): return GOImage*.
* goffice/utils/go-emf.h: ditto.
* goffice/utils/go-image.c (go_image_new_from_data): add an argument to
retrieve the type.
* goffice/utils/go-image.h: ditto.
* goffice/utils/go-pixbuf.c (go_pixbuf_new_from_pixbuf): return GOImage*.
* goffice/utils/go-pixbuf.h: ditto.
* goffice/utils/go-svg.c (go_svg_new_from_file),
(go_svg_new_from_data): ditto.
* goffice/utils/go-svg.h: ditto.
* plugins/plot_surface/gog-xyz-prefs.ui: fixed GtkGrid spacing.
2011-10-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): add arg to call of
go_pango_attr_superscript_new
(cb_attrs_as_string): write value of sub- and superscript attributes
* goffice/utils/go-pango-extras.h: publish GOPangoAttr* struct
(go_pango_attr_*_new): add argument
* goffice/utils/go-pango-extras.c (go_pango_translate_here): check
attribute values
(go_pango_attr_subscript_copy): copy attribute value
(go_pango_attr_superscript_copy): copy attribute value
(go_pango_attr_compare): replace with go_pango_attr_*_compare
(go_pango_attr_*_new): add argument
2011-10-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (cb_attrs_as_string): handle super and
subscripts
(go_format_parse_markup): ditto
* goffice/utils/go-pango-extras.h (go_pango_attr_subscript_get_type):
new
(go_pango_attr_superscript_get_type): new
* goffice/utils/go-pango-extras.c (go_pango_attr_subscript_get_type):
new
(go_pango_attr_superscript_get_type): new
(filter_func): use the above
(go_pango_attr_subscript_new): ditto
(go_pango_attr_superscript_new): ditto
2011-10-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-emf.c: fixed a compilation warning.
* goffice/utils/go-image.c (go_image_get_height),
(go_image_set_default_dpi), (go_image_get_default_dpi): fixed svg image
size. [#628472]
* goffice/utils/go-image.h: ditto.
* goffice/utils/go-svg.c (go_svg_load_data),
(go_svg_new_from_file), (go_svg_new_from_data): ditto.
2011-10-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c: new helper functions.
* goffice/canvas/goc-canvas.h: ditto.
* goffice/canvas/goc-image.c: add crop.
* goffice/canvas/goc-image.h: ditto.
* goffice/goffice.c: initialize new type.
* goffice/graph/gog-plot-impl.h: add get_percent method.
* goffice/graph/gog-plot.c: ditto.
* goffice/graph/gog-plot.h: ditto.
* goffice/utils/Makefile.am: new files.
* goffice/utils/go-emf.c: added for a future support of WMF images.
* goffice/utils/go-emf.h: ditto.
* goffice/utils/go-image.c: add go_image_from_data().
* goffice/utils/go-image.h: ditto.
* goffice/utils/go-svg.c: ditto.
* goffice/utils/go-svg.h: ditto.
* goffice/utils/goffice-utils.h: add GOEmf.
* tests/mf-demo.c: fixed GOImage usage.
2011-10-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-pango-extras.c (go_pango_translate_here): allow for
multiple overlapping subscript/superscript attributes
(go_pango_translate_attributes): allow for
multiple overlapping subscript/superscript attributes
(go_pango_attr_compare): return FALSE
2011-10-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): use GO's new
superscript andd subscript attributes
* goffice/utils/go-pango-extras.h (go_pango_translate_layout): new
(go_pango_translate_attributes): new
(go_pango_attr_subscript_new): new
(go_pango_attr_superscript_new): new
* goffice/utils/go-pango-extras.c (go_pango_translate_layout): new
(go_pango_translate_attributes): new
(go_pango_attr_subscript_new): new
(go_pango_attr_superscript_new): new
(filter_func): new
(go_pango_translate_here): new
(go_pango_attr_subscript_copy): new
(go_pango_attr_superscript_copy): new
(go_pango_attr_destroy): new
(go_pango_attr_compare): new
2011-10-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-image.c (goc_image_set_property),
(goc_image_get_property), (goc_image_finalize),
(goc_image_update_bounds), (goc_image_distance), (goc_image_draw),
(goc_image_class_init): new canvas item displaying a GOImage.
* goffice/canvas/goc-image.h: ditto.
* goffice/canvas/goffice-canvas.h: ditto.
* goffice/canvas/Makefile.am: ditto.
* goffice/utils/go-style.c: fixed loading of image without type.
2011-10-26 Jean Brefort <jean.brefort@normalesup.org>
* all files: add support for svg images using librsvg.
2011-10-25 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (apply_ui_from_file): Add filename
argument and use it to partially work around bug #662679.
2011-10-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-pixbuf.c: moved to utils.
* goffice/gtk/go-pixbuf.h: ditto.
* goffice/utils/go-pixbuf.c (go_gdk_pixbuf_intelligent_scale),
(go_gdk_pixbuf_new_from_file), (go_gdk_pixbuf_get_from_cache),
(go_gdk_pixbuf_tile):rename the functions to prepare for GOPixbuf (GOImage
split).
* goffice/utils/go-pixbuf.h: ditto.
2011-10-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): fix sense of
at_end test
2011-10-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): consider the
existing attributes
2011-10-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.h: add format defines
* goffice/utils/go-format.c (go_format_execute): use these defines
2011-10-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-image-sel.c (cb_entry_focus_out),
(cb_file_image_select), (delete_event_cb),
(cancel_button_clicked_cb): more fixes, see #660917.
2011-10-21 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-gsettings.c (go_conf_get_node): Add
precondition.
2011-10-21 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: make GSettings the default configuration backend.
* goffice/graph/gog-renderer.c (gog_renderer_export_image): use
GdkPixbuf even in the no gtk build.
* goffice/gtk/go-image-sel.c: redesigned.
* goffice/gtk/go-image-sel.ui: ditto.
* goffice/gtk/goffice-gtk.c (go_gtk_select_image),
(go_gtk_select_image_with_extra_widget): new function.
* goffice/gtk/goffice-gtk.h: ditto.
2011-10-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_builder_new): Handle
compressed ui data (regardless of source).
2011-10-17 Morten Welinder <terra@gnome.org>
* goffice/utils/go-rsm.c: New file.
* goffice/gtk/goffice-gtk.c (go_gtk_builder_new)
(go_gtk_builder_new_internal): Handle resources.
2011-10-17 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_builder_new): Move
default-directory code from here...
(go_gtk_builder_new_internal): ...to here.
* */*.c: change to use go_gtk_builder_new_internal as appropriate.
2011-10-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin.c: removed deprecated go_plugins_add().
* goffice/app/go-plugin.h: ditto.
* goffice/graph/gog-object-xml.c (gog_object_new_from_input): new function
to remlace gog_object_new_from_xml.
* goffice/graph/gog-object-xml.h: ditto.
* goffice/graph/gog-plot-impl.h: removed deprecated declaration.
2011-10-09 Gerald Niel
* configure.in: fixed plugins load from a Mac OSX bundle. [#661264]
* goffice.mk: ditto.
* goffice/Makefile.am: ditto.
* goffice/goffice.c (libgoffice_init): ditto.
2011-10-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk8go-image-sel.c: make the dialog work again. [#660917]
* goffice/utils/go-style-prefs.ui: fix a widget size.
2011-10-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels.c
(gog_series_labels_dataset_dim_changed): update series labels when needed.
[658527]
2011-09-30 Morten Welinder <terra@gnome.org>
* goffice/math/go-rangefunc.c (sum_helper): Improve precision in
the all-constant case. See #660564.
* goffice/utils/go-file.c (go_dirname_from_uri): Plug leak.
2011-09-26 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c (gog_barcol_plot_set_property),
(gog_barcol_plot_init): draw columns/bars plots before the axes so that
axis labels are always visible.
2011-09-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_reordered), (goc_item_raise),
(goc_item_lower), (goc_item_lower_to_bottom),
(goc_item_raise_to_top), (_goc_item_unrealize),
(goc_item_get_parent), (goc_item_get_window): fixed widgets stacking order.
* goffice/canvas/goc-item.h: ditto.
* goffice/canvas/goc-widget.c (goc_widget_get_window),
(goc_widget_class_init): ditto.
2011-09-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-color-palette.c (draw_color_cb),
(go_color_palette_button_new): ensure that the colors are always displayed,
even with the most stupid theme.
2011-09-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-file.c (go_file_get_owner_name): adjust call
to go_guess_encoding
(go_file_get_group_name): ditto
* goffice/utils/go-glib-extras.h (go_guess_encoding): change
arguments
* goffice/utils/go-glib-extras.c (go_guess_encoding): change
arguments and change all callers
2011-09-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_refcount_cb): deleted
(go_format_foreach): just wrap the GHFunc
(go_format_unref): don't keep GOFormats that are just in the hash
2011-09-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.h (go_format_set_build_in): deleted again
(go_format_is_build_in): deleted again
* goffice/utils/go-format.c (go_format_set_build_in): deleted again
(go_format_is_build_in): deleted again
* goffice/gtk/go-format-sel.c (fmt_dialog_init_fmt_list): add argument
and store seen formats in hash
(fmt_dialog_load_true_custom_cb): check hash not, built_in flag
2011-09-08 Morten Welinder <terra@gnome.org>
* configure.in: Switch to AM_MAINTAINER_MODE([enable])
2011-09-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fixed axis title
automatic position by taking actual axis span into account.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): fixed are filling.
2011-09-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.h (go_format_set_build_in): new
(go_format_is_build_in): new
(go_format_foreach): new
* goffice/utils/go-format.c (go_format_set_build_in): new
(go_format_is_build_in): new
(go_format_foreach): new
(go_format_refcount_cb): new
* goffice/gtk/go-format-sel.c (fmt_dialog_load_true_custom_cb): new
(fmt_dialog_enable_widgets): call fmt_dialog_load_true_custom_cb
2011-09-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (handle_common_token): try harder to find the
locale, Ubuntu, for example, does not understand fi_FI but fi_FI.utf-8.
2011-09-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_fraction): make
denominator simplification slightly less eager
(go_format_execute): ditto
2011-09-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_E): make sure to
fail on '00E00' and '00E +00'
(go_format_execute): keep the leading whitespace
2011-09-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): conditionalize denominator
simplification (and disable)
(go_format_parse_number_fraction): ditto
2011-09-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_fraction_to_odf): fix
int_digits and don't force a 0 into the denominator
2011-09-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_set_widget): fixed signals target,
(goc_widget_draw): create a new path before exiting to avoid unwanted lines.
2011-09-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_offscreen_box_realize),
(goc_offscreen_box_class_init), (goc_widget_draw),
(goc_widget_class_init): reimplement widget transparency.
2011-09-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_offscreen_box_draw): enhance widget
rendering.
2011-09-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_fraction_to_odf):
handle pi-fraction
2011-09-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c: make sheet widgets scalable. [#605434]
* goffice/canvas/goc-widget.h: ditto.
2011-09-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.ui: new widgets
* goffice/gtk/go-format-sel.c (_GOFormatSel): new fields
(load_si_combo): new
(cb_si_toggle): enable/disable new widgets
(cb_si_unit_toggle): new
(cb_si_combo_changed): new
(fmt_dialog_enable_widgets): handle new widgets
(nfs_init): ditto
(go_format_sel_finalize): finalize details
* goffice/utils/go-format.h (go_format_details_finalize): new
and add new fields
* goffice/utils/go-format.c (go_format_generate_scientific_str):
use new fields
(go_format_details_finalize): new
(go_format_details_free): use go_format_details_finalize
(go_format_get_details): consider new fields
2011-09-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: use data format for discrete axis. [#641901]
2011-09-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (si_reduction): use -24 for smaller
exponents
2011-09-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-text.c (goc_text_prepare_draw): always initialize
dx and dy variables.
2011-09-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-impl.h: add support for values as percent in
data labels.
* goffice/graph/gog-series-labels.c: ditto.
* goffice/graph/gog-series-labels.h: ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-series.h: ditto.
2011-09-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_E):
use OP_NUM_SIMPLIFY_MANTISSA_SI instead of OP_NUM_SIMPLIFY_MANTISSA
if appropriate
(go_format_execute): handle OP_NUM_SIMPLIFY_MANTISSA_SI
(go_format_dump_program): ditto
2011-09-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_new_1): mark
the end of the number
(go_format_dump_program): support new op
(go_format_execute): watch for stuff following the E
2011-09-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (cb_si_toggle): new
(fmt_dialog_enable_widgets): handle si_button
(format_entry_set_text): check for null text
(nfs_init): connect cb_si_toggle
* goffice/gtk/go-format-sel.ui: add si_button
* goffice/utils/go-format.h: move defs here from the .c file
* goffice/utils/go-format.c: move defs to .h file
(go_format_token2): split E token into separate tokens
(go_format_preparse): handle new tokens
(go_format_parse_number_new_1): new ' scale
(go_format_parse_number_E): support SI prefixes
(si_reduction): new
(go_format_execute): support SI prefixes
(go_format_generate_scientific_str): appens SI marker
(go_format_get_details): store SI info
2011-08-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (gog_renderer_draw_data_label): center
multiline label, (gog_renderer_get_scale): new function.
* goffice/graph/gog-renderer.h: ditto.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): support data labels.
2011-08-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/graph/gog-axis.c (axis_format_value): trim label. [#657670]
* goffice/utils/go-string.c (find_shape_attr): new
(go_string_trim): new
* goffice/utils/go-string.h (go_string_trim): new
2011-08-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip),
(goc_graph_motion): appropriately scale the position. [#657694]
* goffice/graph/gog-axis.c (map_linear_calc_ticks): always display the
correct minor axis ticks. [#657670]
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): don't crash when pseudo3d axis has too
largemanula ticks spacing. [#657695]
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_surface_plot_build_matrix): ditto.
2011-08-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_get_logical_rect): change to
go_format_get_width and change all callers
(blank_characters): rewrite
* goffice/gtk/go-format-sel.ui: fix spelling
2011-08-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-labels-prefs.ui: add a separator for labels.
* goffice/graph/gog-series-labels.c: ditto.
* goffice/graph/gog-series-labels.h: ditto.
* goffice/utils/go-pango-extras.c (go_pango_attr_list_erase): fix a
critical.
2011-08-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_draw): draw using gtk_widget_draw.
* goffice/goffice.c (libgoffice_init): new GogDataLabel type.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-renderer.c (gog_renderer_draw_data_label): use overriden
style if given.
* goffice/graph/gog-series-labels.c: new GogDataLabel type.
* goffice/graph/gog-series-labels.h: ditto.
* goffice/graph/gog-series.c (role_series_labels_post_add): set a default
format, (gog_series_map_XL_dim), (gog_series_set_XL_dim): new functions.
* goffice/graph/gog-series.h: new functions.
* goffice/graph/gog-theme.c (build_predefined_themes): new GogDataLabel type
* goffice/utils/go-style.c (go_style_is_auto): new function.
* goffice/utils/go-style.h: ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): allow for
points in data labels.
* plugins/plot_xy/gog-xy.c (gog_xy_series_init): set a default label
position.
2011-08-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_desired_width): check for fontmap
(go_format_get_logical_rect): ditto
2011-08-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_get_logical_rect): handle NULL layout
(go_format_desired_width): ditto
2011-08-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/formats.c (_go_currency_date_format_init): ISO 8601 should
be with the other date-time formats
2011-08-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (GOFormatOp): add ops
(go_format_parse_number_fraction): create more program steps for fractions
(go_format_dump_program): handle new ops
(go_format_execute): ditto
* goffice/gtk/go-format-sel.ui: change spin button bounds
* goffice/gtk/go-format-sel.c (cb_max_denom_digits_changed): permit
0 denominator digits
2011-08-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (GOFormatOp): add ops
(go_format_parse_number_fraction): create more program steps for fractions
(go_format_dump_program): handle new ops
(go_format_execute): ditto
(go_format_get_details): be more careful to take the right tokens
2011-08-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.ui: fix tooltips
2011-08-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.ui: add as-multiple-of-pi checkbox and sep.
* goffice/gtk/go-format-sel.c (FormatWidget): add new widgets
(cb_pi_scale_toggle): new
(fmt_dialog_enable_widgets): handle new widgets
(nfs_init): handle new widgets
* goffice/utils/go-format.h (GOFormatDetails): add new field
* goffice/utils/go-format.c (go_format_generate_fraction_str):
handle pi-slash
(go_format_details_init): adjust initialisation
(go_format_get_details): handle pi-slash
2011-08-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_fraction): write
OP_NUM_VAL_SIGN
(go_format_execute): keep the sign attached to val
2011-08-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (blank_characters): also remove the characters
themselves
(go_format_execute): move code to blank_characters; erase rather
than overwrite for OP_NUM_FRACTION_BLANK_WHOLE; consider alignment
for OP_NUM_FRACTION_SIMPLIFY_PI
2011-08-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_fraction):
don't use both OP_NUM_FRACTION_SIMPLIFY_PI and OP_NUM_FRACTION_BLANK
2011-08-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_parse_number_fraction): use
OP_NUM_FRACTION_SLASH and OP_NUM_FRACTION_ALIGN
(UNICODE_PI): use "mathematical small italic pi"
(go_format_get_logical_rect): new
(go_format_dump_program): add OP_NUM_FRACTION_SLASH and OP_NUM_FRACTION_ALIGN
(go_format_desired_width): new
(blank_characters): use go_format_get_logical_rect
(go_format_execute): support OP_NUM_FRACTION_SLASH and OP_NUM_FRACTION_ALIGN
2011-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (study_format): scientific number
formatting with min_digits =0 and =1 are effectively indistinguishable
(fmt_dialog_enable_widgets): set the range of the F_EXP_DIGITS widget
depending on format_type
* goffice/utils/go-format.c (go_format_parse_number_new_1): add argument
and change all callers
(go_format_parse_number_fraction): write OP_NUM_FRACTION_BLANK_WHOLE if
appropriate
(blank_characters): new
(go_format_execute): use blank_characters and handle OP_NUM_FRACTION_BLANK_WHOLE
(go_format_generate_fraction_str): write full numerator
(cnt_digits): new
2011-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (study_format): the fraction selector
interface handles min_digits.
2011-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_get_details): handle fractions
2011-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (FormatWidget): add widgets for fraction
formatting
(cb_denominator_changed): new
(cb_max_denom_digits_changed): new
(cb_min_integer_digits_changed): new
(cb_min_denom_digits_changed): new
(cb_exp_digits_changed): check for active type
(cb_split_fraction_toggle): new
(cb_fraction_automatic_toggle): new
(fmt_dialog_enable_widgets): increase maximum number of widgets per format
type, add widgets for fraction formatting
(nfs_init): connect new callbacks
* goffice/gtk/go-format-sel.ui: add widgets for fraction formatting
* goffice/utils/go-format.c (go_format_generate_fraction_str): new
(go_format_generate_str): call go_format_generate_fraction_str
(go_format_details_init): initialize new fields
* goffice/utils/go-format.h (GOFormatDetails): add fields to support
fractions
2011-08-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (cb_exp_digits_changed): new
(fmt_dialog_enable_widgets): add widgets
(nfs_init): connect above callback
* goffice/gtk/go-format-sel.ui: add widgets and format others better
2011-08-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.ui: use unicode chanracter for "times" instead
of x
2011-08-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (study_format): in scientific formatting the
selector also handles details->min_digits == 0
* goffice/utils/go-format.c (go_format_get_details): EE+ can also occur in
scientific formatting
2011-08-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_notify_scrolled): fix widgets
position inside an RTL canvas.
* goffice/graph/gog-renderer.c (gog_renderer_draw_data_label): enhance
scale use.
2011-08-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: fix include order.
* goffice/graph/gog-renderer.c (gog_renderer_draw_data_label): new function.
* goffice/graph/gog-renderer.h: ditto.
* goffice/graph/gog-series-labels.c (gog_series_labels_update): make legend
entry in label work.
* goffice/graph/gog-series-labels.h: ditto.
* goffice/graph/gog-view.c (gog_view_get_natural_size): new function
(see #629794)
* goffice/graph/gog-view.h: ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): use
gog_renderer_draw_data_label.
2011-08-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-cmd-context-impl.h (go_cmd_context_progress_set):
remove
(go_cmd_context_progress_message_set): remove
* goffice/app/go-cmd-context.h (go_cmd_context_progress_set): add
(go_cmd_context_progress_message_set): add
2011-08-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_invalidate): add a one pixel
wide margin to the invalidated region to avoid pixels dust.
* goffice/canvas/goc-text.c (goc_text_prepare_draw),
(goc_text_draw): ensure that the rotation is around the anchor point.
* goffice/graph/gog-series-labels.c (used_selection_changed_cb),
(raise_cb), (lower_cb), (position_changed_cb),
(gog_series_labels_changed), (gog_series_labels_update): ensure that all
changes instant apply in the preview.
* goffice/gtk/go-rotation-sel.c (cb_rotate_changed),
(cb_rotate_canvas_realize): replaced the GtkLabel by a GocText item.
2011-08-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-plugin-loader-module.c
(go_plugin_loader_module_func_file_open): add argument and adjust
call to loader_data->module_func_file_open
* goffice/app/go-plugin-service.h (plugin_func_file_open):
add argument
* goffice/app/go-plugin-service.c (_GOPluginServiceFileOpener):
add field
(go_plugin_service_file_opener_read_xml): load "encoding_dependent"
(go_plugin_file_opener_open): adjust call to plugin_func_file_open
(go_plugin_file_opener_new): use service_file_opener->encoding_dependent
2011-08-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-impl.h: add new is_valid method.
* goffice/data/go-data.c (go_data_is_valid): ditto.
* goffice/data/go-data.h: ditto.
* goffice/graph/gog-label.c (gog_text_view_size_request): don't unref a
GOString twice.
* goffice/graph/gog-series-labels.c: more work on data labels.
* goffice/graph/gog-series-labels.h: ditto.
* goffice/graph/gog-series.c (role_series_labels_can_add),
(gog_series_update): ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): ditto.
2011-08-12 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_value_gstring): Avoid
changing attribute list we don't own. Fixes problem with sticky
format colours.
2011-08-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-smoothed-curve.c
(gog_smoothed_curve_populate_editor),
(gog_smoothed_curve_finalize), (gog_smoothed_curve_class_init),
(gog_smoothed_curve_init), (gog_smoothed_curve_dataset_dims),
(gog_smoothed_curve_dataset_get_elem),
(gog_smoothed_curve_dataset_dim_changed),
(gog_smoothed_curve_dataset_init): add support for smoothed curve renaming.
[#656148].
* goffice/graph/gog-smoothed-curve.h:
2011-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-locale.c (go_locale_month_before_day): in MSWindows
also consider where the year is.
2011-08-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): n digits means atmast
10^n -1
(go_format_generate_scientific_str): use number of exponent digits
even if markup is used
2011-08-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): fix when an axis
does not use all the available space.
* goffice/graph/gog-axis-prefs.ui: allows an axis to use only part of
available space. [#654392]
* goffice/graph/gog-axis.c (gog_axis_map_new),
(gog_axis_map_get_extents), (gog_axis_map_get_bounds),
(gog_axis_set_property), (gog_axis_get_property),
(cb_start_changed), (cb_end_changed), (gog_axis_populate_editor),
(gog_axis_class_init), (gog_axis_init), (gog_axis_set_bounds),
(gog_axis_get_effective_span): ditto.
* goffice/graph/gog-axis.h: ditto.
2011-08-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-label.c (gog_text_set_property),
(gog_text_get_property), (gog_text_class_init), (rotate_frame_cb),
(rotate_bg_cb), (allow_markup_cb), (gog_label_populate_editor),
(gog_label_class_init), (gog_text_view_size_request),
(gog_text_view_render): allow rotation of the frame along with the text.
[#647147]
* goffice/graph/gog-label.h:
* goffice/graph/gog-renderer.c (_draw_rotated_shape),
(gog_renderer_fill_rectangle), (_draw_rotated_rectangle),
(gog_renderer_draw_rotated_rectangle):
* goffice/graph/gog-renderer.h:
* goffice/utils/go-style-prefs.ui:
2011-08-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: add support for rich text in legends.
* goffice/graph/gog-legend.c (cb_size_elements), (cb_swatch_scale),
(cb_render_elements): ditto.
* goffice/graph/gog-plot.c (gog_plot_foreach_elem): ditto.
* goffice/utils/go-string.c (replace_rich_base_with_plain): don't leak
a string.
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): add support for rich text in legends.
2011-08-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c
(go_format_output_scientific_number_element_to_odf): add arguments re
literal_E and change caller
(go_format_output_scientific_number_to_odf): handle EE or ee
2011-08-05 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_get_details): Deduce
exponent_digits.
(go_format_generate_scientific_str): Add right number of exponent
digits.
(go_format_details_init): Reset exponent_digits.
* goffice/data/go-data.c (go_data_preferred_fmt): Constify. Fixes
#635072. All callers adjusted.
2011-08-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-string.c (replace_rich_base_with_plain): don't loose
the ancient base if not destroyed.
2011-08-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-impl.h: sanitize the get_markup API.
* goffice/data/go-data.c (_data_scalar_get_markup): ditto.
* goffice/data/go-data.h: ditto.
* goffice/graph/gog-axis.c (gog_axis_ticks_set_markup),
(map_discrete_calc_ticks): use markup for discrete axis tip labels.
* goffice/utils/go-string.c (replace_rich_base_with_plain),
(go_string_new_rich), (go_string_unref): fix GOString lifetime.
2011-08-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-group.c (goc_group_update_bounds),
(goc_group_draw_region), (goc_group_distance),
(goc_group_cairo_transform), (goc_group_set_clip_path): start support for
clipping at the GocGroup level.
* goffice/canvas/goc-group.h:
* goffice/gtk/go-optionmenu.c (handle_menu_signals),
(go_option_menu_set_menu): don't use an unexisting sgnal.
2011-08-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-impl.h: fix get_markup method declaration.
* goffice/graph/gog-renderer.c (gog_renderer_draw_text),
(gog_renderer_get_text_OBR): removed obsolete variables.
2011-08-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polygon.c (goc_polygon_set_property): make it
compile again.
* goffice/graph/gog-label.c (gog_text_get_markup),
(gog_label_get_markup), (gog_label_class_init),
(gog_text_view_render): add support for rich text labels.
* goffice/graph/gog-label.h: ditto.
* goffice/graph/gog-renderer.c (gog_renderer_get_text_AABR),
(gog_renderer_get_gostring_AABR): ditto.
* goffice/graph/gog-renderer.h: ditto.
2011-08-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polygon.c (goc_polygon_finalize),
(goc_polygon_set_property), (goc_polygon_get_property),
(goc_polygon_prepare_path): replaced private structures by public data.
* goffice/canvas/goc-polygon.h: ditto.
* goffice/canvas/goc-rectangle.c (goc_rectangle_set_property),
(goc_rectangle_get_property), (goc_rectangle_prepare_draw): ditto.
* goffice/canvas/goc-rectangle.h: ditto.
2011-08-02 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: needs librsvg.
* goffice/canvas/Makefile.am: add component support to the canvas.
* goffice/canvas/goc-component.c: ditto.
* goffice/canvas/goc-component.h: ditto.
* goffice/canvas/goffice-canvas.h: ditto.
* goffice/component/Makefile.am: revisited the component API.
* goffice/component/go-component-factory.c: ditto.
* goffice/component/go-component-factory.h: ditto.
* goffice/component/go-component-mime-dialog.c: ditto.
* goffice/component/go-component-mime-dialog.h: ditto.
* goffice/component/go-component.c: ditto.
* goffice/component/go-component.h: ditto.
* goffice/component/goffice-component.h: ditto.
* goffice/graph/gog-axis-line.c: cleaned out extra spaces.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-renderer.c: ditto.
* goffice/graph/gog-renderer.h: ditto.
* goffice/graph/gog-series-labels.c: ditto.
* goffice/gtk/go-format-sel.c: ditto.
* goffice/utils/go-format.c: ditto.
* goffice/utils/go-pango-extras.h: ditto.
* plugins/plot_barcol/gog-barcol.c: ditto.
2011-08-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-impl.h: add markup support.
* goffice/data/go-data.c: ditto.
* goffice/data/go-data.h: ditto.
* goffice/goffice.c: add initial support for data labels.
* goffice/graph/Makefile.am: ditto.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-series-impl.h: ditto.
* goffice/graph/gog-series-labels-prefs.ui: ditto.
* goffice/graph/gog-series-labels.c: ditto.
* goffice/graph/gog-series-labels.h: ditto.
* goffice/graph/gog-theme.c: ditto.
* plugins/plot_barcol/gog-1.5d.c: add support for d ata labels in bar/col
plots.
* plugins/plot_barcol/gog-barcol.c: ditto.
2011-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-cmd-context-impl.h (GOCmdContextClass): move
error_info_list field to the error substruct
* goffice/app/go-cmd-context.c (go_cmd_context_error_info_list): adjust
for the move of the error_info_list field
(go_cmd_context_error_info_list_default): ditto
2011-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_execute): insert space in case
of short nominators
2011-08-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* configure.in: disable gtk depreciation check
* goffice/graph/gog-axis-line.c: replace ticks.labels with ticks.str
throughout;
gog_renderer_get_text_OBR with gog_renderer_get_gostring_OBR, and
gog_renderer_draw_text with gog_renderer_draw_gostring as required
byt he ticks change
* goffice/graph/gog-axis.c replace ticks.labels with ticks.str
throughout and use gog_axis_ticks_set_text to initialize
(gog_get_layout): new
(gog_axis_ticks_set_text): new
(axis_format_value): add GOString argument and change all callers
* goffice/graph/gog-axis.h: replace ticks.labels with ticks.str
* goffice/graph/gog-renderer.c (gog_renderer_draw_gostring): new
(gog_renderer_draw_text): use gog_renderer_draw_gostring
(gog_renderer_get_gostring_OBR): new
(gog_renderer_get_text_OBR): use gog_renderer_get_gostring_OBR
(gog_renderer_get_gostring_OBR): new
* goffice/graph/gog-renderer.h (gog_renderer_draw_gostring): new
* goffice/gtk/go-format-sel.c (generate_preview): use PangoAttrList
(draw_format_preview): ditto
(nfs_init): create buffer tags
* goffice/utils/go-format.c (go_format_parse_number_E): use attributes
(go_format_execute): use attributes
(go_format_value_gstring): use attributes instead of passing colour
* goffice/utils/go-pango-extras.c
(go_load_pango_attributes_into_buffer_filter): new
(go_load_pango_attributes_into_buffer_named_filter): new
(go_create_std_tags_for_buffer): new
(go_load_pango_byte_to_char): new
(go_load_pango_attributes_into_buffer): new
* goffice/utils/go-pango-extras.h (go_create_std_tags_for_buffer): new
(go_load_pango_attributes_into_buffer): new
* goffice/utils/go-string.c (go_string_new_rich): ensure we have determined
the byte_len (if it was negative or zero)
2011-08-01 Jean Brefort <jean.brefort@normalesup.org>
* all files: port to gtk+-3.0.
2011-08-01 Morten Welinder <terra@gnome.org>
* configure.in: Branch to 0.9.0.
2011-07-31 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-07-31 Morten Welinder <terra@gnome.org>
* Release 0.8.17
2011-06-21 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-graph.c (gog_graph_populate_editor): Force the
GtkComboxBox to drop its model on destroy to prevent theme leak if
the combo is leaked itself. Fixes #652420.
2011-06-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-marker-selector.c
(go_marker_palette_render_func): Plug leak.
* goffice/graph/gog-series.c (gog_series_populate_editor): Make
sure we free the GtkBuilder object.
2011-06-16 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-06-16 Morten Welinder <terra@gnome.org>
* Release 0.8.16
2011-06-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* configure.in: check for get_gsf_odf_version
* goffice/utils/go-format.c (go_format_output_fraction_to_odf):
don't just assume that we are writing ODF 1.2
2011-06-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_fraction_to_odf): in
ODF 1.2 we do not need to use gnm:no-integer-part any more
2011-05-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_execute): Remove "-" from
"-0" even when no dot is present. Fixes #650928.
2011-05-23 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.c (go_complex_invalid)
(go_complex_angle_pi): New functions.
(go_complex_pow): Improve accuracy.
2011-05-22 Morten Welinder <terra@gnome.org>
* goffice/math/go-complex.h (go_complexl): Only defined when
GOFFICE_WITH_LONG_DOUBLE.
2011-05-21 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-05-21 Morten Welinder <terra@gnome.org>
* Release 0.8.15
2011-05-19 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-probability-plot.c
(data_as_y_toggled_cb), (gog_probability_plot_populate_editor),
(gog_probability_plot_update), (gog_probability_plot_set_property),
(gog_probability_plot_get_property),
(gog_probability_plot_class_init),
(gog_probability_plot_view_render): implement data-as-y-values property.
[#650515]
* plugins/plot_distrib/gog-probability-plot.h: ditto.
2011-05-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-format.c (go_format_parse_sequential),
(go_format_output_date_to_odf),
(go_format_output_scientific_number_to_odf): fixed some gcc-4.6 warnings.
[#649355]
2011-05-10 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (general_linear_regression): Always
compute stat information. If we get negative R-squared, mark
result as bad.
2011-05-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-marker.c (go_marker_create_cairo_surface): don't
use badly rounded values when clipping markers. [#649485]
2011-04-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-geometry.c (go_direction_get_type),
(go_direction_get_name): make nick names localizable since they are
used in a gnumeric dialog.
* goffice/utils/go-geometry.h: ditto.
2011-04-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-legend.c (cb_render_elements): fix legends for plots
with marker only style. [#647367]
2011-04-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_token2): localized colour
names need not start with an alphabetic ascii character.
2011-04-08 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-group.c: Cleanup list traversal.
* goffice/canvas/goc-item.c (goc_item_maybe_invalidate): New
function, extracted from goc_item_invalidate. Avoid invalidating
invisible items.
(goc_item_set_visible): New function.
(goc_item_show, goc_item_hide): Base on goc_item_set_visible.
This avoids invalidation when nothing changes.
2011-04-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy-dropbar-prefs.ui: implement dropbar plots with
linear or logarithmic index axis. [#646832]
* plugins/plot_xy/gog-xy-dropbar.c: ditto.
* plugins/plot_xy/gog-xy-dropbar.h: ditto.
2011-04-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-bezier.c (go_bezier_spline_init): fixed closed bezier
spline evaluation. [#646700]
2011-03-28 Morten Welinder <terra@gnome.org>
* goffice/utils/go-style.c (fill_init): Don't leak the size group.
2011-03-24 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-03-24 Morten Welinder <terra@gnome.org>
* Release 0.8.14
2011-03-16 Morten Welinder <terra@gnome.org>
* configure.in: Fix backend selection by testing for win32 first.
2011-03-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-gtk-compat.h: fix gtk_widget_send_focus_change
replacement macro to make gcc succeed again.
2011-03-12 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-box.c (do_focus_change): Add cast because
gcc isn't smart enough to follow union rules before warning.
2011-03-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-conf-gsettings.c (go_conf_get_node),
(cb_key_changed), (go_conf_add_monitor): fix gnumeric crash when
monitoring settings changes. [#644222]
2011-03-03 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: implement a GSettings backend for GOConf. [#643767]
* goffice/app/go-conf.c: ditto.
* goffice/app/go-conf-gsettings.c: ditto.
2011-03-01 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-gconf.c (go_conf_get_node): Handle keys that
don't start in /apps/.
2011-02-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-undo.c (go_undo_*nary_finalize): chain to parent
2011-02-23 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-charmap-sel.c (cs_build_menu): Plug leak.
* goffice/graph/gog-guru.c (graph_guru_init_format_page): Plug
leak.
(graph_guru_type_selector_new): Ditto.
* goffice/graph/gog-axis-line.c (gog_axis_base_populate_editor):
Ditto.
* plugins/plot_distrib/go-distribution-prefs.c (go_distribution_pref_new):
Ditto.
2011-02-22 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-locale-sel.c (ls_build_menu): Plug leak.
2011-02-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (nfs_init): Plug leaks.
* goffice/gtk/go-font-sel.c (list_init): Ditto.
* goffice/gtk/go-image-sel.c (go_image_sel_new): Ditto.
2011-02-02 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-02-02 Morten Welinder <terra@gnome.org>
* Release 0.8.13
2011-01-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c: add some API documentation.
2011-01-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (printf_engineering): New function.
Fix overflow problem. Fixes #640571.
(go_format_execute): Use printf_engineering.
2011-01-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c (render_val),
(go_data_scalar_val_serialize), (go_data_scalar_val_unserialize),
(go_data_vector_val_unserialize), (go_data_matrix_val_unserialize):
use g_ascii_dtostr and g_ascii_strtod when serializing. [#640438]
2011-01-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/formats.c (_go_format_currencies): delete EEK (Estonia
is now using the Euro
2011-01-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_raise), (goc_item_lower),
(goc_item_lower_to_bottom), (goc_item_raise_to_top): invalidate the item
after reordering to force a redraw? [#639840]
2011-01-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c (gog_line_view_render): fixed drop lines
in line plots. [#638738]
2010-12-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (xyz_process): fixed a memory leak.
* plugins/plot_surface/gog-contour.c (gog_contour_view_render): ditto.
* tests/go-demo.c (insert_histogram_data), (main): ditto.
* tests/shapes-demo.c (open_file): ditto.
2010-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_text_to_odf): new
(go_format_output_to_odf): connect go_format_output_text_to_odf
2010-11-25 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-11-25 Morten Welinder <terra@gnome.org>
* Release 0.8.12
2010-11-24 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-theme.c (themes_load_from_dir): Fix URI
handling.
(_gog_themes_init): Use g_get_home_dir.
(gog_theme_finalize): Remove the theme from the global list.
(_gog_themes_shutdown): Free the list of themes.
2010-11-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_series_update): fixed a limit issue.
* tests/go-demo.c (insert_histogram_data): don't use raw data.
2010-11-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_series_update): fixed memory errors.
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): ditto.
2010-11-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c (make_path_cspline): fixed an infinite loop
condition. [#633965]
2010-11-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-regression.c (go_exponential_regression): make it just
wrap go_exponential_regression_as_log.
2010-11-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-regression.c (go_exponential_regression_as_log): new
regression utility returning the logarithms of the coefficients instead of
the coefficients to avoid roundint to 0 or infinite.
* goffice/math/go-regression.h: ditto.
* plugins/reg_linear/gog-exp-reg.c
(gog_exp_reg_curve_get_value_at), (gog_exp_reg_curve_get_equation),
(gog_exp_reg_curve_class_init): use go_exponential_regression_as_log.
[#633735]
2010-10-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pattern.c (go_pattern_create_cairo_pattern): enclose
direct drawing between cairo_surface_flush and cairo_surface_mark_dirty
calls, making patterns work with cairo-1.10.
* plugins/plot_barcol/Makefile.am: allow all filled plots to be displayed
under the grid. [#632310]
* plugins/plot_barcol/gog-area-prefs.ui: ditto.
* plugins/plot_barcol/gog-barcol-prefs.c (display_before_grid_cb),
(gog_barcol_plot_pref): ditto.
* plugins/plot_barcol/gog-barcol-prefs.ui: ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_plot_set_property),
(gog_barcol_plot_get_property), (gog_barcol_plot_class_init): ditto.
* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_set_property),
(gog_dropbar_get_property), (display_before_grid_cb),
(gog_dropbar_populate_editor), (gog_dropbar_plot_class_init): ditto.
* plugins/plot_barcol/gog-line.c (gog_area_plot_set_property),
(gog_area_plot_get_property), (display_before_grid_cb),
(gog_area_plot_populate_editor), (gog_area_plot_class_init): ditto.
* plugins/plot_distrib/gog-boxplot-prefs.ui: ditto.
* plugins/plot_distrib/gog-boxplot.c (display_before_grid_cb),
(gog_box_plot_pref), (gog_box_plot_set_property),
(gog_box_plot_get_property), (gog_box_plot_class_init):
* plugins/plot_distrib/gog-histogram-prefs.ui: ditto.
* plugins/plot_distrib/gog-histogram.c
(gog_histogram_plot_get_property),
(gog_histogram_plot_set_property), (display_before_grid_cb),
(gog_histogram_plot_populate_editor),
(gog_histogram_plot_class_init): ditto.
* plugins/plot_radar/Makefile.am: ditto.
* plugins/plot_radar/gog-polar-prefs.ui: ditto.
* plugins/plot_radar/gog-radar.c (gog_polar_area_set_property),
(gog_polar_area_get_property), (display_before_grid_cb),
(gog_polar_area_populate_editor), (gog_radar_area_plot_class_init),
(gog_polar_plot_class_init): ditto.
* plugins/plot_xy/gog-xy-prefs.ui: ditto.
2010-10-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: allow rendering of grids above plots.
[#632310]
* goffice/graph/gog-chart.c (plot_render), (gog_chart_view_render): ditto.
* goffice/graph/gog-plot-impl.h: ditto.
* goffice/graph/gog-plot.c (gog_plot_init): ditto.
* plugins/plot_barcol/gog-line.c (gog_area_plot_init): ditto.
* plugins/plot_distrib/gog-histogram.c (gog_histogram_plot_init): ditto.
* plugins/plot_radar/gog-radar.c (gog_radar_area_plot_init): ditto.
* plugins/plot_surface/gog-contour.c (gog_contour_plot_init): always show
the grids above contour plots.
* plugins/plot_surface/gog-surface.c (gog_surface_plot_init): updated
according to above changes.
* plugins/plot_xy/Makefile.am: add a property box for GogXYPlot.
* plugins/plot_xy/gog-xy.c (gog_xy_set_property),
(gog_xy_get_property), (display_before_grid_cb),
(gog_xy_plot_populate_editor), (gog_xy_plot_class_init): ditto.
2010-10-18 Morten Welinder <terra@gnome.org>
* goffice/utils/go-image.c (go_image_create_cairo_pattern):
Document lifespan. Make the surface hold a ref to the image so
image->data stay valid until cairo is done with it. This is a
btter fix for 632439.
2010-10-10 Jean Brefort <jean.brefort@normalesup.org>
* */*/*.ui: fixed orientation property for GtkVBox.
2010-10-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-string.c (go_string_cmp_ignorecase),
(go_string_get_casefold), (go_string_get_casefolded_collate): fixed
sorting with accentuated characters. [#631504]
* goffice/utils/go-string.h:
2010-10-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/datetime.c (days_between_GO_BASIS_MSRB_30_360):
fix calculation, see 631242 and 630784.
2010-10-01 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-10-01 Morten Welinder <terra@gnome.org>
* Release 0.8.11
2010-09-27 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-locale-sel.c (ls_build_menu): Draw as radio
buttons.
2010-09-24 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c (get_y_vector): fixed typo.
2010-09-23 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-charmap-sel.c (charset_trans_array): Use charset
CP932 for what we claim is Shift_JIS. See bug 627829 for details.
Patch from Yasuaki Taniguchi.
(cs_build_menu): Draw as radio buttons.
2010-09-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c: implement
custom grids in xyz plots. [#624273]
* plugins/plot_surface/gog-contour.h: ditto.
* plugins/plot_surface/gog-xyz-surface-prefs.c: ditto.
* plugins/plot_surface/gog-xyz-surface-prefs.ui: ditto.
* plugins/plot_surface/gog-xyz-surface.c: ditto.
* plugins/plot_surface/gog-xyz-surface.h: ditto.
* plugins/plot_surface/gog-xyz.h: ditto.
2010-09-20 Jon Nordby <jonn@openismus.com>
* docs/reference/goffice-docs.sgml: update API documentation.
* goffice/goffice.c: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-chart.c: ditto.
* goffice/graph/gog-graph.c: ditto.
* goffice/graph/gog-label.c: ditto.
* goffice/graph/gog-legend.c: ditto.
* goffice/graph/gog-object.c: ditto.
* goffice/graph/gog-plot.c: ditto.
* goffice/graph/gog-renderer.c: ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/gtk/go-graph-widget.c:
2010-09-10 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_date_get_dim_format): If we have a
date format is time-of-day (or even a time format), make sure the
format we use has full time-of-day.
2010-09-04 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-09-04 Morten Welinder <terra@gnome.org>
* Release 0.8.10
2010-09-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc.c (go_doc_init_read), (go_doc_image_fetch): fixed
GOImage references management. [#628732]
* goffice/graph/gog-styled-object.c
(gog_styled_object_document_changed): ditto.
2010-09-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c (go_data_vector_val_load_values),
(go_data_matrix_val_load_values): update base type sizes.
* goffice/graph/gog-styled-object.c
(gog_styled_object_document_changed): fixed a potential crasher. [#628671]
* goffice/utils/go-styled-object.c (go_styled_object_get_style): add
missing space.
2010-09-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc.c (load_image_data): don't unref the image at
this point. [#628467]
2010-09-01 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_init_read, go_doc_init_write): Make
->imagebuf own the ids.
(go_doc_save_image, go_doc_image_fetch): Copy image ids.
2010-08-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-cmd-context.c (go_cmd_context_class_init): this
should be a base init function, so change its name and arguments
2010-08-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c (gog_plot_update_cardinality),
(gog_plot_foreach_elem): optionnaly delete trendlines from
legend. [#628031]
* goffice/graph/gog-trend-line.c (gog_trend_line_set_property),
(gog_trend_line_get_property), (cb_show_in_legend),
(gog_trend_line_populate_editor), (gog_trend_line_class_init),
(gog_trend_line_init), (gog_trend_line_new_by_type),
(gog_trend_line_has_legend): ditto.
* goffice/graph/gog-trend-line.h: ditto.
* goffice/utils/go-editor.c (go_editor_get_page): new.
* goffice/utils/go-editor.h: ditto.
2010-08-30 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_date_calc_ticks): Simplify and
handle non-integer steps.
* goffice/utils/go-format.c (go_format_month_before_day): Fix test
for date format.
(go_format_is_date): Return also an indication of whether the
format has time-of-day.
2010-08-29 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_date_calc_ticks): Fix condition
for weekly axis. Fixes #628259.
2010-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/io-context.c (go_io_error_info_set): don't be overzealous
while checking for problems
(go_io_error_push): skip useless code
2010-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-cmd-context-impl.h (error_info_list): new method
* goffice/app/go-cmd-context.c (go_cmd_context_error_info_list):
call error_info_list
(go_cmd_context_error_info_list_default): new
(go_cmd_context_class_init): new
(go_cmd_context_get_type): connect go_cmd_context_class_init
2010-08-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/app/go-cmd-context.c (go_cmd_context_error_info_list): new
* goffice/app/go-cmd-context.h (go_cmd_context_error_info_list): new
* goffice/app/io-context-priv.h (_GOIOContext): change info field into
a GSList
* goffice/app/io-context.c (ioc_finalize): free info list
(go_io_error_clear): ditto
(go_io_error_info_set): append to list
(go_io_warning_varargs): ditto
(go_io_error_push): add details to the last item
(go_io_error_display): call go_cmd_context_error_info_list
2010-08-24 Morten Welinder <terra@gnome.org>
* goffice/component/go-component-factory.c: Fix char-xmlChar
confusion.
* goffice/app/go-plugin-service.c: Ditto.
* goffice/app/go-plugin.c: Ditto.
2010-08-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin-service.c (go_plugin_service_finalize),
(go_plugin_service_new): don't use g_free instead of xmlFree. [#627700]
* goffice/graph/gog-plot-engine.c (gog_plot_type_service_read_xml),
(gog_trend_line_service_read_xml): ditto.
* goffice/utils/go-libxml-extras.c (go_xml_node_get_bool): ditto.
2010-08-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style-prefs.ui: restore centered image filling.
* goffice/utils/go-style.c (go_style_fill_sax_save),
(go_style_sax_load_fill_image), (go_style_sax_load_fill): consider image
filling with no imge as no filling when serializing. [#627690],
(go_style_create_cairo_pattern): restore centered image filling.
2010-08-23 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_parse_sequential): Plug
leak.
* goffice/goffice.c (libgoffice_shutdown): Free locale vars too.
* goffice/utils/go-locale.c (_go_locale_shutdown): New function.
2010-08-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_string_replace): pos==len is
ok.
2010-08-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c (make_path_cspline): do not check order
for NULL abscissa. [#627507]
2010-08-20 Morten Welinder <terra@gnome.org>
* goffice/math/go-rangefunc.c (go_range_increasing)
(go_range_decreasing): Add preconditions.
2010-08-19 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz-surface.c
(gog_xyz_surface_plot_update): force update of x and y limits when data
change. [#627388]
2010-08-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (go_style_fill_sax_save): fixed typo.
2010-08-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c (_line_size): Always use real line width
when evaluating dashes. [#442546]
2010-08-17 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_generate_number_str,
go_format_generate_scientific_str,
go_format_generate_accounting_str): Limit number of decimals.
2010-08-16 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-08-16 Morten Welinder <terra@gnome.org>
* Release 0.8.9
2010-08-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-theme.c (gog_theme_finalize),
(map_area_series_solid_palette), (name_end), (elem_start): use g_ptr_array
instead of g_array and don't use recent glib additions. [#627056]
2010-08-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-theme.c (build_predefined_themes): fixed typo (no
more critical in gog_theme_fillin_style. [#626960]
2010-08-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/formats.c: update currencies. [#626461]
2010-08-12 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: update.
* goffice/graph/gog-graph-prefs.ui: allow for themes defined in xml files.
[#531070]
* goffice/graph/gog-graph.c (cb_theme_changed),
(gog_graph_populate_editor): ditto.
* goffice/graph/gog-plot-engine.c (_gog_plugin_services_init): ditto.
* goffice/graph/gog-styled-object.c (gog_styled_object_init_style): ditto.
* goffice/graph/gog-theme.c (gog_theme_finalize),
(gog_theme_find_element), (gog_theme_fillin_style),
(gog_theme_add_element), (gog_theme_get_local_name),
(gog_theme_get_description), (map_area_series_solid_default),
(map_area_series_solid_guppi), (map_area_series_solid_palette),
(build_predefined_themes), (name_start), (name_end), (desc_end),
(elem_start), (theme_load_from_uri), (themes_load_from_dir),
(_gog_themes_init): ditto.
* goffice/graph/gog-theme.h: ditto.
2010-08-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-error-bar.c (gog_error_bar_prefs): fix memory leak.
* plugins/plot_distrib/gog-boxplot.c (gog_box_plot_pref),
(gog_box_plot_populate_editor): fix memory leak and criticals. [#626665]
2010-08-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_draw): fix blur in zoomed charts.
[see #626404]
2010-08-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_add_by_role): do not try to
instantiate an object using an abstract class. [#626305]
2010-08-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-data-set.c (gog_dataset_set_dim): check dimension.
* goffice/graph/gog-object-xml.c (gogo_dim_start): check dimension and
object type [#626263],
(gogo_prop_start): check dimension [#626206].
* goffice/utils/go-styled-object.c (go_styled_object_set_style): don't set
a NULL style.
2010-07-30 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-07-30 Morten Welinder <terra@gnome.org>
* Release 0.8.8
2010-07-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/gtk/go-format-sel.c (study_format): change arguments and
change all callers
(go_format_sel_format_classification): use study_format
2010-07-30 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_week_calc_ticks): New function.
(map_date_calc_ticks): Call map_week_calc_ticks as appropriate.
* goffice/app/go-conf-gconf.c (cb_key_changed): Send the full key
to callback.
2010-07-27 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c: Use go_finitel as appropriate.
* goffice/utils/formats.c (_go_currency_date_format_init): Make
GOFormatDetails usage a bit more opaque.
* goffice/math/go-math.c: Use go_finitel as appropriate.
2010-07-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): don't access a
GODataVector with an index larger than its length.
2010-07-13 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem): Fixed legend when the pseudo-3D axis
has a manually set minimum. [#623887]
2010-07-08 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_details_new,
go_format_details_free): New functions.
2010-07-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c (gog_graph_validate_chart_layout): do not
take manually placed charts into account when evaluating rows and
columns in GogGraph.
* goffice/graph/gog-object.c (gog_object_set_position_flags): ditto.
2010-07-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_string_replace): New
function.
2010-06-28 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-06-28 Morten Welinder <terra@gnome.org>
* Release 0.8.7
2010-06-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-equation.c (gog_equation_init_style),
(gog_equation_view_size_request), (gog_equation_view_render): implement
equations rotation. [#622782]
* goffice/graph/gog-renderer.c (gog_renderer_draw_equation):
2010-06-24 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: add new icons.
* plugins/plot_distrib/Makefile.am: enhance histograms.
* plugins/plot_distrib/gog-boxplot.c (gog_box_plot_pref):
* plugins/plot_distrib/gog-histogram.c (gog_histogram_plot_update),
(gog_histogram_plot_axis_get_bounds),
(gog_histogram_plot_get_property),
(gog_histogram_plot_set_property), (vertical_changed_cb),
(cumulative_changed_cb), (gog_histogram_plot_populate_editor),
(gog_histogram_plot_class_init), (gog_histogram_plot_init),
(gog_double_histogram_plot_populate_editor),
(gog_double_histogram_plot_finalize),
(gog_double_histogram_plot_class_init),
(gog_double_histogram_plot_init),
(gog_double_histogram_plot_dataset_dims),
(gog_double_histogram_plot_dataset_get_elem),
(gog_double_histogram_plot_dataset_dim_changed),
(gog_double_histogram_plot_dataset_init),
(gog_histogram_plot_view_render),
(gog_histogram_plot_series_update),
(gog_histogram_plot_series_finalize): ditto.
* plugins/plot_distrib/gog-histogram.h: ditto.
* plugins/plot_distrib/plot-types.xml.in: ditto.
* plugins/plot_distrib/plugin.c (go_plugin_init): ditto.
* plugins/plot_distrib/plugin.xml.in: ditto.
2010-06-16 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-06-16 Morten Welinder <terra@gnome.org>
* Release 0.8.6
2010-06-15 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_fake_floor, go_fake_ceil,
go_fake_trunc, go_fake_floorl, go_fake_ceill, go_fake_truncl):
Handle very large numbers right. Handle ix86 excess precision for
"double" versions.
2010-06-11 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (funny_currency_order): Fix order.
#621336.
2010-06-04 Morten Welinder <terra@gnome.org>
* goffice/utils/go-undo.c: Docoment all apis.
2010-06-01 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (_go_currency_date_format_init):
Unconditionally add formats "yyyy-mm-dd" and "yyyy-mm-dd
hh:mm:ss".
2010-06-01 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c (gog_line_view_render): Fix various
series point related issues.
* plugins/plot_radar/gog-radar (gog_rt_view_render): ditto.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): ditto.
2010-06-01 Morten Welinder <terra@gnome.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render,
gog_xy_view_get_data_at_point): Fix crash. #620198.
2010-05-31 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_show, go_shell_arg_to_uri)
(go_mime_type_get_description): Remove special case for Win32.
2010-05-30 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-05-30 Morten Welinder <terra@gnome.org>
* Release 0.8.5
2010-05-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: appiled patch from Bobby Powers: fix --without-gtk
win32 build. [#619312]
* goffice/graph/gog-styled-object.c (gog_styled_object_class_init): ditto.
* goffice/ms-compat/Makefile.am: ditto.
* goffice/utils/go-style.h: ditto.
* goffice/graph/gog-3d-box.c (gog_3d_box_class_init): fixed all warnings
for the without-gtk build.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-renderer.c (gog_renderer_export_image): ditto.
* plugins/plot_pie/gog-pie.c: ditto.
2010-05-28 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-chart-map.c (make_path_cspline): Both
increasing and decreasing coordinates are ok. Fixes #619958.
(Tracked down by Jean.)
2010-05-23 Morten Welinder <terra@gnome.org>
* goffice/math/go-rangefunc.c (go_range_sumsq): Do square in
extended precision if we are summing in extended precision.
2010-05-20 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-05-20 Morten Welinder <terra@gnome.org>
* Release 0.8.4
2010-05-20 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c (go_quad_dot_product): New function.
(go_quad_init): Drop third argument. All callers changed.
2010-05-17 Morten Welinder <terra@gnome.org>
* goffice/math/go-rangefunc.c (go_range_devsq): Do the long-double
trick here too.
* goffice/gtk/go-format-sel.c (find_builtin): Special-case
case-challenged variants of "General".
2010-05-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.h: applied patch from Bobby Powers: fix without-gtk
build. [#618592]
* goffice/graph/gog-chart.c (gog_chart_class_init):
2010-05-16 Morten Welinder <terra@gnome.org>
* goffice/math/go-quad.c: quad precision routines.
* goffice/math/go-regression.c (refine): Use quad precision.
2010-05-13 Morten Welinder <terra@gnome.org>
* goffice/component/go-component-factory.c (go_component_type_service_read_xml):
Plug leak.
(go_component_type_service_deactivate): Plug leak.
* goffice/math/go-regression.c (general_linear_regression): Use QR
factorization with refinement.
2010-05-09 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (DOUBLE_MAX): Eliminate in favour
of SUFFIX(go_pinf).
(general_linear_regression): Allocate stats->xbar correctly.
Always set the result vector to something.
(go_exponential_regression): map the result also if it is
near-singular.
2010-05-07 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-05-07 Morten Welinder <terra@gnome.org>
* Release 0.8.3
2010-05-04 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-win32.c (go_conf_win32_get): Restore last
backslash for error messages.
(go_conf_set_bool): Set the right value. Fixes #617672.
(go_conf_get_node): Don't create too-deep directory structure.
2010-05-03 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (LUPDecomp): Handle nan entries.
2010-05-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): use markup
for tips.
2010-04-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: check for gtk_widget_send_focus_change().
* goffice/gtk/go-action-combo-color.c (cb_color_changed),
(go_action_combo_color_class_init): implement the "combo-activate"
signal. [#583175]
* goffice/gtk/go-action-combo-pixmaps.c (cb_selection_changed),
(go_action_combo_pixmaps_class_init): ditto.
* goffice/gtk/go-combo-box.c (do_focus_change): use
gtk_widget_send_focus_change() when available.
* goffice/gtk/go-gtk-compat.h: ditto.
2010-04-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-probability-plot.c
(gog_probability_plot_series_update): skip invalid data.
2010-04-21 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (go_date_weeknum): Return the Excel
compatible week numbers as intended, not the glib ones.
2010-04-16 Valek Filippov <frob@gnome.org>
* tests/shapes-demo.c: fix warnings.
2010-04-16 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-04-16 Morten Welinder <terra@gnome.org>
* Release 0.8.2
2010-04-16 Morten Welinder <terra@gnome.org>
* goffice/math/go-regression.c (rescale): Don't return a value.
Determinant will be zero on return when singular.
(LUPDecomp): Moderate cleanup.
2010-04-13 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: add new go_path entries.
* goffice/utils/go-path.c (go_path_copy),
(go_path_append): new functions.
* goffice/utils/go-path.h: ditto.
2010-04-10 Valek Filippov <frob@gnome.org>
* goffice/tests/mf-demo.c: move objects to drawing context,
add save/restore DC and offset window/viewportOrg.
2010-04-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-gtk-compat.h: make things build with gtk-2.20.
* goffice/gtk/goffice-gtk.c (cb_activate_default): use
gtk_widget_is_sensitive() instead of gtk_widget_get_sensitive().
2010-04-09 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-path.c: add Path support
* goffice/canvas/goc-path.h: ditto
* goffice/canvas/Makefile.am: ditto
2010-04-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-path.c (go_path_new), (go_path_free),
(go_path_ref), (go_path_get_type), (go_path_to_cairo): new GOPath functions.
* goffice/utils/go-path.h: ditto.
2010-04-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin.c (go_plugins_init), (go_plugins_add): fixed issues
related to components intialization.
* goffice/component/go-component-factory.c
(go_component_type_service_read_xml),
(go_component_type_service_activate),
(go_component_type_service_deactivate),
(go_component_type_service_class_init): implement components plugins
activation/deactivation.
* goffice/component/goffice-component.h: add missing headers.
2010-04-08 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-win32.c (go_conf_win32_clone_full): Handle
buffer expansion right.
2010-04-07 Valek Filippov <frob@gnome.org>
* tests/mf-demo.c: add 'Symbol' and 'MT Extra' support.
2010-04-05 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-win32.c: Catch up with changes to other
backend. Might even work now.
2010-04-04 Valek Filippov <frob@gnome.org>
* tests/mf-demo.c: reuse common parsing routines between MR commands.
2010-04-03 Valek Filippov <frob@gnome.org>
* tests/mf-demo.c: new demo.
* tests/Makefile.am: ditto.
2010-03-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: fixed gtk compatibility macro names.
* goffice/canvas/goc-canvas.c (goc_canvas_invalidate): ditto.
* goffice/canvas/goc-item.c (goc_item_dispose),
(goc_item_invalidate): ditto.
* goffice/graph/gog-child-button.c (gog_child_button_popup): ditto.
* goffice/gtk/go-font-sel.c (select_row): ditto.
* goffice/gtk/go-gtk-compat.h: ditto.
* goffice/gtk/go-selector.c (go_selector_popup): ditto.
* goffice/gtk/goffice-gtk.c (cb_activate_default),
(cb_parent_mapped), (go_gtk_window_set_transient): ditto.
2010-03-26 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-keyfile.c (go_conf_set_str_list): Handle
empty list.
2010-03-26 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-polygon.c (goc_polygon_prepare_draw): use polygon
splitting to draw polypolygons.
2010-03-26 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: new entries.
* goffice/canvas/goc-polygon.c (goc_polygon_priv_free),
(goc_polygon_set_property), (goc_polygon_get_property),
(goc_polygon_class_init), (goc_polygon_init): implement polygon splitting.
* goffice/canvas/goc-utils.c (goc_int_array_new),
(goc_int_array_ref), (goc_int_array_unref),
(goc_int_array_get_type): ditto.
* goffice/canvas/goc-utils.h: ditto.
2010-03-25 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-keyfile.c (go_conf_add_monitor,
go_conf_remove_monitor): Implement for intra-process changes.
2010-03-25 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-polygon.c: support for fill rule.
2010-03-24 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-text.c: (goc_text_draw), (goc_text_distance),
(goc_text_update_bounds), (goc_text_prepare_draw): implement text rotation.
2010-03-17 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-arc.c (goc_arc_distance): take ppu into account
* goffice/canvas/goc-ellipse.c (goc_ellipse_distance): ditto
* goffice/canvas/goc-polygon.c (goc_polygon_distance): ditto
* goffice/canvas/goc-polyline.c (goc_polyline_distance): ditto
* goffice/canvas/goc-rectangle.c (goc_rectangle_distance): ditto
2010-03-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (key_release_cb), (key_press_cb),
(enter_notify_cb), (leave_notify_cb), (goc_canvas_init): ensure that the
GdkEvent can always be accessed if needed.
* goffice/canvas/goc-item.c (goc_item_key_pressed),
(goc_item_key_released), (goc_item_class_init): ditto.
2010-03-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw): don't zoom
hairline.
2010-03-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c (go_shell_arg_to_uri): check for fd:// type
URIs on win32. [#608422]
2010-03-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_new): invalidate the new item.
* goffice/canvas/goc-styled-item.c (goc_styled_item_set_property),
(goc_styled_item_get_property), (goc_styled_item_class_init): really
implement the "scale-line-width" property.
2010-03-09 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw): enhance
round corners support.
* tests/shapes-demo.c (parse_line): ditto.
2010-03-08 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-03-08 Morten Welinder <terra@gnome.org>
* Release 0.8.1
2010-03-08 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: added GocArc.
* docs/reference/goffice-docs.sgml: ditto.
* goffice/canvas/goc-ellipse.c (goc_ellipse_update_bounds): fixed bounds.
* goffice/canvas/goc-rectangle.c (goc_rectangle_update_bounds): ditto.
* goffice/canvas/goc-styled-item.c (goc_styled_item_set_property),
(goc_styled_item_style_changed): minor changes.
* goffice/utils/go-bezier.c: fix docs.
* goffice/utils/go-styled-object.c: add docs.
* tests/shapes-demo.c (parse_line): enhance style changes.
2010-03-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style.c (go_style_set_cairo_line): fix hairline.
2010-03-07 Jean Brefort <jean.brefort@normalesup.org>
* tests/shapes-demo.c (parse_line): use go_style_object_style_changed().
2010-03-06 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-rectangle.c (goc_rectangle_set_property),
(goc_rectangle_get_property), (goc_rectangle_prepare_draw),
(goc_rectangle_class_init), (goc_rectangle_init): implement round
rectangles.
2010-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-arc.c (goc_arc_update_bounds): set the line style.
* goffice/canvas/goc-styled-item.c (goc_styled_item_style_changed):
enforce invalidation of the item when done.
* tests/shapes-demo.c (parse_line): more fixes.
2010-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polyline.c (goc_polyline_draw): missing white spaces.
* tests/shapes-demo.c (my_test), (parse_line), (enter_callback): add
missing calls to goc_item_bounds_changed and fix white spaces and other
presentation issues.
2010-03-06 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-arc.c (prepare_draw_arrow),
(goc_arc_prepare_draw), (goc_arc_distance): fix rtl.
* tests/shapes-demo.c (open_file), (on_open), (my_test),
(parse_line), (enter_callback), (main): new version.
2010-03-05 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-arc.c (goc_arc_start), (goc_arc_end),
(prepare_draw_arrow), (goc_arc_prepare_draw),
(goc_arc_update_bounds), (goc_arc_distance), (goc_arc_draw): support
arrow heads.
* goffice/canvas/goc-ellipse.c (goc_ellipse_prepare_draw): fix rtl.
* goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw): ditto.
2010-03-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-styled-item.c (goc_styled_item_style_changed): call
goc_item_bounds_changed.
2010-03-04 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-arc.c (goc_arc_prepare_draw),
(goc_arc_distance), (goc_arc_draw), (goc_arc_init_style): more
canvas improvements.
* goffice/canvas/goc-ellipse.c (goc_ellipse_prepare_draw),
(goc_ellipse_update_bounds), (goc_ellipse_distance),
(goc_ellipse_draw), (goc_ellipse_class_init): ditto.
* goffice/canvas/goc-rectangle.c (goc_rectangle_prepare_draw),
(goc_rectangle_update_bounds), (goc_rectangle_distance),
(goc_rectangle_draw), (goc_rectangle_class_init): ditto.
2010-03-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-line.c (goc_line_distance): fix distance evaluation.
2010-03-03 Valek Filippov <frob@gnome.org>
* goffice/canvas/goc-arc.c (goc_arc_update_bounds),
(goc_arc_distance): fixed for filled items.
* goffice/canvas/goc-polygon.c (goc_polygon_update_bounds),
(goc_polygon_distance): little optimization.
* goffice/canvas/goc-polyline.c (goc_polyline_update_bounds),
(goc_polyline_distance): ditto.
2010-03-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polygon.c (goc_polygon_update_bounds): always
set bounds even if fully transparent.
* goffice/canvas/goc-polyline.c (goc_polyline_update_bounds): ditto.
2010-03-02 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-locale-sel.c (go_locale_sel_get_locale): Plug
leak.
(ls_class_init): Try adding ".utf8" to the locale name. Fixes
#611415 in some sense.
2010-03-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (_goc_item_update_bounds): always set
bounds, even for transparent items or empty items.
* goffice/canvas/goc-polygon.c (goc_polygon_set_property),
(goc_polygon_prepare_path), (goc_polygon_update_bounds),
(goc_polygon_distance), (goc_polygon_draw),
(goc_polygon_class_init): implement spline support.
* goffice/utils/go-bezier.c: fix comment.
2010-03-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polyline.c (goc_polyline_set_property),
(goc_polyline_prepare_draw), (goc_polyline_distance),
(goc_polyline_class_init): implement spline support.
* tests/shapes-demo.c (main): add missing white spaces.
2010-03-01 Valek Filippov <frob@gnome.org>
* goffice/canvas/Makefile.am: add arc support.
* goffice/canvas/goc-arc.c: ditto
* goffice/canvas/goc-arc.h: ditto
* goffice/canvas/goc-polyline.c (goc_polyline_prepare_draw),
(goc_polyline_update_bounds), (goc_polyline_distance),
(goc_polyline_draw): enhance polyline implementation.
* goffice/canvas/goffice-canvas.h: add arc support.
* tests/Makefile.am: new demo.
* tests/shapes-demo.c: ditto.
2010-03-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-bezier.c (go_bezier_spline_to_cairo): add a flag to
support rendering in an RTL canvas.
* goffice/utils/go-bezier.h: ditto.
2010-02-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c (make_path_cspline): correctly manage
invalid data. [#611163]
* goffice/utils/go-bezier.c (go_bezier_spline_to_cairo): new utility.
* goffice/utils/go-bezier.h: ditto.
2010-02-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/goffice-gtk.c (go_gtk_builder_new): fixed a memory leak.
2010-02-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_parent_finalized),
(gog_object_finalize): ensure that children parent is set to NULL.
(gog_object_get_graph): restore previous version
* goffice/graph/gog-guru-type-selector.ui: remove orientation property
to avoid warnings with old gtk+.
2010-02-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_get_graph): avoid a crash if a
parent has been finalized. [#610435]
2010-02-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (cb_position_toggled),
(cb_tick_toggle_changed): use gtk_buildable_get_name instead of
gtk_widget_get_name where appropriate.
* goffice/graph/gog-axis.c (cb_axis_toggle_changed):
* goffice/graph/gog-object.c (cb_chart_position_changed):
* goffice/utils/go-editor.c (go_editor_register_widget):
* plugins/plot_xy/gog-bubble-prefs.c (cb_type_changed):
2010-02-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (button_press_cb),
(button_release_cb), (motion_cb): don't return before cleaning.
* libgoffice.pc.in: remove libglade dependency. [#609833]
2010-02-13 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-02-13 Morten Welinder <terra@gnome.org>
* Release 0.8.0
2010-02-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_dispose): ungrab item on dispose
when needed. [#609747]
2010-02-11 Morten Welinder <terra@gnome.org>
* configure.in: Bump version number in preparation for release.
2010-01-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_file_access): Assume g_access is
available.
2010-01-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-format.c (cb_attrs_as_string),
(go_format_parse_markup): use locale independent markup. [#608047]
2010-01-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): do not crash when
the chart contains no plot. [#607960]
2010-01-21 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin.c (go_plugin_read): Add new "autoload"
flag
(go_plugin_activate): Autoload if requested.
2010-01-19 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-01-19 Morten Welinder <terra@gnome.org>
* Release 0.7.18
2010-01-19 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: fixed more gtk-doc warnings.
* goffice/app/file.c (go_file_saver_class_init),
(go_file_format_level_get_type), (go_file_save_scope_get_type): ditto.
* goffice/app/file.h: ditto.
* goffice/app/go-plugin-service.c
(go_plugin_service_file_saver_read_xml): ditto.
2010-01-18 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-probability-plot.c
(gog_probability_plot_set_property): apply type change to all series.
* plugins/plot_distrib/gog-boxplot.c
(gog_box_plot_axis_get_bounds), (gog_box_plot_child_name_changed),
(gog_box_plot_class_init): fixed category axis update.
2010-01-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c (graph_guru_type_selector_new): make keyboard
navigation work again in plot subtypes.
2010-01-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru-type-selector.ui: a better plot type selector.
2010-01-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru-type-selector.ui: add a sample and remove obsolete
widgets. [#495781 and #606162].
* goffice/graph/gog-guru.c (cb_typesel_sample_plot_resize),
(graph_typeselect_minor), (cb_selection_changed),
(cb_plot_types_init), (cb_plot_families_init),
(graph_guru_type_selector_new), (gog_guru_add_custom_widget): ditto.
* plugins/plot_barcol/plot-types.xml.in: update line plots descriptions.
2010-01-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c (graph_typeselect_minor),
(gog_guru_item_enter_notify), (gog_guru_item_leave_notify),
(gog_guru_item_class_init), (cb_plot_types_init),
(graph_guru_type_selector_new): show tooltips for plot types.
2010-01-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart.c (plot_area_pref_state_free),
(cb_plot_area_changed), (cb_manual_position_changed),
(gog_chart_populate_editor): moved plot area page there. [#605771]
* goffice/graph/gog-plot.c (cb_axis_changed),
(gog_plot_populate_editor): and remove it from here.
2010-01-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* plugins/plot_pie/plot-types.xml.in: fix description
2009-12-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polygon.c (goc_polygon_update_bounds): fixed bounds.
[#605496]
2009-12-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_get_data_at_point),
(gog_xy_view_class_init): new implementation of get_data_at_point.
2009-12-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-reg-curve-prefs.ui: add a name to regression curves
for display in legends. [#605040]
* goffice/graph/gog-reg-curve.c (gog_reg_curve_populate_editor),
(gog_reg_curve_finalize), (gog_reg_curve_init),
(gog_reg_curve_dataset_dims), (gog_reg_curve_dataset_get_elem),
(gog_reg_curve_dataset_dim_changed):
* goffice/graph/gog-reg-curve.h: ditto.
2009-12-19 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c
(gog_barcol_view_get_data_at_point), (gog_barcol_view_render),
(gog_barcol_view_class_init): implement get_data_at_point for bar/columns.
2009-12-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_c2w): fixed rounding to int.
2009-12-05 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-12-15 Morten Welinder <terra@gnome.org>
* Release 0.7.17
2009-12-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_set_property): invalidate bounds
after setting horizontal position.
2009-12-10 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: add new function.
* goffice/gtk/go-marker-selector.c (go_marker_selector_set_shape): ditto.
* goffice/gtk/go-marker-selector.h: ditto.
* goffice/utils/go-style.c (outline_init), (line_init),
(marker_init), (cb_style_changed): update property page after style changes
when reordering. [#604229]
2009-12-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-grid.c (gog_grid_view_xyz_render): still others.
2009-12-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-grid-line.c (gog_grid_line_xyz_render): fixed
some more leaks.
2009-12-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (xyz_process): fixed leaks.
2009-12-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin.c (append_dir), (go_plugins_set_dirs),
(go_plugins_init), (go_plugins_add), (go_plugins_shutdown): allow several
modules to call go_plugins_init without interfering.
2009-12-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c (libgoffice_init), (libgoffice_shutdown): allow
multiple calls to libgoffice_shutdown.
2009-12-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c (goc_canvas_invalidate): really pass width
and height to gtk_widget_queue_draw_area.
2009-12-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_bounds_changed): do not invalidate
the whole canvas when an item bounds change. [#603813]
2009-12-04 Jody Goldberg <jody@gnome.org>
* goffice/gtk/goffice-gtk.c (go_help_display) : support tab as a
separator in the hhmap file.
2009-12-02 Morten Welinder <terra@gnome.org>
* goffice/app/go-cmd-context.c (go_cmd_context_progress_set,
go_cmd_context_progress_message_set, go_cmd_context_get_password,
go_cmd_context_set_sensitive): Make implementation optional.
2009-11-30 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c (gog_pie_view_get_data_at_point): make
it work in all case, including split rings.
2009-11-29 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-11-29 Morten Welinder <terra@gnome.org>
* Release 0.7.16
2009-11-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c (gogo_start): revert previous change,
needs more work.
* goffice/graph/gog-object.c (gog_object_add_by_role): ditto.
2009-11-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c (gogo_start): set axis set to all to
allow axis loading.
* plugins/plot_distrib/gog-probability-plot.c
(gog_probability_plot_update, gog_probability_plot_class_init)
gog_probability_plot_view_render): implement multiple series in
probablility plots.
2009-11-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c (gog_object_dup): duplicate chart
axis set; needed because of the change in gog_object_add_by_role.
(gog_object_add_by_role): fail when addition is not allowed.
2009-11-26 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-probability-plot.c
(gog_probability_plot_populate_editor) don't unref the new widget
[#603015],
(gog_probability_plot_update): check if there is a series before
using it. [#603016]
* plugins/plot_xy/gog-xy.c (gog_2d_plot_update): do not check error
bars for a NULL series.
2009-11-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-view.c (gog_view_get_view_at_point): allow obj to
be NULL.
2009-11-20 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_radar/gog-radar.c
(gog_color_polar_plot_populate_editor): fixed ui file name.
2009-11-20 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_radar/gog-radar.c (gog_rt_view_render),
(gog_rt_series_element_init_style),
(gog_rt_series_element_class_init), (gog_rt_series_class_init),
(go_plugin_init): implement singletons in radar/polar plots.
2009-11-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c (make_path_cspline): fixed leaks.
2009-11-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c (role_series_element_allocate): don't attempt
to allocate a virtual class instance.
2009-11-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data.c (go_data_vector_get_str,
go_data_matrix_get_str): no need to load values, just length or
size.
2009-11-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_odf_style_map): use %g
rather than %f
2009-11-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* autogen.sh: allow dirs on PATH to have spaces without causing
warnings.
2009-11-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-item.c (goc_item_bounds_changed): make sure that the
previously occupied region is invalidated.
2009-11-12 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c (gog_pie_view_get_data_at_point): do not
access NULL data. [#601618]
2009-11-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): use
gog_view_get_tip_at_point when no XY map is available (pies and rings).
* goffice/data/go-data.c (go_data_vector_get_str),
(go_data_matrix_get_str): load data before returning a string.
* goffice/graph/goffice-graph.h: move GogPlotView there.
* goffice/graph/gog-plot-impl.h: new gog_plot_view_get_data_at_point.
* goffice/graph/gog-plot.c (gog_plot_view_get_data_at_point): new
function introduced to fix #580545.
* goffice/graph/gog-plot.h: ditto.
* goffice/graph/gog-view.c (gog_view_get_tip_at_point): new function.
* goffice/graph/gog-view.h: ditto.
* plugins/plot_pie/gog-pie.c (gog_pie_view_get_data_at_point),
(gog_pie_view_get_tip_at_point), (gog_pie_view_class_init): implement
the two new view methods (only partially for now, does not work
properly for split rings).
2009-11-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-color.c (go_color_from_str): call gdk_parse_color
when needed. [#601114]
2009-11-08 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c (find_element), (gog_pie_view_render): make
points work when negative values are skipped.
2009-11-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c (gog_plot_update_cardinality),
(gog_plot_foreach_elem): add trend lines to legend. [#383518]
* goffice/graph/gog-series.c (gog_series_child_added),
(gog_series_class_init): update plot cardinality when a trend line
is added or removed.
2009-11-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie-prefs.c (cb_show_negs_changed),
(gog_pie_plot_pref_signal_connect): add an option for negative values
display. [#152614]
* plugins/plot_pie/gog-pie-prefs.ui:
* plugins/plot_pie/gog-pie.c (gog_show_neg_mode_from_str),
(gog_show_neg_mode_as_str), (gog_pie_plot_set_property),
(gog_pie_plot_get_property), (gog_pie_plot_class_init),
(gog_pie_plot_init), (gog_pie_view_render),
(gog_pie_series_update):
* plugins/plot_pie/gog-pie.h:
* plugins/plot_pie/gog-ring-prefs.ui:
2009-11-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-error-bar-prefs.ui: implement error bars in
radar and polar plots. [#572720]
* goffice/graph/gog-error-bar.c (gog_error_bar_prefs),
(gog_error_bar_render): ditto.
* goffice/graph/gog-error-bar.h: ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): fixed after
error bars API changes.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto.
* plugins/plot_radar/gog-radar.c (gog_rt_plot_update),
(gog_radar_plot_class_init), (gog_polar_plot_class_init),
(gog_color_polar_plot_class_init), (gog_rt_view_render),
(gog_rt_series_set_property), (gog_rt_series_get_property),
(gog_rt_series_finalize), (gog_rt_series_populate_editor),
(gog_rt_series_class_init), (gog_polar_series_set_property),
(gog_polar_series_get_property),
(gog_polar_series_populate_editor), (gog_polar_series_finalize),
(gog_polar_series_class_init): implement error bars in
radar and polar plots. [#572720]
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): fixed after
error bars API changes.
2009-11-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-conf-keyfile.c (go_conf_get_real_key): do not add a '/'
when subkey is NULL. [#600654]
2009-11-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-child-button.c (ensure_menu): add parent name to
the menu entry.
2009-11-01 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-11-01 Morten Welinder <terra@gnome.org>
* Release 0.7.15
2009-10-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-impl.h: add persistent position for auto mode.
Fixes #152674.
* goffice/graph/gog-chart.c (gog_chart_set_property),
(gog_chart_get_property), (gog_chart_class_init), (gog_chart_init),
(gog_chart_get_position), (gog_chart_set_position): ditto.
* goffice/graph/gog-graph.c (role_chart_post_add),
(gog_graph_validate_chart_layout), (gog_graph_view_size_allocate):
* goffice/graph/gog-object-prefs.ui: add a user interface to set column
and row position of a chart in the graph.
* goffice/graph/gog-object.c (update_select_state),
(cb_manual_position_changed), (cb_chart_position_changed),
(gog_object_populate_editor): ditto.
2009-10-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-graph.c (goc_graph_update_bounds): set the right size.
* goffice/graph/gog-renderer.c (gog_renderer_update): fixed resizing a
graph. [#599887]
2009-10-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart.c (gog_chart_view_render): reapply patch for
#152675 and ensure titles are rendered last.
* goffice/graph/gog-graph.c (gog_graph_class_init),
(gog_graph_view_render), (gog_graph_view_class_init): ditto.
2009-10-27 Morten Welinder <terra@gnome.org>
* goffice/app/file.c (go_file_saver_for_mime_type): Ignore file
savers with no mime type instead of crashing.
2009-10-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c (polar_map_view_to_2D): take radar plot
maximum into consideration.
2009-10-18 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-graph.c (goc_graph_motion): Hook up a timer
to handle the rate-limiting.
* goffice/graph/gog-axis.c (gog_axis_get_effective_format): Rename
from get_axis_format and make public.
(axis_format_value): Use unicode minuses and proper date_conv.
* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): Extract from
goc_graph_motion for clarity. Free the right string! Use
format_coordinate, not g_strdup_printf.
(format_coordinate): New function to ensure unicode minuses.
2009-10-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-service-impl.h: typo.
* goffice/canvas/goc-graph.c (goc_graph_motion),
(goc_graph_leave_notify), (goc_graph_class_init): display coordinates
when moving the mouse. [#382666]
* goffice/canvas/goc-graph.h: ditto/
* goffice/graph/gog-axis.c (map_discrete_from_view): return discrete
values,
(gog_axis_map_is_discrete): new function.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart-map.c (x_map_view_to_2D),
(xy_map_view_to_2D), (polar_map_view_to_2D), (gog_chart_map_new),
(gog_chart_map_view_to_2D): ditto.
* goffice/graph/gog-chart-map.h: ditto.
2009-10-15 Morten Welinder <terra@gnome.org>
* goffice/utils/go-line.c (go_line_dash_as_label): Translate here.
* goffice/gtk/go-line-selector.c (go_line_dash_palette_get_tooltip_func):
Don't translate here.
2009-10-14 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-line.c (goc_line_class_init): Change to
GOArrow for arrow properties.
* goffice/canvas/goc-line.h (struct _GocLine): Have an arrow at
both ends.
* goffice/canvas/goc-line.c (goc_line_draw): Draw point arrows.
* goffice/utils/go-line.c (go_arrow_init, go_arrow_get_type,
go_arrow_clear, go_arrow_dup): New functions.
2009-10-12 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: prepare for GSEAL_ENABLE.
* goffice/canvas/goc-canvas.c (goc_canvas_invalidate): ditto.
* goffice/canvas/goc-item.c (goc_item_dispose),
(goc_item_invalidate): ditto.
* goffice/drawing/god-drawing-view.c (god_drawing_view_realize): ditto.
* goffice/graph/gog-child-button.c (gog_child_button_popup): ditto.
* goffice/graph/gog-error-bar.c (cb_width_changed),
(cb_line_width_changed): ditto.
* goffice/graph/gog-guru.c (cb_sample_pressed),
(cb_canvas_realized), (graph_guru_init_format_page),
(typesel_set_selection_color): ditto.
* goffice/gtk/Makefile.am: ditto.
* goffice/gtk/go-3d-rotation-sel.c (cb_rotate_canvas_realize),
(cb_rotate_canvas_button): ditto.
* goffice/gtk/go-action-combo-color.c (make_icon): ditto.
* goffice/gtk/go-action-combo-pixmaps.c (make_icon): ditto.
* goffice/gtk/go-action-combo-stack.c (go_combo_stack_init): ditto.
* goffice/gtk/go-color-palette.c (create_color_sel),
(handle_color_sel), (swatch_activated): ditto.
* goffice/gtk/go-color-selector.c (cb_color_dialog_response),
(cb_combo_custom_activate), (go_color_selector_drag_data_received): ditto.
* goffice/gtk/go-combo-box.c (go_combo_popup_reparent),
(do_focus_change), (go_combo_box_popup_hide_unconditional),
(cb_arrow_pressed), (go_combo_box_realize),
(go_combo_popup_tear_off), (go_combo_box_popup_hide),
(go_combo_box_get_pos), (go_combo_tearoff_bg_copy),
(go_combo_box_popup_display), (go_combo_box_button_press),
(cb_state_change), (go_combo_box_init),
(cb_tearable_button_release), (go_combo_box_construct): ditto.
* goffice/gtk/go-combo-text.c (cb_scroll_size_request): ditto.
* goffice/gtk/go-font-sel.c (cb_list_adjust), (select_row): ditto.
* goffice/gtk/go-format-sel.c (cb_decimals_changed),
(cb_separator_toggle), (fmt_dialog_enable_widgets),
(cb_format_currency_select): ditto.
* goffice/gtk/go-graph-widget.c (go_graph_widget_size_allocate),
(go_graph_widget_expose_event),
(go_graph_widget_button_press_event),
(go_graph_widget_motion_notify_event), (idle_handler),
(go_graph_widget_set_size_mode): ditto.
* goffice/gtk/go-gtk-compat.h: ditto.
* goffice/gtk/go-optionmenu.c (go_option_menu_update_contents),
(go_option_menu_position), (go_option_menu_set_menu),
(go_option_menu_set_history), (go_option_menu_init):
* goffice/gtk/go-palette.c (cb_swatch_expose),
(cb_menu_item_activate): ditto.
* goffice/gtk/go-rotation-sel.c (cb_rotate_canvas_realize),
(cb_rotate_canvas_button): ditto.
* goffice/gtk/go-selector.c (go_selector_popup),
(go_selector_drag_data_received), (go_selector_drag_data_get):
* goffice/gtk/go-selector.h: ditto.
* goffice/gtk/goffice-gtk.c (go_gtk_dialog_add_button),
(cb_activate_default), (go_gtk_widget_disable_focus),
(cb_parent_mapped), (go_gtk_window_set_transient),
(go_gtk_notice_dialog), (go_dialog_guess_alternative_button_order),
(go_menu_position_below): ditto.
* goffice/utils/go-style.c (cb_outline_size_changed),
(cb_line_size_changed), (cb_marker_size_changed):
* plugins/plot_barcol/gog-barcol-prefs.c (cb_gap_changed),
(cb_overlap_changed): ditto.
* plugins/plot_barcol/gog-minmax.c (cb_gap_changed):
* plugins/plot_distrib/gog-boxplot.c (cb_gap_changed),
(cb_ratio_changed): ditto.
* plugins/plot_pie/gog-pie-prefs.c (cb_element_separation_changed),
(cb_default_separation_changed), (cb_rotation_changed),
(cb_center_size_changed): ditto.
* plugins/plot_surface/gog-xyz-surface-prefs.c (cb_rows_changed),
(cb_columns_changed): ditto.
* plugins/plot_xy/gog-bubble-prefs.c (cb_scale_changed): ditto.
2009-10-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-group.c (goc_group_set_property): call
goc_item_bounds_changed after moving to a new position. [#598091]
2009-10-11 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-10-11 Morten Welinder <terra@gnome.org>
* Release 0.7.14
2009-10-10 Jody Goldberg <jody@gnome.org>
From peter.jaeckel@gmail.com:
* goffice/app/go-plugin.c (go_plugin_get_loader) : new accessor. [#597849]
2009-10-10 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: now includes all relevant
symbols.
* goffice/app/go-plugin-service-impl.h: make gtk-doc happy.
* goffice/canvas/goc-circle.c: canvas documentation minimally completed.
* goffice/canvas/goc-ellipse.c: ditto.
* goffice/canvas/goc-graph.c: ditto.
* goffice/canvas/goc-item.c: ditto.
* goffice/canvas/goc-line.c: ditto.
* goffice/canvas/goc-pixbuf.c: ditto.
* goffice/canvas/goc-polygon.c: ditto.
* goffice/canvas/goc-polyline.c: ditto.
* goffice/canvas/goc-rectangle.c: ditto.
* goffice/canvas/goc-structs.h: ditto.
* goffice/canvas/goc-text.c: ditto.
* goffice/canvas/goc-utils.c: ditto.
* goffice/canvas/goc-utils.h: ditto.
* goffice/canvas/goc-widget.c: ditto.
* goffice/graph/gog-object.h: make gtk-doc happy.
* goffice/graph/gog-reg-curve.h: ditto.
* goffice/graph/gog-trend-line.h: ditto.
2009-10-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-image-sel.c (ok_button_clicked_cb): fix image life cycle.
* goffice/gtk/go-image-sel.ui: set correct response buttons.
* goffice/utils/go-style.c (cb_image_select): don't proceed until
gtk_dialog_run returns non 0,
(go_style_populate_editor): accept passing the document as a property
(allows images in gnumeric sheet objects),
(go_style_create_cairo_pattern): fixed wallpaper origin.
2009-10-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-polygon.c (goc_polygon_class_init): removed not
yet implemented "use-spline" property for now.
* goffice/canvas/goc-polyline.c (goc_polyline_class_init): ditto.
2009-10-06 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: add more symbols.
* goffice/canvas/goc-ellipse.c (goc_ellipse_class_init): fixed description
of properties.
* goffice/canvas/goc-group.c (goc_group_add_child),
(goc_group_remove_child), (goc_group_adjust_bounds),
(goc_group_adjust_coords), (goc_group_cairo_transform): documented.
* goffice/canvas/goc-group.h: changed args names.
* goffice/canvas/goc-item.c (GSF_CLASS_FULL),
(goc_item_invalidate): make GocItemClass really virtual.
* goffice/canvas/goc-rectangle.c (goc_rectangle_class_init): fixed
description of properties.
* goffice/canvas/goc-styled-item.c (goc_styled_item_class_init): API docs
work.
* goffice/canvas/goc-styled-item.h: ditto.
* goffice/canvas/goc-widget.c (goc_widget_notify_scrolled): adapt to new
group API.
* goffice/graph/gog-object.c (GSF_CLASS_FULL): make class really virtual.
* goffice/graph/gog-outlined-object.c: ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-smoothed-curve.c: ditto.
* goffice/graph/gog-styled-object.c: ditto.
* goffice/graph/gog-trend-line.c: ditto.
2009-10-04 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: more work.
* goffice/canvas/goc-group.c (goc_group_add_child): simplify and
document GocItem API.
* goffice/canvas/goc-item.c (_goc_item_update_bounds),
(goc_item_new), (goc_item_invalidate), (goc_item_get_bounds): ditto.
* goffice/canvas/goc-item.h: ditto.
* goffice/canvas/goc-styled-item.c (goc_styled_item_class_init),
(goc_styled_item_init): ditto.
* goffice/canvas/goc-widget.c (goc_widget_update_bounds),
(goc_widget_notify_scrolled): ditto.
* plugins/plot_xy/gog-xy.c: fixed signed/unsigned warnings.
2009-10-03 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: more documentation work.
* goffice/canvas/goc-canvas.c: ditto.
* goffice/component/go-component.c: ditto.
2009-10-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin.c (go_plugin_read_for_dir): fixed the two last
strings from #596003.
* goffice/gtk/go-format-sel.ui: ditto.
2009-09-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_init): create widget far away
from visible area.
2009-09-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-line.c (goc_line_class_init): fixed translatable
strings using a patch from Bruce Cowan. [#596003]
* goffice/graph/gog-series-prefs.ui: add translators comments. [#596003]
* goffice/graph/gog-series.c (gog_series_populate_editor): add tooltips
to the clamped spline derivatives data selectors.
* goffice/gtk/go-color-palette.c (go_color_palette_setup),
(go_color_palette_make_menu): fixed translatable
strings
* goffice/gtk/go-color-selector.c (cb_combo_custom_activate),
(go_color_selector_new): ditto.
* goffice/gtk/go-image-sel.ui: ditto.
* goffice/gtk/go-palette.c (go_palette_show_custom): ditto.
* goffice/gtk/go-rotation-sel.ui: ditto.
* goffice/utils/go-style-prefs.ui: ditto.
* plugins/plot_radar/plugin.xml.in: ditto.
* tests/go-demo.ui: ditto.
2009-09-29 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): fix point custom
marker rendering. [#596585]
2009-09-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: don't allow gtk-doc if without-gtk.
2009-09-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.h: cleaned includes.
* goffice/goffice.h: make without-gtk build work again.
* goffice/graph/Makefile.am: ditto.
* goffice/graph/goffice-graph.h: ditto.
* goffice/utils/go-color.h: ditto.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_plot_class_init):
* plugins/plot_pie/gog-pie.c (gog_pie_plot_class_init),
(gog_ring_plot_class_init): ditto.
* plugins/plot_radar/gog-color-polar-prefs.xml: removed unused file.
* plugins/plot_xy/gog-xy.c (gog_bubble_plot_class_init): make without-gtk
build work again.
* tests/Makefile.am: make check works without gtk.
2009-09-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-style-prefs.ui: fixed unicolor gradients brightness.
* goffice/utils/go-style.c (fill_gradient_init),
(cb_fill_type_changed), (go_style_set_fill_brightness): ditto.
2009-09-25 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: added a few more entries.
* goffice/utils/go-style.c (go_style_set_cairo_line): new function.
* goffice/utils/go-style.h: ditto.
* goffice/utils/go-styled-object.c
(go_styled_object_set_cairo_line): use go_style_set_cairo_line.
2009-09-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-circle.c (goc_circle_init_style): crrectly set
background and forground.
* goffice/canvas/goc-ellipse.c (goc_ellipse_init_style): ditto.
* goffice/canvas/goc-polygon.c (goc_polygon_init_style): ditto.
* goffice/canvas/goc-rectangle.c (goc_rectangle_init_style): ditto.
* goffice/utils/go-style.c (go_style_assign): don't ref an image twice.
2009-09-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-text.c (goc_text_draw): purge cairo path.
2009-09-20 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-09-20 Morten Welinder <terra@gnome.org>
* Release 0.7.13
2009-09-18 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: more symbols included.
* goffice/component/go-component.c (go_component_get_data): make
gtk-doc happy.
* goffice/component/go-component.h: ditto.
* goffice/data/go-data-impl.h: ditto.
2009-09-18 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: removed duplicates
* goffice/canvas/goc-group.c (goc_group_draw_region): remove unuseful
call.
* goffice/canvas/goc-item.c: update documentation and remove unused
code.
* goffice/canvas/goc-item.h: remove unused fields.
* goffice/gtk/goffice-gtk.c: add missing colons.
* goffice/utils/go-style.c: fixed a documentation warning.
2009-09-17 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-item.c (goc_item_invalidate): Handle the
no-parent case without crashing.
2009-09-16 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_widget_init,
cb_canvas_changed): New functions.
(goc_widget_notify_scrolled): Do nothing if we have no parent.
(goc_widget_set_widget): Handle the no-canvas-yet case.
* goffice/canvas/goc-item.c (goc_item_class_init): Add canvas and
parent properties.
(goc_item_new): Construct the new item with all its properties.
* goffice/canvas/goc-group.c (goc_group_unrealize,
goc_group_realize): Chain.
(goc_group_add_child, goc_group_remove_child): Notify item::parent
and item::canvas.
* goffice/canvas/goc-item.c (goc_item_realize,
goc_item_unrealize): New handlers.
(_goc_item_realize, _goc_item_unrealize): Simplify.
(goc_item_new): Simplify and avoid double-realize.
* goffice/canvas/goc-group.c (goc_group_realize,
goc_group_unrealize): Simplify.
* goffice/canvas/goc-polygon.c (goc_polygon_finalize): New
function to plug leak.
2009-09-15 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-group.c (goc_group_clear): Add sanity check.
2009-09-14 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_widget_set_widget): Split from
goc_widget_set_property. Disconnect signals when changing widget.
Keep ref to widget. Handle setting NULL widget.
(goc_widget_dispose): Set NULL widget.
(goc_widget_class_init): Hook up dispose method.
* goffice/canvas/goc-text.c (goc_text_class_init): Don't cast
klass pointer to parent's interface type and expect to get the
right thing! Instead, make this implement the interface here and
override the method we want to handle.
2009-09-13 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-widget.c (goc_widget_get_property): Add
missing "break".
* goffice/canvas/goc-item.c (goc_item_dispose): Rename from
goc_item_finalize.
(goc_item_destroy): New function.
* goffice/canvas/goc-group.c (goc_group_clear): New function.
(goc_group_dispose): Renamed from goc_group_finalize and changed
to simply call goc_group_clear.
(goc_group_class_init): Hook-up ::dispose instead of finalize.
* goffice/canvas/goc-canvas.c (goc_canvas_dispose): New handler to
get rid of items.
2009-09-13 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-0.8-sections.txt: more API doc work.
* docs/reference/goffice-docs.sgml: ditto.
* goffice/graph/gog-chart-map.c (make_path_spline): make gtk-doc happy.
* goffice/gtk/go-3d-rotation-sel.c (go_3d_rotation_sel_new): renamed
GO_3D_ROTATION_SEL_TYPE to GO_TYPE_3D_ROTATION_SEL.
* goffice/gtk/go-3d-rotation-sel.h: ditto.
* goffice/utils/go-bezier.c (go_bezier_spline_init),
(go_bezier_spline_destroy), (go_bezier_spline_to_path): make gtk-doc happy.
* goffice/utils/go-bezier.h: ditto.
2009-09-13 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/.gitignore: removed goffice-*-sections.txt.
* docs/reference/Makefile.am: do not clean goffice-*-sections.txt.
* docs/reference/goffice-0.8-sections.txt: added and cleaned a lot.
* docs/reference/goffice-docs.sgml: updated.
* goffice/canvas/goc-canvas.c: add some documentation.
* goffice/canvas/goc-group.c (goc_group_add_child),
(goc_group_remove_child): fix item life cycle issues.
* goffice/canvas/goc-item.c (goc_item_finalize),
(_goc_item_realize), (_goc_item_unrealize): ditto.
* goffice/canvas/goc-item.h: ditto.
* goffice/graph/gog-plot-impl.h: make gtk-doc happy.
* goffice/gtk/go-combo-text.c: ditto.
* goffice/gtk/go-combo-text.h: ditto.
2009-09-12 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/Makefile.am: removed obsolete entries.
* docs/reference/goffice-docs.sgml: add canvas.
* docs/reference/goffice-overrides.txt: removed obsolete file.
* docs/reference/goffice-sections.txt: ditto.
* docs/reference/goffice.types: ditto.
* goffice/canvas/goc-canvas.c: some documentation related work.
* goffice/canvas/goc-group.h: ditto
* goffice/canvas/goc-item.h: ditto
* goffice/canvas/goc-pixbuf.c: ditto
* goffice/canvas/goc-pixbuf.h: ditto
* goffice/canvas/goc-styled-item.h: ditto
2009-09-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-widget.c (goc_widget_set_property): don't destroy
the old widget, just remove it from the canvas.
2009-09-11 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/goffice-sections.txt: make things work again after
go-plugin-service names changes.
2009-09-08 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fixed empty combos after the libglade to gtkbuilder transition.
* goffice/graph/gog-object.c (gog_object_populate_editor): here.
2009-09-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-image-save-dialog-extra.ui: fixed a combo box
initialization.
* goffice/gtk/goffice-gtk.c (go_gui_get_image_save_info): ditto.
2009-09-05 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-09-05 Morten Welinder <terra@gnome.org>
* Release 0.7.12
2009-09-05 Jean Brefort <jean.brefort@normalesup.org>
* all files: renamed go-color.h macros.
2009-09-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-equation.c (gog_equation_finalize),
(gog_equation_view_finalize): call parent class finalize methods. [#594189]
2009-09-04 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Conditional use of Use AM_SILENT_RULES (if automake-1.11 is present).
Verbose compilation is still available using make V=1.
Feel free to revert if it's not convenient.
2009-09-04 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c
(xl_xyz_series_init_style): avoid edition of unused styles,
(xl_contour_plot_class_init), (xl_surface_plot_class_init):
allow series insertion, and fix surface series style. [#594070, #594077]
2009-09-03 Jody Goldberg <jody@gnome.org>
* goffice/Makefile.am : move win32 .def file from foocanvas to goc
2009-09-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-error-bar.c (gog_error_bar_prefs): fix a widget
life cycle issue.
2009-09-03 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-surface.c (gog_surface_view_render): missing
space.
* plugins/plot_surface/xl-surface.c (xl_surface_plot_class_init): X values
are not required, just suggested. [#593937]
2009-09-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-styled-object.c
(go_styled_object_set_cairo_fill): return FALSE when type is FILL_NONE.
2009-09-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (gog_axis_base_init_style): fixed some
issues with auto styles.
* goffice/graph/gog-axis.c (gog_axis_init_style): ditto.
* goffice/graph/gog-equation.c (gog_equation_init_style): ditto.
* goffice/graph/gog-graph.c (gog_graph_init): ditto.
* goffice/graph/gog-grid.c (gog_grid_init_style): ditto.
* goffice/graph/gog-label.c (gog_text_init_style): ditto.
* goffice/graph/gog-legend.c (gog_legend_init_style): ditto.
* goffice/graph/gog-plot.c (gog_plot_foreach_elem): ditto.
* goffice/graph/gog-reg-curve.c (gog_reg_curve_init_style): ditto.
* goffice/graph/gog-series-lines.c (gog_series_lines_init_style): ditto.
* goffice/graph/gog-series.c (gog_series_element_init_style),
(gog_series_init_style): ditto.
* goffice/graph/gog-smoothed-curve.c
(gog_smoothed_curve_init_style): ditto.
* goffice/graph/gog-styled-object.c
(gog_styled_object_parent_changed): ditto.
* goffice/graph/gog-theme.c (gog_theme_fillin_style): ditto.
* goffice/graph/gog-theme.h: ditto.
* goffice/utils/go-style.c (go_style_apply_theme): ditto.
* goffice/utils/go-style.h: ditto.
* plugins/plot_barcol/gog-line.c
(gog_line_series_element_init_style): ditto.
* plugins/plot_distrib/gog-boxplot.c
(gog_box_plot_series_class_init): ditto.
* plugins/plot_pie/gog-pie.c (gog_pie_view_render): ditto.
* plugins/plot_surface/gog-contour.c
(gog_contour_plot_foreach_elem), (gog_contour_view_render): ditto.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render),
(gog_xy_series_element_init_style): ditto.
2009-09-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin-service-impl.h: renamed GPS to GO_PLUGIN_SERVICE
* goffice/app/go-plugin-service.c: ditto.
* goffice/component/go-component-factory.c: ditto.
* goffice/graph/gog-plot-engine.c: ditto.
2009-09-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-color.h: prefixed all macros with GO_
* all files: use renamed go-color.h macros.
2009-08-31 Morten Welinder <terra@gnome.org>
* docs/reference/Makefile.am: Clean more stuff to force regens.
2009-08-31 Jean Brefort <jean.brefort@normalesup.org>
* all files: deprecate GOStyle::outline. [#593608]
* goffice/canvas/goc-pixbuf.c (goc_pixbuf_draw): don't display a null sized
pixbuf item.
2009-08-31 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-08-31 Morten Welinder <terra@gnome.org>
* Release 0.7.11
2009-08-30 Morten Welinder <terra@gnome.org>
* goffice/canvas/goc-item.c (goc_item_new): Keep track of realize.
* goffice/canvas/goc-group.c (goc_group_realize,
goc_group_unrealize): Set the right ->realized.
2009-08-30 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-08-30 Morten Welinder <terra@gnome.org>
* Release 0.7.10
2009-08-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-line.c (goc_line_update_bounds): take line cap
into account when needed.
* goffice/canvas/goc-pixbuf.c (goc_pixbuf_draw): fixed scaling.
* goffice/utils/go-styled-object.c
(go_styled_object_set_cairo_line): make dashes work.
2009-08-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-group.c (goc_group_realize),
(goc_group_unrealize): don't unrealize an item several times.
* goffice/canvas/goc-item.c (goc_item_finalize): ditto.
* goffice/canvas/goc-item.h: ditto.
2009-08-26 Morten Welinder <terra@gnome.org>
* goffice/graph/Makefile.am: The ui file needs to be distributed
regardless of configuration.
* plugins/plot_distrib/Makefile.am (ui_DATA): Ditto.
2009-08-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-group.c (goc_group_finalize): don't crash when
destroying a group.
2009-08-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-combo-box.c (go_combo_box_set_display): expand the
display widget.
* goffice/gtk/go-format-sel.c (nfs_init): create missing combo box.
2009-08-26 Jean Brefort <jean.brefort@normalesup.org>
* all files: migrated from Glade to GtkBuilder
2009-08-25 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-win32.c (go_conf_win32_get_node): Guess what
should happen when key==NULL. Hopefully addresses #590786.
2009-08-25 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: remove FooCanvas.
* goffice/Makefile.am: ditto.
* goffice/cut-n-paste/.gitignore: ditto.
* goffice/cut-n-paste/Makefile.am: ditto.
* goffice/cut-n-paste/foocanvas/.gitignore: ditto.
* goffice/cut-n-paste/foocanvas/Makefile.am: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-i18n.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-line.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-line.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-marshal.list: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-pixbuf.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-pixbuf.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-polygon.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-polygon.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-rect-ellipse.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-rect-ellipse.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-text.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-text.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-util.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-util.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-widget.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas-widget.h: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas.c: ditto.
* goffice/cut-n-paste/foocanvas/foo-canvas.h: ditto.
* goffice/cut-n-paste/foocanvas/libfoocanvas.h: ditto.
* goffice/cut-n-paste/foocanvas/libfoocanvastypes.c: ditto.
* goffice/graph/Makefile.am: ditto.
* goffice/graph/gog-control-foocanvas.c: ditto.
* goffice/graph/gog-control-foocanvas.h: ditto.
2009-08-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-line.c: fixed arrows bounds.
2009-08-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c: cleaned things.
* goffice/canvas/goc-canvas.h: ditto.
* goffice/canvas/goc-graph.c: ditto.
* goffice/canvas/goc-group.c: ditto.
* goffice/canvas/goc-line.c: implement arrow head.
2009-08-23 Morten Welinder <terra@gnome.org>
* goffice/utils/go-color.h (PIXEL_*): Kill unused macros.
2009-08-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/goc-canvas.c: add RTL support tothe canvas.
* goffice/canvas/goc-canvas.h: ditto.
* goffice/canvas/goc-ellipse.c: ditto.
* goffice/canvas/goc-graph.c: ditto.
* goffice/canvas/goc-group.c: ditto.
* goffice/canvas/goc-line.c: ditto.
* goffice/canvas/goc-line.h: ditto.
* goffice/canvas/goc-pixbuf.c: ditto.
* goffice/canvas/goc-polygon.c: ditto.
* goffice/canvas/goc-polyline.c: ditto.
* goffice/canvas/goc-rectangle.c: ditto.
* goffice/canvas/goc-text.c: ditto.
2009-08-19 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: test for gtk_layout_get_bin_window.
* goffice/canvas/goc-canvas.c: define gtk_layout_get_bin_window if needed.
* goffice/canvas/goc-line-impl.h: removed obsolete.
* goffice/graph/gog-chart.c (role_plot_can_add): fix signature.
2009-08-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/Makefile.am: add gog-polyline.[c,h].
* goffice/canvas/*.[c,h]: fixed various issues.
* goffice/grph/gog-equation.c: make it compile with latest lasem code.
2009-08-15 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-08-15 Morten Welinder <terra@gnome.org>
* Release 0.7.9
2009-08-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart.c (role_plot_can_add): do not allow several 3D plots an a
single chart. (see #591478)
2009-08-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/canvas/*: removed *-impl.h files
* goffice/goffice.h: changed include order.
* goffice/gtk/go-3d-rotation-sel.c (cb_rotation_changed): removed unused variable.
2009-08-11 Jean Brefort <jean.brefort@normalesup.org>
* All: add and use a new cairo based canvas.
2009-08-07 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_log_calc_ticks): Improve minor
ticks placement.
2009-08-06 Morten Welinder <terra@gnome.org>
* goffice/utils/go-string.c: Fix docs.
* goffice/graph/gog-axis.c (map_linear_auto_bound): Avoid using an
integer number of steps for pull-in-0 threshold. Fixes #590903, I
hope.
2009-08-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c (gog_series_get_xy_data): fix tests.
* plugins/plot_distrib/gog-probability-plot.c: implement comparison line
for probability plots. [#590416]
* plugins/plot_distrib/plugin.c (go_plugin_init): ditto.
* plugins/plot_distrib/plugin.xml.in: ditto.
2009-08-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* plugins/plot_distrib/plugin.xml.in: fix spelling
2009-07-24 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c (gog_contour_view_render): don't
stop filling surface when one vertex is at a different level than the three
others. [#589512]
* plugins/plot_surface/gog-xyz-surface-prefs.glade: change tool tips to
something more meaningful. [#589511]
2009-07-23 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/plot-types.xml.in: fix #589512.
* plugins/plot_surface/plugin.xml.in: ditto.
2009-07-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-marker.c: add a left half bar marker.
* goffice/utils/go-marker.h: ditto.
2009-07-15 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Remove duplicated declaration.
* goffice/graph/gog-axis-line.h: here. Already in gog-axis-line-impl.h.
2009-07-09 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-win32.c (go_conf_win32_get,
go_conf_win32_set): Handle NULL key.
2009-07-01 Morten Welinder <terra@gnome.org>
* goffice/app/go-conf-gconf.c (go_conf_add_monitor): Don't use
reserved identifier.
(get_schema): Use go_conf_get_real_key to avoid problems with
NULL.
(cb_key_changed): Actually call the monitor with a node as
advertised!
2009-06-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
More workaround for http://bugzilla.gnome.org/show_bug.cgi?id=585421
* goffice/gtk/go-color-palette.c (make_colored_menu_item): here.
* goffice/gtk/go-combo-pixmaps.c (go_menu_pixmaps_add_element): and here.
2009-06-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix wrong palette swatch sizes, due to bug introduced in gtk 2.16.
(see http://bugzilla.gnome.org/show_bug.cgi?id=585421)
* goffice/gtk/go-palette.c (go_palette_menu_item_new): here.
2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_date_to_odf): when we
encounter a error in tokenizing, skip forward
2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-string.h (go_string_get_cstr): deleted
* goffice/utils/go-string.c (go_string_get_len): new
(go_string_get_markup): new
(go_string_get_phonetic): new
(go_string_equal_ignorecase): new
(go_string_equal_rich): new
2009-06-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c (axis_line_render), (x_process),
(xy_process), (radar_process), (xyz_process): set 3d ticks at the
correct position. [#585298]
* goffice/graph/gog-chart.c: reversed fix to #152675.
* goffice/graph/gog-graph.c (gog_graph_class_init): ditto.
2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c
(go_format_output_scientific_number_element_to_odf): only add
gnm:engineering when asked to do so
2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): be as explicit
as possible with respect to elapsed time and avoid it when we
are outputting a date-style.
2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): also consider
elapsed seconds
2009-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): handle elapsed
times better
(go_format_output_number_to_odf): also handle currencies and accounting
(go_format_output_currency_to_odf): deleted
(go_format_output_to_odf): use go_format_output_number_to_odf for
currencies too
2009-06-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): use family rather
than details, add color
(go_format_output_fraction_to_odf): add color
(go_format_output_number_to_odf): use unichar minus
(go_format_output_scientific_number_to_odf): parse format string
(go_format_output_to_odf): asked for details only when we need them
2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_date_to_odf): time and date styles
must contain a non-text element.
2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_number_to_odf): Don't use the details
but count the digits yourself. Change arguments.
(go_format_output_number_element_to_odf): Change arguments
(go_format_output_scientific_number_to_odf): ditto
(go_format_output_general_to_odf): ditto
(go_format_output_to_odf): adjust the calls to the above functions
2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_number_to_odf): add missed
argument to go_format_parse_color
2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_number_element_to_odf): new
(go_format_output_number_to_odf): check the format string for colors
and string characters.
(go_format_output_to_odf): consider the conditional formats if we can't
determine type otherwise.
2009-06-21 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets): Warn if
localization fails.
* goffice/utils/go-format.c (go_format_parse_color): Add
is_localized parameter and handle it. Caller changed. Fixes
#586567.
2009-06-20 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2009-06-20 Morten Welinder <terra@gnome.org>
* Release 0.7.8
2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* utils/go-format.c (go_format_output_general_to_odf): we need to
output something
(go_format_output_to_odf): if we don't know what kind of format
it is, make a guess
2009-06-14 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_set_uri): Allow setting a NULL uri.
2009-06-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-equation.c: make things compile again after the
goffice/goffice.h change.
2009-06-11 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (ALLOW_NEGATIVE_TIMES): Turn on.
2009-06-09 Morten Welinder <terra@gnome.org>
* */*.[ch]: Introduce <goffice/goffice.h> as master include file.
2009-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_currency_to_odf):
account for the possibility of NULL currency
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_to_odf):
use min_digits from format details
(go_format_output_scientific_number_to_odf): ditto
(go_format_output_currency_to_odf): ditto
2009-06-02 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (study_format): Deal with issues the
GUI does not handle.
* goffice/utils/go-format.c (go_format_get_details): Figure out
min_digit_width too. Figure out decimals for seconds. Use
go_format_details_init.
(go_format_details_init): New function.
(go_format_generate_currency_str,
go_format_generate_accounting_str,
go_format_generate_scientific_str): Make static and just take
details. All callers fixed use to go_format_generate_str.
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_number_to_odf): set
text properties for red text
(go_format_output_currency_to_odf): ditto
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.h (go_format_output_to_odf): add argument
* goffice/utils/go-format.c (go_format_output_to_odf): add argument
and pass to go_format_output_*_to_odf
(go_format_output_*_to_odf): add argument determining whether to use
foreign elements
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_fraction_to_odf):
fix min-denominator-digits
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_fraction_to_odf):
indicate when number:text are again possible
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_date_to_odf):
mark elaspsed time with gnm: attribute
2009-05-31 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_inc_precision,
go_format_dec_precision): Use go_format_get_details and
go_format_generate_str. That handles accounting formats and is
less hacky.
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_date_to_odf):
mark elaspsed time with gnm: attribute
2009-05-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_fraction_to_odf):
rewrite to export the true format
2009-05-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_date_to_odf): store
magic and handle fractional seconds
2009-05-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (fill_accumulator): delete
(go_format_output_date_to_odf): rewrite without reference to the
style program
2009-05-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.h: use a descriptive name for arguments
* goffice/utils/go-format.c (go_format_odf_style_map): rename argument
and handle GO_FMT_COND_NONTEXT
(go_format_output_date_to_odf): fix typo
(go_format_output_number_to_odf): handle conditional format
(go_format_output_currency_to_odf): ditto
(go_format_output_to_odf): ditto
2009-05-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_generate_str): Handle
thousands_sep as well as negative value properties for percentages
too.
* goffice/gtk/go-format-sel.c (fillin_negative_samples): Use
smaller sample value for percentages.
(cb_decimals_changed, cb_separator_toggle,
cb_format_currency_select): Call fillin_negative_samples when we
have the F_NEGATIVE widget.
2009-05-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.h (go_format_odf_style_map): simplify
calling convention
(gboolean go_format_output_to_odf): add argument
* goffice/utils/go-format.c (go_format_odf_style_map): simplify
calling convention
(gboolean go_format_output_to_odf): add argument
2009-05-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_output_date_to_odf) use
GOFormatDetails
(go_format_output_scientific_number_to_odf): ditto
(go_format_output_number_to_odf): ditto
(go_format_output_currency_to_odf): new
(go_format_output_to_odf) use GOFormatDetails
2009-05-29 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_default_date_time): Make
this GO_FORMAT_MAGIC_SHORT_DATETIME instead of just picking the
fifth time format we happen to generate.
(go_format_default_date, go_format_default_time): Similar.
(go_format_magic_fmt_str): Fix GO_FORMAT_MAGIC_SHORT_DATETIME to
use GO_FORMAT_MAGIC_SHORT_TIME's format.
2009-05-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (cb_attrs_as_string): handle "scale"
attributes
(go_format_parse_markup): ditto
2009-05-28 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (struct _GOFormatSel): Use a
GOFormatDetails instead of individual members.
(generate_format): Eliminate in favour of go_format_generate_str.
(study_format): Simplify using go_format_get_details.
(find_symbol): Remove.
* goffice/utils/go-format.c (go_format_generate_accounting_str):
Improve quoting.
(go_format_get_details, go_format_generate_str): New functions.
* goffice/utils/formats.c (go_currency_date_format_init): Simplify
using go_format_locale_currency, go_format_generate_currency_str,
and go_format_generate_accounting_str.
(go_currency_date_format_init): Generate all members of
fmts_accounting.
* goffice/utils/go-format.c (go_format_locale_currency): New
function.
2009-05-27 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (generate_number): Simplify using
go_format_generate_number_str.
(generate_accounting, generate_format): Use
go_format_generate_number_str, go_format_generate_scientific_str,
go_format_generate_accounting_str, and
go_format_generate_currency_str.
(fillin_negative_samples): Select using iterator, not path.
(nfs_init): Split negative_type into negative_red and
negative_paren in the negative-types model.
* goffice/utils/go-format.c (go_format_generate_number_str,
go_format_generate_scientific_str,
go_format_generate_accounting_str,
go_format_generate_currency_str): New functions.
2009-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (fill_accumulator): new
(go_format_output_date_to_odf): new
(odf_add_bool): new
(go_format_output_fraction_to_odf): new stub
(go_format_output_scientific_number_to_odf): new stub
(go_format_output_number_to_odf): new stub
(go_format_output_to_odf): implement
2009-05-27 Jean Bréfort <jean.brefort@normalesup.org>
* goffice/gtk/goffice-gtk.c (go_gtk_builder_new): renamed for more
consistency,
(go_gtk_builder_signal_connect),
(go_gtk_builder_signal_connect_swapped): new functions.
* goffice/gtk/goffice-gtk.h: ditto.
* plugins/plot_radar/gog-radar.c
(gog_color_polar_plot_populate_editor): use go_gtk_builder_new.
2009-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_odf_style_map): new
(go_format_output_to_odf): new
* goffice/utils/go-format.h (go_format_odf_style_map): new
(go_format_output_to_odf): new
2009-05-23 Morten Welinder <terra@gnome.org>
* Release 0.7.7
2009-05-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c (go_graph_widget_get_renderer): new
utility function.
* goffice/gtk/go-graph-widget.h: ditto.
2009-05-22 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-calendar-button.c: New file.
* goffice/gtk/go-combo-box.c (cb_state_change,
go_combo_box_set_display, go_combo_box_construct): Handle NULL
display_widget.
* goffice/gtk/Makefile.am: Add go-calendar-button.c
2009-05-21 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_time_get_dim_format): New
functions. Use an elapsed-time format for all dimensions.
(map_date_get_dim_format): New function. Use a date format for
minimum and maximum only.
(map_linear_subclass): Hook up map_time_get_dim_format and
map_date_get_dim_format.
(struct _GogAxisMapDesc): Add new get_dim_format method.
(set_to_auto_value): Use new gog_data_editor_set_value_double.
(make_dim_editor): Use format on editor.
* goffice/graph/gog-data-allocator.h (GogDataEditor): new
interface for the editor returned by
GogDataAllocatorClass::editor.
(GogDataAllocatorClass): use GogDataEditor* as return type for
editor.
(gog_data_allocator_editor): Ditto. All caller changed.
2009-05-19 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_ref, go_format_unref):
Constify.
* goffice/gtk/go-format-sel.c (go_format_sel_get_fmt,
go_format_sel_set_style_format): Constify.
2009-05-18 Morten Welinder <terra@gnome.org>
* goffice/data/go-data-impl.h (GODataClass): New member date_conv.
* goffice/data/go-data.c (go_data_date_conv): New function.
* plugins/plot_*/*.c: track date conventions from data as formats.
2009-05-16 Morten Welinder <terra@gnome.org>
* goffice/data/go-data-simple.c (go_data_vector_val_serialize,
go_data_vector_str_serialize, go_data_matrix_val_serialize):
Simplify.
* goffice/gtk/go-format-sel.c (go_format_sel_set_style_format):
Don't accept markup formats.
2009-05-11 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Bump lasem version requirement to 0.1.1. Adapt to the API change.
* configure.in: here.
* goffice/graph/gog-equation.c: use lsm_dom_view_get_size instead of
lsm_dom_view_measure.
2009-05-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c (gog_series_class_init): always save
interpolation mode. [#582054]
2009-05-11 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_set_pristine): New function.
(go_doc_get_property, go_doc_set_property, go_doc_class_init):
Make "pristine" an object property.
2009-05-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (cb_attrs_as_string): store the full
pango-weight. We apply a linear adjustment so that earlier
versions that read an int see the correct 0 for normal and
1 for bold and we will read old files correctly.
(go_format_parse_markup): read the full pango-weight
2009-05-07 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_url_is_writeable): Avoid a
warning and further reports like #580409.
2009-05-06 Morten Welinder <mwelinder@gmail.com>
* configure.in: Post-release bump.
2009-05-06 Morten Welinder <terra@gnome.org>
* Release 0.7.6
2009-05-04 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (handle_common_token): Dump currency
string into the program as a string, not a sequence of characters.
Fixes #581307.
(go_format_dump_program): New function.
2009-05-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-styled-object.c (gog_style_new): have it back to fix
some compatibility issues.
* goffice/graph/gog-styled-object.h: ditto.
2009-04-29 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object-xml.h (gog_object_new_from_xml,
gog_object_sax_push_parser): Add user pointer argument for
serialization. All callers changed.
* goffice/data/go-data.c (go_data_serialize): Rename from
go_data_as_str. Add user pointer argument. All callers changed.
(go_data_unserialize): Rename from go_data_from_str. Add user
pointer argument. All callers changed.
2009-04-28 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_log_calc_ticks): Handle
non-integer major steps. Fixes #375756.
2009-04-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-conf-*: use go_conf_node_get_key_type which looks
ways better than go_conf_get_node_type.
2009-04-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-conf-gconf.c: renamed go_conf_get_type
go_conf_get_node_type to avoid a build failure during docs generation.
[#580296]
* goffice/app/go-conf-keyfile.c: ditto.
* goffice/app/go-conf-win32.c: ditto.
* goffice/app/go-conf.h: ditto.
2009-04-26 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: Post release bump.
2009-04-25 Morten Welinder <terra@gnome.org>
* Release 0.7.5
2009-04-23 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Enable the creation of multidimensional GOData derived objects, and
their use for the graph data sources.
That means, in graphs, all the GOData area accessed via the generic
GOData API, not by cast to GODataScalar, GODataVector and GODataMatrix.
It's still required that the underlying object has the requested dimension,
i.e. a call to go_data_get_vector_value should use a GOData object with
n_dimensions == 1.
2009-04-17 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_libglade_new): Actually remove
this alias as threatened. All internal users fixed.
* */*.c: Doc fixes to please gtk-doc.
* goffice/graph/gog-axis.c (map_date_auto_bound): Fix problem with
upper bound when step is in years and maximum in not on January 1.
2009-04-17 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_radar/Makefile.am: add the glade fil to EXTRA_DIST since
it is used as a source for the xml file.
2009-04-17 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (fmts_date, fmts_time): Auto-generate
all. Add magic formats. Note, that the dialog does, but should
not, display the magic formats literally.
2009-04-15 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-error-bar.c: Add missing include.
2009-04-11 Jean Brefort <jean.brefort@normalesup.org>
* Makefile.am: add --with-gmathml to DISTCHECK_CONFIGURE_FLAGS so
that gtk-doc succeeds.
* docs/reference/goffice-docs.sgml: moved style related documentation
to utilities.
* docs/reference/goffice-sections.txt: update names.
* plugins/plot_radar/Makefile.am: add ui_DATA to EXTRA_DIST.
2009-04-10 Jean Brefort <jean.brefort@normalesup.org>
* All files: moved GogStyle code to utils and renamed it GOStyle.
2009-04-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Naming consistency fix.
/\bGo([A-Z])/GO$1/
/\bIS_GO_/GO_IS_/
/\bIS_GOG_/GOG_IS_/
/\bIS_GOD_/GOD_IS_/
/\bGO_([A-Z,_]*)_TYPE\b/GO_TYPE_$1/
/\bGOG_([A-Z,_]*)_TYPE\b/GOG_TYPE_$1/
/\bGOD_([A-Z,_]*)_TYPE\b/GOD_TYPE_$1/
2009-04-03 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_linear_calc_ticks): Take N... We
got hit by excess precision on x86.
2009-04-02 Jody Goldberg <jody@gnome.org>
* goffice/app/file.c (go_file_saver_for_mime_type) : search the
default list first.
(go_file_saver_for_file_name) : ditto.
2009-03-31 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_linear_calc_ticks): When we
determine whether to drop a major tick due to alignment, use a
more stable method.
2009-03-31 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): fix area
plots rendering.
2009-03-30 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_linear_calc_ticks): Drop final
major tick if it goes beyond the maximum which can happen after we
align the grid.
2009-03-29 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_linear_calc_ticks): Make sure the
major step is a multiple of what was asked for, notably when a
crazy maximum has been picked.
2009-03-28 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (make_dim_editor): Simplify.
(map_linear_calc_ticks): Make sure we get zero and not almost-zero
when we need to.
2009-03-27 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c: Introduce subclassing of axis map
descriptors.
(map_date_calc_ticks, map_date_auto_bound): New functions.
(map_linear_subclass): Subclass polar, time, and date axes.
2009-03-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c: (gog_plot_guru_helper_add_grid_line): fixed
axis type test.
* goffice/gtk/goffice-gtk.c: (go_xml_builder_new): new GtkBuilder
support function.
* goffice/gtk/goffice-gtk.h: ditto.
* pixmaps/Makefile.am: added new pixmaps.
* pixmaps/chart_color_polar_1_1.png: new pixmap.
* pixmaps/chart_color_polar_1_1.svg: ditto.
* plugins/plot_radar/Makefile.am: added ui file.
* plugins/plot_radar/gog-color-polar-prefs.glade: new glade file.
* plugins/plot_radar/gog-color-polar-prefs.xml: the same as a ui file.
* plugins/plot_radar/gog-radar.c: (hide_outliers_toggled_cb),
(gog_color_polar_plot_populate_editor),
(gog_color_polar_plot_set_property),
(gog_color_polar_plot_get_property),
(gog_color_polar_plot_type_name), (gog_color_polar_plot_update),
(gog_color_polar_plot_axis_get_bounds),
(gog_color_polar_plot_class_init), (gog_color_polar_plot_init),
(get_map_color), (gog_rt_view_render),
(gog_color_polar_series_init_style),
(gog_color_polar_series_update),
(gog_color_polar_series_class_init), (go_plugin_init): add support for
the new GogColorPolarPlot plot type.
* plugins/plot_radar/gog-radar.h: ditto.
* plugins/plot_radar/plot-types.xml.in: ditto.
* plugins/plot_radar/plugin.xml.in: ditto.
* plugins/plot_xy/gog-xy.c: (gog_xy_color_plot_populate_editor): fixed a
memory leak.
2009-03-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: Fixed gconf and gmathml propagation to pc file. [#576497]
2009-03-25 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis.c (map_polar_auto_bound): Split from
map_linear_auto_bound.
(map_time_auto_bound): New function.
(map_linear_auto_bound): Call map_polar_auto_bound or
map_time_auto_bound as appropriate.
* goffice/utils/go-format.c (go_format_is_time,
go_format_has_minute): New functions.
2009-03-22 Morten Welinder <terra@gnome.org>
* configure.in: Post release bump
2009-03-22 Morten Welinder <terra@gnome.org>
* Release 0.7.4
2009-03-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-locale.c (go_locale_get_time_format,
go_locale_get_date_format): Make more robust.
2009-03-19 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_magic_fmt_str): Use
go_locale_24h.
* goffice/utils/go-locale.c (go_locale_24h): New function.
2009-03-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (fmt_dialog_init_fmt_list): Select a
magic format if just the magic agrees.
* goffice/utils/go-format.c (go_format_get_magic): New function.
2009-03-17 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (cb_format_entry_changed): Handle
failing go_format_str_delocalize.
* goffice/utils/go-format.c (go_format_str_localize,
go_format_str_delocalize): Redo based on go_format_preparse. This
way we understand the formats better and don't translate the dots
in, for example, "dd.mm.yyyy".
(go_format_preparse): Take extra argument for keeping all tokens
and for tokenizing localized. Caller changed.
(GOFormatParseState): Add extra fields for colours.
(go_format_preparse): Populated those fields.
(go_format_token2): Add extra parameter for tokenizing localized.
Return decimal and thousands separator as special tokens. All
callers changed.
2009-03-15 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_default_accounting): New
function.
2009-03-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (gog_style_sax_load_font): set
a default family when none is given. [#575318]
2009-03-12 Morten Welinder <terra@gnome.org>
* configure.in (surfaces_reqs): Move cairo backends here, so we
don't link against them.
2009-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c: (_draw_rectangle): revert previous
change.
* plugins/plot_barcol/gog-dropbar.c: (barcol_draw_rect): ensure that
the width and height are positive.
2009-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c: (_draw_rectangle): correctly evaluate
the narrow flag when the rectangle has a negative width or height.
2009-03-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c: (gog_barcol_view_render): correctly
use points other than the first one. [#574349]
* plugins/plot_distrib/gog-histogram.c: don't show a marker in the
legend. [#574340]
* plugins/plot_pie/gog-pie.c: (gog_pie_view_render): skip points when
the datum is skipped. [#574348]
2009-03-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/goffice-gtk.c: new go_gtk_show_url function. [#559021]
* goffice/gtk/goffice-gtk.h: ditto.
2009-02-26 Morten Welinder <terra@gnome.org>
* goffice/cut-n-paste/foocanvas/foo-canvas-pixbuf.c (foo_canvas_pixbuf_update):
If the resulting size is 0 pixels, don't try to scale the pixbuf.
Avoids critical on image insert in Gnumeric.
2009-02-22 Morten Welinder <terra@gnome.org>
* configure.in: Post release bump
2009-02-22 Morten Welinder <terra@gnome.org>
* Release 0.7.3
2009-02-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c: (polar_make_path): return a NULL path
for cubic splines interpolation (should not happen).
* goffice/graph/gog-series.c: (gog_series_populate_editor): fix radial
axis test when populating interpolation combo box. [#572698]
* plugins/plot_radar/gog-radar.c: (gog_rt_view_render): avoid criticals
when a path is NULL (anyway this should not happen).
2009-02-19 Morten Welinder <terra@gnome.org>
* docs/reference/Makefile.am (IGNORE_HFILES): Ignore gog-equation
unless with are compiling it. See bug 572483.
2009-02-19 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update): don't set
a value to an invalid length variable. [#572354]
2009-02-06 Tor Lillqvist <tml@iki.fi>
Bug 570095 - [Win32] Make goffice build without urlmon and
htmlhelp headers and libs
Unfortunately, MinGW doesn't come with headers and libraries for
urlmon and htmlhelp. So to make it easier to build goffice with
MinGW, just include the very minimal declarations needed inline,
and look up the two functions used at run-time.
* goffice/utils/go-file.c (find_mime_from_data): Look up
FindMimeFromData from urlmon.dll.
* goffice/gtk/goffice-gtk.c (html_help): Look up HtmlHelp from
hhctrl.ocx.
* goffice/Makefile.am: Drop -lurlmon and -lhtmlhelp.
2009-01-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c: (gog_series_populate_editor): fixed a
wrong test. [#568932]
2009-01-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c: (graph_typeselect_minor): return if the
item is the sample graph. [#567931]
2009-01-11 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_url_is_writeable): Undo
incorrect fix for "goffice-gtk.c:925: warning: format not a string
literal and no format arguments". For now, let gcc issue the
false warning.
2008-01-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-equation.c (gog_equation_update): don't crash when
on equation string == "{".
2009-01-06 Morten Welinder <terra@gnome.org>
* goffice/goffice.c (libgoffice_init): Call g_type_init early as
go_conf_init might need it.
2008-01-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-equation.c (gog_equation_populate_editor):
remember last active preference page.
2008-12-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru-type-selector.glade: implement the insertion
of an application specific custom widget.
* goffice/graph/gog-guru.c: (graph_guru_type_selector_new),
(gog_guru_add_custom_widget): ditto.
* goffice/graph/gog-guru.h: ditto.
* goffice/graph/gog-plot-impl.h: remove series minimum number.
* goffice/graph/gog-plot.c: (gog_plot_class_init),
(gog_plot_clear_series): ditto.
* goffice/graph/gog-plot.h: ditto.
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_class_init): ditto.
* plugins/plot_distrib/gog-boxplot.c: (gog_box_plot_class_init): ditto.
* plugins/plot_distrib/gog-histogram.c: ditto.
(gog_histogram_plot_class_init):
* plugins/plot_distrib/gog-probability-plot.c: ditto.
(gog_probability_plot_class_init):
* plugins/plot_pie/gog-pie.c: (gog_pie_plot_class_init),
(gog_ring_plot_class_init): ditto.
* plugins/plot_radar/gog-radar.c: (gog_rt_plot_class_init): ditto.
* plugins/plot_surface/gog-xyz.c: (gog_xyz_plot_class_init): ditto.
* plugins/plot_xy/gog-xy.c: (gog_2d_plot_class_init): ditto.
2008-12-30 Morten Welinder <terra@gnome.org>
* configure.in (set_more_warnings): Add -Wformat-security.
2008-12-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (is_fd_uri): Allow terminating slash.
2008-12-24 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Avoid a warning when equation->itex string is NULL.
* goffice/graph/gog-equation.c (gog_equation_populate_editor): here.
2008-12-15 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (datetime_serial_to_g): Simply return
1900-02-29 as an invalid date. Callers now handle it.
2008-12-14 Morten Welinder <terra@gnome.org>
* */*.c: Clean up glib includes. Patch from Pedro Fragoso. Fixes
#564021.
2008-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Don't access mathml root element style field directly. That fixes
the font sizes of the equation.
* goffice/graph/gog-equation.c (_update_equation_style): here.
2008-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Avoid a crash when the equation expression is empty.
* goffice/graph/gog-equation.c (_update_equation_style): here.
2008-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Avoid non-zero page size warnings in all glade files.
2008-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Actually use the parent styled_object properties.
* goffice/graph/gog-equation.c (_update_equation_style): new.
(gog_equation_style_changed): new.
(gog_equation_init_style): we don't need text_layout properties.
(gog_equation_view_size_request): propagates to the parent
size_request method.
(gog_equation_view_render): propagates to the parent render method.
2008-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Define the theme properties for the GogEquation objects.
* goffice/graph/gog-theme.c: here.
2008-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move the style-changed emission after the style have been applied to
the styled object. Makes the new style availabe to the signal
callbacks.
* goffice/graph/gog-styled-object.c (gog_styled_object_set_style):
here.
2008-12-12 Pedro Fragoso <ember@ubuntu.com>
* goffice/app/goffice-app.h:
* goffice/app/io-context.c:
* goffice/component/go-component.h:
* goffice/cut-n-paste/foocanvas/foo-canvas.h:
* goffice/drawing/god-drawing-renderer-cairo.c:
* goffice/drawing/god-drawing-renderer-gdk.h:
* goffice/drawing/god-drawing-view.h:
* goffice/graph/gog-axis-line.c:
* goffice/graph/gog-axis.c:
* goffice/graph/gog-chart.c:
* goffice/graph/gog-child-button.c:
* goffice/graph/gog-child-button.h:
* goffice/graph/gog-error-bar.c:
* goffice/graph/gog-graph.c:
* goffice/graph/gog-grid.c:
* goffice/graph/gog-guru.c:
* goffice/graph/gog-guru.h:
* goffice/graph/gog-label.c:
* goffice/graph/gog-object.c:
* goffice/graph/gog-plot.c:
* goffice/graph/gog-reg-curve.c:
* goffice/graph/gog-renderer.h:
* goffice/graph/gog-series.c:
* goffice/graph/gog-series.h:
* goffice/graph/gog-style.c:
* goffice/gtk/go-3d-rotation-sel.c:
* goffice/gtk/go-3d-rotation-sel.h:
* goffice/gtk/go-action-combo-color.c:
* goffice/gtk/go-action-combo-pixmaps.c:
* goffice/gtk/go-action-combo-stack.c:
* goffice/gtk/go-action-combo-text.c:
* goffice/gtk/go-charmap-sel.c:
* goffice/gtk/go-charmap-sel.h:
* goffice/gtk/go-color-palette.c:
* goffice/gtk/go-color-palette.h:
* goffice/gtk/go-color-selector.c:
* goffice/gtk/go-color-selector.h:
* goffice/gtk/go-combo-box.c:
* goffice/gtk/go-combo-box.h:
* goffice/gtk/go-combo-color.c:
* goffice/gtk/go-combo-color.h:
* goffice/gtk/go-combo-pixmaps.c:
* goffice/gtk/go-combo-pixmaps.h:
* goffice/gtk/go-combo-text.c:
* goffice/gtk/go-combo-text.h:
* goffice/gtk/go-font-sel.c:
* goffice/gtk/go-font-sel.h:
* goffice/gtk/go-format-sel.c:
* goffice/gtk/go-format-sel.h:
* goffice/gtk/go-gradient-selector.h:
* goffice/gtk/go-graph-widget.c:
* goffice/gtk/go-graph-widget.h:
* goffice/gtk/go-image-sel.c:
* goffice/gtk/go-image-sel.h:
* goffice/gtk/go-line-selector.h:
* goffice/gtk/go-locale-sel.c:
* goffice/gtk/go-locale-sel.h:
* goffice/gtk/go-marker-selector.h:
* goffice/gtk/go-palette.c:
* goffice/gtk/go-palette.h:
* goffice/gtk/go-pattern-selector.h:
* goffice/gtk/go-pixbuf.h:
* goffice/gtk/go-rotation-sel.c:
* goffice/gtk/go-rotation-sel.h:
* goffice/gtk/go-selector.c:
* goffice/gtk/go-selector.h:
* goffice/gtk/goffice-gtk.h:
* goffice/math/go-cspline.c:
* goffice/math/go-math.h:
* goffice/math/go-matrix3x3.h:
* goffice/math/go-rangefunc.c:
* goffice/math/go-rangefunc.h:
* goffice/math/go-regression.c:
* goffice/math/go-regression.h:
* goffice/ms-compat/go-ms-parser.c:
* goffice/ms-compat/god-drawing-ms.c:
* goffice/utils/go-color.c:
* goffice/utils/go-color.h:
* plugins/plot_barcol/gog-1.5d.c:
* plugins/plot_barcol/gog-barcol-prefs.c:
* plugins/plot_distrib/gog-boxplot.c:
* plugins/plot_pie/gog-pie-prefs.c:
* plugins/plot_radar/gog-radar.c:
* plugins/reg_linear/gog-polynom-reg.c:
GNOME Goal: Clean up GLib and GTK+ includes (Closes: #564021)
2008-12-11 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Use a GtkTextView for the equation expression.
* goffice/graph/gog-equation-prefs.glade: use a GtkTextView.
* goffice/graph/gog-equation.c (cb_equation_buffer_changed): replaces
cb_equation_entry_changed.
(gog_equation_populate_editor): use a GtkTextView.
(gog_equation_update): try to fix the user entered expression in order
to have a valid mathml tree.
2008-12-08 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-box.c (go_combo_box_realize): Set cursor in
a realize handler, not at init time.
* goffice/utils/go-format.c (go_format_parse_number_E): Handle
E-00 as well as E+00.
2008-12-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add an optional dependency to GMathml, for equation support. It's
disabled by default.
* configure.in: gmathml check.
* goffice/goffice.c: Declare GogEquationType.
* goffice/graph/Makefile.am: Conditionally build gog-equation.[ch]
* goffice/graph/gog-equation.[ch]: new.
* goffice/graph/gog-equation-prefs.c: new.
* goffice/graph/gog-chart.c: add GogEquation to the possible chart
children.
* goffice/graph/gog-renderer.c (gog_renderer_draw_equation): new.
2008-11-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: make GogAxisBase public, at least a bit.
* goffice/graph/gog-axis-line-impl.h: ditto.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-axis-line.h: ditto.
* plugins/plot_barcol/gog-line.c: make drop lines go to the axis instead
of bottom (or left when horizontal).
* plugins/plot_xy/gog-xy.c: ditto.
2008-11-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: add support for clamped splines.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-chart-map.c: ditto.
* goffice/graph/gog-chart-map.h: ditto.
* goffice/graph/gog-series-impl.h: ditto.
* goffice/graph/gog-series-prefs.glade: ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-series.h: ditto.
* goffice/utils/go-line.c: ditto.
* goffice/utils/go-line.h: ditto.
* plugins/plot_xy/gog-xy.c: ditto.
* plugins/plot_xy/gog-xy.h: ditto.
2008-11-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_get_file_permissions): Fix memory
corruption. Probably fixes #561708.
2008-11-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-spline.c: removed unnecessary casts.
* goffice/math/go-distribution.c: removed unused gtk dependent function.
* goffice/math/go-distribution.h: ditto.
* plugins/plot_distrib/gog-probability-plot.c: fixed compilation without
gtk.
2008-11-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-cspline.c: (go_cspline_init): don't use cast with
g_new.
* goffice/utils/go-bezier.c: (go_bezier_spline_init): create a struct,
not a pointer to a struct, and don't cast.
2008-11-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart.c: set title priority to 0. [#152675]
* goffice/graph/gog-graph.c: (gog_graph_class_init): ditto.
2008-11-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c: (make_path_linear),
(make_path_spline), (make_path_cspline), (xy_make_path_step),
(xy_make_path), (polar_make_path_step), (polar_make_path),
(gog_chart_map_make_path): add new spline interpolation modes.
* goffice/graph/gog-chart-map.h: ditto.
* goffice/graph/gog-reg-curve.c: (gog_reg_curve_view_render): use
natural cubic splines instead of Bezier splines.
* goffice/graph/gog-series-impl.h: allow interpolation over invalid
data.
* goffice/graph/gog-series-prefs.glade: add new spline interpolation
modes and allow interpolation over invalid data.
* goffice/graph/gog-series.c: (gog_series_set_property),
(gog_series_get_property), (cb_line_interpolation_changed),
(cb_line_interpolation_skip_changed), (gog_series_populate_editor),
(gog_series_class_init): ditto.
* goffice/graph/gog-smoothed-curve.c:
(gog_smoothed_curve_view_render): update after gog_chart_map_make_path
signature change.
* goffice/utils/Makefile.am: add bezier splines evaluation.
* goffice/utils/go-line.c: (go_line_interpolation_as_label),
(go_line_interpolation_supports_radial),
(go_line_interpolation_auto_skip): add new spline interpolation modes.
* goffice/utils/go-line.h: ditto.
* plugins/plot_radar/gog-radar.c: (gog_rt_view_render): update after
gog_chart_map_make_path signature change.
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render): add new spline
interpolation modes.
* plugins/plot_xy/gog-xy.h: ditto.
2008-11-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-cspline.c: (go_cspline_init): fixed evaluation for
cubic and clamped limits.
2008-11-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c: (gog_graph_set_property): fixed typo.
2008-11-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-bezier.c: new code for bezier splines.
* goffice/utils/go-bezier.h: ditto.
2008-11-07 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/go-distribution-prefs.c:
(go_distribution_pref_new): fixed a memory leak.
2008-11-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.c: (make_path_spline): use true splines.
2008-11-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c: (go_url_show): removed duplicated GError*.
2008-11-01 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: drop the libgnome related code. [#558709]
* goffice/goffice-features.h.in: ditto.
* goffice/gtk/goffice-gtk.c: (go_help_display): ditto.
* goffice/utils/go-file.c: (go_url_show): ditto.
2008-11-01 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add GOFFICE_WITH_GCONF and use gtk_show_uri when present.
[#558709]
* goffice/app/go-conf.c: ditto.
* goffice/goffice-features.h.in: ditto.
* goffice/gtk/goffice-gtk.c: (go_help_display): ditto.
* goffice/utils/go-file.c: (go_url_show): ditto,
(go_get_mime_type): simplify.
2008-10-31 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: add new icon for GogXYZContourPlot.
* pixmaps/chart_contour_2_1.png: new icon.
* pixmaps/chart_contour_2_1.svg: ditto.
* plugins/plot_surface/gog-contour.c: fixed various regressions.
* plugins/plot_surface/gog-xyz-surface.c: add GogXYZContourPlot.
* plugins/plot_surface/gog-xyz-surface.h: ditto.
* plugins/plot_surface/gog-xyz.c: ditto.
* plugins/plot_surface/plot-types.xml.in: ditto.
2008-10-25 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-color.c (go_action_combo_color_finalize):
Plug leak.
* configure.in (long double): Add --without-long-double option.
Fixes #557045. Patch by Halton Huo.
* goffice/gtk/go-combo-box.c (go_combo_box_popup_hide_unconditional):
Fix some very strange ref-unrefing.
2008-10-24 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-text.c (go_combo_text_init): Plug leak.
* goffice/gtk/go-color-palette.c (go_color_palette_set_group):
Balance references.
2008-10-24 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c: (get_y_vector): add labels if none
is given,
(xl_contour_plot_class_init): use GOG_SERIES_SUGGESTED for categories.
2008-10-24 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-xyz.c: (gog_xyz_plot_axis_get_bounds):
make things work when there is no data for an axis.
2008-10-23 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-color.c
(go_action_combo_color_create_tool_item): Plug leak.
2008-10-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-cspline.c: (go_cspline_destroy): return without freeing
if the argument is NULL. [#557442]
2008-10-18 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2008-10-17 Jody Goldberg <jody@gnome.org>
* Release 0.7.2
2008-10-17 Jody Goldberg <jody@gnome.org>
* goffice/math/go-distribution.c : minor build fix for win32.
*
2008-10-14 Jody Goldberg <jody@gnome.org>
* /gnome/src/goffice/goffice/app/go-doc.c (go_doc_write) : only
generate a GODoc node if there is something to put in.
2008-10-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-distribution.c: fixed compilation for both with
and without long double.
2008-10-14 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.c (gog_style_fill_sax_save) : add some
protection.
* goffice/utils/go-image.c (go_image_get_name) : add some protection.
2008-10-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c: (go_get_mime_type): do not unref a
NULL GObject*.
2008-10-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-contour.c: (gog_contour_view_render): do
not try to access NULL data. [#555757]
* plugins/plot_surface/gog-surface.c: (gog_surface_view_render): ditto.
2008-10-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_distrib/gog-probability-plot.c:
(gog_probability_plot_series_update): don't write a second in
an array of size 1. [#555161]
2008-10-08 Jody Goldberg <jody@gnome.org>
* goffice/cut-n-paste/foocanvas/foo-canvas.c (foo_canvas_crossing) :
simplistic patch to repair gtk-2.14 related breakage.
2008-09-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-error-bar.c: (gog_error_bar_get_bounds):
don't crash in index < 0.
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): fix index
for error bars. [#553711]
2008-09-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c: (gog_graph_set_property): [Coverity 187]
* goffice/graph/gog-grid-line.c: (gog_grid_line_xy_render): [Coverity 52]
* goffice/graph/gog-guru.c: (populate_graph_item_list): [Coverity 20]
* goffice/graph/gog-renderer.c: (gog_renderer_export_image): [Coverity 40]
* goffice/gtk/go-format-sel.c: (fmt_dialog_enable_widgets): [Coverity 18]
* goffice/gtk/go-image-sel.c: (ok_button_clicked_cb): [Coverity 19]
* goffice/utils/datetime.c: (datetime_weeknum): [Coverity 27]
* goffice/utils/go-pattern.c: (go_pattern_get_svg_path): [Coverity 17]
2008-09-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-image-sel.c: (cb_file_image_select): don't test
before g_free.
* goffice/gtk/goffice-gtk.c: (go_help_display): applied patch
from Hib Eris to fix a crash in non-gnome apps using goffice
with gnome. [#551128]
* goffice/utils/go-file.c: (go_file_get_date): don't free the error twice.
2008-09-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc.c: (load_image): check attr != NULL before
deferencing [Coverity 196].
* goffice/graph/gog-axis-line.c:
(gog_axis_base_view_label_position_request): initialize padding
[Coverity 242].
* goffice/graph/gog-legend.c: (cb_render_elements): add a test to
hopefully fix Coverity 199.
* goffice/graph/gog-object.c: (gog_object_dup): add a test to
hopefully fix Coverity 72.
* goffice/graph/gog-plot.c: (gog_plot_populate_editor): add missing
labels [Coverity 154].
* goffice/gtk/goffice-gtk.c: (go_gui_get_image_save_info): add a test
to hopefully fix Coverity 71.
* goffice/math/go-R.c: fix file name in license.
* goffice/math/go-R.h: ditto.
* goffice/math/go-distribution.c: ditto.
* goffice/utils/go-pattern.c: (go_pattern_get_svg_path): don't check
in an unsigned number is positive [Coverity 134].
* goffice/utils/go-undo.c: (go_undo_group_undo): [Coverity 188].
* plugins/plot_distrib/gog-boxplot.c: fix file name in license.
* plugins/plot_distrib/gog-boxplot.h: ditto.
* plugins/plot_distrib/gog-probability-plot.c:
(gog_probability_plot_class_init): fix the comment for the second
shapr property.
* plugins/plot_radar/gog-radar.c: (gog_rt_view_render): add a few
parenthesis in the hope to fix Coverity 73.
* plugins/plot_surface/gog-xyz-surface.c:
(gog_xyz_surface_plot_build_matrix): removed an invalid test [Coverity 135].
2008-09-13 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: renamed plot_boxes to plot_distrib.
* plugins/Makefile.am: ditto.
* plugins/plot_boxes/.gitignore: ditto.
* plugins/plot_boxes/Makefile.am: ditto.
* plugins/plot_boxes/go-distribution-prefs.c: ditto.
* plugins/plot_boxes/go-distribution-prefs.h: ditto.
* plugins/plot_boxes/gog-boxplot-prefs.glade: ditto.
* plugins/plot_boxes/gog-boxplot.c: ditto.
* plugins/plot_boxes/gog-boxplot.h: ditto.
* plugins/plot_boxes/gog-histogram.c: ditto.
* plugins/plot_boxes/gog-histogram.h: ditto.
* plugins/plot_boxes/gog-probability-plot.c: ditto.
* plugins/plot_boxes/gog-probability-plot.h: ditto.
* plugins/plot_boxes/plot-types.xml.in: ditto.
* plugins/plot_boxes/plugin.xml.in: ditto.
* plugins/plot_distrib/go-distribution-prefs.c: fixed a warning.
* plugins/plot_distrib/gog-boxplot.c: fixed a warning.
* plugins/plot_distrib/gog-probability-plot.c: fixed a warning.
* plugins/plot_distrib/plugin.c: added missing file.
2008-09-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c: (libgoffice_init): init distributions.
* goffice/math/Makefile.am: support distributions.
* goffice/math/go-R.c: ditto.
* goffice/math/go-R.h: ditto.
* goffice/math/go-distribution.c: ditto.
* goffice/math/go-distribution.h: ditto.
* goffice/math/go-rangefunc.c: renamed range_sort to go_range_sort
and make it public.
* goffice/math/go-rangefunc.h: ditto.
* pixmaps/Makefile.am: add new pixmaps.
* pixmaps/chart_prob_1_1.svg: implement probablility plots. [#500168]
* plugins/plot_boxes/Makefile.am: ditto (and renamed the plugin).
* plugins/plot_boxes/go-distribution-prefs.c: ditto.
* plugins/plot_boxes/go-distribution-prefs.h: ditto.
* plugins/plot_boxes/gog-boxplot.c: moved some code to plugin.c.
* plugins/plot_boxes/gog-probability-plot.c: implement probablility plots.
* plugins/plot_boxes/gog-probability-plot.h: ditto.
* plugins/plot_boxes/plot-types.xml.in: ditto.
* plugins/plot_boxes/plugin.xml.in: ditto.
2008-09-12 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/dist.xpm: new pixmap for the distribution related plot
family.
2008-09-11 Jody Goldberg <jody@gnome.org>
* goffice/app/go-doc.c (load_image) : Check for missing "name"
attribute not no attributes at all. [Coverity 196]
2008-09-04 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_resolve_relative): Fix
references to wrong URI. Fixes #550898.
2008-08-30 Jody Goldberg <jody@gnome.org>
* configure.in : Post release bump
2008-08-29 Jody Goldberg <jody@gnome.org>
* Release 0.7.1
2008-08-28 Gustavo Noronha Silva <gns@gnome.org>
* configure.in: fix libgsf-1 requirements, since the gio headers
are now required
* README: document the changes in libgsf-1 requirements and update
all the other requirements
2008-08-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add gio-2.0 to requirements.
* libgoffice.pc.in: ditto.
2008-08-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: do not request libgsf-gnome anymore.
* goffice/utils/go-file.c: Use gio from glib. [#522458]
* goffice/utils/go-file.h: ditto.
2008-08-27 Jean Brefort <jean.brefort@normalesup.org>
* libgoffice.pc.in: removed libart there too.
2008-08-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: (map_log_to_view): update a comment.
* goffice/gtk/go-line-selector.c: removed obsolete libart header.
2008-08-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: do not request libart anymore.
* goffice/graph/gog-renderer.c: removed ArtVpath and ArtBpath related
deprecated API.
* goffice/graph/gog-renderer.h: ditto.
* plugins/plot_surface/gog-contour.c: (gog_contour_view_render): use
GOPath instead of ArtVpath.
2008-08-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-lines.h: do not include libart.h.
* plugins/plot_barcol/gog-barcol.c: (barcol_draw_rect): fixed snap.
* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_view_render):
use GOPath instead of ArtVpath.
* plugins/plot_boxes/gog-histogram.c:
(gog_histogram_plot_init): draw before the axis.
(gog_histogram_plot_view_render): use GOPath instead of ArtVpath.
2008-08-25 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_preparse): In some
circumstances, an empty format is like "General". Fixes #549249.
Prepare for negative date values, but do not activate. [#509720]
2008-08-24 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c: (barcol_draw_rect): use GOPath
instead of ArtVpath.
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): ditto.
2008-08-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-error-bar.c: (gog_error_bar_init),
(gog_error_bar_render): use GOPath instead of ArtVpath.
* goffice/graph/gog-legend.c: (cb_render_elements),
(gog_legend_view_render): ditto.
2008-08-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-color.c: removed obsolete libart related code.
* goffice/utils/go-color.h: ditto.
* goffice/utils/go-gradient.c: ditto.
* goffice/utils/go-gradient.h: ditto.
2008-08-22 Halton Huo <halton.huo@sun.com>
Fix bug #547408: Add go-demo for testing more charts
* tests/Makefile.am: Add go-demo.c and go-demo.glade fro go-demo
* tests/go-demo.c: (added)
* tests/go-demo.glade: (added)
2008-08-21 Jean Brefort <jean.brefort@normalesup.org>
* all files: renamed GOG_PARAM_PERSISTENT to GO_PARAM_PERSISTENT and
GogPersist to GOPersist.
2008-08-19 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-3d-box.c: (gog_3d_box_populate_editor): made Euler
angles sliders "keyboard friendly".
* goffice/graph/gog-grid-line.c: (gog_grid_line_xyz_render):fixed
inappropriate drawing of grid stripes.
* goffice/gtk/go-3d-rotation-sel.c: (g3d_init): made Euler angles
sliders "keyboard friendly".
2008-08-11 Mariusz Adamski <mariusz.adamski@gmail.com>
* pixmaps/Makefile.am: add new pixmaps for surface plots.
* pixmaps/chart_surface_2_2.png: ditto.
* pixmaps/chart_surface_2_2.svg: ditto.
* plugins/plot_surface/Makefile.am: add surface plots based on xyz data
averaged on a grid.
* plugins/plot_surface/gog-surface.c: ditto.
* plugins/plot_surface/gog-xyz-surface-prefs.c:
* plugins/plot_surface/gog-xyz-surface-prefs.glade:
* plugins/plot_surface/gog-xyz-surface.c: ditto.
* plugins/plot_surface/gog-xyz-surface.h: ditto.
* plugins/plot_surface/gog-xyz.c: ditto.
* plugins/plot_surface/gog-xyz.h: ditto.
* plugins/plot_surface/plot-types.xml.in: ditto.
* plugins/plot_surface/plugin.xml.in: ditto.
2008-08-08 Jean Brefort <jean.brefort@normalesup.org>
* docs/reference/Makefile.am: add API version to DOC_MODULE. [#522096]
2008-08-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): removed some
stupid unused code (probably a copy/paste incident).
2008-01-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/graph/gog-styled-object.c: Include <string.h> for strlen and
<goffice/app/go-doc.h> for go_doc_add_image.
2008-08-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: (gog_axis_base_class_init): fixed
"pos" property maximum.
2008-08-03 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add a test for g_hash_table_iter_init.
* goffice/app/go-doc-impl.h: serialize images in charts. [#348780]
* goffice/app/go-doc.c: ditto.
* goffice/app/go-doc.h: ditto.
* goffice/graph/gog-chart-impl.h: removed unused 3d params.
* goffice/graph/gog-graph.c: serialize images in charts.
* goffice/graph/gog-object.c: ditto.
* goffice/graph/gog-object.h:ditto.
* goffice/graph/gog-style.c: ditto.
* goffice/graph/gog-styled-object.c: ditto.
* goffice/utils/go-image.c: ditto.
* goffice/utils/go-image.h: ditto.
2008-08-03 Jean Brefort <jean.brefort@normalesup.org>
* configure.in:
* goffice/app/go-doc-impl.h:
* goffice/app/go-doc.c: (go_doc_add_image), (go_doc_init_write),
(go_doc_init_read), (save_image_cb), (go_doc_write),
(go_doc_save_image), (load_image), (load_image_data),
(go_doc_read), (go_doc_end_read), (go_doc_image_fetch):
* goffice/app/go-doc.h:
* goffice/graph/gog-chart-impl.h:
* goffice/graph/gog-graph.c: (gog_graph_set_property):
* goffice/graph/gog-object.c: (gog_object_document_changed):
* goffice/graph/gog-object.h:
* goffice/graph/gog-style.c: (gog_style_fill_sax_save),
(gog_style_sax_load_fill_image), (gog_style_persist_prep_sax),
(gog_style_create_cairo_pattern):
* goffice/graph/gog-styled-object.c:
(gog_styled_object_document_changed),
(gog_styled_object_class_init):
* goffice/utils/go-image.c: (go_image_get_thumbnail),
(go_image_same_pixbuf), (go_image_save), (go_image_load_attrs),
(go_image_load_data):
* goffice/utils/go-image.h:
2008-08-03 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: create a new contour plots family.
* pixmaps/contour.xpm: ditto.
* plugins/plot_surface/plot-types.xml.in: ditto.
2008-08-03 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-axis.c: (gog_axis_view_padding_request_3d),
(gog_axis_view_padding_request), (gog_axis_view_size_allocate_3d):
a more consistent auto angle for 3D axis labels.
* goffice/graph/gog-style.c: (gog_style_text_layout_sax_save): don't
save the label angle when it is automatic.
2008-07-31 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-axis-line-impl.h: add 3d axis labels positioning.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-label.c: ditto.
2008-07-27 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_get_family): If a number
format has both a date and a time part, it's a date format. Fixes
#545016.
2008-07-26 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-chart.c: (xy_grid_3d_can_add),
(yz_grid_3d_can_add), (zx_grid_3d_can_add), (grid_3d_post_add),
(xy_grid_3d_post_add), (yz_grid_3d_post_add),
(zx_grid_3d_post_add), (axis_can_add): implement 3d backplanes.
* goffice/graph/gog-grid.c: (gog_grid_get_gtype),
(gog_grid_set_gtype), (gog_grid_set_property),
(gog_grid_get_property), (gog_grid_class_init), (gog_grid_init),
(gog_grid_view_xyz_render), (gog_grid_view_render): ditto.
* goffice/graph/gog-grid.h: ditto.
2008-07-23 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-axis.c: implemented axes grigs for 3d plots.
* goffice/graph/gog-chart.c: ditto.
* goffice/graph/gog-grid-line.c: ditto.
2008-07-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (gog_style_font_sax_save): use
gsf_xml_out_add_cstr instead of gsf_xml_out_add_cstr_unchecked.
[#543986]
2008-07-19 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-axis-line.c: (xyz_process): fix a padding issue.
* goffice/graph/gog-chart.c: (gog_chart_view_3d_process),
(gog_chart_view_size_allocate): implemented padding for 3d axes.
2008-07-14 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-plot.c (gog_plot_enum_in_reverse) : new.
(gog_plot_foreach_elem) : Legends are the only things that use this,
add a hook to allow a plot to decide what order to walk the list of
series. [#540719]
* plugins/plot_barcol/gog-1.5d.c (gog_1_5d_enum_in_reverse) : stacked
and percentage plots prefer to list the series in reverse order.
2008-07-14 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-3d-box.c: display3D axes and limit FoV to 90.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-chart-map-3d.c: ditto.
* goffice/graph/gog-chart-map-3d.h: ditto.
* goffice/gtk/go-3d-rotation-sel.glade: ditto.
* plugins/plot_surface/gog-xyz.c: ditto.
2008-07-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot-engine.c:
(gog_plot_type_service_finalize),
(gog_trend_line_service_finalize),
(gog_trend_line_service_class_init): fix memory leaks. [#542506]
2008-07-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component-factory.c:
(go_component_type_service_read_xml): fix a memory leak.
* goffice/graph/gog-chart-map-3d.c: (xyz_map_3D_to_view):
fix projection code for non nul FoV.
* goffice/graph/gog-chart.c: (gog_chart_3d_process): ditto.
2008-07-08 Jody Goldberg <jody@gnome.org>
* plugins/plot_surface/plugin.xml.in : rename to match the naming
convention.
* plugins/smoothing/plugin.xml.in : ditto.
2008-07-08 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/gog-3d-box-prefs.glade: fixed limits.
* goffice/graph/gog-3d-box.c: (gog_3d_box_class_init): fixed maximums
for all properties.
* goffice/gtk/go-3d-rotation-sel.glade: fixed limits.
2008-07-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-3d-box.c: (gog_3d_box_class_init): add 0.000001
to max fov value to avoid rouding errors.
* plugins/plot_surface/gog-surface.c: fixed gog_surface_view_render
for some border cases with large fov value (might also allow the use
of cylindrical or spherical coordinates).
2008-07-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix keyboard activation of the add menu in the graph guru.
* goffice/graph/gog-child-button.c (gog_child_button_init): connect to
toggled signal.
(ensure_menu): new, to be shared by toggled in button-press signal
handlers.
(gog_child_button_toggled_cb): new.
(gog_child_button_press_event_cb): new.
2008-07-07 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-surface.c: (gog_surface_view_render): fixed a
rendering order (not sure it still works in all cases).
2008-07-07 Mariusz Adamski <mariusz.adamski@gmail.com>
* goffice/graph/Makefile.am: add new glade file.
* goffice/graph/gog-3d-box-prefs.glade: new glade file for setting
the 3d view.
* goffice/graph/gog-3d-box.c: ditto and make the settings persistant.
* goffice/gtk/Makefile.am: new 3d related widget
* goffice/gtk/go-3d-rotation-sel.c: ditto.
* goffice/gtk/go-3d-rotation-sel.glade: ditto.
* goffice/gtk/go-3d-rotation-sel.h: ditto.
2008-07-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/Makefile.am:
* goffice/graph/gog-3d-box.c: (cb_g3d_update), (cb_matrix_changed),
(cb_fov_changed), (cb_box_psi_changed), (cb_box_theta_changed),
(cb_box_phi_changed), (cb_g3d_change_psi), (cb_g3d_change_theta),
(cb_g3d_change_phi), (gog_3d_box_populate_editor),
(gog_3d_box_set_property), (gog_3d_box_get_property),
(gog_3d_box_class_init), (gog_3d_box_init):
* goffice/gtk/Makefile.am:
* plugins/plot_surface/gog-surface.c: (gog_surface_view_render):
2008-06-30 Morten Welinder <terra@gnome.org>
* goffice/math/go-math.c (go_math_init): Check for buggy
valgrind (finitel problem) and limp on.
2008-06-25 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (datetime_serial_to_timet): Check for
valid date.
2008-06-25 Halton Huo <halton.huo@sun.com>
* configure.in: adapt suncc not installed under /opt/SUNWspro,
fixes #539930
2008-06-25 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2008-06-25 Jody Goldberg <jody@gnome.org>
* Release 0.7.0
2008-06-24 Morten Welinder <terra@gnome.org>
* goffice/math/go-rangefunc.c (go_range_median_inter_sorted): New
function.
2008-06-23 Morten Welinder <terra@gnome.org>
* goffice/app/go-doc.c (go_doc_add_image): Rewrite to avoid
GHashTableIter.
2008-06-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-doc-control-impl.h: add a GODoc member.
* goffice/app/go-doc-control.c: (go_doc_control_get_doc),
(go_doc_control_set_doc): ditto.
* goffice/app/go-doc-control.h: ditto.
* goffice/app/go-doc-impl.h: ad an images hash table.
* goffice/app/go-doc.c: (go_doc_finalize), (go_doc_choose_image),
(go_doc_get_image), (go_doc_add_image), (go_doc_get_images):
* goffice/app/go-doc.h: ditto.
* goffice/graph/gog-graph-impl.h: ad a GODoc member.
* goffice/graph/gog-graph.c: (gog_graph_set_property),
(gog_graph_get_property), (gog_graph_class_init), (gog_graph_dup): ditto.
* goffice/graph/gog-guru.c: (gog_guru): ditto.
* goffice/graph/gog-style.c: (cb_image_select), (fill_image_init),
(fill_init), (marker_init), (gog_style_pref_state_free),
(gog_style_populate_editor), (gog_style_assign): remove image filename
after pushing images to the GODoc level, and don't show the Style page
when empty.
* goffice/graph/gog-style.h: ditto.
* goffice/gtk/Makefile.am: add an image selector.
* goffice/gtk/go-image-sel.c: ditto.
* goffice/gtk/go-image-sel.h: ditto.
* goffice/gtk/go-image-sel.glade: ditto.
* goffice/utils/go-image.c: (go_mime_to_image_format),
(go_image_format_to_mime), (go_image_set_property),
(go_image_finalize), (go_image_get_thumbnail), (go_image_set_name),
(go_image_get_name), (go_image_same_pixbuf): add support for images in
GODoc.
* goffice/utils/go-image.h: ditto.
* plugins/plot_xy/gog-xy.c: (gog_xy_series_element_init_style): add
the MARKER_NO_COLOR flag for colored XY plots.
2008-06-21 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c: add singleton formatting support to
line plots.
* plugins/plot_barcol/gog-barcol.c: ditto.
* plugins/plot_barcol/gog-line.c: ditto.
2008-06-21 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c: add singleton formatting support to
bars/columns plots. [#517488]
* plugins/plot_barcol/gog-barcol.c: ditto.
* plugins/plot_barcol/gog-barcol.h: ditto.
2008-06-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-matrix3x3.c:
(go_matrix3x3_from_euler_transposed), (go_matrix3x3_to_euler),
(go_matrix3x3_multiply): add missing functions.
* goffice/math/go-matrix3x3.h: ditto.
2008-06-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (gog_style_create_cairo_pattern): fixed
gradients coordinates.
* goffice/gtk/go-gradient-selector.c:
(go_gradient_swatch_render_func): ditto.
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
(gog_xy_series_element_init_style),
(gog_xy_series_element_class_init), (gog_xy_series_class_init),
(go_plugin_init): add singleton support to scatter plots.
2008-06-18 Jody Goldberg <jody@gnome.org>
* plugins/plot_xy/gog-xy.c (MAX_RADIUS_RATIO) : tweak to match the
wallenbach mouse example.
(gog_bubble_plot_class_init) : increase the bubble-scale limit to 300%
* plugins/plot_xy/gog-bubble-prefs.glade : ditto.
2008-06-17 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-renderer.c (gog_renderer_draw_text) : Use the same
size handling as get_text_OBR. [#442773]
2008-06-13 Rob Staudinger <robert.staudinger@gmail.com>
* goffice/gtk/go-color-palette.c (make_colored_menu_item): Use plain
menu items for toolbar overflow image menu item proxies, so they are
displayed correctly with gtk-menu-images=0, fixes #537541.
* goffice/gtk/go-combo-pixmaps.c (go_menu_pixmaps_add_element): ditto.
2008-06-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-marker.c: (go_marker_render): set dashes to NULL,
fixes #536276.
2008-05-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c: (_draw_circle),
(gog_renderer_draw_circle), (gog_renderer_stroke_circle),
(gog_renderer_fill_circle): new utilities.
* goffice/graph/gog-renderer.h: ditto.
* pixmaps/Makefile.am: add new pixmaps for box-plots
excluding outliers.
* plugins/plot_boxes/gog-boxplot-prefs.glade: add new properties.
* plugins/plot_boxes/gog-boxplot.c: (cb_outliers_changed),
(cb_ratio_changed), (gog_box_plot_pref),
(gog_box_plot_set_property), (gog_box_plot_get_property),
(gog_box_plot_class_init), (gog_box_plot_init),
(gog_box_plot_view_render), (gog_box_plot_series_update),
(gog_box_plot_series_finalize), (gog_box_plot_series_class_init):
ditto, fixes #534642.
* plugins/plot_boxes/plot-types.xml.in: new boxplots sub-types.
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render): use
gog_renderer_draw_circle for bubbles.
2008-05-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot-engine.c: fixed services (de)activation.
* goffice/graph/gog-plot-engine.h: ditto.
2008-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c: (libgoffice_init): call go_conf_init,
(libgoffice_shutdown): call go_conf_shutdown.
2008-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data.c: (go_data_vector_increasing),
(go_data_vector_decreasing), (go_data_vector_vary_uniformly):
new functions.
* goffice/data/go-data.h: ditto.
* goffice/goffice.c: (libgoffice_init): add initial 3d plots support.
* goffice/graph/Makefile.am: ditto.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-3d-box.c: (gog_3d_box_class_init),
(gog_3d_box_init): ditto.
* goffice/graph/gog-3d-box.h: ditto.
* goffice/graph/gog-axis-line.c: (xyz_process),
(gog_axis_base_view_point), (gog_axis_base_view_padding_request):
* goffice/graph/gog-axis.c: (gog_axis_view_size_allocate): ditto.
* goffice/graph/gog-chart-impl.h: ditto.
* goffice/graph/gog-chart-map-3d.c: (null_map_3D),
(xyz_map_3D_to_view), (gog_chart_map_3d_new),
(gog_chart_map_3d_to_view), (gog_chart_map_3d_is_valid),
(gog_chart_map_3d_free): ditto.
* goffice/graph/gog-chart-map-3d.h: ditto.
* goffice/graph/gog-chart.c: (role_3d_box_can_add),
(role_3d_box_can_remove), (gog_chart_is_3d),
(gog_chart_3d_process), (gog_chart_view_size_allocate),
(gog_chart_view_render): ditto.
* goffice/graph/gog-chart.h: ditto.
* goffice/math/Makefile.am: ditto.
* goffice/math/go-matrix3x3.c: (go_matrix3x3_transform),
(go_matrix3x3_from_euler): ditto.
* goffice/math/go-matrix3x3.h: ditto.
* goffice/math/go-rangefunc.c: (go_range_decreasing),
(go_range_vary_uniformly): new functions.
* goffice/math/go-rangefunc.h: ditto.
* plugins/plot_surface/Makefile.am: new surface plot type.
* plugins/plot_surface/gog-contour-prefs.c: ditto.
* plugins/plot_surface/gog-contour-prefs.glade: ditto.
* plugins/plot_surface/gog-contour.c: ditto.
(gog_contour_plot_build_matrix), (gog_contour_plot_type_name),
(gog_contour_plot_foreach_elem), (gog_contour_plot_class_init),
(gog_contour_plot_init), (gog_contour_view_render),
(gog_contour_view_class_init): ditto.
* plugins/plot_surface/gog-contour.h: ditto.
* plugins/plot_surface/gog-surface.c: ditto.
(gog_surface_plot_build_matrix), (gog_surface_plot_type_name),
(gog_surface_plot_class_init), (gog_surface_plot_init),
(gog_surface_view_render), (gog_surface_view_class_init):
* plugins/plot_surface/gog-surface.h:
* plugins/plot_surface/gog-xyz-prefs.c:
* plugins/plot_surface/gog-xyz-prefs.glade:
* plugins/plot_surface/gog-xyz.c: (gog_xyz_plot_build_matrix),
(gog_xyz_plot_update_3d), (gog_xyz_plot_populate_editor),
(gog_xyz_plot_clear_formats), (gog_xyz_plot_update),
(gog_xyz_plot_axis_get_bounds), (gog_xyz_plot_finalize),
(gog_xyz_plot_set_property), (gog_xyz_plot_get_property),
(gog_xyz_plot_class_init), (gog_xyz_plot_init),
(gog_xyz_series_update), (gog_xyz_series_init_style),
(gog_xyz_series_class_init), (go_plugin_init),
(go_plugin_shutdown): ditto.
* plugins/plot_surface/gog-xyz.h: ditto.
* plugins/plot_surface/plot-types.xml.in: ditto.
* plugins/plot_surface/plugin.xml.in: ditto.
* plugins/plot_surface/xl-surface.c: (xl_labels_init),
(xl_xyz_series_update), (xl_xyz_series_init_style),
(xl_xyz_series_class_init), (xl_xyz_plot_update), (get_y_vector),
(xl_xyz_plot_axis_get_bounds), (xl_contour_plot_build_matrix),
(xl_contour_plot_finalize), (xl_contour_plot_class_init),
(xl_surface_plot_build_matrix), (xl_surface_plot_finalize),
(xl_surface_plot_class_init): ditto.
* plugins/plot_surface/xl-surface.h: ditto.
2008-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-lines.c: use GOPath instead of ArtVpath.
* goffice/graph/gog-series-lines.h: ditto.
* plugins/plot_barcol/gog-barcol.c: (gog_barcol_view_render):
* plugins/plot_barcol/gog-dropbar.c: (barcol_draw_rect),
(gog_dropbar_view_render): ditto.
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): ditto.
* plugins/plot_barcol/gog-minmax.c: (path_move_to),
(path_curve_to), (path_close_path), (gog_minmax_view_render): ditto.
2008-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/Makefile.am:
* goffice/app/go-conf-gconf.c: copied from gnumeric.
* goffice/app/go-conf-keyfile.c: ditto.
* goffice/app/go-conf-win32.c: ditto.
* goffice/app/go-conf.c: ditto.
* goffice/app/go-conf.h: ditto.
* goffice/component/go-component.h: add missing header.
2008-05-11 Jody Goldberg <jody@gnome.org>
* configure.in : branch 0.7.0
2008-05-11 Jody Goldberg <jody@gnome.org>
* Release 0.6.4
2008-05-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c: (libgoffice_init), (libgoffice_shutdown):
fixed typo.
2008-05-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_matrix_val_get_value),
(go_data_matrix_val_get_str): do not crash if called before the
values are loaded. Patch from Hiroyuki Ikezoe, see bug #532105.
2008-05-04 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2008-05-04 Jody Goldberg <jody@gnome.org>
* Release 0.6.3
2008-05-02 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-locale.c (go_locale_win32_get_user_default) : fix
typo on win32 that always set lc_date_format, and never
lc_time_format.
(go_locale_get_time_format): ditto.
2008-04-30 Morten Welinder <terra@gnome.org>
* */*.[ch]: Make things compile --without-gtk. Docs still do not
work right.
2008-04-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c: (gog_series_dataset_set_dim):
fixed typo.
2008-04-25 Morten Welinder <terra@gnome.org>
* goffice/utils/regutf8.c (go_regexec): New glib (i.e., non-pcre)
implementation when glib has the right functions. Patch from
Hiroyuki Ikezoe, see bug #482319.
2008-04-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c: (gog_series_dataset_set_dim): check
dim_i validity.
2008-04-24 Jean Brefort <jean.brefort@normalesup.org>
* libgoffice.pc.in: fixed the plugins dir definition so tht it can
be used.
2008-04-22 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-image.c (image_format_infos) : add "eps" to go with
jean's work.
* goffice/graph/gog-object.h : remove inclusion of libart header here.
It is no longer needed.
2008-04-21 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_editable_enters): Avoid
infinite recursion if default widget is not sensitive.
2008-04-18 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add a test for cairo_ps_surface_set_eps.
* goffice/graph/gog-graph.c:
(gog_graph_get_supported_image_formats): add EPS if cairo supports it.
* goffice/graph/gog-renderer.c: (gog_renderer_export_image): ditto.
* goffice/utils/go-image.h: ditto.
2008-04-16 Jody Goldberg <jody@gnome.org>
* configure.in : Use dolt when possible.
* acinclude.m4 : create, and add dolt.m4
2008-04-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c: (go_mime_to_image_format),
(go_image_format_to_mime): add support for pdf and ps.
2008-04-10 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (go_date_conv_from_str,
go_date_conv_equal, go_date_conv_translate): New functions.
2008-04-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_boxes/gog-boxplot.c: skip invalid data. [#527249]
2008-03-22 Jean Brefort <jean.brefort@normalesup.org>
* goffice/math/go-complex.h: fixed go-math.h inclusion.
* goffice/utils/go-image.h: include goffice-features.h.
2008-03-12 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_is_invalid): New function.
2008-03-06 Morten Welinder <terra@gnome.org>
* configure.in: Post release bump.
2008-03-06 Morten Welinder <terra@gnome.org>
* Release 0.6.2
2008-03-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: (gog_axis_base_get_crossed_axis),
(gog_axis_base_get_clamped_position): do not draw axes when no axis
is defined.
* goffice/graph/gog-renderer.c: (gog_renderer_update): do not attempt
to render with negative width or height. Partially fixes #519788.
2008-02-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: (x_process), (xy_process),
(radar_process): remove the unuseful tmp.
2008-02-23 Morten Welinder <terra@gnome.org>
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update): Fix array
filling. Fixes #517995.
2008-02-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update): set
length to 0 for invalid series. Fixes #514642.
2008-01-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_execute): For
OP_DATE_SPLIT, make sure to set day/month/year/weekday even in the
error case. Fixes #511435.
* autogen.sh: Replace last change with a final test for the actual
bug in question.
2008-01-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
* autogen.sh (REQUIRED_GTK_DOC_VERSION): Specify a minimum version
which has the right shell error handling logic in gtk-doc.make not so
we do not error out on "make install" when gtkdoc-rebase is unavailable
(in the --disable-gtk-doc case). [#506506]
2007-12-20 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-12-20 Jody Goldberg <jody@gnome.org>
* Release 0.6.1
2007-12-18 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-12-18 Jody Goldberg <jody@gnome.org>
* Release 0.6.0
2007-12-13 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix pattern with semi-transparent colors.
* goffice/utils/go-pattern (go_pattern_create_cairo_pattern): cairo uses
premultiplied color components.
2007-12-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.h: renamed GogLineStyle::pattern to
pattern_unimplemented_yet to avoid confusion.
2007-12-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix selection rectangle style.
* goffice/graph/gog-rendere.c (gog_renderer_draw_selection_rectangle):
here.
2007-12-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis-line.c (gog_axis_base_get_clamped_position):
the bound axis is the crossed axis.
2007-12-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix for #501831 – Spreadsheet crashes when I change title of graph
* goffice/graph/gog-child-button.c (gog_child_button_build_additions):
fix search of the parent object.
2007-12-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Clamp the axis position to the edges of the graph and place the axis
label near to the axis.
* goffice/graph/gog-axis-line.c (gog_axis_base_get_clamped_position):
new. Handle inverted axes.
(xy_process): use gog_axis_base_get_clamped_position.
* goffice/graph/gog-axis.c (gog_axis_view_padding_request): ditto.
(gog_axis_view_size_allocate): ditto.
2007-12-04 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Revert axis label positioning to previous behaviour for the GOG_AXIS_CROSS
case (and be it the same as for the GOG_AXIS_LOW case).
* goffice/graph/gog-axis.c (gog_axis_view_padding_request): here.
(gog_axis_view_size_allocate): and here.
2007-12-04 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Don't try to distinguish between user axis position and calculated
axis position.
* goffice/graph/gog-axis-line.c (gog_axis_base_set_property): here.
(gog_axis_base_get_property): here.
(gog_axis_base_set_position): here.
(cb_position_toggled): here.
(gog_axis_base_populate_editor): here.
(gog_axis_base_init): here.
(gog_axis_base_get_position): here.
(gog_axis_base_get_padding): here.
(xy_process): here.
(radar_process): here.
(gog_axis_view_padding_request): here.
(gog_axis_view_size_allocate): and here.
(gog_axis_base_class_init): GOG_AXIS_AUTO is not a valid serializable position.
2007-12-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix for #501119 – Misplacing of high Y axis label
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): add missing
break.
2007-12-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: (gog_axis_base_populate_editor),
(xy_process), (radar_process): hide property pages for invisible axis
and don't take into account for size allocation.
* goffice/graph/gog-axis.c: (gog_axis_populate_editor): hide property
pages for invisible axis
* goffice/graph/gog-object.h: add a gog_object_is_visible macro.
2007-12-04 Morten Welinder <terra@gnome.org>
* goffice/utils/go-pango-extras.c: New file with a few
generally-useful functions from Gnumeric.
2007-12-03 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump. Last before 0.6
2007-12-03 Jody Goldberg <jody@gnome.org>
* Release 0.5.4
2007-11-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: (gog_axis_base_set_position):
ensure pos_user is set, so that correct position is saved.
2007-11-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* goffice/utils/go-format.c (go_format_inc_precision): Handle
increase of decimals also for E.
Fixes add-decimals problem from #500365.
2007-11-29 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_parse_number_E): Fix
mantissa simplification problem. [#500393]
2007-11-28 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_inc_precision): Actually
find the last zero. Fixes add-decimals problem from #434785.
2007-11-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis-line.c: (gog_axis_base_set_property): fix setting
axis position as string, (xy_process): use a better test.
2007-11-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix for #500017: incorrect graph printing.
* goffice/graph/gog-renderer.c (gog_renderer_render_to_cairo): don't
call cairo_show_page here.
(gog_renderer_export_image): but here.
2007-11-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c: (go_component_edit): return the
GtkWindow* associated with the editor, so that it can be made transient.
* goffice/component/go-component.h: ditto.
2007-11-22 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-dropbar.c: (barcol_draw_rect): always
draw a rectangle, even if very sharp,
(gog_dropbar_view_render): ensure that invalid data are not used. [#498846]
* plugins/plot_barcol/gog-minmax.c: (gog_minmax_view_render): fix
index initialization.
2007-11-19 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-11-19 Jody Goldberg <jody@gnome.org>
* Release 0.5.3
2007-08-10 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-guru.c (gog_guru) : clean the api. The caller is
responsible for setting transientness.
2007-11-18 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c: (gog_barcol_view_render): fix
rendering when some data are invalid.
* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_view_render):
ditto.
* plugins/plot_barcol/gog-minmax.c: (gog_minmax_view_render):
ditto.
2007-11-18 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c: (gog_barcol_view_render): don't
try to allocate 0 bytes. [#497777]
2007-11-15 Jon K Hellan <hellan@acm.org>
* goffice/utils/go-image.c (go_image_format_to_mime): Fix typos in
mime types.
2007-11-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Improve the appearance of legend swatches, by respecting the outline
style, avoid blurriness in case of no outline and show fill color for
XY and polar plots.
* goffice/graph/gog-legend.c (cb_swatch_scale): also handle the
GOG_STYLE_LINE case.
(cb_render_elements): also show fill color in case of marker + line.
Respect the outline appearance, rescaling the outline width in order
to always show the fill color.
* goffice/graph/gog-renderer.c (path_interpret): round coordinates
when line width <= 0.
(_draw_shape): force line width to zero when stroke is invisible.
(_draw_rectangle): don't ask for stroke is outline is invisible.
(gog_renderer_stroke_rectangle): fix stroke argument in
_draw_rectangle call.
(gog_renderer_fill_rectangle): new.
2007-11-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add a frame around the graph area in the graph editor.
* goffice/graph/gog-guru.c (cb_sample_plot_resize): resize the frame.
(graph_guru_init_format_page): add the frame. I've tried to use the
color associated to the canvas widget, for a better compatibility with
gtk themes, but without satisfaction. The hardcoded ones seem to play
well with dark and clear themes.
2007-11-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/reg-lin/gog-reg-lin.c (gog_lin_reg_curve_update): return
silently if series isn't valid.
2007-11-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Try to make the add button in GogGuru more useful, by populating it
with all item of the currently selected chart that can be
unambiguously added.
* goffice/graph/gog-child-button.c (build_addition_process_childs),
(build_addition_foreach), (addition_compare),
(gog_child_button_build_additions), (gog_child_button_free_additions): new.
(gog_child_button_set_object): use build addition functions.
(cb_graph_guru_add_plot): adapt to new addition list.
(cb_plot_family_menu_create): ditto.
(plot_type_menu_create): ditto.
(cb_graph_guru_add_trend_line): ditto.
(cb_trend_line_type_menu_create): ditto.
(trend_line_type_menu_create): ditto.
(gog_child_button_press_event_cb): ditto.
2007-11-06 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-charmap-sel.c (cs_emphasize_label): Fix markup.
* goffice/utils/go-format.c (go_format_month_before_day): Return
2, if year comes first.
* goffice/utils/go-locale.c (go_locale_month_before_day): Ditto.
2007-11-04 Morten Welinder <terra@gnome.org>
* configure.in: post-release bump.
2007-11-04 Morten Welinder <terra@gnome.org>
* Release 0.5.2
2007-11-04 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_parse_key_value): Renamed
from go_file_saver_parse_options and drop several unused
arguments.
* goffice/app/file.c (go_file_saver_parse_options): See above.
2007-11-04 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render): fix xy colored
plots when some data are missing. [#475394]
2007-11-03 Morten Welinder <terra@gnome.org>
* goffice/app/file.c (go_file_saver_parse_options): Document and
fix a few FIXMEs.
* goffice/utils/go-glib-extras.c (go_object_set_property): New
function.
2007-11-02 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): don't
try to access invalid series data. [#492485]
2007-11-01 Morten Welinder <terra@gnome.org>
* goffice/app/file.c (go_file_saver_set_export_options,
go_file_saver_parse_options): New functions.
(go_file_saver_class_init): Install new set-export-options signal.
2007-11-01 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-chart-map.c (make_path_spline): fix the
fix for [#492158].
2007-10-31 Morten Welinder <terra@gnome.org>
* goffice/app/file.h: Make more stuff public so we can derive.
* goffice/graph/gog-chart-map.c (make_path_spline): Fix ABR
reported by Sum1. [#492158]
2007-10-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data.c: (go_data_vector_get_len),
(go_data_matrix_get_size): return nul sizes when the vector or matrix
is invalid.
* goffice/graph/gog-error-bar.c: (gog_error_bar_get_bounds),
(gog_error_bar_get_minmax): don't crash when there are no data.
2007-10-29 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin-loader-module.c (make_function_name): New
convenience function that keeps Valgrind/dlsym happy.
* goffice/gtk/go-font-sel.c (gfs_destroy): Let g_slist_free handle
the empty list.
* plugins/smoothing/gog-moving-avg.c (gog_moving_avg_update): Fix
problem with overwriting memory, see #491328.
2007-10-28 Jody Goldberg <jody@gnome.org>
* goffice/graph//gog-object.c : Add GogObject::invisible
* goffice/graph/gog-view.c (gog_view_render) : support it here.
We can debate if it should also short circuit space allocation.
2007-10-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix a crash when deleting a chart. We may be in a state where a chart
has axes and grid lines, but axis_set is GOG_AXIS_SET_UNKNOW.
* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
exit early if axis_set == GOG_AXIS_SET_UNKNOW.
(gog_axis_base_view_point): ditto.
(gog_axis_base_view_padding_request): ditto.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-grid-line.c (gog_grid_line_radial_render): ditto.
(gog_grid_line_circular_render): ditto.
* goffice/graph/gog-chart-map.c (gog_chart_map_new): return NULL is
axis_set == GOG_AXIS_SET_UNKNOW.
2007-10-21 Morten Welinder <terra@gnome.org>
* configure.in: post-release bump.
2007-10-21 Morten Welinder <terra@gnome.org>
* Release 0.5.1
2007-10-20 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix a one pixel mismatch on the size when exporting to images.
* goffice/graph/gog-renderer.c (gog_renderer_update): always use
rend->w and rend->h as image size.
2007-10-20 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Remove duplicated fill pattern creation code.
* goffice/graph/gog-renderer.c (emit_fill): use
gog_style_create_cairo_pattern.
* goffice/graph/gog-style.c (gog_style_create_cairo_pattern): width
and height are retrieved from the cairo context. Use
go_pattern_create_cairo_pattern.
2007-10-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Second fix to GogChildButton behaviour regarding to consistency with
regular menu on fast click on the button.
* goffice/graph/gog-child-button.c (gog_child_button_popup): take
event button and time as parameters, and pass them to gtk_menu_popup.
(gog_child_button_press_event_cb): use new gog_child_button_popup API.
2007-10-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-child-button.c (gog_child_button_press_event_cb):
do the signal connection only once.
2007-10-17 Morten Welinder <terra@gnome.org>
* configure.in (CFLAGS): Properly handle GTK_DISABLE_DEPRECATED.
2007-10-17 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix the behaviour of GogChildButton by showing the popup menu as soon
as the toggle button is pressed.
* goffice/graph/gog-child-button.c (gog_child_button_init): use the
button-press-event signal instead of toggled.
(gog_child_button_toggled_cb): renamed to
gog_child_button_press_event_cb. Remove the active/inactive switch.
2007-10-10 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-pixbuf.c (go_pixbuf_tile): Import from Gnumeric.
Seems generally useful.
(go_pixbuf_new_from_file): Allow absolute filenames.
2007-10-09 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Widgetization and conversion of the graph guru "add menu" to a button
with a popup menu.
* goffice/graph/gog-child-button.[ch]: new.
* goffice/graph/gog-guru.c: move code related to the add menu to
gog-child-button.c.
(get_pixbuf): removed (now in go-pixbuf as go_pixbuf_get_from_cache).
(cb_graph_guru_add_item), (cb_cmp_plot_type), (cb_plot_type_list),
(cb_graph_guru_add_plot), (cb_plot_family_menu_create),
(plot_type_menu_create), (cb_graph_guru_add_trend_line),
(cb_trend_line_type_menu_create), (trend_line_type_menu_create): removed.
(cb_attr_tree_selection_change): use GogChildButton.
(graph_guru_init_format_page): create a GogChildButton.
* goffice/graph/gog-guru.glade: remove the menu and convert precedence
menu items to button.
2007-10-09 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move pixbuf related function into goffice/gtk/go-pixbuf.[ch]
* goffice/gtk/goffice-gtk.c: move go_pixbuf_new_from_file and
go_pixbuf_intelligent_scale...
* goffice/gtk/go-pixbuf.[ch]: ...here.
(go_pixbuf_get_from_cache): new.
* goffice/gtk/go-selector.c: move go_menu_position_below...
* goffice/gtk/goffice-gtk.c: ...here.
2007-10-08 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Don't use the G_TYPE_INSTANCE_GET_PRIVATE macro in GOSelector and
GOPalette implementation. We already have a private pointer in the
public struct.
* goffice/gtk/go-palette.c: here.
* goffice/gtk/go-selector.c: and here.
2007-10-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer.c: move GO_CAIRO_CLAMP from here...
* goffice/utils/go-cairo.h: ... to here.
* goffice/utils/go-path.c: use GO_CAIRO_CLAMP instead of
GO_PATH_CLAMP.
2007-10-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix for Bug 153883 - making graphs insanely large leads to ~infinite
memory and cpu use.
The fix consists in not using the graph image cache for big graphs, and
just render directly. The patch uses a temporary image surface, since
rendering onto an xlib surface may cause segfault on path with lot of
points. Another issue is all path point coordinates are clipped as a
workaround to the long line cairo bug, which means the graph content
won't display beyond the clipping value.
The arbitrary limit is set to image with a number of pixels greater
than the number of screen pixels.
* goffice/graph/gog-control-foocanvas.c (gog_control_foocanvas_draw),
(gog_control_foocanvas_update): here.
2007-10-01 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-smoothed-curve.c (gog_smoothed_curve_view_render):
warning fix.
2007-10-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c: removed pixbuf, everything should
be done using cairo for windowless objects.
* goffice/component/go-component.h: ditto.
2007-09-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Documentation fixes.
2007-09-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/gtk/goffice-gtk.c: removed unused
go_cairo_set_source_pixbuf.
2007-09-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-smoothed-curve.c:
(gog_smoothed_curve_view_render): fix rendering at the right place.
2007-09-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/smoothing/gog-moving-avg.glade: fix spacing.
2007-09-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-control-foocanvas.c (gog_control_foocanvas_draw):
fix the clipping region when compositing the graph cache.
* goffice/gtk/go-graph-widget.c (go_graph_widget_expose_event): port
to cairo.
2007-09-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart-map.h: added missing G_BEGIN_DECLS/G_END_DECLS.
* goffice/graph/gog-series-lines.h: ditto.
* goffice/math/go-complex.h: ditto.
* goffice/math/go-cspline.h: ditto.
* goffice/math/go-fft.h: ditto.
* goffice/math/go-regression.h: ditto.
* goffice/utils/go-path-impl.h: ditto.
* goffice/utils/go-path.h: ditto.
2007-09-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.h: add missing G_END_DECLS.
2007-09-28 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (go_format_builtins): Add extra NULL for
GO_FORMAT_MARKUP. Fixes #480971.
2007-09-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-graph (gog_graph_render_to_cairo): use the correct
type for the cairo parameter, instead of gpointer.
2007-09-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-graph.c (gog_graph_render_to_cairo_vector):
removed. There's no need to tell if we want to render in vector mode,
that can be guessed from the cairo target.
2007-09-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-control-foocanvas.c
(gog_control_foocanvas_update): remove unused gog_renderer_update zoom
parameter again.
* goffice/gtk/go-graph-widget.c (update_image_rect): ditto.
* goffice/graph/gog-renderer.c (gog_renderer_update): ditto.
(gog_renderer_new_for_pixbuf): removed.
2007-09-28 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: added goffice/math directory.
* goffice/Makefile.am: ditto.
* goffice/data/go-data-simple.c: moved maths to goffice/math.
* goffice/data/go-data.c: ditto.
* goffice/goffice.c: ditto.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-chart-map.c: ditto.
* goffice/graph/gog-chart.c: ditto.
* goffice/graph/gog-data-set.c: ditto.
* goffice/graph/gog-error-bar.c: ditto.
* goffice/graph/gog-grid-line.c: ditto.
* goffice/graph/gog-grid.c: ditto.
* goffice/graph/gog-legend.c: ditto.
* goffice/graph/gog-plot.c: ditto.
* goffice/graph/gog-reg-curve.c: ditto.
* goffice/graph/gog-renderer.c: ditto.
* goffice/graph/gog-style.c: ditto.
* goffice/gtk/go-graph-widget.c: ditto.
* goffice/gtk/go-rotation-sel.c: ditto.
* goffice/math/Makefile.am: ditto.
* goffice/math/go-complex.c: copied code from gnumeric.
* goffice/math/go-complex.h: ditto.
* goffice/math/go-cspline.c: moved maths to goffice/math.
* goffice/math/go-cspline.h: ditto.
* goffice/math/go-fft.c: copied code from gnumeric.
* goffice/math/go-fft.h: ditto.
* goffice/math/go-math.c: moved maths to goffice/math.
* goffice/math/go-math.h: ditto.
* goffice/math/go-rangefunc.c: ditto.
* goffice/math/go-rangefunc.h: ditto.
* goffice/math/go-regression.c: ditto.
* goffice/math/go-regression.h: ditto.
* goffice/utils/Makefile.am:
* goffice/utils/go-cspline.c: ditto.
* goffice/utils/go-cspline.h: ditto.
* goffice/utils/go-format.c: ditto.
* goffice/utils/go-geometry.c: ditto.
* goffice/utils/go-line.c: ditto.
* goffice/utils/go-marker.c: ditto.
* goffice/utils/go-math.c: ditto.
* goffice/utils/go-math.h: ditto.
* goffice/utils/go-path.c: ditto.
* goffice/utils/go-rangefunc.c: ditto.
* goffice/utils/go-rangefunc.h: ditto.
* goffice/utils/go-regression.c: ditto.
* goffice/utils/go-regression.h: ditto.
* plugins/plot_barcol/gog-1.5d.c: ditto.
* plugins/plot_barcol/gog-barcol.c: ditto.
* plugins/plot_barcol/gog-dropbar.c: ditto.
* plugins/plot_barcol/gog-line.c: ditto.
* plugins/plot_boxes/gog-boxplot.c: ditto.
* plugins/plot_boxes/gog-histogram.c: ditto.
* plugins/plot_pie/gog-pie.c: ditto.
* plugins/plot_radar/gog-radar.c: ditto.
* plugins/plot_surface/gog-surface.c: ditto.
* plugins/plot_surface/xl-surface.c: ditto.
* plugins/plot_xy/gog-xy.c: ditto.
* plugins/reg_linear/gog-exp-reg.c: ditto.
* plugins/reg_linear/gog-lin-reg.c: ditto.
* plugins/reg_linear/gog-lin-reg.h: ditto.
* plugins/reg_linear/gog-log-reg.c: ditto.
* plugins/reg_linear/gog-polynom-reg.c: ditto.
* plugins/reg_linear/gog-power-reg.c: ditto.
* plugins/reg_logfit/gog-logfit.c: ditto.
* plugins/reg_logfit/gog-logfit.h: ditto.
* plugins/smoothing/gog-exp-smooth.c: ditto.
* plugins/smoothing/gog-moving-avg.c: ditto.
2007-09-27 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Implementation of gog_renderer_render_to_cairo. Compared to
gog_renderer_update / gog_renderer_get_cairo_surface, it always redo
the size allocation and doesn't cache the rendering result.
Some API cleanup by removing gog_renderer_new_for_foo functions,
replaced by gog_renderer_new. Restore the unused zoom parameter of
gog_renderer_update, in order to keep compatibility with goffice 0.4.
* goffice/graph/gog-control-foocanvas.c
(gog_control_foocanvas_set_property): use gog_renderer_new.
(gog_control_foocanvas_update): add dummy zoom parameter to
gog_renderer_update_call.
* goffice/graph/gog-graph.c (gog_graph_export_image): use
gog_renderer_new.
(gog_graph_render_to_cairo),
(gog_graph_render_to_cairo_vector): ditto. Use
gog_renderer_render_to_cairo.
* goffice/graph/gog-renderer.c (gog_renderer_render_to_cairo): new.
(gog_renderer_export_image): use gog_renderer_render_to_cairo.
(gog_renderer_new): new. Replace gog_renderer_new_for_format and
gog_renderer_new_for_pixbuf.
(gog_renderer_new_for_format): removed.
(gog_renderer_new_for_pixbuf): keppe for gnumeric goffice 0.4
compatibility.
* goffice/gtk/go-graph-widget.c (update_image_rect): restore dummy
gog_renderer_update zoom parameter.
(go_graph_widget_set_property): use gog_renderer_new instead of
gog_renderer_new_for_pixbuf.
2007-09-27 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix rendering of marker outline.
* goffice/utils/go-marker.c (go_marker_render): don't multiply line
width by scale, scaling is already done by cairo_scale.
2007-09-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer.c (gog_renderer_update): no need to clear
the surface when it was just created. Force is_vector to FALSE here.
2007-09-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Restrict the drawing of the cairo surface cache to the event->region.
* goffice/graph/gog-control-foocanvas.c (gog_control_foocanvas_draw):
here.
2007-09-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Use cairo for graph painting in GogControlFoocanvas. That avoids the
conversion from cairo to pixbuf format.
* goffice/graph/gog-control-foocanvas.c (gog_control_foocanvas_draw):
here.
2007-09-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move cairo to/from pixbuf pixel data conversion from GOImage to
go-cairo.c.
* goffice/graph/gog-renderer.c (gog_renderer_get_pixbuf): adapt to new
go_cairo_convert_data_to_pixbuf signature.
* goffice/utils/go-cairo.c (go_cairo_convert_data_to_pixbuf),
(go_cairo_convert_data_from_pixbuf): handle src != dst.
* goffice/utils/go-image.c (pixbuf_to_cairo), (cairo_to_pixbuf): use
go_cairo_convert_data functions.
2007-09-24 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-control-foocanvas.c
(gog_control_foocanvas_update): remove unused gog_renderer_update zoom
parameter.
* goffice/graph/gog-graph.c (gog_graph_render_to_cairo),
(gog_graph_render_to_cairo_vector): ditto.
* goffice/gtk/go-graph-widget (update_image_rect): ditto.
Use a cairo_surface for graph image cache, instead of pixbuf. Remove
"cairo" and "is_vector" properties, they are internal variables. Also
remove "zoom", it's unused.
* goffice/graph/gog-renderer.c (gog_renderer_update): remove unused
zoom parameter. Use a cairo_surface for caching.
(gog_renderer_get_pixbuf): keep for now, and do the conversion from
cairo format here.
(gog_renderer_get_cairo_surface): new.
(gog_renderer_export_image): remove unused gog_renderer_update zoom
parameter.
(gog_renderer_set_property): remove "zoom", "cairo" and "is_vector"
property.
(gog_renderer_get_property): ditto.
(gog_renderer_class_init): ditto.
2007-09-24 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/utils/go-cairo (go_cairo_convert_data_from_pixbuf),
(go_cairo_convert_data_to_pixbuf): new.
2007-09-27 Morten Welinder <terra@gnome.org>
* goffice/utils/regutf8.c (go_regcomp): Add run-time check for
missing pcre_compile2.
2007-09-24 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_widget_set_tooltip_text,
go_tool_item_set_tooltip_text): New functions.
* */*.c: switch to go_widget_set_tooltip_text.
2007-09-16 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-plot.c (gog_plot_set_axis) : split out
(gog_plot_set_axis_by_id) : from here.
* goffice/graph/gog-axis-line.c (gog_axis_base_set_property) : renamed
PROP_POSITION -> POSITION_STR, add added a PROP_POSITION to take the
enum directly.
(gog_axis_base_get_property) : ditto.
(gog_axis_base_class_init) : ditto.
(xy_process) : Be smarter about label positioning when crossing. If
we're at a bound put it on the other side.
2007-09-15 Jean Brefort <jean@acer>
* goffice/graph/gog-axis-line.c: (xy_process): make axis lines
always visible.
* goffice/graph/gog-renderer.c: (gog_renderer_update): don't crash
when pixbuf is initially NULL. [#477052]
2007-09-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Handle GOG_AXIS_SET_COLOR axis selection.
* goffice/graph/gog-axis-line.c (gog_axis_base_view_point): here.
2007-09-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix manual position of axis labels.
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): use bbox
instead of view->allocation, which is not set yet when entering
size_allocate.
2007-09-11 Morten Welinder <terra@gnome.org>
* goffice/utils/go-marker.c (square_path, ...): Make static.
2007-09-10 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix backplane rendering regression (1 pixel offset).
* goffice/graph/gog-grid.c (gog_grid_view_render): use
GOPath API.
2007-09-10 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Don't show fill_type combo box in the radar plot series editor.
* plugins/plot_radar/gog-radar.c (gog_polar_plot_class_init): use
GogPolarSeries object type for series_type.
(gog_rt_series_class_init): don't enable fill_type here...
(gog_polar_series_class_init): ... but here.
2007-09-10 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix rendering of radar area plot outline.
* goffice/graph/gog-renderer.c (gog_renderer_stroke_serie): call the
right emit function.
2007-09-09 Jon K Hellan <hellan@acm.org>
* goffice/gtk/goffice-gtk.c (go_gui_get_image_save_info): Don't
close save as dialog after entering wrong image file extension.
[#420451]
* goffice/gtk/go-format-sel.c (find_builtin): Fix format selector
crash. [#475136]
2007-09-09 Jean Brefort <jean@acer>
* goffice/utils/go-font.c: (go_font_new_by_index): don't ref
a NULL font.
2007-09-08 Jody Goldberg <jody@gnome.org>
* goffice/Makefile.am : use -Wl,-lhtmlhelp to avoid libtool getting
irrate about no matching .dll
* plugins/plot_radar/gog-radar.c (gog_radar_area_plot_init) :
RadarArea defaults to having a fill.
2007-09-08 Jean Brefort <jean@acer>
* configure.in: applied patch from Claude Paroz. [#474037]
2007-09-05 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_has_hour): New function.
2007-09-03 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-09-03 Jody Goldberg <jody@gnome.org>
* Release 0.5.0
2007-09-03 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-file.c (go_get_mime_type) : Use
FMFD_ENABLEMIMESNIFFING.
(go_get_mime_type_for_data) : write a win32 variant.
* goffice/utils/go-locale.c (go_locale_win32_get_user_default) : new.
(go_locale_get_date_format) : use it here in preference to langinfo.
(go_locale_get_time_format) : and here too.
(go_locale_month_before_day) : use the win32 locale info in preference
to langinfo.
* goffice/goffice.c (libgoffice_init) : make it compile on win32.
2007-09-03 Jean Brefort <jean.brefort@normalesup.org>
* tests/Makefile.am: fix library name.
2007-09-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_month_before_day): New function.
2007-08-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer.c (gog_renderer_draw_marker): avoid
useless cairo surface creation in case of PDF or PS export.
* goffice/utils/go-marker.c (go_marker_render): put cairo_save and
cairo_restore around coordinate transformation.
2007-08-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-chart-map.c (get_extremes_2D): handle x == NULL or
y == NULL cases.
2007-08-29 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-series.c (gog_series_dataset_get_elem) : be more
permissive, return NULL on requests for dim >= num_dum rather than
spewing an error.
* goffice/graph/gog-data-set.c (gog_dataset_get_dim) : ditto.
2007-08-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer.c (emit_fill): removed unused color
variable.
* goffice/utils/go-pattern.c (go_pattern_create_cairo_pattern):
suppress compilation warning. Check image data pointer before using
it.
2007-08-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move GOPattern code to cairo.
Minor tweak of go_marker_create_cairo_surface.
* goffice/graph/gog-renderer.c (emit_fill): use
go_pattern_create_cairo_pattern.
(_get_marker_surface): adapt to new go_marker_create_cairo_surface.
* goffice/gtk/go-pattern-selector.c (go_pattern_palette_render_func):
use go_pattern_create_cairo_pattern.
* goffice/utils/go-cairo.c (go_cairo_surface_is_vector): new.
* goffice/utils/go-marker.c (go_marker_create_cairo_surface): return
width and height of the created surface, in case of
future non square surfaces.
* goffice/utils/go-pattern.c (pattern_solid): removed.
(pattern_blend): removed.
(cb_pattern_alpha): removed.
(cb_pattern_opaque): removed.
(go_pattern_render_svp): removed.
(go_pattern_create_cairo_pattern): new.
2007-08-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-locale.c (go_locale_get_date_format): Use a
sane default and report it as a date default, not a time default.
2007-08-21 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-file.c (check_program) : disable for win32 also.
(go_shell_argv_to_glib_encoding) : fix typo and avoid a memory leak on
failure.
2007-08-21 Jody Goldberg <jody@gnome.org>
* docs/reference/goffice-sections.txt : remove
gog_renderer_push_selection_style it's been deleted.
* goffice/graph/gog-renderer.h : ditto.
2007-08-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: changed library name to libgoffice-0.5.so
* configure.in: ditto.
* libgoffice-0.5.pc.in: ditto.
2007-08-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-series.c (gog_series_get_data): don't emit a
warning whe series is invalid.
(gog_series_get_xy_data): ditto.
2007-08-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix automatic creation of backplane via guru-hints.
* goffice/graph/gog-plot.c (gog_plot_guru_helper): backplane role name
is "Backplane" now, not "Grid".
2007-08-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Conversion of GOMarker to cairo.
* goffice/utils/go-marker.c: removed dependency on libart and
GdkPixbuf. Use SVG path string for marker description.
(marker_create_pixbuf_with_size), (marker_free_pixbuf),
(marker_update_pixbuf), (go_marker_finalize),
(go_marker_get_pixbuf), (go_marker_get_pixbuf_with_size): removed.
(go_marker_set_shape), (go_marker_set_outline_color),
(go_marker_set_fill_color), (go_marker_set_size), (go_marker_assign):
no more pixbuf caching.
(go_marker_render): new.
(go_marker_create_cairo_surface): new.
* goffice/gtk/go-marker-selector.c: (go_marker_palette_render_func)
use go_marker_render.
* goffice/graph/gog-renderer.c (_draw_marker): removed.
(_get_marker_surface): use go_marker_create_cairo_surface.
* goffice/utils/go-cairo.c (go_cairo_emit_svg_path): new.
2007-08-18 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: add new icon for surface plots.
* pixmaps/chart_surface_2_1.png: ditto.
* pixmaps/chart_surface_2_1.svg: ditto.
2007-08-16 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Really make go_path_get_extremes unused.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): removed useless call
to go_path_get_extremes.
2007-08-16 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Remove unused code.
* goffice/utils/gog-path.[ch] (go_path_get_extremes]: removed.
2007-08-15 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Change Grid role name to Backplane, since that what GogGrid really is.
We should rename the GogGrid object to GogBackplane later.
* goffice/graph/gog-object-xml.c (gog_object_write_xml_sax): do the
substitution here, for backward compatibility.
(gog_object_new_from_xml): ditto.
(gogo_start): ditto.
* goffice/graph/gog-chart.c (gog_chart_class_init): replace "Grid" role
name by "Backplane".
2007-08-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix update of dim editors when moving axis bounds.
* goffice/graph/gog-axis.c (set_to_auto_value): new.
(cb_enable_dim): use set_to_auto_value.
(cb_axis_bound_changed): removed.
(cb_update_editor): new.
(make_dim_editor): don't connect to Axis::changed signal, but to
Axis::update-editor.
2007-08-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/utils/go-cairo.[ch]: removed.
2007-08-13 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_shell_arg_to_uri): Don't trash
fd://0 and friends.
2007-08-10 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-pattern.c (go_pattern_get_svg_path) : this actually
returned an xmlChar *
* goffice/graph/gog-renderer-svg.c (fill_properties) : adjust to
actual result type from go_pattern_get_svg_path.
* goffice/goffice.c (libgoffice_init) : use GO_VERSION_* for the dll.
2007-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix step interpolation for radar plots by introducing a new
go_path_arc_to function, which will not start with move_to like
go_path_arc.
* goffice/utils/go-path.c: (go_path_arc_to) new.
* goffice/graph/gog-chart-map.c: (polar_make_path_step) use the new
go_path_arc_to function.
2007-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move GogStyleFill editor to GogSeries, and make it appear along with
fill settings.
* goffice/graph/gog-series-prefs.glade: describe the GogFillType
editor.
* goffice/graph/gog-series.c (gog_series_populate_editor): handle
GogFillType editor.
* goffice/graph/gog-style-prefs.glade: add a placeholder for the fill
type editor.
* goffice/graph/gog-style.c (fill_update_visibilies): handle
placeholder visibility.
(fill_init): register placeholder.
* plugins/plot_radar/gog-radar.c: remove fill type editor.
(gog_rt_series_class_init): enable interpolation and fill_type
properties.
* plugins/plot_xy/gog-xy-series-prefs.glade: remove fill type editor.
* plugins/plot_xy/gog-xy.c (gog_xy_series_populate_editor): remove
fill type editor.
(gog_xy_series_class_init): enable fill_type property.
2007-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Remove unused code and dependency to libart in go-line.c.
* goffice/graph/gog-renderer.c:
s/go_line_get_vpath_dash/go_line_dash_get_sequence/
s/go_line_vpath_dash_free/go_line_dash_sequence_free/
* goffice/gtk/go-line-selector.c (go_line_dash_palette_render_func):
ditto.
* goffice/graph/gog-smoothed-curve.c (gog_smoothed_curve_view_render):
use GOPath API and gog_chart_map_make_path. Remove commented code.
* goffice/utils/go-line.c (go_line_get_vpath_dash): renamed to
go_line_dash_get_sequence.
(go_line_vpath_dash_free): renamed to go_line_dash_sequence_free.
(go_line_clip_vpath): removed.
(go_line_dash_vpath): removed.
(go_line_build_bpath): removed.
(go_line_build_vpath): removed.
2007-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix tool rendering. Add gog_renderer_draw_selection_rectangle.
* goffice/graph/gog-axis-line.c (gog_tool_select_axis_render): use
gog_renderer_draw_selection_rectangle.
* goffice/graph/gog-plot.c (gog_tool_move_plot_area_render): ditto.
* goffice/graph/gog-view.c (gog_tool_select_object_render): ditto.
* plugins/plot_pie/gog-pie.c (gog_tool_move_pie_render): ditto.
* goffice/graph/gog-graph.c (gog_graph_view_render): don't push style
here, that's handled in GogRenderer.
* goffice/graph/gog-renderer.c
(gog_renderer_draw_selection_rectangle): new.
(gog_renderer_push_selection_style): removed.
(gog_renderer_init), (gog_renderer_finalize): handle selection_style.
2007-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix clipping bug introduced by GOPath conversion.
* goffice/graph/gog-renderer.c (gog_renderer_push_clip_rectangle):
here.
(_draw_rectangle): call _draw_shape directly.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Adapt renderer rectangle API to new style (draw, fill, stroke).
* goffice/graph/gog-label.c (gog_text_view_render):
gog_renderer_draw_sharp_rectangle is gog_renderer_draw_rectangle now.
* goffice/graph/gog-legend.c (cb_render_elements): ditto.
* goffice/graph/gog-outlined-object.c (gog_outlined_view_render):
ditto.
* goffice/graph/gog-plot.c (gog_tool_move_plot_area_render): use
gog_renderer_stroke_rectangle.
* goffice/graph/gog-view.c (gog_tool_select_object_render): ditto.
* plugins/plot_pie/gog-pie.c (gog_tool_move_pie_render): ditto.
* goffice/graph/gog-renderer.c (gog_renderer_get_rectangle_vpath):
removed.
(_draw_rectangle): use GOPath.
(gog_renderer_draw_sharp_rectangle): removed.
(gog_renderer_draw_rectangle): draw shar rectangle.
(gog_renderer_stroke_rectangle): new.
(gog_renderer_draw_grip): adapt to new API.
* plugins/plot_radar/gog-radar.c (gog_rt_view_render): remove unused
variables.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Use of go_path_ring_wedge for pie wedge rendering.
* plugins/plot_pie/gog-pie.c (gog_pie_view_render): here.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Use of go_path_pie_wedge for bubble rendering.
* plugins/plot_xy/gog-xy.c (bubble_draw_circle): here.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Finish conversion of GogGridLine to GOPath.
* goffice/graph/gog-grid-line.c (fill_rectangle): removed.
(gog_grid_line_xy_render): use GOPath. Group fill and strokes.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Convert GogAxisLine to GOPath. Emit axis ticks in one stroke, in order
to reduce export file size. We should not have the same performance
issue we had with libart.
* goffice/graph/gog-axis-line.c (gog_tool_select_axis_render): use
GOPath.
(axis_line_render): ditto.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Convert the clipping API to GOPath. Drop the clip stack, that's not
needed anymore.
* goffice/graph/gog-renderer.c: here.
(gog_renderer_push_clip_rectangle): new.
* goffice/graph/gog-legend.c (gog_legend_view_render): use
gog_renderer_push_clip_rectangle.
* goffice/graph/gog-reg-curve.c (gog_reg_curve_view_render): ditto.
* goffice/graph/gog-smoothed-curve.c (gog_smoothed_curve_view_render):
ditto.
* goffice/graph/gog-view.c (gog_view_render): ditto.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto.
* plugins/plot_surface/gog-surface.c (gog_contour_view_render): ditto.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): ditto.
* plugins/plot_radar/gog-radar.c (gog_rt_view_render): restore
clipping.
* goffice/utils/go-path.c (go_path_rectangle): don't change path
options here. That's not consistent and a call for troubles.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Swith to GOPath API for ring wedge shapes. Improve size of exported
graphs.
* goffice/graph/gog-axis-line.c (axis_circle_render): use GOPath API.
* goffice/graph/gog-grid-line.c (gog_grid_line_radial_render): ditto.
(gog_grid_line_circular_render): ditto.
* goffice/graph/gog-grid.c (gog_grid_view_render): ditto.
* goffice/graph/gog-renderer.c (emit_line), (emit_outline),
(emit_fill): clear current if !preserve on early exit.
(_draw_shape): new.
(gog_renderer_draw_shape), (gog_renderer_fill_shape),
gog_renderer_stroke_shape): new.
(emit_stroke): renamed to emit_line.
(gog_renderer_get_ring_wedge_bpath): removed.
(gog_renderer_draw_ring_wedge): removed.
* goffice/utils/go-path.c (go_path_ring_wedge): always begin with a
move_to.
* plugins/plot_radar/gog-radar.c: add a default_style_has_fill
property, like XY plots.
(gog_rt_view_render): disable clipping for now.
2007-08-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Rename gog_renderer_serie_stroke and gog_renderer_serie_fill to
gog_renderer_stroke_serie and gog_renderer_fill_serie.
* goffice/graph/gog-reg-curve: here.
* goffice/graph/gog-renderer.c: here.
* plugins/plot_xy/gog-xy.c: here.
* plugins/plot_radar/gog-radar.c: here.
2007-08-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer.c (gog_renderer_serie_fill): accept NULL
close_path.
2007-08-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Merge of GogRenderer and GogRendererCairo.
* configure.in: explicitely require cairo, cairo-svg, cairo-pdf and
cairo-ps 1.2.0.
* goffice/graph/gog-renderer-cairo.[ch]: merge code in gog-renderer.
* goffice/graph/gog-renderer-svg.[ch]: deleted.
* goffice/graph/gog-renderer-gnome-print.[ch]: removed.
* goffice/graph/gog-renderer-impl.h: removed.
* goffice/graph/Makefile.am: update.
* goffice/graph/gog-graph.c (gog_graph_export_image): GogRendererCairo
doesn't exist anymore.
(gog_graph_render_to_cairo): ditto.
* goffice/graph/gog-renderer.c: merge cairo implementation.
2007-08-01 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fill support for XY plots.
Interpolation, drop lines and fill support for radar plots.
* goffice/graph/gog-axis.c (gog_axis_map_is_inverted): new
* goffice/graph/gog-chart.c: move GogChartMap code...
* goffice/graph/gog-chart-map.c: ... here.
(get_extremes_2D): new.
(make_path_linear): new.
(make_path_spline): new.
(xy_make_path_step): new.
(xy_make_path): new.
(xy_make_close_path): new.
(polar_make_path_step): new.
(polar_make_path): new.
(polar_make_close_path): new.
(gog_chart_map_make_path): new.
(gog_chart_map_make_close_path): new.
* goffice/graph/gog-reg-curve.c (gog_reg_curve_view_render): use
gog_chart_make_path and GOPath API.
* goffice/graph/gog-renderer-cairo.c (emit_stroke): new.
(emit_outline): new.
(emit_fill): new.
(path_raw_move_to): new.
(path_raw_line_to): new.
(path_snap_even_move_to),
(path_snap_even_line_to),
(path_snap_odd_move_to),
(path_snap_odd_line_to): new.
(path_interpret): new.
(fill_path_line_to): new.
(fill_path_close_path),
(fill_path_interpret): new.
(gog_renderer_cairo_serie_stroke): new.
(gog_renderer_cairo_serie_fill): new.
* goffice/graph/gog-renderer.c (gog_renderer_serie_stroke),
(gog_renderer_serie_fill): new.
* goffice/graph/gog-series.c: add a GogSeriesFillType property.
(gog_series_get_data): new.
(gog_series_get_xy_data): use gog_series_get_data.
(gog_series_get_xyz_data): new, using gog_series_get_data.
(gog_series_get_fill_type), (gog_series_set_fill_type): accessor for
GogSeries::fill_type property.
(gog_series_populate_fill_type_combo),
(gog_series_get_fill_type_from_combo): convenience functions for use in
GogSeries editors.
* goffice/graph/gog-style-prefs.glade: move marker editor in its own
page.
* goffice/graph/gog-style.c (outline_init): register outline_box
widget.
(gog_style_apply_theme), (gog_style_fill_sax_save),
(gog_style_fill_load), (gog_style_sax_load_fill),
(cb_fill_type_changed): fill has an auto_type flag now.
(marker_init): marker editor has its own page now.
(gog_style_is_fill_visible): new.
Actually use GOPath API. Don't use it as an object storage, just
paths.
* goffice/utils/go-path.c: switch to fixed size data buffers.
(go_path_get_options): new.
(go_path_add_data): renamed to go_path_add_points.
(go_path_move_to), (go_path_line_to), (go_path_curve_to): clamp here.
(go_path_ring_wedge): new.
(go_path_pie_wedge): new.
(go_path_new_rectangle): removed.
(go_path_add_style): removed.
(go_path_interpret): new.
* plugins/plot_radar/gog-radar.c (gog_rt_view_render): implement
interpolation and fill support.
(radial_drop_lines_can_add), (radial_drop_lines_post_add),
(radial_drop_lines_pre_remove): new.
(gog_rt_series_populate_editor): new. Editor for FillType Property.
(gog_rt_series_class_init): sets relevant FillType values.
Add drop lines support.
* plugins/plot_radar/gog-rt-series-prefs.glade: new.
* plugins/plot_xy/gog-xy-series-prefs.glade: add FillType editor.
* plugins/plot_xy/gog-xy.c: add a default-style-has-fill property, for
compatibility with the previous behaviour wher xy plots didn't have
fill enabled.
(gog_xy_view_render): implement fill support.
(gog_xy_series_update): use gog_series_get_xy_data and
gog_series_get_xyz_data.
2007-08-11 Christian Neumair <cneumair@gnome.org>
* goffice/graph/gog-object-xml.c: (gogo_prop_end): Pass instance type
to gsf_xml_gvalue_from_str() instead of fundamental type. Required for
correct parsing of enum/flag-derived types.
2007-08-10 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_shell_argv_to_glib_encoding):
NULL-terminate argv array. Don't bother setting argc.
(go_shell_argv_to_glib_encoding_free): Use g_strfreev.
2007-08-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c: removed all rendering functions
and replace by go_component_render using a cairo_t*.
* goffice/component/go-component.h: ditto.
2007-08-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/cut-n-paste/foocanvas/Makefile.am: fix headers path
from 0.4 to 0.5.
* goffice/goffice.c: (libgoffice_init): rename dll (0-4->0-5).
2007-08-10 Jody Goldberg <jody@gnome.org>
* goffice/graph/Makefile.am : remove gog-renderer-gnome-print
* libgoffice-0.5.pc.in : bump from 0.4 -> 0.5 and drop gnomeprint
* goffice.mk : ditto.
* configure.in : drop gnomeprint req
2007-08-10 Jody Goldberg <jody@gnome.org>
* configure.in : Post release bump to 0.5.0
2007-08-10 Jody Goldberg <jody@gnome.org>
* Release 0.4.3 (Branch point for 0.5.0)
2007-08-07 Morten Welinder <terra@gnome.org>
* goffice/utils/go-undo.c (go_undo_combine): New function.
2007-08-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add gog_graph_render_to_cairo_vector for better gnumeric printing.
Fix for #381682.
* goffice/graph/gog-graph.[ch]: here.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Drop use-splines as soon as one of the series has interpolation
different from GO_LINE_INTERPOLATION_SPLINE.
* plugins/plot_xy/gog-xy.c (gog_xy_get_property): here.
2007-08-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Put back goffice 0.2.x GogXYPlot::use-spline property.
* plugins/plot_xy/gog-xy.c: here.
2007-08-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move interpolation property from GogStyle to GogSeries.
* goffice/graph/gog-plot.c (role_series_post_add): sets line
interpolation of child series.
(gog_plot_set_property), (gog_plot_get_property),
(gog_plot_class_init), (gog_plot_init): handle interpolation property.
* goffice/graph/gog-series.c (gog_series_set_property),
(gog_series_get_property), (gog_series_class_init), (gog_series_init):
handle line interpolation property.
(gog_series_populate_editor): add a line property selector if
GogSeriesClass::has_interpolation == TRUE. The selector is added to
the GogStyle::line editor.
* goffice/graph/gog-style-prefs.glade: move line intertpolation
selector...
* goffice/graph/gog-series-prefs.glade: ...here.
* goffice/graph/gog-style.c (line_init): register line_box
widget for later extension.
(cb_line_interpolation_changed): removed.
(interp_init): removed.
(gog_style_interpolation_load): removed.
(gog_style_interpolation_sax_save): removed.
(gog_style_sax_load_interpolation): removed.
* plugins/plot_xy/gog-xy.c: remove use_splines and interpolation
properties.
(gog_xy_view_render): line interpolation is a GogSeries property now.
2007-07-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Resync ALL_LINGUAS with po files.
2007-07-24 Jody Goldberg <jody@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_window_set_transient) : minor
coverity report caused by some #ifndef WITH_GNOME.
2007-07-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-line.c (go_line_interpolation_as_str): Don't
overrun line_interpolations array.
2007-07-23 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-07-23 Jody Goldberg <jody@gnome.org>
* Release 0.4.2
2007-07-18 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-guru.c (gog_guru_get_help_button) : a hook to
work around the docs still living in gnumeric. [#394181]
2007-07-17 Jody Goldberg <jody@gnome.org>
From Coverity.
* goffice/utils/go-glib-extras.c (go_guess_encoding) : Avoid crash if
libxml2 returns ERROR or NONE when guessing encoding.
2007-07-16 Jody Goldberg <jody@gnome.org>
* goffice/cut-n-paste/foocanvas/foo-canvas-text.c
(foo_canvas_text_update) : round the bounds rather than using floor
and ceil. The disparity would exacerbate rounding errors caused by
scaling, and would result in 1 pixel errors.
* goffice/cut-n-paste/foocanvas/foo-canvas-pixbuf.c
(foo_canvas_pixbuf_update) : ditto. The errors where especially
noticable here because images would get scaled. [#314864]
* goffice/cut-n-paste/foocanvas/foo-canvas.c
(foo_canvas_item_accessible_get_item_extents) : ditto.
2007-07-14 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-object.c (gog_editor_register_widget): new.
(gog_editor_get_registered_widget): new.
2007-07-15 Jody Goldberg <jody@gnome.org>
* goffice/app/file.c (go_file_saver_finalize) : do not leak the mime
type.
2007-07-13 Jody Goldberg <jody@gnome.org>
* configure.in : remove GTK_DISABLE_DEPRECATED. gtk trunk has
deprecated GtkTooltips.
2007-07-11 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-07-10 Jody Goldberg <jody@gnome.org>
* Release 0.4.1
2007-07-03 Jody Goldberg <jody@gnome.org>
* goffice/goffice.c (libgoffice_init) : on win32 qualify icon dir with
the version to match the installation dir in configure.in and fix
the dll name. [#442707]
2007-07-01 Jody Goldberg <jody@gnome.org>
Patch from Jean for 340552
* goffice/graph/gog-graph.c (gog_graph_finalize) : free the new
data_hash.
(gog_graph_init) : init the data hash.
(gog_graph_get_data) : use the hash rather than quarks.
(gog_graph_ref_data) : ditto.
(gog_graph_unref_data) : ditto.
2007-07-01 Jody Goldberg <jody@gnome.org>
* configure.in : remove req for pangoft. No need for that anymore.
2007-07-01 Jody Goldberg <jody@gnome.org>
Patch from Andreas Kohler.
* goffice-win32.mk : portability patch for [#367785]
2007-06-21 Jody Goldberg <jody@gnome.org>
* configure.in : export GOFFICE_USE_SVG_RENDERER.
* goffice/graph/gog-renderer.c : honour it here.
2007-06-17 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/graph/gog-object-xml.c (gog_object_write_xml_sax): fixed
signedness issue spotted with help of sparse.
* goffice/graph/gog-view.c (gog_view_queue_resize): Made do-while into
a compound statement. (Silences sparse warning)
* goffice/graph/gog-style.c: Be more consistent in use of enum types.
* goffice/component/go-component-factory.c
(go_components_get_mime_types): Fixed non-ANSI function declaration by
specifying "void" for the parameter list, rather than leaving it
unspecified.
2007-06-17 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-object.c (gog_object_add_by_role) : Add error
handling for unknown types.
* goffice/graph/gog-object-xml.c (gogo_dim_start) : handle NULL
objects from preceding errors.
(gogo_dim_end) : ditto.
(gogo_prop_start) : ditto.
(gogo_end) : ditto.
(gogo_start) : ditto. Make it clear that all paths through this must
add something to the obj_stack.
2007-06-12 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-geometry.c (go_direction_get_type) : new.
(go_direction_is_forward) : new.
(go_direction_is_horizontal) : new.
2007-06-12 Jody Goldberg <jody@gnome.org>
* goffice/app/file.c (go_file_saver_for_file_name) : fix cut-n-paste-o
in docs.
2007-06-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-chart.c (calc_circle_parameters): fix rotation of
circular axis for theta_max > 360°.
2007-06-05 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_execute): Handle OP_STRING.
(handle_common_token): Issue OP_STRING ofr TOK_STRING. Fixes
#444247.
2007-05-25 Morten Welinder <terra@gnome.org>
* goffice/app/file.c (go_file_saver_level_get_type,
go_file_saver_scope_get_type): New functions.
(go_file_saver_new): Use object properties.
(go_file_saver_class_init): Install object properties, setter, and
getter.
(go_file_saver_setup): Remove. All callers now use object
properties.
* goffice/app/go-plugin-service.c
(plugin_service_file_saver_read_xml): Major cleanup. Handle mime
type too.
(go_plugin_file_saver_new): Use object properties for the saver.
Set mime type too.
(parse_format_level_str): Remove. xml_node_get_enum can do that.
2007-05-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (cb_font_changed): set the
attributes before retrieving the GOFont.
2007-05-09 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix manual
position of axis labels.
2007-05-03 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2007-05-03 Morten Welinder <terra@gnome.org>
* Release 0.4.0
2007-05-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-cspline.c: (go_cspline_get_values),
(go_cspline_get_derivs), (go_cspline_get_integrals):
constified arguments and fixed the code.
* goffice/utils/go-cspline.h: constified arguments.
2007-04-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c: (cairo_to_pixbuf): fixed conversion
on bigendian machines [#432532].
2007-04-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/Makefile.am: added new cubic spline support.
* goffice/utils/go-cspline.c: ditto.
* goffice/utils/go-cspline.h: ditto.
* goffice/utils/go-rangefunc.c: (go_range_increasing): new
convenience function.
* goffice/utils/go-rangefunc.h: ditto.
2007-04-21 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2007-04-21 Morten Welinder <terra@gnome.org>
* Release 0.3.8
2007-04-20 Morten Welinder <terra@gnome.org>
* goffice/app/go-cmd-context.c (go_cmd_context_error_invalid):
Translate.
2007-04-19 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (find_builtin): Handle
GO_FORMAT_UNKNOWN without crashing. [#431256]
2007-04-11 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_guess_encoding): Actually
verify that we get good UTF-8. Fixes #401588.
2007-04-10 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.glade: Fix minor grammar issue. Fixes
#428331.
2007-04-02 Morten Welinder <terra@gnome.org>
* goffice/utils/regutf8.c (go_regcomp): Undo last change.
2007-03-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix alignement of rotated labels. #343507
* goffice/graph/gog-axis-line.c (axis_line_get_bbox): compute the
correct anchor.
(axis_line_render): ditto.
* goffice/graph/gog-grid.c (gog_grid_view_render):
GOG_AXIS_SET_XY_BUBBLE has a background.
* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_draw_text):
label rotation angle in the same direction as the canvas.
* goffice/graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text): ditto.
* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_draw_text):
ditto.
* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): ditto.
* goffice/utils/go-geometry.c (go_geometry_test_OBR_overlap):
simplify.
(go_geometry_calc_label_anchor): new.
(go_geometry_calc_label_position): add an acnhor parameter.
* goffice/utils/datetime.c: fix compilation warning.
2007-03-28 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (generate_number, generate_format,
study_format): Handle quoted dollars too. Fixes part of #423603.
2007-03-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-regression.c: add namespace to names missing it.
* goffice/utils/go-regression.h: ditto.
* plugins/reg_linear/gog-lin-reg.c: use new names in go-regression.h
* plugins/reg_linear/gog-lin-reg.h: ditto.
2007-03-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-font.c (go_font_metrics_new): Try even more
kinds of weird spaces.
* goffice/utils/regutf8.c (go_regcomp): Unicode-normalize pattern.
2007-03-13 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_execute)
[OP_NUM_FRACTION_SIMPLIFY_PI]: Simplify "n\pi/1" too. #417981.
2007-03-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/Makefile.am: removed $(BUILT_SOURCES) from
libgoffice_0_la_SOURCES. [#354874]
2007-03-10 Morten Welinder <terra@gnome.org>
* goffice/utils/go-font.c (go_font_metrics_new): Don't pick a
space that is too tall, see bug 416526.
2007-03-08 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (go_format_currencies): Translate
"None".
* goffice/gtk/go-combo-text.c (go_combo_text_set_text,
go_combo_text_get_entry, go_combo_text_add_item): Add
preconditions.
2007-03-04 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2007-03-04 Morten Welinder <terra@gnome.org>
* Release 0.3.7
2007-03-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/plot_boxes/gog-boxplot.c (gog_box_plot_view_render): fix
boxplot rendering (blur at fill edges). Remove commented code.
* goffice/graph/gog-renderer-cairo.c (grc_line_size): round and not
floor, that more close to vector rendering.
(grc_path_raw): fix even width check.
(grc_draw_path): add a kludge in order to completly fix #403403.
(gog_renderer_cairo_push_style): fix rectangular clip region.
* goffice/graph/gog-legend.c (cb_render_elements): fix line sample
rendering.
(gog_legend_view_render): sets the clip region to view residual...
(gog_legend_view_class_init): ... not view allocation.
2007-03-02 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-axis-line.c (axis_line_render): If we have to
skip entries because there is no room, skip regularly. Fixes
#413660.
2007-03-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-style.c (gog_style_line_sax_save): increase float
format precision.
(gog_style_gradient_sax_save): ditto.
(gog_style_text_layout_sax_save): ditto.
* goffice/graph/gog-error-bars.c (gog_error_bar_persist_sax_save):
ditto.
2007-03-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_toggle_1000sep):
Re-implement.
* configure.in: Unconditionally require a proper system PCRE
library.
2007-02-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: add bubble axis.
* goffice/graph/gog-axis-line.c: fix various virtual axis issues.
* goffice/graph/gog-axis.c: (gog_axis_populate_editor): don't
add style related pages forvirtual axis.
* goffice/graph/gog-chart.c: implement bubble axis adding and
fix various related issues.
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_axis_get_bounds):
removed a warning since various axis sets might be used when using
mixed plots.
2007-02-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_is_date_for_value): Remove.
(go_format_as_XL, go_format_new_from_XL): Drop localization
argument. All callers changed.
2007-02-25 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_parse_number_fraction):
Reinstate pi fraction extention.
(go_format_parse_number_E): Simplify mantissa when requested.
2007-02-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-font.c (go_font_metrics_new): Acquire
information and various space characters too.
* goffice/utils/go-format.c (go_format_execute) [OP_DATE_SPLIT]:
If date is not valid, don't request year etc.
(go_format_execute) [OP_FILL]: When space filling, fine-tune with
thin spaces.
2007-02-23 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (go_currency_date_format_shutdown): Fix
memory handling.
2007-02-23 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c: Make truncation UTF-8 safe. Make
function independent of go-format.c internals.
(fillin_negative_samples): Use GOFormat instead of doing things by
hand.
(study_format): Identify currency.
* goffice/utils/go-format.c: Total rewrite.
* goffice/utils/formats.c: Remove various unused stuff.
2007-02-22 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/Makefile.am: add new glade file.
* plugins/plot_xy/gog-xy-color-prefs.glade: new glade file.
* plugins/plot_xy/gog-xy.c: allow hiding data outside of
the color axis bounds.
* plugins/plot_xy/gog-xy.h: ditto.
2007-02-21 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (generate_format): Generate formats
here.
(fmt_dialog_enable_widgets): Recognize builtins here.
* goffice/utils/go-glib-extras.c (go_string_append_c_n): New
function.
2006-02-21 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix calls to g_object_class_install_property.
http://bugzilla.gnome.org/show_bug.cgi?id=172866
2006-02-21 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Restrict legend sample line width to sane values, like what we do for
markers.
http://bugzilla.gnome.org/show_bug.cgi?id=404819
* goffice/utils/go-line.c: add a sequence length to dash descriptors.
(go_line_dash_get_length): new.
* goffice/graph/gog-renderer.c (gog_renderer_get_hairline_width_pts):
new.
* goffice/graph/gog-renderer-cairo.c: provide an implemenation of
hairline_pts.
* goffice/graph/gog-legend.c: use defines for legend element layout.
(cb_swatch_scale): compute the scale used for restricting sample width
in order to always shows correctly the dashed lines.
(cb_render_elements): apply line width scale.
2007-02-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-locale.c (go_locale_get_time_format): New
function.
2007-02-20 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c: (gog_xy_color_plot_update),
(gog_xy_color_plot_axis_get_bounds): use Color axis, not Pseudo3d.
2006-02-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix incorrect saving of position (which happens when role default
position is not the same as the g_param_spec one).
http://bugzilla.gnome.org/show_bug.cgi?id=345836
* goffice/graph/gog-object-xml.c (gog_object_write_property_sax): use
gog_object_is_default_position_flags.
* goffice/graph/gog-object.c (gog_object_class_init): sets the
GOG_PARAM_POSITION flag for "compass", "alignment" and "anchor".
(gog_object_is_default_position_flags): new.
2006-02-17 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Dashed line improvements. More line styles.
http://bugzilla.gnome.org/show_bug.cgi?id=403403
* goffice/gtk/go-line-selector.c (go_line_dash_palette_render_func):
sharper rendering.
(go_line_dash_selector_new): 3 columns layout.
* goffice/utils/go-lines.c: some more line styles.
(go_line_dash_vpath): sharper dashed line rendering.
* goffice/graph/gog-renderer-cairo.c (grc_line_size): round only for
sharp rendering.
(grc_path_raw): new.
(grc_path_sharp): new. Sharpening happens here now.
(grc_draw_path): takes a sharp parameter. Use square line cap for
small width.
(grc_draw_polygon): ditto.
(gog_renderer_cairo_line_size): takes a sharp parameter.
(gog_renderer_cairo_draw_path): ditto.
(gog_renderer_cairo_draw_polygon): ditto.
(draw_path): ditto.
(gog_renderer_cairo_sharp_path): removed.
* goffice/graph/gog-renderer-gnomep-print.c: add sharp parameter.
(gog_graph_print_to_gnome_print): set line cap to round.
* goffice/graph/gog-legend.c (gog_legend_view_size_request): makes the
line sample longer.
(cb_render_elements): ditto.
* goffice/graph/gog-renderer.c: add a sharp parameter to draw_path,
draw_polygon and line_size virtuals.
(line_size): new.
* goffice/graph/gog-renderer.h: double the width of the hairline for
vector formats.
* goffice/graph/gog-renderer-svg.c: stroke with round line cap. Add
sharp parameter.
2007-02-16 Morten Welinder <terra@gnome.org>
* Release 0.3.6
2007-02-16 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (go_date_month_name): Trim terminating
spaces in the result.
2007-02-16 Jean Brefort <jean.brefort@normalesup.org>
http://bugzilla.gnome.org/show_bug.cgi?id=408520
* plugins/reg_linear/gog-exp-reg.c:
(gog_exp_reg_curve_get_equation): fix equation.
2007-02-15 Morten Welinder <terra@gnome.org>
* goffice/utils/go-locale.c (go_locale_month_before_day): 'M' is
minutes, so ignore it.
(go_locale_get_date_format): New function.
2007-02-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-rangefunc.c: copied some new functions
from gnumeric.
* goffice/utils/go-rangefunc.h: ditto.
* plugins/plot_boxes/gog-boxplot.c: find fractiles using
new functions in go-rangefunc.*.
2007-02-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_ascii_strtod, go_ascii_strtold): New
functions.
2007-02-07 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_str_delocalize): Don't
overrun source string on unbalanced quote.
2006-02-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer-pixbuf.[ch]: removed.
2006-02-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Disable pango markup for all user entered texts.
http://bugzilla.gnome.org/show_bug.cgi?id=403209
* goffice/graph/gog-renderer.c (gog_renderer_draw_text):
remove the unused result parameter and add a new use_markup flag.
(gog_renderer_get_text_OBR): add new use_markup flag.
(gog_renderer_get_text_AABR): ditto.
* goffice/graph/gog-renderer-cairo.c: ditto.
* goffice/graph/gog-renderer-gnome-print.c: ditto.
* goffice/graph/gog-renderer-svg.c: ditto.
* goffice/graph/gog-label.c (gog_text_view_size_request): don't use
pango markup.
(gog_text_view_render): ditto.
* goffice/graph/gog-legend.c (cb_size_elements): ditto.
(cb_render_elements): ditto.
* goffice/graph/gog-axis-line..c (axis_line_get_bbox): use pango
markup (for exponent of log axes).
(axis_line_render): ditto.
(axis_circle_get_bbox): ditto.
(axis_circle_render): ditto.
* goffice/graph/gog-axis.c (map_discrete_calc_ticks): but escape user
text here.
* goffice/graph/gog-grid.c (gog_grid_view_render): handle new
GogAxisSet type.
2007-01-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_is_text): Typo.
2007-01-24 Morten Welinder <terra@gnome.org>
* goffice/utils/go-locale.[ch]: New files, extracted from
go-format.[ch]. Grand renaming.
* goffice/utils/go-format.c (go_render_number): Make this static.
2007-01-22 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (type GOFormat): Make this private.
*/*.c: deal with the fallout.
2007-01-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (cb_attrs_as_string): Fix typo
"strikthough" and add underline styles "low" and "error".
(go_format_parse_markup): Add "low" and "error" here too.
2007-01-20 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=397679
* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_update) :
Don't freak everything out if we attempt to render with w/h < 1.
That should not happen, but if it gets through, avoid a nan
* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) :
ditto.
2007-01-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c (cb_plot_family_menu_create): fix recently
introduced bug.
2007-01-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_strtod): Eliminate the need to reset
errno before calling this.
2007-01-08 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_strtod, go_strtold): New functions.
2007-01-05 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_is_date,
go_format_is_date_for_value): New functions.
2007-01-04 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets): When
displaying a widget, display its parents too. This kills the need
for all the silly box widgets.
* goffice/utils/go-format.h (GOFormatDetails): Eliminate
date_has_days and date_has_months. No-one uses them.
2006-01-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_draw_text):
Don't scale text by using pango_cairo_context_set_resolution, but use
cairo_scale instead. Much more WYSIWYG now.
(gog_renderer_cairo_get_text_OBR): ditto.
2006-12-06 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/color.xpm: new pixmap.
* pixmaps/chart_colored_1_1.png: ditto.
* pixmaps/chart_colored_1_1.svg: ditto.
2006-12-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-chart.c (gog_chart_get_cardinality): use full
cardinality for plot index offset. The style of a serie do not
depend on the visibility of another serie.
* goffice/graph/gog-legend.c (cb_render_elements): use a counter
instead of relying on first callback argument.
2006-12-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis-line.c (cb_cross_axis_changed): clear GValue
struct before using it, and unset it before leaving.
* goffice/graph/gog-chart.c: typo.
* goffice/graph/gog-error-bar-prefs.glade: layout fix.
* goffice/graph/gog-error-bar.c (cb_color_changed): color selector is a
GOSelector now.
(cb_display_changed): display selector is a standard GtkComboBox now.
(gog_error_bar_prefs): ditto.
* goffice/graph/gog-style-prefs.glade: layout fixes.
* pixmaps/bar*.png: convert to 16x16 images.
2006-12-27 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_continued_fraction): Use integer
operations as intended.
* goffice/utils/go-format.c (go_format_number): Check for improper
fraction overflows.
2006-12-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c: Merge format.c in here.
2006-12-25 Jean Brefort <jean.brefort@normalesup.org>
* plugins/reg_logfit/gog-logfit.c: (gog_log_fit_curve_type_name): fixed
comment.
* po/POTFILES.in: add missing files.
2006-12-22 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Improve fractions a
tiny bit. Prevent reading beyond allocated memory.
2006-12-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_value_gstring): Take colour
argument too and pass it to go_style_format_find_entry. All
callers changed.
2006-12-19 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Handle 'E' right and
fix a few more issues with month-vs-minutes handling.
2006-12-18 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_style_format_find_entry): New
static function, mostly from Gnumeric.
(go_style_format_condition): Generalize.
(go_format_value_gstring): Generalize to handle layouts, not just
strings. Generalize to handle non-number values. All callers
changed.
* Makefile.am: Don't install format-impl.h
2006-12-17 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-12-17 Jody Goldberg <jody@gnome.org>
* Release 0.3.5
2006-12-15 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (append_second): Handle sss etc. right.
(go_format_value): Improve m-as-minutes vs. m-as-month situation.
Fix handling of "e" and "E" in date contexts.
2006-12-14 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format.c (go_format_value_gstring): Return
error code.
(go_format_value): Simplistic handling of errors.
* goffice/utils/format.c (append_day): Handle crazy number of ds.
(append_thai_year): New function.
(go_format_number): Handle 'b', 'g', 'G'. Return error code.
* goffice/utils/go-font.c (go_font_metrics_new): Get the width of
"#" too.
2006-12-11 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_str_compare): Simplify and
handle the eq case fast.
2006-12-10 Morten Welinder <terra@gnome.org>
* goffice/utils/go-undo.h: supply a data pointer to undo operations.
* goffice/utils/go-undo.c (go_undo_undo_with_data): New function.
(go_undo_unary_new): Implement properly.
2006-12-09 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.c (gog_style_sax_load_*) : Pass in the
GogStyle as the user_state rather than using
gog_xml_read_state_get_obj. This allows the parser to be used
externally by code (gnumeric sheet objects) that do not have the
GogObject parser state.
2006-12-07 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-legend.c (gog_legend_view_size_request): Fix
legend layout when there's no serie to display. [#382354]
* goffice/graph/gog-chart.c (gog_chart_get_cardinality): update plot
cardinality before calling gog_plot_get_cardinality.
* goffice/graph/gog-plot.c (gog_plot_get_cardinality): move update and
cache...
(gog_plot_update_cardinality): here. [#382663]
2006-12-07 Morten Welinder <terra@gnome.org>
* goffice/utils/regutf8.c (go_regexec): Use g_try_new and require
glib 2.8 (as libgsf already does).
2006-12-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (gog_style_persist_prep_sax): register
STYLE_INTERPOLATION instead of a second STYLE_LINE. [#382862]
2006-12-05 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix markers in PDF and PS export.
* goffice/graph/gog-renderer-cairo.c (grc_draw_marker): new.
(grc_get_marker_surface): use grc_draw_marker.
(gog_renderer_cairo_draw_marker): don't use a cached cairo surface for
marker rendering when exporting to PDF and PS.
(gog_renderer_cairo_export_image): ditto.
2006-12-04 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-12-03 Jody Goldberg <jody@gnome.org>
* Release 0.3.4
2006-12-01 Christian Neumair <chris@gnome-de.org>
* goffice/graph/gog-object-xml.c: (gog_object_set_arg_full),
(gog_object_write_property_sax):
Pass actual property type to gsf_xml_gvalue_from_str() instead of its
fundamental type. Also persist enums and flags, and bail if
persistance failed.
2006-11-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-color-selector.c: add go_color_selector_set_allow_alpha.
* goffice/gtk/go-color-selector.h: ditto.
2006-11-27 Morten Welinder <terra@gnome.org>
* */*.c: Renaming of format_ symbols and a few others.
2006-11-25 Morten Welinder <terra@gnome.org>
* goffice/utils/go-undo.[ch]: New files.
2006-11-19 Jon K Hellan <hellan@acm.org>
* goffice/graph/gog-chart.c (gog_chart_map_2D_to_view): void
function was returning value.
* goffice/graph/gog-data-set.c (gog_dataset_dims): Ditto.
2006-11-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer-cairo.c: (gog_renderer_cairo_update):
fixed a memory leak.
2006-11-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c: add horizontal and vertical
resolution properties so that go_graph_set_size can be called with
the size in pts.
2006-11-11 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-surface.c: support inverted axis [#372969]
and enhance axis bounds issues.
2006-11-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/component/go-component-factory.c (go_mime_type_free),
goffice/component/go-component.c (go_component_set_property, go_component_finalize),
goffice/data/go-data-simple.c (go_data_scalar_val_finalize, go_data_vector_str_finalize),
goffice/graph/gog-plot.c (gog_plot_finalize, gog_plot_set_property),
goffice/graph/gog-reg-curve.c (gog_reg_curve_finalize),
goffice/graph/gog-smoothed-curve.c (gog_smoothed_curve_finalize),
goffice/utils/go-image.c (go_image_set_property, go_image_finalize),
goffice/utils/go-regression.c (go_regression_stat_destroy),
plugins/plot_barcol/gog-line.c (gog_line_series_update, gog_line_series_finalize),
plugins/plot_boxes/gog-boxplot.c (gog_box_plot_update),
plugins/plot_boxes/gog-histogram.c (gog_histogram_plot_update, gog_histogram_plot_series_finalize),
plugins/plot_surface/gog-surface.c (gog_contour_plot_finalize),
plugins/plot_surface/xl-surface.c (get_y_vector, xl_contour_plot_finalize),
plugins/reg_linear/gog-lin-reg.c (gog_lin_reg_curve_update, gog_lin_reg_curve_build_values, gog_lin_reg_curve_set_property, gog_lin_reg_curve_finalize),
plugins/reg_linear/gog-log-reg.c (gog_log_reg_curve_build_values),
plugins/reg_linear/gog-polynom-reg.c (gog_polynom_reg_curve_build_values),
plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_update),
plugins/smoothing/gog-exp-smooth.c (gog_exp_smooth_update),
plugins/smoothing/gog-moving-avg.c (gog_moving_avg_update):
simplified as g_free handles NULL properly. Fixes #369662.
2006-11-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/gtk/go-color-selector.c (go_color_selector_new): adapt
to new go_palette_new signature.
* goffice/gtk/go-gradient-selector.c (go_gradient_selector_new):
ditto.
* goffice/gtk/go-marker-selector.c (go_marker_selector_new): ditto.
* goffice/gtk/go-pattern-selector.c (go_pattern_selector_new): ditto.
* goffice/gtk/go-line-selector.c (go_line_dash_selector_new): ditto.
(go_line_dash_palette_get_tooltip_func): new.
* goffice/gtk/go-palette.c (go_palette_init): init tooltips object.
(go_palette_menu_item_new): add a tooltip using user get_tooltip
function.
(go_palette_new): add a new argument defining a get_tooltip callback.
* goffice/utils/go-line.c (go_line_dash_as_label): new.
2006-11-06 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Handle "dd.mm.yyyy".
2006-11-05 Jody Goldberg <jody@gnome.org>
* configure.in : Post release version bump
2006-11-05 Jody Goldberg <jody@gnome.org>
* Release 0.3.3
2006-11-04 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c:
(gog_pie_plot_set_default_separation): reimplement accidently removed.
2006-11-03 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (cell_format_is_time,
cell_format_is_date): New functions.
(go_format_classify): Use above functions. Partial fix for
#370183.
2006-11-02 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c: use GOFFICE_WITH_GTK
instead of WITH_GTK. [#368789]
* plugins/plot_barcol/gog-minmax.c: ditto.
* plugins/plot_pie/gog-pie.c: ditto.
* plugins/smoothing/gog-exp-smooth.c: ditto.
* plugins/smoothing/gog-moving-avg.c: ditto.
2006-10-26 Morten Welinder <terra@gnome.org>
* goffice/app/file.c (go_file_saver_save): Fix filename handling
as much as current API allows. Make sure to set and error at the
GSF level when we do at higher level. Fixes #365115
2006-10-25 Morten Welinder <terra@gnome.org>
* autogen.sh (REQUIRED_AUTOMAKE_VERSION): Up to 1.9.0 like
Gnumeric. Fixes certain, but not all, issues with building in
non-standard locations.
2006-10-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c: (update_image_rect): set the graph
size. Fixes #344646.
2006-10-20 Jon K Hellan <hellan@acm.org>
* plugins/plot_boxes/gog-boxplot.c: Fix include.
2006-10-19 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-text.c
(go_action_combo_text_create_tool_item): Set width using
gtk_entry_set_width_chars, not pixels. This will automatically
listen to style changes. Fixes #362704.
2006-10-18 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-renderer-cairo.c
(gog_renderer_cairo_export_image): Use
cairo_surface_set_fallback_resolution only when available.
* configure.in: Check for cairo_surface_set_fallback_resolution.
2006-10-17 Morten Welinder <terra@gnome.org>
* goffice/app/error-info.c (error_info_print_with_offset): Add
precondition and use g_printerr, not fprintf.
2006-10-16 Jody Goldberg <jody@gnome.org>
* configure.in : Post release verion bump
2006-10-16 Jody Goldberg <jody@gnome.org>
* Release 0.3.2
2006-10-06 Morten Welinder <terra@gnome.org>
* goffice/utils/go-image.c (go_image_new_from_file): Handle errors
better.
2006-10-06 Dom Lachowicz <domlachowicz@gmail.com>
* configure.in: I accidentally checked in a change that
disabled all DEPRECATED checks. This is because the deprecation
checks won't build with GTK+ 2.6.x and Glib >= 2.8. I'll need to
come up with a better work-around for this, as it also effects
Gnumeric proper.
2006-10-06 Dom Lachowicz <domlachowicz@gmail.com>
* goffice/gtk/goffice-gtk.c: Conditionally implement
gdk_cairo_set_source_pixbuf(), stolen from GTK+ 2.8. Implement
go_cairo_set_source_pixbuf() in terms of it.
* goffice/gtk/goffice-gtk.h: Ditto
* goffice/gtk/go-market-selector.c: Use go_cairo_set_source_pixbuf()
* goffice/gtk/go-pattern-selector.c: Ditto
* configure.in: Check for gdk_cairo_set_source_pixbuf()
2006-10-06 Dom Lachowicz <domlachowicz@gmail.com>
* libgoffice-0.3.pc.in: Require pangocairo. Not everyone has GTK+ 2.8
2006-10-06 Dom Lachowicz <domlachowicz@gmail.com>
* libgoffice-0.3.pc.in: Require cairo. Not everyone has GTK+ 2.8
2006-10-06 Jon K Hellan <hellan@acm.org>
* goffice/gtk/goffice-gtk.c (gui_get_image_save_info): Don't hide
format selector just because resolution isn't meaningful.
(go_gtk_file_sel_dialog): Use gtk_widget_show instead of
show_all. Otherwise, we can't hide unwanted widgets.
2006-10-05 Jon K Hellan <hellan@acm.org>
* goffice/utils/go-image.c (go_mime_to_image_format)
(go_image_build_pixbuf_format_infos): Base mime_to_image_format on
info from gdk-pixbuf.
2006-10-05 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: check for pangocairo. [#359904]
* goffice/graph/gog-renderer-cairo.c: include pangocairo.h instead of
pangoft2.h.
2006-10-05 Dom Lachowicz <domlachowicz@gmail.com>
* goffice/gtk/go-palette.h: Include cairo.h. Don't assume that GTK+
automatically brings it in.
2006-10-05 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_view_render): fixed
a boundary issue.
2006-10-05 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_view_render): make use
of the second axis map so that box-plots support inverted axis.
2006-10-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component-factory.c: add a minimum support for
optional clipboard operations (default is no clipboard).
* goffice/component/go-component-factory.h: ditto.
2006-10-02 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-10-02 Jody Goldberg <jody@gnome.org>
* Release 0.3.1
2006-10-01 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer-cairo.c (grc_path): clamp coordinates
before giving them to cairo. That's a workaround for cairo long line
bug. [#341993]
2006-10-01 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_boxes/gog-boxplot.c: don't update inexistant axes.
2006-10-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer.c: (gog_renderer_export_image): avoid
creating a pxbuf with a resolution <= 0.
* pixmaps/Makefile.am: new box-plot icons.
* pixmaps/chart_boxplot_1_2.png: ditto.
* pixmaps/chart_boxplot_1_2.svg: ditto.
* plugins/plot_boxes/gog-boxplot-prefs.glade: implement vertical
box-plots. [#358153]
* plugins/plot_boxes/gog-boxplot.c: ditto.
* plugins/plot_boxes/gog-boxplot.h: ditto.
* plugins/plot_boxes/plot-types.xml.in: ditto.
2006-09-30 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/plot-types.xml.in: fixed the has-lines flag
after the interpolation patch.
2006-09-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style-prefs.glade: add an interpolation type
selector.
* goffice/graph/gog-style.c: add interpolation type to GogStyle.
* goffice/graph/gog-style.h: ditto.
* goffice/utils/go-line.c: add support for general interpolation
types.
* goffice/utils/go-line.h: ditto.
* plugins/plot_xy/gog-xy.c: use interpolation types in series.
* plugins/plot_xy/gog-xy.h: ditto.
2006-09-26 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* configure.in: lower cairo requirement to 1.0. Use SVG renderer if
cairo SVG backend is not available.
* goffice/graph/Makefile.am: ditto.
* goffice/graph/gog-graph.c (gog_graph_get_supported_image_formats): SVG
always supported.
* goffice/graph/gog-renderer-cairo.c
(gog_renderer_cairo_export_image): move
cairo_surface_set_fallback_resolution inside #ifdef statements. This
is a new API only available in cairo >= 1.2.0, as PDF and PS backends.
2006-09-18 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-style-prefs.glade: some tweaks. Use only two color
selectors for gradient/pattern.
* goffice/graph/gog-style.c: ditto. use new pattern/marker/line/color
selectors.
* goffice/gtk/go-color-palette.c: convert ColorNamePair to
GONamedColor, for use of default_color_set in go-color-selector.c.
* goffice/gtk/go-color-selector.c: share default_color_set.
Add some documentation.
* goffice/gtk/go-line-selector.c: Add some documentation.
* goffice/gtk/go-marker-selector.c: ditto.
* goffice/gtk/go-pattern-selector.c: ditto.
* goffice/gtk/go-selector.c: ditto.
* goffice/gtk/go-palette.c: ditto.
(cb_swatch_expose): implementation for gtk < 2.8.0.
* goffice/utils/go-gradient.c (go_gradient_selector): removed.
* goffice/utils/go-line.c (go_line_dash_selector): removed.
* goffice/utils/go-marker.c (go_marker_selector): removed.
* goffice/utils/go-pattern.c (go_pattern_selector): removed.
* goffice/utils/format.c (find_decimal_char): fix warning.
2006-09-17 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* configure.in: hard dependency to cairo 1.2.0. Alwayas define
GOFFICE_WITH_CAIRO.
* goffice/graph/Makefile.am: always build cairo renderer. Don't build
pixbuf and svg renderers.
* goffice/graph/gog-axis.c: suppress condition on GOFFICE_WITH_CAIRO
(format with markup).
* goffice/graph/gog-graph.c: ditto.
* goffice/graph/gog-renderer-gnome-print.c: ditto (text with markup).
* goffice/graph/gog-renderer.[ch]: ditto.
* goffice/graph/gog-style.[ch]: ditto.
* goffice/utils/go-image.[ch]: ditto.
2006-09-16 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-guru.c (cb_canvas_select_item): fix for first
click lost.
2006-09-14 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/utils/go-file.h: The check for HAVE_G_ACCESS is in
go-file.c and should not be put in a public header.
2006-09-12 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin.c (go_plugin_read): Plug leak.
* goffice/component/go-component-factory.c
(go_component_type_service_read_xml): Plug leak.
2006-09-10 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add drag and drop support to color selector.
Postpone palette content creation to widget realization.
* goffice/gtk/go-color-selector.c (cb_color_dialog_response): use
go_color_selector_set_color.
(go_color_selector_drag_data_received),
(go_color_selector_drag_data_get),
(go_color_selector_drag_fill_icon): new.
(go_color_selector_new): setup drag and drop.
(go_color_selector_set_color): return TRUE if color actually changed.
* goffice/gtk/go-palette.c (go_palette_realize): fill menu here. That
makes dialog with lot of selectors appear faster.
(go_palette_new): don't fill menu.
(go_palette_show_automatic): ditto.
(go_palette_show_custom): ditto.
* goffice/gtk/go-selector.c (go_selector_drag_data_received),
(go_selector_drag_data_get), (go_selector_drag_begin): new.
We should make drag_begin smarter and don't require a custom
implementation.
(go_selector_setup_dnd): new.
2006-09-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component-factory.c:
(goc_plugin_services_shutdown): clean hash tables,
(go_components_set_mime_suffix), (go_components_get_mime_suffix):
new utilities.
* goffice/component/go-component-factory.h: add two utilities.
2006-09-07 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_boxes/gog-histogram.c:
(gog_histogram_plot_view_render): check if a series is present before
using it (fixes #354705).
2006-09-07 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
* .cvsignore:
* goffice/.cvsignore:
* goffice/app/.cvsignore:
* goffice/component/.cvsignore:
* goffice/data/.cvsignore:
* goffice/drawing/.cvsignore:
* goffice/graph/.cvsignore:
* goffice/gtk/.cvsignore:
* goffice/ms-compat/.cvsignore:
* goffice/utils/.cvsignore: added *.def
* configure.in: distinguishs between native Win32 and Cygwin. The later one is
actually a kind of Unix whose share object shares the properties of a DLL.
* goffice.mk:
* goffice/goffice.h: defines GO_VAR_DECL
* goffice-win32.mk:
* dumpdef.pl: recognizes GO_VAR_DECL (dllexport) for global variables.
* goffice/Makefile.am:
* goffice/app/Makefile.am:
* goffice/component/Makefile.am: fixed Win32 build
* goffice/app/go-plugin.c:
* goffice/gtk/goffice-gtk.c:
* goffice/utils/go-file.[ch]: added go_file_access().
* goffice/app/file.c:
* goffice/app/go-doc-control-impl.h:
* goffice/app/go-doc.[ch]:
* goffice/component/go-component-factory.c:
* goffice/component/go-component.h:
* goffice/cut-n-paste/foocanvas/foo-canvas-line.c:
* goffice/cut-n-paste/foocanvas/foo-canvas-polygon.c:
* goffice/drawing/god-drawing-renderer-gdk.c:
* goffice/graph/gog-axis.c:
* goffice/graph/gog-guru.c:
* goffice/graph/gog-renderer-cairo.h:
* goffice/graph/gog-renderer-svg.c:
* goffice/graph/gog-style.c:
* goffice/graph/gog-theme.c:
* goffice/gtk/go-action-combo-color.c:
* goffice/gtk/go-action-combo-pixmaps.c:
* goffice/gtk/go-color-palette.c:
* goffice/gtk/go-combo-box.c:
* goffice/gtk/go-combo-color.c:
* goffice/gtk/go-combo-pixmaps.c:
* goffice/gtk/go-font-sel.c:
* goffice/gtk/go-graph-widget.h:
* goffice/utils/format.c:
* goffice/utils/formats.c:
* goffice/utils/go-color.h:
* goffice/utils/go-font.h:
* goffice/utils/go-format.[ch]:
* goffice/utils/go-geometry.c:
* goffice/utils/go-glib-extras.[ch]:
* goffice/utils/go-marker.c:
* goffice/utils/go-math.h:
* goffice/utils/go-pattern.c: replaced all #warning with /* FIXME ...*/
replaced all calls to rint() with go_rint(), uses GO_VAR_DECL for all
public global variables, replaced ssize_t with gssize, etc.
2006-09-04 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/gtk/go-gradient-selector.[ch]: new.
* goffice/gtk/go-color-selector.c (go_color_selector_set_color): new.
* goffice/gtk/go-marker-selector.c (go_marker_palette_render_func):
use marker colors.
(go_marker_selector_new): ditto.
(go_marker_selector_set_colors): new.
* goffice/gtk/go-palette.c (cb_swatch_expose): don't leak cairo_t.
2006-09-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/gtk/go-color-group.c (go_color_group_add_color): fix
history.
2006-09-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
New GOPalette and GOSelector widgets for unification
and beautification of goffice selectors. They depend on
cairo, so I'm not using them for now, until we change gtk
version requirement.
* goffice/gtk/go-line-selector.[ch],
* goffice/gtk/go-marker-selector.[ch],
* goffice/gtk/go-pattern-selector.[ch],
* goffice/gtk/go-color-selector.[ch],
* goffice/gtk/go-selector.[ch],
* goffice/gtk/go-palette.[ch]: new.
2006-08-21 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c: (graph_guru_init_format_page): explicitly
create the FooCanvas widget instead of using the custom widget mechanism
from libglade, because when called from the Abiword plugin, the
foo_canvas_new might be unresolved and lead to a crash
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190579).
* goffice/graph/gog-guru.glade: ditto.
2006-08-20 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add a graph theme selector.
* goffice/graph/gog-graph.c (cb_theme_changed): new.
(cb_force_theme): new.
(gog_graph_populate_editor): new.
(gog_graph_class_init): install graph property editor.
(apply_theme): new.
* goffice/graph/gog-plot-engine.c (gog_theme_service_read_xml): adapt
to GogTheme API changes.
* goffice/graph/gog-theme.c: remove theme hash caches. They were
broken. I didn't see a good way to fix them.
(gog_theme_register): renamed to gog_theme_registry_add. Change theme
list order.
(gog_theme_new_from_file): new. Don't register theme to be consistent
with got_theme_new.
(gog_theme_register_file): removed.
(gog_theme_lookup): renamed to gog_theme_registry_lookup.
(gog_theme_registry_get_theme_names): new.
(gog_themes_init): Theme for chart titles. Tweak Guppi theme.
2006-08-18 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (str_as_image_type),
(image_type_as_str), (gog_style_fill_sax_save),
(gog_style_image_load), (gog_style_fill_load),
(gog_style_sax_load_fill_image), (gog_style_persist_prep_sax): save
image fill options.
* goffice/utils/go-image.c: (go_image_get_pixbuf): don't crash if image
is NULL [#348780].
2006-08-17 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis-line.c (gog_axis_base_set_property): handle
new padding property.
(gog_axis_base_get_property): ditto.
(gog_axis_base_class_init): ditto.
(cb_position_toggled): make padding spinbutton insensitive when
padding setting is not relevent.
(cb_padding_changed): new.
(gog_axis_base_populate_editor): handle padding spinbutton.
(gog_axis_base_get_padding): new.
(axis_line_point): take padding setting into account.
(axis_line_get_bbox): ditto.
(axis_line_render): ditto. Store axis position here for use by
axis tools...
(x_process): ... instead of here. Adapt to new axis_line_render and
axis_line_point signature.
(xy_process): ditto.
(radar_process): ditto.
* goffice/graph/gog-axis-prefs.glade: add new padding spinbutton.
2006-08-11 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-object.c (gog_editor_get_notebook): always show
notebook tabs. Makes thing more consistent.
* plugins/plot_xy/gog-xy.c (gog_xy_series_populate_editor): don't display
details on first page.
2006-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* configure.in: bump cairo req to 1.2.0 for
cairo_surface_set_fallback_resolution.
* goffice/graph/gog-renderer-cairo.c
(gog_renderer_cairo_export_image): call
cairo_surface_set_fallback_resolution.
* goffice/gtk/goffice-gtk.c (cb_format_combo_changed): new.
(gui_get_image_save_info): disable resolution spinbutton for formats
that don't require a resolution setting.
* goffice/utils/go-image.c: set is_dpi_useful to FALSE for PDF format.
* goffice/app/go-plugin.c (plugin_get_loader_if_needed): fix compiler
warning.
(go_plugin_list_read_for_subdirs_of_dir): ditto.
2006-08-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis.c (map_discrete_calc_ticks): use go_fake_ceil
and go_fake_floor variants preventively.
(map_linear_calc_ticks): ditto. (Not preventively in this case, I've
really seen an issue on my laptop, where lower bound tick was not
displayed for minimum < 0.0).
(map_log_auto_bounds): ditto.
(map_log_calc_ticks): ditto.
2006-07-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/plot_radar/gog-radar.c (gog_rt_view_render): fix a crash
where clip path == NULL (#349238).
2006-07-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-theme.c (gog_themes_init): set serie default fill
style to GOG_FILL_STYLE_PATTERN.
* plugins/plot_boxes/gog-histogram.c (gog_histogram_plot_view_render):
make histogram plots sharp.
2006-07-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/plot_xy/gog-axy.c (gog_xy_view_render): make step
interpolation sharp.
2006-07-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/plot_barcol/gog-barcol.c (barcol_draw_rect): make barcol
plot log scale safe.
2006-07-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_resolve_relative): Add
preconditions.
2006-06-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* plugins/plot_radar/gog-radar.c (gog_rt_view_class_init): disable
default clipping.
2006-06-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add support for polar plot units (degrees, radians, grads).
* goffice/graph/gog-axis.c (map_linear_auto_bound): handle radian
and grad case.
(gog_axis_set_format): request an object update.
(gog_axis_set_property): handle new circular_rotation and polar_unit
properties.
(gog_axis_get_property): ditto.
(gog_axis_class_init): ditto.
(gog_axis_pref_state_free): new.
(gog_axis_populate_polar_unit_combo): new.
(cb_polar_unit_changed): new.
(cb_rotation_changed): new.
(gog_axis_populate_editor): handle circular_rotation and polar_unit
properties.
(gog_axis_set_polar_unit): new.
(gog_axis_get_polar_unit): new.
(gog_axis_get_polar_perimeter): new.
(gog_axis_get_circular_rotation): new.
* goffice/graph/gog-chart.c (calc_circle_parameters): fix wrong
calculations.
(gog_chart_map_new): handle other polar units.
* goffice/utils/format.c (go_format_number): handle new ?pi/? format.
* plugins/plot_radar/gog-radar.c (gog_polar_plot_axis_get_bounds):
don't limit bounds to 0 / 360 °.
2006-06-28 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.h : include <cairo.h> rather than
<cairo/cairo.h>
* goffice/utils/go-image.h : ditto.
2006-06-16 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Add support for background stripes.
* goffice/graph/gog-chart.c (grid_line_render): render stripes, then
lines. Add a kludge layer on top of the initial kludge, since we
don't use GogView::render, but specialized render functions.
* goffice/graph/gog-grid-line.c (gog_grid_line_init_style): enable
fill property.
(fill_rectangle): new.
(gog_grid_line_xy_render): new.
(gog_grid_line_radial_render): new.
(gog_grid_line_circular_render): new.
(gog_grid_line_view_render): not called directly by GogView::render.
Now has a stripes parameter.
(gog_grid_line_view_render_lines): new.
(gog_grid_line_view_render_stripes): new.
* goffice/graph/gog-renderer.c (gog_renderer_get_ring_wedge_vpath):
automatically swap in and out radii. Fix fill decision.
Fix ring wedges.
* goffice/graph/gog-style.c (gog_style_init): set fill to none by
default. That'll be overriden by theme settings.
* goffice/graph/gog-theme (gog_themes_init): init fill property of
GogGridLine objects.
2006-06-15 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=344747
* goffice/graph/gog-axis.c (gog_axis_get_format) : new.
(gog_axis_set_format) : make public.
2006-06-14 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-marker.c : constify
* goffice/utils/go-cairo.c : tweak comments to make gtk-doc happy.
2006-06-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer-cairo.c: (grc_draw_polygon): GogStyle now use
GOImage instead of GdkPixbuf.
* goffice/graph/gog-renderer-gnome-print.c:
(gog_renderer_gnome_print_draw_polygon): ditto.
* goffice/graph/gog-renderer-pixbuf.c:
(gog_renderer_pixbuf_draw_polygon): ditto.
* goffice/graph/gog-style.c: (gog_style_set_image_preview),
(gog_style_set_fill_image_filename),
(gog_style_create_cairo_pattern): ditto.
* goffice/graph/gog-style.h: ditto.
* goffice/utils/go-cairo.c: (go_cairo_fill): ditto.
* goffice/utils/go-image.c: (go_image_set_property),
(go_image_class_init), (go_image_get_pixbuf),
(go_image_new_from_file), (go_image_get_pixels),
(go_image_get_rowstride), (go_image_fill): add new functions and fixed some
issues.
* goffice/utils/go-image.h: new functions.
2006-06-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-marker.c: (marker_update_pixbuf): free old
pixbuf if any,
(go_marker_assign): unref destination pixbuf, not source.
2006-06-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c: (libgoffice_init): set initialized to TRUE
after initialization.
2006-05-31 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_view_render): fixed
discrete axis origin.
* plugins/plot_barcol/gog-minmax.c: (gog_minmax_view_render): ditto.
2006-05-30 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* pixmaps/chart_scatter_*: simplification.
2006-05-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c: modifying the graph secured.
2006-05-29 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/utils/go-path.c: new.
* goffice/utils/go-path.h: new.
* goffice/utils/go-path-impl.h: new.
* goffice/utils/go-cairo.c: new.
* goffice/utils/go-cairo.h: new. These files are just commited, not
used yet.
2006-05-26 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/gog-xy.c: add four types of stepped plots.
* plugins/plot_xy/gog-xy.h: ditto.
* plugins/plot_xy/plot-types.xml.in: ditto.
2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-image.c: Fix preprocessor conditionals.
2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-renderer-cairo.c: (grc_draw_polygon),
(gog_renderer_cairo_update): use GOImage.
* goffice/graph/gog-style.c: (gog_style_create_cairo_pattern): ditto.
* goffice/graph/gog-style.h: ditto.
* goffice/utils/go-image.c: new GOImage object.
* goffice/utils/go-image.h: ditto.
* goffice/utils/goffice-utils.h: ditto.
2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-barcol.c: (gog_barcol_view_render):
fixed rendering of series lines in bar plots.
2006-05-25 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: add new pixmaps for step plots.
* pixmaps/chart_scatter_3_1.svg: new icon.
* pixmaps/chart_scatter_4_1.png: ditto.
* pixmaps/chart_scatter_4_1.svg: ditto.
* pixmaps/chart_scatter_4_2.png: ditto.
* pixmaps/chart_scatter_4_2.svg: ditto.
* pixmaps/chart_scatter_4_3.png: ditto.
* pixmaps/chart_scatter_4_3.svg: ditto.
* pixmaps/chart_scatter_4_4.png: ditto.
* pixmaps/chart_scatter_4_4.svg: ditto.
2006-05-24 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis.c (get_adjusted_tick_array): removed.
(map_log_calc_ticks): use g_renew instead of get_adjusted_tick_array.
2006-05-22 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis.c (map_log_calc_ticks): fix major start tick.
(get_adjusted_tick_array): obviously, I'm not reliable when it comes
to calculate memory allocation sizes, so emit a critical when
something's wrong.
2006-05-22 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/utils/go-image.c (go_image_build_pixbuf_format_infos):
default alpha_support to FALSE.
* goffice/graph/gog-renderer-cairo.c
(gog_renderer_cairo_export_image): extend image export to all format
with pixbuf savers.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_export_image): ditto.
* goffice/graph/gog-renderer.c (gog_renderer_new_for_format): ditto.
2006-05-22 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/utils/go-format.c: new alpha_support property for
GOImageFormatInfo. Tells wether export format support alpha channel.
* goffice/graph/gog-renderer-cairo.c
(gog_renderer_cairo_export_image): for image formats that don't
support alpha channel, composite onto white background.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_export_image): ditto.
2006-05-19 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-renderer.c (gog_renderer_new_for_format): Fix
preprocessor conditionals.
2006-05-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c: removed unused GOGraphWidget::chart,
and reimplemented helper function go_graph_widget_get_chart for
compatibility.
2006-05-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-graph.c: (gog_graph_render_to_cairo): new function.
* goffice/graph/gog-graph.h: ditto.
* goffice/graph/gog-renderer-cairo.c: added "cairo" and "is-vector"
properties to allow rendering to an external cairo_t structure.
2006-05-14 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: use Cairo if present.
* goffice/goffice-features.h.in: export GOFFICE_WITH_CAIRO.
* goffice/graph/gog-style.c: compile even without cairo.
* goffice/graph/gog-style.h: ditto.
2006-05-13 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.c (gog_style_create_cairo_pattern) :
constify and fix some warnings.
2006-05-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin.c: (go_plugins_add): new function.
* goffice/app/go-plugin.h: ditto.
2006-05-12 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (split_time): Handle invalid dates
sanely.
2006-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-color.h: define GO_COLOR_TO_CAIRO.
2006-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-style.c: (pixbuf_to_cairo),
(gog_style_create_cairo_pattern): new cairo support functions.
* goffice/graph/gog-style.h: ditto.
2006-05-12 Christian Neumair <chris@gnome-de.org>
* goffice/gtk/go-graph-widget.c:
* goffice/gtk/go-graph-widget.h: Add multiple size modes,
modify go_graph_widget_new to take a GogGraph *.
* tests/pie-demo.c: (main): Pass NULL to go_graph_widget_new.
2006-05-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.c: change api.
* goffice/component/go-component.h: ditto.
2006-05-08 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_render_general): Extracted from
gnumeric.
(go_fmt_general_float, go_fmt_general_int): Remove. All callers
fixed.
(go_render_number_scientific, go_format_number): Handle
unicode_minus.
* goffice/utils/go-format.c (go_format_value_gstring): Add
unicode_minus flag. All callers changed.
* goffice/utils/go-font.c (go_font_metrics_new,
go_font_metrics_free, go_font_metrics_unit): New, moved from
Gnumeric.
2006-05-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-style.c (text_layout_init): Add border around
rotation selector widget.
2006-05-06 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text):
Use markup when compiled with cairo support.
(gog_renderer_gnome_print_get_text_OBR): ditto.
2006-05-02 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c: (gog_pie_view_render): fixed max angle
for partial ring plots (which are not implemented).
2006-05-01 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_pie/gog-pie.c: (gog_pie_plot_class_init),
(gog_pie_plot_init), (find_element), (gog_pie_view_render):
use percentage for span instead of degrees.
* plugins/plot_pie/plot-types.xml.in: ditto.
2006-05-01 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: add new pixmaps for half pies.
* pixmaps/chart_pie_3_1.png: ditto.
* pixmaps/chart_pie_3_1.svg: ditto.
* pixmaps/chart_pie_3_2.png: ditto.
* pixmaps/chart_pie_3_2.svg: ditto.
* plugins/plot_pie/gog-pie.c: (gog_pie_plot_set_property),
(gog_pie_plot_get_property), (gog_pie_plot_class_init),
(gog_pie_plot_init), (find_element), (gog_pie_view_render):
add support for half pies.
* plugins/plot_pie/gog-pie.h: ditto.
* plugins/plot_pie/plot-types.xml.in: ditto.
2006-04-27 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-text.c
(go_action_combo_text_create_menu_item): New function. Fixes
#157901.
(go_action_combo_text_finalize): Plug leak.
2006-04-25 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump to 0.3.1
2006-04-23 Jody Goldberg <jody@gnome.org>
* Release 0.3.0
2006-04-22 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c (cb_select): Send "changed" signal
here.
2006-04-20 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-optionmenu.c: Simplify.
* goffice/gtk/go-action-combo-text.c
(go_tool_combo_text_set_tooltip): Implement.
2006-04-19 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/gtk/go-image-save-dialog-extra.glade: new.
* goffice/gtk/goffice-gtk.c (go_gtk_select_image): use glade file
above for widgets in extra area. Displays a spin box for selecting
output resolution.
2006-04-18 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_dialog_run): Hold a ref to the
dialog until we're done with it. Don't install an [Esc] handler
since gtk_dialog_run does that now.
2006-04-17 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/utils/format.c (go_render_number_scientific): fix for
#338554 (1-epsilon was displayed 10.00E-01 instead of 1.00E-00).
Also fix handling of optional right digits.
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove obsolete entry for no_NO
* po/no.po: And the translation.
2006-04-16 Jody Goldberg <jody@gnome.org>
* *.[ch] : Clear the easy bit for --without-gtk
Leaving us with a library that lack GdkPixbuf and needs a
replacement for GtkAnchorType. Still not exactly turn-key but it
makes the primary elements clear.
2006-04-10 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis.c (map_log_baseline): inverted or not,
baseline is always min.
* plugins/plot_boxes/gog-histogram.c
(gog_histogram_plot_view_render): fix in case of log y axis.
2006-04-10 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (format_compile): Fix handling of
[$curr]. Fixes #337796.
(format_compile): Fix ABR.
2006-04-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c: (gogo_start): use
gog_trend_line_new_by_name instead of obsolete gog_reg_curve_new_by_name.
2006-04-08 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add new plugin (smoothed curves).
* goffice/graph/Makefile.am: add new files.
* goffice/graph/goffice-graph.h: add GogTrendLine and GogSmoothedCurve
types.
* goffice/graph/gog-chart.c: fixed typo.
* goffice/graph/gog-guru.c: replace GogRegCurve by GogTrendLine.
* goffice/graph/gog-object-xml.c: ditto.
* goffice/graph/gog-plot-engine.c: ditto.
* goffice/graph/gog-plot-engine.h: ditto.
* goffice/graph/gog-reg-curve.c: make GogRegCurve derive from GogTrendLine.
* goffice/graph/gog-reg-curve.h: ditto.
* goffice/graph/gog-series-impl.h: replace regression curves by trend lines.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-smoothed-curve.c: new smoothed curves:
* goffice/graph/gog-smoothed-curve.h: ditto.
* goffice/graph/gog-theme.c: added tredn lines and removed
regression curves.
* goffice/graph/gog-trend-line.c: new parent object for regression
curves and trend lines.
* goffice/graph/gog-trend-line.h: ditto.
* plugins/Makefile.am: add smoothing plugin.
* plugins/plot_barcol/gog-line.c: accept trend lines.
* plugins/plot_boxes/gog-histogram.c: ditto.
* plugins/plot_xy/gog-xy.c: ditto.
* plugins/reg_linear/plugin.xml.in: changed service name.
* plugins/reg_logfit/plugin.xml.in: ditto.
* plugins/smoothing/Makefile.am: new moving average curves.
* plugins/smoothing/gog-exp-smooth.c: ditto.
* plugins/smoothing/gog-exp-smooth.glade: ditto.
* plugins/smoothing/gog-exp-smooth.h: ditto.
* plugins/smoothing/gog-moving-avg.c: ditto.
* plugins/smoothing/gog-moving-avg.glade: ditto.
* plugins/smoothing/gog-moving-avg.h: ditto.
* plugins/smoothing/plugin.c: ditto.
* plugins/smoothing/plugin.xml.in: ditto.
* plugins/smoothing/types.xml.in: ditto.
2006-04-06 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c
(go_dialog_guess_alternative_button_order): New function.
2006-04-06 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_access): Replace by g_access, if
present, and by access otherwise.
* goffice/app/go-plugin.c (go_plugin_deactivate): Only unload base
if it is actually loaded.
* goffice/utils/format.c (go_format_number): Show 0/x also when
whole==0, even if we rendered it (blank).
* goffice/utils/formats.c (go_currency_date_format_init): Match
more fraction formats.
(cell_format_is_fraction): Adjust accordingly.
2006-04-05 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_xy/Makefile.am: add new glade file.
* plugins/plot_xy/gog-xy-series-prefs.glade: new glade file.
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
(gog_xy_series_set_property), (gog_xy_series_get_property),
(invalid_toggled_cb), (gog_xy_series_populate_editor),
(gog_xy_series_class_init): use zero instead of invalid data or
skip them [#334697].
* plugins/plot_xy/gog-xy.h: ditto.
2006-04-04 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix engineering format: http://bugzilla.gnome.org/show_bug.cgi?id=129706
Adds a special format using pango markup for superscripted exponents,
currently only enabled in format selector in graph guru when using
cairo renderer.
* goffice/graph/gog-axis.c (gog_axis_populate_editor): enable format
with markup when using cairo.
* goffice/gtk/go-format-sel.c (generate_format): handle new format
settings.
(go_format_sel_set_style_format): ditto.
(cb_engineering_toggle): new.
(cb_superscript_toggle): new.
(cb_superscript_hide_1_toggle): new.
(fmt_dialog_enable_widgets): handle new scientific format widgets.
(nfs_init): ditto.
(go_format_sel_new_full): new. Provides a way to enable format with
markup.
(go_format_sel_new): creates a new format selector with pango markup
disabled.
* goffice/gtk/go-format-sel.glade: add new widgets for scientific
format.
* goffice/utils/format.c (go_render_number_scientific): new.
(do_render_number): call go_render_number_scientific when needed.
(go_format_as_scientific): handle exponent step, use of marlup and
simplification of mantissa.
(go_format_number): fix handling of scientific/engineering format.
* goffice/utils/formats.c (go_currency_date_format_init): expand
science/percentage format.
(cell_format_is_number): handle simplification of mantissa, use of
markup and exponent step for scientific format.
2006-04-04 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin.c (go_plugin_deactivate): Unload the
plugin so the shutdown hook gets called.
(go_plugin_read_service_list): Ditto.
2006-03-29 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (append_day): Use go_date_weekday_name.
(append_month): Use go_date_month_name. Fix UTF-8 problem.
(day_short, day_long, month_short, month_long): Remove.
(format_entry_ctor): Don't setup regexps.
(format_entry_set_fmt): Ditto.
(format_entry_dtor): Don't destroy regexps.
* goffice/utils/Makefile.am (libgoffice_utils_la_HEADERS): Kill
go-format-match.h
2006-03-29 Eduardo Lima <eduardo.lima@indt.org.br>
* configure.in: Fixed check for g_chmod().
2006-03-28 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (go_date_weekday_name,
go_date_month_name): New function. This should allow for a
cleaner interface.
2006-03-28 Eduardo Lima <eduardo.lima@indt.org.br>
* configure.in: Borrowed code from libgsf to check for g_chmod(),
avoiding dependency on glib 2.8.
* goffice/utils/go-file.c (go_set_file_permissions): Call chmod()
instead of g_chmod() if not defined HAVE_G_CHMOD.
2006-03-23 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (datetime_serial_to_g): Don't go beyond
year 9999.
2006-03-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_make_relative): New function.
2006-03-20 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_filename_simplify): New function.
(go_filename_to_uri): Extracted from here.
(go_url_simplify): New function.
(go_url_resolve_relative): Extracted from here.
(go_shell_arg_to_uri): Use go_url_simplify.
2006-03-19 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.c (datetime_g_days_between): Remove.
glib has g_date_days_between.
2006-03-18 Jody Goldberg <jody@gnome.org>
* goffice/app/go-doc.c : actually implement some basics
2006-03-18 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_url_resolve_relative): New function.
(go_url_encode): Take extra argument to determine what needs
quoting. All Gnumeric callers changed.
2006-03-16 Morten Welinder <terra@gnome.org>
* plugins/plot_surface/gog-surface.c (gog_contour_view_render):
Use NULL, not 0.
* plugins/plot_barcol/gog-1.5d.h: Bitfields need to be explicitly
signed or unsigned.
2006-03-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/module-plugin-defs.h: add a comment for go_plugin_init
and go_plugin_shutdown declaration.
2006-03-15 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/utils/go-file.h: #include <time.h> for time_t.
2006-03-14 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_file_get_owner_name,
go_file_get_group_name): Ensure that result is UTF-8 encoded. Let
the caller free the result. Handle remote files sanely. Plug
leaks.
(go_file_get_date, go_file_get_date_changed,
go_file_get_date_modified, go_file_get_date_accessed): return a
time_t, not a [const] char *. That makes it possible to localize
properly. Plug leak.
(go_set_file_permissions): Plug leaks and avoid dumping non-UTF8
error messages.
(go_get_file_permissions): Plug leak.
2006-03-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/module-plugin-defs.h: add prototypes for go_plugin_init
and go_plugin_shutdown.
* goffice/graph/gog-theme.c: (gog_theme_find_element): initialized
klass = NULL to avoid a warning.
2006-03-11 Jody Goldberg <jody@gnome.org>
* goffice/gtk/go-combo-box.c :
* goffice/gtk/go-color-palette.c :
* goffice/gtk/go-combo-pixmaps.c : use g_object_ref_sink
for newer versions of glib.
* goffice/cut-n-paste/foocanvas : update
* plugins/gnome_extensions/egg-recent-* : update
2006-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/io-context-priv.h: added a exec_main_loop flag to IOContext
* goffice/app/io-context.c: (io_context_init),
(io_context_set_property), (io_context_get_property),
(io_context_class_init), (io_progress_update): ditto, and implement it
as a GObject property.
2006-03-03 Eduardo Lima <eduardo.lima@indt.org.br>
* goffice/utils/go-file.[ch] (go_file_get_owner_name): new
(go_file_get_group_name): new
(go_get_file_permissions): new
(go_set_file_permissions): new
(go_file_get_date_accessed): new
(go_file_get_date_modified): new
(go_file_get_date_changed): new
2006-03-03 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-renderer-cairo.c (grc_draw_polygon): implement
stretched image.
2006-03-02 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-axis.c (gog_axis_view_size_allocate): fix axis
label allocation.
2006-03-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-reg-curve.c: (gog_reg_curve_view_render): don't render
segments outside the bounding box [#332990].
2006-02-28 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-legend.c (cb_size_elements): don't push legend
style here. Pass GogLegendView pointer directly.
(cb_render_elements): don't push legend style here. Keep marker size
to sane values.
(cb_swatch_scale): calculate maximum and minimum marker size.
(gog_legend_view_size_request): make swatch size a function of legend
font size.
(gog_legend_view_render): ditto. Keep marker size to sane values.
* goffice/graph/gog-plot.c (gog_tool_move_plot_area_double_click): set
position to automatic on double click.
* goffice/graph/gog-object.c (gog_tool_move_object_double_click):
ditto.
* goffice/graph/gog-style.c (gog_style_get_marker): new.
2006-02-25 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c: (go_mime_type_get_description): use
GOFFICE_WITH_GNOME instead of WITH_GNOME.
2006-02-25 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* goffice/graph/gog-object-prefs.glade: Use a combo_box for
manual/automatic position selection.
* goffice/graph/gog-plot-prefs.glade: ditto.
* goffice/graph/gog-object.c (cb_manuel_position_changed): ditto.
(gog_object_populate_editor): ditto.
* goffice/graph/gog-plot.c (cb_manual_position_changed): ditto. Was
cb_manual_toggle_changed.
(cb_update_editor): ditto.
(gog_plot_populate_editor): ditto.
2006-02-21 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Move plot area property editor to GogPlot.
* goffice/graph/gog-axis-line.c (gog_tool_select_axis_point),
(gog_tool_select_axis_render),
(gog_tool_move_stop_bound_point),
(gog_tool_move_stop_bound_render): check for axis type.
* goffice/graph/gog-chart-prefs.glade: move to gog-plot-prefs.glade.
* goffice/graph/gog-chart.c (chart_pref_state_free),
(cb_plot_area_changed), (cb_manual_toggle_changed),
(gog_chart_populate_editor): remove plot area property editor.
* goffice/graph/gog-plot.c (plot_pref_state_free),
(cb_plot_area_changed), (cb_manual_toggle_changed): new.
(cb_axis_changed): axis type stored as object data.
(cb_update_editor): new.
(gog_plot_populate_editor): add plot area property editor.
* plugins/plot_pie/gog-pie.c (gog_pie_plot_populate_editor): show plot
area editor.
(gog_pie_view_build_toolkit): and enable edition by mouse.
* plugins/plot_surface/gog-surface.c
(gog_contour_plot_populate_editor): show plot area editor.
* goffice/graph/gog-renderer-cairo.c (grc_pixbuf_to_cairo): probably
fix pixbuf to cairo data conversion for big endian in a renamed
grc_invert_pixbuf_RB.
* goffice/graph/gog-view.c (gog_tool_select_object_render): fix object
outline.
2006-02-19 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
* goffice/Makefile.am: use the right library version when making
.lib file.
2006-02-18 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
* configure.in:
* dumpdef.pl: NEW
* goffice.mk:
* goffice-win32.mk: NEW
* goffice/Makefile.am:
* goffice/app/Makefile.am:
* goffice/cut-n-paste/foocanvas/Makefile.am:
* goffice/data/Makefile.am:
* goffice/drawing/Makefile.am:
* goffice/graph/Makefile.am:
* goffice/gtk/Makefile.am:
* goffice/ms-compat/Makefile.am:
* goffice/utils/Makefile.am:
[Win32] 1.) For every source directory of a library, pass all
the public headers (with all #include removed) to the C preprocessor.
2.) Pass the result from 1. to a perl script which extracts names of
all the public functions and variables. 3.) Concat all from step 2. to
produce a single .def file at the top directory of the library. No
--export-all-symbols anymore.
* goffice/gtk/goffice-gtk.c:
* goffice/utils/Makefile.am:
* goffice/utils/go-file.c:
win32-stub is no longer needed.
* goffice/app/module-plugin-defs.h:
* goffice/data/go-data.h:
* goffice/graph/gog-axis-line-impl.h:
* goffice/graph/gog-object-xml.h:
* goffice/graph/gog-series-lines.h:
* goffice/graph/gog-view.h:
* goffice/gtk/go-combo-color.h:
* goffice/utils/go-glib-extras.h:
* goffice/utils/go-marker.h:
* goffice/utils/regutf8.h:
Remove non-exist public function declarations.
2006-02-16 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Fix handling of
decimals.
2006-02-16 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Fix handling of
decimals.
2006-02-13 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_number_format_init): Renamed from
number_format_init. All callers changed.
(go_number_format_shutdown): Renamed from number_format_shutdown.
All callers changed.
* goffice/utils/formats.c (go_currency_date_format_init): Renamed
from currency_date_format_init. All callers changed.
(go_currency_date_format_shutdown): Renamed from
currency_date_format_shutdown. All callers changed.
* goffice/goffice.c (libgoffice_init): Call
go_currency_date_format_init.
(libgoffice_shutdown): Call go_currency_date_format_shutdown.
2006-02-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component.h: add GOC_PARAM_PERSISTENT flag.
2006-02-08 Morten Welinder <terra@gnome.org>
* plugins/reg_linear/gog-polynom-reg.c (append_number): New
subroutine to get minuses right.
2006-02-06 Morten Welinder <terra@gnome.org>
* plugins/reg_linear/gog-polynom-reg.c
(gog_polynom_reg_curve_get_equation): Simplify. Handle exponents
>= 10 again. Include highest terms. Drop "1" factors. Handle
degenerate case of "y = 0".
2006-02-06 Morten Welinder <terra@gnome.org>
* plugins/reg_linear/gog-polynom-reg.c: Constify.
2006-02-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series-impl.h: add get_xy_data to GogSeriesClass
(needed by regrerssion curves in histograms and line plots.
* goffice/graph/gog-series.c: (gog_series_get_xy_data): new function.
* goffice/graph/gog-series.h: ditto.
* goffice/utils/go-regression.c: (go_power_regression): new regression
method, (go_non_linear_regression): fix params updates.
* goffice/utils/go-regression.h: new power regressions.
* plugins/plot_barcol/gog-1.5d.c: (go_plugin_init): add a view to
GogLinePlot to support regression curves [#328236].
* plugins/plot_barcol/gog-line.c: (gog_line_series_view_render),
(gog_line_series_view_size_allocate),
(gog_line_series_view_class_init), (gog_line_series_init_style),
(gog_line_series_update), (gog_line_series_get_xy_data),
(gog_line_series_finalize), (gog_line_series_class_init),
(child_added_cb), (gog_line_plot_init), (gog_line_view_render),
(gog_line_view_size_allocate), (gog_line_view_class_init): ditto.
* plugins/plot_barcol/gog-line.h: ditto.
* plugins/plot_boxes/gog-histogram.c: (gog_histogram_plot_update),
(gog_histogram_plot_view_size_allocate),
(gog_histogram_plot_view_class_init), (drop_lines_post_add),
(gog_histogram_plot_series_update),
(gog_histogram_plot_series_finalize),
(gog_histogram_plot_series_get_xy_data),
(gog_histogram_plot_series_class_init),
(gog_histogram_plot_series_init): support regression curves.
* plugins/reg_linear/Makefile.am: add new power regression.
* plugins/reg_linear/gog-exp-reg.c:
(gog_exp_reg_curve_get_equation): fixed equation [#328236].
* plugins/reg_linear/gog-lin-reg.c: (gog_lin_reg_curve_update),
(gog_lin_reg_curve_get_equation),
(gog_lin_reg_curve_populate_editor), (go_plugin_init):
* plugins/reg_linear/gog-log-reg.c:
(gog_log_reg_curve_get_equation): ditto.
* plugins/reg_linear/gog-polynom-reg.c:
(gog_polynom_reg_curve_get_equation): ditto.
* plugins/reg_linear/gog-power.c: new power regression curves.
* plugins/reg_linear/gog-power.h: ditto.
* plugins/reg_linear/plugin.xml.in: ditto.
* plugins/reg_linear/reg-types.xml.in: ditto.
* plugins/reg_logfit/gog-logfit.c: (gog_log_fit_curve_update),
(gog_log_fit_curve_get_equation): fixed equation [#328236].
2006-01-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-graph.c (gog_graph_view_handle_event): correct use
of GDK_POINTER_MOTION_HINT_MASK, according to gtk tutorial. There's
still a problem with foocanvas which seems to eat a GDK_BUTTON_PRESS
event.
2006-01-26 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_math_init): Prevent compilation with
-ffast-math.
2006-01-23 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-action-combo-color.c: (make_icon),
(go_action_combo_color_connect_proxy): fixed warnings when using a
combo action in a menu.
* goffice/gtk/go-action-combo-pixmaps.c: (make_icon),
(go_action_combo_pixmaps_connect_proxy): ditto.
2006-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Versioned the pixmap files and the translations to make
complete parallel installability of packages easier.
* docs/reference/Makefile.am, goffice/goffice.c, tests/Makefile.am:
follow version change.
2006-01-05 Jody Goldberg <jody@gnome.org>
* goffice.mk (goffice_include_dir) : version the include files to
avoid conflict between stable and unstable.
2006-01-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: change GogSeriesLines definition.
* goffice/graph/gog-series-lines.c: Change the way markers are managed.
* goffice/graph/gog-series-lines.h: ditto.
* goffice/utils/go-libxml-extras.c:
(e_xml_get_child_by_name_by_lang): fix an internaionalization bug.
* pixmaps/Makefile.am: add new histograms pixmaps.
* pixmaps/chart_histogram_1_1.png: ditto.
* pixmaps/chart_histogram_1_1.svg: ditto.
* pixmaps/hist.xpm: ditto.
* plugins/plot_barcol/gog-1.5d.c: (lines_post_add): add markers for lines
in DropBar plots.
* plugins/plot_boxes/Makefile.am: add histograms.
* plugins/plot_boxes/gog-boxplot.c: (go_plugin_init): ditto.
* plugins/plot_boxes/gog-histogram.c: ditto.
* plugins/plot_boxes/gog-histogram.h: ditto.
* plugins/plot_boxes/plot-types.xml.in: ditto.
* plugins/plot_boxes/plugin.xml.in: ditto.
2006-01-01 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-minmax.c: fixed a marker display problem.
2006-01-03 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/gog-error-bar.h: #include <goffice/goffice-features.h>
* goffice/gtk/go-font-sel.c: #include <string.h> for strcmp()
2006-01-02 Stepan Kasal <kasal@ucw.cz>
* Makefile.am: Add DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
* docs/reference/Makefile.am (EXTRA_DIST): Add version.xml,
to work around #314105.
2006-01-01 Stepan Kasal <kasal@ucw.cz>
* docs/reference/Makefile.am (INCLUDES): Remove, it's redundant.
(GTKDOC_CFLAGS): Add -I$(top_builddir).
* docs/reference/goffice.types:
#include <goffice/graph/gog-object-xml.h>
2006-01-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-file.c: (go_mime_type_get_description): new gnome-vfs
wrapper.
* goffice/utils/go-file.h: ditto.
* goffice/utils/go-font.c: moved inclusion of pango-context.h to
header.
* goffice/utils/go-font.h: ditto, removed unused panfo_fc header.
2005-12-30 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-cairo.c (grc_free_marker_data): new.
(gog_renderer_cairo_finalize): call grc_free_marker_data.
(grc_draw_path): don't draw a line if dash_type = GO_LINE_NONE.
(grc_get_marker_surface): use cairo_surface_create_similar and draw marker
here instead of use pixbuf given by go_marker_get_pixbuf.
(gog_renderer_cairo_draw_marker): don't draw marker here for vector
case, just paint a similar surface.
(gog_renderer_cairo_push_style): free marker data.
(gog_renderer_cairo_pop_style): ditto.
2005-12-30 Stepan Kasal <kasal@ucw.cz>
* goffice/.cvsignore: Remove goffice-paths.sh.
2005-12-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-cairo.c (grc_draw_path): invalidate cairo
dash setting when line is not dashed.
(grc_draw_polygon): ditto. Fix a typo.
(gog_renderer_cairo_draw_text): use pango_cairo API instead of toy cairo text API.
(gog_renderer_cairo_get_text_OBR): ditto.
2005-12-22 Stepan Kasal <kasal@ucw.cz>
* docs/reference/goffice-overrides.txt: New file, fixes "make dist".
2005-12-17 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/graph/gog-style.h:
#include <goffice/graph/gog-renderer-pixbuf.h> for GdkPixbuf;
#include <goffice/utils/go-font.h> for PangoFontDescription.
2005-12-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice-features.h.in: add GOFFICE_WITH_GTK and
GOFFICE_WITH_GNOME.
* configure.in: rename WITH_GTK and WITH_GNOME to GOFFICE_WITH_GTK and
GOFFICE_WITH_GNOME.
* goffice/graph/gog-error-bar.c: ditto.
* goffice/graph/gog-error-bar.h: ditto.
* goffice/gtk/goffice-gtk.c: (go_help_display): ditto.
* goffice/utils/go-color.c: ditto.
* goffice/utils/go-color.h: ditto (and include goffice-features.h).
* goffice/utils/go-file.c: (go_filename_from_uri),
(go_filename_to_uri), (go_shell_arg_to_uri),
(go_basename_from_uri), (go_dirname_from_uri), (go_file_open),
(go_file_create), (go_url_show), (go_get_mime_type),
(go_get_mime_type_for_data): ditto.
* goffice/utils/go-gradient.c: ditto.
* goffice/utils/go-gradient.h: ditto (and include goffice-features.h).
* goffice/utils/go-image.c: (go_image_format_to_mime),
(go_image_build_pixbuf_format_infos),
(go_image_get_formats_with_pixbuf_saver): ditto.
* goffice/utils/go-line.c: ditto.
* goffice/utils/go-marker.c: (go_marker_init), (go_marker_assign): ditto.
* goffice/utils/go-marker.h: ditto (and include goffice-features.h).
* goffice/utils/go-pattern.c: ditto.
* goffice/utils/go-pattern.h: ditto (and include goffice-features.h).
2005-12-16 Jean Brefort <jean.brefort@normalesup.org>
* goffice/component/go-component-factory.c: remove go_components_set_screen_resolution
* goffice/component/go-component-factory.h: ditto.
* goffice/component/go-component.c: (go_component_set_size): do not set size if not resizable,
(go_component_draw): draw to correct size whatever the zoom and the screen resolution.
* goffice/component/go-component.h: changed signature of go_component_draw.
2005-12-16 Stepan Kasal <kasal@ucw.cz>
* configure.in (PKG_PROG_PKG_CONFIG): Add an explanation.
* autogen.sh: Add an explanation about REQUIRED_PKG_CONFIG_VERSION.
2005-12-13 Morten Welinder <terra@gnome.org>
* configure.in: Undo change to PKG_PROG_PKG_CONFIG.
2005-12-13 Stepan Kasal <kasal@ucw.cz>
* goffice/gtk/goffice-gtk.h, goffice/gtk/goffice-gtk.c: Move
GOImageFormat, GOImageFormatInfo and related functions to ...
* goffice/utils/go-image.h, goffice/utils/go-image.c: ... a new file.
* goffice/utils/Makefile.am: Add them.
* docs/reference/TODO: Update.
2005-12-13 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_filename_to_uri): Resolve some ".."
cases, namely those where no symlinks are involved.
2005-12-13 Stepan Kasal <kasal@ucw.cz>
* goffice/component/go-component.c (go_component_export_to_svg):
Do not use return without a value.
2005-12-12 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object-xml.c (gog_object_write_xml_sax): Add
precondition. See #323608.
2005-12-12 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* configure.in: bump cairo version requisition to 1.0.0.
* goffice/graph/gog-graph.c (gog_graph_get_supported_image_formats):
new.
(gog_graph_export_image): new.
* goffice/graph/gog-renderer-cairo.c (grc_line_size): handle case of
vector rendering (for SVG, PDF, PS output).
(gog_renderer_cairo_clip_push): ditto.
(gog_renderer_cairo_line_size): ditto.
(gog_renderer_cairo_sharp_path): ditto.
(gog_renderer_cairo_draw_marker): ditto.
(gog_renderer_cairo_draw_text): don't restrict text position to
positive values.
(gcr_gsf_gdk_pixbuf_save): new.
(grc_cairo_write_func): new.
(grc_cairo_setup): remove and move code...
(gog_renderer_cairo_update): ...here.
* goffice/graph/gog-renderer-impl.h (GogRenderer::export_image): new.
* goffice/graph/gog-renderer-pixbuf.c (grp_gsf_gdk_pixbuf_save): new.
(gog_renderer_pixbuf_export_image): new.
* goffice/graph/gog-renderer-svg.c (gog_graph_export_to_svg): removed.
(gog_graph_export_image): new.
* goffice/graph/gog-renderer.c (gog_renderer_new_for_format): new.
(gog_renderer_export_image): new.
* goffice/gtk/goffice-gtk.c (gui_get_image_save_info): format is an
enum now.
(go_image_build_pixbuf_format_infos): new.
(go_image_get_format_info): new.
(go_image_get_format_from_name): new.
(go_image_get_formats_with_pixbuf_saver): new.
2005-12-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Require pkg-config version that understands about
private libraries.
* libgoffice-1.pc.in: Moved @EXTRA_LIBS@ into Libs.private .
2005-12-07 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-format-sel.c (format_entry_set_text): Constify.
(cb_format_list_select): Plug leak.
2005-12-06 Christian Neumair <chris@gnome-de.org>
* goffice/graph/gog-object.c:
* goffice/graph/gog-object.h:
Add gog_object_get_child_by_name API.
2005-12-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-combo-box.c: undef GTK_DISABLE_DEPRECATED. [#323171]
2005-12-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/data/go-data-simple.c: doc fixes.
2005-12-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/goffice-graph.h: declare GogSeriesLines here.
* goffice/graph/gog-axis-line.h: make gtk-doc happy by creating a
GogAxisTickTypes struct.
* goffice/graph/gog-axis-line.c (gog_tool_move_stop_bound_move): don't
access GogAxisMap::axis directly.
* goffice/graph/gog-axis.c: make GogAxisMap and GogAxisMapDesc
private. Doc fixes.
* goffice/graph/gog-chart.c: make GogChartMap private. Documentation
of GogChartMap API.
* goffice/graph/gog-data-allocator.h: doc fixes.
* goffice/graph/gog-data-allocator.c: ditto.
* goffice/graph/gog-renderer-cairo.c: ditto.
* goffice/graph/gog-renderer-pixbuf.c: doc fixes.
* goffice/graph/gog-renderer-gnome-print.c: don't access GOMarker
data directly.
* goffice/graph/gog-renderer-svg.c: ditto.
* goffice/graph/gog-series-lines.c: ditto.
* goffice/gtk/go-combo-box.c: doc fixes.
* goffice/gtk/go-combo-color.c: ditto.
* goffice/gtk/go-combo-pixmaps.c: ditto.
* goffice/gtk/go-combo-text.c: ditto.
* goffice/gtk/go-dock-item.c: ditto.
* goffice/utils/format.c: ditto.
* goffice/utils/go-glib-extras: ditto.
* goffice/utils/go-marker.c: make GOMarker struct private.
2005-12-03 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis: doc fixes.
* goffice/graph/gog-chart.c: ditto.
* goffice/graph/gog-error-bar.c: ditto.
* goffice/graph/gog-object.c: ditto.
* goffice/graph/gog-renderer.c: ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-style.c: ditto.
* goffice/graph/gog-view.c: ditto.
* goffice/gtk/go-dock-item.c: ditto.
* goffice/utils/format.c: ditto.
* goffice/utils/go-geometry.c: ditto.
* goffice/utils/go-pattern.c: ditto.
* goffice/utils/go-regression.c: move doc from headers.
2005-12-03 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-styled-object.c: doc fixes.
2005-12-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/Makefile.am: Don't try to use pcre.la from cut-n-paste when
using the system's pcre library.
2005-12-02 Morten Welinder <terra@gnome.org>
* configure.in: Check for a system libpcre that supports UTF-8.
* goffice/cut-n-paste/Makefile.am: Arrange to use system pcre when
appropriate.
* goffice/utils/Makefile.am: Ditto.
* goffice/utils/regutf8.c: Ditto.
2005-12-02 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* configure.in: build docs/reference/version.xml
2005-12-02 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_shell_arg_to_uri): Be more careful
with filenames that contain colons. Fixed #322799.
2005-11-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_filename_to_uri): Improve slightly
for systems with more than one directory separator.
2005-12-01 Jon K Hellan <hellan@acm.org>
* goffice/graph/gog-renderer.h: Fix typo.
2005-12-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/app/go-plugin.c, goffice/graph/gog-axis.c,
goffice/graph/gog-chart.c, goffice/graph/gog-chart.h,
goffice/graph/gog-data-set.c, goffice/graph/gog-graph.c,
goffice/graph/gog-object.c, goffice/graph/gog-object.h,
goffice/graph/gog-renderer.c, goffice/graph/gog-renderer.h,
goffice/graph/gog-series.c, goffice/graph/gog-theme.c,
goffice/graph/gog-theme.h, goffice/graph/gog-view.c,
goffice/graph/gog-view.h, goffice/gtk/go-combo-color.c,
goffice/gtk/go-combo-text.c, goffice/gtk/goffice-gtk.c,
goffice/utils/datetime.c, goffice/utils/go-geometry.c,
goffice/utils/go-libxml-extras.c: Some gtk-doc fixes.
2005-12-01 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Enable gtk-doc.
* Makefile.am: add docs to SUBDIRS.
* configure.in: add GTK_DOC_CHECK. Add docs Makefile to
AC_CONFIG_FILES.
* docs/Makefile.am: new.
* docs/reference/Makefile.am: new.
* docs/reference/goffice-sections.txt: new. Only include Goffice Graph
API for now.
* docs/reference/goffice-docs.sgml: ditto.
* docs/reference/TODO: new. Contains remaining API sections.
* goffice/graph/gog-error-bar.c (gog_error_bar_prefs): fix a gtk-doc
warning.
2005-11-27 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: create goffice/component/Makefile.
* goffice/Makefile.am: add component subdir.
* goffice/component/Makefile.am: new component API.
* goffice/component/go-component-factory.c: ditto.
* goffice/component/go-component-factory.h: ditto.
* goffice/component/go-component.c: ditto.
* goffice/component/go-component.h: ditto.
* goffice/component/goffice-component.h: ditto.
* goffice/goffice.c: (libgoffice_init), (libgoffice_shutdown):
init/shutdown component sustem.
* goffice/utils/go-file.c: (go_get_mime_type_for_data): new function.
* goffice/utils/go-file.h: ditto.
* libgoffice-1.pc.in: add GOffice_plugins_dir variable.
2005-11-23 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Handle the separation
of numbers into whole and fractional part such that numbers from
2^31 and up do not invoke undefined behaviour.
* goffice/utils/go-math.c (go_continued_fraction): Don't go to
int-space until we have checked the size.
2005-11-20 Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
* goffice/graph/Makefile.am: always compile gog-renderer-pixbuf.c.
2005-11-20 Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
Fix smoothness of object movements in guru.
* goffice/graph/gog-graph.c (gog_graph_view_handle_event): force
update processing, and call gdk_window_get_pointer in order to get
next motion event.
* goffice/graph/gog-guru.c (graph_guru_init_format_page): add
GDK_POINTER_MOTION_HINT_MASK to graph window event mask.
2005-11-18 Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
* goffice/graph/Makefile.am: don't build pixbuf renderer when cairo is
enabled.
* goffice/graph/gog-control-foocanvas.c
(gog_control_foocanvas_set_property): don't use conditionnal
compilation, but helper functions from gog-renderer.c.
(gog_control_foocanvas_draw): ditto.
(gog_control_foocanvas_update): ditto.
(gog_control_foocanvas_class_init): ditto.
* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_clip_push):
set clip from arbitrary path instead of rectangle region.
(gog_renderer_cairo_draw_text): use 72 dpi for screen resolution.
(gog_renderer_cairo_get_text_OBR): ditto.
* goffice/graph/gog-renderer.c (gog_renderer_new_for_pixbuf): new.
(gog_renderer_update): new.
(gog_renderer_get_pixbuf): new.
* goffice/gtk/go-graph-widget.c (go_graph_widget_size_allocate): use
new helper functions from gog-renderer instead of requesting
explicitely a pixbuf renderer.
(go_graph_widget_expose_event): ditto.
(idle_handler): ditto.
(go_graph_widget_init): ditto.
2005-11-17 Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
* pixmap/chart_dropbar_1_[12].[svg,png]: fix rendering and bitmap.
[#321675]
2005-11-16 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-object.c (gog_object_add_by_name): Add
pre-condition.
* goffice/graph/*.c: Fix preconditions to use IS_ forms.
2005-11-15 Emmanuel Pacaud <emanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (gog_tool_select_axis_point),
(gog_tool_select_axis_render),
(gog_tool_bound_is_valid_axis),
(gog_tool_move_start_bound_point),
(gog_tool_move_start_bound_render),
(gog_tool_move_stop_bound_point),
(gog_tool_move_stop_bound_render),
(gog_tool_move_bound_init),
(gog_tool_move_bound_destroy),
(gog_tool_move_start_bound_move),
(gog_tool_move_stop_bound_move): new.
(x_process): store axis position for use in tools.
(xy_process): ditto.
(gog_axis_base_view_info_at_point): renamed to
gog_axis_base_view_point, for use in tools.
(gog_axis_base_build_toolkit): new.
* goffice/graph/gog-axis.c (elem_toggle_data_free): new.
(cb_update_dim_editor): new.
(make_dim_editor): don't use closure, since they're not destroyed on
watched object finalization, just invalidated.
(cb_axis_fmt_assignment_toggled): removed.
(gog_axis_populate_editor): remove dead code.
(gog_axis_set_bounds): new.
(gog_axis_set_extents): new.
* goffice/graph/gog-graph.c: new selection-changed signal for
GogGraphView objects. This signal is emitted when visual selection
is changed after a mouse action.
(gog_graph_view_render): new.
(gog_graph_view_finalize): new.
(update_cursor), (update_action): new.
(gog_graph_view_handle_event): new.
(gog_graph_view_set_selection): new.
(gog_graph_view_get_selection): new.
* goffice/graph/gog-grid-line.c (gog_grid_line_info_at_point):
removed.
* goffice/graph/gog-guru.c: now also store graph view in guru state.
(graph_guru_state_destroy): unref graph view.
(cb_attr_tree_selection_change): update visual selection.
(cb_canvas_select_item): forward event to gog_graph_view_handle_event.
(cb_graph_selection_changed): new. Update object tree.
(graph_guru_init_format_page): store graph view in state.
* goffice/graph/gog-object.c: new update-editor signal, emitted when
an object editor needs to be refreshed.
(cb_update_editor): new.
(gog_object_populate_editor): connect to update-editor signal.
(gog_object_request_editor_update): new.
* goffice/graph/gog-plot.c (gog_tool_move_plot_area_point),
(gog_tool_move_plot_area_render),
(gog_tool_move_plot_area_init),
(gog_tool_move_plot_area_move),
(gog_tool_resize_plot_area_point),
(gog_tool_resize_plot_area_render),
(gog_tool_resize_plot_area_move),
(gog_plot_view_build_toolkit),
(gog_plot_view_class_init): new.
* goffice/graph/gog-renderer.c (gog_renderer_finalize): unref grip
style.
(gog_renderer_draw_grip),
(gog_renderer_push_selection_style): new.
* goffice/graph/gog-renderer.h (gog_renderer_in_grip): new.
* goffice/graph/gog-view.c (gog_tool_select_object_point),
(gog_tool_select_object_render),
(gog_tool_move_object_point),
(gog_tool_move_object_init),
(gog_tool_move_object_move),
(gog_tool_resize_object_point),
(gog_tool_resize_object_render),
(gog_tool_resize_object_move),
(gog_tool_action_new),
(gog_tool_action_move),
(gog_tool_action_double_click),
(gog_tool_action_free): new.
(gog_view_finalize): free toolkit.
(gog_view_build_toolkit): new.
(gog_view_queue_resize): purge dead code.
(gog_view_info_at_point): removed.
(gog_view_find_child_view): don't emit warning if child view is not
found, since all objects don't have an assciated view.
(gog_view_render_toolkit),
(gog_view_get_toolkit),
(gog_view_get_tool_at_point),
(gog_view_get_view_at_point): new.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_info_at_point):
removed.
* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_info_at_point):
removed.
* plugins/plot_barcol/gog-line.c (gog_line_view_info_at_point):
removed.
* plugins/plot_barcol/gog-minmax.c (gog_minmax_view_info_at_point):
removed.
* plugins/plot_pie/gog-pie-prefs.c (pie_pref_state_free): new.
(cb_update_editor): new.
(gog_pie_plot_pref): connect to update-editor signal.
(gog_ring_plot_pref): ditto.
* plugins/plot_pie/gog-pie.c (gog_pie_plot_set_default_separation):
new.
(find_element): new.
(gog_tool_move_pie_point),
(gog_tool_move_pie_render),
(gog_tool_move_pie_init),
(gog_tool_move_pie_move),
(gog_tool_move_pie_double_click),
(gog_pie_view_build_toolkit): new.
(gog_pie_view_info_at_point): removed.
* plugins/plot_radar/gog-radar.c (fmin): removed.
(gog_rt_view_info_at_point): removed.
* plugins/plot_xy/gog-xy.c (gog_xy_view_info_at_point): ditto.
2005-11-14 Jody Goldberg <jody@gnome.org>
* configure.in : post BRANCH bump
2005-11-14 Jody Goldberg <jody@gnome.org>
* Release 0.1.2
2005-11-13 Morten Welinder <terra@gnome.org>
* goffice/goffice.c: Call bind_textdomain_codeset.
2005-11-07 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-11-06 Jody Goldberg <jody@gnome.org>
* Release 0.1.1
2005-11-06 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.c (gog_style_persist_prep_sax) :
differentiate between line and outline.
(gog_style_sax_load_line) : typo s/auto-dash/auto-color/
2005-11-05 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.c
(gog_style_line_dom_save) : delete.
(gog_style_gradient_dom_save) : delete.
(gog_style_fill_dom_save) : delete.
(gog_style_marker_dom_save) : delete.
(gog_style_font_dom_save) : delete.
(gog_style_text_layout_dom_save) : delete.
(gog_style_persist_dom_save) : delete.
(gog_style_sax_load_line) : use the correct state.
(gog_style_sax_load_fill_pattern) : use the correct state.
(gog_style_sax_load_fill_gradient) : use the correct state.
(gog_style_sax_load_fill) : use the correct state.
(gog_style_sax_load_marker) : use the correct state.
(gog_style_sax_load_font) : use the correct state.
(gog_style_sax_load_text_layout) : use the correct state.
(gog_style_persist_prep_sax) : new.
* goffice/graph/gog-object-xml.c (gog_persist_dom_save) : delete
(gog_object_write_property) : delete.
(gog_dataset_dom_save) : delete.
(gog_object_write_xml) : delete.
(gog_persist_prep_sax) : new.
(gog_dataset_sax_save) : use gsf_xml_out_add_int instead of rolling
our own.
First pass at a sax based importer.
(gog_xml_read_state_get_obj) : new.
(gogo_dim_start) : new.
(gogo_dim_end) : new.
(gogo_prop_start) : new.
(gogo_prop_end) : new.
(gogo_start) : new.
(gogo_end) : new.
(go_sax_parser_done) : new.
(gog_object_sax_push_parser) : new.
* goffice/graph/gog-error-bar.c (gog_error_bar_persist_prep_sax) : new.
(gog_error_bar_persist_dom_save) : delete.
(geb_start) : delete.
(gog_error_bar_persist_init) : adapt to new sax_prep interface.
* configure.in : bump gsf req to 1.13.3 to get the updated semantics
for the sax extension api.
* README : ditto.
2005-11-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_vector_val_load_values): do
not take non finite values into account while calculating maximum.
2005-10-30 Jody Goldberg <jody@gnome.org>
* goffice/app/go-plugin-loader-module.c
(go_plugin_loader_module_load_base) : Use G_MODULE_BIND_LAZY as per
http://bugzilla.gnome.org/show_bug.cgi?id=319557
2005-11-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
* README: Updated list archive URL. (Debian #336699)
2005-10-30 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_math_init): Save the right
old_locale.
* goffice/graph/gog-chart.c (axis_set_desc): Make static.
* goffice/ms-compat/go-ms-parser.c (unknown_type): Make static.
* goffice/utils/go-line.c (line_dashes): Make static.
2005-10-26 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-charmap-sel.c (charset_order, lgroups_order): Use
precomputed collate key.
(cs_class_init): Pre-compute collate keys before sorting.
2005-10-26 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/gog-object-xml.c: Remove #include glade/glade-build.h
the code no longer uses glade xml utils.
2005-10-20 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-view.c (gog_view_render): Survive NaN
allocation. Fixes #319309.
2005-10-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-object.c (gog_object_populate_editor): hide manual
settings when manual position is not allowed.
2005-10-10 Jody Goldberg <jody@gnome.org>
* configure.in : bump gsf req to avoid the breakage in 1.13.1
2005-10-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-10-10 Jody Goldberg <jody@gnome.org>
* Release 0.1.0
2005-10-10 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-object-xml.h (GogPersistClass) : Add sax_doc as a
hook to support GsfXMLIn sax based import.
* goffice/graph/gog-style.c (gog_style_persist_init) : whip up a quick
dtd but do not implement. (Leak the doc)
* goffice/graph/gog-error-bar.c (gog_error_bar_persist_init) : whip up
a dtd (leak the doc).
(geb_start) : implement it.
2005-10-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-label.c (gog_reg_eqn_view_class_init): default for show-eq
and show-r2 is TRUE [#318316].
2005-10-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-action-combo-pixmaps.c:
(go_action_combo_pixmaps_create_tool_item): translate non goffice strings
[#318042].
* goffice/gtk/goffice-gtk.c: (gui_get_image_save_info): ditto [#318043].
2005-10-07 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-svg.c (fill_properties): fix gradient
start / stop colors [#318191].
2005-10-07 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c: (xl_contour_plot_update):
do not use num_elements for first series to caculate comlumns number.
2005-10-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/plugin.xml.in: add TM mention to Excel name
and remove the description from the translation strings as it
never appears in the UI.
2005-10-06 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c (xl_contour_plot_axis_get_bounds):
fixed axis bounds.
2005-10-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-pattern.c: add /* xgettext:no-c-format */ before
"75% Grey" and analogs.
2005-10-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c: (gog_plot_class_init): fixed typo.
* goffice/graph/gog-style-prefs.glade: fixed a duplicate shortcut.
* goffice/utils/regutf8.c: (go_regerror): fixed typo.
2005-10-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru-type-selector.glade: remove an unused
label text.
2005-10-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/file.c: fixed localization issues [#317925].
* goffice/app/go-cmd-context.c: (go_cmd_context_get_type): ditto.
* goffice/app/go-object.c: ditto.
* goffice/app/go-plugin-loader-module.c: ditto.
* goffice/app/go-plugin-loader.c: (go_plugin_loader_get_type): ditto.
* goffice/app/go-plugin-service.c: ditto.
* goffice/app/go-plugin.c: ditto.
* goffice/data/go-data-simple.c: ditto.
* goffice/data/go-data.c: ditto.
* goffice/drawing/god-default-attributes.c: ditto.
* goffice/drawing/god-paragraph-attributes.c: ditto.
* goffice/goffice.c: (libgoffice_init): ditto.
* goffice/graph/gog-axis-line.c: (gog_axis_base_populate_editor): ditto.
* goffice/graph/gog-axis.c: (gog_axis_populate_editor): ditto.
* goffice/graph/gog-chart.c: (gog_chart_populate_editor): ditto.
* goffice/graph/gog-control-foocanvas.c: ditto.
* goffice/graph/gog-error-bar.c: (gog_error_bar_prefs): ditto.
* goffice/graph/gog-graph.c: ditto.
* goffice/graph/gog-grid-line.c: ditto.
* goffice/graph/gog-grid.c: ditto.
* goffice/graph/gog-guru.c: (graph_guru_type_selector_new),
(graph_guru_init): ditto.
* goffice/graph/gog-label.c: (gog_reg_eqn_populate_editor): ditto.
* goffice/graph/gog-legend.c: ditto.
* goffice/graph/gog-object.c: (gog_object_populate_editor): ditto.
* goffice/graph/gog-outlined-object.c: ditto.
* goffice/graph/gog-plot-engine.c: ditto.
* goffice/graph/gog-plot.c: ditto.
* goffice/graph/gog-reg-curve.c: (gog_reg_curve_populate_editor): ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-style.c: (font_init),
(gog_style_populate_editor): ditto.
* goffice/graph/gog-styled-object.c: ditto.
* goffice/graph/gog-theme.c: ditto.
* goffice/graph/gog-view.c: ditto.
* goffice/gtk/go-action-combo-color.c: ditto.
* goffice/gtk/go-action-combo-pixmaps.c: ditto.
* goffice/gtk/go-action-combo-stack.c: ditto.
* goffice/gtk/go-action-combo-text.c: ditto.
* goffice/gtk/go-charmap-sel.c: ditto.
* goffice/gtk/go-color-palette.c: ditto.
* goffice/gtk/go-combo-box.c: ditto.
* goffice/gtk/go-combo-pixmaps.c: ditto.
* goffice/gtk/go-dock-band.c: ditto.
* goffice/gtk/go-dock-item-grip.c: ditto.
* goffice/gtk/go-dock-item.c: (go_dock_item_get_grip): ditto.
* goffice/gtk/go-dock-layout.c: ditto.
* goffice/gtk/go-dock.c: ditto.
* goffice/gtk/go-font-sel.c: (gfs_init): ditto.
* goffice/gtk/go-format-sel.c: (nfs_init): ditto.
* goffice/gtk/go-locale-sel.c: ditto.
* goffice/gtk/go-optionmenu.c: (go_option_menu_scroll_event): ditto.
* goffice/gtk/go-rotation-sel.c: (grs_init): ditto.
* goffice/gtk/goffice-gtk.c: ditto.
* goffice/utils/format.c: ditto.
* goffice/utils/formats.c: ditto.
* goffice/utils/go-format-match.c: (format_match_release): ditto.
* goffice/utils/go-glib-extras.c: ditto.
* goffice/utils/go-gradient.c: ditto.
* goffice/utils/go-line.c: ditto.
* goffice/utils/go-marker.c: ditto.
* goffice/utils/go-pattern.c: ditto.
* goffice/utils/regutf8.c: ditto.
* plugins/plot_barcol/gog-1.5d.c: ditto.
* plugins/plot_barcol/gog-barcol-prefs.c: (gog_barcol_plot_pref): ditto.
* plugins/plot_barcol/gog-barcol.c: ditto.
* plugins/plot_barcol/gog-dropbar.c: ditto.
* plugins/plot_barcol/gog-line.c: ditto.
* plugins/plot_barcol/gog-minmax.c: ditto.
(gog_minmax_plot_populate_editor): ditto.
* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_pref): ditto.
* plugins/plot_pie/gog-pie-prefs.c: (gog_pie_series_element_pref),
(gog_pie_plot_pref), (gog_ring_plot_pref), (gog_pie_series_pref): ditto.
* plugins/plot_pie/gog-pie.c: ditto.
* plugins/plot_radar/gog-radar.c: ditto.
* plugins/plot_surface/gog-contour-prefs.c: ditto.
(gog_contour_plot_pref): ditto.
* plugins/plot_surface/gog-surface.c: ditto.
* plugins/plot_surface/xl-surface.c: ditto.
* plugins/plot_xy/gog-bubble-prefs.c: (gog_bubble_plot_pref): ditto.
* plugins/plot_xy/gog-xy.c: ditto.
* plugins/reg_linear/gog-exp-reg.c: ditto.
* plugins/reg_linear/gog-lin-reg.c: ditto.
* plugins/reg_linear/gog-log-reg.c: ditto.
* plugins/reg_linear/gog-polynom-reg.c: ditto.
* plugins/reg_logfit/gog-logfit.c: ditto.
2005-10-03 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c (gog_object_set_arg_full) : do
not call g_value_init before gsf_xml_gvalue_from_str.
2005-10-03 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-surface.c:
(gog_contour_plot_axis_get_bounds),
(gog_contour_view_render): start discrete axis scale from 1.
(gog_contour_plot_set_property): update Y axis when transposing (add
missing line).
2005-10-02 Jody Goldberg <jody@gnome.org>
* configure.in : bump libgsf req.
* goffice/graph/gog-object-xml.c (gog_object_set_arg_full) : the
general stuff was split out and moved to the libgsf. Use the new
gsf_xml_gvalue_from_str.
2005-10-02 Jody Goldberg <jody@gnome.org>
* plugins/plot_surface/gog-surface.c (gog_contour_plot_set_property) :
Don't signal the axis if they are not set yet. Don't do anything if
things are not changing.
2005-10-01 Stepan Kasal <kasal@ucw.cz>
* configure.in (GOFFICE_LIB_VERSION): Rename to ...
(VERSION_INFO): ... and fix it, adding an explanation.
* goffice/Makefile.am (GOFFICE_LIB_VERSION, VERSION_INFO): Likewise.
2005-09-30 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-error-bar.c: (cb_destroy), (cb_type_changed): unref
the error bar when appropriate.
2005-09-26 Jody Goldberg <jody@gnome.org>
* goffice/utils/format.c (go_format_unref) : merge in format_destroy
there was no utility in keeping them distinct. Do not warn about
the final unref of a markup style, they are not kept in the global
cache.
(go_format_new_markup) : do not put markup formats in the global
cache. We do not really want to share them, and the old code would
replace existing formats in the rare situation where some rich text
formating happened to be used in the same way in two places
eg C sub 1 vs C sub 2
(go_format_parse_markup) : support rise.
(cb_attrs_as_string) : ditto.
2005-09-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-data-set.c: (gog_dataset_dup_to_simple): fixed an
inverted test.
2005-09-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-graph.c (gog_graph_view_class_init): clip to graph
area.
* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text):
fix text clipping.
2005-09-23 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (gog_axis_view_padding_request): axis title
follows axis line now [#317009].
(gog_axis_view_size_allocate): ditto.
2005-09-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-theme.c (gog_themes_init): set regression equation
fill color to white.
2005-09-21 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_guess_encoding): Return
explicit endianness for UTF-16 encodings.
2005-09-21 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (gog_axis_view_padding_request): pass
available to gog_view_size_request.
(gog_axis_view_size_allocate): ditto.
* goffice/graph/gog-label.c (gog_text_view_size_request): ditto.
* goffice/graph/gog-legend.c (gog_legend_view_size_request):
multicolumn/line and horizontal layout support.
(cb_render_elements): ditto.
(gog_legend_view_render): ditto.
* goffice/graph/gog-view.c (gog_view_size_request_real): use different
parameters for different meanings.
(gog_view_size_request): ditto.
(gog_view_size_allocate_real): pass available to
gog_view_size_request.
(gog_view_render): don't render when allocation is invalid, not
residual.
(gog_view_size_child_request): return additionnal requisition and
minimum child requisition.
2005-09-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/utils/go-geometry.c: use hypot and atan2 functions.
2005-09-16 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): Always
set ->alpha.
2005-09-14 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-style.c (text_layout_init) : use GORotationSel
2005-09-15 Morten Welinder <terra@gnome.org>
* goffice/utils/regutf8.c (go_regcomp): Improve error handling.
2005-09-12 Jean Brefort <jean.brefort@normalesup.org>
* plugins/reg_logfit/gog-logfit.c:
(gog_log_fit_curve_get_equation): fixed a sign in displayed equation.
2005-09-12 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add plugins/reg_logfit/Makefile
* goffice/graph/gog-reg-curve.c: (gog_reg_curve_populate_editor),
(gog_reg_curve_finalize), (gog_reg_curve_class_init),
(gog_reg_curve_get_R2): changed api to support more regressions types.
* goffice/graph/gog-reg-curve.h: ditto.
* plugins/Makefile.am: added reg_logfit subdir.
* plugins/reg_linear/Makefile.am: added exp, log and polynom regs.
* plugins/reg_linear/gog-exp-reg.c: implement exponential regressions.
* plugins/reg_linear/gog-exp-reg.h: ditto.
* plugins/reg_linear/gog-lin-reg.c: updated to support other linear
regression types: log, exp and polynom.
* plugins/reg_linear/gog-lin-reg.h: ditto.
* plugins/reg_linear/gog-log-reg.c: implement logarithmic regressions.
* plugins/reg_linear/gog-log-reg.h: ditto.
* plugins/reg_linear/gog-polynom-reg.c: implement polynomial regressions.
* plugins/reg_linear/gog-polynom-reg.h: ditto.
* plugins/reg_linear/plugin.xml.in: add the new types.
* plugins/reg_linear/reg-types.xml.in: ditto.
* plugins/reg_logfit/Makefile.am: new file. Implements log fits analog
to the gnumeric LOGFIT function.
* plugins/reg_logfit/gog-logfit.c: ditto.
* plugins/reg_logfit/gog-logfit.h: ditto.
* plugins/reg_logfit/plugin.xml.in: ditto.
* plugins/reg_logfit/reg-types.xml.in: ditto.
2005-09-10 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/go-file.h (go_shell_argv_to_glib_encoding): Changed
the return value to "gchar const **".
(go_shell_argv_to_glib_encoding_free): New function, frees the args
array created by go_shell_argv_to_glib_encoding.
* goffice/utils/go-file.h (saved_args, saved_argc): New static
variables.
(go_shell_argv_to_glib_encoding): Store args and argc to saved_args
and saved_argc; adapted to the changed type of return value.
Moved to the end of the file.
(go_shell_argv_to_glib_encoding_free): Implement.
2005-09-08 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (split_time): Add precision argument.
(guess_invprecision): Crude hack to guess precision.
2005-09-08 Jody Goldberg <jody@gnome.org>
* goffice/utils/format.c (number_format_init) : add an unref when
formats are removed from the cache.
(cb_format_leak) : ignore the ref from the cache.
(go_format_unref) : warn if final unref and format is still in cache.
(number_format_shutdown) : work around the warning in _unref.
(go_format_new_from_XL) : give a ref to the cache and the caller.
(go_format_new_markup) : ditto.
2005-09-08 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump. jump to 0.1.0 in preparation for
release
2005-09-08 Jody Goldberg <jody@gnome.org>
* Release 0.0.4
2005-09-05 Jody Goldberg <jody@gnome.org>
* goffice/utils/format.c (go_format_number) : Show 0/??? for fractions
with no integer component. [#315018]
2005-09-05 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-format-match.c (format_create_regexp) : match
correct number of digits in denominator.
2005-09-05 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/gog-reg-curve.c (skip_invalid_toggled_cb): Move this
function next to gog_reg_curve_populate_editor, where it is used.
(gog_reg_curve_set_property), (gog_reg_curve_class_init): Fix consts.
2005-09-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-reg-curve-prefs.glade: add a check box to allow
invalid data skipping [#312788].
* goffice/graph/gog-reg-curve.c: (skip_invalid_toggled_cb),
(gog_reg_curve_populate_editor), (gog_reg_curve_get_property),
(gog_reg_curve_set_property), (gog_reg_curve_class_init): ditto.
* goffice/graph/gog-reg-curve.h: add skip_invalid to GogRegCurve and
remove obsolete members.
* plugins/reg_linear/gog-lin-reg.c: (gog_lin_reg_curve_update): use
GogRegCurve::skip_invalid [#312788] and use code in go-regression.c.
2005-09-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-svg.c (fill_properties): set fill pattern
opacity.
2005-09-02 Jody Goldberg <jody@gnome.org>
* goffice/app/io-context.c (gnm_io_context_processing_file) : people
do not want to see escaped uri's in the progress bar.
2005-09-02 Jody Goldberg <jody@gnome.org>
* goffice/utils/format.c : Add GOFormatElement::forces_text.
(format_entry_ctor) : initialize it to FALSE.
(format_compile) : '@' sets it to TRUE.
2005-08-31 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/Makefile.am: add go-regression.* and go-rangefuncs.*
* goffice/utils/go-rangefunc.c: imported various functions from gnumeric
and build both double and long double versions if long double is available.
* goffice/utils/go-rangefunc.h: ditto.
* goffice/utils/go-regression.c: ditto.
* goffice/utils/go-regression.h: ditto.
2005-08-29 Jody Goldberg <jody@gnome.org>
* goffice/utils/format-impl.h : s/StyleFormatEntry/GOFormatElement/
Move the regexp into here from.
* goffice/utils/go-format.h : here.
s/StyleFormat/GOFormat/
2005-08-26 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-plot.c (gog_plot_new_series) : add some safety.
* goffice/graph/gog-data-set.c (gog_dataset_set_dim) : add some safety
for invalid datasets, being careful to avoid leaking the new val.
2005-08-24 Stepan Kasal <kasal@ucw.cz>
The roles hash is now inherited by subclasses, with copy-on-write.
* goffice/graph/gog-object.h (GogObject) <roles_allocated>: New flag,
indicates whether this function is resposible to free the hash.
(gog_object_unregister_role): Removed.
* goffice/graph/gog-object.c (gog_object_unregister_role): Removed.
(gog_object_base_finalize): Free the hash, if it's ours.
(gog_object_base_init): Set roles_allocated to FALSE, indicating that
the inherited hash is read-only.
(gog_object_register_roles): When first used for a class, call ...
(gog_object_allocate_roles): ... this new function, which creates
a new hash and fill is with inherited values, if any, using...
(cb_copy_hash_table): ... this new helper function.
* goffice/graph/gog-series.c (gog_series_base_init): Nuke, moving the
roles registration code ...
(gog_series_class_init): ... here.
* plugins/plot_barcol/gog-1.5d.c (gog_series1_5d_base_class_finalize): Nuke.
* plugins/plot_xy/gog-xy.c (gog_xy_series_base_finalize): Nuke.
2005-08-24 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/go-math.c (go_math_init): Fix the bugzilla URL.
2005-08-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-reg-curve.c (gog_reg_curve_view_render): clip to
residual area.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): don't clip children,
we want to be able to show equation outside of plot area.
2005-08-18 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/go-pattern.c (go_pattern_get_svg_path): Issue an
error if the pattern is not found.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): Silence the compiler.
2005-08-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Make GogRegEqn and GogLabel a derived class of GogText.
* goffice/graph/gog-reg-eqn.[ch]: removed.
* goffice/graph/Makefile.am: remove references to gog-reg-eqn.[ch].
* goffice/graph/gog-label.c: rename GogLabel class to GogText.
Implement GogLabel as a derived class of GogText and a GogDataSet
interface.
(gog_text_get_str): new.
Implement GogRegEqn as a derived class of GogText.
(gog_reg_eqn_populate_editor): remove code related to position.
(gog_reg_eqn_class_init): remove position properties.
rename GogLabelView to GogTextView.
(gog_text_view_render): get content from gog_text_get_str.
* goffice/graph/gog-reg-eqn-prefs.glade: fix layout. Remove position
widgets.
* goffice/graph/gog-reg-curve-prefs.glade: fix layout.
2005-08-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Fix position constistency between discrete and linear axes. Enable
user set bounds for discrete axes [#309468].
* goffice/graph/gog-chart.c (gog_chart_map_new): th1 = maximum now,
not maximum + 1.
(calc_polygon_parameters): ditto. take start theta (th0) into
account.
* goffice/graph/gog-axis-line.c (axis_circle_render): ditto.
(radar_process): ditto.
* goffice/graph/gog-grid-line.c (gog_grid_line_view_render): ditto.
* goffice/graph/gog-grid.c (gog_grid_view_render): ditto.
* goffice/utils/go-math.c (go_rint): new.
* goffice/graph/gog-axis.c (map_discrete_calc_ticks): fix label when
minimum != 1.
(gog_axis_populate_editor): enable minimum et maximum editor for
discrete axes.
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds):
minimum = 1.0 now.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): use GogChartMap
facilities. minimum = 1.0 now.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): minimum = 1.0 now.
* plugins/plot_radar/gog-radar.c (gog_rt_plot_update): ditto.
(gog_rt_view_render): take start theta (th0) into account.
2005-08-17 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_update),
(gog_box_plot_view_render), (float_compare),
(gog_box_plot_series_update): use raw data instead of min, max, median
and quartiles. Fixes #308136.
* plugins/plot_boxes/plot-types.xml.in: removed obsolete comment.
2005-08-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): use GogChartMap
facilities.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto. be
consistent with GogXYPlot.
2005-08-16 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/gog-axis.c (gog_axis_get_grid_line): Fix typo
in the comment.
2005-08-15 Morten Welinder <terra@gnome.org>
* configure.in: Post release bump
2005-08-15 Morten Welinder <terra@gnome.org>
* Release 0.0.3
2005-08-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object-xml.c: (gog_object_new_from_xml): return NULL
if dynamic type is not available.
2005-08-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-guru.c (cb_graph_guru_add_plot): call
gog_plot_guru_helper if plot is added from porerty editor page.
2005-08-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (map_bounds): minimum or maximum may be
NULL.
(map_log_bounds): ditto.
* goffice/graph/gog-series-lines.c (gog_series_lines_render): draw
sharp lines.
* plugins/plot_xy/gog-xy.c (gog_xy_view_render): draw drop lines from
point to axis start.
2005-08-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/goffice-graph.h: new GOG_POSITION_IS_SPECIAL and
GOG_POSITION_IS_PADDING macros for determining GogPosition type.
Simple == test doesn't work.
* goffice/graph/gog-axis.c (gog_axis_view_padding_request): use these
macros.
(gog_axis_view_size_allocate): ditto.
* goffice/graph/gog-chart.c (gog_chart_view_size_allocate): ditto.
* goffice/graph/gog-graph.c (gog_graph_view_size_allocate): ditto.
* goffice/graph/gog-view.c (gog_view_padding_request_real): ditto.
(gog_view_size_allocate_real): ditto.
(gog_view_size_child_request): ditto.
* goffice/graph/gog-object.c (gog_object_position_cmp): ditto.
(gog_object_populate_editor): fix manual_toggle widget handling.
(cb_anchor_changed): set position to manual if anchor changes.
2005-08-14 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Fix clipping of polar plots. Renamed all clip_push, clip_pop functions
to push_clip, pop_clip for consistency with push_style, pop_style.
* goffice/graph/gog-renderer-gnome-print.c
(print_make_rectangle_path): removed.
(gog_renderer_gnome_print_push_clip): clipping region is a path now.
(gog_renderer_gnome_print_draw_path): clip dashed line to graph bbox.
(gog_renderer_gnome_print_draw_polygon): ditto.
(gog_graph_print_to_gnome_print): stire graph bbox.
* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_push_clip):
handle clipping region as path, assuming nested region is included in
parent one.
(gog_renderer_pixbuf_pop_clip): free clip svp.
(gog_renderer_pixbuf_do_clip): new.
(gog_renderer_pixbuf_draw_path): call gog_renderer_pixbuf_do_clip.
clip dashed line to graph bbox.
(gog_renderer_pixbuf_draw_polygon): ditto.
* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_push_clip):
clipping region is a path now.
* goffice/graph/gog-renderer.c (gog_renderer_push_clip): ditto.
(gog_renderer_pop_clip): ditto. Free clip_path.
(gog_renderer_get_rectangle_vpath): new.
* goffice/graph/gog-view.c (gog_view_render): clipping region is a
path now.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto.
* plugins/plot_radar/gog-radar.c (gog_rt_plot_guru_helper): force
auto_dash to FALSE.
(gog_rt_view_render): add correct polar clipping.
(gog_rt_series_init_style): don't disable marker theming.
2005-08-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-series.c: (gog_series_class_init),
(gog_series_base_init): moved roles registering from class_init to
base_init.
2005-08-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-chart.c: (calc_circle_parameters): fix a dangerous
comparison and avoid resulting infinite loops.
2005-08-13 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-view.c (gog_view_info_at_point): walk the list in
reverse order.
2005-08-12 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Add pattern support for SVG renderer [#310320].
* goffice/graph/gog-renderer-svg.c (fill_properties): add support for
patterns.
* goffice/utils/Makefile.am: install svg-patterns.xml in
goffice_datadir/patterns.
* goffice/utils/go-pattern.c: fix thin-rev-diag str in go_patterns.
(go_pattern_get_svg_path): new.
* goffice//utils/svg-patterns.xml: new.
2005-08-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-grid-line.c: (gog_grid_line_view_render):
fix a memory leak
* goffice/graph/gog-plot.c: (gog_plot_finalize): and one more.
2005-08-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c: (gog_object_clear_parent),
(gog_object_set_parent): do not set class before checking object validity.
2005-08-11 Morten Welinder <terra@gnome.org>
* goffice/utils/go-format-match.c (format_create_regexp): Fix
buffer overrun problem exibited while loading file from #313150.
2005-08-11 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/go-plugin-loader-module.c: updated to new
GSF_CLASS_FULL signature.
* goffice/app/io-context.c: ditto.
* goffice/graph/gog-axis-line.c: ditto.
* goffice/graph/gog-axis.c: ditto.
* goffice/graph/gog-error-bar.c: ditto.
* goffice/graph/gog-label.c: ditto.
* goffice/graph/gog-reg-curve.c: ditto.
* goffice/graph/gog-series.c: ditto.
* goffice/graph/gog-style.c: ditto.
* plugins/plot_barcol/gog-1.5d.c: updated to new
GSF_DYNAMIC_CLASS_FULL signature.
* plugins/plot_xy/gog-xy.c: ditto and use base_finalize instead
of class_finalize.
2005-08-10 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (axis_circle_render): fix label
overlap of 0° and 360° ticks.
GogPlot::guru_helper implementation for automatic addition of objects
when creating graphs in guru.
* goffice/graph/gog-axis.c (role_grid_line_can_add): removed.
(role_grid_line_major_can_add): use new gog_axis_get_grid_line
function.
(role_grid_line_minor_post_add): ditto.
(gog_axis_get_grid_line): new.
* goffice/graph/gog-chart.c (role_plot_pre_remove): remove
GogChart::grid if new axis set is not compatible.
(role_grid_can_add): add GOG_AXIS_SET_RADAR in list of axis sets
compatible with GogGrid.
(gog_chart_axis_set_assign): don't handle GogGrid object here.
* goffice/graph/gog-guru.c (graph_typeselect_minor): remove current
chart, not only plot. Call GogPlot::guru_helper for additionnal
objects.
* goffice/graph/gog-plot.c (gog_plot_set_property): add new guru-hints
property, which is a semicolon separated list of hints for
GogPlot::guru_helper.
(gog_plot_get_property): ditto.
(gog_plot_class_init): ditto.
(gog_plot_guru_helper_add_grid_line): new.
(gog_plot_guru_helper): new.
* plugins/plot_barcol/plot_types.xml.in: add "backplane" hint for all
plots.
* plugins/plot_box_plot/plot_types.xml.in: ditto.
* plugins/plot_radar/gog-radar.c (gog_rt_plot_guru_helper): new.
Handle "circular-no-line" guru hint.
* plugins/plot_radar/plot-types.xml.in: add "circular-no-line" hint to
radar plots. add "major-grid" and "backplane" to polar plot.
* plugins/plot_xy/plot-types.xml.in: add "backplane" to all plots.
2005-08-10 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c:
(gog_series1_5d_register_type): use base_finalize instead of
class_finalize since we have derived classes.
2005-08-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
* *: Updated FSF's address.
2005-08-07 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/Makefile.am (goffice_gladedir): Rename to ...
(gladedir): ..., to prevent conflicts--goffice_gladedir is AC_SUBSTed.
* goffice/gtk/Makefile.am (goffice_gladedir, gladedir): Likewise.
2005-08-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c: (libgoffice_init): add call to GOG_SERIES_LINES_TYPE.
* goffice/graph/Makefile.am: add gog-series-lines.[c,h].
* goffice/graph/gog-object.c: (gog_object_unregister_role): new function.
* goffice/graph/gog-object.h: ditto.
* goffice/graph/gog-series-lines.c: moved from plugins/plot_barcol.
* goffice/graph/gog-series-lines.h: ditto.
* plugins/plot_barcol/Makefile.am: remove gog-series-lines.[c,h].
* plugins/plot_barcol/gog-1.5d.c: (gog_series1_5d_class_finalize),
(gog_series1_5d_get_type), (gog_series1_5d_register_type),
(go_plugin_init): unregister roles when class is destroyed.
* plugins/plot_barcol/gog-barcol.c: update path to gog-series-lines.h.
* plugins/plot_barcol/gog-dropbar.c: ditto.
* plugins/plot_barcol/gog-line.c: ditto.
* plugins/plot_barcol/gog-minmax.c: ditto.
* plugins/plot_barcol/gog-series-lines.c: moved to goffice/graph/.
* plugins/plot_barcol/gog-series-lines.h: ditto.
* plugins/plot_xy/gog-xy.c: add horizontal and vertical droplines.
* plugins/plot_xy/gog-xy.h: ditto.
2005-08-04 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-line.c (go_line_build_bpath): do not access data
outside of allocated arrays.
2005-08-04 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/go-file.c: #include unistd.h, for dup().
2005-08-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Allow user to delete all plots of a chart and re-add new plots with
different axis set.
* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
handle GOG_AXIS_SET_UNKNOW.
(gog_axis_base_view_info_at_point): ditto. Do nothing.
(gog_axis_base_view_padding_request): ditto.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-chart.c (role_plot_pre_remove): if there's no plot
left, reset axis_set to GOG_AXIS_SET_UNKNOW.
(gog_chart_axis_set_assign): don't touch axes if axis_set ==
GOG_AXIS_SET_UNKNOW.
* goffice/graph/gog-guru.c (cb_graph_guru_delete_item): select parent
row after item is deleted, because if we do this before, parent->add
submenu is sometimes incorrect.
2005-08-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (gog_axis_base_view_info_at_point):
handle GOG_AXIS_SET_XY_pseudo_3d.
* goffice/graph/gog-chart.c (gog_axis_set_from_str): new.
* goffice/graph/gog-guru.c (cb_plot_family_menu_create): show only
family with compatible axis set.
* goffice/graph/gog-label.c (gog_label_init_style): only change text
orientation if auto flag is TRUE.
* goffice/graph/gog-plot-engine.c (cb_pending_plot_types_load): load
axis_set from plot-types.xml.
(gog_plot_family_register): set axis_set.
* goffice/graph/gog-plot-impl.h: now store axis_set in GogPlotClass. No
need for GogPlot::axis_set_pref, GogPlot::axis_set_is_valid and
GogPlot::axis_set_assign.
* goffice/graph/gog-plot.c (gog_plot_axis_set_pref): use
GogPlot::axis_set.
(gog_plot_axis_set_is_valid): ditto.
(gog_plot_axis_set_assign): ditto.
* goffice/graph/gog-style.c (gog_style_assign): assign
GogStyle::text_layout.auto_angle too.
(gog_style_force_auto): init GogStyle::text_layout.auto_angle.
(gog_style_set_text_angle): force auto_angle to FALSE.
* goffice/gtk/goffice-gtk.c (go_gtk_button_new_with_stock): fix
compilation warning.
* plugins/plot_*/gog*.c: remove axis_set_pref, axis_set_is_valid,
axis_set_assign functions. Set GogPlotClass::axis_set value.
* plugins/plot_*/plot-types.xml.in: Add axis_set property.
2005-08-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
* README, configure.in: Bumped libgsf requirements as
goffice/utils/go-file.c needs gsf_input_stdio_new_FILE which is only in
libgsf HEAD.
2005-08-03 Jody Goldberg <jody@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_button_new_with_stock) : Use
gtk_button_set_image to avoid the kludgery that broken settings.
(go_gtk_dialog_add_button) : merged from gnumeric.
2005-08-03 Morten Welinder <terra@gnome.org>
* goffice/utils/go-file.c (go_file_open): Handle URIs like "fd://0".
2005-08-03 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text):
Fix a typo; add an initialization to silence a warning.
2005-08-03 Stepan Kasal <kasal@ucw.cz>
In many Makefile.am's, use the "dist_" prefix instead of adding the
variable to EXTRA_DIST.
* goffice/graph/Makefile.am (cairo_sources, cairo_headers): Nuke;
instead, append to the variables directly.
2005-08-03 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Cairo renderer build fixes.
* goffice/graph/gog-renderer-cairo.c (gog_renderer_cairo_draw_text):
fix size.
(gog_renderer_cairo_get_text_OBR): ditto.
(gog_renderer_cairo_update): graph size is a property of GogGraph now.
2005-07-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Who said text angle is not a style property ?
* goffice/graph/gog-axis-line.c (gog_axis_base_set_property): remove
label-angle property.
(gog_axis_base_get_property): ditto.
(gog_axis_base_class_init): ditto.
(gog_axis_base_set_label_angle): removed.
(cb_label_angle_changed): removed.
(gog_axis_base_populate_editor): remove UI for label angle.
* goffice/graph/gog-axis-prefs.glade: ditto.
* goffice/graph/gog-axis.c (role_label_post_add): removed.
(role_label_can_add): new.
(gog_axis_init_style): if axis is GOG_AXIS_PSEUDO_3D, no style.
* goffice/graph/gog-label.c (gog_label_set_angle): removed.
(gog_label_set_property): remove angle property.
(gog_label_get_property): ditto.
(gog_label_class_init): ditto.
(label_pref_state_free): removed.
(cb_angle_changed): removed.
(gog_label_populate_editor): remove UI for angle.
(gog_label_init_style): set text angle to 90 if parent is an Y axis.
* goffice/graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text): text_angle is a style property.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_get_pango_layout): ditto.
* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_draw_text):
ditto.
* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): ditto.
(gog_renderer_push_style): no more
angle property in renderer.
(gog_renderer_pop_style): ditto.
(gog_renderer_set_text_angle): removed.
* goffice/graph/gog-style-prefs.glade: add a new UI for text layout
group.
* goffice/graph/gog-style (cb_angle_changed): new.
(text_layout_init): new.
(gog_style_assign): handle angle.
(gog_style_init): ditto.
(gog_style_text_layout_load): new.
(gog_style_text_layout_dom_save): new.
(gog_style_text_layout_sax_save): new.
(gog_style_persist_dom_load): handle angle.
(gog_style_persist_dom_save): ditto.
(gog_style_persist_sax_save): ditto.
(gog_style_is_different_size): ditto.
(gog_style_set_text_angle): new.
* goffice/graph/gog-styled-object.c (styled_object_populate_editor):
don't display style editor if there isn't any interresting fields.
2005-07-27 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Code cleanup. Remove bbox parameter of GogRenderer:draw functions.
It was a previous attempt to do clipping, which is handled by
gog_renderer_clip_push and gog_renderer_clip_pop for quite a long
time now.
Modified Files:
ChangeLog goffice/graph/gog-axis-line.c
goffice/graph/gog-error-bar.c goffice/graph/gog-grid-line.c
goffice/graph/gog-grid.c goffice/graph/gog-label.c
goffice/graph/gog-legend.c goffice/graph/gog-outlined-object.c
goffice/graph/gog-reg-curve.c goffice/graph/gog-reg-eqn.c
goffice/graph/gog-renderer-cairo.c
goffice/graph/gog-renderer-gnome-print.c
goffice/graph/gog-renderer-impl.h
goffice/graph/gog-renderer-pixbuf.c
goffice/graph/gog-renderer-svg.c goffice/graph/gog-renderer.c
goffice/graph/gog-renderer.h plugins/plot_barcol/gog-barcol.c
plugins/plot_barcol/gog-dropbar.c
plugins/plot_barcol/gog-line.c
plugins/plot_barcol/gog-minmax.c
plugins/plot_barcol/gog-series-lines.c
plugins/plot_boxes/gog-boxplot.c plugins/plot_pie/gog-pie.c
plugins/plot_radar/gog-radar.c
plugins/plot_surface/gog-surface.c plugins/plot_xy/gog-xy.c
2005-07-27 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Text angle is not a font property.
Set default angle to 90° for y axes (#301582).
* goffice/graph/gog-axis-line.c (gog_axis_base_class_init): install
label_angle property.
(gog_axis_base_set_property): handle label_angle property.
(gog_axis_base_get_property): ditto.
(gog_axis_base_set_label_angle): new.
(cb_label_angle_changed): new.
(gog_axis_base_populate_editor): init UI for label_angle.
(gog_axis_base_view_padding_request): set text angle.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-axis-prefs.glade: add UI for label angle.
* goffice/graph/gog-axis.c (role_label_post_add): new. Sets label
angle to 90° for y axis.
(gog_axis_class_init): add role_label_post_add.
* goffice/graph/gog-label-prefs.glade: new.
* goffice/graph/gog-label.c (gog_label_set_angle): new.
(gog_label_class_init): handle angle property.
(gog_label_set_property): ditto.
(gog_label_get_property): ditto.
(label_pref_state_free): new.
(cb_angle_changed): new.
(gog_label_populate_editor): add layout page for angle setting.
(gog_label_init): new.
(gog_label_view_size_request): set text angle.
(gog_label_view_render): ditto.
* goffice/graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text): text_angle is a property of
renderer.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_get_pango_layout): ditto.
* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_draw_text):
ditto.
* goffice/graph/gog-renderer.c (gog_renderer_push_style): reset text
angle.
(gog_renderer_pop_style): ditto.
(gog_renderer_set_text_angle): new.
(gog_renderer_get_text_OBR): text_angle is a property of renderer.
* goffice/graph/gog-style-prefs.glade: remove UI for angle.
* goffice/graph/gog-style.c (cb_rotation_angle_changed): removed.
(font_init): remove angle UI.
(gog_style_font_load): remove rotation_angle setting.
(gog_style_font_dom_save): ditto.
(gog_style_font_sax_save): ditto.
2005-07-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-object-prefs.glade: remove chart preference
dialog and move it to gog-chart-prefs.glade.
* goffice/graph/gog-chart-prefs.glade: new.
* goffice/graph/gog-chart.c (cb_plot_area_changed): actually use
signal handlers.
(gog_chart_populate_editor): ditto.
2005-07-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Implementation of manual position of graph objects.
* goffice/graph/goffice-graph.h: new modifier flags in
GogObjectPosition for manual position.
* goffice/graph/gog-axis.c (gog_axis_class_init): Label can be
positionned manually.
(gog_axis_view_padding_request): GOG_POSITION_MANUAL supersedes
GOG_POSITION_SPECIAL.
(gog_axis_view_size_allocate): handle GOG_POSITION_MANUAL case.
* goffice/graph/gog-chart-impl.h: plot_area stores plot area position
in fraction of chart size. new is_plot_area_manual flag.
* goffice/graph/gog-chart.c (gog_chart_set_property): new.
(gog_chart_get_property): handles plot-area and is-plot-area-manual
properties.
(chart_pref_state_free): new.
(cb_plot_area_changed): new.
(cb_manual_toggle_changed): new.
(gog_chart_populate_editor): new.
(gog_chart_class_init): reorder childs. Still need some work for a
nice display in object tree. Install plot-area and
is-plot_area-manual properties.
(gog_chart_get_plot_area): new.
(gog_chart_set_plot_area): new.
(gog_chart_view_get_plot_area): plot area extents are stored in
GogChartView::plot_area now.
(gog_chart_view_size_allocate): handle manual case.
(gog_chart_view_class_init): don't clip to chart area.
* graph/goffice/gog-control-foocanvas
(gog_control_foocanvas_set_property): remove logical_width_pts and
logical_height_pts properties. These are properties of GogGraph now.
(gog_control_foocanvas_get_property): ditto.
(gog_control_foocanvas_class_init): ditto.
* goffice/graph/gog-graph.c (gog_graph_set_property): handle new width-pts
and height-pts properties.
(gog_graph_get_property): ditto.
(gog_graph_class_init): ditto. Chart and Title object can be
positionned manually.
(gog_graph_get_size): new.
(gog_graph_set_size): new.
* goffice/graph/gog-guru.c (cb_typesel_sample_plot_resize): don't
change graph logical size.
(cb_sample_pressed): don't change canvas scale.
(cb_canvas_select_item): center graph on canvas.
(cb_sample_plot_resize): calculate graph size to make it fit in canvas
area.
(graph_guru_init_format_page): don't change canvas scale.
* goffice/graph/gog-object.c (gog_object_set_property): handle new
position, position-is-manual and anchor properties.
(gog_object_get_property): ditto.
(gog_object_class_init): ditto.
(cb_position_changed): new.
(cb_manual_position_changed): new.
(cb_anchor_changed): new.
(gog_object_populate_editor): new UI for manual position setting.
(gog_role_cmp): test priority first, then compare allowable positions.
(gog_object_set_position_flags): emit a warning in case of wrong
flags.
(gog_object_get_manual_position): new.
(gog_object_set_manual_position): new.
(gog_object_get_manual_allocation): new.
* goffice/graph/gog-plot.c (gog_plot_populate_editor): always call parent
populate_editor.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_get_text_OBR): use pango_layout_get_extents
instead of pango_layout_get_pixel_extents for more accuracy.
(gog_renderer_pixbuf_update): logical width and height of graph is a
property of GogGraph now.
* goffice/graph/gog-renderer.c (gog_renderer_set_property): remove
logical_width_pts and logical_height_pts properties.
(gog_renderer_get_property): ditto.
(gog_renderer_class_init): ditto.
* goffice/graph/gog-view.c (gog_view_size_allocate_real): handle
manual case.
2005-07-22 Chris Lahey <clahey@our.domain.is.not.set>
* goffice/drawing/god-drawing-renderer-gdk.c: Remove * .7 hack
since it's been fixed in parsing code.
2005-07-21 Chris Lahey <clahey@site>
* goffice/drawing/god-drawing-renderer-gdk.c,
goffice/drawing/god-paragraph-attributes.c,
goffice/drawing/god-paragraph-attributes.h: Add support for
setting whether the bullet is drawn for a particular paragraph.
2005-07-19 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/grah/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
don't complain when axis_set = GOG_AXIS_SET_X.
(axis_line_get_bbox): scale tick len with gog_renderer_pt2r instead of
gog_renderer_pt2r_x.
(axis_line_render): ditto.
(axis_circle_get_bbox): ditto.
(axis_circle_render): ditto.
(x_process): use correct enum for label/tick side, which fixes a
display bug.
2005-07-15 Dom Lachowicz <cinamod@hotmail.com>
* goffice/utils/go-file.c (go_get_mime_type): Free 'wuri' if mime lookup failed;
have function return "application/octet-stream" instead of "octet-string";
g_strdup() the "application/octet-stream" so that we don't try to free .text data
2005-07-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-legend.c (cb_render_elements): fix swatch,
line/marker position.
2005-07-11 Morten Welinder <terra@gnome.org>
* configure.in (set_more_warnings): Check for fdopen.
* goffice/utils/go-file.c (is_fd_uri): New function.
(go_file_create): Support URIs like "fd://1".
2005-07-01 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_vector_str_load_values): set
vec->len (fixes a crash when pasting charts in abiword).
* goffice/graph/goffice-graph.h: change GOG_MS_DIM_* enum.
* goffice/graph/gog-data-set.c: (gog_dataset_dup_to_simple): fix export of
scalar strings.
* goffice/graph/gog-plot.c: (gog_plot_finalize),
(gog_plot_set_property), (gog_plot_get_property),
(gog_plot_class_init), (gog_plot_init): add "plot_group" property.
* goffice/graph/gog-plot.h:
* pixmaps/chart_dropbar_1_1.svg:
* pixmaps/chart_minmax_2_2.svg:
* plugins/plot_barcol/Makefile.am:
* plugins/plot_barcol/gog-1.5d.c: (go_plugin_init):
* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_plot_class_init):
update GOG_MS_DIM_*.
* plugins/plot_barcol/gog-minmax.c: (gog_minmax_axis_get_bounds):
set center_on_ticks to FALSE,
(gog_minmax_plot_class_init): update GOG_MS_DIM_*.
2005-06-26 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-theme.c: (gog_themes_init): add GogSeriesLines.
* plugins/plot_barcol/Makefile.am: add gog-series-lines.[c,h].
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_init),
(series_lines_can_add), (series_lines_post_add),
(series_lines_pre_remove), (drop_lines_can_add),
(drop_lines_post_add), (drop_lines_pre_remove), (lines_can_add),
(lines_post_add), (lines_pre_remove), (gog_series1_5d_class_init),
(gog_series1_5d_init), (go_plugin_init): add support for various lines.
* plugins/plot_barcol/gog-1.5d.h: ditto.
* plugins/plot_barcol/gog-barcol.c: (gog_barcol_plot_init),
(gog_barcol_view_render): added series lines.
* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_plot_init),
(barcol_draw_rect), (gog_dropbar_view_render): added lines.
* plugins/plot_barcol/gog-line.c: (gog_line_plot_init),
(gog_area_plot_init), (gog_line_view_render): added drop lines.
* plugins/plot_barcol/gog-minmax.c: (gog_minmax_plot_init),
(gog_minmax_view_render): added lines.
* plugins/plot_barcol/gog-series-lines.c:
(gog_series_lines_init_style), (gog_series_lines_update),
(gog_series_lines_changed), (gog_series_lines_class_init),
(gog_series_lines_render): support for lines in various plots.
* plugins/plot_barcol/gog-series-lines.h: ditto.
2005-06-24 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-legend.c: (cb_size_elements),
(gog_legend_view_size_request): use legend style to calculate elements
height.
2005-06-21 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-cairo.c (grc_invert_pixbuf_RB): new.
(grc_draw_polygon): implement repeated image texture.
(grc_get_marker_surface): use grc_invert_pixbuf_RB.
(gog_renderer_cairo_update): ditto.
2005-06-21 Jon K Hellan <hellan@acm.org>
* goffice/graph/gog-control-foocanvas.c
(gog_control_foocanvas_update): Fix typo.
2005-06-21 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
New cairo renderer. Option at compile time (--with-cairo).
* configure.in: add optional cairo dependency.
* goffice/graph/gog-control-foocanvas.c
(gog_control_foocanvas_set_property): use cairo renderer if enabled.
(gog_control_foocanvas_draw): ditto.
(gog_control_foocanvas_update): ditto.
(gog_control_foocanvas_class_init): ditto.
* goffice/graph/gog-renderer-cairo.[ch]: new files.
* goffice/utils/go-pattern.c (go_pattern_get_pattern): new.
2005-06-20 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update),
(gog_series1_5d_finalize), (gog_series1_5d_class_init): fixed error bar
leaks.
2005-06-20 Morten Welinder <terra@gnome.org>
* goffice/utils/formats.c (find_currency): Special hack to accept
a quoted euro character.
(pattern_account): Remove stray "}".
2005-06-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c: (cb_canvas_select_item): fixed one more leak.
2005-06-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c: (cb_canvas_select_item): add missing
g_object_unref call.
* goffice/graph/gog-series.c: (regression_curve_can_add): fixed the test.
* goffice/graph/gog-style.c: (gog_style_set_image_preview): return if
pix == NULL (#308307).
2005-06-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (axis_line_render): remove kludge for
ticks not centered on labels.
* goffice/graph/gog-axis.c (map_discrete_calc_ticks): separate
handling of ticks from handling of labels.
(gog_axis_update): always set GogAxis::center_on_ticks from
GogBounds.
* plugins/plot_radar/gog-radar.c (gog_radar_plot_axis_get_bounds):
set center_on_ticks=TRUE explicitely.
2005-06-13 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Support for rotated text and text color.
* goffice/graph/gog-axis-line.c (get_point_to_segment_distance):
moved to go-geometry.c.
(update_bbox): ditto.
(overlap): removed.
(compute_angles): removed.
(axis_line_point): use go_geometry_point_to_segment.
(axis_line_get_bbox): handle rotated text case. Use
go_geometry_cartesian_to_polar. side is an enum now.
(axis_line_render): ditto.
(axis_circle_get_bbox): ditto.
(axis_circle_render): ditto.
(xy_process): side is an enum.
(radar_process): ditto.
* goffice/graph/gog-label.c (gog_label_view_size_request): use
gog_renderer_get_text_AABR.
(gog_label_view_render): ditto.
* goffice/graph/gog-legend.c (cb_size_elements): ditto.
* goffice/graph/gog-reg-eqn.c
(gog_reg_eqn_view_render): ditto.
* goffice/graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text): handle rotated text and color.
(gog_renderer_gnome_print_get_text_OBR): new.
* goffice/graph/gog-renderer-pixbuf.c (get_rotated_layout_bounds):
new.
(gog_renderer_pixbuf_get_pango_layout): handle rotation angle.
(gog_renderer_pixbuf_draw_text): ditto. Handle special n * pi / 2
angles separately for performance.
(gog_renderer_pixbuf_get_text_OBR): new.
* goffice/graph/gog-renderer-svg.c (gog_renderer_svg_get_text_OBR):
ditto.
(gog_renderer_svg_draw_text): handle rotation angle and color.
* goffice/graph/gog-renderer.c (gog_renderer_get_text_OBR): new.
(gog_renderer_get_text_AABR): new. Replaces measure_text.
* goffice/graph/gog-style-prefs.glade: add widgets for text rotation
angle and text color.
* goffice/graph/gog-style.c (cb_rotation_angle_changed): new.
(cb_font_color_changed): new.
(font_init): load widgets for text rotation and color.
(gog_style_font_load): load rotation angle.
(gog_style_font_save): save rotation angle.
(gog_style_font_sax_save): ditto.
(gog_style_is_different_size): different angles means different sizes.
* goffice/utils/go-geometry.[ch]: new files. Collection of geometry
related functions.
2005-06-12 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-06-12 Jody Goldberg <jody@gnome.org>
* Release 0.0.2
2005-06-11 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/gtk/Makefile.am: Fix typos.
2005-06-09 Morten Welinder <terra@gnome.org>
* goffice/utils/go-libxml-extras.c (xml_node_get_enum,
xml_node_set_enum): New functions.
(xml_node_get_int, xml_node_get_double): Improve error handling.
2005-06-08 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/gtk/htmlhelp-stub.c:
* goffice/gtk/htmlhelp-stub.h:
* goffice/gtk/libhtmlhelp-stub.def: Remove
* goffice/gtk/Makefile.am: Remove libgoffice-html-help-stub.la
it no longer belongs here.
* goffice/Makefile.am:
* goffice/gtk/goffice-gtk.c:
* goffice/utils/Makefile.am: Now stubs for Win32 are placed in
libgoffice-win32-stub.la
* goffice/utils/goffice-win32-stub.def:
* goffice/utils/win32-stub.c:
* goffice/utils/win32-stub.h: New
* goffice/utils/go-file.[ch] (go_get_mime_type): Use
FindMimeFromData() on Win32. Fall back to "text/plain" if
no mime type is matched. [#304074]
2005-06-06 Jody Goldberg <jody@gnome.org>
* goffice/app/go-plugin.c : Don't inherit from GTypeModule
contain one and use it as long as we are active.
2005-06-06 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (log1p): Define if needed.
2005-06-05 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-data-set.c: (gog_dataset_dup_to_simple): add a helper
function to convert data to simple data.
* goffice/graph/gog-data-set.h: ditto.
* goffice/graph/gog-object.c: (dataset_dup), (gog_object_dup): add an
optional data converter to gog_object_dup and define a default one.
* goffice/graph/gog-object.h: ditto.
* goffice/graph/gog-graph.c: use new gog_object_dup syntax.
2005-06-05 Jody Goldberg <jody@gnome.org>
* goffice/app/go-plugin.c (go_plugin_get_type_module) : new in
preparation of change to GOPlugin.
2005-06-05 Jody Goldberg <jody@gnome.org>
* goffice/app/go-plugin.c (go_plugin_activate) : add a
g_type_module_use
(go_plugin_deactivate) : and an unuse. Things are still broken on
exit.
2005-06-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-object (gog_object_populate_editor): remove
g_message call.
2005-06-04 Jody Goldberg <jody@gnome.org>
* plugins/plot_xy/plot-types.xml.in : XY priority 100
* plugins/plot_barcol/plot-types.xml.in : COL priority 90
BAR priority 80
* goffice/graph/gog-guru.c (cb_plot_families_init) : select if the
current item is a higher priority than anything we've seen.
(graph_guru_type_selector_new) : don't connect to the signal handler
until after we select the default type. Sort the list of families.
We need to prune this list.
* goffice/graph/gog-plot-engine.c (cb_pending_plot_types_load) : load
a priority for each family to allow for a reasonable default.
2005-06-04 Jody Goldberg <jody@gnome.org>
* goffice/gtk/go-format-sel.c (nfs_init) : suppress warning.
(generate_preview) : put the args in the right order and remove the
debug spew.
2005-06-04 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-surface.c: (gog_contour_view_render):
fixed appearance, libart warnings and a major bug.
2005-06-03 Stepan Kasal <kasal@ucw.cz>
* configure.in: Require libgsf 1.12.1; GSF_DYNAMIC_CLASS has changed.
2005-06-02 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/Makefile.am: add gog-object-prefs.glade
* goffice/graph/gog-graph.c (gog_graph_class_init): position of chart
and title can be manual.
* goffice/graph/gog-object-prefs.glade: new.
* goffice/graph/gog-object.c (gog_editor_get_notebook): first page
is the default page.
(gog_object_set_property): handle compass and alignment properties.
(gog_object_get_property): ditto.
(object_pref_state_free): new.
(cb_compass_changed): new.
(cb_alignment_changed): new.
(gog_object_populate_editor): new. It handles only compass and alignment
flags.
(gog_object_class_init): install compass and alignment properties.
(gog_object_get_pos): renamed to gog_object_get_position_flags. Add a
mask parameter in order to get only a subset of position flags.
(gog_object_set_pos): renamed to gog_object_set_position_flags. Add a
mask parameter.
* goffice/graph/gog-style-prefs.glade: move line widgets to the left.
It improves consistency of widget position when navigating through
object tree.
* goffice/graph/gog-styled-object.c (styled_object_populate_editor):
call parent method.
2005-06-01 Jody Goldberg <jody@gnome.org>
* goffice/utils/go-format.c (go_format_value_gstring) : pull over from
gnumeric with a simplified structure to handle only ints and
doubles.
(go_style_format_condition) : ditto.
2005-05-30 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/xl-surface.c: (xl_contour_plot_build_matrix):
set num-elements of the first series, not the last one.
2005-05-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c: (gog_object_dup),
(gog_object_dup_with_values): rewrote to share identical code.
2005-05-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.h: added missing declaration
(gog_object_dup_with_values).
2005-05-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-object.c: (gog_object_dup_with_values):
new function aimed at export charts.
2005-05-27 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/utils/go-file.c (go_shell_arg_to_uri):
revert changes made by me in yesterday.
(go_shell_argv_to_glib_encoding): New. For Win32 we need to
get argv[] in utf-16 and convert them to utf-8 under NT
and use g_locale_to_utf() under Win9x.
2005-05-27 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_view_render): fixed
bars width and position.
* plugins/plot_barcol/plot-types.xml.in: ditto.
2005-05-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-format-sel.c: (nfs_init): make the shortcut for currency
symbol selection work (#305635).
2005-05-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_vector_val_as_str),
(go_data_vector_val_from_str), (go_data_vector_str_finalize),
(go_data_vector_str_dup), (go_data_vector_str_as_str),
(go_data_vector_str_from_str), (go_data_vector_str_load_len),
(go_data_vector_str_load_values), (go_data_vector_str_get_value),
(go_data_matrix_val_as_str), (go_data_matrix_val_from_str): fixed various
concerns related to the abigochart plugin.
2005-05-26 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
[#305010]
* goffice/graph/gog-error-bar-prefs.glade: remove gnome requirement.
* plugins/plot_pie/gog-pie-series-prefs.glade: ditto.
* plugins/plot_pie/gog-ring-prefs.glade: ditto.
2005-05-26 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/utils/go-file.c (go_shell_arg_to_uri): Convert
file name from system codepage to utf8 (glib/win32 now uses
utf8). [#304874]
2005-05-25 Stepan Kasal <kasal@ucw.cz>
* configure.in (PKG_PROG_PKG_CONFIG): Rephrase the explanation.
2005-05-24 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (format_remove_decimal): In the fallback
code, remove a decimals from all subformats.
(find_currency): Accept quotes around the currency. Fixes
recognition of accounting formats. [#305314] [#305313]
2005-05-23 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_file_sel_dialog,
go_gtk_select_image): Insist on getting a toplevel. (It
determines, for one thing, what screen to use.)
* goffice/graph/gog-style.c (cb_image_file_select): Provide a
toplevel. Fixes #305009.
2005-05-22 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_barcol/gog-1.5d.c: (gog_series1_5d_update): Fix a trivial
bug.
2005-05-20 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_access): Fix return type to int as
we return -1 sometimes.
* configure.in (set_more_warnings): Don't use -Wcrazy.
2005-05-20 Stepan Kasal <kasal@ucw.cz>
* plugins/plot_barcol/gog-dropbar.c (gog_dropbar_view_render):
Remove unused variables.
2005-05-20 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: change GOG_MS_DIM_TYPES value and
add new ones.
* goffice/graph/gog-axis.c: (gog_axis_set_property): remove labels
and ticks for GOG_AXIS_PSEUDO_3D (enhance export to excel).
* pixmaps/Makefile.am: add icons for minmax and dropbar plots.
* plugins/plot_barcol/Makefile.am: add minmx and dropbar support.
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update),
(gog_series1_5d_update), (gog_series1_5d_populate_editor),
(go_plugin_init): ditto.
* plugins/plot_barcol/gog-barcol.c: ditto.
(gog_barcol_plot_populate_editor): ditto.
* plugins/plot_barcol/gog-dropbar.c: (gog_dropbar_plot_type_name),
(gog_dropbar_plot_class_init), (barcol_draw_rect),
(gog_dropbar_view_render), (gog_dropbar_view_info_at_point),
(gog_dropbar_view_class_init): ditto.
* plugins/plot_barcol/gog-dropbar.h: ditto.
* plugins/plot_barcol/gog-minmax-prefs.glade: ditto.
* plugins/plot_barcol/gog-minmax.c: (gog_minmax_series_init_style),
(gog_minmax_series_class_init), (gog_minmax_plot_set_property),
(gog_minmax_plot_get_property), (gog_minmax_plot_type_name),
(gog_minmax_axis_get_bounds), (cb_gap_changed),
(gog_minmax_plot_populate_editor), (gog_minmax_swap_x_and_y),
(gog_minmax_plot_class_init), (gog_minmax_plot_init),
(gog_minmax_view_render), (gog_minmax_view_info_at_point),
(gog_minmax_view_class_init): ditto.
* plugins/plot_barcol/gog-minmax.h: ditto.
* plugins/plot_barcol/plot-types.xml.in: ditto.
* plugins/plot_barcol/plugin.xml.in: ditto.
2005-05-19 Jody Goldberg <jody@gnome.org>
* goffice/data/go-data-simple.c (go_data_vector_val_as_str) : use
format_get_row_sep.
2005-05-19 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (map_discrete_calc_ticks): remove kludge by
using center_on_ticks.
* goffice/graph/gog-plot.c (gog_plot_get_axis_bounds): defaults
center_on_ticks to TRUE.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_axis_get_bounds):
center_on_ticks = FALSE.
2005-05-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (map_discrete_init): scale doesn't depend
on center_on_ticks.
(map_discrete): ditto.
(map_discrete_to_view): ditto.
(map_discrete_from_view): ditto.
(map_discrete_calc_ticks): tick_nbr doesn't depend on center_on_ticks.
* goffice/graph/gog-axis-line.c (gog_axis_base_populate_editor): don't
show layout page for GOG_AXIS_PSEUDO_3D. Call inherited
populate_editor if gui==NULL.
* plugins/plot_surface/gog-surface.c
(gog_contour_plot_axis_get_bounds): maxima = num_elements - 1.0
* plugins/plot_surface/xl-surface.c
(xl_contour_plot_axis_get_bounds): ditto.
2005-05-17 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_vector_val_get_value),
(go_data_vector_val_get_str): check args to avoid a segfault.
2005-05-16 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/gog-reg-curve.c (gog_reg_curve_get_value_at): Make
this function static, without any declaration at the top.
* goffice/utils/go-file.h (go_get_mime_type): Change the return type
to `const gchar *'.
* goffice/utils/go-file.c: ditto.
* goffice/utils/format.c (beyond_precision, beyond_precisionl):
Move the declarations to the top, into an #ifdef DEFINE_COMMON.
* plugins/plot_surface/xl-surface.c (xl_contour_plot_axis_get_bounds):
Make this more readable by moving part of the body ...
(get_y_vector): ... to this new function.
* tests/pie-demo.c (main): Adapt to the changed type of arg 1 of
go_data_vector_str_new.
2005-05-14 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Supply GOFFICE_PLUGIN_LIBADD on all platforms, not just
win32, in order to get complete dependency information in the plugins.
Use -no-undefined in GOFFICE_PLUGIN_LDFLAGS on all platforms to ensure
complete dependency information at link time.
Update the BUG-REPORT argument to AC_INIT now that bugzilla.gnome.org
has a "libgoffice" product.
Enable a number of additional warnings (when available) for which the
current code base is already virtually clean.
2005-05-12 Stepan Kasal <kasal@ucw.cz>
* goffice/data/go-data-simple.h (go_data_vector_str_new): Change the
type of the first parameter from (char**) back to (char const*const*)
* goffice/data/go-data-simple.c: Do the same and adapt the code.
2005-05-12 Morten Welinder <terra@gnome.org>
* goffice/utils/go-marker.c (go_marker_selector): Plug leak.
Avoid const for non-const parameter.
* goffice/gtk/go-action-combo-pixmaps.c
(go_action_combo_pixmaps_create_tool_item): Take toolbar settings
into account.
* goffice/gtk/go-action-combo-color.c (make_icon): Multihead fix.
* goffice/gtk/goffice-gtk.c (update_preview_cb): Multihead fix.
* goffice/gtk/go-action-combo-stack.c
(go_action_combo_stack_create_tool_item): Take theme into account.
2005-05-12 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_matrix_val_as_str),
(go_data_matrix_val_from_str): always use a semicolon as row
separator.
2005-05-11 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/chart_dropbar_1_1.png: update icon.
* pixmaps/chart_dropbar_1_1.svg: ditto.
* pixmaps/chart_dropbar_1_2.png: ditto.
* pixmaps/chart_dropbar_1_2.svg: ditto.
* pixmaps/chart_minmax_1_1.png: ditto.
* pixmaps/chart_minmax_1_1.svg: ditto.
* pixmaps/chart_minmax_1_2.png: ditto.
* pixmaps/chart_minmax_1_2.svg: ditto.
* pixmaps/chart_minmax_2_1.png: new icon.
* pixmaps/chart_minmax_2_1.svg: ditto.
* pixmaps/chart_minmax_2_2.png: ditto.
* pixmaps/chart_minmax_2_2.svg: ditto.
2005-05-11 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/chart_dropbar_1_1.png: New icon.
* pixmaps/chart_dropbar_1_1.svg: ditto.
* pixmaps/chart_dropbar_1_2.png: ditto.
* pixmaps/chart_dropbar_1_2.svg: ditto.
* pixmaps/chart_minmax_1_1.png: ditto.
* pixmaps/chart_minmax_1_1.svg: ditto.
* pixmaps/chart_minmax_1_2.png: ditto.
* pixmaps/chart_minmax_1_2.svg: ditto.
* pixmaps/dropbar.xpm: ditto.
* pixmaps/minmax.xpm: ditto.
2005-05-11 Jean Brefort <jean.brefort@normalesup.org>
* plugins/plot_surface/gog-surface.c:
(gog_contour_plot_class_init): limit series number to 1.
2005-05-10 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-chart.c (gog_chart_map_free): unref map::chart.
2005-05-10 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: add linear regressions in scatter plots.
* goffice/goffice.c: (libgoffice_init): ditto.
* goffice/graph/Makefile.am: ditto.
* goffice/graph/goffice-graph.h: ditto.
* goffice/graph/gog-guru.c: (cb_graph_guru_add_reg_curve),
(cb_reg_curve_type_menu_create), (reg_curve_type_menu_create),
(cb_attr_tree_selection_change): ditto.
* goffice/graph/gog-object-xml.c: (gog_object_new_from_xml): ditto.
* goffice/graph/gog-plot-engine.c: ditto.
(gog_reg_curve_engine_service_get_description),
(gog_reg_curve_engine_service_class_init),
(gog_reg_curve_new_by_name), (cb_pending_reg_curve_types_load),
(pending_reg_curves_types_load), (gog_reg_curve_service_read_xml),
(gog_reg_curve_service_get_description),
(gog_reg_curve_service_init), (gog_reg_curve_service_class_init),
(gog_plugin_services_init), (gog_reg_curve_type_free),
(create_reg_curve_types), (gog_reg_curve_types): ditto.
* goffice/graph/gog-plot-engine.h: ditto.
* goffice/graph/gog-reg-curve-prefs.glade: ditto.
* goffice/graph/gog-reg-curve.c: (gog_reg_curve_init_style),
(gog_reg_curve_populate_editor), (gog_reg_curve_finalize),
(gog_reg_curve_type_name), (gog_reg_curve_class_init),
(gog_reg_curve_init), (gog_reg_curve_dataset_dims),
(gog_reg_curve_dataset_get_elem),
(gog_reg_curve_dataset_dim_changed), (gog_reg_curve_dataset_init),
(gog_reg_curve_new_by_type), (gog_reg_curve_get_value_at),
(gog_reg_curve_get_equation), (gog_reg_curve_get_R2),
(gog_reg_curve_get_bounds), (gog_reg_curve_view_render),
(gog_reg_curve_view_size_allocate),
(gog_reg_curve_view_class_init): ditto.
* goffice/graph/gog-reg-curve.h: ditto.
* goffice/graph/gog-reg-eqn-prefs.glade: ditto.
* goffice/graph/gog-reg-eqn.c: (cb_text_pos_changed),
(cb_text_visibility_changed), (gog_reg_eqn_set_property),
(gog_reg_eqn_get_property), (gog_reg_eqn_init_style),
(gog_reg_eqn_populate_editor), (gog_reg_eqn_type_name),
(gog_reg_eqn_class_init), (gog_reg_eqn_init),
(gog_reg_eqn_view_render), (gog_reg_eqn_view_class_init): ditto.
* goffice/graph/gog-reg-eqn.h: ditto.
* goffice/graph/gog-series-impl.h: ditto.
* goffice/graph/gog-series.c: (regression_curve_can_add),
(regression_curve_post_add), (regression_curve_pre_remove),
(gog_series_class_init), (gog_series_init): ditto.
* goffice/graph/gog-theme.c: (gog_themes_init): ditto.
* plugins/Makefile.am: ditto.
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
(gog_xy_view_size_allocate), (gog_xy_view_class_init),
(gog_xy_series_view_render), (gog_xy_series_view_size_allocate),
(gog_xy_series_view_class_init), (gog_xy_series_update),
(gog_xy_series_init), (gog_xy_series_class_init): ditto.
* plugins/reg_linear/Makefile.am: ditto.
* plugins/reg_linear/gog-lin-reg.c: (gog_lin_reg_curve_update),
(gog_lin_reg_curve_get_value_at), (gog_lin_reg_curve_get_equation),
(gog_lin_reg_curve_get_R2), (gog_lin_reg_curve_finalize),
(gog_lin_reg_curve_class_init), (gog_lin_reg_curve_init),
(go_plugin_init), (go_plugin_shutdown): ditto.
* plugins/reg_linear/gog-lin-reg.h: ditto.
* plugins/reg_linear/plugin.xml.in: ditto.
* plugins/reg_linear/reg-types.xml.in: ditto.
* po/POTFILES.in: ditto.
* plugins/plot_surface/xl-surface.c:
(xl_contour_plot_axis_get_bounds): fixed a compilation warning.
2005-05-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2005-05-09 Jody Goldberg <jody@gnome.org>
* Release 0.0.1
2005-05-09 Jody Goldberg <jody@gnome.org>
* tests/pie-demo.c (main) : update
2005-05-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* plugins/plot_radar/gog-radar.c (gog_rt_view_render): warning fix.
2005-05-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
handle GOG_AXIS_SET_XY_pseudo_3d case.
(axis_line_get_bbox): fix label offset.
(axis_line_render): ditto.
(axis_circle_get_bbox): take ticks into account. Use GogChartMap.
(axis_circle_render): if axis is polar, use bezier paths by calling
gog_renderer_draw_arc. Draw ticks. Use GogChartMap.
(x_process): new.
(xy_process): use GogChartMap.
(calc_polygon_parameters): removed.
(radar_process): implement padding_request for radial axes.
(gog_axis_base_view_info_at_point): handle GOG_AXIS_SET_X.
(gog_axis_base_view_padding_request): ditto.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-axis.c (map_bounds): new.
(map_linear_auto_bound): handle auto bounds for non discrete circular
axis.
(map_linear_calc_ticks): place major ticks to a multiple of major
step.
(map_log_bounds): new.
(gog_axis_map_get_extents): new.
(gog_axis_map_get_bounds): new.
(role_grid_line_major_can_add): can be TRUE for non discrete
GOG_AXIS_CIRCULAR.
(role_grid_line_minor_post_add): ditto.
(role_axis_line_can_add): can be TRUE for GOG_AXIS_RADIAL.
(gog_axis_set_property): changing invert flag invalidates layout.
(gog_axis_populate_editor): don't show map type selector for
GOG_AXIS_CIRCULAR.
(gog_axis_is_inverted): new.
* goffice/graph/gog-chart.c (calc_polygon_parameters): new.
(calc_circle_parameters): new.
(null_map_2D): new.
(x_map_2D_to_view): new.
(xy_map_2D_to_view): new.
(polar_map_2D_to_view): new.
(gog_chart_map_get_polar_parms): new.
(gog_chart_map_new): needs pointers to axes of the axis set now.
handle GOG_AXIS_SET_X, GOG_AXIS_SET_RADAR and
GOG_AXIS_SET_XY_pseudo_3d.
(gog_chart_map_2D): removed.
(gog_chart_map_2D_to_view): new.
(gog_chart_map_get_axis_map): new.
(gog_chart_map_is_valid): new.
(gog_chart_axis_set_assign): handle GOG_AXIS_SET_RADAR.
* goffice/graph/gog-grid-line.c (calc_polygon_parameters): removed.
(gog_grid_line_view_render): handle polar plots.
* goffice/graph/gog-grid.c (gog_grid_view_render): handle polar and
radar plots.
* goffice/graph/gog-renderer-gnome-print.c
(draw_bezier_path): new.
(gog_renderer_gnome_print_draw_bezier_path): use draw_bezier_path.
(gog_renderer_gnome_print_draw_bezier_polygon): new.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_draw_polygon): fix transparency rendering. Idea
stolen from gnome-print.
(gog_renderer_pixbuf_draw_bezier_polygon): new.
* goffice/graph/gog-renderer-svg.c (fill_properties): new.
(gog_renderer_svg_draw_bezier_polygon): new.
* goffice/graph/gog-renderer.c
(gog_renderer_get_ring_wedge_vpath): new.
(gog_renderer_draw_ring_wedge): new.
(gog_renderer_draw_pie_wedge): new.
(gog_renderer_draw_arc): new.
* plugins/plot_radar/gog-radar.c: renamed GogRadarPlot to GogRTPlot,
as base of GogRadarPlot and GogPolarPlot.
New GogRadarPlot and GogPolarPlot classes.
Renamed GogRadarView class to GogRTView class.
(gog_rt_view_render): handle radar and polar plots.
Renamed GogRadarSeries class to GogRTSeries.
* plugins/plot_radar/plot-types.xml.in: add polar plots.
* plugins/plot_radar/plugin.xml.in: ditto.
2005-05-09 Morten Welinder <terra@gnome.org>
* goffice/graph/gog-style.c (cb_font_changed): C99, const, and
type fixes.
2005-05-09 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_matrix_val_as_str),
(go_data_matrix_val_from_str): made things work.
* plugins/plot_surface/gog-surface.c: (gog_contour_plot_update),
(gog_contour_view_render): avoid crashes and weird displays
when there are no data for the axis.
* plugins/plot_surface/xl-surface.c (xl_contour_plot_build_matrix):
fix a vector length problem and replace nan by 0. to be xl compatible.
2005-05-08 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_vector_str_from_str):
fix an infinite loop condition.
* plugins/gog-surface.c: fixed several critical bugs.
2005-05-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-legend.c: (cb_render_elements): use style
for legend font.
* goffice/graph/gog-style.c: (cb_font_changed): make things work,
at least for now
* goffice/gtk/go-font-sel.c: (style_selected): fixed it,
(go_font_sel_set_style): added a warning.
2005-05-07 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-action-combo-color.c (go_action_combo_color_new):
Don't set ->icon here, but make it when needed. Fixes #302880.
(make_icon): New function.
2005-05-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/data/go-data-simple.c: (go_data_vector_val_finalize),
(go_data_vector_val_dup), (go_data_vector_val_as_str),
(go_data_vector_val_from_str), (go_data_vector_val_class_init),
(go_data_vector_val_new), (cb_strings_destroy_notify),
(go_data_vector_str_finalize), (go_data_vector_str_dup),
(go_data_vector_str_as_str), (go_data_vector_str_from_str),
(go_data_vector_str_class_init), (go_data_vector_str_init),
(go_data_vector_str_new),
(go_data_vector_str_set_translation_domain),
(go_data_matrix_val_finalize), (go_data_matrix_val_dup),
(go_data_matrix_val_eq), (go_data_matrix_val_load_size),
(go_data_matrix_val_load_values), (go_data_matrix_val_get_value),
(go_data_matrix_val_get_str), (go_data_matrix_val_as_str),
(go_data_matrix_val_from_str), (go_data_matrix_val_class_init),
(go_data_matrix_val_new): add GODataMatrixVal class and add
serialization to GODataVectorVal and GODataVectorStr.
* goffice/data/go-data-simple.h: add GODataMatrixVal class and
enhanced vectors.
* goffice/data/go-data.c: (go_data_matrix_get_value),
(go_data_matrix_get_str): check if row and column are valid.
* goffice/gtk/go-color-palette.c: (create_color_sel): set opacity (see
#302387).
* goffice/gtk/go-format-sel.c: use go_setlocale instead of gnm_setlocale.
* goffice/utils/format.c: (go_setlocale),
(go_set_untranslated_bools): renamed two gnm functions.
* goffice/utils/format.h: ditto.
* plugins/plot_surface/xl-surface.c: updated args to go_data_vector_str_new
(xl_contour_plot_axis_get_bounds): updated args to go_data_vector_str_new.
2005-05-07 Jody Goldberg <jody@gnome.org>
* goffice/graph/gog-object-xml.c (gog_dataset_sax_save) : use
g_snprintf it is more portable.
(gog_dataset_dom_save) : ditto.
* goffice/utils/go-libxml-extras.c (xml_node_set_double) : ditto.
2005-05-06 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-chart.c (plot_render): new.
(gog_chart_view_render): render plot marked with render_before_axes
before axes, but after grid and background.
* goffice/graph/gog-plot.c (gog_plot_init): default render_before_axes
to FALSE.
* plugings/plot_barcol/gog-line.c (gog_area_plot_init):
render_before_axes = TRUE.
* plugins/plot_radar/gog-radar.c (gog_radar_area_plot_init): ditto.
* plugins/plot_surface/gog-surface.c (gog_contour_plot_init): ditto.
2005-05-05 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_object_properties_free,
go_object_properties_collect, go_object_properties_apply): New
functions.
2005-05-04 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-box.c (go_combo_box_style_set): New
function.
(go_combo_box_class_init): Hook up go_combo_box_style_set and
define add-tearoffs widget style property.
2005-05-04 Jody Goldberg <jody@gnome.org>
* goffice/app/go-plugin-service.c (plugin_service_new) : minor leak.
2005-05-01 Jon K Hellan <hellan@acm.org>
* goffice/gtk/goffice-gtk.[ch] (go_mime_to_image_format): New. Get
image format for mime type.
(go_image_format_to_mime): New. Get mime types for image format.
2005-04-29 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c: added missing header.
2005-04-29 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_object_toggle): New function.
2005-04-28 Stepan Kasal <kasal@ucw.cz>
* configure.in (WITH_WIN32): Fix the case command for $host_os,
add the "pw32*" pattern.
(AC_CANONICAL_HOST): Call explicitly, we use $host_os.
(WINDRES): Add an AC_ARG_VAR declaration.
2005-04-28 Ivan, Wong Yat Cheung <email@ivanwong.info>
* configure.in: Remove OS_WIN32 and combine PLATFORM_WIN32
and WITH_WIN32.
* goffice/Makefile.am: Use WITH_WIN32
2005-04-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-plot.c: (cb_axis_changed): initialize value.
2005-04-21 Stepan Kasal <kasal@ucw.cz>
* configure.in (GOFFICE_LIB_VERSON): Rename to ...
(GOFFICE_LIB_VERSION): ... and compute statically, by m4_eval.
* goffice/Makefile.am (goffice-paths.h): Also depends on Makefile.
* plugins/plot_barcol/Makefile.am, plugins/plot_pie/Makefile.am:
* plugins/plot_xy/Makefile.am: Don't list glade files in xml_DATA.
2005-04-20 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/gtk/go-action-combo-text.c: Add a new property
"case-sensitive".
2005-04-19 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/Makefile.am (SUFFIXES): Remove, Automake deduces it
(at least Automake >= 1.7).
2005-04-18 Stepan Kasal <kasal@ucw.cz>
* plugins/plot_surface/xl-surface.c (xl_contour_plot_build_matrix):
Don't initialize `ptr' twice; do initialize `series'.
2005-04-18 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/go-gradient.h (GOGradientDirection): Properly terminate
with GO_GRADIENT_MAX.
* goffice/utils/go-gradient.c (grad_dir_names): No need to include the
enum number in the structure; code adapted.
* goffice/utils/go-marker.c: Don't omit libart includes when !WITH_GTK;
(marker_shape_names): Merge into marker_shapes; adapt code.
(marker_shapes): Use macros to shorten the definition.
(marker_update_pixbuf, go_marker_finalize, go_marker_set_shape):
(go_marker_set_outline_color, go_marker_set_fill_color):
(go_marker_set_size): Factor out common code ...
(marker_free_pixbuf): ... to a new static function.
(SELECTOR_PIXBUF_SIZE, SELECTOR_MARKER_SIZE): Remove unused defines.
* goffice/utils/go-marker.h (pixbuf): If !WITH_GTK, rename this to ...
(pixbuf_placeholder): ..., so that noone can actually use it.
* goffice/utils/go-pattern.c (pattern_names): Merge into go_patterns;
adapt code.
* goffice/utils/go-pattern.h (go_pattern_selector): Omit if !WITH_GTK.
2005-04-18 Stepan Kasal <kasal@ucw.cz>
* configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
2005-04-15 Stepan Kasal <kasal@ucw.cz>
* configure.in: Fix the appearance of help strings.
2005-04-12 Stepan Kasal <kasal@ucw.cz>
* goffice/utils/go-file.c: #include libgnomevfs/gnome-vfs-mime-utils.h;
this file comes via gsf-input-gnomevfs.h and gnome-vfs.h in current
version, but not in my gnome-vfs 2.4.2.
* goffice/graph/gog-plot.c (gog_plot_update_3d): Cosmetic fix.
2005-04-10 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/goffice-graph.h: allow use of GOG_AXIS_PSEUDO_3D.
* goffice/graph/gog-axis-line.c: add pseudo 3d axis support.
(gog_axis_base_view_padding_request), (gog_axis_base_view_render):
* goffice/graph/gog-axis.c: (gog_axis_calc_ticks): ditto.
* goffice/graph/gog-chart.c: (gog_chart_map_new),
(gog_chart_map_2D), (role_grid_can_add), (pseudo_3d_axis_can_add),
(pseudo_3d_axis_post_add), (gog_chart_axis_set_assign): ditto.
* goffice/graph/gog-plot-impl.h: ditto.
* goffice/graph/gog-plot.c: (gog_plot_class_init),
(gog_plot_foreach_elem), (gog_plot_get_axis), (gog_plot_update_3d): ditto.
* goffice/graph/gog-plot.h: ditto.
* plugins/plot_surface/Makefile.am: ass xl-surface.*.
* plugins/plot_surface/gog-contour-prefs.c: removed deprecated code and
added "transposed" property managing.
* plugins/plot_surface/gog-contour-prefs.glade: ditto.
* plugins/plot_surface/gog-surface.c: rewrote to use pseudo 3d axis.
* plugins/plot_surface/gog-surface.h: ditto.
* plugins/plot_surface/plugin.xml.in: added xl compatibility contours plots
* plugins/plot_surface/xl-surface.c: ditto.
* plugins/plot_surface/xl-surface.h: ditto.
2005-04-08 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/gtk/Makefile.am: use -export-symbols to link with
libhtmlhelp-stub.def
2005-04-07 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-svg.c: avoid use of
g_string_append_printf.
2005-04-07 Morten Welinder <terra@gnome.org>
* goffice/gtk/goffice-gtk.c (go_gtk_url_is_writeable): Use
go_access. No need to define G_IS_DIR_SEPARATOR anymore.
(go_access): Copied from gsf while we're waiting for glib.
2005-04-07 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-renderer-svg.c: Avoid locale changes by using
g_ascii_dtostr. Fixes 172726.
2005-04-07 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-guru.c: (cb_attr_tree_selection_change): don't
scroll to selection if nothing is selected.
2005-04-06 Morten Welinder <terra@gnome.org>
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_set_property): Add
missing "break;"
* goffice/utils/datetime.c (datetime_isoweeknum): Replace by
g_date_get_iso8601_week_of_year.
* configure.in: Require glib 2.6.4.
2005-04-04 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_format_number): Do at least a small
attempt at getting fractional seconds right.
2005-04-02 Jean Brefort <jean.brefort@normalesup.org>
* goffice/goffice.c: (libgoffice_init), (libgoffice_shutdown): call
number_format_init/shutdown.
2005-04-01 Jody Goldberg <jody@gnome.org>
* goffice/utils/regutf8.c : include string.h to suppress warning about
implicit decl of strlen
2005-04-01 Morten Welinder <terra@gnome.org>
* goffice/utils/go-glib-extras.c (go_guess_encoding): Try exotic
encodings guess by libxml.
* goffice/drawing/god-property-table.h: Use canonical property
names.
* goffice/gtk/goffice-gtk.c (go_gtk_select_image): Moderately
cheesy way of saving where we were last time.
2005-04-01 Stepan Kasal <kasal@ucw.cz>
s/INCLUDES/AM_CPPFLAGS/ "automake -Wall" has told me this.
* goffice/libgoffice-1.pc.in: Move ...
* libgoffice-1.pc.in: ... here.
* Makefile.am, goffice/Makefile.am, configure.in: Adapt to the move.
* goffice/utils/Makefile.am (non-intermediate): New dummy rule; see
http://bugzilla.gnome.org/show_bug.cgi?id=172211 and
http://bugzilla.gnome.org/show_bug.cgi?id=172212
(.list.c, .list.h): Remove $(GLIB_GENMARSHAL); it didn't work
anyway, the prerequisities of an implicit rule are ignored.
* configure.in (GLIB_GENMARSHAL): Full path is not needed.
(GOFFICE_CFLAGS): No need to amend this.
2005-03-31 Morten Welinder <terra@gnome.org>
* goffice/app/go-plugin-service.c (go_plugin_file_saver_save): If
we failed to load the plugin, set an error on the output.
2005-03-30 Ivan, Wong Yat Cheung <email@ivanwong.info>
* configure.in:
* plugins/plot_*/Makefile.am: modify GOFFICE_PLUGIN_LDFLAGS and
add GOFFICE_PLUGIN_LIBADD. They help when
host_os == win32.
* goffice/Makefile.am: -export-all-symbols is not the
final solution. Will remove it when we have GO_API or
any other solution.
* goffice/goffice-priv.h:
* goffice/goffice.c:
* goffice/app/go-plugin.c: use go_sys_lib_dir ()
* goffice/gtk/Makefile.am: libgoffice-html-help-stub.la
2005-03-30 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-object.c (gog_editor_free): free editor.
2005-03-30 Morten Welinder <terra@gnome.org>
* goffice/utils/regutf8.c: Import Gnumeric's non-gui search stuff.
Make it a gobject.
(go_search_replace_set_search_text,
go_search_replace_set_replace_text): Be paranoid.
2005-03-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* pixmaps/chart_polar_1_1.[png,svg]: new.
* pixmaps/polar.[png,svg]: new.
2005-03-28 Morten Welinder <terra@gnome.org>
* .../*.c: Use canonical property names.
* goffice/utils/go-libxml-extras.c
(e_xml_get_child_by_name_by_lang): Use g_get_language_names.
* goffice/utils/Makefile.am (libgoffice_utils_la_HEADERS): Remove
go-locale.[ch].
2005-03-27 Morten Welinder <terra@gnome.org>
* goffice/gtk/go-combo-box.c (go_combo_box_init): Use canonical
property names.
(go_combo_popup_tear_off): Ditto.
* goffice/gtk/go-action-combo-text.c
(go_action_combo_create_tool_item): Ditto.
* goffice/gtk/go-action-combo-stack.c
(go_action_combo_stack_create_tool_item): Ditto.
* goffice/gtk/go-action-combo-color.c (go_action_combo_color_new):
Ditto.
2005-03-27 Jean Brefort <jean.brefort@normalesup.org>
* goffice/app/error-info.h: add missing G_BEGIN_DECLS and G_END_DECLS.
* goffice/app/file-priv.h: ditto.
* goffice/app/file.h: ditto.
* goffice/app/go-cmd-context-impl.h: ditto.
* goffice/app/go-cmd-context.h: ditto.
* goffice/app/go-error-stack.h: ditto.
* goffice/app/go-object.h: ditto.
* goffice/app/go-plugin-loader-module.h: ditto.
* goffice/app/go-plugin-loader.h: ditto.
* goffice/app/go-plugin-service.h: ditto.
* goffice/app/go-plugin.h: ditto.
* goffice/app/go-service.h: ditto.
* goffice/app/io-context-priv.h: ditto.
* goffice/app/io-context.h: ditto.
* goffice/app/module-plugin-defs.h: ditto.
* goffice/data/go-data-simple.h: ditto.
* goffice/graph/gog-error-bar.h: ditto.
* goffice/graph/gog-renderer.h: ditto.
* goffice/ms-compat/go-ms-parser.h: ditto.
* goffice/ms-compat/god-drawing-ms.h: ditto.
* goffice/utils/datetime.h: ditto.
* goffice/utils/go-math.h: ditto.
2005-03-25 Stepan Kasal <kasal@ucw.cz>
* configure.in (GOFFICE_WITHOUT_GTK, GOFFICE_WITH_GNOME): Rename
these defines back to WITH_GTK and WITH_GNOME.
(GOFFICE_WITH_GTK, GOFFICE_WITH_GNOME): Rename the Automake
conditionals back to WITH_GTK and WITH_GNOME, too.
2005-03-24 Stepan Kasal <kasal@ucw.cz>
* goffice/app/module-plugin-defs.h (GOFFICE_MODULE_PLUGIN_INFO_DECL):
Removed, it's not used.
2005-03-24 Stepan Kasal <kasal@ucw.cz>
* goffice/Makefile.am (goffice-paths.h): Rewrite the rule,
goffice-paths.sh* is no longer used.
(EXTRA_DIST, noinst_HEADERS): No longer needed.
* goffice/goffice-paths.sh.in: Removed.
* configure.in: Don't generate goffice-paths.sh, rearrange the
goffice_* AC_SUBSTs.
* goffice/goffice.c (LIBGOFFICE_VERSION): Renamed to GOFFICE_VERSION.
(libgoffice_lib_dir): Comment out in the WIN32 block, since the
declaration is already commented out.
2005-03-23 Stepan Kasal <kasal@ucw.cz>
* configure.in: Generate goffice-features.h as a header file, subset
of goffice-config.h.
* goffice/goffice-config.h.in: Adjust the template.
2005-03-22 Stepan Kasal <kasal@ucw.cz>
* autogen.sh: REQUIRED_AUTOCONF_VERSION=2.54 We already required
that indirectly, by asking for Automake >= 1.7.2.
* configure.in: AC_PREREQ(2.54)
- don't default to --without-gtk even if the reqs are not met;
- don't generate stamp.h; the issue is solved by Automake 1.7.2;
see info '(autoconf)Automatic Remaking' for details.
* stamp.h.in: Nuke.
* .cvsignore: Remove stamp*.
* goffice/.cvsignore: Remove depcomp.
* po/POTFILES.in: Remove goffice/cut-n-paste/pcre/printint.c.
2005-03-23 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* plugins/plot_radar/gog-radar.c (gog_radar_view_render): handle
inverted circular axis.
2005-03-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (radar_process): fix padding request
for circular axis.
2005-03-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (gog_axis_base_get_property): handle
GOG_AXIS_AUTO.
(gog_axis_base_set_position_auto): removed.
(gog_axis_base_set_position): handle GOG_AXIS_AUTO.
(xy_process): ditto.
* goffice/graph/gog-axis-line.h: add GOG_AXIS_AUTO to GogAxisPosition.
2005-03-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Add support for axis selection.
* goffice/graph/gog-axis-line.c (get_point_to_segment_distance): new.
(axis_line_point): new.
(axis_circle_point): new.
(axis_cirlce_render): render as polygon if num_radii > 0.0
cos (x - pi/2) = sin (x)
sin (x - pi/2) = -cos (x)
(xy_process): handle point routine now.
(radar_process) : ditto.
(gog_axis_base_view_info_at_point): new.
(gog_axis_base_view_padding_request): pass action parameter to process
functions.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-grid-line.c (gog_grid_line_info_at_point): new.
Just return FALSE for now.
2005-03-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-graph.c (gog_graph_force_update): replace if
statement by a while loop, since an object update may trigger a
update request for an other object.
* goffice/graph/gog-renderer-gnome-print.c
(gog_graph_print_to_gnome_print): force model update before rendering.
* goffice/graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update):
ditto.
* goffice/graph/gog-renderer-svg.c (gog_graph_export_to_svg): ditto.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): revert
previous broken fix (2005-03-17).
* tests/pie-demo.c (main): gog_chart_get_cardinality is not needed
anymore.
2005-03-21 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* configure.in: change test/Makefile to tests/Makefile
2005-03-21 Christopher James Lahey <clahey@ximian.com
* goffice/drawing/Makefile.am, goffice/ms-compat/Makefile.am:
Export header files.
2005-03-21 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (gog_axis_base_set_position_auto):
convenience function that places an axis line in the first free
position.
(cb_position_toggled): search all the axes with the same type, not
just parent one.
(axis_line_get_bbox): correct placement of axis labels.
(axis_line_render): ditto.
(axis_circle_get_bbox): ditto.
(axis_circle_render): ditto.
* goffice/graph/gog-axis.c (role_axis_line_post_add): use
gog_axis_base_set_position_auto.
(gog_axis_view_padding_request): restore padding hack.
(gog_axis_view_size_allocate): ditto.
* goffice/graph/gog-chart.c (axis_post_add): place axis in the first
free position.
2005-03-21 Stepan Kasal <kasal@ucw.cz>
* MAINTAINERS: New file, two beings selected as victims -- one human
and one demi-god.
* Makefile.am (EXTRA_DIST): Add README NEWS BUGS MAINTAINERS AUTHORS.
* README: In the requirements, state that we require pango 1.8.1, and
fix the Debian name of the pango package; delete intltool, it's
distributed with the package.
* configure.in: Delete the requirement for libgnomeprintui.
2005-03-20 Jody Goldberg <jody@gnome.org>
* goffice/gtk/go-format-sel.c (fmt_dialog_enable_widgets) : make sure
the current selection is visible.
* goffice/goffice.c (libgoffice_init) : look in the right place.
2005-03-19 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/go-graph-widget.c: (go_graph_widget_size_allocate),
(go_graph_widget_set_property), (go_graph_widget_get_property),
(go_graph_widget_class_init), (go_graph_widget_init): add abd use
aspect-ratio property.
* test/pie-demo.c: (main): add a title and a lengend.
2005-03-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (map_discrete): inverted is in
GogAxisMap::axis->inverted.
(map_discrete_to_view): ditto.
(map_discrete_from_view): ditto.
(map_linear_from_view) :ditto.
(map_linear_to_view): ditto.
(map_log_to_view): ditto.
(map_log_from_view): ditto.
(gog_axis_map_from_view): ditto.
(gog_axis_map_to_view): ditto.
(map_baseline): new.
(map_log_finite): new.
(map_log_baseline): new.
(gog_axis_map_finite): new. Returns TRUE if value means something in
this map.
(gog_axis_map_get_baseline): new. Returns the baseline for the given
map, in view coordinates, clipped to offset and offset+length, where
offset and length are the parameters of gog_axis_map_new.
* goffice/graph/gog-error-bar.c (gog_error_bar_render): do not try to
render error bar if a part of it is not at a valid coordinate.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): replace
go_finite tests by gog_axis_map_finite.
* plugins/plot_radar/gog-radar.c (gog_radar_view_render): ditto.
* plugins/plot_xy/gog-xy.c: ditto.
* plugins/plot_barcol/gog-line.c (gog_line_view_render): ditto. Use
gog_axis_map_get_baseline for y_zero.
2005-03-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* plugins/plot_barcol/gog-line.c (gog_line_view_render): Don't free
memory with invalid pointers.
2005-03-16 Stepan Kasal <kasal@ucw.cz>
* autogen.sh: Require intltool >= 0.27.2 and explain why;
fix IFS handling; cosmetic changes.
* configure.in: Cosmetics.
* goffice/libgoffice-1.pc.in: Change the "Name:" to libGOffice,
and put a command with a hint for anon cvs.
2005-03-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis.c (map_discrete_auto_bound): do not set auto
cross point.
2005-03-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/utils/go-line.c (go_line_build_vpath),
(go_line_build_bpath): fix new point test.
2005-03-16 Jean Brefort <jean.brefort@normalesup.org>
* test/pie-demo.c: fix compilation warnings and add some comments.
2005-03-15 Morten Welinder <terra@gnome.org>
* goffice/cut-n-paste/pcre/pcre.c (pcre_exec): Backport another
UMR fix.
2005-03-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/graph/gog-axis-line.c (axis_line_get_bbox): remove extra
gog_axis_map_new.
(gog_axis_base_view_padding_request): handle GOG_AXIS_SET_X like
GOG_AXIS_SET_XY.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-chart.c (gog_chart_map_new): ditto.
(gog_chart_map_2D): ditto.
* goffice/graph/gog-axis.c (role_axis_line_can_add): adding an axis
line is only relevant for GOG_AXIS_SET_XY for now.
(gog_axis_class_init): add role_axis_line_can_add.
* goffice/graph/gog-plot.c (gog_plot_populate_editor): axis selection
is only relevant for GOG_AXIS_SET_XY.
(gog_plot_set_axis_by_id): don't try to find an axis if id = 0,
GogObject::id starts at 1.
* plugins/plot_boxes/gog-xy.c (gog_bubble_plot_populate_editor):
call parent::populate_editor.
* plugins/plot_boxes/gog-boxplot.c (gog_box_plot_populate_editor):
ditto.
(gog_box_plot_view_render): free x_map.
2005-03-15 Stepan Kasal <kasal@ucw.cz>
* goffice/graph/Makefile.am: Distribute gog-axis-line-impl.h.
2005-03-15 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: (map_discrete_calc_ticks): limit ticks number
to GOG_AXIS_MAX_TICK_NBR (fix a crash when importing xl log axis).
2005-03-15 Stepan Kasal <kasal@ucw.cz>
Also undo the changes connected with the changes in configure.in, ...
* plugins/plot_barcol/Makefile.am, plugins/plot_boxes/Makefile.am,
plugins/plot_pie/Makefile.am, plugins/plot_radar/Makefile.am,
plugins/plot_surface/Makefile.am, plugins/plot_xy/Makefile.am: ...here.
2005-03-14 Morten Welinder <terra@gnome.org>
* configure.in: Undo last change. Test links with gcc, not $LD.
* goffice/utils/format.c: Compile plain double version first as
gdb sets breakpoints only for first copy.
(go_format_number): Disable strange number scaling for ".".
[#167274]
2005-03-14 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: (gog_axis_get_entry): fixed test for
GogAxisElemType arg (GOG_AXIS_ELEM_MAX_ENTRY instead of GOG_AXIS_ELEM_MAX).
2005-03-13 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/goffice.c (libgoffice_init): add GogAxisLine object.
* goffice/graph/Makefile.am: add gog-axis-line.[ch]
* goffice/graph/goffice-graph.h: add GogAxisLine object. Add new
object position GOG_POSITION_PADDING.
* goffice/graph/gog-axis-prefs.glade: Rework of axis property pages,
now called Scale and Layout.
* goffice/graph/gog-axis-line.[ch], gog-axis-line-impl.h: new.
Contains an implementation of what is needed to actually draw an
axis on screen, which was previously provided by GogAxis, in
GogAxisBase and GogAxisBaseView.
* goffice/graph/gog-axis.c: GogAxis is now derived from GogAxisBase.
Tick settings and position are now property of GogAxisBase.
(create_invalid_axis_ticks): always generate tick labels.
(map_discrete_calc_ticks): ditto.
(map_linear_calc_ticks): ditto.
(map_log_calc_ticks): ditto.
(role_label_post_add): removed.
(role_axis_line_post_add): new. Set axis line position to an unused
position.
(gog_axis_set_property): removed tick and position settings.
(gog_axis_get_property): ditto.
(cb_pos_changed): removed.
(gog_axis_editor): renamed to populate_editor. Use new GogEditor API.
Removed everything related to tick and position settings.
(gog_axis_class_init): Change position type of Label childs to
GOG_POSITION_SPECIAL. Add AxisLine as possible child. Removed tick and
position properties.
(gog_axis_init): removed tick and position settings.
(gog_axis_dataset_get_elem): cross location is a member of
GogAxisBase.
(gog_axis_get_pos): removed.
(gog_axis_is_center_on_ticks): new.
(gog_axis_view_padding_request): padding is now calculated in
GogAxisBaseView.
(gog_axis_view_size_request): removed.
(gog_axis_view_size_allocate): new. handle axis titles.
(draw_axis_from_a_to_b): removed.
(gog_axis_view_render_children): removed.
(gog_axis_view_render): rendering is now in GogAxisBaseView.
* goffice/graph/gog-chart.c (gog_chart_map_new),
(gog_chart_map_2D), (gog_chart_map_free): new.
(gog_chart_class_init): Axis position type is GOG_POSITION_PADDING
now.
(gog_chart_axis_set): renamed to gog_chart_get_axis_set.
(gog_chart_get_axis): renamed to gog_chart_get_axes.
(gog_chart_view_get_plot_area): no need to store plot_area. It's in
GogView::residual.
(child_request): removed.
(gog_chart_view_size_allocate): Do not handle axis padding request
here.
* goffice/graph/gog-grid-line.c (gog_grid_line_view_render): better
placement of radar plots.
* goffice/graph/gog-guru.c (cb_attr_tree_selection_change):
no need to handle editor type since gog_object_get_editor always
returns a notebook now.
* goffice/graph/gog-label.c (gog_label_populate_editor): Use new
GogEditor API.
* goffice/graph/gog-legend.c (gog_legend_populate_editor): ditto.
* goffice/graph/gog-series.c (gog_series_element_populate_editor):
ditto.
(gog_series_populate_editor): ditto.
* goffice/graph/gog-style.c (font_init): ditto.
(gog_style_populate_editor): ditto.
(style_editor): ditto.
(gog_style_editor): renamed to gog_style_get_editor.
(gog_styled_object_editor): removed.
(gog_style_handle_notebook): removed.
* goffice/graph/gog-object.c (gog_editor_new), (gog_editor_add_page),
(gog_editor_set_store_page), (gog_editor_get_notebook),
(gog_editor_free): new.
GogObject::id is an int now. This id is unique for a given object type
and on the same level in the object tree.
(gog_object_set_property): persist id now.
(gog_object_get_property): ditto.
(gog_object_class_init): ditto.
(gog_object_is_same_type): new.
(gog_object_generate_name): store auto_name and don't return anything.
(gog_object_get_id): new.
(gog_object_generate_id): new.
(gog_object_set_id): new.
(gog_object_get_name): return GogObject::auto_name.
(gog_object_position_cmp): GOG_POSITION_PADDING and
GOG_POSITION_SPECIAL are equivalent.
(gog_object_get_editor): use new GogEditor API.
(gog_object_set_parent): id is an int now.
* goffice/graph/gog-plot.c (cb_axis_changed): new.
(gog_plot_populate_editor): new.
(gog_plot_set_property): store axis reference now.
(gog_plot_get_property): ditto.
(gog_plot_class_init): ditto.
(gog_plot_set_axis_by_id): new.
(gog_plot_get_axis_id): new.
* goffice/graph/gog-styled-object.c (styled_object_populate_editor):
use new GogEditor API.
* goffice/graph/gog-theme.c (gog_themes_init): handle GogAxisLine
objects.
* goffice/graph/gog-view.c: GogView::padding_request : new.
(gog_view_padding_request_real): new.
(gog_view_padding_request): new.
* plugins/plot_barcol/gog-1_5d.c (gog_series1_5d_populate_editor):
use GogEditor API.
* plugins/plot_barcol/gog-barcol.c (gog_barcol_plot_populate_editor):
ditto.
* plugins/plot_boxes/gog-boxplot.c (gog_box_plot_populate_editor):
ditto.
(gog_box_plot_view_render): draw sharp rectangles.
* plugins/plot_pie/gog-pie-prefs.glade: layout fixes.
* plugins/plot_pie/gog-pie-series.glade: ditto.
* plugins/plot_pie/gog-pie.c (gog_pie_series_element_populate_editor):
use GogEditor API.
(gog_pie_plot_populate_editor): ditto.
(gog_ring_plot_populate_editor): ditto.
* plugins/plot_radar/gog-radar.c (gog_radar_plot_axis_get_bounds):
maxima is num_elements - 1.
(gog_radar_view_render): better radar plot placement.
* plugins/plot_surface/gog-surface.c
(gog_contour_plot_populate_editor): use GogEditor API.
* plugins/plot_xy/gog-xy.c (gog_bubble_plot_populate_editor): ditto.
(gog_xy_series_populate_editor): ditto.
2005-03-13 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Link -Wl,-O1 if the linker supports it; see
http://people.redhat.com/drepper/dsohowto.pdf for background.
* configure.in: Link -Wl,-z,defs if the linker supports it
* plugins/plot_barcol/Makefile.am, plugins/plot_boxes/Makefile.am,
plugins/plot_pie/Makefile.am, plugins/plot_radar/Makefile.am,
plugins/plot_surface/Makefile.am, plugins/plot_xy/Makefile.am: except
for the plugins.
2005-03-13 Jean Brefort <jean.brefort@normalesup.org>
* goffice/gtk/Makefile.am: add go-graph-widget.*.
* goffice/gtk/go-font-sel.c: (canvas_size_changed): display sample
text centered in the canvas.
* goffice/gtk/go-graph-widget.c: new GOGraphWidget class.
* goffice/gtk/go-graph-widget.h: ditto.
* test/Makefile.am: add pie-demo sample program.
* test/pie-demo.c: simple sample program.
2005-03-12 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_render_number): Add epsilon early and
permanently. Fix significant digit check.
2005-03-11 Morten Welinder <terra@gnome.org>
* goffice/utils/format.c (go_render_number): Fix two
trailing-zeros bugs.
* goffice/utils/Makefile.am (.list.c): Add include of
goffice/goffice-config.h when building this.
* goffice/utils/go-libxml-extras.c (xml_node_set_gocolor): Don't
go via GdkColor which we may not have.
* goffice/utils/regutf8.c (go_regexp_quote): Renamed from
gnumeric_regexp_quote.
2005-03-11 Stepan Kasal <kasal@ucw.cz>
* configure.in: Propagate ACLOCAL_FLAGS, so that it's available
in the Makefile for the aclocal.m4 rule.
(goffice_reqs): Require pango 1.8.1; it is not good if we
_slightly_ differ from gnumeric.
2005-03-09 Morten Welinder <terra@gnome.org>
* goffice/utils/datetime.h (WEEKNUM_METHOD_SUNDAY): Define using
enum.
* goffice/utils/datetime.c (datetime_weeknum,
datetime_g_days_between, datetime_g_months_between,
datetime_g_years_between): Use g_return_val_if_fail, not g_assert.
* goffice/utils/format.c: Fix long double compilation.
2005-03-08 Jody Goldberg <jody@gnome.org>
The last of the code dependencies on gnumeric. Now I just need to
move the icons.
* goffice/gtk/go-action-combo-color.c (go_action_combo_color_new) :
use gtk_icon_theme_load_icon in place of gnm_app_get_pixbuf.
* goffice/gtk/goffice-gtk.c (update_preview_cb) : ditto.
2005-03-08 Stepan Kasal <kasal@ucw.cz>
* configure.in (AC_OUTPUT, AC_CONFIG_FILES): Use AC_CONFIG_FILES and
call AC_OUTPUT with no parameters; this was already available in
autoconf 2.52.
2005-03-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
* goffice/Makefile.am: Fixed inter-library dependencies; fix towards
-Wl,-z,defs buildability.
* goffice/graph/gog-grid-line.h, goffice/gtk/go-action-combo-stack.c,
goffice/ms-compat/god-drawing-ms.c: Switch to traditional C comments,
to be buildable by gcc -ansi.
2005-03-07 Morten Welinder <terra@gnome.org>
* configure.in: Pare down long double support checks to what is
needed.
* goffice/goffice-config.h: Don't install this, ...
* goffice/goffice-features.h: ... install this one instead.
2005-03-07 Stepan Kasal <kasal@ucw.cz>
* configure.in: Don't default to --without-gtk if gtk libs are not
found; remove checks for gconf, Corba and GNU make, as they are
not used in goffice; improve quoting and make use of AC_SUBST/2.
* goffice/app/Makefile.am (UNUSED): List the unused files lingering
in the CVS, ...
(EXTRA_DIST): ... and distribute them.
* goffice/gtk/Makefile.am (UNUSED, EXTRA_DIST): Likewise.
* goffice/cut-n-paste/pcre/Makefile.am: Refresh.
2005-03-07 Morten Welinder <terra@gnome.org>
* configure.in: Use largefile apis.
* goffice/utils/go-libxml-extras.c (go_xml_parse_file):
New replacement for xmlParseFile. All users changed.
* goffice/utils/go-math.c (go_math_init): Verify properties of
go_nanl, go_pinfl, and go_ninfl.
* goffice/utils/format.c (number_format_init): Fix initialization
of beyond_precision and beyond_precisionl.
2005-03-06 Jean Brefort <jean.brefort@normalesup.org>
* goffice/graph/gog-axis.c: (map_discrete_to_view),
(map_discrete_from_view), (map_linear_to_view),
(map_linear_from_view), (map_log_to_view), (map_log_from_view),
(gog_axis_map_from_view), (gog_axis_map_to_view),
(draw_axis_from_a_to_b), (gog_axis_view_render): changed map_to_canvas to
map_to_view and added gog_axis_map_from_canvas and support.
* goffice/graph/gog-axis.h: ditto.
* goffice/graph/gog-error-bar.c: (gog_error_bar_render): ditto.
* goffice/graph/gog-grid-line.c: (gog_grid_line_view_render): ditto.
* plugins/plot_barcol/gog-barcol.c: (barcol_draw_rect): ditto.
* plugins/plot_barcol/gog-line.c: (gog_line_view_render): ditto.
* plugins/plot_boxes/gog-boxplot.c: (gog_box_plot_view_render): ditto.
* plugins/plot_radar/gog-radar.c: (gog_radar_view_render): ditto.
* plugins/plot_surface/gog-surface.c: (gog_contour_view_render): ditto.
* plugins/plot_xy/gog-xy.c: (gog_xy_view_render): ditto.
2005-03-06 Jon K Hellan <hellan@acm.org>
* goffice/utils/go-file.c (go_get_mime_type): New.
2005-03-06 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice/app/go-plugin.c (go_plugins_init): append goffice plugin
directory to plugin_dirs list.
(go_plugins_get_plugin_dir): new.
2005-03-04 Jody Goldberg <jody@gnome.org>
* goffice/app/module-plugin-defs.h : remove the ugly go_get_current_plugin
and the PLUGIN & PLUGIN_CLASS macras.
2005-03-04 Morten Welinder <terra@gnome.org>
* goffice/utils/go-math.c (go_finite): Make this a function and
add a fallback definition.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_finalize): No need to call
go_pango_fc_font_map_cache_clear.
(gog_renderer_pixbuf_get_pango_context): Use Gimp's leak
work-around instead.
* goffice/utils/go-font.c (go_fonts_list_families,
go_fonts_list_sizes): New function. Rework all references to
go_fonts_family_names, go_fonts_font_size_names,
go_fonts_font_size_pts to use these. (This gets rid of one more
direct -- and wrong -- reference to the ft2 pango backend.)
(go_pango_fc_font_map_cache_clear): Remove.
* goffice/utils/go-math.c (go_stern_brocot): Use double, not
float.
* goffice/utils/go-glib-extras.c (go_mem_chunk_new): Drop
references to gnm_float.
2005-03-04 Stepan Kasal <kasal@ucw.cz>
* goffice/cut-n-paste/foocanvas/foo-canvas.c: Refresh.
2005-03-02 Ivan, Wong Yat Cheung <email@ivanwong.info>
* goffice/gtk/goffice-gtk.c: Use gsf_input_textline_utf8_gets()
to read .hhmap file which stores topic_string-context_id pairs.
Become more verbose when topic is not found.
go_gtk_notice_(nonmodal_)dialog/go_gtk_query_yes_no now
accept va_arg.
2005-03-02 Stepan Kasal <kasal@ucw.cz>
* configure.in: Add check for Xrender.
* goffice-plugins.mk (INCLUDES): Fix.
* goffice/cut-n-paste/foocanvas/*: Refresh.
2005-02-28 Jean Brefort <jean.brefort@normalesup.org>
* goffice/utils/go-glib-extras.c: replaced gnumeric-config.h by
goffice-config.h
* goffice/gtk/go-action-combo-pixmaps.h: updated gui-utils to gtk
for includes paths.
* goffice/gtk/go-font-sel.c: ditto.
* goffice/gtk/go-format-sel.c: ditto.
* goffice/utils/go-glib-extras.c: ditto.
* goffice/utils/go-gradient.c: ditto.
* goffice/utils/go-line.c: ditto.
* goffice/utils/go-marker.c: ditto.
* goffice/utils/go-pattern.c: ditto.
* plugins/plot_barcol/gog-barcol-prefs.c: ditto.
* plugins/plot_boxes/gog-boxplot.c: ditto.
* plugins/plot_pie/gog-pie-prefs.c: ditto.
* plugins/plot_surface/gog-contour-prefs.c: ditto.
* plugins/plot_xy/gog-bubble-prefs.c: ditto.
2005-02-28 Christopher James Lahey <clahey@clahey.net>
* configure.in, goffice-plugins.mk: Changed gnumeric to goffice
here.
2005-02-27 Christopher James Lahey <clahey@clahey.net>
* Makefile.am (pkgconfigdir), configure.in (AC_OUTPUT): Create and
install libgoffice-1.pc.
2005-02-27 Christopher James Lahey <clahey@clahey.net>
* libgoffice-1.pc.in: New file.
2005-02-27 Jody Goldberg <jody@gnome.org>
* configure.in : Quick and dirty subset of gnumeric
2005-02-26 Jody Goldberg <jody@gnome.org>
* graph/Makefile.am : move the plugins into the root dir
so that the plugins can link against libgoffice
2005-02-22 Morten Welinder <terra@gnome.org>
* gui-utils/go-gui-utils.c (filter_images): If we have no
mime-type, fall back to checking the extension against what
gdk-pixbuf supports. Adapted from bug #164589.
2005-02-17 Stepan Kasal <kasal@ucw.cz>
* Makefile.am (INCLUDES): Remove -I$(top_srcdir)/src/cut-n-paste-code/goffice.
Fix the remaining includes.
* goffice.c (go_sys_icon_dir): Fix typo.
2005-02-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* gui-utils/go-gui-utils.c: include errno.h
(go_help_display): link is part of paths.
2005-02-16 Jean Brefort <jean.brefort@normalesup.org>
* graph/gog-renderer-pixbuf.c: (gog_renderer_pixbuf_draw_path): rewrite to
use large paths at once and have better dashes support
* graph/plugins/plot_xy/gog-xy.c: (gog_xy_view_render): render path at once
and use ART_PATH_STROKE_CAP_ROUND for better rendering of large lines.
* utils/go-line.c: (go_line_build_vpath): new function, builds a vpath from
a set of points.
* utils/go-line.h: ditto.
2005-02-16 Jody Goldberg <jody@gnome.org>
* utils/go-file.c (go_url_check_extension) : pull down from gnumeric
* gui-utils/go-gui-utils.c (go_gtk_button_new_with_stock) : renamed
from go_gtk_button_new_with_stock_image.
(go_libglade_new) : use go_sys_data_dir.
(go_gtk_widget_disable_focus) : renamed from go_widget_disable_focus.
(go_pango_measure_string) : renamed from go_measure_string.
(go_gtk_window_set_transient) : renamed from go_window_set_transient.
(go_gtk_nonmodal_dialog) : renamed from gnumeric_non_modal_dialog.
(go_gtk_file_sel_dialog) : renamed from gnumeric_dialog_file_selection.
(go_gtk_select_image) : renamed from gui_image_file_select.
(gui_get_image_save_info) : pulled in from gnumeric.
(go_atk_setup_label) : renamed from gnm_setup_label_atk.
(go_help_display) : pulled down from gnumeric and made generic.
(go_gtk_help_button_init) : ditto.
(go_gtk_url_is_writeable) : ditto.
(go_gtk_dialog_run) : pulled from gnumeric
(go_gtk_notice_dialog) : ditto.
(go_gtk_notice_nonmodal_dialog) : ditto.
(go_gtk_query_yes_no) : ditto.
* gui-utils/Makefile.am : Add libhtml_stub
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_init) : init the
dpis.
(gog_renderer_pixbuf_get_pango_context) : use the stored calculated
dpi rather than gconf
(gog_renderer_pixbuf_update) : store the dpi
* goffice.c (libgoffice_init) : init the paths. We may want to expand
this at some point to allow cmd-line or env-var override.
(go_sys_data_dir) : new.
(go_sys_icon_dir) : new.
2005-02-15 Stepan Kasal <kasal@ucw.cz>
* gui-utils/go-marshalers.list: Remove, merge with ...
* utils/go-marshalers.list: ... this one, adjust all callers.
* gui-utils/Makefile.am: Nuke the rules for go-marshalers.
* utils/Makefile.am: Typo.
* goffice.mk (INCLUDES): Add $(builddir)/../cut-n-paste-code,
for the generated header goffice/utils/go-marshalers.h.
2005-02-11 Morten Welinder <terra@gnome.org>
* gui-utils/go-combo-text.c (cb_list_changed): Plug leak.
* utils/go-font.c (go_fonts_init): Copy family names instead of
relying on pango leak. Destroy fontmap only after we get the
names out.
* gui-utils/go-format-sel.c (generate_preview): Avoid crash in
g_warning.
2005-02-09 Stepan Kasal <kasal@ucw.cz>
* app/error-info.h: Change the guard to GO_ERROR_INFO_H.
2005-02-08 Jon K Hellan <hellan@acm.org>
* utils/format.h: Include numbers.h.
(render_number): Make declaration match definition.
2005-02-08 Morten Welinder <terra@gnome.org>
* utils/go-font.c (go_fonts_init): Plug leak.
2005-02-08 Jody Goldberg <jody@gnome.org>
* Release 1.5.0
2005-02-05 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-gnome-print.c (get_font): Return a
PangoFontDescription, not a GnomeFont. All callers changed.
2005-02-04 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize):
Remove old #ifdef HAVE_foo stuff.
* graph/gog-renderer-gnome-print.c: Ditto.
2005-02-03 Jean Brefort <jean.brefort@normalesup.org>
* graph/gog-axis.c: (map_linear_auto_bound): change < to >, fix #164593.
2005-01-25 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_boxes/gog-boxplot.c (gog_box_plot_pref) : fix
signature.
2005-01-24 Jean Brefort <jean.brefort@normalesup.org>
* graph/goffice-graph.h: add GOG_AXIS_SET_X.
* graph/gog-chart.c: (role_grid_can_add),
(gog_chart_axis_set_assign), (gog_chart_view_size_allocate): add grid
when we have only an X axis.
* graph/plugins/Makefile.am: add box-plots plugin
* graph/plugins/plot_boxes/Makefile.am: new plugin.
* graph/plugins/plot_boxes/gog-boxplot-prefs.glade:
* graph/plugins/plot_boxes/gog-boxplot.c: ditto.
* graph/plugins/plot_boxes/gog-boxplot.h: ditto.
* graph/plugins/plot_boxes/plot-types.xml.in: ditto.
* graph/plugins/plot_boxes/plugin.xml.in: ditto.
* pixmaps/Makefile.am: add box-plots pixmaps.
* pixmaps/boxplot.xpm: ditto.
* pixmaps/chart_boxplot_1_1.png: ditto.
* pixmaps/chart_boxplot_1_1.svg: ditto.
2005-01-22 Jean Brefort <jean.brefort@normalesup.org>
* graph/gog-renderer-gnome-print.c:
(gog_renderer_gnome_print_draw_bezier_path),
(gog_renderer_gnome_print_class_init): add Bezier paths support.
* graph/gog-renderer-impl.h: ditto.
* graph/gog-renderer-pixbuf.c:
(gog_renderer_pixbuf_draw_bezier_path),
(gog_renderer_pixbuf_class_init): ditto.
* graph/gog-renderer-svg.c: (gog_renderer_svg_draw_bezier_path),
(gog_renderer_svg_class_init): ditto.
* graph/gog-renderer.c: (gog_renderer_draw_bezier_path): ditto.
* graph/gog-renderer.h: ditto.
* graph/plugins/plot_xy/gog-xy.c: (gog_xy_set_property),
(gog_xy_get_property), (gog_xy_plot_class_init),
(gog_xy_view_render): add spline interpolation support.
* graph/plugins/plot_xy/gog-xy.h: ditto.
* graph/plugins/plot_xy/plot-types.xml.in: ditto.
* pixmaps/Makefile.am: install chart_scatter_3_3.png.
* utils/go-line.c: (go_line_build_bpath): new function, builds a Bezier path
from an array of points.
* utils/go-line.h: add go_line_build_bpath.
2005-01-17 Jody Goldberg <jody@gnome.org>
* Release 1.4.2
2005-01-14 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163939
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) : zero
sized views are not relevent, and does not require any redrawing.
2005-01-11 Morten Welinder <terra@gnome.org>
* gui-utils/go-combo-text.c (go_combo_text_init): Bind to the
treeview's cursor_changed signal, not the selection's changed
signal. [#163412].
2005-01-06 Morten Welinder <terra@gnome.org>
* utils/go-math.c (go_fake_floor, go_fake_ceil): Fix negative
case.
2005-01-05 Jean Brefort <jean.brefort@normalesup.org>
* pixmaps/Makefile.am: add chart_contour_1_1.png.
* pixmaps/chart_contour_1_1.png: new icon by Emmanuel Pacaud.
* pixmaps/chart_contour_1_1.svg: ditto.
* pixmaps/chart_contour_1_2.png: ditto.
* pixmaps/chart_contour_1_2.svg: ditto.
* pixmaps/chart_scatter_3_3.png: ditto.
* pixmaps/chart_scatter_3_3.png: ditto.
* graph/plugins/plot_surface/plot_types.xml.in: use chart_contour_1_1.png.
2005-01-05 Morten Welinder <terra@gnome.org>
* graph/gog-series.c (gog_series_get_element): Fix NULL/FALSE
confusion.
2004-12-17 Jody Goldberg <jody@gnome.org>
From Ivan Wong :
http://bugzilla.gnome.org/show_bug.cgi?id=159860
* utils/go-file.c (go_url_show) : Use ShellExecute on win32
2004-12-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plot-xy/gog-xy.c (gog_xy_series_init_style): don't disable
theming.
2004-12-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-series.c (gog_series_dataset_dim_changed): resize for every
label change.
* graph/gog-axis.c (gog_axis_update): no need to force resize for
discrete axis, it's handled by gog_series_dataset_dim_changed.
2004-12-15 Morten Welinder <terra@gnome.org>
* gui-utils/go-action-combo-stack.c (get_key_at_path): Don't crash
if we don't get an iter.
(cb_motion_notify_event): Handle empty tree case.
2004-12-09 Jody Goldberg <jody@gnome.org>
* Release 1.4.1
2004-12-09 Jody Goldberg <jody@gnome.org>
* utils/go-file.c (go_url_show) : patch the problems morten pointed
out and finish the '%1' subsitution.
2004-12-08 Jody Goldberg <jody@gnome.org>
* utils/go-file.c (go_url_show) : new with a win32 and non-gnome wrapper
2004-12-01 Jody Goldberg <jody@gnome.org>
* goffice.mk (INCLUDES) : remove GNUMERIC_ICON_DIR
2004-11-28 Jody Goldberg <jody@gnome.org>
* Release 1.4.0
2004-11-19 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-style.c (gog_style_gradient_load): call
gog_style_set_fill_brightness in order to correctly initialize start
and end colors.
2004-11-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (create_invalid_axis_ticks): add a flag to note
create "##" labels.
* graph/gog-guru.c (cb_attr_tree_selection_change): scroll to selected
row.
2004-11-14 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-renderer-pixbuf.c (line_size): width <= 0. is hairline.
* graph/gog-renderer.c (gog_render_line_size): ditto.
* graph/gog-style.c (cb_outline_size_changed): round to 2 significant
digits since sometimes adj->value returns 1E-17 instead of zero.
(cb_line_size_changed): ditto.
(gog_style_apply_theme): handle dash_type property.
(gog_style_gradient_sax_save): fix brightness test to be consistent
with dom_save.
(gog_style_gradient_load): start-color and end-coilor were inverted.
(gog_style_is_outline_visible): line is visible for all width values.
(gog_style_is_line_visible): ditto.
(gog_style_force_auto): handle auto_dash.
* graph/plugins/plot_xyt/gog-xy.c (gog_xy_series_init_style): handle
dash_type property.
2004-11-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=152514
* graph/gog-guru.c (graph_guru_init_ok_button): new
(graph_guru_init): call graph_guru_init_ok_button
(gog_guru): initialize state->editing
2004-11-07 Jody Goldberg <jody@gnome.org>
* Release 1.3.93
2004-10-31 Jody Goldberg <jody@gnome.org>
* Release 1.3.92
2004-11-01 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=157048
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): fix
leak.
2004-10-30 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=152765
* graph/gog-guru.c (graph_guru_init_format_page): delete_button is
really a button now, so connect "clicked" signal instead of
"activate".
* graph/gog-guru.glade: replace "Delete" menuitem by a button as a
workaround of gtk+ bug #155336.
2004-10-29 Morten Welinder <terra@gnome.org>
* cut-n-paste/pcre/pcre.c (ord2utf8): Fix ABR. (Fixed in PCRE
5.0, but I don't want to upgrade right now.)
2004-10-27 Morten Welinder <terra@gnome.org>
* utils/go-line.c (go_line_clip_vpath): Make sure "reject" is
initialized.
(GOLineDashDesc): Do not rely on C99 features.
2004-10-27 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-style.c (gog_style_gradient_load): fix brightness case.
2004-10-26 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): fix
marker for missing data.
2004-10-26 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=152585
* grah/gog-axis.c (gog_axis_update): always emit changed signal for
discrete axis, since labels may have changed.
* plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update): call
gog_axis_bound_changed if GogSeries1_5D->index_changed == TRUE.
(gog_series1_5d_dim_changed): new. Used to set index_changed to TRUE
when vector dim_i == 0 changed.
2004-10-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (draw_axis_from_a_to_b): use
gog_style_is_line_visible instead of checking line width.
(gog_axis_view_render): ditto.
* graph/gog-label.c (gog_label_view_render): draw sharp rectangle
around label.
* graph/gog-legend.c (cb_render_elements): draw sharp sample line and
sharp rectangle around elements.
(gog_legend_class_init): set clip to TRUE in order to avoid sample
lines to extend beyond legend area.
* graph/gog-outlined-object.c (gog_outlined_view_size_request): use
gog_style_is_line_visible instead of checking for positive line width.
(gog_outlined_view_size_allocate): ditto.
(gog_outlined_view_render): draw sharp rectangle.
* graph/gog-renderer-gnome-print.c (set_dash): new.
(gog_renderer_gnome_print_draw_path): honor dash setting. Clip dashed path
in order to avoid huge memory allocation and crash for very long
lines.
(gog_renderer_gnome_print_draw_polygon): ditto.
* graph/gog-renderer-impl.h: add GogRenderer::line_dash and
GogRenderer::outline_dash members.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_clip_push): fix
clip area rounding.
(line_size): new. Same as gog_renderer_line_size, but don't round
width < 1.0 .
(gog_renderer_pixbuf_line_size): use line_size.
(gog_renderer_pixbuf_sharp_path): fix rounding.
(gog_renderer_pixbuf_draw_path): honor dash setting.
(gog_renderer_pixbuf_draw_polygon): ditto.
* graph/gog-renderer-svg.c (gog_renderer_svg_clip_push): use C locale
for double to string conversion.
(stroke_dasharray): new.
(gog_renderer_svg_draw_path): honor dash setting.
(gog_renderer_svg_draw_polygon): ditto.
* graph/gog-renderer.c: define a hair line width and set it to 0.24pt.
(gog_renderer_finalize): free line_dash and outline_dash.
(update_dash): new.
(gog_renderer_push_style): call update_dash.
(gog_renderer_pop_style): ditto.
(gog_renderer_clip_push): keep a pointer to the current clip.
(gog_renderer_clip_pop): ditto.
(draw_rectangle): new.
(gog_renderer_draw_sharp_rectangle): new.
(gog_renderer_line_size): return GOG_RENDERER_HAIR_LINE_WIDTH instead
of 1.0 for style->line.width == 0.0 .
* graph/gog-style-prefs.glade: add dash type combos.
* graph/gog-style.c (cb_outline_dash_type_changed): new.
(cb_line_dash_type_changed): new.
(outline_init): add dash selector.
(line_init): ditto.
(gog_style_line_load): load dash settings.
(gog_style_line_dom_save): save dash settings.
(gog_style_line_sax_save): ditto.
(gog_style_is_different_size): check dash_type.
(gog_style_is_outline_visible): new.
(gog_style_is_line_visible): check dash_type.
* graph/gog-theme.c (gog_themes_init): use dash_type.
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): don't
draw sharp path.
* utils/go-line.[ch]: new.
2004-10-13 Jean Brefort <jean.brefort@normalesup.org>
* graph/gog-axis.c: add center_on_ticks boolean to force centering labels
on ticks for discree mapped axis.
* graph/gog-plot.h: ditto.
* graph/gog-plot.c: ditto.
2004-10-19 Morten Welinder <terra@gnome.org>
* utils/go-file.c (go_dirname_from_uri): New function.
2004-10-13 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (gog_axis_dim_changed): call gog_axis_update in
order to refresh labels and ticks.
2004-10-13 Morten Welinder <terra@gnome.org>
* graph/gog-axis.c (gog_axis_get_entry): Remove band-aid no longer
needed. (Although files created in the past few days will have
the vector type in the file.)
2004-10-13 Jean Brefort <jean.brefort@normalesup.org>
* graph/gog-axis.c: (make_dim_editor): replace TRUE by GO_DATA_SCALAR in the
call to gog_data_allocator_editor.
* graph/gog-label.c: (gog_label_editor): ditto.
* graph/gog-series.c: (gog_series_editor): ditto.
2004-10-13 Jean Brefort <jean.brefort@normalesup.org>
* graph/gog-plot-impl.h: added a foreach_elem member in GogPlotClass
* graph/gog-plot.c: (gog_plot_foreach_elem): calls Klass->foreach_elem
when not NULL to override default legends management.
* graph/gog-renderer-gnome-print.c: (draw_path): add ART_MOVETO_OPEN case,
(gog_renderer_gnome_print_measure_text): fix a bad sign.
* graph/gog-renderer-svg.c: (draw_path): add ART_MOVETO_OPEN case.
2004-10-12 Morten Welinder <terra@gnome.org>
* graph/gog-axis.h (GogAxisTickTypes): Fix namespace.
* graph/gog-axis.c (GogAxisElemType): Name this type.
(gog_axis_get_entry): Use GogAxisElemType, not unsigned int, for
the index argument.
2004-10-12 Morten Welinder <terra@gnome.org>
* graph/gog-axis.c (map_linear_auto_bound): Fix gnm_float/double
confusion.
(gog_axis_get_entry): Temporary fix for user-defined axis limits.
2004-10-11 Morten Welinder <terra@gnome.org>
* graph/gog-series.c (gog_series_finalize): Plug leak.
2004-10-11 Jody Goldberg <jody@gnome.org>
* gui-utils/Makefile.am : drop the dock code we're not going to be
using it before 1.4
2004-10-02 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=154664
* graph/gog-guru.glade: set width and height request for sample area
and object list.
2004-10-09 Jean Brefort <jean.brefort@normalesup.org>
* graph/go-data.c: (go_data_matrix_emit_changed),
(go_data_matrix_class_init), (go_data_matrix_get_size),
(go_data_matrix_get_values), (go_data_matrix_get_value),
(go_data_matrix_get_str), (go_data_matrix_get_minmax): new GOMatix class.
* graph/go-data.h: ditto.
* graph/go-data-impl.h: ditto.
* graph/goffice-graph.h: ditto. Added GODataType enumerated type.
* graph/gog-data-allocator.c: (gog_data_allocator_editor): Replaced
"gboolean prefers_scalar" by "GODataType data_type".
* graph/gog-data-allocator.h: ditto.
* graph/gog-error-bar.c: (cb_type_changed), (gog_error_bar_prefs):
* graph/gog-series.c: (gog_series_editor): ditto.
* graph/plugins/plot_surface/Makefile.am: new contour plots.
* graph/plugins/plot_surface/gog-contour-prefs.c: ditto.
* graph/plugins/plot_surface/gog-contour-prefs.glade: ditto.
* graph/plugins/plot_surface/gog-surface.c: ditto.
* graph/plugins/plot_surface/gog-surface.h: ditto.
* graph/plugins/plot_surface/plot-types.xml.in: ditto.
* graph/plugins/plot_surface/plugin.xml.in: ditto.
2004-10-08 Jody Goldberg <jody@gnome.org>
* graph/gog-object.c (gog_object_dup) : copy the position.
2004-10-06 Jody Goldberg <jody@gnome.org>
* graph/gog-control-foocanvas.c (gog_control_foocanvas_update) : Fix
redraw. There were two bugs.
1) foocanvas_group_update was wiping tbe bounds (things always look
like they move)
2) We were not requesting a redraw for the old position before
moving.
2004-10-05 Jody Goldberg <jody@gnome.org>
* Release 1.3.91
2004-10-03 Jody Goldberg <jody@gnome.org>
* graph/gog-control-foocanvas.c : Make the class definition public to
make it easier to graft on an additional interface in the app. We
may not need this later if SheetObject moves down into goffice
2004-10-02 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=152672
* graph/gog-theme.c (gog_themes_init): set pattern background to
white, even when automatic pattern style is NONE.
* graph/gog-label.c (gog_label_editor): fix layout.
(gog_label_view_render): add padding
when outline > 0. or pattern != NONE.
* graph/gog-outlined-object.c (gog_outlined_view_size_request): ditto.
(gog_outlined_view_size_allocate): ditto.
* graph/gog-style.c (gog_style_is_different_size): changing pattern
type can change object size.
2004-09-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-guru-type-selector.glade: new.
* graph/Makefile.am: add gog-guru-type-selector.glade.
* graph/gog-axis-prefs.glade: fix layout.
* graph/gog-axis.c (make_dim_editor): ditto.
(gog_axis_editor): ditto.
* graph/gog-guru.c (cb_attr_tree_selection_change): always use a
notebook, but hide tabs when there's only one page.
(graph_guru_type_selector_new): load layout from glade file.
* graph/gog-guru-glade: remove scrollbar around property notebook.
Make object menu unshrinkable. Fix layout.
* graph/gog-series.c (gog_series_element_editor): fix layout.
* graph/gog-style.c (font_int): ditto.
* graph/plugins/plot_barcol/gog-barcol-prefs.glade: ditto.
* graph/plugins/plot_pie/gog-pie-series.glade: ditto.
* graph/plugins/plot_pie/gog-ring-prefs.glade: ditto.
* graph/plugins/plot_xye/gog-xy-prefs.glade: ditto.
2004-09-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=153402
* graph/plugins/gog-radar-prefs.c: removed.
* graph/plugins/gog-radar-prefs.glade: removed.
* graph/plugins/gog-radar.c: removed reference to plot editor.
* graph/plugins/Makefile.am: removed reference to
gog-radar-prefs.[c,glade].
2004-09-29 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize):
Conditionalise the use of pango_context_get_font_map.
2004-09-28 Morten Welinder <terra@gnome.org>
* utils/go-font.c (go_pango_fc_font_map_cache_clear): New
function, wrapping pango_fc_font_map_cache_clear (which isn't
public).
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize): Call
go_pango_fc_font_map_cache_clear.
* utils/go-color.c (go_color_to_pango): Add is_fore argument and
export.
2004-09-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_info_at_point):
disable automatic point creation for ring plot, since it
doesn't work. For pie plot, don't create new point when it already
exists, but select it.
2004-09-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=153401
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render): fix special
inner arc handling test (has_hole :) ).
2004-09-27 Morten Welinder <terra@gnome.org>
* utils/go-math.c (go_fake_ceil): New function.
* utils/go-file.c (go_url_encode): Make this half-way decent.
(go_url_decode): Make this O(n) too.
* libpresent/ppt-parsing-helper.h: Add header guard.
2004-09-27 Jon K Hellan <hellan@acm.org>
* graph/gog-renderer-gnome-print.c
(gog_graph_print_to_gnome_print): Conditionalize call to
gnome_print_pango_create_layout.
2004-09-26 Jody Goldberg <jody@gnome.org>
From : Yukihiro Nakai <nakai@gnome.gr.jp>
http://bugzilla.gnome.org/show_bug.cgi?id=148550
* utils/go-file.c (go_url_decode) : new
(go_url_encode) : new. I'm not sure these belong in go vs gsf
but lets keep them here for now until they get fleshed out.
2004-09-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-error-bar-prefs.glade: 12 px between label and control.
* graph/gog-style-prefs.glade: 12 px padding. Use GtkAlignment for
group layout.
* graph/gog-style.c: use new layout.
2004-09-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-error-bar-prefs.glade: layout rework.
* graph/gog-error-bar.c (cb_type_changed): use new layout. Hide styles
when category is none.
(gog_error_bar_prefs): ditto.
2004-09-23 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (gog_axis_view_render): draw_minor and draw_major
only if line_width > 0.
* grapg/gog-theme.c (gog_themes_init): initialize GogGrid outline.
2004-09-23 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (gog_axis_view_render): Calculate major_out even if
line_width <= 0, because it's needed for label positionning.
2004-09-23 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c: make GogGridLine as child of GogAxis.
(role_grid_line_can_add): new.
(role_grid_line_major_can_add): new.
(role_grid_line_minor_can_add): new.
(role_grid_line_major_post_add): new.
(role_grid_line_minor_post_add): new.
(gog_axis_view_class_init): add grid line roles.
(gog_axis_view_render_children): new. Don't render grid lines here.
(gog_axis_view_render): call gog_axis_view_render_children. Free
axis_list.
* graph/gog-chart.c
(gog_chart_view_class_init): set call_parent_render to FALSE.
(grid_line_render): new. Render minor grid, then major.
(gog_chart_view_render): new. Kludge for grid lines rendering before
axis.
* graph/gog-grid-line.c: add new is_minor property and remove type
property.
(gog_grid_line_is_minor): new.
(gog_grid_line_view_render): implement radar grid.
* graph/gog-grid.c: Remove grid line roles.
(role_grid_line_can_add): removed.
(role_grid_x_major_can_add): removed.
(role_grid_x_minor_can_add): removed.
(role_grid_y_major_can_add): removed.
(role_grid_y_minor_can_add): removed.
(role_grid_x_major_post_add): removed.
(role_grid_x_minor_post_add): removed.
(role_grid_y_major_post_add): removed.
(role_grid_y_minor_post_add): removed.
(gog_grid_view_render): sharpen polygon.
(gog_grid_init_style): add OUTLINE property.
* graph/gog-outlined-object.c: add a call_parent_render class
property. Deafult to TRUE.
* graph/gog-theme.c (gog_themes_init): add MajorGrid and MinorGrid
themes. Remove X-MajorGrid, Y-MajorGrid, X-MinorGrid, Y-MinorGrid
themes.
2004-09-23 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text): Get the right kind of size.
(gog_renderer_gnome_print_measure_text): Use layout method here
too.
2004-09-22 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_text): Print using pango layouts.
Adapted from code by Yaacov Zamir <kzamir@walla.co.il>.
2004-09-21 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=153289
* graph/gog-axis.c (gog_axis_editor): hide minor tick properties when
editing discrete axis properties.
* grah/gog-axis-prefs.glade: name minor tick frame.
2004-09-20 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* pixmaps: make color order consistent and rerender png from svg with
inkscape instead of rsvg.
2004-09-20 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* goffice.c: new GogGridLine type.
* graph/gog-axis.c (map_discrete_calc_ticks): always calc major and
minor ticks.
(map_linear_calc_ticks): ditto.
(map_log_calc_ticks): ditto.
(gog_axis_get_ticks): return tick list and tick number now.
(gog_axis_view_render): since all ticks are in cache, only draw them
if they are visibles.
* graph/gog-grid-line.[ch]: new.
* graph/gog-grid.c (gog_grid_init_style): use only fill property.
(role_grid_line_can_add): new.
(role_grid_x_major_can_add): new.
(role_grid_x_minor_can_add): new.
(role_grid_y_major_can_add): new.
(role_grid_y_minor_can_add): new.
(role_grid_x_major_post_add): new.
(role_grid_x_minor_post_add): new.
(role_grid_y_major_post_add): new.
(role_grid_y_minor_post_add): new.
(gog_grid_class_init): register new grid line roles.
* graph/gog-theme.c: register theme for new grid line objects.
2004-09-20 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=153146
* graph/plugins/plot_radar/gog-radar.c (gog_radar_view_render): Check
if series is valid before trying to render it.
2004-09-19 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=152615
* pixmaps: new consistent charting icon set (based on a Jimmac work).
2004-09-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-error-bar.c (gog_error_bar_get_min_max): get values from
outside of loop.
(gog_error_bar_get_bounds): add assertions. Use
go_data_vector_get_value.
2004-09-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=152499
* graph/gog-error-bar.c (gog_error_bar_get_minmax): check whether
associated GogSeries is valid.
2004-09-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-error-bar.c (gog_error_bar_get_minmax): add assertions.
2004-09-14 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (gog_axis_map_is_valid): add assertion.
2004-09-09 Jody Goldberg <jody@gnome.org>
* graph/gog-series.c (gog_series_element_set_index) : new to handle
theming properly.
(gog_series_element_set_property) : use it here.
(gog_series_element_init_style) : and here.
(role_series_element_allocate) : and here.
2004-09-10 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-renderer-pixbuf.c (gog_renderer_draw_text): remove
remaining unref.
2004-09-10 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=152201
* graph/gog-axis.c (map_discrete_auto_bound): Set automatic maximum
number of major and lables to 100.
(gog_axis_view_render): don't draw axis + ticks in one path.
* graph/gog-renderer-pixbuf.c: cache pango layout.
(gog_renderer_pixbuf_get_pango_layout): new.
(gog_renderer_pixbuf_get_pango_context): new.
(gog_renderer_pixbuf_push_style): new. unref pango_layout.
(gog_renderer_pixbuf_push_style): ditto.
2004-09-08 Jody Goldberg <jody@gnome.org>
* Release 1.3.90
2004-09-07 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=151530
tick label truncated by chart outline
http://bugzilla.gnome.org/show_bug.cgi?id=151527
pb when exporting to svg a chart without outline
http://bugzilla.gnome.org/show_bug.cgi?id=127203
X axis labels centre on chart, not on axis
* graph/goffice-graph.h: new GogViewPadding type.
* graph/gog-axis.c (map_log_to_canvas): DBL_MIN is not -DBL_MAX.
(gog_axis_view_padding_request): new.
(gog_axis_view_size_request): just call gog_view_size_child_request.
(gog_axis_view_size_allocate): remove.
(gog_axis_view_render): stop libart path to third element in case of
line_width <= 0. Fix label dropping. Use Chart->plot_area for axis
drawing.
* graph/gog-chart.c (gog_chart_view_get_plot_area): new.
(child_request): new.
(gog_chart_view_size_allocate): axis now request space around
residual. Store residual in Chart->plot_area.
* graph/gog-label.c (gog_label_view_render): draw rectangle here,
since in gog_outlined_object, rectangle around label is clipped to
view->allocation.
* graph/gog-renderer-pixbuf.c (draw_text): don't clip text, to be
consistent with svg and gnome-print renderer.
2004-09-06 Jody Goldberg <jody@gnome.org>
* gui-utils/go-color-palette.c (go_color_palette_setup) : warning
suppression
2004-09-05 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=151628
* graph/gog-guru.c (cb_typesel_sample_plot_resize) : hard code the
zoom when recalculating the size. The sample graph is only zoomed
when visible.
2004-09-05 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (graph_guru_type_selector_new) : Add a light bulb
to the 'show sample' button to make it stand out a bit more
* graph/gog-guru.c (graph_guru_type_selector_new) : Make the sample
canvas the main resizeable element in the type selector.
2004-09-01 Jody Goldberg <jody@gnome.org>
* utils/go-gradient.c : conditionalize selector on WITH_GTK
* utils/go-pattern.c : ditto
* utils/go-marker.c : conditionalize selector and the use of GdkPixbuf
* utils/go-color.c : Remove unnecessary include of color-combo
and conditionalize the gdk support routines in case we do not have
gtk.
2004-09-03 Morten Welinder <terra@gnome.org>
* graph/plugins/plot_barcol/gog-1.5d.c
(gog_series1_5d_populate_editor): Terminate g_object_get call by
NULL, not 0.
2004-09-02 Morten Welinder <terra@gnome.org>
* graph/plugins/plot_radar/gog-radar-prefs.glade: Someone
accidentally cut the guts of this. Add vary-style button that the
code appears to want.
2004-08-31 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=151529
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): set series to to
right value for marker drawing.
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): use
right index when walking through path for marker drawing.
2004-08-30 Morten Welinder <terra@gnome.org>
* graph/gog-plot-engine.c (gog_plot_new_by_name): Ick. We need to
keep a GObject ref in addition to the GnmPlugin ref.
2004-08-29 Jody Goldberg <jody@gnome.org>
* Release 1.3.2
2004-08-26 Morten Welinder <terra@gnome.org>
* goffice.c (libgoffice_shutdown): Showdown plugin services.
* graph/gog-plot-engine.c (gog_plot_new_by_name): Handle inactive
plugins. Mark plugins as used.
(gog_plugin_services_shutdown): New function.
2004-08-25 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_view_render) : don't leak an axis map for
discrete axes
2004-08-24 Morten Welinder <terra@gnome.org>
* utils/go-file.c (go_file_split_uris): New function for
text/uri-list parsing.
2004-08-23 Morten Welinder <terra@gnome.org>
* graph/gog-plot-engine.c (create_plot_families): New function.
(gog_plot_family_by_name, gog_plot_families): Ensure we have
families.
2004-08-20 Morten Welinder <terra@gnome.org>
* graph/gog-error-bar.c (gog_error_bar_prefs): Arrange for gui to
be unref'd.
2004-08-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (map_linear_calc_ticks): fix tick number
calculation.
(overlap): use already defined MAX / MIN.
2004-08-17 Morten Welinder <terra@gnome.org>
* goffice.c (libgoffice_init): Call gsf_init.
2004-08-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render):
don't clip markers to plot area.
2004-08-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (create_invalid_axis_ticks): new.
(map_[log,discrete,linear]_init): when axis is not valid, init data
for special invalid axis rendering.
(map_[log,discrete,linear]_calc_ticks): when axis is not valid, return
a special set of ticks/labels.
(gog_axis_map_is_valid): new.
(gog_axis_map_new): set the map->is_valid flag. Default to FALSE if
there's no init function.
* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render): use
gog_axis_map_is_valid.
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render): idem.
* graph/plugins/plot_radar/gog-radar.c (gog_radar_view_render): idem.
Add support for mapping.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): don't clip
markers to plot area, but to chart area.
2004-08-17 Jon K Hellan <hellan@acm.org>
* graph/gog-stisyle.c (cb_image_file_select): is_save parameter to
gui_image_file_select no longer needed.
2004-08-13 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (gog_axis_editor): don't show preferences for
circular axis.
(overlap): new.
(draw_axis_from_a_to_b): use gog_axis_map and draw labels.
(gog_axis_view_render): at least width of the '0' char between two
labels for GOG_AXIS_X.
* graph/gog-view.h: remove call_parent_render and add a clip flag.
* graph/gog-chart.c (gog_chart_view_render): removed.
(gog_chart_view_class_init): set clip to TRUE.
* graph/gog-outlined-object.c: always call parent render.
* graph/gog-renderer-gnome-print.c: change start/stop_clipping to
clip_push/pop.
* graph/gog-renderer-svg.c: change start/stop_clipping to
clip_push/pop.
(gog_renderer_draw_text): add xml child in current node instead of
first doc child.
* graph/gog-renderer-pixbuf: change start/stop_clipping to
clip_push/pop.
(gog_renderer_pixbuf_clip_push): add multilevel clipping capability.
(gog_renderer_pixbuf_print_clip_pop): idem.
* graph/gog-renderer.c: change start/stop_clipping to clip_push/pop
and add a clip stack to handle mutilevel clipping.
* graph/gog-view.c (gog_view_class_init): set default clip flag to
FALSE.
(gog_view_render): if klass->clip is TRUE, call to clip_push/pop
functions.
* graph/plugins/plot_barcol/gog-barcol.c: set klass->clip to TRUE.
* graph/plugins/plot_barcol/gog-line.c: idem.
* graph/plugins/plot_xy/gog-xy.c: idem.
* graph/plugins/plot_radar/gog-radar.c: idem.
2004-08-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (map_[log,linear,discrete]_init) : add arguments
for direct mapping to canvas coordinates.
(gog_axis_map_new) : idem.
(map_[log,linear,discrete]_to_canvas : new.
(gog_axis_map_to_canvas) : new.
(map_discrete) : handle barcol / area,line correctly.
(map_log_auto_bounds): be smarter in case of min <= 0.
(gog_axis_render) : draw axis/ticks in one call. Drop labels when they
overlap.
* graph/gog-error-bar.c (gog_error_bar_get_bounds) : return relative
values of errors instead of absolute values.
(gog_error_bar_get_min_max) : adapt to new gog_error_bar_get_bounds.
(gog_error_bar_render) : use gog_axis_map functions.
* graph/gog-grid.c (gog_grid_render) : remove kludge.
* grapg/gog-renderer-gnome-print.c (gog_graph_print_to_gnome_print) :
add a workaround for a bug in libgnomeprint.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_start_clipping) :
rendering fix.
(gog_renderer_pixbuf_line_size) : new.
(gog_renderer_pixbuf_sharp_path) : new. Tweak a path for sharp
rendering with libart.
(gog_renderer_pixbuf_draw_marker) : zoom support for markers. Fix
marker position.
* graph/gog-renderer.c (gog_renderer_draw_sharp_path) : new.
(gog_renderer_draw_sharp_polygon) : new.
(gog_renderer_line_size) : remove kludge.
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_get_bounds)
: maxima = num_elements - 1.
* graph/plugins/plot_barcol/gog-barcol.c
(gog_barcol_update_stacked_and_percentage) : adapt
to new gog_error_bar_get_bounds.
(gog_barcol_axis_get_bounds) : new.
(barcol_draw_rest) : remove kludge.
(gog_barcol_view_render) : use gog_axis_map functions.
* graph/plugins/plot_barcol/gog-line.c
(gog_line_update_stacked_and_percentage) : adapt
to new gog_error_bar_get_bounds.
(gog_line_view_render) : use gog_axis_map functions.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_plot_render) : use
gog_axis_map_to_canvas and new gog_error_bar_get_bounds.
* utils/go-marker.c (go_marker_get_pixbuf) : add a scale argument.
2004-07-29 Morten Welinder <terra@gnome.org>
* gui-utils/go-action-combo-pixmaps.c
(go_action_combo_pixmaps_create_menu_item): Let's initialize item
before we use it.
2004-07-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis-prefs.glade: HIGification.
* graph/gog-axis.c (get_adjusted_tick_array): new.
(map_[discrete,linear,log]_init): new. Init for map functions.
(map_[discrete,linear,log]): new. Map data to visible plot area.
(map_[discrete,linear,log]_auto_bound): new. Calculate auto bounds and
tick spacing.
(map_[discrete,linear,log]_calc_ticks): new. Calculate position of
major ticks,minor ticks and labels.
(gog_axis_map_new),
(gog_axis_map),
(gog_axis_map_free): new. For use in plot view rendering functions.
(gog_axis_set_ticks): new. Put tick and label positions in axis->ticks.
(gog_axis_auto_bound),
(gog_axis_calc_ticks): new.
(gog_axis_set_property): check if update or calc_ticks is needed.
(gog_axis_update): makes use of gog_axis_set_ticks and
gog_axis_auto_bound.
(gog_axis_editor): hide map combobox if axis is discrete.
(gog_axis_view_render): use axis->ticks for rendering.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): use new map
functions.
2004-07-22 Christopher James Lahey <clahey@ximian.com>
* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
ppt-parsing-helper.c and ppt-parsing-helper.h.
* libpresent/god-drawing-ms-client-handler-ppt.c: Handle
TextBytesAtom and StyleTextPropAtom.
* libpresent/god-drawing-ms-client-handler-ppt.h: Added parameter
fonts.
* libpresent/load-ppt.c: Moved StyleTextPropAtom parsing to
ppt-parsing-helper.c.
* libpresent/ppt-parsing-helper.c,
libpresent/ppt-parsing-helper.h: Moved StyleTextPropAtom parsing
here. Improved StyleTextPropAtom parsing.
* test/dump-ppt-records.c: Improved StyleTextPropAtom parsing.
2004-07-20 Christopher James Lahey <clahey@ximian.com>
* libpresent/load-ppt.c (handle_atom), test/dump-ppt-records.c
(handle_atom): Improved StyleTextPropAtom parsing.
2004-07-20 Christopher James Lahey <clahey@ximian.com>
* libpresent/load-ppt.c (handle_atom): Missing NULL.
2004-07-20 Christopher James Lahey <clahey@ximian.com>
* drawing/god-drawing-renderer-gdk.c (draw_text),
drawing/god-paragraph-attributes.c,
drawing/god-paragraph-attributes.h, libpresent/load-ppt.c: Support
default paragraph attributes and support bullets and alignment.
* libpresent/present-view.c: Added space and backspace bindings
(these don't work since the widget doesn't get focus.)
* test/dump-ppt-records.c (handle_atom): Handle TxMasterStyleAtom
better.
* test/test-view-ppt.c: Added q and escape bindings.
2004-07-19 Jody Goldberg <jody@gnome.org>
* Release 1.3.1
2004-07-19 Jody Goldberg <jody@gnome.org>
* gui-utils/go-action-combo-pixmaps.c : switch from inline pixbufs to
stock ids.
* gui-utils/go-action-combo-color.c
(go_action_combo_color_set_color): implement
2004-07-13 Christopher James Lahey <clahey@ximian.com>
* libpresent/load-ppt.c (handle_atom): Parse fonts.
* test/dump-ppt-records.c (handle_atom): Print a bunch of info
about default attributes.
2004-07-12 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_info_at_point) :
expand this to offer name and override creation.
* graph/gog-view.c (gog_view_info_at_point) : expand this interface a
bit. I'm still not happy with it.
* graph/gog-series.c : keep a sorted list of overrides in place
* graph/gog-plot.c (gog_plot_foreach_elem) : handle point overrides
* graph/gog-object.c (gog_object_emit_changed) : handle updates for
objects not yet connected to parents.
2004-07-11 Christopher James Lahey <clahey@ximian.com>
* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
god-default-attributes.c and god-default-attributes.h.
* drawing/god-default-attributes.c,
drawing/god-default-attributes.h: Default pango and paragraph
attributes per indent level.
* drawing/god-drawing-renderer-gdk.c: Handle default attributes.
Rework character attributes.
* drawing/god-text-model.c, drawing/god-text-model.h: Added indent
and default attributes concepts.
* libpresent/load-ppt.c (handle_atom): Parse TxMasterStyleAtom.
* libpresent/present-presentation.c,
libpresent/present-presentation.h: Added a default default
attributes object per text type.
* libpresent/present-text.c: Added a property to store a pointer
to the main presentation object.
* test/dump-ppt-records.c: Parse TxMasterStyleAtom.
2004-07-08 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (cb_canvas_select_item) : handle the zoom
* graph/gog-theme.c (gog_themes_init) : Add a global alias for
GogSeriesElement -> GogSeries
(gog_theme_find_element) : Look up theme local and global aliases for
classes.
(gog_theme_add_alias) : new.
2004-07-08 Jody Goldberg <jody@gnome.org>
* goffice.c (libgoffice_init) : Add SeriesElement to be pedantic
2004-07-06 Jody Goldberg <jody@gnome.org>
* graph/gog-graph.c (gog_graph_init) : apply theme style for graphs
to do a full init.
2004-07-04 Jody Goldberg <jody@gnome.org>
* graph/gog-styled-object.c (gog_styled_object_parent_changed) :
initialize the style completely using the theme when we have a
theme.
2004-07-04 Christopher James Lahey <clahey@ximian.com>
* drawing/god-drawing-renderer-gdk.c (draw_text): Handle
char_attributes.
* drawing/god-text-model.c, drawing/god-text-model.h
(real_god_text_model_set_paragraph_attributes): Fixed up this
function a bit.
(real_god_text_model_set_pango_attributes): Implemented this
function. Changed it to take GList instead of PangoAttrList.
* libpresent/load-ppt.c (handle_atom): Implemented parsing
character attributes.
2004-07-02 Jody Goldberg <jody@gnome.org>
* graph/gog-theme.c (map_area_series_solid_default) : simplify now
that we're just filling in the color no need to twiddle types
* graph/gog-style.c : rework GogStyle::fill share pattern:fore/back
and gradient:start/end.
merge all the different auto flags.
initialize the gradient brightness to -1 to avoid starting with black
Change fill from union to struct to simplify changing fill types
Allow themed gradient fills
2004-06-30 Christopher James Lahey <clahey@ximian.com>
* drawing/god-text-model.c
(real_god_text_model_set_paragraph_attributes): Oh yeah, the
character count should increase as you iterate through the
paragraph.
* libpresent/load-ppt.c (handle_atom): Pass in the position in the
text instead of the position in the file. That might be a good
idea.
2004-06-29 Christopher James Lahey <clahey@ximian.com>
* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
god-paragraph-attributes.c and god-paragraph-attributes.h.
* drawing/god-drawing-renderer-gdk.c (draw_text): Draw each
paragraph separately with some paragraph formatting.
* drawing/god-paragraph-attributes.c,
drawing/god-paragraph-attributes.h: New file to handle attributes
of a paragraph.
* drawing/god-text-model.c, drawing/god-text-model.h: Store as a
list of paragraphs. Store some formatting information.
* libpresent/load-ppt.c: Load some of the paragraph formatting
from ppt.
* test/dump-ppt-records: Attempted to parse BaseTextPropAtom.
* test/test-view-ppt.c (main): Fullscreen the window.
2004-06-23 Jean Brefort <jean.brefort@ac-dijon.fr>
* Makefile.am: Added cut-n-paste subdir.
* cut-n-paste/Makefile.am: New file.
* cut-n-paste/pcre/Makefile.am: pcre tree moved from gnumeric.
* cut-n-paste/pcre/get.c: (pcre_get_stringnumber),
(pcre_copy_substring), (pcre_copy_named_substring),
(pcre_get_substring_list), (pcre_free_substring_list),
(pcre_get_substring), (pcre_get_named_substring),
(pcre_free_substring): ditto, changed gnumeric_* to go_*
* cut-n-paste/pcre/internal.h: ditto.
* cut-n-paste/pcre/maketables.c: (pcre_maketables): ditto.
* cut-n-paste/pcre/pcre.c: (make_pcre_default_tables), (ord2utf8),
(pcre_version), (pcre_info), (pcre_fullinfo), (pcre_config),
(pchars), (check_escape), (is_counted_repeat),
(read_repeat_counts), (first_significant_code), (find_fixedlength),
(find_bracket), (find_recurse), (could_be_empty_branch),
(could_be_empty), (check_posix_syntax), (check_posix_name),
(adjust_recurse), (compile_branch), (compile_regex), (is_anchored),
(is_startline), (find_firstassertedchar), (valid_utf8),
(pcre_compile), (match_ref), (match_xclass), (match), (pcre_exec):
* cut-n-paste/pcre/pcre.h: ditto.
* cut-n-paste/pcre/pcreposix.c: (pcre_posix_error_code),
(go_regerror), (go_regfree), (go_regcomp), (go_regexec):
* cut-n-paste/pcre/pcreposix.h: ditto.
* cut-n-paste/pcre/printint.c: (print_char), (print_internals): ditto.
* cut-n-paste/pcre/study.c: (set_bit), (set_start_bits),
(pcre_study): ditto.
* goffice.c: (libgoffice_init): Added call to go_math_init.
* graph/go-data-simple.c: (go_data_scalar_str_get_value),
(go_data_vector_str_get_value),
(go_data_vector_str_set_translation_domain): use new go_nan and functions in utils/go-math.*
* graph/go-data.c: (go_data_vector_get_value): ditto.
* graph/gog-axis.c: (gog_axis_get_entry), (gog_axis_update),
(cb_enable_dim), (cb_axis_bound_changed), (gog_axis_get_bounds),
(gog_axis_num_markers), (gog_axis_view_render): ditto.
* graph/gog-error-bar.c: (gog_error_bar_get_bounds): ditto.
* graph/gog-plot.c: (gog_plot_get_axis_bounds): ditto.
* graph/plugins/plot_barcol/gog-1.5d.c:
(gog_plot1_5d_axis_get_bounds): ditto.
* graph/plugins/plot_barcol/gog-barcol.c:
(gog_barcol_update_stacked_and_percentage),
(gog_barcol_view_render): ditto.
* graph/plugins/plot_barcol/gog-line.c:
(gog_line_update_stacked_and_percentage), (gog_line_view_render): ditto.
* graph/plugins/plot_pie/gog-pie.c: (gog_pie_view_render),
(gog_pie_series_update): ditto.
* graph/plugins/plot_radar/gog-radar.c:
(gog_radar_plot_axis_get_bounds), (gog_radar_view_render):
* graph/plugins/plot_xy/gog-xy.c: (gog_2d_plot_update),
(gog_2d_plot_axis_get_bounds), (gog_xy_view_render): ditto.
* utils/go-marker.c: ditto.
* utils/Makefile.am: Added go_math.[c,h]
* utils/go-math.c: (go_math_init), (go_add_epsilon),
(go_sub_epsilon), (go_fake_floor), (go_fake_trunc): imported from gnumeric.
* utils/go-math.h: ditto.
2004-06-20 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_view_render) : Ensure that the line
extends out far enough for the first and last tick.
* graph/gog-theme.c (map_area_series_solid_default) : honour the new
disable_theming flag.
* graph/gog-style.c (gog_style_is_completely_auto) : new.
2004-06-16 Morten Welinder <terra@gnome.org>
* utils/go-file.c (go_filename_to_uri): Handle "//" and "/./"
parts in filenames.
* graph/gog-style.c (cb_image_file_select): Handle change in
gui_image_file_select's signature. (Barely.)
* utils/go-file.c (go_file_create): New function.
2004-06-15 Morten Welinder <terra@gnome.org>
* utils/go-file.c (go_basename_from_uri): Better WITH_GNOME
implementation that handles fragments and methods.
2004-06-13 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-1.5d.c : tack on a placeholder 'in_3d'
attribute to simplify roundtripping for xls.
2004-06-11 Morten Welinder <terra@gnome.org>
* utils/go-file.c: New file.
2004-06-11 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis-prefs.glade : add a combobox for map selection.
* graph/gog-axis.c : add a map description structure. remove log_scale
boolean property of GogAxis, and add a new named map property.
(map_init_linear),
(map_linear),
(map_init_log),
(map_log),
(gog_axis_map_set_by_num),
(gog_axis_map_populate_combo),
(gog_axis_map_set),
(gog_axis_map_init),
(gog_axis_map),
(gog_axis_map_destroy) : new.
(gog_axis_editor) : handle map combobox.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : use map
functions.
2004-06-05 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_get_entry) : add some protection now that
this is public.
(gog_axis_is_discrete) : ditto.
* graph/gog-style.c : add sax exporters
* graph/gog-error-bar.c : ditto
* graph/gog-object-xml.h : s/GogPersistDOM/GogPersist
* graph/gog-object-xml.c : add sax exporters
(go_xml_out_add_color) : new.
* utils/go-font.c : Added some conditional leak debug tools
2004-06-01 Morten Welinder <terra@gnome.org>
* gui-utils/go-combo-text.c (go_combo_text_set_text): Plug leak.
2004-05-31 Jody Goldberg <jody@gnome.org>
* graph/gog-view.c (gog_view_find_child_view) : new
2004-05-31 Jody Goldberg <jody@gnome.org>
* graph/gog-series.c (gog_series_get_plot) : new.
* graph/gog-axis.c (gog_axis_get_entry) : rename from axis_get_entry
and make public.
2004-05-24 Jody Goldberg <jody@gnome.org>
* graph/go-data-simple.c (go_data_vector_str_get_str) : enable the
translation mechanism
2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
* gui-utils/Makefile.am: added go-combo-text.h
* gui-utils/go-action-combo-text.c: (cb_entry_changed),
(go_action_combo_create_tool_item),
(go_action_combo_text_set_entry):
* gui-utils/go-combo-text.h: was gnumeric-combo-text.h
* gui-utils/go-combo-text.c: was gnumeric-combo-text.c,
replaced GtkList by GtkTreeView
* gui-utils/go-marshalers.list: added BOOLEAN:POINTER
2004-05-23 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-chart.c (gog_chart_view_class_init) : set call_parent_render
to FALSE.
* graph/gog-outlined-object.c (gog_outlined_view_render) : call parent
render method only if call_parent_render is TRUE;
(gog_outlined_view_class_init) : set call_parent_render to TRUE;
* graph/gog-outlined-object.h : add a call_parent_render boolean.
2004-05-20 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=142212
* graph/plugins/plot-barcol/gog-line.c (gog_line_view_render) : don't
use '0' if Y value is missing.
2004-05-13 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-svg.c (gog_renderer_svg_measure_text) : use
logical rather than ink extents.
(gog_renderer_pixbuf_draw_text) : ditto.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : ditto.
(gog_renderer_pixbuf_draw_text) : ditto.
* graph/gog-axis.c (gog_axis_view_size_request) : tick labels for
discrete axes are below the line not the major tick marks.
(gog_axis_view_render) : ditto
* graph/gog-renderer-svg.c (make_layout) : cache the context.
(gog_renderer_pixbuf_finalize) : unref cached contexts.
(gog_renderer_pixbuf_class_init) : connect the new finalize.
* graph/gog-style.c (gog_style_is_different_size) : line width change
for axis changes size.
* graph/gog-axis.c (gog_axis_view_render) : don't allocate size for
ticks if the lines are invisible.
* graph/gog-plot.c (gog_plot_get_axis_bounds) : add some safety.
This will be called for things like a pie when adding one while
something with an still exists.
* graph/gog-guru.c (cb_attr_tree_selection_change) : be more forgiving
about when a user can go back to select a plot. If there is only
one chart, or one plot things are unambiguous.
* drawing/god-property-table.h : sync with the extensions in the xls
importer to handle gradients and richtext.
* drawing/god-property-table.c (god_property_table_get_markup) : new.
(god_property_table_set_markup) : ditto.
2004-05-11 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-renderer-pixbuf.c: (make_layout),
(gog_renderer_pixbuf_update): replaced deprecated pango_ft2_get_context.
* graph/gog-renderer-svg.c: (make_layout): ditto.
* graph/gog-style-prefs.glade: replaced GtkOptionMenu by GtkComboBox.
* graph/gog-style.c: (cb_gradient_style_changed),
(fill_gradient_init), (cb_image_style_changed), (fill_image_init),
(cb_fill_type_changed), (fill_init): ditto.
2004-05-10 Jody Goldberg <jody@gnome.org>
* graph/gog-plot.c (gog_plot_foreach_elem) : pass the index of the
iteration, not the absolute for has-legend situations
* graph/gog-series.c (gog_series_set_property) : update cardinality if
has-legend changes.
(gog_series_editor) : Add a quick 'show in legend' toggle
2004-05-07 Jody Goldberg <jody@gnome.org>
* graph/gog-theme.c (gog_themes_init) : sync the default theme with
XL's notion of things so that we do not theme away auto settings on
import. Specificly Give chart's the background and make graph
empty.
* */Makefile.am : use goffice.mk for include paths
2004-05-03 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=136363
* graph/gog-style.c (gog_style_apply_theme) : Do not theme the fonts
it over rides the user selection because there is no 'auto' flag.
2004-05-06 Morten Welinder <terra@gnome.org>
* utils/go-gradient.c (go_gradient_dir_from_str,
go_gradient_dir_as_str): Use G_N_ELEMENTS.
(grad_dir_names[]): Constify.
(go_gradient_selector): Eliminate elements table.
2004-04-29 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=141405
* drawing/god-drawing-renderer-gdk.c
(god_drawing_renderer_gdk_render_shape) : explicitly set alignment for
now. Set layout bounds so that we wrap.
2004-04-19 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=127411
* graph/gog-chart.c (gog_chart_view_render) : render the style.
2004-04-17 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_xy/gog-xy.c (gog_bubble_plot_class_init) : Do not
replicate ms dim types. That breaks xls import.
(gog_xy_plot_class_init) : ditto.
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_class_init) : ditto
2004-04-15 Morten Welinder <terra@gnome.org>
* graph/gog-error-bar.c (gog_error_bar_prefs): Look for pixmaps in
the right directory.
2004-04-08 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update),
(gog_plot1_5d_axis_get_bounds), (gog_plot1_5d_class_init),
(gog_series1_5d_set_property), (gog_series1_5d_get_property),
(gog_series1_5d_populate_editor), (gog_series1_5d_class_init),
(gog_series1_5d_init): Add error bars support.
* graph/plugins/plot_barcol/gog-1.5d.h: ditto.
* graph/plugins/plot_barcol/gog-barcol.c: ditto.
(gog_barcol_update_stacked_and_percentage),
(gog_barcol_view_render): ditto.
* graph/plugins/plot_barcol/gog-line.c: ditto.
(gog_line_update_stacked_and_percentage), (gog_line_view_render): ditto.
* graph/plugins/plot_xy/gog-xy.c: (gog_2d_plot_update): use gog_error_bar_is_visible instead
of detailed tests.
2004-04-05 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=139205
* gui-utils/go-action-combo-stack.c
(go_action_combo_stack_create_menu_item) : There's no reason to set a
default label not only was it ugly, but it disabled the nice utility
code in GtkAction::connect_proxy that would set 'use_underline' for us
2004-03-30 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=138532
* graph/plugins/plot_radar/gog-radar.c (gog_radar_plot_update) : don't
use an invalid series for anything.
2004-03-28 Jody Goldberg <jody@gnome.org>
* Release 1.3.0
2004-03-26 Christopher James Lahey <clahey@ximian.com>
* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
god-drawing-renderer-gdk.c, god-drawing-renderer-gdk.h,
god-drawing-view.c, and god-drawing-view.h.
* drawing/god-drawing-renderer-gdk.c,
drawing/god-drawing-renderer-gdk.h: New class. Renders a drawing
to a gdk drawable.
* drawing/god-drawing-view.c, god-drawing-view.h: New class.
Widget to display a drawing.
* drawing/god-drawing.c, drawing/god-drawing.h: Added a background
shape.
* drawing/god-image.c: Call gdk_pixbuf_loader_close.
* drawing/god-property-table.c, drawing/god-property-table.h:
Added length type and fixed up flag type. Added a bunch of types.
* drawing/god-shape.c: Allow a NULL anchor.
* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
present-view.c and present-view.h.
* libpresent/load-ppt.c: Handle the DocumentAtom.
* libpresent/present-presentation.c,
libpresent/present-presentation.h: Added extents and notes_extents
fields.
* libpresent/present-view.c, libpresent/present-view.h: New class.
Widget to display a presentation.
* ms-compat/god-image-ms.c: Added a bunch of EscherOPT fields.
Handle the patriarch and background shapes more cleanly.
* test/.cvsignore: Added test-view-ppt.
* test/Makefile.am (test_view_ppt_SOURCES): Added test-view-ppt.c.
* test/test-ppt.c: Handle the separate patriarch and background
shapes.
* test/test-view-ppt.c: New Class. Tests present-view.c.
* utils/go-units.h: Added new unit EMU. (360000 EMUs per
centimeter, 914400 EMUs per inch, 12700 EMUs per point.)
2004-03-22 Christopher James Lahey <clahey@ximian.com>
* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
god-image.c, god-image.h, god-image-store.c, and
god-image-store.h.
* drawing/god-drawing-group.c, drawing/god-drawing-group.h: Added
an image store to the drawing group. Implemented
god_drawing_group_new.
* drawing/god-drawing.c, drawing/god-drawing.h: Gave each drawing
a link to its drawing group.
* drawing/god-image-store.c, drawing/god-image-store.h: New class.
An array of images.
* drawing/god-image.c, drawing/god-image.h: An image or a
placeholder for an image. Includes the original data as well as a
loaded pixbuf.
* libpresent/load-ppt.c: Actually store the drawings in the slides
and the drawing groups in the presentations. Load the pictures
into the drawing group.
* libpresent/present-presentation.c,
libpresent/present-presentation.h: Added a drawing group here.
* libpresent/present-slide.c, libpresent/present-slide.h: Added a
drawing here.
* ms-compat/Makefile.am (libgoffice_ms_compat_la_SOURCES): Added
god-image-ms.c and god-image-ms.h.
* ms-compat/god-drawing-ms.c, ms-compat/god-drawing-ms.h: Actually
do drawing group loads and load up the image store as we go.
Added a function to handle parsing of images not in the main
Escher stream.
* ms-compat/god-image-ms.c, ms-compat/god-image-ms.h: New class.
Just a god_image with a hash that's used at load time.
* test/test-ppt.c: Moved dumping the Drawings here since they're
included in the slides now so it makes more sense to dump them
here than in load-ppt.c.
2004-03-22 Morten Welinder <terra@gnome.org>
* libpresent/load-ppt.c (handle_atom): The usual fix.
2004-03-21 Christopher James Lahey <clahey@ximian.com>
* ms-compat/god-drawing-ms.c (handle_atom),
test/dump-ppt-records.c (handle_atom): Moved some of the debugging
stuff from god-drawing-ms to dump-ppt-records.
2004-03-20 Christopher James Lahey <clahey@ximian.com>
* drawing/god-anchor.c (god_anchor_finalize),
ms-compat/god-drawing-ms-client-handler.c
(god_drawing_ms_client_handler_finalize): Chain the finalize
function.
* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
present-presentation.c, present-presentation.h, present-slide.c,
present-slide.h, present-text.c, present-text.h.
* libpresent/god-drawing-ms-client-handler-ppt.c,
libpresent/god-drawing-ms-client-handler-ppt.h: Add a PresentSlide
so that we can parse OutlineTextRefAtom and link it up to the
outline.
* libpresent/load-ppt.c, libpresent/load-ppt.h: Changed it to use
PresentPresentation. Pass a PresentSlide into the client_handler
if the PPDrawing is a child of a Slide.
* libpresent/present-presentation.c,
libpresent/present-presentation.h, libpresent/present-slide.c,
libpresent/present-slide.h, libpresent/present-text.c,
libpresent/present-text.h: New classes. A presentation, a slide,
and a piece of text on a slide.
* test/test-ppt.c: Changed this to use PresentPresentation.
2004-03-19 Christopher James Lahey <clahey@ximian.com>
* libpresent/god-drawing-ms-client-handler-ppt.c
(god_drawing_ms_client_handler_ppt_handle_client_text): Handles
simple cases with text inside of a shape in Escher.
* libpresent/load-ppt.c (dump_shape): Print text if there is any.
* ms-compat/go-ms-parser.c (go_ms_parser_read): Only read the data
if there's a handler.
* ms-compat/god-drawing-ms-client-handler.c,
ms-compat/god-drawing-ms-client-handler.h: Make it so subclasses
can specify whether they want the super class to read the data
from the input stream.
* ms-compat/god-drawing-ms.c (handle_atom): Handle
EscherClientTextbox by calling the client handler.
2004-03-18 Christopher James Lahey <clahey@ximian.com>
* ms-compat/go-ms-parser.c, ms-compat/go-ms-parser.h
(go_ms_parser_read): Included the record type as a field in the
record structure.
* test/.cvsignore, test/Makefile.am: Added dump-ppt-records.
* test/dump-ppt-records.c: New test app to list all the records in
a ppt file.
2004-03-18 Christopher James Lahey <clahey@ximian.com>
* drawing/god-shape.c, drawing/god-shape.h: Each shape has an
anchor. Added functions to get the children of a shape.
* graph/gog-legend.c (gog_legend_init),
graph/gog-outlined-object.c (gog_outlined_object_init),
graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update),
graph/gog-renderer-svg.c (make_layout), graph/gog-renderer.c
(gog_renderer_init): Cast to double before calling
GO_.._TO_.. unit conversion functions.
* libpresent/Makefile.am (libgoffice_libpresent_la_SOURCES): Added
god-drawing-ms-client-handler-ppt.c and
god-drawing-ms-client-handler-ppt.h.
* libpresent/god-drawing-ms-client-handler-ppt.c,
libpresent/god-drawing-ms-client-handler-ppt.h: New class.
Handles client functions for PPT.
* libpresent/load-ppt.c: Added #include <gnumeric-config.h>.
Created a GodDrawingMsClientHandlerPpt for use in parsing. Added
code to dump the Escher drawing for testing purposes.
* ms-compat/Makefile.am (libgoffice_ms_compat_la_SOURCES): Added
god-drawing-ms-client-handler.c and
god-drawing-ms-client-handler.h.
* ms-compat/god-drawing-ms-client-handler.c,
ms-compat/god-drawing-ms-client-handler.h: New class. Allows
Escher parser to let the host application handle Client records.
* ms-compat/god-drawing-ms.c, ms-compat/god-drawing-ms.h: Use
GodDrawingMsClientHandler to parse EscherClientAnchor records.
* test/.cvsignore: Ignore test-ppt.
* test/test-ppt.c: Fixed include here. Added #include
<gnumeric-config.h>
* utils/go-unit.h: Changed these to use the math in whatever type
the input is. If you pass a double, it uses double math. If you
pass an integer type, it uses integer math.
2004-03-18 Morten Welinder <terra@gnome.org>
* libpresent/*.h: Add header guards.
2004-03-16 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (SUBDIRS): Added libpresent and test.
* drawing/Makefile.am (libgoffice_drawing_la_SOURCES): Added
god-anchor.c and god-anchor.h.
* drawing/Makefile.am, drawing/god-drawing-group.c,
drawing/god-drawing.c, drawing/god-drawing.h,
drawing/god-property-table.c, drawing/god-shape.c,
drawing/god-shape.h, drawing/god-text-model.c,
ms-compat/Makefile.am, ms-compat/go-ms-parser.c,
ms-compat/god-drawing-ms.c, ms-compat/god-drawing-ms.h:
Standardized #include lines.
* utils/go-units.h: Added an underlying unit and added a type for
storing lengths. Added point and rect types.
2004-03-16 Morten Welinder <terra@gnome.org>
* graph/gog-error-bar-prefs.glade: Don't start visible.
2004-03-16 Morten Welinder <terra@gnome.org>
* graph/gog-error-bar.c (gog_error_bar_persist_dom_save): Constify
and avoid errors.
* graph/gog-graph.c (gog_graph_validate_chart_layout): Initialize
graph.
* drawing/god-property-table.c (god_property_table_finalize): Chain up.
* drawing/god-shape.c (god_shape_dispose): Chain up.
* drawing/god-text-model.c (god_text_model_finalize): Chain up.
* drawing/god-drawing-group.c (god_drawing_group_finalize): Chain
up.
* gui-utils/go-action-combo-text.c
(go_tool_combo_text_finalize): Add dummy chain.
* graph/plugins/plot_xy/gog-xy.c (gog_2d_plot_update): Initialize
series.
(gog_xy_series_finalize, gog_2d_finalize): Skip pointless tests.
2004-03-16 Jean Brefort <jean.brefort@ac-dijon.fr>
* Makefile.am: restore data subdir
* data/Makefile.am: add error bars icons
*data/bar-*.png: new icons for error bars editor.
* goffice.c: (libgoffice_init): add GOD_ERROR_BAR_TYPE
* graph/Makefile.am: add gog-error-bar.*
* graph/goffice-graph.h: add GogErrorBar struct
* graph/gog-object-xml.c: (gog_object_write_property):
set success to FLASE when the object does not exist.
* graph/gog-series-impl.h: add populate_editor in GogSeriesClass
* graph/gog-series.c: (gog_series_editor): add pages for error bars.
* graph/gog-error-bar-prefs.glade:
* graph/gog-error-bar.[c,h]: new files.
* graph/plugins/plot_xy/gog-xy.c: (gog_2d_plot_update),
(gog_xy_plot_class_init), (gog_bubble_plot_class_init),
(gog_xy_view_render), (gog_xy_series_init),
(gog_xy_series_finalize), (gog_xy_series_set_property),
(gog_xy_series_get_property), (gog_xy_series_populate_editor),
(gog_xy_series_class_init): add support for error bars.
2004-03-15 Morten Welinder <terra@gnome.org>
* gui-utils/go-combo-box.c (go_combo_box_destroy): Plug leaks.
2004-03-15 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=135621
* graph/gog-axis.c (gog_axis_render) : fix rounding issue.
2004-03-07 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_radar/gog-radar.c (gog_radar_plot_type_name) :
remove the starting angle pref. That is better handled by the axis.
2004-03-13 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/plugins/plot_xy/gog-xy.c: (gog_xy_view_render),
(gog_xy_series_update), (gog_xy_series_init_style): fixed tests about bubble plots.
2004-03-13 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (SUBDIRS): Added drawing and ms-compat.
(libgoffice_la_LIBADD): Added drawing/libgoffice-drawing.la and
ms-compat/libgoffice/ms-compat.la.
2004-03-12 Morten Welinder <terra@gnome.org>
* graph/gog-series.c (gog_series_element_class_init): Apply the
usual fix.
2004-03-11 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_xy/gog-xy.c : draw markers when they are in plot
area and a margin half marker size wide (partly fix 135621).
2004-03-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-object.c : make use_parent_as_proxy a class property
instead of an instance one.
* graph/gog-style.c : defines a new GogStyledObject derived
GogSeriesElement object for storing of single element style overrides.
(gog_series_class_init) : declares a new GogObjectRole for use of
GogSeriesElement objects. Set use_parent_as_proxy as true.
(gog_series_get_elements) : returns the GList of GogSeriesElement
children of GogSeries.
(gog_series_get_valid_element_index) : returns the next or previous
index which is not already used by a GogSeriesElement children of
GogSeries.
* graph/gog-style.c : remove unused implementation of
GogStyleExtension and old gog_series_element_style code.
(gog_style_editor) : remove code related to GogStyleExtension.
(gog_style_assing) : idem.
(gog_style_persist_dom_load) : idem.
(gog_style_persist_dom_save) : idem.
* graph/gog-syled-object.c (gog_styled_object_set_property) : use of
gog_styled_object_set_style.
(gog_styled_object_set_style) : new.
* graph/plugins/plot_pie/gog-pie-series-element-prefs.glade : new.
* graph/plugins/plot_pie/gog-pie-prefs.c (gog_pie_series_element_pref)
: new.
* graph/plugins/plot_pie/gog-pie.c : define a new GogSeriesElement
derived GogPieSeriesElement object for storage of separation and style
of single elements.
(gog_pie_view_render) : handle single element style overrides.
* graph/plugins/plot_pie/gog-ring-prefs.glade : fix climb_rate, digits
and adjustment properties of the separation spin_button.
2004-03-03 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=136088
* graph/gog-object-xml.c (gog_object_write_property) : Add a
GOG_PARAM_FORCE_SAVE to save a parameter even if the value is the
same as the default.
* graph/gog-plot.c (gog_plot_class_init) : Use it here to always store
the vary_style_by_element property.
2004-02-27 Jody Goldberg <jody@gnome.org>
* graph/gog-theme.c (map_area_series_solid_default) : don't set colors
for image fills.
(map_area_series_solid_guppi) : ditto.
2004-02-23 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_radar/gog-radar.c : use
'default-style-has-markers' rather than 'markers' to be consistent.
(gog_radar_plot_update) : store the minima and maxima from all the
series.
(gog_radar_plot_axis_get_bounds) : renamed from gog_radar_plot_axis_bounds
for consistency. Set the bounds for a radial axis more generally.
We want the outbound to be hard (unscaled) and the inner rounded.
2004-02-22 Jody Goldberg <jody@gnome.org>
* graph/gog-chart.c (gog_chart_view_size_allocate) : only position th
axis, not all the children.
* graph/plugins/plot_radar/gog-radar.c
(gog_radar_view_render_series) : Just alloca the max numbr of points
aka model::num_elements, and don't free alloca-ed memory.
2004-02-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_radar/gog-radar.c
(gog_plot_radar_render_series) : use g_new instead of g_alloca for
allocation of path.
2004-02-21 Jody Goldberg <jody@gnome.org>
* utils/go-locale.c : Some cut-n-paste for the without_gnome case
* gui-utils/go-action-combo-text.c : some initial implementation
* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_foreach_elem) :
handle mismatched numbers of elements and labels.
(gog_pie_view_render) : take the outline into account when sizing.
* graph/gog-style.h : add weak notion of centered image. This needs
to be stronger to specify alignement.
* graph/gog-style.c (gog_style_set_fill_image_filename) : new.
(cb_image_file_select) : Use it.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) :
supported centered images.
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_polygon) : support centered images.
* graph/gog-object.c (gog_object_get_children) : add a filter parm.
(gog_object_get_child_by_role) : new utility routine.
* graph/gog-legend.c (gog_legend_update) : set up the editor properly
for fonts.
* graph/gog-graph.c (gog_graph_view_size_allocate) : typo. Only
effected manually created plots
* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : make
more resistent to out of memory situations.
* graph/go-data-simple.c : Add some quick and dirty constant vectors
for double [], and char const *[]. These could certainly be more
robust.
From Michael Devine <mdevine@cs.stanford.edu> :
* graph/goffice-graph.h : Add a first pass at 'radar' plots
* graph/gog-axis.c : ditto.
* goffice/graph/gog-chart.c : ditto
2004-02-13 Morten Welinder <terra@gnome.org>
* graph/gog-style.c (gog_style_extension_editor): Fix declaration
and check order.
2004-02-13 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-style.[ch] : new GogStyleExtension object.
(gog_style_assign) : handle extension.
(gog_style_editor) : shows extension editor if it exists.
(gog_style_get_extension) : new.
(gog_style_set_extension) : new.
* graph/gog-series : add a new style_extension_type field in
GogSeriesDesc, and use it in gog_series_init_style.
2004-02-09 Morten Welinder <terra@gnome.org>
* graph/plugins/plot_xy/gog-bubble-prefs.glade: Do not start
visible.
2004-02-09 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/plugins/plot_xy/gog-xy.c: (gog_xy_view_render): replaced
test series.num_dim == 3 by GOG_IS_BUBBLE_PLOT
* graph/plugins/plot_xy/gog-xy.h: fixed GOG_IS_BUBBLE_PLOT
2004-02-04 Jody Goldberg <jody@gnome.org>
* gui-utils/go-color-palette.c (cb_menu_custom_activate) : don't show
until after the signal in case a handler is marking the dialog as a
transient.
(cb_combo_custom_clicked) : ditto.
2004-02-02 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/plugins/plot_xy/gog-xy.c: fixed several warnings
2004-02-02 Jody Goldberg <jody@gnome.org>
* gui-utils/go-combo-color.c (cb_preview_clicked) : return the real
is_custom state.
* gui-utils/go-color-palette.c (handle_color_sel) : simplify and just
return the color caller can emit the signal, and store the new
colour.
(cb_combo_custom_response) : store results.
(cb_menu_default_activate) : ditto.
(cb_menu_color_activate) : ditto.
(cb_menu_custom_response) : ditto.
(set_color) : store when something is a custom of default.
(go_color_palette_get_current_color) : return a flag indicating if
this is custom.
2004-02-01 Jody Goldberg <jody@gnome.org>
* gui-utils/go-color-palette.c (handle_color_sel) : destroy before we
emit in case the custom dialog handler played with the wrapper
actions (eg desensitized them)
* gui-utils/go-combo-color.c (cb_proxy_custom_dialog) : pop the combo
down when the custom dialog goes up.
2004-01-29 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (cb_gradient_type_changed) : store the last
selected type.
(populate_gradient_combo) : default to that when changing fill type to
gradient.
* graph/gog-style-prefs.glade : fix mnemonics to not clash.
* gui-utils/go-action-combo-stack.c
(go_action_combo_stack_create_tool_item) : patch leak
* utils/go-marker.c (go_marker_selector) :
go_combo_pixmaps_add_element absorbs a ref to the pixbuf, don't lose
control of it. Handle shape=none nicely too.
2004-01-29 Morten Welinder <terra@gnome.org>
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): Attempt
fix.
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/plugins/plot_xy/gog-xy.c: fix 2 syntax errors to make it
compile
2004-01-28 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/plugins/plot_xy/Makefile.am:
* graph/plugins/plot_xy/gog-bubble-prefs.glade:
* graph/plugins/plot_xy/gog-bubble-prefs.c:
* graph/plugins/plot_xy/gog-xy.c:
* graph/plugins/plot_xy/gog-xy.h:
added support for bubble plots options
2004-01-24 Jon K Hellan <hellan@acm.org>
* gui-utils/go-dock.c (go_dock_class_init): Initialize parent_class.
* gui-utils/go-dock-item.c (go_dock_item_class_init): Ditto.
* gui-utils/go-dock-band.c (go_dock_band_class_init): Ditto.
2004-01-24 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_xy/gog-xy.c : suppress warning
* gui-utils/go-action-combo-text.c (go_action_combo_text_set_entry) :
implement.
* gui-utils/go-action-combo-stack.c
(go_action_combo_stack_create_tool_item) : set the relief here too.
We're close to having a GOActionCombo base for this.
2004-01-23 Jody Goldberg <jody@gnome.org>
* gui-utils/go-action-combo-stack.c : tweak to make it sorta work.
I do not like the kludgy approach required by our not supporting
arguments to GtkAction::activate
2004-01-22 Jody Goldberg <jody@gnome.org>
* gui-utils/go-action-combo-pixmaps.c : rewrite.
2004-01-17 Jody Goldberg <jody@gnome.org>
* gui-utils/go-action-combo-color.c (cb_color_changed) : Use the
supplied color directly.
(go_action_combo_color_create_menu_item) : connect up the activate signal.
2004-01-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-style.c (gog_style_editor) : edit a GogStyle, not
GogStyledObject.
(gog_styled_object_editor) : new.
* graph/gog-axis.c : use gog_styled_object_editor instead of
gog_style_editor.
* graph/gog-label.c : ditto.
* graph/gog-series.c : ditto.
* graph/gog-styled-object.c : ditto. rename gog_styled_object_editor
to styled_object_editor.
2004-01-17 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/plugins/plot_xy/* : add initial support for bubble plots
2004-01-16 Jody Goldberg <jody@gnome.org>
* gui-utils/go-action-combo-stack.c (go_action_combo_stack_push) :
operate on the combo, not the toolitem wrapper.
(go_action_combo_stack_pop) : ditto.
(go_action_combo_stack_truncate) : ditto.
2004-01-16 Jon K Hellan <hellan@acm.org>
* gui-utils/go-action-combo-stack.c (go_action_combo_stack_push)
(go_action_combo_stack_pop): Fix typos.
2004-01-14 Jody Goldberg <jody@gnome.org>
* gui-utils/go-action-combo-color.c
(go_action_combo_color_create_menu_item) : some initial work on
producing a menu. Its not bad, but the combo needs alot of cleanup
before it can migrate.
2003-12-23 Jody Goldberg <jody@gnome.org>
* Release 1.2.3
2003-12-22 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_editor) : set the current format.
2003-12-19 Jody Goldberg <jody@gnome.org>
* utils/go-format.c (go_format_eq) : new.
(go_format_as_XL) : new
(go_format_new_from_XL) : new
* graph/gog-axis.c (gog_axis_editor) : add a format selection page for
non-discrete axis.
2003-12-18 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=129445
* graph/gog-style.c (gog_style_assign) : transfer the
needs_obj_defaults field.
(gog_style_init) : init needs_obj_defaults field to TRUE.
(gog_style_persist_dom_load) : persisted styles do not need object
defaults.
* graph/plugins/plot_barcol/gog-line.c (gog_line_series_init_style) :
respect the needs_obj_defaults.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_series_init_style) : ditto.
* graph/gog-axis.c (gog_axis_get_marker) : Use go_format to handle the
markers.
* utils/go-format.c : A quick cheesy wrapper to GnmFormat in
preparation for sucking it down here.
2003-12-14 Jody Goldberg <jody@gnome.org>
* utils/go-pattern.c (go_pattern_selector) : fix leak.
* utils/go-gradient.c (go_gradient_selector) : fix leak.
* utils/go-marker.c (go_marker_selector) : fix leak.
2003-12-14 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=128874
* graph/gog-axis.c (gog_axis_finalize) : unref labels.
(gog_axis_update) : ref them here.
2003-11-26 Jody Goldberg <jody@gnome.org>
* Release 1.2.2
2003-11-18 Jody Goldberg <jody@gnome.org>
* graph/gog-styled-object.c (gog_styled_object_set_property) : dup the
style to avoid themes stomping on shared styles. refcounting is not
an ideal semantic for GogStyle.
2003-11-17 Morten Welinder <terra@gnome.org>
* graph/gog-object-xml.c (gog_object_write_property): Plug leak.
2003-11-15 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_view_render) : support minor ticks and
tune placement to work around anti-aliasing blur.
* graph/gog-grid.c (gog_grid_view_render) : tune the cheat to work
around anti-aliasing blur.
2003-11-14 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=126775
* graph/gog-axis.c (gog_axis_update) : be smarter when min == max.
2003-11-13 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (cb_obj_children_reordered) : implement.
(cb_reordered_find) : new.
* graph/gog-object.c (gog_object_can_reorder) : implement.
2003-11-13 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
avoid the potential for trouble for a series with only zeros.
2003-11-12 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (graph_guru_init_format_page) : store the
precedence widgets.
(cb_attr_tree_selection_change) : adjust sensitivity of the precedence
elements.
2003-11-11 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (marker_init) : fix leak.
* graph/gog-guru.c (cb_attr_tree_selection_change) : work around a
probable bug in GtkViewport by adding an extra GtkFrame inside the
viewport and using that.
2003-11-11 Morten Welinder <terra@gnome.org>
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render): Use finite
consistently.
2003-11-11 Jody Goldberg <jody@gnome.org>
* utils/go-pattern.c (go_pattern_selector) : add auto support.
* utils/go-marker.c : move the default handling where it belongs.
* utils/go-color.c (go_color_to_gdk) : new.
* graph/plugins/plot_barcol/plot-types.xml.in : include non-marker
variants.
* graph/plugins/plot_xy/plot-types.xml.in : include non-marker, and
barcol non-line variants.
* graph/gog-theme.c : respect the auto flags here.
* graph/gog-styled-object.c (gog_styled_object_apply_theme) : new.
(gog_styled_object_set_property) : Use it here.
(gog_styled_object_parent_changed) : and here.
(gog_styled_object_editor) : provide a default impl.
(gog_styled_object_get_auto_style) : new.
* graph/gog-style.c :
- Add support for auto* flags for the marker here, not GoMarker.
- Support restoring auto for shapes and colours
* graph/gog-series.c (gog_series_init_style) : new. Gives us finer
control of what is themable.
* graph/gog-guru.c : Simplify our lives and only have 1 prop sheet at
any given time. No need to worry about updating when something
changes externally (styles or dimensions)
* graph/gog-chart.c : Use the default editor and init_style
* graph/gog-graph.c : ditto
* graph/gog-axis.c : convert from ::interesting_fields -> ::init_style
* graph/gog-grid.c : ditto.
* graph/gog-label.c : ditto.
* graph/gog-legend.c : ditto.
2003-11-05 Jody Goldberg <jody@gnome.org>
* utils/go-marker.h : I don't want GtkWidget in these headers
2003-11-04 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=125986
* graph/gog-style.c (gog_style_merge) : A cheesy solution to the
current lack of clarity on the theming. We only have a
colour.is_auto flag, so only assign the colour. This means that
lines and outlines can only theme the colour, not the width or the
pattern. Which seems reasonably until we have a plan for defining
'autoness' for those attributes.
2003-11-03 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=126056
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : differentiate
between missing and bad strings. X axis strings are indicies, Y
axis strings are 0.
2003-11-02 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (gog_style_editor) : Add a weakref so that we can
disconnect the signal if the object is destroyed.
* graph/gog-axis.c (make_dim_editor) : Use closures to avoid having a
callback after a widget has been destroyed.
2003-11-02 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
http://bugzilla.gnome.org/show_bug.cgi?id=125419
* graph/gog-renderer.[ch] (gog_renderer_start_clipping),
(gog_renderer_stop_clipping) : new. Implement clipping of drawing.
Only one level of clipping is allowed.
* graph/gog-renderer[svg, pixbuf, gnome-print]
(gog_renderer_.._start_clipping),
(gog_renderer_.._stop_clipping) : new.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_path),
(gog_renderer_pixbuf_draw_polygon),
(gog_renderer_pixbuf_draw_text) : handle offset for drawing when
clipping.
* graph/gog-rendere-gnome-print.c (make_rectangle_path) : new;
* graph/gog-chart.c (gog_chart_render) : new. Use the same clipping
region for all plots.
2003-11-01 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-renderer-svg.c: added scale parameter to gog_graph_export_to_svg.
* graph/gog-renderer-svg.c: implement gog_renderer_svg_measure_text and
gog_renderer_svg_draw_text.
2003-11-01 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-barcol.c
(gog_barcol_plot_class_init) : set the default to match the real
default so that things persist properly.
2003-10-30 Jody Goldberg <jody@gnome.org>
* graph/gog-plot.c (gog_plot_get_cardinality) : Set the index even if
the series is invald. This makes like easier when adding a series.
* graph/gog-style.c (gog_object_set_style) : block style change
signals.
(gog_style_pref_state_free) : disconnect the style change handler.
(gog_style_editor) : monitor style changed signals.
(cb_style_changed) : new.
* graph/gog-series.c (gog_series_set_index) : signal when the style
changes.
* graph/gog-object.c (gog_object_get_editor) : force an update before
creating an editor to avoid flicker later.
* graph/gog-graph.c (gog_graph_force_update) : new.
2003-10-29 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (cb_axis_bound_changed) : update all the auto
bounds when anything changes.
2003-10-28 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : be lazy and
do the clipping in the renderer rather than here. It will make
life easier when we add splines.
2003-10-27 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=125619
* graph/gog-axis.c (gog_axis_editor) : init the high/low button
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render) : clip
markers and lines.
* graph/gog-renderer-pixbuf.c (clip_path) : new.
(gog_renderer_pixbuf_draw_path) : support the new clipping argument.
(gog_renderer_pixbuf_draw_polygon) : ditto.
2003-10-23 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=125045
* graph/gog-axis.c (gog_axis_view_render) : clip correctly and space
the ticks based on the actual tick values, not just their index.
(gog_axis_num_markers) : return a step fraction too.
2003-10-21 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer.c (gog_renderer_init) : init zoom to 1.
* graph/gog-renderer-gnome-print.c (gog_graph_print_to_gnome_print) :
ditto.
2003-10-14 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-axis.c (axis_get_entry) : Add a user_defined parameter in
order to know if the returned value is defined by user or computed.
(gog_axis_update) : Use user defined bound for the tick spacing
calculation.
(gog_axis_num_markers) : round to nearest value instead of the
automatic double to int cast that removes the fractionnal part.
2003-10-18 Jody Goldberg <jody@gnome.org>
* graph/gog-chart-impl.h : Inherit from GogOutlinedObject and use the
padding there.
* graph/gog-graph-impl.h : ditto.
* graph/gog-label.c : ditto.
* graph/gog-legend.c : ditto.
* graph/gog-chart.c (gog_chart_get_property) : padding is in outlined
object now.
(gog_chart_set_property) : delete.
(gog_chart_class_init) : delete set_prop method and padding_pts prop
(gog_chart_init) : delete padding_pts.
(gog_chart_view_size_allocate) : use outlined view.
(gog_chart_view_render) : ditto.
(gog_chart_view_class_init) : just use render in outlined view.
* graph/gog-graph.c (gog_graph_set_property) : remove PADDING
(gog_graph_get_property) : ditto.
(gog_graph_class_init) : ditto.
(gog_graph_init) : we don't inherit directly from StyledObject anymore
(gog_graph_view_size_allocate) : use OutlinedView.
(gog_graph_view_render) : ditto.
(gog_graph_view_class_init) : ditto.
* graph/Makefile.am : Add gog-outlined-object.[ch]
2003-10-13 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=122546
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) : Update
the index axis if our labels change. This problem does not apply to
XY plots because their x bounds will change when a dim is set or
cleared.
2003-10-08 Jody Goldberg <jody@gnome.org>
* Release 1.2.1
2003-10-06 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-renderer-svg.c (gog_renderer_svg_draw_polygon) : use go_pattern_is_solid.
(gog_renderer_svg_draw_marker) : implemented.
2003-10-08 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (role_label_post_add) : put y axis labels to the
left or right not at the top.
(gog_axis_class_init) : enable y axis labels
2003-10-07 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_dataset_dims) : enable setting the cross
point.
2003-10-07 Morten Welinder <terra@gnome.org>
* graph/gog-axis.c (gog_axis_update): Fake floor, not fake trunc.
2003-10-06 Morten Welinder <terra@gnome.org>
* graph/gog-plot.c (gog_plot_get_axis_bounds): Return NULL, not
FALSE.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_point): Ditto.
2003-10-05 Jon K Hellan <hellan@acm.org>
* utils/go-pattern.c (go_pattern_selector): gtk_combo_box renamed
to gnm_combo_box.
* utils/go-marker.c (go_marker_selector): Ditto.
* utils/go-gradient.c (go_gradient_selector): Ditto.
* graph/gog-style.c (create_color_combo): Ditto.
2003-10-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
* graph/gog-guru.c: #include gtkliststore.h to fix build.
2003-09-30 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render) : we
already winnowed out the invalid series, no need to flag them.
* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
ditto.
2003-09-28 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (gog_style_is_marker_visible) : Use the
interesting field too.
(gog_style_assign) : Assign the interesting flags too.
* graph/gog-legend.c (cb_size_elements) : see if anything has a marker
(gog_legend_view_size_request) : if any of the elements has a marker
rather than a swatch we need 3x swatch width.
(cb_render_elements) : If entry has a marker draw the line and marker
(gog_legend_view_render) : Prep for drawing markers if any exist.
2003-09-29 Morten Welinder <terra@gnome.org>
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render):
Survive getting a NULL vals, even though that might be a symptom
of something else.
* graph/gog-object.c (gog_object_dup): Plug leak.
* graph/gog-object-xml.c (gog_object_new_from_xml): Plug leaks.
2003-09-23 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.h : delete unused enum GogAxisTickLevel.
Publicize the data elements.
(gog_axis_update) : Manually handle the epsilon shifts so that we can
ignore sign.
2003-09-22 Jody Goldberg <jody@gnome.org>
* graph/gog-view.c (cb_remove_child) : doh!
2003-09-21 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-pixbuf.c (make_layout) : scale the font size
manually to work around.
http://bugzilla.gnome.org/show_bug.cgi?id=121543
2003-09-15 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-renderer-svg.c : added gradient support.
* utils/go-gradient.c (go_gradient_setup): changed vector for oblique gradients.
2003-09-20 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_bounds) :
only valid series can contribute to an index dimension.
* graph/plugins/plot_xy/gog-xy.c (gog_xy_plot_axis_bounds) : ditto.
* graph/gog-renderer-gnome-print.c (get_font) : respect zoom.
* graph/gog-style.c (font_init) : set the font _before_ connecting the
signal. doh!
2003-09-16 Jody Goldberg <jody@gnome.org>
* graph/gog-theme.c (gog_themes_init) : change the default theme for
Adrian.
2003-09-16 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-pixbuf.c (make_layout): Change to way font
description is set so that it will work both before and after the
fix to http://bugzilla.gnome.org/show_bug.cgi?id=121543.
2003-09-15 Jody Goldberg <jody@gnome.org>
* graph/gog-label.c (gog_label_view_size_request) : empty labels are
of size 0,0 not 1,1
* graph/gog-view.c (gog_view_size_allocate_real) : don't pad if the
child is 0 sized.
(gog_view_size_child_request) : ditto.
* graph/gog-axis.c (gog_axis_num_markers) : we can't use the max_val
as a fallback if there is no data defining it.
2003-09-15 Morten Welinder <terra@gnome.org>
* utils/go-marker.c (go_marker_selector): Terminate the array as
it is shorter than we tell the pixbuf combo.
2003-09-15 Jody Goldberg <jody@gnome.org>
* Release 1.2.0
2003-09-15 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer.c (gog_renderer_measure_text) : pango does not
like measuring ""
(gog_renderer_draw_text) : ditto.
2003-09-15 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_view_render) : clipping the label text in
the iterating dimension is a bad idea, we want to clip whole labels,
not the individual lines.
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : only draw
the first series for a pie. Things can sneak in.
* utils/go-font.c (go_font_init) : make default font smaller
* graph/gog-object.c (gog_object_get_pos) : new.
(gog_object_set_pos) : new.
2003-09-14 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_editor) : We ignore the bounds for a
discrete axis.
(gog_axis_update) : store information pertaining to axes with discrete
enumerations.
(gog_axis_editor) : discrete enumerations do not allow for manual boun
changes.
(gog_axis_num_markers) : handle discrete enumerations.
(gog_axis_get_marker) : ditto.
(gog_axis_view_size_request) : ditto.
(gog_axis_view_render) : rework to support in and out ticks.
Support discrete enumerations.
(gog_axis_is_discrete) : new.
(gog_axis_get_ticks) : new.
* graph/gog-renderer.c (gog_renderer_draw_text) : revamp the interface
yet again to make parameters clearer.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : adjsut
to the new interface and imrpve clipping support.
* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_text) :
adjust to the new interface, add support for anchors.
2003-09-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
* gog-style-prefs.glade: `colour' should be `color'
2003-09-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-renderer-gnome-print.c: replace calls of
gnome_font_find_closest_from_weight_slant with
gnm_font_find_closest_from_weight_slant
2003-09-14 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (axis_get_entry) : new utility.
(gog_axis_get_bounds) : use it here.
(gog_axis_num_markers) : here.
(gog_axis_get_marker) : and here.
(role_label_can_add) : new.
(gog_axis_class_init) : use it here to disable labels on the Y axis
until we can get a smarter layout engine.
2003-09-14 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_update) : yet another layer of heuristic
to handle -1 .. 1 better.
(gog_axis_get_marker) : force to 0.
* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
Get the bounds from the value axis. (fixes bar plots)
2003-09-13 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (cb_enable_dim) : get smarter and handle
transitions to from auto state.
2003-09-13 Jon K Hellan <hellan@acm.org>
* graph/gog-style.c (cb_fg_color_changed, cb_bg_color_changed,
cb_fill_gradient_start_color, cb_fill_gradient_end_color): Update
is_auto and pattern_fore_auto, pattern_back_auto,
gradient_start_auto, gradient_end_auto flags.
(gog_style_merge): Only merge color attributes for fill.
(gog_style_init): Initialize attern_fore_auto, pattern_back_auto,
gradient_start_auto, gradient_end_auto flags
* graph/gog-style.h: Add non-persistent auto flags for each color
element in fill.
2003-09-13 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (role_label_post_add) : be smarter about
positioning.
* graph/gog-view.c (gog_view_size_child_request) : hard code some
inter-child padding. We can be more elegant in the future.
(gog_view_size_allocate_real) : ditto.
* graph/gog-axis.c (gog_axis_view_size_request) : request space for
children too.
2003-09-13 Jon K Hellan <hellan@acm.org>
* graph/gog-legend.c (cb_render_elements): Allow for floating
point inaccuracies when deciding if there is room for an element.
2003-09-13 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_xy/gog-xy.c (gog_xy_view_render) : support index
axis for X.
(gog_xy_series_update) : ditto.
* graph/gog-axis.c (gog_axis_editor) : we want font too.
Align the Auto header nicely.
(make_dim_editor) : some initial work to give the Auto button's some
feedback.
* graph/gog-style.c (cb_line_color_changed) : set auto_color.
(cb_outline_color_changed) : ditto.
2003-09-13 Jody Goldberg <jody@gnome.org>
* graph/gog-chart.c (gog_chart_axis_set_assign) : clear_parent clears
::grid, store the pointer for a moment so that we can free it.
* utils/go-color.c (color_combo_get_gocolor) : cheap hack to support
alpha channel despite interface limitations. It only works for
custom colours, but thats the most important case.
(color_combo_set_gocolor) : init the custom picker too to ensure that
alpha gets set correctly.
* utils/go-gradient.c (go_gradient_selector) : no need to free images,
have the combo absorb them.
* utils/go-pattern.c (go_pattern_selector) : ditto.
fix cut-n-paste-o the first
'Thin Diagonal Crosshatch' was actually
'Thin Diagonal Stripe'
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : leak.
2003-09-12 Jody Goldberg <jody@gnome.org>
* graph/gog-axis.c (gog_axis_set_property) : fix typos.
(gog_axis_view_render) : actually support some of the tick options.
(gog_axis_editor) : hook up some of the controls.
* graph/gog-chart.c (gog_chart_axis_set_assign) : add or remove a grid
depending on the axis set.
2003-09-11 Jody Goldberg <jody@gnome.org>
* graph/gog-object-xml.c (gog_object_write_property) : don't bother
saving parameters with default values.
* graph/plugins/plot_barcol/gog-line.c (gog_line_view_render) :
respect axis bounds.
* graph/gog-axis.c (gog_axis_view_render) : invert alignment of text
and support tick marks.
(gog_axis_view_size_request) : Make axis labels optional, and allocate
size for major and minor ticks.
(gog_axis_class_init) : Lots of new options.
(gog_axis_get_property) : ditto, not all of them are supported yet.
(gog_axis_set_property) : ditto, not all of them are supported yet.
(gog_axis_update) : Add pull to 0, and step doubling heuristics.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : Clip
text trying to draw out of the physical bounds.
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_axis_bounds) :
fix cut-n-paste-o.
2003-09-10 Jody Goldberg <jody@gnome.org>
* Release 1.1.90
2003-09-09 Jody Goldberg <jody@gnome.org>
* graph/gog-styled-object.c (gog_styled_object_parent_changed) : set
the interesting fields when all the parents are in place.
* graph/gog-renderer.h : Add an anchor parm to draw_text and clean up
the semantics of size.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) : handle
the various anchor types.
* graph/gog-axis.c : Some initial work at generating bounds, and
drawing axis values.
* graph/gog-view.c (gog_view_render) : filter objects with invalid
size. eg a user makes the plot too small to be useful.
2003-09-09 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) :
percentage charts logicly limit -1 .. 1
* graph/plugins/plot_xy/gog-xy.c (gog_xy_plot_update) : no logical min
or max.
2003-09-08 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/plot-types.xml.in : fix icons to match
reality. All lines currently have markers by default.
* graph/plugins/plot_barcol/gog-line.c
(gog_line_update_stacked_and_percentage) : Generate the correct bounds.
* graph/plugins/plot_barcol/gog-barcol.c
(gog_barcol_update_stacked_and_percentage) : Why special case 0..1
(gog_barcol_view_render) : handle bound clipping.
2003-09-08 Jon K Hellan <hellan@acm.org>
* graph/gog-renderer-svg.c (gog_renderer_svg_draw_marker): New
dummy implementation.
(gog_renderer_svg_class_init): Use it.
2003-09-08 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (cb_fill_gradient_end_color) : throw the update
into a timer to decrease flicker.
Works around a bug in older libarts.
(gog_style_set_fill_brightness) : new.
(cb_gradient_brightness_value_changed) : actually hide the brightness.
(cb_gradient_style_changed) : ditto.
(fill_gradient_init) : ditto.
* graph/gog-renderer-svg.c (gog_graph_export_to_svg) : convert
interface to use libgsf.
2003-09-07 Jean Brefort <jean.brefort@ac-dijon.fr>
* utils/go-gradient.c (go_gradient_setup): added a small value to gradient->c for
vertical gradients to avoid a line whith the bad color at the top of the area.
* graph/gog-style.c: handle brightness in gradients.
* graph/gog-renderer-svg.[c,h]: new files to handle svg export (not
fully implemented).
* graph/Makefile.am: added gog-renderer-svg.[c,h].
2003-09-07 Jody Goldberg <jody@gnome.org>
* utils/go-marker.c (go_marker_selector) : Add marker names.
2003-09-07 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* utils/go-marker.c : removed unused property and signal stuff.
(go_marker_selector) : new.
* graph/gog-style.c (populate_marker_combo) : new.
(marker_init) : use the marker combo.
* graph/gog-style-prefs.glade : removed marker option menu.
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_marker): returns when one of the path
is NULL (fix a crash).
2003-09-07 Jody Goldberg <jody@gnome.org>
* graph/gog-styled-object.c (gog_styled_object_set_property) : set the
interesting field for a style.
(gog_styled_object_init) : ditto.
(gog_styled_object_interesting_fields) : default to outline & fill.
* graph/gog-style.c (gog_style_persist_dom_save) : only save
interesting fields.
* graph/gog-series.c (gog_series_interesting_fields) : new.
(gog_series_class_init) : hook it up.
* graph/gog-legend.c (gog_legend_interesting_fields) : new.
(gog_legend_class_init) : hook it up.
* graph/gog-label.c (gog_label_interesting_fields) : new.
(gog_label_class_init) : hook it up.
* graph/gog-axis.c (gog_axis_interesting_fields) : new.
(gog_axis_class_init) : hook it up.
2003-09-07 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (gog_style_line_load) : support auto_color flags.
(gog_style_line_save) : ditto.
(gog_style_fill_load) : handle is_auto.
(gog_style_fill_save) : ditto.
* graph/gog-legend.c (gog_legend_view_render) : tune the padding.
(cb_render_elements) : ditto.
2003-09-06 Jon K Hellan <hellan@acm.org>
* graph/gog-theme.c (gog_theme_init_style): Merge styles instead
of assigning style from theme.
(map_area_series_solid_default): Only change elements which hold
auto values.
* utils/go-marker.[ch] (go_marker_shape_from_str,
go_marker_shape_as_str): Move from gog-style.c and rename.
(go_marker_is_auto): New. Tests if marker is different from
default. Should really test if user has chosen the marker
explicitly.
* graph/gog-style.c (gog_style_merge): Implement.
(str_as_marker_shape, marker_shape_as_str):Move to utils/go-marker
and rename.
(gog_style_marker_load, gog_style_marker_save): Use renamed
version of above functions.
(gog_style_persist_dom_load): Mark style elements read from file
as non-auto (for now).
2003-09-06 Jon K Hellan <hellan@acm.org>
* utils/go-pattern.[ch] (go_pattern_as_str, go_pattern_as_str): Move
from gog-style.c and rename.
* utils/go-gradient.[ch] (go_gradient_dir_from_str)
(go_gradient_dir_as_str): Ditto.
* graph/gog-style.c (str_as_pattern, pattern_as_str,
str_as_grad_dir, grad_dir_as_str): Move to utils/go-pattern /
go-gradient and rename.
(gog_style_gradient_load, gog_style_gradient_save,
gog_style_fill_load, gog_style_fill_save): Use renamed version of
above functions.
2003-09-05 Jon K Hellan <hellan@acm.org>
* utils/go-color.[ch] (go_color_from_str, go_color_as_str):
New. Convert color to/from string.
* graph/gog-style.c (str_as_fill_style, fill_style_as_str):
New. Convert fill style to/from string.
(str_as_pattern, pattern_as_str): New. Convert pattern to/from
string.
(str_as_grad_dir, grad_dir_as_str): New. Convert gradient
direction to/from string.
(str_as_marker_shape, marker_shape_as_str): New. Convert marker
shape to/from string.
(gog_style_line_load, gog_style_line_save): New. Load/save a
line/outline style.
(gog_style_gradient_load, gog_style_gradient_save): New. Load/save
a gradient.
(gog_style_fill_load, gog_style_fill_save): New. Load/save a fill.
(gog_style_marker_load, gog_style_marker_save): New. Load/save a
marker.
(gog_style_font_load, gog_style_font_save): New. Load/save a font.
(gog_style_persist_dom_load, gog_style_persist_dom_save):
Implement.
* graph/gog-object-xml.c (gog_object_set_arg_full) : Don't expect
GObject type name as entity content.
(gog_object_write_property): Don't save GObject type name as
entity content.
2003-09-04 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) : don't
force 0. That will be handled at the axis level.
* graph/gog-style.c : move the marker editor back into the main style
editor rather than being distinct.
2003-09-03 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* utils/go-marker.[ch] : new.
* graph/gog-pixbuf-renderer.c : add draw_marker method.
* graph/gog-gnome-print-renderer.c : idem.
* graph/gog-renderer.c : idem.
* graph/gog-style-prefs.glade : update marker editor
* graph/gog-style.c (cb_marker_changed) : new.
(marker_init) : use editor in gog-marker.c.
(gog_style_pref_state_free) : free marker pointer.
(gog_style_assign) : handle marker pointer.
(gog_style_finalize) : idem.
(gog_style_init) : init marker pointer.
* graph/gog-theme.c (map_area_series_solid_default)
(map_area_series_solid_guppi) : initialize marker properties.
* graph/plugins/plot_barcol/gog-line.c
(gog_line_view_render) : draw markers.
2003-09-03 Jody Goldberg <jody@gnome.org>
* graph/gog-legend.c (cb_render_elements) : clip before things
overflow.
2003-09-03 Jody Goldberg <jody@gnome.org>
* graph/gog-style.h : add GogStyle::font::color
* graph/gog-style.c (gog_style_init) : init font::color
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_text) :
composite manually cause libart was dog slow when using the approach
in librsvg.
2003-09-03 Jody Goldberg <jody@gnome.org>
* graph/gog-label.c (gog_label_view_size_request) : take outline
into account.
* graph/gog-legend.c (gog_legend_view_render) : don't over draw space
allocated to children, and actually measure the text.
(gog_legend_editor) : add.
* graph/gog-view.c (gog_view_size_child_request) : new utility to
build up a size requestfor the children around the request for the
parent.
* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_foreach_elem) :
handle case with no series.
2003-09-03 Morten Welinder <terra@gnome.org>
* graph/gog-object-xml.c (gog_object_set_arg_full): Plug leak.
2003-09-01 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-pixbuf.c (make_layout) : kludge a patch for font
scaling.
2003-09-01 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_xy/gog-xy.c : An initial skeleton, because I
accidentally deleted the last one. Useless.
* graph/gog-style.c (gog_object_get_style) : fix leak.
(fill_init) : do not assign the style as part of the initialization.
* graph/gog-renderer-pixbuf.c (make_layout) : another failing attempt
to get font sizes to change.
* graph/gog-renderer-gnome-print.c : An initial pass at font support.
Untested, and unlikely to work out of the box.
2003-08-29 Morten Welinder <terra@gnome.org>
* graph/gog-axis.c (gog_axis_class_init): Plug leak.
* utils/go-pattern.c (go_pattern_selector): Free the pixel data.
* graph/gog-guru.c (graph_typeselect_minor): Handle ->plot
changing underneath us.
* utils/go-font.c (go_font_init): Since the key is a pango font
description, not a go-font, use proper hash and equal functions.
2003-08-29 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : go
clockwise to avoid having ArtRender think the figure is inside out.
2003-08-28 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-impl.h : Add font_removed.
2003-08-28 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_class_init) : pie
series need outlines and fills.
* graph/gog-theme.c (gog_theme_element_free) : new.
(gog_theme_element_hash) : ditto.
(gog_theme_element_eq) : ditto.
(gog_themes_shutdown) : new to avoid leaking.
(gog_theme_finalize) : handle lookup by role.
(gog_theme_init) : ditto.
(gog_theme_add_element) : ditto.
(gog_theme_init_style) : rework to clarify precedence.
1) <parent_type>::<role>
2) ::<role>
3) object_type
* graph/gog-style.c (gog_style_assign) : Use GOFont.
(gog_style_finalize) : ditto.
(gog_style_init) : ditto.
(gog_style_set_font) : new,
* goffice.c (libgoffice_init) : init fonts.
(libgoffice_shutdown) : shutdown fonts and themes.
* utils/go-font.c : new utility class to ref count fonts.
2003-08-28 Morten Welinder <terra@gnome.org>
* utils/go-gradient.c (go_gradient_selector): Clean a bit.
* graph/gog-style.c (gog_style_pref_state_free): Don't unref NULL
images.
(gog_style_set_image_preview): Handle setting the same picture,
just in case.
2003-08-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style.c (gog_style_set_image_preview): add
argument to gnm_pixbuf_intelligent_scale call
(cb_image_file_select) use preview_file_selection_set_filename
rather than gtk_file_selection_set_filename
(fill_image_init): set minimum preview size
2003-08-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style.c (gog_style_set_image_preview): new
(cb_image_file_select): use gtk_image_set_from_pixbuf
(fill_image_init): initialize state->fill.image.image
(cb_fill_type_changed): store original size image
(gog_style_pref_state_free): free state->fill.image.image
* graph/gog-style-prefs.glade: add size label to image-fill
preview
2003-08-26 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style.c (cb_image_file_select): use
preview_file_selection_new and not
gnumeric_dialog_image_file_selection
2003-08-26 Morten Welinder <terra@gnome.org>
* utils/go-pattern.c (go_pattern_selector): Get the args to
gdk_pixbuf_new right. Plug leak.
* utils/go-gradient.c (go_gradient_setup): New function.
(go_gradient_selector): Use go_gradient_setup. Make return type
sane.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
Use go_gradient_setup.
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_polygon): Use go_gradient_setup.
2003-08-25 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style.c (cb_image_file_select): use
gnumeric_dialog_image_file_selection
2003-08-25 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_polygon) : remove double
gonme_print_grestore
2003-08-24 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (cb_graph_guru_clicked) :clear the tmp value that
was refing the graph.
2003-08-24 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-guru.c (gog_guru): store and ref gclosure
(graph_guru_state_destroy): unref closure
(cb_graph_guru_clicked): invoke gclosure
* graph/gog-guru.h (gog_guru): use gclosure
2003-08-23 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-1.5d.c (gog_plot1_5d_update) : doh!
2003-08-22 Jody Goldberg <jody@gnome.org>
* graph/gog-object.c (gog_role_cmp) : use the new priority field to
be smarter.
(gog_object_dup) : Use the new go_data_dup.
(gog_object_set_parent) : use gog_role_cmp instead of just using the
position.
2003-08-21 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (gog_guru) : use gog_graph_dup now that styles
work.
* graph/gog-object.c (gog_object_dup) : doh! dst = src works better
than src = src.
2003-08-21 Jody Goldberg <jody@gnome.org>
* Release 1.1.20
2003-08-21 Jody Goldberg <jody@gnome.org>
* graph/gog-object-xml.c (gog_object_new_from_xml) : don't mark newly
reconstituted objects as explicitly typed unless they really were.
(gog_dataset_save) : patch leak.
* graph/gog-object.c (gog_object_dup) : new.
2003-08-21 Jody Goldberg <jody@gnome.org>
* graph/gog-axis-prefs.glade : Remove the ticks menu. I'll handle it
via roles later.
* graph/gog-axis.c (gog_axis_editor) : we're only interested in the
line characteristics.
* utils/go-units.h : fix arg names
* graph/gog-chart.c (gog_chart_class_init) : add padding_pts.
* graph/gog-graph.c (gog_graph_class_init) : typo.
2003-08-19 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer.c (gog_renderer_draw_rectangle) : handle outlines
properly.
2003-08-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style-prefs.glade: shuffle fill-image widgets again
2003-08-14 Morten Welinder <terra@gnome.org>
* graph/gog-style.c (cb_fill_type_changed): Don't unref the old
image if it is NULL.
2003-08-14 Jody Goldberg <jody@gnome.org>
* graph/gog-chart.c (role_plot_post_add) : don't set the axis twice
for the first plot. Add a post condition to keep us honest.
2003-08-12 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c (fill_image_init) : store the filename
(cb_image_file_select) : ditto.
(cb_fill_type_changed) : use it here to support restoring the image
filaname even though all we have is the image.
2003-08-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style-prefs.glade: shuffle fill-image widgets
* graph/gog-guru.glade: increase default size and increase
default style portion
2003-08-13 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style-prefs.glade: align fill-image widgets
2003-08-12 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style-prefs.glade: improve spacing, add scoll window
2003-08-12 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-style-prefs.glade: add some missed label names
2003-08-10 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c : re-enable image handling and cache the pixbuf.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) : The
style stores the pixbuf now, no need to reload the damn thing from
disk every time we use it.
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_polygon) : Use a convenience routine
(print_image) : new convenience routine.
2003-08-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/plugins/plot_pie/gog-pie-prefs.c (cb_center_size_changed):
scale between display and storage
(gog_ring_plot_pref): ditto
* graph/plugins/plot_pie/gog-ring-prefs.glade: center_size spin
button should range from 0 to 95 in steps of 5
2003-08-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/gog-guru.c: add correct helpfile address
2003-08-01 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_finalize): Plug
leak.
* graph/gog-style.c (gog_style_class_init): Plug leaks.
2003-08-01 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_path) : use
the line characteristics, not outline.
* graph/gog-renderer-gnome-print.c
(gog_renderer_gnome_print_draw_path) : ditto.
* graph/gog-theme.c (gog_themes_init) : set the line width.
(map_area_series_solid_default) : line colour seems to start at an
offset to area colours.
(map_area_series_solid_guppi) : set the line colour too.
2003-07-31 Jody Goldberg <jody@gnome.org>
* graph/gog-series.c (gog_series_set_index) : always init the style,
don't be cheap. When loading index is initialized to 0, so the
first series would not get styled because it did not look like
anything changed.
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : fix
interpretation of the center_size parameter. Thanks tino.
* graph/gog-plot.c (gog_plot_init) : copy the plot descriptor from the
class to the plot here for use cases that use g_object_new.
* graph/gog-plot-engine.c (gog_plot_new_by_name) : rather than here
where it gets missed.
* graph/gog-legend.c (gog_legend_parent_changed) : catch object name
changes in the chart and trigger an update.
* graph/gog-graph.c (cb_graph_idle) : clear the handler before doing
the update so that a handler can queue an update for another object.
2003-07-30 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_barcol/gog-line.[ch]: new. Line and Area support.
* graph/plugins/plot_barcol/gog-1.d.[ch]: new. Defines base class for
gog-line and gog-barcol.
* graph/plugins/plot_barcol/plot-types.xml.in: add support for are and
line plots.
* graph/plugins/plot_barcol/plugin.xml.in: add are and line engines.
2003-07-19 Jody Goldberg <jody@gnome.org>
* graph/gog-chart.c (gog_chart_get_axis) : new.
2003-07-19 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/plot-types.xml.in : for stacked and
percentage set the overlap to 100.
2003-07-17 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_barcol/gog-barcol.c : Request XY axis set.
* graph/gog-data-set.c (gog_dataset_set_dim_internal) : always fire an
update.
2003-07-09 Jody Goldberg <jody@gnome.org>
* graph/gog-object-xml.h : fix guards
2003-07-07 Jody Goldberg <jody@gnome.org>
* graph/gog-legend.c (gog_legend_parent_changed) : chain upwards.
* graph/gog-series.c (gog_series_parent_changed) : ditto.
2003-07-06 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/plugins/plot_pie/gog-ring-prefs.glade: colour -> color
2003-07-06 Andreas J. Guelzow <aguelzow@taliesin.ca>
* graph/plugins/plot_pie/gog-pie-prefs.glade: colour -> color
2003-07-03 Jon K Hellan <hellan@acm.org>
* graph/gog-style.c (init_solid_page, init_gradient_page)
(init_gradient_page, gog_style_editor): Turn off color combo
tearoff behaviour in dialogs.
2003-07-02 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer.c (gog_renderer_init) : tweak the default size to
produce a better proportion.
* graph/plugins/plot_pie/gog-pie.c (gog_pie_view_render) : some minor
cleanup.
* graph/plugins/plot_pie/gog-pie-prefs.glade : fix units of separation
spinner.
2003-06-29 Jody Goldberg <jody@gnome.org>
For Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plugins/plot_pie/gog-pie.c : Handle rings
2003-06-27 Jody Goldberg <jody@gnome.org>
* graph/gog-plot.c (gog_plot_set_property) : don't allow setting
vary_style_by_element if the plot does not permit it in the current
state.
(gog_plot_get_property) : be anal.
* graph/plugins/plot_barcol/gog-barcol.c
(gog_barcol_supports_vary_style_by_element) : new.
2003-06-27 Jody Goldberg <jody@gnome.org>
* graph/gog-plot-impl.h : Add GogPlotClass::supports_vary_by_element
2003-06-26 Morten Welinder <terra@gnome.org>
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
Fix gradients.
2003-06-25 Jody Goldberg <jody@gnome.org>
* graph/gog-plot-engine.c (gog_plot_type_service_finalize) : still
incomplete, but the lists definitely need to be freed.
2003-06-25 Jody Goldberg <jody@gnome.org>
* graph/gog-data-allocator.c (gog_dataset_get_type) : fix
cut-n-paste-o.
2003-06-25 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-renderer-gnome-print.c: use alpha channel when
printing gradients
2003-06-20 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_polygon):
unref the pixmaps
2003-06-22 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_pie/gog-pie.c (gog_pie_plot_set_property) : vary
style by element handled in plot now.
(gog_pie_plot_get_property) : ditto.
(gog_pie_plot_cardinality) : deleted.
(gog_pie_plot_foreach_elem) : doh! USe the label we just calculated.
(gog_pie_view_render) : implement general extracted slices.
* graph/gog-theme.c (gog_theme_get_name) : new util.
* graph/gog-style.c : Implement the hooks for serialization but have
not actually written them yet.
* graph/gog-series.c (gog_series_editor) : add a notebook wrapper to
allow changing style and data.
(gog_series_init) : set GogObject::use_parent_as_proxy flag.
(gog_series_dataset_dims) new.
* graph/gog-plot.c (gog_plot_set_property) : handle the
'vary_style_by_element' at this level.
(gog_plot_get_cardinality) : ditto.
* graph/gog-object.c (gog_object_emit_changed) : Add
'use_parent_as_proxy' utility to make life easier for things like
series that will not have individual views. This will fire a
changed signal from their plots.
* graph/gog-legend.c (gog_legend_parent_changed) : new. ensure we get
updated when chart cardinality changes.
(gog_legend_update) : new.
* graph/gog-label.c (gog_label_editor) : fix.
(gog_label_class_init) : fix.
(gog_label_dims) : added to handle the extension to dataset interface.
* graph/gog-guru.glade : remove frame wrapping the prop notebook.
* graph/gog-guru.c (prop_notebook_set_current_page) : new util.
to cleanup the handling of prop pages. Only show the border if the
prop page is not a notebook. This keeps the layout visually
similar in both cases.
(cb_select_prop_page) : use it here.
(cb_attr_tree_selection_change) : and here.
(graph_guru_type_selector_new) : remove the useless notebook wrapping
the type selector. It gives us more space and forces an initial
selection.
* graph/gog-graph.c (gog_graph_set_property) : add a 'theme-name'
property to facilitate serialization.
* graph/gog-data-allocator.c (gog_dataset_dims) : extension to the
dataset interface to facilitate serialization.
* graph/gog-chart.c (gog_chart_get_property) : new. Needed a way to
signal that the cardinality had changed, and a read only property
with a notify handler seemed cleaner than a stand alone signal.
Looking back at that decision, it seems ugly. Might revisit this
later.
* graph/gog-axis.c : hook up the dataset interface to prepare for
serializing all the flags.
* graph/go-data-impl.h (GOData) : extend interface to require a
'from_str' operation to allow serialization to xml.
* graph/go-data.c (go_data_from_str) : wrapper.
* graph/Makefile.am : Add gog-object-xml.[ch]
2003-06-14 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-style.c (gog_style_editor): move a bad placed g_signal_connect
* graph/gog-style.c (gog_style_copy): duplicate filename if useful
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon):
added missing white spaces (purely cosmetic)
* graph/gog-renderer-pixbuf.c (go_color_to_artpix): removed static
* graph/gog-renderer-gnome-print.c (gog_renderer_gnome_print_draw_polygon):
added image and gradient support
2003-06-13 Jon K Hellan <hellan@acm.org>
* graph/gog-style.c (gog_style_editor) : Use the new
color_combo_set_instant_apply flag.
2003-06-12 Jody Goldberg <jody@gnome.org>
* graph/goffice-graph.h : remove POSITION_FILL
It does no good to have random thought experiments floating around.
2003-06-12 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (graph_guru_type_selector_new) : add an accelerator
for the plot family selector.
2003-06-10 Jody Goldberg <jody@gnome.org>
* graph/gog-view.c (gog_view_size_allocate) : Use the new debug macro.
(cb_model_changed) : ditto.
* graph/gog-object.c (gog_object_update) : and here.
* graph/goffice-graph.h : Add trivial d() debugging macro so that
normal folk don't get deluged with debug spew.
* graph/lib.c : store goffice_graph_debug_level here.
* graph/gog-renderer-gnome-print.c * (gog_renderer_gnome_print_draw_text) :
implement trivial version. Need to decide how to handle fonts.
2003-06-10 Jody Goldberg <jody@gnome.org>
* graph/plugins/plot_pie/gog-pie.c (gog_pie_series_update) :
handle series before they are valid.
* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_series_update) : ditto.
* graph/gog-object.c (gog_object_set_parent) : call the role's
post_add routine then objects parent_changed before signaling its
addition.
(gog_object_add_by_role) : set_parent calls the role functions, not us.
2003-06-07 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-style.c (gog_style_editor) :
* graph/gog-style.h (struct _GogStyle) :
* graph/gog-style-prefs.glade :
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_draw_polygon) : Start work on image
2003-06-07 Jody Goldberg <jody@gnome.org>
* Release 1.1.19
2003-06-07 Jody Goldberg <jody@gnome.org>
* Release 1.1.18
2003-06-07 Jody Goldberg <jody@gnome.org>
* graph/gog-view.c (gog_view_queue_resize) : invalidate the allocation
too if there is no parent.
2003-06-06 Jody Goldberg <jody@gnome.org>
* graph/gog-chart.c (gog_chart_set_position) : simplify.
* graph/gog-graph.c (gog_graph_validate_chart_layout) : new.
* graph/gog-guru.c (cb_sample_pressed) : set the zoom here.
(cb_sample_released) : and unset it here so that the icons don't get
shrunk.
2003-06-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
* graph/gog-style.h: Fixed include of command-context.h to make it work
for builds outside the source dir.
2003-06-04 Jody Goldberg <jody@gnome.org>
* graph/gog-object.c (gog_object_generate_name) : return NULL, not FALSE
2003-06-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
* graph/gog-guru.h: Fixed include of command-context.h to make it work
for builds outside the source dir.
2003-06-02 Jody Goldberg <jody@gnome.org>
* graph/gog-legend.c (cb_render_elements) : quick and dirty draw the
text. Still lots of work needed to measure things properly and do a
more dynamic layout.
* graph/gog-guru.c (cb_typesel_sample_plot_resize) : use the canvas zoom
(cb_sample_plot_resize) : ditto.
(graph_guru_init_format_page) : ditto.
(graph_guru_type_selector_new) : ditto.
* graph/gog-renderer-pixbuf.c (make_layout) : new.
(gog_renderer_pixbuf_draw_text) : new. simple handler no rotation yet.
(gog_renderer_pixbuf_measure_text) : new.
(gog_art_renderer_new) : new utility.
(gog_renderer_pixbuf_draw_polygon) : used here.
* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : another
speed up by using regions rather tha nthe bounding rect of the expose.
Thanks to AlexL for pointing out that this will help us when
multiple exposes are compressed into 1 event and we do better to
clip against the distinct sub regions, than the bounding box of all
of them.
(gog_control_foocanvas_update) : make life easier and pass the zoom to
the renderer.
2003-06-02 Jody Goldberg <jody@gnome.org>
* graph/gog-style.c : minor warning suppression and format style
tidying.
2003-06-01 Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-style.h : new gradient styles,
fill type accessible only if GOG_STYLE_FILL is used
* graph/gog-style.c : Enhanced gradient selector
* graph/gog-renderer-pixbuf.c : Support for new gradient types
* graph/gog-themes.c : Top to bottom gradient in Guppi theme
2003-05-31 Jody Goldberg <jody@gnome.org>
For Jean Brefort <jean.brefort@ac-dijon.fr>
* graph/gog-style.c (gog_style_editor) : Start work on gradient
selector.
2003-05-31 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) : fix
canvas warnings about tryingto queue an update from an update
handler.
2003-05-30 Jody Goldberg <jody@gnome.org>
* graph/gog-theme.c (gog_themes_init) : make default them fill legend
with white.
* graph/plugins/plot_barcol/gog-barcol.c (barcol_draw_rect) : smooth
the anti-aliasing fuzziness in the libart backend for hairline
outlines.
* graph/gog-chart.c (gog_chart_view_size_allocate) : support
positions of NE, NW, SE, SW so that we can handle XL's 'corner'
legends.
* graph/gog-control-foocanvas.c (gog_control_foocanvas_draw) : big
speed win. Only draw the piece of the chart that was exposed.
* graph/gog-plot.c (gog_plot_request_cardinality_update) : we may add
a series before assigning to a chart.
* graph/gog-theme.c (gog_themes_init) : default and guppi themes were
inverted for legends.
* graph/gog-chart.c (gog_chart_class_init) : default to centering
legends.
2003-05-30 Jody Goldberg <jody@gnome.org>
* graph/gog-chart.c (gog_chart_view_render) : re-enable.
* graph/gog-renderer-pixbuf.c (gog_renderer_pixbuf_update) :
When the scale changes size requests are invalidated.
* graph/gog-renderer.c (gog_renderer_invalidate_size_requests) : new.
* graph/gog-view.c (gog_view_invalidate_sizes) : new.
* graph/gog-legend.c (gog_legend_view_render) : typo. pad is in Y
coordinates.
* graph/gog-plot.c (role_series_post_add) : adding a series changes
the cardinality.
(role_series_pre_remove) : ditto.
(gog_plot_update) : delete. Already handled at the chart level.
(gog_plot_init) : Make sure cardinailty is initially valid so that we
queue an update request as necessary when it really
does change.
* graph/gog-chart.c (gog_chart_view_size_allocate) : support the
alignment flags and enforce clipping.
(role_plot_post_add) : adding a plot changes the cardinality.
(role_plot_pre_remove) : ditto.
(gog_chart_init) : Make sure cardinailty is initially valid so that we
queue an update request as necessary when it really
does change.
2003-05-29 Jody Goldberg <jody@gnome.org>
* graph/gog-renderer.c (gog_renderer_outline_size) : keep widths >= 1
* graph/plugins/plot_barcol/gog-barcol.c (barcol_draw_rect) : clip to
integer sizes to decrease amount of bleed through due to antialiasing.
2003-05-27 Jody Goldberg <jody@gnome.org>
* graph/gog-legend.c : make the swatch sizes properties.
* graph/gog-guru.c (cb_typesel_sample_plot_resize) : fix sizing.
(cb_sample_plot_resize) : ditto.
* graph/gog-renderer.c (gog_renderer_set_property) : doh!
set the values if they are _different_ not the same.
2003-05-26 Jody Goldberg <jody@gnome.org>
* graph/gog-guru.c (graph_guru_set_page) : we can't run the
typeselector without a chart selected.
(cb_graph_guru_add_plot) : the child_added handler already populates
things.
(cb_find_child_added) : It may happen that something else will add an
item while we're editing, and the change of focus may not be
welcome, However, it is far more likely that we just added it.
* graph/gog-object.c (gog_object_is_deletable) : don't let the guru
delete the top level graph.
* graph/gog-guru.glade : Add border to the menu bar to align it with
the scrolled window.
Add a 'Precedence' menu.
2003-05-25 Jody Goldberg <jody@gnome.org>
The code is in CVS time to start keeping a changelog.
|