1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
|
2008-05-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* share/extensions/*.py: Use gettext for (many) error messages.
share/extensions/inkex.py: (errormsg): New function.
2007-06-24 Joel Holdsworth <joelholdsworth@yahoo.com>
* modified the windows RC files to add version info and manifest data
2007-03-16 Tim Dwyer <Tim.Dwyer@infotech.monash.edu.au>
* src/graphlayout/graphlayout.cpp: handle null bounding boxes
2007-03-01 Markus Schwarzenberg <Markus.Schwarzenberg@ipms.fraunhofer.de>
Solaris 8 / gcc-3.2.3 fixes (selectively effecting only this special
* src/display/nr-filter-gaussian.cpp:
* include compatibility header "isnormal.h"
* template calcTriggsSdikaInitialization<PC> needs to be
specified explicitely for gcc 3.2.3
* src/display/pixblock-transform.cpp, src/display/nr-filter.cpp,
src/display/nr-filter.cpp
* include compatibility header "round.h"
* using Inkscape::round
* src/extension/internal/ps.cpp, src/print.cpp
include <unistd.h> on SOLARIS_2_8 for open, unlink
* src/libcola/gradient_projection.cpp
include and use compatibility headers "isnan.h" "isinf.h"
* removed obsolete src/libvpsc/isnan.h
* added src/isinf.h
* configure.ac: Added Detection of solaris2.8 --> CXXFLAGS += -DSOLARIS_2_8
2006-08-05 John Bintz <jcoswell@coswellproductions.org>
* node-context.cpp, nodepath.cpp:
add checks to make sure given nodepath pointers are not
null before working with them
2006-08-01 MenTaLguY <mental@rydia.net>
* configure.ac: refactor pkg-config tests and add explicit cairo test
2006-07-29 John Bintz <jcoswell@coswellproductions.org>
* src/nodepath.cpp:
Fix bug where deleting a node broke the symmetry of neighboring
smooth nodes and failed to convert those nodes to cusp nodes
2006-07-29 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp:
remove GObject signals from SPObject
* src/desktop.cpp, src/desktop.h, src/sp-gradient.cpp,
src/sp-gradient.h, src/sp-pattern.cpp, src/sp-pattern.h,
src/sp-switch.cpp, src/sp-switch.h, src/widgets/desktop-widget.cpp,
src/widgets/desktop-widget.h, src/widgets/gradient-image.cpp,
src/widgets/gradient-image.h, src/widgets/gradient-toolbar.cpp,
src/widgets/gradient-toolbar.cpp:
switch to sigc++ SPObject signals
2006-07-27 MenTaLguY <mental@rydia.net>
* src/dialogs/sp-attribute-widget.cpp,
src/dialogs/sp-attribute-widget.h, src/sp-offset.cpp,
src/sp-offset.h, src/sp-shape.cpp, src/sp-shape.h,
src/sp-use-reference.cpp, src/sp-use-reference.h:
switch to sigc++ SPObject signals
2006-07-26 MenTaLguY <mental@rydia.net>
* src/dialogs/object-attributes.cpp:
switch to sigc++ "release"
2006-07-26 MenTaLguY <mental@rydia.net>
* src/style.cpp, src/style.h:
finish switching to sigc++ SPObject signals for SPStyle
2006-07-25 MenTaLguY <mental@rydia.net>
* src/widgets/gradient-vector.cpp, src/widgets/gradient-vector.h:
switch to sigc++ SPObject signals for SPGradientVectorSelector
2006-07-25 MenTaLguY <mental@rydia.net>
* autogen.sh, configure.ac, debian/control, tools-version.sh:
un-libtoolize the build process (yay!) -- we haven't actually
used libtool for ages
2006-07-25 MenTaLguY <mental@rydia.net>
* src/extension/plugin, src/extension/plugin/Makefile_insert,
src/extension/plugin/makefile.in, src/extension/plugin/.cvsignore,
src/Makefile.am, configure.ac:
remove vestigal plugin support
2006-07-24 MenTaLguY <mental@rydia.net>
* configure.ac: further work on LSB build configuration
2006-07-23 John Bintz <jcoswell@coswellproductions.org>
* src/verbs.cpp, src/event-context.cpp, src/node-context.cpp:
forced redraw of canvas upon completion of zooming or upon
starting rubber band selection events to work around event
starvation issue at high zoom levels
2006-07-23 MenTaLguY <mental@rydia.net>
* src/widgets/paint-selector.cpp:
Update pattern creation help text to reflect new menu layout. We
probably need some way to automatically generate
"menu navigation strings" for a given verb.
2006-07-23 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh, packaging/macosx/inkscape.ds_store
packaging/macosx/dmg_background.svg, packaging/macosx/osx-dmg.sh,
packaging/macosx/dmg_background.png, Makefile.am,
packaging/macosx/dmg_set_style.scpt:
Improve the disk image layout for Mac OS X releases. This is
based on Jean-Olivier Irisson's work and patches, submitted as
#1516212.
2006-07-23 John Bintz <jcoswell@coswellproductions.org>
* src/desktop.cpp, src/desktop.h:
added SPDesktop::updateNow()
* src/event-context.cpp, src/select-context.cpp, src/node-context.cpp:
forced redraw of canvas upon completion of selection or panning
to work around event starvation issue at high zoom levels
2006-07-22 John Bintz <jcoswell@coswellproductions.org>
* src/desktop.cpp, src/desktop.h, src/document-undo.cpp,
src/document.h, src/document-private.h, src/document.cpp:
forced redraw of canvas upon document commit to work
around event starvation issue at high zoom levels
2006-07-21 MenTaLguY <mental@rydia.net>
* src/splivarot.cpp:
patch from John Bintz, adding pref to simplify multiple
paths separately
2006-07-21 MenTaLguY <mental@rydia.net>
* configure.ac: first shot at implementing --enable-lsb
2006-07-21 MenTaLguY <mental@rydia.net>
* src/style.cpp, src/style.h:
switch to using sigc++ signals
2006-07-21 MenTaLguY <mental@rydia.net>
* src/layer-manager.cpp, src/layer-manager.h:
switch to sigc++ signals and manually clean up signal connections
(although it may not be strictly necessary to do so here)
2006-07-21 MenTaLguY <mental@rydia.net>
* src/document-subset.cpp, src/object-hierarchy.cpp,
src/object-hierarchy.h, src/selection.cpp, src/selection.h,
src/ui/view/edit-widget.cpp, src/ui/view/edit-widget.h,
src/uri-references.cpp, src/uri-references.h:
switch to sigc++ signals for "modified" and "release"
2006-07-21 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/sp-object.cpp, src/sp-object.h:
sp_object_invoke_release -> SPObject::releaseReferences,
plus the introduction of sigc++ signals for "release" and
"modified" which will eventually replace the GObject signals
2006-07-20 MenTaLguY <mental@rydia.net>
* src/libnrtype/RasterFont.h, src/libnrtype/font-instance.h:
replace two uses of hash_map with standard STL map
2006-07-18 Bryce Harrington <bryce@bryceharrington.org>
* src/document.h, src/document.cpp: Refactoring from mental &
bryce to consolidate document update functionality from
sp_document_ensure_is_up_to_date() and
sp_document_idle_handler(). This is the first step in getting
updates of defs (and markers) fixed.
2006-07-18 Tim Dwyer <Tim.Dwyer@infotech.monash.edu.au>
* src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.h:
We now use connector spacing to determine the minimum space required
between shape bounding boxes when graph layout with avoid overlap
constraints is applied. This means that there should always be enough
room for connectors to route between shapes. Also changed the default
connector spacing to a less extreme 3.
2006-07-17 Tim Dwyer <Tim.Dwyer@infotech.monash.edu.au>
* src/libcola/cola.h, src/libcola/connected_components.cpp,
src/graphlayout/graphlayout.cpp:
Disconnected graphs are now handled more gracefully,
connected components are arranged separated (in place) and
then overlaps between components are removed.
2006-07-13 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/Makefile_insert, src/Makefile.am, src/svg/Makefile_insert,
src/xml/Makefile_insert, src/libnr/Makefile_insert:
Add "$(srcdir)/" to some things so that "make check" works in
the case that the build directory is somewhere other than the
source directory.
* src/sp-conn-end-pair.cpp, src/connector-context.cpp,
src/document.cpp, src/libavoid/*:
Update libavoid with upstream fixes, optimisations and new features.
2006-07-13 Tim Dwyer <Tim.Dwyer@infotech.monash.edu.au>
* src/libvpsc/*,
src/graphlayout/graphlayout.cpp:
Toggle on connector toolbar can force connectors with
end-markers (arrows) to point downwards
2006-07-13 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libavoid/router.cpp: Fixed a bug in the libavoid function
Router::attachedConns(). Previously unused, but needed by Tim
for new Graph Layout code.
2006-07-13 Jon Phillips <jon@rejon.org>
* src/inkview: Added commandline option capability to inkview and
got code ready to add a timer for an automatic slideshow capability.
2006-07-12 Tim Dwyer <Tim.Dwyer@infotech.monash.edu.au>
* src/libvpsc/*,
src/libcola/*,
src/graphlayout/graphlayout.cpp,
src/removeoverlaps/removeoverlaps.cpp:
Boost graph layout algorithms replaced by custom constraint layout
algorithm (implemented in libcola). New layout supports constraints
such as downward pointing connectors (directed graph layout) or
non-overlapping shapes.
libvpsc contains updated code for quadratic program solver used by
libcola and removeoverlaps. Fixes bug #1441411.
2006-07-02 Colin Marquardt <colin@marquardt-home.de>
* AUTHORS, src/ui/dialog/aboutbox.cpp: Add Niko, Hugo, Dale and
Gustav.
2006-06-30 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp, src/widgets/toolbox.cpp:
Add undo event descriptions for the connector context.
2006-06-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/macosx/ScriptExec/main.c:
Add some quotes to fix a problem for people on OS X with
spaces in their home directory path. Fixes bug #1512019.
2006-06-21 Colin Marquardt <colin@marquardt-home.de>
* share/templates/DVD_cover_regular_300dpi.svg,
share/templates/DVD_cover_slim_300dpi.svg,
share/templates/DVD_cover_superslim_300dpi.svg,
share/templates/DVD_cover_ultraslim_300dpi.svg:
DVD templates by Aleksandar Urosevic. Closes #1507164.
2006-06-19 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/macosx/Resources/script,
packaging/macosx/Resources/bin/inkscape:
Improve quoting of shell variables.
* packaging/macosx/ScriptExec/ScriptExec.xcodeproj/project.pbxproj:
Xcode 2 project file for the OS X launcher. This will build a
Universal version of the launcher by default. The project files for
different versions are named differently, so this will be picked up and
used if the package builder has a sufficiently new version of Xcode.
* packaging/macosx/ScriptExec/ScriptExec.xcode/sveinbjornt.pbxuser,
packaging/macosx/ScriptExec/ScriptExec.xcode/voisine.pbxuser:
Remove unnecessary user preference files.
* Makefile.am:
Update the Xcode project files included when creating releases.
2006-06-13 Jon A. Cruz <jon@joncruz.org>
* TRANSLATORS, src/ui/dialog/aboutbox.cpp:
Applied patch #1505715.
2006-06-13 Jon A. Cruz <jon@joncruz.org>
* packaging/macosx/Resources/etc/fonts/fonts.conf:
Applied patch #1505765.
2006-06-09 Jon A. Cruz <jon@joncruz.org>
* src/object-snapper.cpp, src/selection.cpp, src/selection.h,
src/seltrans.cpp:
Applied patch #1503864.
2006-06-09 Jon A. Cruz <jon@joncruz.org>
* src/widgets/toolbox.cpp:
Handle case when function call fails.
Fixes bug #1501150.
2006-06-07 Jon A. Cruz <jon@joncruz.org>
* src/seltrans.cpp:
Work-around for seltrans not getting calls to grab() and ungrab() as
expected.
Fixes bug #1501156.
2006-06-07 Jon A. Cruz <jon@joncruz.org>
* src/widgets/toolbox.cpp:
Applied patch #1502407.
Fixes bug #1500049.
2006-06-07 Jon A. Cruz <jon@joncruz.org>
* packaging/macosx/ScriptExec/main.c, packaging/osx-app.sh:
Fixing OS X fc-cache problem.
Applied patch #1502063.
2006-06-07 Jon A. Cruz <jon@joncruz.org>
* src/sp-item-group.cpp, src/sp-path.cpp, src/sp-star.cpp,
src/sp-switch.cpp, src/ui/widget/ruler.cpp:
Applied patch #1501709.
2006-06-05 Jon A. Cruz <jon@joncruz.org>
* trace/siox.cpp, trace/siox.h, trace/trace.cpp,
src/ui/dialog/tracedialog.cpp:
Applied patch #1501375.
2006-06-05 Jon A. Cruz <jon@joncruz.org>
* trace/siox.cpp, trace/trace.cpp:
Applied patch #1501134.
2006-06-05 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.cpp:
Allow action when no layer selected.
Fixes bugs #1494646.
2006-06-05 Jon A. Cruz <jon@joncruz.org>
* trace/siox.cpp:
Applied patch #1500659.
2006-06-05 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp:
Blocked signal when changes are not from the layers UI.
Fixes bugs #1495406 and most of #1494646.
2006-06-02 Colin Marquardt <colin@marquardt-home.de>
* TRANSLATORS: Add Stefan Graubner.
2006-06-01 Jon A. Cruz <jon@joncruz.org>
* src/extension/internal/pdf-mini.h
Fix for delete[] mismatch and binary tweak from Ulf Erikson.
2006-06-01 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp:
Added layer opacity slider.
Fixes RFE #1496569.
2006-05-31 Colin Marquardt <colin@marquardt-home.de>
* TRANSLATORS: Add vonHalenbach for tutorial translations.
2006-05-29 Jon A. Cruz <jon@joncruz.org>
* src/extension/internal/odf.cpp:
Corrected deletes and uninitizlied variables.
Fixes bug# 1489961.
2006-05-30 John Cliff <simarilius@yahoo.com>
src/trace/potrace/inkscape-potrace.cpp
Changed bitsPerSample from hardcoded to calculated for multi color traces
to fix bugs 1188811 and 1484076
2006-05-29 Jon A. Cruz <jon@joncruz.org>
* src/xml/repr-io.cpp:
Changed to strip leading BOM from input.
Fixes bug# 1121666.
2006-05-29 Bryce <bryce@bryceharrington.org>
* sp-shape.cpp: Adding documentation
2006-05-29 Jon A. Cruz <jon@joncruz.org>
* src/desktop.cpp, src/layer-manager.cpp, src/dialogs/layers-panel.cpp:
Workaround to avoid assertion upon file revert.
2006-05-28 Bryce <bryce@bryceharrington.org>
* sp-marker.cpp: Adding documentation
2006-05-28 MenTaLguY <mental@rydia.net>
* src/dialogs/clonetiler.cpp, src/dialogs/iconpreview.cpp,
src/dialogs/stroke-style.cpp, src/display/curve.cpp,
src/display/sp-canvas.cpp, src/dyna-draw-context.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/pdf.cpp,
src/extension/internal/ps.cpp, src/extension/internal/win32.cpp,
src/file.cpp, src/inkview.cpp, src/libnr/nr-macros.h,
src/libnr/nr-object.cpp, src/libnr/nr-path.cpp,
src/libnr/nr-pixblock.cpp, src/libnr/nr-pixblock-pattern.cpp,
src/libnr/nr-svp.cpp, src/libnr/nr-svp-render.cpp,
src/libnrtype/FontFactory.cpp, src/libnrtype/Layout-TNG-Output.cpp,
src/libnrtype/nr-type-primitives.cpp, src/path-chemistry.cpp,
src/splivarot.cpp, src/sp-marker.cpp, src/ui/widget/icon-widget.cpp,
src/widgets/icon.cpp:
replace nr_new() with g_new(), and try to converge on using the
glib allocator a little more instead of the others (aside from
libgc)
2006-05-28 MenTaLguY <mental@rydia.net>
* share/icons/icons.svg:
correct vertical text flow icon to correctly reflect lines stacking
right-to-left, as well as improving pixel alignment on both text flow
icons
2006-05-28 MenTaLguY <mental@rydia.net>
* src/widgets/toolbox.cpp:
add tooltips to text toolbar widgets
2006-05-28 Jon A. Cruz <jon@joncruz.org>
* src/layer-manager.cpp, src/layer-manager.h,
src/preferences-skeleton.h, src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/inkscape-preferences.h,
src/widgets/layer-selector.cpp, src/dialogs/layers-panel.cpp:
Finished option to turn on or off deslecting when switching layers.
Fixes RFE #1495701.
2006-05-28 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp:
Changed clicking on visibility and locked toggles to not switch
selected layer.
Fixes bug #1495856.
2006-05-28 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end-pair.cpp: Detach connectors from empty groups
before trying to route connectors to them. This is required
since empty groups have no physical position. Fixes bug #1448811.
2006-05-27 Kees Cook <kees@outflux.net>
* src/extension/implementation/script.cpp: allow output extension
parameters to be prompted and used, closes bug #1495310.
2006-05-26 MenTaLguY <mental@rydia.net>
* src/dialogs/layers-panel.h, src/dialogs/layers-panel.cpp:
make button labels translatable, and use HButtonBox instead of HBox for
better appearance
2006-05-26 Jon A. Cruz <jon@joncruz.org>
* src/layer-manager.cpp, src/layer-manager.h,
src/dialogs/layer-properties.cpp, src/dialogs/layers-panel.cpp:
Prevent layer name duplication.
Fixes bug #1115407.
2006-05-26 Jon A. Cruz <jon@joncruz.org>
* src/widgets/desktop-widget.cpp:
Fixed resize handle in corner of main UI.
Fixes bug #1493995.
2006-05-26 Jon A. Cruz <jon@joncruz.org>
* src/layer-manager.cpp, src/layer-manager.h,
src/widgets/layer-selector.cpp:
Cleaned up propagation of status changes.
Fixes bug #1495333.
2006-05-26 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/path-prefix.h: Add missing CREATE_* directory locations
for building an OS X application bundle. Fixes bug #1495284.
2006-05-25 Bryce Harrington <bryce@bryceharrington.org>
* src/inkscape.cpp: i18n on error messages (fix for bug 1490928)
2006-05-23 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.cpp, src/dialogs/swatches.cpp,
src/dialogs/swatches.h, src/preferences-skeleton.h,
src/ui/previewfillable.h, src/ui/previewholder.cpp,
src/ui/previewholder.h, src/ui/widget/panel.cpp,
src/ui/widget/panel.h, src/verbs.cpp,
src/widgets/desktop-widget.cpp:
Refactored panels.
Fixes RFE #1453153. Fixes RFE #1453152.
2006-05-23 MenTaLguY <mental@rydia.net>
* src/extension/internal/ps.cpp:
move %%EOF to end of output document
2006-05-22 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp, src/ui/widget/panel.cpp,
src/ui/widget/panel.h:
Removed panel menu unless requested. Fixes bug #1492597.
2006-05-22 MenTaLguY <mental@rydia.net>
* src/extension/internal/svg.cpp:
replace EXTREMELY inefficient (O(n^2), I think?) stacked C string
concatenations with appends to a std::vector, which is amortized O(1)
2006-05-21 Marco Scholten <mscholtn@xs4all.nl>
* src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/inkscape-preferences.h:
Added 'Show close button on dialogs' option.
2006-05-21 MenTaLguY <mental@rydia.net>
* src/ui/view/view-widget.cpp:
request collection pass after destruction of a view widget
2006-05-21 MenTaLguY <mental@rydia.net>
* src/gc-core.h, src/gc.cpp:
add GC::request_early_collection() to force a collection from the idle
loop at opportune times
* src/dialogs/filedialog.cpp:
call GC::request_early_collection() after switching preview images
2006-05-21 Jon A. Cruz <jon@joncruz.org>
* src/layer-manager.cpp, src/layer-manager.h,
src/dialogs/layers-panel.cpp, src/dialogs/layers-panel.h:
Adding notification when managed layers change.
2006-05-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/extension/internal/pdf.cpp: Compilation fix. For versions
of glib older that 2.9.0, use g_date_set_time() instead of
g_date_set_time_t().
2006-05-20 MenTaLguY <mental@rydia.net>
* src/extensin/internal/ps.cpp:
add %%EOF trailer for DSC-compliance
2006-05-20 Colin Marquardt <colin@marquardt-home.de>
* share/extensions/lindenmayer.inx,
share/extensions/kochify_load.inx,
share/extensions/kochify.inx:
Rename slightly, also makes for easier translation.
2006-05-20 Jon A. Cruz <jon@joncruz.org>
* src/widgets/icon.h, src/widgets/icon.cpp, src/dialogs/layers-panel.cpp:
Changled dialog from checkboxes to icons for visible and locked.
2006-05-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libnrtype/FontInstance.cpp: patch from David Turner of the
FreeType Project. Fixes a compilation problem and a possible
segmentation fault.
2006-05-19 Jon A. Cruz <jon@joncruz.org>
* src/preferences-skeleton.h, src/dialogs/layers-panel.h,
src/dialogs/layers-panel.cpp:
Selection and event handling cleanup. Added deeper display.
2006-05-18 Jon A. Cruz <jon@joncruz.org>
* src/layer-manager.cpp, src/dialogs/layers-panel.h,
src/dialogs/layers-panel.cpp:
Next round of layer dialog updates.
2006-05-17 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.cpp: corrected localization on array, added comments.
* src/ui/widget/licensor.cpp: Localized the license name.
* configure.ac: added comment about why sigc++ was upgraded
2006-05-17 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.cpp:
Flipped top/bottom in layers UI to reflect visible stacking.
2006-05-16 verbalshadow <verbalshadow@gmail.com>
* src/desktop-style.h, src/desktop-style.cpp:
Fixes calligraphy tool so drawing now uses the the correct opacity.
2006-05-17 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/layers-panel.cpp, src/dialogs/layers-panel.h:
Switched icons to stock generic.
2006-05-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/dialogs/layers-panel.cpp: Compile fix from Mathieu Dimanche.
2006-05-16 Jon A. Cruz <jon@joncruz.org>
* src/document-subset.cpp:
Corrected ordering of children in subset.
2006-05-15 Jon A. Cruz <jon@joncruz.org>
* src/Makefile_insert, src/desktop.cpp, src/desktop.h,
src/layer-manager.cpp, src/menus-skeleton.h, src/verbs.cpp,
src/verbs.h, src/dialogs/layers-panel.cpp,
src/dialogs/layers-panel.h, src/dialogs/Makefile_insert:
Base implementation of a layers dialog.
2006-05-14 Colin Marquardt <colin@marquardt-home.de>
* src/ui/dialog/inkscape-preferences.cpp (initPageTools):
Typofix ("conector").
2006-05-14 Jon A. Cruz <jon@joncruz.org>
* src/document-subset.cpp, src/layer-manager.h, src/layer-manager.cpp:
Corrected base structure and avoiding infinite loop.
2006-05-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/widgets/toolbox.cpp: Slightly increase size of the
connector toolbar buttons to match button sizes on other
toolbars.
2006-05-13 verbalshadow <verbalshadow@gmail.com>
* src/dyna-draw-context.cpp, src/desktop-style.cpp,
src/desktop-style.h:
Calligraphy tool now draws in the last used color or the
tool style depending on the Preference setting.
2006-05-11 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/selection-chemistry.cpp, src/sp-conn-end-pair.cpp:
When moving/transforming connectors, only detach connectors
from objects that are not part of the selection. Previously,
connectors moved as part of a selection would be detached from
all objects. This has been requested several times via email.
The change also fixes bug #1383806.
* src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/inkscape-preferences.h, src/connector-context.cpp:
Add a preferences setting to the connector tool for setting
whether or not connectors attach to text objects. This change
addresses feature request #1434292.
2006-05-09 Carl Hetherington <inkscape@carlh.net>
* src/nodepath.cpp: fix silly bug with snapping node edits.
* src/snapper.cpp, src/snapper.h, src/sp-namedview.cpp:
re-enable link between grid visibility and grid snap.
2006-05-08 Michael Wybrow <mjwybrow@users.sourceforge.net>
* conn-avoid-ref.cpp: Fix a crashbug that could occur in files
containing connectors if they were loaded from the file chooser
or from the recent file list. Fixes bug #1458820.
2006-05-08 MenTaLguY <mental@rydia.net>
* src/display/curve.cpp:
always make local copy of path data so that we have control over memory
policy
2006-05-08 MenTaLguY <mental@rydia.net>
* src/display/curve.h, src/display/curve.cpp, src/dropper-context.cpp:
get rid of sp_curve_new_from_static_bpath() in a bid to simplify curve
memory management
2006-05-08 MenTaLguY <mental@rydia.net>
* src/display/canvas-bpath.cpp, src/display/curve.cpp, src/display/curve.h,
src/display/nr-arena-shape.cpp, src/draw-context.cpp,
src/extension/internal/odf.cpp, src/extension/internal/pov-out.cpp,
src/nodepath.cpp, src/object-snapper.cpp, src/path-chemistry.cpp,
src/sp-flowregion.cpp, src/splivarot.cpp, src/sp-offset.cpp,
src/sp-path.cpp, src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-star.cpp,
src/sp-use-reference.cpp:
eliminate direct accesses to SPCurve::bpath
2006-05-08 MenTaLguY <mental@rydia.net>
* src/streams-zlib.cpp, src/streams-jar.cpp, src/splivarot.cpp,
src/extension/internal/bluredge.cpp:
use std::vector rather than dynamically-sized automatic arrays,
plus cleanups and minor fixes, and dead code removal
2006-05-08 MenTaLguY <mental@rydia.net>
* src/debug/demangle.cpp, src/debug/demangle.h, src/sp-object.cpp,
src/gc-anchored.cpp, src/debug/Makefile_insert:
use c++filt for symbol demangling if available
2006-05-08 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp:
comments explaining namespace mapping for the broken sodipodi namespace
2006-05-08 Carl Hetherington <inkscape@carlh.net>
* src/seltrans.cpp, src/snap.cpp, src/snap.h: fix ctrl-scaling
when there is no snap. More snapping cleanups.
2006-05-07 Michael Wybrow <mjwybrow@users.sourceforge.net>
* knot.h, knot.cpp, connector-context.cpp:
Fix glib-gobject-warnings for knots in the connector tool.
2006-05-07 Jon A. Cruz <jon@joncruz.org>
* src/document-subset.cpp:
Corrected two bugs, with the minor one hiding the more severe.
2006-05-06 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp, src/xml/repr.h:
add fixup for incorrect sodipodi namespace
2006-05-06 MenTaLguY <mental@rydia.net>
* doc/NewAppArchitecture/01-title.svg,
doc/NewAppArchitecture/04-current-main.svg,
doc/NewAppArchitecture/05-current-objects.svg,
doc/NewAppArchitecture/06-current-desktop-view.svg,
doc/NewAppArchitecture/07-current-problems.svg,
doc/NewAppArchitecture/08-inkscape-gtkmm.svg
doc/NewAppArchitecture/09-future-capabilities.svg,
doc/NewAppArchitecture/10-future-main.svg,
doc/NewAppArchitecture/11-future-ink-app.svg,
doc/NewAppArchitecture/12-future-run-modes.svg,
doc/NewAppArchitecture/13-future-ink-app-editor.svg,
doc/NewAppArchitecture/14-evolving.svg,
share/examples/art-nouveau-P3.svg,
share/examples/eastern-motive-P4G.svg,
share/examples/i18n.svg,
share/examples/markers.svg,
share/examples/tesselation-P3.svg,
share/examples/text-on-path.svg,
share/icons/David_icons.svg,
share/icons/icons.svg,
share/icons/legacy_icons.svg,
share/screens/about.svg,
share/templates/business_card_85x54mm.svg,
share/templates/default.cs.svg,
share/templates/default.lt.svg,
share/templates/default.pl.svg,
share/tutorials/gpl-2.svg,
share/tutorials/tutorial-advanced.es.svg,
share/tutorials/tutorial-advanced.fr.svg,
share/tutorials/tutorial-advanced.ja.svg,
share/tutorials/tutorial-advanced.sl.svg,
share/tutorials/tutorial-advanced.svg,
share/tutorials/tutorial-basic.ca.svg,
share/tutorials/tutorial-basic.de.svg,
share/tutorials/tutorial-basic.es.svg,
share/tutorials/tutorial-basic.fr.svg,
share/tutorials/tutorial-basic.ja.svg,
share/tutorials/tutorial-basic.nn.svg,
share/tutorials/tutorial-basic.sl.svg,
share/tutorials/tutorial-basic.svg,
share/tutorials/tutorial-calligraphy.es.svg,
share/tutorials/tutorial-calligraphy.fr.svg,
share/tutorials/tutorial-calligraphy.sl.svg,
share/tutorials/tutorial-calligraphy.svg,
share/tutorials/tutorial-elements.es.svg,
share/tutorials/tutorial-elements.fr.svg,
share/tutorials/tutorial-elements.sl.svg,
share/tutorials/tutorial-elements.svg,
share/tutorials/tutorial-shapes.ca.svg,
share/tutorials/tutorial-shapes.es.svg,
share/tutorials/tutorial-shapes.fr.svg,
share/tutorials/tutorial-shapes.ja.svg,
share/tutorials/tutorial-shapes.sl.svg,
share/tutorials/tutorial-shapes.svg,
share/tutorials/tutorial-tips.es.svg,
share/tutorials/tutorial-tips.fr.svg,
share/tutorials/tutorial-tips.sl.svg,
share/tutorials/tutorial-tips.svg,
share/tutorials/tutorial-tracing.de.svg,
share/tutorials/tutorial-tracing.es.svg,
share/tutorials/tutorial-tracing.fr.svg,
share/tutorials/tutorial-tracing.sl.svg,
share/tutorials/tutorial-tracing.svg,
src/extension/dxf2svg/dxf2svg.cpp,
src/menus-skeleton.h,
src/preferences-skeleton.h:
get the CORRECT sodipodi namespace in there
2006-05-06 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp:
fix for #1483198 ("infectious namespaces")
2006-05-01 Jon A. Cruz <jon@joncruz.org>
* src/verbs.h, src/verbs.cpp, src/verbs-test.h:
Fixed problem with std::map use making last verb inaccessible.
2006-05-05 Carl Hetherington <inkscape@carlh.net>
* src/draw-context.cpp, src/line-snapper.h, src/snap.cpp,
src/snapper.cpp, src/line-snapper.cpp, src/snap.h,
src/context-fns.cpp, src/object-snapper.h, src/seltrans.cpp,
src/nodepath.cpp, src/snapper.h, src/object-snapper.cpp: various
snapping fixes and cleanups.
06-05-04 Carl Hetherington <inkscape@carlh.net>
* src/guide-snapper.h, src/line-snapper.h, src/snap.cpp,
src/snap.h, src/object-snapper.h, src/sp-namedview.cpp,
src/grid-snapper.h: clean up knutux's fix for the snapper crash.
2006-05-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
* po/pt_BR.po: Fix some "Unmatched closing </b>" warnings.
* src/jabber_whiteboard/pedrodom.cpp: Compile fix for Mac OS.
2006-05-03 Carl Hetherington <inkscape@carlh.net>
* src/arc-context.cpp, src/connector-context.cpp,
src/context-fns.cpp, src/desktop.cpp, src/draw-context.cpp,
src/nodepath.cpp, src/object-edit.cpp, src/pencil-context.cpp,
src/rect-context.cpp, src/selection-chemistry.cpp,
src/seltrans.cpp, src/snap.cpp, src/snap.h, src/sp-namedview.cpp,
src/sp-namedview.h, src/spiral-context.cpp, src/star-context.cpp,
src/ui/dialog/document-properties.cpp: Give SPNamedView a
SnapManager instance and use it for all management of snapping
settings.
* src/snap.cpp, src/snap.h: remove the unused namedview_dim_snap_list()
2006-05-01 Jon A. Cruz <jon@joncruz.org>
* src/Makefile.am, src/Makefile_insert, src/attributes-test.h,
src/color-profile-test.h, src/mod360-test.cpp, src/mod360-test.h,
src/round-test.cpp, src/round-test.h, src/sp-gradient-test.cpp,
src/sp-gradient-test.h, src/sp-style-elem-test.cpp,
src/sp-style-elem-test.h, src/style-test.h, src/test-helpers.h:
Replaced four more tests with CxxTest versions.
2006-05-01 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-item.cpp:
use GC allocator for bitmap cache and transform
2006-05-01 Marco Scholten <mscholtn@xs4all.nl>
* src/dialogs/inkscape-preferences.cpp: Moved 'compass like
display of angles' from 'windows' to 'steps'.
2006-04-30 MenTaLguY <mental@rydia.net>
* src/libnr/nr-object.cpp:
log finalization of NRObjects
2006-04-29 Jon Phillips <jon@rejon.org>
* src/dialogs/rdf.cpp: Updated cc licenses to 2.5 by default.
* src/ui/dialog/document-metadata.cpp: Made metadata window
resizable so that one can see the licenses and enter long entries.
2006-04-29 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-group.cpp, src/display/nr-arena-item.cpp,
src/display/nr-arena-item.h, src/display/nr-arena-shape.cpp:
rationalize function names and remove spurious soft_ptr
2006-04-29 MenTaLguY <mental@rydia.net>
* src/document.cpp:
use proper unref function on SPRoot to avoid appearance of leak
2006-04-29 MenTaLguY <mental@rydia.net>
* src/gc-anchored.cpp, src/xml/simple-node.cpp, src/sp-object.cpp:
switch everyone to simpler debug event API
2006-04-29 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/gc-finalized.cpp, src/gc-finalized.h:
add finalizer logging
2006-04-29 MenTaLguY <mental@rydia.net>
* src/debug/simple-event.h: simplify the SimpleEvent API more
2006-04-29 MenTaLguY <mental@rydia.net>
* src/debug/simple-event.h: make Debug::SimpleEvent more convenient
* src/debug/event.h, src/debug/logger.cpp: add FINALIZERS category
2006-04-29 MenTaLguY <mental@rydia.net>
* src/debug/logger.cpp:
finish interrupted refactoring of log filter configuration
2006-04-29 MenTaLguY <mental@rydia.net>
* src/doc/Makefile.am, src/doc/refcounting.txt:
some developer documentation about refcounting
2006-04-29 MenTaLguY <mental@rydia.net>
* src/ui/view/view.cpp:
Wait a minute -- UI::View::View and SPDocument are both managed
by the collector -- the view doesn't need to ref the document!
2006-04-29 MenTaLguY <mental@rydia.net>
* src/ui/view/view.cpp: add missing unref
2006-04-29 MenTaLguY <mental@rydia.net>
* src/gc-anchored.cpp, src/gc-anchored.h:
added refcount logging to GC::Anchored
* src/util/Makefile_insert, src/util/format.h:
shared string printf
2006-04-28 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: make refcount logging a little more useful
by including the relevent class name
2006-04-28 Jon A. Cruz <jon@joncruz.org>
* src/Makefile_insert, src/Makefile.am, src/dir-util-test.h,
src/dir-util-test.cpp, src/extract-uri-test.h,
src/extract-uri-test.cpp:
Replaced two tests with CxxTest versions.
2006-04-28 Jon A. Cruz <jon@joncruz.org>
* src/Makefile_insert, src/MultiPrinter.h, src/verbs.h,
src/verbs-test.h:
Adding unit test for verbs.
2006-04-27 verbalshadow <verbalshadow@gmail.com>
* src/io/resource.h, src/io/resource.cpp,
src/dialogs/swatches.cpp, src/helper/stock-items.cpp:
Added CREATE v0.1 support for gradients/swatches/patterns
Support for Linux & Win32. Mac support waiting final support
Directory info.
2006-04-26 Jon A. Cruz <jon@joncruz.org>
* src/Makefile.am, src/MultiPrinter.h, src/PylogFormatter.h,
src/TRPIFormatter.h, src/selfname.tpl, src/libnr/Makefile_insert,
src/svg/Makefile_insert, src/xml/Makefile_insert:
Adding multiple test output formats.
2006-04-23 verbalshadow <verbalshadow@gmail.com>
* path-prefix.h:
Added beginnings of CREATE support in path-prefix.h
2006-04-23 verbalshadow <verbalshadow@gmail.com>
* src/object-ui.cpp, src/object-ui.h:
moved to src/ui/context-menu.cpp, src/ui/context-menu.h
to make it easier to find
2006-04-20 MenTaLguY <mental@rydia.net>
* src/dyna-draw-context.cpp, src/dyna-draw-context.h:
remove unused timer code
2006-04-19 Andrius R. <knutux@gmail.com>
* src\display\nr-arena-item.cpp, src\display\canvas-arena.cpp,
src\display\nr-arena-shape.cpp, src\display\sp-canvas.h,
src\display\nr-arena.cpp, src\display\nr-arena-shape.h,
src\display\nr-arena-glyphs.cpp, src\display\nr-gradient-gpl.cpp,
src\display\sp-canvas.cpp, src\display\sp-ctrlline.cpp,
src\livarot\ShapeSweep.cpp, src\livarot\Shape.h, src\livarot\Shape.cpp,
src\livarot\Path.h, src\livarot\PathConversion.cpp,
src\livarot\ShapeMisc.cpp, src\livarot\Path.cpp, src\libnr\nr-pixblock.h,
src\libnr\nr-pixblock.cpp
Rendering optimisation, which gives best results for zoomed in drawings
with complex (multi-node) paths. Optimisation focus - eliminating cubicTo
and LineTo nodes outside of visible area, so no unneeded calculations is
needed and less memory is consumed (this avoids crashes which were
occurring previously if zooming into a complex drawing)
2006-04-18 njh <njh@njhurst.com>
* share/extensions/measure.inx, share/extensions/measure.py, share/extensions/Makefile.am
Added the measure extension that marks lengths onto paths.
2006-04-17 MenTaLguY <mental@rydia.net>
* src/application/editor.cpp, src/arc-context.cpp, src/conn-avoid-ref.cpp,
src/connector-context.cpp, src/desktop-events.cpp, src/desktop-handles.h,
src/dialogs/clonetiler.cpp, src/dialogs/export.cpp,
src/dialogs/fill-style.cpp, src/dialogs/find.cpp,
src/dialogs/iconpreview.cpp, src/dialogs/item-properties.cpp,
src/dialogs/layer-properties.cpp, src/dialogs/object-properties.cpp,
src/dialogs/stroke-style.cpp, src/dialogs/swatches.cpp,
src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp,
src/dialogs/xml-tree.cpp, src/draw-anchor.cpp, src/draw-context.cpp,
src/dropper-context.cpp, src/dyna-draw-context.cpp,
src/event-context.cpp, src/extension/implementation/script.cpp,
src/file.cpp, src/gradient-context.cpp, src/gradient-drag.cpp,
src/helper/stock-items.cpp, src/inkscape.cpp, src/interface.cpp,
src/jabber_whiteboard/callbacks.cpp,
src/jabber_whiteboard/chat-handler.cpp,
src/jabber_whiteboard/message-processors.cpp,
src/jabber_whiteboard/message-queue.cpp,
src/jabber_whiteboard/session-manager.cpp, src/knot.cpp,
src/node-context.cpp, src/nodepath.cpp, src/object-ui.cpp,
src/path-chemistry.cpp, src/pencil-context.cpp, src/pen-context.cpp,
src/rect-context.cpp, src/rubberband.cpp, src/satisfied-guide-cns.cpp,
src/selcue.cpp, src/select-context.cpp, src/selection-chemistry.cpp,
src/selection.cpp, src/seltrans.cpp, src/sp-flowtext.cpp,
src/spiral-context.cpp, src/splivarot.cpp, src/sp-namedview.cpp,
src/sp-text.cpp, src/star-context.cpp, src/text-chemistry.cpp,
src/text-context.cpp, src/tools-switch.cpp,
src/trace/potrace/inkscape-potrace.cpp, src/trace/trace.cpp,
src/ui/dialog/align-and-distribute.cpp, src/ui/dialog/dialog.cpp,
src/ui/dialog/document-metadata.cpp,
src/ui/dialog/document-properties.cpp,
src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/session-player.cpp, src/ui/dialog/transformation.cpp,
src/ui/widget/color-picker.cpp, src/ui/widget/page-sizer.cpp,
src/ui/widget/registered-widget.cpp, src/ui/widget/ruler.cpp,
src/ui/widget/selected-style.cpp, src/ui/widget/tolerance-slider.cpp,
src/verbs.cpp, src/widgets/gradient-toolbar.cpp,
src/widgets/layer-selector.cpp, src/widgets/select-toolbar.cpp,
src/widgets/sp-xmlview-content.cpp, src/widgets/toolbox.cpp:
Get rid of the SP_DT_* macros which do nothing more than provide
additional, confusing, names for other functions. If shorter names
are desired, the actual functions should be renamed -- or better, made
into member functions.
2006-04-09 Jon A. Cruz <jon@joncruz.org>
* share/icons/icons.svg: Fixed jumping eye (layer visibility).
2006-04-07 Jon A. Cruz <jon@joncruz.org>
* po/eu.po: Fix a "Unmatched closing </b>" warnings.
2006-04-07 Jon A. Cruz <jon@joncruz.org>
* src/widgets/paint-selector.cpp, src/widgets/gradient-toolbar.cpp,
src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp,
src/dialogs/clonetiler.cpp, src/dialogs/object-properties.cpp:
Shrunk a few icon sizes.
2006-04-07 Jon A. Cruz <jon@joncruz.org>
* src/widgets/desktop-widget.cpp, src/widgets/icon.cpp,
src/widgets/layer-selector.cpp:
Added implementation of smaller icon size.
2006-04-06 Jon A. Cruz <jon@joncruz.org>
* src/color-profile.cpp, src/sp-image.cpp:
Simple debugging #ifdefs added.
2006-04-06 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/dialogs/clonetiler.cpp,
src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp,
src/dialogs/xml-tree.cpp, src/ui/dialog/align-and-distribute.cpp,
src/ui/widget/labelled.cpp, src/widgets/button.cpp,
src/widgets/button.h, src/widgets/desktop-widget.cpp,
src/widgets/gradient-toolbar.cpp, src/widgets/icon.cpp,
src/widgets/icon.h, src/widgets/layer-selector.cpp,
src/widgets/paint-selector.cpp, src/widgets/select-toolbar.cpp,
src/widgets/toolbox.cpp, src/widgets/toolbox.h, src/icon-size.h:
Decoupling from direct use of GtkIconSize to allow for smaller
custom ones.
2006-04-06 Jon A. Cruz <jon@joncruz.org>
* src/Makefile_insert, src/Makefile.am, src/color-profile.cpp
src/color-profile.h, src/color-profile-fns.h,
src/color-profile-test.h, src/sp-image.cpp:
Adding rendering-intent to <color-profile>.
2006-04-05 MenTaLguY <mental@rydia.net>
* configure.ac, share/keyboards/.cvsignore, share/keyboards/Makefile.am,
share/keyboards/README, share/keys/.cvsignore, share/keys/Makefile.am,
share/keys/Makefile.in, share/Makefile.am:
share/keyboards -> share/keys
* share/keys/Makefile.am, share/keys/default.xml, src/Makefile_insert,
src/shortcuts.cpp, src/shortcuts-default-xml.cpp:
first shot at configurable keymaps
2006-04-05 MenTaLguY <mental@rydia.net>
* src/io/Makefile_insert, src/io/resource.cpp, src/io/resource.h:
introduce uniform resource path API to replace copy-and-pasted hacks
2006-04-05 Jon A. Cruz <jon@joncruz.org>
* src/svg/svg-color-test.h, src/svg/svg-color.cpp:
Tuned icc-color() parsing.
2006-04-02 Jon A. Cruz <jon@joncruz.org>
* src/color-profile.h, src/color-profile.cpp,
src/color-profile-fns.h, src/sp-image.h, src/sp-image.cpp:
Initial support of color-profile on <image> elements.
2006-04-02 Jon A. Cruz <jon@joncruz.org>
* src/color-profile.h, src/color-profile.cpp,
src/color-profile-fns.h, src/Makefile_insert, src/attributes.cpp,
src/attributes.h, src/sp-object-repr.cpp:
Adding support for <color-profile> element.
2006-04-02 Jon A. Cruz <jon@joncruz.org>
* src/knot.h: Fixed warning messages.
2006-04-01 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/selected-style.cpp:
Safety check for null pointer.
2006-04-01 Jon A. Cruz <jon@joncruz.org>
* configure.ac, src/interface.cpp, src/dialogs/swatches.cpp:
Introducing optional LittleCms use.
2006-03-31 MenTaLguY <mental@rydia.net>
* src/dyna-draw-context.cpp, src/dyna-draw-context.cpp:
merge ::dragging and ::dynahand
2006-03-31 MenTaLguY <mental@rydia.net>
* src/dyna-draw-context.h: add documentation
2006-03-29 Andrius R. <knutux@gmail.com>
* src/enums.h, src/selection-chemistry.cpp,
src/selection.h, src/selection.cpp,
src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/inkscape-preferences.h:
patch #1450307 - option for select all to work in layer with it's sub-layers
2006-03-29 Andrius R. <knutux@gmail.com>
* po/lt.po: Translated and added new language - Lithuanian.
2006-03-28 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/dialogs/swatches.cpp:
Fixing name of temporary non-standard tag attributes.
2006-03-28 MenTaLguY <mental@rydia.net>
* src/layer-manager.cpp, src/layer-manager.h: draft of layer manager
2006-03-28 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/dialogs/eek-color-def.h,
src/dialogs/eek-preview.h, src/dialogs/eek-preview.cpp,
src/dialogs/swatches.h, src/dialogs/swatches.cpp:
Changed objects to only get liked to "linkable" colors.
2006-03-28 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/dialogs/swatches.cpp:
Objects now change when linked colors change.
2006-03-28 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/eek-color-def.h, src/dialogs/eek-color-def.cpp,
src/dialogs/eek-preview.h, src/dialogs/eek-preview.cpp,
src/dialogs/swatches.h, src/dialogs/swatches.cpp:
Experimenting with linked colors.
2006-03-26 Aaron C. Spike <aaron@ekips.org>
* inkscape.pod, src/main.cpp:
Added --export-area-canvas (-C). Area specifying options
(--export-area, --export-area-canvas and --export-area-drawing)
can now be used in combination with --export-id.
2006-03-23 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/eek-color-def.cpp, src/dialogs/eek-color-def.h,
src/dialogs/Makefile_insert, src/dialogs/swatches.h,
src/dialogs/swatches.cpp:
Bringing in new color class.
2006-03-23 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/macosx/Resources/bin/inkscape: Fix a packaging
problem on Mac OSX where Inkscape wouldn't open if one of the
parent directories containing the app bundle contained a '#' in
its name. Fixes bug #1443072.
2006-03-15 Michael Wybrow <mjwybrow@users.sourceforge.net>
* share/icons/Makefile.am: Update a makefile after the icon file
renaming.
2005-03-14 MenTaLguY <mental@rydia.net>
* src/layer-fns.h, src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h, src/layer-fns.cpp:
merged patch #1447043 from Andrius "knutux" R. to create sub-layers
2006-03-14 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/display/nr-arena-item.cpp,
src/display/nr-arena-item.cpp, src/gc-finalized.h, src/gc-managed.h,
src/gc-soft-ptr.h, src/selection.h, src/selection.cpp:
Replace GC::Managed<>::clearOnceInaccessible with GC::soft_ptr<>
2006-03-14 MenTaLguY <mental@rydia.net>
* src/debug/event.h, src/debug/gc-heap.h, src/debug/heap.h,
src/debug/logger.cpp, src/debug/simple-event.h,
src/debug/sysv-heap.h, src/jabber_whiteboard/deserializer.cpp,
src/jabber_whiteboard/message-utilities.cpp,
src/jabber_whiteboard/message-utilities.h,
src/jabber_whiteboard/node-tracker-observer.h,
src/jabber_whiteboard/serializer.cpp,
src/jabber_whiteboard/serializer.h,
src/sp-object.cpp, src/util/share.cpp, src/util/share.h,
src/xml/attribute-record.h, src/xml/comment-node.h,
src/xml/composite-node-observer.cpp, src/xml/composite-node-observer.h,
src/xml/event.cpp, src/xml/event.h, src/xml/log-builder.cpp,
src/xml/log-builder.h, src/xml/node-observer.h, src/xml/repr-io.cpp,
src/xml/simple-node.cpp, src/xml/simple-node.h,
src/xml/simple-session.cpp, src/xml/simple-session.h,
src/xml/text-node.h:
shared_ptr -> ptr_shared
2006-03-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/svg/svg-color.cpp (sp_svg_write_color): More readable colour
names when possible: e.g. `red', `#cfc'.
2006-03-10 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp:
Shift-drop now sets stroke on target objects.
2006-03-11 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: experiment to verify that we can safely release
before removing object from document tree
2006-03-10 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp:
Changed color dragging to have a color preview.
2006-03-09 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp:
Initial cut of color drag-n-drop to items on canvas.
2006-03-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/path-chemistry.cpp (sp_selected_path_reverse):
Fix when multiple paths are selected.
Also fix a small memory leak.
2006-03-06 MenTaLguY <mental@rydia.net>
* src/document-subset.h, src/document-subset.cpp:
add DocumentSubset::_clear
2006-03-05 MenTaLguY <mental@rydia.net>
* src/document-subset.h, src/document-subset.cpp:
remove unneeded document parameter from constructor
2006-03-05 MenTaLguY <mental@rydia.net>
* src/document-subset.cpp:
Wire up new SPObject signal to DocumentSubset, so order changes
will be reflected in the subset.
2006-03-05 MenTaLguY <mental@rydia.net>
* src/sp-object.h, src/sp-object.cpp:
Add signal for notification of object position changes.
2006-03-05 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/document-subset.cpp, src/document-subset.h:
Add DocumentSubset as groundwork for layers.
2006-03-04 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/selected-style.h, src/ui/widget/selected-style.cpp:
Style minibar now only accepts color drag-n-drop when not N/A.
Final tweak for completing RFE #1429027.
2006-02-28 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/selected-style.h, src/ui/widget/selected-style.cpp:
Made the style minibar a target for color drag-n-drop.
2006-03-01 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/conn-avoid-ref.cpp, src/libavoid/connector.h,
src/libavoid/shape.cpp, src/libavoid/graph.cpp, src/libavoid/shape.h,
src/libavoid/graph.h, src/libavoid/router.cpp, src/libavoid/router.h,
src/libavoid/connector.cpp, src/libavoid/debug.h:
Some speed improvements and interface cleanups to libavoid.
2006-02-28 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp:
Fixed drag-n-drop out of color to match GTK+ standard.
2006-02-27 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp, src/ui/previewfillable.h,
src/ui/previewholder.h, src/ui/previewholder.cpp:
Finished cleanup of embedded swatches when switching palettes.
2006-02-26 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp, src/ui/previewholder.h,
src/ui/previewholder.cpp:
Changing embedded swatches resizing.
2006-02-26 Jon A. Cruz <jon@joncruz.org>
* src/text-context.cpp:
Allow Private Use Area characters. Fixes bug #1439016.
2006-02-18 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp, src/dialogs/iconpreview.cpp,
src/ui/widget/panel.cpp, src/ui/widget/panel.h:
Refactoring panel containment. Purged ugly 'X'.
2006-02-18 Jon A. Cruz <jon@joncruz.org>
* src/widgets/desktop-widget.cpp, src/dialogs/swatches.cpp,
src/dialogs/swatches.h, src/ui/widget/panel.cpp,
src/ui/widget/panel.h, src/ui/previewholder.cpp,
src/ui/previewholder.h:
Adding spacer to get swatches scrollbar enough room to move.
Tuning up API for better embedding.
2006-02-18 Jon A. Cruz <jon@joncruz.org>
* src/widgets/desktop-widget.cpp, src/dialogs/swatches.cpp,
src/dialogs/swatches.h, src/ui/previewholder.cpp,
src/ui/previewfillable.h, src/ui/previewholder.h:
Removed horizontal scroll bar from swatches when embedded.
2006-02-15 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/document.cpp, src/document.h, src/sp-conn-end-pair.cpp,
src/connector-context.cpp, src/conn-avoid-ref.cpp:
Keep a seperate connector router for each document.
* src/libavoid/Makefile_insert, src/libavoid/connector.cpp,
src/libavoid/connector.h, src/libavoid/debug.h,
src/libavoid/geometry.cpp, src/libavoid/geometry.h,
src/libavoid/geomtypes.h, src/libavoid/graph.cpp,
src/libavoid/graph.h, src/libavoid/incremental.cpp,
src/libavoid/incremental.h, src/libavoid/libavoid.h,
src/libavoid/makepath.cpp, src/libavoid/makepath.h,
src/libavoid/polyutil.cpp, src/libavoid/polyutil.h,
src/libavoid/router.cpp, src/libavoid/router.h,
src/libavoid/shape.cpp, src/libavoid/shape.h,
src/libavoid/static.cpp, src/libavoid/static.h,
src/libavoid/timer.cpp, src/libavoid/timer.h,
src/libavoid/vertices.cpp, src/libavoid/vertices.h,
src/libavoid/visibility.cpp, src/libavoid/visibility.h:
Upstream changes to libavoid that allow multiple connector
router instances, as well a few other minor bugfixes.
2006-02-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/display/sp-canvas.cpp, display/sp-canvas.h, connector-context.cpp:
Revert a previous change that generated enter events for canvas items
other than the current one when mouse buttons were depressed. These
events are now only generated in the connector context, where they are
required.
2006-02-13 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.cpp,
src/conn-avoid-ref.h, src/libavoid/connector.cpp,
src/libavoid/connector.h:
Change the behaviour and naming of some connector querying code
after feedback from Tim Dwyer in implementing graph drawing
functionality.
2006-02-11 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end-pair.cpp, src/conn-avoid-ref.cpp:
Fix two bugs from my commit yesterday.
2006-02-10 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h,
src/conn-avoid-ref.cpp, src/conn-avoid-ref.h,
src/libavoid/connector.cpp, src/libavoid/connector.h,
src/libavoid/visibility.cpp:
Add some code to allow querying of items and connectors to find
out what is attached to them. This will allow graph layout
algorithms (currently being worked on by Tim Dwyer) to determine
a graph structure from the diagram.
2006-02-07 MenTaLguY <mental@rydia.net>
* src/widgets/icon.cpp: get rid of icon prerender time messages
2006-02-07 MenTaLguY <mental@rydia.net>
* src/debug/gc-heap.h, src/debug/logger.cpp, src/debug/sysv-heap.h,
src/jabber_whiteboard/deserializer.cpp, src/sp-object.cpp,
src/util/share.h, src/xml/simple-node.cpp:
share_static -> share_static_string
2006-02-07 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/jabber_whiteboard/message-utilities.h,
src/jabber_whiteboard/serializer.cpp,
src/jabber_whiteboard/deserializer.cpp,
src/jabber_whiteboard/message-utilities.cpp,
src/ui/dialog/whiteboard-connect.cpp:
Some fixes to allow the codebase to compile with Inkboard support
after the recent Util::shared_ptr<> and Dialog::present() changes.
2006-02-05 Marco Scholten <mscholtn@xs4all.nl>
* src/verbs.cpp: updated to make double clicking a tool button
open the new preferences dialog.
* src/ui/dialog/inkscape-preferences.cpp: updated to enable opening
the dialog on the correct page.
* src/ui/dialog/dialog.cpp: added virtual void present() so that
InkscapePreferences::present() will be called from
DialogManager::showDialog()
2006-02-05 MenTaLguY <mental@rydia.net>
* src/debug/event.h, src/debug/gc-heap.h, src/debug/heap.h,
src/debug/logger.cpp, src/debug/simple-event.h, src/debug/sysv-heap.h,
src/jabber_whiteboard/deserializer.cpp,
src/jabber_whiteboard/message-utilities.cpp,
src/jabber_whiteboard/message-utilities.h,
src/jabber_whiteboard/node-tracker-observer.h,
src/jabber_whiteboard/node-utilities.cpp,
src/jabber_whiteboard/serializer.cpp,
src/jabber_whiteboard/serializer.h,
src/sp-object.cpp, src/util/Makefile_insert, src/util/share.cpp,
src/util/shared-c-string-ptr.cpp, src/util/shared-c-string-ptr.h,
src/util/share.h, src/xml/attribute-record.h, src/xml/comment-node.h,
src/xml/composite-node-observer.cpp, src/xml/composite-node-observer.h,
src/xml/event.cpp, src/xml/event.h, src/xml/log-builder.cpp,
src/xml/log-builder.h, src/xml/node-observer.h, src/xml/repr.cpp,
src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h,
src/xml/simple-session.cpp, src/xml/simple-session.h,
src/xml/text-node.h:
replace Util::SharedCStringPtr with the nicer and more general
Util::shared_ptr<>
2006-02-03 Jon Phillips <jon@rejon.org>
* src/verbs.cpp: Added "..." to "Trace Bitmap" text. Yes, what a
simple and dumb thing to add for consistency.
2006-01-24 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libavoid/connector.cpp, src/libavoid/connector.h,
src/libavoid/shape.cpp, src/libavoid/graph.cpp,
src/libavoid/incremental.cpp, src/libavoid/incremental.h,
src/libavoid/static.cpp, src/libavoid/visibility.cpp,
src/libavoid/makepath.cpp:
Some minor upstream libavoid fixes.
2006-01-23 Carl Hetherington <inkscape@carlh.net>
* src/selection.cpp: fix a typo in one of my previous commits.
Closes #1401357.
* src/xml/repr-io.cpp: catch failures in fopen of XML files.
Closes #1374551.
2006-01-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/widgets/toolbox.cpp, src/widgets/desktop-widget.cpp,
src/conn-avoid-ref.cpp, src/conn-avoid-ref.h, src/sp-namedview.cpp,
src/sp-namedview.h, src/attributes.cpp, src/attributes.h,
src/attributes-test.cpp:
Added a "Spacing" control to the connector toolbar which allows
the user to adjust the amount of space left around avoided shapes
for the purpose of determining auto-routing connector paths.
2006-01-17 Marco Scholten <mscholtn@xs4all.nl>
* /src/ui/dialog/inkscape-preferences.cpp:
Added style swatches,
Changed Gtk::Requisition Gtk::Widget::size_request() to
void Gtk::Widget::size_request(const Requisition& requisition)
* /src/ui/dialog/preferences-widget.cpp & .h:
Added DialogPage::set_tip()
2006-01-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh, packaging/macosx/Resources/etc/fonts/fonts.conf:
Use a modified fonts.conf file for Mac OS X that includes the
standard user font directory ~/Library/Fonts.
2006-01-16 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/svg/Makefile_insert: Updated to reflect a previous header
file renaming.
2006-01-12 Marco Scholten <mscholtn@xs4all.nl>
* /src/ui/dialog/inkscape-preferences.cpp & .h:
Converted preferences dialog to gtkmm
* src/ui/widget/preferences-widget.cpp & .h:
New files.
* src/verbs.cpp: updated to start new dialog.
2006-01-11 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-item-group.cpp, src/sp-path.cpp, src/sp-star.cpp,
src/extension/internal/svg.cpp, src/ui/widget/ruler.cpp:
Fix some compilation problems on Mac OS X after recent
includes cleanup.
2006-01-05 Jon A. Cruz <jon@joncruz.org>
* src/widgets/desktop-widget.cpp:
Corrected resize behavior of canvas/swatches split.
2006-01-06 Mathieu Dimanche <mdimanche@free.fr>
* src/util/units.cpp: forcin 'C' locale for reading units.txt file
Fixes bug #1391348.
2006-01-05 MenTaLguY <mental@rydia.net>
* src/libnr/nr-maybe.h: fix constness/local reference issues
2006-01-04 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/shortcuts-default-xml.cpp,
src/shortcuts.cpp, src/shortcuts.xml:
Moved default shortcuts XML file into a string constant (for now);
replaced hard-coded structure with code to read XML file.
2006-01-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/internal/ps.cpp (setup): Clarify the meaning of
`Print destination', mentioning the new possibility of leaving
as empty.
* (PrintPS::begin) If print destination is an empty string, then
don't pass `-P %s' to lpr: just let lpr use its default.
* (PrintPS::init) Change default print destination from `lp' to empty
string.
2006-01-04 Jon A. Cruz <jon@joncruz.org>
* src/widgets/desktop-widget.cpp:
Adding split pane for swatches.
2006-01-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libavoid/visibility.cpp: Add operator!= for the EdgePair class.
This is needed to compile on Tru64 UNIX. Fixes bug #1386755.
2005-12-30 Josh Andler <scislac@users.sf.net>
* src/ui/widget/selected-style.cpp, src/ui/widget/selected-style.h
Added "invert" function to right-click menu of style selector.
2005-12-22 Jon A. Cruz <jon@joncruz.org>
* share/palettes/Tango-Palette.gpl:
Updated to newer version from the Tango project.
2005-12-21 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/preferences-skeleton.h,
src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp:
Adding panels/swatches to main UI.
2005-12-23 Tim Dwyer <tdwyer@mail.csse.monash.edu.au>
* src/removeoverlap/*.{cpp,h}: Bug fix in removeoverlap algorithm that
should finally get timestamps working properly. Specifically, heap
timestamps are now refreshed before a merge.
2005-12-19 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end.cpp, src/connector-context.cpp: Have connectors
draw to the correct position on shape bounding boxes. Previously
the point where connectors were drawn was on straight line between
the two endpoints. These points now lie on the line between the
second last point on the polyline and the center of the shape.
* src/display/curve.cpp, src/display/curve.hpp: Added a couple of
functions that return the second and second-last points in a curve.
* src/removeoverlap/generate-constraints.cpp: Moved the
#include "isnan.h" to be the final include. This fixes a
compilation error on OS X.
2005-12-16 Carl Hetherington <inkscape@carlh.net>
* src/conn-avoid-ref.cpp, sp-conn-end-pair.cpp, sp-conn-end.cpp,
sp-item.cpp, sp-shape.cpp, dialogs/clonetiler.cpp,
dialogs/stroke-style.cpp, dialogs/tiledialog.cpp,
dialogs/unclump.cpp, display/nr-arena-shape.cpp,
display/nr-arena-shape.h, widgets/icon.cpp: more NRRect removal.
* src/desktop.cpp, src/desktop.h, src/dyna-draw-context.cpp,
src/selection-chemistry.cpp, src/sp-namedview.cpp, src/verbs.cpp,
src/display/sp-canvas.cpp, src/display/sp-canvas.h,
src/ui/view/edit-widget.cpp, src/ui/widget/zoom-status.cpp,
src/widgets/desktop-widget.cpp: more NRRect removals and cleanups.
* src/grid-snapper.cpp: snap only to visible grid lines (patch
from mtou).
2005-12-15 Carl Hetherington <inkscape@carlh.net>
* src/conn-avoid-ref.cpp, src/gradient-chemistry.cpp,
src/sp-conn-end.cpp, src/sp-item.{cpp,h}: NR::Rect version of
sp_item_invoke_bbox (SPItem::invokeBbox). Use it in some places.
2005-12-14 Carl Hetherington <inkscape@carlh.net>
* src/dyna-draw-context.cpp, src/gradient-context.cpp,
src/selection.h, src/sp-flowtext.cpp, src/sp-item.cpp,
src/sp-item.h, src/sp-shape.cpp, src/sp-text.cpp,
src/dialogs/layer-properties.cpp,
src/extension/internal/bluredge.cpp,
src/extension/internal/grid.cpp, src/ui/dialog/transformation.cpp,
src/widgets/desktop-widget.cpp: remove NRMatrix version of
sp_item_i2d_affine(). Some include file adjustments.
* src/arc-context.cpp: some very minor cleanups.
* src/svg/svg-length.{cpp,h}, src/helper/units.cpp: use INCH
rather than IN to avoid breaking the compile on some systems.
2005-12-13 Carl Hetherington <inkscape@carlh.net>
* src/arc-context.cpp, src/connector-context.cpp,
src/context-fns.cpp, src/desktop-affine.cpp, src/desktop-affine.h,
src/desktop-events.cpp, src/desktop.cpp, src/desktop.h,
src/draw-anchor.cpp src/dropper-context.cpp,
src/dyna-draw-context.cpp, src/event-context.cpp
src/gradient-context.cpp, src/knot.cpp, src/node-context.cpp,
src/object-snapper.cpp src/pen-context.cpp,
src/pencil-context.cpp, src/rect-context.cpp
src/select-context.cpp, src/selection-chemistry.cpp,
src/sp-item.cpp, src/sp-item.h src/spiral-context.cpp,
src/star-context.cpp, src/text-context.cpp src/zoom-context.cpp,
src/ui/widget/ruler.cpp: make desktop's transforms private
members.
* src/document.cpp, src/object-edit.cpp, src/sp-ellipse.cpp,
src/sp-ellipse.h, src/sp-gradient.cpp, src/sp-image.cpp,
src/sp-image.h, src/sp-line.cpp, src/sp-line.h,
src/sp-linear-gradient.h, src/sp-marker.cpp, src/sp-marker.h,
src/sp-pattern.cpp, src/sp-pattern.h, src/sp-radial-gradient.h,
src/sp-rect.cpp, src/sp-rect.h, src/sp-root.cpp, src/sp-root.h,
src/sp-star.cpp, src/sp-symbol.h, src/sp-text.cpp,
src/sp-textpath.h, src/sp-tspan.cpp, src/sp-use.cpp, src/sp-use.h,
src/text-tag-attributes.h, src/helper/units.cpp,
src/helper/units.h, src/libnrtype/Layout-TNG-Compute.cpp,
src/libnrtype/Layout-TNG-Input.cpp,
src/libnrtype/Layout-TNG-OutIter.cpp,
src/libnrtype/Layout-TNG-Output.cpp, src/libnrtype/Layout-TNG.h,
src/libnrtype/TextWrapper.cpp, src/svg/svg-length.cpp,
src/svg/svg.h: partial C++-ificiation of SPSVGLength. Rename it
to SVGLength.
2005-12-13 Mathieu Dimanche <mdimanche@free.fr>
* src/snapped-point.{cpp,h} : new files.
* src/Makefile_insert : Added the new files
* src/arc-context.cpp, src/connector-context.cpp,
src/context-fns.cpp, src/draw-context.cpp, src/nodepath.cpp,
src/object-edit.cpp, src/pencil-context.cpp,
src/selection-chemistry.cpp, src/seltrans.cpp, src/snap.cpp,
src/spiral-context.cpp, src/star-context.cpp,
src/line-snapper.cpp, src/line-snapper.h, src/object-snapper.cpp,
src/object-snapper.h src/snapper.cpp, src/snapper.h,
src/event-context.cpp, src/rect-context.cpp,
src/select-context.cpp : Use SnappedPoint class
* src/color-rgba.h : Added rgba32 unsigned int handling and
"inverse" members (NEED TO BE TESTED)
2005-12-12 MenTaLguY <mental@rydia.net>
* src/widgets/desktop-widget.cpp: moved some widgets into statusbar
widget for more aesthetic appearance
2005-12-12 Carl Hetherington <inkscape@carlh.net>
* src/arc-context.cpp: minor cleanups. Use SnapManager more. Use
Inkscape::setup_for_drag_start.
* src/connector-context.cpp, src/draw-context.cpp,
src/object-edit.cpp, src/pencil-context.cpp, src/rect-context.cpp,
src/spiral-context.cpp, src/star-context.cpp: use SnapManager.
* src/rect-context.cpp, src/spiral-context.cpp,
src/star-context.cpp: use Inkscape::setup_for_drag_start().
* src/snapper.{cpp,h}: simplify snap point types code.
* src/context-fns.{cpp,h}: add setup_for_drag_start().
* src/dyna-draw-context.cpp: remove unused and erroneous snapping code.
* src/pen-context.cpp: remove unused variable.
* src/draw-context.cpp: use SnapManager.
* src/nodepath.cpp: const fixes. Use SnapManager.
* src/selection-chemistry.cpp, src/seltrans.cpp: some cleanups.
Use new snap API.
* src/snap.{cpp,h}: remove some dead code.
* src/sp-item.{cpp,h}, src/node-context.cpp, src/draw-context.cpp:
remove an unnecessary parameter from sp_item_dt2i_affine().
2005-12-09 Carl Hetherington <inkscape@carlh.net>
* src/object-snapper.cpp: make node snapping work again.
* src/star-context.cpp: use SnapManager. Some other minor cleanups.
* src/arc-context.cpp, src/connector-context.cpp,
src/dyna-draw-context.cpp, src/pen-context.cpp,
src/pencil-context.cpp, src/rect-context.cpp,
src/selection-chemistry.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/text-context.cpp: use
Inkscape::have_viable_layer.
* src/context-fns.{cpp,h}: new files.
* src/arc-context.cpp, src/context-fns.{cpp,h},
src/rect-context.cpp: abstract common code into context-fns and
clean it up a bit.
2005-12-08 Carl Hetherington <inkscape@carlh.net>
* src/grid-snapper.cpp, src/guide-snapper.cpp, src/line-snapper.h:
coding style. Change how lines are defined.
* src/grid-snapper.h, src/guide-snapper.h: coding style.
* src/line-snapper.cpp, src/object-snapper.{cpp,h}: Coding style.
Various cleanups. Small API changes.
* src/snap.cpp: changes to Snapper API. Added work-in-progress SnapManager.
* src/snapper.{cpp,h}: API cleanups.
* src/sp-namedview.{cpp,h}: added getSnappers().
* src/seltrans.cpp: Cleanup and fix moveTo(). Go back to snapping
to snap points rather than the convex hull, at least for a bit.
2005-12-07 Carl Hetherington <inkscape@carlh.net>
* src/libnr/nr-convex-hull.h: remove unnecessary includes.
* src/line-snapper.{cpp,h}, src/object-snapper.{cpp,h},
src/attributes.{cpp,h}, src/desktop.cpp, src/dyna-draw-context.cpp
src/arc-context.cpp, src/grid-snapper.h, src/nodepath.cpp,
src/rect-context.cpp, src/selection-chemistry.cpp,
src/seltrans.cpp, src/snap.{cpp,h}, src/snapper.{cpp,h},
src/sp-namedview.{cpp,h}, src/spiral-context.cpp,
src/star-context.cpp, src/dialogs/desktop-properties.{cpp,h},
src/Makefile_insert: first cut of object snapping.
* src/grid-snapper.cpp, src/guide-snapper.{cpp,h}: use Inkscape namespace.
2005-12-06 Carl Hetherington <inkscape@carlh.net>
* src/libnr/nr-maybe.h: add missing public: to class IsNot.
* src/splivarot.{cpp,h}: declare some more functions. Fix
get_nearest_position_on_Path to not crash if you call it with an
Item that isn't Shape or Text.
* src/node-context.cpp: adapt for changes in splivarot.{cpp,h}.
* src/nodepath.cpp: remove declaration of a function now declared
in splivarot.h.
2005-12-05 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp, src/tools-switch.cpp,
src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp:
re-jig #includes slightly.
* src/seltrans.{cpp,h}, src/selcue.{cpp,h}: C++-ification and cleanup.
* src/select-context.{cpp,h}, src/seltrans-handles.h: adapt for
changes to SelTrans.
* src/event-context.{cpp,h}: adapt for changes to SelCue.
* src/rect-context.cpp, src/gradient-context.cpp: remove unnecessary include.
* src/connector-context.h, src/draw-context.h: add a forward
declaration.
* src/dropper-context.{cpp,h}: remove an unused variable and its
associated includes.
* src/main.cpp: fix comment for renamed SPSelCue.
* src/dialogs/display-settings.cpp: adapt for slightly re-jigged SelCue.
2005-12-04 Ted Gould <ted@gould.cx>
* po/POTFILES.in:
Adding the .inx files as [type: gettext/xml] so that they will get
translated. Good stuff.
* share/extensions/addnodes.inx, share/extensions/ai_input.inx,
share/extensions/ai_output.inx, share/extensions/bluredge.inx,
share/extensions/dia.inx, share/extensions/dots.inx,
share/extensions/dropshadow.inx, share/extensions/dxf_input.inx,
share/extensions/dxf_output.inx, share/extensions/embedimage.inx,
share/extensions/eps_input.inx, share/extensions/epsi_output.inx,
share/extensions/ffmet.inx, share/extensions/ffms.inx,
share/extensions/ffset.inx, share/extensions/ffss.inx,
share/extensions/gimpgrad.inx, share/extensions/grid.inx,
share/extensions/handles.inx, share/extensions/interp.inx,
share/extensions/kochify.inx, share/extensions/kochify_load.inx,
share/extensions/lindenmayer.inx, share/extensions/motion.inx,
share/extensions/pdf_output.inx, share/extensions/ps_input.inx,
share/extensions/radiusrand.inx, share/extensions/randompnt.inx,
share/extensions/randompos.inx, share/extensions/rtree.inx,
share/extensions/sk_input.inx, share/extensions/straightseg.inx,
share/extensions/summersnight.inx, share/extensions/svgz_input.inx,
share/extensions/svgz_output.inx, share/extensions/txt2svg.inx,
share/extensions/wavy.inx, share/extensions/whirl.inx,
share/extensions/wmf_input.inx:
Marking the user visible strings as translatable.
* src/extension/dependency.cpp, src/extension/extension.cpp,
src/extension/init.cpp, src/extension/input.cpp, src/extension/output.cpp,
src/extension/parameter.cpp:
Changed to handle translated .inx files. They will find the data, and
mark the right strings as translated.
* src/extension/effect.cpp, src/extension/effect.h, src/interface.cpp:
Changed menu handling to be push instead of pull
2005-12-02 Carl Hetherington <inkscape@carlh.net>
* src/dropper-context.cpp: coding style.
* src/sp-namedview.cpp, src/sp-namedview.h, src/desktop.cpp: some
C++-ification of SPNamedView.
2005-12-01 MenTaLguY <mental@rydia.net>
* src/widgets/desktop-widget.cpp: shuffle status bar around again;
add a grippie so we don't have to care about the corner of the window
getting covered up
2005-12-01 MenTaLguY <mental@rydia.net>
* src/widgets/icon.cpp: refactored a bit around the icon prerendering
code and added a timer; also kick off the task immediately rather
than waiting for the first expose event
2005-12-01 MenTaLguY <mental@rydia.net>
* src/widgets/desktop-widget.cpp:
moved zoom selector away from the right edge so it won't get covered
by window manager decorations
2005-12-01 MenTaLguY <mental@rydia.net>
* src/help.cpp, src/ui/dialog/aboutbox.h, src/ui/dialog/aboutbox.cpp:
Moved creation of the splash widget into the about dialog code,
and tweaked the appearance of the dialog in a lot of subtle ways
-- we now use an AspectFrame to constrain the aspect ratio of the
splash view, and also finally get the correct initial size for the
dialog while still allowing it to be arbitrarily resized.
2005-12-01 Carl Hetherington <inkscape@carlh.net>
* src/sp-namedview.cpp: coding style.
2005-12-01 Jon A. Cruz <jon@joncruz.org>
* src/widgets/icon.cpp: added idle calback pre-render.
2005-11-30 MenTaLguY <mental@rydia.net>
* src/ui/dialog/aboutbox.cpp: make 'close' button default widget,
and rename "About" tab to "_Splash"
2005-11-30 Carl Hetherington <inkscape@carlh.net>
* src/svg/svg-path.cpp: add missing #include of assert.h for
assert()
* src/dialogs/xml-tree.cpp: fix uninitialised variable
warnings, move some declarations to first use, coding style fixes.
* src/snap.cpp, src/snap.h, src/sp-namedview.cpp: split
snap.{cpp,h} up into snapper.{cpp,h}, grid-snapper.{cpp,h},
guide-snapper.{cpp,h}. Refactor and simplify. Add another
namedview_free_snap().
* src/geom.cpp, src/geom.h: cosmetic renaming.
* src/pen-context.cpp: a few minor cleanups to
pen_handle_button_press(). Other snapping cleanups.
* src/draw-context.cpp, src/draw-context.h: split
spdc_endpoint_snap_internal() into two functions.
* src/pencil-context.cpp: snapping cleanups.
* src/ui/widget/unit-menu.cpp: remove definition of a variable
that's just been made static.
2005-11-26 MenTaLguY <mental@rydia.net>
* src/ui/dialog/aboutbox.cpp, src/ui/dialog/aboutbox.h:
clean up and simplify About dialog; fix memory management (mostly)
2005-11-25 Robert Crosbie <swingincelt@gmail.com>
* replaced sp_repr_ref with direct cal to Inkscape::GC::anchor
* replaced sp_repr_unref with direct call to Inkscape::GC::release
* replaced sp_repr_set_attr with direct call to repr->setAttribute
2005-11-24 MenTaLguY <mental@rydia.net>
* src/shortcuts.cpp, src/interface.cpp: prune back shortcuts API in
preparation for configurable key bindings work
2005-11-24 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: remedy erroneous initialization of doubles with NULL
2005-11-24 MenTaLguY <mental@rydia.net>
* src/seltrans.cpp: prune dead wood (sp_sel_trans_handle_click)
2005-11-24 MenTaLguY <mental@rydia.net>
* src/display/canvas-arena.cpp, src/display/canvas-bpath.cpp,
src/display/canvas-grid.cpp, src/display/guideline.cpp,
src/display/sodipodi-ctrl.cpp, src/display/sodipodi-ctrlrect.cpp,
src/display/sp-canvas-util.cpp, src/display/sp-canvas-util.h,
src/display/sp-ctrlline.cpp, src/display/sp-ctrlquadr.cpp:
cosmetic renaming
2005-11-23 Robert Crosbie <swingincelt@gmail.com>
* replaced sp_repr_change_order with direct cal to repr->changeOrder
* replaced sp_repr_add_child with direct call to repr->addChild
* replaced sp_repr_remove_child with direct call to repr->removeChild
2005-11-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/ui/dialog/align-and-distribute.h, src/ui/dialog/align-and-distribute.cpp:
Add new action ActionRemoveOverlaps, and add new button & two spin buttons
to the Align & Distribute dialog box, to remove overlaps between objects.
* configure.ac: New directory src/removeoverlap.
* src/Makefile.am: Build new library removeoverlap/libremoveoverlap.a.
* src/Makefile_insert: Link against new library removeoverlap/libremoveoverlap.a.
2005-11-23 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh, packaging/macosx/Resources/bin/inkscape:
Include some missing modules required by gnome-vfs and set shell
variables to point to these modules within the OS X app bundle.
Fixes bug #1363390.
2005-11-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh: Fix a typo resulting from last change.
2005-11-18 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh: Add libXinerama.1.dylib to the app bundle
since users of OS X 10.3.x will not have this file.
2005-11-12 Jon Phillips <jon@rejon.org>
* po/it.po po/sr.po po/sr@Latn.po: Fixed these po files so that
Inkscape builds okay.
2005-11-12 Ralf Stephan <ralf@ark.in-berlin.de>
* src/ui/view/edit-widget.h, src/ui/view/edit-widget.cpp:
new-gui: made complete statusbar widget, equals old-gui now
* src/widgets/layer-selector.h, src/ui/widget/selected-style.h:
classes have now a constructor with default parameter
* src/ui/widget/zoom-status.cpp: smaller font
2005-11-12 MenTaLguY <mental@rydia.net>
* src/display/canvas-arena.cpp, src/display/canvas-bpath.cpp,
src/display/canvas-grid.cpp, src/display/guideline.cpp,
src/display/sodipodi-ctrl.cpp, src/display/sodipodi-ctrlrect.cpp,
src/display/sp-canvas-util.cpp, src/display/sp-canvas-util.h,
src/display/sp-canvas.cpp, src/display/sp-canvas.h,
src/display/sp-ctrlline.cpp, src/display/sp-ctrlquadr.cpp:
Refactor canvas buffer code a little. Hint: if you have two flags
and an invariant that one will be false if the other is true and
vice-versa, you can represent them with a single flag. Fixed
cut-and-paste madness between sp_canvas_buf_ensure_buf and
sp_canvas_clear_buf also. Finally, renamed sp_canvas_buf_ensure_buf
to sp_canvas_prepare_buf.
2005-11-09 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-item.cpp: Call updateRepr before emitting the transformed
signal in sp_item_write_transform. This fixes bug #1303423.
* packaging/osx-app.sh: Fixes to allow building app bundles on both
OS X 10.4 and earlier versions of the OS without altering the script.
Also, add a note that Inkscape needs to be configured with
--enable-osxapp when building the OS X package.
* po/nl.po: Fix an "Unmatched closing </b>" warning.
2005-11-08 Ralf Stephan <ralf@ark.in-berlin.de>
merged with branch CXXIFICATION_VIEW_AND_WIDGET
* src/arc-context.cpp, src/dyna-draw-context.cpp, src/event-context.cpp,
src/file.cpp, gradient-context.cpp, src/inkscape.cpp, src/interface.cpp,
src/rect-context.cpp, src/select-context.cpp, src/seltrans.cpp,
src/sp-namedview.cpp, src/spiral-context.cpp, src/star-context.cpp,
src/verbs.cpp, dialogs/dialog-events.cpp, src/dialogs/layer-properties.cpp,
src/ui/dialog/dialog.cpp, src/widgets/desktop-widget.cpp,
src/widgets/desktop-widget.h:
move gtk code into desktop-widget.cpp, called via desktop
* src/ui/view/Makefile_insert: added files edit-widget-interface.h,
edit-widget.cpp, edit-widget.h
the EditWidget is the Gtkmm version of the SPDesktopWidget
* src/ui/widget/Makefile_insert: added files ruler.cpp, ruler.h,
svg-canvas.cpp, svg-canvas.h, zoom-status.cpp, zoom-status.h
these are widgets part of the EditWidget
* src/file.cpp, src/inkscape.cpp, src/ui/dialog/dialog.cpp,
src/ui/dialog/dialog.h, src/application/application.h,
src/application/application.cpp:
divide code /wrt Application::getNewGui(): if true, it's called by the
Gtkmm application and the inkscape object is meaningless
* src/application/app-prototype.h:
replace UI specific return value of getWindow() with void*
* src/application/editor.cpp, src/application/editor.h:
made Editor a singleton, collect global UI code here that (for Gtk+)
lives in inkscape.cpp and elsewhere
* src/desktop-events.cpp, src/desktop.cpp, src/event-context.cpp,
src/nodepath.cpp, src/seltrans.cpp:
simplify calls to desktop->set_coordinate_status
* src/desktop-handles.cpp, src/desktop-handles.h,
src/extension/internal/ps.cpp, src/widgets/gradient-toolbar.cpp,
src/widgets/toolbox.cpp:
widget is no longer available through desktop
* src/Makefile_insert: added files preferences.h preferences.cpp
src/inkscape.h, src/inkscape.cpp, src/application/editor.cpp:
move preferences handling into preferences.cpp/h
* src/desktop.cpp, src/desktop.h:
use EditWidgetInterface, more cosmetics
* src/desktop.cpp, src/inkview.cpp, src/slideshow.cpp, src/svg-view-widget.cpp,
src/svg-view.cpp, src/svg-view.h, src/ui/view/view.cpp, src/ui/view/view.h:
streamline setDoc()/setDocument() logic
* src/inkview.cpp: include empty func bodies to make linker happy
2005-11-08 ------------0.43
2005-11-06 Ted Gould <ted@gould.cx>
* 0.43pre2
2005-11-01 Jon A. Cruz <jon@joncruz.org>
* src/io/base64stream.h, src/io/base64stream.cpp:
Applied modified patch 1341198.
2005-10-31 Jon A. Cruz <jon@joncruz.org>
* src/verbs.cpp:
Applied patch from RFE 1247694.
2005-10-26 Jon A. Cruz <jon@joncruz.org>
* share/screens/about.svg:
Trimmed bad lines. Fixed bug 1310742.
2005-10-24 Ted Gould <ted@gould.cx>
* 0.43pre1
2005-10-22 Jon A. Cruz <jon@joncruz.org>
* Makefile.mingw, src/io/sys.cpp:
Patch 1334818.
2005-10-22 Jon A. Cruz <jon@joncruz.org>
* src/main.cpp, src/io/sys.cpp:
Updating Win32 parameter filename handling.
2005-10-22 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp: Correct two typos. Fixes bug #1333915.
2005-10-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp: Fix a bug where undoing creation of
new connectors revealed intermediate steps.
* src/libavoid/connector.cpp, src/libavoid/connector.h,
src/libavoid/makepath.cpp, src/libavoid/static.cpp:
Applied a couple of libavoid fixes. One of which addresses
a possible crash bug.
2005-10-19 Ted Gould <ted@gould.cx>
* 0.43pre0
2005-10-19 Jon A. Cruz <jon@joncruz.org>
* inkscape32-16.ico: patch 1323419
2005-10-17 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/conn-avoid-ref.cpp: Don't pass avoided objects to libavoid
if they have the 'cloned' flag set. Fixes bug #1328401.
2005-10-17 Jon A. Cruz <jon@joncruz.org>
* src/main.cpp, src/io/sys.h, src/io/sys.cpp:
Switched command-line name conversion from filename to locale.
Fixes bug #1250124.
2005-10-16 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end.cpp: Don't update the repr for the curve while
manually rerouting connector endpoints. This speeds up undo/redo
and allows responsive rerouting with the xml editor window open.
Fixes bug #1315489.
* po/ca.po: Fix unclosed <b> found in translations.
2005-10-15 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/isnan.h: Update to allow compilation on OSX 10.4.
* src/connector-context.cpp, src/connector-context.h,
src/tools-switch.cpp: Allow double-clicking on connectors
in the selector tool to swap to the connector tool.
2005-10-14 Jon A. Cruz <jon@joncruz.org>
* share/palettes/Makefile.am, share/palettes/Tango-Palette.gpl:
Adding the Tango palette.
2005-10-13 MenTaLguY <mental@rydia.net>
* share/screens/about.svg: New copy for about dialog; did some
vector clean-up and re-enabled the coffee stains.
2005-10-10 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h:
Reroute connector lines if the object itself is moved or
transformed. Previously a routed line would not unroute if it
was moved away from the blocking objects. Fixes bug #1303493.
2005-10-07 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/macosx/Resources/script, src/path-prefix.h:
Don't assume the OSX app bundle will be named "Inkscape.app".
This caused things like tool icons to disappear if the app
bundle was renamed, e.g., to "Inscape-0.42.2.app".
Fixes bug #1289648.
2005-10-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end-pair.cpp: Fix a bug where connectors could
sometimes be given strange routes if there was a transform on
either of the objects that the connector was attached to.
* src/conn-avoid-ref.cpp, src/sp-conn-end.cpp: Add a call to
sp_document_ensure_up_to_date before checking bounding boxes
in response to a transform signal. This is because some
objects (e.g., text) will not give the correct bbox until its
update function has been called and its internal representation
has been updated. This fixes bug #1303523.
* src/dialogs/display-settings.cpp, src/dialogs/display-settings.h:
Restore the Connector tool preferences tab. Use same ordering
for tools as on the toolbar. Add the standard selection cue
option to the connector tool preferences. Fixes bug #1303360.
2005-10-05 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh: Include locale files in the OSX package and
a couple of minor updates for building packages on OSX 10.4.x.
* packaging/macosx/Resources/bin/inkscape: Fix a problem in setting
LANG to the current OSX language before launching Inkscape.
With this fix, the Inkscape app bundle will obey the user's
language setting in the system preferences on OSX.
2005-09-30 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.*, src/widget/desktop-widget.cpp:
make empty destructor, fixes #1291009
2005-09-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* Info.plist.in: Associate .svgz files with Inkscape on OSX.
Fixes bug #1307083.
2005-09-27 MenTaLguY <mental@rydia.net>
* src/gc-anchored.h: emphasize initial refcount
* src/desktop.h, src/svg-view-widget.cpp, src/ui/view/view-widget.cpp,
src/ui/view/view.cpp, src/ui/view/view.h,
src/widgets/desktop-widget.cpp:
Move _whole_ UI::View::View hierarchy over to the garbage collector
and fix anchor imbalances; you can't do this piecemeal.
2005-09-23 Ben Fowler <bpfowler@users.sourceforge.net>
* autogen.sh: Cleanup error message.
2005-09-20 Carl Hetherington <inkscape@carlh.net>
* src/file.cpp, src/file.h, src/help.cpp: don't replace empty
desktops with help files / tutorials. Fixes 1249067.
2005-09-17 Ralf Stephan <ralf@ark.in-berlin.de>
* src/jabber_whiteboard/typedefs.h:
gcc4 needs more const correctness, fixes #1294298
2005-09-17 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.h, src/desktop.cpp, src/interface.cpp,
src/dialogs/layer-properties.cpp, src/ui/view/view.cpp,
src/widgets/desktop-widget.cpp:
correcting old and new oversights, fixes #1290982
2005-09-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr-util.cpp (sp_repr_set_double): Split into two
functions (sp_repr_set_svg_double, sp_repr_set_css_double)
according to whether or not an exponent is allowed. Update callers.
(sp_repr_set_double_default): Remove this unused function.
2005-09-15 Carl Hetherington <inkscape@carlh.net>
* src/object-edit.cpp: fix idiotic bug introduced in previous commit.
2005-09-14 Carl Hetherington <inkscape@carlh.net>
* src/knot.cpp, src/knotholder.cpp: coding style.
2005-09-13 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.h, src/desktop.cpp, src/svg-view.h, src/svg-view.cpp,
src/ui/view/view.h, src/ui/view/view.cpp, src/ui/view/edit.h:
View::setDocument() did not call same function in subclass
* src/widgets/select-toolbar.cpp: removed usage of SP_DT_WIDGET
* src/desktop.cpp: removed last sp_desktop_* function names
2005-09-13 Carl Hetherington <inkscape@carlh.net>
* src/object-edit.cpp: Add some comments. Minor refactoring.
Snap points when editing rectangles; partial fix for bug 1282399.
* packaging/win32/inkscape.nsi: Correct spelling of associations
and associated; fix for bug 1283916.
2005-09-12 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/iconpreview.cpp, src/dialogs/iconpreview.h,
src/widgets/icon.cpp:
Icon preview now toggles between selection or whole document.
Fixes REF #1281883.
2005-09-12 Ralf Stephan <ralf@ark.in-berlin.de>
* src/widgets/ruler.cpp: fixed precision problem (bug #1242995)
2005-09-12 Peter Moulder <pmoulder@bowman.csse.monash.edu.au>
* src/libnrtype/Layout-TNG-Compute.cpp (Calculator::_measureUnbrokenSpan):
Fix line breaking for [supposedly] non-breaking whitespace characters.
2005-09-11 Ralf Stephan <ralf@ark.in-berlin.de>
* po/nl.po: replaced all instances of "verkleint" with "verkleind"
(bug #1277695)
2005-09-10 Jon A. Cruz <jon@joncruz.org>
* src/preferences-skeleton.h, src/dialogs/iconpreview.cpp:
Made icon preview sizes configurable. Fixes REF #1281885.
2005-09-08 Carl Hetherington <inkscape@carlh.net>
* src/object-edit.cpp: Coding style in SPRect portion. Add
Emacs/vim mode blocks.
2005-09-08 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.cpp, src/ui/view/view.cpp:
removed placement new signal construction
* src/desktop.cpp: selection is no longer anchored
* src/desktop.cpp, src/desktop.h: further cleanup
* src/main.cpp: minor changes in doxygen main page
2005-09-08 MenTaLguY <mental@rydia.net>
* src/xml/document.h, src/xml/session.h, src/xml/simple-session.cpp,
src/xml/simple-session.h:
Add Session and Document createElementNode, createCommentNode,
and createTextNode methods
2005-09-06 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop-handles.h, src/desktop-handles.cpp:
added macros SP_DT_MSGSTACK/NAMEDVIEW/WIDGET, moved last
macros from desktop.h
* src/desktop.h src/desktop.cpp, src/sp-namedview.h,
src/sp-namedview.cpp:
moved default_metric and default_unit into namedview
* src/desktop.h src/desktop.cpp, src/widgets/desktop-widget.h,
src/widgets/desktop-widget.cpp:
moved window member into desktop widget
* src/dialogs/clonetiler.cpp, src/dialogs/color-picker.cpp,
src/dialogs/desktop-properties.cpp, src/dialogs/dialog-events.cpp ,
src/dialogs/display-settings.cpp, src/dialogs/export.cpp,
src/dialogs/stroke-style.cpp, src/dialogs/swatches.cpp,
src/dialogs/transformation.cpp, src/dropper-context.cpp,
src/extension/internal/ps.cpp, src/gradient-context.cpp,
src/jabber_whiteboard/callbacks.cpp,
src/jabber_whiteboard/chat-handler.cpp,
src/jabber_whiteboard/message-processors.cpp,
src/jabber_whiteboard/message-queue.cpp,
src/jabber_whiteboard/session-manager.cpp,
src/path-chemistry.cpp, src/satisfied-guide-cns.cpp,
src/sp-text.cpp, src/text-chemistry.cpp,
src/trace/potrace/inkscape-potrace.cpp,
src/trace/trace.cpp, src/ui/dialog/align-and-distribute.cpp:
removed dependency on desktop.h
* src/arc-context.cpp, src/desktop-events.cpp, src/inkscape.cpp,
src/interface.cpp, src/nodepath.cpp, src/rect-context.cpp,
src/select-context.cpp, src/seltrans.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/text-context.cpp, src/ui/dialog/dialog.cpp,
src/widgets/select-toolbar.cpp, src/widgets/toolbox.cpp:
minor adaptation due to the above changes
* src/ui/dialog/session-player.cpp: didn't #include config.h
2005-09-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
* doc/keys.html, doc/keys.xml, share/screens/keys.svg,
src/shortcuts.cpp:
Add keyboard shortcuts for the connector tool -- Ctrl+F2 and 'o'.
2005-09-05 Ralf Stephan <ralf@ark.in-berlin.de>
* src/document.cpp, src/draw-anchor.cpp, src/knotholder.cpp,
src/main.cpp, src/object-ui.cpp, src/selcue.cpp,
src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp,
src/sp-star.cpp, src/sp-symbol.cpp, src/sp-tspan.cpp,
src/dialogs/docker.cpp, src/dialogs/extensions.cpp,
src/dialogs/text-edit.cpp, src/dialogs/tiledialog.cpp,
src/extension/system.cpp, src/widgets/gradient-vector.cpp,
src/jabber_whiteboard/session-file-player.cpp,
src/widgets/paint-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/spw-utilities.cpp, src/extension/implementation/script.cpp,
src/ui/dialog/transformation.cpp, src/seltrans.h,
src/widgets/sp-widget.h:
removed dependency on desktop.h
* src/select-context.cpp, src/tools-switch.cpp,
src/dialogs/display-settings.cpp, src/dialogs/fill-style.cpp,
src/dialogs/object-properties.cpp, src/dialogs/clonetiler.cpp:
added dependencies because of above changes
2005-09-04 Kees Cook <kees@outflux.net>
* TRANSLATORS, Makefile.am, src/verbs.cpp, src/help.cpp,
src/ui/dialog/aboutbox.h, src/ui/dialog/aboutbox.cpp,
src/menus-skeleton.h, src/ui/dialog/Makefile_insert:
Implemented AboutDialog following the Gnome style.
* packaging/win32/inkscape.nsi: added quotes around execution name.
2005-09-04 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.cpp, src/dropper-context.cpp, src/forward.h,
src/interface.cpp, src/main.cpp, src/sp-anchor.cpp,
src/sp-text.cpp, src/splivarot.cpp, src/svg-view-widget.cpp,
src/svg-view-widget.h, src/svg-view.h, src/extension/effect.h,
src/extension/implementation/plugin-link.h,
src/jabber_whiteboard/session-manager.cpp,
src/ui/dialog/dialog.cpp, src/ui/view/edit.h,
src/ui/view/view-widget.cpp, src/ui/view/view-widget.h,
src/ui/view/view.cpp, src/ui/view/view.h:
minor edits to completely remove SPView identifier, and some
dependencies
2005-09-04 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end-pair.cpp: Fix a crash bug when undoing connectors
on Linux x86 where we were calling a signal destructor.
* src/io/sys.cpp: Build fix - conditionally include <glib/gstdio.h>
if using glib 2.6.0 or greater, since it is not available in earlier
versions.
2005-09-04 Ralf Stephan <ralf@ark.in-berlin.de>
* src/svg-view-widget.h, src/svg-view-widget.cpp, src/Makefile_insert:
separated SPSVGViewWidget from SPSVGView
* src/desktop.h, src/svg-view.h, src/ui/view/edit.h,
src/ui/view/view-widget.h, src/ui/view/view.h,
src/widgets/desktop-widget.h, src/desktop.cpp,
src/svg-view.cpp, src/ui/view/view-widget.cpp,
src/ui/view/view.cpp, src/widgets/desktop-widget.cpp:
moved SPDesktop from GObject to C++/sigc++
* src/forward.h:
removed SP_DESKTOP*, SP_SVG_VIEW* macros and dependencies
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
changed to sigc++ but disabled call
* src/desktop-events.cpp: removed desktop_enter_notify()
* src/sp-anchor.cpp: removed handling of mouse over/out
* src/helper/action.h, src/sp-use.cpp: added missing dependency
* src/arc-context.cpp, src/desktop-affine.cpp, src/desktop-events.cpp,
src/desktop-handles.cpp, src/dyna-draw-context.cpp,
src/event-context.cpp, src/file.cpp, src/gradient-context.cpp,
src/gradient-drag.cpp, src/help.cpp, src/inkscape.cpp,
src/inkview.cpp, src/interface.cpp, src/knot.cpp,
src/knotholder.cpp, src/node-context.cpp, src/nodepath.cpp,
src/object-ui.cpp, src/path-chemistry.cpp, src/rect-context.cpp,
src/rubberband.cpp, src/satisfied-guide-cns.cpp,
src/select-context.cpp, src/selection-chemistry.cpp,
src/seltrans.cpp, src/shortcuts.cpp, src/slideshow.cpp,
src/sp-anchor.cpp, src/sp-flowtext.cpp, src/sp-namedview.cpp,
src/sp-text.cpp, src/spiral-context.cpp, src/splivarot.cpp,
src/star-context.cpp, src/text-context.cpp, src/text-editing.cpp,
src/tools-switch.cpp, src/verbs.cpp, src/zoom-context.cpp,
src/dialogs/clonetiler.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/dialog-events.cpp, src/dialogs/export.cpp,
src/dialogs/filedialog.cpp, src/dialogs/iconpreview.cpp,
src/dialogs/layer-properties.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp,
src/extension/effect.cpp, src/extension/implementation/script.cpp,
src/extension/internal/grid.cpp, src/extension/internal/ps.cpp,
src/helper/window.cpp, src/ui/dialog/dialog.cpp,
src/ui/widget/imageicon.cpp, src/widgets/gradient-toolbar.cpp,
src/widgets/layer-selector.cpp, src/widgets/select-toolbar.cpp,
src/widgets/toolbox.cpp:
minor adaptations due to the above changes
* src/desktop-events.h: removed dependencies
* src/selection.cpp: improved doxygen documentation
2005-09-04 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp: Fix a bug where a data structure was
not being freed, triggering an assertion failure and Inkscape to
crash sometimes when the connector tool context was switched.
2005-09-03 Aaron Spike <aaron@ekips.org>
* src/node-context.cpp, src/livarot.cpp: Fixing a problem where node
adding and curve dragging operate on fills. A special thank you to
Simon Budig of GIMP fame for working with me and giving very
thorough explanations of his curve dragging code.
2005-09-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libavoid/connector.cpp, src/libavoid/connector.h: Autoroute
connectors while they are being drawn in the connector context.
* src/sp-conn-end.cpp: Fix a bug where connectors attached to shapes
were not always getting updated. Their path was sometimes thought
to be valid even when it was not.
2005-09-02 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end.cpp: Fix a bug where connectors not attached to
shapes were not updating correctly if an object was dropped on
their path.
2005-09-01 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/sp-conn-end.cpp, src/sp-conn-end.h, src/sp-conn-end-pair.cpp,
src/sp-conn-end-pair.h, src/sp-path.cpp, src/libavoid/graph.cpp,
src/libavoid/incremental.cpp:
Connectors now automagically reroute as a result of any 'avoided'
object being placed on their path. They also update to better
paths when blocking shapes are removed.
* src/connector-context.cpp: Update TODO list. Only show endpoints
and allow manipulation of paths marked as connectors.
* src/libavoid/connector.cpp, src/libavoid/connector.h: Connectors
with invalid paths can now notify other code via a callback,
rather than just setting a boolean flag.
* src/conn-avoid-ref.cpp: Fix an obscure crash bug in the connector
routing code where we were still using a freed data structure.
2005-08-31 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/conn-avoid-ref.cpp, src/conn-avoid-ref.h: Use the correct
coordinate system when passing shape geometry to libavoid.
Add a small amount of buffer space around objects.
* src/attributes-test.cpp, src/attributes.cpp, src/attributes.h,
src/path.cpp: Add code to handle the "inkscape:connector-type"
attribute.
* src/sp-conn-end-pair.cpp, src/sp-conn-end-pair.h: Store information
about type paths, to determine whether they are connectors. Keep
a reference to the libavoid representation if necessary. Add code
to call libavoid to get a path for a connector.
* src/sp-conn-end.cpp: Call the connector routing code when connector
ends are moved. Move connector endpoints rather than stretching
when adjusting to draw to shape edge.
* src/libavoid/connector.cpp, src/libavoid/connector.h: Make the
connector references aware of their own initialisation state.
* src/connector-context.cpp: Update TODO list. Update for other
changes. Fix a bug where multi-segment connectors had a solid
black fill while being dragged.
* src/display/curve.cpp, src/display/curve.h: Add a function to
simply move the two endpoints of a curve.
2005-08-30 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/conn-avoid-ref.cpp, src/libavoid/connector.cpp,
src/libavoid/graph.cpp, src/libavoid/makepath.cpp,
src/libavoid/shape.cpp, src/libavoid/vertices.cpp,
src/libavoid/vertices.h, src/libavoid/visibility.cpp:
Use a better system for unique IDs within libavoid. This properly
addresses a hack in SPAvoidRef that was unsafe on amd64 machines.
* configure.ac: Add the src/libavoid subdir.
2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/attributes.cpp, src/connector-context.cpp, src/sp-item.cpp:
Use "inkscape:connector-avoid" instead of "inkscape:avoid".
2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/libavoid/timer.cpp: Remove some code assuming a fixed size for
timer types.
2005-08-29 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp: Fix a problem where the context didn't
notice the current selection when it was entered. Also, fix a
problem where connectors disappeared for a moment when an endpoint
was clicked (for rerouting), but before the mouse was moved.
2005-08-29 David Yip <yipdw@rose-hulman.edu>
* src/ui/dialog/whiteboard-connect.{cpp,h},
src/ui/dialog/whiteboard-sharewithchat.{cpp,h}:
Improved widget layout (switched to Gtk::Table)
* src/jabber_whiteboard/session-manager.cpp:
Fixed crash that occurred when connecting via SSL to a Jabber
server that does not support SSL
2005-08-28 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/Makefile_insert, src/attributes-test.cpp, src/attributes.cpp,
src/attributes.h, src/conn-avoid-ref.cpp, src/conn-avoid-ref.h,
src/forward.h, src/sp-item.cpp, src/sp-item.h:
Add code that handles the "inkscape:avoid" attribute, used to mark
whether an item should be avoided for the purposes of routing
connectors. This code also calls libavoid when an 'avoided'
item is moved/transformed.
* src/connector-context.cpp, src/connector-context.h,
src/widgets/toolbox.cpp:
Add a couple of buttons to the connector context's toolbar to
allow selected objects to be marked as avoided or ignored for the
purpose of connector routing.
* src/libavoid/debug.h, src/libavoid/geomtypes.h,
src/libavoid/polyutil.cpp, src/libavoid/polyutil.h,
src/libavoid/shape.cpp:
Misc fixes: turn off debugging output, put types in the Avoid
namespace, and add an assertion for a special case that can
cause problems.
2005-08-28 Michael Wybrow <mjwybrow@users.sourceforge.net>
* share/icons/icons.svg: Add a couple of icons for the connector
context toolbar.
2005-08-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/Makefile.am, src/Makefile_insert, src/libavoid/*:
Add libavoid code, the library that does all the path planning
work for autorouting connectors.
2005-08-27 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/Makefile_insert: Remove a reference to the previously moved
src/desktop-widget.h. This wasn't breaking the build, but was
stopping me from generating tags files.
2005-08-25 Ralf Stephan <ralf@ark.in-berlin.de>
* src/ui/view/edit.h, src/ui/view/view.h, src/ui/view/view.cpp,
src/ui/view/view-widget.h, src/ui/view/view-widget.cpp,
src/widgets/desktop-widget.h, src/svg-view.h, src/desktop.cpp:
separated SPViewWidget from SPView
* src/connector-context.cpp, src/dyna-draw-context.cpp,
src/file.cpp, src/gradient-context.cpp, src/knot.cpp,
src/node-context.cpp, src/nodepath.cpp, src/path-chemistry.cpp,
src/pen-context.cpp, src/pencil-context.cpp, src/rect-context.cpp,
src/selection-chemistry.cpp, src/spiral-context.cpp,
src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
src/text-context.cpp, src/verbs.cpp, src/dialogs/display-settings.cpp,
src/dialogs/layer-properties.cpp, src/dialogs/find.cpp,
src/dialogs/clonetiler.cpp, src/trace/trace.cpp,
src/trace/potrace/inkscape-potrace.cpp:
all these files relied on a dependency in view.h to include
code for MessageStack and/or MessageContext which is now removed
* dialogs/desktop-properties.cpp: improved doxygen documentation
2005-08-25 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.cpp, src/widgets/desktop-widget.h,
src/widgets/desktop-widget.cpp:
abstracted out all Gtk+ calls from SPDesktop into SPDesktopWidget
* src/Doxyfile, src/main.cpp, src/desktop.cpp:
improved doxygen documentation
2005-08-25 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp, src/connector-context.h:
Change the connector context to use Inkscape's standard selection
mechanism. Show connector endpoint handles for single connectors
in the selection. This is the proposed interaction changes as
discussed on the mailing list. See the post there for a greater
description of the change.
2005-08-24 Ralf Stephan <ralf@ark.in-berlin.de>
* src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp:
separated SPDesktopWidget from SPDesktop
* src/desktop-widget.h: removed
* src/toolbox.cpp, src/toolbox.h, src/select-toolbar.cpp,
src/select-toolbar.h, src/gradient-toolbar.cpp,
src/gradient-toolbar.h: moved into src/widgets
* src/desktop.h, src/desktop.cpp, src/desktop-events.cpp,
src/verbs.cpp, src/Makefile_insert, src/widgets/Makefile_insert,
src/arc-context.cpp, src/dyna-draw-context.cpp,
src/gradient-context.cpp, src/rect-context.cpp,
src/select-context.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/interface.cpp, src/seltrans.cpp:
adapted following SPDesktopWidget separation
2005-08-24 David Yip <yipdw@rose-hulman.edu>
* src/jabber_whiteboard/session-manager.{cpp.h},
src/jabber_whiteboard/callbacks.cpp,
src/ui/dialog/whiteboard-connect.{cpp,h}:
added support for XMPP over SSL to Inkboard
2005-08-22 Ralf Stephan <ralf@ark.in-berlin.de>
* src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp:
both dialogs are now unresizable (bug #1237865)
* src/main.cpp: enhanced doxygen main page
2005-08-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/osx-app.sh: Added a command line option which allows
the executable and bundled dylibs to be stripped, significantly
reducing the package size.
2005-08-20 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop-style.cpp: fixed bug 1247989: nonstroked objects are
no longer counted in stroke_average_width()
* src/Doxyfile: added 3 more files
* src/main.cpp: introduced doc hierarchy on doxygen main page
* src/desktop-style.cpp: improved doxygen documentation
2005-08-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/connector-context.cpp, src/connector-context.h:
Rework connector context to extend SPEventContext instead of
SPDrawContext, and remove most of the borrowed draw context
code.
2005-08-20 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/menus-skeleton.h: correct the verb for "Select All In All Layers"
since it was just showing a verb error in the menu.
2005-08-19 Kees Cook <kees@outflux.net>
* autogen.sh, tools-version.sh, distro: report Ubuntu correctly, detect
and reject unsafe automake versions (1.9.0 -> 1.9.6).
2005-08-19 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/dialogs/display-settings.cpp:
Align the "Oversample bitmaps" option in the preferences
dialog with all the other options.
2005-08-18 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/Makefile_insert: Added connector-context.{cpp,h}
* src/connector-context.cpp, src/connector-context.h: New code for
the connector context. Handles the interaction of creating and
modifying connectors.
* src/sp-conn-end.cpp, src/sp-conn-end.h: Added sp_conn_adjust_path
for adjusting the path of connectors to the edge of shapes, and
sp_conn_end_detach to detach a connector endpoint from a shape.
Also, when there is only a single shape attached to a connector
and it is moved, then reroute the connector leaving its unattached
endpoint where it is, rather than just moving the whole thing with
the shape.
* src/preferences-skeleton.h, src/toolbox.cpp, src/tools-switch.cpp,
src/tools-switch.h, src/verbs.cpp, src/verbs.h,
src/dialogs/display-settings.cpp, src/dialogs/display-settings.h:
Enable the connector context. Give it a preferences tab, toolbox,
icon, etc. Also, correct some vim modelines.
* src/display/sp-canvas.cpp: Allow enter and leave events to be generated
for canvas items when mouse buttons are depressed.
* src/pixmaps/cursor-connector.xpm: A cursor for connector context.
2005-08-18 Jon A. Cruz <jon@joncruz.org>
* src/knot.cpp: Corrected type conflict for crash bugs.
2005-08-18 Ralf Stephan <ralf@ark.in-berlin.de>
* src/Doxyfile: added 4 more files
* src/extension/implementation/plugin-link.h,
src/extension/internal/gimpgrad.cpp: improved doxygen documentation
2005-08-16 Ralf Stephan <ralf@ark.in-berlin.de>
* src/desktop.h, src/desktop.cpp: replaced gboolean with bool
* src/display/curve.cpp: made is_moveto() inline
* src/knot.cpp, src/extension/extension.cpp, src/helper/action.cpp:
added editor footer
* src/desktop.h, src/desktop.cpp, src/knot.cpp, src/sp-gradient.cpp,
src/display/curve.cpp, src/extension/extension.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/plugin.cpp,
src/extension/internal/gimpgrad.cpp, src/helper/action.cpp:
improved doxygen documentation
2005-08-14 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: quick fix for crash bug when
deleting unnamed layer [bug 1255843]
2005-08-14 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/macosx/ScriptExec/main.c: Allow the user to ignore the
automatic fixing of the fontconfig problem and fix the problem
manually. Don't pop up the dialog again in this case when they
relaunch Inkscape.
2005-08-13 Ralf Stephan <ralf@ark.in-berlin.de>
* src/menus-skeleton.h: fixed cvs bug where, in the default menus.xml,
given submenus didn't have correct names, so translation on
non-English systems was missed.
2005-08-13 Michael Wybrow <mjwybrow@users.sourceforge.net>
* packaging/macosx/Resources/script, packaging/macosx/ScriptExec/main.c:
Fix for the fontconfig cache problem on OS X 10.4. The first time
Inkscape is launched on 10.4 machines, after checking X11 is available,
a dialog is brought up informing users of the fontconfig problem. The
dialog has a button to run fc-cache as root. If chosen, an OS X
authentication dialog in launched and fc-cache is run following the
authentication. A file is stored in ~/.inkscape to mark that fc-cache
has been run.
2005-08-11 Ralf Stephan <ralf@ark.in-berlin.de>
* src/sp-gradient.cpp,src/sp-gradient-fns.h,src/event-context.h,
src/event-context.cpp: replaced gboolean with bool
* src/document-undo.cpp: added editor footer
* src/sp-gradient.cpp, src/desktop.cpp, src/document.h,
src/document.cpp, src/document-undo.cpp, src/event-context.h,
src/event-context.cpp, src/selection.h:
improved doxygen documentation
2005-08-10 David Yip <yipdw@rose-hulman.edu>
* src/Makefile_insert: added composite-undo-stack-observer.{cpp,h}
* src/document.{cpp.h},
src/document-undo.cpp, src/document-private.h:
added hooks for undo stack observer
* src/jabber_whiteboard/Makefile_insert: added new classes
* src/jabber_whiteboard/callbacks.cpp: moved document initialization actions
here (not the best idea, admittedly...)
* src/jabber_whiteboard/connection-establishment.cpp,
src/jabber_whiteboard/session-manager.*,
src/jabber_whiteboard/chat-handler.cpp: updated to work with new listeners
* src/jabber_whiteboard/message-contexts.cpp,
src/jabber_whiteboard/message-handler.*,
src/jabber_whiteboard/message-tags.*,
src/jabber_whiteboard/defines.h: new message types (TODO: trim out dead
types)
* src/jabber_whiteboard/message-queue.*,
* src/jabber_whiteboard/message-node.h: made MessageNode capable of
representing more message types, as required by callbacks.cpp
and new commit model
* src/jabber_whiteboard/message-utilities.*: new utilities, although
this entire class should be going bye-bye soon (its main tasks have been
taken over by SerializerNodeObserver)
* src/jabber_whiteboard/node-tracker.*: removal of node-level locks
* src/jabber_whiteboard/node-utilities.*: removal of unnecessary methods;
this class should also be removed soon
* src/jabber_whiteboard/session-file-selector.cpp: miscellaneous tweaks
* src/jabber_whiteboard/typedefs.h: new type definitions to handle the new
commit model (TODO: prune unnecessary types)
* src/xml/event.cpp: small hack to get Inkboard working (shouldn't be
there, but I'm still learning my way around XML::Node and
XML::Session...help welcome)
* src/undo-stack-observer.h: interface for classes that watch undo, redo,
and undo log commit events
* src/composite-undo-stack-observer.*: similar to CompositeNodeObserver;
combines multiple undo stack observers
* src/jabber_whiteboard/serializer-node-observer.*: XML::Event serializer
* src/jabber_whiteboard/deserializer.*: XML::Event deserializer
* src/jabber_whiteboard/tracker-action-observer.*: simple observer to
watch for added and removed nodes in undo/redo actions (put aside for
now)
* src/jabber_whiteboard/undo-stack-observer.*: Inkboard's undo stack
observer implementation
2005-08-10 Ralf Stephan <ralf@ark.in-berlin.de>
* src/main.cpp: introduced doxygen doc main page with links
2005-08-09 Ralf Stephan <ralf@ark.in-berlin.de>
* src/Doxyfile: added 5 more files
* src/display/curve.h, src/display/curve.cpp, src/knot.cpp,
src/dialogs/export.cpp: replaced gboolean with bool
* src/display/curve.cpp: removed sp_curve_finish() as it is nowhere
called, made sp_curve_ensure_space() static
* src/sp-object.cpp, src/sp-item.cpp, src/libnr/n-art-bpath.h,
src/libnr/nr-path-code.h, src/ui/view/view.cpp, src/dialogs/export.cpp,
src/display/bezier-utils.cpp, src/display/curve.h,
src/display/curve.cpp, src/knot.h, src/knot.cpp:
improved doxygen documentation
2005-08-08 MenTaLguY <mental@rydia.net>
* README.txt, README: make autotools happy
2005-08-06 MenTaLguY <mental@rydia.net>
* Makefile.am, HACKING, HACKING_de, HACKING_fr, HACKING_it,
HACKING.txt, HACKING.de.txt, HACKING.fr.txt, HACKING.it.txt,
README, README_ca, README_de, README_fr, README_it,
README.txt, README.ca.txt, README.de.txt, README.fr.txt, README.it.txt:
saner filenames
2005-08-06 MenTaLguY <mental@rydia.net>
* src/xml/Makefile_insert, src/xml/log-builder.cpp,
src/xml/log-builder.h, src/xml/simple-session.cpp,
src/xml/simple-session.h:
Implement XML::LogBuilder class and use it from XML::SimpleSession.
2005-08-06 MenTaLguY <mental@rydia.net>
* src/xml/event.h, src/xml/event.cpp, src/xml/event-fns.h:
rejigger the way XML event logs are handled, based on NodeObservers
2005-08-06 MenTaLguY <mental@rydia.net>
* src/xml/simple-session.cpp: minor formatting cleanups
2005-08-06 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/verbs.cpp, src/verbs.h:
Adding in a hash table for Verb ID lookups. This makes searching for them
in the dynamic menus much faster.
2005-08-06 Ralf Stephan <ralf@ark.in-berlin.de>
* src/sp-offset.cpp:
removed a dependency, made refresh_offset_source() static
* src/svg-view.cpp, src/svg-view.h, src/sp-spiral.cpp, src/sp-spiral.h:
replaced gboolean with bool
* src/sp-offset.cpp, src/sp-root.cpp, src/sp-stop.h, src/sp-spiral.h,
src/sp-spiral.cpp, src/svg-view.h, src/svg-view.cpp, src/style.cpp:
improved doxygen documentation
2005-08-05 MenTaLguY <mental@rydia.net>
* inkscape.spec.in: include translated manpages
2005-08-05 Michael Wybrow <mjwybrow@users.sourceforge.net>
* po/nl.po: fix a typo: close a bold tag.
2005-08-03 David Yip <yipdw@rose-hulman.edu>
* src/jabber_whiteboard/typedefs.h:
fixed incorrect template specialization syntax,
removed duplicate definitions (oops...)
* src/gc-alloc.h:
removed explicit keyword from allocator constructors, as it is
necessary to allow implicit conversion for rebinding. Some
containers in the libstdc++ in GCC 3.4.x require this, such as anything
using the standard library's red-black tree implementation --
std::set, std::map, std::multimap
2005-08-03 Ralf Stephan <ralf@ark.in-berlin.de>
* src/pen-context.cpp: made sp_pen_context_root_handler static
* src/snap.h: removed getSnapToBBox() declaration
* src/sp-stop.h: removed three dependencies
* src/Doxyfile: added further 3 files
* src/object-hierarchy.cpp, src/pen-context.h, src/pen-context.cpp,
src/pencil-context.h, src/pencil-context.cpp, src/snap.h,
src/snap.cpp, src/sp-stop.h, src/sp-gradient.h, src/sp-gradient.cpp,
src/sp-linear-gradient.h, src/sp-radial-gradient.h:
improved doxygen documentation
2005-08-03 David Yip <yipdw@rose-hulman.edu>
* src/jabber_whiteboard/Makefile_insert,
src/jabber_whiteboard/message-handler.cpp,
src/jabber_whiteboard/empty.cpp:
fixing some build issues (Apple's ar doesn't like creating
archives with an empty member list, so empty.cpp is a null
placeholder to be used as the sole member in the jabber_whiteboard
archive in the event that a user does not wish to enable
Inkboard)
2005-08-02 Bryce Harrington <bryce@bryceharrington.org>
* src/ui/dialog/*.*: Update copyrights
* doc/WISHLIST: s/Sodipodi/Inkscape/
* src/desktop.cpp: Rename SPView to Inkscape::UI::View::View
* changing include file syntax from "" to <> where appropriate
* Changing copyrights to be consistent
2005-08-03 David Yip <yipdw@rose-hulman.edu>
* src/menus-skeleton.h:
added WITH_INKBOARD ifdef to prevent Inkboard options from being
compiled into the menu skeleton if the Inkboard code is not enabled
2005-08-03 Michael Wybrow <mjwybrow@users.sourceforge.net>
* src/display/curve.cpp: Correctly free an array with "delete []".
2005-08-02 David Yip <yipdw@rose-hulman.edu>
* src/jabber/whiteboard/node-tracker.cpp:
removed unnecessary anchoring of XML::Nodes in XMLNodeTracker
2005-08-02 David Yip <yipdw@rose-hulman.edu>
* src/jabber_whiteboard/typedefs.h:
moved back to GC::Alloc from traceable_allocator
* src/jabber_whiteboard/node-tracker.cpp:
fixed anchor-release problem with XML::Nodes in XMLNodeTracker
2005-08-01 MenTaLguY <mental@rydia.net>
* src/gc.cpp, src/gc-core.h: Hans says it's okay to use
GC_malloc_atomic_uncollectable
2005-08-01 MenTaLguY <mental@rydia.net>
* src/gc-alloc.h: fix improper allocation size
2005-08-01 David Yip <yipdw@rose-hulman.edu>
* src/jabber_whiteboard/message-handler.cpp: removed some
debug output
* src/dialogs/whiteboard-sharewithchat.cpp: removed some excess
debugging code
* src/jabber_whiteboard/session-manager.cpp: removed
redundant if (x == NULL) tests surrounding delete
2005-08-01 David Yip <yipdw@rose-hulman.edu>
* src/ui/icons.cpp, src/ui/stock-items.cpp, src/ui/stock.cpp,
src/ui/stock.h:
added Inkboard UI stock items
* src/dialogs/whiteboard*:
old C/Gtk Inkboard dialogs for collecting user input necessary
to establish Jabber connections and Inkboard sessions (they're
still used in some parts of the Inkboard code)
* src/Makefile.am, src/Makefile_insert, src/desktop.cpp,
src/desktop.h, src/document.cpp, src/file.cpp, src/file.h,
src/menus-skeleton.h, src/verbs.cpp, src/verbs.h:
added necessary UI code to access Inkboard functions
* src/jabber_whiteboard/Makefile_insert,
src/jabber_whiteboard/buddy-list-manager.*,
src/jabber_whiteboard/callbacks.*,
src/jabber_whiteboard/chat-handler.*,
src/jabber_whiteboard/connection-establishment.*,
src/jabber_whiteboard/defines.h,
src/jabber_whiteboard/error*,
src/jabber_whiteboard/internal-constants.*,
src/jabber_whiteboard/invitation-confirm-dialog.*,
src/jabber_whiteboard/jabber-handlers.*,
src/jabber_whiteboard/makefile*,
src/jabber_whiteboard/message-*,
src/jabber_whiteboard/node-*,
src/jabber_whiteboard/received-message-helpers.cpp,
src/jabber_whiteboard/player-functors.*,
src/jabber_whiteboard/session-*,
src/jabber_whiteboard/tracker-node.h,
src/jabber_whiteboard/typedefs.h:
Initial commit of Inkboard code
* src/ui/dialog/session-player*,
src/ui/dialog/whiteboard*:
C++/Gtkmm replacements for some old C/Gtk dialogs
* configure.ac:
added Inkboard configure checks
* src/ui/view/edit.cpp,
src/ui/view/edit.h,
src/ui/view/view.cpp:
added Inkboard code stubs to new Gtkmm code
* share/ui/menus-bars.xml:
added Inkboard code stubs to menu UI XML
2005-08-01 Ralf Stephan <ralf@ark.in-berlin.de>
* src/sp-object.cpp: improved doxygen documentation
2005-07-31 Ralf Stephan <ralf@ark.in-berlin.de>
* src/nodepath.cpp: removed three dependencies
2005-07-31 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp, src/sp-object.h, src/sp-use.cpp:
adopt more consistent refcounting policy
* src/sp-object.h: make second parameter to sp_object_ref and
sp_object_unref optional
2005-07-30 Ralf Stephan <ralf@ark.in-berlin.de>
* src/draw-anchor.cpp, src/nodepath.h: reduced dependencies
* src/nodepath.cpp: removed duplicate dependency, added two from
nodepath.h, made triangle_area() inline
* src/node-context.cpp: added dependency removed from nodepath.h
* src/Doxyfile: added 2 further files to the scanned list
* src/nodepath.h: moved function docs into nodepath.cpp
* src/color.cpp: made file work with src/Doxyfile
* src/color.cpp, src/draw-anchor.cpp, src/geom.cpp, src/nodepath.cpp:
improved doxygen documentation
* src/event-context.cpp: added a \todo
* src/geom.cpp: added editor footer
2005-07-30 Ted Gould <ted@gould.cx>
* src/Makefile_insert, src/inkscape.cpp, src/inkscape.h,
src/interface.cpp, src/selection.cpp, src/verbs.cpp, src/verbs.h,
src/extension/effect.cpp, src/extension/effect.h, src/menus-skeleton.h:
Doing two things. One, making menus configurable by an external xml file
and the second is enabling sensitivity in the verbs. These are both in
pretty basic states right now, but workable.
2005-07-29 MenTaLguY <mental@rydia.net>
* src/shortcuts.cpp: made Ctrl+Shift+G the "primary" ungroup shortcut
2005-07-28 Carl Hetherington <inkscape@carlh.net>
* src/arc-context.cpp: CodingStyle. Replace gboolean with bool.
* src/desktop-events.cpp: CodingStyle: whitespace. Add editor
variables block. gboolean exorcism. Declaration-to-first-use fixes.
2005-07-27 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.h (SP_SCALE24_MAX): Change from 0xffffff to 0xff0000,
and add documentation for choice of value.
(SP_SCALE24_TO_FLOAT) Return a double instead of a float.
(SP_SCALE24_FROM_FLOAT) Change rounding behaviour.
These changes are intended to combat float rounding bugs on x86.
* src/style.cpp (sp_style_merge_from_style_string): Use libcroco
to parse style="..." attribute strings, to improve CSS parsing.
2005-07-27 Ralf Stephan <ralf@ark.in-berlin.de>
* src/Doxyfile: added 10 further files to the scanned list
* src/gc-anchored.h, src/gc-managed.h, src/object-hierarchy.h,
src/pencil-context.h, src/selection.h, src/sp-object.h, src/sp-spiral.h,
src/svg-view.h, src/verbs.h, src/livarot/float-line.h, src/util/list.h,
src/widgets/paint-selector.h, src/xml/repr.h:
made file work with src/Doxyfile
* src/livarot/int-line.h, src/livarot/float-line.h:
moved part of documentation into *.cpp file
* src/gc-anchored.h, src/knot-holder-entity.h, src/nodepath.h,
src/pen-context.h, src/pencil-context.h, src/selection.h,
src/sp-gradient.h, src/sp-gradient.cpp, src/sp-item.h, src/sp-object.h,
src/sp-spiral.h, src/style.h, src/svg-view.h, src/extension/extension.h,
src/libnr/nr-matrix.h, src/livarot/int-line.h, src/livarot/int-line.cpp,
src/livarot/float-line.h, src/livarot/float-line.cpp,
src/livarot/sweep-event.h, src/livarot/sweep-event-queue.h,
src/util/list.h, src/widgets/paint-selector.h, src/xml/repr.h,
src/xml/repr.cpp: documentation improvements
* src/sp-item.h: added editor footer
2005-07-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/svg/stringstream.h, src/svg/stringstream.cpp:
Trim trailing zeros from after the decimal point when writing
float or double to Inkscape::SVGOStringStream.
* src/style-test.cpp: Update expected output accordingly.
* src/svg/stringstream-test.h: New unit test.
* src/Makefile.am, src/svg/Makefile_insert: Add the new unit test.
* src/svg/Makefile_insert:
Don't link unused ftos.cpp, but do link new file stringstream.cpp.
2005-07-26 Michael Wybrow <mjwybrow@users.sourceforge.net>
* share/icons/icons.svg: Add icon for connector context.
2005-07-25 Ralf Stephan <ralf@ark.in-berlin.de>
* src/libnr/nr-pixblock.h: interface cleanup of NRPixBlock: size and mode
are now named enums, empty is now bool, changes to function interfaces
because of that, changed C macros to C++ inline functions, changed clean
flag in some function interfaces from int to bool.
* src/libnr/nr-pixblock.cpp: adaptations due to changes in nr-pixblock.h,
added assert to ...setup_extern() which remains a bit ... risky,
* src/display/sp-canvas.cpp:
made sp_canvas_item_construct() static, inlined two other functions
* src/svg-view.cpp: piped emit_resized through C++ façade (incomplete)
* src/ui/view/view.h: removed legacyMessageContext() member
* src/Doxyfile: added files, and options to collect todo and bugs
* src/display/curve.cpp: moved member docs into curve.h
* src/event-context.cpp: long line cosmetics, moved a function for clarity
* src/sp-offset.h, src/sp-spiral.cpp, src/svg-view.cpp,
src/libnr/nr-types.h: added editor footer
* src/color-rgba.h, src/draw-anchor.h, src/event-context.*, src/knot-*.h,
src/message-*.h, src/modifier-fns.h, src/nodepath.h,
src/pencil-context.cpp, src/pen-context.*, src/snap.*, src/sp-gradient.h,
src/sp-gradient-fns.h, src/sp-item.cpp, src/sp-item-notify-moveto.h,
src/sp-linear-gradient*, src/sp-offset.*, src/sp-radial-gradient*,
src/sp-spiral.cpp, src/style.cpp, src/svg-view.cpp, src/verbs.cpp,
src/dialogs/export.cpp, src/display/bezier-utils.cpp,
src/display/curve.*, src/diplay/sp-canvas.*,
src/extension/implementation/plugin*, src/extension/internal/gimpgrad.h,
src/libnr/nr-matrix.h, src/libnr/nr-matrix-scale-ops.h,
src/libnr/nr-matrix-translate-ops.h, src/libnr/nr-pixblock.*,
src/libnr/nr-point.h, src/libnr/nr-rotate.h, src/libnr/nr-rotate-fns.h,
src/libnr/nr-scale-matrix-ops.h, src/libnr/nr-types.h,
src/livarot/int-line.h, src/ui/view/view.*:
made file work with src/Doxygen, doxygen documentation improvements
2005-07-24 Ted Gould <ted@gould.cx>
* 0.42 Release
2005-07-21 Ted Gould <ted@gould.cx>
* 0.42pre3
2005-05-21 Kees Cook <kees@outflux.net>
* share/icons/*xpm, src/ui/dialog/transformation.cpp,
src/ui/widget/labelled.cpp, src/ui/widget/labelled.h:
Hooked up Gtkmmified Icon manager correctly. (bug 1217367)
* Makefile.mingw, Makefile.mingw.common: patch 1241293 for build fixes
2005-07-12 Ted Gould <ted@gould.cx>
* 0.42pre2
2005-07-11 MenTaLguY <mental@rydia.net>
* src/debug/logger.cpp: wrap stack vector in method to avoid
potential static initialization issues
* src/sp-object.cpp: add refcount logging
2005-07-09 MenTaLguY <mental@rydia.net>
* src/document-undo.cpp, src/inkscape.cpp, src/debug/event.h,
src/debug/logger.cpp, src/debug/logger.h, src/debug/simple-event.h,
src/xml/composite-node-observer.cpp, src/xml/event.cpp,
src/xml/simple-node.cpp:
Categorize debugging events and add the ability to filter them
via setting the INKSCAPE_DEBUG_FILTER environment variable to
a comma-separated list of debug event categories.
2005-07-06 Ben Fowler <bpfowler@users.sourceforge.net>
* src/interface.cpp: Spackle for Bug 1217361 "freeze on quitting
with transform dialog"
2005-07-06 Ben Fowler <bpfowler@users.sourceforge.net>
* src/interface.cpp: Whitespace changes only
2005-07-06 Michael Wybrow <mjwybrow@users.sourceforge.net>
* Info.plist.in, packaging/osx-app.sh, packaging/macosx/*:
Changes and new files required to build an Inkscape dmg on Mac OS X.
2005-07-05 Ted Gould <ted@gould.cx>
* 0.42pre1
2005-07-04 MenTaLguY <mental@rydia.net>
* src/sp-metadata.cpp: strip id= attributes under rdf:RDF elements
2005-07-04 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp, src/xml/node-fns.h, src/xml/node-fns.cpp:
don't force id= attributes on anything except elements in the SVG,
Sodipodi, or Inkscape namespaces.
2005-07-04 MenTaLguY <mental@rydia.net>
* src/verbs.cpp: redo cryve's fix to use defaultLabel() rather than
label()
2005-07-04 Bryce Harrington <bryce@bryceharrington.org>
* src/livarot/float-line.cpp: Patch from Ralf Stephan
<ralf@ark.in-berlin.de> to suppress two warnings.
2005-06-28 Ted Gould <ted@gould.cx>
* src/verbs.h:
Changing from gnu::hash_map to std::map. The only reason this was a
hash_map before is because I was stealing code that I didn't understand,
and a std::map works as well. This fixes bug #1172199 for Tru64.
2005-06-28 Ted Gould <ted@gould.cx>
* src/extension/dependency.cpp:
Fix for #1169396 -- setting the default type for a dependency to file,
this seems to be the only way that the print function could end up using
undefined memory, and then passing it on the gettext.
2005-06-28 Ted Gould <ted@gould.cx>
* src/extension/implementation/script.cpp,
src/extension/implementation/script.h:
Adding support for information coming back on STDERR from scripts. This
fixes bug #1220959 and RFE #1178941
2005-07-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-stop.h, sp-gradient.cpp, widgets/gradient-vector.cpp:
Implement currentColor as possible value for stop-color, as per spec.
2005-07-02 Kees Cook <kees@outflux.net>
* src/dialog/rdf.cpp: Added FreeArt license, RFE #1230981.
2005-06-30 Bryce Harrington <bryce@bryceharrington.org>
* inkscape.nsi: Fix for bug #1230744 'wrong installer language'
by theadib.
* src/swatches.cpp: Fix for bug #1217973. The KDE swatches file
consists of 3 column numbers (missing 4th column), and also lacks
an ending newline. In this situation, the name variable returned
from trim() could be null, thus causing a segfault when used as an
input to Glib::ustring.
* src/sp-image.cpp: Patch for bug #1210100 by bpfowler to help
narrow in on the cause of the bug.
* README: Requested change for bug #1174991. Directions for
installation of perl libs
2005-07-01 Ben Fowler <bpfowler@users.sourceforge.net>
* src/desktop.cpp src/svg-view.cpp src/dialogs/display-settings.cpp
src/dialogs/export.cpp src/dialogs/find.cpp
src/extension/internal/ps.cpp: Replaced calls to gtk_widget_set_usize
with GTK2 version.
2005-06-30 Bryce Harrington <bryce@bryceharrington.org>
* inkscape.pod, src/main.cpp: Applying Makzu's patch to implement
--vacuum-defs
2005-06-28 Ted Gould <ted@gould.cx>
* 0.42pre0
2005-06-23 MenTaLguY <mental@rydia.net>
* src/extension/implementation/script.cpp:
support for ruby scripts (interpreter="ruby")
2005-06-20 Ted Gould <ted@gould.cx>
* src/desktop.cpp, src/desktop.h, src/document-private.h,
src/document.cpp, src/document.h, src/extension/effect.h,
src/extension/implementation/script.cpp:
Adding in a signal to show that the document is being reconstructed from
another document. This is used by the scripting extensions implementation
to say to the desktops that they need to save their object references
as strings instead of pointers -- and then recreate them when the
reconstruction is complete.
* src/extension/prefdialog.cpp: Making "OK" have focus.
* src/verbs.cpp, src/verbs.h: Some prototype code to start making verbs
sensitive or not. Not tied in to anything currently.
2005-06-20 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: whoops... don't emit xmlns:xml
2005-06-18 Richard Hughes <cyreve@users.sourceforge.net>
* src/text-context.cpp, src/text-context.h, src/libnrtype/Layout-TNG.h:
implement double- and triple-clicking of text for selecting the
current word and line respectively
2005-06-16 MenTaLguY <mental@rydia.net>
* src/interface.cpp: removed "Go to root" context menu item
* src/widgets/layer-selector.cpp: hide "(root)" unless it is the current
layer
2005-06-11 Aaron Spike <aaron@ekips.org>
* confiugre.ac,
packaging/autopackage/default.apspec.in:
Adding the autopackage specfile
2005-06-10 Richard Hughes <cyreve@users.sourceforge.net>
* src/text-context.cpp:
use ctrl-left/right for moving cursor by word in text mode,
and ctrl-a for select all text
2005-06-09 Bryce Harrington <bryce@bryceharrington.org>
* src/ui/dialogs/align-and-distribute.cpp,
src/ui/dialogs/align-and-distribute.h,
src/verbs.cpp:
Hooking up Aubanel's new align and distribute dialog
2005-06-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/text-context.cpp (sp_text_context_root_handler):
Greater conformance to ISO 14755 for unicode entry. We now
implement all of the ``Basic method'' portion of that spec
except for non-latin hexadecimal digits (first 6 letters of
other alphabets). (Instead, we do the same as for all other
shortcuts, viz. force a group0 (latin) interpretation of the
keypress.)
2005-06-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/pen-context.cpp (spdc_endpoint_snap): Pen tool: do snapping
(i.e. namedview_free_snap_all_types) even for initial point.
* src/Makefile.am (INCLUDES), src/extension/script/Makefile_insert
(extension_script_libscript_a_CXXFLAGS):
Put PERL_CFLAGS PYTHON_CFLAGS into global INCLUDES rather than
using a libscript_a_CXXFLAGS var (which involved creating .o files
specific to that lib).
2005-06-06 Ted Gould <ted@gould.cx>
* src/extensions/effect.cpp:
Adding in the code so that effects can be undoable.
* src/extensions/implementation/script.[cpp,h]
Adding in the code so that a new window is not displayed when an
effect is executed. Now it is in the same window (much nicer).
* src/extensions/internal/latex*.[cpp,h]
Patches from the mailing list to add LaTeX output.
2005-06-04 MenTaLguY <mental@rydia.net>
* src/extensions/init.cpp:
That tears it. Showing the error dialog on startup goes. I've
had to respond to one too many bloody bug reports. If we released
0.42 with this too we'll drive away users permanently. As it was,
a lot of people were assuming 0.41 was broken when they saw this
and reverted to 0.40.
2005-05-31 MenTaLguY <mental@rydia.net>
* src/preferences-skeleton.h: disable extension error dialog on startup
-- I'm sick of hearing that Inkscape is broken because people see
this dialog on startup. It makes us look bad.
We're not going to repeat this for 0.42 -- find a better approach.
2005-05-28 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp,
src/sp-flowtext.cpp, src/sp-object.cpp, src/sp-object.h,
src/sp-path.cpp, src/sp-rect.cpp, src/sp-root.cpp, src/sp-root.h,
src/sp-shape.cpp, src/version.cpp, src/version.h:
propagate SVG version upwards, and move SPVersion into Inkscape
namespace
2005-05-24 Simarilius <Simarilius@yahoo.com>
* src/verbs.cpp, src/dialogs/tiledialog.cpp, src/dialogs/tiledialog.h,
src/ui/dialogs/dialog-manager.cpp
Converted the tiledialog over to the inkscape:ui:dialog class and hooked
it into dialog manager
2005-05-24 Ted Gould <ted@gould.cx>
* src/extension/dependency.cpp, src/extension/extension.cpp,
src/extension/extension.h, src/extension/init.cpp,
src/extension/implementation/script.cpp:
Applying patch 1199856 which allows Inkscape to have multiple directories
for extensions. Currently those are /share/inkscape/extensions and
~/.inkscape/extensions. The patch was written by Aaron Spike.
2005-05-23 Ted Gould <ted@gould.cx>
* share/extensions/<alot>
Adding in Aaron Spike's extensions so that they come with the standard
build. Lot's of useful stuff that is worth having for most users.
2005-05-19 MenTaLguY <mental@rydia.net>
* src/verbs.cpp, src/ui/dialog/align-and-distribute.h,
src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h,
src/ui/dialog/document-preferences.h, src/ui/dialog/export.h,
src/ui/dialog/extension-editor.h, src/ui/dialog/fill-and-stroke.h,
src/ui/dialog/find.h, src/ui/dialog/inkscape-preferences.h,
src/ui/dialog/layer-editor.h, src/ui/dialog/messages.h,
src/ui/dialog/text-properties.h, src/ui/dialog/transformation.h,
src/ui/dialog/xml-editor.h, src/ui/view/edit.cpp:
refactoring of the dialog manager code, introducing factory
functions and a method specifically for showing a dialog
2005-05-19 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
fix layer property undo crash bugs (#1192708 and #1171704)
2005-05-19 MenTaLguY <mental@rydia.net>
* src/debug/Makefile_insert, src/debug/sysv-heap.cpp,
src/debug/sysv-heap.h, src/gc.cpp, src/debug/gc-heap.h,
src/debug/heap.cpp:
moved GC Heap statistics stuff into libdebug to ease circular
dependencies
2005-05-17 MenTaLguY <mental@rydia.net>
* src/ui/dialog/memory.cpp:
reduce magnitude of memory jitter somewhat by avoiding some vector
resizing and copying
2005-05-16 MenTaLguY <mental@rydia.net>
* src/gc.cpp, src/debug/heap.cpp, src/debug/heap.h:
revised Debug::Heap API slightly
* src/ui/dialog/memory.cpp, src/ui/dialog/memory.h:
thousands separators and other niceties. 'apply' now forces a
garbage collection and immediate update.
2005-05-16 MenTaLguY <mental@rydia.net>
* src/ui/dialog/memory.cpp: re-use existing rows, though it doesn't
seem to help memory jitter much
2005-05-15 MenTaLguY <mental@rydia.net>
* src/debug/heap.cpp: fix bounds error
* src/ui/dialog/memory.cpp, src/ui/dialog/memory.h:
flesh out basic memory info dialog
2005-05-15 MenTaLguY <mental@rydia.net>
* configure.ac: cleaned up tests
* src/debug/heap.cpp: fixed feature macro names
2005-05-15 MenTaLguY <mental@rydia.net>
* configure.ac: added tests for mallinfo and malloc.h
* src/gc.cpp, src/debug/heap.cpp, src/debug/heap.h:
fix up Debug::Heap API slightly
2005-05-14 MenTaLguY <mental@rydia.net>
* src/interface.cpp, src/verbs.cpp, src/verbs.h,
src/ui/dialog/Makefile_insert, src/ui/dialog/dialog-manager.cpp,
src/ui/dialog/dialog-manager.h, src/ui/dialog/memory.cpp,
src/ui/dialog/memory.h:
added skeletal memory statistics dialog
2005-05-12 Juerg Billeter <j@bitron.ch>
* configure.ac: Have pkgconfig explicitly require gdkmm-2.4 & glibmm-2.4
(used directly by Inkscape), rather than relying on transitive
dependencies. It's said that this is required in some cases with
pkgconfig 0.17 and later.
2005-05-08 Bryce Harrington <bryce@bryceharrington.org>
* ChangeLog configure.ac src/Makefile_insert src/desktop-widget.h
src/desktop.h src/dropper-context.cpp src/file.cpp
src/shortcuts.cpp src/sp-text.cpp src/splivarot.cpp
src/svg-view.h src/text-context.cpp src/verbs.cpp
src/extension/implementation/plugin-link.h
src/extension/internal/grid.cpp src/helper/action.h
src/helper/window.cpp src/ui/dialog/dialog.cpp
src/ui/dialog/messages.cpp src/ui/view/view.cpp
src/ui/view/view.h:
Moving view.* into src/ui/view/
2005-05-09 MenTaLguY <mental@rydia.net>
* src/gc-alloc.h: const-correctness fix
2005-05-08 Bryce Harrington <bryce@bryceharrington.org>
* configure.ac: Defaulting with-gnome-vfs to on if library is
present.
* po/POTFILES.in : Fixed error causing compile failure
* src/Makefile_insert src/arc-context.cpp src/desktop-events.cpp
src/desktop.cpp src/desktop.h src/dyna-draw-context.cpp
src/gradient-context.cpp src/gradient-toolbar.cpp
src/interface.cpp src/make.dep src/make.files
src/rect-context.cpp src/select-context.cpp
src/select-toolbar.cpp src/seltrans.cpp src/spiral-context.cpp
src/star-context.cpp src/toolbox.cpp src/verbs.cpp src/view.cpp
src/view.h src/application/application.cpp
src/application/application.h src/application/editor.cpp
src/application/editor.h src/ui/dialog/align-and-distribute.cpp
src/ui/dialog/align-and-distribute.h
src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h
src/ui/dialog/dialog.cpp src/ui/dialog/dialog.h
src/ui/dialog/document-preferences.cpp
src/ui/dialog/document-preferences.h src/ui/dialog/export.cpp
src/ui/dialog/export.h src/ui/dialog/extension-editor.cpp
src/ui/dialog/extension-editor.h
src/ui/dialog/fill-and-stroke.cpp
src/ui/dialog/fill-and-stroke.h src/ui/dialog/find.cpp
src/ui/dialog/find.h src/ui/dialog/inkscape-preferences.cpp
src/ui/dialog/inkscape-preferences.h
src/ui/dialog/layer-editor.cpp src/ui/dialog/layer-editor.h
src/ui/dialog/messages.h src/ui/dialog/text-properties.cpp
src/ui/dialog/text-properties.h
src/ui/dialog/transformation.cpp src/ui/dialog/transformation.h
src/ui/dialog/tree-editor.h src/ui/dialog/xml-editor.cpp
src/ui/dialog/xml-editor.h src/ui/view/Makefile_insert
src/ui/view/edit.cpp src/ui/view/edit.h :
Renaming sp-desktop-widget.h to desktop-widget.h for
consistency with other desktop files. Beginning migration of
desktop-* and view* files into ui/view/ subdir. Incorporating
DialogManager into existing SPDesktop code. Making SPView
derive from GObject. Changing Messages dialog to run via
DialogManager. Removing getName() and getDesc() routines from
Dialogs.
2005-05-08 MenTaLguY <mental@rydia.net>
* src/Makefile_insert: change link order since the GC code now
depends on the debugging stuff
* src/debug/Makefile_insert, src/debug/heap.cpp, src/debug/heap.h:
added heap statistics stuff
* src/gc.cpp: register the GC heap with the heap statistics facility
2005-05-07 MenTaLguY <mental@rydia.net>
* src/gc-anchored.h, src/gc-core.h, src/gc-finalized.h,
src/gc-managed.h, src/gc.cpp:
hide the global Ops structure from the outside world, and expose
some additional libgc API.
2005-05-07 Ted Gould <ted@gould.cx>
* src/extension/parameter.cpp: bug fix for empty string parameter
* share/extensions/dropshadow.inx,
src/extension/implementation/script.cpp:
Adding in an "interpreter" attribute for "command" that will prepend
the command with the interpreter. Right now only "perl" and "python"
work, and they only prepend "perl" and "python", but more will be
added later.
2005-05-07 MenTaLguY <mental@rydia.net>
* src/xml/composite-node-observer.cpp: bug fixes
* src/xml/simple-node.cpp, src/xml/simple-node.h: switch to using
CompositeNodeObserver, which has saner add/remove semantics
* src/util/list-container-test.cpp: add another test, just to be sure
* src/dialogs/xml-tree.cpp: remove need for is_interactive flag on
attribute changes (the flag is effectively disabled by the other
changes)
2005-05-05 MenTaLguY <mental@rydia.net>
* src/debug/event.h, src/debug/logger.cpp:
PropertyPair is now its own class
* src/xml/simple-node.cpp: add logging of XML node mutation
* src/xml/Makefile_insert, src/xml/composite-node-observer.cpp,
src/xml/composite-node-observer.h:
added CompositeNodeObserver class, which will eventually replace
the existing notifier lists
2005-05-05 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp: try to cleanly terminate log in case of crashes
2005-05-05 MenTaLguY <mental@rydia.net>
* src/document-undo.cpp, src/debug/Makefile_insert, src/debug/logger.cpp,
src/debug/simple-event.h, src/xml/event.cpp:
add debug logging for undo+redo+transactions
2005-05-05 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp, src/main.cpp: initialize and shutdown debug log
from more reliable place
* src/debug/logger.cpp: clean up log via std::atexit()
2005-05-04 MenTaLguY <mental@rydia.net>
* configure.ac, src/Makefile.am, src/Makefile_insert,
src/debug/Makefile_insert, src/debug/makefile.in:
added src/debug/ subdir
* src/gc-alloc.h: no default management type for now
* src/debug/event-tracker.h, src/debug/event.h, src/debug/logger.cpp,
src/debug/logger.h: simple XML logging facility
* src/util/Makefile_insert: fixed cut-and-paste error
2005-04-29 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp, src/dialogs/eek-preview.h,
src/dialogs/eek-preview.cpp:
Added property to swatch to block taking focus.
2005-04-28 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/Makefile_insert, src/dialogs/eek-preview.cpp,
src/dialogs/eek-preview.h, src/dialogs/swatches.cpp,
src/dialogs/swatches.h, src/ui/previewholder.cpp,
src/ui/previewable.h, src/ui/widget/panel.cpp:
Adding new widget for color swatch usage.
2005-04-24 Bryce Harrington <bryce@bryceharrington.org>
* src/Makefile.am src/Makefile_insert,
src/application/Makefile_insert, src/application/editor.cpp,
src/application/editor.h, src/extension/internal/svg.cpp,
src/ui/Makefile_insert, src/ui/view/Makefile_insert,
src/ui/view/edit.cpp, src/ui/view/edit.h, src/ui/view/makefile.in,
src/application/editor-impl.cpp, src/application/editor-impl.h:
Renaming EditorImpl to UI::View::Edit
Fixing bug 1185873 "batch mode crasher" caused by VFS being
called with relative paths. Adding a check to see whether the
input is a valid uri, and if not, just calling sp_document_new
directly.
2005-04-23 Ted Gould <ted@gould.cx>
* src/extension/input.cpp, src/extension/input.h,
src/extension/output.cpp, src/extension/output.h,
src/extension/system.cpp, src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/plugin-link.h,
src/extension/implementation/plugin.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h, src/extension/internal/eps-out.cpp,
src/extension/internal/eps-out.h:
Changing the prototype for the input/output preferences to be closer to
that of Effects. This is a good thing because now autogui can be used for
all, and it is much cleaner. Unfortunately, this caused alot of files to
be changed. Also, this sets up the extensions dialog (we're only using
one now) to be integrated into the GTKmm codebase easier.
2005-04-21 Jon A. Cruz <jon@joncruz.org>
* src/widgets/sp-color-wheel-selector.cpp,
src/widgets/sp-color-scales.h, src/widgets/sp-color-slider.cpp,
src/widgets/sp-color-scales.cpp:
Changed CMYK selector to display values as 0-100. Fixes REF #1124499.
2005-04-21 Jon A. Cruz <jon@joncruz.org>
* src/xml/repr-io.cpp:
Expand entities; matches 0.41 behavior. Fixes bug #1157478.
2005-04-20 Jon A. Cruz <jon@joncruz.org>
* src/sp-object-repr.cpp:
Turned off the half-done <animate> element. Fixes bug #1119935.
2005-04-19 Carl Hetherington <inkscape@carlh.net>
* src/pen-context.cpp: snap first point to grid correctly, fixing
#1152057. Remove a pointless call to spdc_endpoint_snap().
* src/main.cpp: support for command-line export of PS and EPS,
with options.
2005-04-19 Piers Titus van der Torren <piersvdt@users.sourceforge.net>
* src/seltrans.cpp:
Fixed skew so it displays and snaps to angle instead of percentage.
2005-04-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/internal/pov-out.cpp (PovOutput::save):
Was dividing component bytes by 256 instead of the usual 255 to get
floating point component. Changed to use sp_color_get_rgb_floatv
instead. (N.B. This change is wrong if pov files disallow 1.0.)
Multiply opacity by product of all ancestors' opacity property computed
value.
2005-04-18 Carl Hetherington <inkscape@carlh.net>
* src/sp-line.cpp, src/dialogs/unclump.cpp,
src/extension/internal/ps.cpp,
src/libnrtype/Layout-TNG-Output.cpp,
src/Layout-TNG-Scanline-Makers.cpp, src/livarot/PathCutting.cpp:
add missing include of nr-point-matrix-ops.h.
2005-04-17 Jon A. Cruz <jon@joncruz.org>
* src/toolbox.cpp:
Corrected improper use of static. Fixes bug #1171919.
2005-04-16 Ted Gould <ted@gould.cx>
* src/extension/extension.cpp, src/extension/parameter.cpp:
Adding in autogui for strings and booleans. Also making everything
a little more robust.
2005-04-17 cyreve <cyreve@users.sourceforge.net>
* src/: sp-text.cpp, sp-text.h, text-context.cpp, text-editing.cpp,
text-editing.h, libnrtype/Layout-TNG-Compute.cpp: hook up keys
for adding rotate= attribute to text elements
* src/libnrtype/Layout-TNG-OutIter.cpp: visual cursor left/right in
counterdirectional text runs
2005-04-16 cyreve <cyreve@users.sourceforge.net>
* src/: display/nr-arena-glyphs.cpp, libnrtype/FontInstance.cpp,
libnrtype/RasterFont.cpp, libnrtype/font-instance.h,
libnrtype/font-style.h: make miter-limit work for text outlines
(bug 1094430)
2005-04-16 Ted Gould <ted@gould.cx>
* src/main.cpp:
Added a command-line arguement --extension-directory to find what
extension directory Inkscape is configured for. This should be
helpful for external extensions that want to use the same path
as Inkscape itself on their install.
* src/extension/extension.cpp, src/extension/init.cpp:
Putting in half of Aaron's fix, mostly the one to keep things from
crashing, next we need to examine how to add multiple search paths
for extension dependencies.
Also, added a check so that autogui won't create a GUI if there are
no preferences.
2005-04-13 Jon Phillips <jon@rejon.org>
* src/toolbox.cpp: removed code that was beeping and prepped for new
drag-n-drop color swatches.
2005-04-13 cyreve <cyreve@users.sourceforge.net>
* src/path-chemistry.cpp: wire up converting object to path for
flowtext
2005-04-13 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp:
Simple drag-n-drop out from color swatches.
2005-04-12 cyreve <cyreve@users.sourceforge.net>
* src/: selection-chemistry.cpp, text-context.cpp, text-context.h,
text-editing.cpp, text-editing.h: cut and copy selected text (bug
1175441)
2005-04-12 Ted Gould <ted@gould.cx>
* src/extension/extension.cpp, src/extension/extension.h,
src/extension/parameter.cpp, src/extension/parameter.h,
src/extension/implementation/script.cpp:
This is support for having command line arguments from the parameters,
mostly this is a quick hack to get Aaron working, I'll clean it up
shortly, I promise. But, it does seem to be working right now. More
polish shortly.
2005-04-10 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp:
Adding drag-n-drop support for arbitrary images. Fixes bug 1177714.
2005-04-10 Ted Gould <ted@gould.cx>
* Lots of files:
Moving around the plugins, and disabling the feature. I've put all
the functionality into the internal directory. This should allow for
the features to be used until plugins could work. Also, adding in
features to do autogui with the parameters of a given extension.
2005-04-09 Bryce <bryce@bryceharrington.org>
* src/view.h, src/application/editor-impl.cpp,
src/application/editor-impl.h, src/svg-view.h:
C++-ification. Created some C++ wrapper member functions for
SPView and SPSVGView, to enable Gtkmmification of SPDesktop
2005-04-09 MenTaLguY <mental@rydia.net>
* src/selection.cpp, src/selection.h, src/dialogs/align.cpp,
src/extension/implementation/script.cpp,
src/extension/plugin/bluredge.cpp, src/util/glib-list-iterators.h:
excise STL abuse, and fix up the glib list iterators
2005-04-09 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/interface.cpp, src/shortcuts.cpp,
src/sp-object-repr.cpp, src/sp-skeleton.cpp, src/verbs.cpp,
src/dialogs/export.cpp, src/display/nr-arena-item.cpp,
src/libnrtype/FontFactory.cpp, src/libnrtype/TextWrapper.h,
src/livarot/ShapeMisc.cpp, src/livarot/float-line.cpp:
combined several different 64-bit cleanness patches
2005-04-08 Jon Phillips <jon@rejon.org>
* src/ui/dialog/dialog-manager.cpp src/ui/dialog/dialog-manager.h:
added copyright statements about dialog manager code I wrote.
2005-04-08 MenTaLguY <mental@rydia.net>
* src/draw-context.cpp, src/dyna-draw-context.cpp, src/path-chemistry.cpp,
src/selection-chemistry.cpp, src/selection.cpp, src/selection.h,
src/splivarot.cpp, src/extension/plugin/bluredge.cpp,
src/trace/trace.cpp:
renaming Inkscape::Selection methods that deal with XML::Nodes
2005-04-08 MenTaLguY <mental@rydia.net>
* src/document-undo.cpp: try again with handling incomplete transactions
more gracefully
2005-04-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/io/sys.h, src/io/sys.cpp (dir_open, dir_read_utf8name):
New functions: utf8 wrappers around g_dir_open, g_dir_read_name.
2005-04-02 Bryce Harrington <bryce@bryceharrington.org>
* configure.ac share/ui/menus-bars.xml, src/Makefile.am,
src/Makefile_insert, src/file.cpp,
src/application/editor-impl.cpp,
src/application/editor-impl.h,
src/extension/init.cpp, src/extension/input.cpp,
src/extension/system.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/plugin.cpp,
src/extension/implementation/script.cpp,
src/extension/internal/svg.cpp
: Implementing preliminary load-from-URI functionality.
2005-04-02 MenTaLguY <mental@rydia.net>
* src/document-undo.cpp, src/xml/event-fns.h, src/xml/event.cpp,
src/xml/event.h:
more debugging info for incomplete transactions
2005-04-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-gradient.cpp: Fix crash with cycles in gradient hrefs.
2005-04-01 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/panel.h, src/ui/widget/panel.cpp, src/ui/previewholder.h,
src/ui/previewholder.cpp,src/dialogs/swatches.cpp,
src/dialogs/swatches.h:
Added UI for switching palettes
2005-04-01 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.cpp (sp_style_merge_from_dying_parent): New function to
combine the styles of the <use> element and its ghost child when
unlinking.
* src/sp-use.cpp: Use it.
2005-03-31 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/panel.cpp, src/ui/widget/panel.h, src/path-prefix.h,
src/dialogs/swatches.cpp, src/dialogs/swatches.h
share/palettes/Makefile.am, share/palettes/svg.gpl:
Adding palette loading.
2005-03-31 Jean-François Lemaire <jflemaire@skynet.be>
* share/icons/David_icons.svg: new icon theme by David Christian Berg
* share/icons/README.icons: explanations on how to use the theme
2005-03-30 Jean-François Lemaire <jflemaire@skynet.be>
* share/icons/icons.svg: included the layer menu icons
* src/verbs.cpp: assigned names for the layer menu icons
2005-03-24 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/panel.h, src/ui/widget/panel.cpp,
src/ui/previewholder.h, src/ui/previewfillable.h,
src/dialogs/iconpreview.cpp, src/dialogs/swatches.cpp:
Adding panel menu
2005-03-27 Jon Phillips <jon@rejon.org>
* src/toolbox.cpp src/toolbox.h src/ui/dialog/dialog-manager.cpp
src/ui/dialog/dialog-manager.h: Added generic dialog adding,
deleting, and getting and fixed toolboxes to be static with no
warnings.
2005-03-26 Bryce <bryce@bryceharrington.org>
* share/ui/keybindings.rc, share/ui/menus-bars.xml
src/application/editor-impl.cpp, src/application/editor-impl.h,
src/extension/internal/svg.cpp, src/ui/dialog/Makefile_insert,
src/ui/dialog/dialog-manager.cpp,
src/ui/dialog/dialog-manager.h, src/ui/dialog/messages.cpp,
src/ui/dialog/messages.h: Initial implementation of canvas in
gtkmm. Incorporating Messages dialog.
2005-03-24 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix relative transforms to accommodate viewbox
2005-03-24 Jon A. Cruz <jon@joncruz.org>
* src/ui/Makefile_insert, src/dialogs/swatches.cpp,
src/dialogs/swatches.h, src/ui/previewable.h,
src/ui/previewfillable.h, src/ui/previewholder.cpp,
src/ui/previewholder.h:
Refactoring previewable functionality to be more generic
2005-03-24 cyreve <cyreve@users.sourceforge.net>
* src/: text-context.cpp, text-editing.cpp, text-editing.h:
functions for applying style to selected text, and wire them
up to ctrl-b/ctrl-i for bold/italic
2005-03-23 Jon Phillips <jon@rejon.org>
* src/toolbox.h src/toolbox.cpp: Fixed warning messages.
2005-03-23 Jon A. Cruz <jon@joncruz.org>
* src/ui/previewable.h, src/ui/Makefile_insert,
src/dialogs/swatches.h, src/dialogs/swatches.cpp:
Preliminary work for 'Previewable' interface.
2005-03-23 cyreve <cyreve@users.sourceforge.net>
* src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-Output.cpp: make text on path work correctly
with accent glyphs and suchlike
* src/: text-chemistry.cpp, libnrtype/Layout-TNG.h: apply text's
alignment to startOffset on new textpath elements, fixes bug
1168145
* src/libnrtype/Layout-TNG-OutIter.cpp: selecting text to the end
sometimes displays wrong
2005-03-22 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/desktop-handles.cpp,
src/desktop-handles.h, src/desktop.cpp, src/desktop.h,
src/document.h, src/draw-context.cpp, src/draw-context.h,
src/file.cpp, src/forward.h, src/gradient-context.cpp,
src/gradient-drag.cpp, src/gradient-drag.h, src/gradient-toolbar.cpp,
src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp,
src/node-context.h, src/nodepath.cpp, src/object-ui.cpp,
src/path-chemistry.cpp, src/rect-context.cpp, src/selcue.cpp,
src/selcue.h, src/select-context.cpp, src/select-toolbar.cpp,
src/selection-chemistry.cpp, src/selection-chemistry.h,
src/selection-describer.cpp, src/selection-describer.h,
src/selection.cpp, src/selection.h, src/seltrans.cpp,
src/seltrans.h, src/sp-flowtext.cpp, src/spiral-context.cpp,
src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
src/text-context.cpp, src/toolbox.cpp, src/verbs.cpp,
src/dialogs/align.cpp, src/dialogs/clonetiler.cpp,
src/dialogs/display-settings.cpp, src/dialogs/fill-style.cpp,
src/dialogs/find.cpp, src/dialogs/iconpreview.cpp,
src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp,
src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp,
src/dialogs/tiledialog.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp, src/extension/plugin/bluredge.cpp,
src/extension/plugin/grid.cpp, src/trace/trace.cpp,
src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h,
src/ui/dialog/transformation.cpp, src/ui/dialog/transformation.h,
src/widgets/sp-widget.cpp, src/widgets/sp-widget.h:
SPSelection -> Inkscape::Selection
2005-03-22 cyreve <cyreve@users.sourceforge.net>
* src/text-context.cpp: pressing esc doesn't hide text selection
* src/: text-context.cpp, text-context.h, text-editing.cpp,
text-editing.h, libnrtype/Layout-TNG-OutIter.cpp,
libnrtype/Layout-TNG.h: make text selection inverse
2005-03-21 Jon Phillips <jon@rejon.org>
* share/icons/icons.svg src/dropper-context.cpp
src/dropper-context.h src/toolbox.cpp src/toolbox.h
src/dialogs/display-settings.cpp: Added controls for eye dropper
so that I could get color values. Removed option from application
preferences.
2005-03-21 MenTaLguY <mental@rydia.net>
* src/util/Makefile_insert, src/util/glib-list.h,
src/util/glib-list-iterators.h:
retired old Glib list to Util::List adaptor and replaced it with
new iterator classes that directly wrap the Glib list types
2005-03-21 cyreve <cyreve@users.sourceforge.net>
* src/: text-editing.cpp, libnrtype/Layout-TNG-OutIter.cpp: text
selection doesn't show when it starts at the end of a line
* src/: text-context.cpp, text-editing.cpp: crash on overtyping
selection, and displayed selection not removed on overtype
* src/text-editing.cpp: kerning information placed wrongly in text
after child span element
* src/libnrtype/Layout-TNG-OutIter.cpp: crash when pressing home key
* src/: text-context.cpp, text-context.h: text selection using the
mouse
* src/: make.dep, make.files, make.ofiles,
libnrtype/Layout-TNG-OutIter.cpp: further optimisation of text
selection, and an implementation for text on a path
* src/: text-editing.cpp, libnrtype/Layout-TNG-OutIter.cpp,
libnrtype/Layout-TNG.h: optimisation of text selection and fixing
some bugs in it
2005-03-18 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/file.cpp, src/gradient-context.cpp,
src/node-context.cpp, src/object-ui.cpp, src/path-chemistry.cpp,
src/rect-context.cpp, src/select-context.cpp,
src/selection-chemistry.cpp, src/selection.cpp, src/selection.h,
src/sp-flowtext.cpp, src/spiral-context.cpp, src/splivarot.cpp,
src/star-context.cpp, src/text-chemistry.cpp, src/text-context.cpp,
src/dialogs/find.cpp, src/dialogs/in-dt-coordsys.cpp,
src/dialogs/xml-tree.cpp:
cleaned up the selection API slightly
2005-03-20 cyreve <cyreve@users.sourceforge.net>
* src/: text-context.cpp, text-context.h, text-editing.cpp,
text-editing.h, libnrtype/Layout-TNG-OutIter.cpp,
libnrtype/Layout-TNG.h: initial implementation of text selection
(keyboard only)
* src/libnrtype/Layout-TNG-OutIter.cpp: making
createSelectionShape() work
* src/: sp-text.cpp, sp-text.h: text-anchor sometimes won't work in
text on a path when x/y coordinates are set
* src/libnrtype/Layout-TNG-Output.cpp: text on path: cut characters
before start of path and calculate bounding box correctly when
this happens
2005-03-14 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/Makefile_insert, src/dialogs/swatches.cpp,
src/dialogs/swatches.h, src/verbs.h, src/verbs.cpp,
src/interface.cpp:
Initial cut of swatches panel.
2005-03-19 cyreve <cyreve@users.sourceforge.net>
* src/libnrtype/Layout-TNG-Compute.cpp: rendering of
multiple-character clusters in rtl text is wrong (bug 1166603)
* src/: make.dep, make.files, make.ofiles, sp-text.cpp, sp-text.h,
text-editing.cpp: glue kerning info back together on deleting
line breaks
* src/sp-tspan.cpp: textpath startOffset attribute doesn't save
correctly when it's a percentage (remnants of bug 1124722)
* src/: text-context.cpp, text-context.h, text-editing.cpp,
text-editing.h, libnrtype/Layout-TNG.h: use Layout::iterator for
storing cursor position. Fixes bug 1093660 related to rtl cursor
movement
* src/libnrtype/: Layout-TNG-OutIter.cpp, Layout-TNG.h: implement
backend cursor movement functions properly for multidirectional
text
* src/libnrtype/Layout-TNG-Output.cpp: create more efficient
postscript output
* src/libnrtype/: Layout-TNG-OutIter.cpp, Layout-TNG-Output.cpp,
Layout-TNG.h: obey text-align attribute when fitting text to a
path (fixes bug 1124722)
* src/: attributes-test.cpp, attributes.cpp, attributes.h,
sp-flowtext.cpp, sp-text.cpp, sp-tspan.cpp, sp-tspan.h,
style-test.cpp, libnrtype/Layout-TNG-Output.cpp: wire up
startOffset attribute to textpath and fix bugs in it
* src/sp-flowtext.cpp: unflow text command loses formatting
* src/xml/repr-io.cpp: xml pretty-printer adding whitespace in
xml:space=preserve elements
* src/: sp-flowtext.cpp, text-editing.cpp: line breaks not being
put before strings immediately following para elements, and
deleting line breaks copies style wrongly
2005-03-18 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/sp-item-group.cpp, src/xml/Makefile_insert,
src/xml/node-fns-tree.cpp, src/xml/node-fns-tree.h,
src/xml/node-fns.cpp, src/xml/node-fns.h, src/xml/node-iterators.h,
src/xml/repr.cpp, src/xml/simple-node.cpp:
renamed node-fns-tree to node-fns, and moved sp_repr_prev etc
into Inkscape::XML namespace (as e.g. previous_node)
2005-03-18 cyreve <cyreve@users.sourceforge.net>
* src/libnrtype/Layout-TNG-Compute.cpp: cursor position on blank
first line sometimes goes wrong
* src/: make.dep, make.files, make.ofiles, text-editing.cpp:
spurious line break added before text in text and font dialog
(bug 1166016)
* src/: make.dep, make.files, make.ofiles, libnrtype/FlowBoxes.cpp,
libnrtype/FlowBoxes.h, libnrtype/FlowDefs.h,
libnrtype/FlowDest.cpp, libnrtype/FlowDest.h,
libnrtype/FlowEater.cpp, libnrtype/FlowEater.h,
libnrtype/FlowRes.cpp, libnrtype/FlowRes.h,
libnrtype/FlowResOut.cpp, libnrtype/FlowSols.cpp,
libnrtype/FlowSols.h, libnrtype/FlowSrc.cpp, libnrtype/FlowSrc.h,
libnrtype/FlowSrcText.cpp, libnrtype/FlowSrcText.h,
libnrtype/FlowStyle.cpp, libnrtype/FlowStyle.h,
libnrtype/FlowUtils.cpp, libnrtype/FlowUtils.h,
libnrtype/Makefile_insert: remove all old text layout code (7,577
lines)
* src/: sp-flowregion.cpp, sp-flowregion.h, sp-flowtext.cpp,
sp-string.cpp, sp-tspan.cpp: purge flow_dest class from code
* src/: text-editing.cpp, libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: define a value
for line-height:normal and use it consistently
* src/: sp-text.cpp, sp-text.h, text-editing.cpp: adjust kerning
attributes on adding/removing line breaks
2005-03-17 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-group.cpp, src/display/nr-arena-item.cpp:
whoops, we were calling the 'children' vfunc rather than
'last_child' when appending, hence the bug... fixed now.
2005-03-17 cyreve <cyreve@users.sourceforge.net>
* src/: sp-text.cpp, libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h: x,y
attributes on tspans set wrongly when alignment != left (bug
1165427)
* src/: sp-text.cpp, sp-text.h: break before tspan role=line
elements, ie allow first tspan not to have role=line
* src/: make.dep, make.files, make.ofiles, sp-flowtext.cpp,
sp-object.cpp: fix inheritance problems with xml:space attribute
* src/libnrtype/Layout-TNG-OutIter.cpp: crash on pressing enter
immediately after creating text
* src/: object-ui.cpp, sp-flowtext.cpp: set xml:space=preserve on
new flowdiv elements
* src/libnrtype/Layout-TNG-Compute.cpp: second try at solving
numerical problems when line-height is set
* src/: sp-flowtext.cpp, sp-flowtext.h, verbs.cpp: slightly
objectify SPFlowtext and rearrange its updating a tiny bit
* src/: path-chemistry.cpp, sp-flowregion.cpp, sp-offset.cpp,
sp-text.cpp, sp-text.h, sp-use-reference.cpp, splivarot.cpp:
slightly objectify SPText & rearrange updating code, also fixes
bug causing all letters to appear on top of each other
* src/libnrtype/Layout-TNG-Compute.cpp: characters will draw
multiple times when x or y attributes set
2005-03-16 cyreve <cyreve@users.sourceforge.net>
* src/text-editing.cpp: kerning: add/remove kerns with
insertion/deletion of characters, and only apply kerns to the
topmost xml object
* src/: help.cpp, selection-chemistry.cpp, sp-text.cpp, sp-text.h,
text-context.cpp, text-editing.cpp, text-editing.h,
dialogs/text-edit.cpp: move functions applying to both text and
flowtext to text-editing & rename them. Also fixes crash on
letter/linespacing adjustment for flowtext
* src/text-editing.cpp: fix crash on pressing delete at the end of
text
* src/: text-editing.cpp, libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-OutIter.cpp, libnrtype/Layout-TNG.h:
position cursor correctly in empty text objects
* src/: sp-item-group.cpp, sp-object.cpp: optimise adding children
to the end of a group - big improvement for tile clones
* src/: sp-flowtext.cpp, sp-text.cpp, text-context.cpp,
text-editing.cpp, text-editing.h: text editing fixes: track line
breaks with preceding para tag, finish abstracting line
break/remove functions to work on flowtext
* src/libnrtype/Layout-TNG-Compute.cpp: cursor positioning
off-by-one in some cases of wrapped text
2005-03-15 cyreve <cyreve@users.sourceforge.net>
* src/libnrtype/Layout-TNG-Compute.cpp: small tweak to make cursor
positioning work right in counterdirectional spans in fully
justified text
* src/sp-text.cpp: tweak function for adjusting linespacing by
keyboard to be more precise
* src/: attributes-test.cpp, attributes.cpp, make.dep, make.files,
make.ofiles, style-test.cpp, style.cpp,
libnrtype/Layout-TNG-Output.cpp: make the unit tests pass for the
new styles, and workaround build breakage when pango < 1.8
installed
* src/: sp-flowtext.cpp, sp-flowtext.h,
libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-Scanline-Makers.cpp, libnrtype/Layout-TNG.h:
wiring up full justification to old attribute & fixing bugs in
it, which turned in to a major refactoring of layout code
2005-03-14 Jon Phillips <jon@rejon.org>
* src/attributes-test.cpp, src/attributes.cpp, src/attributes.h,
src/desktop.cpp, src/sp-namedview.cpp, src/sp-namedview.h,
src/dialogs/desktop-properties.cpp:
Added showpageshadow preference to document preferences. Set to
on automatically and saves with document if off.
2005-03-14 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-item.h, src/display/nr-arena-item.cpp,
src/display/nr-arena-group.cpp:
added virtual accessor for last child
2005-03-14 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/verb.cpp, src/verbs.h,
src/ui/widget/panel.cpp, src/dialogs/Makefile_insert,
src/dialogs/extensions.cpp, src/dialogs/extensions.h,
src/extension/error-file.cpp:
Added rough cut of initial extensions panel and dialog.
2005-03-13 Bryce Harrington <bryce@bryceharrington.org>
* src/path-prefix.h: Rearranging linking of libui and libutil
* src/application/application.cpp, src/application/application.h
src/application/editor-impl.cpp,
src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog.cpp,
src/ui/dialog/dialog.h, src/ui/widget/labelled.cpp,
src/ui/dialog/transformation.h, src/ui/dialog/transformation.cpp,
src/ui/widget/unit-menu.h, src/util/units.cpp:
Integrating Transformation dialog. Removing hardcoded paths.
* share/icons/Makefile.in, share/icons/arrows-horiz.svg,
share/icons/arrows-vert.svg, share/icons/arrows_hor.xpm,
share/icons/arrows_ver.xpm, share/icons/rotate.svg,
share/icons/rotate.xpm, share/icons/scale_hor.xpm,
share/icons/scale_ver.xpm, share/icons/Makefile.am:
Adding icons needed by transformation dialog
* share/ui/units.txt, share/ui/units.xml:
Moving units into ui/ subdir. Dunno if this is the best
location for them, but pjrm thought it'd be ok for now.
2005-03-13 cyreve <cyreve@users.sourceforge.net>
* src/sp-text.cpp: allow adjusting letter spacing when cursor is at
eol
* src/: make.dep, make.files, make.ofiles,
libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-OutIter.cpp,
libnrtype/Layout-TNG-Output.cpp, libnrtype/Layout-TNG.h: fix
kerning when align != left, and fix linespacing < 100
* src/: sp-flowtext.cpp, sp-text.cpp, sp-text.h, style.cpp,
style.h, libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-Input.cpp, libnrtype/Layout-TNG-OutIter.cpp,
libnrtype/Layout-TNG-Output.cpp,
libnrtype/Layout-TNG-Scanline-Maker.h, libnrtype/Layout-TNG.h:
implement line-height css property, & fix percentage handling in
style
2005-03-12 MenTaLguY <mental@rydia.net>
* src/node-context.cpp, src/node-context.h, src/nodepath.cpp,
src/nodepath.h, src/toolbox.cpp, src/dialogs/align.cpp:
Renamed Path namespace to Inkscape::NodePath, to avoid conflict
with livarot
2005-03-12 Kees Cook <kees@outflux.net>
* inkscape.nsi: added German translation from Adib Taraben.
2005-03-12 MenTaLguY <mental@rydia.net>
* src/sp-namedview.cpp, src/sp-metadata.cpp: it's valid for an SPObject
'write' method to be passed the object's own XML node; account for this.
2005-03-12 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.cpp: assert that src != this in
SimpleNode::mergeFrom
2005-03-12 MenTaLguY <mental@rydia.net>
* src/gc-alloc.h: minor cosmetic adjustments
* src/util/list-container.h: pedantically correct implementation of
ListContainer::max_size()
* src/xml/simple-node.cpp: use Util::ListContainer iterators in a more
STL-ish fashion
2005-03-12 Jon A. Cruz <jon@joncruz.org>
* src/ui/widget/panel.h, src/ui/widget/panel.cpp,
src/ui/widget/Makefile_insert, src/dialogs/iconpreview.h,
src/dialogs/iconpreview.cpp:
Initial addition of Panel.
2005-03-12 cyreve <cyreve@users.sourceforge.net>
* src/sp-flowtext.cpp: text unflow command losing space characters:
add xml:space to generated elements
* src/: attributes.cpp, attributes.h, make.dep, make.files,
make.ofiles, sp-flowtext.cpp, sp-text.cpp, style.cpp, style.h,
text-context.cpp, text-editing.cpp, dialogs/text-edit.cpp,
libnrtype/FlowRes.cpp, libnrtype/Layout-TNG-Compute.cpp,
libnrtype/Layout-TNG-Input.cpp: add several new text properties
to SPStyle and rearrange some of the existing ones, also remove
spurious warning on applying kerning
* src/sp-flowtext.cpp: svg spec requires us to break after flowline
content, not before
2005-03-11 cyreve <cyreve@users.sourceforge.net>
* src/desktop-style.cpp, src/sp-text.cpp, src/sp-text.h,
src/sp-tspan.cpp, src/sp-tspan.h, src/text-chemistry.cpp,
src/text-editing.cpp,
src/text-editing.h: combine the common attribute handling for text,
tspan and textpath into one class
* src/sp-flowtext.cpp, src/sp-string.cpp: reimplement xml:space attribute
* src/sp-text.cpp, src/libnrtype/Layout-TNG-OutIter.cpp,
src/libnrtype/Layout-TNG.h: apply calculated x/y attributes to tspan
role=line elements
* src/libnrtype/Layout-TNG-Output.cpp: postscript text output
incorrectly scaled (and other problems)
2005-03-10 cyreve <cyreve@users.sourceforge.net>
* src/sp-flowdiv.h, src/sp-flowtext.h,
src/sp-text.cpp, src/sp-text.h, src/sp-tspan.h, src/text-context.cpp,
src/text-editing.cpp, src/text-editing.h,
src/libnrtype/Layout-TNG-Compute.cpp,
src/libnrtype/Layout-TNG-OutIter.cpp: clean up xml tree properly on
deleting line break, & fix various compile issues
* src/nodepath.cpp, src/sp-flowdiv.cpp,
src/sp-flowdiv.h, src/sp-flowtext.cpp, src/sp-flowtext.h,
src/sp-string.cpp,
src/sp-string.h, src/sp-text.cpp, src/sp-text.h, src/sp-tspan.cpp,
src/sp-tspan.h,
src/text-editing.cpp, src/verbs.cpp, src/libnrtype/FontInstance.cpp,
src/libnrtype/font-instance.h, src/livarot/Shape.h,
src/libnrtype/Layout-TNG-Compute.cpp, src/libnrtype/Layout-TNG-Input.cpp,
src/libnrtype/Layout-TNG-OutIter.cpp,
src/libnrtype/Layout-TNG-Output.cpp,
src/libnrtype/Layout-TNG-Scanline-Maker.h,
src/libnrtype/Layout-TNG-Scanline-Makers.cpp,
src/libnrtype/Layout-TNG.cpp, libnrtype/Layout-TNG.h: huge rewrite of
text layout (and some text editing) code
2005-03-07 Kees Cook <kees@outflux.net>
* src/libnr/have_mmx.S, src/libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S,
src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S,
src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S,
src/libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S: execstack patch
from Mike Hearn.
2005-03-07 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp, src/verbs.h, src.verbs.cpp, src/widgets/icon.cpp,
src/dialogs/iconpreview.h, src/dialogs/iconpreview.cpp,
src/dialogs/Makefile_insert:
Initial cut of icon preview.
2005-03-05 Bryce Harrington <bryce@bryceharrington.org>
* share/icons/*.svg, share/icons/Makefile.am: Adding icons for
new gui interface
* src/ui/icons.cpp: Fixing some paths
* src/main.cpp src/application/Makefile_insert,
src/application/app-prototype.h,
src/application/application.cpp src/application/editor.cpp,
src/ui/widget/toolbox.cpp,
src/application/editor-impl.cpp:
Broke out editor-impl class to its own file. Continued getting
the new interface to the point where it'll load and run.
* share/ui/keybindings.rc, share/ui/toolbox.xml, share/ui/menus-bars.xml:
Migrating some of the UI definition stuff into main codebase
2005-03-05 Jon A. Cruz <jon@joncruz.org>
* src/widgets/layer-selector.cpp, src/widgets/icon.h,
src/widgets/icon.cpp, src/dialogs/align.cpp, src/dialogs/find.cpp,
src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp, src/interface.cpp:
Purging PixBufFactory and sp_icon_new_scaled.
2005-03-05 Jon A. Cruz <jon@joncruz.org>
* src/widgets/icon.cpp, src/widgets/icon.cpp: Switched icon loading
to be deferred and react to theme changes on-the-fly.
2005-03-05 Bryce Harrington <bryce@bryceharrington.org>
* src/application/Makefile_insert,
src/application/app-prototype.cpp,
src/application/editor.h,
src/application/app-prototype.h,
src/application/application.cpp:
Adding Application::AppPrototype class
* src/application/editor.cpp,
src/application/editor.h:
Changing member function getImpl() to getWindow()
2005-03-04 Jon A. Cruz <jon@joncruz.org>
* src/widgets/icon.cpp: Changed stock item loading to use stock
GtkImage widgets directly.
2005-03-03 MenTaLguY <mental@rydia.net>
* src/widgets/icon.cpp: more idiomatic iteration
2005-03-02 Jon A. Cruz <jon@joncruz.org>
* src/toolbox.cpp: Added preference to make the top toolbox 'small'.
2005-03-02 Jon A. Cruz <jon@joncruz.org>
* src/desktop-events.cpp, src/desktop.cpp, src/gradient-toolbar.cpp,
src/interface.cpp, src/select-toolbar.cpp, src/toolbox.cpp,
src/toolbox.h, src/dialogs/find.cpp,
src/dialogs/object-properties.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp, src/widgets/button.cpp,
src/widgets/button.h, src/widgets/icon.cpp, src/widgets/icon.h,
src/widgets/layer-selector.cpp, src/widgets/paint-selector.cpp,
src/widgets/widget-sizes.h:
Initial pass removing hardcoded icon sizes.
2005-03-01 MenTaLguY <mental@rydia.net>
* src/extensions/internal/ps.cpp: apply patch from Michael Forbes
(miforbes@mbhs.edu) to support gradient fills in Postscript
2005-03-01 MenTaLguY <mental@rydia.net>
* src/xml/node.h, src/xml/simple-node.cpp, src/xml/simple-node.h:
begin migration of notification interface to use NodeObserver
rather than NodeEventVector
2005-03-01 MenTaLguY <mental@rydia.net>
* src/xml/Makefile_insert, src/xml/node-listener.h, src/xml/repr.cpp,
src/xml/simple-node.cpp, src/xml/simple-node.h:
reworked listener list to use Util::ListContainer
* src/xml/node-observer.h: minor name cleanups
2005-03-01 MenTaLguY <mental@rydia.net>
* src/Makefile.am, src/algorithms/find-if-before.h:
added new generic algorithm
2005-03-01 MenTaLguY <mental@rydia.net>
* src/Makefile.am, src/util/Makefile_insert,
src/util/list-container-test.cpp, src/util/list-container.h:
tests and fixes for Util::ListContainer
2005-03-01 MenTaLguY <mental@rydia.net>
* src/Makefile.am, src/libnr/Makefile_insert, src/xml/Makefile_insert:
use in-tree copy of cxxtest
* src/util/Makefile_insert, src/util/list-container.h:
add Util::List-based STL container
2005-02-28 SwinginCelt <swinginceltgmail.com>
* Fixed an improper conversion of sp_repr_document_merge that was causing
extra data being written to the prefrences file every time inkscape
exited.
2005-02-26 SwinginCelt <swinginceltgmail.com>
* Replaced all sp_repr_set_content calls with direct call to
repr->setContent.
* Replaced all sp_repr_merge calls with direct call to
repr->mergeFrom.
* Removed inline sp_repr_document_merge because it wasn't used anywhere.
* Removed inline sp_repr_set_content because it wasn't used anywhere.
2005-02-26 MenTaLguY <mental@rydia.net>
* cxxtest: imported cxxtest tree
2005-02-24 Jon A. Cruz <jon@joncruz.org>
* src/main.cpp, io/sys.h, io/sys.cpp:
Refactoring input filename conversion and fallback.
Fixes bug #1151536.
2005-02-22 Jon A. Cruz <jon@joncruz.org>
* src/main.cpp:
Refactoring sp_main_*. Adding cleanup phase on extracted filename list.
2005-02-22 Bryce Harrington <bryce@bryceharringotn.org>
* src/main.cpp, src/application/application.cpp: Adding --new-gui
option.
2005-02-22 Ted Gould <ted@gould.cx>
* src/interface.cpp:
Changing the effects menu to be driven by the preferences file so that the
file can be the same whether or not the effects are shown.
2005-02-22 MenTaLguY <mental@rydia.net>
* src/desktop-style.cpp, src/selection-chemistry.cpp,
src/xml/attribute-record.h, src/xml/node.h, src/xml/repr-css.cpp,
src/xml/repr-io.cpp, src/xml/simple-node.cpp, src/xml/simple-node.h:
use Inkscape::Util::List for attribute lists, and sprinkle some
appropriate 'using's in to make things less verbose
2005-02-22 Jon A. Cruz <jon@joncruz.org>
* src/inkscape.cpp, src/main.cpp, src/extension/input.cpp, src/io/sys.cpp,
src/xml/repr-io.cpp:
Better catching of problematic filenames.
Made segv handler only use dialog box when app is using a gui.
Fixes bug #1145847.
2005-02-22 Ted Gould <ted@gould.cx>
* src/extension/effect.cpp, src/extension/prefdialog.cpp,
src/extension/prefdialog.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/plugin-link.h,
src/extension/implementation/plugin.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h, src/extension/plugin/grid.cpp:
Changing the API of the effects preferences so that it doesn't use
sockets and plugs anymore. Now there is a generic widget passed down so
that should work on every platform.
* src/extension/plugin/grid.cpp:
Fixing the grid so that it uses the right axis.
* share/extensions/Makefile.am, share/extensions/bluredge.inx,
share/extensions/randompnt.inx, share/extensions/randompos.inx,
src/extension/plugin/Makefile_insert, src/extension/plugin/bluredge.cpp,
src/extension/plugin/randompnt.cpp, src/extension/plugin/randompos.cpp:
Adding some cool new effects, well, they're not really done yet,
but getting the basis code into CVS so I don't loose it :)
2005-02-21 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/sp-item-group.cpp, src/xml/Makefile_insert,
src/xml/node-fns-tree.cpp, src/xml/node-fns-tree.h,
src/xml/repr-get-children.cpp, src/xml/repr-get-children.h,
src/xml/repr.cpp, src/xml/simple-node.cpp:
renamed header files
* src/xml/Makefile_insert, src/xml/invalid-operation-exception.h:
added Inkscape::XML::InvalidOperationException
* src/xml/simple-node.h:
avoid a second indirect function call from SimpleNode::appendChild
2005-02-20 SwinginCelt <swinginceltgmail.com>
* Replaced all sp_repr_attr calls with direct call to
repr->attribute.
* Replaced all sp_repr_document_unref calls with direct call to
Inkscape::GC::release(...).
* Removed iinline sp_repr_document_ref because it wasn't used anywhere.
2005-02-20 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp: removed unused signals
2005-02-19 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/desktop.cpp, src/document-private.h,
src/document-undo.cpp, src/document.cpp, src/event-context.cpp,
src/gradient-chemistry.cpp, src/gradient-chemistry.h,
src/gradient-drag.cpp, src/gradient-drag.h, src/node-context.cpp,
src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/toolbox.cpp,
src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert,
src/xml/attribute-record.h, src/xml/document.h, src/xml/event-fns.h,
src/xml/event.cpp, src/xml/event.h, src/xml/node-event-vector.h,
src/xml/node-iterators.h, src/xml/node-listener.h, src/xml/node.h,
src/xml/repr-action-test.cpp, src/xml/repr-css.cpp, src/xml/repr-io.cpp,
src/xml/repr-sorting.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h, src/xml/simple-document.h, src/xml/simple-node.cpp,
src/xml/simple-node.h, src/xml/simple-session.cpp,
src/xml/sp-css-attr.h, src/xml/sp-repr-action-fns.h,
src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h,
src/xml/sp-repr-attr.h, src/xml/sp-repr-doc.h,
src/xml/sp-repr-event-vector.h, src/xml/sp-repr-iterators.h,
src/xml/sp-repr-listener.h, src/xml/sp-repr.h:
renamed header files to match new class names
2005-02-19 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/arc-context.h, src/desktop-events.cpp,
src/desktop-style.cpp, src/desktop-style.h, src/desktop.cpp,
src/document-private.h, src/document-undo.cpp, src/document.cpp,
src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/dyna-draw-context.h, src/event-context.cpp, src/event-context.h,
src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp,
src/inkscape.h, src/inkview.cpp, src/interface.cpp, src/knotholder.cpp,
src/knotholder.h, src/layer-fns.cpp, src/main.cpp, src/node-context.cpp,
src/nodepath.cpp, src/nodepath.h, src/object-ui.cpp,
src/path-chemistry.cpp, src/prefs-utils.cpp, src/rect-context.cpp,
src/rect-context.h, src/selection-chemistry.cpp, src/selection.cpp,
src/selection.h, src/seltrans.cpp, src/sp-anchor.cpp,
src/sp-animation.cpp, src/sp-clippath.cpp, src/sp-conn-end-pair.cpp,
src/sp-conn-end-pair.h, src/sp-defs.cpp, src/sp-ellipse.cpp,
src/sp-flowdiv.cpp, src/sp-flowregion.cpp, src/sp-flowtext.cpp,
src/sp-gradient-fns.h, src/sp-gradient-test.cpp, src/sp-gradient.cpp,
src/sp-guide.cpp, src/sp-image.cpp, src/sp-item-group.cpp,
src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp,
src/sp-linear-gradient-fns.h, src/sp-marker.cpp, src/sp-mask.cpp,
src/sp-metadata.cpp, src/sp-namedview.cpp, src/sp-namedview.h,
src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object-repr.h,
src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp, src/sp-offset.h,
src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp,
src/sp-polyline.cpp, src/sp-radial-gradient-fns.h, src/sp-rect.cpp,
src/sp-root.cpp, src/sp-shape.cpp, src/sp-skeleton.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/sp-string.cpp,
src/sp-symbol.cpp, src/sp-text.cpp, src/sp-tspan.cpp,
src/sp-use-reference.h, src/sp-use.cpp, src/spiral-context.cpp,
src/spiral-context.h, src/splivarot.cpp, src/star-context.cpp,
src/star-context.h, src/style.cpp, src/style.h, src/text-chemistry.cpp,
src/text-context.cpp, src/text-editing.cpp, src/toolbox.cpp,
src/verbs.cpp, src/application/application.cpp,
src/application/application.h, src/application/editor.h,
src/dialogs/clonetiler.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/export.cpp, src/dialogs/fill-style.cpp, src/dialogs/rdf.cpp,
src/dialogs/sp-attribute-widget.cpp, src/dialogs/sp-attribute-widget.h,
src/dialogs/stroke-style.cpp, src/dialogs/text-edit.cpp,
src/dialogs/tiledialog.cpp, src/dialogs/xml-tree.cpp,
src/ecma/EcmaBinding.cpp, src/ecma/EcmaBinding.h,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/effect.cpp, src/extension/effect.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/input.cpp, src/extension/input.h,
src/extension/output.cpp, src/extension/output.h,
src/extension/print.cpp, src/extension/print.h, src/extension/system.cpp,
src/extension/implementation/plugin.cpp,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
src/extension/internal/svg.cpp, src/extension/plugin/grid.cpp,
src/helper/stock-items.cpp, src/trace/trace.cpp,
src/widgets/dash-selector.cpp, src/widgets/dash-selector.h,
src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp,
src/widgets/layer-selector.cpp, src/widgets/layer-selector.h,
src/widgets/paint-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-widget.h, src/widgets/sp-xmlview-attr-list.cpp,
src/widgets/sp-xmlview-attr-list.h, src/widgets/sp-xmlview-content.cpp,
src/widgets/sp-xmlview-content.h, src/widgets/sp-xmlview-tree.cpp,
src/widgets/sp-xmlview-tree.h, src/widgets/spw-utilities.h,
src/xml/comment-node.h, src/xml/element-node.h, src/xml/node-observer.h,
src/xml/repr-action-test.cpp, src/xml/repr-css.cpp,
src/xml/repr-get-children.cpp, src/xml/repr-get-children.h,
src/xml/repr-io.cpp, src/xml/repr-sorting.cpp, src/xml/repr-sorting.h,
src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h,
src/xml/session.h, src/xml/simple-document.h, src/xml/simple-node.cpp,
src/xml/simple-node.h, src/xml/simple-session.cpp,
src/xml/simple-session.h, src/xml/sp-css-attr.h,
src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp,
src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h,
src/xml/sp-repr-doc.h, src/xml/sp-repr-event-vector.h,
src/xml/sp-repr-iterators.h, src/xml/sp-repr-listener.h,
src/xml/sp-repr.h, src/xml/text-node.h, src/xml/transaction-logger.h:
SPRepr -> Inkscape::XML::Node
SPReprDoc -> Inkscape::XML::Document
SPReprAttr -> Inkscape::XML::AttributeRecord
SPReprAction -> Inkscape::XML::Event
SPReprEventVector -> Inkscape::XML::EventVector
SPReprListener -> Inkscape::XML::NodeListener
etc..
2005-02-19 Jon A. Cruz <jon@joncruz.org>
* src/extension/extension.h, src/extension/internal/svg.cpp,
src/extension/internal/svgz.cpp:
Fixing .svgz Inkscape save and adding .svgz Plain save.
Fixes bug #1144223
2005-02-18 Jon A. Cruz <jon@joncruz.org>
* src/Makefile.am, src/libnr/Makefile_insert,
src/libnr/nr-point-fns-test.h src/libnr/nr-types-test.h:
Adding initial version of CxxTest test cases.
2005-02-17 Jon A. Cruz <jon@joncruz.org>
* src/io/gzipinputstream.h, src/io/gzipinputstream.cpp: Changed
decompression to be streammed and removed hardcoded limit.
2005-02-17 MenTaLguY <mental@rydia.net>
* src/inkscape.h, src/inkscape.cpp, src/desktop.cpp:
rewrote "last desktop standing" test to not suck
2005-02-15 SwinginCelt <swinginceltgmail.com>
* Replaced some sp_repr_attr calls with direct call to
repr->attribute.
2005-02-16 John Cliff <simarilius@yahoo.com>
* src/dialogs/tiledialog.h, src/dialogs/tiledialog.cpp,
src/dialogs/makefile_insert, src/verbs.cpp, src/verbs.h:
Added a dialog that allows you to arrange the selection
in a grid pattern with user defined spacing.
its in objects->grid arrange...
2005-02-15 SwinginCelt <swinginceltgmail.com>
* Replaced inline function sp_repr_name with direct call to
repr->name.
* Replaced inline function sp_repr_content with direct call to
repr->content.
* Replaced inline function sp_repr_has_attr with direct call to
repr->matchAttributeName.
2005-02-15 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/document.h, src/file.cpp, src/help.cpp,
src/inkscape.cpp, src/inkview.cpp, src/slideshow.cpp,
src/dialogs/filedialog.cpp, src/dialogs/stroke-style.cpp,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/svg.cpp, src/extension/plugin/gimpgrad.cpp,
src/helper/stock-items.cpp, src/widgets/icon.cpp:
removed unused SPDocument::advertize
2005-02-14 MenTaLguY <mental@rydia.net>
* src/document.cpp: remove redundant assignment that appears to confuse
gcc anyhow
2005-02-14 SwinginCelt <swingincelt@gmail.com>
* Replaced inline function sp_repr_set_position_absolute with
direct call to repr>->setPosition.
2005-02-13 Bryce <bryce@bryceharrington.org>
* src/main.cpp, src/application/application.cpp, src/inkscape.h,
src/application/editor-impl.h, src/application/editor.cpp
src/application/editor.h, src/ui/dialog/dialog-manager.cpp,
src/ui/dialog/dialog-manager.h, src/application/app-prototype.h
src/application/application.h: Integrating I::A::Application
into the execution path. Now its run() routine is called from
main().
* src/application/Makefile_insert, src/application/makefile.in,
src/application/editor-impl.h, src/application/editor.cpp,
src/application/editor.h: Initial import of inkscape_gtkmm
code. Also see doc/NewAppArchitecture/ presentation for the
rationale behind this.
* src/ui/dialog/align-and-distribute.cpp,
src/ui/dialog/align-and-distribute.h,
src/ui/dialog/dialog-manager.cpp, src/ui/dialog/dialog-manager.h,
src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h,
src/ui/dialog/document-preferences.cpp,
src/ui/dialog/document-preferences.h,
src/ui/dialog/export.cpp, src/ui/dialog/export.h,
src/ui/dialog/extension-editor.cpp, src/ui/dialog/extension-editor.h,
src/ui/dialog/fill-and-stroke.cpp, src/ui/dialog/fill-and-stroke.h,
src/ui/dialog/find.cpp, src/ui/dialog/find.h,
src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/inkscape-preferences.h,
src/ui/dialog/layer-editor.cpp, src/ui/dialog/layer-editor.h,
src/ui/dialog/messages.cpp, src/ui/dialog/messages.h,
src/ui/dialog/text-properties.cpp, src/ui/dialog/text-properties.h,
src/ui/dialog/tree-editor.cpp, src/ui/dialog/tree-editor.h,
src/ui/dialog/xml-editor.cpp, src/ui/dialog/xml-editor.h,
src/ui/widget/combo-text.cpp, src/ui/widget/combo-text.h,
src/ui/widget/handlebox.cpp, src/ui/widget/handlebox.h,
src/ui/widget/icon-widget.cpp, src/ui/widget/icon-widget.h,
src/ui/widget/labelled.cpp, src/ui/widget/labelled.h,
src/ui/widget/notebook-page.cpp, src/ui/widget/notebook-page.h,
src/ui/widget/scalar-unit.cpp, src/ui/widget/scalar-unit.h,
src/ui/widget/scalar.cpp, src/ui/widget/scalar.h,
src/ui/widget/toolbox.cpp, src/ui/widget/toolbox.h,
src/ui/widget/unit-menu.cpp, src/ui/widget/unit-menu.h:
Initial import of the gtkmm code. These are mainly
unimplemented stubs, but have few dependencies so are easy to
integrate at this stage.
* src/ui/widget/Makefile_insert, src/ui/widget/makefile.in,
src/ui/dialog/Makefile_insert, src/ui/dialog/makefile.in,
src/ui/Makefile_insert, src/ui/makefile.in: Adding makefile
support for new code.
* io/simple-sax.h, io/simple-sax.cpp: Adding Jon's simple SAX
code
* util/units.h, util/units.cpp: New inkscape_gtkmm units code
2005-02-12 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/document.h, src/sp-gradient-test.cpp:
SPDocument is now a "real C++ class", managed by the garbage collector
2005-02-12 MenTaLguY <mental@rydia.net>
* src/document-private.h, src/document.cpp, src/document.h, src/view.cpp,
src/view.h, src/dialogs/xml-tree.cpp:
switched SPDocument to sigc++ signals
2005-02-12 Kees Cook <kees@outflux.net>
* Makefile.am, configure.ac, Makefile.mingw.common, inkscape.nsi: undoing
my "configure" changes. Was dumb and forgot about native compiles on
win32.
* inkview.1.in, share/extensions/inkscape-shadow-white.sh,
share/extensions/inkscape-shadow.sh: corrections found by Wolfram
Quester during Debian packaging.
* src/desktop-events.cpp, src/file.cpp, src/gradient-chemistry.cpp,
src/interface.cpp, src/layer-fns.cpp, src/nodepath.cpp,
src/object-ui.cpp, src/path-chemistry.cpp, src/prefs-utils.cpp,
src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowtext.cpp,
src/sp-object.cpp, src/sp-pattern.cpp, src/sp-text.cpp, src/splivarot.cpp,
src/text-editing.cpp, src/dialogs/clonetiler.cpp, src/dialogs/rdf.cpp,
src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp,
src/extension/internal/gdkpixbuf-input.cpp, src/extension/plugin/grid.cpp,
src/widgets/gradient-selector.cpp, src/xml/repr-action-test.cpp,
src/xml/repr-css.cpp, src/xml/repr-io.cpp, src/xml/repr-util.cpp,
src/xml/repr.cpp, src/xml/repr.h: inline function removal patches from
Robert Crosbie.
2005-02-11 Kees Cook <kees@outflux.net>
* src/Makefile.mingw, src/make.*: win32 compile updates.
* src/extensions/internal/gnome.cpp: added my missing "comment" code.
* src/shortcuts.cpp, doc/keys.xml, doc/keys.html, share/screens/keys.svg:
added explicit ctrl-w. since gtk already binds it, we may as well show it.
2005-02-10 Jon A. Cruz <jon@joncruz.org>
* src/inkscape.cpp: Changed from SHGetSpecialFolderPath to
SHGetSpecialFolderLocation. Fixes bug #1085641
2005-02-10 MenTaLguY <mental@rydia.net>
* src/document.h, src/document.cpp: get rid of casting macro uses
2005-02-10 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/document-undo.cpp, src/document.cpp, src/file.cpp,
src/gradient-chemistry.cpp, src/inkscape.cpp, src/interface.cpp,
src/sp-metadata.cpp, src/sp-namedview.cpp, src/sp-object-repr.cpp,
src/sp-object.cpp, src/svg-view.cpp, src/uri-references.cpp,
src/view.cpp, src/dialogs/stroke-style.cpp,
src/widgets/gradient-selector.cpp, src/widgets/gradient-vector.cpp:
get rid needless uses of SP_IS_DOCUMENT (if we can't trust the
compiler's type checking, what can we trust?)
2005-02-10 MenTaLguY <mental@rydia.net>
* src/desktop-style.h, src/desktop.h, src/document.h, src/event-context.h,
src/inkscape.h, src/knotholder.h, src/nodepath.h,
src/selection-chemistry.h, src/selection.h, src/sp-conn-end-pair.h,
src/sp-object-repr.h, src/sp-object.h, src/style.h,
src/dialogs/sp-attribute-widget.h, src/extension/implementation/script.h,
src/xml/repr-get-children.h, src/xml/repr.h, src/xml/sp-repr-action.h,
src/xml/sp-repr-attr.h, src/xml/xml-forward.h:
got rid of xml-forward.h
2005-02-10 Kees Cook <kees@outflux.net>
* configure.ac, Makefile.am, src/Makefile.am, Makefile.mingw.common.in,
inkscape.nsi.in: setting up "configure" to build the other files that
expect version numbers to get updated. Including mingw files in dist
package.
2005-02-10 Jon A. Cruz <jon@joncruz.org>
* src/io/uristream.h, src/io/uristream.cpp,
src/extension/internal/svg.h, src/extension/internal/svg.cpp,
src/extension/internal/Makefile_insert,
src/extension/internal/extension.h,
src/extension/internal/init.cpp:
Adding internal .svgz load and save extension.
Probable fix for bugs #1074996, #1050361, #925033, #1052307
2005-02-08 Kees Cook <kees@outflux.net>
* src/extension/implementation/script.cpp: proper /tmp handling.
Closes bug #1074996.
* src/inkscape.cpp, src/inkscape.h, src/dialogs/export.cpp: correction
for export dialog paths. Closes bug #1114714.
* inkscape.nsi, Makefile.mingw.common: version bumps
* src/text-context.cpp: removed preedit code; it was broken and unneeded.
2005-02-08 Ted Gould <ted@gould.cx>
* Released 0.41
2005-02-01 Kees Cook <kees@outflux.net>
* src/xml/sp-css-attr.h, src/desktop-style.cpp, src/xml/repr-css.cpp,
src/xml/repr.h: Fixed SPCSSAttr to be a "real" class, at mental's
direction. Fixes my "default prefs don't show attrs" bug.
* src/helper/stock-items.cpp: removing redundant code.
* src/libnr/nr-point.h, src/libnrtype/FlowUtils.h, src/livarot/Shape.h:
added explicit initializations to keep valgrind happy.
* src/dir-util.cpp, src/sp-path.cpp, src/splivarot.cpp,
src/svg/svg-length.cpp, src/widgets/icon.cpp:
cleaning up memory leaks detected by valgrind.
* src/extension/dependancy.cpp: made repr-attr tags untranslatable.
* src/extension/system.cpp: correcting extension autodetection when
there are conflicting matching modules.
* src/dialogs/filedialog.cpp, src/extension/extension.h,
src/extension/internal/svg.cpp: .svgz loading works again as
expected. Non-functioning modules are not listed in file dialogs.
* src/text-context.cpp, src/text-editing.cpp: preedit modes don't
work correctly for multi-byte characters. See bug 1086769.
2005-01-31 Jon A. Cruz <jon@joncruz.org>
* src/file.cpp, src/inkscape.cpp, src/interface.cpp,
src/dialogs/export.cpp, src/extension/init.cpp:
sanitize messages before passing to display dialogs.
2005-01-31 Kees Cook <kees@outflux.net>
* src/libnrtype/FontFactory.cpp: added a crude font name detection
routine to work around a Pango crash bug. This can be removed once
Pango is fixed. See bug #1025565. Actually, I figured out a fix.
* print.cpp, print.h, sp-shape.cpp, extension/print.cpp,
extension/print.h, extension/implementation/implementation.cpp,
extension/implementation/implementation.h,
extension/implementation/plugin.cpp, extension/implementation/plugin.h,
extension/internal/gnome.h, extension/internal/ps.cpp,
extension/internal/ps.h, extension/internal/win32.h:
In an attempt to start debugging print rendering, I've added the
Print::comment function so that SPItem boundries can be easily
seen in rendered output.
* src/preferences-skeleton.h, src/sp-shape.cpp,
src/dialogs/display-settings.cpp, src/extension/internal/ps.cpp:
Added printout comments for print debugging. Fixed dash output
bug #1104050.
* src/dialogs/rdf.cpp: fixed rdf:bag displays. Closes bug #1113316.
2005-01-30 Jon A. Cruz <jon@joncruz.org>
* src/io/sys.h, src/io/sys.cpp: added utility routine to cleanup
strings with invalid UTF-8 for display.
2004-01-30 Kees Cook <kees@outflux.net>
* src/make.dep, src/make.exclude, src/make.files, src/make.ofiles,
src/io/uristream.cpp, src/io/sys.cpp: additional win32 changes
using Jon Cruz's new mkdir function. Getting Win32 to compile the
"io" directory. Closes bug #1107305.
* src/file.cpp, src/inkscape-stock.cpp, src/inkscape.cpp,
src/interface.cpp, src/main.cpp, src/dialogs/export.cpp,
src/dialogs/stroke-style.cpp, src/extension/input.cpp,
src/extension/implementation/script.cpp, src/helper/stock-items.cpp,
src/io/sys.cpp, src/io/sys.h, src/widgets/icon.cpp: wrapped
g_file_test with new Inkscape::IO::file_test since g_file_test isn't
utf8-safe.
* src/inkscape.cpp: removed call to g_free on non-alloced string.
fixed up crash-save location to be utf8-okay.
* src/extension/extension.cpp: convert from utf8 before open.
* src/sp-spiral.cpp, src/object-edit.cpp: found place where CLAMP on
spiral's t0 wasn't working. Closes bug #1075640.
2004-01-28 MenTaLguY <mental@rydia.net>
* src/sp-object.h, src/sp-object.cpp:
efficiency fixes which should be helpful when loading large documents
2005-01-29 Jon A. Cruz <jon@joncruz.org>
* src/file.h, src/file.cpp, src/inkscape.cpp, src/sp-image.cpp,
src/extension/implementation/script.cpp,
src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
src/extension/plugin/gimpgrad.cpp, src/helper/png-write.cpp,
src/io/Makefile_insert, src/io/sys.h, src/io/sys.cpp,
src/trace/imagemap.cpp, src/xml/repr-io.cpp:
Refactored open routine to better location.
2004-01-28 Kees Cook <kees@outflux.net>
* configure.ac: added test for libgc 6.4 or better.
* src/main.cpp: calling new SPRepr methods instead of inline wrappers.
2004-01-27 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.h, src/xml/simple-node.cpp:
SimpleNode::lastChild() and SimpleNode::appendChild() are now
O(1) rather than O(n)
2004-01-26 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp, src/xml/repr.cpp, src/xml/repr.h,
src/xml/sp-repr-action.h, src/xml/sp-repr-event-vector.h:
inlined legacy wrappers
* src/xml/simple-node.cpp: really fixed #1108231 now
2005-01-25 Jon A. Cruz <jon@joncruz.org>
* src/interface.cpp: Passed file import call to shared code.
Fixed bug #1108620.
2005-01-25 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.cpp: fixed bug #1108231
2005-01-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/desktop-properties.cpp: Changed set of paper sizes offered:
Removed `Folio' pagesize (which means a different paper size to
different people; will Folio be missed? If so, can we improve
the name?).
Changed ISO page sizes (A0..A10, B0..B10) to match official ISO
specification in mm.
Note that these differ from ghostscript's idea of page sizes;
see comment in desktop-properties.cpp for speculation of
possible problems (fuzziness from antialiasing).
(Note also that our previous sizes differed even more from
gs_statd.ps...)
Coalesced Ledger and Tabloid to a single entry (11x17in);
previously they differed in size.
Changed Icon 16x16 from 16pt to 16px; similarly Icon 32x32 and
Banner 468x60.
2004-01-24 MenTaLguY <mental@rydia.net>
* src/xml/simple-node.cpp: potential fix for bug #1108231
2004-01-23 Ted Gould <ted@gould.cx>
* po/POTFILES.in, share/extensions/dia.inx,
src/preferences-skeleton.h, src/extension/Makefile_insert,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/error-file.cpp, src/extension/error-file.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/init.cpp, src/extension/prefdialog.cpp:
Adding in functionality to write out an error log based on the failing to
load of extensions. There is also a new error dialog that appears if one
or more fail to alert the user and tell them where the error log is
stored. In the log there is more complex descriptions of what failed.
2004-01-23 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: fix for id binding bug
2004-01-23 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: don't complain about not having a namespace
URI for the standard xml: prefix
* src/desktop-style.cpp, src/desktop.cpp, src/document-undo.cpp,
src/file.cpp, src/gradient-chemistry.cpp, src/inkscape.cpp,
src/interface.cpp, src/nodepath.cpp, src/object-edit.cpp,
src/path-chemistry.cpp, src/prefs-utils.cpp, src/select-toolbar.cpp,
src/selection-chemistry.cpp, src/sp-defs.cpp, src/sp-flowdiv.cpp,
src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-item.cpp,
src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-object.cpp,
src/sp-offset.cpp, src/sp-pattern.cpp, src/sp-string.cpp,
src/sp-text.cpp, src/sp-tspan.cpp, src/sp-use.cpp, src/splivarot.cpp,
src/text-chemistry.cpp, src/text-context.cpp, src/text-editing.cpp,
src/dialogs/clonetiler.cpp, src/dialogs/display-settings.cpp,
src/dialogs/stroke-style.cpp, src/dialogs/xml-tree.cpp,
src/extension/extension.h, src/extension/implementation/script.cpp,
src/widgets/dash-selector.cpp, src/widgets/gradient-vector.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/Makefile_insert,
src/xml/comment-node.h, src/xml/element-node.h,
src/xml/repr-action-test.cpp, src/xml/repr-css.cpp,
src/xml/repr-get-children.cpp, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h, src/xml/simple-document.cpp, src/xml/simple-document.h,
src/xml/simple-node.cpp, src/xml/simple-node.h,
src/xml/sp-repr-action.cpp, src/xml/sp-repr-doc.h, src/xml/sp-repr.h,
src/xml/text-node.h:
got rid of xml/repr-private.h, removed
sp_repr_document_createTextNode(), made SPRepr and SPReprDoc abstract
interfaces, and moved the SPRepr implementations into separate files
in the Inkscape::XML namespace
* src/util/shared-c-string-ptr.h: added equality operators to avoid
certain ambiguities
2004-01-22 MenTaLguY <mental@rydia.net>
* src/xml/Makefile_insert, src/xml/repr-private.h, src/xml/repr.cpp,
src/xml/session.h, src/xml/simple-session.cpp, src/xml/simple-session.h,
src/xml/sp-repr-action.cpp, src/xml/transaction-logger.h:
added Inkscape::XML::Session and Inkscape::XML::TransactionLogger
to provide a new interface for transactions, rather than doing it from
SPReprDoc
2004-01-22 MenTaLguY <mental@rydia.net>
* src/xml/Makefile_insert, src/xml/node-observer.h,
src/xml/repr-private.h, src/xml/repr.cpp:
moved repr loging behind generic observer interface
2005-01-22 Ted Gould <ted@gould.cx>
* src/display/canvas-grid.cpp, src/display/canvas-grid.h;
Fixing 1103001. Now major grid lines work alot more like you
think that they should.
2005-01-21 MenTaLguY <mental@rydia.net>
* src/util/Makefile_insert, src/util/shared-c-string-ptr.cpp,
src/util/shared-c-string-ptr.h, src/util/shared-c-string.cpp,
src/util/shared-c-string.h, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/sp-repr-action.h, src/xml/sp-repr-attr.h:
renamed Util::SharedCString to Util::SharedCStringPtr, which is
more descriptive of what it actually is
2005-01-21 MenTaLguY <mental@rydia.net>
* src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp:
simplify the cacheing of repr position indices, and make it something
that can work with an abstract interface
2005-01-20 Kees Cook <kees@outflux.net>
* src/file.cpp: added some debug output to help bulia debug bug #1102318.
* configure.ac: more attempts at detecting the -lgc libs.
2005-01-19 Kees Cook <kees@outflux.net>
* configure.ac: trying to correct the -lgc detection.
* inkscape.pod: added theme details.
* src/widgets/widget-sizes.h: went from 20 to 24 for toolbar icon size
to match other GTK applications.
* src/extension/db.cpp: corrected STL "not found" handling. Didn't
fix bug #1102318.
2005-01-18 Kees Cook <kees@outflux.net>
* src/inkscape.h, src/inkscape.cpp, src/widgets/icons.cpp:
Added basic theme support! Whee!
* share/inkscape/icons.svg: restoring original up/down/flip icons since
icons are themable now. We should stick to our original look.
* share/screens/about.svg: added Brisgeek's 0.41 about screen. Had
to tweak background: looks like doc background isn't imported.
* share/icons/*.xpm, share/icons/*.png: removed them. Not being used.
2005-01-17 MenTaLguY <mental@rydia.net>
* src/desktop-style.cpp, src/inkscape.cpp, src/interface.cpp,
src/path-chemistry.cpp, src/prefs-utils.cpp, src/selection-chemistry.cpp,
src/sp-flowtext.cpp, src/sp-gradient.cpp, src/sp-object.cpp,
src/sp-text.cpp, src/sp-tspan.cpp, src/splivarot.cpp,
src/dialogs/xml-tree.cpp, src/extension/internal/pov-out.cpp,
src/widgets/dash-selector.cpp, src/xml/repr-css.cpp,
src/xml/repr-get-children.cpp, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/sp-repr-action.cpp:
Made all SPRepr fields private, and moved most functionality into
member functions. Also shuffled SPReprDoc members, to avoid
need for SPReprDoc to be finalized.
2005-01-17 Kees Cook <kees@outflux.net>
* share/markers/markers.svg: applied patch #990884, which provides a
few mirrored arrows until marker transforms are finished.
* share/icons/icons.svg: updates per Bulia's request.
2005-01-16 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: non-elements no longer get ids assigned
2005-01-15 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/document-private.h, src/document.cpp,
src/document.h, src/event-context.cpp, src/node-context.cpp,
src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/toolbox.cpp, src/uri-references.cpp,
src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp,
src/xml/sp-repr-event-vector.h:
Removed attribute setting callback, and decoupled ids and object/repr
bindings (object <-> repr associations are now remembered directly,
though ids are still tracked too).
This means it is now possible to set a null id on an object without
anything breaking (hopefully). For now we will still assign ids
to everything by default...
2005-01-15 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/event-context.cpp, src/node-context.cpp,
src/rect-context.cpp, src/sp-object.cpp, src/spiral-context.cpp,
src/star-context.cpp, src/toolbox.cpp,
src/dialogs/desktop-properties.cpp, src/widgets/gradient-vector.cpp,
src/widgets/layer-selector.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-content.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/repr.cpp,
src/xml/sp-repr-event-vector.h:
remove all veto callbacks but setting attributes
2005-01-15 Kees Cook <kees@outflux.net>
* src/inkscape.cpp: correcting windows path for preferences. Closes
bug #933461.
* src/file.cpp, src/nodepath.cpp, src/selection-describer.cpp,
src/seltrans.cpp, src/sp-item-group.cpp, src/sp-path.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/dialogs/find.cpp:
Using ngettext for plural localized strings. Please try to keep this
up. Closes bug #1076872.
* share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp,
src/inkscape-stock.h, src/dialogs/stroke-style.cpp,
src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp: Finished the last of the missing pixmap
replacements from Andreas Nilsson. Fixed some mistakes in the earlier
changes (need to call sp_icon_new_scaled not sp_icon_new).
2005-01-14 MenTaLguY <mental@rydia.net>
* src/gc.cpp: leave the free space multiplier at the default, which
will hopefully (according to Hans) avoid some of the odd gc issues
we've had, if nothing else does
2005-01-14 Kees Cook <kees@outflux.net>
* share/icons/Makefile.am, share/icons/icons.svg, src/inkscape-stock.cpp,
src/inkscape-stock.h, src/verbs.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/transformation.cpp, src/widgets/icon.cpp, src/widgets/icon.h,
src/widgets/paint-selector.cpp:
Fixed up code and replaced pixmaps with icons from myself and
Andreas Nilsson.
2005-01-11 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp: promote non-namespaced SVG documents into SVG
namespace
2005-01-08 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/gc-anchored.cpp, src/gc-anchored.h:
abstracted allocation of anchors
2005-01-06 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/extension/effect.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/plugin-link.h,
src/extension/implementation/plugin.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h, src/extension/plugin/gimpgrad.cpp,
src/extension/plugin/grid.cpp:
Changing the effects preferences so that it uses sockets and plugs which
will allow out of process GUIs to work too. This is a first pass with
nothing beautiful, but it does seem to work.
2005-01-03 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/main.cpp, src/sp-root.cpp:
get rid of ugly xmlns hacks
* src/inkscape.cpp, src/extension/internal/svg.cpp, src/xml/repr-io.cpp:
automatically include xmlns declarations for the required namespaces,
and make a best effort at using a default namespace when requested
and possible
2005-01-02 Kees Cook <kees@outflux.net>
* share/icons/icons.svg: updated view and location
* src/document.cpp, src/dialogs/rdf.cpp: fixed another bug in metadata
due to svg: prefix change.
* src/inkscape-stock.h, src/inkscape-stock.cpp, share/icons/Makefile.am:
removed unused xpm icons
2005-01-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/fontsize-expansion.h, src/fontsize-expansion.cpp:
New files.
* src/Makefile_insert: Add the new files to libinkpre_a_SOURCES.
* src/desktop-style.cpp (sp_desktop_apply_css_recursive):
When calling sp_css_attr_scale, change the expansion calculation
to use fontsize_expansion().
* src/sp-text.cpp (sp_text_set_transform): Similarly use
fontsize_expansion() instead of generic m.expansion().
2005-01-01 Kees Cook <kees@outflux.net>
* src/extension/db.h, src/extension/db.cpp, src/extension/init.cpp:
created "modulelist" to maintain initialization order for extension
lists.
2004-12-31 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp, src/xml/repr.h: initial scaffoliding for more
cosmetic use of prefixes in output files (and eventually more proper
namespace handling for output as well)
2004-12-31 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-text.cpp (sp_text_set_transform): Change scaling of font size.
The result should be closer to what CorelDraw, XaraX, Canvas 7 and
Expression3 do according to vellum, though I don't know the exact
rule that they use.
2004-12-25 Ted Gould <ted@gould.cx>
* share/extensions/grid.inx, src/extension/extension.cpp,
src/extension/extension.h, src/extension/plugin/grid.cpp:
Futher improvements to the grid plugin. This involves mostly adding in
parameters at this time, but, ofcourse, I never implemented floating
point parameters -- so that had to be done first. More modular code so
that things can be adjusted externally better.
2004-12-25 Ted Gould <ted@gould.cx>
* share/extensions/Makefile.am, share/extensions/grid.inx,
src/extension/implementation/plugin-link.h,
src/extension/implementation/plugin.cpp,
src/extension/plugin/Makefile_insert, src/extension/plugin/gimpgrad.cpp,
src/extension/plugin/grid.cpp:
Adding in a new effect plugin, grid. It draws a grid on the canvas which
is just an easy way to do some neat things. It is mostly done, but still
needs cleanup. Some other files required modification to make this
possible.
2004-12-25 MenTaLguY <mental@rydia.net>
* src/event-context.cpp: removed unused handler
2004-12-25 Ted Gould <ted@gould.cx>
* share/extensions/svg_dropshadow:
Changing to use "svg:g" instead of "g" for the group.
* src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h,
src/extension/system.cpp, src/extension/system.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/plugin.cpp,
src/extension/implementation/plugin.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h:
Final stuff to get Effects working as well as the did before, which
is okay, but not great. This involved changing the API to get an SPView
instead of an SPDocument because then I can get the selection information
from the view that is being used.
2004-12-24 MenTaLguY <mental@rydia.net>
* src/sp-object-repr.cpp, src/sp-tspan.cpp, src/splivarot.cpp,
src/dialogs/rdf.cpp, src/dialogs/xml-tree.cpp,
src/widgets/sp-xmlview-tree.cpp, src/xml/repr-io.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h:
cleaned out unused code and unhygenic macros, as well as fixing
constructors for text and comment nodes
2004-12-24 Ted Gould <ted@gould.cx>
* src/verbs.cpp, src/extension/effect.cpp, src/extension/effect.h:
Okay, now the effects menu really works! Well, the implementation seems
to be broken, but the wrapper seems to be all working.
2004-12-24 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/verbs.cpp, src/verbs.h, src/extension/effect.cpp,
src/extension/effect.h:
Getting the Effects menu basically working. This included some fixes to
the verbs where they were incrementing the database incorrectly. The
effects are the first component to take advantage of the dynamically
created verbs, and exercised new code. Now the basic menu is available,
but there is no functionality there.
2004-12-24 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/verbs.cpp, src/verbs.h:
Basic code for the effects menu.
* src/dialogs/filedialog.cpp, src/dialogs/filedialog.h,
src/extension/db.cpp, src/extension/db.h:
Changing the DB access functions to use std::list instead of GSList so
that it is more standard, and we get rid of a specialized class that
really isn't that useful. Less memory usage, and fixes a leak.
* src/extension/effect.cpp, src/extension/effect.h:
Adding in a "Last Effect" to be used in the menus.
* src/extension/extension-forward.h, src/extension/extension.cpp,
src/extension/extension.h, src/extension/input.cpp,
src/extension/output.cpp, src/extension/timer.cpp, src/extension/timer.h,
src/extension/Makefile_insert:
Adding in the timer functions so that modules will unload in a given
amount of time. For more information on this read the documentation
in the files. Kinda a lazy deallocation.
* src/extension/implementation/implementation.cpp:
Fix unload so that it is not recursive.
2004-12-23 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/document.cpp, src/draw-context.cpp,
src/dyna-draw-context.cpp, src/file.cpp, src/gradient-chemistry.cpp,
src/interface.cpp, src/layer-fns.cpp, src/main.cpp, src/object-ui.cpp,
src/path-chemistry.cpp, src/rect-context.cpp,
src/selection-chemistry.cpp, src/sp-anchor.cpp, src/sp-clippath.cpp,
src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-flowdiv.cpp,
src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-gradient-test.cpp,
src/sp-gradient.cpp, src/sp-image.cpp, src/sp-item-group.cpp,
src/sp-line.cpp, src/sp-marker.cpp, src/sp-mask.cpp,
src/sp-object-group.cpp, src/sp-object-repr.cpp, src/sp-offset.cpp,
src/sp-path.cpp, src/sp-pattern.cpp, src/sp-polygon.cpp,
src/sp-polyline.cpp, src/sp-rect.cpp, src/sp-root.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp, src/sp-text.cpp,
src/sp-tspan.cpp, src/sp-use.cpp, src/spiral-context.cpp,
src/splivarot.cpp, src/star-context.cpp, src/text-chemistry.cpp,
src/text-context.cpp, src/dialogs/find.cpp, src/dialogs/rdf.cpp,
src/dialogs/xml-tree.cpp, src/ecma/EcmaBinding.cpp,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/svg.cpp, src/livarot/ShapeDraw.cpp,
src/xml/repr-io.cpp, src/xml/repr-util.cpp, src/xml/repr.cpp:
use normalized qnames for SVG elements too
2004-12-23 Kees Cook <kees@outflux.net>
* configure.ac, src/Makefile_insert, src/extension/script/Makefile_insert:
adding Perl and Python compile tests. Corrected library locations.
* src/extension/script/InkscapeScript.h,
src/extension/script/InkscapePython.cpp,
src/extension/script/InkscapeScript.cpp: white space fix, and
added config.h, and some small debugging for myself. Hope Bob doesn't
mind! :)
* src/dialogs/scriptdialog.cpp: added comments to default code.
2004-12-22 Kees Cook <kees@outflux.net>
* configure.ac, src/extension/script/Makefile_insert: automake cleanups
to deal with perl/python detection.
2004-12-20 David Turner <novalis@gnu.org>
* src/widgets/gradient-vector.cpp:
Fixed bug with gradient stops at 0 and 100%. Closes 1085920.
2004-12-18 Bob Jamison <rjamison@titan.com>
* src/extensions/script/*:
New files that enable embedding of scripting languages
in Inkscape. Currently using Swig to embed Perl and Python.
* autoconf.ac:
Allow opting for perl or python with --with-perl=yes|no
and --with-python=yes|no
2004-12-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* streq.h (streq), strneq.h (strneq), memeq.h (memeq):
New convenience functions for strcmp(a,b)==0 etc.
* src/dir-util.cpp (sp_relative_path_from_path):
Fix when base is a string prefix of path but a directory prefix
(e.g. path=/foo/barney, base=/foo/bar).
2004-12-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-conn-end.cpp (sp_conn_end_move_compensate):
Fix for undo/save: wasn't calling updateRepr().
2004-12-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.cpp (sp_style_merge_from_style_string):
More standards-conforming parsing of style strings into prop:value
pairs.
2004-12-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.h, src/style.cpp, src/libnrtype/font-style-to-pos.cpp:
Fix font-weight value: s/darker/bolder/.
* src/style.cpp (sp_style_merge_from_parent):
Fix bug with specifying stroke-width with unit of em or ex.
(We were ignoring the number, treating it as 1em or 1ex.)
* src/style.h, src/style.cpp (sp_style_read_dash,
sp_style_write_string, sp_style_write_difference):
Allow `inherit' as a value for dasharray.
(Also plug small memory leak in sp_style_read_dash.)
2004-12-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.cpp (sp_style_write_string):
Fix for when stroke-dasharray either explicitly set to `none', or
inherits non-none.
* src/style.cpp (sp_style_write_ienum):
Fix: preserve explicit `inherit' request.
* (sp_style_read, sp_style_merge_property):
Allow explicit `inherit' for `display' property.
* src/style.cpp (sp_style_read):
Fix copy&paste bug affecting `visibility' and `display' properties.
2004-12-07 David Turner <novalis@gnu.org>
* src/libnrtype/RasterFont.cpp, src/display/nr-arena-shape.cpp:
Fixed dash rendering bug (#1077213)
2004-12-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.h, src/style.cpp: Support all `display' values
required by SVG 1.1. (No functional change, insofar as the new
values all have the same behaviour as our existing `block' value
in SVG.)
* src/sp-item.cpp, src/style.cpp: Use `inline' (SP_CSS_DISPLAY_INLINE)
rather than `block' as our generic display value meaning `don't hide
this', as per spec.
* src/style.cpp: Prefer to write lr-tb etc. rather than the
abbreviations lr etc. (Also add comment saying why.)
2004-12-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/xml-tree.cpp (on_attr_select_row_set_value_content):
Fix segfault: treat NULL as empty string for display purposes.
2004-11-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/svg/svg.h, src/svg/sp-svg.def, src/svg/svg-length.cpp:
(sp_svg_boolean_read, sp_svg_write_percentage):
Remove these unused functions.
(sp_svg_length_read_lff, sp_svg_number_write_d,
sp_svg_number_write_i): Mark static.
* configure.ac:
When adding -lgc to LIBS, also add its dependencies -lpthread -ldl.
2004-11-28 Ted Gould <ted@gould.cx>
* 0.40
2004-11-25 MenTaLguY <mental@rydia.net>
* share/tutorials/tutorial-calligraphy.svg: spelling fix
* src/widgets/layer-selector.cpp: fixing the layer selector update bug;
sigc++ apparently doesn't deal with reference arguments very well
2004-11-25 MenTaLguY <mental@rydia.net>
* src/layer-fns.cpp: fix layer creation within sublayers
* src/dialogs/layer-properties.cpp: fix dialog leak
2004-11-25 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp: eliminate duplicated code across #ifdefs
* src/verbs.cpp, src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h:
LayerPropertiesDialog is no longer a singleton, since it's kind of a
per-desktop (well, ideally per-document) thing. Remaining to do:
fix update of layer selector widget, and eliminate leak of dialog
objects.
2004-11-24 Kees Cook <kees@outflux.net>
* inkscape.spec: added SMP flags, added static library link capability.
2004-11-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/draw-context.cpp (spdc_concat_colors_and_flush):
Do nothing if empty curve; in particular, don't try to close an
empty curve.
* src/pen-context.cpp (spdc_endpoint_snap):
Fix use of uninitialized value when snapping.
2004-11-23 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp: Fixing bug causing two new
layers to get created when hitting enter
2004-11-23 Kees Cook <kees@outflux.net>
* share/tutorials: added Josh's changes, resized, repositioned for
800x600.
* src/verbs.h, src/verbs.cpp, src/interface.cpp: added tracing
tutorial.
2004-11-23 MenTaLguY <mental@rydia.net>
* src/rect-context.cpp: disallow drawing on locked or invisible layers
* src/widgets/layer-properties.h, src/widgets/layer-properties.cpp:
slight HIG-ification
* src/desktop.cpp, src/desktop.h, src/widgets/layer-selector.cpp,
src/widgets/layer-selector.h, src/verbs.cpp, src/sp-desktop-widget.h
removed vestigal layer renaming thing
* src/verbs.cpp, src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h:
reuse dialog for creating layers as well as for renaming them
2004-11-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp (generate_bezier): For the sake of
our current pencil tool, don't use free optimization of the end
tangent vector.
2004-11-21 MenTaLguY <mental@rydia.net>
* src/verbs.cpp: add accels for layer menu items
2004-11-21 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp, src/verbs.cpp,
src/dialogs/layer-properties.h: Hooking up layer rename
functionality, and making it show correctly.
* src/dialogs/debugdialog.cpp, src/dialogs/find.cpp,
src/dialogs/tracedialog.cpp: Fixing dialog show behavior
2004-11-21 Kees Cook <kees@outflux.net>
* src/sp-object.cpp, src/sp-metadata.cpp: added some debugging, and
fixed a dumb error in my metadata _release handler. Should mostly
close bug 1069772.
* src/Makefile_insert, src/sp-skeleton.cpp, src/sp-skeleton.h:
created some example SPObject implementations for a basis for any
new SPObjects in the future.
* src/dialogs/xml-tree.cpp: fixing logic bug in identability checker.
Added immutability test to actually close 1069772.
* share/icons/icons.svg, src/verbs.cpp, src/interface.cpp: adding
icons for the "new" menu, vacuum, reverse, make bitmap, and trace.
2004-11-20 Jon A. Cruz <jon@joncruz.org>
* src/extension/db.h, src/extension/db.cpp, src/dialogs/filedialog.cpp:
Added extension matching pattern. Fixed bug 1064888.
* src/dialogs/filedialog.cpp (isValidImageFile):
Fixed previewing bug 1067551.
2004-11-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Add splitpoints parameter. Callers updated.
* src/display/bezier-utils.cpp
(sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full):
Change last parameter from lg_max_beziers to max_beziers.
Callers updated.
2004-11-19 Bryce <bryce@bryceharrington.org>
* src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h: Adding some widgets.
2004-11-18 Bryce <bryce@bryceharrington.org>
* src/dialogs/Makefile_insert, src/dialogs/makefile.msc,
src/dialogs/layer-properties.h, src/dialogs/layer-properties.h:
Adding a layer properties dialog for renaming layers
* src/desktop.cpp src/interface.cpp, src/verbs.cpp,
src/verbs.h src/dialogs/layer-properties.cpp,
src/dialogs/layer-properties.h,
src/widgets/layer-selector.cpp: Hooking in layer props dialog.
2004-11-16 MenTaLguY <mental@rydia.net>
* src/widgets/document-tree-model.cpp, src/widgets/document-tree-model.h,
src/widgets/layer-selector.cpp, src/widgets/Makefile_insert:
removed Widgets::DocumentTreeModel because unused
* src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h:
cache successive sibling counts (self+subsequent siblings) in SPRepr
to make sp_repr_n_children() and sp_repr_position() more efficient,
which will be needed later for e.g. GTK tree models.
sp_repr_nth_child() isn't any faster as a result of the changes,
but it probably won't need to be
* src/xml/repr.cpp: fixed refcount leak in SPRepr::SPRepr(SPRepr const &)
2004-11-15 MenTaLguY <mental@rydia.net>
* src/gc.cpp: add initial stubs that print an informative error
if the GC functions are used before Inkscape::GC::init() is called
2004-11-14 MenTaLguY <mental@rydia.net>
* configure.ac, src/gc-core.h, src/gc-managed.h, src/gc-anchored.h,
src/gc-finalized.h, src/gc.cpp:
make disabling the collector a run-time rather than a compile-time
option; there are now three garbage collector options, selectable
by setting the _INKSCAPE_GC environment variable:
* enable - the normal collector (default)
* debug - the debugging collector
* disable - use standard malloc in place of the libgc allocator
2004-11-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp: Make end tangent/s be unconstrained for
sp_bezier_fit_cubic, sp_bezier_fit_cubic_r, and around corner nodes.
* src/pencil-context.cpp (fit_and_split): Allow the bezier fitter to
choose the middle control points freely except to the extent required
for smooth nodes.
* src/display/bezier-utils.cpp (generate_bezier):
If either end tangent is specified as zero then estimate the
corresponding control point without constraining its direction
from the endpoint.
* src/pencil-context.h, src/pencil-context.cpp
(fit_and_split, sp_pencil_context_init): Explicitly remember required
tangent instead of using "first two points" hack.
* src/display/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Detect & prevent "ghost spikes", by allowing a corner node if
the specified tangent would result in a spike.
* src/display/bezier-utils.cpp (generate_bezier): Better handling
of the case of infinite solutions for the lengths of the two
tangent vectors: try requiring that the lengths equal each other,
and solving for that length (just one variable).
2004-11-13 Kees Cook <kees@outflux.net>
* src/document.cpp: wrapped updateDisplay call in undo insensitivity.
Closes bug #1030436.
2004-11-12 MenTaLguY <mental@rydia.net>
* src/main.cpp: fpresetsticky -> fpsetsticky
* src/verbs.cpp: cast width changes
* src/libnrtype/FlowBoxes.h, src/libnrtype/FlowDefs.h,
src/libnrtype/FlowDest.h, src/libnrtype/FlowEater.h,
src/libnrtype/FlowRes.h, src/libnrtype/FlowSols.h,
src/libnrtype/FlowSrc.h, src/libnrtype/FlowSrcText.h,
src/libnrtype/FlowStyle.h, src/libnrtype/FlowUtils.h:
remove stdint.h which isn't being used here
* src/widgets/icon.h, src/widgets/icon.cpp:
icon greys out when insensitive
* src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h:
documentation
* src/verbs.cpp: changed cast to reinterpret_cast to hopefully
avoid compiler warning
2004-11-11 Kees Cook <kees@outflux.net>
* src/seltrans.cpp, src/select-context.cpp: ref counting SPObjects
correctly so undo's don't blow up an active resize/move. Closes
bug #1018756.
2004-11-11 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp, src/main.cpp, src/widgets/icon.cpp:
removed sp_bitmap_icons
* configure.ac, src/sp-image.cpp, src/object-ui.cpp:
removed stale autotrace support code
2004-11-10 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp, src/sp-clippath.cpp, src/cp-mask.cpp:
minor refcounting tweaks
* src/sp-image.cpp: fixed failure to release GdkPixbufLoader when
done with it (fixes bug #1063054)
2004-11-10 Kees Cook <kees@outflux.net>
* configure.ac, src/gc-core.h: corrected gc.h path detection.
2004-11-09 MenTaLguY <mental@rydia.net>
* src/dialogs/fileselector.cpp: fixed cut-and-paste refcount bug
between SVGPreview::setFileName and SVGPreview::setFromMem that
was leaking bitmap image preview SPDocuments
2004-11-09 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/item-properties.cpp
2004-11-09 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp, src/style.cpp, src/style.h:
use 'display' rather than 'visibility' for hiding, and give display
a more "modern" representation in SPStyle like visibility's
2004-11-09 Kees Cook <kees@outflux.net>
* src/dialogs/xml-tree.cpp: added better context to the status bar.
added warning flash for id conflicts.
* src/toolbox.cpp: killed some copy/paste code while bug hunting.
2004-11-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-item.h, src/sp-item.cpp
(isExplicitlyHidden, setExplicitlyHidden): New methods.
* src/dialogs/item-properties.cpp: Change from having a `Visible'
checkbox that explicitly sets the SVG visibility property to
having a `Hide' checkbox that controls whether or not the
element has visibility:hidden. (Mitigates #1061934.)
* src/sp-object.h, src/sp-object.cpp (visible, setVisible):
Remove these methods.
2004-11-07 MenTaLguY <mental@rydia.net>
* src/gc-finalized.h: fix for Debian bug #279991 (cast to ptrdiff_t
rather than int), and basic documentation
2004-11-06 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix desktop-specific version of SPItem::isHidden()
to deal correctly with parent visibility
2004-11-05 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: more work on making the lock/hide
buttons actually do something
* src/sp-item.cpp, src/sp-item.h: implement lock/hide related methods
* src/verbs.cpp: "Remove All Kerns" -> "Remove Manual Kerning"
2004-11-04 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.h, src/dialogs/rdf.cpp: added rdf:Bag for the
dc:subject keyword list. Closed bug #1021025.
* src/dialogs/xml-tree.cpp, src/widgets/sp-xmlview-attr-list.cpp,
src/widgets/sp-xmlview-attr-list.h: added status bar to XML
editor. added row-change callback for XML tree view. This
all supports a possible future solution to bug #869683.
* src/dialogs/desktop-properties.cpp: memory leak in RDF code.
2004-11-04 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: togglable images and formatting
changes (make current layer bold)
* src/uri.h, src/uri.cpp: added assignment operator
2004-11-03 MenTaLguY <mental@rydia.net>
* src/widgets/Makefile_insert, src/widgets/shrink-wrap-button.cpp,
src/widgets/shrink-wrap-button.h:
added Inkscape::Widgets::shrink_wrap_button, to make any gtk button
an SPButton-like shrink-wrapped button
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
abandon SPButton for layer selector buttons
2004-11-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* po/check-markup: New script: detects <b>markup<b> <b>problems<7b>
in the <b>translated strings. (~10 such problems found.)
* Makefile.am (all, check, distcheck): Run po/check-markup (with
varying permissiveness of errors).
2004-11-02 MenTaLguY <mental@rydia.net>
* doc/keys.xml: added documentation of layer keys
2004-11-01 Kees Cook <kees@outflux.net>
* src/dialogs/align.cpp, src/dialogs/debugdialog.cpp: localized
some missed strings.
2004-11-01 MenTaLguY <mental@rydia.net>
* share/icons/icons.svg: gave bulia's eye icons ids
* src/widgets/layer-selector.h, src/widgets/layers-selector.cpp:
fixed up visibility/lock toggles... now to make them actually do
something
2004-10-31 MenTaLguY <mental@rydia.net>
* src/util/glib-list.h: adaptor for glib lists
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
save the repr next to the SPObject
2004-10-30 MenTaLguY <mental@rydia.net>
* src/util/list.h: more list cleanups and documentation
* src/verbs.cpp: call sp_document_done() for layer verbs too
2004-10-30 Bryce Harrington <bryce@bryceharrington.org>
* src/dialogs/item-properties.cpp, src/sp-object.h: Cleaning up
stubs, disabling some more of the desc code to prevent crash.
The change to SPObject::label() broke the label editing code;
fixing it.
2004-10-30 Kees Cook <kees@outflux.net>
* src/sp-metadata.cpp, src/sp-metadata.h, src/Makefile_insert,
src/document.cpp, src/sp-object-repr.cpp, src/sp-object.cpp:
I've created my very first SPObject! SPMetadata is alive! No
more nasty hack to have it disappear from SVG Plain. Mental
won't have to take away my CVS access any more! :)
* inkscape2.nsi: update from Adib Taraben
2004-10-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.cpp (nr_matrix_invert):
Fix for last commit to this file, which broke src==dest case.
* src/libnr/nr-matrix-test.cpp: Add test cases for nr_matrix_invert.
2004-10-30 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
update when layers added/removed/reordered.
* src/verbs.h, src/verbs.cpp: added "rename layer" verb.
2004-10-29 Kees Cook <kees@outflux.net>
* src/Makefile_insert, src/trace/Makefile_insert,
src/util/Makefile_insert: distcheck cleanups.
2004-10-29 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp: default labels in italic
* src/sp-object.h, src/sp-object.cpp: inkscape:label fixes
* src/layer-fns.cpp: make ordering of layers complete; not just among
siblings
* src/util/list.h: documentation update
2004-10-29 Bryce Harrington <bryce@bryceharrington.org>
* layer-fns.cpp: documenting
* layer-selector.cpp: documenting & fixing funky widget resizing
* object-ui.cpp, dialogs/item-properties.cpp, sp-object.h,
sp-object.cpp, widgets/layer-selector.cpp: add ability to set
inkscape:label from "Item Properties", remove id setting from
"Item Properties", switch to using
SPObject::label()/SPObject?::defaultLabel() in UI where object
ID is currently used. Documenting. Switching from "label" to
"inkscape:label" where appropriate. Adding
visible()/setVisible() functions and activating checkbox.
* dialogs/item-properties.cpp: Adding title and desc boxes.
Adjusting layout of dialog a bit. Changing to use of tables
instead of horiz/vert boxes for layout. Setting to inactive
until some underlying bits get finished.
2004-10-29 Kees Cook <kees@outflux.net>
* src/dialogs/export.cpp: moved function-based static state variable
into the dialog state variables. Closes bug #993447.
* src/display/curve.cpp: fixed compile warning.
* src/sp-namedview.cpp: wasn't ref counting correctly. Closes #955020.
2004-10-29 Jon A. Cruz <jon@joncruz.org>
* src/sp-image.cpp, src/extension/internal/gdkpixbuf-input.cpp:
Refactoring filenames and file opening
Scales imported images if DPI is known and not 72 DPI. Fixes
#1029755
2004-10-29 MenTaLguY <mental@rydia.net>
* src/widgets/layer-selector.cpp, src/verbs.cpp:
unselect objects when layer is manually switched
2004-10-28 Kees Cook <kees@outflux.net>
* src/document-undo.cpp, src/document.cpp, src/sp-namedview.cpp,
src/sp-text.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/export.cpp, src/extension/input.cpp,
src/extension/output.cpp, src/extension/system.cpp:
Fixing calls to sp_document_set_undo_sensitive to correct allow for
nesting, as suggested by mental. Found while tracking down bug
#1030436.
2004-10-28 MenTaLguY <mental@rydia.net>
* src/util/list.h: cleanups of list class. I think, aside from
documentation and maybe fixes for g++ 3.4 (if required), this
is the last set of changes I will need to make.
* src/sp-item.cpp, src/splivarot.cpp, src/util/reverse-list.h,
src/util/filter-list.h, src/util/map-list.h:
adjust for changes in the list class' interface
* src/desktop.cpp, src/sp-desktop-widget.h:
removed old layer selector and added SPDesktop::itemIsHidden()
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
more work; it's now at least as functional as the old selector it
replaces
2004-10-27 Kees Cook <kees@outflux.net>
* src/libnr/nr-point.h: use NR::X and NR::Y instead of "0" and "1".
* src/dialogs/export.cpp: stack/register weirdness requires a function
call to get true == comparison of NR::Rect's. Closes bug #1048614.
* src/dialogs/align.cpp: saving erased iterator. Closes bug #1054270.
* share/extensions/ill2svg.pl: added strict, warnings, and detection
of Image::Magick module. Closes bug #990659.
* src/dialogs/find.h, src/dialogs/find.cpp: removed unfinished new
find dialog instantiation. Closes bug #1048802.
2004-10-27 Carl Hetherington <inkscape@carlh.net>
* src/extension/output.cpp: better fix for 1004134 after advice
from Ted.
2004-10-26 Carl Hetherington <inkscape@carlh.net>
* src/extension/output.cpp: don't reset modified flag until after
save has happened, in case it fails. Fixes 1004134.
* src/livarot/ShapeSweep.cpp: fix a typo in my cleanups. Fixes
1048151.
2004-10-25 Bryce Harringotn <bryce@bryceharrington.org>
* file.cpp, file.h, dialogs/export.cpp: Adding error return logic
for png export code so that failure to write can be tracked.
Adding an error dialog for when this occurs. Fixes bug 1038932.
* extension/system.cpp: Changing sp_ui_error_dialog to g_warning
so won't crash when running from commandline. Fixes bug
1000350.
* inkscape.cpp, inkscape.h, main.cpp, dialogs/filedialog.cpp:
Adding Inkscape::Application::use_gui flag as temporary hack to
prevent gui dialogs from being used when running from
commandline. Fixes bug 1045067.
2004-10-26 Carl Hetherington <inkscape@carlh.net>
* src/livarot/PathCutting.cpp: fix a couple of bugs that I
introduced that cause crashes on cut path.
2004-10-25 Kees Cook <kees@outflux.net>
* src/sp-object.cpp: nasty hack to not export metadata on "Plain SVG".
I promise I'll fix this with a proper SPObject soon.
2004-10-25 Jon A. Cruz <jon@joncruz.org>
* src/file.cpp, src/file.h, src/inkscape.cpp, src/sp-image.cpp,
src/uri.cpp, src/uri.h, src/dialogs/filedialog.cpp,
src/extension/input.cpp, src/extension/implementation/script.cpp,
src/extension/internal/pov-out.cpp, src/extension/internal/ps.cpp,
src/extension/internal/win32.h, src/extension/plugin/gimpgrad.cpp,
src/helper/png-write.cpp, src/trace/imagemap.cpp, src/xml/repr-io.cpp:
Refactoring filenames and file opening
2004-10-24 MenTaLguY <mental@rydia.net>
* src/Makefile.am: added/removed files
* src/util/copy-list.h: nobody's using it right now, get rid of it
* src/traits/copy.h, src/traits/list-copy.h:
traits for determining the type to make a copy of a value
* src/sp-item.cpp, src/util/filter-list.h src/util/map-list.h,
src/util/reverse-list.h, src/widgets/layer-selector.cpp
src/xml/sp-repr-action.cpp:
let the list functions infer their own result type (where possible)
* src/util/forward-pointer-iterator.h: its value type is a reference
2004-10-23 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: removed vertical usize limits on statusbar
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
more layer selector work; simplfied model and customized CellRenderer
settings a bit
* src/attributes.cpp, src/attributes.h, src/sp-object.cpp, src/sp-object.h:
add inkscape:label attribute
* src/file.cpp, src/sp-anchor.h, src/sp-animation.h, src/sp-chars.h,
src/sp-clippath.h, src/sp-conn-end.cpp, src/sp-defs.h, src/sp-ellipse.h,
src/sp-gradient.h, src/sp-guide.h, src/sp-image.h, src/sp-line.h,
src/sp-linear-gradient.h, src/sp-marker.h, src/sp-mask.h,
src/sp-namedview.h, src/sp-object-group.h, src/sp-offset.h, src/sp-path.h,
src/sp-pattern.h, src/sp-polygon.h, src/sp-polyline.h,
src/sp-radial-gradient.h, src/sp-rect.cpp, src/sp-rect.h, src/sp-root.h,
src/sp-spiral.h, src/sp-star.h, src/sp-stop.h, src/sp-string.h,
src/sp-symbol.h, src/sp-text.h, src/sp-tspan.h, src/sp-use.h,
src/sp-offset.cpp, src/sp-shape.h:
make inheritance actual
2004-10-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/*: Move some things from nr-matrix-ops.h to new files.
* src/libnr/nr-point-fns.h, src/libnr/nr-point-fns.cpp:
New function is_zero. Move is_unit_vector here
(was private to sp-spiral.cpp).
* src/display/bezier-utils-test.cpp: Disable a test, replacing with a
todo printf and adding a comment explaining.
2004-10-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/pencil-context.cpp: Ensure that data points array p is uniqued
and contains no NaNs.
* src/libnr/nr-point-fns.cpp (LInfty): Fix bug with NaN coordinates:
return NaN (rather than unspecified behaviour).
* src/libnr/nr-point-fns-test.cpp: Add test cases for L1,L2,LInfty
handling of NaN.
* src/pencil-context.cpp: Fix bug: undesirable interactions between
snapping and snap-to-anchor.
2004-10-21 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: SPDesktop::currentRoot() should pull from
the current layer hierarchy just like SPDesktop::currentLayer();
doubly so, since currently when switching documents the layer hierarchy
is updated before the document is switched
* src/util/Makefile_insert, src/util/copy-list.h: add list copy thingy
* src/util/list.h: add rest()
* src/util/reverse-list.h: bug fixes to reverse_list_in_place()
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
more work on layer selector
2004-10-21 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp: excise separate path description data
structure.
* src/livarot/Path.h, src/livarot/Path.cpp,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp, src/livarot/livarot-forward.h: move
path description structs into their own files, and rename a few
member variables.
* src/livarot/Path.h, src/livarot/PathConversion.cpp,
src/livarot/PathOutline.cpp: remove some unused functions.
2004-10-20 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.cpp: fix for 1050379, and probably lots of
others.
* src/livarot/Path.h, src/livarot/PathOutline.cpp: bug fix for a
previous commit.
* src/livarot/Path.cpp: fix a memory leak.
2004-10-19 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.h, src/livarot/PathSimplify.cpp: more
simplification cleanups.
* src/livarot/PathStroke.cpp: coding style cleanups.
* src/livarot/Path.h, src/livarot/PathSimplify.cpp,
src/livarot/PathStroke.cpp: more cleanups; don't modify Path::pts
and Path::nbPt.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: use a
std::vector for Path::pts.
2004-10-18 Carl Hetherington <inkscape@carlh.net>
* src/livarot/Path.h, src/livarot/PathSimplify.cpp: coding style
and const cleanups.
* src/livarot/PathSimplify.cpp: some very minor cleanups, and
temporary comments for myself.
* src/livarot/PathConversion.cpp: coding style cleanups.
* src/livarot/PathConversion.cpp: fix for bug 1048827.
* src/livarot/Path.h, src/livarot/PathSimplify.cpp: clean up
simplification code.
2004-10-17 MenTaLguY <mental@rydia.net>
* share/templates/Makefile.am, share/templates/layers.svg:
added a layer template
* src/widgets/layer-selector.h, src/widgets/layer-selector.cpp:
more layer selector work
* src/util/filter-list.h, src/util/Makefile_insert:
added filter_list()
2004-10-15 Carl Hetherington <inkscape@carlh.net>
* src/livarot/PathSimplify.cpp: remove #ifdef
pseudo_douglas_pecker code that wasn't being used.
2004-10-15 MenTaLguY <mental@rydia.net>
* src/view.h: removed obsolete status message functions
* src/attributes.h: remove unused #define
* src/sp-object.cpp: fix for bug #1048268 (inkscape:collect being written
in "plain SVG" files)
* src/sp-item.h, src/sp-item.cpp: added isLocked() and isHidden()
predicates
* src/sp-item.cpp, src/sp-style.cpp: basic support for visibility CSS
property
2004-10-14 Ted Gould <ted@gould.cx>
* share/extension/*.inkmod -> *.inx
src/extension/init.cpp
Changing the filename extension that is used to identify Inkscape
extensions to the one specified in the design document.
2004-10-14 MenTaLguY <mental@rydia.net>
* src/util/list.h: more 3.4 fixes
2004-10-13 MenTaLguY <mental@rydia.net>
* src/util/list.h, src/util/forward-pointer-iterator.h:
fixes to (hopefully) build with g++ 3.4 (and generally be less evil
anyway)
2004-10-14 Carl Hetherington <inkscape@carlh.net>
* src/livarot/int-line.cpp: coding style cleanups.
* src/livarot/float-line.cpp, src/livarot/float-line.h:
refactoring, removal of dead code.
* src/display/guideline.cpp, src/display/guideline.h: coding style
cleanups.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathSimplify.cpp, src/livarot/PathStroke.cpp: merge
Path::path_lineto and Path::path_lineto_b.
2004-10-14 Carl Hetherington <inkscape@carlh.net>
* src/Path.cpp, src/Path.h, src/PathConversion.cpp,
src/PathCutting.cpp, src/PathOutline.cpp, src/PathSimplify.cpp,
src/ShapeMisc.cpp: use a vector of pointers for Path::descr_cmd.
* src/livarot/Ligne.cpp, src/livarot/Ligne.h,
src/livarot/int-line.cpp, src/livarot/int-line.h,
src/livarot/float-line.cpp, src/livarot/float-line.h,
src/livarot/livarot-forward.h, src/livarot/ShapeRaster.cpp,
src/sp-flowregion.cpp, src/display/canvas-bpath.cpp,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp,
src/display/sp-ctrlline.cpp, src/libnrtype/FlowDest.cpp,
src/libnrtype/RasterFont.cpp: split Ligne into float-line and
int-line.
* src/libnrtype/FlowDest.cpp, src/libnrtype/RasterFont.cpp,
src/libnrtype/raster-position.h, src/livarot/float-line.cpp,
src/livarot/float-line.h, src/livarot/int-line.cpp: use
std::vector for arrays in FloatLigne.
* src/livarot/float-line.cpp, src/livarot/float-line.h: remove
lots of dead code. Make some methods private.
2004-10-12 MenTaLguY <mental@rydia.net>
* src/Makefile.am: added files
* src/layer-fns.cpp, src/sp-item.cpp: use iterators, simplifying code
* src/sp-object.cpp, src/splivarot.cpp: adapt to new version of
Inkscape::Algorithms::longest_common_suffix
* src/sp-object.h, src/sp-repr-iterators.h: add new iterator classes
* src/algorithms/find-last-if.h: add counterpart of std::find_if
* src/algorithms/longest-common-suffix.h: rewrite to use iterators
* src/algorithms/longest-prefix.h, src/algorithms/longest-suffix.h,
src/algorithms/shortest-prefix.h, src/algorithms/shortest-suffix.h:
removed; these algorithms are no longer necessary when using
iterators
* src/traits/list.h: no longer needed
* src/traits/reference.h: add "Pointer" member type
* src/util/Makefile_insert: shuffled files
* src/util/list.h: reworked Inkscape::Util::List to be a "handle" type
that can also be used as an STL iterator
* src/util/forward-pointer-iterator.h: treat a pointer as an iterator,
given a base pointer type and a type which defines the iteration
strategy
* src/util/map.h: obsolete
* src/util/map-list.h: iterator-based implementation
* src/traits/tree-iterator.h: no longer necessary (superceded by
specific applications of Inkscape::Util::ForwardPointerIterator)
* src/sp-object-tree-iterator.h, src/util/parent-axis.h,
src/util/sibling-axis.h: obsolete
* src/util/map.h, src/util/reverse.h: obsolete
* src/util/map-list.h, src/util/reverse-list.h:
iterator-based implementations
* src/xml/Makefile_insert: added file
* src/xml/repr.h: removed old tree iterator stuff
* src/xml/sp-repr-action.cpp, src/xml/sp-repr-action.h: use new
pointer iterator facility
* src/xml/sp-repr-iterators.h: pointer iterators for SPRepr
2004-10-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.h, src/display/bezier-utils.cpp
(sp_bezier_fit_cubic_r, sp_bezier_fit_cubic_full): Change the meaning
of the last parameter: was max_depth, now lg_max_beziers, with the
relationship lg_max_beziers = max_depth + 1. Callers updated.
* src/xml/repr.cpp (sp_repr_change_order):
Add g_return_if_fail for some conditions that would break structural
integrity, and add a TODO comment indicating incompleteness.
Use sp_repr_prev function.
* src/xml/repr-get-children.h, src/xml/repr-get-children.cpp
(sp_repr_prev_sibling): Rename to sp_repr_prev for consistency
with sp_repr_next. Don't consider it an error for child to be
NULL or parentless. Callers updated.
* src/draw-context.cpp (spdc_concat_colors_and_flush,
spdc_flush_white): Misc readability cleanups.
* src/display/curve.cpp (sp_curve_reverse): Fix a bug where the
reversed curve wrongly included a trailing moveto command. (Bug
introduced in my 2004-09-05 change: one of the callers I didn't
know how to cause to run.)
2004-10-12 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod,
share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod,
share/extensions/eps_input.inkmod, share/extensions/epsi_output.inkmod,
share/extensions/gimpgrad.inkmod, share/extensions/ps_input.inkmod,
share/extensions/roundhole.inkmod, share/extensions/sk_input.inkmod,
share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod,
share/extensions/txt2svg.inkmod, share/extensions/wmf_input.inkmod,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/extension.cpp, src/extension/init.cpp:
Moving all of the dependency stuff from the scripts, up to the root
extension level. This means that everyone can have dependencies, and
dependency checking (a good thing). This makes use of the new
'Dependency' class that is also in the extension directory.
2004-10-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/pencil-context.cpp (sp_pencil_context_root_handler): Split into
many functions, fixing some illegal union aliasing along the way (as
was done for sp_pen_context_root_handler).
* src/modifier-fns.h: New file of inline functions based on macros.h
MOD__CTRL etc. macros.
* src/Makefile_insert: Add the new file.
* src/pen-context.h: Change size of p array from SP_DRAW_MAX_POINTS to
5 now that we aren't sharing with SPPencilContext.
* src/draw-context.cpp, src/draw-context.h, src/pen-context.cpp,
src/pen-context.h, src/pencil-context.cpp, src/pencil-context.h:
Move npoints,p from SPDrawContext to both SPPenContext and
SPPencilContext.
* src/draw-context.cpp, src/draw-context.h: Split off new files
pen-context.h, pen-context.cpp, pencil-context.h, pencil-context.cpp,
draw-anchor.h, draw-anchor.cpp.
* src/Makefile_insert: Add the new files.
2004-10-10 Ted Gould <ted@gould.cx>
* src/event-context.cpp, src/file.cpp, src/file.h, src/print.cpp,
src/print.h, src/selection-chemistry.h, src/sp-image.cpp, src/sp-item.cpp,
src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp, src/sp-symbol.cpp,
src/tools-switch.cpp, src/dialogs/export.cpp, src/dialogs/filedialog.cpp,
src/extension/Makefile_insert, src/extension/db.cpp,
src/extension/dependency.cpp, src/extension/dependency.h,
src/extension/effect.cpp, src/extension/effect.h,
src/extension/extension-forward.h, src/extension/extension.cpp,
src/extension/extension.h, src/extension/input.cpp, src/extension/input.h,
src/extension/output.cpp, src/extension/output.h, src/extension/print.cpp,
src/extension/print.h, src/extension/system.cpp,
src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp,
src/extension/internal/svg.cpp, src/libnrtype/FlowResOut.cpp:
Splitting out the different types of extensions into their own files so
that the overall dependencies can be reduced. Caused a ripple through
lots of other files. Hopefully the dependency situation is better now.
2004-10-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/draw-context.cpp:
Change xp,yp file globals to NR::Point pen_draw_origin_w.
* src/draw-context.cpp (sp_pen_context_root_handler):
Split into many routines. Fix some illegal union member aliasing.
(pen_handle_key_press): Minor code cleanups in backspace handling.
(pen_handle_motion_notify): Make tolerance var local instead of
file-global. (This transformation is applicable to many
dragtolerance users.)
* src/draw-context.cpp (spdc_endpoint_snap_handle):
Change argument type from SPDrawContext to SPPenContext, and
specialize definition accordingly. Caller updated.
* src/draw-context.h: Change red_curve_is_valid from char to bool.
* src/draw-context.cpp: Change red_curve_is_valid assignments from
0x00/0x01 to false/true (using find & replace).
2004-10-07 Carl Hetherington <inkscape@carlh.net>
* src/nr-object.cpp, src/nr-object.h: coding style and const
fixes.
* src/nr-rect.cpp: added a doxygen comment. Some coding style
fixes.
* src/sp-paint-server.cpp: coding style fixes.
* src/nr-arena-item.cpp, src/nr-arena-item.h: move a comment to
the .cpp file and make it doxygen-style.
* src/livarot/Path.cpp: coding style cleanups. Add an assert to
Path::Transform().
* src/livarot/Path.cpp, src/livarot/Path.h: fix some archaic
notation.
* src/livarot/Ligne.cpp: coding style cleanups.
* src/livarot/PathOutline.cpp, src/livarot/Path.h: fix a rather
nasty hack in the outlining code.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp, src/splivarot.cpp, src/sp-offset.cpp:
use std::vector for Path::descr_cmd.
* src/livarot/Path.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathCutting.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeMisc.cpp: getType() and setType() in Path::path_descr.
2004-10-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-object-repr.cpp (sp_repr_type_lookup): Distinguish between XML
element name and sodipodi:type attribute value: use a separate table
for each.
* src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_lookup):
Don't export this function. (Also rename it to name_to_gtype and
change its definition for separate tables.)
2004-10-03 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.cpp, src/dialogs/repr-util.cpp, src/dialogs/repr.h:
Since "dc:title" can appear at multiple XML levels, a way to
control max depth in searching was added. (Closes bug #1009290)
2004-09-30 MenTaLguY <mental@rydia.net>
* src/widgets/document-tree-model.cpp:
more bug fixes
* src/widgets/layer-selector.cpp, src/widgets/layer-selector.h:
get the layer selector sort of in more order
2004-09-28 Ted Gould <ted@gould.cx>
* src/verbs.cpp, src/verbs.h, src/view.cpp:
Making it so that actions get deleted as views get destroyed.
2004-09-27 Ted Gould <ted@gould.cx>
* src/desktop.h, src/forward.h, src/interface.cpp, src/interface.h,
src/select-toolbar.cpp, src/shortcuts.cpp, src/shortcuts.h,
src/toolbox.cpp, src/toolbox.h, src/verbs.cpp, src/verbs.h,
src/dialogs/align.cpp, src/dialogs/align.h,
src/dialogs/desktop-properties.cpp, src/dialogs/display-settings.cpp,
src/dialogs/export.cpp, src/dialogs/find.cpp,
src/dialogs/item-properties.cpp, src/dialogs/object-properties.cpp,
src/dialogs/text-edit.cpp, src/dialogs/transformation.cpp,
src/dialogs/xml-tree.cpp, src/helper/action.cpp, src/helper/action.h:
Wow, alot of files changed. The ones that changed the most are
verb.cpp and verb.h, which are almost entirely different. What happened
here is the verbs were made object oriented. So, as the verbs
are built into everything, lots of files changed. Now the code
for the verbs is much cleaner, and I think a little bit faster.
Also, it will be easier to extend the verbs for use in effects.
2004-09-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp:
Get rid of operator NR::translate(), which was allowing
*implicit* (and typically lossy) conversion to NR::translate,
and which made a bug hard to find.
* src/sp-gradient-test.cpp: New unit test file. I believe this is the
first test that tests an SPObject.
* src/Makefile_insert, src/Makefile.am: Invoke the new test.
2004-09-24 MenTaLguY <mental@rydia.net>
* src/selection-chemistry.cpp:
"select all" and "clear" now operate on the current layer rather than on
the document root
* src/verbs.cpp, src/shortcuts.cpp, layer-fns.cpp, src/sp-item.cpp:
keyboard shortcuts and fixes for layer verbs
2004-09-23 MenTaLguY <mental@rydia.net>
* src/message-stack.h, src/message-stack.cpp:
return id of flashed messages so they are cancellable
* src/message-context.h, src/message-context.cpp:
message context flashes now supercede one another, as regular
messages do (they do not supercede regular messages though)
* src/interface.cpp, src/layer-fns.cpp, src/layer-fns.h, src/verbs.cpp:
initial stab at layers menu; not everything works the way it should
quite yet
* src/message-context.h, src/message-context.cpp:
added flash methods to Inkscape::MessageContext
* src/gc-core.h, src/display/nr-arena-glyphs.cpp,
src/display/nr-arena-group.cpp,
src/display/nr-arena-item.cpp, src/display/nr-arena-item.h,
src/display/nr-arena-shape.cpp, src/libnr/nr-object.cpp,
src/libnr/nr-object.h,
eliminate more sources of leaks; managed objects shouldn't use refcounts
among themselves
* src/xml/repr.cpp: don't nuke log pointer
2004-09-21 MenTaLguY <mental@rydia.net>
* src/gc-finalized.h: fix for stupid bug preventing finalizable objects
from being collected
* src/Makefile_insert, src/gc.cpp, src/gc-core.h:
move Inkscape::GC::init out-of-line, and funnel GC warnings through
glib
2004-09-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-marker.h, src/sp-marker.cpp (sp_marker_show_instance):
Change to using NR::Matrix instead of NRMatrix. Update caller.
* src/sp-gradient.cpp (sp_gradient_get_g2d_matrix,
sp_gradient_get_gs2d_matrix, sp_gradient_set_gs2d_matrix):
New NR::Matrix/NR::Rect versions of existing functions.
* src/libnr/nr-matrix-translate-ops.h (operator/): New function.
* src/libnr/nr-matrix-scale-ops.cpp: New file.
* src/libnr/nr-matrix-scale-ops.h (operator/(Matrix,scale)):
New function.
2004-09-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-gradient.h: Change gradientTransform from NRMatrix to
NR::Matrix. Users updated.
* src/Makefile.am (EXTRA_DIST), Makefile_insert
dialogs/Makefile_insert extension/implementation/Makefile_insert
extension/internal/Makefile_insert helper/Makefile_insert
livarot/Makefile_insert (blah_SOURCES):
Add some .h files for `make dist'.
2004-09-19 MenTaLguY <mental@rydia.net>
* src/gc-core.h: don't defer finalizers
* src/gc-core.h: bump up free space divisor -- collections should
happen ~32x more frequently
2004-09-19 Carl Hetherington <inkscape@carlh.net>
* src/display/canvas-bpath.cpp, src/display/nr-arena-shape.cpp,
src/display/sp-ctrlline.cpp, src/libnrtype/RasterFont.cpp,
src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: remove some
unused parameters from calls to raster code.
* src/livarot/ShapeRaster.cpp: coding style cleanups.
* src/livarot/Shape.h, src/livarot/ShapeRaster.cpp: factored out
_updateIntersection().
* src/livarot/AVL.cpp, src/livarot/AVL.h: remove DblLinked. Cleanups.
2004-09-18 MenTaLguY <mental@rydia.net>
* src/dialogs/filedialog.cpp: unref the preview document we created
2004-09-18 Carl Hetherington <inkscape@carlh.net>
* src/livarot/AVL.cpp, src/livarot/AVL.h,
src/livarot/DblLinked.cpp, src/livarot/DblLinked.h,
src/livarot/LivarotDefs.h, src/livarot/ShapeRaster.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/sweep-tree.cpp,
src/livarot/sweep-tree.h, src/sweep-event.h: replace leftFoo and
rightFoo with foo[2] in a few places. Associated cleanups.
* src/livarot/Shape.h: use Side rather than a bool for
TesteIntersection. Add some methods. Remove some unused variables.
* src/livarot/ShapeSweep.cpp: simplify TesteIntersection with use
of Side.
* src/livarot/sweep-event.h: const fix.
* src/livarot/sweep-event.cpp: simplifications with use of Side.
* src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeMisc.cpp, src/ShapeSweep.cpp: lastA/firstA in
Shape::dg_point ->
further work on stroking; break out bezier approximation into
public functions
2004-09-10 MenTaLguY <mental@rydia.net>
* src/render/polygon.h, src/render/shape-builder.h,
src/render/shape-builder.cpp, src/render/stroke.h,
src/render/dash.h:
beginnings of a simple alternate renderer
2004-09-09 Carl Hetherington <inkscape@carlh.net>
* src/sp-flowtext.cpp, src/sp-offset.cpp, src/splivarot.cpp,
src/display/nr-arena-shape.cpp, src/libnrtype/FlowDest.cpp,
src/livarot/PathConversion.cpp, src/livarot/Shape.h: make
Shape::nbPt and Shape::nbAr private and provide accessor methods.
* src/display/nr-arena-shape.cpp, src/livarot/Shape.h: make
Shape::flags private.
* src/splivarot.cpp, src/livarot/PathStroke.cpp,
src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp:
Clean up handling of flags in Shape class
* src/livarot/AlphaLigne.cpp, src/livarot/Path.cpp,
src/livarot/PathSimplify.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeSweepUtils.cpp: it's ok to free NULL.
* src/livarot/Shape.h, src/sp-offset.cpp, src/splivarot.cpp,
src/display/nr-arena-shape.cpp: Make Shape::pts private and offer
a read-only accessor.
* src/livarot/Shape.cpp, src/livarot/Shape.h,
src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp, src/
livarot/ShapeSweepUtils.cpp, src/livarot/ShapeUtils.h: Rename
Shape::pts to Shape::_pts, and use getPoint() wherever possible.
* src/sp-offset.cpp, src/splivarot.cpp, src/livarot/Shape.cpp,
src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp: Add
dg_point::totalDegree() and make use of it.
2004-09-08 MenTaLguY <mental@rydia.net>
* src/libnr/nr-object.h, src/libnr/nr-object.cpp: fix NRObject
initialization
* configure.in, src/gc-core.h, src/gc-managed.h, src/gc-anchored,
src/gc-finalized.h:
add a --disable-gc ./configure option to omit garbage collection
from the build (the normal allocator will be used, although
memory will obviously leak since it does not get explicitly freed)
* src/xml/repr.cpp: SPRepr's copy constructor needs to properly
initialize its fields
* src/xml/repr-util.cpp, src/xml/repr-private.h,
src/xml/repr.h, src/xml/repr.cpp:
new child-count-related routines, and added mutation signals
to SPReprDoc
* src/desktop.cpp: call the "Active Group" widget by its TRUE NAME!
* src/widgets/Makefile_insert, src/widgets/document-tree-model.cpp,
src/widgets/document-tree-model.h, src/widgets/layer-selector.cpp,
src/widgets/layer-selector.h:
very cursory start on new layers UI
2004-09-08 Carl Hetherington <inkscape@carlh.net>
* src/helper/stock-items.cpp: fix a bad free(). Improve coding
style compliance.
* src/libnrtype/FlowRes.cpp: slightly unpleasant fix for a buffer
overrun.
2004-09-07 MenTaLguY <mental@rydia.net>
* src/livarot/Shape.cpp, src/livarot/Shape.h, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeSweep.cpp:
use std::vector for points array (seems to crash less?)
* src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp,
src/livarot/Ligne.cpp, src/livarot/Path.cpp,
src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp:
switch to glib's allocator routines, which have the expected
semantics
* src/livarot/evil-malloc.h: removed
2004-09-07 Ted Gould <ted@gould.cx>
* src/color-rgba.h:
Some comments and some little code clean up things. Added a couple
of constructors to make life a little simpler.
2004-09-06 Ted Gould <ted@gould.cx>
* src/extension/plugin/gimgrad.cpp, src/extension/implementation/plugin*
share/extension/gimpgrad.inkmod, src/extension/system.cpp,
src/extension/extension.h:
Mega commit. This commit does two things, it adds in the ability to
do plugins in Inkscape. This means that there are loadable modules
that can be used for just about anything. It also provides a sample
implementation of a plugin to load GIMP gradients. This means that
GIMP gradients can be imported into Inkscape, giving a larger set of
gradients that can be used in Inkscape.
Currently, nothing here is really complete, but it is functional. The
plugins really only work for input plugins, and the GIMP gradient example
isn't very robust. They will come shortly.
2004-09-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/curve.h, src/display/curve.cpp:
Change x,y members to NR::Point.
Rename posset (spiced&spiked hot milk) to posSet as per CodingStyle.
* src/display/curve.cpp (sp_curve_reverse): Previously this
routine returned only the last subpath, and made it an open
path. Now it preserves all aspects of the curve other than
reversing it. I believe this change makes no difference to the
draw-context and dyna-draw-context callers (though I haven't
managed to test all of these callers), whereas for the `reverse
path' command, users presumably expect the new behaviour.
* src/display/curve.cpp (sp_curve_closepath_current):
Fix bad assertion.
* src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp
(get_translation): New function.
* src/sp-polygon.cpp (polygon_get_value): Use static linkage.
(sp_polygon_set): Remove debugging output. Add `todo' comment.
2004-09-03 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
src/sp-namedview.h:
remember previously selected layer on load
2004-09-02 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp:
reintroduced the inkscape:groupmode attribute
* src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h,
src/libnr/nr-object.cpp:
remove USE_LIBGC macro again
2004-08-30 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp:
ref the object while SPObject::deleteObject runs, so it doesn't
get destroyed halfway through [ fix for bug #1012874 ]
2004-08-29 MenTaLguY <mental@rydia.net>
* src/gc-core.h:
turn off scanning of dynamic library data segments; we don't need
it, and it seems to cause problems on FC2
2004-08-27 MenTaLguY <mental@rydia.net>
* src/traits/function.h: add typedefs for all argument positions,
specifying 'void' for all arguments after the last
* src/livarot/evil-malloc.h, src/livarot/BitLigne.cpp,
src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
src/livarot/Shape.cpp, src/livarot/ShapeSweepUtils.cpp:
work around livarot bugs so I can use ElectricFence
* src/gc-core.h, src/gc-finalized.h, src/gc-anchored.h,
src/libnr/nr-object.cpp:
make the garbage collector easy to disable by undefining
USE_LIBGC in src/gc-core.h
2004-08-26 MenTaLguY <mental@rydia.net>
* src/document-private.h, src/document.h, src/document.cpp:
add notification signal when resources are added or removed
2004-08-25 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr-css.cpp (sp_repr_css_print):
Fix for shared string change.
* src/sp-text.cpp (sp_text_description):
Fix for when font Name() call fails.
* src/sp-text.cpp: CodingStyle changes, including moving some
declarations to first use.
Remove unused __SP_TEXT_C__ define.
2004-08-25 Carl Hetherington <inkscape@carlh.net>
* src/sp-cursor.cpp, src/sp-cursor.h, src/sp-guide.cpp:
coding style cleanups.
2004-08-24 MenTaLguY <mental@rydia.net>
* src/gc-anchor.h: fix to always use the GC base address, since
that will not always be the same as 'this', when I::GC::Anchored
is used via multiple inheritance.
2004-08-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/TextWrapper.h, src/libnrtype/TextWrapper.cpp (AppendUTF8):
Use strlen instead of for-loop.
Change printf to g_return_if_fail (and document that the argument
must be valid UTF-8).
Mark the text pointer as not being written through (const).
2004-08-23 MenTaLguY <mental@rydia.net>
* src/xml/repr.cpp, src/xml/sp-repr-action.h:
removed stupid default 'next' constructor arguments and force them
to be specified explicitly (and fix the omission of one, which
fixes bug #1014541)
2004-08-22 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/gc-alloc.h:
introduced a GC-aware STL allocator
* src/document-private.h, src/document.h, src/document.cpp:
switch to using STL map for "id changed" signals
2004-08-21 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/util/Makefile_insert: get libinkutil
deps straightened out
* src/document-private.h, src/document-undo.cpp, src/document.cpp:
adapt for new APIs, header cleanups/refactorings
* src/gc-core.h, src/gc-anchored.h, src/gc-finalized.h, src/gc-managed.h:
rewrote interface to Boehm GC for increased flexibility; there are now
three main classes:
- Inkscape::GC::Managed: objects managed by the GC; replaces
Inkscape::GC::Object
- Inkscape::GC::Finalized: objects for which the GC will call
destructors automatically; replaces
Inkscape::GC::FinalizedObject
- Inkscape::GC::Anchored: managed objects which can be 'anchored'
to prevent collection while non-gc-aware
objects are holding references; replaces
Inkscape::Refcounted
Note that they no longer inherit from each other(!), so you will
need to mix-and-match via multiple inheritance. The latter two
don't do anything useful without the first, however.
* src/gc-object.h, src/refcounted.h: removed
* src/message-context.cpp, src/message-stack.h, src/selection.h,
src/view.cpp, src/libnr/nr-object.h, src/util/list.h,
src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h, src/desktop.cpp:
adopt new GC API and header refatorings
* src/Makefile.am, src/util/Makefile_insert:
list util/* files in util's Makefile_insert now.
* src/util/reverse.h: revive anx fix Inkscape::Util::reverse
* src/util/share-c-string.cpp, src/util/share-c-string.h: removed
* src/util/shared-c-string.cpp, src/util/shared-c-string.h:
employ the type system to make shared strings a little safer to use;
you can still shoot yourself in the foot, but at least now you need
to aim and pull the trigger first
* src/xml/Makefile_insert, src/xml/repr-action-test.cpp,
src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.h:
reorganize transaction logging files
* src/xml/repr-action-test.cpp: updated headers
* src/xml/repr-action.cpp, src/xml/repr-action.h: removed
* src/xml/repr-private.h, src/xml/repr.cpp, src/xml/repr.h:
update for new GC API and shared strings
* src/xml/sp-repr-action-fns.h, src/xml/sp-repr-action.cpp,
src/xml/sp-repr-action.h:
header refactoring and new GC API
* src/xml/sp-repr-attr.h, src/xml/sp-repr-listener.h:
new GC API
2004-08-20 Carl Hetherington <inkscape@carlh.net>
* src/zoom-context.cpp, src/view.cpp, src/version.cpp,
src/sp-defs.cpp: coding style cleanups.
* src/sp-polygon.cpp: coding style and a few other small cleanups.
* src/sp-anchor.cpp: coding style cleanups. Remove unnecessary
static variable.
2004-08-18 Bryce Harrington <bryce@bryceharrington.org>
* autogen.sh: Fixing the 'missing ltmain.sh' bug
2004-08-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-star.cpp: Use cast to guint32 instead of using modulo 2**32.
Fix a uint compilation bug on Windows reported by mrchapp.
Mark a few functions as static.
2004-08-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-conn-end.cpp (change_endpts):
Use new sp_curve_stretch_endpoints function: i.e. preserve the
shape of the connector path.
* src/display/curve.h, src/display/curve.cpp
(sp_curve_stretch_endpoints): New function.
* src/sp-use-reference.cpp: CodingStyle changes.
* src/sp-item.h, src/sp-item.cpp (sp_item_write_transform):
Indicate that adv won't get written to.
* src/sp-rect.cpp (sp_rect_set_transform): Call sp_rect_set_shape,
so that bbox is up-to- src/livarot/PathConversion.cpp,
src/livarot/Shape.cpp,
src/livarot/Shape.h, src/livarot/ShapeDraw.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp,
src/livarot/ShapeSweepUtils.cpp:
Revert these files to their state prior to mental's "2004-08-08"
entry (the change made in 2004-08-09 02:23 UTC).
2004-08-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/algorithms/longest-common-suffix.h: Fix bug I introduced three
days ago.
* src/attributes.h, src/attributes.cpp: New attributes
SP_ATTR_CONNECTION_START, SP_ATTR_CONNECTION_END.
* src/sp-conn-end.h, src/sp-conn-end.cpp,
src/sp-conn-end-pair.h, src/sp-conn-end-pair.cpp:
New files.
* src/Makefile_insert (libinkpre_a_SOURCES): Add the new files.
* src/sp-path.cpp, src/sp-path.h: Call the new connector stuff.
* src/display/curve.h, src/display/curve.cpp
(sp_curve_first_point, sp_curve_last_point): New functions.
(sp_curve_transform): Re-implement with NR::Matrix/NR::Point.
The old code appears to be buggy for sheer/rotate matrices
due to calculating each y coord using the new corresponding x coord
instead of the previous value.
Also add NR::translate version.
Get rid of the return value. Callers updated.
* src/sp-item.h, src/sp-item.cpp: (i2anc_affine): New function
(essentially a rename of existing private partial_xform function, but
differing behaviour on encountering non-SPItem in the hierarchy).
(i2i_affine): New function (essentially a rename of existing
SPItem::getRelativeAffine). Implement SPItem::getRelativeAffine in
terms of the new function.
(sp_item_dt2i_affine): NR::Matrix version.
* src/libnr/nr-path.h (c, setC): new methods.
2004-08-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-affine.cpp (sp_desktop_w2doc_affine,
sp_desktop_doc2w_affine, sp_desktop_doc2d_xy_point),
src/knotholder.cpp (knot_moved_handler), src/sp-item.cpp
(SPItem::getRelativeTransform), src/sp-rect.cpp
(sp_rect_set_transform), src/display/sp-canvas-util.cpp
(sp_canvas_item_i2i_affine, sp_canvas_item_set_i2w_affine):
Cleanup: Use the new division operators instead of multiplication by
inverse. (Currently the division operators are implemented as
multiplication by inverse.)
* src/splivarot.cpp, src/livarot/Shape.cpp, src/livarot/ShapeMisc.cpp,
src/livarot/ShapeRaster.cpp, src/livarot/ShapeSweep.cpp:
Hurriedly fix some problems caused by overly-hurried changes.
Address some signed/unsigned warnings.
Add some assertions.
(Haven't checked the performance cost of the assertions.)
* src/livarot/Shape.h: Make constructors explicit.
2004-08-08 MenTaLguY <mental@rydia.net>
* src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-offset.cpp,
src/splivarot.cpp, src/display/nr-arena-shape.cpp,
src/livarot/PathConversion.cpp, src/livarot/Shape.cpp,
src/livarot/Shape.h, src/livarot/ShapeDraw.cpp,
src/livarot/ShapeMisc.cpp, src/livarot/ShapeRaster.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeSweepUtils.cpp:
replace ad-hoc realloced arrays with std::vector and deal with
uninitialized data problems that valgrind complained about
* libgc.supp: valgrind suppression profile for libgc, which necessarily
reads and runs comparisons on a lot of uninitalized data; the present
form of this file is probably too broad however
2004-08-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix-div.h, src/libnr/nr-matrix-div.cpp:
operator/(NR::Point, NR::Matrix), operator/(NR::Matrix, NR::Matrix):
new functions, new files.
* src/algorithms/longest-common-suffix.h:
Handle in O(1) time the common case of equal tails.
Documentation.
2004-08-08 Ted Gould <ted@gould.cx>
* src/svg-profile.h, src/Makefile_insert:
Adding the first support in for trying to determine which profiles are
used with certain functionality, and if that is used by the current
document. Really, right now, there is no code changes to anything that
compiles. But this is the header file that contains the class that
I'm plannig to use in the future.
2004-08-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/RasterFont.h, src/libnrtype/RasterFont.cpp:
Get rid of argumentless constructor (which was leaving
style.transform as random bits), replace with constructor taking
style argument. Caller updated.
Disable default copy constructor and operator=.
2004-08-06 MenTaLguY <mental@rydia.net>
* configure.in, src/gc-core.h, src/gc-object.h,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-group.cpp,
src/display/nr-arena-image.cpp, src/display/nr-arena-item.cpp,
src/display/nr-arena-shape.cpp, src/display/nr-arena.cpp,
src/helper/action.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h:
make NRObject GC-aware
2004-08-06 David Turner <novalis@gnu.org>
* src/sp-shape.cpp (sp_shape_marker_get_transform): Make marker handling
match
SVG spec better.
2004-08-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp:
NR::Matrix *= NR::scale: new.
* src/sp-object.cpp, src/sp-object.h, src/sp-object-tree-iterator.h:
Move TreeIterator<SPObject *> specialization to snew file
sp-object-tree-iterator.h.
Mark several pointers as not being written through.
Correspondingly change TreeIterator specialization to
<SPObject const *> instead of <SPObject *>.
* display/nr-arena-item.cpp, display/nr-arena-item.h:
Add NR::Matrix version of nr_arena_item_set_transform.
* src/sp-item.h, src/sp-item.cpp (getRelativeTransform, partial_xform):
Mark pointers as not written through.
* src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/path-chemistry.cpp, src/rect-context.cpp,
src/selection-chemistry.cpp, src/seltrans.cpp, src/sp-flowdiv.cpp,
src/sp-flowregion.cpp, src/sp-flowtext.cpp, src/sp-item-group.cpp,
src/sp-item-notify-moveto.cpp, src/sp-item-transform.cpp,
src/sp-item.cpp, src/sp-item.h, src/sp-offset.cpp, src/sp-rect.cpp,
src/sp-shape.cpp, src/sp-use.cpp, src/spiral-context.cpp,
src/splivarot.cpp, src/star-context.cpp, src/text-context.cpp,
src/dialogs/item-properties.cpp:
Change SPItem->transform from NRMatrix to NR::Matrix.
* src/libnr/nr-matrix-ops.h (operator*(NR::Matrix, NRMatrix)): new.
* src/libnr/nr-matrix.h: NR::Matrix *= NR::translate: new operator.
* src/nodepath.cpp: Mark NodeSort operator< as static.
Indentation as per CodingStyle.
* src/libnr/nr-scale.h (NR::scale(double)): new constructor.
* src/svg/svg-affine.cpp (sp_svg_transform_write), src/svg/svg.h:
Add NR::Matrix version.
2004-08-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/bezier-utils.cpp: Misc. minor changes.
2004-08-04 MenTaLguY <mental@rydia.net>
* configure.in, src/gc-object.h, src/refcounted.h:
start using libgc in earnest; Inkscape::Refcounted is now GC-aware
2004-08-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/nodepath.cpp: Cleanups: Mark some things as static. Switch from
pointer to reference in some places. Make const placement conform to
CodingStyle.
* src/inkview.cpp (sp_svgview_main_key_press): Accept some common keys
like PgUp, q.
* src/draw-context.cpp (fit_and_split):
Slight simplification: don't handle impossible condition npoints < 2.
* src/proofs: Update accordingly. (Also add some bezier-utils proofs.)
2004-08-04 David Turner <novalis@gnu.org>
* sp-path.cpp: 'd' is a required attribute for paths. Ensure that
all paths have it.
2004-08-03 MenTaLguY <mental@rydia.net>
* src/dialogs/rdf.cpp, src/xml/repr-util.cpp, src/xml/repr.h:
removed sp_repr_recursive_drop() which is unneeded and
creates unnecessary thrash in the undo logs
* src/livarot/Shape.h, src/livarot/Shape.cpp,
src/livarot/ShapeSweep.cpp, src/livarot/ShapeMisc.cpp:
experiment to replace ad-hoc realloc() arrays with std::vector
2004-08-02 David Turner <novalis@gnu.org>
* file.cpp, file.h, interface.cpp, toolbox.cpp, verbs.cpp, verbs.h:
Added vacuum command to remove unused defs.
2004-08-02 MenTaLguY <mental@rydia.net>
* configure.in: sigc++ 2.0.2 (and before?) has a bug that
causes us to crash. require >= 2.0.3
* src/Makefile.am, src/Makefile_insert, src/gc-core.h,
src/gc-object.h, src/algorithms/longest-common-suffix.h,
src/traits/list.h, src/traits/reference.h, src/util/flip.h,
src/util/fold.h, src/util/list-iterator.h, src/util/list.h,
src/util/map.h, src/util/parent-axis.h, src/util/reverse.h,
src/util/sibling-axis.h, src/util/tuple.h, src/util/zip.h:
more "functional" work
2004-08-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/display/curve.cpp, src/display/curve.h:
Greater conformance with CodingStyle.
2004-07-31 David Turner <novalis@gnu.org>
* dialogs/xml-tree.cpp: Improved focus, added keystroke for attr commit.
2004-07-31 Ted Gould <ted@gould.cx>
* src/extension/extension.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h, src/extension/internal/eps-out.cpp,
src/extension/internal/eps-out.h:
Okay, changed the prefs_ prototypes to include which extension they are
working with. This should clean up some warnings before they become
problems later.
2004-07-31 Ted Gould <ted@gould.cx>
* src/print.cpp, src/extension/extension.cpp, src/extension/extension.h,
src/extension/internal/eps-out.cpp, src/extension/internal/ps.cpp:
Changed the get and set param prototypes so that they aren't overloaded
anymore - this was flaky. Also added a document to the prototype so
that document specific parameters can be supported in the future.
2004-07-28 David Turner <novalis@gnu.org>
* sp-gradient.cpp, widgets/gradient-vector.cpp: fixed gradient handling to
properly render gradients with sharp color boundaries
2004-07-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/inkview.cpp: Make the window title be the name of the
instead of the current file instead of the first file.
* src/round-test.cpp: New unit-test file.
* src/desktop.h, src/sp-desktop-widget.h:
Move SPDesktopWidget stuff from desktop.h to new file
sp-desktop-widget.h.
* debian/*: Copy lots of changes from wolfi's official Debian package
of inkscape.
Also use separate builddir, which simplifies the `clean' target.
2004-07-24 MenTaLguY <mental@rydia.net>
* configure.in, src/Makefile.am, src/main.cpp, src/gc-core.h:
added libgc dependency
* src/Makefile.am, traits/function.h:
added trait class for functions and C++ "functors"
* src/Makefile.am, util/flip.h:
added flip() which, given a function with two arguments,
returns an identical function with its arguments reversed
2004-07-23 MenTaLguY <mental@rydia.net>
* src/Makefile.am, src/traits/reference.h, src/util/tuple.h:
added generic Tuple type
2004-07-23 Ted Gould <ted@gould.cx>
* src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
src/sp-namedview.h, src/dialogs/desktop-properties.cpp,
src/display/canvas-grid.cpp, src/display/canvas-grid.h:
Adding in the ability to have 'emphasis grid lines' where some lines are a
different color than others. In the default case every fifth grid line
gets to be 0x11 darker alpha. Nothing that will get in your way, but
enough that you can find the spacing. All parameters are changeable in
document preferences.
2004-07-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* autogen.sh: Move unversioned automake to last resort.
2004-07-20 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-preferences.cpp: corrected my usage of static
l18n strings.
* src/dialogs/stroke-style.cpp: fixed missing l18n. (bug #994837)
* src/dialogs/sp-attribute-widget.cpp: went hunting for other static
l18n strings. Fixed some here too.
* autogen.sh: cleanups and more debugging.
* share/extensions/sk2svg.sh: tempfile cleanups from pjrm (patch #990009)
2004-07-20 Nathan Hurst <njh@mail.csse.monash.edu.au>
* debian/changelog, configure.in: Moved to 0.40cvs and updated
debian stuff.
2004-07-18 MenTaLguY <mental@rydia.net>
* configure.in, src/Makefile.am, src/algorithms/Makefile_insert,
src/algorithms/makefile.in, src/traits/Makefile_insert,
src/traits/makefile.in, src/util/Makefile_insert, src/util/makefile.in:
added src/algorithms, src/traits, and src/util subdirs
* src/algorithms/longest-common-suffix.h:
added generic "longest common suffix" algorithm
* src/traits/list.h: added traits class for lists
* src/traits/tree-iterator.h: added traits class for n-ary tree iterators
* src/util/list-iterator.h: STL iterator for lists
* src/util/parent-axis.h: parent "axis" of tree iterator as list
* src/util/sibling-axis.h: sibling "axis" of tree iterator as list
* src/xml/repr.h: specialize Traits::TreeIterator for SPRepr *
* src/sp-object.h: specialize Traits::TreeIterator for SPObject *
* src/sp-object.cpp: use generic "longest common suffix" to find
nearest common ancestor
* src/splivarot.cpp: use genric "longest common suffix" to find
nearest common ancestor here too
2004-07-18 Kees Cook <kees@outflux.net>
* Makefile.am, configure.in, autogen.sh, toolversions.sh:
cleaning up some automake misbehavior from the gtkmm patch.
automake 1.4isms snuck back in.
* src/desktop-events.cpp: unlocalized strings updated.
2004-07-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-path.cpp (sp_path_write): Handle shape->curve==NULL.
2004-07-18 MenTaLguY <mental@rydia.net>
* Makefile.am, configure.in, m4/Makefile.am, m4/codeset.m4, m4/gettext.m4,
m4/glibc21.m4, m4/iconv.m4, m4/isc-posix.m4, m4/lcmessage.m4,
m4/progtest.m4, src/arc-context.cpp, src/arc-context.h, src/desktop.cpp,
src/desktop.h, src/document.cpp, src/document.h, src/draw-context.cpp,
src/draw-context.h, src/event-context.h, src/main.cpp,
src/message-stack.h, src/node-context.cpp, src/node-context.h,
src/nodepath.cpp, src/nodepath.h, src/object-hierarchy.h,
src/rect-context.cpp, src/rect-context.h, src/selcue.cpp, src/selcue.h,
src/selection-describer.cpp, src/selection-describer.h,
src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp,
src/sp-item.cpp, src/sp-item.h, src/sp-object.cpp, src/sp-object.h,
src/sp-offset.cpp, src/sp-offset.h, src/sp-pattern.cpp, src/sp-use.cpp,
src/sp-use.h, src/spiral-context.cpp, src/spiral-context.h,
src/star-context.cpp, src/star-context.h, src/text-context.cpp,
src/text-context.h, src/toolbox.cpp, src/uri-references.cpp,
src/uri-references.h, src/view.cpp, src/view.h,
src/dialogs/xml-tree.cpp:
merged Aubanel MONNIER's gtkmm upgrade patch
2004-07-17 Carl Hetherington <inkscape@carlh.net>
* src/sp-use.cpp: fix a compiler warning (closes #992960)
* src/sp-offset.cpp: fix a compiler warning (closes #992960)
* src/sp-text.cpp: fix a compiler warning (closes #992959)
2004-07-16 Kees Cook <kees@outflux.net>
* src/verbs.h, src/verbs.cpp: added "sp_verbs_find" function for bryce.
2004-07-15 Ted Gould <ted@gould.cx>
* 0.39 Release
2004-07-14 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: disable recursive update warning for release
* src/select-context.cpp: work around probable cut-and-paste bug
between sp_select_context_item_handler and
sp_select_context_root_handler by checking for drag_escaped
2004-07-13 MenTaLguY <mental@rydia.net>
* src/make.exclude: omit extension/script/js/js.c from build
2004-07-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/rdf.cpp: Don't add dc:description entry to SVG files.
* src/utest/utest.h: Add include guard.
2004-07-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/decimal-round.h (decimal_round): New file, new function.
* src/round.h (decimal_round): New file, new function.
* src/Makefile_insert: Add to libinkpost_a_SOURCES.
2004-07-11 MenTaLguY <mental@rydia.net>
* src/document.h, src/document-undo.cpp:
added sp_document_get_undo_sensitive() for capturing and restoring
undo sensitivity
* src/sp-object.cpp: don't log id changes made to resolve
duplicate ids (to avoid undo badness) (fix for bug #989023)
2004-07-11 Kees Cook <kees@outflux.net>
* src/preferences-skeleton.h, src/extension/init.cpp: with simarilius,
tracked down the cause of bug #988445. Extension code now has a
small section that validates preferences for valid extension names.
* src/dialogs/filedialog-win32.cpp: corrected an assert test, and
changed dialog to take the passed window title.
* autogen.sh, config.h.mingw, configure.in, src/Makefile_insert,
src/help.cpp, src/inkscape-stock.cpp, src/inkscape.cpp, src/main.cpp,
src/make.dep, src/make.files, src/path-prefix.h, src/prefix.cpp,
src/prefix.h, src/dialogs/stroke-style.cpp,
src/extension/Makefile_insert, src/extension/init.cpp,
src/extension/implementation/Makefile_insert,
src/extension/implementation/script.cpp,
src/extension/internal/Makefile_insert, src/helper/stock-items.cpp,
src/widgets/icon.cpp:
Cleaned up all the path #define's and usage. In the process found at
least 3 separate bugs associated with file locations. This should
hopefully work for Win32 as well. Bottom line in this change: don't use
INKSCAPE_DATADIR anywhere except in "path-prefix.h". This includes
an update to the autopackage code as well with fixes so that
a change to "--enable-binreloc" will get recompiled correctly. These
changes should address bug #978391.
2004-07-11 Carl Hetherington <inkscape@carlh.net>
* src/attributes.cpp, src/attributes.h: remove confusing
snaptogrid and snaptoguides options.
* src/desktop-events.cpp: use inkscape:guide-bbox instead of
snaptoguides to turn guides on.
* src/desktop.cpp: no need to worry about Snapper::getEnabled().
* src/snap.cpp, src/snap.h: Remove explicit enabled flag from
Snapper, as itconfuses people. Added
namedview_dim_snap_all_types(). Return useful stuff from
vector_snap_list.
* src/rect-context.cpp: Use hack to make snapping kind of work
even with snap-to-bbox enabled.
* src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp: remove
snaptogrid and snaptoguides options as they confuse people. Use
better names for the scale origin radio buttons, as suggested by
Bulia.
* src/seltrans.cpp: Fix some cases where snap wasn't correctly applied.
2004-07-10 MenTaLguY <mental@rydia.net>
* src/sp-image.cpp: prospective fix for bug #979858
* src/select-context.cpp, src/select-context.h,
src/seltrans.cpp, src/seltrans.h:
gave SPSelTrans its own Inkscape::MessageContext, fixing
bug #977971
2004-07-10 Kees Cook <kees@outflux.net>
* src/knot.cpp: solved bug #988513: knot could stay grabbed in
situations where the tool went away but never got "button_release"
event. This patch uses the "enter" and "leave" notifiers to disable
the grab before a "motion" can come and snag the knot.
2004-07-09 Kees Cook <kees@outflux.net>
* src/widgets/paint-selector.cpp: solved bug #984902: the pattern
menu was being destroyed since it was remaining part of the frame
that was being destroyed whenever the selector changed. It gets
ref-counted, disconnected, and destroyed correctly now.
* mkinstalldirs: automake 1.8 stopped including "mkinstalldirs", but
intltool still uses it. We'll need to keep this until intltool
fixes the bug. intltool 0.31 and earlier are all buggy.
2004-07-09 Carl Hetherington <inkscape@carlh.net>
* src/draw-context.cpp: remove some debugging g_prints.
2004-07-08 MenTaLguY <mental@rydia.net>
* src/interface.cpp: fixed crash on desktop context menu
* src/desktop.h, src/desktop.cpp:
added SPDesktop::isWithinViewport() to conveniently determine
if an item is within view
also made isLayer() const
* src/sp-object.h: added SPObject::hasChildren() predicate
* src/sp-object.cpp: revert to old behavior of breaking parent
link before emitting "release" signal
* src/selection-chemistry.cpp: rewrote sp_selection_item_next()
and sp_selection_item_prev() to work with layers
2004-07-08 Carl Hetherington <inkscape@carlh.net>
* src/libnrtype/FontFactory.cpp: disable printing of debug
messages.
* src/sp-item-group.cpp: give it a snappoints method to fix
937318.
* src/draw-context.cpp: fix a couple of places where Shift isn't
checked before snapping.
2004-07-07 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/interface.cpp: remove the word "layer"
for now, and disable the layer selector when the user is not
inside a group
2004-07-07 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-properties.cpp: added a few g_asserts, and
added a missing sp_signal_disconnect_by_data for the color picker,
which closes bug #975864. Stopped accidentally calling
sp_document_done from the update handler (fixes bug #986411).
* src/dialogs/dialog-events.cpp, src/helper/action.cpp:
whitespace changes, typo fixes, added a few g_asserts.
* src/selection-chemistry.cpp, src/desktop.cpp: when deleting items
from the desktop, the selection context may need to be cleared since
it may have pointers to the deleted items. To do this, I just
reselect the current tool (fixes bug #983243).
* src/dialogs/xml-tree.cpp, src/dialogs/desktop-properties.cpp:
corrected tooltips memory handling.
2004-07-06 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: minor tweaks to make the existing layers
code easier to work with in its current state (particularly,
to sidestep some existing bugs that otherwise require more
UI work to fix)
2004-07-06 Carl Hetherington <inkscape@carlh.net>
* src/seltrans.cpp, src/sp-namedview.cpp,
src/display/bezier-utils.cpp, src/libnr/nr-types.cpp:
isnan appears to need a std:: namespace qualifier.
2004-07-06 Ted Gould <ted@gould.cx>
* src/libnr/nr-point.h, src/libnr/nr-rect.h:
Adding in a function to round the points and rectangles. Using this
for less precise comparisons. Also, added in a function to print
each of these.
* src/dialogs/export.cpp:
Major revisions to do all kinds of fun stuff. The major one being
that filenames and dpi's can now be stored on selections. This
makes it so that people working on a section of a document can export
it consistently.
2004-07-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-typeset-utils.h: Greatly reduce #includes.
* src/color-rgba.h, src/Makefile_insert, src/desktop.h:
Move ColorRGBA from desktop.h to new file color-rgba.h.
* src/desktop.cpp, src/dropper-context.cpp: #include it.
2004-07-05 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-properties.cpp, src/dialogs/rdf.cpp,
src/dialogs/rdf.h: added multiline data entry items, reduced
overall width of the dialog, and created the license entry areas.
Auto-detection of license on load works now.
2004-07-05 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: comitted further work which gives us a
partially-functional layers menu (not actually hooked up to
change layers yet), and it is not always updated when it needs
to be (yet). It does also fix the crash though.
* src/desktop.cpp, src/desktop.h, src/document.cpp,
src/sp-item-group.cpp, src/sp-item-group.h:
additional layers work; backed off on promoting siblings to
layers automatically and reintroduced "global" layer mode
2004-07-05 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp: prevent crash by adding a check for
layer == NULL to SPDesktopWidget::_buildLayerStatusMenuItem.
* src/selection-chemistry.cpp: prevent crash on copying empty
groups.
2004-07-04 MenTaLguY <mental@rydia.net>
* src/sp-object.cpp: fixed bug #979281 -- I had accidentally
reversed the sense of a test in SPObject::requestModified(),
such that CHILD_MODIFIED notifications were never being sent
* src/widgets/sp-color-notebook.cpp: always assume colors are
8-digit hex rrggbbaa, and zero-fill accordingly
HAPPY NATHAN#@$?#$#@$!?!?!?
* src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h,
src/interface.cpp, src/select-context.cpp, src/selection-chemistry.cpp,
src/sp-item-group.cpp, src/sp-item-group.h, src/widgets/widget-sizes.h:
Added selection-changes-current-layer and other layer refinements.
Except for fixing the currently broken layer combo box on the status
bar, I think this is pretty much the last of the layerish work I'm
willing to do for 0.39 since we're in freeze now.
2004-07-03 Kees Cook <kees@outflux.net>
* src/document.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/rdf.cpp, src/dialogs/rdf.h:
Added several more RDF entities. Created entry tooltips. Set
a few RDF defaults for the document.
2004-07-03 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/document.cpp:
siblings of a layer now become layers too
* src/interface.cpp: switched to command names suggested by bulia
* src/object-hierarchy.cpp, src/object-hierarchy.h:
bugfixes and cleanups
* src/sp-item-group.cpp, src/sp-item-group.h, src/sp-root.cpp:
new layerMode() and setLayerMode() methods; SPGroupMode becomes
SPGroup::LayerMode
* src/sp-object.h: added isSiblingOf() method
* src/sp-object.cpp: leave parent pointer in place until after
"release" handlers finish
2004-07-02 Kees Cook <kees@outflux.net>
* src/document.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/rdf.cpp, src/dialogs/rdf.h, src/xml/repr.h:
Made RDF's writable now. Handling modifications and defaults.
Mental and others will most likely kill me when they finally
read this code.
2004-07-02 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h, src/sp-item-group.cpp,
src/sp-item-group.h:
Removed the "inkscape:groupmode" attribute and added note about how
the group/layer mode setting needs to be per-view, not global.
* src/desktop.cpp, src/desktop.h,
src/object-hierarchy.cpp, src/object-hierarchy.h:
Added notification signals for switching layers, as well as putting
groups in layer mode when they are being used as layers.
Notably, you can now call SPDesktop::connectCurrentLayerChanged() to
connect to a SigC++ signal to be notified when the current layer
changes.
* src/interface.cpp, src/object-ui.cpp:
Fixed up the "Enter Group" and "Leave Group" context menu
commands a bit, and implement them both in the same places.
2004-07-02 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.cpp, src/desktop-snap.h, src/snap.cpp, src/snap.h,
src/Makefile_insert src/arc-context.cpp src/draw-context.cpp
src/dyna-draw-context.cpp src/make.dep src/make.files src/make.ofiles
src/makefile.msc src/nodepath.cpp src/rect-context.cpp
src/select-context.cpp src/selection-chemistry.cpp src/seltrans.cpp
src/sp-namedview.h src/spiral-context.cpp src/star-context.cpp:
renamed desktop-snap.* to snap.* since it has nothing to do with the
desktop any more.
* src/draw-context.cpp: Temporary hack to prevent snapping
completely failing to work when snapping to bbox points. Support
shift-disables-snap for freehand drawing.
* src/snap.cpp, src/snap.h: Added some temporary methods to assist
with hacks elsewhere.
2004-07-01 Kees Cook <kees@outflux.net>
* src/xml/repr.h, src/xml/repr-util.h, src/dialogs/rdf.cpp:
moved "repr_lookup_name" into the repr-util collection so
that the RDF stuff doesn't need to know about SPRepr internals.
Now that I've started to grok the SPRepr stuff, this seems best.
Added "sp_repr_recursive_drop" for use in the future when I may
want to throw away an entire tree of SPRepr items (like ditching
a blank "dc:rights" section).
2004-07-01 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: fix clip path loading bug
* src/sp-object.cpp: relax analness about object ids a little
2004-06-30 Kees Cook <kees@outflux.net>
* src/dialogs/desktop-properties.cpp, src/dialogs/rdf.h,
src/dialogs/rdf.cpp: built the various functions needed to extract
the RDF text elements from the DOM. XML in the document will now
be displayed in the entry fields.
2004-06-28 MenTaLguY <mental@rydia.net>
* src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr-css.cpp,
src/xml/repr-io.cpp, src/xml/repr-private.h, src/xml/repr-util.cpp,
src/xml/repr.cpp, src/xml/sp-repr-attr.h: applied peter's patch to
break out NRReprAttr
* src/sp-object.cpp, src/sp-object.h:
added SPObject::nearestCommonAncestor, which given another SPObject
returns the nearest common ancestor of the two SPObjects.
* src/sp-item.cpp, src/sp-item.h:
added SPItem::getRelativeTransform, which computes the SPItem's
transform relative to another SPObject
* src/arc-context.cpp, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/rect-context.cpp, src/spiral-context.cpp, src/star-context.cpp,
src/text-context.cpp:
drawing tools now cope with drawing within transformed groups
(i.e. layers)
2004-06-27 MenTaLguY <mental@rydia.net>
* src/sp-object.h: remove sp_object_request_update,
sp_object_invoke_update, sp_object_invoke_modified,
sp_object_request_modified, and sp_object_invoke_write, which have been
deprecated and are now completely unused
* src/Makefile_insert, src/desktop.cpp, src/desktop.h,
src/object-hierarchy.cpp, src/object-hierarchy.h, src/sp-object.cpp,
src/sp-object.h:
Implemented SPDesktop::setCurrentLayer(), introducing
Inkscape::ObjectHierarchy to permit falling back to parents if
the current layer is removed.
* src/object-ui.cpp, src/interface.cpp: really crude hack of
Sodipodi-like "enter group" and "leave group"
2004-06-26 MenTaLguY <mental@rydia.net>
* src/refcounted.h: allow reffing/unreffing const objects
* src/arc-context.cpp, src/draw-context.cpp, src/dropper-context.cpp,
src/event-context.cpp, src/event-context.h, src/node-context.cpp,
src/rect-context.cpp, src/selcue.cpp, src/selcue.h,
src/select-context.cpp, src/select-context.h, src/seltrans.cpp,
src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp,
src/text-context.cpp, src/zoom-context.cpp:
Make SPSelTrans and SPSelCue proper C++ classes with constructors.
* src/document.h, src/dialogs/xml-tree.cpp: removed sp_document_lookup_id
* src/sp-object.cpp: clarify what is happening with bug #980407 --
the clone is getting attached to the repr before the original SPObject
is.
2004-06-26 Carl Hetherington <inkscape@carlh.net>
* src/node-context.cpp: make sure nodepath->nodeContext is set up
when the selection changes. Fixes 936739.
2004-06-25 MenTaLguY <mental@rydia.net>
* src/display/sp-canvas.cpp: enabled win32 current item workaround on
all platforms
2004-06-25 Kees Cook <kees@outflux.net>
* src/dialogs/rdf.h, src/dialogs/rdf.cpp, src/dialogs/Makefile_insert,
src/dialogs/desktop-properties.cpp:
Added data entry widgets for document metadata, including a rough
license selector, and debug rdf generator. Corrected whitespace,
added table for RDF entity lookup, tag, and title mapping. Added
initial loading framework. Cleaned up rdf_work_entity_t usage.
2004-06-25 Carl Hetherington <inkscape@carlh.net>
* src/sp-namedview.cpp: cleanups in grid snap settings. Fix a
typo.
* src/seltrans.cpp: optional default origin for scaling. Fixes
to snap during scale.
* src/seltrans.h: s/opposit/opposite/. Add some comments.
* src/dialogs/display-settings.cpp: add default scale origin
option.
* src/desktop-snap.h: changes to snap_list_scale prototype.
* src/desktop-snap.cpp: snap_list_scale now returns whether
it snapped or not. The best scale snap is now the one that
changes the scale factor least, rather than the one that
results in the snap point being closest to where it used to be.
* src/display/sp-canvas.cpp: fix for win32 freeze-at-border bug,
copied from SP.
* src/knot.cpp, src/select-context.cpp: change spellings from
British to American English for translators.
2004-06-24 rejon <kidproto@users.sf.net>
* src/verbs.cpp: I changed the reverse command to be more verbose and
explanative.
2004-06-24 MenTaLguY <mental@rydia.net>
* src/seltrans.cpp: slight change to make showing/hiding center
mark easier later on
* configure.in, src/main.cpp, src/star-context.cpp,
src/display/bezier-utils.cpp, src/display/canvas-bpath.cpp,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-shape.cpp,
src/display/sp-ctrlline.cpp, src/libnr/nr-svp.cpp,
src/libnrtype/FontFactory.cpp, src/libnrtype/RasterFont.cpp,
src/livarot/AlphaLigne.cpp, src/livarot/BitLigne.cpp,
src/livarot/Ligne.cpp, src/livarot/PathOutline.cpp,
src/livarot/ShapeMisc.cpp, src/widgets/font-selector.cpp:
fixes for floating-point portability issues, courtesy of
Colin Marquardt.
* src/extensions/init.cpp: dirent.h requires inttypes.h on OS X
2004-06-23 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/desktop.cpp, src/managed.h,
src/message-context.cpp, src/message-stack.h, src/refcounted.h,
src/selection.h, src/view.cpp:
Changed my mind.
Inkscape::Managed is more properly called Inkscape::Refcounted
* src/libnrtype/Makefile_insert, src/libnrtype/codepages.h,
src/libnrtype/cp1250.cpp, src/libnrtype/cp1251.cpp,
src/libnrtype/cp1252.cpp, src/libnrtype/cp1253.cpp,
src/libnrtype/cp1254.cpp, src/libnrtype/cp1255.cpp,
src/libnrtype/cp1256.cpp, src/libnrtype/cp1257.cpp,
src/libnrtype/cp1258.cpp, src/libnrtype/cp874.cpp,
src/libnrtype/cp932.cpp, src/libnrtype/cp936.cpp,
src/libnrtype/cp949.cpp, src/libnrtype/cp950.cpp:
removed unused Win32 codepage crap
2004-06-23 Carl Hetherington <inkscape@carlh.net>
* src/inkscape.cpp: Don't connect to SIGBUS on Win32, as
it doesn't seem to exist. Add Emacs mode line.
Declaration-to-first-use and coding style cleanups.
* src/desktop-snap.h: a few double -> NR::Coord fixes.
* src/nodepath.cpp: turn off snapping when Shift is held down.
Some minor cleanups.
* src/dialogs/display-settings.cpp: remove my rather dubious
move_with_grid option.
* src/select-context.cpp: rationalise grid modifiers; now Shift
disables snap and Alt snaps movement to the grid.
2004-06-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* share/extensions/dia2svg.sh: Fix bashism and insecure tempfile usage.
2004-06-23 Ted Gould <ted@gould.cx>
* share/extensions/dropshadow.inkmod, share/extensions/roundhole.inkmod,
src/extension/system.cpp:
Setting it up so that poorly formed inkmod files generate actual GTK
warnings so that they can be easily hidden. Also, fixing these two inkmod
files so that they don't generate the above mentioned warnings.
2004-06-22 Kees Cook <kees@outflux.net>
* src/inkscape.cpp: added SIGBUS and SIGABRT handling.
2004-06-22 John Cliff <simarilius@yahoo.com>
* src/object-edit.cpp: Added knots for manipulation of pattern fills.
* src/sp-shape.cpp, src/sp-shape.h: Added sp_shape_set_pattern to
explictly set the transform rather than multiplying like adjust.
2004-06-22 Carl Hetherington <inkscape@carlh.net>
* src/sp-shape.cpp: add sp_shape_snappoints.
* src/desktop-snap.cpp: minor cleanups. Added a comment.
* src/sp-text.cpp: removed an old comment.
* src/sp-ellipse.cpp: fix snappoints method now that the parent
class method has changed.
* src/sp-rect.cpp: snappoints method is not required as it's now
handled by SPShape.
* src/sp-image.cpp: use SPItem's snappoints method.
* src/file.cpp: fix another call to g_file_test with a
possibly-NULL parameter. Fixes #977413.
2004-06-21 Carl Hetherington <inkscape@carlh.net>
* src/file.cpp: don't call g_file_test with a NULL path. Fixes
#976703.
* src/desktop-snap.cpp: default to snapping to bounding boxes when
snapping is first enabled. Rework in terms of SPNamedView rather
than SPDesktop.
* src/desktop-snap.h: rework in terms of SPNamedView rather than
SPDesktop.
* src/arc-context.cpp, src/draw-context.cpp,
src/dyna-draw-context.cpp, src/nodepath.cpp src/rect-context.cpp,
src/select-context.cpp, src/selection-chemistry.cpp,
src/seltrans.cpp, src/sp-namedview.cpp, src/spiral-context.cpp,
src/star-context.cpp: Adapt for changes to snap code naming.
* src/seltrans.cpp: cleanups to sp_sel_trans_skew_request and
sp_sel_trans_scale_request.
2004-06-20 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod, share/extensions/ai_output.inkmod,
share/extensions/dia.inkmod, share/extensions/dropshadow.inkmod,
share/extensions/epsi_output.inkmod, share/extensions/roundhole.inkmod,
share/extensions/svgz_input.inkmod, share/extensions/svgz_output.inkmod,
share/extensions/txt2svg.inkmod, src/extension/extension.h,
src/extension/system.cpp, src/extension/implementation/script.cpp,
src/extension/internal/eps-out.cpp,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp,
src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
src/extension/internal/win32.cpp:
Changing the naming of the extensions to be more Java style naming to
allow for more extension in the future.
2004-06-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/internal/ps.cpp (PrintPS): Initialize _stream to
NULL (fixes segfaults when exporting to an unopenable file), and
initialize _bitmap to false instead of random.
2004-06-20 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/managed.h, src/message-context.h,
src/message-stack.h, src/message.h, src/view.cpp:
Document classes, and change Managed to have an initial refcount
of one at creation.
2004-06-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/FontFactory.cpp, src/libnrtype/FontInstance.cpp,
src/libnrtype/font-instance.h: If both WIN32 and WITH_XFT are
defined, then use just the WITH_XFT code. (I don't know if it's
possible for both to be defined, but we might as well document
that the existing code doesn't handle both being defined, AFAICT.)
* src/libnrtype/FontFactory.cpp (ink_strstr): Document brokenness.
(is_regular, is_nonbold, is_italic, etc.): Mark as static.
* src/Makefile.am (EXTRA_DIST): Remove reference to deleted files
libnrtype/nr-type-w32.cpp, libnrtype/nr-type-w32.h,
libnrtype/nr-type-xft.cpp, libnrtype/nr-type-xft.h.
* src/config.h.win32: Define PACKAGE_TARNAME, for require-config.h.
More accurate mathematical constants (20 decimal places instead of 3).
2004-06-19 MenTaLguY <mental@rydia.net>
* src/desktop.cpp, src/managed.h, src/rect-context.cpp,
src/rect-context.h, src/selection.h, src/view.cpp:
SPSelection now derives from Inkscape::Managed
* src/Makefile_insert, src/select-context.cpp, src/select-context.h,
src/selection-describer.h, src/selection-describer.cpp:
Introduced Inkscape::SelectionDescriber to which SPSelectContext
delegates the task of displaying descriptions of the current
selection. This fixes bug #945735.
2004-06-19 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.{cpp,h}: sp_desktop_dim_snap_list returns
whether or not it snapped anything.
* src/select-context.cpp: fix snap on move behaviour (again)
* src/widgets/dash-selector.cpp: fix off-by-one spotted by
valgrind.
2004-06-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/internal/ps.cpp (begin): Add some basic error handling.
* src/extension/internal/ps.cpp (setup): Simplify an expression now that
_bitmap is a bool.
* src/extension/internal/ps.h: Twiddle the order of the fields.
Replace bitfields with bool/short.
* src/libnrtype/Makefile_insert, src/libnrtype/FontInstance.h,
src/make.files, src/make.ofiles, src/make.dep:
Remove src/libnrtype/FontInstance.h (see change below).
* src/libnrtype/RasterFont.h, src/libnrtype/raster-glyph.h,
src/libnrtype/raster-position.h:
Move raster_glyph, raster_position from RasterFont.h to new files
raster-glyph.h, raster-position.h.
* src/libnrtype/Makefile_insert: Add the new files to SOURCES.
* src/libnrtype/FontInstance.h, src/libnrtype/font-glyph.h,
src/libnrtype/font-instance.h, src/libnrtype/font-style.h:
Move font_glyph, font_instance, and font_style definitions from
FontInstance.h into new files font-glyph.h, font-instance.h,
font-style.h.
* src/libnrtype/Makefile_insert: Add the new files to SOURCES.
* src/libnrtype/nrtype-forward.h: New file.
* src/libnrtype/Makefile_insert: Add it to SOURCES.
* src/libnrtype/FontFactory.h, src/libnrtype/TextWrapper.h:
#include it (replacing local declarations in some cases).
* src/livarot/livarot-forward.h: New file.
* src/livarot/Ligne.h, src/livarot/Path.h, src/livarot/Shape.h:
#include it (replacing local declarations in some cases).
* src/livarot/Makefile_insert: Add it to SOURCES.
2004-08-18 Ted Gould <ted@gould.cx>
* src/file.cpp, src/preferences-skeleton.h:
Adding the feature that the save and open directories are saved in the
preferences. The last one will be used.
2004-08-18 Carl Hetherington <inkscape@carlh.net>
* src/widgets/font-selector.cpp: uint -> guint to fix
compile errors.
* src/desktop-snap.{cpp,h}: make snap functions aware of the
type of point they are snapping, so they can decide whether
to ignore it.
* src/arc-context.cpp, src/rect-context.cpp,
src/spiral-context.cpp, src/star-context.cpp,
src/draw-context.cpp, src/dyna-draw-context.cpp, src/nodepath.cpp,
src/selection-chemistry.cpp, src/seltrans.cpp:
temporarily update for changes to snapping API.
* src/sp-namedview.cpp, src/dialogs/desktop-properties.cpp:
adapt for small changes to Snapper API.
* src/select-context.cpp: use new snapping API.
2004-08-17 Bryce Harrington <bryce@bryceharrington.org>
* nodepath.cpp path-chemistry.cpp selection-chemistry.cpp,
seltrans.cpp sp-typeset.cpp splivarot.cpp text-context.cpp,
tools-switch.cpp dialogs/find.cpp: Converting statusbar
messages from old style to new, as per
http://inkscape.org/cgi-bin/wiki.pl?StatusbarAPI
2004-06-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/mkdep.pl: Add `by mkdep.pl' to `automatically generated' line.
* src/dialogs/desktop-properties.cpp:
Greater conformance to CodingStyle. Add FIXME comment.
* src/sp-namedview.cpp: Tighter scoping for iteration var.
Simplify some code by greater use of cheap sp_unit_get_by_id.
2004-06-17 MenTaLguY <mental@rydia.net>
* src/Makefile_insert, src/arc-context.cpp, src/arc-context.h,
src/desktop-events.cpp, src/desktop.cpp, src/desktop.h,
src/draw-context.cpp, src/dropper-context.cpp, src/event-context.cpp,
src/event-context.h, src/file.cpp, src/interface.cpp, src/knot.cpp,
src/managed.h, src/message-context.cpp, src/message-context.h,
src/message-stack.cpp, src/message-stack.h, src/message.h,
src/select-context.cpp, src/view.cpp, src/view.h,
src/libnrtype/FontFactory.cpp, src/libnrtype/nr-type-primitives.h,
src/widgets/font-selector.cpp:
New status messages primitives (statusbar bug not fixed yet though).
2004-06-17 Carl Hetherington <inkscape@carlh.net>
* src/helper/stock-items.cpp: fix a compiler warning. Minor
coding style cleanups.
* src/arc-context.cpp, src/desktop-snap.cpp, src-desktop-snap.h,
src/rect-context.cpp, src/spiral-context.cpp,
src/star-context.cpp: Replace desktop.h include with forward
references in desktop-snap.h, and add desktop.h includes in
files which require them.
* src/widgets/spw-utilities.cpp, src/widgets/spw-utilities.h:
add spw_vbox_checkbutton.
* src/attributes.cpp, src/attributes.h, src/sp-namedview.cpp,
src/sp-namedview.h, src/desktop-snap.cpp, src/desktop-snap.h,
src/desktop.cpp, src/desktop.h,
src/dialogs/desktop-properties.cpp, src/seltrans.cpp,
src/seltrans.h, src/selection.cpp, src/selection.h,
src/select-context.cpp, src/selection-chemistry.cpp:
Start of new and hopefully improved snapping code.
2004-06-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/units.h, src/helper/units.cpp:
(sp_unit_get_by_id): new function.
(sp_convert_distance_full): Change arguments & return value.
Call g_log if no conversion possible.
Callers updated.
(sp_unit_get_default, sp_unit_get_by_name): Remove unused functions.
sp_units: Less rounding error in unittobase.
2004-06-16 Carl Hetherington <inkscape@carlh.net>
* src/sp-item.h: added a comment.
2004-06-15 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod:
Removing the command-line argument to specify line endings.
* src/print.cpp, src/print.h, src/sp-text.cpp,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/internal/ps.cpp, src/extension/internal/ps.h:
Changing it so that the text to vector is its own function. This way it
can be used as a parameter in Postscript, but then can be easily used for
drivers which only support vector drawing.
2004-06-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/select-toolbar.cpp: Cleanups and preparation for px units.
* src/helper/units.h, src/helper/units.cpp:
Add reference version of sp_points_get_units, sp_units_get_points.
Implement as simple multiplication instead of sp_convert_distance.
(sp_units_table_sane): New function.
* src/helper/units-test.cpp: Test sp_units_table_sane.
* src/sp-object-repr.cpp: Move some declarations to first use.
* src/sp-object-repr.h, src/sp-object-repr.cpp (sp_object_type_register):
Change return type to void.
* src/sp-item.cpp (sp_item_repr_compare_position):
Reimplement as shallow wrapper around sp_repr_compare_position.
* src/helper/units.h, src/helper/units.cpp:
SPUnitId: new enum, to allow replacing string lookups.
Get rid of handling for unused SP_UNIT_USERSPACE.
Remove unused SPUnit.version field.
* src/helper/units-test.cpp (test_bases): Test sp_unit_get_identity.
* src/helper/Makefile_insert (helper_units_test_LDADD): Fix the previous
commit: -lglib-2.0 instead of -lglib.
2004-06-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/Makefile.am, src/helper/Makefile_insert,
src/helper/units-test.cpp:
New unit test file units-test.cpp.
* src/select-toolbar.cpp: Greater conformance to CodingStyle.
2004-06-14 Carl Hetherington <inkscape@carlh.net>
* src/libnrtype/TextWrapper.cpp: Fix what looks like an off-by-one.
* ChangeLog, src/prefs-utils.cpp:
Fix bracketing typo that causes an array to be overrun.
2004-06-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-path.cpp: Move some declarations to first use.
2004-06-13 Kees Cook <kees@outflux.net>
* src/xml/repr.h, src/xml/repr-utils.cpp: adding additional RDF URIs
to the default namespace prefix list.
2004-06-13 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/desktop.cpp, src/desktop.h, src/document.cpp,
src/document.h, src/draw-context.cpp, src/dyna-draw-context.cpp,
src/file.cpp, src/gradient-chemistry.cpp, src/interface.cpp,
src/rect-context.cpp, src/selection-chemistry.cpp, src/sp-object.cpp,
src/sp-object.h, src/spiral-context.cpp, src/splivarot.cpp,
src/star-context.cpp, src/svg-view.h, src/text-context.cpp,
src/extension/internal/gdkpixbuf-input.cpp:
added SPDesktop::currentRoot() and SPDesktop::currentLayer(), which
report the current "view" root and current "editing" layer,
respectively; I've also added SPObject::appendReprChild().
Between the two of them, they replace sp_document_add_repr, which
has been removed. Generally to add a repr to a document, you would
now use either:
SP_DOCUMENT_DEFS(document)->appendReprChild(repr);
or:
desktop->currentLayer()->appendReprChild(repr);
2004-06-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-clippath.h, src/sp-gradient.h, src/sp-marker.h, src/sp-mask.h,
src/sp-pattern.h:
Explicitly mark _acceptObject as virtual.
(Already declared as virtual in base class.)
* src/file.cpp, src/main.cpp: Greater conformance to CodingStyle.
* src/node-context.h, src/selcue.h, src/sp-pattern.h,
src/widgets/sp-color-wheel-selector.h:
Add missing includes as found by src/check-header-compile.
* src/Makefile_insert:
* src/sp-use-reference.cpp:
* src/sp-use-reference.h:
* src/sp-use.cpp:
* src/sp-use.h:
Move SPUseReference from sp-use.h to new files sp-use-reference.h,
sp-use-reference.cpp.
* src/sp-use.h (_acceptObject): Fix can't-use-ancestor check.
* src/uri-references.h (getOwner): Fix copy&paste bug.
2004-06-11 MenTaLguY <mental@rydia.net>
* src/sp-object.h, src/sp-object.cpp:
migrated several SPObject methods to C++ methods:
sp_object_invoke_write -> SPObject::updateRepr
sp_object_request_update -> SPObject::requestDisplayUpdate
sp_object_invoke_update -> SPObject::updateDisplay
sp_object_request_modified -> SPObject::requestModified
sp_object_invoke_modified -> SPObject::emitModified
(leaving deprecated wrappers in place for now)
* src/document.cpp, src/object-edit.cpp, src/sp-clippath.cpp,
src/sp-defs.cpp, src/sp-ellipse.cpp, src/sp-image.cpp,
src/sp-item-group.cpp, src/sp-item.cpp, src/sp-line.cpp,
src/sp-marker.cpp, src/sp-mask.cpp, src/sp-offset.cpp,
src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-root.cpp,
src/sp-shape.cpp, src/sp-spiral.cpp, src/sp-star.cpp,
src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp,
src/sp-use.cpp, src/dialogs/stroke-style.cpp, src/sp-path.cpp:
transitioned to SPObject::requestDisplayUpdate and
SPObject::updateDisplay
* src/arc-context.cpp, src/document.cpp, src/gradient-chemistry.cpp,
src/knotholder.cpp, src/main.cpp, src/rect-context.cpp,
src/sp-anchor.cpp, src/sp-clippath.cpp, src/sp-defs.cpp,
src/sp-gradient.cpp, src/sp-item-group.cpp, src/sp-item.cpp,
src/sp-mask.cpp, src/sp-namedview.cpp, src/sp-object-group.cpp,
src/sp-object.cpp, src/sp-object.h, src/sp-offset.cpp,
src/sp-pattern.cpp, src/sp-rect.cpp, src/sp-shape.cpp,
src/sp-spiral.cpp, src/sp-text.cpp, src/sp-use.cpp,
src/spiral-context.cpp, src/splivarot.cpp, src/star-context.cpp,
src/style.cpp, src/toolbox.cpp, src/dialogs/fill-style.cpp,
src/dialogs/stroke-style.cpp, src/extension/internal/svg.cpp:
transitioned to SPObject::requestModified, SPObject::emitModified,
and SPObject::updateRepr; also reworked "minimal" version of
updateRepr.
* src/sp-object.h: added a little documentation
* src/document.cpp, src/document.h, src/file.cpp,
src/gradient-chemistry.cpp, src/help.cpp, src/object-ui.cpp,
src/selection-chemistry.cpp, src/selection.cpp, src/seltrans.cpp,
src/sp-clippath.cpp, src/sp-item-group.cpp, src/sp-mask.cpp,
src/sp-namedview.cpp, src/sp-object.cpp, src/sp-offset.cpp,
src/sp-pattern.cpp, src/sp-root.cpp, src/sp-text.cpp,
src/sp-typeset.cpp, src/sp-use.cpp, src/splivarot.cpp,
src/uri-references.cpp, src/dialogs/fill-style.cpp,
src/dialogs/item-properties.cpp, src/dialogs/stroke-style.cpp,
src/helper/stock-items.cpp, src/widgets/gradient-selector.cpp,
src/widgets/gradient-vector.cpp, src/widgets/icon.cpp:
replaced sp_document_lookup_id with SPDocument::getObjectById,
and SPDocument::getObjectByRepr
(left deprecated stub in place, but it should be unused at this point)
2004-06-11 Ted Gould <ted@gould.cx>
* src/file.cpp, src/inkscape.cpp, src/interface.cpp, src/prefs-utils.cpp,
src/prefs-utils.h:
Moving the recent document setting and getting code into the prefs-utils
files so that they'll be with the preferences (which they really kinda
are). Then, moved the place where they are set from the removing of the
document to where the files are opened and 'save as'd. (yes, I made up a
word/contraction).
2004-06-10 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.cpp, src/desktop-snap.h,
src/satisfied-guide-cns.cpp, src/satisfied-guide-cns.h,
select-context.cpp, selection.cpp, selection.h, seltrans.cpp,
seltrans.h, sp-ellipse.cpp, sp-image.cpp,
sp-item-notify-moveto.cpp, sp-item-rm-unsatisfied-cns.cpp,
sp-item-update-cns.cpp, sp-item.cpp, sp-item.h, sp-offset.cpp,
sp-rect.cpp, sp-spiral.cpp, sp-star.cpp, sp-text.cpp:
Use a std::vector to store snap points, rather than a fixed-size
array.
2004-06-09 Carl Hetherington <inkscape@carlh.net>
* src/desktop-snap.cpp, src/desktop-snap.h: Coding style fixes.
Use NR::Coord rather than double where appropriate. Added some
comments. Use NR::Dim2 where appropriate. Use NR_HUGE rather
than hardcoded 1e18s.
* src/rect-context.cpp, src/nodepath.cpp, src/arc-context.cpp:
Adapt for changes to sp_desktop_dim_snap prototype.
* src/select-context.cpp:
Adapt for changes to sp_desktop_dim_snap_list prototype.
2004-06-08 MenTaLguY <mental@rydia.net>
* src/display/sp-canvas.h, src/livarot/DblLinked.h,
src/livarot/LivarotDefs.h, src/livarot/AVL.h, src/livarot/Shape.h,
src/livarot/ShapeUtils.h, src/livarot/Ligne.h,
src/object-edit.cpp, src/spiral-context.cpp, src/sp-shape.cpp:
Portability fixes from Colin Marquardt <colin@marquardt-home.de>.
2004-06-08 Carl Hetherington <inkscape@carlh.net>
* src/main.cpp: remove the call to
Extension::Internal::PrintWin32::init() entirely after Ted pointed
out that it would be called by code in src/extension/init.cpp
anyway.
2004-06-08 Ted Gould <ted@gould.cx>
* src/main.cpp:
Added in a version command to our command line args. This fixes
enhancement request 968642.
2004-06-07 MenTaLguY <mental@rydia.net>
* src/document.cpp, src/document.h, src/document-undo.cpp,
src/sp-object.h, src/sp-object.cpp:
renamed object garbage collection routines to fit the "orphan"
terminology
2004-06-07 Carl Hetherington <inkscape@carlh.net>
* src/main.cpp: tentative fix for startup crash on Win32. Ensure
that Extension::Internal::PrintWin32::init() is not called until
after inkscape_application_init().
2004-06-07 Ted Gould <ted@gould.cx>
* src/inkscape.cpp, src/main.cpp:
Moving the initialization of the extensions into the Inkscape application
init. I have mixed feelings on this. On one hand, basically extension
init gets called directly after applicaiton init and extensions init has
nothing to do with anything else in main. On the other hand I'm not sure
that it is directly related to the structure of the application itself.
Comments are welcome.
2004-06-06 MenTaLguY <mental@rydia.net>
* src/attributes.cpp, src/attributes.h: added inkscape:collect attribute
to specify orphan collection policy (collect with parent, or always
collect)
* src/document-undo.cpp, src/document.cpp, src/document.h: added an orphan
collection pass as part of comitting an undo step
* src/sp-object.cpp, src/sp-object.h:
add total hrefcount for all descendants, and basic orphan collection
facilities
* src/gradient-chemistry.cpp, src/dialogs/stroke-style.cpp,
src/extension/internal/gdkpixbuf-input.cpp:
mark automatically added gradients, patterns, and markers for orphan
collection
2004-06-06 Bryce Harrington <bryce@bryceharrington.org>
* libnrtype/nr-type-xft.cpp, libnrtype/nr-font.cpp,
libnrtype/nr-rasterfont.cpp, libnrtype/nr-type-directory.cpp,
libnrtype/nr-typeface.cpp, libnrtype/nr-type-w32.cpp,
libnrtype/nr-type-ft2.cpp, libnrtype/nr-type-pos-def.cpp,
libnrtype/nr-type-primitives.cpp:
Documenting the routines. This adds basic code docs for
everything in libnrtype.
2004-06-06 Ted Gould <ted@gould.cx>
* src/main.cpp, src/preferences-skeleton.h, src/extension/extension.cpp:
Making it so that the extension parameters get saved in the Inkscape
preferences. Most people will notice that their printer gets saved now.
But this does alot more than that. Added an "extensions" group to the
preferences skeleton for all these settings. All settings get saved as
"module ID"."param name". Also had to change where the extensions get
init'd in the startup to put it behind the Inkscape application so that
prerefences could be used.
2004-06-03 Ted Gould <ted@gould.cx>
* src/file.cpp, src/dialog/filedialog.cpp:
Making the whole file dialog alot more fun. Basically, now the
first filename will always be unique on files that don't have a
filename already. And, if you've selected a different default
extension, that extension's filename extension will be placed
on the file. Also, when you change the extension to save with
in the dialog, the filename extension will change with you (assuming
that you were using filename extensions previously ofcourse).
Finally, the checkbox to autoappend extensions is no insensitive
when "Autodetect" is selected.
2004-06-03 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/extension/internal/ps.cpp,
src/extension/internal/win32.cpp, src/sp-pattern.cpp,
src/dialogs/stroke-style.cpp, src/display/nr-arena-glyphs.cpp,
src/display/nr-arena-group.cpp, src/display/nr-arena-image.cpp,
src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
src/widgets/icon.cpp, src/dialogs/nr-arena-item.h:
Introduced the notion of "parent" NRGCs
2004-06-02 bulia byak <bulia@users.sourceforge.net>
* src/selection.h, src/selection.cpp:
* preferences-skeleton.h dialogs/display-settings.cpp sp-item.cpp: New
settings
for various compensations
* sp-shape.cpp sp-shape.h sp-rect.cpp sp-path.cpp: Factored out adjustments
(stroke and pattern so far) from optimizing items into sp-shape.
* libnr: Added distance function for a couple of points. Added expansions
for X and Y.
* object-edit.cpp sp-rect.cpp sp-item.cpp toolbox.cpp: Made rect use
absolute
radii, added recursive compensation on item_transform. Added new knot for
rect, moved corner knots to the top right corner. Rect toolbar shows visible
rx/ry.
* toolbox.cpp: Finally got the freeze semaphores right (prevent loops for
changes both from the repr and from toolbar UI).
* sp-namedview.cpp: Guarding against nan in zoom, cx, cy
* select-toolbar.cpp helper/unit-menu.cpp helper/unit-menu.h: Fix units menu
size
* node-context.cpp: Second Esc or empty-click deselects object
* desktop.cpp desktop.h: Restored sticky zoom
* preferences-skeleton.h extension/internal/gdkpixbuf-input.cpp file.cpp: Do
not
group import if only one item; move its defs to our defs; select and move
under cursor the imported item/group. Optionally import bitmaps as filled
rects.
* many -context files: Decoupled seltrans and selcue so that the latter can
be
used outside of selector; enabled optional selcue in all tools
* many files: New set_color signals on desktop, switching the dropper to
them;
needs to be redone for style. Excise the old inkscape::color_set signal.
* dialogs/stroke-style.cpp: Fix the "all clubs" marker preview bug. In
markers
menu, skip document markers with stockid only if the same stockid is in
markers.svg; add separator.
* many fill and stroke files: Remove old mode selector, remove dropper
checkbox
(now always on). Remember active colorselector page. Remove redundant checks
in setting color (fixes at least one bug). Cosmetics, cleanup, b/w icons,
shortened labels, added mnemonics and tooltips, removed the drop-down modes
list. Switched color spinbuttons to 0..255 enabling 0..1 floats to be typed
as
well.
* dialogs/find.* et al: Find dialog, command
* selection-chemistry.cpp: Fix copying objects from different parents; fix
and
reorganize copying gradients, recurse into groups
* dialogs/xml-tree.cpp: Removed unused desktop shutdown signal, fixes
problem
with saving window settings on exit
* select-toolbar.cpp: Percentage unit, lock toggle, NR::Rectification
* sp-object.cpp path-chemistry.cpp splivarot.cpp et al: Sending
_delete_signal
recursively for descendants; switched to deleteObject where appropriate to
notify clones
* preferences-skeleton.h desktop.cpp desktop.h interface.cpp: Window layout
fully configurable, commands in the View menu
* path-chemistry.cpp: Fixed transform when combining inside group
* preferences-skeleton.h sp-item.cpp dialogs/display-settings.cpp: Fixes in
scalestroke (coded by Carl): arbitrary depth recusion, setting stroke-width
via repr, pref in the transforms tab
* widgets/sp-xmlview-attr-list.cpp: More robust listener
2004-06-01 Ted Gould <ted@gould.cx>
* src/extension/internal/gdkpixbuf-input.cpp:
Making it so that the lists of extensions and mimetypes are
used in the creation of the plugins. Also, free'ing everything
properly so that we don't have a memory leak.
2004-05-30 MenTaLguY <mental@rydia.net>
* src/selection.h, src/selection.cpp:
rework SPSelection to be SPObject- rather than SPItem- oriented;
this will be needed later for the layers/document tree dialog
(and could prove useful for the XML editor later too)
* src/sp-item.h: make SPItem a proper C++ subclass of SPObject
* src/dialogs/item-properties.cpp:
correct overly intimate knowledge of SPObject (use SP_OBJECT_ID rather
than directly accessing the SPObject::id member)
2004-05-27 Kees Cook <kees@outflux.net>
* src/extension/internal/ps.h, src/extension/internal/ps.cpp:
Hopefully fixed the locale problems in the PS output generator.
* src/sp-offset.cpp, src/display/bezier-utils-test.cpp,
src/display/nr-arena-item.cpp, src/libnr/nr-svp-render.cpp,
src/libnr/testnr.cpp, src/livarot/AlphaLigne.cpp,
src/livarot/Ligne.cpp, src/livarot/Path.cpp,
src/livarot/PathCutting.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeDraw.cpp, src/livarot/ShapeSweep.cpp,
src/svg/svg-affine.cpp: added comments and notes to all remaining
"printf"ish calls that have %g or %f in them. Most are just debug
output, etc. Hopefully we are actually free of locale bugs! :)
* src/desktop.h, src/desktop.cpp: desktop's knowledge of
fullscreen-ness doesn't depend on having the ability to DO it. Other
functions already test "is_fullscreen" to alter their behavior.
2004-05-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/extension/system.h, src/extension/system.cpp (build_from_file):
Remove unused second argument. Callers updated.
* src/extension/system.cpp (build_from_reprdoc):
Just one call to sp_repr_name per child.
* src/extension/system.h, src/extension/system.cpp:
Cleanup: greater conformance to CodingStyle.
2004-05-23 MenTaLguY <mental@rydia.net>
* src/libnrtype/Makefile_insert, src/libnrtype/nr-type-gnome.cpp,
src/libnrtype/nr-type-gnome.h, src/libnrtype/nr-type-dictionary:
removed gnome-print libnrtype backend
2004-05-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr.h, src/xml/repr-util.cpp:
Remove unused function sp_repr_set_position_relative.
* src/xml/repr-util.cpp (sp_repr_compare_position, sp_repr_position):
Minor cleanups.
2004-05-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-use.cpp: Cleanup: greater conformance to CodingStyle.
* src/sp-item-group.cpp (sp_item_group_ungroup): Fix bug #956334:
ungrouping was reversing the order of the group members.
* src/xml/repr-get-children.h, src/xml/repr-get-children.cpp: New files.
* src/xml/Makefile_insert (xml_libspxml_a_SOURCES): Add the new files.
* src/xml/repr-private.h, src/xml/repr.cpp (sp_repr_nth_child):
Remove this unused function.
* src/xml/repr.h, src/xml/repr.cpp (sp_repr_parent):
Mark pointer as not written through (const).
2004-05-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr.cpp: Cleanup: greater conformance to CodingStyle.
* src/Makefile_insert: Add missing dependencies on inkscape_version.h.
* src/display/Makefile_insert: Adapt dependency object names for
`subdir-objects' automake option.
* src/helper/Makefile_insert: Adapt dependency object names for
lack of libspchelp-specific CPPFLAGS.
2004-05-17 Carl Hetherington <inkscape@carlh.net>
* src/libnrtype/nr-type-w32.cpp: Tentative fix for
build problems on Win32.
* src/extension/internal/svg.cpp: Coding style cleanups.
2004-05-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-item.h, src/sp-item.cpp: Remove unused
distance-conversion functions sp_item_distance_to_svg_bbox,
sp_item_distance_to_svg_viewport.
* src/sp-item.cpp: Cleanup: greater conformance to CodingStyle.
* acinclude.m4: Remove.
2004-05-16 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/svg.cpp:
Throw an exception if sp_repr_save_file fails. This should close
bug 948921.
2004-05-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/check-header-compile.in: New script.
* configure.in: Add it to list of files for substitution.
* src/star-context.cpp: Minor cleanups, and use g_strdup_printf instead
of fixed-size buffer for translated string.
* src/selection-chemistry.cpp: Use NR::Rect bounds() method instead of
old bounds(NRRect*).
* src/document.cpp (sp_document_create):
* src/preferences-skeleton.h:
Use INKSCAPE_VERSION from inkscape_version.h instead of VERSION.
* src/libnr/nr-rotate-test.cpp: Use new rotate_equalp function.
* src/libnr/nr-translate-ops.h (operator-): New function.
* src/select-context.cpp:
* src/selection-chemistry.cpp:
* src/xml/repr.h:
* src/sp-defs.h:
Cleanup: greater conformance to CodingStyle.
* src/libnr/nr-macros.h: Don't #include nr-matrix.h, nr-rect.h.
* src/arc-context.h, src/desktop-affine.h, src/dir-util.h,
src/draw-context.h, src/dyna-draw-context.h, src/help.h,
src/knotholder.h, src/prefs-utils.h, src/select-toolbar.h,
src/sp-clippath.h, src/sp-mask.h, src/sp-pattern.h, src/sp-use.h,
src/text-context.h, src/toolbox.h, src/tools-switch.h,
src/dialogs/dialog-events.h, src/dialogs/sp-attribute-widget.h,
src/display/sp-canvas.h, src/helper/gnome-utils.h,
src/helper/png-write.h, src/helper/stock-items.h, src/inkjar/jar.h,
src/libnr/nr-matrix.cpp, src/libnr/nr-point-l.h,
src/svg/stringstream.h, src/svg/svg-affine.cpp,
src/widgets/gradient-selector.h, src/widgets/paint-selector.h,
src/widgets/spinbutton-events.h, src/widgets/spw-utilities.h,
src/xml/repr-action.h:
Add missing header files as detected by check-header-compile script.
* src/libnr/nr-rotate-fns.h, src/libnr/nr-rotate-fns.cpp: New files.
* src/libnr/nr-rotate-fns-test.cpp: New unit test.
* src/libnr/Makefile_insert, src/Makefile.am: Reference new files,
add to unit tests.
* src/libnr/nr-rotate.h: Add Coord,Coord constructor.
* src/libnr/nr-rotate.h, src/libnr/nr-rotate-ops.h (operator*=):
New method.
* src/libnr/nr-point-fns.h (point_equalp): New function.
* src/radial.h: Remove this unused header.
* src/xml/xml-forward.h: New file.
* src/xml/Makefile_insert: Add it to xml_libspxml_a_SOURCES.
* src/xml/repr-private.h: Include it.
2004-05-16 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-directory.cpp, src/libnrtype/nr-type-ft2.cpp,
src/libnrtype/nr-type-ft2.h, src/libnrtype/nr-type-gnome.h,
src/libnrtype/nr-type-w32.h, src/libnrtype/nr-type-xft.cpp,
src/libnrtype/nr-typeface.h:
transition to C++ inheritance
* src/verbs.cpp, src/helper/action.h, src/helper/action.cpp,
src/widgets/button.cpp, src/libnr/nr-object.cpp, src/libnr/nr-object.h:
removed barely-used "in-place construction" facility for NRObject
* src/helper/action.h, src/helper/action.cpp,
src/display/nr-arena-glyphs.cpp, src/display/nr-arena-glyphs.h,
src/display/nr-arena-image.cpp, src/display/nr-arena-image.h,
src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
src/helper/action.cpp, src/helper/action.h, src/libnr/nr-object.cpp,
src/libnr/nr-object.h, src/libnrtype/nr-type-ft2.cpp,
src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp,
src/libnrtype/nr-typeface.cpp:
Made NRObject "C++-compatible". All C++ features including virtual
methods and RTTI should now be available to NRObject subclasses
_provided_:
a) there is an unbroken chain of _C++_ inheritance from the subclass
back to NRObject
b) the NRObject-derived inheritance chain is always first in cases
of multiple inheritance (the NRObject must be first in the memory
layout)
c) The subclass in question overrides NRObjectClass::cpp_ctor in its
own class_init function, with a pointer to a function that calls
the specific subclass' constructor (via placement new -- you will
need to #include <new> for this to work)
n.b. Objects of classes which do not override cpp_ctor will appear
to the C++ runtime system (RTTI and virtual dispatch, at least) as
objects of the closest ancestor class which does override it
(NRObject or NRActiveObject if nothing else).
2004-05-15 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp:
further reduced dependency on SPStyle
2004-05-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-path.cpp, src/libnr/nr-path.h (nr_path_matrix_bbox_union):
Get rid of no-longer-needed tolerance arg. Update callers.
* src/selection.cpp, src/sp-chars.cpp, src/sp-image.cpp,
src/sp-item-group.cpp, src/sp-item.cpp, src/sp-item.h,
src/sp-marker.cpp, src/sp-root.cpp, src/sp-shape.cpp,
src/sp-symbol.cpp, src/sp-text.cpp, src/sp-typeset.cpp,
src/sp-use.cpp, src/dialogs/fill-style.cpp,
src/dialogs/stroke-style.cpp, src/display/nr-arena-shape.cpp,
src/libnr/nr-path.cpp, src/libnr/nr-path.h,
src/libnrtype/nr-font.cpp, src/libnrtype/nr-rasterfont.cpp,
src/libnrtype/nr-type-gnome.cpp, src/widgets/icon.cpp,
src/widgets/paint-selector.cpp:
Change argument from NRMatrix to NR::Matrix in SPItemClass->bbox,
sp_item_invoke_bbox, sp_item_invoke_bbox_full,
nr_path_matrix_bbox_union. Users updated.
* src/libnr/nr-rect.h, src/libnr/nr-rect.cpp (nr_rect_union_pt):
new function.
* src/libnr/nr-matrix-fns.h, src/libnr/nr-matrix-fns.cpp
(NR::transform): new function.
* src/Makefile_insert: Move fixes.cpp from libinkpre.a to libinkpost.a.
* src/xml/Makefile_insert (xml_repr_action_test_LDADD):
Add libinkpost.a, for fixes.o. `make check' now works again.
* src/sp-text.cpp (sp_text_set_transform):
Don't include SP_OBJECT_CHILD_MODIFIED_FLAG in flags for
sp_object_request_update. Addresses `critical' warning.
2004-05-13 John Cliff <simarilius@yahoo.com>
* src/dialogs/stroke-style.cpp: Switched to using get_stock to retrieve
markers.
* src/helpers/stock-items.h, src/helpers/stock-items.cpp: created to handle
stock items.
* src/prefix.h: Added marker and gradient directorys.
2004-05-13 Kees Cook <kees@outflux.net>
* configure.in, src/main.cpp, config.h.mingw, debian/rules:
made popt a requirement instead of an option.
2004-05-13 Carl Hetherington <cth103@houllier.home>
* sp-color-notebook.cpp: Fix uninitialised value spotted by valgrind.
* stroke-style.cpp:
Fix ink_extract_marker_name returning a pointer into a free()d buffer.
2004-05-13 Ted Gould <ted@gould.cx>
* src/file.cpp:
Making the default filename _("untitled.svg")
2004-05-12 Kees Cook <kees@outflux.net>
* config.h.mingw: added g_ascii_strtod macro.
2004-05-12 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/export.cpp: fix faulty logic with exporting of
selections, as reported by Artemio on the ML.
* src/dialogs/desktop-properties.cpp: Fix a gtk_table size.
Make use of spw_dropdown in one place.
* src/select-context.cpp: Remove alt-drag "slow move" mode.
Make alt-drag move without any grid snap, even if the grid
is enabled. Add a new mode, shift-drag, which preserves
objects' grid offsets rather than snapping their snappoints.
* src/selection-chemistry.cpp: Pasted objects have the same
offset from the grid as the original, if the grid is enabled.
Also a NRRect -> NR::Rect fix thrown in for no extra charge.
* src/dialogs/display-settings.cpp: Added option to reverse
the actions of drag and shift-drag when moving objects.
2004-05-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/main.cpp (main): Test ENABLE_NLS instead of HAVE_NLS (which
wasn't getting defined). Restores translations on *nix systems
when inkscape translations aren't in system-wide /usr/share/locale.
2004-05-10 Carl Hetherington <inkscape@carlh.net>
* src/sp-item.cpp, src/dialogs/display-settings.cpp: primitive
support for preserving line widths when scaling. Thanks to Bulia
for telling me what to do :)
* src/dialogs/align.cpp: refactor some cut-and-paste code into
a separate function. Remove NRRect. Declaration-to-first-use
cleanups.
* src/dialogs/transformation.cpp, src/dialogs/fill-stype.cpp:
NRRect removal. Declaration-to-first-use cleanups.
2004-05-09 MenTaLguY <mental@rydia.net>
* src/sp-paint-server.h: SPPaintServer now uses C++ inheritance
(bigger question -- should SPPaintServer derive from SPObject? I think
not, actually ... it's more something that should be aggregated into
the various paint-server-capable types)
* src/display/nr-arena-shape.h, src/display/nr-arena-shape.cpp:
first steps in removing SPStyle dependency from NRArenaShape --
add fill and stroke paint server members, and use those instead
of reading directly from an SPStyle.
2004-05-09 Kees Cook <kees@outflux.net>
* src/libnrtype/nr-type-xft.cpp: added patch 898200, hopefully this
won't break anyone.
* src/dialogs/desktop-properties.cpp: added patch 947127, along with
some orientation bugfixes, list cleanup, and logic to select the
correct menu items based on document settings.
* configure.in: default to always replace g_ascii_strtod.
2004-05-08 Kees Cook <kees@outflux.net>
* src/extension/internal/gdkpixbuf-input.cpp: skip SVG files. (open bug)
* configure.in, src/Makefile_insert, src/fixes.cpp: added replacement
for g_ascii_strtod, since it has locale-related bugs in gnome 2.0.
The upstream version is fixed, so some day, we won't need this any
more. (fixes "ugly icons" bug, and possibly the spinbutton locale bug)
* src/dyna-draw-context.cpp, src/rect-context.cpp, src/sp-namedview.cpp,
src/sp-object.cpp, src/sp-object.h, src/sp-pattern.cpp,
src/sp-polygon.cpp, src/sp-polyline.cpp, src/sp-root.cpp,
src/sp-spiral.cpp, src/sp-star.cpp, src/sp-symbol.cpp,
src/sp-text.cpp, src/spiral-context.cpp, src/star-context.cpp,
src/svg/ftos.cpp, src/svg/svg-affine.cpp, src/svg/svg-color.cpp,
src/svg/svg-length.cpp: adding "config.h", making a few extra
locale-sensitive functions use g_ascii versions.
2004-05-08 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: move "transformed" signal emission after actual
application of transform
* src/xml/repr-action.cpp, src/xml/repr-action.h, src/xml/repr.cpp:
fix lifecycle issues with content and attribute strings
* src/sp-object.h, src/sp-object.cpp: added SPObject::setId()
2004-05-08 Kees Cook <kees@outflux.net>
* src/verbs.cpp, src/help.cpp: localizing "about" and "keys" stuff.
* po/*.po: rebuilt for new strings.
2004-05-08 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/desktop-properties.cpp: the usual cleanups. Also
add some sp_document_done()s in various places.
2004-05-08 bulia byak <bulia@users.sourceforge.net>
* widgets/paint-selector.cpp: Tooltips, slight cosmetics
* main.cpp: --help edit
* sp-use.h sp-use.cpp: Redid move compensation using _transformed_signal
* sp-item.h sp-item.cpp: Added _transformed_signal, emitted by
write_transform,
passes the difference transform relative to the old one (not the new
transform
set)
* nodepath.cpp: Fix lagging update of the other handle for smooth nodes
* widgets/dash-selector.cpp: (Almost) fixed display of shorter-than-0.5
dashes
in selector; proper fixing will require manual drawing the dashes instead of
using gdk dashes
* preferences-skeleton.h: lots of new dasharrays
* dialogs/stroke-style.cpp: Remove repetitive code; relocation patch from
mhearn; fixed, reenabled, and automated marker previews (no need for
previews
in markers.svg)
* share/markers/markers.svg: Cleanup, sizes, remove manual previews
* style.cpp: Disabled warning for overflow property (we need it for markers)
* splivarot.cpp: Fixed transform when doing boolop inside group
* libnr/nr-path.cpp: Ported fix from sodi, fixes two bugs with endnodes of a
curve on the same hor/vert line
* sp-namedview.cpp: Use set_default_size instead of _resize for setting
window
from namedview
* preferences-skeleton.h dialogs/item-properties.cpp: Objects props
transientized (better late than never)
* dialogs/display-settings.cpp: Added simplify threshold
* sp-use.cpp: Mega-kill use on unlink
* preferences-skeleton.h dialogs/display-settings.cpp: Orphaned clones
options
* sp-item-group.cpp: Prevent jumps when ungrouping clone with its original
* sp-object.cpp: Fix crash when deleting clone and its original
* toolbox.cpp, tool contexts: Alt-x and top panel keyboard shortcuts now
work
for all tools
* sp-use.cpp enums.h: Unlink option on self-delete
* sp-use.cpp: Fix: disappeating clone on undoing ungrouping (_show finally
works properly)
* splivarot.cpp: Boolops: cleanup, preserve id, parent, position, fix to
take
style from the bottom object
* interface.cpp verbs.cpp shortcuts.cpp: Mnemonics, tooltips, shortcuts,
cleanup, autoraise removed from menu
2004-05-07 Kees Cook <kees@outflux.net>
* src/verbs.cpp: re-localizing tutorials. My goof!
* po/POTFILES.in: removed arikkei references
2004-05-07 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp: make sure that a SPNamedView's modified signal
is connected to the SPDesktop even when a file is loaded into an
existing SPDesktop. Fixes problems whereby grid snap does not
work for the first file loaded in a session. Fix a && -> & typo.
* src/sp-object.cpp: declaration-to-first-use and coding style
cleanups.
2004-05-05 Spundun Bhatt <spundun@isi.edu>
* configure.in: Stole Nathan's configure hack and used it to
support gtkmm-2.4
2004-05-06 Ted Gould <ted@gould.cx>
* src/file.cpp, src/extension/extension.cpp, src/extension/init.cpp,
src/extension/internal/Makefile_insert,
src/extension/internal/gdkpixbuf-input.cpp,
src/extension/internal/gdkpixbuf-input.h:
Changing the import functionality so that it works much more like open.
You can use any format, and it will place that file directly in the
document that you are working on. Added input extensions that cover all
of the bitmap formats that are covered with gdkpixbuf. Also, more
formats can be used using the scripting system.
2004-05-06 Carl Hetherington <inkscape@carlh.net>
* src/sp-line.cpp, src/sp-mask.cpp, src/sp-metrics.cpp:
declaration-to-first-use and coding style cleanups
2004-05-05 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-dictionary.cpp: removed 'private-fonts'
feature (we should rely on fontconfig for "custom" font stuff)
* configure.in, src/Makefile_include, src/Makefile.am,
src/libarikkei/*: removed the now unused libarikkei
2004-05-05 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/dialogs/text-edit.cpp, configure.in: Added support for spell
checking in text dialog.
2004-05-04 MenTaLguY <mental@rydia.net>
* src/display/nr-arena-glyphs.h: fixed cut-and-paste error in
NRArenaGlyphsGroup::create()
* src/selection.cpp, src/selection.h: fixed global "changed" propagation
2004-05-02 MenTaLguY <mental@rydia.net>
* src/file.cpp, src/print.cpp, src/sp-chars.cpp, src/sp-clippath.cpp,
src/sp-image.cpp, src/sp-item-group.cpp, src/sp-mask.cpp,
src/sp-pattern.cpp, src/sp-shape.cpp, src/sp-text.cpp,
src/sp-use.cpp, src/dialogs/stroke-style.cpp,
src/display/canvas-arena.cpp, src/display/nr-arena-glyphs.cpp,
src/display/nr-arena-glyphs.h, src/display/nr-arena-group.h,
src/display/nr-arena-image.h, src/display/nr-arena-item.cpp,
src/display/nr-arena-item.h, src/display/nr-arena-shape.h,
src/display/nr-arena.h, src/libnr/nr-object.h, src/widgets/icon.cpp:
removed nr_arena_item_new in favor of static ::create() functions
which call NRArenaItem::init() to perform setup (i.e. setting
NRArenaItem::arena). Eventually NRArenaItem::init() and
nr_arena_item_init will merge and become NRArenaItem's constructor.
2004-04-30 MenTaLguY <mental@rydia.net>
* src/sp-use.cpp: call parent class' write methods rather than
attempting to do everything (wrongly) ourselves; among other
things, <use> transform attributes weren't getting written
* src/sp-object.h, src/sp-object.cpp:
designate a "successor" object so we still perform as
expected if objects are replaced in the middle of e.g. a
bulk delete operation
* src/sp-use.cpp: cleanups and succession logic for <use>
deletion
* src/widgets/sp-hwrap-box.cpp, src/widgets/sp-hwrap-box.h,
src/widgets/sp-vwrap-box.cpp, src/widgets/sp-vwrap-box.h,
src/widgets/sp-wrap-box.cpp, src/widgets/sp-wrap-box.h,
src/widgets/test-wrapbox.cpp, src/widgets/Makefile_insert:
Removed unused (and imperfect) "wrapbox" widgets.
* src/sp-object.h, src/sp-object.cpp, src/sp-item-group.cpp:
Removed unused sp_object_invoke_forall and sp_object_sequence
methods. (forall might be nice to have, but we can do better
implementation-wise now that we're in C++-land)
2004-04-30 njh <njh@mail.csse.monash.edu.au>
* main.cpp: replaced gtk_init with g_type_init for console mode.
Closes 944969.
2004-04-29 MenTaLguY <mental@rydia.net>
* src/sp-image.cpp, src/sp-item.cpp, src/sp-item.h, src/sp-line.cpp,
src/sp-path.cpp, src/sp-rect.cpp, src/sp-text.cpp:
write_transform becomes set_transform, which applies the given
transform to the object without (!) invoking a repr write
* src/sp-star.cpp, src/svg/svg-length.h, src/svg/svg-length.cpp,
src/svg-types.h, src/svg/svg.h:
replaced raw integers with real units enum
* src/libnr/nr-matrix.h:
removed dead assertion (it's always valid to retrieve the
translation component of a matrix)
* src/selection-chemistry.cpp:
delete items via SPItem (SPObject), not repr
* src/sp-object.h, src/sp-object.cpp:
added SPObject::deleteObject() and a delete notification signal;
SPObject now inherits from GObject in the C++ sense
* src/sp-use.h:
don't accept references to the use or its ancestors (preventing
infinite loops)
* src/sp-use.cpp, src/sp-use.h:
added automatic deletion when referrent is deleted
* src/uri-reference.h:
added URIReference::getOwner()
2004-04-29 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/win32.cpp: add textToPath parameter to
description in order to fix #944131.
2004-04-28 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp, src/inkscape.cpp, src/sp-namedview.cpp
Part of the fix for #942149. Also fixed some compiler warnings.
* src/display/nr-arena.cpp: Fixed an unused variable warning.
* src/main.cpp: Fix a warning that is raised on Windows.
2004-04-28 bulia byak <bulia@users.sourceforge.net>
* inkscape.cpp: Fixed prev/next desktop; numbered from 0
* Lots of files: Replaced all strtod() and atof() by g_ascii_strtod()
* interface.cpp verbs.cpp: Tooltip edits
* view.cpp view.h desktop.cpp: Signal and function to pop statusbar message
* dialogs/dialog-events.cpp: Only set the UTILITY hint for non-modal
windows,
fixes "disappearing save as"
* toolbox.cpp widgets/widget-sizes.h widgets/button.cpp: Got rid of button
relief, top panel made less tall
* desktop.cpp preferences-skeleton.h dialogs/display-settings.cpp: Done away
with the sticky zoom button, now in prefs
* path-chemistry.cpp: Preserve id= in combine/break, convert to paths;
preserve
z-order in combine/break; cleanups
* splivarot.cpp: New selection API, Simplify preserves id=
* select-context.cpp preferences-skeleton.h sp-item.cpp display-settings.cpp
splivarot.cpp sp-item-group.cpp sp-item-transform.cpp
sp-item-notify-moveto.cpp nodepath.cpp node-context.cpp seltrans.cpp
seltrans.h: Switched to global preservetransform, transform writing
unification (no more manual transform= setting all over the place), stamp
preserves parent, mental's new SPSelection API, pruning dead code
* verbs.cpp interface.cpp: Eliminated Dialogs menu, added ... to dialog
commands, rearrangements, menu items display tooltips in statusbar when
selected
* sp-item-group.cpp sp-item-group.h: Made document_done optional in ungroup
(not
done when the function is called from another function)
* dialogs/display-settings.cpp enums.h preferences-skeleton.h sp-use.cpp
sp-use.h: Clone move compensation (3 modes), settable in prefs
* seltrans.cpp selection-chemistry.cpp: Do not translate a clone if its
original
is in the selection
* verbs.cpp verbs.h interface.cpp shortcuts.cpp sp-use.cpp sp-use.h
selection-chemistry.cpp selection-chemistry.h: Unlink Clone verb and menu
command (preserves id=)
* selection-chemistry.cpp selection-chemistry.h verbs.h verbs.cpp
shortcuts.cpp
interface.cpp: Select Original verb and command, scrolls to the original
* selection-chemistry.cpp selection-chemistry.h verbs.cpp verbs.h
interface.cpp:
Clone command
* sp-use.h sp-use.cpp: Use URIReference; Propagate update to parent class
(SPItem) (fixes redraw on dragging a clone)
* dropper-context.cpp dropper-context.h dialogs/display-settings.cpp:
Implemented pick modes (pick either actual color with transparency or
visible
color without transparency); added statusbar indication; color is only set
on
mouse release
* seltrans.cpp display/sodipodi-ctrlrect.cpp: Finally the correct selection
cue
rect (fixed displacement)
2004-04-27 Carl Hetherington <inkscape@carlh.net>
* src/desktop.cpp: Check for there being no items when zooming to
the drawing. This fixes bug #942137.
2004-04-26 Carl Hetherington <inkscape@carlh.net>
* config.h.mingw, prefix.h:
INKSCAPE_VERSION moved to inkscape_version.h.
INKSCAPE_{PIXMAP,SCREENS,TUTORIALS,MARKERS}DIR moved to prefix.h
* src/Makefile.mingw, src/inkscape_version.h.mingw
Use CVS inkscape_version.h.mingw for inkscape_version.h on Win32.
* src/sp-use.cpp: fix a warning.
2004-04-26 Ted Gould <ted@gould.cx>
* share/extensions/ai_input.inkmod, share/extensions/dia.inkmod,
share/extensions/txt2svg.inkmod, src/extension/extension.cpp,
src/extension/internal/svg.cpp:
Making the names of the input extensions look like the output ones.
Also, threw in a slight memory savings in removing the implementation on
deactivated extensions.
2004-04-26 MenTaLguY <mental@rydia.net>
* src/selection.cpp: migrate to new glib idle API
* src/extension/db.cpp: can't call ->deactivated() on a NULL pointer..
2004-04-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* configure.in: Replace use of old AM_PROG_LIBTOOL macro with
AC_PROG_LIBTOOL.
2004-04-26 Ted Gould <ted@gould.cx>
* share/extensions/epsi_output.inkmod:
Added in a check for ps2epsi
* src/dialogs/filedialog.cpp, src/extension/db.cpp, src/extension/db.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/init.cpp, src/extension/system.cpp:
Implementing a 'deactivated' extension. This means that it should
still exist, but show up as insensitive in any GUI element that could use
it. The idea here is that users should know what they don't have, but
Inkscape supports.
2004-04-26 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/{libnr,libnrtype,widgets,display,helper,.}*.{h,cpp}: moved
from typedef _name name; to C++ style struct name; forward
references.
2004-04-25 Ted Gould <ted@gould.cx>
* share/extensions/ai_output.inkmod, share/extensions/dia.inkmod,
share/extensions/dropshadow.inkmod, share/extensions/epsi_output.inkmod,
share/extensions/roundhole.inkmod, share/extensions/svgz_input.inkmod,
share/extensions/svgz_output.inkmod, share/extensions/txt2svg.inkmod,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h:
Adding in support for superior checking of dependencies. Now scripts
can include a line, which will look for a binary in the path. So
something like dia input will no be loaded if there isn't dia available in
the path.
2004-04-25 Carl Hetherington <inkscape@carlh.net>
* src/verbs.cpp, src/rect-context.cpp, src/spiral-context.cpp,
src/event-context.cpp, src/text-context.cpp,
src/dialogs/stroke-style.cpp, src/xml-tree.cpp, src/widgets/sp-widget.cpp:
SPSelection OO-ification.
* src/display/curve.cpp: Don't raise a critical error if a new
curve cannot be created in sp_curve_new_from_bpath(). This can
happen if a file contains a strange path, like one with only a
move in it and nothing else. This is part of the fix for bug
934882.
* src/sp-path.cpp: cope with sp_curve_new_from_bpath() returning
NULL in sp_path_set(). This is the other part of the fix for 934882.
* src/path-chemistry.cpp, src/sp-offset.cpp, src/sp-ellipse.cpp,
src/display/nr-arena-glyhs.cpp:
added asserts for calls to sp_curve_new_from_bpath() which look
like they might not expect it to return NULL.
* src/desktop.h: add a comment about how SPDesktop::selection
should never generally be NULL.
* src/desktop-handles.cpp: ensure that sp_desktop_selection never
returns NULL, so that we don't have to check for this eventuality
elsewhere.
* src/arc-context.cpp, src/seltrans.cpp, src/desktop.cpp: be less defensive
about
SPDesktop::selection being NULL.
* src/path-chemistry.cpp, src/select-context.cpp,
src/selection-chemistry.cpp, src/star-context.cpp,
src/dialogs/align.cpp, src/dialogs/item-properties.cpp,
src/dialogs/text-edit.cpp:
SPSelection OO-ification. Also some coding style and
declaration-to-first-use cleanups.
* src/toolbox.cpp: SPSelection OO-ification. Various cleanups.
* src/selection.h: remove deprecated access functions.
* src/dialogs/fill-style.cpp: declaration-to-first-use cleanups.
* src/selection.cpp: add vim and Emacs mode blocks.
* src/object-ui.cpp: very minor coding style fix.
2004-04-24 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/dyna-draw-context.cpp, src/object-ui.cpp,
src/path-chemistry.cpp, src/rect-context.cpp, src/select-context.cpp,
src/select-toolbar.cpp, src/selection-chemistry.cpp, src/selection.h,
src/spiral-context.cpp, src/star-context.cpp, src/text-context.cpp,
src/verbs.cpp, src/dialogs/export.cpp, src/dialogs/fill-style.cpp,
src/dialogs/in-dt-coordsys.cpp, src/dialogs/stroke-style.cpp,
src/dialogs/transformation.cpp, src/dialogs/xml-tree.cpp:
removed sp_selection_set_item(), sp_selection_set_repr(),
sp_selection_is_empty(), sp_selection_item_selected(),
and sp_selection_repr_selected()
2004-04-24 Ted Gould <ted@gould.cx>
* share/extensions/ill2svg.pl:
Applying a patch made to the Sodipodi list by Tuukka Pasanen which adds in
support for text in Illustrator files. Also, I backed out the changes
which removed being able to specify the line endings. This will, by
default, force them back to mac compatible. Mac files didn't work with
those changes.
2004-04-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* configure.in: Tentatively remove config.h definitions of
INKSCAPE_MARKERSDIR, INKSCAPE_PIXMAPDIR, INKSCAPE_SCREENSDIR,
INKSCAPE_TUTORIALSDIR, with the understanding that these are to be
provided by prefix.h.
* src/prefix.h: Define INKSCAPE_MARKERSDIR.
* src/extension/extension.cpp (Extension):
* src/extension/init.cpp (check_extensions):
Address warning.
* src/dialogs/stroke-style.cpp: #include prefix.h.
* src/Makefile.am (EXTRA_DIST): Add */makefile.in.
* src/libnr/Makefile_insert (libnr_libnr_a_SOURCES):
Add libnr/nr-convex-hull.h, needed by sp-canvas.cpp.
2004-04-24 Ted Gould <ted@gould.cx>
* src/Makefile_include, src/prefix.cpp:
Removing the redefition of NULL and adding to the make system.
2004-04-24 Ted Gould <ted@gould.cx>
* src/extension/db.cpp, src/extension/db.h, src/extension/extension.cpp,
src/extension/extension.h, src/extension/init.cpp,
src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h,
src/extension/internal/ps-out.cpp, src/extension/internal/ps-out.h:
Adding in more checks for individual extensions. All of them
should still pass though. Also, moved the extension database from
glib to STL. This allows extensions to be deleted while using the
foreach functions (which causes instability with the glib hash
table).
2004-04-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/Makefile_insert:
* src/display/Makefile_insert:
* src/xml/Makefile_insert:
Get rid of unneeded CPPFLAGS specification.
* src/Makefile.am:
* src/Makefile_insert:
New generated file inkscape_version.h, to replace
-DINKSCAPE_VERSION=\"$(VERSION)\".
* src/help.cpp: #include it.
2004-04-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-polygon.cpp:
* src/splivarot.cpp:
* src/style.cpp:
Change include stringstream.h to include svg/stringstream.h.
* src/Makefile.am, src/Makefile_insert: Change libinkscape.a use
to eliminate triple compilation of these object files.
* src/Makefile.am: Use `subdir-objects' option.
* src/Makefile.am: Add global INCLUDES setting.
* src/*/Makefile_insert: Get rid of now-redundant $(INKSCAPE_CFLAGS)
from *_CPPFLAGS.
* src/*/makefile.in: `%' as a target doesn't behave as intended,
so replace with less general `clean %.a %.o' and add .SUFFIXES.
2004-04-22 Ted Gould <ted@gould.cx>
* src/draw-context.cpp, src/dropper-context.cpp,
src/dyna-draw-context.cpp, src/node-context.cpp, src/nodepath.cpp,
src/sp-ellipse.cpp, src/sp-offset.cpp, src/sp-path.cpp,
src/sp-polygon.cpp, src/sp-shape.cpp, src/splivarot.cpp, src/toolbox.cpp,
src/display/curve.cpp, src/display/nr-arena-shape.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/ps.cpp,
src/libnr/nr-path.cpp, src/libnr/nr-path.h,
src/libnrtype/nr-rasterfont.cpp, src/libnrtype/nr-type-ft2.cpp,
src/libnrtype/nr-type-gnome.cpp, src/libnrtype/nr-type-w32.cpp,
src/libnrtype/nr-typeface.cpp, src/livarot/PathCutting.cpp,
src/svg/gnome-canvas-bpath-util.cpp, src/svg/svg-path.cpp:
Changing the ART_ enums to NR_ so that if libart is include (like if
you are building gnome-print) it doesn't conflict with the internal
definitions.
* share/extensions/svgz_output.inkmod, src/extension/extension.cpp,
src/extension/init.cpp, src/extension/implementation/script.cpp:
Adding in a little more checking code. Now extensions can start
deleting themseleves if they fail certain tests. More tests are
needed, along with more testing of this feature. Consider this
an 'early release' of the feature. ;)
2004-04-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/Makefile.am: Make non-recursive. Now sources */Makefile_insert.
See HACKING or discussion on mailing list.
* autogen.sh: Bump requirement from automake-1.6 to automake-1.7.
* configure.in: Don't generate src/blah/Makefile, but do generate
src/blah/makefile.
* src/*/Makefile.am: Remove.
* src/*/makefile.in: New wrapper makefiles to allow typing `make' from
subdirectories of src. (Not used by compiles started from top-level
or from src/.)
2004-04-21 MenTaLguY <mental@rydia.net>
* src/libnrtype/nr-type-w32.h: fixed unremoved underscores
* src/select-context.cpp, src/selection.cpp, src/selection.h,
src/seltrans.cpp, src/tools-switch.cpp, src/dialogs/align.cpp:
remove improper twiddling of desktop message line from SPSelection;
some additional work is now required in SPSelectContext to update
the message properly in all cases.
* src/selection.h, src/selection.cpp: touched up and documented
SPSelection
* src/uri-references.h: documentation touch-ups
2004-04-20 Kees Cook <kees@outflux.net>
* src/file.cpp, src/desktop.cpp: moved sp_file_open unselection code into
sp_desktop_change_document. Generalized Carl's fix for unref counting
since it applies in both cases. (My bad!)
2004-04-20 MenTaLguY <mental@rydia.net>
* src/text-context.cpp: merged Carl's fix for signal cleanup
* src/selection.h: marked wrappers for old API as deprecated
2004-04-20 Carl Hetherington <inkscape@carlh.net>
* src/extension/internal/ps.cpp, src/extension/internal/ps.h:
Fixed some bugs in exporting images that seem to have been
introduced when the code was copied from the gimp. They caused
problems when exporting bitmap images to PS.
* src/file.cpp: fix bug whereby the first file loaded in a session
would not have its modified status checked when closed. Hence if
you modified the first file you loaded and then closed it, you
would not be asked to confirm the close.
* src/preferences-skeleton.h: add \n to the end of each line to
fix bug 938368.
2004-04-19 MenTaLguY <mental@rydia.net>
* src/arc-context.cpp, src/desktop-handles.h, src/desktop.h,
src/draw-context.cpp, src/draw-context.h, src/forward.h,
src/inkscape-private.h, src/inkscape.cpp, src/node-context.cpp,
src/node-context.h, src/rect-context.cpp, src/selection-chemistry.cpp,
src/selection-chemistry.h, src/selection.cpp, src/selection.h,
src/seltrans.h, src/spiral-context.cpp, src/star-context.cpp,
src/star-context.h, src/text-context.cpp, src/dialogs/xml-tree.cpp,
src/widgets/sp-widget.h:
finished GObject removal from SPSelection
* src/arc-context.h, src/arc-context.cpp, src/desktop.cpp, src/desktop.h,
src/draw-context.cpp, src/draw-context.h, src/node-context.cpp,
src/node-context.h, src/rect-context.cpp, src/rect-context.h,
src/selection.cpp, src/selection.h, src/seltrans.cpp, src/seltrans.h,
src/spiral-context.cpp, src/spiral-context.h, src/text-context.cpp,
src/text-context.h, src/toolbox.cpp:
migrated SPSelection to SigC++ signals (though it's a bit messy
right now)
2004-04-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/stroke-style.cpp: Cleanups: greater conformance to
CodingStyle. Moved some declarations to their first use.
2004-04-19 Carl Hetherington <inkscape@carlh.net>
* src/dialogs/stroke-style.cpp, libnr/nr-rect-l.cpp:
Fix a couple of compiler warnings.
* src/dialogs/filedialog-win32.cpp: add OFN_NOCHANGEDIR to Win32
flags in OPENFILENAME structs. This prevents the open / save
boxes from changing the current directory. Any change to the
current directory causes problems for subsequent attempts to
load icons from pixmaps. Also, fix a bug whereby the save
dialogue would sometimes not open due to being passed a filename
it didn't like.
2004-04-19 bulia byak <bulia@users.sourceforge.net>
* shortcuts.cpp selection-chemistry.cpp selection-chemistry.h verbs.cpp
verbs.h
interface.cpp: Clone command (Edit menu, Shift+Ctrl+N)
* sp-use.cpp: Update propagated to parent class (SPItem), misc fixes
* sp-polygon.cpp: Fix for points= updating by adding set_shape call into
_write
(bug 910142)
* text-context.cpp: Do not create text object unless a printable key was
pressed; fixes 934280
* widgets/dash-selector.cpp dialogs/stroke-style.cpp: Removed marker
buttons,
fixed g_free crash in marker menus, added tooltips, added stroke-miterlimit
spinbutton
* splivarot.cpp: Outline handles multiple objects; All commands use correct
stroke_miterlimit
* splivarot.cpp sp-offset.cpp: Fix for 932642
* helper/sodipodi-ctrlrect.cpp: Simplify and fix dashes and offsets
* widgets/gradient-selector.cpp: Tooltip edits
* verbs.cpp verbs.h interface.cpp...: Remove tool options
* seltrans.cpp: Pivot marker made inverse
* toolbox.cpp: More defocusing
* *-context.cpp: Eliminated config widgets from all tools
* toolbox.cpp sp-ellipse.cpp: Ellipse fixes, tooltips
* verbs.cpp: Options -> Preferences
* dialogs/display-settings.cpp: An options dialog, completely new; selector
widget grafted here
* preferences-skeleton.h node-context.cpp select-context.cpp: scaling uses
defaultscale
* dialogs/display-settings.cpp display/nr-arena-image.cpp: Make oversample
saveable
* toolbox.cpp: Aux toolbar for calligraphic
* preferences-skeleton.h: fill-opacity:1 for calligraphic
* select-context.cpp seltrans.cpp seltrans.cpp: Patch to enable box and none
options for per-object selection cue
* main.cpp: Removed C-locale setting, not needed anymore; temporary switch
of
gettext encoding for console output
* inkscape.cpp: Memory fix from sodi
* right-click finishes pen (patch by Carl) draw-context.cpp
2004-04-19 Carl Hetherington <inkscape@carlh.net>
* src/livarot/ShapeRaster.cpp
Fix an unitialised value error that was spotted by valgrind.
2004-04-18 MenTaLguY <mental@rydia.net>
* src/selection.cpp, src/selection.h, src/selection-chemistry.cpp,
src/seltrans.cpp, src/nodepath.cpp:
made all SPSelection members private, and changed all methods into
real C++ methods (with temporary inline wrappers for the old C
pseudo-methods)
2004-04-18 Carl Hetherington <inkscape@carlh.net>
* src/print.cpp, src/print.h, src/sp-text.cpp
src/extension/extension.cpp src/extension/extension.h,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/internal/eps-out.cpp, src/extension/internal/eps-out.h,
src/extension/internal/ps.cpp, src/extension/internal/ps.h,
Add very basic feature to allow PS text to be exported as real
text, rather than being converted to paths first. Needs some
work, mostly on font handling.
* src/seltrans.cpp: Slightly improve placement of the bounding
box selection cue.
* src/sp-shape.cpp: various marker-related cleanups, mostly factoring out
common code into functions.
2004-04-17 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp, src/node-context.cpp, src/selection-chemistry.cpp,
src/selection.cpp, src/selection.h, src/seltrans.cpp, src/sp-gradient.cpp,
src/sp-item.cpp, src/sp-offset.cpp, src/dialogs/transformation.cpp,
src/libnr/nr-rect.cpp, src/libnr/nr-rect.h:
Cleaned up NR::Rect API and made SPSelection's desktop pointer private.
* src/display/sp-canvas.cpp, src/libnr/nr-convex-hull.h,
src/libnr/nr-rect.h:
First use of NR::ConvexHull (for propagating canvas bounding boxes)
2004-04-17 Kees Cook <kees@outflux.net>
* share/icons/icons.svg, src/verbs.cpp: made last three ugly menu icons.
2004-04-17 Nathan Hurst <njh@mail.csse.monash.edu.au>
* configure.in src/draw-context.cpp src/dropper-context.cpp
src/dyna-draw-context.cpp src/nodepath.cpp src/nodepath.h
src/path-chemistry.cpp src/sp-chars.cpp src/sp-ellipse.cpp
src/sp-offset.cpp src/sp-path.cpp src/sp-polygon.cpp
src/sp-shape.cpp src/sp-text.cpp src/splivarot.cpp src/style.cpp
src/style.h src/dialogs/fill-style.cpp
src/dialogs/object-properties.cpp src/dialogs/stroke-style.cpp
src/display/canvas-bpath.cpp src/display/canvas-bpath.h
src/display/canvas-grid.h src/display/curve.cpp
src/display/curve.h src/display/nr-arena-glyphs.cpp
src/display/nr-arena-glyphs.h src/display/nr-arena-shape.cpp
src/display/sodipodi-ctrl.cpp src/display/sodipodi-ctrl.h
src/display/sodipodi-ctrlrect.h src/display/sp-canvas-util.cpp
src/display/sp-canvas-util.h src/display/sp-canvas.cpp
src/display/sp-canvas.h src/display/sp-ctrlline.cpp
src/extension/internal/ps.cpp src/extension/internal/ps.h
src/libnr/Makefile.am src/libnr/libnr.def src/libnr/nr-path.cpp
src/libnr/nr-path.h src/libnr/nr-svp-private.h
src/libnr/nr-svp-render.cpp src/libnr/nr-svp-render.h
src/libnr/nr-svp.cpp src/libnr/nr-svp.h
src/libnrtype/nr-rasterfont.cpp src/libnrtype/nr-type-ft2.cpp
src/libnrtype/nr-type-gnome.cpp src/libnrtype/nr-type-w32.cpp
src/libnrtype/nr-typeface.cpp src/livarot/PathCutting.cpp
src/svg/gnome-canvas-bpath-util.cpp
src/svg/gnome-canvas-bpath-util.h src/svg/svg-path.cpp
src/svg/svg.h: removed libart.
* src/libnr/nr-svp-uncross.cpp src/libnr/nr-svp-uncross.h: deleted
uncross and SVL routines.
2004-04-15 Carl Hetherington <inkscape@carlh.net>
* src/make.exclude, src/make.dep, src/make.files, src/make.ofiles:
Various fixes to the Win32 build following rearrangement of some
source files and cleanups to libnr.
* src/sp-text.cpp: remove an unused variable.
* src/display/sodipodi-ctrlrect.cpp: removed two unused variables.
2004-04-16 MenTaLguY <mental@rydia.net>
* src/selection.cpp, src/selection.h, src/forward.h: initial
C++ification of SPSelection class
2004-04-15 Kees Cook <kees@outflux.net>
* debian/control, debian/changes: dropping (currently) unused
dependancies. Added "0.39cvs" tag.
2004-04-15 Carl Hetherington <inkscape@carlh.net>
* src/seltrans.cpp, src/helper/sodipodi-ctrlrect.cpp,
src/helper/sodipodi-ctrlrect.h:
Use black, dashed bounding boxes for indicating itemselection,
rather than red, solid boxes (as suggested by Bulia).
* src/desktop.cpp:
Small fix for the problem whereby the first file loaded in an
Inkscape session will not have its grid set up properly. This was
my patch #935013.
* src/dialogs/filedialog-win32.cpp:
Use the extension system to build the list of allowable file types
for save. This means that save as PS and EPS work properly.
* src/streams-zlib.cpp, src/livarot/PathConversion.cpp,
src/livarot/PathCutting.cpp, src/livarot/PathSimplify.cpp,
src/livarot/PathStroke.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeMisc.cpp, src/display/nr-arena-glyphs.cpp,
src/helper/sodipodi-ctrlrect.cpp, src/helper/sp-canvas.cpp,
src/extension/internal/win32.cpp:
Fix compiler warnings, mostly about unused variables.
* src/helper/sp-canvas-util.cpp:
Fix what I and someone else considered to be an obvious typo. The
function in question isn't used, however, so it's a bit difficult
to test.
* src/libnrtype/nr-rasterfont.cpp:
Fix a warning wrt a cast from NR::Matrix to NRMatrix.
* src/sp-shape.cpp:
Fix bug #935758.
2004-04-14 Ted Gould <ted@gould.cx>
* src/file.cpp, dialogs/filedialog.cpp:
Making it so that the filename will get placed in the save as dialog
if there is a name for the file. Otherwise the last save directory
is used (properly now)
2004-04-15 MenTaLguY <mental@rydia.net>
* most files in src/: removed many old "compatable" struct typedefs
* src/libarikkei/arikkei-dict.cpp, src/libarikkei/arikkei-dict.h:
removed unused arikkei files
* configure.in: added gtkmm dependency
2004-04-14 Kees Cook <kees@outflux.net>
* src/helper/unit-menu.cpp: Turns out I found a 2nd bug while
investigating patch 934358. I've applied this patch again, which gives
us the entire fix.
* src/draw-context.cpp: Investigated patch 934351 from cth103. Applied a
slight variation to conform to the function calling styles of that code.
* configure.in: Implemented gcc version test for >= 3.0.0
* src/file.cpp, src/interface.cpp, share/icons/icons.svg, src/verbs.cbb:
finished "File / Revert" implementation. Found a memory leak in
"file_save". Added more sanity checking to "sp_file_revert" and more
status messages.
* src/main.cpp, src/file.h, src/file.cpp: removed redundant code,
implemented
in "sp_file_open".
2004-04-13 Kees Cook <kees@outflux.net>
* tools-version.sh: added a possible fix for BSDish tools.
* configure.in, share/patterns/Makefile.am: inkscape janitor strikes
again! This is a quick cleanup to Ted's new directories. Looks
like "patterns" got left out.
* share/clipart/.cvsignore, share/templates/.cvsignore,
share/examples/.cvsignore, share/fonts/.cvsignore,
share/gradients/.cvsignore, share/keyboards/.cvsignore,
share/palettes/.cvsignore, share/patterns/.cvsignore:
Added Makefile build-cruft to .cvsignores.
* src/helper/unit-menu.cpp: applied a variation to patch 934358 from cth103
to fix grid unit changing bug.
* configure.in: fixed capitalization of "libpng" to avoid confusion.
* src/sp-namedview.cpp, src/document.cpp, src/document.h, src/file.cpp,
src/file.h, src/document-undo.cpp, src/interface.cpp, src/verbs.cpp,
src/verbs.h:
Newly opened files will only create new windows if the current document
is untouched. (RFE#928517)
Added support for future "File/Revert" handling. Needs
a little more support in the SPDocument structure. See notes in
"src/file.cpp", function "sp_file_revert_dialog".
2004-04-13 Ted Gould <ted@gould.cx>
* configure.in, share/Makefile.am, share/clipart/Makefile.am,
share/examples/Makefile.am, share/fonts/Makefile.am
share/gradients/Makefile.am, share/keyboards/Makefile.am
share/markers/Makefile.am, share/palettes/Makefile.am
share/screens/Makefile.am, share/templates/Makefile.am:
Making it so that the clipart and everything else gets put in
the tarball, and also get installed in the share directory. Many
of these have just 'README' files, but they now have good place-
holders for further development.
2004-04-12 Kees Cook <kees@outflux.net>
* src/dialogs/stroke-style.cpp, src/Makefile.am, src/dialogs/Makefile.am,
src/widgets/Makefile.am, configure.in: fixed up INKSCAPE_*DIR paths so CVS
will compile happily for me. This way if paths change, files will be
recompiled. The old way would let configure run again (changing the
datadir path) without forcing a recompile, which could break the
compiled paths.
2004-04-13 John Cliff <simarilius@yahoo.com>
* src/sp-shape.cpp, src/dialogs/stroke-style.cpp:
Couple of changes to marker related code, mid and end markers now point in
correct
direction, turning off start markers behaves correctly.
This follows on from changes made by me and Carl Hetherington that were
commited
yesterday to
src/inkscape-stock.cpp, src/sp-item.cpp, src/sp-marker.cpp,
src/sp-shape.cpp,
src/style.cpp, src/style.h, src/dialogs/stroke-style.cpp
to implement marker UI and fixes to the marker rendering code.
2004-04-11 Ted Gould <ted@gould.cx>
* src/extension/system.cpp, src/extension/internal/eps-out.cpp
src/extension/internal/eps-out.h:
First pass at a file save dialog with EPS output. The dialog
sets the bounding box in the file. Comments encouraged.
2004-04-11 Ted Gould <ted@gould.cx>
* src/file.cpp, src/main.cpp, src/print.cpp, src/extension/init.cpp,
src/extension/init.h, src/extension/system.cpp, src/extension/system.h,
src/extension/implementation/script.cpp,
src/extension/internal/eps-out.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/ps-out.cpp,
src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
src/extension/internal/win32.cpp:
Change alot of files, but small changes. Basically just took
system.cpp and init.cpp and finally ported them to the Inkscape::
Extension namespace. Cleaned up the code in them a bunch, it is
much easier to read now! All the other files are just referencing
these changes.
2004-04-11 Kees Cook <kees@outflux.net>
* src/verbs.h, src/verbs.cpp, src/interface.cpp, src/interface.h: replaced
the rest of the missing menu verbs: "View New", "Cleanup". Created
generic function to add icons to a given menu item (for submenu icons
mostly).
* share/icons/icons.svg: added "selection_cleanup", "selection_deselect",
"selection_select_all". Corrected "view_new" and "selection_smooth",
"dialog_toggle", "dialog_tool_options", "file_open_recent".
* src/selection-chemistry.cpp, src/selection-chemistry.h: renamed
"selection_cleanup" function.
2004-04-11 Jon Phillip <jon@rejon.org>
* Makefile.mingw share/Makefile.am src/Makefile.am
share/markers/Makefile.am share/markers/.cvsignore config.h.mingw
configure.in:
Added the proper infrastructure to get files to the right location for
markers.
* share/tutorials/tipsandtricks.svg: Deleted the URL trick because it no
longer works or something.
2004-04-11 Kees Cook <kees@outflux.net>
* src/verbs.h, src/verbs.cpp: added verbs for the Help and Tutorials menus.
* src/interface.cpp: replaced contents of sp_ui_menu_help to use new verbs.
* src/help.h, src/help.cpp: replaced sp_help_keys with more generic
sp_help_open_screen, similar to sp_help_open_tutorial.
* share/icons/icons.svg: created really ugly "help_tutorials" and
"help_keys" icons. The "help_keys" one needs the most help. :)
2004-04-09 Ted Gould <ted@gould.cx>
* share/extensions/Makefile.am, share/extensions/epsi_output.inkmod,
share/extensions/ps2epsi.sh, src/extension/extension.cpp,
src/extension/extension.h, src/extension/init.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h,
src/extension/internal/Makefile.am, src/extension/internal/eps-out.cpp,
src/extension/internal/eps-out.h, src/extension/internal/ps.cpp:
Okay, these are some changes that I've had in my directory for
a little while.
1) adding the basics of checking extensions. This will allow
them to remove themselves based on their dependencies failing.
2) Adding the concepts of a 'helper extension' to scripts. This
allows them to use other extensions for handling the data, so
they don't have to deal with SVG directly - Inkscape will
build the pipeline. An example of this is the epsi output.
3) Adding the bounding box change provided by Carl Hetherington
to the Postscript output. The EPS output plugin sets this, so
now EPSes have smaller bounding boxes. A GUI needs to be
written for this setting.
2004-04-08 MenTaLguY <mental@rydia.net>
* configure.in, src/svg/ftos.cpp: fix for OS X build
* src/extensions/internal.ps.cpp: crash fix
2004-04-07 MenTaLguY <mental@rydia.net>
* src/xml/repr.cpp: adjusted the advertising comment in the default
document template (we need a real default document template, btw)
* src/svg/ftos.cpp, src/svg/itos.cpp, src/svg/round.cpp,
src/svg/ftos.h, src/svg/stringstream.h: incorporated Bryce's number
serializing code (disabled for now, due to the impending release)
* src/dialogs/stroke-style.cpp, src/dialogs/sp-shape.cpp:
nuked unused variables
2004-04-07 bulia byak <bulia@users.sourceforge.net>
* icons.svg: Alignment fix
* src/select-toolbar.cpp: Swapped rotate buttons
* share/tutorials/: Cleanup, added Russian translation of basic
* extension/extension.cpp extension/system.cpp extension/internal/ps.cpp
extension/implementation/script/cpp: Fixes to make non-ascii filenames work
again
* src/verbs.cpp: Remove xpm icon that causes trouble on win32
* share/examples/: new gradient.svg, tiger.svgz, cleanup
* src/widgets/gradient-vector.cpp: Crash fix: loading new gradient into the
editor does not completely reset it
* share/icons/icons.svg: New dialog icons, draw tool icons, changed colors
* src/dialogs/align.cpp src/helper/bezier-utils.cpp: remove pjrm's debug
output
* share/tutorials/: SVG cleanup: remove unused font properties, wrong radius
paths in ellipses (leftovers from old versions). Expanded & updated tips &
tricks.
* file.cpp: Set uri on save in one place; save 'offcially' from here only
* system.cpp system.h: Remove redundant uri-setting on open and save, add
official arg to sp_module_system_save to prevent docname/docbase changing on
temporary saves
* many files: _() fixes, edits in labels, messages, tooltips, mnemonics
* src/inkscape.cpp: remove redundancy in error messages for failing to load
prefs
* share/extensions src/extension/internal: Renaming file formats to include
(*.ext)
* src/interface.cpp src/dialogs/filedialog.cpp: Transientize, make modal
open/save dialogs, ditto for warning overwrite and make it unresizeable
* src/dialogs/xml-tree.cpp: Do not deselect item on canvas when a
non-selectable
thing is highlighted in xml editor
* src/sp-guide.cpp: Guide position updated after undo
* src/widgets/sp-xmlview-attr-list.cpp: Max length of viewable attributes
increased
* many files: Adib's svgostringstream patches to remove printfs
* src/selection-chemistry.cpp: Crash fix when pasting style to an object
that
has none (e.g. group)
* src/knot.cpp: Knot dragging autoscrolls
* src/sp-text.cpp src/text-context.cpp: Cursor movements autoscroll
* src/desktop.h src/desktop.cpp: autoscrollspeed can be overridden in call
to
sp_desktop_scroll_to_point
* src/text-context.cpp src/sp-text.cpp: Text cursor made inverse. Initial
cursor
after click is no longer horizontal.
* src/helper/sp-ctrlline.cpp: Always-visible inversion for ctrlline
* src/libnrtype/nr-type-w32.cpp: Fix stretch and variant on win32
* src/widgets/gradient-vector.cpp: Undo fix; new stop takes average of its
neighbors' colors; is between stops even when the last stop is selected
2004-04-06 Ted Gould <ted@gould.cx>
* src/file.cpp, src/dialogs/filedialog.cpp, src/extension/extension.cpp,
src/extension/system.cpp:
Moving code around so that the filename extension gets put on by
the extension that is saving the file. This adds a couple complications
in that the extension now needs to check for overwriting the file
and also set the document URI. Better overall, but a PITA.
2004-04-05 njh <njh@mail.csse.monash.edu.au>
* debian/rules,debian/control: applied patch from Kees Cook to remove
obsolete libraries, and to tidy things up a tad.
2004-04-04 Ted Gould <ted@gould.cx>
* src/main.cpp, src/extension/extension.cpp, src/extension/system.cpp:
Now the input autodetect will try the SVG filter if the autodetect
fails. This was done by the command line, but now it is done
everywhere.
2004-04-04 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr.h:
Take the full list of document node children from libxml, and
append them in the correct order. This fixes bug #929348.
* src/xml/repr-io.cpp, src/xml/repr.cpp, src/xml/repr-private.h:
Added API for coping with comments at the root level (i.e. siblings
of the root XML node), and made corresponding changes to the repr-io
code. In theory this should be enough to preserve them upon loading,
though in practice it still doesn't appear to be working (bug #929348).
Is there some libxml thing we need to do?
2004-04-04 Ted Gould <ted@gould.cx>
* a bunch of files
Sorry, I seem to be in some delay getting e-mail. Anyway, a few
files were changed to add in a new parameter 'dataloss' Basically
this signifies that a format was used to save that may not save
the whole document and thus, a pop-up is elevated on close to signal
that you might want to 'really save' this document.
2004-04-03 Ted Gould <ted@gould.cx>
* share/extensions/svgz_input.inkmod, src/file.cpp,
src/extension/extension.cpp, src/extension/internal/svg.cpp:
Making it so that input extensions can specify the output extension
that gets used to save them. If this field isn't filled in, the value
gets set to NULL, and then the Save As dialog is used instead of
just trying to save.
2004-04-03 Ted Gould <ted@gould.cx>
* src/file.cpp, src/main.cpp, src/extension/extension.cpp,
src/extension/extension.h, src/extension/system.cpp,
src/extension/internal/svg.cpp:
Fixing the output_extension flag to not be saved in a file, but also
to be able to be specified by the input module. Also, this fixes
the commandline processing of files to make them use the extension
system.
2004-04-02 Ted Gould <ted@gould.cx>
* src/file.cpp, src/extension/db.cpp, src/extension/internal/svg.cpp:
Changing it so that SVG documents open and default to with
extension namespace. Also, autodetect is reenabled.
2004-04-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Fix my
previous commit.
2004-04-02 Ted Gould <ted@gould.cx>
* share/extensions/svgz_output.inkmod, src/main.cpp, src/print.cpp,
src/extension/init.cpp, src/extension/implementation/script.cpp,
src/extension/implementation/script.h,
src/extension/internal/Makefile.am, src/extension/internal/ps-out.cpp,
src/extension/internal/ps-out.h, src/extension/internal/ps.cpp:
Fixing the commandline printing. This required fixing both the
print driver to handle the newer extensions stuff. It seems
happy now. I went ahead and implemented save as postscript
while I was at it.
2004-04-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (NewtonRaphsonRootFind): Ensure that the
"improved" value is never worse than the previous guess.
* src/helper/bezier-utils.cpp:
Greater CodingStyle conformance, mainly whitespace changes.
* src/helper/bezier-utils.cpp (sp_bezier_fit_cubic_full):
Always reparameterize between generate_bezier and calc_max_error.
Switch from discouraged alloca (see man page) to g_new, at cost of
some extra g_free calls in the code.
(reparameterize): Do in-place modification.
* src/helper/bezier-utils-test.cpp:
Add tests for generate_bezier, sp_bezier_fit_cubic_full.
Change to a simpler test bezier.
* src/helper/bezier-utils.cpp (sp_darray_left_tangent,
sp_darray_right_tangent):
Switch to using just the two end points for calculating the gradient.
(The old code could sometimes cause g_warning's.)
Correct the documentation of requirements.
(sp_darray_center_tangent): Similarly remove the #if'ed out code for
looking at more than two points.
2004-03-31 Ted Gould <ted@gould.cx>
* src/interface.cpp: Changing the default size so that it matches
the default template size. This way, for blank documents, the
window doesn't open and then resize.
2004-03-31 Ted Gould <ted@gould.cx>
* src/file.cpp, src/dialogs/filedialog.cpp, src/extension/db.cpp,
src/extension/db.h, src/extension/system.cpp:
A bunch of changes for Bulia's bug 925875. Basically now the
save dialog remembers which extension you've used. This also
means that save works with non-standard extensions. Also, it
will add extensions for you if you didn't put them on. Finally,
the error dialog doesn't come up if you hit cancel in the
'Save As...' dialog. Whew!
* src/preferences-skeleton.h: Added in settings to make the save
extension global, along with whether or not the files should have
extensions tacked on the end of them.
2004-03-31 Ted Gould <ted@gould.cx>
* src/interface.cpp, src/interface.h, src/file.cpp:
Adding a cute little dialog to tell you if you are about to
overwrite a file you want to keep. This fixes bug #911237
2004-03-30 Jon Phillips <kidproto@users.sf.net>
* share/icons/icons.svg src/interface.cpp src/verbs.cpp src/verbs.h:
Added rest of icons for the menu. I think they are a good start.
There still needs to be continuity between styles, but at least
all needed icons are present. I didn't create icons for elements
that are going to be removed eventually.
* share/tutorials/tipsandtricks.svg src/help.cpp src/interface.cpp:
Added this tutorial so that people can consolidate their information
onto this page.
2004-03-30 Ted Gould <ted@gould.cx>
* src/file.cpp, src/file.h, src/dialogs/filedialog-win32.cpp,
src/dialogs/filedialog.cpp, src/dialogs/filedialog.h
src/extension/system.cpp, src/extension/system.h,
src/extension/implementation/script.cpp:
Making all of the file operations have lists of the extensions
that can be used to save and open. This also fixes the bug
which talks about mis-saving file without an error - there is
an error message now. Probably not the most clear, but you
won't miss it.
2004-03-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils-test.cpp: Finish the sp_bezier_fit_cubic test.
* src/dyna-draw-context.cpp, src/mod360.cpp, src/mod360.h,
src/Makefile.am: Move mod360 to new files mod360.cpp, mod360.h.
Add unit test for it.
2004-03-28 Bryce Harrington <bryce@bryceharrington.com>
* inkscape.cpp, inkscape.h, xml/repr-io.cpp, xml/repr.h: Adding
better error handling for the situation where the
preferences.xml file is not successfully loaded. In this case,
we want to suppress saving it, lest we overwrite the file with
the default skeleton preferences.
2004-03-28 Jon Phillips <jon@users.sourceforge.net>
* src/interface.cpp src/select-toolbar.cpp src/verbs.cpp src/verbs.h:
Changed rotate verb to be SP_VERB_OBJECT_ROTATE_90_CW so that I can
now install SP_VERB_OBJECT_ROTATE_90_CCW.
* share/icons/icons.svg src/interface.cpp src/select-toolbar.cpp
src/selection-chemistry.cpp src/selection-chemistry.h
src/verbs.cpp src/verbs.h: Added rotation 90 degrees CCW to the menu,
icons, and the interface. It was a pretty simple thing to do but was
not available on the interface.
2004-03-28 MenTaLguY <mental@rydia.net>
* src/sp-gradient.cpp: request SP_OBJECT_MODIFIED_FLAG if gradient stops
are added or removed
2004-03-27 bulia byak <bulia@users.sourceforge.net>
* src/main.cpp: Removed redundancy in error messages, reworded some
* src/verbs.cpp src/toolbox.cpp src/nodepath.cpp src/inkscape.cpp
src/extension/internal/ps.cpp src/main.cpp: Typos, reported by Arpad Biro
* AUTHORS: Added John Cliff, Fred (long overdue), Adib
* src/widgets/gradient-vector.cpp: John Cliff: multistage gradient editor
* src/splivarot.cpp src/style.cpp src/xml/repr-util.cpp src/sp-polygon.cpp:
Adib's svgostringstream patches
* src/toolbox.cpp: All default buttons work correctly with undo, use freezing to
prevent double changes; tooltip edits, formatting; defocusing on all widgets
* src/display/nr-arena-image.cpp: Tentative fix for 906376: image always uses
_P_P_P_ compositing
* src/dialogs/item-properties.cpp: Refixing the slider 0.99 problem properly,
reported by simarilius
* src/help.cpp src/help.h src/interface.cpp: Expanded and split tutorial, all
tutorials in submenu
* src/sp-text.cpp: Do not write dx/dy if they only contain 0s
* src/verbs.cpp src/verbs.h src/splivarot.cpp src/splivarot.h src/shortcuts.cpp:
Inset/outset by pixels: commands, keys
* src/preferences-skeleton.h: Default nudge 2pt
* src/event-context.cpp: Increased accelerated-scroll delay
* src/sp-text.cpp,h src/text-context.cpp: Clicking positions cursor closest to
the click point
* src/extension/internal/ps.cpp: Print dialog transient; Enter activates print;
patches from sodi to flush stream and add boundingBox to PS output
* src/dialogs/xml-tree.cpp: XML editor watches desktop change
* src/sp-root.cpp: Fix from sodi: default preserveAspectRatio value
* src/libnrtype/nr-type-w32.cpp: Fix for 915440 (from sodi)
2004-03-27 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dyna-draw-context.cpp (sp_dyna_draw_context_set):
Tweak angle setting: prefer 0.0 instead of 360.0.
* src/dyna-draw-context.h, src/dyna-draw-context.cpp: Cleanup:
Greater conformance to CodingStyle. Mostly whitespace changes.
2004-03-24 Ted Gould <ted@gould.cx>
* src/extension/db.[ch]: Adding in functions to get lists of
input and output extensions for the file dialogs
2004-03-25 Alexander Clausen <alex@skip86.com>
* src/inkview.cpp Fix inkview crash on startup
2004-03-24 Ted Gould <ted@gould.cx>
* Minor changes to get distcheck to work.
2004-03-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/draw-context.h, src/draw-context.cpp: Cleanup: greater
conformance to CodingStyle. Mostly whitespace changes.
2004-03-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/widgets/sp-widget.h, src/widgets/sp-widget.cpp
(sp_widget_new_repr): Remove this unused function.
* src/libnrtype/nr-rasterfont.cpp (nr_rasterfont_ensure_glyph_slot):
Address compiler warning.
* src/seltrans.cpp (sp_sel_trans_ungrab): Disable the persistent
snapping stuff added 2004-02-19.
* src/desktop-events.cpp (sp_dt_ruler_event): Minor cleanup.
2004-03-19 bulia byak <bulia@users.sourceforge.net>
* src/selection-chemistry.cpp: Prevent it from scaling above 1e6 pt
* src/preferences-skeleton.h src/dialogs/dialog-events.cpp: "Skip taskbar" hint
for dialogs
* src/selection-chemistry.cpp: Patch for copying gradients from johncliff
* src/event-context.cpp: Increased accelerated-scroll delay
* nr-pixops.h: INK_COMPOSE: Always-visible inversion compose method
* sp-gradient.cpp: Default linear gradient goes through center
* nr-plain-stuff.cpp: Tweaked checkerboard size and color
* gradient-position.cpp: Inverse colors for handles, axes, and bbox; dragging
snaps with Ctrl; radius handle in radial gradient
* src/sp-rect.cpp src/sp-path.cpp: Finished fixing 918478
* src/gradient-chemistry.cpp src/widgets/gradient-vector.cpp: Fix for 902319,
remove some debug output
* src/toolbox.cpp: Polygon mode off by default
* src/toolbox.cpp: Crash fix, reported by David Christian Berg
* src/radial.h src/nodepath.cpp: Moved Radial:: to nodepath.h for now
* stringstream.h: New stream class for serialization
* svg-path.cpp: Use new stream class
* src/toolbox.cpp: Smarter Sharpness, r1 and r2 undistinguishable for the user
* src/svg/svg-path.cpp: Restore mising break (fixes smearing for paths with h and v)
* src/dialogs/align.cpp src/dialogs/transformation.cpp: Reverse pjrm's change in delete
handlers (fixes crash on closing)
* src/splivarot.cpp: Simplify threshold depends on selection size, not item size
* src/select-toolbar.cpp: Reordered select toolbar buttons
* icons.svg: Reworked selector toolbar icons
2004-03-17 Ted Gould <ted@gould.cx>
* src/extension/db.h, src/extension/db.cpp, src/extension/extension.cpp,
src/extension/system.cpp: Changing the database stuff to be C++
object oriented (actually it wasn't OO before). But this helps
as we start to connect to the File dialogs.
2004-03-16 Ted Gould <ted@gould.cx>
* src/file.cpp,
src/file.h,
src/extension/Makefile.am,
src/extension/extension.cpp,
src/extension/extension.h,
src/extension/menu.cpp,
src/extension/system.cpp,
src/extension/implementation/implementation.cpp,
src/extension/implementation/implementation.h,
src/extension/implementation/script.cpp,
src/extension/implementation/script.h:
A few of changes.
1) removed the extensions menu stuff from the build as it seems
no one is using it.
2) Changing Filter to Effect internally to the extensions
3) Adding an exception to the save and open extensions to
signal a failure. There is no way to test this currently,
but it doesn't break anything.
2004-03-16 jon phillips <kidproto@users.sf.net>
* share/icons/icons.svg: Added a couple of icons but haven't linked them
to the code yet.
* share/tutorials/elementsofdesign.svg: Added the first part of the
basic graphics for this tutorial. I added boxes for the rest, which
I need to finish. I need to use Bulia's tutorial top part to keep
the tutorials consistent.
2004-03-16 bulia byak <bulia@users.sourceforge.net>
* nr-type-directory.cpp: Cache NRTypeFaceDef *, not NRTypeFace *, fixes 916155
* src/arc-context.cpp src/arc-context.h src/event-context.h src/rect-context.cpp
src/spiral-context.cpp src/spiral-context.h src/star-context.cpp
src/star-context.h src/toolbox.cpp: John Cliff's patch #2 for shape tools,
with my fixes
* icons.svg: Tweaks: stroke to curve, flip/rotate, text
* src/sp-ellipse.cpp: Fixes: SPArc never writes <ellipse>; in d=, no L to the center when start==end
* src/nodepath.cpp: Fix for 916119
* src/widgets/icon.cpp: Remove not-enough-room-for-icon warning
* src/dialogs/text-edit.cpp src/dialogs/dialog-events.cpp: Do not eat key events in the text view
2004-03-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/widgets/gradient-vector.cpp
(sp_gradient_vector_widget_load_gradient, sp_gradient_vector_color_dragged):
Cleanup: Convert to table-driven style.
* src/style.cpp (sp_style_read_from_object): Additional check.
* src/rect-context.cpp: Cleanup: Coding Style conformance,
move declarations to first use.
* src/sp-gradient.cpp (sp_gradient_rebuild_vector): Add assertion.
2004-03-15 Ted Gould <ted@gould.cx>
* src/extension/extension.cpp: Adding in some comments for my
previous checkin and also adding in the integer functions that
I forgot (but aren't used yet).
2004-03-14 Jon Phillips <jon@jonphillips.info>
* src/toolbox.cpp src/verbs.cpp src/interface.cpp
share/icons/icons.svg: Added all the icons in the VIEW
menu. They might need some tweaking, but its a start. Also
cleaned up some coding conventions for these files.
2004-03-14 Bryce Harrington <bryce@bryceharrington.com>
* src/view.cpp: Adding an accumulator function for checking
return values of shutdown signal handlers, so that if any one of
them returns a value indicating an abort of the shutdown, the
shutdown process will be aborted.
2004-03-14 Ted Gould <ted@gould.cx>
* src/extension/extension.cpp, src/extension/extension.h,
src/extension/internal/ps.cpp: Adding in parameters for extensions.
This will make it so that extensions can have easy settings that
are used. They are not currently persistent - but that will be
a future feature.
2004-03-14 MenTaLguY <mental@rydia.net>
* src/ast/*: more AST sketching
* src/xml/repr.cpp: existing listeners were getting dropped when new
listeners were added; this fix makes the behavior documented in
bug #896706 a little worse, but fixes bug #915913
* src/sp-use.cpp: SPUse does not need to manually detach its child
anymore, so now it doesn't
* src/sp-object.cpp: detach our SPRepr listener before we start
releasing our children, which makes listener removal faster (since
we are then always removing from the beginning of the listener
list -- i.e. removing in roughly the order in which they were added)
This should help bug #896706 a little more.
* src/event-context.cpp, src/node-context.cpp, src/rect-context.cpp,
src/sp-object.cpp, src/sp-offset.cpp, src/dialogs/desktop-properties.cpp,
src/dialogs/xml-tree.cpp, src/widgets/sp-widget.cpp,
src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-tree.cpp,
src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
src/xml/repr.h:
SPObjects now ::write() immediately on attribute changes, if those
changes are "interactive" (i.e. from the XML editor); this fixes
the problem with SPStar's points= attribute updating (bug #910142)
* src/sp-clippath.cpp, src/sp-mask.cpp, src/sp-namedview.cpp,
src/sp-root.cpp, src/sp-symbol.cpp:
simplified SPObject::remove_child handlers, focusing particularly
on making them not rely on the repr still being attached
* src/sp-object.cpp: SPObject::remove_child is now invoked after
the repr has been removed (fixes bug #916188)
* src/text-context.cpp: don't unparent the repr if it's already
been unparented (fixes bug #915435)
2004-03-14 rejon <jon@protofunk.org>
* src/toolbox.cpp share/icons/icons.svg: Cleaned the file up to coding
standards. I also have begun to add new icons to our program.
2004-03-13 MenTaLguY <mental@rydia.net>
* src/document.cpp: bumped the update limit on documents a bit
(bug #896076)
* src/sp-text.cpp: SPString now copes with parents that don't have style
information (comment on bug #896706)
* src/xml/repr.cpp, src/xml/repr-private.h:
adding listeners is now O(1), which should make files which make heavy
use of <use> more tolerable; I decided to add an extra "last" pointer
rather than just prepending to the list (which would have reversed
its order, and make the common case for removal traverse the entire
list -- removal is still O(N) overall, but at least this way we usually
hit the best-case) (bug #896076)
2004-03-11 bulia byak <bulia@users.sourceforge.net>
* src/sp-item.h src/sp-item.cpp: Restore i2root_affine: same as i2doc but
without c2p, fixes 914039
* src/selection-chemistry.cpp: Grouping z-order fix
* src/path-chemistry.cpp: Combine/Break Apart fixes: preserve z-order and
parent, diagnostics, multiple selected, cleanup, fixes
* src/libnrtype/nr-type-directory.cpp: Fix win32 memory hog (unfreed
g_ascii_tolower in ink_strstr), implement caching of looked-up faces
2004-03-10 bulia byak <bulia@users.sourceforge.net>
* src/sp-offset.cpp: Coalesce threshold depends on item size (less transform),
guarding against invalid item bbox, comments
* src/sp-text.cpp: TODO comment for effective_dx/dy
* src/splivarot.cpp src/preferences-skeleton.h: Inset/Outset handle multiple
selections, preserve z-order and grouping; Simplify handles multiple
selections, preserves z-order and grouping, threshold taken from prefs,
accelerated
* src/node-context.cpp src/text-context.cpp: Disregard groups when clicking
* src/shortcuts.cpp: Ctrl+/ for division, ctrl-alt-/ for slice (cut path),
bigger window for keys
* src/rect-context.cpp src/rect-context.h: Knotholder, signals and listeners,
selection by click, tolerance, Esc deselects
* src/toolbox.cpp: Rect toolbar: Spinbuttons cosmetics, keys, defocusing,
tooltips, fixes
* src/shortcuts.cpp: Ctrl+e zooms to window, export is ctrl+shift+e now
* src/selection-chemistry.cpp: Z-order fixes: Raise rewritten, diagnostics,
relative raise/lower only for overlapping objects
* src/verbs.cpp: raise/lower commands named more consistently
* src/sp-item.cpp src/sp-item.h: Sorting function for items
* src/selection-chemistry.cpp: fix for 910017
* src/splivarot.cpp: Remove fill for slice
2004-03-09 rejon <jon@protofunk.org>
* samples: Moved the contents of samples into the proper share dirs.
* share/tutorials/tutorial.svg: Moved the default tutorial.svg to this
location. It was in the wrong place.
* share/tutorials/elementsofdesign.svg src/help.cpp src/interface.cpp:
Added the textual gloss of this new tutorial. I need to add some
more graphics to it. But I just wanted to first of all flesh out
the document so that others could chunk in graphics and so
forth.
2004-03-09 MenTaLguY <mental@rydia.net>
* src/ast/*: more AST work
* src/sp-text.cpp: fixed uninitialized variable
* src/sp-text.cpp: rewrote recursive character-counting algorithm
2004-03-08 MenTaLguY <mental@rydia.net>
* src/sp-text.cpp: fixes for initialization and updating of SPString
2004-03-07 MenTaLguY <mental@rydia.net>
* src/sp-item.cpp: the item's arenaitems shouldn't be destroyed until
its children have had a chance to clean up
* src/sp-object.cpp: fix sp_object_reorder() to correctly handle
next == NULL
* src/sp-item.cpp, src/sp-object-group.cpp, src/sp-object-repr.cpp,
src/sp-object.cpp, src/sp-object.h, src/sp-text.cpp, src/sp-use.cpp:
finished transition to SPObject::children
* src/sp-text.cpp: reworked SPTSpan a bit so that it copes with
the child changes a little better with respect to SPTSpan::string
2004-03-06 MenTaLguY <mental@rydia.net>
* src/ast/*: initial work on AST code
* src/libnr/nr-convex-hull-ops.h, src/libnr/nr-convex-hull.h,
src/libnr/nr-matrix-fns.h, src/libnr/nr-maybe.h,
src/libnr/nr-rect-ops.h:
basic cleanups and work on NR::ConvexHull
* src/document.cpp, src/gradient-chemistry.cpp,
src/selection-chemistry.cpp, src/selection.cpp, src/sp-clippath.cpp,
src/sp-defs.cpp, src/sp-defs.h, src/sp-gradient.cpp, src/sp-gradient.h,
src/sp-item-group.cpp, src/sp-item-group.h, src/sp-item.cpp,
src/sp-item.h, src/sp-mask.cpp, src/sp-namedview.cpp,
src/sp-object-group.cpp, src/sp-object-group.h, src/sp-object-repr.cpp,
src/sp-object.cpp, src/sp-object.h, src/sp-pattern.cpp, src/sp-pattern.h,
src/sp-root.cpp, src/sp-text.cpp, src/sp-text.h,
src/widgets/gradient-vector.cpp:
children are now uniformly handled by SPObject
2004-03-05 bulia byak <bulia@users.sourceforge.net>
* src/desktop.cpp src/preferences-skeleton.h: Autoscroll now accepts
distance-from-edge parameter, may be negative, default is
options.autoscrolldistance = -10
* src/style.cpp src/style.h src/document.cpp: Store uri for paintsever and
serialize it back instead of paintserver id. find_items functions do not find
insensitive items by default.
* src/sp-item.cpp: tentative fix: do not remove style attribute if
write_difference fails or object has no parent
* src/desktop-events.cpp: transientize guide dialog
* splivarot.cpp, livarot/*: fred's new rasterizer, fixes
* src/widgets/gradient-vector.cpp: fix 906301
* src/dialogs/text-edit.cpp: do not rebuild text of object if not changed in the
dialog, fixes 906279
* src/selection.cpp: suppress a few meaningless warnings
* src/xml/repr.cpp: fix for 907056, 906222
* about.svg: redrawn from rejon's draft, with a highlight on lauris :)
* libnrtype: Full font-variant, font-weight, font-stretch support. Better family
and style matching algorithm. Support for generic families and multiple family
specifications. Xft sees all font styles, reads pfa fonts again. Font styles
are sorted in the list and use the native style names with Xft.
* src/sp-text.cpp,h src/text-context.cpp: Keys, function for adjusting linespacing
* keys.xml,svg,html: Linespacing keys
2004-03-05 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/draw-context.cpp (fit_and_split,
sp_pencil_context_root_handler, spdc_add_freehand_point):
* src/dyna-draw-context.cpp (sp_dyna_draw_timeout_handler,
sp_dyna_draw_context_root_handler, fit_and_split_line,
fit_and_split_calligraphics):
Cleanups.
* src/Makefile.am: Fix missing backslash at end of line.
2004-03-05 Ted Gould <ted@gould.cx>
* src/extension/impelementation/implementation.cpp,
src/extension/impelementation/implementation.h,
src/extension/impelementation/script.h,
src/extension/impelementation/script.cpp:
Adding in some more comments and doing some general cleanup
of the code. It is getting better everyday.
2004-03-05 Ted Gould <ted@gould.cx>
* src/Makefile.am: Adding back in inkview. This was fixed by
Bob, but he didn't add it back in. It's back in the build now.
Thanks Bob for fixing my mistakes!
2004-03-04 Ted Gould <ted@gould.cx>
* src/extension/extension.h: Cleaning up and adding comments.
2004-03-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/livarot/Shape.cpp (Distance): Convert to DistanceLE(p, d)
function returning true iff Distance(p) <= d. (Saves 7% of total
inkscape CPU time for "big scribbles" test cases.) Update callers.
2004-03-04 Ted Gould <ted@gould.cx>
* src/extension/system.cpp, src/extension/system.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/init.cpp, src/extension/internal/gnome.cpp,
src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
src/extension/internal/win32.cpp:
Making it so that an implementation is a require element to
build an extension. This means that checking for one in every
other function is not required. Makes a touch more sense.
2004-03-04 Jon A. Cruz <jon@joncruz.org>
* src/file.cpp, src/interface.cpp, src/inkscape-stock.cpp,
src/sp-image.cpp, src/helper/png-write.cpp,
src/widgets/icon.cpp:
Fixed filename/URI translation to keep UTF-8 internally.
2004-03-03 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/seltrans.cpp (sign):
New function to replace `FOO / fabs(FOO)' expressions in various places.
* src/seltrans.cpp (sp_sel_trans_stretch_request, sp_sel_trans_stretch):
Fix #906221. Also change the behaviour to allow growing.
* src/libnr/nr-scale.h: operator[]: new versions returning writable reference.
* src/desktop-snap.h, src/desktop-snap.cpp
(sp_desktop_vector_snap_list):
Change final arg from NR::Point to NR::scale. Update callers.
2004-03-02 Ted Gould <ted@gould.cx>
* src/Makefile.am, src/print.cpp,
src/extension/db.cpp, src/extension/db.h,
src/extension/extension.cpp, src/extension/extension.h,
src/extension/system.cpp, src/extension/system.h,
src/extension/init.cpp, src/extension/menu.cpp,
src/extension/impelementation/Makefile.am,
src/extension/impelementation/implementation.cpp,
src/extension/impelementation/implementation.h,
src/extension/impelementation/script.h,
src/extension/impelementation/script.cpp,
src/extension/internal/gnome.cpp, src/extension/internal/gnome.h,
src/extension/internal/ps.cpp, src/extension/internal/ps.h,
src/extension/internal/svg.cpp, src/extension/internal/svg.h,
src/extension/internal/win32.cpp, src/extension/internal/win32.h:
Turning the extensions stuff into having C++ objects instead
of GTK+ objects. This affected a lot of files.
2004-03-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/curve.h, src/helper/curve.cpp
(sp_curve_new_from_foreign_bpath and many static functions):
Mark various ArtBpath[] parameters as not being written to.
* src/draw-context.cpp (fit_and_split): Fix to fix to edge case in
freehand tool. (Hopefully to be replaced by different approach.)
* src/dialogs/transformation.cpp (sp_transformation_move_apply,
sp_transformation_scale_apply, sp_transformation_rotate_apply,
sp_transformation_skew_apply):
Remove unused `copy' parameter. Update caller.
* src/dialogs/align.cpp, src/dialogs/transformation.cpp: Cleanups.
* src/display/nr-arena-shape.cpp (nr_arena_shape_set_path):
Remove affine argument (all current callers were passing NULL) and
unused `lieutenant' argument. Update callers.
* src/selection-chemistry.h, src/selection-chemistry.cpp
(sp_selection_delete, sp_selection_duplicate, sp_edit_clear_all,
sp_edit_select_all, sp_selection_group, sp_selection_ungroup,
sp_selection_raise, sp_selection_raise_to_top, sp_selection_lower,
sp_selection_lower_to_bottom, sp_selection_cut, sp_selection_copy,
sp_selection_paste, sp_selection_paste_style):
Remove unused parameters. Update callers.
2004-03-01 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/draw-context.cpp: Fixed edge case in freehand tool. Added
comment about curve fitting.
2004-03-01 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-guide.cpp (sp_guide_set_property, sp_guide_get_property):
Minor cleanups.
* src/interface.h, src/interface.cpp
(sp_ui_new_view, sp_ui_new_view_preview): Make static.
* src/dyna-draw-context.cpp (sp_ddc_defaults):
* src/rect-context.cpp (sp_rc_defaults):
Cleanup: Use table and loop instead of copy&paste.
* configure.in: If -Wno-unused-parameter isn't recognized (g++ 3.2 and
earlier) then use -Wno-unused.
* src/libnr/nr-point.h: NR::Point: Add explicit copy constructor and
operator= in the hope of fixing #907059.
* src/desktop-events.cpp (sp_dt_ruler_event): NR::Point'ification.
* src/selection.cpp (sp_selection_item_selected):
* src/seltrans.cpp (sp_sel_trans_stretch_request):
* src/display/nr-arena-shape.cpp (shape_run_A8_OR):
* src/livarot/PathStroke.cpp (DoJoin):
* src/livarot/ShapeMisc.cpp (ReFormeBezierTo):
Address compiler warnings.
2004-02-28 Jon Phillips <jon@protofunk.org>
* share/*: Move extensions, icons, and made a new folder screens
for screens that are pulled up in using inkscape. Please test
this heavily as it implements the most troublesome chunks of the
directory reorganization.
* Makefile.am, Makefile.mingw, config.h.mingw, configure.in:
Changed to coincide with the new changes.
2004-02-28 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/nodepath.cpp,h: Moved radial to class Radial. Moved
NodePath into namespace Path and partially classified.
2004-02-28 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/nodepath.cpp: Mark several functions as static.
* src/dialogs/stroke-style.cpp: Rename DEBUG_MARKERS ifdef to
WITH_MARKER_GUI, and make more things conditional on it.
(Fixes failing assertion for the !defined case.)
2004-02-27 Alexander Clausen <alex@skip86.com>
* src/desktop-events.cpp: fix my last fix *sigh*
* src/inkview.cpp: fix inkview crash when none of the files
on commandline exist, add very basic error reporting
2004-02-27 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/stroke-style.cpp (sp_stroke_style_set_marker_buttons):
Cleanup: restructure.
* src/dialogs/Makefile.am: in-dt-coordsys.cpp, in-dt-coordsys.h:
New files.
* src/dialogs/xml-tree.cpp (set_dt_select): Fix bug when clicked on a
shape that's a descendent of a <defs> node: don't try to select it
in the canvas.
2004-02-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/stroke-style.cpp:
Fix: free marker_xpm[i] instead of marker_xpm.
Misc cleanups.
* src/Makefile.am: New files extract-uri.cpp, extract-uri.h.
New unit test extract-uri-test.cpp.
* src/style.cpp (extract_uri): Move to src/extract-uri.cpp, and fix.
* src/Makefile.am (inkscapelib_src):
marker-status.h, marker-status.cpp: New files.
* src/dialogs/stroke-style.cpp, src/sp-shape.cpp, src/style.cpp:
Change marker debugging status messages from conditional g_message
to unconditional marker_status call.
* src/dialogs/stroke-style.cpp (marker_id_to_string):
Remove unused function.
2004-02-24 Alexander Clausen <alex@skip86.com>
* src/desktop-events.cpp: Fix crash when opening the guide dialog for
the second time
2004-02-24 bulia byak <bulia@users.sourceforge.net>
* src/helper/sodipodi-ctrlrect.cpp: A smart always-visible inversion for ctrlrect border
* src/select-toolbar.cpp: Fix for 873723
* src/style.h src/style.cpp: write_difference only writes what is .set in the target style
* src/selection-chemistry.cpp: Paste style merges the style of the clipboard
with the object's current style
* src/xml/repr-io.cpp: Do not cut leading/trailing whitespace on text nodes,
only reject all-whitespace nodes
* src/pixmaps/handles.xpm src/seltrans.cpp src/knot.cpp src/nodepath.cpp
src/helper/sodipodi-ctrl.cpp: Changed xor compositing for ctrls, made seltrans
handles inverse, tweaked knot colors
* doc/keys-html.xsl doc/keys.html: keys.html now validates
* src/desktop.cpp src/desktop.h: New function to autoscroll desktop so a point
becomes visible
* src/rubberband.cpp src/select-context.cpp src/nodepath.cpp: Use the new
function to scroll desktop to a point
* src/desktop.cpp src/preferences-skeleton.h: options.autoscrollspeed
2004-02-24 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-matrix.h: Add `explicit' to Matrix constructors
from rotate/scale/translate, to reduce the number of mysterious
implicit conversions used in client code.
Don't #include nr-rotate-ops.h, nr-scale-ops.h, nr-translate-ops.h.
* src/selection-chemistry.cpp (sp_selection_apply_affine):
Change final argument from double[6] to NR::Matrix.
Update callers.
(sp_selection_scale_relative): Change from dx,dy to NR::scale argument.
Update callers.
(sp_selection_scale, sp_selection_scale_times): Cleanup.
* src/libnr/Makefile.am:
New files nr-rotate-test.cpp, nr-scale-test.cpp, nr-translate-test.cpp.
* src/libnr/nr-matrix-test.cpp: Move lots of things to the new files.
Add tests for the operator* additions of 2004-02-23.
Don't #include .cpp files where linking against them suffices.
* src/livarot/Makefile.am (Path_test_LDADD): Fix order of libs.
* src/select-toolbar.cpp (sp_object_layout_any_value_changed):
NR::Matrix'ification.
2004-02-23 MenTaLguY <mental@rydia.net>
* src/selection-chemistry.cpp, src/selection-chemistry.h,
src/seltrans.cpp, src/seltrans.h, src/verbs.cpp,
src/dialogs/transformation.cpp, src/libnr/nr-point-fns.h,
src/libnr/nr-point.h, src/libnr/nr-rect.h: more NRPoint removal
2004-02-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-item-transform.cpp (sp_item_rotate_rel):
Use NR::Rect and .midpoint.
* src/dropper-context.cpp (sp_dropper_context_root_handler):
* src/sp-text.cpp (sp_string_set_shape):
Cleanup: use translate rather than setting individual matrix elements.
* src/libnr/nr-matrix-ops.h (operator*: Matrix*rotate, translate*scale,
scale*translate, Matrix*scale): New functions.
2004-02-22 Ted Gould <ted@gould.cx>
* src/extension/Makefile.am, src/extension/implementation/Makefile.am,
src/Makefile.am, po/POTFILES.in, po/*.po (because of previous change):
Okay, I screwed up. Here are some distcheck fixes for various
things. Still not entirely clean. But these are much closer
than we were.
2004-02-22 Ted Gould <ted@gould.cx>
* src/modules -> src/extensions:
Changing the directory name so that it fits the new naming
conventions that we're working with.
2004-02-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop.cpp (sp_desktop_init, sp_desktop_set_display_area):
* src/libnrtype/nr-font.cpp (nr_font_generic_glyph_outline_get):
* src/libnrtype/nr-typeface.cpp (nr_font_new_default):
Don't use implicit NR::Matrix conversions.
* src/libnr/nr-translate-ops.h (operator!=): new.
* src/sp-item.h, src/sp-item.cpp (sp_item_bbox_desktop):
Add NR::Rect version.
* src/inkview.cpp: Address compiler warning: declare is_jar iff it is
defined, i.e. #ifdef WITH_INKJAR.
* src/desktop-snap.cpp, src/desktop.h, src/object-edit.cpp,
src/sp-root.cpp, src/livarot/PathConversion.cpp,
src/widgets/sp-color-wheel.cpp:
Add some #include's to reduce how much nr-matrix.h must pull in.
* src/desktop-affine.cpp, src/knotholder.cpp,
src/desktop-events.cpp, src/nodepath.cpp, src/sp-ellipse.cpp,
src/sp-image.cpp, src/sp-item-notify-moveto.cpp, src/sp-rect.cpp,
src/text-context.cpp:
#include libnr/nr-matrix-ops.h.
2004-02-22 Ted Gould <ted@gould.cx>
* doc/Makefile.am, po/POTFILES.in: keeping these up to date
for distchecks.
2004-02-21 Ted Gould <ted@gould.cx>
* extensions/txt2svg.inkmod, extensions/txt2svg.pl:
Adding a script that Bryce wrote that will take in text. Plus
the inkscape module file to make it so that you can open text
files in Inkscape.
2004-02-21 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp, src/xml/repr.h: added RDF namespace by default
* src/inkscape.cpp, src/inkscape.h, src/widgets/sp-widget.cpp,
src/inkview.cpp: nuked global 'inkscape' variable and replaced
it with a module-local variable and an accessor function.
* src/uri.h, src/uri.c: added native filename to/from thingy
2004-02-20 bulia byak <bulia@users.sourceforge.net>
* src/text-context.cpp: [shift+]alt+arrows to kern
* src/sp-text.cpp,h: Complete support for dx/dy vectors, including inheritance
as per SVG spec. Preserve dx/dy lists in editing. Function to adjust dx/dy by
screen pixels.
* src/svg/svg-length.cpp: Function to read length in absolute units
only. Function to read a length into a float instead of SPSVGLength. Function
to read a length vector into a list of SPSVGLength's.
* src/sp-root.cpp src/sp-image.cpp src/sp-offset.cpp src/sp-spiral.cpp:
Eliminated sp_svg_length_read_ldd calls and ugly repetitive unit checks, used
sp_svg_length_read_[computed_]absolute instead.
* doc/keys.xml doc/keys.html icons/keys.svg: Updated guide and grid
shortcuts. Added paste in place, more notes. Added kerning keys and notes.
* src/libnrtype/nr-type-ft2.cpp: Crash fix, patch 895344.
* src/sp-namedview.cpp src/sp-namedview.h: Proper showguides support, functions
for toggling guides and grid.
* src/desktop-events.cpp: Turn showguides on when creating a new guide.
* src/verbs.cpp: Used the new toggle functions for showguides and showgrid.
* src/interface.cpp: Added Guides to View.
* src/xml/repr-util.cpp: sp_repr_get_boolean fix.
* src/dialogs/desktop-properties.cpp: Reenabled showguides support, added
namedview listener to reflect outside changes to the namedview.
2004-02-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* Lots of files: Refine #include's according to reorganization of
libnr/nr-types.h and libnr/nr-matrix.h.
* src/libnr/Makefile.am (libnr_a_SOURCES):
nr-coord.h nr-dim2.h nr-i-coord.h nr-matrix-ops.h nr-point-l.h
nr-point-ops.h nr-point.h nr-rect-l.h nr-rotate.h nr-rotate-ops.h
nr-scale-ops.h nr-scale.h nr-translate-ops.h nr-translate.h:
New files; code moved from nr-types.h and nr-matrix.h.
* src/libnr/nr-matrix.h:
* src/libnr/nr-types.h:
#include the new files.
* src/desktop-affine.h, src/desktop-affine.cpp
(sp_desktop_w2d_xy_point, sp_desktop_d2w_xy_point,
sp_desktop_w2doc_xy_point, sp_desktop_doc2w_xy_point,
sp_desktop_d2doc_xy_point, sp_desktop_doc2d_xy_point,
sp_desktop_root2dt_xy_point, sp_desktop_dt2root_xy_point):
Remove old NRPoint versions of these functions.
* src/select-toolbar.cpp:
* src/toolbox.cpp:
* src/widgets/spw-utilities.cpp:
Remove unused #include sp-item-transform.h.
* src/sp-item-transform.cpp (sp_item_rotate_rel): NR::Matrix'ification.
* src/sp-item-transform.h, src/sp-item-transform.cpp
(sp_item_scale_rel, sp_item_skew_rel): Remove these unused functions.
* src/sp-item-transform.h, src/sp-item-transform.cpp
(sp_item_rotate_rel, sp_item_move_rel): Change from pair of points to
NR::rotate and NR::translate respectively. Update callers.
* src/node-context.cpp (sp_node_context_root_handler):
* src/rect-context.cpp (sp_rect_context_root_handler):
* src/zoom-context.cpp (sp_zoom_context_root_handler):
NR::Point'ification and var cleanup.
* src/event-context.cpp
(sp_event_context_private_root_handler, set_event_location):
* src/dialogs/align.cpp (sp_align_arrange_clicked):
NR::Point'ification.
* src/desktop.h (sp_desktop_zoom_relative_keep_point,
sp_desktop_scroll_world): Add NR::Point version.
2004-02-19 Johan Ceuppens <jceuppen@easynet.be>
* src/inkjar/jar.cpp, src/inkjar/jar.h src/inkview.cpp:
inkview accepts .jar archives of SVG files on the command line.
2004-02-19 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/Makefile.am: sp-item-rm-unsatisfied-cns.cpp,
sp-item-rm-unsatisfied-cns.h, sp-guide-attachment.h,
sp-item-notify-moveto.cpp, sp-item-notify-moveto.h,
sp-guide-constraint.h, satisfied-guide-cns.cpp,
satisfied-guide-cns.h, sp-item-update-cns.cpp,
sp-item-update-cns.h: New files.
* src/desktop-events.cpp (sp_dt_guide_event):
* src/seltrans.cpp (sp_sel_trans_ungrab):
* src/sp-guide.cpp (sp_guide_moveto, sp_guide_remove):
* src/sp-guide.h:
* src/sp-item.cpp (sp_item_set):
* src/sp-item.h:
Make snap-to-guide more persistent. (Still not saved to XML though.)
* src/sp-spiral.cpp (sp_spiral_fit_and_draw, sp_spiral_set_shape):
Address NRPoint warning.
* src/widgets/icon.cpp (sp_icon_paint): Cleanup.
* src/libnr/nr-types.h: Change deprecated-cast warning from runtime
to compile-time.
* src/helper/sp-canvas.h, src/helper/sp-canvas.cpp
(sp_canvas_world_pt_inside_window): New function.
2004-02-18 MenTaLguY <mental@rydia.net>
* src/widgets/icon.cpp, src/widgets/icon.h: rewrote to use gdk for
compositing; now it looks tolerable with ANY theme!
* src/dialogs/item-properties.cpp: slight stabs at implementing "visible"
* src/libnr/nr-types.h: added warning for deprecated casts
2004-02-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/dialogs/align.cpp (sp_align_arrange_clicked): Cleanup.
* src/sp-item-transform.cpp (sp_item_move_rel): NR::Matrix'ification.
* src/desktop-events.cpp (sp_dt_guide_event): Get guide line dialog
working again: double-click on a guide to show the guide dialog.
* src/utest/utest.h (UTEST_NAMED_ASSERT):
Wrap this macro in static_cast<void>().
2004-02-17 MenTaLguY <mental@rydia.net>
* src/interface.cpp: fixed signal connection in recent items menu
* src/file.cpp: fix compile and pass UTF-8 "URIs" down to module code
2004-02-17 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-guide.h, src/sp-guide.cpp (sp_guide_moveto,
sp_guide_position_set):
Combine into a single sp_guide_moveto routine accepting a `commit'
argument. Update callers.
2004-02-16 MenTaLguY <mental@rydia.net>
* src/interface.cpp: fixed bug with underscores in 'open recent' filenames
* src/libnr/nr-rect.h, src/libnr/nr-types.h: moved NR::Rect to nr-rect.h,
minor updates
* src/libnr/nr-maybe.h: continued work on maybe implementation
* src/libnr/nr-types.h, src/libnr/nr-rect.cpp, src/libnr/nr-maybe.h,
src/seltrans.cpp:
started on revising the NR::Rect stuff, and introduced NR::ConvexHull
2004-02-16 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/xml/repr.cpp (sp_repr_document_root): Fix typo in most recent commit.
2004-02-14 MenTaLguY <mental@rydia.net>
* src/svg/svg-path.cpp: switched to locale-safe iostreams-based path
serialization.
* src/xml/repr-io.cpp, src/xml/repr.cpp, src/widgets/sp-xmlview-tree.cpp,
src/widgets/sp-xmlview-content.cpp, src/dialogs/xml-tree.cpp:
basic support for XML comments
2004-02-14 bulia byak <bulia@users.sourceforge.net>
* src/dialogs/dialog-events.cpp: Added UTILITY hint to sp_transientize()
* po/fr.po: Update from f.rodrigo@tuxfamily.org
* src/interface.cpp: Fix for underscore in the recent files menu, by alxrem
* src/event-context.cpp src/preferences-skeleton.h: Accelerated scrolling by Ctrl-arrows
* src/event-context.cpp: Ctrl-middle-click zooms in
* doc/keys.xml doc/keys-svg.xsl doc/keys-html.xsl doc/keys.html icons/keys.svg:
Updated middle and right buttons scroll/zoom, cosmetics
* src/shortcuts.cpp: Menu shortcut fix
* src/verbs.cpp,h: New verb: deselect
* src/selection.cpp,h: Removed unused function
* src/interface.cpp: Removed Edit/Clear All, added Edit/Deselect. Comment fix
* src/toolbox.cpp: Spelling fix: symmetric, not symmetrical
* src/desktop.cpp,h: sp_desktop_point(): returns mouse point in document coordinates
* src/selection-chemistry.cpp,h: sp_selection_paste obeys in_place parameter
* src/verbs.cpp src/verbs.h src/shortcuts.cpp: Paste in place verb, shortcut
* src/interface.cpp: Paste In Place command in Edit
* src/selection-chemistry.cpp: Toolbar message fix
2004-02-14 MenTaLguY <mental@rydia.net>
* src/libnr/nr-types.h: added intersects() and contains() tests
for points and rects
2004-02-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/selection.cpp (sp_selection_snappoints):
* src/sp-image.cpp (sp_image_snappoints):
* src/sp-item.cpp (sp_item_private_snappoints):
Don't use more than two opposite points of bounding box.
* src/seltrans.cpp (sp_show_handles): Add precondition !seltrans.empty.
* src/proofs: Update accordingly.
* src/seltrans.cpp: Change seltrans from pointer to reference in
several places.
2004-02-13 Johan Ceuppens <jceuppen@easynet.be>
* src/inkjar/{jar.cpp,jar.h}: changed some file offsets,
uncompressing multiple files in a jar works now. There
is an improved testing program at the end of jar.cpp.
2004-02-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/seltrans.cpp (sp_sel_trans_update_volatile_state):
Minor cleanups.
* src/desktop-snap.h, src/desktop-snap.cpp
(sp_desktop_horizontal_snap, sp_desktop_vertical_snap,
sp_desktop_horizontal_snap_list_scale,
sp_desktop_vertical_snap_list_scale,
sp_desktop_horizontal_snap_list_skew,
sp_desktop_vertical_snap_list_skew):
Remove these now-unused functions.
* src/arc-context.cpp (sp_arc_drag):
* src/rect-context.cpp (sp_rect_drag):
Simplification: use sp_desktop_dim_snap instead of
sp_desktop_horizontal_snap / sp_desktop_vertical_snap.
* src/desktop-snap.cpp (sp_desktop_vector_snap): Minor cleanups.
* src/libnr/Makefile.am, src/libnr/nr-point-fns-test.cpp:
New unit test file nr-point-fns-test.cpp.
* src/libnr/nr-point-fns.h, src/libnr/nr-point-fns.cpp (unit_vector):
New function.
* src/livarot/Path.h: Trim unnecessary includes.
* src/livarot/LivarotDefs.h: #include <stdint.h> (moved from Path.h).
* src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/PathStroke.cpp, src/sp-offset.cpp:
#include libnr/nr-point-fns.h.
2004-02-12 MenTaLguY <mental@rydia.net>
* src/xml/repr-util.cpp, src/xml/repr.h: pruned some obsolete
functions
2004-02-12 Johan Ceuppens <jceuppen@easynet.be>
* configure.in src/Makefile.am: --with-inkjar (default no)
* src/inkjar/Makefile.am src/inkjar/jar.cpp src/inkjar/jar.h:
inital import of libinkjar, this can be moved to LGPL after
rewriting the macros.
2004-02-11 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/seltrans.cpp (sp_sel_trans_handle_new_event,
sp_sel_trans_handle_request): NR::Point'ification.
* src/seltrans-handles.cpp, src/seltrans-handles.h, src/seltrans.cpp:
Preserve constness of SPSelTransHandle's.
* src/sp-item.h, src/sp-item.cpp (sp_item_set_item_transform):
Make static. Use NR::Matrix, and avoid NULL special case.
Update callers.
* src/sp-item.h, src/sp-item.cpp (sp_item_set_i2d_affine):
Get rid of NRMatrix version.
Calculate 1.25 directly rather than less accurate reciprocal of 0.8.
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp (matrix_equalp):
New function.
(assert_close): Use matrix_equalp.
* src/seltrans.h, src/seltrans.cpp (sp_sel_trans_transform):
Get rid of non-NR::Point version. Make affine argument const.
Update callers.
* src/desktop-events.cpp (sp_dt_guide_event): NR::Point'ification.
* src/view.h (sp_view_set_position): Add NR::Point version.
* src/desktop.h (sp_desktop_set_coordinate_status):
Add NR::Point version.
2004-02-09 bulia byak <bulia@users.sourceforge.net>
* doc/keys.xml doc/keys-svg.xsl: Keys and Mouse Reference: source, SVG stylesheet
* icons/keys.svg: Keys SVG chart (generated, do not edit)
* icons/Makefile.am: Added keys.svg
* src/help.cpp src/help.h src/interface.cpp: Added Keys and Mouse command
* doc/keyboard-shortcuts.txt Obsoleted, removed
* doc/keys-html.xsl doc/keys.html: Keys reference in HTML, stylesheet for HTML
* doc/Makefile.am: updated
* src/libnr/nr-pixblock.cpp: A better fix for 859364
* src/libnrtype/nr-rasterfont.cpp: Reverting my previous fix for 859364, a better
one is in nr-pixblock.cpp
* icons/tutorial.svg: Switched to Bitstream Vera, updated tutorial
* src/file.cpp: Fix for save bug 891852
* src/preferences-skeleton.h: transientpolicy=1 again
* src/nodepath.cpp: Ctrl-Alt-drag fix in point_line_closest()
* src/select-toolbar.cpp: Small space before unit selector
* src/widgets/paint-selector.cpp: Hidden buttons removed
2004-02-09 MenTaLguY <mental@rydia.net>
* src/interface.cpp: disabled the autoraise checkbox on Windows
* src/widgets/paint-selector.cpp, src/widgets/paint-selector.h:
removed unused selector-type buttons (with Bulia)
2004-02-09 Jon A. Cruz <jon@joncruz.org>
* src/widgets/sp-color-wheel.h, src/widgets/sp-color-wheel.cpp,
src/widgets/sp-color-wheel-selector.h,
src/widgets/sp-color-wheel-selector.cpp,
src/widgets/sp-color-gtkselector.cpp,
src/widgets/sp-color-notebook.cpp
Added new, smaller color wheel selector.
2004-02-09 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-affine.cpp, src/desktop-snap.cpp,
src/desktop-snap.h, src/desktop.cpp, src/knotholder.cpp,
src/nodepath.cpp, src/selection-chemistry.cpp, src/seltrans.cpp,
src/seltrans.h, src/sp-ellipse.cpp, src/sp-image.cpp,
src/sp-item.cpp, src/sp-item.h, src/sp-rect.cpp, src/sp-root.cpp,
src/text-context.cpp, src/dialogs/xml-tree.cpp,
src/libnr/Makefile.am, src/libnr/nr-matrix.cpp,
src/libnr/nr-matrix.h, src/libnr/nr-types.h,
src/libnrtype/nr-rasterfont.cpp, src/livarot/Path.h,
src/livarot/PathConversion.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeSweep.cpp, src/widgets/gradient-position.cpp,
src/widgets/sp-color-wheel-selector.cpp,
src/widgets/sp-color-wheel.cpp:
Change matrices to be suitable for right multiplication.
(Also miscellaneous cleanups as mentioned below.)
* src/widgets/sp-color-wheel-selector.cpp
(sp_color_wheel_selector_get_type):
Address harmless warning: add value_table initializer.
* src/display/nr-arena-group.h, src/display/nr-arena-group.cpp
(nr_arena_group_set_child_transform): Add NR::Matrix version.
* src/verbs.cpp: Add g++-2.95 portability for hash_map.
(Still using hash_map, though, not yet GHashTable.)
* src/uri-references.h (operator=): Remove definition, forcing link
errors for accidental usage.
* src/sp-chars.h, src/sp-chars.cpp (sp_chars_add_element):
Add NR::Matrix version.
* src/selection.cpp (sp_selection_snappoints): Performance fix: add
just 4 corner points, not a thousand.
* src/print.h, src/print.cpp (sp_print_bind): Add NR::Matrix version.
* src/inkscape.cpp: #include sys/types.h, sys/stat.h.
* src/desktop.h (SP_DESKTOP_ZOOM): Define in terms of expansion()
function instead of implicit casting.
* src/arc-context.cpp, src/document.cpp, src/draw-context.cpp,
src/selection.cpp, src/selection.h,
src/sp-ellipse.cpp, src/sp-gradient.cpp, src/sp-image.cpp,
src/sp-namedview.cpp, src/sp-offset.cpp, src/sp-rect.cpp,
src/sp-spiral.cpp, src/sp-star.cpp,
src/sp-text.cpp, src/bonobo/canvas-translator.cpp:
Cleanups: greater conformance to Coding_Style, combine declaration
and first assignment of some vars.
2004-02-08 MenTaLguY <mental@rydia.net>
* src/interface.cpp: added "Autoraise Dialogs" menu item to toggle
the transient policy thing
2004-02-08 Bryce Harrington <brycehar@bryceharrington.com>
* src/sp-namedview.cpp: This assert appears to serve no purpose
except to cause Inkscape to crash when the user chooses to
exit the app when the XML editor is open. Commenting out the
assert doesn't seem to cause any particular untoward behavior.
* src/xml/: repr.cpp, repr.h: Hacking in a check to prevent
deletion of the namedview entity, in order to close bug
Inkscape Bug #850971.
2004-02-07 Johan Ceuppens <jceuppen@easynet.be>
* src/libnrtype/nr-type-gnome.cpp src/libnrtype/nr-type-directory
src/libnrtype/nr-type-xft.cpp src/widgets/font-selector.cpp
src/print.cpp src/module.h src/module.cpp
modules/gnome.cpp: activated --with-gnome-print
libnrtype/nr-type-primitives.h: removed possible gchar signedness
bug.
2004-02-07 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/widgets/gradient-position.*: modified the gradient knot
editor to manipulate the knots, rather than rebuilding a gradient
from scratch each time.
2004-02-07 MenTaLguY <mental@rydia.net>
* src/xml/repr.h, src/xml/repr-util.cpp:
cleaned up old code in #if 0 sections
* src/display/canvas-arena.cpp, src/display/nr-arena-glyphs.cpp,
src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
src/display/nr-arena.cpp, src/display/nr-arena.h:
cleaned up old code in #if 0 sections
* src/desktop-affine.cpp, src/desktop.cpp, src/draw-context.cpp,
src/dropper-context.cpp, src/dyna-draw-context.cpp,
src/seltrans.cpp, src/sp-root.cpp, src/sp-text.cpp,
src/libnr/nr-macros.h, src/libnr/nr-types.h, src/libnr/nr-matrix.h,
src/libnr/nr-matrix.cpp, src/libnrtype/nr-font.cpp,
src/libnrtype/nr-rasterfont.cpp, src/livarot/PathSimplify.cpp,
src/livarot/ShapeSweep.cpp:
The array data member of NR::Matrix is now private; use the
[] operator to access elements individually. More matrix routines
now pass by reference, and the casting operators to cast to NRMatrix
no longer leak memory (by allocating temporary objects that were
never freed).
* src/modules/db.cpp: cleaned up some very grotty code that gcc 3.4
(rightly) refused to compile
* src/xml/repr-action.cpp: undo of content changes was pulling
from the wrong union member (note to self: unions = evil)
This fixes the problem with text editing undos yielding the wrong
apparent undo order (bug #861462).
2004-02-05 bulia byak <bulia@users.sourceforge.net>
* src/sp-text.cpp src/sp-text.h: Function to adjust letterspacing
* src/style.cpp: Comments
* src/text-context.cpp: Alt+<> adjust letterspacing
* src/helper/png-write.cpp: PNG comment: Software: www.inkscape.org
* src/text-context.cpp: Support keypad keys, keypad +/- always zoom even when editing
* src/shortcuts.cpp: Enable keypad Del
* src/event-context.cpp: Enable keypad arrows with Ctrl to scroll canvas
* src/zoom-context.cpp src/rect-context.cpp src/arc-context.cpp src/star-context.cpp
src/spiral-context.cpp src/draw-context.cpp src/dyna-draw-context.cpp
src/text-context.cpp src/dropper-context.cpp: Swallow keypad up/down keys too,
preventing them from focusing the zoom field
2004-02-05 Jon Phillips <kidproto@users.sf.net>
* src/dialogs/item-properties.cpp, src/dialogs/item-properties.h,
src/dialogs/object-attributes.cpp, src/dialogs/object-attributes.h,
src/dialogs/object-properties.cpp, src/dialogs/object-properties.h,
src/dialogs/sp-attribute-widget.cpp, src/dialogs/sp-attribute-widget.h,
src/dialogs/stroke-style.cpp, src/dialogs/stroke-style.h,
src/dialogs/text-edit.cpp, src/dialogs/text-edit.h,
src/dialogs/tool-options.cpp, src/dialogs/tool-options.h,
src/dialogs/transformation.cpp, src/dialogs/transformation.h,
src/dialogs/xml-tree.cpp, src/dialogs/xml-tree.h,
src/dialogs/xml-tree.cpp, src/dialogs/xml-tree.h: Converted
the aforementioned to coding style.
2004-02-04 Ted Gould <ted@gould.cx>
* src/desktop-snap.cpp: Removing some unused code that had
been replaced.
2004-02-04 jon phillips <kidproto@user.sf.net>
* COPYING, COPYING.LIB, ChangeLog, Makefile.am, Makefile.mingw,
Makefile.mingw.common, NEWS, README, autogen.sh, configure.in,
inkscape-cvs-0.ebuild, inkscape.1.in, inkscape.spec.in:
all files converted from tabs to 4 spaces and cleaned up the
coding style, tested, they build, and have committed.
* extension/*: I converted all files to coding style.
* src/dialogs/align.cpp, src/dialogs/align.h,
src/dialogs/desktop-properties.cpp, src/dialogs/desktop-properties.h,
src/dialogs/dialog-events.cpp, src/dialogs/dialog-events.h: Converted
the following files to use our coding convention.
* src/dialogs/desktop-properties.cpp, src/dialogs/desktop-properties.h,
src/dialogs/display-settings.cpp, src/dialogs/display-settings.h,
src/dialogs/export.cpp, src/dialogs/export.h,
src/dialogs/fill-style.cpp, src/dialogs/fill-style.h: converted the
aforementioned files to new coding conventions.
2004-02-04 bulia byak <bulia@users.sourceforge.net>
* src/style.h src/style.cpp src/sp-text.cpp: Read-only (so far) support for
letter-spacing CSS property
* src/event-context.cpp src/select-context.cpp src/draw-context.cpp
src/dyna-draw-context.cpp src/knotholder.cpp src/nodepath.cpp src/object-edit.cpp:
Trimming #if 0
* src/text-context.cpp: Trimming #if 0, removing unneeded document_done
* src/spiral-context.cpp src/star-context.cpp: Trimming #if 0, enabling ctrl-drag
* src/dialogs/dialog-events.cpp src/preferences-skeleton.h: Added
options.transientpolicy, 1 as default
* src/preferences-skeleton.h: Increased options.keyscroll
* src/dialogs/xml-tree.cpp: Fix for 852619, fix for failed asserts when selecting root
* src/widgets/gradient-selector.cpp: Fix for 854514, 856682
2004-02-02 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-snap.h, src/desktop-snap.cpp: Indicate that the snap_list
functions don't modify the passed snap points. For the wrapper versions,
don't bother "copying back the new [actually unchanged] versions".
2004-01-31 bulia byak <bulia@users.sourceforge.net>
* src/zoom-context.cpp src/rect-context.cpp src/arc-context.cpp src/star-context.cpp
src/spiral-context.cpp src/draw-context.cpp src/dyna-draw-context.cpp
src/text-context.cpp src/dropper-context.cpp: Fix to swallow up/down keys in
contexts so as to prevent zoom field from activation, but allow ctrl with up/down
keys to scroll canvas.
* src/interface.cpp: Removed New Preview, Remove Transform commands. Added Tutorial
command to Help.
* src/preferences-skeleton.h: Reduced default stroke width to 1 pt.
* src/help.cpp src/help.h: Tutorial command.
* icons/tutorial.svg: First try at the tutorial.
* icons/Makefile.am: Adding tutorial.
* src/nodepath.cpp: No-nodepath crash fixes.
* doc/architecture.svg: Added namedview.
* doc/default.svg: Removed, now reworked into icons/tutorial.svg.
* src/event-context.cpp: Swapped scrollwheel modifiers.
* src/xml/repr.cpp src/xml/repr-io.cpp: Small comment fix.
2004-01-31 Johan Ceuppens <jceuppen@easynet.be>
* src/verbs.cpp src/verbs.h: removed sp_fullscreen and put it in
desktop.cpp and desktop.h as fullscreen
* configure.in src/interface.cpp src/shortcuts.cpp src/inkscape.cpp
src/inkscape.h src/desktop.cpp src/desktop.h:
Added HAVE_GTK_WINDOW_FULLSCREEN as conditional compilation based
on a function check for gtk_window_fullscreen in configure script
2004-01-30 Johan Ceuppens <jceuppen@easynet.be>
* src/verbs.cpp src/verbs.h: Added fullscreen verb. Fullscreen action
is in SP_VERB_IS_ZOOM.
* src/interface.cpp: Added fullscreen menuitem.
* src/shortcuts.cpp: Linked in fullscreen shortcut (untested)
* src/inkscape.cpp src/inkscape.h
* src/desktop.cpp src/desktop.h: Added is_fullscreen gboolean to
SPDesktop.
2004-01-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnr/nr-path.h, src/libnr/nr-path.cpp: Mark some functions
as not modifying the matrix passed to them.
* src/display/nr-arena-group.h, src/display/nr-arena-group.cpp
(nr_arena_group_set_child_transform):
Indicate that matrix isn't written to.
* src/sp-item-transform.cpp (sp_item_rotate_rel, sp_item_scale_rel,
sp_item_skew_rel),
src/sp-marker.cpp (sp_marker_update, sp_marker_show_instance),
src/sp-shape.cpp (sp_shape_bbox),
src/sp-symbol.cpp (sp_symbol_update, sp_symbol_show, sp_symbol_print),
src/display/nr-arena-shape.cpp (nr_arena_shape_update, nr_arena_shape_pick):
Remove uses of nr_matrix_f_from_d.
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp (nr_matrix_f_from_d),
src/libnr/libnr.def:
Remove now-unused nr_matrix_f_from_d.
* src/nodepath.cpp (sp_nodepath_new),
src/path-chemistry.cpp (sp_selected_path_combine, sp_selected_path_break_apart),
src/selection-chemistry.cpp (sp_selection_apply_affine),
src/selection.cpp (sp_selection_bbox_document),
src/sp-item.cpp (sp_item_bbox_desktop, sp_item_private_snappoints),
src/sp-pattern.cpp (sp_pattern_painter_new),
src/modules/gnome.cpp (sp_module_print_gnome_fill),
src/widgets/icon.cpp (sp_icon_image_load_svg):
Remove uses of nr_matrix_d_from_f.
* src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp (nr_matrix_d_from_f),
src/libnr/libnr.def:
Remove now-unused nr_matrix_d_from_f.
* src/sp-item.h, src/sp-item.cpp (sp_item_set_i2d_affine_d,
sp_item_i2doc_affine_d, sp_item_i2d_affine_d, sp_item_dt2i_affine_d):
Merge _d version with non-_d version. Update callers.
* src/rubberband.h, src/rubberband.cpp (sp_rubberband_start):
Add NR::Point version.
Implement x,y version as call to NR::Point version.
2004-01-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-snap.h, src/desktop-snap.cpp (sp_desktop_dim_snap_list):
Export this function.
(sp_desktop_horizontal_snap_list, sp_desktop_vertical_snap_list):
Remove these now-unused functions.
* src/select-context.cpp (sp_selection_moveto):
Use sp_desktop_dim_snap_list instead of
sp_desktop_horizontal_snap_list, sp_desktop_vertical_snap_list.
* src/select-context.cpp (sp_selection_moveto): Fix what appears to be
a memory leak.
* src/rubberband.h, src/rubberband.cpp (sp_rubberband_move):
Add NR::Point version.
* src/seltrans.h (sp_sel_trans_point_desktop): Add NR::Point version.
* src/seltrans.h, src/seltrans.cpp (sp_sel_trans_point_desktop,
sp_sel_trans_origin_desktop): Indicate that pointer isn't written through.
* src/node-context.cpp, src/select-context.cpp:
Make some globals static.
* src/style.cpp (sp_style_read_pfloat, SPS_READ_IFLOAT_IF_UNSET,
SPS_READ_PFLOAT_IF_UNSET): Remove these unused functions/macros.
2004-01-28 MenTaLguY <mental@rydia.net>
* src/toolbox.cpp: aux toolbar now expands properly when torn off
(fix for bug #874923)
* src/libnr/nr-svp.cpp, src/libnr/nr-stroke.cpp,
src/libnr/nr-svp-private.h, src/libnr/nr-svp.h,
src/libnr/nr-svp-render.cpp, src/libnr/nr-svp-uncross.cpp:
NRCoord -> NR::Coord
* src/interface.cpp: removed Filters menu
* src/modules/win32.cpp: the Win32 GDI uses BRGx, rather than
RGBA, so we reverse the B and R bytes before blitting (fix
for bug #887428)
2004-01-28 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/seltrans.cpp: Various cleanups, including addressing some
warnings, and doing some more NR::Point'ification.
* src/knot.h, src/knot.cpp (sp_knot_set_position): Change from
pass-by-value to pass-by-const-reference.
* src/geom.cpp (sp_intersector_line_intersection): Restore
definition of previous local `cross' function, but "inline" the
dot(rot90(a), b) definition. This makes the definition conform to
the documentation.
* src/desktop-snap.cpp (sp_intersector_a_vector_snap): Undo a recent
change that adapted to the previously-introduced bug in
sp_intersector_line_intersection.
* icons/Makefile.am: s/icons_dir/iconsdir/g for automake.
* src/dialogs/Makefile.am, src/widgets/Makefile.am:
s/icons_dir/iconsdir/g for consistency with icons/Makefile.am.
2004-01-27 jon phillips <jon@users.sourceforge.net>
* Makefile.am: changed 'glade' globally to 'icons'
* Makefile.mingw: changed 'glade' globally to 'icons'
* config.h.mingw: changed 'INKSCAPE_GLADEDIR' to 'INKSCAPE_ICONS_DIR'
* configure.in: changed 'glade' globally to 'icons'
* Makefile.am: changed 'gladedir' to 'icons_dir', and fixed spacing,
changed 'glad_DATA' to 'icons_DATA'
* glade/about_svg.tmpl: changed 'glade' globally to 'icons'
* po/pl.po: changed 'glade' globally to 'icons'
* src/config.h.win32: changed 'SODIPODI_GLADEDIR' to 'SODIPODI_ICONS_DIR'
* src/dialogs/Makefile.am: changed 'gladedir' to 'icons_dir', changed
'-DINKSCAPE_GLADEDIR=\""$(gladedir)"\" \' to
'-DINKSCAPE_ICONS_DIR=\""$(icons_dir)"\" \'
* src/dialogs/makefile.msc: changed 'gladedir' to 'icons_dir'
* src/dialogs/object-properties.cpp: changed 'INKSCAPE_GLADEDIR' to
'INKSCAPE_ICONS_DIR'
* src/dialogs/stroke-style.cpp: changed 'INKSCAPE_GLADEDIR' to
'INKSCAPE_ICONS_DIR'
* src/widgets/Makefile.am: changed 'gladedir' to 'icons_dir'
* src/widgets/icon.cpp: changed 'glade' globally to 'icons'
* src/widgets/makefile.msc: changed 'gladedir' to 'icons_dir'
2004-01-26 bulia byak <bulia@users.sourceforge.net>
* src/inkscape.cpp: failed assertion fix
* src/shortcuts.cpp: Linked/dynamic offset shortcuts, zoom to page width
* src/preferences-skeleton.h: Add inkscape:pageopacity, borderopacity
* src/attributes.cpp,h src/sp-namedview.cpp,h: Add inkscape:pageopacity
* src/dialogs/desktop-properties.cpp: Get/set inkscape:pageopacity in the page
background color picker; reword and rearrange labels, spacing fix
* src/dialogs/export.cpp: Use inkscape:pageopacity for export background; fix crash on
exit
* src/file.cpp: Remove debug output when exporting
* src/sp-gradient.cpp src/svg/svg-path.cpp src/libnr/nr-compose.cpp src/dir-util.cpp
src/desktop.cpp: Fixes from sodipodi
* src/main.cpp: Fix PNG size limits when exporting from commandline
* src/style.cpp src/style.h: currentColor support from sodipodi
* src/sp-gradient.cpp: Fix for 876614 from sodipodi
* src/dialogs/desktop-properties.cpp: Convert meters to cm on writing (to make
svg/@height and svg/@width SVG compliant)
* src/sp-rect.cpp: Fix in description
* src/dialogs/text-edit.cpp: Fix bug: undo broken when font applied to more than one
text object. And another bug: do not apply text, only style, when more than one text
object selected.
* src/widgets/font-selector.cpp: Make font and style lists scroll automatically to
show selected row
2004-01-26 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* config.h.win32: Remove this outdated and apparently-unused file.
* src/livarot/Path-test.cpp: new file.
* src/livarot/Makefile.am: New test program Path-test.
Remove $(cflags) from INCLUDES.
* configure.in: Adjust some things for our C to C++ transition.
Add warning flags to CXXFLAGS if the compiler is g++.
2004-01-26 MenTaLguY <mental@rydia.net>
* src/configure.in, src/Makefile.am, src/modules/Makefile.am,
src/libnrtype/Makefile.am:
merged patch #847856 for autotools builds on mingw/win32
* src/sp-marker.h: added a URIReference subclass for markers
* src/sp-path.cpp: fixed backwards-compatiblilty thing with
(ancient) Sodipodi
* src/xml/repr-action.c, src/xml/repr-action.h,
src/xml/repr-private.h, src/xml/repr.cpp:
made SPReprDoc::is_logging a C++ bool, and fixed sp_repr_rollback()
to respect the no-logging-during-rollback invariant
2004-01-25 MenTaLguY <mental@rydia.net>
* src/sp-object-repr.cpp, src/splivarot.cpp, src/sp-offset.cpp:
changed "offset" to "inkscape:offset" for sodipodi:type
2004-01-24 bryce <brycehar@bryceharrington.com>
* src/dialogs/stroke-style.cpp: Hooking up marker buttons to
underlying marker style setting code, & etc.
2004-01-24 bulia byak <bulia@users.sourceforge.net>
* src/document.cpp src/sp-namedview.cpp: Desensitize undo for changing document uri
and for saving window geometry/viewarea into namedview
* src/xml/repr-util.cpp: Increase precision in set_double_attr
* src/arc-context.cpp: Call invoke_write when finishing arc, instead of setting attrs
manually
* src/sp-ellipse.cpp: Add write method to genericellipse; fix handling of start and
end attrs; fix undo bug (877238)
2004-01-24 MenTaLguY <mental@rydia.net>
* src/xml/repr-action.h, src/xml/repr-action.c: made the
SPReprAction::act union anonymous, and reworked the transaction
log optimization code. sp_repr_coalesce_log() should be a bit
faster now, and no more strcmp()s.
2004-01-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/livarot/Path.h, src/livarot/Path.cpp (Path::Affiche): remove
unused function.
Doing so allows removal of path_descr_moveto::pathLength field and the
code for calculating its value.
* src/livarot/Path.cpp (SizeForData): Change from private method to
static function.
Use new function roundup_div instead of `%' calculation.
(Path::CloseSubpath): Remove loop that calculated pathLength.
Consequently remove the no-longer-used argument. Update callers.
(Path::MoveTo, Path::LineTo, Path::CubicTo, Path::ArcTo,
Path::TempBezierTo, Path::EndBezierTo, Path::IntermBezierTo,
Path::BezierTo, Path::AddPoint, Path::PointAt,
Path::PointAndTangentAt):
Change some C-style casts to reinterpret_cast's.
(Path::PointAt, Path::PointAndTangentAt): code transformations
in preparation for merging some branches.
* src/libnr/nr-types-test.cpp (main): Update for NR::Point .pt
privateness change.
* src/libnr/nr-svp-uncross.cpp (nr_segment_intersection): Mark some
pointer arguments as not being written through.
Add doc comment.
* src/selection-chemistry.cpp (sp_matrix_d_set_rotate):
Slight reduction in numerical error.
(Also rename variables from `angle' to `angle_degrees' in several
places.)
* src/node-context.cpp (sp_node_context_root_handler):
* src/object-edit.cpp (sp_arc_start_set, sp_arc_end_set,
sp_spiral_inner_set, sp_spiral_outer_set):
* src/select-context.cpp (sp_select_context_root_handler):
* src/seltrans.cpp (sp_sel_trans_rotate_request):
Fix for options.rotationsnapsperpi == 0.
* src/event-context.cpp (sp_event_context_private_root_handler):
Address warning.
2004-01-22 bulia byak <bulia@users.sourceforge.net>
* src/attributes.h src/attributes.cpp: Added pagecolor, bordercolor, borderopacity (from sodipodi), pageshadow.
* src/sp-namedview.h src/sp-namedview.cpp: Added reading page attributes.
* src/desktop.cpp: Added setting page and border color (from sodipodi), pageshadow taken from namedview.
* src/preferences-skeleton.h: Moved pageshadow into namedview, added page and border colors to the template.
* src/dialogs/desktop-properties.cpp: Added page and border color selectors (from
sodipodi), moved former document settings here.
* src/verbs.cpp src/verbs.h: Removed document settings, renamed editing window into document options.
* src/interface.cpp: Removed document settings command.
* src/dialogs/document-properties.cpp,h src/dialogs/tool-attributes.cpp,h: Removed.
* src/dialogs/object-properties.cpp: Removed size and position dialog.
* src/dialogs/Makefile.am: Removed unused dialogs.
* src/verbs.cpp src/verbs.h: Removed unused dialog verbs.
* src/dyna-draw-context.cpp: Removed debug output.
* src/node-context.h: New members for tracking left, right/alt, ctrl.
* src/nodepath.cpp: Reorganize [] <> code, add update_repr (oops). Fix near-zero handles behavior with <>.
* src/sp-item-transform.cpp: More correct transformation writing method: use each
item's transform writer instead of simply adding transform= attribute.
* src/document.cpp src/document.h src/document-undo.cpp: Added
sp_document_ensure_up_to_date on each undoable action, fixes bbox problems (bug
879249). Added callback to reset actionkey on each selection change, so that
same-key actions on different objects are not lumped together.
* src/selection-chemistry.cpp: Removed spurious sp_selection_changed calls from all
transformation functions, coalesced [] <> rotates and scales.
* src/select-toolbar.cpp: Coalesced spinbutton moves and scales.
2004-01-21 MenTaLguY <mental@rydia.net>
* src/desktop-snap.cpp, src/desktop.cpp, src/nodepath.cpp,
src/object-edit.cpp, src/sp-namedview.cpp, src/sp-offset.cpp,
src/splivarot.cpp, src/uri.h, src/dialogs/desktop-properties.cpp,
src/libnr/nr-matrix.cpp, src/libnr/nr-matrix.h,
src/libnr/nr-point-fns.cpp, src/libnr/nr-point-fns.h,
src/libnr/nr-rect.cpp, src/libnr/nr-types.cpp, src/libnr/nr-types.h,
src/livarot/Path.cpp, src/livarot/PathConversion.cpp,
src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
src/livarot/PathStroke.cpp, src/livarot/Shape.cpp,
src/livarot/ShapeMisc.cpp, src/livarot/ShapeSweep.cpp,
src/livarot/ShapeSweepUtils.cpp:
Cleanup; made data member of NR::Point private and replaced
a few 'magic' [0] and [1] indices with the more meaningful NR::X
and NR::Y.
2004-01-20 Jon Phillips <jon@protofunk.org>
* src/help.cpp: I cleaned up the code a little according to our coding
standards and have/am adding comments to the help system.
2004-01-20 bulia byak <bulia@users.sourceforge.net>
* src/selection-chemistry.cpp,h: New scaling utility functions
* src/select-context.cpp: <> [] with modifiers to scale/rotate objects
* src/nodepath.cpp,h: New functions for scaling and rotating nodes
* src/node-context.cpp: <> [] with modifiers to scale/rotate nodes, left/right
modifiers affect one of the two handles
* src/node-context.h: New node context members for tracking left/right alt/ctrl
* src/event-context.cpp: Use cursor coords when zooming by scrollwheel (fixme)
2004-01-19 MenTaLguY <mental@rydia.net>
* src/dialogs/xml-tree.cpp: automatically scroll tree view to show selected item
2004-01-19 Jon Phillips <jon@protofunk.org>
* src/desktop.cpp: Changed the document shadow to be an option. It is
option.pageshadow. I also made some wrapper code so that if the value
is set to 0, then the constructor for page shadow is not
initialized.
2004-01-18 bulia byak <bulia@users.sourceforge.net>
* src/sp-spiral.cpp,h: Moved defines to .h
* src/object-edit.cpp: Reenabled restricted ctrl-rotation of spiral and arc. Added
alt-drag in spiral to lock radius. Used PI/options.rotationsnapsperpi everywhere
instead of PI/4.
* src/selection-chemistry.cpp,h src/select-context.cpp: Enable [ ] keys to rotate
selected objects by rotationsnapsperpi. Alt [ ] rotate by angular pixels.
* src/event-context.cpp src/preferences-skeleton.h src/desktop.h src/zoom-context.cpp
src/select-context.cpp: Behavior fixes, simplifications, & unifications in handling
dragtolerance, rubberband, and shift/ctrl+selection
* src/event-context.cpp src/preferences-skeleton.h src/desktop.h: Define & use new
options for scrolling distances: keyscroll, wheelscroll
2004-01-18 MenTaLguY <mental@rydia.net>
* src/uri.h, src/uri.cpp, src/uri-reference.h, src/uri-reference.cpp,
src/sp-item.h, src/sp-item.cpp, src/sp-clippath.h,
src/sp-gradient.h, src/sp-gradient.cpp, src/sp-mask.h,
src/sp-item.h, src/sp-item.cpp:
Reworked URIs to use libxml, and URIReferences to be specialized
for particular object types. Also switched gradients to using
URIReferences.
2004-01-17 Jon <jon@protofunk.org>
* src/desktop.cpp: Changed the document shadow to 1 pixel. It as
set to 5, which is really cheesy. I changed it in the
constructor for SP_desktop_new in the function
sp_ctrlrect_set_shadow().
2004-01-17 Bryce <bryce@bryceharrington.com>
* src/sp-root.cpp, src/sp-symbol.cpp: Fixing NRMatrix's a -> &a
so codebase will build.
* Adding marker xpm's to Makefile.in so the button images display
in the stroke style dialog (must do a make install)
2004-01-17 MenTaLguY <mental@rydia.net>
* src/uri.h, src/uri.cpp, src/uri-references.cpp:
new Inkscape::URI implementation using libxml URI stuff
2004-01-15 bulia byak <bulia@users.sourceforge.net>
* src/preferences-skeleton.h: Added: tools.freehand.perncil tolerance,
options.zoomincrement, rotationsnapsperpi, maxrecentdocuments
* src/seltrans.cpp src/draw-context.cpp src/nodepath.cpp: Rotation snaps taken from
preferences
* src/inkscape.cpp: Max recent documents from prefs
* src/desktop.cpp,h: New _keep_point zoom functions
* src/event-context.cpp: Zoom in/out on (shift+)middle click, use
options.dragtolerance, use options.zoomincrement, use _keep_point zoom functions
* src/verbs.cpp: Use options.zoomincrement
* src/zoom-context.cpp: Use options.zoomincrement, use _keep_point zoom functions
* src/tools-switch.cpp: Fix for 865740
* src/draw-context.cpp: Fix for 877188
* src/nodepath.cpp: Swapped ctrl-click and ctrl-alt-click
* src/knot.cpp src/knotholder.cpp src/nodepath.cpp: Knot colors, using XOR paint mode
* src/widgets/widget-sizes.h src/desktop.cpp: Coord skip taken from define, limited
height of the bottom bar
* src/splivarot.h src/splivarot.cpp src/verbs.cpp src/verbs.h src/interface.cpp: Added
dynamic and linked offsets to menu
* src/knot.cpp src/select-context.cpp src/zoom-context.cpp src/draw-context.cpp:
Unified within_tolerance handling; take curve fitting tolerance from preferences in
freehand tool (default 10)
2004-01-15 MenTaLguY <mental@rydia.net>
* glade/about.svg, glade/about_svg.tmpl, samples/inkscape.logo.svg:
updated to match the current standard logos from
inskcape_project/artwork
2004-01-15 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/livarot/* an ungodly number of changes for improved use of
NR::Point. Const propagation. Minor bugfixes.
2004-01-15 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/widgets/paint-selector.cpp (sp_paint_selector_set_color_alpha,
sp_paint_selector_get_color_alpha, sp_paint_selector_system_color_set),
src/widgets/sp-color-gtkselector.cpp (ColorGtkselector::_colorChanged),
src/widgets/sp-color-notebook.cpp (ColorNotebook::_colorChanged,
ColorNotebook::_updateRgbaEntry), src/widgets/sp-color-selector.cpp
(ColorSelector::setAlpha, ColorSelector::setColorAlpha,
ColorSelector::_updateInternals):
Add assertions that alpha is in [0.0, 1.0].
* src/libnr/nr-types.h, src/libnr/nr-rect.cpp (NR::Rect::corner):
Change argument to unsigned, thus changing remainder operator to modulo
operator, thus fixing bug for "negative" arguments (-1u etc.).
* src/dialogs/stroke-style.cpp (sp_stroke_style_paint_update_repr): fix
bug with unsigned->float alpha conversion.
* src/nodepath.cpp (angle_normalize): Remove no-longer-used function.
* src/draw-context.cpp (spdc_endpoint_snap_internal): Fix for
negative options.rotationsnapsperpi.
2004-01-14 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/selection-chemistry.cpp (sp_selection_item_next,
sp_selection_item_prev): cleanups, including moving some common
code into new static function scroll_to_show_item.
* src/widgets/font-selector.h, src/widgets/font-selector.cpp
(sp_font_selector_set_font_fuzzy): Remove this unused function.
* src/sp-text.cpp (sp_text_font_style_to_lookup),
src/dialogs/text-edit.cpp (sp_text_edit_dialog_font_style_to_lookup):
Move this duplicated function to src/libnrtype/font-style-to-pos.cpp
as font_style_to_pos, rewriting & fixing its bugs in the process.
Adjust callers.
* src/libnrtype/font-style-to-pos.cpp, src/libnrtype/font-style-to-pos.h:
New files.
* src/libnrtype/Makefile.am: Mention the new files.
* src/libnrtype/nr-type-pos-def.h: Make the default constructor fill in
sensible values.
Add constants for CSS weight numbers.
2004-01-13 MenTaLguY <mental@rydia.net>
* src/object-ui.cpp: 'Fill Settings' -> 'Fill and Stroke'
* src/FilePath.cpp, src/FilePath.h: removed until we can rethink
the file stuff
2004-01-13 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/libnrtype/nr-type-directory.h,
src/libnrtype/nr-type-directory.cpp (nr_type_directory_lookup_fuzzy):
Change second arg from char const* to NRTypePosDef.
(nr_type_calculate_position) Move to nr-type-pos-def.cpp as implicit
NRTypePosDef constructor from string.
* src/libnrtype/nr-typeface.h: NRTypePosDef changed from struct to class.
* src/libnrtype/nr-type-pos-def.h, src/libnrtype/nr-type-pos-def.cpp:
new files.
* src/libnrtype/Makefile.am: Mention the new files.
* src/sp-text.cpp (sp_text_font_style_to_lookup): Fix segfault I
introduced, reported by ishmal.
2004-01-12 bulia byak <bulia@users.sourceforge.net>
* src/sp-rect.cpp: Removed coordinates from rect description
* src/selection-chemistry.cpp: Delete fix from sodipodi, more statusbar diagnostics
* src/prefs-utils.cpp,h: New functions for setting/getting string values
* src/dialogs/export.cpp: Export dialog tracks selection and document changes (fix for
853849). Export area, dpi remembered in prefs. Misc fixes and cleanups
* src/preferences-skeleton.h: New options for export: exportarea, defaultxdpi
* src/widgets/spw-utilities.cpp,h: New function for recursively searching widgets for
key/value pair
* src/svg/svg-affine.cpp: Ignore whitespace at the end of transform attribute - fix
for 850943 (from sodipodi)
* src/select-toolbar.cpp: Correctly handle zero dimensions - fix for 871552
2004-01-12 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-gradient.cpp (sp_gradient_repr_set_vector): "Fix" a memory
leak. However, I haven't worked out how to get this code to run, in
order to check that the guessed replacement code is correct. Instead
I've inserted a g_warning and a TODO comment.
* src/libnrtype/nr-type-directory.cpp
(nr_type_calculate_position): Fix bug where `ultra bold' and `extra
bold' were getting parsed as `bold'.
(nr_type_distance_family_better, nr_type_distance_position_better):
Rename to nr_type_distance_family and nr_type_distance_position
respectively, and return just the distance.
(nr_type_distance_family): Use g_ascii_strcasecmp instead of
strcasecmp/stricmp.
(nr_type_distance_family): Return unsigned instead of float.
(nr_type_distance_position): Use double instead of float.
* src/libnrtype/nr-rasterfont.cpp
(nr_rasterfont_generic_glyph_area_get,
nr_rasterfont_generic_glyph_mask_render): Suppress warning:
s/CLAMP/MIN/ if the type is unsigned and the lower bound is 0.
* src/helper/sp-canvas.cpp (paint): Cache canvas->{x0,y0} +
GTK_WIDGET(canvas)->allocation.{width,height}.
Remove some commented-out variables.
* src/tools-switch.cpp, src/tools-switch.h: Make some functions static.
(tools_num2name): Remove unused function.
(tools_isactive): Add assertion of not accessing past the end of the
array.
* src/knot.cpp (sp_knot_handler): Fix bug where event wasn't
getting consumed.
Get rid of hypot macro.
* src/svg/svg-affine.cpp (sp_svg_transform_write): Add assertions
that buffer overflow hasn't occurred.
* src/sp-text.cpp (sp_text_font_style_to_lookup),
src/dialogs/text-edit.cpp (sp_text_edit_dialog_font_style_to_lookup):
Slight restructuring using g_snprintf instead of less readable (&
slightly less efficient in this case) strlen/memcpy.
* src/sp-metrics.h: Increase accuracy of PT_PER_CM etc.
Add FIXME comment.
* src/dialogs/item-properties.cpp, src/display/nr-arena-shape.cpp:
Address `-Wshadow' warnings.
* src/nodepath.h, src/nodepath.cpp: Make some functions static.
(sp_nodepath_node_deselect) Remove unused function.
* src/dialogs/align.cpp (sp_quick_align_dialog): Switch to data-driven approach.
Mark some things as static.
(sp_quick_align_dialog_close) Remove unused function.
(sp_align_arrange_clicked) Change aligns constant array from ints to
doubles. Adjust caller.
2004-01-11 Iain <iain@prettypeople.org>
* src/modules/ps.cpp: Swap the Print and Cancel buttons around, and
remove the separator.
2004-01-11 bulia byak <bulia@users.sourceforge.net>
* src/desktop.cpp,h: New functions and SPDesktop members for maintaining lists of past
and future zooms. New commands for toggling rulers and scrollbars, removed old and
unused toggle_borders. Zoom spinbutton editable again, coord_status uses gtk_label
instead of statusbar, misc cosmetics. Reduced sizes of the window bottom
stuff. Save/restore the status of rulers and scrollbars in preferences.
* src/preferences-skeleton.h: New options: showrulers, showscrollbars. Added default
namedview for a 640x480 new document window.
* src/widgets/spinbutton-events.cpp,h: Common spinbutton callbacks.
* src/widgets/Makefile.am: Added spinbutton-events.
* src/select-toolbar.cpp: Remove code into spinbutton-events.
* src/widgets/widget-sizes.h: Added sizes for bottom stuff: zoom field, coord status,
statusbar. Misc cosmetic changes.
* src/verbs.cpp,h: New verbs for next/prev zoom. New verbs for toggling rulers and
scrollbars.
* src/sp-namedview.cpp: Cancel past zooms at the end of window_from_document.
* src/shortcuts.cpp: `, shift-` to navigate the history of zooms. Ctrl-r, Ctrl-b to
toggle rulers and scrollbars.
* src/interface.cpp: Added next/prev zoom commands in the view menu. Added three
toggle commands (grid, rulers, scrollbars) in the view menu.
* src/widgets/ruler.cpp: Use fixed smaller font size, defined in widget-sizes.
2004-01-10 bulia byak <bulia@users.sourceforge.net>
* src/draw-context.cpp: Changed alt to shift for one-handle drag.
2004-01-10 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-events.cpp, src/desktop-snap.cpp, src/draw-context.cpp,
src/gradient-chemistry.cpp, src/selection-chemistry.cpp,
src/seltrans.cpp, src/sp-shape.cpp:
Address some `-Wshadow' warnings.
* src/attributes.cpp, src/color.cpp, src/inkscape.cpp,
src/interface.cpp, src/helper/units.h, src/libnrtype/nr-type-xft.cpp,
src/svg/svg-color.cpp, src/widgets/gradient-vector.cpp:
Address some `-Wwrite-strings' warnings.
* src/document.h, src/document.cpp,
src/prefs-utils.h, src/prefs-utils.cpp,
src/select-toolbar.cpp,
src/helper/unit-menu.h, src/helper/unit-menu.cpp,
src/libnr/nr-object.h, src/libnr/nr-object.cpp:
Mark some pointer function arguments as not being written through.
* src/path-chemistry.cpp (sp_selected_path_combine): Fix what appears
to be a memory leak. Change string concatenation from Omega(n^2) to
Omega(n).
2004-01-09 bulia byak <bulia@users.sourceforge.net>
* src/zoom-context.cpp: Added drag tolerance
* src/widgets/widget-sizes.h: Spinbutton steps defined here
* src/widgets/spw-utilities.cpp,h: New function for recursively searching widgets for data
* src/select-context.cpp: Alt-x activates aux toolbar
* src/select-toolbar.cpp: Implement esc, ctrl-z, up/down, pgup/pgdn, tab in the aux
toolbar, identified default spinbutton for activating by alt-x
* src/nodepath.cpp: Fix for uninitialized variable, reported by Bob Jamison
* src/draw-context.cpp: Fix for 873092; Never snap if hitting anchor
2004-01-08 bulia byak <bulia@users.sourceforge.net>
* src/select-context.cpp: Fixed ctrl-drag (without breaking ctrl-click)
* src/verbs.cpp: Tooltip edits
* src/desktop.cpp: Changed initial statusbar message (suggested by Daniel Diaz)
* src/tools-switch.cpp src/nodepath.cpp src/selection.cpp: Edited statusbar messages,
made them translatable
2004-01-08 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/helper, src/libnr and various: removed senescent code inside
#if 0s and changed scoping of variables to be close to use. minor
performance tweeks.
2004-01-08 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/widgets/sp-color-notebook.cpp (getCurrentSelector): Address
unsignedness warning (thus fixing a minor buglet).
* Too many files to list (58 .cpp files, phew!): Address `missing
initializer for member _GTypeInfo::value_table' warnings.
* src/toolbox.cpp, src/helper/sp-canvas.cpp: Address miscellaneous
other `missing initializer' warnings.
* src/libnr/nr-values.h, src/libnr/nr-values.cpp: Add `Point
component_vectors[2]' global constant (moved from desktop-snap.cpp).
* src/sp-namedview.cpp:
Combine SPNamedview .hguides & .vguides into .guides.
Combine .gridspacingx, .gridspacingy scalars into .gridspacing Point.
Consequently reduce copy&paste code both here & in callers.
* src/sp-guide.h, src/sp-guide.cpp (sp_guide_moveto,
sp_guide_position_set): Take a scalar (.position value) as argument,
not a point.
(sp_guide_position_from_pt): new function. Adapt callers.
(sp_guide_description): New function.
(sp_guide_compare): Remove, not used.
Change SPGuide.orientation (horizontal/vertical enum) to .normal (a
Point to be used with dot product), as a step towards allowing
arbitrary-direction guide lines.
* src/desktop-events.cpp: Adapt to SPGuide change.
Remove some #if 0'ed code that would otherwise require updating.
* src/desktop-snap.h, src/desktop-snap.cpp: Convert some pass-by-value
Point arguments to const references. Unexport
sp_desktop_dim_snap_list_scale. Adapt to above changes.
* src/dialogs/desktop-properties.cpp: Adapt to .gridspacing change.
2004-01-07 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/geom.h, src/geom.cpp (sp_intersector_line_intersection):
change arguments from `Point' to `Point const &'.
* src/libnr/nr-types.h: Move cross to its sole user, src/geom.cpp.
2004-01-06 bulia byak <bulia@dr.com>
* src/widgets/spw-utilities.cpp,h: Recursive font setting functions
* src/widgets/widget-sizes.h: New: defines sizes and intervals, for toolbars etc.
* src/select-toolbar.cpp src/helper/unit-menu.cpp src/toolbox.cpp,h: Use
widget-sizes.h and recursive font_set
2004-01-06 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-snap.cpp: Make the `horizontal' and `vertical'
global constants be static.
Similarly, make functions sp_intersector_a_vector_snap,
sp_desktop_dim_snap_list static.
* configure.in: Fix sigc++ checking code: add it to the existing
PKG_CHECK_MODULES(INKSCAPE, ...) list instead of modifying
$CXXFLAGS,$LIBS.
* distro: Remove some bashisms: change `function f {...}' to
`f () {...}', and invoke self with `sh' rather than `bash'.
Also change a strange-looking "tr ' ' ' '" to "tr -s ' '", as
a guess as to the intended meaning. (The actual meaning of the
original is a noop.)
2004-01-06 bulia byak <bulia@dr.com>
* src/document-undo.cpp src/document.h: Undo and redo now return gbooleans
* src/selection-chemistry.{cpp|h}: sp_undo, sp_redo: new, with statusbar
diagnostics. Duplicate command adds statusbar diagnostics, places duplicate
into the source's parent instead of document root
* src/verbs.cpp: Use sp_undo, sp_redo. Tooltip edits
* src/toolbox.cpp src/toolbox.h: New aux_toolbox_space()
* src/interface.cpp: New commands in view (cycling desktops) and dialogs (hide dialogs)
* src/main.cpp: Removed unneeded include
* src/select-toolbar.cpp src/select-toolbar.h: New selector aux toolbar with XYWH
spinbuttons (taken mostly from the size&position dialog)
* src/toolbox.cpp src/toolbox.h: Removed selector aux toolbar code from here
* src/helper/unit-menu.cpp: Use abbreviations in the unit menu
* src/widgets/sp-widget.cpp: Added checks that the inkscape object is valid before
disconnecting SPWidget from it
2004-01-06 MenTaLguY <mental@rydia.net>
* src/Makefile.am: removed monostd.h
* src/sp-item.cpp, src/uri-reference.h, src/uri-reference.cpp:
redid URI reference stuff a bit
2004-01-06 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/desktop-snap.{h,cpp} is now built using NR::Point.
2004-01-06 Nathan Hurst <njh@mail.csse.monash.edu.au>
* src/draw-context.cpp closing a segment now remains snapped.
Lots of snapping fixes.
2004-01-05 MenTaLguY <mental@rydia.net>
* src/uri-references.cpp, src/uri-references.h,
src/uri.cpp, src/uri.h, sp-item.cpp:
new URI code
2004-01-04 MenTaLguY <mental@rydia.net>
* src/object-ui.cpp: flattened group submenu
* src/uri-references.cpp: fixed initialization bug; for
pre-existing references, the "release" signal wasn't being
connected
2004-01-04 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp: Greater use of NR::Point instead of
NRPoint. (Readability improved as a result.)
Get rid of now-unused sp_vector_add etc. functions.
Get rid of MAXPOINTS fixed upper limit, in the process making more efficient.
NewtonRaphsonFindRoot: handle the case where f'(u) <= 0. (Previously
it would seek a local maximum instead of minimum in this case.)
Rename lots of static functions according to our coding standards.
Fix some documentation.
Filter out any NaN points in the input.
Change the iteration cutoff from the square of the requested error to
3 * the requested error. Change the "acceptable error" test from `<'
to `<='.
* src/helper/bezier_utils.h (sp_bezier_fit_cubic_full): change
arguments from NRPoint to NR::Point.
* src/sp-spiral.cpp: Adapt to sp_bezier_fit_cubic_full change.
Greater use of NR::Point instead of NRPoint.
* src/helper/curve.h, src/helper/curve.cpp (sp_curve_moveto,
sp_curve_lineto, sp_curve_curveto): Add convenience wrappers that
take n NR::Point's instead of 2*n gdoubles.
* src/helper/curve.h, src/helper/curve.cpp: Indicate that certain
functions don't modify the curve passed to them.
* src/libnr/nr-types.h: operator[], operator+=, operator/=, unary operator-,
operator==, operator!=: new. Remove methods L1,L2,Linfty, move them to
functions in nr-point-fns.{h,cpp}. Rename Normalize to normalize with
more sophisticated non-inline implementation in nr-types.cpp.
* src/libnr/{nr-types.cpp,nr-point-fns.h,nr-point-fns.cpp}: new files.
* src/libnr/nr-types-test.cpp: new unit test file.
* src/libnr/Makefile.am: mention the new files.
* src/Makefile.am: Add `check-recursive: all-recursive' dependency
(and a comment with related discussion).
* src/xml/Makefile.am: Append $(EXEEXT) to executables in TESTS.
* src/verbs.cpp (sp_action_get_title): Get rid of fixed-sized buffer.
* src/nodepath.cpp: Miscellaneous cleanups including fixing
erroneous indentation, changing `g_list_length(foo) == 0' to `foo
== NULL', removing unused function closest_of_three, specifying
some functions as `static', adding doc.
* src/inkscape.cpp (inkscape_remove_desktop): Change
`g_slist_length (foo) == 0' to `foo == NULL'.
* src/dyna-draw-context.cpp (fit_and_split_calligraphics): Fix the
calculation of BEZIER_MAX_LENGTH.
Add assertions that the corresponding buffers haven't been overrun.
2004-01-03 Ted Gould <ted@gould.cx>
* src/helper/bezier-utils.cpp, src/inkscape-stock.h:
Fixing some Doxygen errors.
2004-01-03 bulia byak <bulia@dr.com>
* src/dialogs/dialog-events.{cpp|h}: Hide/unhide callbacks
* all dialog files: Connected hide/unhide signals
* src/inkscape.cpp src/inkscape.h: New functions for dialog hide, unhide, toggle
* src/verbs.cpp src/verbs.h: New verb for dialog toggle
* src/shortcuts.cpp: F12, quoteleft toggle dialogs
* src/desktop.cpp: Zoom field width increased
* src/node-context.cpp: Crash fix by Robert Crosbie
2004-01-03 MenTaLguY <mental@rydia.net>
* src/inkscape.cpp, src/inkscape.h, src/main.cpp:
fixes to preference loading
* src/uri-reference.h: documented Inkscape::URIReference
* src/sp-item.cpp: fixed double hunref problem
* src/sp-item.cpp, src/uri-references.h, src/uri-references.cpp:
reworked Inkscape::URIReference a little
* src/sp-item.cpp: masks now use Inkscape::URIReference as well
2004-01-02 MenTaLguY <mental@rydia.net>
* src/shortcuts.cpp: zoom in shortcut fix for german and other
keyboards from schumaml
* configure.in: added SigC++ 1.2 dependency
* src/document-private.h, src/document.h, src/document.cpp,
src/sp-item.h, src/sp-item.cpp, src/uri-reference.h,
src/uri-reference.cpp: rewrote URI monitoring code using SigC++
* src/inkscape.cpp: fix some portability issues
* src/inkscape.cpp, src/widgets/icon.cpp, src/monostd.h: cleaning up
more platform stuff
* src/dir-util.cpp, src/dir-util.h, src/dialogs/export.cpp:
remove sp_filename_from_path(); use g_path_from_filename instead
2004-01-02 Alexander Clausen <alex@skip86.com>
* src/spsvgview.cpp src/inkview.cpp src/Makefile.am: re-enabled svg viewer,
renamed to inkview to avoid name clash with spsvgview from sodipodi
2004-01-01 bulia byak <bulia@dr.com>
* src/desktop.cpp: Pass keyboard events from desktop widget to event contexts (if
there is no current item on the canvas); now all keys work regardless of mouse
position, so long as the document window has focus.
* src/verbs.cpp src/verbs.h: New verbs for switching desktops
* src/inkscape.cpp src/inkscape.h: New functions for switching desktops
* src/nodepath.cpp: Fix crash: Tab when no nodepath
* src/shortcuts.cpp: Ctrl-Tab, Shift-Ctrl-Tab cycle desktops
* src/node-context.cpp src/event-context.cpp src/select-context.cpp: Do not consume
Ctrl-Tab/Shift-Ctrl-Tab in contexts. Explicitly run the corresponding verb in
event-context.cpp because otherwise GTK gobbles it.
* src/splivarot.cpp: Edits in statusbar error messages
2004-01-01 MenTaLguY <mental@rydia.net>
* src/document-private.h, src/document.h, src/document.cpp,
src/sp-item.h, src/sp-item.cpp, src/uri-reference.h,
src/uri-reference.cpp:
added code to handle notifications when uri/id mappings
changed
* src/desktop.cpp, src/style.cpp: compilation cleanups
* src/libnr/nr-types.h: documented NR::Coord and NR::ICoord
2003-12-31 MenTaLguY <mental@rydia.net>
* removed *S variants of NR structs
* src/libnr/gen_nr_config.c: removed!
* src/xml/repr.h, src/xml/repr-private.h, src/xml/repr-io.cpp,
src/xml/repr.cpp: very preliminary comment support
* configure.in, src/desktop.cpp, src/main.cpp: removed gtkmm
dependency for now
2003-12-30 bulia byak <bulia@dr.com>
* src/selection-chemistry.cpp: Grouping: Statusbar messages for nothing to group or
only one object, prevent crash when trying to group objects with different parents,
add new group to the members' common parent rather than to the document
root. Ungrouping: ungroup all groups in selection, statusbar messages for nothing to
ungroup.
* src/node-context.cpp src/node-context.h src/knotholder.h src/knotholder.cpp
src/nodepath.h src/nodepath.cpp src/document-undo.cpp: Add repr listener in node
context recreating nodepath or knotholder when the repr was changed outside of the
node editor, remove the change selection signal hack in document_undo, fixes many
bugs.
2003-12-28 Daniel Borgmann <spark@mayl.de>
* src/main.cpp: Include gtkmm/main.h and gtkmmify the main loop
* src/desktop.cpp: convert save confirmation dialog to Gtkmm
2003-12-28 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/Makefile.am: Try not to require Gnu make.
2003-12-27 Alexander Clausen <alex@skip86.com>
* src/interface.{h,cpp} (sp_ui_error_dialog): new function.
* src/file.cpp src/main.cpp src/dialogs/export.cpp src/interface.cpp: use it
2003-12-27 bulia byak <bulia@dr.com>
* src/draw-context.cpp: Added drag_tolerance to bezier tool, messages to statusbar
* src/knot.cpp: Do not consume Esc when not escaping knot dragging
* src/select-context.cpp: Enable dragging objects selected within group
2003-12-27 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp: Simplifications & documentation.
2003-12-26 bulia byak <bulia@dr.com>
* src/document.cpp: added rel2abs to sp_document_set_uri, simplified
* src/document.cpp: removed rel2abs into dir-util
* src/dir-util.cpp src/dir-util.h: moved rel2abs and abs2rel here
* src/modules/svg.cpp: Cleaned up svg_save: removed extraneous setting of docbase and
docname, moved uri_set before save, added comments
* src/document.h src/document.cpp src/desktop.h src/desktop.cpp: item_at_point: add
into_groups; group_at_point: new
* src/selection.cpp: When selecting a group, deselect all its descendants to prevent
double selection
* src/select-context.cpp src/select-context.h: Added ctrl-click/ctrl-shift-click to
select/add to selection regardless of grouping
* src/verbs.cpp: 2 more mnemo changes
2003-12-26 Nathan Hurst <njh@mail.csse.monash.edu.au>
* libnr: moving towards a fully class based Point and Matrix.
This change adds an initial sketch of matrix.
2003-12-26 MenTaLguY <mental@rydia.net>
* configure.in: added Gtkmm dependency, removed AC_FUNC_MALLOC
2003-12-25 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: changed g_sprintf to g_strdup_printf
2003-12-25 Daniel Borgmann <spark@mayl.de>
* src/interface.cpp src/verbs.cpp: Fixed a few more mnemonics (mostly
duplicates) and changed shortcut labels to use uppercase letters like the
rest of the world. :-)
2003-12-25 Alexander Clausen <alex@skip86.com>
* src/file.cpp src/main.cpp src/dialogs/export.cpp: Made error dialogs
and progressbar transient and non-resizable; made export file selector
transient.
2003-12-24 bulia byak <bulia@dr.com>
* src/select-context.cpp: Added statusbar update in a few places
* src/interface.cpp: Changed order of keyboard modifiers. Split view and object menus.
* src/verbs.cpp: A couple fixes in mnemonics to better match shortcuts
* samples/tux.svg: Added missing sodipodi namespace, added namedview
2003-12-24 Alexander Clausen <alex@skip86.com>
* src/file.cpp src/modules/system.cpp: Fix for 860199; returning NULL in
sp_module_system_open when doc == NULL; added error dialog.
* src/main.cpp: Add error dialog when file given on command line does not
exist, and create an empty document in that case.
2003-12-24 MenTaLguY <mental@rydia.net>
* src/verbs.cpp: renamed 'XOR' to 'Exclude' on the menu
* src/object-ui.cpp: moved object-specific menuitems out onto the
main context menu, instead of sequestered in their own submenus.
2003-12-24 Alexander Clausen <alex@skip86.com>
* src/interface.cpp:
Added partial DND (drop part only for now) for image/svg and image/svg+xml,
and a tweak to make uri-dnd with konqueror work.
2003-12-24 Daniel Borgmann <spark@mayl.de>
* src/interface.cpp src/verbs.cpp src/object-ui.cpp src/modules/menu.cpp:
Added mnemonics and some HIGification
* src/verbs.cpp: New: sp_action_get_title(), get action name without
underscores (for use in dialog titles or other places without mnemonics)
2003-12-23 bulia byak <bulia@dr.com>
* src/helper/sp-canvas.h: float-to-double fix
* src/sp-namedview.h src/sp-namedview.cpp: New namedview attributes for zoom and
window geometry; functions for updating them from a desktop and for setting up a
desktop from these attributes
* src/preferences-skeleton.h: new options.savewindowgeometry
* src/attributes.h src/attributes.cpp: New namedview attributes
* src/desktop.cpp: Remove/comment out extraneous code. Float-to-double fixes, prevent
sliding when zooming in at max zoom.
* src/file.cpp src/main.cpp src/interface.cpp: Added document_from_window and
window_from_document hooks to file opening and saving functions
* src/document.cpp: New: inkscape_rel2abs() (based on g_rel2abs by Shigio Yamaguchi),
store absolute filenames in document->uri. Fixed reading namedview template from
preferences, fixed namedview template id, added comments.
* src/nodepath.cpp: Ctrl + click node: delete node
* src/desktop.cpp src/file.cpp src/file.h: New save confirm dialog (patch by spark)
2003-12-23 MenTaLguY <mental@rydia.net>
* src/desktop.cpp: shortened rulers to canvas dimensions for now
* src/main.cpp, src/Makefile.am: renamed DATADIR to INKSCAPE_DATADIR
for the remaining platforms
2003-12-23 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/desktop-snap.h, src/desktop-snap.cpp (all functions):
Indicate that the given point(s) aren't modified by these functions.
2003-12-22 bulia byak <bulia@dr.com>
* src/nodepath.cpp: Ctrl + Alt + click node: toggle smooth/cusp/symmetric.
* src/select-context.cpp: No more snapping back to the origin because of drag
tolerance (once you trespass the drag tolerance limit once, it does not affect you
anymore).
* src/knot.cpp: Used global drag tolerance, no snapping to the origin.
* src/node-context.cpp: Click outside of nodepath deselects. Added drag tolerance for
selecting non-selected paths by click. Removed drag_escaped - there's no dragging to
escape in node context (only in knot).
2003-12-22 bulia byak <bulia@dr.com>
* src/nodepath.cpp src/nodepath.h>: restrict control handle movement with ctrl, alt,
shift; utility functions for radial coordinates; fixed several crashes when nodepath
operations are called but there's no nodepath
* src/desktop.cpp: filled in sp_desktop_set_coordinate_status implementation, added
comment
2003-12-22 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/helper/bezier-utils.cpp (sp_darray_center_tangent,
sp_darray_left_tangent, sp_darray_right_tangent),
src/helper/bezier-utils.h, src/sp-spiral.h, src/sp-spiral.cpp
(sp_spiral_get_tangent):
Make these functions static.
* src/helper/bezier-utils.cpp (GenerateBezier): Back out accidental
commit of inserted g_assert(!isnan(bezier coordinate)). (Having a NaN
bezier coordinate is usually a problem, perhaps worth warning about,
but it's hard to make it impossible, so it shouldn't be g_assert.)
Reported by bulia byak.
2003-12-22 Nathan Hurst <njh@mail.csse.monash.edu.au>
* Added a new class NR::Point which will replace NRPoint
throughout the code, and replace things like .cx, .cx in the
circle structure.
2003-12-21 MenTaLguY <mental@rydia.net>
* Finally cleaned up the linker issues
2003-12-21 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/Makefile.am (inkscapelib_src):
src/livarot/Makefile.am (libvarot_a_SOURCES):
Add some header files to SOURCES, so that `make distcheck' works.
* src/style.cpp (sp_style_read_ipaint): Skip leading whitespace.
Fixes #853804. Improves rendering of Dia-exported SVG.
2003-12-20 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/sp-spiral.cpp (sp_spiral_set): Fix clamping of t0 value: change
min from -1.0 to 0.0 as per all other t0 clamps and as required in some
circumstances by sp_spiral_get_xy.
(sp_spiral_fit_and_draw): Avoid useless adjacent dups in point sampling.
(sp_spiral_fit_and_draw, sp_spiral_set_shape): Call proper tangent
routine instead of trying to estimate from samples.
(sp_spiral_get_tangent): New function.
* src/helper/bezier-utils.cpp (sp_bezier_fit_cubic): Implement as a call
to sp_bezier_fit_cubic_r.
(sp_bezier_fit_cubic_full): Mark *tHat1 and *tHat2 as const.
(sp_bezier_fit_cubic_full, ChordLengthParameterize): Add minimal
handling for the case where the input data is a zero-length path.
(NewtonRaphsonRootFind): If "improved" value is NaN or +/-inf then
return the original.
* src/libnr/nr-macros.h (CLAMP): Change the behaviour if the first
argument is NaN: previously it would return NaN, now it returns the
requested lower bound. Document the behaviour. Add an assertion that
the requested lower bound <= the requested upper bound.
* src/libnrtype/nr-type-ft2.cpp (nr_typeface_ft2_lookup): Change apparently-erroneous
arguments to CLAMP, and add a FIXME comment indicating that the new arguments are
just a guess as to the original intent.
2003-12-20 MenTaLguY <mental@rydia.net>
* src/help.cpp, glade/about_svg.tmpl, glade/about.svg:
fixed version display in about box
* src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h:
added sp_desktop_item_at_point()
2003-12-19 bulia byak <bulia@dr.com>
* src/sp-item.cpp src/sp-item.h: new sp_item_get_arenaitem (by mental)
* src/main.cpp src/file.cpp src/file.h src/dialogs/export.cpp: export UI improvements
(patches from the tracker)
* src/select-context.cpp: shift-click selection is now in root_handler, uses
sp_document_item_at_point(); changed shift-rubberband selection to always select
instead of toggle
* src/document.h src/document.cpp: wrong order of arguments in overlap() fixed; new:
sp_document_item_at_point(), uses sp_item_get_arenaitem
* src/Makefile.am: fix: ps.c -> ps.cpp
* src/nodepath.cpp: dragging node with ctrl+alt restricts it to the directions of its
handles and their perpendiculars
2003-12-19 MenTaLguY <mental@rydia.net>
* Fixed most shortcut key regressions from the SPAction rework
* Renamed the Inkscape class (struct really) to Inkscape::Application; we can now
use the Inkscape namespace.
* src/toolbox.cpp, src/helper/action.cpp, src/helper/action.h:
SPActions now know their desktop, and toolbar buttons get it assigned correctly
* src/desktop.cpp, src/interface.h, src/interface.cpp, src/verbs.cpp:
Verbs now use the desktop associated with an action rather than SP_ACTIVE_DESKTOP
2003-12-18 Jon A. Cruz <jon@joncruz.org>
* fix for 859133; Reduced number of generated events.
2003-12-18 Jon A. Cruz <jon@joncruz.org>
* src/widgets/sp-color-gtkselector.cpp: fix for 859131; Changed descriptive name of GTK+
selector.
2003-12-18 MenTaLguY <mental@rydia.net>
* First steps towards making actions per-view
2003-12-17 Jon A. Cruz <jon@joncruz.org>
* src/widgets/sp-color-notebook.cpp: fix for 859128; changed selectors to grow when
given more space.
2003-12-17 Jon A. Cruz <jon@joncruz.org>
* Converted color selectors to C++ classes.
2003-12-18 Nathan Hurst <njh@csse.monash.edu.au>
* Merged NRPointF and D, similarly Matrix and Rect.
2003-12-18 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/toolbox.cpp: re-added spiral button (reverting MenTaLguY's change).
2003-12-17 bulia byak <bulia@dr.com>
* src/xml/repr-io.cpp src/xml/repr.h: fix to suppress formatting whitespace when
serializing text and its children
* src/select-context.cpp: shift now prevents dragging objects, creating rubberband
instead
2003-12-17 Nathan Hurst <njh@csse.monash.edu.au>
* provided some initial thoughts on how to do Points uniformly across inkscape. geom.h
* partial currying of zoom menu
2003-12-17 MenTaLguY <mental@rydia.net>
* src/toolbox.cpp: removed spiral button
2003-12-16 bulia byak <bulia@dr.com>
* src/nodepath.cpp src/nodepath.h: node drag is now restricted to hor/vert by ctrl
2003-12-16 bulia byak <bulia@dr.com>
* src/seltrans.cpp: fix for 860201; ctrl restricts rotation by 15 degrees (from
sodipodi); used new status display function
* src/sp-text.cpp: removed non-printable char error into text-context, removed
extraneous assignment
* src/verbs.cpp: typo fix
* src/knot.cpp: in cancelling drag, use the knot's desktop instead of active; add
statusbar flash
* src/draw-context.cpp: changing useful messages to statusf_flash, removing useless
debug output
* src/nodepath.cpp: statusbar error message if joining nodes fails; expanded
update_statusbar
* src/select-context.cpp: statusbar flash when esc cancels selection or drag
* src/selection.cpp: expanded update_statusbar
* src/text-context.cpp: used statusf_flash for no-break space, added non-printable
char error
* src/tools-switch.cpp: added default statusbar message for each tool
* src/desktop.cpp: new handler for status_set, with timeout; initialize message in
statusbar
* src/view.cpp src/view.h: status_set signal: added msec, removed isdefault; added
_flash and _error functions for temporary statusbar display; added docs
2003-12-14 Ted Gould <ted@gould.cx>
* src/widgets/button.cpp, src/helper/action.h, src/helper/action.cpp,
src/verbs.h, src/verbs.cpp, src/toolbox.cpp, src/shortcuts.h,
src/shortcuts.cpp, src/interface.h, src/interface.cpp:
Adding in a sp_verb_t to identify verbs to make later conversions
easier. Also adding an arguement to the perform function of
SPActionEventVector so that data can be passed to modules (when
they're converted to action/verb).
2003-12-14 MenTaLguY <mental@rydia.net>
* src/view.h, src/view.c: added new utility things for setting status
* src/draw-context.c, src/text-context.c, src/view.c, src/view.h:
retired sp_status_display() and sp_status_clear()
2003-12-14 bulia byak <bulia@dr.com>
* src/verbs.h src/verbs.c: changed 'offset' to 'outset' (more logical), added simplify
path command
* src/interface.c: added sp_key_name to make shortcuts more readable, added simplify
path command, regrouped commands more logically
* src/shortcuts.c: changed shortcuts for boolean ops, readability, minor cleanups
* src/inkscape.c: increased max length of recent documents list to 15, fixed trimming
the list
* src/seltrans.c: fixed crash when scaling very small objects at max zoom
2003-12-12 MenTaLguY <mental@rydia.net>
* doc/Makefile.am, Makefile.am, configure.in: include doc/
subdirectory in distribution tarballs
* src/widgets/icon.c: final tweaks for getting icon highlights
right on buttons (temporary hack, hopefully)
* src/splivarot.cpp: compilation fix
* src/widgets/sp-color-notebook.c: minor tweak so selector menu
is a little more obvious
2003-12-12 bulia byak <bulia@dr.com>
* src/svg/svg-path.c src/desktop.h src/libnr/gen_nr_config.c src/libnr/nr-object.c
src/libnr/nr-types.h: made all floats doubles and all shorts ints in libnr; maximum
zoom is increased to 256; SVG paths are stored with 8 digits precision (was 6)
2003-12-11 bulia byak <bulia@dr.com>
* src/node-context.c adding node edit statusbar updates
* src/selection.c: update statusbar only if selector is active
* src/tools-switch.c: update statusbar when selector is activated
* src/nodepath.c src/nodepath.h: function for node edit statusbar display; fixes for
several tab-cycling and node-deleting bugs
* src/sp-path.c: added description for SPPath (used in statusbar display)
* src/draw-context.c: moved some messages from console to statusbar
* src/view.c src/view.h: utility functions for statusbar display
* src/text-context.c: statusbar display for unimode
2003-12-10 Ted Gould <ted@gould.cx>
* configure.in: Changing to 0.37cvs
2003-12-10 bulia byak <bulia@dr.com>
* src/verbs.c: SELECT_ALL is now tool-sensitive, comments
* src/shortcuts.c: ctrl-a for the SELECT_ALL global verb; h and v for flips
* src/interface.c: split edit menu into edit and object
* src/node-context.c: removed ctrl-a, now taken care of by the global verb
* src/nodepath.c: select_all silently returns if given null arg
* doc/keyboard-shortcuts.txt: new shortcuts from wiki
2003-12-09 bulia byak <bulia@dr.com>
* src/helper/png-write.c: fix for png comments (from sodipodi)
* src/nodepath.c: fix for 856700, 856686; a better control point positioning for
join_segment
* src/shortcuts.c: fix default shortcut for star tool
* src/prefs-utils.c src/prefs-utils.h: new *_limited functions to get data guarding
against through-the-roof values
* src/select-context.c src/node-context.c: using *_limited functions to get preference
values
* src/document-undo.c: fix in sp_document_maybe_done to combine same-key steps
* src/selection-chemistry.c src/nodepath.c: put subsequent same-direction arrow-key
movements into one undo step
* src/sp-text.c src/sp-text.h: removed the preservews argument of sp_text_insert
* src/text-context.c src/text-context.h: if there's no text object selected, keys are
not consumed; fixed passing unconsumed keys to parent context; any non-hex-digit now
cancels unimode
* src/dialogs/transformation.c: re-fixing pjrm's fix properly
2003-12-08 bulia byak <bulia@dr.com>
* src/sp-text.c: fixed typing non-ascii chars; copied (with fixes) treatment of
xml:space from sodipodi 0.33
* src/sp-text.h: small fix from sodipodi 0.33
* src/text-context.c: copied sp_text_context_preedit_reset and related code from
sodipodi 0.33; xml:space='preserve' is added to newly created text objects; esc
deselects; uncatched keys are passed on; misc fixes
2003-12-08 MenTaLguY <mental@rydia.net>
* src/widgets/button.c: put errors to rest for now
* src/document-undo.c: removed code to limit undo list length
2003-12-07 MenTaLguY <mental@rydia.net>
* src/widgets/button.c: fixed unsignedness warning
2003-12-06 bulia byak <bulia@dr.com>
* src/dialogs/align.c: tooltip fix (from sodipodi)
* src/libnr/nr-stroke.c: fix for 853827, rendering of short paths (from sodipodi)
* src/sp-text.c src/sp-text.h src/text-context.c: enabled home/end in text (from sodipodi)
* src/document-undo.c: increased MAX_UNDO to 512
* src/file.c src/dialogs/export.c: fix for 851012: the smallest possible exported png
is now 1x1
* src/widgets/font-selector.c: fix for 851789: no exponential display in font size field
2003-12-06 MenTaLguY <mental@rydia.net>
* src/desktop.c: permit the canvas widget to take keyboard focus
* src/widgets/button.c, src/widgets/button.h: reworked perform
callback as separate callback, so we can use
g_signal_handlers_{un,}block...() on it rather than the stupid
semaphore counter thing I had originally.
Also switched to sp_icon_new() instead of sp_icon_new_scaled(), as
otherwise the small icons were too small (but the large icons are
now smaller than they could be... darn it... ><)
2003-12-05 Bryce W. Harrington <brycehar@bryceharrington.com>
* style.*, sp-path.*, sp-shape.*, more: Hooking up preliminary
support for path markers (arrowheads). Also adding
documentation, fixing if statement style, etc.
2003-12-05 MenTaLguY <mental@rydia.net>
* src/widgets/icon.c, src/widgets/button.c, src/widgets/button.h, src/toolbox.c:
Reworked SPButton to derive from GtkToggleButton.
* src/svg/svg-length.c, src/helper/units.c: removed #ifdef WIN32 insanity
* src/Makefile.am, src/extension.c,
src/extension.h, src/extensions-skeleton.h,
src/main.c, src/inkscape.c, src/toolbox.c: Removed dead code left
over from first extensions implementation
* configure.in, src/main.c: removed freebsd-specific test and just check for fpsetmask() instead
* src/verbs.c: fixed quit icon
2003-12-04 bulia byak <bulia@dr.com>
* src/toolbox.c: added convert to curves button, cosmetic changes in aux toolbar
* src/text-context.c: made text editing via xml editor undoable
* src/nodepath.c: new functions to duplicate node, fixes to node_break and selection
functions, new (presently unused) functions for saving/restoring node selection
* src/node-context.c: shift-d to duplicate node, all keys now work regardless of capslock
* src/document-undo.c: temp fix: undo emits selection_changed signal for node editor
to update display
* src/selection.c: new function without arguments to emit change_selection signal
* src/selection.h: new function without arguments to emit change_selection signal
* src/nodepath.h: new functions to duplicate node, new (presently unused) functions
for saving/restoring node selection
2003-12-04 MenTaLguY <mental@rydia.net>
* src/desktop.c: rearranged toolbars so aux toolbar is topmost
* src/toolbox.c: made toolbars detachable
2003-12-02 bulia byak <bulia@dr.com>
* src/file.c: made open and save dialogs modal and transient
2003-12-02 bulia byak <bulia@dr.com>
* src/interface.c: removed tool attributes command
* src/preferences-skeleton.h: added branch for export dialog
* src/file.c: made import dialog transient
* src/verbs.c: changed some dialog names and tooltips
* src/shortcuts.c: changed shortcuts for transform and text dialogs
* src/dialogs/display-settings.c: fixed dialog title
* src/dialogs/export.c: made unsinkable, remembering size and position, added label
for filename
2003-11-30 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.c, src/attributes.c, src/attributes.h,
src/sp-object.h, src/sp-object.c: merged basis for Oka's
xml:space support
* src/toolbox.c: made tool buttons larger, aux buttons smaller
* src/document-undo.c: fixed bug with undo/redo past the
beginning/end of the undo history
2003-11-29 bulia byak <bulia@dr.com>
* src/selection-ch emistry.c src/selection-chemistry.h src/verbs.c src/verbs.h
src/shortcuts.c src/interface.c: new function, verb, shortcut (shift-ctrl-v), menu
command: paste style (apply the style of copied object to selection). If more than
one object is copied, the first one in the clipboard list is taken as the source of
the style.
2003-11-30 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/style.c (sp_style_merge_from_parent): Fix some
unsigned-related bugs with "font-weight=lighter",
"font-stretch=narrower", "opacity=...".
* src/modules/system.c (sp_module_system_save): Partial fix for
unrecognized filetype: show a CRITICAL warning instead of
segfaulting due to uninitialized var.
* src/document.c (sp_document_new), file.c (file_open_ok,
sp_file_open_dialog, sp_file_save_dialog, sp_file_do_import),
main.c (sp_main_console), src/module.c (sp_module_finalize,
sp_module_input_finalize, sp_module_input_build,
sp_module_output_finalize, sp_module_output_build),
src/sp-anchor.c (sp_anchor_set), src/sp-image.c (sp_image_set),
src/sp-text.c (sp_string_release, sp_string_read_content,
sp_string_set_shape), src/sp-use.c (sp_use_release), src/style.c
(sp_style_unref, sp_style_merge_property,
sp_style_merge_from_parent, sp_text_style_unref,
sp_style_read_istring), src/bonobo/embeddable-document.c
(sp_bonobo_stream_read, sp_embeddable_document_ps_save),
src/dialogs/stroke-style.c (sp_stroke_style_scale_line),
src/dialogs/text-edit.c (sp_text_edit_dialog_text_changed),
src/helper/sodipodi-ctrl.c (sp_ctrl_build_cache),
src/modules/ps.c (sp_ps_print_image),
src/widgets/font-selector.c (sp_font_preview_set_phrase),
src/widgets/gradient-image.c (sp_gradient_image_size_allocate),
src/xml/repr-action.c (coalesce_chgattr, coalesce_chgcontent,
free_action), src/xml/repr.c (repr_finalize, sp_repr_merge):
Minor cleanup: replace `if (POINTER_EXPR) g_free (POINTER_EXPR)'
with the simpler (more readable) `g_free (POINTER_EXPR)'.
2003-11-29 Kees Cook <inkscape@outflux.net>
* src/utest/.cvsignore: adding "Makefile"
* src/desktop.c: sp_desktop_pop_event_context could use uninit'd *ec
* src/desktop.h: missing declaration of sp_desktop_zoom_page_width
* src/libnrtype/nr-rasterfont.c: give *spx and srs default values
* dialogs/dialog-events.c: remove unused *w and *dtw
2003-11-29 MenTaLguY <mental@rydia.net>
* src/interface.c: switched to GNOME HIG menu style
* src/toolbox.c: gave the aux toolbox a fixed (minimum) size so
the workspace will jiggle less as different tools are selected.
* src/utest/Makefile.am, src/utest/utest.c, src/utest/utest.h,
src/xml/Makefile.am: turned the utest stuff into a giant .h
file again, which hopefully won't confuse things like the .inc
extension did.
2003-11-29 bulia byak <bulia@dr.com>
* shortening tooltips, new verb and menu command for zoom to page width
2003-11-29 Bryce Harrington <brycehar@bryceharrington.com>
* README: Updating "Sodipodi" to "Inkscape", removing some
obviously obsolete bits.
* inkscape.1.in, inkscape.pod: Totally rewriting manpage from
scratch. The old one appeared to be for some other application,
because it was just a list of options, 90% of which aren't
implemented. I chose to do it in POD for convenience, but hand
edited the 1.in file to remove bits about "Perl Documentation",
etc.
* General: Some fixes to recently added code that broke the g++
compile.
2003-11-29 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* src/utest/Makefile.am, src/utest/utest.c, src/utest/utest.inc,
src/utest/utest.h, src/xml/Makefile.am, src/xml/repr-action-test.c:
Split utest.inc into utest.h and utest.c. Update users.
Make utest.c,utest.h formatting conform more to doc/coding-style.txt.
Have utest.c built into libutest.a (see src/utest/Makefile.am
comments).
* src/xml/repr-action.c (reverse_log): Add doc comment. Rename some vars.
* src/xml/repr-action.c (sp_repr_replay_log, sp_repr_undo_log),
src/xml/repr-action.h, src/document-undo.c (sp_document_cancel,
sp_document_redo, sp_document_undo): Remove the unused doc
argument to sp_repr_replay_log, sp_repr_undo_log. Update callers.
2003-11-28 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
* extensions/ai_input.inkmod, extensions/dia.inkmod,
extensions/svgz_input.inkmod, extensions/svgz_output.inkmod:
Change the filename extension from `foo' to `.foo'; i.e. the
filename must end in `.foo' to be considered a match, rather
than merely ending in `foo'.
It appears that the sole users of this data are in src/system.c
(open_internal, save_internal).
I've found no documentation needing updating, according to
`rgrep -i extension doc'.
* src/system.c (open_internal, save_internal): Minor effec tweaks:
fewer strlen calculations.
* src/dialogs/transformation.c: Fix uninitialized-var bug.
2003-11-28 MenTaLguY <mental@rydia.net>
* src/document.c, src/document-undo.c, src/document-private.h:
renamed SPDocumentPrivate::undo_size to ::history_size. Fixed
long-standing undo bug, where maybe_done() would neglect to
start a new transaction if the previous transaction log were
empty.
* src/xml/repr-action-test.c, src/utest/utest.inc: made test
control structure a little clearer (hopefully) by hiding it.
Also some initial Doxygenification of the unit testing stuff.
* src/Makefile.am: added utest/ subdir
* doc/architecture.svg: reworked architecture diagram a bit
* doc/class-hierarchy.dia: added first shot at documenting the
class hierarchy in Dia
* src/modules/svg.c, src/modules/win32.c: change "...with
xmlns:sodipodi namespace" to "...with extension namespaces"
* src/xml/repr-action.c: fixed log optimizer to check
SPReprAction::type before coalescing adjacent actions
2003-11-27 Bryce <bryce@osdl.org>
* doc/architecture.svg: Added architecture.svg to try to capture
the subsystems at a block layer level. Defining colors, working
up basic structure, etc.
* Adding defines, functions, etc. for allowing markers into
inkscape-stock.h, sp-marker.*, sp-path.c, sp-shape.h, style.*,
and dialogs/stroke-style.c
* Added some new UI utility functions to spw-utilities.* and
changed dialog/stroke-style.c to use them, in order to simplify
redundancies in the code a bit.
2003-11-27 MenTaLguY <mental@rydia.net>
* src/desktop.c: the coord status bar area should not have a
resize handle
2003-11-27 bulia byak <bulia@dr.com>
* all dialogs remember size and position across sessions
* all dialogs are unsinkable (re-transientizing to the current document)
* all dialogs are closeable by ctrl-f4 and ctrl-w, defocusable by esc
* dialogs titles unified, added shortcut display in the titles
2003-11-27 MenTaLguY <mental@rydia.net>
* src/utest/Makefile.am, src/utest/utest.inc: new minimalist
unit testing framework
* src/xml/Makefile.am, src/xml/repr-action-test.c: some tests
for the XML transaction stuff
* src/desktop.c: reshuffled the widgets, switched to an embedded
toolbox, switched to using real GtkStatusbars for the status bar,
and (for the present) nuked the body of
sp_desktop_set_coordinate_status() since it had been #ifdeffed
out for ages anyway
* src/desktop.h: removed another constant #ifdef
* src/widgets/button.c: lobotomized toggle buttons temporarily,
so multiple windows having independent tool states wouldn't confuse
toolboxes :/ .. the real fix is to rework SPAction and friends
to not be so global-minded
* src/event-context.h: changed sp_ui_generic_menu to
sp_ui_context_menu
* src/interface.c: reworked the menu structure and introduced
sp_ui_main_menubar to create the menubar; changed sp_ui_generic_menu
to sp_ui_context_menu
* src/main.c: remove the floating toolbox
* src/shortcuts.c: remove shortcuts related to the floating toolbox
* src/verbs.c, src.verbs.h: removing floating toolbox verb
* src/widgets/sp-toolbox.c,
src/widgets/sp-toolbox.h,
src/widgets/Makefile.am: nuked floating toolbox window
2003-11-25 bulia byak <bulia@dr.com>
* src/select-context.c src/preferences-skeleton.h: new option: drag tolerance
2003-11-25 bulia byak <bulia@dr.com>
* src/dialogs/dialog-events.c src/dialogs/dialog-events.h: new callback and utility
functions for defocusing
* src/widgets/sp-color-selector.c src/widgets/dash-selector.c
src/dialogs/stroke-style.c: spinbuttons, text fields defocus on enter
2003-11-24 bulia byak <bulia@dr.com>
* src/dialogs/display-settings.c src/display/canvas-arena.c: cursor tolerance now
stored in preferences, default changed to 2.0
2003-11-24 bulia byak <bulia@dr.com>
* src/preferences-skeleton.h: new group for global interface options
* src/prefs-utils.h src/prefs-utils.c: new functions for double attributes
* src/select-context.c src/node-context.c: nudge distance (without alt) is taken from preferences (default 1 mm)
2003-11-24 bulia byak <bulia@dr.com>
New keys in node editor:
* esc deselects and cancels rubberband and node dragging
* ctrl-a selects all nodes
* tab and shift-tab cycle through nodes of the current shape
2003-11-23 Bryce Harrington <bryce@osdl.org>
* Added include for document.h to knot.c for declaring
sp_document_undo, as g++ didn't like not having it declared.
2003-11-22 bulia byak <bulia@dr.com>
* unified handling of arrow keys in selector and node editor
* lots of new keys for switching tools and calling dialogs
* space works as temporary selector toggle
* new: tools-switch.{c,h} utilities for switching tools
* cleaned up zoom shortcts (1-5)
* keys for toggling grid (#) and guides (|)
* esc deselects, cancels rubberband selection, dragging or transformation
(in selector)
* quit (ctrl-q) now works everywhere
* new document is opened on startup if none was given on command line
* closing last open document shuts down the program
* floating toolbox is at most one copy, as are other dialogs
* toolbox command is moved to the dialogs menu, ctrl-` as shortcut
* document windows closeable by ctrl-f4
* cleaned up status line messages, changed "items" to "objects"
* quit confirmation dialog appears near the cursor and is transient
* fix: killing quit confirmation dialog was interpreted as No instead
of Cancel
* preferences are now saved in case of a crash
* preferences are saved on exit
* new: prefs-utils.{c,h} utilities for handling preferences
* misc fixes
* misc shortcuts
2003-11-18 Ted Gould <ted@gould.cx>
* src/modules/system.c: Passed the wrong pointer. Fix is by
Robert Crosbie.
2003-11-18 Ted Gould <ted@gould.cx>
* src/widgets/sp-toolbox.c: Adding in an include for gtkimage.h
to get the stock functions. This fixes the build under g++.
2003-11-18 Ted Gould <ted@gould.cx>
* src/modules/extension.c: Changing mkstemp to g_mkstemp for
compatibility.
2003-11-17 Kees Cook <inkscape@outflux.net>
* configure.in: SF Patch #843537: more cast corrections from joncruz
2003-11-17 Ted Gould <ted@gould.cx>
* src/modules/init.c: Changing the process for handeling a directory
that doesn't exist. Now passing out a warning, and then returning.
The warning is on the command line so most users won't have to deal
with it (it _shouldn't_ happen anyway ;) Fixes: #843333.
2003-11-17 Kees Cook <inkscape@outflux.net>
* SF Patch #841940: autoconf update from joncruz
* SF Patch #842949: lpr fixes from Lynn Kerby
* SF Patch #842951: variable declaration fixes in interface.c
* SF Patch #842953: small color picker update from John Bintz
* SF Patch #842955: additional Darwin updates from Peter
* Fixed stroke style literal string bug that caused warnings
* SF Patch #842958: updated inkscape.desktop.in slightly
* SF Patch #843170: freetype include corrections
* SF Patch #843326: fixups for g++ compilation from joncruz
* Adding some more missing "extern C" sections for g++ compiles
* Small type corrections to quite g++ during -Wall
* Changed all the #endif // __cplusplus into a standard C comment
2003-11-16 MenTaLguY <mental@rydia.net>
* src/document.c: reworked sp_desktop_items_*in_box family to be layer-aware
2003-11-16 Kees Cook <inkscape@outflux.net>
* Cleaned up "desactivate" into "deactivate"
* Fixed GDK_SCROLL event from mouse wheel scrolling
* Cleaned up .cvsignore entries for fewer cvs warnings
2003-11-16 MenTaLguY <mental@rydia.net>
* dialogs/xml-tree.c: events should not be intercepted for the XML dialog
2003-11-16 MenTaLguY <mental@rydia.net>
* src/version.c: ME R DUM. Had the arguments to sscanf() reversed.
2003-11-16 Ted Gould <ted@gould.cx>
* Updating everything so that it builds under g++ again. Much
of the updates were to the recently checked in modules code.
2003-11-16 MenTaLguY <mental@rydia.net>
* New version code (version.c/version.h)
* Introduced inkscape namespace in parallel with sodipodi namespace
* Fixed a lot of attribute enum names to reflect sodipodi versus inkscape namespaces
* src/document.c: new version processing, plus namespace fixes
* SP_OBJECT_WRITE_INKSCAPE is now SP_OBJECT_WRITE_EXT
* Inkscape and Sodipodi versions are tracked separately
* First crack at layers! set inkscape:groupmode to "layer" or "group" depending on how you want a group to behave
* A little dead code removal
2003-11-15 MenTaLguY <mental@rydia.net>
* Mege Jon's improved src/help.c patch from the mailing list (with some temporary cruft of my own that I hope he'll forgive me for)
2003-11-14 Ted Gould <ted@gould.cx>
* Fixed up the module code alot. Now extentions are usable with
a XML file in the /usr/share/inkscape/modules directory.
2003-11-12 Jon Cruz <jon@joncruz.org>
* Fix warnings due to missing casts - nr-rasterfont.c (840539)
* Fix warnings due to missing casts - desktop-snap.c (840543)
* Fix warnings due to missing casts - help.c (840545)
2003-11-11 Robert Crosbie <swingincelt@hotmail.com>
* Remove kde option from configure (840504)
* Remove icon hash from sp_icon_new_full (840506)
2003-11-11 magnethead <magnethead@mindspring.com>
* src/dialogs/transformation.c (sp_transformation_dialog_new):
Removed images from tabs
* src/dialogs/object-properties.c (sp_object_properties_dialog):
Removed images from tabs
2003-11-11 Ted Gould <ted@gould.cx>
* Starting 0.36 development
2003-11-10 Ted Gould <ted@gould.cx>
* Release 0.35
2003-11-08 Bryce Harrington <brycehar@bryceharrington.com>
* Updated About dialog
* Fixed bug on Editing Windows dialog
2003-11-08 Manny the Gnome
* Remove KDE dialog option
2003-11-06 Bulia Byak
* Add cursor-key support
2003-10-19 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.c (sp_repr_svg_read_node): handle CDATA
sections properly
* Most of the tree. Unsodipodified pretty much everything I could
find. New temporary icons, etc etc...
2003-10-23 Ted Gould <ted@gould.cx>
* src/*/Makefile.am: Changing the include paths to make distcheck
get closer to passing.
2003-10-22 Ted Gould <ted@gould.cx>
* configure.in: Changing version to 0.32-hydra1. This is after
much discussion and serious contemplation (okay, we never really
got out the magic eight ball).
2003-10-22 Ted Gould <ted@gould.cx>
* src/dialogs/desktop-properties.c, src/widgets/spw-utilities.c,
src/widgets/spw-utilities.h: Cleaning up desktop properties by
abstracting things into functions. This patch was written by
Bryce Harrington and is tracker entry #822497.
2003-10-21 Ted Gould <ted@gould.cx>
* src/interface.c: Changing it so there is an Open Recent menu on
the Sodipodi menu and the toolbar menu. This removes some clutter
in the menu. This is tracker entry #820223 and the author is
unknown.
2003-10-21 Ted Gould <ted@gould.cx>
* src/dialogs/text-edit.c: Make it so that changes can be applied
to multiple blocks of text. This patch was submitted by Petr
Kovar and is tracker #816676.
2003-10-17 Ted Gould <ted@gould.cx>
* src/dialogs/object-properties.c: Applying a patch by Lynn Kerby
which is tracker number 799363. This makes it so that if just
the units are changed the object does not get updated.
2003-10-16 Ted Gould <ted@gould.cx>
* src/Makefile.am: Adding the modules to the linking of the
spsvgview executable. This fixes the KDE build. This was tracker
issue 819963 but unfortunately we don't know who submitted it.
2003-10-15 Ted Gould <ted@gould.cx>
* configure.in: Adding a -hydra to the version number.
2003-10-15 Ted Gould <ted@gould.cx>
* Changelog: Applying the patch from Mental to do transactions
in the XML. It is tracker number: 819745. More info to follow
which is (written by Mental)
* src/document-private.h: removed old SPAction struct and
modified SPDocumentPrivate to use new SPReprAction type
* src/document-undo.c: removed all sp_action stuff,
sp_document_priv_done(), and all repr callbacks
(sp_document_set_sensitive): start/suspend transactions on Repr
document
(sp_document_done): now just a wrapper for
sp_document_maybe_done(), of which it is a special case
(sp_document_maybe_done): use new transaction facility, and
properly trim undo list size to MAX_UNDO
(sp_document_cancel): new SPDocument method for aborting (and
undoing) current operation
(sp_document_undo, sp_document_redo): rewritten for transactions
* src/document.c (sp_document_init): updated SPDocumentPrivate
initialization
(sp_document_destroy): clean up partial action list
(sp_document_idle_handler): removed undo stack warning
(sp_document_warn_undo_stack): removed
* src/document.h: added sp_document_cancel()
* src/sp-object.c (sp_object_invoke_build): minor cleanup
(sp_object_repr_child_added, sp_object_repr_remove_child,
sp_object_repr_order_changed, sp_object_repr_attr_changed,
sp_object_repr_content_changed): removed calls to document
callbacks
* src/dialogs/xml-tree.c: enabled delete button for _all_
attributes [I later plann on enabling/disabling it based on
a call to the repr's change_attr veto callback]
(after_tree_move): roll back the transaction if the node
didn't want to be moved
(on_attr_select_row_enable): used to be
on_attr_select_row_enable_if_not_id()
(cmd_indent_node, cmd_unindent_node): removed usage of
sp_repr_move in favor of simple operations with transactions
* src/widgets/sp-xmlview-tree (repoint_nodes): no longer needed
(add_node): switched to an if cascade instead of a switch
statement, since SP_REPR_TYPE (repr) is no longer an integer
(tree_move): use simple operations instead of sp_repr_move
* src/xml/Makefile.am: added sp-action.c to build
* src/xml/repr-action.c, src/xml/repr-action.h: transaction
logging facility for reprs using linked lists of SPReprAction
structs (conceptually, logs)
* src/xml/repr-private.h: introduced SPReprClass for different
node types and added SPRepr::doc field for doc pointer.
SPReprDoc is now a proper subclass of SPRepr.
* src/xml/repr-util.c (sp_repr_move, sp_repr_transfer_ids):
removed
* src/xml/repr.c: added logging macros and SPRepr subclassing
* src/xml/repr.h: removed sp_repr_move()
2003-10-09 Ted Gould <ted@gould.cx>
* src/libnrtype/nr-type-directory.c: Applying a patch to
fix the compile from Vitaly Lipatov.
2003-10-08 Ted Gould <ted@gould.cx>
* glade/icons.svg src/nodepath.c src/nodepath.h
src/toolbox.c src/dialogs/node-edit.c src/dialogs/node-edit.h:
Adding another patch from Bob Jamison which is in the tracker
under 819054. This patch adds an alternate join function. It
also adds this function to the tool box with an icon.
2003-10-08 Ted Gould <ted@gould.cx>
* src/.cvsignore: Adding in spsvgview for cleaner diff's
2003-10-08 Ted Gould <ted@gould.cx>
* src/dialogs/item-properties.c: Submitting a patch from
Bob Jamison which is in the tracker under 819043. This adds
the ID to the item properties dialog.
2003-10-06 Ted Gould <ted@gould.cx>
* Changelog: Start of the hydra-october branch
2003-10-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/libarikkei/Makefile.am: New stuff from ariariki
* src/libnrtype/nr-type-xft.c (nr_type_read_xft_list): Moved here
* src/libnrtype/nr-type-directory.c (nr_type_build): From ariariki
(nr_type_read_private_list): Use libarikkei tokenizer
(nr_type_register): Made public
* src/libnrtype/Makefile.am: Added libarikkei stuff
* configure.in: Added libarikkei/Makefile
2003-09-18 Mitsuru Oka <oka@mediasite.co.jp>
* Initial IA-64 Linux support.
* libnr/nr-object.h defined new type NRType.
* src/desktop.c ... src/modules/win32.h ... many files:
modified all of the unsigned int GObject type by GType and
unsigned int NRObject type by NRType.
2003-08-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_setup): Check whether font
has assigned code points on BMP private area
(nr_typeface_ft2_lookup): Map BMP private area directly to glyph index only
if it is free, use planes F and 10 for direct mapping
2003-08-17 Danilo Šegan <dsegan@gmx.net>
* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-07-23 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS.
2003-07-21 Christian Neumair <chris@gnome-de.org>
* src/verbs.c: Fix another typo (preciely->precisely).
2003-07-21 Christian Neumair <chris@gnome-de.org>
* src/widgets/paint-selector.c: Fix a typo (colospace->Colorspace).
2003-07-15 Masatake YAMATO <jet@gyve.org>
* src/helper/sp-ctrlline.h: Fix a typo(x2->x1).
2003-07-12 Yukihiro Nakai <ynakai@redhat.com>
* src/text-context.c (sptc_preedit_changed): New signal handler
(sp_text_context_setup): Connect "preedit_changed" signal
(sp_text_context_root_handler): Return TRUE (needed for Gtk+ IM)
* src/verbs.c (sp_verbs_init): Wrap action name and tip into _()
2003-07-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/event-context.c (sp_event_context_private_root_handler): Handle
GDK_SCROLL (thanks to Tomas Znamenacek)
* src/xml/repr-util.c (sp_xml_dtoa): Do not print trailing zeroes
* src/xml/repr.c (sp_repr_document_new): Removed ATTLIST xmlns:xlink
* src/libnr/nr-svp-private.h: New file
2003-07-09 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-stroke.c: Implement most functionality
* src/libnr/nr-svp-uncross.c (nr_svl_uncross_full): Process some corner cases
properly
2003-07-07 Masatake YAMATO <jet@gyve.org>
* src/shortcuts.c (sp_shortcut_table_load): set shortcut
for SP_VERB_EDIT_SELECT_ALL.
* src/selection-chemistry.[ch] (sp_edit_select_all): New function.
* src/verbs.c (sp_verb_action_edit_perform): Added case
SP_VERB_EDIT_CLEAR_ALL and SP_VERB_EDIT_SELECT_ALL.
(SP_VERB_IS_EDIT): Extended to SP_VERB_EDIT_SELECT_ALL.
2003-07-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/svg/svg-length.c (sp_svg_length_set): New method
* src/sp-spiral.c (sp_spiral_write): Write path here
* src/sp-image.c (sp_image_repr_read_image): Treat NULL docbase as current directory
* src/sp-gradient.c (sp_gradient_write): Merged code with flatten_attribute
(sp_lineargradient_write): Ditto
(sp_radialgradient_write): Ditto
* src/rect-context.c (sp_rect_context_root_handler): Get motion hints
* src/helper/sp-canvas.c (SP_CANVAS_UPDATE_PRIORITY): Use higher priority
* src/document.c (SP_DOCUMENT_UPDATE_PRIORITY): Use higher priority
2003-06-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_glyph_outline_get): Do not
load outlines multiple times, fixes serious memleak
2003-06-28 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c (sp_text_edit_dialog): Added line spacing combo
(sp_text_edit_dialog_update_object): Update line spacing
(sp_text_edit_dialog_read_selection): Update control
* src/sp-text.c (sp_text_set): Parse "sodipodi:linespacing"
(sp_text_set_shape): Use line spacing
* src/attributes.c: Added "sodipodi:linespacing"
2003-06-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/desktop-properties.c (sp_dtw_border_layer_toggled): New callback
(sp_desktop_dialog_new): Added border layer
(sp_dtw_update): Track border layer
* src/spsvgview.c: Implement slideshow
* src/sp-namedview.c (sp_namedview_set): Track borderlayer
* src/desktop.c (sp_desktop_new): Add page border directly to
main group
(sp_dt_namedview_modified): Track border layer
* src/attributes.c: Added "borderlayer"
2003-06-22 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-pattern.c (sp_pattern_update): Implemented, patterns show up again
(sp_pattern_painter_new): Painter is not GObject anymore, fixes crash
(sp_pattern_painter_free): Ditto
* src/sp-root.c: Removed namedview tracking
* src/sp-object-repr.c (sp_object_type_lookup): Do not register GUI types
(sp_object_type_register): New method
* src/sp-namedview.c (sp_document_namedview): Moved it here to clean
up dependency chain
* src/sp-item-group.c (sp_item_group_get_child_by_name): New method
* src/main.c (sp_main_gui): Register GUI object types
(sp_main_console): Ditto
* src/document.c (sp_document_create): Check for namedview using name only
* src/Makefile.am (spsvgview_SOURCES): Uncommented spsvgview
* src/libnr/nr-object.c: Use listener arrays instead of lists
2003-06-20 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Version 0.33pre
2003-06-19 Masatake YAMATO <jet@gyve.org>
* src/dialogs/desktop-properties.c (sp_color_picker_clicked): Enable "Close"
button.
(sp_color_picker_window_close): New function.
2003-06-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/object-properties.c (sp_object_properties_dialog_destroy): Disconnect
signals here, fixes crash
2003-06-18 Masatake YAMATO <jet@gyve.org>
* src/toolbox.c (sp_toolbox_*_create): passed tt to
sp_toolbox_new.
* src/dialogs/align.c (sp_align_add_button): passed a
GtkTooltips object to sp_button_new_from_data.
(sp_quick_align_dialog): created a new GtkTooltips object
and passed it to sp_align_add_button.
* src/widgets/sp-toolbox.c (sp_toolbox_new): passed a
GtkTooltips object to sp_button_new_from_data.
Fix a spelling miss.
* src/widgets/sp-toolbox.h (sp_toolbox_new): passed a
GtkTooltips object.
2003-06-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-image.c (sp_image_set): Fix potential crash
(sp_image_update): Move code here, so canvas items do not dereference
destroyed pixbuf data
* src/seltrans.c (sp_sel_trans_handle_request): Reverse shift behaviour for
rotation (thanks to Pat)
2003-06-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/verbs.c: Added 'print direct' option
* src/interface.c (sp_ui_file_menu): Added print direct if needed
* src/toolbox.c (sp_toolbox_file_create): Compose print + print direct if needed
2003-06-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/modules/ps.c (sp_module_print_plain_setup): Added bitmap/ps choice and
preferred bitmap resolution selector
(sp_module_print_plain_finish): If user prefers bitmap printing, composite
full page from NRArena here
2003-06-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/event-context.c (sp_event_context_private_root_handler): Removed
desktop dialog double-click binding
* src/widgets/icon.c (sp_icon_new_scaled): New method
(sp_icon_new_full): Refactored static method
(sp_icon_image_load_svg): Use scale factor
* src/xml/repr-io.c (sp_repr_do_read): Unref node after attaching
(sp_repr_svg_read_node): Ditto
* src/xml/repr.c (sp_repr_document_new): Ditto
2003-06-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/modules/ps.c: Ported Ascii85 filter from The GIMP
2003-06-09 Lauris Kaplinski <lauris@kaplinski.com>
* src/modules/kde.cpp (sp_kde_get_save_filename): New method
(sp_kde_get_write_filename): New method
(sp_kde_get_open_filename): Use dir/filter/title
* src/file.c (sp_file_open_dialog): Use KDE file dialog if WITH_KDE
(sp_file_save_dialog): Ditto
(sp_file_import): Ditto
2003-06-05 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c: Only high-level stuff
* src/modules/gnome.c: Moved gnome print frontend here
* src/modules/ps.*: Moved plain print frontend here
2003-05-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-item.h: Removed ::menu and ::knot_holder virtual methods
* src/object-edit.c: New file, collect all knotholder methods from
item implementations here
* src/object-edit.h (sp_item_knot_holder): New file
* src/object-ui.c: New file, collect all Gtk related methods from
object implementations here
* src/object-ui.h (sp_object_menu): New file
2003-05-24 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c (sp_print_preview_document): Use ::set_preview if present
* src/module.h: Added virtual methof for setting preview
* src/helper/kde.cpp (sp_module_print_kde_finish): Got working
(sp_module_print_kde_set_preview): New method
2003-05-18 Hans Breuer <hans.breuer.org>
* src/monostd.h : (new file) some defines and includes
mostly to make up the WIN32 lack of unistd.h
* config.h.win32 src/makefile.msc src/*/makefile.msc :
(new files) to build Sodipodi on win32 with M$ toolchain
* src/winmain.c : (new file) WinMain in it's own file simply
calling main()
* src/main.c : build the common main() for win32 too
* src/sodipodi.rc : (new file) to compile in the application
icon on win32
* src/file.c : use G_DIR_SEPARATOR[_S] instead of '/' ["/"]
make the file selection work better on win32
* src/sp-image.c : read images defined by xlink:href="file://...
* src/sodipodi.c : #inculed "monostd.h" to get S_ISDIR and
S_ISREG on win32
* src/libnr/nr-values.h : when building as DLL exporting
variables is quite ugly. Define some constant matrices as
static for win32 to avoid exporting.
* src/libnrtype/nr-type-directory.c : #include <io.h>
for win32::open() etc.
* src/libnrtype/nr-type-w32.c : #ifdef HANGUL_CHARSET,
older SDK headers don't have it
* src/libnrtype/nr-type-w32.H : #define WIN32_LEAN_AND_MEAN
before including <windows.h> to reduce namespace pollution
* src/svg/svg-length.c : #include <config.h> to get WIN32
* src/widgets/icon.c : S_ISREG, S_ISDIR
* src/xml/sp-xml.def src/svg/sp-svg.def
src/libnr/sp-libnr.def src/libnrtype/sp-libnrtype.def :
(new files) to export functios from modules built as DLLs
* src/helpers/gnome-utils.c(gnome_uri_list_extract_filenames) :
use g_filename_from_uri()
* src/toolbox.c src/interface.c : don't leak the uri list
* src/xml/repr-util.c : use g_strcasecmp for portability
* src/svg/svg-length.c : ... and g_snprintf
2003-05-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-item.c (sp_item_invoke_print): Only if item is printable
* src/display/nr-arena-item.c (nr_arena_item_set_visible): New method
(nr_arena_item_invoke_render): Honour visibility
* src/dialogs/item-properties.c (sp_item_widget_printability_toggled): Implement
* src/sp-item.c (sp_item_set): Added "sodipodi:printable" attribute
2003-05-14 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/button.c (sp_button_set_composed_tooltip): Add primary shortcut
dynamically to tooltip
2003-05-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/toolbox.c (sp_maintoolbox_create_toplevel): Use sp_window_new
* src/helper/window.c: New file, implement shortcut processing
* src/helper/window.h: New file
2003-05-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/text-context.c (sp_text_context_forget_text): Set object to
NULL before destroying, so resulting selection::changed does not mess up
* src/selection-chemistry.c: Removed undo and redo frontends
* src/shortcuts.c: Moved shortcut code here
2003-05-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/zoom-context.c: Removed bogus zoom ui handlers
* src/sodipodi.c (sodipodi_init): Initialize some shortcuts
* src/toolbox.c (sp_toolbox_button_clicked): New callback
(sp_toolbox_button_new_from_verb): New method
(sp_toolbox_zoom_create): Use verbs
* src/interface.c (sp_ui_menu_activate): Universal callback
(sp_ui_menu_append_item_from_verb): New method
(sp_ui_view_menu): Use verbs for zoom menu items
* src/event-context.c (sp_event_context_private_root_handler): Use actions for
certain keycodes
* src/verbs.c: New file
* src/verbs.h: New file
* src/helper/action.c: New file
* src/helper/action.h: New file
2003-05-07 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-uncross.c (nr_svl_uncross_full): Break slice endpoints if
there can be potential crossing
2003-05-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-render.c (nr_svp_render): Fix some running sum problems
2003-05-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-rasterfont.c (nr_rasterfont_generic_glyph_mask_render): Render
using NRSVP and mask OR
(nr_rasterfont_ensure_glyph_slot): Build NRSVP
2003-05-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/Makefile.am: Removed art-utils.h
* src/libnr/nr-svp.c (nr_svl_build_finish_segment): New helper
(nr_svl_build_moveto): Ditto
(nr_svl_build_lineto): Ditto
(nr_svl_build_curveto): New helper
(nr_svl_from_art_vpath): Use NRSVLBuild
(nr_svl_from_art_bpath): New method
2003-05-02 Lauris Kaplinski <lauris@kaplinski.com>
* sodipodi.desktop.in: Updated by Michael Terry
2003-05-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/svg/svg-length.c (sp_svg_number_write_d): Fixed rounding overflow
2003-05-01 Christian Schaller <Uraeus@gnome.org>
* Fixed up desktop.in file to conform to latest freedesktop standard
* Fixed up spec.in file to actually work
* Added missing extensions-skeleton.h to makefile
* Added spec file to EXTRA_DIST
2003-05-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-arena-item.c (nr_arena_item_children): Return correct
value (thanks to MentaLguY)
2003-04-29 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp.h: Use more compact format for segments
* src/libnr/nr-svp.c (nr_svp_from_svl): Use max segment length
2003-04-28 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-render.c (nr_svp_render): New method
(nr_pixblock_render_svp_mask_or): New method
(nr_pixblock_render_svl_mask_or): Renamed old one
(nr_svl_render): Ditto
* src/libnr/nr-svp.c (nr_svp_point_wind): Implement
(nr_line_point_distance2): Helper
(nr_svp_point_distance): Ditto
(nr_svp_from_svl): New method, implemented packed format and
renamed old one to S(orted)V(ertex)L(ist)
(nr_svp_free): Ditto
* src/display/nr-arena-shape.h: Port all basics to NRSVP
2003-04-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/knotholder.c (knot_ungrabbed_handler): Flush object here
* src/xml/repr-util.c (sp_xml_dtoa): Take '-' into accounti if
copying integral part
* src/svg/svg-length.c (sp_svg_length_update): New method
* src/sp-spiral.c (sp_spiral_update): New method
* src/sp-star.c (sp_star_update): New method
* src/sp-ellipse.c (sp_genericellipse_update): Use generic ::set_shape
* src/sp-rect.c (sp_rect_update): Use generic ::set_shape
2003-04-24 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-uncross.c (nr_svp_uncross_full): Concat segment start only if
within epsilon, snap intersection point at yslice, if close
2003-04-23 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/sp-color-slider.c (sp_color_slider_paint): Use proper style painters,
so Gdk/Gtk crash bug does not show up anymore
* src/xml/repr-io.c (sp_repr_read_file): Substitute entities (by MentaL)
(sp_repr_read_mem): Ditto
* src/style.c (sp_style_merge_from_style_string): Complain only if not the end
of the style string (thanks to MenTaL)
2003-04-22 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c (sp_module_print_plain_begin): Magic by MenTaL
* src/libnr/nr-svp-uncross.c (nr_svp_uncross_full): Works properly now for
all stress-tests except zap.
2003-04-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-arena-shape.c (nr_arena_shape_update): Switch fill
completely to new renderer
(nr_arena_shape_render): Ditto, but use masks as before
* src/libnr/nr-svp-uncross.c (nr_svp_uncross_full): Pass most stress-tests
2003-04-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-render.c (nr_pixblock_render_svp_mask_or): new method
(nr_pixblock_render_svp_rgba): Frontend, implement for all pixblock modes
(nr_svp_run_A8_OR): Run callback implementation
(nr_svp_run_R8G8B8): Ditto
(nr_svp_run_R8G8B8A8P_EMPTY): Ditto
(nr_svp_run_R8G8B8A8P_R8G8B8A8P): Ditto
(nr_svp_run_R8G8B8A8N_R8G8B8A8N): Ditto
(nr_svp_render): Implement using generic run callbacks
2003-04-14 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-render.c (nr_pixblock_render_svp_rgba): Do runs properly,
skip if coverage stays 0
2003-04-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-svp-render.c: Moved here from old arena code
* src/libnr/nr-svp-render.h: Ditto
* src/libnr/nr-svp.c: Ditto
* src/libnr/nr-svp.h: Ditto
* src/display/nr-arena-shape.h: Optional experimental new renderer
* src/libnrtype/nr-typeface.h: Port to NRObject
* src/display/canvas-arena.c (sp_canvas_arena_init): Use active object
listener instead of g-signals
(sp_canvas_arena_destroy): Ditto
* src/display/nr-arena.h: Derive from NRActiveobject
* src/display/nr-object.c (nr_object_delete): proper lifecycle management
(nr_object_setup): Ditto, automatic object
(nr_object_release): Ditto
(nr_active_object_get_type): Added NRActiveObject
* src/display/nr-object.h: Added NRActiveObject
2003-04-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-object.c: Reimplement in standalone way
* src/display/nr-object.h: Reimplement in standalone way
2003-04-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-marker.c (sp_marker_show_dimension): Reimplement
(sp_marker_show_instance): Ditto
* src/display/nr-arena-shape.c (nr_arena_shape_finalize): Detach markers
* src/sp-shape.c (sp_shape_update_marker_view): Test orientation
2003-03-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-arena-item.c: Removed ::event signal
* src/display/nr-object.h: Frontend for future glib-free object system
2003-03-21 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-shape.c (sp_shape_update): Update marker properly
(sp_shape_set_marker): Parse all three marker types
* src/sp-marker.c (sp_marker_update): Set reference point in child2parent matrix
(sp_marker_show_dimension): Copy and set arena items properly
(sp_marker_show_instance): Set base transfoarm and scale by line width if needed
2003-03-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/uri-references.c (sp_uri_reference_resolve): Allow '_' and
'-' in xlink names.
2003-03-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-arena-item.h: Made opacity 8-bit integer
2003-03-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-marker.c (sp_marker_update): Do it properly
(sp_marker_write): Do it properly (almost)
2003-03-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c (sp_module_print_plain_class_init): Use correct destructor
* src/sp-marker.c (sp_marker_set): Implement all attributes
2003-03-09 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-object-repr.c (sp_object_type_lookup): Added marker type
* src/sp-marker.h: New file
* src/sp-marker.c: New file
* src/display/nr-arena-image.c (nr_arena_image_render): Use pixblock
area instead the active area (that may be bigger)
* src/helper/kde.cpp: Added SPModulePrintKDE object
(sp_kde_get_module_print): Contructor
* src/print.c: Port to modules, add KDE option
* src/module.c (sp_module_register): Check for id, fix crash
(sp_module_unregister): Ditto
(sp_module_print_get_type): Implement SPModulePrint
* src/document.h: Renamed private to priv to be nice with c++
* src/Makefile.am (kdeldadd): Added LIB_KDEPRINT
* configure.in: Enable modules by default
2003-03-04 MenTaLguY <mental@rydia.net>
* src/desktop.c: changed zoom_status to a spin button with logarithmic increment and a handy context menu
(sp_dtw_zoom_*): added various event handlers for the new zoom spin button
(sp_desktop_zoom_page): factored out code duplicated with zoom-context.c
(sp_desktop_zoom_selection): ditto
(sp_desktop_zoom_drawing): ditto
(sp_desktop_widget_init): removed unused SPDesktopWidget::zoom member and replaced zoom label with a spin button
* src/desktop.h: removed unused SPDesktopWidget::zoom member, added new sp_desktop_zoom_* methods
* src/zoom-context.c (sp_zoom_drawing): factored out code to desktop.c
(sp_zoom_page): NRRectD -> NRRectF, factored out code to desktop.c
(sp_zoom_selection): factored out code to desktop.c
2003-03-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/Makefile.am: Compile KDE module if needed
* src/main.c (sp_main_gui): Initialize/shutdown KDE module if WITH_KDE
* src/file.c (sp_file_open_dialog): Use KDE file dialog, if WITH_KDE
* src/Makefile.am: Add KDE libraries if needed
* configure.in: Added --with[out]-kde configuration option
* autogen.sh: Added (again) libtoolize
* acinclude.m4: KDE specific autostuff
* src/helper/kde.cpp: New file
* src/helper/kde.h: New file
* src/helper/kde-private.h: SPKDEBridge sefinition for moc preprocessor
2003-03-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/sp-color-slider.h: Use LGPL
* src/widgets/sp-color-slider.c: Use LGPL
* src/libnr/nr-rect.h: Use sensible NULL/empty semantics for union and intersection
* src/libnr/nr-rect.c: Ditto
* src/libnr/gen_nr_config.c: Generate basic typedefs (borrowed fromlibart)
* src/display/nr-arena-item.c (nr_arena_item_invoke_update): Cleanup
(nr_arena_item_invoke_render): Ditto
2003-03-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/modules/*: Various module implementations by Ted Gould
* extensions/*: Put various unsorted extensions stuff here
* src/module.c: New file
* src/module.h: New file
* src/draw-context.c (sp_draw_context_root_handler): Use 'a' instead of '+'
as append/new toggle
(spdc_concat_colors_and_flush): Cut continuation tolerance to avoid extra points at corners
(spdc_pen_set_point): Draw line segments if appropriate
2003-02-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/main.c (main): Use bind_textdomain_codeset to force utf-8 encoding
(sp_main_console): Init gdk if WITH_XFT
* src/file.c (sp_export_get_rows): Do not set EMPTY flag on pixblock, or background
will be forgotten
2003-02-24 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/align.c (sp_quick_align_dialog): Added "distribute" tab
(sp_align_distribute_h_clicked): New method
(sp_align_distribute_v_clicked): Ditto
* configure.in: Removed PACKAGE_LOCALE_DIR definition
* src/Makefile.am (INCLUDES): Set PACKAGE_LOCALE_DIR here
* configure.in: Skip xft checking if fontcofig present
2003-02-23 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c (sp_print_fill): Use new paint server signature (does it work?)
* src/document.c (sp_document_idle_handler): Use new flags signature
(sp_document_ensure_up_to_date): Ditto
* src/sp-shape.c (sp_shape_modified): Removed style_modified, instead set
style here, if flags indicate the need
* src/sp-text.c (sp_tspan_update): Calculate relative distances here
(sp_text_update): Ditto
* src/sp-object.h: Split update and modified flags, involves changes in
most places actually using them
* src/gradient-chemistry.c (sp_gradient_ensure_private_normalized): Recycle
available gradients, instead of always creating new
(sp_gradient_ensure_radial_private_normalized): Ditto
* configure.in: Version 0.32pre
2003-02-22 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_text_set_shape): Honour single dx and dy attributes
* configure.in: Added check for fontconfig to retrieve nonstandard include directories
2003-02-21 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-image.c (sp_image_set): Set canvas item properties in ::update
(sp_image_update): Implement
* src/dialogs/fill-style.c (sp_fill_style_widget_paint_changed): Set CMYK before RGB
* src/dialogs/stroke-style.c (sp_stroke_style_paint_changed): Set CMYK before RGB
2003-02-20 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-gradient.c (sp_gradient_rebuild_vector): Fix crash if 2 stops coincide
* src/libnrtype/nr-rasterfont.c (nr_rasterfont_generic_glyph_mask_render): Get real
bounding box, clip to pixblock area for SVP glyphs
* src/sp-polygon.c (sp_polygon_write): Write points always
2003-02-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/export.c (sp_export_dialog): Default to document name + png
(sp_export_spinbutton_new): Pack more functions here
* src/sp-chars.c (sp_chars_update): Implement
* src/sp-text.c (sp_tspan_update): Implement
* Makefile.am: Port back to glib gettext
* configure.in: Port back to glib gettext
* autogen.sh: Copied working version from The Gimp
* src/helper/sp-canvas.c (sp_canvas_paint_rect): Try to fit area into pixelstore
instead of using default image size always
2003-02-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-path.h: Turned SPPath/SPShape hierachy upside down, so they make sense
now, when we do not derive text and clippath from SPPath anymore
* src/sp-shape.h: Ditto
2003-02-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/file.c (file_open_ok): Set directory if OK clicked on it (thanks to Aron Rubin)
(file_import_ok): Ditto
* src/sp-ellipse.c (sp_round): Fix sp_round
2003-02-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/paint-selector.c (sp_paint_selector_system_color_set): New method
(sp_paint_selector_set_mode_color): Added 'get from dropper' checkbox
* src/dialogs/object-properties.c (sp_object_properties_color_set): Handler
of system 'color_set' signal, used for getting color value from dropper
* src/dialogs/stroke-style.c (sp_stroke_style_paint_system_color_set): New method
* src/dialogs/fill-style.c (sp_fill_style_widget_system_color_set): New method
* src/toolbox.c (sp_toolbox_draw_create): Added dropper tool
* src/sodipodi.c (sodipodi_class_init): Added 'color_set' signal
(sodipodi_set_color): Frontend to signal
(sodipodi_init_config): Use config_name instead of hardcoded 'preferences'
* src/dropper-context.c (sp_dropper_context_root_handler): Scale colors
to [0.0 - 1.0] range and signal hub
* src/widgets/menu.c: New file, implement sensible menu API
* src/widgets/menu.h: New file
2003-02-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/dropper-context.h: New file
* src/dropper-context.c: New file
2003-02-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/desktop.c (sp_desktop_widget_init): Create tooltips, enable sticky zoom
(sp_desktop_widget_size_allocate): Calculate sticky zoom by area instead of MIN (x, y)
* src/helper/sp-canvas.h: Added floating point scroll coordinates
* src/helper/sp-canvas.c (scroll_to): Preserver floating point coordinates
* src/display/nr-arena-group.c (nr_arena_group_set_child_transform): Do
not force full update if not needed
* src/display/nr-arena-item.c (nr_arena_item_set_clip): Do not force
full update if not needed
(nr_arena_item_set_mask): Ditto
(nr_arena_item_set_transform): Ditto
2003-02-09 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-gradient.c (nr_lgradient_render_R8G8B8A8N_EMPTY): New shortcut
* src/libnr/nr-gradient.h: Made x0 and x0 integers - this introduces possible
upt to 0.7 pixel error, but other rendering parts are not exact anyways
* src/sp-paint-server.h: Fill function signature change
2003-02-08 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-gradient.c (nr_rgradient_render_generic_symmetric): Special
case NR_PIXBLOCK_MODE_R8G8B8A8N and full opacity
* src/sp-gradient.c (sp_radialgradient_set): Initialize focal point to center if unset
* src/libnr/nr-gradient.c (nr_lgradient_render_R8G8B8A8N): Special-cased full opacity
* configure.in: 0.30.1
* src/libnrtype/nr-rasterfont.c (nr_rasterfont_ensure_glyph_slot): Use
32 bit integer bbox initially before deciding whether it fits in 16 bit
2003-02-08 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.am (SUBDIRS): Add intl, m4.
(EXTRA_DIST): Add config.rpath.
* configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
2003-02-07 Lauris Kaplinski <lauris@kaplinski.com>
* src/help.c (sp_help_about): Make default window size the same as document
* src/style.c: Use custom winding rule and stroke parameter enumerations
* src/enums.h: Define winding rules and stroke parameters
2003-02-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-rect.c (sp_rect_rx_set): Set ::set value(s)
(sp_rect_ry_set): Ditto
* src/sp-item.c (sp_item_update): Set arena item transform here
* src/dialogs/fill-style.c (sp_fill_style_widget_update_repr): Made non-recursive
(sp_fill_style_widget_update): Ditto
* src/sp-shape.c (sp_shape_write_transform): Working path tranformation optimizer
* src/widgets/sp-color-slider.c (sp_color_slider_adjustment_value_changed): Add
some extra pixels around arrow dirtified area
(sp_color_slider_paint): Use gtk_draw_box instead of gtk_draw_shadow
(sp_color_slider_realize): Attach style
2003-02-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/sodipodi.c (sodipodi_load_config): Generic method by Bryce
(sodipodi_load_preferences): Frontend, same
(sodipodi_load_extensions): Ditto
(sodipodi_get_repr): Test for "extensions"
(sodipodi_init_config): Generic method by Bryce
(sodipodi_init_preferences): Frontend by Bryce
(sodipodi_init_extensions): Ditto
* src/toolbox.c (sp_toolbox_extension_create): Implemented by Bryce
* src/extension.c: New file by Bryce Harrington
* src/extension.h: New file by Bryce Harrington
* src/extensions-skeleton.h: Ditto
* src/sp-mask.c: support maskContentUnits
* src/nodepath.c (create_curve): Do not add 50 to y (why was it here?)
* src/sp-item-group.c (sp_group_update): Propagate only if update flag set
* src/sp-item.c (sp_item_set): Set clippath and mask bbox
(sp_item_update): Ditto
* src/sp-clippath.c (sp_clippath_build): Implement
(sp_clippath_set): Ditto, clipPathUnits attribute
(sp_clippath_update): Ditto
(sp_clippath_show): Use bbox if needed
(sp_clippath_set_bbox): New method
2003-02-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-item.c (sp_item_release): Release mask
(sp_item_mask_release): New handler
(sp_item_mask_modified): Ditto
(sp_item_set): Parse mask
(sp_item_show): Show mask
(sp_item_private_hide): Hide mask
* src/display/nr-arena-item.c (nr_arena_item_invoke_render): Do masking
(nr_arena_item_private_dispose): Release mask
(nr_arena_item_invoke_update): Update mask
(nr_arena_item_set_mask): New method
* src/sp-root.c (sp_root_build): Do not check for xmlns:sodipodi to determine
version, as this is set automatically in xml loader
* src/slideshow.h: New file
* src/slideshow.c: New file
2003-02-02 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-rect.c (sp_rect_set): Accept 0.0 as valid for x, y, width and height
(sp_rect_write): Use 0.0 as default for rx, ry
* src/rect-context.c (sp_rect_finish): Use ::write to be sure
* src/display/nr-arena-shape.c (nr_arena_shape_clip): OR masks
* src/sp-defs.c (sp_defs_update): Implement
(sp_defs_modified): Ditto
* src/sp-clippath.c (sp_clippath_update): Implement
(sp_clippath_modified): Ditto
(sp_clippath_show): Fix
(sp_clippath_hide): Implement
* src/sp-item.c (sp_item_set): Fix clippath
(sp_item_show): Ditto
(sp_item_private_hide): Ditto
(sp_item_display_key_new): New method
* src/sp-item.h: Use new signature for ::show and ::hide
2003-02-01 Daniel Yacob <locales@geez.org>
* configure.in: Added "am" (Amharic) to ALL_LINGUAS.
2003-02-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-use.c (sp_use_init): Set width and height default to 100%
(sp_use_set): Ditto
(sp_use_bbox): use child transform
(sp_use_update): Calculate relative lengths, set new viewport
* src/sp-object.c: Removed ::dispose and some commented out code
* src/sp-symbol.c: New file
* src/sp-symbol.h: New file
* src/enums.h: New file
* src/xml/repr-io.c (sp_repr_svg_read_node): Return if entity declaration
* src/sp-root.c (sp_root_init): Set correct default viewport values
(sp_root_build): Read 'x', 'y', 'version', 'preserveAspectRatio'
(sp_root_set): Parse added attributes, accept percentages for x, y, width, height
(sp_root_update): Set up proper transformations to support aspect ratios
* src/sp-item.h: Added viewPort and item2viewPort transformation to item context
* src/document.c (sp_document_ensure_up_to_date): Set initial viewport
and identity transforms in item context
(sp_document_idle_handler): Ditto
* src/attributes.h: Added 'version' and 'preserveAspectRatio'
2003-01-31 Masatake YAMATO <jet@gyve.org>
* src/main.c (POPT_TABLEEND): Define if it is not defined in
popt.h. copied from forntline.
2003-01-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/guideline.c (sp_guideline_render): Do not round int
* src/interface.c (sp_ui_close_view): Get widget pointer before killing object
2003-01-28 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Version 0.30pre
* src/sp-image.c (sp_image_bbox): Calculate bbox properly
2003-01-28 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.am (SUBDIRS): Add intl, m4.
(EXTRA_DIST): Add config.rpath.
* configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
2003-01-28 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/codepages.h: Win9x codepage declarations
* src/main.c (WinMain): Use new toplevel toolbox constructor
* src/text-context.c (sp_text_context_root_handler): Added Gdk_U to unimode
* src/libnrtype/nr-type-w32.c: Implement ANSI charset and styles
* src/libnrtype/nr-type-directory.c (nr_type_directory_build): Honour
stretch attribute in searches
* src/toolbox.c (sp_maintoolbox_create_toplevel): Broke constructor
into two parts to allow multiple toolboxes
* src/interface.c (sp_ui_view_show_toolbox): New method
(sp_ui_view_dock_toolbox): Ditto
(sp_ui_view_remove_toolbox): Ditto
(sp_ui_view_menu): Added menu items for creating toolboxes
(sp_create_window): Pack toplevel hbox into window
2003-01-26 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/art-utils.c (sp_vpath_from_bpath_transform_closepath): Moved
array expansion to the right place (thanks to Lynn Kerby)
2003-01-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/xml-tree.c (sp_xml_tree_dialog): Allow horizontal scrollbar
so we do not expand window infinitely
* src/sp-use.c (sp_use_update): Implemented by MenTaLguY
(sp_use_modified): Ditto
* src/libnr/nr-path.c (nr_curve_bbox): Implement fast and exact bbox (thanks to Nathan)
(nr_curve_bbox_wind_distance): Use exact bbox
2003-01-25 Nathan Hurst <Nathan.Hurst@infotech.monash.edu.au>
* src/desktop-snap.c: Fixed vector snapping code, replaced horizontal and
vertical snapping with generic vector versions
2003-01-21 Lauris Kaplinski <lauris@kaplinski.com>
* src/nodepath.c (create_curve): Use NR_MATRIX_DF_TRANSFORM_X (Thanks to
MenTaLguY for finding these NRPointF/ArtPoint mismatches)
2003-01-20 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_new): Ditto
* src/print.c (sp_print_preview_document): Fix gnome-print support
(sp_print_document): Ditto
* src/libnrtype/nr-type-xft.c (nr_type_xft_init): Added ebug printout
* src/widgets/button.c (sp_button_button_press): Do not grab mouse
(sp_button_button_release): Ditto
2003-01-19 Lauris Kaplinski <lauris@kaplinski.com>
* src/desktop.c (sp_dtw_status_frame_size_request): Always request minimum size
* configure.in: Define GETTEXT_PACKAGE properly (Thanks to Christian Rose)
* src/libnrtype/nr-type-xft.c (nr_type_xft_init): Removed CORE, so Xft fontlist
should now be read properly with Debian PPC and or fontconfig systems
2003-01-15 MenTaLguY <mental@rydia.net>
* src/sp-object.c (sp_object_get_unique_id): don't include namespace prefix when generating ids
2003-01-15 MenTaLguY <mental@rydia.net>
* src/widgets/sp-xmlview-tree.c (add_node): tree nodes associated with elements pretend they initially have a NULL id
(element_attr_changed): display elements with a NULL id properly
2003-01-15 MenTaLguY <mental@rydia.net>
* src/xml/repr-private.h: added SPXMLNs structure
* src/xml/repr.h: added decls for sp_xml_ns_uri_prefix() and sp_xml_ns_prefix_uri()
* src/xml/repr-io.c: improved handling of namespace prefixes
(sp_repr_qualified_name): added hashtable to keep track of NS prefixes used
(sp_repr_read_node): Ditto
(sp_repr_do_read): Ditto + replaced if cascade with calls to sp_xml_ns_uri_prefix()
(sp_repr_set_xmlns_attr): helper to set xmlns attributes
* src/xml/repr-util.c: added namespaces list
(sp_xml_ns_register_defaults): procedure to initialize namespace mapping list
(sp_xml_ns_auto_prefix): helper routine to automatically select a "good" prefix for a given namespace URI
(sp_xml_ns_uri_prefix): returns a prefix to use for a given namespace URI, registering a mapping automatically if necessary
(sp_xml_ns_prefix_uri): returns the namespace URI registered for a given prefix
2003-01-13 MenTaLguY <mental@rydia.net>
* src/desktop.c (sp_dtw_desktop_shutdown): rearranged close confirmation buttons according to the Gnome HIG
2003-01-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/seltrans.c (sp_sel_trans_grab): Build array of selected item transformations
(sp_sel_trans_transform): Use original transforms to avoid rounding errors
(sp_sel_trans_ungrab): Release array
* src/dialogs/transformation.c: Implemented scaling percentages
2003-01-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/draw-context.c (spdc_set_startpoint): Snap startpoint (thanks to Nathan)
(sp_pen_context_root_handler): Ditto
* src/dialogs/transformation.c: Implement simple move dialog
2003-01-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/guideline.c (sp_guideline_new): Changed signature, fixes
granular new guideline placement bug
(sp_guideline_render): Use normal rounding, so guideline and object are aligned
* src/sp-item.h: Changed the signature of ::snappoints, this forced me to
use NRPoints near everywhere else too
2003-01-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/draw-context.c (spdc_endpoint_snap): Make Ctrl to restrict directions
to multitudes of 15 degrees (thanks to Nathan Hurst)
2003-01-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/file.c (sp_file_open_dialog): Rearrange
(sp_file_save_dialog): Ditto
(sp_file_save_document): Ditto
2003-01-13 MenTaLguY <mental@rydia.net>
* src/toolbox.c (sp_maintoolbox_create): turned off user resizing of toolbox so it autoresizes properly
2003-01-13 MenTaLguY <mental@rydia.net>
* src/toolbox.c (sp_maintoolbox_create): turned off user resizing of toolbox so it autoresizes properly
* src/print.c (sp_print_plain_bind): Move generic PS code here
(sp_print_plain_release): Ditto
(sp_print_plain_fill): Ditto
(sp_print_plain_stroke): Ditto
(sp_print_plain_image_R8G8B8A8_N): Ditto
(sp_print_document): Implement very-very simple non-gnome print dialog
2003-01-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/main.c: Made --without-popt working
2003-01-11 MenTaLguY <mental@rydia.net>
* src/xml/repr-io.c: removed bogus ATTLIST from DOCTYPE
(sp_repr_read_file): factored out duplicated code into sp_repr_do_read + added parameter for default namespace
(sp_repr_read_mem): factored out duplicated code into sp_repr_do_read + added parameter for default namespace
(sp_repr_do_read): merged duplicated code from sp_repr_read_* family
(sp_repr_do_read): insert xmlns decls for common namespaces
(sp_repr_qualified_name): basic namespace handling for SVG, XLink, and Sodipodi namespaces
(sp_repr_read_node): added parameter for default namespace
(sp_repr_read_node): removed dead code and broken re-addition of xmlns declarations (xlink?)
(repr_quote_write): UTF8 is ASCII-compatible -- removed inaccurate comment
* src/xml/repr.h: added SP_*_NS_URI macros
* src/document.c (sp_document_new): SVG is default NS
(sp_document_new_from_mem): SVG is default NS
* src/file.c (file_import_ok): SVG is default NS
* src/interface.c (sp_ui_import_one_file): SVG is default NS
* src/sodipodi.c (sodipodi_init): no default NS
(sodipodi_load_preferences): no default NS
2003-01-11 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Check for xft
* src/libnrtype/Makefile.am: Added xft_sources
* src/libnrtype/nr-type-directory.c (nr_type_read_xft_list): Load xft typefaces
* src/libnrtype/nr-type-xft.h: New file
* src/libnrtype/nr-type-xft.c: New file
2003-01-10 MenTaLguY <mental@rydia.net>
* src/dialogs/item-properties.c (sp_item_widget_new): made unimplemented controls insensitive
2003-01-04 MenTaLguY <mental@rydia.net>
* src/text-context.c (sp_text_context_finalize): folded back
into sp_text_context_finish
(sp_text_context_root_handler): Gtk IM now gets first refusal of
key press _and_ release events; toggling "unicode mode" now triggers an
IM reset; "unicode mode" bypasses IM entirely
2003-01-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/text-context.c (sp_text_context_root_handler): Moved IM back to
beginning (thanks to MenTaLguY for pointing this out)
* src/sp-object.c (sp_object_invoke_update): Merge styles only if parent changed
* src/sp-text.c (sp_text_update): Implement
* src/sp-text.c (sp_string_modified): Chain invocation so style gets updated
* src/widgets/sp-xmlview-content.c: Port to GtkTextView
* src/dialogs/xml-tree.c: Port to GtkTextView
* src/text-context.c (sp_text_context_root_handler): Consume xdigits in unicode mode
* configure.in: Removed GTK_ENABLE_BROKEN
* src/dialogs/text-edit.c: Use GtkTextView/Buffer
* src/xml/repr-util.c (sp_repr_transfer_ids): Helper by MenTaLguY
(sp_repr_move): Ditto
2003-01-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/xml-tree.c: Updated (MenTaLguY)
* src/dialogs/item-properties.c (sp_item_widget_new): Added slider (MenTaLguY)
* src/text-context.c (sp_text_context_setup): Set up Gtk IM (thanks to MenTaLguY)
(sp_text_context_setup_text): Move code here (MenTaLguY)
(sp_text_context_root_handler): Process Gtk IM (MenTaLguY)
(sptc_commit): Gtk IM signal handler (MenTaLguY)
* src/sp-text.c (sp_text_insert): Replace < 32 and not whitespace with space
* src/selection.c (SP_SELECTION_UPDATE_PRIORITY): Set Gtk - 11
* src/document.c (SP_DOCUMENT_UPDATE_PRIORITY): Set GTK - 12
2003-01-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/button.c (sp_button_paint_arrow): Draw something
2002-12-29 Lauris Kaplinski <lauris@kaplinski.com>
* src/event-context.c (sp_event_context_private_root_handler): Pan with
Shift+Button3 too (useful with windows and < 3 button mice)
* src/toolbox.c (sp_toolbox_file_create): Mek print buttons insensitive
* src/sp-text.c (sp_text_write_transform): Fixed it
* src/main.c (sp_do_export_png): Initialize y0
* src/file.c (sp_export_png_file): Use pixelstore, export min 64 rows at once,
fix miscalculated rowstride
2002-12-28 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-type-directory.c (nr_type_read_w32_list): Use
windows native fonts, if applicable
* src/libnrtype/nr-type-w32.h: New file
* src/libnrtype/nr-type-w32.c: New file
2002-12-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c (sp_print_image_R8G8B8A8_N): Implement direct PS version
2002-12-26 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.c (sp_print_bpath): Helper
(sp_print_bind): Implement non-gnome-print version
(sp_print_release): Ditto
(sp_print_fill): Ditto
(sp_print_stroke): Implement non-gnome-print version
* src/widgets/icon.c (sp_icon_image_load): Generic image loader
* src/desktop.c (sp_desktop_widget_update_zoom): Make working again
* src/widgets/button.c: New file
* src/widgets/button.h: New file
* src/toolbox.c (sp_toolbox_draw_create): Port to brand new SPButton
2002-12-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/desktop.c (sp_desktop_widget_init): Some cleanup
* src/widgets/ruler.c: Moved to widgets subdir
* src/widgets/ruler.h: Moved to widgets subdir
2002-12-16 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: --with[out]-gnome-print argument, thanks to MentaLguY
2002-12-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-guide.c (sp_guide_set): Fixed horiz/vert
* src/desktop-events.c (sp_dt_ruler_event): Fixed
(sp_dt_guide_event): Fixed
* src/helper/guideline.h: Renamed to avoid conflict with SPGuide object,
several signature changes
* src/helper/guideline.c: Ditto, removed properties
* src/helper/sp-canvas.c (sp_canvas_window_to_world): Oops, was meant to be y0
(sp_canvas_world_to_window): Ditto
2002-12-14 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/desktop-properties.c: Fully functional color picker
* src/display/nr-arena-item.h: Ported rendering from NRBuffer to NRPixBlock,
involves changes in most Arena objects. Added NO_CACHE flag to rendering.
2002-12-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/paint-selector.c (sp_paint_selector_style_button_add): Changed
SODIPODI_GLADEDIR -> SODIPODI_PIXAMPDIR (Thanks to Ted Gould)
2002-12-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-guide.c (sp_guide_class_init): Removed translatability of properties
* src/knot.c (sp_knot_class_init): Removed translatability of properties
* src/helper/sp-guide.c (sp_guideline_class_init): Removed translatability
from properties (who needs this?)
* src/widgets/icon.h: New file, use as frontend to image loading
* src/widgets/icon.c: New file
* src/document.c (sp_document_create): Generic method, implement
constructors as frontends
* src/sodipodi.c (sodipodi_dispose): Only unref documents and let
them manage list
* glade/icons.svg: New icon definition file
2002-12-08 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/align.c (sp_align_arrange_clicked): Collected all
arrangement methods into generic one
(create_base_menu): Compact
(sp_align_add_menuitem): New helper
(sp_quick_align_dialog): Use value matrix instead of different callbacks
2002-12-07 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.c (sp_canvas_expose): Free rects
* src/attributes.h: Added animation-specific attributes
* src/sp-animation.c: New file, only skeleton at moment
* src/sp-animation.h: New file
2002-12-06 Masatake YAMATO <jet@gyve.org>
* tools-version.sh: print the path to the tools.
2002-12-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-root.c (sp_root_update): Implement
* src/sp-rect.c (sp_rect_update): Implement
(sp_rect_set): Request update instead of setting shape immediately
* src/sp-item-group.c (sp_group_update): Implement
* src/sp-object.h: Replaced ::read_attr with ::set, signature change.
This involves modification in all subclasses as well.
* src/attributes.h: New file. We enumerate/define all allowed attributes
and properties, to save few string compares later.
* src/attributes.c: New file
2002-12-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-object.c (sp_object_request_update): New method. We implement
separate ::update cascade that precedes ::modified, and is meant to
be used for building item states (styles, paths and so on). In many
aspects it shares code path with ::modified.
(sp_object_invoke_update): Ditto
Wed Dec 4 01:05:05 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/widget/sp-menu-button.c: Fixed to work well.
* src/toolbox.c: enable draw buttons.
Comment out signal_connect_after.
2002-12-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-item.h: Replaced libart transforms and bboxes with libnr ones -
this involves changes almost every file there.
* src/main.c: Added POPT_AUTOHELP
2002-12-03 Masatake YAMATO <jet@gyve.org>
* tools-version.sh (TOOLS): Added automake-1.6 and
aclocal-1.6. Suggested by MenTaLguY.
(srcdir): remove version number from grep pattern.
2002-12-02 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.h: Made scrolling offsets integers
* src/helper/sp-canvas.c (scroll_to): Scroll instead of draw
* tools-version.sh (ENVPATTERN): Added FLAGS
2002-12-02 Masatake YAMATO <jet@gyve.org>
* distro, tools-version.sh: New files.
distro comes from distro-0.8.1(http://distro.pipfield.ca/).
distro and tools-version.sh should be included only in CVS version
of sodipodi.
* autogen.sh: Call tools-version.sh.
2002-12-02 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/desktop-properties.c: Partial color picker implementation
2002-12-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c: GtkObject/GObject cleanup
* src/file.c: Ditto
* TODO: Update with 0.29 tasks
* src/sp-gradient.c: GtkObject/GObject cleanup
* src/widgets/sp-widget.c: Ditto
* src/widgets/gradient-selector.c: Ditto
* src/widgets/gradient-vector.c: Ditto
* src/widgets/gradient-position.c: Ditto
* src/widgets/gradient-image.c: Ditto
* src/dialogs/fill-style.c: Ditto
2002-11-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/view.h: Derive directly from GObject
2002-11-30 Masatake YAMATO <jet@gyve.org>
* configure.in (ENABLE_AUTOTRACE): Comment out autotrace/frontline
checking till frontline becomes gtk+2 based.
2002-11-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/selection.h: Inherit directly from GObject
* src/event-context.h: Inherit directly from GObject
* src/helper/sp-canvas.c (sp_canvas_item_dispose): Set xform to NULL
* src/display/canvas-arena.c (sp_canvas_arena_destroy): Fixed typo, so
multiple destroys are allowed
* src/nodepath.c: Removed external cursor pointers
* src/knot.c (sp_knot_set_property): Ref new cursors
* src/document.c (sp_document_get_type): Inherit directly from GObject
2002-11-29 Lauris Kaplinski <lauris@kaplinski.com>
* src/knot.c (sp_knot_handler): Signature change, return correct value as it should
* src/helper/sp-canvas.c (scroll_to): Blit window, unless explicitly forbidden
(sp_canvas_size_allocate): Update onlu changed areas
* src/sp-item.c (sp_item_invoke_bbox): Signature change
* src/desktop.c (sp_desktop_widget_update_rulers): Reenabled it
(sp_desktop_set_display_area): Only update canvas root if zoom factor changes
(sp_desktop_update_scrollbars): Working
* src/helper/sp-canvas.c (paint): use full visible are for clipping, fixed
type on specifying area dimensionf in event
(sp_canvas_get_viewbox): New method
* src/desktop.c (sp_desktop_set_display_area): New method, replaces show_region
(sp_desktop_get_display_area): Replacement for ...
(sp_desktop_zoom_absolute): Use generic sp_desktop_set_visible_area
(sp_desktop_zoom_relative): Ditto
2002-11-28 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: ... and everyting else - merged SODIPODI_GTK2_BRANCH
* po/Makevars: Added this
2002-11-28 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.am (SUBDIRS): Add intl, m4.
(EXTRA_DIST): Add config.rpath.
* configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
2002-11-27 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.am (SUBDIRS): New variable.
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): New variable.
* configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
2002-11-25 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Version 0.29pre
2002-11-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-arena-glyphs.c (nr_arena_glyphs_group_add_component): Skip
if zero-sized valid path
* src/libnr/nr-path.c (nr_path_matrix_f_bbox_f_union): Allow NULL path member
(nr_path_matrix_f_point_f_bbox_wind_distance): Ditto
(nr_path_duplicate_transform): Ditto
* src/libnrtype/nr-typeface.h: Added family member to definition
* src/libnrtype/nr-type-directory.c (nr_type_register): Use family from def
* src/libnrtype/nr-type-ft2.c (nr_type_ft2_build_def): Set family member
* src/libnrtype/nr-type-gnome.c (nr_type_gnome_build_def): Set family member
2002-11-23 Lauris Kaplinski <lauris@kaplinski.com>
* src/dyna-draw-context.c: Clamp drag to [0.0 1.0]
2002-11-23 Masatake YAMATO <jet@gyve.org>
* src/node-context.c: Inlucde document.h.
(sp_node_context_stamp): New function.
(sp_node_context_root_handler): Do stamp if space key
is pressed during dragging.
* src/nodepath.c (stamp_repr): New function.
(node_event): Do stamp if the space key is pressed.
(node_ctrl_event): New function.
(sp_nodepath_node_new): Connected node_ctrl_event to n->p.knot::event.
Connected node_ctrl_event to n->n.knot::event.
* src/helper/bezier-utils.c (sp_bezier_fit_cubic_full): Fix memry leaks(u, uPrime).
This leaks are reported by Michel Schinz <Michel.Schinz@epfl.ch>.
2002-11-22 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_lookup): Added all
glyphs to 0xe000 private plane as well.
* src/widgets/gradient-selector.c (sp_gradient_selector_set_spread): Set
position widget spread as well
(sp_gradient_selector_spread_activate): Ditto
2002-11-21 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/curve.c (sp_curve_closepath): Reinitialize pointers, as we may
have reallocated path in helper
* src/knotholder.h: Added hook for knot ungrabbing
* src/knotholder.c (knot_ungrabbed_handler): Implement
(sp_knot_holder_destroy): Free list items
* src/sp-ellipse.c (sp_arc_start_set): Use genericellipse closed marker
(sp_arc_end_set): Ditto
(sp_arc_set_elliptical_path_attribute): Ditto
* autogen.sh: Added '--intl' to gettextize flags, seems to be safe for
older gettexts as well
* src/dialogs/xml-tree.c (on_tree_select_row): Remove extra blockade
counting (thanks to MenTaLguY)
(on_tree_unselect_row): Ditto
2002-11-20 Masatake YAMATO <jet@gyve.org>
* src/seltrans.c (sp_sel_trans_init): Set null to
stamp_cache.
(sp_sel_trans_ungrab): Clear stamp_cache.
(sp_sel_trans_stamp): If available, use stamp_cache.
Else build stamp_cache. l0 is removed. Don't
free the list here.
* src/seltrans.h: Included glib.h.
(struct _SPSelTrans): added new field stamp_cache.
2002-11-20 Lauris Kaplinski <lauris@kaplinski.com>
* src/interface.c (sp_ui_dialog_menu): Do not bring up > 1 transform dialogs at once
* src/seltrans.c (sp_sel_trans_stamp): Reversing still was not correct,
replaced it with explicit sort
2002-11-20 Masatake YAMATO <jet@gyve.org>
* src/seltrans.c (sp_sel_trans_stamp): The order of
selections is reversed before stamping.
The bug was reported by Michel Schinz <Michel.Schinz@epfl.ch>.
2002-11-19 Lauris Kaplinski <lauris@kaplinski.com>
* src/desktop.c (sp_desktop_prepare_shutdown): New method, allowing us nice
cleanup before ::destroy is invoked
(sp_dtw_desktop_shutdown): Prepare desktop for shutdown
* src/sp-text.c (sp_text_is_empty): Treat unicode private plane as graphical
* src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_lookup): Use private plane
direct index, if no unimap
(nr_typeface_ft2_new): Set unimap flag according to whether we have
unicode mapping table or not
2002-11-18 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in (FREETYPE_LIBS): Added direct freetype check
* src/widgets/dash-selector.c (sp_dash_selector_menu_item_new): Use created
GC, as widget is not mapped yet
(sp_dash_selector_new): Load stroke definitions from preferences
2002-11-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sodipodi-ctrl.c (sp_ctrl_build_cache): Cleaned up bitmap build
2002-11-17 Masatake YAMATO <jet@gyve.org>
* src/dialogs/xml-tree.c (sp_xml_tree_dialog): Added small
space between attribute name text field and set attribute
button.
2002-11-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/xml-tree.c (sp_xml_tree_dialog): Cleanup by MenTaLguY
* src/widgets/sp-xmlview-attr-list.c (event_attr_changed): Clamping string
width to 64[+3], thanks to MenTaLguY
2002-11-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.c (sp_canvas_motion): Get pointer if motion hints are requested
* src/select-context.c (sp_select_context_item_handler): Use motion hints
* src/dialogs/text-edit.c (sp_text_edit_dialog_read_selection): Kill annoying
warning about position > length
* src/style.h (SP_SCALE24_FROM_FLOAT): Use temporary (double) cast
(SP_SCALE24_TO_FLOAT): Ditto
* src/dialogs/xml-tree.c (cmd_set_attr): Use gal unicode wrappers
* src/widgets/sp-xmlview-attr-list.c (event_attr_changed): Use gal unicode wrappers
* src/widgets/sp-xmlview-content.c (event_content_changed): Use gal unicode wrappers
(sp_xmlview_content_changed): Ditto
* src/widgets/sp-xmlview-tree.c (element_attr_changed): Use gal unicode wrapper
(text_content_changed): Ditto
* src/dialogs/xml-tree.c: Sorted out includes a bit
(set_tree_desktop): Comment aout transient, as some WMs do not do it proper
(on_desktop_selection_changed): Set/release block
(on_tree_unselect_row): Ditto
(on_tree_select_row): Ditto
(get_dt_select): Use selection helper methods
2002-11-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_glyph_outline_get): Use
metrics properly
* src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_ensure_slot_v): Implement for
font missing vertical metrics
(nr_typeface_ft2_ensure_outline): Ditto
* src/libnrtype/nr-type-directory.c (nr_type_read_private_list): Read face
number from proper place
* src/libnrtype/nr-font.c (nr_font_generic_glyph_area_get): Implement
* src/sp-text.c (sp_string_calculate_dimensions): Use metrics properly
(sp_string_set_shape): Ditto
* src/print.c (sp_print_stroke): Print dash
2002-11-14 Lauris Kaplinski <lauris@kaplinski.com>
* src/file.c (sp_file_exit): Close all views before exiting
* src/interface.c (sp_ui_close_view): Destroy viewwidget properly
(sp_ui_close_all): New method
* src/sp-rect.c (sp_rect_write_transform): Adjust dash in addition to stroke width
* src/display/nr-arena-shape.c (nr_arena_shape_update): Only dash if
total dash length is >= 1.0 pixels
* src/dialogs/stroke-style.c (sp_stroke_style_line_update_repr): Divide
dash values by line width
(sp_stroke_style_scale_line): Multiply dash values by line width
(sp_stroke_style_line_update): Ditto
* src/widgets/dash-selector.c (sp_dash_selector_set_dash): Use 1/1000 of
total dash distance as delta
* src/sp-gradient.c (sp_gradient_write): Set xlink:href attribute
(sp_stop_write): Do it the right way
2002-11-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/style.c (sp_style_read_dash): Allow comma separators
(sp_style_read): Read dash presentation attributes
* src/widgets/dash-selector.c: New file
* src/widgets/dash-selector.h: New file
* src/dialogs/stroke-style.c (sp_stroke_style_line_widget_new): Added dash
pattern selector
(sp_stroke_style_line_update): Update dash
(sp_stroke_style_line_update_repr): Ditto
(sp_stroke_style_line_dash_changed): Callback
2002-11-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/xml-tree.c: Naviagtion buttons, better layout and other
improvements by MenTaLguY <mental@rydia.net>
2002-11-12 Masatake YAMATO <jet@gyve.org>
* configure.in: required frontline-0.5.4.
You can get both autotrace and frontline from
http://sourceforge.net/autotrace.
(AC_PROG_AS): wrapped by ifdef.
Missing to add ChangeLog before commiting.
2002-11-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-gradient.c (nr_rgradient_render_generic_symmetric): Fix
array read overflow
(nr_rgradient_render_generic_optimized): Ditto
* src/widgets/paint-selector.c (sp_paint_selector_write_lineargradient): Normalize
gradient transform and recalculate positions before applying
(sp_paint_selector_write_radialgradient): Ditto
* src/widgets/gradient-selector.c (sp_gradient_selector_set_mode): New method
(sp_gradient_selector_init): Added units and spread optionmenu
* src/widgets/gradient-position.c (sp_gradient_position_motion_notify): Comment
out nonuniform placement, as it did not work correctly
* src/libnr/nr-matrix.c (nr_matrix_d_invert): Fix really silly bug generating identities
(nr_matrix_f_invert): Ditto
* src/dialogs/stroke-style.c (sp_stroke_style_paint_update): Set gradient props
* src/dialogs/fill-style.c (sp_fill_style_widget_update): Set gradient props
* src/sp-gradient.h: Changed units enumeration, so 0 is default
* src/display/nr-arena-shape.c (nr_arena_shape_pick): Re-enable SVP based check,
only do winding check, if object is filled
* src/file.c: Removed printing code, only frontends remain
* src/print.c (sp_print_document): Implement
(sp_print_document_to_file): Ditto
* src/sp-gradient.c (sp_gradient_ensure_colors): Fixed writing last color
outside of allocated color vector
2002-11-10 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Commented out AM_PROG_AS, as there is not such macro
in my installation
* src/libnrtype/nr-typeface.h: Signature change for outline unref
* src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_glyph_outline_get): Implemented
vertical metrics outline
(nr_typeface_gnome_glyph_advance_get): Ditto for advance
* src/libnrtype/nr-type-directory.c: Cleaned up a lot, now we can hopefully
work with multiple font sources
* src/libnrtype/nr-type-directory.h: Moved namelist to nr-type-primitives
* src/libnrtype/nr-type-primitives.c: New file
* src/libnrtype/nr-type-primitives.h: New file
* src/libnrtype/nr-type-ft2.c: New file
* src/libnrtype/nr-type-ft2.h: New file
2002-11-09 Masatake YAMATO <jet@gyve.org>
* configure.in (AM_CONDITIONAL(USING_OAF)): moved to toplevel.
(AM_PROG_AS): used to check gas/as.
* src/toolbox.c (sp_update_draw_toolbox): tooltips
are added to the buttons.
(gtk_event_box_new_with_image_file_and_tooltips)
(gtk_event_box_force_draw_parent): New functions.
* src/widgets/sp-menu-button.c (sp_menu_button_draw_arrow): New function.
(sp_menu_button_draw): used sp_menu_button_draw_arrow.
(sp_menu_button_expose): ditto.
2002-11-06 Masatake YAMATO <jet@gyve.org>
* src/helper/curve.c (sp_curve_new_from_bpath): Initialize substart
field.
(sp_curve_reverse): assert if bs->code is ART_MOVETO_OPEN
or ART_MOVETO.
Added functions that converts multiple items to curves.
* src/path-chemistry.c (sp_selected_item_to_curved_repr):
Use sp_selected_item_to_curved_repr0.
(sp_selected_path_to_curves0): New function.
(sp_selected_path_to_curves): New function.
(SP_TOCURVE_*): Placeholders.
2002-11-05 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/export.c: Made glade-free dialog
* src/file.c (sp_export_png_file): Make filename const
* configure.in (CFLAGS): Added GCC warnings
2002-11-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/node-edit.c: Removed unused glade stuff
2002-11-04 Masatake YAMATO <jet@gyve.org>
* src/dialogs/xml-tree.c (sp_xml_tree_dialog): Added vpaned
between sp_xmlview_attr_list_new and text fields.
2002-11-03 Lauris Kaplinski <lauris@kaplinski.com>
* Makefile.am (SUBDIRS): Removed macros
* autogen.sh: Made self-contained
* configure.in: Removed macros
* src/widgets/sp-xmlview-tree.c: new file by MenTaLguY
* src/widgets/sp-xmlview-content.c: new file by MenTaLguY
* src/widgets/sp-xmlview-attr-list.c: new file by MenTaLguY
* src/libnrtype/nr-type-directory.c: Parsing works for normal fonts
2002-11-02 Masatake YAMATO <jet@gyve.org>
* README: removed GYVE.
* doc/keybindings.txt: added a item for stamping.
* doc/architecture.txt: Fix a typo in a document.
/ is forgotten in a sample svg.
* src/rect-context.c (sp_rect_context_config_widget): Fix a typo in a
label.
2002-11-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/desktop.h: s/GtkEventBoxClass/SPViewClass/; thanks to MenTaLguY
* configure.in (have_gnome_print): Gnome-print support can be disabled
* src/libnrtype/Makefile.am (INCLUDES): SODIPODI_GNOME_PRINT_CFLAGS
* src/Makefile.am (sodipodi_LDADD): Added SODIPODI_GNOME_PRINT_LIBS
(INCLUDES): Same for CFLAGS
2002-10-31 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/font-selector.c (struct _SPFontSelector): Use NRNameListss
(sp_font_selector_init): Setup family namelist
(sp_font_selector_family_select_row): Setup style namelist
(sp_font_selector_set_font): Use namelist
* src/libnrtype/nr-type-directory.c (nr_type_directory_lookup): New method
(nr_type_directory_style_list_get): Return list of full names
* src/libnrtype/nr-typeface.h: Added full name, removed generic style query
2002-10-31 Masatake YAMATO <jet@gyve.org>
* src/sp-image.c (autotrace_dialog): invokeed frontline_init
if it is defined. in-cvs version of frontline defines
frontline_init.
2002-10-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/curve.c (sp_bpath_clean): Fixed warning (thanks to MenTaLguY)
2002-10-26 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c (sp_text_edit_dialog_update_object): Make
style srings lowercase before applying
* src/dialogs/desktop-properties.c (sp_desktop_dialog_new): Added
togglebutton for showing/hiding page border
* src/desktop.c (sp_dt_namedview_modified): Show/hide page border
* src/sp-namedview.c (sp_namedview_read_attr): Listen to "showborder"
2002-10-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/item-properties.c: Removed libglade dependency
2002-10-23 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Added check for popt.h
* src/dialogs/align.c: Removed libglade dependency
* src/toolbox.c: Removed libglade dependency
2002-10-22 Lauris Kaplinski <lauris@kaplinski.com>
* src/toolbox.c (sp_toolbox_button_new): Helper
(sp_toolbox_toggle_button_new): Ditto
(sp_toolbox_file_create): Degladeified method
* src/file.c (sp_file_export_dialog): Frontend
* src/toolbox.c (sp_toolbox_toggle_button_new): Helper
(sp_toolbox_draw_create): Use previous
* src/main.c: #include <desktop.h>
Mon Oct 21 13:31:41 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* configure.in: Fixed dependency bug.
Removed --with/without-gnome-xml2 config option.
2002-10-21 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/sp-toolbox.c: Removed whole gtk.h inclusion
* src/toolbox.c: Added missing headers
* src/print.c (sp_print_image_R8G8B8A8_N): Implement
(sp_print_preview): Remove root transform
(sp_print_fill): Do not apply ctm twice
Mon Oct 21 02:11:08 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* autogen.sh: Fixed package version in echo message.
* configure.in: Rewrite using PKG_CHECK_MODULES.
It reduced verbose package checks.
* src/main.c: Removed unused GNOME headers.
* src/sp-ellipse.c: Ditto.
* src/sp-image.c: Ditto.
* src/toolbox.c: Ditto.
* src/dialogs/align.c: Ditto.
* src/dialogs/desktop-properties.c: Ditto.
* src/dialogs/display-settings.c: Ditto.
* src/dialogs/document-properties.c: Ditto.
* src/dialogs/object-attributes.c: Ditto.
* src/dialogs/object-properties.c: Ditto.
* src/dialogs/stroke-style.c: Ditto.
* src/dialogs/text-edit.c: Ditto.
* src/dialogs/tool-attributes.c: Ditto.
* src/dialogs/tool-options.c: Ditto.
* src/helper/units.c: Ditto.
* src/widgets/font-selector.c: Ditto.
* src/widgets/gradient-selector.c: Ditto.
* src/widgets/paint-selector.c: Ditto.
* src/widgets/sp-color-selector.c: Ditto.
* src/selection.c: Renamed release handler.
* src/sp-gradient.c: Fixed non existence destroy signal bug.
* src/sp-item.c: Ditto.
* src/style.c: Ditto.
* src/widgets/gradient-image.c: Ditto.
* src/widgets/gradient-vector.c: Ditto.
* src/sp-object.c: Cleanup.
Sun Oct 20 12:22:03 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* autogen.sh: Specify automake version to 1.6.1.
* configure.in: Cleanup.
* src/desktop-events.c: Cleanup and removed unused gnome header.
* src/desktop.c: Ditto.
* src/draw-context.c: Ditto.
* src/dyna-draw-context.c: Ditto.
* src/event-context.c: Ditto.
* src/rect-context.c: Ditto.
* src/spiral-context.c: Ditto.
* src/star-context.c: Ditto.
* src/file.c: Ditto.
* src/help.c: Ditto.
* src/main.c: Ditto.
* src/sp-anchor.c: Ditto.
* src/sp-item-group.c: Ditto.
* src/sp-item.c: Ditto.
* src/sp-rect.c: Ditto.
* src/sp-shape.c: Ditto.
* src/sp-spiral.c: Ditto.
* src/sp-star.c: Ditto.
* src/interface.c: Ditto.
We lost icon for sp_about function.
* src/sp-image.c: Cleanup and removed unused gnome header.
Replaced by GtkDialog.
* src/document.c: Ditto.
* src/sodipodi.c: Ditto.
* src/sp-namedview.c: Fixed bug that SPGuide was unrefed by
gtk_object_unref.
* src/sp-object.c: Fixed up release/disopse/finalize policy.
We now got works again.
(sp_object_class_init): Fixed object signal handler connection bug
at release signal creation.
* src/sp-pattern.c: Moved to g_object_unref.
* src/sp-root.c (sp_root_release): Check if namedviews is NULL.
* src/sp-text.c: Moved to g_object_unref.
Removed unused gnome dependency.
* src/svg-view.c: Moved to g_object_unref and
g_object_get/set_data.
* src/toolbox.c: Reverted from SPWrap to GtkTable.
It's not a time to use SPWrap.
* src/dialogs/export.c: Moved arena object to GObject functions.
* src/dialogs/item-properties.c: Moved to g_object_unref.
* src/dialogs/xml-tree.c: Cleanup.
* src/display/nr-arena-glyphs.c: Moved from finalize to dispose.
* src/display/nr-arena-group.c: Ditto.
* src/display/nr-arena-image.c: Ditto.
* src/display/nr-arena-item.c: Ditto.
* src/display/nr-arena-shape.c: Ditto.
* src/display/nr-arena.c: Ditto.
* src/xml/sp-color-selector.c (sp_color_selector_init): Added
GINT_TO_POINTER cast.
2002-10-20 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-compose-transform.c (nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM):
Use mmx subcomposers if needed
* src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S: New file
2002-10-19 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-compose-transform.c (nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM_0):
Split composer
(nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM_n): Ditto
2002-10-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S: new file
* src/libnr/nr-path.c (nr_path_matrix_f_bbox_f_union): Moved bpath
bbox calculation here
(nr_curve_bbox): Rearrange comparisons
Thu Oct 17 15:25:43 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* Removed macros directory.
* Makefile.am, autogen.sh, configure.in: Corresponding changes.
2002-10-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.c: Use idle priority lower than Gtk redraw
* src/display/nr-arena-shape.c (nr_arena_shape_pick): Use libnr
distance7wind calculation, if item is not at render state
(nr_arena_shape_update): Only update bbox, if render state is not
needed. This gave us approximately 10x faster dragging of comlex shapes
* src/libnr/nr-path.c (nr_line_wind_distance): New helper method
(nr_curve_bbox_wind_distance): Ditto
(nr_path_matrix_f_point_f_bbox_wind_distance): Fast method to find
bbox and/or wind and/or distance to bezier path
2002-10-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/print.h: New file, frontend to printing
* src/print.c: New file, frontend to printing
2002-10-15 Davide Puricelli <evo@debian.org>
* debian/*: Updated
2002-10-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-item.c (sp_item_invoke_print): Rename, signature change
* src/sp-item.h: SPItem::print signature change
* src/forward.h: Added SPPrintContext
* src/libnr/testnr.c (main): Fill mask with blocks of transparent, opaque
and random data. This should be closer to reality and (surprise!) gives better
performance numbers too!
* src/libnrtype/nr-typeface.c: Moved everyting to virtual method vector
Sun Oct 13 20:54:15 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* autogen.sh: Come from GNOME2.
Sun Oct 13 20:27:04 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/desktop-events.c, src/desktop.c,
src/dialogs/object-properties.c:
Moved gnome_pixmap_new_from_file to gtk_image_new_from_file.
* src/draw-context.c: Replaced finalize with destory.
* src/sp-polygon.c: Fixed property bug which did not work
correctly.
* src/widgets/sp-wrap-box.c, src/widgets/sp-wrap-box.h,
src/widgets/sp-hwrap-box.c, src/widgets/sp-hwrap-box.h,
src/widgets/sp-vwrap-box.c, src/widgets/sp-vwrap-box.h: New files.
* src/widgets/test-wrapbox.c: New file.
* src/widgets/Makefile.am: Added wrapbox stuffs.
* src/widgets/.cvsignore: Added test-wrapbox.
* src/widgets/sp-toolbox.c: Used g_signal_new instead of
gtk_signal_new, because we need accumulater to control signal
handler flow, and previous codes are not perfect.
Sun Oct 13 04:18:41 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sodipodi.c, sodipodi.h: sodipodi_get_elapsed_time()
was useless, so removed.
* src/knot.c: Replaced finalize with dispose.
use GDK_CURRENT_TIME instead of sodipodi_get_elapsed_time().
* src/select-context.c: Use GDK_CURRENT_TIME instead of
sodipodi_get_elapsed_time().
* src/style.c: Replaced destroy with release.
* src/text-context.c: Replaced finalize with destory,
because it's not a direct subclass of GObject.
Replaced noisy gtk_signal_disconnect_by_data with
g_signal_handlers_disconnect_matched.
* src/toolbox.c: Use normal gtk_menu_item_set_submenu instead of
original gtk_menu_popup callback.
* src/sp-object.c: Fixed illegal signal emission.
* src/selection.c:
* src/dialogs/fill-style.c: Added required headler files.
* src/dialogs/item-properties.c: Depressed warning.
* src/display/canvas-arena.c: Use GDK_CURRENT_TIME instead of
sodipodi_get_elapsed_time().
* src/helper/sp-guide.c: Cleanup.
* src/widgets/sp-menu-button.c: Use GDK_CURRENT_TIME instead of
sodipodi_get_elapsed_time().
Changed popup style.
2002-10-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.c (uta_clear): Experimental method
(paint): Return, if events pending (commented out)
(do_update): Return value
(idle_handler): Use update return value
* src/libnr/testnr.c: Speed test
* src/libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S: New file
* src/helper/sp-canvas-util.c (sp_canvas_clear_buffer): Be quick
* src/helper/sp-canvas.h: Moved update flags back here
* src/display/canvas-arena.c (sp_canvas_arena_update): Sort updates according to affine (again)
* src/libnr/have_mmx.S: New file (copied from gdk-pixbuf)
* configure.in (use_mmx_asm): Check for mmx
* src/libnr/nr-compose.c (nr_R8G8B8A8_P_R8G8B8A8_P_A8_RGBA32): Use mmx if present
* src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S: Assembler code
2002-10-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.h: Changed object type to SPCanvas, cleanup
* src/helper/sp-canvas.c: Ditto
2002-10-10 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas.c: Local version of praised GnomeCanvas
* src/helper/sp-canvas.h: Local version of praised GnomeCanvas
* src/libnr/nr-gradient.c (nr_rgradient_render_generic_symmetric): Optimize
2002-10-09 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-blit.c (nr_blit_pixblock_mask_rgba32): New method
* src/libnr/nr-gradient.c (nr_rgradient_renderer_setup): Do r == 0 correctly
(nr_rgradient_render_generic_optimized): Optimize
(nr_rgradient_render_block_end): New method
* configure.in: Version 0.28pre
2002-10-09 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Version 0.27
* src/text-context.c (sp_text_context_root_handler): Only turn off unimode,
if there really is string associated with key
2002-10-09 Masatake YAMATO <jet@gyve.org>
* src/sp-image.c (load_splines): changed the order
of arguments. this change is for frontline-0.5.3.
* configure.in: required frontline-0.5.3.
To build sodipodi with frontline you have to get:
http://autotrace.sourceforge.net/snapshots/autotrace-0.30.8.tar.gz
http://autotrace.sourceforge.net/frontline/frontline-0.5.3.tar.gz
2002-10-08 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/gradient-position.c (sp_gradient_position_motion_notify): Do
not mess with lineargradient skew
* src/sp-ellipse.c (sp_arc_modified): Continue upstream
Mon Oct 7 01:41:23 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* Merged from HEAD branch.
2002-10-07 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c: Moved frontends here
* src/dialogs/node-edit.h: Moved declarations here
* src/desktop.c (sp_desktop_widget_view_position_set): Use grid placement
(sp_desktop_widget_namedview_modified): Read grid placement
(sp_desktop_widget_update_rulers): Use grid placement
(sp_desktop_set_coordinate_status): Disable, until sorted out
* src/widgets/font-selector.c (sp_font_selector_set_font): Implement
* src/libnrtype/nr-rasterfont.c (nr_rasterfont_ensure_glyph_slot): Oops, alloc
and clear the right number of blocks
* src/libnr/nr-compose.c (nr_R8G8B8_R8G8B8_A8_RGBA32): Implement
(nr_R8G8B8_EMPTY_A8_RGBA32): Implement
* src/libnr/nr-blit.c (nr_blit_pixblock_mask_rgba32): Implement
* src/widgets/font-selector.c (sp_font_preview_expose): Implement
(sp_font_preview_set_font): Ditto
* src/libnr/nr-pixblock-pattern.h: New file
* src/libnr/nr-pixblock-pattern.c: New file
2002-10-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/toolbox.c (sp_toolbox_draw_create): Do not expand/fill use correct name for text
* sodipodi.spec.in: Update to cleaner version by Dag Vieers
* src/sp-text.c (sp_text_is_empty): New method
(sp_string_release): Use ::release, not ::destroy
(sp_tspan_release): Ditto
(sp_text_release): Ditto
* src/text-context.c (sp_text_context_selection_changed): Forget text
(sp_text_context_forget_text): New method, remove empty text item
* src/sp-text.c (sp_tspan_build): Ensure there is always text child
* src/sp-item-group.c (sp_group_bbox): Do not set bbox to 0,0,0,0
* src/select-context.c (sp_select_context_root_handler): Set grabbed to NULL on release
* src/path-chemistry.c (sp_selected_path_combine): Use item2root transform
(sp_selected_path_break_apart): Ditto
* src/sp-item.c (sp_item_i2root_affine): New method
* src/widgets/gradient-position.c (sp_gradient_position_motion_notify): Reset
gradient relative transform to symmetric rectilinear if dragging
* src/style.c (sp_style_merge_ipaint): Use "release" signal
(sp_style_read_ipaint): Ditto
* src/sp-pattern.c (sp_pattern_read_attr): Use "release" signal
* src/sp-item.c (sp_item_read_attr): Use "release" signal
* src/sp-image.c (autotrace_dialog): Connect "release" instead of "destroy"
* src/sp-gradient.c (sp_gradient_href_release): Use "release" instead of "destroy"
2002-10-06 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* src/libnr/Makefile.am (libnr_a_SOURCES): added
nr-gradient.h. (nr-gradient.c appeared twice.)
2002-10-04 Masatake YAMATO <jet@gyve.org>
* src/widgets/font-selector.c: Inlucded stdlib.h for atof.
2002-10-05 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-gradient.c (nr_rgradient_renderer_setup): Use different base renderers
(nr_rgradient_render_block_symmetric): Split frontend
(nr_rgradient_render_block_optimized): Ditto
(nr_rgradient_render_generic_optimized): Asymmetric renderer
* src/sp-object.c (sp_object_invoke_release): new frontend
(sp_object_detach): release object
(sp_object_detach_unref): Ditto
* src/sp-object.h: Added ::release virtual method
* src/sp-object.c (sp_object_invoke_shutdown): New method
2002-10-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-item-group.c (sp_item_group_ungroup): Rewrite it, so it moves
all non-items to main <defs> node, preserving logical order and building
objects in correct sequence
* src/desktop-affine.c: Methods for root coordinate system, fixes misplacement bug
* src/libnrtype/nr-rasterfont.c: Made working
* src/libnrtype/nr-font.c (nr_font_new_default): Do linking
(nr_font_unref): Ditto
* src/libnrtype/nr-type-directory.c (nr_typeface_unref): Moved here, implemented list
* src/display/nr-arena-glyphs.c (nr_arena_glyphs_update): Port to rfont
(nr_arena_glyphs_pick): Ditto (placeholder)
(nr_arena_glyphs_set_path): Ditto
(nr_arena_glyphs_fill_mask): Ditto
* src/libnr/nr-matrix.h (NR_MATRIX_DF_EXPANSION): New macro
(NR_MATRIX_DF_EXPANSION2): Ditto
2002-10-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_text_set_shape): Make document insensitive temporarily
* src/text-context.c (sp_text_context_root_handler): Allow entering
unicode mode by Ctrl-u
2002-10-02 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-chars.c (sp_chars_add_element): Signature change
(sp_chars_show): Ditto
* src/display/nr-arena-glyphs.c (nr_arena_glyphs_group_add_component): Signature change
* src/libnrtype/nr-rasterfont.c (nr_rasterfont_new): Set it up
(nr_rasterfont_unref): Release glyph slots
(nr_rasterfont_render_glyph_mask): Implement
(nr_rasterfont_ensure_glyph_slot): New helper
* src/sp-text.c: Port to new chars signature
* src/sp-chars.h: Use font instead of typeface
* src/libnr/nr-gradient.c (nr_lgradient_render_block): Signature change
(nr_lgradient_renderer_setup): Use generic base class
(nr_rgradient_renderer_setup): Ditto
(nr_rgradient_render_block): Signature change
* src/libnr/nr-render.h: New file
2002-10-01 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c (sp_text_edit_dialog_update_object): Use libnrtype
(sp_text_edit_dialog_read_selection): Ditto
(sp_text_edit_dialog_font_changed): Ditto
* src/libnrtype/nr-type-directory.h: Implement NRNameList
* src/libnrtype/nr-type-directory.c (nr_type_directory_lookup_fuzzy): Force lowercase
(nr_type_directory_family_list_destructor): Implement
(nr_type_directory_family_list_get): Ditto
(nr_type_directory_style_list_destructor): Ditto
(nr_type_directory_style_list_get): Ditto
* src/widgets/font-selector.c: New file
* src/widgets/font-selector.h: New file
* src/libnrtype/nr-rasterfont.c: New file
* src/libnrtype/nr-rasterfont.h: New file
* src/libnr/nr-matrix.c (nr_matrix_f_set_scale): Correct signature
* src/sp-text.c (sp_font_get_glyph_bbox): Use libnrtype
(sp_font_get_glyph_advance): Ditto
(sp_font_get_glyph_bbox_lr2tb): Ditto
(sp_string_calculate_dimensions): Ditto
(sp_string_set_shape): Ditto
* src/sp-chars.c (sp_chars_destroy): Use libnrtype
(sp_chars_bbox): Ditto
(sp_chars_show): Ditto
(sp_chars_clear): Ditto
(sp_chars_add_element): Ditto
(sp_chars_normalized_bpath): Ditto
(sp_chars_do_print): Ditto
* src/sp-chars.h (sp_chars_set_paintbox): Use libnrtype
* src/libnrtype/nr-type-gnome.h: Placeholder
* src/libnrtype/nr-type-directory.c: New file
* src/libnrtype/nr-type-directory.h: New file
* src/libnrtype/nr-font.c: New file
* src/libnrtype/nr-font.h: New file
* src/libnrtype/nr-typeface.c: New file
* src/libnrtype/nr-typeface.h: New file
* src/Makefile.am (SUBDIRS): Added libnrtype
* src/libnr/nr-path.h: Placeholder
2002-09-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/gradient-position.c (spgp_clip_line): New method
(spgp_draw_rect): Ditto
Sun Sep 29 14:17:31 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/knot.c, knot.h: Moved SPKnot from subclass of GtkObject
to GObject.
* src/knotholder.c: Ditto
* src/seltrans.c: Ditto
* src/selection.c: Migrated dispose to destroy for remainder.
* src/desktop-events.c: Fixed to connect signal handler correctly.
* src/desktop.c: Fixed to add button correctly.
* src/sp-use.c: Depressed gchar * warnings.
* src/sp-guide.c: Indented.
2002-09-29 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-gradient.c (sp_gradient_set_gs2d_matrix_f): Oops, write the right transform
* src/widgets/gradient-position.c: Use new sensible internals
* src/widgets/gradient-position.h: Ported to ne internals
* src/widgets/paint-selector.c (sp_paint_selector_set_mode_gradient): Removed
separate linear/radial optionmenu
* src/widgets/gradient-selector.c (sp_gradient_selector_set_gs2d_matrix_f): New method
(sp_gradient_selector_get_gs2d_matrix_f): Ditto
(sp_gradient_selector_set_rgradient_position): Implement
(sp_gradient_selector_init): Pax buttons under vector
* src/widgets/gradient-position.c: New positioning syntax, lots of radial stuff
* src/libnr/nr-matrix.h (NR_MATRIX_DF_TRANSFORM_X): Convenience macro
(NR_MATRIX_DF_TRANSFORM_Y): Ditto
* src/dialogs/object-properties.c (sp_object_properties_dialog): Shorten string
* src/dialogs/stroke-style.c (sp_stroke_style_paint_update): Use new
gradient widgets syntax
(sp_stroke_style_paint_dragged): Ditto
(sp_stroke_style_paint_changed): Ditto
* src/dialogs/fill-style.c (sp_fill_style_widget_update): Use new gradient
widgets syntax for bbox, transform, position
(sp_fill_style_widget_paint_dragged): Ditto, use helper
(sp_fill_style_widget_paint_changed): Ditto
* src/sp-gradient.c (sp_gradient_get_gs2d_matrix_f): New method
(sp_gradient_set_gs2d_matrix_f): Ditto
(sp_gradient_write): Implement
(sp_lineargradient_write): Ditto
(sp_radialgradient_write): Ditto
* src/select-context.c (sp_select_context_root_handler): Process button
release only if grabbed
2002-09-28 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/gradient-vector.c (sp_gvs_rebuild_gui_full): Do not add id label
* src/widgets/paint-selector.c (sp_paint_selector_init): Added radial button
(sp_paint_selector_set_style_buttons): Set radial
(sp_paint_selector_set_mode_gradient): Set correct button
* glade/Makefile.am (pixmaps): Added fill_radial.xpm
Sat Sep 28 14:35:21 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/toolbox.c: Use gtk_window_set_resizable() instead of
gtk_window_set_policy(), because it is deprecated in GTK+2.
* src/file.c: Depressed warning on gnome_print_master_perview_new.
* src/sp-object.h, sp-object.c: Added destroy signal and
remove dispose signal.
* src/selection.c, sp-gradient.c, style.c,
src/widgets/gradient-vector.c: Moved dispose to destroy.
* src/sp-guide.c: Added property.
* src/helper/sp-guide.c: Added property.
* src/sp-namedview.c: Moved gtk_object_unref to g_object_unref.
* src/dialogs/text-edit.c: Removed some GNOME dependencies.
* src/helper/gnome-utils.h gnome-utils.c: New file.
Utilities to help to remove GNOME libraries.
* src/interface.c: Moved some GNOME functions to gnome-utils.h.
2002-09-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/paint-selector.c (sp_paint_selector_get_gradient_position_floatv): Set radial
* src/libnr/nr-pixblock-pixel.c (nr_compose_pixblock_pixblock_pixel): Kill
division by zero, if fg and bg are both fully transparent
* src/dialogs/fill-style.c (sp_fill_style_widget_update): Implement radial
(sp_fill_style_widget_paint_dragged): Ditto
(sp_fill_style_widget_paint_changed): Ditto
* src/sp-gradient.c (sp_radialgradient_set_position): New method
* src/gradient-chemistry.c (sp_gradient_ensure_radial_private_normalized): New method
(sp_gradient_get_radial_private_normalized): Ditto
(sp_item_force_fill_radialgradient_vector): Ditto
(sp_item_force_stroke_radialgradient_vector): Ditto
2002-09-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/widgets/paint-selector.c (sp_paint_selector_set_gradient_radial): New method
* src/widgets/gradient-position.c (sp_gradient_position_set_mode): New method
(sp_gradient_position_update): Setup linear/radial renderer as needed
* src/widgets/gradient-selector.c (sp_gradient_selector_set_mode): New method
(sp_gradient_selector_set_lgradient_position): Renamed method
(sp_gradient_selector_set_rgradient_position): Ditto
(sp_gradient_selector_get_lgradient_position_floatv): Renamed method
(sp_gradient_selector_get_rgradient_position_floatv): Ditto
* src/libnr/nr-pixblock-pixel.c (nr_compose_pixblock_pixblock_pixel): Fixed
R8G8B8 target to render channels separately
* src/sp-gradient.c (sp_gradient_from_position_xy): Made gradient method,
changed signature, added gradientTransform to list
(sp_gradient_to_position_xy): Ditto
* src/libnr/nr-pixblock-pixel.c: New file
* src/libnr/nr-pixblock-pixel.h: New file
* src/libnr/nr-gradient.c (nr_lgradient_renderer_setup): Use gradientspace
(nr_lgradient_render_block): Use generic renderer, if no specific one
(nr_lgradient_render_generic): Implement
* src/sp-gradient.c (sp_gradient_render_vector_block_rgb): Compose correctly
* src/libnr/nr-blit.c (nr_compose_pixblock_pixblock_pixel): Generic pixel composer
2002-09-26 Masatake YAMATO <jet@gyve.org>
* src/select-context.c (sp_select_context_root_handler):
used sp_canvas_item_grab where I want to receive key_press event.
(sp_select_context_item_handler): Ditto.
2002-09-26 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-gradient.c: New file
* src/libnr/nr-gradient.h: New file
* src/sp-gradient.c (sp_lineargradient_painter_new): Construct libnr renderer
(sp_lg_fill): Use it
(sp_radialgradient_painter_new): Construct renderer
(sp_rg_fill): Use it
* src/sp-shape.c (sp_shape_print): Clear pixelstore
* src/sp-chars.c (sp_chars_print_bpath): Clear pixelstore before each rendering
* src/sp-gradient.c (sp_rg_fill): Oops, moved declaration before statements
(sp_rg_fill): Ditto
2002-09-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-compose.c (nr_R8G8B8A8_N_EMPTY_R8G8B8A8_P): Oops, evil bug
* src/libnr/nr-rect.c (nr_rect_d_matrix_d_transform): New method
(nr_rect_f_matrix_f_transform): Ditto
* src/sp-object-repr.c (sp_object_type_lookup): Added <pattern>
* src/sp-pattern.h: New file
* src/sp-pattern.c: New file
* src/Makefile.am (sodipodi_SOURCES): Added sp-pattern.[c,h]
* src/sp-gradient.c (sp_rg_fill): Implement, seems correct although SLOW
(sp_radialgradient_painter_new): Implement, except viewport percentages
(sp_radialgradient_read_attr): Initialize right numbers
(sp_radialgradient_init): Ditto
Tue Sep 24 01:01:21 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/interface.c (sp_ui_menu_append_item): Fixed to work well,
even if label is exist and stock is not exist.
* src/widgets/sp-menu-button.c (sp_menu_button_menu_position):
Modified for popup menu calculation.
* src/widgets/sp-toolbox.c: Added GTK_SIGNAL_FUNC cast.
2002-09-24 Masatake YAMATO <jet@gyve.org>
* src/select-context.c (sp_select_context_root_handler,
sp_select_context_item_handler): used GDK_space instead
of GDK_BUTTON_2. Added Lauris's event mask code after
grabbing an item.
* src/seltrans.c (sp_sel_trans_handle_stamp): removed.
(sp_seltrans_handle_event): handled "pressing space" as
stamping.
(gdk/gdkkeysyms.h): included.
* src/knot.c (sp_knot_class_init): removed "stamped" signal
again.
(sp_knot_handler): didn't emit stamped anymore.
2002-09-24 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/nr-matrix.c (nr_matrix_d_set_scale): new method
(nr_matrix_f_set_scale): Ditto
* src/sp-use.c (sp_use_href_changed): Use unref instead of destroy
(sp_use_destroy): Ditto
* src/seltrans.c (sp_sel_trans_scale): Allow scaling in one dimension,
if it is > 0.0
(sp_sel_trans_scale_request): Snap in one dimension, if > 0.0
* src/sp-path.c (sp_path_bbox): Allow empty bboxen
* src/helper/art-utils.c (sp_bpath_matrix_d_bbox_d_union): Union always,
even if computed bbox is empty
Mon Sep 23 01:37:09 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/widgets/sp-menu-button.c: Clean up code.
* src/widgets/sp-menu-button.c (sp_menu_button_menu_position):
In GTK+2, button widget share its window among toplevel window,
so I fixed offset calculation.
* src/knot.c: Clean up unused marshaller.
* src/knotholder.c: Ported.
2002-09-23 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/sp-canvas-util.c (sp_canvas_item_grab): new method to
circumvent GnomeCanvas bug
* src/knot.c (sp_knot_handler): Use sp_canvas_item_grab
2002-09-23 Masatake YAMATO <jet@gyve.org>
* src/knot.c (sp_knot_class_init): Added "stamped" signal
(sp_knot_handler): Emit it
* src/select-context.c (sp_select_context_item_handler): Do stamping
(sp_select_context_root_handler): Ditto
* src/seltrans.c (sp_sel_trans_stamp): new method
(sp_show_handles): Connect "stamped" signal
(sp_sel_trans_handle_stamp): new handler
2002-09-23 Lauris Kaplinski <lauris@kaplinski.com>
* src/seltrans.c (sp_seltrans_handle_event): Just here for my debugging
* src/knot.c (sp_knot_handler): No ungrabbing, added TOP CANVAS HACK,
so we can now get key events and do not kill Gdk
* configure.in: Version 0.27pre
Sun Sep 22 22:06:57 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/desktop.c: add destroy call for GtkDialog.
* src/sp-object.c, sp-polyline.c, style.c,
src/display/canvas-area.c, src/widgets/gradient-image.c,
gradient-vector.c: Ported and fixed.
* src/sp-ruler.c: Bug fixed that
misspelling s/GtkHRuler/SPHRuler/ and s/GtkVRuler/SPVRuler/.
* src/widgets/sp-menu-button.c, sp-menu-button.h, src/toolbox.c:
Found duplicated signal "activate".
So, renamed SPMenuButton::activate to "activate-item" and
did corresponding change for toolbox.c.
* src/helper/sp-ctrlline.c: Avoid to duplicated free call for ctrlline->svp.
2002-09-22 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Version 0.26
* src/main.c: #include <locale.h>, thanks to Masatake
Sun Sep 22 22:21:14 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-ruler.c: Bug fixed that
misspelling s/GtkHRuler/SPHRuler/ and s/GtkVRuler/SPVRuler/.
Sat Sep 21 03:02:21 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* Now, sodipodi can build and start up again (but often cause segv).
* src/display/canvas-arena.c, nr-arena-glyphs.h, nr-arena.c:
Ported.
* src/dialogs/export.c, text-edit.c: Ported.
* src/widgets/sp-color-slider.c, sp-menu-button.c: Ported.
* src/*.c, *.h: Ported.
* glade/*.glade: conveted to glade-2.
2002-09-21 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/fill-style.c (sp_fill_style_widget_new): Fill rule selector
(sp_fill_style_widget_update): Update fill rule selector
(sp_fill_style_widget_update_repr): Ditto
(sp_fill_style_widget_fill_rule_activate): Set fill-rule
* src/document.c (sp_document_new): Do not set style
* src/xml/repr.c (sp_repr_merge): Duplicate node without id key
* src/sp-path.c (sp_path_build): Set fill to none for old version open path
* src/bonobo/embeddable-document.c (sp_embeddable_document_pf_load): New
document constructor signature, thanks to Ted Gould
(sp_embeddable_document_ps_load): Ditto
(sp_embeddable_document_new): Ditto
* src/help.c (sp_help_about): use sp_text_set_repr_multiline
* src/style.c (sp_style_write_difference): Rewind pointer
* src/sp-ellipse.c (sp_genericellipse_set_shape): Request modified
(sp_arc_modified): Implement, write path attribute
2002-09-20 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-object.c (sp_object_private_write): Duplicate repr if needed
* src/xml/repr-util.c (sp_repr_set_double_default): New method
* src/sp-rect.c (sp_rect_write): Set default on radiuses
* src/sp-root.c (sp_root_write): Set namespaces here
* src/xml/repr.c (sp_repr_document_new): Set doctype and comment
* src/xml/repr-io.c (sp_repr_read_file): Set doctype and comment if SVG
(sp_repr_read_mem): Ditto
(sp_repr_save_stream): Save doctype and comment
Thu Sep 19 19:24:04 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-marshal.*, src/Makefile.am: Removed old marshaller codes.
2002-09-19 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_string_set_shape): Update position array
(sp_text_get_cursor_coords): New method
(sp_text_set_shape): Set tspan position to text, if unset; Limit block
to tspans with unspecified role
(sp_text_insert_line): Implement
* src/text-context.c (sp_text_context_setup): Set blink to 250ms
(sp_text_context_selection_modified): Implement, update cursor position
(sp_text_context_selection_changed): Ditto
(sp_text_context_root_handler): Cursor placement, insertion and deletion
work as they should
* src/display/nr-arena-shape.c (nr_arena_shape_update): Do not try to
fill paths consisting of single lineto
* src/gradient-chemistry.c (sp_gradient_ensure_private_normalized): Only keep
if hrefcount == 1 (fixed bug)
* src/style.c (sp_style_read): Only parse CMYK if RGBA present
2002-09-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-ellipse.c (sp_arc_set_elliptical_path_attribute): Lay 2PI arcs as 2 segments
(sp_arc_write): Write SVG <ellipse> if it really is one
* src/style.c (sp_style_write_ienum): We compare computed values, to
avoid unnecessary setting of attributes
(sp_style_merge_from_parent): Set only computed values for everything
* src/helper/art-utils.c (sp_vpath_from_bpath_closepath): New method,
borrowed relevant helpers from libart code
* src/display/nr-arena-shape.c (nr_arena_shape_update): Closeall if filled,
limit min width to 0.125 instead of cutting it to 0
2002-09-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/event-context.c (sp_event_context_destroy): Do not disconnect
desktop signal, as there is no such
(sp_event_context_new): Do not connect desktop signal
* src/draw-context.c (sp_pencil_context_root_handler): Changed grabbing only
to happen, if pointer is moved button-down. This changed irritating
double-click total grab problem.
(sp_pen_context_root_handler): Ditto
* src/display/nr-arena-group.c (nr_arena_group_update): Multiply
with group second transformation
* src/display/nr-arena-group.h: Added child_affine member
* src/sp-root.c (sp_root_read_attr): Use NRMatrixD for viewbox
(sp_root_show): Implement, apply viewBox
(sp_root_bbox): Ditto
(sp_root_print): Ditto
* src/sp-item.c (sp_item_i2doc_affine): Apply viewBox
Tue Sep 17 13:50:40 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/dialogs/stroke-style.c: A few fix from my office.
Mon Sep 16 21:31:33 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/display/*: Really done.
* src/*: Half done, but partially adhock.
Mon Sep 16 14:22:10 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* Start migration to GTK+2 environment.
* Makefile.am, configure.in, acconfig.h: Use pkgconfig, GLib2,
Pango, GTK+2, GNOME2, etc.
* src/dialogs/*: Done.
* src/display/*: Done.
* src/helper/*: Done.
* src/svg/*: Done.
* src/widgets/*: Done.
* src/xml/*: Done.
* src/*: Partialy done.
2002-09-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/png-write.c (sp_png_get_block_stripe): Helper
(sp_png_write_rgba): Use striped writer
(sp_png_write_rgba_striped): New method
* src/dialogs/export.c (sp_export_get_rows): Renderer
(sp_export_do_export): Use striped exporter
* src/file.c: Added <time.h> - Thanks to Masatake for finding it
2002-09-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/nr-arena-image.c (nr_arena_image_render): Use libnr
transformed composition methods
* src/libnr/nr-compose-transform.c: New file
* src/libnr/nr-compose-transform.h: New file
2002-09-15 Masatake YAMATO <jet@gyve.org>
* src/toolbox.c (sp_maintoolbox_drag_data_received): made
it a static scoped function.
(sp_maintoolbox_create): Connected sp_maintoolbox_drag_data_received
to maintoolbox. (glade based version is obsoleted.)
* src/toolbox.c (sp_maintoolbox_drag_data_received): removed
declaration.
2002-09-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/file.c (sp_file_save_as): Added "file type" optionmenu
(sp_file_save_type_activate): Helper
(file_save_ok): Save plain SVG if needed
* src/sp-namedview.c (sp_namedview_write): Implement
* src/sp-text.c (sp_text_write): Implement
* src/sp-use.c (sp_use_write): implement
* src/sp-root.c (sp_root_write): Implement
* src/sp-polyline.c (sp_polyline_write): Implement
* src/sp-line.c (sp_line_write): Implement
* src/sp-image.c (sp_image_write): Implement
* src/sp-gradient.c (sp_stop_write): Implement
* src/sp-defs.c (sp_defs_write): Implement
* src/sp-clippath.c (sp_clippath_write): Implement
* src/sp-anchor.c (sp_anchor_write): Implement
* src/sp-polygon.c (sp_polygon_write): new ::write syntax
* src/sp-spiral.c (sp_spiral_write): New ::write syntax
* src/sp-star.c (sp_star_write): New ::write syntax
* src/sp-ellipse.c (sp_ellipse_write): New ::write syntax
(sp_circle_write): Ditto
(sp_arc_write): Ditto
* src/sp-rect.c (sp_rect_write): New ::write syntax
* src/sp-shape.c (sp_shape_write): New ::write syntax
* src/star-context.c (sp_star_finish): New ::write syntax
* src/spiral-context.c (sp_spiral_finish): New ::write syntax
* src/knotholder.c (knot_moved_handler): new ::write syntax
* src/sp-object.c (sp_object_invoke_write): Renamed and enhanced
::write_repr method, can now construct trees and write plain SVG
* src/sp-item-group.c (sp_group_write): Implement
2002-09-14 Lauris Kaplinski <lauris@kaplinski.com>
* src/toolbox.c (sp_maintoolbox_menu_button_press): Construct main
menu here dynamically
* src/main.c (sp_main_console): Hide documents for nongui, slideshow
* src/interface.c (sp_ui_file_menu): Recent list
(sp_ui_main_menu): Ditto
(sp_menu_append_recent_documents): New helper
* src/help.c (sp_help_about): Hide document from list
* src/file.c (sp_file_open): New method
(sp_file_open_dialog): Renamed old sp_file_open
* src/sodipodi.c (sodipodi_add_document): Emit "new_document"
(sodipodi_remove_document): Emit "destroy_document", update recent list
(sodipodi_segv_handler): Truncate filenames to sensible part
* src/toolbox.c (sp_maintoolbox_open_one_file_with_check): Use sp_file_open
2002-09-13 Lauris Kaplinski <lauris@kaplinski.com>
* src/draw-context.c (sp_pencil_context_root_handler): Clear anchors
(spdc_finish_endpoint): Ditto
(spdc_pen_finish): Ditto
* src/document.h: Moved uri/base/name to main structure
* src/draw-context.c (sp_pen_context_finish): Call parent method, fixes
habit of crashing after using pen
2002-09-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/libnr/*: Started composing sensible library at last
* src/document.c: Fix DTD typo
* src/main.c (sp_main_gui): Moved setting LC_NUMERIC after gnome init
(sp_main_console): Set LC_NUMERIC to "C" here too
2002-09-11 Lauris Kaplinski <lauris@kaplinski.com>
* configure.in: Version 0.26pre
* src/display/Makefile.am (libspdisplay_a_SOURCES): Removed fill.[c,h] and stroke.[c,h]
2002-09-11 Lauris Kaplinski <lauris@kaplinski.com>
* src/node-context.c (sp_node_context_item_handler): Do not
select, if rubberband has been dragged
* src/widgets/sp-menu-button.c (sp_menu_button_draw): Implement,
draw small indication arrow here
(sp_menu_button_expose): Ditto
* src/helper/curve.c (sp_bpath_clean): New method
(sp_curve_new_from_bpath): Clean bpath, if not good
(sp_curve_new_from_static_bpath): Ditto
(sp_curve_new_from_foreign_bpath): Ditto
* src/macros.h: Some new macros
* src/sp-object.c (sp_object_modified): Oops! Replaced '&&' with '&',
this fixed super-slow rendering during drag bug
2002-09-10 Lauris Kaplinski <lauris@kaplinski.com>
* src/selection-chemistry.c (sp_group_cleanup): Helper
(sp_edit_cleanup): New method
* src/path-chemistry.c (sp_path_cleanup): New method
* src/draw-context.c (sp_draw_context_finish): Implement
* src/seltrans.c (sp_sel_trans_ungrab): Do not set identity
* src/sp-item-transform.c: Do not set identity transform
* src/sp-text.c (sp_text_write_transform): Do not write identity
* src/sp-rect.c (sp_rect_write_transform): Do not write identity
* src/xml/repr.c (sp_repr_remove_listener_by_data): Oops, removed excess step
* src/sp-shape.c (sp_shape_build): Force style rewrite for old versions
* src/view.c (sp_view_widget_view_destroy): handler
(sp_view_widget_set_view): Connect "destroy"
* src/main.c (sp_do_export_png): Move exporting code here, implement
--export-width, --export-height, --export-backround arguments
* src/helper/nr-plain-stuff.c (nr_render_r8g8b8a8_r8g8b8a8_alpha): Implement
using internal composer
* src/sp-item.c (sp_item_paint): Render buffer instead of copy
2002-09-09 Masatake YAMATO <jet@gyve.org>
* src/sp-image.c (autotrace_dialog): Used
gtk_signal_connect_object_while_alive and
gtk_signal_connect_object instead of gtk_signal_connect_while_alive
and gtk_signal_connect.
(object_destroyed): Removed.
(load_trace_result): ask the user whehter loading or net.
* configure.in (AM_PATH_FRONTLINE): Check the version of frontline(>= 0.5.1).
2002-09-09 Zbigniew Chyla <cyba@gnome.pl>
* src/draw-context.c, src/dyna-draw-context.c, src/select-context.c,
src/spiral-context.c, src/star-context.c,
src/dialogs/tool-attributes.c, src/dialogs/tool-options.c,
src/dialogs/xml-tree.c: Added <config.h>
2002-09-09 Lauris Kaplinski <lauris@kaplinski.com>
* src/gradient-chemistry.c (sp_gradient_ensure_private_normalized): Normalize
if flag is set, but hrefcount > 1
(sp_item_force_fill_lineargradient_vector): Check for hrefcount
(sp_item_force_stroke_lineargradient_vector): Ditto
* src/interface.c: Added <config.h>
* glade/toolbox.glade: Fixed non-ASCII character
2002-09-08 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/export.c (sp_export_do_export): Fixed affine
* src/main.c (sp_main_console): Fixed affine
* src/toolbox.c (sp_maintoolbox_create): Construct main window by hand
* src/interface.c (sp_ui_main_menu): New method
* src/help.c (sp_help_about): Use document width and height
* src/svg-view.c (sp_svg_view_rescale): Use pixel coords
(sp_svg_view_widget_size_request): Ditto
* src/spiral-context.c (sp_spiral_context_config_widget): Implement
(sp_spiral_context_setup): Ditto
(sp_spiral_context_set): Ditto
* src/star-context.c (sp_star_context_config_widget): Implement
* src/desktop.c (sp_desktop_new): Use repr key for initial select context
* src/select-context.c (sp_select_context_config_widget): Implement
(sp_select_context_transform_toggled): Helper
(sp_select_context_show_toggled): Ditto
* src/display/nr-arena-shape.c (nr_arena_shape_update): Do not stroke,
if width < 0.125
* src/display/nr-arena-glyphs.c (nr_arena_glyphs_group_update): Use paintbox
(nr_arena_glyphs_group_set_paintbox): New method
(nr_arena_glyphs_update): Do not stroke if width < 0.125
(nr_arena_glyphs_render): Do not render here
(nr_arena_glyphs_fill_mask): New helper
(nr_arena_glyphs_stroke_mask): Ditto
(nr_arena_glyphs_group_update): Create painters here
(nr_arena_glyphs_group_render): Render here
* src/dialogs/tool-attributes.c (sp_tool_attributes_dialog_setup): Added
SPSelectContext
* src/dialogs/stroke-style.c (sp_stroke_style_paint_update): Use new gradient
position widget logic
(sp_stroke_style_paint_dragged): Ditto
(sp_stroke_style_paint_changed): Ditto
* src/dialogs/fill-style.c (sp_fill_style_widget_update): Use new gradient
position widget logic
(sp_fill_style_widget_paint_dragged): Ditto
(sp_fill_style_widget_paint_changed): Ditto
* src/sp-shape.c (sp_shape_show): Calculate and set paintbox
(sp_shape_modified): Ditto
* src/sp-gradient.c (sp_lineargradient_from_position): New method
(sp_lineargradient_to_position): Ditto
* src/sp-chars.c (sp_chars_print_bpath): Implement via nr plain buffers
(sp_chars_set_paintbox): New method
* src/seltrans.c (sp_sel_trans_shutdown): Destroy handles and canvasitems
* src/seltrans.h: Added modifieable parameters
* src/selection.c (sp_selection_bbox_document): New method
* src/select-context.c (sp_select_context_set): Implement this
* src/arc-context.c (sp_arc_finish): Oops, set sodipodi namespace
2002-09-07 Lauris Kaplinski <lauris@kaplinski.com>
* src/style.c (sp_length_differ): Oops, if units differ check value
* src/sp-paint-server.h: painter contructor signature change
* src/display/nr-arena-shape.c: Remove group stuff
(nr_arena_shape_set_paintbox): New method
* src/display/nr-arena-shape.h: Remove group stuff
* src/sp-object.c (sp_object_get_style_property): read presentation attr
* src/sp-chars.c (sp_chars_style_modified): Use nr_arena_glyphs_group
(sp_chars_show): Ditto
(sp_chars_clear): Ditto
(sp_chars_add_element): Ditto
* src/sp-shape.c (sp_shape_modified): Set paintbox
(sp_shape_style_modified): Use single nr_arena_shape
(sp_shape_show): Ditto
(sp_shape_remove_comp): Ditto
(sp_shape_add_comp): Ditto
* src/macros.h: Add total silencing
* src/sp-gradient.c (sp_lineargradient_painter_new): Implement userSpaceOnUse
except percentages (still not clear, what to do with those), but do
bbox correctly
2002-09-06 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c (sp_text_edit_dialog_update_object): Generic method
(sp_text_edit_dialog_set_default): New method
(sp_text_edit_dialog_read_selection): Read defaults if no text
(sp_text_edit_dialog_text_changed): Update default button
(sp_text_edit_dialog_font_changed): Ditto
(sp_text_edit_dialog_any_toggled): Ditto
(sp_ted_get_selected_text_item): Helper
* src/dialogs/tool-options.c (sp_tool_options_dialog_setup): Implement
using sp_event_context_config_widget
* src/event-context.h: Added ::config_widget virtual method
* src/event-context.c (sp_event_context_config_widget): New method
* src/dyna-draw-context.c (sp_dyna_draw_context_config_widget): new method
2002-09-05 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/stroke-style.c (sp_stroke_style_paint_construct): Handler
(sp_stroke_style_paint_attr_changed): Ditto
(sp_stroke_style_repr_get_style): Helper
(sp_stroke_style_paint_update_repr): For SPRepr associated styles
(sp_stroke_style_paint_changed): Write bare repr if needed
(sp_stroke_style_line_construct): Handler
(sp_stroke_style_line_attr_changed): Ditto
(sp_stroke_style_line_update_repr): Alternate parser
(sp_stroke_style_width_changed): Write repr if needed
(sp_stroke_style_any_toggled): Ditto
* src/dialogs/object-properties.c (sp_object_properties_dialog): build
optionmenu for choosing between selection/tools
* src/dialogs/fill-style.c (sp_fill_style_widget_new): Attach attr_changed
(sp_fill_style_repr_get_style): Helper
(sp_fill_style_widget_update_repr): Repr-associated version updater
(sp_fill_style_widget_paint_changed): Write repr instead of item list if needed
* src/widgets/sp-widget.c (spw_repr_attr_changed): Repr callback
(sp_widget_new_global): Build from sodipodi
(sp_widget_new_repr): Build from repr
(sp_widget_construct_global): Constructor
(sp_widget_construct_repr): Ditto
* src/style.c (sp_style_new): New method
(sp_style_read): Move evrything here
(sp_style_read_from_object): Frontend
(sp_style_read_from_repr): Ditto
2002-09-04 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-path.c (sp_path_build): Update SODIPODI-PATH-NODE-TYPES attribute
2002-09-03 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_text_set_shape): Oooooooops, use MAX for bbox other corner
* src/document.c (sp_document_new): Set docname attribute after build
* src/sp-text.c (sp_text_find_version): Helper
(sp_text_build): Build tspans etc. if 0.0 < version < 0.25
* src/sp-ellipse.c (sp_arc_find_version): Helper
(sp_arc_build): Per-version attributes
(sp_arc_read_attr): Ditto
* src/document.c (sp_document_new): Delay namespaces etc. to determine version
(sp_document_new_from_mem): Ditto
* src/document.h: Bring some members here
2002-09-02 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/stroke-style.c (sp_stroke_style_line_update): Make insensitive, if not stroked
* src/sp-rect.c (sp_rect_write_transform): Adjust stroke width, if scale changes
* src/sp-text.c: Port to SPSVGUnits
* src/sp-root.c: Port to SPSVGLength, use pixels as basic units from now on
* src/sp-rect.c: Port to SPSVGLength
* src/sp-image.c: Port to SPSVGLength
* src/sp-gradient.c: Port to SPSVGLength
* src/sp-ellipse.c: Port to SPSVGLength
* src/file.c (sp_do_file_print_to_printer): Fix px/pt ratio
(sp_do_file_print_preview): Ditto
* src/document.c (sp_document_width): Fix px/pt ratio
(sp_document_height): Ditto
(sp_document_new): Add sodipodi:version
(sp_document_new_from_mem): Ditto
* src/desktop.c (sp_desktop_init): Fix px/pt ratio in doc2dt matrix
* src/svg/svg-length.c (sp_svg_length_read): New method
(sp_svg_length_read_lff): Ditto
(sp_svg_length_unset): Ditto
* src/svg/svg-types.h: New file
* src/dialogs/Makefile.am (libspdialogs_a_SOURCES): Added tool-options.[c,h]
2002-08-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_text_set_shape): Do layouting here, so we can handle blocks
* src/dialogs/text-edit.c (sp_text_edit_dialog): Layout radiobuttons
(sp_text_edit_dialog_apply): Do layout
(sp_text_edit_dialog_read_selection): Ditto
* src/sp-text.c (sp_font_get_glyph_bbox): New helper
(sp_font_get_glyph_advance): Ditto
(sp_font_get_glyph_bbox_lr2tb): Ditto
(sp_string_calculate_dimensions): Do vertical dimension correctly
(sp_string_set_shape): Ditto
2002-08-29 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_string_calculate_dimensions): New method
* configure.in: Rewind required gnome-print version to 0.29
* src/sp-object.h: Added viewport and user flags
* src/style.c: Added functional 'text-anchor' property
* src/style.h: Added functional 'text-anchor' property
* src/svg/svg-color.c (sp_svg_read_color): Read rgb(r,g,b) variants
* src/style.c: Created new IEnum type with immediate and computed members,
ported font-style, font-variant, font-weight, font-stretch to it
* src/sp-text.c (sp_string_set_shape): Use computed 'font-style' value
* glade/Makefile.am (glade_DATA): Removed text-dialog.glade
* src/dialogs/text-edit.c: Get rid of glade
2002-08-28 Lauris Kaplinski <lauris@kaplinski.com>
* src/display/canvas-arena.c: Ref active item, so it does not disappear
* src/style.c: Implement SPIFontSize and various helpers for it
* src/sp-text.c: New font size type
* src/sp-shape.c: 24-bit opacity scale
* src/sp-item.c (sp_item_read_attr): Reread style for font-size
* src/sp-image.c: 24-bit opacity scale
* src/sp-chars.c: 24-bit opacity scale
* src/gradient-chemistry.c: 24-bit opacity scale
* src/file.c (sp_do_file_print_preview): Ensure up-to-date
(sp_do_file_print_to_printer): Ditto
2002-08-27 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/export.c (sp_export_do_export): Fix affine (one more time)
* src/sp-item.c (sp_item_paint): Ensure document is up-to-date
* src/sp-chars.c (sp_chars_print_bpath): Use new transformed bpath bbox
(sp_chars_bbox): Ditto
* src/sp-path.c (sp_path_bbox): Use new transformed bpath bbox
* src/helper/art-utils.c (sp_bpath_matrix_d_bbox_d_union): New method
(sp_bpath_segment_bbox_d): Helper
2002-08-26 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c (sp_text_dialog_apply): Oops, set size, not some crap here
* src/sp-chars.c (sp_chars_do_print): New direct method
(sp_chars_print_bpath): Helper
* src/gradient-chemistry.c (sp_item_repr_set_style_gradient): Set recursive
2002-08-25 Lauris Kaplinski <lauris@kaplinski.com>
* src/text-context.c (sp_text_context_finalize): Do not use desktop here
(sp_text_context_finish): Implement, release desktop stuff here
* src/sp-text.c (sp_text_normalized_bpath): New method
(sp_text_print): Implement, still needs SPChars method
* src/sp-chars.c (sp_chars_normalized_bpath): New method
* src/path-chemistry.c (sp_selected_path_to_curves): Convert the new text object
* src/interface.c (sp_ui_file_menu): Use helpers, the right export dialog
* src/draw-context.c (sp_pen_context_finish): Flush object
(sp_pen_context_root_handler): Added 'BackSpace', should work OK now
* src/event-context.c (sp_event_context_finish): New method and virtual method
* src/desktop.c (sp_desktop_set_event_context): Finish eventcontext
* src/helper/curve.c (sp_curve_backspace): New method
2002-08-24 Lauris Kaplinski <lauris@kaplinski.com>
* src/helper/curve.c (sp_curve_append): Handle open/closed end and start
* src/preferences-skeleton.h: Added pen tool, made AI style default
* src/draw-context.c (sp_draw_context_setup): Set attach
(sp_draw_context_root_handler): React to '+' key
(spdc_set_attach): Set/clear append mode
(spdc_attach_selection): Renamed
(spdc_detach_selection): New method
(spdc_reset_white): Only need white, not all colors
(sp_pencil_context_root_handler): Destroy green anchor on release
(sp_pen_context_setup): Handle "mode" attribute
(sp_pen_context_set): Ditto
(sp_pen_context_root_handler): Has now AI style (default) and click-click modes
(spdc_pen_set_ctrl): Handle modes
(spdc_pen_finish): New method
2002-08-23 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/sp-attribute-widget.h: It can now be attached to mere SPRepr too
* src/dialogs/sp-attribute-widget.c (sp_attribute_widget_new_repr): New constructor
(sp_attribute_widget_set_repr): New method
(sp_attribute_table_new_repr): New constructor
(sp_attribute_table_set_repr): New method
* src/star-context.c (sp_star_context_set): Attribute reader
(sp_star_context_setup): parse attributes
* src/marshal.c (sp_marshal_NONE__STRING_BOOL): New method
* src/interface.c (sp_ui_dialog_menu): Tool attributes menu
* src/event-broker.c: Added event context node location
* src/dyna-draw-context.c (sp_dyna_draw_context_set): Attribute reader
(sp_dyna_draw_context_setup): Parse attributes
* src/draw-context.h: Added selection member
* src/view.c (sp_view_set_position): Frontend to virtual method
(sp_view_set_status): Ditto
* src/view.h: Added virtual methods for marking status and position
* src/desktop.c (sp_desktop_widget_view_status_set): Moved status to
parent container, where it belongs
(sp_desktop_widget_view_position_set): Same for position
(sp_desktop_widget_new): Listen status and position signals
* src/dialogs/tool-attributes.c: New file
* src/dialogs/tool-attributes.h: New file
2002-08-20 Lauris Kaplinski <lauris@kaplinski.com>
* src/dyna-draw-context.c: Removed control knot, as we do not attach to anything
* src/xml/repr.c (sp_repr_unref): Implemented launching destroy listener
* src/xml/repr-private.h: Added destroy listener
2002-08-19 Lauris Kaplinski <lauris@kaplinski.com>
* src/sodipodi.c (sodipodi_segv_handler): Do better names and inform user about these
* src/selection-chemistry.c (sp_item_list_common_parent_group): Helper
(sp_selection_raise): Made it to work with all item combinations
(sp_selection_lower): Ditto, do not lower under non-items
* src/sp-item-group.c (sp_group_order_changed): Fix item order calculation
2002-08-18 Lauris Kaplinski <lauris@kaplinski.com>
* src/document-undo.c (sp_document_order_changed): Set correct action type
2002-08-17 Lauris Kaplinski <lauris@kaplinski.com>
* src/selection-chemistry.c (sp_selection_ungroup): Use method from item group
* src/sp-item-group.c (sp_item_group_ungroup): Preserve order and styles
* src/style.c (sp_style_read_from_object): Synchronized with new style structure
(sp_style_merge_property): Ditto
(sp_style_merge_from_object_parent): Ditto
(sp_style_merge_ipaint): Renamed
(sp_style_write_string): New write semantics
(sp_style_write_difference): New method
(sp_text_style_write): New write semantics
(sp_style_read_ifloat): Rename
(sp_style_read_iscale30): Ditto
(sp_style_read_ienum): Ditto
(sp_style_read_istring): Ditto
(sp_style_read_ipaint): Ditto
(sp_style_write_ifloat): Signature, semantics and name change
(sp_style_write_iscale30): Ditto
(sp_style_write_ienum): Ditto
(sp_style_write_istring): Ditto
(sp_style_write_ipaint): Ditto
(sp_paint_differ): Helper
* src/style.h: Renamed inherited types, changed miterlimit to ifloat
* src/color.c (sp_color_is_equal): New method
* src/style.c (sp_style_merge_from_style_string): Accept (although warn)
properties without end marker
* src/dialogs/export.c (sp_export_do_export): Use correct transformation
* src/main.c: Added command-line export functionality
(main): Cleanup
(sp_main_gui): Broke GUI-specific stuff here
(sp_main_console): Same for console mode, implement export, use current dor for print
2002-08-16 Lauris Kaplinski <lauris@kaplinski.com>
* src/toolbox.c (sp_maintoolbox_create): Moved draw toolbox to separate method
(sp_toolbox_draw_set_object): Callback
(sp_toolbox_draw_create): New method, create MenuButtons
(sp_update_draw_toolbox): Use MenuButtons
* src/event-broker.c: Added pen context, use pencil and pen instead of draw
* src/draw-context.c: Break draw context into parent, pencil and pen
* src/draw-context.h: Ditto
* src/widgets/sp-menu-button.h: New file
* src/widgets/sp-menu-button.c: New file, implement something similar to
GtkOptionmenu, but with some sodipodi-specific sugar
* glade/draw_pen.xpm: New file
* src/draw-context.c (sp_draw_context_finalize): Destroy pen controls
(sp_draw_context_setup): Setup pen controls
(sp_draw_context_root_handler): Do pen stuff
(spdc_pen_set_point): New helper
(spdc_pen_set_ctrl): Ditto
(spdc_pen_finish_segment): Ditto
* src/helper/sp-ctrlline.c (sp_ctrlline_set_rgba32): New method
2002-08-15 Lauris Kaplinski <lauris@kaplinski.com>
* src/toolbox.c (sp_update_draw_toolbox): Freehand keeps undo/redo sensitive now
* src/document.c (sp_document_ensure_up_to_date): New method
* src/draw-context.c (sp_draw_context_setup): Read selection data
(sp_draw_context_root_handler): Use colors for freehand, place green anchor
(spdc_selection_changed): Use read_selection
(spdc_selection_modified): Ditto
(spdc_read_selection): New method
(spdc_add_freehand_point): Ditto
(spdc_concat_colors_and_flush): Check, whehter green anchor exist, do contiguous append
(fit_and_split): Use continious append
(sp_draw_anchor_destroy): Signature change
2002-08-14 Lauris Kaplinski <lauris@kaplinski.com>
* src/draw-context.c (sp_draw_context_destroy): Do not destroy start and end anchors
(sp_draw_context_selection_modified): Save white curves in desktop coordinates
(sp_draw_context_root_handler): Use state indicator, change addline modes on release
(spdc_concat_colors_and_flush): Use continuous append
(spdc_flush_white): Translate everything to item coordinates here
* src/draw-context.h: Replace booleans with single state indicator
* src/helper/curve.c (sp_curve_transform): New method
(sp_curve_append_continuous): New method
2002-08-12 Lauris Kaplinski <lauris@kaplinski.com>
* src/draw-context.c (spdc_finish_endpoint): Cleanup
(spdc_flush_white): Do concat, create object if needed, do red->white transform if needed
(spdc_clear_red_data): Helper
* src/draw-context.h: Member rename
* src/helper/curve.c (sp_curve_append): Append the whole curve, not just last segment
(sp_curve_concat): Set lengths etc. correctly, fixes draw crash
2002-08-08 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/text-edit.c (sp_text_dialog_apply): Why there were strdups here?
* src/style.c (sp_style_read_from_object): Cleanup font-family and font-size
(sp_style_merge_property): Ditto
(sp_style_merge_from_object_parent): Ditto
(sp_text_style_write): Ditto
(sp_style_read_inherited_float): New helper
(sp_style_read_inherited_string): Ditto
(sp_style_write_inherited_float): Ditto
(sp_style_write_inherited_string): Ditto
* src/sp-text.c (sp_text_set_repr_text_multiline): Set roles and line positions
2002-08-07 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_text_read_attr): Request relayout
(sp_text_child_added): Ditto
(sp_text_remove_child): Ditto
(sp_text_modified): Check, whether relayout is needed
(sp_text_request_relayout): Helper
* src/style.c (sp_style_merge_from_object_parent): Inherit font size (still wrong)
* src/text-context.c (sp_text_context_root_handler): Allow control key
to be passed, send nonbreaking space for Ctrl+Space
* src/sp-text.c (sp_string_set_shape): Try to collect spaces across item boundaries
(sp_tspan_set_shape): Ditto
(sp_text_set_shape): Ditto
2002-08-05 Lauris Kaplinski <lauris@kaplinski.com>
* src/text-context.c (sp_text_context_root_handler): Use sp_text_append
* src/sp-text.c (sp_text_append): New method
2002-07-31 Lauris Kaplinski <lauris@kaplinski.com>
* src/text-context.c (sp_text_context_finalize): Use it instead of ::destroy
(sp_text_context_setup): Create cursor
(sp_text_context_root_handler): Show cursor
(sp_text_context_selection_changed): Update cursor
(sp_text_context_timeout): Blink handler
* src/text-context.h: Added cursor
2002-07-30 Lauris Kaplinski <lauris@kaplinski.com>
* src/Makefile.am (sodipodi_SOURCES): Added macros.h
* src/sp-text.c (sp_text_write_transform): Do multiline transforming
the right way
* src/macros.h: New file for useful macros
2002-07-29 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_tspan_build): Get attributes at right place, read role as well
(sp_tspan_read_attr): Parse "sodipodi:role" attribute
(sp_text_append_line): New method
* src/sp-text.h: Specify role for <tspan> element
2002-07-26 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-text.c (sp_string_set_shape): Changed signature, pass layout and currentpoint
(sp_tspan_set_shape): New method
(sp_text_build): Use normal order, as shape will be set asynchronously
(sp_text_read_attr): Request update everywhere
(sp_text_child_added): Fix bug, now keep old children in list
(sp_text_set_shape): New method, nothing interesting yet
* src/text-context.c (sp_text_context_selection_changed): Set active object
to NULL, if nothing selected
2002-07-24 Lauris Kaplinski <lauris@kaplinski.com>
* src/sp-object.c (sp_object_modified): Merge style with parent if needed,
moved style_modified after signal
* src/sp-text.c (sp_tspan_modified): Include style flag in cascade
(sp_text_modified): Ditto
(sp_string_modified): Re-enable it (although this is probably not correct)
* src/style.c (sp_style_merge_from_object_parent): Merge writing mode
* src/sp-item-group.c (sp_group_modified): Include style flag in cascade
* src/sp-gradient.c (sp_gradient_modified): Include style flag in cascade
2002-07-22 Lauris Kaplinski <lauris@kaplinski.com>
* src/style.c (sp_style_new_from_object): Renamed sp_style_new
(sp_style_read_from_object): Use SP_SCALE30 for opacity, new paint structure
(sp_style_merge_property): Ditto
(sp_style_merge_from_object_parent): Renamed sp_style_merge_from_object,
read only from immediate parent (which should have merged from ancestors itself)
(sp_style_write_string): Use SP_SCALE30 for opacity, new paint structure
(sp_style_clear): Ditto
(sp_style_set_opacity): Ditto
(sp_style_read_inherited_scale30): New method
(sp_style_write_inherited_scale30): Ditto
(sp_style_read_inherited_paint): Renamed, parse "inherit" value
(sp_style_write_inherited_paint): Ditto, write it
(sp_style_merge_inherited_paint): Do hunref here
(sp_style_set_fill_color_rgba): Do hunref instead of gtk_object_unref, new structure
(sp_style_set_fill_color_cmyka): Ditto
(sp_style_set_stroke_color_rgba): Ditto
(sp_style_set_stroke_color_cmyka): Ditto
(sp_style_read_color_cmyk): Helper method here
(sp_style_merge_from_style_string): Renamed method
* src/style.h: Created new 30-bit scaled value type, used for opacity
Renamed SPPaint to SPInheritedPaint
Sat Jul 13 19:47:16 2002 Davide Puricelli <evo@debian.org>
* po/ja.po: Updated, thanks Junichi Uekawa <dancer@netfort.gr.jp>
Sat Jul 13 05:52:15 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-item-group.c (sp_group_bbox): Fixed group selection bug -
thanks to Ted Gould and his bug report.
2002-05-20 Lauris Kaplinski <lauris@ximian.com>
* src/xml/repr-io.c (sp_repr_svg_read_node): Add namespaces back -
thanks to Pawel
* src/dialogs/xml-tree.c: Complete refactoring by Pawel Palucha
* src/document.c (sp_document_lookup_id): Check values
2002-04-21 Masatake YAMATO <jet@gyve.org>
* src/toolbox.c (sp_maintoolbox_open_files): Use
gnome_uri_list_extract_filenames.
* src/interface.c (sp_ui_import_files): Ditto.
2002-04-19 Lauris Kaplinski <lauris@ximian.com>
* src/text-context.c (sp_text_context_root_handler): Port to new
text object (incomplete)
(sp_text_context_selection_changed): Ditto
* src/sp-text.c: Lot of new stuff, shows something on screen at last
* src/sp-object.c (sp_object_modified): Do not allow reentrancy
- think SPText will like it
* src/sp-item.c: Removed sp_item_update and virtual method
* src/sp-item-group.c: Removed ::update method
2002-04-17 Lauris Kaplinski <lauris@ximian.com>
* src/sp-rect.c (sp_rect_rx_set): Make argument const, kill warning
(sp_rect_ry_set): Ditto
2002-04-12 Lauris Kaplinski <lauris@ximian.com>
* src/sp-text.h: Broke into SPText, SPTSpan and SPString objects
* src/sp-text.c (sp_text_build): Build <tspan> and TEXT elements
* src/forward.h: Moved SPText and SPTSpan here
2002-04-08 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item.h: Changed ::bbox signature
* src/sp-item.c (sp_item_invoke_bbox): New generic method
(sp_item_bbox_desktop): renamed old method
* src/display/nr-arena-glyphs.c: Ditto
* src/display/nr-arena-glyphs.h: New file
* src/sp-chars.c (sp_chars_get_type): Change parent class
(sp_chars_class_init): Ditto
(sp_chars_destroy): New elements structure
(sp_chars_style_modified): New virtual method
(sp_chars_bbox): Ditto
(sp_chars_show): Ditto
(sp_chars_print): Ditto (not implemented)
(sp_chars_clear): New structure
(sp_chars_add_element): Ditto
* src/sp-chars.h: Derive directly from item instead of shape
* src/dialogs/align.c (sp_quick_align_arrange): New bbox logic
* src/dialogs/export.c (sp_export_drawing): New bbox logic
Sun Apr 7 01:37:29 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/style.c: (sp_style_read_from_object): Fixed to work stroke-cmyk.
* src/sp-item.c: (sp_item_read_attr): Ditto
2002-04-06 Lauris Kaplinski <lauris@ximian.com>
* src/xml/repr-io.c (sp_repr_read_file): Use new signature
(sp_repr_read_mem): Ditto
(sp_repr_qualified_name): New method
(sp_repr_svg_read_node): Signature change, create text nodes
* src/xml/repr-util.c (sp_xml_document_createTextNode): New method
(sp_xml_document_createElement): Ditto
(sp_xml_document_createElementNS): Ditto
(sp_xml_node_get_Document): Ditto
(sp_xml_element_setAttributeNS): Ditto
* src/xml/repr.c (sp_repr_new_from_code): Set type
* src/svg/svg-length.c (sp_svg_read_number_f): New method with right signature
(sp_svg_read_number_d): Ditto
* src/style.c (sp_style_privatize_text): New method
(sp_style_merge_property): Moved text properties here
* src/sp-text.c (sp_text_init): No properties
(sp_text_build): No style anymore
(sp_text_style_modified): New virtual method
(sp_text_font_weight_to_gp): Helper
(sp_text_font_italic_to_gp): Ditto
(sp_text_set_shape): Use style properties, hackish support for vertical writing
* src/sp-text.h: Removed properties from object, as these are handled by style
2002-04-04 Lauris Kaplinski <lauris@ximian.com>
* src/helper/canvas-bpath.c (sp_canvas_bpath_init): Can be filled now
(sp_canvas_bpath_destroy): Ditto
(sp_canvas_bpath_update): Ditto
(sp_canvas_bpath_render): Ditto
(sp_canvas_bpath_point): Ditto
(sp_canvas_bpath_set_fill): New method
(sp_canvas_bpath_set_stroke): Name change
* src/display/nr-arena-shape.c (nr_arena_shape_render): No real_opacity
anymore
* src/sp-shape.c (sp_shape_print): No real opacity anymore
* src/dyna-draw-context.c (sp_dyna_draw_context_setup): Port to
canvas bpath instead of canvas shape
(clear_current): Ditto
(fit_and_split_line): Ditto
(fit_and_split_calligraphics): Ditto
(draw_temporary_box): Ditto
* src/draw-context.c (sp_draw_context_setup): Port to new canvas bpath
(fit_and_split): Ditto
* src/dialogs/item-properties.c: Removed #ifdef 0 code
* src/style.c (sp_style_new): Require object validity
(sp_style_merge_property): Moved actual code to new method
(sp_style_merge_from_string): Does not clear style anymore, thus name change
(sp_style_paint_server_modified): Use sp_object_request_modified
(sp_style_set_fill_color_rgba): Request modified
(sp_style_set_fill_color_cmyka): Ditto
(sp_style_set_stroke_color_rgba): Ditto
(sp_style_set_stroke_color_cmyka): Ditto
(sp_style_set_opacity): Ditto
(sp_style_property_index): New enumerated property codes
* src/sp-shape.c (sp_shape_style_modified): Renamed method
* src/sp-item.c (sp_item_read_attr): Use sp_object_request_modified
(sp_item_style_modified): Renamed method, otherwise same
* src/sp-item-group.c (sp_group_class_init): No ::style_changed anymore
* src/sp-object.c (sp_object_request_modified): Accept style modification
flag (but not alone)
(sp_object_modified): Ditto, invoke ::style_changed if needed
* src/sp-object.h (SP_OBJECT_STYLE_MODIFIED_FLAG): New flag - we now
collect style modifications into single-step async apply too
Sun Mar 31 19:09:25 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-rect.c (sp_rect_*_set): Fixed a little.
2002-03-22 Davide Puricelli <evo@debian.org>
* Updated debian/ directory, synced with Debian unstable.
2002-03-18 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Disabled frontline check, until I find time
to make it to work without frontline too
2002-03-18 Masatake YAMATO <jet@gyve.org, masata-y@maa.spacetown.ne.jp>
* src/toolbox.h (sp_maintoolbox_drag_data_received): New
declaration.
* src/toolbox.c (sp_maintoolbox_open_one_file)
(sp_maintoolbox_open_files, sp_maintoolbox_drag_data_received):
New functions.
(sp_maintoolbox_create): Invoked gtk_drag_dest_set
against ui.
(toolbox_drop_target_info, toolbox_drop_target_entries,
ENTRIES_SIZE, ntoolbox_drop_target_entries): New constants
and macros for DnD.
* src/interface.c (sp_ui_import_one_file, sp_ui_import_files)
(sp_ui_drag_data_received): New functions.
(sp_create_window): sp_ui_drag_data_received is connected
to "drag_data_received" of ui. Invoked gtk_drag_dest_set
against ui.
(nui_drop_target_entries, ENTRIES_SIZE, ui_drop_target_entries,
ui_drop_target_info): New constants and macros for DnD.
* glade/toolbox.glade: sp_maintoolbox_drag_data_received is
connected to drag_data_received of maintoolbox.
2002-03-18 Masatake YAMATO <jet@gyve.org, masatake@maa.sst.ne.jp>
* configure.in (ENABLE_AUTOTRACE): Check Frontline.
* acconfig.h: Added ENABLE_AUTOTRACE.
* src/sp-image.c: Added code that supports Frontline.
New codes are wrapped by ENABLE_AUTOTRACE.
Tue Mar 19 02:30:40 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* New SPRect rx, ry editing feature in node context.
* src/sp-rect.c (sp_rect_rx_get): New method for KnotHolder
(sp_rect_rx_set): Ditto
(sp_rect_ry_get): Ditto
(sp_rect_ry_set): Ditto
(sp_rect_knot_holder): Ditto
(sp_rect_write_repr): New method
(sp_rect_glue_set_shape): Ditto
2002-03-14 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in: Added "sk" to ALL_LINGUAS.
Sun Mar 10 21:00:01 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/document.c (sp_document_partial_items_in_box):
New method. Return list of items, that the parts of the item
containd in box.
* select-context.h: Add button_press_shift attribute
* select-context.c: (sp_select_context_root_handler):
New feature to select items which is partially contained in
rubberband box with shift key.
Wed Mar 6 01:52:09 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* Support open/closed arc feature. We can edit it on node edit.
* src/sp-ellipse.c (sp_genericellipse_side): New method to
determine point is inside or outside.
(sp_arc_start_set): Add is_closed feature
(sp_arc_end_set): Ditto
* src/sp-ellipse.h: Add SPArc::is_closed attribute
* src/preferences-skeleton.h: Modified arc style
* src/arc-context.c: Ditto
2002-03-05 Lauris Kaplinski <lauris@ximian.com>
* src/display/nr-arena-shape.c (nr_arena_shape_pick): Use delta (tolerance)
* src/display/canvas-arena.c (sp_canvas_arena_update): Use global delta (tolerance)
(sp_canvas_arena_point): Ditto
(sp_canvas_arena_event): Ditto
* src/display/nr-arena-item.c (nr_arena_item_invoke_pick): Changed
virtual method signature
* src/dialogs/display-settings.c (sp_display_dialog_cursor_tolerance_changed): Implement
(sp_display_dialog_new): Create pick tolerance spinbutton
* src/view.c (sp_view_shutdown): New method and signal
(sp_view_request_redraw): New virtual method
* src/sodipodi.c (sodipodi_refresh_display): Use sp_view_request_redraw
* src/interface.c (sp_ui_delete): Use sp_view_shutdown
(sp_ui_menu_append_item): Helper
(sp_ui_file_menu): New method
(sp_ui_edit_menu): Ditto
(sp_ui_selection_menu): Ditto
(sp_ui_view_menu): Ditto
(sp_ui_event_context_menu): Ditto
(sp_ui_dialog_menu): Ditto
(sp_ui_generic_menu): Ditto
* src/file.c (sp_file_exit): Use sodipodi_exit method
* src/event-context.c (sp_event_root_menu_popup): Use sp_ui_generic_menu
* src/desktop.c (sp_desktop_request_redraw): New virtual method implementation
(sp_desktop_widget_set_focus): Do that widget method instead
* src/desktop-events.c (sp_dt_ruler_event): Do not use desktop->owner
* src/Makefile.am (INCLUDES): -DSODIPODI_PIXMAPDIR
Mon Mar 4 01:23:05 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-ellipse.c (sp_genericellipse_normalize): Fixed start and
end arg conditions.
(sp_arc_start_set): Added per pi/4 radian constraint with control key.
(sp_arc_end_set): Ditto
Sun Mar 3 03:40:07 2002 Mitsuru Oka <oka326@parkcity.ne.jp>
* Merged from ge-arc-branch
* src/sp-ellipse.h (SPArc): New class
* src/sp-ellipse.c (sp_arc_*): New methods
* src/arc-context.c: New event context for SPArc. Mainly it is
renamed from ellipse-context.c.
So we should remove ellipse-context.c later.
* src/arc-context.h: Ditto
* glade/draw_arc.xpm: New pixmap file for draw arc tool.
Now, we does not need draw_ellipse.xpm.
* src/pixmaps/cursor-arc.xpm: Ditto
2002-02-25 Lauris Kaplinski <lauris@ximian.com>
* src/helper/curve.c (sp_curve_append): Do not requite non-empty curves
* src/draw-context.c (fit_and_split): Commetn out boundary checks
* src/document.c (sp_document_idle_handler): Bring up uncommited undo
warning, if compiled with debug
(sp_action_print_pending_list): Debug method
(sp_document_warn_undo_stack): Ditto
* src/document-private.h: Moved idel_id into base struct
2002-02-23 Lauris Kaplinski <lauris@ximian.com>
* src/helper/units.c (sp_points_get_units): New method
(sp_units_get_points): Ditto
* src/dialogs/object-properties.c: Made layout dynamic
* src/document-undo.c (sp_document_private_done): New static method
(sp_document_done): Just a wrapper
(sp_document_maybe_done): Implement the real thing
* src/document-private.h: Moved document definition here
2002-02-21 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/stroke-style.c (sp_stroke_style_any_toggled): Handle
cap/join style changes
(sp_stroke_style_widget_new): Create cap/join togglebuttons
(sp_stroke_style_widget_update): Set cap/join selector activity
(sp_stroke_style_set_join_buttons): New method
(sp_stroke_style_set_cap_buttons): Ditto
2002-02-19 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/stroke-style.c: New file
* src/dialogs/stroke-style.h: New file
* src/helper/units.c (sp_distance_get_units): New method
(sp_distance_get_points): Ditto
* src/helper/units.h: Moved SPDistance here
* src/style.h: Moved SPDistance to units.h
* src/display/nr-arena-shape.c (nr_arena_shape_render): Render gradient
strokes as well
* src/dialogs/object-properties.c: Start rewriting to use dynamic
fill/stroke widgets instead of original glade dialog
* src/dialogs/stroke-style.h: New file
* src/dialogs/stroke-style.c: New file
* src/gradient-chemistry.c (sp_style_change_property): Reimplement,
hopefully the correct way now
* src/widgets/gradient-position.c (sp_gradient_position_update): Pre
build local renderer here
* src/helper/nr-gradient.c (nr_lgradient_renderer_setup_r8g8b8a8): Do
not allocate renderer, allow using static ones too
(nr_lgradient_renderer_setup_r8g8b8): Ditto
* src/widgets/paint-selector.c (sp_paint_selector_set_style_buttons): Do not
activate pattern and fractal fill buttons
2002-02-18 Lauris Kaplinski <lauris@ximian.com>
* src/widgets/paint-selector.c: Lot of rearrangements everywhere -
I am too tired to write all these down. Basically we have one frontend
megawidget SPPaintSelector, that interfaces to colors, gradient and more.
2002-02-10 Lauris Kaplinski <lauris@ximian.com>
* src/desktop.c (sp_desktop_widget_destroy): Removed stale signal
disconnect (no idea what it was originally for)
2002-02-09 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Removed rbuf, frgba, new font checks and arena switch
* src/sp-namedview.c (sp_namedview_setup_grid_item): Grid settings are
always in points, units are there just for user preference
(sp_namedview_read_attr): Ditto
* src/desktop-snap.c (sp_desktop_horizontal_snap): Read snap distances
from new desktop members
(sp_desktop_vertical_snap): Ditto
(sp_desktop_vector_snap): Ditto
(sp_desktop_circular_snap): Ditto
* src/desktop-handles.c (sp_desktop_canvas): Update to new desktop structure
* src/sodipodi.c (sodipodi_activate_desktop_private): Default method
implementation to chain activation signal on desktop
(sodipodi_deactivate_desktop_private): Ditto
* src/desktop.c (sp_desktop_new): Owner does not have document pointer
any more, so had to change signature here
(sp_desktop_widget_init): Moved activation signals to public constructor
(sp_dtw_desktop_activate): Activation signal handler
(sp_dtw_desktop_deactivate): Ditto
(sp_desktop_widget_new): Use desktop "activate" and "deactivate" signals
instead of sodipodi ones, signature change
(sp_desktop_class_init): Added "activate" and "deactivate" signals
* src/dialogs/display-settings.c: Removed glade, made mostly dynamic
* src/sodipodi.c (sodipodi_remove_desktop): Emit "destroy_desktop" if
destroyed one was not active too
(sodipodi_refresh_display): Convenience method
2002-02-08 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/document-properties.c: Do not use glade anymore, made
everything dynamic
* src/helper/canvas-grid.c (sp_grid_hline): Use helpers from ctrlrect
(sp_grid_vline): Ditto
(sp_cgrid_render): Render real grid instead of dots
* src/xml/repr-util.c (sp_repr_get_boolean): Saner conveninence method
(sp_repr_get_int): Ditto
(sp_repr_get_double): Ditto
(sp_repr_set_boolean): Ditto
(sp_repr_set_int): Ditto
(sp_repr_set_double): Ditto
* src/svg/svg-length.c (sp_svg_read_length): Added meter
* src/dialogs/sp-attribute-widget.c (sp_attribute_widget_changed): Kill warning
(sp_attribute_widget_set_object): Ditto
(sp_attribute_widget_object_modified): Ditto
(sp_attribute_table_set_object): Ditto
(sp_attribute_table_object_modified): Ditto
(sp_attribute_table_entry_changed): Ditto
* src/dialogs/desktop-properties.c: Do not use glade anymore, made
everything dynamic
* src/sp-namedview.c (sp_namedview_init): Do not init distances here,
as ::build invokes full reread anyways
(sp_namedview_read_attr): Use saner structure and read measured distances
(sp_namedview_setup_grid_item): Convert distances to points here
(sp_str_to_bool): Convenience stuff (should be moved to some central place)
(sp_nv_read_length): Ditto
(sp_nv_read_opacity): Ditto
* src/sp-namedview.h: Use real units for distances, some cleanup
* src/desktop-snap.c (sp_desktop_horizontal_snap): Ported to namedview
changed internals
(sp_desktop_vertical_snap): Ditto
(sp_desktop_vector_snap): Ditto
(sp_desktop_circular_snap): Ditto
2002-02-04 Frank Felfe <innerspace@iname.com>
* src/sp-item.c (sp_item_distance_to_svg_bbox): Fix compilation error
2002-02-03 Lauris Kaplinski <lauris@ximian.com>
* src/helper/units.c: Fix userspace/device confusion
* src/sp-gradient.c (sp_stop_read_attr): Convert percentages to dimensionless
units
* src/gradient-chemistry.c (sp_gradient_vector_release_references): New
method to prepare gradient vector for deletion
* src/dialogs/gradient-vector.c (sp_gradient_vector_selector_init): Connect
button dialogs
(sp_gvs_rebuild_gui_full): Set selection to current active gradient
(sp_gvs_gradient_edit_clicked): From old gradient selector
(sp_gvs_gradient_add_clicked): Ditto
(sp_gvs_gradient_delete_clicked): Ditto
2002-02-02 Kjartan Maraas <kmaraas@gnome.org>
* glade/object_props.glade: Fix a typo. s/Mitter/Miter/
2002-01-27 Lauris Kaplinski <lauris@ximian.com>
* src/bonobo/Makefile.am (INCLUDES): Remove excess -I
2002-01-21 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item.c (sp_item_distance_to_svg_viewport): New method
(sp_item_distance_to_svg_bbox): Ditto
(sp_item_style_changed): Use generic distance conversion method
* src/helper/units.c: New file, ported from libgnomeprint, we collect
all unit management into here
* src/helper/units.h: New file
* src/svg/svg-length.c (sp_svg_write_percentage): New unit logic
(sp_svg_read_length): Ditto
* src/helper/unit-menu.c: Ported widget from libgnomeprint
* src/helper/unit-menu.h: Ported widget from libgnomeprint
* src/dialogs/text-edit.c (sp_text_read_selection): New unit logic
* src/dialogs/object-properties.c (sp_object_properties_apply_stroke): New
unit logic
* src/dialogs/gradient-selector.c (sp_gradient_widget_new): Use
SPGradientVectorSelector here
* src/style.c (sp_style_read_from_string): New unit logic
(sp_style_write_string): Ditto
(sp_style_init): Ditto
* src/sp-text.c (sp_text_read_attr): New unit logic
* src/sp-star.c (sp_star_read_attr): New unit logic
* src/sp-spiral.c (sp_spiral_read_attr): New unit logic
* src/sp-shape-style.c (sp_stroke_read): New unit logic
* src/sp-root.c (sp_root_read_attr): New unit logic
* src/sp-rect.c (sp_rect_read_attr): New unit logic
* src/sp-namedview.c (sp_namedview_read_attr): New unit logic
* src/sp-item.c (sp_item_style_changed): New unit logic
* src/sp-image.c (sp_image_read_attr): New unit logic
* src/sp-ellipse.c (sp_circle_read_attr): New unit logic
* src/dyna-draw-context.c (sp_dyna_draw_context_setup): New unit logic
(fit_and_split_line): Ditto
(fit_and_split_calligraphics): Ditto
* src/desktop-events.c (sp_dt_simple_guide_dialog): Use new unit widget
(guide_dialog_apply): Ditto
2002-01-13 Wang Jian <lark@linux.net.cn>
* configure.in(ALL_LINGUAS): Added zh_CN for Simplifed Chinese.
2002-01-05 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/helper/bezier-utils.c (BEZIER_DEBUG): inhibit debug messages.
2002-01-04 Zbigniew Chyla <cyba@gnome.pl>
* src/desktop.c (sp_desktop_widget_init, sp_desktop_widget_set_title,
sp_desktop_widget_shutdown): Marked strings for translation.
* src/document.c (sp_document_new, sp_document_new_from_mem): Ditto.
2002-01-01 Zbigniew Chyla <cyba@gnome.pl>
* configure.in: Added "AC_PROG_INTLTOOL(0.11)" line.
* Makefile.am: Use intltool.
* GNOME_Sodipodi.oaf.in: New, copied from GNOME_Sodipodi.oafinfo.
* sodipodi.desktop.in: New, generated from sodipodi.desktop.
* GNOME_Sodipodi.oafinfo, sodipodi.desktop: Removed.
* glade/Makefile.am (glade_DATA): Removed *.c.
* glade/*.c: Removed.
* .cvsignore: Added intltool-*, sodipodi.desktop, GNOME_Sodipodi.oaf.
* src/bonobo/svg-doc-factory.c, src/desktop.c, src/dialogs/align.c,
src/dialogs/display-settings.c, src/dialogs/document-properties.c,
src/dialogs/fill-style.c, src/dialogs/gradient-selector.c,
src/dialogs/gradient-vector.c, src/dialogs/item-properties.c,
src/dialogs/object-attributes.c, src/dialogs/object-properties.c,
src/help.c, src/helper/unit-menu.c, src/main.c, src/sodipodi.c,
src/sp-anchor.c, src/sp-image.c, src/sp-item-group.c, src/sp-rect.c,
src/sp-shape.c, src/sp-spiral.c, src/sp-star.c, src/sp-text.c,
src/widgets/sp-color-selector.c: Added missing #include <config.h>.
2001-12-30 Lauris Kaplinski <lauris@localhost.localdomain>
* src/widgets/sp-color-selector.c (sp_color_selector_adjustment_changed): Set
updating flag here, so we get single "changed" signal whatever happens
* src/sp-gradient.c (sp_gradient_repr_set_vector): Allow setting our
own vector too here
* src/sp-object.h (SP_OBJECT_NEXT): New macro
* src/gradient-chemistry.c (sp_gradient_ensure_vector_normalized): Should
work as intended now
(sp_gradient_ensure_private_normalized): Ditto
(sp_gradient_repr_set_link): Set NULL link too
2001-12-30 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-spiral.c src/sp-star.c:
Revert to previous cx, cy attribute implementation.
Because SVG standard shape introduce cx, cy,
so we coordinate to that policy.
* src/sp-spiral.c (sp_spiral_get_polar): New function
(sp_spiral_is_invalid): New function to protect attributes
consistency. sp_spiral_read_attr use it.
2001-12-29 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/knotholder.c src/knotholder.h
(sp_knot_holder_add_full): New method
* src/sp-spiral.c: Removed cx, cy attribute,
so we use item matrix for that.
Fixed up debug code.
* src/sp-star.c src/sp-star.h src/star-context.c:
Removed cx, cy attribute
2001-12-29 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/knotholder.c (knot_moved_handler):
Lauris found a incorrect invert matrix bug. I just fixed it.
2001-12-28 Simos Xenitellis <simos@hellug.gr>
* configure.in: Added "el" (Greek) to ALL_LINGUAS.
2001-12-28 Lauris Kaplinski <lauris@localhost.localdomain>
* src/sp-gradient.c: Lot of changes due to class member rearrangement
(sp_gradient_repr_flatten_attributes): New method
(sp_gradient_repr_set_vector): Ditto
* src/sp-gradient.h: Moved gradientUnits and gradientTransform to
base SPGradient class, added ::flatten_attributes virtual method
* src/gradient-chemistry.c (sp_gradient_ensure_vector_normalized): Works
now for lonely gradients as well
* src/desktop-events.c (guide_dialog_apply): Flush undo
(guide_dialog_delete): Ditto
(sp_dt_guide_event): Ditto
* src/widgets/sp-color-selector.c: Added 'rrggbbaa' hex value entry,
use SPColor helpers instead of doing conversions here, added some
generic color methods and renamed/changed signature of old ones.
* src/widgets/sp-color-slider.c (sp_color_slider_paint): Update arrow
the right way
* src/helper/nr-plain-stuff.c (nr_render_rgba32_rgb): Use computed channels
instead of plain color ones
* src/helper/nr-plain-stuff-gdk.c (nr_gdk_draw_rgba32_solid): New method
* src/text-context.c (sp_text_context_setup): Some XIM handling
(sp_text_context_destroy): Ditto
(sp_text_context_root_handler): Ditto
* src/sp-gradient.c: Killed gcc 3 warnings
* src/draw-context.c: Started rewriting of drawing context, added 4-member
path cache (instead of 2 in old version), the goal is to make selection
continuation and pen tool
* src/draw-context.h: New members in class
* src/color.c (sp_color_get_colorspace_class): Broke colorspace descriptor
into class (process | spot) and type (rgb | cmyk), added new methods and
renamed old one accordingly
(sp_color_get_colorspace_type): Ditto
(sp_color_rgb_to_hsv_floatv): Convenience method
(sp_color_hsv_to_rgb_floatv): Ditto
(sp_color_rgb_to_cmyk_floatv): Ditto
(sp_color_cmyk_to_rgb_floatv): Ditto
* src/color.h: New convenience macros and methods
* configure.in (have_bonobo): Made --without-bonobo default
* src/widgets/sp-color-preview.c: New file, implement simple
color preview object, a la the one in Gtk+ color selector
* src/widgets/sp-color-preview.h: New file
2001-12-21 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-spiral.*, spiral-context.c
(sp_spiral_inner_*, sp_spiral_outer_*, sp_spiral_knot_holder):
Add SPKnotHolder codes
(sp_spiral_set_shape, sp_spiral_fit_and_draw):
Fixed some drawing bugs
* src/dyna-draw-context.*, sp-shape.c, sp-star.c:
Clean up codes
2001-12-15 Lauris Kaplinski <lauris@ximian.com>
* src/helper/canvas-bpath.h: New file
* src/helper/canvas-bpath.c: New file
* src/helper/Makefile.am (libspchelp_a_SOURCES): Added
canvas-bpath.[c,h]
* src/helper/curve.c (sp_curve_ref): Signature change
(sp_curve_unref): Ditto
* src/display/Makefile.am (nr_sources): Removed stale files
* src/helper/bezier-utils.c (sp_bezier_fit_cubic): Added argument
checks, signature change, cleanup
(sp_bezier_fit_cubic_r): Ditto
(sp_bezier_fit_cubic_full): Ditto
* src/helper/bezier-utils.h: Changed fit method signatures
* src/draw-context.c (fit_and_split): Use new sp_bezier_fit signature
* src/dyna-draw-context.c (fit_and_split_line): Use new sp_bezier_fit
signature
(fit_and_split_caligraphics): Ditto
2001-12-07 Lauris Kaplinski <lauris@ximian.com>
* src/sodipodi.c (sodipodi_application_new): Catch SIGFPE and SIGILL as well
* src/sp-gradient.c (sp_gradient_write_colors): Skip, if integer stop
values coincide (fixes div 0 bug with gradients)
2001-11-25 Duarte Loreto <happyguy_pt@hotmail.com>
* Added Alvaro Lopes <alvieboy@alvie.com> portuguese translation to configure.in (ALL_LINGUAS)
01-11-19 Lauris Kaplinski <lauris@ximian.com>
* src/preferences-skeleton.h: Removed '%' from opacity
2001-11-12 Lauris Kaplinski <lauris@ximian.com>
* src/display/canvas-arena.c (sp_canvas_arena_render): Try to fit
buffer, instead of just using 64x64 rectangles
* src/sp-rect.c: Remove Gtk+ arguments
* src/display/nr-arena-image.c (nr_arena_image_update): Request
rendering previous area
2001-11-11 Lauris Kaplinski <lauris@ximian.com>
* src/sp-rect.c (sp_rect_write_transform): Scale rx and ry
(sp_rect_menu): Implement
(sp_rect_rect_properties): Implement
* src/dialogs/object-properties.c (sp_object_properties_apply_fill): Use
float value, not percentage
(sp_object_properties_apply_stroke): Ditto
* src/file.c (file_save_ok): Update relative image references
* src/sp-image.c (sp_image_destroy): Unregister resource
(sp_image_build): Register resource
* src/sp-spiral.c (sp_spiral_menu): Implement
(sp_spiral_spiral_properties): Generic attributes dialog
2001-11-10 Lauris Kaplinski <lauris@ximian.com>
* src/sp-anchor.c (sp_anchor_menu): New method
(sp_anchor_link_properties): Ditto
(sp_anchor_link_follow): Ditto
(sp_anchor_link_remove): Ditto
* src/sp-star.c (sp_star_menu): New method
(sp_star_star_properties): Ditto
* src/sp-item.c (sp_item_create_link): New method
* src/sp-item-group.c (sp_item_group_ungroup): Ungroup anchors too
* src/forward.h: Added SPAnchor
* src/dialogs/sp-attribute-widget.h: New file, implement generic
asynchronous attribute widget, and table of attribute widgets
* src/dialogs/sp-attribute-widget.c: New file
* src/dialogs/object-attributes.h: New file, implement generic
asynchronous object attribute dialog
* src/dialogs/object-attributes.c: New file
* src/display/Makefile.am (INCLUDES): Added SODIPODI_CFLAGS
* src/sp-anchor.c: New file, implement SVG <a> element. Actual event
code is pure experimental and need some serious thinking.
* src/sp-anchor.h: Ditto
* src/svg-view.c (arena_handler): Forward arena events to SPEvents
* src/sp-object-repr.c (sp_object_type_lookup): parse <a> as anchor
* src/sp-item.h: Added ::event virtual method plus some test code
* src/sp-item.c (sp_item_event): New method
* src/desktop.c (sp_desktop_new): Moved drawing behind all other layers
(sp_desktop_document_resized): Resize page frame
* src/helper/sodipodi-ctrlrect.h: More complex structure to represent
page frame as well
* src/helper/sodipodi-ctrlrect.c (sp_ctrlrect_hline): New render method
(sp_ctrlrect_vline): Ditto
(sp_ctrlrect_area): Ditto
(sp_ctrlrect_render): Use more complex structure
(sp_ctrlrect_update): Ditto
(sp_ctrlrect_set_area): New method
(sp_ctrlrect_set_color): Ditto
(sp_ctrlrect_set_shadow): Ditto
2001-11-09 Lauris Kaplinski <lauris@ximian.com>
* src/display/nr-arena-image.c (nr_arena_image_update): Implemented
explicit geometry
(nr_arena_image_set_geometry): New method
* src/sp-image.c: Implemented "x", "y", "width", "height"
(sp_image_read_attr): Ditto
(sp_image_bbox): Ditto
(sp_image_print): Ditto
(sp_image_show): Ditto
(sp_image_write_transform): Implement
* src/file.c (file_import_ok): Try to load pixbuf and set
"width" and "height" attributes
* src/desktop.c: Some cleanups of View/Widget structure
* src/desktop.h: Ditto
* glade/Makefile.am (images): Added about.svg
2001-11-08 Lauris Kaplinski <lauris@ximian.com>
* src/svg/svg-affine.c (sp_svg_write_affine): Write scale and
translate, if everything can be represented by these
* src/sp-text.c (sp_text_write_transform): Implement
* src/sp-rect.c (sp_rect_write_transform): Implement
* src/sp-item.c (sp_item_write_transform): New class and virtual
method pair, to allow object to optimize representation (i.e.
rects can set x,y,width,height instead of just transformation
* src/seltrans.c (sp_sel_trans_ungrab): Use sp_item_write_transform
* src/selection-chemistry.c: Use sp_item_write_transform
* src/help.c (sp_help_about): Set title string to "Sodipodi VERSION"
* src/Makefile.am (INCLUDES): Define SODIPODI_VERSION
* src/xml/repr-io.c (repr_write): Avoid newlines in content
* src/view.c: Sorted out lot os signalling stuff
* src/svg-view.c: Lot of work, basically works
* src/sp-root.c (sp_root_modified): Call parent method as well
* src/interface.c (sp_ui_new_view_preview): New method
(sp_create_window): Sort out editable/non-editable views
* src/help.c (sp_help_about): Create about maunally (not much here yet)
* src/desktop.c: Use ::document_resized virtual method
2001-10-31 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/text-edit.c (sp_text_read_selection): Use gal
utf8/editable methods
(sp_text_dialog_apply): Ditto
(sp_text_dialog_text_changed): Ditto
* src/sp-text.c (sp_text_set_shape): Use correct utf8 methods
* src/display/nr-arena-image.c (nr_arena_image_class_init): Use
correct parent class
2001-10-31 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/knotholder.c:
Removed unnecessary ref/unref.
Added sp_object_invoke_write_repr() to reflect item changes to repr
* src/sp-object.c: Added new virtual function SPObject::write_repr()
* src/sp-object.h: Ditto
* src/sp-shape.c (sp_shape_write_repr): Added
* src/sp-star.c (sp_star_write_repr): Added.
Moved subclass of SPShape to SPPolygon
* src/star-context.c: Ditto
2001-10-30 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/knotholder.c: New file
We can manage plural SPKnot in one SPKnotHolder.
SPKnotHolder is created by SPItem::knot_holder virtual function.
Moving SPKnot is propageted to another SPKnot.
* src/knotholder.h: Ditto
* src/node-context.c: Added SPKnotHolder
* src/node-context.h: Ditto
* src/sp-item.c: Added knot_holder virtual function.
* src/sp-item.h: Ditto
* src/sp-shape.c: Added set_shape virtual function.
It is used to build bpath from extra shape attributes.
* src/sp-shape.h: Ditto
* src/sp-star.c: Added knot_holder and set_shape implementations.
(sp_star_build_repr): Modified function name.
* src/sp-star.h: Ditto
* src/sp-spiral.c: Added set_shape implementation.
(sp_spiral_build_repr): Modified function name.
* src/sp-spiral.h: Ditto
* src/star-context.c: Modified build_repr function name.
* src/spiral-context.c: Ditto
2001-10-29 Lauris Kaplinski <lauris@ximian.com>
* src/desktop.c (sp_desktop_coordinate_status): Free allocated memory
* src/display/nr-arena-shape.c (nr_arena_shape_group_add_component): Unref
item once it is added
2001-10-29 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/desktop.c:
Added gtk_object_unref() after *_add_child to fix memory leaks.
* src/document: Ditto
* src/selection-chemistry.c: Ditto
* src/sp-item-group.c: Ditto
* src/sp-clippath.c, src/sp-use.c: Ditto
Missing to add ChangeLog before commiting.
2001-10-23 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/sp-star.*, src/sp-spiral.*, src/star-context.* and
spiral-context.*:
Add SPStar, SPStarContext, SPSpiral and SPSpiralContext classes.
SPStar and SPSpiral behave as new shape and they can convert to
bezier curves. More works are required.
* glade/draw_star.xpm, glade/draw_spiral.xpm, src/pixmaps/cursor-star.xpm,
src/pixmaps/cursor-spiral.xpm:
Add toolbox icon and mouse cursor for star and spiral.
* src/helper/bezier-utils.*:
Add lowlevel APIs and reformat source code.
* src/xml/repr-io.c:
Fix repr_write() to generate more short SVG.
New code support <foo /> tags generation.
* src/xml/repr-util.c, src/xml/repr.*, src/sodipodi.c:
Add new SPRepr APIs sp_repr_lookup_child(), sp_repr_overwrite (),
and sp_repr_document_overwrite ()
Now, we can merge ~/.sodipodi/preferences into preferences_skeleton.
2001-10-23 Lauris Kaplinski <lauris@ximian.com>
* src/file.c (sp_file_new): Use new signatures
(file_open_ok): Ditto
* src/interface.c (sp_create_window): New signature
* src/desktop.c: Break desktop functionality into SPView/SPViewWidget
parts, wrap most of the old code in ugly way, but we can go on
cleaning it up method-by-method
* src/desktop.h: Ditto
* src/view.h: New file
* src/view.c: New file, we implement abstract base classes for
all document views (editable, noneditable, widget, non-widget)
here
* src/svg-view.h: New file
* src/svg-view.c: New file, implementing SVG preview
* src/marshal.h: New file
* src/marshal.c: New file
2001-10-20 Lauris Kaplinski <lauris@ximian.com>
* src/sp-root.c (sp_root_read_attr): Removed desktop->document coordinate
setup from here - it has to be done in desktop instead
2001-10-19 Frank Felfe <innerspace@iname.com>
* src/widgets/sp-toolbox.*: patch from MenTaLguY <mental@rydia.net>
change seperate button into toggle button and add arrow to
hide button indicating state of toolbox
* src/path-chemistry.c (sp_selected_path_to_curves): apply to all paths in selection
* src/selection-chemistry.c (sp_selection_delete): remove widget text
* src/desktop.c (sp_desktop_set_focus): make canvas catch key events
* src/desktop-events.c (sp_desktop_root_handler): don't grab focus here
2001-10-18 Lauris Kaplinski <lauris@ximian.com>
* src/display/nr-arena-image.c (nr_arena_image_render): Use right
pixel coposers
* configure.in: Version 0.25
2001-10-18 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item-group.c: Removed paint virtual method implementation
* src/sp-image.c: Ditto
* src/sp-shape.c: Ditto
* src/sp-use.c: Ditto
* src/sp-item.c (sp_item_paint): Ported to NRArena/::show()
* src/sp-item.h: Removed ::paint()
* samples: Removed extra sample files (these are in clipart distribution)
2001-10-17 Lauris Kaplinski <lauris@ximian.com>
* src/display/nr-arena*: Merged NR_ARENA branch into HEAD.
NRArena is new experimental display list engine, that replaces
most canvas stuff for SVG items (old canvas code is still
used for controls etc.).
It is less integrated with Gtk widgetry, and should also allow reuse
of code for paint-server type things (patterns, symbols etc.).
NRArena rendering also allows higher-level graphic stuff, from
masking to filters, to be implemented.
2001-10-13 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/dynadraw-context.c: Removed rotating brush bug
* src/draw-context.h: Removed duplicate bezier-fitting code
2001-10-12 Lauris Kaplinski <lauris@ximian.com>
* src/sp-clippath.c: New file
* src/sp-clippath.h: New file
* src/sp-object-group.c (sp_objectgroup_build): Check child type
(sp_objectgroup_child_added): Ditto
* src/sp-object-group.h: Removed useless 'tranparent' member
2001-10-07 Lauris Kaplinski <lauris@ximian.com>
* src/display/nr-primitives.c (nr_irect_union): New method
* src/helper/nr-buffers.h: New file
* src/helper/nr-buffers.c: New file
* src/helper/nr-plain-stuff.c (nr_render_rgba32_rgba32): New method
2001-10-06 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item.c (sp_item_read_attr): Query presentation attributes
* src/style.c (sp_style_read_from_object): Added some presentation attributes
2001-10-05 Lauris Kaplinski <lauris@ximian.com>
* src/sp-use.c (sp_use_build): Reinclude, change 'href' to 'xlink:href'
* src/sp-object.c (sp_object_style_changed): Use SP_OBJECT_MODIFIED_FLAG
* src/document.c (sp_document_new): Force "height" and "width" attributes,
if not present already
(sp_document_new_from_mem): Ditto
2001-10-04 Lauris Kaplinski <lauris@ximian.com>
* src/xml/repr-io.c (sp_repr_save_stream): Correct header
2001-10-02 Peter Moulder <pmoulder@csse.monash.edu.au>
* src/xml/repr-io.c (repr_quote_write): New method, quotes
special chars correctly for xml
(repr_write): Use repr_quote_write
2001-10-02 Lauris Kaplinski <lauris@ximian.com>
* src/dyna-draw-context.c: Stroking by Mitsuru Oka
* src/helper/bezier-utils.h: New file by Motsuru oka
* src/helper/bezier-utils.c: Ditto
* src/sp-shape.c (sp_shape_print): Translate gradients the right way
2001-10-01 Lauris Kaplinski <lauris@ximian.com>
* src/sp-shape.c (sp_shape_print): Use rule for clip and fill
(sp_shape_paint): Use winding rule
2001-09-30 Lauris Kaplinski <lauris@ximian.com>
* src/style.c (sp_style_write_string): Write rule
(sp_style_read_from_string): Parse rule
* src/style.h: Made rule libart enum
* src/display/path-archetype.c (sp_path_at): Search by rule
(sp_path_at_new): Rewind with rule
(sp_pat_equal): Compare rules
* src/display/path-archetype.h: Added rule argument
* src/display/cpath-component.c (sp_cpath_comp_new): Init rule
(sp_cpath_comp_update): Use rule
(sp_cpath_comp_change): Ditto
* src/display/cpath-component.h: Added rule member
* src/display/canvas-shape.c (sp_canvas_shape_update): Set fill rule
2001-09-29 Lauris Kaplinski <lauris@ximian.com>
* src/selection-chemistry.c (sp_selection_lower_to_bottom): Do not lower
behind non-items (i.e. base <defs> object)
(sp_selection_lower): Ditto
* configure.in: Version 0.24.1
* src/document.c (sp_document_new): Set xmlns:xlink
(sp_document_new_from_mem): Ditto
* src/sp-defs.c (sp_defs_destroy): Correct list emptying
* src/dialogs/gradient-selector.c (sp_gradient_selector_add_vector_clicked): unref repr
* src/gradient-chemistry.c (sp_object_ensure_fill_gradient_normalized): unref repr
* src/helper/art-utils.c (art_rgb_run_rgba): Fix 255/256 bug
* src/display/canvas-shape.c (sp_canvas_shape_render): Removed #ifdef 0 code
* src/widgets/gradient-image.c (sp_gradient_image_expose): Draw grabage
using fresh new nr functions
(sp_gradient_image_update): Ditto (not used)
* src/helper/nr-plain-stuff.h: New file
* src/helper/nr-plain-stuff.c: New file
* src/helper/nr-plain-stuff-gdk.h: New file
* src/helper/nr-plain-stuff-gdk.c: New file
2001-09-27 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/object-properties.c (sp_object_properties_dialog): Create
dynamic fill page
* src/sp-shape.c (sp_shape_print): Print gradients (somewhat)
(sp_shape_paint): Paint gradients (somewhat)
* src/document.c (sp_document_new_from_mem): Use fresh namespace
* src/xml/repr-io.c (sp_repr_save_stream): Write fresher descriptor
* src/widgets/gradient-position.c: New file and widget
* src/widgets/gradient-position.h: New file and widget
* src/dialogs/gradient-selector.c (sp_gradient_widget_new): Make
delete vector inactive, shorter button names, create gradient
positioning widget
(sp_gradient_selector_load_selection): Update positioning widget
(sp_gradient_selection_position_dragged): Implement
(sp_gradient_selection_position_changed): Implement
* src/sodipodi.c (sodipodi_segv_handler): Abort on recursion
2001-09-26 Lauris Kaplinski <lauris@ximian.com>
* src/sp-text.c (sp_text_read_attr): Use unit-loading method for x & y
2001-09-25 Christopher R. Gabriel <cgabriel@cgabriel.org>
* sodipodi.1.in: new man page
* configure.in: Likewise
* Makefile.am (man_MANS): Likewise
2001-09-24 Frank Felfe <innerspace@iname.com>
* src/helper/sodipodi-ctrl.*: New ctrl-shapes
* src/knot.*: Ditto
* src/pixmaps/cursor-node-d.xpm: New file
* src/pixmaps/cursor-node-m.xpm: New file
* src/pixmaps/cursor-select-d.xpm: New file
* src/pixmaps/cursor-select-m.xpm: New file
* src/pixmaps/handles.xpm: New file
* src/sp-cursor.* (sp_cursor_new_from_xpm): New function
* src/seltrans.c: Use new ctrl-shapes and cursors
* src/seltrans-handles.*: Use new ctrl-shapes
* src/select-context.c (sp_node_context_class_init): Init cursors and handle pix
* src/nodepath.* (node_event): Redirect key events
(node_key): New key handler
(sp_node_selected_break): Handle first and last node
(node_ctrl_moved): Update ctrlline after setting coords
(sp_nodepath_node_new): Use new ctrl-shapes and cursors
* src/node-context.c (sp_node_context_class_init): Init cursors
2001-09-22 Mitsuru Oka <oka326@parkcity.ne.jp>
* src/dynadraw-context.c: New file
* src/dynadraw-context.h: New file
* src/event-context.c (sp_event_context_set_dynahand): New handler
2001-09-21 Lauris Kaplinski <lauris@ximian.com>
* src/svg/svg-path.c: Quick port of latest librsvg path code
2001-09-19 Lauris Kaplinski <lauris@ximian.com>
* src/document.c (sp_document_destroy): Remove document
(sp_document_new): Add document
(sp_document_new_from_mem): Ditto
* src/sodipodi.c (sodpodi_remove_document): New method
(sodpodi_add_document): Ditto
(sodipodi_segv_handler): Not very intelligent signal handler
2001-09-18 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/gradient-selector.c (sp_gradient_selector_add_vector_clicked):
New handler
(sp_gradient_selector_delete_vector_clicked): Ditto (empty)
(sp_gradient_selector_load_selection): New method
* src/desktop.c (sp_desktop_init): Typo fix
2001-09-17 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/gradient-vector.c (sp_gradient_vector_widget_destroy): Handler
(sp_gradient_vector_gradient_destroy): Ditto
(sp_gradient_vector_gradient_modified): Ditto
(sp_gradient_vector_color_dragged): Ditto
(sp_gradient_vector_color_changed): Ditto
(sp_gradient_vector_widget_load_gradient): Connect/disconnect signals,
handle NULL gradient etc.
* src/sp-gradient.c (sp_gradient_set_vector): New method
* src/widgets/gradient-image.c (sp_gradient_image_update): New method
(sp_gradient_image_gradient_modified): Handler
(sp_gradient_image_gradient_destroy): Ditto
(sp_gradient_image_set_gradient): New method
(sp_gradient_image_unrealize): Implement
(sp_gradient_image_realize): Ditto
2001-09-16 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/gradient-selector.c (sp_gradient_widget_new): Added buttons
(sp_gradient_selector_edit_vector_clicked): Handler
* src/sp-defs.c (sp_defs_build): Use attach method
2001-09-15 Lauris Kaplinski <lauris@ximian.com>
* src/sp-gradient.c: Added radial gradient
* src/sp-gradient.h: Ditto
* src/sp-paint-server.c (sp_paint_server_destroy): Do not leak painters
* src/gradient-chemistry.c (sp_gradient_ensure_vector_normalized): New method
(sp_item_force_fill_lineargradient_vector): Ditto
* src/sp-object.h (SP_OBJECT_STYLE): New macro
2001-09-14 Lauris Kaplinski <lauris@ximian.com>
* src/zoom-context.c (sp_zoom_2_to_1): Noop if no active desktop
(sp_zoom_1_to_2): Ditto
2001-09-07 Lauris Kaplinski <lauris@ximian.com>
* src/sp-header.c: New file, implements document header, consisting
of nested <defs> nodes, for different resource definitions
* src/sp-header.h: New file
* src/forward.h: Added SPHeader forward typedefs
2001-09-05 Lauris Kaplinski <lauris@ximian.com>
* src/document.c (sp_document_del_repr): Moved here, commented out
(sp_document_add_repr): Moved here, made non-item compatible
* src/style.c (sp_style_object_destroyed): Catcher method
(sp_style_new): Signature change
(sp_style_ref): Ditto
(sp_style_unref): Ditto
* src/sp-paint-server.c (sp_paint_server_destroy): Removed insane
paint server referencing by painters and replaced it witw (a bit)
less insane stale painter maintenance
(sp_paint_server_painter_new): Ditto
(sp_paint_server_painter_free): Ditto
(sp_painter_free): Ditto
(sp_painter_stale_fill): Ditto
* src/sp-object.c (sp_object_invoke_build): Added verbose error
* src/style.c (sp_style_paint_server_destroy): Implemented signal-based
paintserver spying, instead of hardrefing it
(sp_style_paint_server_changed): Ditto
(sp_style_merge_paint): Ditto
* src/sp-object.c (sp_object_ref): Wrapper method for debugging
(sp_object_unref): Ditto
(sp_object_attach_reref): Convenience connect method
(sp_object_detach_unref): Ditto
2001-09-04 Lauris Kaplinski <lauris@ximian.com>
* src/sp-shape.c (sp_shape_print): Do not fill open paths
* src/document.c (sp_document_add_resource): Implemented simple
named resource lists
(sp_document_remove_resource): Ditto
(sp_document_get_resource_list): Ditto
2001-09-03 Lauris Kaplinski <lauris@ximian.com>
* src/sp-gradient.c: Added middle SPGradient class and morphed
LinearGradient accordingly
* src/sp-gradient.h: Added middle SPGradient Class
* src/forward.h: Declare stops and gradients here
* src/dialogs/gradient-vector.c: New file
* src/dialogs/gradient-vector.h: New file
* src/bonobo/embeddable-document.c (sp_embeddable_document_ps_save):
Kill warning
* src/select-context.c: Kill warning
2001-08-31 Lauris Kaplinski <lauris@ximian.com>
* src/forward.h: typedef SPDefs[Class] here
* src/sp-root.h: Added pointer to root-level <defs> node
* src/sp-gradient.c (sp_stop_get_type): Fixed type on type init
2001-08-30 Lauris Kaplinski <lauris@ximian.com>
* src/document.c (sp_document_new): Use fill-opacity 0.5, not 50%
2001-08-21 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/fill-style.c: Implement CMYK/RGB colorspace switching
* src/widgets/sp-color-selector.c: Implement CMYK read/set methods
* src/widgets/sp-color-slider.c (sp_color_slider_adjustment_value_changed): Set
local value, even if arrow is not visible
* src/color.c: New file
* src/color.h: New file
* src/sp-item.c (sp_item_read_attr): Check for "fill-cmyk"
* src/style.c (sp_style_read_from_object): Parse "fill-cmyk" (quick hack)
2001-08-20 Lauris Kaplinski <lauris@ximian.com>
* src/svg/svg-path.c (svg_parse_path_data): Kill warning
* src/widgets/sp-color-selector.c: New file & class
* src/widgets/sp-color-slider.c: New file & class
* src/sp-object.c (sp_object_style_changed): New virtual method
2001-08-13 Lauris Kaplinski <lauris@ximian.com>
* src/selection-chemistry.c (sp_selection_copy): Use prepend/reverse
(sp_item_compare_order): New method
(sp_item_list_sort_by_visual_order): New method
* src/sp-path.c (sp_path_read_attr): Req modification
* src/sp-item.c (sp_item_toggle_sensitivity): Call document::done
(sp_item_reset_transformation): Ditto
(sp_item_read_attr): Request modifiaction for style change
* src/sp-object.h (SP_OBJECT_PARENT): Added convenience macros
2001-08-01 Lauris Kaplinski <lauris@ximian.com>
* src/document-undo.c (sp_document_undo): Fresh logic
(sp_document_redo): Ditto
(sp_document_child_added): Real listener
(sp_document_child_removed): Ditto
(sp_document_attr_changed): Ditto
(sp_document_content_changed): Ditto
(sp_document_order_changed): Ditto
(sp_document_add_repr): Fresh logic, use only as wrapper
(sp_document_del_repr): Ditto
(sp_document_clear_undo): Use new logic, free actions at last
(sp_document_clear_redo): Ditto
(sp_action_list_undo): New functions, plus handful children
(sp_action_list_redo): Ditto
(sp_action_new): New function
(sp_action_free): Ditto
(sp_action_free_list): Ditto
2001-07-31 Lauris Kaplinski <lauris@ximian.com>
* src/xml/repr.c (sp_repr_ref): Return referenced repr
(sp_repr_unref): Ditto
(sp_repr_duplicate): Cleanup
(sp_repr_set_content): Ditto, new handler signatures
* src/xml/repr-private.h: Lot of signature changes
2001-07-30 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item-group.c: #include <config.h> for i18n
* src/sp-item.c: Ditto
* src/event-context.c: Ditto
* src/toolbox.c: Ditto
2001-07-25 Lauris Kaplinski <lauris@ximian.com>
* src/document-undo.c (sp_document_maybe_done): New function
2001-07-19 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/sp-widget.c (sp_widget_modify_selection): New function
(sp_widget_show): Connect "modify_selection"
(sp_widget_hide): Disconnect by data
(sp_widget_new): New function
(sp_widget_class_init): Added signals
(sp_widget_change_selection): Emit signal
(sp_widget_set_selection): Ditto
* src/sodipodi.c (sodipodi_selection_modified): New function
(sodipodi_class_init): Added "modify_selection" signal
* src/selection.c (sp_selection_idle_handler): Signal sodipodi
* src/document.c (sp_document_class_init): Added "modified" signal
(sp_document_idle_handler): Emit modified signal
* src/seltrans.c (sp_sel_trans_sel_modified): New function
* src/sp-item.c (sp_item_set_item_transform): New function
* src/sp-object.c (sp_object_class_init): Add "modified" signal
(sp_object_request_modified): New function
(sp_object_modified): New base method
* src/sp-object.h (SP_OBJECT_UNSET_FLAGS): Added modifiaction state flags
and handlers for scheduling and emitting modifiaction signal
* src/selection.c (sp_selection_class_init): Added "modified" signal
(sp_selection_destroy): Remove pending idle, if present
(sp_selection_selected_item_modified): Added handler for object signal
(sp_selection_idle_handler): Emit our own modified signal in idle loop
* src/selection.h: Added idle id and ::modified virtual member
2001-07-17 Lauris Kaplinski <lauris@ximian.com>
* src/sp-namedview.c (sp_namedview_get_name): Initialize exception
* src/sp-item-group.c (sp_item_group_ungroup_activate): New function
(sp_item_group_ungroup): Implement this
* src/sp-item.c (sp_item_select_this): New function
(sp_item_private_menu): Added "Select this"
(sp_item_properties): Select item
* src/desktop.c (sp_desktop_menu_popup): Use new signature
* src/event-context.c (sp_event_root_menu_popup): Use desktop
in signature instead of widget
* src/sp-object.c (sp_object_getAttribute): Return NULL, if
exception is not clear
(sp_object_setAttribute): Ditto
(sp_object_removeAttribute): Ditto
2001-07-08 Lauris Kaplinski <lauris@ximian.com>
* src/xml/repr-io.c (sp_repr_svg_read_node): Preserve namespaces for
everything but "svg"
2001-07-07 F.J.Franklin <F.J.Franklin@sheffield.ac.uk>
* src/svg/svg-color.c (sp_svg_read_color): Accept ';' as
terminator
* src/sp_image.c (sp_image_repr_read_dataURI): New function
(sp_image_repr_read_b64): New function
(sp_image_read_attr): Accept embedded data
* configure.in: Added --with-libwmf switch
* src/xml/repr-io.c (sp_repr_read_file): Read *.wmf using libwmf
(sp_wmf_convert): New function
(sp_wmf_image_name): New function
2001-07-07 Frank Felfe <innerspace@iname.com>
* src/desktop.h: Added number field
* src/desktop.c (sp_desktop_new): Initialize number from
namedview viewcount
(sp_desktop_set_title): Compose name from uri, nameview and number
* src/document.c (sp_document_set_uri): New method
* src/file.c (file_save_ok): Set ducument uri
* src/interface.c (sp_create_window): Set desktop title
* src/select-context.c (sp_select_context_root_handler): Added
backward cycling
* src/selection-chemistry.c (sp_selection_item_next): Cleared
list mess
(sp_selection_item_prev): New function
* src/sp-item-group.c (sp_item_group_item_list): New function
* src/sp-namedview.h: Added viewcount field
* src/sp-namedview.c (sp_namedview_get_name): New method
* doc/keybindings.txt: Added Shift-Tab
2001-06-07 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Version 0.24
* src/sp-item.c (sp_item_read_attr): Quick noscale hack
for style stroke widths
* src/display/canvas-shape.c (sp_canvas_shape_update): Use
stroke_width as well ;)
2001-05-24 Lauris Kaplinski <lauris@ximian.com>
* src/seltrans-handles.*: Make structs const
* src/seltrans.*: Make view type variable, move it to
header for adding GUI later
2001-05-23 Frank Felfe <innerspace@iname.com>
* src/desktop-snap.*: Implement circualr and list snapping
* src/sp-item.*: New virtual function ::snappoints()
* src/seltrans.c: New structure
* src/sp-rect.c (sp_rect_snappointss): Implement
* src/sp-ellipse.c (sp_ellipse_snappoints): Ditto
* src/sp-text.c (sp_text_snappoints): Ditto
* src/sp-image.c (sp_image_snappoints): Ditto
2001-05-18 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Version 0.23 final
* src/sp-gradient.c (sp_lg_fill): Do opacity
* src/document-undo.c (sp_document_redo): Fixed bug in redoing
order changes
2001-05-17 Lauris Kaplinski <lauris@ximian.com>
* src/toolbox.c (sp_maintoolbox_create): Show toolbox, if
it already exists and reference sodipodi
(sp_maintoolbox_close): Hide toolbox
* glade/Makefile.am (glade_DATA): Added item.glade, item.c
* configure.in: Version 0.23
* src/dialogs/display-settings.h: New file
* glade/Makefile.am (glade_DATA): Added display.glade, display.c
2001-05-06 Lauris Kaplinski <lauris@ximian.com>
* configure.in (use_arena): Added with-arena flag
* acconfig.h: Added ARENA
2001-04-16 Jesus Bravo Alvarez <jba@pobox.com>
* configure.in: Added gl (Galician) to ALL_LINGUAS
2001-04-14 Lauris Kaplinski <lauris@ximian.com>
* everywhere (TM): Changed the basic structure of Reprs (they are
not GtkObjects any more) and SPObjects (they have own list sequence
instead of using GLists)
2001-04-06 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item-group.c (sp_item_group_ungroup): New method
* src/draw-context.c (set_to_accumulated): Transform path instead of
setting initial transform, so clear transform does not do interesting
things for freehand curves ;-)
2001-04-04 Lauris Kaplinski <lauris@ximian.com>
* src/file.c (sp_file_open): Do not connect "delete_event"
(sp_file_save_as): Ditto
(sp_file_import): Ditto, do not use static widget pointer
(sp_file_export): Ditto
(sp_file_save_document): Clear "modified" attribute
(file_save_ok): Ditto
* src/svg/svg.h: #include glib.h instead of full gtk.h
* src/svg/svg-stroke.c: #include string.h, kill warning
* src/svg/svg-font.c: Ditto
* src/sp-shape-style.c: Ditto
* src/sp-metrics.h: #include gtkruler.h intead of full gtk.h
* src/zoom-context.c (sp_zoom_page): Get document from desktop
instead of using ACTIVE_DOCUMENT
* src/slide-context.c: New file, implement slideshow context
* src/main.c (main): Create slideshow, if requested
2001-03-22 Lauris Kaplinski <lauris@ximian.com>
* src/svg/Makefile.am (INCLUDES): Add SODIPODI_CFLAGS
2001-03-21 Lauris Kaplinski <lauris@ximian.com>
* src/sodipodi.h: Remove Sodipodi typedef
* src/forward.h: Typedef Sodipodi here
* src/dialogs/sp-widget.c: New file
* src/dialogs/sp-widget.h: New file, implement abstract base class for
configuration widgets
* glade/Makefile.am (pixmaps): Added guide_dialog.png
* src/dialogs/document-properties.c (sp_document_dialog_delete): New function, or
we crash if user closes dialog
* src/dialogs/desktop-properties.c (sp_desktop_dialog_delete): New function, or
we crash if user closes window
* src/draw-context.c (sp_draw_context_root_handler): Do not crash for zero
length lines PLEEAAAASSSSEEEEE!
* src/selection-chemistry.c (sp_selection_group): Use copy/del/add to make
undo system happy
2001-03-20 Frank Felfe <innerspace@iname.com>
* src/nodepath.c (node_ctrl_moved) : set coorinate status
* src/seltrans.c (sp_sel_trans_handle_new_event) : set coordinate status
* src/sp-guide.* : new functions sp_guide_set, sp_guide_remove
* src/helper/unit-menu.h : add abbreviation string into unitdesc
* src/event-context.c (set_event_location) : set coordinate status
popup desktop-properties on double click
* src/desktop.* : new functions for statusbars
(sp_desktop_indicator_*) : make indicator only show when decorations are visible
* src/desktop-events.* : new guideline dialog
small changes in sp_dt_ruler_event, sp_dt_guide_event
* src/*_context.c (sp_*_context_root_handler) : make desktop->acetate
grab mouse events during drawing
* glade/guide_dialog.png: New file
2001-03-20 Lauris Kaplinski <lauris@ximian.com>
* src/sp-item-group.c (sp_group_menu): Add "Ungroup" item (does nothing at moment)
* src/display/canvas-bgroup.c (sp_canvas_bgroup_point): Test sensitivity and stickyness
(sp_canvas_bgroup_set_sensitive): New function
* src/display/canvas-shape.c (sp_canvas_shape_point): Test sensitivity and stickyness
(sp_canvas_shape_set_sensitive): New function
* src/sp-item-group.c (sp_group_read_attr): Read "insensitive" too
* src/sp-shape.c (sp_shape_read_attr): Read "insensitive" too
* src/sp-item.c (sp_item_private_menu): Set menuitem label depending on sensibility
* src/desktop.c (sp_desktop_init): Bind "event" to manipulate sticky state
* src/display/canvas-image.c (sp_canvas_image_point): Check for
SP_CANVAS_STICKY_FLAG
* src/desktop.c (sp_desktop_event): New function, Set SP_CANVAS_STICKY_FLAG if
user holds Shift key
2001-03-09 Lauris Kaplinski <lauris@ximian.com>
* glade/Makefile.am (pixmaps): Added all pixmaps to dist
* configure.in: Version 0.22
2001-03-09 Frank Felfe <innerspace@iname.com>
* src/desktop.c (sp_desktop_update_scrollbars): Cleanup
* src/event-context.c (sp_event_context_private_root_handler): Use
Gdk keysyms instead of numeric values. Add moving/panning keybindings,
space for root menu popup
(sp_event_root_menu_popup): Pop menu on space
* select-context.c (sp_select_context_root_handler): Use Gdk keysyms
instead of numeric values
* selection-chemistry.c (sp_selection_move_screen): New function
(sp_selection_item_next): New function
* doc/keybingings.txt: New keybingings
2001-03-09 Lauris Kaplinski <lauris@ximian.com>
* src/nodepath.c (node_event): Update repr after deletion
* src/file.c (file_open_ok): Destroy widget instead of hiding
(file_open_cancel): New function
(sp_file_open): Connect new cancel handler
(file_save_ok): Exit from private main loop
(file_save_cancel): New function
(sp_file_save_as): Connect new cancel handler, enter private loop
(file_import_cancel): New function
(sp_file_import): Connect new cancel handler
(file_export_cancel): New function
(sp_file_export): Connect new cancel handler
2001-03-08 Lauris Kaplinski <lauris@ximian.com>
* src/interface.c (sp_ui_delete): New function presenting close
dialog box if needed
(sp_ui_close_view): Use sp_ui_delete ()
(sp_create_window): Connect "delete_event" and set window title
* src/file.c (sp_file_save_document): New function
* src/document-undo.c (sp_document_done): Set "modified" attribute
* src/file.c (file_save_ok): Clear "modified" attribute
2001-03-07 Lauris Kaplinski <lauris@ximian.com>
* doc/keybindings.txt: Register node editing keystrokes
* src/desktop.c (sp_desktop_new): Do not grab focus here
* src/helper/sodipodi-ctrl.c: Added shape argument type
(sp_ctrl_class_init): Ditto
(sp_ctrl_init): Ditto
(sp_ctrl_set_arg): Ditto
(sp_ctrl_update): New logic, keep node absolute size always odd number
(sp_ctrl_point): Ditto
(draw_line): New function
(draw_point): New function
(sp_ctrl_render): New logic, draw diamond shape
* src/desktop-events.c (sp_desktop_root_handler): Grab focus on
acetate enter notify
* src/knot.c (sp_knot_set_arg): Set shape attribute
(sp_knot_handler): Grab focus on enter notify
(sp_knot_update_ctrl): Set shape
(sp_knot_set_ctrl_state): New function
* src/node-context.c (sp_node_context_root_handler): Process keypresses
* src/nodepath.c (sp_nodepath_node_new): Connect "event" and set knot shape
(node_clicked): Toggle type on Ctrl-click
(node_event): New signal handler for keypresses
(sp_nodepath_set_node_type): Set knot shape
2001-02-21 Michael Meeks <michael@ximian.com>
* configure.in: depend on Bonobo >= 0.37.
2001-02-21 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Commented out GNOME_PRINT_CHECK
2001-02-19 Lauris Kaplinski <lauris@ximian.com>
* src/desktop.c (sp_desktop_connect_item): New function
* src/sp-item.c (sp_item_view_new_prepend): View list management
(sp_item_view_list_remove): Ditto
* src/sp-item.h: SPItemView - new object encapsulating view. I also induced
changes in almost all source files
* src/sp-item-group.h: New file
* src/bonobo/embeddable-drawing.c (sp_embeddable_drawing_get_type):
Use new bonobo object stuff
(sp_embeddable_drawing_factory): Ditto
* src/bonobo/embeddable-desktop.c (sp_embeddable_desktop_get_type):
Use new bonobo object stuff
(sp_embeddable_desktop_factory): Ditto
* src/bonobo/embeddable-document.c (sp_embeddable_document_get_type):
Use new bonobo object stuff
(sp_embeddable_document_new): Ditto
2001-02-17 Lauris Kaplinski <lauris@ximian.com>
* src/sp-object.c (sp_object_getAttribute): New function
(sp_object_setAttribute): New function
(sp_object_removeAttribute): New function
2001-02-11 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Added es to ALL_LINGUAS
2001-02-07 Lauris Kaplinski <lauris@ximian.com>
* src/dialogs/object-properties.c: Added channel sliders
* glade/object_props.glade: Ditto
* samples/mangatips6.svg: New file
* samples/mangatips7.svg: New file
* samples/mangatips8.svg: New file
* samples/mangatips9.svg: New file
* samples/mangatips10.svg: New file
2001-02-06 Lauris Kaplinski <lauris@ximian.com>
* samples/mangatips3.svg: New file
* samples/mangatips4.svg: New file
* samples/mangatips5.svg: New file
2001-01-29 Fatih Demir <kabalak@gmx.net>
* src/widgets/.cvsignore: Added this.
2001-01-26 Lauris Kaplinski <lauris@ximian.com>
* configure.in: Version 0.21
2001-01-24 Lauris Kaplinski <lauris@ximian.com>
* src/document-undo.c (sp_document_add_repr): Do not expect repr
always correspond to item
* src/toolbox.c (sp_maintoolbox_create): Save edit/undo/redo widgets
(sp_update_draw_toolbox): Unsensitize undo/redo for draw and node
contexts
2001-01-09 Lauris Kaplinski <lauris@ximian.com>
* src/desktop (sp_desktop_change_document): Update namedviews aslo
2001-01-09 Lauris Kaplinski <lauris@ximian.com>
* samples/mangatips1.svg: New file
* samples/mangatips2.svg: New file
* src/xml/Makefile.am: Use SODIPODI_CFLAGS
2001-01-08 Frank Felfe <innerspace@iname.com>
* desktop.*: use gnomeappbar in desktop-window,
use gtk_combo_text widget from libgal
* src/desktop-events.c: use gnomeappbar
* src/event-context.c: global keybindings
* src/select-context.c: keybindings
* src/text-context.c: filter Ctrl-keys for keybindings
* src/interface.c: connect to focus-in-event from desktop-window
* glade/toolbox.glade: keybindings for the maintoolbox-menu
* doc/keybindings.txt
2001-01-08 Lauris Kaplinski <lauris@helixcode.com>
* src/selection-chemistry.c (sp_selection_rotate_90): Brought
function here from toolbox.c and renamed
* glade/toolbox.glade: Use sp_selection_rotate_90
* src/desktop_snap.* (sp_desktop_circular_snap): New function
* src/rect-context.c (sp_rect_context_destroy): Finish object, if exists
* src/ellipse-context.c: (sp_ellipse_context_destroy): Ditto
2001-01-04 Lauris Kaplinski <lauris@helixcode.com>
* src/helper/sodipodi-ctrlrect.*: Draw by hand instead of using
libart. That fixed ugly-ugly freezing bug in Mandrake
* src/preferences-skeleton.h: New file, encoding default preferences
* glade/sodipodi.glade: Changes _Uus to _New in menu ;)
* src_sodipodi.* (sodipodi_load_preferences): New function
(sodipodi_save_preferences): New function
(sodipodi_get_repr): New function for retrieving data from preferences
DOM tree.
* src/draw-context.c (set_to_accumulated): Use style preferences
* src/rect-context.c (sp_rect_drag): Ditto
* src/ellipse-context.c (sp_ellipse_drag): Ditto
* src/text-context.c (sp_text_context_root_handler): Ditto
(sp_text_complete): ungrab keyboard
* src/toolbox.c (sp_toolbox_create): Use preferences
2001-01-02 Lauris Kaplinski <lauris@helixcode.com>
* src/widgets/sp-toolbox.*: general toolbox implementation
* src/toolbox.c: Use SPToolBox widget, load and save toolbox states
* src/sodipodi.* (sodipodi_set_key): New function for setting
preference values into xml tree
(sodipodi_get_key): Ditto
(sodipodi_set_key_as_number): Ditto
(sodipodi_get_key_as_number): Ditto
* src/xml/repr-io.c (sp_repr_read_file): Load whatever element node as root
(sp_repr_read_mem): Ditto
2000-12-31 Michael Meeks <michael@helixcode.com>
* src/xml/repr-io.c (sp_repr_save_file): split into
(sp_repr_save_stream): here.
* src/bonobo/embeddable-document.c (sp_embeddable_document_pf_load),
(sp_embeddable_document_pf_save): update signatures for new persistfile API.
2000-12-30 Lauris Kaplinski <lauris@helixcode.com>
* src/main.c (main): Reenable command-line filenames
* src/sodipodi.* (sodipodi_application_new): New function
2000-12-29 Michael Meeks <michael@helixcode.com>
* src/bonobo/embeddable-document.c (sp_embeddable_document_factory): upd.
* Makefile.am (oafdir): kill gnorba bits, update naming.
* src/bonobo/svg-doc-factory.c (sp_svg_doc_factory_init): upd.
(sp_svg_factory): new multi factory.
* GNOME_Sodipodi.oafinfo: add, rename stuff.
* configure.in (have_bonobo): require bonobo >= 0.30
2000-12-28 Christopher R. Gabriel <cgabriel@softwarelibero.org>
* configure.in (ALL_LINGUAS): 'it'
2000-12-27 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-svp-uncross.c: Lot of clenaup
* src/display/nr-svp-render: Comment out printouts
* src/display/nr-primitives.h: #define NR_COORD_TOLERANCE
2000-12-26 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-svp-uncross.c (nr_svp_uncross_full): more cases -
rays, intersection - some cleanups
* src/display/nr-svp-render.c (nr_svp_render_rgb_rgba): Cleanups
2000-12-25 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-primitives.h: Move NRCoord and NRPoint here
* src/display/nr-primitives.c: NRDRect methods
* src/display/nr-svp.*: Rewrite. NRSVP is now simple ordered
segment and we use linked (sorted) lists for describing more
complex geometries
* src/display/nr-svp-uncross.*: Ditto, partial implementation
* src/display/nr-svp-render.* Ditto. Works.
2000-12-21 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-svp-render.c: Lot's of cleanup
2000-12-20 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-svp-render.c (nr_svp_render_rgb_rgba): It
works to some extent!
* src/display/canvas-shape.c (sp-canvas_shape_render): Use New
Rendering, #ifdef NEW_RENDER
* src/display/testnr.c: Silly file
2000-12-19 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-uta.*: UTA Implementation
* src/display/nr-aa-canvas.*: RGB Buffer canvas
* src/display/sp-arena.*: Widget, using RGB canvas
* src/display/sp-canvas-item.*: Item subclass for arena
* src/display/sp-canvas-group.*: Ditto
2000-12-17 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-primitves.h: typedef NRPoint
* src/display/nr-canvas.*: More code
* src/display/nr-canvas-item.*: Ditto
* src/display/nr-canvas-group.*: Ditto
2000-12-16 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-canvas-group.*: Base class for canvas groups
* src/display/nr-primitives.*: Graphic primitives
2000-12-15 Lauris Kaplinski <lauris@helixcode.com>
* src/display/nr-canvas.*: Experimental new rendering stuff (not working)
* src/display/nr-canvas-item.*: Ditto (not working)
* src/display/nr-svp.*: Ditto (works)
* src/display/nr-svp-uncross.*: Ditto (works)
* src/display/nr-svp-render.*: Not working yet
* configure.in: Added {with|without}-new-render switch
2000-11-30 Szabolcs Ban <shooby@gnome.hu>
* glade/toolbox.c: corrected "zom factor" to "zoom factor"
2000-11-30 Szabolcs Ban <shooby@gnome.hu>
* configure.in (ALL_LINGUAS): add hu.
2000-11-26 Lauris Kaplinski <lauris@helixcode.com>
* src/toolbox.c (sp_maintoolbox_create): Strip toolbox names
(sp_toolbox_create_widgets): Make windows toplevel
* glade/*.glade: Make windows to be toplevel
2000-11-25 Christopher R. Gabriel <cgabriel@softwarelibero.org>
* debian/: added the debian scripts from package maintainer,
Davide Puricelli <evo@debian.org>
2000-11-17 Yuri Syrota <rasta@renome.rovno.ua>
* glade/transformation.c
* glade/transformation.glade: correct "vertival move" to "vertical move"
2000-11-17 Lauris Kaplinski <lauris@helixcode.com>
* src/dialogs/text/edit.c (sp-text-dialog-close): Destroy
dialog, so font listing will be regenerated
2000-11-02 Michael Meeks <michael@helixcode.com>
* configure.in: Check for bonobo >= 0.27
2000-10-27 Michael Meeks <michael@helixcode.com>
* configure.in (ALL_LINGUAS): add pt_BR.
2000-10-26 Lauris Kaplinski <lauris@helixcode.com>
* configure.in: Define libxml include path
* src/Makefile.am: Use libxml include path
* src/main.c: Ditto
* src/xml/Makefile.am: Ditto
* src/xml/repr-io.c: Ditto
2000-10-21 Zbigniew Chyla <cyba@gnome.pl>
* configure.in: Added pl to ALL_LINGUAS.
2000-10-21 Zbigniew Chyla <cyba@gnome.pl>
* sodipodi/src/toolbox.c (sp_maintoolbox_create):
Marked strings for translation.
2000-10-18 Christophe Merlet <christophe@merlet.net>
* configure.in: Oups, forgotten to add French (fr) to $ALL_LINGUAS
2000-10-18 Christophe Merlet <christophe@merlet.net>
* sodipodi.desktop: Added French string.
2000-10-17 Lauris Kaplinski <lauris@helixcode.com>
* src/nodepath.c (sp_nodepath_node_destroy): fixed YANC (Yet
Another Nodepath Crash)
2000-10-16 Frank Felfe <innerspace@iname.com>
* glade/toolbox.glade: Updated zoom toolbox
* src/desktop-events.*: Added sp_canvas_root_handler
* src/desktop.c: Added statusbar, clean up zooming
* src/sp-metrics.* (sp_metric_to_metric_string): A way to
suppress metric identifier in strings
* src/sp-ruler.c: Copy GtkRuler object
* src/zoom-context.c: Use desktop region markup with border
* src/bonobo/embeddable-desktop.c: Ditto
2000-10-13 Lauris Kaplinski <lauris@helixcode.com>
* src/text-context.c (sp_text_context_item_handler): Return
if repr == NULL; Commit changes to undo stack.
2000-10-11 Lauris Kaplinski <lauris@helixcode.com>
* src/draw-context.c (sp_draw_context-destroy): Detach signal
2000-10-11 Frederic Devernay <Frederic.Devernay@sophia.inria.fr>
* Makefile.am: Use test -r for compatibility
* src/Makefile.am: Remove -export-dynamic
* src/main.c: Use libxml 1.8.8/2.0
* src/interface.c: Make fake_dialogs nonstatic
* src/xml/repr-io.c: Use libxml 1.8.8/2.0
2000-10-09 Lauris Kaplinski <lauris@helixcode.com>
* configure.in: Version 0.20
* src/helper/unit-menu.*: New convenience object
* src/desktop.c (sp_desktop_destroy): Destroy first eventcontext,
then selection
* src/draw-context.c: Make silent
* src/file.c (sp_file_import_ok): Use "xlink:href" for images
* src/sp-image.c (sp_image_read_attr): Use "xlink:href"
(sp_image_repr_read_image): Ditto
* src/svg/svg.h: Use bitfield for units
2000-10-08 Lauris Kaplinski <lauris@helixcode.com>
* src/dialogs/object-properties.c: Do not keep CSS objects, so
fill & stroke do not overwrite each other settings
2000-10-08 Frank Felfe <innerspace@iname.com>
* glade/align.glade: Improvements
* glade/object_props.glade: New layout
* src/sp-ruler.*: New files, implementing wrapper for Gtk rulers
* src/sp-metrics.*: Default metrics, ruler metrics
* src/desktop.c (sp_desktop_init): use ruler wrappers
2000-10-07 Lauris Kaplinski <lauris@helixcode.com>
* src/desktop.c (sp_desktop_realize): Zoom to page on first display
* src/document-undo.c (sp_document_done): Limit undo to 128 levels
* src/document.c (sp_document_new): Set docbase & docname before
creating object tree
* src/sp-image.c (sp_image_repr_read_image): Find right root repr
* src/sp-shape.c (sp_shape_paint): Use right stroke width
* src/dialogs/export.c (sp_export_do_export): use ::paint() method
* src/xml/repr-io.c (sp_repr_svg_read_node): Return on comment and text
nodes
* src/xml/repr.c (sp_repr_document): Implement
2000-10-06 Lauris Kaplinski <lauris@helixcode.com>
* glade/document.glade: Page setup dialog
* src/dialogs/document-properties.c: Implement page
setup dialog
* src/desktop.*: Keep page rectangle in SPDesktop
* src/sp-root.c: Update page rectangle
* src/file.c (sp_file_print_to_printer): gnome_print_bgeinpage ()
Remove FRGBA creation
* src/dialogs/export.c (sp_export_do_export): gnome_print_beginpage ()
* glade/sodipodi.glade: Add document & xml tree to properties menu
* src/interface.c (sp_create_window): Remove ugly buttons
* src/mdi-ui.*: Removed
* src/dialogs/object-fill.*, object-stroke.*: Removed
2000-10-05 Lauris Kaplinski <lauris@helixcode.com>
* src/helper/canvas-grid.*: Grid item for canvas
* src/sp-namedview.c: Use & update grid
* src/desktop-snap.c: Snap to grid
2000-10-04 Frank Felfe <innerspace@iname.com>
* glade/transformation.glade: Improved dialog
* glade/*.xpm: New icons
* src/dialogs/transformation.*: Improved dialog
* src/selection-chemistry.*: new transformation functions
* src/sp-metrics.*: New files
2000-10-04 Lauris Kaplinski <lauris@helixcode.com>
* src/nodepath.c: #define reasonable knot colors
(sp_nodepath_selected_nodes_move): Implement snapping
(node_ctrl_request): Implement snapping
2000-10-03 Lauris Kaplinski <lauris@helixcode.com>
* src/nodepath.c (update_repr): Call sp_document_done ()
* src/dialogs/desktop-properties.*: Use new dialog layout
* glade/desktop.glade: Use new dialog layout
* src/sp-guide.*: "color" and "hicolor" attributes
* src/sp-namedview.*: Bunch of new attributes
* src/desktop-events.c (sp_dt_guide_event): Use guide colors
(sp_dt_ruler_event): Use guide colors
2000-10-02 Lauris Kaplinski <lauris@helixcode.com>
* src/knot.c (sp_knot_set_flag): Implement different outlines
(sp_knot_update_ctrl): New function to set SPCtrl colors
* src/nodepath.*: Mostly rewritten
* src/node-context.*: Use new SPNodePath
2000-09-30 Yukihiro Nakai <nakai@gnome.gr.jp>
* configure.in ALL_LINGUAS: Add Japanese 'ja'
2000-09-21 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: ALL_LINGUAS: added 'ca' for Catalan translation.
2000-09-18 Lauris Kaplinski <lauris@helixcode.com>
* src/dialogs/object-properties.*: New combined fill + stroke +
transformation dialog by Frank Felfe
* glade/*.xpm: Lots of new icons etc. by Frank Felfe
* src/desktop.*, interface.c, select-context.c, seltrans.c: Changes
* selection-chemistry.* (sp_selection_apply_affine): New function by
Frank Felfe
(sp_selection_remove_transforms): Same
2000-09-17 Lauris Kaplinski <lauris@helixcode.com>
* src/draw-context.c (sp_draw_context_root_handler): Handle Ctrl
and fix an missing segment, while continuing Ctrl-aligned line.
* src/ellipse-context.c (sp_ellipse_read-attr): Use sodipodi namespace
for "start", "end". Replace "closed" with "open", so closed is default
* src/sp-ellipse_context.c: Ditto
* src/sp-object.c: #define SP_OBJECT_CLONED_FLAG
* src/sp-root.c (sp_root_read_attr): Tru to read "viewBox" attribute.
The implementation is hackish, but it works, until document size is fixed
* src/display/canvas-shape.c (sp_canvas_shape_update): Calculate correct
line thickness
2000-09-16 Lauris Kaplinski <lauris@helixcode.com>
* src/draw-context.*: Freehand should work OK now
* src/display/canvas-shape.c (sp_canvas_shape_render): Test, if
archetype has stroke SVP
* src/display/path-archetype.c (sp_path_at_new): Disturb Vpaths
before stroking - this removes ugly random crashing in art_uta_from_svp
2000-09-15 Lauris Kaplinski <lauris@helixcode.com>
* src/sp-line.h, sp-line.c: <line> item
* src/sp-polyline.h, sp-polyline.c: <polyline> item
* src/sp-polygon.c, sp-polygon.h: <polygon> item
* src/sp-object-repr.c (sp_object_type_lookup): Register new item types
* src/helper/curve.c (sp_curve_closepath): Add point, if end != start
2000-09-14 Lauris Kaplinski <lauris@helixcode.com>
* src/Makefile.am: Define GNOME_PIXMAPDIR
* src/main.c (main): Set default icon
* interface.c (sp_create_window): Set icon
* src/sp-text.c (sp_text_set_shape): Use helvetica for unknown font
* src/helper/art-utils.* (art_svp_translate): New function
(art_uta_from_svp_translated): Use art_svp_translate ()
* draw-context.*: Use experimental spline fitting for freehand
lines, during drawing generate many small lines, instead of
one big.
2000-09-13 Lauris Kaplinski <lauris@helixcode.com>
* desktop-snap.c, desktop-snap.h (sp_desktop_horizontal_snap):
Implemented
(sp_desktop_vertical_snap): Ditto
(sp_desktop_free_snap): Rewrote, using horiz. and vert. snapping
(sp-desktop_vector_snap): Implemented
* rect-context.c, rect-context.h: Rewrote event handling stuff,
so it now supports (hopefully) all snapping chemistry
* sp-namedview.c (sp_namedview_build, sp_namedview_read_arg):
Implemented arguments "snaptoguides" and "guidetolerance"
* sp-rect.c (sp_rect_set_arg): Implemented Gtk+ argument setting
* ellipse-context.c, ellipse-context.h: Ditto
2000-09-12 Lauris Kaplinski <lauris@helixcode.com>
* src/*.c, glade/desktop.*, src/dialog/desktop-properties.*:
Hacked together a preliminary guideline support stuff. It
sucks really for anything other than scaling, but now we have
at least something to improve in future.
2000-09-09 Lauris Kaplinski <lauris@helixcode.com>
* sodipodi.c, sodipodi-private.h: New filed. Bye-bye to
Gnome-MDI interface, instead we have much more convenient
sodipodi object.
This introduced many changes mostly everywhere.
* src/helper/gt1*, src/helper/parseAFM.*: removed gt1 library,
as it is now accessible through gnome-print
* Makefile.am, src/Makefile.am, glade/Makefile.am: We'll pass
'make distcheck' again
* src/sp-item-group.c: Children update, if parent's style is
changed
2000-09-06 Lauris Kaplinski <lauris@helixcode.com>
* glade/*: Added Frank Felfe new icons and toolbopx stuff
* src/toolbox.*: Toolbox stuff (Frank Felfe)
* src/sp-item-transform.*: Same
2000-08-24 Alastait McKinstry <mckinstry@computer.org>
* configure.in: ALL_LINGUAS: added 'ga' for Irish translation.
2000-08-19 Lauris Kaplinski <lauris@helixcode.com>
* glade/transformation.glade: Transformation dialog (Frank Felfe)
* src/dilaogs/transfomration.*: Transfomration dialog (Frank Felfe)
* src/mdi-ui.c: Added transformation dialog
* po/POTFILES.in: Added glade/transformation.c
2000-08-18 Lauris Kaplinski <lauris@helixcode.com>
* configure.in: Version 0.19
* Makefile.am: Comment out dist-hook
* sodipodi.spec.in: Build 0
* glade/align.glade: Added alignment base selection
* po/POTFILES.in: Added src/dialogs/align.c
* src/desktop.c: Display page borders
* src/sp-text.c: break text at newlines
* src/dialogs/align.c: New algorithm plus alignment base selection
2000-08-15 Lauris Kaplinski <lauris@helixcode.com>
* glade/stroke.glade: Moved dialog to separate file
* Added Frank Felfe icons, that I forgot last time
2000-08-10 Lauris Kaplinski <lauris@helixcode.com>
* src/main.c (main): Commented out arg parsing - it segfaulted for me
* glade/align.glade
* glade/al*
* src/dialogs/align.*: Alignmeant dialog by Frank Felfe <innerspace@iname.com>
* configure.in: Need bonobo >= 0.17
* src/bonobo/embeddable-document.c (sp_bonobo_stream_read): Bonobo API change
2000-08-10 Lauris Kaplinski <lauris@helixcode.com>
* doc/architecture.txt: First step in generating developers documentation
2000-08-09 Lauris Kaplinski <lauris@helixcode.com>
* glade/*.xpm: Added Frank Felfe's node editing icons and node dialog
* src/sp-ellipse.c (sp_ellipse_description): return "Ellipse"
* src/sp-text.c (sp_text_description): Return either contents or "Text" if NULL
2000-08-07 Lauris Kaplinski <lauris@helixcode.com>
* configure.in: Require gnome-print >= 0.21
* glade/text-dialog.glade: New layout, suitable for gnome-font-selection
* src/Makefile.am: Add libunicode
* src/sp-chars.h:
* src/sp-chars.c:
* src/sp-text.h:
* src/sp-text.c: Use gnome-font instead of wrapper
* src/dialogs/text-edit.c: Use new GnomeFontSelection and GnomeFontPreview
2000-08-03 Michael Meeks <michael@helixcode.com>
* configure.in: update for BonoboX
2000-07-01 Lauris Kaplinski <lauris@helixcode.com>
* src/sp-namedview.c (and everywhere else): Guides are visible,
although not functional yet.
* src/desktop.c (sp_desktop_new): Use document + namedview
combination for creating desktop.
2000-07-01 Lauris Kaplinski <lauris@helixcode.com>
* src/file.c (sp_do_file_print_preview): Don't use FRGBA, as
print preview can handle alpha itself
* src/sp-object-group.h
* src/object-group.c: Added SPObjectGroup to handle groups of
invisible objects (such as NamedViews)
* src/sp-namedview.h:
* src/sp-namedview.c: Extends SPObjectGroup
* src/xml/sp-repr.c (sp-repr-destroy): fix hash table destroy
2000-06-21 Chema Celorio <chema@celorio.com>
* src/file.c (sp_do_file_print_preview): added print preview
stuff. new function
(sp_print_preview_destroy_cb): new function
(sp_file_print_preview): new function
modified the menu to include a print preview item
2000-06-21 Lauris Kaplinski <lauris@helixcode.com>
* src/selection.c (sp_selection_update_statusbar): Added original
idea of printing sp_image_description (), if single item is
selected
* glade/*.xpm: Jeff's icons. I need to find a way to use png
variants, xpm sucks
2000-06-21 Chema Celorio <chema@celorio.com>
* src/desktop.c (sp_desktop_set_status): it was #if'ed out,
reenabel it.
* src/selection.c (SP_SELECTION_C): added debug messages and macro
If lauris does not like them I will take them away.
(sp_selection_update_statusbar): new function
* src/mdi.c (sp_mdi_app_created): add statusbar to main window.
2000-06-11 Benedikt Roth <Benedikt.Roth@gmx.net>
* configure.in: Added de to ALL_LINGUAS.
* sodipodi.desktop: Added German translations
2000-06-05 Lauris Kaplinski <lauris@kaplinski.com>
* src/dialogs/export.c (sp_export_do_export): use pixbuf context,
instead of rbuf
2000-06-05 Michael Meeks <michael@helixcode.com>
* src/dialogs/export.c (sp_export_do_export): s/rbuf_rgba_new/rbuf_new/
* src/bonobo/embeddable-document.c: kill a load of redundant prototypes,
and re-order to suit. (sp_embeddable_document_ps_save),
(sp_embeddable_document_ps_load): fix for new stream API.
(sp_embeddable_document_factory): update stream constructor.
2000-05-14 Lauris Kaplinski <lauris@ariman.ee>
* src/knot.*: Lot of rearranging, new signals
* src/seltrans.c: Changes induced by new knot signalling
Added fake snapping to PostScript points (remove it, if you dare ;)
2000-05-13 Lauris Kaplinski <lauris@ariman.ee>
* src/document-private.h: Removed width and height attributes
* src/sp-root.c: Added "width" and "height" readable attributes
2000-05-12 Lauris Kaplinski <lauris@ariman.ee>
* src/xml/repr.h: A bit rearranging, added SPReprDoc, induces
changes almost everywhere else
* src/document-private.h: Hide all document internal structure
2000-05-12 Lauris Kaplinski <lauris@ariman.ee>
* src/sp-namedview.*: Implemented skeleton
* src/sp-guide.*: Implemented skeleton
* src/sp-object-repr.c: Added NamedView and Guide
* src/helper/sp-guide.*: Changed name to SPGuideLine
2000-05-11 Lauris Kaplinski <lauris@ariman.ee>
* src/desktop-events.c: Collected events to separate file
Added guidline and grid positioning skeleton
* src/helper/sp-guide.*: Guideline implementation
2000-05-10 Lauris Kaplinski <lauris@ariman.ee>
* glade/*.xpm: Some new icons (thanks to Jeff Mrochuk)
* src/knot.*: signals clicked, grabbed, ungrabbed, moved
Many fixes and enhancements
* src/seltrans.c: Use knots instead of Ctrl canvas items
2000-05-09 Michael Meeks <michael@helixcode.com>
* src/bonobo/svg-doc-factory.c (sp_svg_doc_factory_init): add
config.h + OAFIID.
* Makefile.am: Install oaf data.
* src/main.c (main): re-tool for oaf.
* configure.in: Check for oaf.
2000-05-06 Lauris Kaplinski <lauris@ariman.ee>
* src/knot.h: Added signals "grab", "ungrab" and "move"
* src/knot.c: Implemented signals, event etc.
2000-05-05 Lauris Kaplinski <lauris@ariman.ee>
* src/desktop-handles.h: Added SP_DT_IS_EDITABLE
* src/knot.*: started implementing universal handle object for
all contexts
2000-05-05 Lauris Kaplinski <lauris@ariman.ee>
* src/Makefile.am: Define $gladedir, which has been forgotten :)
* src/sp-image.c (sp_image_print): Do it :)
2000-05-03 Lauris Kaplinski <lauris@ariman.ee>
* src/main.c: Uncommented line interpreting unknown command-line
arguments as filenames
* src/document-undo.c (sp_document_undo): If attribute is 'id', find
affected object from 'new' instead of 'key'
* src/dialogs/xml-tree.c: Added missing sp_document_done flushes
* src/sp-object.c (sp_object_read_attr): Fixed def-ing repr
id attribute instead of objects one
2000-05-02 Lauris Kaplinski <lauris@ariman.ee>
* src/sp-item-group.c (sp_group_build): Check that xml node is
known, before trying to build object from it
2000-05-02 Lauris Kaplinski <lauris@ariman.ee>
* src/sp-gradient.*: Implemented skeleton for gradient fills
* src/sp-object-repr.c: Gradient parsing
2000-05-01 Lauris Kaplinski <lauris@ariman.ee>
* src/helper/sodipodi-ctrl.c: Fixed bug in ::render, which left
buffer->is_bg untouched
* src/sp-defs.*: New objects, implementing <defs> nodes
* src/sp-group.*: Groups have both item and non-item members
* src/sp-image.c: Changed "src" attribute to "href"
2000-04-29 Lauris Kaplinski <lauris@ariman.ee>
* xml/repr.*: Reprs are now GtkObjects
* xml/repr-io.c: Preliminary namespacing (xmlns:sodipodi)
2000-04-29 Lauris Kaplinski <lauris@ariman.ee>
* src/dialogs/xml-tree.c (sp_xml_tree_change_attribute_long):
new function to change long attribute (GtkEntry does not like
long strings). Also attribute changing in xml pushes Undo stack.
2000-04-28 Lauris Kaplinski <lauris@ariman.ee>
* glade/Makefile.am: Added xml-tree.glade
* src/dialogs/xml-tree.c (sp_xml_tree_change_attribute): implemented
this
2000-04-27 Miguel de Icaza <miguel@helixcode.com>
* glade/Makefile.am: New file.
* src/dialogs/Makefile.am (gladedir): Define gladedir based on
$datadir
* Makefile.am: Remove the local install hack stuff. And process
the glade directory.
* configure.in: Do not define PACKAGE_GLADEDIR based on the output
of gnome-config. Let the Makefile.am compute that value from the
various $prefix settings.
2000-04-27 Lauris Kaplinski <lauris@ariman.ee>
* src/dialogs/xml-tree.c: Attribute deletion mostly work
2000-04-27 Lauris Kaplinski <lauris@ariman.ee>
* src/dialogs/xml-tree.*: Started implementing direct xml editing
* glade/xml-tree.glade: XML editing dialogs
2000-04-26 Lauris Kaplinski <lauris@ariman.ee>
* helper/curve.c (sp_curve_split): Fixed evil memcpy size bug
2000-04-24 Lauris Kaplinski <lauris@ariman.ee>
* src/selection-chemistry.c: Implemented Cut/Copy/Paste
2000-04-23 Lauris Kaplinski <lauris@ariman.ee>
* src/document.h: added aspect and clip attributes
* src/bonobo/embeddable-desktop.c: keep full page always visible
* src/bonobo/embeddable-document.c: print scaled full page
2000-04-21 Lauris Kaplinski <lauris@ariman.ee>
* src/mdi-document.c: extract ACTIVE_DOCUMENT for ACTIVE_DESKTOP
instead of MDIChild
* glade/sodipodi.glade: Popup menu
* src/event-context.c: (sp_event_context_private_root_handler)
Popup menu on button 3, if event is not consumed
* src/zoom-context.c: (sp_zoom_context_root_handler)
Assign zoom_out to Shift+Button1 to free Button3 for popup
* src/draw-context.c: (sp_draw_context_root_handler)
Invoke parent handler, if event is not consumed
2000-04-21 Lauris Kaplinski <lauris@ariman.ee>
* configure.in: removed plugins/Makefile (not yet folks!)
* src/bonobo/embeddable-document.c (sp_embeddable_document_factory):
switched to original gnome-print-context instead of FRGBA
2000-04-21 Michael Meeks <michael@helixcode.com>
* configure.in (have_bonobo): add -lbonobo-print
* src/bonobo/embeddable-document.c (sp_embeddable_document_factory):
add the print interface.
2000-04-21 Fatih Demir <kabalak@gmx.net>
* configure.in : Added tr to ALL_LINGUAS .
* sodipodi.desktop : Added [tr] ..
2000-04-20 Lauris Kaplinski <lauris@ariman.ee>
* glade/sodipodi.glade: toggling rulers and scrollbars on/off
* desktop.c: construct it by hand, borders can be removed
* mdi-desktop.c: new logic for activating desktops (bonobo needed it)
* bonobo/embeddable-document.c: removed MDI refcounting
* bonobo/embeddable-desktop.c: added MDI refcounting, active desktop
management and hiding borders, if not active
2000-04-20 Andreas Hyden <a.hyden@cyberpoint.se>
* sodipodi.desktop: Added Swedish translation.
* configure.in: Added sv to ALL_LINGUAS.
2000-04-19 Lauris Kaplinski <lauris@ariman.ee>
* configure.in: Added chack for GnomePrintRBuf and GnomePrintFRGBA
* sp-shape.c: if FRGBA is present, do not emulate alpha
* file.c: print via FRGBA, if present
* dialogs/export.c: export via RBuf, if present
* sp-object.c: fixed infinite loop in allocating id-s
2000-04-17 Lauris Kaplinski <lauris@ariman.ee>
* src/sp-image.c: completed migration to new gdk-pixbuf
* src/display/canvas-image.c: completed migration
2000-04-17 Michael Meeks <michael@helixcode.com>
* src/sp-image.c (sp_image_pixbuf_force_rgba): fix.
(sp_image_bbox): fix.
2000-04-14 Lauris Kaplinski <lauris@ariman.ee>
* Makefile.am: fixed .desktop inclusion to distribution
2000-04-12 Pablo Saratxaga Pablo <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): Add Danish
200-04-09 Lauris Kaplinski <lauris@ariman.ee>
* bonobo/canvas-translator.*: implemented a translator group, which
translates xlib canvas calls to antialiased canvas ones.
200-04-09 Lauris Kaplinski <lauris@ariman.ee>
* document.c: Removed bad memory corruption bug in ::destroy
* embeddable-document.c: Added PersistentFile interface
* embeddable-drawing.*: Added BonoboCanvasComponent interface
200-04-08 Lauris Kaplinski <lauris@ariman.ee>
* Makefile.am: create sodipodi-bonobo symlink if we use bonobo
* src/sodipodi/*: Added bonobo component, nothing interesting yet
200-04-07 Lauris Kaplinski <lauris@ariman.ee>
* sodipodi.gnorba: added this, embeddable document will follow soon
* configure.in: added bonobo check
200-04-07 Lauris Kaplinski <lauris@ariman.ee>
* sp-shape.c: It prints now semitransparent shapes, rendering these
to bitmaps. No clipping yet and resolution is hardcoded to 72dpi
200-04-05 Kjartan Maraas <kmaraas@online.no>
* no.po: Added no to ALL_LINGUAS.
2000-04-05 Lauris Kaplinski <lauris@ariman.ee>
* sp-document.c, sp-file.c, sp-image.c: removed namespace. How to
extract this correctly from libxml?
2000-04-05 Lauris Kaplinski <lauris@ariman.ee>
* xml/repr.c: added order_changed_pre callback
* document-undo.c: stacking order changes are now undoable
* sp-document.c, sp-file.c, sp-image.c: added namespace "sodipodi",
still have to do official definition
2000-04-04 Lauris Kaplinski <lauris@ariman.ee>
* xml/repr-io.c: save DTD & standard header
* dialogs/object-*: modify default fill & stroke, if nothing selected
2000-04-04 Lauris Kaplinski <lauris@ariman.ee>
* selection.*: Added functions to select via reprs (now when we have
unique id-s there isn't any reason thare wasn't such)
2000-04-02 Lauris Kaplinski <lauris@ariman.ee>
* xml/repr-io.c: A very quick hack to load real svg code (DTD & stuff).
* sp-shape.c: Fixed bug in exporting open paths, so they are not filled
anymore.
* sp-image.c: We can print semitransparent images, although better do not
stretch these very much
2000-04-02 Lauris Kaplinski <lauris@ariman.ee>
* document-undo.c, document.c: Undo should now work!
2000-04-01 Lauris Kaplinski <lauris@ariman.ee>
* document.c: Some undoing/redoing works (duplicate & delete)
2000-04-01 Lauris Kaplinski <lauris@ariman.ee>
* sp-item-group.c: cleaned up signals, reordering should work now
* hunted memory leaks & removed most obvious ones
2000-03-31 Lauris Kaplinski <lauris@ariman.ee>
* Basically completed rewrite, most things do not work
2000-03-30 Lauris Kaplinski <lauris@ariman.ee>
* Bumped version number to 0.18 & started rewrite of object system
2000-03-29 Lauris Kaplinski <lauris@ariman.ee>
* Modified argument parsing, --without-gui, if present, has to be first
* argument, but otherwise now all GNOME/Gtk args work
* You can also specify multiple files for displaying or printing
2000-03-28 Lauris Kaplinski <lauris@ariman.ee>
* Added cute little squirrel to /gnome/apps/Graphics ;-)
* src/desktop.c: Set canvas background to white
* Makefile.am: added samples to tarball
2000-03-27 Lauris Kaplinski <lauris@ariman.ee>
* main.c: Applied Yukihiro Nakai FreeBSD patches
* main.c: Set LC_NUMERIC to "C", to avoid localisation of SVG files :-(
2000-01-25 Lauris Kaplinski <lauris@ariman.ee>
* dialogs/export.*: a bit better png exporting, still sucks
2000-01-25 Lauris Kaplinski <lauris@ariman.ee>
* sp-image.c: Cleanups here and there
* display/canvas-image.c: point method uses alpha, removed SVP-s
2000-01-23 Lauris Kaplinski <lauris@ariman.ee>
* helper/art*: functions for rendering into RGBA buffer
* file.*, sp-shape.*, sp-image.*: exporting png bitmaps
2000-01-23 Lauris Kaplinski <lauris@ariman.ee>
* Uses SPCurve everywhere
2000-01-19 Lauris Kaplinski <lauris@ariman.ee>
* src/helper/sodipodi-ctrl.*: removed aa rendering
2000-01-18 David Metcalfe (crdjm@sgi.com)
* Added command line options:
. [ -f ] file to load file at startup
. -p file to print the file without the GUI starting
. -t file to send the print output to the named file
* -t is currently required for -p as I couldn't find a way of creating
a GnomePrinter that goes to the default printer. ??
* Printing doesn't require that X be started
2000-01-16 Lauris Kaplinski <lauris@ariman.ee>
* Bumped version to 0.17
* Most things, that worked in 0.15 work again
* still looses selections, dialogs suck etc.
2000-01-14 Lauris Kaplinski <lauris@ariman.ee>
* Now uses Gnome MDI
* Stroke & fill dialogs almost work for multiple displays
2000-01-08 Lauris Kaplinski <lauris@ariman.ee>
* Major rewrite of object system
* Multiple views almost work
* Multiple documents almost work
* Rects, Ellipses, Drawing and Nodes almost work
* Nothing else works ;-(
1999-12-30 Lauris Kaplinski <lauris@ariman.ee>
* Bumped version number to 0.15
* Node editing works enough to be usable
* Images use relative paths, if possible
* Text can show accented chars
1999-12-25 Lauris Kaplinski <lauris@ariman.ee>
* Increased version number to 0.14
* Preliminary node editing mode
* Stacking order can be changed again
* Convert to Curves, Combine & Separate functions
* Corrected repr refcounting - much fewer segfaults now
* Countless bugfixes here & there
1999-12-23 Lauris Kaplinski <lauris@ariman.ee>
* Major cleanup - most things work better now, but some
don't work at all :-(
* Implemented SPChars class
* Text editing
* svg importing
* loading, saving and printing almost works
1999-09-02 Lauris Kaplinski <lauris@ariman.ee>
* Rewrote many things and hacked up the rest.
Removed Gdome dependency, as I had neither time nor patience
to mess with it. As a temporary solution I've created SPRepr objects,
which can contain xml data.
Added functions: group, ungroup, delete, duplicate, to_front,
to_back, up, down
Freehand drawing almost works although need some cleanup
Outlines are implemented, although not usable yet
Rect can handle round corners i hope
Ellipse can be sliced
# Local Variables:
# tab-width:8
# indent-tabs-mode:t
# End:
# vim: tabstop=4:noexpandtab:shiftwidth=4
|