1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565
|
2005-02-01 Kees Cook <kees@outflux.net>
* src/xml/sp-css-attr.h, src/desktop-style.cpp, src/xml/repr-css.cpp,
src/xml/repr.h: Fixed SPCSSAttr to be a "real" class, at mental's
direction. Fixes my "default prefs don't show attrs" bug.
* src/helper/stock-items.cpp: removing redundant code.
* src/libnr/nr-point.h, src/libnrtype/FlowUtils.h, src/livarot/Shape.h:
added explicit initializations to keep valgrind happy.
* src/dir-util.cpp, src/sp-path.cpp, src/splivarot.cpp,
src/svg/svg-length.cpp, src/widgets/icon.cpp:
cleaning up memory leaks detected by valgrind.
* src/extension/dependancy.cpp: made repr-attr tags untranslatable.
* src/extension/system.cpp: correcting extension autodetection when
there are conflicting matching modules.
* src/dialogs/filedialog.cpp, src/extension/extension.h,
src/extension/internal/svg.cpp: .svgz loading works again as
expected. Non-functioning modules are not listed in file dialogs.
* src/text-context.cpp, src/text-editing.cpp: preedit modes don't
work correctly for multi-byte characters. See bug 1086769.
2005-01-31 Jon A. Cruz <jon@joncruz.org>
* src/file.cpp, src/inkscape.cpp, src/interface.cpp,
src/dialogs/export.cpp, src/extension/init.cpp:
sanitize messages before passing to display dialogs.
2005-01-31 Kees Cook <kees@outflux.net>
* src/libnrtype/FontFactory.cpp: added a crude font name detection
routine to work around a Pango crash bug. This can be removed once
Pango is fixed. See bug #1025565. Actually, I figured out a fix.
* print.cpp, print.h, sp-shape.cpp, extension/print.cpp,
extension/print.h, extension/implementation/implementation.cpp,
extension/implementation/implementation.h,
extension/implementation/plugin.cpp, extension/implementation/plugin.h,
extension/internal/gnome.h, extension/internal/ps.cpp,
extension/internal/ps.h, extension/internal/win32.h:
In an attempt to start debugging print rendering, I've added the
Print::comment function so that SPItem boundries can be easily
seen in rendered output.
* src/preferences-skeleton.h, src/sp-shape.cpp,
src/dialogs/display-settings.cpp, src/extension/internal/ps.cpp:
Added printout comments for print debugging. Fixed dash output
bug #1104050.
* src/dialogs/rdf.cpp: fixed rdf:bag displays. Closes bug #1113316.
2005-01-30 Jon A. Cruz <jon@joncruz.org>
* src/io/sys.h, src/io/sys.cpp: added utility routine to cleanup
strings with invalid UTF-8 for display.
2004-01-30 Kees Cook <kees@outflux.net>
* src/make.dep, src/make.exclude, src/make.files, src/make.ofiles,
src/io/uristream.cpp, src/io/sys.cpp: additional win32 changes
using Jon Cruz's new mkdir function. Getting Win32 to compile the
"io" directory. Closes bug #1107305.
* src/file.cpp, src/inkscape-stock.cpp, src/inkscape.cpp,
src/interface.cpp, src/main.cpp, src/dialogs/export.cpp,
src/dialogs/stroke-style.cpp, src/extension/input.cpp,
src/extension/implementation/script.cpp, src/helper/stock-items.cpp,
src/io/sys.cpp, src/io/sys.h, src/widgets/icon.cpp: wrapped
g_file_test with new Inkscape::IO::file_test since g_file_test isn't
utf8-safe.
* src/inkscape.cpp: removed call to g_free on non-alloced string.
fixed up crash-save location to be utf8-okay.
* src/extension/extension.cpp: convert from utf8 before open.
* src/sp-spiral.cpp, src/object-edit.cpp: found place where CLAMP on
spiral's t0 wasn't working. Closes bug #1075640.
2004-01-28 MenTaLguY <mental@rydia.net>
* src/sp-object.h, src/sp-object.cpp:
efficiency fixes which should be helpful when loading large documents
2005-01-29 Jon A. Cruz <jon@joncruz.org>
* src/file.h, src/file.cpp, src/inkscape.cpp, src/sp-image.cpp,
src/extension/implementation/script.cpp,
src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
src/extension/plugin/gimpgrad.cpp, src/helper/png-write.cpp,
src/io/Makefile_insert, src/io/sys.h, src/io/sys.cpp,
src/trace/imagemap.cpp, src/xml/repr-io.cpp:
Refactored open routine to better location.
2004-01-28 Kees Cook <kees@outflux.net>
* configure.ac: added test for libgc 6.4 or better.
* src/main.cpp: calling new SPRepr methods instead of inline wrappers.
2004-01-27 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.h, src/xml/simple-node.cpp:
SimpleNode::lastChild() and SimpleNode::appendChild() are now
O(1) rather than O(n)
2004-01-26 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h,
src/xml/sp-repr-action.h, src/xml/sp-repr-event-vector.h:
inlined legacy wrappers
* src/xml/simple-node.cpp: really fixed #1108231 now
2005-01-25 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp: Passed file import call to shared code.
Fixed bug #1108620.
2005-01-25 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.cpp: fixed bug #1108231
2005-01-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/desktop-properties.cpp: Changed set of paper sizes offered:
Removed `Folio' pagesize (which means a different paper size to
different people; will Folio be missed? If so, can we improve
the name?).
Changed ISO page sizes (A0..A10, B0..B10) to match official ISO
specification in mm.
Note that these differ from ghostscript's idea of page sizes;
see comment in desktop-properties.cpp for speculation of
possible problems (fuzziness from antialiasing).
(Note also that our previous sizes differed even more from
gs_statd.ps...)
Coalesced Ledger and Tabloid to a single entry (11x17in);
previously they differed in size.
Changed Icon 16x16 from 16pt to 16px; similarly Icon 32x32 and
Banner 468x60.
2004-01-24 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.cpp: potential fix for bug #1108231
2004-01-23 Ted Gould <ted@gould.cx>
* po/POTFILES.in, share/extensions/dia.inx,
src/preferences-skeleton.h, src/extension/Makefile_insert,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/error-file.cpp, src/extension/error-file.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/init.cpp, src/extension/prefdialog.cpp:
Adding in functionality to write out an error log based on the failing to
load of extensions. There is also a new error dialog that appears if one
or more fail to alert the user and tell them where the error log is
stored. In the log there is more complex descriptions of what failed.
2004-01-23 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: fix for id binding bug
2004-01-23 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: don't complain about not having a namespace
URI for the standard xml: prefix
* src/desktop-style.cpp, src/desktop.cpp, src/document-undo.cpp,
src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp,
src/interface.cpp, src/nodepath.cpp, src/object-edit.cpp,
src/path-chemistry.cpp, src/prefs-utils.cpp, src/select-toolbar.cpp,
src/selection-chemistry.cpp, src/sp-defs.cpp, src/sp-flowdiv.cpp,
src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-item.cpp,
src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object.cpp,
src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-string.cpp,
src/sp-text.cpp, src/sp-tspan.cpp, src/sp-use.cpp, src/splivarot.cpp,
src/text-chemistry.cpp, src/text-context.cpp, src/text-editing.cpp,
src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp,
src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp,
src/extension/extension.h, src/extension/implementation/script.cpp,
src/widgets/dash-selector.cpp, src/widgets/gradient-vector.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert,
src/xml/comment-node.h, src/xml/element-node.h,
src/xml/repr-action-test.cpp, src/xml/repr-css.cpp,
src/xml/repr-get-children.cpp, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h, src/xml/simple-document.cpp, src/xml/simple-document.h,
src/xml/simple-node.cpp, src/xml/simple-node.h,
src/xml/sp-repr-action.cpp, src/xml/sp-repr-doc.h, src/xml/sp-repr.h,
src/xml/text-node.h:
got rid of xml/repr-private.h, removed
sp_repr_document_createTextNode(), made SPRepr and SPReprDoc abstract
interfaces, and moved the SPRepr implementations into separate files
in the Inkscape::XML namespace
* src/util/shared-c-string-ptr.h: added equality operators to avoid
certain ambiguities
2004-01-22 MenTaLguY <mental@rydia.net>
* src/xml/Makefile_insert, src/xml/repr-private.h, src/xml/repr.cpp,
src/xml/session.h, src/xml/simple-session.cpp, src/xml/simple-session.h,
src/xml/sp-repr-action.cpp, src/xml/transaction-logger.h:
added Inkscape::XML::Session and Inkscape::XML::TransactionLogger
to provide a new interface for transactions, rather than doing it from
SPReprDoc
2004-01-22 MenTaLguY <mental@rydia.net>
* src/xml/Makefile_insert, src/xml/node-observer.h,
src/xml/repr-private.h, src/xml/repr.cpp:
moved repr loging behind generic observer interface
2005-01-22 Ted Gould <ted@gould.cx>
* src/display/canvas-grid.cpp, src/display/canvas-grid.h;
Fixing 1103001. Now major grid lines work alot more like you
think that they should.
2005-01-21 MenTaLguY <mental@rydia.net>
* src/util/Makefile_insert, src/util/shared-c-string-ptr.cpp,
src/util/shared-c-string-ptr.h, src/util/shared-c-string.cpp,
src/util/shared-c-string.h, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h:
renamed Util::SharedCString to Util::SharedCStringPtr, which is
more descriptive of what it actually is
2005-01-21 MenTaLguY <mental@rydia.net>
* src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp:
simplify the cacheing of repr position indices, and make it something
that can work with an abstract interface
2005-01-20 Kees Cook <kees@outflux.net>
* src/file.cpp: added some debug output to help bulia debug bug #1102318.
* configure.ac: more attempts at detecting the -lgc libs.
2005-01-19 Kees Cook <kees@outflux.net>
* configure.ac: trying to correct the -lgc detection.
* inkscape.pod: added theme details.
* src/widgets/widget-sizes.h: went from 20 to 24 for toolbar icon size
to match other GTK applications.
* src/extension/db.cpp: corrected STL "not found" handling. Didn't
fix bug #1102318.
2005-01-18 Kees Cook <kees@outflux.net>
* src/inkscape.h, src/inkscape.cpp, src/widgets/icons.cpp:
Added basic theme support! Whee!
* share/inkscape/icons.svg: restoring original up/down/flip icons since
icons are themable now. We should stick to our original look.
* share/screens/about.svg: added Brisgeek's 0.41 about screen. Had
to tweak background: looks like doc background isn't imported.
* share/icons/*.xpm, share/icons/*.png: removed them. Not being used.
2005-01-17 MenTaLguY <mental@rydia.net>
* src/desktop-style.cpp, src/inkscape.cpp, src/interface.cpp,
src/path-chemistry.cpp, src/prefs-utils.cpp, src/selection-chemistry.cpp,
src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-object.cpp,
src/sp-text.cpp, src/sp-tspan.cpp, src/splivarot.cpp,
src/dialogs/xml-tree.cpp, src/extension/internal/pov-out.cpp,
src/widgets/dash-selector.cpp, src/xml/repr-css.cpp,
src/xml/repr-get-children.cpp, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/sp-repr-action.cpp:
Made all SPRepr fields private, and moved most functionality into
member functions. Also shuffled SPReprDoc members, to avoid
need for SPReprDoc to be finalized.
2005-01-17 Kees Cook <kees@outflux.net>
* share/markers/markers.svg: applied patch #990884, which provides a
few mirrored arrows until marker transforms are finished.
* share/icons/icons.svg: updates per Bulia's request.
2005-01-16 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: non-elements no longer get ids assigned
2005-01-15 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/document-private.h, src/document.cpp,
src/document.h, src/event-context.cpp, src/node-context.cpp,
src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/toolbox.cpp, src/uri-references.cpp,
src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp,
src/xml/sp-repr-event-vector.h:
Removed attribute setting callback, and decoupled ids and object/repr
bindings (object <-> repr associations are now remembered directly,
though ids are still tracked too).
This means it is now possible to set a null id on an object without
anything breaking (hopefully). For now we will still assign ids
to everything by default...
2005-01-15 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/event-context.cpp, src/node-context.cpp,
src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/toolbox.cpp,
src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp,
src/xml/sp-repr-event-vector.h:
remove all veto callbacks but setting attributes
2005-01-15 Kees Cook <kees@outflux.net>
* src/inkscape.cpp: correcting windows path for preferences. Closes
bug #933461.
* src/file.cpp, src/nodepath.cpp, src/selection-describer.cpp,
src/seltrans.cpp, src/sp-item-group.cpp, src/sp-path.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/dialogs/find.cpp:
Using ngettext for plural localized strings. Please try to keep this
up. Closes bug #1076872.
* share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp,
src/inkscape-stock.h, src/dialogs/stroke-style.cpp,
src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp: Finished the last of the missing pixmap
replacements from Andreas Nilsson. Fixed some mistakes in the earlier
changes (need to call sp_icon_new_scaled not sp_icon_new).
2005-01-14 MenTaLguY <mental@rydia.net>
* src/gc.cpp: leave the free space multiplier at the default, which
will hopefully (according to Hans) avoid some of the odd gc issues
we've had, if nothing else does
2005-01-14 Kees Cook <kees@outflux.net>
* share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp,
src/inkscape-stock.h, src/verbs.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/transformation.cpp, src/widgets/icon.cpp, src/widgets/icon.h,
src/widgets/paint-selector.cpp:
Fixed up code and replaced pixmaps with icons from myself and
Andreas Nilsson.
2005-01-11 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: promote non-namespaced SVG documents into SVG
namespace
2005-01-08 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/gc-anchored.cpp, src/gc-anchored.h:
abstracted allocation of anchors
2005-01-06 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/extension/effect.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/plugin-link.h,
src/extension/implementation/plugin.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h, src/extension/plugin/gimpgrad.cpp,
src/extension/plugin/grid.cpp:
Changing the effects preferences so that it uses sockets and plugs which
will allow out of process GUIs to work too. This is a first pass with
nothing beautiful, but it does seem to work.
2005-01-03 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/main.cpp, src/sp-root.cpp:
get rid of ugly xmlns hacks
* src/inkscape.cpp, src/extension/internal/svg.cpp, src/xml/repr-io.cpp:
automatically include xmlns declarations for the required namespaces,
and make a best effort at using a default namespace when requested
and possible
2005-01-02 Kees Cook <kees@outflux.net>
* share/icons/icons.svg: updated view and location
* src/document.cpp, src/dialogs/rdf.cpp: fixed another bug in metadata
due to svg: prefix change.
* src/inkscape-stock.h, src/inkscape-stock.cpp, share/icons/Makefile.am:
removed unused xpm icons
2005-01-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/fontsize-expansion.h, src/fontsize-expansion.cpp:
New files.
* src/Makefile_insert: Add the new files to libinkpre_a_SOURCES.
* src/desktop-style.cpp (sp_desktop_apply_css_recursive):
When calling sp_css_attr_scale, change the expansion calculation
to use fontsize_expansion().
* src/sp-text.cpp (sp_text_set_transform): Similarly use
fontsize_expansion() instead of generic m.expansion().
2005-01-01 Kees Cook <kees@outflux.net>
* src/extension/db.h, src/extension/db.cpp, src/extension/init.cpp:
created "modulelist" to maintain initialization order for extension
lists.
2004-12-31 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp, src/xml/repr.h: initial scaffoliding for more
cosmetic use of prefixes in output files (and eventually more proper
namespace handling for output as well)
2004-12-31 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-text.cpp (sp_text_set_transform): Change scaling of font size.
The result should be closer to what CorelDraw, XaraX, Canvas 7 and
Expression3 do according to vellum, though I don't know the exact
rule that they use.
2004-12-25 Ted Gould <ted@gould.cx>
* share/extensions/grid.inx, src/extension/extension.cpp,
src/extension/extension.h, src/extension/plugin/grid.cpp:
Futher improvements to the grid plugin. This involves mostly adding in
parameters at this time, but, ofcourse, I never implemented floating
point parameters -- so that had to be done first. More modular code so
that things can be adjusted externally better.
2004-12-25 Ted Gould <ted@gould.cx>
* share/extensions/Makefile.am, share/extensions/grid.inx,
src/extension/implementation/plugin-link.h,
src/extension/implementation/plugin.cpp,
src/extension/plugin/Makefile_insert, src/extension/plugin/gimpgrad.cpp,
src/extension/plugin/grid.cpp:
Adding in a new effect plugin, grid. It draws a grid on the canvas which
is just an easy way to do some neat things. It is mostly done, but still
needs cleanup. Some other files required modification to make this
possible.
2004-12-25 MenTaLguY <mental@rydia.net>
* src/event-context.cpp: removed unused handler
2004-12-25 Ted Gould <ted@gould.cx>
* share/extensions/svg_dropshadow:
Changing to use "svg:g" instead of "g" for the group.
* src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h,
src/extension/system.cpp, src/extension/system.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/plugin.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h:
Final stuff to get Effects working as well as the did before, which
is okay, but not great. This involved changing the API to get an SPView
instead of an SPDocument because then I can get the selection information
from the view that is being used.
2004-12-24 MenTaLguY <mental@rydia.net>
* src/sp-object-repr.cpp, src/sp-tspan.cpp, src/splivarot.cpp,
src/dialogs/rdf.cpp, src/dialogs/xml-tree.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h:
cleaned out unused code and unhygenic macros, as well as fixing
constructors for text and comment nodes
2004-12-24 Ted Gould <ted@gould.cx>
* src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h:
Okay, now the effects menu really works! Well, the implementation seems
to be broken, but the wrapper seems to be all working.
2004-12-24 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/verbs.cpp, src/verbs.h, src/extension/effect.cpp,
src/extension/effect.h:
Getting the Effects menu basically working. This included some fixes to
the verbs where they were incrementing the database incorrectly. The
effects are the first component to take advantage of the dynamically
created verbs, and exercised new code. Now the basic menu is available,
but there is no functionality there.
2004-12-24 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/verbs.cpp, src/verbs.h:
Basic code for the effects menu.
* src/dialogs/filedialog.cpp, src/dialogs/filedialog.h,
src/extension/db.cpp, src/extension/db.h:
Changing the DB access functions to use std::list instead of GSList so
that it is more standard, and we get rid of a specialized class that
really isn't that useful. Less memory usage, and fixes a leak.
* src/extension/effect.cpp, src/extension/effect.h:
Adding in a "Last Effect" to be used in the menus.
* src/extension/extension-forward.h, src/extension/extension.cpp,
src/extension/extension.h, src/extension/input.cpp,
src/extension/output.cpp, src/extension/timer.cpp, src/extension/timer.h,
src/extension/Makefile_insert:
Adding in the timer functions so that modules will unload in a given
amount of time. For more information on this read the documentation
in the files. Kinda a lazy deallocation.
* src/extension/implementation/implementation.cpp:
Fix unload so that it is not recursive.
2004-12-23 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/document.cpp, src/draw-context.cpp,
src/dyna-draw-context.cpp, src/file.cpp, src/gradient-chemistry.cpp,
src/interface.cpp, src/layer-fns.cpp, src/main.cpp, src/object-ui.cpp,
src/path-chemistry.cpp, src/rect-context.cpp,
src/selection-chemistry.cpp, src/sp-anchor.cpp, src/sp-clippath.cpp,
src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp,
src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-gradient-test.cpp,
src/sp-gradient.cpp, src/sp-image.cpp, src/sp-item-group.cpp,
src/sp-line.cpp, src/sp-marker.cpp, src/sp-mask.cpp,
src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-offset.cpp,
src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp,
src/sp-polyline.cpp, src/sp-rect.cpp, src/sp-root.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-text.cpp,
src/sp-tspan.cpp, src/sp-use.cpp, src/spiral-context.cpp,
src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
src/text-context.cpp, src/dialogs/find.cpp, src/dialogs/rdf.cpp,
src/dialogs/xml-tree.cpp, src/ecma/EcmaBinding.cpp,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/svg.cpp, src/livarot/ShapeDraw.cpp,
src/xml/repr-io.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp:
use normalized qnames for SVG elements too
2004-12-23 Kees Cook <kees@outflux.net>
* configure.ac, src/Makefile_insert, src/extension/script/Makefile_insert:
adding Perl and Python compile tests. Corrected library locations.
* src/extension/script/InkscapeScript.h,
src/extension/script/InkscapePython.cpp,
src/extension/script/InkscapeScript.cpp: white space fix, and
added config.h, and some small debugging for myself. Hope Bob doesn't
mind! :)
* src/dialogs/scriptdialog.cpp: added comments to default code.
2004-12-22 Kees Cook <kees@outflux.net>
* configure.ac, src/extension/script/Makefile_insert: automake cleanups
to deal with perl/python detection.
2004-12-20 David Turner <novalis@gnu.org>
* src/widgets/gradient-vector.cpp:
Fixed bug with gradient stops at 0 and 100%. Closes 1085920.
2004-12-18 Bob Jamison <rjamison@titan.com>
* src/extensions/script/*:
New files that enable embedding of scripting languages
in Inkscape. Currently using Swig to embed Perl and Python.
* autoconf.ac:
Allow opting for perl or python with --with-perl=yes|no
and --with-python=yes|no
2004-12-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* streq.h (streq), strneq.h (strneq), memeq.h (memeq):
New convenience functions for strcmp(a,b)==0 etc.
* src/dir-util.cpp (sp_relative_path_from_path):
Fix when base is a string prefix of path but a directory prefix
(e.g. path=/foo/barney, base=/foo/bar).
2004-12-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-conn-end.cpp (sp_conn_end_move_compensate):
Fix for undo/save: wasn't calling updateRepr().
2004-12-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.cpp (sp_style_merge_from_style_string):
More standards-conforming parsing of style strings into prop:value
pairs.
2004-12-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.h, src/style.cpp, src/libnrtype/font-style-to-pos.cpp:
Fix font-weight value: s/darker/bolder/.
* src/style.cpp (sp_style_merge_from_parent):
Fix bug with specifying stroke-width with unit of em or ex.
(We were ignoring the number, treating it as 1em or 1ex.)
* src/style.h, src/style.cpp (sp_style_read_dash,
sp_style_write_string, sp_style_write_difference):
Allow `inherit' as a value for dasharray.
(Also plug small memory leak in sp_style_read_dash.)
2004-12-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.cpp (sp_style_write_string):
Fix for when stroke-dasharray either explicitly set to `none', or
inherits non-none.
* src/style.cpp (sp_style_write_ienum):
Fix: preserve explicit `inherit' request.
* (sp_style_read, sp_style_merge_property):
Allow explicit `inherit' for `display' property.
* src/style.cpp (sp_style_read):
Fix copy&paste bug affecting `visibility' and `display' properties.
2004-12-07 David Turner <novalis@gnu.org>
* src/libnrtype/RasterFont.cpp, src/display/nr-arena-shape.cpp:
Fixed dash rendering bug (#1077213)
2004-12-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.h, src/style.cpp: Support all `display' values
required by SVG 1.1. (No functional change, insofar as the new
values all have the same behaviour as our existing `block' value
in SVG.)
* src/sp-item.cpp, src/style.cpp: Use `inline' (SP_CSS_DISPLAY_INLINE)
rather than `block' as our generic display value meaning `don't hide
this', as per spec.
* src/style.cpp: Prefer to write lr-tb etc. rather than the
abbreviations lr etc. (Also add comment saying why.)
2004-12-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/xml-tree.cpp (on_attr_select_row_set_value_content):
Fix segfault: treat NULL as empty string for display purposes.
2004-11-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/svg/svg.h, src/svg/sp-svg.def, src/svg/svg-length.cpp:
(sp_svg_boolean_read, sp_svg_write_percentage):
Remove these unused functions.
(sp_svg_length_read_lff, sp_svg_number_write_d,
sp_svg_number_write_i): Mark static.
* configure.ac:
When adding -lgc to LIBS, also add its dependencies -lpthread -ldl.
2004-11-28 Ted Gould <ted@gould.cx>
* 0.40
2004-11-25 MenTaLguY <mental@rydia.net>
* share/tutorials/tutorial-calligraphy.svg: spelling fix
* src/widgets/layer-selector.cpp: fixing the layer selector update bug;
sigc++ apparently doesn't deal with reference arguments very well
2004-11-25 MenTaLguY <mental@rydia.net>
* src/layer-fns.cpp: fix layer creation within sublayers
* src/dialogs/layer-properties.cpp: fix dialog leak
2004-11-25 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp: eliminate duplicated code across #ifdefs
* src/verbs.cpp, src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h:
LayerPropertiesDialog is no longer a singleton, since it's kind of a
per-desktop (well, ideally per-document) thing. Remaining to do:
fix update of layer selector widget, and eliminate leak of dialog
objects.
2004-11-24 Kees Cook <kees@outflux.net>
* inkscape.spec: added SMP flags, added static library link capability.
2004-11-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/draw-context.cpp (spdc_concat_colors_and_flush):
Do nothing if empty curve; in particular, don't try to close an
empty curve.
* src/pen-context.cpp (spdc_endpoint_snap):
Fix use of uninitialized value when snapping.
2004-11-23 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp: Fixing bug causing two new
layers to get created when hitting enter
2004-11-23 Kees Cook <kees@outflux.net>
* share/tutorials: added Josh's changes, resized, repositioned for
800x600.
* src/verbs.h, src/verbs.cpp, src/interface.cpp: added tracing
tutorial.
2004-11-23 MenTaLguY <mental@rydia.net>
* src/rect-context.cpp: disallow drawing on locked or invisible layers
* src/widgets/layer-properties.h, src/widgets/layer-properties.cpp:
slight HIG-ification
* src/desktop.cpp, src/desktop.h, src/widgets/layer-selector.cpp,
src/widgets/layer-selector.h, src/verbs.cpp, src/sp-desktop-widget.h
removed vestigal layer renaming thing
* src/verbs.cpp, src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h:
reuse dialog for creating layers as well as for renaming them
2004-11-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp (generate_bezier): For the sake of
our current pencil tool, don't use free optimization of the end
tangent vector.
2004-11-21 MenTaLguY <mental@rydia.net>
* src/verbs.cpp: add accels for layer menu items
2004-11-21 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp, src/verbs.cpp,
src/dialogs/layer-properties.h: Hooking up layer rename
functionality, and making it show correctly.
* src/dialogs/debugdialog.cpp, src/dialogs/find.cpp,
src/dialogs/tracedialog.cpp: Fixing dialog show behavior
2004-11-21 Kees Cook <kees@outflux.net>
* src/sp-object.cpp, src/sp-metadata.cpp: added some debugging, and
fixed a dumb error in my metadata _release handler. Should mostly
close bug 1069772.
* src/Makefile_insert, src/sp-skeleton.cpp, src/sp-skeleton.h:
created some example SPObject implementations for a basis for any
new SPObjects in the future.
* src/dialogs/xml-tree.cpp: fixing logic bug in identability checker.
Added immutability test to actually close 1069772.
* share/icons/icons.svg, src/verbs.cpp, src/interface.cpp: adding
icons for the "new" menu, vacuum, reverse, make bitmap, and trace.
2004-11-20 Jon A. Cruz <jon@joncruz.org>
* src/extension/db.h, src/extension/db.cpp, src/dialogs/filedialog.cpp:
Added extension matching pattern. Fixed bug 1064888.
* src/dialogs/filedialog.cpp (isValidImageFile):
Fixed previewing bug 1067551.
2004-11-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Add splitpoints parameter. Callers updated.
* src/display/bezier-utils.cpp
(sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full):
Change last parameter from lg_max_beziers to max_beziers.
Callers updated.
2004-11-19 Bryce <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h: Adding some widgets.
2004-11-18 Bryce <bryce@bryceharrington.org>
* src/dialogs/Makefile_insert, src/dialogs/makefile.msc,
src/dialogs/layer-properties.h, src/dialogs/layer-properties.h:
Adding a layer properties dialog for renaming layers
* src/desktop.cpp src/interface.cpp, src/verbs.cpp,
src/verbs.h src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h,
src/widgets/layer-selector.cpp: Hooking in layer props dialog.
2004-11-16 MenTaLguY <mental@rydia.net>
* src/widgets/document-tree-model.cpp, src/widgets/document-tree-model.h,
src/widgets/layer-selector.cpp, src/widgets/Makefile_insert:
removed Widgets::DocumentTreeModel because unused
* src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h:
cache successive sibling counts (self+subsequent siblings) in SPRepr
to make sp_repr_n_children() and sp_repr_position() more efficient,
which will be needed later for e.g. GTK tree models.
sp_repr_nth_child() isn't any faster as a result of the changes,
but it probably won't need to be
* src/xml/repr.cpp: fixed refcount leak in SPRepr::SPRepr(SPRepr const &)
2004-11-15 MenTaLguY <mental@rydia.net>
* src/gc.cpp: add initial stubs that print an informative error
if the GC functions are used before Inkscape::GC::init() is called
2004-11-14 MenTaLguY <mental@rydia.net>
* configure.ac, src/gc-core.h, src/gc-managed.h, src/gc-anchored.h,
src/gc-finalized.h, src/gc.cpp:
make disabling the collector a run-time rather than a compile-time
option; there are now three garbage collector options, selectable
by setting the _INKSCAPE_GC environment variable:
* enable - the normal collector (default)
* debug - the debugging collector
* disable - use standard malloc in place of the libgc allocator
2004-11-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp: Make end tangent/s be unconstrained for
sp_bezier_fit_cubic, sp_bezier_fit_cubic_r, and around corner nodes.
* src/pencil-context.cpp (fit_and_split): Allow the bezier fitter to
choose the middle control points freely except to the extent required
for smooth nodes.
* src/display/bezier-utils.cpp (generate_bezier):
If either end tangent is specified as zero then estimate the
corresponding control point without constraining its direction
from the endpoint.
* src/pencil-context.h, src/pencil-context.cpp
(fit_and_split, sp_pencil_context_init): Explicitly remember required
tangent instead of using "first two points" hack.
* src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Detect & prevent "ghost spikes", by allowing a corner node if
the specified tangent would result in a spike.
* src/display/bezier-utils.cpp (generate_bezier): Better handling
of the case of infinite solutions for the lengths of the two
tangent vectors: try requiring that the lengths equal each other,
and solving for that length (just one variable).
2004-11-13 Kees Cook <kees@outflux.net>
* src/document.cpp: wrapped updateDisplay call in undo insensitivity.
Closes bug #1030436.
2004-11-12 MenTaLguY <mental@rydia.net>
* src/main.cpp: fpresetsticky -> fpsetsticky
* src/verbs.cpp: cast width changes
* src/libnrtype/FlowBoxes.h, src/libnrtype/FlowDefs.h,
src/libnrtype/FlowDest.h, src/libnrtype/FlowEater.h,
src/libnrtype/FlowRes.h, src/libnrtype/FlowSols.h,
src/libnrtype/FlowSrc.h, src/libnrtype/FlowSrcText.h,
src/libnrtype/FlowStyle.h, src/libnrtype/FlowUtils.h:
remove stdint.h which isn't being used here
* src/widgets/icon.h, src/widgets/icon.cpp:
icon greys out when insensitive
* src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h:
documentation
* src/verbs.cpp: changed cast to reinterpret_cast to hopefully
avoid compiler warning
2004-11-11 Kees Cook <kees@outflux.net>
* src/seltrans.cpp, src/select-context.cpp: ref counting SPObjects
correctly so undo's don't blow up an active resize/move. Closes
bug #1018756.
2004-11-11 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp, src/main.cpp, src/widgets/icon.cpp:
removed sp_bitmap_icons
* configure.ac, src/sp-image.cpp, src/object-ui.cpp:
removed stale autotrace support code
2004-11-10 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp, src/sp-clippath.cpp, src/cp-mask.cpp:
minor refcounting tweaks
* src/sp-image.cpp: fixed failure to release GdkPixbufLoader when
done with it (fixes bug #1063054)
2004-11-10 Kees Cook <kees@outflux.net>
* configure.ac, src/gc-core.h: corrected gc.h path detection.
2004-11-09 MenTaLguY <mental@rydia.net>
* src/dialogs/fileselector.cpp: fixed cut-and-paste refcount bug
between SVGPreview::setFileName and SVGPreview::setFromMem that
was leaking bitmap image preview SPDocuments
2004-11-09 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/item-properties.cpp
2004-11-09 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp, src/style.cpp, src/style.h:
use 'display' rather than 'visibility' for hiding, and give display
a more "modern" representation in SPStyle like visibility's
2004-11-09 Kees Cook <kees@outflux.net>
* src/dialogs/xml-tree.cpp: added better context to the status bar.
added warning flash for id conflicts.
* src/toolbox.cpp: killed some copy/paste code while bug hunting.
2004-11-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-item.h, src/sp-item.cpp
(isExplicitlyHidden, setExplicitlyHidden): New methods.
* src/dialogs/item-properties.cpp: Change from having a `Visible'
checkbox that explicitly sets the SVG visibility property to
having a `Hide' checkbox that controls whether or not the
element has visibility:hidden. (Mitigates #1061934.)
* src/sp-object.h, src/sp-object.cpp (visible, setVisible):
Remove these methods.
2004-11-07 MenTaLguY <mental@rydia.net>
* src/gc-finalized.h: fix for Debian bug #279991 (cast to ptrdiff_t
rather than int), and basic documentation
2004-11-06 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix desktop-specific version of SPItem::isHidden()
to deal correctly with parent visibility
2004-11-05 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: more work on making the lock/hide
buttons actually do something
* src/sp-item.cpp, src/sp-item.h: implement lock/hide related methods
* src/verbs.cpp: "Remove All Kerns" -> "Remove Manual Kerning"
2004-11-04 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.h, src/dialogs/rdf.cpp: added rdf:Bag for the
dc:subject keyword list. Closed bug #1021025.
* src/dialogs/xml-tree.cpp, src/widgets/sp-xmlview-attr-list.cpp,
src/widgets/sp-xmlview-attr-list.h: added status bar to XML
editor. added row-change callback for XML tree view. This
all supports a possible future solution to bug #869683.
* src/dialogs/desktop-properties.cpp: memory leak in RDF code.
2004-11-04 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: togglable images and formatting
changes (make current layer bold)
* src/uri.h, src/uri.cpp: added assignment operator
2004-11-03 MenTaLguY <mental@rydia.net>
* src/widgets/Makefile_insert, src/widgets/shrink-wrap-button.cpp,
src/widgets/shrink-wrap-button.h:
added Inkscape::Widgets::shrink_wrap_button, to make any gtk button
an SPButton-like shrink-wrapped button
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
abandon SPButton for layer selector buttons
2004-11-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* po/check-markup: New script: detects <b>markup<b> <b>problems<7b>
in the <b>translated strings. (~10 such problems found.)
* Makefile.am (all, check, distcheck): Run po/check-markup (with
varying permissiveness of errors).
2004-11-02 MenTaLguY <mental@rydia.net>
* doc/keys.xml: added documentation of layer keys
2004-11-01 Kees Cook <kees@outflux.net>
* src/dialogs/align.cpp, src/dialogs/debugdialog.cpp: localized
some missed strings.
2004-11-01 MenTaLguY <mental@rydia.net>
* share/icons/icons.svg: gave bulia's eye icons ids
* src/widgets/layer-selector.h, src/widgets/layers-selector.cpp:
fixed up visibility/lock toggles... now to make them actually do
something
2004-10-31 MenTaLguY <mental@rydia.net>
* src/util/glib-list.h: adaptor for glib lists
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
save the repr next to the SPObject
2004-10-30 MenTaLguY <mental@rydia.net>
* src/util/list.h: more list cleanups and documentation
* src/verbs.cpp: call sp_document_done() for layer verbs too
2004-10-30 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/item-properties.cpp, src/sp-object.h: Cleaning up
stubs, disabling some more of the desc code to prevent crash.
The change to SPObject::label() broke the label editing code;
fixing it.
2004-10-30 Kees Cook <kees@outflux.net>
* src/sp-metadata.cpp, src/sp-metadata.h, src/Makefile_insert,
src/document.cpp, src/sp-object-repr.cpp, src/sp-object.cpp:
I've created my very first SPObject! SPMetadata is alive! No
more nasty hack to have it disappear from SVG Plain. Mental
won't have to take away my CVS access any more! :)
* inkscape2.nsi: update from Adib Taraben
2004-10-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.cpp (nr_matrix_invert):
Fix for last commit to this file, which broke src==dest case.
* src/libnr/nr-matrix-test.cpp: Add test cases for nr_matrix_invert.
2004-10-30 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
update when layers added/removed/reordered.
* src/verbs.h, src/verbs.cpp: added "rename layer" verb.
2004-10-29 Kees Cook <kees@outflux.net>
* src/Makefile_insert, src/trace/Makefile_insert,
src/util/Makefile_insert: distcheck cleanups.
2004-10-29 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: default labels in italic
* src/sp-object.h, src/sp-object.cpp: inkscape:label fixes
* src/layer-fns.cpp: make ordering of layers complete; not just among
siblings
* src/util/list.h: documentation update
2004-10-29 Bryce Harrington <bryce@bryceharrington.org>
* layer-fns.cpp: documenting
* layer-selector.cpp: documenting & fixing funky widget resizing
* object-ui.cpp, dialogs/item-properties.cpp, sp-object.h,
sp-object.cpp, widgets/layer-selector.cpp: add ability to set
inkscape:label from "Item Properties", remove id setting from
"Item Properties", switch to using
SPObject::label()/SPObject?::defaultLabel() in UI where object
ID is currently used. Documenting. Switching from "label" to
"inkscape:label" where appropriate. Adding
visible()/setVisible() functions and activating checkbox.
* dialogs/item-properties.cpp: Adding title and desc boxes.
Adjusting layout of dialog a bit. Changing to use of tables
instead of horiz/vert boxes for layout. Setting to inactive
until some underlying bits get finished.
2004-10-29 Kees Cook <kees@outflux.net>
* src/dialogs/export.cpp: moved function-based static state variable
into the dialog state variables. Closes bug #993447.
* src/display/curve.cpp: fixed compile warning.
* src/sp-namedview.cpp: wasn't ref counting correctly. Closes #955020.
2004-10-29 Jon A. Cruz <jon@joncruz.org>
* src/sp-image.cpp, src/extension/internal/gdkpixbuf-input.cpp:
Refactoring filenames and file opening
Scales imported images if DPI is known and not 72 DPI. Fixes
#1029755
2004-10-29 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp, src/verbs.cpp:
unselect objects when layer is manually switched
2004-10-28 Kees Cook <kees@outflux.net>
* src/document-undo.cpp, src/document.cpp, src/sp-namedview.cpp,
src/sp-text.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/export.cpp, src/extension/input.cpp,
src/extension/output.cpp, src/extension/system.cpp:
Fixing calls to sp_document_set_undo_sensitive to correct allow for
nesting, as suggested by mental. Found while tracking down bug
#1030436.
2004-10-28 MenTaLguY <mental@rydia.net>
* src/util/list.h: cleanups of list class. I think, aside from
documentation and maybe fixes for g++ 3.4 (if required), this
is the last set of changes I will need to make.
* src/sp-item.cpp, src/splivarot.cpp, src/util/reverse-list.h,
src/util/filter-list.h, src/util/map-list.h:
adjust for changes in the list class' interface
* src/desktop.cpp, src/sp-desktop-widget.h:
removed old layer selector and added SPDesktop::itemIsHidden()
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
more work; it's now at least as functional as the old selector it
replaces
2004-10-27 Kees Cook <kees@outflux.net>
* src/libnr/nr-point.h: use NR::X and NR::Y instead of "0" and "1".
* src/dialogs/export.cpp: stack/register weirdness requires a function
call to get true == comparison of NR::Rect's. Closes bug #1048614.
* src/dialogs/align.cpp: saving erased iterator. Closes bug #1054270.
* share/extensions/ill2svg.pl: added strict, warnings, and detection
of Image::Magick module. Closes bug #990659.
* src/dialogs/find.h, src/dialogs/find.cpp: removed unfinished new
find dialog instantiation. Closes bug #1048802.
2004-10-27 Carl Hetherington <inkscape@carlh.net>
* src/extension/output.cpp: better fix for 1004134 after advice
from Ted.
2004-10-26 Carl Hetherington <inkscape@carlh.net>
* src/extension/output.cpp: don't reset modified flag until after
save has happened, in case it fails. Fixes 1004134.
* src/livarot/ShapeSweep.cpp: fix a typo in my cleanups. Fixes
1048151.
2004-10-25 Bryce Harringotn <bryce@bryceharrington.org>
* file.cpp, file.h, dialogs/export.cpp: Adding error return logic
for png export code so that failure to write can be tracked.
Adding an error dialog for when this occurs. Fixes bug 1038932.
* extension/system.cpp: Changing sp_ui_error_dialog to g_warning
so won't crash when running from commandline. Fixes bug
1000350.
* inkscape.cpp, inkscape.h, main.cpp, dialogs/filedialog.cpp:
Adding Inkscape::Application::use_gui flag as temporary hack to
prevent gui dialogs from being used when running from
commandline. Fixes bug 1045067.
2004-10-26 Carl Hetherington <inkscape@carlh.net>
* src/livarot/PathCutting.cpp: fix a couple of bugs that I
introduced that cause crashes on cut path.
2004-10-25 Kees Cook <kees@outflux.net>
* src/sp-object.cpp: nasty hack to not export metadata on "Plain SVG".
I promise I'll fix this with a proper SPObject soon.
2004-10-25 Jon A. Cruz <jon@joncruz.org>
* src/file.cpp, src/file.h, src/inkscape.cpp, src/sp-image.cpp,
src/uri.cpp, src/uri.h, src/dialogs/filedialog.cpp,
src/extension/input.cpp, src/extension/implementation/script.cpp,
src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
src/extension/internal/win32.h, src/extension/plugin/gimpgrad.cpp,
src/helper/png-write.cpp, src/trace/imagemap.cpp, src/xml/repr-io.cpp:
Refactoring filenames and file opening
2004-10-24 MenTaLguY <mental@rydia.net>
* src/Makefile.am: added/removed files
* src/util/copy-list.h: nobody's using it right now, get rid of it
* src/traits/copy.h, src/traits/list-copy.h:
traits for determining the type to make a copy of a value
* src/sp-item.cpp, src/util/filter-list.h src/util/map-list.h,
src/util/reverse-list.h, src/widgets/layer-selector.cpp
src/xml/sp-repr-action.cpp:
let the list functions infer their own result type (where possible)
* src/util/forward-pointer-iterator.h: its value type is a reference
2004-10-23 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: removed vertical usize limits on statusbar
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
more layer selector work; simplfied model and customized CellRenderer
settings a bit
* src/attributes.cpp, src/attributes.h, src/sp-object.cpp, src/sp-object.h:
add inkscape:label attribute
* src/file.cpp, src/sp-anchor.h, src/sp-animation.h, src/sp-chars.h,
src/sp-clippath.h, src/sp-conn-end.cpp, src/sp-defs.h, src/sp-ellipse.h,
src/sp-gradient.h, src/sp-guide.h, src/sp-image.h, src/sp-line.h,
src/sp-linear-gradient.h, src/sp-marker.h, src/sp-mask.h,
src/sp-namedview.h, src/sp-object-group.h, src/sp-offset.h, src/sp-path.h,
src/sp-pattern.h, src/sp-polygon.h, src/sp-polyline.h,
src/sp-radial-gradient.h, src/sp-rect.cpp, src/sp-rect.h, src/sp-root.h,
src/sp-spiral.h, src/sp-star.h, src/sp-stop.h, src/sp-string.h,
src/sp-symbol.h, src/sp-text.h, src/sp-tspan.h, src/sp-use.h,
src/sp-offset.cpp, src/sp-shape.h:
make inheritance actual
2004-10-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/*: Move some things from nr-matrix-ops.h to new files.
* src/libnr/nr-point-fns.h, src/libnr/nr-point-fns.cpp:
New function is_zero. Move is_unit_vector here
(was private to sp-spiral.cpp).
* src/display/bezier-utils-test.cpp: Disable a test, replacing with a
todo printf and adding a comment explaining.
2004-10-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/pencil-context.cpp: Ensure that data points array p is uniqued
and contains no NaNs.
* src/libnr/nr-point-fns.cpp (LInfty): Fix bug with NaN coordinates:
return NaN (rather than unspecified behaviour).
* src/libnr/nr-point-fns-test.cpp: Add test cases for L1,L2,LInfty
handling of NaN.
* src/pencil-context.cpp: Fix bug: undesirable interactions between
snapping and snap-to-anchor.
2004-10-21 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: SPDesktop::currentRoot() should pull from
the current layer hierarchy just like SPDesktop::currentLayer();
doubly so, since currently when switching documents the layer hierarchy
is updated before the document is switched
* src/util/Makefile_insert, src/util/copy-list.h: add list copy thingy
* src/util/list.h: add rest()
* src/util/reverse-list.h: bug fixes to reverse_list_in_place()
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
more work on layer selector
2004-10-21 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp: excise separate path description data
structure.
* src/livarot/Path.h, src/livarot/Path.cpp,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp, src/livarot/livarot-forward.h: move
path description structs into their own files, and rename a few
member variables.
* src/livarot/Path.h, src/livarot/PathConversion.cpp,
src/livarot/PathOutline.cpp: remove some unused functions.
2004-10-20 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.cpp: fix for 1050379, and probably lots of
others.
* src/livarot/Path.h, src/livarot/PathOutline.cpp: bug fix for a
previous commit.
* src/livarot/Path.cpp: fix a memory leak.
2004-10-19 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.h, src/livarot/PathSimplify.cpp: more
simplification cleanups.
* src/livarot/PathStroke.cpp: coding style cleanups.
* src/livarot/Path.h, src/livarot/PathSimplify.cpp,
src/livarot/PathStroke.cpp: more cleanups; don't modify Path::pts
and Path::nbPt.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: use a
std::vector for Path::pts.
2004-10-18 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.h, src/livarot/PathSimplify.cpp: coding style
and const cleanups.
* src/livarot/PathSimplify.cpp: some very minor cleanups, and
temporary comments for myself.
* src/livarot/PathConversion.cpp: coding style cleanups.
* src/livarot/PathConversion.cpp: fix for bug 1048827.
* src/livarot/Path.h, src/livarot/PathSimplify.cpp: clean up
simplification code.
2004-10-17 MenTaLguY <mental@rydia.net>
* share/templates/Makefile.am, share/templates/layers.svg:
added a layer template
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
more layer selector work
* src/util/filter-list.h, src/util/Makefile_insert:
added filter_list()
2004-10-15 Carl Hetherington <inkscape@carlh.net>
* src/livarot/PathSimplify.cpp: remove #ifdef
pseudo_douglas_pecker code that wasn't being used.
2004-10-15 MenTaLguY <mental@rydia.net>
* src/view.h: removed obsolete status message functions
* src/attributes.h: remove unused #define
* src/sp-object.cpp: fix for bug #1048268 (inkscape:collect being written
in "plain SVG" files)
* src/sp-item.h, src/sp-item.cpp: added isLocked() and isHidden()
predicates
* src/sp-item.cpp, src/sp-style.cpp: basic support for visibility CSS
property
2004-10-14 Ted Gould <ted@gould.cx>
* share/extension/*.inkmod -> *.inx
src/extension/init.cpp
Changing the filename extension that is used to identify Inkscape
extensions to the one specified in the design document.
2004-10-14 MenTaLguY <mental@rydia.net>
* src/util/list.h: more 3.4 fixes
2004-10-13 MenTaLguY <mental@rydia.net>
* src/util/list.h, src/util/forward-pointer-iterator.h:
fixes to (hopefully) build with g++ 3.4 (and generally be less evil
anyway)
2004-10-14 Carl Hetherington <inkscape@carlh.net>
* src/livarot/int-line.cpp: coding style cleanups.
* src/livarot/float-line.cpp, src/livarot/float-line.h:
refactoring, removal of dead code.
* src/display/guideline.cpp, src/display/guideline.h: coding style
cleanups.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: merge
Path::path_lineto and Path::path_lineto_b.
2004-10-14 Carl Hetherington <inkscape@carlh.net>
* src/Path.cpp, src/Path.h, src/PathConversion.cpp,
src/PathCutting.cpp, src/PathOutline.cpp, src/PathSimplify.cpp,
src/ShapeMisc.cpp: use a vector of pointers for Path::descr_cmd.
* src/livarot/Ligne.cpp, src/livarot/Ligne.h,
src/livarot/int-line.cpp, src/livarot/int-line.h,
src/livarot/float-line.cpp, src/livarot/float-line.h,
src/livarot/livarot-forward.h, src/livarot/ShapeRaster.cpp,
src/sp-flowregion.cpp, src/display/canvas-bpath.cpp,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp,
src/display/sp-ctrlline.cpp, src/libnrtype/FlowDest.cpp,
src/libnrtype/RasterFont.cpp: split Ligne into float-line and
int-line.
* src/libnrtype/FlowDest.cpp, src/libnrtype/RasterFont.cpp,
src/libnrtype/raster-position.h, src/livarot/float-line.cpp,
src/livarot/float-line.h, src/livarot/int-line.cpp: use
std::vector for arrays in FloatLigne.
* src/livarot/float-line.cpp, src/livarot/float-line.h: remove
lots of dead code. Make some methods private.
2004-10-12 MenTaLguY <mental@rydia.net>
* src/Makefile.am: added files
* src/layer-fns.cpp, src/sp-item.cpp: use iterators, simplifying code
* src/sp-object.cpp, src/splivarot.cpp: adapt to new version of
Inkscape::Algorithms::longest_common_suffix
* src/sp-object.h, src/sp-repr-iterators.h: add new iterator classes
* src/algorithms/find-last-if.h: add counterpart of std::find_if
* src/algorithms/longest-common-suffix.h: rewrite to use iterators
* src/algorithms/longest-prefix.h, src/algorithms/longest-suffix.h,
src/algorithms/shortest-prefix.h, src/algorithms/shortest-suffix.h:
removed; these algorithms are no longer necessary when using
iterators
* src/traits/list.h: no longer needed
* src/traits/reference.h: add "Pointer" member type
* src/util/Makefile_insert: shuffled files
* src/util/list.h: reworked Inkscape::Util::List to be a "handle" type
that can also be used as an STL iterator
* src/util/forward-pointer-iterator.h: treat a pointer as an iterator,
given a base pointer type and a type which defines the iteration
strategy
* src/util/map.h: obsolete
* src/util/map-list.h: iterator-based implementation
* src/traits/tree-iterator.h: no longer necessary (superceded by
specific applications of Inkscape::Util::ForwardPointerIterator)
* src/sp-object-tree-iterator.h, src/util/parent-axis.h,
src/util/sibling-axis.h: obsolete
* src/util/map.h, src/util/reverse.h: obsolete
* src/util/map-list.h, src/util/reverse-list.h:
iterator-based implementations
* src/xml/Makefile_insert: added file
* src/xml/repr.h: removed old tree iterator stuff
* src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h: use new
pointer iterator facility
* src/xml/sp-repr-iterators.h: pointer iterators for SPRepr
2004-10-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.h, src/display/bezier-utils.cpp
(sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full): Change the meaning
of the last parameter: was max_depth, now lg_max_beziers, with the
relationship lg_max_beziers = max_depth + 1. Callers updated.
* src/xml/repr.cpp (sp_repr_change_order):
Add g_return_if_fail for some conditions that would break structural
integrity, and add a TODO comment indicating incompleteness.
Use sp_repr_prev function.
* src/xml/repr-get-children.h, src/xml/repr-get-children.cpp
(sp_repr_prev_sibling): Rename to sp_repr_prev for consistency
with sp_repr_next. Don't consider it an error for child to be
NULL or parentless. Callers updated.
* src/draw-context.cpp (spdc_concat_colors_and_flush,
spdc_flush_white): Misc readability cleanups.
* src/display/curve.cpp (sp_curve_reverse): Fix a bug where the
reversed curve wrongly included a trailing moveto command. (Bug
introduced in my 2004-09-05 change: one of the callers I didn't
know how to cause to run.)
2004-10-12 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod,
share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod,
share/extensions/eps_input.inkmod, share/extensions/epsi_output.inkmod,
share/extensions/gimpgrad.inkmod, share/extensions/ps_input.inkmod,
share/extensions/roundhole.inkmod, share/extensions/sk_input.inkmod,
share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod,
share/extensions/txt2svg.inkmod, share/extensions/wmf_input.inkmod,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/extension.cpp, src/extension/init.cpp:
Moving all of the dependency stuff from the scripts, up to the root
extension level. This means that everyone can have dependencies, and
dependency checking (a good thing). This makes use of the new
'Dependency' class that is also in the extension directory.
2004-10-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/pencil-context.cpp (sp_pencil_context_root_handler): Split into
many functions, fixing some illegal union aliasing along the way (as
was done for sp_pen_context_root_handler).
* src/modifier-fns.h: New file of inline functions based on macros.h
MOD__CTRL etc. macros.
* src/Makefile_insert: Add the new file.
* src/pen-context.h: Change size of p array from SP_DRAW_MAX_POINTS to
5 now that we aren't sharing with SPPencilContext.
* src/draw-context.cpp, src/draw-context.h, src/pen-context.cpp,
src/pen-context.h, src/pencil-context.cpp, src/pencil-context.h:
Move npoints,p from SPDrawContext to both SPPenContext and
SPPencilContext.
* src/draw-context.cpp, src/draw-context.h: Split off new files
pen-context.h, pen-context.cpp, pencil-context.h, pencil-context.cpp,
draw-anchor.h, draw-anchor.cpp.
* src/Makefile_insert: Add the new files.
2004-10-10 Ted Gould <ted@gould.cx>
* src/event-context.cpp, src/file.cpp, src/file.h, src/print.cpp,
src/print.h, src/selection-chemistry.h, src/sp-image.cpp, src/sp-item.cpp,
src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-symbol.cpp,
src/tools-switch.cpp, src/dialogs/export.cpp, src/dialogs/filedialog.cpp,
src/extension/Makefile_insert, src/extension/db.cpp,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/effect.cpp, src/extension/effect.h,
src/extension/extension-forward.h, src/extension/extension.cpp,
src/extension/extension.h, src/extension/input.cpp, src/extension/input.h,
src/extension/output.cpp, src/extension/output.h, src/extension/print.cpp,
src/extension/print.h, src/extension/system.cpp,
src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp,
src/extension/internal/svg.cpp, src/libnrtype/FlowResOut.cpp:
Splitting out the different types of extensions into their own files so
that the overall dependencies can be reduced. Caused a ripple through
lots of other files. Hopefully the dependency situation is better now.
2004-10-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/draw-context.cpp:
Change xp,yp file globals to NR::Point pen_draw_origin_w.
* src/draw-context.cpp (sp_pen_context_root_handler):
Split into many routines. Fix some illegal union member aliasing.
(pen_handle_key_press): Minor code cleanups in backspace handling.
(pen_handle_motion_notify): Make tolerance var local instead of
file-global. (This transformation is applicable to many
dragtolerance users.)
* src/draw-context.cpp (spdc_endpoint_snap_handle):
Change argument type from SPDrawContext to SPPenContext, and
specialize definition accordingly. Caller updated.
* src/draw-context.h: Change red_curve_is_valid from char to bool.
* src/draw-context.cpp: Change red_curve_is_valid assignments from
0x00/0x01 to false/true (using find & replace).
2004-10-07 Carl Hetherington <inkscape@carlh.net>
* src/nr-object.cpp, src/nr-object.h: coding style and const
fixes.
* src/nr-rect.cpp: added a doxygen comment. Some coding style
fixes.
* src/sp-paint-server.cpp: coding style fixes.
* src/nr-arena-item.cpp, src/nr-arena-item.h: move a comment to
the .cpp file and make it doxygen-style.
* src/livarot/Path.cpp: coding style cleanups. Add an assert to
Path::Transform().
* src/livarot/Path.cpp, src/livarot/Path.h: fix some archaic
notation.
* src/livarot/Ligne.cpp: coding style cleanups.
* src/livarot/PathOutline.cpp, src/livarot/Path.h: fix a rather
nasty hack in the outlining code.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp, src/splivarot.cpp, src/sp-offset.cpp:
use std::vector for Path::descr_cmd.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp: getType() and setType() in Path::path_descr.
2004-10-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-object-repr.cpp (sp_repr_type_lookup): Distinguish between XML
element name and sodipodi:type attribute value: use a separate table
for each.
* src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_lookup):
Don't export this function. (Also rename it to name_to_gtype and
change its definition for separate tables.)
2004-10-03 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.cpp, src/dialogs/repr-util.cpp, src/dialogs/repr.h:
Since "dc:title" can appear at multiple XML levels, a way to
control max depth in searching was added. (Closes bug #1009290)
2004-09-30 MenTaLguY <mental@rydia.net>
* src/widgets/document-tree-model.cpp:
more bug fixes
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
get the layer selector sort of in more order
2004-09-28 Ted Gould <ted@gould.cx>
* src/verbs.cpp, src/verbs.h, src/view.cpp:
Making it so that actions get deleted as views get destroyed.
2004-09-27 Ted Gould <ted@gould.cx>
* src/desktop.h, src/forward.h, src/interface.cpp, src/interface.h,
src/select-toolbar.cpp, src/shortcuts.cpp, src/shortcuts.h,
src/toolbox.cpp, src/toolbox.h, src/verbs.cpp, src/verbs.h,
src/dialogs/align.cpp, src/dialogs/align.h,
src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp,
src/dialogs/export.cpp, src/dialogs/find.cpp,
src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp,
src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp, src/helper/action.cpp, src/helper/action.h:
Wow, alot of files changed. The ones that changed the most are
verb.cpp and verb.h, which are almost entirely different. What happened
here is the the verbs were made object oriented. So, as the verbs
are built into everything, lots of files changed. Now the code
for the verbs is much cleaner, and I think a little bit faster.
Also, it will be easier to extend the verbs for use in effects.
2004-09-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp:
Get rid of operator NR::translate(), which was allowing
*implicit* (and typically lossy) conversion to NR::translate,
and which made a bug hard to find.
* src/sp-gradient-test.cpp: New unit test file. I believe this is the
first test that tests an SPObject.
* src/Makefile_insert, src/Makefile.am: Invoke the new test.
2004-09-24 MenTaLguY <mental@rydia.net>
* src/selection-chemistry.cpp:
"select all" and "clear" now operate on the current layer rather than on
the document root
* src/verbs.cpp, src/shortcuts.cpp, layer-fns.cpp, src/sp-item.cpp:
keyboard shortcuts and fixes for layer verbs
2004-09-23 MenTaLguY <mental@rydia.net>
* src/message-stack.h, src/message-stack.cpp:
return id of flashed messages so they are cancellable
* src/message-context.h, src/message-context.cpp:
message context flashes now supercede one another, as regular
messages do (they do not supercede regular messages though)
* src/interface.cpp, src/layer-fns.cpp, src/layer-fns.h, src/verbs.cpp:
initial stab at layers menu; not everything works the way it should
quite yet
* src/message-context.h, src/message-context.cpp:
added flash methods to Inkscape::MessageContext
* src/gc-core.h, src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp,
src/display/nr-arena-item.cpp, src/display/nr-arena-item.h,
src/display/nr-arena-shape.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h,
eliminate more sources of leaks; managed objects shouldn't use refcounts
among themselves
* src/xml/repr.cpp: don't nuke log pointer
2004-09-21 MenTaLguY <mental@rydia.net>
* src/gc-finalized.h: fix for stupid bug preventing finalizable objects
from being collected
* src/Makefile_insert, src/gc.cpp, src/gc-core.h:
move Inkscape::GC::init out-of-line, and funnel GC warnings through
glib
2004-09-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-marker.h, src/sp-marker.cpp (sp_marker_show_instance):
Change to using NR::Matrix instead of NRMatrix. Update caller.
* src/sp-gradient.cpp (sp_gradient_get_g2d_matrix,
sp_gradient_get_gs2d_matrix, sp_gradient_set_gs2d_matrix):
New NR::Matrix/NR::Rect versions of existing functions.
* src/libnr/nr-matrix-translate-ops.h (operator/): New function.
* src/libnr/nr-matrix-scale-ops.cpp: New file.
* src/libnr/nr-matrix-scale-ops.h (operator/(Matrix,scale)):
New function.
2004-09-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-gradient.h: Change gradientTransform from NRMatrix to
NR::Matrix. Users updated.
* src/Makefile.am (EXTRA_DIST), Makefile_insert
dialogs/Makefile_insert extension/implementation/Makefile_insert
extension/internal/Makefile_insert helper/Makefile_insert
livarot/Makefile_insert (blah_SOURCES):
Add some .h files for `make dist'.
2004-09-19 MenTaLguY <mental@rydia.net>
* src/gc-core.h: don't defer finalizers
* src/gc-core.h: bump up free space divisor -- collections should
happen ~32x more frequently
2004-09-19 Carl Hetherington <inkscape@carlh.net>
* src/display/canvas-bpath.cpp, src/display/nr-arena-shape.cpp,
src/display/sp-ctrlline.cpp, src/libnrtype/RasterFont.cpp,
src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: remove some
unused parameters from calls to raster code.
* src/livarot/ShapeRaster.cpp: coding style cleanups.
* src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: factored out
_updateIntersection().
* src/livarot/AVL.cpp, src/livarot/AVL.h: remove DblLinked. Cleanups.
2004-09-18 MenTaLguY <mental@rydia.net>
* src/dialogs/filedialog.cpp: unref the preview document we created
2004-09-18 Carl Hetherington <inkscape@carlh.net>
* src/livarot/AVL.cpp, src/livarot/AVL.h,
src/livarot/DblLinked.cpp, src/livarot/DblLinked.h,
src/livarot/LivarotDefs.h, src/livarot/ShapeRaster.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/sweep-tree.cpp,
src/livarot/sweep-tree.h, src/sweep-event.h: replace leftFoo and
rightFoo with foo[2] in a few places. Associated cleanups.
* src/livarot/Shape.h: use Side rather than a bool for
TesteIntersection. Add some methods. Remove some unused variables.
* src/livarot/ShapeSweep.cpp: simplify TesteIntersection with use
of Side.
* src/livarot/sweep-event.h: const fix.
* src/livarot/sweep-event.cpp: simplifications with use of Side.
* src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeMisc.cpp, src/ShapeSweep.cpp: lastA/firstA in
Shape::dg_point -> incidentEdge[2].
* src/livarot/LivarotDefs.h: add FirstOrLast enum.
* src/livarot/ShapeRaster.cpp: coding style cleanups and refactoring.
2004-09-17 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Shape.h: use a std::vector for Shape::chgts. Add
clearIncidenceData();
* src/livarot/Shape.cpp: Add clearIncidenceData(). Initialise
iData in the constructor.
* src/livarot/ShapeSweep.cpp: coding style cleanups. Use a
std::vector for Shape::chgts. Use clearIncidenceData().
2004-09-16 Carl Hetherington <inkscape@carlh.net>
* src/livarot/ShapeUtils.h, src/livarot/ShapeSweepUtils.cpp,
src/livarot/sweep-tree.cpp, src/livarot/sweep-tree.h,
src/livarot/sweep-event.cpp, src/livarot/sweep-event.h,
src/livarot/Shape.h: split up ShapeUtils.h and ShapeSweepUtils.cpp
into two separate files.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp,
src/livarot/sweep-event.cpp, src/livarot/sweep-event.h:
Make SweepEventQueue into a proper class, and move some static
methods from SweepEvent into it.
* src/livarot/ShapeSweep.cpp, src/livarot/sweep-event.cpp,
src/livarot/sweep-event.h, src/livarot/sweep-tree.cpp: make member
variables of SweepEventQueue private.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/sweep-tree.cpp, src/livarot/sweep-tree.h,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: make
SweepTreeList into a proper class.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: remove
unnecessary Shape::_has_sweep_data.
* src/livarot/Shape.h, src/livarot/Shape.cpp,
src/livarot/ShapeSweep.cpp: use an enum rather than an int.
2004-09-16 MenTaLguY <mental@rydia.net>
* src/render/stroke.cpp: a little more work on the stroking code
* src/widgets/document-tree-model.cpp, src/widgets/document-tree-model.h,
src/widgets/layer-selector.cpp, src/widgets/layer-selector.h,
src/desktop.cpp, src/sp-desktop-widget.h:
work on new gtkmm-ified layer selector
2004-09-15 Carl Hetherington <inkscape@carlh.net>
* src/display/canvas-bpath.cpp, src/display/nr-arena-shape.cpp
src/display/sp-ctrlline.cpp, src/libnrtype/FlowDest.cpp,
src/libnrtype/RasterFont.cpp, src/livarot/Shape.h,
src/livarot/ShapeRaster.cpp Remove unused parameters in
Shape::{Begin,End}{,Quick}Raster
* src/livarot/ShapeRaster.cpp: coding style cleanups.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Factor
out initialisePointData() and initialiseEdgeData()
2004-09-14 Carl Hetherington <inkscape@carlh.net>
* src/display/canvas-bpath.cpp, src/display/nr-arena-shape.cpp,
src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeMisc.cpp, src/livarot/ShapeSweep.cpp: move some
functions out of Shape that don't need to be members.
* src/livarot/Shape.h: reduce public: and private: sections to
just one of each. Coding style cleanups. No code changes.
* src/livarot/Shape.h: remove some unused code; const fixes.
2004-09-10 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: excise
Shape::nbPt.
* src/sp-offset.cpp, src/splivarot.cpp,
src/display/nr-arena-shape.cpp, src/livarot/Shape.h: Make
Shape::aretes private and offer a read-only accessor.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp,
src/livarot/ShapeSweepUtils.cpp: use getEdge() more and excise
Shape::nbAr.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp: use
std::vector for most of the temporary arrays in Shape.
2004-09-11 MenTaLguY <mental@rydia.net>
* src/render/bezier.cpp, src/render/bezier.h,
src/render/shape-builder.cpp, src/render/shape-builder.h,
src/render/stroke.cpp, src/render/stroke.h:
further work on stroking; break out bezier approximation into
public functions
2004-09-10 MenTaLguY <mental@rydia.net>
* src/render/polygon.h, src/render/shape-builder.h,
src/render/shape-builder.cpp, src/render/stroke.h,
src/render/dash.h:
beginnings of a simple alternate renderer
2004-09-09 Carl Hetherington <inkscape@carlh.net>
* src/sp-flowtext.cpp, src/sp-offset.cpp, src/splivarot.cpp,
src/display/nr-arena-shape.cpp, src/libnrtype/FlowDest.cpp,
src/livarot/PathConversion.cpp, src/livarot/Shape.h: make
Shape::nbPt and Shape::nbAr private and provide accessor methods.
* src/display/nr-arena-shape.cpp, src/livarot/Shape.h: make
Shape::flags private.
* src/splivarot.cpp, src/livarot/PathStroke.cpp,
src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp:
Clean up handling of flags in Shape class
* src/livarot/AlphaLigne.cpp, src/livarot/Path.cpp,
src/livarot/PathSimplify.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeSweepUtils.cpp: it's ok to free NULL.
* src/livarot/Shape.h, src/sp-offset.cpp, src/splivarot.cpp,
src/display/nr-arena-shape.cpp: Make Shape::pts private and offer
a read-only accessor.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/
livarot/ShapeSweepUtils.cpp, src/livarot/ShapeUtils.h: Rename
Shape::pts to Shape::_pts, and use getPoint() wherever possible.
* src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp,
src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Add
dg_point::totalDegree() and make use of it.
2004-09-08 MenTaLguY <mental@rydia.net>
* src/libnr/nr-object.h, src/libnr/nr-object.cpp: fix NRObject
initialization
* configure.in, src/gc-core.h, src/gc-managed.h, src/gc-anchored,
src/gc-finalized.h:
add a --disable-gc ./configure option to omit garbage collection
from the build (the normal allocator will be used, although
memory will obviously leak since it does not get explicitly freed)
* src/xml/repr.cpp: SPRepr's copy constructor needs to properly
initialize its fields
* src/xml/repr-util.cpp, src/xml/repr-private.h,
src/xml/repr.h, src/xml/repr.cpp:
new child-count-related routines, and added mutation signals
to SPReprDoc
* src/desktop.cpp: call the "Active Group" widget by its TRUE NAME!
* src/widgets/Makefile_insert, src/widgets/document-tree-model.cpp,
src/widgets/document-tree-model.h, src/widgets/layer-selector.cpp,
src/widgets/layer-selector.h:
very cursory start on new layers UI
2004-09-08 Carl Hetherington <inkscape@carlh.net>
* src/helper/stock-items.cpp: fix a bad free(). Improve coding
style compliance.
* src/libnrtype/FlowRes.cpp: slightly unpleasant fix for a buffer
overrun.
2004-09-07 MenTaLguY <mental@rydia.net>
* src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeSweep.cpp:
use std::vector for points array (seems to crash less?)
* src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp,
src/livarot/Ligne.cpp, src/livarot/Path.cpp,
src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp:
switch to glib's allocator routines, which have the expected
semantics
* src/livarot/evil-malloc.h: removed
2004-09-07 Ted Gould <ted@gould.cx>
* src/color-rgba.h:
Some comments and some little code clean up things. Added a couple
of constructors to make life a little simpler.
2004-09-06 Ted Gould <ted@gould.cx>
* src/extension/plugin/gimgrad.cpp, src/extension/implementation/plugin*
share/extension/gimpgrad.inkmod, src/extension/system.cpp,
src/extension/extension.h:
Mega commit. This commit does two things, it adds in the ability to
do plugins in Inkscape. This means that there are loadable modules
that can be used for just about anything. It also provides a sample
implementation of a plugin to load GIMP gradients. This means that
GIMP gradients can be imported into Inkscape, giving a larger set of
gradients that can be used in Inkscape.
Currently, nothing here is really complete, but it is functional. The
plugins really only work for input plugins, and the GIMP gradient example
isn't very robust. They will come shortly.
2004-09-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/curve.h, src/display/curve.cpp:
Change x,y members to NR::Point.
Rename posset (spiced&spiked hot milk) to posSet as per CodingStyle.
* src/display/curve.cpp (sp_curve_reverse): Previously this
routine returned only the last subpath, and made it an open
path. Now it preserves all aspects of the curve other than
reversing it. I believe this change makes no difference to the
draw-context and dyna-draw-context callers (though I haven't
managed to test all of these callers), whereas for the `reverse
path' command, users presumably expect the new behaviour.
* src/display/curve.cpp (sp_curve_closepath_current):
Fix bad assertion.
* src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp
(get_translation): New function.
* src/sp-polygon.cpp (polygon_get_value): Use static linkage.
(sp_polygon_set): Remove debugging output. Add `todo' comment.
2004-09-03 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
src/sp-namedview.h:
remember previously selected layer on load
2004-09-02 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp:
reintroduced the inkscape:groupmode attribute
* src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h,
src/libnr/nr-object.cpp:
remove USE_LIBGC macro again
2004-08-30 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp:
ref the object while SPObject::deleteObject runs, so it doesn't
get destroyed halfway through [ fix for bug #1012874 ]
2004-08-29 MenTaLguY <mental@rydia.net>
* src/gc-core.h:
turn off scanning of dynamic library data segments; we don't need
it, and it seems to cause problems on FC2
2004-08-27 MenTaLguY <mental@rydia.net>
* src/traits/function.h: add typedefs for all argument positions,
specifying 'void' for all arguments after the last
* src/livarot/evil-malloc.h, src/livarot/BitLigne.cpp,
src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
src/livarot/Shape.cpp, src/livarot/ShapeSweepUtils.cpp:
work around livarot bugs so I can use ElectricFence
* src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h,
src/libnr/nr-object.cpp:
make the garbage collector easy to disable by undefining
USE_LIBGC in src/gc-core.h
2004-08-26 MenTaLguY <mental@rydia.net>
* src/document-private.h, src/document.h, src/document.cpp:
add notification signal when resources are added or removed
2004-08-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr-css.cpp (sp_repr_css_print):
Fix for shared string change.
* src/sp-text.cpp (sp_text_description):
Fix for when font Name() call fails.
* src/sp-text.cpp: CodingStyle changes, including moving some
declarations to first use.
Remove unused __SP_TEXT_C__ define.
2004-08-25 Carl Hetherington <inkscape@carlh.net>
* src/sp-cursor.cpp, src/sp-cursor.h, src/sp-guide.cpp:
coding style cleanups.
2004-08-24 MenTaLguY <mental@rydia.net>
* src/gc-anchor.h: fix to always use the GC base address, since
that will not always be the same as 'this', when I::GC::Anchored
is used via multiple inheritance.
2004-08-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/TextWrapper.h, src/libnrtype/TextWrapper.cpp (AppendUTF8):
Use strlen instead of for-loop.
Change printf to g_return_if_fail (and document that the argument
must be valid UTF-8).
Mark the text pointer as not being written through (const).
2004-08-23 MenTaLguY <mental@rydia.net>
* src/xml/repr.cpp, src/xml/sp-repr-action.h:
removed stupid default 'next' constructor arguments and force them
to be specified explicitly (and fix the omission of one, which
fixes bug #1014541)
2004-08-22 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/gc-alloc.h:
introduced a GC-aware STL allocator
* src/document-private.h, src/document.h, src/document.cpp:
switch to using STL map for "id changed" signals
2004-08-21 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/util/Makefile_insert: get libinkutil
deps straightened out
* src/document-private.h, src/document-undo.cpp, src/document.cpp:
adapt for new APIs, header cleanups/refactorings
* src/gc-core.h, src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h:
rewrote interface to Boehm GC for increased flexibility; there are now
three main classes:
- Inkscape::GC::Managed: objects managed by the GC; replaces
Inkscape::GC::Object
- Inkscape::GC::Finalized: objects for which the GC will call
destructors automatically; replaces
Inkscape::GC::FinalizedObject
- Inkscape::GC::Anchored: managed objects which can be 'anchored'
to prevent collection while non-gc-aware
objects are holding references; replaces
Inkscape::Refcounted
Note that they no longer inherit from each other(!), so you will
need to mix-and-match via multiple inheritance. The latter two
don't do anything useful without the first, however.
* src/gc-object.h, src/refcounted.h: removed
* src/message-context.cpp, src/message-stack.h, src/selection.h,
src/view.cpp, src/libnr/nr-object.h, src/util/list.h,
src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h, src/desktop.cpp:
adopt new GC API and header refatorings
* src/Makefile.am, src/util/Makefile_insert:
list util/* files in util's Makefile_insert now.
* src/util/reverse.h: revive anx fix Inkscape::Util::reverse
* src/util/share-c-string.cpp, src/util/share-c-string.h: removed
* src/util/shared-c-string.cpp, src/util/shared-c-string.h:
employ the type system to make shared strings a little safer to use;
you can still shoot yourself in the foot, but at least now you need
to aim and pull the trigger first
* src/xml/Makefile_insert, src/xml/repr-action-test.cpp,
src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.h:
reorganize transaction logging files
* src/xml/repr-action-test.cpp: updated headers
* src/xml/repr-action.cpp, src/xml/repr-action.h: removed
* src/xml/repr-private.h, src/xml/repr.cpp, src/xml/repr.h:
update for new GC API and shared strings
* src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp,
src/xml/sp-repr-action.h:
header refactoring and new GC API
* src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h:
new GC API
2004-08-20 Carl Hetherington <inkscape@carlh.net>
* src/zoom-context.cpp, src/view.cpp, src/version.cpp,
src/sp-defs.cpp: coding style cleanups.
* src/sp-polygon.cpp: coding style and a few other small cleanups.
* src/sp-anchor.cpp: coding style cleanups. Remove unnecessary
static variable.
2004-08-18 Bryce Harrington <bryce@bryceharrington.org>
* autogen.sh: Fixing the 'missing ltmain.sh' bug
2004-08-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-star.cpp: Use cast to guint32 instead of using modulo 2**32.
Fix a uint compilation bug on Windows reported by mrchapp.
Mark a few functions as static.
2004-08-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-conn-end.cpp (change_endpts):
Use new sp_curve_stretch_endpoints function: i.e. preserve the
shape of the connector path.
* src/display/curve.h, src/display/curve.cpp
(sp_curve_stretch_endpoints): New function.
* src/sp-use-reference.cpp: CodingStyle changes.
* src/sp-item.h, src/sp-item.cpp (sp_item_write_transform):
Indicate that adv won't get written to.
* src/sp-rect.cpp (sp_rect_set_transform): Call sp_rect_set_shape,
so that bbox is up-to-date.
2004-08-15 Carl Hetherington <inkscape@carlh.net>
* src/object-edit.cpp: fix a regression in my cleanups from yesterday.
2004-08-15 MenTaLguY <mental@rydia.net>
* src/Makefile.am, src/Makefile_insert, src/util/Makefile_insert:
added libinkutil for util/ directory
* src/arc-context.cpp, src/desktop.cpp, src/event-context.cpp,
src/node-context.cpp, src/rect-context.cpp, src/sp-object.cpp,
src/sp-text.cpp, src/spiral-context.cpp, src/star-context.cpp,
src/toolbox.cpp, src/dialogs/desktop-properties.cpp,
src/widgets/gradient-vector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp,
src/widgets/sp-xmlview-content.cpp, src/widgets/sp-xmlview-tree.cpp,
src/xml/sp-repr-event-vector.h, src/xml/sp-repr-listener.h:
moved SPReprListener and SPReprEventVector into their own header
files, and remove "destroy" callback
* src/util/share-c-string.cpp, src/util/share-c-string.h:
add Inksape::Util::share_c_string, a function to make an
immutable and garbage-collected copy of a string which can
safely be shared
* src/xml/Makefile_insert, src/xml/repr-action.cpp, src/xml/repr-css.cpp,
src/xml/repr-private.h, src/xml/repr.cpp, src/xml/sp-repr-attr.h:
start sharing rather than copying strings, and taking advantage
of garbage collection
2004-08-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-flowtext.cpp: CodingStyle changes.
2004-08-14 Carl Hetherington <inkscape@carlh.net>
* src/sp-use-reference.cpp, src/sp-use-reference.h: use sigc 2.0
API rather than the old one.
* src/spiral-context.cpp: Use new message API. Some
declaration-to-first-use and const fixes.
* src/star-context.cpp: Use new message API. Remove the unused
sp_star_context_item_handler().
* src/spiral-context.h, src/star-context.h: Inherit
from SPEventContext to get access to the new message API.
* src/streams-zlib.cpp: fix a compiler warning.
* src/extension/internal/gdkpixbuf-input.cpp: Fix a compiler
warning and a memory leak. Minor cleanups.
* src/libnrtype/FlowRes.cpp, src/libnrtype/FlowResOut.cpp,
src/libnrtype/FlowSrc.cpp: fix some compiler warnings.
* src/inkjar/jar.cpp: fixed a compiler warning and added a FIXME.
* src/object-edit.cpp: make use of sp_pattern_extract_trans.
2004-08-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-rect.cpp (sp_rect_set_shape): Change rounded-rect
behaviour to be closer to [opinion on www-svg as to the
interpretation of] the SVG 1.1 specification.
2004-08-13 MenTaLguY <mental@rydia.net>
* src/xml/repr-action.h, src/xml/repr-action.cpp:
simplified code now that we can take advantage of garbage collection
2004-08-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/xml-tree.cpp (set_dt_select):
Address warning introduced in r1.21.
Minor other cleanups.
2004-08-12 MenTaLguY <mental@rydia.net>
* src/xml/repr-css.cpp, src/xml/repr-private.h,
src/xml/repr.cpp, src/xml/repr.h:
make SPRepr gc-aware
2004-08-12 Carl Hetherington <inkscape@carlh.net>
* src/sp-chars.cpp src/sp-ellipse.cpp src/sp-flowtext.cpp
src/sp-image.cpp src/sp-item-group.cpp src/sp-item.cpp
src/sp-item.h src/sp-marker.cpp src/sp-offset.cpp src/sp-root.cpp
src/sp-shape.cpp src/sp-spiral.cpp src/sp-star.cpp
src/sp-symbol.cpp src/sp-text.cpp src/sp-use.cpp:
const fixes to snappoints and bbox methods
* selection.cpp sp-ellipse.cpp sp-image.cpp sp-item-group.cpp
sp-item-notify-moveto.cpp sp-item-rm-unsatisfied-cns.cpp
sp-item-update-cns.cpp sp-item.cpp sp-item.h sp-offset.cpp
sp-shape.cpp sp-spiral.cpp sp-star.cpp sp-text.cpp:
use more efficient API for collecting snap points, suggested by Peter.
* src/dialogs/desktop-properties.cpp: fix a cast warning.
* src/dialogs/docker.cpp: fix an unused variable warning.
* src/dialogs/stroke-style.cpp: add a static qualifier to a function.
2004-08-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-offset.cpp,
src/splivarot.cpp, src/display/nr-arena-shape.cpp,
src/livarot/PathConversion.cpp, src/livarot/Shape.cpp,
src/livarot/Shape.h, src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp,
src/livarot/ShapeSweepUtils.cpp:
Revert these files to their state prior to mental's "2004-08-08"
entry (the change made in 2004-08-09 02:23 UTC).
2004-08-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/algorithms/longest-common-suffix.h: Fix bug I introduced three
days ago.
* src/attributes.h, src/attributes.cpp: New attributes
SP_ATTR_CONNECTION_START, SP_ATTR_CONNECTION_END.
* src/sp-conn-end.h, src/sp-conn-end.cpp,
src/sp-conn-end-pair.h, src/sp-conn-end-pair.cpp:
New files.
* src/Makefile_insert (libinkpre_a_SOURCES): Add the new files.
* src/sp-path.cpp, src/sp-path.h: Call the new connector stuff.
* src/display/curve.h, src/display/curve.cpp
(sp_curve_first_point, sp_curve_last_point): New functions.
(sp_curve_transform): Re-implement with NR::Matrix/NR::Point.
The old code appears to be buggy for sheer/rotate matrices
due to calculating each y coord using the new corresponding x coord
instead of the previous value.
Also add NR::translate version.
Get rid of the return value. Callers updated.
* src/sp-item.h, src/sp-item.cpp: (i2anc_affine): New function
(essentially a rename of existing private partial_xform function, but
differing behaviour on encountering non-SPItem in the hierarchy).
(i2i_affine): New function (essentially a rename of existing
SPItem::getRelativeAffine). Implement SPItem::getRelativeAffine in
terms of the new function.
(sp_item_dt2i_affine): NR::Matrix version.
* src/libnr/nr-path.h (c, setC): new methods.
2004-08-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-affine.cpp (sp_desktop_w2doc_affine,
sp_desktop_doc2w_affine, sp_desktop_doc2d_xy_point),
src/knotholder.cpp (knot_moved_handler), src/sp-item.cpp
(SPItem::getRelativeTransform), src/sp-rect.cpp
(sp_rect_set_transform), src/display/sp-canvas-util.cpp
(sp_canvas_item_i2i_affine, sp_canvas_item_set_i2w_affine):
Cleanup: Use the new division operators instead of multiplication by
inverse. (Currently the division operators are implemented as
multiplication by inverse.)
* src/splivarot.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp:
Hurriedly fix some problems caused by overly-hurried changes.
Address some signed/unsigned warnings.
Add some assertions.
(Haven't checked the performance cost of the assertions.)
* src/livarot/Shape.h: Make constructors explicit.
2004-08-08 MenTaLguY <mental@rydia.net>
* src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-offset.cpp,
src/splivarot.cpp, src/display/nr-arena-shape.cpp,
src/livarot/PathConversion.cpp, src/livarot/Shape.cpp,
src/livarot/Shape.h, src/livarot/ShapeDraw.cpp,
src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp:
replace ad-hoc realloced arrays with std::vector and deal with
uninitialized data problems that valgrind complained about
* libgc.supp: valgrind suppression profile for libgc, which necessarily
reads and runs comparisons on a lot of uninitalized data; the present
form of this file is probably too broad however
2004-08-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix-div.h, src/libnr/nr-matrix-div.cpp:
operator/(NR::Point, NR::Matrix), operator/(NR::Matrix, NR::Matrix):
new functions, new files.
* src/algorithms/longest-common-suffix.h:
Handle in O(1) time the common case of equal tails.
Documentation.
2004-08-08 Ted Gould <ted@gould.cx>
* src/svg-profile.h, src/Makefile_insert:
Adding the first support in for trying to determine which profiles are
used with certain functionality, and if that is used by the current
document. Really, right now, there is no code changes to anything that
compiles. But this is the header file that contains the class that
I'm plannig to use in the future.
2004-08-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/RasterFont.h, src/libnrtype/RasterFont.cpp:
Get rid of argumentless constructor (which was leaving
style.transform as random bits), replace with constructor taking
style argument. Caller updated.
Disable default copy constructor and operator=.
2004-08-06 MenTaLguY <mental@rydia.net>
* configure.in, src/gc-core.h, src/gc-object.h,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp,
src/display/nr-arena-image.cpp, src/display/nr-arena-item.cpp,
src/display/nr-arena-shape.cpp, src/display/nr-arena.cpp,
src/helper/action.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h:
make NRObject GC-aware
2004-08-06 David Turner <novalis@gnu.org>
* src/sp-shape.cpp (sp_shape_marker_get_transform): Make marker handling match
SVG spec better.
2004-08-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp:
NR::Matrix *= NR::scale: new.
* src/sp-object.cpp, src/sp-object.h, src/sp-object-tree-iterator.h:
Move TreeIterator<SPObject *> specialization to snew file
sp-object-tree-iterator.h.
Mark several pointers as not being written through.
Correspondingly change TreeIterator specialization to
<SPObject const *> instead of <SPObject *>.
* display/nr-arena-item.cpp, display/nr-arena-item.h:
Add NR::Matrix version of nr_arena_item_set_transform.
* src/sp-item.h, src/sp-item.cpp (getRelativeTransform, partial_xform):
Mark pointers as not written through.
* src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/path-chemistry.cpp, src/rect-context.cpp,
src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowdiv.cpp,
src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-item-group.cpp,
src/sp-item-notify-moveto.cpp, src/sp-item-transform.cpp,
src/sp-item.cpp, src/sp-item.h, src/sp-offset.cpp, src/sp-rect.cpp,
src/sp-shape.cpp, src/sp-use.cpp, src/spiral-context.cpp,
src/splivarot.cpp, src/star-context.cpp, src/text-context.cpp,
src/dialogs/item-properties.cpp:
Change SPItem->transform from NRMatrix to NR::Matrix.
* src/libnr/nr-matrix-ops.h (operator*(NR::Matrix, NRMatrix)): new.
* src/libnr/nr-matrix.h: NR::Matrix *= NR::translate: new operator.
* src/nodepath.cpp: Mark NodeSort operator< as static.
Indentation as per CodingStyle.
* src/libnr/nr-scale.h (NR::scale(double)): new constructor.
* src/svg/svg-affine.cpp (sp_svg_transform_write), src/svg/svg.h:
Add NR::Matrix version.
2004-08-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp: Misc. minor changes.
2004-08-04 MenTaLguY <mental@rydia.net>
* configure.in, src/gc-object.h, src/refcounted.h:
start using libgc in earnest; Inkscape::Refcounted is now GC-aware
2004-08-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/nodepath.cpp: Cleanups: Mark some things as static. Switch from
pointer to reference in some places. Make const placement conform to
CodingStyle.
* src/inkview.cpp (sp_svgview_main_key_press): Accept some common keys
like PgUp, q.
* src/draw-context.cpp (fit_and_split):
Slight simplification: don't handle impossible condition npoints < 2.
* src/proofs: Update accordingly. (Also add some bezier-utils proofs.)
2004-08-04 David Turner <novalis@gnu.org>
* sp-path.cpp: 'd' is a required attribute for paths. Ensure that
all paths have it.
2004-08-03 MenTaLguY <mental@rydia.net>
* src/dialogs/rdf.cpp, src/xml/repr-util.cpp, src/xml/repr.h:
removed sp_repr_recursive_drop() which is unneeded and
creates unnecessary thrash in the undo logs
* src/livarot/Shape.h, src/livarot/Shape.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeMisc.cpp:
experiment to replace ad-hoc realloc() arrays with std::vector
2004-08-02 David Turner <novalis@gnu.org>
* file.cpp, file.h, interface.cpp, toolbox.cpp, verbs.cpp, verbs.h:
Added vacuum command to remove unused defs.
2004-08-02 MenTaLguY <mental@rydia.net>
* configure.in: sigc++ 2.0.2 (and before?) has a bug that
causes us to crash. require >= 2.0.3
* src/Makefile.am, src/Makefile_insert, src/gc-core.h,
src/gc-object.h, src/algorithms/longest-common-suffix.h,
src/traits/list.h, src/traits/reference.h, src/util/flip.h,
src/util/fold.h, src/util/list-iterator.h, src/util/list.h,
src/util/map.h, src/util/parent-axis.h, src/util/reverse.h,
src/util/sibling-axis.h, src/util/tuple.h, src/util/zip.h:
more "functional" work
2004-08-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/curve.cpp, src/display/curve.h:
Greater conformance with CodingStyle.
2004-07-31 David Turner <novalis@gnu.org>
* dialogs/xml-tree.cpp: Improved focus, added keystroke for attr commit.
2004-07-31 Ted Gould <ted@gould.cx>
* src/extension/extension.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h, src/extension/internal/eps-out.cpp,
src/extension/internal/eps-out.h:
Okay, changed the prefs_ prototypes to include which extension they are
working with. This should clean up some warnings before they become
problems later.
2004-07-31 Ted Gould <ted@gould.cx>
* src/print.cpp, src/extension/extension.cpp, src/extension/extension.h,
src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp:
Changed the get and set param prototypes so that they aren't overloaded
anymore - this was flaky. Also added a document to the prototype so
that document specific parameters can be supported in the future.
2004-07-28 David Turner <novalis@gnu.org>
* sp-gradient.cpp, widgets/gradient-vector.cpp: fixed gradient handling to
properly render gradients with sharp color boundaries
2004-07-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/inkview.cpp: Make the window title be the name of the
instead of the current file instead of the first file.
* src/round-test.cpp: New unit-test file.
* src/desktop.h, src/sp-desktop-widget.h:
Move SPDesktopWidget stuff from desktop.h to new file
sp-desktop-widget.h.
* debian/*: Copy lots of changes from wolfi's official Debian package
of inkscape.
Also use separate builddir, which simplifies the `clean' target.
2004-07-24 MenTaLguY <mental@rydia.net>
* configure.in, src/Makefile.am, src/main.cpp, src/gc-core.h:
added libgc dependency
* src/Makefile.am, traits/function.h:
added trait class for functions and C++ "functors"
* src/Makefile.am, util/flip.h:
added flip() which, given a function with two arguments,
returns an identical function with its arguments reversed
2004-07-23 MenTaLguY <mental@rydia.net>
* src/Makefile.am, src/traits/reference.h, src/util/tuple.h:
added generic Tuple type
2004-07-23 Ted Gould <ted@gould.cx>
* src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
src/sp-namedview.h, src/dialogs/desktop-properties.cpp,
src/display/canvas-grid.cpp, src/display/canvas-grid.h:
Adding in the ability to have 'emphasis grid lines' where some lines are a
different color than others. In the default case every fifth grid line
gets to be 0x11 darker alpha. Nothing that will get in your way, but
enough that you can find the spacing. All parameters are changeable in
document preferences.
2004-07-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* autogen.sh: Move unversioned automake to last resort.
2004-07-20 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-preferences.cpp: corrected my usage of static
l18n strings.
* src/dialogs/stroke-style.cpp: fixed missing l18n. (bug #994837)
* src/dialogs/sp-attribute-widget.cpp: went hunting for other static
l18n strings. Fixed some here too.
* autogen.sh: cleanups and more debugging.
* share/extensions/sk2svg.sh: tempfile cleanups from pjrm (patch #990009)
2004-07-20 Nathan Hurst <njh@mail.csse.monash.edu.au>
* debian/changelog, configure.in: Moved to 0.40cvs and updated
debian stuff.
2004-07-18 MenTaLguY <mental@rydia.net>
* configure.in, src/Makefile.am, src/algorithms/Makefile_insert,
src/algorithms/makefile.in, src/traits/Makefile_insert,
src/traits/makefile.in, src/util/Makefile_insert, src/util/makefile.in:
added src/algorithms, src/traits, and src/util subdirs
* src/algorithms/longest-common-suffix.h:
added generic "longest common suffix" algorithm
* src/traits/list.h: added traits class for lists
* src/traits/tree-iterator.h: added traits class for n-ary tree iterators
* src/util/list-iterator.h: STL iterator for lists
* src/util/parent-axis.h: parent "axis" of tree iterator as list
* src/util/sibling-axis.h: sibling "axis" of tree iterator as list
* src/xml/repr.h: specialize Traits::TreeIterator for SPRepr *
* src/sp-object.h: specialize Traits::TreeIterator for SPObject *
* src/sp-object.cpp: use generic "longest common suffix" to find
nearest common ancestor
* src/splivarot.cpp: use genric "longest common suffix" to find
nearest common ancestor here too
2004-07-18 Kees Cook <kees@outflux.net>
* Makefile.am, configure.in, autogen.sh, toolversions.sh:
cleaning up some automake misbehavior from the gtkmm patch.
automake 1.4isms snuck back in.
* src/desktop-events.cpp: unlocalized strings updated.
2004-07-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-path.cpp (sp_path_write): Handle shape->curve==NULL.
2004-07-18 MenTaLguY <mental@rydia.net>
* Makefile.am, configure.in, m4/Makefile.am, m4/codeset.m4, m4/gettext.m4,
m4/glibc21.m4, m4/iconv.m4, m4/isc-posix.m4, m4/lcmessage.m4,
m4/progtest.m4, src/arc-context.cpp, src/arc-context.h, src/desktop.cpp,
src/desktop.h, src/document.cpp, src/document.h, src/draw-context.cpp,
src/draw-context.h, src/event-context.h, src/main.cpp,
src/message-stack.h, src/node-context.cpp, src/node-context.h,
src/nodepath.cpp, src/nodepath.h, src/object-hierarchy.h,
src/rect-context.cpp, src/rect-context.h, src/selcue.cpp, src/selcue.h,
src/selection-describer.cpp, src/selection-describer.h,
src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp,
src/sp-item.cpp, src/sp-item.h, src/sp-object.cpp, src/sp-object.h,
src/sp-offset.cpp, src/sp-offset.h, src/sp-pattern.cpp, src/sp-use.cpp,
src/sp-use.h, src/spiral-context.cpp, src/spiral-context.h,
src/star-context.cpp, src/star-context.h, src/text-context.cpp,
src/text-context.h, src/toolbox.cpp, src/uri-references.cpp,
src/uri-references.h, src/view.cpp, src/view.h,
src/dialogs/xml-tree.cpp:
merged Aubanel MONNIER's gtkmm upgrade patch
2004-07-17 Carl Hetherington <inkscape@carlh.net>
* src/sp-use.cpp: fix a compiler warning (closes #992960)
* src/sp-offset.cpp: fix a compiler warning (closes #992960)
* src/sp-text.cpp: fix a compiler warning (closes #992959)
2004-07-16 Kees Cook <kees@outflux.net>
* src/verbs.h, src/verbs.cpp: added "sp_verbs_find" function for bryce.
2004-07-15 Ted Gould <ted@gould.cx>
* 0.39 Release
2004-07-14 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: disable recursive update warning for release
* src/select-context.cpp: work around probable cut-and-paste bug
between sp_select_context_item_handler and
sp_select_context_root_handler by checking for drag_escaped
2004-07-13 MenTaLguY <mental@rydia.net>
* src/make.exclude: omit extension/script/js/js.c from build
2004-07-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/rdf.cpp: Don't add dc:description entry to SVG files.
* src/utest/utest.h: Add include guard.
2004-07-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/decimal-round.h (decimal_round): New file, new function.
* src/round.h (decimal_round): New file, new function.
* src/Makefile_insert: Add to libinkpost_a_SOURCES.
2004-07-11 MenTaLguY <mental@rydia.net>
* src/document.h, src/document-undo.cpp:
added sp_document_get_undo_sensitive() for capturing and restoring
undo sensitivity
* src/sp-object.cpp: don't log id changes made to resolve
duplicate ids (to avoid undo badness) (fix for bug #989023)
2004-07-11 Kees Cook <kees@outflux.net>
* src/preferences-skeleton.h, src/extension/init.cpp: with simarilius,
tracked down the cause of bug #988445. Extension code now has a
small section that validates preferences for valid extension names.
* src/dialogs/filedialog-win32.cpp: corrected an assert test, and
changed dialog to take the passed window title.
* autogen.sh, config.h.mingw, configure.in, src/Makefile_insert,
src/help.cpp, src/inkscape-stock.cpp, src/inkscape.cpp, src/main.cpp,
src/make.dep, src/make.files, src/path-prefix.h, src/prefix.cpp,
src/prefix.h, src/dialogs/stroke-style.cpp,
src/extension/Makefile_insert, src/extension/init.cpp,
src/extension/implementation/Makefile_insert,
src/extension/implementation/script.cpp,
src/extension/internal/Makefile_insert, src/helper/stock-items.cpp,
src/widgets/icon.cpp:
Cleaned up all the path #define's and usage. In the process found at
least 3 separate bugs associated with file locations. This should
hopefully work for Win32 as well. Bottom line in this change: don't use
INKSCAPE_DATADIR anywhere except in "path-prefix.h". This includes
an update to the autopackage code as well with fixes so that
a change to "--enable-binreloc" will get recompiled correctly. These
changes should address bug #978391.
2004-07-11 Carl Hetherington <inkscape@carlh.net>
* src/attributes.cpp, src/attributes.h: remove confusing
snaptogrid and snaptoguides options.
* src/desktop-events.cpp: use inkscape:guide-bbox instead of
snaptoguides to turn guides on.
* src/desktop.cpp: no need to worry about Snapper::getEnabled().
* src/snap.cpp, src/snap.h: Remove explicit enabled flag from
Snapper, as itconfuses people. Added
namedview_dim_snap_all_types(). Return useful stuff from
vector_snap_list.
* src/rect-context.cpp: Use hack to make snapping kind of work
even with snap-to-bbox enabled.
* src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp: remove
snaptogrid and snaptoguides options as they confuse people. Use
better names for the scale origin radio buttons, as suggested by
Bulia.
* src/seltrans.cpp: Fix some cases where snap wasn't correctly applied.
2004-07-10 MenTaLguY <mental@rydia.net>
* src/sp-image.cpp: prospective fix for bug #979858
* src/select-context.cpp, src/select-context.h,
src/seltrans.cpp, src/seltrans.h:
gave SPSelTrans its own Inkscape::MessageContext, fixing
bug #977971
2004-07-10 Kees Cook <kees@outflux.net>
* src/knot.cpp: solved bug #988513: knot could stay grabbed in
situations where the tool went away but never got "button_release"
event. This patch uses the "enter" and "leave" notifiers to disable
the grab before a "motion" can come and snag the knot.
2004-07-09 Kees Cook <kees@outflux.net>
* src/widgets/paint-selector.cpp: solved bug #984902: the pattern
menu was being destroyed since it was remaining part of the frame
that was being destroyed whenever the selector changed. It gets
ref-counted, disconnected, and destroyed correctly now.
* mkinstalldirs: automake 1.8 stopped including "mkinstalldirs", but
intltool still uses it. We'll need to keep this until intltool
fixes the bug. intltool 0.31 and earlier are all buggy.
2004-07-09 Carl Hetherington <inkscape@carlh.net>
* src/draw-context.cpp: remove some debugging g_prints.
2004-07-08 MenTaLguY <mental@rydia.net>
* src/interface.cpp: fixed crash on desktop context menu
* src/desktop.h, src/desktop.cpp:
added SPDesktop::isWithinViewport() to conveniently determine
if an item is within view
also made isLayer() const
* src/sp-object.h: added SPObject::hasChildren() predicate
* src/sp-object.cpp: revert to old behavior of breaking parent
link before emitting "release" signal
* src/selection-chemistry.cpp: rewrote sp_selection_item_next()
and sp_selection_item_prev() to work with layers
2004-07-08 Carl Hetherington <inkscape@carlh.net>
* src/libnrtype/FontFactory.cpp: disable printing of debug
messages.
* src/sp-item-group.cpp: give it a snappoints method to fix
937318.
* src/draw-context.cpp: fix a couple of places where Shift isn't
checked before snapping.
2004-07-07 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/interface.cpp: remove the word "layer"
for now, and disable the layer selector when the user is not
inside a group
2004-07-07 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-properties.cpp: added a few g_asserts, and
added a missing sp_signal_disconnect_by_data for the color picker,
which closes bug #975864. Stopped accidentally calling
sp_document_done from the update handler (fixes bug #986411).
* src/dialogs/dialog-events.cpp, src/helper/action.cpp:
whitespace changes, typo fixes, added a few g_asserts.
* src/selection-chemistry.cpp, src/desktop.cpp: when deleting items
from the desktop, the selection context may need to be cleared since
it may have pointers to the deleted items. To do this, I just
reselect the current tool (fixes bug #983243).
* src/dialogs/xml-tree.cpp, src/dialogs/desktop-properties.cpp:
corrected tooltips memory handling.
2004-07-06 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: minor tweaks to make the existing layers
code easier to work with in its current state (particularly,
to sidestep some existing bugs that otherwise require more
UI work to fix)
2004-07-06 Carl Hetherington <inkscape@carlh.net>
* src/seltrans.cpp, src/sp-namedview.cpp,
src/display/bezier-utils.cpp, src/libnr/nr-types.cpp:
isnan appears to need a std:: namespace qualifier.
2004-07-06 Ted Gould <ted@gould.cx>
* src/libnr/nr-point.h, src/libnr/nr-rect.h:
Adding in a function to round the points and rectangles. Using this
for less precise comparisons. Also, added in a function to print
each of these.
* src/dialogs/export.cpp:
Major revisions to do all kinds of fun stuff. The major one being
that filenames and and dpi's can now be stored on selections. This
makes it so that people working on a section of a document can export
it consistently.
2004-07-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-typeset-utils.h: Greatly reduce #includes.
* src/color-rgba.h, src/Makefile_insert, src/desktop.h:
Move ColorRGBA from desktop.h to new file color-rgba.h.
* src/desktop.cpp, src/dropper-context.cpp: #include it.
2004-07-05 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-properties.cpp, src/dialogs/rdf.cpp,
src/dialogs/rdf.h: added multiline data entry items, reduced
overall width of the dialog, and created the license entry areas.
Auto-detection of license on load works now.
2004-07-05 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: comitted further work which gives us a
partially-functional layers menu (not actually hooked up to
change layers yet), and it is not always updated when it needs
to be (yet). It does also fix the crash though.
* src/desktop.cpp, src/desktop.h, src/document.cpp,
src/sp-item-group.cpp, src/sp-item-group.h:
additional layers work; backed off on promoting siblings to
layers automatically and reintroduced "global" layer mode
2004-07-05 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp: prevent crash by adding a check for
layer == NULL to SPDesktopWidget::_buildLayerStatusMenuItem.
* src/selection-chemistry.cpp: prevent crash on copying empty
groups.
2004-07-04 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: fixed bug #979281 -- I had accidentally
reversed the sense of a test in SPObject::requestModified(),
such that CHILD_MODIFIED notifications were never being sent
* src/widgets/sp-color-notebook.cpp: always assume colors are
8-digit hex rrggbbaa, and zero-fill accordingly
HAPPY NATHAN#@$?#$#@$!?!?!?
* src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h,
src/interface.cpp, src/select-context.cpp, src/selection-chemistry.cpp,
src/sp-item-group.cpp, src/sp-item-group.h, src/widgets/widget-sizes.h:
Added selection-changes-current-layer and other layer refinements.
Except for fixing the currently broken layer combo box on the status
bar, I think this is pretty much the last of the layerish work I'm
willing to do for 0.39 since we're in freeze now.
2004-07-03 Kees Cook <kees@outflux.net>
* src/document.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/rdf.cpp, src/dialogs/rdf.h:
Added several more RDF entities. Created entry tooltips. Set
a few RDF defaults for the document.
2004-07-03 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/document.cpp:
siblings of a layer now become layers too
* src/interface.cpp: switched to command names suggested by bulia
* src/object-hierarchy.cpp, src/object-hierarchy.h:
bugfixes and cleanups
* src/sp-item-group.cpp, src/sp-item-group.h, src/sp-root.cpp:
new layerMode() and setLayerMode() methods; SPGroupMode becomes
SPGroup::LayerMode
* src/sp-object.h: added isSiblingOf() method
* src/sp-object.cpp: leave parent pointer in place until after
"release" handlers finish
2004-07-02 Kees Cook <kees@outflux.net>
* src/document.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/rdf.cpp, src/dialogs/rdf.h, src/xml/repr.h:
Made RDF's writable now. Handling modifications and defaults.
Mental and others will most likely kill me when they finally
read this code.
2004-07-02 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp,
src/sp-item-group.h:
Removed the "inkscape:groupmode" attribute and added note about how
the group/layer mode setting needs to be per-view, not global.
* src/desktop.cpp, src/desktop.h,
src/object-hierarchy.cpp, src/object-hierarchy.h:
Added notification signals for switching layers, as well as putting
groups in layer mode when they are being used as layers.
Notably, you can now call SPDesktop::connectCurrentLayerChanged() to
connect to a SigC++ signal to be notified when the current layer
changes.
* src/interface.cpp, src/object-ui.cpp:
Fixed up the "Enter Group" and "Leave Group" context menu
commands a bit, and implement them both in the same places.
2004-07-02 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.cpp, src/desktop-snap.h, src/snap.cpp, src/snap.h,
src/Makefile_insert src/arc-context.cpp src/draw-context.cpp
src/dyna-draw-context.cpp src/make.dep src/make.files src/make.ofiles
src/makefile.msc src/nodepath.cpp src/rect-context.cpp
src/select-context.cpp src/selection-chemistry.cpp src/seltrans.cpp
src/sp-namedview.h src/spiral-context.cpp src/star-context.cpp:
renamed desktop-snap.* to snap.* since it has nothing to do with the
desktop any more.
* src/draw-context.cpp: Temporary hack to prevent snapping
completely failing to work when snapping to bbox points. Support
shift-disables-snap for freehand drawing.
* src/snap.cpp, src/snap.h: Added some temporary methods to assist
with hacks elsewhere.
2004-07-01 Kees Cook <kees@outflux.net>
* src/xml/repr.h, src/xml/repr-util.h, src/dialogs/rdf.cpp:
moved "repr_lookup_name" into the repr-util collection so
that the RDF stuff doesn't need to know about SPRepr internals.
Now that I've started to grok the SPRepr stuff, this seems best.
Added "sp_repr_recursive_drop" for use in the future when I may
want to throw away an entire tree of SPRepr items (like ditching
a blank "dc:rights" section).
2004-07-01 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix clip path loading bug
* src/sp-object.cpp: relax analness about object ids a little
2004-06-30 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-properties.cpp, src/dialogs/rdf.h,
src/dialogs/rdf.cpp: built the various functions needed to extract
the RDF text elements from the DOM. XML in the document will now
be displayed in the entry fields.
2004-06-28 MenTaLguY <mental@rydia.net>
* src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr-css.cpp,
src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp,
src/xml/repr.cpp, src/xml/sp-repr-attr.h: applied peter's patch to
break out NRReprAttr
* src/sp-object.cpp, src/sp-object.h:
added SPObject::nearestCommonAncestor, which given another SPObject
returns the nearest common ancestor of the two SPObjects.
* src/sp-item.cpp, src/sp-item.h:
added SPItem::getRelativeTransform, which computes the SPItem's
transform relative to another SPObject
* src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp,
src/text-context.cpp:
drawing tools now cope with drawing within transformed groups
(i.e. layers)
2004-06-27 MenTaLguY <mental@rydia.net>
* src/sp-object.h: remove sp_object_request_update,
sp_object_invoke_update, sp_object_invoke_modified,
sp_object_request_modified, and sp_object_invoke_write, which have been
deprecated and are now completely unused
* src/Makefile_insert, src/desktop.cpp, src/desktop.h,
src/object-hierarchy.cpp, src/object-hierarchy.h, src/sp-object.cpp,
src/sp-object.h:
Implemented SPDesktop::setCurrentLayer(), introducing
Inkscape::ObjectHierarchy to permit falling back to parents if
the current layer is removed.
* src/object-ui.cpp, src/interface.cpp: really crude hack of
Sodipodi-like "enter group" and "leave group"
2004-06-26 MenTaLguY <mental@rydia.net>
* src/refcounted.h: allow reffing/unreffing const objects
* src/arc-context.cpp, src/draw-context.cpp, src/dropper-context.cpp,
src/event-context.cpp, src/event-context.h, src/node-context.cpp,
src/rect-context.cpp, src/selcue.cpp, src/selcue.h,
src/select-context.cpp, src/select-context.h, src/seltrans.cpp,
src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp,
src/text-context.cpp, src/zoom-context.cpp:
Make SPSelTrans and SPSelCue proper C++ classes with constructors.
* src/document.h, src/dialogs/xml-tree.cpp: removed sp_document_lookup_id
* src/sp-object.cpp: clarify what is happening with bug #980407 --
the clone is getting attached to the repr before the original SPObject
is.
2004-06-26 Carl Hetherington <inkscape@carlh.net>
* src/node-context.cpp: make sure nodepath->nodeContext is set up
when the selection changes. Fixes 936739.
2004-06-25 MenTaLguY <mental@rydia.net>
* src/display/sp-canvas.cpp: enabled win32 current item workaround on
all platforms
2004-06-25 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.h, src/dialogs/rdf.cpp, src/dialogs/Makefile_insert,
src/dialogs/desktop-properties.cpp:
Added data entry widgets for document metadata, including a rough
license selector, and debug rdf generator. Corrected whitespace,
added table for RDF entity lookup, tag, and title mapping. Added
initial loading framework. Cleaned up rdf_work_entity_t usage.
2004-06-25 Carl Hetherington <inkscape@carlh.net>
* src/sp-namedview.cpp: cleanups in grid snap settings. Fix a
typo.
* src/seltrans.cpp: optional default origin for scaling. Fixes
to snap during scale.
* src/seltrans.h: s/opposit/opposite/. Add some comments.
* src/dialogs/display-settings.cpp: add default scale origin
option.
* src/desktop-snap.h: changes to snap_list_scale prototype.
* src/desktop-snap.cpp: snap_list_scale now returns whether
it snapped or not. The best scale snap is now the one that
changes the scale factor least, rather than the one that
results in the snap point being closest to where it used to be.
* src/display/sp-canvas.cpp: fix for win32 freeze-at-border bug,
copied from SP.
* src/knot.cpp, src/select-context.cpp: change spellings from
British to American English for translators.
2004-06-24 rejon <kidproto@users.sf.net>
* src/verbs.cpp: I changed the reverse command to be more verbose and
explanative.
2004-06-24 MenTaLguY <mental@rydia.net>
* src/seltrans.cpp: slight change to make showing/hiding center
mark easier later on
* configure.in, src/main.cpp, src/star-context.cpp,
src/display/bezier-utils.cpp, src/display/canvas-bpath.cpp,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp,
src/display/sp-ctrlline.cpp, src/libnr/nr-svp.cpp,
src/libnrtype/FontFactory.cpp, src/libnrtype/RasterFont.cpp,
src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp,
src/livarot/Ligne.cpp, src/livarot/PathOutline.cpp,
src/livarot/ShapeMisc.cpp, src/widgets/font-selector.cpp:
fixes for floating-point portability issues, courtesy of
Colin Marquardt.
* src/extensions/init.cpp: dirent.h requires inttypes.h on OS X
2004-06-23 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/desktop.cpp, src/managed.h,
src/message-context.cpp, src/message-stack.h, src/refcounted.h,
src/selection.h, src/view.cpp:
Changed my mind.
Inkscape::Managed is more properly called Inkscape::Refcounted
* src/libnrtype/Makefile_insert, src/libnrtype/codepages.h,
src/libnrtype/cp1250.cpp, src/libnrtype/cp1251.cpp,
src/libnrtype/cp1252.cpp, src/libnrtype/cp1253.cpp,
src/libnrtype/cp1254.cpp, src/libnrtype/cp1255.cpp,
src/libnrtype/cp1256.cpp, src/libnrtype/cp1257.cpp,
src/libnrtype/cp1258.cpp, src/libnrtype/cp874.cpp,
src/libnrtype/cp932.cpp, src/libnrtype/cp936.cpp,
src/libnrtype/cp949.cpp, src/libnrtype/cp950.cpp:
removed unused Win32 codepage crap
2004-06-23 Carl Hetherington <inkscape@carlh.net>
* src/inkscape.cpp: Don't connect to SIGBUS on Win32, as
it doesn't seem to exist. Add Emacs mode line.
Declaration-to-first-use and coding style cleanups.
* src/desktop-snap.h: a few double -> NR::Coord fixes.
* src/nodepath.cpp: turn off snapping when Shift is held down.
Some minor cleanups.
* src/dialogs/display-settings.cpp: remove my rather dubious
move_with_grid option.
* src/select-context.cpp: rationalise grid modifiers; now Shift
disables snap and Alt snaps movement to the grid.
2004-06-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* share/extensions/dia2svg.sh: Fix bashism and insecure tempfile usage.
2004-06-23 Ted Gould <ted@gould.cx>
* share/extensions/dropshadow.inkmod, share/extensions/roundhole.inkmod,
src/extension/system.cpp:
Setting it up so that poorly formed inkmod files generate actual GTK
warnings so that they can be easily hidden. Also, fixing these two inkmod
files so that they don't generate the above mentioned warnings.
2004-06-22 Kees Cook <kees@outflux.net>
* src/inkscape.cpp: added SIGBUS and SIGABRT handling.
2004-06-22 John Cliff <simarilius@yahoo.com>
* src/object-edit.cpp: Added knots for manipulation of pattern fills.
* src/sp-shape.cpp, src/sp-shape.h: Added sp_shape_set_pattern to
explictly set the transform rather than multiplying like adjust.
2004-06-22 Carl Hetherington <inkscape@carlh.net>
* src/sp-shape.cpp: add sp_shape_snappoints.
* src/desktop-snap.cpp: minor cleanups. Added a comment.
* src/sp-text.cpp: removed an old comment.
* src/sp-ellipse.cpp: fix snappoints method now that the parent
class method has changed.
* src/sp-rect.cpp: snappoints method is not required as it's now
handled by SPShape.
* src/sp-image.cpp: use SPItem's snappoints method.
* src/file.cpp: fix another call to g_file_test with a
possibly-NULL parameter. Fixes #977413.
2004-06-21 Carl Hetherington <inkscape@carlh.net>
* src/file.cpp: don't call g_file_test with a NULL path. Fixes
#976703.
* src/desktop-snap.cpp: default to snapping to bounding boxes when
snapping is first enabled. Rework in terms of SPNamedView rather
than SPDesktop.
* src/desktop-snap.h: rework in terms of SPNamedView rather than
SPDesktop.
* src/arc-context.cpp, src/draw-context.cpp,
src/dyna-draw-context.cpp, src/nodepath.cpp src/rect-context.cpp,
src/select-context.cpp, src/selection-chemistry.cpp,
src/seltrans.cpp, src/sp-namedview.cpp, src/spiral-context.cpp,
src/star-context.cpp: Adapt for changes to snap code naming.
* src/seltrans.cpp: cleanups to sp_sel_trans_skew_request and
sp_sel_trans_scale_request.
2004-06-20 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod,
share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod,
share/extensions/epsi_output.inkmod, share/extensions/roundhole.inkmod,
share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod,
share/extensions/txt2svg.inkmod, src/extension/extension.h,
src/extension/system.cpp, src/extension/implementation/script.cpp,
src/extension/internal/eps-out.cpp,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp,
src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
src/extension/internal/win32.cpp:
Changing the the naming of the extensions to be more Java style naming to
allow for more extension in the future.
2004-06-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/internal/ps.cpp (PrintPS): Initialize _stream to
NULL (fixes segfaults when exporting to an unopenable file), and
initialize _bitmap to false instead of random.
2004-06-20 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/managed.h, src/message-context.h,
src/message-stack.h, src/message.h, src/view.cpp:
Document classes, and change Managed to have an initial refcount
of one at creation.
2004-06-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/FontFactory.cpp, src/libnrtype/FontInstance.cpp,
src/libnrtype/font-instance.h: If both WIN32 and WITH_XFT are
defined, then use just the WITH_XFT code. (I don't know if it's
possible for both to be defined, but we might as well document
that the existing code doesn't handle both being defined, AFAICT.)
* src/libnrtype/FontFactory.cpp (ink_strstr): Document brokenness.
(is_regular, is_nonbold, is_italic, etc.): Mark as static.
* src/Makefile.am (EXTRA_DIST): Remove reference to deleted files
libnrtype/nr-type-w32.cpp, libnrtype/nr-type-w32.h,
libnrtype/nr-type-xft.cpp, libnrtype/nr-type-xft.h.
* src/config.h.win32: Define PACKAGE_TARNAME, for require-config.h.
More accurate mathematical constants (20 decimal places instead of 3).
2004-06-19 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/managed.h, src/rect-context.cpp,
src/rect-context.h, src/selection.h, src/view.cpp:
SPSelection now derives from Inkscape::Managed
* src/Makefile_insert, src/select-context.cpp, src/select-context.h,
src/selection-describer.h, src/selection-describer.cpp:
Introduced Inkscape::SelectionDescriber to which SPSelectContext
delegates the task of displaying descriptions of the current
selection. This fixes bug #945735.
2004-06-19 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.{cpp,h}: sp_desktop_dim_snap_list returns
whether or not it snapped anything.
* src/select-context.cpp: fix snap on move behaviour (again)
* src/widgets/dash-selector.cpp: fix off-by-one spotted by
valgrind.
2004-06-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/internal/ps.cpp (begin): Add some basic error handling.
* src/extension/internal/ps.cpp (setup): Simplify an expression now that
_bitmap is a bool.
* src/extension/internal/ps.h: Twiddle the order of the fields.
Replace bitfields with bool/short.
* src/libnrtype/Makefile_insert, src/libnrtype/FontInstance.h,
src/make.files, src/make.ofiles, src/make.dep:
Remove src/libnrtype/FontInstance.h (see change below).
* src/libnrtype/RasterFont.h, src/libnrtype/raster-glyph.h,
src/libnrtype/raster-position.h:
Move raster_glyph, raster_position from RasterFont.h to new files
raster-glyph.h, raster-position.h.
* src/libnrtype/Makefile_insert: Add the new files to SOURCES.
* src/libnrtype/FontInstance.h, src/libnrtype/font-glyph.h,
src/libnrtype/font-instance.h, src/libnrtype/font-style.h:
Move font_glyph, font_instance, and font_style definitions from
FontInstance.h into new files font-glyph.h, font-instance.h,
font-style.h.
* src/libnrtype/Makefile_insert: Add the new files to SOURCES.
* src/libnrtype/nrtype-forward.h: New file.
* src/libnrtype/Makefile_insert: Add it to SOURCES.
* src/libnrtype/FontFactory.h, src/libnrtype/TextWrapper.h:
#include it (replacing local declarations in some cases).
* src/livarot/livarot-forward.h: New file.
* src/livarot/Ligne.h, src/livarot/Path.h, src/livarot/Shape.h:
#include it (replacing local declarations in some cases).
* src/livarot/Makefile_insert: Add it to SOURCES.
2004-08-18 Ted Gould <ted@gould.cx>
* src/file.cpp, src/preferences-skeleton.h:
Adding the feature that the save and open directories are saved in the
preferences. The last one will be used.
2004-08-18 Carl Hetherington <inkscape@carlh.net>
* src/widgets/font-selector.cpp: uint -> guint to fix
compile errors.
* src/desktop-snap.{cpp,h}: make snap functions aware of the
type of point they are snapping, so they can decide whether
to ignore it.
* src/arc-context.cpp, src/rect-context.cpp,
src/spiral-context.cpp, src/star-context.cpp,
src/draw-context.cpp, src/dyna-draw-context.cpp, src/nodepath.cpp,
src/selection-chemistry.cpp, src/seltrans.cpp:
temporarily update for changes to snapping API.
* src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp:
adapt for small changes to Snapper API.
* src/select-context.cpp: use new snapping API.
2004-08-17 Bryce Harrington <bryce@bryceharrington.org>
* nodepath.cpp path-chemistry.cpp selection-chemistry.cpp,
seltrans.cpp sp-typeset.cpp splivarot.cpp text-context.cpp,
tools-switch.cpp dialogs/find.cpp: Converting statusbar
messages from old style to new, as per
http://inkscape.org/cgi-bin/wiki.pl?StatusbarAPI
2004-06-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/mkdep.pl: Add `by mkdep.pl' to `automatically generated' line.
* src/dialogs/desktop-properties.cpp:
Greater conformance to CodingStyle. Add FIXME comment.
* src/sp-namedview.cpp: Tighter scoping for iteration var.
Simplify some code by greater use of cheap sp_unit_get_by_id.
2004-06-17 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/arc-context.cpp, src/arc-context.h,
src/desktop-events.cpp, src/desktop.cpp, src/desktop.h,
src/draw-context.cpp, src/dropper-context.cpp, src/event-context.cpp,
src/event-context.h, src/file.cpp, src/interface.cpp, src/knot.cpp,
src/managed.h, src/message-context.cpp, src/message-context.h,
src/message-stack.cpp, src/message-stack.h, src/message.h,
src/select-context.cpp, src/view.cpp, src/view.h,
src/libnrtype/FontFactory.cpp, src/libnrtype/nr-type-primitives.h,
src/widgets/font-selector.cpp:
New status messages primitives (statusbar bug not fixed yet though).
2004-06-17 Carl Hetherington <inkscape@carlh.net>
* src/helper/stock-items.cpp: fix a compiler warning. Minor
coding style cleanups.
* src/arc-context.cpp, src/desktop-snap.cpp, src-desktop-snap.h,
src/rect-context.cpp, src/spiral-context.cpp,
src/star-context.cpp: Replace desktop.h include with forward
references in desktop-snap.h, and add desktop.h includes in
files which require them.
* src/widgets/spw-utilities.cpp, src/widgets/spw-utilities.h:
add spw_vbox_checkbutton.
* src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
src/sp-namedview.h, src/desktop-snap.cpp, src/desktop-snap.h,
src/desktop.cpp, src/desktop.h,
src/dialogs/desktop-properties.cpp, src/seltrans.cpp,
src/seltrans.h, src/selection.cpp, src/selection.h,
src/select-context.cpp, src/selection-chemistry.cpp:
Start of new and hopefully improved snapping code.
2004-06-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/units.h, src/helper/units.cpp:
(sp_unit_get_by_id): new function.
(sp_convert_distance_full): Change arguments & return value.
Call g_log if no conversion possible.
Callers updated.
(sp_unit_get_default, sp_unit_get_by_name): Remove unused functions.
sp_units: Less rounding error in unittobase.
2004-06-16 Carl Hetherington <inkscape@carlh.net>
* src/sp-item.h: added a comment.
2004-06-15 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod:
Removing the command-line argument to specify line endings.
* src/print.cpp, src/print.h, src/sp-text.cpp,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/internal/ps.cpp, src/extension/internal/ps.h:
Changing it so that the text to vector is its own function. This way it
can be used as a parameter in Postscript, but then can be easily used for
drivers which only support vector drawing.
2004-06-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/select-toolbar.cpp: Cleanups and preparation for px units.
* src/helper/units.h, src/helper/units.cpp:
Add reference version of sp_points_get_units, sp_units_get_points.
Implement as simple multiplication instead of sp_convert_distance.
(sp_units_table_sane): New function.
* src/helper/units-test.cpp: Test sp_units_table_sane.
* src/sp-object-repr.cpp: Move some declarations to first use.
* src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_register):
Change return type to void.
* src/sp-item.cpp (sp_item_repr_compare_position):
Reimplement as shallow wrapper around sp_repr_compare_position.
* src/helper/units.h, src/helper/units.cpp:
SPUnitId: new enum, to allow replacing string lookups.
Get rid of handling for unused SP_UNIT_USERSPACE.
Remove unused SPUnit.version field.
* src/helper/units-test.cpp (test_bases): Test sp_unit_get_identity.
* src/helper/Makefile_insert (helper_units_test_LDADD): Fix the previous
commit: -lglib-2.0 instead of -lglib.
2004-06-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/Makefile.am, src/helper/Makefile_insert,
src/helper/units-test.cpp:
New unit test file units-test.cpp.
* src/select-toolbar.cpp: Greater conformance to CodingStyle.
2004-06-14 Carl Hetherington <inkscape@carlh.net>
* src/libnrtype/TextWrapper.cpp: Fix what looks like an off-by-one.
* ChangeLog, src/prefs-utils.cpp:
Fix bracketing typo that causes an array to be overrun.
2004-06-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-path.cpp: Move some declarations to first use.
2004-06-13 Kees Cook <kees@outflux.net>
* src/xml/repr.h, src/xml/repr-utils.cpp: adding additional RDF URIs
to the default namespace prefix list.
2004-06-13 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/desktop.cpp, src/desktop.h, src/document.cpp,
src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/file.cpp, src/gradient-chemistry.cpp, src/interface.cpp,
src/rect-context.cpp, src/selection-chemistry.cpp, src/sp-object.cpp,
src/sp-object.h, src/spiral-context.cpp, src/splivarot.cpp,
src/star-context.cpp, src/svg-view.h, src/text-context.cpp,
src/extension/internal/gdkpixbuf-input.cpp:
added SPDesktop::currentRoot() and SPDesktop::currentLayer(), which
report the current "view" root and current "editing" layer,
respectively; I've also added SPObject::appendReprChild().
Between the two of them, they replace sp_document_add_repr, which
has been removed. Generally to add a repr to a document, you would
now use either:
SP_DOCUMENT_DEFS(document)->appendReprChild(repr);
or:
desktop->currentLayer()->appendReprChild(repr);
2004-06-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-clippath.h, src/sp-gradient.h, src/sp-marker.h, src/sp-mask.h, src/sp-pattern.h:
Explicitly mark _acceptObject as virtual.
(Already declared as virtual in base class.)
* src/file.cpp, src/main.cpp: Greater conformance to CodingStyle.
* src/node-context.h, src/selcue.h, src/sp-pattern.h,
src/widgets/sp-color-wheel-selector.h:
Add missing includes as found by src/check-header-compile.
* src/Makefile_insert:
* src/sp-use-reference.cpp:
* src/sp-use-reference.h:
* src/sp-use.cpp:
* src/sp-use.h:
Move SPUseReference from sp-use.h to new files sp-use-reference.h,
sp-use-reference.cpp.
* src/sp-use.h (_acceptObject): Fix can't-use-ancestor check.
* src/uri-references.h (getOwner): Fix copy&paste bug.
2004-06-11 MenTaLguY <mental@rydia.net>
* src/sp-object.h, src/sp-object.cpp:
migrated several SPObject methods to C++ methods:
sp_object_invoke_write -> SPObject::updateRepr
sp_object_request_update -> SPObject::requestDisplayUpdate
sp_object_invoke_update -> SPObject::updateDisplay
sp_object_request_modified -> SPObject::requestModified
sp_object_invoke_modified -> SPObject::emitModified
(leaving deprecated wrappers in place for now)
* src/document.cpp, src/object-edit.cpp, src/sp-clippath.cpp,
src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-image.cpp,
src/sp-item-group.cpp, src/sp-item.cpp, src/sp-line.cpp,
src/sp-marker.cpp, src/sp-mask.cpp, src/sp-offset.cpp,
src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-root.cpp,
src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-star.cpp,
src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp,
src/sp-use.cpp, src/dialogs/stroke-style.cpp, src/sp-path.cpp:
transitioned to SPObject::requestDisplayUpdate and
SPObject::updateDisplay
* src/arc-context.cpp, src/document.cpp, src/gradient-chemistry.cpp,
src/knotholder.cpp, src/main.cpp, src/rect-context.cpp,
src/sp-anchor.cpp, src/sp-clippath.cpp, src/sp-defs.cpp,
src/sp-gradient.cpp, src/sp-item-group.cpp, src/sp-item.cpp,
src/sp-mask.cpp, src/sp-namedview.cpp, src/sp-object-group.cpp,
src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp,
src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-shape.cpp,
src/sp-spiral.cpp, src/sp-text.cpp, src/sp-use.cpp,
src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp,
src/style.cpp, src/toolbox.cpp, src/dialogs/fill-style.cpp,
src/dialogs/stroke-style.cpp, src/extension/internal/svg.cpp:
transitioned to SPObject::requestModified, SPObject::emitModified,
and SPObject::updateRepr; also reworked "minimal" version of
updateRepr.
* src/sp-object.h: added a little documentation
* src/document.cpp, src/document.h, src/file.cpp,
src/gradient-chemistry.cpp, src/help.cpp, src/object-ui.cpp,
src/selection-chemistry.cpp, src/selection.cpp, src/seltrans.cpp,
src/sp-clippath.cpp, src/sp-item-group.cpp, src/sp-mask.cpp,
src/sp-namedview.cpp, src/sp-object.cpp, src/sp-offset.cpp,
src/sp-pattern.cpp, src/sp-root.cpp, src/sp-text.cpp,
src/sp-typeset.cpp, src/sp-use.cpp, src/splivarot.cpp,
src/uri-references.cpp, src/dialogs/fill-style.cpp,
src/dialogs/item-properties.cpp, src/dialogs/stroke-style.cpp,
src/helper/stock-items.cpp, src/widgets/gradient-selector.cpp,
src/widgets/gradient-vector.cpp, src/widgets/icon.cpp:
replaced sp_document_lookup_id with SPDocument::getObjectById,
and SPDocument::getObjectByRepr
(left deprecated stub in place, but it should be unused at this point)
2004-06-11 Ted Gould <ted@gould.cx>
* src/file.cpp, src/inkscape.cpp, src/interface.cpp, src/prefs-utils.cpp,
src/prefs-utils.h:
Moving the recent document setting and getting code into the prefs-utils
files so that they'll be with the preferences (which they really kinda
are). Then, moved the place where they are set from the removing of the
document to where the files are opened and 'save as'd. (yes, I made up a
word/contraction).
2004-06-10 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.cpp, src/desktop-snap.h,
src/satisfied-guide-cns.cpp, src/satisfied-guide-cns.h,
select-context.cpp, selection.cpp, selection.h, seltrans.cpp,
seltrans.h, sp-ellipse.cpp, sp-image.cpp,
sp-item-notify-moveto.cpp, sp-item-rm-unsatisfied-cns.cpp,
sp-item-update-cns.cpp, sp-item.cpp, sp-item.h, sp-offset.cpp,
sp-rect.cpp, sp-spiral.cpp, sp-star.cpp, sp-text.cpp:
Use a std::vector to store snap points, rather than a fixed-size
array.
2004-06-09 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.cpp, src/desktop-snap.h: Coding style fixes.
Use NR::Coord rather than double where appropriate. Added some
comments. Use NR::Dim2 where appropriate. Use NR_HUGE rather
than hardcoded 1e18s.
* src/rect-context.cpp, src/nodepath.cpp, src/arc-context.cpp:
Adapt for changes to sp_desktop_dim_snap prototype.
* src/select-context.cpp:
Adapt for changes to sp_desktop_dim_snap_list prototype.
2004-06-08 MenTaLguY <mental@rydia.net>
* src/display/sp-canvas.h, src/livarot/DblLinked.h,
src/livarot/LivarotDefs.h, src/livarot/AVL.h, src/livarot/Shape.h,
src/livarot/ShapeUtils.h, src/livarot/Ligne.h,
src/object-edit.cpp, src/spiral-context.cpp, src/sp-shape.cpp:
Portability fixes from Colin Marquardt <colin@marquardt-home.de>.
2004-06-08 Carl Hetherington <inkscape@carlh.net>
* src/main.cpp: remove the call to
Extension::Internal::PrintWin32::init() entirely after Ted pointed
out that it would be called by code in src/extension/init.cpp
anyway.
2004-06-08 Ted Gould <ted@gould.cx>
* src/main.cpp:
Added in a version command to our command line args. This fixes
enhancement request 968642.
2004-06-07 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/document.h, src/document-undo.cpp,
src/sp-object.h, src/sp-object.cpp:
renamed object garbage collection routines to fit the "orphan"
terminology
2004-06-07 Carl Hetherington <inkscape@carlh.net>
* src/main.cpp: tentative fix for startup crash on Win32. Ensure
that Extension::Internal::PrintWin32::init() is not called until
after inkscape_application_init().
2004-06-07 Ted Gould <ted@gould.cx>
* src/inkscape.cpp, src/main.cpp:
Moving the initialization of the extensions into the Inkscape application
init. I have mixed feelings on this. One one hand, basically extension
init gets called directly after applicaiton init and extensions init has
nothing to do with anything else in main. On the other hand I'm not sure
that it is directly related to the structure of the application itself.
Comments are welcome.
2004-06-06 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h: added inkscape:collect attribute
to specify orphan collection policy (collect with parent, or always
collect)
* src/document-undo.cpp, src/document.cpp, src/document.h: added an orphan
collection pass as part of comitting an undo step
* src/sp-object.cpp, src/sp-object.h:
add total hrefcount for all descendants, and basic orphan collection
facilities
* src/gradient-chemistry.cpp, src/dialogs/stroke-style.cpp,
src/extension/internal/gdkpixbuf-input.cpp:
mark automatically added gradients, patterns, and markers for orphan
collection
2004-06-06 Bryce Harrington <bryce@bryceharrington.org>
* libnrtype/nr-type-xft.cpp, libnrtype/nr-font.cpp,
libnrtype/nr-rasterfont.cpp, libnrtype/nr-type-directory.cpp,
libnrtype/nr-typeface.cpp, libnrtype/nr-type-w32.cpp,
libnrtype/nr-type-ft2.cpp, libnrtype/nr-type-pos-def.cpp,
libnrtype/nr-type-primitives.cpp:
Documenting the routines. This adds basic code docs for
everything in libnrtype.
2004-06-06 Ted Gould <ted@gould.cx>
* src/main.cpp, src/preferences-skeleton.h, src/extension/extension.cpp:
Making it so that the extension parameters get saved in the Inkscape
preferences. Most people will notice that their printer gets saved now.
But this does alot more than that. Added an "extensions" group to the
preferences skeleton for all these settings. All settings get saved as
"module ID"."param name". Also had to change where the extensions get
init'd in the startup to put it behind the Inkscape application so that
prerefences could be used.
2004-06-03 Ted Gould <ted@gould.cx>
* src/file.cpp, src/dialog/filedialog.cpp:
Making the whole file dialog alot more fun. Basically, now the
first filename will always be unique on files that don't have a
filename already. And, if you've selected a different default
extension, that extension's filename extension will be placed
on the file. Also, when you change the extension to save with
in the dialog, the filename extension will change with you (assuming
that you were using filename extensions previously ofcourse).
Finally, the checkbox to autoappend extensions is no insensitive
when "Autodetect" is selected.
2004-06-03 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/extension/internal/ps.cpp,
src/extension/internal/win32.cpp, src/sp-pattern.cpp,
src/dialogs/stroke-style.cpp, src/display/nr-arena-glyphs.cpp,
src/display/nr-arena-group.cpp, src/display/nr-arena-image.cpp,
src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
src/widgets/icon.cpp, src/dialogs/nr-arena-item.h:
Introduced the notion of "parent" NRGCs
2004-06-02 bulia byak <bulia@users.sourceforge.net>
* src/selection.h, src/selection.cpp:
* preferences-skeleton.h dialogs/display-settings.cpp sp-item.cpp: New settings
for various compensations
* sp-shape.cpp sp-shape.h sp-rect.cpp sp-path.cpp: Factored out adjustments
(stroke and pattern so far) from optimizing items into sp-shape.
* libnr: Added distance function for a couple of points. Added expansions for X and Y.
* object-edit.cpp sp-rect.cpp sp-item.cpp toolbox.cpp: Made rect use absolute
radii, added recursive compensation on item_transform. Added new knot for
rect, moved corner knots to the top right corner. Rect toolbar shows visible
rx/ry.
* toolbox.cpp: Finally got the freeze semaphores right (prevent loops for
changes both from the repr and from toolbar UI).
* sp-namedview.cpp: Guarding against nan in zoom, cx, cy
* select-toolbar.cpp helper/unit-menu.cpp helper/unit-menu.h: Fix units menu size
* node-context.cpp: Second Esc or empty-click deselects object
* desktop.cpp desktop.h: Restored sticky zoom
* preferences-skeleton.h extension/internal/gdkpixbuf-input.cpp file.cpp: Do not
group import if only one item; move its defs to our defs; select and move
under cursor the imported item/group. Optionally import bitmaps as filled
rects.
* many -context files: Decoupled seltrans and selcue so that the latter can be
used outside of selector; enabled optional selcue in all tools
* many files: New set_color signals on desktop, switching the dropper to them;
needs to be redone for style. Excise the old inkscape::color_set signal.
* dialogs/stroke-style.cpp: Fix the "all clubs" marker preview bug. In markers
menu, skip document markers with stockid only if the same stockid is in
markers.svg; add separator.
* many fill and stroke files: Remove old mode selector, remove dropper checkbox
(now always on). Remember active colorselector page. Remove redundant checks
in setting color (fixes at least one bug). Cosmetics, cleanup, b/w icons,
shortened labels, added mnemonics and tooltips, removed the drop-down modes
list. Switched color spinbuttons to 0..255 enabling 0..1 floats to be typed as
well.
* dialogs/find.* et al: Find dialog, command
* selection-chemistry.cpp: Fix copying objects from different parents; fix and
reorganize copying gradients, recurse into groups
* dialogs/xml-tree.cpp: Removed unused desktop shutdown signal, fixes problem
with saving window settings on exit
* select-toolbar.cpp: Percentage unit, lock toggle, NR::Rectification
* sp-object.cpp path-chemistry.cpp splivarot.cpp et al: Sending _delete_signal
recursively for descendants; switched to deleteObject where appropriate to
notify clones
* preferences-skeleton.h desktop.cpp desktop.h interface.cpp: Window layout
fully configurable, commands in the View menu
* path-chemistry.cpp: Fixed transform when combining inside group
* preferences-skeleton.h sp-item.cpp dialogs/display-settings.cpp: Fixes in
scalestroke (coded by Carl): arbitrary depth recusion, setting stroke-width
via repr, pref in the transforms tab
* widgets/sp-xmlview-attr-list.cpp: More robust listener
2004-06-01 Ted Gould <ted@gould.cx>
* src/extension/internal/gdkpixbuf-input.cpp:
Making it so that the lists of extensions and mimetypes are
used in the creation of the plugins. Also, free'ing everything
properly so that we don't have a memory leak.
2004-05-30 MenTaLguY <mental@rydia.net>
* src/selection.h, src/selection.cpp:
rework SPSelection to be SPObject- rather than SPItem- oriented;
this will be needed later for the layers/document tree dialog
(and could prove useful for the XML editor later too)
* src/sp-item.h: make SPItem a proper C++ subclass of SPObject
* src/dialogs/item-properties.cpp:
correct overly intimate knowledge of SPObject (use SP_OBJECT_ID rather
than directly accessing the SPObject::id member)
2004-05-27 Kees Cook <kees@outflux.net>
* src/extension/internal/ps.h, src/extension/internal/ps.cpp:
Hopefully fixed the locale problems in the PS output generator.
* src/sp-offset.cpp, src/display/bezier-utils-test.cpp,
src/display/nr-arena-item.cpp, src/libnr/nr-svp-render.cpp,
src/libnr/testnr.cpp, src/livarot/AlphaLigne.cpp,
src/livarot/Ligne.cpp, src/livarot/Path.cpp,
src/livarot/PathCutting.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeDraw.cpp, src/livarot/ShapeSweep.cpp,
src/svg/svg-affine.cpp: added comments and notes to all remaining
"printf"ish calls that have %g or %f in them. Most are just debug
output, etc. Hopefully we are actually free of locale bugs! :)
* src/desktop.h, src/desktop.cpp: desktop's knowledge of
fullscreen-ness doesn't depend on having the ability to DO it. Other
functions already test "is_fullscreen" to alter their behavior.
2004-05-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/system.h, src/extension/system.cpp (build_from_file):
Remove unused second argument. Callers updated.
* src/extension/system.cpp (build_from_reprdoc):
Just one call to sp_repr_name per child.
* src/extension/system.h, src/extension/system.cpp:
Cleanup: greater conformance to CodingStyle.
2004-05-23 MenTaLguY <mental@rydia.net>
* src/libnrtype/Makefile_insert, src/libnrtype/nr-type-gnome.cpp,
src/libnrtype/nr-type-gnome.h, src/libnrtype/nr-type-dictionary:
removed gnome-print libnrtype backend
2004-05-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr.h, src/xml/repr-util.cpp:
Remove unused function sp_repr_set_position_relative.
* src/xml/repr-util.cpp (sp_repr_compare_position, sp_repr_position):
Minor cleanups.
2004-05-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-use.cpp: Cleanup: greater conformance to CodingStyle.
* src/sp-item-group.cpp (sp_item_group_ungroup): Fix bug #956334:
ungrouping was reversing the order of the group members.
* src/xml/repr-get-children.h, src/xml/repr-get-children.cpp: New files.
* src/xml/Makefile_insert (xml_libspxml_a_SOURCES): Add the new files.
* src/xml/repr-private.h, src/xml/repr.cpp (sp_repr_nth_child):
Remove this unused function.
* src/xml/repr.h, src/xml/repr.cpp (sp_repr_parent):
Mark pointer as not written through (const).
2004-05-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr.cpp: Cleanup: greater conformance to CodingStyle.
* src/Makefile_insert: Add missing dependencies on inkscape_version.h.
* src/display/Makefile_insert: Adapt dependency object names for
`subdir-objects' automake option.
* src/helper/Makefile_insert: Adapt dependency object names for
lack of libspchelp-specific CPPFLAGS.
2004-05-17 Carl Hetherington <inkscape@carlh.net>
* src/libnrtype/nr-type-w32.cpp: Tentative fix for
build problems on Win32.
* src/extension/internal/svg.cpp: Coding style cleanups.
2004-05-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-item.h, src/sp-item.cpp: Remove unused
distance-conversion functions sp_item_distance_to_svg_bbox,
sp_item_distance_to_svg_viewport.
* src/sp-item.cpp: Cleanup: greater conformance to CodingStyle.
* acinclude.m4: Remove.
2004-05-16 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/svg.cpp:
Throw an exception if sp_repr_save_file fails. This should close
bug 948921.
2004-05-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/check-header-compile.in: New script.
* configure.in: Add it to list of files for substitution.
* src/star-context.cpp: Minor cleanups, and use g_strdup_printf instead
of fixed-size buffer for translated string.
* src/selection-chemistry.cpp: Use NR::Rect bounds() method instead of
old bounds(NRRect*).
* src/document.cpp (sp_document_create):
* src/preferences-skeleton.h:
Use INKSCAPE_VERSION from inkscape_version.h instead of VERSION.
* src/libnr/nr-rotate-test.cpp: Use new rotate_equalp function.
* src/libnr/nr-translate-ops.h (operator-): New function.
* src/select-context.cpp:
* src/selection-chemistry.cpp:
* src/xml/repr.h:
* src/sp-defs.h:
Cleanup: greater conformance to CodingStyle.
* src/libnr/nr-macros.h: Don't #include nr-matrix.h, nr-rect.h.
* src/arc-context.h, src/desktop-affine.h, src/dir-util.h,
src/draw-context.h, src/dyna-draw-context.h, src/help.h,
src/knotholder.h, src/prefs-utils.h, src/select-toolbar.h,
src/sp-clippath.h, src/sp-mask.h, src/sp-pattern.h, src/sp-use.h,
src/text-context.h, src/toolbox.h, src/tools-switch.h,
src/dialogs/dialog-events.h, src/dialogs/sp-attribute-widget.h,
src/display/sp-canvas.h, src/helper/gnome-utils.h,
src/helper/png-write.h, src/helper/stock-items.h, src/inkjar/jar.h,
src/libnr/nr-matrix.cpp, src/libnr/nr-point-l.h,
src/svg/stringstream.h, src/svg/svg-affine.cpp,
src/widgets/gradient-selector.h, src/widgets/paint-selector.h,
src/widgets/spinbutton-events.h, src/widgets/spw-utilities.h,
src/xml/repr-action.h:
Add missing header files as detected by check-header-compile script.
* src/libnr/nr-rotate-fns.h, src/libnr/nr-rotate-fns.cpp: New files.
* src/libnr/nr-rotate-fns-test.cpp: New unit test.
* src/libnr/Makefile_insert, src/Makefile.am: Reference new files,
add to unit tests.
* src/libnr/nr-rotate.h: Add Coord,Coord constructor.
* src/libnr/nr-rotate.h, src/libnr/nr-rotate-ops.h (operator*=):
New method.
* src/libnr/nr-point-fns.h (point_equalp): New function.
* src/radial.h: Remove this unused header.
* src/xml/xml-forward.h: New file.
* src/xml/Makefile_insert: Add it to xml_libspxml_a_SOURCES.
* src/xml/repr-private.h: Include it.
2004-05-16 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-directory.cpp, src/libnrtype/nr-type-ft2.cpp,
src/libnrtype/nr-type-ft2.h, src/libnrtype/nr-type-gnome.h,
src/libnrtype/nr-type-w32.h, src/libnrtype/nr-type-xft.cpp,
src/libnrtype/nr-typeface.h:
transition to C++ inheritance
* src/verbs.cpp, src/helper/action.h, src/helper/action.cpp,
src/widgets/button.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h:
removed barely-used "in-place construction" facility for NRObject
* src/helper/action.h, src/helper/action.cpp,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-glyphs.h,
src/display/nr-arena-image.cpp, src/display/nr-arena-image.h,
src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
src/helper/action.cpp, src/helper/action.h, src/libnr/nr-object.cpp,
src/libnr/nr-object.h, src/libnrtype/nr-type-ft2.cpp,
src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp,
src/libnrtype/nr-typeface.cpp:
Made NRObject "C++-compatible". All C++ features including virtual
methods and RTTI should now be available to NRObject subclasses
_provided_:
a) there is an unbroken chain of _C++_ inheritance from the subclass
back to NRObject
b) the NRObject-derived inheritance chain is always first in cases
of multiple inheritance (the NRObject must be first in the memory
layout)
c) The subclass in question overrides NRObjectClass::cpp_ctor in its
own class_init function, with a pointer to a function that calls
the specific subclass' constructor (via placement new -- you will
need to #include <new> for this to work)
n.b. Objects of classes which do not override cpp_ctor will appear
to the C++ runtime system (RTTI and virtual dispatch, at least) as
objects of the closest ancestor class which does override it
(NRObject or NRActiveObject if nothing else).
2004-05-15 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp:
further reduced dependency on SPStyle
2004-05-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-path.cpp, src/libnr/nr-path.h (nr_path_matrix_bbox_union):
Get rid of no-longer-needed tolerance arg. Update callers.
* src/selection.cpp, src/sp-chars.cpp, src/sp-image.cpp,
src/sp-item-group.cpp, src/sp-item.cpp, src/sp-item.h,
src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp,
src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp,
src/sp-use.cpp, src/dialogs/fill-style.cpp,
src/dialogs/stroke-style.cpp, src/display/nr-arena-shape.cpp,
src/libnr/nr-path.cpp, src/libnr/nr-path.h,
src/libnrtype/nr-font.cpp, src/libnrtype/nr-rasterfont.cpp,
src/libnrtype/nr-type-gnome.cpp, src/widgets/icon.cpp,
src/widgets/paint-selector.cpp:
Change argument from NRMatrix to NR::Matrix in SPItemClass->bbox,
sp_item_invoke_bbox, sp_item_invoke_bbox_full,
nr_path_matrix_bbox_union. Users updated.
* src/libnr/nr-rect.h, src/libnr/nr-rect.cpp (nr_rect_union_pt):
new function.
* src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp
(NR::transform): new function.
* src/Makefile_insert: Move fixes.cpp from libinkpre.a to libinkpost.a.
* src/xml/Makefile_insert (xml_repr_action_test_LDADD):
Add libinkpost.a, for fixes.o. `make check' now works again.
* src/sp-text.cpp (sp_text_set_transform):
Don't include SP_OBJECT_CHILD_MODIFIED_FLAG in flags for
sp_object_request_update. Addresses `critical' warning.
2004-05-13 John Cliff <simarilius@yahoo.com>
* src/dialogs/stroke-style.cpp: Switched to using get_stock to retrieve markers.
* src/helpers/stock-items.h, src/helpers/stock-items.cpp: created to handle stock items.
* src/prefix.h: Added marker and gradient directorys.
2004-05-13 Kees Cook <kees@outflux.net>
* configure.in, src/main.cpp, config.h.mingw, debian/rules:
made popt a requirement instead of an option.
2004-05-13 Carl Hetherington <cth103@houllier.home>
* sp-color-notebook.cpp: Fix uninitialised value spotted by valgrind.
* stroke-style.cpp:
Fix ink_extract_marker_name returning a pointer into a free()d buffer.
2004-05-13 Ted Gould <ted@gould.cx>
* src/file.cpp:
Making the default filename _("untitled.svg")
2004-05-12 Kees Cook <kees@outflux.net>
* config.h.mingw: added g_ascii_strtod macro.
2004-05-12 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/export.cpp: fix faulty logic with exporting of
selections, as reported by Artemio on the ML.
* src/dialogs/desktop-properties.cpp: Fix a gtk_table size.
Make use of spw_dropdown in one place.
* src/select-context.cpp: Remove alt-drag "slow move" mode.
Make alt-drag move without any grid snap, even if the grid
is enabled. Add a new mode, shift-drag, which preserves
objects' grid offsets rather than snapping their snappoints.
* src/selection-chemistry.cpp: Pasted objects have the same
offset from the grid as the original, if the grid is enabled.
Also a NRRect -> NR::Rect fix thrown in for no extra charge.
* src/dialogs/display-settings.cpp: Added option to reverse
the actions of drag and shift-drag when moving objects.
2004-05-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/main.cpp (main): Test ENABLE_NLS instead of HAVE_NLS (which
wasn't getting defined). Restores translations on *nix systems
when inkscape translations aren't in system-wide /usr/share/locale.
2004-05-10 Carl Hetherington <inkscape@carlh.net>
* src/sp-item.cpp, src/dialogs/display-settings.cpp: primitive
support for preserving line widths when scaling. Thanks to Bulia
for telling me what to do :)
* src/dialogs/align.cpp: refactor some cut-and-paste code into
a separate function. Remove NRRect. Declaration-to-first-use
cleanups.
* src/dialogs/transformation.cpp, src/dialogs/fill-stype.cpp:
NRRect removal. Declaration-to-first-use cleanups.
2004-05-09 MenTaLguY <mental@rydia.net>
* src/sp-paint-server.h: SPPaintServer now uses C++ inheritance
(bigger question -- should SPPaintServer derive from SPObject? I think
not, actually ... it's more something that should be aggregated into
the various paint-server-capable types)
* src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp:
first steps in removing SPStyle dependency from NRArenaShape --
add fill and stroke paint server members, and use those instead
of reading directly from an SPStyle.
2004-05-09 Kees Cook <kees@outflux.net>
* src/libnrtype/nr-type-xft.cpp: added patch 898200, hopefully this
won't break anyone.
* src/dialogs/desktop-properties.cpp: added patch 947127, along with
some orientation bugfixes, list cleanup, and logic to select the
correct menu items based on document settings.
* configure.in: default to always replace g_ascii_strtod.
2004-05-08 Kees Cook <kees@outflux.net>
* src/extension/internal/gdkpixbuf-input.cpp: skip SVG files. (open bug)
* configure.in, src/Makefile_insert, src/fixes.cpp: added replacement
for g_ascii_strtod, since it has locale-related bugs in gnome 2.0.
The upstream version is fixed, so some day, we won't need this any
more. (fixes "ugly icons" bug, and possibly the spinbutton locale bug)
* src/dyna-draw-context.cpp, src/rect-context.cpp, src/sp-namedview.cpp,
src/sp-object.cpp, src/sp-object.h, src/sp-pattern.cpp,
src/sp-polygon.cpp, src/sp-polyline.cpp, src/sp-root.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp,
src/sp-text.cpp, src/spiral-context.cpp, src/star-context.cpp,
src/svg/ftos.cpp, src/svg/svg-affine.cpp, src/svg/svg-color.cpp,
src/svg/svg-length.cpp: adding "config.h", making a few extra
locale-sensitive functions use g_ascii versions.
2004-05-08 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: move "transformed" signal emission after actual
application of transform
* src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr.cpp:
fix lifecycle issues with content and attribute strings
* src/sp-object.h, src/sp-object.cpp: added SPObject::setId()
2004-05-08 Kees Cook <kees@outflux.net>
* src/verbs.cpp, src/help.cpp: localizing "about" and "keys" stuff.
* po/*.po: rebuilt for new strings.
2004-05-08 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/desktop-properties.cpp: the usual cleanups. Also
add some sp_document_done()s in various places.
2004-05-08 bulia byak <bulia@users.sourceforge.net>
* widgets/paint-selector.cpp: Tooltips, slight cosmetics
* main.cpp: --help edit
* sp-use.h sp-use.cpp: Redid move compensation using _transformed_signal
* sp-item.h sp-item.cpp: Added _transformed_signal, emitted by write_transform,
passes the difference transform relative to the old one (not the new transform
set)
* nodepath.cpp: Fix lagging update of the other handle for smooth nodes
* widgets/dash-selector.cpp: (Almost) fixed display of shorter-than-0.5 dashes
in selector; proper fixing will require manual drawing the dashes instead of
using gdk dashes
* preferences-skeleton.h: lots of new dasharrays
* dialogs/stroke-style.cpp: Remove repetitive code; relocation patch from
mhearn; fixed, reenabled, and automated marker previews (no need for previews
in markers.svg)
* share/markers/markers.svg: Cleanup, sizes, remove manual previews
* style.cpp: Disabled warning for overflow property (we need it for markers)
* splivarot.cpp: Fixed transform when doing boolop inside group
* libnr/nr-path.cpp: Ported fix from sodi, fixes two bugs with endnodes of a
curve on the same hor/vert line
* sp-namedview.cpp: Use set_default_size instead of _resize for setting window
from namedview
* preferences-skeleton.h dialogs/item-properties.cpp: Objects props
transientized (better late than never)
* dialogs/display-settings.cpp: Added simplify threshold
* sp-use.cpp: Mega-kill use on unlink
* preferences-skeleton.h dialogs/display-settings.cpp: Orphaned clones options
* sp-item-group.cpp: Prevent jumps when ungrouping clone with its original
* sp-object.cpp: Fix crash when deleting clone and its original
* toolbox.cpp, tool contexts: Alt-x and top panel keyboard shortcuts now work
for all tools
* sp-use.cpp enums.h: Unlink option on self-delete
* sp-use.cpp: Fix: disappeating clone on undoing ungrouping (_show finally works properly)
* splivarot.cpp: Boolops: cleanup, preserve id, parent, position, fix to take
style from the bottom object
* interface.cpp verbs.cpp shortcuts.cpp: Mnemonics, tooltips, shortcuts,
cleanup, autoraise removed from menu
2004-05-07 Kees Cook <kees@outflux.net>
* src/verbs.cpp: re-localizing tutorials. My goof!
* po/POTFILES.in: removed arikkei references
2004-05-07 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp: make sure that a SPNamedView's modified signal
is connected to the SPDesktop even when a file is loaded into an
existing SPDesktop. Fixes problems whereby grid snap does not
work for the first file loaded in a session. Fix a && -> & typo.
* src/sp-object.cpp: declaration-to-first-use and coding style
cleanups.
2004-05-05 Spundun Bhatt <spundun@isi.edu>
* configure.in: Stole Nathan's configure hack and used it to
support gtkmm-2.4
2004-05-06 Ted Gould <ted@gould.cx>
* src/file.cpp, src/extension/extension.cpp, src/extension/init.cpp,
src/extension/internal/Makefile_insert,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/gdkpixbuf-input.h:
Changing the import functionality so that it works much more like open.
You can use any format, and it will place that file directly in the
document that you are working on. Added input extensions that cover all
of the bitmap formats that are covered with gdkpixbuf. Also, more
formats can be used using the scripting system.
2004-05-06 Carl Hetherington <inkscape@carlh.net>
* src/sp-line.cpp, src/sp-mask.cpp, src/sp-metrics.cpp:
declaration-to-first-use and coding style cleanups
2004-05-05 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-dictionary.cpp: removed 'private-fonts'
feature (we should rely on fontconfig for "custom" font stuff)
* configure.in, src/Makefile_include, src/Makefile.am,
src/libarikkei/*: removed the now unused libarikkei
2004-05-05 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/dialogs/text-edit.cpp, configure.in: Added support for spell
checking in text dialog.
2004-05-04 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-glyphs.h: fixed cut-and-paste error in
NRArenaGlyphsGroup::create()
* src/selection.cpp, src/selection.h: fixed global "changed" propagation
2004-05-02 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/print.cpp, src/sp-chars.cpp, src/sp-clippath.cpp,
src/sp-image.cpp, src/sp-item-group.cpp, src/sp-mask.cpp,
src/sp-pattern.cpp, src/sp-shape.cpp, src/sp-text.cpp,
src/sp-use.cpp, src/dialogs/stroke-style.cpp,
src/display/canvas-arena.cpp, src/display/nr-arena-glyphs.cpp,
src/display/nr-arena-glyphs.h, src/display/nr-arena-group.h,
src/display/nr-arena-image.h, src/display/nr-arena-item.cpp,
src/display/nr-arena-item.h, src/display/nr-arena-shape.h,
src/display/nr-arena.h, src/libnr/nr-object.h, src/widgets/icon.cpp:
removed nr_arena_item_new in favor of static ::create() functions
which call NRArenaItem::init() to perform setup (i.e. setting
NRArenaItem::arena). Eventually NRArenaItem::init() and
nr_arena_item_init will merge and become NRArenaItem's constructor.
2004-04-30 MenTaLguY <mental@rydia.net>
* src/sp-use.cpp: call parent class' write methods rather than
attempting to do everything (wrongly) ourselves; among other
things, <use> transform attributes weren't getting written
* src/sp-object.h, src/sp-object.cpp:
designate a "successor" object so we still perform as
expected if objects are replaced in the middle of e.g. a
bulk delete operation
* src/sp-use.cpp: cleanups and succession logic for <use>
deletion
* src/widgets/sp-hwrap-box.cpp, src/widgets/sp-hwrap-box.h,
src/widgets/sp-vwrap-box.cpp, src/widgets/sp-vwrap-box.h,
src/widgets/sp-wrap-box.cpp, src/widgets/sp-wrap-box.h,
src/widgets/test-wrapbox.cpp, src/widgets/Makefile_insert:
Removed unused (and imperfect) "wrapbox" widgets.
* src/sp-object.h, src/sp-object.cpp, src/sp-item-group.cpp:
Removed unused sp_object_invoke_forall and sp_object_sequence
methods. (forall might be nice to have, but we can do better
implementation-wise now that we're in C++-land)
2004-04-30 njh <njh@mail.csse.monash.edu.au>
* main.cpp: replaced gtk_init with g_type_init for console mode.
Closes 944969.
2004-04-29 MenTaLguY <mental@rydia.net>
* src/sp-image.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp,
src/sp-path.cpp, src/sp-rect.cpp, src/sp-text.cpp:
write_transform becomes set_transform, which applies the given
transform to the object without (!) invoking a repr write
* src/sp-star.cpp, src/svg/svg-length.h, src/svg/svg-length.cpp,
src/svg-types.h, src/svg/svg.h:
replaced raw integers with real units enum
* src/libnr/nr-matrix.h:
removed dead assertion (it's always valid to retrieve the
translation component of a matrix)
* src/selection-chemistry.cpp:
delete items via SPItem (SPObject), not repr
* src/sp-object.h, src/sp-object.cpp:
added SPObject::deleteObject() and a delete notification signal;
SPObject now inherits from GObject in the C++ sense
* src/sp-use.h:
don't accept references to the use or its ancestors (preventing
infinite loops)
* src/sp-use.cpp, src/sp-use.h:
added automatic deletion when referrent is deleted
* src/uri-reference.h:
added URIReference::getOwner()
2004-04-29 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/win32.cpp: add textToPath parameter to
description in order to fix #944131.
2004-04-28 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp, src/inkscape.cpp, src/sp-namedview.cpp
Part of the fix for #942149. Also fixed some compiler warnings.
* src/display/nr-arena.cpp: Fixed an unused variable warning.
* src/main.cpp: Fix a warning that is raised on Windows.
2004-04-28 bulia byak <bulia@users.sourceforge.net>
* inkscape.cpp: Fixed prev/next desktop; numbered from 0
* Lots of files: Replaced all strtod() and atof() by g_ascii_strtod()
* interface.cpp verbs.cpp: Tooltip edits
* view.cpp view.h desktop.cpp: Signal and function to pop statusbar message
* dialogs/dialog-events.cpp: Only set the UTILITY hint for non-modal windows,
fixes "disappearing save as"
* toolbox.cpp widgets/widget-sizes.h widgets/button.cpp: Got rid of button
relief, top panel made less tall
* desktop.cpp preferences-skeleton.h dialogs/display-settings.cpp: Done away
with the sticky zoom button, now in prefs
* path-chemistry.cpp: Preserve id= in combine/break, convert to paths; preserve
z-order in combine/break; cleanups
* splivarot.cpp: New selection API, Simplify preserves id=
* select-context.cpp preferences-skeleton.h sp-item.cpp display-settings.cpp
splivarot.cpp sp-item-group.cpp sp-item-transform.cpp
sp-item-notify-moveto.cpp nodepath.cpp node-context.cpp seltrans.cpp
seltrans.h: Switched to global preservetransform, transform writing
unification (no more manual transform= setting all over the place), stamp
preserves parent, mental's new SPSelection API, pruning dead code
* verbs.cpp interface.cpp: Eliminated Dialogs menu, added ... to dialog
commands, rearrangements, menu items display tooltips in statusbar when
selected
* sp-item-group.cpp sp-item-group.h: Made document_done optional in ungroup (not
done when the function is called from another function)
* dialogs/display-settings.cpp enums.h preferences-skeleton.h sp-use.cpp
sp-use.h: Clone move compensation (3 modes), settable in prefs
* seltrans.cpp selection-chemistry.cpp: Do not translate a clone if its original
is in the selection
* verbs.cpp verbs.h interface.cpp shortcuts.cpp sp-use.cpp sp-use.h
selection-chemistry.cpp selection-chemistry.h: Unlink Clone verb and menu
command (preserves id=)
* selection-chemistry.cpp selection-chemistry.h verbs.h verbs.cpp shortcuts.cpp
interface.cpp: Select Original verb and command, scrolls to the original
* selection-chemistry.cpp selection-chemistry.h verbs.cpp verbs.h interface.cpp:
Clone command
* sp-use.h sp-use.cpp: Use URIReference; Propagate update to parent class
(SPItem) (fixes redraw on dragging a clone)
* dropper-context.cpp dropper-context.h dialogs/display-settings.cpp:
Implemented pick modes (pick either actual color with transparency or visible
color without transparency); added statusbar indication; color is only set on
mouse release
* seltrans.cpp display/sodipodi-ctrlrect.cpp: Finally the correct selection cue
rect (fixed displacement)
2004-04-27 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp: Check for there being no items when zooming to
the drawing. This fixes bug #942137.
2004-04-26 Carl Hetherington <inkscape@carlh.net>
* config.h.mingw, prefix.h:
INKSCAPE_VERSION moved to inkscape_version.h.
INKSCAPE_{PIXMAP,SCREENS,TUTORIALS,MARKERS}DIR moved to prefix.h
* src/Makefile.mingw, src/inkscape_version.h.mingw
Use CVS inkscape_version.h.mingw for inkscape_version.h on Win32.
* src/sp-use.cpp: fix a warning.
2004-04-26 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod, share/extensions/dia.inkmod,
share/extensions/txt2svg.inkmod, src/extension/extension.cpp,
src/extension/internal/svg.cpp:
Making the names of the input extensions look like the output ones.
Also, threw in a slight memory savings in removing the implementation on
deactivated extensions.
2004-04-26 MenTaLguY <mental@rydia.net>
* src/selection.cpp: migrate to new glib idle API
* src/extension/db.cpp: can't call ->deactivated() on a NULL pointer..
2004-04-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* configure.in: Replace use of old AM_PROG_LIBTOOL macro with
AC_PROG_LIBTOOL.
2004-04-26 Ted Gould <ted@gould.cx>
* share/extensions/epsi_output.inkmod:
Added in a check for ps2epsi
* src/dialogs/filedialog.cpp, src/extension/db.cpp, src/extension/db.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/init.cpp, src/extension/system.cpp:
Implementing a 'deactivated' extension. This means that it should
still exist, but show up as insensitive in any GUI element that could use
it. The idea here is that users should know what they don't have, but
Inkscape supports.
2004-04-26 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/{libnr,libnrtype,widgets,display,helper,.}*.{h,cpp}: moved
from typedef _name name; to C++ style struct name; forward
references.
2004-04-25 Ted Gould <ted@gould.cx>
* share/extensions/ai_output.inkmod, share/extensions/dia.inkmod,
share/extensions/dropshadow.inkmod, share/extensions/epsi_output.inkmod,
share/extensions/roundhole.inkmod, share/extensions/svgz_input.inkmod,
share/extensions/svgz_output.inkmod, share/extensions/txt2svg.inkmod,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h:
Adding in support for superior checking of dependencies. Now scripts
can include a line, which will look for a binary in the path. So
something like dia input will no be loaded if there isn't dia available in
the path.
2004-04-25 Carl Hetherington <inkscape@carlh.net>
* src/verbs.cpp, src/rect-context.cpp, src/spiral-context.cpp,
src/event-context.cpp, src/text-context.cpp,
src/dialogs/stroke-style.cpp, src/xml-tree.cpp, src/widgets/sp-widget.cpp:
SPSelection OO-ification.
* src/display/curve.cpp: Don't raise a critical error if a new
curve cannot be created in sp_curve_new_from_bpath(). This can
happen if a file contains a strange path, like one with only a
move in it and nothing else. This is part of the fix for bug
934882.
* src/sp-path.cpp: cope with sp_curve_new_from_bpath() returning
NULL in sp_path_set(). This is the other part of the fix for 934882.
* src/path-chemistry.cpp, src/sp-offset.cpp, src/sp-ellipse.cpp,
src/display/nr-arena-glyhs.cpp:
added asserts for calls to sp_curve_new_from_bpath() which look
like they might not expect it to return NULL.
* src/desktop.h: add a comment about how SPDesktop::selection
should never generally be NULL.
* src/desktop-handles.cpp: ensure that sp_desktop_selection never
returns NULL, so that we don't have to check for this eventuality
elsewhere.
* src/arc-context.cpp, src/seltrans.cpp, src/desktop.cpp: be less defensive about
SPDesktop::selection being NULL.
* src/path-chemistry.cpp, src/select-context.cpp,
src/selection-chemistry.cpp, src/star-context.cpp,
src/dialogs/align.cpp, src/dialogs/item-properties.cpp, src/dialogs/text-edit.cpp:
SPSelection OO-ification. Also some coding style and
declaration-to-first-use cleanups.
* src/toolbox.cpp: SPSelection OO-ification. Various cleanups.
* src/selection.h: remove deprecated access functions.
* src/dialogs/fill-style.cpp: declaration-to-first-use cleanups.
* src/selection.cpp: add vim and Emacs mode blocks.
* src/object-ui.cpp: very minor coding style fix.
2004-04-24 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/dyna-draw-context.cpp, src/object-ui.cpp,
src/path-chemistry.cpp, src/rect-context.cpp, src/select-context.cpp,
src/select-toolbar.cpp, src/selection-chemistry.cpp, src/selection.h,
src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp,
src/verbs.cpp, src/dialogs/export.cpp, src/dialogs/fill-style.cpp,
src/dialogs/in-dt-coordsys.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp:
removed sp_selection_set_item(), sp_selection_set_repr(),
sp_selection_is_empty(), sp_selection_item_selected(),
and sp_selection_repr_selected()
2004-04-24 Ted Gould <ted@gould.cx>
* share/extensions/ill2svg.pl:
Applying a patch made to the Sodipodi list by Tuukka Pasanen which adds in
support for text in Illustrator files. Also, I backed out the changes
which removed being able to specify the line endings. This will, by
default, force them back to mac compatible. Mac files didn't work with
those changes.
2004-04-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* configure.in: Tentatively remove config.h definitions of
INKSCAPE_MARKERSDIR, INKSCAPE_PIXMAPDIR, INKSCAPE_SCREENSDIR,
INKSCAPE_TUTORIALSDIR, with the understanding that these are to be
provided by prefix.h.
* src/prefix.h: Define INKSCAPE_MARKERSDIR.
* src/extension/extension.cpp (Extension):
* src/extension/init.cpp (check_extensions):
Address warning.
* src/dialogs/stroke-style.cpp: #include prefix.h.
* src/Makefile.am (EXTRA_DIST): Add */makefile.in.
* src/libnr/Makefile_insert (libnr_libnr_a_SOURCES):
Add libnr/nr-convex-hull.h, needed by sp-canvas.cpp.
2004-04-24 Ted Gould <ted@gould.cx>
* src/Makefile_include, src/prefix.cpp:
Removing the redefition of NULL and adding to the make system.
2004-04-24 Ted Gould <ted@gould.cx>
* src/extension/db.cpp, src/extension/db.h, src/extension/extension.cpp,
src/extension/extension.h, src/extension/init.cpp,
src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h,
src/extension/internal/ps-out.cpp, src/extension/internal/ps-out.h:
Adding in more checks for individual extensions. All of them
should still pass though. Also, moved the extension database from
glib to STL. This allows extensions to be deleted while using the
foreach functions (which causes instability with the glib hash
table).
2004-04-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/Makefile_insert:
* src/display/Makefile_insert:
* src/xml/Makefile_insert:
Get rid of unneeded CPPFLAGS specification.
* src/Makefile.am:
* src/Makefile_insert:
New generated file inkscape_version.h, to replace
-DINKSCAPE_VERSION=\"$(VERSION)\".
* src/help.cpp: #include it.
2004-04-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-polygon.cpp:
* src/splivarot.cpp:
* src/style.cpp:
Change include stringstream.h to include svg/stringstream.h.
* src/Makefile.am, src/Makefile_insert: Change libinkscape.a use
to eliminate triple compilation of these object files.
* src/Makefile.am: Use `subdir-objects' option.
* src/Makefile.am: Add global INCLUDES setting.
* src/*/Makefile_insert: Get rid of now-redundant $(INKSCAPE_CFLAGS)
from *_CPPFLAGS.
* src/*/makefile.in: `%' as a target doesn't behave as intended,
so replace with less general `clean %.a %.o' and add .SUFFIXES.
2004-04-22 Ted Gould <ted@gould.cx>
* src/draw-context.cpp, src/dropper-context.cpp,
src/dyna-draw-context.cpp, src/node-context.cpp, src/nodepath.cpp,
src/sp-ellipse.cpp, src/sp-offset.cpp, src/sp-path.cpp,
src/sp-polygon.cpp, src/sp-shape.cpp, src/splivarot.cpp, src/toolbox.cpp,
src/display/curve.cpp, src/display/nr-arena-shape.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/ps.cpp,
src/libnr/nr-path.cpp, src/libnr/nr-path.h,
src/libnrtype/nr-rasterfont.cpp, src/libnrtype/nr-type-ft2.cpp,
src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp,
src/libnrtype/nr-typeface.cpp, src/livarot/PathCutting.cpp,
src/svg/gnome-canvas-bpath-util.cpp, src/svg/svg-path.cpp:
Changing the ART_ enums to NR_ so that if libart is include (like if
you are building gnome-print) it doesn't conflict with the internal
definitions.
* share/extensions/svgz_output.inkmod, src/extension/extension.cpp,
src/extension/init.cpp, src/extension/implementation/script.cpp:
Adding in a little more checking code. Now extensions can start
deleting themseleves if they fail certain tests. More tests are
needed, along with more testing of this feature. Consider this
an 'early release' of the feature. ;)
2004-04-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/Makefile.am: Make non-recursive. Now sources */Makefile_insert.
See HACKING or discussion on mailing list.
* autogen.sh: Bump requirement from automake-1.6 to automake-1.7.
* configure.in: Don't generate src/blah/Makefile, but do generate
src/blah/makefile.
* src/*/Makefile.am: Remove.
* src/*/makefile.in: New wrapper makefiles to allow typing `make' from
subdirectories of src. (Not used by compiles started from top-level
or from src/.)
2004-04-21 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-w32.h: fixed unremoved underscores
* src/select-context.cpp, src/selection.cpp, src/selection.h,
src/seltrans.cpp, src/tools-switch.cpp, src/dialogs/align.cpp:
remove improper twiddling of desktop message line from SPSelection;
some additional work is now required in SPSelectContext to update
the message properly in all cases.
* src/selection.h, src/selection.cpp: touched up and documented
SPSelection
* src/uri-references.h: documentation touch-ups
2004-04-20 Kees Cook <kees@outflux.net>
* src/file.cpp, src/desktop.cpp: moved sp_file_open unselection code into
sp_desktop_change_document. Generalized Carl's fix for unref counting
since it applies in both cases. (My bad!)
2004-04-20 MenTaLguY <mental@rydia.net>
* src/text-context.cpp: merged Carl's fix for signal cleanup
* src/selection.h: marked wrappers for old API as deprecated
2004-04-20 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/ps.cpp, src/extension/internal/ps.h:
Fixed some bugs in exporting images that seem to have been
introduced when the code was copied from the gimp. They caused
problems when exporting bitmap images to PS.
* src/file.cpp: fix bug whereby the first file loaded in a session
would not have its modified status checked when closed. Hence if
you modified the first file you loaded and then closed it, you
would not be asked to confirm the close.
* src/preferences-skeleton.h: add \n to the end of each line to
fix bug 938368.
2004-04-19 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/desktop-handles.h, src/desktop.h,
src/draw-context.cpp, src/draw-context.h, src/forward.h,
src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp,
src/node-context.h, src/rect-context.cpp, src/selection-chemistry.cpp,
src/selection-chemistry.h, src/selection.cpp, src/selection.h,
src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp,
src/star-context.h, src/text-context.cpp, src/dialogs/xml-tree.cpp,
src/widgets/sp-widget.h:
finished GObject removal from SPSelection
* src/arc-context.h, src/arc-context.cpp, src/desktop.cpp, src/desktop.h,
src/draw-context.cpp, src/draw-context.h, src/node-context.cpp,
src/node-context.h, src/rect-context.cpp, src/rect-context.h,
src/selection.cpp, src/selection.h, src/seltrans.cpp, src/seltrans.h,
src/spiral-context.cpp, src/spiral-context.h, src/text-context.cpp,
src/text-context.h, src/toolbox.cpp:
migrated SPSelection to SigC++ signals (though it's a bit messy
right now)
2004-04-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/stroke-style.cpp: Cleanups: greater conformance to
CodingStyle. Moved some declarations to their first use.
2004-04-19 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/stroke-style.cpp, libnr/nr-rect-l.cpp:
Fix a couple of compiler warnings.
* src/dialogs/filedialog-win32.cpp: add OFN_NOCHANGEDIR to Win32
flags in OPENFILENAME structs. This prevents the open / save
boxes from changing the current directory. Any change to the
current directory causes problems for subsequent attempts to
load icons from pixmaps. Also, fix a bug whereby the save
dialogue would sometimes not open due to being passed a filename
it didn't like.
2004-04-19 bulia byak <bulia@users.sourceforge.net>
* shortcuts.cpp selection-chemistry.cpp selection-chemistry.h verbs.cpp verbs.h
interface.cpp: Clone command (Edit menu, Shift+Ctrl+N)
* sp-use.cpp: Update propagated to parent class (SPItem), misc fixes
* sp-polygon.cpp: Fix for points= updating by adding set_shape call into _write
(bug 910142)
* text-context.cpp: Do not create text object unless a printable key was
pressed; fixes 934280
* widgets/dash-selector.cpp dialogs/stroke-style.cpp: Removed marker buttons,
fixed g_free crash in marker menus, added tooltips, added stroke-miterlimit
spinbutton
* splivarot.cpp: Outline handles multiple objects; All commands use correct
stroke_miterlimit
* splivarot.cpp sp-offset.cpp: Fix for 932642
* helper/sodipodi-ctrlrect.cpp: Simplify and fix dashes and offsets
* widgets/gradient-selector.cpp: Tooltip edits
* verbs.cpp verbs.cpp verbs.h interface.cpp...: Remove tool options
* seltrans.cpp: Pivot marker made inverse
* toolbox.cpp: More defocusing
* *-context.cpp: Eliminated config widgets from all tools
* toolbox.cpp sp-ellipse.cpp: Ellipse fixes, tooltips
* verbs.cpp: Options -> Preferences
* dialogs/display-settings.cpp: An options dialog, completely new; selector
widget grafted here
* preferences-skeleton.h node-context.cpp select-context.cpp: scaling uses
defaultscale
* dialogs/display-settings.cpp display/nr-arena-image.cpp: Make oversample
saveable
* toolbox.cpp: Aux toolbar for calligraphic
* preferences-skeleton.h: fill-opacity:1 for calligraphic
* select-context.cpp seltrans.cpp seltrans.cpp: Patch to enable box and none
options for per-object selection cue
* main.cpp: Removed C-locale setting, not needed anymore; temporary switch of
gettext encoding for console output
* inkscape.cpp: Memory fix from sodi
* right-click finishes pen (patch by Carl) draw-context.cpp
2004-04-19 Carl Hetherington <inkscape@carlh.net>
* src/livarot/ShapeRaster.cpp
Fix an unitialised value error that was spotted by valgrind.
2004-04-18 MenTaLguY <mental@rydia.net>
* src/selection.cpp, src/selection.h, src/selection-chemistry.cpp,
src/seltrans.cpp, src/nodepath.cpp:
made all SPSelection members private, and changed all methods into
real C++ methods (with temporary inline wrappers for the old C
pseudo-methods)
2004-04-18 Carl Hetherington <inkscape@carlh.net>
* src/print.cpp, src/print.h, src/sp-text.cpp
src/extension/extension.cpp src/extension/extension.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h,
src/extension/internal/ps.cpp, src/extension/internal/ps.h,
Add very basic feature to allow PS text to be exported as real
text, rather than being converted to paths first. Needs some
work, mostly on font handling.
* src/seltrans.cpp: Slightly improve placement of the bounding
box selection cue.
* src/sp-shape.cpp: various marker-related cleanups, mostly factoring out
common code into functions.
2004-04-17 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp, src/node-context.cpp, src/selection-chemistry.cpp,
src/selection.cpp, src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp,
src/sp-item.cpp, src/sp-offset.cpp, src/dialogs/transformation.cpp,
src/libnr/nr-rect.cpp, src/libnr/nr-rect.h:
Cleaned up NR::Rect API and made SPSelection's desktop pointer private.
* src/display/sp-canvas.cpp, src/libnr/nr-convex-hull.h,
src/libnr/nr-rect.h:
First use of NR::ConvexHull (for propagating canvas bounding boxes)
2004-04-17 Kees Cook <kees@outflux.net>
* share/icons/icons.svg, src/verbs.cpp: made last three ugly menu icons.
2004-04-17 Nathan Hurst <njh@mail.csse.monash.edu.au>
* configure.in src/draw-context.cpp src/dropper-context.cpp
src/dyna-draw-context.cpp src/nodepath.cpp src/nodepath.h
src/path-chemistry.cpp src/sp-chars.cpp src/sp-ellipse.cpp
src/sp-offset.cpp src/sp-path.cpp src/sp-polygon.cpp
src/sp-shape.cpp src/sp-text.cpp src/splivarot.cpp src/style.cpp
src/style.h src/dialogs/fill-style.cpp
src/dialogs/object-properties.cpp src/dialogs/stroke-style.cpp
src/display/canvas-bpath.cpp src/display/canvas-bpath.h
src/display/canvas-grid.h src/display/curve.cpp
src/display/curve.h src/display/nr-arena-glyphs.cpp
src/display/nr-arena-glyphs.h src/display/nr-arena-shape.cpp
src/display/sodipodi-ctrl.cpp src/display/sodipodi-ctrl.h
src/display/sodipodi-ctrlrect.h src/display/sp-canvas-util.cpp
src/display/sp-canvas-util.h src/display/sp-canvas.cpp
src/display/sp-canvas.h src/display/sp-ctrlline.cpp
src/extension/internal/ps.cpp src/extension/internal/ps.h
src/libnr/Makefile.am src/libnr/libnr.def src/libnr/nr-path.cpp
src/libnr/nr-path.h src/libnr/nr-svp-private.h
src/libnr/nr-svp-render.cpp src/libnr/nr-svp-render.h
src/libnr/nr-svp.cpp src/libnr/nr-svp.h
src/libnrtype/nr-rasterfont.cpp src/libnrtype/nr-type-ft2.cpp
src/libnrtype/nr-type-gnome.cpp src/libnrtype/nr-type-w32.cpp
src/libnrtype/nr-typeface.cpp src/livarot/PathCutting.cpp
src/svg/gnome-canvas-bpath-util.cpp
src/svg/gnome-canvas-bpath-util.h src/svg/svg-path.cpp
src/svg/svg.h: removed libart.
* src/libnr/nr-svp-uncross.cpp src/libnr/nr-svp-uncross.h: deleted
uncross and SVL routines.
2004-04-15 Carl Hetherington <inkscape@carlh.net>
* src/make.exclude, src/make.dep, src/make.files, src/make.ofiles:
Various fixes to the Win32 build following rearrangement of some
source files and cleanups to libnr.
* src/sp-text.cpp: remove an unused variable.
* src/display/sodipodi-ctrlrect.cpp: removed two unused variables.
2004-04-16 MenTaLguY <mental@rydia.net>
* src/selection.cpp, src/selection.h, src/forward.h: initial
C++ification of SPSelection class
2004-04-15 Kees Cook <kees@outflux.net>
* debian/control, debian/changes: dropping (currently) unused
dependancies. Added "0.39cvs" tag.
2004-04-15 Carl Hetherington <inkscape@carlh.net>
* src/seltrans.cpp, src/helper/sodipodi-ctrlrect.cpp,
src/helper/sodipodi-ctrlrect.h:
Use black, dashed bounding boxes for indicating itemselection,
rather than red, solid boxes (as suggested by Bulia).
* src/desktop.cpp:
Small fix for the problem whereby the first file loaded in an
Inkscape session will not have its grid set up properly. This was
my patch #935013.
* src/dialogs/filedialog-win32.cpp:
Use the extension system to build the list of allowable file types
for save. This means that save as PS and EPS work properly.
* src/streams-zlib.cpp, src/livarot/PathConversion.cpp,
src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
src/livarot/PathStroke.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeMisc.cpp, src/display/nr-arena-glyphs.cpp,
src/helper/sodipodi-ctrlrect.cpp, src/helper/sp-canvas.cpp,
src/extension/internal/win32.cpp:
Fix compiler warnings, mostly about unused variables.
* src/helper/sp-canvas-util.cpp:
Fix what I and someone else considered to be an obvious typo. The
function in question isn't used, however, so it's a bit difficult
to test.
* src/libnrtype/nr-rasterfont.cpp:
Fix a warning wrt a cast from NR::Matrix to NRMatrix.
* src/sp-shape.cpp:
Fix bug #935758.
2004-04-14 Ted Gould <ted@gould.cx>
* src/file.cpp, dialogs/filedialog.cpp:
Making it so that the filename will get placed in the save as dialog
if there is a name for the file. Otherwise the last save directory
is used (properly now)
2004-04-15 MenTaLguY <mental@rydia.net>
* most files in src/: removed many old "compatable" struct typedefs
* src/libarikkei/arikkei-dict.cpp, src/libarikkei/arikkei-dict.h:
removed unused arikkei files
* configure.in: added gtkmm dependency
2004-04-14 Kees Cook <kees@outflux.net>
* src/helper/unit-menu.cpp: Turns out I found a 2nd bug while
investigating patch 934358. I've applied this patch again, which gives
us the entire fix.
* src/draw-context.cpp: Investigated patch 934351 from cth103. Applied a
slight variation to conform to the function calling styles of that code.
* configure.in: Implemented gcc version test for >= 3.0.0
* src/file.cpp, src/interface.cpp, share/icons/icons.svg, src/verbs.cbb:
finished "File / Revert" implementation. Found a memory leak in
"file_save". Added more sanity checking to "sp_file_revert" and more
status messages.
* src/main.cpp, src/file.h, src/file.cpp: removed redundant code, implemented
in "sp_file_open".
2004-04-13 Kees Cook <kees@outflux.net>
* tools-version.sh: added a possible fix for BSDish tools.
* configure.in, share/patterns/Makefile.am: inkscape janitor strikes
again! This is a quick cleanup to Ted's new directories. Looks
like "patterns" got left out.
* share/clipart/.cvsignore, share/templates/.cvsignore,
share/examples/.cvsignore, share/fonts/.cvsignore,
share/gradients/.cvsignore, share/keyboards/.cvsignore,
share/palettes/.cvsignore, share/patterns/.cvsignore:
Added Makefile build-cruft to .cvsignores.
* src/helper/unit-menu.cpp: applied a variation to patch 934358 from cth103
to fix grid unit changing bug.
* configure.in: fixed capitalization of "libpng" to avoid confusion.
* src/sp-namedview.cpp, src/document.cpp, src/document.h, src/file.cpp,
src/file.h, src/document-undo.cpp, src/interface.cpp, src/verbs.cpp,
src/verbs.h:
Newly opened files will only create new windows if the current document
is untouched. (RFE#928517)
Added support for future "File/Revert" handling. Needs
a little more support in the SPDocument structure. See notes in
"src/file.cpp", function "sp_file_revert_dialog".
2004-04-13 Ted Gould <ted@gould.cx>
* configure.in, share/Makefile.am, share/clipart/Makefile.am,
share/examples/Makefile.am, share/fonts/Makefile.am
share/gradients/Makefile.am, share/keyboards/Makefile.am
share/markers/Makefile.am, share/palettes/Makefile.am
share/screens/Makefile.am, share/templates/Makefile.am:
Making it so that the clipart and everything else gets put in
the tarball, and also get installed in the share directory. Many
of these have just 'README' files, but they now have good place-
holders for further development.
2004-04-12 Kees Cook <kees@outflux.net>
* src/dialogs/stroke-style.cpp, src/Makefile.am, src/dialogs/Makefile.am,
src/widgets/Makefile.am, configure.in: fixed up INKSCAPE_*DIR paths so CVS
will compile happily for me. This way if paths change, files will be
recompiled. The old way would let configure run again (changing the
datadir path) without forcing a recompile, which could break the
compiled paths.
2004-04-13 John Cliff <simarilius@yahoo.com>
* src/sp-shape.cpp, src/dialogs/stroke-style.cpp:
Couple of changes to marker related code, mid and end markers now point in correct
direction, turning off start markers behaves correctly.
This follows on from changes made by me and Carl Hetherington that were commited
yesterday to
src/inkscape-stock.cpp, src/sp-item.cpp, src/sp-marker.cpp, src/sp-shape.cpp,
src/style.cpp, src/style.h, src/dialogs/stroke-style.cpp
to implement marker UI and fixes to the marker rendering code.
2004-04-11 Ted Gould <ted@gould.cx>
* src/extension/system.cpp, src/extension/internal/eps-out.cpp
src/extension/internal/eps-out.h:
First pass at a file save dialog with EPS output. The dialog
sets the bounding box in the file. Comments encouraged.
2004-04-11 Ted Gould <ted@gould.cx>
* src/file.cpp, src/main.cpp, src/print.cpp, src/extension/init.cpp,
src/extension/init.h, src/extension/system.cpp, src/extension/system.h,
src/extension/implementation/script.cpp, src/extension/internal/eps-out.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp,
src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
src/extension/internal/win32.cpp:
Change alot of files, but small changes. Basically just took
system.cpp and init.cpp and finally ported them to the Inkscape::
Extension namespace. Cleaned up the code in them a bunch, it is
much easier to read now! All the other files are just referencing
these changes.
2004-04-11 Kees Cook <kees@outflux.net>
* src/verbs.h, src/verbs.cpp, src/interface.cpp, src/interface.h: replaced
the rest of the missing menu verbs: "View New", "Cleanup". Created
generic function to add icons to a given menu item (for submenu icons
mostly).
* share/icons/icons.svg: added "selection_cleanup", "selection_deselect",
"selection_select_all". Corrected "view_new" and "selection_smooth",
"dialog_toggle", "dialog_tool_options", "file_open_recent".
* src/selection-chemistry.cpp, src/selection-chemistry.h: renamed
"selection_cleanup" function.
2004-04-11 Jon Phillip <jon@rejon.org>
* Makefile.mingw share/Makefile.am src/Makefile.am
share/markers/Makefile.am share/markers/.cvsignore config.h.mingw
configure.in:
Added the proper infrastructure to get files to the right location for
markers.
* share/tutorials/tipsandtricks.svg: Deleted the URL trick because it no
longer works or something.
2004-04-11 Kees Cook <kees@outflux.net>
* src/verbs.h, src/verbs.cpp: added verbs for the Help and Tutorials menus.
* src/interface.cpp: replaced contents of sp_ui_menu_help to use new verbs.
* src/help.h, src/help.cpp: replaced sp_help_keys with more generic
sp_help_open_screen, similar to sp_help_open_tutorial.
* share/icons/icons.svg: created really ugly "help_tutorials" and
"help_keys" icons. The "help_keys" one needs the most help. :)
2004-04-09 Ted Gould <ted@gould.cx>
* share/extensions/Makefile.am, share/extensions/epsi_output.inkmod,
share/extensions/ps2epsi.sh, src/extension/extension.cpp,
src/extension/extension.h, src/extension/init.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h,
src/extension/internal/Makefile.am, src/extension/internal/eps-out.cpp,
src/extension/internal/eps-out.h, src/extension/internal/ps.cpp:
Okay, these are some changes that I've had in my directory for
a little while.
1) adding the basics of checking extensions. This will allow
them to remove themselves based on their dependencies failing.
2) Adding the concepts of a 'helper extension' to scripts. This
allows them to use other extensions for handling the data, so
they don't have to deal with SVG directly - Inkscape will
build the pipeline. An example of this is the epsi output.
3) Adding the bounding box change provided by Carl Hetherington
to the Postscript output. The EPS output plugin sets this, so
now EPSes have smaller bounding boxes. A GUI needs to be
written for this setting.
2004-04-08 MenTaLguY <mental@rydia.net>
* configure.in, src/svg/ftos.cpp: fix for OS X build
* src/extensions/internal.ps.cpp: crash fix
2004-04-07 MenTaLguY <mental@rydia.net>
* src/xml/repr.cpp: adjusted the advertising comment in the default
document template (we need a real default document template, btw)
* src/svg/ftos.cpp, src/svg/itos.cpp, src/svg/round.cpp,
src/svg/ftos.h, src/svg/stringstream.h: incorporated Bryce's number
serializing code (disabled for now, due to the impending release)
* src/dialogs/stroke-style.cpp, src/dialogs/sp-shape.cpp:
nuked unused variables
2004-04-07 bulia byak <bulia@users.sourceforge.net>
* icons.svg: Alignment fix
* src/select-toolbar.cpp: Swapped rotate buttons
* share/tutorials/: Cleanup, added Russian translation of basic
* extension/extension.cpp extension/system.cpp extension/internal/ps.cpp
extension/implementation/script/cpp: Fixes to make non-ascii filenames work again
* src/verbs.cpp: Remove xpm icon that causes trouble on win32
* share/examples/: new gradient.svg, tiger.svgz, cleanup
* src/widgets/gradient-vector.cpp: Crash fix: loading new gradient into the
editor does not completely reset it
* share/icons/icons.svg: New dialog icons, draw tool icons, changed colors
* src/dialogs/align.cpp src/helper/bezier-utils.cpp: remove pjrm's debug output
* share/tutorials/: SVG cleanup: remove unused font properties, wrong radius
paths in ellipses (leftovers from old versions). Expanded & updated tips & tricks.
* file.cpp: Set uri on save in one place; save 'offcially' from here only
* system.cpp system.h: Remove redundant uri-setting on open and save, add
official arg to sp_module_system_save to prevent docname/docbase changing on
temporary saves
* many files: _() fixes, edits in labels, messages, tooltips, mnemonics
* src/inkscape.cpp: remove redundancy in error messages for failing to load prefs
* share/extensions src/extension/internal: Renaming file formats to include (*.ext)
* src/interface.cpp src/dialogs/filedialog.cpp: Transientize, make modal
open/save dialogs, ditto for warning overwrite and make it unresizeable
* src/dialogs/xml-tree.cpp: Do not deselect item on canvas when a non-selectable
thing is highlighted in xml editor
* src/sp-guide.cpp: Guide position updated after undo
* src/widgets/sp-xmlview-attr-list.cpp: Max length of viewable attributes
increased
* many files: Adib's svgostringstream patches to remove printfs
* src/selection-chemistry.cpp: Crash fix when pasting style to an object that
has none (e.g. group)
* src/knot.cpp: Knot dragging autoscrolls
* src/sp-text.cpp src/text-context.cpp: Cursor movements autoscroll
* src/desktop.h src/desktop.cpp: autoscrollspeed can be overridden in call to
sp_desktop_scroll_to_point
* src/text-context.cpp src/sp-text.cpp: Text cursor made inverse. Initial cursor
after click is no longer horizontal.
* src/helper/sp-ctrlline.cpp: Always-visible inversion for ctrlline
* src/libnrtype/nr-type-w32.cpp: Fix stretch and variant on win32
* src/widgets/gradient-vector.cpp: Undo fix; new stop takes average of its
neighbors' colors; is between stops even when the last stop is selected
2004-04-06 Ted Gould <ted@gould.cx>
* src/file.cpp, src/dialogs/filedialog.cpp, src/extension/extension.cpp,
src/extension/system.cpp:
Moving code around so that the filename extension gets put on by
the extension that is saving the file. This adds a couple complications
in that the extension now needs to check for overwriting the file
and also set the document URI. Better overall, but a PITA.
2004-04-05 njh <njh@mail.csse.monash.edu.au>
* debian/rules,debian/control: applied patch from Kees Cook to remove
obsolete libraries, and to tidy things up a tad.
2004-04-04 Ted Gould <ted@gould.cx>
* src/main.cpp, src/extension/extension.cpp, src/extension/system.cpp:
Now the input autodetect will try the SVG filter if the autodetect
fails. This was done by the command line, but now it is done
everywhere.
2004-04-04 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr.h:
Take the full list of document node children from libxml, and
append them in the correct order. This fixes bug #929348.
* src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr-private.h:
Added API for coping with comments at the root level (i.e. siblings
of the root XML node), and made corresponding changes to the repr-io
code. In theory this should be enough to preserve them upon loading,
though in practice it still doesn't appear to be working (bug #929348).
Is there some libxml thing we need to do?
2004-04-04 Ted Gould <ted@gould.cx>
* a bunch of files
Sorry, I seem to be in some delay getting e-mail. Anyway, a few
files were changed to add in a new parameter 'dataloss' Basically
this signifies that a format was used to save that may not save
the whole document and thus, a pop-up is elevated on close to signal
that you might want to 'really save' this document.
2004-04-03 Ted Gould <ted@gould.cx>
* share/extensions/svgz_input.inkmod, src/file.cpp,
src/extension/extension.cpp, src/extension/internal/svg.cpp:
Making it so that input extensions can specify the output extension
that gets used to save them. If this field isn't filled in, the value
gets set to NULL, and then the Save As dialog is used instead of
just trying to save.
2004-04-03 Ted Gould <ted@gould.cx>
* src/file.cpp, src/main.cpp, src/extension/extension.cpp,
src/extension/extension.h, src/extension/system.cpp,
src/extension/internal/svg.cpp:
Fixing the output_extension flag to not be saved in a file, but also
to be able to be specified by the input module. Also, this fixes
the commandline processing of files to make them use the extension
system.
2004-04-02 Ted Gould <ted@gould.cx>
* src/file.cpp, src/extension/db.cpp, src/extension/internal/svg.cpp:
Changing it so that SVG documents open and default to with
extension namespace. Also, autodetect is reenabled.
2004-04-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Fix my
previous commit.
2004-04-02 Ted Gould <ted@gould.cx>
* share/extensions/svgz_output.inkmod, src/main.cpp, src/print.cpp,
src/extension/init.cpp, src/extension/implementation/script.cpp,
src/extension/implementation/script.h,
src/extension/internal/Makefile.am, src/extension/internal/ps-out.cpp,
src/extension/internal/ps-out.h, src/extension/internal/ps.cpp:
Fixing the commandline printing. This required fixing both the
print driver to handle the newer extensions stuff. It seems
happy now. I went ahead and implemented save as postscript
while I was at it.
2004-04-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Ensure that the
"improved" value is never worse than the previous guess.
* src/helper/bezier-utils.cpp:
Greater CodingStyle conformance, mainly whitespace changes.
* src/helper/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Always reparameterize between generate_bezier and calc_max_error.
Switch from discouraged alloca (see man page) to g_new, at cost of
some extra g_free calls in the code.
(reparameterize): Do in-place modification.
* src/helper/bezier-utils-test.cpp:
Add tests for generate_bezier, sp_bezier_fit_cubic_full.
Change to a simpler test bezier.
* src/helper/bezier-utils.cpp (sp_darray_left_tangent,
sp_darray_right_tangent):
Switch to using just the two end points for calculating the gradient.
(The old code could sometimes cause g_warning's.)
Correct the documentation of requirements.
(sp_darray_center_tangent): Similarly remove the #if'ed out code for
looking at more than two points.
See doc/Changelog_archive.txt for older entries
# Local Variables:
# tab-width:8
# indent-tabs-mode:t
# End:
# vim: tabstop=4:noexpandtab:shiftwidth=4
|