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
|
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.
|