1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864
|
2004-08-17 Lars Clausen <lars@raeder.dk>
* config.h.win32:
* dia.spec (Release):
* doc/pl/dia.xml:
* doc/en/dia.xml:
* NEWS:
* configure.in:
2004-08-13 Ankit Patel <ankit@redhat.com>
* configure.in: Added "gu" in ALL_LINGUAS.
2004-08-07 Lars Clausen <lars@raeder.dk>
* configure.in:
* config.h.win32:
* doc/pl/dia.xml:
* doc/en/dia.xml:
* dia.spec (Release):
* NEWS: New release 0.94-pre6
2004-08-07 Lars Clausen <lars@raeder.dk>
* app/highlight.c (highlight_reset_objects): Unhighlight inside
groups as well.
* app/load_save.c:
* plug-ins/shape/shape-export.c: String capitalization fix from
Alan Horkan <horkana@tcd.ie>
* objects/UML/class.c (umlclass_show_comments_callback): Make UML
Class object menu kinda work, rather than blow up. Doesn't do a
proper undoable change yet.
2004-08-06 Lars Clausen <lars@raeder.dk>
* app/filedlg.c (file_save_as_callback): Don't remove related
dialogs from the NULL diagram.
2004-08-02 Lars Clausen <lars@raeder.dk>
* config.h.win32:
* doc/pl/dia.xml:
* doc/en/dia.xml:
* dia.spec (Release):
* NEWS: Pre5 with leak fix.
* lib/font.c (dia_font_build_layout): Don't try to save an
allocation of LayoutCacheItem if it breaks layout cache hash.
Also make hash function correct, remove explicit height entry
(it's in pfd), and make sure things are correctly unreffed.
Finally fixes #148141.
* lib/text.c (text_set_attributes, text_set_font): Safely unref
when changing font, and actually set the new font in
text_set_font(!).
(text_get_attributes): Ref copied font.
2004-08-01 Lars Clausen <lars@raeder.dk>
* NEWS:
* configure.in:
* dia.spec (Release):
* config.h.win32:
* doc/pl/dia.xml:
* doc/en/dia.xml: Prerelease 4.
* lib/font.c (dia_font_build_layout): Better comparision and
freeing of font cache.
2004-07-31 Lars Clausen <lars@raeder.dk>
* lib/font.c (dia_font_build_layout): Faster update to avoid
memory leaks.
* app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
Correctly initialize export filter variable.
2004-07-25 Lars Clausen <lars@raeder.dk>
* dia.spec (Release):
* configure.in:
* NEWS:
* config.h.win32:
* doc/en/dia.xml:
* doc/pl/dia.xml: Pre3 coming out.
* lib/diarenderer.c (draw_polygon):
* plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
rather than O (letter), and assert num_points > 1 rather than the
other way around.
* app/recent_files.c:
* app/filedlg.c:
* app/diagram.c:
* app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
Make filenames conform to filesystem encoding.
* RDP/.cvsignore: Added standard ignore.
* shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
last entry patch-panel, too.
* app/*.png:
* shapes/Circuit/*.png:
* shapes/Civil/*.png:
* shapes/Contact/*.png:
* shapes/Electric/*.png:
* shapes/MSE/*.png:
* shapes/Pneumatic/*.png:
* shapes/SDL/*.png:
* shapes/flowchart/*.png:
* shapes/jigsaw/*.png:
* shapes/network/*.png:
* shapes/sybase/*.png:
* samples/dia*.png:
* dia_gnome_icon_large.png:
* doc/pl/graphics/*.png: Set -kb for PNGs.
* sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
2004-07-22 Lars Clausen <lars@raeder.dk>
* NEWS:
* config.h.win32:
* doc/en/dia.xml:
* doc/pl/dia.xml:
* dia.spec (Release):
* configure.in: Update to version 0.94-pre2.
* app/load_save.c (diagram_data_write_doc): Use new namespace
here, too.
* lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
hidden objects properties.
* objects/standard/line.c: Remove halffinished line gap box from
properties list.
* app/paginate_psprint.c:
* app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
Immidi): Close export and print dialog with diagram as well.
(#129520)
* lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
borelli): Remove deprecated stuff (#137693)
* app/dia-props.c (create_diagram_properties_dialog): Patch from
kimmidi@novell.com (Kiran Kumar Immidi): Close properties dialog
on destroy.
2004-07-21 Ray Strode <rstrode@redhat.com>
* dia/dia.desktop.in: Add MimeType line to desktop file
new mime sytem.
2004-07-18 Hans Breuer <hans@breuer.org>
* shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am
sheets/UML/*.png : icons in png format
Partial fixup of stuff broken with the following comment:
"7 days : xpm->png, namespace fix, first rotation bits."
* app/load_save.c(read_objects) : don't add objects to the layer.
This function is called recursively and only the topmost objects
belong in the layers object list. Fixes bug #145417 and is the
the real fix for bug #142480
* app/app_procs.c : make the --size hack even uglier, but work again
* lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
but g_free() what is returned by g_build_filename()
* objects/custom/custom_object.c(custom_destroy) : handle all enum
values in switch to get rid of the warning
* objects/custom/shape_info.c : use g_ascii_strtod(), get rid
of setlocale()/strtod()
* lib/dia_svg.c : dito
* lib/dia_xml.c : almost
* plug-ins/python/group_props.py : use the string representation of
value to ensure "unique values". If the strings would not be different
the user cann't see the difference either
2004-07-17 Lars Clausen <lars@raeder.dk>
* lib/persistence.h: Have "void" in prototypes (#142663)
* lib/widgets.c (dia_font_selector_init): Better string handling
(#142663)
* lib/persistence.c (persistence_save_type): Small fixes (#142663)
* objects/standard/image.c (image_load): Use path of diagram
rather than running directory as base for image file place.
* doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
syntactic fixes.
* app/disp_callbacks.c (ddisplay_canvas_events): Patch from
Ambrose Li <a.c.li@ieee.org>: Better IM context handling.
* Re-added new sample diagrams binarily.
2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
* app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
Disabled keyboard accels when dragging an object.
2004-07-14 Lars Clausen <lars@raeder.dk>
* app/grid.c (snap_to_grid): Use diagrams grid setting to
determine hex grid snap.
* doc/pl/Makefile.am: Avoid error based on backslash in comment.
* app/interface.h: Avoid multiply defined symbols (#147396)
2004-07-10 Lars Clausen <lars@raeder.dk>
* app/sheets_dialog_callbacks.c (write_user_sheet):
* lib/sheet.c (load_register_sheet): Don't introduce double
slashes in namespace.
* lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
old diagrams, or XSLT will barf all over.
* shapes/RDP/place.shape:
* shapes/RDP/transition.shape:
* shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
shapes to use those.
2004-07-07 Lars Clausen <lars@raeder.dk>
* config.h.win32:
* doc/{en,pl}/dia.xml:
* dia.spec:
* configure.in:
* NEWS: First prerelease of version 0.94. Now with release
versions in a branch and main devel in the trunk.
2004-07-05 Hans Breuer <hans@breuer.org>
* */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
-std=c89. Mostly //-comments and M_PI -> G_PI
[Istar, Jackson, KAOS were removed from build cause they
simply have *too* much C++ comments ;]
* object/UML/association.c : use g_strdup() not plain strdup()
* app/paginate_psprint.c : avoid storage size of `pipe_action'
isn't known with more portable signal code
* app/app_procs.c : don't call gtk_init() if just --version
is requested (bug #144321, Vladimir Kondratiev)
* lib/prop_attr.c(fontprop_set_from_offset) : only unref
DiaFont* if not NULL
* objects/UML/class.c : moved fill_in_fontdata() to
umlclass_load() to avoid such trouble, though unsure if
this really is an improvement...
* shapes/network/makefile.am : patch-panel added here too
2004-07-04 Hans Breuer <hans@breuer.org>
* sheets/network.sheet.in shapes/network/patch-panel.xpm
shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
fixes bug #136629, James McDonald
2004-07-04 Hans Breuer <hans@breuer.org>
* lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
lib/object_defaults.c : revert changing of Dia's XML namespace
* lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
about its purpose and relation to real world urls.
* lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and
added comment about when to do so
[Should have been long time ago and probably multiple times
to avoid crashing on older plug-ins]
* RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
* plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
* lib/object.c objects/UML/class.c : there are still compilers not
supporting C99 and other GCCISMs like allocating dynamic sized arrays
on the stack
* objects/UML/class.h : there is a differnce between a list pointer
and a list pointer pointer. We and GLib want the former.
* plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
if Gtk is initialized. Using gdk_display_get_default () avoids the
app/* dependency and is also closer to the requirements of the
plug-ins working.
* plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
some #ifdefed support for Cairo backends not public available yet.
* plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
windoze platform supports them. This should fix bug #109818, at
least for the majority running NT or above ...
* plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
* objects/makefile.msc : build Istar, Jackson and Kaos
* objects/UML/class.c(umlclass_load) : don't wrap by default to
keep old diagrams as they were - instead of this nice new effect ;-)
Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
* objects/UML/class.c : mark for translation _("Wrap ...
* objects/UML/class.c : more correct types, also some default properties
dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
* objects/UML/activity.c : removed a leftover from the
use-localization-for-font-substitution-hack
* shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
'cvs admin -kb *.png' PNG files should already be *added* as binary,
otherwise they are not readable on line-end-converting-platforms
* plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing
filter_get_by_name()
* plug-ins/python/pydia-property.c : some more g_warnings for
not implemented conversions
* plug-ins/python/group_props.py : ensure unique property values
at the right place. Now something like :
- load an old UML class diagram
- change one of the classes to wrap operations
- select all classes (/Select/Same Type)
- /Dialogs/Group Properties : check wrap_operations, select '1'
- Ok, works like a charm :-)
2004-07-04 Lars Clausen <lars@raeder.dk>
* lib/diagdkrenderer.c (draw_string): Don't unref NULL
pixbuf. (#145362)
2004-07-03 Lars Clausen <lars@raeder.dk>
* app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
<LAV@VL3143.spb.edu>: Fixes console output problems and some
interactiveness problems.
2004-07-02 Lars Clausen <lars@reader.dk>
* plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
app isn't interactive.
2004-07-01 Lars Clausen <lars@raeder.dk>
* plug-ins/cairo/diacairo.c: Add init of last field of filter
struct to remove crash.
* sheets/Makefile.am (sheet_in_files):
* shapes/Makefile.am:
* sheets/ChemEng.sheet.in:
* shapes/ChemEng/Makefile.am:
* configure.in:
New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
Chemical engineering shapes.
* app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
multiple arguments when using devel script.
* app/display.c (new_display):
* app/dia-props.c:
* lib/diagramdata.c (new_diagram_data):
* lib/diagramdata.h:
* app/preferences.h:
* app/preferences.c:
* app/grid.c:
* app/diagram.c:
* lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
<peter_poulsen@stofanet.dk>: Add hexagonal grid!
* HACKING:
* doc/pl/authors.xml:
* doc/en/authors.xml:
* lib/object_defaults.c (dia_object_defaults_save):
* readme.win32 (BTW):
* lib/persistence.c (persistence_save):
* app/load_save.c (diagram_data_write_doc):
* app/commands.c (help_about_callback):
* README: Fix links to home page.
* lib/font.c:
* app/load_save.c (diagram_data_load):
* lib/prop_text.c (stringprop_load): Avoid NULL strings when
loading, and guard against them when fonting.
* lib/diarenderer.c (draw_rounded_polyline): Patch from
anthonym@overture.com: Make limited rounding a corner-specific
rendering-only thing.
2004-06-30 Lars Clausen <lars@raeder.dk>
* lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
adjustment: If you can't fix it, at least don't change it.
* objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
code instead of individual code in here.
2004-06-29 Lars Clausen <lars@raeder.dk>
* objects/UML/association.c: Patch from Kiran
Kumar Immidi <kimmidi@novell.com>: Fix bounding box for line end
text.
* lib/geometry.c:
* lib/geometry.h:
* lib/diarenderer.c (draw_rounded_polyline):
* objects/standard/polyline.c (polyline_draw):
* objects/standard/zigzagline.c (zigzagline_draw):
Patch from anthonym@overture.com: Add rounded polylines.
2004-06-27 Lars Clausen <lars@raeder.dk>
* lib/font.c (dia_font_new_from_style): Initialize legacy name.
* lib/widgets.c (dia_font_selector_get_family_from_name): Don't
free family list before taking out the pointer we need. Also set
the entry_nr correctly so we get the menu set up right.
2004-06-23 Lars Clausen <lars@raeder.dk>
* lib/widgets.c (dia_toggle_button_new_with_images): Sink the
images at the right place.
* objects/Istar/actor.c
* objects/Istar/goal.c
* objects/Istar/istar.c
* objects/Istar/istar.h
* objects/Istar/link.c
* objects/Istar/other.c
* objects/Jackson/domain.c
* objects/Jackson/jackson.c
* objects/Jackson/jackson.h
* objects/Jackson/phenomenon.c
* objects/Jackson/requirement.c
* objects/KAOS/goal.c
* objects/KAOS/kaos.c
* objects/KAOS/kaos.h
* objects/KAOS/metaandorrel.c
* objects/KAOS/metabinrel.c
* objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
<cp@cetic.be>: Fix instability issues caused by not returning NULL
in *_move_handle and *_move. Also improved the headers with
correct (c) information.
2004-06-22 Lars Clausen <lars@raeder.dk>
* objects/KAOS/goal.c:
* objects/KAOS/other.c:
* objects/Istar/actor.c:
* objects/Istar/goal.c:
* objects/Istar/other.c:
* objects/Jackson/domain.c:
* objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
<cp@cetic.be>: Fix resize issues.
* app/filedlg.c (file_dialog_hide): Patch from Kiran
Kumar Immidi <kimmidi@novell.com>: Check for null when removing
related dialog. #129520.
* app/dia-props.c (diagram_properties_show): Patch from Kiran
Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
a child of its diagram. #129520.
* objects/UML/association.c (association_load): Patch from Kiran
Kumar Immidi <kimmidi@novell.com>: Update positions properly for
text placement. #118313.
2004-06-17 Lars Clausen <lars@raeder.dk>
* objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
* Makefile.am: Make THANKS only be generated by maintainers.
* doc/pl/Makefile.am: Removed usage+objects+basic.xml from
Makefile, too.
* configure.in: Added three missing Makefiles.
* app/diagram.[ch]:
* app/filedlg.c:
Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
diagram-related (save) dialog when closing diagram. To be
extended to other dialogs.
* doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
* samples/Istar.dia:
* samples/Jackson.dia:
* samples/KAOS.dia:
* sheets/Istar.sheet.in:
* sheets/Jackson.sheet.in:
* sheets/KAOS.sheet.in:
* sheets/Istar/*:
* sheets/Jackson/*:
* sheets/KAOS/*:
* objects/Istar/*:
* objects/Jackson/*:
* objects/KAOS/*:
* configure.in:
* objects/Makefile.am (SUBDIRS):
* sheets/Makefile.am (SUBDIRS):
* samples/Makefile.am: Additions from Christophe Ponsard
<cp@cetic.be>: Jackson, I* and KAOS diagram support. Needs a bit
of hacking still.
2004-06-12 Lars Clausen <lars@raeder.dk>
* lib/properties.h:
* lib/prop_geomtypes.[ch]: Preparation for selectable units.
* lib/font.h: Toning down comments a bit:)
* lib/font.c (dia_font_build_layout): Playing around with DPI
* objects/UML/association.c (association_load): Avoid crashes on
strcmp with NULL.
* objects/UML/association.c: Patch from kimmidi@novell.com:
Improve placement of labels when vertical. Part fix of #118313
* lib/object.c (dia_object_is_selected): Grouped objects are not
selected, only the group itself. Thus, don't crash when grouping
beziers. #143681
* objects/UML/association.c: Patch from kimmidi@novell.com: Agree
on how to represent empty strings. Fixes #143639.
* lib/object.c (dia_object_is_selected): Added comment answer.
2004-06-12 Hans Breuer <hans@breuer.org>
* lib/diagramdata.c lib/object.c : deal with grouped objects
not knowing their parent_layer, i.e. avoid crashing in
dia_object_is_selected() via group_draw() [ Triggered by
playing with the Visio generated svg from bug #143455 ]
* plug-ins/python/diasvg_import.py : started to implement
transformation="translate(...)" and <style/> handling. Also
use some other completely bogus values for em/ex scaling
2004-06-08 Lars Clausen <lars@raeder.dk>
* plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
2004-06-07 Lars Clausen <lars@raeder.dk>
* app/layer_dialog.c (layer_dialog_set_diagram):
* app/display.c: Layer widget crash more properly dealt with in
layer dialog code.
* app/display.c (ddisplay_flush): Fixed crash when closing: Layer
widget deselect was called during destroy, but called
ddisplay_flush, leading to a new display timeout after renderer
was dead.
* lib/widgets.c (dia_toggle_button_destroy):
* app/recent_files.c (recent_file_menuitem_create):
* lib/persistence.c (persistence_save_list):
* app/commands.c (edit_delete_callback):
* lib/object_defaults.c (dia_object_defaults_save):
* lib/parent.c (parent_list_affected_hierarchy): Killed leaks
(#142669)
* lib/widgets.c (dia_toggle_button_new_with_images): Remove
debugging info.
* lib/diagramdata.c (new_layer): Initialize connectibility.
* app/display.c (ddisplay_obj_render):
* app/diagram.c (diagram_find_closest_connectionpoint): Take
connectibility into account.
* app/layer_dialog.h (struct _DiaLayerWidget):
* app/layer_dialog.c:
Connectible toggle updates, now works fairly well.
* app/select.c (select_transitive_callback): Make sure we're only
selecting in the same layer.
2004-06-04 Lars Clausen <lars@raeder.dk>
* app/pixmaps/Makefile.am: Also install connectable images.
* app/layer_dialog.c (dia_layer_update_from_layer): Initially set
layer toggles from layer itself. Also update diagram correctly
for visibility. Still need updates for connectivity behaviour.
2004-06-03 Hans Breuer <hans@breuer.org>
* plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
* lib/diagdkrenderer.c(set_linejoin) : actually set
join_style not cap_style
(set_dashes): with the correct number of dashes
2004-06-03 Lars Clausen <lars@raeder.dk>
* app/modify_tool.c (click_select_object):
* lib/text.c (text_set_cursor):
* app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
2004-05-31 Hans Breuer <hans@breuer.org>
* lib/object_defaults.c : don't 'failed to load external
entity "NULL"' when the defaults file does not exist,
bug #108764 [again: somehow this got lost]
* app/paginate_gdiprint.cpp : don guess the WMF export
filter used for printing but find it by unique name.
Also update for export_func renaming
* plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
provide some unique names
* app/commands.c app/disp_callbacks.c app/paginate_psprint.c
app/select.c : fix bug #140789 by always checking if there
still is an active diagram before accessing it
* app/defaults.c app/properties.c : user visible string should
not read DiaObject but stay as "Object defaults/properties"
* app/app_procs.c : reduce the hack to pass --size to the
export via user_data to the only filter supporting it. Other
filters would crash on it or do worse ;(
* plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
2004-05-31 Lars Clausen <lars@raeder.dk>
* lib/widgets.h:
* lib/widgets.c: Use GtkType rather than guint for
dia_size_selector_get_type.
2004-05-29 Lars Clausen <lars@raeder.dk>
* app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
that it matches the screen output for selfoverlapping polygons and
beziers.
2004-05-28 Hans Breuer <hans@breuer.org>
* app/load_save.c : ignore empty groups on load and don't
write empty groups while saving
* lib/group.h (group_update_data): there is no first object
in empty groups and they probably don't need an update at
all. Maybe the shold just not exist ?
* plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
text positioning as well as drawing of images with alpha
* plug-ins/wmf/wmf.cpp : include windows.h if eiher
HAVE_WINDOWS_H or G_OS_WIN32 is defined
2004-05-28 Lars Clausen <lars@raeder.dk>
* app/pixmaps/Makefile.am (imagedir):
* app/pixmaps/visible.png:
* app/pixmaps/visible-empty.png: New images for the visibility
button in the layer dialog.
* lib/widgets.c (dia_toggle_button_new_with_images): Remove even
more border around the button. Still some left when hovering the
mouse or selecting, and the grey background is annoying.
* app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
visibility connector.
2004-05-26 Lars Clausen <lars@raeder.dk>
* configure.in (DB2MAN): Better check for db2man docbook place.
Need something even better.
* doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
* lib/widgets.c (dia_toggle_button_new_with_images): Remove
extraeneous borders.
* dia_logo.png:
* dia_gnome_icon.png:
* samples/render-test.dia: Rendering test from Hans.
2004-05-24 Hans Breuer <hans@breuer.org>
* lib/filter.h : renamed DiaExportFilter::export to
_DiaExportFilter::export_func (should not use c++
keywords (g++ specifc ?) in headers. Same for import
out of pure symmetry reasons
* plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
app/diagram.c app/filedlg.c : reflect functions renaming
* plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
under *NIX, too. [If you want something done, do it yourself ;-]
* plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
with wmf.cpp's GDI usage
* plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
[For the moment it does not much more than compiling, i.e.
the produced WMF files are invalid, if not created on windoze.]
* configure.in : check for C++ to compile plug-in/wmf
* objects/GRAFCET/boolequation.c : looks like fixing
another leak (untested)
2004-05-23 Hans Breuer <hans@breuer.org>
* acinclude.m4 : another attempt to fix
bug #142032 (still not sure it's the right one,
but works for me(tm), which the other does not ;)
* plug-ins/cairo/Makefile.am
plug-ins/Makefile.am
configure.in : support building the new cairo
plug-in, if given --with-cairo and the cairo
packages are found, see http://cairographics.org
and also http://hans.breuer.org/dia/dia-cairo.htm
* plug-ins/cairo/diacairo.c : make it compile
with DEBUG_CAIRO defined, too.
2004-05-23 Hans Breuer <hans@breuer.org>
* plug-ins/cairo/Makefile.am : initial attempt
* plug-ins/cairo/diacairo.c : a new exporter based on
Cairo http://cairographics.org rendering api. Currently
it just can export PNG and PS but one day it might get
PDF and more almost for free. [It is not yet included
in the *NIX build system due to lack of auto* magic.]
* plug-ins/pixbuf/pixbuf.c : always register the export
filter part. If the user does not want it it can be
disabled by File/Plugins or explicit selected the other
one in the Export Formats List
2004-05-23 Hans Breuer <hans@breuer.org>
* lib/dia_dirs.c : #include "message.h"
lib/widgets.c : #include "persistence.h"
lib/widgets.c(dia_font_selector_init) : still not C99
lib/persitence.h : removed unimplemented prototype
lib/persitence.c(persistence_load_list) : still not C99
app/create_object.c : #include "highlight.h"
app/layer_dialog.c : #include "widgets.h"
app/modify_tool.c : prototype functions before usage
lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
[otherwise one will have a hard time to make C++ compile ;]
lib/dia_dirs.c : #include "message.h"
lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
lib/
* plug-ins/xfig/xfig-import.c : dont initialize an int with
a string pointer
* lib/dia_image.[hc](dia_image_rgba_data) : make it work
as documented, i.e. _not_ copying. Plugs a memory leak in
lib/dialibartrenderer.c
* lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
to radius to more of a clue what it is representing
* */makefile.msc lib/libdia.def : updated
ChangeLog : fixed some date copy&paste bug
2004-05-21 Lars Clausen <lars@raeder.dk>
* NEWS: Release tag.
* config.h.win32: Now 0.93+cvs
* RELEASE-PROCESS: Update with new info about release branches.
* Many files: Moved devel branch back into main trunk. Should
have been done in the opposite way, with release in a branch.
2004-05-20 Hans Breuer <hans@breuer.org>
* acinclude.m4 : disable setting of PYTHON_PREFIX
and PYTHON_EXEC_PREFIX from prefix and exec_prefix
as workaround for bug #142032 (the real fix would
involve some auto* knowledge which I don't have
either;)
* plug-ins/python/Makefile.am : more python
plug-ins to be installed (especially svg import,
but also 'simple scale' should be useable
sometimes)
* plug-ins/python/scascale.py : update display
after modifying selected objects
* plug-ins/python/diasvg_import.py : initialize
stroke to none
2004-05-18 Lars Clausen <lars@raeder.dk>
* app/diagram_tree.c (select_node): Use
diagram_remove_all_selected to kill selected list.
* lib/font.c: Set language when using a different context.
* plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
and removed ctype include (#142661).
* lib/paper.c (get_default_paper): Changed isalnum to
g_ascii_isalnum and removed ctype include. (#142661)
* objects/custom/shape_info.c:
* lib/dia_svg.c:
* app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
2004-05-17 Hans Breuer <hans@breuer.org>
* lib/object_defaults.c : don't 'failed to load external
entity "NULL"' when the defaults file does not exist,
bug #108764
* lib/widgets.c : fixed possible menu leak
* lib/dialinechooser.c lib/diaarrowchooser.c : finally
avoid finalization of floating references, bug #142307
2004-05-15 Lars Clausen <lars@raeder.dk>
* plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
fonts better (#138655)
* doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
* doc/en/Makefile.am (EXTRA_DIST): Including all required files in
dist, xml, dbk and man. Also the sub-xml files. (#142098)
* Makefile.am (CLEANFILES):
* sheets/Makefile.am (EXTRA_DIST): Not distributing the
translation-reports, they are generated automagically. THANKS
file not considered locally generated, so is not locally
cleaned. (#133735)
* lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
* lib/diaarrowchooser.c:
* lib/prop_attr.c: Fixing naming for arrowselector.
* objects/UML/object.c (objet_type): Oops, little too aggressive
with the DiaObject thing here:)
* objects/custom/shape_info.c (parse_svg_node): Use
g_ascii_isdigit instead of isdigit.
* app/diaunitspinner.c (dia_unit_spinner_update):
* lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
instead of isspace avoids char subscript issues (#142467).
* lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
return value conflict.
* app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
value conflict. Also improved signature. (#142466)
* app/load_save.c (diagram_data_load): Don't overwrite the list in
the layer, but instead free the returned list (#142480)
* app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
for the grid widget.
* doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
* configure.in (DB2MAN): Currently just check for two known
positions for the docbook xsl. Don't know a generic way to find
this info. Ought to add an option for it, but then it's really
only required for maintainers, I think. Maybe.
* app/display.c (update_snap_grid_status): Remove nasty image
toggling code not require for grid toggle button anymore. (#142475)
* app/interface.c (create_display_shell): Use
dia_toggle_button_new_with_images to create grid toggle button.
Much nicer. (#142475)
* app/menus.c (menus_initialize_updatable_items): Free the string
along with the GString. (#142475)
* lib/intl.c (free_alias_table): Free hash table entries in a
proper way, avoiding duplicate frees. (#142475)
* lib/object_defaults.c (_obj_store): Only free layer_name if it's
not put in the hash (avoid reading freed memory). (#142476)
* lib/widgets.c (dia_font_selector_set_styles): Stop leaking
faces. (#142484)
(dia_font_selector_get_family_from_name): Stop leaking
families. (#142482)
2004-05-14 Lars Clausen <lars@raeder.dk>
* Transfer of fixes from release branch. Not the prettiest way to
do it, this should be done during release, not afterwards.
Tomasz Kłoczko <kloczek@pld.org.pl>:
* acinclude.m4: minor fixes (added missing [] quotation).
Lars Clausen <lars@raeder.dk>:
* app/interface.c (toolbox_delete):
* app/app_procs.[ch] (app_exit): Stop the delete event if the user
cancels quit due to modified diagrams.
Samúel Jón Gunnarsson <sammi@techattack.nu>:
* is.po: Added "is" to ALL_LINGUAS.
Lars Clausen <lars@raeder.dk>:
* dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
Hans Breuer <hans@breuer.org>:
* lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
burden should be shared and not be win32 only ;) [this time
build was broken by adding GtkType to widget.h]
* objects/standard/box.c objects/standard/ellipse.c :
for code clarification compare (obj->aspect != FREE_ASPECT)
and not (obj->aspect); no binary effect.
* app/paginate_psprint.c : don't leak printcmd
* objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
standard C requires variables to be declared at the beginning of
a block, also there is no fabsf() with msvc
* app/win32print.[ch] : make win32_printer_close() return an
error code, it's used as pclose replacement
Lars Clausen <lars@raeder.dk>:
* RELEASE-PROCESS: Mention PATCH keyword in release process.
2004-05-06 Lars Clausen <lars@raeder.dk>
* lib/widgets.[ch]: Utility function to make a widget with two
images (selected and non-selected).
* lib/diagramdata.h: Renamed selectable to connectable.
Selectable will come later.
* configure.in:
* app/pixmaps/Makefile.am (imagedir):
* app/pixmaps/connectable.png:
* app/pixmaps/connectable-empty.png: New images for the
selectability widget. Proper installation, too.
* app/layer_dialog.[ch]: Adding new button showing connectability
status. Much cleaner way of doing the button, but some problems
with the item getting selected
* lib/widgets.h: Reminder of how to install images for use by
dia_get_image_from_file.
2004-05-05 Lars Clausen <lars@raeder.dk>
* objects/network/Makefile.am:
* objects/network/pixmaps/radiocell.xpm:
* objects/network/pixmaps/basestation.xpm:
* objects/network/network.c:
* objects/network/basestation.c:
* objects/network/radiocell.c:
Patch from W. Borgert <debacle@debian.org>: Radio cell and base
station objects.
* lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
Backslash arrow head.
* app/pagesetup.c (pagesetup_respond): Do not free ps twice.
Notify takes care. Should maybe use that more.
* lib/diagramdata.[ch]:
* app/filedlg.c (file_export_ok_callback):
* app/diagram.c (diagram_finalize): DiagramData now a GObject.
* app/dia-props.c (diagram_properties_respond):
* app/diagram.c (diagram_set_modified):
* app/undo.c:
* app/disp_callbacks.c:
* app/commands.c:
* app/load_save.c (diagram_save):
Better handling of undo and modified status -- only diagram
properties and page setup explicitly set modified status, all
other important changes should be done through the undo stack
now.
2004-05-04 Lars Clausen <lars@raeder.dk>
* app/app_procs.c (app_init): Consistently open a new diagram if
none specified, with standard name Diagram1.dia.
* app/layer_dialog.c:
* app/diagram.c (diagram_finalize):
* app/commands.c (dialogs_layers_callback):
* app/filedlg.c (file_export_ok_callback):
* app/app_procs.c (app_exit):
* app/display.c (display_set_active):
* app/interface.c (dia_dnd_file_drag_data_received):
* app/recent_files.c:
Undone attempt at unifying the multi-diagram windows (like
layers). It broke the layers and didn't make much sense for the
diagram properties dialog anyway.
* lib/group.c:
* lib/diatypes.h:
* lib/diagramdata.c:
* lib/object.h:
* lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
many subclasses have to be fixed. Fixed remaining
Object/ObjectType renaming issues.
2004-05-02 Lars Clausen <lars@raeder.dk>
* lib/object.[ch]: Making DiaObject a GObject. Now can I avoid
having to make all the children objects conform to
GObject style at once? Warning! Does not compile right now.
* many, many files: Rename Object to DiaObject in preparation for
making it a GObject.
* app/diagram.[ch]: Turn diagram into a real GObject.
* app/pagesetup.c:
* app/filedlg.c: Correctly ref and unref diagram.
* lib/diagramdata.h: Starting to turn it into a GObject as well.
2004-05-02 Lars Clausen <lars@raeder.dk>
* lib/object.[ch]: Starting to convert Object to DiaObject, son of
GObject.
* app/dia-props.c: Undo the attempt at making it really
multi-diagram, now going for a one-diagram dialog.
2004-04-30 Lars Clausen <lars@raeder.dk>
* app/undo.c: Undoing broken undo stuff for diagram properties and
page setup. Shouldn't be mixed into undo at all.
* app/render_gdk.c (draw_pixel_line): Use the dash-setting
function to avoid in particular the grid crawling.
* lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
to allow aligning dashes, so they don't crawl.
2004-04-28 Lars Clausen <lars@raeder.dk>
* app/Makefile.am: New files diacanvas.[ch]
* app/interface.c (create_display_shell): Use new diacanvas that
allows placing widgets on canvas, for text edit.
* lib/object.h:
Early work towards rotation. No implementation yet.
* app/layer_dialog.c (undo_layer):
* objects/network/bus.c (bus_create_change):
* objects/standard/box.c (aspect_create_change):
* objects/standard/ellipse.c (aspect_create_change):
Use g_new0 for change struct.
* app/undo.c (diagram_change_apply_or_revert):
Support for undo of diagram properties and page setup.
* app/disp_callbacks.c (ddisplay_canvas_events):
* lib/text.h:
* lib/diagramdata.h:
* app/modify_tool.c (click_select_object):
* lib/text.c (text_register_editable):
Starting work on new text editing model. Guarded by #ifdef so
far.
2004-04-07 Lars Clausen <lars@raeder.dk>
* app/recent_files.c (open_recent_file_callback):
* app/interface.c (origin_button_press):
* app/filedlg.c (file_open_ok_callback):
* app/display.c:
* app/diagram.[ch]:
* app/commands.c (dialogs_layers_callback): Using new
diagram_set_current() function to ensure auxilliary windows are
updated.
* app/layer_dialog.c: Trying to unify with dia-props. Diagram
menu now borken. *sniff*
* app/dia-props.c: Diagram properties window attempted
persistentified. Trying to make more like layer dialog (since it
already changes when the diagram changes), but some things still
borken.
2004-04-06 Lars Clausen <lars@raeder.dk>
* lib/dialinechooser.[ch] (dia_line_chooser_set_line_style):
* lib/attributes.c (attributes_set_default_line_style):
* app/interface.c (create_lineprops_area):
Make line style persistent as well. Added function to directly
set the style and dashlength of a dialinechooser.
2004-04-03 Lars Clausen <lars@raeder.dk>
* objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
Copy the ellipse extra handle correctly.
* objects/standard/box.c (box_move_handle): Move definitions
according to bug #138925.
2004-04-02 Lars Clausen <lars@raeder.dk>
* app/recent_files.c: Use absolute name for recent files list.
* lib/attributes.c: Set start and end arrow types, correctly.
* lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
to get arrow index.
* lib/diaarrowchooser.[ch]: Support for setting arrow info.
* app/interface.c (create_lineprops_area): Set persistently stored
arrow info.
* lib/arrows.[ch]: New function to get arrow index (in arrow_types)
from arrow type.
* lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
path (i.e. without '.' or '..'). Not tuned for Win32 yet.
* plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
with what xfig does. Text now converted from latin-1 to utf-8
(latin-1, since that's what xfig seems to use. Would like to see
examples of non-latin-1 figs). String case problems fixed.
2004-04-01 Lars Clausen <lars@raeder.dk>
* lib/attributes.c:
* app/interface.c: Default arrows now stored persistently, too.
* lib/arrows.[ch]: New function to get arrow type from name.
* app/color_area.c (color_area_create):
* lib/attributes.c:
* app/linewidth_area.c: Also persistent colors and line width.
That was easy. Arrows and line style will take a bit more work,
but not much.
2004-04-01 Lars Clausen <lars@raeder.dk>
* app/preferences.c: All preferences are now
handled by persistence, old prefs load and store code is gone.
* lib/persistence.[ch]: Added string and color persistents. This is
a different string from the one used in the printer dialog, that
one has a GtkEntry attached -- may want to make that one an
encapsulation of this one or something.
2004-03-31 Lars Clausen <lars@raeder.dk>
* app/app_procs.c: Do persistence before prefs. Prefs are to be
phased out anyway.
* lib/persistence.[ch]:
* app/preferences.c: Adding persistence for integers, reals,
booleans. Fixed stupid list bug. Test persistence for prefs.
2004-03-30 Lars Clausen <lars@raeder.dk>
* app/recent_files.c:
Debugging of deallocation.
* lib/widgets.c:
Font menu now uses persistence. Ordering needs fixing, or it must
be sorted.
* lib/libdia.def:
* lib/Makefile.am (libdia_la_SOURCES):
* app/Makefile.am (dia_core_files):
* app/persistence.[ch]:
* lib/persistence.[ch]: Moved to lib as widgets need it. Also a
number of fixes, including multiple entries now being read
properly. Still some oddity about the persistent list having the
role as first entry (which makes the font menu crash after a few
iterations).
2004-03-26 Lars Clausen <lars@raeder.dk>
* app/persistence.c:
* app/recent_files.[ch]: Redoing the recent-files list using
persistence, reducing code by about 50%. Still a problem when
selecting an item from the menu -- possibly it doesn't like the
menu being destroyed while in the callback?
2004-03-25 Lars Clausen <lars@raeder.dk>
* app/persistence.c (persistence_load_string): Missing semicolon?!?
2004-03-24 Lars Clausen <lars@raeder.dk>
* RELEASE-PROCESS:
* app/persistence.[ch]:
* app/paginate_psprint.c (diagram_print_ps): New type of data can
be stored persistently: Strings. Only the printer command/file
go in here now, but things like creator, organization, diagram
comments etc could also be handled this way.
* objects/standard/beziergon.c (beziergon_draw): Avoid control
lines when the object is not selected.
2004-03-23 Lars Clausen <lars@raeder.dk>
* lib/connectionpoint.h:
* app/load_save.c: Allow connection points to have names, and
handle that in load/store.
* lib/dialibartrenderer.c: Better highlighting for text.
* lib/diagdkrenderer.h (struct _DiaGdkRenderer):
* lib/diagdkrenderer.c: Better highlighting for all, using same
principles as libart highlighter.
2004-03-22 Lars Clausen <lars@raeder.dk>
* lib/dialibartrenderer.[ch]:
* lib/diagdkrenderer.c:
* lib/object.h:
* app/object_ops.c:
* app/diagram.[ch]:
* app/display.[ch]:
* app/Makefile.am:
* app/modify_tool.c:
* app/create_object.c:
* app/highlight.[ch]:
Added simple object highlighting. In GDK rendering, highlights
the bbox, in libart highlights the outline of the object (except
for texts).
2004-03-22 Lars Clausen <lars@raeder.dk>
* RELEASE-PROCESS: Added info on how to do a branch for
development during release process.
2004-03-20 Lars Clausen <lars@raeder.dk>
* RELEASE-PROCESS: Mention PATCH keyword in release process.
2004-03-19 Lars Clausen <lars@raeder.dk>
* xmldocs.make: Fixed apparent uninstall error.
* config.h.win32:
* doc/en/dia-manual.xml:
* doc/pl/dia-manual.xml:
* dia.spec:
* configure.in:
* NEWS: Version 0.93-pre1.
* lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
borelli): Remove some deprecated stuff.
2004-03-18 Lars Clausen <lars@raeder.dk>
* Makefile.am: Try better uninstall thing for scrollkeeper.
* objects/ER/entity.c:
* lib/arrows.[ch]: Patch from Georg Lothar Thimm
<MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
1, 1 exactly, as well as associative ER entities.
2004-03-17 Lars Clausen <lars@raeder.dk>
* Makefile.am: Make distcheck not complain about scrollkeeper
problems (as per advice from James Henstridge).
* doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
standard installation.
* objects/standard/ellipse.c: Better strings for object menu.
* app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
of dialogs (shame on you, glade!)
* objects/custom/custom_object.c (custom_setup_properties):
Removed debugging output
* app/paginate_psprint.c (diagram_print_ps): Slightly more
readable printer error messages.
* xmldocs.make:
* omf.make:
* doc/en/Makefile.am:
* doc/pl/Makefile.am:
New more standard way to install the XML-based manuals.
2004-03-15 Lars Clausen <lars@raeder.dk>
* objects/standard/box.c (box_move_handle): More intuitive fixed
aspect behaviour.
* objects/standard/ellipse.c:
* objects/standard/box.c:
* lib/widgets.[ch]:
* app/layer_dialog.[ch]:
Patch from Steve Langasek <vorlon@debian.org>:
Fixes startup crash on Alpha (bug #137169)
* objects/standard/box.c: Aspect fixing like ellipses.
* app/Makefile.am (dia_core_files): Include dia-app-icons.h
* lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
pixmaps, now can uninstall properly.
* objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
Fixed and circle aspect ratios for ellipses. Bug #137156, #87966,
#93940.
Added object menu access.
2004-03-07 Hans Breuer <hans@breuer.org>
* lib/diaarrowchooser.c lib/dialinechooser.c : #undef
GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
would not use deprecated apis, but it's much simpler this way)
* lib/makefile.msc : build the above new widgets and render_pixmap
* lib/libdia.def app/dia.def app/makefile.msc : updated
* app/disp_callbacks.c : fix gccisms (without being able to make much sense of
what I saw, i.e. how big is an empty array supposed to be ? ;-).
Previously it gave :
disp_callbacks.c(188) : error C2059: syntax error : '}'
disp_callbacks.c(191) : warning C4034: sizeof returns 0
* app/interface.c : #include "dialinechooser.h"
* lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
[one more reason not to use it here : it's quite slow compared to
the native win32 font renderer ;]
* app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
a GtkDialog*, removed unneeded cast
* app/render_eps.c : avoid assignment warning for void* user_data
not being an int
2004-03-06 Steffen Macke sdteffen@web.de>
* shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
shapes
2004-03-06 Lars Clausen <lars@raeder.dk>
* lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
0.5, as per poll.
* lib/font.c: Simple cleanup system for layout cache removes any
layout that hasn't been used for 10 minutes, but only during idle
time.
2004-03-05 Lars Clausen <lars@raeder.dk>
* sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
(lluis padro) (#130887): Extended Electric shapes with vertical
versions.
* sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
start with "Create a" or "A", always capitalize first word).
* objects/standard/ellipse.c: Patch from Grégoire Dooms
<dooms@info.ucl.ac.be>: Add extra connection point in center of
ellipse. Additionally added a handle in the center, and resize is
now around the center.
* configure.in:
* sheets/Makefile.am (SUBDIRS):
* sheets/IsometricMap.sheet.in:
* shapes/Map/Isometric/*
* shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
2004-03-04 Lars Clausen <lars@raeder.dk>
* lib/Makefile.am:
* lib/pixmaps/Makefile.am:
* configure.in:
Better installation handling of pixmaps.
* lib/diagdkrenderer.c:
* lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass):
* lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts):
Constness fixes.
2004-03-03 Lars Clausen <lars@raeder.dk>
* lib/diagtkfontsel.h (struct _DiaGtkFontSelection):
* lib/diagdkrenderer.c:
* lib/diasvgrenderer.c:
* lib/dialibartrenderer.c:
* lib/diainteractiverenderer.c:
* lib/prop_text.c (multistringprop_handle_key):
* lib/dia_dirs.c:
* lib/dia_image.c (dia_image_rgba_data):
* lib/widgets.c:
* lib/diagramdata.c (layer_set_object_list):
* lib/font.h:
* lib/font.c:
Getting rid of compile warnings.
* lib/widgets.c: Handle destroy properly, i.e. unref the two extra
images. Also remove unused decls.
2004-03-02 Lars Clausen <lars@raeder.dk>
* lib/widgets.h:
* lib/widgets.c (dia_size_selector_init): Add images to the size
selector chain widget. Also new function to load installed images
from files (better than from included XPM, IMHO).
2004-03-02 Lars Clausen <lars@raeder.dk>
* lib/libdia.def:
* lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
size selector.
* lib/Makefile.am:
* lib/widgets.c (dia_size_selector_init): Work
on getting proper icon onto the size selector. Need simple image
load mechanism in utils.
* lib/text.c:
* app/display.[ch]:
* app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
strings, handle utf8 strlen properly. Bug #135930.
2004-03-01 Lars Clausen <lars@raeder.dk>
* shapes/Cybernetics/*:
* sheets/Cybernetics.sheet.in:
* sheets/Makefile.am:
* shapes/Makefile.am:
* configure.in: Patch from charly.meyer@t-online.de (Thorsten
Roggendorf): Cybernetic shapes (#95553).
2004-03-01 Lars Clausen <lars@raeder.dk>
* app/Makefile.am: Fixed $(EXEEXT) warning from automake.
* lib/diatypes.h: New type DiaSizeSelector.
* lib/widgets.[ch]: New size selector widgets that selects two
values (width and height, nominally) optionally linked to keep
aspect ratio.
2004-03-01 Hubert Figuiere <hfiguiere@teaser.fr>
* plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
in front of file. Bug #128600.
* app/Makefile.am:
* app/interface.h:
* app/lineprops_area.[ch]:
* lib/Makefile.am:
* lib/dialinechooser.[ch]:
* lib/widgets.c (dia_line_style_selector_init): use line preview
instead of text labels. This involve moving away line_chooser to lib
from app.
* lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
symbol conflicts.
* app/Makefile.am (dia_core_files):
* app/interface.c (create_lineprops_area):
* app/render_pixmap.[ch]:
* lib/Makefile.am:
* lib/diaarrowchooser.[ch]:
* lib/libdia.def:
* lib/prop_attr.c:
* lib/propdialogs.c:
* lib/render_pixmap.[ch]:
* lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
of text labels. This involve moving away arrow_chooser to lib from
app.
2004-02-29 Lars Clausen <lars@raeder.dk>
* objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
being updated half-way through destruction. To be removed when
the lists are replaced by something better.
* objects/UML/class_dialog.c: Patch from luc@handhelds.org:
Accelerators for class dialog. Bug #130995.
Patch from luc@handhelds.org: Better aligning of widgets. Bug #130994.
* app/dia-props.c:
* app/preferences.c:
* lib/properties.c:
* objects/GRAFCET/step.c:
* objects/Misc/analog_clock.c:
* objects/chronogram/chronoline.c:
* objects/chronogram/chronoref.c:
Change to american spelling (color, not colour) to ease
translators job. Note that a number of translations may need an
update now. Bug #120466.
2004-02-29 Lars Clausen <lars@raeder.dk>
* plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
Better arrow handling for missing arrows.
* plug-ins/metapost/render_metapost.[ch]: Patch from
phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
size. See bug #135363.
* app/app_procs.c (app_init): If non-interactive, or if
--log-to-stderr used, send all messages to stderr. This should
mean that old diaconv == dia --export-to-format=FOO BAR
2004-02-29 Hubert Figuiere <hfiguiere@teaser.fr>
* app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
2004-02-28 Lars Clausen <lars@raeder.dk>
* lib/text.c (text_key_event): Patch from Kouhei Sutou
<kou@cozmixng.org>: Fix wrong utf8 strlen handling.
2004-02-27 Lars Clausen <lars@raeder.dk>
* KNOWN_BUGS: Added info on most commonly reported bugs, with
BugZilla numbers.
* app/disp_callbacks.c (popup_object_menu): Unified properties
entry, fixes bug #105080.
* app/diagram.c (diagram_update_menu_sensitivity):
* app/menus.h (struct _UpdatableMenuItems):
* app/menus.c (menus_initialize_updatable_items): Menu items
changed around, align menus flattened, properties entry ghosted,
dialogs menu removed, more shortcuts added. Closing bugs #94018,
#117495, #135125.
Also taking out Gnome menus for now. They don't allow shortcuts,
so what are they good for?
2004-02-27 Lars Clausen <lars@raeder.dk>
* app/menus.c (display_menu_items):
* app/commands.[ch]: Added duplicate menu item from Alan Horkan
(bug #95546).
2004-02-24 Adam Weinberger <adamw@FreeBSD.org>
* configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
2004-02-23 Lars Clausen <lars@raeder.dk>
* app/app_procs.c (app_init): Comments for translators.
2004-02-22 Hubert Figuiere <hfiguiere@teaser.fr>
* app/preferences.c (prefs_create_dialog): Change packing policy
for widget to expand.
* app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
running with a debugger.
2004-02-19 Lars Clausen <lars@raeder.dk>
* app/undo.[ch]: Adding last-saved information to undo to allow a
diagram with all changes since last save undo to be marked as
nonmodified. Still needs integration with actual undo
apply/revert calls.
* app/diagram.h:
* app/diagram_tree.c (diagram_tree_update):
* app/diagram.c:
* app/display.c (update_modified_status):
* plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr):
* app/autosave.c (autosave_check_autosave): Encapsulate modifed
test.
* app/render_eps.[c]: Restructure to better handle PS vs. EPS
vs. EPSI, comment out EPSI until preview is in there.
* lib/render.c:
* lib/diarenderer.c: Removing debugging printfs.
* app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
(with preview)
* objects/standard/arc.c (arc_update_handles): Check to avoid
crash when start and end points are the same.
2004-02-19 Lars Clausen <lars@raeder.dk>
* objects/standard/bezier.c:
* objects/standard/line.c (line_load):
* objects/standard/polyline.c (polyline_load):
* objects/standard/zigzagline.c (zigzagline_load):
* objects/standard/arc.c (arc_load):
* lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
instead of hardcoding.
2004-02-18 Hubert Figuiere <hfiguiere@teaser.fr>
* app/disp_callbacks.c (popup_object_menu): append a menu item to
display properties.
2004-02-17 Hubert Figuiere <hfiguiere@teaser.fr>
* app/app_procs.c: declare rc properly with the proper #ifdef
2004-02-17 Lars Clausen <lars@raeder.dk>
* plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
objects (which seemingly FIG itself breaks, or else there is no
ordering).
2004-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
width renderable in xfig. Helps on bug #133637, but does not
quite fix it -- something about depth is wrong.
* plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
Extern definitions for Mac compilation.
* app/app_procs.c: Patch #131159 from J. H. M. Dassen
(jdassen@debian.org): Include fix.
* app/interface.c: Patch #130100 from luc@handhelds.org: Make
sure the initial diagram size is correct.
2004-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
CPPFLAGS, as per automake warning.
* app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
LDFLAGS, as per automake warning.
(run_dia.sh): More robust creation, and more easily moved.
* app/undo.c (group_objects_revert): Don't double-free the objects
list. (#129221) Call object_add_updates on grouped objects.
(ungroup_objects_revert): Call object_add_updates on grouped objects.
* lib/diagramdata.c: Internal
documentation.
* lib/polyshape.c (polyshape_update_data): Correctly calculate
directions for polyshape corners (thanks, Valgrind!)
* lib/attributes.c:
* lib/prop_attr.c (arrowprop_load): Use default arrow size.
* lib/arrows.h: Default arrow size defined. After all are using
this, may lower to 0.4 or so.
* app/lineprops_area.[ch]: New function to set the arrow type for an
arrow chooser.
* app/interface.c (create_lineprops_area): Set default line to
have an arrow (fairly likely to be what's wanted, plus it shows
the user where arrows are set).
* app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
2004-02-14 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/metapost/render_metapost.c (draw_with_linestyle):
Dotted lines should use dot_length, not dash_length.
2004-02-06 Hans Breuer <hans@breuer.org>
* app/interface.c : don't use gtk_drawing_area_size() to avoid
the defaut size being also the minimum size. Instead use
gtk_window_set_default_size() on the display shell. Fixes #130982.
[fixing #131210, but umlauts in the 'main' filename still not really
supported on systems where filesystem encoding != utf8
(Problems with recent file menu and window title)]
* lib/dia_xml.[hc] : add data_filename() and data_add_filename()
to deal with possible differnces in filename encodings, see
g_filename_<to|from>_utf8()
* objects/standard/image.c : use them.
* lib/widgets.c : handle possible encoding difference here, too.
Also get rid of most warnings by using const and GTK casts where
appropriate; one wrong cast (probably causing a crash) was found/fixed
by this - the remaining give a hint on finally leaking FontSelectorEntry.
* lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
dia_file_selector_<get|set>_file to behave like the respective Gtk
functions do : encoding- and const-wise ;-)
2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
2004-01-19 Hans Breuer <hans@breuer.org>
* app/app_procs.c app/diaconv :
only call bind_textdomain_codeset when available, what's good
for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
* config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
2004-01-19 Steffen Macke <sdteffen@web.de>
* makefile.msc: updated for new GAIM-like installer build; sync'ed
ALL_LINGUAS with configure.in
2004-01-18 Hans Breuer <hans@breuer.org>
* app/app_procs.c (myXmlErrorReporting) : avoid possible crash
by not passing NULL to g_print()
* app/interface.c (create_toolbox) : actually use
persitence_register_window() to restore toolbox window size
* app/makefile.msc lib/makefile.msc : allow to deselect
building with Freetype by command line to nmake like :
nmake -f makefile.msc "NOFT2=1"
* plug-ins/python/diasvg_import.py : handle 'stroke-array' as
far as possible with Dia's limited line style
* plug-ins/python/pydia-property.c : allow to get and set
Linestyle, style and dash(length)
* lib/object.h : removed typedef for ObjectId not use anywhere
2004-01-17 Hans Breuer <hans@breuer.org>
* objects/custom/shape_info.[hc] objects/custom/custom_object.c
doc/shape.dtd doc/custom-shapes :
support for images in custom shapes, also removed some long-time
dead code
* doc/en/*.xml : fixed crippled line ends which get created
when windoze line ends are checkin from the unix side
2004-01-13 Laurent Dhima <laurenti@alblinux.net>
* configure.in: Added "sq" to ALL_LINGUAS.
2004-01-11 Hans Breuer <hans@breuer.org>
[more less leaks ;-]
* objects/SADT/annotation.c : use text_destroy() not g_free()
* objects/chronogram/chronoline.c : neither leak chronoline::events
nor chronoline::name
* objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
2004-01-11 Hans Breuer <hans@breuer.org>
* lib/properties.h :
* objects/custom/custom_object.c : more properties optional
to be backward compatible for older diagrams not having them
set. (Try to load samples/all_objects.dia)
[less memory leaks thanks valgrind ;-]
* app/recent_files.c (recent_file_history_write) :
g_free(history_filename);
(recent_file_menu_item) : use g_path_get_basename()
which already strdups, free result of g_strescape()
* app/filedlg.c (create_export_menu) : return of
filter_get_export_filter_label() must be g_free()'d
(create_open_menu) : same for import
* app/export_png.c (export_png_ok) : destroy info ptr
with png_destroy_write_struct()
* app/app_procs.c (app_init) : g_free(export_format_string);
* lib/font.c (dia_font_finalize) : finalize parent_class, too
(dia_font_new_from_style) : stop leaking almost all DiaFont by not
refing it a second time, g_type_create_from_instance() is enough
* lib/object_defaults.c (_obj_store) : don't mess with names
len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
2004-01-11 Steffen Macke <sdteffen@web.de>
* app/diapsftrenderer.c: including ftoutln.h
* app/makefile.msc: updated for freetype build
* lib/libdia.def: added dia_font_get_context()
* lib/dialibartrenderer.c (draw_string): added cast
2004-01-10 Hans Breuer <hans@breuer.org>
* lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
transformed coordinates, fixes bug 130804
2004-01-10 Hans Breuer <hans@breuer.org>
* app/filedlg.c app/app_procs.c : don't try to destroy
'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
signal but simply by gtk_widget_destroy() after gtk_dialog_run()
returns. Fixes 'has no handler' bugs like #121019
2004-01-10 Hans Breuer <hans@breuer.org>
* objects/UML/class.c objects/UML/class_dialog.c :
handle umlclass->name being empty to avoid, i.e. fix #127968
[plugging memleaks, thanks valgrind :-]
* lib/dia_xml.c (data_string) : don't leak return value
of xmlNodeListGetString()
* lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
before returning, maybe alloca() would be the better
choice but anyway ;)
* objects/custom/custom_object.c:306 : adde xmlFree(str) below
* lib/font.c (dia_font_build_layout) : don't leak result
of g_utf8_strdown()
* lib/diagdkrenderer.c (draw_string) : don't leak rgba
(this is the one which got me started using valgrind, see #130816)
2004-01-07 Sanlig Badral <badral@openmn.org>
* configure.in: Added "mn" to ALL_LINGUAS.
2004-01-04 Hans Breuer <hans@breuer.org>
* lib/diagdkrenderer.c : replace rendering of really small (height
less than 2 pixels) with a simple dashed line, you wont notice the
differnce beside it being much faster. This allows ...
* lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
* app/navigation.c : ... and lets you see an read rendered text even
in the nice navigation popup.
* lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too.
(draw_string) : don't leak temporary image
2004-01-04 Hans Breuer <hans@breuer.org>
* app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
* app/interface.c : use dia-app-icons.h to give Dia window icons
* lib/dia_image.c lib/color.c : _never_ call functions implemented
in app/ from lib/. It is not portable and broken from design
* app/app_procs.c : call color_init() and dia_image_init() conditional,
i.e. only if running interactive.
* lib/font.h : #include <time.h>
* lib/libdia.def : updated externals
* objects/UML/actor.c
objects/UML/association.c (todo)
objects/UML/branch.c
objects/UML/class.[hc] objects/UML/class_dialog.c
objects/UML/classicon.c
objects/UML/component.c
objects/UML/constraint.c
objects/UML/dependency.c
objects/UML/generalization.c
objects/UML/implements.c
objects/UML/large_package.c
objects/UML/lifeline.c
objects/UML/message.c
objects/UML/node.c
objects/UML/object.c
objects/UML/realizes.c
objects/UML/small_package.c
objects/UML/state.c
objects/UML/usecase.c
objects/UML/
: ported coloring of most UML objects (bug #97517, orginal
work Mathias Hasselmann)
* lib/properties.h : add _OPTIONAL variants for
PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
i.e. default colored - UML diagrams without complaining
* lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
not set properties with the help of PXP_NOTSET. Otherwise
optional attributes would lead to wrong initialization.
* lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
Same for most other selectors which probably should be rewritten
to the combo box with tree model from Gtk+ 2.4
2004-01-04 Lars Clausen <lrclause@cs.uiuc.edu>
* INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
being the Right Thing(tm) to use on Solaris.
* objects/standard/bezier.c (bezierline_draw): Don't draw
guidelines if not selected.
* lib/object.[ch] (dia_object_is_selected): Function to check whether
a given object is selected. O(n), where n is # selected objects.
2004-01-03 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/widgets.[ch]: Make sure old font is re-chosen when the Other
Fonts dialog is closed without pressing Ok (bug #128646).
2004-01-02 Lars Clausen <lrclause@cs.uiuc.edu>
* app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
#130099).
2004-01-01 Lars Clausen <lrclause@cs.uiuc.edu>
* INSTALL: Updated list of requirements (bug #129653)
* doc/en/dia.dia: Beginning class diagram for Dia from Luc
Pionchon <luc@handhelds.org>.
2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagdkrenderer.c (draw_string): Don't attempt to render
empty or NULL strings (bug #130097).
2003-12-31 Chris Sperandio <sperandi@eng.usf.edu>
* plug-ins/metapost/render_metapost.c: Fixed string colorization.
Added checks against color_black.
2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
ARROW_TYPE_NONE. Thanks to Jon A. Solworth for showing that this
can happen.
* objects/UML/component_feature.c: Patch from W. Borgert
<debacle@debian.org>: Add handle to component feature text.
* lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
* lib/font.c: Caching PangoLayout for better rendering speed.
2003-12-30 Lars Clausen <lars@raeder.dk>
* lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
get absolute file name from relative.
* app/recent_files.c (recent_file_history_add): Use absolute
filenames for recent files menu so that files can be found when
Dia is invoked from other places.
* app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
Actually load different diagrams if such are requested on command
line.
* objects/UML/class_dialog.c (class_create_page): Fix from Luc
Pionchon <luc@handhelds.org>: Correctly align labels for colors.
* lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
remove text rendering. May be turned into greeking at some later
stage.
* app/interface.c:
* app/Makefile.am (dia_core_files):
* app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
Adds navigation window a la Gimp, though without text being
rendered at all.
2003-12-27 Luc Pionchon <luc@handhelds.org>
* app/navigation.h: (new file)
* app/navigation.c: (new file) creates a navigation window with a
thumbnail view of the whole diagram.
* app/Makefile.am (dia_core_files): added new files.
* app/interface.c (create_display_shell): added a button between
the scrollbars to popup a navigation window.
* lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
boolean
* lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
* lib/diagdkrenderer.c (draw_string): returns if the renderer do
not want text rendering.
2003-12-14 Lars Clausen <lrclause@cs.uiuc.edu>
* shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
* objects/custom/shape_info.[ch]: Cleanup.
* objects/custom/custom_object.[ch]: Changed to use new props
interface.
* lib/properties.h:
* lib/prop_text.c:
* lib/prop_inttypes.c:
* lib/prop_geomtypes.c: Added *prop_get_data_size.
* lib/libdia.def: Added object_load_props.
* configure.in: Better FT2 version test, from bug #129225.
* dia.spec (BuildRequires): Changed to match makefile (bug #129131)
* plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
Lehmann <holger.lehmann@catworkx.de>.
* plug-ins/xslt/Makefile.am:
* plug-ins/xslt/stylesheets.xml: Added Python, Component List,
and OWL XSLT sheets.
2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagdkrenderer.c: Add implementation so text is still
rendered. May be improved later.
* lib/dia_image.c:
* app/main.c:
* app/export_png.c:
* app/diagram.c:
* app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
Allow running without a $DISPLAY!
* lib/color.c: Remove warnings for non-interactive run.
* doc/en/dia.dbk:
* app/export_png.c:
* app/diaconv.c:
* app/app_procs.[ch]:
Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
to specify size for PNG output.
* app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
render a little smaller, so as to fit the big ones.
* lib/arrows.[ch]: New arrow type from W. Borgert
<debacle@debian.org>: Filled Dot and Triangle.
2003-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/pl/Makefile.am (install-data-hook): Fixed installation bug
for gif images.
* plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
* acinclude.m4: Better Python configure code patch (can't find
author, author please speak up!)
2003-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
smarter ones.
2003-11-30 Hans Breuer <hans@breuer.org>
* plug-ins/python/diasvg.py : initialize self.dash_length
in constructor to avoid crashing if the renderer user
does not set it before first usage.
2003-11-30 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
active yet.
* configure.in:
* config.h.win32: Set version number to 0.92.2+cvs to distinguish
development and stable versions.
* lib/text.c (text_draw): Use new renderer function to draw the
text.
* lib/diarenderer.h:
* lib/diarenderer.c: New renderer function "draw_text" with
default implementation. This function should eventually be the
main interface, as it will be able to handle width and caching of
rendering internally. All users of draw_string should convert to
use Text objects and call either renderer->draw_text or text_draw,
the latter if the text can be edited in-place (as should be the
goal, eventually).
2003-11-29 Lars Clausen <lrclause@cs.uiuc.edu>
* shapes/Circuit/hresistor.shape: First example of extra
attributes.
2003-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/shape/shape-export.c:
* lib/diasvgrenderer.h:
* lib/diasvgrenderer.c:
* plug-ins/svg/render_svg.c (new_svg_renderer):
Actually store the font size, using DiaRenderer's font fields.
2003-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/custom/shape_info.[ch]:
* objects/custom/custom_object.[ch]:
Support for extra attributes in custom objects.
2003-11-23 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diagram.c (diagram_update_menu_sensitivity): More
intelligent checks for menu sensitivity. Might be slow on huge
diagrams, but I think other things outweigh it by a lot.
* app/menus.[ch]: Make "Bring Forwards"
and "Send Backwards" updateable.
2003-11-22 Steffen Macke <sdteffen@web.de>
* shapes/Assorted/arrow-turn-up.shape:
* shapes/Assorted/arrow-turn-up.png:
* sheets/Assorted/Makefile.am:
* sheets/Assorted.sheet.in: Added new arrow
2003-11-17 Lars Clausen <lrclause@cs.uiuc.edu>
* app/app_procs.c
* app/color_area.c
* app/commands.c
* app/defaults.c
* app/dia_embedd.c
* app/diagram.c
* app/diagram_tree.c
* app/diagram_tree_menu.c
* app/diagram_tree_window.c
* app/diapagelayout.c
* app/diaunitspinner.c
* app/export_png.c
* app/filedlg.c
* app/interface.c
* app/layer_dialog.c
* app/lineprops_area.c
* app/linewidth_area.c
* app/menus.c
* app/pagesetup.c
* app/paginate_psprint.c
* app/persistence.c
* app/plugin-manager.c
* app/preferences.c
* app/properties.c
* app/recent_files.c
* app/sheets.c
* app/sheets_dialog.c
* app/sheets_dialog_callbacks.c
* app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
GTK-2 compatibility update, mostly gtk_foo -> g_foo.
* TODO: Updated, note on EPS transparency.
2003-11-07 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/class.c (umlclass_draw): Allow classes with no name
without crashing.
2003-11-01 Lars Clausen <lrclause@cs.uiuc.edu>
* config.h.win32:
* doc/en/dia-manual.xml:
* dia.spec:
* configure.in:
* NEWS: Another Brown Bag release for parenting problems,
including a crash bug fix.
* app/connectionpoint_ops.c (diagram_update_connections_object):
Also update connections when moving children. This can cause
move_handle to be called twice, so it must be idempotent.
* app/load_save.c: Loading and saving of children totally redone.
Now doesn't violate assumption that all objects in a layer are
placed in order in XML file.
* objects/UML/branch.c (branch_create): Don't lie about being
resizable.
* objects/UML/node.c (node_create):
* objects/UML/large_package.c (largepackage_create): Drag with
lower right-hand handle at creation like all other objects.
2003-10-28 Lars Clausen <lrclause@cs.uiuc.edu>
* app/disp_callbacks.c (ddisplay_drop_object): Change initial
parenting drop to behave like a move inside, i.e. constrain place
instead of trying to resize. 'Cause, resizing cannot be done for
all objects (e.g. UML Class). Also simplified the algorithm a lot
at the same time.
* app/load_save.c: Saving and loading of connection points for
children added. Prototypes for static functions added.
* lib/dynamic_obj.c: Removed debugging output.
2003-10-26 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/en/dia-manual.xml:
* doc/pl/dia-manual.sgml:
* dia.spec:
* config.h.win32:
* configure.in:
* NEWS: Brown Bag release 0.92.1
* lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
2003-10-25 Lars Clausen <lrclause@cs.uiuc.edu>
* app/app_procs.c (app_init): Rearrangement for translators.
2003-10-24 Steffen Macke <sdteffen@web.de>
* lib/text.c(text_key_event): enforcing the inserted text length now,
fix for bug #125348
2003-10-22 Lars Clausen <lrclause@cs.uiuc.edu>
* MAINTAINERS: Change Debian maintainer to be the default address.
* objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
args to match prototype, thus removing crashbug #125159.
* RELEASE-PROCESS: Note to self.
2003-10-22 Steffen Macke <sdteffen@web.de>
* doc/en/dia-manual.xml: removed superfluous external references
2003-10-21 Steffen Macke <sdteffen@web.de>
* lib/libdia.def: added filter_get_by_name
* app/render_eps.c: moved extensions definition outside #ifdef
2003-10-19 Lars Clausen <lrclause@cs.uiuc.edu>
* Makefile.am:
* dia.1:
Removed old Dia manual, put new one in doc/en/. Translations
should go in doc/??/.
* doc/en/dia-manual.xml:
* doc/pl/dia-manual.sgml:
* dia.spec (Release):
* config.h.win32:
* configure.in:
* NEWS: 0.92 is here!
* doc/en/dia.dbk:
* doc/en/dia.1:
* doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
HallenBerg, W. Borgert. Not currently autogenerated from dia.dbk,
but it shall be.
* doc/en/usage-objects.xml: Fixed lower-case PNG tags.
* doc/en/usage-objects-selecting.xml: Commented out empty note.
2003-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/pl/dia-manual.sgml:
* doc/en/dia-manual.xml:
* config.h.win32:
* NEWS:
* configure.in:
* dia.spec (Release): Pre7.
* app/diapsrenderer.c (draw_string): Convert string to print based
on current locale. If conversion fails, fall back to UTF-8 (which
is almost certain to be messy).
2003-10-13 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/pl/dia-manual.sgml:
* dia.spec (Release):
* configure.in:
* NEWS:
* config.h.win32:
* doc/en/dia-manual.xml: Pre6.
* plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
TeX chars in strings -- must be possible to use TeX text in there.
Also avoids infinite loop bug (#124464) Will get option for this
later.
2003-10-11 Lars Clausen <lrclause@cs.uiuc.edu>
* shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
* doc/en/dia-manual.xml:
* doc/pl/dia-manual.sgml:
* dia.spec (Release):
* configure.in:
* config.h.win32:
* NEWS: pre5.
* app/authors.h: Removed duplicate of M. C. Nelson.
* plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
* app/export_png.c: Unique name for libart PNG export: png-libart.
* app/render_eps.c: Unique names for the two eps export methods:
eps-builtin, eps-pango.
* lib/filter.h: Binary compatibility change:
Added unique name to export filters. Can be NULL.
* lib/filter.c (filter_get_by_name): Finding a filter by
non-extension name.
* app/app_procs.h: Changed prototype for do_convert.
* app/app_procs.c (app_init): Support for non-extension file
format selection for export. Also allow extension to differ from
that specified by the filters. A bit of refactoring, too.
2003-09-28 Steffen Macke <sdteffen@web.de>
* makefile.msc: added target po to update the translations
2003-09-27 Lars Clausen <lrclause@cs.uiuc.edu>
* config.h.win32:
* dia.spec (Release):
* NEWS:
* doc/pl/dia-manual.sgml:
* doc/en/dia-manual.xml:
Pre4 is given a short try.
* configure.in: Give all necessary libs to PNG test.
* lib/font.c: Added legacy entries for sans, serif and monospace.
* app/app_procs.c (internal_plugin_init):
* app/render_eps.h:
* app/render_eps.c:
Added PS fonts output for Unix.
* app/diapsrenderer.c (set_font): Adjusted height by the magic .7
factor to make PS fonts stay in boxes.
2003-08-03 Hans Breuer <hans@breuer.org>
* config.h.win32 : close the version string
* lib/libdia.def : with color_white, color_black being static
on win32 they can not be exported anymore either
* lib/dialibartrenderer.c : text rendering is back on win32,
only by Gdk though; almost a year seems to be enough to
wait for my patch at bug #94791 to be accepted ...
2003-09-23 Lars Clausen <lrclause@cs.uiuc.edu>
* shapes/network/{digitizing_board.png,plotter.png,
laptop.png,telephone.png}: 22x22 icons.
2003-09-22 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/pl/dia-manual.sgml:
* doc/en/dia-manual.xml:
* dia.spec (Release):
* configure.in:
* config.h.win32:
* NEWS:
pre3 improves font rendering speed.
* app/app_procs.c (app_init): Don't do pango init here, it's done
on demand in font.c now.
* lib/font.c: Load pango context on demand rather than during
init/all the time strikes a better balance between working font
size and speed. Still need to cache width calculations.
2003-09-18 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dia_xml.c: Enable pretty printing. Should have been added
on 8/12.
2003-09-11 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/arrows.c (calculate_arrow_point): Adjust arrow line
adjustment a bit for half diamond and open round.
* RELEASE-PROCESS: Added note about notifying translators and
maintainers.
* doc/pl/dia-manual.sgml:
* doc/en/dia-manual.xml:
* dia.spec (Release):
* configure.in:
* config.h.win32:
* NEWS:
Update to 0.92-pre2.
2003-09-10 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
calculation for half diamond and open round.
* lib/arrows.c:
* objects/UML/component_feature.c:
* lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
arrows instead of specific little hacks. Much nicer, but damn
there's a lot of arrows.
* lib/dialibartrenderer.c (begin_render):
* app/render_libart.c (begin_render): Use correct DPI for screen
(well, actually the default DPI of 75 for now).
* app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
* lib/diagdkrenderer.c (draw_string): Some reformatting.
* app/app_procs.c (app_init): Note on what should be done for the
pango context now, only it doesn't work:(
* lib/font.c (dia_font_new): Make sure to load fonts that are
used, using a reasonable pango_context. Also a comment on the
global_zoom_factor,
2003-09-09 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/pl/graphics/*.png:
* doc/pl/Makefile.am: Added graphics to distro, avoiding empty
loop (bug #121817). PL translator may want to change the
home_network png to be in Polish. If the docs get translated into
more languages, we'll want to find out how to share these things.
2003-09-08 Lars Clausen <lrclause@cs.uiuc.edu>
* app/splash.c (app_splash_init): Patch from Sébastien Tricaud
<stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
splash.
* app/filedlg.c (file_save_as_callback): Put filename setting
together. (Preparation for allowing default save dir.)
* app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
correctly this time:)
* app/dia-props.c (diagram_properties_show):
* app/properties.c (properties_show): Make sure the
dialogs are transient for the correct diagram.
2003-09-07 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Make sure -lz -lm is passed into second png test
as well (stupid AC_LINK_IFELSE can't take it as an argument).
* plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
comment-filled files readable. Once we have a 'generic data'
system, we can put comments in there.
2003-09-06 Steffen Macke <sdteffen@web.de>
* plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
g_string_sized_new() instead of g_string_new() to make it compile
* app/Makefile.am: including dia.ico and dia.rc in the tarball
* plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1
for non-solid linestyles - otherwise custom linestyles have to be used.
2003-09-02 Steffen Macke <sdteffen@web.de>
* app/commands.c(help_manual_callback): using dia-manual.chm instead of
dia.chm
2003-09-02 Christian Neumair <chris@gnome-de.org>
* sheets/Pneumatic.sheet.in: Slight unification fix.
2003-09-02 Lars Clausen <lrclause@cs.uiuc.edu>
* config.h.win32:
* configure.in:
* dia.spec (Release):
* doc/en/dia-manual.xml:
* doc/pl/dia-manual.sgml:
* NEWS: Update to 0.92-pre1.
* app/properties.c (properties_key_event): Removing Esc/Enter
handling for now, interferes to much with regular dialog usage.
* plug-ins/pstricks/render_pstricks.c (tex_escape_string):
Function to escape special TeX characters. Not in use yet, as
PSTricks output by default is TeX strings. Should get a save-time
selector.
2008-09-01 Steffen Macke <sdteffen@web.de>
* lib/paper.h: explanatory comment on width and height
2003-08-30 Steffen Macke <sdteffen@web.de>
* lib/color.c:
* lib/color.h: made color_white, color_black static on win32
2003-08-28 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in (PNG_LIBS): Something in the png tests added an
extra -lpng to $LIBS. Saving old $LIBS to avoid that.
2003-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Quote correctly for temporarily adding freetype
cflags to CPPFLAGS.
* app/preferences.c (prefs_save): Remove debugging g_print.
2003-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/flowchart/parallelogram.c (pgram_update_data):
Directions for connections, better system for placing
connectionpoints.
2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagramdata.c (layer_find_closest_object_except): Look all
the way through the object list, so the foremost object is selected.
* lib/diagramdata.h: Removing dynamic_obj.h, it should only be
included for diagramdata.c.
* lib/prop_text.c (multistringprop_handle_key): Attempt at making
newline in multistringprop not close the dialog. Failed so far.
2003-08-25 Steffen Macke <sdteffen@web.de>
* app/commands.c: using CHM instead of HTML on win32 if available
* lib/diagramdata.h: including dynamic_obj.h
2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
* app/properties.c (properties_key_event): Make Enter = Ok for
properties dialogs. Still some problems with this and Esc for
Cancel, for instances escaping out of a menu closes the dialog.
* objects/UML/association.c (association_get_properties):
* objects/UML/class_dialog.c (class_create_page): Grab appropriate
focus.
* app/diapsft2renderer.c (draw_string): Use
dia_font_scaled_build_layout to ensure similarity of text.
* lib/diagramdata.c: Remove obj from dynobj list when removing
from layer to avoid nasty race conditions.
* app/undo.c (group_objects_revert): Make sure to unparent and
remove from dynobj list when changing layers objects.
2003-08-23 Steffen Macke <sdteffen@web.de>
* plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with
StretchBlt(); fixes #92249
2003-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
* app/filedlg.c (file_save_as_callback):
* app/preferences.h:
* app/preferences.c (prefs_data):
* lib/diagramdata.h:
* lib/diagramdata.c (new_diagram_data):
* app/load_save.c (diagram_data_load):
Let the document remember whether it was compressed. The user can
still override this in the Save As... dialog, and that will still
be remembered as the default for new diagrams.
2003-08-23 Steffen Macke <sdteffen@web.de>
* plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
2003-08-22 Steffen Macke <sdteffen@web.de>
* plug-ins/xslt/dia-uml.xsl:
* plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
table containing a list of components grouped by stereotype
2003-08-21 Steffen Macke <sdteffen@web.de>
* lib/makefile.msc: added connectionpoint.obj
* lib/libdia.def: added connpoint_update, find_slope_directions
* app/disp_callbacks.c: including scroll_tool.h
* obj/makefile.msc: added component_feature.obj
* app/paginate_gdiprint.c: fixed loop initialization in
paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
wrong
2003-08-21 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
move_handle call.
* lib/diagramdata.h: Colors added to prefs.
* lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
New field for pagebreak color, which should
behave the same as grid color and be settable for a diagram.
* app/diagram.c (diagram_init): Update diagram pagebreak color
from prefs.
* app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
colors.
* app/preferences.[ch]: Default diagram colors now #defines, so
loading can use it. Also, colors are now in NewDiagramData, so
are passed nicely into new diagrams directly from prefs. Yum.
* app/load_save.c (diagram_data_write_doc, diagram_data_load):
Support for loading and saving grid and pagebreak colors with the
diagram. I'm inclined to make all the three Colors in diagram
Color*s instead, so we can tell if they're specified for the
diagram or merely the default setting. There'd be no way for the
user to tell if the color of a diagram is default, though, unless
we add a 'reset to default' button to prefs.
* app/dia-props.c: Adding widgets for dynamic grid, grid colour,
pagebreak color. Unsensitizing grid size when dynamic.
* objects/UML/component.c: Patch from Krzysztof Foltman
<kfoltman@onet.pl>: Add two new connectionpoints and adjust a
third. Makes the left side connections actually be on the line
(gasp!).
2003-08-20 Steffen Macke <sdteffen@web.de>
* lib/libdia.def: added layer_find_closest_object_except
* lib/diagramdata.c: added ; after GOTO to make MSVC compile
2003-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
* app/tool.h:
* app/tool.c:
* app/scroll_tool.c:
* app/interface.c:
* app/disp_callbacks.c:
* app/create_object.h:
* app/create_object.c: Patch from Krzysztof Foltman
<kfoltman@onet.pl>: Middle button can scroll transiently when
menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
various ways.
* app/authors.h:
* sheets/UML.sheet.in:
* sheets/UML/receptacle.xpm:
* sheets/UML/Makefile.am:
* sheets/UML/eventsource.xpm:
* sheets/UML/eventsink.xpm:
* objects/UML/pixmaps/facet.xpm:
* objects/UML/uml.c (dia_plugin_init):
* objects/UML/Makefile.am (libuml_objects_la_SOURCES):
* objects/UML/component_feature.c:
Patch from W. Borgert <debacle@debian.org>: Add event sources and
event sinks.
2003-08-19 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/object.h: Turning some comments into doxygen style.
* lib/object_defaults.c (dia_object_defaults_load)
(dia_object_default_get, dia_object_default_create):
Fixing up existing documentation.
* lib/object.h: Doxygen style documentation begun.
* app/create_object.c:
* app/undo.c:
* app/connectionpoint_ops.c:
* app/disp_callbacks.c:
* app/modify_tool.c:
* objects/network/wanlink.c (wanlink_move_handle):
* objects/network/bus.c (bus_move_handle):
* objects/flowchart/parallelogram.c (pgram_move_handle):
* objects/flowchart/ellipse.c (ellipse_move_handle):
* objects/flowchart/diamond.c (diamond_move_handle):
* objects/flowchart/box.c (box_move_handle):
* objects/custom/custom_object.c (custom_move_handle):
* objects/chronogram/chronoref.c (chronoref_move_handle):
* objects/chronogram/chronoline.c (chronoline_move_handle):
* objects/SADT/box.c (sadtbox_move_handle):
* objects/SADT/arrow.c (sadtarrow_move_handle):
* objects/SADT/annotation.c (annotation_move_handle):
* objects/Misc/analog_clock.c (analog_clock_move_handle):
* objects/GRAFCET/vergent.c (vergent_move_handle):
* objects/GRAFCET/vector.c (arc_move_handle):
* objects/GRAFCET/transition.c (transition_move_handle):
* objects/GRAFCET/step.c (step_move_handle):
* objects/GRAFCET/condition.c (condition_move_handle):
* objects/GRAFCET/action.c (action_move_handle):
* objects/FS/function.c:
* objects/FS/flow.c:
* objects/FS/flow-ortho.c (orthflow_move_handle):
* objects/FS/flow-poly.c (flow_move_handle):
* objects/UML/usecase.c (usecase_move_handle):
* objects/UML/state_term.c (state_move_handle):
* objects/UML/state.c (state_move_handle):
* objects/UML/small_package.c (smallpackage_move_handle):
* objects/UML/realizes.c (realizes_move_handle):
* objects/UML/object.c (objet_move_handle):
* objects/UML/note.c (note_move_handle):
* objects/UML/node.c (node_move_handle):
* objects/UML/message.c (message_move_handle):
* objects/UML/lifeline.c (lifeline_move_handle):
* objects/UML/large_package.c (largepackage_move_handle):
* objects/UML/implements.c (implements_move_handle):
* objects/UML/generalization.c (generalization_move_handle):
* objects/UML/fork.c (fork_move_handle):
* objects/UML/dependency.c (dependency_move_handle):
* objects/UML/constraint.c (constraint_move_handle):
* objects/UML/compprop.c (compprop_move_handle):
* objects/UML/component.c (component_move_handle):
* objects/UML/branch.c (branch_move_handle):
* objects/UML/association.c (association_move_handle):
* objects/UML/actor.c (actor_move_handle):
* objects/UML/activity.c (state_move_handle):
* objects/UML/class.c (umlclass_move_handle):
* objects/standard/ellipse.c (ellipse_move_handle):
* objects/standard/zigzagline.c (zigzagline_move_handle):
* objects/standard/textobj.c (textobj_move_handle):
* objects/standard/polyline.c (polyline_move_handle):
* objects/standard/polygon.c (polygon_move_handle):
* objects/standard/line.c (line_move_handle):
* objects/standard/image.c (image_move_handle):
* objects/standard/bezier.c (bezierline_move_handle):
* objects/standard/arc.c (arc_move_handle):
* objects/standard/beziergon.c (beziergon_move_handle):
* objects/standard/box.c (box_move_handle):
* objects/ER/relationship.c (relationship_move_handle):
* objects/ER/participation.c (participation_move_handle):
* objects/ER/entity.c (entity_move_handle):
* objects/ER/attribute.c (attribute_move_handle):
* lib/polyshape.c (polyshape_move_handle):
* lib/polyshape.h:
* lib/orth_conn.c (orthconn_move_handle):
* lib/orth_conn.h:
* lib/neworth_conn.c (neworthconn_move_handle):
* lib/neworth_conn.h:
* lib/element.c (element_move_handle):
* lib/element.h:
* lib/connection.c (connection_move_handle):
* lib/connection.h:
* lib/beziershape.c (beziershape_move_handle):
* lib/beziershape.h:
* lib/bezier_conn.c (bezierconn_move_handle):
* lib/bezier_conn.h:
*BINARY COMPATIBILITY CHANGE*
Update prototype for *_move_handle() to include connectionpoint,
and also pass on modifiers. Pass in connectionpoint where
applicable.
* lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
file connectionpoint.c.
2003-08-17 Danilo Å egan <dsegan@gmx.net>
* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-08-15 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
* lib/beziershape.c (beziershape_update_data): Autoroute
directions for beziershapes!
* lib/connectionpoint.c (find_slope_directions):
* lib/connectionpoint.h: Function for finding the available
directions on a slope.
* lib/polyshape.c: Reasonable directions for
connectionpoints.
2003-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/Misc/analog_clock.c (analog_clock_update_arrow_tips):
* objects/GRAFCET/vergent.c (vergent_update_data):
* objects/GRAFCET/transition.c (transition_update_data):
* objects/GRAFCET/action.c (action_update_data):
* objects/GRAFCET/step.c (step_update_data):
* objects/FS/function.c (function_update_data):
* lib/connpoint_line.c (connpointline_putonaline):
* objects/ER/attribute.c (attribute_update_data):
* objects/ER/entity.c (entity_update_data):
* objects/ER/relationship.c (relationship_update_data):
* objects/chronogram/chronoline.c (chronoline_update_data): Set
directions for connection points.
* objects/UML/component.c (component_create): Set to allow
parenting.
* app/create_object.c (create_object_button_press):
* app/diagram.[ch] (diagram_find_clicked_object_except):
* lib/diagramdata.[ch] (layer_find_closest_object_except):
Avoid parenting to objects you're connecting to (otherwise you
couldn't make a connection out of a parenting object). To do
this, added functions to find the nearest object except a given
list of objects.
* app/render_libart.c: Rearrange libart include to avoid multiple
include program (and put libart includes inside #ifdef!)
2003-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dialibartrenderer.c: Don't include art_config.h if others
also do, as it isn't #ifdef'd.
* objects/flowchart/ellipse.c (ellipse_update_data): Add
directions for connection points.
2003-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/flowchart/box.c (box_update_data): Add directions, use
connpoint_update.
(box_load): Use g_malloc0.
* lib/Makefile.am (libdia_la_SOURCES):
* lib/connectionpoint.c (connpoint_update):
Function to call to update a connection point info in _update_data().
* lib/connectionpoint.h: Convenience DIR_ macros.
* app/preferences.c (prefs_data): Make pretty formatted XML the
default.
* lib/dialibartrenderer.c:
* app/render_libart.c: Make sure art_config.h is included, cause
some libart headers are broken.
* configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
after test. Add freetype-config cflags to cflags variable.
2003-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
* app/authors.h: Credits for Krzysztof.
* sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
Foltman <kfoltman@onet.pl>. It occurs to me that the name (rather
than the description) is visible in the title of the properties
dialog. That ought to be a short description (translatable),
though we still want long descriptions for the tooltips. Hmmm...
* configure.in: Updated to use AC_LINK_IFELSE instead of
AC_TRY_COMPILE, also force to link to check libs on Solaris.
* objects/ER/entity.c (entity_load):
* objects/ER/attribute.c (attribute_load):
* lib/attributes.c (attributes_set_default_font):
Check if font is non-null before unreffing.
2003-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diagram.c (diagram_ungroup_selected)
(diagram_group_selected): Use the undo apply to make sure grouping
and ungrouping is done in consistent manners. This removes a fair
amount of duplicated code from diagram.c.
* app/undo.c (ungroup_objects_revert, ungroup_objects_apply)
(group_objects_revert, group_objects_apply): Working undo/redo for
diagram tree updates. The initial actions still don't quite work.
2003-08-07 Lars Clausen <lrclause@cs.uiuc.edu>
* app/create_object.c (create_object_button_press):
* app/undo.[ch]:
* app/diagram.c: Undo support for parenting. Uses apply/revert in
undo only for manipulating the parent/child relationships. Things
like removing an object doesn't use the undo functions for
parenting, so any updates to come (like to diagramtree) should be
done in those, too.
2003-08-03 Hans Breuer <hans@breuer.org>
* app/create_object.c : minor formating and g_new0 for
tool creation
* lib/bezier_conn.[hc] lib/beziershape.[hc]
lib/prop_geomtypes.c (prop_geomtypes_register)
objects/standard/bezier.c objects/standard/beziergon.c :
ability to set bezpoints via StdProp api
* plug-ins/python/pydia-property.c : convert list of tuples
to BEZPOINTARRAY
* plug-ins/python/diasvg_import.py : use it to
implement part of path parsing. Also minor improvements
like inheritance of group attributes to members,
whitespace, title and style:text/css ignoring ;-)
2003-08-02 Hans Breuer <hans@breuer.org>
* lib/connections.c (connection_move_handle): return
something to make it compile
* lib/object.c(190) : error C4033: 'object_list_move_delta_r'
must return a value -> dito
[Is there a warnings-as-errors switch we could use with gcc
to avoid such in future ?]
* plug-ins/python/pydia-object.h : define *_Check macros
* plug-ins/python/diamodule.c : provide dia.group_create()
* plug-ins/python/pydia-diagramdata.c : add
DiaDiagramData.add_layer()
* plug-ins/python/pydia-property.c : allow to set color by
tuple of doubles
* plug-ins/python/diasvg_import.py : based on the above
implement a) group support, b) rgb(1,2,3) color handling,
and somewhat fishy data:image/png;base64 support (create
temporary files from inline image data)
d) dump the import errors as text into an 'Error' layer
* plug-ins/python/diasvg.py : add xmlns:xlink, removed a
stray " in draw_rect and corrected error message formating
* plug-ins/pydia/pydia-geometry.c : removed ## to make it
compile with gcc 3.3, fixes bug #117204. Thanks to Daniel
Jacobowitz.
2003-08-01 Hubert Figuiere <hfiguiere@teaser.fr>
* app/magnify.c (create_magnify_tool): allocate with g_new0()
* app/preferences.c (prefs_create_dialog): use checkboxes for boolean
preferences values (see bug 118570). Also group items into a GtkFrame.
2003-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
* app/menus.c:
* app/menus.h:
* app/commands.h:
* app/commands.c (objects_unparent_children_callback):
* app/diagram.h:
* app/diagram.c (diagram_unparent_selected,
(diagram_update_menu_sensitivity):
Added unparenting of single children.
* lib/bezier_conn.c:
* lib/bezier_conn.h:
* lib/beziershape.c:
* lib/beziershape.h:
* lib/connection.c:
* lib/connection.h:
* lib/element.c:
* lib/element.h:
* lib/group.c:
* lib/neworth_conn.c:
* lib/neworth_conn.h:
* lib/object.h:
* lib/orth_conn.h:
* lib/poly_conn.c:
* lib/poly_conn.h:
* lib/polyshape.c:
* lib/polyshape.h:
* objects/EML/instantiation.c:
* objects/EML/interaction-ortho.c:
* objects/EML/interaction.c:
* objects/EML/process.c:
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
* objects/FS/flow-ortho.c:
* objects/FS/flow-poly.c:
* objects/FS/flow.c:
* objects/FS/function.c:
* objects/GRAFCET/action.c:
* objects/GRAFCET/condition.c:
* objects/GRAFCET/step.c:
* objects/GRAFCET/transition.c:
* objects/GRAFCET/vector.c:
* objects/GRAFCET/vergent.c:
* objects/Misc/analog_clock.c:
* objects/SADT/annotation.c:
* objects/SADT/arrow.c:
* objects/SADT/box.c:
* objects/UML/activity.c:
* objects/UML/actor.c:
* objects/UML/association.c:
* objects/UML/branch.c:
* objects/UML/class.c:
* objects/UML/classicon.c:
* objects/UML/component.c:
* objects/UML/constraint.c:
* objects/UML/dependency.c:
* objects/UML/fork.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/node.c:
* objects/UML/note.c:
* objects/UML/object.c:
* objects/UML/realizes.c:
* objects/UML/small_package.c:
* objects/UML/state.c:
* objects/UML/state_term.c:
* objects/UML/usecase.c:
* objects/chronogram/chronoline.c:
* objects/chronogram/chronoref.c:
* objects/custom/custom_object.c:
* objects/flowchart/box.c:
* objects/flowchart/diamond.c:
* objects/flowchart/ellipse.c:
* objects/flowchart/parallelogram.c:
* objects/network/bus.c:
* objects/network/wanlink.c:
* objects/standard/arc.c:
* objects/standard/bezier.c:
* objects/standard/beziergon.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
* objects/standard/line.c:
* objects/standard/polygon.c:
* objects/standard/polyline.c:
* objects/standard/textobj.c:
* objects/standard/zigzagline.c:
Binary compatibility update: Added return value for foo_move() and
foo_move_handle(). Orthconn derivatives also returns change from
orthconn_move_handle().
* lib/orth_conn.c: Undo support for autorouting. Neworthconn
doesn't support it yet.
* lib/object.c (object_list_move_delta_r, object_list_move_delta):
Add returning ObjectChange from object moves. Needs to handle
multiple object moves.
* app/modify_tool.c (modify_motion, modify_release): Add
ObjectChange from move & move_handle to undo stack.
* objects/EML/instantiation.c (instantiation_move): Removing
duplicate move & update.
2003-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-export.c: Added support for arrow head
export. Many arrow types not supported by XFig, replacing those
with standard arrows. Not sure whether it'd be better to render
them as a group of lines instead. You'd lose the arrow-ness for
further editing, but preserve the actual shape of it. Also added
support for dash length.
* plug-ins/xfig/xfig-import.c: Added support for dash length settings.
* plug-ins/xfig/fig-format-3.2: Added copy of Fig format
description for version 3.2, for reference.
* plug-ins/xfig/xfig-import.c: Added import of arrows.
* app/menus.c: Removed prefs item from Gnome diagram menu. Made
Align Vertical Adjacent call _v rather than _h.
2003-07-29 Hubert Figuiere <hfiguiere@teaser.fr>
* app/scroll_tool.c (create_scroll_tool):
* app/modify_tool.c (create_modify_tool): use g_new0() to
initialize the tool
2003-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Macedonian (mk) to ALL_LINGUAS
2003-07-23 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS.
2003-07-19 Hans Breuer <hans@breuer.org>
[
Make the xslt plug-in work on win32, too. It appears
to require a quite recent version of libxml and libxslt,
otherwise windoze pathes aren't translated correctly
during file processing
]
* plug-ins/xslt/xslt.h : #include <glib.h> before
using G_OS_WIN32
* plug-ins/xslt/xslt.c : plugged some memory leaks and do
the 'script' file finding similar to how it is done
with the python scripts (no need for hardcoded pathes,
removed the 'plugin' part from the path)
* plug-ins/xslt/stylesheets.xml : added again. It does
not have any path but only the pure filename again
* plug-ins/xslt/stylesheets.xml.in : removed
* plug-ins/xslt/Makefile.am : removed 'plugin' and the
rule to process stylesheets.xml.in
* plug-ins/makefile.msc : added xslt
2003-07-19 Hans Breuer <hans@breuer.org>
Finally Dia learned to remember the recent selected sheet
* app/preferences.[hc] : added prefs.recent_sheet
* app/interface.c : restore and remember the sheet-option-menu
history, but only if the respective number is stiil available.
This additional adds robustness against running Dia without
any sheet (e.g. installation problems)
* app/app_procs.c : call prefs_safe() in app_exit() to remember
changes which are not done by the prefernces dialog
* app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
removed every call (especially the conditional ones) to prefs_safe().
Before prefs_safe() was called _many_ times during Dia startup
2003-07-18 Hans Breuer <hans@breuer.org>
* app/makefile.msc lib/makefile.msc lib/libdia.def :
updated win32 build
* lib/color.c : use gtk_widget_get_default_visual();
as suggested in #114536
* app/interface.c app/disp_callbacks.c :
moved round_up () to the latter file where it is used
* app/linewidth_area.c : #include "interface.h" for
interface_get_toolbox_shell()
2003-07-18 Hubert Figuiere <hfiguiere@teaser.fr>
* plug-ins/pixbuf/.cvsignore
* shapes/Cisco/.cvsignore:
added cvsignore
2003-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
* app/dia-props.c (diagram_properties_retrieve): Use
diagram_get_name() to add the diagram name to the diagram
properties dialog.
* app/diagram.h:
* app/diagram.c (diagram_get_name): New function to get a
reasonable diagram name.
* lib/diagramdata.h: Added major_lines, dynamic and colour to grid
info. Still need to be able to set dynamic grid. Also ought to
follow Gnome style and have instant apply.
* app/preferences.h:
* app/preferences.c (prefs_data): Remove option to use stippled
grid, add option for major line offset. Default to 5 minor lines
per major line.
Add option for dynamically sized grid.
* app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
* app/grid.c: Pagebreak drawing separated out. Grid drawing using
stippled/solid to display minor/major grid lines. Line drawing in
separate functions away from calculating line distance.
* app/grid.h: Split page break drawing out of grid_draw.
* app/layer_dialog.c (layer_dialog_show): Patch from Hubert
Figuiere <hfiguiere@teaser.fr>: Layer dialog show go to front
when menu item is selected.
2003-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Removed -Winline flag to make way for important
warnings.
* samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
non-compressed. Should fix bug #117381, also look prettier.
* Makefile.am:
* dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
Set up desktop info more properly.
2003-07-13 Lars Clausen <lrclause@cs.uiuc.edu>
* activity.c:
* actor.c:
* branch.c:
* class.c:
* classicon.c:
* component.c:
* large_package.c:
* lifeline.c:
* node.c:
* note.c:
* object.c:
* small_package.c:
* state.c:
* state_term.c:
* usecase.c:
Autorouting directions patch from Krzysztof Foltman
<kfoltman@onet.pl>.
* app/menus.c: Wrong GNOME paren fixed. Correct callbacks for
GNOME parent menu items.
* app/authors.h: Added Vadim to contributors list.
2003-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
* app/commands.[ch]:
* app/create_object.c:
* app/disp_callbacks.[ch]:
* app/diagram.[ch]:
* app/interface.c:
* app/load_save.c:
* app/menus.[ch]:
* app/modify_tool.c
* app/undo.[ch]:
* lib/Makefile.am:
* lib/group.c:
* lib/object.[ch]:
* lib/parent.[ch]:
* objects/UML/large_package.c: Patch from Vadim Berezniker
<vadim@berezniker.com>:
Objects may "parent" other objects, i.e. contain them within
themselves, restrain them and move them along. Some more stuff is
needed, such as selection and individual unparenting. This adds
parenting to UML - Large Package rather than Box.
2003-07-11 Lars Clausen <lrclause@cs.uiuc.edu>
* app/linewidth_area.c: Patch from Krzysztof Foltman
<kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
conform more, at least:).
* plug-ins/metapost/render_metapost.[ch] : Applied patch from
Chris Sperandio <sperandi@eng.usf.edu>: Fixed linewidths and
arcs. Implemented images (though there is some pixelization and
banding in the output). Changed output file format to be a little
more readable.
* app/app_procs.c (app_exit): Added message for double exit, which
shouldn't happen any more. Also preventing strange g_object_unref
messages by having a printf after gtk_main_quit. This is really
weird.
* app/interface.c (toolbox_delete): Avoid double app_exit call by
removing handler for destroy when delete is called.
2003-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
* app/display.h:
* app/display.c (ddisplay_scroll_to_object,
ddisplay_scroll_center_point): New function for easy scrolling to
object or point.
2003-07-06 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere: Add
$(srcdir) on stylesheets.xml.
* app/menus.c: Patch from Hubert Figuiere: Adds help menu to
diagram menus (since they're at the top by default now). Also
move the Properties... menu item from Dialogs to Objects. Dialogs
menu should disappear at some point.
* autogen.sh: Patch from Hubert Figuiere: Don't automatically call
./configure from ./autogen.sh, as configure may need to be run
from a different directory. (Also more standard this way.)
* app/app_procs.c (app_init):
* app/Makefile.am (INCLUDES): Gnome standardization patch from
Alex.
2003-07-03 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/flowchart/parallelogram.c (pgram_update_data):
Left/right alignment for parallelograms. Doesn't use all
available space, but then pgrams also ignore their shear value.
This thing needs a loving hand.
2003-07-01 Hans Breuer <hans@breuer.org>
* lib/properties.h : introduce PROP_FLAG_OPTIONAL
* lib/proplist.c : don't complain if optional attr is missing
* lib/orth_conn.h : make "orth_autoroute" optional to
stop complaining with older files.
2003-06-13 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
2003-06-05 Andrew Halper <ashalper@cox.net>
* app/diagram_tree.c : add scrolling of drawing area
to desired object on "Locate". Patch modified to use new ddisplay
function ddisplay_scroll_to_object().
2003-06-11 Lars Clausen <lars@raeder.dk>
* lib/diagramdata.h: Added major_lines, dynamic and colour to grid
info. Before next version, the grid dialog (view dialog, really)
must be redone to allow a) instant apply, b) apply to all
diagrams, and c) setting colour, dynamic, major lines.
* app/preferences.h:
* app/preferences.c (prefs_data): Remove option to use stippled
grid, add option for major line offset. Default to 5 minor lines
per major line.
Add option for dynamically sized grid.
* app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
* app/grid.c: Pagebreak drawing separated out. Grid drawing using
stippled/solid to display minor/major grid lines. Line drawing in
separate function away from calculating line distance.
* app/grid.h: Split page break drawing out of grid_draw.
2003-05-15 Hans Breuer <hans@breuer.org>
* plug-ins/python/diasvg.py : add xlink definition,
also avoid to put spaces into attribute values. At least
Sodipodi doesn't like them in width/height attributes
* plug-ins/python/diasvg_import.py : add simple scaling.
Some (more) handling for <svg>, <desc>, <circle>
* plug-ins/python/scascale.py : (new file) which does
some experimental scaling via StdProp api
* plug-ins/python/pydia-cpoint.c
plug-ins/python/pydia-handle.c : return PyDiaPoint for
obj.pos not simple tuples. PyDiaPoint has a tuple interface
so this may even be api compatible ...
2003-05-11 Hans Breuer <hans@breuer.org>
* app/line_area.c : add window position persitence
* lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set
'poly_points' via StdProp api
* lib/neworth_conn.h : don't rely on OrthConn and
NewOrtConn having the same struct offsets
* lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
to help separating 'useful' properies - in terms of
the PyDia access
* objects/custom/custom_object.c
objects/UML/*.c
add the missing prop_desc_list_calculate_quarks to
all the *_describe_props()
* objects/standard/beziergon.c objects/standard/bezier.c :
explicit initializtion of default_user_data
* objects/standard/polygon.c objects/standard/polyline.c :
Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
* plug-ins/python/diamodule.c : implement dia.register_import
* plug-ins/python/makefile.msc : need to link with Pango
for pango_color_parse()
* plug-ins/python/pydia-property.c : add a bunch of type
conversions to PyDiaProperty_ApllyToObject()
* plug-ins/python/diasvg_import.py : (new file) which currently
is mainly a stress test for PyDia but for some files already
produces better results than svg-import.c
2003-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
type-less operations.
003-05-03 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in(ALL_LINGUAS): Added "ms".
2003-05-01 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xslt/xslt.c (xslt_ok):
* plug-ins/shape/shape-export.c (new_shape_renderer):
* plug-ins/svg/render_svg.c (new_svg_renderer):
* plug-ins/hpgl/hpgl.c (export_data):
* plug-ins/dxf/dxf-export.c (export_dxf):
* plug-ins/metapost/render_metapost.c (export_metapost):
* plug-ins/pstricks/render_pstricks.c (export_pstricks):
* plug-ins/xfig/xfig-export.c (export_fig):
* plug-ins/wpg/wpg.c (export_data):
* plug-ins/cgm/cgm.c (export_cgm):
* app/render_eps.c (export_eps):
* app/export_png.c (export_png_ok):
* app/load_save.c (diagram_data_save): Adding and standardizing
output file error messages to include fopen error message.
2003-05-01 Steffen Macke <sdteffen@web.de>
* app/persistence.c: do not use unistd.h for MSVC build
2003-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
* sheets/Assorted.sheet.in
* sheets/Circuit.sheet.in
* sheets/Contact.sheet.in
* sheets/EML.sheet.in
* sheets/ER.sheet.in
* sheets/Electric.sheet.in
* sheets/FS.sheet.in
* sheets/Flowchart.sheet.in
* sheets/GRAFCET.sheet.in
* sheets/Logic.sheet.in
* sheets/MSE.sheet.in
* sheets/Misc.sheet.in
* sheets/Pneumatic.sheet.in
* sheets/SADT.sheet.in
* sheets/SDL.sheet.in
* sheets/UML.sheet.in
* sheets/chronogram.sheet.in
* sheets/ciscohub.sheet.in
* sheets/ciscomisc.sheet.in
* sheets/cisconetwork.sheet.in
* sheets/ciscorouter.sheet.in
* sheets/civil.sheet.in
* sheets/network.sheet.in
* sheets/sybase.sheet.in:
Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
standardizes shape descriptions to use no articles, no 'create
...'.
* app/interface.c (tool_data): Standard objects follow same
standard as sheets.
2003-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
* app/color_area.c (color_area_edit): More informative title on
color selection dialog.
* app/disp_callbacks.c (ddisplay_drop_object): Update menu
sensitivity when dropping object in. Also reset tool to pointer.
* objects/flowchart/diamond.c (diamond_update_data):
* objects/flowchart/parallelogram.c (pgram_update_data): Added
left and right alignment options.
2003-04-28 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/flowchart/box.c: Added left and right alignment options.
2003-04-26 Lars Clausen <lrclause@cs.uiuc.edu>
* app/persistence.c (persistence_load): Test existence of
persistence file before trying to open it.
2003-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
* app/properties.c: Escape now closes properties dialogs.
2003-04-25 Hans Breuer <hans@breuer.org>
* app/config.h.win32 : bump version to 0.91+cvs
* app/makefile.msc lib/makefile.msc lib/libdia.def : updated
* lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
* app/commands.c : don't leak "netscape" if getenv("BROWSER")
returns NULL
* app/presistence.c : need to #include "dia_xml_libxml.h"
for xmlDiaParseFile
* app/layer_dialog.c : make delayed creation work by protecting
all non static layer_dialog_*() with :
if (layer_dialog == NULL || layer_dialog->dialog == NULL)
create_layer_dialog();
* app/app_procs.c : removed /* create_layer_dialog(); */
* objects/uml/association.c : give it a minimal StdProp
implementation to fix bug #108896
* lib/object_defaults.c : don't try to copy props if there
is no obj->ops->describe_props
2003-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/image.c (image_create):
* objects/standard/ellipse.c (ellipse_create):
* objects/standard/box.c (box_create):
* objects/flowchart/ellipse.c (ellipse_create):
* objects/flowchart/diamond.c (diamond_create):
* objects/flowchart/box.c (box_create):
* objects/custom/custom_object.c (custom_create):
* objects/ER/relationship.c (relationship_create):
* objects/ER/entity.c (entity_create):
* objects/ER/attribute.c (attribute_create): Initialize
elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
* lib/dia_svg.c (dia_svg_parse_style): Added case to set center
alignment.
* configure.in:
* plug-ins/Makefile.am:
* plug-ins/xslt/Makefile.am:
* plug-ins/xslt/xslt.c (dia_plugin_init):
Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
automake-style if to only include xslt dir when needed. Works
with automake 1.4 and up, at least.
2003-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diasvgrenderer.c (draw_string):
* lib/dia_svg.c (dia_svg_parse_style): Use
text-anchor:(start|middle|end).
* lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
polygon rather than polyline & avoid missing line pieces.
(get_draw_style): Set fill-opacity to 0 on draw_style to avoid
black-filled things.
2003-04-21 Lars Clausen <lrclause@cs.uiuc.edu>
* app/persistence.c (persistence_load): Check that persistence
file exists before trying to read it.
(persistence_update_window): Removed printf.
* objects/GRAFCET/step.c: Don't copy defaults for name and id.
* lib/autoroute.c: Take badness into the layouters again, as some
of them know they can do things that are pretty but would be
counted as ugly by the default calculation.
* objects/UML/large_package.c: Shrink package name box when no
stereotype is present.
* lib/orth_conn.h (ORTHCONN_COMMON_MENUS):
* lib/orth_conn.c: Added object menu item for autorouting.
* objects/FS/flow-ortho.c (orthflow_get_object_menu):
Autorouting, plus set initial dragging handle to be the end, not
the middle.
(orthflow_draw): Flipped arrow place to be at the end, as
originally intended (got lost in arrow update).
* objects/standard/zigzagline.c (zigzagline_get_object_menu):
* objects/UML/dependency.c (dependency_get_object_menu):
* objects/UML/association.c (association_get_object_menu):
* objects/UML/realizes.c (realizes_get_object_menu):
* objects/SADT/arrow.c (sadtarrow_get_object_menu):
* objects/GRAFCET/vector.c (arc_get_object_menu):
* objects/ER/participation.c (participation_get_object_menu):
* objects/EML/instantiation.c (instantiation_get_object_menu):
* objects/UML/generalization.c (generalization_get_object_menu):
* objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu):
Autorouting setup (currently disabled for SADT/arrow).
2003-04-19 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/autoroute.c: Removed printfs.
* lib/orth_conn.c:
* lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
non-connected orthconns too.
2003-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/orth_conn.h:
* lib/orth_conn.c: Function to set autorouting on/off, use
autorouting in move_handle (turns off when a middle handle is
moved), added to standard orthconn props.
* app/disp_callbacks.c (create_object_menu, popup_object_menu):
Stopped signal emission for check menu items being set to on/off.
* objects/standard/zigzagline.c: Added autorouting object menu item.
* lib/autoroute.c: Added last cases of autoroute layout, fixed
floating point comparison bug, cleaned up layouters, tweaked
badness to allow kinks.
2003-04-17 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/connectionpoint.h: Changed DIR_* macros to go around the
clock.
* lib/orth_conn.[ch] (orthconn_set_points): New function to set all
points at once.
* objects/standard/zigzagline.c (zigzagline_move_handle): Removed
old cruft, added call to autoroute (currently cannot be turned
off). Need to check what undo thinks about this.
* lib/autoroute.[ch]: Fairly working simple layout.
* lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
* lib/autoroute.[ch]: Start of proper autorouting functionality.
2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/prop_widgets.c: Show labels on ListProp.
2003-04-11 Steffen Macke <sdteffen@web.de>
* doc/en/dia-manual.xml: removed reference of non-existing authors
note.
* doc/en/usage-objects-selecting: commented out misleading section
references.
2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
* app/app_procs.c (app_init): Layer window now opened at startup
only if needed.
* lib/prop_widgets.c: Show labels on ListProp.
2003-04-09 Steffen Macke <sdteffen@web.de>
* doc/en/*.sgml: removed files
* doc/en/*.xml: added files
* doc/en/Makefile.am: switched to XML DocBook
2003-04-09 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xslt/xslt.c (dia_plugin_init):
* configure.in: Added --with-xslt-prefix to allow other XSLT
placements than /usr/lib.
2003-04-09 Steffen Macke <sdteffen@web.de>
* lib/makefile.mingw: updated to include latest files, including
and linking libintl
* lib/geometry.h: don't define isinf and finite for mingw gcc build
2003-04-08 Lars Clausen <lrclause@cs.uiuc.edu>
* app/persistence.h:
* app/persistence.c (persistence_register_window_create):
* app/app_procs.c (app_init):
Register window function that doesn't create the window unless it
should be open. Other windows should move to this, so startup
speed can be reduced.
* app/persistence.h: Removed call prototype for update_window, now
done internally.
* app/persistence.c (persistence_register_window): A number of
fixes. Doesn't forget position when window is closed. Now
actually loads prefs.
* app/layer_dialog.c (create_layer_dialog): Removed extraneous
event connect.
* app/preferences.c (prefs_data):
* app/diagram_tree_window.h:
* app/diagram_tree_window.c: Added persistence registering.
Removed prefs items storing size and openness.
* app/sheets_dialog.c (create_sheets_main_dialog): Added
persistence registering.
* app/Makefile.am (dia_core_files): Added persistence files.
* lib/dia_dirs.h:
* lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
that dirs are present.
* app/app_procs.c (app_init): Loads persistent values on startup.
(app_exit): Saves persistent values on exit.
* app/layer_dialog.c (create_layer_dialog): Registers the layer
window for persistence.
* app/persistence.[ch]: New files handling various kinds of
persistence.
2003-04-04 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
head spacing calculations. Added half-circle arrow from Matthieu
Sozeau <mattam@netcourrier.com>
2003-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
* app/app_procs.c (app_init): Moved layer dialog init to allow
tooltips to be initialized.
* app/interface.c (create_display_shell): More tooltips.
* app/linewidth_area.c (linewidth_area_create)
(linewidth_area_events):
* app/color_area.c (color_area_events, color_area_create):
Made tooltips work by embedding drawing_area in event_box.
* app/interface.c (create_display_shell,
(create_lineprops_area, create_color_area): Added a few tooltips.
2003-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
* app/pixmaps/off-grid.xpm:
* app/pixmaps/on-grid.xpm:
* app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
* app/display.h:
* app/commands.c (view_snap_to_grid_callback):
* app/display.c (ddisplay_set_snap_to_grid)
(update_snap_grid_status):
* app/interface.c (create_display_shell, grid_toggle_snap):
Added snap-to-grid status button.
2003-03-31 Lars Clausen <lrclause@cs.uiuc.edu>
* app/app_procs.c (app_init): Create a new diagram if a file on
the command line isn't found.
2003-03-17 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dialibartrenderer.c (draw_string): Correct color handling
for AA.
2003-03-14 Lars Clausen <lrclause@cs.uiuc.edu>
* NEWS:
* doc/en/dia-manual.sgml:
* doc/pl/dia-manual.sgml:
* configure.in:
* dia.spec (Release):
Version 0.91 is here!
2003-02-10 Steffen Macke <sdteffen@web.de>
* plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara
<ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
non-ANSI characters, closes #107980
2003-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in:
* NEWS:
* dia.spec (Release):
* doc/en/dia-manual.sgml: Upping to pre6.
* configure.in: Missing comma broke HAVE_IEEEFP_H test.
* app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
#107511: Make arrow selector for correct arrow type.
2003-03-03 Lars Clausen <lrclause@cs.uiuc.edu>
* shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
EXTRA_DIST.
2003-03-02 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/en/dia-manual.sgml:
* configure.in:
* NEWS:
* dia.spec (Release): Upping to pre5.
* configure.in: Add freetype-config derived libs to the
AC_CHECK_LIB statement for freetype.
2003-02-28 Hans Breuer <hans@breuer.org>
[fix for bug #107203]
* lib/diarenderer.c : add warning 'implementation'
for fill_rect to avoid crashing with a renderer
which does not implement this required function.
* plug-ins/dxf/dxf-export.c : provide - still empty -
'implementations' for fill_rect and fill_polygon
to suppress the above warnings. Now it works like
in version 0.90
2003-02-28 Steffen Macke <sdteffen@web.de>
* samples/all_objects.dia: New sheet containing all dia shapes
and objects; one layer per sheet
2003-02-28 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/prop_text.c (multistringprop_get_widget,
multistringprop_reset_widget, multistringprop_set_from_widget):
Now uses GtkTextView instead of deprecated stuff, and also works:)
* configure.in: Slightly more informative error message for isinf.
* dia.spec (Requires): Require libxml2 rather than libxml.
2003-02-28 Steffen Macke <sdteffen@web.de>
* shapes/Circuit/hjumper.png:
* shapes/Circuit/hjumper.shape: added missing icon for horizontal
jumper shape
2003-02-26 Lars Clausen <lrclause@cs.uiuc.edu>
* doc/en/dia-manual.sgml:
* configure.in:
* dia.spec (Release):
* NEWS: New prerelease 0.91pre4, two important fixes.
2003-02-25 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
stylesheets.xml.in
* app/commands.c (help_manual_callback): More correct URL for help
page (include file://, was broken on Dillo without it).
2003-02-24 Lars Clausen <lrclause@cs.uiuc.edu>
* app/disp_callbacks.c: Set modifed when text is changed.
* app/modify_tool.c (modify_button_release): Allow undo for moving
objects.
2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
* dia.spec:
* doc/en/dia-manual.sgml:
* NEWS:
* configure.in: New prerelease with important bugfix.
* shapes/network/digitizing_board.png:
* shapes/network/plotter.png: Re-adding with -kb.
2003-02-17 Abel Cheung <maddog@linux.org.hk>
* app/app_procs.c (app_init): Add comment for translators.
2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/filter.c (filter_register_import, filter_register_export):
Don't accept filters with NULL description.
* lib/plug-ins.c (dia_plugin_load): Fail if there's no description
(as we assume the description is available in other places).
2003-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
* app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update):
* app/display.c (ddisplay_resize_canvas): Use
ddisplay_add_update_all().
(ddisplay_add_update_all): Free display and update lists when
doing update_all, as they'll be regenerated immediately to cover
all visible area. Fixes bug #106165, crash when resizing. This
appears to be the original AA crash bug, believed long extinct.
2003-02-13 Lars Clausen <lrclause@cs.uiuc.edu>
* app/commands.c (help_manual_callback): Use file: protocol for
help.
* plug-ins/xslt/.cvsignore: Ignore .o files, please.
* plug-ins/xslt/stylesheets: Removed old-style config file.
* plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
* plug-ins/xslt/Makefile.am:
* plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
handling (no more DIA_PLUGIN_PATH).
2003-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/svg/render_svg.c:
* lib/diasvgrenderer.c: Fixed numeric localized output issues.
2003-02-10 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to
[-1.0, 1.0]. Shouldn't be necessary, but in some cases the
side of the triangle is longer than the hypotenuse. Rounding
error suspected.
2003-02-09 Lars Clausen <lrclause@cs.uiuc.edu>
* NEWS:
* configure.in:
* doc/en/dia-manual.sgml: Update for pre2.
* app/menus.c (display_menu_items): Fixed wrongly place separators.
* objects/flowchart/box.c (box_update_data): Applied patch from
Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
comment).
* app/paginate_psprint.c (print_page): Set paper name, so it
convinces ps printers to use to right size.
2003-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
* app/properties.c (properties_show): Hide the dialog if the
object is NULL (get rid of 'no properties' randomly popping up).
2003-02-06 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
for diagrams not starting at origo.
2003-02-05 Lars Clausen <lrclause@cs.uiuc.edu>
* dia.spec (BuildRequires): Use libxml2-devel.
* plug-ins/pixbuf/Makefile.am: Added to CVS.
* RELEASE-PROCESS: Note on RPM version numbers.
* app/interface.c (create_display_shell): Don't set as toolbar
under Unix, either. Especially not the diagram shell. It removes
it from the taskbar and makes it unresizable, always-on-top with
OpenBox. TOOLBAR != TOOLBOX. Setting toolbox to the only
appropriate thing, UTILITY, is not good either, you lose resizing
and minimizing/maximizing under OpenBox.
* app/menus.c (display_menu_items): Set delete item to use Delete.
2003-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
* dia.spec (BuildRequires, Requires): Updated for Gtk2
requirements.
* app/disp_callbacks.c (ddisplay_canvas_events): Only add a
display flush when getting focus in, or we may get an update after
the diagram has been destroyed in some cases. Fixes bug #105221.
* plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
* lib/diarenderer.c: Notes on the basis matrix for our beziers.
* app/app_procs.c (app_init): Fixed missing popt context for Gnome
- gnome-compiled Dia will now read files specified on the command line.
2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
* INSTALL (REQUIREMENTS): Updated requirements section.
* configure.in: Better finite() check from MÃ¥rten Svantesson
<f95-msv@nada.kth.se>. Doesn't seem to generate strange dangly
if's.
2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-import.c: Notes on spline conversions.
* app/app_procs.c (debug_break): Added some code to avoid
over-eager optimizations removing the call. Surely there's a
nicer way, but I'm not sure how.
* app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
that set text to black.
2003-02-02 Lars Clausen <lrclause@cs.uiuc.edu>
* NEWS: Mention of Twiki as doc source for Python.
* plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
libart/libpng is not available. Later when we have a way of
letting the user pick options in the file select dialog we shall
allow the choice when applicable.
2003-02-02 Steffen Macke <sdteffen@web.de>
* doc/en/usage-loadsave.sgml:
* doc/en/usage-objects.sgml: patch from
James K. Lowden <jklowden@schemamania.org> to fix
some docbook errors
2003-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/Makefile.am (SUBDIRS):
* plug-ins/pixbuf/pixbuf.c:
* plug-ins/pixbuf/Makefile.am:
* configure.in:
Added pixbuf plugin to Makefile.am, but for import only. PNG
export handled by libart, which is better. JPG export is
discouraged. BMP is not much used on Unix. Next release will
integrate libart to allow all outputs.
2003-02-01 Hans Breuer <hans@breuer.org>
* app/preferences.c :
* app/pagesetup.c :
the last two dialogs with 'old' button order finally
are converted to gtk2, no GnomeDialog in all of Dia
anymore :-)
2003-02-01 Hans Breuer <hans@breuer.org>
* app/filedlg.c : don't try to use a button as
'overwrite-file-dialog'-parent, use the FileSelDialog
instead
* plug-ins/pixbuf/pixbuf.c : make it work with
system-visual-depth < 24. Remove 'bmp' from output
format extensions, it just was wishful thinking.
* plug-ins/python/Makefile.am : added the four new python
plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
2003-02-01 Hans Breuer <hans@breuer.org>
* NEWS : updated content beside dependencies
2003-02-01 Hans Breuer <hans@breuer.org>
* lib/arrow.h : arrow_types needs to be declared as DIAVAR
to make it useable across DLL boundaries
* app/lineprops_area.c : same code to access arrow_types
on all platforms
* objects/UML/class.c : the non empty string is e.g.
comment != NULL && comment[0] != '\0'
* objects/UML/uml.c : same here, don't bother with
empty operation stereotypes
2003-02-01 Steffen Macke <sdteffen@web.de>
* app/lineprops_area.c: latest changes do not work on
windows, using old code without tooltips
* makefile.msc: fixed copying of wmf.dll
* plug-ins/makefile.msc:
* app/makefile.msc:
* lib/makefile.msc: now linking libintl
* config.h.win32: enabling native language support
2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
-ldl and -lglib. May or may not work on windows...awaiting verdict.
2003-01-31 Daniel Yacob <locales@geez.org>
* configure.in: Added am (Amharic) to ALL_LINGUAS.
2003-01-31 Steffen Macke <sdteffen@web.de>
* objects/UML/class.c (umlclass_calculate_data): fixed crash
when comments were visible, no class comment available and
a attribute comment
2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
* RELEASE-PROCESS: Updated to fit new install-module syntax.
* Prerelease 0.91-pre1 released on a suspecting public. Tagging
with DIA_0_91_PRE1.
2003-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
* config.h.win32:
* NEWS:
* configure.in:
* dia.spec:
Prerelease version changes, version 0.91-pre1.
* app/sheets_dialog_callbacks.h:
* app/sheets_dialog_callbacks.c:
* app/sheets_dialog.c (create_sheets_main_dialog):
* app/sheets.c (sheets_dialog_create): More destroy stuff. Trying
to handle destruction of main dialog cleanly, but it's a mess.
* configure.in: Downgraded ieeefp test to make it not produce
illegal shell code.
* lib/widgets.c (dia_arrow_selector_set_arrow):
(dia_line_style_selector_set_linestyle): Select menu dot
correctly set.
* lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
adjustment for diamondheads.
* lib/plug-ins.c (dia_plugin_load): Fixed typo.
* app/properties.c (create_dialog): Destroy properties dialog and
box correctly.
* app/sheets_dialog_callbacks.c
(on_sheets_dialog_button_edit_clicked): Only create a new dialog
if the old one is destroyed.
2003-01-29 Lars Clausen <lrclause@cs.uiuc.edu>
* app/export_png.c (export_png_ok): Added info on resolution.
Should (next release) improve export dialog to allow setting
resolution instead of pixels.
* app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
to generate arrowheads as well as tooltips.
* lib/arrows.c: Added hollow diamond to menudesc list.
* lib/arrows.[ch]:
* lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
unify with rendered menu.
* lib/diarenderer.c (draw_line_with_arrows)
(draw_polyline_with_arrows, draw_arc_with_arrows)
(draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
without changing renderer API. Thanks to David Scherba for
providing inspiration.
2003-01-28 Lars Clausen <lrclause@cs.uiuc.edu>
* app/interface.c (create_display_shell):
* app/display.h: Patching from Hubert Figuiere
<hfiguiere@teaser.fr>: Better types for menu bar widgets, and
correct menu items.
2003-01-26 Lars Clausen <lrclause@cs.uiuc.edu>
* app/defaults.c (defaults_show): Fixed defaults closing bug.
Thanks to Hans for pointing it out.
2003-01-25 Hans Breuer <hans@breuer.org>
* app/commands.c : don't warn about crashing libart renderer
on win32. It simply doesn't render text anymore :-(
* app/filedlg.c : use GtkMessageDialog for 'file overwrite'
* objects/UML/class.c : don't access umlclass->properties_dialog
after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
which sets the former to NULL by destroy_properties_dialog() callback.
* plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
* plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
* plug-ins/python/pydia-image.c : add image.uri member
not only useful for SVG rendering
* plug-ins/python/diasvg.py : (new file) a more advanced
example. A full blown SVG Renderer, currently only
registered for .svgz
* plug-ins/python/export-object.py : write text props
* plug-ins/python/debug_objects.py : write prop.type and
prop.visible
2003-01-25 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/association.c (association_update_data): Better
bounding box for assoc with arrows.
* lib/properties.h: New flag for properties with multiple values
in groups.
* app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
arrow updating in dialog. Was broken due to changes from destroy
fix:(
* app/commands.c (view_aa_callback): AA warning only for Windows
-- I trust the Unix side well enough.
* app/render_libart.c (get_text_width):
* lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
font height can be taken from parent instance.
* lib/dialibartrenderer.c (dia_libart_renderer_class_init)
(get_text_width): Proper cursor positioning for libart renderer.
Ought to have a DiaInteractiveRenderer that these two can inherit
from, that knows about transform.
2003-01-25 Steffen Macke <sdteffen@web.de>
* plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
plug-in still not working on win32
2003-01-24 Lars Clausen <lrclause@cs.uiuc.edu>
* app/disp_callbacks.c (ddisplay_canvas_events): Moved
gdk_window_get_pointer to avoid destroy crash. Simpler than I
thought.
2003-01-23 Lars Clausen <lrclause@cs.uiuc.edu>
* app/app_procs.c (app_init): Run gtk_init before popt so we don't
bail out on gtk options.
* lib/message.c (gtk_message_internal): Better handling of destroy
event.
2003-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
* app/color_area.c (color_area_edit):
* lib/widgets.c (dia_file_selector_browse_pressed)
(dia_color_selector_pressed):
* app/plugin-manager.c (get_plugin_manager):
* app/filedlg.c (file_open_callback, file_save_as_callback)
(file_export_callback):
* app/diagram_tree_window.c (diagram_tree_window_new): Correct
handling of destroy event.
2003-01-22 Alan Horkan <horkana@tcd.ie>
* app/commands.c (file_new_callback): Changed Untitled to Diagram
for default name.
2003-01-21 Lars Clausen <lrclause@cs.uiuc.edu>
* app/preferences.c (prefs_create_dialog):
* app/linewidth_area.c (linewidth_create_dialog):
* app/lineprops_area.c (dia_arrow_chooser_dialog_show):
* app/layer_dialog.c (create_layer_dialog)
(layer_dialog_edit_layer): Correct handling of destroy signal.
* app/diapsft2renderer.c (set_font): Adjust silly random factor
for change in font.c
* lib/widgets.c: Avoid warning when font menu file doesn't exist.
* lib/font.c (dia_font_build_layout): Let's all use the same weird
factor here.
* app/lineprops_area.c (dia_arrow_chooser_dialog_show):
* app/layer_dialog.c (create_layer_dialog)
(layer_dialog_edit_layer):
* app/filedlg.c (file_open_callback, file_save_as_callback)
(file_export_callback):
* app/dia-props.c (create_diagram_properties_dialog):
* app/defaults.c (defaults_dialog_destroyed):
* app/color_area.c (color_area_edit): Dialog destroy event handling.
2003-01-19 Lars Clausen <lrclause@cs.uiuc.edu>
* app/defaults.c (defaults_dialog_destroyed): Reset cache when
defaults dialog destroyed.
2003-01-19 Steffen Macke <sdteffen@web.de>
* objects/makefile.msc: added bondgraph
* plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
to compile pixbuf.dll
* makefile.msc: copying all objects and dlls now
2003-01-19 Hans Breuer <hans@breuer.org>
* app/diagram.[hc] : provide dia_open_diagrams(), make
open_diagrams variable static
* app/dia.def : export it (to be used by PyDia)
* app/app_procs.c app/autosave.c app/diagram_tree_window.c
app/display.c app/dynamic_refresh.c app/layer_dialog.c
app/load_save.c : make use of dia_open_diagrams()
* app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
on win32. It removes the diagram window from the taskbar and
shrinks it's window title to toolbar style (newest gtk2.2 cvs)
* app/menus.c : add '...' to menu entries where a dialog
gets invoked
* app/recent_files.c app/dia_embedd.c : reflect the above in
menus_get_item_from_path() calls
* lib/libdia.def : add dia_image_rgba_data
* lib/properties.h lib/prop_text.[hc] : add new property
type StringList
* objects/UML/class.[hc] object/UML/class_dialog.c : use
StringList for attributes_strings and operations_strings to
make this calculated data accessible via the Property API
* plug-ins/python/diamodule.c : use dia_open_diagrams() and
provide dia.new() to create a new diagram, dia.registered_types()
to get on Dia's type registry, dia.message() for simple dialogs
* plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
to create a new display from a diagram. Let diagram.extents and
diagram.bg_color return the same types as in diagramdata.*
* plug-ins/python/pydia-geometry.c : add a read-only
'sequence interface' to DiaPoint and DiaRectangle
* plug-ins/python/pydia-property.c : allow to get on StringList
from Python
* plug-ins/python/pydia-render.c : fix typo to make it compile
* plug-ins/python/python-startup.py : removed 'import pygtk'
again. This file does not need any gtk UI, and some python
plug-ins don't do either
* plug-ins/python/gtkcons.py : ported to GTK2 interface, now
it should actually work as intended again
* plug-ins/python/group_props.py : (new file) a prototype for
one the most requested features: Change properties of selected
objects in one step. Requires pygtk.
* plug-ins/python/select_by.py : (new file) select objects by
common properties. Requires pygtk.
[Start of 'PyDia Self Documentation Series']
* plug-ins/python/pydiadoc.py : (new file) generates a new
diagram which contains all objects of dir(dia)
* plug-ins/python/otypes.py : (new file) generates a new diagram
which contains all the currently registered object types sorted
by their containing package
2003-01-18 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Added check for Pango >= 1.1.5, which appears to
be enough to have text work.
(INTLOBJS): Added dummy subst cause gettext doesn't always seem to
do it. AC_SUBST should be idempotent, though.
2003-01-17 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in (HAVE_FREETYPE): Better test for freetype version
using neat macro.
Now actually sets HAVE_IEEEFP_H, needed for Solaris.
* lib/font.c: Renamed global_size_one to global_zoom_factor to
avoid confusion, and added comment. Set scale factor in
dia_font_build_layout to 1.0 for Unix side. This fixes at least
my weird scaling problems. Fonts are now of the expectable size,
i.e. the space between lines at size 1.0 is 1.0. If we want a
compatibility fix, we should scale fonts by about 1/0.75 from 0.90
diagrams, though there will always be differences.
2003-01-15 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/python/python-startup.py:
* plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
* plug-ins/python/python.c (dia_plugin_init): Added warning
message for missing startup file.
* lib/dialibartrenderer.c (draw_image): Alpha rendering! Yay!
* lib/dia_image.c (dia_image_rgb_data):
* app/diapsrenderer.c (draw_image): Fixed rowstride problems
involving EPS. Can't do transparency in EPS yet.
* lib/dia_image.h:
* lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
data as one chunk. Documentation for the RGB data getting funcs.
(dia_image_rgb_data): Added comment.
* lib/dialibartrenderer.c (draw_image): Correct rowstride handling
(bug #103565)
2003-01-13 Steffen Macke <sdteffen@web.de>
* lib/dia_image.c: dia_image_rgb_data() is working for
non-alpha images now. Fixes #93762
* Makefile.am: added makefile.msc to EXTRA_DIST
2003-01-10 Steffen Macke <sdteffen@web.de>
* app/paginate_psprint.c: Closing print dialog when file
could not be written. Fixes #84746
2003-01-04 Steffen Macke <sdteffen@web.de>
* doc/custom-shapes: incomplete description of <svg:text>
2003-01-03 Steffen Macke <sdteffen@web.de>
* makefile.msc(new): new makefile to create file
structure suitable for running dia win32 under
$(TOP)/dia/build/win32
2003-01-02 Steffen Macke <sdteffen@web.de>
* lib/dia_svg.c: including stdlib.h
* lib/makefile.msc: added gdk_pixbuf libs to linker
* app/makefile.msc: added gdk_pixbuf libs, made libart
libs compatible with gnuwin32 package
2003-01-01 Hans Breuer <hans@breuer.org>
* lib/font.c : more comment about global_size_one
* app/menus.c : <control>[<shift>]A for plain gtk build too.
* plug-ins/wmf/wmf.cpp : some type juggling to make
msvc7 happy
2002-12-31 Steffen Macke <sdteffen@web.de>
* app/makefile.msc: added hint on how to enable console output
2002-12-17 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/textobj.c (textobj_load): Get the handle type
right, at least to be the same as when created.
2002-12-12 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
2002-12-08 Hans Breuer <hans@breuer.org>
* app/commands.c : fixed bug #85315 'give diagram properties,
instead of no object selected error' almost a one-liner
* app/splash.c : don't make having the logo pixmap
mandatory. Fixes bug #96068.
* app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
sequence by connecting to the "delete_event"
* app/objects/uml/class_dialog.c : handle "destroy" for
the same reason.
* lib/libdia.def : remove diaXmlNewChild again
* app/paginate_gdiprint.cpp : reflect Dia's page setting
portrait/landscape in the windoze print dialog
* objects/makefile.msc : only UML needs to link against
$(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
2002-12-08 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/ellipse.c (ellipse_distance_from):
* lib/geometry.c (distance_ellipse_point): Ellipse now uses the
correct distance function. Could be faster, but it's not really
essential.
2002-12-07 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c: Changed global_size_one to more correct 28.35.
Looks better, too.
* app/load_save.c:
* lib/dia_xml.h:
* lib/dia_xml.c: Removed pretty print hack, the libxml thing works
after all.
2002-12-07 Hans Breuer <hans@breuer.org>
* lib/widgets.c : g_file_get_contents() silently assumes
a binary file. Reflect when creating the font_menu file
to get rid of junk in font menus
2002-12-06 Hans Breuer <hans@breuer.org>
* app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
removed 0xD 0xD 0xA line ends which get created by
cvs if windoze line ends 0xD 0xA are checked in from
*nix and checked out on win32.
* app/preferences.c : changed toolbox_on_top default to
false. It is currently not possible to change the behaviour
at runtime, at least not on win32.
* lib/dialibartrenderer.c : bug #94791 'rendering to
bitmap without PangoFt2' got delayed to milestone future
so wrap libart text rendering into PANGO_WIN32_FUTURE.
It is not available without my Pango patch in bugzilla.
* lib/font.c : added comment to global_size_one and adapt
the arbitrary size scaling in dia_font_build_layout() for
win32, too. This is needed to get an acceptable font size
approximation for Dia 0.90 and earlier files.
Also #include "message.h".
* app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
reflect movement of group.[hc]
* lib/group.h : export group_type which gets used by app/*
* lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
to get the GtkTypeInfo definition
* plug-ins/makefile.msc : dxf and xfig don't need to link
against app/ anymore now that group is moved to lib/
* plug-ins/python/pydia-render.c : remove massive leaking
of self, i.e. PyDiaRenderer
* plug-ins/python/makefile.msc : remove linking against
GTK libs
2002-12-06 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/line.c: Removed properties options for gaps,
until release is done.
* configure.in: Check for freetype version.
* lib/text.c (text_insert_char): Fixed small buffer overflow for
length = 0.
* lib/dialibartrenderer.c (draw_string): Removed debugging printf.
* app/diapsft2renderer.h:
* app/diapsft2renderer.c:
* app/diapsrenderer.h:
* app/diapsrenderer.c: Split ps rendering into standard and freetype.
* app/render_eps.c (export_eps, new_psprint_renderer): Using
PS_FT2 renderer when available. Old render stuff killed. Yay!
* lib/properties.h: Fixed bad frame end def.
* app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
* lib/dia_xml.c (data_add_string): Avoid #-less strings.
* objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
2002-12-05 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c: Now checking for the proper dia-style standard fonts.
* lib/Makefile.am:
* app/Makefile.am: Moving group.[ch]
* plug-ins/dxf/dxf-import.c:
* plug-ins/xfig/xfig-import.c:
* plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
* app/object_ops.c:
* app/object_ops.h:
* lib/object.c (object_list_move_delta, object_copy_list):
* lib/object.h: Moved some object-related functions from
object_ops to object to assist moving group.c.
* lib/diatypes.h: Added Group typedef.
* lib/group.h:
* lib/group.c: Moved from app to lib to a) resolve plug-ins
references, and b) make groups more "real" objects.
* lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
2002-12-03 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c (dia_font_init): Added check that the three standard
fonts exist.
2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dia_xml.[ch]:
* app/load_save.c: Linebreaks in dia files, no indentation.
Should help text tools. xmlNewChild wrapped in diaXmlNewChild for
this.
* objects/standard/line.c: Small but important fixes to the line
gap code.
* lib/dia_xml.h:
* lib/dia_xml.c (diaXmlNewChild):
* app/load_save.c (diagram_data_write_doc, write_objects): Simple
XML prettyprinting wrapper.
2002-12-03 Steffen Macke <sdteffen@web.de>
* shapes/Cisco/Makefile.am:
* shapes/Cisco/*.shape: finished conversion of Cisco icons
to *.png
2002-12-02 Steffen Macke <sdteffen@web.de>
* doc/en/Makefile.am:
* doc/en/usage-objects.sgml:
* doc/en/graphics/line_icon.png: (new) added line icon
2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/line.c: Binary search object edge line gap.
2002-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Added Cisco makefile, sorted Makefiles list.
* shapes/Makefile.am (SUBDIRS): Added Cisco dir
* configure.in: Now checks for availability of PangoFT2 and
FreeType, raising an error if not found.
* app/Makefile.am (dia_core_files): Adding diapsft2renderer from
Hans.
2002-12-01 Steffen Macke <sdteffen@web.de>
* doc/en/usage-loadsave.sgml: updated information on import
and export formats
2002-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
* app/commands.c (edit_copy_callback): Freeing copy_list.
2002-11-28 Steffen Macke <sdteffen@web.de>
* app/render_libart.c: art_config.h was included twice
2002-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
* sheets/.cvsignore: More ignorance.
* lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
* lib/prop_widgets.h: Two (currently unused) settings for frame
foldability.
* lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
(by default) foldable.
* lib/propinternals.h:
* lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
widgets in a more controlled manner.
* objects/standard/line.c (line_update_data): Line gap things
inserted. Can do xeyes now:)
2002-11-26 Christian Neumair <chris@gnome-de.org>
* .cvsignore: Changed.
* objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
Added.
2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
* app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
* lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
passing to font hash.
* app/filedlg.c (file_save_as_ok_callback): Check that filename is
utf-8 or locale-convertible before adding to dialog text. This
probably needs done in a number of places where we get text from
the environment and send it to GTK to display.
* lib/widgets.c: Fixed case problems for font menu entries.
* objects/SADT/annotation.c: Don't run the event test (but leave
it here for inspiration).
* lib/widgets.c:
* lib/widgets.h: Allowing setting preview text for fonts.
2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/bondgraph/Makefile.am:
* objects/bondgraph/bondgraph.c:
* configure.in:
* objects/Makefile.am: Added bond graph dir.
2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/text.c (text_calc_boundingbox, text_draw): Better cursor
positioning.
* app/diapsrenderer.c: Freetype rendering is back in force.
* app/disp_callbacks.c: Added missing updates for pre-text-change.
2002-11-25 David Hoover <jazzdaq@yahoo.com>
* app/render_libart.c: Added missing #include line for libart.
* lib/geometry.h:
* lib/geometry.c: Added point_convex function. This computes
points inside a line segment (0 <= alpha <= 1) or outside the
line segment (alpha < 0 | alpha > 1).
* objects/standard/line.c: Line now has additional code/attributes
which permit the line to extend past the line anchors (gap < 0) or
leave a gap without reaching the anchor (gap > 0). If no gap is
specified, the default gap of 0 will result in identical line
behavior as before. If the 'fractional' attributes are TRUE, the
gap length is not fixed, but a percentage of the line length. I
did not know how create the GTK widgets so the gap code currently
cannot be used without adding XML attributes by hand.
2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagdkrenderer.c (draw_string): Removed timing bits.
* lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
2002-11-24 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c: Debugging functionality in separate functions.
* lib/widgets.c: Using fontsel with context.
* lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
* objects/custom/custom_object.c: Orientation handling for shapes,
patch thanks to Martin Hans <opfinder@gmx.net>.
* objects/standard/zigzagline.c (zigzagline_move_handle): Starting
work on even better orientation handling.
* app/menus.c (menus_get_item_from_path): Fixed sily warnings from
casting NULL pointers. Should be unnecessary in an upcoming GTK
release.
2002-11-18 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.h:
* lib/font.c:
* lib/widgets.c: Now uses correct context to get font families.
* lib/diagdkrenderer.c (get_text_width, draw_string):
* lib/dialibartrenderer.c (draw_string):
* lib/font.h:
* lib/font.c (dia_font_init): Removed old kludgy font name compare.
(dia_font_build_layout): Unified the twiddle factors into a use of
global_size_one. But I deeply distrust Pango for seeming to
change size of fonts every time I turn my back.
* app/display.c:
* app/diagram.c:
* app/menus.c:
* app/menus.h: Updated some more methods to also be more specific
on the types.
* app/menus.h:
* app/recent_files.c:
Changed to return most specific type, to avoid run-time type errors.
* app/menus.c (menus_get_item_from_path): Non-gnome version now
gets menu_item rather than widget, which works better.
2002-11-17 Cyrille Chépélov <cyrille@chepelov.org>
* app/display.c: (new_display):
* app/menus.c: (menus_get_item_from_path):
Relying on the tearoff to locate the input methods menu wasn't a
good idea: tearoffs seem to be an endangered species nowadays.
Anyway, the IM menu seems to be working now.
* app/interface.c: hinted the window manager that the toolbox window
is a toolbox window. Not that my (fairly default configuration)
sawfish cares, but other NETWM compliant WMs may.
* app/commands.c:
* app/defaults.c:
* app/dia-props.c:
* app/filedlg.c:
* app/interface.c:
* app/layer_dialog.c:
* app/linewidth_area.c:
* app/properties.c:
* app/sheets_dialog.c:
* app/splash.c:
The GTK doc says to avoir gtk_window_set_wmclass() and
gtk_window_set_policy(), and use gtk_window_set_role() and
gtk_window_set_resizable(), respectively.
* app/preferences.c: (prefs_create_dialog):
* app/preferences.h:
* app/display.c: (display_set_active):
Added a preference to have the toolbox hover over diagram windows.
2002-11-12 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagdkrenderer.c (get_text_width, draw_string):
Freetype-based string drawing now works. Not very fast, though.
I wish I could use the graphics card for this:( I'm doing three
bitmap loops where I should be doing one. The size is not correct
either, despite having get_text_width give the right thing.
2002-10-21 Lars Clausen <lrclause@cs.uiuc.edu>
* app/connectionpoint_ops.c (diagram_update_connections_object):
Allows more than one connectionpoint on an object to be moved at a
time (bug #96306).
2002-10-18 Stanislav Brabec <sbrabec@suse.cz>
* configure.in: Added cs to ALL_LINGUAS.
2002-10-17 Lars Clausen <lrclause@cs.uiuc.edu>
* app/paginate_psprint.c: Removed unnecessary decl of autosave
stuff.
* app/display.c (ddisplay_set_renderer): Calls to begin/end render.
* app/export_png.c (export_png_ok): Saving more variables from the
evil setjmp.
2002-10-16 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dialibartrenderer.c (begin_render):
(end_render): Correct pushing and popping of font contexts.
(draw_string): Double zooming eliminated, strange twiddle factor
introduced (grumble). Close to working now, but there are still
strange differences from font to font. In particular, some fonts
really mess with the cursor and extents.
* app/render_eps.c (export_eps):
* app/diapsrenderer.c (dia_ps_renderer_finalize):
Fixed file closing confusion, no longer dependent on PS/EPS.
* app/diagram.c (diagram_place_down_selected)
(diagram_place_up_selected): Now implemented.
* lib/font.c (dia_font_init):
* lib/font.h:
Redesigned the font init/context pushing code. Start of fix for
font name differences.
2002-10-15 Kjartan Maraas <kmaraas@gnome.org>
* app/sheets_dialog_callbacks.c: Fix a typo.
2002-10-15 Hans Breuer <hans@breuer.org>
* app/diapsrenderer.[hc] : (new files, old content :-)
simple base class for post script rendering. Does neither
use Pango/FT2 nor does it handle non latin1 characters.
The fancy stuff which nowadays appears to be needed should
probably be done in derived class(es)
* app/makefile.msc app/Makefile.am : added new files
* app/paginate_psrint.c : re-enabled and used as test
for the simple ps renderer above.
* app/render_eps.[hc] : ripped out common ps code and
moved to DiaPsRenderer. The rest of the file is mostly
disabled. And I don't understand enough of it to
change port it.
* app/diaepsrenderer.h : short lived, removed.
2002-10-15 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
as a plugin (thanks to Torben Nielsen).
2002-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diaepsrenderer.h:
* app/render_eps.h:
* app/paginate_psprint.c:
#ifdef'd out enough ps stuff to allow compile. Now we just need
to convert it.
2002-10-12 Hans Breuer <hans@breuer.org>
[last plug-in ported]
* plug-ins/xfig/xfig-export.c : ported to new renderer api
* plug-ins/xfig/xfig-import.c(fig_create_object) : need to
scale color values to [0..1.0] to properly reconstruct
user colors
* plug-ins/xfig/xfig-common.c : some cleaning
2002-10-12 Hans Breuer <hans@breuer.org>
[decrease inter-plug-in-dependencies]
* objects/custom/shape_info.[hc] : move parse_style()
to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
the related structs and constants.
* objects/custom/custom_object.c : reflect namespace
changes
* lib/dia_svg.[hc] : new files
* lib/makefile.msc lib/Makefile.am : add new files
* lib/libdia.def : updated externals
* plug-ins/svg/svg-import.c : use dia_svg_parse_style()
* plug-ins/svg/svg.c : enable svg import for win32 (and
probably for other non ELF builds)
* plug-ins/makefile.msc : enable svg import
2002-10-11 Hans Breuer <hans@breuer.org>
* plug-ins/metapost/render_metapost.[hc] : ported
* plug-ins/pstricks/render_pstricks.[hc] : dito
2002-10-11 Hans Breuer <hans@breuer.org>
* plug-ins/cgm/cgm.c : ported, appears to work as before,
but graphic apps available to me can't import the generated
files (the could not with Dia-0.90 cgm as well) ...
* plug-ins/dxf/dxf-export.c : Ported to new renderer api.
Removed all those function which did emulate 'complex'
drawing ops with basic ones (e.g. rect by line) cause this
stuff is already provided by the base class
* plug-ins/dxf/dxf-import.c : removed render.h include
* plug-ins/python/pydia-font.[hc]
plug-ins/python/pydia-text.c : finally ported to new font api
* plug-ins/python/pydia-layer.c : add extra parameter
to layer_find_closest_connectionpoint()
* plug-ins/python/pydia-render.c : ported to DiaRenderer api
* plug-ins/python/python.c : added missing copyright notice
* plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp :
actually use the renderers set_font implementation
* plug-ins/renderer.inc : unused now, removed
* plug-ins/Makefile.am : reflect it
2002-10-08 Hans Breuer <hans@breuer.org>
* app/render_gdk.c : don't add the InteractiveRenderer
interface multiple times (it's added to the type, not
the object)
* app/render_libart.c : dito. It's currently added
unconditional cause eport_png uses it, but claims
to be non-interactive. Probably set_size should be moved
to the DiaRenderer interface.
* lib/dialibartrenderer.c : add implementations for
get_<width|height>_pixels. Libart rendering works again.
DiaLibartRenderer::draw_image : use dia_image_rowstride()
instead of width*3
* lib/diatransform.c(dia_transform_coords_double) :
don't ROUND() the returned values
* plug-ins/pixbuf/pixbuf.c : added import function. It
simply creates a wrapping "Standard - Image" object.
* plug-ins/shape/shape-export.c : use the more direct
method to call base class methods
2002-10-07 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c (dia_font_init): Changed dia_font_init to return old
pango context, to allow stacked contexts (for printing while
antialiased).
* lib/arrows.h
* lib/bezier_conn.h
* lib/beziershape.h
* lib/boundingbox.h
* lib/color.h
* lib/connection.h
* lib/connectionpoint.h
* lib/create.h
* lib/dia_image.h
* lib/diagdkrenderer.h
* lib/diagramdata.h
* lib/dialibartrenderer.h
* lib/diamenu.h
* lib/diarenderer.h
* lib/diasvgrenderer.h
* lib/diatransform.h
* lib/element.h
* lib/filter.h
* lib/focus.h
* lib/font.h
* lib/geometry.h
* lib/handle.h
* lib/neworth_conn.h
* lib/objchange.h
* lib/object.h
* lib/orth_conn.h
* lib/paper.h
* lib/plug-ins.h
* lib/poly_conn.h
* lib/polyshape.h
* lib/properties.h
* lib/ps-utf8.h
* lib/sheet.h
* lib/text.h
* lib/textattr.h
* lib/widgets.h
* lib/diatypes.h
Moved all externally visible struct typedefs into diatypes.h, as
per Hans' suggestions.
2002-10-07 Steffen Macke <sdteffen@web.de>
* lib/Makefile.am: removed a '\' causing problems
2002-10-07 Hans Breuer <hans@breuer.org>
[Libart Renderer resurrected; almost it's compiling but
almost instantly crashing :-]
* lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
* app/render_libart.[hc] : ported to DiaInteractiveRenderer
* lib/diatransform.[hc] : added dia_transform_coords_double()
* app/display.c : the right parameters for new_renderer_libart()
* app/export_png.c : ported, removed the blind Display hack
* app/makefile.msc lib/makefile.msc
lib/Makefile.am : updated
* lib/dia<|gdk|interactive>renderer.c : properly copyrighted
2002-10-06 Hans Breuer <hans@breuer.org>
* plug-ins/pixbuf/pixbuf.c : (new file)
there is a new export plug-in called 'Pixbuf' which uses
DiaGdkRenderer to export to gdk-pixbuf supported bitmap
formats (currently only PNG and JPEG).
2002-10-06 Hans Breuer <hans@breuer.org>
See also:
http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
* lib/dia-enums.h lib/diatransform.[hc]
lib/diarenderer.[hc] lib/diainteractiverenderer.c
lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
: new files
* lib/makefile.msc lib/makefile.am : added new files
* lib/plug-ins.c : g_module_error() returns a locale
string, convert to utf8 before further usage
* lib/render.h : #error out. Everything including this
needs porting
* lib/*.[hc] : ported to new renderer api
* app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
just to make the rest compile
* app/render_eps.c : temporary disabled all of this
* app/render_eps.h : removed RendererEPS
* app/render_gdk.[hc] : a small wrapper around the new
DiaGdkRenderer form lib/*
* app/render_libart.h : removed RenderLibart definition
* app/render_libart.c : not yet ported to new DiaRenderer
but having an implementation to untie form FT2 dependency
at least on win32. It is using new Pango api form bug #94791
* app/render_pixmap.[hc] : a small wrapper around the new
DiaGdkRenderer form lib/*
* app/display.h : removed render_*.h includes
* app/display.c : the only place where specific
renderers need to be known
* app/connectionpoint_ops.c app/grid.c app/handle_ops.c
use new DiaInteractiveRenderer interface
* app/*.c : ported to new renderer api
* object/*/*.c : ported to new renderer api
s/render.h/diarenderer.h/
s/Renderer/DiaRenderer/
s/renderer->ops/renderer_ops/
add in every draw method:
DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
* plug-ins/hpgl/hpgl.c :
plug-ins/wmf/wmf.cpp
plug-ins/wpg/wpg.c : ported to be DiaRenderer based
* plug-ins/shape/shape-export.c
plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
(nice how small these files became :-)
2002-09-28 Hans Breuer <hans@breuer.org>
* */makefile.msc : updated
* app/defaults.c : don't gdk_invalidate_rect(NULL)
* app/disp_callbacks.c :
can't cast GtkWindow to GdkWindow, use shell->window
(ddisplay_unrealize) don't use already unrefed im_context
* app/display.c :
can't cast from GtkMenu to GtkMenuItem
(ddisp_destroy) : mark im_context as unrefed
* lib/dia_xml (data_font) : prefer new font format over old one
(data_add_font) : write the legacy name to allow file exchange
with pre Pango versions of Dia, which would otherwise crash
on missing font 'name' attribute.
* lib/font.c (dia_font_get_legacy_name) : improved implementation
to get a better match.
* lib/libdia.def : updated
* lib/messages.c : don't gdk_widget_show(NULL)
* lib/prop_text.c : don't gtk_entry_set_text() with NULL string
[make Dia compile, link _and_ work with mingw/gcc3.2]
* config.h.win32 : #define LIBXML, this gets defined from libxml
header but only for _MSC_VER. The mingw build did access an
unitialized function pointer for xmlFree.
* */makefile.mingw : updated (some plug-ins have build issues)
* lib/handle.h lib/object.h : there appears to be no
forward declaration of the form
typedef enum _HandleId HandleId
(at least not with GCC 3.2 for C++) ../lib/handle.h:22:
use of enum `_HandleId' without previous declaration
* app/paginate_gdiprint.cpp : added a hack to avoid g++
naming conflict on 'export'
* app/paginate_gdiprint.h : forward declare Diagram
* objects/SADT/annotaion.c : use g_random_double()
2002-09-26 Lars Clausen <lrclause@cs.uiuc.edu>
* app/modify_tool.c: Made motion not happen until sufficiently
large or past double-click interval, to avoid accidental moving
when doubleclicking. Got the double-click time right, and fixed
some issues with release. There are some corner cases that may
exhibit strange behaviour, will look at those later. Nah, let's
not care about those, they are rare and not dangerous.
2002-09-26 Cyrille Chépélov <cyrille@chepelov.org>
* app/layer_dialog.c:
* app/load_save.c:
* plug-ins/dxf/dxf-import.c:
* plug-ins/python/pydia-diagram.c:
* lib/diagramdata.c:
* lib/diagramdata.h:
Improved the consistency of the obj->parent_layer backlinks (esp.
during reloads)
* lib/Makefile.am:
* lib/dummy_dep.h:
* lib/dynamic_obj.[ch] (NEW):
* app/Makefile.am:
* app/app_procs.c:
* app/dynamic_refresh.[ch] (NEW):
* objects/Misc/analog_clock.c:
Added support for dynamic refresh (animated objects).
2002-09-25 Cyrille Chépélov <cyrille@chepelov.org>
Patch from Owen Taylor <otaylor@redhat.com>:
* doc/en/Makefile.am:
* doc/en/dia-manual.sgml:
* doc/en/usage-objects.sgml:
* doc/en/usage-quickstart.sgml:
* doc/pl/Makefile.am:
* doc/pl/dia-manual.sgml:
* doc/pl/usage-objects.sgml:
* doc/pl/usage-quickstart.sgml:
- Change the DTD declration from an outdated GNOME one to a
standard DTD.
- Remove close tags for <graphics> which aren't allowed for
docbook SGML
- A hacky fix for a problem where some versions of db2html don't
create *.css files. (If *.css doesn't match anything, then you get
the global explicitely.)
(Closes: #92061)
2002-09-24 Cyrille Chépélov <cyrille@chepelov.org>
* objects/custom/custom_object.c:
* objects/custom/shape_info.[ch]: GE_TEXT display lists elements
were never properly prepared for use when reloading a shape with
<svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
reporting the problem and coming up with a fix! (Closes: #93974)
* app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
* app/menus.c:
* app/display.c: updated menu item paths Alan's patch had moved.
* app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
load the sheet-provided icon (libpng versions mismatch, grrr.).
* configure.in:
* objects/Makefile.am:
* objects/Misc/Makefile.am (NEW):
* objects/Misc/libmisc.c (NEW):
* objects/Misc/analog_clock.c (NEW):
* objects/Misc/pixmaps/analog_clock.xpm (NEW):
* sheets/Misc.sheet.in: just a little experiment...
2002-09-23 Cyrille Chepelov <cyrille@chepelov.org>
* plug-ins/xlst/Makefile.am: found a way to silence automake while
not forcing everyone to build using libxslt.
* lib/font.c:
* lib/message.c:
* lib/object_defaults.c:
* lib/intl.[ch]:
* lib/render.c:
* lib/properties.[ch]:
* lib/propobject.c:
* objects/standard/box.c:
* objects/UML/state_term.c:
* objects/FS/box.c:
* objects/FS/flow-ortho.c:
* app/app_procs.c:
* app/autosave.c:
* app/commands.c:
* app/diagram_tree.c:
* app/display.c:
* app/disp_callbacks.c:
* app/export_png.c:
* app/filedlg.c:
* app/lineprops_area.c:
* app/menus.c:
* app/preferences.c:
* app/render_eps.c:
* app/sheets.c:
* app/sheets_dialog_callbacks.c:
* plug-ins/xslt/xslt.c:
* plug-ins/metapost/render_metapost.c:
* plug-ins/xfig/xfig-export.c:
* plug-ins/shape/shape-export.c:
Killed most gcc-3.2 warnings (const-correctness and derived warnings,
unused variables, mostly)
* app/display.c:
* app/menus.c: enabled GTK Input Methods (thanks Lars!)
* app/Makefile.am: modified run_dia.sh so that we recover the
ability to run a debugger despite libtool's hacks.
* plug-ins/dxf/Makefile.am:
* app/Makefile.am
"make distcheck" fixes.
2002-09-19 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
<mfranzoni@madd.it>: Check for the type being NULL.
2002-09-16 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c (set_font): Re-tweaked font size for printing.
2002-09-12 Cyrille Chepelov <cyrille@chepelov.org>
Patch from Angus Ainslie <angusa@deltatee.com>:
* plug-ins/dxf/dxf-import.c:
* plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
(plus a couple extra fixes by me, such as the removal of printf's,
adapting for recent changes, and killed a couple warnings)
* app/authors.h: a 60K patch isn't insignificant, is it?
2002-09-09 Tor Lillqvist <tml@iki.fi>
* configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
as before) and -lfreetype (using AC_CHECK_LIB). At least on
Solaris with Sun's compiler (Forte C), you need to link also the
dia application with -lfreetype, even if it is implicitly linked
to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
which is what they actually mean. Use FREETYPE_LIBS for
-lfreetype.
Don't look for libsunmath if isinf() is not found in math.h (as on
Solaris). The sunmath library is part of Forte C and not present
on all machines. Besides, even if isinf was found in libsunmath,
we didn't use it in the Makefile.am.
Fix a couple of bashisms.
AC_SUBST also Z_LIBS, need to link the dia application to -lz,
too, on Solaris with Forte C.
Don't try to use the gcc flags with other compilers.
DIA_CHECK_CFLAG gives a false indication that Forte C understands
the gcc -f switches, but in fact they get interpreted meaning
something completely different.
Define the automake conditional HAVE_CGC.
* app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
Use -export-dynamic only with gcc.
* */Makefile.am
* */*/Makefile.am: Modify according to the FREETYPE_CFLAGS ->
PANGOFT2_CFLAGS rename.
* lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
* lib/dia_xml.c: Include geometry.h for the isinf() stuff on
Solaris.
* lib/paper.c: Workaround for gccism: Can't use inline this way with
Forte C, either.
2002-09-08 Cyrille Chepelov <cyrille@chepelov.org>
* lib/text.c(set_string): fixed a memory leak (char* ain't no
std::auto_ptr<char> !).
* app/display.[ch]:
* app/interface.[ch]:
* app/ddisp_callbacks.[ch]: Added some basic support for input
methods (GtkIMContext-based)
* lib/Makefile.am:
* app/Makefile.am: made libdia a shared object (per Tor
Lillqvist's suggestion/request), to cope for platforms with a less
than par dynamic library loader.
* app/display.c: disabled the input method menu (I really don't
see where and how to put them. Blame Frozen Bubble )
2002-09-06 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/flowchart/box.c (box_update_data): Made resizing
possible again (only set width & height when resized too small).
Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
* app/disp_callbacks.c (ddisplay_canvas_events): Handle
GdkScrollEvents.
2002-09-05 Cyrille Chepelov <cyrille@chepelov.org>
* app/authors.h: now showing Akira TAGOH's name in the native script.
2002-09-01 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xslt/xslt.c: Removed glib warning for unset
DIA_PLUGIN_PATH.
2002-09-01 Cyrille Chepelov <cyrille@chepelov.org>
* plug-ins/svg/render_svg.c: Applied (reversed...) patch from
Mike Sowka <msowka@rogers.com>. This fixes a problem with the
sweep flag in arcs.
2002-08-31 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/class.c: Fixed showing of empty stereotypes and got
the string placed correctly.
2002-08-30 Hans Breuer <hans@breuer.org>
* lib/font.c (dia_font_get_style) : don't shift already
shifted DIA_FONT values.
* lib/libdia.def : updated externals
* app/disp_callbacks.c : on win32 GdkEventKey::string already
is in UTF-8. (Longterm this probably should be handled on the
gtk api level)
* app/command.[hc] app/display.[hc] app/menus.c : add code to
switch display renderers again. The libart renderer is very
useful for win9x with it's limited GDI.
* app/render_gdk.c : use g_warning instead of printf which gets
nowhere on win32 (non console apps)
* app/render_libart.c : make it compile without FREETYPE
* objects/makefile.msc plug-ins/makefile.msc : added clean target
2002-08-29 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c (postscript_draw_contour): Debugging statement
that allowed me to figure out font problems.
* lib/widgets.c (dia_font_selector_set_styles): Use radio menu
items for font styles.
* objects/FS/flow-poly.c:
* objects/FS/flow-ortho.c:
* objects/FS/flow.c: Further conversion away from GTK dialogs.
Can't set a default label right now:(
* app/interface.c (fill_sheet_wbox): Added initialization for mask.
2002-08-27 Cyrille Chepelov <cyrille@chepelov.org>
Patch from Andrew Ferrier <andrew@new-destiny.co.uk>:
* Makefile.am: rules relating to AUTHORS and THANKS
altered.
* AUTHORS: file content changed to more accurately
reflect guideline requirements.
* TODO: warning added about Gnome BTS.
* KNOWN_BUGS: warning added about Gnome BTS.
---
* AUTHORS: added full copyright info.
* mkauthors-placeholder: (removed)
2002-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
* app/paginate_psprint.c (print_page): Fixed text printing after
tip from Dov Grobgeld.
2002-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
* app/paginate_psprint.c (print_page): Fixed color of clip
region.
2002-08-26 Cyrille Chepelov <cyrille@chepelov.org>
* sheets/Makefile.am: enabled intltool-merge translation cache for
sheets.
* Makefile.am:
* mkauthors-placeholder:
* AUTHORS: revived that file (in a placeholder form) so that
automake stops yelling.
(derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>)
(Closes: #91144)
Heh, by the way, thanks Christophe. I feel better now.
2002-08-25 Christophe Merlet <christophe@merlet.net>
* app/command.c: Removed invalid multibyte sequence in Chepelov.
2002-08-24 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/dia_image.c (dia_image_rgb_data):
Bugfixes in image data retrieval.
* app/render_eps.c: Refactoring of new_*_renderer.
2002-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c:
* lib/dia_image.h:
* lib/dia_image.c: Support for rowstride != width (odd width images)
2002-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/paper.c (get_paper_info): Fixed NULL prefs problem.
* plug-ins/xfig/xfig-import.c: Removed assertion.
2002-08-18 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/paper.c: Removed app/preferences.h reference.
2002-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/svg/svg-import.c:
* plug-ins/xfig/xfig-import.c:
* lib/Makefile.am (libdia_a_SOURCES):
* objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
* lib/create.h:
* objects/standard/create.h:
* objects/standard/polygon.c (polygon_create):
* objects/standard/polyline.c (polyline_create):
* objects/standard/beziergon.c (beziergon_create):
* objects/standard/bezier.c (bezierline_create):
Moving create.h into lib.
2002-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_libart.[ch]: Work on PNG font export. Something's
still fishy with the scaling, I don't get it.
* app/display.c:
* app/interface.c: Replaced broken zoom combo with entry+menu.
Now works beautifully. Removed WITHOUT_ZOOM_COMBO stuff.
* app/render_gdk.c (get_text_width): Checks for validity of text.
Temporary help while debugging input -- should only activate on
invalid input.
* objects/SADT/annotation.c:
* objects/GRAFCET/transition.c:
* objects/FS/function.c: Removal of gtk.h include.
* objects/UML/state.c (state_load): Warnings about using State
object for initial/final states.
* plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
2002-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: Text rendering that scales correctly. Too bad
the standard fonts don't get selected right.
2002-08-09 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/diagramdata.h:
* lib/paper.c (get_paper_info):
* lib/paper.h:
* plug-ins/xfig/xfig-import.c:
Committed before testing. I am so embarrased. This compiles, now
that the includes are in the right order.
* app/diagram.c (diagram_init):
* app/app_procs.c (do_convert):
* app/preferences.h:
* lib/diagramdata.h:
* lib/diagramdata.c (new_diagram_data):
* lib/paper.h:
* lib/paper.c (get_paper_info):
Moved new_diagram part of prefs into lib/diagramdata.h. More
could be done in new_diagram_data() now.
2002-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: Better scaling of fonts at non-normal zoom.
2002-08-07 Cyrille Chepelov <cyrille@chepelov.org>
* configure.in: removed silly user-visible comment
(actually, this is a dummy entry before I manually run nemo; for
some dist-upgrade related reason, this morning's run aborted before
the snapshots were created)
2002-08-06 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/network/wanlink.c:
* objects/network/bus.c:
stdprop compliance!
* objects/custom/custom_object.c:
* objects/network/wanlink.c:
* objects/flowchart/parallelogram.c:
* objects/flowchart/ellipse.c:
* objects/flowchart/diamond.c:
* objects/flowchart/box.c:
Removed GTK defaults stuff.
* objects/UML/fork.c:
* objects/UML/object.c:
* objects/UML/lifeline.c:
* objects/UML/branch.c:
* objects/GRAFCET/transition.c:
* objects/FS/function.c: Removed GTK include.
* objects/FS/flow-ortho.c:
* objects/FS/flow.c: Made the label behave again.
Also removed GTK defaults stuff.
2002-08-06 Hans Breuer <hans@breuer.org>
* app/autosave.c : ported to GDir which is the improved
cross platform replacement for <dirent.h>
* app/makefile.msc : build autosave.obj
* app/font.c : some (bad?) code calls
dia_font_scaled_decent() not only with empty string but
with NULL. Handle it gracefully.
* lib/paper.c : don't depend on ../app. Although IMO
this shouldn't be allowed on any platform it is only
disabled for win32, where it simply doesn't work
this way
* lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
* objects/fs/flow.c : conditionalize debug spew, disabled
and 'ported' to use g_print. Simple printf won't work with
standard win32 gui apps, may even crash them.
* plug-ins/makefile.msc : DISABLED svg-import cause it
depends on ../objects/custom. This not only break the
build for all non ELF systems but IMO also isn't acceptable
from a design point of view. See dia-list mail on subject.
* plug-ins/python/makefile.msc :
plug-ins/python/python.c : remove all references to dirent
2002-08-05 Cyrille Chepelov <cyrille@chepelov.org>
* configure.in: added ro to ALL_LINGUAS
* po-checktrans:
* po-checktrans.py:
* ../translation-graphs/transgraph.py: added support for fuzzy
translations. Enlarged the graphs.
2002-08-05 Lars Clausen <lrclause@cs.uiuc.edu>
* app/disp_callbacks.c (ddisplay_canvas_events): Now translates
key events according to locale. No clue if this works for
advanced stuff.
2002-08-04 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/text.c: Various UTF8 related fixes, in particular in
deleting. Text_insert_char is fine, far as I can tell.
* app/interface.c (create_display_shell):
* app/commands.c: Now uses gtk_clipboard functions, for they are
much simpler. Also handles Win32 clipboard. Non-ascii chars
don't seem to get handled correctly by text_insert_char in
lib/text.c.
* app/commands.c (received_selection_handler): Got utf8 handling
on paste, and individual char handling out of commands.c. Pasting
non-ASCII is still broken, somehow. It's all lib/text.c's fault.
* lib/message.c (gtk_message_internal): Message dialog re-shown
when new message appears. Maybe it should even move to top?
* lib/font.c:
* lib/widgets.c:
* app/render_eps.c (create_eps_renderer): Fonts now lowercase
(again) and case-insensitive.
* objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
BASIC_SANS_FONT.
2002-08-02 Lars Clausen <lrclause@cs.uiuc.edu>
* app/commands.c (edit_cut_text_callback):
* lib/text.c (text_delete_all): Now functioning undo for text cut.
* app/commands.c (edit_cut_text_callback): Now removes text.
Undo is broken, though.
2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diagram.c (diagram_update_menu_sensitivity):
Making cut_text active.
* app/commands.h:
* app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
clipboard. Also removed AA callback.
2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/chronogram/chronoref.c:
* objects/chronogram/chronoline.c:
* objects/SADT/annotation.c:
* objects/SADT/arrow.c:
* objects/SADT/box.c:
* objects/GRAFCET/vergent.c:
* objects/GRAFCET/vector.c:
* objects/GRAFCET/step.c:
* objects/GRAFCET/condition.c:
* objects/GRAFCET/action.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
* objects/ER/entity.c:
* objects/ER/attribute.c:
Removing unnecessary GTK references.
2002-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/image.c:
* objects/standard/textobj.c:
* objects/standard/ellipse.c:
* objects/standard/polygon.c:
* objects/standard/beziergon.c:
* objects/standard/box.c:
Making default default properties.
* objects/standard/image.c:
* objects/standard/arc.c:
* objects/standard/box.c:
* objects/standard/zigzagline.c:
* objects/standard/polyline.c:
* objects/standard/line.c:
* objects/standard/ellipse.c:
* objects/standard/polygon.c:
* objects/standard/beziergon.c: Removing vestigal GTK stuff.
* lib/object_defaults.c (dia_object_default_create):
* lib/proplist.c:
* lib/properties.h:
* lib/object.c (object_copy_using_properties):
* lib/propdialogs.c:
* lib/propinternals.h:
* lib/propobject.c (object_create_props_dialog)
(object_copy_props):
Removing the standard (toolbox) properties from defaults dialogs.
2002-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c (dia_font_scaled_string_width)
(dia_font_scaled_ascent, dia_font_scaled_descent): Account for
zoom factor.
* lib/text.c (text_calc_boundingbox): Take descent into account.
* objects/standard/bezier.c (bezierline_draw):
* lib/render.c (draw_bezier_with_arrows):
Better arrow drawing for beziers. Doesn't change the mouse-click
area either.
* lib/arrows.h: Some const-ness.
* lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
* lib/render.c (draw_arc_with_arrows):
* objects/standard/arc.c (arc_draw): Better arrow drawing for
arcs. Doesn't change the mouse-click area yet.
* app/menus.c: Forgotten fix: Redraw menu item for non-Gnome.
* lib/render.h:
* lib/render.c:
Arc arrow prework.
2002-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
* app/group.c (group_draw): Forgotten commit: Groups to draw as
objects (using default routines).
* app/object_ops.h:
* app/diagram.h:
* lib/diagramdata.h:
* lib/diagramdata.c (layer_find_closest_connectionpoint):
* objects/standard/zigzagline.c (zigzagline_move_handle):
* app/diagram.c (diagram_find_closest_connectionpoint):
* plug-ins/python/pydia-diagram.c
(PyDiaDiagram_FindClosestConnectionPoint):
* app/object_ops.c (object_connect_display)
(object_find_connectpoint_display)
* app/create_object.c (create_object_button_press)
(create_object_motion):
* app/modify_tool.c (modify_motion):
Adding object param to allow connectionpoint and handle coinciding.
* objects/standard/zigzagline.c (zigzagline_check_orientation):
Fixing minor problems.
* objects/standard/ellipse.c (ellipse_update_data):
Added direction hints.
* lib/diagramdata.c:
* lib/object.c:
* lib/object.h:
* lib/diagramdata.h:
* objects/standard/zigzagline.c:
First working example of zigzagline hints, currently only between
Box and Zigzagline.
2002-07-27 Steffen Macke <sdteffen@web.de>
* plug-ins/svg/render_svg.c: added support for rounded
rectangles (fixes #69053 if compile with
-DNEW_RENDER_OPS)
* object/custom/shape_info.[c|h]: made parse_style and
parse_path accessible for svg plug-in
* plug-ins/svg/Makefile.am:
* plug-ins/svg/svg.c:
* plug-ins/svg/svg-import.c(new): added SVG import filter
2002-07-27 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/box.c:
* objects/standard/zigzagline.c (zigzagline_move):
More work on zigzagline hints.
2002-07-26 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/connectionpoint.h:
Hints for zigzaglines.
* app/properties.c (properties_show):
* app/defaults.c (defaults_show):
* lib/properties.h:
* lib/propobject.c (object_create_props_dialog):
* lib/object.h:
* objects/FS/flow-poly.c:
* objects/network/wanlink.c:
* objects/network/bus.c:
* objects/UML/class.h:
* objects/UML/class_dialog.c:
* objects/UML/association.c:
Start of removing toolbox props from props dialogs.
* lib/widgets.c:
* lib/arrows.h:
* app/lineprops_area.c (dia_arrow_chooser_new):
* lib/arrows.c: Two new arrows: Concave, filled and blanked.
* app/create_object.c:
* app/modify_tool.c:
* app/cursor.h:
* app/cursor.c:
More cursor change.
2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
* app/preferences.c:
* lib/paper.c:
* app/diapagelayout.c:
New prefs selector kind PREF_CHOICE chooses between a list of
strings. Used for picking default paper.
* app/preferences.c (prefs_data):
* lib/paper.c (get_paper_info): Added prefs setting for
is_portrait.
* lib/render.c (draw_polyline_with_arrows): Handles degenerate
line segments at the ends (bug #86603).
2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
#60324: Now calls update_data after copy.
* app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
Now doesn't steal selection from non-object tools.
2002-07-24 Lars Clausen <lrclause@cs.uiuc.edu>
* app/commands.c (help_manual_callback): Uses BROWSER environment
variable when available.
2002-07-23 Lars Clausen <lrclause@cs.uiuc.edu>
* app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
object from the new sheet when changing.
* app/app_procs.c (app_init): Uses more standard size icon, from
patch #56433. Keeping old icon as dia_gnome_icon_large.png.
2002-07-22 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/implements.c (implements_update_data):
* objects/UML/realizes.c (realizes_update_data):
* objects/UML/dependency.c (dependency_update_data):
Test for null strings before calling on ascent.
* objects/UML/realizes.c (realizes_draw):
* objects/UML/message.c (message_draw):
* objects/UML/generalization.c (generalization_draw):
* objects/UML/dependency.c (dependency_draw)
* objects/UML/constraint.c (constraint_draw):
* objects/GRAFCET/condition.c (condition_draw):
* objects/UML/association.c (association_draw):
* objects/FS/flow-ortho.c (orthflow_draw):
* objects/FS/flow.c (flow_draw): Change to use
draw_foo_with_arrows. Pretty pretty arrows. Yay me!
* lib/render.h:
* lib/arrows.c (calculate_arrow_point):
* lib/arrows.h:
* lib/render.c:
* objects/standard/zigzagline.c:
* objects/standard/polyline.c:
* objects/standard/line.c: Work towards better arrow drawing.
2002-07-21 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/state.c: Starting phase-out of State object as
initial/final state (which never worked right).
* app/app_procs.c (app_init): --version command line option for
non-Gnome.
* configure.in: Slight improvement in GETTEXT_PACKAGE handling.
2002-07-19 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: Removed debugging info.
* lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
Kludge to make ascent and descent work for empty strings. Won't
work when using non-ASCII fonts. Better would be to get a
PangoFont and ask directly.
* configure.in: Simple define of GETTEXT_PACKAGE, and some updates
of the init stuff.
* app/render_gdk.c (get_text_width): Fixed use of wrong string.
Cursor now better.
2002-07-18 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-export.c: First use of draw_object render
function: All shapes are now groups in XFig export.
* lib/diagramdata.c (normal_render):
* lib/render.c:
* lib/render.h:
* app/display.c (ddisplay_obj_render):
New render function for drawing objects, allows renderers to group
or otherwise specially handle objects. We may want to reconsider
calling it in app/display.c, as we 'know' the object draw function
is the default one there.
* lib/Makefile.am: Removed extra \ that broke stuff.
* plug-ins/xfig/xfig-import.c:
Spline import for xfig. Not perfect.
* objects/standard/create.h:
* objects/standard/bezier.c (bezierline_create):
* lib/bezier_conn.c:
* lib/beziershape.c (beziershape_set_points):
* lib/bezier_conn.h:
* lib/beziershape.h:
Support for creating beziers non-interactively.
2002-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-import.c: Support for polygons and
polylines. Special warning handling system removed.
* lib/message.c (gtk_message_internal): Fixed bug involving
closing message window and then getting repeated message.
* Makefile.am:
* autogen.sh:
* configure.in (GETTEXT_PACKAGE):
Update based on bug #88199. Hopefully this doesn't break too much
intl stuff.
* dia.desktop.in (_Comment): Changed after suggestion from
calum.benson@ireland.sun.com (bug 88345)
* app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
<loli@unsa.edu.ar> that makes user/system distinction better.
2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_libart.c: Got the context right, removed crashes.
* app/commands.c:
* app/commands.h:
Redraw menu item.
* app/display.c:
* app/display.h:
* app/interface.c:
* app/menus.c:
Remove libart #defines from most places (still around for png export).
* app/render_libart.h:
* app/render_libart.c:
* configure.in (HAVE_LIBART):
Starting on update of libart stuff for png export (without X).
* app/autosave.h (autosave_check_autosave):
* app/load_save.h:
* app/diagram.h:
* app/Makefile.am (dia_core_files):
* app/load_save.c:
* app/diagram.c (diagram_set_modified):
* app/autosave.c:
* app/app_procs.c (app_init):
Autosave support. No automatic restore yet.
2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c (create_eps_renderer): #ifdef'd a scale
assignment.
2002-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
* app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
2002-07-15 Andrew Ferrier <andrew@new-destiny.co.uk>
* Fix for 'make dist' etc. --- problem caused by
previous AUTHORS patch.
2002-07-14 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
pango_context.
(set_font): NULL check.
2002-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
* app/disp_callbacks.c:
* lib/diamenu.h:
Addition to the object menus allows check menu items.
2002-07-11 Andrew Ferrier <andrew@new-destiny.co.uk>
* HACKING: completely changed to bring up-to-date.
* AUTHORS: file needs REMOVING from CVS as now
dynamically generated.
* app/authors.h: split into subcategories for original
authors, maintainers, etc.
* app/app_procs.c: --credits rewritten to support new
app/authors.h
* app/commands.c: no changes to about box code, comment
added though.
* Makefile.am: added rule for AUTHORS. I'm still
inexperienced with automake, it seems to work, but
for AUTHORS-related bugs, look at this change first.
2002-07-10 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
work. Back to including xslt dir always.
* objects/UML/uml.c:
* objects/UML/class.h:
* objects/UML/class_dialog.c:
* objects/UML/class.c: Patch from
<mattam@netcourrier.com>: Adds comment visibility switch, also
fixes various bugs.
Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
for state/fork/activity stuff.
* objects/UML/state.c: Removed old draw_rounded_rectangle code.
* objects/UML/Makefile.am:
* objects/UML/uml.c:
* sheets/UML.sheet.in: Added new objects activity, fork,
state_term.
* objects/UML/pixmaps/state_term.xpm:
* objects/UML/state_term.c: New, only initial/final states.
* objects/UML/pixmaps/activity.xpm:
* objects/UML/activity.c: New, activity state.
* objects/UML/pixmaps/fork.xpm:
* objects/UML/fork.c: New, fork/join bar.
* objects/UML/pixmaps/state.xpm: state icon.
* doc/diagram.dtd:
* doc/shape.dtd: Patch from "Dolores Alia de Saravia"
<loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
svg:text to shape.
2002-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
detecting XSLT
* app/Makefile.am: Commented out the diaconv parts while it's not
used anyway. To come back later.
* configure.in (HAVE_FREETYPE):
* app/app_procs.c:
* app/render_eps.h:
* app/render_eps.c: Support for printing with freetype, better
encapsulated now. Renders the text nicely, but ignores font
setting. Requires pangoft2 to get the font outline, but non-text
objects can still be rendered without it.
* app/commands.h:
* app/commands.c (objects_place_up_callback)
(objects_place_down_callback):
* app/diagram.h:
* app/diagram.c (diagram_place_down_selected)
(diagram_place_up_selected): Starting support for moving objects
one level up/down.
* app/menus.c: Removed character/numeral shortcuts.
2002-07-06 Hans Breuer <hans@breuer.org>
* makefile.am app/makefile.am lib/makefile.am
objects/makefile.am plug-ins/makefile.am
plug-ins/python/makefile.am :
added required files for win32 build to EXTRA_DIST
* app/paginate_psprint.c app/render_eps.c
app/app_procs.c :
wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
on Pango as currently is on win32 => no PostScript
anymore.
* lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
use '/* noop */;' for empty case labels; replace
debug spew printf with g_print which is guaranteed
to work on win32, too.
* lib/font.c (dia_pfd_set_weight) : set 'intermediate' values
for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed
in the pango_font_description_set_weight() api documentation
Take care for them in dia_font_get_style() too.
* lib/font.[hc] lib/widget.c objects/custom/shape_info.c
plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
rename Obliquity to Slant which appears to be the usual name,
also rename dia_font_get_style_string -> dia_font_get_slant_string
* plug-ins/wmf/wmf.cpp : finally ported to new font api
* lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
* objects/uml/association.c class.c large_package.c message.c
if g_free() is used g_strdup needs to be used.
* objects/custom/shape_info.c
objects/ER/attribute.c entity.c
objects/standard/image.c
app/sheets_dialog_callbacks.c : more strdup cleaning
2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: Non-crashing printing (made the right
context). Font output still fscked up.
2002-07-05 Andrew Ferrier <andrew@new-destiny.co.uk>
* app/authors.h: Added file --- now master
location for contributors data.
* app/app_procs.c: Added --credits option.
* app/commands.c: Modified about box to use
app/authors.h.
2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: First stab at EPS rendering using the contour
code from PAPS. Crashes.
2002-06-30 Lars Clausen <lrclause@cs.uiuc.edu>
* app/recent_files.c (recent_file_history_remove):
Fixed call to g_list_delete_link discarding return value.
* lib/widgets.c (dia_font_selector_set_styles):
* lib/font.h (DiaFontWeight):
* lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
2002-06-30 Cyrille Chepelov <cyrille@chepelov.org>
Contribution from Alan Horkan <horkana@tcd.ie>:
* shapes/Assorted/*
* sheets/Assorted.sheet:
A set of 40 assorted geometric shapes.
* sheets/Assorted.sheet.in:
* sheets/Makefile.am
* shapes/Assorted/Makefile.am:
* shapes/Makefile.am:
* po/POTFILES.in:
* configure.in:
Done the integration job of Alan's shapes. (Translators: have fun!)
* po/dia.pot: refreshed the main potfile.
2002-06-28 Cyrille Chepelov <cyrille@chepelov.org>
Patch from Tim Ellis <Tim.Ellis@gamet.com>:
* objects/UML/class.[ch]:
* objects/UML/class_dialog.c:
changed the number of connection points from a hardcoded value of
8 to a #defined constant
(I changed the constant back from 20 to 8, until we better know
how we'll handle more connection points on the UML class in the
future -- but Tim's patch is a welcome clean-up).
2002-06-26 Cyrille Chepelov <cyrille@chepelov.org>
* shapes/MSE/demultiplexer.xpm:
* shapes/MSE/node_center.xpm:
* shapes/MSE/multiplexer.xpm:
* shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
Horkan <horkana@tcd.ie>
2002-06-25 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/widgets.c: Total rehash of font selector, with font dialog
option, expanding list (not LRU yet), and stuff.
2002-06-25 Cyrille Chépélov <cyrille@chepelov.org>
* lib/font.h:
* lib/font.c:
Added a set of new setter/getters, some of them more specially for
the SVG-ish I/O.
* plug-ins/shape/shape-export.c: (new_shape_renderer),
(destroy_shape_renderer), (set_font), (draw_string):
* plug-ins/svg/render_svg.c: (new_svg_renderer),
(destroy_svg_renderer), (set_font), (draw_string):
Actually exported the font face, style, weight and size (sodipodi
agrees with dia on how a small sample should look like (a sample
0.90 would not even display anyways). Yay !)
Patch from Matthieu Sozeau <mattam@netcourrier.com>:
* plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
(end of ChangeLog-less patch)
* objects/custom/shape_info.c (parse_style): now understands the
font-style and font-weight attributes as well. Does not use
anymore dia_font_new_from_legacy_name().
2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/textobj.c: Now uses stdprops for defaults.
* lib/font.h: Changed order of DiaFontWeight entries. Sorry.
* lib/font.c (dia_font_get_style): Style now linear and conversion
simple.
* lib/widgets.c (dia_font_selector_set_styles): Fixed the style
selector.
2002-06-24 Cyrille Chepelov <cyrille@chepelov.org>
* plug-ins/dxf/dxf-import.c:
using dia_font_new_from_style()
Patch from Matthieu Sozeau <mattam@netcourrier.com>:
* objects/UML/class.[ch]: Added a comment field to class
* objects/UML/uml.[ch]: Added a comment field to attributes,
operations and parameters.
* objects/UML/class_dialog.c: Added code for the new comment
fields.
* plug-ins/xslt/*.xsl: Added some code to handle comments.
* plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
Added a $directory parameter for stylesheets so the output is
in the good place (not in the $PWD).
(end of Patch)
* AUTHORS: added contributors, updated maintainers. Removed the
specific areas of action.
* Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
from a patch by Xing Wang <quixon@gnuchina.org>:
* app/commands.c: help_about_callback now supports
new-style GNOME about box as well as old GTK style.
code also tidied (Closes: #85726)
(end of Patch)
* app/commands.c: fixed the copyright (it's not all FSF), and
maintainers. Synced contributors list with AUTHORS.
2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/message.c: More work on repeating messages, now with
togglable view.
2002-06-24 Hans Breuer <hans@breuer.org>
* lib/widget.c : some more bits in place, at least
it does something useful instead of crashing. Much
better - but not all ok :-)
2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/message.c (gtk_message_internal): First stab at repeating
message dialog.
2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
* objects/FS/*.c:
* objects/GRAFCET/*.c:
* objects/SADT/*.c:
* objects/UML/association.c: (one instance forgotten)
* objects/UML/large_package.c:
* objects/standard/textobj.c:
* lib/attributes.c:
* lib/text.c:
using dia_font_new_from_style()
2002-06-23 Hans Breuer <hans@breuer.org>
* lib/font.c : giving some love to
dia_font_new_from_legacy_name() that is making
import of old files as painless as possible and
provide an almost exact match where possible.
It does not yet fully work because it interfers
with the Style to DiaStyle conversion which comes
next ...
[Changing these files is only allowed with Dia-0.90]
* broken-files/fonts-0.90.dia : including the
common hard-coded fonts from Dia-0.90. It also
has drawn bounding-boxes for win32 as they were calculated
from the former version (they were all too big).
* broken-files/fonts-0.90-full.dia : all hardcoded
fonts including the asian versions. On my machine
this gives _a lot_ complaining about missing fonts
and a finally a broken file display. Anyone having
all these fonts ?
2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
* objects/chronogram/*.c:
* objects/custom/custom_object.c:
* objects/ER/*.c:
using dia_font_new_from_style()
2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/widgets.c (dia_font_selector_set_styles): Improvements to
font selector (stability, insensitivity).
* lib/font.c (dia_font_scaled_build_layout): Removed unworkable
stretching scheme for tweaking, and made scaling scheme faster
(but less precise).
(dia_font_dia_style_to_pango): Oops, % != /.
2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
* patch from Matthieu Sozeau <mattam@netcourrier.com>:
* plug-ins/xslt : Added an XSLT plugin to export dia files using
XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
It includes a small config file to tell it what stylesheets to use.
(end of patch)
* plug-ins/xslt/xsltdialog.c: modified the dialog to be more
GTK2.0/HIG compliant (the labels could be slightly more verbose,
perhaps). Added back a couple forgotten _(). Removed //-style
comments.
2002-06-23 Hans Breuer <hans@breuer.org>
* lib/plug-ins.c
(dia_plugin_get_name) : don't crash plugin_manager
on name being NULL
(dia_plugin_load) : reuse the description field to
store the error string if loading fails.
* lib/font.[hc] : starting to beautify the new
font api: proper namespacing, adding convenience
functions like dia_font_new_from_style(), ...
* objects/uml/*.c : use the new convenience functions.
[Next thing I plan to do is changing the other font
functions to take DiaStyle and make Style and
BASIC_*_FONT vanish. As well as giving some love to
dia_font_new_from_legacy_name().
If anyone want's to help on converting the other
objects to the new api during that, I would highly
appreciate it.]
2002-06-23 Hans Breuer <hans@breuer.org>
* lib/font.c : made it compile and small indent fixes.
Is there a code-has-no-effect-so-needs-not-be-valid
with GCC?
* lib/widgets.c : use g_strcasecmp
2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c:
* lib/font.h:
* lib/widgets.c: Font names sorted, style selector widget
reappeared. Doesn't select the old style yet.
2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
* lib/font.c: one who expects a text's font to be changed shall
actually request the attributes to apply to the whole range of the
said text... D'oh!
* lib/font.c: extents computation was wrong.
* lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
if a last NULL parameter is added...
* lib/font.c: extents computation was completely wrong. This looks
much better this time.
* objects/UML/class.c: fixed the various strings positions.
* lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
macros to get the hardcoded base fonts.
* objects/ER/relationship.c: wasn't converted to DiaFont*
2002-06-22 Hans Breuer <hans@breuer.org>
* lib/widget.c : dont use backend specific functions
to get on the font_families. Including it would mean
including <windows.h> which breaks due to namespace
pollutions ...
* lib/libdia.def : updated externals
* app/makefile.msc : temporary disabled: -DHAVE_LIBART
* lib/font.c : added empty dia_font_init_instance function,
reformatting of dia_fon_unref to allow to set breakpoint,
dia_fon_build_layout() : dont crash on string==NULL
* lib/text.c (text_set_attributes) : don't unref the wrong font
* lib/widgets.c (dia_fon_selector_set_font) : our hashtable
stores lowercased font names, but dia_font_get_family()
returns mixed case
2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/widgets.c:
* app/render_gdk.c: Patch from Hans Breuer.
* app/Makefile.am (dia_core_files): diaconv commented out for now.
2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
* lib/all files touched yesterday: took into account some of Hans
Breuer's remarks in
http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
* objects/chronogram/*:
* objects/custom/*:
* objects/ER/*:
* objects/flowchart/*:
* objects/FS/*:
* objects/GRAFCET/*:
* objects/SADT/*:
* objects/standard/textobj.?:
* objects/UML/*:
converted to the new DiaFonts.
* plug-ins/cgm/*:
* plug-ins/pstricks/*:
* plug-ins/wpg/*:
* plug-ins/dxf/*:
* plug-ins/xfig/*:
Made minimalistic conversions so that they'd at least compile.
* app/render_gdk.c:
* app/render_pixmap.c:
Converted to the new DiaFonts.
* app/app_procs.c
* app/diaconv.c:
* app/render_eps.c:
made the minimal changes so that it would at least build.
*** At this point, the thing builds on my machine, but segfaults
right away. ***
2002-06-21 Cyrille Chepelov <cyrille@chepelov.org>
* configure.in: removed the backend-specific pango pkg_modules
(trivial to add back if needed, when actually needed)
* app/Makefile.am:
* app/*gnomeprint.[ch]: (removed): removed the GNOME-print
renderer. The APIs will have completely changed when we get around
to redo a renderer for it, anyways.
* font.[ch]: rewrote everything from scratch, with a Pango
implementation. Normally, only backend-neutral things should go in
there.
**WARNING**: new rules for managing DiaFont* pointers: these are
reference-counted GObjects. One >must< diafont_ref() and
diafont_unref() as appropriate. I wish I could overload operator=()...
lib/plug-ins.h: bumped up the plug-in API.
lib/attributes.c:
lib/dia_xml.c:
lib/dummy_dep.h
lib/object_defaults:
lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
again tomorrow with GObject.
lib/widgets.c: Adapted to the new DiaFont API and to Pango.
**** The rest of the tree should be updated as well ****
2002-06-21 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_gdk.h:
* app/render_gdk.c:
* app/render_pixmap.c:
* app/render_pixmap.h:
* app/render_libart.h:
* app/render_libart.c:
* lib/font.h:
* lib/font.c: Removed freetype stuff (still around in
lib/widgets.c 'cause we might want the font selector widget).
2002-06-20 Cyrille Chepelov <cyrille@chepelov.org>
* shapes/network/laptop.(xml|shape):
* sheets/network.sheet.in: added Laptop (notebook) PC shape,
contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
2002-06-17 Hans Breuer <hans@breuer.org>
* lib/object_defaults.c : #include <libxml/tree.h> not
<tree.h> pointed out by Xing Wang
2002-06-17 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK):
* lib/widgets.c:
* app/color_area.c: Update to
gtk_color_selection_*_current_color() fixed bad crash issues, plus
updated color conversions.
* sheets/ER/weakentity.xpm: Accepted patch from
quixon@gnuchina.org to make icon match actual appearance.
* app/recent_files.c: Fixed GNOME recent file problem, thanks to
quixon@gnuchina.org.
2002-06-16 Hans Breuer <hans@breuer.org>
* lib/plug-in.[hc] : make PlugInInfo opaque again in the
good tradition of information hiding. Add new function
dia_plugin_get_symbol()
* app/sheets.c app/sheets_dialog_callbacks.c : use it
* app/sheets.c : stop complaining about object_get_type()
returning NULL. This is a consequence of e.g. disabling
plug-ins at runtime _and_ it was and is gracefully handled.
Spitting out g_warning for it isn't appropriate.
* lib/object.[ch] : removed dead code
* app/plugin-mangager.c : almost complete rewrite for gtk2
using GtkListStore/GtkTreeView
* lib/libdia.def : updated externals
* todo.gtk2 : updated, that is removed already done steps
2002-06-15 Hans Breuer <hans@breuer.org>
* objects/uml/class_dialog.c : clean some left-over
utf8-mess, return 0 from "focus_out_event" handlers
to avoid asserting in gtk (#78305). Reconstruct
stereotype/NULL behaviour to avoid rendering empty
stereotypes on classes and member functions
[#56109 - Provide object defaults for StdProp objects,
some remaining issues are discussed in bugzilla]
* lib/object_defaults.c : (new file) manage default properties
of dia objects. The serialization is done with standard
object methods in a diagram compatible format.
* lib/object.c : add object_registry_foreach() which allows
to iterate over all registered object types
* lib/object.h : added prototypes object_default*() and
object_registry_foreach()
* lib/makefile.am lib/makefile.msc : add new file to build
* lib/libdia.def : export new functions
* app/defaults.c : provide StdProp based defaults if the
ObjectType doesn't implement it's own default functions
* app/create_object.c : through dia_object_default_create()
* app/disp_callbacks.c : same here
2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
sensitivity for deleting segments.
2002-06-12 Cyrille Chépélov <cyrille@chepelov.org>
* app/color_area.c: (color_area_events):
* app/diagram.c: (diagram_destroy):
* app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
(fill_sheet_menu):
* app/load_save.c: (diagram_data_load):
* app/menus.c: (menus_get_item_from_path):
* app/preferences.c: (prefs_load):
* app/render_gdk.c: (get_text_width):
* lib/arrows.h:
* lib/color.c: (color_convert):
* lib/dia_dirs.c: (dia_config_filename):
* lib/dia_xml.c: (xmlDiaParseFile), (data_type):
* lib/intl.c: (intl_get_language_list):
* lib/message.c: (message):
* lib/message.h:
* lib/paper.c: (get_default_paper):
* lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
* lib/widgets.c: (dia_file_selector_get_file):
* lib/widgets.h:
* objects/standard/image.c: (get_directory):
warningectomy.
2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
* ChangeLog: Fixed bad UTF-8 mess. Apologies.
2002-06-11 Lars Clausen <lrclause@cs.uiuc.edu>
* app/interface.c: sscanf now returns EOF on empty string, so
handle no match for zoom factor better => correct zoom at start.
* app/sheets.c (create_object_pixmap): Tried to display empty error.
(sheets_optionmenu_create): Died when not finding specified
sheet. Don't think it should.
* objects/UML/association.c: Added patch from osamyn@ulb.ac.be
(bug #84367) to place the text better.
2002-06-11 Cyrille Chepelov <cyrille@chepelov.org>
* configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
* app/commands.c: Removed unnecessary gnome include. Removed
GNOME-Print support.
* app/menus.h: Removed now unnecessary gnome include.
* app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
GNOME-specific stock buttons
2002-06-09 Hans Breuer <hans@breuer.org>
* app/app_procs.c : convert 'Modified diagrams exits'
dialog to use GtkMessageDialog. That gives us:
- icons without Gnome dependency
- much less code, also cross platform
- improved useability ?
* app/color_area.c : the Color Selection Widget looked
quite wrong (alpha problems). Fix it by merging in required
changes stolen from The Gimp cvs
* app/color_area.h : to get the right appearance the maskes
needed to be taken into account
* app/interface.c : adapt to color_area_create changes.
Also remove some dead code and finally remove cvs autexpansion,
I was bothered enough by irrelevant differences :-)
* app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
api, i.e stocks and response to make the GnomeDialog usage
obsolete. Also fixed the issue with closing the 'parent'
before closing the dialog
* app/display.[ch] : removed some dead code and conversion
to new GtkDialog api. Also trying to conform to new HIG
standard http://developer.gnome.org/projects/gup/hig/
2002-06-09 Hans Breuer <hans@breuer.org>
* lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
build ps-utf8.c
* lib/dia_image.c : gtk_widget_set_default_visual()
remove. It does nothing with Gtk2.
* lib/libdia.def : added ps_unicoder exports
* lib/message.c : remove #GNOME use GtkMessageDialog.
Yeah, Dia gets dialogs wit icons cross-platform.
* lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
to gtk_spin_button_get_value()
* lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
add #undef GTK_DISABLE_DEPRECATED to still use ...
* lib/prop_text.c : ... GtkText
* lib/prop_widgets.c : ... GtkList
* lib/prop_dialogs.c : ... gtk_signal_connect and more
* lib/widgets.c : ... (too much to list here)
* lib/ps-utf8.c : #include <string.h>
2002-06-08 Cyrille Chepelov <cyrille@chepelov.org>
* configure.in:
* Makefile.am: Adapted for gtk2.
Removed dependencies on libunicode, on iconv(), on langinfo().
* acconfig.h: removed (now obsolete)
* lib/charconv.[ch]: removed (superceded by glib)
* lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
* **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
libunicode types for their glib counterparts. Fixed the include
paths for libxml2. Removed all traces of libxml1 or non-UTF8
support (there were remains in objects/uml).
2002-06-08 Hans Breuer <hans@breuer.org>
*/*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
Also use g_strdup()'s handling of NULL by returning NULL
again at all places I found (remove unnecessary if's)
* todo.gtk2 : new file to keep notes about gtk2 porting,
further issues and thoughts and some status information.
Also sent to dia-list ('Dia goes Gtk2 ...').
[make it compile with GTK+ 2.0]
* config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
removed definition of S_ISDIR, S_ISREG and getlogin
* */makefile.msc : Use GTK2 and libxml2
BEWARE: makefile.am, configure.in not yet ported !
* app/app_procs.c app/diagram.c : remove
gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
but set use gtk_menu_set_accel_path() on menu creation
* app/color_area.c lib/widgets.c :
make use of gtk_color_selection_set_has_palette ()
* app/commands.c : gdk_pixbuf_new_from_file wants an
extra argument. Convert from DIR to GDir usage.
* app/diagram_tree.c(button_press_callback) : need to return
FALSE in the signal handler to let gtk process it further.
(get_object_name) : don't leak 'prop'
* app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
dia_page_layout_destroy() getting called more than once
* app/diaunitspinner.c : GtkEditable -> GtkEntry,
GtkTypeInfo changes
* app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
* app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
IIRC this code will not compile unchanged when USE_XIM is defined ...
* app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
* app/interface.c : there is no widget->klass anymore in Gtk,
use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
parameter. Some tweaking of GtkWrapBox usage to get four tools in
a row again.
switch off GTK's double buffering on Dia's canvas. Otherwise we would
get triple buffering and flicker.
Replace call to GTK private function _gtk_accel_group_attach()
with public gtk_window_add_accel_group()
* app/layer_dialog.c : adapt to GtkTypeInfo changes
* app/load_save.c lib/plug-ins.c lib/sheet.c
objects/custom/custom.c :
simplified by using g_file_test()
* app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
to gtk_accel_map_<save|load>. Also added common stock-icons
to the menu.
* app/preferences.c : use gtk_button_set_label() instead
of button->child which is gone. Also removed GLIB_CHECK_VERSION.
* app/preferences.c lib/dia_xml.c lib/plug-ins.c :
#ifdef G_OS_WIN32 #include <io.h>, this was formerly done
in config.h.win32
* app/recent_files.c : removed GLIB_CHECK_VERSION
* app/render_eps.c
plug-ins/metapost/render_metapost.c
plug-ins/pstricks/render_pstricks.c
plug-ins/svg/render_svg.c :
replace getlogin() with g_get_user_name() which always
returns non NULL
* app/render_gdk.c : gdk_region_union_with_rect() modifies
inplace now and returns nothing, also less #hell
* app/render_libart.c : some initial #hell cleaning, SuckFont
still needs to vanish
* app/splash.c : gdk_pixbuf_new_from_file() second arg and
GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
* app/render_pixbuf.c app/sheets.c : plain #hell cleaning
* app/sheets_dialog_callbacks.c : some #hell and adaptions
needed to GtkWrapBox api changes
* lib/charconv.[hc] : removed from build
[changed appropriate]
* lib/prop_inttypes.c lib/prop_text.c :
all utf-8 cleaning
* lib/text.c : ported from HEAD but keep original indent
intact. Original was done by Akira TAGOH.
* lib/color.c : GdkColorContext is gone, use GdkColormap instead.
* lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
* lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
same on all platforms now!
* lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
* lib/message.c : remove "charconv.h"
* lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
* lib/plug-in.c :
* lib/sheet.c : convert from DIR to GDir usage
* lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
* lib/widgets.h : include gtk<label|colorseldialog>.h
* objects/fs/flow.c :
* objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
* objects/custom/custom.c : convert from DIR to GDir usage
* plug-ins/python/makefile.msc : updated for GTK2/Python2.2
2002-05-03 Hans Breuer <hans@breuer.org>
* lib/dia_xml.c : make the well formed utf8 check
actually work for û (non 7-bit ascii encoding)
and fixed the file re-writing if the check fails.
Thanks to Vitaly Lipatov for noticing the misbehaviour.
* lib/font.c : synchronize #ifdef G_OS_WIN32 with
comment on last ressort font. Thanks to Maxim Sobolev.
2002-06-03 Cyrille Chepelov <cyrille@chepelov.org>
* sheets/network.sheet.in: corrected a typo in plotter invocation.
2002-06-03 Steffen Macke <sdteffen@web.de>
* shapes/network/digitizing_board.png:
* shapes/network/digitizing_board.shape:
* shapes/network/plotter.png:
* shapes/network/plotter.shape:
* shapes/network/Makefile.am
* sheets/network.sheet.in: added new plotter and digitizing
board shapes
2002-06-02 Cyrille Chepelov <cyrille@chepelov.org>
* lib/font.c: made a symptomatic fix to a segfault reported by
Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
won't prevent dia from terminating, but should give more
user-friendly information about why did it terminate.
Two patches from <robert.young@dsto.defence.gov.au>:
* app/display.c: fix the size of the canvas area which gets
redrawn. There was an off-by one error (Closes #83659)
* app/display.c: make sure we redraw all screen only when we
really have to (some update_areas were mistakenly ignored) (Closes
#83496).
* NEWS: added a new entry for the future. Put there a reminder to
update the dependencies.
* configure.in: put in notes about what will change shortly.
upped the version to 0.90+cvs (did also in config.h.win32)
upped the minimum version for intltools (now 0.21)
2002-06-01 Cyrille Chepelov <cyrille@chepelov.org>
* dia.spec:
* configure.in:
* NEWS:
* config.h.win32:
bumped up version number to 0.90. Yay!
2002-05-30 Cyrille Chepelov <cyrille@chepelov.org>
* doc/pl/Makefile.am:
* doc/en/Makefile.am: fixed a "make install" problem when db2html
is not present (Reported by Andrew Ferrier
<andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
problem which prevented me from ever seeing the problem in doc/en...
* Makefile.am: added autogen.sh to the EXTRA_DIST clause.
* lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
way to read the font path from the XFS configuration files in
order to enable FreeType (fixes #83098).
* POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
shipped nowadays.
* dia.spec:
* configure.in:
* NEWS:
* config.h.win32:
bumped up version number to 0.90.RC3
2002-05-29 Zbigniew Chyla <cyba@gnome.pl>
* configure.in, doc/Makefile.am, doc/pl/Makefile.am,
doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
Added Polish documentation.
2002-05-27 Cyrille Cheeplov <cyrille@chepelov.org>
* objects/UML/state.c: there was a (gratuitous?) change of on-XML
format for the UML State object. Now there's a hack to reload
older files, and get them converted on the fly.
Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
* lib/properties.h:
* lib/propobject.c:
* lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
and adapter the proplist predicates. A LOAD_ONLY property is for
when you have legacy to support but can't resist moving your
fields around... (was needed to support the above state.c fix).
If the in-core of your object changes and you need a LOAD_ONLY
property for the old format, you must keep some spare room in your
object's struct to accomodate for the potential old-style
attributes. Then in foo_load(), after having called
object_load_using_properties(), you must inspect the old-style
fields and act accordingly. Don't ever change the on-disk formats...
* objects/UML/object.c:
* objects/UML/small_package.c: added a check against empty
stereotypes still consuming space. Reported by Dolores Alia de
Saravia <loli@unsa.edu.ar>. Thanks!
2002-05-26 Cyrille Chepelov <cyrille@chepelov.org>
* INSTALL: added platform notes from MÃ¥rten Svantesson, for when
using libtool on an AFS partition.
* po/update_potfiles_in.sh: now simply calls the recent intltools
features; they work better than hand-crafted half-ignorant
scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
for the tip.
* po/POTFILES.in: added back two files update_potfiles_in.sh
didn't take into account. Now this file is not automatically
generated anymore!
* po/POTFILES.skip: told `intltool-update -m` what files to ignore
(the usual suspects, in fact).
* configure.in: improved the isinf() / isfinite() detection on
Solaris (MÃ¥rten Svantesson)
2002-05-25 Cyrille Chepelov <cyrille@chepelov.org>
* configure.in: one expression was replacing $CFLAGS, removing
whatever was previously in.
Added more checks for isinf() and finite() on Solaris.
* lib/geometry.h: added a macro defintion for isinf() if not
HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
on Win32)
* app/commands.c: "cut" did not set the 'modified' bit (paste has
been for a little while). Fixes #82994.
* Makefile.am: added more stuff to distclean-local. This should make
"make distcheck" pass! Thanks to the author of
http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
... I wonder who this Henstridge guy is ... ;-)
Darn. Still doesn't pass. I give up for tonight.
* po/update_potfiles_in.sh: updated to take care of sheet files,
and to filter out the EML plug-in.
* po/POTFILES.in: updated with all .c and all .sheet.in files
* po/dia.pot, po/*.po: again updated all .po files with all
strings (with the updated POTFILES). Now with the up-to-date
POTFILES, just all languages have some fuzzy or untranslated
strings (not that the 100% team was that large beforehand...)
* po-checktrans: removed the comment about .po files not holding
all translatable stuff, since now they do.
2002-05-24 Cyrille Chepelov <cyrille@chepelov.org>
* dia.spec:
* configure.in:
* NEWS:
* config.h.win32:
bumped up version number to 0.90.RC2
2002-05-20 Hans Breuer <hans@breuer.org>
* app/load_save.c : starting to increase
Dias tolerance on incomplete/broken files. The
corresponding bug is #56233. But the patch there does
neither apply anymore nor does it really fix the problem
but only delays it, e.g. even if it would be allowed
to read a file without any layers, the later code can't
handle it.
* lib/dia_xml.c : attribute_<num|first>_data(), data_type()
handle passing in NULL for the node gracefully.
* shapes/network/printer.shape : added two more connection
points - one at each side - to fix bug #60359
* app/commands.c (edit_copy_callback) :
add ddisplay_do_update_menu_sensitivity() to make
sequence select-copy-paste work.
2002-05-20 Hans Breuer <hans@breuer.org>
* app/create_object.c (create_object_button_press) :
added a call to ddisplay_do_update_menu_sensitivity()
to make Ctrl^D etc work after object creation.
Fixes #80983.
2002-05-18 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/ER/entity.c:
* objects/ER/attribute.c:
* objects/ER/relationship.c: Patch to allow text size change from
Celso Tetsuo Nagase Suzuki.
2002-05-18 Steffen Macke <sdteffen@web.de>
* app/app_procs.c: #ifdef'd xmlerror.h (comes with
libxml2)
* doc/en/graphics/greendots.png:
* doc/en/home_network.png:
* doc/en/line_props.png:
* dia-diagram.png:
* dia_gnome_icon.png:
* dia_gnome_menu_icon.png:
* dia_logo.png:
* shapes/network/telephone.png:
* shapes/Logic/and.png:
* shapes/Logic/buffer.png:
* shapes/Logic/connector.png:
* shapes/Logic/inverter.png:
* shapes/Logic/nand.png:
* shapes/Logic/nor.png:
* shapes/Logic/not.png:
* shapes/Logic/or.png:
* shapes/logic/xor.png:
* samples/ER-demo.dia:
* samples/SADT.dia:
* samples/UML-demo.dia:
* samples/chronograms.dia:
* samples/grafcet.dia: re-added as binary files
2002-05-17 Hans Breuer <hans@breuer.org>
* lib/libdia.def : reflect removing of render_store.[ch]
* */makefile.mingw : remove VERSION definition it's
done in config.h.win32. Dia still doesn't work if
build with mingw ...
* RELEASE-PROCESS : removed */makefile.mingw
* app/sheets_dialog_callbacks.c : if we use those
ugly charconv_gtk_* functions lib/charconv.h needs to
be #included ...
* lib/charconv.h : ... and needs to contain the
necesseray prototypes _and_ #defines
* plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
is deprecated and does nothing but spit a warning. This broke
the shape format writing. Fixed.
Also with libxml2 pretty formatted xml isn't the default
anymore, but needs to be enabled explicit: It is done now
for shape files, which almost always needed to be edited by
hand ...
* app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
from stderr - which is invalid on Dia/win32 - to g_print -
which opens up a console window if necessary. This way
a xml-deprecation-error shouldn't stay unnoticed next time
2002-05-17 Steffen Macke <sdteffen@web.de>
* shapes/Misc/folder.png:
* shapes/Misc/file.png: re-added as binary files
2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c: Fixed segfault for fonts without family_name.
2002-05-17 Cyrille Chepelov <cyrille@chepelov.org>
* po/POTFILES.in: added app/sheets_dialog_callbacks.c
* app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
Lars' request, minor cosmetic stuff (mostly _() of human-readable
XML comments in .sheet files; one translator booby-trap disarmed).
* lib/charconv.c: moved #hell inside the body of the new
charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
will yell)
2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/wpg/Makefile.am (INCLUDES):
* plug-ins/shape/Makefile.am (INCLUDES):
* plug-ins/svg/Makefile.am (INCLUDES):
* plug-ins/pstricks/Makefile.am (INCLUDES):
* plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
and DEBUG_CFLAGS in some missing places.
* MAINTAINERS: New file containing list of known package
maintainers.
* lib/charconv.h:
* lib/charconv.c: Charconv versions of some common gtk calls.
* app/sheets_dialog_callbacks.c
(on_sheets_new_dialog_button_ok_clicked),
(on_sheets_dialog_button_edit_clicked),
(on_sheets_dialog_button_remove_clicked),
(on_sheets_edit_dialog_button_ok_clicked):
* app/sheets.c (sheets_optionmenu_create),
(sheets_optionmenu_create): Added utf8 translations.
* app/sheets_dialog.c:
* app/sheets.c:
* app/sheets_dialog_callbacks.c: Added some missing _()'s.
2002-05-16 Cyrille Chepelov <cyrille@chepelov.org>
* po/POTFILES.in: added app/sheets_dialog.c
2002-05-15 Cyrille Chépélov <cyrille@chepelov.org>
* lib/charconv.c: (charconv_local8_to_utf8),
(charconv_utf8_to_local8): tweaked the warnings to get more
informations
* lib/font.c: (font_get_suckfont): handled a potential case of
uninitialised data being used (just paranoid)
* objects/GRAFCET/boolequation.c: (opstring),
(opblock_get_boundingbox), (opblock_draw),
(boolequation_calc_boundingbox): some extra hoops needed now dia
talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
symbols can't yet be used with their proper Unicode cells, since
gtk will demand them in the Symbol font, expressed in the local
8-bit encoding.
* samples/grafcet.dia: re-saved, now with a fixed bounding box (by
the fix just above).
2002-05-14 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diagram_tree.c (get_object_name): Check that name property
doesn't have null string.
2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
* autogen.sh (DIE): Added conditional --force to gettextize.
* app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
function call.
2002-05-13 Cyrille Chepelov <cyrille@chepelov.org>
* RELEASE-PROCESS: added James' notes on how to properly make the
tarball.
* configure.in: removed macro nesting related to libpng.h, which
was causing some problems on some systems (like mine, which made
the snapshots bad).
Made --enable-unicode, previously an option, the mandatory case.
* app/Makefile.am: updated EXTRA_DIST
* NEWS:
* app/makefile.mingw:
* dia.spec:
* doc/en/dia-manual.sgml:
* plug-ins/makefile.mingw:
* configure.in: bumped up the version number to 0.90.RC1
* lib/render_objects.[ch]:
* po/POTFILES.in: removed render_objects from the build.
* plug-ins/Makefile.am:
* plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
so we keep its source in the tarball.
* objects/network/*.c, Makefile.am:
* objects/sybase/*.c, Makefile.am:
* po/POTFILES.in: cleaned up the non-existent files from the po
build process.
* plug-ins/Makefile.am: re-enabled metapost plug-in.
2002-05-13 Steffen Macke <sdteffen@web.de>
* AUTHORS:
* app/command.c: added M. C. Nelson to the Authors
* sheets/Circuit/Makefile.am: added firewall shape to build
* sheets/network/Makefile.am: added telephone and microphone
shapes to build
2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
* RELEASE-PROCESS: Added list of files that contain the release
number or should otherwise be changed at each release.
2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/UML/uml.c (uml_operation_read): Forgot to commit this
(reported fixed) bug: POLYMORPHIC -> LEAF for default.
2002-05-12 Hans Breuer <hans@breuer.org>
* config.h.win32 : changed VERSION to 0.90.RC1
* app/makefile.msc lib/makefile.msc : use renamed
gdk-pixbuf version (same content but renamed because
all the other gtk+ dlls are renamed) to avoid trouble
mixing gtk versions (of which one would not
be initialized ...
* app/app_procs.c : removed recently unneeded
inclusion of "sheets.h"
* app/render_gdk.c : removed my own debug spew
which should never made it to cvs
* lib/render_object.[hc] : added
#error "File not used anymore."
* lib/libdia.def : updated externals
* app/interface.c : dropped filenames need to be
converted from uri with Gtk+2.0
2002-05-12 Cyrille Chepelov <cyrille@chepelov.org>
* RELEASE-PROCESS (new): a draft document about how to release. To
be discussed. (already with some input from Hans Breuer)
2002-05-12 Steffen Macke <sdteffen@web.de>
* sheets/Makefile.am: re-added Misc sheet to make process
2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/FS/function.c: Added comments to humungous list of menu
items, to aid translators.
2002-05-11 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* app/menus.c (display_menu_items): Added a few shortcuts for zooms.
* app/menus.c (display_menu_items): Added a few shortcuts for zooms.
* app/interface.c (create_toolbox): Disallow shrinking beyond
requested size. Fixes bug #59439, and confirms to GTK guidelines
(see gtk_window_set_policy).
(create_sheets): Removed now unnecessary set_usize call.
2002-05-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* lib/beziershape.c (remove_handles): Fixing removal of last
segment. Undo of removal still hokey.
2002-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/bezier_conn.c (remove_handles): Proper offset for fixing
handles.
* lib/beziershape.c (beziershape_init): Removed early call to
beziershape_update_data where points aren't set yet.
(beziershape_add_segment): Use segment 0 instead of overflowing
points array with segment+1.
(beziershape_remove_segment): Proper offset for fixing
connectionpoints.
(remove_handles): Proper offset.
2002-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/GRAFCET/action.c (action_update_data): Init x value of
click point for call to connpointlist_adjust_count.
* app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
* app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
setting to where values are inited.
* lib/polyshape.c (polyshape_init): Removed call to
polyshape_update_data that tried to use uninitialized data.
2002-05-06 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* app/sheets_dialog.c: Mass removal of //-style comments. The
Irix compiler doesn't like them:( I do...
2002-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_libart.c (draw_string): Bail out when no GDK font is
found.
(set_font): Give error when font not found.
(set_fillstyle): Intlized error msg.
* app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
modified when applied (and ok only does apply if apply is set
sensitive). Fixes bug #75623.
2002-05-06 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Vietnamese (vi) to ALL_LINGUAS
2002-05-05 Steffen Macke <sdteffen@web.de>
* app/Makefile.am: added $(UNICODE_CFLAGS)
2002-05-02 Lars Clausen <lrclause@cs.uiuc.edu>
* app/commands.c (help_manual_callback): Check return value of
opendir.
* plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
* plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
checks for errors.
2002-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_gdk.c (draw_string): Extra free killed. Thanks valgrind!
* objects/UML/uml.c (uml_operation_read): Fix of UML default
inheritance.
2002-04-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
Added button to toggle diagram compression.
2002-04-29 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* lib/font.c: Support for loading extra kerning files, plus got
rid of rounding errors. Bounding box mostly perfect for freetype
fonts.
(font_string_width): Fudge factor to get around nonlinearity of
font scaling.
2002-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c (font_string_width): YA font calculation scheme, with
comments.
* objects/UML/class.c (umlclass_calculate_data): Uses the same
font for drawing and calculating now.
* configure.in: Added utime.h check.
* app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
GTK_DOESNT_TALK_UTF8_WE_DO. Thus it matches the string width calc.
2002-04-26 Hans Breuer <hans@breuer.org>
[ Instead of fixing about 70 occurances in 20 files
where GTK_TALKS_UTF8_WE_DONT needed to be handled
Dia on win32 from now on uses glib-2.0 and not
only talks utf-8 with gtk-1.3 but also internally.
GTK_TALKS_UTF8_WE_DONT isn't supported/needed
anymore. ]
* config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
#undef GTK_TALKS_UTF8_WE_DONT
* */makefile.msc : changes to use glib-2.0 (still
using gtk+1.3(win32-production)
* app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
adapt kevent->string handling, add <string.h>
* app/render_gdk.c (get_text_width) : the length given
is in chars, gdk_text_width() needs bytes
* app/render_libart.c :
* app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
(could simplify the same way as done in render_gdk.c)
* app/diagram_tree.c app/paginate_gdiprint.cpp
app/sheets.c :
* lib/prop_basic.c lib/prop_geomtypes.c
lib/propdialgs.c lib/propobject.c :
added <string.h> which is now removed from charconv.h
* lib/charconv.h : optional use infrastructure from
glib-2.0 -> only five direct function mapping left
* lib/charconv.c : avoid to build this with glib-2.0
* lib/font.c : no string conversion needed anymore
when Dia and Gtk talk utf-8, also code adaptions
for GLIB_CHECK_VERSION(2,0,0)
* lib/libdia.def : removed charconv functions
* lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
* lib/prop_text.c lib/prop_widgets.c lib/font.c :
removed GTK_TALKS_UTF8_WE_DONT
* lib/text.c : finally(?) fixed cursor <place|move>ment
for Umlauts. Also fixed char insertion, still wondering
how this could ever work. Does realloc on Linux
initialize the memory with zeros ?
* objects/chronogram/chronoline_event.c
objects/grafcet/boolequation.c :
there is no uni_get_utf8 when building for glib-2.0.
Replace with g_utf8_get_char() and g_utf8_next_char().
* objects/uml/stereotype.c (bracketted_to_string) :
simplify while adding code for glib-2.0 build
2002-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diagram.h: Autosave field
* app/diagram.c (diagram_set_modified): Sets autosave field.
* objects/UML/usecase.c (usecase_update_data):
* objects/flowchart/ellipse.c (ellipse_update_data):
* objects/flowchart/parallelogram.c (pgram_update_data):
* objects/flowchart/diamond.c (diamond_update_data):
* objects/custom/custom_object.c (custom_update_data):
* objects/UML/state.c (state_update_data):
* objects/UML/small_package.c (smallpackage_update_data):
* objects/UML/object.c (objet_update_data):
* objects/UML/note.c (note_update_data):
* objects/UML/node.c (node_update_data):
* objects/UML/component.c (component_update_data):
* objects/UML/classicon.c (classicon_update_data):
* objects/UML/actor.c (actor_update_data):
* objects/SADT/box.c (sadtbox_update_data):
* objects/FS/function.c (function_update_data):
All now update text boundaries from update_data.
* lib/widgets.c (dia_font_selector_set_styles): Made the style set
correctly.
2002-04-26 Hans Breuer <hans@breuer.org>
* config.h.win32 : added VERSION definition here
(and removed from makefile.msc's)
* app/makefile.msc : added new files
* app/app_procs.c (app_init): remove sheets_dialog_create()
from start-up and ...
* app/sheet.c (sheets_dialog_show_callback) : ... lazy create
sheet_dialog here when it is really needed.
#include "../lib/message.h", make sheets_dialog_create()
return it's success or failing on (!custom_type_symbol).
Although editing shapes is nice IMHO it isn't crucial enough
to abort() Dia if it isn't possible.
* app/sheet.h : adapt create_sheet_dialog() prototype
* app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
* app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
#ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
name space corrections for utime() and utim_buf #ifdef
G_OS_WIN32
* lib/libdia.def : export new sheet functions
* lib/makefile.msc : added new files
* lib/render.c : don't put draw_bezier_with_arrows() in
the DrawLineWithArrowsFunc slot
* objects/custom/custom_object.c : #include <gmodule.h>
and export 'custom_type' via G_MODULE_EXPORT
* objects/uml/class_dialog.c : removed 'incompatible
types' warnings. Some refactoring while making it fit
on screen with 800x600 again.
* plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
* plug-ins/python/pydia-handle.h : extra parameter to
PyDiaHandle_New to store the owner of the handle
* plug-ins/python/pydia-handle.c : store handle owner
on construction and use it in new method .connect()
* plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c :
adapt to changed prototype
2002-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/text.c (text_calc_boundingbox): Will now return early if box
passed is NULL.
* objects/flowchart/box.c (box_update_data): Now updates text
width info from update_data.
2002-04-23 Steffen Macke <sdteffen@web.de>
* plug-ins/xfig/xfig-import.c: fixed text import
2002-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
* app/export_png.c: Moved dialog functions to their own file.
* app/dialogs.[ch]: New files with standard functions for creating
small, transient dialogs (e.g. export options).
* app/Makefile.am: Added dialogs.[ch]
2002-04-19 Steffen Macke <sdteffen@web.de>
* shapes/Misc/folder.*:
* shapes/Misc/file.*:
* shapes/Misc/Makefile.am:
* shapes/Makefile.am:
* sheets/Misc.sheet.in:
* sheets/Makefile.am:
* configure.in: added new Misc sheet containing filesystem shapes
2002-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
* app/lineprops_area.c: Arrow selector in toolbox changed to use
standard arrowdraw code. Line is thinner to make some arrowheads
distinguishable.
2002-04-18 Steffen Macke <sdteffen@web.de>
* sheets/network.sheet.in:
* shapes/network/telephone.shape:
* shapes/network/Makefile.am: added telephone shape
2002-04-16 Steffen Macke <sdteffen@web.de>
* sheets/EML.sheet.in: commented out unavailable shapes
2002-04-15 M.C. Nelson <mcn@kobayashimaru.org>
* app/sheets_dialog_callbacks.c: Fixed segfault caused by mis-ordered
variable assignment.
2002-04-15 Steffen Macke <sdteffen@web.de>
* plug-ins/dxf/dxf-import.c: text import works again
* shapes/Pneumatic/Makefile.am: added compush shape
* sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
and dist53
2002-04-11 M.C. Nelson <mcn@kobayashimaru.org>
* All these modifications are for the 'Sheets and Objects' dialog
(new feature):
* app/pixmaps/line_break.xpm: new icon representing a line break.
* app/pixmaps/n_a.xpm: new empty icon representing not available.
* app/Makefile.am: added sheets_*.[ch] files to compile list.
* app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
* app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
* app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs
* app/app_procs.c: added call to sheets_dialog_create() in app_init()
* app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
* app/sheets_dialog_callbacks.h: [new file] support for " " "
* app/interface.c: added 'interface_current_sheet_name' global to
fill_sheet_wbox(); made fill_sheet_menu() non-static
* app/interface.h: added extern declaration for aboves.
* app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
* app/sheets.h: [new file] declarations for backing store structures
* lib/sheet.c: modification of new_sheet() parameters; introduction
of USER and SYSTEM scope for sheets; procedure for sorting sheets;
changes to load_register_sheet().
* lib/sheet.h: added 'user_data_type' field to SheetObject structure;
added 'has_icon_on_sheet' flag to SheetObject structure; added
'filename', 'scope', 'shadowing' fields to Sheet structure.
* lib/plug-ins.c: moved _PluginInfo declaration to header file where
it belongs.
* lib/plug-isn.h: see above.
* lib/object.c: added 'sheet.h' to include list; added several
functions
to detect objects which are not found on any sheet (for future use)
object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
object_type_get_sheet_name(), object_type_strip_sheet_from_name().
* lib/object.h: added public declarations for above functions where
necessary.
* objects/custom/custom.c: made custom_object_load() non-static so we
can load and interpret .shape files from the Sheets & Objects dialog
* objects/custom/custom_object.c: made 'custom_type' non-static so
we can differentiate between SVG shapes and other types.a
2002-04-07 Hans Breuer <hans@breuer.org>
* app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
from 2002-01-22 to not destroy diagram->data->selected.
Avoids to crash on Objects/Align/Vertical/Top
* app/render_eps.c (draw_string) : un-const buffer
It isn't at all const (g_malloc(), assignment, g_free()).
Doesn't gcc catch such ?
* lib/arrows.h : prototype calculate_arrow_point()
* lib/font.c (font_get_suckfont) : no need to
special case gdk_draw_string() with GTK_TALKS_UTF8,
cause all the parameter differences are handled above
* lib/libdia.def : updated externals
* lib/makefile.msc : removed string_prerenderer, added render
* lib/render.c (draw_rect) : don't pass a Point** if a Point*
is expected. [Sometimes it's good to read compiler warnings.]
* objects/standard/image.c : simplified by use of g_strconcat()
* plug-ins/python/makefile.msc : updated for Python 2.2
2002-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/zigzagline.c (zigzagline_draw): Fixed
directionality problem for zero-length line segments.
2002-03-28 Lars Clausen <lrclause@cs.uiuc.edu>
* app/diagram.c (diagram_ungroup_selected)
(diagram_update_menu_sensitivity): Now allows ungrouping of
several groups at once.
2002-03-15 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/render.c, all renderers: Binary incompatibility, change to
expandable renderops structure.
2002-03-15 Steffen Macke <sdteffen@yahoo.com>
* objects/standard/Makefile.am:
* objects/network/Makefile.am:
* objects/UML/Makefile.am:
* objects/ER/Makefile.am:
* objects/FS/Makefile.am:
* objects/flowchart/Makefile.am:
* objects/custom/Makefile.am:
* objects/GRAFCET/Makefile.am:
* objects/chronogram/Makefile.am:
* objects/SADT/Makefile.am:
* plug-ins/cgm/Makefile.am:
* plug-ins/pstricks/Makefile.am:
* plug-ins/hpgl/Makefile.am:
* plug-ins/wpg/Makefile.am:
* plug-ins/svg/Makefile.am:
* plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
2002-03-13 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: Support for dumping TrueType fonts (taken from
ttfps).
2002-03-12 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/render.c: New abstract super class for renderers.
2002-03-07 Akira TAGOH <tagoh@redhat.com>
* objects/ER/attribute.c (attribute_save): save a font property.
(attribute_load): load a font property, and if can't load it, it's
initialized.
* objects/ER/entity.c (entity_save): save a font property.
(entity_load): load a font property, and if can't load it, it's
initialized.
* objects/ER/relationship.c (relationship_save): save a font property.
(relationship_load): load a font property, and if can't load it, it's
initialized.
* objects/UML/class.c (fill_in_fontdata): don't replace if it already
has a vaule.
(umlclass_save): save the font and the font size properties.
(umlclass_load): load the font and the font size properties.
2002-03-05 Cyrille Chepelov <cyrille@chepelov.org>
* lib/string_prerenderer.[ch] (REMOVED):
* lib/render.h:
* lib/diagramdata.c:
* lib/Makefile.am:
* app/render_eps.c: got rid of the string-specific string
prerenderer, transitioned its functionality towards Lars'
two-phase rendering
2002-03-05 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Using Freetypes own check for ver >= 1.0.5. You
may need to rerun aclocal.
2002-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c: First attempt at Unicodeness for Freetype.
2002-03-02 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* lib/font.c (font_string_width): Fixed font_string_width for
freetype. BB is now almost right.
2002-03-01 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.h:
* app/paginate_psprint.c (paginate_psprint):
* lib/font.c:
* app/render_eps.c: Support for dumping postscript fonts into
postscript files with freetype. Fairly primitive, but works.
Unicode version may have problems.
2002-02-28 Akira TAGOH <tagoh@redhat.com>
* objects/UML/class_dialog.c (class_read_from_dialog)
(class_fill_in_dialog), (class_create_page): add the font selector and
the font size selector.
* objects/UML/class.c (umlclass_draw): uses each font_height.
(umlclass_calculate_data): ditto.
(fill_in_fontdata): add initial value of new font_height.
(umlclass_copy): add new font_height.
2002-02-27 Cyrille Chepelov <chepelov@calixo.net>
Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
* lib/font.c: calculate font metrics properly and stop guessing at
string widths.
2002-02-28 Akira TAGOH <tagoh@redhat.com>
* configure.in: changed gtk_advancement value to dia_talks_utf8.
right now Dia is working with UTF-8 internally. it means Dia probably
support most languages also including the languages which heretofore
didn't work correctly.
2002-02-26 Akira TAGOH <tagoh@redhat.com>
* objects/FS/function.c: add related text properties.
(function_get_props), (function_set_props): add handling attribute.
* objects/FS/flow.c: add related text properties.
(flow_get_props), (flow_set_props): add handling attribute.
* objects/FS/flow-ortho.c: add related text properties.
(orthflow_set_props), (orthflow_get_props): add handling attribute.
* objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
* objects/ER/entity.c: ditto.
* objects/ER/attribute.c: ditto.
2002-02-26 Cyrille Chepelov <cyrille@chepelov.org>
Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
* autogen.sh: add a check for missing intltoolize.
2002-02-20 Akira TAGOH <tagoh@redhat.com>
* lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
charcode, it was registered the duplicate item to HashTable. fix.
* app/render_gnomeprint.c (get_width_string): add new function.
(draw_string): fix non-multibyte specific code.
2002-02-19 Cyrille Chepelov <cyrille@chepelov.org>
Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
* lib/font.c: do not try to search paths that do not begin with
'/', like X Font Server addresses.
* objects/UML/message.c (message_draw): free mname when not
message->text but CREATE or DESTROY.
* objects/UML/uml.h:
* objects/UML/uml.c:
* objects/UML/class_dialog.c: added code to handle a stereotype
attribute for operations.
2002-02-19 Akira TAGOH <tagoh@redhat.com>
* lib/Makefile.am: add LIBART_CFLAGS.
2002-02-15 Hans Breuer <hans@breuer.org>
* lib/font.c (font_get_suck_font): the black and white pixel values
need to be taken from a 1 bit colormap rather than the default colormap.
(fixed again, last time was 2000-05-26)
Also handle the case where GTK_TALKS_UTF8 and expects all strings
passed in to be in this encoding.
* lib/libdia.def : export suck_font_free()
* lib/text.c (text_draw) : avoid circular dependency to ../app
at least for the !USE_XIM case, where it is unnecessary.
2002-02-15 Cyrille Chepelov <cyrille@chepelov.org>
Changes contributed by Matts Kivik <kivik@firstlinux.net>:
* shapes/Circuit/microphone_de.(shape|xpm) (NEW):
* sheets/Circuit.sheet.in: added new shape microphone
* shapes/Circuit/speaker_de.shape: Added a connection point.
2002-02-13 Akira TAGOH <tagoh@redhat.com>
* app/render_libart.c (draw_string): fixed build issue for Win32.
* lib/font.c (font_get_suckfont): fixed typo. it could't build under
Win32.
* configure.in: fixed testing gtk_advancement.
* app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
2002-02-12 Akira TAGOH <tagoh@redhat.com>
* lib/text.c (text_draw): fixed XIM position, when menubar is shown for
diagram window.
2002-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
* app/group.c (group_copy): Made new object properly initialized
before copy.
2002-02-11 Steffen Macke <sdteffen@yahoo.com>
* app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
2002-02-10 Akira TAGOH <tagoh@redhat.com>
* lib/text.c (text_draw): fixed XIM transaction.
* app/interface.c (create_display_shell): add signal for
size_allocate.
* app/disp_callbacks.c (ddisplay_size_allocate): add new function for
XIM transaction.
(set_input_dialog): remove.
(ddisplay_canvas_events): remove XIM transaction. it can't transact
correctly on this function.
2002-02-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* app/app_procs.c:
* app/export_png.c: Added checks for interactivity (maybe this
should be a hook after all?).
* app/filedlg.c (file_export_callback): Made export dialog add
suffix when reopened.
* app/export_png.c: Added dialog asking for export size.
2002-02-09 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* lib/widgets.c: Fixed font reselection problem and first font
bogus warning.
* objects/UML/actor.c (actor_update_data): Changed to have
connection points below text.
2002-02-08 Akira TAGOH <tagoh@redhat.com>
* lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
and memcpy().
2002-02-07 Akira TAGOH <tagoh@redhat.com>
* lib/font.c (font_get_suckfont): rewrited. generating suckfont from
strings which is given.
(suck_font): remove. it's any longer needed.
* app/render_libart.c (set_font): don't get suckfont.
(draw_string): get suckfont only which is needed for now.
2002-02-05 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* lib/text.c: Fixes for misunderstood width functions.
2002-02-05 Hans Breuer <hans@breuer.org>
* lib/dia_xml.c : use g_strconcat() instead of
malloc, strcpy, strcat dance
* app/properties.c : same here and plug memory leak
(gtk functions don't eat strings)
* objects/UML/message.c : there is no g_sprintf()
use g_strdup_printf() instead ...
2002-02-05 Akira TAGOH <tagoh@redhat.com>
* lib/message.c (gtk_message_internal): doesn't need to convert to
UTF-8.
* app/render_libart.c (draw_string): fixed transaction for UTF-8
support.
(get_text_width): ditto.
* app/Makefile.am (EXTRA_DIST):
s/paginate_gdiprint.c/paginate_gdiprint.cpp/
* app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
This function needs ifdef HAVE_FREETYPE because don't use it for
--disable-freetype
2002-02-04 Cyrille Chepelov <cyrille@chepelov.org>
* NEWS: updated with the new dependencies.
Patch from Matthieu Sozeau <mattam@netcourrier.com>:
* objects/UML/class.h:
* objects/UML/class.c:
* objects/UML/class_dialog.c: added code to handle the UMLParameterKind
property using a GtkMenu. Options are Undefined, In, Out, In & Out
2002-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_libart.c: Slow but working libart freetype renderer,
with color!
2002-02-03 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* app/render_gdk.c (draw_string): Fixed gc_function bug.
* lib/widgets.c (dia_font_selector_init): Sorts the font list.
* lib/font.c (freetype_render_string):
* lib/font.h:
* app/render_gdk.c:
* app/render_gdk.h: Changed freetype_render_string to use
callback. Rendering is broken.
2002-02-03 Cyrille Chepelov <cyrille@chepelov.org>
Patch from Matthieu Sozeau <mattam@netcourrier.com>:
* objects/UML/uml.h:
* objects/UML/uml.c: added UMLInheritanceType and isQuery
(constant) UML Operation attributes. UMLInheritanceType is either
UML_ABSTRACT or UML_POLYMORPHIC or UML_LEAF.
* objects/UML/class.h:
* objects/UML/class.c:
* objetcs/UML/class_dialog.c: added code to handle new
UMLOperation attributes via a GtkMenu and a checkbox.
2002-02-03 Akira TAGOH <tagoh@redhat.com>
* app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
several client doesn't work with previous codes.
2002-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/font.c (freetype_render_string): Kerning. Very few fonts
seem to use it.
2002-02-02 Akira TAGOH <tagoh@redhat.com>
* app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
when doing the operation like invert the objects after active view is
destroyed. when changes focus, it needs to set active_display.
* app/layer_dialog.c (dia_layer_update_from_layer):
(layer_dialog_edit_layer): need to convert to locale encoding
if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
(edit_layer_ok_callback):
need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
* lib/diagramdata.c (new_diagram_data): ditto.
* app/layer_dialog.c (layer_dialog_new_callback): ditto.
* lib/diagramdata.c (new_layer): use utfchar instead of char for
argument.
* lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
(dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
it's needed for now. also this function needs prototype declaration.
2002-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/widgets.c: Style now functional on font selector. Some leak
possible, but doesn't show up under stress test.
2002-01-31 Akira TAGOH <tagoh@redhat.com>
* app/plugin-manager.c (clist_select_row): name and description needs to
convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
(get_plugin_manager): ditto.
* lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
* app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
support.
* lib/prop_text.c (stringprop_reset_widget): fixed crashes,
when prop->string_data is NULL.
2002-01-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* lib/widgets.c:
* lib/widgets.h: New font selector separating font and style.
Style not functional yet.
2002-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/text.c:
* app/render_gdk.c (draw_string): More freetype support, now
renders text. Still broken is font selection and exporting.
2002-01-30 Akira TAGOH <tagoh@redhat.com>
* objects/chronogram/chronoref.c (chronoref_create): missing gettextize
for font.
* objects/chronogram/chronoline.c (chronoline_create): ditto.
* objects/UML/usecase.c (usecase_create): ditto.
* objects/UML/state.c (state_create): ditto.
* objects/UML/object.c (objet_create): ditto.
* objects/UML/node.c (node_create): ditto.
* objects/UML/message.c (message_create): ditto.
* objects/UML/component.c (component_create): ditto.
* objects/UML/classicon.c (classicon_create): ditto.
* objects/UML/actor.c (actor_create): ditto.
* objects/SADT/box.c (sadtbox_create): ditto.
* objects/SADT/annotation.c (annotation_create): ditto.
* objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
* objects/GRAFCET/step.c (STEP_FONT):
* (step_create): ditto.
* objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
* objects/GRAFCET/action.c (ACTION_FONT):
(action_create): ditto.
* objects/FS/function.c (function_create): ditto.
* objects/FS/flow.c (flow_create):
(flow_load):
(flow_apply_defaults): ditto.
* objects/FS/flow-poly.c (flow_create):
(flow_load):
(flow_apply_defaults): ditto.
* objects/FS/flow-ortho.c (orthflow_create):
(orthflow_load):
(orthflow_apply_defaults): ditto.
* objects/ER/relationship.c: use utfchar instead of char for structure.
(relationship_create): name needs to convert to UTF-8.
* objects/ER/attribute.c: use utfchar instead of char for structure.
(attribute_create): name needs to convert to UTF-8.
* objects/ER/entity.c: use utfchar instead of char for structure.
(entity_create): name needs to convert to UTF-8.
* app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
(fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
items. if GTK_TALKS_UTF8 isn't defined.
2002-01-29 Akira TAGOH <tagoh@redhat.com>
* objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
it was my careless mistake...
* lib/attributes.c (attributes_set_default_font): temporarily gettextize
a font name, because there are strings which isn't shown by "Courier".
We need to consider a way to feel free to choose a font at runtime.
* lib/render_object.c (render_object_load): ditto.
* lib/text.c (data_text): ditto.
* objects/EML/instantiation.c (instantiation_create): ditto.
* objects/EML/interaction-ortho.c (interaction_ortho_create):
(interaction_ortho_load): ditto.
* objects/EML/interaction.c (interaction_create):
(interaction_load): ditto.
* objects/EML/process.c (fill_in_fontdata): ditto.
* objects/ER/attribute.c (attribute_create):
(attribute_load): ditto.
* objects/ER/entity.c (entity_create):
(entity_load): ditto.
* objects/ER/relationship.c (relationship_create):
(relationship_load): ditto.
* objects/UML/association.c (association_create):
(association_load): ditto.
* objects/UML/class.c (fill_in_fontdata): ditto.
* objects/UML/constraint.c (constraint_create): ditto.
* objects/UML/dependency.c (dependency_create): ditto.
* objects/UML/generalization.c (generalization_create): ditto.
* objects/UML/implements.c (implements_create): ditto.
* objects/UML/large_package.c (largepackage_create): ditto.
* objects/UML/note.c (note_create): ditto.
* objects/UML/realizes.c (realizes_create): ditto.
* objects/UML/small_package.c (smallpackage_create): ditto.
* objects/custom/shape_info.h (FONT_DEFAULT): ditto.
* objects/custom/custom_object.c (custom_create): ditto.
* objects/network/antenna.c (render_to_store): ditto.
* objects/network/computer.c (render_to_store): ditto.
* objects/network/disc.c (render_to_store): ditto.
* objects/network/flash.c (render_to_store): ditto.
* objects/network/hub.c (render_to_store): ditto.
* objects/network/modem.c (render_to_store): ditto.
* objects/network/modularswitch.c (render_to_store): ditto.
* objects/network/monitor.c (render_to_store): ditto.
* objects/network/printer.c (render_to_store): ditto.
* objects/network/rj45plug.c (render_to_store): ditto.
* objects/network/scead-plug.c (render_to_store): ditto.
* objects/standard/textobj.c (textobj_load): ditto.
* objects/sybase/client.c (render_to_store): ditto.
* objects/sybase/dataserver.c (render_to_store): ditto.
* objects/sybase/ltm.c (render_to_store): ditto.
* objects/sybase/repserver.c (render_to_store): ditto.
* objects/sybase/rsm.c (render_to_store): ditto.
* objects/sybase/stableq.c (render_to_store): ditto.
* plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
* objects/UML/uml.h (UML_STEREOTYPE_START):
(UML_STEREOTYPE_END): changes default strings.
2002-01-28 Akira TAGOH <tagoh@redhat.com>
* objects/UML/stereotype.c (string_to_bracketted): fixed transaction
for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
which is given to arguments isn't UTF-8. so don't need to convert it.
if GTK+ handle UTF-8, also don't need to convert it.
(strend): remove.
(bracketted_to_string): fixed transaction for UTF-8 support.
also start/end bracket is not necessarily 1 character. so that when use
strend(), it doesn't work correctly.
(string_to_stereotype): use utfchar instead of char.
(remove_stereotype_from_string): ditto.
(stereotype_to_string): ditto.
* objects/UML/stereotype.h: ditto.
* objects/UML/message.c: use utfchar instead of char for structure.
(MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
* objects/UML/small_package.c: use utfchar instead of char for structure.
* objects/UML/realizes.c: ditto.
* objects/UML/object.c: ditto.
* objects/UML/large_package.c: ditto.
* objects/UML/implements.c: ditto.
* objects/UML/generalization.c: ditto.
* objects/UML/dependency.c: ditto.
* objects/UML/constraint.c: ditto.
* objects/UML/component.c: ditto.
* objects/UML/class_dialog.c (attributes_get_current_values):
(attributes_list_new_callback, attributes_fill_in_dialog):
(parameters_set_values, parameters_get_values):
(parameters_get_current_values, parameters_list_new_callback):
(operations_set_values, operations_get_values):
(operations_get_current_values, operations_list_new_callback):
(operations_fill_in_dialog, templates_set_values):
(templates_get_values, templates_get_current_values):
(templates_list_new_callback, templates_fill_in_dialog):
fixed transaction for UTF-8 support.
2002-01-27 Akira TAGOH <tagoh@redhat.com>
* objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
* objects/UML/class_dialog.c (class_read_from_dialog):
(class_fill_in_dialog):
(attributes_get_values): ditto.
* objects/UML/actor.c (actor_create): ditto.
* objects/UML/class.c (umlclass_calculate_data): ditto.
* objects/UML/association.c (association_apply_properties):
(fill_in_dialog): ditto.
* objects/UML/uml.c (uml_get_attribute_string):
(uml_get_operation_string):
(uml_get_parameter_string):
(uml_get_formalparameter_string): use utfchar instead of char.
* objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
UML_STEREOTYPE_END.
* objects/UML/class.h: use utfchar instead of char.
* lib/dia_xml.c (data_add_string): ditto.
* lib/text.c (text_insert_char): fixed characters# calculation
when includes multibytes character in strings.
2002-01-26 Steffen Macke <sdteffen@yahoo.com>
Patch from Richard Rowell <rwrowell@bellsouth.net>:
* app/lineprops_area.c:
* lib/arrows.h:
* lib/arrows.c:
* lib/widgets.c: added crow foot arrow and cross arrow
Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
* plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
2002-01-26 Cyrille Chepelov <cyrille@chepelov.org>
* po/update.pl (REMOVED):
* po/update.sh (REMOVED):
* xml-i18n-merge.in.kg (REMOVED):
* xml-i18n-update.in.kg (REMOVED):
* sheets/Makefile.am:
* Makefile.am:
* autogen.sh:
* configure.in: converted from xml-i18n-tools to intltools
This looks like it fixes the build bugs of the snapshot tarballs,
and it supersedes #69611.
2002-01-25 Akira TAGOH <tagoh@redhat.com>
* lib/text.c (text_insert_char): fixed characters# calculation.
it's not string length.
* lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
is defined, needs to convert a description to UTF-8.
* app/render_gdk.c (get_text_width): fixed transaction for
UTF-8 support. also should uses gdk_text_width_wc() instead
of gdk_text_width().
* app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
is defined, needs to convert to locale encoding for display.
Also use utfchar instead of char for argument.
2002-01-24 Hans Breuer <hans@breuer.org>
* app/commands.c(edit_paste_callback and more) :
call diagram_modified(ddisp->diagram) to fix #68083
(help_menu_callback) : plug a DIR leak
* app/disp_callbacks.c(ddisplay_canvas_events) : handle
GTK_TALKS_UTF8_WE_DONT
* app/render_gdk.c(get_text_with) : it's a bad idea to use
gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
gdk_text_width(). The length value is still questionable ...
* lib/charconv.c : use functions already available in early
GLIB-1.3 days whiches API hasn't changed since, to avoid
version problems with the win32 build
* lib/font.c : finally fix #58045 and #68208
* lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
2002-01-24 Akira TAGOH <tagoh@redhat.com>
* app/disp_callbacks.c (ddisplay_canvas_events): when event returned
no strings, fixed transaction.
* lib/charconv.h: fixed typo.
* app/menus.c: fixed typo.
* lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
* objects/UML/object.c: attrib's type uses utfchar instead of char.
* app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
* lib/text.c (text_create_change): use unichar instead of char.
* lib/text.c (data_add_text, data_text, apply_textstr_properties):
use utfchar instead of char.
* lib/text.c (text_insert_char, text_key_event): fixed transaction for
UTF-8 support.
* lib/charconv.c (charconv_utf8_get_char): add new function.
2002-01-23 Akira TAGOH <tagoh@redhat.com>
* lib/text.c (text_delete_forward, text_delete_backward,
text_split_line): fixed transaction for UTF-8 support.
* lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
strlen[] has string length for UTF-8, so has to use alloclen[].
* dia.pot: remove.
* .cvsignore: add dia.pot.
2002-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in: Added "sk" to ALL_LINGUAS.
2002-01-22 Akira TAGOH <tagoh@redhat.com>
* lib/text.c (text_set_string, new_text, text_copy,
text_get_string_copy, text_join_lines): use utfchar instead of gchar
for strings.
* lib/text.c (set_string): use charconv_utf8_strchr() instead of
strchr().
* lib/charconv.c (charconv_utf8_strchr): add new function.
* lib/charconv.c (charconv_keyval_to_unicode): ditto.
* lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
* app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
strings to the appropriate encoding.
2002-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
* app/object_ops.c (object_list_align_[hv]): Leak fix.
* lib/Makefile.am (INCLUDES): Added debug flags.
* app/object_ops.c: Fixed ordering problem of align equi-distant &
adjacent.
2002-01-21 Akira TAGOH <tagoh@redhat.com>
* lib/font.c (font_string_width): use gdk_text_width_wc() instead of
gdk_string_width().
* objects/GRAFCET/boolequation.c: fixed invalid comment.
* objects/UML/stereotype.c (string_to_bracketted): fixed build problem
when defined UNICODE_WORK_IN_PROGRESS.
* lib/dia_xml.c (data_add_string): fixed typo.
2002-01-20 Akira TAGOH <tagoh@redhat.com>
* configure.in: fixed test gtk_advancement.
2002-01-019 Steffen Macke <sdteffen@yahoo.com>
* plug-ins/svg/render_svg.c: fix for #69053, alignment of text
exported to SVG
Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
* app/recent_files.[ch]: reworked to support GNOME, accelerators,
tool tips, preferences, and arbitrarily long ~/.dia/history
* app/menus.c: made 'Plugins' consistantly spelled and accelerated;
removed 'Open Recent'; added new separators for recent documents on
File menu.
* app/interface.[ch] (interface_get_toolbox_shell): new function
* app/diagram.c: added new parameter to recent_file_history_add() call
* app/preferences.[ch]: added new 'Recent documents list size'
preferences item
2002-01-18 Akira TAGOH <tagoh@redhat.com>
* lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
if it failed, should be used gdk_font_load ().
* lib/font.c (font_data): added the font entries for CJK.
2002-01-17 Steffen Macke <sdteffen@yahoo.com>
Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
* app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
2002-01-04 Cyrille Chepelov <cyrille@chepelov.org>
Patch from Martin Cracauer <cracauer@cons.org>:
* app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
non-GNOME case ?)
2002-01-01 Hans Breuer <hans@breuer.org>
* app/command.c : optional use GDI printing on windoze
* app/preferences.[hc] : add option 'prefer_psprint' to
select the print engine to use (could be used for Dia/Gnome
as well)
* app/paginate_gdiprint.(h|cpp) : new files, which interlink the
wmf plug-in with the common win32 print api. Now printing
should work almost as expected from a windows program :-)
* app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
to .edit_delete to avoid clashes with C++
* app/makefile.msc : updated for GDI printing
* plug-ins/wmf/wmf.cpp : some small modifications to support
GDI printing. Also swap R and B channel in draw_image()
* app/makefile.am : added windows only files to EXTRA_DIST
* objects/uml/class.c(umlclass_set_props) : force recalculation
when applying properties
* lib/charconv.c lib/dia_xml.c : temporary back-ported to
glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
many incompatible changes (and would force a gtk update)
* objects/makefile.msc : don't build C-Objects which are
already available as 'pure shape'
* plug-ins/makefile.msc : remove diaimport from build. It was
only available via mailing-list and is broken since the
StdProp overhaul.
Patch from Jose A Ortega Ruiz <jaortega@acm.org>
* app/preferences.[hc] : tweaked preferences.c to make
PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
added some more DiagramTree prefererences and their own
notebook page.
* app/diagram_tree.[hc] : allow to sort by object type or name
and hide by type ...
* app/diagram_tree_menu.[hc] : ... add respective menu entries ...
* app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
* app/diagram_tree_window.c : handle hidden types and window
size restoring.
2001-12-20 Hans Breuer <hans@breuer.org>
* plug-ins/python/Makefile.am : patch from Peter Moulder
<pmoulder@csse.monash.edu.au> to make the python plug-in
compile on *nix too.
2001-12-03 Cyrille Chepelov <chepelov@calixo.net>
Patch from Alan <horkana@tcd.ie>:
* app/menus.c: bind the F1 shortcut to the Help/_Manual function.
2001-11-20 Hans Breuer <hans@breuer.org>
* app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
2001-11-18 Jose A Ortega Ruiz <jaortega@acm.org>
* app/diagram_tree.[hc] : Added new functions and types for
sorting diagram and objects, and attaching the popup menus.
* app/preferences.h: Added more diagram tree preferences, using a
DiagramTreeConfig struct in DiaPreferences. The new prefs are the
height and width of the diagram tree window and the default sort
orders for diagrams and objects.
* app/preferences.c (prefs_data): Added new entries for the new
diagram tree preferences.
* app/preferences.c (prefs_tabs): New tab for diagram tree
preferences.
* app/diagram_tree_window.[hc] (create_diagram_tree_window):
* app/diagram_tree_window.c (diagram_tree_window_new):
* app/interface.c (create_tree_window): The diagram tree window is
initialised using the DiagramTreeConfig part of prefs.
2001-11-14 Jose A Ortega Ruiz <jaortega@acm.org>
* app/diagram_tree_menu.[hc]: New files. Functions to create the
diagram tree popup menus.
* app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
the diagram tree popup menus.
* app/Makefile.am (dia_core_files): diagram_tree_menu* files
added.
2001-11-13 Jose A Ortega Ruiz <jaortega@acm.org>
* app/diagram_tree.c (double_click_callback, diagram_tree_new):
double-clicking a diagram tree node raises the diagram window
to the foreground (and, if a object node was clicked, selects the
object in the diagram).
* app/diagram_tree.c (select_tree_widget): selecting an object
node with single click simply updates it (no raise).
2001-11-08 Jose A Ortega Ruiz <jaortega@acm.org>
These changes make the diagram tree lazy: it is not created unless
the diagram tree window is requested.
* app/diagram_tree_window.[hc] (create_diagram_tree_window): new
function for creating the tree window.
* app/interface.c (create_tree_window): call
create_diagram_tree_window() instead of diagram_window().
* app/diagram_tree.c (diagram_tree_add, diagram_tree_remove)
(diagram_tree_update, diagram_tree_update_name)
(diagram_tree_add_object, diagram_tree_add_objects)
(diagram_tree_remove_object, diagram_tree_remove_objects)
(diagram_tree_update_object): accept a NULL tree as a nominal
argument (and do nothing in this case!), so that the diagram tree
is not initialised if not used.
* app/diagram_tree_window.c (diagram_tree): do not create the
diagram tree until diagram_window() or diagtree_show_callback()
are invoked.
2001-10-31 Jose A Ortega Ruiz <jaortega@acm.org>
[slightly modified and applied from Hans Breuer <hans@breuer.org>]
* app/diagram_tree_window.[hc] : (new files) implementation of
the diagram tree window, a container for a diagram tree. [Removed
the horizontal scroll bar glitch by disableing it]
* app/diagram_tree.[hc] : (new files) implementation of the
diagram tree widget. [Don't rely on the layers GPtrArray to be
NULL terminated, but use its ->len field]
* app/Makefile.am (dia_core_files): added new files
diagram_tree.[hc] and diagram_tree_window.[hc]
* app/interface.[hc] : (create_tree_window): this function
creates the new diagram tree window widget
* app/undo.c (delete_objects_apply) (delete_objects_revert)
(insert_objects_apply) (insert_objects_revert) (group_objects_apply)
(ungroup_objects_apply) (ungroup_objects_revert):
every time that an undoable command modifies a diagram
adding/removing/(un)grouping objects, a diagram_tree_something() is
invoked to keep the diagram tree window in sync
* app/properties.c (properties_apply): call to
diagram_object_modified(), which updates the diagram tree window
when the properties of an object are modified
* app/preferences.[hc] : new "show_diagram_tree" configuration option
(whether the diagram tree window should be shown on dia startup)
* app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
* app/diagram.h (diagram_object_modified): callback notifying of a
diagram object modification
* app/diagram.c (diagram_load_into): added call to
diagram_tree_add() to add newly loaded diagrams to the diagram
tree window
(diagram_destroy): call to diagram_tree_remove() to remove a
destroyed diagram from the diagram tree window
(diagram_add_object): call to diagram_tree_add_object() to add an
object to the diagram tree window
(diagram_add_object_list): as above, but with an object list
(diagram_selected_break_external): deletion of objects from the
diagram is detected here, and diagram_tree_remove_object() is
invoked to remove the object from the diagram tree window (it
would be nice to have a diagram_remove_object() in the Diagram
interface)
(diagram_set_filename): update the diagram tree window when a
diagram's filename changes
* app/commands.c (file_new_callback): added call to
diagram_tree_add() to add newly created diagrams to the diagram
tree window
* app/app_procs.c (app_init): added call to create_tree_window()
* app/makefile.msc : updated
2001-10-28 Hans Breuer <hans@breuer.org>
* app/preferences.h (DiaPreferences):
* app/preferences.c (prefs_data): new "show_diagram_tree"
configuration option (whether the diagram tree window should be
shown on dia startup)
* app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
entry (both for GNOME and gtk)
* app/diagram.h (diagram_object_modified): callback notifying of a
diagram object modification
* app/diagram.c (diagram_load_into): added call to
diagram_tree_add() to add newly loaded diagrams to the diagram
tree window
(diagram_destroy): call to diagram_tree_remove() to remove a
destroyed diagram from the diagram tree window
(diagram_add_object): call to diagram_tree_add_object() to add an
object to the diagram tree window
(diagram_add_object_list): as above, but with an object list
(diagram_selected_break_external): deletion of objects from the
diagram is detected here, and diagram_tree_remove_object() is
invoked to remove the object from the diagram tree window (it
would be nice to have a diagram_remove_object() in the Diagram
interface)
(diagram_set_filename): update the diagram tree window when a
diagram's filename changes
* app/commands.c (file_new_callback): added call to
diagram_tree_add() to add newly created diagrams to the diagram
tree window
* app/app_procs.c (app_init): added call to create_tree_window()
2001-10-28 Hans Breuer <hans@breuer.org>
* plug-ins/python/pydia-property.c : apparently I missed
to commit this last time. Now it has some more SetAttr
support (apply from property)
* plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
* plug-ins/python/pydia-text.[ch] : new files
2001-10-14 Hans Breuer <hans@breuer.org>
* lib/charconv.c : g_locale_to_utf8() does not handle NULL
strings. Use g_strdup() for these.
libxml2 does not produce 'any extra indentation when saving a tree'
[libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
libxml(1). To get human readable XML some extra tweaking is required.
It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
* lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
* app/preferences.[ch] : initialize 'pretty_formated_xml'
* lib/libdia.def : updated externals
* lib/properties.h : add prototype for prop_list_from_single ()
* plug-ins/makefile.msc : build metapost plug-in
* plug-ins/metapost/render_metapost.c : msvc does not like
switch labels without operation 'default: }'. Added a noop.
* plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
* plug-ins/python/diamodule.c : added PyDiaText
* plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
Although the python plug-in does not use libxml at all, the
headers are required to use the lib/prop*.h headers
* plug-ins/python/pydia-diagramdata.c : added wrappers for
update_extents and get_sorted_selected (should I duplicate
more functions from PyDiaDiagram or should they be moved?)
* plug-ins/python/pydia-properties.c : allow to set (some) properties
through the dictionary api
* plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
* plug-ins/python/pydia-property.c : implement it (currently only
string properties can be set)
Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
Quoting myself: 'Still not convinced that this is better than an
integral property->type and some casting ...
It is trading a straightforward 40 lines switch statement to
this nice 'type safe' function mapping (about 125 lines)'
(But now it works again, better than changing the News file :)
2001-10-14 Cyrille Chepelov <chepelov@calixo.net>
patch from <robert.young@dsto.defence.gov.au>:
* objects/UML/component.c: remember to set font in UML component
object (fixes #62132)
2001-10-02 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/metapost/metapost.c:
* plug-ins/metapost/Makefile.am:
* plug-ins/metapost/render_metapost.c:
* plug-ins/metapost/render_metapost.h:
Metapost renderer from Chris Sperandio
2001-09-14 Hans Breuer <hans@breuer.org>
* app/render_gdk.c : reflect the fact, that GTK already talks
UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
* lib/font.c :
* app/render_libart.c : trying to fix #58045 but it appears
to be an Gdk/win32, too.
* lib/charconv.c : handle utf8 conversion with the help of
glib-1.3 even in the !HAVE_UNICODE case.
* lib/dia_xml.c : reduce complaing about missing encoding, by
detecting if the default (utf8) would break the file.
2001-09-13 Cyrille Chepelov <chepelov@calixo.net>
* lib/charconv.c: (get_local_charset): at least please try to not
silently change the logic, while avoiding crashes.
* lib/font.c: (suck_font): put a #error, we have a nasty something
to fix there before we switch to Gtk 2.0.
2001-09-09 Hans Breuer <hans@breuer.org>
* **/makefile.mingw : Approach to compile Dia with mingw.
Compiling mostly works but running does not (yet) ...
* lib/geometry.h :
- use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions.
Apparently mingw needs it too.
- enable 'normalization' of a null verctor. Otherwise the beziergon
bounding box calculation would be broken at least with msvc. What's
the mathematical correct result of 0.0/0.0 ?
* lib/dia_xml.c : isinf() for mingw too.
* lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw
and msvc)
* lib/charconv.c : still crashes if strcmp(NULL, "UTF-8").
Please don't do it.
* lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
* lib/libdia.def : updated externals. Apparently mingw needs
them to produce the right mangling.
* plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
and xmlDiaSaveFile
2001-09-08 Wang Jian <lark@linux.net.cn>
* configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
2001-09-07 Cyrille Chepelov <chepelov@calixo.net>
* lib/dia_xml_libxml.h:
* lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
libxml1's code, to rework the output file before it gets committed
to disk. This is rubbish, and will be removed when libxml2
switches from discouraged to mandatory.
All in all, this fixes #60152.
* lib/charconv.h:
* lib/charconv.c: (charconv_unichar_to_utf8):
made the type of the input parameter explicitly an unsigned long.
* configure.in: Added a check for libz (we must now include it
explicitly, for xmlDiaSaveFile).
* app/load_save.c: (diagram_data_save):
* lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
(dia_pluginrc_write):
* plug-ins/shape/shape-export.c: (new_shape_renderer),
(end_render), (draw_string):
* plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
(draw_string):
Made sure we always write UTF-8 XML files, and through
xmlDiaSaveFile().
* NEWS: documented that fact.
2001-09-07 James Henstridge <james@daa.com.au>
* configure.in (found_libxml): refactor the check for libxml a
little so that it handles finding both libxml1 and 2 better.
2001-09-03 Cyrille Chepelov <chepelov@calixo.net>
* app/app_procs.c: removed a spurious } which caused a compilation
error in the (!HAVE_GNOME && HAVE_POPT_H) case
* lib/charconv.c: (get_local_charset): some versions of iconv(1)
don't know what ANSI X3.4-1968 is. I didn't know until this day,
but it's just plain old ASCII. Added a check to shield the poor
XML library.
Patches from <robert.young@dsto.defence.gov.au>:
* lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
width and height of text before calculating bounds. Fixes #59928
* app/preferences.c: Moved grid related items into Grid Tab.
2001-09-02 Cyrille Chepelov <chepelov@calixo.net>
* app/interface.c: (create_zoom_widget): connected one more signal
to the Zoom selector combo's list. Fixes #59879.
* app/app_procs.[ch]: (app_init) (do_convert)
(build_output_file_name): brought back into the main executable
the rare useful bits of the ill-fated diaconv. This means we have
one new feature : --export-to-format (-t), which should make
writing conversion scripts easier, and a crude implementation of
-t and -e for the poptless argument parsing, which means the Win32
port should be able to take advantage of it (that should make
resolving #58197 possible).
* app/diaconv.c: kept the poor duck compiling (but that's about
it).
* plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
I've got it right).
* NEWS: updated about the new feature above, and documented the
"missing encoding specification" complaint.
2001-09-01 Abel Cheung <maddog@linux.org.hk>
* configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
2001-09-01 Cyrille Chepelov <chepelov@calixo.net>
* objects/standard/bezier.c: used g_new0 instead of g_new, to take
care of #59837.
2001-09-01 James Henstridge <james@daa.com.au>
* */Makefile.am: various changes to include missing files, and fix
sheets dir to handle building with builddir != srcdir.
* autogen.sh: unconditionally pass the --enable-maintainer-mode
and --enable-db2html flags so that builds from CVS work correctly.
* configure.in: increment version number. Also add an
--enable-db2html flag. Without the flag, db2html won't be run (if
the flag is passed and db2html is not present, do nothing).
2001-08-30 Cyrille Chepelov <chepelov@calixo.net>
* lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
even compiled. It's really too bad there is no lint tool easily
available (or a more cautious, pedandic, paranoid and verbose
compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
* app/load_save.c:
* dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
from <robert.young@dsto.defence.gov.au>. Fixes #59591.
* app/menu.c: added ellipsis(...) to diagram properties menu item.
* app/dia-props.c: diagram properties dialog contents did not
represent current diagram settings.
* app/dia-props.[ch]:
* app/display.c: diagram properties contents now follows currently
selected diagram.
Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
* AUTHORS: added Robert Young.
2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
* app/modify_tool.c: (modify_button_release): Patch from
<robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
#59090: if selection dragging was released outside of the window,
artifacts of the selection box remained.
2001-08-25 Cyrille Chepelov <chepelov@calixo.net>
* Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
2001-08-19 Cyrille Chepelov <chepelov@calixo.net>
* configure.in:
* sheets/Makefile.am: prepared the terrain for the Version of
xml-i18n-tools Which Comes After 0.9 (and which will feature at
last a sane behaviour with XML files). Some reasonible delay
before enforcing that version *will* be given.
* xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
* lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
becomes a nonexistent symbol.
2001-08-18 Hans Breuer <hans@breuer.org>
* app/app_procs.c : made it compile without ENABLE_NLS
* app/diap_callbacks.c : strcmp isn't guaranteed to work
with NULL pointers
* app/load_save.c :
* lib/plug-ins.c :
* objects/custom/shape_info.c : avoid mixing allocators and dealocators.
It has to be :
xmlGetProp, ... -> xmlFree
malloc, strdup -> free
g_new, g_malloc, g_strdup - > g_free
* app/win32print.c : some more error checking, still not
working on Win9x
* lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
* lib/dia_xml.c : msvc still has no unistd.h
* lib/dia_xml.c :
* lib/sheets.c : temporary resolved libxml include brokeness
* plug-ins/python/pydia-*.c : reflect Font and StdProp api
changes. Compiles again, but doesn't do anything useful anymore.
(see THE_PROP_TYPE_IS_INTEGRAL)
* **/makefile.msc : updated to use LIBXML2
* lib/libdia.def : reflect api changes
2001-08-17 Cyrille Chepelov <chepelov@calixo.net>
* config.h.win32: added defines telling that gtk speaks UTF8.
Hans, I believe this reflects what GTK on Win32 does.
* app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
strings.
* lib/prop_inttypes.c:
* lib/prop_text.c:
* lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
code path.
* lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
search for plug-ins is done.
* app/Makefile.am: made app/run_dia.sh use the // capability. No
need to update this anymore if we get a new plug-in library (or
remove one).
* lib/dia_xml.c: #include <unistd.h> was missing.
* lib/properties.h:
* lib/proplist.c: (pdtpp_defaults): Added a new flag,
PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
support.
2001-08-16 Cyrille Chepelov <chepelov@calixo.net>
* sheets/civil.sheet: removed duplicate "Danish" entries.
* autogen.sh:
* configure.in:
* .cvsignore:
* sheets/Makefile.am:
* po/POTFILES.in:
* Makefile.am: applied the xml-i18n-tools README's instructions.
* po/(da de fr hu nl nn no sl).po: merged the translations from
the sheet files into the .po files. I hope I haven't mixed
languages...
* sheets/*.sheet (REMOVED):
* sheets/*.sheet.in (NEW): moved the sheet files sans
translations into .sheet.in files.
* sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
because we don't yet want to force all translators to work using
UTF-8 editors. We'll want to do that sometime (sooner rather than
later). Okay, I sing a slightly different tune in po/ChangeLog...
* dia.desktop (REMOVED):
* dia.desktop.in (NEW): used also the x18t infrastructure for
this too.
* xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
"official" version of x18t with support for .sheet files is available.
* xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
"official" version of x18t which doesn't corrupt UTF-8 data in XML
is available.
** yes, we are now using xml-i18n-tools to manage the sheet
translations. For the Win32 build, Nemo stores snapshots of
translated strings next to the CVS snapshots. **
* sheets/checktrans.py: suddenly, some sheets have lots of
translations (objects which existed before sheets, mostly).
Adapted the formatting.
* po/README (REMOVED): this is obsolete ! It was ignored, anyway.
* app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
* app/modify_tool.[ch]: (modify_motion): A (modified) patch from
<robert.young@dsto.defence.gov.au>, to fix #59090.
* app/display.c: (ddisplay_scroll): While at it, added some
margin, so that autoscrolling can happen within a margin outside
the diagram's extents.
* app/tool.[ch]:
* app/interface.c:
* app/disp_callbacks.c: Robert "forced" me to go when I usually
don't, namely the app/ directory. So while I was there, I
scratched a long-time itch. If no object has focus, pressing the
space bar will select back the tool which was selected before the
current one (I find this especially useful with "reset after create" !)
* lib/proplist.c: (prop_list_from_single): Renamed
prop_list_singleton() to avoid confusion with the Singleton
pattern (which it definitely is not).
* lib/propobject.c: (object_prop_by_name_type),
(object_prop_by_name): The "flags" parameter was not necessary.
These don't return synthetic properties, but properties built from
a real property description list; therefore, we don't call
make_new_prop() but use the existing property descriptor, which
has perfectly valid (and meaningful) flags.
* lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
new predicates better reflect the reason why properties exist when
they're created by make_new_prop() or object_prop_by_name().
* lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
* lib/prop_basic.c: (make_new_prop): used the new reasons instead
of pdtpp_true().
* lib/properties.h: reflects all the above changes.
* objects/SADT/arrow.c:
* objects/SADT/annotation.c:
* sheets/SADT.sheet: minor renamings to better match FIPS 183's
IDEF0 terminology.
2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.h:
* lib/proplist.c: (prop_list_singleton):
* lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
Added these, to simplify interactions of plug-ins with the StdProp
core.
* lib/Makefile.am:
* lib/dia_xml.h:
* lib/dia_xml_libxml.h (NEW):
* app/load_save.c:
* lib/dia_xml.c:
* lib/plug-ins.c:
* lib/sheet.c:
* objects/custom/shape_info.c: A few prototypes were causing
#include hell, because we generally attempt to not pull the whole
libxml header set when we include dia_xml.h. Moved those
prototypes away for the rare cases they're necessary.
2001-08-15 Hans Breuer <hans@breuer.org>
* lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
* lib/libdia.def :
* lib/makefile.msc : updated
* lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
use G_GNUC_FUNCTION instead.
* lib/prop_inttypes.c : include <stdlib.h> for strtol()
* objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
msvc instead of cleaning missing includes
* plug-ins/wmf/wmf.cpp :
* plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
* app/app_procs.c:
* app/load_save.c:
* lib/dia_xml.c:
* lib/plug-ins.c:
* lib/sheet.c:
* objects/custom/shape_info.c:
* plug-ins/shape/shape-export.c:
* plug-ins/svg/render_svg.c: used the libxml1/libxml2
compatibility macros as taught by http://xmlsoft.org/upgrade.html;
removed xmlKeepBlanksDefault(0) in favour for proper
xmlIsBlankNode() testing. Lots of other fixups to use the
"libxml1.5" (libxml2 parser embedded in recent libxml1), and to
make libxml1 output correct files.
* configure.in: use libxml2 (>= 2.3.9) if it's found, or
libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
packages). If both devel packages are found, the build will stop
(Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment)
* lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
allocate the first handle :-)
* lib/object.c: (object_init): <gratuitous>g_new() used instead of
a cast and a sizeof.</gratuitous>
* objects/custom/custom_object.c: (custom_copy): don't call
text_get_attrbutes if the shape has no text...
(custom_update_data): The info->resize_with_text code was a bit
directive; basically, the shape's bounding box was forced to be
proportional to the text's bounding box.... This fixes #57187.
* objects/custom/shape_info.c: (load_shape_info): Set an obvious
default for info->aspect_ratio; unobfuscated a line about
info->resize_with_text;
2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.h: added comments next to the PROP_TYPEs to tell
which C Property subclass to use.
* plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
cast-ridden form of setting properties in a list, in favour for
the "local pointers" form. I'll take any better offer...
2001-08-14 Cyrille Chepelov <chepelov@calixo.net>
* lib/font.c: fprintf(...) --> fprintf(format...)
* configure.in: added a disabled versioned test for glib.
* lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
(bezpointarrayprop_load), (bezpointarrayprop_save): replaced
g_critical() with a simple g_error(). Proper fix is to implement
that stuff.
* lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
PROP_TYPE_STRING.
* lib/properties.h:
* lib/propdesc.c: (prop_desc_list_calculate_quarks):
* lib/proplist.c: (find_prop_by_name_and_type):
* lib/prop_basic.c: (make_new_prop), (initialize_property):
* lib/propoffsets.c: (do_set_props_from_offsets),
(do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
Added a type_quark member to PropDescription, Property and
PropOffset. Used it to implement a safety in
do_[sg]et_props_from_offsets().
* objects/flowchart/diamond.c: the diamond's text was not saved,
and thus not even copied (c&p).
* objects/standard/textobj.c: ditto.
Most of the above changes thanks to Robert Young's testing. Thanks !
2001-08-14 Kjartan Maraas <kmaraas@gnome.org>
* sheets/*.sheet: Added some Norwegian translations (both nynorsk
and bokmål).
2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
* lib/proplist.c (prop_list_from_descs): added a call to
prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
too embarrassing to tell.
* lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
while loop to a for loop, for symmetry with
prop_offset_list_calculate_quarks().
* lib/geometry.h: new inline function, rectangle_equals.
* lib/diagramdata.[ch]: refactored a bit the diagram extents
computation logic, and changed it to always be the union of the
visible layers' extents. This should close #58882 (Debian
#107167), and fixes #55498.
* app/display.c: made the initial visible box more coherent with
the diagram being loaded's extents.
* app/prop_attr.c: don't set the font (from offset) if font_data
is NULL. Two brainos in colorprop_load() and fontprop_load().
2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.[ch]: split in a lot of pieces:
* lib/prop_*.[ch] (NEW): all property types are now first-class
objects, inheriting from the original abstract Property type.
* lib/propdesc.c (NEW): property description handling routines
* lib/propoffsets.c (NEW): property offset handling routines
* lib/proplist.c (NEW): property list handling routines
* lib/propobject.c (NEW): property list <-> object routines
* lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
relations.
* lib/propinternals.h: prototypes for stuff not usually needed by
the outside of StdProps.
* lib/Makefile.am: a lot of new files have been added...
THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
BOTH INTERFACES AND RUN-TIME STABILITY.
* lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
* lib/object.h: removed the incestuous relationship with
properties.h' contents. Now a Property list is a GPtrArray -->
object interface change !
* app/app_procs.c/app_init(): removed a disabled call to a
non-existent routine. Added a call to stdprops_init().
* objects/Makefile.am: disabled the construction of EML. I'm not
touching these until a certain issue is solved (or this module
removed).
* app/group.c:
* objects/**/*.c except objects/EML/*: adapted all stdprop-using
objects to the interface changes.
* app/disp_callbacks.c: killed a warning.
* lib/dia_xml.[ch]: sprinkled "const" modifiers.
* app/commands.c:
The macros PROP_VALUE_* have disappeared. Adapted to using the new
interface.
* plug-ins/dxf/dxf-import.c:
* plug-ins/xfig/xfig-import.c:
PROP_VALUE_* macros have been removed. Converted to the new API.
* plug-ins/python/**/*: I gave up converting this; I can't
compile --with-python (problems with object.h defined both by us
and by Python). I'll gladly help whomever cares to fix it !
(or, fix it myself if someone tells me how to compile it).
* configure.in: added the UNICODE-related progress defines.
* configure.in:
* lib/geometry.h: On Solaris and perhaps other systems, finite()
is defined in ieeefp.h rather than in math.h. Patch from Andrew
Halper <ashalper@acm.org> with further modifications, isinf() is
provided by -lsunmath (sunmath.h).
* lib/font.c: conditionally disabled Lars' debugging messages.
Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
2001-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/bezier_conn.h:
* objects/standard/bezier.c (bezierline_create):
* lib/bezier_conn.c (bezierconn_init):
Preparations for use of userdata for bezier lines.
* objects/standard/polygon.c:
* objects/standard/create.h:
* lib/polyshape.c:
* lib/polyshape.h:
* plug-ins/xfig/xfig-import.c:
Use of user_data for polygon as well, including adding
polyshape_set_points. Include file for non-interactive
creation of standard objects, objects/standard/create.h
2001-08-10 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_gdk.c:
* app/render_gdk.h:
* lib/font.c:
* lib/font.h:
* lib/widgets.c:
More preliminary freetype support. Not at all functional, crashes
when rendering.
* lib/poly_conn.h:
* lib/poly_conn.c:
* objects/standard/polyline.c:
Support for creating polyline objects with more than two points.
This includes an extra function and a prototype change in the
poly_conn lib object.
* lib/object.c (object_copy): Fixed memory leak of handles and
connections.
2001-08-08 Abel Cheung <maddog@linux.org.hk>
* dia.desktop: added traditional Chinese strings
2001-08-04 Cyrille Chepelov <chepelov@calixo.net>
* NEWS: updated to reflect build-time dependencies.
* lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
around obj->ops->describe_props(obj). Quarks are none of an
object's business in the general case...
* lib/text.c: Added an apply_textattr_properties() function to
factor out some common code related to applying a dialog's text
attribute properties to a (Text *) which wasn't edited there.
Ditto for textstr, for the string part of an objet.
* objects/GRAFCET/action.c:
* objects/SADT/annotation.c:
* objects/SADT/box.c: used apply_textattr_properties().
* objects/UML/actor.c:
* objects/UML/branch.c:
* objects/UML/component.c:
* objects/UML/constraint.c:
* objects/UML/small_package.c:
* objects/UML/state.c:
* objects/UML/usecase.c:
* objects/UML/large_package.c:
* objects/UML/note.c:
* objects/UML/node.c:
* objects/UML/message.c:
* objects/UML/classicon.c:
* objects/UML/object.c:
* objects/UML/realizes.c:
* objects/UML/dependency.c:
* objects/UML/implements.c:
slim-fast(tm) cure using more StdProps, and UTF-8 audit.
(most objects were already using StdProps to some extent ; this
systematises usage and removes some dead wood).
* objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
* objects/UML/uml.[ch]: audited for UTF-8.
* objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
private (ISO-8859-1) definition.
* lib/charconv.c: Added a warning if we didn't run
nl_langinfo(CODESET) but rely instead on a hardcoded default.
2001-08-02 Cyrille Chepelov <chepelov@calixo.net>
* lib/diamenu.h:
* app/disp_callbacks.c: added a way for an object to cause an
already realised menu to be destroyed (for instance if it changes
too much).
* objects/custom/custom_object.c: used the above to fix #55073.
2001-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
* configure.in: Remove 2.50 prereq.
2001-07-30 Cyrille Chepelov <chepelov@calixo.net>
* po-checktrans.py: under some circumstances, there was one column
more than what was supposed to be, thus breaking the formatting.
2001-07-29 Cyrille Chepelov <chepelov@calixo.net>
* objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
* NEWS: updated with new stuff since 0.88
* shapes/network/antenna.shape: the text was misplaced ; fixed.
* shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
firewall router (upon request from Cyril Lacoux
<clacoux@easter-eggs.com>)
* configure.in (didn't rename to configure.ac): autoconf 2.50
constructs were used ; added an AC_PREREQ call to guard against
older autoconfs.
2001-07-27 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.c: minor clean-ups with the event delivery code.
* EML/instantiation.c: brought this object back from stone and ice
age.
* app/diaconv.c(NEW): added a command-line conversion tool. Still
lacks a man page and correctness. In fact, it doesn't work. Please
see #58196 if you want to finish it.
* lib/message.[ch]: redefined things a little so that a different
message_internal routine could be passed.
applications can use that to fit themselves to the display model.
2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
* objects/SADT/box.c:
* objects/GRAFCET/action.c: spelling in property descriptors (name
field...)
* objects/SADT/annotation.c: ditto, plus a temporary test of the
event delivery code (try to click on the "click me !" button !).
* app/group.c:
* lib/properties.[ch]: improved (fixed) support for group event
handlers. Fixed various things from yesterday's code to make it
not too obviously crash.
2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
* app/group.c: added delivery of events to the first member of the
group which is able to process it.
* lib/properties.c(prop_desc_lists_intersection): properties
don't match if they don't have identical event handler.
* lib/properties.h: simplified the PropEventHandler signature.
Event delivery code is still untested so far, but should be
lurking harmless.
2001-07-25 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.[ch]: Added (untested !) property event handler
capability. Added a new PROP_TYPE_BUTTON, for the purpose of
generating such events. This stuff compiles, and should lurk
around silently as long as you don't declare property descriptors
with events (AFAICT).
In object_create_props_dialog() and friends:
attached a single structure with lots of data instead of lots of
little attachments of data to the dialog widget.
* lib/object.h: fixed mild typedef breakage introduced by the above.
2001-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
* lots of files: Changed Font to DiaFont
* */Makefile.am: Added FREETYPE_LIBS
* plug-ins/xfig/xfig-export.c: Improved (working:) color handling
2001-07-13 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added "nn" to ALL_LINGUAS.
2001-07-09 Alex Larsson <alexl@redhat.com>
* app/disp_callbacks.c:
Add gdk_im_ready() calls to XIM code.
2001-07-04 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.[ch]: splitted prop_get_widget() into
prop_get_widget() (gives a widget but doesn't fill it) and
prop_reset_widget() (fills an existing widget with a property's value).
* lib/widgets.[ch]: const enforcement police work.
* shapes/network/antenna.shape: added a connection point at top,
upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
2001-06-25 Cyrille Chepelov <chepelov@calixo.net>
* intl/*: tested with gettext-0.10.38
* configure.in: moved a macro call around (AM_PROG_CC) to keep
some of autogen.sh from complaining.
* INSTALL: added a warning against gettext older than at least 0.10.36
2001-06-19 Cyrille Chepelov <chepelov@calixo.net>
* configure.in: added explicit calls to AM_LANGINFO_CODESET and
AM_ICONV (both provided by gettext)
2001-06-14 Cyrille Chepelov <chepelov@calixo.net>
* lib/charconv.c: corrected the degraded mode for when
!HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.
* objects/chronoline/chronoline_events.c: UTF8 compliance.
2001-06-13 Cyrille Chepelov <chepelov@calixo.net>
* lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay
widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
into a frame box.
* objects/chronogram/chronoline.c:
* objects/chronogram/chronoref.c: took advantage of the above to
make nicer looking dialogs.
* lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
from libunicode's internals).
* lib/message.c: convert strings to local encoding prior to
display (UNICODE_WORK_IN_PROGRESS)
* lib/properties.[ch]: convert strings to local encoding prior to
display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
* lib/render.h: tagged strings as (utfchar *) instead of (char *)
* lib/stringprerenderer.[ch]: ditto
(lib/text.c has been audited for UTF8, but the size of the changes
make them inappropriate for commit before 0.89)
2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
* objects/boolequation.h (<save|load>_boolequation): made the
prototypes for match the .c file.
* samples/grafcet.dia: minor non-conformance with IEC-848
fixed (in the transition from step 100 to step 101).
* lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
disallow editing of properties if the object is part of a group.
* objects/chronogram/chronoline.c:
* objects/SADT/annotation.c:
* objects/SADT/box.c:
* objects/GRAFCET/step.c:
* objects/GRAFCET/transition.c:
* objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
2001-06-12 Hans Breuer <hans@breuer.org>
* lib/libdia.def : removed lazyprop exports
* lib/makefile.msc : removed lazyprop.obj
* objects/custom/custom_objects.c : use HAVE_UNISTD_H
and avoid crashes by always creating a custom->text,
when (custom->info->has_text)
* objects/makefile.msc : removed sybase from build
* objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
ObjectNode is a pointer already, which is what we want
instead of a pointer pointer.
* plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
and implemented working export for images
* shapes/network/zip-disk.shape : added connection points
2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
* objects/SADT/box.c: removed lazyprops for standard props.
* objects/chronograms/chronoline.c: removed lazyprops (phew !)
* objects/chronograms/chronoref.c: ditto
* lib/Makefile.am:
* lib/dummy_dep.h:
* lib/connpoint_line.c:
* lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
* lib/properties.[ch]: new property types:
- PROP_TYPE_STATIC: static text to be displayed in the dialog.
- PROP_TYPE_MULTISTRING: same as string, but renders as a
multi-line entry box.
- PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
in a tabbed-notebook style (this is a bit complicated to use;
see objects/chronograms/chronoline.c for an example).
2001-06-11 Cyrille Chepelov <chepelov@calixo.net>
* objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
* objects/GRAFCET/step.c: ditto.
* objects/GRAFCET/vector.c: ditto.
* objects/SADT/annotation.c: ditto.
* objects/SADT/arrow.c: ditto (plus bounding box fixes).
* lib/properties.[ch]: two more non-visible types
(PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
* lib/neworthconn.[ch]:
* lib/orthconn.[ch]: added support for manipulation through
standard properties.
* configure.in: removed -fomit-frame-pointer, this seems to
confuse recent gcc/gdb's, maybe we'll get better stack dumps in
bugzilla.
* charconv.[ch]: more functions from unicode.h.
get_local_charset() wasn't working properly, fixed now.
A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to
ElectricFence !)
* objects/EML/process.h: pulled the bits of lazyprops.h it uses.
* lib/lazyprops.[ch]: put a big fat warning in.
* app/render_eps.c: one line mysteriously went away, causing a
variable to be used uninitialised....
2001-06-10 Cyrille Chepelov <chepelov@calixo.net>
* app/app_procs.c: commented out the call to
bind_textdomain_codeset(): it's premature.
* lib/connpoint_line.c: a NULL point can be given to
connpointline_adjust_count(), in case there's not really a clicked
point.
* lib/textattr.h(NEW): moved the definition of TextAttributes to sort
#include order troubles. #included by lib/text.h, so there is no
impact outside lib/.
* lib/properties.[ch]: added support for CONNPOINT_LINE and
(nonvisible) TEXT properties.
* objects/GRAFCET/action.c:
* objects/GRAFCET/vergent.c: dropped lazyprops for standard
properties.
* objects/UML/lifeline.c: pruned some legacy stuff (now pure
standard properties code). Grafted a dynamic number of connection
points (heavily inspired from what Vergent does). This is the real
fix for #55863.
* objects/GRAFCET/boolequation.[ch]: audited for UTF-8
* lib/fonts.c: some hardening (mostly g_assert())
2001-06-09 Cyrille Chepelov <chepelov@calixo.net>
* app/app_procs.c (app_init): added a call to
bind_textdomain_codeset() so that gettext gives us UTF-8 strings
(UNICODE_WORK_IN_PROGRESS).
2001-06-08 Cyrille Chepelov <chepelov@calixo.net>
* plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
* objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch>
(fixes #55863) : some clean-ups in the handling of connection
points. Now the total number of connection points is just a
#define (the proper solution is to retrofit the GRAFCET Vergent's
dynamic behaviour wrt connection points).
2001-06-07 Cyrille Chepelov <chepelov@calixo.net>
* app/app_procs.c (app_init): added a call to unicode_init() (only
if HAVE_UNICODE, of course).
* lib/charconv.c: simplified the code which detects the local
charset. No need to use <langinfo.h>, libunicode already takes the
burden of figuring that out. Also, if local charset is utf8, no
conversion will take place.
Exposed a way to get the current charset (similar to
unicode_get_charset() but actually working, hopefully).
* lib/charconv.h: Added a partial non-UTF8 implementation of
unicode.h if !HAVE_UNICODE (actually, all the time for the
moment). The UTF8 implementation is just macros on libunicode (use
the functions prefixed by uni_, as defined by charconv.h, not
unicode_, unless that code is to be compiled only if HAVE_UNICODE).
From now on, all strings which don't *need* to be ASCII should be
utfchar *, not gchar *. Just include charconv.h, let it sort out
the details (such as: "is libunicode available and enabled?")
* lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
"API" instead of directly libunicode. Removed the now unnecessary
speculative clustering of characters in encoding pages.
* app/render_eps.c: made the local8->utf8 conversions dependent of
!UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
boundary will be when this WIP is done).
* lib/dia_xml.c (data_point): fixed a format string typo.
* po/POTFILES.in: added all C files from lib/
2001-06-06 Cyrille Chepelov <chepelov@calixo.net>
* app/disp_callbacks.c: make sure the objects' connected objects
are updated when the objects' size changes after a keypress event
(fixes #51222)
* configure.in: added a big warning about the possible future
non-optionality of --enable-unicode.
* TODO: removed entries which look like done ; added a few ones
(Bugzilla "enhancement" bugs may be a better way to keep track of
this)
2001-06-05 Cyrille Chepelov <chepelov@calixo.net>
* objects/UML/message.c: got rid of #55564 and of message_copy()
by using more standard properties (are the message_state_*()
functions still necessary ?)
2001-06-04 Fredrik Hallenberg <hallon@lysator.liu.se>
* lib/plug-ins.c:
* objecs/custom/shape_info.c:
* plug-ins/shape/shape-export.c:
* plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
use xmlChar instead of obsolete CHAR.
2001-06-03 Hans Breuer <hans@breuer.org>
* app/diagram.h : added prototype for diagram_update_menu_sensitivity()
* app/commands.c : give the right number of parameters
to diagram_update_menu_sensitivity ()
* app/preferences.c : do proper initialization for DiaPrefsData:
render_bounding_boxes. It would be a real surprise if 'hidden'
properties would have ever worked before.
Don't try to access the widgets of hidden property, it does not
have one.
* lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
it is defined in libdia, but initialized from dia app, which
otherwise gave nice start-up crashes.
* lib/diagramdata.c : initialize the color for rendering bounding
boxes in the Dia range (0 .. 1.0)
* lib/libdia.def : added *_bbox functions for export
* lib/makefile.msc : added new sources
* objects/custom/custom_object.c : use HAVE_UNISTD_H
2001-05-30 Cyrille Chepelov <chepelov@calixo.net>
* app/interface.c:
* app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
removes a translation of menus (in a place where there shouldn't
have been), which gets rid of a waterfall of warnings if LANG!=C,
and a fix to #55047.
2001-05-29 Steffen Macke <sdteffen@yahoo.com>
* lib/charconv.c : added #include <errno.h>
* app/dia_embedd.c : updated menus_get_item_from_path usage
2001-05-27 Cyrille Chepelov <chepelov@calixo.net>
* lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
Added a special case for Symbol strings, so that they're not
re-encoded using the LN encoding (we use the bare Adobe encoding
instead).
* objects/custom/custom_object.c: Now that #52912 is fixed,
I could remove the ugly hack I wrote to squash the shape bounding box
problem shown by Ben A. Hetland a few months ago, and fix it
properly this time.
* lib/text.c: enlarged a little the bounding box to account for
the cursor in rightmost position.
* lib/diagramdata.c: draw bounding boxes only if the relevant
variable is set (as before), but also only if the rendere is
interactive (ie, don't bother rendering bounding boxes on
Postscript...)
Made the bounding box's line width a fixed value, 0.01
* lib/boundingbox.c: fixed the "pointy corners" code for polylines
and assymmetric control beziers. Implemented ellipse_bbox().
* Makefile.am: incantations to get po/dia.pot build, as suggested
by Hubert in #55075.
* shapes/network/computer.shape: typo fixed.
* shapes/network/antenna.shape: fixed #55074 (antenna is now
properly translucent, except for its base where it makes sense. It
doesn't look that ugly anymore if transparent mode is on).
* configure.in: --enable-unicode is now the default. This
still currently affects only printing.
2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
* lib/boundingbox.c: fixed a minor logic error wrt closed shapes.
The overshoot code is buggy, and the bounding boxes for polyshapes
looks a bit cheezy. To be done ASAP.
2001-05-26 James Henstridge <james@daa.com.au>
* configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
This should clear up some of the build problems people have been
having.
* acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
* lib/Makefile.am:
* lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
box code (beginning with lines, polylines and polybeziers), into a
more generic facility. While at it, a better shot at correctly
computing the bounding box of a Bezieroid (should take care of
#53424, #51233 and of course is part 1 of #52912).
* lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
into a hidden preference (set render_bounding_boxes in diarc).
* app/preferences.[ch]: Added support for hidden preferences.
* lib/geometry.[ch]: sprinkled with "const" modifiers.
* lib/bezier_conn.[ch]:
* lib/beziershape.[ch]:
* lib/connection.[ch]:
* lib/element.[ch]:
* lib/poly_conn.[ch]:
* lib/orth_conn.[ch]:
* lib/neworth_conn.[ch]:
* lib/polyshape.[ch]: adapted to take advantage of
boundingbox.[ch] instead of relying on private (duplicate) code.
* object/FS/flow.c:
* object/GRAFCET/action.c:
* objects/GRAFCET/condition.c:
* objects/GRAFCET/vergent.c:
* objects/GRAFCET/vector.c:
* objects/SADT/annotation.c:
* objects/SADT/arrow.c:
* objects/ER/participation.c:
* objects/UML/constraint.c:
* objects/UML/implements.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/realizes.c:
* objects/UML/generalization.c:
* objects/UML/association.c:
* objects/UML/dependency.c:
* objects/FS/flow-ortho.c:
* objects/network/bus.c:
* objects/standard/arc.c:
* objects/standard/bezier.c:
* objects/standard/beziergon.c:
* objects/standard/line.c:
* objects/standard/polygon.c:
* objects/standard/zigzagline.c:
* objects/standard/polyline.c: Some *BBExtras structures changed
names while moving to boundingbox.[ch]. A trivial mass-renaming.
2001-05-20 Cyrille Chepelov <chepelov@calixo.net>
* app/disp_callbacks.c (ddisplay_canvas_events): Take into account
wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
* app/display.c (ddisplay_update_scrollbars): from Patrick's
suggestion, remove the extra scrollable area (it was only visible
to the scrollbars). This is experimental.
* objects/custom/custom_object.c: If a shape's icon file doesn't
exist, warn and substitute a default icon, instead of crashing.
(fixes #52913)
* objects/network/network.c:
* shapes/network/modularswitch.(shape|xpm) (NEW):
* shapes/network/printer.(shape|xpm) (NEW):
* shapes/network/genmonitor.(shape|xpm) (NEW):
* shapes/network/computer.(shape|xpm) (NEW):
* shapes/network/Makefile.am: four less objects, four more shapes.
These were the last known RenderObjects. (phew !)
* lib/Makefile.am:
* lib/dummy_dep.h:
* objects/sybase/Makefile.am:
* objects/network/Makefile.am: Removed the older Renderobjects
from the build, and their infrastructure (not yet deleted,
though).
* shapes/network/sceadplug.shape:
* shapes/network/antenna.shape:
* shapes/network/modem.shape:
* shapes/network/hub.shape:
* shapes/network/rj45plug.shape:
* shapes/sybase/client.shape:
* shapes/sybase/dataserver.shape:
* shapes/sybase/ltm.shape:
* shapes/sybase/repserver.shape:
* shapes/sybase/rsm.shape:
* shapes/sybase/stableq.shape: Minor corrections (line widths were
ten times too narrow).
2001-05-19 Cyrille Chepelov <chepelov@calixo.net>
* objects/network/network.c:
* shapes/network/sceadplug.(shape|xpm) (NEW):
* shapes/network/antenna.(shape|xpm) (NEW):
* shapes/network/modem.(shape|xpm) (NEW):
* shapes/network/Makefile.am: four less objects, four more shapes.
* lib/Makefile.am:
* lib/diagramdata.c:
* lib/render.h:
* lib/string_prerenderer.[ch] (NEW):
Add a new renderer primitive, predraw_string() (does nothing, to be
used as a hook to optimise the character encodings if needed).
Added a string pre-renderer, which can be viewed as a filter
renderer (to route draw_string() to predraw_string() and ignore
the rest, in a first rendering pass)
* app/render_eps.c: Took advantage of the above to make wholly
optimised Postscript encoding page(s), even (especially) with
non-latin1 code (HAVE_UNICODE must be true).
(#53512 in fact is wholly resolved).
2001-05-18 Cyrille Chepelov <chepelov@calixo.net>
* lib/charconv.c: steps towards resolution of #53512 (inspired by
Alexey Novodvorsky <aen@logic.ru>'s patch).
* app/menus.c (dia_menu_signal_proxy): checked that the signal
handler is not NULL before transferring control to it... (fixes #52836)
* app/app_procs.c (app_init): removed non-constant initialiser
(fixes #52950)
* objects/custom/custom_object.c:
* objects/custom/shape_info.[ch]:
* objects/custom/test.xml: merged patch #53476 from Steven Hawkins
<skh@mathstar.com>. This add support for a <svg:text> shape
element, and some related style properties (font, font height,
alignment)
* doc/custom_shapes: a precision about the meaning of case in a
SVG path (closes #52364)
* lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
fixed by <drk@sgi.com>)
2001-05-17 Cyrille Chepelov <chepelov@calixo.net>
* objects/network/network.c:
* shapes/network/Makefile.am:
* shapes/network/hub.(shape|xpm) (NEW):
* shapes/network/flash.(shape|xpm) (NEW):
* shapes/network/rj45plug.(shape|xpm) (NEW):
More shapes, less renderobjects.
2001-05-16 Cyrille Chepelov <chepelov@calixo.net>
* plug-ins/svg/render_svg.c: typo made exported ellipses
corrupted (zero Y pseudo-radius).
* objects/network/network.c:
* objects/network/disc.c:
* shapes/network/disc.(shape|xpm): Converted the first
Renderobject into a shape. Normally, old diagrams should reload
without problems (please check this against your diagrams). More
flexibility should be gained that way. I intend to hunt and
eradicate all renderobjects as I can commit cycles to that.
* objects/Makefile.am:
* configure.in:
* app/Makefile.am:
* objects/sybase/sybase.c:
* shapes/sybase/Makefile.am(NEW):
* shapes/sybase/client.(xpm|shape) (NEW):
* shapes/sybase/dataserver.(xpm|shape) (NEW):
* shapes/sybase/ltm.(xpm|shape) (NEW):
* shapes/sybase/repserver.(xpm|shape) (NEW):
* shapes/sybase/rsm.(xpm|shape) (NEW):
* shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
renderobjects into shapes. The Sybase objects are now not compiled
anymore, and ready to be nuked if nobody objects in the next few weeks.
* app/commands.c:
* app/diagram.[ch]:
* app/disp_callbacks.c:
* app/display.[ch]:
* app/interface.[ch]:
* app/menus.[ch]:
* app/modify_tool.c:
* app/preferences.[ch]:
* app/recent_files.c:
* app/select.c: Added patch #52364 from Hubert Figuiere. This adds
a menu bar reflecting the popup menu, to each display window. This
is optional (changing the preference currently doesn't affect
already opened windows; a few other rough edges to cut).
* plug-ins/wpg/wpg.c:
* plug-ins/xfig/xfig-import.c:
* plug-ins/python/pydia-property.c:
* plug-ins/python/pydia-properties.c:
* plug-ins/python/pydia-geometry.c:
* plug-ins/pstricks/render_pstricks.c:
* lib/arrows.c:
* objects/EML/dbox.c:
* lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix
#53054.
* lib/ps-utf8.c: improved the clustering of alphabetic character
definitions in custom encodings pages.
2001-05-02 Hans Breuer <hans@breuer.org>
* lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type
of 'obj_bb' to PROP_TYPE_RECT
* objects/custom/custom_object.c : take all quarks into account,
not only 4 as copy&paste suggests
* objects/uml/objects.c : completed the implementation of the
property api to avoid reading of totally bogus data. Removed
the PROBABLY_DEAD_CODE. It actually was dead code, but not because
there was too much but too less ...
The above changes removed all known crashes (mentioned below)
from the Property API. Property access is still incomplete though.
* objects/flowchart/box.c :
* objects/flowchart/diamond.c :
* objects/flowchart/ellipse.c :
* objects/flowchart/parallelogram.c :
* objects/uml/classicon.c :
* objects/uml/state.c : calculate number of quarks from quark array
size instead of using hardcoded values for consistence and to avoid
future bugs like the above
* objects/eml/nlist.c : include <string.h> for strcmp()
* lib/dia_xml.c : relax g_warning for values, which
appear to be too small. There is nothing which prevents
them while saving
* plug-ins/python/pydia-geometry.c : changed stringifying of
geometry objects accept BezPoint back to %f, which does not
crash anymore, because all the data is intialized now and it
simply is more readable than %e ...
* plug-ins/python/python-startup.py : removed dependency
to PyGtk, because it isn't required here and probably won't
in i.e.: export filters.
* plug-ins/python/gtkcons.py : create the gtkoutfile even
if sys.stderr.fileno() isn't supported
* app/makefile.msc : make version 0.88
* plug-ins/makefile.msc : make version 0.88 an added new
xfig files to build
2001-05-11 James Henstridge <james@daa.com.au>
* NEWS: remember to add news items this time.
* dia.spec: update spec file for 0.88 release.
* configure.in: up version number to 0.88
* plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
preventing any of the useful python scripts from being
distributed.
* sheets/Makefile.am (sheet-translation-report): fix bustage I
introduced in my fixups for the 0.87 release :(
2001-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-import.c: Finally got groups working.
2001-05-09 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-import.c: Improvements to error handling and
group manipulation.
2001-05-09 Cyrille Chepelov <chepelov@calixo.net>
* lib/ps-utf8.[ch]:
* lib/Makefile.am: fix makefile breakage which led to not
including ps-utf8.[ch] in the released tarballs.
2001-05-09 James Henstridge <james@daa.com.au>
* Makefile.am (core-translation-report): dist scripts needed for
this target, and change to $(srcdir) before running.
* sheets/Makefile.am (EXTRA_DIST): actually dist the sheets. DATA
files aren't automatically included in the tarball by automake
because they could be generated files.
* objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
* doc/en/Makefile.am (install-data-hook): fix up where graphics
are installed.
* configure.in: up version number to 0.87
* plug-ins/python/*.py: no longer necessary to explicitly set
sys.argv, as python.c does it for us now (like it should).
* plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
python plugin.
* plug-ins/python/python-startup.py: startup script that imports
all modules in $(datadir)/dia/python and ~/.dia/python.
* plug-ins/python/python.c (dia_plugin_init): change so that it
only runs the $(datadir)/dia/python-startup.py script. Make sure
that sys.argv and __main__.__file__ are set when calling the
startup script.
* plug-ins/python/Makefile.am: update makefile. Make it install
gtkcons.py plugin. I haven't set any other plugins to install, as
they look like they are mainly for debugging purposes.
* configure.in: add tests to detect if python is available, so we
can build the python plugin. Only run if --with-python passed to
configure.
2001-05-08 James Henstridge <james@daa.com.au>
* acinclude.m4: add macros for detecting python.
* app/menus.c (dia_gnome_menu_get_widget): handle paths that point
at GNOME_APP_UI_SUBTREE entries.
(menus_add_path): function to add a menu item to the menubars.
Uses a hash table to keep track of extra menu items it adds. Also
notifies the item factory about the entries so that accels can be
saved for them.
(menus_add_path): implement gtk only version.
(menus_init): use menus_add_path() to add the menu.
(plugin_callback): simplify.
2001-05-08 Steffen Macke <sdteffen@yahoo.com>
* app/menu.c: removed #ifndef GNOME; GNOME build was broken
2001-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-export.c:
* plug-ins/xfig/xfig-common.c:
* plug-ins/xfig/xfig-import.c:
* plug-ins/xfig/xfig.c:
* plug-ins/xfig/xfig.h:
* app/Makefile.am: Added support for exporting to Fig format
(except splits, which are less powerful in Fig). Some refactoring
along the way.
2001-05-02 Hans Breuer <hans@breuer.org>
* plug-ins/python/debug_objects.py : added another
test to get massive crashes from the Property API due
to unintialized data.
* app/menu.c : the callback_action wasn't incremented
(should have checked my last optimization). Now more
than one plug-in callback is supported again.
* plug-ins/python/pydia-geometry.c : avoid crashes from
glib, when trying to g_strdup_printf unintialized floats.
* plug-ins/python/pydia-property.c : avoid crashes from
because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
2001-05-01 Hans Breuer <hans@breuer.org>
* objects/makefile.msc : added eml
* objects/eml/instantiation.c : initialize 'inst' pointer
before using, zero initialization for objects
* objects/eml/interaction-ortho.c :
* objects/eml/interaction.c : zero initialization for objects
* app/menus.c : removed Gimp mru stuff which slipped in at
2000-08-15, was never activated and will never be needed,
because of Steffens recent file list patch added at 2001-01-05.
* objects/eml/*.c : some more zero initialization of objects
to avoid infinite (uninitialized) bounding boxes
Implemented a callback api which allows plug-ins to register
menu call backs. Dia for Gnome should compile, but will need
some extra tweaking to make it work because I can't test it.
* plug-ins/python/pydia-error.h :
* plug-ins/python/pydia-render.c : moved Pxthon function return
value handling from pydia-render.c to pydia-error.h, to make it
usable for
* plug-ins/python/diamodule.c : implement callback function
registration from and relaying to Python code
* app/menus.c : register and use plug-in menu callbacks
* lib/filter.[hc] : implement filter_register_callback() and
filter_get_callbacks() for the above
* lib/libdia.def : export them
* plug-ins/python/debug_objects.py (new file):
sample using the above
2001-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/shape/shape-export.c (new_shape_renderer):
The name of a shape is now taken from the dir, to conform with
standard naming.
2001-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
* app/properties.c (properties_show): Added title containing
object type, plus (hopefully) fix of the ghost properties dialog.
2001-04-16 Cyrille Chepelov <chepelov@calixo.net>
* app/display.c: remove the display idle handler in case we
destroy the ddisplay (caused crashes in ddd, probably random
crashes elsewhere).
* autogen.sh:
* configure.in:
* Makefile.am: hack around gettext-0.10.36's new "features".
* lib/properties.[ch]: added new function object_copy_props().
Added new property type PROP_TYPE_ENDPOINTS
* lib/connection.h: added support for load/saving through the
properties interface.
* lib/object.[ch]: object_load/save/copy_using_properties()
support functions (code factorisations).
* objects/GRAFCET/boolequation.c: check against null values in
boolequation_set_value() and boolequation_destroy().
* objects/GRAFCET/transition.c: Converted from lazyprops to
standard properties. 31% less (x86) code !
* objects/GRAFCET/condition.c: also converted from lazyprops to
standard properties. Also killed lots of code.
2001-04-13 Hans Breuer <hans@breuer.org>
* plug-ins/wmf/wmf.cpp : changed text conversion from
g_utf8_utf16 to g_convert usage. The latter function is already
available in tml's last "official" Gtk+ version (2000-12-26).
This change allows to use recent Dia with either the official
version or the latest cvs "gtk-1-3-win32-production"-branch.
2001-04-14 Lars Clausen <lrclause@cs.uiuc.edu>
* Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
* app/disp_callbacks.c:
- Allow submenus in DiaMenus.
- Don't require DiaMenu.title to be non-null (so that
submenus aren't required to have titles)
* objects/FS/function.c:
- object menu now has submenus, an almost complete list of
standard-basis verbs, and a start on nouns.
- box padding, dash length, and other visual attributes are
scaled by the font size... eventually font height will be
a function property.
- draw functions with smaller font to make initial view hold
a reasonable number of functions.
2001-04-13 Cyrille Chepelov <chepelov@calixo.net>
* sheets/ER.sheet:
* sheets/chronogram.sheet:
* sheets/jigsaw.sheet:
* sheets/sybase.sheet: Updated Dutch sheet translations from Dag
Wieers <dag@wieers.com>
2001-04-13 Hans Breuer <hans@breuer.org>
* app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
to ensure that all the deinitialization is only done once. Fixes
recent app exit crash on win32
* lib/dia_xml.c : provide isinf() replacement for msc which does only
have _finite()
* lib/libdia.def : updated
* objects/makefile.msc : added wanlink.c
* objects/network/wanlink.c : added M_PI_2 definition for poor
platforms which don't have one
* objects/standard/arc.c :
* objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
initialized which led to rather huge bounding boxes (try Ctrl^A on
diagrams with Arcs or ZigZagLines).
* objects/*/*.c : to avoid further bugs like the above changed all
object initializations to g_malloc0 or g_new0
2001-04-09 Cyrille Chepelov <chepelov@calixo.net>
* lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
* objects/UML/class.c:
* objects/UML/usecase.c:
* objects/UML/large_package.c:
* objects/UML/message.c:
* objects/UML/object.c:
* objects/UML/lifeline.c:
* objects/FS/flow.c:
* objects/FS/flow-ortho.c:
* objects/FS/function.c:
* objects/custom/custom_object.c:
* objects/GRAFCET/vergent.c:
* objects/chronogram/chronoref.c:
* objects/SADT/box.c:
* objects/SADT/annotation.c:
* plug-ins/dxf/dxf-import.c:
* plug-ins/xfig/xfig-import.c:
* plug-ins/wpg/wpg.c:
* app/command.c:
* app/app_procs.c:
* app/display.c: /* certainly more WIP than dead code there */
Unused variables, unused static function definitions, forgotten or
incomplete prototypes added or fixed, lack of const or unwanted const,
etc. (mostly clean-ups of leftovers of the pre-properties era).
Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
please check these.
* app/lineprops_area.c: More of the same. Missing prototypes
added, and functions unused outside made static.
* app/recent_files.c:
* app/properties.c:
* app/defaults.c: some variables are used only when doing a GNOME
build.
* app/magnify.c: missing #include <stdlib.h>.
* app/paginate_gnomeprint.c: Unused variable; missing "message.h".
These are a lot of clean-ups (by the way, this compiles and runs
cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
for DEAD_CODE, and if it's yours, judge it.
2001-04-07 Cyrille Chepelov <chepelov@calixo.net>
* plug-ins/dxf-import.c: some progress with the arcs; still some
clean-ups to do and line width scaling issues to figure out.
* objects/standard/arc.c: start_point and end_point properties
(duplicated from standard/line.c)
* plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
code there.
2001-04-06 Cyrille Chepelov <chepelov@calixo.net>
* plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
preliminary support for arcs (doesn't work). Circles and ellipses are
now transparent. Coordinate and width scaling are now a common
static constant (probably before morphing into a preference).
* sheet/checktrans.py: improved error reporting. Made checktrans
count lack of <name xml:lang="code"> as a lack of translation for
language "code" (no, it's not a plot to bring down other
language's scores !)
* sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
in the header, and have <name xml:lang="fr"> components.
2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
* objects/custom/custom_object.c: temporary hack to fix the shape
bounding box reported by Ben A. Hetland. Proper fix isn't .87
material, see bugzilla #52912.
2001-04-05 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/image.c (get_directory): Now uses
G_SEPARATOR_CHAR_S instead of "/"
* sheets/network.sheet:
* sheets/Logic.sheet:
* sheets/Flowchart.sheet:
* sheets/Electric.sheet:
* sheets/Circuit.sheet:
* sheets/ER.sheet:
* sheets/Pneumatic.sheet:
* sheets/SDL.sheet:
* sheets/UML.sheet:
* sheets/GRAFCET.sheet:
* sheets/MSE.sheet:
* sheets/chronogram.sheet:
* sheets/civil.sheet:
* sheets/network.sheet:
Danish translations.
* objects/standard/image.c (get_directory): Changed get_directory
to use g_dirname to find the directory part.
2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
* sheets/ER.sheet:
* sheets/Electric.sheet:
* sheets/Flowchart.sheet:
* sheets/Logic.sheet:
* sheets/network.sheet: More Dutch translations from Dag Wieers.
2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
* sheets/checktrans.py: now emits a warning when two descriptions
for a single language code are found.
* Makefile.am:
* sheets/Makefile.am: -translation-reports now also depend on their
checktrans.py
2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
* sheets/Circuit.sheet:
* sheets/Contact.sheet:
* sheets/Logic.sheet:
* sheets/chronogram.sheet:
* sheets/sybase.sheet:
Dutch translations from Dag Wieers <dag@wieers.com>
2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
* po-checktrans.py: Now shows the detailed counts alongside the
percentage of translations.
2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
* Makefile.am:
* po-checktrans (NEW):
* po-checktrans.py (NEW): builds core-translation-report:
percentages of core (gettext) translations done [Not placed into
po/ where that should belong, because of integration fear^Wissues
with gettextize].
TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and
sheets/sheet-translation-report probably ought to be copied on the
user's /usr/share/doc/dia (or equivalent) directory.
* sheets/Makefile.am: sheet-translation-report now a simple
EXTRA_DIST; make install won't install it by default.
2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
* app/preferences.c: changed the default grid colour to something
less intrusive.
* shapes/SDL/*.shape:
* sheets/SDL.sheet: renamed all SDL shapes to conform to the
"$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
DIA FILES (well, for files using SDL), see the mailing list
archive "SDL (ab)using the global shape namespace" for a script to
do this conversion.
* sheets/SDL.sheet: translated into French
* sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
2001-04-02 Cyrille Chepelov <chepelov@calixo.net>
* lib/dia_xml.c: made data_point() more paranoid
* sheets/Makefile.am:
* sheets/checktrans (NEW):
* sheets/checktrans.py: Made checktrans handle more gracefully the
absence of python and python-xml packages, and made the error
message more helpful.
2001-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/render_object.c (new_render_object): Made initial handles
behave like on most other objects.
* app/load_save.c (read_objects): Fixed premature free'ing ofr
typestr causing garbage.
2001-04-01 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
* objects/FS/flow-ortho.c: Fixed a crashbug causes by not
accouting for handle ordering through copy and save. (#51479)
2001-03-31 Cyrille Chepelov <chepelov@calixo.net>
* sheets/Circuit.sheet: Norwegian translation mistagged to German.
2001-03-31 Steffen Macke <sdteffen@yahoo.com>
* sheets/Circuit.sheet
* sheets/UML.sheet
* sheets/network.sheet: Updated German translations
2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
* lib/arrows.[ch]:
* lib/widgets.c:
* app/lineprops_area.c: The return of the revenge of the arrow
heads. Now all types covered by ISO 10303-201 should be covered.
2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
* sheets/Flowchart.sheet: translations in probably Hungarian were
a victim of cut-n-paste from the German one. Fixed (hopefully).
* sheet/UML.sheet: translation in probably Norwegian was a victim
of cut-n-paste from the French one. Fixed (hopefully).
* sheets/Logic.sheet: French translation not tagged with
xml:lang="fr".
* sheets/checktrans.py:
* sheets/Makefile.am: new file, sheet-translation-report, to be
installed along the sheets, show how much of them has been
translated into which language (I wish the result was prettier...)
* po/README: most translators don't read this file, but anyway...
* sheets/.cvsignore:
* objects/network/.cvsignore: the usual negotiation with CVS.
2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
* sheets/*.sheet: French translations
2001-03-28 Cyrille Chepelov <chepelov@calixo.net>
Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
** objects/network/network.c:
** objects/network/wanlink.c:
** objects/network/pixmaps/wanlink.c:
** sheets/network.sheet:
** objects/network/Makefile.am: a better object to use instead of
the older WAN Connection.
** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
name clash
* objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
Arc; kept the C file name (because CVS wouldn't like it), and
still registering the older object name (but advertising the newer
one in sheets/GRAFCET.sheet).
2001-03-24 Hans Breuer <hans@breuer.org>
* app/dia.def : some plug-ins (currently only python, xfig) are using
functions from the dia executable. To get them working these functions
need to be explicit exported on win32. IMO the much cleaner way would
be to move these functions to libdia, but that would require some
long term restructuring ...
* lib/libdia.def : updated
* plug-ins/makefile.msc : build xfig plug-in
2001-03-24 Hans Breuer <hans@breuer.org>
* app/diagram.c : g_strdup (dia->filename) because it will be
g_free ()d
* app/display.c : set ddisp->renderer to NULL after destruction.
This may solve or help to identify erroneous access to it after
destruction.
* plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
get 'umlauts' working
2001-03-22 Cyrille Chepelov <chepelov@calixo.net>
* object/chronogram/chronoline_event.c: stupid bug ; rises and falls
were reversed... (look for the patch, and drink a beer to my
stupidity)
2001-03-23 Hans Breuer <hans@breuer.org>
* app/app_procs.c : don't g_error () if the config directory
can't be created (at least not on windoze) because it's quite
common that the user don't read or understand the FAQ ...
* app/cursor.c : use ddisplay_active () instead of active_display
from app/display.c
* app/display.[hc] : made active_display var static and provide
an accessor funtion ddisplay_active_diagram ()
* app/dia-props.c : don't store the active_diagram, but ask
for it everytime it needed.
* lib/properties.h : #include "intl.h"
* lib/makefile.msc : need to take care of inclusion order to
avoid clashes with gtk+2.0's gdk-pixbuf
* objects/makefile.msc : added uml/stereotype.c to build
2001-03-23 Lars Clausen <lrclause@cs.uiuc.edu>
* **/*.c: Added config.h to the remaining .c files, and changed
all to be <config.h>.
2001-03-22 Steffen Macke <sdteffen@yahoo.com>
* lib/arrows.c
* lib/arrows.h
* lib/widgets.c
* app/lineprops_area.c: added new arrow types with double
heads
2001-03-20 Steffen Macke <sdteffen@yahoo.com>
* shapes/Civil/civil_gas_bottle.xpm
* shapes/Civil/civil_gas_bottle.shape
* sheets/civil.sheet
* shapes/Civil/Makefile.am: Added gas bottle shape by Arne
Battermann
2001-03-20 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/custom/shape_info.c (load_shape_info):
* objects/custom/shape_info.h:
* objects/custom/custom_object.c (custom_update_data):
Better support for text outside the box -- new attributes 'resize'
and 'align' for text entity. Align not fully supported yet.
* lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
2001-03-20 James Henstridge <james@daa.com.au>
* app/interface.c (display_data_received_callback): comment out
status message.
2001-03-19 James Henstridge <james@daa.com.au>
* app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
* objects/UML/realizes.c: similar here.
* objects/UML/implements.c: similar here.
* objects/UML/component.c: similar here.
* objects/UML/generalization.c: same here.
* objects/UML/dependency.c: allow NULL for ->name and
->stereotype. This fixes a number of problems in loading saved
files.
* lib/properties.c: various changes so that NULL string properties
should work.
* objects/standard/line.c (line_update_data):
line->extra.start_long and line->extra.end_long were not being
initialised. This fixes potential problems with the bounding box
of "Standard - Line" objects.
2001-03-19 Hans Breuer <hans@breuer.org>
* app/commands.c : added win32 specific code to display a html
file. #include "text.h" for text_delete_all prototype.
* app/dia.ico :
* app/dia.rc : (new) to give Dia win32 an icon
* app/win32print.[ch] : new files to support direct postscript
file printing on win32. Beware: it *requires* a ps-printer!
* app/paginate_psprint.c : disable the signal code for win32 build
and added small specific changes to support win32print.
* app/makefile.msc : added win32print and linking shell32.lib
* lib/libdia.def : updated
2001-03-18 Kevin Breit <battery841@mediaone.net>
* doc/en/dia-C.omf: Added file. Dia should now list in the Nautilus
Help tabs.
2001-03-17 James Henstridge <james@daa.com.au>
* app/paginate_psprint.c (diagram_print_ps): add code that traps
SIGPIPEs during printing. This gets rid of a number of crashes
caused by printing (eg. typing an incorrect print command).
* dia.spec (%install): gzip the manpage.
* lib/beziershape.c (beziershape_save): fix off by one error in
beziershape save code, which was adding an extra segment to the
object on save.
* app/menus.c: add a separator in the gnome version of the help
menu.
* app/app_procs.c (app_init): add a --nosplash argument which
disables the splash screen.
* app/dia_embedd.c (main): don't leave the splash screen open for
embeddable component.
* app/splash.c (app_splash_init): the gtk_widget_show_now() call
didn't seem to be showing the splash screen like expected, so I
have replaced it with some code that calls gtk_main() until the
first exposure of the window.
2001-03-16 James Henstridge <james@daa.com.au>
* app/Makefile.am (EXTRA_DIST): add extra pixmaps.
* objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
stereotype.h
* lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
* app/Makefile.am (dia_core_files): remove splash.h from file
list, as it doesn't exist.
* doc/en/Makefile.am (uninstall-local): remove the docdir on
uninstall.
* doc/Makefile.am (uninstall-local): target to remove the C
symlink.
* dia.spec (%files): include the documentation in the package.
* app/menus.c (toolbox_menu_items): add menu item for manual,
which calls help_manual_callback.
* app/commands.c (help_manual_callback): find help file and load
netscape to view it.
* app/commands.h: add prototype for help_manual_callback()
* doc/Makefile.am (helpdir): similar here.
* doc/en/Makefile.am (helpdir): make the helpdir
$(pkgdatadir)/help/en in the non gnome case.
* configure.in (HAVE_GNOME): add conditional.
* doc/en/Makefile.am: handle the graphics in a more general way,
so it is easier for Kevin to add them to the build (just add them
to the GRAPHICS var).
* app/Makefile.am (embed_extra_print_files): make the case of
building without gnome-print support but with bonobo support work.
dia-embedd needs to be include the gnome-print
2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
* samples/Makefile.am: included all samples in the distribution....
2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
* configure.in: removed premature test for DPS. Added -*- m4 -*-
at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
vanished, removed it from ALL_LINGUAS.
* lib/charconv.[ch] (NEW): a very small wrapper around
unicode_iconv to convert strings between utf8 and local charset
(actually, ISO-8859-1, though one can do
CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
* lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
library to help build Postscript streams which use as many custom
font encodings as necessary to correctly represent all characters
used (testing from users with non-latin1 and/or more than 256
characters in routine use *very* welcome).
* app/Makefile.am, lib/Makefile.am: integrated these into the
build process.
* shapes/Logic/.cvsignore (NEW): .cvsignore
* app/render_eps.h: forwarded some changes Lars forgot to include.
* app/render_eps.c: turned off ASCII85 and FILTERS, as this
doesn't yet build.
2001-03-08 Kevin Breit <battery841@mediaone.net>
* doc/en/home_network.png: Added file.
* doc/en/line_props.png: Added file.
* doc/en/usage-objects.sgml: Added two graphics to file.
* doc/en/usage-quickstart.sgml: Added one graphic to file.
2001-03-06 Kjartan Maraas <kmaraas@gnome.org>
* app/grid.h: Place comment around text after #endif.
* lib/bezier_conn.c: #include <string.h>.
* lib/beziershape.c: #include <string.h>.
* lib/connpoint_line.h: Comment after #endif.
* lib/dia_dirs.c: #include <string.h>.
* lib/element.c: Same.
* lib/lazyprops.c: #include <config.h> and "intl.h".
* lib/lazyprops.h: Comment out text after #endif.
* lib/neworth_conn.c: #include <string.h>
* lib/orth_conn.c: Same here.
* lib/poly_conn.c: Here too.
* lib/polyshape.c: And here.
* lib/properties.c: Remove #include "intl.h" from here and add
an array of static strings to work around bug in gettext that
makes it miss strings in a #define body.
* objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
* objects/GRAFCET/boolequation.h: Same here.
* objects/chronogram/chronoline_event.h: Add prototype for
destroy_cle().
2001-03-05 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
* objects/FS/function.c:
* objects/FS/flow.c:
* objects/FS/flow-ortho.c:
Updated to use properties.
2001-03-03 James Henstridge <james@daa.com.au>
* lib/lazyprops.c (__propdlg_build_enum): translate the radio
button labels when creating them.
2001-02-28 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
* objects/UML/actor.c
* objects/UML/realizes.c
* objects/UML/implements.c
* objects/UML/generalization.c
* objects/UML/dependency.c
* objects/UML/constraint.c
Updated to use properties.
* objects/UML/stereotype.c
* objects/UML/stereotype.h
Generalized to any kind of bracketting.
2001-02-28 James Henstridge <james@daa.com.au>
* app/menus.c: add help entry to the help menu. Need to get this
working for the non GNOME case as well (maybe put help under
$(datadir)/dia/help for non GNOME?)
* doc/en/topic.dat: add a topic.dat file for GNOME menus.
* doc/en/dia-manual.sgml (legalnotice): add an id attribute to
this element so that we get a meaningful filename in the html
translation.
* doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
documentation.
* configure.in (DB2HTML): add a check for the db2html program, and
set an automake conditional if it is found.
* Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
and descend into doc/ directory while building.
* configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
we need more complex rules for building the docs.
2001-02-25 Hans Breuer <hans@breuer.org>
* config.h.win32 : some cleanup
* app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
are deprecated since glib-1.3.2. Sorry needing to use them
contionally, but there is no glib-1.2 for win32
* app/recent_files.c : use g_strescape (params) conditionally
* lib/connection.c : include string.h for memcpy
* lib/geometry.h : added some stuff for compatibility with
msvc, which previously came from included config.h
* lib/libdia.def : updated
* objects/makefile.msc : updated
* objects/GRAFCET/action.c(490) : fixed warning C4700: local variable
'extra' used without having been initialized
* objects/network/bus.c(658) : initialize 'extra'
* plug-ins/makefile.msc : updated
* plug-ins/cgm/cgm.c :
* plug-ins/pstricks/render_pstricks.c :
g_free() memory allocated by dia_image_rgb_data(). Plugs possibly
huge memory leaks.
* plug-ins/python/python.c : use HAVE_DIRENT_H
2001-02-23 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
* lib/connection.c (connection_update_boundingbox):
Made the BB shrink on right and lower sides, too.
2001-02-23 Kjartan Maraas <kmaraas@gnome.org>
* */*.c: #incude <config.h> at the top.
* */*.h: Remove include of "config.h" since it should only
be included in .c files and at the very top for things to
work.
* sheets/*.sheet: Updated Norwegian translations.
2001-02-22 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
* objects/UML/small_package.c:
* objects/UML/class.c:
* objects/UML/node.c:
* objects/UML/usecase.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
Various cleanup of properties in particular. Now much more use of
standard properties.
* lib/diagramdata.c (layer_render): Visualization of bounding
boxes, for debugging purpoises.
2001-02-22 Cyrille Chepelov <chepelov@calixo.net>
* lib/geometry.h:
* lib/connection.[ch]:
* lib/poly_conn.[ch]:
* lib/polyshape.[ch]:
* lib/bezier_conn.[ch]:
* lib/beziershape.[ch]:
* lib/orth_conn.[ch]:
* lib/neworth_conn.[ch]:
* lib/element.[ch]: Changed a bit the _update_boundingbox()
interface. Now the parent elements have an extra_spacing
structure, which child objects just need to fill, to take care of
most arrow & line width extra space needs.
* objects/**/*.c: updated all objects to the new interface.
While at it, killed all instances of (Object *) downcasts (phew !)
* objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
doesn't speak about.
2001-02-21 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
* sheets/Logic.sheet: New sheet for Logic symbols.
2001-02-21 James Henstridge <james@daa.com.au>
* app/menus.c (dia_gnome_menu_get_widget): new function to find a
widget by its path name. Walks the GnomeUIInfo heirachy rather
than widget tree, compares untranslated label names and ignores
underscores in the labels.
(menus_get_item_from_path): use dia_gnome_menu_get_widget so that
lookups are not dependent on the current locale, as with
gnome_app_find_menu_pos.
* acconfig.h: guard against multiple inclusion of config.h.
* app/select.c (select_style_callback): simply set the selection
style to the value of action.
* app/menus.c (menus_init): simplify the item factory based menu
code a bit. It looks like it was using some code cut and pasted
from the gimp, which looked a bit unnecessary. Things work fine
without it.
(selectmenu): set the action to the type of selection mode
requested.
(display_menu_items): use the symbolic enumeration values for the
action field.
* app/plugin-manager.c:
* app/plugin-manager.h:
* app/filedlg.c:
* app/filedlg.h:
* app/select.c:
* app/select.h: change prototypes.
* app/commands.c: update all callback prototypes, and get rid of
some #ifdef GNOME's.
* app/commands.h: change function prototypes.
* app/dia_embedd.c (save_fn):
s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
* app/menus.c (menus_init): for gnome menus, use
gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
structure that proxies the callbacks to have the same signature as
GtkItemFactory type 1 callbacks.
(menus_init): for GTK menus, change from callback type 2 to type
1.
(display_menu_items): add back tearoffs. I don't know who removed
these for the gtk menu case.
2001-02-20 Kevin Breit <battery841@mediaone.net>
* doc/en/usage-objects-special.sgml: Fixed a few of the special
object descriptions. More to come in the next few days.
2001-02-20 Lars Clausen <lrclause@cs.uiuc.edu>
* app/render_eps.c: Fixed for internationalized floating point
output.
* objects/UML/note.c: Fixed properties -- was missing
Get/ApplyPropertiesFunc. Also improved update to recalculate text
position.
2001-02-19 Lars Clausen <lrclause@cs.uiuc.edu>
* plug-ins/xfig/xfig-import.c:
File added importing xfig files. Still very rough, but good
enough to let others hack on it.
2001-02-07 Cyrille Chepelov <chepelov@calixo.net>
* app/interface.c:
* app/linewidth_area.c:
* lib/lazyprops.c:
* lib/properties.c:
* lib/widgets.c:
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/relationship.c:
* objects/custom/custom_object.c:
* objects/flowchart/box.c:
* objects/flowchart/diamond.c:
* objects/flowchart/ellipse.c:
* objects/flowchart/parallelogram.c:
* objects/standard/box.c:
* objects/standard/textobj.c: per Vlad Harchev's request, made
page sizes of gtk_adjustments different than their step sizes.
When sensible values of page size weren't found (overwhelming
majority of cases), page sizes were set to 10.0 * respective step
size.
2001-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/network/hub.c:
Patch from Hubert Figuiere applied, adding connection points.
2001-02-02 James Henstridge <james@daa.com.au>
* app/display.c (new_display): set update id to 0 here.
(ddisplay_update_handler): rename from ddisplay_flush, and set
update_id to 0 at end of processing.
(ddisplay_flush): new implementation that simply sets an idle
handler to perform the actual drawing.
* app/display.h: add structure member to hold the redraw idle
handler id.
2001-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
* objects/standard/ellipse.c (ellipse_copy):
* objects/standard/zigzagline.c (zigzagline_copy):
Fix of copying provided by Martin Hawlisch.
2001-01-23 Kevin Breit <battery841@mediaone.net>
* doc/en/graphics/: added directory
* doc/en/graphics/greendots.png: added file
* doc/en/*sgml: made minor and some major changes to prepare for 1.4
release.
2001-01-23 Kevin Breit <battery841@mediaone.net>
* doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
thanks to John Fleck!
2001-01-21 Kevin Breit <battery841@mediaone.net>
* doc/en/*sgml: made just minor changes to a few lines; nothing major.
2001-01-12 Michael Meeks <michael@helixcode.com>
* app/dia_embedd.c (init_server_factory): do a bonobo_activate
so our POA gets setup properly.
* app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
things we g_malloc.
* configure.in: Use bonobox_print.
* app/dia_embedd.c (embeddable_factory): add print interface.
(object_print): impl.
2001-01-11 Michael Meeks <michael@helixcode.com>
* app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
(load_fn, save_fn): impl.
(view_factory): hide modified status bar, & use activate fn.
(refresh_view): force redraws of the views.
(view_show_hide): split from
(dia_view_activate): here.
* app/diagram.c (diagram_load_into): split from diagram_load.
(new_diagram): simplify bu splittin stuff into
(diagram_init): here.
2001-01-10 Steffen Macke <sdteffen@yahoo.com>
* shapes/jigsaw/*.shape: replaced #000000 with foreground
and #ffffff with background
2001-01-08 Steffen Macke <sdteffen@yahoo.com>
*configure.in: GTK+-build was broken due to missing
have_bonobo=no
2001-01-06 Michael Meeks <michael@helixcode.com>
* app/dia_embedd.c (main): add running context support.
(dia_embeddable_destroy): remove old running object counting.
(embeddable_factory): ditto.
(view_factory): comment out menu path hiding.
* lib/sheet.c (load_register_sheet): use free to free
stuff from libxml not g_free.
* acconfig.h: kill cover for USE_BONOBOX and USE_OAF
* configure.in: remove USE_OAF checks, check for a precice
Bonobo version >= 0.31, revamp bits.
* app/dia_embedd.c (init_server_factory): upd.
(init_dia_factory): remove OAF conditionals, everything uses
oaf now.
* app/GNOME_Dia.oafinfo: rename OAFIIDs
* app/Makefile.am: remove ancient gnorba code.
rename dia.oafinfo to GNOME_Dia.oafinfo
2001-01-07 Hans Breuer <Hans@Breuer.Org>
* config.h.win32
* install.win32
* readme.win32 : some more files required or useful to build
Dia on win32
* plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
fill_bezier implementation, boundary drawing in fill mode, etc.
Next one complaining gets the source, uncommented ...
* shapes/network/router-symbol.xpm
* shapes/network/switch-atm-symbol.xpm
* shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect
the files as XPMs. Maybe the X versions of these functions are more
tolerant ...
2001-01-06 Steffen Macke <sdteffen@yahoo.com>
* plug-ins/python/Makefile.am: added libart path
* plug-ins/python/python.c: added dirent.h
* configure.in: added es_ES and pt_BR to ALL_LINGUAS
2001-01-06 Hans Breuer <Hans@Breuer.Org>
* objects/uml/actor.c
* objects/uml/branch.c
* objects/uml/class.c
* objects/uml/classicon.c
* objects/uml/component.c
* objects/uml/large_package.c
* objects/uml/node.c
* objects/uml/note.c
* objects/uml/object.c
* objects/uml/small_package.c
* objects/uml/state.c
* objects/uml/usecase.c : started to implement the generic property
interface for the uml objects. Would appreciate some help on how
to implement properties which are list of properties themselves,
e.g. member functions and their parameters of UMLClass.
2001-01-06 Hans Breuer <Hans@Breuer.Org>
* plug-ins/python/diamodule.c : finally ported to win32.
Added new objects and implemented register_export function.
* plug-ins/python/pydia-object.h
* plug-ins/python/pydia-display.c
* plug-ins/python/pydia-handle.c
PyObject_HEAD_INIT needs some tweakink on win32. Done in
pydia-object.h; others files simply using it.
* plug-ins/python/pydia-layer.c : reflect
layer_find_closest_connection(_)point renaming
* plug-ins/python/pydia-object.c : add property properties.
Also change bounding_box to DiaRectangle.
* plug-ins/python/python.c : extended error reporting; use
all *.py files from Dia's plug-in dir instead of hardcoded
test.py. This sollution should be fine with Win32, but on
Unix it may need some tweaking (dunno) ...
* plug-ins/python/export-object.py
* plug-ins/python/export-render.py : test and documentation
implementations for export filter implementations in Python
* plug-ins/python/pydia-color.[hc]
* plug-ins/python/pydia-diagramdata.[hc]
* plug-ins/python/pydia-error.[hc]
* plug-ins/python/pydia-export.[hc]
* plug-ins/python/pydia-font.[hc]
* plug-ins/python/pydia-geometry.[hc]
* plug-ins/python/pydia-image.[hc]
* plug-ins/python/pydia-properties.[hc]
* plug-ins/python/pydia-property.c
* plug-ins/python/pydia-render.c : new objects in new files
* plug-ins/python/makefile.am : added new files but can't test it
* plug-ins/python/pydia.def
* plug-ins/python/makefile.msc : for win32 build
* plug-ins/cgm/cgm.c
* plug-ins/dxf/dxf-import.c
* plug-ins/dxf/dxf-export.c
* plug-ins/hpgl/hpgl.c : reflect export API change
* plug-ins/shape/shape-export.c : reflect export API change
and check for libart (better the availibility of a png exporter)
at run-time instead of compile-time.
2001-01-06 Steffen Macke <sdteffen@yahoo.com>
* app/recent_files.h was missing from Hans's commit
* plug-ins/shape/shape_export.c: shape export was broken
due to interface changes
2001-01-05 Hans Breuer <Hans@Breuer.Org>
Applied Steffen's recent file list patch :
* app/Makefile.am : added recent_files.[hc]
* app/diagram.c : add files to recent file list
* app/menus.c : add recent file menu
* app/app_procs.c : changed initialization order to
make recent file list work with command line processing.
The Filter export()/import() functions have got an additional
parameter to allow multiple filters via one C callback (required
for Python bindings)
* app/commands.[hc] : corrected the signature for gtk menu callback
functions, which actually use the second or third parameter. This
is the absolute minimum change to make these functions/menu entries
work again. Using the other possible gtk menu callback signature
would have required one more function to change. (see mailing list
thread "Objects/Align/Equal Distance" for more information.
* app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
zoom-combo focus patch
* app/display.c
* app/interface.c : wrapped the Zoom Combo code into
#ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
improvement but cluttering the user interface. Also it wasn't
compiling on Win32 anyway. The win32 version does define
WITHOUT_ZOOM_COMBO to keep the old look.
There are plans to use the statusbar to display size and placement
of selected objects, whereas the Zoom Combo would need to get out
of the way as well.
Added "Save Changes?" to diagram close dialog. Hopefuly the
Yes/No/Cancel option isn't too much windoze like. IHMO this is
an useability improvement.
* app/export_png.c
* app/filedlg.c
* app/load_save.c
* app/layer_dialog.c
* app/paginate_psprint.c
* app/render_eps.c
- reflect signature changing of filter->export function
- replaced '/' with G_DIR_SEPARARTOR where appropriate
* app/diaunitspinner.c
* app/render_libart.c
added misssing headers like <string.h>
* app/object_ops.c : fixed copy&paste bug in dialog string
* app/splash.c : gdk_widget_show_now () does not ensure actual
drawing of the splash screen, at least not on win32. Reuse the
previous implementation with gtk_main_iteration() again.
* */makefile.msc : make use of the build module (available in
gnome-cvs/build. Updated for other source changes
* lib/filter.h : added an user_data pointer to <ex/im>port()
function signature and Dia<Im/Ex>portFilter to allow different
filters to reuse the same callback function
* lib/font.c : #include <string.h>
* lib/orth_conn.c
* lib/poly_conn.c
* lib/poly_shape.c
* lib/neworth_conn.c
* lib/text.c : don't mix allocator functions (g_)realloc, free, ...
* */*.def : export function definition files required by win32 build
* objects/custom/custom.c : #include <string.h>
* plug-ins/pstricks/render_pstricks.c
* plug-ins/shape/shape_export.c
* plug-ins/svg/render_svg.c
reflect changes to filter export function signature
* plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
mostly work as expected
* plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
to build the wmf plug-in because on the one hand the GDI emulation
isn't finished and on the other hand it isn't required when building
for win32. Is there anybody out there, who wants to save WMF on non
windoze platforms ?
* plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
offset into account.
2001-01-02 Steffen Macke <sdteffen@yahoo.com>
* app/Makefile.am: added missing plug-ins to run_dia.sh
* lib/paper.c: added paper sizes A0, A1, A2
* objects/UML/class.c
objects/UML/class.h
objects/UML/class_dialog.c: added support for colored UML
classes
2000-12-30 Kevin Breit <battery841@mediaone.net>
* doc/en/usage-customization.sgml: added more content
2000-12-24 Kevin Breit <battery841@mediaone.net>
* doc/en/usage-layers.sgml: added file, contributed by Remypsb
<remy.viard@laposte.net>
2000-12-24 Steffen Macke <sdteffen@yahoo.com>
* added limiting lines to Civil Engineering sheet,
fixed vertical pump icon
2000-12-20 Steffen Macke <sdteffen@yahoo.com>
* updated/additional Civil Engineering shapes: better icons,
shapes use foreground/background colors now and are filled
2000-12-03 Kevin Breit <battery841@mediaone.net>
* doc/en/dia-manual.sgml Integrated a few diffs. New section should be
the selection <sect1>
2000-11-29 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/load_save.c (diagram_data_save): avoid using obsoleted
libxml calls (only matters when compiling with libxml2)
2000-11-25 James Henstridge <james@daa.com.au>
* app/disp_callbacks.c (ddisplay_drop_object): add a function to
handle the tool drops on the canvas.
* app/interface.c (display_data_received_callback): do the check
to make sure that the drag is from a local toolbox here as well.
* app/interface.c (create_tools): unref the pixmap/mask after
creating the GtkPixmap.
(tool_setup_drag_source): function to set up a drag source for
create object tool buttons.
(create_tools): setup drag source for CREATE_OBJECT_TOOL's.
(fill_sheet_wbox): same here.
(create_display_shell): set up the display canvas as a drag
destination.
(display_drop_callback, display_data_received_callback): functions
to handle drops of tool buttons.
* app/menus.c (menus_init): don't use gnome_popup_menu_new(). It
does weird shit to the user_data pointer for a menu item. Object
alignment should work again now.
* app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
NULL, and mark this function static.
(app_splash_init): use gtk_widget_show_now() instead of the
gtk_main_iteration loop.
(app_splash_init): connecting gtk_widget_destroy to the destroy
signal of a widget seems pretty useless.
2000-11-23 Kevin Breit <battery841@users.sourceforge.net>
* doc/en/dia-manual.sgml:
Added sect1 for advanced object types. Starting development
on that part.
2000-11-18 Kevin Breit <battery841@mediaone.net>
* doc/en/dia-manual.sgml:
Stupid spelling fixes.
2000-11-18 Kevin Breit <battery841@mediaone.net>
* doc/en/dia-manual.sgml:
Just some small changes I made. Props to Greg LeBlanc on the
recommendations.
2000-11-17 Alexander Larsson <alla@lysator.liu.se>
* app/display.c:
(ddisplay_add_display_area): Clip input rectangle to
the visible part of the display.
(ddisplay_scroll): Optimization, don't scroll and
redraw if moving to the same position as before.
* app/render_libart.c (renderer_libart_copy_to_window):
Removed sanity check. Now moved to ddisplay_add_display_area().
* lib/diavar.h:
Added return at end of file.
2000-11-13 Kevin Breit <battery841@mypad.com>
* doc/en/dia-manual.sgml
Commited manual changes from Henry House <hajhouse@houseag.com>
2000-10-21 Hans Breuer <Hans@Breuer.Org>
* lib/beziershape.c :
The previous code was accessing unowned memory due to IHMO
wrong index calculation. Now it appears to be fixed.
*Please Review!*
* lib/makefile.msc
* plug-ins/makefile.msc
* objects/makefile.msc
* app/makefile.msc: (new files)
Makefiles for Dia on Win32, Micro$oft VC only.
* plug-ins/pstricks/render_pstricks.c
* plug-ins/dxf/dxf-import.c
* plug-ins/shape/shape-export.c
* plug-ins/svg/render_svg.c
* app/commands.c
* app/filedlg.c
* app/preferences.c
* app/render_eps.c
* lib/sheet.c
* lib/plug-ins.c
* objects/custom/custom.c
* objects/standard/image.c
portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H
where appropriate, add missing prototypes like <string.h>
* plug-ins/wmf/wmf_gdi.cpp
* plug-ins/wmf/wmf_gdi.h:
start of wmf write functions for non Win32 platform. Not
finished yet. The other way to get it working maybe to
link the plug-in against wine libs.
* plug-ins/wpg/wpg.c : add missing brace
* app/load_save.c :
Handling for unknown objects at load time. Previously Dia
was crashing, if you try to load a file referencing objects
whiches plug-ins aren't installed/available. Now it spits out
a warning and ignores the unknown objects.
* app/interface.c
toolbox DND support for files like The Gimp does it.
* app/main.c
* app/app_procs.h
Simple splash screen support and usage.
* app/app_procs.c
Splash screen, portability fixes, dont' g_error if there is
g_get_homedir return NULL. This may remove the one and only
FAQ for Win32.
* app/menus.c :
Make it compile without ENABLE_NLS
* app/render_libart.c :
Sanity check to avoid calling libart with wrong window coordinates.
They come from the update handler. Direct Gdk is dealing nicely
with coordinates out of range, libart does access un-owned memory
in this case, mostly causing crashes.
* app/winmain.c: (new file) Export the Win32 Gui version of the
main function. This file is only required for Windoze.
* app/splash.c: (new file) splash screen implementation
* lib/color.h
* lib/font.h
* lib/diavar.h: (new file)
moved special variable export code to diavar.h, because it is
needed in color.h and font.h
* lib/paper.c :
M$VC cann't export inlined functions. Quick hack to let it
link again. Probably the glib mechanics should be used here?
* objects/UML/lifeline.c : initialize var before usage
* objects/GRAFCET/step.c : removed unused var
2000-10-14 James Henstridge <james@daa.com.au>
* app/render_gnomeprint.c (draw_image): change code so images
don't get flipped when printing.
* app/paginate_gnomeprint.c (diagram_print_gnome): check to make
sure that the return value of
gnome_print_context_new_with_paper_size is not NULL.
* app/render_gnomeprint.c (draw_arc): add code to convert arcs
into a series of bezier segments.
(fill_arc): similar code to handle filled arc segments.
2000-10-12 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/app_procs.c
* app/commands.c
* app/dia-props.c
* app/diagram.c
* app/diagram.h
* app/disp_callbacks.c
* app/display.c
* app/linewidth_area.c
* app/paginate_psprint.c
* app/preferences.c
* app/undo.c
* app/font.c
* app/message.c
* app/neworth_conn.c
* app/orth_conn.c
* objects/standard/box.c: various small changes to get rid of
annoying warnings (eg faulty prototypes and unused variables)
* app/disp_callbacks.c
* app/cursor.h
* app/magnify.c
* app/magnify.h: update magnify tool icon when pressing/releasing
shift. I will try to make something more general so that similar
things can be used by other tools.
* shapes/SDL/inout.shape
* shapes/SDL/return.shape: fixed some typos
2000-10-09 James Henstridge <james@daa.com.au>
* objects/custom/shape_info.c (parse_path): apply patch from
Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
#25221
2000-10-08 James Henstridge <james@daa.com.au>
* objects/standard/image.c (image_set_props): if the file could not
be loaded, show the broken image icon.
* plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
* plug-ins/shape/*: the shape export plugin by Steffen Macke.
* app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
object icon when loading from a file. This allows you to have PNG
icon files for shapes.
2000-10-07 James Henstridge <james@daa.com.au>
* app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
* lib/Makefile.am, app/Makefile.am (INCLUDES): remove
GDK_IMLIB_CFLAGS reference.
* app/commands.c (help_about_callback): remove imlib code.
* lib/dia_image.c: only include the pixbuf version of the image
routines.
* acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
* configure.in (CPPFLAGS): remove the check for imlib, as we now
require gdk-pixbuf.
* plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
conditionally define \setfont as well.
2000-10-05 James Henstridge <james@daa.com.au>
* plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
preamble so that we define \setlinejoinmode and \setlinecaps
commands conditionally on them being undefined. This way, the
pstricks output files should work without modification, and will
support the commands when they are implemented in pstricks.
2000-10-05 Szabolcs Ban <shooby@gnome.hu>
* dia.desktop: added hungarian translations to dia.desktop
2000-10-04 James Henstridge <james@daa.com.au>
* sheets/UML.sheet: fix typo.
* objects/custom/shape_info.c: use strtod instead of g_strtod.
(parse_path): actually call setlocale around strtod calls.
* lib/dia_xml.c: use strtod rather than g_strtod. We wrap each
call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
the g_strtod wrapper.
* shapes/SDL/: add SDL shapes from Rubens Ramos
<rubens_ramos@yahoo.com>
* acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
* sheets/Makefile.am (SHEETS): add SDL.sheet to list.
* shapes/MSE/: add Mobile Subscriber Equipment shapes from
W. Michael Petullo <mike@flyn.org>.
* sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
from the 0.86 tarball) and jigsaw.sheet.
* configure.in: add shapes/jigsaw/Makefile to list of generated files.
* shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
* shapes/network/: add network-additional shapes here.
* sheets/network.sheet: add the network-additional shapes from
Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
sheet.
2000-09-30 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in: Updated ALL_LINGUAS
* po/nl.po: Removed newline from translation
2000-09-17 Asbjorn Pettersen <asbjornP@dualog.no>
* app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in
logo filename generation.
* lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
Avoiding "//dia_logo.png".
2000-09-16 Asbjorn Pettersen <asbjornP@dualog.no>
* app/filedlg.c: add include <sys/types.h> to
remove warning. (OS/2)
2000-09-13 Cyrille Chepelov <chepelov@calixo.net>
* objects/chronogram/chronoline_event.c (reparse_clevent):
the __checksum routine was simply bogus. Redone it in a slightly
saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
2000-09-10 Asbjorn Pettersen <asbjornP@dualog.no>
* app/create_object.c (create_object_button_press):
* app/modify_tool.c (click_select_object):
* lib/object.h: select renamed to selectf to prevent
compiler problems with function select(). OS/2 version.
2000-09-08 Karsten Weiss <knweiss@gmx.de>
* po/de.po: Updated.
2000-09-07 Karsten Weiss <knweiss@gmx.de>
* dia.desktop: Added German translation
* app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
2000-08-29 Manuel de Vega Barreiro <barreiro@arrakis.es>
* configure.in (ALL_LINGUAS): added "es"
2000-08-28 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* app/magnify.c:
* app/cursor.h:
* app/cursor.c:
* app/scroll_tool.c:
Standardized cursor function get_cursor(). Magnify now has
looking-glass cursor with + and -.
* app/create_object.c (create_object_button_press):
Newly created connections now snap to connection points even when
off the grid.
2000-08-17 Daniel Egger <egger@suse.de>
* app/menus.c: #ifdef'ed some code for the none GNOME
case.
* app/dia_embedd.c: Changed obvious hackery. Can anyone
please have a look at the GNOME UI menu creation? The
gnome-app-helper code is ages old and plainly broken!
2000-08-15 Daniel Egger <egger@suse.de>
* app/commands.c:
* app/commands.h:
* app/diagram.c:
* app/display.c:
* app/menus.c:
* app/select.c: First big patch to get the menus
working again in the international version. Copied
some code written by Sven and me from GIMP and
thus implemented automatic tearoffmenu creation and
proper translation. I also removed that pseudo
radiomenu hack and cleaned up several translation
hacks which have never really worked. All in all
this is part I of the big menu patch. Enjoy and tell
me if you detect any problems.
2000-08-14 Daniel Egger <egger@suse.de>
* sheets/UML.sheet: Changed one German translation as
suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
2000-08-10 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/diapagelayout.c:
* lib/diagramdata.c:
* lib/diagramdata.h:
* lib/Makefile.am:
* lib/paper.c:
* lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
selecting paper size for a new diagram. TODO: Use libpaper if
available and use gnome_paper-stuff if using GNOME.
* sheets/Electric.sheet: fixed typo.
2000-08-08 James Henstridge <james@daa.com.au>
* po/README: added a readme file to tell translators to translate
the .sheet files as well.
* app/commands.c (help_about_callback): fix small bug where we tried
to gdk_bitmap_unref() the mask for the about box image, even though
it was NULL. Now check for a NULL mask.
2000-08-07 Daniel Egger <egger@suse.de>
* sheets/*.sheet: Added translations for the name
in the toolbar tab. Brushed up some descriptions
and some translations a bit.
2000-08-06 James Henstridge <james@daa.com.au>
* plug-ins/svg/render_svg.c (new_svg_renderer): update public
identifier and dtd url for SVG output.
(new_svg_renderer): fix the output of the viewBox output. The
second two numbers are the width and height -- not the right
and bottom sides of the box.
* shapes/*/*.shape: update svg namespace URI.
* objects/custom/shape_info.c (load_shape_info): change the
namespace URI for custom shapes yet again to match the Candidate
Recommedation. It looks like this one will probably be the final
one.
* app/display.c (new_display): remove the code that sets ic and
ic_attr members to NULL, as one of the previous function calls
causes the display to be realised. This means that the ic gets
lost. Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
this one.
2000-08-06 James Henstridge <james@daa.com.au>
* shapes/Makefile.am (SUBDIRS): add Civil back to list.
* NEWS: fixed date in NEWS file, as I will release today.
* README: updated the README a little. Added note that Dia is now
a GNU program.
* dia.spec: fix up spec file.
* plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
* plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
get heaps of warnings when you turn off debugging.
Also made a few other warning fixes.
2000-08-02 James Henstridge <james@daa.com.au>
* plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
* configure.in: update version number.
2000-08-01 James Henstridge <james@daa.com.au>
* app/commands.c (help_about_callback): add Hans to about dialog.
* doc/shape.dtd: dtd for shape file format.
* doc/custom-shapes: update doc file about creating custom shapes.
* shapes/*/*.shape: change namespace URI for the SVG portion to the
one for the latest draft.
* shapes/*/*.shape: fix up rect definitions.
* objects/custom/shape_info.c (load_shape_info): recognise newer
namespace tag for SVG.
(parse_svg_node): the rect element should take attributes x, y, width
and height -- not x1,y1,x2,y2.
* plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
output to use the newest draft DTD.
* plug-ins/svg/svg.c: initialisation code for plugin.
* plug-ins/svg/render_svg.c: move svg export code to a plugin.
* plug-ins/svg/Makefile.am: makefile for svg plugin.
* app/app_procs.c (internal_plugin_init): don't register the svg
export filter here.
* app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
2000-07-31 James Henstridge <james@daa.com.au>
* objects/standard/textobj.c (textobj_get_defaults):
* objects/standard/polygon.c (polygon_get_defaults):
* objects/standard/image.c (image_get_defaults):
* objects/standard/ellipse.c (ellipse_get_defaults):
* objects/standard/box.c (box_get_defaults):
* objects/standard/beziergon.c (beziergon_get_defaults):
* objects/flowchart/parallelogram.c (pgram_get_defaults):
* objects/flowchart/ellipse.c (ellipse_get_defaults):
* objects/flowchart/diamond.c (diamond_get_defaults):
* objects/flowchart/box.c (box_get_defaults):
* objects/custom/custom_object.c (custom_get_defaults):
* objects/FS/flow.c (flow_get_defaults):
* objects/FS/flow-poly.c (flow_get_defaults):
* objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
defaults widget.
* app/defaults.c (defaults_show): don't keep on ref'ing the defaults
widgets for various object types.
(create_dialog): ref and sink the no_defaults_dialog.
* app/preferences.c (prefs_create_dialog): change
gtk_container_border_width call to gtk_container_set_border_width.
2000-07-29 James Henstridge <james@daa.com.au>
* app/commands.c (view_aa_callback): show a warning dialog if
you start AA mode.
* app/interface.c (fill_sheet_menu): don't add a menu item for
empty sheets.
2000-07-26 James Henstridge <james@daa.com.au>
* plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
* app/menus.c: remove edit grid menu item.
* app/commands.[ch] (view_edit_grid_callback): removed.
* app/display.c (new_display): don't initialise removed Grid members.
* app/grid.c: remove unused functions.
* app/grid.h: remove dialog related stuff from Grid structure.
Remove prototypes for dialog functions.
* app/menus.c: add to menus
* app/commands.[ch] (view_diagram_properties_callback): new command
for showing the diagram properties dialog.
* app/dia-props.[ch]: a new diagram properties dialog. To replace
the edit grid dialog.
2000-07-25 James Henstridge <james@daa.com.au>
* app/grid.c (grid_x_update):
(grid_y_update): as the grid setting is stored with the diagram,
update all displays when a change is made.
* app/modify_tool.c (modify_motion): use new snap_to_grid sig.
* app/create_object.c (create_object_button_press):
(create_object_motion): use new snap_to_grid signature.
* app/grid.c (grid_draw): use the grid settings in the DiagramData,
and handle invisible grid lines.
(snap_to_grid): use new grid settings. Also changed signature to
take a DDisplay rather than Grid pointer.
(grid_show_dialog): get the defaults from the correct place.
* app/display.c (new_display): do not set ddisp->grid.width_[xy].
* app/diagram.c (new_diagram): set the grid size defaults from the
user preferences.
* app/load_save.c (diagram_data_save): save grid and guide info to
diagram file.
(diagram_data_load): add guide and grid load support.
* lib/diagramdata.c (new_diagram_data): set the new DiagramData
members.
* lib/diagramdata.h: add members to DiagramData for grid and guide
settings.
* configure.in (BONOBO_LIBS): update configure scripts
* app/dia.oafinfo: oafinfo file for dia embeddables.
* app/dia_embedd.c: add OAF support.
2000-07-24 James Henstridge <james@daa.com.au>
* plug-ins/wpg/Makefile.am:
* plug-ins/pstricks/Makefile.am:
* plug-ins/hpgl/Makefile.am:
* plug-ins/dxf/Makefile.am: same here.
* plug-ins/cgm/Makefile.am: remove LIBADD. Dia already links with
the required libraries, and the link line was causing libtool not
to build a shared library on some systems :(
* plug-ins/cgm/cgm.c (write_real): the initial if statement should
be checking x, not n.
2000-07-23 James Henstridge <james@daa.com.au>
* app/preferences.c (prefs_data): set the "reset tools after
create" preference to true by default. That seems to be what most
people expect.
* app/interface.c (create_sheets): instead of a notebook, use an
option menu that updates the sheet tools. The notebook tabs were
getting a bit unwieldly, so the option menu should fix that. This
also reduces the number of widgets in the tools radio button
group, which should make the UI a little more responsive.
2000-07-19 Fatih Demir <kabalak@gmx.net>
* configure.in: Added tr to ALL_LINGUAS.
[ Yeah, we're now having a Turkish translation,
too. ]
* dia.desktop: Added the Turkish entries.
2000-07-02 Fredrik Hallenberg <hallon@lysator.liu.se>
* doc/diagram.dtd: changed string-element so it conforms to the
output from dia.
2000-06-30 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in: added chinese.
Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
* app/app_procs.c:
app/load_save.c:
app/render_svg.c:
lib/dia_xml.c:
lib/plug-ins.c:
lib/sheet.c:
objects/custom/shape_info.c:
shapes/Circuit/npn.shape:
shapes/Circuit/pnp.shape:
sheets/*.sheet: dia now works with libxml2.
Libxml2 is a bit more picky when parsing xml and reported errors on all
sheet files because they use non ascii characters (added
encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so
I commented out these.
2000-06-30 Christopher R. Gabriel <cgabriel@linux.it>
* configure.in (ALL_LINGUAS): added Italian
2000-06-27 Sung-Hyun Nam <namsh@lgic.co.kr>
* configure.in (ALL_LINGUAS): added Korean
2000-06-25 James Henstridge <james@daa.com.au>
* objects/flowchart/parallelogram.c (pgram_create): use default font
and add properties interface support.
* objects/flowchart/ellipse.c (ellipse_create): use default font and
add properties interface support.
* objects/flowchart/diamond.c (diamond_create): use default font and
add properties interface code.
* objects/flowchart/box.c (box_create): use default font.
* objects/custom/custom_object.c (custom_create): use default font
here too.
* objects/standard/textobj.c (textobj_create): update to use default
font.
* lib/attributes.c: add implementations.
* lib/attributes.h (attributes_[gs]et_default_font): add function
prototypes for setting/getting a default font.
2000-06-24 James Henstridge <james@daa.com.au>
* app/paginate_gnomeprint.h: updated prototype.
* app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
diagram page settings.
* objects/standard/beziergon.c (beziergon_copy): same here.
* objects/standard/polygon.c (polygon_copy): copy the fill colour
as well.
* app/undo.h:
* app/tool.h (tool_options_dialog_show):
* app/scroll_tool.h (free_scroll_tool):
* app/render_svg.h:
* app/render_libart.h (renderer_libart_copy_to_window):
* app/render_gdk.h (renderer_gdk_copy_to_window):
* app/properties.h (properties_hide_if_shown):
* app/preferences.h (prefs_load):
* app/object_ops.h:
* app/modify_tool.h (free_modify_tool):
* app/magnify.h (free_magnify_tool):
* app/linewidth_area.h (linewidth_area_create):
* app/layer_dialog.h:
* app/handle_ops.h (handle_is_clicked):
* app/group.h:
* app/grid.h (grid_destroy_dialog):
* app/defaults.h (defaults_show):
* app/cut_n_paste.h (cnp_exist_stored_objects):
* app/create_object.h (free_create_object_tool):
* app/connectionpoint_ops.h (diagram_unconnect_selected):
* app/commands.h:
* app/color_area.h (color_area_create):
* app/app_procs.h (app_is_embedded): remove extern keyword from
function prototypes.
* lib/text.h:
* lib/sheet.h (load_all_sheets):
* lib/render_store.h:
* lib/render_object.h (render_object_load):
* lib/polyshape.h (polyshape_closest_segment):
* lib/poly_conn.h (polyconn_closest_segment):
* lib/orth_conn.h:
* lib/object.h:
* lib/objchange.h (new_object_state_change):
* lib/neworth_conn.h (neworthconn_add_segment):
* lib/message.h (message_error):
* lib/lazyprops.h:
* lib/geometry.h:
* lib/font.h (font_descent):
* lib/focus.h (remove_focus):
* lib/element.h:
* lib/diagramdata.h:
* lib/dia_xml.h (data_add_composite):
* lib/dia_image.h:
* lib/connpoint_line.h:
* lib/connection.h (connection_move_handle):
* lib/color.h:
* lib/attributes.h (attributes_set_default_line_style):
* lib/arrows.h (arrow_draw): remove extern keyword from function
definitions. It is not required for functions.
* plug-ins/dxf/Makefile.am (INCLUDES):
* plug-ins/pstricks/Makefile.am (INCLUDES):
* plug-ins/cgm/Makefile.am (INCLUDES):
* objects/SADT/Makefile.am (INCLUDES):
* objects/chronogram/Makefile.am (INCLUDES):
* objects/GRAFCET/Makefile.am (INCLUDES):
* objects/flowchart/Makefile.am (INCLUDES):
* objects/sybase/Makefile.am (INCLUDES):
* objects/FS/Makefile.am (INCLUDES):
* objects/standard/Makefile.am (INCLUDES):
* objects/network/Makefile.am (INCLUDES):
* objects/UML/Makefile.am (INCLUDES): same here.
* objects/ER/Makefile.am: changed inclusion of some macros to
variables.
* lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
handle the plug in extension, rather than have all the #ifdef's in
the code.
* plug-ins/Makefile.am: add renderer.inc to dist.
* plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
2000-06-11 Asbjorn Pettersen <asbjornP@dualog.no>
* lib/plug-ins.c: Handle OS/2 dll's too.
2000-06-07 James Henstridge <james@daa.com.au>
* app/plugin-manager.c (get_plugin_manager): set some table
packing options to make it look a little nicer.
* plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
makefiles for these plug-ins.
* plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
* configure.in: added hpgl and wpg directories to build. Added
note about whether gnome-print support was enabled, and noted that
it is not recommended.
2000-06-06 James Henstridge <james@daa.com.au>
* plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins. They still need
a little work, but I am checking them in so I don't lose them.
2000-06-01 James Henstridge <james@daa.com.au>
* objects/standard/arc.c: added extra properties.
* lib/beziershape.c (beziershape_closest_handle): fix a bug where I
was using the wrong index into the handles array. This gets corner
type changing working correctly.
* lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
to properties code (no editing or loading yet though). Also added
support for point array manipulation through the offsets interfaces.
* lib/Makefile.am (INCLUDES): added include of gdk-pixbuf
* app/interface.c (origin_button_press): changes so the origin
button doesn't grab the pointer when we pop up the menu.
* app/commands.c (help_about_callback): fix small memory leak in
about box code.
* app/menus.c (menus_init): fixed breakage I introduced in the non
gnome menus when I was doing the menu changes. The tearoffs work
really nicely in plain gtk mode as well.
* objects/standard/beziergon.c (beziergon_create): changed the
returned handles to match the handle numbering changes. Now
segment addition and removal works correctly with undo!
* lib/beziershape.c: various changes to the code. Changed the
numbering of handles, and fixed the segment removal code.
2000-05-31 James Henstridge <james@daa.com.au>
* objects/standard/beziergon.c: remove connection point handling.
There is still a bit of work to be done to get adding and removing
of segments working correctly.
* lib/beziershape.c: add connection point handling to beziershape.
I set it for two connection points per segment.
2000-05-30 James Henstridge <james@daa.com.au>
* objects/standard/polygon.c: don't do connectionpoint handling.
* lib/polyshape.c: changed to handle connection points internally.
Also, don't worry about connections to handles on polyshape, as
all handles are non connectable.
2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
* configure.in: Added finnish
2000-05-30 James Henstridge <james@daa.com.au>
* sheets/*.sheet: translation updates to the .sheet files.
* po/fr.po: updated po file from Christophe Merlet.
* menus.h: removed prototypes for functions which have been removed.
2000-05-29 James Henstridge <james@daa.com.au>
* app/layer_dialog.c (layer_dialog_set_diagram): set the selected
item in the option menu when changing selected diagram.
* app/dia_embedd.c (view_factory): fix up function to work with new
menus API.
* app/disp_callbacks.c (ddisplay_realize): remove call to
display_set_active from here.
(ddisplay_canvas_events): move call here. This gets rid of all the
warnings, as the renderer has been fully set up correctly at this
point.
* app/menus.c (menus_init): add the tearoff item to the start of the
right click menu.
* app/app_procs.c (create_user_dirs): we don't need to create the
menus directory anymore.
* app/disp_callbacks.c (ddisplay_popup_menu): it should not be
necessary to update the menu state here, as it was done when the
active display was set.
* app/display.c (display_set_active): update the menu state when
changing active displays.
* app/interface.c (origin_button_press): set the display as active
when a click is made on the menu button.
* app/menus.c (menus_init): set up a quit function to save the accels
at exit.
Add tearoff items for the non GNOME menus, add accelerators for
several GNOME menus.
* app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
menus_get_image_menu().
* app/menus.c (menus_get_item_from_path): use display_menus here
rather than ddisp->popup.
* app/display.h: remove the popup member in the DDisplay structure.
* app/interface.c: remove option of not using wrap box.
(create_toolbox): change to always use menus_get_toolbox_menubar
even when using gnome menus.
(create_display_shell): use menus_get_image_menu to load accelerators
only -- not the actual popup menu.
* app/menus.c (menus_init): new function to create the menus.
(menus_get_toolbox_menubar): use this function whether gnome is
in use or not. Changed to use menus_init.
(menus_get_image_menu): same here. Also, now this function always
returns the same menu, rather than a new one each time.
(menus_init): read a menurc file to load accelerators here.
2000-05-28 James Henstridge <james@daa.com.au>
* app/display.c (ddisplay_really_destroy): unset active display if
active display is destroyed.
(ddisplay_active): simplify function to return active_display as set
by display_set_active. This allows using a pinned menu with any
display -- not just the one it was popped up from.
(display_set_active): notify the layer dialog of change of diagrams
when active diagram changes.
* app/disp_callbacks.c (ddisplay_canvas_events): set active display
on button and key presses.
(ddisplay_realize): set active display on realize.
* app/display.c (display_set_active): simple implementation of this
function.
* app/display.h (display_set_active): add prototype for setting
the active display.
* app/interface.c (create_display_shell): don't give focus to the
menu button.
* app/menus.c: fix up menus for Beziergon.
* app/interface.c (create_display_shell): make the widget in the
top left corner a button that can be used to pop up the right click
menu, like in gimp and sketch.
* app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
the display menu.
* objects/standard/beziergon.c (beziergon_set_corner_type_callback):
add code to set corner types for beziergon.
* lib/beziershape.c (beziershape_set_corner_type): fix up corner type
setting code.
(beziershape_move_handle): use the previous corner type for right
controls.
* app/interface.c (tool_data): add beziergon to toolbox.
* objects/standard/standard.c (dia_plugin_init): initialise the new
Beziergon object type.
* objects/standard/beziergon.c: an object based on BezierShape.
* lib/dummy_dep.h (dummy_dep): added to dummy_dep.
* lib/beziershape.[ch]: new files implementing a bezier shape.
2000-05-26 James Henstridge <james@daa.com.au>
* lib/text.c (text_key_event): handle multibyte inserts.
(text_key_event): also add home and end keybindings.
* app/interface.c (create_display_shell): connect handlers for
focus_in_event, focus_out_event, realize and unrealize signals.
* app/display.[ch] (new_display): initialise input context members.
* app/disp_callbacks.[ch]: added XIM support here.
* lib/font.c (suck_font): the black and white pixel values should be
taken from a 1 bit colormap rather than the default colormap.
Hans Breuer's Windows patches ...
* lib/font.c: use Courier New for fixed width font on windows
machines.
* lib/dia_image.h: change to "struct _DiaImage".
* lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
* app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
mouse button for object menu. This will make two button mouse owners
happier.
2000-05-25 James Henstridge <james@daa.com.au>
* app/filedlg.c (file_open_ok_callback): use diagram_load here.
* app/app_procs.c (app_init): add extra NULL argument to call of
diagram_load.
* app/load_save.h: remove prototype.
* app/load_save.c: remove diagram_data function here.
* app/diagram.h: added prototype.
* app/diagram.c (diagram_load): new function here, which uses import
filters.
* plug-ins/dxf/dxf.c: register the import filter as well.
* plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
* objects/standard/line.c: add start_point and end_point properties
to standard line object.
2000-05-21 James Henstridge <james@daa.com.au>
* app/paginate_psprint.c: added missing include of locale.h.
* objects/custom/custom_object.c (custom_draw): use fabs rather than
abs for scaling factors.
(custom_distance_from): same here.
* dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
2000-05-18 James Henstridge <james@daa.com.au>
* po/POTFILES.in: updated POTFILES.in.
* dia.spec: incremented version number in spec file.
* NEWS: added (lots of) news items for the 0.85 release.
* app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
the config file.
* configure.in: updated version number here.
* app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
2000-05-17 James Henstridge <james@daa.com.au>
* app/app_procs.c (internal_plugin_init): register the native import
filter.
* app/load_save.c (diagram_data_load, diagram_load): split this
function into two -- one that does all the work on the DiagramData
structure, and the other that provides compatibility with the old
function.
(dia_import_filter): use diagram_data_load to define an import
filter.
* app/diagram.h (new_diagram): added const to prototype.
* app/filedlg.c (file_open_callback): change to use new import filter
code.
* lib/filter.c: added import filter management functions.
* lib/filter.h: added prototypes for import filter interface.
* app/commands.c (help_about_callback): updated about dialog to
contain a few more names.
2000-05-16 James Henstridge <james@daa.com.au>
* configure.in (Configuration): added a status message to the end of
the configure script to give the user some idea of what was
configured.
* plug-ins/dxf/Makefile.am: Makefile for new plugin.
* plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
plugin.
* plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
filter for dia.
* configure.in (AM_PATH_LIBART): use the check function provided
with libart rather than our own code. It is more reliable, and
it only requires that people who build out of CVS have libart.m4
installed (not necessarily all of libart).
(AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
2000-05-12 Andreas Hyden <a.hyden@cyberpoint.se>
* dia.desktop: Added Swedish translation.
2000-05-09 James Henstridge <james@daa.com.au>
* lib/dia_xml.c: you can't free a const pointer, so remove const
from variable definitions.
Explicitely set LC_NUMERIC where needed, as sometimes it isn't
initialised correctly.
* app/render_svg.c (export_svg): set locale to C.
* app/paginate_psprint.c (paginate_psprint): set locale to C.
* app/render_eps.c (export_eps): set locale to C for EPS export.
* lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
(data_add_point): same here.
(data_add_rectangle): same here.
(data_real): use g_strtod to convert strings to real numbers, so that
locales are taken into account.
(data_point): same here.
(data_rectangle): same here.
* AUTHORS: added Henk and Jacek to authors file.
Daniel Egger's code cleanups.
* app/select.c (select_invert_callback): remove unused variable.
* app/plugin-manager.c (get_plugin_manager): fix typo.
* app/load_save.c (read_connections, write_objects):
(write_connections): made some functions static.
* app/interface.c (toolbox_delete, toolbox_destroy): made some
functions static.
* app/filedlg.c (file_export_callback): remove unused variable.
* app/app_procs.c: various warning fixes.
Integrating Jacek Pliszka's pstricks export filter.
* plug-ins/pstricks/pstricks.c: code to initialise the plugin.
* plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
renderer (with a few small modifications by me).
* plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
* plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
2000-05-07 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
* sheets/Makefile.am:
* shapes/Makefile.am:
* shapes/Civil/Makefile.am:
* sheets/civil.sheet:
* shapes/Civil/*:
Added civil/hydraulic/structural engineering objects from
sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
2000-05-07 Alexander Larsson <alla@lysator.liu.se>
* objects/FS/flow-poly.c:
* objects/FS/flow.c:
Fix division by zero in point_normalize().
Patch by David Thompson <dcthomp@mail.utexas.edu>
2000-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
* lib/arrows.c:
* lib/bezier_conn.c:
* lib/connpoint_line.c:
Added checks for zero-length lines before calls to point_normalize.
2000-04-24 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* app/preferences.c (prefs_data): Changed
reversed_dragging_intersects to not make the dialog ridiculously
wide.
2000-04-22 James Henstridge <james@daa.com.au>
Hans's win32 patches:
* app/export_png.c: include message.h
* app/interface.c: include dia_dirs.h
* app/linewidth_area.c: check for rint
* app/main.c: include interface.h
* app/paginate_psprint.c: remove unused variable.
* app/preferences.c: include message.h
* app/render_svg.c: include stdlib.h
* app/select.c: include object_ops.h
* lib/dia_dirs.c: miscelaneous fixes for win32.
* lib/dia_image.c: include string.h
* lib/plug-ins.c: look for .dll files rather than .la files on win32.
* lib/properties.c: include stdlib.h
* lib/properties.h: define extra data for standard properties as
static variables on win32 (to get around dynamic linker problems).
* objects/standard/polygon.c: polygon_create_change missing return
statement.
2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): added Catalan
2000-04-18 James Henstridge <james@daa.com.au>
* objects/standard/bezier.c (bezierline_get_object_menu): add a
separator to the object menu between the add/remove segment items
and the corner type items.
(bezierline_get_object_menu): add code to disable the menu item for
the current corner type. Really just a cosmetic change.
* app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
a NULL for the label or with no associated callback.
* objects/standard/bezier.c (bezierline_menu_items): use the
enumeration values rather than numeric values for the corner types.
* lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
structure, and add code to handle it. Also, don't save the corner
types inline in the bez_points node. The way it is conditionally
including the element just feels like it will break.
* lib/geometry.h (BezPoint): removed the corner_type stuff from
BezPoint. The corner type stuff is a user interface level idea rather
than something required by the renderer, so should be taken care of
at the object level.
2000-04-17 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* configure.in: Fixed some problems with the gdk-pixbuf/imlib
checks. Weren't able to reproduce original bug, tough.
2000-04-16 Cyrille Chepelov <chepelov@calixo.net>
* sheets/Electric.sheet:
* sheets/Contact.sheet:
* sheets/Pneumatic.sheet:
* sheets/Circuit.sheet: sprayed some <br/>'s around.
(added a few French translations in the last file)
2000-04-16 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* lib/geometry.h:
* lib/bezier_conn.h:
* objects/standard/bezier.c:
* lib/bezier_conn.c: Support for cuspy, smooth and symmetric
bezier points. Only one minor problem known: Menus are active
for endpoints minor handles.
11:28: Save and load now works, too.
(bezierconn_closest_major_handle): 12:03: New function to get the
non-control point handle associated with the nearest control
point.
Also fixed the menu activation problem, and made remove_segment
not remove the endpoint.
2000-04-15 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
new API is in use.
2000-04-15 Asbjorn Pettersen <asbjornP@dualog.no>
* lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
<sys/stat.h>. OS/2 patch.
2000-04-15 James Henstridge <james@daa.com.au>
* objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
Thompson's patch that adds undo support to the function structure
diagram objects.
2000-04-14 James Henstridge <james@daa.com.au>
* objects/custom/custom_object.c (custom_distance_from): new
implementation of distance algorithm that actually takes the
display list into account when calculating the distance. Much nicer
than a simple bounding box.
2000-04-13 Lars Clausen <lrclause@cs.uiuc.edu>>
* lib/geometry.c (line_crosses_ray): Fixed division by zero bug
2000-04-12 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* objects/standard/polygon.c: Start of polygons own changes (for
connectionpoints). Need to do seperate changes in polyshape, too,
rather than reuse the bezier changes.
2000-04-13 James Henstridge <james@daa.com.au>
* lib/dia_image.c (dia_image_draw): use the new enumeration values
from after the gdk-pixbuf cleanup.
* lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
on for loop. Last set of coefficients were not beeing calculated,
which caused a bit of breakage.
* lib/bezier_conn.c (bezierconn_closest_segment): use the new
functions in geometry.c for calculating the closest segment.
(bezierconn_distance_from): use distance_bez_line_point to calculate
the distance.
* lib/geometry.c (distance_bez_line_point): new function to calculate
the distance from an open bezier line to a point.
(distance_bez_shape_point): new function to calculate the distance
from a closed bezier shape.
(distance_ellipse_point): new function to calculate the distance from
a filled ellipse to a point.
* lib/geometry.h (BezPoint): moved this structure here from render.h
2000-04-12 James Henstridge <james@daa.com.au>
* lib/geometry.c (distance_bez_seg_point): new function to calculate
the distance from a bezier segment.
* lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
to calculate the distance from the object.
* lib/geometry.c (distance_polygon_point): function for calculating
the distance from a polygon to a point.
2000-04-12 Cyrille Chepelov <chepelov@calixo.net>
* app/interface.c:
* lib/sheet.[ch]: added a <br/> tag in sheet files, so that line
breaks can be inserted in the tool box.
* doc/sheet.dtd: updated the DTD
* sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
2000-04-12 James Henstridge <james@daa.com.au>
* app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
macro if the dialog is a GtkDialog :(
2000-04-11 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* objects/standard/polygon.c: Connectionpoints now properly
managed in a GList. As far as I can tell, this will not dieturb
the order (but I have the nagging doubt...)
* lib/polyshape.c: No longer knows about connectionpoints.
2000-04-11 James Henstridge <james@daa.com.au>
* app/Makefile.am: fix makefile for bonobo build.
* configure.in: fix checks for bonobo.
* app/menus.c: added entries for the plugin manager.
* app/Makefile.am (dia_core_files): added plugin manager to files
list.
* app/plugin-manager.[ch]: the plugin manager dialog.
* app/display.c (display_update_menu_state): set the antialiased
menu entry to the correct value.
2000-04-11 Cyrille Chepelov <chepelov@calixo.net>
* objects/custom/custom_object.c: not all renderers like ellipses with
negative dimensions. This could cause ellipses to disappear when using
the flip_h and flip_v functions.
* samples/grafcet.dia: fixed speling and correctness.
2000-04-11 James Henstridge <james@daa.com.au>
* lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
exposed the dia_plugin_load and dia_plugin_unload functions.
* lib/plug-ins.c (plugin_load): change plugin_load to work on an
already created PluginInfo structure.
* app/app_procs.c (app_exit): call dia_pluginrc_write() to write
the pluginrc file.
* lib/sheet.c: fix up call to dia_config_filename.
* lib/plug-ins.[ch]: started writing code for handling a pluginrc
file. This would save information such as which plugins not to
load during startup.
2000-04-09 James Henstridge <james@daa.com.au>
* lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
2000-04-10 Alexander Larsson <alla@lysator.liu.se>
* lib/plug-ins.c (dia_register_plugins):
Don't free the value returned from g_getenv.
2000-04-09 Anders Carlsson <andersca@gnu.org>
* app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
* app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
* app/modify_tool.c (modify_button_release): If rubberbanding is done from
right to left, select objects that intersect the rubberbanding rectangle
instead of selecting objects that are in the rectangle.
* lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
* lib/diagramdata.h: Likewise.
2000-04-09 James Henstridge <james@daa.com.au>
* lib/plug-ins.[ch]: add copyright messages to files.
* plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
plugin interface.
* objects/sybase/sybase.c (dia_plugin_init):
* objects/network/network.c (dia_plugin_init):
* objects/flowchart/flowchart.c (dia_plugin_init):
* objects/custom/custom.c (dia_plugin_init):
* objects/chronogram/chronogram.c (dia_plugin_init):
* objects/UML/uml.c (dia_plugin_init):
* objects/SADT/sadt.c (dia_plugin_init):
* objects/GRAFCET/grafcet.c (dia_plugin_init):
* objects/FS/fs.c (dia_plugin_init):
* objects/ER/er.c (dia_plugin_init): updated plugin load code for
object libraries.
* objects/standard/standard.c (dia_plugin_init): change over to new
plugin interface.
* lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
the version checker for plugins.
* app/app_procs.c: remove plugin loading code from here, and use
code from plug-ins.[ch]. Also move registration of internal
objects/filters to a `builtin' plugin.
* lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
* configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
* app/Makefile.am (EXTRA_DIST): you can't include a conditionally
defined variable in EXTRA_DIST.
* app/preferences.h: removed dia_config_filename from header.
* app/preferences.c: removed dia_config_filename function.
* lib/dia_dirs.c (dia_config_filename): moved function over to this
file. Also changed implementation slightly so that it should work
on the win32 port correctly (and use NT home directories).
* lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
it should have been.
* lib/plug-ins.[ch]: new plugin loading code.
2000-04-08 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* objects/standard/polygon.c: Fixed startup crash bug (do'h!).
* lib/polyshape.c: Fix closest segment finding, exposes deeper
bugs in adding corners to 'wraparound' segment.
* objects/standard/polygon.c: Added connection points (fixed so
far), set menu sensitivity.
* lib/polyshape.c: Changed to box-style handles, fixed for start
and ends not being special, added initial connections,
* lib/dummy_dep.h: Added polyshape (gotcha!)
* objects/standard/pixmaps/ellipse.xpm:
* objects/standard/pixmaps/box.xpm:
Filled element pixmaps with white.
* lib/polyshape.c:
* objects/standard/polygon.c:
* lib/polyshape.h:
* objects/standard/standard.c:
* objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
* lib/Makefile.am (libdia_a_SOURCES):
* app/menus.c:
* app/interface.c (tool_data):
Added Standard/Polygon object and PolyShape lib object. Still
needs inside grab and connection points.
* app/commands.c (help_about_callback): Now uses gdk-pixbuf if
available.
* configure.in: Made imlib a fallback if gdk-pixbuf is absent or
not wanted.
* app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
if (argv) outside ifdefs.
2000-04-04 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* objects/standard/image.c (image_set_props):
Aspect ratio is back in town.
* app/Makefile.am (dia_LDADD):
* acconfig.h:
* configure.in:
Check for gdk_pixbuf (by default disabled, for now)
* app/render_eps.c (draw_image):
* app/render_libart.c (draw_image):
* app/render_gnomeprint.c (draw_image):
Support for alpha mask in rendering. Color postscript, too.
* lib/dia_image.c:
* lib/dia_image.h:
Support for gdk_pixbuf and proper masking for exports.
2000-04-01 Kjartan Maraas <kmaraas@online.no>
* sheets/*.sheets: Updated Norwegian translations.
2000-03-30 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* lib/text.c (text_insert_char):
* lib/render_store.c (add_data):
Made realloc double the alloced space rather than add
a fixed amount, to reduce memory stress.
* app/select.c: Added new select method 'Transitive'
that select every reachable (by connections) object.
2000-03-27 Kjartan Maraas <kmaraas@online.no>
* dia.desktop: Added Norwegian translation.
2000-03-26 Alexander Larsson <alla@lysator.liu.se>
* app/render_eps.c:
* app/render_svg.c:
Don't dereference NULL pointer if the renderer
couldn't open the file. Fix by Lars Clausen.
Bug reported by Martin Chisholm <b1mt@unb.ca>
2000-03-26 Alexander Larsson <alla@lysator.liu.se>
* dia.desktop:
* po/pt.po:
Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
2000-03-25 Alexander Larsson <alla@lysator.liu.se>
* app/dia.gnorba (location_info):
Changed to correct executable name.
2000-03-25 Alexander Larsson <alla@lysator.liu.se>
* app/app_procs.c:
Don't do any argument parsing or initialization
if argv==NULL.
* app/dia_embedd.c:
Call init_server_factroy before app_init.
Call app_init with argv==NULL
Now we don't get any critical error on startup.
* configure.in:
Add Electric and Pneumatic to makefile list.
2000-03-24 Cyrille Chepelov <chepelov@calixo.net>
* shapes/Electric/*:
* sheets/Electric.sheet:
Add some Electric circuit shapes.
* shapes/Pneumatic/*:
* sheets/Pneumatic.sheet:
Add some Pneumatic & Hydraulic circuit shapes
(both sheets are still incomplete, though feature enough
things for basic circuits).
* shapes/Contact/l_*.(xpm|shape):
* sheets/Contact.sheet
* shapes/Contact/Makefile.am
made the older electric circuit shapes in Contact obsolete (disabled
them in the sheet, made that sheet Ladder only). Fixed the makefile
for forgotten items.
2000-03-24 Alexander Larsson <alla@lysator.liu.se>
* app/Makefile.am:
Add support for Dia bonobo component.
Currently a bit raw, so it's commented out.
* app/dia_embedd.c:
* app/dia.gnorba:
New files for embedding dia.
The menu disabling hack is a bit gross. Esp. for GNOME.
* app/app_procs.h:
Add new function app_is_embedded();
* app/diagram.c:
Don't destroy diagram when last display is destroyed if embedded.
* app/display.c:
Change initialization of display so it works with embedding.
* app/display.h:
Clarify comment about display destruction.
* app/interface.[ch]:
Added top_level_window argument to create_display_shell.
Don't open a top-level window if embedding.
Don't quit app if trying to close toolbox window when embedding.
Add toolbox_show() and toolbox_hide().
* app/main.c:
Added app_is_embedded() function (just returns false).
Added toolbox_show() call in main().
* app/menus.c:
Added code for getting toolbox menus. This is used to
hide some menu items when running embedded.
* app/app_procs.c:
Include sheet.h to remove warning.
* objects/UML/association.c:
Clarify association direction text.
2000-03-16 Fredrik Hallenberg <hallon@lysator.liu.se>
* dia.1
Fixed man page so whatis parsing works.
2000-03-12 Alexander Larsson <alla@lysator.liu.se>
* app/render_libart.c (new_libart_renderer):
Fix from segg <segg@infonet.ca> to compile without libart.
I forgot to change the stub for new_libart_renderer when doing
the interactive renderer stuff for libart.
2000-03-11 Alastair McKinstry <mckinstry@computer.org>
* dia.desktop: Added Irish translation.
* configure.in (ALL_LINGUAS): Added Irish (ga) translation.
2000-03-07 Asbjorn Pettersen <asbjornP@dualog.no>
* app/load_save.c (fchmod): OS/2 defines only.
2000-03-07 James Henstridge <james@daa.com.au>
* lib/properties.c (prop_get_widget): set the position in the option
menu correctly.
2000-03-06 Alexander Larsson <alla@lysator.liu.se>
* app/display.c:
* app/export_png.c:
* app/render_libart.[ch]:
Don't export png:s with an interactive libart renderer.
2000-03-03 Asbjorn Pettersen <asbjornP@dualog.no>
* lib/arrows.c (finite): define finite(d) isfinite(d) for OS/2
2000-03-02 James Henstridge <james@daa.com.au>
* dia.spec (%build): unset LINGUAS before running configure. This
ensures that all translations get included in the RPM.
* lib/properties.c (object_create_props_dialog): put in a check for
a NULL return from the describe_props() object method.
(prop_desc_lists_union): make sure that the returned array is not
NULL.
(prop_desc_lists_intersection): same here.
2000-02-29 Alexander Larsson <alla@lysator.liu.se>
* objects/ER/Makefile.am:
* objects/FS/Makefile.am:
* objects/UML/Makefile.am:
Don't link object libs with gtk.
2000-02-29 James Henstridge <james@daa.com.au>
* app/preferences.c (prefs_save): check to see if the file could
be opened before writing the prefs.
* app/disp_callbacks.c (popup_object_menu): pass the button event
to gtk_menu_popup. This allows you to click and release to open
the object menu.
(ddisplay_canvas_events): same here.
(create_object_menu): set the object type menu item in the object
menu to be insensitive.
* app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
as we are now requiring a new version of libxml.
* dia.spec: updated version number. Added requirement for
libxml >= 1.8.5
* configure.in: incremented version number to 0.84.
Added check for libxml >= 1.8.5. This will prevent some of the
problems people have had with broken libxml versions.
* NEWS: added news items.
* app/interface.c (create_color_area): removed call to realize parent
widget. Segg <segg@infonet.ca> reported that it caused a warning,
but I haven't seen it on my copy of dia.
2000-02-28 James Henstridge <james@daa.com.au>
* app/export_png.c: added copyright notice, and made the band height
a constant.
2000-02-27 Alexander Larsson <alla@lysator.liu.se>
* lib/font.c (suck_font):
Fixed off-by one bug in font pixmap height.
Fixes the problem with garbage at the bottom of some text in aa mode
and in png exported files.
2000-02-27 James Henstridge <james@daa.com.au>
* app/app_procs.c: add the png export filter if it was compiled in.
* app/export_png.c (export_png): new PNG export filter. This requires
the libart renderer to work as it needs a renderer that renders to a
pixel buffer.
* configure.in: add check for libpng.
* lib/message.c (message_internal): use a GNOME dialog here as well.
* app/display.c (ddisplay_close): use a GNOME dialog here.
* app/render_eps.c (create_eps_renderer): use diagram scaling factor
when exporting to EPS. This is because some people said the EPS
output was too large
2000-02-26 James Henstridge <james@daa.com.au>
* app/defaults.c (create_dialog): use a GNOME dialog for the defaults
window.
* app/app_procs.c (app_exit): use a GNOME dialog here.
* app/preferences.c (prefs_create_dialog): if GNOME support is
enabled, show a GNOME dialog.
* app/grid.c (grid_draw): use preferences when drawing page break
lines.
* app/preferences.c: add page break preferences to dialog.
* app/preferences.h: added page break preferences.
2000-02-25 James Henstridge <james@daa.com.au>
* sheets/UML.sheet: added new objects.
* objects/UML/uml.c: link in the two new objects.
* objects/UML/node.c:
* objects/UML/branch.c: new UML objects from Stfan Seefeld
<seefelds@magellan.umontreal.ca>.
2000-02-24 James Henstridge <james@daa.com.au>
* objects/custom/custom_object.c: converted to use the properties
interface. In the future, it would be nice to add support for
defining custom properties for custom objects, but that can wait.
2000-02-22 James Henstridge <james@daa.com.au>
* sheets/Circuit.sheet: added new circuit shapes to sheet.
* plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
<hj@justcroft.com>. Fixes number encoding, colour encoding, fonts
and adds a few new features.
2000-02-21 Daniel Egger <egger@suse.de>
* sheets/*.sheets: Added German translations and made some
corrections to the others.
2000-02-21 James Henstridge <james@daa.com.au>
* shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
* shapes/Circuit/...: added new shapes from Erik Janssens.
2000-02-20 James Henstridge <james@daa.com.au>
* app/interface.c (create_color_area): realize the parent window
first.
* objects/standard/image.c: properties patch for standard image
object, from Lars Clausen.
* lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
* lib/properties.h (PropType): added file property type.
* shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
other shapes.
* app/interface.c: use wrap box for toolbox.
* app/Makefile.am: added new files.
* app/gtk*wrapbox.[ch]: added wrap box widget.
2000-02-19 James Henstridge <james@daa.com.au>
* sheets/network.sheet: added extra shapes to networks sheet.
* configure.in (AC_OUTPUT): added shapes/network/Makefile
* shapes/network/*: added shapes that were posted to the list a while
back.
* shapes/Makefile.am (SUBDIRS): added network subdirectory
* app/menus.c (toolbox_menu_items): don't right justify help menu for
gtk+ version of menus.
* app/properties.c (create_dialog): use a GnomeDialog if we happen
to be using gnome.
2000-02-18 James Henstridge <james@daa.com.au>
* objects/flowchart/box.c: set extra data for corner radius and text
padding properties.
* objects/standard/box.c: set extra data for corner radius property.
* lib/properties.h: set extra data in some standard properties.
* lib/properties.c (prop_get_widget): look at the extra data for
int, real and enum property types. They now use GtkSpinButton and
GtkOptionMenu respectively.
* lib/properties.h: extra data members for creating property setting
widgets.
2000-02-17 James Henstridge <james@daa.com.au>
* objects/flowchart/box.c: reverted load/save functions back to
previous implementations. Made box use standard property names.
* plug-ins/cgm/cgm.c (set_linestyle): was missing a */
* app/grid.c: add more digits to the grid edit dialog. This patch
was also from Lars Clausen.
* objects/standard/zigzagline.c:
* objects/standard/textobj.c:
* objects/standard/polyline.c:
* objects/standard/line.c:
* objects/standard/ellipse.c:
* objects/standard/box.c:
* objects/standard/bezier.c:
* objects/standard/arc.c: patches to add properties code to standard
objects. Based on patches from Lars Clausen. I have also removed
some dead code from the files.
* lib/properties.h (PROP_STD_*): define a number of standard
properties. Where appropriate, objects should include these
properties in their PropDescription list. This way, the intersection
of properties of two different shapes will be greater.
2000-02-14 James Henstridge <james@daa.com.au>
* objects/flowchart/box.c (box_load, box_save): use property save
routines. Make sure that any props not handled by object_load_props
are loaded before calling object_load_props, or we get errors because
update_data is called.
* lib/properties.c (object_get_props_from_offsets): fixed an indexing
error that could cause properties to be loaded incorrectly.
(object_set_props_from_offsets): similar here.
* lib/properties.[ch] (prop_{load,save}): functions for loading
or saving a property in Dia's XML file format.
(object_{load,save}_props): load or save some properties of an
object. These functions should help simplify the load/save methods
of objects that implement the properties interface.
2000-02-13 James Henstridge <james@daa.com.au>
* objects/flowchart/box.c: use offset code to simplify property
get/set routines.
* lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
properties.
(ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
* lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
properties.
(OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
* lib/properties.[ch] (object_{get,set}_props_from_offsets): new
functions
2000-02-12 Alexander Larsson <alla@lysator.liu.se>
* app/Makefile.am:
Add the custom object to DIA_LIB_PATH in run_dia.sh
2000-02-10 Cyrille Chepelov <chepelov@calixo.net>
* sheets/Circuit.sheet:
* shapes/l_sout* (NEW):
* shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
variants of simple, inverted, set and reset outputs.
Still to do: all Schneider/Telemecanique TSX *7 function blocks ;
probably a split of Contact and Ladder sheets. And then a major
revamping of the Contact sheet.
2000-02-10 James Henstridge <james@daa.com.au>
* app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
* app/app_procs.c (register_all_objects): don't explicitely
register the custom objects library -- let it be loaded by the
normal plugin loading methods.
* lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
* objects/custom/Makefile.am: build libcustom_objects as a shared
library again.
* objects/custom/shape_info.[ch]: don't read the description field
of custom shapes. It makes more sense to have these in the sheet
file to localise the parts of dia that translators have to deal
with.
* objects/custom/custom_object.c (custom_object_new): do not
create the sheet object for the new custom shape -- this is
handled by the custom sheet code.
* objects/custom/custom.c: change over to being a normal plug-in
rather than being linked with the main dia executable.
2000-02-09 James Henstridge <james@daa.com.au>
* sheets/Circuit.sheet:
* sheets/Flowchart.sheet:
* sheets/Contact.sheet: fixed up sheets.
* objects/custom/custom_object.c (custom_object_new): set the
extra ObjectType fields.
* lib/sheet.c: use extra ObjectType fields when creating sheet
objects. Give a warning if <shape> tags are found in a sheet
file. Now the custom sheet code does not know about custom
shapes -- they look like any other object type.
* lib/object.h (ObjectType): added extra members
2000-02-08 Alexander Larsson <alla@lysator.liu.se>
* app/linewidth_area.c:
Added code to set arbitrary line width.
Patch by Lars Clausen <lrclause@cs.uiuc.edu>
2000-02-08 Alexander Larsson <alla@lysator.liu.se>
* app/linewidth_area.c:
* lib/font.[ch]:
Add support for font-sucking.
Implementation borrowed from gnome-canvas.
* app/render_libart.[ch]:
Implement text rendering.
2000-02-07 Alexander Larsson <alla@lysator.liu.se>
* app/properties.c (create_dialog):
ref and sink no_properties_dialog.
2000-02-07 James Henstridge <james@daa.com.au>
* app/group.c (group_describe_props): new function. Return the
intersection of the properties of the contained objects that
implement the describe_props interface.
(group_get_props): implement by iterating through contained objects
and calling their get_props method until all properties have been
set. Maybe this should go through all objects all the time??
(group_set_props): implement by calling set_props method on all
contained objects.
(group_ops): use standard props dialog creation routines.
* lib/properties.c (prop_desc_lists_intersection): fix implementation
of intersection -- I was using i++ instead of i-- in a for loop :(
* objects/custom/custom.c (custom_register_objects): fix usage
of dia_get_data_directory again.
* lib/sheet.c: fix up use of dia_get_data_directory, so that we
actually read the sheets.
2000-02-06 Alexander Larsson <alla@lysator.liu.se>
Win32 port by Hans Breuer <Hans@Breuer.org>
* app/Makefile.am:
Remove DATADIR and LIBDIR defines.
* lib/Makefile.am:
Add dia_dirs.c and dia_dirs.h
Added DATADIR and LIBDIR defines.
* lib/dia_dirs.[ch]:
New files for handling special directories.
* app/app_procs.c:
* app/commands.c:
* lib/sheet.c:
* objects/custom/custom.c:
Fix warnings. Use directory functions.
* app/diagram.h:
Add prototype for diagram_redraw_all.
* app/diaunitspinner.c:
* app/filedlg.c:
* app/interface.c:
* app/preferences.c:
Fix warning.
* app/load_save.c:
Win32 doesn't have mkstemp and fchmod.
* app/paginate_psprint.c:
Win32 calls popen _popen and pclose _pclose.
* app/arrow.c:
Win32 calls finite _finite.
* lib/color.h:
Win32 needs to dllexport the color vars.
* objects/GRAFCET/step.c:
* objects/chronogram/chronoref.c:
snprintf -> g_snprintf
2000-02-05 James Henstridge <james@daa.com.au>
* lib/properties.c: more fixes so that it doesn't crash when using
properties. The undo/redo stuff also works!!
* objects/flowchart/box.c (box_{describe, get, set}_props): test
object where I have implemented the new properties interface
complete with automatic properties dialog generation.
* lib/properties.c (object_apply_props): fixed stupid error when
creating the old_props array. Also, it no longer frees the props
array -- you will have to do that yourself.
2000-02-04 James Henstridge <james@daa.com.au>
* app/properties.c (properties_apply): pass object_part to
apply_properties.
* lib/object.h (ApplyPropertiesFunc): added widget argument.
* lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
created this way as well.
* objects/*/*.c: ref and sink the properties dialog window for each
widget. It can't rely on ref count being incremented by
properties_show anymore.
* app/properties.c (properties_show): don't ref the widget before
removing it, or its ref count will increase each time you open the
properties dialog. Don't unparent the widget, as container_remove
does that for us.
* lib/object.h: fixed up prototypes for new object methods.
* lib/properties.[ch]: added functions for automatically creating
a properties dialog from the output of describe_props, get_props and
set_props.
(object_apply_props): apply properties and return an ObjectChange
structure that can be used for undo.
2000-02-03 Cyrille Chepelov <chepelov@calixo.net>
* objects/GRAFCET/transition.c: minor leak plugged.
* sheets/GRAFCET.sheet:
* objects/GRAFCET/pixmaps/condition.xpm: (NEW)
* objects/GRAFCET/condition.c: (NEW) added a new object type, action
conditions.
* objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
new ones (for condition.c).
* objects/GRAFCET/action.c: added connection points for the conditions.
* samples/grafcet.dia: updated the sample to improve conformance to
IEC 848 and take advantage of dia's new features.
* lib/geometry.h: (point_get_normed) fixed a typo.
2000-02-02 James Henstridge <james@daa.com.au>
* lib/object.h: added object functions describe_props, get_props and
set_props. Do type definitions so that object.h doesn't need to
include properties.h, since properties.h includes object.h.
* lib/properties.[ch]: more hacking.
* po/de.po: updated po file.
2000-01-30 James Henstridge <james@daa.com.au>
* configure.in: don't add flags to CFLAGS unconditionally. Instead,
check to see if the C compiler accepts the flag beforehand.
* lib/properties.[ch]: start of properties code.
* shapes/Contact/Makefile.am (SHAPES): fix up makefile.
2000-01-30 Cyrille Chepelov <chepelov@calixo.net>
* sheets/GRAFCET.sheet:
* sheets/GRAFCET/etapemc.xpm: (NEW)
* sheets/GRAFCET/etapesp.xpm: (NEW)
* objects/GRAFCET/step.c: Added the macro and
sub-program call step types.
* objects/GRAFCET/receptivity.[ch]: renamed to
objects/GRAFCET/boolequation.[ch].
* objects/GRAFCET/transition.c: changed (Receptivity *) to
(BoolEquation *)
* lib/connpoint_line.[ch]:
* objects/chronogram/chronoline.c:
* objects/chronogram/chronoref.c:
* objects/GRAFCET/vergent.c:
* objects/standard/line.c:
* objects/SADT/box.c: Minor CPL interface changes, factored out the
point count adjustment code into the CPL object.
2000-01-29 Alexander Larsson <alla@lysator.liu.se>
* app/render_libart.c:
Added support for images and bezier curves.
Only text/fonts missing now.
* app/render_gdk.c:
Removed old erronous comment.
2000-01-29 Cyrille Chepelov <chepelov@calixo.net>
* objects/chronogram/chronoline_event.c: removed references to
lround(). Please don't insist, I'm already red of shame.
2000-01-29 Alexander Larsson <alla@lysator.liu.se>
* app/render_libart.[ch]:
* app/Makefile.am:
Non-finished libart renderer.
* acconfig.h:
Added HAVE_LIBART flag
* configure.in:
Added libart probe
* app/app_procs.c:
Call gdk_rbg_init().
* app/connectionpoint_ops.c:
* app/disp_callbacks.c:
* app/grid.c:
* app/handle_ops.c:
* app/magnify.c:
* app/modify_tool.c:
Change ddisp->renderer type from RendererGdk * to Renderer *
Draw zoom and select rects in ddisp->canvas->window instead
of ddisp->renderer->renderer->pixmap.
* app/display.[ch]:
Add aa_renderer to DDisplay, and support for it.
New function ddisplay_set_renderer() for changing renderer.
Add ddisplay_transform_coords_double() function, used by aa renderer.
Change ddisp->renderer type from RendererGdk * to Renderer *
* app/menus.c:
Add antialias to menu.
* app/commands.[ch]:
add view_aa_callback function
Change ddisp->renderer type from RendererGdk * to Renderer *
* lib/geometry.[ch]:
Added IntRectangle and int_rectangle_union.
2000-01-28 James Henstridge <james@daa.com.au>
* app/commands.h: removed prototypes.
* app/commands.c: removed the functions that have been moved to
filedlg.c.
* app/filedlg.h: added new prototypes.
* app/filedlg.c (file_open_callback): move open dialog to this
file. This implementation should remember the current directory
between file loads.
(file_save_as_callback): moved this dialog as well.
(file_save_callback): moved this function here.
* app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
align page boundaries to the origin.
* app/diagram.c (diagram_update_extents): redraw the diagram if the
scaling factor changes while updating the extents. This is so the
page breaks get redrawn correctly.
* app/pagesetup.c (pagesetup_apply): added diagram_flush call when
applying changes.
* app/grid.c (grid_draw): draw page breaks as well as grid lines.
For normal mode, use (0,0) as the origin. For `fit to' mode, use
the corner of the bounding box.
* app/pagesetup.c (create_page_setup_dlg): load new paper attributes
into page setup dialog.
(pagesetup_apply): apply new `fit to' attributes to the diagram.
* app/load_save.c (diagram_load): load new paper `fit to' attributes.
(diagram_data_save): save `fit to' data.
* lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
(data_update_extents): when in `fit to' mode, update scale factor
when we update the extents.
* lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
structure.
* .../.cvsignore: added some cvsignore files to quieten cvs.
* app/pagesetup.c (pagesetup_changed): added code to change the
scaling/fit to values as you change the options in the page setup
dialog. I haven't added code so that the fit to options are saved
though.
* app/diapagelayout.[ch]: changed the scaling portion of the widget
to make it easier to set a `fit to' style scaling factor.
2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
* lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
but connpoint_line-based, so that there's a connection point at the
middle of each segment. Currently only the SADT arrow uses this.
* objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
* lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading,
saving and editing of properties (and default properties).
See the new objects (GRAFCET, SADT, chonograms) for examples.
For already too hairy stuff, see objects/chronogram/chronoline.c.
* lib/connpoint_line.[ch] (NEW): This subobject manages a line of
evenly spaced connection points, which the user can add or remove at
will. An object can own several connection point lines. See the SADT
Box, or the GRAFCET vergents for examples.
* lib/dummy_dep.h: added dependencies to new files. Told gcc to keep
quiet about unused stuff.
* objects/GRAFCET (NEW):
* samples/grafcet.dia (NEW):
Added support for GRAFCET charts.
* objects/chronogram (NEW):
* samples/chronograms.dia (NEW):
Added support for chronograms (feature requested by Ronald L. Chichest;
I found I'd use it often, too).
* objects/standard/line.c: Replace the middle connectionpoint by
a whole connection point line, which defaults to one point (hint,
hint). New Line object menu to take advantage of this.
"Bothwards" compatibility is preserved (although you may loose
connections if you load a newer file in a older dia).
* app/lineprops_area.c:
* lib/arrows.[ch]:
* lib/widgets.c: Added hollow and filled ellipse arrow head type.
(feature requested by Benjamin Kahn).
Merged in Steffen Macke's slashed arrow head type.
* app/Makefile.am (app/run_dia.sh actually):
Added $DEBUGGER in front of dia's invocation, so that
you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
Added $(EFENCE) to app/dia's LDFLAGS, so that you can do
"EFENCE=-lefence" to link with Electric Fence.
* configure.in: Made gcc do more aggressive optimisations on i386, and
enabled warnings.
2000-01-24 James Henstridge <james@daa.com.au>
* lib/geometry.[ch]: added inline versions of functions. Used
glib's G_INLINE_FUNC stuff, so it should still work on systems
without inline funcs.
* plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
it outputs the correct element id for the ellipse objects.
2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
* lib/object.[ch]: added object_add_connectionpoint_at, similar to
object_add_handle_at. Message typo fixed.
* lib/sheet.c (load_register_sheet):
potential bug fixed (warning hunt).
* objects/custom/custom.c (custom_object_load): disabled an assertion
which made dia abort upon failure to load a shape file. Fixed a
subsequent crash.
* objects/custom/shape_info.c (load_shape_info): Made the custom
shape load code ignore XML comments between <?xml ...?> and the
root object (mostly useful to put the emacs magic comments).
* app/load_save.c: Made dia do backup copies of files when saving,
and complain in case of failure.
2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
* AUTHORS: fixed my address (ISP thought it was a great idea to change
the domain name)
* configure.in:
* shapes/Contact:
* shapes/Contact/*:
* sheets/Contact.sheet:
* sheets/Makefile.am:
Added support for Contact and LADDER charts.
* dia.desktop: Added a French translation.
2000-01-23 James Henstridge <james@daa.com.au>
* app/commands.c (help_about_callback): don't die if can't load
logo image.
* app/render_gdk.c (bezier_add_lines): sanity check to try to weed
out NaN's when performing bezier curve subdivision.
* objects/custom/custom_object.c: initialise memory of Custom structs
to zero.
* app/render_svg.c (draw_image): added image support to the XML
output filter. The image is just referenced, rather than being
included inline, so if you copy the SVG file somewhere else, you
may need to move the images or fix up the links.
* plug-ins/cgm/cgm.c (draw_string): output a text colour element,
so the text is not just displayed in black all the time.
2000-01-15 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in: fixed libpopt test so we wont try to build with
too old libpopt.
1999-12-18 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in: Added "uk" to ALL_LINGUAS.
1999-12-24 James Henstridge <james@daa.com.au>
* po/ru.po: updated russian translation from Valek Filippov.
* app/render_svg.c (new_svg_renderer): make output use 19991203
version of SVG DTD. Use viewBox to set the extents of the view.
* INSTALL (FONTS): updated locations of gnome-xml and imlib. List
ftp.gnome.org as the download.
* TODO (TODO): weeded out completed todo items and added a few extra.
* Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
* doc/sheet.dtd: first stab at a DTD for the sheet files. It would
be good to get rid of the object/shape distinction and separate
the custom shape code out from the main application.
* objects/custom/README, diagram.dtd: moved to new doc directory.
Renamed the custom shapes README to custom-shapes. Also updated
custom shape docs a bit and removed the section on sheet files, as
that has changed a bit.
* plug-ins/cgm/cgm.c (draw_image): give an error if the row length
of the image data is larger than the maximum cell array. I should
add code to break scan lines down further in this case, but for now
an error message is better than an infinite loop.
* app/filedlg.c (file_export_ok_callback): show a dialog if we
couldn't determine the export filter to use.
* app/commands.c (help_about_callback): fixed up about box logo
expose bug. Now just use a GtkPixmap widget rather than a
GtkDrawingArea and calling gdk_imlib_paste_image.
* app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
because automake does not always get things right.
* configure.in: updated version number to 0.83.
* app/preferences.c (prefs_save):
* app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
for fopen. Text is the default file mode anyway.
* app/commands.c (file_save_as_dialog_ok_callback, file_new_callback):
* app/grid.c (grid_x_update, grid_y_update, grid_show_dialog):
* app/load_save.c (write_objects, write_connections):
* app/filedlg.c (file_export_ok_callback):
* lib/dia_xml.c (data_add_int, data_add_enum, data_add_real):
* lib/dia_xml.c (data_add_point, data_add_rectangle):
* lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
snprintf to calls to g_snprintf.
* plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
as the picture name.
1999-12-23 James Henstridge <james@daa.com.au>
* plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
negative numbers. This fixes the upside down text problem I was
having previously.
(draw_image): implemented the image code. It will try to split the
image data up into bands if it is too big to fit into a single
cgm cell array element. It will have problems if you try to insert
an image wider than about 10,000 pixels though.
* Makefile.am: use gnomedatadir for the files that need to be
installed in gnome's datadir. This is mainly to help people doing
packages for weird setups.
1999-12-22 James Henstridge <james@daa.com.au>
* plug-ins/cgm/cgm.c: added support for text. Now only images and
beziers are left to do. The text seems to be the wrong way up
still. This is probably a problem with character orientation
element, but I have used what the settings given in the standard.
Other than this, the CGMs dia produces are readable (and displayable)
by ralcgm and corel draw.
(draw_string): subtract from the X coord rather than the Y coord for
center and right aligned text.
* plug-ins/cgm/cgm.c: a few fixups for the output. Use REALSIZE as
the size of a real number, and changed name of write_double to
write_real. Consider changing to fixed real encoding. Also, now
all element headers are correct. Once the real number encoding is
fixed, only text, beziers and images are left to do.
1999-12-21 James Henstridge <james@daa.com.au>
* Makefile.am (SUBDIRS): recurse into plug-ins.
* configure.in: add plug-ins directory makefiles to list.
* plug-ins/cgm/cgm.c: start of cgm export filter. Beziers and text
not done yet. Also, the output files are not quite correct.
* app/render_eps.c (print_reencode_font): don't reencode the Symbol
font. It doesn't work if you do.
1999-12-20 James Henstridge <james@daa.com.au>
* app/app_procs.c (app_init): don't use diagram_export_to_eps to
export the files. Instead, use filter_guess_export_filter to
guess the correct format to save in and use the appropriate filter.
It defaults to postscript for compatibility.
* app/diagram.[ch] (diagram_export_to_eps): removed export to eps
function.
* app/commands.[ch]: removed export to eps functions.
* app/menus.c: removed export to eps menu items.
* app/app_procs.c: register new export filters.
* app/load_save.[ch]: define dia native export filter.
* app/render_eps.[ch]: define eps export filter.
* lib/filter.h: added diafilename argument to the DiaExportFunc
prototype. This is useful for putting the source of the diagram
into the output file for instance.
* app/app_procs.c (app_init): register the SVG export filter. Have
to get EPS code converted to this API, and maybe also allow saving in
DIA's native format from the export dialog. In fact, it is now
possible to load an export filter from a shared library and it will
integrate into the interface correctly.
* app/menus.c: removed references to the SVG renderer.
* app/commands.[ch]: removed svg stuff.
* app/diagram.[ch]: removed diagram_export_to_svg function.
* app/render_svg.[ch]: added a DiaExportFilter structure for this
renderer.
* app/filedlg.[ch]: code for the new export diagram dialog. Will
probably move the open/save dialogs to this file as well.
1999-12-19 James Henstridge <james@daa.com.au>
* lib/filter.[ch]: start of interface for generalised handling of
filters. I have only done code for export filters so far. I still
need to do the gui for this, and convert the current SVG and EPS
filters to the new API.
* lib/bezier_conn.c (bezierconn_copy): fix up copy operation. We
weren't setting the last handle correctly. It was actually assigning
to the wrong position in the handles array, so the last handle was
left as NULL, which caused the segfault.
* objects/standard/image.c (image_copy): modified routine so that
it just adds a reference to the DiaImage structure in the new image
object. This seems to have cleared up the problems with copying
image objects.
* dia.spec: spec file additions from John Gotts.
1999-12-12 James Henstridge <james@daa.com.au>
* configure.in (GNOME_LIBS): updated version number to 0.82. 0.82
has not been released yet though.
* Makefile.am (EXTRA_DIST): distribute diagram.dtd.
The following based on a patch from Lars Clausen:
* objects/standard/bezier.c (bezierline_move_handle): when performing
the initial drag of the bezierline, move the control points to keep
the line straight.
* lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
make the new control points a bit closer to the major point.
* app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
as the reason for the move.
(create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
move reason.
* lib/handle.h: new handle move reasons.
1999-12-09 James Henstridge <james@daa.com.au>
* dia.spec: include the new files in RPMs.
* Makefile.am: install these new files.
* dia.keys.in: file describing actions and icon for dia diagrams for
use in the gnome file manager.
* dia.mime: a file defining the application/x-dia-diagram mime type.
* dia-diagram.png: an icon for dia diagrams.
1999-12-08 James Henstridge <james@daa.com.au>
* plug-ins/python/pydia-diagram.c: added heaps of new methods.
* plug-ins/python/pydia-display.[ch]: wrapper for display.
* objects/standard/ellipse.c: applied Lars's patch to optionally not
draw the background of the ellipse.
* app/load_save.c (read_connections): do some sanity checking on the
handle and connection point numbers before performing the object
connection.
* lib/bezier_conn.c (bezierconn_load): give the correct number of
handles when loading a BezierConn.
1999-12-07 Kjartan Maraas <kmaraas@online.no>
* sheets/*.sheet: Finished Norwegian translations.
1999-12-07 James Henstridge <james@daa.com.au>
* plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
(PyDia_GetObjectType): find object type function.
* plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
method for diagrams.
* plug-ins/python/pydia-object.c: added methods for DiaObject and
DiaObjectType.
* AUTHORS: added Lars and Cyrille to the authors file.
* objects/standard/bezier.c (bezierline_add_segment_callback): place
new point correctly.
* lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
* lib/bezier_conn.c: applied Lars's patch for placement of the new
point when adding a segment to a BezierConn.
1999-12-06 James Henstridge <james@daa.com.au>
* plug-ins/python/test.py: test script for the python plug-in.
* plug-ins/python/python.c: this file contains the plug-in startup
code for the python plugin. Right now, it just initialises the
dia module and executes a script.
* objects/standard/polyline.c (polyline_draw): fix start arrow size.
* objects/standard/bezier.c (bezierline_draw): draw control lines for
bezier curve if we are using an interactive renderer (ie. only if
displaying to the screen).
* lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
to draw control lines on to a bezier curve. Based on implementation
from Lars.
* objects/standard/bezier.c (bezierline_delete_segment_callback):
calculate segment number using closest_segment rather than
closest_handle. Sometimes the closest handle is part of a different
segment.
(bezierline_draw): use correct size for start arrow.
The next few entries are from Peter Moulder <reiter@netspace.net.au>:
* lib/geometry.c (distance_line_point): added notes to documentation
in comment.
* app/object_ops.c (object_list_align_v):
(object_list_align_h): fix of by one error when calculating free space
for equal distance alignment.
* app/menus.c (objects_align_h, objects_align_v): include align
adjacent menu items in the gnome version of the menus.
* app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
align adjacent menu items correctly.
* lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
table.
* objects/standard/bezier.c: converted bezierline to use BezierConn.
Still a few bugs. It crashes on deleting line segments.
* lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
1999-12-05 James Henstridge <james@daa.com.au>
* lib/bezier_conn.[ch]: start of BezierConn object
* app/interface.c: add bezierline to toolbox.
* objects/standard/standard.c: initialise bezierline.
* objects/standard/bezier.c: new object from Lars R. Clausen. I have
made a few modifications to get it working nicely. It still needs
a bit of work though. Maybe create a BezierConn object in lib.
1999-12-02 James Henstridge <james@daa.com.au>
* plug-ins/python/pydia-*.c: fixed compile errors in these files.
* plug-ins/python/Makefile.am: tried building everything. It is
building as a library at the moment. I will have to convert it
to a libtool library and add some initialisation code.
* plug-ins/python/diamodule.c: start of the dia module, using the
other object wrappers. Not complete.
1999-12-01 James Henstridge <james@daa.com.au>
* plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
the handles and connections attributes.
* plug-ins/python/pydia-layer.c: added functions that use
ConnectionPoint's.
* plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
* plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
* plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
I am currently wrapping the basic elements in the diagram in python
objects -- nothing to see or play with yet.
1999-11-30 Alexander Larsson <alla@lysator.liu.se>
* AUTHORS:
* HACKING:
James Henstridge <james@daa.com.au> is now the maintainer of Dia.
1999-11-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
* po/ru.po:
Added russian translation from Valek Filippov <frob@df.ru>
1999-11-24 James Henstridge <james@daa.com.au>
* sheets/UML/*:
* sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
discussed with Alex. Also added extra makefiles so that make install
works correctly.
1999-11-23 Alexander Larsson <alla@lysator.liu.se>
* app/preferences.[ch]:
* app/display.c:
Added snap to grid preference.
Patch from Michael Leslie <mles@springboardwireless.com>
1999-11-21 Alexander Larsson <alla@lysator.liu.se>
* app/load_save.c:
* lib/dia_xml.c:
* lib/sheet.c:
* lib/text.c:
* objects/custom/shape_info.c:
All strings returned by libxml must be freed with free, not
g_free, or there will be problems if you use memory debugging
in glib.
1999-11-21 Alexander Larsson <alla@lysator.liu.se>
* app/create_object.[ch]:
* app/menus.c:
* app/tool.[ch]:
* app/commands.[ch]:
* app/pixmaps.h:
* app/interface.[ch]:
Reverted the tool menu patch. It has some 'issues'.
I liked it though, so it'll probably return.
1999-11-21 Alexander Larsson <alla@lysator.liu.se>
Fixed a lot of memory leaks. Thanks to Bruce Mitchener
<bruce@cybersight.com> for some purify runs and analysis.
Also a great thank you to Owen Taylor for creating MemProf, a
free memory leak detector that was used to find and verify a
lot of these fixes.
* app/diagram.c:
* app/paginate_psprint.c:
* app/render_eps.[ch]:
* app/render_svg.[ch]:
Free renderers.
* app/interface.c:
Don't add a reference to ddisp->shell. Why was this done in
the first place?
* app/load_save.c:
* lib/dia_xml.c:
* lib/sheet.c:
* lib/text.c:
Free all strings returned from xmlGetProp
* app/modify_tool.c:
Plug leak.
* objects/custom/custom.c:
Use closedir() after opendir().
* objects/custom/shape_info.c:
User g_free() instead of "if (tmp) free(tmp)".
* sheets/ER.sheet:
Add newline at end of file.
1999-11-20 Alexander Larsson <alla@lysator.liu.se>
Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
Adds tool menu and keyboard shortcuts.
* app/create_object.[ch]:
Use tool_set() instead of tool_reset().
create_create_object_tool() takes extra type argument
* menus.c:
Add tools menu.
* tool.[ch]:
Moved tool_data here, export it.
Add separate tool type for all create objects tools.
new functions tool_set().
* commands.[ch]:
New callback tool_set_callback.
* pixmaps.h:
Moved some pixmaps to interface.c.
* interface.[ch]:
Remove tool_data array (moved to tool.c).
Use the tool_data from tool.c.
Remove modify_tool_button global var.
1999-11-20 Alexander Larsson <alla@lysator.liu.se>
Patch from Patrick Reynolds <reynolds@cs.duke.edu>
* app/app_procs.c:
Interprets command-line arguments as files to open even when
HAVE_POPT is not defined.
* app/magnify.c:
Shift-clicking when zooming zooms out, like the Gimp.
* app/menus.c:
Has hotkeys for zoom-100% and snap-to-grid.
1999-11-17 James Henstridge <james@daa.com.au>
* app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
that it is not jumpy.
* app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
* app/scroll_tool.c (scroll_motion): added `grabbing hand' type
scrolling by pressing the shift key when using the scroll tool.
* sheets/Makefile.am: fixed makefile so that install actually works
if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
don't exist.
(SHEETS): install Circuit.sheet
1999-11-15 Alexander Larsson <alla@lysator.liu.se>
Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
* sheets/Circuit.sheet:
* sheets/ER.sheet:
* sheets/FS.sheet:
* sheets/Flowchart.sheet:
* sheets/UML.sheet:
* sheets/network.sheet:
* sheets/sybase.sheet:
Changed name space
* sheets/Circuit.sheet:
added some missing French translations
* lib/sheet.c:
killed the temporary sheet namespace
* objects/custom/custom.c:
obsolete comment cleaned up
1999-11-12 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
* po/pt.po:
Added portugese translation from Pedro Morais
<pmmm@rnl.ist.utl.pt>
1999-11-11 Alexander Larsson <alla@lysator.liu.se>
Changed all sheets to be specified in xml.
All sheet objects removed from the C code.
Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
* Makefile.am:
* configure.in:
Adding shapes dir.
Updated version to 0.81cvs.
* app/Makefile.am:
Update run_dia.sh with sheet-dir.
* app/app_procs.c:
Load all sheets on startup.
Create sheet directory first time.
Don't call custom_register_sheets().
* lib/Makefile.am:
Add sheetdir define
* lib/custom.h:
Remove custom_register_sheets().
* lib/sheet.[ch]:
Add sheet loading code.
* sheet/Circuit.sheet:
* sheet/ER.sheet:
* sheet/FS.sheet:
* sheet/Flowchart.sheet:
* sheet/UML.sheet:
* sheet/network.sheet:
* sheet/sybase.sheet:
Added sheet files.
* sheet/ER/weakentity.xpm:
* sheet/UML/aggregation.xpm
* sheet/UML/umlclass_template.xpm
Added sheet pixmaps.
These are moved from their old places.
* sheet/.cvsignore:
Shut up cvs.
* objects/*/*.c:
Removed sheet objects and sheet registration.
* objects/ER/Makefile.am:
* objects/ER/pixmaps/weakentity.xpm:
* objects/UML/Makefile.am:
* objects/UML/pixmaps/aggregation.xpm:
* objects/UML/pixmaps/umlclass_template.xpm:
Removed alternative pixmaps. (Moved to sheet).
* objects/custom/Makefile.am:
* objects/custom/load_sheet.[ch]:
Removed old sheet loading code.
* objects/custom/custom.c:
Load all shapes instead of sheets.
Removed custom_register_sheets().
* objects/custom/custom_object.c:
Added debug code.
* objects/custom/shape_info.[ch]:
Added shape_info_getbyname().
* objects/flowchart/Makefile.am:
* objects/flowchart/collate.shape
* objects/flowchart/delay.shape
* objects/flowchart/display.shape
* objects/flowchart/document.shape
* objects/flowchart/extract.shape
* objects/flowchart/flowchart.c
* objects/flowchart/intstorage.shape
* objects/flowchart/magdisk.shape
* objects/flowchart/magdrum.shape
* objects/flowchart/magtape.shape
* objects/flowchart/manualinput.shape
* objects/flowchart/manualop.shape
* objects/flowchart/merge.shape
* objects/flowchart/offlinestore.shape
* objects/flowchart/offpageconn.shape
* objects/flowchart/or.shape
* objects/flowchart/predefdproc.shape
* objects/flowchart/preparation.shape
* objects/flowchart/punchedcard.shape
* objects/flowchart/punchedtape.shape
* objects/flowchart/sort.shape
* objects/flowchart/sumjunction.shape
* objects/flowchart/terminal.shape
* objects/flowchart/transaction.shape
* objects/flowchart/transmittape.shape
* objects/flowchart/pixmaps/collate.xpm
* objects/flowchart/pixmaps/delay.xpm
* objects/flowchart/pixmaps/display.xpm
* objects/flowchart/pixmaps/document.xpm
* objects/flowchart/pixmaps/extract.xpm
* objects/flowchart/pixmaps/intstorage.xpm
* objects/flowchart/pixmaps/magdisk.xpm
* objects/flowchart/pixmaps/magdrum.xpm
* objects/flowchart/pixmaps/magtape.xpm
* objects/flowchart/pixmaps/manualinput.xpm
* objects/flowchart/pixmaps/manualop.xpm
* objects/flowchart/pixmaps/merge.xpm
* objects/flowchart/pixmaps/offlinestore.xpm
* objects/flowchart/pixmaps/offpageconn.xpm
* objects/flowchart/pixmaps/or.xpm
* objects/flowchart/pixmaps/predefdproc.xpm
* objects/flowchart/pixmaps/preparation.xpm
* objects/flowchart/pixmaps/punchedcard.xpm
* objects/flowchart/pixmaps/punchedtape.xpm
* objects/flowchart/pixmaps/sort.xpm
* objects/flowchart/pixmaps/sumjunction.xpm
* objects/flowchart/pixmaps/terminal.xpm
* objects/flowchart/pixmaps/transaction.xpm
* objects/flowchart/pixmaps/transmittape.xpm
Moved shapes and their pixmaps to shapes/flowchart
* shapes/Circuit/Makefile.am:
* shapes/Circuit/index.sheet:
Removed index.sheet.
* shapes/Makefile.am:
* shapes/flowchart/Makefile.am:
* shapes/flowchart/*.shape:
* shapes/flowchart/*.xpm:
Added flowchart shapes. (Moved from objects/flowchart)
1999-11-07 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/app_procs.c: Fixed popt stuff.
1999-11-01 James Henstridge <james@daa.com.au>
* shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
Andreas Scherf.
1999-10-31 Alexander Larsson <alla@lysator.liu.se>
* dia.spec:
* configure.in:
Update version to 0.81.
* NEWS:
Update with news for 0.81.
* shapes/Circuit/*:
* shapes/Circuit_eu/*:
Moved european circuit objects to Circuit sheet.
1999-10-31 Alexander Larsson <alla@lysator.liu.se>
* lib/diagramdata.[ch]:
Added layer_set_object_list() function.
* app/undo.[ch]:
Added support for undo of reordered objects.
Fix the undo of delete to keep the right order on undo.
* app/diagram.c:
changed loop to object_add_updates_list() calls.
Added undo support to bring to front/back.
* app/disp_callbacks.c:
* app/paginate_psprint.c:
Remove warnings.
1999-10-30 Alexander Larsson <alla@lysator.liu.se>
This plugs some leaks. Thanks to
Bruce Mitchener <bruce@cybersight.com> for running
Dia through purify for me.
* app/app_procs.c:
Free displays and diagrams on exit.
* app/modify_tool.c:
Free gc when freeing tool.
* lib/diagramdata.c:
Free layer name.
* app/display.c:
Free update and display lists when destroying display.
* lib/diagramdata.c:
Don't leak layer name.
* objects/custom/load_sheet.c:
* objects/custom/shape_info.c:
Free loaded xml documents.
1999-10-28 Alexander Larsson <alla@lysator.liu.se>
* app/commands.c:
* app/object_ops.[ch]:
Add undo handling to alignment ops.
Based partially on patch by Dan Cohn <dan@internap.com>.
* objects/standard/image.c (image_move_handle):
Don't divide by zero for small images.
Patch by Dan Cohn <dan@internap.com>.
* objects/UML/class.c (umlclass_destroy):
* objects/custom/custom_object.c (custom_destroy):
Don't free connectionpoints before calling element_destroy
which unconnects them.
1999-10-26 Alexander Larsson <alla@lysator.liu.se>
* objects/custom/custom_object.c:
Load and save padding too. Fixes strange load crashes.
* app/group.c (group_destroy):
Don't unconnect already freed connectionpoints when
destroying group. Probably fixes bug reported by
Elliot Lee <sopwith@redhat.com>.
* app/render_gdk.c:
Don't crash on zero-size (broken) bezier curves.
Different sort of fix. This should work on closed bezier curves
too.
* objects/standard/textobj.c:
Activate default properties dialog for Text objects.
* app/render_eps.c:
* app/load_save.c:
* app/preferences.c:
* app/render_svg.c:
fopen files in binary or text mode.
1999-10-26 Alexander Larsson <alex@cendio.se>
* app/render_gdk.c (bezier_add_lines):
Don't crash on zero-size (broken) bezier curves.
Fixes a crashing bug.
1999-10-25 James Henstridge <james@daa.com.au>
* app/Makefile.am (run_dia.sh): allow dia to find internal shape files
before it is installed.
* objects/flowchart/flowchart.c: use relative paths to find shapes.
* objects/custom/custom.c (custom_object_load): take file names
relative to $(pkgdatadir)/shape-internal, and check an environment
variable for an alternative directory.
* app/...: added copyright messages to the top of my new code.
* app/paginate_psprint.c: some general clean ups. Also, give an error
dialog if we can't open the command or output file for writing.
* app/diapagelayout.c (dia_page_layout_set_orientation): fixed
function so it would set orientation to landscape correctly.
* app/paginate_psprint.c: use the paper settings that come with
the diagram. Also implemented landscape printing.
* app/render_eps.c (new_psprint_renderer): use diagram paper metrics
in PS header.
* app/commands.[ch] (file_pagesetup_callback): added callback for
the page setup dialog.
* app/menus.c: added page setup menu item.
* app/pagesetup.[ch]: implementation of the page setup dialog.
* app/diapagelayout.[ch]: added accessors for the scaling factor.
* app/load_save.c (diagram_load): load paper information from save
file.
(diagram_save): save the paper info.
* lib/diagramdata.c (new_diagram_data): initialise paper info section
of DiagramData structure.
(diagram_data_destroy): free the paper name.
* lib/diagramdata.h: added a paper member to the DiagramData structure
that holds the page layout info for a diagram.
1999-10-21 Alexander Larsson <alla@lysator.liu.se>
* objects/flowchart/box.c:
* objects/flowchart/ellipse.c:
* objects/flowchart/diamond.c:
* objects/flowchart/parallelogram.c:
Load and save padding too. Fixes strange load crashes.
1999-10-21 Alexander Larsson <alla@lysator.liu.se>
* app/app_procs.c (name_is_lib):
.dll, .sl and .so.0.0.0 are also libraries.
1999-10-20 James Henstridge <james@daa.com.au>
* configure.in: added extra makefile.
* shapes/Circuit_eu/*: a new set of european circuit shapes from
Andreas Scherf <scherfa@fh-trier.de>. Made a few small modifications
(added fuses to makefile, fill the area of some of the components).
1999-10-19 Alexander Larsson <alla@lysator.liu.se>
* lib/Makefile.am:
* app/Makefile.am:
Add GDK_IMLIB_CFLAGS to includes.
Changed --export-dynamic to -export-dynamic
* lib/widgets.c:
* objects/UML/message.c:
Removed c++ comment.
* lib/render_store.[ch]:
Don't use empty structure. That is not Ansi C.
1999-10-19 James Henstridge <james@daa.com.au>
* app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
the margin entries, as they allow interpretation of units.
(paper_size_change): display the current page dimensions.
* app/diaunitspinner.[ch]: a widget derived from the standard
GtkSpinButton that tries to take units into account. So if you enter
"1in" into the entry, it will convert it to 2.54cm.
1999-10-18 Alexander Larsson <alla@lysator.liu.se>
* app/app_procs.c:
Removed include of dlfcn.h
1999-10-18 James Henstridge <james@daa.com.au>
* app/diapagelayout.c (paper_size_change, orient_changed): set upper
bound on margin widths. It is set to the paper width/height.
* objects/flowchart/diamond.c (diamond_distance_from): fixed distance
routine for the diamond. This bug was found and fixed by Daniel Wang
<danwang@CS.Princeton.EDU>
Sun Oct 17 19:46:36 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen)
* app/commands.c: Add <sys/types.h> before <sys/stat.h> to
remove warning (OS/2 version).
1999-10-17 Alexander Larsson <alla@lysator.liu.se>
* README:
Put a pointer to objects/custom/README.
1999-10-17 Alexander Larsson <alla@lysator.liu.se>
* dia.spec:
Updated version to 0.80
* configure.in:
Updated version to 0.80cvs
1999-04-08 Alexander Larsson <alla@lysator.liu.se>
* Released Dia 0.80
Tag called DIA_0_80
1999-10-17 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/Makefile.am
* lib/Makefile.am
* objects/UML/Makefile.am
* objects/ER/Makefile.am
* objects/network/Makefile.am
* objects/standard/Makefile.am
* objects/FS/Makefile.am
* objects/sybase/Makefile.am
* objects/flowchart/Makefile.am
* objects/custom/Makefile.am
Added -I$(top_srcdir)/intl which is needed for
--with-included-gettext.
* POTFILES.in
Updated.
* po/sv.po
Updated swedish translation.
1999-10-16 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Updated version number to 0.80.
* KNOWN_BUGS:
New file.
* TODO:
Updated. Moved bugs to KNOWN_BUGS.
* NEWS:
Updated with 0.80 release notes.
1999-10-16 Alexander Larsson <alla@lysator.liu.se>
* lib/orth_conn.c:
For backwards compatibility, make sure handle 0 and 1 are the
first and last handle. Fixes compatibility with 0.41, breaks
compatibility with cvs version.
Fixed bug in undo/redo of adding deleting endpoint segments
when the endpoint was connected.
Start OrthConn objects with three segments.
1999-10-16 James Henstridge <james@daa.com.au>
* objects/custom/custom_object.c (custom_update_data): changed
resizing behaviour a bit so that shapes don't grow huge when you try
to resize them to smaller than the size required by the text box.
Also, now shapes will not grow with fixed aspect ratio when you enter
text into them unless the shape has the fixed aspect ratio flag set.
1999-10-15 James Henstridge <james@daa.com.au>
* objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
* object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
* objects/flowchart/magdrum.shape:
* objects/flowchart/offlinestore.shape:
* objects/flowchart/punchedtape.shape:
* objects/flowchart/transmittape.shape:
* objects/flowchart/punchedcard.shape: new shapes.
* objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
* object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
* objects/flowchart/collate.shape:
* objects/flowchart/delay.shape:
* objects/flowchart/extract.shape:
* objects/flowchart/intstorage.shape:
* objects/flowchart/magdisk.shape:
* objects/flowchart/magtape.shape:
* objects/flowchart/merge.shape:
* objects/flowchart/or.shape:
* objects/flowchart/sort.shape:
* objects/flowchart/sumjunction.shape: new shapes.
1999-10-15 Alexander Larsson <alla@lysator.liu.se>
* TODO (BUGS):
Added bug:
Entering an erronous command as print command
crashes dia.
* app/paginate_psprint.c:
Save all print dialog values for next time.
* app/Makefile.am:
Remove custom lib from DIA_LIB_PATH.
1999-10-14 James Henstridge <james@daa.com.au>
* objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
* object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
* objects/flowchart/offpageconn.shape:
* objects/flowchart/manualop.shape:
* objects/flowchart/preparation.shape:
* objects/flowchart/manualinput.shape:
* objects/flowchart/predefdproc.shape:
* objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
1999-10-13 James Henstridge <james@daa.com.au>
* app/diapagelayout.[ch]: added accessors to paper information. The
widget should be just about complete now.
* app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
It actually does something now.
1999-10-12 James Henstridge <james@daa.com.au>
* app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
for the page layout widget.
* app/diapagelayout.[ch]: start of page layout widget. Not actually
built yet as it is not complete.
* objects/flowchart/flowchart.c: added new shapes to sheet.
* objects/flowchart/display.shape:
* objects/flowchart/transaction.shape: new shapes.
* AUTHORS: added my name to the spec file.
* dia.spec: include the dia desktop entry to the spec file.
* Makefile.am: install the dia.desktop file.
* dia.desktop: added a gnome desktop entry so you can start dia
from the gnome panel menu.
1999-10-11 James Henstridge <james@daa.com.au>
* objects/custom/custom_object.c:
* objects/custom/shape_info.c: warning fixes.
* objects/flowchart/document.shape: a shape file for the `document'
flowchart shape.
* lib/custom.h: new header with the custom shape prototypes.
* app/app_procs.c: register custom objects as well.
(register_objects_in): close shared libraries if they don't load
correctly, and call g_module_make_resident on libraries that load
correctly.
* app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
* objects/custom/custom.c: removed get_version, added custom_ prefix
to register_objects and register_sheets.
* objects/custom/Makefile.am: converted to a normal library.
1999-10-10 Alexander Larsson <alla@lysator.liu.se>
* app/lineprops_area.c:
* app/render_svg.c:
* lib/objchange.c:
* objects/custom/shape_info.c:
* objects/flowchart/box.c:
* objects/flowchart/diamond.c:
* objects/flowchart/ellipse.c:
* objects/flowchart/parallelogram.c:
* objects/network/flash.c:
* objects/network/scead-plug.c:
* objects/sybase/client.c:
Removed -Wall warnings.
* objects/network/bus.c:
Removed unused functions.
* objects/FS/flow-ortho.c:
* objects/FS/flow-poly.c:
* objects/FS/flow.c:
* objects/FS/function.c:
Implemented "non-implemented" undo for FS objects.
Now at least it won't crash.
1999-10-10 Alexander Larsson <alla@lysator.liu.se>
* objects/network/bus.c:
Implemented undo.
Handles are now added and removed using the object menu.
Default to 6 handles instead of 10.
Changed name from "Standard - Bus" to "Network - Bus". Kept old
name for backwards compatibility.
* objects/network/network.c:
Changed name from "Standard - Bus" to "Network - Bus". Kept old
name for backwards compatibility.
* app/properties.[ch]:
* app/undo.c:
Update properties in properties dialog if the shown object
is part of and ObjectChange (undo or redo).
* lib/poly_conn.c:
Remove old known bugs list.
* objects/UML/class_dialog.c:
Removed debug printf's.
1999-10-10 James Henstridge <james@daa.com.au>
* objects/custom/custom.c (custom_object_load): new function that
provides a nice entry point to the custom shape code for when it
gets used by other libraries.
* configure.in: removed 11 makefiles from AC_OUTPUT list. This
speeds builds up a bit.
* */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
(SUBDIRS): do not descend into pixmaps subdirs.
* */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
This speeds up build process.
* objects/custom/custom.c (sheets): made variable static.
* objects/custom/custom_util.[ch] (custom_get_relative_filename):
renamed function.
* objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
* objects/custom/custom.c: look in ~/.shapes instead of
~/.dia_shapes as the per-user shapes directory.
* app/preferences.c (prefs_save): save config to ~/.diarc.
(prefs_load): load configuration from ~/.diarc. If the file
does not exist, fallback on the old ~/.diarc location.
* app/app_procs.c (create_user_dirs): create the ~/.dia directory
on startup.
(register_all_objects): look for user specific objects in
~/.objects rather than ~/.dia_libs.
1999-10-10 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in:
* app_procs.c:
* objects/flowchart/box.c
* objects/flowchart/ellipse.c
* objects/flowchart/flowchart.c
Use gmodule for dynamic linking. As gmodule is using
RTLD_GLOBAL i had to change flowchart box and ellipse
so the typenames doesn't conflict with the standard
box and ellipse.
* message.c
* commands.c
Use button box to make dialogs look better.
1999-10-09 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/class_dialog.c:
* objects/UML/class.h:
Implemented undo for "UML - Class" objects.
Not 100% tested yet.
* objects/UML/classicon.c:
* objects/UML/constraint.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/object.c:
* objects/UML/realizes.c:
* objects/UML/state.c:
* objects/UML/usecase.c:
Removed warnings.
* lib/connectionpoint.h:
Fixed typo.
1999-10-09 James Henstridge <james@daa.com.au>
* objects/custom/*.[ch]: added copyright notices to custom object
files.
* shapes/Circuit/hdiode.shape:
* shapes/Circuit/hzener.shape:
* shapes/Circuit/opamp.shape:
* shapes/Circuit/vdiode.shape:
* shapes/Circuit/vzener.shape: made adjustments to make the circuit
shapes look nice after the custom shape code changes.
* objects/custom/README: updated docs to cover changes to drawing
code.
* objects/custom/custom_object.c (custom_draw): honour the line
properties when drawing the shape.
* objects/custom/shape_info.[ch]: added support for setting line
properties for individual drawing elements in a custom shape. You
can set the dash style, dash length, cap style and join style.
1999-10-07 James Henstridge <james@daa.com.au>
* objects/custom/shape_info.c (parse_style): added a few extra synonyms
for foreground and background.
* objects/custom/custom_object.c (custom_draw): use the new style
information when drawing the object.
* objects/custom/shape_info.[ch]: store all shape style info in the
GraphicStyle structure. This makes adding support for extra CSS
attributes easier -- we don't have to keep adding extra arguments to
a lot of functions.
1999-10-05 James Henstridge <james@daa.com.au>
* lib/intl.c (unalias_lang): merged in changes from the i18n code
swiped from gnome-libs.
1999-10-03 Alexander Larsson <alla@lysator.liu.se>
* objects/standard/image.c (get_directory):
Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
1999-09-28 Alexander Larsson <alla@lysator.liu.se>
* lib/poly_conn.c (polyconn_destroy):
Fix bug. Access of freed memory.
Rememeber, you can't free the handles of an object
before calling object_destroy(), as it unconnects the handles
therefore referencing them.
1999-09-28 Alexander Larsson <alla@lysator.liu.se>
* app/undo.c:
undo_clear() didn't set stack->depth to zero.
This made other undo functions crash after this had been called
on a "full" stack.
* dia.xpm:
Slightly modified by Chris Love <clove@exactis.com>
1999-09-19 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/class.h:
* objects/UML/class_dialog.c:
Retrun NULL ObjectChange on class property change.
This means no crashes, but "UML - Class" doesn't support undo yet.
1999-09-19 Alexander Larsson <alla@lysator.liu.se>
* lib/text.c:
Indentation fix.
* objects/UML/classicon.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/object.c:
* objects/UML/realizes.c:
* objects/UML/state.c:
* objects/UML/usecase.c:
Update to new undo (w. get/set_state).
Add object menu to add/delete segments.
1999-09-17 Alexander Larsson <alla@lysator.liu.se>
* app/menus.c:
Add equal distance alignment.
* app/object_ops.c:
Add equal distance alignment.
Fix bug in adjacent alignment.
1999-09-16 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/constraint.c:
Update to new undo (w. get/set_state).
1999-09-15 Alexander Larsson <alla@lysator.liu.se>
* app/paginate_psprint.c:
Save (parts, more todo) of the info in the print dialog to the
next time it's opened.
Patch from Yo Ric Dude <ricdude@toad.net>
1999-09-14 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Updated version string to 0.41cvs.
* objects/UML/assocition.c:
Update to new undo (w. get/set_state).
Add object menu to add/delete segments.
* app/app_procs.c:
Added function debug_break() and called it after all
objects and sheets are loaded. Place a breakpoint here if you
want to debug objects. All symbols should be loaded.
1999-09-12 James Henstridge <james@daa.com.au>
* app/menus.c (display_menu_items): added print menu item.
(filemenu): always add print menu item -- even if gnome-print is
not installed.
* app/commands.h, app/commands.c (file_print_callback): the print
menu item is now available for both gnome-print and non gnome-print
setups.
* app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
print with the non gnome-print driver.
1999-09-11 James Henstridge <james@daa.com.au>
* app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
printer dialog code out of commands.c.
* app/paginate_psprint.c: new file containing the pagination code for
psprint.
* app/render_eps.c: made a few modifications so as well as producing
EPS files, this renderer can be set up to do postscript printing.
This basically entailed adding an extra function to create a RenderEPS
renderer which did not bother setting the viewport for the document.
That was left for the pagination code.
1999-09-10 James Henstridge <james@daa.com.au>
* app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
gnome-print does not support elliptic arcs at the moment, approximate
the ellipse with eight bezier curves. This gives a pretty good
match to a true ellipse.
1999-09-09 James Henstridge <james@daa.com.au>
* app/commands.c (file_gnome_print_callback): added support for
scaling the diagram. Also fixed a few other bugs.
* app/paginate_gnomeprint.c (print_page): added ability to scale
document. Fixed up test to see if the page has no objects on it.
This should prevent some blank pages being printed. Non square
objects such as lines could still cause problems.
1999-09-08 James Henstridge <james@daa.com.au>
* app/commands.c (file_gnome_print_callback): changed from using the
standard printer selection dialog to one that also has a paper size
selector as well.
* commands.[ch]: added callbacks for the print menu item. Currently
it only does A4 output. I will make it configurable soon.
* app/menus.c: add a print diagram menu item if gnome-print support
is enabled.
* app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
bit higher level than the gnome-print renderer. It splits the
diagram into page size chunks and then renders them. For each
page, it only renders the objects whose bounding box intersects
the page, and it sets the clip mask so that the diagram does not
overlap the margins.
* app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
that uses gnome-print as its back end.
* configure.in: added a check for gnome-print. It is disabled by
default because the code is not really working correctly yet.
* app/menus.c: the delete object menu item was missing from the
GnomeUIInfo style menus.
1999-09-07 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in
Added japanese to ALL_LINGUAS.
Fix for Linux on Alpha.
1999-09-07 Alexander Larsson <alla@lysator.liu.se>
* app/create_object.c (create_object_button_press):
Always initialize tool->obj. Otherwise we store a null
in the undo Change.
* lib/text.c:
Set linestyle before drawing cursor.
Fix undo of backwards delete.
1999-09-05 James Henstridge <james@daa.com.au>
* dia.spec: updated spec file to distribute $(prefix)/share/dia.
* app/render_svg.c (draw_image): some fixes so that the appropriate
style attributes are set. Before it was setting line styles on
fill_* functions. Now it only does this for the draw_* variants.
* app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
variable so that custom shapes can be loaded.
* shapes/: new directory for custom shapes. The Circuit sheet has
been moved here.
1999-09-02 James Henstridge <james@daa.com.au>
* TODO: removed a few todo items that have been implemented.
* app/interface.c (create_sheets): enabled the popup page menu to the
notebook. This can make it easier to select different sheets.
* object/custom/Circuit/: added diode, zener diode, ground point and
operational amplifier shapes.
* objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
if you want the output.
* objects/custom/shape_info.c (parse_path): same here.
* objects/custom/load_sheet.c (load_with_readdir): don't print so
much debugging output. To get the previous level of output, define
DEBUG_CUSTOM.
* objects/custom/shape_info.c (parse_svg_node): polygons were being
recorded as polylines in the ShapeInfo structure.
* objects/custom/README: some notes on writing new custom shapes.
1999-09-01 James Henstridge <james@daa.com.au>
* objects/custom/Circuit/hinductor.*:
* objects/custom/Circuit/vinductor.*: added inductor shapes that
also test out the bezier curve and SVG path support.
* objects/custom/custom_object.c (custom_draw): added support for
drawing bezier paths and filled shapes.
* objects/custom/shape_info.c (parse_path): new function to parse
SVG path elements. It does not do quadratic beziers or elliptic
arcs though. Only moves, lines and cubic beziers.
(*): added support for paths.
1999-08-31 James Henstridge <james@daa.com.au>
* objects/sybase/ltm.c (render_to_store): use the newer bezier API.
* app/render_svg.c (draw_bezier, fill_bezier): updated renderer
interface
* app/render_eps.c (draw_bezier, fill_bezier): updated renderer
interface
* app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
interface.
* lib/render_store.[ch]: use newer bezier functions.
* lib/render.h: changed the bezier drawing functions to use an array
of BezPoint structures instead of normal Point structures to allow
lineto's mixed in with the curveto's.
* objects/custom/Circuit/pnp.*: added pnp transistor shape.
* objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
xpm images for different shapes to Makefile.
* objects/custom/custom_object.c (custom_object_new): set the icon
for the sheet button if there is one. Otherwise fall back on the
default custom object icon.
* objects/custom/shape_info.c (load_shape_info): read the sheet
icon name from the shape file.
* app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
check the pixmap_file field for the name of a pixmap file to load
for the tool.
* lib/sheet.h (SheetObj): added pixmap_file field to structure. It is
at the end of the structure, and it isn't used if the pixmap field
is non NULL, so it should not break binary compatibility.
* objects/custom/load_sheet.[ch]: moved sheet loading code here. Also
added support for the use of an index.sheet file so you can specify
the ordering of the shapes in the sheet, and also internationalise
the sheet name and actually be able to give a description. The old
readdir based sheet loading code acts as a fallback if an index.sheet
file can not be found.
* objects/custom/custom_util.[ch]: new file containing useful routines
needed by the custom object code. Currently only contains a simple
routine for resolving relative paths.
* objects/custom/custom_object.c (custom_draw): fixed problem with
drawing rectangles if the shape has been flipped.
1999-08-30 James Henstridge <james@daa.com.au>
* objects/custom/custom_object.c (custom_get_object_menu): allow
flipping of custom shapes. This uses the miggle click object
menu.
* objects/custom/Circuit/npn.shape: fix aspect ratio.
* objects/custom/custom_object.c (custom_update_data): honour the
aspect ratio constraints.
* objects/custom/shape_info.c (load_shape_info): updated aspect ratio
tag parsing, so you can specify a free, fixed or a range for aspect
ratios for the shape.
1999-08-29 James Henstridge <james@daa.com.au>
* objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
up shape namespace tag.
* objects/custom/shape_info.c (load_shape_info): check xml:lang
attribute on <description> elements to support i18n for custom
shape descriptions.
Also changed the shape namespace for custom shapes to something
a little more sensible.
* lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
* lib/intl.c: new file containing some functions for i18n stuff.
* app/layer_dialog.c (create_button_box): fixed a warning.
* objects/custom/custom_object.c: use current line style. Save dash
length.
* objects/flowchart/diamond.c: use current line style. Save dash
length.
* objects/flowchart/parallelogram.c: use current line style. Save
dash length.
* objects/flowchart/ellipse.c: use current line style. Save dash
length.
* objects/flowchart/box.c: use current line style. Save dash length.
* objects/standard/ellipse.c: make ellipse use current line style.
* objects/standard/box.c: use the line style set in the toolbox for
new boxes, and remember the dash length.
* app/commands.c (view_toggle_rulers_callback): fix reshowing of
rulers.
1999-08-24 James Henstridge <james@daa.com.au>
* objects/flowchart/ellipse.c (ellipse_update_data): made some changes
to try to stop ellipse to get infinite width/height when we resize,
while trying to keep the text inside the ellipse.
* objects/flowchart/box.c, objects/flowchart/parallelogram.c,
* objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
resizing behaviour, so that you can't push objects round the screen
with the resize handles.
* app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
get the OK buttons in the dialogs to take default clicks.
* objects/custom/custom_object.c: added code so that resizing the
shape does not end up pushing it round the screen.
1999-08-23 Alexander Larsson <alla@lysator.liu.se>
* app/display.[ch]:
Generate rectangle with the union of the damaged regions.
This is used to optimize the grid paint and the object rendering.
display_render_pixmap passes this info to grid_draw() and data_render().
* app/grid.[ch]:
grid_draw doesn't draw grid lines outside of damaged rectangle.
Sets dashlength when drawing non-solid grid.
* lib/diagramdata.[ch]:
data_render() and layer_render() takes an optional damaged rectangle
argument. No objects not intersecting this are drawn.
* app/diagram.c:
Fix warning.
Call data_render with NULL update rectangle.
1999-08-23 James Henstridge <james@daa.com.au>
* objects/custom/custom_object.c (custom_update_data): if the aspect
ratio is fixed, make sure the shape is not distorted.
* object/custom/shape_info.h, objects/custom/shape_info.c: notice if
a <fixaspectratio/> tag is given in the shape file.
* objects/custom/shape_info.[ch], objects/custom/custom_object.c:
added support for stroke-width, stroke and fill CSS attributes
specified in style attributes of the SVG elements. The line width
is relative to the user specified line width. The stroke and fill
attributes can only be used to swap the foreground/background
colours.
* lib/widgets.c (dia_line_style_selector_set_linestyle): set the
sensitivity on the dash length selector when this function is called.
* objects/standard/arc.c: same. Also handle dash length.
* objects/standard/zigzagline.c: same.
* objects/standard/polyline.c: same. Also handle dash length.
* objects/standard/line.c: use default arrow/line styles.
* app/interface.c: added callbacks to set the default attributes.
* lib/attributes.c: added implementations of these functions.
* lib/attributes.h: added extra prototypes for the new line properties
area in the toolbox.
* app/interface.c (create_lineprops_area): added line properties
area to bottom of toolbox.
* app/lineprops_area.h: a header exporting a few routines of the
line properties area widgets.
* app/lineprops_area.c: new file containing a selector for arrows
and line styles to go in the main toolbox.
1999-08-22 Alexander Larsson <alla@lysator.liu.se>
* HACKING:
Update Gtk+ 1.0.5 comment to 1.2.0.
* INSTALL:
Demand libtool 1.3
* acconfig.h:
Add HAVE_LIBPOPT
* configure.in:
Make sure we don't propagate -ldl and -lpopt to all LIBS
by adding new var APP_LIBS that only app/dia links with.
* app/Makefile.am:
Update run_dia.sh to load custom and flowchart objects.
* objects/ER/Makefile.am:
* objects/FS/Makefile.am:
* objects/UML/Makefile.am:
* objects/network/Makefile.am:
* objects/standard/Makefile.am:
* objects/sybase/Makefile.am:
Don't build versioned libs.
1999-08-22 James Henstridge <james@daa.com.au>
* configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
list.
* objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
should actually work a bit now.
* objects/custom/Circuit/*: a test sheet for the custom shape code.
It is a small collection of circuit elements.
* objects/custom/shape_info.c: fixed up loading of polylines and
polygons. Before it was removing negative signs :(
* objects/custom/pixmaps/custom.xpm: drew the custom shape icon. A
placeholder was here before. I still need to work out how to set
icons for individual custom shapes.
* objects/custom/custom.c: added code to load the shapes into sheets
properly. The shape files should be arranged into directories, and
each directory represents a different sheet in the toolbox. This
will make it very easy to distribute a collection of dia shapes as
a tarball. I still need to work out internationalisation, and maybe
also shape ordering in the sheet.
* objects/custom/custom_object.c: fixed up dialogs for these objects.
(custom_create): fix for objects without text areas.
* objects/custom/shape_info.h, objects/custom/custom_object.c: loading
and saving of custom object works correctly now.
1999-08-21 James Henstridge <james@daa.com.au>
* objects/flowchart/ellipse.c:
* objects/flowchart/diamond.c:
* objects/flowchart/parallelogram.c:
* objects/flowchart/box.c: Fixed up a few bugs in these objects when
copying or loading these object types. Not all the connection
points would be initialised correctly.
* objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
similar here.
* objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
build a versioned library. It will only ever be dlopen'd, so this
is not a problem.
* objects/custom/custom_object.c (custom_distance_from): allow
selecting the object by clicking on the text. This fixes problems
where the text box is outside the graphic.
* objects/custom/shape_info.c (load_shape_info): fixed up reading
of connections points. It should be possible to add connections
to custom objects now.
* objects/custom/custom_object.c (custom_update_data): fixed resizing
due to changes to text.
* configure.in: added extra makefiles.
* objects/custom/shape_info.[ch]:
* objects/custom/custom_object.c:
* objects/custom/custom.c: the starts of custom shape support in dia.
This is not built by default at the moment, since it is not quite
complete. When it is, it will let you create more shapes for dia
without writing a line of C. Its implementation includes buzzwords
such as XML and SVG, so it must be good :)
1999-08-19 Karsten Weiss <karsten@addx.au.s.shuttle.de>
* app/app_procs.c (app_exit): Use button labels "Quit" and
"Cancel" instead of "Yes" and "No".
Set default action to "Cancel" instead of "Quit".
1999-08-19 James Henstridge <james@daa.com.au>
* objects/flowchart/flowchart.c: added ellipse object.
* objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
1999-08-18 James Henstridge <james@daa.com.au>d
* app/color_area.c (color_area_edit): small fix to prevent dia from
segfaulting when you try to change the default foreground/background.
1999-08-17 Alexander Larsson <alla@lysator.liu.se>
* app/diagram.[ch] (diagram_redraw_all):
Added function that redraws all diagrams.
* app/preferences.c (prefs_apply):
Call diagram_redraw_all when prefs are changed.
* app/render_svg.c:
Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
older libxml's, and the old version works good enought here.
1999-08-17 James Henstridge <james@daa.com.au>
* lib/widgets.c: changed handlers that were connected to the GtkButton
"pressed" signal to connect to the "clicked" signal. This removes the
problem where dialogs are inactive until you click a mouse button
after using a colour selector.
* configure.in: added extra makefiles to AC_OUTPUT list.
* objects/Makefile.am (SUBDIRS): added flowchart module
* objects/flowchart/*: a collection of shapes for use in flowcharts.
* app/color_area.c (color_area_events): similar here.
* app/linewidth_area.c (linewidth_area_events): sometimes a configure
event is recieved with event->width == 0, which causes a warning if we
try to create a pixmap of that width.
* app/preferences.c, app/preferences.h, app/grid.c: added code to
allow you to configure the colour of the grid, and also lets you
set the grid to use dotted lines instead of solid ones.
* app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
* app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
export filter. It is not quite complete, but for most shapes it
works as expected. Fonts still need a bit of work.
1999-08-11 Robert Brady <rwb197@ecs.soton.ac.uk>
* configure.in: Added "en_GB" to ALL_LINGUAS.
1999-08-04 Fredrik Hallenberg <hallon@lysator.liu.se>
* menus.c
Added Undo and Redo to GNOME menus.
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
Added get/set_state functions.
* objects/ER/participation.c:
Added add/delete segment.
* po/sv.po
Updated Swedish translation.
1999-07-25 Alexander Larsson <alla@lysator.liu.se>
* app/preferences.[hc]:
Added undo_depth pref.
* app/undo.[ch]:
Never grow stack larger than pref.undo_depth.
undo_depth == 0 means unlimited.
Converted printfs to conditionally compiled DEBUG_PRINTFs.
1999-07-25 Alexander Larsson <alla@lysator.liu.se>
* app/diagram.c:
* app/group.c:
* lib/object.h:
* lib/render_object.c:
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
* objects/FS/flow-ortho.c:
* objects/FS/flow-poly.c:
* objects/FS/flow.c:
* objects/FS/function.c:
* objects/UML/actor.c:
* objects/UML/association.c:
* objects/UML/class.c:
* objects/UML/classicon.c:
* objects/UML/component.c:
* objects/UML/constraint.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/note.c:
* objects/UML/object.c:
* objects/UML/realizes.c:
* objects/UML/small_package.c:
* objects/UML/state.c:
* objects/UML/usecase.c:
* objects/network/bus.c:
* objects/standard/arc.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
* objects/standard/line.c:
* objects/standard/polyline.c:
* objects/standard/textobj.c:
* objects/standard/zigzagline.c:
Removed all traces of is_empty(). It doesn't work in an
Undo/Redo world.
1999-07-25 Alexander Larsson <alla@lysator.liu.se>
* app/diagram.c:
* app/group.[ch]:
* app/undo.[ch]:
Undoable grouping and ungrouping.
* app/layer_dialog.c:
* lib/diagramdata.[ch]:
Undoable layer ops.
* app/modify_tool.c:
Undoable unconnect on handle move.
* lib/orth_conn.[ch]:
Working undoable add/remove segment.
Removed endpoint_handles from OrthConn, renamed
midpoint_handles to handles and put the endpoint
handles there.
* objects/standard/zigzagline.c:
* objects/ER/participation.c:
* objects/UML/association.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/realizes.c:
Update for the changes in OrthConn
1999-07-23 Karsten Weiss <karsten@addx.au.s.shuttle.de>
* configure.in: Added "de" to ALL_LINGUAS.
1999-07-17 Alexander Larsson <alla@lysator.liu.se>
* dia.1:
Fixed typo.
* app/display.c:
* po/da.po:
* po/fr.po:
* po/hu.po:
* po/no.po:
* po/pl.po:
* po/sv.po:
Don't have the <Display> etc part of the menu strings
i18n:ed. Patch from Fabrice.Bellet@imag.fr.
* app/diagram.c:
Don't have the <Display> etc part of the menu strings
i18n:ed. Patch from Fabrice.Bellet@imag.fr.
Don't remove is_empty() objects, that don't work with undo.
* lib/objchange.[ch]:
New files.
Definition of ObjectChange. This is essentially an Change
exported to the object libs. It encapsulates a change made
to an objects internals. It can be applied, reverted and freed.
There are also utility functions for doing ObjectChanges that
only get/set the whole state of an object to store the change.
This cannot be used when the object change deletes or adds a
object which has references from other objects, eg. Handles which
might be connected.
* lib/Makefile.am:
Added objchange.c and objchange.h.
* lib/dia_image.c:
Return NULL when loading fails.
* lib/diamenu.h:
Menu callbacks return an ObjectChange.
* lib/dummy_dep.h:
Reference objchange.o
* lib/focus.h:
Key events return ObjectChange if they modify the object.
* lib/object.h:
Added object_add_handle_at() function.
Apply properties returns an ObjectChange.
Remove ObjectState and the get/set state functions, these
don't always work. Use the new ObjectChange instead.
* lib/object.c:
Added object_add_handle_at() function implementation.
* lib/orth_conn.[ch]:
Use ObjectChange. Not finished yet.
Removed get/set/free state functions
* lib/poly_conn.[ch]:
Use ObjectChange.
Don't remove segments that are small.
Removed get/set/free state functions
* lib/text.[ch]:
Use ObjectChange.
Added functions to get/set all text attributes.
* objects/standard/arc.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
* objects/standard/line.c:
* objects/standard/polyline.c:
* objects/standard/textobj.c:
* objects/standard/zigzagline.c:
Use ObjectChange.
fixed bug in image_set_state.
zigzagline.c not finished yet.
* app/disp_callbacks.c:
Use ObjectChange that are returned from menu callbacks and
key_events for undo.
* app/properties.c:
Use ObjectChange that are returned from properties apply
for undo.
* app/undo.c:
* app/undo.h:
New undo type: ObjectChangeChange. This wraps a change to the
internals of an object (and ObjectChange) in code that does
app specific stuff (object_add_updates etc.)
1999-07-11 Alexander Larsson <alla@lysator.liu.se>
* lib/orth_conn.[ch]:
Added code for add/delete segment.
* objects/standard/zigzagline.c:
Use the new orth_conn code.
1999-07-08 Fredrik Hallenberg <hallon@lysator.liu.se>
* objects/FS/Makefile.am
Removed fs.h from sources.
* Makefile.am
* dia.1
Added man page.
1999-07-07 Alexander Larsson <alla@lysator.liu.se>
* app/disp_callbacks.c (ddisplay_canvas_events):
Fix for bug. Every other arrow-key press got lost.
patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
* INSTALL:
change automake.sh to autogen.sh
1999-06-24 Alexander Larsson <alla@lysator.liu.se>
* app/diagram.c:
Don't remove 'empty' objects.
This violent destruction of objects won't work
with the new undo framework.
* app/disp_callbacks.c:
Save undo info for object menu calls and key_events.
* app/properties.c:
Save undo info on properties apply.
* lib/dia_image.[ch]:
Add refcounting for images.
* app/render_eps.c:
* app/render_gdk.c:
* lib/render.h:
DiaImage * -> DiaImage
* app/undo.[ch]:
Add undo functions for object state changes.
* lib/focus.h:
* lib/text.c:
change of semntics for focus->key_event.
Now returns TRUE if the object recieving the event
was changed.
* lib/object.h:
Comment changes.
* lib/orth_conn.[ch]:
Don't automatically create and delete segments when
handles are moved. This is incompatible with undo.
Added state get, set and free functions.
* lib/orth_conn.[ch]:
Added state get, set and free functions.
* objects/UML/object.c:
* objects/UML/uml.c:
Fixed typo "UML - Objet" -> "UML - Object".
Saved old for backwards compatibility.
* objects/standard/arc.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
* objects/standard/line.c:
* objects/standard/polyline.c:
* objects/standard/textobj.c:
* objects/standard/zigzagline.c:
Added get/set state functions.
Textobj has a redo crash-bug.
Zigzagline needs object menus to add segments.
1999-06-20 Alexander Larsson <alla@lysator.liu.se>
* app/render_eps.c (set_dashlength):
Don't generate eps files with zero dash-length.
1999-06-16 Alexander Larsson <alla@lysator.liu.se>
* app/commands.c:
* app/create_object.c:
* app/undo.[ch]:
Finished undo for create and paste.
* lib/object.h:
Started properties undo.
1999-06-14 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Added resizeable groups.
* app/app_procs.c:
Removed unused variable.
* app/commands.c:
* app/undo.[ch]:
Undo/redo for cut/delete done.
* app/create_object.c:
* app/modify_tool.c:
* lib/diagramdata.[ch]:
* app/diagram.[ch]:
renamed diagram_add_selected -> diagram_select
renamed diagram_remove_selected -> diagram_unselect
* app/properties.[ch]:
Added properties_hide_if_shown() function.
1999-06-13 Alexander Larsson <alla@lysator.liu.se>
* app/undo.[ch]:
* app/Makefile.am:
Undo functions.
* app/commands.[ch]
* app/modify_tool.[ch]
* app/object_ops.[ch]
* app/connectionpoint_ops.c
* app/menus.c
Use undo functions.
WARNING: Not finished. Will break.
Finished: move object, move handle.
* app/diagram.[ch]
Added diagram_selected_break_external() function.
It removes all connections between selected objects
and non-selected.
Add undo stack to Diagram.
* lib/diagramdata.[ch]
Added layer_remove_objects() function
1999-06-11 Fredrik Hallenberg <hallon@lysator.liu.se>
* objects/FS/Makefile.am
* objects/sybase/Makefile.am
Now uses GNOME_CFLAGS.
* app/app_procs.c
Now compiles with GNOME even if popt.h isn't available.
1999-06-10 Alexander Larsson <alla@lysator.liu.se>
* configure.in
* objects/Makefile.am
* objects/sybase/*
First version of sybase objects from
Brian Bruns <camber@umcc.ais.org>
1999-06-10 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in
Added fr to ALL_LINGUAS
1999-06-09 Fredrik Hallenberg <hallon@lysator.liu.se>
* configure.in
* app/app_procs.c
Popt-code is activated if popt is available.
1999-06-08 Alexander Larsson <alla@lysator.liu.se>
This is a patch from David Thompson <dcthomp@mail.utexas.edu>
* lib/orth_conn.[ch]:
Added orthconn_get_middle_handle()
* lib/text.[ch]:
Added text_set_cursor_at_end()
* objects/FS/*
Added first version of functions structure diagrams.
1999-05-24 Alexander Larsson <alla@lysator.liu.se>
* app/modify_tool.c:
Include math.h to remove warning.
* app/commands.c (dialogs_properties_callback):
Bring up correct properties dialog when selected
from menu.
From Dan Cohn <dan@internap.com>
1999-05-20 Alexander Larsson <alla@lysator.liu.se>
Patch from Lars R. Clausen
* app/modify_tool.c:
Changed abs to fabs.
1999-05-19 Alexander Larsson <alla@lysator.liu.se>
* INSTALL:
* configure.in:
Require Gtk+ 1.2.0
1999-05-18 Alexander Larsson <alla@lysator.liu.se>
Patches from Dan Cohn <dan@internap.com>
* app/commands.[ch]:
* app/display.[ch]:
* app/menus.c:
* app/preferences.[ch]:
Implements ability to turn on/off connection points in
current drawing and in global prefs.
1999-05-18 Alexander Larsson <alla@lysator.liu.se>
* lib/widgets.c (dia_line_style_selector_init):
Fixed warnings.
* lib/diagramdata.c (layer_update_extents):
Fixed uninitialized variable error.
1999-05-17 Alexander Larsson <alla@lysator.liu.se>
* lib/dia_image.c:
Made some changes to the gdk_imlib visual+colormap setup.
1999-05-17 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/usecase.c:
* objects/UML/lifeline.c
Fine tunning.
* objects/UML/object.c:
* objects/UML/message.c:
Changed font from Courier to Helvetica.
* lib/widgets.c:
* lib/widgets.h:
Added dash lenth to the LineStyle widget.
* objects/standard/ellipse.c :
* objects/standard/zigzagline.c:
* objects/standard/line.c:
Added dash lenght property.
1999-05-16 Alexander Larsson <alla@lysator.liu.se>
* app/render_eps.c:
First shot at latin1 encoded eps files.
Works, but the eps files get a bit large.
1999-05-16 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/class.[ch]:
* objects/UML/uml.[ch]:
Reverted the line wrap changes.
Some day this might return, but it has to be selectable and
default to off for loaded objects, otherwise it breaks file
format compatibility.
There was also some complains about how it looked, so a making it
selectable is good for this too.
1999-05-15 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/class.[ch]:
Some indentation cleanup.
Added wrap_lines variable to class.
I'll fix the line break stuff tomorrow.
1999-05-13 Alexander Larsson <alla@lysator.liu.se>
* lib/dummy_dep.h:
Added ref to poly_conn.o.
* objects/standard/polyline.c (polyline_draw):
* objects/standard/zigzagline.c (zigzagline_draw):
* objects/standard/arc.c (arc_draw):
* objects/standard/line.c (line_draw):
Draw lines before arrows. This makes hollow arrows not
show the line.
1999-05-13 Alexander Larsson <alla@lysator.liu.se>
Changes from Kim Peasley <kpeasley@ior.com>
* objects/UML/class.c:
Break lines with long operations so classes won't be
so wide.
* objects/UML/uml.[ch]:
Helperfunctions for the above.
* objects/UML/objects.c:
Fix bug that duplicated the text in the attributes
textwidget each time the object was selected.
1999-05-12 Alexander Larsson <alla@lysator.liu.se>
Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
* app/modify_tool.c:
* app/modify_tool.h:
Control-drag is restricted to vertical/horizontal movement
* lib/object.h:
ModifierKeys argument added to object_move_handle
* app/connectionpoint_ops.c:
* app/create_object.c:
* app/object_ops.c:
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
* objects/UML/actor.c:
* objects/UML/association.c:
* objects/UML/class.c:
* objects/UML/classicon.c:
* objects/UML/component.c:
* objects/UML/constraint.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/note.c:
* objects/UML/object.c:
* objects/UML/realizes.c:
* objects/UML/small_package.c:
* objects/UML/state.c:
* objects/UML/usecase.c:
* objects/network/bus.c:
* objects/standard/arc.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
* objects/standard/line.c:
* objects/standard/polyline.c:
* objects/standard/textobj.c:
* objects/standard/zigzagline.c:
Changed calls to move_handle to pass the new argument.
* lib/widgets.c:
* lib/widgets.h:
Default line width, color etc #define'd
* po/da.po:
Updates of danish menus
1999-05-08 Fredrik Hallenberg <hallon@lysator.liu.se>
* dia.xpm
* dia_gnome_icon.png
* dia_gnome_menu_icon.png
* dia_logo.png
Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
* app/commands.c
About dialog shows dia_logo.png. Removed the GNOME about dialog.
* Makefile.am
Distribute the icons and install logo in pkgdatadir.
* app/Makefile.am
Added DATADIR-define.
1999-04-28 Alexander Larsson <alla@lysator.liu.se>
Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
* dia.spec:
Updated version number, made setup quiet, can build from cvs,
--enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
* lib/Makefile.am
* objects/ER/Makefile.am
* objects/UML/Makefile.am
* objects/network/Makefile.am
* objects/standard/Makefile.am
now builds better with gnome
* objects/UML/class_dialog.c
Fixed typo -> po files must be updated too!!
1999-04-28 Alexander Larsson <alla@lysator.liu.se>
* lib/dummy_dep.h:
Added reference so that widgets.o gets linked to the app.
1999-04-23 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/classicon.c:
Added object mode.
* objects/UML/actor.c:
Changed position of 'snap-to-grid' so connection points are
in the grid.
1999-04-22 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/classicon.c:
Changed position of 'snap-to-grid'.
By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
1999-04-22 Alexander Larsson <alla@lysator.liu.se>
* objects/network/antenna.c
* objects/network/flash.c
* objects/network/hub.c
* objects/network/modem.c
* objects/network/modularswitch.c
* objects/network/rj45plug.c
* objects/network/scead-plug.c
* objects/network/network.c
* objects/network/Makefile.am
* objects/network/pixmaps/antenna.xpm
* objects/network/pixmaps/flash.xpm
* objects/network/pixmaps/hub.xpm
* objects/network/pixmaps/modem.xpm
* objects/network/pixmaps/modularswitch.xpm
* objects/network/pixmaps/rj45plug.xpm
* objects/network/pixmaps/sceadplug.xpm
* objects/network/pixmaps/Makefile.am
Lots of new network objects from
Roland Steinbach <roland@support-system.com>.
1999-04-15 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/classicon.c:
Fixed connection positions, saved type as int (it has 3 states),
and other small fixes.
1999-04-14 Alexander Larsson <alla@lysator.liu.se>
* app/preferences.c:
* app/load_save.c:
Added preference compress_save. It lets dia save uncompressed
xml files.
* objects/UML/class.c:
Fixed bug with size calculation on methods that had class scope.
1999-04-13 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/usecase.c:
Added collaboration mode
Fixed connection points with text > ellipse bug and other
small things
* objects/UML/state.c:
Fixed bug of bad position of text after being either end
or begin, moved and returned to text
1999-04-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* app/preferences.c: Add prototype declaration for prefs_apply.
1999-04-11 Alexander Larsson <alla@lysator.liu.se>
* app/preferences.c:
Added 'ok' button.
Apply don't hide window.
* app/properties.c:
Add 'ok' button.
* objects/UML/object.c:
* objdcts/UML/state.c:
Some data was not copied on copy.
This patch is from
Ben Hochstedler <benh@eeyore.moneng.mei.com>
1999-04-09 Alexander Larsson <alla@lysator.liu.se>
* app/Makefile.am:
Changed link order between X and libxml.
Some people had problems with an old libz in their
x11 directory.
1999-04-09 Kjartan Maraas <kmaraas@online.no>
* po/no.po: updated translation.
1999-04-08 Lars R. Clausen <lrclause@cs.uiuc.edu>
* lib/message.c (message_error):
Fixed small error.
* app/commands.[ch]:
* app/diagram.[ch]:
Added begining of xfig importing
1999-04-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/pixmaps/state.xpm:
* objects/UML/state.c:
New UML object state machine.
* objects/UML/uml.c:
* objects/UML/Makefile.am:
* objects/UML/pixmaps/Makefile.am:
Added the state object.
1999-04-08 Alejandro Aguilar Sierra <ale@bucefalo>
* objects/UML/usecase.c:
Added dialog to allow move text outside the ellipse.
1999-04-08 Alexander Larsson <alla@lysator.liu.se>
* Released Dia 0.41
Tag called DIA_0_41
* NEWS:
Updates for 0.41.
1999-04-08 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Updated version number to 0.41
* po/*.po:
Update po-files
1999-04-04 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/app_procs.c
Changed errormessage for --export-to-ps. Removed call to
g_log_set_always_fatal().
* app/diagram.c
* app/disp_callbacks.c
* app/load_save.c
(i18n) Removed gettext from some debugmessages.
* app/menus.c
Small fix in GNOME-menus. Added warning that will help track
problems with translations.
* po/sv.po
(i18n) Updated swedish translation.
1999-04-02 Alexander Larsson <alla@lysator.liu.se>
* po/da.po:
New updates
1999-04-01 Alexander Larsson <alla@lysator.liu.se>
* po/da.po:
* po/no.po:
Some fixes.
1999-04-01 Alexander Larsson <alla@lysator.liu.se>
* po/da.po:
(i18n) Updated the danish translation.
From Lars R. Clausen.
1999-04-01 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/menus.c
(i18n) The popup menu is translated now.
* po/sv.po
(i18n) Updated swedish translation.
1999-03-29 Alexander Larsson <alla@lysator.liu.se>
* Released Dia 0.40
Tag called DIA_0_40
* NEWS:
Updated for new release
1999-03-29 Alexander Larsson <alla@lysator.liu.se>
* objects/network/bus.c:
Added initialization of properties dialog to NULL.
* app/commands.c (edit_cut_callback):
Update menu sensitivity when cut object.
* app/modify_tool.c (click_select_object):
* app/modify_tool.c (modify_button_release):
Call diagram_update_menu_sensitivity() when
selecting objects to update stuff that depends
on selected/not selected.
1999-03-29 Alexander Larsson <alla@lysator.liu.se>
* Makefile.am:
Change order of subdir so that libintl.a builds.
Now passed make distcheck.
1999-03-28 Alexander Larsson <alla@lysator.liu.se>
* lib/font.c (init_x11_font):
Stupid bug fixed.
1999-03-28 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/pixmaps/classicon.xpm:
* objects/UML/classicon.c:
* objects/UML/uml.c:
Added the class stereotype icon objects.
* app/commands.c:
Changed default ps extension from .ps to .eps.
1999-03-28 Alexander Larsson <alla@lysator.liu.se>
* lib/Makefile.am:
Added diamenu.h and intl.h
* lib/font.c:
Stupid typo fix.
* objects/UML/pixmaps/Makefile.am:
Added message.xpm
* objects/standard/pixmaps/Makefile.am:
Added image.xpm
1999-03-28 Alexander Larsson <alla@lysator.liu.se>
* lib/font.c:
Use a scalable font before fixed when real font not found.
* app/commands.c:
Removed warning.
* objects/standard/image.c:
Better handling of loading/saving of images.
* INSTALL:
Added some text about cvs, fonts and rewrote some parts.
* TODO:
Updated with new stuff.
* configure.in:
Bump up version number to 0.40.
1999-03-28 Alexander Larsson <alla@lysator.liu.se>
* app/display.c:
Moved diagram_add_ddisplay() call into new_display().
Fixed new_display to not use uninitialized variables
causing loaded files to show up as black (or garbage).
* app/commands.c:
* app/app_procs.c:
Removed unneeded calls to diagram_add_ddisplay().
1999-03-28 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/lifeline.c:
Fixed bug in copy.
Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
* objects/UML/message.c:
Fixed bug loading messages with null-text.
Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1999-03-27 Fredrik Hallenberg <hallon@lysator.liu.se>
* po/sv.po
Updated swedish translation.
* app/menus.c
(GNOME) Removed help-browser from help menu. Fixed typo.
* app/interface.c
(GNOME) Accelerators in diagrams should work now.
1999-03-25 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/app_procs.c
* app/commands.c
* app/defaults.c
* app/disp_callbacks.c
* app/display.c
* app/interface.c
* app/menus.c
* app/preferences.c
* app/render_eps.c
* lib/diagramdata.c
* lib/font.c
* lib/message.c
* lib/widgets.c
* objects/ER/*.c
* objects/UML/*.c
* objects/network/*.c
* objects/standard/*.c
* po/update_pofiles_in.sh
* po/POFILES.in
More i18n. All strings (expect rare debug messages) can be
translated now. Moved intl.h from app to lib. Updated
update_pofiles_in.sh to check all .c-files.
1999-03-23 Alexander Larsson <alla@lysator.liu.se>
* app/disp_callbacks.c (ddisplay_canvas_events):
Don't drop keys while num-lock, scroll-lock etc is on.
1999-03-22 Alexander Larsson <alla@lysator.liu.se>
* app/render_eps.c (draw_image):
Fixed exporting of images.
Still not perfect, but not outright buggy.
1999-03-22 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
* po/hu.po:
Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
* app/Makefile.am:
Added $* to the dia call in run_dia.sh
1999-03-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* lib/color.[ch]:
Added color_equals() call.
* objects/standard/arc.c:
* objects/standard/line.c:
Don't save unneccesary data.
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
* objects/standard/polyline.c:
* objects/standard/zigzagline.c:
Share properties dialog.
Don't save unneccesary data.
1999-03-22 Seth Alves <alves@hungry.com>
* app/menus.c:
* app/diagram.c:
* app/display.c:
small changes so that gnome menus aren't broken
1999-03-22 Alexander Larsson <alla@lysator.liu.se>
* po/da.po:
Added danish translation from lrclause@cs.uiuc.edu.
* po/POFILES.in:
Updated file.
* po/update_pofiles_in.sh:
Added script that updates POFILES.in.
This should probably be run automatically from somewhere.
1999-03-19 Alexander Larsson <alla@lysator.liu.se>
* app/diagram.[ch]:
Added function diagram_update_menu_sensitivity() which
sets the sensitivity of some menu items. This function
is called at each diagram state change (from diagram_modified()).
This is needed because otherwise the keyboard accelerators
don't work correctly.
* app/display.[ch]:
Changed display_set_menu_sensitivity() to display_update_menu_state().
Moved lots of code to diagram_update_menu_sensitivity() in
diagram.c. Optimized to only look up menu-items from path:s once.
* app/disp_callbacks.c:
* app/interface.c:
When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
Need to set GDK_FOCUS_CHANGE_MASK.
* app/create_object.c:
Call diagram_modified when an object has been created and
selected so that the menu sensitivity is updated.
* app/menus.[ch]:
removed menus_set_sensitive() and menus_set_state(). Exported
renamed function menus_get_item_from_path().
1999-03-15 Alexander Larsson <alla@lysator.liu.se>
* app/disp_callbacks.c:
Show (empty) object menus on object that has none.
Show title on object menus.
* app/display.c:
Set zoom factor correctly when opening new displays.
Better setting of scrollbars.
* app/grid.c:
* app/menus.h:
Some reformating cleanup.
* lib/diamenu.h:
Added title to object menus.
* objects/*/*.c:
Added object menu method (NULL-valued) to all objects.
* objects/standard/polyline.c:
Added title to object menu.
1999-03-14 Alexander Larsson <alla@lysator.liu.se>
* app/preferences.[ch]:
New files. Implements the preferences dialog and
loading/saving of ~/.diarc.
* app/Makefile.am:
Added preferences.[ch].
* app/app_procs.c:
Load preferences on startup.
* app/commands.[ch]:
Added file_preferences_callback to show the preferences dialog.
* app/create_object.c:
Update extents when creating object.
Use the reset_tools_after_create preferences setting.
* app/display.c:
Use preferences when creating new display.
* app/menus.c:
Add preferences to menu.
* app/defaults.c:
* app/layer_dialog.c:
* app/properties.c:
Don't allow shrinking of dialog.
Add i18n of some strings.
1999-03-11 Kjartan Maraas <kmaraas@fib.hl.no>
* po/no.po:
Norwegian translation added.
1999-03-11 Alexander Larsson <alla@lysator.liu.se>
* objects/standard/line.c:
* objects/standard/arc.c:
* objects/standard/polyline.c:
* objects/standard/zigzagline.c:
Loading of arrow data fixed.
1999-03-09 Alexander Larsson <alla@lysator.liu.se>
* app/commands.c:
Update extents when saving and exporting to postscript.
Fixes a bug with postscript bounding-box being wrong.
* app/defaults.c:
Changed border width from 5 to 2.
* app/group.c:
Move grouped objects by the move-point of the first object.
Fixes bug that made all objects in the group be off-grid
when moving the group, even though all objects was on-grid.
* app/layer_dialog.c:
Update extents when changing layer.
1999-03-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/uml.c:
* objects/UML/component.c:
* objects/UML/pixmaps/component.xpm:
Added the UML component object
1999-03-04 Seth Alves <alves@hungry.com>
* objects/UML/generalization.c (generalization_create): avoid
math on uninitialized genlz->text_width (NaN causes sigfpe)
* objects/UML/realizes.c (realizes_create): same
* objects/UML/dependency.c (dependency_create): same
1999-03-01 Seth Alves <alves@hungry.com>
* app/display.c (ddisplay_active): don't fly a warning panel
if ddisplay_active is called when no views are open.
* app/commands.c (set_default_file_selection_directory): set
file selector's default directory if there is already
a document open.
1999-02-28 Alexander Larsson <alla@lysator.liu.se>
* INSTALL:
New info about imlib requirements.
* Configure.in:
Added lib/pixmaps/Makefile to created makefiles.
* app/app_procs.c:
* app/commands.c:
Change from obsoleted to newer gtk calls.
* load_save.c:
Pass filename of the diagram when loading and saving.
This creates better oportunities to handle filename saving.
* lib/object.h:
Pass filenames to load and save methods.
* lib/dia_image.[ch]:
Added dia_image_get_broken() call that returns a image which
is used for 'broken' images.
* lib/pixmaps/.cvsignore:
* lib/pixmaps/Makefile.am:
* lib/pixmaps/broken.xpm:
New files for the broken image bitmap.
* lib/widgets.c:
Fixed bug with double destroyed filedialog.
* objects/*/*.c:
Updated load and save prototypes to use the new filename argument.
* objects/image.c:
Render broken image instead of line when got no image.
Use the new filename in load and save to save (if possible)
relative pathnames and to better try to find loaded images.
1999-02-28 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Some updates to the todo file.
* app/menus.c:
* app/display.c:
Place over/place over => sent to back/bring to front.
Added some keyboard shortcuts to menus.
1999-02-28 Alexander Larsson <alla@lysator.liu.se>
* lib/dia_xml.c:
Changed string saving/loading to a new method. This should
be much better att handling &,<,> and whitespaces.
Loading strings of the old kind is still supported for backwards
compatibility.
* samples/ER-demo.dia:
* samples/UML-demo.dia:
Updated to use the new strings.
* app/load_save.c:
statusbar modified update fix.
1999-02-27 Seth Alves <alves@hungry.com>
* app/app_procs.c (app_init): added a --export-to-ps option
which will cause dia to load a dia file and save it as ps
and then exit. this is a little bogus, because it still
pops up a window. this option only shows up if --enable-gnome
is used
* app/display.c (display_set_menu_sensitivity): no Edit/Delete
menu when built with --enable-gnome
* app/interface.c (create_display_shell): build status bar
even if --enable-gnome is used
* app/menus.c: menu fixes for --enable-gnome
* app/commands.c (file_open_dialog_ok_callback): fixed up
menus when --enable-gnome is used
(file_export_to_eps_callback): set a default file name
when dialog is created
1999-02-27 Alexander Larsson <alex@c125.ryd.student.liu.se>
* objects/UML/association.c (association_create):
Fixed usage of not initialized variable.
Pointed out by Seth Alves <alves@hungry.com>.
1999-02-24 Alexander Larsson <alex@c125.ryd.student.liu.se>
* configure.in:
Fixed detection of gnome-xml.
From Valtteri Vuorikoski <vuori@k.notcom.org>.
* app/app_procs.c:
Fixed error detection on dlsym calls.
From Valtteri Vuorikoski <vuori@k.notcom.org>.
1999-02-23 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/message.c (fill_in_dialog):
Fixed warnings.
1999-02-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* objects/standard/zigzagline.c:
* objects/standard/polyline.c:
* objects/standard/line.c:
* objects/standard/arc.c:
* lib/widgets.h:
* lib/arrows.h:
* lib/widgets.c:
Support for sizeable arrows.
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/image.c:
Changed creation handle to lower-right.
Transparent box/ellipse.
* objects/standard/image.c:
Better layout of properties boxes.
1999-02-20 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/message.c (fill_in_dialog):
Fixed dialog fill in. Common dialog for all messages.
* objects/UML/object.c:
Added multiple instance. Dialog related bugs fixed.
Common dialog for all instances. Completed copy and destroy.
* objects/UML/lifeline.c (lifeline_load):
Conn initialization bug fixed and few bad loading prevention flags.
Common dialog for all lifeline objects.
1999-02-15 Alexander Larsson <alla@lysator.liu.se>
* lib/dia_image.[ch]:
More work on the DiaImage abstraction.
* app/app_procs.c:
* app/render_eps.c:
* app/render_gdk.c:
* objects/standard/image.c:
Use the new DiaImage calls.
1999-02-15 Alexander Larsson <alla@lysator.liu.se>
* app/menus.c:
* app/display.c:
Reversed the meaning of align horizontal/vertical.
1999-02-15 Alexander Larsson <alla@lysator.liu.se>
* app/load_save.c (diagram_load):
Statusbar update fix.
1999-02-15 Alexander Larsson <alla@lysator.liu.se>
* app/interface.c (create_display_shell):
Fixed status bar size.
1999-02-15 Alexander Larsson <alla@lysator.liu.se>
* lib/dia_image.[ch]:
Added extern declaration for dia_image_release.
Removed dia_image_draw, as it's not neseccary.
1999-02-14 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* app/object_ops.c:
* app/menus.c:
Added equal distance alignment both vertical and horizontal.
* objects/UML/object.c:
Added a couple of attributes to load/read that were missing.
* objects/UML/lifeline.c:
Better handling of handles. Fixed another bug I forgot to add
to my last patch.
1999-02-13 Alexander Larsson <alla@lysator.liu.se>
Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* lib/dia_image.[ch]:
* lib/Makefile.am:
New files. DiaImage wraps the GdkImlibImage.
* lib/render.h:
* app/render_eps.c:
* app/render_gdk.c:
* lib/render_store.[ch]:
* objects/standard/image.c:
Use the new DiaImagetype.
* lib/widgets.c:
Removed unused variable to eliminate warning.
1999-02-11 Alexander Larsson <alla@lysator.liu.se>
* objects/standard/box.c:
Added rounded corners on the box object.
* lib/widgets.[ch]:
Updated the DiaFileSelector widget.
1999-02-09 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/object.c (objet_draw):
Completed underlining of all object name lines.
* objects/UML/message.c (fill_in_dialog):
Fixed a bug that filled incorrectly the message's dialog.
* objects/UML/lifeline.c (lifeline_load):
Some cleanning and fixed a couple of bugs that caused
crashes after reading diagrams with lifelines.
* lib/text.c:
Added flags to prevent crash with void strings
1999-02-07 Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
* app/display.[ch]:
Added statusbar to the display widget. Currently shows the zoom
factor and modified flag of the viewed diagram. The statusbar is
updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
This caused the following additions:
* app/diagram.[ch]:
Added function diagram_set_modified. Calls
ddisplay_update_statusbar for all displays showing the modified diagram.
Changed diagram_modified to call diagram_set_modified.
* app/interface.c:
Added the creation of the statusbar.
* app/load_save.c:
diagram_save now calls diagram_set_modified instead of setting
dia->modified. Needed to force call to display_update_statusbar
* app/commands.c:
Changed the way view_show_all works. Now calls ddisplay_zoom
instead of directly setting the zoom_factor, so the zoom factor is
correctly shown in the statusbar.
* app/magnify.c:
Fixed rubberband zoom to use ddisplay_zoom().
1999-02-07 Fredrik Hallenberg <hallon@lysator.liu.se>
* app/app_procs.c
Rudimentary GNOME session management.
* app/disp_callbacks.c
* app/interface.c
* app/menus.c
* app/menus.h
GNOME menus. Problems:
Callbacks doesn't get user_data.
Weird warnings when creating popup menus.
menus_set_sensitive(), menus_set_state() doesn't work.
1999-02-05 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
* configure.in:
Add AM_PATH_GDK_IMLIB() call.
* app/Makefile.am:
Add gdk_imlib to linking flags.
* app/app_procs.c:
Init gdk_imlib.
Print library-loading error messages on stdout too.
* app/interface.c:
Add standard image to toolbox.
* app/render_eps.c:
Set a more reasonable dot length. Fixed
missing initialization of dot length.
Added draw_image methods.
* app/render_gdk.c (new_gdk_renderer):
Dot a bit wider. Looks good in normal mode now.
* objects/standard/image.c:
* objects/standard/pixmaps/image.xpm:
New files. Standard object for images.
* app/render_eps.c (set_linestyle):
* app/render_gdk.c (set_linestyle):
* lib/widgets.c (dia_line_style_selector_init):
* lib/render.h:
New line style DOTTED.
* lib/render.h:
* lib/render_store.c:
Change DrawImage call to use gdk_imlib.
* lib/widgets.[ch]:
Added widgets for selecting files.
Added dotted to the linestyle selector.
1999-02-06 Alexander Larsson <alla@lysator.liu.se>
* objects/network/printer.c:
* objects/network/network.c:
* objects/network/pixmaps/printer.xpm:
* objects/network/.cvsignore:
* objects/network/Makefile.am:
* objects/network/pixmaps/Makefile.am:
New printer object in network.
From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
* TODO:
Added known XML bug.
1999-02-06 Alexander Larsson <alla@lysator.liu.se>
* app/load_save.c:
* lib/dia_xml.c:
Reverted back from #include <gnome-xml/tree.h> to
#include <tree.h> as this is fixed by the xml-config program.
The former way broke for some people.
Reported by blizzard@redhat.com.
* objects/UML/lifeline.c:
* objects/UML/message.c:
* objects/UML/object.c:
Removed some warnings.
1999-02-04 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/lifeline.c:
Fixed connection points over the life line when the focus of
control is not drawn.
* objects/UML/message.c:
Now a recursive message can be freely resized using the handles.
1999-02-02 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/lifeline.c:
Added connection points.
Added properties dialog with the option to draw/hide focus of control
box and destruction mark.
* objects/UML/object.c:
Added properties dialog and stereotype, explicit state and attributes.
It's also possible to mark the object as active.
* objects/UML/pixmaps/object.xpm:
Cosmetic change.
* objects/UML/message.c:
Added "recursive" message type (was not necessary to use OrthConn).
1999-02-02 Alexander Larsson <alla@lysator.liu.se>
* objects/standard/arc.c:
Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
1999-02-01 Alexander Larsson <alla@lysator.liu.se>
Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
* app/load_save.c:
* lib/dia_xml.c:
Update xml includes to gnome-xml/*.h.
* objects/standard/arc.c:
Only one property dialog per type.
Fix arrows directions.
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/textobj.c
Added default properties dialog.
1999-01-31 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* objects/UML/Makefile.am:
* objects/UML/uml.c:
* objects/UML/lifeline.c:
* objects/UML/object.c:
* objects/UML/message.c:
* objects/UML/pixmaps/lifeline.xpm:
* objects/UML/pixmaps/object.xpm:
* objects/UML/pixmaps/message.xpm:
Added 3 new UML objects for dynamic modeling. To avoid internal
conflicts, the name "objet" is used for object "object".
* lib/arrows.[ch]:
Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
UML messages.
1999-01-30 Alexander Larsson <alla@lysator.liu.se>
* app/display.[ch]:
* app/modify_tool.c:
Added autoscrolling while doing rubber-band select.
This patch from Matthias Köster
(Matthias.Koester@Informatik.Uni-Oldenburg.DE)
1999-01-28 Alexander Larsson <alla@lysator.liu.se>
* app/defaults.[ch]:
New files, deals with default properties dialog.
* lib/diamenu.h:
New file. Contains definitions for the new object menu.
* lib/poly_conn.[ch]:
New file. Base class for poly-line like objects.
* objects/standard/polyline.c:
* objects/standard/pixmaps/polyline.xpm:
New files. Polyline object.
* app/app_procs.c:
Fixed bug with infinite loop when registering sheets.
* app/commands.c:
Removed unneccesary stuff.
* app/disp_callbacks.c:
Support for object menus.
* app/interface.c:
Added polyline to toolbox.
Added call to tool_options_dialog_show() when double clicking on
tool.
* app/tool.[ch]:
New function tool_options_dialog_show() for tool properties.
* lib/arrows.[ch]:
Added ARROW_NONE.
* lib/object.h:
Added ObjectType methods for handling object default dialogs.
Added Object method for handling object_menu.
Added unused methods to ObjectTypeOps for future binary
compatibility.
* lib/widgets.[ch]:
Added DiaArrowTypeSelector widget.
* objects/standard/arc.c:
* objects/standard/zigzagline.c:
Added support for default properties.
* objects/standard/line.c:
Added support for default properties.
Just use one properties dialog for all line objects. NOTE: This
seems to have a bug. We're working on it.
* standard/standard.c:
Add the polyline object.
1999-01-27 Alexander Larsson <alla@lysator.liu.se>
* app/modify_tool.c:
Commented out buggy transitive select function. It wasn't really
meant to go into cvs.
1999-01-25 Fredrik Hallenberg <hallon@lysator.liu.se>
* autogen.sh:
* acconfig.h:
* configure.in:
* Makefile.am:
* app/Makefile.am:
* po/POTFILES.in:
* app/intl.h
i18n-support.
* po/sv.po:
Swedish translation. Not completed.
* configure.in:
* acconfig.h:
Added possibility to enable GNOME specific code with configure.
* configure.in:
Added possibility to set debug level with configure.
* commands.[hc]:
Added about dialog.
* app_procs.c
* commands.c
* interface.c
* menus.c
Added some GNOME specific code. Not ready for use.
1999-01-24 Alexander Larsson <alla@lysator.liu.se>
* INSTALL:
Added text about needing gtk 1.1.13 and gnome-xml.
* NEWS:
Described changes since last version (0.20).
Released version 0.30, tagged DIA_0_30.
1999-01-22 Alexander Larsson <alla@lysator.liu.se>
* app/magnify.c (magnify_button_release):
Fixed a problem when zooming in on a very small box would
not release the grabbed pointer-focus.
1999-01-21 Alexander Larsson <alla@lysator.liu.se>
* app/load_save.c (diagram_load):
Be somewhat more robust when loading files that
are not diagrams.
1999-01-21 Alexander Larsson <alla@lysator.liu.se>
* app/app_procs.c:
* objects/ER/er.c:
* objects/UML/uml.c:
* objects/network/network.c:
* objects/standard/standard.c:
Added versioning of object libraries.
* app/create_object.c:
Don't change tool when an object is created.
* objects/network/network.c:
* TODO:
Update
1999-01-19 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Updated gtk requirement to Gtk+ 1.1.13.
* app/display.c:
Always add one screenful of scrolling space on
each side of a diagram window.
1999-01-19 Jeff Garzik <jgarzik@pobox.com>
* autogen.sh:
Tell automake to auto-install missing files.
* app/menus.c:
Renamed deprecated Gtk+ function.
1999-01-16 Alexander Larsson <alla@lysator.liu.se>
* Makefile.am:
* configure.in:
* samples/Makefile.am:
* samples/ER-demo.dia:
* samples/UML-demo.dia:
Added samples directory.
Added samples for ER and UML.
* app/commands.c:
* app/disp_callbacks.c:
* app/menus.c:
Zoom is done by sqrt(2) instead of 2.
Lots of more zoom options in the menu.
* objects/ER/relationship.c:
Relationships have 8 connectionpoints instead of 4.
* objects/UML/class.c:
UML class name font a bit smaller.
Fixed stupid bug in the copy operation.
* app/display.c:
Displays are opened at 500x400 instead of 256x256.
* app/load_save.c:
Fixup of internal error message.
* app/color_area.c:
* app/diagram.c:
* app/modify_tool.c:
* lib/object.c:
Removed debug printf's.
* TODO (BUGS):
Added new known bug.
1999-01-16 Alexander Larsson <alla@lysator.liu.se>
* app/interface.c:
* app/menus.c:
Fixed so accelerator groups work in all windows.
Updated to new gtk function names.
* TODO (BUGS):
Removed fixed bug.
* app/display.c:
Updated to new gtk function names.
Set sensitivity of the align menu items.
* objects/ER/pixmaps/Makefile.am:
* objects/UML/pixmaps/Makefile.am:
* objects/network/pixmaps/Makefile.am:
Fix so that make dist works.
* app/app_procs.c:
* app/color_area.c:
* app/commands.c:
* app/diagram.c:
* app/grid.c:
* app/layer_dialog.c:
* app/load_save.c:
* app/object_ops.c:
* app/properties.c:
* lib/diagramdata.[ch]:
* lib/message.c:
* lib/objects/ER/attribute.c:
* lib/objects/ER/entity.c:
* lib/objects/ER/participation.c:
* lib/objects/ER/relationship.c:
* lib/objects/ER/.c:
* objects/UML/actor.c:
* objects/UML/association.c:
* objects/UML/class_dialog.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/large_package.c:
* objects/UML/realizes.c:
* objects/UML/.c:
* objects/UML/.c:
Updated to new gtk function names.
Removed warnings.
1999-01-15 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Update TODO.
* app/app_procs.c:
Fixed loading of diagrams specified as arguments.
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/er.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
Updated the ER objects.
1999-01-14 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
* app/Makefile.am:
* objects/Makefile.am:
* objects/ER/attribute.c:
* objects/ER/entity.c:
* objects/ER/er.c:
* objects/ER/participation.c:
* objects/ER/relationship.c:
* objects/ER/pixmaps/Makefile.am:
* objects/ER/pixmaps/attribute.xpm:
* objects/ER/pixmaps/entity.xpm:
* objects/ER/pixmaps/participation.xpm:
* objects/ER/pixmaps/relationship.xpm:
* objects/ER/pixmaps/weakentity.xpm:
First commit of entity relationship objects.
These were done by hallon@lysator.liu.se.
There are still stuff to do on these.
1999-01-14 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Updates.
* app/diagram.[ch]:
Change diagram_remove_all_selected to take new argument
delete_empty. Empty objects are deleted only if it is TRUE.
Removed call to close_eps_renderer. This is now done in end_render
in the eps renderer.
* app/create_object.c:
* app/layer_dialog.c:
Update calls to diagram_remove_all_selected.
* app/commands.c:
Update calls to diagram_remove_all_selected.
Some code reformating.
Changed order of adding updates i align_h and align_v.
* app/modify_tool.c:
Update calls to diagram_remove_all_selected.
Added pointer grab when doing rubber-band selection, this fixes
the bug when draging the box over to another window.
* app/connectionpoint_ops.[ch]:
diagram_update_connections_object changed to take an argument
update_nonmoved. This lets connections that has not moved, but
the stuff they're connected to has been moved work.
Update calls to the new diagram_update_connections_object.
* app/properties.c:
Update calls to the new diagram_update_connections_object.
Update extents when properties are applied.
* app/disp_callbacks.c:
Added support for zooming with the '+' and '-' keys.
* app/menus.c:
Removed old keyboard shortcuts for zoom.
* lib/render.h:
Added calls begin_render and end_render to renderer.
These can be used for setup and cleanup.
* lib/diagramdata.c:
Added calls to begin_render and end_render in data_render.
* app/render_gdk.c:
Added begin_render and end_render.
* app/render_eps.[ch]:
Added begin_render and end_render.
Moved close_eps_renderer code to end_render.
Various fixes to the generated eps code. This fixes importing
generated eps into LYX.
1999-01-12 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Update of todo.
* app/menus.c:
Menus for alignment updated.
* app/object_ops.[ch]:
Functions for object alignment updated.
* app/commands.[ch]:
Object alignment callbacks updated.
New diagrams are called Untitled-<nr>.
* app/layer_dialog.c:
Active layer selected when showing layers from new
diagram.
* app/load_save.c:
Compress xml files when saving.
Use xml namespace 'dia'.
* lib/object.h:
Minor comment update.
* objects/UML/class_dialog.c:
Cleanup of the gkt_list_item moving code.
Fixed bug with update of operation when moving parameters.
1999-01-10 Alexander Larsson <alla@lysator.liu.se>
* app/layer_dialog.[ch]:
Fixed the rest of the layers dialog.
* app/dialog.c:
Added call to redo layer dialogs diagram list when changing
diagram name.
* lib/diagramdata.[ch]:
Added data_raise_layer and data_lower_layer functions for
raising/lowering layers. Added data_add_layer_at for adding a
layer at a specified index.
1999-01-05 Alexander Larsson <alla@lysator.liu.se>
This is the asierra-990105 patch done by asierra@servidor.unam.mx.
* app/app_procs.c:
Added support for reading diagrams from the command line.
1998-12-21 Alexander Larsson <alla@lysator.liu.se>
This is the asierra-981220 patch done by asierra@servidor.unam.mx.
* app/commands.[ch]:
Added objects_align_callback().
* app/menus.c:
Added align objects to menu.
* app/object_ops.[ch]:
Add object_list_align().
1998-12-17 Alexander Larsson <alla@lysator.liu.se>
* app/layer_dialog.[ch]:
New files. Handles the layers dialog. Needs a bugfix for glib to
work. Sent patch to gtk-list.
* app/pixmaps/new.xpm:
* app/pixmaps/eye.xbm:
* app/pixmaps/lower.xpm:
* app/pixmaps/raise.xpm:
* app/pixmaps/delete.xpm:
New files. Images for the layer dialog buttons.
* lib/diagramdata.h
* lib/diagramdata.c
New files for the DiagramData and Layer structures and functions.
* app/app_procs.c:
Added call to create_layer_dialog() on startup.
* app/commands.[ch]:
New callbacks for showing the properties and layout dialog.
Changes for the new DiagramData structure.
* app/connectionpoint_ops.c:
* app/cut_n_paste.c:
* app/diagram.[ch]:
* app/display.[ch]:
* app/group.c:
* app/modify_tool.c:
* app/object_ops.[ch]:
* app/render_eps.c:
* lib/object.[ch]:
Changes for the new DiagramData structure.
* app/interface.c:
* app/properties.c:
Set correct wmclasses.
* app/load_save.c:
Fix load and save of layers.
* diagram.dtd:
Update DTD for layers.
* app/menus.c:
New menus for dialogs.
* TODO:
Some updates.
1998-12-06 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Removed the gtk 1.1.5 stuff.
* configure.in:
Updated gtk check to version 1.1.5.
Updated version from 0.20 to 0.30
* app/commands.[ch]:
Updated some callbacks to be of type GtkItemFactoryCallback1.
Not all are done yet, but it works anyway.
* app/display.h:
Removed Gtk 1.0.0 GtkAcceleratorTable references.
* app/interface.c:
* app/menus.[ch]:
Update to Gtk 1.1.x functions.
Use ItemFactory instead of MenuFactory.
* app/render_gdk.c:
Removed Gtk 1.0.0 references.
* objects/UML/class_dialog.c:
Scrolled window updates for Gtk 1.1.5.
* lib/dia_xml.c:
Removed ugly fix for gnome-xml bug. Make sure you get the
newest version of gnome-xml from CVS.
1998-12-05 Alexander Larsson <alla@lysator.liu.se>
* TODO:
Removed the xml load/save line.
* lib/files.[ch]:
Removed files.
* lib/Makefile.am:
Removed building of files.c
* app/load_save.c:
* lib/connection.c:
* lib/element.c:
* lib/object.c:
* lib/orth_conn.c:
* lib/render_object.c:
* objects/UML/actor.c:
* objects/UML/association.c:
* objects/UML/class.c:
* objects/UML/constraint.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/note.c:
* objects/UML/realizes.c:
* objects/UML/small_package.c:
* objects/UML/uml.c:
* objects/UML/usecase.c:
* objects/network/bus.c:
* objects/standard/arc.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/line.c:
* objects/standard/textobj.c:
* objects/standard/zigzagline.c:
Removed all includes of files.h
1998-12-05 Alexander Larsson <alla@lysator.liu.se>
* dialog.dtd:
Made the val property of string be implied.
This makes it possible to save strings that
are NULL. Just leave out val.
* objects/lib/dia_xml.c:
Fixed string so that it is possible to save strings
that are NULL. Also made an ugly workaround of a
bug in gnome-xml which removes empty properties.
* objects/lib/orth_conn.c:
Fixed a bug in saving. Forgot to step through the
directions.
* objects/UML/association.c:
* objects/UML/class.c:
* objects/UML/constraint.c:
* objects/UML/dependency.c:
* objects/UML/generalization.c:
* objects/UML/implements.c:
* objects/UML/large_package.c:
* objects/UML/note.c:
* objects/UML/small_package.c:
* objects/UML/realizes.c:
* objects/UML/usecase.c:
* objects/UML/actor.c:
Fixed UML objects to save as xml.
The last two were done by asierra@servidor.unam.mx (asierra-981204)
* objects/UML/uml.[ch]:
Updated *_write() and *_read() functions to use xml.
* objects/network/bus.c:
* objects/network/computer.c:
* objects/network/disc.c:
* objects/network/monitor.c:
Updated network diagrams to use xml.
1998-12-02 Alexander Larsson <alla@lysator.liu.se>
* dialog.dtd:
New file. DTD that describes the xml file format
dia uses.
* lib/dia_xml.[ch]:
New files. Support for saving object to xml files.
* configure.in:
* app/Makefile.am:
* lib/Makefile.am:
Added check for and usage of gnome-xml library.
* app/load_save.c:
Major chages. Now saves/loads diagrams as xml.
* lib/object.[ch]:
* lib/element.[ch]:
* lib/connection.[ch]:
* lib/orth_conn.[ch]:
* lib/render_object.[ch]:
* lib/text.[ch]:
Updated object support load/save functions for xml:
* object/standard/arc.c:
* object/standard/box.c:
* object/standard/ellipse.c:
* object/standard/line.c:
* object/standard/textobj.c:
* object/standard/zigzagline.c:
Updated all standard objects to use xml.
NOTE NOTE NOTE
Only the standard objects are converted right now, don't
save or load uml or network diagrams yet. Also, since this
is new code it is deemed a bit unstable.
* TODO
Added a know bug.
1998-12-01 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/class.c:
Changed classname font to Helvetica.
Added more space above the classname
* objects/UML/usecase.c:
Correct placements of connectionpoints on ellipse.
Better algorithm for deciding aspect ration on
ellipse.
These changes were made by Alejandro Aguilar Sierra
<asierra@servidor.unam.mx>. (asierra-981201)
1998-11-30 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/actor.c:
Changed the extents and alignment of the element
and the text.
* objects/UML/.cvsignore:
Added usecase.lo and actor.lo.
1998-11-30 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/actor.c:
* objects/UML/usecase.c:
* objects/UML/pixmaps/actor.xpm:
* objects/UML/pixmaps/case.xpm:
New files. Implements usecase and actor UML objects.
These objects are done by Alejandro Aguilar Sierra
<asierra@servidor.unam.mx>.
* objects/UML/Makefile.am:
* objects/UML/pixmaps/Makefile.am:
Added usecase and actor to makefile.
* AUTHORS:
Added Alejandro and Jerome to autors list.
1998-11-25 Alexander Larsson <alla@lysator.liu.se>
* objects/UML/class.c (umlclass_load):
Fixed typo. Reported by Jerome.Abela@solsoft.fr
1998-11-24 Alexander Larsson <alla@lysator.liu.se>
* app/properties.c:
Update connections when doing apply in the properties window.
* objects/UML/uml.[ch]:
* objects/UML/class.[ch]:
* objects/UML/class_dialog.c:
Added connection points on both sides of attributes and
operations in UML classes.
Based on idea from Jerome.Abela@solsoft.fr
1998-11-24 Alexander Larsson <alla@lysator.liu.se>
* README:
Some new documentation about handles and connectionpoints.
* lib/object.[ch]:
Added functions object_add_connectionpoint and
object_remove_connectionpoint for handling a dynamic
number of connectionpoints.
* objects/UML/class.c:
Only reserve space for stereotype when it is shown.
These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
1998-11-08 Alexander Larsson <alla@lysator.liu.se>
* app/connectionpoint_ops.c:
* app/commands.c:
* app/disp_callbacks.c:
* app/display.[ch]:
* app/grid.c:
* app/handle_ops.c:
* app/magnify.c:
* app/modify_tool.c:
* app/render_gdk.[ch]:
* lib/render.h:
Huge cleanup of internal rendering system.
Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
This gives a few new methods for Interactive Renderers for setting
clipping regions and drawing pixel based lines and rects.
Updated the rest of the code to use the new stuff.
* app/render_eps.c:
Fixed warning.
* lib/widgets.c:
* objects/standard/zigzagline.c
Fixed unused variable warnings.
* lib/font.c:
Fixedbug with stringwidth where width==0.
* TODO:
Added known bug.
1998-11-02 Alexander Larsson <alla@lysator.liu.se>
* lib/widgets.[ch]:
Added suppot for setting the font of a
DiaFontSelector widget.
Also fixed some typos in the header.
* lib/object.h:
Added a comment about the GetPRoperties method call.
You have to make sure to update widget state when
this method is called. (Not all objects do this yet,
to be fixed.)
* TODO:
Some small updates
1998-11-01 Alexander Larsson <alla@lysator.liu.se>
* lib/font.c
Fixed problem with height of ascent and descent for fonts.
It didn't use the whole height (==ascent+descent) when calculatine
ascent_ratio and descent_ratio.
* objects/standard/textobj.c:
* objects/standard/box.c:
* objects/standard/ellipse.c:
* objects/standard/line.c:
* objects/standard/arc.c:
Updated and added property dialogs for these objects.
Also added line width/color/style to those objects
that didn't have it.
This change breaks fileformat compatibility for these objects.
* objects/standard/zigzagline.c:
Changed zigzagline to be based on OrthConn, much nicer.
Also added line style and color to properties.
This change breaks fileformat compatibility for zigzagline.
* lib/message.c:
Fixed bug in message(). Forgot a pair of '&'.
1998-10-29 Alexander Larsson <alla@lysator.liu.se>
* lib/widgets.[ch]:
Added DiaColorSelector widget.
This is a colored button that pops up a color selection
dialog when pressed.
1998-10-28 Alexander Larsson <alla@lysator.liu.se>
* lib/widgets.[ch]:
* lib/Makefile.am:
New files, added widgets for selecting fonts, alignment
and line-style. Will be used later.
1998-10-12 Alexander Larsson <alla@lysator.liu.se>
* app/Makefile.am:
* lib/Makefile.am:
* objects/UML/Makefile.am:
* objects/network/Makefile.am:
* objects/standard/Makefile.am:
Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
in all Makefile.am.
1998-10-03 Alexander Larsson <alla@lysator.liu.se>
* app/handle_ops.c (handle_draw):
connected HANDLE_MINOR_CONTROL also becomes red.
1998-10-02 Alexander Larsson <alla@lysator.liu.se>
* Makefile.am:
removed -ldl from linking. This is added if needed by configure.
* app/app_procs.c:
Open dlls with RTLD_LAZY if it is defined.
Some cleanups: char *error -> const char *error
Added fprintf()'s to where we exited because of errors.
* lib/files.c:
Include <sys/types.h>
1998-10-01 Alexander Larsson <alla@lysator.liu.se>
* acconfig.h:
* configure.in:
* app/app_procs.c:
Detect dlopen better.
Detect wether dlopen needs an underscore in the identifier.
This code was mostly borrowed from guile.
* lib/sheet.[ch]:
* app/app_procs.c:
* objects/standard/standard.c:
* objects/network/network.c:
* objects/UML/uml.c:
* most objects:
Changed the way sheets reference objects to use just the
name. Changed module loading to a two stage model:
First register_objects() is called for all modules.
Then register_sheets() is called. This means that
sheets can safely include objects from other modules.
1998-09-30 Alexander Larsson <alla@lysator.liu.se>
* objects/network/bus.c:
* objects/network/network.c:
* objects/network/Makefile.am:
New file bus.c. Added new object: Ethernet bus.
* objects/standard/box.c:
Added call to gtk_spin_button_set_numeric for linewidth spinner
in property dialog.
1998-09-30 Alexander Larsson <alla@lysator.liu.se>
* app/connectionpoint_ops.c:
* app/create_object.c:
* app/group.c:
* app/handle_ops.c:
* app/modify_tool.c:
* lib/connection.c:
* lib/element.c:
* lib/handle.h:
* lib/object.c:
* lib/orth_conn.c:
* loads of objects:
Changed handle->connectable to handle->connect_type.
Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
that their connections don't break when moving objects.
* app/diagram.c:
Always select the last handle in an object that has
the closest distance.
* lib/geometry.[ch]:
Added rectangle_add_point function.
1998-09-27 Alexander Larsson <alla@lysator.liu.se>
* app/properties.[ch]: New files. Handles the new properties
dialog.
* app/modify_tool.c: Changed to use new properties dialog.
* app/object_ops.[ch]: Removed object_changed_callback, as it's
not needed anymore. This is now handled differently in
properties.c
* lib/object.[ch]:
Changed the properties ops for objects. Removed typedefs
ChangedObjectTime and ObjectChangedFunc needed for the old way.
Added object_return_null function.
* app/group.c:
* lib/render_object.c:
* objects/*/*.c:
Changed objects to use the new properties dialog.
1998-09-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* */Makefile.am (INCLUDES): Changes to work with srcdir !=
builddir.
* autogen.sh: New file. Copied from gtk and added a call to
libtoolize. Anyone knows why this isn't done in gtk?
* Removed autogenerated files.
1998-09-12 Alexander Larsson <alla@lysator.liu.se>
* Added call setlocale(LC_NUMERIC, "C") so that formating of
floating-point numbers in postscript output will be correct.
* Did some cleanup of generated postscript files.
|