1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
|
2013-06-10 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gen Scripts: Minor clean up of the description of the scripts.
* tools/gen_scripts/gio_generate_docs.sh:
* tools/gen_scripts/gio_generate_enums.sh:
* tools/gen_scripts/gio_generate_extra_defs.sh:
* tools/gen_scripts/gio_generate_methods.sh:
* tools/gen_scripts/glib_generate_docs.sh:
* tools/gen_scripts/glib_generate_enums.sh:
* tools/gen_scripts/glib_generate_extra_defs.sh:
* tools/gen_scripts/glib_generate_methods.sh:
2013-06-09 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Use an environment variable for the return mismatches.
* tools/gmmproc.in: Check for the GMMPROC_RETURN_MISMATCHES
environment variable and use its value as the default for the internal
boolean '$main::return_mismatches' variable which when true makes
gmmproc report if the return type in a _WRAP_METHOD() does not match
the C function return type.
2013-06-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Write glibmm version in generated files.
* tools/gmmproc.in: Use autoconf's substitution variable @PACKAGE_VERSION@.
* tools/m4/base.m4: _START() macro: Add argument glibmm_version.
* tools/pm/Output.pm: output_temp_g1(): Add argument glibmm_version.
The problems with gtkmm 2.24.3 (bug 697835 and bug 700495) show that it can
be useful to easily see which version of gmmproc/glibmm has generated a file.
2013-06-06 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBusInterfaceSkeleton: Constant corrections.
* gio/src/dbusinterfaceskeleton.hg (get_info): Add a const get_info()
method returning a constant InterfaceInfo and make the original one
non-constant.
(has_connection): Accept the Connection as constant because it should
not be modified.
* tools/m4/convert_gio.m4: Add a needed conversion.
2013-06-05 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the Gio::DBus::InterfaceSkeleton class.
* gio/src/dbusinterfaceskeleton.{ccg,hg}:
* gio/src/filelist.am: Add the sources wrapping the methods,
properties and signals and list the sources in the list of files to be
built.
* gio/src/gio_signals.defs:
* tools/extra_defs_gen/generate_defs_gio.cc: Add the
GDBUSInterfaceSkeleton GType to the properties and signals defs
generation tool and regenerate the .defs file.
* tools/m4/convert_gio.m4: Add the conversions for the wrapped
methods, properties and signals.
2013-06-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::MainContext: Fix a small error in the documentation of acquire().
* glib/glibmm/main.h: Change "context is the owner" to "thread is the owner".
2013-06-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
tests: Fix the glibmm_mainloop test.
* tests/glibmm_mainloop/main.cc: Make it work as expected whichever thread
executes first.
2013-06-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
tests: Add the glibmm_mainloop test.
* tests/glibmm_mainloop/main.cc: New file. Tests MainContext and MainLoop,
including MainContext::invoke().
* tests/Makefile.am: Add glibmm_mainloop/test. Bug #668184.
2013-06-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::MainContext: Add invoke().
* glib/glibmm/main.[h|cc]: Add Glib::MainContext::invoke(). Bug #668184.
2013-05-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Add missing includes in glibmm.h and bytearray.hg.
* glib/glibmm.h:
* glib/src/bytearray.hg: Add missing includes.
2013-05-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
tools: Improve the testheaders.sh script.
* tools/test_scripts/testheaders.sh: Stop if pkg-config fails.
2013-05-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
tools: Add the testheaders.sh script.
* tools/test_scripts/testheaders.sh: New file. Compiles each specified header
file, one at a time. Bug #697835.
2013-05-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
tools: Add the testmmh.sh script.
* tools/test_scripts/testmmh.sh: New file. Checks if all header files are
included in a <name>mm.h file. Bug #699993.
2013-05-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
Custom Interface Properties: Use base finalize function to free data.
* glib/glibmm/class.cc (Class::clone_custom_type): Specify a custom
base finalize function for the custom type which would free the
properties data that might exist due to properties of implemented
interfaces being overridden. This is better than having an interface
finalize function because the custom type could implement several
interfaces which would mean that the interface finalize function would
execute more than once as opposed to just once for the base finalize
function.
* glib/glibmm/class.h (Class::interface_finalize_function): Replace
with Class::custom_class_base_finalize_function().
* glib/glibmm/interface.cc (Interface_Class::add_interface): Do not
specify a custom interface finalize function.
(Interface::Interface(const Interface_Class&): Also initialize the
property GValues using g_param_value_set_default() so that they are
initialized with the default values of the properties and not just the
default value of the GValue type.
Bug #697229.
2013-05-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
UnixSocketAddress: Add the "path-as-array" property.
* gio/src/unixsocketaddress.hg:
2013-05-07 Michael Kruglos <space3000@gmail.com>
glibmm: Wrapped Base64 functionality from glib.
glib/encoding and decoding are wrapped.
step by step and in-place decoding are not wrapped.
(they're too low level for C++, and they're available from the C library.)
Bug #611589.
2013-04-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Output.pm: Use a better name for the c param mappings hash.
* tools/pm/Output.pm (output_wrap_meth, convert_args_cpp_to_c,
get_ctor_properties): Replace the 'cpp_param_mappings' variable name
with 'c_param_name_mappings' which describes the function of the hash
a little better.
2013-04-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
DBusConnection: Correct a misplaced #endif G_OS_UNIX.
* gio/src/dbusconnection.hg: Move the #endif from below the
call_finish _WRAP_METHOD() to below the non-cancellable call method
declaration. It worked as it was because what was generated by
gmmmproc was an #ifdef G_OS_UINX/#endif embedded in an outer #ifdef
G_OS_UNIX/#endif but it's how it should be now.
2013-04-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
Value: Remove unneeded whitespace in source files.
* glib/glibmm/value.cc:
* glib/glibmm/value.h:
* glib/glibmm/value_custom.cc:
* glib/glibmm/value_custom.h:
* glib/src/value_basictypes.cc.m4:
* glib/src/value_basictypes.h.m4:
2013-04-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
Output.pm: convert_args_c_to_cpp(): Reverse mappings hash correctly.
* tools/pm/Output.pm (convert_args_c_to_cpp): Reverse the hash that
maps from parameter names to indexes to a hash that maps from
indexes to parameter names correctly (by dereferencing the hash
reference) so that parameter reordering for virtual functions works
for all Perl versions.
Bug #698989 (David Evans, John Ralls)
2013-04-29 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Fix _WRAP_SIGNAL(custom_c_callback) for void func().
* tools/m4/signal.m4: If custom_c_callback is specified, and the signal
handler takes no arguments and returns void, generate a SignalProxyInfo
structure with pointers to local functions instead of
&Glib::SignalProxyNormal::slot0_void_callback. Bug #605728.
2013-04-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
Interface: Add a comment about overriding properties in constructor.
* glib/glibmm/interface.cc (Interface(onst Interface_Class&)): Explain
what is happening with the lines that override the properties of the
implemented interface, if any, for a custom type.
2013-04-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
Settings: Wrap the properties.
* gio/src/settings.hg:
2013-04-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
Implement derived interface properties in the present.
* glib/glibmm/class.cc (Class::properties_quark): Initialize this
GQuark which is used to store/get the data used for setting and
getting the properties of the interfaces that a custom type overrides.
(Class::interface_finalize_function): Add this function which
once invoked frees the property data stored as qata in the GType and
allocated/appended to in the Glib::Interface constructor below.
* glib/glibmm/class.h: Declare the interface_finalize_function above.
Also declare the quark used to store/get the property data and the
typedef data type of the property data.
* glib/glibmm/interface.cc (Interface_Class::add_interface): Specify a
custom interface finalize function when adding the interface so that
the resources allocated for handling the derived interface properties
can be freed if the type is a custom interface type.
(Interface::Interface(const Interface_Class&)): Modify the constructor
so that when dealing with a custom interface type, it gets a list of
the properties of the interface to be added and overrides these by
appending appropriate GValues to the data used to handle
getting/setting properties that is stored as qdata in the GType. The
constructor uses g_param_spec_overrided() to override the properties
of the implemented interface and g_object_install_property() to
install the properties.
* glib/glibmm/property.cc (PropertyBase::install_property): Rewrite
this method so that the acquired generated id's of custom implemented
properties does not collide with the id's of properties of implemented
interfaces that have been overridden in a custom type. This is done
by offsetting the acquired generated id (by addition) with the number
of already existing properties (the ones that have been overridden).
(custom_get_property_callback): Rewrite this function (which gets
properties for custom types) so that if the property id is less than
or equal to the number of overridden interface properties (which would
mean that an overridden interface property should be gotten) the
correct overridden interface property is gotten. Otherwise, a custom
property should be retrieved, in which case the id is offset (by
subtraction) when the PropertyBase is retrieved from the id which
would ensure getting the correct PropertyBase.
(custom_set_property_callback): Rewrite this function as the above
custom_get_property_callback was rewritten.
2013-04-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::Source: Fix the destruction and deletion.
* glib/glibmm/main.cc: Keep the Glib::Source wrapper until the GSource
instance has been destroyed and all RefPtr<Source> have been deleted.
Keep a separate ref count in glibmm. Bug #561885.
2013-04-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
ByteArray: get_data(): Add a const version.
* glib/src/bytearray.{ccg,hg}: Make the already existing get_data()
method non-constant and add a constant one returning a const array as
is done in general in *mm modules.
2013-04-12 JosƩ Alburquerque <jaalburquerque@gmail.com>
Tls Client Test: Update to test the TlsDatabase class.
* tests/giomm_tls_client/main.cc: Slightly cleaned it up from the
first commit. Lookup the issuer's certificate in the database which
is found when I run the test.
2013-04-12 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsDatabase: Make sure the cancellable param is optional in methods.
* gio/src/tlsdatabase.hg: Use the {.?} gmmproc parameter option for
the cancellable to ensure that it is optional (so that there are
methods that don't require a cancellable for the methods that have
one).
2013-04-11 JosƩ Alburquerque <jaalburquerque@gmail.com>
ByteArray: Add size() and get_data() methods.
* glib/src/bytearray.{ccg,hg}: Add these methods so that accessing
the underlying GByteArray's data and len members (which is how it is
done in the C API) is just as easy with glibmm. Also use _WRAP_METHOD
to wrap the create() method.
2013-04-09 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Parse the argument list of methods correctly.
* tools/pm/Function.pm (parse_param): When splitting the argument
list split the parameter '{...}' options out and separately and deal
with them in their own 'elsif' which is more clear and avoids code
duplication. Also, don't split the '<...>' matches greedily because
that causes problems when a Glib::RefPtr<> parameter has a default
value.
This problem was discovered while trying to not use the optional
parameter syntax for the Gio::TlsCertificate::verify() method by using
a default value for the 'trusted_ca' parameter although upon
investigation it became clear that keeping the syntax (and the method
overloads) would be useful because a verify() with no parameters can
be used to verify things about a certificate unrelated to the identity
and the trusted_ca (see the TlsCertificateFlags enum that the method
returns).
2013-04-08 JosƩ Alburquerque <jaalburquerque@gmail.com>
Interface: Fix a small typo.
* glib/glibmm/interface.cc:
2013-04-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::TlsServerConnection: Wrap it just like TlsClientConnection.
* gio/src/tlsserverconnection.{ccg,hg}: Use a custom cast constructor
just as in TlsClientConnection because this class too derives from
Glib::Interface and Gio::TlsConnection though it only derives from
GInterface in the C API. It would have the same problems described in
the commit fixing the TlsClientCOnnection class (the next to the last
one).
2013-04-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
Tests: Add a basic test for the Tls* API.
* tests/giomm_tls_client/main.cc: The test basically works though it
would be good to test more thoroughly the TlsDatabase API.
2013-04-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::TlsClientConnection: Make the class work correctly.
* tools/m4/class_interface.m4 (_CUSTOM_CTOR_CAST): Add a new macro so
that classes wrapped by the _CLASS_INTERFACE() macro can implement a
custom cast constructor. This is so that classes like
Tls[Client|Server]Connection, that derive from Glib::Interface but
should also derive from a Glib::Object derived type, though they do
not do so in the C API, don't produce warnings from an attempt to set
the non-existent properties of the GObject derived type when an
attempt to construct the C object is made in the default Glib::Object
constructor. Glib::wrap_auto_interface<>(), which is called by
Glib::wrap() for interfaces, uses the cast constructor to create the
wrapper which calls the cast constructor of Glib::Interface. If the
Glib::Object derived base class of the wrapper has a default
constructor, that constructor is then called which leads to the
Glib::Object default constructor being called, which tries to
construct the C object and set its properties thus producing the
property setting warnings. A custom cast constructor can chain up to
the cast constructor of the Glib::Object derived type thus avoiding
the call to the Glib::Object default constructor and the non-existent
property setting warnings.
* glib/glibmm/interface.cc:
* glib/glibmm/interface.h (Interface): Add a default constructor so
that in the cases above (when the cast constructor of the
Glib::Object's derived type is used), the compiler can find a
Glib::Interface default constructor to use. Using the Glib::Interface
cast constructor as well as the cast constructor of the Glib::Object
derived type would cause "ObjectBase::initialize() called twice
for the same GObject" errors.
2013-04-06 Murray Cumming <murrayc@murrayc.com>
Add a test of implementing an interface.
* tests/Makefile.am:
* tests/glibmm_interface_implementation/main.cc: Add a very simple
test that implements an interface, with a vfunc implementation and
make sure that the vfunc is called when the caller method is called.
2013-04-02 JosƩ Alburquerque <jaalburquerque@gmail.com>
ByteArray: Add a Glib::Value<> template specialization for it.
* glib/src/bytearray.{ccg,hg}: Add the specialization for ByteArray so
that getting/setting properties of that type work. Also added a
Glib::ByteArray::get_type() method required for the specialization to
compile.
This is the master branch for glibmm 2.37/8.
See also the glibmm-2-36 branch.
2013-03-31 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsCertificate: Use std::string for data instead of char*.
* gio/src/tlscertificate.{ccg,hg} (TlsCertificate): Use a std::string
in the data constructor instead of a char* because it is more C++
like. Remove the default value for the length argument so there is no
ambiguity with the file constructor (which also uses std::string for
the filename).
(create_from_pem): Renamed from create() so that there is no ambiguity
with the other file create() methods (one with a filename argument and
the other with a filename and key file arguments). Handwrote the
method in the .ccg file (_WRAP_CREATE does not allow a custom method
name).
(property_certificate_pem): Use a std::string instead of a char* for
the property type in keeping with the use of std::string for pem data.
These changes are for when the Tls* classes are re-added to the build.
2013-03-31 JosƩ Alburquerque <jaalburquerque@gmail.com>
Credentials: Add the get_unix_pid() method.
* gio/src/credentials.hg: Add the new method wrapping the
g_credentials_get_unix_pid() C function.
2013-03-27 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::Tls*: Correct some referencing errors.
* gio/src/tlscertificate.hg (get_issuer):
* gio/src/tlsclientconnection.hg (get_server_identity):
* gio/src/tlsconnection.hg (get*_certificate): Use refreturn in the
wrapping of these because the C API does not reference the object when
returning it.
2013-03-27 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm.h: Also remove the tlsfiledatabase.h include.
* gio/giomm.h: Remove the include from here so that make check will
not fail.
* gio/src/error.hg (TlsError): A minor correction in the 'EOF'
substitution regular expression.
2013-03-26 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsFileDatabase: Remove the class until its usage is more clear.
* gio/src/filelist.am (tlsfiledatabase.hg): Remove from the build
until it is more clear how the class should be used.
2013-03-26 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsError: Rename the EOF enum value.
* gio/src/error.hg (EOF): Rename it to ENDOFFILE to avoid a clash with
another definition of the identifier somewhere else which breaks the
gtkmm build.
2013-03-26 Murray Cumming <murrayc@murrayc.com>
GTlsFileDatabase: Use std::string for filenames.
* gio/src/tlsfiledatabase.hg: The anchor parameter
and property are for a filename, so we should use
std::string, because filenames are of unknown
encoding.
2013-03-26 Murray Cumming <murrayc@murrayc.com>
Gio: Correct TlsDatabase/TlsFileDatbase derivation.
* gio/src/tlsdatabase.hg:
* gio/src/tlsfiledatabase.hg: TlsFileDatabase
should derive from TlsDatabase, not the other
way around. However, we do not use TlsFileDatabase,
and it is odd (an interface that requires a
non-interface other than GObject) so maybe we should
not provide it yet anyway.
2013-03-25 Murray Cumming <murrayc@murrayc.com>
Gio: Add some TODOs about changing the base classes.
* gio/src/actionmap.hg
* gio/src/pollableinputstream.hg
* gio/src/pollableoutputstream.hg
* gio/src/remoteactiongroup.hg:
We should probably derive from their prerequisite
(required) classes instead. These were added in
glibmm 2.34.
2013-03-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Wrap the GTlsError GError.
* gio/src/error.hg: Wrap the GTlsError GError in this file.
* gio/src/tlsclientconnection.hg:
* gio/src/tlsconnection.hg: Have default true values for boolean
setter methods in these classes.
* gio/src/tlsfiledatabase.hg: Clarify a TODO.
* gio/src/dbuserror.hg: Whitespace.
2013-03-25 Murray Cumming <murrayc@murrayc.com>
Gio::DesktopAppInfo: Added some methods.
* gio/src/desktopappinfo.hg: Added has_key(),
get_string() and get_boolean().
2013-03-25 Murray Cumming <murrayc@murrayc.com>
Gio::SocketClient: Added some methods.
* gio/src/socketclient.hg: Added get/set_tls(),
get/set_tls_validation_flags(), get/set_proxy_resolver().
Added timeout, tls, enable-proxy, tls-validation, and
proxy-resolver properties.
Added the event signal.
* tools/m4/convert_gio.m4: Added necessary conversions.
2013-03-25 Chun-wei Fan <fanc999@yahoo.com.tw>
Visual Studio Projects: Fix and update.
* Fix Visual C++ projects for glibmm and giomm as numerous
sources have been added for the addition of APIs so that
these libraries can be properly built
* Also make the project files work better with the GLib Visual C++
builds (which are currently supported in the GLib source
distribution), so that the files from the GLib build can be picked
up by the glibmm projects when the Glib sources and glibmm sources
are extracted in the same root folder (for example,
c:\foo\glib-2.35.9 and c:\foo\glibmm-2.35.9)
* Fix the resolver project files for Visual C++ 2008/2010 for having
the wrong executable output name
2013-03-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
Tls[Client|Server]Connection: Add the create() methods.
* gio/src/tlsclientconnection.hg:
* gio/src/tlsserverconnection.hg: Add the create() methods, wrapping
the *_new() functions of these classes. Since these classes are
interfaces, it is not possible to use _WRAP_CTOR/WRAP_CREATE() to wrap
the new functions.
Also make these classes derive from TlsConnection which is their base
class (see [1][2][3][4]). Its odd because the base class is a GObject
and the derived ones are GInterfaces, but that's how the C API has
done it. Hopefully it will not be a problem.
[1] https://developer.gnome.org/gio/stable/GTlsConnection.html#GTlsConnection.description
[2] https://developer.gnome.org/gio/stable/GTlsConnection.html#GTlsConnection.derived-interfaces
[3] https://developer.gnome.org/gio/stable/GTlsClientConnection.html#GTlsClientConnection.description
[4] https://developer.gnome.org/gio/stable/GTlsServerConnection.html#GTlsServerConnection.description
2013-03-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
gio/src/tls*.ccg: Remove empty namespaces.
* gio/src/tlsconnection.ccg:
* gio/src/tlsdatabase.ccg:
* gio/src/tlsinteraction.ccg: Remove empty namespaces and unneeded
includes.
* gio/src/gio_extra_objects.defs: Add GTlsBackend to avoid a gmmproc
documentation warning.
2013-03-22 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Verify that void methods should not return a value.
* tools/gmmproc.in: ($main::return_mismatches): Add boolean to store
whether method return mismatches should be checked. Make it false by
default.
(parse_command_line_args): Add logic to parse a new
--return-mismatches option to specify if gmmproc should verify that
void methods should not return a value.
(print_usage): Modify the usage message to describe the new option.
For convenience, output the source for which there are unwrapped
functions, properties and signals.
* tools/pm/DocsParser.pm (remove_example_code): Also output the source
being processed when the example code is removed (for convenience).
* tools/pm/Output.pm (error): Once more, output the source being
processed when an error occurs, for convenience.
(convert_args_cpp_to_c): Add a check for when the C++ method for which
the parameters are being converted returns void but the C function
does not return void. If the added option above is specified, output
a warning.
Bug #696364.
2013-03-22 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsPassword: Correct its constructor parameter order.
* gio/src/tlspassword.hg (TlsPassword): Reorder its parameters so that
the flag comes last with a default parameter.
(create): Do the same for its create() method.
2013-03-22 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsDatabase: Const and optional parameter corrections.
* gio/src/tlsdatabase.hg: The "interaction" parameters in the methods
are all optional (see the C API docs).
(verify_chain):
(verify_chain_async):
(verify_chain_vfunc):
(verify_chain_async_vfunc): Make these methods const because the
database should not be changed by verifying a certificate's chain.
(create_certificate_handle_vfunc): Make the certificate constant
because it should not change when creating a handle for it.
2013-03-21 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsConnection: Correct its base class derivation.
* gio/src/tlsconnection.hg: The class should derive from
Gio::IOStream, not Glib::Object as in the C API. Also add the
get_peer_certificate() methods.
2013-03-21 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsCertificate: Wrap its single virtual function.
* gio/src/tlscertificate.hg: Wrap the "verify" virtual function. Also
add a default value to the length parameter of the constructor
accepting a data character array.
* gio/src/gio_vfuncs.defs: Add the virtual function definition so that
it is recognized.
2013-03-21 Murray Cumming <murrayc@murrayc.com>
Gio::FileInfo: Added get_deletion_date().
* glib/src/fileenumerator.hg: Wrap the new
g_file_info_get_deletion_date() function.
* tools/m4/convert_glib.m4: Add a necessary conversion.
2013-03-21 Murray Cumming <murrayc@murrayc.com>
Gio::FileEnumerator: Added get_child().
* glib/src/fileenumerator.hg: Wrap the new
g_file_enumerator_get_child() function.
2013-03-21 Murray Cumming <murrayc@murrayc.com>
Glib::VariantBase: Added check_format_string().
* glib/src/variant.hg:
Wrap the new g_variant_check_format_string()
function.
2013-03-21 Murray Cumming <murrayc@murrayc.com>
Gio::AsyncResult: Added is_tagged().
* gio/src/applicationcommandline.hg:
Wrapped the new g_async_result_is_tagged()
function.
2013-03-21 Murray Cumming <murrayc@murrayc.com>
Gio::ApplicationCommandLine: Added some methods.
* gio/src/applicationcommandline.hg:
Added get_stdin() and create_file_for_arg(),
wrapping new C functions.
2013-03-21 Murray Cumming <murrayc@murrayc.com>
Regenerated the -signals.defs files.
* gio/src/gio_signals.defs: Regenerated using
tools/gen_scripts/gio_generate_extra_defs.sh.
2013-03-19 Murray Cumming <murrayc@murrayc.com>
Regenerated the -methods.defs files.
* gio/src/gio_methods.xml:
* glib/src/glib_functions.xml:
* glib/src/gmodule_functions.xml:
* glib/src/gobject_functions.xml: Regenerated using
tools/gen_scripts/gio_generate_methods.sh and
tools/gen_scripts/glib_generate_methods.sh,
with a slight hand-edit to avoid the problem in
gioschedule.h with h2def.py (see previous commit).
2013-03-19 Murray Cumming <murrayc@murrayc.com>
h2def.py: Handle GLIB_AVAILABLE_IN_ALL
* tools/defs_gen/h2def.py: Do not just ignore
functions prefixed with GLIB_AVAILABLE_IN_ALL.
This handles the latest glib/gio/gactiongroup.h file.
However, we still need to handle the new
GLIB_DEPRECATED_IN_2_36_FOR(old_func) form
now used in glib/gio/gioschedule.h.
2013-03-19 Murray Cumming <murrayc@murrayc.com>
Regenerated the -enums.defs files.
* gio/src/gio_enums.xml:
* glib/src/glib_enums.xml: Regenerated using
tools/gen_scripts/gio_generate_enums.sh and
tools/gen_scripts/glib_generate_enums.sh.
2013-03-19 Murray Cumming <murrayc@murrayc.com>
Regenerated the -docs.xml files.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerated using
tools/gen_scripts/gio_generate_docs.sh and
tools/gen_scripts/glib_generate_docs.sh.
2.35.9:
2013-03-13 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsFileDatabase: Use _WRAP_METHOD() to wrap the create() method.
* gio/src/tlsfiledatabase.{ccg,hg}: It can't be properly wrapped using
_WRAP_CTOR()/WRAP_CREATE() yet but it can be wrapped using
_WRAP_METHOD(). (I don't know why I thought it had to be
handwrapped.)
2013-03-12 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsFileDatabase: Add a TODO.
* gio/src/tlsfiledatabase.hg:
2013-03-12 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsFileDatabase: Wrap the create() method.
* gio/src/tlsfiledatabase.{ccg,hg}: Manually wrap it because
presently the *_new() function does more than call g_initable_new().
2013-02-26 JosƩ Alburquerque <jaalburquerque@gmail.com>
Tls*: Add the rest of the (unwrapped) properties, methods and vfuncs.
* gio/src/tlscertificate.{ccg,hg}: Wrap the "certificate" property.
* gio/src/tlsclientconnection.hg: Add the get_accepted_cas() methods
and the "accepted-cas" property.
* gio/src/tlsdatabase.hg: Add the lookup_certificates_issued_by*()
methods and virtual functions. Correct a TlsCertificate conversion
for the virtual functions so that the underlying GObject is properly
copied from the C++ wrapper.
* tools/m4/convert_gio.m4: Add a ByteArray conversion.
* gio/src/tlspassword.hg: Clarify a TODO.
* glib/glibmm.h: Add bytes.h and bytearray.h to the includes.
2013-02-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
glibmm: Add ByteArray.
* glib/src/bytearray.{ccg,hg}:
* glib/src/filelist.am: Add the new sources for the ByteArray class
that wraps GByteArray and include the sources in the build. Some of
the GTls* API uses GByteArray so it is necessary to wrap it.
* glib/src/glib_extra_objects.defs: Include an object definition for
GByteArray to avoid a gmmproc documentation warning.
* tools/m4/convert_glib.m4: Add a GByteArray conversion so the sources
can be processed properly.
2013-02-25 Pavel Vasin <rat4vier@gmail.com>
AppInfo::get_all(): Fix ownerships
Bug #694505
2013-02-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsDatabase: Virtual function const correction.
* gio/src/tlsdatabase.hg (create_certificate_handle_vfunc): Make it
const because it does not modify the database.
2013-02-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
Tls[Database|Interaction]: Add the virtual functions.
* gio/src/tlsdatabase.hg:
* gio/src/tlsinteraction.hg: Add the virtual functions. It is
necessary to wrap GByteArray to wrap the remaining three virtual
functions of TlsDatabase.
2.35.8 (unstable);
2013-02-21 Murray Cumming <murrayc@murrayc.com>
Fix the build with --enable-warnings=fatal.
* glib/src/threads.hg: The GThread definition is now deprecated,
meaning it should only be used via a pointer.
However, we depend on it, so this temporarily undefs the
deprecation, so we can still use those checks elsewhere in the build.
It looks like we will have to do a third version of Glib::Threads,
after already replacing Glib::Thread.
This fixes make distcheck.
2013-02-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Signal*::connect(): Make them less thread-unsafe.
* glib/glibmm/main.cc: Make SignalTimeout::connect(), connect_seconds(),
SignalIdle::connect() and SignalChildWatch::connect() less thread-unsafe
by moving conn_node->install() to before g_source_attach().
* glib/glibmm/main.h: Describe that the Signal*::connect*() methods that
return a sigc::connection are not thread-safe. Bug #396958.
2013-02-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Signal[Timeout|Idle]::connect_once() docs: Warn about thread-unsafety.
* glib/glibmm/main.cc: Fix an incomplete comment.
* glib/glibmm/main.h: SignalTimeout::connect_once(), connect_seconds_once(),
SignalIdle::connect_once(): Describe the caution necessary because
sigc::trackable-derived objects are not thread-safe. Bug #396963.
2013-02-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
ThreadPool::push() docs: Note that sigc::trackable is not thread-safe.
* glib/glibmm/threadpool.h: push(): Describe how sigc::trackable-derived
classes can be used in a thread-safe way.
* glib/src/threads.hg: create(): Correct the description added in the
previous commit. Bug #512348.
2013-02-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Threads::Thread::create(): Update the documentation.
* examples/thread/thread.cc: Don't derive from sigc::trackable.
* glib/src/threads.hg: create(): Describe how sigc::trackable-derived classes
can be used in a thread-safe way. Bug #512348.
2013-01-30 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Predefine G_OS_UNIX or G_OS_WIN32 in Doxygen's configuration file.
* docs/reference/Doxyfile.in: Predefine either G_OS_UNIX or G_OS_WIN32,
depending on HOST_WINDOWS_NATIVE. Update to Doxygen 1.8.3 status.
* glib/src/iochannel.hg: Remove the DOXYGEN_SHOULD_SKIP_THIS that was added
just to get Windows-specific methods included in the documentation.
2013-01-30 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
DBus::[Connection|Proxy]: Change ifdef G_OS_LINUX to ifdef G_OS_UNIX.
* gio/src/dbusconnection.[ccg|hg]:
* gio/src/dbusproxy.[ccg|hg]: Change G_OS_LINUX to G_OS_UNIX. Glib does not
define G_OS_LINUX. Correct function declarations for DBus::Proxy::call().
2013-01-29 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Improve the conversion of documentation to Doxygen format.
* tools/defs_gen/docextract.py: Handle 'Since ' without a colon.
* tools/m4/signal.m4:
* tools/pm/Output.pm: When a function declaration is surrounded by
ifdef/endif, put its documentation inside the ifdef/endif.
* tools/pm/DocsParser.pm: Handle 'Since ' without a colon. Escape most
backslashes, not just \r and \n. Convert more <tags> to something that
Doxygen understands.
2013-01-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Documentation: Fix many warnings from Doxygen.
* gio/src/gio_docs_override.xml:
* glib/src/glib_docs_override.xml: Move "Since: n.m" from the <return> to the
<description> entries. gmmproc adds a period at the end of the @return
Doxygen command, and Doxygen warns for "@newin{n,m}.".
* glib/glibmm/interface.h:
* glib/glibmm/stringutils.h:
* glib/glibmm/vectorutils.h:
* gio/src/*.hg:
* glib/src/*.hg: (Here "*" means "many", not "all") Examples of changes:
Add missing @param. Change names of parameters, to make them equal in
function declaration and @param command. Change "@name" to "@a name".
Change "<ulink url=" to "<a href=".
2013-01-17 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsConnection: Wrap the virtual functions.
* gio/src/tlsconnection.hg: Wrap the three virtual functions that were
left as TODO's now that it's possible to wrap virtual functions with
slots.
* tools/m4/vfunc.m4: Use 'retval' instead of 'result' for variables
that store the result of the C base virtual function invocation and
the C++ virtual function invocation because 'result' conflicts with
the AsyncResult 'result' parameter of the handshake_finish_vfunc().
2013-01-16 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: _WRAP_VFUNC: Support the wrapping of slots.
* tools/pm/WrapParser.pm (on_wrap_vfunc): Add support for parsing the
additional 'slot_name', 'slot_callback', and 'no_slot_copy' options
that do the same thing as the corresponding _WRAP_METHOD options (ie.
specify the name of the C++ slot parameter, the name of the callback
function and whether to use the original slot or a copy of it,
respectively. Also pass the options along to:
(output_wrap_vfunc): Store the options in the C++ virtual function
object so they can be tested for when converting the parameters and
composing the _VFUNC* m4 macro calls.
* tools/pm/Output.pm (output_wrap_vfunc_cc):
- Append the additional 'slot_type', 'slot_name' and 'no_slot_copy'
parameters to the _VFUNC_CC m4 macro invocation so that it can include
code for the vfunc to copy the slot parameter and pass it on to the C
function.
- Also append the additional 'slot_type' and 'c_data_param_name' to
the _VFUNC_PCC m4 macro so that it knows the slot type and the C
gpointer parameter name that contains the slot so that the macro can
generate code to extract the slot from the data parameter and pass the
slot on to the C++ virtual function.
(convert_args_c_to_cpp):
- Rewritten so that it loops through the C++ parameters so that it is
possible to re-order the parameters using the existing mapping
functionality that allows parameters to be re-ordered for the
_WRAP_[CREATE|CTOR|METHOD] macros. Also re-written so that it knows
how to deal with slot parameters.
* tools/m4/vfunc.m4 (_VFUNC_PCC): Modified to accept the additional
'slot_type' and 'c_data_param_name' arguments and to insert code to
extract the slot from the C gpointer data parameter to be passed on
to the C++ virtual function.
(_VFUNC_CC): Modified to accept the additional 'slot_type',
'slot_name' and 'no_slot_copy' arguments and to insert code to either
copy the slot in a 'slot_copy' variable or set the variable to the
actual slot (if it's so been specified) which is then passed on to the
C function.
2013-01-16 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: _WRAP_[CREATE|CTOR|METHOD]: Allow any order of {} options.
* tools/pm/Function.pm: Make it possible to use any order desired of
the options to specify whether parameters should be optional or should
be re-ordered in the _WRAP_* directives.
2013-01-14 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Gio::File: Remove refreturn to avoid memory leaks.
* gio/src/file.hg: Remove the refreturn argument from _WRAP_METHOD for read()
and 13 other methods. The glib functions add a ref.
Change @newin2p24 to @newin{2,24}. Bug #691606.
2013-01-09 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm.h: Add the tls[client|server]connection.h headers.
* gio/giomm.h: Add the two new headers.
2013-01-08 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the Tls[Client|Server]Connection classes.
* gio/src/tlsclientconnection.{ccg,hg}: Add the new client sources
wrapping the methods and properties.
* gio/src/tlsserverconnection.{ccg,hg}: Add the new server sources
wrapping its single property.
* gio/src/filelist.am: Include the new sources in the list of files to
be built.
* gio/src/enums.hg: Add the TlsAuthenticationMode enum needed for the
server class here because it is documented in the Tls Overview section
of the C API's documentation and not as part of any other class.
* tools/m4/convert_gio.m4: Add a necessary conversion.
* gio/src/tlsdatabase.{ccg,hg}: Fix the includes so that the
tlscertificate.h header file does not have to be included in the .h
file but instead in the .c file.
2013-01-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm.h: Add the new tls*.h headers.
* gio/giomm.h: Add the
tls[connection|database|filedatabase|interaction].h headers.
2013-01-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
Tls[Database|Interaction|Passowrd]: Const corrections.
* gio/src/tlsdatabase.hg (verify_chain):
(verify_chain_async): Accept the SocketConnectable as a const because
it is used to check for certificates that have been pinned (marked as
good) for a specific domain in a browser session and not modified.
(lookup_certificate_issuer)
(lookup_certificate_issuer_async): Accept the TlsCertificate for which
to look for the issuer as const because it is not modified according
to the docs.
* gio/src/tlsinteraction.hg (ask_password):
(ask_password_async)
(invoke_ask_password): Accept the TlsPassword as non-const because the
docs say that it is filled in by the methods, not used to compare a
user entry with an existing password.
* gio/src/tlspassword.hg (get_value_vfunc):
(get_default_warning_vfunc): Make these const because they are getter
functions.
* tools/m4/convert_gio.m4: Adjust the conversions according to above
changes.
2013-01-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: _WRAP_ENUM: Skip enum constants whose names are deleted.
* tools/pm/Enum.pm, build_element_list(): If a custom substitution argument
in _WRAP_ENUM() removes all of an enum constant's name, exclude that constant
from the element list. Useful for GdkEventType. Bug #544694.
2013-01-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Improve the search for documentation of enums.
* tools/pm/Enum.pm, build_element_list(): Search for value documentation
before custom substitutions are applied to the element name. Bug #544694.
2013-01-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the TlsConnection class.
* gio/src/filelist.am:
* gio/src/tlsconnection.{ccg,hg}: Add the new sources wrapping the
methods, properties and signals of the new class. Also add the
sources to the list of files to be built and add the virtual
functions as a TODO.
* gio/src/gio_vfuncs.defs: Add the definitions of the virtual
functions of the class for when the virtual functions are wrapped.
* tools/m4/convert_gio.m4: Add conversions relevant to wrapping the
class.
2013-01-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsDatabase: Add a TODO to wrap virtual functions.
* gio/src/tlsdatabase.hg: Add the virtual functions but as a TODO so
that the parameters can be properly ordered according to the order in
the methods.
* gio/src/gio_vfuncs.defs: Add the virtual function definitions for
when the vfuncs are wrapped.
* gio/src/tlscertificate.hg: Do not wrap a write-only construct-only
property.
2013-01-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
TlsDatabase: Reorder parameters so that flags can have defaults.
* gio/src/tlsdatabase.hg (lookup_certificate_issuer):
(lookup_certificate_issuer_async): Reorder the parameters in these
methods as is done in the other methods so that the flag parameter can
be last and have a default value.
2013-01-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the TlsDatabase class which implements TlsFileDatabase.
* gio/src/filelist.am:
* gio/src/tlsdatabase.{ccg,hg}: Add the sources wrapping the C
functions and include the sources in the list of files to be built.
* tools/m4/convert_gio.m4: Add the necessary conversions for the
wrapped methods in the sources.
* gio/src/tlsfiledatabase.hg: Add a TODO.
2013-01-02 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the TlsFileDatabase interface.
* gio/src/filelist.am:
* gio/src/tlsfiledatabase.{ccg,hg}: Add the new sources wrapping a
single property and include them in the list of files to be built.
* gio/src/tlsinteraction.hg: Correct a typo.
2013-01-01 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the TlsInteraction class.
* gio/src/tlsinteraction.{ccg,hg}:
* gio/src/filelist.am: Add the sources wrapping the C functions and
include the sources in the build.
* gio/src/gio_vfuncs.defs: Add the virtual functions of the class.
The vfuncs are not wrapped yet so that gmmproc can be modified so that
virtual functions with slot parameters can be wrapped as is already
possible with methods.
* tools/m4/convert_gio.m4: Add necessary conversions.
2012-12-28 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: _WRAP_METHOD: Ensure that slot parameters can be optional.
* tools/pm/Output.pm (output_wrap_meth): Only pass the slot parameters
to the m4 _*METHOD() macros if convert_args_cpp_to_c() signals that a
possible slot parameter should be included.
(convert_args_cpp_to_c): Add a boolean called 'include_slot' to the
objCppfunc object that is by default false that is set when a slot
parameter is encountered and should converted.
2012-12-28 JosƩ Alburquerque <jaalburquerque@gmail.com>
Variant: Allow containing complex types in arrays and in variants.
* glib/src/variant.hg (Variant< Variant<T> >): Add a new class capable
of containing any Variant<>. The class is just like
Variant<VariantBase> except that with it, it is now possible to store
and handle complex variant types in a variant easily in a C++ way.
The modified test below exemplifies.
(Variant< std::vector<T> >::create): Create a Variant<> for each of
the members in the vector and then use g_variant_builder_add_value()
to add the underlying GVariant of the wrapped elements in the builder
instead of using the variadic g_variant_builder_add() function which
causes problems when dealing with types that are more complex than
basic ones.
(Variant< std::vector<T> >::get_child): Rewritten to get the child as
a GVariant, wrap the GVariant in a Variant<> and then get its value
instead of assuming that the array in the variant is a fixed array of
basic types so that complex types are supported in arrays.
(Variant< std::vector<T> >::get): Rewritten as get_child() above so
that the elements in the array are gotten as a GVariant, wrapped in a
Variant<> and then retrieved and placed in the resulting vector,
again, to ensure that a vector of complex types can be stored in a
variant.
* tests/glibmm_variant/main.cc: Modify the test to ensure that any
type other than basic ones are supported.
2012-12-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Gio::Action: Add more documentation of get_state_hint() and get_state().
* gio/src/action.hg: get_state_hint() and get_state() returns void, which
makes them useless. That can't be fixed until the next ABI break. Explain in
the documentation what to do instead of calling these methods. Bug #690134.
2012-12-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
SignalProxy: Fix the documentation, especially of connect_notify().
* glib/src/signalproxy.h.m4: Many small fixes of the documentation, and a
more thorough rewrite of the doc of SignalProxy[0-6]::connect_notify().
Bug #126213, comment 5.
2012-12-18 Andrew Potter <agpotter@gmail.com>
VariantBase: Add operator for BoolExpr (const void*).
* glib/src/variant.{ccg,hg}: Adds operator BoolExpr.
Also deletes relational operators to prevent unexpected conversion.
Bug #690121.
2012-12-13 Andrew Potter <agpotter@gmail.com>
SimpleAction: Fix stateful action constructor typo, allowing use.
* gio/src/simpleaction.hg: Fix 'sate' typo to 'state', allowing
the constructor to be used. Bug #690122.
2012-12-12 Andrew Potter <agpotter@gmail.com>
Threads: Add create(slot, name).
* glib/src/threads.{ccg,hg}: Add a method to create named threads.
Bug #689863.
2012-11-20 Andrew Potter <agpotter@gmail.com>
VariantType: Add create_tuple().
* glib/src/varianttype.{ccg,hg}: Add the method following the style of
VariantContainerBase::create_tuple(), completing a TODO.
Bug #688682.
2012-11-20 JosƩ Alburquerque <jaalburquerque@gmail.com>
VariantType: Correct the referencing in the create*() methods.
* tools/m4/convert_glib.m4: Correct the 'GVarianType*' to VariantType
conversion to not take an extra reference when wrapping the
GVariantType in the VariantType.
* glib/src/variant.hg:
* glib/src/varianttype.hg: Also move the 'const GVariantType'
conversion from the global glib convert file (above) to these local
files because it takes an extra reference of the GVariantType.
Bug #688440 (Andrew Potter).
2012-11-18 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Documentation: Adjust if the method has a slot param.
* tools/pm/WrapParser.pm (on_wrap_method): Pass the objCppfunc object
to the DocParser::lookup_documentation() subroutine so that it can
decide if the final parameter of the C function should be excluded
from the docs. The final parameter (which would be a gpointer
user_data parameter) would be omitted if the C++ method has a slot
parameter.
* tools/pm/DocsParser.pm (lookup_documentation): Pass the objCppfunc
on to the append_parameter_docs() subroutine which does what's
described above.
(append_parameter_documentation): Decide whether to skip the final C
parameter as described above. Also rename 'callback' parameters to
'slot' and use '@a slot' instead of '@a callback' in the main
description.
(substitute_identifiers): Replace C *Callback types to C++ Slot*
types.
Bug #688587.
2012-11-18 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: _WRAP_METHOD: Support wrapping methods with slots.
* tools/pm/WrapParser.pm (on_wrap_method): Add code to parse the
additional 'slot_name', 'slot_callback' and 'no_slot_copy' options.
- The 'slot_name' options specifies the name of the slot parameter in
the C++ method declaration.
- The 'slot_callback' option specifies the name of the callback to
pass to the C function.
- The 'no_slot_copy' option specifies that the actual slot should be
passed to the C function in the data parameter and not a copy. By
default, a copy is used.
* tools/pm/Output.pm (output_wrap_meth): Pass the new slot options
along to the *METHOD() m4 macros.
(convert_args_cpp_to_c):
- If there is a slot parameter, ignore the final user_data parameter
in the C function when comparing the argument count in the C++
method and the C function.
- Convert a possible slot parameter to the address of the specified
slot callback (with the 'slot_callback' option). Report an error if
no callback has been specified.
- Pass a 'slot_copy' variable as the final user data parameter to the
C function. The variable is declared by the _*METHOD() m4 macros.
* tools/m4/method.m4 (_METHOD):
(_STATIC_METHOD):
- Accept the new 'slot_type', 'slot_name' and 'no_slot_copy' options
which specify the C++ slot type (without the const and the &), the
C++ slot parameter name and whether to create a copy of the slot or
not respectively.
- Insert code to declare a 'slot_copy' variable that is either a copy
of the slot or a pointer to the actual C++ slot based on the
'no_slot_copy' option.
Bug #688587.
2012-11-15 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm.h: Include the tlspassword.h header file.
* gio/giomm.h:
2012-11-14 Debarshi Ray <debarshir@src.gnome.org>
ustring docs: The global locale should be set when using C++ streams.
* glib/glibmm/ustring.h: Replace output.imbue(std::locale("")) by
std::locale::global(std::locale("")) in the description of how to use
std::ostringstream. Bug #661588.
2012-11-13 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the TlsPassword class.
* gio/src/tlspassword.{ccg,hg}:
* gio/src/filelist.am: Add the new sources containing the constructor,
methods, properties and virtual functions and include the sources in
the build.
* gio/src/gio_vfuncs.defs: Add the GTlsPassword virtual functions so
that they are recognized by gmmproc.
* tools/m4/convert_gio.m4: Add an enum conversion.
2012-11-13 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the GTls* GTypes to the extra defs generation utility.
* tools/extra_defs_gen/generate_defs_gio.cc: Add the GTypes.
* gio/src/gio_signals.defs: And regenerate the signal and property
defs file.
2012-11-13 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm.h: Re-add an accidentally removed include.
* gio/giomm.h: Re-add 'simpleaction.h' which was accidentally removed.
Also re-sort the includes by the base filename (without the .h) as
they were before.
2012-11-12 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm.h: Include missing headers.
* gio/giomm.h: Include all the headers generated from the .hg files.
2012-11-11 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the TlsCertificate class.
* gio/src/filelist.am:
* gio/src/tlscertificate.{ccg,hg}: Add the sources wrapping the
constructors, methods and (most) properties and include the sources in
the build.
* gio/src/enums.hg: Add the TlsCertificateFlags enum (wrapping the C
enum).
* tools/extra_defs_gen/generate_defs_gio.cc: Add the GTlsCertificate
GType to the list of types for which signal and property defs are to
be generated.
* gio/src/gio_signals.defs: Regenerate the signal and property defs
file.
* tools/m4/convert_gio.m4: Add necessary conversions.
* gio/src/gio_extra_objects.defs: Add TlsClientConnection to avoid a
gmmproc docs warning.
2012-11-08 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: _WRAP_CTOR: Handle *_new() functions with a final GError**.
* tools/pm/WrapParser.pm (on_wrap_ctor): Add code to parse an
additional "errthrow" optional option in a _WRAP_CTOR() macro.
* tools/pm/Output.pm (output_wrap_ctor): Pass the "errorthrow" option
along as a string to:
(get_ctor_properties): Ignore the final GError** parameter of the C
*_new() function because it does not form part of the property list
that the constructor to has to set.
Bug #687959.
2012-11-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
DesktopAppInfo: Add some new getter methods.
* gio/src/desktopappinfo.hg: Add the get_keywords(),
get_startup_wm_class(), get_generic_name(), get_show_in(),
get_nodisplay() and get_categories() getter methods wrapping the
corresponding C functions.
2012-11-06 JosƩ Alburquerque <jaalburquerque@gmail.com>
Variant: Don't refsink variants created using the custom cast ctor.
* glib/src/variant.ccg:
* glib/src/variant.hg:
* glib/src/variant_basictypes.cc.m4: Remove the call to
g_variant_ref_sink() in the create() methods of the variant types that
use the custom cast constructor to wrap the newly created C object
because the custom cast constructor already refsinks the object if
necessary.
2012-11-06 JosƩ Alburquerque <jaalburquerque@gmail.com>
MemoryOutputStream: Add the steal_as_bytes() method.
* gio/src/memoryoutputstream.{ccg,hg}: Add the method that wraps the
corresponding C function.
2012-11-06 JosƩ Alburquerque <jaalburquerque@gmail.com>
AppInfo: Add create_duplicate().
* gio/src/appinfo.{hg,ccg}: Add the new method (which creates a
duplicate of the AppInfo). Also, use gmmproc's optional parameter
functionality to wrap the launch_default_for_uri() method without the
optional AppLaunchContext parameter.
2012-11-06 JosƩ Alburquerque <jaalburquerque@gmail.com>
Variant< std::vector<std::string> >: Add create_from_object_paths().
* glib/src/variant.hg: Add the new method that creates a variant of
vector of strings out of object paths. This is so the type of the
variant is rightly set to G_VARIANT_TYPE_OBJECT_PATH_ARRAY and not
G_VARIANT_TYPE_BYTESTRING_ARRAY in case some application needs to make
a distinction.
Also _IGNORE the g_variant_get_objv() and g_variant_dup_objv()
functions because it's possible to get object paths from a variant of
vector of strings if it contains them with the existing getter
methods because object paths are merely strings.
* glib/src/variantiter.hg: Add an _IGNORE.
* glib/src/checksum.ccg:
* glib/src/convert.ccg: Whitespace.
2012-11-05 JosƩ Alburquerque <jaalburquerque@gmail.com>
Regenerate the XML docs files for glibmm and giomm.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: These files now include enum XML
documentation.
* glib/src/glib_extra_objects.defs: Add IOChannel to avoid a gmmproc
documentation warning.
2012-11-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Make enum documentation possible.
* tools/defs_gen/docextract.py (enum_name_pattern): Add a new regular
expression that recognizes gtk-doc enum comment blocks (though
imperfectly because it also catches things such as structure comment
blocks).
(identifier_patterns): Append the new enum_name_pattern to the list of
patterns used to test each gtk-doc block's identifier to see what type
of block it is.
(parse_file): Do not add a particular gtk-doc block if it has been
marked as a block initially thought to be an enum comment block but
later found not to be so.
(skip_to_identifier): Mark the current comment block as an enum type
if the enum_name_pattern matches the identifier.
(process_params): Mark the current block as invalid if the block was
recognized as an enum type but no parameters are found or if any of
the parameter names are not all caps.
(parse_dir): Include .h files for processing because gtk-doc enum
comment blocks are included in those files.
* tools/defs_gen/docextract_to_xml.py: Add an option to not print out
enum docs. Assume that enum docs should be printed out by default.
* tools/pm/DocsParser.pm (parse_on_start):
(parse_on_end): Add logic to correctly parse an <enum> tag (which is
just like the already existing <function> and <signal> tags. The only
difference is in the name of the tags. The function name syntax is
the same as a C function name, the signal name has the form
'CStructName::signal-name' while the enum name has the form
'CEnumName')
(lookup_enum_description): Add this subroutine that gets the
the description of the specified enum.
(lookup_enum_value_documentation): Add this subroutine that gets the
description of an enum value as a Doxygen block.
(lookup_documentation): Use the new remove_example_code subroutine
described below.
(remove_example_code): Add this subroutine that removes example code
from the specified text so that it can be used in other places.
* tools/pm/Enum.pm (c_prefix): Add a new field to the class storing
the enum's C prefix. This field is used when looking up an enum's
value documentation.
(parse_values): Modified to store the C prefix of the enum.
(build_element_list): Modified to lookup the documentation of the
values of the enum and insert the Doxygen block just before each
value. This allows Doxygen to document each value of the enum.
* tools/pm/Output.pm (output_wrap_enum): Modified to lookup
the description of the enum previously parsed by the DocParser and
merge it with an already passed in comment for the enum which is then
passed as before to the _ENUM macro.
* tools/m4/enum.m4: Whitespace correction.
Bug #544694.
2012-11-04 Murray Cumming <murrayc@murrayc.com>
MountOperation: Correct an ABI break.
* gio/src/mountoperation.hg: Use the no_default_handler option with
the new _WRAP_SIGNAL() to avoid a new on_*() vfunc increasing the size
of the class. This got into the 2.34.0 release at the last moment
but it seems better to correct it before people use it than to leave it.
2012-11-05 JosƩ Alburquerque <jaalburquerque@gmail.com>
UnixConnection: Remove the const receive_credentials_finish() method.
* gio/src/unixconnection.hg: It doesn't make sense and there are no
other const *_finish() methods in giomm. Further, it's not needed for
getting a const Credentials. That's already possible with the
existing receive_credentials_finish() method.
2012-11-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
UnixConnection: Add [receive|send]_credentials_[async|finish]().
* gio/src/unixconnection.{ccg,hg}: Add the new methods (adding
non-cancellable versions for the async methods) wrapping the
corresponding C functions.
* gio/src/socketconnection.hg: Typo.
2012-11-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
ThemedIcon: Wrap the "names" property.
* gio/src/themedicon.hg:
2012-11-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
SocketConnection: Add connect*() and is_connected() methods.
* gio/src/socketconnection.{ccg,hg}: Add connect(), connect_async(),
connect_finish() and is_connected() methods (wrapping the
corresponding C functions).
* gio/src/resolver.hg: Add an _IGNORE.
2012-11-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
docextract_to_xml.py: Replace : with ':' in generated XML files.
* tools/defs_gen/docextract_to_xml.py: Otherwise gmmproc reports
errors if this entity is encountered when trying to parse the XML
documentation.
2012-11-01 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Improve the documentation of properties.
* tools/m4/property.m4: Change "the property of the value" to "the value of
the property". Make the description of the return value different for
PropertyProxy, PropertyProxy_ReadOnly and PropertyProxy_WriteOnly.
2012-10-30 JosƩ Alburquerque <jaalburquerque@gmail.com>
Resolver: Add lookup_records() and lookup_records_finish().
* glib/glibmm/containerhandle_shared.h: Add TypeTraits specializations
for VariantBase (for the futre) and VariantContainerBase.
* gio/src/resolver.hg: Add the new methods (mentioned above) because
the VariantContainerBase TypeTraits specialization allows the vector
utilities to convert to/from GVariants in a GList correctly.
2012-10-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
Resolver: Add the lookup_records_async() methods.
* gio/src/resolver.{ccg,hg}: Add the methods (cancellable and
non-cancellable versions) adding TODO's about wrapping the remaining
related methods (lookup_records() and lookup_records_finish()).
* tools/m4/convert_gio.m4: Add a necessary enum conversion.
* glib/src/variant.hg: Typo discovered while adding above methods.
2012-10-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
Add some TODO's.
* gio/src/menuitem.hg:
* gio/src/menumodel.hg: Add TODO's about possibly adding methods to
the classes in these files (these TODO's were added a few days ago and
being commited now). Also add a TODO about an unwrapped signal in
MenuModel.
* glib/src/glib_extra_objects.defs: Add GArray to the list of objects
to avoid a gmmproc documentation warning.
2012-10-29 Mark Vender <markv743@yahoo.co.uk>
Strip trailing whitespace.
* gio/giomm/*.[h|cc]:
* gio/src/*.[hg|ccg]:
* glib/glibmm/*.[h|cc]:
* glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
2012-10-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
ContentType: Fix typo in the content_type_get_symbolic_icon() name.
* gio/giomm/contenttype.cc: The name was misspelled because the 'o'
and 'l' in 'symbolic' were interchanged. The name is correctly
spelled in the .h file so I guess it's safe to rename it in the .cc
file for 2.34 and the master branch.
2012-10-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
DBus::[Connection|Proxy]: Use ifdefs for the UnixFDList call*() methods.
* gio/src/dbusconnection.hg:
* gio/src/dbusproxy.hg: Place the call*() methods taking a UnixFDList
parameter within '#ifdef G_OS_UNIX' ifdefs because the UnixFDList
class exists only on the Unix platform.
2012-10-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
Remove the use of g_type_init() because it has been deprecated.
* glib/glibmm/wrap.cc:
* tools/extra_defs_gen/generate_defs_gio.cc:
* tools/extra_defs_gen/generate_defs_glib.cc: The docs for the
function says that the GType system is initialized automatically now
as of 2.36.
* tools/extra_defs_gen/generate_extra_defs.cc: Whitespace correction.
2.34.0:
2012-10-21 Murray Cumming <murrayc@murrayc.com>
Add some documentation.
* gio/src/dbusintrospection.hg:
* gio/src/dbusserver.ccg:
* gio/src/inputstream.hg:
* gio/src/menu.hg:
* gio/src/menuitem.hg:
* gio/src/outputstream.hg:
* glib/src/threads.hg: Deal with some TODOS, mostly
adding documentation based on the C documentation.
2012-10-21 Murray Cumming <murrayc@murrayc.com>
Create only .tar.xz tarballs.
* configure.ac: This is what ftp.gnome.org wants, so this avoids
it doing any repackaging.
2.33.14:
2012-10-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Add 3-argument @newin.
* tools/pm/DocsParser.pm: Convert "Since: 1.2.3" to "@newin{1,2,3}".
Some C projects (goocanvas, grilo, gstreamer) use "Since: 1.2.3", instead of
"Since: 1.2". The corresponding C++ projects need an ALIAS for this @newin
in Doxyfile.in, like in mm-common/skeletonmm/doc/reference/Doxyfile.in.
2012-10-08 JosƩ Alburquerque <jaalburquerque@gmail.com>
FileInfo: set_attribute_strings(): Const correction.
* gio/src/fileinfo.hg: Pass the attr_value vector as a const
std::vector<>& and not just a std::vecto<>&. I must not have been
paying attention to what I was doing when wrapping this.
2012-10-07 Murray Cumming <murrayc@murrayc.com>
Require the latest mm-common.
* configure.ac: This should avoid us creating tarballs without
the mm-common improvements.
2012-10-06 Murray Cumming <murrayc@murrayc.com>
MenuItem: get_attribute(): Remove const overload / make it const.
* gio/src/menuitem.hg: It does not make sense to have a return
by value that is const.
* gio/src/menuattributeiter.hg:
* gio/src/menumodel.hg: Add TODOs for a future ABI break, so we can
fix the same problem here.
2012-10-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
MenuItem: Rename the get_attribute_value() methods to get_attribute().
* gio/src/menuitem.hg: Rename the just added methods to just
get_attribute() instead of get_attribute_value() to make the method
name shorter. Also deprecate the set_attribute_value() method and add
a set_attribute() method to go with the newly renamed get_attribute()
methods.
2012-10-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
MountOperation: Wrap the "show-unmount-progesss" signal.
* gio/src/mountoperation.hg:
2012-10-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
MenuItem: Add the get_attribute_value() methods.
* gio/src/menuitem.hg: Add the methods (const and non-const versions)
and overloads without the VariantType parameter which can be null,
wrapping the g_menu_item_get_attribute_value() function.
(MenuItem): Add an overload for the "label" and "submenu" constructor
without the label parameter which can be null.
(create): Do the same for the create() method of the constructor
above.
* gio/src/menumodel.hg: Add an _IGNORE (completing a TODO).
2012-10-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
IOStream: Add the splice_async() and splice_finish() methods.
* gio/src/iostream.{ccg,hg}: Add cancellable and non-cancellable
versions of the splice_async() method wrapping the corresponding C
function. Add the splice_finish() method wrapping the corresponding C
function. Also add the class docs.
2012-10-02 JosƩ Alburquerque <jaalburquerque@gmail.com>
FileInfo, FileAttributeMatcher: Wrap some unwrapped functions.
* gio/src/fileinfo.hg (FileAttributeMatcher): Add the
create_difference() and to_string() methods wrapping the
g_file_attribute_matcher_subtract() and the
g_file_attribute_matcher_to_string() functions.
(FileInfo): Add the has_namespace(), [get|set]_attribute_status(),
and [get|set]_attribute_strings() methods wrapping the
g_file_info_has_namespace(), g_file_info_[get|set]_attribute_status(),
and g_file_info_[get|set]_attribute_stringv() functions.
* tools/m4/convert_gio.m4: Add an enum and FileAttributeMatcher
conversions.
2012-10-02 JosƩ Alburquerque <jaalburquerque@gmail.com>
VariantIter: Correct an _IGNORE.
* glib/src/variantiter.hg:
2012-10-01 JosƩ Alburquerque <jaalburquerque@gmail.com>
VariantIter: Add init() method.
* glib/src/variantiter.hg: Wrap the g_variant_iter_init() function.
* tools/m4/convert_glib.m4: Add a necessary conversion.
* glib/src/varianttype.hg: Add an _IGNORE.
2012-10-01 Murray Cumming <murrayc@murrayc-desktop>
DBus::Proxy: Add call(), call_sync() and call_finish() for unix_fd_list.
* gio/src/dbusproxy.[hg|ccg]: Add method overloads for the call methods
that take a GUnixFDList. This is based on the similar methods in
dbusconnection.[hg|ccg].
2012-10-01 Murray Cumming <murrayc@murrayc.com>
DBusConnection: Fix a typo in implementation.
* gio/src/dbusconnection.ccg:
g_dbus_connection_call_with_unix_fd_list() was mistyped. I wonder why
the compiler did not complain.
2012-09-30 JosƩ Alburquerque <jaalburquerque@gmail.com>
ActionGroup: Add the query_action() methods.
* tools/m4/base.m4:
* tools/m4/convert_base.m4:
* tools/m4/filelist.am:
* tools/m4/initialize.m4:
* tools/m4/initialize_base.m4:
* tools/m4/initialize_gio.m4:
* tools/m4/initialize_glib.m4:
* tools/m4/initialize_glibmm.m4: Move the _INITIALIZE macros into
their own files as is done for the _CONVERT macros so that some basic
types that are common (like initializing a bool& from a gboolean) can
be defined once and used in other circumstances.
* gio/src/dbusconnection.hg: Move an _INITIALIZATION macro to the
general files above (the gio initialize file).
* gio/src/actiongroup.hg: Add the query_action() methods (the needed
_INITIALIZATION macros are in the glib initialize file).
* tools/pm/Output.pm (convert_args_cpp_to_c): Correct the indentation
of the declarations of the C output variables and the setting of the
C++ output parameters from the C variables for methods that use the
output parameter feature of gmmproc.
2012-09-30 JosƩ Alburquerque <jaalburquerque@gmail.com>
RegEx: Add the get_has_cr_or_lf() method.
* glib/src/regex.hg:
2012-09-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Make the output param feature work for single indirection.
* tools/pm/Output.pm (convert_args_cpp_to_c): When inserting C object
initializations for C objects that will be used to set output
parameters, initialize the C object to a "default constructed" object
of the same type if there is single indirection and not zero to ensure
successful compilation in that case.
* tools/m4/method.m4: Whitespace correction of the body of generated
non-static methods. This ensures each statement is on its own line
and that there are no blank lines to make methods as compact as
possible.
Bug #662371.
2.33.13:
2012-09-25 Murray Cumming <murrayc@murrayc.com>
gio_docs.xml: Replace : with :.
* gio/src/gio_docs.xml: This fixes the build.
2012-09-24 Murray Cumming <murrayc@murrayc.com>
Update the *_methods defs files.
* gio/src/gio_methods.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Updated with tools/gen_scripts/
2012-09-24 Murray Cumming <murrayc@murrayc.com>
Update the docs XML files.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Updated with tools/gen_scripts/
2012-09-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
Converter[Input|Output]Stream: Correct whitespace typos.
* gio/src/converterinputstream.hg:
* gio/src/converteroutputstream.hg:
2012-09-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the Converter[Input|Output]Stream classes.
* gio/src/converterinputstream.{ccg,hg}:
* gio/src/converteroutputstream.{ccg,hg}:
* gio/src/filelist.am: Add the new sources adding the constructors,
create methods, the methods and properties of the new classes. Add
the sources to the build.
* gio/src/gio_signals.defs:
* tools/extra_defs_gen/generate_defs_gio.cc: Add the two new GTypes to
the extra defs generation utility and regenerate the signal and
property defs file to get the properties of the new classes.
* tools/m4/convert_gio.m4: Add the necessary Converter conversions.
2012-09-20 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the PollableOutputStream interface.
* gio/src/pollableoutputstream.{ccg,hg}:
* gio/src/filelist.am: Add the sources adding the new interface
methods and virtual functions and include the sources in the build.
* gio/src/gio_extra_objects.defs: Add the new object in this file to
avoid a gmmproc documentation warning.
* gio/src/gio_vfuncs.defs: Add the new interface virtual functions.
2012-09-20 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the PollableInputStream interface.
* gio/src/pollableinputstream.{ccg,hg}:
* gio/src/filelist.am: Add the sources adding the new interface
methods and virtual functions and include the sources in the build.
* gio/src/gio_extra_objects.defs: Mention the new object in this file
to avoid the gmmproc documentation warnings.
* gio/src/gio_vfuncs.defs: Add the new interface virtual functions but
alphabetize the existing entries by class name.
2012-09-19 JosƩ Alburquerque <jaalburquerque@gmail.com>
_WRAP_VFUNC: Prepend @throws clause to vfuncs that throw errors.
* tools/pm/Output.pm (output_wrap_vfunc_h): Prepend a Doxygen @throws
clause to the declaration of virtual functions that throw Glib::Error.
2012-09-18 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Connection: Add the call_[finish|sync]() with UnixFDLists.
* gio/src/dbusconnection.{hg,ccg}: Add the methods using gmmproc's
output parameter functionality. Also add the cancellable and
non-cancellable asynchronous call() methods that were #ifdef'ed out
because of the missing call_finish() method.
* tools/m4/convert_gio.m4: Add a necessary enum conversion.
Bug #662371.
2012-09-18 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_METHOD: Allow setting parameters from C output params.
* tools/m4/convert_base.m4 (_INITIALIZATION): Insert newlines between
a possible series of statements that has been specified as an
initialization. For example, the declaration, assignment and the
g_free() call would each be on a seperate line in the following (from
datainputstream.hg):
_INITIALIZATION(`std::string&',`return-char*',`char* tmp = $4; $3 = tmp; g_free(tmp)')
* tools/pm/Function.pm (FLAG_PARAM_OPTIONAL):
(FLAG_PARAM_OUTPUT): Added new constant flags representing if a
parameter is optional or if it is an output parameter.
(EXPORT_OK): Exported the above flags so they can be used in other
modules.
(param_optional): Renamed to param_flags. Redesigned it to store a
possible combination of both flags above and not just if a parameter
is optional.
(parse_param): Modified the subroutine to look for an '>>' in a
possible '{.*}' following the current parameter name which would
signal that the parameter is an output parameter. The syntax for
signaling if a parameter is optional, is an output parameter or should
be mapped to a specific C parameter would be:
cpp_param_name{c_param_name>>?}
c_param_name means that the C++ parameter should be mapped to the C
parameter no matter the parameter order of either. The '>>' means
that the parameter should be set from the C parameter because the C
parameter is an output parameter. Finally, the '?' means that the
parameter is optional thus overloads should be generated without that
paramter. All three components within the {} are optional. A '.' may
be used instead of the c parameter name if the C++ parameter name is
the same as the C parameter name.
(possible_args_list): Modified to use the param_flags variable.
* tools/pm/Output.pm (output_wrap_vfunc_h): Modified to receive the
new return type from convert_args_cpp_to_c() (see below).
(output_wrap_meth): Modified to receive the new return from
convert_args_cpp_to_c (see below) and pass them to the _METHOD() and
_STATIC_METHOD() macros.
(convert_args_cpp_to_c): Modified to generate a
list of C declarations for any possible C output parameters and to
generate a list of _INITIALIZE() macros to initialize the C++
parameters from the C output parameters. The function returns an array
of three strings (the convert macros, the possible C declarations and
the _INITIALIZE() macros in that order).
* tools/pm/WrapParser.pm (string_split_commas): Modified the
subroutine to ignore '>>' if they are in '{}' (so that the '>>' can
signal that a parameter should be set from a C output parameter.
* tools/m4/method.m4 (_METHOD, _STATIC_METHOD): Rewrote to accept
C declarations of possible C output parameters and _INITIALIZE macros
which would initialize the appropriate C++ parameters from the output
variables and insert them appropriately in the generated code.
Bug #662371.
2012-09-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Improve the use of _IGNORE. Don't use gio_others.defs.
* gio/src/applicationcommandline.hg: Change a _CONVERSION (due to the
exclusion of gio_others.defs).
* gio/src/dbusintrospection.hg:
* gio/src/fileinfo.hg: Add _IGNORE.
* gio/src/fileiostream.hg:
* gio/src/fileoutputstream.hg: Correct an _IGNORE.
* gio/src/gio.defs: Don't include gio_others.defs. One of its entries is
wrong and all of them also exist (in correct form) in gio_methods.defs or
gio_signals.defs.
* glib/src/convert.hg:
* glib/src/regex.hg: Add _IGNORE.
* glib/src/date.hg:
* glib/src/fileutils.hg:
* glib/src/markup.hg:
* glib/src/optionentry.hg:
* glib/src/shell.hg:
* glib/src/spawn.hg:
* glib/src/thread.hg:
* glib/src/threads.hg:
* glib/src/unicode.hg:
* glib/src/uriutils.hg: Remove _IGNORE(g_iconv).
* glib/src/variantiter.hg: Add an _IGNORE. Remove _IGNORE(g_variant_iter_new).
2012-09-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Improve the search for unwrapped methods.
* tools/pm/GtkDefs.pm: lookup_method_set_weak_mark(): New function.
get_unwrapped(): Correct the search when methods from more than one class
have been wrapped.
GtkDefs::Function::new(): Take into account that a method (g_iconv) may be
nameless. After this change the patch of g_iconv in glib_functions.defs.patch
is probably unnecessary but harmless.
* tools/pm/WrapParser.pm: on_wrap_method_docs_only(), on_wrap_ctor():
Call GtkDefs::lookup_method_set_weak_mark().
on_wrap_method(): Call GtkDefs::lookup_method_set_weak_mark() if the method
is static.
2012-09-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
_CLASS_GOBJECT: Allow classes to have custom wrap() functions.
* tools/m4/class_gobject.m4 (_CUSTOM_WRAP_FUNCTION): Add this new
macro which can be used in _CLASS_GOBJECT classes so that if they want
they can write their own implementation of their Glib::wrap()
function. This is useful for modules such as gstreamermm that want to
keep certain classes (like the plug-ins) from being registered on
startup but then do a one time registration of the wrap_new() function
in the Glib::wrap() function before calling Glib::wrap_auto() which
can then find the wrap_new() function if necessary.
Bug #684006.
2012-09-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
generate_wrap_init.pl: Allow classes in files to not be registered.
* tools/m4/class_shared.m4: Add a new _NO_WRAP_INIT_REGISTRATION macro
used in the generate_wrap_init.pl script to recognize a file whose
classes should not be registered by wrap_init().
* tools/generate_wrap_init.pl.in (exclude_from_wrap_init): Include a
hash map to determine if the classes in a file should not be
registered with the wrapping system by the wrap_init() function.
(main): Modified to see if the new _NO_WRAP_INIT_REGISTRATION macro is
used in a file and store a true/false value in the hash map for the
specified file. Also, modified to not include the includes, the
*_get_type() function declarations, the wrap_new() function
declarations and the *::get_type() invocations of the classes in the
file marked for no registration.
Bug #684006.
2012-09-16 Murray Cumming <murrayc@murrayc.com>
File: Add remove_async() and remove_finish().
* gio/src/file.[hg|ccg]: As for the sync version, we
rename delete to remove, because the sync vesion would be
delete(), which uses a C++ keyword.
2012-09-15 Murray Cumming <murrayc@murrayc.com>
Simplified lots of code by using the {?} _WRAP_METHOD() syntax.
* gio/src/application.[hg|ccg]:
* gio/src/bufferedinputstream.[hg|ccg]:
* gio/src/datainputstream.[hg|ccg]:
* gio/src/dataoutputstream.[hg|ccg]:
* gio/src/dbusconnection.[hg|ccg]:
* gio/src/fileenumerator.[hg|ccg]:
* gio/src/initable.[hg|ccg]:
* gio/src/inputstream.[hg|ccg]:
* gio/src/iostream.[hg|ccg]:
* gio/src/outputstream.[hg|ccg]:
* gio/src/resolver.[hg|ccg]:
* gio/src/seekable.[hg|ccg]:
* gio/src/socket.[hg|ccg]:
* gio/src/socketaddressenumerator.[hg|ccg]:
* gio/src/socketclient.[hg|ccg]: This relatively new gmmproc syntax lets
us avoid the manual implementations and declarations just to have
overloads without the Cancellable parameters.
* gio/src/unixconnection.hg: This had no method overloads without
Cancellable parameters but now it does.
2012-09-15 Murray Cumming <murrayc@murrayc.com>
Gio::File: Correct the commit again
* gio/src/file.[hg|ccg]: make_directory() was missing a {?}.
2012-09-15 Murray Cumming <murrayc@murrayc.com>
Gio::File: Correct the previous commit.
* gio/src/file.[hg|ccg]: Do not use {?} with query_file_type()
because it cannot cope with also having a default parameter value
on an earlier parameter.
2012-09-15 Murray Cumming <murrayc@murrayc.com>
Gio::File: Simplify the code by using {?} in _WRAP_METHOD()
* gio/src/file.[hg|ccg]: This relatively new gmmproc syntax lets
us avoid the manual implementations and declarations just to have
overloads without the Cancellable parameters.
2012-09-15 Murray Cumming <murrayc@murrayc.com>
AppLaunchContext: Add setenv(), unsetenv() and get_environment().
* gio/src/applaunchcontext.hg: Wrap these C functions.
2012-09-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Use std::time_t instead of ::time_t.
* build/c_std.m4:
* glib/src/date.[hg|ccg]: Use std::time_t instead of ::time_t. Only
std::time_t is required to be declared in <ctime>, which is recommended
instead of <time.h> in C++ programs.
2012-09-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Use std::size_t and std::ptrdiff_t.
* glib/glibmm/arrayhandle.h:
* glib/glibmm/containers.h:
* glib/glibmm/listhandle.h:
* glib/glibmm/slisthandle.h:
* glib/glibmm/vectorutils.h: Use std::size_t and std::ptrdiff_t instead
of ::size_t and ::ptrdiff_t. Only the std versions are required to be
declared in <cstddef>.
* examples/network/resolver.cc:
* glib/glibmm/containerhandle_shared.h:
* glib/glibmm/helperlist.h:
* glib/glibmm/main.h:
* glib/glibmm/vectorutils.cc: Use std::size_t instead of ::size_t.
* glib/src/convert.hg: Use std::size_t instead of ::size_t in a comment.
* glib/glibmm/property.cc:
* glib/glibmm/ustring.h: Use std::ptrdiff_t instead of ::ptrdiff_t.
2.33.12:
2012-09-07 Murray Cumming <murrayc@murrayc.com>
Socket: Remove create_source() again.
* gio/src/socket.hg:
* tools/m4/convert_glib.m4: Comment out
create_source() because Glib::Source (in main.h)
does not have a Glib::wrap(). Maybe it should.
2012-09-07 Murray Cumming <murrayc@murrayc.com>
Socket. Add several methods.
* gio/src/socket.hg: Added create_source(),
get_available_bytes(), get_ttl(), set_ttl(),
get_broadcast(), set_broadcast(),
get_multicast_loopback(), set_multicast_loopback(),
get_multicast_ttl(), set_multicast_ttl(),
join_multicast_group(), leave_multicast_group(),
and properties.
* tools/m4/convert_glib.m4: Added a conversion for
GIOSource.
2012-09-07 Murray Cumming <murrayc@murrayc.com>
Volume: Add get_sort_key().
* gio/src/volume.hg: Wrap g_volume_get_sort_key().
2012-09-07 Murray Cumming <murrayc@murrayc.com>
ContentType: get_icon(): Fix a refcount error.
* gio/giomm/contenttype.cc: get_icon(): Take a reference.
2012-09-07 Murray Cumming <murrayc@murrayc.com>
MenuItem: Add get_link().
* gio/src/menuitem.hg: Wrap g_menu_item_get_link().
2012-09-07 Murray Cumming <murrayc@murrayc.com>
Gio: DBusAuthObserver: Add allow_mechanism().
* gio/src/dbusauthobserver.hg: Add the allow_mechanism()
method and signal.
2012-09-07 Murray Cumming <murrayc@murrayc.com>
Application: Add get_dbus_*() methods.
* gio/src/application.hg: Add get_dbus_connection()
and get_dbus_object_path().
* tools/m4/convert_gio.m4: Added a necessary conversion.
2012-09-06 Murray Cumming <murrayc@murrayc.com>
Tell the documentation generator about GMenu.
* gio/src/gio_extra_objects.defs: Add GMenu to avoid
a warning from gmmproc.
2012-09-06 Murray Cumming <murrayc@murrayc.com>
Regenerated some glib .defs.
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs:
2012-09-06 Murray Cumming <murrayc@murrayc.com>
Regenerate other gio .defs.
* gio/src/gio_docs.xml:
* gio/src/gio_signals.defs: Regenerated.
2012-09-06 Murray Cumming <murrayc@murrayc.com>
Add get_symbolic_icon() methods.
* gio/src/gio_methods.defs: Regenerated.
* gio/giomm/contenttype.[h|cc]: Add get_symbolic_icon().
* gio/src/drive.hg: Add get_symbolic_icon().
* gio/src/fileinfo.hg: Add get_symbolic_icon().
* gio/src/mount.hg: Add get_symbolic_icon().
* gio/src/volume.hg: Add get_symbolic_icon().
2012-09-06 JosƩ Alburquerque <jaalburquerque@gmail.com>
Converter: Correct the "convert" virtual function.
* gio/src/converter.hg (convert_vfunc): Have the virtual function
throw the final GError parameter of the C function instead of
including it in the C++ parameter list. This is done by using the
recently added _WRAP_VFUNC functionality.
2012-09-05 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: _WRAP_VFUNC: Handle virtual functions that throw GErrors.
* tools/pm/WrapParser.pm (on_wrap_vfunc): Modified so that _WRAP_VFUNC
recognizes an optional "errthrow" parameter as is done in
_WRAP_METHOD.
(output_wrap_vfunc): Modified to tag the located virtual function
definition as one that will be wrapped by a C++ method that throws the
final C GError parameter.
* tools/pm/Output.pm (output_wrap_vfunc_cc): Modified to pass an
optional "errthrow" string to _VFUNC_CC and _VFUNC_PCC so that they
can include the proper code for the getting and throwing of the
GError. Also modified to pass the "errthrow" string to the
convert_args_cpp_to_c() so that it process the C++ method as one
throwing a Glib::Error.
(convert_args_c_to_cpp): Modified to ignore the final GError if the
C function has been marked as one that will be wrapped by a C++ method
throwing the final C GError parameter.
* tools/m4/vfunc.m4 (_VFUNC_PCC): Modified to recognize a final
"errthrow" string parameter in which case code is inserted to declare
a local parameter in which to store the C GError and then throw
it as a Glib::Error if an error was received when the underlying C
function is called in the virtual function callback.
(_VFUNC_CC): Also modified to recognize a final "errthrow" string
parameter inserting code to store and then throw a possibly obtained
GError as a Glib::Error in the C++ virtual function when calling the
underlying C virtual function.
Bug #683460.
2012-09-04 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the ZlibDecompressor and the CharsetConverter classes.
* gio/src/charsetconverter.{ccg,hg}:
* gio/src/zlibdecompressor.{ccg,hg}:
* gio/src/filelist.am: Add the new sources wrapping the C functions
and properties in the corresponding classes. Include the sources in
the build.
* gio/src/gio_signals.defs:
* tools/extra_defs_gen/generate_defs_gio.cc: Add the GTypes for the C
types in the property and signal generation utility and regenerate the
defs file so the properties of the new classes can be wrapped.
* gio/src/zlibcompressor.hg: Make the constructor protected and not
private (typo).
2012-09-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the ZlibCompressor class.
* gio/src/zlibcompressor.{ccg,hg}:
* gio/src/filelist.am: Add the ZlibCompressor class which derives from
the Converter interface wrapping the C functions and properties and
include the sources in the build.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GZlibCompressor GType to the
properties and signals generation utility and regenerate the defs
file.
* tools/m4/convert_gio.m4: Add the new enum conversion.
2012-09-02 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the Converter interface.
* gio/src/converter.{ccg,hg}: Add the source files wrapping the C
functions as methods and wrapping the virtual functions.
* gio/src/filelist.am: Include the sources in the build.
* gio/src/gio_vfuncs.defs: Add the necessary virtual function
definitions so the virtual functions can be wrapped.
* tools/m4/convert_gio.m4: Add the new enum and flag conversions.
2012-09-01 Murray Cumming <murrayc@murrayc.com>
Avoid warnings from documenation generation.
* gio/src/gio_docs.xml: Replace : with :
2012-09-01 Murray Cumming <murrayc@murrayc.com>
Gio::AppInfo: Wrap some new methods.
* gio/src/appinfo.hg: Add get_display_name(),
set_as_last_used_for_type() and get_supported_types().
2012-09-01 Murray Cumming <murrayc@murrayc.com>
Regenerate .defs.
* gio/src/gio_docs.xml:
* gio/src/gio_methods.defs:
* gio/src/gio_signals.defs:
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenerate using tools/gen_scripts/
2012-09-01 Murray Cumming <murrayc@murrayc.com>
Gio: ProxyAddress: Wrap some new methods.
* gio/src/proxyaddress.hg: Add get_destination_protocol()
and get_uri().
2012-09-01 Murray Cumming <murrayc@murrayc.com>
Gio: Menu, MenuModel: Wrap some new methods.
* gio/src/menu.hg: Add append_section().
* gio/src/menumodel.hg: Add is_mutable() and get_n_items().
2.33.4:
2012-08-01 Murray Cumming <murrayc@murrayc.com>
gio_extra_objects: Mention GMenuItem.
* gio/src/gio_extra_objects.defs:
This helps the documentation generator.
2012-07-28 Krzesimir Nowak <qdlacz@gmail.com>
Add a test checking whether floating variants are always sunk.
* tests/glibmm_variant/main.cc: New test.
Bug #680407
2012-07-28 Krzesimir Nowak <qdlacz@gmail.com>
Implement custom cast constructor for VariantBase.
* glib/src/variant.hg:
* glib/src/variant.ccg: Use _CUSTOM_CTOR_CAST macro and implement
cast constructor. This is needed, because we always want to sink
a GVariant.
Bug #680407
2012-07-28 Krzesimir Nowak <qdlacz@gmail.com>
Add _CUSTOM_CTOR_CAST macro for _CLASS_OPAQUE_COPYABLE.
* tools/m4/class_opaque_copyable.m4: New macro.
Bug #680407
2012-07-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::Threads:[Rec]Mutex: Add wrap() functions.
* glib/src/threads.[hg|ccg]: Add Mutex* wrap(GMutex*) and
RecMutex* wrap(GRecMutex*). Bug #483790.
2012-07-22 Krzesimir Nowak <qdlacz@gmail.com>
Properly wrap g_key_file_load_from_dirs().
* glib/src/keyfile.hg:
* glib/src/keyfile.ccg: The just deprecated wrapper was
incorrectly passing an array wrapper for full_path parameter when
it should pass a std::string&, because full_path is an output
parameter. Added handwritten wrapper passing proper parameter.
2012-07-22 Krzesimir Nowak <qdlacz@gmail.com>
Wrap g_variant_type_peek_string() by hand.
* glib/src/gvarianttype.hg:
* glib/src/gvarianttype.ccg: The wrapped function does not return
a C string (it is not NULL terminated), so std::string(str, size)
constructor needs to be used. I wonder how glibmm_variant test
passed through all distchecks so far...
2012-07-16 Murray Cumming <murrayc@murrayc.com>
Show get_type() in the API documentation.
* tools/m4/class_boxedtype.m4:
* tools/m4/class_boxedtype_static.m4:
* tools/m4/class_gobject.m4:
* tools/m4/class_interface.m4: Move the static get_type()
functions out of the ifdef so that doxygen can see them,
because they are sometimes needed, for instance when
implementing a custom container.
Bug #670212 (Mark Vender).
2012-07-10 Krzesimir Nowak <qdlacz@gmail.com>
Glib::Checksum: Fix a typo.
* glib/src/checksum.hg: Should be *_SHOULD_*, not *_SHOUD_*.
2.33.3:
2012-07-10 Murray Cumming <murrayc@murrayc.com>
Gio::InetSocketAddress: Added get_flowinfo() and get_scope_id()
* gio/src/inetsocketaddress.hg: And add the properties.
2012-07-10 Murray Cumming <murrayc@murrayc.com>
Gio::OutputStream: Add write_bytes().
* tools/m4/convert_glib.m4:
* gio/src/outputstream.[hg|ccg]: Add write_bytes(), write_bytes_async(),
and write_bytes_finish().
2012-07-10 Murray Cumming <murrayc@murrayc.com>
Added Glib::Bytes and Gio::InputStream::read_bytes().
* glib/src/bytes.[hg|ccg]:
* glib/src/filelist.am:
* tools/m4/convert_glib.m4: Added a simple GBytes wrapper.
* gio/src/inputstream.[hg|ccg]: Added read_bytes(), read_bytes_async()
and read_bytes_finish() using the new Glib::Bytes type.
2012-07-10 Murray Cumming <murrayc@murrayc.com>
Gio::DBus::Connection: Add get_last_serial().
* gio/src/dbusconnection.hg: Wrap g_dbus_connection_get_last_serial().
2012-07-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
generate_wrap_init.pl: Add _INCLUDE_IN_WRAP_INIT, _GMMPROC_WRAP_CONDITIONALLY.
* tools/generate_wrap_init.pl.in: Handle _INCLUDE_IN_WRAP_INIT and
_GMMPROC_WRAP_CONDITIONALLY.
* tools/m4/class_shared.m4: Add _INCLUDE_IN_WRAP_INIT and
_GMMPROC_WRAP_CONDITIONALLY. Bug #678883.
2012-07-01 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Update .gitignore.
* .gitignore: Add /glib/glibmm/threads.[h|cc]. Update /examples/dbus/*.
2.33.2:
2012-06-19 Murray Cumming <murrayc@murrayc.com>
gio_signals.defs: Regenerate.
* gio/src/gio_signals.defs: Regenerate with gen_scripts.
2012-06-19 Murray Cumming <murrayc@murrayc.com>
gen_scripts: Correct some comments/documentation.
* tools/gen_scripts/gio_generate_extra_defs.sh:
* tools/gen_scripts/glib_generate_extra_defs.sh:
These do not need JHBUILD_SOURCES to be defined.
2012-06-13 Murray Cumming <murrayc@murrayc.com>
Updated the *docs.xml files.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Used the gen_scripts.
2012-06-13 Murray Cumming <murrayc@murrayc.com>
Updated the methods .defs.
* gio/src/gio_methods.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Used the gen_scripts.
2012-06-13 Murray Cumming <murrayc@murrayc.com>
Updated the enums .defs.
* gio/src/gio_enums.defs:
* glib/src/glib_enums.defs: Used the gen_scripts.
2012-06-13 Murray Cumming <murrayc@murrayc.com>
Simplify the gen_scripts slightly.
* tools/gen_scripts/gio_generate_docs.sh:
* tools/gen_scripts/gio_generate_enums.sh:
* tools/gen_scripts/gio_generate_methods.sh:
* tools/gen_scripts/glib_generate_docs.sh:
* tools/gen_scripts/glib_generate_enums.sh:
* tools/gen_scripts/glib_generate_methods.sh:
Do not require changes to PATH.
2.33.1 (unstable):
2012-06-08 MichaÅ WrĆ³bel <michal.wrobel@flytronic.pl>
Thread::RecMutex: Don't initialize this as a GStaticMutex.
The previous code (removed here) depended on an implementation
detail of GStaticRecMutex, which was changed in this glib commit:
http://git.gnome.org/browse/glib/commit/?id=2b281e40f32b7916d856dcc95e6f8fe625fcff03
This change avoids a deadlock with that version of glib.
Note that Thread::* is deprecated anyway, which is lucky because we do not
know for sure that this fix is enough.
Bug #677291
2012-06-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::add_exception_handler(): Fix misplaced endif.
* glib/glibmm/exceptionhandler.h: Fix a misplaced endif, which has made
Doxygen exclude add_exception_handler() from the documentation.
2012-05-28 Murray Cumming <murrayc@murrayc.com>
Application: Pass 0 (NULL) rather than "" to GApplication.
* gio/src/application.ccg: It is annoying that GApplication (and other
C code) distinguishes, of course.
2012-05-27 Murray Cumming <murrayc@murrayc.com>
Gio::Application: Allow the application ID to be empty.
* configure.ac: Depend on the latest unstable glib release (2.33.1).
* gio/src/application.hg: constructor, create(): Add a default
(empty string) parameter for the application ID, because this may
now be empty if you do not need the full GApplication functionality.
2012-04-21 Kalev Lember <kalevlember@gmail.com>
Gio: Start wrapping GResource.
* gio/src/resource.[hg|ccg]: Add Gio::ResourceError so that the
resource handling functions in gtkmm could use it. The rest of the
GResource API is unwrapped.
* gio/src/filelist.am: List new resource.hg file.
Bug #674545.
2012-04-17 Krzesimir Nowak <qdlacz@gmail.com>
Miscutils: Fix typos.
* glib/glibmm/miscutils.cc: Return early from get_system_data_dirs()
and get_system_config_dirs() when C function returns NULL.
2.32.0:
2012-04-05 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Add macro _CUSTOM_CTOR_CAST in _CLASS_BOXEDTYPE.
* tools/m4/class_boxedtype.m4: Add macro _CUSTOM_CTOR_CAST.
Bug #511136, comment 20.
2012-04-10 Chun-wei Fan <fanc999@src.gnome.org>
Update Visual Studio projects
* Fix Visual C++ projects for glibmm and giomm as numerous
sources have been added for the addition of APIs so that
these libraries can be properly built
2012-04-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::Dispatcher: Don't send messages to a deleted Dispatcher.
* glib/glibmm/dispatcher.h: Add missing usage rules.
* glib/glibmm/dispatcher.cc: Avoid delivering messages to deleted Dispatchers.
Don't block message delivery while a second main loop is running.
Bug #651942.
2012-04-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Make SignalTimeout,SignalIdle::connect_once() more thread safe.
* glib/glibmm/main.cc: Call SourceConnectionNode::install() before
g_source_attach(). Suggested by Chris Vine. Bug #396963 comments 15-18.
2012-04-03 Murray Cumming <murrayc@murrayc.com>
Some improvements to the documentation in the previous commit.
* glib/glibmm/property.h:
2012-04-03 Mark Vender <markv743@yahoo.co.uk>
Document Glib::Property and Glib::PropertyBase
* glib/glibmm/property.h:
Bug #673291
2012-04-03 Murray Cumming <murrayc@murrayc.com>
Slight rewrite of the documenation in the previous commit.
* tools/m4/class_interface.m4:
2012-04-03 Mark Vender <markv743@yahoo.co.uk>
gmmproc: Generate the documentation of default constructors of interface classes.
Bug #673213
2012-04-03 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Make SignalTimeout,SignalIdle::connect_once() more thread safe.
* glib/glibmm/main.cc: Don't create a sigc::connection in the connect_once()
methods. Bug #396963.
2012-03-30 Murray Cumming <murrayc@murrayc.com>
Regenerate .defs files.
* gio/src/gio_docs.xml:
* gio/src/gio_enums.defs:
* gio/src/gio_signals.defs:
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenereated using
the scripts.
2.31.22:
2012-03-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: _WRAP_SIGNAL(): Mark deprecated signals in the _p.h and .cc files.
* tools/pm/WrapParser.pm: output_wrap_signal(): Pass $deprecated to
output_wrap_default_signal_handler_[h|cc]().
* tools/pm/Output.pm: output_wrap_default_signal_handler_[h|cc]():
Take a 'deprecated' bool parameter and pass it to _SIGNAL_P[H|CC]().
* tools/m4/signal.m4: _SIGNAL_PROXY(): Add deprecation info to the .cc file.
_SIGNAL_PH(), _SIGNAL_PCC(): Take a 'deprecated' bool parameter.
2012-03-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: _WRAP_PROPERTY(): Fix mixed-up deprecation and documentation.
* tools/pm/Output.pm: Add $deprecated in the first call to _PROPERTY_PROXY().
* tools/m4/property.m4: Correct comments in .cc files by swapping #endif's
in _PROPERTY_PROXY().
2012-03-25 Murray Cumming <murrayc@murrayc.com>
Gio: Move AppLaunchContext into its own header file.
* gio/src/appinfo.[hg|ccg]: Move the AppLaunchContext class into:
* gio/src/applaunchcontext.[hg|ccg]:
This helps gmmproc, for instance when deriving from it for
Gdk::AppLaunchContext.
2012-03-25 JosƩ Alburquerque <jaalburquerque@gmail.com>
Action, DBusObject: Ensure vfunc callbacks return valid memory.
* gio/src/action.hg (get_name_vfunc_callback):
* gio/src/dbusobject.hg (get_object_path_vfunc_callback):
(get_interfaces_vfunc_callback): Ensure that the return values of the
virtual functions of these callbacks are properly copied by correcting
the appropriate conversions so that the callbacks don't return empty
memory.
2012-03-23 Murray Cumming <murrayc@murrayc.com>
ActionGroup: list_actions_vfunc(): Do not return freed memory.
* gio/src/actiongroup.hg: list_actions vfunc: Correct the conversion,
doing a deep copy of the array of strings.
2012-03-23 Murray Cumming <murrayc@murrayc.com>
gmmproc: _WRAP_SIGNAL(): Allow signals to be deprecated.
* tools/pm/WrapParser.pm: on_wrap_signal(): Parse an optional
deprecated "the explanation" parameter.
* tools/pm/Output.pm: output_wrap_signal_decl(): Take a deprecated bool
and deprecated_docs, passing them to the m4 macro.
* tools/m4/signal.m4: _SIGNAL_PROXY(): Take a deprecated bool parameter
and use it to ifdef-out the signal declaration.
However, we cannot put the ifdef around the default signal handler,
because that would break ABI.
2012-03-22 Murray Cumming <murrayc@murrayc.com>
Gio: MenuItem: set_action_and_target(): Add one without the variant.
* gio/src/menuitem.[hg|ccg]: set_action_and_target(): Rename to
set_action() and add a set_action() with just the action name,
because the GVariant* is optional.
2012-03-22 Murray Cumming <murrayc@murrayc.com>
Gio: SimpleAction: Add a parameter that takes no VariantType.
* gio/src/simpleaction.[hg|ccg]: The GVariantType* is optional.
2012-03-22 Murray Cumming <murrayc@murrayc.com>
Gio: Menu, MenuItem: Add default parameter values.
* gio/src/menu.hg:
* gio/src/menuitem.hg: Let the detailed_description parameters be
empty.
2012-03-22 Murray Cumming <murrayc@murrayc.com>
Gio: Add Menu and MenuItem.
* tools/extra_defs_gen/generate_defs_gio.cc: Mention the new GTypes here,
though they do not seem to have any properties or signals.
* gio/src/filelist.am:
* gio/src/menu.[hg|ccg]:
* gio/src/menuitem.[hg|ccg]: Add these classes, as a way to create
the Gio::MenuModel for Gtk::Application::set_app_menu() and set_menubar().
* tools/m4/convert_gio.m4: Add MenuItem conversion.
* gio/giomm.h: Mention the new headers here.
2012-03-22 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Dispatcher examples: Use Glib::signal_idle().connect_once().
* examples/thread/dispatcher.cc: Use Glib::signal_idle().connect_once().
* examples/thread/dispatcher2.cc: Use Glib::signal_idle().connect_once().
Rename class Dispatcher to ThreadDispatcher. Bug #396963
2012-03-15 Murray Cumming <murrayc@murrayc.com>
Fix some warnings found by clang++.
* glib/glibmm/class.cc: registered_derived_type(): Use (void*)0 instead
of NULL to avoid a missing sentintel warning.
2012-03-16 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBus::Object: Add the signals of the interface.
* gio/src/dbusobject.hg: Add the signal_interface_[added|removed]()
signals of the interface.
* tools/extra_defs_gen/generate_defs_gio.cc: Add the GDBusObject GType
to the signal and properties generation utility.
* gio/src/gio_signals.defs: Regenerate the defs file to get the
signals of the interface.
* tools/m4/convert_gio.m4: Add a necessary conversion for wrapping the
signals.
* gio/src/dbusinterface.hg: Whitespace corrections.
2012-03-15 JosƩ Alburquerque <jaalburquerque@gmail.com>
DateTime: Correct the declaration of the TimeVal struct.
* glib/src/datetime.hg: It was declared as a class but is in fact a
struct. I also built the jhbuild c++ sources (as gtkmm was) using
clang++ out of curiosity which discovered this.
2012-03-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBus: Add the Interface and Object interfaces.
* gio/src/dbusinterface.{ccg,hg}:
* gio/src/dbusobject.{ccg,hg}:
* gio/src/filelist.am: Add the new sources and include them in the
list of files to be built.
* gio/src/gio_vfuncs.defs: Add the virtual function definitions for
the new interfaces.
* tools/m4/convert_gio.m4: Add conversions for the new interfaces.
2012-03-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Glib::Threads::Private, Glib::Dispatcher: Delete Glib::DispatchNotifier.
* glib/src/thread.hg: Add missing @deprecated.
* glib/src/threads.hg: Add Private::replace(). Add documentation to Private.
* glib/glibmm/dispatcher.cc: Use Private::replace() instead of set().
Bug #671587.
2.31.20:
2012-03-03 Murray Cumming <murrayc@murrayc.com>
Gio::Application: Add quit().
* gio/src/application.hg: Wrap g_application_quit().
2012-03-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Signal*: Better description of the connect*() methods.
* glib/glibmm/main.h: Mention that returning false from a bool-returning
handler disconnects the handler. Other minor changes of the descriptions.
Bug #669906.
2012-03-02 Murray Cumming <murrayc@murrayc.com>
h2defs.py: Ignore the new GDK_AVAILABLE_IN_* macros.
* tools/defs_gen/h2def.py: Strip these macros so we can actually
parse the latest headers.
2012-03-01 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Allow destructors to be documented.
* tools/m4/base.m4 (SECTION_DTOR_DOCUMENTATION): Add a new section in
which to store a destructor's documentation.
* tools/m4/class_shared.m4 (_DOCUMENT_DTOR): Add a new macro which
takes text and places it in a Doxygen comment block sending the
comment block to the new section above. The text can be multiline.
The macro assumes that any lines below the first, if any, have at
least one space preceding them. If the text is a single line, it can
be double quoted (the double quotes are removed).
* tools/m4/class_boxedtype.m4:
* tools/m4/class_gobject.m4:
* tools/m4/class_interface.m4:
* tools/m4/class_opaque_copyable.m4: Modify these so that any Doxygen
comment block sent to the new section above is inserted in the
generated declaration of the destructor.
Bug #668918.
2012-02-29 JosƩ Alburquerque <jaalburquerque@gmail.com>
Generation Scripts: Don't assume the root directory is glibmm.
* tools/gen_scripts/gio_generate_docs.sh:
* tools/gen_scripts/gio_generate_enums.sh:
* tools/gen_scripts/gio_generate_extra_defs.sh:
* tools/gen_scripts/gio_generate_methods.sh:
* tools/gen_scripts/glib_generate_docs.sh:
* tools/gen_scripts/glib_generate_enums.sh:
* tools/gen_scripts/glib_generate_extra_defs.sh:
* tools/gen_scripts/glib_generate_methods.sh: Modify them so that they
assume that they reside in the tools/gen_scripts directory and find
the root of glibmm based on that instead of assuming that the name of
the root directory is glibmm.
* gio/src/gio_enums.defs.patch: Add this patch file to streamline the
enum generation so that keeping the custom Gio::HOST_WAS_NOT_FOUND
enum value is easier.
2012-02-29 Murray Cumming <murrayc@murrayc.com>
Add back our custom Gio::HOST_WAS_NOT_FOUND enum value.
* gio/src/gio_enums.defs: This is easy to lose, but we always
notice during make check.
2012-02-28 JosƩ Alburquerque <jaalburquerque@gmail.com>
tools: Add XML docs and defs generation scripts.
* tools/gen_scripts/gio_generate_docs.sh:
* tools/gen_scripts/gio_generate_enums.sh:
* tools/gen_scripts/gio_generate_extra_defs.sh:
* tools/gen_scripts/gio_generate_methods.sh:
* tools/gen_scripts/glib_generate_docs.sh:
* tools/gen_scripts/glib_generate_enums.sh:
* tools/gen_scripts/glib_generate_extra_defs.sh:
* tools/gen_scripts/glib_generate_methods.sh: Add these scripts to
generate the XML docs and defs files for glibmm and giomm. A
'JHBUILD_SOURCES' variable pointing to the jhbuild root source
directory needs to be defined and the various tools (like h2def.py,
enum.pl, etc.) need to be in the command path for these scripts to run
successfully. They generate the appropriate files, patch them if
necessary, and place them in the correct place. All that's needed is
to run the scripts.
* gio/src/gio_docs.xml:
* gio/src/gio_enums.defs:
* gio/src/gio_methods.defs:
* gio/src/gio_signals.defs:
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gmodule_functions.defs:
* glib/src/gobject_enums.defs:
* glib/src/gobject_functions.defs: Regenerate all the XML and defs
files to ensure that the scripts work.
* glib/src/glib_enums.defs.patch: Add this patch file so that it isn't
necessary to manually edit the defs file.
* gio/src/gio_signals.defs.patch:
* glib/src/glib_functions.defs.patch: Update these patch files so the
defs files patch successfully.
Bug #668918.
2012-02-28 JosƩ Alburquerque <jaalburquerque@gmail.com>
docextract_to_xml.py: Generate signal docs by default.
* tools/defs_gen/docextract_to_xml.py: Change the --with-signals
option to --no-signals and assume that signal documentation should be
generated by default. The --no-signals option requests that the docs
not be generated.
Bug #668918.
2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
DBus::Error, DBus::Proxy: Fix interaction with generate_wrap_init.pl.
* gio/src/dbuserror.hg: Remove now unnecessary declaration of friend
Gio::wrap_init().
* gio/src/dbusproxy.hg: Add _GMMPROC_EXTRA_NAMESPACE(DBus). Bug #640029.
2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Fix exceptions thrown by Thread::create() and Threads::Thread::create.
* glib/src/thread.ccg: create(): Call g_thread_try_new() instead of
g_thread_new(). Throw a Glib::ThreadError when appropriate, instead of calling
Glib::Error::throw_exception(), which would throw Glib::Threads::ThreadError.
* glib/src/threads.ccg:create(): Call g_thread_try_new() instead of
g_thread_new(). Remove parameter 'joinable'.
* glib/src/threads.hg: Remove parameter 'joinable'. Remove comments about
non-joinable threads and thread priorities.
* examples/network/resolver.cc:
* examples/network/socket-client.cc:
* examples/network/socket-server.cc:
* examples/thread/dispatcher.cc:
* examples/thread/dispatcher2.cc:
* examples/thread/thread.cc: Remove parameter 'joinable' in calls to
Glib::Threads::Thread::create(). Bug #640029.
2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Fix the build with --disable-deprecated-api.
* glib/glibmm/main.cc: Call get_time() instead of the deprecated
get_current_time(), when GLIBMM_DISABLE_DEPRECATED is defined.
* glib/src/thread.[hg|ccg]: Use _IS_DEPRECATED instead of
_DEPRECATE_IFDEF_{START|END}. _DEPRECATE_IFDEF_{START|END} does not include
code generated by gmmproc within #ifndef/#endif.
* glib/src/threads.ccg: Change catch(Glib::Thread::Exit&) to
catch(Glib::Threads::Thread::Exit&).
* glib/src/threads.hg: Add _GMMPROC_EXTRA_NAMESPACE(Threads).
* glib/src/valuearray.hg:
* gio/src/application.hg: #undef G_DISABLE_DEPRECATED in the .cc file.
* tools/m4/class_shared.m4: Define _IS_DEPRECATED. Bug #640029.
2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
generate_wrap_init.pl: Improve reg. of exception classes in sub-namespaces.
* tools/generate_wrap_init.pl.in: When there are exception classes in sub-
namespaces, create extra wrap_init() functions in those namespaces, and
register the exception classes from there. wrap_init() is a friend that makes
a pointer to the private throw_func(), and that's easier if wrap_init() is
declared in the same namespace as the exception class. Bug #640029.
2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
generate_wrap_init.pl: Improve it for deprecated files and sub-namespaces.
* tools/generate_wrap_init.pl.in: Note that _IS_DEPRECATED deprecates a
whole file. Keep track of sub-namespaces for _CLASS_GOBJECT and
_CLASS_GTKOBJECT (not just for _WRAP_GERROR). Ignore macros in comments.
Bug #640029.
2.31.18.1:
2012-02-26 JosƩ Alburquerque <jaalburquerque@gmail.com>
h2def.py: Handle types such as 'const gchar* const *' for functions.
* tools/defs_gen/h2def.py (clean_func): Make deprecated handling more
general so that macros such as GDK_DEPRECATED and GDK_DEPRECATED_FOR()
are also stripped. Also replace '* const' with '*-const' in the
constants processing section so that types such as 'const gchar*
const*' (which are now used in the declaration of functions such as
gtk_about_dialog_get_authors()) are correctly processed.
2012-02-26 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBus::[ActionGroup|MenuModel]: Have get() and not create() methods.
* gio/src/dbusactiongroup.hg:
* gio/src/dbusmenumodel.hg: Have get() methods to get instances of
theses classes and not create() methods as is done in
Gio::Application.
Bug #637445.
2012-02-24 Murray Cumming <murrayc@murrayc.com>
gmmproc: _WRAP_PROPERTY(): Allow properties to be deprecated.
* tools/m4/property.m4: get_docs(): Take optional documentation_docs
too, like DocsParser::lookup_documentation().
* tools/pm/Output.pm: output_wrap_property(): Take a deprecated bool
and deprecated_docs, adding the ifdef if necessary and passing
it to the _PROPERTY_PROXY() m4 macro, with the amended documentation.
* tools/pm/Property.pm: _PROPERTY_PROXY(): Take a deprecated bool
parameter and add the ifndef if necessary.
* tools/pm/WrapParser.pm: on_wrap_property(): Parse an optional
deprecated "the explanation" parameter.
2012-02-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::Application, Gio::DBus::AuthObserver: Typos.
* gio/src/application.hg:
* gio/src/dbusauthobserver.hg:
2012-02-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::Application: Add missing virtual functions and methods.
* gio/src/application.{ccg,hg}: Add the rest of the virtual functions
-- all except the one with a GVariantBuilder parameter because that
type is not wrapped yet. Also add the [set|get]_default() methods
wrapping the respective C functions.
* gio/src/gio_vfuncs.defs: Add the rest of GApplication's virtual
function definitions so they can be wrapped.
* tools/m4/convert_gio.m4: Add GApplication conversions.
2012-02-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add class docs to recently added Application related classes.
* gio/src/actionmap.hg:
* gio/src/dbusactiongroup.hg:
* gio/src/dbusmenumodel.hg:
* gio/src/menuattributeiter.hg:
* gio/src/menulinkiter.hg:
* gio/src/remoteactiongroup.hg:
2012-02-24 JosƩ Alburquerque <jaalburquerque@gmail.com>
MenuModel: Add the attribute and link constants.
* gio/src/dbusmenumodel.hg:
* gio/src/menumodel.ccg: Add the class documentation. Also add the
attribute and link constants from the C API in enums and re-wrap the
existing methods to use the enums (this was adapted from gstreamermm).
2012-02-23 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the DBus::MenuModel class.
* gio/src/dbusmenumodel.{ccg,hg}: Add the sources wrapping a single
create() method.
* gio/src/filelist.am: Add the sources to the list of files to be
built.
2012-02-23 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBus::Connection: Add the MenuModel export/unexport methods.
* gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
the two functions in the GMenuModel exporter API:
http://developer.gnome.org/gio/2.31/gio-GMenuModel-exporter.html
* tools/m4/convert_gio.m4: Add necessary conversions.
2012-02-22 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: MenuModel, MenuAttributeIter: Correct typos.
* gio/src/menuattributeiter.hg (get_next): Remove extra (unneeded)
parameter to the _WRAP_METHOD_DOCS_ONLY macro.
* gio/src/menumodel.ccg: Whitespace.
2012-02-22 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the MenuModel and Menu[Attribute|Link]Iter classes.
* gio/src/menuattributeiter.{ccg,hg}:
* gio/src/menulinkiter.{ccg,hg}:
* gio/src/menumodel.{ccg,hg}:
* gio/src/filelist.am: Add the sources for the classes and include
them in the list of source files to build.
* tools/m4/convert_gio.m4:
* tools/m4/convert_glib.m4: Add the necessary conversions.
2012-02-22 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::Application: Derive from the ActionGroup interface.
* gio/src/application.hg: As is done in the C API.
2.31.18:
2012-02-20 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBus::Connection: Add the ActionGroup export/unexport methods.
* gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
the two functions in the new GActionGroup exporter API:
http://developer.gnome.org/gio/2.31/gio-GActionGroup-exporter.html
2012-02-20 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the DBus::ActionGroup class.
* gio/src/dbusactiongroup.{ccg,hg}: Add the sources, wrapping the
create() method.
* gio/src/filelist.am: Include the sources in the build.
2012-02-20 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the RemoteActionGroup interface.
* gio/src/remoteactiongroup.{ccg,hg}:
* gio/src/filelist.am: Add the sources, wrapping the methods and
virtual functions, and include them in the list of files to be built.
* gio/src/gio_vfuncs.defs: Add the GRemoteActionGroup virtual
functions.
* gio/src/applicationcommandline.hg: Add the class documentation
block.
2012-02-16 JosƩ Alburquerque <jaalburquerque@gmail.com>
h2def.py: Handle deprecated functions.
* tools/defs_gen/h2def.py: The g_application_set_action_group() and
the g_volume_monitor_adopt_orphan_mount() functions are wrapped but
not generated because they have been deprecated in their header files
by using a GLIB_DEPRECATED macro before the function declaration.
Modify this tool to strip the macro so the functions are recognized.
* gio/src/gio_methods.defs: Regenerate so the missing method
definitions are included.
2012-02-15 JosƩ Alburquerque <jaalburquerque@gmail.com>
giomm: Add the ActionMap interface.
* gio/src/actionmap.{ccg,hg}:
* gio/src/filelist.am: Add the new sources.
* gio/src/gio_methods.defs: Regenerate to get the new ActionMap
methods.
* gio/src/gio_vfuncs.defs: Add the ActionMap virtual functions.
* gio/src/application.hg:
* gio/src/simpleactiongroup.hg: These classes implement the new
interface.
* gio/src/gio_extra_objects.defs: Add new objects so that there are no
missing define-object warnings from gmmproc.
2012-02-15 JosƩ Alburquerque <jaalburquerque@gmail.com>
reviewed by: <delete if not using a buddy>
* gio/src/actionmap.ccg:
* gio/src/actionmap.hg:
2012-02-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: docs: Remove possible parens in gtk-doc signal references.
* tools/pm/DocsParser.pm: Discard possible parenthesis following a
gtk-doc signal reference. This avoids a double set of parenthesis
appearing in the documentation.
Bug #668918.
2012-02-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
Gio::DBus::Proxy: Add a TODO.
* gio/src/dbusproxy.hg: Add a TODO.
* gio/src/filemonitor.hg: Typo.
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Allow <listitem>
tags to not be on a line by themselves also (as was done with the
<itemizedlist> tag.
2012-02-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
Remove unnecessary signal docs.
* gio/src/dbusserver.hg:
* gio/src/drive.hg: Remove signal docs from .hg files that is now
automatically included by gmmproc.
2012-02-14 JosƩ Alburquerque <jaalburquerque@gmail.com>
Regenerate XML docs for glibmm and giomm.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerate these, now including the signal
docs so that gmmproc can include their docs in the source generation
process.
2.31.16.1:
2012-02-13 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: docs: Convert signal and property names correctly.
* tools/pm/DocsParser.pm (substitute_identifiers): Search for gtk-doc
property and signal references and convert them to appropriate C++
names so that they are referenced correctly in the documentation.
Bug #668918.
2012-02-08 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: DocsParser.pm (convert_tags_to_doxygen): Correct typo.
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Make the newline
following the <itemizedlist> tags optional when converting them to
Doxygen format (in case the tags are not necessarily on a line by
themselves).
2012-02-08 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Translate the <itemizedlist> tags in docs correctly.
* tools/pm/DocsParser.pm (lookup_documentation): Typo.
(convert_tags_to_doxygen): Add substitutions to convert gtk-doc
<itemizedlist> tags to Doxygen format. For example, see
Gtk::ToolItem's "create-menu-proxy" and "toolbar-reconfigured"
signal docs.
2012-02-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
docextract_to_xml.py: Add some HTML entity conversions.
* tools/defs_gen/docextract_to_xml.py: Add some HTML entity
conversions that produce errors when processed by gmmproc.
2012-02-07 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Method generation: Fix indentation of void methods.
* tools/m4/method.m4: Make sure that the generated line in methods
returning void is indented properly (by two spaces). Before, there
was no indentation (see for example the Entry::set_inner_border()
method).
2012-02-03 JosƩ Alburquerque <jaalburquerque@gmail.com>
gmmproc: Add documentation to wrapped signals.
* tools/m4/signal.m4: Add docs to the on_*() default handlers
referring the users to the signal_*() docs.
* tools/pm/DocsParser.pm (parse_on_start):
(parse_on_end): Allow the <signal></signal> tags from the generated
XML docs to be processed in a similar way as the <function></function>
tags are processed. The docs of the signals are stored as
"Class::a_signal_name" in the hash.
(append_parameter_docs): Skip the first parameter for signals also
because the first parameter of signals is the object for which the
signal is triggered.
(lookup_documentation): Generalize the no docs warning to include
signals also.
* tools/pm/Function.pm (get_refdoc_comment): Modify the subroutine to
accept the docs of the signal (that the DocsParser stores) and include
the prototype of the slot in the docs.
* tools/pm/Output.pm (output_wrap_sig_decl): Modify the subroutine to
look up the documentation of the signal which it then passes to
get_refdoc_comment() so that the documentation of the signal from the
generated XML is included in the declaration of the signal.
Bug #668918 (Mark)
2.31.16:
2012-01-30 TS <t.sailer@alumni.ethz.ch>
Dispatcher: Fix the build on win32.
* glib/glibmm/dispatcher.cc: Mention the new Threads:: namespace in the
ifdefed win32 code.
2011-12-08 Haikel Guemar <karlthered@gmail.com>
thread.h: Move calls to deprecated glib functions into thread.cc.
* glib/src/thread.[hg|ccg]: Move calls to deprecated glib functions
from thread.h into new public helper functions, so they are only
used in our .cc file. This avoids warnings in application compiles
just because they happen to include this header.
2.31.2:
2011-11-24 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Make class Glib::Threads::Private buildable with --enable-warnings=fatal.
* glib/src/threads.hg: G_PRIVATE_INIT(destructor_func) is used only in an
initialization.
2011-11-23 Murray Cumming <murrayc@murrayc.com>
Add Glib::Threads::* in threads.h, deprecating everything in thread.h
* glib/src/filelist.am:
* glib/src/thread.[hg|ccg]: Deprecate the whole file, adding
deprecation doxygen comments to all API.
* glib/src/threads.[hg|ccg]: A new Threads namespace containing
equivalents for everything in thread.h, implemented using
only non-deprecated glib API. This was necessary because we had
to break the ABI to do this.
* glib/glibmm.h: Include threads.h
* glib/glibmm/main.[h|cc]: Added a wait() method overload that
takes the new types, deprecating the existing wait() method.
* examples/network/resolver.cc:
* examples/network/socket-client.cc:
* examples/network/socket-server.cc:
* examples/thread/dispatcher.cc:
* examples/thread/dispatcher2.cc:
* examples/thread/thread.cc:
* examples/thread/threadpool.cc:
* glib/glibmm/dispatcher.cc:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/threadpool.[h|cc]: Use the new Glib::Threads::* types
instead of thread.h.
2011-11-23 Murray Cumming <murrayc@murrayc.com>
Avoid a deprecation warning in implelementation of deprecated API.
* glib/glibmm/main.cc: Define GLIB_DISABLE_DEPRECATION_WARNINGS
to avoid a warning about g_source_get_current_time(),
which we must use in our own deprecated code.
2011-11-23 Murray Cumming <murrayc@murrayc.com>
class.cc: Avoid compiler warnings when using -std=c++0x with g++.
* glib/glibmm/class.cc: Add casts because GTypeQuery::class_size
and instance_size are guint but GTypeInfo::class_size and
instance_size are guint16.
2011-11-18 Murray Cumming <murrayc@murrayc.com>
Require glibmm 2.2.10 so that make check works.
* configure.ac: Bug #663686 (Michael Biebl)
2011-11-16 Hub FiguiĆØre <hub@figuiere.net>
Ensure template parameter has a space before to avoid trigraphs.
(Gtkmm bug #663303)
* tools/m4/property.m4: Ensure template parameter has a space
before to avoid trigraphs.
2011-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add some unwrapped methods and properties.
* gio/src/drive.hg: Add get_sort_key().
* gio/src/emblemedicon.hg: Add clear_emblems().
* gio/src/fileicon.hg: Add the "file" property.
* gio/src/inetaddress.hg: Add address_equal().
* gio/src/mount.hg: Add get_sort_key().
* gio/src/socket.hg: Add the "timeout" property.
* gio/src/socketaddress.hg: Add the "family" property.
* tools/m4/convert_gio.m4: Add a necessary conversion.
2011-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Example Removal: Also remove code in </programlisting> tags.
* tools/pm/DocsParser.pm (lookup_documentation): Also remove code in
<programlisting>...</programlisting> tags.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
Avoid use of deprecated API in tests and examples.
* tests/Makefile.am:
* examples/Makefile.am: Disable deprecated API.
* examples/network/socket-client.cc:
* examples/network/socket-server.cc:
* examples/thread/dispatcher.cc:
* examples/thread/dispatcher2.cc:
* examples/thread/thread.cc: Remove calls to Glib::thread_init(), instead
calling Glib::init() where that side-effect was also intended.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
threadpool example: Use Mutex instead of StaticMutex.
* examples/thread/threadpool.cc: The advantage of StaticMutex was that
it would silently do nothing if threads were not initialized. That
was never a useful distinction in this example anyway.
Also remove the deprecated thread_init() call.
* glib/src/thread.ccg: Mutex: Add a TODO about not using the deprecated
API.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
Fix the deprecation ifdefs.
* glib/src/thread.hg: Move the deprecation ifdefs to avoid affecting
non-deprecated API.
2.31.0.1:
2011-10-26 Murray Cumming <murrayc@murrayc.com>
Avoid an unused-parameter compiler warning.
* glib/src/thread.ccg: thread_init(): Comment out the vtable parameter.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
thread.h: Allow use of this without causing deprecation compiler warnings.
* glib/src/thread.hg: undef and then redefine G_DISABLE_DEPRECATED, and
define GLIB_DISABLE_DEPRECATION_WARNINGS, if G_DISABLE_DEPRECATED is
defined, so we can use the deprecated API in this header (though only in
our own deprecated API).
* tools/generate_wrap_init.pl.in: Include glibmm.h instead of glib.h so
we can include thread.h first (via glibmm.h) instead of only later.
This seems more logical than explicitly including thread.h in all
(even non-glibmm) generated wrap_init.cc files.
* tools/m4/base.m4:
* glib/glibmm.h:
* glib/glibmm/dispatcher.cc:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/main.cc:
* examples/thread/thread.cc:
* examples/thread/threadpool.cc: Adjust the includes to include thread.h
first.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
Move IOCondition from main.h to iochannel.h and autogenerate it.
* glib/src/iochannel.hg: Use _WRAP_ENUM() for IOCondition instead of
hand-coding it in
* glib/glibmm/main.h:
though this requires some manual editing of
* glib/src/glib_enums.defs: due to the weird defines that GioChannel uses for
its values. See the comment.
* glib/glibmm/streamiochannel.cc: Adjust the includes.
This avoids the need to include glib.h from main.h.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
Avoid some deprecation compiler warnings.
* gio/src/file.hg:
* gio/src/volumemonitor.hg:
* glib/src/date.hg: Add GLIB_DISABLE_DEPRECATION_WARNINGS to
SECTION_CC_PRE_INCLUDES to avoid compiler warnings with the new glib
deprecation system.
* glib/src/value_basictypes.cc.m4: undef them here too, because
g_value_set_char() and g_value_get_char() are deprecated.
2011-10-26 Murray Cumming <murrayc@murrayc.com>
Thread: Move deprecated parts together.
* glib/src/thread.hg: This simplifies things a bit.
2011-10-25 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Don't include C code examples found in the XML docs.
* tools/pm/DocsParser.pm (lookup_documentation): Remove the C example
code from the attained documentation of the specified function. Print
a warning that the example code has been removed if that is the
case. Include the function name in the warning so that it is known
where the examples are in case it is convenient to translate them.
(convert_tags_to_doxygen): No longer convert tags and symbols that
signal example code to Doxygen format since they are removed with the
example code.
Bug #650544
2011-10-25 Murray Cumming <murrayc@murrayc.com>
giomm/wrap_init.h: Remove the glibmm.h include from here too.
* gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file.
* gio/giomm.h: Add an #include glibmm.h here instead.
2011-10-25 Murray Cumming <murrayc@murrayc.com>
gmmproc: Include <glibmm.h> in .cc files for convenience.
* tools/m4/base.m4: Add an include <glibmm.h> line to the .cc files.
* glib/src/optioncontext.ccg: Rename a namespace to avoid a clash.
It is more useful to keep the general glibmm.h include out of headers.
2011-10-24 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Don't include <glibmm.h> by default in generated files.
* tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
by default in header files of generated files in modules other than
glibmm. This should make compilation faster for those modules.
* gio/src/*.{h,cc}g:
* gio/giomm/slot_async.cc: Adjust includes according to the above
change.
Bug #662597
2.31.0:
2011-10-25 Murray Cumming <murrayc@murrayc.com>
Regenerated more defs.
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenereated with h2defs.py
* glib/src/glib_deprecated_functions.defs: Added this file.
* glib/src/glib.defs: Mention the new file.
2011-10-25 Murray Cumming <murrayc@murrayc.com>
Do not use gthread-2.0.
* configure.ac: Do not use gthread-2.0 at all, because it only contains
empty functions so it is better to just not call them.
Require the latest glib version, to avoid people using this version of
glibmm with a version of glib that would need g_thread_init().
* glib/src/thread.ccg: thread_init(): Do not call g_thread_init() because
it now does nothing and would require linking to gthread-2.0.
2011-10-25 Murray Cumming <murrayc@murrayc.com>
Fix the make check build by always linking to gthread-2.0.
* configure.ac: Always use gthread-2.0 because there is now no advantage to
not doing that, because threading is now always enabled in glib.
Remove the separate GTHREAD* variables.
* glib/glibmm/Makefile.am:
* gio/giomm/Makefile.am:
* tests/Makefile.am:
* tools/Makefile.am:
* examples/Makefile.am: Remove use of the GTHREAD* variables..
* examples/network/resolver.cc: Remove the non-threading option and code that
uses it.
2011-10-25 Murray Cumming <murrayc@murrayc.com>
Regenerate enums defs.
* glib/src/glib_enums.defs, gobject_enums.defs: Regenerated with enums.pl.
* glib/src/glib_deprecated_enums.defs: Added this file.
* glib/src/filelist.am: Mention the new file.
* glib/src/glib.defs: Mention the new file and actually mention
gobject_enums.defs.
2011-10-23 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Connection: Temporarily remove newly added call() methods.
* gio/src/dbusconnection.{ccg,hg}: Remove the newly added call()
methods with a UnixFDList parameter until the call_finish() method
with a UnixFDList parameter is added also.
* gio/src/credentials.hg:
* gio/src/dbusmessage.ccg:
* gio/src/dbusmessage.hg: Typos.
2011-10-21 Murray Cumming <murrayc@murrayc.com>
Thread: Use g_thread_new() instead of g_thread_create().
* glib/src/thread.[hg|ccg]: create(): Replace use of (deprecated)
g_thread_create() with g_thread_new(), ignoring the joinable parameter.
create(lots of parameters): Deprecate this, because the parameters are
ignored by g_thread_create_full() now.
2011-10-21 Murray Cumming <murrayc@murrayc.com>
Deprecated thread_init(), Thread::joinable(), *_priotity(), etc.
* glib/src/thread.[hg|ccg]: Deprecate thread_init(), thread_supported,
Thread::joinable(), Thread::set_priority(), Thread::get_priority() and
ThreadPriority.
2011-10-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Remove M4 warnings due to commas in return types.
* tools/m4/convert_base.m4 (__HASH2): Appropriately quote the
pushdef() arguments and the m4_ifelse() arguments due to some warnings
generated because of the newly wrapped method in the
ApplicationCommandLine class (get_platform_data()) which has a comma
in the return type. The wrapping was successful even with the warning
but the return type was still being split when passed to this macro.
Document what the macro does.
(_CONVERT): Typos.
(_CONVERSION):
(_INITIALIZATION): Document what parameters are allowed for these
macros.
2011-10-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Connection: Correct UnixFDList class forward declaration.
* gio/src/dbusconnection.hg: Place the class declaration in the Gio
namespace and not in the Gio::DBus namespace which is incorrect to fix
the build. There was a '-Werror' option in the CXXFLAGS variable of
my ~/.jhbuildrc file which was causing deprecation warnings to break
the build so I did not verify the previous to last commit, sorry.
2011-10-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Date: set_time(): Use g_date_set_time_t() instead of g_date_set_time().
* glib/src/date.ccg: The latter function is deprecated. This fixes
the build with the master branch of glib with deprecations disabled
though there's one small error related to the Threads discussion on
the mailing list that will still have to be looked at.
2011-10-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusMethodInvocation: Add UnixFDList return_value() method overload.
* gio/src/dbusmethodinvocation.hg: Add the method overload.
* gio/src/dbusmessage.hg: Add an _IGNORE.
2011-10-13 Murray Cumming <murrayc@murrayc.com>
Do not include glib/gvarianttype.h.
* glib/src/thread.hg: Include glib.h instead. The recent glib version
has a pragma that complains about this.
2011-10-12 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Connection: Add UnixFDList call() method overloads.
* gio/src/dbusconnection.{ccg,hg}: Add cancellable and
non-cancellable UnixFDList call() methods. The TODO's are for when
gmmproc can possibly handle setting C++ parameters from C output
parameters properly which may be possible with a few changes.
2011-10-12 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
VariantContainerBase: Add create_maybe().
* glib/src/variant.{ccg,hg}: Add a create_maybe() method because it
was discussed on the mailing list. Clearly the variant classes are
not intended for general use. However, this method is added just
so that the API is more complete.
2011-10-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DataInputStream: Add read_line_utf8() and read_line_finish_utf8().
* gio/src/datainputstream.hg: Add the two methods and their overloads
using the new gmmproc parameter reordering, optional parameter
signaling and output parameter signaling functionality. It's not
difficult to write the _INITIALIZATION and _WRAP_METHOD macros but
they may not be readily understandable. I think they are, but I could
be wrong.
2011-10-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_METHOD: Use {OUT} instead of {RET} for output params.
* tools/pm/Output.pm: Use {OUT} instead of {RET} to signify that a
parameter is an output parameter because it is probably more
intuitive.
* tools/m4/convert_base.m4 (_INITIALIZE): Don't quote the C return
because otherwise the macros in it aren't expanded when the macro is
used. This could be because of the recent M4 changes in the previous
to the last commit.
2011-10-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
ApplicationCommandLine: Add the get_platform_data() method.
* gio/src/applicationcommandline.hg:
2011-10-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_METHOD: Allow return types to have commas.
* tools/pm/WrapParser.pm (string_split_commas): Modify so that when
splitting by commas, '<' and '>' are taken into account by levels as
is done with '(' and ')'. This so that if a return type in a
_WRAP_METHOD has a comma (which is possible, e.g. with std::map<>) the
return type is not split incorrectly.
(read_file): Modified so that '<' and '>' are tokens by which to
split.
* tools/pm/Output.pm (output_wrap_meth): Add `' around the return type
when calling the _METHOD() and _STATIC_METHOD() M4 macros so that
commas don't split the return type into more than one argument.
* tools/m4/method.m4: Do the same (for the return type) in _METHOD()
and _STATIC_METHOD() when calling the _CONVERT() macro for the same
reason as above.
Bug #661401
2011-10-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
SimpleAction: Wrap the signals and properties.
* gio/src/simpleaction.hg: Wrap the signals using the
no_default_handler option because there are no signal members exposed
in the GSimpleActionClass struct (in fact, there is no
GSimpleActionClass struct). Also wrap the properties.
2011-10-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Application, {,Simple}Action{,Group}: Update @newins{}'s.
* gio/src/action.hg:
* gio/src/application.hg:
* gio/src/simpleaction.hg:
* gio/src/simpleactiongroup.hg:
* gio/src/applicationcommandline.hg: Add bug URL to a TODO.
2011-10-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
ApplicationCommandLine: Update a TODO.
* gio/src/applicationcommandline.hg:
2011-10-09 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Re-add Application and related class so they can be finished.
* gio/giomm.h:
* gio/src/action.ccg:
* gio/src/action.hg:
* gio/src/actiongroup.ccg:
* gio/src/actiongroup.hg:
* gio/src/application.ccg:
* gio/src/application.hg:
* gio/src/applicationcommandline.ccg:
* gio/src/applicationcommandline.hg:
* gio/src/filelist.am:
* gio/src/simpleaction.ccg:
* gio/src/simpleaction.hg:
* gio/src/simpleactiongroup.ccg:
* gio/src/simpleactiongroup.hg:
2011-09-27 Krzesimir Nowak <qdlacz@gmail.com>
Fix h2def.py not parsing function starting with G_GNUC_* macros.
* tools/defs_gen/h2def.py: Strip some G_GNUC_* macros that are known
to be placed before return type of function prototype.
Fixes bug #660225.
2.30.0
2011-09-27 Murray Cumming <murrayc@murrayc.com>
Gio::DBus::Server: Add constructors.
* gio/src/dbusserver.[hg|ccg]: Uncomment the constructors now that bug #639478
has been fixed, though nobody has tried to use this yet.
2011-09-27 Murray Cumming <murrayc@murrayc.com>
Regenerated .defs files.
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs:
* glib/src/gmodule_functions.defs:
* gio/src/gio_functions.defs: Regenerated with h2defs.py, though see
bug #660225 .
* glib/src/datetime.hg: Added an m4 conversion that is now necessary.
2011-09-26 Murray Cumming <murrayc@murrayc.com>
Remove Application and friends, because they are still not ready.
* gio/src/action.[hg|ccg]:
* gio/src/actiongroup..[hg|ccg]:
* gio/src/application.[hg|ccg]:
* gio/src/applicationcommandline..[hg|ccg]:
* gio/src/simpleaction..[hg|ccg]:
* gio/src/simpleactiongroup.[hg|ccg]: Removed.
* gio/src/filelist.am:
* goi/giomm.h: Do not mention them.
See bug #637445#c29
2011-09-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Action, ActionGroup: Wrap virtual functions.
* gio/src/gio_vfuncs.defs: Add virtual function definitions for the
Action and ActionGroup classes.
* gio/src/action.hg:
* gio/src/actiongroup.hg: Wrap the virtual functions.
* tools/m4/convert_gio.m4: Correct a VariantType return conversion.
2011-09-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add SimpleActionGroup.
* gio/src/simpleactiongroup.{ccg,hg}:
* gio/src/filelist.am: Add sources and include them in the build file
list.
* tools/m4/convert_gio.m4: Add necessary conversions.
* gio/src/simpleaction.hg: Added class doc title.
2011-09-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
SimpleAction: Add create() methods.
* gio/src/simpleaction.hg: Add two forgotten create methods for the
class. Also filed bug #659783 about not being able to wrap the
signals.
2011-09-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add SimpleAction, an implementation of the Action interface.
* gio/src/simpleaction.{ccg,hg}:
* gio/src/filelist.am: Add the sources and include them in the list of
files that should be processed.
* tools/extra_defs_gen/generate_defs_gio.cc: Add G_SIMPLE_ACTION_TYPE
to the list of types for which properties and signals should be
generated.
* gio/src/gio_signals.defs: Regenerate with above to get the
properties and signals of new class.
2011-09-20 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
ActionGroup: Wrap remaining methods.
* gio/src/actiongroup.hg: Add the get_action_parameter_type(),
get_action_state_type(), get_action_state_hint(), and
get_action_state() methods which were TODO's.
2011-09-20 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add Action class wrapping GAction.
* gio/src/action.{ccg,hg}:
* gio/src/filelist.am: Add the new sources wrapping the methods and
signals of GAction and include them in the list of files to be built.
* tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_ACTION to
the list of types for which signals and properties should be
generated.
* gio/src/gio_signals.defs:
* gio/src/gio_methods.defs: Regenerate to get the new methods and
properties being wrapped.
* gio/src/gio_extra_objects.defs: Add Action to the list of extra
objects so gmmproc's documentation generation does not produce
warnings because of it. Also added DBusNodeInfo and Proxy.
* tools/m4/convert_gio.m4: Alphabetized the conversion by groups
pertaining to types. Removed the Variant return conversions which
take copies.
* glib/src/variant.hg: Moved the conversions here because they are
specific to the methods in this class, specifically get_child() and
get().
2011-09-17 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: DocParser: Correct the removal of link tags.
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Make the matching
of the characters of a link tag not greedy so that the first
occurrence of the final '>' is accepted in a match instead of a
possible later one pertaining to a different tag altogether. Also
translate '|[' and ']|' to '@code' and '@endcode' respectively.
Bug #650544
2.29.13:
2011-09-06 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant< std::vector<std::string> >: Ensure correct creation.
* glib/src/variant.ccg (Variant< std::vector<std::string> >::create):
Use g_variant_new_bytestring_array() to create the variant instead of
a builder to avoid an unknown bug.
Bug #657030 (Aurimas Äernius)
2011-09-06 Murray Cumming <murrayc@murrayc.com>
giomm: Variant< vector<std::string> > (array of bytestrings): Fixes.
* glib/src/variant.ccg: create(): Use VariantType::to_string.c_str() instead
of reinterpret_cast. I have no idea why we ever used reinterpret_cast.
* tests/glibmm_variant/main.cc: Add a simple test for this VariantType
specialization, though it still fails.
Bug #657030 (Aurimas Äernius)
2011-09-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Correct handling of constversion etc. in _WRAP_METHOD.
* tools/pm/WrapParser.pm: The parameters refreturn, errthrow, and
constversion in _WRAP_METHOD was applied also to following instances
wrapping the same C function. Bug #657751, comment 5.
2.29.12:
2011-08-25 Chun-wei Fan <fanc999@src.gnome.org>
Update Visual Studio projects
* Made line endings on the VS 2010 solution file to have Windows-
style EOL so that it works properly
2011-08-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
TimeZoneMonitor: Remove as was done in glib.
* gio/src/filelist.am:
* gio/src/timezonemonitor.{ccg,hg}: Remove sources and the mention
from the build.
* glib/src/timezone.hg (refresh_local): Remove this method as the
function that it wraps was also removed from glib.
* tools/extra_defs_gen/generate_defs_gio.cc
(G_TYPE_TIME_ZONE_MONITOR): Remove this GType from the list of types
for which properties and signals are generated.
See the glib commit:
http://git.gnome.org/browse/glib/commit/?id=5b68b49b2072c371c72ee96175e3d6a727eb5e8b
2011-08-22 Murray Cumming <murrayc@murrayc.com>
configure: Require the latest libsigc++.
* configure.ac: Because our tests require it.
2011-08-03 Murray Cumming <murrayc@murrayc.com>
giomm: Application: local_command_line_vfunc(): Use references for parameters.
* gio/src/application.hg: Use references instead of pointers, now that
we know how these paramters are actually used. See bug #643478.
2011-08-03 Murray Cumming <murrayc@murrayc.com>
Add back Gio::Application and friends so we can try to finish them.
* gio/src/actiongroup.[hg|ccg]:
* gio/src/application.[hg|ccg]:
* gio/src/applicationcommandline.[hg|ccg]:
See http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00062.html
2.29.11:
2011-07-19 Murray Cumming <murrayc@murrayc.com>
Add reftpr_sigc_bind test case.
* tests/glibmm_refptr_sigc_bind/main.cc:
* tests/Makefile.am: Add a new test case from Kjell Ahlstedt, to test a fix
in libsigc++. See bug #564005#c14.
2011-07-19 Murray Cumming <murrayc@murrayc.com>
Add h2defs.py and docextract_to_xml.py, removed from pygboject.
* tools/defs_gen/definitions.py:
* tools/defs_gen/defsparser.py:
* tools/defs_gen/docextract.py:
* tools/defs_gen/docextract_to_xml.py:
* tools/defs_gen/h2def.py:
* tools/defs_gen/scmexpr.py: Add h2def.py and docextract_to_xml.py,
and any .py files that they use, because they were removed from pygobject.
* tools/Makefile.am: Add these to EXTRA_DIST.
2011-07-18 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _STRUCT_NOT_HIDDEN: Make macro local to class only.
* tools/m4/class_shared.m4 (STRUCT_NOT_HIDDEN): Undefine the boolean
variable that signals that the typedefs generated by gmmproc should
not be generated once the _STRUCT_NOT_HIDDEN macro is used so that it
doesn't affect all the classes defined in a file.
2011-07-12 Murray Cumming <murrayc@murrayc.com>
AppInfo: Add launch() taking one file, and launch_uri() taking one URI.
* gio/src/appinfo.[hg|ccg]: Add launch() overloads that take a single
Gio::File, for convenience.
Also add launch_uri() to take a single URI.
2011-07-12 Murray Cumming <murrayc@murrayc.com>
AppInfo::launch(): Correct the parameter type.
* gio/src/appinfo.hg: g_app_info_launch() takes a GList of GFile, not of
strings. Also use a vector instead of a ListHandle, as per our new convention.
It is acceptable to change this API/ABI because this method could never
possibly have been used by any application without crashes, so this can't
make anything worse.
Also add an overload without the launch_context parameter, using the new {?}
syntax.
Luckily we did not implement the vfuncs, or maybe we disabled them because of
the crashes.
2011-07-12 Murray Cumming <murrayc@murrayc.com>
AppInfo::launch_uris(): Corrected (with deprecation) and add overload.
* gio/src/appinfo.[hg|ccg]: Deprecate the existing method and add one that
takes a C++ AppLaunchContext instead of a GAppLaunchContext*.
Also add an overload with no AppLaunchContext, using the new {?} syntax.
2.29.10:
2011-06-29 Murray Cumming <murrayc@murrayc.com>
Add -Wformat-security to the --enable-warnings=fatal build.
* configure.ac: This seems to be popular now.
2011-06-19 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add TimeZoneMonitor.
* tools/extra_defs_gen/generate_defs_gio.cc: Add the
G_TYPE_TIME_ZONE_MONITOR type to the list of types for which signals
and properties should be generated.
* gio/src/gio_signals.defs:
* gio/src/gio_signals.defs.patch: Regenerate the signal and properties
defs file and add a patch file so it does not have to be edited
manually.
* gio/src/gio_methods.defs:
* gio/src/gio_methods.defs.patch: Regenerate the methods defs file and
add a patch file as above.
* gio/src/filelist.am:
* gio/src/timezonemonitor.{ccg,hg}: Add the sources and mention them
in the build so they are processed.
* tools/m4/convert_gio.m4: Add a necessary conversion.
2011-06-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DateTime, TimeZone: Use classes without Glib::RefPt<>.
* glib/src/datetime.hg:
* glib/src/timezone.hg: Since these classes are immutable (like
Glib::VariantBase), remove the need to use these classes with
Glib::RefPtr<> by using the _CLASS_OPAQUE_COPYABLE macro instead of
the _CLASS_OPAQUE_REFCOUNTED macro. This should make using the
classes a little less tedious.
* tools/m4/convert_glib.m4: Modify the corresponding conversions
according to the above.
2011-06-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DateTime: Add methods and create() methods not creating now instances.
* glib/src/glib_functions.defs: h2def.py missed the g_date_time_add*()
functions because they were preceded by an unknown macro, namely
G_GNUC_WARN_UNUSED_RESULT, so temporarily removed the macros and
regenerated this file to get the definitions for those functions.
h2def.py will probably have to be modified to skip over those macros
properly in the future. Also corrected the
g_date_time_[compare|hash|equal] definitions so that the functions
could be wrapped as method members of DateTime.
* glib/src/glib_functions.defs.patch: Added this patch file so future
editing of the above file should not be necessary.
* glib/src/datetime.hg: Added the missing create() and the rest of the
methods.
* tools/m4/convert_glib.m4: Added necessary conversions.
2011-06-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
TimeZone: Const corrections.
* glib/src/timezone.hg: Correct the constness of the TimeZone for some
methods.
2011-06-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
TimeZone: Const corrections.
* glib/src/timezone.hg: Correct the constness of the TimeZone for some
methods.
2011-06-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Increase the Glib requirement to 2.29.8.
* configure.ac: The requirement was increased in the previous to the
last commit but make sure it is shown clearly in the ChangeLog and in
git.
2011-06-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
glibmm: Add TimeZone and partial DateTime classes.
* glib/src/datetime.{ccg,hg}:
* glib/src/timezone.{ccg,hg}:
* glib/src/filelist.am: Add the new sources and mention them in the
build structure so they are processed.
* glib/src/glib_extra_objects.defs: Include object definitions of the
new classes so there are no gmmproc warnings when parsing the docs.
* tools/m4/convert_glib.m4: Add necessary conversions.
2011-06-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
glibmm: Regenerate the defs and xml doc files.
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_enums.defs:
* glib/src/gobject_functions.defs: Regenerate with Glib 2.29.8 to get
the new functions enums and docs.
* configure.ac: Increase the Glib requirement to 2.29.8.
2.28.1:
2011-06-13 Kalev Lember <kalev@smartlink.ee>
Removed doctooldir variable from pkgconfig files
* glib/glibmm{,-uninstalled}.pc.in: Removed doctooldir variable now
that the scripts are in mm-common.
https://bugzilla.redhat.com/show_bug.cgi?id=712474
Bug #652461
2011-06-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
m4 Macros: _INITIALZE: Modify so that $1 substitutes C++ type w/o &.
* tools/m4/convert_base.m4 (_INITIALIZE): Changed the macro so that $1
substitutes the C++ type without the final ampersand (&) for
convenience.
2011-06-12 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Use '.' instead of '-' in parameter reordering.
* tools/pm/Function.pm (parse_param): Use a '.' instead of a '-' to
signify that the C++ parameter name should be used as the C parameter
name to map the current C++ parameter to.
2011-06-09 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Connection::emit_signal(): Say why convert empty strings.
* gio/src/dbusconnection.ccg (emit_signal): Explain why empty strings
are converted to NULL when passed to the C API.
2011-06-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Connection::emit_signal(): Replace empty strings with NULL.
* gio/src/dbusconnection.ccg (emit_signal): Pass NULL to the C
function call where strings are empty allowing emitting signals to all
listeners.
Bug #645072 (Yannick Guesnet).
2011-06-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
M4 Macros: Rename the _INITIALIZER macro to _INITIALIZATION.
* tools/m4/convert_base.m4 (_INITIALIZER): Rename the macro to
_INITIALIZATION to be more consistent with the _CONVERSION macro.
2011-06-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_METHOD: Add the possibility of an output parameter.
* tools/pm/Output.pm (output_wrap_meth): Modified to test if there is
a parameter mapping in the current C++ function from the hypothetical
C name 'RET' to a C++ parameter index. If so, that parameter is
treated as an output parameter. This allows wrap statements such as:
_WRAP_METHOD(static void get_finish(Glib::RefPtr<Connection>&
conn{RET}, const Glib::RefPtr<AsyncResult>& res), g_bus_get_finish,
errthrow
)
Where the 'conn' parameter is an output parameter. The output
parameter name and type are passed to the _STATIC_METHOD and _METHOD
macros (along with the wrap line number).
(convert_args_cpp_to_c): Modified to process the C++ parameters
dealing with the possibility of an output parameter.
* tools/pm/Function.pm: Typo.
* tools/m4/method.m4 (_METHOD):
(_STATIC_METHOD): Both modified to accept an optional output parameter
name, type and wrap line number and if they exist to ensure that the
output parameter is correctly set to the return of the C function. To
do that it uses the new _INITIALIZE macro.
* tools/m4/convert_base.m4 (_INITIALIZER):
(_INITIALIZE): Add macros (similar to the _CONVERSION/_CONVERT
macros) used to record how to initialize a C++ type from a C type and
later to initialize an output parameter of the C++ type. The
_INITIALIZER macro has much the same syntax as the _CONVERSION macro.
For example:
_INITIALIZER(`Glib::RefPtr<Connection>&',`GDBusConnection*',
`$3 = Glib::wrap($4)')
Describes how to initialize a C++ reference to a Glib::RefPtr that
contains a Gio::DBus::Connection from its corresponding C type. $3
represents the output parameter name and $4 represents the C return.
The _INITIALIZE macro can then be appropriately used by the _METHOD
and _STATIC_METHOD macros to initialize the output parameters passed
to them by gmmproc.
2011-06-06 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_[CREATE|CTOR|METHOD]: Support parameter reordering.
* tools/pm/Function.pm (param_mappings): Add a new hash member mapping
C parameter names to C++ parameter indices. The map is specified by
appending a {name[?]} to the desired C++ parameter name in the C++
method declaration. A '-' in place of a C parameter name means to use
the C++ parameter name.
(parse_param): Modified to detect parameter mappings and set the
appropriate mapping in the above new member. No mappings occur if
none are specified.
* tools/pm/Output.pm (convert_args_cpp_to_c):
(get_ctor_properties): Modified to use the new C param names to C++
param indices mappings member above to allow reordering of parameters
in the C++ method declaration.
2011-06-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Do not use NULL for optional parameters or properties.
* tools/pm/Output.pm (convert_args_cpp_to_c):
(get_ctor_properties): Substitute 0 instead of NULL for optional
parameters or properties.
2011-06-04 Murray Cumming <murrayc@murrayc.com>
Fix the build with --enable-warnings=fatal.
* tests/glibmm_nodetree/main.cc: Comment out a set-but-not-used
variable.
2011-06-01 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Use NULL for optional properties.
* tools/pm/Output.pm(get_ctor_properties): Use NULL instead of
static_cast<char*>(0) for properties that are optional as is done in
convert_args_cpp_to_c().
2011-06-01 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_[CREATE|CTOR]: Add optional parameter functionality.
* tools/pm/Function.pm (new_ctor): Modified to initialize the new
param_optional and possible_args_list members.
* tools/pm/FunctionBase.pm (args_names_only): Typo.
(get_declaration): Make sure that spacing is correct if the
declaration is a constructor's declaration.
* tools/pm/Output.pm (output_wrap_meth): Store the number of possible
declarations instead of computing it each time in the for loop.
(output_wrap_ctor):
(output_wrap_create): Modified as output_wrap_meth() to loop through
the list of the possible combination of arguments to output
convenience overloads for the constructors and create() methods.
(get_ctor_properties): Modified as convert_args_cpp_to_c() to accept
an optional index specifying which argument list out of the possible
ones to use and to insert a static_cast<char*>(0) for optional
parameters not in the specified argument list.
* tools/m4/class_gobject.m4: Added a blank line after the create()
methods definitions.
2011-05-31 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _WRAP_METHOD: Add optional parameter functionality.
* tools/pm/Function.pm (param_optional): Add new member bool array to
represent which parameters are optional.
(possible_args_list): Add new member string array containing a list of
the possible argument combination based on existing optional
parameters.
(possible_args_list): Added recursive function to generate the list of
possible parameter combinations. The first in the list (the zeroth
element) always includes all the paramters.
(new): Modified to initialize the new members above.
(parse_param): Modified to see if parameters are optional by checking
if the name ends with '{?}'.
* tools/pm/FunctionBase.pm (args_names_only):
(args_types_and_names):
(args_types_and_names_with_default_values): Modified to accept an
optional index representing the desired argument list to use out of
the possible combinations.
(get_declaration): New subroutine returning any of the possible
declarations based on optional arguments.
(get_num_possible_args_list): New subroutine returning the number of
possible combination of arguments.
* tools/pm/Output.pm (output_wrap_meth): Modified to loop through the
possible arguments list and generate a _METHOD or _STATIC_METHOD for
all the possible combination of arguments.
(convert_args_cpp_to_c): Modified as above to accept an optional index
parameter representing the argument list for which to generate
_CONVERT macros. For optional arguments a NULL is placed in the C
function call.
2011-05-27 Kjell Ahlstedt <kjellahl@src.gnome.org>
gmmproc: Protect documentation with m4 quotes.
* tools/pm/DocsParser.pm:
* tools/pm/Output.pm: Method documentation read from xxx_docs.xml, and
property documentation read from xxx_signals.defs are better protected with
m4 quotes and __BT__ and __FT__ macros in the input to the m4 macro
processor. Bug #603930
2.28.1:
2011-05-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Extra Defs Tool: Only generate properties that the GType owns.
* tools/extra_defs_gen/generate_extra_defs.cc: Modify the extra defs
generation tool to generate properties that the given GType owns.
g_object_interface_list_properties() includes all properties, even the
properties of possible base classes, but those properties should be
generated for the base classes and not for a derived GType.
2011-05-03 Kalev Lember <kalev@smartlink.ee>
gmmproc: Put guards around generated includes in wrap_init.cc
* tools/generate_wrap_init.pl.in: Store include filenames in a hashmap
(key: filename, value: cppname) so it is possible to print
_DISABLE_DEPRECATED and G_OS_WIN32 guards around them. Bug #649182
2011-05-03 Fan, Chun-wei <fanc999@ahoo.com.tw>
Update the VS 2008 project files.
* MSVC_Net2008/giomm/giomm.vcproj:
* MSVC_Net2008/glibmm/glibmm.vcproj: Mention new source files.
2011-05-03 Fan, Chun-wei <fanc999@ahoo.com.tw>
Update the VS 2010 project files.
* MSVC_Net2010/giomm/giomm.vcxproj:
* MSVC_Net2010/giomm/giomm.vcxproj.filters:
* MSVC_Net2010/glibmm/glibmm.vcxproj:
* MSVC_Net2010/glibmm/glibmm.vcxproj.filters: Mention new source files.
2011-05-03 Fan, Chun-wei <fanc999@ahoo.com.tw>
Update the VS 2005 project files.
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/glibmm/glibmm.vcproj: Mention new source files.
2011-05-02 Kalev Lember <kalev@smartlink.ee>
gmmproc: Factored some copy-pasted code out to a common function
* tools/generate_wrap_init.pl.in: Added print_with_guards() subroutine
and replaced all _DISABLE_DEPRECATED and G_OS_WIN32 guard printing with
calls to print_with_guards().
2011-05-03 Volker Grabsch <bugzilla.gnome.org@v.notjusthosting.com>
Examples build: Use the GLIB_COMPILE_SCHEMAS variable.
* examples/Makefile.am: Instead of hard-coding glib-compile-schemas.
This was an issue in cross-toolchain environments.
Bug #648485.
2011-05-02 Kalev Lember <kalev@smartlink.ee>
Gio::DBus::Message: Fixed includes for WIN32
* gio/src/dbusmessage.hg: Added G_OS_UNIX guards around unixfdlist.h
include. Bug #649168
2011-04-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: GtkDefs::split_tokens() uses split() instead of substr().
* tools/pm/GtkDefs.pm: GtkDefs::split_tokens() splits the string with
split() instead of substr(). substr() can be very inefficient when splitting
a utf8 string. Bug #644037
2011-04-06 Murray Cumming <murrayc@murrayc.com>
Minor documentation improvements.
* gio/src/proxy.hg:
* gio/src/proxyaddress.hg:
* gio/src/proxyresolver.hg:
* gio/src/socketcontrolmessage.hg:
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg: Added these to NetworkIO doxygen group.
* glib/glibmm.h: Mention Gio::Settings.
2011-04-06 Murray Cumming <murrayc@murrayc.com>
DBus docs: Add a descripton for the doxygen group.
* gio/src/dbusconnection.hg: Expand the defgroup doxygen comment block.
2.28.0:
2011-04-05 Murray Cumming <murrayc@murrayc.com>
DBusServer: Add overview documentation.
* gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer
in bug #646425.
2011-04-04 Murray Cumming <murrayc@murrayc.com>
ThemedIcon: Remove a property as suggested by a TODO.
* gio/src/themedicon.hg: The name property is write-only and construct-only
so we should not have any API for it.
Noticed by Kjell Ahlstedt.
2011-04-04 Murray Cumming <murrayc@murrayc.com>
Gio::Settings: Really add list_schemas().
* gio/src/gio_others.defs: Add g_settings_list_schemas(), though we do not
actually use this defnition yet. See below. This must be hand-written
because h2defs.py gets confused by the return type.
* gio/src/settings.[hg|ccg]: list_schemas(): Make this static and hand-code
it because gmmproc is confused by the declaration when it is static.
Noticed by Kjell Ahlstedt.
2011-04-02 Murray Cumming <murrayc@murrayc.com>
Gio::DBus examples: Renamed one and removed one.
* examples/dbus/server.cc: Rename this to server_without_bus.cc to make its
purpose clearer. This is not the common case. It is for private peer-to-peer
connections not involving the usual session or system buses, or any bus
for that matter. Meaning, for instance, that it does not assign names or
provide introspection, I think.
* examples/dbus/peer.cc: Removed this because it seems like just a
complicated version of the server_without_bus example, and this is not in sync
with the C versoin. Well, we should probably add a client for the server
example.
* examples/Makefile.am: Adapted.
2011-04-02 Murray Cumming <murrayc@murrayc.com>
Slight cleanup to D-Bus example code.
* examples/dbus/server.cc:
* examples/dbus/session_bus_service.cc: Remove code to handle the now
non-existant GetStdOut D-Bus method. That code was left over from an earlier
version of an example.
2011-04-02 Murray Cumming <murrayc@murrayc.com>
Gio::DBus::NodeInfo::lookup_interface(): Add a method overload with no name.
* gio/src/dbusintrospection.[hg|ccg]: Add a lookup_interface() method overload
that just returns the first interface, avoiding the need to specify the name
when there is only one interface. The C API will not do this itself:
See bug #646417.
* examples/dbus/peer.cc:
* examples/dbus/server.cc:
* examples/dbus/session_bus_service.cc: Use the new method to simplify the
code slightly.
2011-04-02 Murray Cumming <murrayc@murrayc.com>
Gio::DBus::Connection: Added a register_method() overload with no vtable.
* gio/src/dbusconnection.[hg|ccg]: This makes sense now that the C API's
documentation was improved in bug #646419.
2011-04-01 Murray Cumming <murrayc@murrayc.com>
Added a simple example of a D-Bus session bus service.
* examples/dbus/session_bus_service.cc: This uses Gio::DBus::own_name().
* examples/Makefile.am: Mention the new test.
* examples/dbus/server.cc: Mention the return (out) value for the GetTime
method here too, and catch an exception.
2011-04-01 Murray Cumming <murrayc@murrayc.com>
Gio::DBus: Minor API changes.
* gio/src/dbusconnection.[hg|ccg]: register_object(), register_subtree():
Take the VTable by reference, not pointer. register_object() can take a NULL
but that needs documentation (see the bug mentioned) and a future method
overload.
* gio/src/dbusmethodinvocation.ccg: get_parameters(): Return a
VariantContainerBase instead of taking a VariantBase output parameter,
because this is always a tuple. Well, I think so: See the bug mentioned.
* gio/src/dbusmethodinvocation.hg: return_value(): Take a VariantContainerBase
instead of a VariantBase, because this is always a tuple.
return_gerror(), return_error_literal(): Rename them both to return_error().
* glib/src/variant.hg: VariantContainerBase::create_tuple(): Add a method
overload that takes a single VariantBase, for convenience, so that applications
don't need to create a single-item vector.
* examples/dbus/busserver.cc: Adapted.
* examples/dbus/busserver.cc: Rename to server.cc and actually implement it,
though I am currently confused about whether this server's object should be
available on an existing bus. Maybe we should use Gio::DBus::own_name()
instead of Gio::DBus::Server.
2011-04-01 Murray Cumming <murrayc@murrayc.com>
Rename a D-Bus client example.
* examples/dbus/userbus.cc: Rename to client_bus_listnames.cc to make it
more obvious what it does.
2011-03-31 Murray Cumming <murrayc@murrayc.com>
DBusProxy: Rename type_map_changed_properties to MapChangeProperties.
* gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container
typedefs.
2011-03-30 Murray Cumming <murrayc@murrayc.com>
Use the latest mm-common.
* configure.ac: Require the latest version.
* doc/Makefile.am: Don't specify the mm-common .pl files to distribute
because mm-common now does this automatically.
2.27.99.2:
2011-03-29 Murray Cumming <murrayc@murrayc.com>
Variant: Rename get(index) to get_child(index).
* glib/src/variant.[hg|ccg]: Rename all get() methods that return children
to get_child() to make the API clearer and to avoid ambiguity with get()
methods that return the underlying type instead.
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc:
* tests/glibmm_variant/main.cc: Adapted.
https://bugzilla.gnome.org/show_bug.cgi?id=644207#c7
(Yannick Guesnet)
2011-03-29 Murray Cumming <murrayc@murrayc-desktop>
FileUtils: Correct my previous commit.
* glib/src/fileutils.ccg:
* glib/src/iochannel.ccg: Do not create a ustring instead of a std::string.
2011-03-29 Murray Cumming <murrayc@murrayc.com>
Use the utility functions for creating strings.
* gio/src/dbuserrorutils.ccg:
* gio/src/dbusownname.ccg:
* gio/src/dbusutils.ccg:
* gio/src/dbuswatchname.ccg:
* glib/src/fileutils.ccg:
* glib/src/iochannel.ccg:
* glib/src/markup.ccg:
* glib/src/variant.ccg: Use convert_const_gchar_ptr_to_ustring() and
convert_const_gchar_ptr_to_stdstring(), simplifying code and sometimes
avoiding crashes with NULL const char*.
2011-03-29 Murray Cumming <murrayc@murrayc.com>
Variant<std::string>::get(): Correct my custom implementation.
* glib/src/variant.ccg: Really call g_variant_get_bytestring().
2011-03-29 Murray Cumming <murrayc@murrayc.com>
Variant: Move constructor definitions into the .cc file.
* glib/src/variant.[hg|ccg]: The implementations of constructors for
template specializations do not need to be inline. This lets us fix them
later without requiring recompilation of applications.
2011-03-29 Murray Cumming <murrayc@murrayc.com>
Variant: Really declare the cast_dyamic() specialization for ustring.
* glib/src/variant.[hg|ccg]: Mention the specialization in the .h file instead
of just in the .cc file.
Also write a custom Variant<std::string>::get() implementation because this
can be used for types other than just bytestring.
* tests/glibmm_variant/main.cc: Add tests for the new casts.
2011-03-28 Krzesimir Nowak <qdlacz@gmail.com>
ArrayHandle: Make it compilable with MSVC 2005, 2008, 2010.
* glib/glibmm/arrayhandle.h: Put operator std::container methods
definitions inside class template definition. Also added decrementation
operators for ArrayHandleIterator for MSVC 2005.
Bug #645851 (Fan, Chun-wei)
2011-03-28 Murray Cumming <murrayc@murrayc.com>
Variant: Use the VARIANT_TYPE_* constants.
* glib/src/variant.ccg: Use the constants instead of creating static members.
2011-03-28 Murray Cumming <murrayc@murrayc.com>
VariantType: Capitalize the standard types.
* glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead
of VariantTypeString. This seems more appropriate for a constant and is the
style used by gtkmm's STOCK_* items, which this is based on.
* glib/src/variant.ccg: Adapt.
2011-03-28 Murray Cumming <murrayc@murrayc.com>
Variant: Add cast_dynamic<> specializations for strings.
* glib/src/variant.[hg|ccg]: Add cast_dynamic() specializations for
Vector<std::string> and Vector<Glib::ustring>, because this type seems
appropriate for multiple types. For instance, see
http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-get-string
Thanks to Povietkin Konstantin.
2.27.99.1:
2011-03-27 Murray Cumming <murrayc@murrayc.com>
Gio::DBus*: More use of VariantContainerBase.
* gio/src/dbusconnection.hg:
* gio/src/dbusinterfacevtable.hg: Correct the documentation.
* gio/src/dbusproxy.[hg|cgg]: call(): Take a VariantContainerBase instead of
a VariantBase.
signal: Provide a VariantContainerBase instead of a VariantBase, though this
is not documented as necessarily being a tuple, though it is multiple
values.
2011-03-27 Murray Cumming <murrayc@murrayc.com>
Balanced Tree: Clean up the documentation.
* glib/src/balancedtree.hg: Use doxygen syntax.
2011-03-25 Murray Cumming <murrayc@murrayc.com>
Gio::DBus: Use VariantContainerBase for tuple Variants.
* gio/src/dbusconnection.[hg|ccg]:
* gio/src/dbusproxy.ccg.[hg|ccg]: call_sync(), call(), call_finish():
Use VariantContainerBase, instead of VariantBase, for GVariants that are
documented as being tuples. Because the type is known we can also use
it as a simple return type instead of an output parameter.
* tools/m4/convert_gio.m4: Added a necessary conversion.
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc: Adapted. These already correctly assumed that
the type should be VariantContainerBase.
2.27.99:
2011-03-24 Murray Cumming <murrayc@murrayc.com>
Remove Gio::Application and friends for now because they are not finished.
* gio/src/actiongroup.[hg|ccg]:
* gio/src/application.[hg|ccg]:
* gio/src/applicationcommandline.[hg|ccg]: Removed these temporarily
because we removed Gtk::Application temporarily from gtkmm.
See http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00062.html
2011-03-24 Murray Cumming <murrayc@murrayc.com>
Regenerate the XML for the C API documentation.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py.
2011-03-24 Murray Cumming <murrayc@murrayc.com>
Gio: Remove SettingsBackend.
* gio/src/settingsbackend.[hg|ccg]: Remove these because we do not know yet
if implementing GSettings backends is useful or encouraged, and our wrapper
is unimplemented, requiring an ABI break to fix it when adding the virtual
methods.
* gio/src/filelist.am: Remove mention of the files.
* gio/src/settings.hg: Remove use of SettingsBackend here too. Unfortunately
this might have been slightly useful but we cannot provide this API without
freezing a SettingsBackend API.
2011-03-24 Murray Cumming <murrayc@murrayc.com>
More minor documentation corrections.
* gio/src/dbusauthobserver.hg:
* gio/src/dbusconnection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbussubtreevtable.hg:
* glib/src/varianttype.hg: More fixes since the change from DBus* to DBus::.
2011-03-24 Murray Cumming <murrayc@murrayc.com>
Documentation: Change DBus to D-Bus.
* glib/src/varianttype.hg: Use the correct name for D-Bus.
I made the same change in the C documentation.
2011-03-24 Murray Cumming <murrayc@murrayc.com>
Variant: Improved the documentation, based on the C documentation.
* glib/src/variant.hg: Also changed two methods to take std::string by
const &.
2011-03-24 Murray Cumming <murrayc@murrayc.com>
Avoid a tarball dependency on mm-common.
* configure.ac: Add a call to MM_CONFIG_DOCTOOL_DIR() telling it to
copy the files locally and use them from there.
* docs/Makefile.am: Dist the copied files, so that the build does not
try to use the versions installed by mm-common.
2.27.98:
2011-03-23 Murray Cumming <murrayc@murrayc.com>
Gio::DBus::InterfaceVTable: Make the tuple clearer.
* gio/src/dbusinterfacevtable.[hg|ccg]: SlotInterfaceMethodCall: Change
the VariantBase type to a VariantContainerBase, because this is a tuple,
so people should get the children. This makes it more obvious.
DBusInterfaceVTable_MethodCall_giomm_callback(): Adapt.
Suggested by Michael Edwards.
2011-03-23 Murray Cumming <murrayc@murrayc.com>
Gio::DBus: Move InterfaceVTable and SubtreeVTable to their own files.
* gio/src/dbusinterfacevtable.[hg|ccg]:
* gio/src/dbussubtreevtable.[hg|ccg]: Moved code here from
* gio/src/dbusconnection.[hg|ccg].
* gio/src/filelist.am: Mention the new files.
2011-03-21 Murray Cumming <murrayc@murrayc.com>
Correct some range checks to use >= instead of just >.
* glib/glibmm/stringutils.cc: Glib::Ascii::strtod():
* glib/src/variant.[hg|ccg]: get(): Correct the range check. This would
previously not have caught all wrong ranges.
Thanks to Michael Edwards.
2011-03-20 Krzesimir Nowak <qdlacz@gmail.com>
Vectorutils, ArrayHandle: Check for NULL pointers.
* glib/glibmm/vectorutils.[h|cc]: Don't crash in compute_array_size2, when
NULL is passed - in that case just return 0. Also, array_to_vector method
return empty vector in such case.
* glib/glibmm/arrayhandle.[h|cc]: Set array_size to zero if passed array
is NULL.
* tests/glibmm_null_vectorutils/main.cc: New test for NULL arrays and lists
for vectorutils.
* tests/glibmm_null_containerhandle/main.cc: New test for NULL arrays and lists
for containerhandles.
* tests/Makefile.am: Added new tests to build.
2011-03-21 Murray Cumming <murrayc@murrayc.com>
Date: Document that some methods return *this, and why.
* glib/src/date.hg: Thanks to Kjell Ahlstedt:
http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00049.html
2.27.97:
2011-03-16 Murray Cumming <murrayc@murrayc.com>
Variant: Remove unncessary Glib:: namespace qualification.
* glib/src/variant.[hg|ccg]
* glib/src/variantiter.hg:
* glib/src/varianttype.hg: Remove the unnecessary Glib:: namespace
qualification in the API and documentation.
2011-03-16 Murray Cumming <murrayc@murrayc.com>
Gio::Variant: Add some get() method overloads.
* glib/src/variant.[hg|ccg]: Variant<VariantBase>: Add a get(VariantBase&)
along with the existing VariantBase get().
VariantContainerBase: Added a VariantBase get() to match the existing
get(VariantBase&). Both seem useful, particularly now that we can
cast_dynamic them.
VariantContainerBase::get() should maybe be renamed to get_child() too.
2011-03-16 Murray Cumming <murrayc@murrayc.com>
Dbus::Proxy: properties_changed signal: Avoid namespace qualifiers in header.
* gio/src/dbusproxy.[h|ccg]: Add a typedef to the .ccg file to help the
compiler so we do not need the namespace qualifiers in the API.
2011-03-16 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
DBus::Proxy: Added signal properties_changed
* gio/src/dbusproxy.hg: Add signal properties_changed.
* gio/src/gio_signals.defs: Change the type of a parameter of
signal g-properties-changed from "GStrv" to
"const gchar * const *" to match the signal declaration.
Bug #644886
2011-03-16 Murray Cumming <murrayc@murrayc.com>
Gio::Variant: Use _WRAP_METHOD() instead of hand-coding.
* glib/src/variant.[hg|ccg]: Use _WRAP_METHOD() for two hand-coded methods.
2011-03-16 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
Variant: Added Variant<VariantBase>::get().
* glib/src/variant.[ccg|hg]: Added Variant<VariantBase>::get().
* tests/glibmm_variant/main.cc: Add some tests.
This is useful because Variant<VariantBase> can be manipulate as other
variants of type Variant<T>. This allow, for example, to define variants
of type Variant<std::map<ustring, VariantBase> >.
Bug #644207.
2011-03-14 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
Variant: Add a cast method.
* gio/src/glib/src/variant.[ccg|hg]: Add a VariantBase::cast_dynamic()
static method.
* tests/glibmm_variant/main.cc: Add some tests.
This is useful because VariantBase can and will be passed by value sometimes
and DBus may have actual Variant types whose underlying type will not be
known at compile time (this note was by Murray).
Bug #644146
2011-03-16 Murray Cumming <murrayc@murrayc.com>
Fix missing doc-install.pl problem with the tarball build.
* configure.ac: Remove the call to MM_CONFIG_DOCTOOL_DIR() so we do not copy
the mm-common doc utils into glibmm and do not try to use local copies of
them. This is what gtkmm and other modules do so it makes sense to do it now
for glibmm now that glibmm is not the one that supplies these for pkg-config.
This fixes bug #644829 (David Ronis) with the tarball build and
Ubuntu launchpad bug
https://bugs.launchpad.net/ubuntu/+source/glibmm2.4/+bug/735856
(Krzysztof Klimonda)
However, I can see the point of distributing copies in the tarball, which
could make the tarball build not need mm-common at all. But if we want that
then we should decide to do it for gtkmm and other modules too.
2.27.96:
2011-03-15 Murray Cumming <murrayc@murrayc.com>
Do not install the doctool/*.pl scripts, such as doc-install.pl.
* docs/Makefile.am: These were already installed by mm-common too, and are
now discovered via pkg-config from mm-common-util, by the existing
macro. No changes should be necessary to other modules, though autogen.sh
might need to be run again.
2011-03-11 Murray Cumming <murrayc@murrayc.com>
FileInfo: Added more TODOs about using ustring instead of std::string.
* gio/src/fileinfo.hg:
See https://bugzilla.gnome.org/show_bug.cgi?id=615950#c7
(Kjell Ahlstedt)
2011-03-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
Tell gmmproc that it reads and writes UTF-8 files.
* tools/pm/GtkDefs.pm:
* tools/pm/Output.pm:
* tools/pm/WrapParser.pm: Add 'use open IO => ":utf8";'. Bug #644037
2011-03-09 Murray Cumming <murrayc@murrayc.com>
FileInfo: Add TODOs about using ustring instead of std::string.
* gio/src/fileinfo.hg: The C documentation says that some of these are
UTF-8.
See https://bugzilla.gnome.org/show_bug.cgi?id=615950#c4
(Kjell Ahlstedt)
2011-03-09 Murray Cumming <murrayc@murrayc.com>
DBus::InterfaceVTable: Use g_error_copy() where appropriate.
* gio/src/dbusconnection.ccg: DBusInterfaceVTable_SetProperty_giomm_callback(),
DBusInterfaceVTable_GetProperty_giomm_callback(): Copy the GError instead of
just copying the pointer, because it will be freed along with the parent
Glib::Error.
Bug #644008 (Yannick.Guesnet)
2011-03-04 Murray Cumming <murrayc@murrayc.com>
Gio::Application::open(file): Fix this.
* gio/src/application.ccg: There should be one item, not two.
2011-03-04 Murray Cumming <murrayc@murrayc.com>
Gio::Application: open(): Added a single-file method overload.
* gio/src/application.[hg|ccg]: Added an open() overload that takes a single
Gio::File instead of a vector of Gio::Files.
2011-03-04 Murray Cumming <murrayc@murrayc.com>
Gio::Application: Fix a signal definition.
* gio/src/application.hg: The command-line signal returns an int, not a bool.
2011-03-04 Murray Cumming <murrayc@murrayc.com>
Gio::Application: Added get_environ().
* gio/src/gio_others.defs: Add a hand-written definition for this, because
h2defs.py ignores functions with this return type.
* gio/src/applicationcommandline.hg: Wrap the function.
2011-03-04 Murray Cumming <murrayc@murrayc.com>
ApplicationCommandLine: Use std::string instead of ustring in some API.
* gio/src/applicationcommandline.hg: The C documentation says that some
return strings could be non-UTF-8.
2011-02-28 Murray Cumming <murrayc@murrayc.com>
Application: Wrap the local_command_line vfunc, though it is not finished.
* gio/src/application.hg:
* gio/src/gio_vfuncs.defs: Wrap the local_command_line vfunc, though see
the bug report in the comment.
2.27.95:
2011-02-24 Murray Cumming <murrayc@murrayc.com>
tests: Remove remaining use of std::cout.
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc: Hid some use of std::cout that I missed in my
previous commit.
2011-02-24 Murray Cumming <murrayc@murrayc.com>
tests: Use EXIT_* for clarity.
* tests/*.cc: Use EXIT_SUCCESS rather than 0 because I think that is clearer.
2011-02-24 Murray Cumming <murrayc@murrayc.com>
Actually run all tests, and check some failures.
* tests/Makefile.am: Add all tests to TESTS so they are really run during
make check, instead of just built.
* tests/giomm_asyncresult_sourceobject/main.cc:
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc:
* tests/glibmm_bool_arrayhandle/main.cc:
* tests/glibmm_bool_vector/main.cc:
* tests/glibmm_buildfilename/main.cc:
* tests/glibmm_date/main.cc:
* tests/glibmm_ustring_compose/main.cc:
* tests/glibmm_valuearray/main.cc:
* tests/glibmm_variant/main.cc:
* tests/glibmm_vector/main.cc: Remove all use of std::cout by default,
allowing it to be renabled by changing a line.
Return (or) exit with EXIT_FAILURE after any use of std::cerr, so that
make check can report it.
2011-02-24 Murray Cumming <murrayc@murrayc.com>
Restore the Gio::DBus::Error registration.
* tools/generate_wrap_init.pl.in: Use a qualified C++ name for the key in
the associated-array of exceptions. This seems to work, though it feels very
hacky.
2011-02-24 Murray Cumming <murrayc@murrayc.com>
Rename Gio::DBus::DBusError to Gio::DBus::Error.
* gio/src/dbuserror.hg: Rename the class to Error.
* examples/dbus/busserver.cc: Adapated.
* tests/giomm_ioerror_and_iodbuserror/main.cc: Added a test to check that
both Gio::Error and Gio::DBus::Error are working.
* tests/Makefile.am: Set TESTS, so that the test is actually run.
We should add others to this too.
This current fails, so I need to fix the problem in a subsequent commit.
2011-02-24 Murray Cumming <murrayc@murrayc.com>
Move Gio::DBusError to Gio::Dbus::DBusError.
* tools/m4/base.m4: Added a SECTION_H_GERROR_PRIVATE section.
* tools/m4/gerror.m4: Import the SECTION_H_GERROR_PRIVATE section.
* gio/src/dbuserror.hg: Put this back into the DBus namespace.
Push a custom friend declaration into the SECTION_H_GERROR_PRIVATE section,
because the standard generated friend declaration would not specify the
correct one.
This still does not rename DBusError to DBus::Error, but this is a step on
the way.
* examples/dbus/busserver.cc: Adapated.
2011-02-23 Murray Cumming <murrayc@murrayc.com>
Bring back Gio::Error registration.
* gio/src/error.[hg|ccg]: Move Gio::DBus::Error to
* gio/src/dbuserror.[hg|ccg]: and temporarily rename it to Gio::DBusError
because generate_wrap_init.pl.in is wrapping only on of Gio::Error and
Gio::DBus::Error. Unfortunately, we need to fix the generation to handle
this properly even when it is called Gio::DBus::DBusError.
2011-02-21 Murray Cumming <murrayc@murrayc.com>
Mark some new API.
* glib/glibmm/miscutils.h: Add @newin{2,28} to the new build_filename()
overloads.
2011-02-21 Fabricio Godoy <skarllot@gmail.com>
Extended build_filename() to accept up to nine parameters.
* glib/glibmm/miscutils.[h|cc]: Added build_filename() method overloads that
take more parameters, for convenience.
* tests/Makefile.am
* tests/glibmm_buildfilename/main.cc: Added a new testcase.
2.27.94:
2011-02-21 Murray Cumming <murrayc@murrayc.com>
Fix the build with --enable-warnigns=fatal.
* glib/glibmm/arrayhandle.h: Remove some typename keywords to avoid this
compiler warning:
"error: using ātypenameā outside of template"
2011-02-02 Krzesimir Nowak <qdlacz@gmail.com>
Added bool specialization for Glib::ArrayHandle.
* glib/glibmm/arrayhandle.h: Added specialization for bool ArrayHandle.
This is needed because std::vector<bool> is a specialization for which
iterators does not return a reference to actual value it holds.
* glib/glibmm/arrayhandle.cc: New file implementing destructor of
bool ArrayHandle - the only method that is not inlined.
* glib/glibmm/filelist.am: Added new source file to build.
* tests/glibmm_bool_arrayhandle/main.cc: New file implementing test
checking if bool ArrayHandle actually works.
* tests/Makefile.am: Added new test to build.
2011-02-17 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
OptionGroup: Fix build error, remove memory leak.
* glib/src/optiongroup.ccg: Fix build error with --enable-warnings=fatal.
Remove memory leak when the same OptionEntry is added twice.
Bug #589197 (Hubert Figuiere)
2011-02-16 Murray Cumming <murrayc@murrayc.com>
Move the DBus classes into a Gio::DBus namespace.
* gio/giomm.h:
* gio/src/dbus*.[hg|ccg]
* gio/src/error.hg: Rename all DBus* classes to remove the prefix, putting
them in a Gio::DBus namespace.
This required the use of the new _GMMPROC_EXTRA_NAMESPACE macro, to avoid
generating a confused wrap_init.cc.
Along the way, I removed unnecessary class predeclarations, instead including
the relevant header, because that is more convenient for users of the API.
* gio/src/dbuserror.[hg|ccg]: Renamed to dbuserrorutils.[hg|ccg] and
renamed the Error namespace to ErrorUtils, to avoid a clash with the
Gio::DBus::Error exception.
* gio/src/filelist.am:
* tools/m4/convert_gio.m4: Changed some conversions.
* examples/dbus/busserver.cc:
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc: Adapted.
This is generally more organized. A prefix, instead of a namespace, looked
generally wrong to C++ coders.
2011-02-16 Murray Cumming <murrayc@murrayc.com>
gmmproc: Allow some classes to be in a sub-namespace.
* tools/m4/class_shared.m4:
* tools/generate_wrap_init.pl.in: Add a _GMMPROC_EXTRA_NAMESPACE(thenamespace)
macro, so that wrap_init.cc will have the correct pre-declarations of the
wrap_new() and get_type() functions.
I am suprised that we have no other way to do this already, but I cannot
find one, and this hack works.
2011-02-15 Murray Cumming <murrayc@murrayc.com>
OptionGroup: Minor code style changes.
* glib/src/optiongroup.[hg|ccg]: Use the explicit keyword and use a _
suffix for member variables.
2011-02-14 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
OptionGroup: Add add_entry() that takes a slot with callback function.
* glib/src/optiongroup.[hg|ccg]: Add add_entry() and add_entry_filename()
that take a slot. Add protected option_arg_callback().
An exception thrown by on_pre_parse() or on_post_parse() is propagated
to the error argument of g_callback_pre_parse() or post_parse_callback().
* glib/src/optionentry.hg: Add description of set_flags().
* examples/options/main.cc: Add more OptionEntries and callback functions
for parsing command option values.
Bug #589197 (Hubert Figuiere)
2011-02-15 Murray Cumming <murrayc@murrayc.com>
Dealt with several TODOs.
* gio/src/*.[hg|ccg]: Mostly just adding hand-coded documentation,
and changing some new methods to use std::vector.
2011-02-15 Murray Cumming <murrayc@murrayc.com>
Update the .defs for signals and properties.
* tools/extra_defs_gen/generate_defs_gio.cc: Mention more GDbus types.
* tools/extra_defs_gen/generate_defs_glib.cc: Mention some types, though
none have properties or signals.
* gio/src/gio_signals.defs: Regenerated, though there are no new properties or
signals.
2011-02-15 Murray Cumming <murrayc@murrayc.com>
Regenerate the XML of the C documentation.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py.
2011-02-15 Murray Cumming <murrayc@murrayc.com>
Require glib 2.28.0.
* configure.ac: Update the version check.
2011-02-08 Murray Cumming <murrayc@murrayc.com>
Fix the make check build with --enable-warnings=fatal.
* examples/options/main.cc: Comment-out unused method parameters.
2011-02-06 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
OptionGroup: An on_post_parse() override need not call the base class.
* glib/src/optiongroup.[hg|ccg]: The C post_parse callback is a static
protected member function, which performs all necessary post-parsing.
OptionGroup::on_post_parse is a dummy function.
* examples/options/main.cc: The on_pre_parse, on_post_parse, and on_error
overrides don't call the base class functions.
Bug 588988 (Hubert Figuiere)
2011-02-01 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
gmmproc: Add optional arguments custom_vfunc[_callback] to _WRAP_VFUNC.
* tools/pm/Output.pm:
* tools/pm/WrapParser.pm: Add handling of optional arguments
custom_vfunc[_callback] in _WRAP_VFUNC. Bug 641165.
2.27.93:
2011-01-21 Krzesimir Nowak <qdlacz@gmail.com>
Vector utils: Corrected documentation and extended it bit.
* glib/glibmm/vectorutils.h: Documented important parts of *Keeper classes
and corrected examples in *Handler classes. The documentation mostly tries
to explain memory management.
2011-01-30 Murray Cumming <murrayc@murrayc.com>
Vector utils: Added simple documentation.
* glib/glibmm/vectorutils.h: Some simple documentation about the *Handler
utility classes, though I need to correct the example code and explain the
memory mangement when that is clear to me.
2011-01-28 Murray Cumming <murrayc@murrayc.com>
ArrayHandle, ListHandle, SListHandle: Document these as almost-deprecated.
* glib/glibmm/arrayhandle.h:
* glib/glibmm/listhandle.h:
* glib/glibmm/slisthandle.h: Mention that we try not to use these now,
though we cannot actually deprecate them yet without forcing other libraries
such as pangomm to deprecate the methods that use them, which they cannot
really do because they cannot just add a method overload without introducing
ambiguity.
2011-01-27 Chris KĆ¼hl <chrisk@openismus.com>
Changed glib include to build cleanly with GLIB_DISABLE_SINGLE_INCLUDES.
* glib/src/balancedtree.hg: Changed <glib/gtree.h> to <glib.h>.
2011-01-24 Krzesimir Nowak <qdlacz@gmail.com>
Added vectorutils.h.
* glib/glibmm/vectorutils.[h|cc]: New files implementing an array, list,
slist <-> std::vector convertions. It implements also a specialization
for bool types.
* glib/glibmm.h: Include vectorutils.h.
* glib/glibmm/filelist.am: Added vectorutils to build.
* tests/glibmm_vector/main.cc: New test for general vectorutils check.
* tests/glibmm_bool_vector/main.cc: New test checking bool specializations.
* tests/Makefile.am: Added above tests to build system.
2011-01-20 Murray Cumming <murrayc@murrayc.com>
Resolver: lookup_service(), lookup_by_address(): Fix the reference counting.
* gio/src/resolver.[hg|ccg]: Use the correct OWNERSHIP_*, based on the
documentation for the C functions. We must release both the list and the
items.
Bug #639575 (Michael Edwards)
2011-01-20 Murray Cumming <murrayc@murrayc.com>
Application: Fix the build.
* gio/src/application.ccg: Include giomm/init.h.
2011-01-19 Murray Cumming <murrayc@murrayc.com>
Application: Constructor: Initialize glibmm and giomm.
* gio/src/application.[hg|ccg]: Use a custom klass init function to
make sure that glibmm and giomm are initialized when Gio::Application is
instantiated, so it is then unnecssary to call them explicitly.
2.27.91.1:
2011-01-17 Murray Cumming <murrayc@murrayc.com>
Fix the make check build.
* examples/dbus/busserver.cc: Comment out unused methods, to fix the
build. I guess this example is still in progress. Otherwise, the commented
code should really be removed.
2010-12-22 Murray Cumming <murrayc@murrayc.com>
gmmproc: _CLASS_GOBJECT: reverted removal of __REAL_* arguments.
This is still needed for the gtkmm-2-24 branch.
2011-01-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Add initial implementation of a bus server/client example.
* examples/Makefile.am:
* examples/dbus/busserver.cc: Add a partial implementation of the
server part of a server/client example that communicate through the
user's bus.
* examples/dbus/peer.cc: Typos.
2011-01-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add a send_message() without an "out_serial" param.
* gio/src/dbusconnection.{ccg,hg} (send_message): Add new method
without the "out_serial" param.
* gio/src/unixfdlist.hg (append): Add exception docs to method.
2011-01-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::[watch|own]_name(): Add default values for parameters.
* gio/src/dbusownname.{ccg,hg} (own_name):
* gio/src/dbuswatchname.{ccg,hg} (watch_name): Add default values for
the slot parameters instead of writing up overloads since there would
be many. Also reorder the parameters so that the flags have default
values.
2011-01-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
InetAddress: Wrap properties.
* gio/src/inetaddress.hg: Wrap the properties.
* gio/src/dbusconnection.hg: Typo.
2011-01-15 Chris KĆ¼hl <chrisk@openismus.com>
Added conversion from bool& to gboolean*.
* tools/m4/convert_glib.m4: Added conversion from bool& to gboolean*.
2011-01-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusServer: Comment out constructors because of bug #639478.
* gio/src/dbusserver.{ccg,hg}: Comment out the constructors because
the C new function does more than calling g_initable_new().
2011-01-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant: Use variant_type() functions in implementation where possible.
* glib/src/variant.ccg: Use the existing variant_type() functions
where possible.
* gio/src/dbusserver.ccg: File bug #639478 about GDBusServer's new
function doing more than using g_initable_new().
2011-01-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant: Have the variant_type() functions return actual types.
* glib/src/variant.hg: Correct the variant_type() functions of the
container derived classes to create and return actual variant types
and not abstract ones. Also use the functions in the implementation
of the existing methods.
2011-01-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Avoid errors/exceptions in callbacks due to NULL C strings.
* gio/src/dbusconnection.ccg: Modify the callbacks so that if a C
string parameter might be NULL, it is passed to the slots as an empty
string (""). This avoids possible exceptions from constructing a
Glib::ustring from NULL.
* gio/src/dbusconnection.hg: Typos.
* examples/dbus/peer.cc: Add the usage examples from the C API's
example.
2011-01-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusServer: Add docs to the signal_new_connection() signal.
* gio/src/dbusserver.hg: Add the docs from the C API to make sure it
clear to users that when handling the "new-connection" signal that a
reference to the new connection must be kept or the connection will
not be accepted.
* examples/dbus/peer.cc: Make an exception message more general to
cover both a possible exception from the call_sync() call and the
close_sync() call.
2011-01-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection, DBusMessage: Wrap properties and signals.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GDBusConnection and the
GDBusMessage types to the signal and properties generation tool and
regenerate the defs file.
* gio/src/dbusconnection.hg: Wrap the properties and signals.
* gio/src/dbusmessage.hg: Wrap the properties (no signals).
* gio/src/dbusproxy.hg: Comment out a write-only/construct-only
property.
2011-01-12 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus Peer Example: Correct some code to complete the example.
* examples/dbus/peer.cc (keep_connection): renamed to curr_connection.
(on_method_call): Place the return value of the method in a tuple
which is then returned.
(curr_connection): Use this variable to manage incoming connections.
The C API docs says that when handling ther DBusServer's
signal_new_connection() a reference to the connection should be kept
and the handler should return true if the connection should be kept.
This variable keeps a reference to the current connection. When the
caller finishes, it closes the connection thus allowing the server to
accept another connection.
(try/catches): Add return statements in the catches that fail so that
execution does not continue.
The example runs successfully with the previous commit and the patch
in bug #639391 filed in the glib bugzilla product page. Hopefully the
request will be accepted.
2011-01-12 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Check for NULL bus name in the MethodCall callback.
* gio/src/dbusconnection.ccg
(DBusConnection_Message_Filter_giomm_callback): Since the sender can
be NULL, check for that so that creating a Glib::ustring from a NULL
does not cause exceptions.
2.27.91:
2011-01-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: call*() methods: Re-order bus_name parameter.
* gio/src/dbusconnection.{ccg,hg} (call*): Place the bus_name
parameter before the timeout_msec parameter to make it easier to
specifiy a bus name without having to set a timeout value.
* gio/src/dbusaddress.hg (get_for_bus_sync): Correct declarations to
return std::string instead of Glib::ustring in accordance with the
last commit.
2011-01-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Use std::string for addresses since they could be a file path.
* gio/src/dbusaddress.{ccg,hg}:
* gio/src/dbusconnection.{ccg,hg}:
* gio/src/dbusserver.{ccg,hg}: Use std::string instead of
Glib::ustring for address parameters just to avoid possible errors
since DBus address could be a filename path as the "Addresses"
section of the DBus introduction seems to imply:
http://www.freedesktop.org/wiki/IntroductionToDBus.
2011-01-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Use std::string for guid's.
* gio/src/dbusaddress.{ccg,hg}:
* gio/src/dbusconnection.{ccg,hg}:
* gio/src/dbusserver.{ccg,hg}:
* gio/src/dbusutils.{ccg,hg}: Use std::string instead of Glib::ustring
for guid's since std::string's API is probably adequate enough for
their use.
2011-01-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Add a peer example to test the DBusServer class.
* gio/src/dbusconnection.{ccg,hg}: Reorder the VariantBase
'parameters' parameter in the call*() methods to come after the
method_name parameter.
* gio/src/dbusintrospection.hg: Use refreturn for methods where the C
API does not automatically reference the return.
* gio/src/dbusserver.{ccg,hg}: Add non-observable constructors and
create() methods.
* glib/src/variant.{ccg,hg} (create_tuple): Renamed from create().
Write this method to be more specific for tuples (it's probably the
only case where this method might be used). Dealing with tuples still
feels awkward with the method. Maybe there's a better way.
* examples/Makefile.am:
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc:
* examples/dbus/well-known-address-client.cc: Add the new
server/client peer example (named peer). The example crashes because
the C API seems to not deal with empty strings "" well, but at least
there is now an example. Making sure it runs well is necessary. Also
rename the previous example to userbus.cc.
2011-01-08 Krzesimir Nowak <qdlacz@gmail.com>
Tools: Added a defs fixer tool.
tools/defs_fixer.pl: Helper tool to fix the generated defs. I hope
that for most cases it will be just better than using diff and patch.
2011-01-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Callbacks: Check for NULL GError** parameters.
* gio/src/dbusconnection.ccg: Make sure that the callbacks that set a
GError* do not try to access a NULL pointer if NULL has been passed
as the GError** parameter.
Bug #637587 (Yannick Guesnet)
2011-01-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBusConnection: Callbacks: Return all Glib::Errors to caller.
* gio/src/dbusconnection.ccg: Have to previously modified callbacks
that deal with getting/setting properties return all Glib::Errors
and not just Gio::DBusError types.
Bug #637587 (Yannick Guesnet)
2011-01-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Callbacks: Return DBusError exceptions to caller.
* gio/src/dbusconnection.ccg: Modify the callbacks that deal with
getting/setting properties for a DBus interface to set the GError*
parameter if it is a DBus related GError. This should allow receiving
DBus exceptions if the slot throws one with respect to not being able
to successfully get/set a property.
2011-01-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Use gobj() instead of reinterpret_cast<> for *VTable.
* gio/src/dbusconnection.ccg: Use the gobj() of the
DBusInterfaceVTable instead of casting it to a GDBusInterfaceVTable in
the callbacks and in the register_object() method.
2011-01-07 Murray Cumming <murrayc@murrayc.com>
DBusConnection: Use const guint instead of guint const.
* gio/src/dbusconnection.ccg: This is more consistent with other code.
2011-01-07 Murray Cumming <murrayc@murrayc.com>
DBusConnectionInvocation: Use refreturn on get methods.
* gio/src/dbusmethodinvocation.hg: This seems to be necessary, though it does
not fix bug #637587.
2011-01-07 Murray Cumming <murrayc@murrayc.com>
DBusConnection: Use _ suffixes on member variables.
* gio/src/dbusconnection.[hg|ccg]: Use a _ suffix on member variables to
avoid confusion with method parameters of the same name, though this does not
seem to be what is causing bug #637587.
2011-01-06 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add [register|unregister]_subtree() methods.
* gio/src/dbusconnection.{ccg,hg}: Add the new methods along with a
corresponding class (like the one for register_object()). Added
method docs. Modified the registration methods so that the vtable is
passed and not a struct containing the slots. Please note that this
API feels like it could be made better before glibmm goes stable. In
particular, it might be nice and (maybe even possible) to not require
that the *VTable instances be global.
2011-01-06 Murray Cumming <murrayc@murrayc.com>
SocketService, ThreadedSocketService: Correct ref-counting for signals.
* tools/m4/convert_gio.m4: Remove conversions that are only for signals.
These should not generally be in the general m4 files, to avoid them being
used implicitly in the wrong place. This is important because they use
different reference-taking.
* gio/src/socketservice.hg:
* gio/src/threadedsocketservice.hg: Add corrected conversions here.
2010-01-06 Krzesimir Nowak <qdlacz@gmail.com>
Gmmproc: Try harder to limit false unwrapped properties.
* tools/pm/GtkDefs.pm: When taking list of properties that are
unwrapped, try to filter out the properties defined in base class.
2011-01-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusServer: Correct the "active" property.
* gio/src/dbusserver.hg: Correct the type of the "active" property.
2011-01-05 Murray Cumming <murrayc@murrayc.com>
BufferedInputStream, BufferedOutputStream: Correct property name.
* gio/src/bufferedinputstream.[hg|ccg]
* gio/src/bufferedoutputstream.[hg|ccg]: When using create_sized(), it
tried to set the wrong property. Renaming the parameter from size to
buffer_size fixes this.
Bug #638616 (Michael Edwards)
2011-01-05 Krzesimir Nowak <qdlacz@gmail.com>
Gmmproc: Warn about unwrapped properties.
* tools/gmmproc.in: When displaying a list of unwrapped properties,
ignore the ones that are nonreadable and construct only.
* tools/pm/Property.pm: Added entity_type member initialized with
'property' value to Property class, which allows us to sort out
which unwrapped entities are actually properties.
2.27.5.1:
2010-12-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
VariantContainerBase::create: Don't use pointers to pass the children.
* glib/src/variant.{ccg,hg} (VariantContainerBase::create): Don't use
pointers to the variant children to pass the array of variants, but
instead use copies which might be more intuitive for new programmers.
It is not clear whether this method should remain or not. We'll have
to wait for the example to be written.
2010-12-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
VariantContainerBase: Add a create() method from an array of variants.
* glib/src/variant.{ccg,hg}: (VariantContainerBase::create): Add this
method that accepts a VariantType (describing what kind of container
should be created), and a vector of VariantBase. Theoretically, this
method should make creation of tuples possible. There is no tuple
class in standard C++ so something like this would be necessary in
cases where tuples need to be created (to be returned, for example,
from some method call). The future server/client D-Bus example should
put this method to the test.
(VariantStringBase::create_*_path): Sink the variant after creation in
these methods which was forgotten.
* gio/src/dbusconnection.hg: Typos.
2010-12-28 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant test: Use the dictionary variant classes in the test.
* glib/src/variant.{ccg,hg} (get_iter): Make all the get_iter()
methods in the variant container classes const.
(Variant< std::pair<K, V> >::get):
(Variant< std::map<K, V> >::lookup):
(std::map<K, V> Variant< std::map<K, V> >::get): Correct the getting
of a std::pair<> from the Variant<> and the getting of children from
the parent VariantContainerBase class.
(Variant< std::map<K, V> >::create): Create the dictionary entries as
Variants and then use g_variant_builder_add_value() to add them
instead of g_variant_add() which is easier.
* tests/glibmm_variant/main.cc: Use the updated dictionary classes in
the test.
2010-12-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant: Add dictionary entry and dictionary specializations.
* glib/src/varianttype.hg:
* glib/src/variant_basictypes.h.m4: Renamed the glibmmVariant doxygen
group to 'Variant'.
* glib/src/variant.{ccg,hg}: Throw a std::out_of_range exception
instead of a std::runtime_error one from methods that throw them
because of indexes being out of bounds.
(Variant< std::pair<K, V> >): Added this specialization to deal with a
dictionary entry variant type.
(Variant< std::map<K, V> >): Added this specialization to deal with
variant dictionary types.
(VariantContainerBase::get): Have this method throw a
std::out_of_range exception if the index is out of range.
(Variant< std::vector<Glib::ustring> >::get)
(Variant< std::vector<std::string> >::get): Free the shallow copy of
the returned string arrays in the get methods of the string variant
arrays as the docs of the C API say.
* gio/src/dbusconnection.hg: Added missing _IGNORE()'s.
* gio/src/dbusproxy.hg: Updated a TODO.
* examples/dbus/well-known-address-client.cc: Typo.
2010-12-23 Krzesimir Nowak <qdlacz@gmail.com>
Add a valuearray test to build.
* tests/Makefile.am: Added a valuearray test to build instead of
value test thrice.
2010-12-23 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add register/unregister_object() methods.
* gio/src/dbusconnection.{ccg,hg}: Add register_object() and
unregister_object() methods. Use a C++ wrapper class for the
GDBusInterfaceVTable structure so that it is possible to use slots for
the registration.
Fixes Bug #637587 (Yannick Guesnet)
2010-12-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: _CLASS_GOBJECT: Remove __REAL_* additional arguments.
* tools/m4/class_gobject.m4:
* tools/m4/class_shared.m4: Remove the use of the
__REAL_[CNAME|CPARENT]__ variables needed to wrap some classes in
gtkmm that were typedef to their base type (such as GdkWindow and
GdkPixmap). These classes have been fixed in gtk+-3 thus eliminating
the need for the special arguments in _CLASS_GOBJECT.
2010-08-10 David Kozub <zub@linux.fjfi.cvut.cz>
RefPtr: Make it work with sorted containers (e.g. std::set<RefPtr<T> >).
* glib/glibmm/refptr.h: Add operators <, <=, >, >=
that compare RefPtrs by their underlying pointer.
This makes RefPtr work with sorted containers (e.g. std::set<RefPtr<T> >)
Bug #626858
2010-12-22 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
giomm: Application: Add the open signal.
* gio/src/application.[hg|ccg]: Add signal_open(), by hand-coding instead of
using _WRAP_SIGNAL(), because we need to change the number of parameters.
2.27.5:
2010-12-22 Murray Cumming <murrayc@murrayc.com>
Variant: Fix compiler warnings.
* glib/src/variant.ccg: Remove some uses of the typename keyword to avoid
warnings about using them outside of templates (they were in template
specializations, which I guess is different).
2010-12-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant< std::vector<std::string> >: Correct the getting of the array.
* glib/src/variant.{ccg,hg} (get): Use
g_variant_get_bytestring_array() in the get() methods instead of
g_variant_get_strv().
* examples/dbus/well-known-address-client.cc: Use a
VariantContainerBase to get the result of the proxy's call method
instead of a Variant<VariantBase>. Also corrected the comment about
why it is done that way.
2010-12-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Well known service example: Complete the example.
* examples/dbus/well-known-address-client.cc: Complete the well known
service example by calling the 'ListNames' method of the user's
session bus.
2010-12-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Variant< std::vector<[Glib::ustring|std::string]> specializations.
* glib/src/variant.{ccg,hg}: Add two Variant specializations to deal
specifically with arrays of UTF8 and non-UTF8 strings both reflecting
the API of the specialization that deals with regular arrays.
(docs, typos): Minor corrections.
(Variant<std::vector<T>>::get): Have the method that gets the vector
return the vector instead of setting an output parameter because
returning the vector on the call stack should not be costly and it's
probably more intuitive for the programmer.
* tests/glibmm_variant/main.cc: Adapt test according to the above
change. Correct minor typos.
2010-12-20 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Allow giomm to build under mingw32.
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg:
* gio/src/unixsocketaddress.hg: Add the _GTKMM_WIN_NO_WRAP macro to
newly added giomm classes so that giomm builds under mingw32.
Fixes Bug #636754
2010-12-20 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant: Add a VariantStringBase and a VariantContainerBase class.
* glib/src/variant.{ccg,hg} (VariantStringBase): Implement a new class
from which the Glib::Variant<> string class (like
Glib::Variant<Glib::ustring>) now derive. The new class has methods
for determining/creating object paths and signatures. The new
instances are created by setting output parameters.
(VaraintContainerBase): Implement this new class from which variant
containers should derive.
(VariantContainerBase::get_n_children, get, get_maybe): Moved from
Variant<VariantBase>
(castitem constructors): Corrected all GVariant* castitem constructors
to accept a 'take_a_reference' bool parameter.
(Variant< std::vector<T> >::create, get, get_iter): Re-wrote these
methods to use the Glib::VariantType class to get variant types
instead of using strings. Also Re-wrote to work specifically with
fixed arrays (see g_variant_get_fixed_array). This means that this
class will not work with vectors of strings because
g_variant_get_strv() and g_variant_get_bytestring_array() need to be
used in those cases.
(std::vector<T> get): Re-wrote to use an output parameter.
* glib/src/variant_basictypes.h.m4: Corrected the castitem
constructors as above.
* tests/Makefile.am:
* tests/glibmm_variant/main.cc: Added a small test for the
Variant< std::vector<T> > methods.
* gio/src/dbuserror.hg:
* gio/src/error.hg: Wrap the GDBusError enum as a GError, moving its
declaration to error.hg.
2010-12-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Added a new Glib::Variant<> specialization to deal with arrays.
* glib/src/variant.{ccg,hg} (VariantBase::get_maybe): Move the method
that gets a maybe of a container to Variant<VariantBase> because it a
container specific method.
(Variant<VariantBase>::get): Correct this method so that it uses an
output parameter instead of returning a VariantBase.
(Variant< std::vector<T> >): Added a new specialization designed to
deal with variant arrays. Similar types dealing with array of strings
should also be added.
(typedefs): Added some typedefs that might possibly be useful later.
(docs): Added docs to methods without them.
* glib/src/variant_basictypes.{cc,h}.m4:
(variant_type): Made all the static variant_type() methods return a
Glib::VariantType so the C++ wrapper is used.
* glib/src/variantiter.{ccg,hg}: Corrected the includes so
variantiter.h can be included in variant.h.
2010-12-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
glibmm: Add a Variant<std::string> specialization.
* glib/src/variant.ccg:
* glib/src/variant.hg: Add a Variant<std::string> specialization based
on the already existing Variant<Glib::ustring> one. A way has to be
found to create object paths and signatures (see
g_variant_new_object_path() and g_variant_new_signature()) which are
also strings and have their own GVariantType.
2010-12-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant[Iter,Type]: Add class docs.
* glib/src/variantiter.hg:
* glib/src/varianttype.hg: Add class docs.
* glib/src/keyfile.hg:
* glib/src/optiongroup.hg: Correct @newin{}s from 2,26 to 2,28.
* glib/src/variant.hg (VariantBase): Move the get_n_children() method
to Variant<VariantBase> since all containers essentially are created
in the C API as a GVariant containing one (or more) GVariant(s). The
C++ container types (such as arrays, etc.) can derive from
Glib::Variant<VariantBase> to inherit the get_n_children() method.
* gio/src/gio_extra_objects.defs: Add GDBusProxy.
2010-12-15 Murray Cumming <murrayc@murrayc.com>
Tell the documentation generator about MatchInfo.
* glib/src/glib_extra_objects.defs: Added GMatchInfo here.
2.27.4.1:
2010-12-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus Client Example: create a DBusProxy in preparation for method call.
* examples/dbus/well-known-address-client.cc: Asynchronously create a
DBusProxy which can then be used to call a method on the user's
session bus. This tests asynchronous creation of objects that derive
from the AsyncInitable interface. The reference counting of the newly
created object should be checked because in the SlotAsyncReady slot,
the proxy has a reference count of two when it should possibly be
one (the g_dbus_proxy_new_finish() docs say that in the callback,
unreferencing the proxy destroys it).
2010-12-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus[Connection|Proxy]: Don't take extra reference on async creation.
* gio/src/dbusconnection.ccg:
* gio/src/dbusproxy.ccg: There's no need to put the newly constructed
DBusConnection|DBusProxy in a Glib::RefPtr<> and then take an extra
reference. Simply constructing the object is enough to guarantee that
the object continues existing until the SlotAsyncReady slot is called.
2010-12-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusProxy: Reorder the parameters so that "name" is second in methods.
* gio/src/dbusproxy.{ccg,hg}: Reorder the parameters so that the
"name" parameter comes before the "object_path" parameter as in the C
API which is probably more natural. Add _IMPLEMENTS_INTERFACE() for
the Initable and AsyncInitable interfaces that it implements.
(class docs): Removed some sentences in the class docs that only
apply to the C API. Made it clear that the docs is adapted from the C
API in case the paragraph about sub-classing does not apply.
(constructor properties): Corrected the "name" property to the correct
name "g_name" in constructors.
* gio/giomm.h: Added all the missing dbus includes.
2010-12-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add a DBus Doxygen group.
* gio/src/dbusconnection.hg: Add a DBus Doxygen group in which to
include all the D-Bus docs.
* gio/src/dbusaddress.hg:
* gio/src/dbusauthobserver.hg:
* gio/src/dbuserror.hg:
* gio/src/dbusintrospection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusownname.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbusutils.hg:
* gio/src/dbuswatchname.hg: Include all the D-Bus classes, functions
and slots in the new group.
* glib/glibmm.h: Mention the new group in the list of giomm features.
* gio/src/dbusproxy.ccg: Typos.
2010-12-12 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
glibmm: Add a MatchInfo class for use with the existing Regex class.
* glib/src/regex.{ccg,hg}: Add a new (generic) class wrapping the
GMatchInfo functions. Wrap the (commented out) methods with a
Glib::MatchInfo in Regex so that the new class is used.
Fixes Bug #636911 (Alexander Shaduri)
2010-12-09 Murray Cumming <murrayc@murrayc-desktop>
Added generic gmmproc conversions previously in convert_gtkmm.m4.
* tools/m4/convert_base.m4: Added generic macros back.
2010-12-09 Murray Cumming <murrayc@murrayc.com>
Remove non-glibmm .m4 files.
* tools/m4/class_gtkobject.m4:
* tools/m4/convert_atk.m4:
* tools/m4/convert_gdk.m4:
* tools/m4/convert_gtk.m4:
* tools/m4/convert_gtkmm.m4:
* tools/m4/convert_pango.m4: Remove conversions and macros for non-glibmm
types. These will be moved to atkmm, pangomm and gtkmm instead.
2010-12-09 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusProxy: Add a non-cancellable call_sync() method.
* gio/src/dbusproxy.{ccg,hg}: Add a non-cancellable call_sync()
method. Reorder the paramters so that the "timeout_msec" parameter in
methods that have it can have a default of '-1' which means a default
timeout.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Client Example: Choose a better name for the source file.
* examples/dbus/client.cc: Renamed to:
* examples/dbus/well-known-address-client.cc:
* examples/Makefile.am: Corrected according to renaming above.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add non-observable create method overloads.
* gio/src/dbusconnection.{ccg,hg}: Add constructors and create methods
that don't require a DBusAuthObservable paramter.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Also correct the static status of the get() methods.
* gio/src/dbusconnection.{ccg,hg}: As with the create*() methods, the
get() async methods should be static.
* gio/src/dbusintrospection.hg (DBusPropertyInfo): Add class docs.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Correct docs of newly added methods that throw a Glib::Error.
* gio/src/dbusconnection.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusintrospection.hg: Use _WRAP_METHOD_DOCS_ONLY together
with a Doxygen @throw directive in methods that throw a Glib::Error to
get the C docs and then make it clear that the methods throw a
Glib::Error.
(new_for_xml): Rename to create_for_xml().
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Use static keyword for create methods.
* gio/src/dbusconnection.{ccg,hg}: Add the forgotten 'static' keyword
to all the create methods (that's what happens when coding too quickly
without thinking about what's being done). Fortunately it seems to
have happened only here.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Client Example: Correct typo.
* examples/dbus/client.cc: Correct a typo in a comment.
* tools/m4/convert_gio.m4: Correct alphabetizing of last enum
conversion.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus: Add an initial client example accessing a user's bus.
* examples/dbus/client.cc: Initial example opening a connection to the
user's bus and then printing its unique name.
2010-12-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Gio::DBusConnection::get_sync() methods.
* gio/src/dbusconnection.hg: Wrap get_sync() methods (cancellable and
non-cancellable versions).
* tools/m4/convert_gio.m4: Add enum conversion.
2010-12-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add missing _IGNORE().
* gio/src/dbusconnection.{ccg,hg}: Add a missing _IGNORE() for
the emit_signal() method and correct its misspelled name at the same
time.
2010-12-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add send_message_with_reply_sync() methods.
* gio/src/dbusconnection.{ccg,hg}: Add cancellable and non-cancellable
versions of the send_message_with_reply_sync() methods (following the
same logic as the existing send_message_with_reply() methods). Some
minor corrections.
2010-12-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add signal_subscribe() and add_filter().
* gio/src/dbusconnection.{ccg,hg}: Add signal_subscribe(),
signal_unsubscribe(), add_filter() and remove_filter() methods.
Wrapped GDBusSignalFlags (reordered enums in alphabetical order).
([get|set]_exit_on_close):
(get_capabilities): Reordered declarations (by moving the _WRAP_METHOD
macros) according to where they are declared in the C API.
2.27.4:
2010-11-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus[MethodInvocation|Server]: Code corrections.
* gio/src/dbusmethodinvocation.hg: Remove the default constructor
because it probably will not be used (there is no create() method to
go along with it).
* gio/src/dbusserver.{ccg,hg} (create_sync): Use
g_dbus_server_new_sync() instead of the constructors because the C
function does more than call g_initable_new().
2010-11-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Some conversion fixes.
* tools/pm/DocsParser.pm (convert_docs_to_cpp): Convert occurances of
'`' to the variable '__BT__' defined in base.m4 which safely produces
the same character without causing M4 processing errors.
(convert_tags_to_doxygen): Add a substition for the
<constant></constant> gtk-doc tag to the equivalent Doxygen <tt></tt>
tag. Also use '<' instead of '<' and '>' instead of '>' in the
substitutions because otherwise the tags are not recognized.
2010-11-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBusConnection: Add emit_signal().
* gio/src/dbusconnection.{ccg,hg}: Add emit_signal() wrapping
g_dbus_connection_emit_signal().
* gio/src/dbusaddress.ccg: Typo.
2010-11-19 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBus::Address: Wrap the gio dbus address API in this namespace.
* gio/giomm.h:
* gio/src/dbusaddress.{ccg,hg}:
* gio/src/filelist.am: Add new sources and make sure they are built.
* gio/src/dbusconnection.hg:
* gio/src/dbuserror.hg: Typos.
2010-11-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add call(), call_finish() and call_sync() methods.
* gio/src/dbusconnection.{ccg,hg}: Add cancellable and non-cancellable
versions of call() and call_sync(). Also added call_finish().
2.27.3.1:
2010-11-16 Murray Cumming <murrayc@murrayc.com>
ApplicationCommandLine: Fix print() and print_err().
* gio/src/applicationcommandline.[hg|ccg]: These functions take a printf
format and arguments, as shown by compiler warnings. So I just used "%s".
2010-11-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBus[Connection|Proxy]: Use Gio::AsyncInitable::init_async correctly.
* gio/src/dbusconnection.ccg:
* gio/src/dbusproxy.ccg: Use the non-cancellable version of
Gio::AsyncInitable::init_async() where appropriate.
2010-11-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Initable: Add a non-cancellable overload of the init() method.
* gio/src/initable.{ccg,hg} (init): Add a non-cancellable overload.
* gio/src/dbusconnection.ccg:
* gio/src/dbusproxy.ccg:
* gio/src/dbusserver.ccg: Adapt API to use non-cancellable version of
Gio::Initable::init().
2010-11-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Provide non-cancellable overloads for newly added API.
* gio/src/application.hg: Completed a TODO.
* gio/src/asyncinitable.hg (init_async): Refer to existing method docs
in the non-cancellable version instead of duplicating docs.
* gio/src/dbusconnection.{ccg,hg}: Add non-cancellable overloads of
the constructors and create methods instead of having a default null
Cancellable parameter. Renamed the synchronized create*() methods to
create*_sync().
(get): Added a non-cancellable overload as above.
* gio/src/dbusproxy.{ccg,hg}: Added non-cancellable overloads of the
constructors and create methods. Renamed the create*() synchronized
methods to create*_sync() as above.
(call): Added a non-cancellable overload as above.
* gio/src/dbusserver.{ccg,hg}: Add non-cancellable overloads of the
constructor and create method. Renamed the create() synchronized
method to create_sync() as above.
2010-11-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Correct @newin{}'s and add class docs of newly added API.
* gio/src/application.hg:
* gio/src/asyncinitable.hg:
* gio/src/credentials.hg:
* gio/src/dbusauthobserver.hg:
* gio/src/dbusconnection.hg:
* gio/src/dbuserror.hg:
* gio/src/dbusintrospection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusownname.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbusutils.hg:
* gio/src/dbuswatchname.hg:
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg: Correct @newin{}'s from 2.26 to 2.28.
* gio/src/proxy.hg:
* gio/src/proxyaddress.hg:
* gio/src/proxyresolver.hg: Add class docs.
* gio/src/unixsocketaddress.hg: Add to Doxygen group NetorkIO.
* gio/src/socketcontrolmessage.hg: Rephrase a TODO.
2010-11-13 Jonathon Jongsma <jjongsma@gnome.org>
Add Gio::ApplicationCommandLine
* gio/giomm.h:
* gio/src/application.hg:
* gio/src/applicationcommandline.ccg:
* gio/src/applicationcommandline.hg:
* gio/src/filelist.am:
* tools/m4/convert_gio.m4:
2010-11-12 Jonathon Jongsma <jjongsma@gnome.org>
Miscellaneous Gio::Application fixes
* gio/src/application.hg:
* gio/src/application.ccg:
- Add non-cancellable overload of register_application()
- return int value from run() correctly
- Fix protected constructor signature
- use _WRAP_CTOR and _WRAP_CREATE()
2.27.3:
2010-11-10 Murray Cumming <murrayc@murrayc.com>
Gio: Added some methods.
* gio/src/gio_methods.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenerated with h2defs.py.
* gio/src/application.hg: Added open(). Notice that I have used std::vector
instead of ArrayHandle, because that is what we should use for all new API,
after we decided that the intermediate types are too awkward for people to
understand.
* gio/src/actiongroup.[hg|ccg]: Added list_actions, though we need to
use a std::vector here instead.
* gio/src/datainputstream.[hg|ccg]: Added read_upto(), read_upto_async()
and read_upto_finish(). Updated the read_until*() documentation to
discourage their use (apparently they will be properly deprecated eventually).
* gio/src/settings.hg: Added range_check().
* gio/src/socketclient.[hg|ccg]: Added connect_to_uri(), connect_to_uri_async()
and connect_to_uri_finish().
2010-11-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Make sure the AsyncInitable inheritance is correct.
* gio/src/dbusconnection.hg: Add a missing _IMPLEMENTS_INTERFACE() for
the AsyncInitiable interface that DBusconnection implements.
2010-11-08 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm.h: Add includes of newly wrapped API.
* gio/giomm.h: Add forgotten includes of actiongroup.h and
unixsocketaddress.h to the main giomm.h include file.
2010-11-08 Krzesimir Nowak <qdlacz@gmail.com>
ObjectBase: Fixed refcount debugging message.
* glib/glibmm/objectbase.cc: A parameter passed to g_warning() in
destroy_notify_callback() describing a name of GObject should be indeed
a name, not a pointer to GObject.
2010-11-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
UnixSocketAddress: Correct the wrapping of create() methods.
* gio/src/unixsocketaddress.hg: Remove the multi-parameter constructor
and create() method, handwriting the create() method instead to wrap
g_unix_socket_address_new_with_type() because the C function does more
than call g_object_new().
* gio/src/filelist.am: Typo.
2010-11-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add UnixSocketAddress.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GUnixSockeAddress GType to the
list of types for which signals and properties should be generated and
regenerate the signals and properties defs file.
* gio/src/filelist.am:
* gio/src/unixsocketaddress.{ccg,hg}: Add the UnixSocketAddress
sources and mention them so they are built.
* tools/m4/convert_gio.m4: Add a necessary enum conversion.
* gio/src/enums.hg: Wrap the Gio::ErrorEnum enum.
2010-11-04 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
UnixCredentialMessage, UnixFDMessage: Wrap properties correctly.
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdmessage.hg: Correct the wrapping of properties (the
arguments were interchanged).
* gio/src/application.hg: Typos.
* gio/src/socketconnectable.hg: Refine a TODO.
2010-11-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Wrap several unwrapped functions.
* gio/src/memoryoutputstream.hg: Added steal_data(), and a get_data()
constant version.
* gio/src/networkservice.hg: Added get_scheme(), set_scheme().
Wrapped the "scheme" property.
* gio/src/socket.{ccg,hg}: Added get_timeout(), set_timeout(),
receive_with_blocking() and send_with_blocking().
* gio/src/socketclient.hg: Add get_enable_proxy(), set_enable_proxy(),
get_timeout(), set_timeout() and add_application_proxy().
* gio/src/socketconnectable.hg: Added proxy_enumerate() and an
enumerate() constant version.
* gio/src/socketaddressenumerator.hg: Added TODO's.
* gio/src/actiongroup.hg: Small class docs correction.
2010-11-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Application, ActionGroup: Add Doxygen class documentation.
* gio/src/application.hg: Add class docs.
(is_valid): Renamed to id_is_valid().
* gio/src/actiongroup.hg: Added class docs.
* gio/src/dbuserror.hg: Typos.
2010-11-03 Murray Cumming <murrayc@murrayc.com>
Fix the build with glib from git master.
* glib/glibmm/main.[h|cc]: get_time(): Now returns a gint64 instead of
a GTimeSpec output parameter.
2.27.2:
2010-11-01 Murray Cumming <murrayc@murrayc.com>
Fix the build with --enable-warnings=fatal
* glib/glibmm/main.[h|cc]: get_current_time(): undef G_DISABLE_DEPRECATED
so this can build. Deprecate it to match the C API. Add get_time() which
replaces it. However, we should replace our use of it, which seems difficult.
2010-11-01 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Application: Re-wrap according to the latest API.
* gio/src/application.{ccg,hg}: Re-wrapped the API according to the
recent changes in the C API. Old methods were removed and new ones
wrapped. Also wrapped its properties.
* tools/m4/convert_gio.m4: Added necessary conversion.
2010-11-01 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add ActionGroup interface.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GActionGroup type to the extra
defs generation tool and regenerate the signal defs file to get the
signals of GActionGroup.
* gio/src/actiongroup.{ccg,hg}:
* gio/src/filelist.am: Add new ActionGroup interface sources and
mention them so they are build.
2010-10-28 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Reorder parameters to allow default values for flags.
* gio/src/dbusconnection.{ccg,hg}: Reorder the parameters in the
constructors and create methods so that the DBusConnection flag
parameter has a default value.
* gio/src/dbusproxy.hg (get_cached_property): Docs re-formatting.
2010-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusConnection: Add docs to some methods.
* gio/src/dbusconnection.hg: Add Doxygen docs to wrapped methods
without them.
* gio/src/dbusproxy.hg: Typo.
2010-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusProxy: Add get_cached_property().
* gio/src/dbusproxy.{ccg,hg}: Add get_cached_property(), wrapping
g_dbus_proxy_get_cached_property(). Also add missing _IGNORE().
2.27.1:
2010-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusProxy: Wrap call(), call_finish() and call_sync() methods.
* gio/src/dbusconnection.hg: Wrap the DBusCallFlags enum.
* gio/src/dbusproxy.{ccg,hg}: Wrap the call(), call_finish() and
call_sync() methods.
2010-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Variant: Remove floating reference on creation.
* glib/src/variant.ccg:
* glib/src/variant_basictypes.cc.m4: Modify all create methods of the
variant classes so that they remove the floating reference of the
newly created GVariants. The C API sometimes 'consumes' GVariants
with floating references (see g_dbus_proxy_call()) so this allows C++
to worry about deleting GVariants when their references are all lost.
2010-10-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
DBusProxy: Wrap properties and signals.
* tools/extra_defs_gen/generate_defs_gio.cc: Add a new section for
DBus types and add the GDBusProxy type to the gio extra defs
generation tool.
* gio/src/gio_signals.defs: Regenerate with the extra defs tool to get
the properties and signals of GDBusProxy. Some types (like GVariant
and GStrv) have to be manually edited.
* gio/src/dbusproxy.hg: Wrap properties and (one of two) signals.
* tools/m4/convert_glib.m4: Add a const-gchar* to `const
Glib::ustring&' conversion (it may be more appropriate to include it
in dbusproxy.hg for the "g-signal" signal).
2010-10-25 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
AsyncInitable: Add create_finish() wrapping an unwrapped function.
* gio/src/asyncinitable.hg: Add create_finish() wrapping
g_async_initable_new_finish(). Its not clear how useful the method
will be, but at least gmmproc does not say that it is still unwrapped.
* gio/src/dbusproxy.hg: Typo.
2010-10-21 Murray Cumming <murrayc@murrayc-desktop>
Added get_system_data_dirs() and get_system_config_dirs().
* glib/glibmm/miscutils.[h|cc]: Wrappping g_get_system_data_dirs() and
g_get_system_config_dirs(), which were actually added in glib 2.6 but
not noticed by us until now.
Notice that these return std::vector<> instead of ArrayHandle, because we
have decided to do that for new APIs.
2010-10-19 Murray Cumming <murrayc@murrayc.com>
Fix the build with the latest glib API.
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* gio/src/gio_signals.defs: Regenerated with extra_defs.
* gio/src/application.[hg|ccg]: Adapt to the changed API in glibmm,
though several functions, properties and signals are not yet wrapped.
* gio/src/dbusserver.hg: new_connection signal: Now returns a bool.
* tools/m4/convert_gio.m4: Mention the new enum.
2010-10-18 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
glibmm: ustring: Restore last block removed by #ifdef removal script.
* glib/glibmm/ustring.cc: Restore the last block that was accidentally
removed by the optional API #ifdef removal script. There were three.
Two were restored (GNOME bug #622030), but one (final one) was not.
This commit does that, restoring the file to its original condition
without the optional API #ifdefs.
2.27.0:
2010-09-28 Armin Burgmeier <armin@arbur.net>
* MSVC_Net2005/examples/compose/compose.vcproj:
* MSVC_Net2005/examples/dispatcher/dispatcher.vcproj:
* MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj:
* MSVC_Net2005/examples/keyfile/keyfile.vcproj:
* MSVC_Net2005/examples/markup/markup.vcproj:
* MSVC_Net2005/examples/options/options.vcproj:
* MSVC_Net2005/examples/properties/properties.vcproj:
* MSVC_Net2005/examples/regex/regex.vcproj:
* MSVC_Net2005/examples/resolver/resolver.vcproj:
* MSVC_Net2005/examples/socket-client/socket-client.vcproj:
* MSVC_Net2005/examples/socket-server/socket-server.vcproj:
* MSVC_Net2005/examples/thread/thread.vcproj:
* MSVC_Net2005/examples/thread_pool/thread_pool.vcproj:
* MSVC_Net2005/filelist.am:
* MSVC_Net2005/gendef/gendef.vcproj:
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/glibmm.sln:
* MSVC_Net2005/glibmm/glibmm.vcproj:
* MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj:
* MSVC_Net2005/tests/glibmm_value/glibmm_value.vcproj:
* MSVC_Net2008/examples/compose/compose.vcproj:
* MSVC_Net2008/examples/dispatcher/dispatcher.vcproj:
* MSVC_Net2008/examples/dispatcher2/dispatcher2.vcproj:
* MSVC_Net2008/examples/keyfile/keyfile.vcproj:
* MSVC_Net2008/examples/markup/markup.vcproj:
* MSVC_Net2008/examples/options/options.vcproj:
* MSVC_Net2008/examples/properties/properties.vcproj:
* MSVC_Net2008/examples/regex/regex.vcproj:
* MSVC_Net2008/examples/resolver/resolver.vcproj:
* MSVC_Net2008/examples/socket-client/socket-client.vcproj:
* MSVC_Net2008/examples/socket-server/socket-server.vcproj:
* MSVC_Net2008/examples/thread/thread.vcproj:
* MSVC_Net2008/examples/thread_pool/thread_pool.vcproj:
* MSVC_Net2008/filelist.am:
* MSVC_Net2008/gendef/gendef.vcproj:
* MSVC_Net2008/giomm/giomm.vcproj:
* MSVC_Net2008/glibmm.sln:
* MSVC_Net2008/glibmm/glibmm.vcproj:
* MSVC_Net2008/tests/giomm_simple/giomm_simple.vcproj:
* MSVC_Net2008/tests/glibmm_value/glibmm_value.vcproj:
* MSVC_Net2010/examples/compose/compose.vcxproj:
* MSVC_Net2010/examples/compose/compose.vcxproj.filters:
* MSVC_Net2010/examples/dispatcher/dispatcher.vcxproj:
* MSVC_Net2010/examples/dispatcher/dispatcher.vcxproj.filters:
* MSVC_Net2010/examples/dispatcher2/dispatcher2.vcxproj:
* MSVC_Net2010/dispatcher2/dispatcher2.vcxproj.filters:
* MSVC_Net2010/examples/keyfile/keyfile.vcxproj:
* MSVC_Net2010/examples/keyfile/keyfile.vcxproj.filters:
* MSVC_Net2010/examples/markup/markup.vcxproj:
* MSVC_Net2010/examples/markup/markup.vcxproj.filters:
* MSVC_Net2010/examples/options/options.vcxproj:
* MSVC_Net2010/examples/options/options.vcxproj.filters:
* MSVC_Net2010/examples/properties/properties.vcxproj:
* MSVC_Net2010/examples/properties/properties.vcxproj.filters:
* MSVC_Net2010/examples/regex/regex.vcxproj:
* MSVC_Net2010/examples/regex/regex.vcxproj.filters:
* MSVC_Net2010/examples/resolver/resolver.vcxproj:
* MSVC_Net2010/examples/resolver/resolver.vcxproj.filters:
* MSVC_Net2010/examples/socket-client/socket-client.vcxproj:
* MSVC_Net2010/socket-client/socket-client.vcxproj.filters:
* MSVC_Net2010/examples/socket-server/socket-server.vcxproj:
* MSVC_Net2010/socket-server/socket-server.vcxproj.filters:
* MSVC_Net2010/examples/thread/thread.vcxproj:
* MSVC_Net2010/examples/thread/thread.vcxproj.filters:
* MSVC_Net2010/examples/thread_pool/thread_pool.vcxproj:
* MSVC_Net2010/thread_pool/thread_pool.vcxproj.filters:
* MSVC_Net2010/filelist.am:
* MSVC_Net2010/gendef/gendef.vcxproj:
* MSVC_Net2010/gendef/gendef.vcxproj.filters:
* MSVC_Net2010/giomm/giomm.rc.in:
* MSVC_Net2010/giomm/giomm.vcxproj:
* MSVC_Net2010/giomm/giomm.vcxproj.filters:
* MSVC_Net2010/glibmm.sln:
* MSVC_Net2010/glibmm/glibmm.rc.in:
* MSVC_Net2010/glibmm/glibmm.vcxproj:
* MSVC_Net2010/glibmm/glibmm.vcxproj.filters:
* MSVC_Net2010/tests/giomm_simple/giomm_simple.vcxproj:
* MSVC_Net2010/giomm_simple/giomm_simple.vcxproj.filters:
* MSVC_Net2010/tests/glibmm_value/glibmm_value.vcxproj:
* MSVC_Net2010/glibmm_value/glibmm_value.vcxproj.filters:
* Makefile.am:
* configure.ac: Add MSVC2010 project files and 64 bit support.
2010-09-20 Murray Cumming <murrayc@murrayc.com>
Depend on glib 2.27.0, because we need GApplication.
* configure.ac: Increase the glib dependency.
This is the master branch.
See the glibmm-2-26 branch too.
2010-09-14 Murray Cumming <murrayc@murrayc.com>
Settings: Comment out get_destroyed() to avoid a linker error.
* gio/src/settings.[hg|ccg]: Comment out the use of g_setting_get_destroyed().
See glib bug https://bugzilla.gnome.org/show_bug.cgi?id=629621 .
2010-09-14 Murray Cumming <murrayc@murrayc.com>
DBusConnection: Fix some (useful) compilation warnings.
* gio/src/dbusconnection.[hg|ccg]: IOStream constructors and create*()
methods: Actually use the slot parameter.
2010-09-14 Murray Cumming <murrayc@murrayc.com>
giomm: Added some DBusMessage and NetworkAddress methods.
* gio/src/dbusmessage.hg: Added get_locked(), lock(), and copy().
* gio/src/networkaddress.hg: Added get_scheme() and property.
2010-09-14 Murray Cumming <murrayc@murrayc.com>
glibmm: Added VariantIter source files that I forget to git add before.
* glib/src/variantiter.[hg|ccg]: Added missing files to git.
2010-09-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBusConnection: Wrap async constructors and create methods.
* gio/src/dbusconnection.{ccg,hg}: Wrapped create(), create_finish().
Renamed the create() method accepting an address instead of an
IOStream to create_for_address(). Wrapped
create_for_address_finish(). Wrapped pertinent constructors. Wrapped
get() and get_finish().
* gio/src/dbusproxy.{ccg,hg}: Renamed create() accepting a BusType
parameter to create_for_bus(). Wrapped create_for_bus_finish().
2010-09-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBusServer: Corrected parameter order of constructor.
* gio/src/dbusserver.{ccg,hg}: Reordered the parameters of the
constructor and create() method so that the flag is the last optional
parameter.
2010-09-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add various unwrapped methods.
* gio/src/gio_methods.defs: Regenerated.
* gio/src/gio_signals.defs: Corrected GVariant parameters of the
GApplication signal defs (from GVariant to GVariant*).
* gio/src/application.hg: Wrapped "action-with-data",
"prepare-activation", and "quit-with-data" signals.
* gio/src/settings.hg: Wrapped reset(), list_children(), list_keys()
get_destroyed(), and the "writable_change_event" signal.
* gio/src/asyncinitable.hg:
* gio/src/settingsbackend.hg: Typos.
2010-09-13 Murray Cumming <murrayc@murrayc.com>
DBusMessage: Added methods.
* gio/src/dbusconnection.hg: Move DBusCapabilityFlags to dbusmessage.h.
* gio/src/dbusmessage.[hg|ccg]: Added create_from_blob(),
set/get_byte_order(), get_header_fields(), bytes_needed(), to_blob(), and
to_exception().
* gio/src/gio_enums.defs: Regenerated with enums.pl.
2010-09-13 Murray Cumming <murrayc@murrayc.com>
Add VariantIter include to glibmm.h.
* glib/glibmm.h:
* glib/src/variant.hg: Add an _IGNORE() too.
2010-09-13 Murray Cumming <murrayc@murrayc.com>
Added VariantIter.
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenerated with h2defs.py.
* glib/src/filelist.am:
* glib/src/variantiter.[hg|ccg]: Added the VariantIter class. Unfortunately
it can't be much like a std::iterator until we fix the C API - see the
comments.
* glib/src/varianttype.hg: Added an m4 line to fix the build.
2010-09-13 Murray Cumming <murrayc@murrayc.com>
VariantBase: Added a byte/guchar specialization.
* glib/src/variant_basictypes.cc.m4:
* glib/src/variant_basictypes.h.m4: Add an extra argument to the macro,
so we can handle g_variant_get_byte(), whose function/macro type name is not
the same as its C type name. Each macro only uses 2 arguments, but it is
clearer if both are the same, I think.
* glib/src/variant.hg: Mark g_variant_get_byte() as handled.
2010-09-13 Murray Cumming <murrayc@murrayc.com>
Variant: Added some methods.
* glib/src/variant.[hg|ccg]: Added get_maybe(), get_size(), get_data(),
store(), and get_n_children().
2010-09-09 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBus: Wrap D-Bus Utilities and GDBusError C functions.
* gio/src/dbuserror.{ccg,hg}:
* gio/src/dbusutils.{ccg,hg}:
* gio/src/filelist.am: Add new sources wrapping C functions from the
D-Bus Utilities and GDBusError gio DBus C API. The GBDusError
functions are wrapped in a new Gio::DBus::Error namespace.
* gio/src/dbusownname.hg:
* gio/src/dbuswatchname.hg: Typos.
2010-09-09 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBus Introspection Data Classes: Add const methods.
* gio/src/dbusintrospection.hg: Add const methods returning
DBusMethodInfo, DBusSignalInfo, DBusPropertyInfo and DBusInterfaceInfo
classes to the DBusInterfaceInfo and DBusNodeInfo classes.
* gio/src/dbusmethodinvocation.hg (get_method_info): Remove the
non-const verrsion of this method because the C API only has a version
returning a const GDBusMethodInfo.
* tools/m4/convert_gio.m4: Move the conversion
DBusMethodInvocation::get_method_info() over to the local .hg file
because it is specific to that method.
2010-09-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBusProxy: Correct the use of the DBusInterfaceInfo class.
* gio/src/dbusproxy.{ccg,hg}: Use the DBusInterfaceInfo class wrapper
instead of the C API one. The wrapper is reference counted.
(set/get_interface_info): Add these new methods, wrapping
g_dbus_proxy_set_interface_info() and
g_dbus_proxy_get_interface_info().
* gio/src/dbusmethodinvocation.{ccg,hg} (get_method_info): Add this
method, wrapping g_dbus_method_invocation_get_method_info().
* tools/m4/convert_gio.m4: Add necessary conversions.
2010-09-07 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add D-Bus Introspection Data classes.
* gio/src/dbusintrospection.{ccg,hg}:
* gio/src/filelist.am: Add new sources containing the various
introspection data classes (with their methods) representing
annotations, methods, signals, properties and interfaces for the DBus
API.
* tools/m4/convert_gio.m4: Add the necessary conversions.
2010-09-06 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBusProxy: Add constructors and create methods.
* gio/src/dbusproxy.{ccg,hg}: Add the constructors and create methods
making sure that the order of the parameters allows for the
Cancellable to be optional. Also made sure that the GDBusInterface
parameter is constant.
* gio/src/dbusconnection.ccg (DBusConnection): Rename the "observer"
property in the _CONSTRUCT macro to the correct
"authentication-observer" name used in the new function.
* gio/src/socketcontrolmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg: Correct typos in newin{}'s.
2010-09-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add initial DBusProxy implementation.
* gio/src/dbusproxy.{ccg,hg}:
* gio/src/filelist.am: Add new DBusProxy source.
* tools/m4/convert_gio.m4: Add conversions for DBusProxy.
2010-09-03 Murray Cumming <murrayc@murrayc.com>
gmmproc: Fix the annoying warnings about documentation.
* tools/pm/GtkDefs.pm: lookup_object(): Do not print a warning when the
object is found, because this is used when guessing an object name while
breaking apart a function name in DocsParser.pm.
* gio/src/filelist.am:
* gio/src/gio.defs:
* gio/src/gio_extra_objects.defs:
* glib/src/filelist.am:
* glib/src/glib.defs:
* glib/src/glib_extra_objects.defs: Added the *extra_objects.defs files,
with hand-coded define-object sections, for objects that hide their *Class
or *Iface struct declarations, which stops h2defs.py from generating
define-object sections.
These allows DocsParser.pm to know how to split mentions of C functions into
the object and the method, so it can guess the C++ method name to mention
instead.
2010-09-03 Murray Cumming <murrayc@murrayc.com>
giomm: Added remaining Proxy and ProxyResolver methods.
* gio/src/proxy.[hg|ccg]: Added connect_async().
* gio/src/proxyresolver.[hg|ccg]: Added lookup_async().
2010-09-02 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBus: watch_name(): Add DBusConnection implementation.
* gio/src/dbuswatchname.ccg (watch_name): Add this forgotten
function implementation accepting a DBusConnection instead of a
BusType.
2010-09-02 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBus: Add watch/unwatch_name().
* gio/src/dbuswatchname.{ccg,hg}:
* gio/src/filelist.am: Add watch/unwatch_name() functions to the
Gio::DBus namespace wrapping the Gio Bus Name Watching API.
2010-09-02 Murray Cumming <murrayc@murrayc.com>
giomm: Added Proxy, ProxyAddress and ProxyResolver.
* gio/src/proxy.[hg|ccg]:
* gio/src/proxyaddress.[hg|ccg]:
* gio/src/proxyresolver.[hg|ccg]: New files, not complete.
2.25.4:
2010-08-31 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: AsyncInitiable: Correct errors.
* gio/src/asyncinitable.ccg (init_async_vfunc_callback): Take an extra
reference of the cancellable when calling the member virtual method so
the cancellable is not destroyed.
(init_async_vfunc): Don't create a copy of the SlotAsyncReady because
it would have already been copied in init_async() method invocation.
2010-08-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: AsyncInitable: Wrap virtual functions.
* gio/src/gio_vfuncs.defs: Add the GAsyncInitable virutal functions.
* gio/src/asyncinitable.{ccg,hg} (init_async_vfunc): Handwrite virtual
function because of the slot parameter.
(init_finish_vfunc): Likewise, because of the GError parameter.
2010-08-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
AsyncInitable: Remove duplicate license blocks.
* gio/src/asyncinitable.hg:
2010-08-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Include header files of newly added API in main include files.
* gio/giomm.h:
* glib/glibmm.h: Include the headers of newly added API in the main
header files so the API is included automatically with the general
includes.
2010-08-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add AsyncInitable interface.
* gio/src/asyncinitable.ccg:
* gio/src/asyncinitable.hg: Add source files for AsyncInitable
interface.
* gio/src/filelist.am: Mention the asyncinitable.hg file so the
sources are built.
* gio/src/dbusconnection.hg: Have DBusConnection derive from the
AsyncInitable interface also.
2010-08-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: DBusConnection: Wrap synchronous new functions.
* gio/src/dbusconnection.ccg:
* gio/src/dbusconnection.hg: Wrap g_dbus_connection_new_sync() and
g_dbus_connection_new_for_address_sync() functions (using constructors
and create methods).
2010-08-24 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add UnixCredentialsMessage to the build.
* tools/extra_defs_gen/generate_defs_gio.cc: Uncomment the code in the
extra defs generation tool so that properties and signals for
GUnixCredentialsMessage are generated.
* gio/src/gio_signals.defs: Regenerate the signal and properties def
file to get the properties of GUnixCredentialsMessage.
* gio/src/filelist.am: Mention the unixcredentialsmessage.hg so that
it is built.
2010-08-17 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add UnixFDMessage to the build.
* gio/src/unixfdmessage.ccg: Include <gio/gunixfdmessage.h> instead
of <gio/gio.h> so that the C API function definitions are correctly
included.
* gio/src/unixcredentialsmessage.ccg: Correct the include here also,
but bug #627013 must be resolved before including
UnixCredentialsMessage in the build.
* gio/src/filelist.am: Mention the unixfdmessage.hg file so
UnixFDMessage is built. Left a TODO for UnixCredentialsMessage.
* tools/extra_defs_gen/generate_defs_gio.cc: Updated so that the tool
can be used to generate the signals and properties of GUnixFDMessage.
* gio/src/gio_signals.defs: Regenerated to get the properties of
GUnixFDMessage.
2010-08-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Regenerate the docs.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerate the docs so that documentation is
generated for methods that wrap newly added API.
2010-08-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Use ifdef in _WRAP_METHOD()s surrounded by #ifdefs.
* gio/src/credentials.hg:
* gio/src/dbusmessage.ccg:
* gio/src/dbusmessage.hg: Use the ifdef option in the _WRAP_METHOD()s
that wrap C functions that are built based on #ifdef conditions. This
allows the #ifdefs to be generated in the .cc files also.
* gio/src/unixconnection.hg (receive_credentials): Use constversion
in the _WRAP_METHOD() of the constant version so that the code of the
non-constant version is used instead of generated new code.
* gio/src/unixfdlist.hg: _IGNORE() C functions that are handwritten.
(UnixFDList): Use explicit for single parameter constructor.
2010-08-06 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
glibmm: VariantBase: Correct typo in docs.
* glib/src/variant.hg: Correct typos in class docs.
* glib/src/variant.ccg (get_normal):
(byteswap): Receive the GVariants from the C functions as const since
the variants should not be modified.
2010-08-06 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: UnixConnection: Add receive/send_credentials() methods.
* gio/src/unixconnection.hg: Add receive/send_credentials() which
the UnixCredentialsMessage docs refers to.
2010-08-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add SocketControlMessage, Unix[Credentials|FD]Message classes.
* gio/src/socketcontrolmessage.{ccg,hg}:
* gio/src/filelist.am: Add SocketControlMessage sources and mention
the .hg file so the sources are built.
* gio/src/gio_vfuncs.defs: Add virtual functions for
GSocketControlMessage.
* gio/src/unixcredentialsmessage.{ccg,hg}:
* gio/src/unixfdmessage.{ccg,hg}: Add UnixCredentialsMessage and
UnixFDmessage sources but don't mention them because the gio include
paradignm seems to be causing the C functions not to be declared upon
compilation.
* tools/extra_defs_gen/generate_defs_gio.cc: Add the
GUnixCredentialsMessage and the GUnixFDMessage types but commented out
because the types also appear not to be defined because of the gio
include paradigm.
* tools/m4/convert_gio.m4: Add necessary conversions.
2.25.3:
2010-07-30 Murray Cumming <murrayc@murrayc.com>
generate_defs_gio.cc: Added some new types.
* tools/extra_defs_gen/generate_defs_gio.cc: Added GApplication,
GSettings and GSettingsBackend.
2010-07-30 Murray Cumming <murrayc@murrayc.com>
Application: Add create_*() overloads.
* gio/src/application.[hg|ccg]: Add create_*() methods without argc and
argv parameters, because these can be NULL.
2010-07-30 Murray Cumming <murrayc@murrayc.com>
Added Gio::Application, wrapping GApplication.
* gio/src/filelist.am:
* gio/src/application.[hg|ccg]: New files. We maybe want to move some of
Glib::Main to this and deprecated Glib::Main, though it would then be
annoying to use Glib::RefPtr there.
2010-07-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Gio::DBus::[own|unown]_name().
* gio/src/dbusconnection.hg: Wrap the BusType enum and add class docs.
* gio/src/dbusownname.{ccg,hg}: Add new source files that implement
the own_name() and unown_name() functions. The functions are defined
in a Gio::DBus namesapce.
* gio/src/filelist.am: Mention the hg source file so that the sources
are built.
2010-07-30 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
VaraintBase: Use output parameters instead of returning values.
* glib/src/variant.{ccg,hg}: get_normal_form(), byteswap(): Handwrote
these methods so that output parameters can be used instead of
returning the result.
2010-07-29 Murray Cumming <murrayc@murrayc.com>
Variant: Added some methods.
* glib/src/variant.hg: Added some methods.
2010-07-29 Murray Cumming <murrayc@murrayc.com>
VariantType: Added create_*() methods.
* glib/src/glib_functions.defs: Regenerated, manually changing some
define-method lines to define-function lines.
* glib/src/varianttype.[hg|ccg]: Added create_*() methods and a
(std::string) constructor.
* tools/m4/convert_glib.m4: Added a conversion.
2010-07-29 Murray Cumming <murrayc@murrayc.com>
VariantType: Add more appropriate constructor and add Gtk::Stock-like types.
* glib/src/varianttype.[hg|ccg]: Add a cobject constructor that always copies,
and an operator= to match.
Add VariantType* objects to match the G_VARIANT_TYPE_* defines in C.
2010-07-29 Murray Cumming <murrayc@murrayc.com>
Added VariantType
* glib/src/filelist.am:
* glib/src/varianttype.[hg|ccg]: Added VariantType, though
we still need to wrap the _new_*() functions as create_*().
* tools/m4/convert_glib.m4: Added necessary conversions.
2010-07-28 Martin Braure de Calignon <braurede@free.fr>
giomm: DBusConnection: Added send_message_with_reply().
* gio/src/dbusconnection.[hg|ccg]: Added send_message_with_reply()
and send_message_with_reply_finish().
2010-07-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Gio::DBusMethodInvocation.
* gio/src/dbusmethodinvocation.{ccg,hg}:
* gio/src/filelist.am: Add source files for Gio::DBusMethodInvocation.
* tools/m4/convert_gio.m4: Add necessary conversions.
* gio/src/unixfdlist.hg: Add missing @newin{}'s.
* gio/src/dbusauthobserver.hg: Typo.
2010-07-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::Message: Wrap several methods.
* gio/src/dbusmessage.ccg:
* gio/src/dbusmessage.hg: Wrap create_method_error_literal(),
get_body(), set_body(), [get|set|unset]_unix_fd_list(). Reordered
method declarations according to the C declarations. Added class and
method docs.
* tools/m4/convert_gio.m4: Added conversions for new methods above.
2010-07-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::UnixFDList: peek_fds(): Made return const for emphasis.
* gio/src/unixfdlist.ccg:
* gio/src/unixfdlist.hg: Remove redundant paragraph in class docs.
(peek_fds): Made return const to emphasize that the file descriptors
should not be modified.
(steal_fds): Remove unnecessary const_cast<>.
2010-07-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::UnixFDList: Add params and returns in create() method docs.
* gio/src/unixfdlist.hg (create): Add @param and @return to the method
docs for clarity.
2010-07-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Gio::UnixFDList.
* gio/src/unixfdlist.ccg:
* gio/src/unixfdlist.hg:
* gio/src/filelist.am: Add the UnixFDList source files.
* gio/src/dbusserver.hg (DBusServer): Add a description line to the
class header.
2010-07-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBusServer: Use the _CONSTRUCT macro in the constructor.
* gio/src/dbusserver.ccg (DBusServer): Use the _CONSTRUCT macro in the
constructor so that its instances are constructed properly.
2010-07-25 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Gio::DBusServer.
* gio/src/dbusserver.ccg:
* gio/src/dbusserver.hg:
* gio/src/filelist.am: Add the new sources for Gio::DBusServer.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GDBusServer type to the extra defs
generation utility and regenerate the signal defs file to get the
signals and properties of GDBusServer.
* tools/m4/convert_gio.m4: Add conversions for GDBusServer.
Alphabetize the enum conversions.
* gio/src/dbusauthobserver.hg: Typos.
2010-07-25 Murray Cumming <murrayc@murrayc.com>
DBusAuthObserver: Fix the build with latest glib.
* gio/src/dbusauthobserver.hg: authorize_authenticated_peer signal:
Use no_default_handler, so we don't try to access the (totally private)
GDBusAuthObserverClass struct.
2010-07-23 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::DBusAuthObserver: Make parameters constant.
* gio/src/dbusauthobserver.[hg|ccg]:
* gio/src/filelist.am: Add the source files, this time making sure the
parameters in the methods and signals are constant because this class
is only meant to observe authentications of remote peers and tell if
the connection is valid based on the parameters. It doesn't look like
the parameters should be changed in the signal handlers.
* gio/src/gio_signals.defs:
* tools/extra_defs_gen/generate_defs_gio.cc: Add changes not included
in the addition of the Gio::DBusAuthObserver API.
* tools/m4/convert_gio.m4: Fix the conversions so that they convert
from const parameters to non-const for the C API.
2010-07-23 Murray Cumming <murrayc@murrayc.com>
Fix warnings.
* gio/src/settings.hg:
* glib/src/variant.hg: Remove extra ;s.
2010-07-23 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add Gio::DBusAuthObserver.
* gio/src/dbusauthobserver.[hg|ccg]:
* gio/src/filelist.am: Add the source files of Gio::DBusAuthObserver
and add them to the compile list.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the G_TYPE_DBUS_AUTH_OBSERVER to the
extra defs gio utility and regenerate the signals defs file with the
utility to get the signals and properties of GDBusAuthObserver.
2010-07-22 Murray Cumming <murrayc@murrayc.com>
DBusMessage: Add get_header() and set_header().
* gio/src/dbusmessage.[hg|ccg]: Add get_header(), using a VariantBase output
parameter, and set_header().
* gio/src/settings.[hg|ccg]: get_value(): Make this const too.
* tools/m4/convert_gio.m4: Added conversions.
2010-07-22 Murray Cumming <murrayc@murrayc.com>
Variant<>: Make this usable as an ouput parameter.
* glib/src/variant.[hg|ccg]: VariantBase: Added init(), like Value::init().
This just changes the gobject_, with appropriate unref and ref.
* gio/src/settings.[hg|ccg]: get_value(): Use an output parameter for the
VariantBase, instead of a return value, as we do for Value, allowing the
caller to use a derived (templated) type.
* examples/settings/settings.cc: Show how Variant<> can be used.
2010-07-22 Murray Cumming <murrayc@murrayc.com>
Settings example: Minor change.
* examples/settings/settings.cc: Remove the unnecessary use of
Glib::ustring::raw().
2010-07-22 Murray Cumming <murrayc@murrayc.com>
Variant: Added some methods.
* glib/src/variant.[hg|ccg]: ValueBase: Wrap some simple functions
with _WRAP_METHOD().
* glib/src/variant_basictypes.h.m4: Syntax changes, and make the castitem
constructor explicit.
* tools/m4/convert_gio.m4: Added necessary conversion.
We need to decide how to use this in get*() methods and add some tests.
2010-07-22 Murray Cumming <murrayc@murrayc.com>
giomm: DBusMessage: Added several methods.
* gio/src/dbusmessage.hg: Wrapped the simple functions.
* tools/m4/convert_gio.m4: Added necessary conversions.
2010-07-22 Murray Cumming <murrayc@murrayc.com>
giomm: DBusMessage: Added create_*() methods.
* gio/src/dbusmessage.hg: Added create_signal(), create_method_call() and
create_method_reply().
* tools/m4/convert_gio.m4: Added necessary conversion.
2010-07-21 Murray Cumming <murrayc@murrayc.com>
Added DBusMessage and DBusConnection::send_message().
* gio/src/gio_methods.defs: Regenerated.
* gio/src/filelist.am:
* gio/src/dbusmessage.[hg|ccg]: New wrapper for GMessage, with no methods
yet.
* gio/src/dbusconnection.hg: Added send_message().
* tools/m4/convert_gio.m4: Added necessary conversions.
* gio/src/credentials.hg: Uncommented out some methods now that the .defs
are correct.
* gio/src/socket.hg: Added get_credentials().
2010-07-21 Murray Cumming <murrayc@murrayc.com>
giomm: Added Credentials and DBusConnection::get_peer_credentials().
* gio/src/gio_enums.defs: Regenerated.
* gio/src/filelist.am:
* gio/src/credentials.[hg|ccg]: New wrapper for GCredentials.
* gio/src/dbusconnection.hg: Added get_peer_credentials().
2010-07-15 Murray Cumming <murrayc@murrayc.com>
Fix the build for a GDBusConnection API change.
* gio/src/gio_methods.defs:
* gio/src/gio_unix_functions.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenerate.
* glib/src/gdbusconnection.[hg|ccg]: Made close() async, adding close_finish()
and close_sync().
Added flush(), flush_finish() and flush_sync().
2010-06-29 Murray Cumming <murrayc@murrayc.com>
Added DBusConnection
* gio/src/gio_enums.defs: Regenerated with tools/enums.pl.
* gio/src/filelist.am:
* gio/src/dbusconnection.[hg|ccg]: Added DBusConnection with just the
simplest methods.
I might put this in a GDBus namespace, and maybe even in a separate library.
2010-06-24 Murray Cumming <murrayc@murrayc.com>
Simplify VariantBase .hg code and use it in Settings.
* glib/src/variant.[hg|ccg]: Use CLASS_OPAQUE_COPYABLE() instead of
_CLASS_GENERIC() to avoid writing some stuff manually. This seems to be OK.
Do not include the C header in our .h file.
* tools/m4/convert_gio.m4: Added GVariantBase conversions.
* gio/src/settings.hg: Added get_value() and set_value().
2010-06-22 Murray Cumming <murrayc@murrayc.com>
Clean up glib_functions.defs.
* glib/src/glib_functions.defs: Remove bad definitions of function-pointers
that cause annoying warnings during the build.
2010-06-19 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Glib::Variant<>: Use gmmproc files so wrapping is not done manually.
* glib/src/glib_functions.defs: Regenerate to get the GVariant
functions.
* glib/src/variant.ccg:
* glib/src/variant.hg:
* glib/src/filelist.am: Add the new .hg and .ccg files and mention
them. Wrapping is now done using gmmproc instead of handwriting the
methods.
* glib/glibmm/variant.cc:
* glib/glibmm/variant.h:
* glib/glibmm/filelist.am: Remove these files and their mentions
because now they are written as .hg and .ccg files.
* glib/src/variant_basictypes.h.m4: Add docs.
2010-06-19 Koop Mast <kwm@freebsd.org>
Restore lost #else block to fix build without __STDC_ISO_10646__
* glib/glibmm/ustring.cc: Add back an #else block that was probably lost
while automatically removing the no-exceptions #if/#else code.
2010-06-18 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Preliminary implementation of Glib::Variant<> classes.
* glib/glibmm/variant.cc:
* glib/glibmm/variant.h:
* glib/src/variant_basictypes.cc.m4:
* glib/src/variant_basictypes.h.m4: Add an initial implementation of
of the Glib::Variant<> classes which wrap glib's GVariant API.
2.25.2:
2010-06-18 Murray Cumming <murrayc@murrayc.com>
Settings: Fix the build with the latest glib.
* gio/src/settingsbackend.[hg|ccg]: Add this interface. Notice the
comment about the semi-private get_type() function.
* gio/src/filelist.am: Mention the new files.
* gio/src/settings.hg: Adapt to the changed glib API, using
a SettingsBackend backend instead of a string context.
2010-06-08 Murray Cumming <murrayc@murrayc.com>
Use GLIBMM_DISABLE_DEPRECATED on StreamIoChannel.
* glib/glibmm/streamiochannel.[h|cc]: Put #ifndef GLIBMM_DISABLE_DEPRECATED
around this long-since-deprecated class.
2010-06-08 Murray Cumming <murrayc@murrayc.com>
Remove a junk line from VolumeMonitor.hg.
* gio/src/volumemonitor.hg: Remove this line because it must have been
an accidental paste or some other confusion:
gboolean (*is_supported) (void);
It is API but not anything anybody ever would have used.
2.25.1:
2010-06-07 Daniel Elstner <danielk@openismus.com>
Do not install the schema of the gsettings example
* examples/Makefile.am: Do not install the schema file of the settings
example to the user's system. Instead, compile the binary shema cache
in a local directory and have the example use that. As a side effect,
this also resolves the "make distcheck" failure when trying to install
the schema.
* examples/settings/settings.cc (main): Do not try to determine the
schema directory from the executable name, as it depends too much on
the libtool setup with the hidden .libs directory being part of the
path name. Requiring the user to change to the example directory is
good enough. Also, initialize the C++ locale on program startup, and
call Gio::init() instead of Glib::init().
(on_key_changed): Call ustring::raw() to suppress the locale-aware
comparison ustring performs by default.
2010-06-06 Murray Cumming <murrayc@murrayc.com>
Documentation: Mention module names in Enums and Flags doxygen groups.
* tools/m4/enum.m4: Add the module name (such as gdkmm or gtkmm) to the
doxygen Enums and Flags groups, to avoid duplicate names appearing in the
Modules list.
2010-06-06 Murray Cumming <murrayc@murrayc.com>
Settings: Fix the build with the latest glib from git master.
* gio/src/gio_methods.defs: Remove extra length parameters, removed from the
C API. This is a generated file, but this change is simple.
* gio/src/settings.[hg|ccg]: get_string_array(), set_string_array():
Remove the length parameter, and just use _WRAP_METHOD() now that it is simple
enough for that.
* tools/m4/convert_gio.m4: Add a necessary conversion.
* glib/src/glib_functions.defs: Remove some bad unused definitions that
were causing annoying warnings.
2010-06-06 Murray Cumming <murrayc@murrayc.com>
Remove default conversion to StringArrayHandle
* tools/m4/convert_gio.m4: Remove a default conversion from char** to
StringArrayHandle, because there can be no good default, because each use
can have different ownership, so it risks hiding an error.
* gio/src/drive.hg:
* gio/src/fileinfo.hg:
* gio/src/filenamecompleter.hg:
* gio/src/volume.hg: Add a local #m4 conversion instead.
One day we will have the new introspection information (with the ownership)
available to gmmproc so we don't need to do this.
2010-06-04 Chris KĆ¼hl <blixtra@gmail.com>
Removal of length parameter for g_settings_[gs]et_strv
* gio/src/settings.ccg: Removed length parameter from
get_string_array and set_string_array.
2010-06-04 Murray Cumming <murrayc@murrayc.com>
Avoid compiler warning.
* examples/settings/settings.cc: Comment out an unused paramter to
fix a compiler warning, to partly fix the distcheck.
2010-06-02 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Gio::Settings: [get|set]_strv(): Rename to [get|set]_string_array().
* gio/src/settings.ccg:
* gio/src/settings.hg ([get|set]_strv): Rename to *_string_array()
which is more readable.
2010-06-01 Jonathon Jongsma <jonathon@quotidian.org>
* configure.ac: use GLIB_GSETTINGS
* examples/Makefile.am: fix the settings example to use the new m4
macros shipped with glib. The previous method was breaking 'make
dist'
2010-06-01 Murray Cumming <murrayc@murrayc.com>
Add missing GLIBMM_VFUNCS_ENABLED to avoid breaking existing code.
* glib/glibmmconfig.h.in: Added missing GLIBMM_VFUNCS_ENABLED.
2010-06-01 Murray Cumming <murrayc@murrayc.com>
Gio::Settings: Make get_has_unapplied() const.
* gio/src/settings.hg: get_has_unapplied(): Make this const.
2010-05-31 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Wrapped new glib-2.26 methods.
* configure.ac: Bump the glib requirement up to 2.25.7 because of the
new methods that are wrapped.
* glib/src/glib_docs.xml:
* glib/src/glib_functions.defs: Regenerate to get new methods and the
docs for them.
* glib/src/keyfile.ccg:
* glib/src/keyfile.hg (get_boolean): Added method overload (as other
get_*() methods have).
(get_int64, get_uint64, set_int64, set_uint64):
* glib/src/regex.hg (get_compile_flags, get_match_flags): Wrapped new
methods.
* gio/src/settings.hg:
* gio/src/socket.hg: Add some forgotten _IGNORE's and @newin{}'s.
2010-05-31 Murray Cumming <murrayc@murrayc.com>
Remove the reduced API options and code, as discussed on mailing list.
* configure.ac: Removed the --enable-api-exceptions, --enable-api-properties,
--enable-api-vfuncs and --enable-api-default-signal-handlers options.
* build/reduced.m4: Removed.
* tools/m4/*.m4:
* tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API.
* *.[hg|ccg|h|cc]: Remove the idefed code.
2010-05-30 Daniel Elstner <danielk@openismus.com>
Avoid compiler warning in TimeVal::as_double()
* glib/glibmm/timeval.h (TimeVal::as_double): Cast long int operands
to double explicitly, to avoid a conversion warning due to possible
loss of precision. Reported by Alexander Shaduri, GNOME bug #617463.
2010-05-28 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Settings: Add [get|set]_strv().
* gio/src/settings.ccg:
* gio/src/settings.hg: Added [get|set]_strv(). Also added a
get_child() const version. Reordered signal wrappings to reflect the
order of the C API docs.
2010-05-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
OptionGroup: set_translate_slot(): Rename to set_translate_func().
* glib/src/optiongroup.ccg:
* glib/src/optiongroup.hg set_translate_slot(): Rename to
set_translate_func() which is more like the C API's name.
2010-05-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
OptionGroup: Add set_translate_slot().
* glib/src/optiongroup.ccg:
* glib/src/optiongroup.hg: Wrap g_option_group_set_translate_func().
2010-05-25 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Add _IGNORE's for g_iconv().
* glib/src/date.hg:
* glib/src/fileutils.hg:
* glib/src/markup.hg:
* glib/src/optionentry.hg:
* glib/src/shell.hg:
* glib/src/spawn.hg:
* glib/src/thread.hg:
* glib/src/unicode.hg:
* glib/src/uriutils.hg: For some reason, gmmproc thinks that g_iconv
should be wrapped in these files so include _IGNORE's so that it is
clear what has not been wrapped yet.
2010-05-25 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Wrap a couple of unwrapped methods.
* gio/src/desktopappinfo.hg: Wrap get_filename().
* glib/src/keyfile.hg: Wrap load_from_dirs().
* glib/src/convert.hg:
* glib/src/valuearray.hg: some _IGNORE()'s.
2010-05-05 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gmmproc: Quote the property docs to avoid losing text after commas.
* tools/pm/Output.pm: Quote the property docs for the _PROPERTY_PROXY
macros by first changing the quotes, quoting the docs and then
changing the quotes back. This avoids losing the contents after
possible commas in property docs. (Using the standard m4 quotes
leaves trailing single quotes for some reason).
Fixes Bug #603930 (Jonatan Olofsson).
2010-05-03 Murray Cumming <murrayc@murrayc-x61>
Documentation: Add more links to main page, and mention giomm.
* glib/glibmm.h: Add more doxggen links to groups and classes, based on
http://www.gtkmm.org/documentation.shtml and a look at the classes list.
Mention giomm features and add giomm to the pkg-config calls and mention
giomm.h
2010-04-29 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
gio_docs.xml: Regenerate with the new doc extraction tool.
* gio/src/gio_docs.xml: Regenerate docs with the latest
docextract_to_xml.py in pygobject to get better docs in general.
2010-04-27 David King <davidk@openismus.com>
Further changes to main page documentation
* glib/glibmm.h: Some minor changes to the main page documentation.
2010-04-23 David King <davidk@openismus.com>
Improvements to main page documentation
* glib/glibmm.h: Add external links and compilation example.
2010-04-22 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* configure.ac: require glib 2.25.1 for GSettings
2010-04-17 Alex VallƩe <alex@alexvallee.com>
Wrap function g_listenv().
* glib/glibmm/miscutils.[h|cc]: Add wrap function Glib::listenv(). Fixes
bug #578355.
2010-04-21 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* .gitignore:
* examples/Makefile.am:
* examples/settings/org.gtkmm.demo.gschema.xml: Added.
* examples/settings/settings.cc: Added.
* gio/giomm.h: include settings header here
Add a basic Gio::Settings example
2010-04-20 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/filelist.am:
* gio/src/gio_signals.defs:
* gio/src/settings.ccg: Added.
* gio/src/settings.hg: Added.
* tools/extra_defs_gen/generate_defs_gio.cc:
* tools/m4/convert_gio.m4: Initial implementation of Gio::Settings
2010-04-20 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/gio_docs.xml
* gio/src/gio_enums.defs
* gio/src/gio_methods.defs: re-generate defs to start wrapping
GSettings stuff
2010-04-16 David King <davidk@openismus.com>
Add main page to Doxygen documentation
* docs/Makefile.am: Parse glib/glibmm.h for documentation.
* glib/glibmm.h: Add main page to Doxygen documentation.
2.24.1:
2010-04-13 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
One more regeneration of docs to avoid gmmproc parsing errors.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerated with a fixed
docextract_to_xml.py script to avoid parsing errors by &...;
expressions that gmmproc does not understand.
2010-04-12 Armin Burgmeier <armin@arbur.net>
* examples/compose/main.cc: Don't use ustring::format with std::fixed
with MSVC 2005 or below (see #599340).
* MSVC_Net2005/examples/compose/compose.vcproj:
* MSVC_Net2005/glibmm.sln:
* MSVC_Net2008/examples/compose/compose.vcproj:
* MSVC_Net2008/glibmm.sln: Added the compose example for both MSVC
versions.
2010-04-12 Alex Vallee <avallee@hotmail.com>
UnixOutputStream: Fix the constructor to use the correct property name.
* gio/src/unixoutputstream.hg: Correct the constructor parameter name
used in the _WRAP_CTOR() call. We had already fixed the property name
but had forgotten to fix this, which affects the generated implementation.
Fixes bug #615482
2010-04-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Regenerate docs with the new docextract_to_xml.py script.
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerated with the new documentation
extraction script to take advantage of the new generation method it
uses.
2010-04-02 Armin Burgmeier <armin@arbur.net>
* examples/network/resolver.cc:
* examples/network/socket-client.cc: Fix the build with MSVC.
* glib/glibmmconfig.h.in: Enable GLIBMM_HAVE_WIDE_STREAM with MSVC.
* tools/extra_defs_gen/generate_defs_gio.cc: Fix the Windows build by
ifdefing-out G_TYPE_UNIX_CONNECTION.
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/glibmm/glibmm.vcproj:
* MSVC_Net2008/giomm/giomm.vcproj:
* MSVC_Net2008/glibmm/glibmm.vcproj: Added new source and header files
to the Visual Studio projects.
* MSVC_Net2005/examples/resolver/resolver.vcproj:
* MSVC_Net2005/examples/socket-client/socket-client.vcproj:
* MSVC_Net2005/examples/socket-server/socket-server.vcproj:
* MSVC_Net2005/glibmm.sln:
* MSVC_Net2005/filelist.am:
* MSVC_Net2008/examples/resolver/resolver.vcproj:
* MSVC_Net2008/examples/socket-client/socket-client.vcproj:
* MSVC_Net2008/examples/socket-server/socket-server.vcproj:
* MSVC_Net2008/glibmm.sln:
* MSVC_Net2008/filelist.am: Added the new examples to the projects.
2.24.0:
Updated configure and NEWS for the stable release.
2.23.4:
2009-03-26 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
Gio::File: Add TypeTraits to fix Gtk::FileChooser::get_files() in gtkmm.
* gio/src/file.hg: add TypeTraits to allow concrete implementations
of GFile to be wrapped properly. For example, this fix allows
Gtk::FileChooser::get_files() to work properly (Fixes #590940)
2010-03-26 Murray Cumming <murrayc@murrayc.com>
Add regression test for Bug #613250.
* tests/Makefile.am
* tests/glibmm_ustring_format/main.cc: Added a regression test for the
previously-commited fix, based on code in bug #613250 from Debarshi Ray.
2010-03-20 Debarshi Ray <debarshir@src.gnome.org>
Bug #613250 - Overload Glib::ustring::FormatStream::stream for char *.
* glib/glibmm/ustring.[h|cc]: Add a FormatStream::stream(char*) override
because otherwise the templated stream() is called, which results in
corrupted data.
2010-03-24 Murray Cumming <murrayc@murrayc.com>
ThemedIcon: Added get_names().
* gio/src/themedicon.[hg|ccg]: Add get_names() manually because we have
a strange error when trying to use _WRAP_METHOD() for it.
Bug #612584 (Markus Schwab)
2010-03-23 Alexey Kosilin <kosilin@gmail.com>
MemoryInputStream: Correct data loss/corruption with binary data.
* gio/src/memoryinputstream.ccg: add_data(): Use g_memdup() instead of
g_strdup() on data that could have a null in the middle.
Bug #609552 (Holger Seelig)
2010-03-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Revert accidentally pushed commits.
* ChangeLog-ValueArrayTest:
* ChangeLog.local:
* tests/glibmm_valuearray/main.cc:
* tools/docextract_to_xml.pl: Revert accidentally pushed commits which
should be pushed with bugs that were filed.
2010-03-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Regenerate defs files.
* gio/src/gio_enums.defs:
* gio/src/gio_methods.defs:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gmodule_enums.defs:
* glib/src/gmodule_functions.defs:
* glib/src/gobject_enums.defs:
* glib/src/gobject_functions.defs: Regenerate defs file, particularly
the enum defs file with the new enum generation tool.
2010-03-10 David King <davidk@openismus.com>
Reorder assignment to LDADD and giomm_ldadd in tests/Makefile.am
* tests/Makefile.am: Reorder values assigned to LDADD and
giomm_ldadd to place built libraries before system libraries.
Fixes GNOME bug #610854.
2.23.3:
2010-03-08 Krzesimir Nowak <qdlacz@gmail.com>
Updated enum.pl script.
* tools/enum.pl: Updated to work with `use strict' and
`use warnings', prints original enums in comments above every enum
defs, added --omit-deprecated (just omits everything deprecated)
option, handles most of enums and flags (especially flags!)
properly, generates proper nicks for enums with one value, prints
warnings to stderr about several stuff, uses some primitive
heuristics to detect whether an enum is enum or flags. It is
a better hack, but still a hack.
2010-01-28 Murray Cumming <murrayc@murrayc.com>
AsyncResult: Add get_source_object_base(), deprecating get_source_object().
* gio/asyncresult.[hg|ccg]: Deprecate get_source_object(), replacing it
with get_source_object_base(), because in giomm, the C++ wrapper object
might be a Glib::Interface, but not a Glib::Object (though the underlying
C instance must be a GObject). This happens if giomm does not know about
the GType of the underlying C Object, which is a legitimate situation.
* tests/giomm_asyncresult_sourceobject/main.cc: Added this test case
from Michael Hasselmann, from bug #608269.
2010-03-08 Murray Cumming <murrayc@murrayc.com>
Regenerated more .defs.
* gio/src/gio_enums.defs:
* glib/src/glib_enums.defs: Regenerated with enums.pl
* gio/src/gio_methods.defs: Regenerated with h2defs.py
2010-03-08 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_functions.defs: Regenerated with h2defs.py.
2010-03-08 Debarshi Ray <debarshi.ray@gmail.com>
Bug #611521 - Free Gio::SlotFileProgress (and friends) at completion
* gio/src/file.ccg:
The Gio::SlotFileProgress slots (and their friends) used in operations like
Gio::File::copy, Gio::File::copy_async and Gio::File::move should not freed
when their C callbacks are invoked for the first time. Instead they should be
freed after the operation has completed.
2010-02-27 Daniel Elstner <daniel.kitta@gmail.com>
Avoid compiler warning in resolver example
* examples/network/resolver.cc (interrupted): Check the return value
of the write() call to avoid a warning from GCC. Save and restore
the value of errno to make the signal handler reentrant. Get rid of
the signal() call to re-establish the default handler, as there is
not much of a point in doing so for this handler.
(main): Create the pipe before installing the signal handler.
2010-02-22 Michael <space3000@gmail.com>
Gio::MemoryInputStream::add_data(): Minor documentation fix.
* gio/src/memoryinputstream.hg: Move a deprecation warning to the
correct method overload.
2010-02-06 Murray Cumming <murrayc@murrayc.com>
IOStream: get_input_stream(), get_output_stream(): Fix reference counting.
* gio/src/iostream.hg: get_input_stream(), get_output_stream(): Use refreturn
to avoid a crash as mentioned in bug #607554.
2010-02-06 Murray Cumming <murrayc@murrayc.com>
MemoryOutputStream: Add properties.
* gio/src/gio_signals.defs: Regenerated.
* gio/src/memoryoutputstream.hg: Add properties, as suggesed in bug #605710.
2010-02-06 Krzysztof KosiÅski <tweenk.pl@gmail.com>
MemoryOutputStream: Fix the constructor.
* gio/src/memoryoutputstream.hg: Constructor and create(): Rename the len
parameter to size, to match the properties, so the constructor works.
Bug #605710
2.23.2:
2010-02-05 Murray Cumming <murrayc@murrayc.com>
UnixInputStream: Fix the constructor.
* gio/src/unixinputstream.hg: Constructor and create(): Rename the
close_fd_at_close parameter to close_fd to match the properties (and the
C function), so our constructor works.
Bug #608665 (Matt Marsh)
2010-01-29 Murray Cumming <murrayc@murrayc-desktop>
Regenerated method .defs. Added a Resolver signal.
* gio/src/gio_enums.defs: Removed GSocketMsgFlags because it contained
an #error and the values are non-numeric anyway.
* gio/src/gio_methods.defs: Regenerated with h2defs.py
* glib/src/glib_functions.defs: Regenerated with h2defs.py, removing
badly-generated ones that try to mention function pointers.
* gio/src/resolver.hg: Added reload signal.
2010-01-29 Murray Cumming <murrayc@murrayc.com>
Use 0 instead of NULL.
* gio/src/*.ccg
* glib/src/*.ccg: Use 0 instead of NULL because this is C++ where
NULL is generally not a good idea. I didn't see any places where it
was a real problem though.
2010-01-29 Murray Cumming <murrayc@murrayc.com>
Use Glib::unwrap() instead of ->gobj(),
* gio/src/*.ccg: Use Glib::unwrap() instead of ->gobj(), so we don't
crash if people pass in null RefPtr<>s, which they might do by
accident, or if we have not wrapped all the may-be-null cases as
method overrides.
2010-01-29 Murray Cumming <murrayc@murrayc.com>
File: Added has_parent() and supports_thread_contexts().
* gio/src/file.[hg|ccg]: Added has_parent(), supports_thread_contexts().
2010-01-28 Murray Cumming <murrayc@murrayc.com>
File: Added start_mountable(), stop_mountable(), poll_mountable().
* gio/src/drive.[hg|ccg]:
* gio/src/mount.hg:
* gio/src/volume.hg: Change some includes to allow file.h to include
more.
* gio/src/file.[hg|ccg]: Added start_mountable(), stop_mountable(),
poll_mountable() and the *_finish() methods. The awful documenation
will be improved when I have improved it (tomorrow) for the C functions.
2010-01-28 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg: Correct/Add newin2p* doxygen comments.
2010-01-28 Murray Cumming <murrayc@murrayc.com>
File: Added create_file_readwrite() and creat_file_readwrite_async().
* gio/src/file.[hg|ccg]: Added create_file_readwrite(),
create_file_readwrite_async() and create_file_readwrite_finish().
2010-01-28 Murray Cumming <murrayc@murrayc.com>
File: unmount_mountable(), eject_mountable(): Add overrides with MountOperation.
* gio/src/file.[hg|ccg]: unmount_mountable(), eject_mountable():
Reimplement these with the new *_with_operation functions.
Undeprecate them - that should not have happened without replacements.
Added unmount_mountable() and eject_mountable() overrides with
MountOperation parameters. Unfortunately there are now 6 of each.
2010-01-28 Murray Cumming <murrayc@murrayc.com>
File, Cancellable: Added some new methods.
* gio/src/cancellable.hg: Added release_fd() and make_polldf().
* gio/src/file.[hg|ccg]: Added open_readwrite(), open_readwrite_async()
and finish_readwrite().
Added replace_readwrite(), replace_readwrite_async() and
finish_replace_readwrite().
* tools/m4/convert_gio.m4:Added conversion for FileIOStream.
* glib/src/glib_enums.defs: Fix an #error that enum.pl has put there
for some reason.
Missing ChangeLog entry from Alexander Shaduri: (Committed by Jonathan Jongsma)
2010-01-06 Bug #594173 - NodeTree::get_root() violates const-correctness
Missing ChangeLog entry from Krzesimir Nowak: (Committed by Jonathan Jongsma)
2010-01-06 Bug #606100 - Fix wrapping properties.
Missing ChangeLog entries from Jonathan Jongsma:
2010-01-06 Bug #606146 - Relax the glib requirement
2010-01-06 Rename btree.* to balancedtree.*
2010-01-06 Fix up some formatting issues for BalancedTree
Missing ChangeLog entries from SzilƔrd Pfeiffer: (Committed by Jonathan Jongsma)
2010-01-06 Implement GTree wrapper
2010-01-06 Implemented reference counting for BalancedTree.
2010-01-06 Fixed several bugs of balanced binary tree wrapper.
2.23.1:
2010-01-05 Daniel Elstner <daniel.kitta@gmail.com>
Fine-tune Doxygen configuration to improve output
* docs/reference/Doxyfile.in (SHOW_INCLUDE_FILES): Enable option, as
it looks better than SHOW_USED_FILES and can be adjusted by means of
the @headerfile command.
(SHOW_USED_FILES): Disable.
(ALPHABETICAL_INDEX): Enable alphabetical class index.
(PREDEFINED): Predefine G_GNUC_INTERNAL in anticipation of explicit
symbol visibility attributes.
(CLASS_DIAGRAMS): Enable to get class inheritance graphs without any
of the other graph options.
(DOT_FONTNAME): Change to Sans to avoid the bad hinting for FreeSans
at least on my system, which resulted in blurry graph labels.
(COLLABORATION_GRAPH), (GROUP_GRAPHS), (TEMPLATE_RELATIONS): Disable
additional graphs to reduce the noise.
Missing ChangeLog entries from Jonathan Jongsma:
2010-01-04 A bunch of minor doxygen cleanups around the tree
2010-01-04 wrap g_socket_connection_factory_create_connection()
2010-01-04 Add non-cancellable versions of a bunch of SocketClient functions
2.23.0:
2009-12-16 Armin Burgmeier <armin@arbur.net>
* gio/giomm.h: Don't include files on Windows that are not available
on that platform.
2009-12-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
Make build successful when exceptions, vfuncs, etc. are disabled.
* gio/src/iostream.hg (close): Include a definition for when
exceptions are disabled.
* glib/src/keyfile.ccg: Correct some typos related to exceptions
disabled.
* gio/src/socket.ccg:
* gio/src/socket.hg: Included definitions and code for when
exceptions are disabled.
* gio/src/resolver.ccg (hostname_to_ascii):
(hostname_to_unicode): Included returns to avoid warnings.
2009-10-23 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
Re-enable Network IO stuff (Socket, Resolver, etc)
* .gitignore:
* examples/Makefile.am:
* examples/network/resolver.cc: Ported example from glib
* examples/network_io/resolve.cc: Removed.
* gio/giomm.h: Add network headers
* gio/src/error.hg: Add ResolverError
* gio/src/inetaddress.ccg:
* gio/src/inetaddress.hg: Fix broken constructor
* gio/src/resolver.ccg:
* gio/src/resolver.hg: Added a few missing free functions
2009-11-23 Murray Cumming <murrayc@murrayc.com>
Regex: Slight documentation improvement.
* tools/m4/class_opaque_refcounted.m4: refererence()/unreference():
Use the same doxygen comments as on ObjectBase::reference/unreference()
so this shows up, for instance, on Glib::Regex.
2009-10-22 Armin Burgmeier <armin@arbur.net>
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/glibmm/glibmm.vcproj:
* MSVC_Net2008/giomm/giomm.vcproj:
* MSVC_Net2008/glibmm/glibmm.vcproj: Added new files in 2.22 to the
projects.
* MSVC_Net2005/examples/keyfile/keyfile.vcproj:
* MSVC_Net2005/examples/properties/properties.vcproj:
* MSVC_Net2005/examples/regex/regex.vcproj:
* MSVC_Net2008/examples/keyfile/keyfile.vcproj:
* MSVC_Net2008/examples/properties/properties.vcproj:
* MSVC_Net2008/examples/regex/regex.vcproj: Added projects for these
examples.
* MSVC_Net2005/glibmm.sln:
* MSVC_Net2008/glibmm.sln:
* MSVC_Net2005/filelist.am:
* MSVC_Net2008/filelist.am: Added the new projects.
2009-09-21 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS:
* configure.ac: update for 2.22.1 release
2009-09-21 Daniel Elstner <danielk@openismus.com>
Fix KeyFile build with exceptions disabled
* glib/src/keyfile.hg (Glib::KeyFile): Correct repeated syntax
error in the code that is built when GLIBMM_EXCEPTIONS_ENABLED
is not defined. Also remove the bogus default argument values
appearing in the middle of the argument list.
2009-09-21 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS:
* configure.ac: update for 2.22.0 release
2009-09-19 Daniel Elstner <daniel.kitta@gmail.com>
Support Automake silent rules
* configure.ac: Call the AM_SILENT_RULES macro if it is defined.
(AM_INIT_AUTOMAKE): Add check-news option.
* glib/src/Makefile.am: Prefix the M4 command line with $(AM_V_GEN)
in order to support the silent rules feature of Automake.
2009-09-17 Daniel Elstner <danielk@openismus.com>
Do not complain about missing docs_override.xml
* tools/pm/DocsParser.pm (read_defs): Print error messages to
standard error. Do not complain if the docs_override.xml file
is missing, since it is no longer necessary.
2009-09-13 Daniel Elstner <daniel.kitta@gmail.com>
Enable verbose output of autoreconf
* autogen.sh: Pass --verbose option to autoreconf.
2009-09-11 Daniel Elstner <danielk@openismus.com>
Correctly quote the extracted comment for M4
* tools/pm/WrapParser.pm (extract_preceding_documentation): Add M4
quotes around the extracted comment, since it may contain sequences
of end-quote + macro + start-quote.
2009-09-11 Daniel Elstner <danielk@openismus.com>
Slightly clean up gross Perl code in gmmproc.in
* tools/gmmproc.in: Try not to abuse Perl too much, and get rid of
the 'no warnings' hammer.
2009-09-10 Daniel Elstner <danielk@openismus.com>
Allow the C documentation to be overridden
* tools/pm/WrapParser.pm (extract_preceding_documentation): Factor
the code from on_wrap_enum() to extract a preceding comment block
into a separate subroutine.
(on_wrap_method): Invoke extract_preceding_documentation() to
extract a preceding Doxygen comment, and if one was found allow
it to override the inherited C documentation.
2009-09-10 Daniel Elstner <danielk@openismus.com>
Fix broken test for empty _WRAP_METHOD argument
* tools/pm/DocsParser.pm: Escape variable values substituted into
regular expressions.
* tools/pm/Output.pm (output_wrap_property): Transliterate using
tr/// instead of s///g.
* tools/pm/WrapParser.pm: Correct a number of worst offenders among
all the bad Perl code.
(on_wrap_{ctor,method,corba_method}): Instead of testing whether
the prototype argument does not consist solely of non-whitespace
characters, actually do what the accompanying comment claimed and
test whether the argument is empty or consists only of whitespace.
The only reason this age-old bug was never triggered is that there
is always at least one whitespace character in a prototype, namely
between the return type and the function name. The only exception
would be the default constructor, which however just so happens to
have its own special _CTOR_DEFAULT macro.
In a nutshell, the bug itself was broken and failed to properly
break things.
2009-09-10 Daniel Elstner <danielk@openismus.com>
Re-enable input file line markers in gmmproc
* tools/pm/WrapParser.pm: Replace hairy uses of scalar(@array)
to get the number of array elements by $#array, which returns
the index of the last element.
(read_file): Re-enable the commented
code which used to insert input file and line information into
the token list.
(parse_and_build_output): Use a simple regular expression to
match the start of a string instead of messing with substr().
2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* examples/Makefile.am:
* gio/giomm.h:
* gio/src/filelist.am: disable more network io stuff that was
causing distcheck to fail
2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS: update for release
* configure.ac: increment version to 2.21.5
2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/filelist.am: disable network IO stuff for now since it's
too close to the stable release and we don't want to have unfinished
API that isn't well-tested.
2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/inetaddress.hg:
* gio/src/networkaddress.hg:
* gio/src/networkservice.hg:
* gio/src/resolver.hg:
* gio/src/socket.hg:
* gio/src/socketaddress.hg:
* gio/src/socketaddressenumerator.hg:
* gio/src/socketconnectable.hg:
* gio/src/srvtarget.hg: add all network io classes to a new doxygen
NetworkIO module
2009-09-08 Daniel Elstner <danielk@openismus.com>
Implement Gio::Socket ctors using Gio::Initable
* gio/src/gio_vfuncs.defs: Add GInitableClass::init() vfunc.
* gio/src/initable.{ccg,hg} (Initable::init): Use _WRAP_METHOD().
(Initable::init_vfunc): Wrap GInitableClass::init() vfunc.
* gio/src/socket.{ccg,hg} (Socket::Socket): Wrap constructors
manually. Call Initable::init() from the constructor body.
(Socket::create), (Socket::create_from_fd): Forward to constructors.
* tools/m4/convert_gio.m4: Add conversion from GCancellable* to
const Glib::RefPtr<Cancellable>&.
2009-09-07 Daniel Elstner <danielk@openismus.com>
Officially deprecate GLIBMM_CHECK_PERL macro
* build/glibmm_check_perl.m4 (GLIBMM_CV_PERL_VERSION): Define with
m4_define() so that the macro is only visible internally.
(GLIBMM_CHECK_PERL): Define as deprecated macro using AU_DEFUN().
2009-09-03 Daniel Elstner <danielk@openismus.com>
Sanitize the Glib::Cond usage example
* glib/src/thread.hg (Glib::Cond): Sanitize the usage example.
2009-09-02 Daniel Elstner <danielk@openismus.com>
Remove sigc from the Doxygen excluded symbols
* docs/reference/Doxyfile.in (EXCLUDE_SYMBOLS): Stop excluding
the sigc namespace from the documentation since it apparently
also removes the links to external documentation. Also, with
the latest changes in libsigc++ it seems no longer necessary to
suppress the symbol.
2009-09-01 Daniel Elstner <daniel.kitta@gmail.com>
Increment version to glibmm 2.21.4.2
* configure.ac (AC_INIT): Increment version to 2.21.4.2.
* NEWS: Write news entry for glibmm 2.21.4.2 release.
2009-09-01 Daniel Elstner <daniel.kitta@gmail.com>
Update Doxygen configuration for Doxygen 1.6.1
* docs/reference/Doxyfile.in: Update configuration template using
Doxygen 1.6.1.
(SORT_MEMBERS_CTORS_1ST): Enable.
2009-09-01 Daniel Elstner <daniel.kitta@gmail.com>
Always build tools/ subdirectory (bgo #593518)
* Makefile.am (SUBDIRS): Unconditionally recurse into the tools/
subdirectory, rather than only in maintainer-mode. Otherwise, the
code generator support files located there would not be installed
when building a tarball of glibmm.
2009-08-28 Daniel Elstner <danielk@openismus.com>
Increment version to glibmm 2.21.4.1
* configure.ac (AC_INIT): Increment version to 2.21.4.1.
* NEWS: Write news entry for glibmm 2.21.4.1 release.
2009-08-28 Daniel Elstner <danielk@openismus.com>
Use shared mm-common Doxygen style sheet
* configure.ac (MM_PREREQ): Require mm-common 0.7.
* docs/Makefile.am (dist_doctool_DATA): List doxygen.css.
* docs/reference/Doxyfile.in (HTML_STYLESHEET): Assign path
to the shared doxygen.css provided by mm-common.
2009-08-28 Daniel Elstner <danielk@openismus.com>
Remove header and footer HTML fragments
* docs/reference/glibmm_{header,footer}.html_fragment: Delete
files. These custom fragments were an unnecessary maintenance
hassle. Also, the files were out of date with respect to the
encoding and CSS classes used by Doxygen.
* docs/reference/Doxyfile.in (HTML_HEADER), (HTML_FOOTER): Set
to the empty string.
(PROJECT_NUMBER): Substitute @PACKAGE_VERSION@. It does look
nicer in the generated HTML pages, and is probably also less
confusing.
(SORT_GROUP_NAMES): Enable for predictability.
* docs/Makefile.am (dist_noinst_DATA): Remove deleted HTML
fragment files.
2009-08-26 Daniel Elstner <danielk@openismus.com>
Reenable hierarchy graphs for each class
* docs/reference/Doxyfile.in (COLLABORATION_GRAPH): Set option
to YES to enable the per-class inheritance graphs.
2.21.4:
2009-08-25 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS:
* configure.ac: update for 2.21.4
2009-08-25 Daniel Elstner <danielk@openismus.com>
Change documentation host to library.gnome.org
* docs/Makefile.am (htmlrefpub): Remove override and use the
updated mm-common default value.
* docs/reference/glibmm_header.html_fragment: Adjust links to
the main page and the gtkmm book.
* {glib,gio}/{glib,gio}mm{,-uninstalled}.pc.in (htmlrefpub):
Adjust variable values.
* configure.ac (MM_PREREQ): Require mm-common 0.6.1.
2009-08-24 Daniel Elstner <danielk@openismus.com>
Strip directory from filenames in enum.pl output
* tools/enum.pl: Use File::Spec module. Reduce the backslashitis
in a number of regular expressions by replacing the slash used as
the delimiter with a less troublesome character.
(parse): Only print the basename component of the filename.
(process): Put \Q...\E quoting escapes around a variable reference
within a regular expression to protect meta-characters.
2009-08-21 Daniel Elstner <danielk@openismus.com>
Deprecate wrapper methods of deprecated functions
* gio/src/file.{ccg,hg} (File::{eject,unmount}_mountable*),
gio/src/volumemonitor.hg (VolumeMonitor::adopt_orphan_mount):
Enclose within deprecation guards since the corresponding C API
functions have been deprecated in API version 2.22 of GIO.
Insert #undef G_DISABLE_DEPRECATED at the top of the source files
so that giomm builds again at warning level fatal.
2009-08-21 Daniel Elstner <danielk@openismus.com>
Move #undef G_DISABLE_DEPRECATED out of header
* glib/src/date.hg: Push the #undef G_DISABLE_DEPRECATED into the
new SECTION_CC_PRE_INCLUDES rather than the public header file.
2009-08-21 Daniel Elstner <danielk@openismus.com>
Add SECTION_CC_PRE_INCLUDES section to gmmproc
* tools/m4/base.m4: Define new SECTION_CC_PRE_INCLUDES and import
it at the top of the generated source file. This new section can
be used to insert custom code at the beginning of the translation
unit as seen by the compiler.
2009-08-21 Daniel Elstner <danielk@openismus.com>
Use mm-common macro for --disable-deprecated-api
* configure.ac: Replace GLIBMM_ARG_ENABLE_API_DEPRECATED() with
the new MM_ARG_DISABLE_DEPRECATED_API() macro from mm-common.
(MM_PREREQ): Raise requirement to mm-common 0.6.
* build/reduced.m4 (GLIBMM_ARG_ENABLE_API_DEPRECATED): Remove
obsolete macro definition.
* glib/glibmmconfig.h.in (GLIBMM_DISABLE_DEPRECATED): Copy #undef
statement from config.h.in template.
* gio/giommconfig.h.in (GIOMM_DISABLE_DEPRECATED): ditto.
2009-08-21 Daniel Elstner <danielk@openismus.com>
Insist on working Perl in maintainer mode
* configure.ac: Call MM_CHECK_PERL in maintainer mode in order
to verify early that the Perl interpreter is working.
2009-08-20 Daniel Elstner <danielk@openismus.com>
Rename @since back to @newin
* docs/reference/Doxyfile.in (ALIASES): Rename the @since alias
back to its old name @newin, but otherwise keep the parameters.
Apparently there is a @since command predefined in Doxygen which
I hadn't noticed. It does seem to get overridden silently, but
it is better not to rely on this.
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Output @newin
instead of @since.
* {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Replace all
uses of @since with @newin.
2009-08-20 Daniel Elstner <danielk@openismus.com>
Predefine GIOMM_API for Doxygen
* docs/reference/Doxyfile.in (PREDEFINED): Define GIOMM_API to the
empty expansion, so that it won't show up in the documentation.
2009-08-20 Daniel Elstner <danielk@openismus.com>
Substitute API version in filenames dynamically
* glib/glibmm.pc.in: Rename file from glib/glibmm-2.4.pc.in.
* glib/glibmm-uninstalled.pc.in: Rename file from
glib/glibmm-2.4-uninstalled.pc.in.
* gio/giomm.pc.in: Rename file from gio/giomm-2.4.pc.in.
* gio/giomm-uninstalled.pc.in: Rename file from
gio/giomm-2.4-uninstalled.pc.in.
* configure.ac (AC_CONFIG_FILES): Insert ${GLIBMM_MODULE_NAME}
and ${GIOMM_MODULE_NAME} into output filenames and remove the
hard-coded version from the input filenames.
* glib/glibmm/Makefile.am (lib_LTLIBRARIES): Substitute
@GLIBMM_API_VERSION@ into the libtool archive name as well as
the variable names derived from it instead of hard-coding the
API version.
2009-08-20 Daniel Elstner <danielk@openismus.com>
Do not hard-code API version in resource files
* MSVC_Net200[58]/glibmm/glibmm.rc.in: Use newer @PACKAGE_VERSION@
substitution in place of @VERSION@. Substitute @GLIBMM_MODULE_NAME@
instead of hardcoding the API version.
* MSVC_Net200[58]/giomm/giomm.rc.in: Use newer @PACKAGE_VERSION@
substitution in place of @VERSION@. Substitute @GIOMM_MODULE_NAME@
instead of hardcoding the API version. Replace @GLIBMM_*_VERSION@
substitutions with their @GIOMM_*_VERSION@ equivalents.
2009-08-19 Daniel Elstner <danielk@openismus.com>
Predefine GLIBMM_API for Doxygen
* docs/reference/Doxyfile.in (PREDEFINED): Define GLIBMM_API to the
empty expansion, so that it won't show up in the documentation.
2009-08-18 Daniel Elstner <danielk@openismus.com>
Prepend tools/pm/ to Perl include path
* g{lib,io}/src/Makefile.am (gmmproc): Pass -I$(top_srcdir)/tools/pm
to the Perl interpreter when invoking the local gmmproc, so that it
will pick up the modules from the source tree instead of an existing
glibmm installation.
* tools/gmmproc.in (BEGIN): Substitute @GLIBMM_MODULE_NAME@ instead
of hard-coding the location.
2009-08-18 Daniel Elstner <danielk@openismus.com>
Implement parametric Doxygen alias @since{m,n}
* docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias
@since{major,minor} to replace the old @newin?p?* aliases which had
to be defined manually for every version number used.
(PREDEFINED): Predefine G_GNUC_NORETURN, G_GNUC_NULL_TERMINATED and
G_GNUC_PURE to the empty expansion. Remove GTKMM_* macros.
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Change "Since:"
substitution to output the new generic @since alias.
* {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Change all uses
of @newin?p?* to @since{major,minor}.
2009-08-17 Daniel Elstner <danielk@openismus.com>
Append slash to overridden $(htmlrefpub)
* docs/Makefile.am (htmlrefpub): Append trailing slash for
consistency with the non-overridden value.
2009-08-17 Daniel Elstner <danielk@openismus.com>
Exclude GTimeVal and nil from the documentation
* docs/reference/Doxyfile.in (EXCLUDE_SYMBOLS): Add GTimeVal and
nil to the list of symbols to exclude from the documentation.
2009-08-17 Daniel Elstner <daniel.kitta@gmail.com>
Reenable JAVADOC_AUTOBRIEF mode of Doxygen
* docs/reference/Doxyfile.in (JAVADOC_AUTOBRIEF): Change value
back to 'YES'. I accidentally turned off the setting during the
build infrastructure transition.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Unbreak List_Iterator::operator->()
* glib/glibmm/containers.h ({S,}List_Iterator::operator->):
Use &**this, not &*this. Oops.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Define GLIBMM_USING_STD() as dummy no-op
* glib/glibmmconfig.h.in (GLIBMM_USING_STD): Resurrect macro
for backwards compatibility, but unconditionally define it to
the empty expansion.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Define GLIBMM_BUILD and GIOMM_BUILD
* glib/glibmm/Makefile.am (local_cppflags): Add -DGLIBMM_BUILD=1.
* gio/giomm/Makefile.am (local_cppflags): Add -DGIOMM_BUILD=1.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Slightly clean up List_Iterator helper classes
* glib/glibmm/containers.h ({S,}List_Iterator): Smooth out
a number of eye sores I had stumbled upon in the code.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Correct nesting mistakes in Autoconf macros
* build/cxx.m4: Fix the incorrect nesting of parentheses with
about every other AC_COMPILE_IFELSE/AC_LANG_PROGRAM construct.
My fault, ooops.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Clean up g{lib,io}mmconfig.h.in templates
* glib/glibmmconfig.h.in: Rewrite, copying large chunks from
the autoheader-generated config.h.in template.
* gio/giommconfig.h.in: Remove everything that belongs to glibmm
and include glibmmconfig.h.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Set GTHREAD_LIBS to the full --libs value again
* configure.ac (GTHREAD_LIBS): Go back to pkg-config --libs
to retrieve the linker flags to use with threaded programs.
For some reason --libs-only-other does not include -pthread.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Get rid of all uses of GLIBMM_USING_STD()
* glib/src/*.{ccg,hg}: Remove all uses of GLIBMM_USING_STD().
We definitely do not need this anymore, and probably never
did. We never covered all symbols from namespace std anyway
and never got any complaint about it. Also, be careful to
always include the glibmmconfig.h header when it is needed.
* glib/glibmm/*.{cc,h}: ditto.
* glib/glibmmconfig.h.in: Clean up and re-indent.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Clean up C++ compiler test Autoconf macros
* build/cxx.m4: Clean up M4 code and switch to non-deprecated
Autoconf macros.
(AC_CXX_NAMESPACES), (AC_CXX_BOOL), (AC_CXX_MUTABLE): Remove
obsolete feature check macros.
* configure.ac: Remove AC_CXX_NAMESPACES(), AC_CXX_BOOL(),
AC_CXX_MUTABLE() and GLIBMM_CXX_HAS_NAMESPACE_STD checks.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Remove now optional macro arguments
* configure.ac: Insert MM_PREREQ([0.4]) macro call.
(MM_INIT_MODULE): Remove the now optional second macro argument.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Move M4 files from scripts/ over to build/
* scripts/*.m4: Move files over to the build/ directory, in order
to be more consistent with the directory layout of other binding
modules that switched to the new build organization.
* Makefile.am (ACLOCAL_AMFLAGS): Search build/ for M4 files.
(dist_aclocal_macro_DATA): Adjust directory prefix to build/.
* configure.ac (AC_CONFIG_MACRO_DIR): Place third-party Autoconf
macros into the build/ directory.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Use hammer method to avoid admitting to be wrong
* glib/README, gio/README: Oops, looks like I was wrong in my
assumption that these files would be distributed automatically by
Automake. In order to save face, I thought I might just delete
them then, as their content is not very useful anyway.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Stop distributing README files manually
* Makefile.am (text_files): Remove glib/README and gio/README as
files named README are distributed automatically by Automake.
(msvc_files): Use the more readable and safer $(addprefix ...)
function of GNU make instead of a $(foo:%=prefix/%) substitution.
(DISTCLEANFILES): Use $(filter %mmconfig.h,$(msvc_files)) instead
of listing the generated configuration header files manually.
2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
Provide g{lib,io}mm-2.4-uninstalled.pc files
* glib/glibmm-2.4-uninstalled.pc.in: New file to provide a pkg-config
configuration for building against an uninstalled glibmm library.
* gio/giomm-2.4-uninstalled.pc.in: ditto for giomm.
* glib/glibmm-2.4.pc.in (htmlrefpub): Append slash to URL.
* gio/giomm-2.4.pc.in (htmlrefpub): ditto.
* configure.ac (AC_CONFIG_FILES): List glib/glibmm-2.4-uninstalled.pc
and gio/giomm-2.4-uninstalled.pc output files.
2009-08-11 Daniel Elstner <danielk@openismus.com>
Add missing datadir substitution to .pc file
* glib/glibmm-2.4.pc.in (datadir): Substitute value, as it is
used as a component of doctooldir later in the file.
* gio/giomm-2.4.pc.in (datadir): Substitute value, just in case.
* docs/Makefile.am: Remove overrides of the documentation
utilities, since MM_CONFIG_DOCTOOL_DIR() already takes care
of setting MMDOCTOOLDIR to the local directory.
2009-08-10 Daniel Elstner <danielk@openismus.com>
Get rid of some old Autoconf macro cruft
* scripts/dk-warn.m4: Delete file, since the functionality is now
provided by MM_ARG_ENABLE_WARNINGS() from the mm-common module.
* scripts/docgen.m4: Delete obsolete file.
* scripts/cxx_std.m4: Remove stray text snippet from the top of the
file. Probably a cut'n'paste accident.
* scripts/cxx.m4 (GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES): Do not
AC_DEFINE to 0 in the else branch, as that will do the wrong thing
when #ifdef is used instead of #if.
* scripts/README: Delete file consisting solely of whitespace.
* configure.ac: Add note on pointless test for namespace std.
2009-08-10 Daniel Elstner <danielk@openismus.com>
Clean up configure check for Windows host
* configure.ac (OS_WIN32): Rename conditional to HOST_WINDOWS_NATIVE
because the OS vs platform terminology confused the hell out of me.
Remove the check for a non-native Windows host such as Cygwin, since
the corresponding conditional is not used anymore.
2009-08-10 Daniel Elstner <danielk@openismus.com>
Have mm-common-prepare install the doc utils
* configure.ac: Call MM_CONFIG_DOCTOOL_DIR([docs]) to set
up the destination directory for mm-common-prepare to copy
the documentation utilities to.
* docs/doc-install.pl: Delete file.
* docs/doc-postprocess.pl: ditto,
* docs/tagfile-to-devhelp2.xsl: ditto.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Distribute README.SUN and autogen.sh
* Makefile.am (text_files): Add README.SUN.
(dist_noinst_SCRIPTS): List autogen.sh.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Use versioned directory for documentation tools
* docs/Makefile.am (doctooldir): Use the versioned module
name instead of the package name as $(datadir) subdirectory.
* glib/glibmm-2.4.pc.in (doctooldir): Change the variable
value accordingly.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Provide documentation location via pkg-config
* glib/glibmm-2.4.pc.in: Clean up and modernize the values,
and make use of more configure variable substitutions.
(datarootdir): Substitute @datarootdir@.
(gmmprocdir): Remove the @GMMPROC_DIR@ substitution and expand
${libdir} indirectly.
(doctooldir): New variable pointing to the location of the
installed utilities for building the reference documentation.
(docdir), (doxytagfile), (htmlrefdir), (htmlrefpub): Provide
meta information on the installed reference documentation in
these new pkg-config variables.
* gio/giomm-2.4.pc.in: Clean up and modernize the values,
and make use of more configure variable substitutions.
(datarootdir): Substitute @datarootdir@.
(docdir), (doxytagfile), (htmlrefdir), (htmlrefpub): Provide
meta information on the installed reference documentation in
these new pkg-config variables. The values are identical to
the glibmm-2.4 ones because the documentation is bundled.
* docs/Makefile.am (hmtlrefpub): Override the public web URL
of the reference documentation, since the currently uploaded
documentation still has the redundant docs/ component in the
base path.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Get make distcheck to pass cleanly
* Makefile.am (DISTCLEANFILES): List the configuration header
copies made by the AC_CONFIG_COMMANDS() as files to delete.
* configure.ac (AM_INIT_AUTOMAKE): Switch to POSIX archive
format (pax) for tar, because just as with libsigc++ the
filenames generated by Doxygen exceed the tar-ustar limit.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Work around Automake cleverness failure
* gio/giomm/filelist.am (giomm_files_built_ph): Use the GNU
make $(patsubst ...) function instead of $(var:%=foo%bar) if
a simple $(var:.a=.b) is not sufficient. Apparently Automake
is able to expand some of these constructs statically, but in
some cases it will actually produce the wrong result. Using
$(patsubst ...) helps to avoid the problem because Automake
does not attempt to expand it.
* glib/glibmm/filelist.am (glibmm_files_built_ph): Use the
$(patsubst ...) function here, too.
* gio/src/filelist.am (giomm_files_used_hg): Define another
intermediate variable to avoid repetition.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Get rid of all Makefile.am in the MSVC dirs
* MSVC_Net2005/**/Makefile.am: Delete recursive build files.
* MSVC_Net2008/**/Makefile.am: ditto.
* MSVC_Net2005/filelist.am: New file. Recursively list all
files that should go into the distribution.
* MSVC_Net2008/filelist.am: ditto.
* configure.ac (AC_CONFIG_FILES): Remove all Makefile outputs
to the MSVC subdirectories. Combine all the remaining output
files into a single argument to just one AC_CONFIG_FILES call.
Follow through with a number of TODO comments and remove some
old cruft which is no longer used anywhere in the module.
(AC_CONFIG_COMMANDS): Copy the configuration header files into
the MSVC subdirectories by making config.status execute custom
configuration commands. This is easier than doing it at the
Makefile level, where it was previously implemented.
* Makefile.am: Include the filelist.am files from the MSVC
subdirectories.
(SUBDIRS): Remove MSVC_Net200[58] directories from the list.
(dist_noinst_DATA): Distribute the MSVC project files.
* tools/gmmproc.in: Substitute @PERL@ instead of @PERL_PATH@.
* tools/generate_wrap_init.pl.in: ditto.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Bring back the giomm reference documentation
* glib/{src,glibmm}/filelist.am: Add namespace prefix glibmm_
to variable names, so that the file lists of glibmm and giomm
can be included together without conflicts.
* gio/{src,giomm}/filelist.am: Add namespace prefix giomm_ to
variable names.
* glib/{src,glibmm}/Makefile.am: Copy the namespace-prefixed
make variables to non-prefixed variables, so that the Automake
include files from mm-common will pick up the values.
* gio/{src,giomm}/Makefile.am: ditto.
* docs/Makefile.am: Include file lists of giomm.
(doc_input): List the header files of both glibmm and giomm.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Begin move to new documentation infrastructure
* configure.ac (AC_CONFIG_FILES): Remove the old build files
docs/{images,internal,reference}/Makefile from the list. Also
remove the obsolete docs/reference/beautify_docs.pl.
* docs/Makefile.am: Big overhaul. Reimplement on top of the
new documentation infrastructure provided with the mm-common
module. Build, distribute and install files which used to be
handled by the subdirectories' Makefiles directly from here.
Note that the generated reference documentation at the moment
only covers glibmm without giomm. Remedy follows.
* docs/reference/Doxyfile.in: Replace configuration with the
modernized version from librsvgmm, appropriately modified for
glibmm. Make use of the new substitutions provided by the
mm-common Autoconf magic.
* docs/doc-install.pl: Copy script from mm-common. Install
it into $(pkgdatadir)/doctool.
* docs/doc-postprocess.pl: ditto,
* docs/tagfile-to-devhelp2.xsl: ditto.
* docs/images/Makefile.am: Delete subdirectory Makefile.
* docs/internal/Makefile.am: ditto,
* docs/reference/Makefile.am: ditto.
* docs/reference/README: Delete file, as it documents exactly
the things I just ripped.
* docs/reference/beautify_docs.pl.in: Delete obsolete file.
* docs/reference/doxygen_to_devhelp.xsl: ditto,
* docs/reference/libstdc++.tag.xml: ditto.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Convert examples/ sub-tree to non-recursive build
* examples/Makefile.am: Rewrite to a non-recursive build of
all example programs with a single control file. Hook the
build of the example programs to the make check target.
* examples/Makefile.am_fragment: Delete obsolete file.
* examples/*/Makefile.am: Delete obsolete files.
* examples/README: Delete file, as it was empty anyway apart
from a single whitespace character.
* configure.ac (AC_CONFIG_FILES): Remove examples/*/Makefile
output files from the list.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Convert tests/ sub-tree to non-recursive build
* tests/Makefile.am: Rewrite to a non-recursive build of all
test programs with a single control file. Hook the the build
of the test programs to the make check target.
* tests/Makefile.am_fragment: Delete obsolete file.
* tests/*/Makefile.am: Delete obsolete files.
* configure.ac (AC_CONFIG_FILES): Remove tests/*/Makefile
output files from the list.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Delete now unused build_shared/ subdirectory
* build_shared/*.am_fragment: Delete files, as they are no
longer used anywhere.
* tools/Makefile_list_of_sources.am_fragment: Delete file,
* tools/m4/Makefile_list_of_sources.am_fragment: ditto,
* tools/pm/Makefile_list_of_sources.am_fragment: ditto.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Convert gio/ sub-tree to new build system
* gio/src/filelist.am: New file for defining the lists of
gmmproc input files.
* gio/src/Makefile.am: Clean up and modernize. Integrate
with the new generate-binding.am build file from mm-common.
* gio/giomm/filelist.am: New file for the lists of source
code files, both generated and static. Also list files from
the private/ subdirectory here.
* gio/giomm/Makefile.am: Clean up and modernize. Integrate
with the new compile-binding.am build file from mm-common.
* configure.ac (AC_CONFIG_FILES): Remove the output file
gio/giomm/private/Makefile from the list.
* gio/giomm/private/Makefile.am: Delete file.
* gio/src/Makefile_list_of_hg.am_fragment: Delete file.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Convert glib/ sub-tree to new build system
* glib/src/filelist.am: New file for defining the lists of
gmmproc input files and M4 template files.
* glib/src/Makefile.am: Clean up and modernize. Integrate
with the new generate-binding.am build file from mm-common.
* glib/glibmm/filelist.am: New file for the lists of source
code files, both generated and static. Also list files from
the private/ subdirectory here.
* glib/glibmm/Makefile.am: Clean up and modernize. Integrate
with the new compile-binding.am build file from mm-common.
* configure.ac (AC_CONFIG_FILES): Remove the output file
glib/glibmm/private/Makefile from the list.
* glib/glibmm/private/Makefile.am: Delete file.
* glib/src/Makefile_list_of_hg.am_fragment: Delete file.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Do not recurse into scripts/ subdirectory
* Makefile.am: Install scripts/glibmm_check_perl.m4 from here.
* scripts/Makefile.am: Delete file.
* configure.ac (AC_CONFIG_FILES): Remove scripts/Makefile.
2009-08-09 Daniel Elstner <danielk@openismus.com>
Convert tools/ directory to new build system
* configure.ac (AC_CONFIG_FILES): Remove the output files
tools/{extra_defs_gen,m4,pm}/Makefile from the list.
* tools/Makefile.am: Clean up. Build, distribute and install the
contents of all three subdirectories. Rename generate_extra_defs
executable to generate_defs_glib.
* tools/m4/filelist.am: New file to hold the list of M4 files.
* tools/pm/filelist.am: New file to hold the list of Perl modules.
* tools/{extra_defs_gen,m4,pm}/Makefile.am: Delete files.
2009-08-08 Daniel Elstner <danielk@openismus.com>
Remove glib/Makefile.am and gio/Makefile.am
* Makefile.am: Move things from glib/Makefile.am and gio/Makefile.am
to the toplevel. Remove the improvised custom convenience rules for
now.
(SUBDIRS): Enter the glib/src, gio/src, glib/glibmm and gio/giomm
subdirectories directly from the toplevel. Use indirect variables
to define the conditionally entered subdirectories.
* configure.ac: Call macros from mm-common for preparing the build of
the reference documentation. Remove {glib,gio}/Makefile.am from the
AC_CONFIG_FILES list. Avoid repeating the version requirement for all
the basic g* libraries when constructing the list of dependencies for
pkg-config.
* {glib,gio}/Makefile.am: Remove files.
2009-08-07 Daniel Elstner <danielk@openismus.com>
Begin transition to new build infrastructure
* autogen.sh: Replace script with a minimalistic wrapper around
mm-common-prepare, autoreconf and configure.
* Makefile.am (ACLOCAL_AMFLAGS): Pick up ${ACLOCAL_FLAGS} from the
environment, so that autoreconf can do its magic.
* configure.ac: Modernize. Cut loads of old cruft. Make use of
magic mm-common macros to simplify things. Declare build/ as the
destination for auxiliary build files. Add TODO comments to flag
the pieces that still need cutting. Re-enable autoheader.
* config.h.in: Remove file, and have autoheader generate it.
2009-07-27 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/memoryinputstream.ccg: Correct the if condition in
Gio::MemoryInputStream::add_data() to coincide correctly with copying
data that is null terminated (as docs say).
2.21.3:
2009-07-27 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS:
* configure.ac: update for release
2009-07-26 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* glib/glibmm/objectbase.cc:
* glib/glibmm/objectbase.h: add freeze_notify()/thaw_notify. Fixes
Bug #575533
2009-07-26 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/memoryinputstream.ccg: fix a build error with explicit
casts. I had made this change before, but apparently i forgot to
commit it.
2009-07-26 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/memoryinputstream.ccg:
* gio/src/memoryinputstream.hg: fix MemoryInputStream::add_data() so
that it copies the memory internally. This function was basically
unusable before except with statically allocated memory.
Otherwise the memory would have been leaked (if the caller did not
free it) or the memory could have been corrupted (if the caller
freed it before the MemoryInputStream was finished using it). The
std::string version was susceptible to memory corruption as well,
so we take a copy of that string as well. To avoid needing to
always copy the memory, I also introduced an overload which
accepts a GDestroyNotify function that will free the memory when
the object is finished with it. Fixes Bug #589683.
2009-07-26 Krzesimir Nowak <krnowak@svn.gnome.org>
* glib/glibmm/timeval.cc:
* glib/glibmm/timeval.h: Wrapped g_time_val_from_iso8601()
and g_time_val_to_iso8601().
* glib/src/date.ccg:
* glib/src/date.hg: Wrapped
g_date_get_iso8601_week_of_year().
2009-07-17 David King <davidk@openismus.com>
* examples/properties/properties_example.cc: Only compile the
properties example if properties are enabled.
2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* .gitignore:
* configure.ac:
* examples/Makefile.am:
* examples/network_io/Makefile.am:
* examples/network_io/resolve.cc: Added a simple example showing how
to resolve an internet address from a hostname
2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/resolver.ccg:
* gio/src/resolver.hg: add async versions of Resolver methods
2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/resolver.ccg:
* gio/src/resolver.hg: add overloads for resolver methods without a
cancellable object
2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/drive.hg:
* tools/m4/convert_gio.m4: add get_start_stop_type() and
Gio::DriveStartStopType enum
2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* gio/src/drive.hg: add _IGNORE() for a eject_with_operation() which
is hand-written
2009-07-14 Jonathon Jongsma <jonathon@quotidian.org>
* Fix Bug #587173 ā Fails to install when bootstrapped with Automake 1.11
* glib/glibmm/Makefile.am: remove .hg-generated headers from this
Makefile to fix built with automake-1.11
* glib/src/Makefile_list_of_hg.am_fragment: re-format this list of
.hg files so it's easier to both read and maintain
2009-07-14 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* glib/src/glib_docs_override.xml:
* glib/src/keyfile.ccg:
* glib/src/keyfile.hg: Repair Glib::KeyFile docs with regard to
exceptions. Make sure that the methods that throw exceptions are
implemented correctly if GLIBMM_EXCEPTIONS_ENABLED is not defined.
Bug #587766 (Tomasz Jankowski).
2.21.2:
2009-07-13 Jonathon Jongsma <jonathon@quotidian.org>
* Makefile.am: fix release targets since we switched to git
2009-07-13 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS: updated
* configure.ac: bumped version for release
2009-07-11 Daniel Elstner <daniel.kitta@gmail.com>
* configure.ac (GTKMM_ARG_ENABLE_FULLDOCS): Remove macro
call. Its result is not used anywhere at all anymore.
2009-07-11 Daniel Elstner <daniel.kitta@gmail.com>
* gio/src/drive.hg (Drive::start_finish): Remove stray
semicolon to get rid of compiler warning in pedantic mode.
(Drive::stop_finish): ditto.
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/volumemonitor.hg: implement Gio::VolumeMonitor::drive-stop-button
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/drive.ccg: fix accidental bug in Gio::Drive::eject() that
the compiler warned me about
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/volume.ccg:
* gio/src/volume.hg: implement eject_with_operation()
similarly to the GDrive methods mentioned below
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/mount.ccg:
* gio/src/mount.hg: implement eject_with_operation() and
mount_with_operation similarly to the GDrive methods mentioned
below
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/inetaddress.hg: implement get_native_size()
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/drive.hg: implement GDrive::stop-button signal
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/drive.ccg:
* gio/src/drive.hg: Wrap the new eject_with_operation() methods and
implement the other eject() functions with
g_drive_eject_with_operation since g_drive_eject has been
deprecated in favor of eject_with_operation()
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/drive.ccg:
* gio/src/drive.hg:
* gio/src/gio_enums.defs:
* tools/m4/convert_gio.m4: wrap added GDrive methods: start(),
stop(), start_finish(), stop_finish(), can_start(), can_start(),
can_start_degraded()
2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/gio_methods.defs: re-generated defs
* gio/src/socket.ccg:
* gio/src/socket.hg: fix build breakage caused by the addition of a
bunch of cancellable parameters to GSocket methods.
2009-07-06 Daniel Elstner <danielk@openismus.com>
Treat empty Glib::spawn*() working dir as unset
* glib/src/spawn.ccg (Glib::spawn_async_with_pipes): If the
working_directory argument is the empty string, pass a 0 pointer
to the GLib C API to make it inherit the parent's working directory.
This is fine as the empty string is not a valid directory name, and
our documentation already says that it will be interpreted that way.
(Glib::spawn_async): ditto,
(Glib::spawn_sync): ditto.
2009-07-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tests/glibmm_valuearray/main.cc: Use references to store casts in
glibmm_valuearray test.
2009-06-30 Jonathon Jongsma <jonathon@quotidian.org>
* glib/src/optiongroup.ccg:
* glib/src/optiongroup.hg: add OptionGroup::add_entry(.., double&)
2009-06-29 Jonathon Jongsma <jonathon@quotidian.org>
* tools/m4/convert_gio.m4: add some namespaced conversions so that I
can use them for new api I'm wrapping in Gdk::Pixbuf. Is there no
other way to do this?
2.21.1:
2009-06-29 Murray Cumming <murrayc@murrayc.com>
Allow dynamic GType registration, using g_type_module_register_type().
* glib/glibmm/class.[h|cc]: Added a register_derived_type() overload that
takes an extra GTypeModule* parameter, and which calls
g_type_module_register_type() instead of g_type_register_static().
* tools/m4/class_gobject.m4:
* tools/m4/class_gtkobject.m4:
* tools/m4/class_shared.m4: Added a _DYNAMIC_GTYPE_REGISTRATION macro to
be used in the class in the hg file, to add a *_Class::init(GTypeModule)
method, and a get_type(GTypeModule*) method that calls it.
2009-06-24 Daniel Elstner <daniel.kitta@gmail.com>
Omit unused parameter names to avoid warning
* tools/extra_defs_gen/generate_defs_gio.cc (main): Omit names of
unused function parameters, to fix the build with fatal warnings
enabled.
* examples/properties/properties_example.cc (main): ditto,
* tests/giomm_ioerror/main.cc (main): ditto.
2009-06-23 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tests/glibmm_valuearray/main.cc: Use a const instead of a #define.
2009-06-23 Hubert Figuiere <hub@figuiere.net>
* tools/pm/WrapParser.pm (on_defs): Make sure we trim
the module names to not have extraneous space. Closes bug #586785.
2009-06-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* glib/src/valuearray.ccg:
* glib/src/valuearray.hg: Use guint for pre-allocation constructor.
* .gitignore: Add value array test executable.
2009-06-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* configure.ac:
* glib/glibmm.h:
* glib/src/Makefile_list_of_hg.am_fragment:
* glib/src/valuearray.ccg:
* glib/src/valuearray.hg: Add Glib::ValueArray.
* tests/Makefile.am:
* tests/glibmm_valuearray/Makefile.am:
* tests/glibmm_valuearray/main.cc: Add test for Glib::ValueArray.
* .gitignore: Include valuearray.{h,cc}.
2009-06-22 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* glib/src/date.ccg: Check for an invalid date in copy constructor and
assignment operator. Fixes bug #585027.
2009-06-19 Jonathon Jongsma <jonathon@quotidian.org>
Add start of Socket class
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/gio_enums.defs:
* gio/src/gio_signals.defs:
* gio/src/socket.ccg: Added.
* gio/src/socket.hg: Added.
* tools/enum.pl:
* tools/extra_defs_gen/generate_defs_gio.cc:
* tools/m4/convert_gio.m4:
2009-06-19 Jonathon Jongsma <jonathon@quotidian.org>
Add start of Initable
This class may require a bit of additional thought since it implies
that we will need to call a special g_initable_new() constructor
that can fail with a GError rather than calling g_object_new()
directly. Alternately, all classes that derive from Initable may
need to manually call init() in their constructors
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/initable.ccg: Added
* gio/src/initable.hg: Added.
2009-06-19 Jonathon Jongsma <jonathon@quotidian.org>
Add NetworkService class
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/gio_signals.defs:
* gio/src/networkservice.ccg: Copied from gio/src/socketaddress.ccg.
* gio/src/networkservice.hg: Added.
* tools/extra_defs_gen/generate_defs_gio.cc:
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/giomm.h: update the main include header to include all of the
new / recent headers
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
Add NetworkAddress
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/gio_signals.defs:
* gio/src/networkaddress.ccg: Copied from gio/src/socketaddress.ccg.
* gio/src/networkaddress.hg: Copied from gio/src/socketaddress.hg.
* tools/extra_defs_gen/generate_defs_gio.cc:
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/gio_signals.defs:
* tools/extra_defs_gen/generate_defs_gio.cc: add Resolver to the
extra defs generator
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/Makefile_list_of_hg.am_fragment: put one .hg file on a
line and put sort them so it's easier to maintain this list
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/gio_signals.defs: re-generate with signals and properties
for some of the new network IO classes
* gio/src/inetsocketaddress.ccg:
* gio/src/inetsocketaddress.hg: Added InetSocketAddress class
* tools/extra_defs_gen/generate_defs_gio.cc: added some new network
IO classes
* tools/m4/convert_gio.m4:
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
split SocketAddressEnumerator into its own file
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/socketaddressenumerator.ccg: Copied from gio/src/socketconnectable.ccg.
* gio/src/socketaddressenumerator.hg: Copied from gio/src/socketconnectable.hg.
* gio/src/socketconnectable.ccg:
* gio/src/socketconnectable.hg:
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* glib/src/fileutils.ccg:
* glib/src/fileutils.hg: add Glib::file_set_contents() to match
Glib::file_get_contents(). Fixes Bug #586187
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* configure.ac: bump version and glib version requirement
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/socketconnectable.ccg:
* gio/src/socketconnectable.hg: add overloads without a
'cancellable' argument for SocketAddressEnumerator methods
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/gio_methods.defs: re-generate
* gio/src/socketaddress.hg: uncomment method that was being
generated incorrectly due to out-of-date .defs
* gio/src/socketconnectable.ccg:
* gio/src/socketconnectable.hg: wrap the next_async() manually
because we need to do the slot adaptation stuff
2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/resolver.ccg:
* gio/src/resolver.hg: remove some overloads for now and get the
lookup_service() API working with the list of SrvTargets
* gio/src/srvtarget.hg: add TypeTraits for lists of SrvTargets
2009-06-17 Jonathon Jongsma <jonathon@quotidian.org>
Add initial wrappers for SocketConnectable, SocketAddress
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/enums.hg:
* gio/src/inetaddress.hg:
* gio/src/resolver.hg:
* gio/src/socketaddress.ccg: Copied from gio/src/error.ccg.
* gio/src/socketaddress.hg: Copied from gio/src/fileicon.hg.
* gio/src/socketconnectable.ccg: Copied from gio/src/filemonitor.ccg.
* gio/src/socketconnectable.hg: Added.
* tools/m4/convert_gio.m4:
2009-06-17 Jonathon Jongsma <jonathon@quotidian.org>
Initial wrapping for SrvTarget, Resolver
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/resolver.ccg: Added.
* gio/src/resolver.hg: Added.
* gio/src/srvtarget.ccg: Added
* gio/src/srvtarget.hg: Added.
* tools/m4/convert_gio.m4:
2009-06-18 Murray Cumming <murrayc@murrayc.com>
Add debug output to hint that your .defs needs a define-object.
* tools/pm/DocsParser.pm: lookup_object_of_method(),
* tools/pm/GtkDefs.pm: lookup_object(): Add debug output to hint that you
need a define-object for each C GType in the *.defs file, though I
do not yet know why these are sometimes missing.
2009-06-18 Murray Cumming <murrayc@murrayc.com>
* configure.ac: Require glib 2.21, because g_cancellable_connect/disconnect()
are not in glib 2.20.
2009-06-17 Hubert Figuiere <hub@figuiere.net>
* gio/src/file.hg:
* gio/src/file.ccg: Added Gio::File::load_contents() overload to allow
ignoring the etag contents. (Bug #581349)
2009-06-16 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tools/extra_defs_gen/generate_extra_defs.cc:
* tools/extra_defs_gen/generate_extra_defs.h: Modify extra defs
generation utility to accept a custom defined function to determine if
a GType is a pointer. This was discussed in bug #562810 and I went
back and forth about applying it. I applied it, but later reverted
it. Now I find that it is difficult to keep patching the generated
defs files in gstreamermm. Since permission was granted, I'm
re-applying it once and for all.
2009-05-23 Alexander Shaduri <ashaduri@gmail.com>
Build static libraries correctly under Windows/MinGW. Bug #583657.
* configure.ac: Define GLIBMM_STATIC_LIB and GIOMM_STATIC_LIB when
--enable-static is specified.
* gio/giommconfig.h.in: Add GIOMM_STATIC_LIB and don't define GIOMM_DLL
when using MinGW unless GIOMM_STATIC_LIB is defined.
* glib/glibmmconfig.h.in: Add GLIBMM_STATIC_LIB and don't define
GLIBMM_DLL when using MinGW unless GLIBMM_STATIC_LIB is defined.
2009-05-31 Armin Burgmeier <armin@openismus.com>
* tools/pm/Output.pm: Made gmmproc work on Windows, so that it is
possible to build glibmm and friends directly from git.
2009-05-26 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* glib/src/spawn.ccg:
* glib/src/spawn.hg: Corrected stray semicolons to fix the build with
exceptions disabled.
2009-05-19 Siavash Safi <siavash@siavashs.org>
* tools/enum.pl: Fix --module option to work
2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
wrap Gio::InetAddress
* .gitignore:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/gio_enums.defs: re-generate
* gio/src/inetaddress.ccg: Added
* gio/src/inetaddress.hg: Added.
* tools/m4/convert_gio.m4:
2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
Wrap new Gio::FileIOStream class
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/fileiostream.ccg: Copied from gio/src/fileinputstream.ccg.
* gio/src/fileiostream.hg: Copied from gio/src/fileinputstream.hg.
2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
Wrap the new Gio::IOStream class
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/iostream.ccg: Added.
* gio/src/iostream.hg: Added.
2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/gio_docs_override.xml:add an override for
get_activation_root() since the documentation contains /* comments
*/ that mess up the documentation comments
2009-05-16 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/cancellable.ccg:
* gio/src/cancellable.hg: add connect() and disconnect() functions
2009-05-16 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/gio_docs.xml:
* gio/src/gio_methods.defs: update some defs
2009-05-14 Murray Cumming <murrayc@murrayc.com>
Type registration: Ignore NULL GTypes, preventing crashes.
* glib/glibmm/wrap.cc: wrap_register(): Silently ignore NULL GTypes.
* glib/glibmm/class.cc: register_derived_type(): Silently ignore NULL
GTypes. Use g_strconcat() instead of ustring+= to maybe make it more
efficient. This helps gstreamermm, which may try to use type names of
plugins that are not actually available on the system.
2009-05-06 Chris Vine <chris@cvine.freeserve.co.uk>
* glib/glibmm/ustring.h (ustring_Iterator<>): Turn the relational
operators into non-templated functions, and rely on the implicit
conversion of ustring::iterator to ustring::const_iterator. This
makes the operators work with mixed argument types. (bgo #580773)
2009-04-27 Jonathon Jongsma <jonathon@quotidian.org>
* glibmm.doap: add mailto: protocol the email uris so the doap file
is valid
2009-04-27 Jonathon Jongsma <jonathon@quotidian.org>
* examples/properties/Makefile.am
* examples/properties/properties_example.cc
* .gitignore
* configure.ac
* examples/Makefile.am: add a brief example of using properties with
a Glib::Object-derived class
2009-04-23 Johannes Schmid <jschmid@openismus.com>
* tools/pm/DocParser.pm:
Fix #568490 ā gmmproc: gtk_accel_map_*() not substituted in documentation
by adding some more special cases to the doc generation. Also fixes the same
issue for most methods where the .defs file do not mention an object.
2009-03-26 Daniel Elstner <danielk@openismus.com>
* configure.ac: Rename from configure.in.
* autogen.sh: Fix reference to configure.in.
* MSVC_Net2005/glibmm/Makefile.am: ditto,
* MSVC_Net2005/giomm/Makefile.am: ditto,
* MSVC_Net2008/glibmm/Makefile.am: ditto,
* MSVC_Net2008/giomm/Makefile.am: ditto.
2009-03-26 Daniel Elstner <danielk@openismus.com>
* scripts/dk-warn.m4: New file defining DK_ARG_ENABLE_WARNINGS().
* scripts/macros.m4: Remove the old GTKMM_ARG_ENABLE_WARNINGS().
* configure.in: Use new macro DK_ARG_ENABLE_WARNINGS() to set the
Makefile variable $(GLIBMM_WXXFLAGS).
* build_shared/Makefile_build.am_fragment (all_includes): Prepend
$(GLIBMM_WXXFLAGS).
* tools/extra_defs_gen/Makefile.am (INCLUDES): ditto,
* examples/Makefile.am_fragment (all_includes): ditto,
* tests/Makefile.am_fragment (INCLUDES): ditto.
2009-03-26 Daniel Elstner <danielk@openismus.com>
* gio/src/emblemedicon.hg: Remove stray semicolons to get rid of
compiler warnings.
2009-03-26 Daniel Elstner <danielk@openismus.com>
* tools/m4/list.m4 (GP_LIST_FIND): Rewrite the two find() loops
to avoid a GCC warning about a lone semicolon as a loop body.
2009-03-25 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs: Remove broken definitions - mostly
functions that take function pointers. I wonder why I did not notice
this before.
2009-03-23 Daniel Elstner <danielk@openismus.com>
* glib/src/keyfile.{ccg,hg}: Conditionalize all exception-handling
code in order to fix the build with --disable-api-exceptions.
* glib/src/regex.hg: ditto,
* gio/src/appinfo.ccg: ditto,
* gio/src/file.{ccg,hg}: ditto,
* gio/src/outputstream.ccg: ditto,
* examples/keyfile/main.cc: ditto,
* examples/regex/main.cc: ditto,
* tests/giomm_ioerror/main.cc: ditto,
* tests/giomm_simple/main.cc: ditto.
2009-03-19 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tools/m4/class_gobject.m4: Added _CUSTOM_CTOR_CAST to _CLASS_GOBJECT
for classes that need to include custom code in their cast and
construct_params constructors as is done with _CLASS_GTKOBJECT.
Bug #574861.
2009-03-18 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tools/m4/base.m4: Modified _GET_TYPE_FUNC() to properly work with
types like GtkFOOBar producing, for example, gtk_foo_bar_get_type()
instead of gtk_fo_obar_get_type().
Bug #575870.
2009-03-16 Armin Burgmeier <armin@openismus.com>
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2008/giomm/giomm.vcproj: Added emblem.[h|cc],
emblemedicon.[h|cc] and memoryoutputstream.[h|cc] to the project.
* tools/extra_defs_gen/generate_defs_gio.cc: #ifdef-out the unix types
on Windows.
2.20.0
2009-03-15 Jonathon Jongsma <jjongsma@gnome.org>
* configure.in: bump rev to 2.20.0
* NEWS: update for release
2009-03-09 Daniel Elstner <danielk@openismus.com>
* tools/extra_defs_gen/generate_extra_defs.cc (get_properties):
Replace nested double quotes in the docs string by single quotes
to ease the parsing pain of gmmproc.
2.19.8:
2009-02-23 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_enums.defs: Regenerated, adding
FILE_CREATE_REPLACE_DESTINATION and Error::TOO_MANY_OPEN_FILES.
* gio/src/gio_signals.defs: Regenerated.
* go/src/mountoperation: Added the aborted signal.
2009-02-22 Murray Cumming <murrayc@murrayc.com>
* gio/src/drive.hg: Remove extra ;s on the new signalsl, to avoid
compiler warnings.
2.19.3
2009-02-20 Jonathon Jongsma <jonathon@quotidian.org>
* docs/reference/Makefile.am: fix distcheck issue
2009-02-20 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS:
* configure.in: update for 2.19.3 release
2009-02-17 Daniel Elstner <danielk@openismus.com>
* glib/glibmm/debug.h: Remove mention of G_GNUC_PRETTY_FUNCTION in
comment because a code maintenance tool of AndrƩ Klapper complained
about it.
* glib/glibmm/objectbase.cc: Likewise.
2009-02-06 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs: Regenerated.
* gio/src/filterinputstream.hg: Added get/set_close_base_stream().
* gio/src/filteroutputstream.hg: Added get/set_close_base_stream().
* gio/src/unixinputstream.hg: Added get_fd() and get/set_close_fd().
* gio/src/unixoutputstream.hg: Added get_fd() and get/set_close_fd().
* gio/src/datainputstream.[hg|ccg]: Added read_until_async(),
read_until_finish(), read_line_async() and read_line_finish().
Added documentation for read_until() and read_line().
2009-02-06 Murray Cumming <murrayc@murrayc.com>
* tools/extra_defs_gen/generate_defs_gio.cc: Added unix types.
* gio/src/gio_signals.defs: Regenerated.
* gio/src/bufferedinputstream.hg: Added buffer_size property.
* gio/src/bufferedoutputstream.hg: Added buffer_size and auto_grow
properties.
* gio/src/datainputstream.hg: Added byte_order and newline_type
properties.
* gio/src/dataoutputstream.hg: Added byte_order property.
* gio/src/filterinputstream.hg: Added close_base_ stream property.
* gio/src/filteroutputstream.hg:
* gio/src/unixinputstream.hg: Added fd and close_fd properties.
* gio/src/unixoutputstream.hg: Added fd and close_fd properties.
2009-02-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* docs/reference/Doxyfile.in:
* docs/reference/Makefile.am: Allow glibmm to build outside the source
tree. Bug #570216
2009-02-05 Murray Cumming <murrayc@murrayc.com>
* glib/src/regex.hg: create(): For the version when
GLIBMM_EXCEPTIONS_ENABLED is not defined, do not specify default
parameter values because we have an extra error parameter.
Bug #570648 (Bernd Buschinski)
2009-01-20 Deng Xiyue <manphiz@gmail.com>
* Change license header to mention Lesser General Public License
version 2.1 instead of Library General Public License, to be
consistent with COPYING.
2.19.2:
2009-01-19 Tao Wang <dancefire@gmail.com>
* glib/src/nodetree.hg: Do not use a non-ASCII dash character, to
avoid the MSVC++ warning C4819 with Visual Studio 2008.
Bug #568072
2009-01-09 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/wrap.h: wrap_auto_interface<>(): Add a warning to give a
clue when the dynamic_cast fails, for instance if you are doing some
incorrect multiple inheritance.
2009-01-08 Daniel Elstner <danielk@openismus.com>
* glib/glibmm/ustring.h (ustring::compose): Add an overload which
takes only a format string and no arguments to be substituted. It
is essentially a null-operation as long as the format string does
not contain any invalid argument references. Bug #506394.
2009-01-06 Jonathon Jongsma <jonathon@quotidian.org>
* glib/src/uriutils.ccg: fix a memory leak in the uri utility functions
caused by not freeing the returned C string. Bug #566845 (Jason Kasper)
2009-01-03 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg: Added implementation of the
make_directory_with_parents() method overload that takes no parameter.
Bug #566003 (Philip Belemezov).
2008-12-24 Murray Cumming <murrayc@murrayc.com>
* glib/src/spawn.ccg:
* glib/src/spawn.hg: Added Glib::spawn_*() alternative API for when
GLIBMM_EXCEPTIONS_ENABLED is not enabled (when compiling without
C++ exceptions.)
Bug #565487
(Jonathon Jongsma)
2008-12-14 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS: update for follow-up release
2008-12-14 Jonathon Jongsma <jonathon@quotidian.org>
* configure.in: bump to 2.19.1
2008-12-14 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/drive.hg: Wrap new signals 'changed', 'disconnected', and
'eject_button' with the no_default_handler option so that we don't break ABI
by adding new virtual functions
=== 2.19.0 ===
2008-12-12 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS: update for release
2008-12-12 Jonathon Jongsma <jonathon@quotidian.org>
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc: use common filenames so that people other than
murrayc can run the tests without errors
2008-12-12 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/memoryoutputstream.hg: Fix a copy-paste error where I accidentally
left a FilterOutputStream type in
2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/memoryoutputstream.ccg:
* gio/src/memoryoutputstream.hg: Added MemoryOutputStream, but needs a bit
of work on the constructor yet
2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/emblem.ccg:
* gio/src/emblem.hg:
* gio/src/emblemedicon.ccg:
* gio/src/emblemedicon.hg:
* tools/m4/convert_gio.m4: add Emblem and EmblemedIcon classes
2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
* tools/m4/convert_glib.m4: add a conversion for Glib::KeyFile&
* gio/src/desktopappinfo.hg: wrap the new create_from_keyfile() function.
In addition, I removed the _WRAP_CTOR and _WRAP_CREATE usage from the
desktop_id constructor and wrapped all of the static create* functions using
_WRAP_METHOD since these functions do a lot of error handling and can fail
to create an object under some circumstances.
2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
* docs/reference/Makefile.am: rebuild docs when a giomm header file is
changed (similar to how we handle glibmm)
2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
* gio/giomm/contenttype.cc:
* gio/giomm/contenttype.h: add content_type_from_mime_type()
2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
Wrap a bunch of new / missed API
* gio/src/appinfo.hg:
* gio/src/appinfo.ccg: AppInfo::get_commandline(), can_delete(), do_delete()
(need better name?), reset_type_associations(), launch_default_for_uri()
* gio/src/cancellable.hg: add commented-out make_pollfd() since I'm not sure
yet whether it's useful with the C++ API or not
* gio/src/drive.hg: Added signals 'changed', 'disconnected', and
'eject_button'
* gio/src/icon.hg:
* gio/src/icon.ccg: Added Icon::create(string) and Icon::to_string()
* gio/src/mount.hg:
* gio/src/mount.ccg: Added Mount::guess_content_type_sync(), is_shadowed(),
shadow(), and unshadow()
2008-12-01 Jonathon Jongsma <jonathon@quotidian.org>
* configure.in: bump requirement to glib 2.19.x
* gio/src/gio_docs.xml:
* gio/src/gio_enums.defs:
* gio/src/gio_methods.defs:
* gio/src/gio_signals.defs:
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gmodule_enums.defs:
* glib/src/gmodule_functions.defs:
* glib/src/gobject_enums.defs:
* glib/src/gobject_functions.defs: update the .defs to start on 2.19.x API
2008-12-01 Jonathon Jongsma <jonathon@quotidian.org>
* Makefile.am: add some convenience rules for generating the .defs files
2008-09-22 Dave Foster <daf@minuslab.net>
* glib/glibmm/main.h:
* glib/glibmm/main.cc: Added SignalIdle::connect_once,
SignalTimeout::connect_once, and SignalTimeout::connect_seconds_once.
2008-12-10 PrzemysÅaw Grzegorczyk <pgrzegorczyk@gmail.com>
* Cleaned up glib includes since in the future, only glib.h (and
glib-object.h, etc) will be allowed to be included directly.
Bug #563987
2008-12-01 Hubert Figuiere <hub@figuiere.net>
* glib/src/markup.ccg: Change the way unused variables
are marked. Bug #562716
2008-11-29 Hubert Figuiere <hub@figuiere.net>
* glib/src/nodetree.hg: Fix -Wshadow warnings. Bug #555743.
2008-10-20 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS:
* configure.in: bump version to 2.18.1, prepare NEWS for release
2008-10-20 Jonathon Jongsma <jonathon@quotidian.org>
* Makefile.am: updated the release-announce template
2008-10-16 Armin Burgmeier <armin@openismus.com>
* glib/glibmm/ustring.h: Fixed the const char* specialization for
Stringify<> by making the string_ member a const Glib::ustring instead
of a const Glib::ustring&. Also enabled the char[N] specialization for
string literals.
* tests/glibmm_ustring_compose/main.cc: Enabled the test for the
specialization for string literals.
Bug #506410 (SzilƔrd Pfeiffer)
2008-10-15 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tools/extra_defs_gen/generate_extra_defs.cc: Modify signal and props
generation tool to generate interface signals.
2008-10-15 Armin Burgmeier <armin@openismus.com>
* gio/src/fileenumerator.hg:
* gio/src/fileenumerator.ccg: Made FileEnumerator::next_file not add
an additional reference to the return value, because the C version
creates a new object. Also, changed ownership of the list returned by
FileEnumerator::next_files_finish to be deep instead of shallow. Bug
#556387.
2008-10-09 Armin Burgmeier <armin@openismus.com>
* gio/src/fileinfo.hg: Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN
because the former is a #define on Windows in winbase.h, included from
windows.h. Keep FILE_TYPE_UNKNOWN for compatibility if it is not
already defined.
2008-10-09 Armin Burgmeier <armin@openismus.com>
* MSVC_Net2008/Makefile.am: Removed README from EXTRA_DIST to fix
`make dist'.
2008-10-08 Armin Burgmeier <armin@openismus.com>
* MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj:
* MSVC_Net2005/examples/dispatcher/dispatcher.vcproj:
* MSVC_Net2005/examples/options/options.vcproj:
* MSVC_Net2005/examples/thread/thread.vcproj:
* MSVC_Net2005/examples/thread_pool/thread_pool.vcproj:
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/glibmm/glibmm.vcproj: Adapt to the new MSVC++ DLL
naming convention.
* MSVC_Net2008/: Added MSVC 2008 project files.
* configure.in:
* Makefile.am: Add the new files to the build.
2008-10-04 Jonathon Jongsma <jonathon@quotidian.org>
* gio/src/error.hg: add a workaround for the HOST_NOT_FOUND symbol
conflicts, as suggested by SzilƔrd Pfeiffer in Bug #529496
* tests/giomm_ioerror/main.cc: add a test for this
2008-09-19 Armin Burgmeier <armin@openismus.com>
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Keep @param and
@throws intact, so these can be used in *_docs_override_xml. Bug
#539891.
2008-09-22 Armin Burgmeier <armin@arbur.net>
* MSVC_Net2005/glibmm/glibmm.vcproj: Added uriutils.cc and nodetree.cc
to the project.
2008-09-22 Armin Burgmeier <armin@arbur.net>
* MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj:
* MSVC_Net2005/examples/dispatcher/dispatcher.vcproj:
* MSVC_Net2005/examples/markup/markup.vcproj:
* MSVC_Net2005/examples/options/options.vcproj:
* MSVC_Net2005/examples/thread/thread.vcproj:
* MSVC_Net2005/examples/thread_pool/thread_pool.vcproj:
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/glibmm/glibmm.vcproj:
* MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj:
* MSVC_Net2005/tests/glibmm_value/glibmm_value.vcproj: Fixed the MSVC
build of the examples and tests if configure did not run before.
=== 2.18.0 ===
2008-09-21 Jonathon Jongsma <jonathon@quotidian.org>
* Makefile.am: fix a minor issue in the release target
2008-09-21 Jonathon Jongsma <jonathon@quotidian.org>
* NEWS: Add news for 2.18 release
* configure.in: bump version number for release
* Makefile.am: update release mail template slightly
2008-09-08 Murray Cumming <murrayc@murrayc.com>
* COPYING.tools:
* Makefile.am: Added COPYING.tools with the GPL because the tools/*.cc
file is GPL. Bug #550789.
=== 2.17.3 ===
2008-09-03 Jonathon Jongsma <jjongsma@gnome.org>
* NEWS: update for release
* configure.in: bump version for release
2008-08-26 SzilƔrd Pfeiffer <szilard.pfeiffer@gmail.com>
* glib/src/nodetree.hg: Implemented clone function to merge the
constructors into that and fixed clear function the operator=
function.
* tests/glibmm_nodetree/main.cc: Simplified the test case.
Bug #547901.
2008-08-27 Armin Burgmeier <armin@arbur.net>
* MSVC_Net2005/glibmm/glibmm.rc.in:
* MSVC_Net2005/giomm/giomm.rc.in: Replaced #include "afxres.h" by
#include <windows.h> which does the job equally well, and allows
compilation with the freely available Visual Studio Express compiler.
2008-08-27 Armin Burgmeier <armin@arbur.net>
* glib/glibmm/ustring.cc: Only include config.h when HAVE_CONFIG_H is
defined, to allow building glibmm with MSVC without having generated
config.h before. The only thing config.h is used for is the
SIZEOF_WCHAR_T define anyway, and this is not needed for a MSVC build.
Bug #549343.
2008-08-26 Murray Cumming <murrayc@murrayc.com>
* tests/glibmm_nodetree/main.cc: Actually use the copy constructor (or operator=),
instead of just copying the pointer.
2008-08-26 Murray Cumming <murrayc@murrayc.com>
* glib/src/nodetree.hg: Added an operator=() because we have a copy constructor.
Moved some code into a private clear() method so we can reuse it.
2008-08-26 SzilƔrd Pfeiffer <szilard.pfeiffer@gmail.com>
* glib/src/nodetree.hg: Added a copy constructor. Therefore, take
store the data by value instead of reference, taking it by const reference.
* tests/glibmm_nodetree/main.cc: Test the copy constructor.
Bug #547909.
2008-08-15 SzilƔrd Pfeiffer <szilard.pfeiffer@gmail.com>
* glib/src/nodetree.hg: Fixed pointer handling problem in find_child.
Bug #547909.
2008-08-15 SzilƔrd Pfeiffer <szilard.pfeiffer@gmail.com>
* tests/glibmm_nodetree/main.cc: Implement the C++ version of GNode test
case.
Bug #547889
2008-07-29 SzilƔrd Pfeiffer <szilard.pfeiffer@gmail.com>
* glib/src/nodetree.hg: Use const_cast<> in the necessary const member
functions instead of gobj() to fix the compilation when using these.
Bug #546485.
2008-08-08 Armin Burgmeier <armin@arbur.net>
* MSVC_Net2005/: Moved from MSVC_Net2003
* MSVC_Net2005/glibmm.sln:
* MSVC_Net2005/glibmm/glibmm.vcproj:
* MSVC_Net2005/examples/dispatcher/dispatcher.vcproj: Converted to
project files for Visual Studio 2005.
* MSVC_Net2005/glibmm/glibmm.rc.in: Removed the #include "resource.h"
since there is no resource.h in the project, and the resource still
seems to compile.
* MSVC_Net2005/giomm/giomm.rc.in:
* MSVC_Net2005/giomm/giomm.vcproj:
* MSVC_Net2005/giomm/Makefile.am: Added giomm to the MSVC project.
* MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj:
* MSVC_Net2005/tests/giomm_simple/Makefile.am: Added giomm_simple to
the MSVC project.
* MSVC_Net2005/tests/Makefile.am:
* MSVC_Net2005/Makefile.am:
* Makefile.am:
* configure.in: Adapted build files.
=== 2.17.2 ===
2008-08-06 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS: update for 2.17.2
* configure.in: bump version
2008-08-06 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* tests/Makefile.am:
* tests/glibmm_ustring_compose/main.cc: Added a test case.
* glib/glibmm/ustring.h: Added a ustring::Stringify<>
template specialization so that ustring::compose() works with
const char* arguments, though it still needs to be fixed to
work for string literals.
Bug #506410 (SzilƔrd Pfeiffer).
2008-08-06 Murray Cumming <murrayc@murrayc.com>
* glib/src/nodetree.hg: Make gobject_ and data_ private,
to remove them from protected API. Patch from SzilƔrd Pfeiffer.
Bug #546485.
Make gobj() inline.
2008-08-04 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/propertyproxy.h: Added some API documentation
about the need to register a new GType when adding properties.
Bug #523043 (Moritz Ulrich).
2008-08-02 Murray Cumming <murrayc@murrayc.com>
* docs/reference/glibmm_header.html_fragment: Change the Main
Page link to link to gtkmm.org/documentation.shtml
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/Makefile.am: Remove the mention of tree.cc here to
fix the build. Generated files should never be menioned there.
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* glib/src/nodetree.hg: Hand-code the TraverseType enum, to add
a prefix to the values.
* tests/glibmm_nodetree/main.cc: Adapted.
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* glib/src/nodetree.hg: find(), find_child(), traverse(), foreach():
Rearrange the parameters so we can have default values.
* tests/glibmm_nodetree/main.cc: Adapted.
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* glib/src/nodetree.hg: Move the TraverseFlags enum into
the class, and hand-code it to avoid problems with _WRAP_ENUM().
* tests/glibmm_nodetree/main.cc: Adapted.
Bug #545050 (SzilƔrd Pfeiffer).
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* glib/glibmm.h:
* glib/src/Makefile_list_of_hg.am_fragment:
* glib/src/nodetree.hg:
* glib/src/tree.hg: Renamed to nodetree.hg
* tests/Makefile.am:
* tests/glibmm_tree/Makefile.am:
* tests/glibmm_tree/main.cc: Renamed to glibmm_nodetree/
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* glib/src/tree.hg: Renamed Glib::Tree to Glib::NodeTree to avoid
confusion with GTree, because we actually wrap GNode, but do not like
that name. As discussed in bug #520778.
* tests/glibmm_tree/main.cc: Adapted.
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* Makefile.am: Build the docs at the end, after the tests, to
save time when testing API changes.
* glib/src/tree.hg: Const corrections: Add const and non-const versions
of many methods, instead of returning non-const objects from const methods.
find().
Changed max_height() to get_max_height() for consistency.
* tests/glibmm_tree/main.cc: Adapted to changed API.
2008-07-29 SzilƔrd Pfeiffer <szilard.pfeiffer@gmail.com>
* glib/src/tree.hg: Make the callbacks take a Tree<> instead of just
the data, so they can use methods on the tree (which can be a node
in the tree).
gobject_: Make this protected.
Provide the this pointer as data to g_node_new() so we can retrieve
it later.
Removed children_ and parent_ because we don't need a separate store now that
we can get the C++ instance from the gobject instance.
owns_gobject_: Removed because it is was always true, so the gobject was
always destroyed (and still is).
* tests/glibmm_tree/main.cc: Updated for the changed API.
Bug #520778.
2008-07-25 Murray Cumming <murrayc@murrayc.com>
* gio/src/volumemonitor.hg: Added the drive_eject_button signal.
2008-07-25 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_enums.defs: Hacked in a replacement
enum for Gio::Error::HOST_NOT_FOUND as
Gio::Error::HOST_WAS_NOT_FOUND, to avoid a clash with
a netdb.h define.
Bug #529496.
* configure.in:
* tests/Makefile.am:
* tests/giomm_ioerror/Makefile.am:
* tests/giomm_ioerror/main.cc: Added a test to make sure
that our hacked-in enum value stays hacked in.
2008-07-25 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_enums.defs:
* gio/src/gio_methods.defs:
* gio/src/gio_signals.defs: Regenerated.
* gio/src/mount.hg: Corrected an _IGNORE().
* gio/giomm/contenttype.cc:
* gio/giomm/contenttype.h: Added content_type_guess_for_tree().
2008-07-23 Damien Carbery <damien.carbery@sun.com>
* scripts/macros.m4: Change grep to use -i when checking for GNU m4.
This fixes the test on Solaris. Bug #423990.
=== 2.17.1 ===
2008-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS: update for new release
2008-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* configure.in: bump version and min required glib version
2008-07-16 Jens Georg <mail@jensge.org>
* MSVC_Net2003/glibmm/glibmm.vcproj: Mention new source files
for regex and keyfile.
Bug #543292.
2008-07-16 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: Added make_directory_with_parents(),
query_file_type(), monitor().
* gio/src/fileenumerator.ccg:
* gio/src/fileenumerator.hg: Added get_container().
* gio/src/mount.hg: Added guess_content_type() and
guess_content_type_finish().
* gio/src/themedicon.hg: Added prepend_name().
* gio/src/volume.hg: Added get_activation_root().
* tools/m4/convert_gio.m4: Added a necessary conversion.
2008-07-15 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs:
* glib/src/glib_functions.defs: Regenerated with h2def.py
* glib/src/checksum.hg: Added reset().
2008-07-15 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.ccg:
* gio/src/appinfo.hg: Avoid a circular include to fix the build.
2008-07-15 Benjamin Herr <ben@0x539.de>
* gio/src/volumemonitor.hg: Removed some unnecessary ; characters,
to avoid warnings.
Bug #542929.
2008-07-14 Murray Cumming, <murrayc@murrayc.com>
* tools/m4/convert_gio.m4:
* gio/src/appinfo.hg: get_display(), get_startup_notify_id():
Take a list of Gio::File, not filepath string. Now that the C API is
properly documented we know that this is correct. It's an API break
but this function could nothave worked before.
* glib/src/glib_docs.xml: Regenerate.
* glib/src/glib_docs_override.xml: Add overrides for
g_key_file_load_from_file() and g_key_file_get_value() to mention
exceptions.
2008-06-30 Johannes Schmid <jhs@gnome.org>
* glib/glibmm/containerhandle_shared.h:
Improve documentation of Glib::OwnershipType (#540875)
2008-07-02 Armin Burgmeier <armin@arbur.net>
* gio/src/file.ccg: Pass NULL to the underlying C function for the
etags parameter in the various replace_contents functions. Also bug
#540656.
2008-06-28 Armin Burgmeier <armin@arbur.net>
* gio/src/file.ccg: Pass NULL to the underlying C function for the
etags parameter in various *_replace functions. Otherwise, existing
files are not overwritten. Bug #540656.
2008-06-23 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* examples/Makefile.am:
* examples/keyfile/Makefile.am:
* examples/keyfile/example.ini:
* examples/keyfile/main.cc: Added a little KeyFile example. I am
surprised that we do not seem to have one somewhere already.
I need to move all these glibmm examples into gtkmm-documentation some
time.
2008-06-19 Murray Cumming <murrayc@murrayc.com>
* glib/src/tree.hg: Some whitespace changes. And more use of typedefs
to simplify the code.
2008-06-19 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
* glib/src/tree.hg: Some minor changes to deal with TODOs.
Bug #538803.
2008-06-17 Chris Vine <chris@cvine.freeserve.co.uk>
* glib/src/thread.hg: document that the slot object passed to
Glib::Thread::create() should not represent a non-static method of
a class derived from sigc::trackable.
See bug #512348.
=== 2.17.0 ===
2008-06-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
* NEWS:
* configure.in: update for new release
2008-06-13 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
* glib/glibmm.h:
* glib/glibmm/Makefile.am:
* glib/src/Makefile_list_of_hg.am_fragment:
* glib/src/tree.ccg:
* glib/src/tree.hg: Added Glib::Tree, a wrapper for GNode, providing
an N-ary tree container, more or less like a standard C++ container.
* configure.in:
* tests/Makefile.am: Added some test code for this new API.
Bug #520778
2008-06-13 Murray Cumming <murrayc@murrayc.com>
* glib/src/date.hg: Used @newin2p18 on the new API and made some
slight corrections to the new reference documentation comments.
2008-06-11 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tests/glibmm_date/Makefile.am: Contents of files in
tests/glibmm_date/ (main.cc and Makefile.am) were duplicated when I
applied patch in bug #536721 to already existing files before 6/9
commit. Fixed main.cc already, so now repaired Makefile.am.
2008-06-10 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* tests/glibmm_date/main.cc: Removed duplicate code so test can
compile.
2008-06-09 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* glib/src/date.ccg:
* glib/src/date.hg: Added copy constructor and assignment operator;
Made GDate constructor visible.
* configure.in:
* tests/Makefile.am:
* tests/glibmm_date/Makefile.am:
* tests/glibmm_date/main.cc: Added simple test to test Glib::Date.
This is svn trunk for new API, wrapping glib 2.17/18. See also the glibmm-2-16 branch.
2008-04-25 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/drive.hg:
* gio/src/volume.hg: add TypeTraits implementations for Drive and Volume
similar to the one added for Mount.
2008-04-23 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/mount.hg: Add a TypeTraits implementation for
Glib::RefPtr<Gio::Mount> so that we can wrap implementor types that don't
have a wrapper (e.g. GHalMount in gvfs). Fixes bug #529533
2008-04-24 Jonathon Jongsma <jjongsma@gnome.org>
* glib/glibmm/wrap.cc: Improve the error message when failing to wrap a
particular type of object to give a hint about initializing the library
since we get so many questions about this (bug #529648)
2.16.2:
2008-04-18 Jonathon Jongsma <jjongsma@gnome.org>
* NEWS:
* configure.in: bump to 2.16.2 for release
2008-04-16 Murray Cumming <murrayc@murrayc.com>
* glib/src/spawn.hg: Moved the enum back out of the doxygen group,
because that results in the enums group being inside the spawn group.
2008-04-16 Murray Cumming <murrayc@murrayc.com>
* glib/src/spawn.hg: Addded doxygen documentation based on the
C documentation.
Bug #528271 (Jonathon Jongsma)
2008-04-13 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.ccg: set_long_name(): Do not use NULL for an
empty string, because "" has a special meaning to GOptionEntry - it
is the definition of G_OPTION_REMANING.
* examples/options/main.cc: Add an entry with the long name
G_OPTION_REMAINING, to list additional non-named arguments. More
explicit API should be added for this.
Bug #526831 (Christian Lundgren).
2008-04-13 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/ustring.cc erase(): Create an end iterator and use it,
instead of just using the std::string(iterator) erase implementation,
because that only removes one byte, which can make the whole string
invalid UTF-8.
Bug #527687 (Jarro).
2008-04-11 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.ccg:
* glib/src/optionentry.hg: Hand-code set_description(),
set_arg_description() and set_long_name(), to free any existing string,
to maybe fix a (possible) leak found by valgrind.
2008-03-29 Jonathon Jongsma <jjongsma@gnome.org>
* Makefile.am: add some more convenience targets for making releases
2.16.1:
2008-03-28 Tim Retout <tim@retout.co.uk>
* glib/glibmm/helperlist.h (operator[]): Add a newline before
the semicolon at the end of the 'for' loop. Fixes g++ 4.3 warning.
2008-03-29 Jonathon Jongsma <jjongsma@gnome.org>
* NEWS: updated
* configure.in: bump to 2.16.1
2008-03-29 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg:
* gio/src/file.ccg: query_default_handler(), set_display_name(),
query_info(), query_filesystem_info(): Do not take an extre reference,
because the C functions all provide new objects with an initial
reference. I checked.
2008-03-28 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg: create(), replace(): Do not take an extra reference,
because the C function has given us a new instance with an initial
reference. The leak stopped the stream from really replacing the file,
because that only happens when it is closed.
2008-03-28 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg:
* gio/src/outputstream.hg: Documentation: Remove/fix mentions of 0 when
we mean something else.
2008-03-24 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/desktopappinfo.hg:
* gio/src/unixinputstream.hg:
* gio/src/unixmount.hg:
* gio/src/unixoutputstream.hg: don't wrap these unix-specific types when
building on MS Windows (bug #524126)
2008-03-18 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg: Include giomm/error.h Because Gio::Error is thrown
by some of these methods and it is annoying to have to include it
separately just to catch that.
2.16.0:
2008-03-10 Tim Mooney <murrayc@murrayc.com>
* glib/glibmm/object.cc: Include string.h to fix the build with
SUN CC.
Bug #498438.
2008-03-07 Jonathon Jongsma <jjongsma@gnome.org>
* glib/glibmm.h: add an include for checksum.h which was added in the 2.15.x
series.
2008-03-05 Murray Cumming <murrayc@murrayc.com>
* MAINTAINERS: Added Jonathon Jongsma as co-maintainer.
2008-03-05 Murray Cumming <murrayc@murayc.com>
* tools/m4/convert_gio.m4: Use __CONVERT_CONST_REFPTR_TO_P_SUN() instead
of __CONVERT_REFPTR_TO_P() to maybe fix the build with Sun CC.
(Simon Zheng)
2008-03-04 Jonathon Jongsma <jjongsma@gnome.org>
* Makefile.am: updated the 'release' target to give a bit more helpful error
messages
2008-03-04 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py.
* gio/src/gio_docs_override.xml: Overrode g_file_query_exists() to
mention an exception instead of an error. G_IO_ERROR_* now does not
appear in any of our documentation.
2.15.8:
2008-03-03 Murray Cumming <murrayc@murrayc.com>
* gio/src/bufferedinputstream.hg:
* gio/src/bufferedoutputstream.hg:
* gio/src/datainputstream.hg:
* gio/src/dataoutputstream.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/filterinputstream.hg:
* gio/src/filteroutputstream.hg:
* gio/src/inputstream.hg:
* gio/src/memoryinputstream.hg:
* gio/src/mount.hg:
* gio/src/outputstream.hg:
* gio/src/seekable.hg:
* gio/src/unixinputstream.hg:
* gio/src/unixoutputstream.hg: Put these in a Streams doxygen group.
We should think of some more groups, maybe by looking at the C
documentation.
2008-03-03 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: load_contents(), load_contents_finish(),
load_partial_contents_finish(): Use char*& instead of char** for contents,
though that is not that great either. Use std::string& instead of char**
for etag_out. Added method overloads without cancellable.
We might want other method overloads in future.
2008-02-29 Jonathon Jongsma <jjongsma@gnome.org>
* Makefile.am: added 'release' target which will run distcheck, tag the
repository with the current version and upload the tarball to
master.gnome.org
2008-02-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/asyncresult.hg:
* gio/src/file.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/gio_docs_override.xml:
* gio/src/inputstream.hg:
* gio/src/outputstream.hg: Correct hand-coded documentation,
to talk about throwing exceptions rather than setting or returning
errors.
* gio/src/mount.hg: Add class documentation based on the C documentation.
2008-02-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py.
* gio/src/gio_docs_override.xml: Override some documentation that
mentions the GCancellable being optional, or that talks about setting
errors instead of throwing them.
2.15.7:
2008-02-26 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs: Regenerated.
* gio/src/file.ccg:
* gio/src/file.hg: Added query_filesystem_info_async() and
query_filesystem_info_finish() because these were added to the C API.
* gio/src/themedicon.hg: Added append_name() because this was added to
the C API.
2008-02-25 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/Doxyfile.in: 'upgraded' the doxygen config file since
doxygen was complaining about obsolete options
* gio/giomm/contenttype.h:
* gio/src/bufferedinputstream.hg:
* gio/src/file.hg:
* gio/src/fileoutputstream.hg:
* gio/src/outputstream.hg:
* glib/src/checksum.hg:
* glib/src/keyfile.hg: fixed a bunch of minor doxygen warnings
2008-02-25 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/doxygen_to_devhelp.xsl: add path separators between the
reference prefix and the link filenames
* docs/reference/Makefile.am: remove trailing slash from the reference
prefix (fixes bug #518673)
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gio/src/file.hg:
* gio/src/gio_docs.xml:
* gio/src/gio_methods.defs:
* gio/src/gio_vfuncs.defs:
Initial work for another API change:
g_file_contains_file() has been renamed to
g_file_has_prefix() (with the parameter order swapped!)
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
* glib/src/uriutils.ccg:
* glib/src/uriutils.hg:
g_uri_get_scheme has been renamed to g_uri_parse_scheme
in GLib trunk. Updated accordingly.
2008-02-24 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/Makefile.am: dist xml/index.xml to satisfy build-deps for
building the devhelp book from the tarball. Fixes distcheck.
2.15.6:
2008-02-24 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/inputstream.hg: Updated the todo regarding read().
2008-02-22 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileattributeinfolist.hg: Added dup().
* gio/src/gio_others.defs: Added signals for GMount and GVolume.
This deals with the gmmproc warnings.
2008-02-21 Murray Cumming <murrayc@murrayc.com>
* gio/src/desktopappinfo.hg: Revert the change from JosƩ which removed
use of _WRAP_CTOR() and _WRAP_CREATE(). We really do want to use these
so we instantiate derived GTypes.
2008-02-21 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/desktopappinfo.hg: Made is_hidden() const.
2008-02-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/desktopappinfo.hg: Used _WRAP_METHOD instead of _WRAP_CREATE
for create() to allow docs from C API to be used
2008-02-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/desktopappinfo.hg: Renamed new_from_file() to
create_from_file()
2008-02-21 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/desktopappinfo.hg: Added create(), create_from_file()
is_hidden() and set_desktop_env()
* tools/m4/convert_gio.m4: Added DesktopAppInfo conversion
2008-02-21 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs: Regenerated with h2defs.py
* gio/src/gio_signals.defs: Corrected the GMountOperation::ask-question
definition.
* gio/src/mountoperation.hg: Wrapped the ask-question signal, though
I wonder if it really works.
* gio/src/memoryinputstream.ccg:
* gio/src/memoryinputstream.hg:
Added add_data(const void* data, gssize len).
* gio/src/gio_others.defs: Added g_themed_icon_get_names()
because h2defs.py cannot seem to parse it.
* gio/src/Makefile.am: Mention gio_methods.defs.
* gio/src/themedicon.hg: Attempted to wrap get_names(), but I get a
gmmproc error.
2008-02-20 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/desktopappinfo.hg: Removed a todo regarding
DesktopAppInfoLookup. We will not wrap it as it is an interface
that is used by backends.
2008-02-20 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/Makefile.am: updated some build dependencies that were
causing issues after adding the xml/devhelp build rules. Also removed some
cruft that was supposedly setting the doxygen image path for gtk stock icons
(presumably copied from the gtkmm build rules). Should Fix Bug #517423
2008-02-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.hg:
* gio/src/bufferedinputstream.hg:
* gio/src/drive.hg:
* gio/src/file.hg:
* gio/src/filemonitor.hg:
* gio/src/icon.hg:
* gio/src/seekable.hg:
* gio/src/volume.hg:
* gio/src/volumemonitor.hg: Comment out _WRAP_VFUNC() lines because
we decided that they are not useful (people will not create new
implementations with giomm) and are a potential source of errors.
2008-02-20 Murray Cumming <murrayc@murrayc.com>
* tools/m4/convert_gio.m4:
* gio/src/file.hg: equal(), get_relative_file(), contains_file(): Take
const File parameters.
2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/Makefile.am: I should have tested this more thoroughly --
we apparently need to use relative paths in the reference_prefix variable.
Also add the devhelp file to the all-local target so it gets built by
default on a simple 'make' and not just on 'make install'
2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/Makefile.am: install the stylesheet in the gmmproc dir
instead of the documentation directory. This allows other libraries to get
a path to the stylesheet by querying the just-added gmmprocdir variable.
Also, it doesn't really belong in the documentation directory since it's not
technically documentation.
2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/doxygen_to_devhelp.xsl: make this more general instead of
hard-coding the name and title and reference path into the stylesheet --
instead pass them as parameters on the commandline
* docs/reference/Makefile.am: use new GMMPROC_DIR variable. Also install
the doxygen_to_devhelp.xsl stylesheet so that other libraries can use the
installed version instead of having everybody copy the file into their own
library if they want to generate a devhelp book
2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
* configure.in: add a GMMPROC_DIR variable so the individual
Makefile.am files don't need to duplicate the information about where
gmmproc is to be installed
* glib/glibmm-2.4.pc.in: add new gmmprocdir variable so that interested
libraries can query it with `pkg-config --variable gmmprocdir glibmm-2.4`
* tools/Makefile.am:
* tools/m4/Makefile.am:
* tools/pm/Makefile.am: use the new GMMPROC_DIR variable
2008-02-14 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/dataoutputstream.hg: Removed get/set_newline_type(),
which doesn't exist in the C API.
2008-02-13 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/Doxyfile.in:
* docs/reference/Makefile.am:
* docs/reference/doxygen_to_devhelp.xsl: generate and install a devhelp book
for glibmm like we do for gtkmm. It would be nice to make the xsl
stylesheet general and shared between gtkmm and glibmm (and eventually other
libraries as well), but for now I just duplicated it here
2008-02-12 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* gio/src/unixinputstream.hg:
* gio/src/unixoutputstream.hg: Made wrapped constructors protected.
* gio/src/bufferedinputstream.hg:
* gio/src/datainputstream.hg:
* gio/src/dataoutputstream.hg: Ditto for Data*Streams,
and marked some hand-wrapped functions to ignore.
* gio/src/mountoperation.hg: Wrote a note about ask_question signal,
still to be wrapped.
* gio/src/volume.hg: Added should_automount().
* gio/giomm: Updated svn:ignore properties.
2.15.5:
2008-02-11 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/gio_enums.defs:
* gio/src/gio_vfuncs.defs:
* gio/src/mount.ccg:
* gio/src/mount.hg:
* gio/src/volume.ccg:
* gio/src/volume.hg:
* tools/m4/convert_gio.m4: update to match new gio API which adds a
GMountMountFlags argument to all mount operations
2008-02-11 Jonathon Jongsma <jjongsma@gnome.org>
* configure.in: bump glib requirement to 2.15.5 (bug #515727)
2008-02-09 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_vfuncs.defs: Added hand-written vfunc .defs for
GVolume and GVolumeMonitor.
* gio/src/volume.hg:
* gio/src/volumemonitor.hg: Added vfuncs, though not using all C++ types
yet. I am not really sure that these will ever be useful (if anyone will
ever want to implement them in C++).
2008-02-09 Murray Cumming, <murrayc@murrayc.com>
* gio/giomm.h:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/simpleasyncresult.ccg:
* gio/src/simpleasyncresult.hg: removed SimpleAsyncResult because I
do not believe it is really public API. If we are wrong then we
can resurrect it from svn later.
2008-02-09 Takao Fujiwara <Takao.Fujiwara@Sun.COM>
* glib/glibmm/Makefile.am:
* glib/glibmm/i18n-lib.h: Actually install this header,
and make the header guards unique.
Bug #515133
2.15.4:
2008-02-07 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/Makefile.am:
* glib/glibmm/main.h: Moved the Priorities enum into
* glib/glibmm/priorities.h:
Though all the giomm stuff seems to already include main.h anyway.
It probably shouldn't, and then we can include priorities.h only.
* gio/src/bufferedinputstream.hg:
* gio/src/file.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/gio_methods.defs:
* gio/src/inputstream.hg:
* gio/src/outputstream.hg: Use Glib::PRIORITY_DEFAULT instead of
G_PRIORITY_DEFAULT.
* glib/src/iochannel.ccg: Add some ifdefs to avoid unused parameter
warnings when exceptions are disabled, because our current trick for
that is now causing another warning instead.
2008-02-06 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/datainputstream.ccg:
* gio/src/datainputstream.hg: change the read_line() and read_until() APIs
so that they are actually useable. These functions now return a boolean
value to indicate that the end of the stream was reached and return the
string data via reference argument. See bug #514097 for more information
2008-02-06 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs: Regenerated with h2defs.py
* configure.in: Depend on gio-unix-2.0 when not on win32.
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/unixinputstream.ccg:
* gio/src/unixinputstream.hg:
* gio/src/unixoutputstream.ccg: Mentioned this as unix-specific files
so they are built.
* gio/src/bufferedoutputstream.hg: Fixed a parameter type to fix the
build, after a change in gio.
2008-02-05 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: Added an overload of query_default_handler()
without the cancellable.
2008-02-05 Murray Cumming <murrayc@murrayc.com>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/vfs.ccg:
* gio/src/vfs.hg: Remove these because they are not API - they
are declarations of entry points for dynamically-loadable modules.
2008-02-04 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/file.ccg:
* gio/src/file.hg: Added copy_async(), with overloads without
slot_progress (which is optional and would run in the main loop),
with documentation. Wrapped copy_finish(), query_default_handler().
2008-02-04 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/desktopappinfo.ccg:
* gio/src/desktopappinfo.hg: Added DesktopAppInfo but not to
Makefile_list_of_hg.am_fragment yet (need to use gio-unix-2.0.pc to
compile correctly)
2008-02-04 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/bufferedoutputstream.ccg: Changed size param of
create_sized() to type gsize (in agreement with declaration) to fix
compilation
2008-02-04 Murray Cumming <murrayc@murrayc.com>
* tools/m4/class_interface.m4: Allow _CLASS_INTERFACE() to take two
extra optional paremeters to specify the base class, so that appropriate
code is generated when we derive from another Interface - which seems
appropriate when the GInterface has a prerequisite.
* gio/src/loadableicon.ccg:
* gio/src/loadableicon.hg: Derive from Icon, because it is a prerequisite
of this interface. Use the extra _CLASS_INTERFACE() parameters.
* gio/src/fileicon.hg: Do not derive from Icon because that happens
through LoadableIcon now. But do use _IMPLEMENTS_INTERFACE(Icon) here,
because only a Glib::Object can actually implement an interface.
2008-02-04 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/file.hg: remove an obsolete TODO
* gio/src/gio_vfuncs.defs: add LoadableIcon vfunc definitions
* gio/src/loadableicon.ccg:
* gio/src/loadableicon.hg: wrap some methods of LoadableIcon. Some vfuncs
need to be wrapped yet
2008-02-04 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/bufferedoutputstream.hg: switch back create_sized() size parameter
to gsize since glib switched their declaration due to bug #514013.
2008-02-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/unixinputstream.ccg:
* gio/src/unixinputstream.hg:
* gio/src/unixmount.ccg:
* gio/src/unixmount.hg:
* gio/src/unixoutputstream.ccg:
* gio/src/unixoutputstream.hg: Added these, but not to
Makefile_list_of_hg.am_fragment to avoid compile errors (need
gio-unix-2.0.pc to compile correctly)
* gio/src/vfs.hg: Moved forward decs to top (was between class doc and
declaration)
2008-02-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/vfs.ccg:
* gio/src/vfs.hg:
* tools/m4/convert_gio.m4: Added Vfs
2008-02-04 Murray Cumming <murrayc@murrayc.com>
* tools/extra_defs_gen/generate_defs_gio.cc: Added types.
* gio/src/gio_signals.defs: Regenerated.
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/filenamecompleter.hg:
* gio/src/themedicon.hg: Added FilenameCompleter and ThemedIcon.
2008-02-03 JosƩ Alburquerque <jaalburqu@svn.gnome.org>
* gio/src/bufferedoutputstream.ccg: changed size param of
create_sized() to type guint (in agreement with declaration)
* gio/src/file.ccg:
* gio/src/file.hg: added non-cancellable set_attribute_string(),
set_attribute_byte_string(), set_attribute_{uint32, int32, uint64,
int64}
2008-02-03 Murray Cumming <murrayc@murrayc.com>
* tools/extra_defs_gen/generate_defs_gio.cc: Added types.
* gio/src/gio_signals.defs: Regenerated.
* tools/m4/convert_gio.m4:
* gio/src/drive.hg:
* gio/src/filterinputstream.hg:
* gio/src/filteroutputstream.hg:
* gio/src/mount.hg:
* gio/src/mountoperation.hg:
* gio/src/volume.hg:
* gio/src/volumemonitor.hg: Added signals and properties.
* gio/src/file.ccg:
* gio/src/file.hg: Added query_filesystem_info() without a cancellable.
2008-02-03 Murray Cumming <murrayc@murrayc.com>
* gio/src/filemonitor.hg: Add class documentation, now that there is
some in gio.
* gio/src/volumemonitor.hg: Add class documentation.
Remove _DO_NOT_DERIVE_GTYPE because gio no longer abuses the type
system - see bug #511814.
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm.h:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/memoryinputstream.ccg:
* gio/src/memoryinputstream.hg: add MemoryInputStream class
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/dataoutputstream.ccg: fix copy/paste error
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/datainputstream.hg:
* gio/src/dataoutputstream.hg: add DataOutputStream class
* gio/src/dataoutputstream.ccg:
* gio/src/enums.ccg:
* gio/src/enums.hg: moved the DataStream enums to a common enums header
since they're needed by both the input and output data streams.
* gio/giomm.h: add new headers
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/bufferedoutputstream.ccg:
* gio/src/bufferedoutputstream.hg: add BufferedOutputStream class
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm.h:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/filteroutputstream.ccg:
* gio/src/filteroutputstream.hg:
* tools/m4/convert_gio.m4: add FilterOutputStream class
2008-02-03 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: find_enclosing_mout(), append_to(): Reordered
parameters and added overload without cancellable. Removed superfluous
monitor_file() overload.
2008-02-03 Murray Cumming <murrayc@murrayc.com>
* tools/m4/convert_gio.m4:
* gio/src/bufferedinputstream.hg: Move a signal-specific conversion
here, because these conversions are unusual and shouldn't be used by
mistake elsewhere, and when they are next to the signal then it is
more obvious why they take a reference (also fixed).
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm.h: add new header files to the main include
* gio/src/datainputstream.hg: add FIXME note about not being able to tell
error conditions from empty strings on read_line() / read_until()
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm/Makefile.am: add slot_async.h private header to EXTRA_DIST so
that it gets distributed. I didn't add it to the
sublib_files_extra_general_h variable, since then it would get installed
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/datainputstream.ccg:
* gio/src/datainputstream.hg:
* tools/m4/convert_gio.m4: add DataInputStream class
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/gio_vfuncs.defs:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/bufferedinputstream.ccg:
* gio/src/bufferedinputstream.hg: add BufferedInputStream class
* gio/giomm/slot_async.cc:
* gio/giomm/slot_async.h: split out the SlotProxy_async_callback so it
doesn't have to be implemented in every file
* gio/src/drive.ccg:
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/fileenumerator.ccg:
* gio/src/fileinputstream.ccg:
* gio/src/fileoutputstream.ccg:
* gio/src/inputstream.ccg:
* gio/src/mount.ccg:
* gio/src/outputstream.ccg:
* gio/src/volume.ccg: use the common SlotProxy_async_callback function in
all of these files
* tools/m4/convert_gio.m4: add conversion for Cancellable
* gio/giomm/Makefile.am: indenting changes
2008-02-02 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/volumemonitor.hg: Removed VolumeMonitorEvent enum def,
which does not exist any more in the C API.
* gio/src/volume.hg: Added get_identifier(), enumerate_identifiers().
2008-02-02 Marko Anastasov <marko@marko.anastasov.name>
* gio/src/volume.hg: Added get_mount().
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
2008-02-02 Kjartan Maraas <kmaraas@gnome.org>
* tests/giomm_simple/main.cc: Fix compile with GCC 4.3.
2008-02-02 Murray Cumming <murrayc@murrayc.com>
* build_shared/Makefile_gensrc.am_fragment: Use the local .pm files
for gmmproc instead of installed ones. This was a regression that I
introduced when I added gio to the build.
* tools/pm/DocsParser.pm: append_parameter_docs(): Ignore error
parameters because they are almost always wrapped as exceptions.
2008-02-01 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/Makefile.am:
* gio/src/appinfo.hg:
* gio/src/gio_vfuncs.defs:
* tools/m4/convert_gio.m4:
* tools/m4/convert_glib.m4: Add Gio::AppInfo vfuncs
2008-02-02 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: Added overloads of create_file(), remove(), trash(),
make_directory(), make_symbolic_link(), query_settable_attributes(),
and query_writable_namespaces() without cancellable parameters.
The set_attribute_*() methods still need this to be done.
2008-02-02 Murray Cumming <murrayc@murrayc.com>
* gio/src/cancellable.hg: Added the signal.
* gio/src/file.ccg:
* gio/src/file.hg: Added copy_attributes(), added mount_enclosing_volume()
mount_enclosing_volume_finish(), find_enclosing_mount(), and
find_enclosing_mount_finish().
Added a mount_mountable() overload with no parameters.
set_attributes_from_info(): Reordered parameters so we can have default
values.
2008-02-02 Murray Cumming <murrayc@murrayc.com>
* gio/giomm/contenttype.cc:
* gio/giomm/contenttype.h: Use convert_return_gchar_ptr_to_ustring()
because it releases the gchar* and checks for NULL.
Removed the ontent_type_guess() that takes a basic_string<guchar>
because I doubt anybody would use that. Added one that takes a
gchar* and size, and one that takes a std::string (for when the data is
a string).
2008-01-31 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm/contenttype.cc: put content_type functions in the Gio namespace
which was accidentally omitted.
2008-01-31 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm.h: forgot to add new contenttype.h header
* gio/giomm/Makefile.am: forgot to install contenttype.h header
2008-01-31 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm/Makefile.am:
* gio/giomm/contenttype.cc:
* gio/giomm/contenttype.h: wrap content_type_* functions
2008-01-29 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg: get_child_for_display_name():
Change the display_name parameter to a ustring because
the C documentation says it should be UTF-8.
* gio/src/fileinfo.hg: Add get_attribute_as_string(), which
returns a UTF-8 string.
(Note that no other gio documentation mentions UTF-8.)
Thanks to Iain Nicol.
2.15.3:
2008-01-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileattribute.ccg:
* gio/src/fileattribute.hg: Split into
* gio/src/fileattributeinfo.ccg:
* gio/src/fileattributeinfo.hg: and
* gio/src/fileattributeinfolist.ccg:
* gio/src/fileattributeinfolist.hg
* gio/giomm.h:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/file.hg:
* gio/src/fileinfo.hg:
* gio/src/outputstream.hg:
* gio/src/seekable.hg:
* glib/src/optionentry.hg: Adapted.
* tools/pm/DocsParser.pm: substitute_identifiers():
Tried (unsuccessfully) to remove G:: prefixes in generated documentation.
2008-01-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.hg:
* gio/src/asyncresult.hg:
* gio/src/cancellable.hg:
* gio/src/drive.hg:
* gio/src/error.hg:
* gio/src/file.hg:
* gio/src/fileattribute.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileicon.hg:
* gio/src/fileinfo.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/filterinputstream.hg:
* gio/src/icon.hg:
* gio/src/inputstream.hg:
* gio/src/loadableicon.hg:
* gio/src/mount.hg:
* gio/src/mountoperation.hg:
* gio/src/outputstream.hg:
* gio/src/seekable.hg:
* gio/src/simpleasyncresult.hg:
* gio/src/volume.hg: Do not include gio.h from our public headers, to
avoid polluting the namespace.
2008-01-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.ccg:
* gio/src/appinfo.hg: Make equal() non virtual - equal_vfunc() is instead.
* gio/src/file.ccg:
* gio/src/file.hg: Make equal() non virtual - equal_vfunc() is instead.
replace_contents(), replace_contents_async(), replace_contents_finish():
Reordered parameters to allow default values, and added method overloads.
2008-01-25 Murray Cumming <murrayc@murrayc.com>
* tools/m4/convert_gio.m4:
* gio/src/filterinputstream.hg: Added the _CLASS_* macro so this type
is really wrapped.
2008-01-25 Murray Cumming <murrayc@murrayc.com>
* tools/m4/class_shared.m4: Added _DO_NOT_DERIVE_GTYPE for use in .hg
files when we do not want to derive a new GType, meaning of course that
we cannot have default signal handlers or vfuncs.
* gio/src/volumemonitor.hg: Use _DO_NOT_DERIVE_GTYPE, because
gio tries to call every type that derives from G_TYPE_VOLUME_MONITOR,
which seems unwise to me - bug #511814.
This makes gtkmm-documentation/examples/book/volumes not crash.
2008-01-24 Jonathon Jongsma <jjongsma@gnome.org>
* gio/giomm.h: add missing headers to the main include header
2008-01-23 Murray Cumming <murrayc@murrayc.com>
* gio/src/error.hg: Renamed Gio::IOError to
Gio::Error.
* gio/src/fileenumerator.ccg:
* gio/src/fileenumerator.hg: Added method overloads of close() and
next_file() without the cancellable parameter.
2008-01-23 Murray Cumming <murrayc@murrayc.com>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/error.ccg:
* gio/src/error.hg: Wrapped GIOErrorEnum as Gio::Error exception.
(This is registered in wrap_init()), so that the correct exception
is thrown.
* gio/giomm.h: Include error.h
2008-01-23 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: Added a read() method overload with no
cancellable parameter.
* tests/giomm_simple/main.cc: Try loading the contents of a file.
Seems to work, though there is an unknown GError domain when the file
does not exist.
2.15.2:
2008-01-21 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_methods.defs: Regenerated.
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg: More overloads, parameter reordering,
and documentation.
2008-01-21 Murray Cumming <murrayc@murrayc.com>
* gio/src/inputstream.ccg:
* gio/src/inputstream.hg: Added method overloads and documentation.
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg: Ignore functions that are just
duplicates of the ones in Seekable, and mention Seekable more in
the documentation.
* gio/src/seekable.hg: Expand the class documentation.
* gio/src/outputstream.ccg:
* gio/src/outputstream.hg: Added method overloads and documentation.
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/objectbase.cc:
* glib/glibmm/objectbase.h: Added connect_property_changed_with_return()
because connect_property_changed() does not return a sigc::connection.
Bug #433984 (Philip Langdale, Kalle Vahlman).
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* glib/src/checksum.ccg:
* glib/src/checksum.hg: Added class documentation. Corrected constructor
documentation and added operator bool() to check for a failure in the
constructor.
2008-01-20 Marko Anastasov <marko@marko.anastasov.name>
* tools/enum.pl: Handle possible parenthesis when matching enum
values declared as shifted ones. Bug #498621.
2008-01-20 Naveen Verma <ernaveenverma@gmail.com>
* glib/src/checksum.[hg|ccg]:
* glib/src/Makefile_list_of_hg.am_fragment:
Added Checksum, wrapping GChecksum Bug #510235.
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/inputstream.hg: Ignore g_input_stream_clear_pending() as well as
the other implementation functions.
* gio/src/outputstream.hg: Ignore the equivalent functions here,
assuming that they are also only for implementations.
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileinfo.hg: FileAttributeMatcher::create(): Add a default
value and documentation.
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/mount.ccg:
* gio/src/mount.hg: const corrections for Slot* and Cancellable
parameters.
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg:
* gio/src/file.ccg: enumerate_children(), enumerate_children_async(),
query_info(), query_info_async(), query_exists(): Reorder parameters to
add default values, add documentation, make const.
2008-01-18 Murray Cumming <murrayc@murrayc.com>
* gio/src/mount.ccg:
* gio/src/mount.hg: Added unmount(), remount(), and
eject(), based on code from JosƩ Alburquerque in bug #510080.
* gio/src/volume.hg: Added documentation.
2008-01-18 Murray Cumming <murrayc@murrayc.com>
* gio/src/drive.ccg:
* gio/src/drive.hg: poll_for_media(): Added documentation.
Wrapped 2 vfuncs (though the .defs still need to be written).
* gio/src/file.ccg:
* gio/src/file.hg: move(), copy(), replace(): Rearranged the parameters so we
can have default values, and added some documentation.
set_display_name(), set_display_name_async(): Take a ustring instead
of a std::string. Added documentation.
* gio/src/fileattribute.ccg:
* gio/src/fileattribute.hg: Added FileAttributeInfoList::add().
Added FileAttributeInfoList::empty().
* tools/m4/convert_gio.m4:
* gio/src/appinfo.hg:
* gio/src/fileenumerator.hg: Move the ListHandle conversions to the
.hg files because the ownership is specific to each use.
2008-01-18 Murray Cumming <murrayc@murrayc.com>
* gio/src/drive.hg:
* gio/src/volumemonitor.hg: Wrapped functions that reurn GLists.
2008-01-18 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.hg:
* gio/src/icon.hg: Removed operator= and operator!= for these RefPtr<>
specializations, because they are unobvious and conflict with the generic
ones.
2008-01-17 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/inputstream.ccg:
* gio/src/inputstream.hg: Fixed const-ness of Cancellables.
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.ccg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg: Added an overload of query_info_async(),
* gio/src/outputstream.ccg:
* gio/src/outputstream.hg: write_async(), splice_async() without
the Cancellable.
Patch from JosƩ Alburquerque, bug #510080.
2008-01-17 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg:
* gio/src/drive.ccg:
* gio/src/drive.hg: eject(),
* gio/src/volume.ccg:
* gio/src/volume.hg: eject(),
* tools/m4/convert_gio.m4: Wrapped GMountUnmountFlags enum as
MountUnmountFlags, and used it.
* gio/src/file.ccg:
* gio/src/file.hg: unmount_mountable(), eject(): Reorder the
parameters and add a default flag value.
2008-01-17 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/filterinputstream.ccg:
* gio/src/filterinputstream.hg:
* gio/src/Makefile_list_of_hg.am_fragment: Added FilterInputStream.
Updated svn:ignore properties.
2008-01-16 Murray Cumming <murrayc@murrayc.com>
* tools/extra_defs_gen/generate_defs_gio.cc: Added Mount and
VolumeMonitor.
* gio/src/gio_signals.defs: Regenerated.
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/mount.ccg:
* gio/src/mount.hg: Added Mount
* gio/src/volumemonitor.hg:
* gio/src/volumemonitor.ccg: Added VolumeMonitor.
* tools/m4/convert_gio.m4: Added necessary conversions.
2008-01-16 Murray Cumming <murrayc@murrayc.com>
* gio/src/Makefile_list_of_hg.am_fragment:
* tools/m4/convert_gio.m4:
* gio/src/filemonitor.hg:
* gio/src/filemonitor.hg: Added FileMonitor.
* gio/src/file.hg: Tried to wrap monitor_file() and
monitor_directory but there is a problem with the GError in
the generated code.
* tools/extra_defs_gen/generate_defs_gio.cc: Added GFileMonitor.
2008-01-16 Murray Cumming <murrayc@murrayc.com>
* gio/src/seekable.ccg:
* gio/src/seekable.hg: Added methods and vfuncs (though the .defs
do not exist for the vfuncs yet.)
2008-01-16 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.hg: Added query_file_exists().
* glib/src/uriutils.hg:uri_unescape_string(), uri_escape_string():
Change the illegal_characters and reserved_chars_allowed parameters
to std::string, because they may not be UTF-8
See bug #508773.
2008-01-15 Murray Cumming <murrayc@murrayc.com>
* gio/src/drive.ccg:
* gio/src/drive.hg: eject(), poll_for_media()
* gio/src/volume.ccg:
* gio/src/volume.hg: mount(), eject():
Add method overloads that take no slot.
* glib/src/uriutils.hg: Fix a typo to fix the build.
2008-01-15 Murray Cumming <murrayc@murrayc.com>
* glib/src/uriutils.hg: Improved the documentation for uri_unescape_string(),
based on the improved C documentation.
2008-01-15 Murray Cumming <murrayc@murrayc.com>
* gio/src/drive.ccg:
* gio/src/drive.hg:
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/fileenumerator.ccg:
* gio/src/fileenumerator.hg:
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg:
* gio/src/inputstream.ccg:
* gio/src/inputstream.hg:
* gio/src/outputstream.ccg:
* gio/src/outputstream.hg:
* gio/src/volume.ccg:
* gio/src/volume.hg: *_async() functions: Rearrange the parameters,
so the (optional) cancellable is always after the slot,
and so flags and io_priority are always at the end, so they can have
default values.
2008-01-15 Murray Cumming <murrayc@murrayc.com>
* tools/m4/Makefile_list_of_sources.am_fragment:
* tools/m4/convert_gio.m4:
* tools/m4/convert_glib.m4:
* tools/m4/convert_gtkmm.m4: Moved the gio conversions into
their own .m4 file, to make it easier to find them.
* gio/src/cancellable.ccg:
* gio/src/cancellable.hg: Use _WRAP_METHOD() for get_current(),
which also fixes the refcounting.
* glib/src/uriutils.hg: Added documentation and default parameter
values.
2.15.1:
2008-01-12 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm.h: Added uriutils.h
* glib/glibmm/private/Makefile.am: Renamed some variables to
avoid clashes with the build_shared/ variables, which caused
a dist failure involving wrap_init.h
2008-01-11 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.hg: Added class documentation.
* gio/src/asyncresult.hg:
* gio/src/cancellable.hg:
* gio/src/drive.hg:
* gio/src/file.hg:
* gio/src/fileattribute.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileicon.hg:
* gio/src/fileinfo.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/icon.hg:
* gio/src/inputstream.hg:
* gio/src/loadableicon.hg:
* gio/src/mountoperation.hg:
* gio/src/outputstream.hg:
* gio/src/seekable.hg:
* gio/src/simpleasyncresult.hg:
* gio/src/volume.hg: Added @newin2p16 to
the documentation.
* glib/src/Makefile_list_of_hg.am_fragment:
* glib/src/uriutils.ccg:
* glib/src/uriutils.hg: Added wrappers of (some) of
these new g_uri_* functions. Not yet documented.
2008-01-11 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: Rename create() to create_file(),
create_async() to create_file_async() and
create_finish() to create_file_finish() to slightly
reduce confusion with the static create*() methods.
2008-01-11 Murray Cumming <murrayc@murrayc.com>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/seekable.ccg:
* gio/src/seekable.hg: Added the Seekable interface, though it
has not methods yet.
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg: Derive/implement Seekable.
* gio/src/icon.hg:
* gio/src/inputstream.hg:
* gio/src/loadableicon.hg:
* gio/src/mountoperation.hg:
* gio/src/outputstream.hg:
* gio/src/simpleasyncresult.hg:
* gio/src/volume.hg: Added class documentation, based on the C
documentation.
2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/appinfo.ccg:
* gio/src/appinfo.hg: Wrapped AppInfo and AppLaunchContext, without
the vfuncs.
* tools/m4/convert_glib.m4: New conversions.
The previous comment on build was not valid.
2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/appinfo.ccg:
* gio/src/appinfo.hg:
* gio/src/Makefile_list_of_hg.am_fragment:
Added AppInfo, with only two methods before we see why it
doesn't get included in the build.
2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/drive.hg:
* gio/src/drive.ccg: Added poll_for_media, poll_for_media_finish.
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/inputstream.hg:
* gio/src/volume.hg: Modified *_finish functions to take a const
AsyncResult.
2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/drive.hg: Added missing capability checking functions.
* gio/giomm: Updated svn:ignore properties.
2008-01-10 Jonathon Jongsma <jjongsma@gnome.org>
* gio/src/mountoperation.hg: api change in reply() virtual function and
addition of MountOperationResult enumeration
* tools/m4/convert_glib.m4: add MountOperationResult enum conversion
* gio/src/gio_enums.defs: re-generate enums
* gio/src/gio_methods.defs: re-generate methods
2008-01-10 Murray Cumming <murrayc@murrayc.com>
* Makefile.am:
* build_shared/Makefile_build.am_fragment:
* build_shared/Makefile_build_extra.am_fragment:
* build_shared/Makefile_build_gensrc.am_fragment:
* build_shared/Makefile_gensrc.am_fragment:
* build_shared/Makefile_gensrc_platform.am_fragment:
Copy (and very slightly adjust) the build_shared/ files from
gtkmm, which has had multiple sub-libraries for a long time.
* gio/giomm/Makefile.am:
* gio/src/Makefile.am:
* gio/src/Makefile_list_of_hg.am_fragment:
* glib/glibmm/Makefile.am:
* glib/glibmm/private/Makefile.am:
* glib/src/Makefile.am:
* glib/src/Makefile_list_of_hg.am_fragment:
Adapt to the structure (variable names, mostly) needed by the
newer build_shared/ files, so that the giomm library is actually
built.
* tools/m4/convert_glib.m4:
* gio/giomm/init.cc:
* gio/giomm/init.h:
* gio/src/asyncresult.ccg:
* gio/src/drive.ccg:
* gio/src/drive.hg:
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/fileattribute.ccg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/volume.ccg:
* gio/src/volume.hg: Various build fixes, including adding a flags
parameter to unmount and eject methods.
2008-01-10 Murray Cumming <murrayc@murrayc.com>
* gio/giomm.h: Correct an include.
* gio/src/asyncresult.hg:
* gio/src/cancellable.hg:
* gio/src/drive.hg:
* gio/src/file.hg:
* gio/src/fileattribute.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileicon.hg:
* gio/src/fileinfo.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/outputstream.hg:
* gio/src/simpleasyncresult.hg:
* gio/src/volume.ccg:
* gio/src/volume.hg: Correct several includes to use giomm/ instead of
glibmm/.
* configure.in:
* examples/Makefile.am_fragment:
* tests/Makefile.am_fragment: Include/Link giomm too.
* tests/Makefile.am:
* tests/giomm_simple/Makefile.am:
* tests/giomm_simple/giomm_simple.cc:
Added a little test, which shows that the library is not being built
properly - we get undefined symbols.
2008-01-10 Murray Cumming <murrayc@murrayc.com>
* tools/extra_defs_gen/generate_defs_gio.cc: Added some types used so
far. There are probably more that should be added here.
* tools/extra_defs_gen/generate_extra_defs.cc: get_properties():
Added warnings and a check to avoid a crash when
g_object_interface_list_properties() returns a NULL paramspec, but a
non-null properties count, as is happening with GVolume.
* gio/src/gio_signals.defs: Generated this from generate_defs_gio.
2008-01-09 Murray Cumming <murrayc@murrayc.com>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/loadableicon.ccg:
* gio/src/loadableicon.hg: Added this, though no methods or vfuncs are
wrapped yet.
* tools/m4/convert_glib.m4:
* gio/src/fileicon.hg:
* gio/src/fileinfo.hg: Derive from LoadableIcon and implement it.
set_modification_time(): Take a const TimeVal.
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg: Added documentation and a version of
seek() without the cancellable parameter.
* gio/src/gio_docs.xml: Generated from docextract_to_xml.py so we get
documentation for methods created by _WRAP_METHOD().
2008-01-09 Murray Cumming <murrayc@murrayc.com>
* gio/src/file.ccg:
* gio/src/file.hg: Added method documentation for most *_async methods.
See also GTK+ bug #508297.
Removed one superfluous load_partial_contents_async() method overload.
* gio/src/fileenumerator.hg: Corrected documentation for close_async().
2008-01-08 Murray Cumming <murrayc@murrayc.com>
* configure.in: Uncomment GTKMM_DOXYGEN_INPUT_SUBDIRS to fix the
reference documentation build (no idea when this happened) and add
gio to the list of directories.
* glib/src/optioncontext.ccg:
* glib/src/optioncontext.hg: Added get_help().
* gio/src/gio_enums.defs: Regenerated with enums.pl
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* tools/m4/convert_glib.m4:
* gio/src/fileattribute.hg: Renamed FileAttributeFlags to
FileAttributeInfoFlags, as it is in gio.
* gio/src/fileenumerator.hg:
* gio/src/asyncresult.hg:
* gio/src/cancellable.hg:
* gio/src/drive.hg:
* gio/src/file.hg: Added class documentation, and some method
documentation, based on the C documentation.
Many giomm classes still need documentation.
2008-01-08 Murray Cumming <murrayc@murrayc.com>
* gio/src/asyncresult.hg:
* gio/src/cancellable.hg:
* gio/src/fileattribute.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/icon.hg:
* gio/src/inputstream.hg:
* gio/src/mountoperation.hg:
* gio/src/outputstream.hg:
* gio/src/simpleasyncresult.hg:
Made some whitespace more consistent with the rest of glibmm.
In particular, white space alignment in .hg files will often be even worse
when seen in the generated .h files.
* gio/src/drive.hg: get_icon(),
* gio/src/file.hg: read(),
* gio/src/fileicon.hg: get_file(),
* gio/src/fileinfo.hg: get_icon(),
* gio/src/volume.hg: get_drive(), get_icon():
For the const versions, actually return a const RefPtr.
2.15.0:
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
* tools/extra_defs_gen/generate_defs_gio.cc:
* tools/extra_defs_gen/Makefile.am: Build a separate extra defs
generating program for gio. Currently the program would crash
with get_defs() calls with gio types.
* configure.in: Define GIOMM_CFLAGS and GIOMM_LIBS.
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/gio_enums.defs:
* gio/src/gio_methods.defs: Regenerated with enums.pl and h2defs.py.
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/icon.ccg:
* gio/src/icon.hg:
* gio/src/inputstream.ccg:
* gio/src/inputstream.hg:
* gio/src/Makefile_list_of_hg.am_fragment: Added files missing from
the import.
Set svn:ignore properties for gio.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* configure.in: Mention the new gio/giommconfig.h in AM_CONFIG_HEADER().
* gio/Makefile.am: Change references to the giomm-2.0.pc to giomm-2.4.pc.
* gio/src/Makefile_list_of_hg.am_fragment: Remove icon.hg and inputstream.hg
because they do not exist in svn.
* gio/src/outputstream.hg: Comment out set_pending() because gmmproc complains
about the wrong number of parameters.
This fixes the build, though I don't know yet if everything is working properly.
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
* configure.in: Fixed typo.
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
* gio/*:
* configure.in:
* Makefile.am:
* tools/m4/convert_glib.m4: Checked in sources from giomm. Build
needs to be fixed to work with scripts in build_shared/.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/ustring.h: Added @newin2p16 to compose() and format()
documentation.
* glib/src/keyfile.ccg:
* glib/src/keyfile.hg: set_double_list(): Make the ArrayHandle argument const.
This could not have been used before.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* glib/src/keyfile.hg: Add class documentation from the glibmm-2-14 branch.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* tools/m4/class_gobject.m4:
* tools/m4/ctor.m4:
_INITIALLY_UNOWNED_SINK: Rename from INITIALLY_UNOWNED_SINK,
for consistency, because this could be used directly from .ccg files
that use _CONSTRUCT().
Remove the debug code for the else case.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* tools/m4/class_gobject.m4:
* tools/m4/ctor.m4:
Added the _DERIVES_INITIALLY_UNOWNED macro, for use
after _CLASS_GOBJECT(), if the C type derives
from GInitiallyUnowned rather than just GObject.
(Not for use with GtkObject-derived classes).
This does g_object_ref_sink() so that we get a normally-behaved
GObject.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* scripts/c_std.m4: Added this, to fix the build. I forgot to
add this when merging the change from glibmm-2-14 on 2007-10-22.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/refptr.h: Use @newin2p16 in the reset() documentation.
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/refptr.h: Deprecate clear(), replacing it with
reset(), because people often do treemodel.clear() when they
mean treemodel->clear(). reset() is consistent with std::auto_ptr<>.
2007-12-28 Daniel Elstner <danielk@openismus.com>
* tools/pm/Output.pm (output_wrap_property): Refuse to generate
a wrapper for a construct-only property which is also write-only,
and display an error message accordingly. (#436789)
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/error.cc:
* glib/glibmm/exception.cc:
* glib/src/convert.ccg:
* glib/src/date.ccg: Include glib.h instead of gmessages.h or
gtestutils.h so this builds with all versions of glib.
2007-12-17 Marko Anastasov <marko.anastasov@gmail.com>
* glib/glibmm/exception.cc:
* glib/glibmm/error.cc:
* glib/src/date.ccg:
* glib/src/convert.ccg: Include gtestutils.h instead of gmessages.h
for g_assert* adapting to glib head.
2007-11-20 Sebastien Bacher <seb128@ubuntu.com>
* glib/glibmm/object.cc: fix build issue when using gcc4.3 (#498438)
2007-10-22 Murray Cumming <murrayc@murrayc.com>
* Merged this change from 2007-03-03 from the glibmm-2-12 branch, which was
missing from this branch:
* configure.in:
* glib/glibmmconfig.h.in:
* glib/src/date.ccg:
* glib/src/date.hg:
* scripts/Makefile.am:
* scripts/c_std.m4: Added a test for the case that time_t is equivalent to
guint32, as seems to be the case on NetBSD-4.99.6/amd64, so we can ifdef-out
the (deprecated, anyway) Glib::Date::set_time(GTime) method when necessary, because
GTime is also equivalent to guint32.
Bug #386990.
2007-10-12 Armin Burgmeier <armin@openismus.com>
* tools/m4/base.m4: Added a new section called SECTION_HEADER_FIRST
that within the header file that is before any generated code (apart
from the include guards) and a _CONFIGINCLUDE macro that includes a
file within this section. This is intended to be used with
g*mmconfig.h so the *_DISABLE_DEPRECATED define is set for deprecated
classes also when included from other code.
2007-10-05 Philipp Kerling <philipp@gmail.com>
* tools/extra_defs_gen/generate_extra_defs.cc:
Also create defs for interfaces, by refing and unrefing them
temporarily.
2007-09-29 RĆ©mi Cardona <remi@gentoo.org>
* configure.in:
increase the minimum glib requirements.
Bug #481566.
2007-10-02 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/wrap.cc:
* glib/glibmm/wrap.h: Replaced wrap_create_new_wrapper()
(introduced by the last commit) with wrap_create_new_wrapper(),
allowing us to check that the parent GType actually implements
the interface. This allows us to return a parent known type
if it implements the wanted interface.
2007-09-25 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/wrap.cc:
* glib/glibmm/wrap.h: Added wrap_auto_interface<>(), which should
be used by wrap() specializations for interfaces, so we create
instances of the interface even if the derived C type is unknown to
us.
* glib/glibmm/signalproxy_connectionnode.h: Do not wrap.h from here
unnecessarily, to allow us to include objectbase.h in wrap.h,
needed by the new templated method.
* tools/m4/class_interface.m4: Use wrap_auto_interface<>()
instead of wrap_auto() for interfaces.
2007-09-06 Daniel Elstner <danielk@openismus.com>
* glib/src/regex.{ccg,hg} (Regex): Some cosmetic cleanup. Also
replace C-style casts in default argument values with static_cast<>.
(escape_string): Wrap missing function.
(match_full): Rename to and add as overloads of match().
(match_all_full): Rename to and add as overloads of match_all().
(split_full): Rename to and add as overloads of split().
2007-09-03 Daniel Elstner <danielk@openismus.com>
* glib/glibmm/ustring.cc (ustring::FormatStream::FormatStream): Use
the global C++ locale instead of forcing the environment's locale
onto the formatting stream. This lifts an unnecessary restriction
at the cost of requiring users to call std::locale::global().
* glib/glibmm/ustring.h (ustring): Advertise the new compose and
format API in the class documentation.
(ustring::format): Correct a couple of cut'n'paste mistakes -- ouch.
Also add two more overloads so that format() now takes up to eight
arguments. Extent the method documentation, too.
(ustring::Stringify): Explicitly declare the class as noncopyable.
(ustring::compose): Qualify calls to method ustring::compose_argv()
in order to avoid surprising name lookup results in the context of
the template instantiation.
* docs/reference/Doxyfile.in (PREDEFINED): Add GLIBMM_HAVE_WIDESTREAM
so that the wide stream I/O operators show up in the documentation.
2007-08-16 Jonathon Jongsma <jjongsma@gnome.org>
* docs/reference/glibmm_footer.html_fragment,
docs/reference/glibmm_header.html_fragment: added <div> to doxygen header
and footer to make it easier to integrate with library.gnome.org, per a
request by Frederic Peters
2007-08-15 Daniel Elstner <danielk@openismus.com>
* glib/glibmm/ustring.{cc,h} (ustring::compose_argv): Rename
"format" argument to "fmt" to avoid name clashes with the method
of the same name.
(ustring::compose): Make the type of each substitution parameter
a template argument, and invoke ustring::format() implicitly for
non-string arguments. Explicit invocation of ustring::format() is
still necessary in order to apply I/O manipulators to an argument.
(ustring::Stringify): New auxiliary template class used in the
implementation of ustring::compose().
* examples/compose/main.cc (show_examples): Omit explicit calls
to ustring::format() where possible.
2007-08-12 Daniel Elstner <danielk@openismus.com>
* examples/compose: New example demonstrating the message
compose and format features.
* examples/compose/main.cc: New file.
* examples/compose/Makefile.am: New file.
* examples/Makefile.am (example_dirs): Add compose directory.
* configure.in (AC_CONFIG_FILES): Add examples/compose/Makefile.
2007-08-12 Daniel Elstner <danielk@openismus.com>
* build_shared/Makefile_build.am_fragment (all_includes): Add
-I$(top_builddir) in order to allow <config.h> to be included.
* glib/glibmm/ustring.{cc,h}: Include <config.h> for the
definition of SIZEOF_WCHAR_T.
(ustring::FormatStream::stream): Replace accessor with template
method that passes its argument onto the stream. Add overload
for "const char*" to enable the use of UTF-8 string literals as
arguments to ustring::format().
(ustring::FormatStream::FormatStream): Handle exceptions on
failure to initialize the locale gracefully.
(ustring::format): Adapt to the modified stream() method.
(operator<<): Add missing call to ustring::raw() to get the
number of bytes instead of code points. Oops.
2007-08-12 Daniel Elstner <danielk@openismus.com>
* glib/glibmm/ustring.{cc,h}: Add preliminary implementation of
a message compose and format API (bug #399216). The API design
is not final and still open for discussion.
(ustring::compose): New set of static methods for composing
internationalized text messages by substituting placeholders
in a template string.
(ustring::format): New set of static methods for locale-dependent
formatting of numbers and other streamable objects to strings.
(ustring::compose_argv): New static method which implements the
common functionality of the compose() overloads.
(ustring::FormatStream): New helper class which implements the
type-independent functionality of the format() templates.
(operator>>): New operator overload for std::wistream.
(operator<<): New operator overload for std::wostream.
2007-08-12 Daniel Elstner <danielk@openismus.com>
* scripts/dk-feature.m4: New file, defining M4 utility macros for
feature testing. These macros are part of my personal autoconf
library and are not specific to glibmm, as indicated by the "DK_"
namespace prefix.
* configure.in (AC_INIT): Switch to the non-deprecated usage of
AC_INIT() by passing project name and version number as arguments.
This is necessary to define a couple of auxiliary macros.
(AC_PREREQ): Bump Autoconf version requirement to 2.58.
(AC_CONFIG_SRCDIR): Point to project-specific source file.
(AC_CONFIG_MACRO_DIR): Declare scripts/ as M4 directory.
(AM_INIT_AUTOMAKE): Switch to non-deprecated usage.
(AC_CHECK_SIZEOF): Use to determine the size of wchar_t.
(DK_CHECK_FEATURE): Use new feature test macro to check for
support of wide-character streams.
* config.h.in (SIZEOF_WCHAR_T): Add #undef template.
* glib/glibmmconfig.h.in (GLIBMM_HAVE_WIDE_STREAM): Likewise.
2007-08-04 Daniel Elstner <daniel.kitta@gmail.com>
* containerhandle_shared.h (TypeTraits<bool>): Rewrite completely
broken type adapter (bug #406960).
* src/keyfile.{ccg,hg}: Fix the implementation to correctly use
ArrayHandle<>. Fix compilation with the new ArrayHandle<bool>
code.
2.13.9:
2007-07-28 Murray Cumming <murrayc@murrayc.com>
* glib/src/keyfile.hg:
* glib/src/keyfile.ccg: Added a set_double() without the group_name
parameter, because the C function can take NULL.
* glib/src/glib_docs_override.xml: Corrected the documnentation for
g_keyfile_set/get_double() to mention 2.14, instead of 2.12,
because we only added these to glibmm in 2.14.
* glib/src/regex.hg: Correct the since documentation to be 2.14
not 2.12.
* glib/src/iochannel.hg: read(): Corrected a parameter name to
match the generated documentation.
* glib/glibmm/miscutils.h: Fixed typos in the use of newin2p14.
2007-07-28 Murray Cumming <murrayc@murrayc.com>
* docs/Makefile_web.am_fragment: Corrected the rsync options, to
match those used by gtkmm, to fix the examples upload.
* glib/src/glib_docs.xml: Regenerated from the C documentation.
2007-07-14 Murray Cumming <murrayc@murrayc.com>
* glib/src/keyfile.ccg:
* glib/src/keyfile.hg: Added get_double(), set_double(), get_double_list()
and set_double_list().
2.13.8:
2007-07-07 Jonathon Jongsma <jjongsma@gnome.org>
* glib/src/optioncontext.ccg:
* glib/src/optioncontext.hg: add some new API that was added in glib 2.12,
including get/set_summary(), get/set_description(), set_translation_domain(),
and set_translate_func().
* glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py
* glib/src/glib_docs_override.xml: override docs for the new functions so
that they say that they were introduced in glibmm 2.14 instead of 2.12
2007-07-02 Johannes Schmid <johannes.schmid@openismus.com>
* glib/src/regex.hg:
Added class documentation
2007-07-02 Murray Cumming <murrayc@murrayc.com>
* tools/pm/DocsParser.pm: convert_tags_to_doxygen():
Handle newin markers for 2.12 and a few after that.
* docs/reference/Doxyfile.in: Added ALIASES for newin2p12 and
a few more.
2.13.7:
2007-06-22 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/main.cc:
* glib/glibmm/main.h: Added SignalTimeout::connect_seconds()
as an equivalent for g_timeout_add_seconds() and took the improved
documentation from glib.
* glib/glibmm/miscutils.cc:
* glib/glibmm/miscutils.h: Added get_user_special_dir(), though we
should maybe wrap the enum.
Reimplemented many of the functions with the
convert_return_gchar_ptr_to_stdstring() and
convert_const_gchar_ptr_to_stdstring() functions to simplify them
and make them handle NULLs properly.
2007-06-22 Murray Cumming <murrayc@murrayc.com>
* glib/src/regex.ccg:
* glib/src/regex.hg: Added a create() method, and added some
more default parameter values to the methods.
* configure.in:
* examples/Makefile.am:
* examples/regex/main.cc: Added a very simple example.
* glib/glibmm/value_custom.h: Put header guards around this, though
this should never be included directly anyway.
2.13.6:
2007-06-17 Murray Cumming <murrayc@murrayc.com>
* glib/src/regex.hg:
* glib/src/matchinfo.hg: Removed API that uses GMatchInfo, until we
wrap this properly, probably as a C++ iterator. This will avoid this
API accidentally being released as stable sometime.
2007-06-12 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_enums.defs: Regenerated with enums.pl
* glib/src/glib_functions.defs: Regenerated with h2defs.py
* glib/src/Makefile_list_of_hg.am_fragment:
* tools/m4/convert_glib.m4:
* glib/src/matchinfo.ccg:
* glib/src/matchinfo.hg:
* glib/src/regex.ccg:
* glib/src/regex.hg: Added the RegEx and MatchInfo classes.
These need some examples to test them. The MatchInfo class is
probably particularly broken at the moment. See the TODO comments.
* glib/glibmm.h: Added regex.h
2007-05-14 Murray Cumming <murrayc@murrayc.com>
* tools/m4/class_boxedtype.m4:
* tools/m4/class_gobject.m4:
* tools/m4/class_gtkobject.m4:
* tools/m4/class_interface.m4:
* tools/m4/class_opaque_copyable.m4:
* tools/m4/class_opaque_refcounted.m4: Explicitly mention Glib::wrap()
in the documentation for generated Glib::wrap() functions, because doxygen
does not show their namespace.
2007-05-04 Murray Cumming <murrayc@murrayc.com>
* tools/pm/Function.pm: When generating example prototypes for
signal handlers, prefix them with on_my_, to avoid confusion with
similarly named functions and with on_*() default signal handlers.
2.13.5:
2007-04-30 Johannes Schmid <johannes.schmid@openismus.com>
* tools/generate_wrap_init.pl.in:
* tools/m4/class_gtkobject.m4:
Use _IS_DEPRECATED instead of _CLASS_DEPRECATED because
the latter confuses gmmproc.
We cannot just use _DEPRECATED because it will result
in incorrect handling of for example
#ifndef GTKMM_DISABLE_DEPRECATED
2007-04-24 Yselkowitz <yselkowitz@users.sourceforge.net>
* scripts/macros.m4: Check for both m4 and M4 in the GNU m4 output,
to fix the build on some platforms.
Bug #423990
2.13.4:
2007-04-11 Armin Burgmeier <armin@openismus.com>
* tools/pm/WrapParser.pm: Added peek_token() function which only
returns the next token without removing it from the tokens array.
Parse '/**' as a separate token and handle it in a special way so that
when the final '*/' is encountered and _WRAP_SIGNAL follows, the
comment is not terminated but continued by that automatically
generated doxygen comment.
* tools/pm/Output.pm: Added a merge_doxygen_comment_with_previous
parameter in output_wrap_sig_decl(). If it is nonzero, the function
assumes that there is already a comment open and continues to use it
instead of opening a new comment by removing the leading '/**' from
what get_refdoc_comment() returns. Bug #378810.
2007-04-06 Johannes Schmid <johannes.schmid@openismus.com>
* tools/generate_wrap_init.pl.in:
Use _CLASS_DEPRECATE instead of just _DEPRECATE to
known whether a whole class should be avoided in wrap_init.
Otherwise every .hg file containing deprecated methods
might get ignored. (Fixes Gtk::TextBuffer bug in maemo)
2007-03-19 Bradley Bell <btb@debian.org>
* glib/glibmm/helperlist.h: Change variable name to avoid
warnings about a shadowed member.
Bug #420316.
2007-03-19 Bradley Bell <btb@debian.org>
* glib/glibmm/utility.h: remove g_free prototype, include gmem.h
instead, to avoid a warning about a redundant declaration.
Bug #420339.
2007-03-17 Armin Burgmeier <armin@openismus.com>
* tools/m4/signal.m4:
* tools/m4/vfunc.m4:
Use static_cast in vfuncs and signal handlers to cast the
wrapper object to ObjectBase*. This is enough to check whether the object is
from a derived type or not. A slow dynamic_cast has only to be performed if it
is derived, and the C++ vfunc needs to be called.
* glib/glibmm/objectbase.h: This requires ObjectBase::is_derived_ to be public,
because it is called on a ObjectBase* rather than the actual type.
This causes a slight speed up of vfuncs and default signal handler invokation.
Also added commented-out inline versions of ObjectBase::_get_current_wrapper() and
ObjectBase::is_derived(), which could be used in the generated code if we find
that this has significant performance benefits. Note that these methods must be
additional to the non-inline methods, because inline methods are not usually exported in the
shared library.
2007-02-10 Murray Cumming <murrayc@murrayc.com>
* examples/options/main.cc: Use a default value, to show that it
can be done.
(This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006)
2007-02-10 Armin Burgmeier <armin@arbur.net>
* glib/src/optiongroup.ccg: default_c_arg(): Set the initial
value of the C argument to the value the C++ argument has, to avoid
that glibmm resets arguments to zero that were not given on the
command line.
(This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006)
2007-01-28 Daniel Elstner <daniel.kitta@gmail.com>
* tools/m4/ctor.m4: If the argument list is empty, call the non-
varargs overload of the Glib::ConstructParams constructor instead
of using an empty varargs list. This mistake was exposed thanks
to the recent addition of G_GNUC_NULL_TERMINATED to the varargs
constructor declaration. Fortunately it was harmless in this case.
Also use the opportunity to clean up the M4 code and prefix builtin
M4 macros with m4_, so that we may get rid of the unprefixed macros
altogether some day.
Thu, 25 Jan 2007 23:13:05 +0100 Dodji Seketeli
* tools/m4/base.m4:
prefix the builting mkstemp with 'm4' because otherwise,
m4 1.4.8 recognizes it as a builtin macro and expands it, leading
to compilation errors on some distros.
This should fix #397167. Thanks to Daniel Elstner for spotting this.
2007-01-20 Daniel Elstner <daniel.kitta@gmail.com>
* glib/glibmm/dispatcher.{cc,h}: Early spring cleaning. Also add
a paragraph about Dispatcher on win32 to the documentation.
(DispatchNotifyData): Remove the 'tag' member from the struct that
was always set to 0xdeadbeef in order to detect memory corruption.
This is pointless, as we already check the DispatchNotifier pointer
sent across the pipe, which is a far better indicator of corruption
anyway.
(warn_failed_pipe_io): Remove the err_no parameter and retrieve
errno respectively GetLastError() within the function instead.
(DispatchNotifier::conn_io_handler_): Remove, as we now inherit
from sigc::trackable. I verified that this doesn't cause problems
with threading in this particular case.
(DispatchNotifier::DispatchNotifier): If creating the pipe failed
and exceptions are disabled, call at least warn_failed_pipe_io()
instead of doing nothing at all.
(DispatchNotifier::*): Rework the win32 implementation so that it
matches more closely the Dispatcher semantics on Unix. This still
needs testing by someone on win32, though. So far I only verified
that it compiles with dummy definitions of the win32 API. Also,
I accidentally located the real cause of the race condition Cedric
experienced in bug #109966. It was a bug in my patch, rather than
in the example code.
* examples/thread/dispatcher.cc: Cleanup. In particular, get rid
of the Glib::RefPtr<> abuse with non-Glib::Object types. I don't
believe we endorse such usage officially, so it shouldn't be in
the examples.
2007-01-20 Daniel Elstner <daniel.kitta@gmail.com>
* glib/glibmm/miscutils.cc: Clean up the code a bit.
(get_application_name): Remove the code that checked the string for
valid UTF-8, and attempted conversion if not valid. I must have
been on crack when I wrote this, as the combination of conditions
that would cause the string to be invalid UTF-8 is quite unlikely.
If this is a valid concern at all, it should be filed as a GLib bug
and not worked around in glibmm.
(build_filename(const std::string&, const std::string&)): Just call
the plain g_build_filename() instead of building a temporary array
and passing that via ArrayHandle to the build_filename() overload
for containers.
(build_path): Remove the already deactivated custom implementation
from the time before g_build_pathv() was added to GLib.
* glib/glibmm/object.{cc,h}: Improve/fix a couple of comments.
(ConstructParams::ConstructParams): Add G_GNUC_NULL_TERMINATED
function attribute to make the compiler complain if the variadic
argument list is not terminated by a NULL pointer.
* glib/glibmm/ustring.{cc,h} (utf8_find_last_of): Avoid applying
bitwise logical operators directly to (possibly signed) operands
of char type. In order to avoid relying on implementation-defined
behavior, make sure that the operands are of unsigned integer type.
(ustring::is_ascii): Likewise,
(ustring_Iterator<T>::operator--): Likewise.
(get_unichar_from_std_iterator): De-obfuscate this highly optimized
piece of code, as the current stable release of GCC (4.1.2-pre on
my system) generates better assembler output without the voodoo.
2.13.3:
2006-11-28 Daniel Elstner <danielk@openismus.com>
* tools/pm/GtkDefs.pm (read_defs): Allow an empty pair of
parentheses in the innermost match. This fixes the problem of
gmmproc choking on "()" in the documentation strings. This would
still break on unmatched parentheses, though. Of course the
parser should just skip over quoted strings, but I wasn't able
to get that to work.
* glib/src/glib_enums.defs (GNormalizeMode): Manually fix the
improperly parsed value of G_NORMALIZE_NFD. Fortunately this
doesn't change anything since the "#error" token was interpreted
as zero, which happens to be the right value.
* glib/src/glib_functions.defs (g_iconv): Manually convert to
a function definition, as it was improperly parsed as a method
with a zero-length name (!) of object GIConv. This fixes the
annoying gmmproc warning about an allegedly unwrapped method.
2006-11-28 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/propertyproxy_base.cc: Don't ifdef out
PropertyProxy_Base when properties are disabled. It is needed
for connect_property_changed().
2006-11-27 Daniel Elstner <danielk@openismus.com>
* tools/enum.pl (parse): Ignore whitespace in front of an enum
typedef. This fixes parsing of HildonTelephoneEditorFormat in
hildon-libs.
* tools/pm/Enum.pm (parse_values): Check whether the enumeration
constants actually have a common module prefix before attempting
to remove it. This fixes the incorrect parsing of inconsistently
named enums in hildon-libs.
2006-11-27 Daniel Elstner <danielk@openismus.com>
* tools/enum.pl (form_names): Break the loop if the length of the
common prefix reaches zero. This fixes the infinite loop when
processing the inconsistently named enumeration constants of the
Hildon libraries.
2006-11-20 Murray Cumming <murrayc@murrayc.com>
* docs/reference/libstdc++.tag.xml: Updated from the libstdc++ site.
Note that the original does not have an .xml extension. This is is
lots bigger, but that should mean there is more documentation now.
2006-11-22 Oliver Nittka <oly@nittka.com>
* glib/src/value_basictypes.cc.m4: When registering float parameters,
use -G_MAXFLOAT instead of G_MINFLOAT. Since we first implemented this,
the glib documentation has been updated to make it cleare that this is
the real minimum and G_MINFLOAT is the minimum positive value.
Do the same for doubles too.
2006-11-10 Murray Cumming <murrayc@murrayc.com>
* tools/Makefile.am: Add enum.pl to the dist, so that it is in
tarballs. Someone saw it mentioned in the appendix, but could not
find it in the tarball.
2006-11-10 Murray Cumming <murrayc@murrayc.com>
* docs/reference/Doxyfile.in: Add PREDEFINES for the optional API,
so that the documentation shows the regular API.
2006-11-10 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/objectbase.cc:
* glib/glibmm/objectbase.h: Added connect_property_changed(),
as an alternative to use when the property proxies are not
available because GLIBMM_PROPERTIES_ENABLED is not defined.
SignalProxyProperty::connect(): Use notify::propertyname instead of
just notify, so do not have to check the property name later. This
should be more efficient (when this is used, rarely).
* glib/glibmm/propertyproxy_base.cc:
* glib/glibmm/propertyproxy_base.h: Move PropertyProxyConnectionNode
into the header, so we can reuse it for connect_property_changed().
2006-10-04 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/class.cc:
* glib/src/iochannel.ccg:
* glib/src/markup.ccg: Add a silly line to avoid unused parameters
when GLIBMM_EXCEPTIONS_ENABLED is not set.
* glib/glibmm/error.h: Do not use G_GNU_NO_RETURN on the version
of throw_exception() that returns, to avoid a warning.
2006-10-01 Murray Cumming <murrayc@murrayc.com>
* Makefile.am:
* docs/Makefile.am:
* docs/Makefile_web.am_fragment:
* docs/images/Makefile.am:
* docs/reference/Makefile.am:
* docs/reference/README:
* examples/Makefile.am: Upload to the new hoster instead of to sourceforge.
Abstracted the host and path names into docs/Makefile_web.am_fragment to
avoid duplication.
2.13.2:
2006-09-28 Cedric Gustin <cedric.gustin@gmail.com>
* MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray from list of
source and header files.
2006-09-26 Murray Cumming <murrayc@murrayc.com>
* glib/glibmmconfig.h.in: For win32, define
GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS to 1,
instead of just defining it to nothing.
* scripts/reduced.m4: In the AC_ARG_ENABLE() to
define (or not) GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS,
use api-default-signal-handlers as the first parameter
instead of api-exceptions (a copy/paste error), though it does
not seem to make any difference.
Bug #357830.
2006-09-23 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* glib/src/keyfile.ccg, glib/src/keyfile.hg: added new files that were
missed from an earlier commit
2.13.1:
2006-09-19 Ralf Stephan <ralf@ark.in-berlin.de>
* glib/glibmm/ustring.h:
ustring(const ustring& src, size_type i, size_type n=npos)
and
ustring(const char* src, size_type n) constructors:
In the reference documentation, mention explicitly that
n is the number of _UTF-8_ characters, rather than
ASCII characters (bytes).
2006-02-20 Rob Page <page.rob@gmail.com>
Wraps GKeyFile (Bug #330535)
* glib/glibmm.h: Added include of keyfile.h
* glib/glibmm/Makefile.am: Added keyfile.h
* glib/glibmm/containerhandle_shared.h: Added a TypeTraits
specialization for converting between bool and gboolean*.
* glib/src/Makefile_list_of_hg.am_fragment: Added keyfile.hg
to files_general_hg.
* glib/src/keyfile.hg: KeyFile header
* glib/src/keyfile.ccg: KeyFile implementation
* tools/m4/convert_glib.m4: Added a conversion for KeyFileFlags
2006-09-14 Johannes Schmid <jhs@gnome.org>
* tools/m4/class_shared.m4: Change _IMPLEMENTS_INTERFACE to
_IMPLEMENTS_INTERFACE_CC so we can have more control over it,
by generating the _IMPLEMENTS_INTERFACE_CC from the WrapParser.pm.
* tools/m4/method.m4:
* tools/m4/signal.m4:
* tools/m4/vfunc.m4: Added optional parameters that result in
#ifdefs around methods, signals, vfuncs, etc.
* tools/pm/Output.pm: Addef ifdef() and endif().
output_wrap_vfunc_h(), output_wrap_vfunc_cc(),
output_wrap_default_signal_handler_h(),
output_wrap_default_signal_handler_cc(),
output_wrap_meth(),
output_wrap_create(),
output_wrap_sig_decl(): Support optional ifdefs around
declarations and implementations, by calling ifdef() and endif(),
or by passing the extra argument to the m4 macros.
* tools/pm/WrapParser.pm: parse_and_build_output():
Parse _IMPLEMENTS_INTERFACE, and call the new on_implements_interface()
method, which uses the new output_implements_interface() method,
so it can have an optional ifdef parameter.
on_wrap_method(), on_wrap_create(), on_wrap_vfunc(), output_wrap_signal(),
output_wrap_vfunc(): Handle the optional ifdef (with a parameter) option
for the _WRAP*() macros.
This adds support for disabling certain features by using the new
"ifdef" argument for methods, vfuncs, signals and interfaces.
2006-09-05 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* docs/reference/Makefile.am: rebuild docs when a .h files changes in
glib/glibmm
* glib/glibmm/miscutils.cc:
* glib/glibmm/miscutils.h: wrap g_get_user_data_dir(),
g_get_user_config_dir(), and g_get_user_cache_dir()
This is the HEAD branch, for new API. There is also a glib-2-12 branch for
maintenance of the stable API.
2006-08-18 Cedric Gustin <cedric.gustin@gmail.com>
* MSVC_Net2003/*.vcproj: Updated for glibmm-2.12.
2.12.0:
2.11.3:
2006-04-25 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* glib/glibmmconfig.h.in:
* scripts/reduced.m4: Added a --enable-api-default-signal-handlers option. This defines
GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED, which is used to #ifdef default signal handlers.
This saves on library code size (less code and API symbols) and application code size and
loading time (less virtual methods, which must be imported and resolved at load time) and
per-object memory size (smaller object sizes because of less virtual methods.)
* tools/m4/class_interface.m4:
* tools/m4/class_shared.m4: Put default signal handler code in #ifdefs.
2.11.2:
2006-07-17 Murray Cumming <murrayc@murrayc.com>
* configure.in: Reverted the previous patch slightly to unbreak glibmmconfig.h.
2.11.1:
2006-07-16 Murray Cumming <murrayc@murrayc.com>
* configure.in: Quote GLIBMM_*_VERSION to avoid m4 warnings. Patch from
Bug #347076 from Kevin McBride.
* scripts/sun.m4: Quote GLIBMM_PROG_CXX_SUN to avoid an m4 warning.
Patch from Bug #347077 from Kevin McBride.
2006-07-16 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* glib/src/date.ccg: fix implementation of Glib::Date::set_time_current() so
that it doesn't set the date to Dec 31, 1969.
2006-06-19 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/object.h: Check whether DestroyNotify is defined, so we can warn about
including X11/Xlib.h before this header, which will break things.
Bug #316726 from Mert Tugcu and Javeed Shaikh.
2006-06-09 Cedric Gustin <cedric.gustin@gmail.com>
* glib/glibmm/objectbase.h : Inline the set_property and
get_property methods. This is required by mingw32-gcc as
ObjectBase is explicitly dllexported.
2006-06-05 Murray Cumming <murrayc@murrayc.com>
* glib/src/convert.ccg: When using --enable-api-exception=no, only try to get the Glib::Error
when the GError is not null.
2006-05-18 Murray Cumming <murrayc@murrayc.com>
* tools/m4/method.m4: _METHOD(): When using errthrow, actually print the function call even if
the return type is 0.
2006-05-16 Murray Cumming <murrayc@murrayc.com>
* tools/m4/method.m4: _METHOD(), _STATIC_METHOD(): Remove spaces before dnl statements,
to avoid unwanted indentation in .cc files.
2006-05-16 Murray Cumming <murrayc@murrayc.com>
* tools/m4/convert_base.m4: _CONVERT(): If the return type is void, use the unconverted
statement, not no statement. This prevents some void methods from being totally empty.
This was a (very bad) regression introduced by the optional API changed.
Bug #341895 from Philip Langdale.
* tools/m4/method.m4: _METHOD(), _STATIC_METHOD(): Attempt to remove unnecessary newlines,
though some indenting spaces slipped in instead. Must fix that.
2006-05-14 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/value.cc:
* glib/glibmm/value.h: Restored the init(GValue*) method that was lost when
merging changes from the glibmm-2-10 branch.
2006-05-09 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/ustring.cc:
* glib/src/date.ccg:
* glib/src/convert.ccg:
* glib/src/convert.hg: Added #ifdefed versions for the case that
exceptions are disabled.
2006-05-10 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* scripts/reduced.m4: Moved --enable-deprecated-api macro into scripts/reduced.m4.
Added the --enable-api-exceptions macro that was missing from my last commit.
2006-04-05 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* scripts/reduced.m4: Added --enable-api-exceptions option. When this
is used, methods that would normally throw an exception will now take
an extra std::auto_ptr<Glib::Error> argument that should be checked with
auto_ptr::get().
* glib/glibmmconfig.h.in: Undef the GLIBMM_EXCEPTIONS_ENABLED,
so it will be defined.
* tools/m4/gerror.m4: throw_func() returns an auto_ptr of a
Glib::Error when exceptions are disabled.
* tools/m4/method.m4:
* tools/pm/Output.pm: on_wrap_method(): Added alternative API with
#ifdefs
* tools/m4/signal.m4:
* tools/m4/signalproxy_custom.m4:
* tools/m4/vfunc.m4: Put #ifdefs around the exception re-throwing
try/catch blocks.
* glib/glibmm/dispatcher.cc:
* glib/glibmm/dispatcher.h:
* glib/glibmm/error.cc:
* glib/glibmm/error.h:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/exceptionhandler.h:
* glib/glibmm/main.cc:
* glib/glibmm/signalproxy.cc:
* glib/glibmm/streamiochannel.cc:
* glib/glibmm/stringutils.cc:
* glib/glibmm/threadpool.cc:
* glib/src/iochannel.ccg:
* glib/src/iochannel.hg:
* glib/src/markup.ccg:
* glib/src/spawn.ccg:
* glib/src/thread.ccg: Put #ifdefs around try/catch blocks, and
use alternative API when appropriate.
* examples/iochannel_stream/fdstream.cc:
* examples/markup/parser.cc:
* examples/options/main.cc: Adapted examples to
the alternative API, with #ifdefs
* tools/m4/convert_base.m4: Avoid any conversion if the result is
void, to allow _WRAP_METHOD() to ignore bool results, so we can
generate some methods that are currently hand-coded.
2006-05-09 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/value.cc:
* glib/glibmm/value.h: Added init(const GValue*), so that we can copy GValue instances
of any type at runtime. Needed by libgdamm, which returns const GValue* instances.
This is the HEAD branch, for API additions. See also the glibmm-2-10 branch.
2.10.1:
2006-04-12 Murray Cumming <murrayc@murrayc.com>
* tools/m4/signalproxy_custom.m4: Remove this file because it is not installed and
does not seem to be used.
2006-04-12 Murray Cumming <murrayc@murrayc.com>
* tools/m4/signal.m4: Mark the (private) signal info callback functions as
static, to save on code size.
2006-04-12 Murray Cumming <murrayc@murrayc.com>
* tools/pm/WrapParser.pm: Parse a new optional constversion parameter for
_WRAP_METHOD(), to save on code size by just calling the non-const overload
instead of generating almost identical code.
* tools/m4/method.m4: _METHOD(): Take extra parameters for use when constversion is used.
* tools/pm/Output.pm: Send the extra parameters to _METHOD().
* docs/internal/using_gmmproc.txt: Documented the new constversion option.
2006-04-12 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/main.cc:
* glib/glibmm/objectbase.cc:
* glib/glibmm/property.cc:
* glib/glibmm/ustring.cc:
* glib/glibmm/value_custom.cc:
* glib/src/spawn.ccg: Mark private functions as
static, to stop them being exported in the API, to reduce the
library code size slightly.
* tools/m4/signal.m4: Make generated callback functions static, for
the same reasons.
2006-04-07 Cedric Gustin <cedric.gustin@gmail.com>
* README.win32: Updated for Mingw-4.1.
2006-04-06 Cedric Gustin <cedric.gustin@gmail.com>
* MSVC_Net2003/*.vcproj: Embed the manifest file into executables
in the case of the Debug target.
* README.win32: Fixed a few typos.
* build_shared/Makefile_build.am_fragment: Add -DGLIBMM_BUILD to
the extra_defines compiler flags (switch between
dllexport/dllimport on win32).
* glib/glibmmconfig.h.in: Define GLIBMM_DLL when building with
mingw32/cygwin. This makes the GLIBMM_API tag (and GTKMM_API for
gtkmm) active with these two platforms, as required by bug
#309030.
* glib/glibmm/object.h, glib/glibmm/objectbase.h : Tag the Object
and ObjectBase classes with GLIBMM_API to make Visual Studio happy.
2.10.0:
2006-02-25 Murray Cumming <murrayc@murrayc.com>
* tools/pm/DocsParser.pm: looklookup_documentation(): Put the
@deprecated text immediately after the main description, before
the parameters, so that Doxygen actually uses it.
2006-02-25 Murray Cumming <murrayc@murrayc.com>
* tools/pm/DocsParser.pm: looklookup_documentation(): Accept an
extra deprecated_documentation parameter, to be appended to the
Doxygen documentation.
* tools/pm/Output.pm: output_wrap_meth(): Put the documentation
inside the deprecation #ifdef, for neatness.
* tools/pm/WrapParser.pm: on_wrap_method(): Read an optional string
after the optional deprecated parameter, used to say why the
method is deprecated, in case it was not deprecated by the C API,
in which case it would already have documentation for this.
2006-02-27 Cedric Gustin <cedric.gustin@gmail.com>
* README.win32: Updated for glibmm-2.8 (MS Visual Studio 2005).
* glib/glibmm/ustring.h: Tag npos with GLIBMM_API, in order to
dllexport it on win32. Bug #332438.
* MSVC_Net2003/*.vcproj: Updated for Visual Studio 2005. Added the
/vd2 compiler flag (Bug #158040).
* MSVC_Net2003/glibmm.sln: Updated for Visual Studio 2005.
* MSVC_Net2003/gendef/gendef.cc: Redirect output of dumpbin to a
file.
* glib/glibmmconfig.h.in: Undefined
GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS for MSVC.
2006-02-03 Murray Cumming <murrayc@murrayc.com>
* docs/internal/using_gmmproc.txt: Section about regenerating .defs:
Repeat the hint about extra_defs_gen here.
2006-02-27 Cedric Gustin <cedric.gustin@gmail.com>
* glib/glibmm/ustring.h: Tag npos with GLIBMM_API, in order to
dllexport it on win32. Bug #332438.
2006-02-07 Rob Page <page.rob@gmail.com>
* glib/glibmm/ustring.h: fix a typo in the documentation for uppercase()
2.9.1:
2006-01-28 Murray Cumming <murrayc@murrayc.com>
* glib/src/optiongroup.ccg: add_entry_with_wrapper(): Copy the
CppOptionEntry into the map _after_ setting entry_ so that we
really delete it in release_c_arg(), to avoid a memory leak.
2006-01-28 Rob Page <rob@gmail.com>
* docs/reference/glibmm_header.html_fragment: Fix the link
to the Main page. Bug #328299.
2006-01-27 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.ccg: Constructor: Avoid memory
leak caused by double instantiation of gobject_.
2005-12-16 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/object.h:
* glib/glibmm/objectbase.h: Hide some internal stuff
from Doxygen. Add/Improve the Doxygen documentation.
* glib/src/convert.hg: Correct the declaration of
filename_display_name() to match the implementation.
Previously this would have been unusable due to a linker
error.
2005-11-30 Murray Cumming <murrayc@murrayc.com>
* docs/reference/Doxyfile.in: Define the @newin aliases,
as in gtkmm.
* tools/pm/DocsParser.pm: Convert Since: in gtk-doc
text to @newin for our doxygen docs.
2005-11-29 Murray Cumming <murrayc.com>
* build_shared/Makefile_build.am_fragment:
* configure.in: Added --enable-use-deprecations,
defaulting to no (do not check for them), so that
the tarball will still build when newer versions
of glib deprecate some API.
* examples/Makefile.am_fragment: Use the
deprecation, if wanted.
2005-11-29 Murray Cumming <murrayc@murrayc.com>
* build_shared/Makefile_build.am_fragment:
* configure.in: Added --enable-deprecated-api
option. When set to disabled, it does not build
deprecated API. This reduces the size of the library,
and might be useful for embedded devices.
* glib/src/date.ccg:
* glib/src/date.hg: Use _DEPRECATE_IFDEF_START/END
around the deprecated set_time() method.
2005-11-29 Murray Cumming <murrayc@murrayc.com>
* tools/m4/base.m4: Add
_DEPRECATE_IFDEF_START and _DEPRECATE_IFDEF_END
macros, to #ifdef-out generated methods.
Added _DEPRECATE_IFDEF_CLASS_START and
_DEPRECATE_IFDEF_CLASS_END for whole classes.
Put _DEPRECATE_IFDEF_CLASS* around all generated
code. It does nothing if the class is not deprecated.
* tools/m4/class_gtkobject.m4: Add _DEPRECATED macro,
used to mark a class as deprecated.
* tools/m4/method.m4: Take an extra parameter, to
optionally mark the method as deprecated, to add
#ifdefs around the code, with
_DEPRECATE_IFDEF_START/END
* tools/pm/Output.pm: _DEPRECATE_IFDEF_START/END
around the declarations of deprecated methods.
* tools/pm/WrapParser.pm: Check for an optional
deprecated parameter to _WRAP_METHOD().
* tools/m4/member.m4: Allow optional deprecated
method for _MEMBER_GET/SET*() to ifdef the code
out.
* tools/generate_wrap_init.pl.in: Put an #ifdef
around use of deprecated classes.
2005-11-23 Murray Cumming <murrayc@murrayc.com>
* configure.in: Depend on glib 2.9, which
has new API.
* glib/src/date.ccg:
* glib/src/date.hg: Wrap glib_date_set_time_t()
and glib_date_set_time_val(). Deprecate
set_time(GTime) in favour of the new method
overloads. Added set_time_current(), wrapping the
case that the time_t is 0.
This is the HEAD branch, for new API, targetting glib 2.9. See also the
glibmm-2-8 branch.
2.8.2:
2005-11-23 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/containers.h: Do not use g_assert() in
a header, because g++ sometimes warns that it has
no effect.
2005-10-29 Murray Cumming <murrayc@murrayc.com>
* scripts/macros.m4: AL_PROG_GNU_MAKE():
Use $MAKE-make instead of $ac_make, which
apparently fixes a build problem on some
Solaris systems. Thanks to Mark Rouchal in
bug #307480.
2.8.1:
2005-10-19 Murray Cumming <murrayc@murrayc.com>
* configure.in: Check for glib 2.8. Bug #317913.
2.8.0:
Updated NEWS and increased version to 2.8.0.
2.7.3:
2005-08-17 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py
* glib/src/glib_enums.defs: Regenerated with enums.pl
* glib/src/glib_functions.defs: Regenerated with h2defs.py
2.7.2:
2005-07-16 Murray Cumming <murrayc@murrayc.com
* glib/glibmm/miscutils.cc: Reimplemented build_filename() and
build_path() with the new non-vararg functions in glib 2.7,
instead of implementing them in gtkmm.
* glib/src/glib_enums.defs: Regenerated with enums.pl
* glib/src/optionentry.hg: Added FLAG_NO_ARG, FLAG_FILENAME,
FLAG_OPTIONAL_ARG, and FLAG_NOALIAS enum values.
2.7.1:
2005-06-08 Murray Cumming <murrayc@murrayc.com
* glib/glibmm/propertyproxy.h:
PropertyProxy_ReadOnly<>::get_value(),
PropertyProxy_WriteOnly<>::set_value(): Add implementations
instead of casting to unrelated PropertyProxy() and calling it
there. The AIX compiler did not like this hack. Bug #301610
2005-06-07 Cedric Gustin <cedric.gustin@swing.be>
* glib/glibmm/miscutils.cc: In get_home_dir, return an empty
string when HOME is not defined (Win9x). Bug #306310 from Michael
Hofmann.
* glib/glibmm/miscutils.h: Updated docstring for the get_home_dir
method.
2005-04-27 Murray Cumming <murrayc@murrayc.com>
* examples/child_watch/main.cc:
* examples/thread/dispatcher.cc:
* examples/thread/thread.cc:
* glib/glibmm/dispatcher.cc: Inherit signal handler objects from
sigc::trackable. This is necessary with some libsigc++ patches,
though not currently necessary with regular libsigc++.
2005-04-22 Murray Cumming <murrayc@murrayc.com>
* glib/src/gmodule_enums.defs: Regenerate with enums.pl
* glib/src/gmodule_functions.defs: Regenerate with h2defs.py
This adds the BIND_LOCAL enum value. Bug #172748 from
Phillip Neiswanger.
2005-04-05 Murray Cumming <murrayc@murrayc.com>
* tool/pm/Output.pm: output_wrap_property(): Do not add the
const read-only method override if the property can not be read. Be
careful because this removes a little API from generated code. You
should hand-code the wrongly-generated methods and mark them as
deprecated.
* glib/glibmm/refptr.h: Added cast_const<>, like the existing
cast_dynamic<> and cast_static.
2005-03-31 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_functions.defs: Updated with
h2defs.py.
2005-03-13 Yair Hershkovitz <yairhr@gmail.com>
* glib/glibmm/main.h,
glib/glibmm/main.cc: Added MainContext::signal_child_watch()
* examples/: Added child_watch/ example
2005-03-11 Yair Hershkovitz <yairhr@gmail.com>
* glib/glibmm/main.h, glib/glibmm/main.cc:
Add Glib::SignalChildWatch class, Glib::signal_child_watch()
This is the HEAD branch, for new API. Bug fixes that do not change or add
API should also be applied to the glibmm-2-6 branch.
2005-03-09 Cedric Gustin <cedric.gustin@swing.be>
* MSVC_Net2003/Makefile.am: Add blank.cpp to EXTRA_DIST.
* MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray.cc from the
list of source files.
* MSVC_Net2003/examples/*/*.vcproj,
MSVC_Net2003/tests/glibmm_value/glibmmvalue.vcproj: Change name of
PDB file to $(OutDir)/$(TargetName).pdb.
2.6.1:
2005-03-07 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/interface.cc: Disable the new check for pre-existing
interface implementations, because it checks all base gtypes and
not just the current gtype. Bug #169442 by Bryan Forbes.
2.6.0:
2.5.6:
2005-02-18 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/interface.cc: Interface_Class:add_interface(), used by
add_interface() methods of Interfaces: Do not add interfaces that
have been added before, to avoid the warning from glib. This
allows application code to be simpler.
2005-02-18 Murray Cumming <murrayc@murrayc.com>
* tools/pm/Output.pm: Add the documentation to the const property()
accessor as well as the non-const one.
2005-02-13 Murray Cumming <murrayc@murrayc.com>
* tools/extra_defs_gen/generate_extra_defs.cc: Use
g_param_spec_get_blurb() to output the documentation for the
properties in the .defs file.
* tools/m4/property.m4: Take an extra docs argument, and put it in the
doxygen docs.
* tools/pm/Output.pm: Add the extra docs argument when calling the
property m4 macro.
* tools/pm/Property.pm: Read in the new docs part of the .defs, and
add a period at the end if neccessary.
2005-02-01 Murray Cumming <murrayc@murrayc.com>
* examples/threadpool.cc, dispatcher.cc, dispatcher2.cc: Removed the
#ifdef for AIX, because sigc::bind now works on AIX.
2005-01-27 Cedric Gustin <cedric.gustin@swing.be>
* MSVC_Net2003/glibmm/glibmm.rc.in: Reverted to 2.4 for the
library version number.
2.5.5:
2005-01-26 Cedric Gustin <cedric.gustin@swing.be>
* MSVC_Net2003/glibmm/glibmm.vcproj: Reverted to 2.4 for the
library version number.
2005-01-24 Cedric Gustin <cedric.gustin@swing.be>
* Makefile.am, configure.in: Added MSVC_Net2003 directory.
* config.h.in: Added mkfifo #define (for mingw32).
* glib/glibmmconfig.h.in: Added new #define's to MSVC section.
* examples/iochannel_stream/Makefile.am: Do not build on win32
with mingw32 (mkfifo not available).
* scripts/cxx_std.m4: Fixed typo in AC_DEFINE macros.
* build_shared/Makefile_build.am_fragment: Removed
$(sublib_name)_COMPILATION variable (is useless now on
cygwin/mingw as all symbols are dll exported).
* MSVC_Net2003/*: Initial commit imported from glibmm-2-4 branch.
* MSVC_Net2003/glibmm/Makefile.am: Rewrote rule for local copy of
glibmmconfig.h (required for 'make distcheck').
2005-01-21 Murray Cumming <murrayc@murrayc.com>
* configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new
compiler tests to see whether extern "C" functions are put in the
global namespace, even when we use extern "C" inside a namespace
declaration. The AIX xlC compiler does this, but allows us to
redeclare the namespace inside the extern "C" block.
* glib/glibmm/property.h: Use the new
#ifdef GLIBMM_MUST_REDECLARE_NAMESPACES_INSIDE_EXTERNC and redeclare
the namespace when necessary.
* examples/thread/dispatcher.cc, dispatcher2.cc: Use sigc::bind<1>
instead of just sigc::bind<> because the AIX xlC compiler needs the
extra hint. However, the linker then fails, so the use of sigc::bind
is ifdefed out for _AIX. See the comments in the code.
2005-01-21 Murray Cumming <murrayc@murrayc.com>
* configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new
compiler tests.
1. To see whether it allows use of non extern C functions
as extern C callbacks, because the Tru64 compiler does not
allow this, when using strict_ansi. We do not actually use this yet.
2. To see whether it allows us to define a template that uses an
undefined type, even if we do not use it before defining the type.
Tru64 does not allow this. That's probably correct.
* glib/glibmm/container.h: #ifdef out a dynamic_cast that Tru64
does not allow, and which I can not think of a better place to put.
See the comment in the code.
* glib/glibmm/containerhandler_helpers.h: When the compiler does not
alllow the GObject and GtkObject (dynamic_cast of) specializations
here, then put them in glib/glibmm/object.h and
gtkmm/gtk/src/object.hg instead.- needed by Tru64 compiler.
* glib/glibmm/value.h, value_custom.[h|cc]: Conditionally moved
the RefPtr Value specialization into object.h, as above.
* glib/src/ optiongroup.ccg, spawn.ccg, thread.ccg: Make C callacks
separate extern "C".
* glib/src/optiongroup.ccg: Do not use the StringArrayHandle,
because the Tru64 compiler has problems with it - see comments
in code.
* glib/src/optionentry.hg: Remove the include of value.h, because
it is not used and it causes a Tru64 compile error in
optioncontext.cc because its templates are included before the
types that the template uses.
2005-01-19 Murray Cumming <murrayc@murrayc.com>
* configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added a
compiler test, because the IRIX MipsPro compiler does not allow the
inline initialization of ustring::npos.
* glib/glibmm/ustring.[h|cc]: When the compiler does not support the
inline initialization of npos, initialize it in the .cc file.
Declare partial specializations of the SequenceString inner class
inside the class - needed by IRIX MipsPro compiler.
2005-01-18 Murray Cumming <murrayc@murrayc.com>
* glibmm/src/optiongroup.[hg|ccg]: CppOptionEntry::convert_c_to_cpp():
Copy the strings to the vector in a loop, instead of using the
ArrayHandle constructor, because that does not seem to work with the
SUN Forte compiler.
2.5.4:
2005-01-10 Murray Cumming <murrayc@murrayc.com>
* glibmm/src/optiongroup.[hg|ccg]: Added a castitem constructor
that always takes ownership, needed by Gtk::Main. Added the new
FLAG_REVERSE flag value. Added reference documentation.
2.5.3:
2005-01-09 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/misc_utils.[h|cc]: Added setenv() and unsetenv(),
wrapping new functions added in glib 2.4.
* glib/src/convert.[hg|ccg]: Added filename_display_name() and
filename_display_basename().
2005-01-09 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.ccg: Copy constructor: Copy the short name
form the src, not from itself. Bug #16331 from Daniel Holbach.
2005-01-09 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.[hg|cc]: Add add_entry(entry, bool&), to wrap
use of G_OPTION_ARG_NONE. Bug #163325 from Daniel Holbach.
* examples/options/main.cc: Use the new add_entry() overload.
2005-01-06 BenoƮt Dejean <TazForEver@dlfp.org>
* glib/glibmm/dispatcher.cc:
* glib/glibmm/error.cc:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/main.cc:
* glib/glibmm/threadpool.cc:
* glib/glibmm/ustring.cc:
* glib/glibmm/wrap.cc: Don't export private API.
Closes #163031.
2005-01-04 Chris Vine <chris@cvine.freeserve.co.uk>
* examples/iochannel_stream/: Provide a means of obtaining
Glib::IOChannel error information from the streambuffer. Remove
the code conversion option from the fdstream/fdstreambuf
constructors and add comments in fdstream.h about code conversion
and other matters. Add a detach() function and a destructor to
fdstreambuf. Correct an error in fdstreambuf::xsgetn(). Include
missing <string> header file in main.cc.
2.5.2:
2004-12-19 Murray Cumming <murrayc@murrayc.com>
* examples/: Adapted and added iochannel_stream example from
Chris Vine in bug #138259.
2004-12-19 Murray Cumming <murrayc@murrayc.com>
* glib/src/: Added glib_docs.xml, generated with docsextract_to_xml.py
and glib_docs_override.xml, to generate some API reference from
the C docs.
* glib/src/Makefile.am: Mention the new files.
2004-12-19 Murray Cumming <murrayc@murrayc.com>
* docs/reference/: Added a copy of the libstdc++ doxygen tags file,
but it still does not seem to work, for example with std::vector<>
and std::string.
2004-12-19 Murray Cumming <murrayc@murrayc.com>
* docs/reference/Doxyfile.in: Use the libstdc++ TAG files, so that
references to std:: classes take people to their docs.
* glib/src/: Added glib_docs.xml and glib_docs_override.xml, and
mentioned them in Makefile.am.
2004-12-19 Murray Cumming <murrayc@murrayc.com>
* glib/src/date.hg, glib/glibmm/main.h,
glib/glibmm/signalproxy_connectionnode.h: Deal with some doxygen
warnings about undocumented parameters.
* glib/glibmm/ustring.h: Added documentation for the size() and
bytes() methods.
2004-11-21 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.[hg|ccg]: Removed OptionEntry enum and
set_arg_data(), because they are not needed any more.
2.5.1:
2004-11-01 Murray Cumming <murrayc@murrayc.com>
* glib/src/optiongroup.[hg|ccg]: Added add_entry() for vector<ustring>
and add_entry_filename() for std::string and vector<std::string>.
* examples/options/main.cc: Test these new methods.
2004-10-30 Murray Cumming <murrayc@murrayc.com>
* glib/src/optiongroup.[hg|ccg]: Added gobj_give_ownership().
* glib/src/optioncontext.[hg|ccg]: add_group(), set_main_group(): Use
gobj_give_ownership() because GOptionContext deletes the GOptionGroups
that we give it.
2004-10-26 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.hg: Remove accessors for arg and arg_data.
* glib/src/optiongroup.[hg|ccg]: add_entry(): Remove arg_type parameter
and instead add overrides which take specific C++ value types.
Add CppOptionEntry inner class to hold information about each entry
and its dynamically allocated C value.
Add map_entries_ map to store them, so we can iterate over them during
post_parse.
2004-10-21 Murray Cumming <murrayc@murrayc.com>
* build_shared/Makefile_build.am_fragment: Patch from Roger Leigh in
bug # 15589 to use PLATFORM_WIN32 rather than OS_WIN32 to enable
-no-undefined. This allows glibmm to build in a cgwin environment,
apparently.
2.5.0:
2004-10-17 Murray Cumming <murrayc@murrayc.com>
* glib/src/optioncontext.[hg|ccg]: add_entry(): Fixed crash by
creating a temporary array, with a nulled last item, which is what the
C function wants. In callbacks, ignore the group parameter because our
option group in the data parameter is the same, and does not require
construction of a second C++ wrapper instance for the same C instance.
* glib/src/optiongroup.[hg|ccg]: Removed the cast constructor, because
it is not needed anymore, and there is no clear way to implement it.
2004-10-14 Murray Cumming <murrayc@murrayc.com>
* tools/pm/WrapParser.pm: on_wrap_property(): Convert property name to
canonical form, so that we can recognise notifications of property
value changes. Bug #152764.
2004-10-07 Philip Langdale <plangdale@vmware.com>
* glib/glibmm/signalproxy_connectionnode.cc: Remove unnecessary warning
when notify() is called after destroy_notify_handler(). (bug #154498)
2004-10-01 Murray Cumming <murrayc@murrayc.com>
* glib/src/option*.[hg|ccg], examples/options/main.cc: Rethought the
structure now that I see how the parts work together. Rearranged the
example to show how the parsing can fill values in member variables
of a derived OptionGroup class. However, 1. it crashes now, 2. we need
extra code to map the GOption C types to suitable C++ types, probably
by doing pre and post parsing to create temporary C types for the C++
types.
2004-09-27 Murray Cumming <murrayc@murrayc.com>
* glib/src/option*.[hg|ccg]: Wrapped more methods, but I have still not
finished.
* examples/options/: Started an example.
2004-09-26 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_functions.defs: Regenerated with h2defs.py
* glib/src/: Added optionentry.[hg|ccg], optiongroup.[hg|ccg],
optioncontext.[hg|ccg].
2004-09-19 Murray Cumming <murrayc@murrayc.com>
* This is the HEAD branch.
2004-09-13 Cedric Gustin <cedric.gustin@swing.be>
* examples/thread/dispatcher.cc: Fixed a race condition on win32
that involved the combined use of auto_ptr and multithreading (bug
#109966).
2.4.4:
2004-07-23 Martin Schulze <mschulze@cvs.gnome.org>
* glib/glibmm/main.cc: Move deletion of SourceConnectionNode object
into destroy_notify_callback() exclusively; do not delete from
notify().
(bug #144420)
2004-07-10 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/signalproxy_connectionnode.cc: notify(): Do not delete
the connection after disconnecting it, because disconnecting it
always causes disconnect_notify to be called, so just delete it there.
This prevents double deletes and reading of deleting memory, found in
bug #145571.
2004-07-09 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/signalproxy.h.m4: Added some documentation.
2004-06-20 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/objectbase.cc: Spring cleaning.
* glib/glibmm/object.cc: ditto.
2.4.3:
2004-06-18 Daniel Elstner <daniel.elstner@gmx.net>
* scripts/macros.m4 (GTKMM_ARG_ENABLE_WARNINGS): Add
-Wno-long-long to the list of tried warning flags.
2004-06-16 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/dispatcher.cc (DispatchNotifier::create_pipe): There
is no point in calling g_file_error_from_errno() on win32 since we
have no real errno. Also fix the error text to say "event" rather
than "pipe".
2004-06-14 Daniel Elstner <daniel.elstner@gmx.net>
* scripts/cxx.m4: Add a couple of casts to void in order to suppress
warnings about unused variables. I still have no idea as to why the
hardcore warning flags are remembered when running make distcheck...
2004-06-14 Daniel Elstner <daniel.elstner@gmx.net>
* examples/thread/dispatcher.cc: Explicitely join all threads.
Hopefully that'll fix the crash on win32 (see bug #109966).
2004-06-13 Daniel Elstner <daniel.elstner@gmx.net>
* examples/thread/dispatcher*.cc (main): Remove unused parameter
names to fix building with -Werror.
2004-06-13 Daniel Elstner <daniel.elstner@gmx.net>
* configure.in (GTKMM_ENABLE_DEBUG_REFCOUNTING): s/^GTK/GLIB/
2004-06-08 Daniel Elstner <daniel.elstner@gmx.net>
* build_shared/Makefile_build.am_fragment (all_includes): Remove
left-over include paths for pango, atk, gdk and gtk.
2004-06-07 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/stringutils.h: Replace a couple of double quotes with
" to prevent doxygen from escaping the enclosed HTML entities.
2004-06-04 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/ustring.h: Use /*! instead of /** to introduce
doxygen comments in order to avoid cluttering the long method list
of class Glib::ustring. Replace a few double quotes with "
to prevent doxygen from escaping the enclosed HTML entities.
2.4.2:
2004-06-03 Daniel Elstner <daniel.elstner@gmx.net>
* scripts/Makefile.am (EXTRA_DIST): Remove mkinstalldirs, because
automake-1.8 doesn't use it anymore and prior versions should pick
it up automatically anyway.
2004-06-03 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/dispatcher.cc: Complete overhaul of the Win32
implementation of Glib::Dispatcher. That is, mutex locking is
done correctly now and dynamic memory allocation is no longer
used, plus a few other cleanups. See reopened bug #109966.
2004-06-03 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/signalproxy_connectionnode.cc
(SignalProxyConnectionNode::SignalProxyConnectionNode):
Reorder the initializer list to match the declaration order.
(SignalProxyConnectionNode::notify): Add missing return 0.
2004-05-26 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/ustring.{cc,h}: Globally apply some minor code
cleanup and optimization tweaks.
(get_unichar_from_std_iterator): Replace implementation with a
hand-optimized and profiled variant that has been lurking in my
local tree for quite some time, thus should be well tested.
Also add the G_GNUC_PURE() attribute.
(operator+): Explicitely instantiate and return a temporary string,
instead of accessing the reference ustring::operator+=() returns.
This quite often allows the compiler to eliminate the additional
copy constructor invocation.
2004-05-25 Murray Cumming <murrayc@murrayc.com>
* configure.in, Makefile.am: Removed the glibmm.spec files, because
it is broken and nobody has volunteered to fix it.
2004-05-20 Daniel Elstner <daniel.elstner@gmx.net>
* examples/thread/dispatcher.cc: Revert last commit because it's
silly. To make the code truly exception-safe it would be necessary
to either join all threads or to notify them, which is way beyond
the scope of this example.
2004-05-20 Daniel Elstner <daniel.elstner@gmx.net>
* examples/thread/dispatcher.cc: Set a good example and
be paranoid about possible memory leaks due to exeptions.
2004-05-20 Daniel Elstner <daniel.elstner@gmx.net>
* examples/thread/dispatcher.cc: Code cleanup. Most importantly,
get rid of the locking around std::cout since it obfuscates the
purpose of using Glib::Dispatcher.
2004-05-13 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/object.{cc,h} (ConstructParams::ConstructParams):
Implement the copy constructor in a way that actually works if used.
Relying on the compiler to optimize it away is a bad idea. (#132300)
2004-05-04 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/ustring.h: Documented the constructors, based on
the libstdc++ documentation, to make it clear that sizes are in
characters rather than bytes.
2004-05-01 Murray Cumming <murrayc@murrayc.com>
* configure.in: Increase glib dependency to 2.4.0.
2004-04-30 Murray Cumming <murrayc@murrayc.com>
* tools/m4/gobject.m4: Allow use of _CUSTOM_DTOR(), needed by
Gnome::Gda::Connection.
2.4.1:
2004-04-17 Murray Cumming <murrayc@murrayc.com>
* docs/reference/Makefile.am: Make the generated html depend on the
beautify_docs.pl.in source instead of the generated beautify_docs.pl,
so that the html is not rebuilt from tarballs.
2004-04-17 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/container_handle.h: Reimplemented more of the
to_cpp_type() methods without using dependent methods, so that they
work with g++ 3.4 (cvs versions).
2.4.0:
2004-04-11 Murray Cumming <murrayc@murrayc.com>
* tools/pm/WrapParser.pm, Output.pm, m4/signal.m4: Allow _WRAP_SIGNAL()
to take an refreturn argument, so that Gtk::Widget::on_get_accessible()
can do an extra ref before returning the Atk::Object.
2004-04-09 Murray Cumming <murrayc@murrayc.com>
* tools/pm/Output.pm: output_wrap_property(): Provide the actual
property name as well as one with - replace with _, so we can
test for the correct value in notification signal handler.
* tools/m4/property.m4: Use the actual property name when calling
C functions.
2.3.8:
2004-03-24 Murray Cumming <murrayc@murrayc.com>
* scripts/cxx.m4: Corrected parentheses, which cause the docs to be
written into config.h. Thanks to Alexander Nedotsukov.
2004-03-23 Murray Cumming <murrayc@murrayc.com>
* scripts/cxx.m4: Corrected the ambiguous const template test, which
failed on all platforms because it generated bad code.
2004-03-20 Martin Schulze <mschulze@cvs.gnome.org>
* glibmm/main.cc: Bug fix in SourceConnectionNode::notify() (#137030).
2004-03-18 Murray Cumming <murrayc@murrayc.com>
* tools/generate_wrap_init.pl: Change a regex so that files are
included without full path. Apparently this helps when building outside
of the source directory, though I'm sceptical. By Victor Zverovich in
bug #137530.
2.3.7:
2004-03-14 Murray Cumming <murrayc@murrayc.com>
* scripts/sun.m4: Set the correct variable, so it is actually set in
glibmmconfig.
2004-03-14 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/containerhandle_shared.h value.h: Used ifdef
GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS to avoid
problems with the SUN Forte compiler.
2004-03-14 Murray Cumming <murrayc@murrayc.com>
* scripts/cxx.m4: Added CAN_DISAMBIGUATE_CONST_TEMPLATE_SPECIALIZATIONS
m4 macro to use in configure.in, to check for the SUN Forte problem -
see the comments in cxx.m4.
* scripts/sun.m4: Moved some brackets around to make the define
actually work.
2004-03-13 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/containerhandle_shared.h: TypeTraits to_cpp_type()
specializations: Use wrap_auto() directly instead of a specific
wrap() overload that would be dependent. Needed for g++ 3.4.
* glib/glibmm/containers.h: Same again.
2004-03-13 Murray Cumming <murrayc@murrayc.com>
* tools/m4/class_shared.m4: Remove the parent get_type() call from
the Class::init() function, because it is optimised away, and g++ 3.4
actually complains that it does nothing.
* glib/glibmm/object.[h|cc]: Add a public ConstructParams copy
constructor, needed by g++ 3.4. See comments in the code.
* tests/glibmm_value/glibmm_value.cc: Instantiate instances of
value types, to fix the g++ 3.4 build. I don't know what the code
was meant to do before anyway.
2004-03-11 Murray Cumming <murrayc@murrayc.com>
* scripts/: Added sun.m4, copied from libsigc++-1.2/scripts and
modified, so we can detect the SUN Forte compiler.
* configure.in: Used the m4 macro.
* glibmm/glibmm-config.h: Undef the GLIBMM_COMPILER_SUN_FORTE macro
so that it will be defined if configure sets it.
2004-03-09 Murray Cumming <murrayc@murrayc.com>
* Some, but not all, SUN Forte build fixes:
* tools/m4/convert_gdk.m4, convert_glib.m4: Use existing
sun-specific conversion when converting from any
RefPtr<const Something> to *Something.
2004-04-08 Hagen Moebius <hagen.moebius@starschiffchen.de>
* tools/pm/DocsParser.pm: Another change to give better warnings and
errors at gmmproc-runtime. Further improvment of parsing parameter names
to strip traling underscres. This not only for reference text, but for
the parameter list also.
2004-04-07 Hagen Moebius <hagen.moebius@starschiffchen.de>
* tools/pm/DocsParser.pm: Allow overrides to only override
part of the docs. Add a <mapping> tag to associate non-prefixed
functions with classes. Improve parsing of parameter names so they
can now have numbers in the names.
2.3.6:
2004-03-03 Murray Cumming <murrayc@murrayc.com>
* Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends
for internationalization. See the comments in the header - you must
include things in the right order.
* glib/src/spawn.[hg|ccg]: Added spawn_close_id() as wrapper for
g_spawn_close_id().
* glib/glibmm/main.[h|cc]: Added MainLoop::depth() as wrapper for
g_main_depth().
2004-03-02 Murray Cumming <murrayc@murrayc.com>
* tools/pm/Function.pm: parse_param(): Only parse const as an
individual part of the type name if it is followed by a space, so
that we can have const const_iterator& types.
2004-02-27 Martin Schulze <teebaum@cvs.gnome.org>
* CHANGES: Fix typo reported by Chris Vine.
2004-02-13 Martin Schulze <teebaum@cvs.gnome.org>
* documentation fixes and corrections in the comments reflecting
the shift to libsigc++ 2.
* make all source files in example thread use libsigc++ 2 instead
of libsigc++ 1.2.
2.3.5:
2004-02-10 Murray Cumming <murrayc@usa.net>
* glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug
#125061 for more details. We must update CHANGES later.
2.3.4:
2004-02-02 Murray Cumming <murrayc@usa.net>
* glib/glibmm/containerhandle_shared.h: Traits<const T*>: Added
const_cast, needed by TreeView::get_columns() const: bug #126721.
2004-01-29 Murray Cumming <murrayc@usa.net>
* tools/pm/Parser.pm, Output.pm, tools/m4/signal.m4: Add an optional
custom_c_callback parameter to _WRAP_SIGNAL to allow special code
for the SelectionData& output parameter in Gtk::Widget signals.
Hopefully we won't need too many more of these hacks - the m4 is
becoming very hard to read, with all these nested ifelse() statements.
2004-01-27 Cedric Gustin <cedric.gustin@swing.be>
* build_shared/Makefile_build.am_fragment: Added win32-specific
--export-all-symbols to linker flags. This is backported from
gtkmm-2.2.
* README.win32: Updated text for glibmm-2.4.
* tools/generate_wrap_init.pl.in: Replaced GTKMM_WIN32 by the
standard G_OS_WIN32.
2.3.3:
2004-01-22 Murray Cumming <murrayc@usa.net>
* glib/date.[hg|ccg]: Added clamp_min() and clamp_max() to wrap the
case where g_date_clamp() takes null values.
2004-01-18 Alberto Paro <alberto@paro.homeunxi.org>
* glib/src/date.hg: documentated Glib::Date functions.
* glib/glibmm/main.h: documentated Glib::MainLoop,Glib::MainContext
and Glib::Source functions.
2004-01-18 Murray Cumming <murrayc@usa.net>
* tools/pm/Output.pm, tools/m4/property.m4: When the property is not
read-only, add a second read-only propertyproxy for the same property,
with a const accessor. This allows setting of properties in const
methods. Make all read-only propertyproxies have const accessors.
* glib/glibmm/propertyproxy.h: Added class documentation.
* tools/pm/Output.pm: Declare _vfuncs as virtual methods - fixing
an error in my last change.
2004-01-16 Murray Cumming <murrayc@usa.net>
* tools/pm/Output.pm, tools/m4/vfunc.m4:
- Generate const vfuncs when requested with _WRAP_VFUNC().
- Put the *_vfunc() decleraration directly into the header, where
the _WRAP_VFUNC() macro appears, instead of in a separate section.
This allows us to add doxygen documentation before the _WRAP_VFUNC()
in the .hg file. However, we must check that all of our _WRAP_VFUNC()
macros are in protected: sections.
2004-01-12 Murray Cumming <murrayc@usa.net>
* glib/glibmm/object.cc: Object::Object() default constructor.
Remove the warning because we really need this to implement a custom
TreeModel. Derive a new GType, as in the
Object::Object(ConstructParams) constructor. Like that constructor,
the default one also assumes that you have called a suitable
ObjectBase constructor, such as ObejctBase(typeid(MyCustomClass)).
2004-01-09 Murray Cumming <murrayc@usa.net>
* tools/pm/Output.pm: output_wrap_property(): Allow construct-only
properties to be wrapped, as read-only properties.
2004-01-03 Murray Cumming <murrayc@usa.net>
* tools/gmmproc.in, pm/WrapParser.pm, DocsParser.pm: Removed the
mergecdocs option - because we always want to merge C docs, to avoid
accidental upload of half-complete docs.
2003-12-29 Murray Cumming <murrayc@usa.net>
* Makefile.am: Add scripts and tests directories to SUBDIRS instead of
DIST_SUBDIRS, so that their Makefile.am files are actually used.
* scripts/macros.m4: renamed GTKMM_CHECK_PERL() to GLIBMM_CHECK_PERL()
and install it as glibmm_check_perl.m4, so that other *mm projects
can use it. They need the PERL_PATH for Doxygen.
2003-12-22 Murray Cumming <murrayc@usa.net>
* docs/reference: generate beautify_docs.pl from beautify_docs.pl.in,
so it can have the perl path in it. Install it, so other *mm
modules can use it.
2003-12-13 Murray Cumming <murrayc@usa.net>
* tools/m4/*.m4: Added fuller Doxygen documentation to all gobj() and
wrap() methods. Doxygen should not emit warnings about these now.
2.3.2:
2003-11-29 Murray Cumming <murrayc@usa.net>
* tools/m4/signal.m4: Add spaces inside signal_proxy template types,
to avoid << and >> when using templated types.
2003-11-27 Murray Cumming <murrayc@usa.net>
* tools/pm/WrapParser.pm, Output.pm: Added WRAP_METHOD_DOCS_ONLY()
macro.
* docs/internal/using_gmmproc.txt: Explained the new macro.
2003-11-02 Murray Cumming <murrayc@usa.net>
* glib/glibmm/: Added init.[h|cc] with Glib::init() so that the
gnomemm init() methods do not need to initialize gtkmm.
* tools/m4/class_gobject.m4, class_gtkobject.m4: Added
_GMMPROC_PROTECTED_GCLASS macro, needed by libgnomecanvasmm. This
was not previously properly merged from gtkmm2.
* tools/m4/property.m4: Re-added PropertyProxy reference documentation
that did not survive a previous merge from gtkmm2.
2003-11-01 Murray Cumming <murrayc@usa.net>
* glib/glibmm/propertyproxy.h, propertyproxy_base.[h|cc]: Now uses
ObjectBase instead of Object, because glib can now have properties
on interfaces. This is needed, for instance, by the GtkFileChooser
interface wrapper in gtkmm.
* glib/glibmm/object.h: Moved get/set_property() methods into
ObjectBase, for the same reason.
* tools/pm/WrapParser.pm, Output.pm: Added optional no_default_handler
parameter to gmmproc _WRAP_SIGNAL() macro, for signals whose
default signal handler is not in the klass struct and therefore
can not be overridden.
2003-10-31 Murray Cumming <murrayc@usa.net>
* docs/Makefile_web.am_fragment: Corrected install location,
so that links from the gtkmm docs work when they are installed.
2003-10-30 Murray Cumming <murrayc@usa.net>
* docs: Added images directory, copied from gtkmm, for the reference
html docs.
* configure.in: Mention docs/images/Makefile.
* docs/reference/Doxyfile.in: Genereate glibmm_doxygen_tags instead
of gtkmm_doxygen_tags.
* docs/reference/Makefile.am: dist glibmm_doxygen_tags.
* docs/reference: gtkmm*.html_fragment are now glibmm*.html_fragment.
2.3.1:
2003-10-23 Murray Cumming <murrayc@usa.net>
* tools/pm/Output.pm: output_wrap_create(): Used
args_types_and_names_with_default_values() intead of
args_types_and_names(), so that create() functions .in .h files have
the default values as specified in _WRAP_CREATE() in .hg files.
* tools/pm/WrapParser.pm: on_ignore_signals(): Strip the quotes, to
make _IGNORE_SIGNAL() really work in .hg files.
2003-10-02 J. Abelardo Gutierrez <jabelardo@cantv.net>
* examples/threads/dispatcher.cc
examples/threads/dispatcher2.cc: fixed to cast out all gktmm code,
now they only need glimm.
* configure.in: Added examples/threads because they don't use gtkmm
anymore. Now all examples/threads compiles and run just fine.
2.3.0:
2003-09-30 Murray Cumming <murrayc@usa.net>
* configure.in: Removed examples/threads because we don't build or
distribute it, because it doesn't build, because it uses gtkmm.
2003-09-30 Murray Cumming <murrayc@usa.net>
* glib/glibmm/object_base.h: ObjectBase inherits virtually from
Sigc::Object. See bug #116280.
2003-09-27 Cedric Gustin <cedric.gustin@swing.be>
* glib/glibmm/threadpool.cc: Removed
_GTKMMPROC_SIGNAL_H_AND_CC(#ifndef G_OS_WIN32) restrictions. These
functions are now implemented in the latest (2.2.4) GTK+ on win32.
* README.win32 : Updated list of unsupported functions.
2003-08-20 Frank Naumann <fnaumann@freemint.de>
* glib/src/thread.hg,
glib/src/unicode.hg: Warning bugfix for VisualStudio .NET 2003;
made wrapper functions returning bool from glib functions
returning int (C lacks builtin type bool) explicit by adding
an != 0 check. Otherwise VisualStudio .NET warn about implicit
int -> bool cast.
2003-07-26 Murray Cumming <murrayc@usa.net>
* glib/glibmm/dispatcher.cc: Added #include <algorithm>, needed
by MSVC++, as suggested by Frank Naumann in bug #118215.
2003-05-31 Murray Cumming <murrayc@usa.net>
* tools/gmmproc.in: Corrected location of installed .pm files. They
are now in a glibmm-2.3 folder instead of a glibmm-2.4 folder.
2003-05-14 Murray Cumming <murrayc@usa.net>
* Applied some of MSVC++ .NET 2003 changes from jburris. For instance,
use of Gtk:: prefix with manage, because MSVC++ can not guess it. Also
corrected the out-of-sync protected/private modifiers in the private
gtype classes and their prototypes.
2003-05-09 Cedric Gustin <cedric.gustin@swing.be>
* glib/glibmm/dispatcher.cc: small typo in G_OS_WIN32 condition.
2003-05-07 Murray Cumming <murrayc@usa.net>
* scripts/macros.m4: Made the --enable-debug-refcounting configure
option set GLIBMM_* instead of GTKMM_*.
2003-05-02 Murray Cumming <murrayc@usa.net>
* tools/m4/*.m4: Added doxygen comments to gobj() methods.
* examples/markup/parser.cc: Commented-out a std::right that gcc 2.93
does not like.
2003-04-23 Andrew Makeev
* glib/glibmm/dispatcher.cc: Added some #ifdefed code to implement
Glib::Dispatcher on WIN32. See comments with the code.
2003-04-22 Murray Cumming <murrayc@usa.net>
* Install headers in a glibmm-2.3 directory instead of glibmm-2.4,
to be consistent with gtkmm 2.4.
2003-04-21 Murray Cumming <murrayc@usa.net>
* arrayhandle.h, listhandle, slisthandle.h:
Glib::ListHandle, Glib::ListHandle, Glib::SListHandle: Added
reference docs explaining that people can use STL containers.
2003-04-21 Murray Cumming <murrayc@usa.net>
* Removed examples/idle: It's now updated and in gtkmm/examples/book.
2003-04-19 Murray Cumming <murrayc@usa.net>
* tools/pm/GtkDefs.pm: get_unwrapped(): Changed some & to && to
avoid warnings and because that is probably what they should be.
* tools/m4/extra_defs_gen/generate_defs_glib.cc: Removed parameter
names from main(), because they are not used. Avoid warning.
2003-03-26 Ross Burton <ross@burtonini.com>
* glib/src/module.hg: Added API documentation.
2003-03-18 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
* scripts/*.m4, configure.in:
Added description to several AC_DEFINE statements to make 'autoheader'
happy
* Makefile.am:
Added ACLOCAL_AMFLAGS to make 'autoreconf' work
2003-03-18 Cedric Gustin <cgustin@ibelgique.com>
* Makefile.am : removed examples from DIST_SUBDIRS
2003-03-18 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
* examples/Makefile.am_fragment: Added DESTDIR-support.
2003-03-14 Cedric Gustin <cgustin@ibelgique.com>
* Install examples. The are built by default too. Patch adapted for
glibmm 2.4 by Murray Cumming.
2003-03-04 Cedric Gustin <cgustin@ibelgique.com>
* configure.in : Removed libstdc++ in LDFLAGS on win32. Latest
libtool is taking care of it.
* build_shared/Makefile_build.am_fragment,
tools/extra_defs_gen/Makefile.am : Added
--export-all-symbols linker flag on win32 (required by latest
libtool to build DLLs).
* build_shared/Makefile_gensrc.am_fragment : Modifiy rule that
builds wrap_init.cc. wrap_init.cc now contains reference to all
objects, event on win32. #ifdefs are included when needed.
* README.win32 : updated for version 2.2. Added list of missing
methods and signals on win32
* tools/m4/base.m4 : Added _GTKMMPROC_SIGNAL_H_AND_CC macro.
2003-03-14 Martin Schulze <MHL.Schulze@t-online.de>
* docs/internal/using_gtkmmproc.txt: Correct name of
[...]signals.defs generation utiliy.
2003-01-30 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>
* glib/src/thread.hg Cond: Add documentation
2003-01-27 Murray Cumming <murrayc@usa.net>
* glib/glibmm/refptr.h: Removed RefPtr<>::is_null() to encourage use
of more pointer-like operator bool() instead. Wanted to remove clear()
too, but there is no =0 equivalent yet.
* tools/gmmproc.in: Change harcoded gtkmm-2.0/m4 path to glibmm-2.4/m4.
2003-01-22 Murray Cumming <murrayc@usa.net>
* GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
2003-01-21 Murray Cumming <murrayc@usa.net>
* tests/Makefile.am_fragment, examples/Makefile.am_fragment:
Corrected LIBS and CFLAGS. Not all of these build because they
use gtkmm stuff too. They need to be reduced to glibmm-only code.
2003-01-21 Murray Cumming <murrayc@usa.net>
* glib/Makefile.am, glib/glibmm/Makefile.am: Install headers in
glibmm-2.4 directory rather than gtkmm-2.4
2003-01-21 Murray Cumming <murrayc@usa.net>
* configure.in: Use GLIBMM_* instead of GTKMM_* to avoid config.h
clashes with gtkmm 2.4.
* glib/glibmm-2.4.pc.in: Correct cflags - report 2.4 instead of 2.0.
2003-01-21 Murray Cumming <murrayc@usa.net>
* tools/extra_defs_gen/Makefile.am: Changed extra_defs library name
from 2.4 to 2.3, so it can be unstable.
2003-01-09 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/utility.h (GLIBMM_INITIALIZE_STRUCT): Replace
__builtin_bzero() with __builtin_memset() because the former is
deprecated. Also, it looks like GCC is able to optimize the 0 case
so we don't lose anything here.
2003-01-09 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/miscutils.cc (Glib::build_path): Reserve 256 bytes
in advance to improve performance.
2003-01-09 Daniel Elstner <daniel.elstner@gmx.net>
* glib/glibmm/miscutils.{cc,h} (Glib::build_path): Fix to make it
behave exactly like g_build_path(). (#102885, Jarek Dukat)
(Glib::build_filename(const std::string&, const std::string&)):
Implement in terms of Glib::build_path().
2003-01-21 Murray Cumming <murrayc@usa.net>
* Renamed gtkmmproc to gmmproc.
2003-01-08 Murray Cumming <murrayc@usa.net>
* glib/glibmm/refptr.h: Removed the operator=(CppObject*), as
suggested in the TODO comment.
2003-01-08 Murray Cumming <murrayc@usa.net>
* make distcheck works.
2003-01-08 Murray Cumming <murrayc@usa.net>
* It now builds, though I haven' tried installing it. The
library names and header directories should now all have 2.4
instead of 2.0 in their name.
glibmm was previously part of gtkmm2.
|