summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: e84116ccb5dfaccb3f0ecffefd4204e3d1eb59b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
2008-09-07  Johan Dahlin  <johan@gnome.org>

	Bug 551162 – giscanner does not recognize asm and __asm__
	* giscanner/scannerlexer.l:
	Patch by Jani Monoses.

2008-09-06  Colin Walters  <walters@verbum.org>

	* girepository/girnode.c: Allow gtype_name
	and gtype_init in struct and union.
	* girepository/girparser.c: Parse glib:
	boxed bits for both structure and union.
	* girepository/gtypelib.c: Don't barf
	if structure is boxed.
	* giscanner/girparser.py: Parse new XML
	format.
	* giscanner/girwriter.py: Write out new
	XML format.
	* giscanner/glibast.py: Define new classes
	which are both Boxed and Struct/Union, as
	well as an "Other" for everything else.
	* giscanner/glibtransformer.py: Handle
	boxed types specially; we try to merge
	them with a struct/union if one exists,
	otherwise fall back to generic boxed.
	* tests/*: Update.
	* tools/generate.c: Write out new format.

2008-09-06  Johan Dahlin  <johan@gnome.org>

	* giscanner/grealpath.h: Include stdlib.h

	* docs/g-ir-generate.1: Remove leading %

2008-09-01  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Look at c:type to determine
	whether or not an item is a pointer.

2008-09-01  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Makefile.am:
	Set PYTHONPATH so the scanner can run
	even if you didn't install anything.

2008-09-01  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Post-release version bump

=== 0.5.0 ===
2008-09-01  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

2008-08-31  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Quiet info
	prints for now.

2008-08-31  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Bump version to 0.5.0

2008-08-31  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Follow aliases to ensure
	we don't get a constructor returning a basic type.
	* giscanner/transformer.py: Add function to follow aliases.
	* tests/ Update.

2008-08-31  Johan Dahlin  <johan@gnome.org>

	* giscanner/scannerlexer.l:
	* giscanner/scannerparser.y:
	* giscanner/sourcescanner.h:
	* giscanner/sourcescanner.py:
	Parse GCC extensions in the parser instead of just undeffing them
	in the pre-processor.

2008-08-31  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py:
	Clean up a huge if. Do not add methods or constructors
	to enums/flags.
	* giscanner/utils.py:
	second might be longer than first, check that.

2008-08-31  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	Add a GModule.gir

2008-08-31  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Don't lose if we
	have no includedirs

2008-08-31  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Look for libtool
	library in current directory
	* tests/scanner - Update.

2008-08-30  Colin Walters  <walters@verbum.org>

	* docs/typelib-format.txt: Add a guint32
	for dependencies.
	* gir/Makefile.am: Dep on Makefile
	* girepository/ginfo.c:
	* girepository/girepository.c: Clean up
    	default typelib handling; remove global
    	default_typelib variable.  Ensure we handle
    	NULL repository in more places.
    	Support dependency resolution.
	Support lazy loading.
	* girepository/girepository.h: Remove
	g_irepository_unregister; we don't support
	unloading typelibs since really they're
	process-global.  Update for lazy loading
	API.
	* girepository/girmodule.c: Use g_new0.
	Add dependencies to GirModule.
	* girepository/girparser.c: Parse dependencies.
	* girepository/gtypelib.c: Add 4 bytes for
	dependencies.
	* tests/Makefile.am: Kill off gobject.gir,
    	it conflicts with the real one.
	* tests/object.gir: Dep on GObject.
	* tools/generate.c: Take --includedir
    	argument to say which directories to search
    	for typelibs.  Print out dependencies.

2008-08-30  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Reduce warning noise.

2008-08-29  Colin Walters  <walters@verbum.org>

	* girepository/ginfo.c: Add some assertions regarding
    	refcounts, just to be sure.
	* giscanner/glibtransformer.py: Blacklist a few more
    	odd Gio methods.

2008-08-29  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Blacklist a few
    	functions that use GError oddly

2008-08-29  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c: Don't crash if no
	shlib is embedded

2008-08-29  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Handle chains of aliases
	across modules by ensuring we fully qualify aliases
	from includes.

2008-08-29  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Don't search aliases
	for basic types.

2008-08-29  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Rewrite type parsing
	to handle both GLib parsing case as well as correctly
	handling GLib.List and friends.  Don't try to treat
	e.g. ListStore as a List.

2008-08-29  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c: Add more context
    	during validate.

2008-08-29  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Add some informative
    	logging messages in corner cases.  Be sure we use
    	the most recent node set instead of a cache
    	when generating result set.
	* tests/: Remove duplicated bits in expected girs
	* girepository/girparser.c: Accept both List (for
    	compiling GLib) and GLib.List (what the scanner
    	generates).
	* tests/ - Update.
	* tools/generate.c: Generate canonical form.

2008-08-29  Johan Dahlin  <johan@gnome.org>

	* giscanner/config.py.in:
	Use datarootdir instead of datadir to avoid
	an autoconf warning.

2008-08-29  Johan Dahlin  <johan@gnome.org>

	* README:
	* TODO:
	* examples/gdk-pixbuf.gidl:
	* libffi.pc.in:
	Update and remove old cruft.

2008-08-29  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* docs/g-ir-compiler.1:
	* docs/g-ir-generate.1:
	* docs/g-ir-scanner.1:
	Add man pages for the generator and compiler.

2008-08-29  Johan Dahlin  <johan@gnome.org>

	* docs/g-ir-scanner.1: Document

	* giscanner/Makefile.am:
	* giscanner/gidlparser.py:
	* giscanner/gidlwriter.py:
	* tools/g-ir-scanner:
	Remove gidl support.

2008-08-28  Colin Walters  <walters@verbum.org>

	* tests/scanner/Makefile.am: Pass the right
    	--includedir args.  Add a Makefile dep.
	* tools/compiler.c: Pass includedirs down.
	* girepository/girparser.c: Actually put
    	includedirs in context, pass down.  Fix
    	locate_gir.

2008-08-28  Colin Walters  <walters@verbum.org>

	* gir/Makefile.am: Use --includedir
	* girepository/girparser.c: Recursively parse
	includes to pull in aliases and expand them.
    	We need this to	avoid putting unknown names in
    	the typelibs.
	* tools/compiler.c: Add --includedir option.
	* giscanner/ast.py: Map size/ssize to types
	too.

2008-08-28  Tor Lillqvist  <tml@novell.com>

	Make check now runs successfully on Windows.

	* tools/compiler.c (write_out_typelib): Use binary mode for output
	file on Windows.

	* girepository/girnode.c: Don't print NULL strings.

	* tests/invoke/Makefile.am
	* tests/scanner/Makefile.am: Use -no-undefined on Windows to
	convince libtool to build shared libraries.

	* tests/invoke/invoke.c: Don't needlessly include <dlfcn.h>. Use
	g_assert() instead of printing out expected errors.

2008-08-28  Tor Lillqvist  <tml@novell.com>

	* girepository/gtypelib.h: Change type of bitfield fields from
	guint to the most suitable smaller type. This makes the struct
	sizes match the ones on Linux that the sanity check expects when
	using gcc -mms-bitfields on Windows.

2008-08-28  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* configure.ac:
	* gir/Makefile.am:
	* giscanner/Makefile.am:
	* tests/Makefile.am:
	* tests/scanner/Makefile.am:
	Make distcheck pass.

2008-08-27  Johan Dahlin  <johan@gnome.org>

	* giscanner/Makefile.am:
	Only send in -no-undefined on Win32 as it breaks on MacOS X.

2008-08-27  Tor Lillqvist  <tml@novell.com>

	Make g-ir-scanner work on Windows. Still problems with the typelib
	code. Changes okayed by jdahlin.

	* configure.ac: Check for Windows, set Automake conditional
	OS_WIN32. Change backslashes to forward slashes in pyexecdir to
	avoid shell quoting issues
	
	* girepository/Makefile.am: Use -no-undefined so that libtool
	agrees to build a shared library on Windows.

	* girepository/girparser.c (backtrace_stderr): No backtrace() on
	Windows. Empty implementation on Windows so far.

	* girepository/gtypelib.c (g_typelib_check_sanity): Give more
	informative error message for the assertion failures. Tell also
	what the expected size of the struct is. Check all sizes first and
	fail afterwards if at least one size was different from expected.

	* tools/Makefile.am: Reorder libraries into proper logical
	dependency order.

	* tools/generate.c: Don't include <dlfcn.h>, not used.

	* giscanner/Makefile.am: On Windows, link with the Python library,
	and install the module DLL as _giscanner.pyd. Remove the
	unnecessary import library and libtool library that libtool has
	installed.

	* giscanner/scannerlexer.l: Recognize the gcc __attribute__ syntax
	and just skip it. Recognize also two "l" suffixes for long long
	constants. Recognize also __inline__.

	* giscanner/grealpath.h (g_realpath): Implement on Windows, using
	GetFullPathName(). As such, GetFullPathName() does more than the
	UNIX realpath(). It also changes relative paths into absolute
	paths. But for our purposes that shouldn't matter.

	* giscanner/giscannermodule.c (pygi_source_scanner_parse_file): On
	Windows the file descriptor passed to us is from Python. Python
	Python2.5 uses the msvcr71.dll C library, while mingw-built code
	uses msvcrt.dll. On Windows, file descriptors are specific to
	which C library is used. So we must find out what underlying OS
	handle corresponds to the file descriptor Python passes us, and
	then make that into a file descriptor valid for the C library this
	code uses.

	* giscanner/sourcescanner.py (_parse): Don't need to bypass
	__attribute__ as the lexer now handles it. The definition as empty
	was ineffective for mingw anyway, as mingw's _mingw.h undefines
	__attribute__. Close the temp file before unlinking it.

	* giscanner/cgobject.py: Use correct library name for the gobject
	DLL on Windows.

	* gir/Makefile.am: Must pass the full basename of the DLLs on
	Windows to g-ir-scanner. It's a bit ugly that we have to "know"
	that the names of the GLib DLLs are like libglib-2.0-0.dll, but in
	reality they won't change, until there is a GLib 3, and then also
	the Unix code here needs changing.

	Must pass CPPFLAGS to g-ir-scanner when building GLib.gir so that
	libintl.h is found.

2008-08-26  Colin Walters  <walters@verbum.org>

	* girepository/girepository.c: Search
	$DATADIR/girepository instead of
	$DATADIR/gitypelibs; this naming makes
	it clearer that e.g. jgir can install
	.jars there.
	* gir/Makefile.am: Install there.

2008-08-26  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c (_g_typelib_init): Also
	use G_MODULE_SUFFIX instead of hardcoding .so.

2008-08-26  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c (_g_typelib_init): Free
	string in the right place.

2008-08-26  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c (_g_typelib_init): Handle
	both .la and .so names; this works better in the
	uninstalled library case.

2008-08-26  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	* giscanner/Makefile.am:
	* giscanner/cgobject.py:
	* giscanner/config.py.in:
	* giscanner/sourcescanner.py:
	Avoid undeffing __GNUC__, instead define
	__attribute__ & friends. Remove glibconfig.h hack.
	This makes gobject-introspection work better on
	MacOS X, Thanks to Richard Hult for kind help.

2008-08-25  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Always print
	statistics.

2008-08-25  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Skip over
	interfaces we don't know.

2008-08-25  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Parse new implements
	syntax, drop gapi one.
	* tests/object.gir: Update.
	* tools/generate.c: Generate new syntax.

2008-08-25  Colin Walters  <walters@verbum.org>

	* giscanner/ast.py: Add interfaces property
	to class.
	* giscanner/girwriter.py: Write out implemented
	interfaces.
	* giscanner/glibtransformer.py: Introspect
	implemented interfaces.
	* tests/scanner/*: Make FooObject implement
	FooInterface.

2008-08-25  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: More correctly pair
	methods; if we have a symbol that starts with
	e.g. hippo_canvas look for a matching HippoCanvas
	class before accepting e.g. HippoCanvasImage.

2008-08-24  Colin Walters  <walters@verbum.org>

	* tools/g-ir-scanner: Filter out unknown options from
	pkg-config files.

2008-08-24  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Fail with better
	error if we can't find library.

2008-08-24  Colin Walters  <walters@verbum.org>

	* tools/g-ir-scanner: Use subprocess instead of
	commands, works on Windows and avoids the evil
	shell on Unix.

2008-08-24  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Skip over
	g_object_get_type from GLib trunk.

2008-08-24  Colin Walters  <walters@verbum.org>

	* girepository/girepository.c (g_irepository_require): 
	Don't open shared library here; we already do it
	in gtypelib.c.

2008-08-24  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c: Add context stack so
	when we get an error we can print out nicely
	where it is.

2008-08-24  Johan Dahlin  <johan@gnome.org>

	* girepository/girparser.c (start_glib_boxed), (start_function),
	(start_field), (start_alias):
	Refactor a couple of parsing functions to be simpler to follow.
	Avoid huge ifs.

2008-08-24  Johan Dahlin  <johan@gnome.org>

	* girepository/girparser.c (start_function):
	Remove left-over code, checking type of function.

2008-08-23  Colin Walters  <walters@verbum.org>

	* giscanner/config.py: Define DATADIR.
	* giscanner/transformer.py: Look in DATADIR.

2008-08-23  Colin Walters  <walters@verbum.org>

	* girepository/gtypelib.c: Check constructor
	returns.
	* girepository/girnode.c: Small tweaks.
	* girepository/ginfo.c: Calculate signature offsets
	more robustly.
	* girepository/girparser.c: Remove duplicate
	start_boxed.
	* giscanner/glibtransformer.py: Avoid marking
	functions which return a basic type as
	constructors.

2008-08-23  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Ignore <include>.
	* giscanner/girparser.py: Parse them.
	* giscanner/girwriter.py: Generate them.
	* giscanner/transformer.py: Process <include>
	recursively.  Don't require full path for
	includes, look in {$XDG_DATA_DIRS}/gir.
	* tools/g-ir-scanner: Pass through includes.
	* Makefile.am: Remove extra --include
	args for scanner.
	* *-expected.gir: Add expected includes.

2008-08-23  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Makefile.am:
	* tests/scanner/annotation-expected.gir:
	* tests/scanner/drawable-expected.gir:
	Avoid duplication in the Makefile, regenerate with new
	namespaces (same as the filename)

2008-08-22  Colin Walters  <walters@verbum.org>

	* girepository/girnode.c: Don't hardcode integers,
	use GITypeTag.

2008-08-22  Johan Dahlin  <johan@gnome.org>

	* giscanner/sourcescanner.py:
	Check for ../gobject-introspection-1.0.pc.in to determine
	if we run installed or uninstalled.

2008-08-22  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	* giscanner/sourcescanner.py:
	Send in undefs/defines via writing it directly to stdin
	of cpp instead of via arguments.

2008-08-22  Colin Walters  <walters@verbum.org>

	* tools/generate.c, tools/compiler.c: Default
	to --raw.
	* all Makefile.am: Update.

2008-08-22  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Pass through
	recursive types.  Avoid overwriting errors.
	* giscanner/xmlwriter.py: Always write the
	XML header.
	* tests/*.gir: Adjust.
	* tests/scanner/Makefile.am: Build typelibs,
	and generate XML from those.  Once we
	have a good diff mechanism...
	* tests/scanner/*-expected.gir: Add XML
	header.
	* tools/g-ir-scanner: Accept --typelib-xml
	option.
	* tools/generate.c: Better defaults for transfer.

2008-08-22  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* gir/Makefile.am:
	* giscanner/Makefile.am:
	* giscanner/config.py.in:
	* giscanner/sourcescanner.py:
	Use the generated glibconfig.h for all scanner invokations.
	Rename it to glibconfig-scanner.h and install it.
	Add a config.py which so far contains the include dir.

2008-08-22  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	Replace glibconfig.h with our own, do some replacement
	for CPP/C features we do not support

2008-08-22  Colin Walters  <walters@verbum.org>

	* tools/generate.c (write_callable_info): Fix unref
	sequence.

2008-08-22  Colin Walters  <walters@verbum.org>

	* gobject-introspection-1.0.pc.in: Add g-ir-generate.
	* tests/Makefile.am: Support $(DEBUG)
	* tools/generate.c: Do immediate close tags if no
	sub-elements.

2008-08-21  Colin Walters  <walters@verbum.org>

	* tests/scanner/drawable-expected.gir,
	* tests/scanner/drawable.c,
	* tests/scanner/drawable.h:
	Add a method.

2008-08-21  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Compute prefix
	by searching through the symbol for bits
	rather than going directly from ctype; this fixes
	webkit_ namespace.

2008-08-21  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Also try squashing
	underscores from namespace, fixes webkit_web_view_new.

2008-08-21  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: More ctor work,
	avoid having gtk_window_group_new end up under
	GtkWindow.

2008-08-21  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Much simpler approach
	of mapping uscored names to classes.
	* giscanner/utils.py: Remove unnecessary function.

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* girepository/girepository.c (g_irepository_require):
	Plug memory leak and avoid using freed memory.
	Resolve the whole module path, here as well.

2008-08-21  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Look up all permutations
	of class names when scanning methods/ctors based on
	the prefix instead of using the return value.  This
	associates gtk_window_new with the right class.

2008-08-21  Colin Walters  <walters@verbum.org>

	* girepository/girmodule.c (g_ir_module_build_typelib): 
	Revert change to increment header_size; we do that in
	write_string.

2008-08-21  Colin Walters  <walters@verbum.org>

	* girepository/girnode.c (write_string): Tweak to
	use UINT instead of INT.  Not likely to matter.
	* girepository/girmodule.c (g_ir_module_build_typelib):
	Add to header_offset as well for header strings
	to match what write_string does.
	* girepository/gtypelib.c: Replace is_name with
	validate_name, which more strongly validates and
	handles errors in a better way.  Update all callers.
	* giscanner/glibtransformer.py: Handle constructors
	better.

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am (typelibs_DATA): Build and 
	install the Gio.typelib too

	* girepository/gtypelib.c (_g_typelib_init):
	Use g_module_build_path to resolve the shlib name

2008-08-21  Colin Walters  <walters@verbum.org>

	* gir/Makefile.am: CLEANFILES typelibs too.

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py:
	Do not send .la files through find_library.

2008-08-21  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c (g_irepository_require):
	Fix one small leak in error case.

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	Parse glibconfig.h as well and install the compiled
	typelib

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	* giscanner/glibtransformer.py:
	* tools/g-ir-scanner:
	Do not hard-core library names in the Makefile, reuse
	ctypes find_library instead.

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* girepository/girparser.c (resolve_aliases):
	Remove compilation warnings

2008-08-21  Johan Dahlin  <johan@gnome.org>

	* girepository/girepository.c (g_irepository_require):
	Rewrap and fix double free bug by leaking a bit.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/girepository.c: Add new function
	g_irepository_get_typelib_path which tells
	us from where we loaded a namespace.

2008-08-20  Colin Walters  <walters@verbum.org>

	* tests/scanner/*-expected.gir: Adjust for
	added shared-library.
	* giscanner/giwriter.py: Make pylint happy.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/girmodule.c (g_ir_module_build_typelib):
	Calculate size correctly, avoid use-after-free.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/girepository.c: Remove
	g_irepository_register_file in favor of
	g_irepository_require.  There are two
	possible deployment scenarios for typelibs:
	First, separate in $DATADIR/gitypelibs/.  Second,
	they may be embedded in shlibs.  However since
	the first is now the normal case, the API is
	optimized around it.

	Refactor internals to look up typelibs for
	namespaces just-in-time, but we expect
	consumers to call g_irepository_require.

	Also, add some docs.  No one has died from that
	before.
	* gir/Makefile.am: Need --library for glib.
	* giscanner/girwriter.py: Write out shared-library.
	* tools/g-ir-writer: Take the first --library
	argument as the target of shared-library.  In
	the future we should make this nicer with pkg-config
	probably.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/girparser.py: And parse them.

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibast.py: Add gshort/gushort types

2008-08-20  Colin Walters  <walters@verbum.org>

	* gir/Makefile.am: Rename .gir files using GI namespace.
	* girepository/girepository.c: Use XDG_DATA_DIRS for
	looking up typelibs.  Also typelibs are now suffixed
	with .typelib.
	* tests/invoke/Makefile.am: Only use metadata.
	* girepository/Makefile.am: Remove unnecessary include.
	* tests/scanner/Makefile.am: Update using GI namespaces
	for scanner includes.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/transformer.py: Suppress aliases whose
	name is a builtin.
	* girepository/ast.py: Define some more aliases.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Avoid alias infloops.

2008-08-20  Colin Walters  <walters@verbum.org>

	* tests/scanner/foo-expected.gir: Fix expected list type.

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py (GLibTransformer._resolve_type_name): 
	Add a workaround for #548689.
	We can now compile gtk!

2008-08-20  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Try to look up
	aliases using the c:type too.

2008-08-20  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Parse union fields.

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py: Make time_t an alias for long

	* gir/gio-2.0-good.gir:
	* gir/glib-2.0-good.gir:
	* gir/gobject-2.0-good.gir:
	Regnerate
	* giscanner/glibtransformer.py:
	Do not delete Class structures, we need them in gdk/gtk.
	* tests/scanner/drawable-expected.gir:
	* tests/scanner/foo-expected.gir:
	* tests/scanner/utility-expected.gir:
	Update tests.

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Makefile.am:
	* tests/scanner/annotation-expected.gir:
	* tests/scanner/annotation.c (annotation_object_class_init),
	(annotation_object_init), (annotation_object_method),
	(annotation_object_in), (annotation_object_out),
	(annotation_object_inout), (annotation_object_inout2),
	(annotation_object_inout3), (annotation_object_calleeowns),
	(annotation_object_calleesowns), (annotation_object_get_strings),
	(annotation_object_with_voidp), (annotation_object_get_objects),
	(annotation_object_create_object), (annotation_object_allow_none):
	* tests/scanner/annotation.h:
	* tests/scanner/foo-expected.gir:
	* tests/scanner/foo.c:
	* tests/scanner/foo.h:
	Split out annotation tests out of foo

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Foo-expected.gir:
	* tests/scanner/Makefile.am:
	* tests/scanner/foo-expected.gir:
	* tests/scanner/foo-object.h:
	* tests/scanner/foo.c:
	Foo->foo, foo-object.h -> foo.h

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Foo-expected.gir:
	* tests/scanner/Makefile.am:
	* tests/scanner/drawable-expected.gir:
	* tests/scanner/drawable.c (test_drawable_class_init),
	(test_drawable_init):
	* tests/scanner/drawable.h:
	* tests/scanner/foo-object.h:
	* tests/scanner/foo.c (foo_boxed_method):
	Move the drawable parts out of Foo to its own test.

2008-08-20  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Foo-expected.gir:
	* tests/scanner/foo-object.h:
	* tests/scanner/foo.c (foo_drawable_class_init),
	(foo_drawable_init):
	Add a based on GdkDrawable which generates
	a broken gir.

2008-08-19  Colin Walters  <walters@verbum.org>

	* giscanner/transformer.py: Don't try
	to strip prefix before namespace.

2008-08-19  Johan Dahlin  <johan@gnome.org>

	* giscanner/transformer.py:
	* tests/scanner/Foo-expected.gir:
	* tests/scanner/foo-object.h:
	Add support for typedef void foo type of
	aliases.

2008-08-19  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* tests/scanner/Foo-expected.gir:
	Add basic support for union, base the code much
	on Struct. Add a testcase.

2008-08-19  Johan Dahlin  <johan@gnome.org>

	* tests/scanner/Foo-expected.gir:
	* tests/scanner/foo-object.h:
	Add a union testcase which the compiler currently
	barfs at.

2008-08-19  Johan Dahlin  <johan@gnome.org>

	* gobject-introspection-1.0.pc.in:
	Add a g_ir_compiler variable

2008-08-19  Colin Walters  <walters@verbum.org>

	* giscanner/ast.py: Rework types to be more closely
	based on GITypeTag.
	* giscanner/girparser.py: Parse more bits.
	* giscanner/girwriter.py: Write sequences in a new
	way that specifies container type.
	* giscanner/glibast.py: Adjust for ast.py changes,
	add 'ctype' property to GLibObject and GLibInterface
	so we can look things up by it later.
	* gicanner/transformer.py: Names is new class holding
	the various namespaces we manage.  Do not confuse
	with Namespace which is toplevel XML node effectively.
	Rework all type resolution to go through
	_resolve_type_name_1.
	* giscanner/glibtransformer.py: Raise UnknownTypeError
	instead of ValueError for cleanliness.  Add Unresolved
	class to mark types whose parent we haven't seen yet.
	Use new Names object from transformer.py.
	Correctly look up parent=.
	Fix type validation to handle sequences.
	* tests/scanner/Foo-expected.gir: Update for sequence
	work, int instead of int32.
	* tools/g-ir-scanner: Add --noclosure option
	* gir/Makefile.am: Use --noclosure by default for
	GLib/GObject.

2008-08-18  Johan Dahlin  <johan@gnome.org>

	* gir/gio-2.0-good.gir:
	* gir/glib-2.0-good.gir:
	* gir/gobject-2.0-good.gir:
	Regenerate.

2008-08-18  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py:
	* giscanner/girparser.py:
	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* tests/scanner/Foo-expected.gir:
	* tests/scanner/foo-object.h:
	* tests/scanner/utility-expected.gir:
	* tests/scanner/utility.h:
	Redo type resolving and validation.
	Add a couple of new tests.
	Patch mostly written by Colin.

2008-08-18  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	* giscanner/girparser.py:
	Set ctype of enums
	* giscanner/transformer.py:
	Improve enum parsing for enums without a GType.
	Make flags/enum references to other girs work
	* giscanner/utils.py:
	Simplify this a bit
	* tests/scanner/Makefile.am:
	* tests/scanner/foo-object.h:
	* tests/scanner/utility-expected.gir:
	* tests/scanner/utility.h:
	Add a new test for external enum references

2008-08-18  Johan Dahlin  <johan@gnome.org>

	* docs/global-module-registry.txt: Update

	* tests/array.gir: Update with new type proposal

	* girepository/girepository.c (g_type_tag_to_string):
	* girepository/girepository.h:
	* girepository/girnode.c (g_ir_node_get_full_size_internal),
	(find_entry_node):
	* girepository/girnode.h:
	Make enum serializing functions public. Clean up some whitespace.

2008-08-17  Johan Dahlin  <johan@gnome.org>

	* docs/global-module-registry.txt:
	Add a document for an on disk module registry format

2008-08-17  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	* gir/gio-2.0-good.gir:
	Add a gio gir.

2008-08-17  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	* gir/glib-2.0-good.gir:
	* gir/gobject-2.0-good.gir:
	* giscanner/cgobject.py:
	* giscanner/glibtransformer.py:
	Regenerate GObject & GType.
	Avoid warnings when generating gobject-2.0.gir.
	Introspect a little more, and skip *_get_type functions.

2008-08-17  Colin Walters  <walters@verbum.org>

	* gir/glib-2.0.gir, gir/gobject-2.0.gir:
	Rename to -good, always generate during build.
	* gir/Makefile.am: Ensure .gir files dep on
	all scanner sources.
	* Makefile.am: Switch build order to ensure
	the scanner is ready before we do gir/.
	* tools/g-ir-scanner: Look for .git too.

2008-08-17  Johan Dahlin  <johan@gnome.org>

	* girepository/gtypelib.c (validate_enum_blob):
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	Remove resolve_possible_typedefs, it was unused.
	Allow multiple enum values of the sample value in an enum,
	since it's actually pretty common.
	Register enums so they can be resolved too.

2008-08-16  Johan Dahlin  <johan@gnome.org>

	* giscanner/girparser.py:
	Parse enumeration/bitfield.

2008-08-16  Johan Dahlin  <johan@gnome.org>

	* giscanner/girparser.py:
	Parse boxed types.

2008-08-16  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py:
	Resolve type names for alias targets
	* giscanner/transformer.py:
	Skip FILE* parameters fow now

2008-08-16  Johan Dahlin  <johan@gnome.org>

	* gir/glib-2.0.gir:
	* gir/gobject-2.0.gir:
	Regenerate

	* tests/scanner/Makefile.am:
	parser -> scanner

2008-08-15  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Explicitly construct
	new list, since we're deleting as we iterate.
	Don't delete all structures which end in Class; just
	ones which have a paired GObject.
	Fix printing of type warning.
	* giscanner/transformer.py: Make strip_namespace_object
	be the identity function if it doesn't match the 
	namespace.

2008-08-15  Colin Walters  <walters@verbum.org>

	* giscanner/cgobject.py: Define yet more argument
	prototypes; fix prototype for g_type_fundamental.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* tests/Makefile.am:
	* tests/constant.gir:
	* tests/gobject.gir:
	* tests/struct.gir:
	* tools/generate.c (write_struct_info):
	Fix generator for constant/gobject/struct

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* tests/Makefile.am:
	* tests/enum.gir:
	* tools/generate.c (write_enum_info):
	Fix generation of enum/bitfields

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* girepository/girparser.c (start_field), (start_constant),
	(start_type), (end_element_handler):
	Clear up constant parsing

	* tests/object.gir:
	Update

	* tools/generate.c (write_callable_info), (write_function_info),
	(write_callback_info), (write_constant_info), (write_signal_info),
	(write_vfunc_info), (write_property_info), (write_object_info),
	(write_interface_info):
	Constants/Signals are handled now.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* girepository/girparser.c (start_type):
	Don't require c:type.
	* tests/Makefile.am:
	Test boxed.gir
	* tests/boxed.gir:
	Update, remove parts we don't support yet
	* tests/roundtrips.sh:
	Remove
	* tools/generate.c (write_type_info), (write_field_info),
	(write_callable_info), (write_struct_info):
	Make it emit proper gir.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* giscanner/transformer.py:
	New internal function for adding a new node.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* gir/Makefile.am:
	Define an internal _H_ variable so we skip parsing both
	i18n headers, only one is needed.
	* gir/glib-2.0.gir:
	Add the glib-2.0.gir too.
	* giscanner/glibast.py:
	Add gconstpointer as an alias for ANY
	* giscanner/transformer.py:
	Do not lower case enumeration names per se.
	Skip functions which has parameters called 'va_list'

2008-08-14  Colin Walters  <walters@verbum.org>

	* giscanner/transformer.py: Comment data structures.
	Also squash pointers in resolve_type_name to correspond
	with what we do for params.
	* giscanner/glibtransformer.py: Print warnings in more
	situations.  Rework checks for method/constructor to
	look up in our GType database instead of just checking
	for *.   Avoid generating <record> for GObject which
	duplicate the <class>.
	* gir/Makefile.am: Generate glib-2.0.gir and gobject-2.0.gir
	in here.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* misc/pyflakes.py:
	* tests/Makefile.am:
	Add pyflakes.py and run it in make check.
	Update the source code to fix the errors reported by
	pyflakes.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py:
	* giscanner/girparser.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	Refactor the parser a bit.
	Add parent type to interfaces and update callsites.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py:
	* giscanner/utils.py:
	Refactor a bit, avoid isinstance and add a method
	for each type we parse.

2008-08-14  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py:
	* giscanner/girparser.py:
	* giscanner/glibtransformer.py:
	* tests/Makefile.am:
	Run pep8.py in make check, fix old errors.

2008-08-13  Colin Walters  <walters@verbum.org>

	* giscanner/girparser.py: Parse records.

2008-08-13  Colin Walters  <walters@verbum.org>

	* gir/Makefile.am: Install again.
	* gir/gobject-2.0.gir: Add some more bits.

2008-08-13  Colin Walters  <walters@verbum.org>

	* gir/gobject-2.0.gir: Use correct namespace, add GType.
	* giscanner/girparser.py: Handle aliases.
	* giscanner/transformer.py: Record aliases.  Make resolver
	functions public; we now call into these explicitly from
	glibtransformer.  Handle resolving aliases.
	* giscanner/glibtransformer.py: Separate our internal namespace
	from included ones.  Call up into transformer's resolver functions.

2008-08-13  Johan Dahlin  <johan@gnome.org>

	* girepository/girnode.c (g_ir_node_get_full_size_internal):
	* girepository/girparser.c (start_class):
	* giscanner/glibtransformer.py:
	Allow get_type to be None, set a get_type for GInitiallyUnowned too.

2008-08-13  Johan Dahlin  <johan@gnome.org>

	* giscanner/cgobject.py:
	Register GInitiallyUnowned
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	Special case GObject/GInitially owned as they are a bit special to use.

2008-08-13  Colin Walters  <walters@verbum.org>

	* tests/scanner/Foo-expected.gir, tests/scanner/utility-expected.gir:
	Object is in GObject namespace.

2008-08-13  Colin Walters  <walters@verbum.org>

	* giscanner/girparser.py: Fix processing of functions
	from last commit.

2008-08-13  Colin Walters  <walters@verbum.org>

	* giscanner/girparser.py: Parse more than just <class.
	* giscanner/glibtransformer.py: Put aliases in a separate
	data structure since their name is not canonicall.
	* giscanner/transformer.py: Handle resolving type names
	from includes.

2008-08-13  Johan Dahlin  <johan@gnome.org>

	* tools/g-ir-scanner:
	Allow multiple libraries
	* giscanner/glibtransformer.py:
	Rename load_library to add_library, traverse over all libraries
	when trying to resolve a function

2008-08-12  Colin Walters  <walters@verbum.org>

	* giscanner/transformer.py: Record typedefs as <alias> elements.
	  Also attempt to look up types in external namespaces.
	* giscanner/girwriter.py: Write them.
	* giscanner/glibtransformer.py: Rework resolver using real instanceof
	checks.  Resolve interface methods and properties.
	* tests/scanner/foo-object.h: Add a method with typedef.
	* tests/scanner/Foo-expected.gir: Update.
	* girepository/girnode.c: Debug tweaks.
	* girepository/girparser.c: Make a first pass through the XML where we
	record all the aliases.  This lets us resolve them as we go through the
	second pass.
	* gir/Makefile.am: Don't install gobject-2.0.gir; we want that to come
	from gir-repository.

2008-08-12  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Resolve typedefs (e.g. AtkAttributeSet -> GSList).
	Correctly do subclasseing in 2nd pass resolution.  Handle callbacks in structure
	fields.
	* giscanner/transformer.py: Record typedefs and expose public API for resolving
	them.
	* tests/scanner/Foo-expected.gir: Fix expected callback types.

2008-08-12  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Also transform object properties.

2008-08-12  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: Also transform callbacks
	and structure field types.
	* tests/scanner/Fooe-expected.gir: Update to expect correct
	names for callbacks and structs.

2008-08-12  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Handle 'any'.
	* tests/scanner/Foo-expected.gir, tests/scanner/foo-object.h:
	Add test for void *.

2008-08-12  Colin Walters  <walters@verbum.org>

	* giscanner/glibtransformer.py: We need to do type
	resolution in a second pass after we've seen all the
	enums, records, etc.

2008-08-12  Colin Walters  <walters@verbum.org>

	* tests/scanner/Foo-expected.gir, tests/scanner/foo-object.h:
	Add enum return value.
	* giscanner/glibtransformer.py: Transform function return types
	too.

2008-08-12  Colin Walters  <walters@verbum.org>

	* tests/scanner/Makefile.am: Dep .gir files on scanner
	sources too.  Also remove @ so we see scanner invocations.

2008-08-12  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c, girepository/gtypelib.c,
	girepository/gtypelib.h, girepository/girnode.c:
	Remove usage of (GAPI-oriented) TypeTag in favor of
	GITypeTag from girepository.h.

2008-08-10  Colin Walters  <walters@verbum.org>

	* tests/roundtrips.sh: Use the correct tests.

2008-08-10  Colin Walters  <walters@verbum.org>

	* giscanner/cgobject.py: Declare/wrap a few more functions.
	Fix parameter types for g_object_new and g_type_fundamental.

2008-08-10  Colin Walters  <walters@verbum.org>

	* giscanner/cgobject.py: Add new decorator @gwrap which forces
	us to declare types for both return value and parameters.  The
	ctypes default of 'int' is bad because it hides 32/64 bit
	problems.  Convert all existing functions to use it.

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* giscanner/__init__.py:
	* giscanner/ast.py:
	* giscanner/cgobject.py:
	* giscanner/gidlparser.py:
	* giscanner/gidlwriter.py:
	* giscanner/girparser.py:
	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/odict.py:
	* giscanner/sourcescanner.py:
	* giscanner/transformer.py:
	* giscanner/utils.py:
	* giscanner/xmlwriter.py:
	* tools/g-ir-scanner:

	PEP8ify

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* relaxng/api.xml:
	* relaxng/c-types.xml:
	* relaxng/g-types.xml:
	* relaxng/relaxng.rng:
	* relaxng/util.xml:
	Remove outdated relaxng schemas.

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* *.[ch]:
	Rename metadata to typelib in variable names,
	comments and apis.

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* tools/scanner.c:
	* tools/scanner.h:
	Remove old C scanner, which got rewritten in python.

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* girepository/Makefile.am:
	* tools/Makefile.am:
	* tools/girmodule.c:
	* tools/girmodule.h:
	* tools/girnode.c:
	* tools/girnode.h:
	* tools/girparser.c:
	* tools/girparser.h:
	* tools/girwriter.c:
	* tools/girwriter.h:
	Move shared *.[ch] files to girepository from tools

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* tests/Makefile.am:
	* tests/array.test:
	* tests/boxed.test:
	* tests/constant.test:
	* tests/enum.test:
	* tests/errors.test:
	* tests/function.test:
	* tests/gobject.test:
	* tests/interface.test:
	* tests/object.test:
	* tests/struct.test:
	* tests/types.test:
	* tests/union.test:
	* tests/xref1.test:
	* tests/xref2.test:
	Rename *.test to *.gir

2008-08-09  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* tests/Makefile.am:
	* tests/parser/Foo-expected.gir:
	* tests/parser/Makefile.am:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c:
	* tests/parser/utility-expected.gir:
	* tests/parser/utility.c:
	* tests/parser/utility.h:
	* tests/scanner/Makefile.am:
	Rename tests/parser to test/scanner

2008-08-08  Colin Walters  <walters@verbum.org>

	* tests/roundtrips.sh: Use local .gir files again.

2008-08-08  Colin Walters  <walters@verbum.org>

	* tests/invoke/Makefile.am: .gir file depends on libtool
	library.

2008-08-08  Colin Walters  <walters@verbum.org>

	* tools/girnode.c: Pass through parent node so we can
	print the node whose child is NULL, if that occurs.

2008-08-08  Johan Dahlin  <johan@gnome.org>

	* tests/Makefile.am:
	Disable roundtrip tests which are not yet working
	* tests/invoke/testfns.gir:
	Rewrite as gir.

2008-08-08  Johan Dahlin  <johan@gnome.org>

	* giscanner/girwriter.py:
	type -> ntype
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	Swap order of members, to keep it consistent with
	base enum class

2008-08-08  Johan Dahlin  <johan@gnome.org>

	* girepository/gtypelib.c (validate_header):
	* girepository/gtypelib.h:
	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/sourcescanner.c (gi_source_symbol_ref),
	(gi_source_symbol_unref):
	* tests/array.test:
	* tests/boxed.test:
	* tests/constant.test:
	* tests/enum.test:
	* tests/errors.test:
	* tests/function.test:
	* tests/gobject.test:
	* tests/interface.test:
	* tests/invoke/Makefile.am:
	* tests/invoke/testfns.xml:
	* tests/object.test:
	* tests/parser/Makefile.am:
	* tests/roundtrips.sh:
	* tests/struct.test:
	* tests/types.test:
	* tests/union.test:
	* tests/xref1.test:
	* tests/xref2.test:
	* tools/Makefile.am:
	* tools/compiler.c (main):
	* tools/generate.c (write_callable_info), (write_function_info),
	(write_repository):
	* tools/gidlmodule.c:
	* tools/gidlmodule.h:
	* tools/gidlnode.c:
	* tools/gidlnode.h:
	* tools/gidlparser.c:
	* tools/gidlparser.h:
	* tools/gidlwriter.c:
	* tools/gidlwriter.h:
	* tools/scanner.c (create_node_from_gtype),
	(create_node_from_ctype), (g_igenerator_process_properties),
	(g_igenerator_process_signals), (g_igenerator_create_object),
	(g_igenerator_create_interface), (g_igenerator_create_boxed),
	(g_igenerator_create_enum), (g_igenerator_create_flags),
	(g_igenerator_process_function_symbol),
	(g_igenerator_process_unregistered_struct_typedef),
	(g_igenerator_process_struct_typedef),
	(g_igenerator_process_union_typedef),
	(g_igenerator_process_enum_typedef),
	(g_igenerator_process_function_typedef),
	(g_igenerator_process_constant), (g_igenerator_process_symbols),
	(g_igenerator_add_module), (g_igenerator_add_include_idl):
	Merge in the gir-compiler branch.
	Thanks to Philip and Colin for their help.

2008-07-26  Colin Walters  <walters@verbum.org>

	* tools/Makefile.am (bin_PROGRAMS): Install g-idl-compiler
	and g-idl-generate to go along with how we're changing this
	module to be installed.
	* gobject-introspection-1.0.pc.in: Set up Cflags and Libs.

2008-07-24  Colin Walters  <walters@verbum.org>

	* girepository/girepository.c (g_irepository_register): Add
	environment variable G_IREPOSITORY_VERBOSE so we can print
	out what we're doing.
	* girepository/girepository.c (g_irepository_register_file): 
	Add GError error message to g_debug call.

2008-07-08  Jürg Billeter  <j@bitron.ch>

	* giscanner/glibast.py:

	Fix typo

2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/girparser.py (GIRParser._parse_api): Ignore a few
	more tags

2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/transformer.py:
	* tests/parser/Foo-expected.gir:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c (foo_object_allow_none):
	Add support for gtk-doc annotations for allow-none.
	Add test case.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* tests/parser/Foo-expected.gir:
	Start using abstract type instead of the raw C types.
	Register a bunch of glib types we care about.

2008-06-19  Rob Taylor  <rob.taylor@codethink.co.uk>

	* AUTHORS:
	Update authors

2008-06-08  Philip Van Hoof  <pvanhoof@gnome.org>

	* girepository/girepository.c:
	* girepository/gtypelib.c:
	* girepository/ginfo.c:
	* girepository/ginvoke.c:
	* girepository/girepository.h:
	* girepository/gtypelib.h:
	* girepository/gmetadata.c:
	* girepository/Makefile.am:
	* girepository/gmetadata.h:
	* tools/compiler.c:
	* tools/gidlmodule.c:
	* tools/gidlnode.c
	* tools/generate.c:
	* tools/gidlmodule.h:
	* tools/gidlparser.c:

	Renamed GMetadata to GTypelib

2008-06-07  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/xmlwriter.py:
	Improve line wrapping when > 79 charaters

2008-06-05  Jürg Billeter  <j@bitron.ch>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/transformer.py:
	Use <type> element for field types
	* tests/parser/Foo-expected.gir:
	Update testcase

2008-06-04  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/glibtransformer.py:
	Fix a bug which prevented GdkEvent from being generated

2008-06-03  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/Makefile.am:
	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* giscanner/utils.py:
	* tests/parser/Foo-expected.gir:
	Improve enum member parsing and introspection

2008-05-31  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/scannerparser.y:
	* giscanner/sourcescanner.h:
	* giscanner/sourcescanner.py:
	Add a new source type enum for member.
	Use __repr__ for improved debugging
	* giscanner/girparser.py:
	Ignore some more
	* giscanner/transformer.py:
	Improve parsing of struct members.
	* tests/parser/foo-object.h:
	Add a new testcase

2008-05-31  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/xmlwriter.py:
	Improve error reporting when trying to quote None.
	* giscanner/girparser.py:
	Do not print warnings when including more complete .gir files
	* giscanner/girwriter.py:
	Do not require a name for parameters, add a todo for singletons
	* giscanner/glibtransformer.py:
	Refactor the way structs are done, add a couple of hacks to allow
	us to get further.
	* giscanner/transformer.py:
	Add enough hacks so cairo, atk and pango.gir can be parsed properly
	* gobject-introspection-1.0.pc.in:
	Export girdir, so we can access gobject-2.0.gir from outside

2008-05-31  Johan Dahlin  <jdahlin@async.com.br>

	* tools/g-ir-scanner:
	* tests/parser/Makefile.am:
	Update sys.path before running the parser so we don't have
	to setup PYTHONPATH ourselves.

	* Makefile.am:
	* configure.ac:
	* girepository/Makefile.am:
	* giscanner/transformer.py:
	* gobject-introspection-1.0.pc.in:
	* gobject-introspection.pc.in:
	* tools/Makefile.am:

	Rename pkg-config name to gobject-introspection-1.0,
	Do not installed anything which is not using the gir format.
	Disable compililation the old C scanner, but still keep the source
	until all the remaning functionallity has been ported.

2008-05-31  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/giscannermodule.c (symbol_get_ident): Prevent
	a crash when symbol->indent is NULL.

	* giscanner/sourcescanner.py (ctype_name): Add ctype_name,
	a function to convert a CTYPE symbol to a string

2008-05-24  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/giscannermodule.c
	(pygi_source_scanner_append_filename),
	(pygi_source_scanner_parse_file):
	* giscanner/glibtransformer.py:
	* giscanner/sourcescanner.py:
	Revert back to using temporary files to send in headers.
	Allow Functions to be passed in as callbacks, add a couple
	of try/excepts missing features.
	We can now scan pango

2008-05-08  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	Move namespace stripping glibtransformer->transformer

2008-05-08  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* tools/g-ir-scanner:
	Introduce a namespace ast node

2008-05-05  Johan Dahlin  <johan@gnome.org>

	* giscanner/__init__.py:
	* giscanner/sourcescanner.py:
	* giscanner/transformer.py:
	Move sourcescanner symbols to the sourcescanner module, instead
	of in the global __init__ namespace.

2008-05-03  Johan Dahlin  <johan@gnome.org>

	* giscanner/glibtransformer.py:
	* tools/g-ir-scanner:
	Handle missing parameters better, allow - and + in .la dlname
	filenames.

2008-05-03  Johan Dahlin  <johan@gnome.org>

	* giscanner/__init__.py:
	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	Parse struct fields properly, improve debugging.

2008-04-29  Johan Dahlin  <johan@gnome.org>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/transformer.py:
	* tests/parser/Foo-expected.gir:
	* TODO:
	Use transfer-ownership everywhere, to mark ownership/calle/caller etc.

2008-04-29  Johan Dahlin  <jdahlin@async.com.br>

	* Makefile.am:
	* docs/g-ir-scanner.1:
	* metadata-annotations-proposal.txt:
	* metadata-format.txt:
	Add a basic, unfinshed man page for g-ir-scanner, move documents into .txt

2008-04-29  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* giscanner/xmlwriter.py:
	* tests/parser/Foo-expected.gir:
	* tests/parser/foo-object.h:
	Write record/structs to gir file too. Add a couple of tests,
	fix an off by one error in xmlwriter.py.

2008-04-28  Johan Dahlin  <johan@gnome.org>

	* giscanner/xmlwriter.py: Calculate the line length properly,
	include the provided extra indentation in the calculation, really.

2008-04-28  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/ast.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	* tools/g-ir-scanner:
	Add a --strip-prefix and sort out confusion between names and symbols
	for functions and struct + derivaties.
	Refactor bootstrap of g-ir-scanner, so we can set options on
	Transformer() before parsing everything.

2008-04-28  Johan Dahlin  <johan@gnome.org>

	* giscanner/transformer.py (Transformer._traverse_one): Avoid recursion
	when scanning girepository.h

	* giscanner/sourcescanner.py (SourceScanner._preprocess): Define
	a __GI_SCANNER__ when we run.

2008-04-28  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* tests/parser/Foo-expected.gir:
	* tests/parser/utility-expected.gir:
	Rename most c:identifier to c:type. Add new ones to
	class/interface/enum/boxed.

2008-04-28  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/ast.py:
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* tests/parser/Foo-expected.gidl:
	* tests/parser/Makefile.am:
	Move c:identifier from return-value to subchild type,
	as per Jürgs suggestion

2008-04-28  Johan Dahlin  <johan@gnome.org>

	* giscanner/girwriter.py:
	* tests/parser/Foo-expected.gir:
	Write property.type as a child node.

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* configure.ac:
	* gidl/Makefile.am:
	* gidl/gobject-2.0.gidl:
	* gir/Makefile.am:
	* gir/gobject-2.0.gir:
	* tests/parser/Makefile.am:
	Replace the GObject gidl with a GObject gir.

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* tools/Makefile.am (bin_SCRIPTS): g-ir-scanner is a script,
	not a program.

	* giscanner/xmlwriter.py:
	* tests/parser/Foo-expected.gir:
	Include indentation in line length calculation

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* giscanner/girparser.py:
	Prettify NS parsing using elementtree.

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* giscanner/Makefile.am:
	* giscanner/girparser.py:
	* giscanner/glibtransformer.py:
	* tests/parser/Foo-expected.gidl:
	* tests/parser/Foo-expected.gir:
	* tests/parser/Makefile.am:
	* tests/parser/utility-expected.gidl:
	* tests/parser/utility-expected.gir:
	* tools/g-ir-scanner:
	Switch over to GIR as the default format. Add a simple GIDL
	parser.
	Update tests and fix simplify makefiles by depending
	on GNU make extensions.

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* giscanner/xmlwriter.py:
	Wrap attributes for lines which are wider than 79 characters

	* giscanner/scannerlexer.l:
	Allow parenthesis in annotations

	* giscanner/ast.py:
	* giscanner/gidlwriter.py:
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	Add initial sequence support, including annotation.
	Refactor type handling a bit.

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c (foo_object_class_init),
	(foo_object_get_strings), (foo_object_get_objects):
	Add two new functions to check sequence return values.
	Also fixes a compilation warning.

2008-04-27  Johan Dahlin  <johan@gnome.org>

	* giscanner/giscannermodule.c (]): Cast the getter, avoids
	a compilation warning.

	* tools/Makefile.am (g_ir_scanner_SOURCES):
	g-ir-scanner has no sources.

2008-04-25  Johan Dahlin  <johan@gnome.org>

	* giscanner/Makefile.am:
	* giscanner/ast.py:
	* giscanner/gidlparser.py:
	* giscanner/gidlwriter.py:
	* giscanner/girwriter.py:
	* giscanner/glibast.py:
	* giscanner/glibtransformer.py:
	* giscanner/transformer.py:
	Split out nodes to ast.py and glibast.py

2008-04-25  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/Makefile.am:
	* giscanner/gidlparser.py:
	* giscanner/gidlwriter.py:
	* giscanner/girwriter.py:
	* giscanner/glibtransformer.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/transformer.py:
	* giscanner/treebuilder.py:
	* tools/g-ir-scanner:
	Rename treebuilder to transformer and
	gobjectreebuilder to glibtransformer.

2008-04-25  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/Makefile.am:
	* giscanner/__init__.py:
	* giscanner/cgobject.py:
	* giscanner/gidlparser.py:
	* giscanner/gidlwriter.py:
	* giscanner/girwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/odict.py:
	* giscanner/sourcescanner.py:
	* giscanner/treebuilder.py:
	* giscanner/xmlwriter.py:
	* tools/Makefile.am:
	* tools/g-ir-scanner:
	Add LGPLv2 license header and install all python files

2008-04-25  Johan Dahlin  <jdahlin@async.com.br>

	* TODO:
	* giscanner/gidlwriter.py:
	* giscanner/giscannermodule.c (pygi_source_directive_new),
	(directive_get_options), (pygi_source_symbol_new),
	(symbol_get_base_type), (pygi_source_type_new),
	(type_get_base_type), (type_get_child_list),
	(pygi_source_scanner_get_symbols),
	(pygi_source_scanner_get_directives):
	* giscanner/gobjecttreebuilder.py:
	* giscanner/sourcescanner.py:
	* giscanner/treebuilder.py:
	* tests/parser/foo-object.h:
	Add support for virtual methods.
	Pair struct FooClass with struct Foo.
	Clean up the SourceScanner bindings a bit.
	Add a testcase for virtual methods.

2008-04-25  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/cgobject.py:
	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	Add support for signals

	* tests/parser/foo.c (foo_object_class_init):
	* Foo-expected.gidl:
	Add a signal and update the expected output.

2008-04-24  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/gidlwriter.py:
	* giscanner/girwriter.py:
	* giscanner/giscannermodule.c (directive_get_name),
	(directive_get_value), (directive_get_options),
	(symbol_get_directives), (symbol_set_directives),
	(pygi_source_scanner_parse_file),
	(pygi_source_scanner_lex_filename),
	(pygi_source_scanner_get_directives), (init_giscanner):
	* giscanner/sourcescanner.c (gi_source_scanner_get_directives):
	* giscanner/sourcescanner.h:
	* giscanner/sourcescanner.py:
	* giscanner/treebuilder.py:
	* tools/g-ir-scanner:
	Add support for source/header annotations.

2008-04-22  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/gidlwriter.py:
	* giscanner/girwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	Add support for Callbacks

2008-04-22  Havoc Pennington  <hp@pobox.com>

	* girepository/ginvoke.c (g_function_info_invoke): If a symbol is
	not in metadata->module, look for it in the global module, in case
	some other object or the app itself provides the symbol.

2008-04-22  Havoc Pennington  <hp@pobox.com>

	* girepository/gmetadata.c (_g_metadata_init): hack to avoid
 	dlopening a library that is already in the main app, by checking
	whether one of the lib's symbols is already loaded.

2008-04-22  Johan Dahlin  <jdahlin@async.com.br>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	Add a callback test

2008-04-22  Havoc Pennington  <hp@pobox.com>

	* girepository/ginfo.c (g_interface_info_find_method):
	Use interface_blob_size not object_blob_size to compute offset.

2008-04-22  Havoc Pennington  <hp@pobox.com>

	* girepository/gmetadata.c (_g_metadata_init): remove
	G_MODULE_BIND_LOCAL flag when loading libraries, since some libs
	(Glade and Clutter for example) rely on being loaded globally.

2008-04-22  Havoc Pennington  <hp@pobox.com>

 	* girepository/ginfo.c (g_registered_type_info_get_g_type): new
	function to get the GType given a RegisteredTypeInfo

2008-04-22  Johan Dahlin  <johan@gnome.org>

	* COPYING: Add a LGPL license, to prevent automake to
	put in a copy of GPL here. Pointed out by Havoc.

	* girepository/ginfo.c (g_info_from_entry), (g_type_info_new),
	(g_type_info_is_pointer), (g_type_info_get_tag),
	(g_type_info_get_param_type), (g_type_info_get_interface),
	(g_type_info_get_array_length), (g_type_info_is_zero_terminated),
	(g_type_info_get_n_error_domains), (g_type_info_get_error_domain),
	(g_error_domain_info_get_codes), (g_enum_info_get_value),
	(g_object_info_get_interface), (g_object_info_get_field),
	(g_interface_info_get_prerequisite),
	(g_signal_info_get_class_closure), (g_constant_info_get_value):
	* girepository/ginvoke.c (get_ffi_type):
	* girepository/girepository.h:
	* girepository/gmetadata.c (g_metadata_get_dir_entry),
	(g_metadata_check_sanity), (validate_header),
	(validate_array_type_blob), (validate_iface_type_blob),
	(validate_param_type_blob), (validate_error_type_blob),
	(validate_type_blob), (validate_constant_blob),
	(validate_struct_blob), (validate_enum_blob):
	* girepository/gmetadata.h:
	* tests/Makefile.am:
	* tests/invoke/Makefile.am:
	* tests/invoke/invoke.c (main):
	* tests/roundtrips.sh:
	* tools/Makefile.am:
	* tools/compiler.c (format_output), (write_out_metadata), (main):
	* tools/generate.c (write_type_name), (write_type_info),
	(write_constant_value), (write_enum_info), (load_metadata), (main):
	* tools/gidlcompilercontext.c:
	* tools/gidlcompilercontext.h:
	* tools/gidlcompilerentrynode.c:
	* tools/gidlcompilerentrynode.h:
	* tools/gidlcompilertypenode.c:
	* tools/gidlcompilertypenode.h:
	* tools/gidlmodule.c (g_idl_module_build_metadata):
	* tools/gidlmodule.h:
	* tools/gidlnode.c (init_stats), (dump_stats),
	(g_idl_node_get_size), (g_idl_node_get_full_size),
	(g_idl_node_cmp), (g_idl_node_can_have_member),
	(g_idl_node_add_member), (g_idl_node_param_direction_string),
	(parse_int_value), (parse_uint_value), (parse_float_value),
	(parse_boolean_value), (find_entry_node), (find_entry),
	(serialize_type), (g_idl_node_build_metadata), (write_string):
	* tools/gidlnode.h:
	* tools/gidlparser.c (parse_type_internal):
	* tools/quote-file.sh:
	Revert revisions 157,149-148,136-129 and 120.
	Move back to using g-idl-generate to generate the metadata and
	avoids dependency on a c compiler.

2008-04-22  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/girwriter.py:
	* tools/g-ir-scanner:
	Add an initial GIR writer and a --format option to g-ir-scanner

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/cgobject.py: Use ctypes.util.find_library to locate
	gobject-2.0 and raise ImportError if not found.

	* giscanner/gidlparser.py:
	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* tools/g-ir-scanner:
	Add a --include argument to include types from other idls.
	Add a minimalistic GIDL parser (just objects for now)
	Implement resolving of external type references and use it to
	resolve parent types, argument types and return types.

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	Add support for properties.
	Refactor Class/Interface support a bit, to share more code and
	always initialize their method attribute to an empty list.

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/cgobject.py:
	Add a workaround for a glib bug interface introspection bug
	(object_interface_list_properties, object_class_list_properties):
	Cast the return value to GParamSpec.

	* tests/parser/Foo-expected.gidl: Update
	* tests/parser/foo.c: Add a string property

	* giscanner/gobjecttreebuilder.py:
	After stripping namespaces, remove the original
	item to avoid duplication (GtkButton struct and Button object)

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	Strip namespaces before objects, so we'll export
	GtkButton as Button in the gtk namespace

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	Add constructors for object/boxed types.

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	Add support for boxed types

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/giscannermodule.c: Mark structures as const,
	wrap SourceType.const_string.

	* tests/parser/foo-object.h: Add a couple of constants.

	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	Add basic support for interfaces

	* tools/g-ir-scanner:
	Add -o/--output for writing to a file

2008-04-21  Havoc Pennington  <hp@redhat.com>

	* TODO: add some C API wishlist items I could think of quickly

2008-04-21  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/gidlwriter.py:
	* giscanner/xmlwriter.py:
	Add a simple api for writing tags which can be used 
	with the new 'with statement' in python 2.5

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* giscanner/gobjecttreebuilder.py:
	Strip namespace and object prefix from method names.

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* tools/g-ir-scanner (main): Add --pkg option to pass in
	pkg-config modules to get cflags from.

	* giscanner/gidlwriter.py (GIDLWriter._write_method): 
	Avoid duplication, reuse function writer for methods.

2008-04-21  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	* tools/g-ir-scanner:
	Resolve libtool .la files.
	Strip name spaces for methods.
	Add function symbols

2008-04-20  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/cgobject.py:
	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/treebuilder.py:
	Add support for classes and methods

2008-04-20  Johan Dahlin  <johan@gnome.org>

	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* giscanner/odict.py:
	Avoid conflicts, keep the output ordered similar to
	the order of the input.
	Add a simple ordered dictionary implemenation

2008-04-19  Johan Dahlin  <johan@gnome.org>

	* giscanner/cgobject.py:
	* giscanner/gidlwriter.py:
	* giscanner/gobjecttreebuilder.py:
	* tools/g-ir-scanner:
	Start introspecting get-type functions.
	Implement support for GLib/GFlags GTypes.
	Add a ctype based GObject binding.

2008-04-18  Johan Dahlin  <jdahlin@async.com.br>

	* giscanner/gidlwriter.py:
	* giscanner/xmlwriter.py:
	* tools/g-ir-scanner:
	Add a simplistic gidl writer, which can't do too much.

2008-04-18  Johan Dahlin  <johan@gnome.org>

	* giscanner/sourcescanner.py:
	* giscanner/treebuilder.py:
	* tools/g-ir-scanner:
	split tree building and source scanning interface to separate files.

2008-04-18  Johan Dahlin  <johan@gnome.org>

	* tools/g-ir-scanner (Parameter.__init__): Start constructing
	a real node tree.
	- Add support for struct/parameter/return, start parsing of ctypes

	* giscanner/giscannermodule.c: wrap GISourceType.child_list and
	fix the style

2008-03-31  Johan Dahlin  <johan@gnome.org>

	* tools/g-ir-scanner:
	Start to build abstract syntax node of scanned sources.
	Add support for cpp options.

2008-03-27  Johan Dahlin  <johan@gnome.org>

	* giscanner/giscannermodule.c:
	* giscanner/scannerlexer.l:
	* giscanner/sourcescanner.c:
	* tools/g-ir-scanner:

	Add simple pre-processor using subprocess and a PIPE.
	Change the parse_file apis to accept a file descriptor.

2008-03-25  Johan Dahlin  <johan@gnome.org>

	* giscanner/__init__.py:
	* tools/g-ir-scanner:
	Fix a typo and add an example python test program.

2008-03-25  Johan Dahlin  <johan@gnome.org>
	
	* giscanner/__init__.py:
	* giscanner/giscannermodule.c:
	* giscanner/sourcescanner.c:
	* giscanner/sourcescanner.h:
	Add constants and wrap a few more SymbolType fields

2008-03-25  Johan Dahlin  <johan@gnome.org>
	
	* configure.ac:
	* giscanner:
	* giscanner/__init__.py:
	* giscanner/giscannermodule.c:
	* giscanner/Makefile.am:

	Add initial python bindings for the scanner and 
	depend on python 2.5.

2008-03-25  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* configure.ac:
	* giscanner/Makefile.am:
	* giscanner/sourcescanner.c:
	* giscanner/sourcescanner.h:
	* tools/Makefile.am:
	* tools/grealpath.h:
	* tools/sourcescanner.c:
	* tools/sourcescanner.h:

	Move the scanner to a separate library.
	
2008-03-23  Johan Dahlin  <johan@gnome.org>

	* tools/Makefile.am:
	* tools/scanner.c:
	* tools/scanner.h:
	* tools/scannerlexer.l:
	* tools/scannerparser.y:
	* tools/sourcescanner.c:
	* tools/sourcescanner.h:
	Split out the source scanner from the generator.
	Rename the symbols used in the scanner to use the gi_ prefix.
	This should make it possible to use the raw C parser from
	other programs.

2008-03-23  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Makefile.am (utility.gidl): 
	* tests/parser/utility-expected.gidl: 
	Pass in the gobject.gidl since we're defining a GObject.

2008-03-12  Johan Dahlin  <johan@gnome.org>

	* relaxng/relaxng.rng:
	Add a releaxng in relaxng we can use to validate the relaxngs
	schemas

2008-03-12  Jürg Billeter  <j@bitron.ch>

	* tools/scanner.c: (g_igenerator_new):
	* tools/scannerparser.y:
	Fix compiler warnings.

2008-03-12  Jürg Billeter  <j@bitron.ch>

	* tools/scanner.c:
	* tools/scanner.h:
	* tools/scannerparser.y:
	Start fixing memory management in g-idl-scanner.

2008-03-12  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/gidlcompilercontext.c: (write_compiled):
	Fix critical warning when no shlib passed to g-idl-compiler.

2008-03-12  Johan Dahlin  <johan@gnome.org>

	* tests/parser/utility-expected.gidl:
	* tests/parser/utility.h:
	Add a get_type-function, so the scanner actually
	parses it as an object.
	
2008-03-12  Johan Dahlin  <johan@gnome.org>

	* tools/gidlwriter.c (function_generate): Add missing trailing quote.
	Bad Philip!

	* tests/parser/Foo-expected.gidl:
	* tests/parser/Makefile.am:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c:
	* tests/parser/utility-expected.gidl:
	* tests/parser/utility.c:
	* tests/parser/utility.h:

	Add a new gidl test. 'utility.gidl', which is used to be able
	to test external type references. Add a reference to UtilityObject*
	in the idl file.

2008-03-11  Johan Dahlin  <johan@gnome.org>

	* tools/compiler.c:
	* tools/generate.c:
	Remove most global variables

2008-03-11  Philip Van Hoof  <me@pvanhoof.be>
 
 	* tools/scannerlexer.l:
 	* tools/scanner.c:
 	* tests/parser/Foo-expected.gidl:
 	* tests/parser/foo.c:
 	* tests/parser/Makefile.am:
 	* tests/parser/foo-object.h:
 
 	Added a few extra tests. Which resulted in finding a few
 	bugs. Which resulted in me fixing those bugs

2008-03-11  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/gidlcompilercontext.c: (g_idl_compiler_write_dir_entry),
	(g_idl_compiler_write_xref_entry), (g_idl_compiler_add_xref):
	Add some comments for strings into generated output for
	easier debugging.

2008-03-11  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/gidlcompilercontext.c: (write_compiled):
	Write out the shlibs variable before writing out the strings
	length. Fixes compiler warning when using '-l' flag with
	g-idl-compiler

2008-03-11  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tools/scanner.c:
	* tools/scanner.h:
	* tools/scannerlexer.l:
	Add support for parsing return arguments. Add support for
	caller-owns return types.
	Patch by Philip Van Hoof.
	
	* tools/scannerparser.y:
	Remove parsing of the @deprecated syntax used in headers.
	We will support gtk-doc deprecation in the future instead.

2008-03-11  Johan Dahlin  <johan@gnome.org>

	* tools/compiler.c (main): Coding style fixes

2008-03-10  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Add GCOV_LIBS to GILIBS

2008-03-10  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo.c:
	Rename null-ok to direction=out

2008-03-10  Philip Van Hoof  <me@pvanhoof.be>

	reviewed and extensively tested by Johan

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c:
	* tools/gidlnode.c:
	* tools/gidlnode.h:
	* tools/gidlwriter.c:
	* tools/scanner.c:
	* tools/scanner.h:
	* tools/scannerlexer.l:
	* tools/scannerparser.y:

	Add support for scanning for gtk-doc comments inside
	C source files. Add tests

2008-03-10  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Makefile.am:
	* tests/parser/foo.c:
	* tools/scanner.c:
	* tools/scanner.h:
	* tools/scannerparser.y:
	Add an api to lex filenames.
	Lex all source .c files passed in on the command line.
	Scan sources in a test and a couple of private structures
	which should not be included in the generated gidl

2008-03-10  Johan Dahlin  <johan@gnome.org>

	* tests/invoke/Makefile.am: Make the generated metadata 
	depend on the g-idl-compiler

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	* tools/gidlmodule.c
	* tools/gidlmodule.h
	* tools/gidlnode.c
	* tools/gidlnode.h
	Remove the old g-idl-compiler code.


2008-02-22  Mark Doffman  <mark.doffman@codethink.co.uk>

	* tools/quote-file.sh
	* tools/compiler.c
	* tools/generate.c
	Move to using the 'C' struct compiler code.

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	* girepository/ginfo.c
	* tools/generate.c
	Change the way that external references with no namespace
	are dealt with. External references with no namespace
	are placed into the XML as-if they are a local reference.
	This is temporary, but helps with roundtrip tests.

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	* girepository/ginfo.c
	Add the ability to get the value of a constant of
	type TYPE_TAG_SYMBOL. In the case of a symbol the value
	is provided as a string.

	This would deal properly with:
	typedef char* random;
	const random = "A string";

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	* girepository/ginfo.c
	* girepository/girepository.h
	* tools/generate.c
	Add a function to check if an enum is registered or not.
	Previously anything testing this relied on the g-type
	string offset having a value of 0.

	* girepository/gmetadata.c
	* girepository/gmetadata.h
	* tools/generate.c
	Remove unneccesary or erroneous checks. There were two
	metadata validation checks which made sure that the blob
	sizes were the same as some magic numbers compiled into the code.
	This is wrong as it breaks any forwards compatibility that may
	be possible.

	Checks were also present that made sure that unregistered type
	blobs had a value of 0 in the g-type offset field. This is
	unneccessary. If a type blob is unregistered then any value
	in its g-type field is simply invalid.

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

        * girepository/ginfo.c
        * girepository/gmetadata.c
        * girepository/gmetadata.h

          Change the metadata format to have a standard header
          for all the type blobs. Merge the SimpleTypeBlob
          and InterfaceTypeBlob into a union. A union of these
          two blobs existed previously but was not explicit
          in the metadata format.

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	* tools/gidlcompilercontext.c
	* tools/gidlcompilercontext.h
	* tools/gidlcompilerentrynode.c
	* tools/gidlcompilerentrynode.h
	* tools/gidlcompilertypenode.c
	* tools/gidlcompilertypenode.h

	Add code to compile a tree of GIdlNodes to
	a 'C' struct representing the metadata.
	This is to aid cross-compiling. Previously
	the g-idl-compiler created a binary blob with
	data written in the byte order and alignment
	of the tool rather than the intended target.

	Cleaned up and improved by Johan and Robert :-)

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	* girepository/ginvoke.c
	* girepository/girepository.h
	* girepository/gmetadata.c
	* girepository/gmetadata.h
	* tools/generate.c
	* tools/gidlparser.c
	Modify TYPE_TAG_INTERFACE to TYPE_TAG_SYMBOL
	to avoid confusion with the interface blob.

	* tools/generate.c
	* tools/gidlparser.c
	Remove magic numbers and replace with type-tag
	enumeration symbols.

	* girepository/gmetadata.c
	Add validate declaration.

2008-03-10  Jürg Billeter  <j@bitron.ch>

	* tools/gidlparser.c: (parse_type_internal):
	* tools/scannerlexer.l:
	* tools/scannerparser.y:
	Support C99 _Bool type in scanner.

2008-03-10  Jürg Billeter  <j@bitron.ch>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c: (foo_enum_method):
	* tools/scanner.c: (g_igenerator_process_function_symbol):
	Don't skip functions that are defined in the namespace of a type
	that doesn't support methods, as for example enums.

2008-03-10  Johan Dahlin  <johan@gnome.org>

	* gidl.dtd: Remove, we're using relaxng for now

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c:
	Rename the enum/flags get_type functions to include the whole type.

2008-03-08  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

	* tools/gidlwriter.c (enum_generate): added "type-name",
	"get-type" and "deprecated" missing arguments.
	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h: test enum type, and no type.

2008-03-06  Johan Dahlin  <jdahlin@async.com.br>

	* configure.ac:
	Consistent checks, add missing 'test'

2008-03-05  Havoc Pennington  <hp@redhat.com>

	* configure.ac: Take advantage of a libffi.pc if one exists, as it
	does on Fedora 8. Make libffi a hard requirement, since it was in
	practice anyway (was not really conditional in the code or
	makefile, only in configure).

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

	reviewed by: Rob Taylor  <rob.taylor@codethink.co.uk>
	reviewed by: Johan Dahlin  <johan@gnome.org>

	* tests/Makefile.am:
	* tests/roundtrips.sh:
	Modify the roundtrips test so that they do not use the
	--raw option of the gidl compiler but instead compile a
	shared library to use with g_module.

	* tests/invoke/Makefile.am:
	* tests/invoke/invoke.c:
	Modify the invoke tests to build a shared library rather
	than use the --raw option.

	* tests/invoke/invoke-namespace-find.sh: Removed:
	Noone knows why this was here, so removed.

2008-02-19  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/scanner.c: (g_igenerator_process_function_symbol):
	Move g_idl_node_can_have_member test later, as it broke spotting
	get_type's for nodes that can't have members.

2008-02-18  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/gidlnode.h:
	* tools/gidlnode.c: (g_idl_node_can_have_member):
	Add g_idl_node_can_have_member.

	* tools/scanner.c: (g_igenerator_process_function_symbol):
	Use g_idl_node_can_have_member to test if we should add a function
	as a member of the type node.

2008-02-18  Rob Taylor  <rob.taylor@codethink.co.uk>

	* gidl/GLib.gidl: Renamed to gidl/gobject-2.0.gidl:
	* gidl/Makefile.am:
	* tests/parser/Makefile.am:
	Rename GLib.gidl to gobject-2.0.gidl and install in /usr/share/gidl.

2008-02-18  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/scanner.c: (main):
	Ignore -pthread when passed to g-idl-scanner.

2008-02-18  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tools/grealpath.h: Added:
	* tools/scanner.c: (main):
	* tools/scannerlexer.l:
	* tools/Makefile.am:
	Always use absolute paths with symbolic links resolved when
	comparing filenames.

2008-02-18  Rob Taylor  <rob.taylor@codethink.co.uk>

	* gobject-introspection.pc.in:
	Provide variables for g-idl-parser, scanner and compiler in the
	pkgconfig file.

2008-02-13  Rob Taylor  <rob.taylor@codethink.co.uk>

	* gcov.mak:
	* girepository/Makefile.am:
	* tools/Makefile.am:
	Rename GCOV_SOURCES to GCOVSOURCES to top automake complaining.

2008-02-10  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c: (foo_boxed_copy), (foo_boxed_free),
	(foo_boxed_get_type), (foo_boxed_new), (foo_boxed_method):
	Add boxed test.

2008-02-10  Johan Dahlin  <johan@gnome.org>

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c: (foo_enum_get_type), (foo_flags_get_type):
	Add enum and flags test.

2008-02-10  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* configure.ac:
	* girepository/Makefile.am:
	Make 'make distcheck' work again.

2008-02-10  Johan Dahlin  <johan@gnome.org>

	* m4/Makefile.am (EXTRA_DIST): its called as-compiler-flag.m4,
	not as-compiler.m4.

	* tests/parser/Makefile.am: Only create Foo.gidl when running make
	check, eg exclude it from BUILT_SOURCES.

2008-02-08  Rob Taylor  <rob.taylor@codethink.co.uk>

	* Makefile.am:
	* configure.ac:
	* gcov.mak: Added:
	* girepository/Makefile.am:
	* m4/Makefile.am: Added:
	* m4/as-compiler-flag.m4: Added:
	* m4/gcov.m4: Added:
	* tools/Makefile.am:
	Add ability to generate a coverage report.
	Adds configure option --enable-gcov and make rule 'check-coverage'.

2008-02-08  Rob Taylor  <rob.taylor@codethink.co.uk>

	* Makefile.am:
	* configure.ac:
	* gidl/Makefile.am: Added:
	* girepository/Makefile.am: Added:
	* src/Makefile.am: Renamed to tools/Makefile.am:
	* src/compiler.c: Renamed to tools/compiler.c:
	* src/g-idl-offsets.pl: Renamed to tools/g-idl-offsets.pl:
	* src/generate.c: Renamed to tools/generate.c:
	* src/gidlmodule.c: Renamed to tools/gidlmodule.c:
	* src/gidlmodule.h: Renamed to tools/gidlmodule.h:
	* src/gidlnode.c: Renamed to tools/gidlnode.c:
	* src/gidlnode.h: Renamed to tools/gidlnode.h:
	* src/gidlparser.c: Renamed to tools/gidlparser.c:
	* src/gidlparser.h: Renamed to tools/gidlparser.h:
	* src/gidlwriter.c: Renamed to tools/gidlwriter.c:
	* src/gidlwriter.h: Renamed to tools/gidlwriter.h:
	* src/ginfo.c: Renamed to girepository/ginfo.c:
	* src/ginvoke.c: Renamed to girepository/ginvoke.c:
	* src/girepository.c: Renamed to girepository/girepository.c:
	* src/girepository.h: Renamed to girepository/girepository.h:
	* src/gmetadata.c: Renamed to girepository/gmetadata.c:
	* src/gmetadata.h: Renamed to girepository/gmetadata.h:
	* src/scanner.c: Renamed to tools/scanner.c:
	* src/scanner.h: Renamed to tools/scanner.h:
	* src/scannerlexer.l: Renamed to tools/scannerlexer.l:
	* src/scannerparser.y: Renamed to tools/scannerparser.y:
	* tests/invoke/Makefile.am:
	Split src/ into girepository/ and tools/

	* Makefile.am:
	* configure.ac:
	* girepository/Makefile.am:
	* tests/Makefile.am:
	* tests/invoke/Makefile.am:
	* tests/parser/Makefile.am:
	* tests/roundtrips.sh:
	* tools/Makefile.am:
	Make distcheck work.

2008-02-04  Rob Taylor  <rob.taylor@codethink.co.uk>

	* tests/invoke/invoke.c: (main):
	* tests/invoke/testfns.c: (test6), (test7):
	* tests/invoke/testfns.xml:
	Add tests for invokation with a GList argument.
	Also tests caller-owns return values.

2008-02-04  Rob Taylor  <robtaylor@floopily.org>

	* src/ginfo.c:
	Add some documentation for GICallableInfo

2008-02-01  Mark Doffman  <mark.doffman@codethink.co.uk>

	* gidl.dtd:
	Correct syntax errors in the DTD file.
	* relaxng/api.xml:
	* relaxng/c-types.xml:
	* relaxng/g-types.xml:
	* relaxng/util.xml:
	Add a RelaxNG specification for the GObject Introspection XML data.
	The Specification has validated all of the test files.

2008-01-25  Rob Taylor  <robtaylor@floopily.org>

	* tests/roundtrips.sh:
	* tests/struct.test:
	Add roundtrip tests for structs.

2008-01-11  Johan Dahlin  <johan@gnome.org>

	* src/scanner.c (g_igenerator_process_function_symbol):
	Refactor out g_idle_node_add_member.
	(create_node_from_gtype, create_node_from_ctype):
	Use case instead of if...else
	(get_type_from_type_id):
	Rename to create_node_from_gtype
	(get_type_from_ctype):
	Rename to create_node_from_ctype

	Rename ginode -> node, gitype -> type, gifunc -> func.

	* src/gidlnode.c (g_idl_node_add_member, g_idl_node_cmp):
	Two new functions, refactor out of scanner.c

	* src/scanner.c: (g_igenerator_process_function_symbol):
	* src/scannerlexer.l:
	Do not save the content of the deprecated variable, only
	if it's set or not.

2008-01-11  Johan Dahlin  <johan@gnome.org>

	* tests/parser/foo-object.h: Add a couple of comment parser tests.

2008-01-11  Jürg Billeter  <j@bitron.ch>

	* src/scannerlexer.l:
	Fix GTK-Doc parsing.

2008-01-11  Jürg Billeter  <j@bitron.ch>

	* src/scannerlexer.l:
	Fix GTK-Doc parsing.

2008-01-11  Jürg Billeter  <j@bitron.ch>

	* src/scanner.c: (lookup_symbol):
	Return unresolved name if we find unknown symbol.

2008-01-11  Jürg Billeter  <j@bitron.ch>

	* src/scanner.c: (g_igenerator_generate):
	Initialize GObject to fix scanning interface properties.

	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c: (foo_interface_get_type):
	Test interfaces with GObject prerequisite.

	* tests/parser/Makefile.am:
	Set G_DEBUG=fatal_warnings to abort test on warnings and criticals.

2007-12-27  Johan Dahlin  <johan@gnome.org>

	* src/scannerlexer.l:
	Parse gtk-doc comments.

	* src/gidlwriter.c: (function_generate):
	Reorganize, avoid duplication and add support for
	writing deprecated functions.

	* src/scannerparser.y:
	* src/scanner.h:
	Add new structure CDirective and functions to create/free them.

	* src/scanner.c: (g_igenerator_process_function_symbol),
	(g_igenerator_process_unregistered_struct_typedef),
	(g_igenerator_process_struct_typedef),
	(g_igenerator_process_union_typedef),
	(g_igenerator_process_enum_typedef),
	(g_igenerator_process_function_typedef), (g_igenerator_add_symbol),
	(g_igenerator_start_preprocessor):
	Parse @deprecated directive for functions.
	Remove some more C99isms.
	Send in -C to cpp to avoid stripping comments.

	* tests/parser/foo-object.h:
	* tests/parser/Foo-expected.gidl:
	Add deprecated directive

2007-12-27  Johan Dahlin  <johan@gnome.org>

	* src/scannerlexer.l (intsuffix): Add emacs mode line and
	escape ' and " so it looks more like C.

	* src/scanner.c:
	Unlink temporary file used.

2007-12-27  Johan Dahlin  <johan@gnome.org>

	* src/scanner.c: (g_igenerator_new), (g_igenerator_free),
	(g_igenerator_start_preprocessor), (main):
	* src/scanner.h:
	* src/scannerparser.y:
	Plug a couple of simple memory leaks.

2007-12-27  Johan Dahlin  <johan@gnome.org>

	* src/scanner.c: (g_igenerator_parse_macros),
	(g_igenerator_start_preprocessor), (g_igenerator_set_verbose),
	(main):
	* src/scanner.h:
	* src/scannerparser.y:
	* tests/parser/Makefile.am:

	Improve error reporting, return when the preprocessor fails.
	Add a verbose parameter, to aid debugging.
	Revert to using a temporary file to communicate between the
	preprocessor and the parser, because we need to wait for
	the exit code from the pre-processor before starting to parse.

2007-12-16  Johan Dahlin  <jdahlin@async.com.br>

	* src/Makefile.am: Rename clexer.l to scannerlexer.l and
	cparser.y to scannerparser.y

2007-12-11  Johan Dahlin  <johan@gnome.org>

	* src/clexer.l:
	* src/cparser.y:
	* src/scanner.c: (g_igenerator_new):
	* src/scanner.h:
	Get rid of the global the_generator variable.

2007-12-10  Johan Dahlin  <johan@gnome.org>

	* src/scanner.c (main): Add an output option,
	add checks for required parameters

	* src/Makefile.am:
	set BUILD_SOURCES and CLEANFILES properly

	* src/gidlwriter.c: (g_writer_write_inline), (g_writer_write),
	(g_writer_write_indent), (g_writer_write_unindent),
	(field_generate), (value_generate), (constant_generate),
	(property_generate), (function_generate), (vfunc_generate),
	(signal_generate), (interface_generate), (struct_generate),
	(union_generate), (boxed_generate), (enum_generate),
	(node_generate), (g_writer_write_module), (g_idl_writer_save_file):
	* src/gidlwriter.h:
	* src/scanner.c: (g_igenerator_generate):
	* src/scanner.h:
	* src/scannerwriter.c:

	Refactor scannerwriter to only be tied to a GIdlModule and move
	it (again!) to gidlwriter.c. Change the writer function to take
	a filename.

2007-12-10  Johan Dahlin  <johan@gnome.org>

	* src/Makefile.am:
	* src/scanner.c: (g_igenerator_generate):
	* src/scanner.h:
	* src/scannerwriter.c: (g_igenerator_write_inline),
	(g_igenerator_write), (g_igenerator_write_indent),
	(g_igenerator_write_unindent), (field_generate), (value_generate),
	(constant_generate), (property_generate), (function_generate),
	(vfunc_generate), (signal_generate), (interface_generate),
	(struct_generate), (union_generate), (boxed_generate),
	(enum_generate), (node_generate), (module_generate),
	(g_scanner_write_file):

	Move the scanner gidl writing to a separate source file.

2007-12-10  Johan Dahlin  <johan@gnome.org>

	* src/cparser.y:
	* src/scanner.c:
	* src/scanner.h:
	Move over all CType construction functions.

	* tests/parser/Makefile.am:
	Be verbose when printing parsing tests results.

2007-12-10  Johan Dahlin  <johan@gnome.org>

	* src/scanner.c (g_igenerator_start_preprocessor): Refactor
	preprocessor handling to here. Start cpp insteado of cc -E,
	always include -U__GNUC__, since it's specific to the preprocessor
	we use.

	* tests/parser/Makefile.am (check-local): Silent diff and skip
	-U__GNUC__ which is always defined now

2007-12-10  Johan Dahlin,,,  <jdahlin@plasttroll>

	reviewed by: <delete if not using a buddy>

	* src/scanner.c: (g_igenerator_start_preprocessor), (main):
	* tests/parser/Makefile.am:

2007-12-09  Johan Dahlin  <johan@gnome.org>

	* src/scanner.c:
	Use GOption for command line options.
	(g_igenerator_new, main): Simplify constructor and they way
	parameters are passed into it.

	* src/cparser.y:
	* src/Makefile.am:
	* src/clexer.l:
	* src/cparser.y:
	* src/gen-introspect.c:
	* src/gen-introspect.h:
	* src/scanner.c:
	Rename gen-introspect.[ch] to scanner.[ch]

2007-12-09  Johan Dahlin  <johan@gnome.org>

	* TODO: Update

	* src/Makefile.am: Rename gen-introspect to g-idl-scanner,
	don't make the repository library and the other utilites link against
	gthread-2.0

	* src/gen-introspect.c: (g_igenerator_create_object),
	(g_igenerator_create_interface), (g_igenerator_create_boxed),
	(g_igenerator_create_enum), (g_igenerator_create_flags),
	(g_igenerator_process_module_symbol),
	(g_igenerator_process_module), (g_igenerator_generate), (main):
	* src/gen-introspect.h:
	Refactor g_igenerator_process_types into smaller pieces.

	* tests/parser/Makefile.am:
	Depend on the gen-introspect binary

2007-12-09  Johan Dahlin  <johan@gnome.org>

	* src/gen-introspect.c (g_igenerator_process_types):
	Break into smaller pieces, one for each generated node type.

2007-12-08  Johan Dahlin  <johan@gnome.org>

	* src/gen-introspect.c: (g_igenerator_process_types),
	(g_igenerator_add_module):
	* tests/parser/Foo-expected.gidl:
	* tests/parser/foo-object.h:
	* tests/parser/foo.c: (foo_subobject_class_init),
	(foo_subobject_init):

	Add a subobject test and make sure to register defined classes
	in the lookup symbol hash table.

2007-12-08  Johan Dahlin  <johan@gnome.org>

	* gidl/GLib.gidl:
	* src/Makefile.am:
	* src/gen-introspect.c: (g_igenerator_new), (lookup_symbol),
	(g_igenerator_process_types), (g_igenerator_add_module),
	(g_igenerator_add_include_idl), (main):
	* src/gen-introspect.h:
	* tests/parser/Makefile.am:
	* tests/parser/Foo-expected.gidl:

	Change the gen-introspect to generate namespaced module names,
	such as GLib.Object instead of GObject.
	Add a GLib.gidl which introduces GLib.Object and GLib.InitiallyUnowned,
	add a --include-idl parameter to gen-introspect,
	and update the parser test.

2007-12-08  Johan Dahlin  <johan@gnome.org>

	* src/gen-introspect.c:
	Move main to the end of the file and attempt to make it valid
	ansi c.

	* tests/parser/Makefile.am (BUILT_SOURCES): Remove .repo here,
	we're not quite ready to generate metadata yet.

	* tests/parser/:
	* configure.ac:

	Add a simple gen-introspect parser test

2007-12-06  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	reviewed by: Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* gobject-introspection.pc.in:
	* src/Makefile.am:
	* src/compiler.c: (format_output), (write_out_metadata), (main):
	* src/gen-introspect.c: (main):
	* src/gen-introspect.h:
	* src/generate.c: (write_callable_info), (write_repository),
	(load_metadata), (main):
	* src/gidlmodule.c: (g_idl_module_new),
	(g_idl_module_build_metadata):
	* src/gidlmodule.h:
	* src/gidlparser.c: (start_element_handler):
	* src/ginfo.c: (g_info_new), (g_info_from_entry),
	(g_base_info_get_name), (g_base_info_get_namespace),
	(g_base_info_is_deprecated), (g_base_info_get_annotation),
	(g_base_info_get_metadata), (g_function_info_get_symbol),
	(g_function_info_get_flags), (g_function_info_get_property),
	(g_function_info_get_vfunc), (signature_offset), (g_type_info_new),
	(g_callable_info_may_return_null),
	(g_callable_info_get_caller_owns), (g_callable_info_get_n_args),
	(g_callable_info_get_arg), (g_arg_info_get_direction),
	(g_arg_info_is_return_value), (g_arg_info_is_dipper),
	(g_arg_info_is_optional), (g_arg_info_may_be_null),
	(g_arg_info_get_ownership_transfer), (g_type_info_is_pointer),
	(g_type_info_get_tag), (g_type_info_get_param_type),
	(g_type_info_get_interface), (g_type_info_get_array_length),
	(g_type_info_is_zero_terminated),
	(g_type_info_get_n_error_domains), (g_type_info_get_error_domain),
	(g_error_domain_info_get_quark), (g_error_domain_info_get_codes),
	(g_value_info_get_value), (g_field_info_get_flags),
	(g_field_info_get_size), (g_field_info_get_offset),
	(g_registered_type_info_get_type_name),
	(g_registered_type_info_get_type_init),
	(g_struct_info_get_n_fields), (g_struct_info_get_field),
	(g_struct_info_get_n_methods), (g_struct_info_get_method),
	(find_method), (g_struct_info_find_method),
	(g_enum_info_get_n_values), (g_enum_info_get_value),
	(g_object_info_get_parent), (g_object_info_get_type_name),
	(g_object_info_get_type_init), (g_object_info_get_n_interfaces),
	(g_object_info_get_interface), (g_object_info_get_n_fields),
	(g_object_info_get_field), (g_object_info_get_n_properties),
	(g_object_info_get_property), (g_object_info_get_n_methods),
	(g_object_info_get_method), (g_object_info_find_method),
	(g_object_info_get_n_signals), (g_object_info_get_signal),
	(g_object_info_get_n_vfuncs), (g_object_info_get_vfunc),
	(g_object_info_get_n_constants), (g_object_info_get_constant),
	(g_interface_info_get_n_prerequisites),
	(g_interface_info_get_prerequisite),
	(g_interface_info_get_n_properties),
	(g_interface_info_get_property), (g_interface_info_get_n_methods),
	(g_interface_info_get_method), (g_interface_info_find_method),
	(g_interface_info_get_n_signals), (g_interface_info_get_signal),
	(g_interface_info_get_n_vfuncs), (g_interface_info_get_vfunc),
	(g_interface_info_get_n_constants),
	(g_interface_info_get_constant), (g_property_info_get_flags),
	(g_signal_info_get_flags), (g_signal_info_get_class_closure),
	(g_signal_info_true_stops_emit), (g_vfunc_info_get_flags),
	(g_vfunc_info_get_offset), (g_vfunc_info_get_signal),
	(g_constant_info_get_value), (g_union_info_get_n_fields),
	(g_union_info_get_field), (g_union_info_get_n_methods),
	(g_union_info_get_method), (g_union_info_is_discriminated),
	(g_union_info_get_discriminator_offset),
	(g_union_info_get_discriminator):
	* src/ginvoke.c: (g_function_info_invoke):
	* src/girepository.c: (g_irepository_register),
	(g_irepository_unregister), (g_irepository_get_default),
	(count_interfaces), (g_irepository_get_n_infos), (find_interface),
	(g_irepository_get_info), (g_irepository_find_by_name),
	(g_irepository_get_shared_library),
	(g_irepository_build_search_path), (g_irepository_register_file),
	(g_irepository_error_quark):
	* src/girepository.h:
	* src/gmetadata.c: (g_metadata_get_dir_entry),
	(g_metadata_check_sanity), (validate_header),
	(validate_array_type_blob), (validate_iface_type_blob),
	(validate_param_type_blob), (validate_error_type_blob),
	(validate_type_blob), (validate_arg_blob),
	(validate_signature_blob), (validate_function_blob),
	(validate_callback_blob), (validate_constant_blob),
	(validate_value_blob), (validate_field_blob),
	(validate_property_blob), (validate_signal_blob),
	(validate_vfunc_blob), (validate_struct_blob),
	(validate_enum_blob), (validate_object_blob),
	(validate_interface_blob), (validate_errordomain_blob),
	(validate_union_blob), (validate_blob), (validate_directory),
	(validate_annotations), (g_metadata_validate), (_g_metadata_init),
	(g_metadata_new_from_memory), (g_metadata_new_from_const_memory),
	(g_metadata_new_from_mapped_file), (g_metadata_free),
	(g_metadata_set_module), (g_metadata_get_namespace):
	* src/gmetadata.h:
	* tests/Makefile.am:
	* tests/invoke/Makefile.am:
	* tests/invoke/invoke-namespace-find.sh:
	* tests/invoke/invoke.c: (main):

	Add a namespace/shared library mapping. fixes #313268.

2007-12-03  Johan Dahlin  <johan@gnome.org>

	* src/gidlparser.c (parse_type_internal): Disable char/gchar and
	guchar for now.

2007-11-30  Jürg Billeter  <j@bitron.ch>

	* configure.ac:
	* src/Makefile.am:
	* src/clexer.l:
	* src/cparser.y:
	* src/gen-introspect.c: (g_idl_node_cmp), (g_igenerator_new),
	(g_igenerator_write_inline), (g_igenerator_write),
	(g_igenerator_write_indent), (g_igenerator_write_unindent),
	(field_generate), (value_generate), (constant_generate),
	(property_generate), (function_generate), (vfunc_generate),
	(signal_generate), (interface_generate), (struct_generate),
	(union_generate), (boxed_generate), (enum_generate),
	(node_generate), (module_generate), (get_type_from_type_id),
	(str_replace), (g_igenerator_process_properties),
	(g_igenerator_process_signals), (g_igenerator_process_types),
	(get_type_from_ctype), (g_igenerator_process_function_symbol),
	(g_igenerator_process_unregistered_struct_typedef),
	(g_igenerator_process_struct_typedef),
	(g_igenerator_process_union_typedef),
	(g_igenerator_process_enum_typedef),
	(g_igenerator_process_function_typedef),
	(g_igenerator_process_constant), (g_igenerator_process_symbols),
	(g_igenerator_add_symbol), (g_igenerator_is_typedef),
	(g_igenerator_generate), (main), (csymbol_new),
	(csymbol_get_const_boolean), (ctype_new), (ctype_copy),
	(cbasic_type_new), (ctypedef_new), (cstruct_new), (cunion_new),
	(cenum_new), (cpointer_new), (carray_new), (cfunction_new),
	(eat_hspace), (eat_line), (read_identifier),
	(g_igenerator_parse_macros):
	* src/gen-introspect.h:

	Import gen-introspect to generate introspection information by
	parsing C headers.

2007-11-30  Jürg Billeter  <j@bitron.ch>

	* src/gidlnode.c: (g_idl_node_new): support creating callback nodes

2007-11-30  Jürg Billeter  <j@bitron.ch>

	* src/gidlparser.c: (end_element_handler): Don't leave requires
	state too early.

2007-11-29  Johan Dahlin  <johan@gnome.org>

	* src/gidlparser.c (parse_type_internal): Add char,
	gchar and guchar to the builtin types.

2007-11-26  Johan Dahlin  <johan@gnome.org>

	* src/ginfo.c: (g_object_info_get_type_name),
	(g_object_info_get_type_init):
	* src/girepository.c: (g_irepository_is_registered):
	* src/girepository.h:

	Add g_object_info_get_type_name, g_object_info_get_type_init and
	g_irepository_is_registered.

2006-08-14  Jürg Billeter  <j@bitron.ch>

      * src/gidlparser.c: (end_element_handler): Don't leave
        namespace and implements states too early.
	Fixes #351264

2007-11-26  Johan Dahlin  <johan@gnome.org>

	* src/gmetadata.c (validate_struct_blob):
	pass blob_type to validate_function_blob instead of
	hard-coding BLOB_TYPE_STRUCT.

	Patch by Torsten Schoenfeld, fixes #314190

2006-10-03  Torsten Schoenfeld  <tsch@cvs.gnome.org>

	* src/compiler.c, src/generate.c, src/gidlnode.c,
	src/gidlparser.c, src/ginfo.c, src/girepository.c,
	tests/invoke/invoke.c, test/invoke/testfns.c: Hush compiler
	warnings about return values, signedness mismatches, unused
	variables, and unhandles enum values in switch statements.

	* tests/invoke/Makefile.am: Don't install the invoke test program.
	Add -I ../../src to the cflags used for the test functions files.

2005-08-31  Torsten Schoenfeld  <tsch@cvs.gnome.org>

	* src/girepository.h: Export g_invoke_error_quark.

2005-08-31  Torsten Schoenfeld  <tsch@cvs.gnome.org>

	* src/ginvoke.c: Remove the fallback implementation of
	g_function_info_invoke since we now formally depend on libffi.

2005-07-25  Matthias Clasen  <mclasen@redhat.com>

	* src/Makefile, tests/Makefile, tests/invoke/Makefile:
	Remove these files from cvs, as they are now generated.

	* src/gmetadata.c (validate_iface_type_blob): Don't
	complain if blob->pointer is not set, since that
	happens for enum and flag types.  (#308935, Gustavo
	Carneiro)

	* Commit an autoconf-conversion patch by
	Gustavo Carneiro (#308708)

2005-05-24  Matthias Clasen  <mclasen@redhat.com>

	* src/compiler.c (main): Use it here to validate
	the generated metadata.

	* src/gmetadata.[hc]: Add code to validate a
	metadata blob.

	* metadata-format.txt: Updates

2005-05-22  Matthias Clasen  <mclasen@redhat.com>

	* tests/*: Add struct offsets to field and vfunc
	elements.

	* src/generate.c (write_vfunc_info): Write offset
	information for vfuncs.

	* src/gidlnode.c (g_idl_node_build_metadata): Write
	the struct offsets into the metadata.

	* src/gidlparser.c: Parse the offset attributes of
	field and vfunc elements.

	* src/gidlnode.h: Add offset members to field and
	vfunc nodes.

2005-05-21  Matthias Clasen  <mclasen@redhat.com>

	* TODO: Updates.

	* gidl.dtd: Updates.

	* src/g-idl-offsets.pl: A perl script which reads a .gidl
	file, creates, compiles and runs a C file, and folds the
	resulting struct offsets back into the .gidl file.

2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* src/gidlparser.c (start_field): Make fields in objects
	work.

	* src/gidlmodule.c: Include string.h

	* TODO: Updates.
	:

	* metadata-format.txt: Cleanup basic types.
	* src/*: Adapt to the changes.
	* tests/*: Adapt to the changes.
	* examples/gdk-pixbuf.gidl: Adapt to the changes.

	* src/gidlnode.c (g_idl_node_get_size): Report the correct
	size for enum blobs.
	(g_idl_node_get_full_size): Report the correct size for
	function blobs.

	* src/gidlmodule.c (g_idl_module_build_metadata): Add some
	error checking for blob sizes.

2005-05-19  Matthias Clasen  <mclasen@redhat.com>

	* src/gidlnode.c (g_idl_node_build_metadata): Correctly handle
	interface types for which is_pointer is FALSE, e.g. enums.

	* src/gidlnode.c (g_idl_node_get_full_size)
	* src/gidlparser.c (parse_type_internal):
	* src/generate.c (write_type_info): Support unspecialized
	lists, hashtables and errors. Also emit a '*' after these.

	* TODO: Updates

2005-05-17  Matthias Clasen  <mclasen@redhat.com>

	* TODO: Updates

	* metadata-format.txt: Cleanups by Maciej Katafiasz.

2005-05-15  Matthias Clasen  <mclasen@redhat.com>

	* src/*.c: Change the directory to be addressed by
	1-based indexes, and use an index of zero to mean
	'no object'.

2005-05-15  Matthias Clasen  <mclasen@redhat.com>

	* tests/roundtrips.sh (SIMPLE_TESTS): Add union.test.

	* tests/union.test: Add a union test.

	* src/generate.c: Handle unions.

	* src/girepository.h:
	* src/ginfo.c: Add GIUnionInfo and functions to access it.

	* src/gidlnode.c: Handle GIdlNodeUnion nodes.

	* src/gidlparser.c (start_union): Parse <union> elements.

	* src/gidlnode.h: Add a GIdlNodeUnion.

	* gidl.dtd: Add a <union> element.

	* src/gmetadata.c (g_metadata_check_sanity): Check
	union_blob_size.

	* src/gmetadata.h: Add union_blob_size to Header,
	add a UnionBlob.

	* metadata-format.txt: Add a UnionBlob.

2005-05-13  Matthias Clasen  <mclasen@redhat.com>

	* tests/*: Update testcases.

	* src/generate.c (write_callable_info): Don't forget to
	write transfer and null-ok attributes for return types
	and parameters.

	* src/girepository.h:
	* src/ginfo.c (g_callable_info_may_return_null):
	New function to find out if a function may return NULL.

	* src/compiler.c (format_output): Make the generated
	C code compile.

	* README: Point to a recent libffi snapshot.

	* tests/invoke/*: Some invoke tests.

	* src/Makefile: Add ginvoke.c and the necessary
	libffi information.

	* src/girepository.h (g_function_info_invoke): Add
	a GError argument.

	* src/ginvoke.c (g_function_info_invoke): Initial
	implementation of invoke functionality based on libffi.

	* src/gidlnode.c (g_idl_node_build_metadata): Pass the
	strings and types hash tables in the right order when
	recursing.
	(find_entry_node): Free the name parts.

2005-05-12  Johan Dahlin  <johan@gnome.org>

	* src/generate.c: Generate consistent end tags.

	* tests/*: Update

2005-05-12  Matthias Clasen  <mclasen@redhat.com>

	* TODO: Updates

	* src/gidlparser.c (start_function): Actually add
	methods to objects.  (Steven Walter)

	* src/girepository.h:
	* src/ginfo.c: Rename Transfer and Direction to
	GITransfer and GIDirection. (Torsten Schoenfeld)

	* tests/*: Make tests work with the changes in name
	handling.

	* src/gidlnode.c (find_entry_node): Parse qualified
	names and generate xref nodes for them if needed. Don't
	require all modules to be loaded any more.

	* src/gidlmodule.c (g_idl_module_build_metadata): Choke
	on '.' in names.

	* src/ginfo.c (g_object_info_get_parent): Return NULL
	if blob->parent is 0. Still need to make sure index
	0 is not used.

	* src/generate.c: Generate qualified names when
	referring to non-local types. Emit transfer attribute
	for return types.

	* src/compiler.c (format_output): Put the function
	attributes where gcc accepts them.

2005-05-11  Matthias Clasen  <mclasen@redhat.com>

	* src/compiler.c (main): Add a --verbose cmdline option
	and only log messages if it is specified.

	* src/gidlnode.h:
	* src/gidlnode.c (init_stats, dump_stats): Collect some
	statistics on string and type sharing.

	* src/gidlmodule.c (g_idl_module_build_metadata): Use
	g_message() instead of fprintf().

	* src/gidlnode.c (g_idl_node_free): Make this more robust.
	(g_idl_node_get_size): Implement for structs.
	(g_idl_node_get_full_size): Handle parent being NULL.
	(serialize_type): Handle lookup failures more gracefully.

2005-05-10  Matthias Clasen  <mclasen@redhat.com>

	* src/gidlnode.c (g_idl_node_get_full_size): Correct the
	size calculation for 2-parameter types and for objects.

	* src/compiler.c: Add a cmdline option for debug output
	and install a log handler to implement it.
	* src/gidlnode.c: Add some debug spew.

	* TODO: Updates

	* src/gidlmodule.c (g_idl_module_build_metadata): Don't
	forget to count the module name when calculating the
	required size for the metadata.

	* src/gidlnode.c:
	* src/gidlparser.c: Fix compiler warnings.

2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* src/compiler.c (main): Free the option context.

	* gidl.dtd: Clean up handling of names. All elements
	have a "name", only the elements corresponding to
	actual callable functions (function, method, constructor),
	have an additional "symbol" attribute holding the
	dlsym()-able function name.

	* src/generate.c: Adapt to generate xml matching the
	new dtd.

	* src/gidlparser.c:
	* src/gidlnode.c: Adapt to parse the new dtd.

	* tests/*.test: Adjust to the new dtd.

	* metadata-format.txt:
	* src/gmetadata.h: Remove the short_name field
	from the ValueBlob.
	* src/gmetadata.c: Shrink size of ValueBlob to 12.
	* src/girepository.h:
	* src/ginfo.c (g_value_info_get_short_name): Removed

2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* gidl.dtd: Allow constructors for boxed types,
	patch by Jonathan Blandford.


2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* --- Initial import ---