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
|
2005-03-24 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=171503
* src/gnumeric-gconf.c (gnm_gconf_set_printer_config) : take control
of the string.
2005-03-29 Jody Goldberg <jody@gnome.org>
* src/colrow.c (colrow_foreach) : add some protection.
2005-03-17 Jon K Hellan <hellan@acm.org>
* src/gui-clipboard.c: Fix typo in last change.
2005-03-16 Morten Welinder <terra@gnome.org>
* src/workbook-control.c (wb_control_update_title): Handle NULL
basename.
* src/wbc-gtk.c (regenerate_window_menu): Ignore workbooks where
we don't get a valid basename.
2005-03-15 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_save_as): Backport save-as fix.
2005-03-14 Jon K Hellan <hellan@acm.org>
* src/gui-clipboard.c (complex_content_received): Backport paste
of selection with only objects, no cells.
2005-03-12 Jody Goldberg <jody@gnome.org>
* Release 1.4.3
2005-03-12 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_validation_msg) : Use
gnumeric_dialog_run to get ESC handling and transient.
2005-03-12 Jody Goldberg <jody@gnome.org>
* src/validation.c (validation_new) : IN_LIST should also use operator
NONE.
(cb_validate_custom) : new.
(validation_eval) : support IN_LIST.
2005-03-12 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c: Backport control-p accel.
* src/format.c (render_number): Fix two trailing-zeros bugs.
(render_number): Backport fix for 170000.
2005-03-10 Jody Goldberg <jody@gnome.org>
* src/cell.c (cell_render_value) : pass the current zoom.
* src/item-edit.c (item_edit_set_property) : Use mstyle_get_font
directly rather than scg_get_style_font.
* src/preview-grid.c (pg_construct_cell) : pass zoom=1 to
rendered_value_new.
* src/print-cell.c (print_cell_NEW) : Use rendered_value_new instead
of rendered_value_recontext.
* src/rendered-value.c (rendered_value_recontext) : delete.
(calc_indent) : take a zoom factor rather than a Sheet.
(rendered_value_new) : pass in a zoom factor explicitly.
(rendered_value_render) : ditto.
* src/sheet-control-gui.c (scg_get_style_font) : delete.
2005-03-10 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=169802
* plugins/fn-info/functions.c (gnumeric_cell) : honour explicit target
sheets for CELL ("contents"
2005-03-08 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=161404
* autogen.sh : Disable USE_COMMON_DOC_BUILD for now so that we can
customize docdir. Fix
* xmldocs.make : sync doc installation dir with where the code expects
it to live
2005-03-08 Jody Goldberg <jody@gnome.org>
* src/main-application.c (gnumeric_arg_parse) : call gnome_vfs_init,
and gome_authentication_manager_init in the WITH_GNOME case.
2005-03-07 Jody Goldberg <jody@gnome.org>
* src/validation.c (validation_eval) : in terms of validation
from-list is the same as custom. The difference is in the ui.
2005-03-03 Jon K Hellan <hellan@acm.org>
* src/session.c (interaction_function): Deiconify toplevel before
displaying save/cancel dialog.
2005-02-09 Jody Goldberg <jody@gnome.org>
* src/print-info.c (print_hf_same) : be more careful to avoid crash on
workbooks imported from xls.
2005-02-06 Jean Brefort <jean.brefort@normalesup.org>
* src/sheet-object-widget.c: (cb_adjustment_value_changed): avoid
recalculation on update, fixes #166085.
(sheet_widget_adjustment_init_full),
(cb_adjustment_config_ok_clicked),
(sheet_widget_adjustment_write_xml_sax),
(sheet_widget_adjustment_write_xml_dom),
(sheet_widget_adjustment_read_xml_dom),
(sheet_widget_adjustment_set_details): make constant and consistent
scrollbar and slider max values, fixes #165173.
2005-02-02 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c: (gnm_go_data_matrix_get_value): duplicate value before
releasing (#166051)
2005-01-25 Stepan Kasal <kasal@ucw.cz>
* configure.in: Initialize win32=no, in case someone has the variable
in the environment.
Fix the help string for --enable-ssindex.
2005-01-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
http://bugs.debian.org/291265
* src/file.c (gnm_file_saver_save) : Produce an error when no proper
UTF-8 filename was produced.
2005-01-20 Jody Goldberg <jody@gnome.org>
* configure.in : post BRANCHING bump
2005-01-17 Jody Goldberg <jody@gnome.org>
* Release 1.4.2
2005-01-16 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=158692
* src/preview-grid.c (pg_get_row_offset) : don't return SHEET_MAX_ROWS
if h =0.
(pg_get_col_offset) : ditto.
2005-01-16 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=162631
* src/gnumeric-pane.c (set_acetate_coords) : handle the race condition
for the rubber band directly case.
2005-01-15 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=162631
* src/sheet-object.c (sheet_object_new_view) : return the new view, it
may actually be useful.
* src/sheet-control-gui.c (cb_collect_objects_to_commit) : we actually
need to create the view here if it does not exist, otherwise we lose
the size
2005-01-13 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=162631
* src/sheet-control-gui.c (cb_collect_objects_to_commit) : more
safety.
* src/sheet-object.c (sheet_object_view_set_bounds) : be safer.
2005-01-15 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=161547
* configure.in : Make the python test more robust
2005-01-14 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163438
* src/format.c (format_compile) : notice fmts that request a fill
(style_format_new_XL) : init the new is_var_width flag
* src/rendered-value.c (rendered_value_render) : there are formats
other than General that have variable widths. Are measurement of
col width and characters sucks. We really need to do the fills at
a higher level where we have font metrics.
2005-01-14 Jody Goldberg <jody@gnome.org>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290388
* src/sheet-object-cell-comment.c (comment_get_points) : This will
need work for RTL, but we do need to compensate for the zoom.
2005-01-14 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (cb_control_point_event) : fix double click
handling to not start a drag when the editor is gone
2005-01-13 Jody Goldberg <jody@gnome.org>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288157
* src/colrow.c (colrow_set_sizes) : we need to rerender variable width
content when resizing all cols at the same time, just like we do for
smaller sections
2005-01-13 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=161782
* templates/autoformat/Makefile.am : applied patch to use non
bash-specific variable substitution.
2005-01-13 Morten Welinder <terra@gnome.org>
* src/style.c (style_font_new_simple): Don't ref and unref the
context.
2005-01-13 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c: (gnm_go_data_matrix_load_values): don't write data outside of
allocated matrix. Fixes #163626.
2005-01-12 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163223
* src/style.c (style_font_string_width) : take a layout directly.
(calc_font_width) : ditto.
(style_font_new_simple) : keep the PangoFontMetrics and PangoLayout
here rather than as data members with no real purpose. It should
make it easier to remove the scaling in here.
NOTE : remove the prescaling of the font size. It did not belong
here. We use a scale attribute while measuring. Eventually we can
split the calculation of metrics out and remove the ugly scale/zoom
param entirely.
(style_font_unref) : we got rid of some data members.
* src/style-font.h : A new header to make cleaning up the definition
of GnmFont easier.
* src/mstyle.c (mstyle_get_pango_attrs) : Add a scale attribute
wrapper to scale all of the font sizes
2005-01-12 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163198
* src/item-edit.c (get_top_left) : new function to get the top left
point based on the vertical alignment.
(item_edit_draw) : the code was taken from here.
(item_edit_event) : and used here to give pango_layout_xy_to_index a
reasonable coordinate.
2005-01-12 Jean Brefort <jean.brefort@normalesup.org>
* src/gui-file.c: (gui_get_image_save_info): test if file exists after
adding extension.
(gui_file_save_as): don't exit when file exists and
user do not want to overwrite. Back to the file chooser instead.
2005-01-12 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c (cb_help_docs) : minor warning suppression
2005-01-11 Morten Welinder <terra@gnome.org>
* src/workbook-edit.c (gnm_pango_attr_list_splice): New function
doing what pango_attr_list_splice should have done, i.e., simply
splice.
(cb_entry_insert_text): Use gnm_pango_attr_list_splice.
2005-01-10 Morten Welinder <terra@gnome.org>
* src/workbook-edit.c (wbcg_edit_finish): Copy the resulting
markup as editing callbacks will otherwise destroy it.
2005-01-10 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163408
* src/commands.c (cmd_ins_del_colrow_redo) : We only need to redo
things for cuts, not copies (Although that feels a bit odd).
Just un-ant things for now.
2005-01-09 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163407
* src/commands.c (cmd_format_undo) : doh! resize only if we needed a
resize when the style was applied, not based on the properties of
the format we are restoring.
2005-01-09 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=162923
* src/expr.c (gnm_expr_eval) : minor thinko, array result from a
function in a non-scalar context return the first element, not
#VALUE!. I broke this when tweaking the implicit iteration by
forgetting that value_intersection handled that for me.
2005-01-09 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=163452
* src/sheet-control-gui.c (scg_mode_clear) : handle being called
during destruction
2005-01-05 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=162888
* src/clipboard.c (cb_dup_objects) : sheet_object_dup can fail, be
careful
(paste_object) : ditto.
* src/application.c (gnm_app_clipboard_cut_copy_obj) : ditto
* src/gnumeric-pane.c (gnm_pane_object_start_resize) : ditto
2005-01-06 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (gnumeric_fake_floor, gnumeric_fake_ceil): Fix
negative case.
2005-01-05 Morten Welinder <terra@gnome.org>
* src/rangefunc.c (range_sum): Just sum. Don't try to be overly
smart.
(range_sumsq): Ditto.
2005-01-05 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) : handle
double click
* src/sheet-object-widget.c (sheet_object_widget_class_init) : widgets
render quickly rubber band directly
(sheet_widget_slider_create_widget) : do not draw the value
2004-12-31 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (set_acetate_coords) : don't crash if we have
not created a view yet.
2004-12-31 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (gnm_pane_object_start_resize) : watch press
events too.
(cb_control_point_event) : launch an editor for double clicks
2005-01-04 Morten Welinder <terra@gnome.org>
* src/format.c (fmt_general_float): Use GNUM_FORMAT_G. The days
of glib <1.2.9 are over.
(fmt_general_int): Ditto.
* src/numbers.h (GNUM_FORMAT_G): Add.
http://bugzilla.gnome.org/show_bug.cgi?id=162865
* src/wbcg-actions.c: Fix Help->Contents and Edit->Clear->Contents
accelerators.
2005-01-03 Morten Welinder <terra@gnome.org>
Patch for 161909:
* src/sheet.c (sheet_cell_remove): Add new arg to control whether
to flag dependencies. All callers changed.
(cb_empty_cell): Take whole flags argument.
* src/clipboard.c (clipboard_paste_region): Handle new flag
PASTE_NO_RECALC to help sorting speed.
* src/sort.c (sort_contents): Paste using PASTE_NO_RECALC and
handle dependencies ourselves. Don't qsort if we have less than
two elements.
2004-12-29 Morten Welinder <terra@gnome.org>
* src/format.c (format_month_before_day): Add Win32 version.
(#161793, Ivan Wong.)
2004-12-22 Morten Welinder <terra@gnome.org>
* src/libgnumeric.h (gnumeric_popt_options): remove from here.
2004-12-20 Morten Welinder <terra@gnome.org>
* src/workbook-edit.c (wbcg_edit_add_markup): Use range 0-INT_MAX
so we don't split anything.
(cb_entry_cursor_pos): Ditto.
(wbcg_edit_init_markup): The .cur_fmt from markup, not
full_content, so we don't end up setting font sizes, etc.
(cb_entry_cursor_pos): Don't do anything if the entry is empty.
2004-12-20 Morten Welinder <terra@gnome.org>
* src/workbook-edit.c (cb_delete_filter): Be much more careful.
Things are unsigned.
(cb_entry_cursor_pos): Fix confusion between editline.markup and
edit_line.full_content.
* src/format.c (gnm_format_parse_markup): Attribute offsets are
unsigned. Drop nops.
(cb_attrs_as_string): Ditto.
2004-11-14 Jody Goldberg <jody@gnome.org>
* src/sheet-object-image.c (sheet_object_image_set_image) : renamed
from sheet_object_image_new to make the life cycle simpler for
importers.
(soi_get_pixbuf) : No data == no pixbuf
* src/wbcg-actions.c (cb_insert_image) : adjust to the name and
semantic change of sheet_object_image_set_image.
2004-12-17 Morten Welinder <terra@gnome.org>
* src/print-cell.c (print_cell_NEW): Fix origin correction.
* src/rendered-value.c (rendered_value_remeasure): Render while
rotated as pango turns off hinting in the font.
* src/style.c (style_default_halign): Errors and booleans remain
centered when rotated. Numbers and text are left-aligned when
rotated up and right-aligned when rotated down.
2004-12-15 Morten Welinder <terra@gnome.org>
* src/print-cell.c (print_cell_NEW): Print rotated.
* src/cell-draw.c (cell_draw): Draw rotated text if
HAVE_PANGO_CONTEXT_SET_MATRIX.
* src/rendered-value.c (rendered_value_render): Rotated numbers
are not variable width.
(rendered_value_remeasure): Adjust width and height for rotation.
* src/rendered-value.h (struct _RenderedValue): Eliminate
display_formula and introduce might_overflow and rotation.
* src/style.c (required_updates_for_style): Rotation changes
requires height resizing.
(style_default_halign): Rotated cells are aligned left by default,
even for numbers.
* src/sheet.c (cb_max_cell_height): Render rotated cells also.
2004-12-14 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (pgamma): Improve accuracy for extreme arguments.
2004-12-13 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (lgamma1p): Make this work for x<0 also.
2004-11-20 J.H.M. Dassen (Ray) <jdassen@debian.org>
* src/print-info.h: Add "paper_width" and "paper_height" to struct
PrintInformation, to support paper sizes for which gnome-print doesn't
have a name.
* src/print-info.c (print_info_make_config): Use paper_width and
paper_height when there is no paper name.
* src/print-info.c (print_info_set_paper_width,
print_info_set_paper_height, print_info_get_paper_width,
print_info_get_paper_height): New, get and set functions for
paper_width and paper_height.
* src/print-info.c (print_info_free, print_info_new, print_info_dup):
Extended to handle the two fields added to struct PrintInformation.
2004-12-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-12-09 Jody Goldberg <jody@gnome.org>
* Release 1.4.1
2004-12-09 Jody Goldberg <jody@gnome.org>
* src/cell-draw.c (cell_calc_layout) : set wrapmode to word-char
rather than the default word so that long words will wrap
2004-12-09 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (gnm_pane_object_start_resize) : Add an
'is_creation' argument to avoid pretending we're creating an object
when clicking and releasing on the lower right resize marker.
2004-12-08 Jody Goldberg <jody@gnome.org>
* src/hlink.c (gnm_hlink_url_activate) : use go_url_show
* src/wbcg-actions.c (cb_help_web) : ditto.
(cb_help_irc) : ditto
(cb_help_bug) : ditto
2004-12-06 Morten Welinder <terra@gnome.org>
* src/func.c (function_dump_defs): Use CSS for styling.
2004-12-03 Jody Goldberg <jody@gnome.org>
* src/file-autoft.c (category_get_templates_list) : Use GDir in place
of struct dirent this is more portable.
(category_list_get_from_dir_list) : ditto.
* src/plugin.c (plugin_info_list_read_for_subdirs_of_dir) : ditto.
2004-11-30 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=160046
* src/libgnumeric.c (gnm_pre_parse_init) : get the right pixmap and
translation paths for win32.
2004-11-30 Jody Goldberg <jody@gnome.org>
* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : new.
2004-11-30 Morten Welinder <terra@gnome.org>
* src/gnm-so-line.c (so_line_view_set_bounds): Make sure sheet
object direction is set.
(gnm_so_line_get_property): Handle SOL_PROP_IS_ARROW for
completeness.
2004-11-29 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=157732
* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : fix sign of
kludge
2004-11-29 Morten Welinder <terra@gnome.org>
* Makefile.am (gnumeric.desktop): Add bugzilla version info.
2004-11-28 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-11-28 Jody Goldberg <jody@gnome.org>
* Release 1.4.0
2004-11-26 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=159581 #1
* src/application.c (gnm_app_clipboard_cut_copy_obj) : patch leak
2004-11-26 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=159577
* src/format.c (gnm_format_parse_markup) : return NULL on error
2004-11-26 Jody Goldberg <jody@gnome.org>
* src/gui-file.c (gui_file_open) : Add a hook to open template files.
This is cheesy, but is better than nothing.
2004-11-26 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=159365
* src/commands.c (gnm_reloc_undo_release) : new
(cmd_ins_del_colrow_finalize) : use it
(cmd_paste_cut_finalize) : use it.
(gnm_reloc_undo_apply) : new
(cmd_ins_del_colrow_undo) : use it.
(cmd_paste_cut_undo) : use it.
* src/sheet-object.c (sheet_objects_relocate) : store lost objects
* src/sheet.c (sheet_colrow_insdel_finish) : take an optional undo
storage
(sheet_colrow_insert_finish) : ditto.
(sheet_colrow_delete_finish) : ditto.
(sheet_insert_cols) : pass the undo info
(sheet_delete_cols) : ditto.
(sheet_insert_rows) : ditto.
(sheet_delete_rows) : ditto.
(sheet_move_range) : pass undo info to sheet_objects_relocate
2004-11-21 Jody Goldberg <jody@gnome.org>
* src/sheet-view.c (sv_panes_insdel_colrow) : be more careful
inserting large numbers of cols/rows
2004-11-21 Jody Goldberg <jody@gnome.org>
* src/sheet.c (sheet_insert_rows) : no need to test when inserting
SHEET_MAX_ROWS
(sheet_insert_cols) : ditto for SHEET_MAX_COLS
2004-11-21 Jon K Hellan <hellan@acm.org>
* src/ssindex.c: #include gog-object.h
2004-11-19 Jody Goldberg <jody@gnome.org>
* configure.in : Add ssindex but leave it disabled by default because
it relies on unreleased changes to libgsf
2004-11-19 Jody Goldberg <jody@gnome.org>
* src/style.c (gnm_font_find_closest_from_weight_slant) : add some
protection.
2004-11-19 Jody Goldberg <jody@gnome.org>
* src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font) : add a
default in case conf lookup fails.
(gnm_conf_init_essential) : fix swapped max and default for print zoom
2004-11-18 Morten Welinder <terra@gnome.org>
* src/print.c (sheet_print): Fix leak for preview. (#158566)
2004-11-15 Jody Goldberg <jody@gnome.org>
* src/stf.c (stf_init) : register some suffixes and mime types
* src/xml-io.c (xml_init) : ditto.
* src/plugin-service.c (plugin_service_file_opener_read_xml) : parse
mime types too.
* src/gui-file.c (gui_file_open) : Use the new lists of suffixes and
mime types from the openers rather than kluding something from
savers.
* src/file.c (gnm_file_opener_setup) : store a list of suffixes and
mime types.
(gnm_file_opener_finalize) : free the new lists.
(gnm_file_opener_new) : take suffixes and mime types as arguments
(gnm_file_opener_new_with_enc) : take suffixes and mime types as arguments
(gnm_file_opener_get_suffixes) : new.
(gnm_file_opener_get_mimes) : new.
2004-11-15 Jody Goldberg <jody@gnome.org>
* src/sheet-object-widget.c : Add text and markup properties to
checkbox/toggle button
2004-11-14 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : tweak the
pixel distances. The far coordinates are excluded.
2004-11-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=151609
* src/commands.c (cmd_objects_restore_location): new
(cmd_objects_delete_undo): restore ordering of objects
(cmd_objects_delete_finalize): free locations array
(cmd_objects_delete): create and save locations array
* src/sheet-object.h (sheet_object_get_stacking): new
* src/sheet-object.c (sheet_object_get_stacking): new
2004-11-10 Jody Goldberg <jody@gnome.org>
* src/style.c (required_updates_for_style) : for font size, and wrap
changes add a flag to resize row heights.
* src/sheet.c (sheet_apply_style) : use the new SPANCALC_ROW_HEIGHT to
decide when to autosize the rows. (debian #228105)
2004-11-10 Jody Goldberg <jody@gnome.org>
* configure.in : leave the old perl plugin disabled by default
distros can enable it if desired using --with-perl.
There are just too many build issues with it right now.
2004-11-09 Stepan Kasal <kasal@ucw.cz>
* configure.in (GCONFTOOL, GLIB_GENMARSHAL, GDK_PIXBUF_CSOURCE):
Clarify descriptions of these variables to say that the absolute
path is required.
2004-11-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
for Harald Ashburner <hal.ashburner@gmail.com>:
* sample/derivaties.gnumeric: update
2004-11-08 Morten Welinder <terra@gnome.org>
* src/history.c: Survive NULL basename (#157682).
2004-11-08 Jon K Hellan <hellan@acm.org>
* configure.in: Fix psiconv test.
2004-11-08 Morten Welinder <terra@gnome.org>
* configure.in (perl_msg): Disable buggy perl_construct check.
* src/expr.h: Delete trailing comma in enum.
* src/func.h: Ditto.
2004-11-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Call the "make" command for PY_EXTRA_LIBS with "-s".
Without it, out-of-source builds have problems due to interference
from make printing entering/leaving directory messages.
* configure.in: Corrected $(GNUMERIC_PLUGIN_LDFLAGS) to
$GNUMERIC_PLUGIN_LDFLAGS.
2004-11-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.c (go_conf_get_short_desc) return
NULL if we don't have a desription
(go_conf_get_long_desc): ditto
2004-11-07 Jody Goldberg <jody@gnome.org>
* Release 1.3.93
2004-11-07 Jody Goldberg <jody@gnome.org>
From Jean Brfort :
* src/xml-io.c (xml_read_solver) : handle both formats of constraint
Per and post 1.4
2004-11-05 Jody Goldberg <jody@gnome.org>
From Ivan Wong:
* src/gui-util.c (gnumeric_icondir) : use the variable rather than the
compiled path.
* configure.in : The win32 build needs some extra flags for the
plugins
* Makefile.am : cheesy hack to build the charting plugins after we
have an execuable.
2004-11-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.h (gnm_gconf_set_autocomplete): new
(gnm_gconf_set_unfocused_rs): new
(gnm_gconf_set_num_recent_functions): new
(gnm_gconf_set_prefer_clipboard): new
* src/gnumeric-gconf.c (gnm_gconf_set_autocomplete): new
(gnm_gconf_set_unfocused_rs): new
(gnm_gconf_set_num_recent_functions): new
(gnm_gconf_set_prefer_clipboard): new
2004-11-06 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.h (gnm_gconf_set_gui_resolution_h): new
(gnm_gconf_set_gui_resolution_v): new
* src/gnumeric-gconf.c (gnm_gconf_set_gui_resolution_h): new
(gnm_gconf_set_gui_resolution_v): new
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.h (gnm_gconf_set_file_overwrite): new
(gnm_gconf_set_file_single_sheet_save): new
(gnm_gconf_set_gui_transition_keys): new
(gnm_gconf_set_gui_livescrolling): new
(gnm_gconf_set_sort_retain_form): new
(gnm_gconf_set_sort_by_case): new
(gnm_gconf_set_sort_ascending): new
(gnm_gconf_set_latex_use_utf8): new
* src/gnumeric-gconf.c (gnm_gconf_set_file_overwrite): new
(gnm_gconf_set_file_single_sheet_save): new
(gnm_gconf_set_gui_transition_keys): new
(gnm_gconf_set_gui_livescrolling): new
(gnm_gconf_set_sort_retain_form): new
(gnm_gconf_set_sort_by_case): new
(gnm_gconf_set_sort_ascending): new
(gnm_gconf_set_latex_use_utf8): new
(gnm_gconf_set_show_sheet_name): new
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.h (gnm_gconf_set_file_history_number): new
(gnm_gconf_set_max_descriptor_width): change argument to gint
(gnm_gconf_set_xml_compression): new
(gnm_gconf_set_sort_dialog_max_initial): new
(gnm_gconf_set_workbook_nsheets): new
* src/gnumeric-gconf.c (gnm_gconf_set_file_history_number): new
(gnm_gconf_set_max_descriptor_width): change argument to gint
(gnm_gconf_set_xml_compression): new
(gnm_gconf_set_sort_dialog_max_initial): new
(gnm_gconf_set_workbook_nsheets): new
(gnm_gconf_set_undo_size): set current prefs structure
(gnm_gconf_set_undo_max_number): set current prefs structure
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.c (gnm_gconf_set_hf_font): new
* src/gnumeric-gconf.h (gnm_gconf_set_hf_font): new
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.c (gnm_gconf_set_default_font_name): avoid
warning
2004-11-02 Stepan Kasal <kasal@ucw.cz>
* src/ssconvert.c (main): Don't call gsf_init(); gnm_common_init
will do it (via libgoffice_init) and we don't need it until then.
2004-11-05 Jody Goldberg <jody@gnome.org>
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : ctrl+alt is the
logic place to do symetric movement with the new layout.
2004-11-04 Stepan Kasal <kasal@ucw.cz>
* configure.in:
Add AC_ARG_VAR declarations for all variables used in
AC_PATH_PROG or AC_CHECK_PROG.
Clean up the checks for psiconv, perl and python.
Remove the check for jw.
2004-11-05 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): change sheet object
manipulation keybindings to something that is not a psychomotor test.
2004-11-04 Jody Goldberg <jody@gnome.org>
* src/sheet-control-gui.c (scg_mode_edit) : no need to finish editing
if we are not current sheet.
2004-11-03 Jody Goldberg <jody@gnome.org>
* src/ranges.c (global_range_contained) : adjust the signature to
provide a Sheet* context.
2004-11-04 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (lgamma1p): Fix gnm_float buglet.
* src/commands.c (cmd_selection_clear): Fix 157376.
2004-11-04 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=157238
http://bugzilla.gnome.org/show_bug.cgi?id=157239
* gnumeric-gconf.h (gnm_gconf_set_gui_window_x): new
(gnm_gconf_set_gui_window_y): new
(gnm_gconf_set_gui_zoom): new
(gnm_gconf_set_default_font_size): new
(gnm_gconf_set_default_font_name): new
(gnm_gconf_set_default_font_bold): new
(gnm_gconf_set_default_font_italic): new
* gnumeric-gconf.c (gnm_gconf_set_gui_window_x): new
(gnm_gconf_set_gui_window_y): new
(gnm_gconf_set_gui_zoom): new
(gnm_gconf_set_default_font_size): new
(gnm_gconf_set_default_font_name): new
(gnm_gconf_set_default_font_bold): new
(gnm_gconf_set_default_font_italic): new
2004-11-03 Jody Goldberg <jody@gnome.org>
* configure.in : fix the python test and sync it with the perl test
2004-11-02 Jody Goldberg <jody@gnome.org>
* configure.in : extend the test for perl
* src/sheet-control-gui.c (cb_collect_objects_to_commit) : set the
anchor of objects that are not rubber banded directly.
* src/gnumeric-pane.c (cb_clear_indirect_rubber_bands) : Merge into
cb_collect_objects_to_commit.
2004-11-02 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=156732
* src/gnumeric-gconf.c (gnm_gconf_set_recent_funcs):
also adjust the pref structure.
2004-11-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/rendered-value.c (rendered_value_get_text):
plug leak
2004-11-01 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-10-31 Jody Goldberg <jody@gnome.org>
* Release 1.3.92
2004-11-01 Yukihiro Nakai <nakai@gnome.gr.jp>
* configure.in: Enable perl plugins
* plugins/Makefile.am: Add perl-func, perl-loader
2004-11-01 Jody Goldberg <jody@gnome.org>
* src/Makefile.am : DISTCLEAN GNOME_Gnumeric-gtk.xml it is generated
2004-09-15 Stepan Kasal <kasal@ucw.cz>
* configure.in: Add test for zlib, inspired by libxml2's configure.in;
this is needed to link excel.la correctly against libz, if it is
available only as a static library, not as a dynamic one.
2004-11-01 Morten Welinder <terra@gnome.org>
* src/gui-clipboard.c (text_to_cell_region): Fix type confusion.
* src/dependent.c (dependents_unrelocate): Don't access sheet
member in union unless there is supposed to be one.
2004-11-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gui-util.h (gnm_iter_search_t): new type
(gnm_tree_model_iter_prev): new
* src/gui-util.c (gnm_tree_model_iter_prev): new
2004-10-30 Stepan Kasal <kasal@ucw.cz>
A cleanup of ssconvert; don't require Gnome.
* src/ssconvert.c (list_them): New general function which lists
importers or exporters.
(convert): New function; the main functionality moved here.
(mail): Use the above functions; call gsf_init and don't use
Gnome-specific functions.
2004-09-13 Stepan Kasal <kasal@ucw.cz>
* configure.in: Don't use test's operators -a and -o, they aren't
portable. A small cleanup of the python detection code.
2004-10-31 Jody Goldberg <jody@gnome.org>
* src/format.c (cb_attrs_as_string) : new.
(gnm_format_parse_markup) : parse the content generated above
(style_format_new_XL) : handle markup formats
2004-10-30 Jody Goldberg <jody@gnome.org>
* src/formats.c (cell_format_classify) : handle the quick cheesy hack
to persist attr lists.
2004-10-28 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_update_action_sensitivity) :
renamed from wbcg_edit_set_sensitive (still a bogus title given that
we have related functionality in several places). Moved the logic
to define what should be sensitive here, rather than from the model.
This allows us to reconfigure on sheet changes.
2004-10-28 Jody Goldberg <jody@gnome.org>
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : up/down where
reversed.
2004-10-29 Jody Goldberg <jody@gnome.org>
* src/workbook.c (workbook_set_dirty) : update the title if dirtiness
changed
* src/workbook-control.c (wb_control_update_title) : Add a HIGy '*'
for modified documents.
* src/io-context-gtk.c : include string.h to avoid warning
* src/sheet-control-gui.c (scg_cursor_extend) : finish the edit before
we extend.
* src/item-edit.c (ie_layout) : handle zoom
2004-10-29 Morten Welinder <terra@gnome.org>
* src/io-context-gtk.c (icg_processing_file): Since the progress
bar truncates text at the right, limit the text we set to 40
characters (give or take) to ensure that the basename can be seen.
* src/plugin-service.c (plugin_service_ui_finalize): Free actions
using the right kind of freer.
* src/wbc-gtk.c (wbc_gtk_init): Create custom_uis table here.
(wbc_gtk_finalize): Destroy it here.
* src/stf-export.c (stf_export_sheet): Plug leak.
2004-10-29 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (cb_add_custom_ui) : fix unmerging
2004-10-29 Jody Goldberg <jody@gnome.org>
* src/gnumeric-gconf.c (gnm_conf_init_extras) : typos in the broken
gconf case
2004-10-29 Jody Goldberg <jody@gnome.org>
* src/format.c (append_hour) : be XL compat
2004-10-29 Jody Goldberg <jody@gnome.org>
* src/file-autoft.c : clean up the handling of translations
* src/format-template.c (format_template_new) : Name should be
translatable, not translated.
2004-10-29 Jody Goldberg <jody@gnome.org>
* src/application.c (gnm_action_new) : new
(gnm_action_free) : ditto
(gnm_app_add_extra_ui) : ditto
(gnm_app_remove_extra_ui) : ditto
(gnm_app_foreach_extra_ui) : ditto
* configure.in : enable the sample ui plugin
* plugins/Makefile.am : ditto
* plugins/python-loader/boot.c : ditto
* plugins/python-loader/py-console.c : ditto
* plugins/python-loader/python-loader.c : ditto
2004-10-27 Jody Goldberg <jody@gnome.org>
* src/plugin-service.c : enable the ui service.
* plugins/gnome-db/plugin-gnomedb.c : Use the new interface for the ui
plugin
* src/sheet-object-graph.c (sheet_object_graph_default_size) : be
cheesy. We're setting the bounds in so many places before this is
called that it's not safe to use the defaults from GogRenderer. Not
a huge loss, those were pretty arbitrary.
2004-10-26 Jody Goldberg <jody@gnome.org>
* src/libgnumeric.c (gnm_pre_parse_init) : Set the default
datadir/libdir based on the packge for WIN32
2004-10-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* plugins/excel/ms-chart.c (BC_R): handle dash_type property.
(ms_excel_chart_read): use GO_LINE_NONE ofr invisible lines.
2004-10-27 Morten Welinder <terra@gnome.org>
* src/complex.c (complex_div, complex_sqrt): Improve accuracy.
* src/gui-file.c (go_file_is_writable): Use G_IS_DIR_SEPARATOR
instead of comparing to G_DIR_SEPARATOR.
2004-10-27 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gnumeric.desktop.in, gnumeric.keys.in: Changed
"comma-separated-values" to "text/comma-separated-values", as a "MIME
type" without a slash in it is rejected by "update-desktop-database".
2004-10-26 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* schemas/gnumeric-dialogs.schemas.in: Fixed Typo
2004-10-26 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (pgamma): Fix various accuracy problems for
extreme cases.
* Makefile.am (gnumeric.desktop): Use %U or %F for Exec as
appropritate.
2004-10-25 Yukihiro Nakai <nakai@gnome.gr.jp>
* src/plugin-loader.c: (gnm_plugin_loader_load_base)
Don't crash but warn when no load_base method.
* src/plugin-service.c: (plugin_service_function_group_func_desc_load)
Don't crash but warn when no func_desc_load method.
2004-10-21 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (logfbit): Make global.
2004-10-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/stf.c: (stf_apply_formats): use unsigned int
* src/stf-parse.h: make col_import_array_len unsigned
2004-10-21 Jean Brefort <jean.brefort@normalesup.org>
* src/dialogs/dialog-solver.c: (revert_constraint_format): make constraints
display correctly in all circumstances.
2004-10-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=139385
* src/stf-parse.c (stf_parse_options_new) initialize
cols_exceeded
(stf_parse_sheet): set cols_exceeded
* src/stf-parse.h: add cols_exceeded to StfParseOptions_t
* src/stf.c (stf_apply_formats): remove warning
(stf_read_workbook_auto_csvtab): show warning if
cols_exceeded is set.
2004-10-21 Yukihiro Nakai <nakai@gnome.gr.jp>
* src/format-template.c: (xml_read_format_template_members)
Gettextize author,name,descr field.
* templates/autoformat/: Move xml to xml.in and gettextize them
2004-10-20 Andreas J. Guelzow <aguelzow@taliesin.ca>
* schemas/gnumeric-general.schemas.in: change recalclag
description
2004-10-20 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/stf-parse.c (stf_parse_options_new): initialize
col_import_array_len
(stf_parse_sheet): make sure we don't index beyond the end
of the col_import_array
(stf_parse_region): ditto
* src/stf.c (stf_apply_formats): ditto
* src/stf-parse.h: add col_import_array_len to StfParseOptions_t
2004-10-21 Yukihiro Nakai <nakai@gnome.gr.jp>
* src/plugin-loader.c (gnm_plugin_loader_load_service):
Output error when no set_attributes method.
2004-10-20 Morten Welinder <terra@gnome.org>
* src/gui-clipboard.c (x_clipboard_get_cb): Crash protection.
* src/clipboard.c (cellregion_to_string): Add extra argument
checks.
2004-10-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/.cvsignore: add GNOME_Gnumeric-gtk.xml
2004-10-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=132876
* src/print.c (sheet_print): make the print dialog semi-modal.
(dialog_destroy): new
(dialog_response): new
(sheet_print_real): new
2004-10-19 Morten Welinder <terra@gnome.org>
* src/Makefile.am (GNOME_Gnumeric-gtk.xml): Create this using a
sed script for now. We seem to have relied on intltool bugs not
present in all versions.
* src/print-info.c (render_path): Use go_dirname_from_uri.
* src/workbook-view.c (cb_cleanup_sendto): Remove directory using
rmdir, not unlink.
* src/gui-file.c (go_file_is_writable): Use go_dirname_from_uri.
2004-10-18 Jody Goldberg <jody@gnome.org>
* src/print-info.c (print_info_dup) : copy the margins.
2004-10-16 Yukihiro Nakai <nakai@gnome.gr.jp>
* src/GNOME_Gnumeric-gtk.xml: Obsolete
* src/GNOME_Gnumeric-gtk.xml.in: Newly added for gettextize.
* src/wbc-gtk.c: Gettextize the toolbar.
2004-10-18 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=152516
* src/sheet-control-gui.c (scg_context_menu) : minor string change
It is clearer to say 'Cells' for insert and delete.
2004-10-16 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (gnm_pane_object_register) : Take a 'selectable'
argument to enable/disable the view selection mechanism. This
routine is still useful for setting up bounds handlers.
2004-10-16 Jody Goldberg <jody@gnome.org>
* src/print-info.c : delay the creation of a GnomePrintConfig until it
is really necessary.
2004-10-16 Jody Goldberg <jody@gnome.org>
* src/func.c (function_call_with_list) : Everything can now return an
empty during evaluation.
2004-10-16 Jody Goldberg <jody@gnome.org>
* src/sheet-object-cell-comment.c (cell_comment_new_view) : add
bounds-changed handler.
(cell_comment_event) : This now takes a GnmPane, not an scg.
* src/sheet-object-cell-comment.c : Add a text property.
2004-10-14 Morten Welinder <terra@gnome.org>
* src/gutils.c (gnm_usr_dir): Use g_build_filename. Note, that
this means that we return the result without a terminating slash.
2004-10-13 Morten Welinder <terra@gnome.org>
* src/sheet-object-widget.c (SOW_MAKE_TYPE): Add arguments for
property support.
(SheetWidgetButton): Add markup member.
(sheet_widget_button_get_property,
sheet_widget_button_set_property): New functions.
2004-10-13 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c: (gnm_go_data_vector_load_values),
(gnm_go_data_matrix_load_values): fixes VALUE_STRING case, if a value
is found, take it into account for minimum and maximum.
2004-10-13 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (regenerate_window_menu): Escape underscore in
names.
2004-10-11 Jody Goldberg <jody@gnome.org>
* src/sheet.c (sheet_rename) : tell each view to update its edit line
in case the editline is displaying an expression that references the
name of a sheet.
* src/commands.c (update_after_action) : Take a Workbook and run an
update on the current sheet for each control.
2004-10-11 Morten Welinder <terra@gnome.org>
* src/parser.y (gnm_expr_parse_str): Revive logic to add missing
parenthesis.
* src/gnumeric-pane.c (gnm_pane_release): Plug leak.
2004-10-10 Jody Goldberg <jody@gnome.org>
* src/sheet-object-widget.c : Add a ToggleButton type.
(sheet_widget_checkbox_get_ref) : weaken to allow relative references
and assume they are relative to A1.
(sheet_widget_adjustment_get_ref) :
2004-10-10 Jody Goldberg <jody@gnome.org>
* gnumeric.spec.in : Let's stick with fedora core package names as the
defacto standard until something better presents itself. There are
still no guarantees that this works.
2004-10-09 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) :
Simplify. There's no need to select the object here. We've
already handled it in the main handler (cb_sheet_object_canvas_event)
2004-10-09 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c: (gnm_go_data_matrix_eval),
(gnm_go_data_matrix_finalize), (gnm_go_data_matrix_load_size),
(cb_assign_matrix_val), (gnm_go_data_matrix_load_values),
(gnm_go_data_matrix_get_value), (gnm_go_data_matrix_get_str),
(gnm_go_data_matrix_class_init), (gnm_go_data_matrix_debug_name),
(gnm_go_data_matrix_init), (gnm_go_data_matrix_new_expr),
(gnm_go_data_get_dep): New GnmGODataMatrix class.
* src/graph.h: ditto.
* src/selection.c: (sv_selection_to_plot): updated to use GnmGODataMatrix
and related stuff.
* src/sheet-object.c: (sheet_objects_init): ditto.
* src/workbook-control-gui.c: (cb_graph_dim_editor_update),
(wbcg_data_allocator_editor): ditto.
2004-10-08 Jody Goldberg <jody@gnome.org>
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : throw in
support for tabbing fwd/back through the list of objects.
* src/sheet-object-widget.c (sheet_widget_checkbox_create_widget) :
Tweak to support toggle buttons too
2004-10-08 Jody Goldberg <jody@gnome.org>
* src/sheet-object.c : Add a SheetObjectView interface and use it to
give us more control over things.
* src/workbook-control-gui.c (wbcg_zoom_feedback) : no need to
reposition objects manually here.
* src/print.c (print_sheet_objects) : Use sheet_object_can_print.
* src/gutils.c : Clean up the name spacing
* src/sheet-filter.c : Support the new SheetObjectView interface
* src/sheet-object-cell-comment.c : ditto
* src/sheet-object-graph.c : ditto
* src/sheet-object-image.c : ditto
* src/sheet-object-widget.c : ditto
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) :
- arrow moves the objects
- ctrl arrow expands an edge
- shift ctrl arrow shrinks an edge
* src/commands.c (CmdObjectInsert) : delete
(CmdObjectDelete) : Rename to CmdObjectsDelete and handle multiples
(CmdObjectMove) : Rename to CmdObjectsMove and handle multiples
* src/application.c (gnm_app_clipboard_cut_copy_obj) : handle multiple
objects.
* src/gnumeric-pane.c : ditto.
* src/sheet-control-gui.c : ditto.
* src/item-grid.c : ditto. Also there is no need to handle object
creation here as a special case just use the object editing
directly.
* src/sheet-object.c (sheet_object_anchor_init) : pick a default that
we've actually implemented.
2004-10-08 Morten Welinder <terra@gnome.org>
* src/rangefunc.c (range_hypot): New function.
* src/workbook.c (workbook_sheet_unhide_controls): New function.
* src/sheet.c (sheet_set_visibility): Call
workbook_sheet_unhide_controls as appropriate.
* src/gui-file.c (gui_file_open): Start browsing in the same
directory as the workbook from which we initiated the open.
* src/commands.c (cmd_paste_cut_update_origin,
update_after_action): Use workbook_autorecalc.
* src/workbook.c (workbook_autorecalc): New function.
2004-10-07 Morten Welinder <terra@gnome.org>
* src/cmd-edit.c (sv_select_cur_inputs): Implement.
* src/expr.c (gnm_expr_get_ranges): Implement.
2004-10-06 Jon K Hellan <hellan@acm.org>
* src/workbook-control-gui.c (show_gui): Maximize when preferred
size is larger than screen.
2004-10-05 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-10-05 Jody Goldberg <jody@gnome.org>
* Release 1.3.91
2004-10-05 Jon K Hellan <hellan@acm.org>
* configure.in (gnumeric_reqs): Add pangoft2 requirement. (Fixes
#153701.)
2004-10-04 Jody Goldberg <jody@gnome.org>
* configure.in : Add a test for mkfifo
2004-09-13 Stepan Kasal <kasal@ucw.cz>
* configure.in: Cleanup the mono detection code. This way it
won't get to the ``configure --help'' which is good for the
upcoming stable release.
2004-10-01 Jody Goldberg <jody@gnome.org>
* src/colrow.c (colrow_set_sizes) : no need to calculate the size if
we're assigning the default. Clean up the logic for assigning the
default to
1) Not assign to an empty col/row
2) Break XL compat and have autosize of empty do the same thing for
col and row.
2004-10-01 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_open): Specifically list "*.csv" and
"*.tsv" until we get a proper fix. (Fixes #143135.)
2004-09-29 Morten Welinder <terra@gnome.org>
* src/gui-file.c (go_file_is_writable): Make the file-exist dialog
use GTK_MESSAGE_WARNING and have buttons OK and Cancel.
(gui_file_save_as): Cleaup.
(do_save_as): Cleanup and move parts up to sole caller.
* src/Makefile.am: Link in egg-recent.
* src/clipboard.c (clipboard_copy_range): Fix
gboolean/CellIterFlags confusion.
* src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
* src/sheet-view.c (sv_is_region_empty_or_selected): Ditto.
* src/print.c (print_page): Ditto.
* src/sheet.c (sheet_foreach_cell_in_range): Don't consider a cell
with an un-evaluated expression empty. Add paranoia.
2004-09-29 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_object_move) : extend to handle insertion too.
* src/gnumeric-pane.c (cb_control_point_event) : Play fast and lose
with the undo records when duplicating an object by ctrl-click.
Assign the object the sheet as soon as we duplicate it but do not
list the undo until we record the resize on button release.
* src/workbook-view.c (gnm_mailto_url_show) : fix.
* src/session.c : suppress warning in the --without-gnome case
* src/sheet-control-gui.c (scg_set_current_object) : new. uses the
handy dandy unrealized signal on a SheetObject. With code split from
(scg_object_stop_editing) : here.
(scg_mode_edit_object) : and here.
* src/gnumeric-pane.c (cb_control_point_event) : so that we could use
it here.
2004-09-28 Jody Goldberg <jody@gnome.org>
* src/sheet-control-gui.c (scg_mode_edit_object) : fall back to edit
mode if the object is unrealized.
* src/sheet-object.c (sheet_object_clear_sheet.) : merge some of the
nice features from finalize
(sheet_object_finalize) : use sheet_object_clear_sheet.
* src/sheet.c (sheet_destroy) : ditto.
* src/gnumeric-pane.c (cb_control_point_event) : Make the copy
operation undo-able.
2004-09-28 Morten Welinder <terra@gnome.org>
* configure.in: Add check for pango_context_set_matrix. We're
going to need that for rotated text.
2004-09-28 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_object_raise_redo) : Don't use MAXINT/MININT it
causes trouble becaue -MININT is not expressable
2004-09-28 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=153871
* src/gnm-so-filled.c (cb_filled_update_bounds) : line width counts
when sizing.
* src/commands.c (cmd_object_delete) : Take an optional descriptor
string. All callers changed.
* src/application.c (gnm_app_clipboard_cut_copy_obj) : Use
cmd_object_delete for cuts to get undo.
* src/sheet-object.c (sheet_objects_relocate) : properly clear the
sheet before we unref an object.
(sheet_objects_get) : use range_contained.
(sheet_objects_clear) : ditto. This simplifies undo/redo.
2004-09-27 Jody Goldberg <jody@gnome.org>
* src/application.c (gnm_app_clipboard_cut_copy_obj) : translate the
anchor back to a pseudo origin to make pasting easier.
* src/clipboard.c (clipboard_paste_region) : handle paste contents
with only objects. No need to do tiling or to clear things.
* src/gutils.c (gnm_ptr_array_insert) : Make this smarter.
Just append if the requested element is >= len
* src/item-grid.c (item_grid_event) : only auto-slide when we're
outside. Inside we handle it locally fixes artificial movement that
seems to jump back to the start of the previous row/col
* src/gnumeric-pane.c (cb_control_point_event) : Store the button that
initiated the object drag and check that when releasing.
* src/commands.c (cmd_paste_copy) : handle pasting objects with no
content.
* src/gutils.h : Fix the name spacing to be gnm_ in all cases.
gnumeric_ is too damn big, and we have not business using g_
* src/gutils.c (gnm_usr_dir) : Check for empty home_dir
* src/graph.c (gnm_go_data_vector_load_len) : handle missing
expression
* src/gnm-so-filled.c (gnm_so_filled_read_xml_dom) : We still need to
Type field even though it is ugly.
* src/xml-io.c (xml_cellregion_write) : cut-n-paste-o to fix
inter-process pasting
(xml_cellregion_read) : Actually store the resulting objects
(xml_read_sheet_object) : Don't set the sheet when extracting a
cellregion.
2004-09-27 Morten Welinder <terra@gnome.org>
* src/workbook-view.c (wb_view_sendto): Bring !WITH_GNOME case a
lot closer to sanity. Properly handle case where mkdir fails.
(gnm_mailto_url_show): New function factored out from
wb_view_sendto.
2004-09-27 Jody Goldberg <jody@gnome.org>
* configure.in : drop the test for caddr_t we do not need it and it
does not work win32.
Export the epoch, major, minor version elements
* src/workbook-view.c (wb_view_sendto) : a win32 portability patch for
mkdir.
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (gnumeric_xml_write_workbook) : respect the xml
compression preference a bit. It's still uncompressed, or
compressed. We'll need to patch gsf to be able to tune that
parameter.
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/workbook-view.c (wb_view_sendto) : encode the right portion of
the url.
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/workbook-view.c (wb_view_sendto) : cleanup and use the new url
encoding routine.
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/GNOME_Gnumeric-gtk.xml : Add InsertCurrentDateTime
* src/wbcg-actions.c (cb_insert_current_date_time) : new
* src/format.c (style_format_default_date_time) : new return
concatination of default date and time formats
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/workbook-view.c (wbv_save_to_uri) : renamed from wbv_save_to_file
to clarify that it does not work for a simple path.
(wb_view_sendto) : fix to use a uri.
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (cb_sheet_object_canvas_event) : Use the pane in
GnmCanvas rather than adding one to GnmSimpleCanvas
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/gnumeric-pane.c (gnm_pane_object_move) : handle symetric
movement via ctrl-click and object duplicate via ctrl-click on
acetate
* src/gnumeric-pane.c (build_so_menu) : new
(display_object_menu) : create a GtkMenu based on the actions.
* src/sheet-object.c (sheet_object_populate_menu) : Rework the
interface to return action descririptors rather than a GtkMenu
Change all implementations
2004-09-26 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_cellregion_read) : read objects
(xml_cellregion_write) : write them too
2004-09-25 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c (cb_edit_copy) : Use
gnm_app_clipboard_cut_copy_obj for objects
(cb_edit_cut) : ditto.
* src/sheet-object.c (sheet_object_populate_menu) : put the stacking
items into a sub menu.
2004-09-24 Jody Goldberg <jody@gnome.org>
* src/clipboard.c (paste_object) : new.
(clipboard_paste_region) : use it.
(cb_dup_objects) : new.
(clipboard_copy_range) : dup the objects in the range.
(cellregion_new) : init the object list
(cellregion_unref) : free the object list
* src/sheet-object.c (sheet_object_dup) : make public, and tweak
interface.
(sheet_object_clone_sheet) : adjust to the interface change.
2004-09-24 Jody Goldberg <jody@gnome.org>
* src/sheet-object-image.c (sheet_object_image_copy) : implement
* src/wbcg-actions.c : update the actions to handle the new drawing
object types.
* src/sheet-object.c (sheet_object_clone) : Change the interface to
have the wrapper create the object. Then s/clone/copy/ and have it
just do the assignament rather, not allocation.
* src/sheet-object*.c : s/clone/copy/ with related semantic changes
* src/rendered-value.c (rendered_value_render) : trivial
constification
* src/main-application.c (main) : Use bonobo_main WITH_GNOME just in
case.
* src/gnumeric-pane.c (gnm_pane_object_register) : Change return type
to GObject. There's no need to be more specific.
(gnm_pane_widget_register) : ditto.
* src/gnm-so-filled.c : Rewrite of the old SheetObjectGraphic
to use GogStyle, merge text into the base, and use GObject properties
* src/gnm-so-line.c : Rewrite of the old SheetObjectFilled
to use GogStyle and use GObject properties
* src/Makefile.am : Adjust to the file changes for
sheet-object-graphic.c
2004-09-13 Stepan Kasal <kasal@ucw.cz>
* configure.in (GCONF_SCHEMAS_INSTALL): AM_CONDITIONAL has to be
called in all branches.
2004-09-24 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_read_sheet_object) : add hooks to the old names
for GnmSOFilled, and GnmSOLine
2004-09-23 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_object_format) : undo redo for the new line and
filled objects.
2004-09-23 Jody Goldberg <jody@gnome.org>
* configure.in (GNUMERIC_PLUGIN_LDFLAGS) : new macro to give the win32
folk a hook for the plugins.
* plugins/*/Makefile.am : Use it
* plugins/*/plugin.xml.in : Remove the .la for module names. Core of
glib adds just before checking platform specific names.
2004-09-23 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c (cb_view_zoom_out) : in and out were reversed
(cb_view_zoom_in) : ditto
2004-09-24 Morten Welinder <terra@gnome.org>
* src/print-cell.c (print_cell): New wrapper function. Turn on
new printing by default.
* src/gui-util.c (entry_to_int): Plug leak.
(entry_to_float_with_format): Plug leak.
2004-09-23 Morten Welinder <terra@gnome.org>
* src/gui-util.c (cb_activate_default): New function to avoid
endless recursion.
(gnumeric_editable_enters): Activate via cb_activate_default.
* src/rendered-value.c (rendered_value_recontext): Don't require
Pango 1.6, but use it if we have it.
2004-09-23 Morten Welinder <terra@gnome.org>
* src/rendered-value.c (rendered_value_recontext): Force
wrap==FALSE when the source layout has only one line.
(Mostly fixes #152265)
* src/rendered-value.h (struct _RenderedValue): switch
layout_natural_width and layout_natural_height be in terms of
pango units. All users changed.
* src/cell-draw.c (cell_calc_layout): Switch srguments width,
height, h_center, res_x, and res_y to be in terms of pango units.
Ditto for internal variables rect_x, rect_y, hoffset, indent, and
text_base. All callers changed.
2004-09-23 Morten Welinder <terra@gnome.org>
* src/rendered-value.c (rendered_value_remeasure): New function.
(rendered_value_new): Use rendered_value_remeasure.
(rendered_value_recontext): New function.
* src/cell-draw.c (cell_calc_layout): Use
rendered_value_remeasure.
* src/print-cell.c (print_cell_NEW): Use rendered_value_recontext.
2004-09-22 Morten Welinder <terra@gnome.org>
* src/colrow.c (cb_clear_variable_width_content): Force a redraw.
* src/cell-draw.c (cell_calc_layout): Drop rect argument. Replace
printing argument by y_direction argument. Drop x1 and y1
arguments. Callers changed.
(cell_calc_layout): Insert zero_width_space characters in the
right spot.
* src/print-cell.c (print_cell_NEW): Use size_pts.
2004-09-22 Morten Welinder <terra@gnome.org>
* src/print-cell.c (print_merged_range, print_cell): Take extra
PangoContext argument. All callers changed.
(print_cell_range): Create a pango context.
(print_cell_OLD): Renamed from print_cell.
(print_cell_NEW): New function.
(print_cell): New macro to call _OLD or _NEW as appropriate.
* src/rendered-value.c (rendered_value_new): Get rid of quantify
artifacts.
2004-09-22 Morten Welinder <terra@gnome.org>
* src/cell-draw.c (cell_draw): Get rid of quantify artefacts.
(cell_calc_layout): Add rv and printing arguments, drop res_layout
argument. Make extern. Caller changed.
2004-09-21 Morten Welinder <terra@gnome.org>
* src/print.c (print_hf_element): Print using pango layouts when
possible. Code adapted from bug #152939, kzamir@walla.co.il.
2004-09-16 Jody Goldberg <jody@gnome.org>
* src/sheet.c (cb_clear_rendered_cells) : fix the 'Serious Error'
warnings on zoom changes.
* src/workbook-control-gui.c (wbcg_create_status_area) : drop some
frames in the status area and use GtkStatusbar to get the resize grip
http://bugzilla.gnome.org/show_bug.cgi?id=152636
* src/style.c (style_font_new_simple) : sizes in pts should not
include the zoom scaling, pretend that we actually measure that.
http://bugzilla.gnome.org/show_bug.cgi?id=152244
* src/sheet-object.c (cell_offset_calc_pixel) : return double to avoid
problems when we are at integer-epsilon, which would round to
integer-1 and systematicly lose precision.
* src/sheet-control-gui.c (scg_object_view_position) : Use
foo_canvas_window_to_world instead of foo_canvas_w2c to move the
pixels back into canvas space.
http://bugzilla.gnome.org/show_bug.cgi?id=152512
* src/gnumeric-pane.c (control_point_set_cursor) : new.
(cb_control_point_event) : use it.
(new_control_point) : no longer a need to specify the cursor
(set_item_x_y) : ditto.
(gnm_pane_object_set_bounds) : cursor are dynamic now.
(set_acetate_coords) : ditto.
2004-09-14 Morten Welinder <terra@gnome.org>
* src/sheet-object-image.c (soi_get_image_fmt): g_free is a poor
substitute for g_slist_free.
2004-09-10 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_colrow_hide_correct_selection) : disable because
it irritates me.
* src/wbcg-actions.c : Add ctrl-9, ctrl-shift-9 (hide,unhide rows)
Add ctrl-0, ctrl-shift-0 (hide,unhide cols)
* src/wbc-gtk.c (cb_add_menus_toolbars) : toggle std toolbar should be
ctrl-7
2004-09-10 Morten Welinder <terra@gnome.org>
* src/workbook.c (workbook_new): Generate a proper URI here.
2004-09-09 Jody Goldberg <jody@gnome.org>
* configure.in : Post release bump
2004-09-08 Jody Goldberg <jody@gnome.org>
* Release 1.3.90
2004-09-08 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_toggle_visibility) : remember
whether to keep a toolbar when in fullscreen mode.
(cb_visibility) : simplify.
* src/wbcg-actions.c (cb_view_fullscreen) : new.
(cb_help_irc) : throw something together.
* src/wbc-gtk.c (wbc_gtk_create_status_area) : hide statusbar by
default in fullscreen mode.
(cb_add_menus_toolbars) : hide toolbars by default in fullscreen mode.
(cb_toolbar_activate) : simplify.
(cb_handlebox_visible) : ditto.
(cb_toggle_visibility) : new.
(cb_wbcg_window_state_event) : handle fullscreen transitions.
(wbc_gtk_init) : init the window_state_event handler.
2004-09-08 Jody Goldberg <jody@gnome.org>
* src/stf.c (csv_tsv_probe) : accept files < 80 characters long
2004-09-08 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/wbcg-actions.c: Correct Z-Test menu item description and
title. We do not allow large sample calculations.
2004-09-07 Jody Goldberg <jody@gnome.org>
* src/pixmaps/Makefile.am : Move to the splash for 1.4
2004-09-07 Jon K Hellan <hellan@acm.org>
* src/gui-util.[hc] (gnumeric_notice, gnumeric_notice,
gnumeric_dialog_run, gnumeric_error_info_dialog_show): Replace
WorkboookControlGUI first paremeter with GtkWindow.
* src/gui-file.c (go_file_is_writable, gui_get_image_save_info,
check_multiple_sheet_support_if_needed, do_save_as,
gui_file_save_as): Use updated gui-utils
* src/item-cursor.c (item_cursor_target_region_ok): Ditto
* src/print.c (sheet_print): Ditto.
* src/session.c (interaction_function): Ditto.
* src/wbcg-actions.c (cb_edit_search_replace_query): Ditto.
* src/workbook-control-gui.c (wbcg_error_error) Ditto.
(wbcg_close_if_user_permits):
2004-09-06 Jody Goldberg <jody@gnome.org>
* configure.in : Add a --disable-ssconvert for development.
Constantly linking gnumeric and ssconvert is irritating, but we do
want ssconvert enabled for releases.
2004-09-06 Jody Goldberg <jody@gnome.org>
* src/GNOME_Gnumeric-gtk.xml : Update to reflect some input from ui
review
* src/wbcg-actions.c (actions) : ditto
s/Search/Find/
s/Search and Replace/Replace/
2004-09-02 Stepan Kasal <kasal@ucw.cz>
* configure.in (gnumeric_with_gnome): Fix typo.
2004-09-05 Jon K Hellan <hellan@acm.org>
* configure.in (GConf): Fix typo.
2004-09-04 Jon K Hellan <hellan@acm.org>
* src/wbc-gtk.c (wbc_gtk_init_undo_redo): Update action group of
Repeat.
* src/sheet-object-graphic.c (sheet_object_text_get_property,
sheet_object_text_class_init): Add "label" property.
2004-09-03 Jody Goldberg <jody@gnome.org>
* configure.in : expand the --with-gtk tests and make --with-gnome
conditional on --with-gtk
2004-09-02 Stepan Kasal <kasal@ucw.cz>
* configure.in: start implementing --with-gui via the WITH_GTK
conditional. Check also for pango, which is required even if no GUI
is used. We use gtk+-2.0 >= 2.4.0 which requires pango >= 1.4.0; so
we ask pango >= 1.4.0 too.
* configure.in: Implement --disable-solver option, --enable-plugins hack.
* src/Makefile.am: Conditionalize solver, start using WITH_GTK.
* plugins/Makefile.am: compile the mps plugin only if ENABLE_SOLVER
is set; --enable-plugins can override the plugin list.
* src/solver.h: Don't declare anything if not !ENABLE_SOLVER; supply
a few stub macros instead.
* src/wbcg-actions.c: Conditionalize on ENABLE_SOLVER.
* src/xml-io.c (xml_read_solver, xml_write_solver): Likewise.
2004-07-31 Stepan Kasal <kasal@ucw.cz>
* configure.in: Gnomish autogen.sh uses ACLOCAL_FLAGS, if some of the
macros are in nonstandard places. If you touch configure.in then,
aclocal.m4 is regenerated, but without ACLOCAL_FLAGS. This change
ensures that ACLOCAL_FLAGS is propagated to the Makefile.
* Makefile.am: ACLOCAL_AMFLAGS = @ACLOCAL_FLAGS@
* src/ssconvert.c: s/exporter/importer/
2004-08-31 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (cb_chain_sensitivity): Renamed from
cb_set_repeat_sensitivity and changed to take action directly.
Caller changed.
2004-08-31 Jon K Hellan <hellan@acm.org>
* src/sheet-object-graphic.c (sheet_object_polygon_class_init):
Initialize sheet_object_class.
2004-08-30 Jon K Hellan <hellan@acm.org>
* src/commands.c (cmd_merge_cells_repeat): Shut up warning.
* src/gui-file.c (gui_wb_view_show): Remove bogus return.
2004-08-30 Morten Welinder <terra@gnome.org>
* src/workbook-control-gui.c (wbcg_finalize): Destroy
visibility_widgets.
(wbcg_toggle_visibility): New function.
(wbcg_copy_toolbar_visibility): Reinstate.
(workbook_control_gui_init): Initialize visibility_widgets.
* src/wbcg-actions.c (GNM_ACTION_DEF): Use new
wbcg_toggle_visibility.
* src/wbc-gtk.c (wbc_gtk_create_status_area): Add status bar to
visibility widgets.
(cb_toolbar_activate): Simplify.
(cb_add_menus_toolbars): Add toolbars to visibility widgets.
(wbc_gtk_set_toggle_action_state): Also look in toolbar actions.
Ick -- this gets uglier by the day.
* src/workbook-control-gui-priv.h (struct WorkbookControlGUI):
Replace statusbar member by visibility_widgets.
2004-08-29 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump to .90 to indicate transition to
beta status.
2004-08-29 Jody Goldberg <jody@gnome.org>
* Release 1.3.2
2004-08-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* src/item-bar.c (item_bar_draw): Fix group lines in row/column
headers.
2004-08-28 Jody Goldberg <jody@gnome.org>
* src/sheet.c (sheet_new_with_type) : Renamed from sheet_new_special,
that name was not terribly clear.
2004-08-28 Jody Goldberg <jody@gnome.org>
* src/pixmaps/Makefile.am : Add halign-fill and halign-general
* src/application.c (gnumeric_application_setup_icons) : ditto
2004-08-28 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_merge_cells) : optionally center the merged
region
* src/wbcg-actions.c (cb_merge_and_center) : new
2004-08-28 Jody Goldberg <jody@gnome.org>
* src/GNOME_Gnumeric-gtk.xml : Reorder Delete menu to put Col before
Row to be consistent with the other menus
2004-08-28 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c (cb_view_zoom_in) : new
(cb_view_zoom_out) : new
2004-08-28 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c : Add ctrl +/- as accelerators for ins/del cells
2004-08-27 Jody Goldberg <jody@gnome.org>
* src/plugin-service.c (plugin_service_file_opener_read_xml) :
simplify parsing of 'file_pattern' for importer filename probing.
All we every really needed was suffix matching. None of the power
of fnmatch or optional case sensitivity was every used.
(gnm_plugin_file_opener_probe) : use a nice simple suffix match.
2004-08-27 Jody Goldberg <jody@gnome.org>
* src/sheet-object-graphic.c : convert markup to a property for
SheetObjectText
* src/sheet-object-cell-comment.c : Add a property 'markup' to be used
eventually.
2004-08-27 Jon K Hellan <hellan@acm.org>
http://bugzilla.gnome.org/show_bug.cgi?id=151152
* src/workbook-control-gui.c (wbcg_close_if_user_permits): Define
responses GNM_RESPONSE_SAVE_ALL, GNM_RESPONSE_DISCARD_ALL. These
are negative, to work with druid logic in gnumeric_dialog_run.
2004-08-26 Jon K Hellan <hellan@acm.org>
* src/gui-file.c (gui_wb_view_show): New. Factored out of
gui_file_read. Show view in a wbcg. Use current or new wbcg
according to policy.
(gui_file_read): Use it.
2004-08-26 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c (cb_help_bug, cb_help_web): Do something
useful here. (Based on patch from ynakai@redhat.com.)
2004-08-25 Jody Goldberg <jody@gnome.org>
* src/sheet-filter.c (cb_filter_bounds_changed) : fix typo in cast
from new code for bounds-changed
2004-08-24 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=150530
* src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) : fix
in libgsf, but patched here too to tide us over until the next
libgsf release.
2004-08-24 Jody Goldberg <jody@gnome.org>
* src/sheet-object.c (sheet_object_class_init) : declare a
bounds-changed signal.
(sheet_object_update_bounds) : emit bounds-changed and assume the
views will do the right thing. No need to manually walk the
realized list. That should go away.
* src/sheet-filter.c : Adjust to using the bounds-changed signal
instead of doing it directly.
* src/sheet-object-cell-comment.c : ditto.
* src/sheet-object-graph.c : ditto.
* src/sheet-object-graphic.c : ditto.
* src/sheet-object-image.c : ditto.
* src/sheet-object-widget.c : ditto.
* src/sheet-control-gui.c (cb_scg_object_bounds_changed) : new
(scg_object_stop_editing) : disconnect the bounds changed signal here.
(scg_mode_edit_object) : connect to it here.
* src/gnumeric-pane.c (display_object_menu) : no need to use
sheet_object_view_control. We can pull the info from the canvas.
(cb_sheet_object_canvas_event) : ditto.
(cb_sheet_object_widget_canvas_event) : ditto.
(cb_sheet_object_view_destroyed) : ditto.
(gnm_pane_object_register) : Add some convenience arguments to hook up
the bounds-changed handler and set the initial size.
(gnm_pane_widget_register) :
2004-08-24 Jody Goldberg <jody@gnome.org>
* src/application.c : signals are guint, not GQuark. Probably does
not matter, but it can't hurt to match the glib headers
* src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) : gsf
was more anal than libxml about handling NULL as strings. new gsf
is more relaxed, but add some protection here until that is in
circulation.
* src/xml-io.c (gnumeric_xml_read_workbook) : default to using the sax
exporter
(xml_init) : cleanup.
http://bugzilla.gnome.org/show_bug.cgi?id=150792
* src/sheet.c (colrow_move) : Only ignore non-existent cells, not all
Blanks. That includes things with VALUE_EMPTY which includes cells
whose expressions were just re-written.
(sheet_move_range) : ditto.
2004-08-24 Morten Welinder <terra@gnome.org>
* src/workbook-control-gui.c (cb_wbcg_drag_data_received): Take
advantage of newly minted go_file_split_uris.
2004-08-22 Jon K Hellan <hellan@acm.org>
* src/workbook-control-gui.c (cb_wbcg_drag_data_received): Remove
gnome-vfs dependency.
2004-08-14 Jody Goldberg <jody@gnome.org>
* src/sheet-object-image.c (sheet_object_image_write_xml_sax) : add a
'size-bytes' attribute to make optimization easier.
2004-08-22 Jon K Hellan <hellan@acm.org>
* src/workbook-control-gui.c (cb_wbcg_drag_data_received): Convert
uri to string before use.
2004-08-21 Jody Goldberg <jody@gnome.org>
* src/sheet.c (sheet_set_zoom_factor) : forward port the zoom kludge.
There is no time to do RenderedRegion for 1.4
2004-08-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=149945
* src/value.c (find_column_of_field): Correct offset.
2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Add «nb» to ALL_LINGUAS.
2004-08-20 Jody Goldberg <jody@gnome.org>
* src/sheet.c (sheet_new_special) : renamed from sheet_new, and a
'type' added. Not used yet.
2004-08-20 Morten Welinder <terra@gnome.org>
* configure.in: Check for asinh, acosh, atanh.
* src/gutils.c (asinhgnum, acoshgnum, atanhgnum): Provide if
needed.
* src/parser.y (yylex): Take extra care not to run off the edge.
2004-08-17 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (mathfunc_init): Greatly simplify using goffice
code.
* src/libgnumeric.c (gnm_common_init): Init mathfunc after
goffice.
2004-08-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Bumped the libgsf-gnome-1 requirement to make it
consistent with the libgsf-1 requirement.
2004-08-18 Jon K Hellan <hellan@acm.org>
* configure.in (psiconv): Update psiconv.
2004-08-17 Etsushi Kato <ekato@ees.hokudai.ac.jp>
* src/gnumeric-canvas.c (gnm_canvas_key_press):
gtk_im_context_reset(gcanvas->im_context) should be called after
checking gtk_im_context_filter_keypress() and GDK_SHIFT_L, GTK_Alt_L,
and GDK_Control_L. (bug #148473)
2004-08-17 Jon K Hellan <hellan@acm.org>
* src/wbcg-actions.c (cb_insert_image): is_save parameter to
gui_image_file_select no longer needed.
* src/sheet-object-image.c (soi_gdk_pixbuf_save): New. Callback
which writes via gsf.
(soi_get_image_fmt): New. Get a format descriptor for the original
data in a SheetObjectImage.
(soi_free_image_fmt): New. Free a format descriptor.
(soi_cb_save_as): New. Choose file name and format and save
image.
(sheet_object_image_populate_menu): New. Put a "save as" entry in
the object's context menu.
* src/sheet-object-graph.c (soi_cb_save_as): Choose image format
from a list.
* src/gui-file.h (GnmImageFormat): Struct which describes an
(image) file format.
* src/gui-file.c (gui_image_file_select): Split the parts common
to save and open into new function gui_image_chooser_new. Drop
is_save parameter to _select.
(gui_get_image_save_info): The parts of _select which have to do
with saving go here. Add a format chooser.
* src/file.[ch] (gnm_file_saver_fix_file_name): Rename to
gnm_vrfy_uri_ext. Take an extension instead of a GnmFileSaver as
1st parameter.
2004-08-16 Morten Welinder <terra@gnome.org>
* src/main-application.c (main): Plug leak.
2004-08-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* src/item-bar.c (item_bar_draw): Fix black line in row/column
headers.
2004-08-14 Jon K Hellan <hellan@acm.org>
* src/workbook-control-gui.c (wbcg_create_edit_area): Fix typo.
* src/sheet-control-gui.c (sheet_control_gui_new): Ditto.
2004-08-13 Jon K Hellan <hellan@acm.org>
* src/sheet-object-image.c (sheet_object_image_read_xml_dom): Read
image.
2004-08-11 Jon K Hellan <hellan@acm.org>
* src/sheet-object-image.c (sheet_object_image_new): Simplify
using g_memdup.
(sheet_object_image_print): fix up types to make gmorten happy.
2004-08-09 Jon K Hellan <hellan@acm.org>
* src/sheet-object-image.c (sheet_object_image_new): strdup the
image type.
(sheet_object_image_finalize): Free the image type.
(soi_info_cb): New callback used to find image type.
(soi_get_pixbuf): Install callback on pixbuf loader in order to
find image type.
(sheet_object_image_get_property): New gobject method to return
type, data or pixbuf as object parameters.
(sheet_object_image_class_init): Install properties.
2004-08-11 Morten Welinder <terra@gnome.org>
* src/ssconvert.c (main): Handle non-URI output destinations.
2004-08-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* src/sheet-object-graph.c (cb_save_as) : Set zoom to 1.0 when
exporting to SVG.
2004-08-02 Jody Goldberg <jody@gnome.org>
* src/expr.c (gnm_expr_eval) : Functions returning an array when only
scalar results are permitted produce #VALUE!
* src/style.c (style_default_halign) : Fix drilling down into arrays
* src/wbc-gtk.c (cb_add_menus_toolbars) : Init state.
2004-08-01 Jody Goldberg <jody@gnome.org>
* src/func.c (function_call_with_list) : Array parms seem to accept
scalars.
* src/value.c (value_dup) : Accept NULL
* src/expr.c (gnm_expr_eval) : do intersection for constant arrays too
2004-07-30 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (wbc_gtk_init_zoom) : We need a label for the action
in case it is a menu item.
2004-07-30 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (cb_add_menus_toolbars): Plug leaks.
* src/file.c (gnm_file_saver_unregister): First use, then free.
2004-07-30 Jon K Hellan <hellan@acm.org>
* src/command-context.c (format_message): Strange things happen if
we treat the unknown string we are passed as a format string.
2004-07-30 Yukihiro Nakai <nakai@gnome.gr.jp>
* src/wbcg-actions.c: Don't forget to mark with N_()
http://bugzilla.gnome.org/show_bug.cgi?id=148746
2004-07-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/hlink.h (GNM_HLINK_URL_TYPE): new
(GNM_HLINK_URL): new
(IS_GNM_HLINK_URL): new
2004-07-27 Morten Welinder <terra@gnome.org>
* configure.in: Check for log1p also.
2004-07-27 Morten Welinder <terra@gnome.org>
* src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font): (void).
* src/application.c (cb_flag_windows_changed): Ditto.
2004-07-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
* configure.in: use AM_PROG_LEX rather than AC_PROG_LEX
2004-07-27 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (cb_regenerate_window_menu) : new.
2004-07-26 Jody Goldberg <jody@gnome.org>
* configure.in : bump pxlib req to 0.3.0 per Uwe's request
http://bugzilla.gnome.org/show_bug.cgi?id=148412
* src/workbook-control-gui-priv.h : typo in the new combos
2004-07-26 Morten Welinder <terra@gnome.org>
* src/sheet.c (sheet_colrow_group_ungroup): Don't use ?: result
as a structure. Go via pointers.
2004-07-23 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c: Add Ctrl-Shift-D for double underline.
* src/commands.c (cmd_merge_data): Fix 0/NULL mixup.
* src/complete.c (complete_finalize): Ditto.
* src/sheet.c (sheet_range_calc_spans, sheet_toggle_hide_zeros): Ditto.
* src/colrow.c (colrow_set_sizes, colrow_restore_state_group): Ditto.
* src/gui-util.c (gnumeric_popup_menu): Ditto.
* src/item-cursor.c (item_cursor_unrealize): Ditto.
* src/value.c (value_peek_string): Ditto.
* src/expr.c (cb_bin_arith): Add const-casts.
* src/format.c (format_entry_set_fmt): Use g_strdup, not plain
strdup.
* src/wbcg-actions.c: Add Ctrl-5 for strikethough.
2004-07-22 Jody Goldberg <jody@gnome.org>
* src/workbook-edit.c (wbcg_edit_finish) : change 'accept' into an
enum and handle arrays and range fills here.
* src/parser.y : Add distinct productions for array elements with
{1\2\3;4\5\6} vs {1,2,3;4,5,6}
(build_array) : add some error messages empty and asymetric arrays.
2004-07-22 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible) : delete
(wbcg_set_format_toolbar_visible) : delete
(wbcg_set_object_toolbar_visible) : delete
(wbcg_copy_toolbar_visibility) : make virtual for now
* src/wbcg-actions.c (cb_view_standard_toolbar) : delete
(cb_view_format_toolbar) : delete
(cb_view_object_toolbar) : delete
2004-07-22 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (cb_handlebox_visible) : new.
(cb_add_menus_toolbars) : connect it here and create a menu entry in
the view menu to toggle the visibility.
2004-07-21 Morten Welinder <terra@gnome.org>
* src/gutils.c (expm1gnum): Supply this when missing.
2004-07-20 Jody Goldberg <jody@gnome.org>
* configure.in : add test for sysconf as per Mark's request
* src/gnumeric-pane.c (cb_pane_popup_menu) : cheese up a little hack
to get 'popup-menu' binding context menus for col/row headers too.
(gnm_pane_clear_obj_size_tip) : new
(gnm_pane_display_obj_size_tip) : new
(gnm_pane_object_move) : use gnm_pane_display_obj_size_tip to provide
an indication of the object size.
2004-07-20 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (lbeta3): Use lgamma_rgnum.
* src/gutils.c (lgamma_rgnum): When needed, supply this.
* src/numbers.h (lgamma_rgnum): Add definition for this.
* configure.in (lgamma_r): Check for this. Check for long double
version when needed.
2004-07-20 Morten Welinder <terra@gnome.org>
* src/ranges.c (range_is_infinite): Fix. (Still unused, though.)
2004-07-19 Jody Goldberg <jody@gnome.org>
win32 portability patch from Mark Gilbert
* src/io-context.c (io_progress_update) : use g_get_current_time
instead of gettimeofday.
2004-07-19 Jody Goldberg <jody@gnome.org>
* src/dialogs/dialog-about.c : Update a bit. Add
* doc/C/about-authors.xml : ditto
- Emmanuel
- Jean
- Hal
- Uwe
- Michael Devine
2004-07-19 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_init) : make the dom exporter a lower priority
than the sax exporter so that we can start phasing it out.
2004-07-19 Jody Goldberg <jody@gnome.org>
Uwe Steinmann <uwe@steinmann.cx>
* plugins/Makefile.am : merge in the paradox importer
2004-07-19 Jody Goldberg <jody@gnome.org>
* configure.in : Post release version bump
2004-07-19 Jody Goldberg <jody@gnome.org>
* Release 1.3.1
2004-07-19 Jody Goldberg <jody@gnome.org>
* src/ssconvert.c (main) : some typos
2004-07-17 Jody Goldberg <jody@gnome.org>
* configure.in : Add a test for signgam
2004-07-19 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c (wbcg_set_selection_halign) : Make public
somewhat.
(wbcg_set_selection_valign) : ditto.
* src/wbc-gtk.c : Adjust the borders to use stock items in place of
the old inline pixbuf silliness. Add a valignment and halignment
combo. Still need some way to indicate 'General' for both.
* src/application.c (gnumeric_application_setup_icons) : add the
border icons to the set of stock items.
2004-07-17 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=147756
* src/sheet-autofill.c (autofill_cell) : An ancient bug.
2004-07-17 Andreas J. Guelzow <aguelzow@taliesin.ca>
* schemas/gnumeric-general.schemas.in: Correct compression level
description
2004-07-16 Jody Goldberg <jody@gnome.org>
* src/gnumeric-paths.sh.in : Add version
2004-07-15 Jody Goldberg <jody@gnome.org>
Some Seth UI feedback
* src/wbcg-actions.c : s/Launch Guru/Insert Chart/
2004-07-13 Morten Welinder <terra@gnome.org>
* src/commands.c (cmd_copyrel): New command.
* src/wbcg-actions.c (cb_copydown, cb_copyright): Implement.
2004-07-12 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_cur_sheet) : new convenience
routine
* src/wbcg-actions.c : tidy up a bit
* src/wbc-gtk.c (wbc_gtk_init_undo_redo) : tie sensitivity of repeat
to undo.
2004-07-11 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_set_text_repeat) : new
(missing validation support)
(cmd_area_set_text_repeat) : new.
(cmd_ins_del_colrow_repeat) : new.
(cmd_clear_repeat) : new.
(cmd_format_repeat) : new.
(cmd_colrow_hide_repeat) : new.
(cmd_group_repeat) : new.
(cmd_paste_copy_repeat) : new.
(cmd_autofill_repeat) : new.
(cmd_autoformat_repeat) : new.
(cmd_unmerge_cells_repeat) : new.
(cmd_merge_cells_repeat) : new.
(cmd_clone_sheet_repeat) : new.
2004-07-09 Jody Goldberg <jody@gnome.org>
* src/GNOME_Gnumeric-gtk.xml : Add repeat as an accelerator
* src/commands.c (func) : add some hooks for repeat
2004-07-12 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c: Use gtk about icon if available.
2004-07-09 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=146486
* src/expr.c (cb_bin_arith) : handle VALUE_EMPTY for implicit
iteration with arithmetic operators.
http://bugzilla.gnome.org/show_bug.cgi?id=146511
* src/func.c (function_call_with_list) : Use value_get rather than
value_fetch
* src/sheet.c (sheet_foreach_cell_in_range) : check for empty values too
2004-07-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.c (go_conf_get_short_desc): Check for NULL
pointer
(go_conf_get_long_desc): ditto
2004-07-05 Jody Goldberg <jody@gnome.org>
* src/workbook-cmd-format.c (workbook_cmd_mutate_borders) : move into
wbcg-actions.c
* src/sheet-autofill.c (fill_item_new) : fix an old leak
* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : no need to
check for accelerators here any more.
(gnm_canvas_commit_cb) : nor here.
(gnm_check_ctrl_mask) : delete and make these real accelerators the
way they belong.
* src/wbcg-actions.c
(cb_format_as_number) : a real accelerator
(cb_format_as_currency) : ditto
(cb_format_as_accounting) : ditto
(cb_format_as_percentage) : ditto
(cb_format_as_scientific) : ditto
(cb_format_as_time) : ditto
(cb_format_as_date) : ditto
(cb_format_add_borders) : ditto
(cb_format_clear_borders) : ditto
* src/GNOME_Gnumeric-gtk.xml : Add the new accelerators
* src/application.c (gnumeric_application_setup_icons) : Rename the
icons to match the verbs (Percentage, Accounting)
2004-07-02 Jody Goldberg <jody@gnome.org>
* configure.in : Make gconf conditional and test for uname
2004-07-01 Jody Goldberg <jody@gnome.org>
* src/cmd-edit.c (sv_select_cur_depends) : find deps even for empty
cells.
2004-06-30 Jody Goldberg <jody@gnome.org>
* src/stf.c (stf_init) : cvs exporter is one sheet only
* src/gnumeric-gconf.c (get_schema) : typo
(go_conf_get_type) : implement for #ifdef WITH_GNOME
2004-06-23 Jean Brefort <jean.brefort@ac-dijon.fr>
* configure.in:
* src/Makefile.am:
* src/cut-n-paste-code/Makefile.am: removed pcre subdir.
* src/graph.c: (cb_assign_val), (gnm_go_data_vector_load_values),
(gnm_go_data_vector_get_value): changed gnm_nan to go_nan.
* src/format.h: replaced gnumeric_reg* by go_reg*
* src/formats.c: (my_regerror), (currency_date_format_init),
(currency_date_format_shutdown), (cell_format_simple_number),
(cell_format_is_number), (cell_format_is_fraction): ditto.
* src/number-match.c: (format_match_release),
(format_match_create), (format_match): ditto.
* src/plugin-service.c: (plugin_service_define): ditto.
* src/regutf8.c: (gnumeric_regcomp_XL): ditto.
* src/regutf8.h: ditto.
* src/search.c: (search_replace_free), (search_replace_compile),
(search_match_string), (search_replace_string): ditto.
* src/search.h: ditto.
* src/sheet-filter.c: (filter_expr_release), (filter_expr_eval): ditto.
* src/widgets/widget-format-selector.c: (populate_menu): ditto.
* src/workbook-control-gui.c: (wbcg_sheet_focus),
(cb_notebook_switch_page): Added missing spaces.
* src/cut-n-paste-code/pcre: Moved whole tree to goffice.
* tools/import-pcre: Updated to the new path and replaced gnumeric_ by go_.
2004-06-22 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=134014
* src/print-cell.c (print_merged_range) : sync with canvas item
recalling that y-coords are negative. Enable diagonals.
2004-06-20 Jody Goldberg <jody@gnome.org>
* src/Makefile.am : re-enable ssconvert as a test program for now to
avoid rebuilding it all the time.
2004-06-15 Jody Goldberg <jody@gnome.org>
* src/sheet-object.c (sheet_objects_get) : don't reverse the z
ordering
2004-06-17 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/consolidate.c (simple_consolidate): dao_set_cell_expr now
absorbs the expr reference.
(colrow_consolidate): ditto
2004-06-16 Morten Welinder <terra@gnome.org>
* src/workbook-view.c (wbv_save_to_file): Simplify using
go_file_create.
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Convert
filename to UTF-8 before constructing the label. Use uri if the
filename cannot be represented in UTF-8.
* src/sheet-object-graph.c (cb_save_as): Handle dumping to uris.
* src/gui-file.c (gui_image_file_select): Take and return uris.
* src/workbook-control-gui.c (cb_wbcg_drag_data_received):
Simplify with go_file_open.
2004-06-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=142700
* src/workbook-view.c (wb_view_sheet_focus): set current_sheet
before adjusting focus.
2004-06-15 Morten Welinder <terra@gnome.org>
* src/history.c (history_item_label): Fix thinko. Avoid double
UTF-8 encoding.
2004-06-14 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): If available,
use just filename for tooltip. (Non-ascii looks nicer, and it's
shorter.)
2004-06-13 Jody Goldberg <jody@gnome.org>
* src/command-context-stderr.c : fix class decl to match change to
interface
2004-06-13 Jody Goldberg <jody@gnome.org>
* configure.in : bump req for libgsf to 1.10.0 (still in cvs)
2004-06-11 Morten Welinder <terra@gnome.org>
* src/workbook-view.c (wbv_save_to_file): Make this work with uris.
* src/history.c (history_item_label): Now gets uri argument.
* src/workbook.c (workbook_set_uri): Ranamed from
workbook_set_filename.
(workbook_get_uri): Renamed from workbook_get_filename.
* src/application.c (gnm_app_history_add): Change to take uri.
All callers changed.
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Adapt to uris.
* src/gui-file.c (gui_file_read, do_save_as, go_file_is_writable):
Changed to take uri. All callers changed.
* src/workbook-view.c (wb_view_new_from_uri): Renamed from
wb_view_new_from_file and adapted to take uri. All callers
changed.
(wb_view_save_as): Change to take uri. All callers changed.
2004-06-08 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=143577
* src/style-border.c (style_border_print_diag) : handle NULL and none
(style_border_set_pc) : back out my incorrect fix and sync with gui.
2004-06-08 Morten Welinder <terra@gnome.org>
* src/gutils.c (gnm_destroy_password): New function.
2004-06-05 Jody Goldberg <jody@gnome.org>
* src/sheet-object-image.c : add sax export, and actually dump the
images.
* src/sheet-object-widget.c : add sax export
* src/sheet-object-graph.c : ditto.
* src/sheet-object-cell-comment.c : ditto.
* src/workbook-view.c (wbv_save_to_file) : warning suppression
* src/xml-io.c (gnm_xml_out_add_color) : new
(gnm_xml_out_add_cellpos) : new.
2004-06-04 Morten Welinder <terra@gnome.org>
* src/parser.y (arg_list): handle the empty arg in =IF(TRUE,)
properly.
* src/expr.c (gnm_expr_get_func_argcount): New function.
2004-05-31 Jody Goldberg <jody@gnome.org>
* src/graph.c (gnm_go_data_get_sheet) : new.
(gnm_go_data_get_expr) : new.
http://bugzilla.gnome.org/show_bug.cgi?id=143367
* src/item-grid.c (item_grid_realize) : make the seperator a dark
colour rather than black.
2004-05-27 Jody Goldberg <jody@gnome.org>
* src/workbook.c (workbook_sheet_hide_controls) : split out from.
(workbook_sheet_detach) : here.
* src/dependent.c (dependent_queue_recalc_list) : fix dynamic depends.
* src/workbook-control-gui.c (cb_wbcg_drag_data_received) : handle
dragging from nautilus -> gnumeric too.
* src/main-application.c (main) : Use the new virtuals
* src/io-context.c (gnm_io_context_set_num_files) : new
(gnm_io_context_processing_file) : new.
* src/io-context-gtk.c (icg_processing_file) : renamed from
icg_inc_files_done.
(icg_set_num_files) : renamed from icg_set_files_total.
(icg_class_init) : hook up the file handlers to the new virtual.
* src/expr.c (gnm_expr_extract_ref) : return a RangeRef
(gnm_expr_range_op) : new to handle intersection and union properly
(gnm_expr_eval) : split the common code out of here.
2004-05-26 Morten Welinder <terra@gnome.org>
* src/parser.y (yylex): Ignore spaces in lots of places, notably
before and after operators. (XL has chosen space as an operator,
but luckily it only makes sense in a few places.)
2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
* src/sheet-object-widget.c: (sheet_widget_combo_create_widget):
replaced GnmComboText by GoComboText.
2004-05-25 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/application.c: add "Gnumeric_Visible" icon
* src/pixmaps/visible.png: new
* src/pixmaps/Makefile.am: include src/pixmaps/visible.png
* src/commands.h (cmd_reorganize_sheets): add arguments
* src/commands.c: add NULL arguments to all calls to
cmd_reorganize_sheets throughout.
(cmd_reorganize_sheets_*): handle visibility changes
* src/sheet.h (sheet_set_visibility): new
(sheet): add is_visible field
* src/sheet.c (sheet_set_visibility): new
(sheet_new): initalize is_visible field
* src/workbook-control-gui.c: add NULL arguments to all calls to
cmd_reorganize_sheets
* src/workbook.h (workbook_sheet_change_visibility): new
* src/workbook.c (workbook_sheet_change_visibility): new
2004-05-24 Morten Welinder <terra@gnome.org>
* src/expr.c (negate_value): New function, extracted from
gnm_expr_eval and cb_iter_unary_neg.
(gnm_expr_eval, cb_iter_unary_neg): Use it.
(cb_iter_unary_neg, cb_iter_percentage): Fix crash for empties.
2004-05-22 Jean Brefort <jean.brefort@ac-dijon.fr>
* src/expr.c: (cb_iter_unary_neg), (cb_iter_percentage): make it compile again by changing
variable names "a" and "pos" by "v" and "ep".
* src/gui-util.c: (gnumeric_notice_nonmodal), (cb_parent_mapped),
(gnumeric_combo_enters): replaced gtk_signal by g_signal and deleted
gnumeric_combo_enters as it is not used anymore and I could not find a replacement
for gtk_combo_disable_activate usable with GtkComboBoxEntry.
* src/gui-util.h: removed gnumeric_combo_enters.
2004-05-21 Jody Goldberg <jody@gnome.org>
* src/expr.c : support implicit iteration for operators. We now
support all major evaluation mechanisms in ms excel.
2004-05-19 Jody Goldberg <jody@gnome.org>
* configure.in : bump libglade req to 2.3.6 to get the new combos
Merge in an as yet unused test for mono while we're in here.
2004-05-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=142836
* src/stf.c (stf_write_csv): use current sheet rather than first
sheet.
2004-05-17 Morten Welinder <terra@gnome.org>
* src/sheet-autofill.c (autofill_cell): Handle default case, just
in case.
2004-05-16 Adrian Custer <acuster@gnome.org>
* src/ssconvert.c: exports -> exporters in user visible
strings. Added translation tags.
2004-05-15 Jody Goldberg <jody@gnome.org>
* src/format.c (format_value_gstring) : if nothing matches for numbers
use the first fmt, other types == general.
(style_format_condition) : errors do not match strings, but bools do
(format_compile) : assign std conditions to any element without one,
even the last.
2004-05-16 Jean Brefort <jean.brefort@ac-dijon.fr>
* src/dialogs/autofilter-expression.glade: replaced GtkOptionMenu by GtkComboBox.
* src/dialogs/autofilter-top10.glade: ditto.
* src/dialogs/autoformat.glade: ditto.
* src/dialogs/cell-format.glade: ditto.
* src/dialogs/consolidate.glade: ditto.
* src/dialogs/dao.glade: ditto.
* src/dialogs/dialog-autofilter.c: (map_op), (cb_autofilter_ok),
(cb_top10_type_changed), (init_operator), (dialog_auto_filter):
* src/dialogs/dialog-autoformat.c: (cb_category_changed),
(dialog_autoformat): ditto.
* src/dialogs/dialog-cell-format.c: (cb_rotate_canvas_realize),
(validation_rebuild_validation),
(cb_validation_error_action_changed), (cb_validation_sensitivity),
(build_validation_error_combo), (fmt_dialog_init_validation_page),
(cb_fmt_dialog_dialog_buttons): ditto.
* src/dialogs/dialog-consolidate.c: (construct_consolidate),
(setup_widgets): ditto.
* src/dialogs/dialog-hyperlink.c: (dhl_cb_menu_changed),
(dhl_init): ditto.
* src/dialogs/dialog-printer-setup.c: (do_header_customize),
(do_footer_customize), (header_changed), (footer_changed),
(fill_hf), (do_setup_hf_menus), (do_setup_hf),
(print_setup_get_sheet), (do_setup_sheet_selector): ditto.
* src/dialogs/dialog-stf-format-page.c:
(format_page_trim_menu_changed), (stf_dialog_format_page_prepare),
(stf_dialog_format_page_init): ditto.
* src/dialogs/dialog-stf.glade: ditto.
* src/dialogs/hyperlink.glade: ditto.
* src/dialogs/print.glade: ditto.
* src/widgets/gnm-dao.c: (gnm_dao_init), (gnm_dao_get_data),
(gnm_dao_set_put): ditto.
* src/dialogs/dialog-stf-export.c:
(sheet_page_separator_menu_changed),
(stf_export_dialog_format_page_init), (stf_export_dialog_finish): ditto.
Replaced also GtkCombo by GtkComboBoxEntry.
* src/dialogs/dialog-stf-export.glade: ditto.
2004-05-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/workbook-view.c (wbv_save_to_file): add omitted declaration
2004-05-07 Jody Goldberg <jody@gnome.org>
* src/command-context-priv.h : Make this an interface
* src/command-context.c : support the change here.
* src/command-context-stderr.c : here.
* src/io-context-gtk.c : here
* src/io-context-priv.h : here
* src/io-context.c : here.
* src/workbook-control-gui.c : here
* src/workbook-control.c : and here
* src/GNOME_Gnumeric-gtk.xml : Move the toolbars out, they will be
generated. Add FullScreen.
* configure.in : bump libgsf dep and add the new goffice/app directory
2004-05-03 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=140671
* src/commands.c (cmd_paste_cut_undo) : we don't know the SheetView
associated with the origin sheet.
* src/selection.c (sv_selection_set) : add some safety
2004-05-04 Morten Welinder <terra@gnome.org>
* src/validation.c (validation_new): Make sure
VALIDATION_TYPE_CUSTOM is only paired with VALIDATION_OP_NONE.
(validation_eval): Balance recounting.
2004-04-27 Jody Goldberg <jody@gnome.org>
* src/file.c (go_file_open) : fix the gnome-vfs case
2004-04-22 Morten Welinder <terra@gnome.org>
* src/print-info.c (print_info_get_orientation): Plug leak.
2004-04-22 Jody Goldberg <jody@gnome.org>
* src/sheet-autofill.c (autofill_cell) : Assign the value format in
all cases accept expressions. Use cell_set_value, not
sheet_cell_set_value so that we can assign the format before we
render, and to avoid doing things piece meal.
2004-04-21 Morten Welinder <terra@gnome.org>
* src/format.c (format_destroy): Let's try unref in here.
* src/stf-export.c (stf_export): Fix compilation.
2004-04-20 Jody Goldberg <jody@gnome.org>
* src/stf-export.c (stf_export_sheet) : simplify
2004-04-20 Morten Welinder <terra@gnome.org>
* src/stf-parse.c (stf_parse_sheet): Handle the case of more
columns than we have room for in the sheet.
2004-04-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
* README: Corrected the Debian package names.
2004-04-19 Jody Goldberg <jody@gnome.org>
* src/workbook-edit.c (cb_entry_insert_text) : be clear which values
are measured in bytes (PangoAttribute) and which are in characters
(GtkEditable)
(cb_entry_cursor_pos) : ditto.
(cb_entry_delete_text) : ditto.
(wbcg_edit_add_markup) : ditto.
2004-04-19 Jody Goldberg <jody@gnome.org>
* src/rendered-value.c (rendered_value_new) : don't apply markup to
the shared set of attributes associated with the style make a local
copy.
2004-04-17 Jody Goldberg <jody@gnome.org>
* src/item-edit.c (item_edit_draw) : tidy up a bit and check for pixel
matching stock cell drawing so that things do not shift.
(ie_layout) : ditto.
* src/value.c (parse_database_criteria) : revert change from 2004-03-31
rather than moving to g_new/g_free to make the g_free work, leave
the g_alloca and remove the unnecessary g_free.
2004-04-16 Morten Welinder <terra@gnome.org>
* src/rangefunc.c (range_mode): Use g_hash_table_new_full.
(cb_range_mode): Delete.
2004-04-15 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (phyper): New implementation.
2004-04-13 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbc_gtk_set_action_label): Set the right tooltip.
2004-04-12 Jody Goldberg <jody@gnome.org>
* src/format.c (style_format_new_markup) : new.
* src/commands.c (cmd_set_text*) : Handle markup
2004-04-12 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (pow1p, pow1pm1): New functions.
(random_levy_skew): Use pow1p.
2004-04-12 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (pf): New implementation.
* src/history.c (history_item_label): Handle accel_number >= 10
better. Handle "_" properly.
2004-04-09 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (pcauchy): New implementation.
* src/gutils.c (erfgnum): Improve precision for small x.
(modfgnum): Fix precision for huge x.
(frexpgnum): Fix precision for huge x.
* src/mathfunc.c (pbeta): New implementation.
(lgamma1p, swap_log_tail, log1pmx): New function.
2004-04-08 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (check_underlines): Make UTF-8 safe.
2004-04-08 Jean Brefort <jean.brefort@ac-dijon.fr>
* src/selection.c: (sv_selection_to_plot): skip errors dims.
2004-04-08 Jody Goldberg <jody@gnome.org>
* src/gnumeric-gconf.c (gnm_conf_init_essential) : move the live
scroll delay and the autocompletion status here from.
(gnm_conf_init_extras) : here. So that we initialize it before we
copy it when creating aworkbookview.
2004-04-07 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_read): Make sure new windows appear
on the right screen.
* src/wbcg-actions.c (cb_file_new): Make sure new windows appear
on the right screen.
2004-04-07 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c (cb_file_new): Copy toolbar visibility to new
window.
* src/gui-file.c (gui_file_read): Copy toolbar visibility to new
window.
* src/wbc-gtk.c (wbc_gtk_create_status_area): Show statusbar.
(check_underlines): New code to debug underline collisions.
(wbc_gtk_init): Show everything here.
* src/workbook-control-gui.c (wbcg_set_toolbar_visible): Update
menus too.
(wbcg_copy_toolbar_visibility): New function.
(show_gui): Call gtk_widget_show, not gtk_widget_show_all, so as
not to interfere with toolbar visibility.
* src/wbcg-actions.c (cb_view_standard_toolbar,
cb_view_format_toolbar, cb_view_object_toolbar,
cb_view_statusbar): Only do something when we're not already
updating the ui.
(var actions): Fix underline collissions.
2004-04-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: substitute WARN_CFLAGS as
src/cut-n-paste-code/foocanvas/libfoocanvas/Makefile references it
directly.
2004-04-05 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (cb_add_menus_toolbars): Identify toolbars.
(cb_handlebox_popup): Remove this.
(cb_handlebox_dock_status): Fiddle with style to work around
gtk_handle_box bug.
* src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible,
wbcg_set_format_toolbar_visible, wbcg_set_object_toolbar_visible,
wbcg_set_statusbar_visible): New functions.
* src/wbcg-actions.c (cb_view_standard_toolbar,
cb_view_format_toolbar, cb_view_object_toolbar,
cb_view_statusbar): New functions.
(var toggle_actions): Hook them up.
2004-04-02 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_open): Use savers' extensions as a
proxy for all spreadsheet files. this is not ideal, but far
better than hardcoding "*.gnumeric" and "*.xls".
(gui_file_save_as): Ditto.
* src/wbc-gtk.c (wbc_gtk_finalize): New function.
(wbc_gtk_class_init): Hook it up.
2004-04-01 Jody Goldberg <jody@gnome.org>
* src/style-border.c (style_border_draw_diag) : sync with the printing
code to not draw into the center of bordering double borders
* src/item-edit.c (item_edit_event) : basic cursor position support.
* src/print-cell.c (print_cell_background) : draw diagonals.
* src/style-border.c (style_border_print_diag) : fill in. Where did
this code go ? I could have sworn I implemented this years ago.
2004-04-01 Morten Welinder <terra@gnome.org>
* src/format.c (append_hour_elapsed): Fix precision issues.
http://bugzilla.gnome.org/show_bug.cgi?id=138182.
2004-04-01 Christian Neumair <chris@gnome-de.org>
* src/sheet-control-gui.c:
* src/wbcg-actions.c:
* src/GNOME_Gnumeric-gtk.xml: Put delete actions from edit main menu
into their own submenu, add stock icon to clear submenu.
2004-03-31 Morten Welinder <terra@gnome.org>
* src/value.c (parse_database_criteria): Since we're g_free-ing,
allocate with g_new and not g_alloca.
* src/gui-file.c (gui_file_save_as): Don't create an extra, bogus
combo box.
2004-03-30 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-03-30 Jody Goldberg <jody@gnome.org>
* Release 1.3.0
* Makefile.am : Add distcleancheck_listfiles, and distuninstallcheck_listfiles
to keep automake from complaining about the docs.
Clean the .desktop and .keys file
Dist the new gnome-common auto installed xmldoc.make and omf.make
* autogen.sh : require automake 1.7.2 to get the *_listfiles support
required to make the doc build pass distcheck.
* omf-install/* : delete
* configure.in : remove omf-install, plugins/gb/Makefile,
plugins/uihello/Makefile
* schemas/Makefile.am : clean the generated schema files
* src/cell-draw.c (cell_calc_layout) : mark hashed values as variable
width so that they resize when columns change size.
* src/item-grid.c (item_grid_event) : clear the cursor timer when the
mouse leaves the grid (eg enters the edit item)
2004-03-30 Jody Goldberg <jody@gnome.org>
Test case. Enter string into C3 that spans into E3 then change
alignment
* src/commands.c (cmd_format_undo) : be lazy, queue a full redraw in
case spans changed.
(cmd_format_redo) : ditto.
2004-03-28 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c : cheat and install a SheetInsert action to avoid
having an 'Insert' entry in the insert menu because we named the
InsertSheet action for the Sheet menu.
* src/item-edit.c (ie_layout) : Support rich text.
* src/wbc-gtk.c (wbc_gtk_style_feedback) : Pull the values from
@changes if it is supplied.
(cb_post_activate) : new.
(wbc_gtk_init) : Only restore focus when we aren't editing.
Otherwise every time the style feedback changes we lose focus.
2004-03-26 Jody Goldberg <jody@gnome.org>
* src/workbook-edit.c (cb_delete_filter) : first step in syncing the
markup when content changes.
(cb_entry_delete_text) : ditto.
2004-03-25 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c (cb_help_docs) : quick an dirty
2004-03-26 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Make UTF-8 safe
and stop using tooltips for storing filenames.
* src/history.c (history_item_label): Make this UTF-8 safe.
2004-03-25 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=137818
* src/style.c (required_updates_for_style) : redraw for h-align,
striketrough, underline, and font colour changes.
* src/application.c (gnumeric_application_setup_icons) : pull in some
icons
2004-03-20 Jody Goldberg <jody@gnome.org>
* src/wbcg-actions.c : Move the font actions into a distinct group.
* src/wbc-gtk.c (wbc_gtk_actions_sensitive) : start to account for
font vs normal actions. This interface sucks. We'll need something
more functional as the number of action groups increases (eg clipboard)
(wbc_gtk_init_color_fore) : move into font group
(wbc_gtk_init_font_name) : move into font group
(wbc_gtk_init_font_size) : move into font group
(wbc_gtk_set_toggle_action_state) : split font actions into a distinct
group
(cb_handlebox_dock_status) : ditto.
(wbc_gtk_init) : ditto.
2004-03-19 Morten Welinder <terra@gnome.org>
* src/plugin-util.c (gnumeric_fopen): Ditto.
* src/format-template.c (format_template_save): Delete unused
function.
2004-03-18 Morten Welinder <terra@gnome.org>
* src/gnumeric-canvas.c (row_scroll_step): Use a continious
function, not a step function.
(col_scroll_step): Ditto.
2004-03-18 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "mr" for Marathi to ALL_LINGUAS.
2004-03-17 Morten Welinder <terra@gnome.org>
* src/gutils.c (gnm_string_append_gstring): New function.
* src/format.c (format_get_decimal, format_get_thousand,
format_get_currency): Return a GString*. All callers changed and
happy since they don't need to call strlen.
(convert1): Operate of GString.
2004-03-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Added
src/cut-n-paste-code/goffice/libpresent/Makefile and
src/cut-n-paste-code/goffice/test/Makefile.
2004-03-16 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=137357
* src/item-bar.c : Use a custom detail 'GnmItemBarCell' rather than
the more generic 'button' to keep some themes 'industrial and gorilla'
from freaking out at the lack of button.
2004-03-16 Jody Goldberg <jody@gnome.org>
* configure.in : bump the gtk req to reflect the churn in the filesel
2004-03-16 Morten Welinder <terra@gnome.org>
* src/sheet-autofill.c (autofill_cell): Kill some read-only
warnings.
2004-03-16 Jean Brefort <jean.brefort@ac-dijon.fr>
* configure.in: add src/cut-n-paste-code/goffice/data/Makefile.in
2004-03-11 Jody Goldberg <jody@gnome.org>
* src/stf.c (csv_tsv_probe) : Be more forgiving about what might be
text. Accept
1) *.txt
2) Anything that has no null characters in the first 80 bytes
It won't catch everything, but it should be marginally better.
2004-03-08 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (wbc_gtk_init) : split the menus into a distinct
group. There's no need to senstize them
2004-03-12 Jean Brefort <jean.brefort@ac-dijon.fr>
* src/graph.c (gnm_go_data_vector_load_values): changed initial maximum
from G_MINDOUBLE to - G_MAXDOUBLE.
2004-03-13 Christopher James Lahey <clahey@ximian.com>
* configure.in: Added
src/cut-n-paste-code/goffice/drawing/Makefile and
src/cut-n-paste-code/goffice/ms-compat/Makefile.
2004-03-11 Kjartan Maraas <kmaraas@gnome.org>
* src/wbc-bonobo.c: (wbcb_style_feedback): Remove extraenous
semicolon from a test.
* src/wbc-gtk.c: (wbc_gtk_style_feedback): Same here. Closes
bug #136849.
2004-03-09 Morten Welinder <terra@gnome.org>
* src/workbook-control-gui.c (wbcg_close_if_user_permits): Set the
ATK_ROLE_ALERT for dialog.
* src/item-bar.c (ib_draw_cell, item_bar_draw): Avoid deprecated
gtk_draw_shadow call.
2004-03-06 Jody Goldberg <jody@gnome.org>
* src/sheet-object-graphic.c (sheet_object_text_finalize) : release
the markup.
(sheet_object_text_new_view) : set the attributes.
(sheet_object_text_clone) : handle the attributes.
(gnm_so_text_set_font_color) : delete.
(gnm_so_text_set_markup) : new.
2004-03-05 Jody Goldberg <jody@gnome.org>
* src/colrow.c (colrow_set_sizes) : force re-render of variable width cells
(colrow_restore_state_group) : ditto
* src/rendered-value.c (rendered_value_render) : privatize
* src/style.c (required_updates_for_style) : Now that rendered values
contain size info too we can dispense with the distinction between
rendering and sizing. Without this changing the font size would not
resize because the rendered value cached the size and was not
re-rendered until draw, rather than at row-height calc.
2004-03-05 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_save_as): We no longer need to show
extra-widgets in the file chooser outselves.
2004-03-05 Christian Neumair <chris@gnome-de.org>
* src/gui-file.c: free from deprecated GtkOptionMenu, use
GtkComboBox instead.
2004-03-04 Jody Goldberg <jody@gnome.org>
* src/sheet-object-widget.c : rework the List and combo to use a
shared base. Then store and restore the dependents in xml
http://bugzilla.gnome.org/show_bug.cgi?id=135946
* src/formats.c : Add mmmmm-yy and mmmmm as defaults
* src/format.c (append_month) : support them.
* src/main-application.c (gnumeric_arg_parse) : When we don't need a
gui we still need to initialize gobject.
2004-03-01 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_image_file_select): Adapt to latest gtk+ cvs
head.
2004-02-29 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=126563
* src/sheet.c (sheet_dup) :
2004-02-28 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=74205
* src/item-edit.c : Display blue range designator even in other panes
2004-02-27 Morten Welinder <terra@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=135609
* src/parse-util.c (rangeref_as_string): Before dropping the
second half of the range, make sure the $-designations agree also.
2004-02-26 Morten Welinder <terra@gnome.org>
* src/gui-util.c (fsel_key_event, fsel_delete_event,
fsel_handle_cancel, fsel_handle_ok, fsel_dialog_finish): Delete.
(gnumeric_dialog_file_selection): Remove GtkFileSelector version.
2004-02-25 Morten Welinder <terra@gnome.org>
* src/gui-file.c (update_preview_cb): Keep the preview, possibly
blank, at all times to avoid flicker.
2004-02-23 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_image_file_select): New arg "is_save" for
button and dialog naming. All callers changed.
* src/sheet-object-graph.c (cb_save_as): Use
gui_image_file_select. Plug leak.
2004-02-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
http://bugzilla.gnome.org/show_bug.cgi?id=135044
* src/commands.c (cmd_resize_colrow): Fixed incorrect string
2004-02-21 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=134627
* src/workbook-view.c (wb_view_selection_desc) : Display name of edit
position after releasing Shift key, not the top left
* src/workbook-control-gui.c (cb_wbcg_drag_data_received) : disable
the gnome-vfs portions. They did not work anyway. We can probably
just #ifdef it in the future, I can't see an easy way to put that into
a plugin.
* src/wbc-gtk.c (cb_font_name_changed) : quick and dirty enabling.
(cb_font_size_changed) : ditto.
* src/stf.c (stf_write_workbook) : remove the pointless wrapping of a
pointer and just return the result directly.
http://bugzilla.gnome.org/show_bug.cgi?id=97216
* src/sheet-control-gui.c (scg_mode_create_object) : Go back to the
primary sheet when creating an object
http://bugzilla.gnome.org/show_bug.cgi?id=131588
* src/rangefunc.c (range_sum) : use long double if it is available
* src/mstyle.c (mstyle_new_default) : remove the gconf usage it did
not belong here.
* src/style.c (font_init) : ditto.
* src/normal-args.c : deleted. content moved
* src/main-application.c : Move the arg handling into here, and #ifdef
it rather than using external files. It makes it easier to read.
For the non gnome case we need to manually add gtk deps. Now that
we're not so dependent on gnome we can do more magic and move to a
more abi-style approach with --convert and abi-commands in place of
ssconvert
* src/libgnumeric.h : drop the arg handler stubs
* src/libgnumeric.c (gnm_shutdown) : gconf shutdown is handled
internally now.
* src/hlink.c (gnm_hlink_url_activate) : conditionalize gnome depend.
* src/gutils.c (gnumeric_sys_data_dir) : Use g_build_path, just to be
pedantic.
(gnumeric_sys_lib_dir) : ditto.
* src/gui-util.c (gnumeric_dialog_run) : Don't destroy the dialog
until a stock response comes in (useful for druids)
(gnumeric_help_display) : conditionalize gnome.
(gnumeric_icondir) : new.
(gnumeric_load_image) : use it.
(gnumeric_load_pixbuf) : use it.
* src/gnumeric-gconf.c (gnm_app_get_gconf_client) : moved to here.
(gnm_conf_init_essential) : handle the font stuff here.
* src/gnumeric-gconf-priv.h : Clean up the default font keys and move
them here.
* src/application.c : remove the gconf_client
(gnm_app_get_gconf_client) : move for now.
(gnm_app_release_gconf_client) : delete.
* src/Makefile.am : Further down the path of making gnome optional
* icons/Makefile.am : Add the new about box image, dunno where/how to
use it yet.
* configure.in : corba is dependent on gnome for now.
Move libgnome* into the gnome specific libs
Add the new radar plot engine
* src/wbc-gtk.c (cb_show_menu_tip) : fix leak.
2004-02-20 Jon K Hellan <hellan@acm.org>
* src/gui-util.c: Don't include preview-file-selector.h.
* src/workbook-control-gui.c: Ditto.
* src/wbcg-actions.c: Ditto.
2004-02-19 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_image_file_select): Add new "initial"
argument. Caller changed.
2004-02-18 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_image_file_select): New function.
* src/wbcg-actions.c (GNM_ACTION_DEF): Use gui_image_file_select.
* src/gui-file.c (file_format_changed_cb): Use
gtk_widget_set_sensitive.
* src/gui-util.c (gnm_fixup_filechooser_size): Remove this. No
longer needed.
2004-02-17 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_open): Destroy file selector before
calling opener. (File selector grabs focus so stf-import could
not be interacted with.)
* src/print.c (compute_scale_fit_to): For 0 pages, just return
100%.
2004-02-13 Morten Welinder <terra@gnome.org>
* src/gui-util.c (gnm_fixup_filechooser_size): New function.
(gnumeric_dialog_dir_selection): Delete.
* src/gui-file.c (gui_file_save_as, gui_file_open): Use
gnm_fixup_filechooser_size.
2004-02-11 Morten Welinder <terra@gnome.org>
* src/print.c (compute_scale_fit_to): Guard against pages <= 0.
Use doubles, not floats.
(print_range_down_then_right, print_range_right_then_down,
compute_group): Use doubles, not floats.
2004-02-09 Morten Welinder <terra@gnome.org>
* src/workbook-object-toolbar.c: Properly include
<gnumeric-config.h> so the tests will work.
2004-02-04 Morten Welinder <terra@gnome.org>
* src/parser.y (yylex): Accept a few unicode characters.
2004-02-04 Jody Goldberg <jody@gnome.org>
* src/sheet.c : Make Sheet a cheesy sort of GObject. Leave the macros
as the old signature based variants for now.
2004-02-04 Jody Goldberg <jody@gnome.org>
* src/gui-file.c (gui_file_open) : add a label and mnemonic for the
type selector.
2004-02-02 Jody Goldberg <jody@gnome.org>
* src/session.c : make conditional on WITH_GNOME
2004-02-03 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c (toggle_current_font_attr): Remove debug
spew.
2004-02-01 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (cb_custom_color_created) : mark the custom dialog as
a transient of the wbcg.
2004-02-01 Jody Goldberg <jody@gnome.org>
* src/workbook-control-gui.c (wbcg_toolbar_timer_clear) : people
didn't like it so remove it to allow custom color selection to work.
With it in place the action was still insensitive when the
color_changed fired so the activation was ignored.
* src/wbc-gtk.c (wbc_gtk_init) : connect the post_activate signal
as a swapped_object to avoid calling it after we use an accelerator
to quit.
2004-02-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gui-util.c (gu_delete_handler): new
(gnumeric_dialog_file_selection): catch window manager deletion
of the dialog.
2004-01-28 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=131933
* src/format.c (update_lc) : catch mismatched monetary and numeric
locales that set result in the decimal seperator and thousands
seperator being the same.
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
* schemas/gnumeric-dialogs.schemas.in: Add schemas correponding to
the new printing keys.
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf-priv.h: add many more printing related keys
* src/gnumeric-gconf.c (gnm_conf_init_essential): initialize
printing variables from gconf
(gnm_gconf_set_print_center_horizontally): implement
(gnm_gconf_set_print_center_vertically): implement
(gnm_gconf_set_print_grid_lines): implement
(gnm_gconf_set_print_even_if_only_styles): implement
(gnm_gconf_set_print_black_and_white): implement
(gnm_gconf_set_print_titles): implement
(gnm_gconf_set_print_order_right_then_down): implement
(gnm_gconf_set_print_scale_percentage): implement
(gnm_gconf_set_print_scale_percentage_value): implement
(gnm_gconf_set_print_scale_width): implement
(gnm_gconf_set_print_scale_height): implement
(gnm_gconf_set_print_repeat_top): implement
(gnm_gconf_set_print_repeat_left): implement
(gnm_gconf_set_print_tb_margins): implement
(gnm_gconf_set_print_header_formats): implement
* src/print-info.c (load_formats): add saved custom formats
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/gnumeric-gconf.c (gnm_conf_init_essential): initialize new
configuration variables
(gnm_conf_init_extra): move some items to essential
(gnm_gconf_set_print_center_horizontally): new stub
(gnm_gconf_set_print_center_vertically): new stub
(gnm_gconf_set_print_grid_lines): new stub
(gnm_gconf_set_print_even_if_only_styles): new stub
(gnm_gconf_set_print_black_and_white): new stub
(gnm_gconf_set_print_titles): new stub
(gnm_gconf_set_print_order_right_then_down): new stub
(gnm_gconf_set_print_scale_percentage): new stub
(gnm_gconf_set_print_scale_percentage_valuee): new stub
(gnm_gconf_set_print_scale_width): new stub
(gnm_gconf_set_print_scale_height): new stub
(gnm_gconf_set_print_repeat_top): new stub
(gnm_gconf_set_print_repeat_left): new stub
(gnm_gconf_set_print_tb_margins): new stub
(gnm_gconf_set_print_header_formats): new stub
* src/gnumeric-gconf.h: various new functions (see above) and
fields to the pref structure.
* src/print-info.c: remove dependence on libgnome/gnome-config.h
(load_margin): deleted
(load_hf): deleted
(load_range): deleted
(load_formats): remove gnome-config stuff
(print_info_new): switch to gconf functions
(save_margin): deleted
(save_range): deleted
(save_hf): deleted
(save_formats): use gconf
(print_info_save): use new gconf functions
(print_info_set_orientation): new
(print_info_get_orientation): new
* src/print-info.h: remove orientation field in pi
(print_info_set_orientation): new
(print_info_get_orientation): new
* src/xml-io.c (xml_write_print_info): use print_info_get_orientation
(xml_read_print_info): use print_info_set_orientation
2004-01-27 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_save_as): Switch to file chooser.
2004-01-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/print.c (sheet_print): remove warnings
2004-01-27 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_open): Cleanup and hack a better size.
2004-01-26 Andreas J. Guelzow <aguelzow@taliesin.ca>
* configure.in: bump libgnomeprint[ui] requirement to 2.5.2
* src/print.c (sheet_print): don't close the print dialog on preview
and use gnome_print_dialog_run to avoid overwriting files without
dialog
2004-01-26 Morten Welinder <terra@gnome.org>
* src/gui-file.c (gui_file_open): Switch to file chooser.
* src/gui-util.c (gnumeric_dialog_file_selection): Handle file
chooser widgets too.
2004-01-26 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=132448
* src/wbcg-actions.c (cb_auto_filter) : fix
* src/selection.c (selection_first_range) : improve readability of
error message.
http://bugzilla.gnome.org/show_bug.cgi?id=127138
* src/wbcg-actions.c (cb_view_freeze_panes) : Don't get confused by an
attempt to freeze without centering when the top or left is not 0.
2004-01-24 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/cell-draw.c (cell_calc_layout): new
(cell_draw): move the pango layout code into cell_calc_layout
2004-01-24 Jody Goldberg <jody@gnome.org>
* src/sheet-object-graphic.c : defaults for color combos are now more
useful. The actions can set them up for toolbars in one place
rather than users setting the combo in dozens.
2004-01-23 Jody Goldberg <jody@gnome.org>
* src/workbook.c (workbook_find_command) : new utility
* src/wbc-gtk.c (cb_undo_activated) : port to new interface
(cb_redo_activated) : port to new interface
* src/sheet-control-gui.c (scg_object_update_bbox) : silence
irritating warning.
2004-01-23 Jody Goldberg <jody@gnome.org>
* configure.in : bump the gtk and glib depends to yesterday's releases
2004-01-22 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c : clean up the border combo and adapt to its new api
2004-01-16 Jody Goldberg <jody@gnome.org>
* configure.in : check for symbolic link support
* src/Makefile.am : install executable as
gnumeric-<version>
with a symlink to that from gnumeric
2004-01-16 Jody Goldberg <jody@gnome.org>
* src/stf.c (stf_write_workbook) : update the string and drop the
warning.
* src/wbc-gtk.c (wbc_gtk_init) : enable translations for menus and
toolbars.
2004-01-16 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c : Fix some accelerators and enable colour combos.
Some undo/redo is working too.
* src/style-color.c (style_color_new_go) : new.
* configure.in : Push the goffice include up here until it can get a
pkg file.
* autogen.sh (REQUIRED_AUTOMAKE_VERSION) : bump automake version to
get stricter distchecks.
2004-01-14 Jody Goldberg <jody@gnome.org>
* gnumeric.mime : prune this to just types gnome-mime-data does not
appear to have.
2004-01-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=131343
* src/print.c (print_job_info_update_from_config): new
(print_job_info_get): move some code into
print_job_info_update_from_config
(sheet_print): call print_job_info_update_from_config after the
user may have changed the paper info in the print dialog.
2004-01-14 Jon K Hellan <hellan@acm.org>
* README: Spellcheck
2004-01-14 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c : silence some warnings from the zoom combo. It's not
functional yet so why spew errors.
- Add status line display of menu tooltips
- Fix accel for the display formula toggle
2004-01-13 Jody Goldberg <jody@gnome.org>
* src/func.c (function_call_with_list) : fix the address tests by
allowing missing optional args to get passed as NULL.
2004-01-12 Morten Welinder <terra@gnome.org>
* src/GNOME_Gnumeric-gtk.xml: remove menu entris for bold, etc.
(Probably accidentally committed.)
2004-01-11 Jon K Hellan <hellan@acm.org>
* src/GNOME_Gnumeric-gtk.xml: Add accelerators for bold, italic
and underline.
2004-01-10 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c : Display the progress bar
enable the sensitzation/desensitization of the actions. NOTE :
requires a gtk patch that is not in cvs yet.
Set a tooltip for the border and colour combos, requires another gtk
patch that is not in cvs.
* src/gnumeric-pane.c : Conditionally disable the stipple border for
now, but fix it to scale properly with zoom anyway.
* src/Makefile.am (bonobo_component_ui_DATA) : install the GtkAtion ui
file for now. We can cleanup later. Display ssconvert too, that
needs to merge or move to a new dir. It doubles link time.
2004-01-09 Morten Welinder <terra@gnome.org>
* src/wbcg-actions.c: Add invisible CopyDown and CopyRight
actions. Stubbed so far.
Remove accelerator for double underline as it collided with
single underline.
2004-01-08 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=130172
* src/func.c (function_call_with_list) : A major change
Do not do the empty conversion to int(0) in expr_eval
ALLOW scalars to return empty/NULL, the convert them to empty for
most types, and int(0) for float/bool. Which makes
'S' the same as 's' for all purposes accept documentation.
* src/GNOME_Gnumeric-gtk.xml : No need to name items their action is
sufficient as long as they are unique in their parent.
* src/cell.h (CELL_HAS_NEW_EXPR) : AARRRGGH. Actually a sign a
_unique_ value to it.
* src/gnumeric-pane.c (cb_control_point_event) : change the cursor
when dragging. Only start dragging on button 1 down. Ignore other
buttons while dragging.
(cb_sheet_object_canvas_event) : ditto.
* src/main-application.c (main) : set the app name.
2004-01-07 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=130700
* src/format.c (format_entry_ctor) : init the new 'suppress_minus'
entry.
(format_compile) : initialize supress minus if the condition is of the
form [<=(val <= 0)] or [<(val < 0)] I hope this is a reasonable
approximation of MS Excel.
(render_number) : pull out all the old elements that added minus signs
(format_number) : handle the new entry based suppress minus operator
here, and prepend the sign.
* src/wbcg-actions.c : Sync labels and mnemonics with the old
bonobo/gnomeui menus
2004-01-06 Jody Goldberg <jody@gnome.org>
* src/wbc-gtk.c (cb_add_menus_toolbars) : Enable/Disable the arrow
contraction on the toolbars if the handlbox is docked/undocked.
This avoids having floating toolbars with nothing but the collapse
arrow.
* configure.in : re-enable the *DEPRECATED*
and add a pile of #undef/#warning to make sure things still work
2004-01-06 Jody Goldberg <jody@gnome.org>
The initial pass at GtkAction custom combos are mucho broken
* src/sheet.c (sheet_toggle_hide_zeros) : move this out of the macro
in wbcg.
(sheet_toggle_show_formula) : ditto.
* src/sheet-object-graph.c (cb_save_as) : add jpg, and translate the
error message now that string freeze is done.
* src/gui-util.c : restore DISABLE_DEPRECATED
(gnumeric_toolbar_insert_with_eventbox) : delete.
(gnumeric_toolbar_append_with_eventbox) : delete.
(gtk_button_stock_alignment_set) : delete.
(gnumeric_toolbar_new) : delete.
(gnumeric_inject_widget_into_bonoboui) : move the wbc-bonobo.c
(gnumeric_toolbar_get_widget) : delete.
(gnm_widget_disable_focus) : move here from workbook-format-toolbar.c
* workbook-format-toolbar.{c,h} : move contents into
* wbcg-actions.c : this new file
* wbc-gtk.c : or this new file
* wbc-bonobo.c : or this new file (WHICH DOES NOT COMPILE OR WORK)
Should probably merge into workbook-control-component or something
like that
* src/gnm-marshalers.list (VOID) : Use the stock marshallers in glib
directly rather than adding our own wrappers.
* src/application.c : here
* src/GNOME_Gnumeric.xml : rename FileExit -> FileQuit to be consistent
* src/GNOME_Gnumeric-gtk.xml : new file for GtkAction
NOTE NOTE NOTE
You must be running in gnumeric/src
I Repeat
YOU MUST BE RUNNING IN gnumeric/src
for anything to work right now. I don't quite know how I want to
handle the file yet (the bonobo approach was irritating) we'll see.
* configure.in :
- Add goffice/gui-utils
- Get rid of --with-bonobo
- Add --with-gnome
- Add --enable-bonobo-component
* plugins/Makefile.am : Adapt to that.
* src/Makefile.am : ditto, and add the new files.
2004-01-05 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=130424
* src/commands.c (cmd_set_text_redo) : remove manual kludge.
* src/dependent.h (cell_eval) : move from here
* src/cell.h (cell_eval) : to here. Add a new flag CELL_HAS_NEW_EXPR
* src/cell.c (cell_set_expr_internal) : set the flag here.
* src/rendered-value.c (rendered_value_new) : test it here.
http://bugzilla.gnome.org/show_bug.cgi?id=130582
* src/sheet-control-gui.c (scg_cursor_move) : don't scroll the other
panes unless we absolutely have to. Apparently we only fuxed normal
cursor movement for http://bugzilla.gnome.org/show_bug.cgi?id=77303
This fixes rangesel too.
2003-12-29 Jody Goldberg <jody@gnome.org>
* * : Move everything to glib/gi18n.h in place of gnumeric-i18n.h
* gnumeric-i18n.h : delete
* configure.in : Looks like we're really requiring gtk/glib 2.3.1 at a
minimum. In reality it's probably closer to CVS at this point. I'm
kinda looking forward to the gtk freeze.
2003-12-24 Morten Welinder <terra@gnome.org>
* src/io-context-gtk.c (cb_realize): Remove workaround for old
gtk.
* src/stf-parse.c (stf_parse_lines): Ditto.
* src/workbook-control-gui.c (wbcg_get_gtk_settings): Ditto.
(show_gui): Ditto.
* src/gui-util.c (gdk_cursor_new_from_pixbuf): Remove.
2003-12-23 Jody Goldberg <jody@gnome.org>
* configure.in : post BRANCH bump
require gtk/glib 2.3.0, that will probably go up shortly
as we depend more on head directly
|