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
|
2008-12-09 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.5.3
2008-12-09 Michael Gratton <mike@vee.net>
* gladeui/glade-property-class.c: Change spin button page size to
0 for numeric property values editorsm, stops a lot of GTK
warnings.
2008-12-09 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/icons/22x22/widget-gtk-uimanager.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrenderertoggle.png,
plugins/gtk+/icons/22x22/widget-gtk-entrycompletion.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrendererprogress.png,
plugins/gtk+/icons/22x22/widget-gtk-recentaction.png,
plugins/gtk+/icons/22x22/widget-gtk-windowgroup.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrendereraccel.png,
plugins/gtk+/icons/22x22/widget-gtk-volumebutton.png,
plugins/gtk+/icons/22x22/widget-gtk-treestore.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrendererpixbuf.png,
plugins/gtk+/icons/22x22/widget-gtk-liststore.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrendererspin.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrenderertext.png,
plugins/gtk+/icons/22x22/widget-gtk-iconfactory.png,
plugins/gtk+/icons/22x22/widget-gtk-scalebutton.png,
plugins/gtk+/icons/22x22/widget-gtk-cellrenderercombo.png
plugins/gtk+/icons/16x16/widget-gtk-cellrenderertoggle.png,
plugins/gtk+/icons/16x16/widget-gtk-treeviewcolumn.png,
plugins/gtk+/icons/16x16/widget-gtk-entrycompletion.png,
plugins/gtk+/icons/16x16/widget-gtk-cellrendererprogress.png,
plugins/gtk+/icons/16x16/widget-gtk-recentaction.png,
plugins/gtk+/icons/16x16/widget-gtk-windowgroup.png,
plugins/gtk+/icons/16x16/widget-gtk-cellrendereraccel.png,
plugins/gtk+/icons/16x16/widget-gtk-volumebutton.png,
plugins/gtk+/icons/16x16/widget-gtk-treestore.png,
plugins/gtk+/icons/16x16/widget-gtk-cellrendererpixbuf.png,
plugins/gtk+/icons/16x16/widget-gtk-liststore.png,
plugins/gtk+/icons/16x16/widget-gtk-cellrendererspin.png,
plugins/gtk+/icons/16x16/widget-gtk-cellrenderertext.png,
plugins/gtk+/icons/16x16/widget-gtk-iconfactory.png,
plugins/gtk+/icons/16x16/widget-gtk-scalebutton.png,
plugins/gtk+/icons/16x16/widget-gtk-cellrenderercombo.png:
Added new icon files, most of them are a combination of other icons.
* plugins/gtk+/icons/22x22/widget-gtk-action.png,
plugins/gtk+/icons/22x22/widget-gtk-actiongroup.png,
plugins/gtk+/icons/22x22/widget-gtk-radioaction.png,
plugins/gtk+/icons/22x22/widget-gtk-toggleaction.png,
plugins/gtk+/icons/16x16/widget-gtk-action.png,
plugins/gtk+/icons/16x16/widget-gtk-actiongroup.png,
plugins/gtk+/icons/16x16/widget-gtk-radioaction.png,
plugins/gtk+/icons/16x16/widget-gtk-toggleaction.png:
new icons by Mike Gratton <mike@vee.net> bug #561979
2008-12-09 Tristan Van Berkom <tvb@gnome.org>
* COPYING: Updated to reflect current temporary dual licensing scheme, package is to be LGPL, with
code portions that are still marked as GPL until they can be relicensed, both licenses are included
in the package already.
* plugins/gtk+/glade-store-editor.h plugins/gtk+/glade-icon-factory-editor.h
plugins/gtk+/glade-image-item-editor.c plugins/gtk+/glade-image-editor.c plugins/gtk+/glade-image-item-editor.h
plugins/gtk+/glade-model-data.c plugins/gtk+/glade-icon-sources.c plugins/gtk+/glade-tool-button-editor.c
plugins/gtk+/glade-image-editor.h plugins/gtk+/glade-model-data.h plugins/gtk+/glade-icon-sources.h
plugins/gtk+/glade-tool-button-editor.h plugins/gtk+/glade-text-button.c plugins/gtk+/glade-button-editor.c
plugins/gtk+/glade-column-types.c plugins/gtk+/glade-text-button.h plugins/gtk+/glade-label-editor.c
plugins/gtk+/glade-column-types.h plugins/gtk+/glade-button-editor.h plugins/gtk+/glade-cell-renderer-editor.c
plugins/gtk+/glade-label-editor.h plugins/gtk+/glade-cell-renderer-editor.h plugins/gtk+/glade-treeview-editor.c
plugins/gtk+/glade-convert.c plugins/gtk+/glade-store-editor.c plugins/gtk+/glade-icon-factory-editor.c
plugins/gtk+/glade-treeview-editor.h: First files to safely be completely relicensed under LGPL.
2008-12-09 Tristan Van Berkom <tvb@gnome.org>
* configure.ac: Bumping gtk+ required version to 2.14
* gladeui/glade-xml-utils.c, gladeui/glade-widget-adaptor.[ch],
gladeui/glade-property-class.[ch], gladeui/glade-project.c: Added support
for "builder-since" versioning (since builder supported this property/widget).
* plugins/gtk+/gtk+.xml.in: Marked appropriate properties and objects "builder-since"
and brought up to date new properties and signals introduced in 2.14.
* gladeui/glade-base-editor.c: Plugged resource leak in finalize().
2008-11-28 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-inspector.c: added explanation string in the search entry.
"< search widgets >" with italic style and insensitive color.
2008-11-28 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-inspector.c: Added GCompletion/GtkTreeModelFilter to the inspector with
a new search entry.
* gladeui/glade-widget-adaptor.c: Fixed bug with iface props, they were getting listed
once per implementing subclass (subclasses of implementors had it listed > 2 times).
2008-11-25 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-utils.c: Hijack the cntl-n accelerator too now.
* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c, plugins/gtk+/glade-store-editor.c:
Enhanced model editing, now there is completion in type names, and column types are defined inline
with no add or delete keys, model data can be edited and navigated without using the pointer either.
* gladeui/glade-command.c: Fixed check for wrapperless objects returned by adaptor_get_children().
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
- Added editor support for Icon View.
- Added editor support for Combo Box
- Renderers watch project format changes and now sync attributes in an idle
when moving into builder format (fixes renderer appearance after undo of project
conversions).
* plugins/gtk+/glade-cell-renderer-editor.c: Export a new function to get the model from
the renderer regardless of the layout type.
* plugins/gtk+/glade-treeview-editor.c: Now supports editing any view that can have a model,
and pops up the store editor automatically on the right of the normal widget editor.
* plugins/gtk+/glade-convert.c: Fixed conversions for combo boxes.
* gladeui/glade-base-editor.c: Now include signal editor outside notebook, update signal
editor on page changes.
2008-11-23 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.c:
- glade_widget_build_object() now calls glade_widget_set_object() internally and then
uses glade_widget_adaptor_set_property() for non construct properties.
- glade_widget_dup_properties/glade_widget_copy_properties take 2 new args, whether copy
parentless widget properties or not, and whether to copy them exactly or not.
- added glade_widget_get_parentless_reffed_widgets() to return a list of reffed parentless
widgets.
* gladeui/glade-command.c: Now add/remove parentless widget props from the project in
command_add/remove.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
- Made GtkTreeView:model property query user at create time.
- Fixed to never sync properties when in attribute mode, to sync attributes
after adding cells to cell layouts, and to not set attributes to orphan cells
(net result: copy/paste of treeviews now result in a nice runtime replica).
- Did some reordering in glade-gtk.c
- Added load/save support for <action-widgets> of GtkDialog (response ids).
- Fixed gtk_image_menu_item_set_stock() to not override the label value if not
in use_stock mode (fixes missing labels in pasted imagemenuitems).
2008-11-22 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-base-editor.c:
- Removed apis to add popups, now they are autogenerated
- Added glade_base_editor_append_types(), glade_base_editor_new() now
only adds types supported by the container object, use _append_types() to
define hierarcic type relations for children.
- Added "main_editable" optional argument to glade_base_editor_new(), the editor
now contains a main page with the provided editable, or creates a general editable
for the container for the general page.
* gladeui/glade-editor-table.c:
- Fixed a warning hiding a never built label
- Load propertes up a realize time (some sizes need negotiation when loaded editables
are going into dialogs that are not yet on screen).
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
- Now the toolbar editor can add menus and edit menus inside the gtkmenutoolbutton
(fixed bug 429438).
- First itteration on the treeview editor, removed annoying actions for column/cell
hierarchy and do it all in the editor, added position packing property to treeview
column for this (treeview column still implemented generically as a cell layout).
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-treeview-editor.[ch]: New editor to group
the treeview and model together in the base editor treeview editor
2008-11-20 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Added all remaining metadatas for cell renderers
(all cell renderers and attributes now implemented).
* plugins/gtk+/glade-column-types.c: Fixed to populate enums/flags only
after all catalogs parsed, now they are listed in alphabetical order too.
* plugins/gtk+/glade-cell-renderer-editor.c: Added GladeEPropCellAttribute
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Integrated new eprop
for cell renderer attributes, avoid setting attributes for columns that
exceed model bounds (except on load).
2008-11-19 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-cell-renderer-editor.c:
Added a new editor for cell renderers
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added metadata for
all attributes and auxilary properties in the catalog, and added hooks
to manipulate, load and save cell renderers, reused most of Juan Pablo's
work for this, and also for treeview column child renderer support.
2008-11-15 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-editor-property.[ch]: Fixed recursion in the eprops when
updating values (due to exterior callers calling ->load() when the project
changes for thier custom editors), this fixes glitches when editing multiline
text entries.
* src/glade-window.c: Update glade-app accel group.
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added
new backend ->depends() vfunc to determine toplevel dependancies (for
glade file output ordering).
* gladeui/glade-project.[ch], gladeui/glade-app.c:
- Remove accel group notion from projects
- Sort dependancies using glade_widget_adaptor_depends()
* gladeui/glade-base-editor.c:
- Use global accel group (with keypress editor hijack in place)
- No longer modal
- added "container" property on the editor
- dedicated dialogs self destruct if their container changes
* gladeui/glade-utils.c: added glade_utils_hijack_key_press ()
* src/glade-window.c: Moved hijack_key_press to glade_utils
* gladeui/glade-editor.[ch]:
- Added "widget" property
- added glade_editor_dialog_for_widget()
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
- Added "Edit Separately" action
- Added ->depends() func for GtkWidget and GtkSizeGroup
2008-11-12 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-utils.c: Refixed use of uninitialized variable (bug 559678).
* gladeui/glade-app.c: Fixed win32 api for deprecated api usage (bug 559678).
* plugins/gnome/glade-gnome.c: Fixed build breakage (bug 560668).
* plugins/gtk+/glade-gtk.c: Delete dangling submenus when moving children
around in the menu editor (bug 560145).
2008-11-12 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c: Fixed loading of images and only set image
data when in the correct edit mode.
* plugins/gtk+/glade-convert.c: Fixed toolbutton conversions to search
icon factories from the beginning of the object list and not the current
list position.
* gladeui/glade-project.c: When changing resource paths, reload all pixbuf
properties automagically (this wont work for custom pixbufs like icon factory
has).
2008-11-08 Kjartan Maraas <kmaraas@gnome.org>
* gladeui/glade-utils.c: (glade_utils_get_pspec_from_funcname),
(glade_util_ui_message), (glade_util_gtk_combo_find):
* src/glade-window.c: (confirm_close_project):
Try to avoid using deprecated glib api. Bug #559678.
2008-11-07 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.c: moved signal and
children serialization from glade_widget_adaptor_object_write_widget() to
glade_widget_write() (bug #559531)
2008-11-07 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Faked the accel-group property and added
accel-groups object list to GtkWindow... work in progress.
* plugins/gtk+/glade-image-item-editor.c: Adjusted for accel-group property
which is only avaiable for stock items.
* plugins/gtk+/glade-gtk.c: Fixed sensitivity for accel-group/stock at load time.
* plugins/gtk+/glade-convert.c: Set the toplevel window accel-groups property when
converting.
* gladeui/glade-editor-property.c: Labels dont go insensitive anymore, I think that
was a general usability problem, the inputs still go insensitive and there are always
useful tooltips, the insensitivity message still gets across.
* gladeui/glade-editor-table.c: Fixed breaking weak refs from dispose.
* gladeui/glade-project.c: Now save project resource directory in glade file
comments if user specified a relative or absolute path in the prefs dialog,
otherwise resources are loaded from the project's directory.
2008-11-05 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-xml-utils.c, gladeui/glade-property-class.c: Added
parameter-spec parsing, need to updated docs still (fixes bug 382701).
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-attributes.c,
plugins/gtk+/glade-icon-sources.c, plugins/gtk+/glade-accels.c, plugins/gtk+/glade-model-data.c,
plugins/gtk+/glade-column-types.c:
- Removed all custom parameter spec implementations in the plugin and replaced them
with automatically generated ones parsed by the xml.
- Fixed hierarchy bugs, some classes were not saving.
2008-10-31 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/glade-gtk.c:
making menu conversions seemless
* gladeui/glade-widget.c: Remove widgets from layout on hide,
hide widgets when adding parentless prop refs.
2008-10-30 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.[ch], gladeui/glade-command.[ch]: Added
glade_widget_[un]lock() and glade_command_[un]lock_widget().
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-convert.c,
plugins/gtk+/glade-image-item-editor.c: Dual format menu editing support
depending on my gtk+ patch on bug 527672, TODO: still need to add accel-groups
to GtkWindow on the glade side of things.
2008-10-28 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
Reimplemented GtkMenuItem and subclasses from top to bottom
* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/Makefile.am:
New GtkImageMenuItem editor (that embeds the child image editor when needed)
* gladeui/glade-command.[ch]: Added glade_command_[un]protect_widget()
* gladeui/glade-widget.[ch]: Added glade_widget_[un]protect()
protected widgets come with a message and cannot be manually deleted
from the project.
* plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-button-editor.c,
plugins/gtk+/glade-tool-button-editor.c, gladeui/glade-editor-table.c:
Fixed to:
- not reffer to child editables in finalize
- always removed external signals and weak references from finalize
* gladeui/glade-base-editor.c: Fixed to allow properties expand/fill
in both label and entry.
* src/glade-window.c: Clear toolbar actions when closing projects.
* gladeui/glade-gtk.c: Fixed bugs around load/save of button/imagemenuitem
label (stock driven) properties.
* plugins/gtk+/glade-image-item-editor.c: Fixed a null dereference, glade_command_create()
sometimes ends up changeing the selection, so the editable may be reloaded in the
midst of its flow.
* gladeui/glade-property.c, gladeui/glade-widget-adaptor.c: Now check for pclass->save
and pclass->enabled *before* calling glade_property_write(), this allows plugins to
mark props as save="False" and save those properties with custom values, still allowing
them to use the GladeProperty api.
* plugins/gtk+/glade-icon-factory-editor.[ch], plugins/gtk+/Makefile.am,
plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
Added icon factory editor widget (only to better format the "sources" property
so that it takes the whole width with the treeview.
* plugins/gtk+/glade-store-editor.[ch], plugins/gtk+/Makefile.am,
plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
Added liststore/treestore editor widget (only to better format the "columns"
and "data" properties so that it takes the whole width with the treeview.
* plugins/gtk+/glade-label-editor.[ch], plugins/gtk+/Makefile.am,
plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Rewrote GtkLabel implementation from
top to bottom with custom editor (now all those conflicting properties are dummy proofed)
* plugins/gtk+/glade-attributes.c: Fixed some glitches, now its usable, closing case
for now, we have attributes, they are global for the label but better that way for i18n'ing.
2008-10-27 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c:
- Reimplemented GtkImage from ground up.
- Reimplemented stock on GtkButton.
- Made toolbutton editables show up in the toolbar editor
* gladeui/glade-base-editor.[ch]: Added glade_base_editor_add_editable()
* plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-tool-bar-editor.c:
Implement new Editable vfunc set_show_name()
* gladeui/glade-editor-table.c, gladeui/glade-editable.c, gladeui/glade-editor.c:
Added new vfunc set_show_name()
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-image-editor.[ch]: New editor
widget for GtkImage
* gladeui/glade-property-class.[ch]: string props can now be "stock" or "stock-icon"
* gladeui/glade-widget-adaptor.c: No more stock enum eprops
* gladeui/glade-editor-property.c: Handle string types with "stock" or "stock-icon"
* plugins/gtk+/glade-image-editor.[ch], plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c,
gladeui/glade-property-class.c: Override type of GtkImage::icon-size to use real
GTK_TYPE_ICON_SIZE for editing purposes (needed to fix the core a bit for this), also
improved image editor to keep sizes contextual to image edit mode.
2008-10-26 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-tool-button-editor.[ch]:
Added GtkToolButtonEditor editable implementation.
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Reimplemented toolbuttons
from ground up.
* gladeui/glade-editor-property.c: object dialog now doesnt do "new" for unmentioned
abstract or uninstantiatable types, also enhanced dialog title.
* gladeui/glade-project.c: Moved "parse-finished" emission to /after/ resolving
object properties (doh !).
2008-10-25 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-property-class.c: Fixed glade_property_class_make_adjustment()
for floating and double values (page inc and size were not properly set) (bug 553200)
* gladeui/glade-app.c: Fixed a warning
* gladeui/glade-editor-table.c: Was loading invisible properties, oops.
* doc/properties.sgml: Documented custom-layout property.
* plugins/gtk+/gtk+.xml.in: mark some props save-always for overridden
defaults in children (this one is bug 555726)
* plugins/gtk+/glade-cell-renderer-button.c: Fixed a warning.
* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c,
plugins/gtk+/glade-icon-sources.c: Made sure add/remove works when
deleting unedited icon sources, all add buttons result in focus and
start-editing of an important cell in the underlying treeview.
* gladeui/glade-utils.c: Fixed generic enum types to use enum_class->minimum
as the default value.
* plugins/gtk+/glade-gtk.c: Ignore parent-changes on internal widgets (that
causes problems when internal widgets get destroyed at project close time).
* plugins/gtk+/glade-button-editor.c: Fixed custom/standard commands,
now standard mode sets up a default label etc also.
* gladeui/glade-project.c, gladeui/glade-property.c, gladeui/glade-widget.c,
gladeui/glade-property-class.[ch], gladeui/glade-xml-utils.h:
Removed hack for GtkToolButton:icon --> iconfactory (will do in glade-convert.c
properly).
* gladeui/glade-convert.c: Properly convert toolbutton:icon both ways.
* plugins/gtk+/glade-gtk.c: Undid a little toolbutton support so that
stock-id remains untouched and is accessible in builder format, TODO
rework toolbars and menus (will be simpler) with GladeEditable.
* gladeui/glade-command.c: Fixed a crasher in project conversions.
2008-10-24 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-button-editor.[ch]:
Added new #GladeEditable implementation for GtkButton general page.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Completely reworked GtkButton,
much cleaner and less code now.
* gladeui/glade-property-class.c: string_from_enum, now returns the nick and not the
name (generally all around nicer menus when no displayable values and also smaller
nicer glade files). Displayable values are now consequently indexed by nick and not name.
* gladeui/glade-displayable-values.[ch]: Added reverse lookup glade_get_value_from_displayable()
* gladeui/glade-utils.[ch]: When doing glade_utils_enum/flag_value_from_string(), allow
displayable values (also added glade_utils_enum/flag_string_from_value_displayable()).
* plugins/gtk+/glade-icon-sources.c: Use all around displayable values for items
in the treeview.
2008-10-23 Tristan Van Berkom <tvb@gnome.org>
* gladeui/Makefile.am, gladeui/glade-editable.[ch], gladeui/glade-editor-table.[ch]:
- Added GladeEditable interface used as pages by GladeEditor
- Added GladeEditorTable widget to implmenemt the editable as the traditional table
with sorted properties
* gladeui/glade-editor.[ch]: Removed lots of code, now uses GladeEditables returned
by thier adaptors.
* gladeui/glade-editor-property.c: Removed obsolete doc-search signal.
* gladeui/glade-widget-adaptor.[ch]: Added GladeCreateEditableFunc to allow backends
to define layouts of pages in the editor.
* src/glade-window.c: Fixed a warning.
2008-10-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: fixed bug in glade_gtk_assistant_verify_property()
new value should be >= that current
* plugins/gtk+/gtk+.xml.in: renamed virtual property GtkAssistant::size to n-pages
2008-10-22 Tristan Van Berkom <tvb@gnome.org>
* gladeui/Makefile.am, gladeui/glade-displayable-values.[ch]: Rewrote displayable
values so no need for redundancies anymore (bug 556452). Also now displayable values
are more accessible for the plugin.
* plugins/gtk+/gtk+.xml.in, plugins/gnome/*.xml.in: Removed redundant displayable value
declarations (alot of them !).
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-icon-sources.[ch]:
new pspec and eprop for GtkIconSources in GtkIconFactories.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added load/save/set_property/string_from_value
support for icon sources in icon factories.
2008-10-21 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c, gladeui/glade-editor.c, gladeui/glade-editor-property.[ch],
gladeui/glade-popup.[ch]: Abolished "View->Context Help" and added a context menu
to editor properties.
* gladeui/glade-editor.c, gladeui/glade-editor-property.c: Implemented something
based on Pavel's patch, wordwrapping in the editor works better now.
* gladeui/glade-project.c: Fixed regression, now the inspector updates on widget
name changes.
* gladeui/glade-widget.c: Implement property lookups with a hash table, fixed mem leaks
* gladeui/glade-property.c: Read properties from the passed node directly, fixed mem leaks
* gladeui/glade-widget-adaptor.c: Read properties in the order they are listed in the file,
not by the order of the properties in the object (helps load performance).
* gladeui/glade-project.c: Fixed mem leaks, release widget property references before
destroying all the glade widgets.
* plugins/gtk+/glade-attributes.c: Use glade-cell-renderer-button for color attributes.
* plugins/gtk+/glade-cell-renderer-button.c: no more button-text property
* plugins/gtk+/glade-text-button.c: Now use a GTK_STOCK_EDIT icon in the cell renderer button
2008-10-20 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-cell-renderer-button.[ch], plugins/gtk+/glade-text-button.[ch]:
Now can optionally make the entry non editable.
* plugins/gtk+/glade-model-data.c: Added pixbuf editing support.
* doc/widgetclasses.sgml, doc/properties.sgml: Clarified docs.
* gladeui/glade-editor-property.[ch]: Removed resource editor, edit pixbuf with
string editor.
* gladeui/glade-widget-adaptor.c, gladeui/glade-property-class.c,
gladeui/glade-project.[ch]: Completely removed concept of resources, glade
no longer copies along pixbufs, pixbuf properties can include full paths
or relative paths, in the glade runtime; any pixbufs are only ever loaded
from the glade project directory (only the basename is used).
2008-10-19 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-cell-renderer-button.[ch], plugins/gtk+/glade-text-button.[ch],
plugins/gtk+/glade-model-data.c: Added i18n support to string values in datastores.
2008-10-18 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-model-data.c: Now support editing enum types
* plugins/gtk+/glade-column-types.c: Generate a list of enum and flag column types to select from.
2008-10-18 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-command.c: Fixed property commands to not unify across separate groups,
and also to unify when they are not lists.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-model-data.c:
- Data properties now have DnD working
- Adding TreeViewColumn support
- Fixing liststore support to work for treestore
- Added lots of actions on the treeview column
- Marked GtkNotebook::pages as invisible
* gladeui/glade-editor.c: Allow query dialogs on invisible properties
if requested.
2008-10-16 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-attributes.c: applied proposed patch for bug #547431
'"Scale" ambiguous for translation' <Theppitak Karoonboonyanan>
2008-10-16 Tristan Van Berkom <tvb@gnome.org>
* gladeui/Makefile.am, gladeui/glade-name-context.[ch]: Encapsulated name tracking mechanism
* gladeui/glade-project.c, gladeui/glade-command.c: Now added a naming policy to the project
with prefs and load/save support + a glade command to set it - also revamped the prefs dialog,
it also pops up automatically for new projects.
* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-property-class.c,
gladeui/glade-property.c, gladeui/glade-widget.c: All effected since now
glade_property_class_make_gvalue_from_string () needs a GladeWidget argument to do
hierachic context sensitive searches... that and naming is much cleaner now.
* src/glade-window.c: remember to pass ownership of the project to the app.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
Cleaned up code, now data will dynamically reorder itself upon column changes, data is mostly
all editable save for some glitches, and all columns have unique names to which the data is
directly related.
2008-10-10 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-xml-utils.c, gladeui/glade-property-class.[ch]: Added
new "needs-sync" property
* gladeui/glade-widget.c: glade_widget_sync_custom_props(): also sync
props marked as needs-sync.
* plugins/gtk+/gtk+.xml.in: GtkTable:n-rows/n-columns marked as "needs-sync"
2008-09-30 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-property.[ch], gladeui/glade-command.[ch],
gladeui/glade-editor-property.c: Implemented new "context" i18n
metadata.
* gladeui/glade-widget.c: Fixed to hide non-window widgets in glade_widget_hide()
2008-09-29 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-column-types.[ch]: Exported glade_column_list_copy/free()
* plugins/gtk+/glade-model-data.[ch], plugins/gtk+/Makefile.am: Added model data
pspec, editor not complete yet...
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Implemented new pspec as
list/treestore's "data" property with load/save support.
* plugins/gtk+/glade-convert.c: Made combos convert correctly with new modeldata
pspec.
* gladeui/glade-utils.[ch]: Added glade_utils_liststore_from_enum_type()
* gladeui/glade-widget.c: glade_widget_rebuild() updates prop_refs now
* gladeui/glade-property-class.c, gladeui/glade-xml-utils.h, gladeui/glade-property.c:
now you can set construct-only on virtual properties, they will rebuild the object
and give you a chance to sync (you MUST handle set_property in a construct-only case)
2008-09-29 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-column-types.[ch]: added missing files.
close bug #554258 "glade-column-types.h missing"
2008-09-28 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch],
plugins/gtk+/Makefile.am, plugins/gtk+/gtk+.xml.in: Added load/save/edit
support for GtkTreeStore/GtkListStore basic columns and data definitions
(store data still not translatable...) - Juan Pablo Ugarte
* gladeui/glade-utils.c: Added convenience funcs glade_utils_string_from_value()
and glade_utils_value_from_string(), these actually use glade-property-class api.
2008-09-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: fixed bug #543314
"Crash when adding an Input DIalog"
added glade_gtk_dialog_stop_offending_signals()
to stop "hierarchy-changed" and "screen-changed"
default handlers in GtkInputDialog and GtkFileChooserWidget
2008-09-22 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-editor-property.c: Fixed adjustments when values are null in
libglade mode
* plugins/gtk+/gtk+.xml.in: Reorganized groups, added some more metadatas
* plugins/gtk+/glade-convert.c:
- Convert "text" property of TextView to a textbuffer and text property
in builder format.
- Convert "tooltip" <--> "tooltip-text"
* gladeui/glade-popup.c, gladeui/glade-inspector.c: enhanced menu for
inspector empty spots (paste toplevels)
* gladeui/glade-editor-property.c: Adjustments in libglade had bugs, hardcoded
default values here and made sure object is NULL on default.
* gladeui/glade-widget.[ch]: Removed glade_widget_project_notify()
* gladeui/glade-command.c:
- glade_command_remove() implicitly makes commands to unset any properties
reffering to the object being removed from the project.
- project conversions now cleanup unsupported widgets/properties
* gladeui/glade-palette.c, gladeui/glade-app.c: Moved toplevel widget creation
code from gladeapp to gladepalette.
2008-09-21 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c: Set sizegroup_add action sensitive/insensitive
depending on project format
* plugins/gtk+/gtk+.xml.in: Set libglade-unsupported && create-type on alot of properties
* gladeui/glade-editor-property.c: Set eprop insensitive also if its in an unsupported
format
* gladeui/glade-xml-utils.h, gladeui/glade-property-class.c: Added "create-type"
* gladeui/glade-property.[ch]: Now property states can be flagged and
also include format_disabled state.
* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.[ch],
gladeui/glade-xml-utils.c: New "construct-object-function" used to construct
object instances by way of the plugin (glade_widget_adaptor_construct_object ()).
2008-09-20 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated.
* gladeui/glade-utils.c: Improved error messages in load_module() routine.
* plugins/gtk+/gtk+.xml.in:
- Enabled object properties all over.
- Added sizegroup support stuff
* plugins/gtk+/glade-gtk.c:
- Added GtkWidgetClass support for add to size group
action with dynamic submenu
- added sizegroup virtual "widgets" property
- added custom load/save support for "widgets" property
* gladeui/glade-popup.c: Added support for dynamic action submenus
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added
GladeActionSubmenuFunc backend support for creation of dynamic
action submenus.
* gladeui/glade-widget.[ch] removed deadcode glade_widget_create_action_menu()
* gladeui/glade-project.c: Added readonly "format" property
* src/glade-window.c, gladeui/glade-inspector.c, gladeui/glade-utils.c,
gladeui/glade-app.c:
- Made sure that the first toplevel in the project is selected and visible
at load time in both the workspace and inspector
- Sorted objects from widgets in the inspector view.
* gladeui/glade-xml-utils.h, gladeui/glade-catalog.[ch],
gladeui/glade-widget-adaptor.[ch], gladeui/glade-property-class.[ch],
gladeui/glade-project.c, glade-palette-item.c: Added "supports" catalog element
to supply supported formats, added libglade-only and libglade-unsupported properties
for widget classes and property classes, those metadata will show up in the editor
like versioning info, in the verify logs as well, and the palette will adjust
sensitivity according to the new properties.
* plugins/gtk+/gtk+.xml.in, plugins/gnome/gnome.xml.in: Added supports
elements and marked widgets/properties as libglade-only/libglade-unsupported in
the gtk+ catalog, added ALL objects, with no extra support.
2008-09-19 Tristan Van Berkom <tvb@gnome.org>
Now we have a conversion routine that is run in the plugin to
convert some data for one format to another (builder on the way...)
In this patch we use it to handle GtkAdjustment property conversions.
(NOTE: Completely undoable)
* gladeui/glade-editor-property.c: Made adjustment eprop fallback on
object dialog in builder cases.
* gladeui/glade-command.[ch]: Added glade_command_set_project_format()
* gladeui/gldae-catalog.c, gladeui/glade-xml-utils.h: Added GladeProjectConvertFunc
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-convert.c,
plugins/gtk+/gtk+.xml.in: New file to handle conversion routines,
added some objects.
2008-09-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/gtk+.xml.in:
o set packing GtkBox::position as save-always (bug #551060)
o set packing GtkToolbar::expand as save-always (bug #544654)
2008-09-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c:
- Show glade widgets in the workspace on selection changes in the project
and not on item-activated.
- Rename "Dock Editor" -> "Dock Properties" as per bug 487613.
* gladeui/glade-design-layout.c: Fixed expose event to chain to parent class
after drawing an orange box (non window widgets are usualy GTK_NO_WINDOW).
* gladeui/glade-widget.c: Made glade_widget_show() show the toplevel of any
GtkWidget object, also now shows toplevel non window glade widgets in the
workspace, if the widget is referenced by a property that as a result parents
the widget (i.e. bears a "parentless-widget" property reference), then the
referencing widget is shown instead.
* gladeui/glade-popup.c: Added devhelp icon to documentation menu item, added
docs icon to normal menu.
* plugins/gtk+/glade-gtk.c:
- insert before/after in box is working now (bug 550636).
- take into account cancelation of query dialog in add_parent action
code (bug 549685)
- switch notebook pages to display the selected widget (bug 392045).
* TODO: Updated.
2008-09-18 Christian Persch <chpe@gnome.org>
* gladeui/glade-app.c: (glade_app_show_properties),
(glade_app_hide_properties):
* gladeui/glade-command.c: (glade_command_pop_group): Replace the
deprecated G_GNUC_PRETTY_FUNCTION with G_STRFUNC. Bug #512559.
2008-09-18 Christian Persch <chpe@gnome.org>
* plugins/Makefile.am: Install the catalogue DTD. Bug #552767.
2008-09-17 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-editor.[ch]: Exposed doc_search() command for palette popup
* gladeui/glade-popup.[ch]: Added glade_popup_palette_pop(), with add
widget as toplevel feature & doc search feature.
* gladeui/glade-palette-item.c: Handle right-click for popup
* gladeui/glade-inspector.c: Make inspector list widgets in natural order
* gladeui/glade-project.c: Fixed widget order list (bug 422823)
* gladeui/glade-gtk.c: Fixed widget order inside GtkTable
(bug 422823 - patch by Pavel Kostyuchenko)
2008-09-16 Pavel Kostyuchenko <ShprotX@gmail.com>
Patch adds support for non GtkWindow toplevel project widgets and handles
carefully properties that reffer to parentless gtkwidgets (bug 532636).
(also fixes GtkMessageDialog ...)
* gladeui/glade-app.c:
Creating toplevel widget through unified glade-palette interface.
Removed error message when pasting non-toplevel widgets without
a parent.
* gladeui/glade-command.h: A new function for getting depth of command recursion
* gladeui/glade-command.c:
A new function for getting depth of command recursion.
A return value of glade_command_set_property_execute function is valid
and is respected by glade_command_set_properties_list.
indicate success/failure of their execution.
Glade-command can be unified to null.
Setting property command is always executed as a group, so if there is
any recursive command, they will be added to that group.
Removed parentless widget message level lowered from critical to
message.
Widget is treated as toplevel only if it has no parent.
Removed an assertion from glade_command_create that doesn't allow
creation of non-GtkWindow parentless widgets
* gladeui/glade-editor-property.c:
Object selection dialog will be optionally filled by parentless
non-GtkWindow widgets only
Unparenting root widgets before setting another property to them
* gladeui/glade-inspector.c:
Popup for clicking even on empty part of widget list
* gladeui/glade-palette.h:
A unified function for creating root widgets
* gladeui/glade-palette.c:
A unified function for creating root widgets
A new button for creating root widgets
* gladeui/glade-placeholder.[ch]:
glade_placeholder_get_project has been made public for using in
glade-popup
* gladeui/glade-popup.c:
A new function glade_popup_simple_pop for creating a context menu on
an empty space of glade-inspector
New context menu items for adding widgets
* gladeui/glade-popup.h:
A new function glade_popup_simple_pop for creating a context menu on
an empty space of glade-inspector
* gladeui/glade-project.c:
Unifying command even if there's redo items.
Unifying atomic commands only.
Unifying to null
* gladeui/glade-property-class.[ch]:
A new field for making properties that points to parentless widgets
* gladeui/glade-property.h:
Added a return value to glade_property_set* functions to indicate
success/failure that is used in glade-command
* gladeui/glade-property.c:
Ignoring parentless_widget properties while duplicating properties.
Additional check while adding/removing property reference
Added a return value to glade_property_set* functions to indicate
success/failure that is used in glade-command.
Determining that property is changed using glade-proproperty method
instead of direct comparing GValue.
Loading properties through glade-widget-adaptor interface instead of
getting them directly.
remove_object method now unsets referencing property instead of
setting it.
Removed dummy duplicated setting of property while unsetting
referencing property.
* gladeui/glade-property.h:
Added a return value to glade_property_set* functions to indicate
success/failure that is used in glade-command.
* gladeui/glade-widget.c:
Removed setting widget properties to template/default values while
building a new object, because they will be set later in constructor.
Reloading properties after duplicating a widget.
A new function for removing parent reference, that was made by setting
parentless_widget property to the widget.
Saving and loading parentless_widget properties while rebuilding,
because they cannot be duplicated.
Corrected destroying of an old widget while rebuilding. Seems like
it's not fully correct still.
* gladeui/glade-widget.h:
A new function for removing parent reference, that was made by setting
parentless_widget property to the widget.
* gladeui/glade-xml-utils.h:
A new tag "parentless-widget" as a property attribute
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
Removed an old hack for "image" property of GtkMessageDialog.
A new implementation of "image" property using parentless_widget
kind of property.
Added an ability of working with parentless widgets using
"remove parent" and "add parent" items of context menu
2008-09-16 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-design-layout.c: Fixed calculation to get deepest
wrapped glade widget (bug 539924 - fix by Pavel Kostyuchenko).
* plugins/gtk+/glade-gtk.c: Made insert/remove column/row on gtktable
take packing property order into account (bug 503355 fix by Eli Collins).
* src/glade-window.c: Fixed projects menu bug (bug 532156, fix by
Pavel Kostyuchenko).
* gladeui/glade-xml-utils.h: Added version macros
* plugins/gtk+/gtk+.xml.in: Added version 2.14
* gladeui/glade-project.c: Now glade loads and saves requires
metadata as comments at the toplevel in libglade and older versions
of gtk+ that dont recognize versioning (i.e. gtk+ < 2.14) (bug 536310)
* gladeui/glade-widget.c: Reverted the above patch portion where built
objects only had thier construct props set, this caused errors, fixed.
2008-09-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
added glade_gtk_label_string_from_value() to avoid
param spec warnings
2008-09-02 Claude Paroz <claude@2xlibre.net>
* gladeui/glade-utils.c: (glade_util_copy_file):
Trivial change in a string to remove duplicate (io -> I/O).
2008-09-01 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
response-id now only available for buttons that are in the
action area of dialogs (bug 464502)
2008-08-09 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-base-editor.h: Don't include the
private header file `glade-marshallers.h'. Rather
include it in `glade-base-editor.c'.
2008-08-09 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
Worked around special child type naming discrepencies between
formats from the plugin side (bug 533217 - fix by Pavel Kostyuchenko).
* gladeui/glade-project.c: Silently ignore unrecognized signals in glade file
instead of aborting (bug 533728 - fix by Pavel Kostyuchenko).
2008-08-06 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-attributes.[ch]:
New internal pspec type for attributes and new editor widget for them.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
Load/Save/Edit pango attributes on GtkLabel
* gladeui/glade-utils.[ch]: Added enum value <--> string converters.
* plugins/gtk+/gtk+.xml.in:
- Made checkbutton::draw-indicator save-always (bug 543008)
- Update loaded assistant pages properly (bug 540531 - fix by Antti Kaijanmäki)
* gladeui/glade-editor-property.c: Now objects and resource property fields are updated
correctly (bug 542335 - fix by Pavel Kostyuchenko).
2008-08-02 Tristan Van Berkom <tvb@gnome.org>
* doc/widgetclasses.sgml, doc/catalogintro.sgml: Ammended docs regarding
widget icon installations.
2008-07-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-window.c: save main window paned positions.
2008-05-27 Richard Hult <richard@imendio.com>
* gladeui/glade-xml-utils.h: Remove copy-and-paste mistake (by the
looks of it). Fixes issue with duplicate symbols when linking on
Mac.
2008-05-13 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-accels.c: Fixed bold/grey/italics in treeview.
* gladeui/glade-editor.c: Fixed boldness in reset dialog treeview.
2008-05-11 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.c: Applied patch from Pavel Kostyuchenko to prevent
hangs in anjuta (bug 531585).
* gladeui/glade-property.c, gladeui/glade-property-class.c: Applied patch from
Pavel Kostyuchenko to unify duplicate implementation property comparisons (bug 532013)
* gladeui/glade-project.c: Applied patch from Pavel Kostyuchenko to fix project
modified state flag glitches (bug 532017).
* gladeui/glade.h: Applied patch from Andreas Henriksson to fix some compile errors
on ia64 platform (bug 530143).
2008-05-05 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-editor-property.c: Avoid feedback loops when committing properties,
fixes bug 527896.
* src/glade-window.c: Updated copyright dates.
2008-05-01 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-keysyms.c: Removed generated keysyms file.
* plugins/gtk+/glade-accels.c: Removed old modifier and handbuilt keycode
menus and obnoxious comboboxrenderers in favour of one simple accelrenderer.
* gladeui/glade-utils.h, gladeui/glade-builtins.h: Removed unused prototypes
* gladeui/glade-editor.c: Added safety check.
* gladeui/glade-property.c: Dont load virtual properties.
* gladeui/glade-property-class.c: Fixed bug where G_PARAM_SPEC_BOXED was
used to check if the value held a boxed type.
2008-04-17 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-property-class.[ch]: added glade_property_class_compare()
* gladeui/glade-editor-property.c: use new compare function in
glade_editor_property_commit() instead of g_param_values_cmp()
since GBoxed comparison is not well defined.
Fixes bug #528511.
2008-04-16 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget.c: make glade_widget_build_object() do not apply
catalog defaults if the object we are creating is for loading purposes.
2008-04-12 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-editor-property.c: Fixed invisible labels in
the menu editor.
* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-xml-utils.c,
gladeui/glade-utils.c, gladeui/glade-xml-utils.h, gladeui/glade-utils.h,
gladeui/glade-property.c, gladeui/glade-property-class.c,
gladeui/glade-property-class.h, gladeui/glade-project.c, gladeui/glade-project.h:
implemented "factory-stock-id" in the catalog, this allows you to take a resource
image file property formerly hacked as a custom property in libglade, and glade
will generate a hidden icon factory in builder files so that it will be loaded
through the stock system instead, "factory-stock-id" depicts the name of the
stock property of the property-class in question.
2008-04-11 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-property.c:
- Fixed bold modified state for disabled properties.
- Added construct "class" property so that dupping doesnt crash.
* plugins/gtk+/gtk+.xml.in: Made default width/height match
the default-width default-height set for each dialog as reasonable
default values.
2008-04-10 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-palette-item.c, gladeui/glade-palette.c,
gladeui/glade-palette-item.h, gladeui/glade-palette.h:
Now load insensitive when widgets are unsupported, and use
a warning icon when they are deprecated, use tooltips from
glade_project_verify_adaptor ().
* gladeui/glade-app.[ch]: Added glade_app_check_get_project ()
* gladeui/glade-project.c, gladeui/glade-project.h: fix some mistakes,
added translator comments to new strings
* src/glade-window.c: Added padding on top of undocked tools, removed
custom label handling of widget name.
* gladeui/glade-editor-property.c: Adapted and applied Thomas Rydzynski's patch
so that text wraps in property editor (bug 351902)
* gladeui/glade-editor.c: Trash the class entry and put a class header
on the whole editor widget, fixed a bug on my signal disconnections.
2008-04-10 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-editor.c, gladeui/glade-editor.h:
Loaded and watched the new support_warning on GladeWidget
* gladeui/glade-editor-property.c, gladeui/glade-editor-property.h:
Loaded and watched the new support_warning on GladeProperty
* gladeui/glade-widget.c, gladeui/glade-widget.h: Keep a support-warning
property around as metadata updated by GladeProject.
* gladeui/glade-property.c, gladeui/glade-property.h:
Added new support_warning and state properties.
* gladeui/glade-project.c, gladeui/glade-project.h:
Now GladeProject generates strings to show in the normal
UI along with longer style reports, always updates widgets
warning message metadata when they come into the project
or when the format or target versions change.
Preferences dialog is not modal anymore ;-)
* gladeui/glade-signal.c: Removed a bogus return.
2008-04-09 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.5.2. quick bugfix release
* gladeui/glade-widget-adaptor.c: oops, was parsing booleans
as doubles, fixed bugs with builder-unsupported and deprecated.
2008-04-09 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.5.1.
* plugins/gtk+/gtk+.xml.in: Filled in all since, deprecated and
builder-unsupported properties.
* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-widget-adaptor.c,
gladeui/glade-command.c, gladeui/glade-widget-adaptor.h,
gladeui/glade-utils.h, gladeui/glade-catalog.c,
gladeui/glade-catalog.h, gladeui/glade-app.c, gladeui/glade-app.h,
gladeui/glade-property-class.c, gladeui/glade-property-class.h,
gladeui/glade-project.c, gladeui/glade-project.h:
Added versioning support, you can always chose the target version of
your project starting with gtk+ 2.8 - a project preferences dialog has
been added where you can switch your format, switch your target version
and test for incompatabilities. incompatability error dialogs are also
launched on save as. Target versions are saved to the glade file;
TODO: patch GtkBuilder to test the required gtk+ version from
<requires lib="gtk+" version="2.8"> and at least warn, also let
third party widget developers test thier own versions using builder.
* gladeui/glade-xml-utils.h, gladeui/glade-xml-utils.c: routines
for parsing version numbers.
* gladeui/glade-utils.c: glade_util_ui_message() takes a widget to
embed arg now.
* doc/catalogintro.sgml, doc/widgetclasses.sgml, doc/properties.sgml:
Documented newly added catalog tags.
2008-04-08 Tristan Van Berkom <tvb@gnome.org>
* NEWS: Rolling 3.5.0
* src/glade-window.c: Reverted the project format menu from edit
* src/glade-utils.c: Add file format option to "save as" dialog,
also added new filters for .ui files.
2008-04-07 Tristan Van Berkom <tvb@gnome.org>
* autogen.sh: Run gtkdocize with --flavour=no-tmpl
* configure.ac: Require gtk-doc 1.9 and bump to 3.5.0 dev version.
* doc/gladeui-overrides.txt, doc/children.sgml, doc/tmpl/*: Removed unneeded.
* doc/gladeui-docs.sgml, doc/widgetclasses.sgml,
doc/catalogintro.sgml, doc/Makefile.am: Mega docs update, added new
files and completely rediscribed the catalog in its new form.
* gladeui/glade-design-view.c, gladeui/glade-widget.c,
gladeui/glade-widget-adaptor.c, gladeui/glade-command.c,
gladeui/glade-widget-adaptor.h, gladeui/glade-base-editor.c,
gladeui/glade-widget-action.c, gladeui/glade-xml-utils.c,
gladeui/glade-utils.c, gladeui/glade-catalog.c, gladeui/glade-property.c,
gladeui/glade-project.c: Added some description statements to newly
documented files, fixed some warnings in other sources.
2008-04-06 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c: Implemented dual format for atk
properties, afaics accelerators are loaded and saved identically.
* doc/gladeui-sections.txt: Updated with new syms.
2008-04-05 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.[ch], glade-widget-adaptor.c:
Now recurse through the plugin to read and write widget
children, allowiong you to do stuff before or after children
are written/read from the xml file.
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h,
allow the plugin to handle read_child() write_child() (mostly
just to allow you to skip some children like fake AtkObjects,
but can also be used to parse/write packing stuff (i.e. the
<child> tag) in custom ways).
* gladeui/glade-widget.[ch], gladeui/glade-widget-adaptor.c
gladeui/glade-xml-utils.[ch], gladeui/glade-project.c,
gladeui/glade-property.c, gladeui/glade-signal.c,
plugins/gtk+/glade-gtk.c, src/glade-window.c:
Added basic builder support, format can be chosen via a
radiomenuitem in the "Edit" menu, currently supports different
names for the interface and widget tags, and saves special
child widgets accordingly (i.e. notebook tabs and frame labels).
2008-04-04 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-project.c: Resurected <requires> code and
saving the generic comment again, still need to load the
comment.
2008-04-03 Johan Dahlin <jdahlin@async.com.br>
reviewed by: Tristan
* gladeui/glade-project.c:
* gladeui/glade-project.h:
Add file format to GladeProject and public accessors.
2008-04-03 Tristan Van Berkom <tvb@gnome.org>
* glade-widget, glade-property, glade-gtk (plugin),
glade-project, glade-xml-utils... lots.
Implemented saving of properties, signals, atkprops
accelerators: everything is saving properly now !
* plugins/gtk+/glade-gtk.c: Fixed crasher on null string
when parsing modifiers.
2008-04-02 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget-adaptor.[ch]: Added new entry points
to create editor widgets for plugin provided pspecs and also
to create strings based on plugin provided pspec.
Moved all accelerater code out of the core and into the plugin,
still working on loading glade files with the new parser...
* gladeui/glade-gtk.c:
- Implemented loading of accelerators.
- Implemented loading of atk properties (not relations or actions yet...)
- Implemented loading of atk actions now...
- Implemented atk relations
* gladeui/glade-widget-adaptor.c, gladeui/glade-signal.c:
Implemented loading of signals.
* gladeui/glade-property-class.[ch], gladeui/glade-editor.c,
gladeui/glade-property.c, gladeui/glade-widget-adaptor.c:
Removed notion of the GPCType (which differentiated atk props
from normal props and also accel props for various purposes),
now there is a boolean "atk" member that only means to put
these properties in the atk tab of the editor, one day we can
hopefully even remove this.
* gladeui/glade-widget.c: Fixed special-child-type loading (i.e
notebook tabs and frame labels), and removed some obsolete
loading code from the old implementation.
* gladeui/glade-widget.[ch], gladeui/glade-project.c:
Basic glade file saving framework in place, currently saves
widgets, thier children and class types and widget names.
2008-04-01 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.[ch], gladeui/glade-widget-adaptor.[ch],
various files: Implemented loading and building of the widget
hierarchy, currently only types and widget names, no properties
or packing properties - but internal children and placeholders
are loaded correctly.
* gladeui/glade-widget.[ch], gladeui/glade-widget-adaptor.c,
gladeui/glade-property.[ch]: Implemented loading of packing
properties and normal properties.
2008-03-30 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-parser.[ch]
* lots of files: removed references to load/save,
disabled load/save - clearing the way for builder support.
2008-03-10 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.4.3
* plugins/gtk+/gtk+.xml.in: Backing out GtkScaleButton
and GtkVolumeButton as they introduce strings.
* gladeui/glade-app.c: Now if an empty project is loaded
and anothther project with widgets is loaded, they will
also be shown at load time (first widget in the layout
gets autoloaded).
* plugins/gtk+/gtk+.xml.in:
- Reintroducing GtkScaleButton and GtkVolumeButton in trunk.
- Reintroducing icon-theme dialog in trunk.
* gladeui/glade-id-allocator.c: Avoid crashing on id 0 (bug 442860)
* gladeui/glade-widget.c, gladeui/glade-project.c: Moved
widget name policing to gladeproject.
* gladeui/glade-editor.c: Dont commit name values if name
already exists in the project.
2008-03-09 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.4.2
* plugins/gtk+/glade-gtk.c:
- Fixed a crash detail bug 493418.
- Reset "events" property for newly created widgets
(workaround for bug 472555).
- Added GtkVolumeButton and GtkScaleButton widgets (Ross Burton)
- Add/Remove parent doesnt dup widgets anymore (bug 517388)er
* plugins/gnome/glade-gnome.c: Fixed some crashes on
gnome druid page properties (bug 511651).
* gladeui/glade-editor-property.c:
- added return_if_fail guard as per bug 479468.
- Fixed crasher bug 506713.
- Reverted to real time string editing and not using
focus-out handlers anymore.
- Fixed treeview issues with objects dialog, fixing the
atk relations bug 512081.
* gladeui/glade-base-editor.c: Made sure idle handlers werent
updating treeviews after the object is destroyed (also bug 506713).
* gladeui/glade-app.c: When adding a first project, display the
first toplevel in the design layout.
* gladeui/glade-widget.c: Handle glade_widget_show() with unrealized
design-view, connect-after the design-view's realize and retry.
2008-02-16 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/gtk+.xml.in: ignore GtkWindow::accept-focus.
Fixes bug #accept-focus "crash, GtkWindow, Accept focus"
2008-01-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-window.c:
o set palette a default size
o do not set desing/editor paned position since by default the window is
maximized.
2008-01-15 Ivan Baldo <ibaldo@adinet.com.uy>
* gladeui/glade-palette-expander.c: fixed bug #495853
"palette takes up too much space"
2008-01-15 Yang Hong <hongyang@redflag-linux.com>
* gladeui/glade-project.c: fixed bug #504603
"crash while open .glade file from command line arg"
2008-01-15 Cosimo Cecchi <anarki@lilik.it>
* gladeui/glade-editor.c: Fixed bug #388869
"Property edits dropped due to bad focus-event handling"
2008-01-13 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-project.c, src/glade-window.c: Fix a few i18n fumbles (#509128).
2007-12-20 Juan Pablo Ugarte juanpablougarte@gmail.com>
* plugins/gtk+/gtk+.xml.in:
updated displayable values for GtkButtonBox::layout-style
added displayable values for GtkEntry::shadow-type
* gladeui/glade-widget-adaptor.c: fixed bug #477025 "missing icones"
create_icon_name_for_adaptor() renamed to create_icon_name_for_adaptor()
2007-12-19 Christian Persch <chpe@gnome.org>
* configure.ac:
* gladeui/glade-app.c: (glade_app_refresh_undo_redo_button):
* gladeui/glade-base-editor.c: (glade_base_editor_add_properties):
* gladeui/glade-editor-property.c:
(glade_editor_property_tooltip_cb),
(glade_editor_property_sensitivity_cb),
(glade_editor_property_create_info_button),
(glade_editor_property_constructor),
(glade_editor_property_finalize),
(glade_editor_property_load_common),
(glade_eprop_text_show_i18n_dialog),
(glade_eprop_adjustment_table_add_label):
* gladeui/glade-editor-property.h:
* gladeui/glade-editor.c: (glade_editor_notebook_page),
(glade_editor_create_info_button),
(glade_editor_create_reset_button),
(glade_editor_table_append_item):
* gladeui/glade-palette.c: (glade_palette_dispose),
(glade_palette_new_item), (glade_palette_new_item_group),
(glade_palette_update_appearance), (glade_palette_init):
* gladeui/glade-project.c: (glade_project_dispose),
(glade_project_init):
* gladeui/glade-project.h:
* gladeui/glade-property-class.c:
(glade_property_class_new_from_spec):
* gladeui/glade-utils.c:
* gladeui/glade-widget.c: (expose_draw_selection):
* plugins/gtk+/glade-gtk.c: (glade_gtk_widget_set_property),
(glade_gtk_widget_get_property):
* src/glade-window.c: (format_project_list_item_tooltip),
(refresh_projects_list_menu), (glade_window_init): Port to gtk 2.12
tooltips API. Bug #500947. Remove the unnecessary event boxes on the property
labels, part of bug #490157.
2007-12-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* NEWS, configure.ac: Rolling 3.4.1
2007-12-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: fixed bug #503955
'Activating "Add Parent" on an internal widget component causes crash'
2007-12-10 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-app.c (glade_app_init): Fix icon theme path for win32
(#469854, Martin Schlemmer).
* gladeui/glade.h: Add missing headers to glade.h (#499623, Josselin Mouette).
2007-12-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: fixed bug introduced while disabling GtkImage::stock,
it should be re enabled when going back to stock mode :)
2007-12-02 Christian Persch <chpe@gnome.org>
* src/glade-window.c: (menu_item_selected_cb),
(ui_connect_proxy_cb): Use gtk_widget_get_action. Bug #500943.
2007-12-02 Christian Persch <chpe@gnome.org>
* src/main.c: (main): Use g_option_context_set_translation domain, and
use N_() when setting the summary. Bug #500940.
2007-11-09 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: commited J. Ali Harlow <ali@avrc.city.ac.uk> patch. (fixes #495057)
o glade_gtk_assistant_set_child_property() return if the current page is the same as position.
2007-10-26 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: added glade_gtk_radio_button_set_property() to avoid bogus warning
* plugins/gtk+/gtk+.xml.in: added GtkRadioButton set-property-function
2007-10-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget.c: fixed variable redeclaration in glade_widget_embed() bug #488977
2007-10-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget.c: fixed bug #480495, if the widget is realized we just call
gtk_widget_unrealize()
2007-10-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: disable GtkImage::stock when edit type is not in stock mode.
This fixs a bug pasting a filename GtkImage.
* gladeui/glade-property-class.c: glade_property_class_make_object_from_string() now returns NULL
for pixbuf props on an empty string, so you can set up pixbuf props back to NULL.
* gladeui/glade-widget.c: almost fixed bug #480495, it does not crash anymore.
It refuses to reparent a widget if it cant embed it.
2007-09-17 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.4.0
2007-08-21 Jens Granseuer <jensgr@gmx.net>
* gladeui/glade-editor-property.c: fixed build with gcc 2.x (again) (bug 469357).
2007-08-21 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.3.4
2007-08-21 Tristan Van Berkom <tvb@gnome.org>
* data/icons/drag-resize.png, data/icons/Makefile.am: new icon for the drag/resize button.
* src/glade-window.c: "s/Select Widgets/Select/" on the selector button cause
it was taking too much space that way. (also used the new icon for drag/resize).
2007-08-20 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Unmarked some properties to be "themed-icon",
still dont have permission to include the themed icon chooser dialog
in 3.4.x.
2007-08-14 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Marked some properties to be "themed-icon"
* gladeui/glade-xml-utils.h, gladeui/glade-property-class.[ch],
gladeui/glade-editor-property.c: Added a tag to mark string properties
that are "themed-icon", use the themed icon chooser for those properties.
2007-08-14 Vincent Geddes <vgeddes@gnome.org>
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Made toolbar-style
optional & save always (plus it responds well in the UI) (bug 382785).
* gladeui/glade-name-icon-chooser.[ch], gladeui/icon-naming-spec.c: Added
themed icon chooser (bug 359640).
2007-08-14 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.c: When building objects based on template params,
dont assign properties that are disabled by GladeProperty.
2007-08-08 Yevgen Muntyan <muntyan@tamu.edu>
* gladeui/glade-builtins.c, gladeui/glade-design-layout.c:
Fixed some funcs that should be static
* src/glade-window.c: Now saves/restores session data about docking
attached state & undocked window sizes/positions.
2007-08-08 Tristan Van Berkom <tvb@gnome.org>
* MAINTAINERS: adjusted for new standard format for gnome modules
* gladeui/glade-signal-editor.c: Changed "<Type the signal's handler here>" and
"<Type the object's name here>" for "<Type here>" so that the signal editor doesnt
take quite as much space anymore (bug 464505).
* src/glade-window.c: Revived accelerators on undocked windows.
2007-08-07 Tristan Van Berkom <tvb@gnome.org>
* configure.ac: Removed bogus output about python bindings.
* gladeui/glade-editor-property.[ch]: glade_editor_property_new_from_widget() added
"packing" argument.
* gladeui/glade-base-editor.[ch]: Fixed va_start() without va_end() in
glade_base_editor_add_properties(), also added "packing" argument to
glade_base_editor_add_properties().
* plugins/gtk+/glade-gtk.c: Added "expand" and "homogeneous" packing properties
to toolbar children in the toolbar editor (bug 429409).
2007-08-06 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Disabled the "submenu" property of GtkMenuItem
(setting this property to its default NULL value obviously kills menus, bug 460022)
2007-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* gladeui/glade-widget-action.c, gladeui/glade-project.c: Fix minor
typos in messages.
2007-08-01 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c: Made glade window not maximized by default (Bug 462111, by
request of Frédéric Bellaiche), seems most apps arent maximized by default on
startup anyway.
2007-07-31 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c: Fixed compilation with gcc 2.95 (Bug 461923, fix by Jens Granseuer)
* gladeui/glade-builtins.c: Sort the stock icon list alphabetically by locale
(bug 454003, fix by Olivier Delhomme)
2007-07-30 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* doc/tmpl/*.sgml: removed every extra documentation, we keep them empty just
because otherwise the build fails.
* doc/gladeui-docs.sgml, doc/gladeui-sections.txt, doc/gladeui.types: updated
(GladeWidgetClass replaced by GladeWidgetAdaptor)
* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-parameter.c,
gladeui/glade-widget.c, gladeui/glade-fixed.c, gladeui/glade-clipboard.c,
gladeui/glade-inspector.[ch], gladeui/glade-widget-adaptor.[ch], gladeui/glade-command.c,
gladeui/glade-command.h, gladeui/glade-base-editor.[ch], gladeui/glade-palette.[ch],
gladeui/glade-utils.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c,
gladeui/glade-placeholder.c, gladeui/glade-property.c, gladeui/glade-property-class.c,
gladeui/glade-project.c, gladeui/glade-clipboard-view.c:
Added section's short and long description. (moved from tmpl)
2006-07-30 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.3.3
2007-07-25 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c:
- Make undoing increasing notebook size work properly (needed to destroy
the added tab label project widget and remove it from the project).
- Disable Add/Remove parent actions on GtkToolItem, GtkMenu and GtkMenuItem.
* plugins/gtk+/gtk+.xml.in: Set "label-xalign" of GtkFrame to be "save-always"
(to counter the evil effects of gtk+ bug 460272, which made it impossible to
set the label-xalign to 0.5).
* gladeui/glade-catalog.c: Loop through user defined search paths and load
catalogs from there first.
* gladeui/glade-utils.c: Loop through user defined search paths for modules,
then fallback on the compile time default, then fallback on default system
library paths.
* gladeui/glade-app.h: Define env variables GLADE_MODULE_PATH & GLADE_CATALOG_PATH
* gladeui/glade-xml-utils.h: Added GLADE_TAG_PARENT
* gladeui/glade-widget-adaptor.c: Made it possible to declare a widget class in the
catalog without giving a real type, only automatically derive from a type specified
in the catalog (refit Muntyan's patch from bug 352714).
* gladeui/glade-popup.c: Fixed placeholder menu to also include actions of the
parent widget.
2007-07-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c: Set custom label on the property editor sensitive/insensitive
according to whether there is a project loaded or not
* gladeui/glade-app.c: Unset editor widget and set insensitive when no project is
loaded (fixes segfaults from editing widgets that dont exist when project is
closed, also looks consistant with the rest of the insensitive UI with no project
loaded).
* gladeui/glade-utils.c: Made glade_util_queue_draw_nodes --> glade_util_draw_selection_nodes()
(without the idle timeout now)
* gladeui/glade-widget.c, gladeui/glade-placeholder.c:
- Use glade_util_draw_selection_nodes(), (selection wasnt being drawn on some widgets,
now it's working and there's less "flicker" when drag/resizing widgets too).
- Now child menu items are selectable (fixed event handling for widgets that are
not in the logical hierarchy)
* gladeui/glade-project.c: Dont add objects to a project that already contains the said object.
* plugins/gtk+/glade-gtk.c:
- Add tab labels by default to notebook pages (bug 345438)
- Dont transfer "transfer-on-paste" properties to newly added placeholders
in glade_gtk_container_replace_child (fixes bug 459953)
2007-07-23 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.3.2
2007-07-23 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.[ch]:
- Adding convenience funcs that help with debugging property values in plugins:
glade_widget_property_string(), glade_widget_pack_property_string().
- Fixed order in which we setup packing actions when adding/replacing widgets in
containers and also commented about how packing properties are different in this
regard (this change allowed me to glade_widget_remove_pack_action() from the
backend's replace_child/add_child handlers).
* gladeui/glade-popup.c: Added parent options in placeholder context menus.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
- Reset label/markup/use-underline properties at realize time, this
fixes load time glitches with markup and mnemonics (bug 396446).
- Added a "Remove Slot" packing action to delete placeholders from GtkBox (bug 387963)
2007-07-20 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-design-layout.c:
- Use cairo instead of GdkGC to draw frame.
- Draw slightly darker border to ensure border is visible on some themes.
2007-07-18 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-command.[ch]:
fixed memory leaks of description strings in usage of glade_command_push_group()
* gladeui/glade-widget.[ch]: Added convenience apis to set sensitivity on
GladeWidgetActions.
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.c: Added
deep_post_create() vfunc, in this one you must always chain up to the parent.
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added "Add/Remove" parent
feature (bug 343786), implemented types: Alignment, Viewport, Event Box, Frame,
Aspect Frame, Scrolled Window, Expander, Table, Horizontal Box, Vertical Box,
Horizontal Panes, Vertical Panes
2007-07-18 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-design-layout.h: Make header file look pretty.
* gladeui/glade-design-layout.c: Do not override GtkWidget::event().
Ensures that child widgets only receive events when necessary.
* src/glade-window.c: Rename "Help" menu item to "Contents" (as per convention).
* src/glade-window.c: Add About dialog credits for artists and documenters.
2007-07-17 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-adaptor.c: translate action name in gwa_action_update_from_node()
* gladeui/glade-property-class.c: simplified displayable value message in
gpc_get_displayable_values_from_node() closes #448915
2007-07-17 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget-adaptor.c: untranslate the "half translated" warning
message in gwa_displayable_values_check().
* gladeui/glade-app.[ch]: Removed glade_app_widget_event() and the "widget-event"
signal
* gladeui/glade-design-layout.c: Expose glade_design_layout_widget_event() to
be used internally by GladeWidget (no longer listening to "widget-event" signal
on glade-app).
* gladeui/glade-widget.c: glade_widget_event_private() Find the parenting
GladeDesignLayout and dispatch the event through glade_design_layout_widget_event()
(this fixes multiple projects recieving the same events, bug 456013).
* gladeui/glade-fixed.c: Dont connect event handlers to child objects of fixed
containers that are not widgets.
2007-07-16 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c: Now undocked windows can be redocked by hitting
the close button and UI tool components dont sport redundant indicator labels.
2007-07-16 Gabor Kelemen <kelemeng@gnome.hu>
* po/POTFILES.in: Added missing files (bug 457222)
* src/main.c: Added some missing translatable strings (bug 457224)
2007-07-12 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-widget.c
gladeui/glade-design-layout.c
gladeui/glade-placeholder.c
gladeui/glade-placeholder.h: Update to use G_DEFINE_TYPE macros. Removed
the manual peeks to get the parent class.
2007-07-12 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-adaptor.c: added gwa_displayable_values_check() and use it to check
for displayable values in enums and flags properties in glade_widget_adaptor_from_catalog()
this way we can check every properties not only the ones that are explicited in the catalog.
* gladeui/glade-property-class.c: removed displayable values check from
glade_property_class_update_from_node()
* plugins/gtk+/gtk+.xml.in: added displayable values for
GtkToolbar::icon-size
GtkLabel::wrap-mode
GtkIconView::selection-mode, orientation
GtkRange::lower-stepper-sensitivity, upper-stepper-sensitivity
GtkRuler::metric
GtkList::selection-mode
GtkCList::shadow-type, selection-mode, sort-type
2007-07-11 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c: Implemented docking view menu.
2007-07-11 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-app.c (glade_app_add_project): Ref project when
adding it to the app.
* gladeui/glade-widget-adaptor.h: s/GLADE_CREATE_REASON/GLADE_TYPE_CREATE_REASON/.
2007-07-10 Juan Pablo Ugarte <juanpablougarte@gmail.com>
Removed bindings framework since now all binding work will be done
in the branch until we have a proper framework and a full implementation (python)
2007-07-10 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-project: fix bug with regards to setting the
project as unmodified when undoing the command that caused
the first unsaved command.
2007-07-09 Vincent Geddes <vgeddes@gnome.org>
* configure.ac, src/main.c: Initialize threading system (#406039).
* gladeui/glade-project.c: Remove user name and host
from comment in glade file (#453174).
2007-07-07 Vincent Geddes <vgeddes@gnome.org>
* configure.ac: Increment version to 3.3.2 as we modified API
since the last public release. Fixes Anjuta build.
2007-07-06 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-property.c: skip properties that are not readable in
glade_property_load_impl() (fixes #453107 and #453111)
* plugins/gtk+/gtk+.xml.in: added default value to GtkLinkButton::uri property
fixes #453110
2007-07-04 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-property-class.c
(glade_property_class_update_from_node), (gpc_get_displayable_values_from_node):
Fix some mishandled dgettext operations (#453105).
2007-07-03 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-binding.c: Upgrade to g_slice_new().
* bindings/python/glade-python.c: Run garbage collector before finalizing
interpreter. Use Py_InitializeEx() instead of Py_Initialize() (#453104).
* gladeui/glade-app.h, gladeui/glade-app.c: New method glade_app_new().
* src/glade-project-window.h, src/glade-project-window.c: Renamed
to glade-window.h and glade-window.c respectively. GladeWindow now
subclasses GtkWindow instead of GladeApp (#449928).
2007-07-03 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-adaptor.[ch]: set glade_widget_adaptor_child_verify_property()
value parameter as constant.
* gladeui/glade-property.c: added packing property verify check in
glade_property_set_value_impl().
* plugins/gtk+/gtk+.xml.in: fixed verify-function and child-verify-function tags
for GtkBox, GtkTable, GtkNotebook and GtkAssistant classes. fixes #453253
2007-07-02 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-catalog.c, gladeui/glade-widget-adaptor.c: Properly
handle dgettext() operations (#453105, Christian Persch).
* gladeui/glade-binding.c (glade_binding_load_all): Close GDir when
finished reading.
2007-07-01 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-catalog.h, gladeui/glade-catalog.c:
Add glade_catalog_destroy_all(). Use g_slice_new() for mem allocation.
* gladeui/glade-app.c: Free catalogs in finalize.
2007-06-29 Vincent Geddes <vgeddes@gnome.org>
* gladeui/glade-project.c, gladeui/glade-project.h: Rename
glade_project_get_has_unsaved_changes() to glade_project_get_modified().
Set "modified" to FALSE if we undo the command that caused the first
unsaved modification in a project (#392324).
* src/glade-project-window.c: Update for API changes in GladeProject.
2007-06-28 Vincent Geddes <vgeddes@gnome.org>
* gladeui/fixed_bg.xpm, gladeui/Makefile.am,
plugins/gtk+/Makefile.am: Moved gladeui/fixed_bg.xpm to plugins/gtk+/fixed-bg.xpm.
The graphic is only used by the GTK+ plugin.
* gladeui/glade-editor.c: HIGify query dialog.
* plugins/gtk+/Makefile.am, plugins/gnome/Makefile.am: Set log domains
"GladeUI-GTK" and "GladeUI-GNOME" respectively.
* gladeui/glade-palette.h, gladeui/glade-palette-item.h: Move GladeItemAppearance
enum from glade-palette-item.h to glade-palette.h (so it is visible in the docs).
* src/glade-project-window.c (check_reload_project): Set alternative button order
on message dialog.
* src/glade-project-window.c (glade_project_window_open_project), (switch_project),
(check_reload_project), (open_project): Attempt to reload an open project if
the user tries to open it again (#450483).
2007-06-27 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-popup.[ch]
- added packing actions to placeholders
* gladeui/glade-widget-action.[ch]: added "important" flag to GWActionClass
* gladeui/glade-widget-adaptor.[ch]:
- parse important tag in gwa_action_update_from_node()
- added new "important" parameter to glade_widget_adaptor_pack_action_add() and
glade_widget_adaptor_action_add()
* gladeui/glade-xml-utils.h: addded GLADE_TAG_IMPORTANT tag
* plugins/gtk+/gtk+.xml.in: marked launch_editor actions as important
* gladeui/glade-inspector.c: make inspector popup include only normal actions.
* src/glade-project-window.c: added important actions to the toolbar.
2007-06-26 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-property-class.c: print a message for missing displayable values in
glade_property_class_update_from_node() and gpc_get_displayable_values_from_node()
* plugins/gtk+/glade-gtk.c: removed inline displayable values in
glade_gtk_image_type_get_type() and glade_gtk_button_type_get_type()
* plugins/gtk+/gtk+.xml.in: added missing displayable values in GtkToolButton::glade-type,
GtkButton::glade-type, GtkImage::glade-type and GtkArrow::arrow-type
2007-06-26 Vincent Geddes <vgeddes@gnome.org>
* src/Makefile.am
configure.ac
gladeui/Makefile.am: Cygwin build fixes. Only apply "-mwindows" ld flag
if we are in unstable development.
* configure.ac, plugins/gtk+/Makefile.am, plugins/gtk+/glade-gtk.h,
plugins/gnome/glade-gnome.h, plugins/gnome/Makefile.am: Substitute PLUGINS_WARN_CFLAGS
as the warning flags for compiling plugins. Don't use the warning flags
defined by GNOME_COMPILE_WARNINGS. Delete plugins/gnome/glade-gnome.h.
2007-06-24 Vincent Geddes <vgeddes@gnome.org>
* gladeui/Makefile.am: Set log domain for libgladeui to "GladeUI".
2007-06-23 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: glade_gtk_tool_button_set_type() return if loading
fixes #450177. glade_gtk_tool_button_set_icon() show image widget.
2007-06-22 Vincent Geddes <vgeddes@gnome.org>
* plugins/gnome/glade-gnome.h,
plugins/gtk+/glade-gtk.c
plugins/gtk+/glade-gtk.h
plugins/gtk+/Makefile.am,
plugins/gnome/glade-gnome.c,
plugins/gnome/Makefile.am,
src/glade-project-window.c,
gladeui/glade-editor-property.c,
gladeui/glade-parameter.c,
gladeui/glade-widget.c,
gladeui/glade-command.c,
gladeui/glade-palette.c,
gladeui/glade-utils.c,
gladeui/glade-accumulators.c,
gladeui/glade-palette.h,
gladeui/glade-binding.h,
gladeui/glade-app.c,
gladeui/glade-property.c,
gladeui/glade-builtins.c,
gladeui/glade-project.c,
gladeui/Makefile.am: Fix "missing prototype" errors reported by
gcc due to increased warning level (-Wmissing-prototypes). Added
glade-gnome.h with function prototypes as well.
* src/glade-project-window.c, src/glade-project-window.h: Beautify
header file, add tooltips for undo history menus.
2007-06-21 Christian Persch <chpe@gnome.org>
* bindings/python/Makefile.am:
* configure.ac:
* gladeui/Makefile.am:
* plugins/gnome/Makefile.am:
* plugins/gtk+/Makefile.am:
* src/Makefile.am: Use gnome-common macro for WARN_CFLAGS. Bug
#399134.
2007-06-21 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups.
2007-06-20 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c: Remember notebook page when
reconstructing (Fixes bug 394382)
* src/glade-project-window.c: Refresh active GladeDesignView upon
update_ui calls (fixes occasional outline glitch in the design-view).
* doc/gladeui.types: Removed glade_project_view_get_type added
glade_inspector_get_type
2007-06-20 Vincent Geddes <vincent.geddes@gmail.com>
* doc/gladeui-docs.sgml, doc/gladeui.types, doc/gladeui-sections.txt,
doc/tmpl/glade-inspector.sgml: Set up documentation for GladeInspector.
* po/POTFILES.in: Add glade-inspector.c
* gladeui/glade-inspector.[ch]: Add convenience function
`glade_inspector_new_with_project()'.
2007-06-20 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-inspector.c: added extra check in project_remove_widget_cb()
iter could be NULL!
2007-06-20 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-inspector.[ch]: New Inspector implementation.
- The Inspector no longer records session data.
- GtkTreeModel of inspector is now synchronised with project data
in an incremental fashion, instead of being totally rebuilt on changes.
* gladeui/glade-project-view.[ch]: Removed.
* gladeui/glade-app.[ch]: Remove glade_app_add_project_view(). Inspectors
are now managed by the frontend.
* src/glade-project-window: A unique GladeInspector is associated with
each open project. These inspectors are stored in a GtkNotebook.
2007-06-19 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Added launch_editor action for toolbars.
* gladeui/glade-project.[ch]: added glade_project_undo_items() and
glade_project_redo_items().
* src/glade-project-window.c:
- Made Undo/Redo buttons use a GtkMenuToolButton and include
undo/redo history in those buttons
- Added Drag/Resize button in the toolbar
* gladeui/glade-design-layout.c: More reliable pointer handling
* gladeui/glade-app.c: New pointer-mode property
* gladeui/glade-fixed.c, gladeui/glade-placeholder.c, gladeui/glade-palette.c:
Use pointer-mode to set pointer interaction mode
* gladeui/glade-builtins.c: Added trailing end marker on the stock list
enum paramspec.
2007-06-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* bindings/python/glade-python-gwa.defs: deleted launch_editor wrapper.
* bindings/python/glade-python-gwa.c: updated
2007-06-18 Tristan Van Berkom <tvb@gnome.org>
* NEWS, configure.ac: Rolling 3.3.1
* gladeui/plugins/gtk+/glade-gtk.c: Corrected undo item for
"remove page" action to say "Removed page from notebook1".
2007-06-17 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-editor-property.c: Ensure parameter list passed to
gtk_dialog_set_alternative_button_order() is terminated (#424509).
* gladeui/glade-command.c: Make strings more translatable (#419979).
* gladeui/glade-property-class.c, plugins/gtk+/gtk+.xml.in,
plugins/gtk+/glade-gtk.c: Fix spelling typos, and clear up a
translation ambiguity (#429736).
* plugins/gtk+/gtk+.xml.in: More descriptive displayable values for the
"toolbar-style" property. We now have "Icons only", "Text only",
"Text below icons, "Text beside icons".
2007-06-13 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: glade_gtk_image_set_stock() property make reference
to GLADE_TYPE_STOCK_IMAGE not GLADE_TYPE_STOCK! fixes bug #444959
(yes I live in UTC -3 you insensitive... heh)
2007-06-14 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-app.c: Change GtkMessageType of _warning_ dialogs from
GTK_MESSAGE_INFO to GTK_MESSAGE_WARNING.
* gladeui/glade-utils.c, src/glade-project-window.c: Fix and improve URL
launching on win32.
2007-06-13 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-adaptor.c: added some extra checks in
glade_widget_adaptor_action_add_real()
* plugins/gtk+/glade-gtk.c: added new actions support code
- glade_gtk_box_notebook_child_insert_action() renamed to
glade_gtk_box_notebook_child_insert_remove_action()
- glade_gtk_table_child_insert_action() renamed to
glade_gtk_table_child_insert_remove_action()
* plugins/gtk+/gtk+.xml.in: added new actions
- GtkTable remove_row and remove_column
- GtkNotebook remove_page
2007-06-13 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-command.c:
- Fixed cut/paste inside notebooks (widgets wanted to stay on the same page they
were cut from)
- Fixed special-child-type handling, dont stomp on the special child type for a
delete/undo combination (a tab widget deleted and brought back was showing up
in the page).
2007-06-13 Vincent Geddes <vincent.geddes@gmail.com>
* plugins/gtk+/gtk+.xml.in: HIG: Use "Edit.." instead of "Edit Menu", and so on.
* configure.ac: Calculate libtool CURRENT-minus-AGE value.
* gladeui/gladeui.rc.in: Set the DLL name correctly.
2007-06-10 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-binding.c: Remove invalid warning. It is not
required that the 'bindings' directory exists.
* Makefile.am: Remove 'm4' from EXTRA_DIST. m4 files are included
automatically (#445028).
2007-06-06 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-builtins.c: in list_stock_items() "gtk-" prefix must be prepended just once.
otherwise gtk items gets listed twice!
* gladeui/glade-placeholder.[ch]: added packing action list to GladePlaceholder
* gladeui/glade-popup.c: added packing actions to placeholder popup
* gladeui/glade-widget-adaptor.[ch]: added glade_widget_adaptor_pack_actions_new ()
* gladeui/glade-widget.c: use new function glade_widget_adaptor_pack_actions_new () in
glade_widget_set_packing_actions()
* plugins/gtk+/glade-gtk.c: take into acount placeholders get paking actions
glade_gtk_box_notebook_child_insert_action() and glade_gtk_table_child_insert_action() fixed.
* gladeui/glade-app.[ch], gladeui/Makefile.am: removed every reference to
binding script directory. (bug #444605)
2006-06-06 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-id-allocator.c: Fixed C89 compile (bug 444045, fix by Jens Granseuer)
2007-06-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/gtk+.xml.in: Added GtkNotebook child packing actions (finally fixes #438881)
* plugins/gtk+/glade-gtk.c: added glade_gtk_notebook_child_action_activate ()
2007-06-04 Tristan Van Berkom <tvb@gnome.org>
* configure.ac, NEWS: Rolling 3.3.0
2007-05-31 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-popup.c: added packing actions to glade_popup_action_populate_menu()
* gladeui/glade-widget-action.c: fixed a couple of typos in glade_widget_action_constructor()
* gladeui/glade-widget-adaptor.[ch]:
- Added packing actions, just like properties the action tag should be inside an actions or
packing-actions tag, also you can put an action tag inside other action tag :p
- added GladeChildActionActivatedFunc child_action_activate to GladeWidgetAdaptorClass
- added packing_actions list to GladeWidgetAdaptor
- added new functions:
glade_widget_adaptor_pack_action_add(), glade_widget_adaptor_pack_action_remove()
and glade_widget_adaptor_child_action_activate()
* gladeui/glade-widget.[ch]:
- added packing_actions list to GladeWidget
- set packing actions in glade_widget_set_parent()
- added glade_widget_get_pack_action() and glade_widget_remove_pack_action()
* gladeui/glade-xml-utils.h:
- new tags GLADE_TAG_CHILD_ACTION_ACTIVATE_FUNCTION, GLADE_TAG_ACTIONS
and GLADE_TAG_PACKING_ACTIONS.
- removed unused tag GLADE_TAG_ACTION_GROUP
* plugins/gtk+/gtk+.xml.in: Added a couple of child packing actions (fixes #438881)
- GtkBox: insert_before and insert_after
- GtkTable: insert_row/after, insert_row/before, insert_column/after and insert_column/before
* plugins/gtk+/glade-gtk.c: added child-action-activate-function functions
glade_gtk_box_child_action_activate () and glade_gtk_table_child_action_activate()
2007-05-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-action.[ch]:
- memory leak fixed in glade_widget_action_class_clone()
- glade_widget_action_set_sensitive() declared and used in
gobject set_property() method.
- GladeWidgetAction "klass" property renamed to "class"
* gladeui/glade-widget.c:
- fixed check in glade_widget_get_action()
- adapted to reflect GladeWidgetAction property rename.
2007-05-23 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/Makefile.am: added gladeui/glade-widget-action.[ch]
* gladeui/glade-popup.[ch]:
- added glade_popup_action_populate_menu()
- adapted popup code to reflect action changes.
* gladeui/glade-widget-action.[ch]: GladeWidgetAction GObject sources.
* gladeui/glade-widget-adaptor.[ch]:
- action-activated signal removed
- added GladeActionActivateFunc
- added glade_widget_adaptor_action_add() and glade_widget_adaptor_action_remove()
- glade_widget_adaptor_action_activate() reworked.
- load symbol and other catalog stuff in gwa_derived_class_init()
- added the posibility to override GObject constructor from the catalog.
This is a good place to add/remove actions, use GWA_GET_OCLASS() to chain up.
* gladeui/glade-widget.[ch]:
- removed action-activated signal
- added glade_widget_get_action (), glade_widget_remove_action() and
glade_widget_create_action_menu()
* gladeui/glade-xml-utils.h: added GLADE_TAG_ACTION_ACTIVATE_FUNCTION and
GLADE_TAG_CONSTRUCTOR_FUNCTION tags
* plugins/gtk+/glade-gtk.c:
- added glade_gtk_menu_shell_action_activate() glade_gtk_menu_item_action_activate()
and glade_gtk_toolbar_action_activate()
- removed glade_gtk_menu_post_create() and glade_gtk_menu_launch_editor_action()
* plugins/gtk+/gtk+.xml.in:
- glade_gtk_menu_post_create() removed
- added action-activate-function for MenuShell MenuItem and Toolbar.
2007-05-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* Patch reaplied with the missing '}' :S (bug 435912)
2007-05-18 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget-adaptor.[ch]: Added glade_widget_adaptor_from_pspec()
and made glade_widget_adaptor_from_pclass() always return the owning
adaptor and not the adaptor for the class which the property was originally
created for.
* gladeui/glade-editor.[ch]: Removed some deadcode
* gladeui/glade-editor-property.c: Use glade_widget_adaptor_from_pspec()
where appropriate (Fixing bug 423425)
2007-05-18 Tristan Van Berkom <tvb@gnome.org>
* Reverting Juan's last fix for bug 435912 since it broke the build.
2007-05-16 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-adaptor.[ch]: fixed bogus type punned warnings adding a
local variable in gwa_extend_with_node_load_sym() as pointed by galtgendo@o2.pl
(bug 435912)
* gladeui/glade-xml-utils.[ch]: glade_xml_load_sym_from_node() now returns
wheater or not the symbol was found.
2007-05-16 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Set "response-id" property to be "save-always" fixing
bug 410272.
2007-05-09 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Set "resize" and "shrink" properties to be "save-always"
since gtkpaned.c does some hardcoded stuff when adding widgets. Fixes bug 364215.
2007-05-09 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch], gladeui/glade-editor.c,
gladeui/glade-xml-utils.h:
Removed notion of custom widget editors.
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: removed custom editor hooks,
implemented menu editor via actions only (toolbar editor temporarily disabled).
2007-05-08 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* bindings/python/glade-python.c, gladeui/glade-binding.c,
gladeui/glade-binding.h: Removed GladeBindingScript.
* gladeui/glade-property-class.c, gladeui/glade-property-class.h:
added save_always member in GladePropertyClass.
* gladeui/glade-property.c: always save if class or property save_always is true.
* gladeui/glade-xml-utils.h: added GLADE_TAG_SAVE_ALWAYS tag.
* plugins/gtk+/glade-gtk.c: removed, now unnecesary, call to
glade_widget_property_set_save_always() in glade_gtk_dialog_post_create()
* plugins/gtk+/gtk+.xml.in: set save-always true in GtkDialog's "type-hint" and
GtkScrolledWindow's "can-focus" properties..
2007-05-04 Vincent Geddes <vincent.geddes@gmail.com>
* doc/tmpl/glade-project.sgml, doc/tmpl/glade-app.sgml,
doc/tmpl/glade-widget.sgml, doc/tmpl/glade-property.sgml,
doc/tmpl/glade-widget-class.sgml, doc/tmpl/glade-fixed.sgml
doc/tmpl/glade-utils.sgml: Update documentation templates.
2007-05-02 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/gtk+.xml.in:
- diabled "has-separator" property in GtkColorSelectionDialog,
GtkFontSelectionDialog and GtkInputDialog to avoid a gtk warning.
- GtkComboBox "model" property disabled.
* plugins/gtk+/glade-gtk.c:
- Make every GtkInputDialog's internal GtkOptionMenu insensitive.
This is a workaround for bug #433975
- Warning fixed in glade_gtk_paned_set_child_property() and
glade_gtk_text_view_post_create()
2007-05-02 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-popup.[ch], gladeui/glade-widget.c, gladeui/glade-project-view.c:
Removed submenus for the ancestry since Vincent did that magic to the project view,
all is cleaner now.
* gladeui/glade-widget-adaptor.c: Removed #include "glade-binding.h" and
all the scripting crap that went with it.
2007-05-01 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-project-view.c: Expand and scroll to selection. Fixes #392225.
2007-05-01 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.[ch]: Added 'exact' argument to glade_widget_dup() and
added glade_widget_copy_signals()
* gladeui/glade-command.c: dup the widget "exactly" when pasting widgets that
were cut (not copied), fixing bug 432519
2007-04-26 Jeff Westerinen <jeff.westerinen@access-company.com>
* plugins/gtk+/glade-gtk.c:
- added a general launch_editor action signal handler.
- hooked the launch_editor action signal in the GtkMenuItem post_create function.
- hooked the launch_editor action signal in the GtkMenuBar post_create function.
- created a GtkMenu post_create function containing a hook for the launch_editor
action signal.
(bug 433055)
* plugins/gtk+/gtk+.xml.in:
- Added "launch_editor" action to GtkMenuItem.
- Added "launch_editor" action to GtkMenuBar.
- Added "launch_editor" action and post_create function to GtkMenu.
(bug 433055)
2007-04-29 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-palette.c: Override GtkWidget::show_all to ensure
hidden selector button is not accidentally made visible.
* gladeui/atk.xpm, gladeui/Makefile.am, data/icons/atk.png,
data/icons/Makefile.am: Moved gladeui/atk.xpm to data/icons/atk.png
* gladeui/glade-editor.c: Update to use atk.png instead of atk.xpm.
2007-04-26 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-project.h, gladeui/glade-project.c:
- Hide private implementation details (Added GladeProjectPrivate).
- Added private field accessors glade_project_get_path, glade_project_get_name,
glade_project_get_objects, and glade_project_get_has_unsaved_changes.
- Removed project->name field.
- Removed glade_project_display_name method.
* gladeui/glade-editor-property.c, gladeui/glade-project-view.c,
gladeui/glade-cursor.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c
gladeui/glade-property-class.c: Update for change in GladeProject.
* src/glade-project-window.c: Update for change in GladeProject. Added
methods for formatting paths and names. Fix display of tooltips for
items in the project list menu.
* gladeui/glade-palette-item.c, gladeui/glade-palette.c: Update to use
g_object_ref_sink().
2007-04-25 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-editor-property.c: fixed a bug in GladeEPropUnichar
2007-04-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget.c, gladeui/glade-project.c: make glade core not hold
a reference to internals objects.
2007-04-21 Vincent Geddes <vincent.geddes@gmail.com>
* plugins/gtk+/gtk+.xml.in: Fixed spelling error "Maximun" -> "Maximum".
* gladeui/glade-widget.c: Clean up toplevel embedding code, remove
unused embedding implementation. Fix embedding warning.
* glade-id-allocator.c, glade-id-allocator.h: Performed house cleaning.
- Use g_slice_new where appropriate.
- Hide private implementation details.
- Added g_return_if_fail guards.
* gladeui/glade-project.c, gladeui/glade-project.h:
- Move to using GladeIDAllocator for allocating unsaved numbers.
- Rename some variables since projects are now considered "unsaved"
instead of "untitled" (#400357, Wouter Bolsterlee).
2007-04-20 Vincent Geddes <vincent.geddes@gmail.com>
* README, configure.ac, plugins/gnome/gnome.xml.in,
plugins/gnome/glade-gnome.c, plugins/gnome/canvas.xml.in:
Rename user visible "Gnome" strings
to "GNOME". (#412309, Duarte "HappyGuy" Loreto).
2007-04-16 Vincent Geddes <vincent.geddes@gmail.com>
* configure.ac: Check for windres on win32. Define version using
separate numbered components (major, minor, micro).
* data/icons/glade-3.ico: New application icon in win32 ICO format.
* gladeui/gladeui.rc.in, gladeui/Makefile.am, src/glade-3.rc.in,
src/Makefile.am: Added win32 resources for the libgladeui dll
and the application executable.
* src/Makefile.am: Removed "-mwindows" linker flag.
* gladeui/glade-widget-adaptor.h: Remove undefined functions.
2007-04-16 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gtk+/glade-gtk.c: stop GtkFileChooserDefault "hierarchy-changed"
and "screen-changed" default handlers (fixes bug #415021)
* plugins/gtk+/glade-gtk.c: added GtkFileChooserWidget post-create function
* plugins/gtk+/gtk+.xml.in: added GtkFileChooserWidget
* plugins/gtk+/icons/22x22/widget-gtk-filechooserwidget.png,
plugins/gtk+/icons/16x16/widget-gtk-filechooserwidget.png: new icons,
they are the same as GtkFileChooserDialog but without the borders :)
2007-04-12 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol
exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS.
* gladeui/glade-accumulators.h, gladeui/glade-app.h,
gladeui/glade-base-editor.h, gladeui/glade-binding.h,
gladeui/glade-builtins.h, gladeui/glade-catalog.h,
gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h,
gladeui/glade-command.h, gladeui/glade-custom.h,
gladeui/glade-debug.h, gladeui/glade-design-view.h,
gladeui/glade-editor-property.h, gladeui/glade-editor.h,
gladeui/glade-fixed.h, gladeui/glade-palette.h,
gladeui/glade-parameter.h, gladeui/glade-placeholder.h,
gladeui/glade-project-view.h, gladeui/glade-project.h,
gladeui/glade-property-class.h, gladeui/glade-property.h,
gladeui/glade-signal-editor.h, gladeui/glade-utils.h,
gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h,
gladeui/glade.h:
Remove LIBGLADEUI_API function attributes.
* plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c,
plugins/gtk+/glade-gtk.h:
Remove GLADEGTK_API and GLADEGNOME_API function attributes.
2007-04-08 Christian Persch <chpe@gnome.org>
* gladeui/glade-property-class.c:
(glade_property_class_make_object_from_string):
* gladeui/glade-xml-utils.c: (glade_xml_get_value_int):
- Don't use sscanf. Bug #424547, patch by Ivan Baldo and myself.
2006-04-04 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in: Make "label" property of GtkToolButton translatable
2007-04-02 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c:
- Remove hard-coded newlines from license text. Enable "wrap-license"
property on GtkAboutDialog. Fixes #409120.
- s/this program/Glade/ in license text.
2007-04-02 Jeff Westerinen <jeff.westerinen@palmsource.com>
* plugins/gtk+/gtk+.xml.in: removed the GtkPageSetupUnixDialog and
GtkPrintUnixDialog widgets from the gtk+ catalog. Fixes #392340.
* plugins/gtk+/gtkunixprint.xml.in: added new, separate catalog for
the unix print widgets.
* plugins/gtk+/Makefile.am: modified the make file to include the new
unix print catalog if found by configure.
* configure.ac: modified configure to check for the existence of
the unix print widgets.
* po/POTFILES.in: added the new unix print catalog to the list of
translatable files.
2007-04-01 Vincent Geddes <vincent.geddes@gmail.com>
* plugins/gtk+/icons/*, plugins/gnome/icons/*: Renamed all icons.
* gladeui/glade-project-view.c, gladeui/glade-widget-adaptor.[ch],
gladeui/glade-palette-item.c, gladeui/glade-clipboard-view.c:
Use GtkIconTheme for loading and managing widget icons.
New "icon-name" property on GladeWidgetAdaptor.
* gladeui/glade-catalog: Added catalog property "icon-prefix". The
default value of this property is set to the catalog name.
* gladeui/glade-app.c: Add GtkIconTheme search path for widget icons.
* plugins/gtk+/icons/16x16/Makefile.am,
plugins/gtk+/icons/22x22/Makefile.am,
plugins/gnome/icons/16x16/Makefile.am,
plugins/gnome/icons/22x22/Makefile.am: Renamed icon files.
* gladeui/glade-widget-adaptor.c: Use g_type_class_add_private().
* doc/widgetclasses.sgml, doc/catalogintro.sgml: Update documentation.
2007-03-30 Vincent Geddes <vincent.geddes@gmail.com>
* src/main.c: Fix warnings when building on win32.
2007-03-30 Christian Persch <chpe@gnome.org>
* gladeui/glade-parameter.c: (glade_parameter_get_integer),
(glade_parameter_get_float):
* gladeui/glade-xml-utils.c: (glade_xml_get_property_int): Don't use
atoi/atof. Bug #414358.
2007-03-22 John Millikin <jmillikin@gmail.com>
* src/glade-project-window.c: Use Shift+Ctrl+Z as the accelerator for Redo,
as specified by the HIG.
2007-03-22 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-palette-expander.[ch]: Rewrote expander widget implementation.
* gladeui/glade-palette.c: Update for change in expander widget.
2007-03-20 Bruno Boaventura <brunobol@gnome.org>
* data/glade3.desktop.in.in: Remove incorrect "Application" category
from Categories. Add "GNOME" to Categories. Fixes #417618.
2007-03-15 Vincent Geddes <vincent.geddes@gmail.com>
* COPYING: Update licensing information. After we reorganised
the package structure, the LGPL-licensed pixmaps were put into
different directories.
2007-03-13 Olivier Delhomme <olivierdelhomme@gmail.com>
* gladeui/glade-utils.c: Fixed broken statement in
glade_util_url_show_win32().
* gladeui/glade-app.c: Fixed names of global vars in
win32 code.
2007-03-11 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-property-class.c: Fix handling of atk
properties specified by the plugin.
* plugins/gtk/gtk+.xml.in: Specified atk relation properties
for GtkWidgetClass and also specified the acceleretor property
for GtkWidgetClass (fixes bug 383121).
* TODO: Updated
2007-03-06 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-editor.c: use g_type_is_a() to compare types
in glade_editor_property_class_comp() (fixes bug #396436).
2006-03-05 Halton Huo <halton.huo@sun.com>
* Define GCC_WARN_FLAGS in configure.ac, if use gcc, put -Wall into CFLAGS,
otherwise not. Replace -Wall with @GCC_WARN_FLAGS@ in Makefile.am
2006-03-03 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-property.[ch], gladeui/glade-widget.[ch]:
- Added property_set_save_always() functions
- Introspect initial values of all properties even if they're
not composite children (sometimes derived widgets set a property
to a non-default value).
* plugins/gtk+/glade-gtk.c: set "save-always" on the "type-hint"
property of GtkDialog. Bug #412848.
2007-03-01 Vincent Geddes <vincent.geddes@gmail.com>
* bindings/python/Makefile.am: Added required libraries to
libgladepython_la_LIBADD. Bug #412827.
2007-02-28 Christian Persch <chpe@svn.gnome.org>
* gladeui/glade-property-class.c:
(glade_property_class_make_string_from_object),
(glade_property_class_make_string_from_gvalue),
(glade_property_class_make_gvalue_from_string): Use locale independent
integer and float parsing routines. Bug #396433.
2007-02-26 Vincent Geddes <vincent.geddes@gmail.com>
* plugins/gtk+/icons/16x16/recentchooserdialog.png,
plugins/gtk+/icons/16x16/printdialog.png,
plugins/gtk+/icons/16x16/messagedialog.png,
plugins/gtk+/icons/16x16/filechooserdialog.png,
plugins/gtk+/icons/22x22/printdialog.png,
plugins/gtk+/icons/22x22/recentchooserdialog.png,
plugins/gtk+/icons/22x22/messagedialog.png,
plugins/gtk+/icons/22x22/filechooserdialog.png:
Added some widget icons, and modified a few existing ones.
2007-02-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* plugins/gnome/canvas.xml.in, plugins/gnome/gnome.xml.in,
src/glade-project-window.c, gladeui/glade-signal-editor.c:
Marked new translatable strings.
Closes bugs #410735 and #410731.
2007-02-21 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-property.[ch]: make glade_property_new() always
return instrospected value (catalog_default parameter removed)
* gladeui/glade-widget.c: added glade_widget_set_catalog_defaults()
to set catalog default values in glade_widget_constructor() when
the widget is created by the user.
* plugins/gtk+/glade-gtk.c: glade_gtk_menu_item_get_children()
added GtkImageMenuItem support. fix bug #404322
* plugins/gtk+/gtk+.xml.in: GtkMenuItem get-children function
renamed to glade_gtk_menu_item_get_children()
2007-02-20 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-utils.c: Remove redundant call to `gtk_window_set_position()'
in `glade_util_file_dialog_new()'. Fixes #408879.
2007-02-17 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c: Remove duplicate labels for stock
items (patch by Nickolay V. Shmyrev, fixes #408874).
2007-02-17 Christian Persch <chpe@svn.gnome.org>
* autogen.sh: Set the required gdu version in autogen too. Bug
#392411.
2007-02-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget.[ch]: added glade_widget_property_original_default()
* gladeui/glade-property.[ch]: added glade_property_original_default()
and glade_property_original_reset()
* plugins/gtk+/glade-gtk.c: fixed bug 397043
"Not able to set label and stock separately in GtkImageMenuItems"
* plugins/gtk+/gtk+.xml.in: added generic-name to GtkMenuShell.
2007-02-15 Jens Granseuer <jensgr@gmx.net>
* Fixed sources to build with gcc 2.95 (bug 406504)
2007-02-13 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Rolling 3.1.5
2007-02-13 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c: Changed description in the About
dialog.
* m4/python.m4: New file.
* configure.ac, bindings/Makefile.am, bindings/python/Makefile.am,
bindings/python/glade-python.c: Improved configure check for Python.
2007-02-13 Christian Persch <chpe@svn.gnome.org>
* Makefile.am:
* configure.ac: Call GNOME_DOC_INIT unconditionally. Bug #392411.
2007-02-10 Vincent Geddes <vincent.geddes@gmail.com>
* src/main.c:
- Add summary of the application's functionality in the '--help'
output (with g_option_context_set_summary()).
- Set translation domain for the main option group.
* docs/catalogintro.sgml: pkg-config file is now 'gladeui-1.0'.
* data/glade-3.desktop.in.in: Added 'GUIDesigner' to 'Categories'.
* gladeui/glade.h, gladeui/glade-app.[ch]:
- Added a private initialisation function `glade_init_check()' for
libgladeui.
- Remove the 'bad' public variables that defined various installation
paths. These paths can now be obtained from static class methods on
GladeApp (static as in the Java and C++ sense).
* src/main.c, src/glade-project-window.c, gladeui/glade-catalog.c,
gladeui/glade-binding.c, gladeui/glade-cursor.c,
gladeui/glade-palette.c gladeui/glade-widget-adaptor.c,
gladeui/glade-utils.c, bindings/python/glade-python.c: Use the new
GladeApp methods for obtaining installation paths.
* gladeui/glade-palette-box.[ch]: Use G_DEFINE_TYPE() and
g_type_class_add_private().
2007-02-09 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-utils.c: fixed bug in glade_util_have_devhelp()
(devhelp 0.13 returns "Devhelp 0.13" the 'h' is not capital anymore)
* gladeui/glade-binding.[ch], src/glade-project-window.c,
bindings/python/glade-python.c: console striped out.
* bindings/python/glade-python-gwa.c: regenerated with pygtk-codegen-2.0
2007-02-08 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/*.[ch]: Replaced C++ style comments with the more portable ISO C syntax.
* gladeui/glade-app.[ch]: Use the G_DEFINE_TYPE() and
g_type_class_add_private() idioms for registering the class.
* README.cvs: Renamed to 'README.svn'.
* README: Corrected some typos and updated GTK+ required to 2.10.0.
* plugins/gtk+/icons/16x16/Makefile.am, plugins/gtk+/icons/22x22/Makefile.am:
Added some icons.
* src/glade-project-window.c: Set the label for the Selector toolbutton.
2007-02-07 Paul <ephraim_owns@hotmail.com>
* bindings/python/Makefile.am: Removed $(top_srcdir) from CFLAGS.
* bindings/python/glade-python.c: Fixed use of a variable 'stdout',
called it '__stdout' instead.
* bindings/python/glade-python-gwa.c, bindings/python/glade-python-gwa.override:
Added #define NO_IMPORT_PYGOBJECT
2007-02-06 Vincent Geddes <vincent.geddes@gmail.com>
* data/icons/hicolor/: Added new application icon, in sizes 16x16,
22x22, 32x32, 48x48, and scalable. Icon provided by Andreas Nilsson.
* data/icons/glade-3.png: Removed.
2007-02-06 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/gtk+.xml.in, plugins/gnome/gnome.xml.in,
plugins/gnome/canvas.xml.in, plugins/gnome/bonobo.xml.in:
Fixed domain 'glade-3' -> 'glade3' (bug 404917)
* src/glade-project-window.c: Fixed translation of 'comments' and
'liscence' properties of the about dialog (bug 404917).
(also now translate the "Palette Appearence" string)
* src/glade-project.c: Now translate "Unsaved %d" for unsaved project
names.
2007-02-06 Jeff Westerinen <jeff.westerinen@palmsource.com>
* gladeui/glade-editor-property.c: changed glade_eprop_text_show_i18n_dialog()
to call a command to change the i18n metadata on the label property
instead of changing it directly. This allows the change to be
un-/re-done (bug 352454).
* gladeui/glade-command.[ch]: added the glade_command_set_i18n command.
2007-02-05 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c: Add ellipsis to the label of the "Open"
action.
2007-02-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-property-class.c, plugins/gtk+/gtk+.xml.in:
Fixed typo (bug 404324)
2007-02-02 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-base-editor.c: fixed bug present in 64bit archs
changed G_TYPE_UINT with G_TYPE_GTYPE in glade_base_editor_init()
2007-02-01 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-app.[ch]: Changed the hierarchy changed signal
for a "widget-event" signal.
* gladeui/glade-design-layout.c: Catch the "widget-event" signal
and propagate the event from there, dont raise the event_window anymore.
* gladeui/glade-widget.c:
- Removed "enter-notify-event"
- Catch "event" signal on GtkWidget instances and forward
the event to GladeApp
- When handling selection and SHIFT is down, dont stop emmission
(better handling of drag/resize)
* gladeui/glade-fixed.c: Only drag/resize with shift down
* gladeui/glade-marshallers.list: added new marshaller
2007-01-31 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.[ch]:
o Removed search algorythm for child widgets, removed glade_widget_event_widget (),
removed popup-menu signal handler, removed call to gtk_window_set_decorated()
on toplevel project widgets, removed widget->setup_events(), removed hide_on_delete()
o Added glade_widget_event() to feed events directly to widgets from the design layout.
o Call glade_app_hierarchy_changed() upon add/remove/replace operations
* gladeui/glade-utils.c: Removed glade_utils_deep_fixed_event() and the
hacky widget grab that went with it.
* gladeui/glade-app.[ch]: Added glade_app_hierarchy_changed() and added
"hierarchy-changed" signal.
* gladeui/glade-design-layout.c:
o Make sure event window is always on top by trapping GladeApp's "hierarchy-changed"
signal
o Feed events directly to the proper GladeWidget, if its not handled then pass it
on to the underlying widgets (using gtk_widget_event() directly).
* gladeui/glade-cursor.c: Removed the recursive cursor setting routine.
* gladeui/glade-fixed.c: Simplified immensely by removing redundant code,
now there is only one GladeWidget to deal with, no searching and gropeing
for the appropriate widget to operate on.
2007-01-28 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-command.c: Made 'pasting' an explicit arg of glade_command_add(),
this fixes the broken clipboard selection search (since we now use dupped
widgets only in pastes), now packing defaults and packing property tranfers
on paste both work.
* gladeui/glade-widget.c: Removed redundant code.
* src/glade-project-window.c: Re-Implemented hack for accelerators to
work cooperatively with text entries in the editor. (fixes bug 396447)
* gladeui/glade-design-layout.[ch]:
Now works like a pure widget, uses gtk_widget_size_allocate() to resize
children and gtk_widget_queue_resize() to resize itself (removed default
size control for now).
* gladeui/glade-xml-utils.[ch], gladeui/glade-widget.[ch],
gladeui/glade-widget-adaptor.[ch], plugins/gtk/gtk+.xml.in,
plugins/gtk/glade-gtk.c, plugins/gnome/glade-gnome.c:
- Added glade_xml_get_property_int()
- Added default-width/height to catalog/GWA
- Added toplevel-width/height properties to GladeWidget
- Use default-width/height in catalogs instead of gtk_window_set_default_size()
in plugin code.
2007-01-27 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-command.c: Set project properly in glade_command_remove()
(this fixes undo/redo of add/remove commands in the menueditor... along
with the following fixes).
* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h:
Added GWA_USE_PLACEHOLDERS(), a boolean on the GWA that is loaded
from the catalog.
* gladeui/glade-utils.[ch]: Removed glade_util_[any_]container_relation.
* gladeui/glade-widget.[ch]: Added glade_widget_placeholder_relation
* gladeui/glade-app.c, gladeui/glade-fixed.c: Adjusted callers for new
glade-widget api.
* gladeui/glade-fixed.[ch]: Removed the "use-placehodlers" property
since it is now redundant with the new GWA_USE_PLACEHOLDERS (this
simplifies things a little).
* gladeui/glade-binding.c: Fixed obnoxious startup errors (bug 399178),
glade_binding_get_all(), use g_list_prepend()/g_list_reverse() instead
of g_list_append() to build a list.
* gladeui/glade-base-editor.c: Use the right adaptor for gwa_get_children
in glade_base_editor_change_type () (was using adaptor for the destination
type).
* plugins/gtk/glade-gtk.c: Remove use of "use-placeholders" property
on GladeFixed objects.
* plugins/gtk/gtk+.xml.in: Setup the "use-placeholders" attribute properly
(TRUE on GtkContainer, FALSE on GtkMenuShell, GtkMenuItem, GtkToolBar,
GtkFixed, GtkLayout).
2007-01-25 Christian Persch <chpe@svn.gnome.org>
* help/Makefile.am: Correct DOC_LINGUAS.
2007-01-25 Tristan Van Berkom <tvb@gnome.org>
* Makefile.am, configure.ac, plugins/Makefile.am, bindings/Makefile.am:
fixed conditionally building gnome & python.
2007-01-25 Vincent Geddes <vincent.geddes@gmail.com>
* set 'svn:ignore' properties for the directory tree.
Delete all '.cvsignore' files.
* src/glade-project-window.c: Change window title in line with HIG.
* data/libgladeui-1.0.pc.in: Renamed to gladeui-1.0.pc.in.
Updated for change in location of header files.
* gladeui/glade.h, gladeui/glade-xml-utils.c: Cleaned up 'glade.h'.
- Moved GLADE_TAG_* defines to glade-xml-utils.h.
- Nuked GLADE_GENERIC_BORDER_WIDTH.
* gladeui/*.h, plugins/gtk+/glade-gtk.[ch],
plugins/gnome/glade-gnome.ch, bindings/python/*.[ch]:
Changed header files location for libgladeui.
2007-01-23 Vincent Geddes <vincent.geddes@gmail.com>
* Reorganised package structure, moved a lot of files
and directories. Modified the Makefile.am in most directories.
* po/POTFILES.in, po/POTFILES.skip: Update for reorganisation.
* configure.ac: Add files to AC_CONFIG_FILES. Change AC_CONFIG_SRCDIR.
2007-01-22 Jeff Westerinen <jeff.westerinen@palmsource.com>
Fix for bug 345603:
* src/glade-command.c, src/glade-command.h:
- Redesigned the implementation of the following commands:
- glade_command_delete
- glade_command_create
- glade_command_cut
- glade_command_copy
- glade_command_paste
These are now command aliases.
- Added a new drag-and-drop command, glade_command_dnd, to replace former
glade_command_cut/glade_command_paste command pairs.
- Added the following set of canonical commands which comprise the implementation
of the command aliases:
- glade_command_add
- glade_command_remove
- glade_command_clipboard_add
- glade_command_clipboard_remove
* src/glade-gtk.c:
Replaced the cut/paste command pair with the dnd command in
glade_gtk_menu_shell_move_child().
* src/glade-base-editor.c:
Replaced the cut/paste command pair with the dnd command in
glade_base_editor_change_type() and glade_base_editor_move_child().
2007-01-20 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c: modify translator-credits prop
for About dialog.
2007-01-20 someone <bugs@outerspace.dyndns.org>
* src/glade-parser.c: use xmlSubstituteEntitiesDefault() when
loading/saving glade files in order to maintain '&' charachters
in labels (fixes bug 396311).
2007-01-17 Tristan Van Berkom <tvb@gnome.org>
* autogen.sh: renamed configure.in -> configure.ac
2007-01-07 Vincent Geddes <vincent.geddes@gmail.com>
* configure.in: Quote some macro arguments. Use AS_HELP_STRING
to format the messages for AC_ARG_ENABLE macros. Other cleanups
and updates.
* src/glade-editor-property.c: Modified some dialogs for HIG
compliance. Mostly about adjusting border widths and spacings,
and setting mnemonics. Title for "Edit Text Property" dialog
is now a simpler "Edit Text". Title for "Select Flags" dialog
is also now a more descriptive "Select Events".
* src/glade-project-window.c: Set URL for online help to
"http://glade.gnome.org/manual/index.html".
2007-01-17 Christian Persch <chpe@svn.gnome.org>
* src/glade-accumulators.c:
* src/glade-base-editor.c:
* src/glade-binding.c:
* src/glade-clipboard.c:
* src/glade-cursor.c:
* src/glade-debug.c:
* src/glade-design-layout.c:
* src/glade-design-view.c:
* src/glade-gnome.c:
* src/glade-id-allocator.c:
* src/glade-palette-box.c:
* src/glade-palette-expander.c:
* src/glade-palette-item.c:
* src/glade-parameter.c:
* src/glade-placeholder.c:
* src/glade-signal.c:
* src/glade-xml-utils.c: Include config.h.
* src/glade-app.c: (glade_app_init): Bind the gettext domain. Bug
#397429.
2007-01-17 Tristan Van Berkom <tvb@gnome.org>
* src/glade-devhelp.[ch]: removed obsolete files.
2007-01-03 Christian Persch <chpe@svn.gnome.org>
* configure.in: No need to check for a AC_PROG_CXX.
2007-01-03 Christian Persch <chpe@svn.gnome.org>
* Makefile.am:
* configure.in:
* glade-3.desktop.in.in:
* po/POTFILES.in:
* po/POTFILES.skip:
Add version to bugzilla info in the .desktop file. Bug #392395.
2007-01-03 Christian Persch <chpe@svn.gnome.org>
* configure.in:
* pixmaps/16x16/Makefile.am:
* pixmaps/22x22/Makefile.am:
* pixmaps/Makefile.am:
* src/Makefile.am:
* src/glade-app.c:
* src/glade-binding.c:
* src/glade-paths.sh.in:
* src/glade-project-window.c:
* src/libgladeui-1.0.pc.in:
* widgets/Makefile.am:
Use the correct way to define paths, using _CPPFLAGS in Makefile.am.
Fixes build problem with autoconf 2.60 wrt. datarootdir. Bug #392379.
2006-12-18 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Rolling 3.1.4
* src/glade-widget-adaptor.c: Fixed loading of "special-child-type" from
the catalog, fixes bugs with GtkFrame, GtkNotebook (bug 373251), GtkExpander etc.
* src/gtk+.xml.in: Disable the "label" property of expanders, expander labels are
identified by thier internal label widget, when setting the "label" property the
widget gets lost from the hierarchy, so thats fixed (bug 386352)
2006-12-18 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Rolling 3.1.3
2006-12-18 Oliver Nittka <oly@nittka.com>
* Changed a bunch of sources to remove forward declarations of enum types
since they are not supported by c++ compilers.
2006-12-16 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.c: glade_widget_sync_custom_properties()
dont sync construct_only props, does bad things inside constructors.
(really need to fix this bad concept of sync'ing props).
* widgets/canvas.xml.in: ignore some virtual properties on the icon list.
2006-12-16 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml.in:
- Fixed a crash due to gtk_message_dialog_set_image "image" 2.10
property crashing on NULL images (bug 386563).
- ignore "window-placement-set" property on scrolledwindow (fixes 385920).
2006-12-13 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-utils.[ch]: new function glade_util_get_file_mtime().
* src/glade-project-window.c: Test project files for external
changes in gpw_save(). Adjust border width of main window contents.
* src/glade-project.c: stat project file when opening or saving.
2006-12-12 Oliver Nittka <oly@nittka.com>
* src/glade-base-editor.c src/glade-clipboard-view.c src/glade-command.c
src/glade-command.h src/glade-design-layout.c src/glade-design-view.c
src/glade-editor-property.c src/glade-editor-property.h
src/glade-editor.c src/glade-gnome.c src/glade-gtk.c
src/glade-palette-box.c src/glade-palette-item.c src/glade-palette.c
src/glade-project-view.c src/glade-project-window.c
src/glade-project.c src/glade-property-class.c
src/glade-property-class.h src/glade-property.c src/glade-property.h
src/glade-python-gwa.c src/glade-python.c src/glade-utils.c
src/glade-utils.h src/glade-widget-adaptor.c
src/glade-widget-adaptor.h src/glade-widget.c src/glade-widget.h
Renamed reserved C++ keywords "new", "class", "virtual", "template" and "this"
as a prerequisite for adding gtkmm bindings
2006-12-12 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Merged changeset 'GLADE3_3_0_BRANCHPOINT_1' --> 'GLADE3_3_0_MERGEPOINT_2'
into HEAD
2006-10-26 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Fixed saved "gtk-broken-image" stock being saved
in all GtkImages (bug 353126) (with help from Jeff Westerinen).
2006-11-07 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-property.c: fixed bug 360586
"& in a label with markup enable saves as an &"
2006-12-12 Vincent Geddes <vincent.geddes@gmail.com>
* configure.in, src/Makefile.am, src/.cvsignore: The pkg-config
entry is now `libgladeui-1.0.pc'.
* doc/catalogintro.sgml: Update for change in pkg-config entry.
2006-12-08 Jeff Westerinen <jeff.westerinen@palmsource.com>
* doc/widgetclasses.sgml
- changed the description of the "name" property of the
glade-widget-class tag.
* src/glade-utils.[ch]
- changed glade_util_get_type_from_name() to being able to use the
name arg directly as the "get type" function.
* src/glade-widget-adaptor.c
- changed glade_widget_adaptor_from_catalog() to now check for a
"get-type-function" property. If one is found, it is used to get
the widget type instead of "name" property (fixes bug 377435)
* src/glade.h: added the "get-type-function" property definition.
2006-12-07 Vincent Geddes <vincent.geddes@gmail.com>
* help/ChangeLog, help/Makefile.am, help/glade.omf.in,
help/.cvsignore, help/C/glade.xml, help/C/legal.xml,
help/C/figures/main-window.png, m4/.cvsignore: New files.
* configure.in:
- Check for gnome-doc-utils and scrollkeeper
- Use AC_CONFIG_FILES instead of AC_OUTPUT with args.
AC_OUTPUT with args is deprecated.
- set macro dir with AC_CONFIG_MACRO_DIR.
* Makefile.am:
- Update for gnome-doc-utils integration.
- Conditionally set SUBDIRS if docs building is enabled.
- Set `ACLOCAL_AMFLAGS = -I m4' as recommended in
Autoconf manual.
* .cvsignore: Add `gnome-doc-utils.make'.
* src/glade-utils.[ch]: New function `glade_util_url_show'.
* src/glade-project-window.c:
- Add functionality for launching the GNOME user manual.
- Set URL hook for GtkAboutDialog.
- If devhelp is not available, the online developer reference
is displayed instead.
* src/glade-paths.sh.in: New variable GLADE_GNOMEHELPDIR.
* glade-3.desktop.in: Add "X-GNOME-DocPath" entry.
Add "GTK" to "Categories".
2006-12-06 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* configure.in: added AC_CHECK_HEADERS(Python.h)
* src/glade-binding.[ch]: scripts indexed by GType name instead of GType
this way we do not need glade_util_get_type_from_name() anymore.
* src/glade-widget-adaptor.c: fixed regression in
gwa_setup_introspected_props_from_pspecs() Interface introduced
properties where skipped.
* src/glade-gtk.c: Added GtkAssistant support code.
* widgets/gtk+.xml.in: Added gtk+ 2.10 widget classes.
GtkAssistant, GtkLinkButton, GtkPageSetupUnixDialog,
GtkPrintUnixDialog, GtkRecentChooserWidget and GtkRecentChooserDialog.
2006-12-05 Tristan Van Berkom <tvb@gnome.org>
* TODO: Starting on blockers for 3.2
2006-12-05 Sebastien Bacher <seb128@ubuntu.com>
* NEWS:
* configure.in: require intltool 0.35, roll 3.1.2
2006-12-03 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Rolling 3.1.1
2006-12-03 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-palette.[ch]:
- Refactor GladePalette code slightly
- Selector button can now be hidden.
- Palette items are now implemented as toggle buttons.
* src/glade-palette-item.[ch]: GladePaletteItem is now a
subclass of GtkToggleButton instead of GtkRadioButton.
* src/glade-app.c, src/glade-fixed.c, src/glade-placeholder.c:
update for change in GladePalette API.
* src/glade-design-layout.c: Improved drawing code.
* src/glade-project-window.c:
- Refactored recent files code.
- Added "Widget Selector" button to main toolbar. Is an
external selector button for the palette
- Fixed #373255 - "Doesn't warn about unsaved document
on quit"
* pixmaps/selector.png: New selector button.
2006-11-30 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* widgets/gnome.xml.in: removed glade_gnome_about_dialog_get_children()
* src/glade-gnome.c: Code cleanup
o removed every g_return_if_fail()
o removed glade_gnome_about_dialog_get_children()
o glade_gnome_dpe_set_property() reworked. (lots of function merged)
o glade_gnome_dps_set_property() fixed.
2006-11-28 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-widget-adaptor.c:
o reference adaptor->type class in glade_widget_adaptor_constructor()
because gwa_setup_properties() and gwa_list_signals() need this.
o added extra checks in adaptor methods
g_type_is_a (G_OBJECT_TYPE (object), adaptor->type)
now we can safelly get rid of checks in the plugin code.
2006-11-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* configure.in: added PYGTK_REQ_MAYOR, PYGTK_REQ_MINOR and
PYGTK_REQ_MICRO to config.h
* src/glade-python.c: check for pygobject >= 2.12.0
* src/glade-python-gwa.override: fixed packing property bug in
glade_python_support_init_value()
* src/glade-python-gwa.c: updated.
* src/glade-project-window.c: show clipboard.
* src/glade-catalog.c: check catalog's language is valid.
* src/glade-binding.c: added a warning message when we can not load
a module.
2006-11-22 Andreas Köhler <andi5.py@gmx.net>
* src/glade-design-view.h: dllexported functions with
LIBGLADEUI_API.
2006-11-21 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.c: Fixed a segfault in glade_widget_dup(), some things
are done before setting the "class", so I made sure not to touch the
class member during object construction time.
2006-11-21 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* configure.in: Added python/pygtk checks.
* src/Makefile.am: added glade-binding.[ch] and BUILD_PYTHON rules
* src/glade-app.c:
o added glade_scripts_dir and glade_bindings_dir globals
o loading / unloading bindings.
* src/glade-binding.[ch]: GladeBinding support this is the glue code
between glade core and bindings modules.
* src/glade-catalog.c: support for loading catalogs supported by
bindings, added language member to GladeCatalog.
* src/glade-marshallers.list: added new marshallers BOOLEAN:STRING and
BOOLEAN:OBJECT,STRING
* src/glade-paths.sh.in: added GLADE_BINDINGSDIR and GLADE_SCRIPTSDIR.
* src/glade-popup.c: added support for GWAAction
(shows context actions as menu items)
* src/glade-project-window.c: added window which a console for each
GladeBinding that provide a console.
* src/glade-python-gwa.c: GladeWidgetAdaptor python wrapper.
* src/glade-python-gwa.[defs override]: files used by pygtk-codegen-2.0
to create glade-python-gwa.c
* src/glade-python.c: GladeBinding plugin for python language.
* src/glade-widget-adaptor.[ch]:
o added GWAAction support.
o added "action-activated" signal
o added glade_create_reason_get_type() so the enum can be exposed in
bindings as a GEnum.
o added "adaptor" property to glade-widget-class this way non C catalog
plugins can define the GladeWidgetAdaptor derived class.
<glade-widget-class name="Custom" adaptor="CustomAdaptor"/>
o setup binding scripts as actions.
o added glade_widget_adaptor_emit_action_activated()
(used in glade-popup.c)
* src/glade-widget.[ch]: added "action-activated" signal.
* src/glade.h: added GLADE_TAG_LANGUAGE, GLADE_TAG_ACTION_GROUP,
GLADE_TAG_ACTION, GLADE_TAG_STOCK, glade_scripts_dir and
glade_bindings_dir.
2006-11-20 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.c:
- glade_property_set_enabled(), when enableing a property, sync its
value incase it has any visual feedback.
- removed the horrid code that dealt with the project and selection
when calling glade_widget_rebuild()
- use new glade_widget_object_set_property()/glade_widget_child_set_property().
* src/glade-widget.c:
- glade_widget_rebuild(), added the afore mentioned horrid code - doesnt
seem so horrid over here.
- added apis to proxy property setting onto the object (via the gwa).
- Now sync all properties again at sync_custom_props() time (since there's
no set_function anymore and property->class->virtual isnt enough).
* src/glade-design-layout.c: Added commented alternative code for
resizing, TODO remove the direct property setting stuff and handle it
somewhere appropriate.
* src/glade-fixed.c: Commented out a g_return_if_fail and temporarily
put an if (statement) return; need to work on handling events differently
now (its no big deal, there are just some extra events now comming from the
toplevels at focus change times and stuff that are irrelevent to the
glade widgets and so the code complains).
* src/glade-gnome.c, src/glade-gtk.c: Ported to the new api for
set_property/get_property/verify_property.
* src/glade-property-class.[ch]: Removed get/set/verify property backend hooks
* src/glade-widget-adaptor.[ch]: Added get/set/verify property backend hooks,
now the adaptor is a solid self-contained proxy to the plugin.
2006-11-09 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-catalog.[ch]:
o manage all GModules with a hash table.
o added glade_catalog_modules_close()
* src/glade-app.c:
o call glade_catalog_modules_close() when the app finalize.
o removed unnecesary headers.
* src/glade-gnome.c: fixed some warnings.
* src/glade-utils.c: slight optimization in function
glade_util_get_type_from_name (), check if type is already registered.
* src/glade.h: removed unneeded #ifdef GLADE_H check.
* src/glade-widget-adaptor.[ch]:
o removed module member from GladeWidgetAdaptorPriv since now we keep
all the openned modules inside glade-catalog.c
o added glade_abort_if_derived_adaptors_exist().
2006-10-29 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c:
- Use the new GtkRecent API, and make it screen aware.
- Added the notion of a 'default_path' for file open/save
operations. Replaces the previous recent-file based
implementation.
- Hide statusbar grip when window is in maximised state.
- Set a reasonable default size for props editor and tree.
* src/glade-popup.c: Removed the "Properties" context action as
it doesn't really make sense in the single-window ui.
* widgets/gtk+.xml.in: Added some displayable values for the
GtkWindow::type-hint property.
2006-10-27 Tristan Van Berkom <tvb@gnome.org>
* NEWS: Rolling 3.1.0
2006-10-26 Tristan Van Berkom <tvb@gnome.org>
* Merged changeset 'GLADE3_3_0_BRANCHPOINT' --> 'GLADE3_3_0_MERGEPOINT_1'
into HEAD
2006-10-26 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Bumped required gtk+ version to 2.10 for the
3.1 series
2006-10-25 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c:
o integrate ui into one main window.
o A GtkNotebook is used to display GladeDesignView's.
* src/glade-project-view.[ch]: add "item-activated" signal.
* src/glade-design-layout.[ch], src/glade-design-view.[ch]:
new files.
* src/glade-widget.[ch]:
o Added functions for embedding toplevel GladeWidgets
o glade_widget_show() modified to manage embedding of
toplevels.
2006-10-20 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Removed the python check
* src/glade-widget-adaptor.c: Fixed properties
(some were being ignored).
* src/glade-gtk.c, widget/gtk+.xml:
Gave some love to some 2.10 properties
2006-10-19 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am src/glade-app.c src/glade-base-editor.c
src/glade-catalog.c src/glade-catalog.h src/glade-clipboard-view.c
src/glade-clipboard.c src/glade-command.c src/glade-command.h
src/glade-cursor.c src/glade-editor-property.c
src/glade-editor.c src/glade-editor.h src/glade-fixed.c
src/glade-fixed.h src/glade-gnome.c src/glade-gtk.c
src/glade-palette-item.c src/glade-palette-item.h
src/glade-palette.c src/glade-palette.h
src/glade-placeholder.c src/glade-popup.c
src/glade-project-view.c src/glade-project.c
src/glade-property-class.c src/glade-property.c
src/glade-property.h src/glade-signal-editor.c
src/glade-signal-editor.h src/glade-signal.h src/glade-utils.c
src/glade-widget.c src/glade-widget.h src/glade.h src/main.c
widgets/bonobo.xml.in widgets/gnome.xml.in widgets/gtk+.xml.in:
Added glade-widget-adaptor.[ch], removed glade-widget-class.[ch].
Modified most sources to cope with the major api change.
2006-10-18 Vincent Geddes <vincent.geddes@gmail.com>
* Makefile.am: Update icon theme cache on uninstall.
* po/LINGUAS: new file
* configure.in: adapted to use LINGUAS file
2006-10-17 Vincent Geddes <vincent.geddes@gmail.com>
* COPYING: relicense pixmaps under GNU LGPL
* COPYING.GPL, COPYING.LGPL: new files
* Makefile.am: added license files to EXTRA_DIST.
2006-10-04 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated with general goals/tasklist.
2006-09-30 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project.view.[ch]: Added private data struct.
Removed notion of a GladeProjectViewType.
* src/glade-project-window.c: update for GladeProjectView changes
2006-09-29 Tristan Van Berkom <tvb@gnome.org>
* configure.in: bumping version to 3.1.0
* glade.h: include gaurd against libglade
2006-10-20 Jonas Berlin <jberlin@niksula.hut.fi>
* src/glade-parser.c: Fixed "-" / "_" mangling in translatable
string comments (bug 363598)
2006-09-29 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Rolling out 3.0.2 tarball.
2006-09-29 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-parser.[ch]: Renamed every function to avoid namming clash
with libglade (now Anjuta 2 can continue with glade3 plugin)
* src/glade-project.c: adapted to new functions names.
2006-09-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-property-class.c: fixed bug 353126
"glade3.0.1 lost icons in gtkmenuitem"
glade_property_class_make_object_from_string() now returns a new
pixfuf for each missing file name.
* src/glade-editor-property.c: make GladeEPropResource change property
value on focus-out event.
2006-09-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-builtins.[ch]: Added GLADE_TYPE_STOCK_IMAGE (and standard
pspec for it), this is stock items plus the additional "stock images"
from gtkstock.h (closing bug 353522).
* src/glade-editor-property.c: recognize new stock image pspec type.
* src/glade-gtk.c, widgets/gtk+.xml.in:
- Bulletproofed toolbar code wrt stock images (also use stock "images"
instead of items here)
- Use stock "images" for GtkImage
- GtkImage "type" property now defaults to "stock"
- GtkImage stock id now defaults to "gtk-missing-image"
- Ignore "enable-grid-lines" 2.10 property on treeview since
it causes crashes on load (fixes bug 353611)
- Added displayable values for "enable-grid-lines" 2.10 property
- Set some HIG-ish defaults on dialogs
2006-09-20 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-project.c reworked glade_project_update_comment()
update every line generated by glade (not just the first one)
2006-09-19 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-parser.[ch]:
o Removed function glade_interface_add_comment()
o Added new member comment to GladeInterface.
* src/glade-project.[ch]: fixed Bug 342889
"Put some comment telling about glade-3 in glade files"
o Added new function glade_project_update_comment().
o Added new member comment to GladeProject.
2006-09-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-property-class.[ch]:
o Added new member weight.
o glade_property_class_get_displayable_value() returns is now const.
* src/glade-editor-property.c: adapted to the new
glade_property_class_get_displayable_value() declaration.
* src/glade-editor.c: Fixed bug 345893. "Need to order
properties in the editor and widget-groups in the palette"
* src/glade-widget-class.c:
added glade_widget_class_properties_set_weight().
* src/glade-xml-utils.[ch]: added glade_xml_get_property_double().
* src/glade.h: added new tag GLADE_TAG_WEIGHT.
* widgets/gtk+.xml.in: set weight in several properties.
GtkWidget's tooltip, GtkBox packing properties, GtkButton GtkImage
2006-09-14 David Lodge <dave@cirt.net>
* configure.in: Addedd en_GB to ALL_LINGUAS
2006-09-13 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gnome.c:
o added support for removing a BonoboDockItem from BonoboDock.
o added missing g_return_if_fail() in several functions
* widgets/bonobo.xml.in: added glade_gnome_bonobodock_remove_item()
2006-09-12 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: GtkImage support improved. Finally no more
g_object_set_data() :)
* src/glade-project.c: Emit "parse-finished" after setting project's
loading flag.
* src/glade-property-class.[ch]:
make glade_property_class_make_object_from_string () returns a missing
image icon if resource file is not found. This also make glade do not
forget missing files.
* src/glade-gnome.c: fixed a silly warning in
glade_gnome_date_edit_post_create()
2006-09-08 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: added glade_gtk_combo_box_entry_get_internal_child()
Fixed bug 354716 "cut&paste ComboBoxEntry crashes Glade"
* widgets/gtk+.xml.in: added GtkComboBoxEntry's
get-internal-child-function.
* src/glade-gnome.c: added glade_gnome_date_edit_post_create()
Fixed bug 351589 "GnomeDateEdit widget displays time when it shouldn't"
* widgets/gnome.xml.in: added GnomeDateEdit's post-create-function
2006-09-06 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: Backing out multiple consecutive pastes from 3.0,
reopening bug 345603.
2006-09-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-base-editor.c, src/glade-gtk.c: small optimization, there is
no need to move a child if the new parent is the same as the old one.
(in GladeBaseEditor "move-child" signal handlers)
* src/glade-command.c: fixed a warnign in glade_command_delete_execute()
Widgets in the clipboard have no parents.
2006-08-28 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: Fixed bug 345075 "GtkPaned is invisible on load".
added new functions glade_gtk_paned_set_child_property() and
glade_gtk_paned_get_child_property().
* src/glade-editor.c: do not load invisible packing properties in
glade_editor_load_packing_page().
* widgets/gtk+.xml.in: GtkPaned support improved.
o Added new virtual child property "first".
o Added child-set-property-function and child-get-property-function
* src/glade-utils.[ch]: added convenience function
glade_util_object_is_loading()
* src/glade-editor-property.c: Fixed bug 352825 "segmentation fault when
saving after adding multiple accelerators to buttons"
set ACCEL_COLUMN_REAL_SIGNAL in key_edited() when a new slot is
appended and free string allocated by gtk_tree_model_get().
2006-08-24 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-utils.[ch]: Remove glade_util_uri_list_parse().
* src/glade-project-window.c: Rewrite gpw_drag_data_received()
(fixing bug 352458).
2006-08-23 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-widget-class.c: glade_widget_class_add_signals()
simplification.
* src/glade-signal-editor.[ch]: signal editor UI improved (bug 127149)
o Handler column now uses a GtkCellRendererCombo with inline entry
completion.
o added completion to User Data column.
o Lookup column disabled.
2006-08-22 Tristan Van Berkom <tvb@gnome.org>
* widgets/gtk+.xml.in, widgets/gnome.xml.in: Fixed non-translatable strings on many
properties: title of GtkFileChooserButton, GtkColorButton and GtkFontButton,
text of GtkEntry, GtkProgressBar and GnomeDruidPageStandard, title and text of
GnomeDruidPageEdge, all text properties of GtkAboutDialog.
(reported by Olivier Rolland)
* src/glade-editor-property.c, src/glade-property-class.c: Reverted to use
of floating point precision in adjustments - use non locale specific
functions to write them out - use non locale specific functions to write
out floats and doubles too.
2006-08-22 Changwoo Ryu <cwryu@debian.org>
* configure.in: Added ko in ALL_LINGUAS.
2006-08-21 Tristan Van Berkom <tvb@gnome.org>
* widgets/gtk+.xml.in: Fixed non-translatable strings GtkWindow "title" property
and GtkWidget "tooltip" property. (reported by Olivier Rolland)
2006-08-20 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: wrapping 3.0.1 tarball
* src/glade-palette.c: Fixed to not stick on class->toplevel widget classes,
this avoids segfaults when trying to add toplevels to placeholders.
2006-08-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-widget-class.c: sort signals alphabetically in
glade_widget_class_add_signals() (bug 352013)
* src/glade-palette.c: Palette can be locked as in glade2 with
CONTROL-Click (bug 303679)
2006-08-19 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c:
o Use Unicode characters where appropriate.
o Set website property for About dialog.
o Beefed up Projects menu. Added "Previous" and "Next" actions.
Removed the tab alignment.
* glade-3.desktop.in, src/main.c: Removed the "3" from the application
title.
* configure.in: Fixed typo.
2006-08-19 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.[ch]:
o Added glade_widget_remove_property ()
o Fixed textview segfault (bug 352054) by checking nulls from
gdk_window_get_user_data().
* src/glade-editor-property.c: Hide widget when no property loaded
* src/glade-editor.c: Fixed packing up so that invisible children
dont screw up the layout.
* src/glade-gtk.c: Removed "border-width" on action area and vbox
in GtkDialogs that expose them, also removed "spacing" on the
action area - these props are controlled by "content-area-border",
"button-spacing" and "action-area-border" style props on the dialog.
* src/glade-property.c: Added #if 0 debugging code.
2006-08-18 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-widget-class.c: glade_widget_class_list_signals () now list
signals implemented by interfaces.
Added gwc_iface_not_implemented_by_parent () and
glade_widget_class_add_signals().
2006-08-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml.in: Fixed expanders,
now there's always a placehodler when needed.
2006-08-17 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: Now you can paste widgets to your hearts content.
(bug 345603)
* src/glade-editor-property.c, src/glade-property-class.c:
Now adjustments are saved as decimal values instead of doubles
(glade-- code generator didnt like doubles... we'll create
adjustment objects anyway in the future builder).
2006-08-16 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-command.c: fixed bug 345604
"Pasting a widget does not paste the packing options"
* src/glade-property-class.[ch]: added transfer_on_paste property to
GladePropertyClass.
* src/glade-widget.[ch]: exported glade_widget_dup_properties()
* src/glade.h added GLADE_TAG_TRANSFER_ON_PASTE tag.
* widgets/gtk+.xml.in: set transfer-on-paste on corresponding packing
properties.
* src/glade-base-editor.c: fixed posible bug when emiting delete-child
signal.
2006-08-11 Tristan Van Berkom <tvb@gnome.org>
* configure.in, NEWS: Wrapping the 3.0 tarball.
2006-08-11 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/main.c, src/glade-project-window.c: Added --without-devhelp option
(for users suffering of DevHelp 0.11)
* src/glade-app.c, src/glade-popup.c: Fixed bug with contect menu on placeholders.
2006-08-11 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-project-window.c: Change 'Recent Projects' to 'Open Recent'
in menu.
2006-08-11 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Improved notebook code some more.
* src/glade-widget.c:
o Removed g_criticals in functions that return FALSE to signify not-found properties.
o Setup packing properties so they are available to the plugin at replace_child time.
* src/glade-project.c:
o Unparent all widgets before closing the project, this stops the recursive "destroy"
signal from happening and allows us to better manage the project widgets
(not to mention it avoids a buggy assertion from the GtkNotebook at
destruction time).
o Fixed a bug where loaded projects were never marked with unsaved changes
(since loaded propjects were infinately project->loading == TRUE).
* src/glade-command.c: Fixed bookkeeping of special-child-type when redoing
a paste command.
* src/glade-project-window.c: Updated the about dialog for the 3.0 release.
2006-08-10 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Fixed glade_util_get_placeholder_from_pointer to
work for notebook tabs.
* src/glade-gtk.c, widgets/gtk+.xml.in: Reworked to simplify code and
reduce alot of code.
* src/glade-utils.c: Now use the toplevel to get the mouse coordinates
for the placeholder searching.
2006-08-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Now check if placeholders are GTK_WIDGET_MAPPED()
before returning them, since placeholders "overlap" inside notebooks.
* src/glade-command.c: bookkeeping on "special-child-type" for cut/copy/paste
consistancy.
* src/glade-gtk.c, widgets/gtk+.xml.in: Tons of code added to manage notebooks.
* src/glade-widget.c: Change the order of an if statement (avoid
comparing irrelevent memory).
2006-08-09 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-editor-property.c: GladeEPropText simplification.
Fixed a bug were each time a text property was loaded one byte per
multibyte character was lost.
2006-08-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-cursor.c: Use GTK_IS_WINDOW() instead of GTK_IS_TOPLEVEL since
GTK_IS_TOPLEVEL seems to return TRUE for some GObjects. (was getting
crashes using a custom widget catalog because of this).
2006-08-09 Yevgen Muntyan <muntyan@tamu.edu>
* src/glade-project.c: glade_project_new_widget_name() strips trailing digits from
base_name argument, so glade_project_new_widget_name("blah1") is "blah2".
* src/glade-widget.c: Make sure the newly duplicated widget gets a new unique
name.
2006-08-08 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-app.c: reworked glade_app_command_paste () placeholders can
not be selected anymore.
* src/glade-command.c: in glade_command_cut_copy_paste_common () we try
to use the placeholder which has the pointer over it first.
Fixed bug 349494 "Unable to paste widget into other empty placeholder
than the first one".
* src/glade-fixed.[ch]: add new property "use-placeholders".
* src/glade-gtk.c: set "use-placeholders" for GtkBox and GtkTable.
* src/glade-popup.c: reworked glade_popup_create_placeholder_menu () and
glade_popup_placeholder_paste_cb (), placeholders do not get selected
anymore.
* src/glade-utils.[ch] glade_util_selected_placeholder () removed,
added glade_util_get_placeholder_from_pointer ().
2006-08-08 Vincent Geddes <vincent.geddes@gmail.com>
* src/glade-gtk.c: GtkDialog's main vbox now has 2 placeholders
instead of 3.
* src/glade-3.pc.in: Change description field to
"Glade Interface Designer".
* glade-3.desktop.in: Enable startup notification.
2006-08-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-project-view.c: Added widget search in project view treeview
(close bug 349860)
2006-08-04 Tristan Van Berkom <tvb@gnome.org>
* src/glade-placeholder.c: No more selection on placeholders.
2006-08-04 Vincent Geddes <vincent.geddes@gmail.com>
* doc/catalogintro.sgml, doc/children.sgml, doc/gladeui-docs.sgml,
doc/tmpl/glade-app.sgml, doc/tmpl/glade-fixed.sgml,
doc/tmpl/glade-palette.sgml, doc/tmpl/glade-project.sgml,
src/glade-editor.c: Fixed spelling and formatting typos.
* src/glade-palette.c: Add documentation.
* widgets/glade-catalog.dtd: Removed xml document tag
(DTD expressions are not xml). Add 'toplevel' attribute to
'glade-widget-class' attribute list.
* widgets/gtk+.xml.in: Change default widget
properties (in line with HIG).
o The scrolling policies of GtkScrolledWindow are now
GTK_POLICY_AUTOMATIC.
o The GtkDialog 'has-separator' property is now set to FALSE.
o The GtkFrame 'shadow-type' property is now GTK_SHADOW_NONE.
* src/glade-gtk.c: Changed glade_gtk_frame_post_create(). By default,
GtkFrame's are now more HIG compliant.
* pixmaps/22x22/Makefile.am: Another icon.
2006-08-02 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-fixed.c, src/glade-utils.[ch]: fixed bug 348570
"GladeFixed drag/resize "sticks"" added glade_util_set_grabed_widget()
* src/glade-gtk.c: fixed bug 348964
"Double-clicking in a TextView hangs Glade3" added callback to stop
GtkTextView's double clicks.
2006-08-01 Clytie Siddall <clytie@riverland.net.au>
* src/glade-project-window.c: Fixed typo in the about dialog.
2006-07-28 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: Fixed a GtkImage loading bug. (more cleanup)
* widgets/gtk+.xml.in: renamed GtkImage "glade-stock" and "stock"
set-functions to make it more understandable.
2006-07-27 Vincent Geddes <vgeddes@metroweb.co.za>
* pixmaps/16x16/Makefile.am, pixmaps/22x22/Makefile.am: More icons.
2006-07-27 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: Fixed small bug in glade_gtk_image_post_create()
glade-image-post-ran must be set if the widget was created by the user.
2006-07-27 Tristan Van Berkom <tvb@gnome.org>
* src/glade-fixed.c:
o Drags now move scrolled windows around if the fixed widget happens to
be in a scrolled window.
o New we can add a widget to a fixed inside a table
o Fixed bug where signals were not disconnecting when children
were deleted/cut from GladeFixed parents.
* src/glade-editor.c: Refined tooltip text a little.
* TODO: Updated
2006-07-26 Vincent Geddes <vgeddes@metroweb.co.za>
* pixmaps/16x16/Makefile.am, pixmaps/22x22/Makefile.am: More icons.
* src/glade-gtk.c: fix compiler warning.
* src/glade-palette.c: document a function.
* src/glade-project-window.c:
o Increase border width of property editor window.
* src/glade-utils.c: Changed implementation of
glade_util_widget_set_tooltip(). All tooltips are now
stored in only one GtkTooltips object.
* src/glade-editor.c:
o Removed scrolled window from signal editor page.
o All pages (except signal editor page) are now packed into an
alignment instead of a vbox.
o Class field now displayed using a non-editable entry.
o Modified the utility buttons at the bottom of the editor.
Devhelp button now uses the "devhelp" named icon if available.
o Lots of other minor ui changes.
2006-07-26 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-base-editor.c, src/glade-editor-property.c:
adapted to the new glade_command_set_property() prototype.
* src/glade-command.[ch]: changed prototype of
glade_command_set_property(), added glade_command_set_property_value()
* src/glade-fixed.c: do not call gtk_widget_grab_focus() in
glade_fixed_event() it makes widgets fight for the focus on some
situations.
* src/glade-gtk.c: GtkEntry and GtkTextView support improved.
Now text property can be edited from the instance itself.
2006-07-25 Vincent Geddes <vgeddes@metroweb.co.za>
* po/*.po: converted translations to utf8: da es ms nn pl pt ru sv ta tr
2006-07-25 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project.c: Dont require that an object be "toplevel" to be
saved, just that it has no parent (toplevel means that it can _only_
be top-level, and gwidget->parent == NULL means that it _happens_ to
be top-level.
* src/glade-cursor.c: Hacked the cursor code to violently set cursors
on all visible project widgets, this fixes bug 348657.
* src/glade-placeholder.c: Reset cursor after creating a widget.
* src/glade-command.c: glade_command_push_group () now formats its own string.
* src/glade-base-editor.c: simplify code by letting glade_command_push_group ()
format its own string.
* src/glade-fixed.c, src/glade-gtk.c: Added cuter names for undo/redo items
pertaining to drag/resize.
* TODO: Updated.
2006-07-25 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: Fixed bug 347850 "Selection Bug consequence"
* src/glade_widget.c: check added in glade_widget_event_private ()
Some synthetic events (like focus-change) dont come with a window.
* widgets/gtk+.xml.in: ignore GtkEntry editable property
2006-07-25 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: GtkBox can now have 0 items without freezing/crashing
(bug 347149)
* TODO: Updated.
2006-07-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: Fixed bug 348369 "GtkImage doesnt load properly"
* src/glade-parser.c: Fixed bug 342889
"Put some comment telling about glade-3 in glade files"
2006-07-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.c:
o Use gtk_widget_get_pointer on the event widget
to retrieve the mouse position, not gdk_window_get_pointer on any
arbitrary event widget of that window.
o Removed some debug prints.
* src/glade-fixed.c:
o Use gtk_widget_get_pointer() where we were using gdk_window_get_pointer().
o Use gtk_widget_translate_coordinates() for child coordinates (some widgets
like GtkEntry dont respect gtk_widget_get_pointer(), we trust containers only).
* src/glade-gtk.c, widgets/gtk+.xml.in:
Added text-view handling of virtual "text" property (bug 347961)
* src/glade-command.c: disabling the debug print.
* TODO: Updated
* doc/gladeui-sections.txt, doc/gladeui-docs.sgml: updated.
2006-07-19 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.[ch]: Bookkeep colours for insensitive tooltips in
a theme friendly manner.
* src/glade-gtk.c, widgets/gtk+.xml.in: expose internal entry of
GtkComboBoxEntry (bug 346649).
2006-07-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Fixed jumpy focus widget bug (bug 347851)
* src/glade-palette-item.c, src/glade-project-window.c, src/glade-widget-class.c:
"s/== TRUE/!= FALSE/g" (musnt be checking for litteral truths, that is error
prone).
2006-07-14 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: Fixed bug 346139
"GTK warns of multiple widgets contained in a button with an image"
Simplified GtkButton and GtkImage, Glade3 no longer tries to "remember"
properties values (Undo/Redo should be enougth)
2006-07-13 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/Makefile.am: added files glade-base-editor.[ch]
* src/glade-accumulators.[ch]: new accumulators
glade_string_accumulator() and glade_stop_emission_accumulator ()
* src/glade-app.c, src/glade-project.c and src/glade-command.c:
use of GladeWidgetClass toplevel flag.
* src/glade-gtk.c: Use of GladeBaseEditor for GtkMenuBar, GtkToolBar
and GtkMenu editors.
* src/glade-marshallers.list: added OBJECT:OBJECT,UINT
BOOLEAN:OBJECT,UINT BOOLEAN:OBJECT,OBJECT and STRING:OBJECT
* src/glade-property.[ch]: Added old_value parameter to GladeProject
"value_changed" signal.
* src/glade-widget-class.[ch]: added toplevel flag to GladeWidgetClass
* src/glade.h: added GLADE_XML_TAG_TOPLEVEL
* src/glade-base-editor.[ch]: Created GladeBaseEditor class from
GtkMenuBarEditor code from glade-gtk.c
* widgets/gtk+.xml.in:
o added launch-editor-function for GtkToolbar and GtkMenu.
o Set GtkTextView post-create-function to empty (we do not need a
placeholder in it).
o Set toplevel="True" in GtkWindow and GtkMenu.
* doc/widgetclasses.sgml: added toplevel property docs
* po/POTFILES.in: added src/glade-base-editor.c
2006-07-06 Vincent Geddes <vgeddes@metroweb.co.za>
* pixmaps/16x16/Makefile.am, pixmaps/22x22/Makefile.am:
Added new icons.
* src/glade-widget.class.c, src/glade-cursor.c:
Rework custom cursor code.
2006-07-06 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Check for --disable-gnome arg.
2006-07-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-builtins.[ch]: fixed bug 343712
"Gnome stock items not recognized by glade-3"
Added glade_standard_stock_append_prefix () and reworked/optimized
glade_standard_stock_get_type ()
* src/glade-catalog.c: make every catalog init function be called before
loading any of them.
* src/glade-gnome.c: Added GNOME stock items using gtk_stock_add () in
glade_gnomeui_init ()
* src/glade-project.[ch]: fixed bug 345353
"Implement "finish" signal on GladeProject"
* src/glade-gtk.c: removed idle functions, replaced conecting to
GladeProject::parse-finished signal.
2006-06-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project.[ch], src/glade-command.[ch]: Major rework underway,
phase one complete: Move undo/redo stack logic from glade-command to glade-project
and add a "changed" signal on the project ("update-ui" is fired also anytime
the "changed" signal is fired).
* src/glade-app.c, src/glade-project-window.c: small changes to accomadated afore
mentioned api changes.
* src/glade-marshallers.list: Added new signal VOID:OBJECT,BOOLEAN
* src/glade-command.c:
o Added "#if 0" debugging code and removed an old comment that doesnt make
sence anymore.
o Now refresh packing properties in set-property commands, as we keep a
reference to the GladeProperty, which may be reset on the GladeWidget in
question when added to a child.
* src/glade-gtk.c: Removed a large complex code segment in
glade_gtk_table_set_child_property() that in the end wasnt needed at all.
2006-06-25 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.[ch]:
o gtk_window_set_decorated() all GtkWindows (bug 344817)
o Fixed glade_widget_rebuild(), now properties of internal widgets to composite
widgets' properties get transported along.
o Fixed popups to only get spawned by the widget in question
and not an unknown internal child.
o Added widget superuser modes (used by the backend to check when
its responsable for maintaining container sizes).
o glade_widget_rebuild () fixed so that properties on rebuilt internal
children are transfered.
* src/glade-project.c: let glade-widget take care of property superuser mode
at load time.
* src/glade-fixed.ch: connect_after on button_press to give a chance to
the selection
* src/glade-command.c: Fixed unifies for properties (check that they
are on the same widgets).
* src/glade-gtk.c:
o GtkBox check superuser mode to adjust box size
2006-06-25 Vincent Geddes <vgeddes@metroweb.co.za>
* widgets/glade-catalog.dtd: Added 'default-palette-state'
element and attribute declarations.
* widgets/gtk+.xml.in, widgets/gnome.xml.in:
o Obsolete widget groups are now marked as unexpanded in the
palette by default.
o Add support for GtkIconView.
* src/glade-catalog.[ch], src/glade-palette.c:
o Add support for parsing 'default-palette-state' catalog tag.
o GladePalette now sets the expanded state for widget groups
from glade_widget_group_get_expanded().
* glade-3.desktop.in: Add "GenericName" field, set
to "User Interface Designer".
2006-06-25 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.[ch]:
o Added proxy signals for events used by parenting GladeFixed objects,
this way they recieve the event via the "event" signal, and therefore
earlier on in the food chain.
o Call ->setup_events() recursively in glade_widget_connect_signal_handlers()
(now we get all needed events from internal children of composite widgets)
* src/glade-fixed.[ch]:
o Reduced code by using gtk_widget_get_pointer ()
o Adjusted to use the new signals on GladeWidget
o Removed the redundant override of ->setup_events vfunc.
* src/glade-marshallers.list: Added BOOLEAN:BOXED type for event signals.
* src/glade-property.c: Fixed 'unifies' in set propery commands to compare
property widgets.
2006-06-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Fixed a crasher in the menu-editor
(when a widget name changes and we recieve the project's signal,
deffer the treeview update to an idle func to avoid the crash).
* src/main.c: Pass FALSE to gtk_get_option_group() and call gtk_init (NULL, NULL)
later on; this way we pass --version without any display (fixes 339265)
* src/glade-widget.[ch], src/glade-property.c:
o removed glade_widget_is_dupping(), use glade_property_[push/pop]_superuser()
for that purpose.
o Unset drag source / drag dest on GladeWidget objects.
* TODO: Updated.
* doc/gladeui-sections.txt: Updated
* doc/Makefile.am: Ignoring some headers.
* configure.in: Package name is now glade3-2.91.3 and not glade-3-2.91.3,
this conforms with gnome server scripts and matches the cvs name and
bugzilla name.
2006-06-23 Vincent Geddes <vgeddes@metroweb.co.za>
* src/main.c:
o Changed application name to "Glade 3"
o Destroy GladeProjectWindow object before exiting.
* src/glade-app.c:
o Fix compiler warning (invalid pointer assignment)
* src/glade-project-window.c:
o Remove WINDOW_TITLE macro. The application name
can now be retrieved by calling g_get_application_name()
o Change format of window title text.
o The window title and statusbar messages now inform users
of a project's read-only status.
* glade-3.desktop.in:
o Changed "Name" field to "Glade 3 Interface Designer".
o Changed "Comment" field (more in line with HIG).
o Changed "Icon" field from "glade-3.png" to "glade-3"
o Added "X-GNOME-Bugzilla" fields.
2006-06-23 Tristan Van Berkom <tvb@gnome.org>
* src/main.c: Check for NULL GError return locations from
g_option_context_parse () (when it returns FALSE).
* src/glade-gtk.c: Fixed undo/redo of GtkBox children drags.
* src/glade-editor-property.[ch]: Added a weak reference to the
GladeProperty and clear itself when the GladeProperty goes away,
also ditch the "closed" handler for projects, projects closing will
result in GladeProperty finalizing if all goes well.
(btw, this fixes a crash when the user hits cancel in a query dialog).
* src/glade-property.c: Dont call verify funcs in superuser mode
* src/glade-command.c: Now unification/collapse of multiple properties
works seemlessly
* src/glade-editor.c, src/glade-editor-property.c: Added docs.
* src/glade-property-class.c: compare 'packing' in glade_property_class_match().
* src/glade-widget-class.c: Fix compiler warnings.
2006-06-22 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade-widget-class.[ch] Create cursors for adding widgets
* src/glade-cursor.c: when setting "add" type... lookup the widget_class
cursor.
* pixmaps/Makefile.am: added plus.png
2006-06-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-palette.c: 's/g_return_if_fail/g_return_val_if_fail/'
* src/glade.h, src/glade-builtins.h: Only the forward declaration
goes in glade.h.
* src/glade-widget-class.c, widgets/gtk+.xml.in:
Fixed inheritance of the "->fixed" member in glade_widget_class_merge().
* src/glade-gtk.c: improved drag inside GtkBox... TODO: reorder children
properly so that undo/redo works.
* src/glade-fixed.c: Fixed updates to fixed->mouse_[x,y] on configures.
2006-06-20 Vincent Geddes <vgeddes@metroweb.co.za>
* src/Makefile.am: Added glade-palette-item.[ch],
glade-palette-box.[ch] and glade-palette-expander.[ch]
to build sources.
* src/glade.h, src/glade-builtins.[ch]: Declare an enum
GladeItemAppearance and define a GType for it.
* src/glade-palette.[ch]: Entirely reworked. new API.
* src/glade-app.c, src/glade-fixed.c,
src/glade-placeholder.c: Recognize new palette API.
* src/glade-project-window.c: Added UI functionality
to support features in the new palette.
2006-06-20 Tristan Van Berkom <tvb@gnome.org>
* TODO: Added bugs 345438, 303679 and 345470 to the blockers.
2006-06-19 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml.in: Used the gtknotebook page
property to negotiate pages when editing tabless notebooks
(this property is not used correctly by libglade anyway... as it
would be set before any pages are added).
2006-06-19 Vincent Geddes <vgeddes@metroweb.co.za>
* pixmaps/Makefile.am: Rework for new icons.
* configure.in: Add new Makefiles for output.
* src/glade-clipboard-view.c, src/glade-project-view.c:
o Treeview widgets now use 16x16 icons.
o More padding between icons and widget labels.
* src/glade-palette.c: Now uses 22x22 icons.
* src/glade-widget-class.[ch]:
o Widget classes now have a 16x16 'small' icon and a
22x22 'large' icon.
o Abstract widget classes do not need to have icons.
* src/glade-project-window.c: fix memory leak in
gpw_save_as ().
2006-06-19 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-signal.c: fixed bug 345209
"glade 3's signal naming inconsistent with glade 2's"
2006-06-19 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated.
2006-06-16 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.[ch]: Added glade_property_[push/pop]_superuser()
* src/glade-command.c: refined set_property_execute() and started using
glade_property_push/pop_superuser().
* src/glade-project.c: super-user property mode at load time.
* src/glade-fixed.c: Added "can-resize" property
* src/glade-widget-class.c: Made sure to parse a "Fixed" if there are no
other child tags.
* src/glade-gtk.c, widgets/gtk+.xml.in: Implemented drag on GtkBox children
2006-06-14 Tristan Van Berkom <tvb@gnome.org>
* doc/catalogintro.sgml: fixed typos
* src/glade-command.c: Removed unneeded "if"
* src/glade-fixed.[ch]: connect/disconnect child now takes GObject arg
instead of GladeWidget (for cases of widget rebuilds), removed redundant
variables
* src/glade-gnome.c, src/glade-gtk.c: changed glade_widget_class_container_add
to glade_widget_add_child()
* src/glade-widget.c:
o Fixed glade_widget_rebuild() in regards to using the
_add_child()/_remove_child() api and visibility.
o Fixed more event related selection bugs (by retrieving the mouse
pointer with window_get_pointer())
o Fixed GladeWidgetDataTag to use the quark everywhere
2006-06-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget-class.c: Vincent pointed out compile errors on gcc 4.x,
fixed.
* src/glade-gtk.c: Simplified table code a little bit, improved table
rezising when shrinking left/up with full-table widgets.
* src/glade-utils.c: Fixed the module load code to report errors better
(and dont check system paths for the module, only the glade-3 modules dir.
* widgets/gtk+.xml.in:
o Reorganized groups to be more usefull and logical
o Made widgets visible by default and toplevels invisible by default
* TODO: Updated.
2006-06-11 Tristan Van Berkom <tvb@gnome.org>
* src/glade-placeholder.c: Dont fight with parenting GladeFixed widgets
for setting the cursor
* src/glade-fixed.c: Fixed event handling, now fixed inside fixed inside
fixed with child widgets with or without thier own windows and events
that come from parent widgets... all of this seems to be working perfectly.
* src/glade-gtk.c: Keep the same row/col span when performing a drag
2006-06-11 Yevgen Muntyan <muntyan@tamu.edu>
* src/glade-project-window.c: Normal menu items for property
editor, palette, and clipboard (now they only "show" windows, making
them accessable with less clicks.
2006-06-11 Tristan Van Berkom <tvb@gnome.org>
* doc/tmpl/*: updated
* src/glade-fixed.[ch], src/glade-widget.[ch]:
Improved, now made replace_child a vfunc... fixed some
event related bugs.
* src/glade-gtk.c, widgets/gtk+.xml.in: Added free-form placement
for GtkTable widget.
* src/glade-utils.c: added glade_util_deep_fixed_event(), used to
propagate events down to fixed containers that dont have windows.
* src/glade-project-view.c: now double clicks show project widgets,
and never hide them.
2006-06-10 Tristan Van Berkom <tvb@gnome.org>
* src/glade-fixed.c:
o Fixed bug that was using uninitialized data to configure children at load time.
o Fixed that we were not disconnecting signals from removed children (doh)
o Now you can have a GladeFixed inside a GladeFixed, in any hierarchical order
you wish, the cursor updates properly in regard to the rules:
- Add sign with class selected on the palette
- Only direct children may be used for drag/resize, or thier direct child
placeholders in turn, cursor will display correctly in those cases.
o Changed the way we retrieve the mouse position in child events, so that
we dont rely on the nature of the properties.
* src/glade-widget.c:
o Use event widget and not signal widget to use with
gtk_widget_translate_coordinates(), this fixes the imfamous bug 327379
o Recurse through non-project objects when looking for widget at mouse event;
this fixes the internal widget selection bug (bug 338894).
* src/glade-placeholder.c: Placeholders dont ever get selection anymore, its
only confusing for no reason, adds extra clicks to select relevent widgets
(note that every second click was going to the parent; making the parent
fight with the placeholder for selection... since its pointless, its gone).
* src/glade-catalog.c: Removed g_debug()
* TODO: Updated
2006-06-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-fixed.c:
o Fixed "paste at mouse position"
o Fixed cursors a bit... event handling a bit too
* src/glade-placeholder.c: Special case fixed stuff for now,
so that drag/resize works at least from deep placeholders.
* src/glade-widget.c: Touched the event handling code.
2006-06-09 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am, po/POTFILES.in: Made changes for changed files.
* src/glade-fixed.[ch]: The new GladeWidget derived free form placement
support object.
* src/glade-fixed-manager.[ch]: Removed.
* doc/catalogintro.sgml: made mention of new 'fixed' property on
'glade-widget-class' tag
* doc/gladeui-sections.txt, doc/Makefile.am,
doc/tmpl/*, doc/gladeui.types: Updated for file changes.
* src/glade-app.c, src/glade-command.c, src/glade-gnome.c, src/glade.h:
Changed for new apis in glade-widget and glade-fixed.
* src/glade-gtk.c:
o Changed for new apis in glade-widget and glade-fixed.
o Restructured, now *all* class supports are listed class
by class
* src/glade-property-class.h: Fixed docs.
* src/glade-widget-class.[ch]:
o Added glade_widget_class_query ()
o Added glade_widget_class_create_widget ()
o Added glade_widget_class_create_internal ()
* src/glade-widget.[ch]: API is stablizing now... lots of cleanup done,
added construct properties used in the constructor to create properties and
runtime instances.
* widgets/gtk+.xml.in:
o Toolbars expand=False by default in GtkVBoxes
o GtkPaned now works a little stabler
o GtkFixed/GtkLayout marked 'fixed'.
2006-06-07 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml.in:
o Reverting the simplification of gtkbox, the regression was that the box
placeholders were not adjusting properly on undo/redo of create/delete/cut/paste
commands.
o Fixing GtkFixed/GtkLayout to not call glade_gtk_container_add/remove_child for
its children.
* src/glade-command.c: Slight simplifications made.
* src/glade-fixed-manager.c: Temporary evil externing untill GladeWidget
migration is complete.
* src/glade-widget.[ch]: Completely reworked file structure and changed
a few things:
o button_press_event() vfunc now available to be called on mouse clicks
of the said widget.
o added container api abstraction provided by fixed manager and reffitted
for my anticipated integration
2006-06-06 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: fixed double free in glade_command_add_signal_finalize()
* src/glade-signal-editor: Fixed signal editor to truely delete handler/userdata
when it previously only appeared to.
2006-06-06 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml.in:
o Fixed segfaults on color-button
o Fixed color-button & font-button (dropped unused properties)
o Fixed initial label text on buttons (and subclass defaults)
* src/glade-widget-class.c: Only GtkWidgetClass descendants have
accelerators.
* TODO: Updated for 3.0 blockers.
2006-06-05 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c, src/glade-builtins.h, src/glade-keysyms.c:
o Added submenues to the accel key combo.
o Make accel dialog cell-renderer-combo have an entry
o avoided segfaults in strcmp
o a little easier to remove accelerators.
o use g_utf8_collate() to compare translated strings.
2006-06-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* widgets/gtk+.xml.in: Added GtkToolItem child support to GtkToolbar and
new widgets classes GtkToolItem, GtkSeparatorToolItem, GtkToolButton,
GtkMenuToolButton, GtkToggleToolButton and GtkRadioToolButton.
* src/glade-gtk.c:
o added GtkToolbar support functions.
o cleanup glade_gtk_menu_shell_get_child_property() and
glade_gtk_menu_shell_set_child_property() functions.
o tried to make Menu editor UI prettier separating a bit
name/type from properties.
2006-06-05 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated
* src/Makefile.am, src/glade-keysyms.c: Added autogenerated keysyms
(but not autogenerating them at the moment).
* src/glade-builtins.[ch]: Added GLADE_TYPE_ACCEL_GLIST, GLADE_PARAM_SPEC_ACCEL
and some convenience funcs.
* src/glade-editor-property.c: Added GladeEpropAccel.
* src/glade-editor.c: take accel props into account
* src/glade-parser.c: Make strings for GdkModifierType in dump_widget.
* src/glade-property-class.c, src/glade-widget-class.c:
o Now you can get the GladeWidgetClass from the GladePropertyClass
o Added string conversion from GladeParamSpecAccel properties
(but vise versa)
o GladeWidgetClassSignal --> GladeSignalClass, not GSignalQuery struct
is included too.
* src/glade-property.c, src/glade-widget.c: Load/save support for accel properties.
2006-06-03 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade-project-window.c, src/glade-app.[ch],
src/glade-utils.[ch]:
o Fix for bug 337959.
o Application menus now marked for translation
* src/main.c, glade-editor-property.c:
o Fixed memory leaks.
o stdlib.h now included on all platforms
2006-06-03 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c, src/glade-editor.c:
o Now bookless classes' info buttons are shown insensitive.
o No info buttons on query dialogs.
* Many files: changed "== TRUE" to be "!= FALSE"
* src/glade-project-window.c: Action groups now assigned a
translation domain for application menus.
2006-06-02 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.c: Fixed segfault on widget copying.
2006-06-02 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c, widgets/gtk+.xml.in: removed support functions from
GtkBox... it all still works.
2006-06-02 Thierry Moisan <thierryn@videotron.ca>
* Fixed spelling mistakes in alot of sources (bugs 342972 & 343087)
2006-05-28 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am: Added -mwindows to glade3_LDFLAGS in win32 compile mode
* src/glade-xml-utils.c: Fallback on default namespace when searching
funcs from the catalog (this seems to only be needed in windows builds)
* src/glade-utils.c: glade_util_have_devhelp() fixed with better warning messages
and the function was returning -1 (TRUE) when there was no devhelp in the
program path (*doh*).
2006-05-22 Tristan Van Berkom <tvb@gnome.org>
* po/POTFILES.in: Added gnome catalog relevent files for translation.
* src/glade-devhelp.[ch]: Removed.
* configure.in, src/Makefile.am: shuffled, devhelp removed
* src/glade-project-window.c, src/glade-utils.[ch]: implement
devhelp search as `devhelp -s \"search string\"`. (spawn it)
2006-05-22 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am, widgets/Makefile.am: Installed unwanted garbage
to pass distcheck.
* src/glade-devhelp.c: Navigational buttons insensitive at startup.
* src/glade-catalog.c: Unexposed a private function.
* src/glade-xml-utils.c: made alloc_string glade_xml_alloc_string,
alloc_propname: ditto.
* src/glade-property.c, src/glade-signal.c:
Adjustemtnts made for glade-xml api above
* src/glade-widget.c:
o Adjustemtnts made for glade-xml api above
o Properties applied to new objects in two steps now,
code around build_object cleaned up... now build_object
used also in load code.
2006-05-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade.h, src/glade-catalog.c, src/glade-widget-class.[ch]:
catalog book specifications now on widget classes
* src/glade-editor.c, src/glade-editor-property.c: Now get the
book name directly from the widget class.
* doc/catalogintro.sgml: documented added "book" property.
* widgets/bonobo.xml.in: added gnome catalog dependancy
* widgets/gnome.xml.in, widgets/gtk+.xml.in: Added book specifications.
2006-05-17 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* configure.in: added check for GnomeUI libs (PKG_CHECK_MODULES)
* widgets/Makefile.am: New catalogs added (bonobo.xml gnome.xml)
* widgets/bonobo.xml.in: Created new catalog for libbonoboui.
* widgets/gnome.xml.in: Created new catalog for libgnomeui.
* widgets/canvas.xml.in: empty file just to declare the module.
GnomeCanvas is declared in gnome catalog.
* widgets/gtk+.xml.in: added GtkMenuItem "stock-item" property.
o added glade_gtk_box_get_internal_child()
o disabled GtkLayout's hadjustment and vadjustment properties.
* src/Makefile.am: added gladegnome conditional build.
* src/glade-builtins.[ch]: added glade_standard_pixbuf_spec(),
glade_standard_gdkcolor_spec() and glade_standard_uint_spec().
Fixed stock order in glade_standard_stock_get_type()
* src/glade-editor-property.c: added G_PARAM_SPEC_VALUE_ARRAY
support to GladeEPropText.
* src/glade-gnome.c: New support file for gnome/bonobo catalogs.
* src/glade-gtk.h: Created to include it in others plugings.
* src/glade-gtk.c:
o added GtkMenuItem stock-item property.
o Moved GladeGtkImageType and GladeGtkButtonType to glade-gtk.h
o Moved GLADE_CREATE_USER block from idle function to
glade_gtk_button_post_create()
* src/glade-project.c: fixed bug in glade_project_resource_fullpath()
project->path could be NULL.
* src/glade-property-class.c: added G_PARAM_SPEC_VALUE_ARRAY
support in glade_property_class_make_string_from_gvalue() and
glade_property_class_make_gvalue_from_string()
2006-05-15 Tristan Van Berkom <tvb@gnome.org>
* configure.in:
o Bumping required devhelp version to 0.12 (current devhelp cvs)
o Removed unused var HAVE_DEVHELP (since WITH_DEVHELP is what is actually used)
o Bumped version to 2.91.3 (for anjuta to get the devhelp 0.12 requirement
correctly).
2006-05-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: bullet-proofed glade_util_read_prop_name().
* src/glade-editor-property.c: Make label inside eventbox visible
by default, and dont show the info button by default.
* src/glade-gtk.c: Root out the evil calls to gtk_widget_show_all ()
(for contextual devhelpish bugs). and plugged a leaked GladeEditorProperty.
2006-05-05 Tristan Van Berkom <tvb@gnome.org>
* doc/Makefile.am: Applied patch for bug 340692
* src/glade-command.c: glade_command_set_property (), return if
the command doesnt change the property.
* src/glade-editor-property.c: GladeEPropText, if string property is NULL
and we recieve "" from the entry, set the property to NULL, if we get
NULL from the entry and the property is "", then set the property to
"", otherwise set the property to the entry text. (this fixes 339832)
* src/glade-property.[ch]: constified GValue argument to
glade_property_equals_value ().
2006-05-05 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Fixed up GtkTable to not refresh placehlolders when
doing a glade_gtk_table_replace_child() replacing a placeholder with
a GladeWidget (only the other way around), this way placeholders are
preserved during the operation of pasting multiple widgets to a GtkTable
(and each pasted widget has its own seperate place in the table).
* src/glade-command.c: Fixed "props recorded" marker to be marked on a per
widget basis, this was causing only one widget in a list of pasted widgets
to have its newly introspected packing props recorded (now they are all
recorded)
* src/glade-popup.c: Create insensitive 'paste' items when the clipboard
has no selection.
* src/glade-editor.[ch]: Insensitive "Documentation" and "Reset" buttons when
no widget is loaded.
2006-05-03 Tristan Van Berkom <tvb@gnome.org>
* doc/gladeui-sections.txt: updated.
* doc/Makefile.am: Ignome glade-devhelp.h
* src/glade-devhelp.c: Fixed glitch with radio button notebook
tab emulator.
* src/glade-editor-property.c: Fixed invisible check buttons for
optional properties
* src/glade-project-window.c: Moved the devhelp creating code into
glade_project_window_create() where it belongs, now devhelp is
invisible by default.
* src/glade-utils.c:
glade_util_get_hbuttons --> glade_util_get_devhelp_hbuttons.
2006-05-01 Tristan Van Berkom <tvb@gnome.org>
* doc/gladeui-docs.sgml: actually add the "abstract" section.
* src/glade-devhelp.c: Improved ui, put navigational buttons on top since
I seem to intuitively always look there for them.
* src/glade-utils.c:
o Fixed return without value warnings
o Print the error from GModule when it fails.
2006-05-01 Tristan Van Berkom <tvb@gnome.org>
* doc/gladeui-docs.sgml: put me as an author, removed the introductory
chapter and added its content as the "abstract".
* src/glade-editor.c: Fixed a visibility bug on the class & name entries.
* src/glade-devhelp.[ch], src/glade-utils.c:
o Added navigational buttons (forward, back)
o Gained realestate by hiding the notebook tabs and putting search &
document buttons along side the navigational buttons.
o Added api to return a list of buttons in the hbox
* src/glade-project-window.c:
o Get the buttons and put them in a size group with the expand/collapse
buttons (to align the plugin buttons in the project window).
o Now default on the gtk+ reference manual and put a "documentation"
help menu item pointing to the glade builder documentaiton.
2006-04-30 Vincent Geddes <vgeddes@metroweb.co.za>
* Glade now installs theme friendly icons (GNOME Goal #2)
2006-04-30 Yevgen Muntyan <muntyan@tamu.edu>
* src/glade-project-window.c: fixed bug 339855
(recent project ordering) and bug 339249.
2006-04-30 Tristan Van Berkom <tvb@gnome.org>
* configure.in, src/Makefile.am, src/glade-paths.sh.in:
o Cleanup build in src/Makefile.am
o Now build and install a devhelp module if a usable version
of libdevhelp is available
* src/glade-devhelp.[ch]: A loadable devhelp dockable widgets
built into a plugin module.
* src/glade-app.c, src/glade.h: Added a global for glade_plugins_dir.
* src/glade-project-window.c, src/glade-utils.[ch]:
o Detect if there is a devhelp plugin installed and load the
devhelp window into the project window in a paned window
with the project view
o Added an option to completely hide the devhelp window (but it comes
back in full window if a devhelp button is pressed.
* src/glade-editor.c: Beautified the editor (added alignments and
a gtk-clear icon for the reset button
2006-04-28 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c:
o Put "Documentation" button on the right
o Now searches should end up at the page index instead
of the "struct GtkWidget;" index (for example).
o Fixed bug in show/hide_context_info()
* src/glade-project-window.c:
Added "View->Context Help" Option
2006-04-27 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.[ch]: Added info buttons and
apis to enable/disable them + signals emitted to say what
doc book, page and searchstring should be used
* src/glade-editor.[ch]: Same as glade-editor-property
* src/glade-utils.c: Added functions for detecting and launching devhelp
* src/glade-project-window.c: Check if we have devhelp installed; if we do
then show help buttons and launch devhelp upon "gtk-doc-search" signals
* pixmaps/devhelp.png, pixmaps/Makefile.am: Added devhelp book icon
* src/glade-app.c: Replace a gtk_widget_show_all with a gtk_widget_show
on the editor (to avoid needlessly showing hidden buttons).
* src/glade-project.c: translated property nicks and blurbs.
* src/glade-property-class.[ch]: Added 'virtual' member and resolve
it at initialization.
* src/glade-widget-class.c: use g_build_filename instead of
g_strdup_printf for icon loading.
2006-04-26 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Relesed 2.91.1, now we are working on 2.91.2
2006-04-26 Tristan Van Berkom <tvb@gnome.org>
* NEWS: Updated for snapshot release
2006-04-25 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am: added atk.xpm to $(libgladeuiinclude_HEADERS)
* doc/gladeui-sections.txt: Updated with new apis.
* widgets/gtk+.xml.in: Listed all atk action properties needed for the gtk
catalog.
* src/glade-property-class.c, src/glade.h:
o Added GLADE_TAG_ATK_ACTION & GLADE_TAG_ATK_PROPERTY tag support and
stripped out introspection on atk properties.
o Synonymous '-' and '_' in property names at catalog load time.
* src/main.c: backed out the "GTK_MODULES=$GTK_MODULES:gail" module loading thing.
* src/glade-widget.c: Synonymous '-' and '_' in glade_widget_get_[packing_]property().
2006-04-25 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am: added atk.xpm to $(libgladeuiinclude_HEADERS)
* doc/gladeui-sections.txt: Updated with new apis.
* widgets/gtk+.xml.in: Listed all atk action properties needed for the gtk
catalog.
* src/glade-property-class.c, src/glade.h: Added GLADE_TAG_ATK_ACTION &
GLADE_TAG_ATK_PROPERTY tag support and stripped out introspection on atk
properties.
* src/main.c: backed out the "GTK_MODULES=$GTK_MODULES:gail" module loading thing.
2006-04-25 Tristan Van Berkom <tvb@gnome.org>
* src/glade-builtins.c: Allowed negative custom integer specs.
* src/glade-palette.c: Removed notion of class->in_palette
* src/glade-widget-class.[ch]: Removed notion of class->in_palette and
cleaned up the parsing of generic_name and widget titles.
(modifies muntyan's patch on bug 336594).
2006-04-25 Johannes Schmid <jhs@cvs.gnome.org>
* src/glade-project.c: Fixed crasher because of read-only check where
project could be NULL.
2006-04-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Fixed load & save of internal buttons
* src/glade-property.[ch]: Added glade_property_load()
(to introspect property values on internal children of composite
widgets at creation time).
* src/glade-widget.c: introspect property values on internal children of composite
widgets at creation time
2006-04-24 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated
* doc/gladeui-sections.txt updated
* src/glade-app.[ch]: Majorly reduced the api, now GladeApp is a
singleton. Added "active-project" signal.
* src/glade-builtins.[ch]: Removed unused variable. Enhanced objects
pspec type to recognize interfaces. Added glade_param_spec_objects_get_type()
* src/glade-clipboard-view.c: Trying a cute border.
* src/glade-command.c, src/glade-fixed-manager.c,
src/glade-placehodler.c, src/glade-popup.c, src/glade-project-view.c,
src/glade-project-window.c:
Updated for glade-app changes
* src/glade-editor-property.c: Implemented objects pspec
* src/glade-editor.[ch]: Added atk tab, added cuteness.
* src/glade-gtk.c:
o Translated image type names
o Added button types (translated)
o Support for button label & use-underline properties
* src/glade-parser.c:
o Updated for glade-app changes
o Added save support for atk actions and relations.
* src/glade-project.c:
o Updated for glade-app changes
o Fixed glade_project_fix_object_props for object lists
* src/glade-property-class.[ch]:
o Hardcoded atk relations and action names
o Added glade_property_class_make_gvalue(),
glade_property_class_get_from_gvalue(),
glade_property_class_new_atk_action(),
glade_property_class_list_atk_relations(),
glade_property_class_atk_realname()
o Fixed glade_property_class_is_object()
(object lists qualify)
* src/glade-property.[ch]:
o Integrated property load proceedure into glade-property,
loading code much cleaner and less redundant.
(Added glade_property_read())
o Implemented atk properties (save/load)
* src/glade-utils.[ch]: Added glade_util_read_prop_name(),
glade_util_added_in_list(), glade_util_removed_from_list(),
glade_util_class_implements_interface()
* src/glade-widget-class.c: Introspect atk properties
* src/glade-widget.c: Simplified load code, moved property load
code to glade-property, save atk props properly.
* src/glade.h: Removed the unused atk-relation tag.
* src/main.c: Load gail (for atk action introspection)
* src/atk.xpm: New atk icon
* widgets/gtk+.xml.in:
o GtkLabel label property --> translatable
o GtkButton label property --> translatable, multi-line
o Added GtkButton "type" property and GtkButton remove-child-function
2006-04-19 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-editor-property.c: Simplified code and added comments
* src/glade-property-class.c: Fixed possible deadlock in
glade_property_class_make_string_from_flags
* src/glade-widget.c: Enhanced trace output
* widgets/gtk+.xml.in: Disabled some pointless/obsolete properties.
2006-04-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Open file in "a+" mode and not "w", which was
truncating the file only to check if it was writable ( ! doh ! )
* src/glade-widget.[ch]:
o Added GladeCreateReason argument to glade_widget_new_for_internal_child(),
now internal children get post create functions called for them.
o Fixed bug 336581 (apply internal widget names at load time).
* src/glade-gtk.c:
o Added per dialog support for dialog buttons (get_children(),
get_internal_child() && create internals in post_create()) (Fixing bug 337196)
o Added #include "config.h" for GETTEXT_PACKAGE, now glade-gtk shares the same
domain as libgladeui-1.
* widgets/gtk+.xml.in: Removed redundant declaration of glade_gtk_dialog_post_create()
in the GtkMessageDialog, added "get-children-function" support to GtkDialog.
* doc/Makefile.am: Added webdocs target to tailor docs for the web (to cross-link
to the developer.g.o api docs properly).
* doc/gladeui-sections.txt, doc/tmpl/*: Updated sections for new apis
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove obsolete entry for no_NO.
* po/no.po: And the translation.
2006-04-11 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Fixed broken build (I commited with an error
of undefined W_OK for g_access), now we actually try to open the
file for writing to see if its writable.
* doc/catalogintro.sgml: Added a bit about the new init-function by Juan.
2006-04-10 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade-project-window.c:
o Manage the sensitivities of all the ui actions.
o Fix some issues with the Undo & Redo actions.
* src/glade-project.[ch]:
o Detect if project file is read-only. New property "read-only"
o Detect if project has a selection. New property "has-selection"
* src/glade-clipboard.[ch]:
o Detect if clipboard has selected items to paste.
New property "has-selection"
* src/glade-utils.h: New function: glade_util_file_is_writeable ().
* src/main.c:
o Use glib instead of libpopt for command-line parsing.
o Added '--version' option.
o Do not try to open non-existent files supplied
on command-line.
* configure.in: Remove libpopt dependency.
2006-04-04 Yevgen Muntyan <muntyan@tamu.edu>
* src/glade-project-window.c: Removed GDK_WINDOW_TYPE_HINT_UTILITY hint from
palette, as this does weird things like remove it from the tab list on
some window managers.
* src/glade-catalog.c: Fixed possible segfault by assigning GError * to NULL.
2006-04-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-editor-property.c: new GladeEditorProperty class
GladeEPropAdjustment.
* src/glade-gtk.c: removed old GtkSpinButton adjustment support.
added glade_gtk_spin_button_set_adjustment ().
* src/glade-property-class.c: added support for GtkAdjustment
properties.
* widgets/gtk+.xml.in: added default adjustment values for
GtkSpinButton and GtkRange. Disabled GtkViewport and
GtkScrolledWindow adjustment properties.
2006-04-04 Tristan Van Berkom <tvb@gnome.org>
* doc/catalogintro.sgml: Updated docs to reflect the recently implemented
installation method.
* src/glade-project-window.c: Refitted Yevgen Muntyan's patch on bug 336579
to apply for "Save" as well and applied (also enhanced saving untitled projects
when prompted at close time).
* src/glade-widget.[ch]: Added glade_widget_is_dupping()
* src/glade-property.c: Dont call verify functions if the project is
loading or there is a widget recursive dup happening.
* src/glade-property-class.h: Clarified docs
* src/glade-gtk.c: Removed obsolete call to glade_project_is_loading() in
a verify function.
2006-04-04 Yevgen Muntyan <muntyan@tamu.edu>
* configure.in, src/Makefile.am, src/glade-3.pc.in:
New pc file for extention libraries to find where to install there catalogs,
pixmaps and library.
* src/glade-widget.[ch]: Added a "parent_name" argument to
glade_widget_new_for_internal_child(), create internal widget names
accordingly.
* src/glade-gtk.c: Adjusted callers to glade_widget_new_for_internal_child().
2006-04-03 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-catalog.c: Added GladeCatalogInitFunc so you could define a function
to be executed before instantiating any catalog's object.
* src/glade-project-view.c: glade_project_view_populate_model now shows toplevels
in the right order.
* src/glade-property.c: fixed a bug in glade_property_write_impl which prevented
properties with an empty string as value being saved.
* src/glade-utils.[c/h]: new function glade_util_load_library() moved from
glade_widget_class_load_library()
* src/glade-widget-class.c: glade_widget_class_load_library() replaced with
glade_util_load_library()
* src/glade.h: added tag GLADE_TAG_INIT_FUNCTION.
2006-03-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Removed idle handler hack that has
been obsoleted by Vincent's smarter one-line patch.
* src/glade_project.c: glade_project_open() fixed segfault
on open faiure.
* src/glade-property-class.[ch]: Added glade_property_class_void_value()
* src/glade-widget.c: when creating new objects; ignore voided defaults
using glade_property_class_void_value() (and finally added myself as
an author).
* src/glade-editor-property.c: Fixed segfaults & assertions when dealing
with NULL colors in GladeEPropColor.
* widgets/gtk+.xml.in: Dont save virtual "pages" property on notebook,
if we dont need it in glade-2 files we dont need it period.
2006-03-29 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade_project.c: glade_project_changed() should not set
project->changed if project is still in process of being loaded.
2006-03-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Call gtk_container_set_focus_[vh]adjustment()
to fix keynav in the editor.
2006-03-21 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Made file chooser ENTER activate the open/save
button (using gtk_dialog_set_default_response).
2006-03-20 Tristan Van Berkom <tvb@gnome.org>
* doc/children.sgml: Added a bit about anarchist children
* doc/widgetclasses.sgml: Removed the notion of get_anarchist_children()
* doc/gladeui-sections.txt: removed undefined symbols
* doc/tmpl/*: auto-updates templates.
* src/glade-gtk.c: Updated to use the new glade_widget_new_for_internal_child
API
* src/glade-widget-class.[ch], src/glade.h: Removed notion of anarchist children
* src/glade-widget.[ch]: Added "anarchist" property and "anarchist" argument
to glade_widget_new_for_internal_child() (only internal children can be
anarchists).
* src/glade-project-view.[ch]: Dramaticly reworked, now each project has its
own metadata struct where signal ids and project view state is stored,
project signals now are only disconnected at project close time.
The open treeview leafs and scrollbar positions are now saved/restored
when switching active projects.
* src/glade-project-window.c:
o Translated window title
o Fixed a bug where the loaded project title apears as
unsaved.
* src/glade-utils.c: Added comments, changed 'char' --> 'gchar'
* widgets/gtk+.xml.in: Removed mention of the get_anarchist_children func,
override the get_children func for GtkCombo to additionally return the
combo->list member (which is an anarchist child).
Also added a gtk_container_remove remove-function for GtkListItem since
it seemed to be empty and causing errors.
* src/glade-project.c:
o Fixed glade_project_write() to count the required libs in the GList
before freeing the GList (was SEGFAULT on save of any projects useing
extra libs).
o Made glade_project_display_name() take a "mnemonic" arg... to escape
any underscores when setting the display name in a mnemonic label.
o Fixed a bug where projects with required added libs where segfaulting
at save time.
2006-03-15 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade-project.c: Improved name generation for new empty projects.
* src/glade-utils.c: Enable overwrite confirmation in FileChooser dialog
2006-03-15 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c, src/glade-project.[ch]: Tweaked the
project list to look more aligned with unsaved changes indicated
(using tab charachters); also reverted to print the project path
in the status bar as a tooltip (as this is the only indication as
to which project is which).
* src/glade-widget-class.[ch], src/glade.h: Removed glade_widget_class_get_all_children,
now glade_widget_class_get_children returns all desired children, including
orphan ararchist internal children.
* src/glade-editor-property.c, src/glade-project-view.c, src/glade-project.c,
src/glade-widget.c, src/glade-utils.c: Adjusted callers for
glade_widget_class_get_children.
* src/glade-gtk.c, widgets/gtk+.xml.in: Adjusted backend, removed obsolete
get_internal_children funcs and added the appropriate get_anarchist_children.
* doc/tmpl/*, doc/gladeui-sections.txt: Added new symbols... removed old ones.
* doc/widgetclasses.sgml: added a bit about
get-anarchist-children-function
2006-03-15 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade-project-window.c:
o Reimplemented code for management of projects list menu.
o Projects with unsaved changes have a '*' prepended to their names.
o Refresh window title when all projects have been closed.
* src/glade-project.c: New GObject property 'has-unsaved-changes'.
glade_project_changed() will now emit notify signal for this property.
* src/glade-app.c: change order in which projects are added to list of
open projects in glade_app_add_project().
2006-03-14 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property-class.c: Removed a ridiculous line of
code that was making all container class properties recognized
as packing properties (overlooked from my previous rework in
that area).
2006-03-01 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.[ch], src/glade-widget.[ch]: Added
"catalog_default" arg to glade_property_new() and adjusted callers.
* src/glade-property-class.[ch]: Ensure that there are always
->def and ->orig_def members resolved.
2006-03-01 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c:
o GtkBox loading issues fixed.
o Removed unused code from: glade_gtk_table_has_child and
glade_gtk_table_refresh_placeholders.
* src/glade-widget.c:
o Ignore properties properly when creating the object.
(glade_widget_params_from_widget_info and
glade_widget_build_object functions)
o Use the introspected default value for properties when
loading a project. glade_widget_properties_from_widget_info
* widgets/gtk+.xml.in: Avoid warnings.
o Ignore GtkWidget has-default property.
o Ignore GtkComboBox active, column-span-column and row-span-column properties.
2006-02-27 Vincent Geddes <vgeddes@metroweb.co.za>
* src/glade-utils.c: Added file filters "All Files" and "Glade Files"
to FileChooser Dialog.
* src/glade-project-window.c: FileChooser save dialog uses 'project->name'
or 'project->path' as initial selected filename so that dialog is more
intuitive to user.
2006-02-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c:
o Added packing property recording mechianism to create/delete
commands (was only there for Cut/Paste).
o Call glade_widget_create_packing_properties after calling
glade_widget_class_container_add()
* src/glade-gtk.c, widgets/gtk+.xml.in:
o Removed unused code from glade_gtk_table_add_child()
o Added support funcs glade_gtk_container_add/remove_child()
* src/glade-property-class.c: Removed unused function: gpc_load_function
(now uses glade-xml-utils implementation)
* src/glade-widget.[ch]: exposed glade_widget_create_packing_properties()
2006-02-23 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated list
* doc/glade-sections.txt: Updated list
* doc/tmpl/*: updated templates from source
* src/glade-builtins.[ch]: Implemented GladeParamSpecObjects and
GLADE_TYPE_GLIST boxed type (intended use for AtkRelation properties).
* src/glade-command.c, src/glade-gtk.c: Fixed refcounting for placeholders.
(updated code for glade_widget_new () also)
* src/glade-project-window.c: Fixed parenthesis in complex statement.
* src/glade-property-class.[ch]:
o Added support for atk property detection & GladeParamSpecObjects.
o Added some more logic that belonged here and was in glade-widget-class.c
o Fixed "make gvalue from object" logic to not leak a reference to a pixbuf
(it doesnt crash with pixbuf manipulation... not sure if we dont leak pixbufs
though).
* src/glade-property.c: Simplified code (and fixed limitation of optional properties
to integer inputs... now any property can be optional).
Added implicit case to ignore atk_properties
* src/glade-widget-class.c: Deffered some logic to glade-property-class and simplified
code; also added support for atk properties.
ATK: Disabled for now, not completely implemented... needs save support in glade-property
and edit support in GladeEditorProperty... just needed to sync CVS for all the other
relevent work.
* src/glade-widget.[ch]: glade_widget_new () takes a boolean query arg now
* src/glade-xml-utils.[ch]: now has glade_xml_load_sym_from_node()
(it makes sence here because we have access to the xml node structs; so we
can debug around here a little easier).
* src/glade-editor-property.c: Added prelimenary support for GladeParamSpecObjects
(readonly view of glade_widget_class_make_string_from_gvalue() ).
* src/glade-fixed-manager.c: Adjusted caller to glade_widget_new().
* src/glade.h: added "atk-relation" tag definition.
2006-02-21 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Packing GladeEditorProperties were being loaded
with "use-command" = FALSE, fixed.
2006-02-21 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c: fixed bug 325791.
Various GtkTable and GtkBox support fixes.
(added glade_gtk_table_verify_*_attach, glade_gtk_box_set_child_property
and glade_gtk_box_remove_child functions)
* src/glade-command.c: fixed bug 330305.
Added glade_command_placeholder_destroyed() destroy handler.
* src/glade-project.[ch]: added loading state to projects,
glade_project_is_loading()
* widgets/gtk+.xml.in: added GtkTable child-set-property-function,
replace-child-function and attach child properties.
Added GtkBox remove-child-function and child-set-property-function.
2006-02-15 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Emergency commit for broken cvs.
2006-02-14 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated the list.
* src/glade-widget.c: Fixed bug in glade_widget_dup_internal ()
(stupid typo of mine when fixing 320077)
* src/glade-utils.[ch]: Removed all the Cut/Copy/Paste/Delete
stuff, now all in GladeApp.
* src/glade-app.c:
- Moved the bulk of code from glade-utils to
glade-app (cut/copy/paste/delete) since it was confusing to
see the chain of events, it should be simpler overall now.
- Revamped glade_app_config_save() to report errors smoothly
(fixes bug 310141)
* doc/glade-sections.txt, doc/tmpl/*: Adjusted doc structure
for new apis and removed old apis.
* src/glade-project-window.c: Now the statusbar message shows the
correct project name after "Save As...".
2006-02-13 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: No more glade_util_ui_message(), deffer that
to callers, g_critical() messages added where inapropriate states
are detected.
* src/glade-utils.c: Take some responsability when calling glade_command
for Cut/Copy/Paste/Delete.
* src/glade-widget.c: Documented some functions, special-cased GtkWindow
in glade_widget_dup_internal(), replicating copied GtkWindow "run-time"
sizes (bug 320077).
Removed useless special-cased call to gtk_widget_show_all() also in
glade_widget_dup_internal(); showing widgets is taken care of in
glade_widget_show().
2006-02-10 Tristan Van Berkom <tvb@gnome.org>
* doc/*.sgml, doc/tmpl/*.sgml: Finished writing up short and long
descriptions for all generated docs, also fixed up main page a bit.
2006-02-09 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Glade 3.0 --> Glade-3
* doc/tmpl/*.sgml, doc/*.sgml, src/*.c: Massive doc updates,
migrated some doc from sgml into source files.
2006-02-08 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Require gtkdocize 1.4
* doc/Makefile.am: Ignore glade-popup.h
* doc/children.sgml, doc/gladeui-docs.sgml, doc/tmpl/glade-app.sgml,
doc/tmpl/glade-project.sgml, doc/tmpl/glade-widget.sgml: Doc updates.
* src/glade-project.c: Made project signals have object type args for
GladeWidgets (of type GLADE_TYPE_WIDGET).
* src/glade-widget.c: GladeWidget GType is now registered as "GladeWidget"
and not "Gladewidget".
2006-02-08 Tristan Van Berkom <tvb@gnome.org>
* doc/Makefile.am,
Added Files: doc/gladeui-docs.sgml, doc/gladeui-overrides.txt,
doc/gladeui-sections.txt, doc/gladeui.types,
Removed Files: doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types:
Making doc module called "gladeui" instead of "glade" to represent the
libgladeui library, mostly just to make sure we have namespace wherever
we install (since "glade" docs could concievably come from libglade, glade-2
or whatever), these are the initial revisions of these files anyway, so
no need to surgically move the cvs history.
2006-02-07 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.c: Fixed up blurbs on installed properties
* src/glade-editor-property.c: Added tooltips on i18n dialog.
* configure.in: Now really bumping the required GTK+ to 2.8
2006-02-07 Tristan Van Berkom <tvb@gnome.org>
* autogen.sh: require automake 1.9
* Makefile.am, doc/Makefile.am, doc/.cvsignore, configure.in:
Added environment for gtk-doc generation.
* doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types,
doc/version.xml.in, doc/tmpl/*: Added initial documentation
metadata.
* src/*.h: Line break LIBGLADEUI_API everywhere so that documentation
generation works (wierd trade, I know).
* po/POTFILES.in: Added glade-custom.c
2006-02-06 Clytie Siddall <clytie@riverland.net.au>
* configure.in Added vi in ALL_LINGUAS line.
2006-02-03 Tristan Van Berkom <tvb@gnome.org>
* TODO: Updated (removed bugs 317949, 329514 and 324389 from list).
* src/Makefile.am: Added glade-custom.[ch] to the libgladeui library.
* src/glade-fixed-manager.c: Fixed comment
* src/glade-placeholder.c: Removed redundant code
* src/glade-property.c: Added myself as an author since I rewrote this
file as an object.
* src/glade-custom.[ch]: New files, custom widget derivatives to emulate
custom widgets as provided by glade 2 (fixes bug 317949)
* widgets/gtk+.xml.in: added Custom widgets to the obsolete group.
* src/glade-editor-property.c:
- Added glade_editor_property_commit which fixes bug 329514.
- Fixed conflict in sensitivity and enabled for optional properties
(noticably, now optionaly defaulted to disabled properties show
up insensitive untill you check them).
- Enhanced title of object selection dialog.
* src/glade-project-window.c: Filtered out cut/copy/paste accelerators
from the editor window (fixing bug 324389).
2006-02-01 Tristan Van Berkom <tvb@gnome.org>
* TODO: Added bug 329514 to blockers.
* widgets/adding-widgets.txt: Added technical notes for get-function and
verify-function
2006-01-31 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-gtk.c:
o glade_gtk_menu_editor_reorder () fixed, so you can move a
submenu item into the menubar.
o glade_gtk_menu_bar_append_new_item () now sets "stock"
property.
o glade_gtk_menu_editor_is_child () item has to be a
GtkMenuItem. (this prevents treeview to be refresh when adding
an image to an item :)
* widgets/gtk+.xml.in: added new GtkMenuBar displayable values
for properties child-pack-direction and pack-direction.
2006-01-30 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project.c: Fixed a stupid segfault typicly
in strcmp().
* TODO: first go at blockers for glade-3 beta release.
2006-01-28 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: GladeEPropFlags now shows
treeview directly in editor - Mikael Hermansson
* src/glade-project.[ch]: Removed "resource-updated" signal,
added "resource-added" signal, now resource signals seem to
be working more logicly (but there will be no signal fired when
a resource's contents is overwritten from a different source).
2006-01-26 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Relesed 2.91.0, now we are working on 2.91.1
2006-01-26 Tristan Van Berkom <tvb@gnome.org>
Applied spelling/grammer fixes by Adam Weinberger.
2006-01-25 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* glade-app.c: undo/redo buttons cleanup.
Use of "destroy" signal instead of week pointers and
use update-ui default handler to update buttons.
* glade-project-window.c: glade_project_window_update_ui() chain up
with GLADE_APP_CLASS update-ui handler.
2006-01-25 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Bumping required gtk version to 2.8
2006-01-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: use glade_project_display_name (),
reverted transientness for glade-3 application
* src/glade-command.c: Dont spam the stack with fake name
changes.
* src/glade-editor-property.c: Added return check
* src/glade-gtk.c: Use glade_widget_copy_properties to
transfer prop values on type-changing menu items,
menu-editor --> modal window.
* src/glade-project.[ch]: Added glade_project_display_name ()
* src/glade-property-class.[ch]: Assign pspec->owner_type when
parsing pspecs, added glade_property_class_match ()
* src/glade-widget.[ch]: Made glade_widget_copy_props exposed to
glade_widget_copy_properties and rewrote it (also redistributed
some g_critical()s ).
2006-01-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* glade-app.[ch]: glade_app_[undo/redo]_button_new()
new functions to create undo/redo buttons which are updated
automatically.
* glade-gtk.c: glade_gtk_table_has_child() improved
(bug 325791 still open, now the glade file loads right
but editing packing properties of GtkTable children still
does not remove/add placeholders accordingly)
undo/redo buttons added to MenuBarEditor
2006-01-24 Tristan Van Berkom <tvb@gnome.org>
Reverted last change by Lluis since it introduced a bug in
copy/paste/create/delete undo/redo items.
2006-01-24 Lluis Sanchez Gual <lluis@novell.com>
* glade-utils.c: Created glade_util_is_toplevel, which replaces
calls to GTK_WIDGET_TOPLEVEL and works for embedded windows.
* src/glade-command.c, src/glade-popup.c, src/glade-widget.c:
Use glade_util_is_toplevel instead of GTK_WIDGET_TOPLEVEL.
2006-01-24 Raphael Higino <raphaelh@cvs.gnome.org>
* configure.in: Added pt_BR to ALL_LINGUAS.
2006-01-23 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project.c: Fixed broken resource pool & wrote some doc.
Now save the "<required lib="..."/> catalog requirements to the
glade file and complain when loading glade files that demand
unavailable catalogs.
* src/glade-widget-class.[ch]: Added widget_class->catalog
* src/glade-catalog.[ch]: Added glade_catalog_is_loaded (), call
gwc_new with catname arg.
* src/glade-parser.c: Added glade_util_ui_message error messaging
when having errors loading glade files.
* src/glade-project-window.c: Removed redundant error message.
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: Fixed nasty segfault when
property signal connections get leeked (no more leeks).
* src/glade-gtk.c: Added comments
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property-class.c: Fixed broken pixbuf properties :)
* src/glade-widget.[ch]: Added glade_widget_has_launcher &
glade_widget_launch_editor.
* src/glade-parser.c: Fixed segfault (oops).
* src/glade-editor.c: Use glade_widget_has_launcher &
glade_widget_launch_editor (now "Edit..." button comes up
for custom editors in the ancestry).
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-parser.[ch]: Implemented load/save of "translatable",
"context" and "comments" attributes on properties (atk or not)
* src/glade-property.c, src/glade-widget.c: Doing our part to load
and save i18n information (fixing bug 325628)
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-signal.c: Load userdata/object field from parser
info onto the GladeSignal object properly (fixed bug 326715).
2006-01-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c: Removed chdir code
* src/glade-command.c: Remember original project in paste commands
* src/glade-editor-property.c: GladeEPropPixbuf becomes GladeEPropResource, now
it interfaces with the glade-project resource control stuff.
* src/glade-gtk.c, src/glade-property.c:
fixed for new syntax of glade_project_add_object()
* src/glade-project-window.c:
o Manage project menuitems and "merge-id" outside of glade-project.
o New api glade_util_ui_message
* src/glade-project.[ch]:
Added "resource-update"/"resource-removed" signals and functions:
o glade_project_set_resource ()
o glade_project_list_resources ()
o glade_project_resource_fullpath ()
Removed:
o glade_project_get_menuitem ()
o glade_project_get_menuitem_merge_id ()
Now a new "old_project" parameter to glade_project_add_object ()
* src/glade-property-class.[ch], src/glade.h:
o Added support for "resource" tag in catalogs
o Resource file path substituting when generating gvalues
(modified glade_property_class_make_gvalue_from_string API).
* src/glade-utils.[ch]:
o Enhanced version of glade_util_ui_message
o glade_util_copy_file () added
* src/glade-widget.c: Adjusted for new version of
glade_property_class_make_gvalue_from_string
* widgets/adding-widgets.txt: Updated manual for resource tag.
2006-01-20 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Added glade_util_canonical_path ()
* src/glade-project-window.c: Use project->path instead of user
provided path in recent files.
* src/glade-project.[ch]: Use glade_util_canonical_path () for
a clean project full path.
2006-01-17 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c: Fixed bug where widgets weren't selectable
if multiple projects were loaded (also removed G_END_DECLS from
the end of this C file).
2006-01-17 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.[ch]:
o Revert changes "free all GladeEditorTable"
from Juans last patch; editor tables are *not to be freed*,
instead they are instantiated once per class and juggled
throughout the application (my bad for not noticing this in
advance).
o Catch GladeProjects "close" signal and clear the editor.
* src/glade-gtk.c: Shut up a compiler warning
* src/glade-project-view.[ch]: Catch GladeProjects "close" signal and
detatch the GladeProjectView.
* src/glade-editor-property.[ch]: Catch GladeProjects "close"
signal and drop the loaded GladeProperty.
* src/glade-app.c: in glade_app_remove_project(), now simply
g_object_unref() the removed project and let the universe
adjust itself.
2006-01-17 Tristan Van Berkom <tvb@gnome.org>
* src/glade-parser.[ch], src/glade-project.c:
Integrated patch from Lluis Sanchez to simplify GladeInterface
creation.
* src/glade-widget.c: enhanced some documentation.
2006-01-15 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Reverted latest change on GtkTable
2006-01-15 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-project.[ch]: New project signal "close".
* src/glade-app.c: glade_app_remove_project() unrefs project
resulting in "close" signal being fired for cleanup purposes.
glade_project_new_from_interface() now set the project status
(changed flag) in a low priority idle function, this makes
safe to use idle functions (normal priority) in plugins.
glade_project_set_accel_group() removes old accel group.
(bug 316104)
* src/glade-widget.c: glade_widget_build_object() skip object
properties with NULL values.
glade_widget_params_from_widget_info() skip properties
that should be ignored.
* src/glade-editor.[ch]: free all GladeEditorTable (widget,
packing and common) when loading page.
(ie in glade_editor_load_widget_page)
* src/glade-gtk.c: RadioMenuItem support.
GtkMenuEditor reorder bug fixed.
MenuEditor is not modal anymore. (to access to undo/redo)
glade_gtk_table_has_child() fix, widgets in a table can occupy
more than one row/column. (bug 325791)
Fixed label "use-underline" property at load time. (bug 325801)
* src/glade-widget-class.c: segfault fixed when merging
RadioMenuItem class in glade_widget_class_merge_properties()
* widgets/gtk+.xml: new GtkMenuShell packing property "position".
Set GtkWidgetClass's "sensitive" property to be ignored.
2006-01-13 Tristan Van Berkom <tvb@gnome.org>
* widgets/adding-widgets.txt: Updating document phase two.
2006-01-12 Tristan Van Berkom <tvb@gnome.org>
* widgets/adding-widgets.txt: Updating document phase one.
2006-01-09 Tristan Van Berkom <tvb@gnome.org>
* po/POTFILES.in: Made widgets/gtk+.xml --> widgets/gtk+.xml.in (doh).
2005-12-27 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: glade_command_cut_copy_paste_common(); fixed
"project" source in case of `type == GLADE_PASTE'
* src/glade-editor-property.c: Clean up compiler warnings, removed useless
mnemonic label.
* src/glade-project.[ch], src/glade-property.c, src/glade-widget.[ch]:
Implemented references on widgets from object properties, object properties
are automaticly set to NULL when the target object is removed from its
project, an undo will result in the object being re-added to the project;
and its reffered properties to be reset to thier previous value.
2005-12-27 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: Added GLADE_TYPE_EPROP_OBJECT (object properties)
* src/glade-parser.[ch]:
o Exported new function: glade_parser_pvalue_from_winfo()
o Removed duplicate implementation of alloc_string & alloc_propname
* src/glade-project-view.c: Will display toplevel widgets which are not
nescisarily GtkWidgets.
* src/glade-project.c, src/glade-widget.c: Implemented a kick-start so
that object properties are loaded/looked up after the whole project
is finished loading.
(glade-widget.c: Added glade_widget_has_decendant)
* src/glade-property-class.[ch]:
o Added object support to glade_property_class_make_gvalue_from_string &
glade_property_class_make_string_from_gvalue
o Added glade_property_class_is_object, glade_property_class_make_gvalue_from_vl &
glade_property_class_set_vl_from_gvalue.
* src/glade-property.[ch]:
o Added documentation
o Added glade_property_equals_value, glade_property_equals_va_list & glade_property_equals
* src/glade-gtk.c: Removed unneeded radio button "group" property support
(handled genericly as an object property)
* widgets/gtk+.xml.in: Disabled alot of irrelevent object type properties,
removed the custom "group" property on radio buttons.
2005-12-16 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.[ch]: Implemented command grouping and
nested command grouping.
Added glade_command_next_undo_item, glade_command_next_redo_item,
glade_command_push_group and glade_command_pop_group.
* src/glade-project-window.c: GladeCommand description in undo/redo toolbar
buttons, use glade_command_next_undo_item, glade_command_next_redo_item
2005-12-15 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget-class.c: Made some code simplifications and
fixed a possible segfault.
2005-12-14 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-app.c: glade_app_set_project() Sets the
current/working directory to the project's directory.
* src/glade-builtins.c: Added glade_standard_boolean_spec().
* src/glade-editor-property.c: New Glade Editor Property Class
GladeEPropPixbuf. (GdkPixbuf properties)
* src/glade-gtk.c: GtkMenuBar Load/Save Support + editor.
GtkImage loading fixes. glade_gtk_image_set_icon_name().
GtkLabel added glade_gtk_label_set_label().
* src/glade-project-window.c: Added About icon.
* src/glade-project.c: glade_project_new_from_interface() make
project's path always absolute.
* src/glade-property-class.c: Added pixbuf property support in
glade_property_class_make_string_from_gvalue() and
glade_property_class_make_gvalue_from_string().
* src/glade-property.c: Added pixbuf property support in
glade_property_set_va_list() and glade_property_get_va_list().
* widgets/gtk+.xml: New classes. GtkMenuItem GtkCheckMenuItem
GtkImageMenuItem and GtkSeparatorMenuItem.
2005-12-14 Tristan Van Berkom <tvb@gnome.org>
* src/glade-keys-dialog.[ch], src/glade-menu-editor.[ch], src/Makefile.am:
obsolete old menu-editing attempt removed.
2005-12-14 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Added da, fr, nb and sk to ALL_LINGUAS
* po/[da, fr, nb, sk].po: updated po files
2005-12-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-xml-utils.c: glade_xml_get_value() now checks for
underscore varients of tag names since they are not stripped
from widget catalogs.
glade_xml_get_value_string() Now fixed to not call claim_string()
since this is already done by glade_xml_get_value().
* src/glade-property-class.c: Removed special case code that
is now handled for all tag names in glade-xml-utils
2005-12-11 Tristan Van Berkom <tvb@gnome.org>
* po/POTFILES.in: Added missing sources & added gtk+.xml
* src/glade-builtins.c: Fixed a stooopid bug.
* src/glade-catalog.c: Translated widget groups
* src/glade-gtk.c: Removed useless property support.
* src/glade-project-window.c: Fixed compiler warning (miscast)
* src/glade-property-class.c: Translated disaplayable-values
and property class names
* src/glade-widget-class.c: Translated widget class names
* widgets/.cvsignore: Added generated file gtk+.xml
* widgets/Makefile.am: Added @INTLTOOL_XML_NOMERGE_RULE@ and
CLEANFILES = gtk+.xml
* widgets/gtk+.xml (to be renamed to gtk+.xml after surgery):
marked tooltips, displayable values, property names, widget titles
and widget group titles for translations.
* po/*.po: Updated po files with new strings to translate.
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: Now multi-line text inputs scroll automaticly
(bugzilla 316232)
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Implemented a hack to hijack key-press-event on
the editor window in order to avoid deleting widgets when deleting charachters
in the property editor.
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Fixed crashes when pressing Save with
no open projects.
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
* widgets/gtk+.xml: Defaulting GtkCurve curve-type to type spline, due
to a GTK+ bug where setting the property before realization causes
a crash.
2005-12-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-builtins.[ch]: Added glade_standard_strv_spec
* src/glade-gtk.c: Added Combo Box support
* widgets/gtk+.xml: Added Combo Box & Combo Box Entry support,
also added tooltips on some virtual properties.
2005-12-08 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml: Added support for GtkCombo, GtkList, GtkCList
Also added support for the new "get_internal_children" backend function
* src/glade-popup.c: Adjusted to make the "Add" submenu available
for any special container relationships (not just non-widgets).
* src/glade-utils.[ch]: Added glade_util_purify_list()
* src/glade-widget-class.[ch], src/glade.h: Added GladeGetInternalChildrenFunc and changed
glade_widget_class_contains_non_widgets for glade_widget_class_contains_extra
2005-12-07 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.[ch]: Added glade_util_selected_placeholder ()
* src/glade-app.c: in glade_app_command_paste (), check for
the currently selected placeholder to paste into
(this enables pasting to a placeholder via keyboard shortcuts).
2005-12-07 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Now project menu item glitch is
visually gone (you dont get "no selected projects" anymore).
Note that this is still a hack using toggle items to portray
a radio menu since we've been unable to get radio items to
work at this time.
2005-12-07 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project.[ch]: added glade_project_reset_path()
* src/glade-project-window.c: Now we reset the path of a project if we
fail to save it for some reason, this way we prompt a filechooser
the next time we try to save. (This makes most sence when initially
chosing an unsavable file path).
2005-12-06 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.[ch], src/glade-project-window.c:
Added glade_app_update_instance_count to keep track of
(and differentiate between) multiple projects with the same name.
* src/glade-project.[ch]: Added instance count member to project
object, also ensured that project->path is always a full path.
* src/main.c: fix leak of list of initial projects to load.
2005-12-06 Tristan Van Berkom <tvb@gnome.org>
* po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po po/nn.po
po/no.po po/pl.po po/pt.po po/ru.po po/sv.po po/ta.po po/tr.po
po/uk.po po/zh_CN.po src/glade-app.c src/glade-app.h
src/glade-catalog.c src/glade-catalog.h src/glade-command.c
src/glade-cursor.c src/glade-debug.c
src/glade-editor-property.c src/glade-editor.c src/glade-gtk.c
src/glade-id-allocator.c src/glade-palette.c
src/glade-parameter.c src/glade-placeholder.c
src/glade-popup.c src/glade-project-view.c
src/glade-project-window.c src/glade-project.c
src/glade-property-class.c src/glade-property.c
src/glade-signal-editor.c src/glade-signal.c src/glade-utils.c
src/glade-widget-class.c src/glade-widget.c src/main.c:
Updated land address for the Free Software Foundation in Boston.
2005-12-03 Adam Weinberger <adamw@gnome.org>
* configure.in: Added en_CA to ALL_LINGUAS.
2005-11-26 Funda Wang <fundawang@linux.net.cn>
* configure.in: Added Simplified Chinese translation.
2005-10-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: Fixed property sensitivity at load time.
2005-10-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: Removed unneeded include statements.
* src/glade-project-view.c: Added indication for internal widgets &
special child type widgets in project view.
2005-10-08 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.[ch], src/glade-editor-property.[ch], src/Makefile.am:
Revamping of the glade-editor, wrenched out the GladeEditorProperty code
from glade-editor.[ch] and created glade-editor-property.[ch], lots of
code cleanup all around and now GladeEditorProperty is a GtkWidget with
a smooth encapsulation, transperent derivitives for different pspec types
and can now be used standalone inside custom editors.
* src/glade-property.[ch]: clarified recursion protection with "syncing" var.
* src/glade-property-class.c: Now consults glade_editor_property_supported instead
of the old glade_editor_editable_property.
2005-10-06 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c, src/glade-editor.c:
Fixed code to startup without an "Edit..." button in the editor.
2005-10-04 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Follow up commit, was segfaulting when
setting editor empty.
2005-10-04 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget-class.[ch], src/glade-gtk.c, src/glade.h,
widgets/gtk+:
- Removed child_property_applies concept, as I feel that
the approach for response-id is a hack and very specific
(also unused), we'll fix it properly and think it out...
for now its cleanup.
- Added custom editor entry point and added dialog in plugin
just as an example editor entry point.
* src/glade-editor.c: Added button/logic for custom editor entrypoints.
2005-10-04 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Fixed use of uninitialized variable.
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
* configure.in: post release bumping to work on version 2.91.0
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
* NEWS Added first ever news entry.
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Initial dev snapshot 2.90.0
2005-09-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c:
- Fixed glade_gtk_box_set_size in regards to internal children.
- Enhanced dialog post_creation (fixed GtkBox sizes etc, handle message dialog
differently).
* src/glade-widget-class.h: Added create reasong GLADE_CREATE_REBUILD.
* src/glade-widget.c: Fixed glade_widget_rebuild() to work with composite
widgets and internal children, now glade_widget_transport_children will
recurse and transport and children of internal child containers.
2005-09-21 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c, src/glade-project.c, src/glade-command.c,
src/glade-widget.c:
Balanced out reference counts on GladeWidgets and their objects
so that closing a project doesnt leek objects.
* src/glade-utils.c: Fixed pasting of toplevel widgets.
* src/glade-gtk.c, src/glade-widget.[ch], src/glade-widget-class.[ch],
widgets/gtk+.xml:
- Removed concept of fill_empty functions, everything is done through
post_create.
- post_create now has a context specific arg `reason' (whether we are
creating from USER/COPY/LOAD); when reason is USER (i.e. the first
time it was created); then its time to do fill-empty work.
* src/glade-editor.c: Reset dialog now doesnt use packing props (cause
it just doesn't make sence to), and now they dont show editor invisible
properties (that was a bug).
2005-09-14 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-parse.h: Added CAST_BAD macro (BAD_CAST opposite).
* src/glade-parse.c: Changed strcmp() to xmlStrcmp() and use of macros
to avoid signedness warnings.
* src/glade-xml-utils.[ch]: Removed signedness warnings.
* src/glade-widget.c: Removed signedness warning.
* src/glade-widget-class.c: Removed signedness warnings.
2005-09-14 Tristan Van Berkom <tvb@gnome.org>
* widgets/gtk+.xml: Added GtkAccelLabel.
2005-09-14 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c, src/glade-property-class.c: Implemented
GParamSpecBoxed types G_TYPE_STRV & GDK_TYPE_COLOR.
* src/glade-gtk.c: Made the color selection dialog from GtkColorButton
set the current color through glade-command api (like GtkFontButton).
* widgets/gtk+.xml: ignore "title" property on GtkWindow & set "Black"
default for "color" prop on GtkColorButton (avoid segfault from setting
the property to the default NULL).
2005-09-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml: Fixed GtkFontButton implementation;
Now the font-name property is properly updated in the glade editor
through the glade-command API (undoable/redoable).
2005-09-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Renamed "Defaults..." to "Reset..."
Fixed up reset dialog a little.
2005-09-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Added clause to create correct label value
for aspect frame.
* src/glade-editor.c: Fixed segfault in regards to packing-properties
(which are rebuilt dynamicly for each class) & the weak pointer
used for property object signals.
* src/glade-widget.c: Call glade_widget_set_default_packing_properties
at the right time.
* src/glade-project-window.c: Dont call glade_project_set_accel_group()
if there is no accel group set.
* src/glade-app.c: Loop over open projects when calling
glade_app_set_accel_group() incase this is done after any projects
are open.
2005-09-12 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-app.[ch]: Added accel_group member in GladeAppPriv.
glade_app_set_accel_group() to handle shortcuts in every window.
* src/glade-project.[ch]: glade_project_set_accel_group().
* src/glade-project-window.c: Added UIManager's acceleration group to every
window.
* src/glade-widget.c: Removed manual "key-press-event" handling.
2005-09-08 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: Added comment & use glade_widget_show/hide api.
* src/glade-editor.c: Fixed defaults dialog a bit.
* src/glade-gtk.c: Added backend support for GtkFontButton, GtkExpander,
GtkColorButton, Fixed possible segfaults.
* src/glade-widget-class.[ch]: Added glade_widget_class_container_has_child()
* src/glade-widget.c: Fixed "special-child-type" handleing (transfering) in
glade_widget_dup(), now placeholders are also dupped.
* widgets/gtk+.xml:
- ignore "decorated" property on GtkWindowClass
- Added GtkFileChooserButton, GtkColorButton, GtkFontButton, GtkAlignment,
GtkAspectFrame, GtkEventBox, GtkExpander and GtkAboutDialog.
2005-08-01 Tristan Van Berkom <tvb@gnome.org>
* widgets/gtk+.xml: ignore "resizable" property on GtkWindow
2005-08-01 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.[ch]: Now the glade editor is a GtkVBox, allowing it
greater configurability, now added a hbutton box to it with the "defaults..."
button.
* src/glade-project-window.c: Made property editor a little bigger by default.
2005-08-01 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.[ch]: Added glade_command_set_properties_list().
* src/glade-editor.[ch]: Added reset dialog, used property_class->visible_lines
instead of GladeParams
* src/glade-project-window.c: Minor GUI touchups.
* src/glade-property-class.[ch], src/glade.h: Implemented visible_lines tag loading,
touched up comments.
* src/glade-property.[ch]: Added glade_property_get_default()
* src/glade-signal-editor.c: Removed the search box from the non-searchable treeview.
* src/glade-xml-utils.c: fixed up allocator confusions a bit.
* widgets/gtk+.xml: Made GtkLabel's label property multi-lined.
2005-08-31 Tristan Van Berkom <tvb@gnome.org>
* TODO: Added note about TODO list not being maintained, please
refer to bugzilla for evertything :)
* src/glade-project-window.c: Now uses GtkAboutDialog instead of that
lengthly dialog building code.
2005-08-30 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.c: Fixed bug in glade_property_write_impl()
Custom string properties were being dropped, now only NULL custom
string properties are ommited from the glade file.
2005-08-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Made widget name property work like other properties
(i.e. only commit on "activate" and "focus-out-event" signals, not on every
char change).
2005-08-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property-class.[ch]: Now all native properties (obtained through
g_object_class_list_properties) have "orig_def" fields (which can still
be overridden by the "default" tag in the catalog), custom properties have
no original defaults.
* src/glade-property.c: Adjusted glade_property_write accordingly.
2005-08-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Fixed g_return_if_fail which should be
g_return_val_if_fail in idle function.
2005-08-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c: glade_default_app_selection_clear() Add call
to glade_util_clear_selection () so that placeholders selection
also gets cleared.
* src/glade-editor.c: Make ((GladeEditorProperty *)prop)->signal_prop a
weak pointer to the said property, this way we avoid crashed when
leaving dangleing pointers from canceled query dialogs.
* src/glade-project-view.c: Added GTK_IS_WIDGET() clause avoiding
dumb warnings.
* src/glade-property-class.c: Fixed "name" on custom properties to
be retrieved from there pspecs, also gave "default" and "name"
tags precedence to those found on the pspec.
* src/glade-widget-class.c: Fixed a hidden segfault waiting to happen.
fixed order of derived custom properties (used g_list_append, not
prepend for this special case where the order matters and we cant
just g_list_reverse).
* src/glade-widget.c: Added GTK_IS_WIDGET() clause avoiding
dumb warnings.
* widgets/gtk+.xml: Removed unused glade-parameter stuff.
2005-08-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-view.c: Use glade_widget_show/hide for toplevels.
* src/glade-project-window.c: Place the "Close without saving" dialog in the center of
the screen.
* src/glade-project.[ch]: Added assertions, glade_project_changed().
* src/glade-property.c: Call glade_project_changed() when properties change.
* src/glade-widget.[ch]: Added glade_widget_show/hide, shows & hides toplevels
and saves there position.
2005-08-18 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Fixed dumb G_IS_OBJECT() assertion failure.
* src/glade-command.c: Fixed glade_command_create() to use glade_default_app_selection_clear()
instead of glade_util_selection_clear() (Fixing bug 312634).
2005-08-17 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Fixed use of uninitialized variable
(resulting in all text entries being multiple line type).
* src/glade-gtk.c: Fixed glade_gtk_image_post_create_idle
(was not returning anything, now returns FALSE, somehow
I had `0' sitting magicly on the stack so I didnt get the
bug untill recently)
2005-08-12 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Fixed text properties, when text properties were NULL
by default, the property editor wasn't flushing the previous value
(bug 313201).
* src/glade-property.c: As properties can only be created with a pspec (regardless
if they are custom or not) they *always* have a default (change code accordingly
to avoid confusion).
2005-08-11 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: Now when pasting widgets into a container, after the
actual paste, the newly initialized packing properties are saved on the command
(I had already done this for CUT, but now realized the need in PASTE).
2005-08-11 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.[ch]: added glade_app_set/get_transient_parent &
glade_default_app_set/get_transient_parent.
* src/glade-project-window.c:
- set the project-window as transient parent of all glade dialogs
(includeing the editor, clipboard & palette).
- removed widget tree popup as all the functionality is present embedded
in the project window.
* src/glade-project.c: Set newly added toplevels transient for the transient
parent window of the glade-app.
2005-08-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget.c: Dont present top-levels upon load.
2005-08-09 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.c: Fixed a forgotten piece of code that had to change for
fixed-manager to work properly with paste.
2005-08-09 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am, src/glade-accumulators.[ch], glade-fixed-manager.[ch]:
Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a
sexier fashion (and in a way that allows any GtkContainer to subscribe
to this service through the plugin).
* src/glade-builtins.c: Fixed date typo
* src/glade-command.[ch]:
- glade_command_set_properties () added to set multiple properties at
the same time plus allowing to specify the old value that it changed
from (this is usefull for drag & resize undo events).
- Added a g_object_ref to the properties in set property commands
- Create/Delete/Cut/Paste code to now use GladeFixedManager where appropriate
- Now when we "Cut" a widget, we save a copy of its packing properties for
future undo's (if it was pasted in another container and "undo" a couple
times, this becomes nescisary).
* src/glade-cursor.[ch]: Added all the new cursor types needed
for drag/resize events.
* src/glade-editor.[ch]: Handle property signals better, added
signal handler for "value-changed" & "notify::enabled" signals to reload
& update property values, removed alot of redundant property reloading code.
* src/glade-gtk.c: Remove the old clunky GtkFixed handling code and replaced
it with a call to glade_fixed_manager_new () (also implemented fixed manager
for GtkLayout).
* src/glade-marshallers.list: Added new marshallers
* src/glade-project-window.c, main.c: Removed all those includes and
replaced with #include "glade.h".
* src/glade-property.[ch]: Fixed broken types from when I played with headers,
now the forward declarations are back. (also changed CINFO for the more popular
alternative; KLASS).
* src/glade-utils.c: glade_util_paste_clipboard () now is GladeFixedManager aware.
* src/glade-widget.[ch]:
- use glade-fixed-manager to add children when loading glade files
- notify manager of handled mouse events (this is a hack that should
go, once we handle the streamlining of button-press-events on GladeWidget's
properly).
- fixed broken types.
- Added glade_widget[_pack]_property_set_enabled()
- Added some doc.
- Made glade_widget_retrieve_from_position() public.
* src/glade.h: Added headers.
* widgets/gtk+.xml: GladeFixedManager on GtkFixed & GtkLayout.
2005-08-01 Naba Kumar <naba@gnome.org>
* src/Makefile.am: Fixed a typo where it should be glade-builtins.h instead
of glade-builtins.c in _HEADERS macro.
2005-07-31 Tristan Van Berkom <tvb@gnome.org>
* src/glade-types.h, src/glade-plugin.h: Removed
* src/Makefile.am src/glade-app.h src/glade-builtins.h
src/glade-catalog.h src/glade-clipboard.h src/glade-command.c
src/glade-command.h src/glade-cursor.h src/glade-editor.c
src/glade-editor.h src/glade-gtk.c src/glade-palette.h
src/glade-parameter.h src/glade-parser.h
src/glade-placeholder.c src/glade-placeholder.h
src/glade-project-view.h src/glade-project-window.h
src/glade-project.c src/glade-project.h
src/glade-property-class.c src/glade-property-class.h
src/glade-property.c src/glade-property.h
src/glade-signal-editor.c src/glade-signal-editor.h
src/glade-signal.h src/glade-utils.h src/glade-widget-class.c
src/glade-widget-class.h src/glade-widget.c src/glade-widget.h
src/glade-xml-utils.h src/glade.h:
Now "glade.h" is the libgladeui API include for both the plugin and
the application side (Fixed sources in consequence to a few broken types).
2005-07-31 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor.c: Cleared up property->class references, Added comments,
Made spin button adjustments from the class, not from Glade Parameters.
* src/glade-parameter.[ch]: Removed convenience create_adjustement function,
Certain data found in the xml file is parsed directly onto the class data and
others are dynamicly added through glade params, for this reason I'm
depricating use of glade-parameters in the core code, glade-parameters can
be kept around as a usefull configuration mechanism for plugin writers.
* src/glade-gtk.c:
- Added special enum type & pspec for GtkImage
- Now GtkImage uses one of three methods to save
o Filename
o Stock
o Icon Theme
the appropriate controls are disabled & enabled
accordingly and survive a save/load with no custom
property help.
- Icon Size is disabled if a Pixel Size is specified
(as pixel size takes precedence on this object).
- Removed pointless unfinished API doc headers, the core
(i.e. libgladeui) could well be documented for use by
plugin writers and application writers (like anjuta for
instance) but in the plugin its pretty pointless.
* src/glade-property-class.[ch]:
- Fiddled with g_critical outputs
- Added glade_property_class_make_adjustment
- Added LIBGLADEUI_API to func headers.
* src/glade-property.[ch]: Added glade_property_reset()/glade_property_default()
* src/glade-widget.[ch]: Added glade_widget_property_reset(),
glade_widget_pack_property_reset(), glade_widget_property_default(),
glade_widget_pack_property_default().
* src/glade.h: Added definitions for defaults in editor adjustments.
* widgets/gtk+.xml: Added information for GtkImage properties.
2005-07-30 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c, widgets/gtk+.xml:
- Added comment about why we dont automaticly remove a widget from a button
when making it stock (tried to fixed that, and realized the complexity).
- Fixed GtkBox loading mechinism, now we dont save "size" property to the
glade file are are backwards compatible with glade-2.
2005-07-30 Tristan Van Berkom <tvb@gnome.org>
* src/glade-builtins.c: stock spec name fixed and removed construct only.
* src/glade-property.c:
- Fixed glade_property_dup () to use properties.
- Fixed double free in glade_property_finalize (thankyou valgrind)
* src/main.c: Removed workaround for an old fixed bug in gtk+, no reason to have
obscure code like that when we are targeting a recent version of gtk+.
* widgets/gtk+.xml: Ignore selectable changes & implement ignore property
* src/glade-property-class.c, src/glade-property.[ch]: implement ignore
2005-07-29 Tristan Van Berkom <tvb@gnome.org>
* src/Makefile.am, src/glade-plugin.h, src/glade-buildtins.[ch], widgets/gtk+.xml:
Added glade builtin pspec types for general purpose use in the plugin.
This also features a "stock" enum type which is generated with gtk_stock_list_ids.
* src/glade-editor.[ch]: Implemented "stock item" menus (works with GLADE_TYPE_STOCK)
* src/glade-gtk.c: Removed all the custom pspec (in favor of the builtins) and implemented
stock buttons properly (they rock by the way :-p )
* src/glade-property-class.[ch]: "visible" xml tag is simply a boolean describing
if it is visible or not in the editor (visible properties now will also be written
in the editor if they are not default, custom or disable with the "save" xml tag).
2005-07-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c: Simplified code with convenience functions
* src/glade-editor.[ch]: Fixed visual state of labels in insensitive state.
* src/glade-property.[ch]: Added glade_property_get/set_va_list
* src/glade-widget.[ch]:
Added convenienve functions:
- glade_widget_property_get/set
- glade_widget_pack_property_get/set
- glade_widget_property_set_sensitive
- glade_widget_pack_property_set_sensitive
2005-07-29 Tristan Van Berkom <tvb@gnome.org>
* src/glade-property.[ch]:
- made some members properties
- added glade_property_set (property, ...) convenience function
- Added set_tooltip & tooltip changed signal
- Added insensitive property.
* src/glade-property-class.h: Clarified comment
* src/glade-property-class.c: Properties that are native to GtkWidget go in
the "common" tab by default (unless overridden by the xml file).
* src/glade-editor.[ch]: Now we watch property sensitivity and tooltip status
* src/glade-gtk.c: The beginnings of stock buttons.
2005-07-28 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c: Fixed a few compile warnings and fixed signal emmission to
use g_signal_emit().
* src/glade-property.[ch]: glade_property_set to use a va_list for convenience,
added glade_property_set_value for setting properties with GValues.
Also added emission of value-changed signal.
* src/glade-command.c, src/glade-editor.c, src/glade-gtk.c, src/glade-widget.c:
Changed callers.
2005-07-28 Tristan Van Berkom <tvb@gnome.org>
* src/glade-catalog.c: Fixed bug in catalog_find_by_name (Luc Simard)
* src/glade-editor.c: Played around with how properties are dealt with.
* src/glade-property-class.[ch], src/glade.h: Added "save" and "editable"
tags to properties through xml catalog.
* src/glade-property.[ch], src/glade-types.h:
Major revamping of glade-property, now it is a full fledged GObject with
class method access & the new "value-changed" signal.
* src/glade-widget.c: Now g_object_unref the properties instead of
glade_property_free, also adjusted arguments for glade_property_write.
2005-07-28 Tristan Van Berkom <tvb@gnome.org>
* src/glade-gtk.c:
- Removed original notebook tab_label stuff
- Add placeholders to notebook tabs (ultimately they
should be glade-widget labels)
- Add GladeWidgetafied GtkLabels to GtkFrame "label-item"
- Add GladeWidgetafied GtkLabels to GtkButton child
* src/glade-widget.c: Made "parent" property pspec spec_object.
* widgets/gtk+.xml: Added hooks for GtkFrame & GtkButton creation.
2005-07-26 Tristan Van Berkom <tvb@gnome.org>
* src/glade-transform.[ch], src/Makefile.am, src/glade_plugin.def:
Removed glade-transform as its not used, this is taken care of by
glade_property_class_make_gvalue_from_string &
glade_property_class_make_string_from_gvalue.
2005-07-26 Tristan Van Berkom <tvb@gnome.org>
* src/glade-catalog.c, src/glade.h:
Implemented catalog dependancies, i.e. if a catalog declares a widget
that derives from a widget in another catalog; they need to be loaded
in the right order for the inheritence of metadata to work properly.
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.[ch]: Added show_properties method to app_class, this way
the implementing application can provide an implementation for show_properties.
* src/glade-project-window.c:
- Implemented show_properties method
- Linked the update_ui_cb directly to app_class->update_ui_signal
- Removed ugly reference to editor->project_window
* src/glade-popup.c: Call show_properties upon "properties" popup click.
* src/glade-editor.h: Removed project_window from instance struct (useless and a PITA
to set).
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Applied (and slightly adapted) Andy Somerville's
patch for bug 303681 (Dock widget tree in project window).
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-widget-class.c: Fixed bug in glade_widget_class_merge_properties(),
Now if a property in a parent class is disabled, it will be disabled in the
children (also removed useless special case code for "name" property).
* widgets/gtk+.xml: Disabled widget name property (since glade-3 handles this
implicitly for all objects).
2005-07-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.c: Fixed compiler warning
* src/glade-editor.c: removed useless include
* src/glade-gtk.c, widgets/gtk+.xml: Implemented special-child-type for
GtkFrame & GtkNotebook
* src/glade-parser.c: Implemented support for "placeholder" tags and allow
placeholders to have packing properties.
* src/glade-placeholder.[ch]: Added minimum placeholder size
* src/glade-project.c: Removed #if 0 code
* src/glade-widget-class.[ch], src/glade.h: Added support for special_child_type
* src/glade-widget.c: Added support for special_child_type and placeholders in
glade files.
All the "special-child-type" related work is based on an old patch by Ivan Wong.
2005-07-22 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Disallow multiple projects with the same name.
* src/glade-utils.[ch], src/glade-app.c: Added glade_util_basenames_match() and
adjusted callers.
* src/glade-app.c: Made glade_app_config_save() more robust.
2005-07-12 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-project-window.c: RECENT_PROJECTS_MAX_ENTRIES replaced with
CONFIG_RECENT_PROJECTS_MAX key in configuration file.
2005-06-24 Tristan Van Berkom <tvb@gnome.org>
* src/glade-utils.[ch]: removed glade_util_str_replace_char(),
glade_util_replace() already exists.
* src/glade-project-window.c: Added clause to save recent files after opening and
saving projects and when clearing recent queue (i.e. save it when it changes, not
at quit time).
also fixed cosmetic bug: changed "Recents" to "Recent" in "Recent projects".
* src/glade-app.c, src/glade-project-window.c: Dont allow more than one project
with the same name to be opened simultainiously (where the project name is
the basename of the project_path).
2005-06-24 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-app.[ch]: Added GKeyfile handleing
* src/glade-parser.c: glade_interface_dump_full modified to use
GIOChannel, this helps to keep portability issues in the glib domain.
* src/glade-utils.[ch], src/glade-project.[ch], src/glade-project-window.c:
Now uses GtkUIManager instead of GtkItemFactory, Also added recent projects submenu.
* widgets/gtk+.xml: Fixed a few cosmetic strings in regards to displayable values.
2005-06-08 Tristan Van Berkom <tvb@gnome.org>
* src/glade.h, widgets/gtk+.xml: Changed tag "displayable_values" to
"displayable-values" for consistancy with the standard.
2005-06-08 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* widgets/gtk+.xml: Beautified editor by assigning displayable-values
to enums & flags values.
2005-06-08 Tristan Van Berkom <tvb@gnome.org>
* widgets/gtkbutton.xml, widgets/gtk-dialogs.xml, widgets/gtk-obsolete.xml:
Removed obsolete xml files.
2005-05-31 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-editor.c: Fixed. So we can show the displayable values where
correspond. (enumerations & flags)
* src/glade-property-class.c: added the ability to parse the new
property tag in the catalog. ("displayable_values")
Added a new function glade_property_class_get_displayable_value().
rewrite of glade_property_class_make_string_from_flags()
* src/glade-property-class.h: new GladePropertyClass member,
displayable_values.
* src/glade.h: new tags, GLADE_TAG_DISPLAYABLE_VALUES & GLADE_TAG_NICK.
2005-05-31 Tristan Van Berkom <tvb@gnome.org>
* glade-app.c: Code no longer assumes that GLADE_WIDGET (gwidget)->object
is a GtkWidget.
2005-05-22 Takeshi AIHANA <aihana@gnome.gr.jp>
* configure.in: Added 'ja' (Japanese) to ALL_LINGUAS.
2005-05-17 Philip Van Hoof <pvanhoof@gnome.org>
* src/libgladeui-1.0.pc.in: Fixed this file. The directory isn't
${libdir}/glade but rather ${libdir}. The name of the library isn't
gladeui but gladeui-1.
2005-05-02 Tristan Van Berkom <tvb@gnome.org>
* src/glade-popup.c:
glade_command_create () now asserts "project" argument, fixed
this in the add-child popup selection.
2005-04-20 Tristan Van Berkom <tvb@gnome.org>
* Cleaned up i18n/gettext stuff, Now glade-3 uses <glib/gi18n.h> and
<glib/gi18n-lib.h> for gettext (using the GETTEXT_PACKAGE in config.h)
* removed g_ok_print (this should be g_debug in glib >= 2.6 but we dont
have very much of that ATM)
* lots of ".po" files consiquently updated.
2005-04-10 Ivan, Wong Yat Cheung <email@ivanwong.info>
* configure.in: Version number should start from 0:0:0 before
a public release.
* src/glade-clipboard-view.c (glade_clipboard_view_button_press_cb):
* src/glade-editor.c (glade_editor_table_append_items):
* src/glade-signal-editor.c (glade_signal_editor_load_widget):
* src/glade-project-view.c:
* src/glade-widget.c:
* src/main.c: Get rid of some compilation warnings, correct some
inconsistent coding style, plus some silly things.
* src/glade-project.c: Correct some project loading behaviours. Use
glade_widget_class_container_get_all_children instead of
glade_widget_class_container_get_children.
* src/glade-utils.c (glade_util_container_get_all_children):
glade_widget_class_container_get_all_children should use
gtk_container_forall instead of gtk_container_foreach.
* src/glade-widget-class.c: Fix some class inhertance bugs.
* src/glade-widget.[ch] (glade_widget_get_pack_property): New.
* widgets/gtk+.xml:
* src/glade-gtk.c: Add some custom add-functons that know how to
handle placeholder. Handlers for "special child type" are there,
we just need to wait and re-enable them once placeholder has
GladeWidget.
2005-04-03 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-window.c: Fixed radio project menu
2005-04-03 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c: fixed selection bug, modified multiple
paste behaviour; now when pasting multiple widgets to a placeholder,
the immediate parent of the placeholder is used as the target.
* src/glade-project-window.c:
do_close () fixed segfault when closing last project.
2005-04-02 Tristan Van Berkom <tvb@gnome.org>
* src/glade-command.c:
glade_command_paste() now searches for placeholders for
multi-paste circumstances.
* src/glade-project-view.c:
Added code to adjust selection on project radio item
on project closure (radio list still doesn't work
properly).
* src/glade-utils.[ch]: glade_util_count_placeholders added
paste code now considers multiple paste on gtkwidget containers.
2005-04-02 Ivan, Wong Yat Cheung <email@ivanwong.info>
* configure.in:
pixmaps/Makefile.am, src/Makefile.am, widgets/Makefile.am,
src/glade-app.c, src/glade-widget.c, src/glade-paths.sh.in:
Use a more proper way to detect paths.
* src/glade-app.h, src/glade-command.c, src/glade-command.h,
src/glade-debug.h, src/glade-editor.h, src/glade-gtk.c,
src/glade-palette.h, src/glade-placeholder.c, src/glade-placeholder.h,
src/glade-project-view.h, src/glade-project.h, src/glade-property.h,
src/glade-utils.h, src/glade-widget-class.h, src/glade-widget.h,
src/glade.h:
Introduce LIBGLADEUI_API, remove *.def.
* src/main.c: some global variables should be freed by libgladeui.
2005-04-01 Tristan Van Berkom <tvb@gnome.org>
* src/glade-app.[ch]: Added global selection API which takes multiple
projects into account.
* src/glade-command.c, src/glade-project-view.c,
src/glade-utils.c, src/glade-widget.c:
Use new selection API / Support paste on top-levels
which change projects.
* src/glade-project.[ch]: Added glade_project_has_object ()
* src/glade-project-window.c: Made project menu items radio.
2005-03-31 Tristan Van Berkom <tvb@gnome.org>
* src/glade-project-view.c: fixed dialog behavior in list mode.
* src/glade-app.c, src/glade-command.c,
src/glade-utils.[ch], src/glade-popup.[ch]:
Support for paste without selection (for toplevels only).
* src/glade-clipboard-view.c: Added context menu with Delete & Paste
2005-03-31 Tristan Van Berkom <tvb@gnome.org>
* Added MAINTAINERS file.
* AUTHORS: Added me to authors list
* src/glade-popup.c: Fixed selection bug (placeholders
werent loosing selection when selection changes through
the popup).
* src/glade-project-window.c: Added "Expand all"/"Collapse all" in
the widget tree veiw (bug 164740)
* src/glade-widget.c: Remove redundant paranoia code.
2005-03-14 Naba Kumar <naba@gnome.org>
* pixmaps/Makefile.am,
(added) pixmaps/filechooserdialog.png,
(added) pixmaps/filechooserdialog.xpm,
(added) pixmaps/fixed.png,
(added) pixmaps/hscale.png,
(added) pixmaps/layout.png,
(added) pixmaps/menu.png,
(added) pixmaps/menu.xpm,
(added) pixmaps/progressbar.png,
(added) pixmaps/statusbar.png,
(added) pixmaps/viewport.png,
(added) pixmaps/vscale.png: Added missing pixmaps.
2005-03-10 Naba Kumar <naba@gnome.org>
* src/glade-editor.c, src/glade-project-window.c: Aligned editor
labels. Removed size request on editor widget and set default
window size for editor window.
2005-02-28 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/Makefile.am: Added glade-plugin.h & fixed_bg.xpm to
header list (for `make dist' purposes)
* src/glade-gtk.c: includes fixed_bg.xpm from new location
(moved fixed_bg.xpm from pixmaps --> src)
* src/glade-plugin.h: include glade-palette.h for compiler
warnings.
2005-02-28 Naba Kumar <naba@gnome.org>
* configure.in, src/Makefile.am, src/glade-types.h,
src/libgladeui-1.0.pc.in: Removed libglade dependency.
* (new) src/glade-parser.[ch]: Saving and loading code from
libglade (duplication).
2005-02-04 Naba Kumar <naba@gnome.org>
* src/.cvsignore: Updated.
* src/libgladeui-1.0.pc.in: Added libglade as requirement.
2005-02-04 Naba Kumar <naba@gnome.org>
* configure.in, src/Makefile.am, (new) src/glade-app.c,
(new) src/glade-app.h, (new) src/glade-command.c,
(new) src/libgladeui-1.0.pc.in,
src/glade-gtk.c, src/glade-placeholder.c, src/glade-popup.c,
src/glade-project-window.c, src/glade-project-window.h,
src/glade-project.c, src/glade-utils.c, src/glade-widget.c,
src/main.c:
- Segregated UI and application engine.
- Created a library for the engine (libgladeui).
- glade application specific UI in glade-3 executable.
- GladeApp class representing glade.
- GladeProjectWindow class (subclass of GladeApp) implements
UI for glade3 application.
- Fixed other files to use glade_default_app_* API to
retrieve various engine elements.
2005-01-16 Mikael Hallendal <micke@imendio.com>
* src/glade-gtk.c: (glade_gtk_menu_bar_post_create):
- Removed temporary hack
* src/glade-widget-class.[ch]:
(glade_widget_class_free):
- Free default packing list
(glade_widget_class_set_packing_defaults_from_node):
- Read default child packings from catalog file.
(glade_widget_class_get_child_packing):
(glade_widget_class_get_packing_default_internal):
- Added
(glade_widget_class_get_packing_default):
- Added, used to get the default child packing when packing a widget
into a specific container.
* src/glade-widget.c: (glade_widget_copy_packing_props),
(glade_widget_set_default_packing_properties):
- Added, sets the default packing properties.
(glade_widget_set_packing_properties):
- Call set_default_packing_properties.
* widgets/gtk+.xml:
- Added default packings for some widgets. Should be added to a lot
more of them.
2005-01-13 Mikael Hallendal <micke@imendio.com>
* src/glade-gtk.c: (glade_gtk_menu_bar_post_create):
* src/glade-types.h:
* src/glade-widget-class.c:
(glade_widget_class_packing_default_free),
(glade_widget_class_child_packing_free), (glade_widget_class_free),
(glade_widget_class_set_packing_defaults_from_node),
(glade_widget_class_extend_with_node),
(glade_widget_class_get_packing_defaults):
* src/glade-widget-class.h:
- Parsing part of getting packing defaults working. Now the information
needs to be used when packing.
* src/glade.h:
* widgets/glade-catalog.dtd:
- Added packing-defaults with sub nodes
* widgets/gtk+.xml:
- Added packing defaults for menu bar in GtkBox.
2005-01-12 Mikael Hallendal <micke@imendio.com>
* configure.in: Bumped GTK+ requirements to 2.4
* src/glade-menu-editor.c: (on_icon_button_clicked):
* src/glade-project-window.c: (gpw_open_cb), (gpw_save_as),
(gpw_save_cb), (gpw_save_as_cb), (gpw_confirm_close_project):
- Updated to use GtkFileChooser API directly.
- Cleaned up and reuse the save as code for both save and save as.
- Append .glade on filename if it lacks suffix.
* src/glade-utils.c: (glade_util_file_dialog_new):
- Remove the support for GtkFileSelection since we require 2.4.
2005-01-12 Richard Hult <richard@imendio.com>
* widgets/gtk+.xml: Change the min value for GtkBox size to 1 from
2. Fixes #163813.
2005-01-12 Mikael Hallendal <micke@imendio.com>
* src/glade-property-class.c:
(glade_property_class_new_from_spec):
- Added parameter check on spec.
(glade_property_class_update_from_node):
- Handle properties not found by introspection and that don't
specify a spec-function in the catalog file as disabled properties.
Fixes a crash when loading the catalog file that has GTK+ 2.6
properties overridden in GTK+ 2.4.
2005-01-12 Richard Hult <richard@imendio.com>
* widgets/adding-widgets.txt: Add first cut at documentation for
adding widgets.
* widgets/glade-catalog.dtd: Add translatable property.
* widgets/gtk+.xml: Change name from tooltip to Tooltip.
2005-01-12 Richard Hult <richard@imendio.com>
* src/glade-parameter.h:
* widgets/gtk+.xml: Fix typos in the XML.
2005-01-11 Richard Hult <richard@imendio.com>
* src/glade-editor.c: (glade_editor_create_input_text),
(glade_editor_append_item_real),
(glade_editor_property_load_text),
(glade_editor_property_load): Merge the translatable and
non-translatable input widgets.
* src/glade-property.c: (glade_property_write),
(glade_property_i18n_set_comment): Remove debug spew.
* widgets/gtk+.xml: Mark the appropriate properties
non-translatable.
2005-01-11 Mikael Hallendal <micke@imendio.com>
* src/glade-catalog.c: (catalog_load), (catalog_load_group):
- Hide some debug printouts
* src/glade.h:
* widgets/glade-catalog.dtd:
* widgets/gtk+.xml:
- child-property-applies to child-property-applies-function
All other functions are named like that.
2005-01-07 Richard Hult <richard@imendio.com>
* src/glade-editor.c: (glade_editor_property_show_i18n_dialog),
(glade_editor_create_input_text),
(glade_editor_create_input_translatable_text),
(glade_editor_append_item_real),
(glade_editor_property_load_text),
(glade_editor_property_load_translatable_text),
(glade_editor_property_load): Add i18n string handling.
* src/glade-property.h:
* src/glade-property.c: (glade_property_new), (glade_property_dup),
(glade_property_free), (glade_property_write),
(glade_property_i18n_*): Add i18n handling.
* src/glade-widget.c: (glade_widget_value_from_prop_info),
(glade_widget_apply_property_from_prop_info),
(glade_widget_get_property_from_widget_info),
(glade_widget_properties_from_widget_info),
(glade_widget_params_from_widget_info): Read i18n metadata
(doesn't read anything yet, we need to sort out libglade first).
2005-01-06 Richard Hult <richard@imendio.com>
* src/glade-property-class.h (struct _GladePropertyClass): Add
translatable value.
* src/glade-property-class.c (glade_property_class_new): Init
translatable value.
(glade_property_class_update_from_node): Use defines for visible
and optional tags and parse translatable.
* src/glade.h: Add tags for visible and translatable.
2005-01-06 Mikael Hallendal <micke@imendio.com>
* src/glade-catalog.c: (catalog_load), (catalog_load_classes),
(catalog_load_group):
* src/glade.h:
* widgets/gtk+.xml:
- More work on the catalog format.
- Replaced glade-widgets with glade-widget-classes
- Replaced glade-widget-class in groups to glade-widget-class-ref to
be more DTD friendly. Also makes more sense since it's a reference
to a widget class rather than another widget class definition.
2005-01-06 Mikael Hallendal <micke@imendio.com>
* src/glade-catalog.c: (catalog_load), (catalog_load_group):
* src/glade-widget-class.c: (glade_widget_class_new):
- Make sure to use the GLADE_TAG defines instead of hardcoding strings.
- Makes it easier to update the format.
* src/glade.h:
- Updated to use new format.
- Needs some more work, unsure of which tags/attributes are used in
the catalogs and which are for something else.
* widgets/Makefile.am:
* widgets/gtk+.xml:
- Update the catalog format to be more .glade like.
2005-01-05 Mikael Hallendal <micke@imendio.com>
* src/glade-catalog.c: (catalog_load_widgets),
(glade_catalog_load_all):
* widgets/Makefile.am:
* widgets/gtk+.catalog: Removed
* widgets/gtk+.xml: Added
- Revert and continue to call catalog files .xml
2005-01-05 Mikael Hallendal <micke@imendio.com>
* src/glade-catalog.[ch]:
- Removed need for the palette file, loads all .catalog files in
catalog directory.
- New catalog format where a catalog is one per library, for example
gtk+.catalog. Each catalog contains one or more widget groups.
Widget class definitions has been separated from the grouping which
means that you can have a widget in two different groups.
* src/glade-palette.c:
- Updated to add widget groups rather than catalogs to the option
menu.
(glade_palette_widget_table_create),
(glade_palette_append_widget_group):
- Renamed from glade_palette_append_catalog.
(glade_palette_new):
* src/glade-palette.h:
- Made glade_palette_append_widget_group internal.
* src/glade-types.h:
- Added GladeWidgetGroup.
* src/glade-widget-class.c:
(glade_widget_class_new):
- Reimplemented to instead take an GladeXmlNode node and load the
widget class from there.
* src/glade-widget-class.h:
- Removed glade_widget_class_new_from_node for which the implementation
was removed over a year ago.
* src/glade.h:
- Moved some GladeCatalog specific XML tags to glade-catalog.c instead.
* src/main.c: (glade_init):
- Give a warning if no catalog files where found instead of silently
exit.
* widgets/Makefile.am:
* widgets/gtk+.catalog:
- Added gtk+.catalog
2005-01-05 Richard Hult <richard@imendio.com>
* src/glade-project-view.c (gpv_find_preceeding_sibling): Fix
crash when there are no rows.
2005-01-02 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-clipboard-view.c, src/glade-palette.c,
src/glade-project-view.c, src/glade-widget-class.[ch], src/main.c:
- Changed GladeWidgetClass (class)->icon from GtkImage --> GdkPixbuf
- Now unavailable images showup properly on the project-view and the
clipboard.
- Needed to implement a little hack to provoke gtk+ to work properly
(See main.c `gtk_icon_factory_lookup_default ("");')
* src/glade-placeholder.c, src/glade-utils.c:
Fixed flicker on button-click (No need to clear the project and the
selection and then reselect if you are already selected).
2005-01-01 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-command.c: g_list_prepend in loops and
glade_project_window_get_active_project to get the active project.
* src/glade-placeholder.c: Fixed selection in placeholders and now create
previously selected widget class objects with SHIFT->leftclick.
* src/glade-popup.c: glade_project_window_get_active_project to get the
active project, fixed paste in clipboard.
* src/glade-project-window.[ch]: Fixed bug 162102, (no error messages
when save fails) mostly in the patch to libglade sitting on bug 161903
which now offers fine grained error detection on save. Also implemented
alt_class which is available to create widgets with SHIFT->leftclick.
* src/glade-project.[ch]: Adaptation to upgraded glade-utils selection
scheme plus some modifications pertaining to bug 162102.
* src/glade-utils.[ch]: Upgraded selection scheme, fixed some bugs in the
"cut/copy/paste/delete"-"selection/clipboard" helpers.
* src/glade-palette.[ch]: Implemented "catalog-changed" signal so that
glade-project-window can refresh add_class/alt_class when the currently
selected catalog changes.
* src/glade-gtk.c: Implemented alt_class and fixed brokenness that had went
unnoticed (segfaults on child properties).
* src/glade-project-view.[ch]: Fixed sorting for toplevels.
2004-12-31 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-project-view.c: Now treestore items are inserted sorted
* src/glade-utils.c: Fixed a bug in glade_util_find_iter.
2004-12-31 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-clipboard-view.c, src/glade-clipboard.[ch]:
- Added emacs c-basic-offset: 8.
- Implemented multiple selection on the clipboard
* src/glade-command.c: Adjusted to multiple selection on clipboard,
allow glade_command_paste with multiple widgets if
a.) They are not being pasted to a placeholder (i.e. widget tree)
b.) They are not parented through the GtkContainer --> GtkWidget
parenting pipeline (see glade-widget-class.[ch] for the container
abstraction interface and see glade_util_gtkcontainer_relation).
* src/glade-popup.c: Added comment and removed unused variables.
* src/glade-project-view.c: Moved glade_project_view_find_iter_by_widget
to now be a generic glade_util_find_iter_by_widget
(also plugged leaks with gtk_tree_iter_free (iter))
* src/glade-utils.[ch]: Added glade_util_find_iter_by_widget () and
glade_util_any_gtkcontainer_relation ().
2004-12-29 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-command.[ch]: Multiple widgets in Cut/Copy/Paste/Delete commands
* src/glade-placeholder.c: Changed callers.
* src/glade-popup.c, src/glade-project-window.c: Use glade-utils for
Cut/Copy/Paste/Delete
* src/glade-project-view.[ch]: Implemented multiple selection.
* src/glade-project.[ch]: Implemented glade_project_is_selected.
* src/glade-utils.[ch]: Implemented: glade_util_paste_clipboard (),
glade_util_cut_selection (), glade_util_copy_selection () and
glade_util_delete_selection ().
* src/glade-widget.c: Implemented multiple selection.
2004-12-29 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-project-view.c: Selection on treeview now follows
project->selection.
* src/glade-project.c: glade_util_add_selection is now a side effect,
glade_util_has_selection is dropped in favor of
g_list_find (project, object) != NULL.
2004-12-28 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-command.[ch]:
- Fixed placeholder refcount management in cut/copy/paste
- Implemented glade_command_change_signal
* src/glade-editor.[ch]:
- Removed dead code (glade_editor_add_signal stuff)
- Implemented glade_editor_refresh
* src/glade-signal-editor.c:
Changed callers for glade_command_change_signal
* src/glade-project-window.c:
Refresh the property editor on undo/redo :)
* src/glade-debug.h, src/glade-menu-editor.c, src/glade-command.c
Removed g_debug() macro and all references (gtk+-2.6 now offers this).
2004-12-24 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-widget.c:
- No need to free property lists in dispose if we do that in finalize.
- Fixed leak where widget creation is canceled by the query popup
(Verified that widget is not in a container or in the project at
unref time, safe).
2004-12-22 Gustavo Noronha Silva <kov@debian.org>
* src/glade-palette.c, src/glade-project-window.c
Allow palette to get smaller.
2004-12-22 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-palette.c (glade_palette_widget_table_create): cleanup
and use glade_palette_create_widget_class_button.
(glade_palette_create_widget_class_button): new function
(glade_palette_init): use a GtkComboBox for catalog names instead of
individual radio buttons. All callbacks and callers changed.
2004-12-18 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-editor.c (glade_editor_table_append_item): Added
gboolean from_query_dialog parameter to function definition.
All callers changed.
(glade_editor_property_changed_text_common): added from_query_dialog
parameter.
* src/glade-editor.c: removed prototypes for glade_editor_init()
and glade_editor_class_init() and moved definition of
glade_editor_get_type lower().
* src/glade-command.c (glade_command_set_name): push action onto undo
stack only if execute is successfully.
* src/glade-editor.c (glade_editor_query_dialog): renamed from
glade_editor_query_popup(). I feel a *_popup() is mis-named (atleast
from a Gtk+ point of view, since a popup in Gtk+ is a right click menu)
All callers changed.
2004-12-17 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-command.c (glade_command_create_delete_common): there
was a semi-colon immediately after the if-statement on the same line.
So glade_command_push_undo go called no matter what. Fixed.
* src/glade-project.c (glade_project_selection_set): no need to get
GladeProjectWindow ptr.
(glade_project_selection_add): likewise.
* src/glade-editor.c (glade_editor_query_popup): don't set a default
size for query popup dialogs.
Show a "Cancel" button to cancel operation.
Also, if "Cancel" button pressed, return FALSE to stop "create" command
(glade_editor_table_append_items): we're not using this recursively.
Remove prototype.
* src/glade-widget.c (glade_widget_new): if glade_editor_query_popup
returns FALSE, stop "create" command.
* src/glade-clipboard-view.c (glade_clipboard_view_construct): use
named constants instead of "magic numbers" for the height and width of
the clipboard view window.
* src/glade-project-window.c (gpw_create_widget_tree): don't use magic
numbers for gtk_window_set_default_size(). Use named constants.
* src/glade-placeholder.c (glade_placeholder_button_press): since
we can, why not extract the GladeProject for calling
glade_command_create instead of leave it to glade_command_create to get
project.
(glade_placeholder_button_press): reset palette here. No need to do it
in glade_command_create.
* src/glade-command.c (glade_command_cut): notify the user if user
tries to cut a widget which is internal to a composite widget.
(glade_command_copy): likewise.
(glade_command_delete): likewise.
2004-12-16 Archit Baweja <bighead@users.sourceforge.net>
* widgets/gtk-obsolete.xml: added entry for GtkFileSelection
* widgets/gtk-dialogs.xml: added entry for GtkFileChooserDialog
removed entry for GtkFileSelection.
* src/glade-project-window.c (gpw_refresh_title): small gui fix. Use
Glade-3 GUI Builder as window title.
2004-12-15 Tristan Van Berkom <tvb@cvs.gnome.org>
* src/glade-catalog.c: pallet_name is no longer "required" in the catalog,
if it is present, then the widget goes in the pallet, if there is a generic
name, it will be used in the case of non-widgets.
* src/glade-command.c: glade_command_create no longer nescesitates a placeholder
and now has a "parent" argument for the case of (!toplevel && non-widget)
(surrounding code adjusted to work with non-widgets, glade_command_delete
stuff included).
* src/glade-editor.c:
- Widget page is now called General page
- Name field not appended to non-widgets
- Adjusted text inputs to only set properties on TAB or ENTER
(or focus changes in the case of multi line entries)
This heavily reduces spamming of the property system as properties
dont get synchronized for every single charachter change.
* src/glade-signal-editor.c: Implemented "object" and "lookup" fields.
* src/glade-signal.c: Implemented "object" and "lookup" fields.
* src/glade-gtk.c: GtkFixed code fixed to not needlessly create placeholders
at child create time (go directly to glade_command_create() without passing
go or collecting 200 dollars).
(Also fixed name of enum type glade_gtk_stock_get_type)
* src/glade-placeholder.c: Use new glade_command_create ()
* src/glade-popup.c:
- Added code needed for addition of non-widgets.
- Added "add_children" arg to glade_popup_widget_pop ()
* src/glade-project-view.c:
- fixed bug 145299.
- Added popup code to treeview.
- Sort widgets in treeview alphabeticly
- Window is now scrollable.
* src/glade-project-window.c: Fixed some error messages, used new
glade_command_create()
* src/glade-property.c: Fixed a bug in rebuilding of widgets
(project list needs to be searched to find out if the widget is
actualy in the project).
* src/glade-property-class.c: Made custom props load tooltips from pspec
blurbs as well as the xml file.
* src/glade-utils.c:
- glade_utils_draw_nodes_idle(), dont try to draw nodes on non-widgets.
- added glade_util_widget_pastable()
- added glade_util_gtkcontainer_relation()
* src/glade-widget-class.[ch]:
- added glade_widget_class_get_by_type ()
- added glade_widget_class_get_derived_types ()
* src/glade-widget.c:
- added glade_widget_sync_packing_props ()
- added glade_widget_set_parent ().
- Made widgets parent a property of widget
- glade_widget_new() now takes a "parent" argument.
- removed glade_widget_update_parent() which was more confusing
than anything else.
- glade_widget_dup() now duplicates widget names as well.
2004-11-16 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* Replaced `GtkWidget *' with `GObject *' throughout the code
* Removed glade_util_get_parent and replaced with
glade_placeholder_get_parent or glade_widget_get_parent where
appropriate.
* Implemented a container abstraction layer which allows any object to
be a container through the xml catalog interface (GtkContainer is
handled implicitly).
* Straightened out a few crooked header files.
* Reworked loading a bit so that GladeProperties are loaded with the
values found in the xml file and that g_object_newv is called with
those values as well.
* Deprecated / Removed useless pre_create functions, anything that was
a pre_create is now done in post create without any regression.
* glade_gtk_container_fill_empty now checks if there are existing
children before adding one.
* Added comment on how to fix glade-project-view
* Half implemented addition of non-widget children in glade-popup.c
* glade-utils "nodes" code now also serves as a selection marker for
any non-widget objects (widgets are still handled by drawing
selections). Also reverted my change to queue_draw_nodes... seems to
work for now.
* For now I removed the unused notion of "grand-child" packing
properties (that will have to be inspected and implemented properly
if need be).
* updated XML files accordingly.
2004-11-17 Ivan Wong <email@ivanwong.info>
* configure.in:
- clean up a little bit.
- drop acconfig.h, use the third arg of AC_DEFINE instead.
- allow user to specify what version (dynamic/static) of
libpopt is to be used (win32 only).
* acconfig.h, config.h.win: removed
* src/Makefile.am: drop flags that are never used, and probably
won't be used.
* src/glade-catalog.c, src/glade-palette.c,
src/glade-project-window.c, src/glade-widget-class.c,
src/glade.h, src/main.c:
use global variables instead of preprocessor definitions for
data/locale/pixmaps/widgets/catalogs directory names.
2004-11-08 Ivan Wong <email@ivanwong.info>
* configure.in: add dependency of libglade-2.0 >= 2.4.0
* src/glade-project.c:
- fill GladeInterface of libglade: glade_project_save(),
glade_project_write()
- parse GladeInterface of libglade: glade_project_open(),
glade_project_new_from_interface()
* src/glade-property.[ch]: glade_property_write() now fills
libglade's GladePropInfo
* src/glade-signal.[ch]: glade_signal_write()/glade_signal_new_from_signal_info()
now fills/parses GladeSignalInfo of libglade.
* src/glade-types.h: include header of libglade-parser.
* src/glade-widget.[ch]:
- glade_widget_write_signals(), glade_widget_write(),
glade_widget_write_child(): use libglade to save.
- glade_widget_read(), glade_widget_new_from_widget_info(),
glade_widget_new_child_from_child_info(),
glade_widget_apply_property_from_prop_info(): use libglade to load.
* src/glade-xml-utils.h: dups of alloc_string() and alloc_propname()
from libglade, will be removed.
* widgets/gtkwidget.xml: set "Tooltip" default to empty string.
2004-11-13 Ivan Wong <email@ivanwong.info>
* main.c, src/glade.h:
- add option "--verbose".
- add POPT_AUTOHELP.
- use dynamic version of popt on win32.
* src/glade-editor.c: Some compilers don't know __FUNCTION__,
G_GNUC_FUNCTION is better.
* src/glade-gtk.c:
- GLADEGTK_API should precede return type.
- glade_gtk_button_set_stock() now checks "use-underline" when "stock"
is restored to glade-none.
* src/glade-menu-editor.c: MSVC doesn't know #warning,
use #pragma message for that.
* src/glade-property-class.[ch]:
- MSVCRT.dll hasn't got strtoll(), use _atoi64() for that.
- add orig_def for storing the orginal default value that
is overridden by a custom default.
* src/glade_plugin.def: added glade_editor_load_widget.
* src/glade-editor.c, src/glade-gtk.c, src/glade-parameter.c,
src/glade-property-class.c, src/glade-transform.c, src/glade-widget.c:
fixed some signed/unsigned mismatch and truncation warnings that only
appears in MSVC.
2004-11-08 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* src/glade-gtk.c: bug 157289 fixed in regard with boxes and notebooks.
2004-11-08 Shane Butler <shane_b@users.sourceforge.net>
* src/glade-gtk.c (glade_gtk_notebook_get_tab_label_text,
glade_gtk_notebook_set_tab_label_text): New functions to handle setting the tab
label text on the GtkNotebook child widget. (glade_gtk_notebook_replace_child):
Make it so the label is handled correctly and the correct notebook page is
still selected.
* widgets/gtknotebook.xml: Updated with tab label hook functions.
* src/glade-widget.c: Choose the mapped widget rather than just the last child
widget in the list.
* src/main.c (glade_init): Spelling mistake reported by Andrew Burton <adb@iinet.net.au>.
2004-11-05 David Hoover <karma@deadmoose.com>
* src/glade-project-view.c: when double-clicking on a window in the
project view, hide if if it's show, show it if it's hidden.
Fixes 156736
2004-11-03 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* src/glade-command.[ch], glade-popup.c, glade-project-window.c:
Implemented glade_command_copy () (undo/redo works like a charm :-)
* src/glade-widget.c: Simplified / Improved code respecting custom properties.
* src/glade-project.c: Simplified some code around selection, project management
(improved fixes for bugs 156515 and 155892).
2004-11-02 Shane Butler <shane_b@users.sourceforge.net>
* src/glade-utils.[ch] (glade_util_file_dialog_new): rewrote function to create a GtkFileSelector or GtkFileChooser depending on the GTK+ version.
(glade_util_file_dialog_get_filename, glade_util_file_dialog_set_filename): Metods to retrieve and set the filename of whichever file selector type is supported.
* src/glade-project-window.c (gpw_open_cb, gpw_save_cb, gpw_save_as_cb, gpw_confirm_close_project): Update to use new functions (above).
* src/glade-menu-editor.c (on_icon_button_clicked): Update to new functions.
* configure.in: Revert back to requiring GTK+ 2.2 or above.
2004-11-02 Ivan Wong <email@ivanwong.info>
* src/Makefile.am: Fix a few glitches that only show up on win32
2004-11-02 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* Removed GladePropertyType completely from the source in favor of
GParamSpec.
* Removed GladeChoice code, and replaced all references thereof
* Custom types must now provide a function to retrieve a GParamSpec for
that type (xml files and glade-gtk backend updated accordingly).
* Removed "child" member from GladePropertyType in order to avoid
confusion (Note, I will add support for non-widget types + all types
allowed to have children, in a more flexable way, for now I got rid
of all mention of "child" since it wasn't implemented and mostly
`#if 0'd out anyway)
* Implemented <VerifyFunction> in xml files and in the glade-gtk
backend.
* Added support for numerical types long/ulong/int64/uint64 to the
editor.
* src/glade-project.c: glade_project_remove_widget() Now removes nodes
on widget to remove, this fixes bug 156515.
* src/glade-editor.c: Fixed popup name to
g_strdup_printf(_("Create a %s"), type);
2004-11-02 David Hoover <karma@deadmoose.com>
* src/Makefile.am: fix up CLEANFILES problem
2004-11-02 Ivan Wong <email@ivanwong.info>
* acconfig.h, autogen.sh, config.h.win, configure.in, src/Makefile.am,
src/glade-catalog.c, src/glade-palette.c, src/glade-project-window.c,
src/glade-widget-class.c, src/glade_plugin.def, src/main.c: Win32
related fixes (bug 154927)
2004-10-28 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* src/glade-editor.[ch]: Implemented glade_editor_query_popup(), also obsoleted
common & packing booleans for a more convenient GladeEditorTableType field.
* src/glade-gtk.c:
- Refitted and integrated Mickael Cornet's patch to bug 153823
- glade_gtk_table_set_n_common() now refuses to shrink when it involves
orhpaning widgets, Its also been improved to fill in all the blanks.
- Removed all dialogs.
- Fixed children are now born with size-request properties enabled.
- Removed some `#if 0' code that I trust we dont need.
- glade_gtk_box_set_size() Adjusted to match gtk_table behaviour
* src/glade-plugin.h:
- Added a header to the batch.
* src/glade-popup.c: glade_popup_copy_cb() now duplicates the
widget in question with glade_widget_dup().
* src/glade-property-class.[ch]: glade_property_class_update_from_node() now
flags properties that need a pupop dialog at creation time.
* src/glade-property.[ch]: Implemented glade_property_sync() (Sychronizes
the object with its glade_property), glade_property_set() now calls
glade_property_sync().
* src/glade-widget.[ch]:
- Implemented glade_widget_dup().
- Added call to glade_property_sync on appropriate properties that
need to be synchronized after a glade_widget_rebuild().
- Added a call to glade_editor_query_popup() in the appropriate situation.
- glade_widget_build_object() now takes into account property_class default values
- glade_widget_new() now calls new function glade_widget_sync_query_props() in
popup cases (If properties dont change from there default, a synchronization is
needed at this point).
* widgets/gtkbox.xml:
- Removed reference to obsoleted post_create function.
- Changed `ignore' to `empty' for the fill_empty funciton.
- Tagged "Size" property as type "Query".
- Added Default size 3
- Changed Minimum size to 2
* widgets/gtknotebook.xml:
- Tagged "pages" property as type "Query".
- Removed obsolete (or never implemented) Query section.
* widgets/gtktable.xml:
- Tagged "n-rows" and "n-columns" properties as type "Query".
- Removed obsolete (or never implemented) Query section.
* widgets/gtklabel.xml: Added default "" value for pattern property, this
works around gtk+ bug 156720 which was causing us segfaults.
2004-10-27 David Hoover <karma@deadmoose.com>
* src/Makefile.am: Fix up dependency issues with automatically generated
marshallers files.
2004-10-26 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* src/Makefile.am: CFLAGS was `-O2 -g', for now just `-g'. (Mixing
these two compiler options can cause really bad indigestion, i.e.
untracable bugs).
* src/glade-gtk.c:
- empty(): now serves as a standard noop for fill-empty functions
(as ignore() noop serves for get/set property).
- glade_gtk_fixed_post_create(): Removed useless
gtk_widget_add_events() line.
- glade_gtk_message_dialog_post_create: Fixed 155849, Message
dialog children
are now selectable usable through the UI.
- glade_gtk_fixed_fill_empty(): Obsoleted by `empty()'
* src/glade-project.c: glade_project_selection_add()/
glade_project_selection_set():
Functions no longer prematurly returns if the editor has no widget
loaded. (This is bug 155892)
* src/glade-property.c: glade_property_set() Function now takes care of
removing widgets from and adding widgets to the project if that
widget belongs to a project in the case of construct_only, also, if
that widget is in the selection list, the selection list is handled
here too.
* src/glade-widget.c:
- glade_widget_rebuild() Removed logic that handles
project/selection lists in favor of code in glade-property.c
- Added roboustness around glade_widget_set_widget() and
glade_widget_transport_children().
* widgets/gtkfixed.xml: Replaced fill-empty reference in favor of
`empty()'.
2004-10-26 David Hoover <karma@deadmoose.com>
* src/Makefile.am,src/glade-editor.c,src/glade-marshallers.list,
src/glade-widget.c: Dynamically generate a marshaller that was in
glade-editor.c, shorten the marshallers' prefix.
2004-10-25 David Hoover <karma@deadmoose.com>
* configure.in, src/.cvsignore, src/Makefile.am,
src/glade-marshallers.list: Add support to automatically generate
the marshallers files rather than checking in generated versions.
* src/glade-marshallers.c, src/glade-marshallers.h: Removed, since they
are now automatically generated.
2004-10-22 Tristan Van Berkom <tristan.van.berkom@gmail.com>
* src/glade-gtk.c: Added functionality for GtkFixed (also replaced some
ints with gints and chopped down some lines).
* src/glade-plugin.h: Added some headers for the plugin (needed for
GtkFixed)
* src/glade-popup.c,src/glade-project.c: Replaced reference to
GLADE_WIDGET_IS_TOPLEVEL (support for deprication of flags on
GladeWidgetClass).
* src/glade-project-view.c: Replaced reference to
GLADE_WIDGET_IS_TOPLEVEL (support for deprication of flags on
GladeWidgetClass).
* src/glade-project-window.[ch]: Replace gpw->project with
gpw->active_project and added
glade_project_window_get_active_project() for clarity's sake.
* src/glade-property-class.h: Added construct_only as a quick reference
(to G_PARAM_CONSTRUCT_ONLY).
* src/glade-property.c: glade_property_set() will now check for
construct_only and call glade_widget_rebuild_instance() if needed.
* src/glade-utils.c: fixed the queue_nodes code to add a reference on
the GladeWidget pertaining to the expose event, since the code
depends on the existance of the GladeWidget, the GtkWidget and the
GdkWindow as opposed to only the GdkWindow
* src/glade-widget-class.c: Update construct_only tab upon construction
of GladePropertyClass structs. Removed set of depricated flags on
GladeWidgetClass.
* src/glade-widget-class.h: Removed depricated flag macro definitions
(and removed the flags)
* src/glade-widget.c:
- Fixed Segfaults (Removed glade_widget_class_free() in finalize)
- Objects are now built with thier properties as paramaters of
g_object_newv
- Added glade_widget_rebuild_instance for the purpose of changing
properties that are flagged as G_PARAM_CONSTRUCT_ONLY.
* pixmaps/fixed_bg.xpm: New picture for background of GtkFixed.
* widgets/gtkfixed.xml,widgets/Makefile.am: Add definition of GtkFixed.
2004-10-06 Morten Welinder <terra@gnome.org>
* widgets/gtkradiobutton.xml: Define the group property.
* widgets/gtk-base.xml: Load gtkradiobutton.xml
* src/glade-widget.c (glade_widget_new_child_from_node): Bullet
proof.
* src/glade-property-class.c
(glade_property_class_make_gvalue_from_string): Bullet proof.
* src/glade-gtk.c (glade_gtk_radio_button_set_group,
glade_gtk_radio_button_get_group): New functions.
2004-10-06 Morten Welinder <terra@gnome.org>
* src/glade-gtk.c (glade_gtk_widget_condition): Fix life cycle of
GtkObjects.
* src/glade-xml-utils.c (glade_xml_context_destroy): Only
conditionally free xml document.
(glade_xml_context_new_real): New arg "freedoc".
* src/glade-gtk.c (glade_gtk_widget_get_tooltip): Bullet proof.
(glade_gtk_notebook_post_create): Actually set the property.
* src/glade-widget.c (glade_widget_debug_real,
glade_widget_debug): New functions.
(glade_widget_set_name): Bullet proof.
(glade_widget_set_internal): Ditto.
(glade_widget_set_project): Ditto.
(glade_widget_fill_from_node): Plug leaks.
(glade_widget_new_from_node_real): Plug leak.
(glade_widget_new_child_from_node): Fix loading of internal
children and plug leak.
(glade_widget_get_internal_child): Change to return GtkWidget
because the GladeWidget may not be connected yet.
2004-10-04 Morten Welinder <terra@gnome.org>
* src/glade-utils.c (glade_util_widget_set_tooltip): Plug leak.
* src/glade-editor.c (glade_editor_load_common_page): Plug leak.
(glade_editor_load_widget_page): Plug leak.
(glade_editor_load_common_page): Plug leak.
* src/glade-gtk.c (glade_gtk_table_set_n_common): Plug leak.
* src/glade-project.c (glade_project_add_widget): Plug leak.
(glade_project_remove_widget): Plug leak.
* src/glade-project-window.c (do_close): Split out from
gpw_close_cb.
(gpw_quit_cb): Close all windows.
* src/glade-widget.c (glade_widget_new_for_internal_child): Plug
leak.
(glade_widget_new_from_node_real): Plug leak.
(glade_widget_new): Plug leak.
* src/glade-catalog.c (glade_catalog_load): Plug leak.
* src/glade-property-class.c
(glade_property_class_update_from_node): Plug leak.
(glade_property_class_update_from_node): Plug leak.
* src/glade-xml-utils.c (glade_xml_context_destroy): Plug leak.
* src/glade-widget-class.c (glade_widget_class_extend_with_file):
Plug leaks.
* src/glade-widget.c (glade_widget_finalize): Don't try to destroy
a hash table with g_object_unref.
(glade_widget_dispose): Glade properties are not GObjects, so
don't use g_object_unref on them.
2004-09-23 David Hoover <karma@deadmoose.com>
* src/*.c: mass addition of new gtk-doc-style comments for functions,
some cleanup of language & formatting in existing comments, minor
whitespace fixes, etc.
Slightly revised and committed by terra@gnome.org (Morten Welinder)
2004-07-26 Shane Butler <shane_b@users.sourceforge.net>
* widgets/gtkbox.xml: Fixed bug with loading GtkBoxes where too
many items were added (resize to see). Removed Default (this is
done in glade_gtk_box_post_create() anyway) and set the Min to 1.
2004-06-16 Paolo Borelli <pborelli@katamail.com>
* src/glade-utils.c (glade_util_file_chooser_new): center the
dialog. Patch by Michał Byrecki <byrek@elektronika.org>.
2004-06-16 Paolo Borelli <pborelli@katamail.com>
* configure.in: minor updates, as suggested on glade-devel by
Cristian Adam <drac@gmx.net>
* po/POTFILES.in: ditto
2004-05-21 Shane Butler <shane_b@users.sourceforge.net>
* src/glade-widget.c (glade_widget_write_child): don't save empty packing tag.
2004-05-17 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-utils.c (glade_util_file_chooser_new): the order of buttons
should be Cancel then Open/Save, not the other way around (as per HIG)
Fixed :-).
2004-05-16 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-menu-editor.c, glade-project-window.c, glade-utils.[ch]:
Use the new save/open dialog box in gtk+-2.4. Patch by kov at
debian dot org, slightly modified by me.
* src/glade-widget-class.c: prevent a crash when loading a widget
without a generic_name. The crash only happens with gtk+-2.4
* src/gtkwindow.xml: ignore the setting and getting of the "type"
property on GtkWindows, as it's construct only.
2004-05-10 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget-class.c, glade-widget-class.c: fix the build
(and remove the last remanants of the "queries").
* src/glade-property.h: fix a typo.
2004-05-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-property.c: don't save invisible properties.
* src/glade-widget.c, glade-property-class.[ch]: little janitorial
work.
2004-05-08 Damon Chaplin <damon@gnome.org>
* src/glade-gtk.c (ask_for_number, glade_gtk_table_post_create): set
the dialog positions to GTK_WIN_POS_MOUSE. Since we don't set a parent
window they currently seem to default to the middle of the screen,
which is annoying.
* src/glade-project-window.c (gpw_construct_toolbar): removed Quit,
since the GNOME HIG says we shouldn't have it in the toolbar.
(gpw_create_widget_tree, gpw_create_editor): don't set type hint to
GDK_WINDOW_TYPE_HINT_UTILITY, since that makes them stay on top all
the time, but they are too big and get in the way.
(gpw_create_palette, gpw_create_editor)
(glade_project_window_create): set initial positions of windows to
something reasonable. Hopefully we will save window positions between
sessions in future.
2004-05-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget.c: Removed some code in
glade_widget_create_packing_properties needed to handle
"grand-children" properties, as it doesn't works if the widgets
are not yet chained (and that happens when reading a glade file),
and we still don't use "grand-children" properties.
2004-05-07 Damon Chaplin <damon@gnome.org>
* src/glade-project-window.c (gpw_save_cb): check the return value
from glade_project_save() and pop up a dialog if there is an error.
* src/glade-project.c (glade_project_save): only copy the path if
it is different from the current path. It was freeing the old path
then trying to copy it, resulting in bits of rubbish.
2004-05-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-gtk.c: Remove the tooltips when needed.
* src/glade-project-window.c: Fix a typo (patch by kov at
debian dot org).
2004-05-06 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-gtk.c: Implement the getter for the tooltips.
2004-05-06 Damon Chaplin <damon@gnome.org>
* src/glade-widget.c (glade_widget_connect_signal_handlers): don't
connect handlers for placeholders, and set a flag to indicate we've
connected a handler so we don't do it twice accidentally.
(glade_widget_get_parent): tidied up a little.
* src/glade.h (GLADE_TAG_EVENT_HANDLER_CONNECTED): added tag.
2004-05-05 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* widgets/gtk-base.xml: Remove the accelerator label.
* widgets/gtkdialog.xml, gtkmessagedialog.xml, gtkwindow.xml: Remove
the tooltip property. Now it's only specified in gtk-widget.xml.
* widgets/gtkwidget.xml: Add a tooltip property.
* pixmaps/hpaned.png,vpaned.png: swap these two icons.
* src/glade-gtk.c: Implement glade_gtk_widget_set_tooltip, still not
finished.
* src/glade-editor.c: Don't show "invisible" properties.
* src/glade-property-class.[c,h]: Remove GladePropertyQuery. Now the
queries are done in glade-gtk.c. Add a glade_property_class_is_visible
function, that says if a property should be visible in the properties
editor. The difference with Disabled is that the visible status
will be checked when the property is added to the editor (and thus
the check is done against the real GladeWidgetClass, say "GtkLabel")
and Disabled is checked at the creation of GladePropertyQuery
(and thus the check is done with a possibly abstract GladeWidgetClass,
as "GtkWidget"). In addition, "Visible" specify a function that
returns true or false in function of the GladeWidgetClass passed.
That way implementing "tooltips" property becomes much less cumbersome.
* src/glade-project.[c,h]: Add a GtkTooltips to the project.
* src/glade_plugin.def: Add to two new functions to be used by glade-gtk.c
2004-05-05 Damon Chaplin <damon@gnome.org>
* src/glade-widget.c (glade_widget_find_inside_container): don't
accept placeholders. They are handled separately, using their own
signal handlers. This avoids a crash, though there is still an odd
bug when trying to select the top-left placeholder in a table.
2004-05-05 Damon Chaplin <damon@gnome.org>
* src/glade-widget.c (glade_widget_find_deepest_child_at_position):
if we found a widget (data.found), but it isn't a container, just
return it. It was ignoring it and returning its parent before.
(glade_widget_event): renamed from glade_widget_expose(). It is now
called for all events, for all widgets (except placeholders).
(glade_widget_connect_signal_handlers): was connect_to_expose_event().
It now connects to the "event" signal for all widgets instead of
just "expose_event".
(glade_widget_set_widget): call above function, and don't connect
to "button_press_event" any more.
* widgets/gtkwidget.xml: Don't set the "events" property within Glade,
since we need to modify it ourselves to get button events etc.
2004-05-03 Damon Chaplin <damon@gnome.org>
* src/glade-utils.c (glade_util_queue_draw_nodes): new function to
queue a draw of the selection nodes, for the given GdkWindow.
(glade_util_draw_nodes_idle): new idle function to redraw any
selection nodes within the given window that has received an expose
signal. (The old method didn't work on win32 as gdk_gc_set_subwindow()
doesn't work there.)
* src/glade-placeholder.c (glade_placeholder_expose):
* src/glade-widget.c (glade_widget_expose): just call
glade_util_queue_draw_nodes() to queue a draw of the selection nodes.
* src/glade-project.[ch]: removed expose handler stuff.
2004-05-01 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-catalog.c: fix a double free if a palette name is lacking in
a xml file.
* src/glade-gtk.c: Remove unused code, add a PreCreateFunction for GtkGlade
* src/glade-widget.c: Don't execute PostCreateFunction and
FillEmptyFunction on widgets that are being read.
* src/glade-widget-class.c: Inherit PreCreateFunctions.
* widgets/gtkbox.xml: Remove the fill_empty inherited from gtkcontainer.xml
* widgets/gtktable.xml: Add a PreCreateFunction, and remove the fill_empty
function inherited from gtkcontainer.xml
* widgets/gtkbuttonbox.xml: Remove the fill_empty inherited from
gtkcontainer.xml
* widgets/gtktreeview.xml: Add gtktreeview.xml (I forget to add it in my
latest post).
* widgets/Makefile.am: Update it.
2004-04-30 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget-class.c: Add support for a PreCreateFunction,
a function that will got called before the widget's properties
are initialized with the values specified in the xml files.
* src/glade-widget.c: Call the PreCreateFunction before initilizing
the widget's properties.
* src/glade-gtk.c: Add a PreCreateFunction for adding two
columns to GtkTreeView.
* widgets/gtk-basic.xml: Add a file to customize GtkTreeView behaviour.
* widgets/gtktreeview.xml: Add a PreCreateFunction for GtkTreeView.
2004-04-30 Damon Chaplin <damon@gnome.org>
* src/glade-widget.c (glade_widget_expose): new function called
whenever a widget receives an "expose_event" signal. It calls
glade_project_queue_expose_handler() to ensure the selection
rectangles are drawn later.
(glade_widget_connect_to_expose_event): recursively connects to
the "expose_event" signal to call above function.
(glade_widget_set_widget): call above function to connect signals.
* src/glade-utils.c (glade_util_get_window_to_draw_on): new function
to return the window to draw selection rectangles/nodes on for a
given widget.
(glade_util_draw_nodes): use the above function to get the window.
Use the GC of the widget owning the window. Use the widget's
allocation rather than translating the coordinates, since that isn't
needed. I think this works OK for normal widgets with/without their
own window, and for widgets inside a GtkViewport. We may need to
tweak it for widgets inside a GtkLayout.
(glade_util_add_nodes, glade_util_remove_nodes)
(glade_util_has_nodes): we don't need to connect/disconnect signal
handlers here any more, so we just save a binary value indicating
if the widget has nodes or not.
* src/glade-project.c (glade_project_queue_expose_handler): new
function to set up an idle handler which will draw the selection
rectangles.
(glade_project_expose_handler): draws the selection rectangles.
(glade_project_finalize): remove any existing idle handler source.
* src/glade-project.h (struct _GladeProject): added expose_handler_id
which we use for the idle handler which draws selection rectangles.
* src/glade-placeholder.c (glade_placeholder_get_project): new
utility function to get the project the placeholder is in.
(glade_placeholder_button_press): use new utility function above.
(glade_placeholder_expose): call glade_project_queue_expose_handler().
2004-04-29 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal-editor.c: fix the erasing of signal handlers,
and handle void inserts.
* src/main.c: change a char* to static char *.
2004-04-26 Damon Chaplin <damon@gnome.org>
* .cvsignore: added autom4te.cache, changed glade2.desktop to
glade-3.desktop, and removed glade2-*.tar.gz.
* src/.cvsignore: changed glade2 to glade-3.
2004-04-26 Damon Chaplin <damon@gnome.org>
* src/glade-editor.c (flag_toggled)
(glade_editor_property_show_flags_dialog): new functions to show a
modal dialog for modifying flags properties.
(glade_editor_create_input_flags): finished, using an uneditable entry
and a '...' button next to it to show the dialog above.
(glade_editor_property_load_flags): finished, by converting the flags
GValue to a string and setting it in the entry.
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
just return GLADE_PROPERTY_TYPE_FLAGS for flags types.
(glade_property_class_make_string_from_gvalue): support flags.
(glade_property_class_make_flags_from_string): new function copied
from libglade to parse flags from a string.
(glade_property_class_make_gvalue_from_string): use above function to
support flags.
(glade_property_class_new_from_spec): store the flags type in
enum_type.
* src/glade-property-class.h (struct _GladePropertyClass): add to
comment noting that enum_type is also used for flags now.
2004-04-26 Damon Chaplin <damon@gnome.org>
* src/glade-command.c (glade_command_set_property): only use the
property value string in the description if it is not NULL, short
(< 10 bytes), and doesn't contain any '_' characters. Otherwise the
Undo/Redo menu items get too long, and the '_' get converted to
underlined accelerator keys.
2004-04-22 Damon Chaplin <damon@gnome.org>
* src/glade-widget.h: included "glade-types.h", removed duplicate
declaration of GladeWidget, and used comments after final #endif.
* src/Makefile.am (glade_3_SOURCES): added glade-marshallers.c.
(noinst_HEADERS): added glade-marshallers.h.
2004-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-packing.[ch]: remove unused file.
2004-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* widgets/gtkwindow.xml: remove allow shrink, allow grow, and resize
mode properties, as per Damon suggestion.
2004-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* pixmaps/fontselectiondialog.png, [vh]paned.png, messagedialog.png:
fix 3 bad pixels in the shadow of these icons.
* src/glade-clipboard-view.c, glade-editor.c, glade-project-view.c,
glade-widget-class.h: account for changes on GladeWidget.
* src/glade-command.[ch]: account for changes on GladeWidget, and add
a new command for add/remove signal handlers.
* src/glade-signal.[ch]: rename glade_signal_compare by glade_signal_equal
and glade_signal_copy by glade_signal_clone.
* src/glade-utils.[ch]: move glade_util_replace_placeholder in a generalized
form to glade-widget.c. Make glade_util_get_parent work even for toplevels.
New glade_util_object_set_property function to set a property on a
GladeWidget using the set_property specified in GladeWidgetClass if any
(or g_object_set_property otherwise).
* src/glade-widget.[ch]: rewritten from scratch as a GObject. It exposes a
new API. It also fixes several bugs.
* src/glade-property.[ch]: account for changes on GladeWidget, and assure
that we don't assing a widget with an ID higher than needed.
* src/glade-signal-editor.[ch]: account for changes on glade-widget.c. The
API for adding/changing/removing signals handlers has changed, so this file
is quite affected. Chop the biggests functions for clarity. Account for the
new command add/remove signal handler (to get TODO/REDO functionality).
* src/glade-placeholder.c: fix the destruction of placeholders that don't
reach the realized stage.
* src/glade-gtk.c: move much of the fill empty functions to post create,
querying for properties as size, nb-rows, etc. when needed. Add some
placeholders to the action area of a dialog box.
* src/glade-clipboard.[ch]: As glade-widget now has a reference count,
remove glade_clipboard_add_copy, and use only glade_clipboard_add.
* src/glade-popup.c, glade-project-window.c: Account for changes on
glade-clipboard.c.
* widgets/gtk-base.xml: Add a file for GtkLabel and GtkFrame.
* widgets/gtk-box.xml: remove the fill empty function and add a post create
function (post create will query the number of items in the box and add
the placeholders).
* widgets/gtkbutton.xml, gtklabel.xml, gtktogglebutton.xml,
gtkcheckbutton.xml, gtkradiobutton.xml: Add a default label.
* widgets/gtktable.xml: simplify and remove fill empty (post create will
do the work, querying for the number of rows and columns).
* widgets/gtkframe.xml: simplify and set a default label.
2004-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-id-allocater.c: fix a typo.
2004-03-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-property.c (glade_property_write): write properties that
have a default value of NULL.
* src/glade-project.c: micro-manage the new names of widgets. As soon
as a new slot is available (for instance, if you change the name
of button3, then button3 becomes available) its used for a new
widget.
* src/glade-project.c (glade_project_dispose, glade_project_finalize):
implement dispose and finalize methods for GladeProject.
* src/glade-id-allocator.[ch]: code to manage the ids availables for
widgets. Code from Owen Taylor.
2004-02-29 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* pixmaps/dialog.png: fix some pixels in the shadow that didn't have
the right gray shade.
* src/glade-property.c: don't write properties that have the default
value.
2004-02-28 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* widgets/gtkdialog.xml: comment out "response-id" as a ChildProperty
to retain compatibility with glade-2. We should reput "response-id"
as a ChildProperty if that gets indeed accepted as a child-property
in gtk+ itself.
* widgets/gtkbutton.xml: add a "response-id" property to each button,
to keep backwards compatibility with glade-2.
2004-02-28 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-editor.c: restrict child-properties to widgets for which
child_property_applies returns TRUE, not only direct children.
* src/glade-gtk.c: implement a child_property_applies for
GtkDialog.
* src/glade-widget-class.[ch]: read child_property_applies_function_name
and customized child-properties under the ChildProperties tag.
* src/glade-widget.c: restrict child-properties to widgets for which
child_property_applies returns TRUE, not only direct children.
* src/glade.h: add the ChildProperties and ChildPropertyApplies tags.
* widgets/gtkdialog.xml: add a ChildPropertyApplies function, and
add a new ChildProperty ("response-id").
2004-02-12 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: implement open by drag&drop.
* src/glade-utils.[ch]: add glade_util_uri_list_parse for the above.
2004-02-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade_plugin.def: update to latest changes to fix the
windows build.
2004-02-11 Paolo Borelli <pborelli@katamail.com>
* src/main.c:
* src/glade-project-window.[ch]: handle more gracefully files
passed on the command line which aren't glade projects.
2004-02-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget.c: fix a little error that
was preventing internal childs from being selected.
2004-02-08 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: compile fix.
2004-02-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-project-window.c (gpw_about_cb): Create an about box.
2004-02-07 Joaquin Cuenca Abela <cuenca@levallois-1-81-57-181-150.fbx.proxad.net>
* src/glade-catalog.c (glade_catalog_load): Load the "palette_name" attribute
on each widget class which has a "generic_name".
* src/glade-palette.c (glade_palette_widget_table_create): Use the "palette_name"
attribute as the label of the widget class in the palette.
* src/glade-widget-class.[ch] (glade_widget_class_new): set the "palette_name"
attribute as a member of the widget class.
* widgets/gtk-base.xml, gtk-additional.xml, gtk-dialogs.xml, gtk-obsolete.xml:
Set the "palette_name" attribute of each widget class.
2004-02-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-palette.c: change the table with the widgets
to a vertical box, where each widget lies in a row
(the icon of the widget next to its label).
* src/glade-project-window.c: make the palette resizable.
* src/glade-widget-class.c: load png files instead of xpm
files for the icons of the widgets.
* widgets/glade-palette.xml, gtk-base.xml, gtk-additional.xml,
gtk-dialogs.xml, gtk-obsolete.xml: Change the layout of the
palette.
* pixmaps/*.png: 24bpp alpha blended icons for the widgets.
Most of them come from the jimmac collection.
2004-02-01 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.c: use gtk_window_present instead of
gtk_window_deiconify.
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* widgets/gtkwindow.xml: ignore the GetFunction of the property "modal".
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-property-class.c (glade_property_class_update_from_node):
make TagEnums and EnumType non required for enum properties.
* widgets/gtkwindow.xml: ignore type-hint, as it can't be set
after the window becames visible.
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal-handler.c: remove the editable handler from
the rows that contain just the class name.
2004-01-27 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal-handler.c: mark with bold the signals that have
a handler, along with the widget classes that have at least a signal
with a handler. Expand these classes by default in the signal editor.
Also make the signal's handler editable by just double-clicking in
the row.
2004-01-23 Paolo Borelli <pborelli@katamail.com>
* src/glade-placeholder.c: make the widget focusable and handle the
popup-menu signal so that SHIFT+F10 works.
* src/glade-placeholder.h: remove erroneus LGPL license.
* src/glade-widget.c: handle popup-menu and minor cleanups.
* src/glade-popup.[ch]: update for the above changes.
2004-01-22 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal-editor.c: fix some bugs in the signal editor. Now it's
more or less bug free (I hope), but the UI still needs a bit of love.
* src/glade-widget.[ch]: change the signals from a hash that points
to a GList, to a hash that points to an GArray. The change it
also solves some bugs in the old implementation.
2004-01-19 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal.c: make the "signal" column non editable in the
signal editor.
2004-01-18 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal.[ch]: add a glade_signal_copy function.
* src/glade-widget.[ch]: put the signals with a handler on a hash
indexed by the name of the signal.
* src/glade-signal-editor.[ch]: rework the UI of the signal editor.
2004-01-09 Tommi Komulainen <tommi.komulainen@nokia.com>
* src/glade-catalog.c
* src/glade-widget-class.c
* widgets/gtk-additional.xml
* widgets/gtk-base.xml: Instead of playing tricks with the library
filename, use the given name verbatim and let GModule handle platform
specifics. Load the library from Glade modules directory, or failing
that from standard library paths.
2004-01-08 Tommi Komulainen <tommi.komulainen@nokia.com>
* src/glade-widget-class.c: load the library module before attempting
to call *_get_type since the function could be located in dependent
libraries.
2003-11-29 Paolo Borelli <pborelli@katamail.com>
* widgets/gtkmenubar.xml: override fill_empty with ignore.
* widgets/gtk-base.xml: add gtkmenubar.xml.
* src/glade-menu-editor.c: gtk_icon_factory_lookup_default may return
NULL: avoid segfault.
2003-11-28 Paolo Borelli <pborelli@katamail.com>
* src/glade-palette.[ch]: implement the selector.
* src/glade-project-window.[ch]: adapt to the above.
* src/glade-command.c: ditto.
* src/glade-placeholder.c: ditto.
2003-11-28 Paolo Borelli <pborelli@katamail.com>
* glade3.desktop.in: add Encoding property.
* src/main.c: set the app name.
* src/glade-xml-utils.[ch]: remove two unused functions.
2003-11-19 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.[ch]: remove get_project and minor cleanups.
* src/glade-widget-class.c: remove include not needed.
2003-11-18 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget-class.c: simplify glade_widget_class_merge.
* src/glade-property-class.c: fix query->question cloning.
2003-11-14 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.c: deiconify a window when double clicking on
its icon in the project view.
* src/glade-gtk.c: set/get_size for the toolbar.
* widgets/gtktoolbar.xml: added.
* widgets/gtk-base.xml: add toolbar.
2003-11-14 Poalo Borelli <pborelli@katamail.com>
* src/glade-command.[ch]: update the MAKE_TYPE macro for GType and
more janitoring. Move GladeCommand declaration in the header.
* src/glade-project-window.c: adapt to the changes above.
* src/glade-palette.h: cut and paste typo in macro.
* src/glade-utils.c: missing include.
* src/glade-placeholder: missing include.
2004-01-15 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.c: don't crash im the widget doesn't have
a valid icon.
2003-11-13 Paolo Borelli <pborelli@katamail.com>
* src/glade-command.c: free the value of the set property command in the
finalize function, missed it in the prevoius audit. Some cleanups along
the way.
2003-11-10 Paolo Borelli <pborelli@katamail.com>
* src/glade-command.c: audit all the GValues and fix leaks: GValues
should be unset when done with them.
* src/galde-editor.c: ditto.
* src/glade-signal-editor.c: ditto.
* src/glade-property-class.c: ditto.
* src/glade-property.c: ditto.
* src/glade-widget.c: ditto.
2003-11-09 Paolo Borelli <pborelli@katamail.com>
* src/glade-catalogs.[ch]: remove catalog_get_widgets: no more needed.
* src/glade-palette.[ch]: declare get_type in the header and some minor
cleanups.
* src/glade-widget.c: cleanups.
2003-11-09 Paolo Borelli <pborelli@katamail.com>
* src/glade-property.[ch]: turn GladeProperty into a simple struct
instead of a GObject.
* src/glade-editor.c: fixup for the above change.
2003-11-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* glade-placeholder.c: Unref the placeholder_pixmap in the finalize
function instead of in the destroy function.
2003-11-07 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c: when adding the packing properties get their
value from gtk. Remove two unused functions.
* src/glade-command.c: set the packing properties after having
container_add'ed the widget.
* src/glade-property.[ch]: remove get_from_widget, no more needed.
* src/galde-property-class.[ch]: remove class->get_default.
* src/glade-project.c: check the parameters of some functions.
2003-11-06 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* glade-3.png: restore the good png.
2003-11-05 Paolo Borelli <pborelli@katamail.com>
* src/glade-placeholder.c: restore the cursor change when you can add
a widget.
2003-11-05 Paolo Borelli <pborelli@katamail.com>
* src/glade-placeholder.[ch]: move typedefs to glade-types.h to fix
compilation on linux. Remove add_method_to_class since it's not needed.
* src/glade-xml-utils.h: move typedefs to glade-types.h
* src/glade-types.h: add mentioned types.
* src/glade-widget-class.h: remove forward decls, include glade-types.
* src/glade-widget.h: ditto.
2003-11-02 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-placeholder.[ch]: rewrite it as a GtkWidget. Moved some
of its functions to glade-utils.c.
* src/glade-command.c: Adapt the source to the new placeholder.
* src/glade-packing.c: ditto.
* src/glade-popup.c: ditto.
* src/glade-types.h: ditto.
* src/glade-utils.c: ditto.
* src/glade-widget.c: Put a variable declaration before any statement.
* src/glade-widget.h: Add some forward declarations.
* src/glade-gtk.c: export the functions using __declspec(dllexport) in
windows and adapt to new placeholder.
* src/glade-editor.c: Use G_GNUC_FUNCTION instead of the non portable
__FUNCTION__.
* src/glade_plugin.def: def file with the exported functions from the
core of glade. These functions may be used in glade-gtk.c, or in
* src/glade-plugin.h: include files need by glade-gtk.c.
any external module. Only need in windows.
2003-11-02 Paolo Borelli <pborelli@katamail.com>
* src/glade-property-class.[ch]: move choice* stuff to glade-choice.c
and remove dead code.
* src/glade-choice.[ch]: see above.
2003-11-01 Paolo Borelli <pborelli@katamail.com>
* glade-3.desktop.in: minor updates from glade-2.
* Makefile.am: remove .dektop file on make clean.
* src/glade-property.[ch]: ifdef out the ->child member since it's
unused. Remove glade_property_get_* since they are not needed.
* src/glade-widget.[ch]: move here the get_property_by_id function and
simplify the get_property_by_class. Use apply_property_from_node also
for packing properties.
* src/glade-gtk.c: fixups for the above changes.
* src/glade-editor.c: ditto.
* src/glade-types.h: remove GladePaletteSelection.
2003-10-31 Paolo Borelli <pborelli@katamail.com>
* src/glade-utils.[ch]: remove unused function.
* src/glade-widget.c: remove duplicated header include.
2003-10-31 Paolo Borelli <pborelli@katamail.com>
* src/glade-gtk.c: remove not needed functions.
* src/glade-property-class.[ch]: get rid of updated_signlas, it was
unused, broken and glade-2 doesn't work like that anyway.
* src/glade-widget-class.c: update for the above.
* src/glade-widget.c: update for the above. Also return FALSE on the
key_pressed callback so that it is possible to type in a GtkEntry.
* src/glade.h: update for the above.
* widgets/gtkentry.xml: remove.
* widgets/gtktogglebutton.xml: update for the above.
* widgets/gtkcheckbutton.xml: ditto.
* widgets/gtk-base.xml: readd the files for toggle and check buttons.
2003-10-27 Paolo Borelli <pborelli@katamail.com>
* src/glade-property.[ch]: janitoring; remove an old prototype and
consolidate property_new().
* src/glade-widget.c: fix up the only caller.
2003-10-27 Paolo Borelli <pborelli@katamail.com>
* src/glade-gtk.c: move internal children creation to the post_create
method, since it's executed also when loading a .glade file. Implement
the get_internal_child method for GtkDialog.
* src/glade-widget-class.[ch]: add the get_internal_child method.
* src/glade-widget.c: factor out fill_from_node from new_from_node and
use it for internal children. Add glade_widget_get_internal_child.
* src/glade.h: define GLADE_TAG_GET_INTERNAL_CHILD_FUNCTION.
* widgets/gtkdialog.xml: add the get_internal_child function.
2003-10-23 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.[ch]: add glade_widget_new_for_internal_child and
add an internal field to the GladeWidget struct. Handle writing the
internal-child attribute to the glade file; reading still needs work.
* src/glade-gtk.c: create the GladeWidgets for the internal children
in dialog_fill_empty
* src/glade-placeholder.c: don't walk up the widget hierarchy when
getting the parent.
* src/glade-widget-class.h: add comment about internal children.
* src/glade-command.c: prevent internal children from being deleted.
* src/glade-utils.[ch]: implement container_get_all_children.
2003-10-22 Paolo Borelli <pborelli@katamail.com>
* widgets/gtk-base.xml: readd hseparator and vseparator since they
got lost at some point.
* widgets/gtkseparator.xml: remove since it's not needed.
2003-10-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c: refactor GladeWidget creation so that
glade_widget_new_full is the same of glade_widget_new with the only
difference that it takes care of creating the GtkWidget. Other
minor cleanups along the way.
* src/glade-command.c: call glade_widget_set_contents during the
create command as we do in the paste command.
2003-10-20 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.c (glade_editor_create_input_numeric): restore
a bit of (erroneusly?) commented out code that prevented to change
numeric properties.
2003-10-20 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.[ch]: move GladeProjectQuery here and
remove the window_title field since it doesn't make sense, e.g. you
can query for different properties in the same dialog.
* src/glade-widget.c: move QueryResult struct here and cleanup the
query logic a little.
* src/glade-property.[ch]: delete stuff moved elsewhere.
* src/glade.h: remove the WindowTitle tag.
* widgets/gtkbox.xml: remove WindowTitle.
* widgets/gtktable.xml: ditto.
* widgets/gtknotebook.xml: ditto.
2003-10-20 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c (glade_widget_query_properties): set the query
dialog title.
2003-10-15 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget-class.c (glade_widget_class_new): move extend with
file after merging with parent.
* src/glade-gtk.c: implement statusbar_get/set_has_resize_grip.
* widgets/gtk-base.xml: add gtkstatusbar.xml
* widgets/gtkstatusbar.xml: add.
2003-10-15 Paolo Borelli <pborelli@katamail.com>
* src/glade-property-class.c: fix thinko in last commit.
2003-10-13 Paolo Borelli <pborelli@katamail.com>
* src/glade.h: remove GLADE_TAG_PARAM_SPEC. We no longer need it since
we list in the xml files only the overridden properties.
* src/glade-property-class.[ch]: add an enum_type field to hold the
GType of enum properties. glade_property_class_update_from_node: clean
up and remove the handling of ParamSpec="FALSE" since it's a leftover
from when we listed all the properties in the xml files.
glade_property_class_list_add_from_node: moved to glade-widget-class.
* src/glade-widget-class.c: add update_properties_from_node().
* widgets/*.xml: remove all the occurrencies of ParamSpec="FALSE" and
remove some other no longer needed properties.
2003-10-06 Paolo Borelli <pborelli@katamail.com>
* src/glade.h: define GLADE_TAG_REPLACE_CHILD_FUNCTION
* src/glade-widget-class.[ch]: rename the placeholder_replace method
to replace_child and get it from the xml. add_virtual_methods() is no
more.
* src/glade-placholder.[ch]: rename the replace_placeholder* functions
and move them to glade-gtk.c where they belong. add_method_to_class is
gone.
* src/glade-gtk.c: see above.
* src/glade-widget.c: fixup for the above changes.
* widgets/gtk-base.xml: extend gtknotebook with file.
* widgets/gtknotebook.xml: add ReplaceChildFunction.
* widgets/gtkcontainer.xml: ditto.
2003-10-06 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c (glade_widget_new_from_class): apply queried
properties after fill_empty.
* widgets/gtkbox.xml: remove the workaround for the bug fixed above.
2003-10-05 Paolo Borelli <pborelli@katamail.com>
* src/glade.h: define GLADE_TAG_FILL_EMPTY_FUNCTION
* src/glade-widget-class.[ch]: add the fill_empty method.
* src/glade-widget.c: substitute glade_widget_fill_empty with the
class->fill_empty method.
* src/glade-gtk.c: implement the fill_empty method for GtkContainer,
GtkDialog and GtkPaned.
* widgets/gtkcontainer.xml: added.
* widgets/gtkpaned.xml: added.
* widgets/gtkdialog.xml: add fill_empty method
* widgets/gtkbutton.xml: ditto.
* widgets/gtkbox.xml: ditto.
* widgets/gtk-base.xml: add gtkpaned and gtkcontainer.
2003-10-04 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-gtk.h: remove this file.
* widgets/gtkmessagedialog.xml: set the [gs]et functions of the tooltip
property of GtkMessageDialog to "ignore".
2003-10-04 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* TODO: update the TODO list.
2003-10-04 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-catalog.c: read the name of the plugin to be used by each
catalog and pass it to the constructor of glade-widget-class. Also
if a specific class has a specific plugin name to be used, use it instead
of the generic of the whole catalog.
* src/glade-gtk.c: remove the "static" from the functions that should
be exported, and remove the "temp hack" that was used to load the
address of the functions, as it's no more needed.
* src/glade-property-class.c: remove glade_property_class_get_{get,set}_function
and use g_module_symbol instead.
* src/glade-widget-class.c: use g_module_symbol instead of the previous {get,set}
functions. Remove unused functions. Rename glade_widget_class_new_from_name2
to glade_widget_class_new as it's the only constructor. Use the plugin
name that glade-widget-class passed to the constructor and load it.
* src/glade-widget-class.h: add a GModule* by GladeWidgetClass.
* src/glade-widget.c: remove the #include <glade-gtk.h>
* widgets/gtk-additional.xml: add the name of the plugin ("gtk") for all the
widgets on gtk-additional.
* widgets/gtk-base.xml: ditto
* widgets/gtkwidget.xml: remove the "name" tag, as it's not need.
* widgets/gtkwindow.xml: change glade_gtk_widget_{get,set}_tooltip by "ignore",
as that's what these functions do.
2003-09-02 Paolo Borelli <pborelli@katamail.com>
* src/glade.h: add the internal child tag.
* src/glade-widget.c (glade_widget): remove some g_warning I added
yesterday since they were bogus and split glade_widget_write_child
to improve readability.
(glade_widget_new_child_from_node): warn about the use of the yet not
supported InternalChild tag.
* src/glade-project-window.c: fix a segfault.
2003-09-01 Paolo Borelli <pborelli@katamail.com>
* src/glade.h: add the <requires> tag.
* src/glade-widget.c (glade_widget_write),
(glade_widget_new_from_node_real): don't abort on error, warn and
continue.
* src/glade-project.c (glade_project_new_from_node): handle the
<requires> tag more gracefully, even if it's not supported yet.
* src/glade-widget-class.c: rename get_from_name to get_by_name and
comment out the old get_by_name.
2003-08-31 Paolo Borelli <pborelli@katamail.com>
* src/Makefile.am: define GLADE_ICONDIR
* src/glade-project-window.c (glade_project_window_create): load the
icon.
2003-08-25 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-widget.c (glade_widget_new_from_node_real): replace call to
glade_widget_class_get_by_name to glade_widget_class_get_from_name.
Fixes .glade load bug.
2003-08-24 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget-class.c (glade_widget_class_remove_duplicated_properties):
when we had a specialized property on a base widget class, if this property
was the first one on the list of properties, the whole list was removed.
2003-08-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.[ch]: remove the tree structure (GladeWidget->parent
and GladeWidget->children) from struct GladeWidget: gtk holds that info
for us.
* src/glade-project.[ch]: adapt for the above, it allows to simplify
add_widget and remove_widget.
* src/glade-command.c: adapt for the above changes.
* src/glade-project-view.c: ditto.
* src/glade-popuc.c: ditto.
* src/glade-editor.c: ditto.
* src/glade-gtk.c: ditto.
* src/glade-widget-class.c (glade_widget_class_new_from_name2): load
child properties.
2003-08-20 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.c (glade_project_view_add_columns): new
function which adds a pixbuf renderer to display an icon next to the
widget name.
(glade_project_view_init): use the above.
* src/glade-clipboard-view.[ch]: swith from TreeStore to ListStore.
(glade_clipboard_view_populate_model): simplifification.
(glade_clipboard_view_create_tree_view): dispaly icon.
2003-08-18 Archit Baweja <bighead@users.sourceforge.net>
* widgets/gtktable.xml (<WindowTitle>): s/New vertical box/table.
* widgets/gtkbox.xml (<Tooltips>): s/columns/items.
2003-08-17 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.c (glade_project_view_populate_model_real):
do not use GladeWidget->children to populate the model.
2003-08-15 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-parameter.c: set 0.01 as the step for float and double parameters.
* src/glade-widget-class.c: parse the PostCreateFunction value on
glade_widget_class_extend_with_file.
* widgets/gtkwindow.xml: put again the PostCreateFunction to set a reasonable
default size for a window.
* widgets/gtkmessagedialog.xml: reuse this xml file.
* widgets/*.xml: remove some unneed tags, as name and generic_name, as now
there are defined on gtk-base and gtk-additional.xml files.
2003-08-14 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget-class.[ch]: reapply minor cleanups after Joaquin's
merge.
* src/glade-project.c (glade_project_remove_widget_real):the
remove_widget signal should pass a GladeWidget as data, not a GtkWidget.
2003-08-08 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project.c (glade_project_open): set project->changed=FALSE.
* src/glade-widget.c (glade_widget_new_child_from_node): minor code
cleanup.
2003-08-07 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-gtk.c (glade_gtk_notebook_set_n_pages): when number of
pages decrease delete widget and remove from project. Works now.
2003-08-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-catalog.[ch], glade-palette.c: Specify the order in which
the catalogs should appear on the palette (read it from
widgets/glade-palette.xml). Also changed a bit the format of
the catalogs.
* src/glade-parameter.[ch], glade-property-class.[ch], glade-widget-class.[ch],
glade-widget.c, glade-xml-utils.h: Inherit properties specified on a
xml file from a base class to an inherited class. It makes possible
to specify something special for (for instance) GtkWidget, and
make it inherit for each GtkWidget.
* widgets/glade-palette.xml: specify the order of the catalogs.
* widgets/gtkwidget.xml, gtkbox.xml: specify common properties for
gtkwidgets and gtkboxes. Coupled with the above changes, it
makes almost every xml file obsolete.
2003-08-07 Paolo Borelli <pborelli@katamail.com>
* src/glade-utils.[ch]: remove dependency on glade-project-window.h.
* src/glade-project-window.c: fix for the above.
* src/glade-widget.c: fix for the above.
* src/glade-command.c: fix for the above.
2003-08-06 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.c: remove dependency on glade-project-window.h.
2003-08-05 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-property.c (glade_property_set): when using custom
set_function, copy the GValue for the property. Fixes a couple of bugs.
* src/glade-widget.c (glade_widget_new_from_node_real): set properties
after setting children.
2003-08-05 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget-class.[ch]: use GtkImage for the widget icon.
* src/galde-palette.c: replace deprecated stuff.
* src/glade-editor.c: ditto.
2003-08-04 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-widget.c (glade_widget_query_properties): have the buttons
appear in "Cancel" "Ok" order as per HIG.
2003-08-03 Paolo Borelli <pborelli@katamail.com>
* src/glade-project.[ch]: convert from GtkObject to GObject.
* src/glade-placeholder.c: fix deprecated stuff.
* src/glade-project-view.c: ditto.
2003-08-03 Paolo Borelli <pborelli@katamail.com>
* src/glade-project.[ch]: turn the list
of widgets making up a project from a list
of GladeWidgets to one of GtkWidgets. Also
cleanup project_write a little.
* src/glade-project-view.c: update for the
above change.
* src/glade-project-window.c: ditto.
2003-08-01 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.c: make tooltips work
on the labels in the editor.
2003-07-30 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c: read the widget name
from the xml file and minor cleanups.
* src/glade-property-class.[ch]: move
create_label to editor.c.
* src/glade-editor.c: see above.
2003-07-27 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget-class.[ch]: turn
post_create_function in a method. Some
other cleanups.
* src/glade-widget.c: update for the above
2003-07-26 Paolo Borelli <pborelli@katamail.com>
* src/glade-property.[ch]: generalize
set_property taking adavantage of GValue.
* src/glade-widget.c: update for the above
2003-07-26 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget-class.[ch]: introduce
child_properties to get packing properties
from the GObject system.
* src/glade-widget.[ch]: separate packing
properties from normal properties and
take advantage of the above.
* src/glade-editor.c: update for the above
* src/glade-property.c: ditto.
* src/glade-command.c: ditto.
* src/glade-catalog.c: ditto.
* src/main.c: ditto.
2003-07-25 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.[ch]: simplify
replace_with_placeholder api.
* src/glade-command.c: adapt for the above
2003-07-21 Paolo Borelli <pborelli@katamail.com>
* main.c: move log stuff to debug.c
* src/glade-debug.[ch]: see above.
* src/glade-palette.c: small cleanup.
2003-07-17 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c: fix widget_free, it
should not recurse. Fix logic of property
query.
* src/glade-project-window.c: fix close
properly (hopefully).
* src/glade-command.c: fix segfault on
widget creation.
2003-07-11 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: fix warning.
2003-07-08 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: add the
WINDOW_TYPE_HINT_UTILITY to the palette, the
editor and the widget tree.
* src/glade-clipboard-view.c: ditto for
the clipboard; GtkObject -> GObject along
the way.
2003-07-07 Paolo Borelli <pborelli@katamail.com>
* src/glade.h: add GLADE_PROPERTY_TYPE_FLAGS.
* src/glade-editor.c: ditto.
* src/glade-property.[ch]: ditto.
* src/glade-property-class: ditto.
* src/glade-placeholder: remove unused include.
2003-07-06 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c: handle the delete event
in the properties query dialog.
* src/glade-widget-class.c: fix two of leaks.
2003-07-03 Paolo Borelli <pborelli@katamail.com>
* src/glade-command.[ch]: simplify set_property
command, remove gvalue_to_string.
* src/glade-editor.c: update for the above.
2003-07-02 Paolo Borelli <pborelli@katamail.com>
* src/glade-property.[ch]: move here and semplify
property_refresh. Move widget property list
creation to widget.c.
* src/glade-widget.c: see above.
* src/glade-property-class.[ch]: factor out
property_class_new_from_spec and move
list_properties to widget-class.c.
* src/glade-widget-class.c: see above.
* src/glade-editor.c: small cleanup.
2003-06-30 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: on close, hide the
widgets instead of destroying them.
* src/glade-editor.c: small cleanup
2003-06-27 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: make the palette
unsensitive when there are no projects.
* src/glade-project-view: remove some dead code.
2003-06-25 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget.c: make glade_widget_write handle
placeholders.
2003-06-23 Paolo Borelli <pborelli@katamail.com>
* src/glade-placeholder.[ch]: remove some dead code.
* src/glade-widget.c: minor janitoring.
2003-06-22 Paolo Borelli <pborelli@katamail.com>
* src/glade-menu-editor.[ch]: misc janitorials, mainly
moving stuff around to eliminate prototypes.
2003-06-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-placeholder.c: fix return values for mouse
events callbacks.
* src/glade-project-window.[ch]: when selecting a widget
of another project the current project change.
* src/glade-widget.c: remove unused var.
2003-06-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-placeholder.c: remove unused function.
* src/glade-utils.c: fix indentation and such.
* src/glade-widget.c: remove unused function.
2003-06-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/main.c: try to fix the unix build.
2003-06-19 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-utils.[ch]: implement {add,remove,has}_nodes,
to add,remove,test nodes to any GtkWidget (used to
select or deselect a widget).
* src/glade-widget.[ch]: remove the selected flag, use
glade_util_has_nodes instead. Also remove the handler
on expose events, use add_nodes instead. The handler has
been fixed, now it draws on the double buffered window.
* src/glade-placeholder.[ch]: remove the selected_placeholder
flag. Remove the handler on expose events to draw the nodes,
use add_nodes instead. The handler to draw the border has
been fixed, as now it returns false instead void (it was
undetermined if the event was propaged after this handler
or not).
* src/glade-project*, glade-editor.c, glade-packing.c,
glade-command.c, glade-popup.c: account for the above changes.
2003-06-19 Paolo Borelli <pborelli@katamail.com>
* src/glade-signal-editor.c: plug my leaks.
* src/glade-widget.c: remove glade_widget_update_signal.
* src/glade-signal.c: add signal_compare.
* src/glade-project: when removing a widget, also remove
it from its parent's children list.
2003-06-18 Paolo Borelli <pborelli@katamail.com>
* src/glade-signal.[ch]: implement signal_new_from_node.
* src/glade-widget.c: use the above: we can read signal
from saved files.
2003-06-18 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.c: set loaded_widget to NULL on clear.
2003-06-17 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.[ch]: add signal related functions.
* src/glade-signal.[ch]: add glade_signal_new.
* src/glade-signal-editor.[ch]: use the above functions.
Also some ui love and misc code cleanups.
2003-06-15 Paolo Borelli <pborelli@katamail.com>
* src/glade-property.[ch]: gtk_object -> g_object cleanup.
2003-06-14 Paolo Borelli <pborelli@katamail.com>
* src/glade-gtk.c: first step at making the gtknotebook
work... at list now it displays.
* src/glade-placeholder: fix an assert related to the
above change.
2003-06-13 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.[ch]: simplify how a widget is loaded
into the editor.
* src/glade-project-window.c: update for the above.
* src/glade-project-view.c: connect to the row-activated
signal instead of button-press.
2003-06-13 Paolo Borelli <pborelli@katamail.com>
* src/glade-gtk.c: fix changing the size of a box.
2003-06-13 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.c: hide the tree view header in
the main window.
2003-06-12 Paolo Borelli <pborelli@katamail.com>
* src/glade-palette.c: hide notebook border.
2003-06-11 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-view.[ch]: GObjectified it and made it a
subclass of a gtkScrolledWindow.
* src/glade-project-window.c: update for the above.
2003-06-09 Paolo Borelli <pborelli@katamail.com>
* src/glade-palette.h: remove palette->project_window.
* src/glade-project-window.c: update for the above.
2003-06-07 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-command.c: Fix the ref/unref of widgets on creation,
destruction, copy & paste.
2003-06-07 Paolo Borelli <pborelli@katamail.com>
* src/glade-clipboard.[ch]: (cleanup) moved cut/copy logic to the
corresponding functions in command.c, as they were only called
there and since makes code similar to the create/delete commands.
Renamed clipboard_copy to clipboard_add_copy. Now the API for
a clipboard are: add, add_copy and remove.
clipboard->curr was set to null when removing a widget, now it
is set to the first widget of the clipboard->widgets list.
* src/glade-command.c: above explained changes to cut/paste,
cleanup/fix create/delete in ways similar to the cut/paste commands.
* src/glade-placeholder.c: misc cleanups, in particular add
g_return_of_fail to check the args of the functions we expose as APIs.
2003-06-05 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-project-window.c: escape the underscores on the project
name, to prevent gtk+ from using them as accelerators in the menu.
(Bug signaled by Bas Driessen.)
* src/glade-util.[ch]: create a function to duplicate the underscores
on a string.
2003-05-31 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget.c: free the resources allocated by a GladeWidget
when the associated GtkWidget is destroyed.
2003-05-31 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.[ch]: make refresh_undo_redo function
take void arg. Reorder some code.
* src/glade-command.c: update for the above
* src/glade-command.[ch]: rework the create/delete command; now it
calls glade_widget_new_from_class instead of being called by it.
* src/glade-widget.[ch]: cleanup widget creation.
* src/glade-project-window.c: update for the above.
* src/glade-property.c: ditto.
* src/glade-placeholder: remove glade_placeholder_replace_widget,
use glade_command_create_widget instead.
2003-05-23 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-placeholder.c: Make the placeholder work better on any
container. Still some issues remain with undo/redo.
2003-05-23 Paolo Borelli <pborelli@katamail.com>
* src/glade-clipboard: get the project from the placeholder parent,
this way we don't need to include glade-project-window.h.
2003-05-18 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-placeholder.c: Made glade_holder_replace independent of
the exact container type.
2003-05-17 Paolo Borelli <pborelli@katamail.com>
* src/glade-clipboard-view.[ch]: do not include
glade-project-window.h and some minor cleanups
2003-05-17 Paolo Borelli <pborelli@katamail.com>
* src/glade-clipboard.c: no need to call glade_editor_select_widget,
as it is already called when the selection_changed signal is
emitted. Move gpw->active_placeholder = NULL in the signal handler
in glade-project-window.c.
* src/glade-project.[ch]: decouple the project object from
glade-project-window.
* src/palette.[ch]: make the palette emit a signal when the user
choose a widget class instead of directly messing with the current
project.
* src/glade-project-window.[ch]: move here the things removed
from glade-project. Slightly change some APIs. Connect a handler
to the above signal. See also changes on glade-clipboard.c
* src/main.c: update for the above.
2003-05-14 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-project-window.[ch]: Make the undo/redo toolbar items
insensitive when there are no undo/redo actions on the stack.
* src/main.c: fix a compiler warning.
2003-05-14 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget.c: Change the way we load containers. Instead of
creating the container, then filling it with placeholders, and then
replace selectively the placeholders by the children we find on the
xml file, we create the container, add the children we find, and
we complete with placeholders. At the same time, I changed the
requeriments on the xml file to remain compatible with glade-2 format.
* src/glade.h: Added GLADE_XML_TAG_PLACEHOLDER to keep compatibility
with glade-2 xml's format.
* src/main.c: register a bunch of transformations from strings to
various fundamental GTypes, to be able to read from a string to a
GValue just using g_value_transform.
* src/glade-transform.[ch]: transformations from string to various
fundamental GTypes.
2003-05-12 Shane Butler <shane_b@users.sourceforge.net>
* src/glade-editor.c: Change the packing in the load_*_page functions
to set expand to FALSE.
2003-05-12 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: implement close project.
* src/glade-project-view.c: fix glade_project_view_set_project () if
project is NULL.
2003-05-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-command.c: fix cut & paste undo commands. We should
not free the widget cutted when we destroy the cut command, as
we only destroy it when it's remove from the undo stack, so
it's undoed, and the widget is still used.
* src/glade-popup.c: fix the paste command when used from the
popup menu. It's was putting on the undo stack the widget over
which we were pasting instead of the widget pasted.
2003-05-09 Paolo Borelli <pborelli@katamail.com>
* src/glade-popup.c: hoverhowl the popup menu so that code is
saner and follows the same codepaths of Cut/Copy etc in main
menu. As a nice side effect item now have icon and mnemonics.
* src/glade-widget.[ch]: remove remnant of the above work
* src/glade-placeholder.[ch]: ditto
* src/glade-gtk.c: update for the above
* src/glade-project-window.c: update for the above
2003-05-08 Paolo Borelli <pborelli@katamail.com>
* src/glade-project.c: fix glade_project_new_from_node so that it
actually loads widgets from xml files.
2003-05-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-placeholder.c, src/glade-property.c,
src/glade-utils.[ch], src/glade-widget.c, src/glade-xml-utils.[ch]:
fix a bunch of memleaks on error conditions, change the name
of the properties from '_' to '-' when read from the xml file
(and when we write it to a xml file), remove the need of a packing
property on each child node.
2003-05-04 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.[ch]: gtk_object -> g_object conversion
* src/glade-project.[ch]: remove glade_project_get_active
* src/glade-editor.c: ditto
* src/glade-palette.c: update for the above & remove deprecated function
* src/glade-project-window.c: update for the above
* src/glade-menu-editor.c: on delete event hide the keys dialog
instad of destroying it
2003-05-01 Paolo Borelli <pborelli@katamail.com>
* src/glade-keys-dialog.[ch]: init of the keys dialog.
* src/glade-menu-editor.c: idem.
2003-05-01 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-editor.[ch]: changes to undo & redo on changes to the widget
name.
* src/glade-command.[ch]: Idem.
* src/glade-project-window.c: Idem.
* src/glade-property.c: Idem.
2003-05-01 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget.c: put glade_command_create after
glade_widget_new_from_class_full, so that glade_command_create still
does gtk_widget_show, and we have no assert on window creation.
2003-05-01 Paolo Borelli <pborelli@katamail.com>
* src/glade-palette.[ch]: fix GLADE_PALETTE macro and misc cleanups.
* src/glade-project-window.c: cleanups.
* src/glade-placeholder.c: add missing include and some cleanups.
2003-04-25 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-clipboard-view.c (glade_clipboard_view_remove): remove
widget based on the pointer, not selection.
* src/glade-clipboard.c (glade_clipboard_add): set clipboard->curr
to the widget added.
(glade_clipboard_cut): return placeholder.
(glade_clipboard_paste): set active_placeholder = NULL. Stops crashes
when undo/redo-ing cut/paste.
* src/glade-command.c (glade_command_create_execute): show all widgets.
Previously forgot to show the contents.
2003-04-22 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/main.c: remove the command line that you usually get on a
windows build.
* src/glade-editor.c: cosmetic change.
2003-04-22 Paolo Borelli <pborelli@katamail.com>
* src/glade-command.c: fix the assert you get each time you add a
new toplevel window.
* src/glade-editor.c: remove glade_editor_hide_on_delete.
2003-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-editor.c: fix a crash when you remove a item from a window.
The crash was introduced by me when doing the menu bar editor.
2003-04-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.[ch]: previous patch to add scrollbars was broken,
do things properly.
2003-04-21 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-property-class.c: kill some compiler warnings.
* src/glade-parameter.c: ditto.
* src/glade-project-view.c: ditto.
* src/glade-widget.c: ditto.
2003-04-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-widget.c: move here the query_property functions
* src/glade-project-window.[ch]: removed the above, those functione
belong to glade-widget.c
2003-04-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-editor.[ch]: remove glade_editor_create().
* src/glade-utils.[ch]: remove glade_util_hide_window_on_delete(),
reimplemented glade_util_hide_window() so that it does not use
deprecated functions; it now returns void.
* src/glade-project-window.c: updated the callers.
* src/glade-menu-editor.c: updated the callers.
2003-04-17 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-project-window.c: modify the confirmation dialog on quit
to fit better the HIG.
2003-04-16 Paolo Borelli <pborelli@katamail.com>
* src/glade-placeholder.c: fix an assertion.
* src/glade-editor.c: Add scrollbars to the properties editor.
* src/glade-project.[ch]: properly clear the changed flag on save; make
open/save functions return TRUE on success.
* src/glade-project-window.c: implement a confirmation dialog to be
displayed on quit if any open project need saving.
2003-04-16 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-catalog.c: Ported to win32.
* src/glade-palette.c: Ported to win32.
* src/glade-placeholder.c: Ported to win32.
* src/glade-property-class.c: Ported to win32.
* src/glade-widget-class.c: Ported to win32.
* src/glade-xml-utils.c: Ported to win32.
* src/glade-main.c: Ported to win32.
* config.h.win: config file for win32. Rename it to config.h before
trying to compile on windows.
2003-04-04 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project-window.c (gpw_cut_cb): use glade_command_cut().
(gpw_paste_cb): use glade_command_paste().
* src/glade-placeholder.c (glade_placeholder_paste_cb): likewise.
* src/glade-widget.c (glade_widget_cut): likewise.
2002-05-26 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-command.c (glade_command_cut_paste_*): cut/paste through
the undo/redo system.
2003-04-02 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-menu-editor.c: Fix the segfault when adding a new menu item.
2003-04-02 Paolo Borelli <pborelli@katamail.com>
* src/glade-utils.[ch]: implement glade_util_flash_message()
* src/glade-project.[ch]: use the above to display "Project Saved"
in the statusbar.
2003-04-02 Paolo Borelli <pborelli@katamail.com>
* src/glade-utils.[ch]: iplement glade_util_file_selection_new()
* src/glade-project-window.[ch]: use the above Open, Save, Save as.
* src/glade-project.[ch]: file selection moved to glade-project-window,
clean-ups and fixes.
* src/glade-project-ui.[ch]: is no more.
* src/glade-menu-editor.[ch]: adapt the icon file selector.
2003-04-02 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-menu-editor.c: Several changes to the menu editor. Now it
even segfaults on the creation of a new menu item :-)
2003-03-29 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-editor.c: Now we don't create a new "Edit Menus..." button
each time we try to edit a menu bar.
* src/glade-gtk.[ch]: idem
* src/glade-menu-editor.[ch]: idem
2003-03-27 Paolo Borelli <pborelli@katamail.com>
* src/glade-project.[ch]: make glade_project_open_from_file() static
and fix the callers. This fixes the (unlikely) case of passing the
same file more than once on the command line.
2003-03-25 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-gtk.c: create a "Edit Menus..." button that... surprise!
pops up the menu editor.
* src/glade-editor.c: append the "Edit Menus..." button to the widget
table when the class of the widget is "GtkMenuBar".
2003-03-21 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: show menu tips in the statusbar
* src/glade-project-window.c: add undo/redo to the toolbar
2003-03-20 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-keys-dialog.[ch]: Dialog box that appears when the user
wants to select a shortcut key for a menu item. Copied from glade-2
and commentted parts that offended the compiler :-)
* src/glade-menu-editor.[ch]: Menu editor copied from glade-2.
Big chunks are #if 0'ed. That's just a first version. I don't even
know if it will show on the screen without crashing.
2003-03-15 Paolo Borelli <pborelli@katamail.com>
* src/glade-project.c: don't warn on save file selector "cancel"
2003-03-14 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: remove gpw_keypress_widget_tree_cb
* src/glade-project-window.c: use proper stock icon for "save as"
2003-03-13 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window.c: turn also the "Show Clipboard" menu item
into a toggle item.
* src/glade-clipboard.[ch]: removed glade_clipboard_create() and
glade_clipboard_show_view(), replaced by equivalent static functions
in glade-project-window.c where they belong.
2003-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-property-class.c: fix a memory leak, and remove yet another
spurious warning.
2003-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-project-view.c: remove spurious warning.
* src/glade-project.c: fix a crash and several asserts when creating
a window, and undoing & redoing the operation.
2003-03-12 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-property-class.c: remove spurious warnings.
2003-03-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-gtk.c: rename glade_gtk_adjustment_set_* to
glade_gtk_spin_button_set_*, as these functions will only
be useful for GtkSpinButton's
* widgets/gtkspinbutton.xml: expose directly the properties
that were before available only through the inner adjustment.
2003-03-11 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-project.c: remove the use of glade_util_path_is_writable.
* src/glade-utils.[ch]: remove glade_util_path_is_writable.
2003-03-10 Paolo Borelli <pborelli@katamail.com>
* src/glade-project-window: turned items in the "View" menu
(except "Show Clipboard") into toggle items. Some code cleanups
along the way.
2003-03-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-command.c: if we create a non GtkWidget (as a GtkAlignment)
we should not call gtk_widget_show on it.
* src/glade-property.c: handle the case where the text passed to
glade_property_set_string is NULL.
* src/glade-property-class.c: fix a typo.
2003-03-09 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-projects.c: fix an assertion due to the double insertion
of new widgets on the selected list.
2003-03-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-signal-editor.[ch]: inform glade-editor when a new
signal has been added.
* src/glade-editor.[ch]: broadcast a new "add_signal" signal
when the user creates a new signal for the selected widget.
* src/main.c: add a #include <locale.h> for the setlocale function.
2003-03-06 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-palette.[ch]: convert the palette to a "non window"
widget.
* src/glade-editor.[ch]: likewise for the properties dialog box.
* src/glade-project-window.c: little changes to wrap the palette
and the properties on a toplevel window.
* src/glade-project-view.h: fix a typo on a comment
2002-04-29 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project-window.c
(glade_project_window_selection_changed_cb): set gpw->active_widget.
2002-04-28 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project-window.c (gpw_copy_cb): implemented.
(gpw_cut_cb, gpw_paste_cb): likewise.
(gpw_save_cb): don't refresh title, on error.
(gpw_save_as_cb): likewise.
* src/glade-utils.c (glade_util_ui_warn): new function.
* src/glade-clipboard.c (glade_clipboard_paste): support pasting of
toplevel widgets.
* src/glade-placeholder.c (glade_placeholder_on_button_press_event):
set active placeholder.
(glade_placeholder_draw_selection_nodes): new function.
2002-04-27 Carlos Perello Marin <carlos@gnome-db.org>
* configure.in: Fixed the pixmap location.
2002-04-27 Carlos Perello Marin <carlos@gnome-db.org>
* Makefile.am, configure.in, src/glade-packing.c,
src/glade-project-window.c, src/glade-widget-class.c,
src/main.c: Changed all references from glade2 to glade3
* glade-2.desktop.in: Renamed to glade-3.desktop.in
* glade-2.png: Renamed to glade-3.png
* configure.in: Changed all references from glade2 to glade3 and added
version number to the directory where all data is stored.
Updated the version to 2.1.90
2002-04-16 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project.c (glade_project_check_previously_loaded): new.
(glade_project_open): call above.
2002-04-14 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project.c (glade_project_update_menu_path): new function.
(glade_project_refresh_menu_item): likewise.
(glade_project_new, glade_project_open): update the menu item.
(glade_project_save, glade_project_save_as): likewise.
2002-04-13 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project.c (glade_project_save): update project->name.
(glade_project_save_as): likewise.
(glade_project_open_from_file): likewise.
* src/glade-project-window.c (glade_project_window_refresh_title): new.
(gpw_save_cb): update title.
(gpw_save_as_cb): likewise.
* src/glade-clipboard.c (glade_clipboard_paste): removed call to
glade_widget_create_gtk_widget ().
2002-04-12 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-project.c (glade_project_save_as): new function.
* src/glade-project-window.c (gpw_save_as_cb): implemented.
2002-04-11 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-clipboard-view.c (glade_clipboard_view_populate_model):
don't add children.
2002-04-11 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* src/glade-widget.c: hack to hide the "nodes not drawing at the
right time" problem. The bug is still visible sometimes, but much
less now.
2002-04-08 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-clipboard-view.c (glade_clipboard_view_populate_model):
changed GtkTreeStore to hold pointers, not strings, as earlier.
2002-04-06 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-widget.c (glade_widget_clone): new function.
2002-04-03 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-widget.c (glade_widget_replace_with_placeholder): return
the created Placeholder, for callers to use. Toned it down a bit too.
Changed all callers.
* src/glade-clipboard.c (glade_clipboard_paste): changed call to
gtk_widget_show to gtk_widget_show_all to show all the children too.
Also load the "Paste"d widget in the editor.
* src/glade-project.c (glade_project_remove_widget_real): unset pointer
to project in the GladeWidget.
(glade_project_add_widget_real): new function.
(glade_project_add_widget): call above.
2002-04-01 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* src/glade-editor.c, glade-command.[ch],
glade-property-class.[ch], glade-property.[ch],
glade-widget-class.[ch]: Implementation of set & get of unichar
values + fixes loading and saving + unicode bugfixes + random
bugfixes.
2002-03-28 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* src/glade-command.[ch]: Now the undo/redo system also takes in
account creation and destruction of widgets. Also undo of
setting a text property now works.
* src/glade-widget.[ch]: ditto.
* src/glade-project-window.c: The undo/redo menu items are
inactive and showing the text "Undo: Nothing" at startup.
2002-03-27 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* src/glade-command.[ch]: if you push several undo items, and they
can "unify", they will "unify" (or "collapse"). For instance, if
you change the value of a number with a spinbutton from 0.1 to 0.5
(0.1, 0.2, 0.3, 0.4, 0.5), the undo item will be "set this property
to 0.1", instead of having 4 undo items. When you
undo/redo/push_undo the GUI will be notified.
* src/glade-project-window.[ch]: The undo/redo menu item are
enabled only if there is something to undo/redo, and the menu
items will show a description about the action.
2002-03-27 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* src/glade-command.[ch]: infinite undo-redo system.
* src/glade-editor.c: ditto.
* src/glade-project-window.c: ditto.
* src/glade-project.[ch]: ditto.
* src/glade-property.[ch]: cosmetic changes + const fixes.
* src/glade-types.h: prevent multiple includes of this file.
* src/glade-debug.h: little macro g_debug to print debug messages
only if DEBUG is defined.
2002-03-25 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* src/glade-xml-utils.c: use xmlDocGetRootElement(doc) instead of
just doc->children to get the root of the document. This way, the
files will be read right event if it has comments or pi before the
root element itself.
* src/glade-project-window.c: Added "Delete" keybinding to delete
action.
2002-03-22 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-widget.c (glade_widget_replace_with_placeholder): new
function. This piece if code was badly needed as a seperate function.
Changed all callers.
(glade_widget_delete): call above.
2002-03-20 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-widget.c: fixed a small bug. Thanks Justin Zaun.
2002-03-12 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-clipboard-view.c (glade_clipboard_view_remove): check for
return value of gtk_tree_selection_get_selected. Fixed nasty bug.
2002-03-04 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* glade-placeholder.c: includes to fix warnings, and implementation
of the popup menu of the placeholder.
* glade-popup.[ch]: popup menu for the placeholder plus a little
reorganisation of the code to share implementation of the general
popup menu and the placeholder one.
* glade-property.c: silent g_print.
* glade-widget.c: defined g_debug to g_print if DEBUG is defined,
defined to void otherwise. I was tracking the "can not select GtkLabels"
bug when I did this change, and now I'm not able to reproduce anymore
the bug. Dunno what's going on...
2002-03-02 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* glade-choice.c (glade_choice_list_new_from_node): Now you don't need
to tweak glade_enum_from_string just to be able to use a new item
in an enum. Glade will automatically assign a new value to each item.
* glade-choice.c (glade_enum_from_string): Commented out the cases glade-none,
gtk-ok & gtk-cancel, not needed any more due to the precedent fix.
* glade-property-class.c (glade_property_class_update_from_node): Fixed
the Enum properties that used a custom set or get function (the custom
set function was never being used). It fixes, for instance, the gtk-button
stock property.
* gtkbutton.xml: Added access to two other stock buttons (apply & close).
2002-02-28 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* glade-widget.c (glade_widget_key_press): Fixed segfault when
deleting two or more object in a row.
2002-02-28 JoaquÁn Cuenca Abela <cuenca@pacaterie.u-psud.fr>
* glade-widget.c: Delete key deletes selected widgets. I've also
fixed the selection in Selectors (File/Font/Color/...).
* glade-widget.c (glade_widget_create_gtk_widget): Commentted out
the timeouts in this function. With 1.3.12 everything is drawed ok,
and these timeouts where producing a segfault if you tried to delete
an item before 1 sec has ellapsed since the creation of the widget.
* glade-gtk.c: Removed redundancies in the "functions" array.
* glade-placeholder.c: Added missing include.
* glade-project-view.c (glade_project_view_selection_changed_cb):
Fixed segfault when deleting a window that was also selected in
the glade-project-view.
2002-01-29 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* Makefile.am: Install .desktop file into the proper location for
GNOME2 (PREFIX/share/applications).
* glade-2.desktop.in: Renamed from glade2.desktop.in to use the same
standar as glade1 port.
Added a Categories field for GNOME 2 panel.
Tweak the Name to follow the HIG.
All those changes are a copy of the changes by Seth at glade1 port.
* glade-2.png: Added.
2002-01-13 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in Added ms (Malay/B.Melayu) to ALL_LINGUAS.
2001-12-24 Archit Baweja <bighead@users.sourceforge.net>
* src/glade-placeholder.c (glade_placeholder_on_button_press_event):
on right-click, do PASTE.
* src/glade-widget.c (glade_widget_cut): implemented.
(glade_widget_copy): likewise.
* src/glade-clipboard.[ch]: new files added.
* src/glade-clipboard-view.[ch]: new files added.
2002-01-07 Zbigniew Chyla <cyba@gnome.pl>
* configure.in (ALL_LINGUAS): Added pl.
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added portuguese to ALL_LINGUAS
2001-12-07 James Willcox <jwillcox@cs.indiana.edu>
* src/glade-project-view.c (glade_project_view_widget_name_changed):
The project view tree is updated correctly now.
2001-12-06 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-widget-class.c (glade_widget_class_dump_param_specs): Added
an option to display if a property is writable or readonly.
* widgets/gtkaccellabel.xml: properties sort && small fixes.
2001-12-03 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade.h: Added GLADE_TAG_DISABLED.
* src/glade-property-class.c (glade_property_class_update_from_node):
Added a check for properties that are disabled at .xml files.
2001-12-03 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* configure.in: Reverted my change about GETTEXT_PACKAGE. We should
use the "standar" name (glade-2.0 instead of glade-2).
* acconfig.h, configure.in, src/glade-catalog.c, widgets/Makefile.am:
/s/catalog/catalogs/ && /s/CATALOG/CATALOGS/ when we are talking about
the dir name where we store all catalogs files.
2001-12-02 Chema Celorio <chema@celorio.com>
* src/glade-catalog.c (glade_catalog_load): keep a list of all the
GladeWidgetClass that we loaded
* src/main.c (glade_init): s/catalog/catalogs
* src/glade-project-window.h (struct _GladeProjectWindow): ditto
* src/glade-project-window.c (glade_project_window_new): ditto
* src/glade-placeholder.c (glade_placeholder_get_from_properties):
return GTK_BIN (parent->widget)->child if we have a GtkWindow
* src/glade-catalog.c (glade_catalog_load): constify
(glade_catalog_load_all): check if we where able to open the directory
2001-12-02 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* acconfig.h, configure.in: Added CATALOG_DIR to store catalogs
* src/glade-catalog.* (glade_catalog_load_all): Added to load
several catalogs from $prefix/share/glade/catalog/*.xml. It calls
the old glade_catalog_load with a new arg which is the catalog
file name.
* src/glade-catalog.h: Added the title gchar* to store the title
for this catalog.
* src/glade-palette.h: Added a notebook at GladePalette object.
* src/glade-palette.c (glade_palette_init): We create a notebook
to store several catalogs.
* src/glade-palette.c (glade_palette_create): Really ugly hack that
needs to be FIXED when we finish glade2 functionality. Sorry, it's a
fast hack that works.
* src/glade-palette.c (on_palette_button_toggled): Implemented, we
change the notebook page.
* src/glade-project-window.*:
* src/main.c: Instead of GladeCatalog we have now a list (GList) of
GladeCatalog.
* widgets/gtkmenubar.xml: Added some default values.
* widgets/gtk-base.xml: Added. It has the catalog for gtk2 base.
* widgets/gtk-additional.xml: Added. It has the catalog for gtk2
additional.
* widgets/catalog.xml: Removed, now we have several catalogs.
2001-12-02 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* widgets/gtkinputdialog.xml: It does not need placeholder.
2001-12-02 Shane Butler <shane_b@users.sourceforge.net>
* src/glade-signal-editor.c (glade_signal_editor_list_select_cb):
Updated to reflect GTK+ api changes.
* src/glade-signal-editor.c (glade_signal_editor_dialog_list_select_cb):
Updated to reflect GTK+ api changes.
2001-12-01 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-gtk.c (glade_gtk_message_dialog_post_create): Added to
resize the gtkmessagedialog widget.
* src/glade-xml-utils.c: Added the TRUE && FALSE values that libglade
use (yes/no).
* widgets/gtkfileselection.xml: Fixed. It's a top level widget.
* widgets/gtkmessagedialog.xml: Updated with defaults.
2001-11-28 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-gtk.c (glade_gtk_dialog_post_create): Added to resize
the gtkdialog widget.
* src/glade-placeholder.c: Added full support for GtkDialog.
* widgets/gtkdialog.xml: Default preferences.
2001-11-28 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-placeholder.c (glade_placeholder_add): Implemented.
* src/glade-placeholder.c (glade_placeholder_add_with_result): Now
calls to glade_placeholder_add to share some code.
* src/glade-widget.c (glade_widget_new_from_node_real): Fixed a bug
that didn't add a placeholder when we load a top level widget from a
.glade file without a child inside it.
2001-11-28 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-property-class.c
(glade_property_class_make_gvalue_from_string): Implemented the
GLADE_PROPERTY_TYPE_ENUM.
* src/glade-property.c (glade_property_set): ditto.
* Now it seems that loads/saves all data ;-)
2001-11-26 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-widget-class.c (glade_widget_class_create_pixmap): Fixed
the warning about floating references. We free the GtkButton with
gtk_object_sink and not with gtk_widget_unref because this widget
is never inserted into a container widget.
2001-11-24 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-property-class.c: The answer is... My patch sucks!!!
I think that now it's solved. I get a new warning, but I hope I will
fix it tomorrow.
2001-11-23 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
Fixed the API change, G_PARAM_SPEC_TYPE (spec) can not be used in
a switch any more, so we change it to if (...) {} else {}...
This fix the compile problem, but I think that we have to search for
other change that mades glade2 unuseful :-( (or that this patch is
not a good patch...).
2001-11-21 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* configure.in: We need now latest gtk2 version.
2001-11-21 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* configure.in: Changed GETTEXT_PACKAGE from glade-2.0 to glade-2
2001-11-21 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
Ignored the ParamSpec "name". We should solve this problem with a
better solution. The problem is that at .xml file we don't have
a property "name" we have it outside the Property section.
2001-11-20 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-property-class.*
(glade_property_class_make_string_from_gvalue): Implemented the ENUM
type. We have change the first arg to get a GladePropertyClass instead
a GladePropertyType to do it.
(glade_property_class_make_gvalue_from_string): ditto.
2001-11-16 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-project-view.c (glade_project_view_button_press_cb): Fixed
the gtk_tree_view_get_path_at_pos API change.
* src/glade-property-class.c: /s/g_param_get_nick/g_param_spec_get_nick/
/s/g_param_get_blurb/g_param_spec_get_blurb/ to fix an API change.
* pixmaps/*.xpm: Added lot of pixmaps from glade1
* src/glade-gtk.c, src/glade-placeholder.c: Started the GtkDialog
support.
2001-11-11 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-property-class.* (glade_property_class_list_properties):
Added this function, it returns a GList of properties from GParamSpec.
* src/glade-property-class.* (glade_property_class_list_new_from_node):
Renamed to glade_property_class_list_add_from_node. It gets a GList like
the glade_property_class_list_properties one and add the defaults &&
new properties from .xml files.
* src/glade-widget-clas.* (glade_widget_class_get_specs): Changed as a
public function, we need it at glade-property-class.c
2001-11-07 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* pixmaps/custom.xpm: Added the custom pixmap to put it as the default
one if a widget has not a pixmap.
* src/glade-widget-class.c (glade_widget_class_create_pixmap): If we
don't find the pixmap for one widget, we use the default one.
* widgets/*.xml: Added all the remain gtk widgets but the deprecated
ones, we should start adding support for all those widgets.
2001-11-04 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/main.c: Added a call to bind_textdomain_codeset to
fix the encoding always as UTF-8. This fix all UTF-8 warnings
2001-11-04 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* configure.in:
* Makefile.am: Migrated to intltool
2001-11-01 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* configure.in: drop the 2 from the package name, and set
GETTEXT_PACKAGE
* acconfig.h: add GETTEXT_PACKAGE
* src/main.c: modified the gettext args to use GETTEXT_PACKAGE
2001-10-31 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* src/glade-placeholder.[ch] (glade_placeholder_remove_all):
* src/glade-placeholder.[ch] (glade_placeholder_fill_empty): Added
those new functions to remove/fill all widget's placeholders.
* src/glade-gtk.c (glade_gtk_table_set_n_common):
* src/glade-gtk.c (glade_gtk_box_set_size): Modified to remove all
placeholders, modify the widget and then fill all the empty childs
with placeholders using glade_placeholder_remove_all &&
glade_placeholder_fill_empty.
* src/glade-packing.[ch] (glade_packing_table_get_child_at): We need it
as no static function for the glade_placeholder_fill_empty function
2001-10-06 Michael Meeks <michael@ximian.com>
* src/glade-project-view.c (glade_project_view_create_widget):
use cell_render_text, text_pixbuf seems to have vanished.
(glade_project_view_cell_function): don't set a pixbuf on the
items, sadly.
* src/glade-property-class.c
(glade_property_class_load_from_param_spec): upd. for new
g_param_ accessors.
2001-09-24 Fatih Demir <kabalak@gtranslator.org>
* configure.in: Added "ta" to the languages list.
2001-09-23 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Azeri (az) to ALL_LINGUAS.
2001-09-10 Christian Rose <menthos@menthos.com>
* configure.in: Added sv to ALL_LINGUAS.
2001-09-03 Chema Celorio <chema@celorio.com>
* src/glade-project-view.c (glade_project_view_create_widget):
2001-09-03 Chema Celorio <chema@celorio.com>
* src/glade.h: add new xml tags
* src/glade-xml-utils.h: standarize a lot of the calls to xml-utils and rename all the
calling funcitions to the new names
* src/glade-widget.c (glade_widget_new): add a project parameter needed for loading
objects.
(glade_widget_create_gtk_widget): only call the widget resize when the object is an
actual widget (v.s. beeing an object like a gtkadjustment)
* src/glade-widget-class.c (glade_widget_class_set_type): call get_type_from_name
and move the code to get the type there
(glade_widget_class_load_packing_properties_from_node): impl.
(glade_widget_class_load_packing_properties): impl.
* src/glade-utils.c (glade_util_get_type_from_name): move here
* src/glade-property.c (glade_property_new_from_class): set property->child for
type = _TYPE_OBJECT
(glade_property_set_enum): s/choice/enum
* src/glade-packing.c (glade_packing_add_properties_from_list): add packing
properties too
(glade_packing_property_get_from_class): impl.
* src/glade-gtk.c (glade_gtk_button_set_stock): implement stock buttons
* src/glade-editor.c (glade_editor_property_changed_enum): s/choice/enum
* src/glade-choice.c (glade_enum_from_string): add a temp entry
for gtk-ok, glade-none and gtk-cancel.
(glade_choice_list_new_from_node): change the XML tag name to ENUMS
from CHOICE
* src/glade-catalog.h: add prototype for glade_catalog_get
* src/glade-catalog.c (glade_catalog_get): impl.
(glade_catalog_load): after loading all the widgets load the
packing properties.
2001-08-29 Chema Celorio <chema@celorio.com>
* src/glade-widget-class.c (glade_util_get_type_from_name):
* src/glade-property-class.c (glade_property_class_create_label): Try to
add a tooltip for the editor labels, not working yet.
2001-08-29 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* autogen.sh:
* configure.in:
* Makefile.am: Modified to use the new GNOME 2.0 config stuff.
* src/glade.h: Removed a dup "#include <libintl.h>"
* src/main.c: Moved the NLS stuff to be the first at main()
and added setlocale (LC_ALL, ""); before the bindtextdomain call
Now the l10n works!!!! Thanks Martin for your comments ;-)
* src/Makefile.am: popt is checked at configure.in
2001-08-28 Chema Celorio <chema@celorio.com>
* src/glade-placeholder.c (glade_placeholder_add_with_result): rewrite
(glade_placeholder_is): impl.
* src/glade-widget-class.c (glade_widget_class_is): impl.
* src/glade-placeholder.c (glade_placeholder_new): set the parent
as a data (not user) member. Also set True so that we can use :
* src/glade-packing.c (glade_packing_table_get_child_at): implement.
(glade_packing_table_child_has_span): impl.
(glade_packing_table_cell_common_set): impl.
(glade_packing_table_cell_x_set): impl.
(glade_packing_table_cell_y_set): impl.
(glade_packing_table_span_common_set): impl.
(glade_packing_table_span_x_set): impl.
(glade_packing_table_span_y_set): impl.
* src/glade-gtk.c (glade_gtk_table_get_n_rows): disable
(glade_gtk_table_get_n_columns): ditto
(glade_gtk_table_set_n_common): use for both x & y. Add
support for childs that have spans.
(glade_gtk_table_set_n_rows): call _n_common
(glade_gtk_table_set_n_columns): call _n_common
(glade_gtk_table_post_create): implement
2001-08-26 Chema Celorio <chema@celorio.com>
* src/glade-editor.c (glade_editor_create_input_numeric): connect to the
value_changed signal of the spin button, not the changed signal of the
entry.
2001-08-24 Chema Celorio <chema@celorio.com>
* src/glade-gtk.c (glade_gtk_table_get_n_rows):
(glade_gtk_table_get_n_columns):
(glade_gtk_table_set_n_rows):
(glade_gtk_table_set_n_columns): implement.
2001-08-22 Chema Celorio <chema@celorio.com>
* src/glade-packing.c (glade_packing_table_get_child): impl.
(glade_packing_table_cell_x_get):
(glade_packing_table_cell_y_get):
(glade_packing_table_span_x_get):
(glade_packing_table_span_y_get):
(glade_packing_table_span_y_get):
(glade_packing_table_padding_h_set):
(glade_packing_table_padding_v_set):
(glade_packing_table_padding_h_get): ditto
* src/glade-gtk.c (glade_widget_ugly_hack): implement.
(glade_gtk_box_set_size): implement size reduction
2001-08-21 Chema Celorio Foo <chema@celorio.com>
* src/glade-catalog.c: add config.h. I am not sure i agree with Kjartan about
the config.h think though
* src/glade-placeholder.c: ditto. kmaraas didn't tested his fix i guess.
* src/glade-property.h (GLADE_PROPERTY_OBJECT_CLASS): Fix the define to
pass the GladePropertyObjectClass structure to the macro.
2001-08-20 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added "nn" and "no" to ALL_LINGUAS.
2001-08-19 Kjartan Maraas <kmaraas@gnome.org>
* src/Makefile.am: Added -DGLADE_LOCALE_DIR def.
* src/*.c: Include <config.h> and remove the include from
glade.h. This is the standard way of doing things.
2001-08-19 Joe Shaw <joe@ximian.com>
* src/glade-property.h: Change the #define of GLADE_PROPERTY_CLASS
to GLADE_PROPERTY_OBJECT_CLASS to match up with the rest of the
file.
* src/glade-utils.c (glade_util_path_is_writable): Change the call to
the glade_implement_me() macro to include no parameters.
* src/glade-utils.h (glade_implement_me): Get rid of the argument.
It's not used and is called with an argument only once (and makes my
preprocessor barf).
2001-08-17 Archit Baweja <bighead@crosswinds.net>
* src/glade-palette.c (glade_palette_attach_pixmap): set tooltips.
* src/glade-utils.c (glade_util_widget_set_tooltip): new function.
* src/glade-editor.c (glade_editor_property_load): set tooltips.
(glade_editor_property_set_tooltips): new function.
2001-08-13 Chema Celorio <chema@celorio.com>
* src/glade-widget.h: remove the packing memebers, we where not using them.
* src/glade-widget.c (glade_widget_button_press): if the widget is not
selected, stop the emision of the button clicked event.
(glade_widget_set_default_options_real): remove the code for handling
->apply_first_time.
(glade_widget_ugly_hack): add an ugly hack till i figure out the real
problem of the placeholders not beeing drawn inside containers.
(glade_widget_clear_draw_selection): function used when we unselect an
item so that it gets redrawn and the selection nodes cleared.
(glade_widget_properties_hash_from_node): impl.
(glade_widget_apply_property_from_hash_item): impl.
(glade_widget_new_child_from_node): impl.
* src/glade-widget-class.c (glade_widget_class_new_from_node): load
postcreatefunction
(glade_widget_class_is): implement.
* src/glade-property.c (glade_property_set): implement.
* src/glade-property-class.h: remove ->apply_first_time
* src/glade-project-window.c (glade_project_window_add_project): add
two g_return_val_if_fail
* src/glade-project-view.c (glade_project_view_widget_name_changed): if
view->is_list and the widget is not a toplevel, return.
* src/glade-placeholder.c (glade_placeholder_add_methods_to_class):
make all methods static. implement.
(glade_placeholder_add): take a rows & cols argument and not a
GladePropertyQueryResult.
:use glade_widget_class_is and not a strcmp
(glade_placeholder_add_with_result): impl.
(glade_placeholder_replace): impl.
(glade_placeholder_get_from_properties): impl.
* src/glade-packing.c (glade_packing_box_position_set): remove a
warning
* src/glade-gtk.c (glade_gtk_window_post_create): impl.
(glade_gtk_check_button_post_create): impl.
2001-08-11 Chema Celorio <chema@celorio.com>
* src/glade.h: try to fix gettext support. Duno why translations are not
working. Feel free to fix it ;-).
* src/glade-widget.c (glade_property_refresh): implement
(glade_widget_new): clean widget creation
(glade_widget_new_full): ditto
(glade_widget_get_from_gtk_widget): ditto
(glade_widget_apply_property_from_node): impl.
(glade_widget_new_from_node): impl.
* src/glade-property.c : port to GValue
* src/glade-property.h: ditto
* src/glade-property-class.c : port to GValue
* src/glade-property-class.h : ditto
* src/glade-project.c (glade_project_new_from_node): implement.
(glade_project_open_from_file): implement.
(glade_project_open): implemnt.
* src/glade-project-view.h (struct _GladeProjectViewClass): add a
selection_update signal.
* src/glade-project-view.c (glade_project_view_populate_model_real): add a
add_childs parameter
(glade_project_view_selection_update): implment (not yet working)
* src/glade-parameter.c (glade_parameter_adjustment_new): port to GValue
* src/glade-palette.c (glade_palette_clear): impl.
* src/glade-gtk.c: port to GValue from string
(glade_gtk_box_set_size): impl.
* src/glade-editor.c (glade_editor_property_changed_*): use g_property_set_foo
rather than g_property_changed_foo.
port to GValues from string
* src/glade-choice.c (glade_choice_list_new_from_node): use _TAG_ENUM and
not _CHOICES
* src/glade-catalog.c: remove <config.h>
* src/Makefile.am (SUBDIRS): remove tests
2001-08-07 Chema Celorio <chema@celorio.com>
* src/glade-widget.c (glade_widget_property_changed_cb): add a temp hack to set
the properties.
(glade_property_get): ditto to get the properties from a widget.
(glade_widget_toplevel_delete_event_cb): handle the delete event for toplevels
(glade_widget_connect_other_signals): impl.
* src/glade-property.c (glade_property_get_type): glade property is now an object
and emits a changed signal.
* src/glade-property-class.c (glade_property_class_new_from_node): load before
deciding if this prop will be loading with paramspec
* src/glade-project-view.c (glade_project_view_button_press_cb): implement.
Double clicking on a widget on the list gtk_widget_show's it.
* src/glade-gtk.c (glade_gtk_entry_set_text): preserve the cursor position.
* src/glade-editor.c (glade_editor_property_connect_signals): impl.
(glade_editor_property_changed_cb): impl.
* src/glade-property.h: add -> loading
* src/glade-editor.h (struct _GladeEditorTable): remove ->loading
* src/glade-editor.c (glade_editor_property_load_text): when loading text
preserve the cursor position.
* src/glade-editor.c : use property->loading and not property->property->loading
2001-08-06 Chema Celorio <chema@celorio.com>
* src/glade-widget.c (glade_widget_set_default_options_real): handle the case
where the property is queried from the gtkwidget v.s. setting a default one.
(glade_widget_free): implement.
(glade_widget_delete): add content.
(glade_widget_write): when saving a widget, add the packing properties too.
* src/glade-signal.c (glade_signal_free): impl.
* src/glade-signal-editor.c (glade_signal_editor_load_widget): handle a
widget->class = NULL for clearing the signal editor.
* src/glade-property.c (glade_property_new_from_class): handle properties
that the default is fetched from the gtkwidget itself, not set.
(glade_property_free): implement.
* src/glade-project.c (glade_project_selection_changed): implement.
(glade_project_remove_widget_real): impl.
(glade_project_remove_widget): impl.
* src/glade-project-window.c (gpw_delete_cb): implement.
* src/glade-project-view.h (struct _GladeProjectView): add the remove
signal id to the struct.
* src/glade-project-view.c (glade_project_view_remove_item): implement
for "Delete"
(glade_project_view_remove_widget_cb): ditto
(glade_project_view_set_project): connect and disconnect ->remove_item
* src/glade-placeholder.c (glade_placeholder_replace_$x): where
x are all the containers. Modify this functions so that we can
use them to replace a placeholder with a widget and the other
way arround. We need this when we delete a widget and want to
put a placeholder where the widget was.
* src/glade-packing.c (glade_packing_container_set_flag): impl.
(glade_packing_container_set_integer): impl.
(glade_packing_container_set_boolean): impl.
(glade_packing_table_set_flag): impl.
(glade_packing_table_set_integer): impl.
(glade_packing_box_set_boolean): impl.
(glade_packing_box_set_integer): impl.
(glade_packing_box_position_get): impl.
(glade_packing_box_position_set): when setting the pos of a child update the
property->value of the rest, cause it has (most likely) changed.
(table_props): add the rest of the properties
(box_props): ditto
* src/glade-editor.c (glade_editor_load_widget_page): handle a NULL class to
clear the page
(glade_editor_load_common_page): ditto
(glade_editor_load_item): ditto
(glade_editor_select_item_real): ditto
2001-08-05 Fatih Demir <kabalak@gtranslator.org>
* configure.in: Added "tr" to the languages list.
2001-08-04 Chema Celorio <chema@celorio.com>
* src/glade-widget.c (glade_widget_set_default_options_real): add a packing
argument.
(glade_widget_set_default_options): we now set the default options in two
steps. Firts the object properties and
(glade_widget_set_default_packing_options): secondly the packing properties.
The packing properties are applied after the widget is appended to the container
* src/glade-property-class.c (glade_property_class_get_default_from_spec):
default is now a member of GladePropertyClass not a GladeParameter.
* src/glade-parameter.c (glade_parameter_adjustment_new): get the default
from the parameters only if def was not specified. Added a default variable
to the function.
* src/glade-packing.c: add file. Takes care of container packing related
stuff.
* src/glade-gtk.c (glade_gtk_vbox_get_size): add the prototype, still
no content
(glade_gtk_vbox_set_size): ditto.
* src/glade-editor.c (glade_editor_load_packing_page): impl. Adds
the packing page.
* src/Makefile.am: add packging.[ch]
* src/glade-popup.c (glade_popup_create_menu): make the popup-menu
work. Select now works.
* src/glade-widget.h: remove ->popup. destroy it right away.
2001-08-03 Chema Celorio <chema@celorio.com>
* src/glade-widget-class.c (glade_widget_class_list_signals): plug a memleak
(glade_widget_class_compose_get_type_func): plug a memleak
2001-08-01 Chema Celorio <chema@celorio.com>
* src/main.c: add <popt.h>.
implement : ./glade2 --dump {widget} to dump to the console the
properties of a widget.
* src/glade.h: add _TAG_COMMON
* src/glade-xml-utils.c (glade_xml_get_boolean): take a default value
that should be used if the node is not found
(glade_xml_property_get_boolean): ditto for properties.
* src/glade-widget-class.c (glade_widget_class_dump_param_specs):
improve. dump the type and the object the property belongs to.
* src/glade-property-class.c (glade_widget_property_class_free):
implement.
(glade_property_class_load_from_param_spec): don't create the
PropertyClass in here
(glade_property_class_new_from_node): the query should be read
before the ParamSpec, if we are loading with ParamSpec we want
to be able to specify a query.
* src/glade-project-window.c (glade_project_window_create): do not
_show_all when creating a project_window
(glade_project_window_show_all): implement
* src/glade-placeholder.c (glade_placeholder_add): the properites
for the GtkTable are n-rows and n-columns not rows-columns
* src/glade-palette.c (glade_palette_create): implement.
* src/glade-editor.h: add ->common for the common tab of the editor
* src/glade-editor.c (glade_editor_table_append_items): add a common
parameter for the common tab of the editor.
(glade_editor_get_table_from_class): add a common parameter, when
getting a table verify that common = table->common
(glade_editor_load_common_page): implement.
(glade_editor_load_class): load the common page too
(glade_editor_create): do not show the editor when it is created
* src/Makefile.am: remove empty variables.
Add -lpopt. We are NOT checking in configure.in for popt yet.
2001-07-23 Chema Celorio <chema@celorio.com>
* src/glade-xml-utils.c (glade_xml_doc_save): when saving a .xml file indent
it as libxml did by calling SaveFormatFile and xmlKeepBlanksDefault.
* src/glade-xml-utils.h: hide the libxml internals (remove headers from the
.h file and into the .c file. Update all the code to not deal with libxml
structs directly. Changed the while loops that generated libxml nodes to for
loops. remove the skip_text macro and add glade_xml_node_is_comment so that
we can test the node for a node we should ignore (in the for loops).
2001-07-22 Chema Celorio <chema@celorio.com>
* src/glade-utils.c (glade_util_path_is_writable): implement, new file.
* src/glade-property.c (glade_property_write): implement.
* src/glade-widget.c (glade_widget_write): add content.
* src/glade-xml-utils.c (glade_xml_set_value): fix a lot of the broken issues.
Don't confuse properties for node content. Use GladeXmlNode as API entry.
Lots of small new functions, lots of cleanup.
2001-07-21 Chema Celorio <chema@celorio.com>
* src/glade-project.c (glade_project_save): impl.
* src/glade-project-window.c (gpw_save_cb): add contents
(glade_project_window_get_project): impl.
* src/glade-project-ui.c (glade_project_ui_save_get_name): new file that
holds the ui that interacts with the user.
2001-07-16 Chema Celorio <chema@celorio.com>
* src/glade-widget.c (glade_widget_connect_edit_signals_with_class): impl.
(glade_widget_connect_edit_signals): impl.
* src/glade-property-class.h: add ->update_signals and ->get_function
* src/glade-property-class.c (glade_xml_read_list): implement. Keep here for now
but should go into xml utils.
* src/glade-gtk.c (glade_gtk_get_set_function_hack): implement.
2001-07-15 Chema Celorio <chema@celorio.com>
* src/glade-widget-class.c (glade_widget_class_new_from_node): init_function is
not required in the xml files.
(glade_widget_class_new_from_node): make non-static cause a property can now have
a child like a spin button has a gtk_adjustment
* src/glade-property.h: a property can have a ->child.
* src/glade-property.c (glade_property_new_from_string): handl type _OBJECT
* src/glade-property-class.h: we can only have one child per property. Rename
children to child
* src/glade-property-class.c (glade_property_class_get_type_from_spec): handle
_OBJECT
(glade_property_class_new_from_node): if we have child object, load it.
* src/glade-gtk.c (glade_gtk_option_menu_set_items): rename _append to _shell_append
to remove warning.
(glade_gtk_adjustment_set_max): impl.
(glade_gtk_adjustment_set_min): impl.
* src/glade-editor.h (struct _GladeEditorTable): add tabel->editor, this cleans
up the fucntion prototypes cause we have one less argument to pass.
* src/glade-editor.c (glade_editor_append_item_real): rename and change
arguments to that we can recurse
(glade_editor_table_append_items): ditto
(glade_editor_property_load_object): impl.
(glade_editor_property_load): change so that we can recurse
* src/glade-property-class.h: add ->child for property type == OBJECT
* src/glade-editor.c (glade_editor_create_input_object): implement
* src/glade-widget-class.c (glade_widget_class_new_from_node): make non
static and add to headers since we are recursing for type object
2001-07-14 Archit Baweja <bighead@crosswinds.net>
* src/glade-widget-class.c (glade_widget_class_compose_get_type_func):
changed to negate use of <GetTypeFunction> in the XML files.
* src/glade-widget-class.c (glade_widget_class_new_from_node): check
if get_type function is provided in GetTypeFunction tag. Else use above
function.
2001-07-15 Chema Celorio <chema@celorio.com>
* src/glade-property.c (glade_property_changed_choice): set the property
* src/glade-widget.c (glade_widget_new_from_class_name): implement
(glade_widget_new_from_class): no need to pass the project. We know
it from parent->project. Update all the calls to this function
(glade_widget_new_toplevel): impl.
* src/glade-widget-class.c (glade_widget_class_get_by_name): implement
* src/glade-placeholder.c (glade_placeholder_replace_notebook): implement
* widgets/gtknotebook.xml: add properties
* src/glade-placeholder.c (glade_placeholder_add): handle notebook
* src/glade-widget-class.c (glade_widget_class_add_virtual_methods): handle
gtk_notebook.
2001-07-10 Chema Celorio <chema@celorio.com>
* src/glade-gtk.c (glade_gtk_entry_set_text): implement.
(glade_gtk_option_menu_set_items): impl.
(glade_gtk_progress_bar_set_format): impl.
* src/glade-editor.c (glade_editor_property_changed_text_view): implement.
We can now use entries or GtkTextView for text properties
2001-07-09 Chema Celorio <chema@celorio.com>
* widgets/*.xml: add props to several widgets
* src/glade-placeholder.c (glade_placeholder_add): handle GtkHandleBox too
* src/glade-widget-class.c (glade_widget_class_add_virtual_methods): handle
GtkFrame too
* src/glade-editor.c (glade_editor_property_changed_numeric): remove
g_print's
* src/glade-property-class.c (glade_property_get_parameters_text): imlement
(glade_property_class_get_parameters_from_spec): and use here. We now load
default text values.
* widgets/gtkprogressbar.xml: add "text" which is the format
* src/glade-project-window.c (glade_project_window_query_properties): set
the default response
2001-07-09 Chema Celorio <chema@celorio.com>
* src/main.c (glade_init): check if g_module_supported is TRUE
in here, if it isn't there is no point in running glade2
* src/glade.h (GLADE_TAG_SET_FUNCTION): add the new tags beeing
used in the .xml files
* src/glade-xml-utils.c (glade_xml_get_boolean): accept
"TRUE" and "FALSE" as valid (before only "True" & "False")
* src/glade-widget.c (glade_widget_button_press): return FLASE
so that the emision continues (fixes clicking over items)
(glade_widget_button_release): ditto
* src/glade-widget-class.h: add the spec function prototypes
* src/glade-widget-class.c (glade_widget_class_get_specs): move
here from glade_propery_class.
(glade_widget_class_find_spec): ditto
(glade_widget_class_dump_param_specs): implement
* src/glade-property.h: add the headers for the _double functions
* src/glade-property.c (glade_property_new_from_string): handle
double type
(glade_property_changed_double): implement
(glade_property_get_double): impl.
* src/glade-property-class.h: add _TYPE_DOUBLE and _TYPE_OBJECT
remove class->gtk_arg add class->id. Fixed the code all over
to use ->id and ->name correctly.
- add children for child objects and set_function to set properties
that gtk is not exposing
* src/glade-property-class.c: add frames for handling _TYPE_OBJECT
no content tho
(glade_property_get_parameter_numeric_default):
(glade_property_get_parameter_numeric_min):
(glade_property_get_parameter_numeric_max): impl.
(glade_property_get_parameters_numeric): clean
(glade_property_class_get_set_function): implement but not use yet
cause I could not get it to work. Use glade_gtk_get_set_function_hack
for now.
(glade_property_class_new_from_node): change to reflect new changes
in .xml format
* src/glade-project-window.c (glade_project_window_query_properties):
use ->id and not ->name
* src/glade-placeholder.c (glade_placeholder_add): s/Size/size
s/Rows/rows since we use class->id and not class->name
* src/glade-parameter.c (glade_parameter_adjustment_new): make
the increment 1 so that integers can be changed if the increment
is not specified
* src/glade-palette.c (glade_palette_init): set the policy of the
pallete (which is a gtkwindow)
* src/glade-editor.h: add GladeEditorNumericType to share functions
that interact with numbers
* src/glade-editor.c (glade_editor_property_changed_numeric): handle
integers, floats and doubles. rename from _changed_integer
(glade_editor_create_input): handle double
(glade_editor_property_load_double): impl.
* src/Makefile.am: add glade-gtk.[ch]
* src/glade-property-class.c (glade_property_class_get_set_function):
implement
* widgets/gtk*.xml: clean lots of files, changed the format it is now
a lot better.
* src/glade-gtk.c (glade_gtk_entry_set_text): implement
(glade_gtk_get_set_function_hack): implement a temp hack to find
function pointers at run time, i could not make gmodule work.
2001-07-07 Chema Celorio <chema@celorio.com>
* src/glade-widget.c (glade_widget_button_release): return FALSE so that
the propagation continues.
2001-07-05 Chema Celorio <chema@celorio.com>
* src/glade-property-class.c (glade_property_get_parameters_integer):
G_IS_PARAM_SPEC_UINT is also valid
(glade_property_class_get_type_from_spec): add UINT to the case
* src/glade-widget-class.c (glade_widget_class_create_pixmap): use
->generic_name now
* src/glade-widget-class.h: remove ->icon it was redundant with
->generic_name, use ->generic_name to load icons
2001-07-04 Chema Celorio <chema@celorio.com>
* widgets/gtk*.xml: a lot of cleaning, added new files and converted old .xml
files to use ParamSpec.
* src/glade-property-class.c (glade_property_class_find_spec): dump the specs (temp)
2001-07-02 Chema Celorio <chema@celorio.com>
* src/glade-project-window.c (gpw_copy_cb): add function names buts still with no content
* src/glade-placeholder.c (glade_placeholder_replace_widget): when adding a widget
set the selection to that widget.
2001-07-01 Shane Butler <shane_b@users.sourceforge.net>
* src/glade-widget-class.c (glade_widget_class_list_signals): use
class->type to avoid duplication etc
* src/glade-signals-editor.[ch]: moved lots of functionality into smaller
functions, fixed bugs etc.
2001-06-28 Ravi Pratap <ravi@che.iitm.ac.in>
* src/glade-project.c : Include string.h
* src/glade-parameter.c : Ditto
* src/glade-widget-class.c : Ditto
* src/glade-placeholder.c : Ditto
* src/glade-property.c : Ditto
* src/glade-xml-utils.c : Ditto
* src/glade-editor.c : Ditto
* src/glade-choice.c : Ditto
2001-06-28 Archit Baweja <bighead@crosswinds.net>
* src/glade.h (GLADE_TAB_GET_TYPE_FUNCTION): new #define.
* src/glade-widget-class.c (glade_widget_class_new_from_node): added
code to search for _get_type () function and initialize the GType.
(glade_widget_class_compose_get_type_func): new function.
(glade_widget_class_get_type): new function.
2001-06-27 Chema Celorio <chema@celorio.com>
* src/glade-widget-class.[ch], src/glade-widget.[ch]: Store signals
available to a widget in the GladeWidgetClass and instances and their
handlers in GladeWidget.
* src/glade-editor.[ch], src/glade-signal-editor.[ch]: Add new signal editor
and add provsions for GladeEditor to use.
* src/glade-types.h: Add typedefs for GladeSignalEditor, GladeWidgetSignal
and GladeWidgetClassSignal.
2001-06-27 Chema Celorio <chema@celorio.com>
* src/glade-property-class.c (glade_property_class_get_specs):
2001-06-27 Carlos PerellÁ MarÁn <carlos@gnome-db.org>
* missing, mkinstalldirs: Removed, are generated files.
* ChangeLog: Changed the previous date entry to the Gnome's standar one.
2001-06-21 Jonathan Blandford <jrb@webwynk.net>
* src/glade-property-class.c (glade_property_class_get_specs):
make compile with new glib. include <string.h>
2001-06-19 Chema Celorio <chema@celorio.com>
* src/glade-property-class.c: start using the GParamSpec stuff
2001-06-17 Chema Celorio <chema@celorio.com>
* 0.0.12 : GtkTreeView now works.
2001-06-16 Chema Celorio <chema@celorio.com>
* 0.0.11 : Multiple projects support
|