File: ChangeLog

package info (click to toggle)
gtk%2B1.2 1.2.7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 14,008 kB
  • ctags: 14,488
  • sloc: ansic: 135,656; sh: 7,706; makefile: 1,169; perl: 328; awk: 274; lisp: 7
file content (11565 lines) | stat: -rw-r--r-- 411,833 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
Wed Feb 16 05:22:36 CST 2000 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.7

Mon Feb 14 22:50:10 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_init): use g_str_hash() and g_str_equal()
	for the typename hash table.

Mon Feb 14 15:01:23 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_compute_position): Add some sanity checks
	to make sure we never divide by zero. 
	(Problem pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>)

Mon Feb 14 12:29:38 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c: Apply patch from
	SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp> to make font selector work a little
	better with 2-byte fonts. (Load a fontset instead of a font for two byte fonts.)

	Also, some cleanups in atom handling.

Sun Feb 13 08:02:21 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
	not GtkWidget.

Fri Feb 11 02:19:32 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtkhpaned.c (gtk_hpaned_size_allocate): 
	* gtk/gtkvpaned.c (gtk_vpaned_size_allocate): 
	* gtk/gtkpaned.c (gtk_paned_compute_position): had to squeeze some
	more guint wrap-around bugs before going to bed.

Thu Feb 10 16:16:35 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_size_allocate): guard against
	guint wrap arounds in allocation.width.

	* gtk/gtktable.c (gtk_table_size_allocate_pass1): repeat shrinking
	process untill we fit the allocation given.

Tue Feb  8 09:38:29 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c:
	(gtk_widget_unrealize): guard widget access with ref/unref
	around signal emission.
	(gtk_widget_hide): same here, but also check its destroyed
	state before queueing a resize.

Tue Feb  8 03:05:55 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtkstyle.c (gtk_style_new): use gtk_default_prelight_bg instead
	of gtk_default_insensitive_bg as insensitive base color.

	* gtk/gtktext.c (gtk_text_style_set): set the background color according
	to the widget's state.
	(gtk_text_realize): same here.
	(gtk_text_state_changed): same here.
	(draw_bg_rect): compare background color against base[] from
	GTK_WIDGET_STATE (text) not GTK_STATE_NORMAL.

Mon Feb  7 04:01:55 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_main_do_event): ignore delete events when
	grabs are active, unless a delete event is send to the toplevel
	of the currently grab holding widget.

Sun Feb  6 10:13:15 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (gtk_ctree_drag_data_received): Remove
	debugging g_print's.

Fri Feb  4 19:40:50 2000  Tim Janik  <timj@gtk.org>

	* configure.in: up version number to 1.2.7, interface age 2, binary
	age 7. depend on glib 1.2.7.
	
	* NEWS: updates.

Fri Feb  4 15:54:54 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): Don't
	ever make the scrolled-window requisition ever depend on the 
	visibility state of the scrollbars for the AUTOMATIC policy. 
	This breaks the	GTK+ requisition model, and causes loops.

Fri Feb  4 15:09:12 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_new): Set the charset explicitely for
	the default font to avoid problems with XFree86-4.0 where the
	default charset is iso10646-1, not iso8859-1.

Thu Feb  3 14:58:48 PST 2000 Manish Singh <yosh@gimp.org>

	* acinclude.m4
	* config.guess
	* config.sub
	* ltconfig
	* ltmain.sh: upgrade to libtool 1.3.4 (bugfix only release)

	* gtk/Makefile.am: minor cosmetic consistency tweak

Thu Feb  3 14:46:01 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Set
	the activate_time to 0, so that we handle a quick
	press/release press/release properly and don't suppress
	the second release. (Red Hat bug #7545)

Wed Feb  2 22:25:17 2000  Tim Janik  <timj@gtk.org>

	* gtk/gtkctree.c (row_delete):
	(gtk_ctree_node_set_row_data_full): fixed very evil reentrancy
	bugs with destruction notifier, *always* update internal
	structures *before* calling user code.

Sun Jan 30 20:10:52 2000  Lars Hamann  <lars@gtk.org>

	A few more fixes for bug #5487, #2051, #2677.
	* gtk/gtkclist.c : 
	(gtk_clist_button_press):  Reset clist->anchor to -1 if event->type is
 	not GDK_BUTTON_PRESS.
	(resync_selection): resync only if selection_mode is
	GTK_SELECTION_EXTENDED
	* gtk/gtkctree.c (resync_selection): same here

Sun Jan 30 12:29:20 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h gtk/gtkmenu.h: Removed duplicate prototypes for
	gdk_drag_get_selection() and gtk_menu_detach().

	[ From Jeroen Ruigrok/Asmodai ]

Sat Jan 29 10:11:56 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_size_request): 
	page->tab_label can be NULL.

2000-01-25  Havoc Pennington  <hp@pobox.com>
	
	* gdk/gdkwindow.c (gdk_window_set_back_pixmap): parent_relative
	arg is boolean

	* gdk/gdkselection.c (gdk_selection_owner_set): return boolean

	* gdk/gdkrectangle.c (gdk_rectangle_intersect): return boolean

	* gdk/gdkproperty.c (gdk_property_get): return boolean

	* gdk/gdkinput.c (gdk_input_set_mode): return boolean

	* gdk/gdkim.c (gdk_im_ready): return boolean

	* gdk/gdkgc.c (gdk_gc_set_exposures): gboolean arg

	* gdk/gdkfont.c (gdk_font_equal): return gboolean (mild
	glib clash, should fix glib)

	* gdk/gdkevents.c (gdk_set_show_events): take gboolean arg
	(gdk_get_show_events): return gboolean, and canonicalize 
	to TRUE/FALSE

	* gdk/gdkcolor.c (gdk_colormap_new): gboolean flag whether the
	colormap is private
	(gdk_colors_alloc): gboolean whether to be contiguous
	(gdk_color_equal): return gboolean since we are a predicate
	and not a qsort() (this looks semi-wrong due to glib breakage,
	IMO glib should be fixed)
	
	* gdk/gdk.c (gdk_set_use_xshm): take gboolean arg
	(gdk_get_use_xshm): return gboolean
	(gdk_pointer_is_grabbed): return gboolean

	* gdk/gdk.h: Change prototypes to match all the above changes,
	and re-run egtk-format-protos as required.

Fri Jan 28 12:28:17 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (resync_selection): 
	* gtk/gtkclist.c (resync_selection):

	Return immediately if clist->drag_pos < 0. This is a workaround
	for the corrupt state that the clist gets into when a
	GDK_2BUTTON_PRESS occurs. See note in gtk_clist_button_press().

	Bug #5487, #2051, #2677; fix suggested by David Helder and T. Alexander Popiel.
	
	* gtk/gtknotebook.c (gtk_notebook_size_request): Fix uninitialized
	variable from recent commit.

Thu Jan 27 15:22:09 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin): Fix stupid typo in last commit.

Thu Jan 27 18:00:55 2000  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am: prefix all autogenerated source that get build in
	$(srcdir) with $(srcdir)/, so make doesn't assume they got generted
	in builddir. since we subsequently cd into srcdir for autogeneration,
	the paths have to be stripped from the target file names, thusly we
	use $(@F) as target names now.
	put a comment about configure.in's --disable-rebuilds option,
	which can be used for non-writable source directories, for development
	setups though, srcdir has to be *writable*.

Thu Jan 27 00:15:03 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin gtk_drag_get_event_actions):
	  Finish the job of allowing event to be NULL.
	  (Fixes bug #4283, reported by Chris Blizzard)

	* gtk/gtkentry.c (entry_adjust_scroll): When calculating
	  things so that the cursor appears on screen, properly
	  take into account INNER_BORDER.
	  (Fixes bug #4754, reported by Antonio Campos)

Wed Jan 26 23:12:28 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_map): Don't
	  show the tab_label unless it itself is visible.

	  gtk/gtknotebook.c (gtk_notebook_size_request):
	  Do a better job of making sure that the visibility
	  of the tab label corresponds to whether it should
	  be mapped or not.

Wed Jan 26 21:17:03 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_position):
	  Use the requisition, not the allocation, since the
	  allocation has not necessarily been computed yet.
	  (Pointed out by Eugene Osintsev)

Wed Jan 26 19:44:25 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_new): Dont' set
	  style/base[GTK_STATE_INSENSITIVE] both to
	  gtk_default_insensitive_bg!
	  (Bug #2187, reported by Jonathan Blandford)

	* gtk/gtkaccelgroup.c (gtk_accelerator_valid):
	  Add Alt_L, Alt_R to list of invalid accelerators.
	  (Bug #3736, reported by Vlad Harchev)

Wed Jan 26 19:01:56 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (open_ref_dir): Fix several
	bugs which occured after an attempt to open 
	invalid home directory left cmpl_state->reference_dir == NULL.

	 - completion on files in home directory didn't work
	 - completion on an empty string caused  segfault

	 (Bug #3768, reported by Steve Ratcliffe)

	* gtk/gtkscale.c (gtk_scale_get_value_width): Fix
	cut and paste error that was causing scales to
	be incorrectly positioned.
	(Bug #2956,
	 patch from Steve Ratcliffe <steve@parabola.demon.co.uk>)

2000-01-27  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

	* acinclude.m4 (AM_GTK_WITH_NLS): Add -lintl to libs
	when checking for dcgettext, if we've found we needed
	it for dgettext.

Wed Jan 26 18:06:07 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore
	queue_clear on NO_WINDOW widgets during a reparent,
	since at that point the window and widget heirarchies
	are out of sync. This stops crashing in some cases
	(the scrolled window reparent test, for instance), and
	_probably_ won't cause drawing errors.

	* gtk/testgtk.c: Make the reparenting-a-scrolled-window
	test do what it was supposed to do and be robust against
	window closings, etc. (Bug #2443)

Wed Jan 26 16:56:54 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c: Fix return values on mouse events.
	(Bug #2686, Sky <seb_sky@yahoo.com>)

	* gtk/genmarshal.pl: Fix up handling of FOREIGN.
	(pointed out by George Lebl)

 	* gdk/gdkcolor.c (gdk_color_copy): Made const-safe.
	(From Ettore Perazzoli  <ettore@helixcode.com>)
 
Mon Jan 24 10:44:48 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_main_button): Handle
	clicks between rows or outside calender area correctly.
	(Patch from Damon Chaplin)

	* gtk/gtkclist.c (gtk_clist_set_row_data_full): 
	* gtk/gtkctree.c (gtk_ctree_node_set_row_data_full): 
	  Call destroy function when overwriting existing data. 
	  (Pointed out by Damon Chaplin)

Tue Jan 25 09:55:41 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c: Remove useless #include of <X11/Xmu/WinUtil.h>,
	  which was causing problems on various systems with Xmu.
	  This hasn't been needed for a very long time.
	  (Fixes #1185 3167)

Sun Jan 23 22:27:36 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdki18n.h: Include <ctype.h> when defining
	  gdk_isw* in terms of is* as a fallback.
	  (Bug #4106 - Dan Winship <danw@MIT.EDU>)

Sun Jan 23 22:12:36 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkviewport.c (gtk_viewport_size_allocate): Don't
	  realize the widget when it is size allocated!
	  (old, old bug)

	* gtk/gtkviewport.c (gtk_viewport_adjustment_value_changed):
	  Removed unused call to gdk_window_get_size() that
	  showed up when the above was fixed.

Sun Jan 23 20:52:40 2000  Owen Taylor  <otaylor@redhat.com>

	* INSTALL: Added short note about setting LDFLAGS
	  and CPPFLAGS to find libraries not in the default
	  install path. Fixed env/setenv confusion for csh.

Sat Jan 22 15:44:30 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_reparent): Correctly
	  fix up widget->window when the widget is a
	  NO_WINDOW container widget.

Sat Jan 22 12:40:48 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpixmap.c (gdk_pixmap_seek_string): Rewrite
	  to account for the fact that feof() does _not_ 
	  return TRUE on errors, and thus avoid infinite loops
	  when trying to use gdk_pixmap_create_from_xpm()
	  on unreadable values.

Fri Jan 21 18:32:43 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaspectframe.h (struct _GtkAspectFrame): s/gint/gboolean/.

Fri Jan 21 16:24:08 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkgc.c (gdk_gc_set_dashes): Change from
	  gdk_gc_set_dashes to take gint8 instead of gchar to
	  make it clearer that it is _not_ a NULL terminated string.

	* gdk/gdk.h gdk/gdkfont.c gdk/gdkgc.c gdk/gdkselection.c
	  gdk/gdkwindow.c gtk/gtkprogress.[ch] gtk/gtkthemes.[ch]
	  gtk/gtktreeitem.[ch] gtk/gtkwidget.[ch]: Constify string
	  arguments.

2000-01-13 Elliot Lee <sopwith@redhat.com>
	
	* gtk/gtktooltips.c: Add note about gtk_tooltips_set_colors().

2000-01-07  Jesus Bravo Alvarez  <jba@pobox.com>

	* configure.in (ALL_LINGUAS): Oops, Galician (gl) wasn't there yet

Thu Dec 30 04:51:05 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkvscale.c (gtk_vscale_pos_background): 
	* gtk/gtkhscale.c (gtk_hscale_pos_background): when calculating the
	background size relative to our allocation, guard against small
	allocations, we may have not yet been size allocated.

Fri Dec 24 03:41:33 1999  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am: reverted sopwith's changes to Makefile.am,
	the builddir != srcdir case was already handled fine, and his
	"fix" would produce multiple copies of the built sources.
	for development you just need a writable srcdir.

December 20, 1999 Elliot Lee <sopwith@redhat.com>

	* gtk/Makefile.am: Fix builddir != srcdir for
	  generation of gtktypebuiltins*.[ch]

Thu Dec  2 10:59:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (xdnd_check_dest): Allow version >= 3,
	not just version == 3. We implement all 3 + most of 4 - 
	(we don't support matching text/plain;charset=iso-8859-1
	to a dest that expects text/plain). We'll still advertise
	3 to be safe, but any client implementing version >= 3
	must interoperate with 3.
	
Tue Nov 16 10:15:54 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
	If translation does not include a '/', use entire
	translation instead of crashing.

Mon Nov 15 17:17:51 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/

Sat Nov 13 22:30:29 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtkfaq.sgml: threads example from Erik Mouw.
        New question on GtkLabel background colors.

        * docs/gtk_tut.sgml:
          - Correct the example code callback
            function definitions.
          - Update the gtkdial example code, from Frans van Schaik.
          - Update setselection.c to current API.
	  - Merge the various versions of this document.

	* examples/Makefile examples/*/*.c: Update to code
	listed in tutorial.

Fri Nov 12 22:24:14 MET 1999  Sven Neumann <sven@gimp.org>

	* gdk/gdkinputcommon.h
	* gdk/gdkinputxfree.h: Call XFreeDeviceState() on results of 
	XQueryDeviceState(). (Ported from HEAD)

Wed Nov 10 17:26:49 GMT 1999 Tony Gale  <gale@gtk.org>

        * gtk/gtkclist.c: Fix off-by-one bug in parameter
        check.

Sun Oct 31 22:21:11 1999  Tim Janik  <timj@gtk.org>

	* docs/gtk_tut.sgml:
	s/gtk_accel_group_attach/gtk_window_add_accel_group/.

Sat Oct 30 13:17:18 BST 1999 Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ update

Sat Oct 30 09:09:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_remove): Use
	g_list_remove_link, not g_list_remove.

	[ From Geert Bevin <gbevin@thunderstorms.org> ]
	
Sun Oct 24 07:41:40 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.c (real_undo_selection): commented out g_print()
	statement upon unselection (how the heck did that slip in?).

Sat Oct 23 03:03:08 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktext.c (gtk_text_freeze): 
	(gtk_text_thaw): undraw/draw cursor here to avoid unnecessary scrolling
	in frozen state (and aparently crashes). patch provided by Anders
	Melchiorsen <and@kampsax.dtu.dk>.

Sat Oct 23 02:53:20 1999  Tim Janik  <timj@gtk.org>

	* fix insensitive default/focus widget activation,
	reported by Matt Goodall <mgg@isotek.co.uk>.

	* gtk/gtkwindow.c (gtk_window_key_press_event): 
	(gtk_window_activate_default):
	(gtk_window_activate_focus):
	return handled=FALSE for actiavtion of insensitive default
	widgets. return handled=TRUE for activation of insensitive
	focus widgets. don't activate in either case.

Tue Oct 19 09:55:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk-config.in (lib_gtk): Switch order of @x_cflags@
	and $glib_cflags to match library order and in the
	theory that an old version of GLib is more likely to
	be in the include directory for X then vice-versa.
	(Bug #2776)

Tue Oct 19 09:46:49 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE 
	to determine the locale for fontsets, not LC_MESSAGES;
	the user may want English messages with a handling
	for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
	will still be broken) (Bug #2891)

Tue Oct 19 20:36:42 1999  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

	* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.

Tue Oct 19 12:15:13 1999  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

	* gtk/gtkrc.ko: Changed the Korean default fontset.

Fri Oct  8 10:55:51 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.6

Fri Oct  8 02:32:47 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklayout.c (gtk_layout_adjustment_changed): Fix bug
	where when scrolling to the left or top double exposes
	were done, causing major slowdowns.

Thu Oct  7 18:31:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_init): Always normalize codeset
	names to lowercase and alphanumeric, before looking
	them up.

	* gtk/Makefile.am: Install codeset variant gtkrc files
	with normalized names.

Thu Oct  7 22:52:42 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_popup_with_data): even
	popup menus when the menu is already visible, but its parent
	is still hidden, (happens after tornoff window got hidden).

Thu Oct  7 11:09:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am (install-data-local): Fix
	a typo where gtkrc.vi_VN.tcvn5712 wasn't getting
	deleted, causing error messages on install.

Thu Oct  7 11:03:06 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk[hv]paned.c (gtk_{h,v}paned_draw): Redraw
	the handle as well, since we now sometimes ignore
	exposes on the handle while resizing.

Wed Oct  6 18:02:31 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_append_default_pixmap_path): Fix stupid
	extra g_free introduced in one of the last one or two 
	commits.

Wed Oct  6 16:38:36 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am gtk/gtkrc*: Make naming of gtkrc files
	consistent, put each style that a gtkrc.* file creates
	in a unique namespace, remove old files before installing.

Wed Oct  6 14:31:16 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_init): Avoid leaking memory when
	gtk_rc_init is called multiple times. (Yes, people who
	do that have bugs in their code.)

Tue Oct  5 11:36:57 PDT 1999 Manish Singh <yosh@gimp.org>

	* gtk/Makefile.am: listing gtkrc in gtkconf_DATA seems to barf.
	Remove it since it's generated by the Makefile anyway

Tue Oct  5 02:43:41 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkinputcommon.h (gdk_input_device_new): Free
	device->info.axes for core pointer.

Mon Oct  4 16:16:53 1999  Pablo Saratxaga <pablo@mandrakesoft.com>

        * gtk/gtkrc.{bg,iso88591[345]}: add gtkrc files for some new charset
        encodings: iso-8859-13 (for Lithuanian), iso-8859-14 (used by celtic
        languages), iso-8859-15 (used in Estonia) and microsoft-cp1251 (used
        by Bulgarian).

1999-10-01  Kjartan Maraas  <kmaraas@online.no>

	* configure.in: Added "uk" to ALL_LINGUAS.

Thu Sep 30 13:55:25 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtk.c (destroy_idle_test): Rename idle to 
	idle_id, to deal with obsolete, broken C libraries.

Wed Sep 29 15:41:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktreeitem.c (gtk_tree_item_size_allocate): 
	Get rid of stupid C unsigned integer bug.
	(Bug #2440)

1999-09-28  Kjartan Maraas  <kmaraas@online.no>

	* configure.in: Added "ro" to ALL_LINGUAS.
	
Mon Sep 27 02:50:15 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkvscale.c (gtk_vscale_draw): Don't add in
	allocation->x/y twice!

	* gtk/gtkhscale.c: Make usage of gtk_hscale_pos_trough()
	consistent with gtk_vscale_pos_trough().

Sun Sep 26 19:44:34 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcontainer.c (gtk_container_queue_resize): We may
	be queueing a resize on a toplevel container between
	the time we show it and when we map it. So, we need
	to test GTK_WIDGET_VISIBLE() for toplevels, and only
	use GTK_WIDGET_DRAWABLE() for child windows.

Thu Sep 23 20:11:38 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.5

Fri Sep 24 02:00:21 1999  Tim Janik  <timj@gtk.org>

	* configure.in (GTK_VERSION): changed version from Gtk+-1.2.5-pre2,
	to Gtk+-1.2.5, interface age 0, binary age 5.
        
Thu Sep 23 16:41:03 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am (LDADDS): Add GDK_WLIBS to LDADDS 
	(fixes bug #2144)

Fri Sep 24 00:51:45 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c (gtk_container_queue_resize): check for
	container DRAWABLE (instead of VISIBLE), so we don't queue
	resizes on non-toplevel containers.

Thu Sep 23 17:59:59 1999  Tim Janik  <timj@gtk.org>

        * gdk/gdkevents.c (gdk_event_translate): grr, even if Gdk doesn't
        handle CreateNotify itself, still put out a debuging message for
        --gdk-debug=events. made the ReparentNotify debugging message more
        verbose.
        wrap xcoords translation for ConfigureEvents into an error trap,
        a destroy event may already be pending, and in that case, the
        actuall coordinate values are not at all critical.

Mon Sep 20 13:17:39 1999  Pablo Saratxaga <pablo@mandrakesoft.com>
	
	* configure.in,po/pt_BR.po: added Portuguese Brazilian file from
	Alex Sandro Queiroz e Silva <asandro@lcg.dc.ufc.br>

Mon Sep 20 01:21:53 1999  Tim Janik  <timj@gtk.org>

	* released Gtk+-1.2.5-pre2, interface age 0, binary age 5.

Sun Sep 19 18:13:31 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.[ch]: Make the data argument
	const guchar *.

Sat Sep 18 22:24:15 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkcc.c: Stop leaking the color_hash all over
	the place. Simplify and improve the logic.

Sat Sep 18 21:27:40 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c: Try to behave sensibly if 
	the focus widget is the window itself. (Should
	we allow this at all?)

Fri Sep 17 09:57:15 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_set_sensitive): 
	* gtk/gtknotebook.c (gtk_notebook_set_scrollable): 
	* gtk/gtknotebook.c (gtk_notebook_set_show_border): 
	* gtk/gtkclist.c (gtk_notebook_set_show_border): make gboolean args
	in prototypes and implementations consistent (Tomas Ogren).

	* gdk/gdk.h, gdk/gdkcolor.c: make return types (gint or gboolean)
	for prototypes and function implementations consistent (reported
	by Tomas Ogren).

	* gtk/gtklayout.c (gtk_layout_remove): unset GTK_IS_OFFSCREEN flag
	before the widget is unparented (reported by damon).

	* gtk/gtkdnd.c: make the cursor and icon data _unsigned_ char,
	since we provide unsigned data anyways.

Thu Sep 16 21:32:01 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_set_tip): Delay
	the call to gtk_tooltips_layout_text() until later.

	* gtk/gtktooltips.c (gtk_tooltips_draw_tips):
	Call gtk_widget_ensure_style() before using the style.

Wed Sep 15 02:52:19 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_event): Added workaround
	for old widgets that don't propagate draws to all
	children. (Namely gnome-dock for gnome-libs <= 1.0.16)

Tue Sep 14 19:37:53 1999  Tim Janik  <timj@gtk.org>

	* configure.in (GTK_VERSION): slight version increment to 1.2.5-pre2.

Tue Sep 14 19:22:19 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_queue_resize): don't queue the parent
	for a redraw but just the widget that requested the resize.

Tue Sep 14 18:29:47 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c: added new widget level method
	gtk_container_set_reallocate_redraws() and a GtkContainer flag
	reallocate_redraws : 1 to reflect the setting, exported this through
	the argument system as a boolean ::reallocate_redraws.

	* gtk/gtkwidget.c (gtk_widget_size_allocate): when queueing redraws
	on the widget because the allocation changes, do so as well for
	widget->parent if the parent has reallocate_redraws set to TRUE.
	with that containers requesting reallocation redraws get automatically
	redrawn if their children changed allocation (this unfortunately
	affects also other children that didn't change allocation, but we
	cannot work around that before 1.3).

Tue Sep 14 18:23:01 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkevents.c (gdk_event_translate): tell if expose events have
	send_event set in debugging output.
	(gdk_compress_exposures): default initialize the event so we don't
	operate on bogus values (namely send_event).

	* gtk/gtkwidget.c (gtk_widget_idle_draw): only emit ::draw if width
	_and_ height are >0 (not _or_).

	* gtk/gtktable.c (gtk_table_remove): use gtk_widget_queue_resize()
	instead of gtk_container_queue_resize(), which is a core gtk internal
	function (must have been on crack when i queued that).

	* gtk/gtkprivate.h: added new private flag GTK_FULLDRAW_PENDING, so
	we can check more reliably if we want to discard expose events.
	* gtk/gtkwidget.c: added setting/unsetting of the GTK_FULLDRAW_PENDING
	flag.
	
	* gtk/gtkwidget.c (gtk_widget_event): don't discard synthesized exposes,
	we simply trust these events. for deciding whether to discard exposes,
	check GTK_FULLDRAW_PENDING instead of RESIZE_PENDING.
	
Mon Sep 13 15:01:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore
	queues of areas that are completely off screen.

	* gtk/gtkwidget.c (gtk_widget_idle_draw): Fix broken
	logic for handleboxes.

	* gtk/gtkwidget.c (gtk_widget_queue_draw_data): Add santity
	check on width/height.

Mon Sep 13 02:22:47 1999  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am: backed out Raja's recent VPATH build "improvements",
	we are fine with using $@ the way we do (if we actually encounter
	brokeness with $@ in VPATH builds because of additional path prefixes,
	we need to use $(@F) actually).

Mon Sep 13 01:34:53 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c: renamed two variables, hopefully didn't introduce
	short lived bugs, that would allow language bindings to do surgeries
	to our guts.

1999-09-12  Raja R Harinath  <harinath@cs.umn.edu>

	* configure.in (wctype): Fix AC_DEFINEs.

Fri Sep 10 21:31:00 1999 Pablo Saratxaga <pablo@mandrakesoft.com>

	* po/et.po,configure.in: added Estonian language file
	* po/el.po: added Greek file from gtk+ HEAD cvs

Fri Sep 10 15:22:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_size_allocate): Fix typo
	where comparison was being done against an uninitialized
	value causing intermittant results depending on
	compiler flags. Also make it clearer that we aren't
	ever initializing the child as 0x0 (though this will
	be caught in gtk_widget_size_allocate())

Fri Sep 10 10:06:56 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_transient_for): Move
	gtk_window_unset_transient_for() call after we do checks
	involving the old transient parent.
	[ From Lance Capser <lmc@cyberhighway.net> ]

Wed Sep  8 07:13:29 1999  Tim Janik  <timj@gtk.org>

	* configure.in: fixed "GNU Make" check to pass with new make version
	3.77.95.

1999-09-07  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/Makefile.am (gtk.defs): Go back to using `touch' to create
	an empty file.

Mon Sep  6 00:11:56 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_is_ancestor): return FALSE if node has
	no children. (Reported by: Chris Rogers <gandalf@pobox.com>)

1999-09-03  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/Makefile.am (gen_sources): Improve VPATH builds.
	`$@' is valid only in the build dir, not after we've done 
	`cd $srcdir'.  Also use `test -f' instead of less portable
	`test -e'.

Fri Sep  3 17:20:57 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.5-pre1  (test release)

Fri Sep  3 15:59:56 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (correct_cache_insert): Rewrite
	 for simplicity, and hopefully correctness.
	 (Fixes bug #1322, which was a segfault when
	  on some insertions with the properties around
	  the insertion set up just wrong.)

	* gtk/gtktext.c (gtk_text_adjustment): When we receive
	 a "changed" signal, clamp the new value to the adjustment
	 bounds to avoid segfaulting if someone tries to change
	 the adjustment to a bogus value. (Bug #1795)

Thu Sep  2 16:33:59 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c: When we receive an unexpected
	destroy notify on one of our windows, don't just
	warn about it, also mark our windows as destroyed.

	* gtk/gtkmain.c: Ignore unexpected destroy notifies
	for children, for toplevel windows handle them
	like delete_event.

	* gtk/gtkplug.c: Add an unrealize handler so that
	we unref plug->socket_window when we are done
	with it.

Fri Sep  3 14:52:54 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (clear_area): Fix stupid signedness
	 problem that was causing background to sometimes
	 be misaligned.

Fri Sep  3 12:26:33 1999  Owen Taylor  <otaylor@redhat.com>

	[ Fixes pointed out by Ettore Perazzoli <ettore@comm2000.it> ]
	
	* gtk/gtkmenu.c (gtk_menu_position): Make
	 sure we never position menus with negative x, y,
	 since gtk_widget_set_uposition() can't handle that.

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu):
	 Modify the positioning code a bit so that we always
	 put the top-left corner onscreen. (This is for
	 UI reasons, gtk_menu_position() now takes care of
	 gtk_widet_set_uposition() brokeness.)

Fri Sep  3 16:04:41 1999  Tim Janik  <timj@gtk.org>

	* gtk-config.in (--version): don't echo @GTK_VERSION@, but
	@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@, so the
	AM_PATH_GTK() macros don't get confused by the -pre1.

Fri Sep  3 03:06:30 1999  Tim Janik  <timj@gtk.org>

	* configure.in: changed version number to 1.2.5-pre1,
	interface age 0, binary age 5. we still require Glib-1.2.4 though.
	
	* gtk/Makefile.am: fixed up things for -jx, x > 1.
	
	* NEWS: updates for 1.2.5.

Sun Sep  5 08:48:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_modify_style): Ref the
	  RC style that is passed in. The lack of the ref
	  before was a bug. If people worked around this
	  bug, this will introduce a slight memory leak
	  in their code. The code should typically look like:

	    rc_style = gtk_rc_style_new ();
	    [...]
	    gtk_widget_modify_style (widget, rc_style);
	    gtk_rc_style_unref (rc_style);

	* gtk/gtkwidget.c (gtk_widget_modify_style): Reset
	  the style if it was already set.

	* gtk/gtkwidget.c (gtk_widget_set_name): Only set the
	  style if it was set before.

Sun Sep  5 08:10:53 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkfont.c (gdk_font_hash_insert): Add
	  name => font and name => fontset hashes. The 
	  name => fontset hash is a _big_ win since we
	  weren't previously caching fontsets at all and loading
	  fontsets is expensive. The name => font hash
	  is less of a win, but it does save us from doing
	  repeated XQueryFont calls on the same font.

	* gdk/gdkprivate.h (struct _GdkFontPrivate): Add a names
	  list so we can remove font/fontset from hash.

Thu Sep  2 19:02:37 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkproperty.c (gdk_atom_intern): Remove useless
	  and slightly confusing test. [ XInternAtom (,,TRUE)
	  will never return None ].

	* gtk/testgtk.c (main): Add a check to see if we
	  are being run from the correct directory and
	  to quit nicely if we are not.

	* gtk/gtkrc.c (gtk_rc_slist_remove_all): Make function
	  static.

	* configure.in (REBUILD): Change check for perl5
	  to check explicitely for v >= 5.002. (5.001
	  does not work with our scripts.)

Thu Sep  2 23:00:03 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkenums.h (GtkWindowPosition): added GTK_WIN_POS_CENTER_ALWAYS.

	* gtk/gtkwindow.c:
	queue resizes unconditionally (gtk_widget_queue_resize will figure
	what to do if the window is not realized).
	(gtk_window_move_resize): only recenter the window
	for GTK_WIN_POS_CENTER_ALWAYS.
	(gtk_window_compute_reposition): handle GTK_WIN_POS_CENTER_ALWAYS in
	the same way as GTK_WIN_POS_CENTER.

Thu Sep  2 22:39:27 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_reposition): check for the last position
	with (!(info->last_flags & GDK_HINT_POS)) instead of
	(!info->last_flags & GDK_HINT_POS).

	* gtk/gtkwindow.c (gtk_window_move_resize): constrain new_width and
	new_height unconditionally, because we use these values even if
	!default_size_changed && !hints_changed.
	comented the (default_size_changed || hints_changed) case with
	respect to resize rejects from the window manager.

	* gtk/gtkwindow.c (gtk_window_move_resize): save info->last values
	in the zvt condition hack, since this includes the window hints, set
	the hints after the handling_resize case.

	* gtk/gtkwindow.c (gtk_window_show): constrain the default size that a
	window is initially shown with to the geometry.

Thu Sep  2 07:38:56 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_move_resize):
	s/size_changed/default_size_changed/g so i know what's
	really going on (frying brain on smaller flame now).

Thu Sep  2 05:47:47 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_move_resize): queue a new resize if
	we have size_changed upon handling_resize. this is a gross
	workaround for the broken zvt widget and should be removed in
	1.3 again (search for FIXME).
	Owen provided an accurate comment for this:

        /* We could be here for two reasons
         *  1) We coincidentally got a resize while handling
         *     another resize.
         *  2) Our computation of size_changed was completely
         *     screwed up, probably because one of our children
         *     is broken. It's probably a zvt widget.
         *
         * For 1), we could just go ahead and ask for the
         * new size right now, but doing that for 2)
         * might well be fighting the user (and can even
         * trigger a loop). Since we really don't want to
         * do that, we requeue a resize in hopes that
         * by the time it gets handled, the child has seen
         * the light and is willing to go along with the
         * new size. (this happens for the zvt widget, since
         * the size_allocate() above will have stored the
         * requisition corresponding to the new size in the
         * zvt widget)
         *
         * This doesn't buy us anything for 1), but it shouldn't
         * hurt us too badly, since it is what would have
         * happened if we had gotten the configure event before
         * the new size had been set.
         */

Sat Sep  4 08:39:26 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_set_geometry_hints)
	  gdk/gdkwindow.c (gdk_window_set_hints):

	Don't omit setting the properties if flags == 0 -
	there may be an existing set of properties there
	already. (Very old bug. Would it be better to
	delete the property instead?)

	* gdk/gdkselection.c (gdk_selection_property_get): Fix 
	  spelling error in comment.

Wed Sep  1 20:46:11 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c: deal properly with the fact that RC
	  style lists may include rc styles more than once.

	* gtk/gtkrc.c (gtk_rc_append_pixmap_path): Removed
	  unused static function.

	* gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Keep a
	  stack of directories of RC files currently being
	  parsed and implicitely add them to pixmap path.
	  
	  This fixes a bug where the directory would get
	  appended then overwritten by pixmap_path declarations.

	  (bug #1462, from Peter Wainright <prw@wainpr.demon.co.uk>)

	* gtk/gtkthemes.c (gtk_theme_engine_unref): Call
	  theme's exit function. (Patch from Peter Wainwright,
	  bug #1454)

	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy):
	  Add a destroy() handler to take care of removing
	  group for menu item. (Fixes bug #1197)

	* gtk/gtkwidget.c (gtk_widget_size_request): Fixed thinko
	  in warning message.

Wed Sep  1 21:27:42 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_move_resize): don't require a server
	roundtrip to figure window's width and height, since we know that
	anyways from widget->allocation.

Wed Sep  1 14:05:30 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkimage.c (gdk_image_new): Use gdk_error_trap_push()
	  to avoid stomping over gdk_error_warnings.

	* gdk/gdkimage.c (gdk_image_new): compute image->bpp
	  as (bits_per_pixel + 7) / 8. This gives the same
	  result as before for multiples of 8, but actually
	  a "reasonable" value for 1bit or 4bit displays.

Wed Sep  1 12:37:44 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_move_resize): Compute
	  the hints after we request the new size.

Wed Sep  1 10:38:37 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_compute_hints): Removed
	  GTK_WIDGET_REALIZED() assertion - we can compute the
	  hints before we are realized.

	* gtk/gtkwindow.c (gtk_window_move_resize): Reorder
	  hint changing so that we have a value of hints_changed
	  when we decide whether to constrain the window size.

	* gtk/gtkwindow.c (gtk_window_move_resize): Spelling fix.

	* gtk/gtkwindow.c (gtk_window_constrain_size): cleanups,
	change back to G_MAXINT.

Wed Sep  1 14:26:45 1999  Pablo Saratxaga <pablo@mandrakesoft.com>

        * po/da.po,configure.in: aded danish file from
        Birger Langkjer <birger.langkjer@image.dk>

Wed Sep  1 06:54:59 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_get_geometry_info): zero initialize
	new GtkWindowGeometryInfo, so fields like GdkGeometry geometry
	contain uncluttered values.
	(gtk_window_compute_hints): simply assert that window is realized
	and that geometry_info is valid, since we rely on this anyways.
	(gtk_window_constrain_size): major cleanups to the code.
	if (flags & GDK_HINT_BASE_SIZE) use geometry's base width and height
	for the base size, instead of the minimums. use 32767 as max width
	and height (like in gtkwindow.c) instead of G_MAXINT.

Wed Sep  1 04:41:25 1999  Tim Janik  <timj@gtk.org>

	* cleaned up the GtkContainer.need_resize flag handling mess, we
	only need to force resize requests when we were prematurely
	realized, or our widget tree was modified when we were temporarily
	hidden. handling these cases directly upon showing the window (i.e.
	while the GdkWindow is still unmapped) avoids the need to wait for
	a configure event response and therefore makes the GUI more snappier
	and avoids blank windows during the roundtrip.

	* gtk/gtkwidget.c:
	(gtk_widget_hide): 
	(gtk_widget_show): don't queue resizes on toplevels, they know how
	to deal with matters.

	* gtk/gtkcontainer.c (gtk_container_queue_resize): set the ->need_resize
	flag directly for not visible resize containers and spare us unecessary
	signal emissions.

	* gtk/gtkwindow.c:
	(gtk_window_realize): if we need to enforce premature size allocation,
	queue a container resize so we are correctly resized later on.
	(gtk_window_init):
	(gtk_window_size_request):
	don't freak around with the ->need_resize flag,
	gtk_container_queue_resize() will care about that.
	(gtk_window_show):
	handle initial resizing issues here, we can handle matters better in
	this place, especially since we know that our GdkWindow is still
	unmapped.
	(gtk_window_move_resize):
	don't care about ->need_resize at all.
	handle size changes properly that occoured while we waited for a
	configure event.

Tue Aug 31 15:58:46 1999  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_set_uposition):
        * gtk/gtkwindow.[hc] (gtk_window_reposition):
        Move the hint setting code from gtk_widget_set_uposition
        to here; set the hints so that we respect any previously
        set geometry hints.

        * gtk/gtkwindow.c (gtk_window_compute_reposition): Don't
        change the window hints here or move the window here,
        let that happen in gtk_window_move_resize().

Tue Aug 31 06:58:52 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_event): when discarding exposes due
	to already queued resizes (and therefore redraws) on a widget, check
	its anchestry as well.

	* gtk/gtkcontainer.c:
	(gtk_container_queue_resize): clear resize widgets for resize
	containers before aborting prematurely. this is especially important
	for toplevels which may need imemdiate processing or their resize
	handler to be queued.
	(gtk_container_dequeue_resize_handler): added new internal function for
	gtkwindow.c.

	* gtk/gtkwindow.c (gtk_window_move_resize): if we are resizing due to a
	configure event, take possible changes in window position into account
	as well.
	if we request a new window size, queue up a resize handler that will
	last until the configure event response arrives.
	combined the ->need_resize case (initial show) with the general size
	(hints) changed case and added even more comments.
	if !auto_shrink, only revert to the old allocation if the new size
	is smaller than the current allocation.

Tue Aug 31 11:55:20 1999  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_set_arg, gtk_window_set_policy,
                           gtk_window_set_geometry_hints
                           gtk_window_set_default_size):
        When hints are set, queue a resize so that the hints will
        be eventually reset on the toplevel.

        * gtk/gtkwindow.c (gtk_window_show): Use
        gtk_window_compute_default_size(). Clear the need_resize flag
        on the initail map so that we don't unnecessarily trigger the
        resize code.

        * gtk/gtkwindow.c (gtk_window_move_resize): Split apart
        into separate functions. Compare the hints we are setting
        with what we set last time so that we can accurately
        tell when we need to reset the hints.

        * gtk/gtkwindow.c (gtk_window_compute_default_size): New
        function to figure out the size from requisition
        and default_size.

        * gtk/gtkwindow.c (gtk_window_constrain_size): Function
        from fvwm to constrain a size to the geometry hints.

        * gtk/gtkwindow.c (gtk_window_compare_hints): New function
        to compare two sets of geometry hints.

        * gtk/gtkwindow.c (gtk_window_compute_hints): Renamed
        from gtk_window_set_hints(), just compute the hints,
        don't set them.

        * gtk/gtkwindow.c (gtk_window_compute_reposition): Move
        code from gtk_window_move_resize() to separate function,
        rationalize a bit.

Tue Aug 31 13:05:03 1999  Owen Taylor  <otaylor@redhat.com>

	* gtkrc.h: Move the ref_count member out of the GtkRcStyle
	structure into a new private structure.

	* gtkrc.c: Split GtkRcStyle into public/private.
	In the private part, add a list of pointers to the
	RcStyle lists this RcStyle participates in.

	* gtkrc.c: When a RcStyle is free, remove all
	lists referencing it from the 
	realized_style_ht hash, and free those lists.
	
	* gtk/gtkrc.c (gtk_rc_clear_styles): Don't call
	gtk_rc_init(), since that adds the default styles
	to the list of parsed RC files again.

	* gtk/gtkrc.c: Use gtk_rc_style_find() consistently.
	
Mon Aug 30 19:00:00 1999 Pablo Saratxaga <srtxg@chanae.alphanet.ch>

	* gtk/gtkfontsel.c: little i18n patch backported from gtk+ 1.3.0
	( now all font properties showing in the font selector are 
	translatable)
	* po/*.po: get the corresponding stringsfrom gtk+ 1.3.0

Sun Aug 29 13:38:59 BST 1999 Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: Minor FAQ Update

Sat Aug 28 14:34:37 BST 1999 Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ update

Thu Aug 26 14:14:42 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_size_allocate): reactivated the sanity
	checks that ensure that a widget's allocation is at least 1 in width
	and height. (GNOME note: this doesn't affect old panel code anymore,
	because GtkSocket will request width and height of at least 1 since
	Fri Jul 23).

	* gtk/gtkwindow.c (gtk_window_realize): if the widget hasn't been
	allocated yet (happens if the user realizes the window prematurely),
	size request and allocate it.
	(gtk_window_size_allocate): guard against guint underflows.

Wed Aug 25 19:01:36 1999  Lars Hamann  <lars@gtk.org>

	* gtk/Makefile.am (gtk_built_sources): reordered stamp-gtk.defs
 	in gtk_built_sources, so gtk.defs gets built prior to all other
 	sources.

Wed Aug 25 15:45:46 1999  Tim Janik  <timj@gtk.org>

	* configure.in: evaluate $PERL for the perl version check. added
	--disable-rebuilds to give the user an option to completely disable
	any source autogeneration rules.

Mon Aug 23 15:05:17 CDT 1999  Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.4

Mon Aug 23 23:16:14 1999  Tim Janik  <timj@gtk.org>

	* configure.in: evaluate $ac_make when checking for GNU Make.

Mon Aug 23 19:11:17 1999  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am:
	invoke indent on gtkmarshal.*. 
	rewrote source generation rules, use COPYING as oldest source tag for
	a piggyback rule to generate all sources from (don't touch it ;).
	major cleanups, strip spaces on build rules for GNU Make.

	* gtk/genmarshal.pl: don't operate on hardcoded filenames but take
	source and target files from commandline arguments. don't invoke indent.

	* gdk/Makefile.am: minor cleanups, strip spaces on build rules for
	GNU Make.

	* docs/Makefile.am: added generation.txt.

	* Makefile.am: require automake 1.4, build README from README.in and
	INSTALL from INSTALL.in in dist-hook.
	
	* README.in:
	* INSTALL.in: new files to autogenerate README and INSTALL from.

	* gtk/COPYING:
	* gdk/COPYING: new files containing the GNU LESSER GENERAL PUBLIC
	LICENSE.

	* configure.in: figure wether we have GNU Make, version update to
	Gtk+ 1.2.4, interface age 2, binary age 4.
	
	* NEWS: updates.

	* docs/generation.txt: minor additions/corrections.

Sat Aug 21 14:07:36 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_real_switch_page): queue_resize
	notebook after switch to avoid drawing problems.
	(Bug#856 Reported by: Theodore Roth <troth@netmagic.net>)
	
	(gtk_notebook_pages_allocate): don't map not visible tab_labels, 
	show them instead. 
	(Bug#1805 Reported by: Dave Cole <dave@dccs.com.au>)

Wed Aug 18 09:20:10 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c:
	we use window->need_resize from configure_event now, to indicate that
	the gtkwindow should keep its allocation (e.g. because the user resized
	the window through window manager handles). resize_count is now reliably
	used to figure whether we got the allocation we requested from the
	window manager.
	configure events get queued as resizes now, the real stuff (size
	computation and allocation) now only goes on in gtk_window_move_resize().
	GtkWindow's requisition now contains its *real* requisition (like all
	other widgets), *not* taking usize into account.
	geometry_info->last_{width|height} is now updated from set_hints() only
	so it always contains the last hints we set for the window manager.
	made some event handlers return TRUE instead of FALSE.
	the overall code should be much more straight forward now, and the
	significant code portions are accompanied by comments now.
	(gtk_window_set_hints):
	removed requisition argument and made it
	fetch the requisition through gtk_widget_get_child_requisition.
	we also don't move the gdkwindow here anymore, gtk_window_move_resize()
	does that now.
	(gtk_window_show):
	ensure that the widget is realized before calling 
	gtk_container_check_resize() (and thus gtk_window_move_resize()), also
	ensure that we got properly size requested and allocated before
	realization.
	(gtk_window_configure_event):
	ignore plain window moves, or reallocate the widget tree through the
	resize queue otherwise.
	(gtk_window_move_resize):
	mostly rewrote this function to figure window manager hints more
	reliably, coalesce window moves and resizes to reduce configure events
	and do actuall size allocations.

Tue Aug 17 07:43:04 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_event): discard expose events for widgets
	that have a resize pending, because a redraw is already queued for them.

	* gdk/gdkevents.c (gdk_event_translate): give a debugging note when
	discarding configure events.

	* gtk/gtkcontainer.c: removed ugly connect_to ::size_allocate signal
	hack to clear resize_widgets.

	* gtk/gtkwidget.c (gtk_widget_size_allocate): call clear_resize_widgets
	for resize containers prior to size allocation. (this is also a bit
	ugly, but avoids side effects for stopped emissions and is thus more
	reliable).
	(gtk_widget_unparent): removed disconnect call for clear_resize_widgets.

	* gtk/gtktooltips.c (gtk_tooltips_paint_window): renamed this
	function from gtk_tooltips_expose, as we connect to ::expose_event
	*and* ::draw now.

1999-08-18  Federico Mena Quintero  <federico@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_ref): Added missing sanity
	checks.
	(gtk_target_list_unref): Likewise.

	* gdk/gdkpixmap.c (gdk_pixmap_unref): g_return_if_fail() the
	refcount is greater than zero.

	* gdk/gdkwindow.c (gdk_window_unref): Likewise.

	* gdk/gdkfont.c (gdk_font_unref): Likewise.

	* gdk/gdkgc.c (gdk_gc_unref): Likewise.

	* gdk/gdkdnd.c (gdk_drag_context_unref): Likewise.

	* gtk/gtkthemes.c (gtk_theme_engine_unref): Likewise.

Tue Aug 17 15:47:07 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar):
	guard against division by zero. (Fixes bug #1339)

Tue Aug 17 10:56:49 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_move_{forward,backward}_word): 
	Prevent the trivial leak of information of allowing
	word motion when the entry is not visible.

Tue Aug 17 10:28:52 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Propagate
	modality to error dialog as well as confirmation dialogs.
	(Bug #1803, reported by Rosanna Wing Sze Yuen)

Wed Aug 11 13:38:26 BST 1999 Tony Gale  <gale@gtk.org>

	* docs/gtkfaq.sgml: FAQ Update

Wed Aug 11 01:04:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktreeitem.c (gtk_tree_item_draw_lines): Honor
	tree->view_lines.
	(gtk-guy-990611-3.patch: Guy Harris <guy@netapp.com>)

	* gtk/Makefile.am (install-data-local): Solaris apparently
	has various troubles with ln -f; use rm first instead.
	(gtk-guy-990611-2.patch: Guy Harris <guy@netapp.com>)

	* gdk/gdkproperty.c (gdk_property_get): Fix assumption
	that format 32 => sizeof(item) == 4. It really is
	sizeof(long).

1999-07-30  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/Makefile.am (stamp-m): Don't `mv' from builddir to srcdir,
	use `cp' followed by `rm' (the `rm' was already there).

July 30, 1999 Elliot Lee <sopwith@redhat.com>
	
	* configure.in: Fix autoconf warnings about cross compilation by
	trying to provide sane defaults for AC_TRY_RUN.
	* docs/Makefile.am: Tell distcheck how to generate the .gif files.
	* gtk/Makefile.am: If we refer to gtkmarshal.[ch] in $(srcdir),
	put them into $(srcdir) when generated. Also add a dependency of
	gtksignal.h on gtkmarshal.h for -j builds. 
	* gtk/gtk(dnd,style,gamma).c: Minor warning fixes.

Wed Jul 28 09:29:19 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_main_iteration_do): Added missing
	GDK_THREADS_{LEAVE,ENTER} pair.
	(From Paul Fisher <pnfisher@redhat.com>)

Fri Jul 23 01:00:15 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtksocket.c (gtk_socket_size_request): asure that the requested
	width and height are always >0 (owen).

Fri Jul 23 00:00:47 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_size_allocate): backed out my recent
	change that assured that a widget's allocated with and height are
	always >1, since this breaks *buggy* panel code. unfortunately this
	back-breaks the gimp's color selector.

	* gtk/gtkdrawingarea.c (gtk_drawing_area_size_allocate): asure that our
	allocation is always >0 in width and height, before sending the
	configure event; this is a *gross* hack to get the gimp back to work.
	
	* marked both cases with TODO-1.3

Wed Jul 21 15:47:39 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c: Don't display wrap indicators when
	text is not editable and word wrap is on.

Wed Jul 21 08:21:40 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): special case
	option menus here as they are not derived from menu shell, assure that
	the option menu has a menu we can add items to.

Tue Jul 20 23:29:48 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_page_allocate): convert allocation->
	width/height to (gint) before calculations and check against < 0 to
	avoid guint wraparounds.

Sun Jul 18 00:35:49 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_size_allocate): ensure that the allocated
	width and height is never zero. sanity check both dimensions against
	32767 and issue a warning if the allocation is greater than that.

Fri Jul 16 22:20:21 PDT 1999 Manish Singh <yosh@gimp.org>

	* ltconfig
	* ltmain.sh: upgrade to libtool 1.3.3

Thu Jul  8 11:30:18 1999  Owen Taylor  <otaylor@redhat.com>

	* INSTALL: Indicate that the --with-glib= configure
	time flag is unsupported.

	* configure.in: Some small fixups for libgno

Wed Jul  7 15:03:30 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_events_pending): Unlock around call
	to g_main_pending() as well.

Wed Jul  7 14:59:01 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_main_iteration): Unlock around
	call to g_main_iteration() - since that will regrab
	GTK+ lock to process events.

Mon Jul  5 20:36:03 1999  Owen Taylor  <otaylor@redhat.com>

	* docs/generation.txt: Added a file that gives
	documenation about the autogeneration process for
	various autogenerated files.
	
Thu Jul  1 15:01:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c
	- Regularize with the rest of GTK+ by making widget->requisition
	  not reflect the set_usize()
	- Always recompute geometry hints, then check if they
	  changed before sending them to the X server. The
	  previous checks for changes would fail in a number
	  of circumstances. 

Thu Jul  1 11:55:59 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c: Include <stdlib.h> for strcmp().

Wed Jun 30 19:26:36 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c:
	- Code cleanups
	- Instantaneously update on modifier key presses
	- Allow cancellation of the drag with Escape.

Tue Jun 29 23:02:42 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_x_error / gdk_x_io_error): Don't
	core dump at all on X IO errors, only core dump
	if --enable-debug for X errors.

Tue Jun 29 17:04:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtk.c (create_handle_box): Set the policy
	to auto_shrink - otherwise the appearance is rather
	strange when flipping between horizontal and vertical.

Tue Jun 29 15:59:25 1999  Owen Taylor  <otaylor@redhat.com>

	* configure.in (LIBS): Look for libgmodule in the
	right location.

Mon Jun 28 09:29:52 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c: add ::default_width and ::default_height arguments.
	(gtk_window_set_default_size): don't change a value if it's < 0.
	queue a resize.

Sun Jun 27 11:00:33 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktext.c (gtk_text_insert): don't segfault on NULL inserts.

Mon Jun 28 12:08:25 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (cmpl_completion_fullname): Don't
	add an extra "/" when concating "/" + filename.
	(From Matt Grossman <mattg@oz.net>)

Mon Jun 28 10:57:12 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (draw_cell_pixmap): Reset clip mask
	for fg_gc if we set it for drawing pixmap.

Thu Jun 24 17:06:23 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkevents.c (gdk_event_translate): removed old ""Got event for
	unknown window:" message. disabled ConfigureNotify discarding code,
	because it led to events being processed out of order.

Thu Jun 24 12:22:02 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkglobals.c: preinitialize gdk_error_code to 0.

	* gdk/gdkevents.c (gdk_event_send_client_message_to_all_recurse): since
	we export this function, supress error warnings and don't reset the
	error code in the first half of this function.

	* gdk/gdk.c (gdk_x_error): set gdk_error_code to the actuall X error
	code (instead of just -1) so gdk_error_trap_pop() reveals something
	actually informative about the error that happened.

	* gdk/*.c:
	don't rely on gdk_error_code being -1 if an error occoured, but just
	gdk_error_code != 0.

Thu Jun 24 11:50:07 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkevents.c (gdk_event_apply_filters): advance the filter list
	pointer *before* invoking the filter function, so we at least don't
	crash if a filter is removed that is currently executed. window filters
	*really* need to be made truely reentrant at some point.

Wed Jun 16 20:28:34 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkevents.c (gdk_event_translate): don't segfault for
	window==NULL in ConfigureNotify.

Mon Jun 14 11:10:15 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkevents.c (gdk_event_translate): print the atom name in the
	PropertyNotify debug messages.

Thu Jun 17 13:57:31 1999  Owen Taylor  <otaylor@redhat.com>

	* docs/gtk_tut.sgml: Removed references to
	code examples in my directory on gtk.org as
	they should all be in the tutorial now.

	* docs/gtk_tut.sgml: Added sources for dial-test
	and scribble-xinput programs that were previously
	missing.

Tue Jun 15 12:45:12 1999  Owen Taylor  <otaylor@redhat.com>

        Fixes from Peter Wainwright <prw@wainpr.demon.co.uk>
	
	* gtk/gtkrc.c (gtk_rc_parse_engine): If rc_style->engine is
	already set, call old engine's destroy function and
	unref the old engine.

Thu Jun 10 17:59:38 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkdrawingarea.c (gtk_drawing_area_size): queue a resize.

Wed Jun  9 15:13:16 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelgroup.h: mark certain functions as internal.

Wed Jun  9 13:48:28 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkpreview.c (gtk_preview_set_expand): queue a resize if the
        expand behaviour changed.

        * gtk/gtklabel.c (gtk_label_set_pattern):
        (gtk_label_set_justify):
        (gtk_label_set_line_wrap):
        don't bother invoking queue_clear, the reallocation does
        that for us, always free_words so the upcoming resize will
        relayout the label's contents.

Wed Jun  9 12:50:48 1999  Tim Janik  <timj@gtk.org>

        * applied argument implementation patches from Elena Devdariani
        <elena@cogent.ca>.

        * gtk/gtktoolbar.c: ::orientation, ::toolbar_style, ::space_size,
        ::space_style, ::relief
        * gtk/gtkruler.c: ::lower, ::upper, ::position, ::max_size
        * gtk/gtkpreview.c: ::expand
        * gtk/gtkpaned.c: ::handle_size, ::gutter_size
        * gtk/gtknotebook.c: ::homogeneous
        * gtk/gtklabel.c: ::wrap
        * gtk/gtklist.c: ::selection_mode
        * gtk/gtkhandlebox.c: ::handle_position, ::snap_edge
        * gtk/gtkcurve.c: ::curve_type, ::min_x, ::max_x, ::min_y, ::max_y
        * gtk/gtkcolorsel.c: ::update_policy, ::use_opacity
        * gtk/gtkclist.c: ::sort_type
        * gtk/gtkcheckmenuitem.c: ::active, ::show_toggle
        * gtk/gtkaspectframe.c: ::xalign, ::yalign, ::ratio, ::obey_child

Fri Jun  4 00:08:59 1999  Owen Taylor  <otaylor@redhat.com>

	* TODO: Added entry about menu keyboard navigation, removed
	some finished items.

Tue Jun  1 23:38:38 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c: Removed ill-thought-out part of last
	comment.

Tue Jun  1 23:30:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_attach): Get the reference
	counting right when we have to attach a new style
	for a different visual. (Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)

	* gtk/gtkstyle.c: Documented the refcounting
	peculularities of gtk_style_attach.

1999-06-01  Tim Janik  <timj@dhcpd7.redhat.com>

	* gtk/gtkwindow.c (gtk_window_new): added return if fail for invalid
	window types.

	* examples/packer/pack.c (main): use GTK_WINDOW_TOPLEVEL instead
	of GTK_TOPLEVEL for creating the window.

1999-06-01  Tim Janik  <timj@dhcpd7.redhat.com>

	* gtk/gtkmain.c (gtk_init_check): don't segfault when --gtk-module is
	the last argument (reported by Per Winkvist).
	
Mon May 31 00:11:24 1999  Owen Taylor  <otaylor@redhat.com>

	* acinclude.m4: Standardize on func_dgettext
	not func_gettext, so that the checks for dgettext
	actually are paid attention to.

Sat May 29 11:17:29 PDT 1999 Manish Singh <yosh@gimp.org>

	* docs/Makefile.am: add Changes-1.2.txt to EXTRA_DIST

	* acinclude.m4
	* config.guess
	* config.sub
	* ltconfig
	* ltmain.sh: upgrade to libtool 1.3.2
	
Tue May 25 13:13:12 1999  Owen Taylor  <otaylor@redhat.com>

        Fixes for invisible XOR lines (Frank Loemker
	<floemker@TechFak.Uni-Bielefeld.DE>)
	
	* gtk/gtkclist.c (gtk_clist_realize): Always use
	a non-zero pixel for GDK_XOR.

	* gtk/gtkvpaned.c gtk/gtkhpaned.c: 
	Use GDK_INVERT instead of GDK_XOR.

Wed May 12 21:56:40 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (adjust_adjustments): signal emit value_changed
	signals if h/voffsets differ from adjustment values.
	Reportet by Jerome Bolliet <bolliet@in2p3.fr>

Mon May 10 22:20:06 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

	* GTK+ is as easy as 1.2.3...

Mon May 10 04:20:41 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): propagate
	::selection-done emissions up to the topmost menu shell.

Fri May  7 10:15:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_set_scrollable): Unset
	the user data on the window before destroying it.

	* gtk/gtknotebook.c (gtk_notebook_unrealize): Add an
	unrealize handler to take care of destroying 
	notebook->panel properly. 
	(Bug #1198 - Morten Welinder <terra@diku.dk>)

	* gtk/gtktext.c (expand_scratch_buffer): Fix reversal
	of g_new and g_realloc to stop memory leak. (Actually,
	we could just use g_realloc(), but I'm not 100% sure
	that is portable).
	(Bug #1196 - Morten Welinder <terra@diku.dk>)

Wed May  5 22:51:06 1999  Owen Taylor  <otaylor@redhat.com>
	
        Patch from Sung-Hyun Nam <namsh@lgic.co.kr>
	
	* gdk/gdkim.c: Fix cut-and-paste errors for 
	x/y and PreeditAttributes/StatusAttributes.

Wed May  5 22:24:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_set_geometry_hints): Change
	G_MAXINT to 2^16 to alleviate overflow problems in
	various window managers.

Wed Apr 21 00:42:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkplug.h: Removed stray GtkPlugButton declaration.

	* gdk/gdkfont.c (gdk_text_measure): Fix the return value
        for fontsets.

	* gtk/gtkbutton.c (gtkbutton_expose): Fix warning
	with bin/button confusion.

Thu May  6 04:53:26 1999  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c: in the ItemFactory test, link radio items together,
	and show how preselection of radio items is done.

Sun May  2 13:31:14 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktreeitem.c (gtk_tree_item_set_subtree): 
	* gtk/gtktree.c (gtk_tree_add) (gtk_tree_insert):
	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): 
	* gtk/gtkpaned.c (gtk_paned_pack2) (gtk_paned_pack1):
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_add): 
	* gtk/gtktable.c (gtk_table_attach): 
	* gtk/gtklist.c (gtk_list_insert_items): 
	* gtk/gtkmenushell.c (gtk_menu_shell_insert): 
	* gtk/gtknotebook.c (gtk_notebook_insert_page_menu): 
	* gtk/gtkpacker.c (gtk_packer_add_defaults) (gtk_packer_add): 
	* gtk/gtkbin.c (gtk_bin_add): 
	* gtk/gtkbox.c (gtk_box_pack_start) (gtk_box_pack_end): 
	* gtk/gtkfixed.c (gtk_fixed_put): 
	* gtk/gtklayout.c (gtk_layout_put):
	general fixups to container_add logic. always realize child if
	child->parent is realized, only map the child and queue a resize
	if child and child->parent are both visible.

Fri Apr 30 09:02:28 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_real_unrealize): use gtk_container_forall
	instead of gtk_container_foreach to walk and unrealize children, so
	composite children get also unrealized.
	(gtk_widget_real_show): don't call gtk_widget_map() if we don't need to.
	(gtk_widget_map): assert that the widget is visible (basic constrain).
	(gtk_widget_real_map): assert that the widget is realized (basic
	constrain).

Fri Apr 29 00:53:20 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkbindings.c (gtk_pattern_spec_init): plugged a memory leak.

Wed May  5 12:42:01 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
	Initialize size_hints.x and size_hints.y because kwm
	brokenly pays attention to them.
	(Bug #1181 -  Lars Heete <hel@admin.de>)

Wed May  5 11:38:56 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the 
	return value of gdk_list_visuals(). 
	(Bug #1193 - Morten Welinder <terra@diku.dk>)

Wed May  5 10:47:54 1999  Owen Taylor  <otaylor@redhat.com>

	* configure.in (LIBS): Add $INTLLIBS into $LIBS
	directly, rather than repeating the checks for
	gettext.

	* INSTALL: Added information about gettext and
	NLS support.

	* acinclude.m4 (LIBM): Check for dgettext, not
	just gettext. This should hopefully fix things wrt
	systems with old versions of GNU gettext installed.

Tue May  4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org>

	* gdk/gdkim.c (gdk_im_real_open): cast the return value of
	XSetIMValues to (void *) when comparing to NULL, to workaround
	the problem of some compilers barfing since older X headers don't
	have the prototype for it.

Tue May  4 09:32:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc
	file for iso-8859-2 locales.

	* configure.in (ALL_LINGUAS): ALL_LINGUAS update.

Tue Apr 27 16:38:32 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am: Fix typo of static_sources for static_SOURCES.
	 (Pointed out by andy@rz.uni-karlsruhe.de and others).
	 Remove some suspicious and useless lines. 

Tue May  4 08:44:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (gtk_clist_draw, draw_rows): Use 
	width,height = 0, 0 to mean - here to edge of window,
	instead of -1, -1, since the former is all we support.

Tue May  4 08:34:43 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_main): Correctly free list nodes
	when removing from quit_functions list.

Mon Apr 19 10:11:12 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkcolor.c (gdk_colormap_new): Fix memory leak
	for pseudocolor where colormap->colors was double
	allocated.

	* gdk/gdkcolor.c (gdk_colormap_alloc1): Store the
	color value in the hash table with the pixel filled
	in so when we do later hash table lookups, the color
	value is correct.
	
Sun May  2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>

	* gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
	making the call

Sat May  1 11:04:12 PDT 1999 Manish Singh <yosh@gimp.org>

	* acinclude.m4
	* config.guess
	* config.sub
	* ltconfig
	* ltmain.sh: upgrade to libtool 1.3

Tue Apr 27 14:17:16 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkpacker.c (gtk_packer_size_request): remove unused variable.

Tue Apr 27 18:23:35 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): 
	 When redrawing characters on non-visible entry, use appropriate
	 '*' character. (Bug #1130 - Jean-Marc Jacquet <jm@littleigloo.org>)

Tue Apr 27 11:17:35 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (xdnd_set_{targets,actions}): Fix leak
	pointed out by Morten Welinder <terra@diku.dk>.

Tue Apr 27 01:31:40 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (drag_dest_cell): compute destination cell
	from drag coordinates.
	(gtk_clist_drag_data_received) (gtk_clist_drag_motion):
 	use drag_dest_cell.

	* gtk/gtktree (drag_dest_cell)
	(gtk_ctree_drag_data_received) (gtk_ctree_drag_motion): likewise.
	(Bug #1129)

Wed Apr 21 21:26:11 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_init): properly initialize
	translate_* fields.
	(gtk_item_factory_finalize): invoke translate_notify independant from
	translate_data.
	(gtk_item_factory_set_translate_func): likewise.
	(gtk_item_factory_destroy): only remove ifactory pointer from those
	widgets that belong to us (stupid me).

Wed Apr 21 14:20:22 1999  George Lebl  <jirka@5z.com>

	* gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
	  default filter from the list

Mon Apr 19 12:05:31 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_style_init): Fixed leak of
	rc_style list when lookup succeeeds.

1999-04-18  Tomas Ogren  <stric@ing.umu.se>

	* gtk/gtkrc.c: Add a / before the directory name to keep directory
	names from eachother. (Already fixed in 1.3.x)

Fri Apr 16 20:41:43 PDT 1999 Manish Singh <yosh@gimp.org>

	* gdk/gdk.c: #include "gdkkeysyms.h" for gdk_XConvertCase #defines

	* gtk/gtkfontsel.c (gtk_font_selection_create_xlfd): use
	g_strdup_printf instead of calcing the length separately

Thu Apr 15 01:11:24 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (resync_selection): 
	* gtk/gtkclist.c (resync_selection): fixed undo_selection bug.
	* gtk/gtkclist.c (gtk_clist_button_release): fixed resync_selection
 	bug.

Tue Apr 13 17:14:28 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.2

Tue Apr 13 02:49:33 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c: removed some silly #ifdef HAVE_CONFIG
	that we don't do in many other places. (Fixing duplicate 
	#include of config.h)

	* gdk/gdkevents.c: include gdkinput.h _after_ config.h.
	Otherwise, #ifndef XINPUT_NONE check in the latter
	doesn't work. (Bug #546)

Sun Apr 11 15:08:27 1999  Tim Janik  <timj@gtk.org>

	* configure.in: bumped version number to Gtk+ 1.2.2, interface 0,
	binary 2.
	
	* NEWS: updates.

Sun Apr 11 14:38:03 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): check for color
	"None" case insensitive.

Fri Apr  9 19:22:19 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c gtk/gtkdnd.c gtk/gtkmenuitem.c:
	Add some missing GDK_THREADS_ENTER()/LEAVE around
	timeouts. (Patches from Sebastian Wilhelmi <wilhelmi@ira.uka.de>)

Thu Apr  8 20:10:33 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkentry.c (gtk_entry_key_press): use gtk_widget_activate()
	rather than emit_by_name.

	* gtk/gtkeditable.c (gtk_editable_insert_text): keep a reference
	on the widget across multiple signal emissions.
	(gtk_editable_delete_text): same here.
	(gtk_editable_class_init): set widget_class->activate_signal after
	editable_signals[ACTIVATE] has been created.

Wed Apr  7 22:59:47 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_set_position): Don't clamp
	position here prematurely -- we might not have the
	right ->min_position and ->max_position yet.

Tue Apr  6 16:38:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c gdk/gdkselection.c: (gtk_selection_request):
	Add error traps so if the other end of the connection
	dies, we survive.

	* gtk/gtkselection.c (gtk_selection_notify): Clean
	up properly when selection property retrieval fails.
	
	* gtk/gtkselection.c (gtk_selection_request): Correctly
	reject SelectionRequest notifies where the handler
	returns no data.

Tue Apr  6 12:24:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_dest_leave): Only unhighlight
	when we've previously highlighted.

	* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Don't
	emit two "drag_leave" signals for Motif drops.

	* gtk/gtkdnd.c (gtk_drag_source_handle_event): Send
	back the correct status messages when dropping from
	Motif onto a proxy window that is rejecting the
	drop.

	* gdk/gdkdnd.c (gdk_drag_motion): Separate out the
	dest_xid field into two fields - one for the window
	to send in messages, one to indicate the last looked
	up window for caching purposes. This is needed, so
	that Leave messages get the correct window.

Mon Apr  5 17:11:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): Check 
	explicitly for the string "None" - it is in the XPM
	spec and some servers treat unknown colors in odd ways
	(like asking the user!)

Mon Apr  5 13:21:30 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c (gdk_event_check, gdk_event_prepare):
	Fix warning created by people mucking around
	with the gsource API.

	* gdk/gdkevents.c (gdk_io_invoke, gdk_input_add_full):
	Change mapping between GIOCondition and GdkInputCondition
	to match the way the Linux kernel does it. This should
	fix problems where closed pipes were no longer signalling
	GDK_INPUT_READ on systems with a native poll().

Thu Apr  1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>

	* gdk/gdkevents.c: made "->" into a "." of previous change so
	it compiles

	* gtk/gtkfontsel.c: added braces enclosing an if-else construct

	* autogen.sh: add --enable-maintainer-mode

	* configure.in: set ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"

Thu Apr  1 18:41:25 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c (gdk_compress_exposures): Set the
	window field of the event structure before calling
	user filters.

Wed Mar 24 23:03:49 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.1

	* docs/gtk-config.1.in:
	  docs/Makefile.am:
	  configure.in: gtk-config is now generated.

	* docs/gtk-config.1: Removed, now generated.

1999-03-31  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdk/gdk.c (gdk_init_check): Use False as the last argument to
	XInternAtom() here.  This is a particularly Old And Nasty(tm) bug.

Sat Mar 27 23:32:13 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkarg.[hc]: added functions from GLE, gtk_arg_reset() to free
	the value and reset type to GTK_TYPE_INVALID, and gtk_arg_values_equal()
	to compare two argument values. added gtk_arg_to_valueloc() to set a
	variable from an arg through its location (pointer).

	* gtk/gtkobject.[hc]: implemented gtk_object_get() in terms of
	gtk_object_arg_get() and gtk_arg_to_valueloc(), floats are collected
	as gfloat*, uchars are collected as guchar*, ints are collected as
	gint*, etc...

Mon Mar 29 17:45:47 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccelgroup.c gtk/gtkgtkbindings.c:
	Include <string.h> instead of <strings.h>.

	* gtk/gtkstyle.c: Fix double include of gtkthemes.h
	(actually, a lot more duplicate includes occur if
	 you trace through the sequence of #include's)
	gtk-jbb-990320-0: John Bley, jbb6@acpub.duke.edu
	
Mon Mar 29 17:31:52 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkim.c (gdk_mbstowcs): Free the value of the
	intermediate text property - prevents major memory
        leak when gdk_use_mb.
	gtk-d3august-990311-0: Bj|rn Augustsson <d3august@dtek.chalmers.se>

Mon Mar 29 17:02:58 1999  Owen Taylor  <otaylor@redhat.com>

        Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
	gtk-a-higuti-990322-[0-3]

	* gdk/gdkfont.c (gdk_text_extents_wc): Make  work when
	sizeof(wchar_t) != sizeof (GdkWChar)

	* configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS
	that was causing -DX_LOCALE not	to work.

	* gtk/gtkrc.c (gtk_rc_init):
	X_LOCALE will never have LC_MESSAGES defined

	* gdk/gdk.c (gdk_init_check):
	Remove --xim-preedit and --xim-status from argv properly.

	* gdk/gdkim.c (gdk_ic_real_new): Add a gdk_flush() so
	that the client window is present on the X server
	before we pass it to the input method.

Tue Mar  9 10:46:49 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (motif_find_drag_window): Fix bug where
	if --display is specified on the command line, than
	the drag window will not be created on that display.
	
Tue Mar  9 10:38:24 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkproperty.c (gdk_atom_intern): Fixed bug where
	lookups with only_if_exists == TRUE were inserting
	bogus values into the atom cache.

Thu Mar 25 12:38:31 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkrc.c (gtk_rc_append_default_module_path): get $HOME from
	g_get_home_dir() (gtk-pmc-990123-0.patch.gz).

	* gtk/gtkwindow.c (gtk_window_key_press_event): feature keypad up/down/
	left/right as well (gtk-michael-980726-0.patch.gz).

	* gtk/gtklabel.[hc]: bunch of miscellaneous cleanups, such as s/0/NULL/
	for pointer values, use gchar instead of char. fixed uline allocation
	leaks, changed the allocation pattern so we use G_ALLOC_AND_FREE mem
	chunks instead of G_ALLOC_ONLY.
	(gtk_label_size_request): always alter requisition as passed and leave
	widget->requisition alone.
	(gtk_label_set_text): allow NULL strings.
	(gtk_label_new): likewise.

Wed Mar 24 23:03:49 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.1

	* INSTALL:
	  README:
	  sanity_check: Updated.

	* docs/gtk-config.1.in:
	  docs/Makefile.am:
	  configure.in: gtk-config is now generated.

	* docs/gtk-config.1: Removed, now generated.

Wed Mar 24 09:24:03 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkdrawingarea.[hc]: type/macro fixups.

Mon Mar 22 05:51:34 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkbin.c (gtk_bin_draw): only redraw children that are visible
	*and* mapped (i.e. drawable).
	(gtk_bin_expose): only send exposes to drawable children.

	* gtk/gtkbox.c (gtk_box_draw): only redraw children that are drawable.
	(gtk_box_expose): only send exposes to drawable children.

	* gtk/gtkhscale.c (gtk_hscale_draw): 
	* gtk/gtkvscale.c (gtk_vscale_draw):
	hm, this is an ugly one. we first compute the size of our trough area
	here (window relative) and then check intersection with the draw_area
	which is parent relative because we're a NO_WINDOW widget, so we need
	to offset the trough area by allocation.x and allocation.y before the
	check. (this must not be done for the background area though, since
	that's already computed parent relative).

Mon Mar 22 00:41:39 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_unrealize): unmap clist if neccessary,
	unrealize title buttons.

Fri Mar 19 16:45:27 PST 1999 Manish Singh <yosh@gimp.org>

        * acinclude.m4
        * config.guess
        * config.sub
        * ltconfig
        * ltmain.sh: upgrade to libtool 1.2f

        * autogen.sh: libtool is not required to autogen gtk+

        * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
        needed)

Fri Mar 19 00:00:22 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_column_title_passive)
	(gtk_clist_column_title_active): 
	only connect/disconnect to GtkWidgetClass::event to block mouse events.

	* gtk/gtkclist.c (vertical_timeout) (horizontal_timeout): 
	zero initialize event, removed superfluous gdk_window_get_pointer call

	* gtk/gtklist.c (gtk_list_vertical_timeout)
	(gtk_list_horizontal_timeout): removed superfluous
 	gdk_window_get_pointer call

Wed Mar 17 09:00:00 1999  Tim Janik  <timj@gtk.org>

	* plugging problems reported by "Bruce Mitchener, Jr."
	<bruce@puremagic.com> due to a purify session.

	* gtk/gtkstyle.c:
	(gtk_style_ref): 
	(gtk_style_unref): assert ref_count to be > 0.

	* gtk/gtkclist.c (gtk_clist_set_cell_style): { 0 } initilaize
	the requisition.
	(gtk_clist_set_shift): likewise.

	* gtk/gtklayout.c: introduce gtk_layout_finalize() to unref the
	adjustments.

	* gdk/gdkselection.c (gdk_selection_property_get): first XFree(t),
	then reset it to NULL.

	* gtk/gtklist.c (gtk_list_horizontal_timeout): zero initialize the
	event before sending it and set send_event to TRUE (which needs to
	be done for *all* synthesized events).
	(gtk_list_vertical_timeout): likewise.

	* gdk/gdkcolor.c:
	(gdk_colors_free): 
	(gdk_colormap_free_colors): use colormap->colors[in_pixels[i]] as the
	key for g_hash_table_remove() in both functions, this prevents us
	from accessing possibly uninitialized portions of a GdkColor structure
	where we are only interested in its pixel value.

	* gtk/gtktipsquery.c (gtk_tips_query_destroy): plug small memory
	leaks.

	* gtk/gtkdrawingarea.c (gtk_drawing_area_send_configure): set send_event
	to TRUE when synthesizing events.

Wed Mar 17 00:44:23 1999  Tim Janik  <timj@gtk.org>

	* configure.in: bumped version number to Gtk+1.2.1, interface 0,
	binary 1.
	
	* NEWS: updates.

	* gtk/gtkfeatures.h.in: added GTK_CHECK_VERSION(major,minor,micro)
	macro to test for specific gtk versions, e.g.
	#if GTK_CHECK_VERSION (1,2,1)
	    gtk_menu_ensure_uline_accel_group (menu);
	#endif /* Gtk+1.2.1 */
	this macro will return whether the Gtk+ header files are from version
	major.minor.micro or _newer_, as opposed to gtk_check_version() which
	requires an exact match for binary compatibility.
		
Tue Mar 16 17:43:33 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
	item factory class has been created.
	(gtk_item_factory_parse_rc): likewise.

	* gtk/gtkmenu.c:
	keep proper references for old_active_menu_item.
	(gtk_menu_reparent): unset the usize of the new parent,
	so the menu can sanely be size requested and we don't get nasty screen
	artefacts upon next reparentation.
	(gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
	enter notify. only synthesize enter notifies if the pointer really is
	inside the event window.
	(gtk_menu_popdown): use gtk_menu_shell_deselect().
	(gtk_menu_popup): move the background setting stuff into
	gtk_menu_tearoff_bg_copy() so it can be called from other places as well.

	* gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
	gtk_menu_shell_select_item() to select the new item.
	(gtk_menu_shell_deselect): export this function, so gtkmenu.c can
	do the right thing for deselection as well.

Sat Mar 15 20:10:33 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.[hc]:
	(gtk_widget_accelerators_locked): return whether a widget's accelerators
	are locked.

        * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
	existing accelerators if the widget's accelerators are locked.

Sat Mar 14 19:44:05 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.

	* gtk/gtkmenu.c: truely forward key press and key release events to
	the menu widget from the toplevel or tearoff window. we can't simply
	connect to that, we need to stop further processing of the events as
	well.

Sat Mar 13 13:14:17 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenu.c:
	(gtk_menu_key_press): pass event->keyval, event->state to
	gtk_accelerator_valid, instead of event->keyval twice.
	refuse to install single letter accelerators for menus that use
	single letter shortcuts.

	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
	gtk_menu_ensure_uline_accel_group().

	* gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
	which will always return an uline accel group, made
	gtk_menu_get_uline_accel_group() return NULL if the group isn't
	yet created.

Mon Mar 15 01:03:27 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.

	* gtk/gtkclist.c (gtk_clist_column_title_passive):
	Leave button sensitive, trap  button_press, button_release,
	motion_notify, enter_notify and leave_notify events instead.
	(gtk_clist_column_title_active): disconnect event handler.
	(gtk_clist_drag_data_get): fixed memory leak. Reported by
	Guillaume Laurent <glaurent@worldnet.fr>	

Mon Mar 15 03:39:47 1999  George Lebl  <jirka@5z.com>

	* gtk/gtkdnd.c: (gtk_drag_highlight) swap the
	  gtk_drag_highlight_expose and gtk_drag_highlight_paint since
	  it was connecting a void function to expose_event and the int
	  returning function to the draw signal

Wed Mar 10 23:49:55 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
	width/height mixups.
	
	* gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
	if needed.

Wed Mar 10 02:07:31 1999  Tim Janik  <timj@gtk.org>

	* merged from 1.3:
1999-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
	the number of calls to gdk_draw_point() (and thus to X) by
	clipping the points by hand.

	* gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
	the clip parameter.
	(gtk_handle_box_paint): Only paint the handle if the expose area
	intersects it.

Wed Mar 10 00:11:32 1999  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c (create_item_factory): unref the item factory after
	window's destruction.

	* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
	count on the menu shell around the menu item's activation, since the
	signal emission may cause menu shell destruction.

	* gtk/gtkitemfactory.c:
	the previous code leaked one accel group per menu. we use
	gtk_menu_get_uline_accel_group() now to fix that, and with that
	also create the underline accelerator group of the menus only if
	required (i.e. an underline accelerator has been specified).
	(gtk_item_factory_construct):
	(gtk_item_factory_create_item): removed code that would create an
	extra accel group for the menu (and leak references).
	(gtk_item_factory_create_item): adapted the underline accelerator
	installation code to properly feature gtk_menu_get_uline_accel_group().

	* gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
	menu->accel_group, this may return NULL if the accelerator group
	hasn't been set yet.
	added gtk_menu_get_uline_accel_group() to retrive the underline
	accelerator group of the menu, this will be created on demand
	and proper care is taken about its reference count.

	* gtk/gtkitemfactory.h:
	* gtk/gtkitemfactory.c:
	dumped the approach of keeping a widgets by action list on the
	factory since the factory<->widget destroy negotiation didn't work
	and would be hard to get going at all. instead we keep a list of
	GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
	persistant throughout a program's life time).
	also, i removed the static const gchar *key_* variables, and made
	them inline strings (they weren't actually used anyways).
	(gtk_item_factory_add_item): update ifactory->items.
	(gtk_item_factory_destroy): destroy ifactory->items (and remove
	the item factory pointer from the remaining ifactory widgets).
	(gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
	list to find the widget.
	(gtk_item_factory_get_item): new function that works around
	gtk_item_factory_get_widget() limitations, this function will only
	return menu items, even for <Branch> entries.

Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
	font hash table, if we have a GdkFontPrivate entry for this font
	already, simply increment its reference count, provided by Olaf Dietsche
	<olaf.dietsche+list.gtk@netcologne.de>.

	* gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
	provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.

Sun Mar  7 06:13:29 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c:
	(gtk_container_add_with_args): 
	(gtk_container_addv): 
	(gtk_container_add): before adding a child to a conatiner, make sure
	it is (default) constructed, this is neccessary because under certain
	circumstances the child will get relized and mapped immediatedly, in
	which case it has to be constructed already.

Mon Mar  1 17:58:21 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
	values > 1 as TRUE also.

Wed Feb 24 05:27:44 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.2.0

	* AUTHORS: updated
	
Wed Feb 24 05:26:20 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkitemfactory.h: added a dummy gpointer to 
	  GtkItemFactoryClass for Tim Janik.

Mon Feb 22 21:22:11 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcontainer.h gtk/gtkwidget.h: Added some
	  padding to class structures to allow addition
	  of signals without breaking binary compatibility.

Thu Feb 25 13:38:38 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): still
	request the extra width or height if the corresponding scrollbar is
	already visible (the change from 09:50 needs to apply to policy ==
	GTK_POLICY_AUTOMATIC only).

Thu Feb 25 11:27:36 1999  Tim Janik  <timj@gtk.org>

	* TODO: updates, i left the text widget related portions in there,
	to serve as a guide line for things to watch out for when it gets
	reimplemented.

Thu Feb 25 09:50:38 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): don't add
	extra width or height if the requested size is mandatory (i.e. set
	through child->usize).

Thu Feb 25 02:13:20 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkmenu.[ch]: New function gtk_menu_reorder_child()
	  from Tim Janik.  

Thu Feb 25 00:48:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c: Don't access *bitmapped_sizes
	if nbitmapped_sizes == 0. (Pointed out by
	zucchi@zedzone.fsi.com.au (Michael Zucchi))

Wed Feb 24 23:12:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.h gtk/gtkclist.c: Make prototypes 
	for drag_data_get and drag_data_received handlers
	match the types used for gtk_singal_new; time needs
	to be a uint, not a uint32. 
	
Wed Feb 24 20:34:59 1999  Owen Taylor  <otaylor@redhat.com>

	* README: Changed bug reporting instructions to
	describe using the GNOME bug tracking system.

Wed Feb 24 19:08:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
	mask for the GC if we set it. (Patch from
	Lars Hamann <lars@gtk.org>)

Thu Feb 24 23:58:44 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function
	to check if a specific signal handler connection exists (similar to
	gtk_signal_handler_pending_by_func). and yes, this is a neccessary
	addition, since without this function, signal handlers can not be
	(un)blocked or disconnected in a generic fashion without producing
	g_warnings().
	made gtk_signal_get_handlers() an inline function since it's used in
	a lot of places, especially within signal emission.

Wed Feb 24 19:35:15 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktext.c (gtk_text_key_press): if the widget is not editable,
	don't silently eat up GDK_Return, GDK_Home and GDK_End, return FALSE
	instead so the user can still hook up key bindings.

Wed Feb 24 11:19:12 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_size_request): warn about
	&widget->requisition, even for toplevels.

	* gtk/gtkwindow.c (gtk_window_move_resize): request size into an
	automatic variable and check if our size has changed.
	when we decide to reallocate everything, we need to resize our
	own GdkWindow as well.

	* gtk/gtkmain.c:
	* gtk/gtkobject.c: hack time, make --gtk-debug=objects work even
	after gtk_type_init(), this is to "fix" gnome's arg parsing oddities.

	* gtk/gtktypeutils.h: don't segfault in GTK_CHECK_CLASS_TYPE and
	GTK_CHECK_TYPE upon NULL pointers.

	* gtk/gtklayout.c: removed bogus prototypes of gtk_layout_gravity_works,
	gtk_layout_set_static_gravity, gtk_layout_add_child_cb and
	gtk_layout_remove_child_cb to shut up compiler.
	
	* gtk/Makefile.am: added an empty rule
	gtkrc:
		:
	so make doesn't try to "update" gtkrc from gtkrc.c.

Wed Feb 24 05:53:15 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* gtk/Makefile.am: removed gtkrc rule added by   
	  Sergey Panov, because GTK+ no longer built.  We
	  don't need to install an empty gtkrc anyway.

Wed Feb 24 01:22:39 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* *.[ch]: Added notice to look in AUTHORS and ChangeLog files
	  for a list of changes.

Tue Feb 23 17:52:37 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): fix implicit
	branch creation, we need the *real* parent path for this and
	gtk_item_factory_parse_path() only returns the parent path with "_?"
	stripped off.

1999-02-23  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>

	* gtk/gtkentry.c (gtk_entry_finalize): trivial bugfix

Mon Feb 22 19:06:30 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (xdnd_send_*): When sending events to
	 windows with a proxy, set the window field in the
	 sent event to the original window, not to the proxy.
	 (This gives consistency with Motif, and also provides
	  information to the destination that it wouldn't have 
	  otherwise).
	
	* gtk/gtkdnd.c: Fixed some refcount leaks for windows.

	* gdk/gdkdnd.c (xdnd_send_xevent): When sending
	 Xdnd event to the root window, set the event mask
	 to ButtonPressMask. Hopefully, this should give us 
	 compatibility with kfm, if it uses the Qt style
	 of root window drops.

Mon Feb 22 08:45:10 GMT 1999 Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml:
	  - Complete the ProgressBar API
	  - Fix the CList example code

	* examples/clist/clist.c, examples/progressbar/progressbar.c:
	   Update from tutorial

Sun Feb 21 17:44:52 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtkrc: Removed check-y/check-n backgrounds -
	 the effect looked like a bug.

Sun Feb 21 17:14:44 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_set_geometry_hints): Always
	 set the max width or height to at least 1, since 0 
	 triggers bugs in some window managers. (The window 
	"pops out" of the frame in fvwm)

Sun Feb 21 16:16:22 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c gdk/gdkfont.c gdk/gdkim.c:
	 Changed warnings from g_message() to g_warning().

	* gdk/gdkim.c (gdk_ic_destroy): Changed g_print
	 to g_message within GDK_NOTE()

	* gtk/gtkcolorsel.c  gtk/gtkhandlebox.c:
	 Removed some leftover debugging printfs.

Sun Feb 21 15:59:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
	fact that Xlib expects format == 32 to be a long,
	even on 64-bit architectures.
	
	[ patch from George Lebl (jirka@5z.com) ]

Sun Feb 21 14:46:02 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_init_check):
	  gdk/gdk.c     (gdk_init_check):

	Added initialization variants that return a status
	instead of dying.

Sun Feb 21 14:21:46 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c: removed debugging statements
	about embedded XID's. They could have been
	moved to the new PLUGSOCKET debug key, but they weren't
	really useful anyways.

	* gdk/gdk.h: Added gdk_error_trap_push/pop to provide
	a clean interface to the gdk_error_code functionality
	of trapping X errors.

	* gtk/gtkplug.c gtk/gtksocket.c: Add error
	traps around accesses to foreign windows.

Sun Feb 21 15:37:25 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.h: marked gtk_window_set_focus, gtk_window_set_default,
	gtk_window_remove_embedded_xid and gtk_window_add_embedded_xid as
	internal functions.

Sun Feb 21 11:39:06 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (find_line_containing_point): Revise
	algorithm for scrolling backwards. This one might actually 
	work with one-line-high	Text widgets.

	* gtk/gtkmain.c: Removed a misplaced comment, a few 
	formatting cleanups.

Sat Feb 20 20:59:25 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c: hm, set_modal doesn't really work with random
	gtk_grab_add/gtk_grab_remove calls. either the window user uses
	the set_modal interface or he places grab_add/grab_remove on his own.
	(gtk_window_set_modal): enforce modality state either way.
	(gtk_window_hide): revert previous change.

Sat Feb 20 20:04:48 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcalendar.c (gtk_calendar_button_press): increment years and
	months by two not three on double clicks, patch provided by Nick Lamb
	<njl98r@ecs.soton.ac.uk>.

Sat Feb 20 19:44:36 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c: added ::modal argument.
	(gtk_window_hide): reset window->modal from the current grab state
	(this is only relevant when grab_add/grab_remove is called on the
	window by bypassing gtk_window_set_modal).
	(gtk_window_remove_embedded_xid): 
	(gtk_window_add_embedded_xid): don't use g_print() but g_message()
	within #ifdef G_ENABLE_DEBUG. when the hack got these functions
	added (ChangeLog doesn't know them)?

Fri Feb 19 14:59:45 EST 1999 Sergey Panov  <sipan@mit.edu>

        * gtk/gtkrc,gtk/gtkrc.ja, gtk/gtkrc.ko,
	gtk/gtkrc.ru: Collecttion of the locale dependent
	gtkrc files and

	* gtk/Makefile.am: patched to get that collection
	installed in to $(prefix)/etc/gtk/

Fri Feb 19 17:52:28 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.h: grouped function names into application-level,
	widget-level and non-public.

	* gtk/gtktreeitem.c (gtk_tree_item_size_request): use auto
	pix_requisition instead of item->pixmaps_box->requisition.

Thu Feb 18 17:26:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_queue_clear_area): 
	 When queueing clears relative to widget->window,
	 actually store widget->window so we know that
	 the coordinates are window-relative.

Thu Feb 18 11:46:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk.m4: Fix glib_config_args gtk_config_args
	  confusion. (pointed out by
	  Roland Dreier <droland@mail.math.okstate.edu>)

	* gtk/gtksocket.c gtk/gtkmain.c gtk/gtkdebug.h
	  (gtk_socket_filter_func): Move the plug-socket
	  debugging code to a new "plugsocket" debug keys
	  from the previous hardcoded DPRINTF.

Thu Feb 18 00:54:46 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.c: added widget arg ::titles_active.

Thu Feb 18 00:27:46 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_queue_clear_area): only translate widget
	relative coordinates to window relative if the widget is not a toplevel
	(i.e. it has ->parent != NULL), otherwise the area size gets screwed up
	for toplevels.

Tue Feb 16 14:25:44 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* INSTALL
	  README
	  configure.in
	  gtk+.spec
	  docs/gtk-config.1: version = 1.1.16

	* Makefile.am: removed colorsel example since it
	  doesn't actually exist.

	* Released GTK+ 1.1.16

Mon Feb 15 23:55:27 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtk.c (create_text): Use a ScrolledWindow
	 test how Text widgets work within ScrolledWindow.
	 (POLICY_AUTOMATIC drew very badly, so it uses
	  POLICY_ALWAYS for the vscrollbar)

	* gtk/gtktext.c (gtk_text_unrealize): Free the cache
	 in the unrealize handler. Some code in gtktext.c
	 assumes that if text->line_start_cache is non-NULL,
	 the widget is realized. We'll recompute it again
	 anyways if we later re-realize.

Fri Feb 12 15:47:20 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalender.c gtk/gtkentry.c gtk/gtkhandlebox.c
	  gtk/gtknotebook.c gtk/gtktext.c  gtk/gtkviewport.c 
	  gtk/gtkwidget.c: 

	 When setting styles, remove unecessary explicits draws 
	 and clears.

	* gtk/gtkrange.c: Ugly fix so the steps get the
	 correct background.
	 
Mon Feb 15 22:55:50 1999  Owen Taylor  <otaylor@redhat.com>

	* NEWS: Updated for 1.1.16.

Mon Feb 15 19:36:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_finalize): Free
	 label->label_wc.

Mon Feb 15 18:02:22 1999  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c: Some coding style fixups.

	* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set a flag
	 so that we destroy the icon window that we created
	 when the drag ends.

Thu Feb 11 18:43:12 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbindings.c (gtk_binding_set_add_path): When
	  we find a match, stop searching. (Because we
	  assume pspec != NULL in the search).

Wed Feb 10 01:18:22 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkhandlebox.c (gtk_handle_box_draw_ghost): Fix
	  up painting of "ghosts".

	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): 
	  Add double-click reattachment.

v	* gtk/gtkhandlebox.c: Grab on widget->window,
	  not on handlebox->bin_window. This means we don't 
	  have to worry about ungrabbing while reparenting.

	  Don't make a GTK+ grab - that wasn't necessary.

	* gtk/gtkhandlebox.c: Only compute the root -> desk
	  offset once, when starting the drag, instead
	  of continuously. This should solve the *Bad Window*
	  errors that were occurring because of race conditions
	  with the WM.
	  
	* gtk/gtkhandlebox.c: Completely reworked the 
	  the logic of reattachment. We introduce the 
	  concept of the "snap edge", which is an edge
	  that needs to be aligned for reattachmed.
	  We set a reasonable default from 
	  handlebox->handle_position, but an application
	  might want to change this in some circumstances.

	* gtk/gtkhandlebox.[ch]: Add settors:
            gtk_handle_box_set_handle_position  ();
            gtk_handle_box_set_snap_edge        ();

Mon Feb 15 11:13:01 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_focus): 
	  gtk/gtkwidget.c (gtk_widget_real_grab_focus):

	If the focus widget is the same, but does not currently
	have the focus, call gtk_window_set_focus(). This is needed
	so that click focusing with GtkPlug works correctly.

Mon Feb 15 07:45:28 1999  Tim Janik  <timj@gtk.org>

	* configure.in (--enable-debug): default to yes for development trees.

Fri Feb 12 00:08:01 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtklist.c (gtk_list_remove_items_internal): don't autoselect
	focus_row in case of GTK_SELECTION_EXTENDED

	* gtk/testgtk.c : few changes in list example.

	* gtk/gtklistitem.c (gtk_list_item_class_init): 
	* gtk/gtkctree.c (gtk_ctree_class_init): 
	* gtk/gtkclist.c (gtk_clist_class_init): 
	fixed indentation, removed unused key bindings
	
Wed Feb 10 01:02:46 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (real_remove_row): 
	* gtk/gtkctree.c (gtk_ctree_remove_node): don't autoselect focus_row
	in case of GTK_SELECTION_EXTENDED

	* gtk/testgtk.c : few changes in clist/ctree examples.

Wed Feb 10 15:49:16 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c (gtk_window_class_init):
	* gtk/gtkctree.c (gtk_ctree_class_init): applied patch from Paolo
	Molaro to fix GTK_TYPE_POINTER args of ::tree_collapse and
	::set_focus signals.

	* docs/gtk_tut.sgml: s/menufactory/itemfactory, minor fixups
	to the item factory example.

Wed Feb 10 11:05:53 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c: Reverted coding style "fixups"

Wed Feb 10 10:43:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_set_icon, gdk_window_set_group):
	 Supplement the existing WMNormalHints, don't 
	 overwrite them.

Wed Feb 10 08:35:36 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar): asure that
	->value_buf always points to an allocated area.
	(gtk_color_selection_drag_end): new function hooked up to drag_end to
	destroy the drag_window.

	* gtk/gtkdnd.c: some coding style fixups.

Wed Feb 10 06:47:17 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkwindow.c: various indentation fixes.

	* gdk/gdkevents.c: coding style fixups.
	NULL initialize event_func, event_notify and event_chunk.
	(expose_predicate): made this function static.
	(gdk_event_handler_set): perform destroy notification even if no
	event_func is set.

	* gdk/gdkrectangle.c (gdk_rectangle_union): added g_return_if_fail
	statements.

Sun Feb  7 19:49:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_move_resize): Fixed some
	  bugs with set_default_size.

Sat Feb  6 13:23:51 1999  Owen Taylor  <otaylor@redhat.com>

	* docs/Changes-1.2.txt: Added information about
	 the change to gtk_widget_size_request().

	* gtk/gtkentry.c: Call gtk_widget_get_child_requisition
	 explicitely since we differentiate between the usize
	 set by the user and what we got. (Ugh)

	* gtk/gtkwidget.[ch] (gtk_widget_get_child_requisition):
	 New function to return the effective size of a widget
	 as it looks to its parent.

	* gtk/gtkwidget.c (gtk_widget_size_request): Leave
	 widget->requisition set to exactly what the widget
	 asked for, and then make a copy of that into
	 the requisition argument. Allow a NULL requisition
	 argument, and, if G_ENABLE_DEBUG, warn if
	 requisition == &widget->requisition.

	* gtkalignment.c gtkaspectframe.c gtkbutton.c gtkclist.c
	  gtkcontainer.c gtkentry.c gtkeventbox.c gtkfixed.c
	  gtkframe.c gtkhandlebox.c gtkhbox.c gtkhpaned.c 
	  gtklayout.c gtklist.c gtklistitem.c gtkmenu.c
	  gtkmenubar.c gtkmenuitem.c gtknotebook.c
	  gtkoptionmenu.c gtkpacker.c gtkscrolledwindow.c
	  gtktable.c gtktoolbar.c gtktree.c gtktreeitem.c
	  gtkvbox.c gtkviewport.c gtkvpaned.c gtkwindow.c

	 Avoid calling gtk_widget_size_request with
	 requisition == widget->requisition; use 
	 gtk_widget_get_child_requisition to get the
	 size of children.

Tue Feb  9 19:49:46 1999  Owen Taylor  <otaylor@redhat.com>

	* configure.in (LDFLAGS): Removed extraneous line
	  that crept in in previous commit.

Tue Feb  9 19:39:32 1999  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.[ch] gtk/gtkeditable.h: Moved
	  entry->visible into editable class. (Leave it
	  behind deprecated for compatibility)
	 
	* gtk/gtkeditable.c: If not editable->visible,
	  return *'s for clipboard and selection.

Tue Feb  9 19:11:43 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_new): If we can't find
	  helvetica, fall back to "fixed". If we can't
	  find "fixed", exit cleanly.

Tue Feb  9 16:03:44 1999  Owen Taylor  <otaylor@redhat.com>

	* acconfig.h configure.in: Rename 
	  XIM_INST_IS_MISSING_OR_STRANGE to USE_X11R6_XIM

	* Conditionalize destroy callbacks with USE_X11R6_XIM.

Tue Feb  9 15:35:13 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_style_set): Added
	  a style_set() function so that word lengths get
	  recomputed on style change.

Mon Feb  8 21:00:20 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (CLIST_OPTIMUM_SIZE): changed to 64
	(gtk_clist_draw_focus) (hadjustment_value_changed) (draw_row):
 	few fixes to respect GTK_CAN_FOCUS flag.

	* gtk/gtkctree.c (draw_row): 
 	respect GTK_CAN_FOCUS flag.

Mon Feb  8 19:22:27 GMT 1999 Tony Gale  <gale@gtk.org>

	* example/colorsel/*: missing from the CVS for some reason

Mon Feb  8 13:08:51 GMT 1999 Tony Gale  <gale@gtk.org>

	* examples/Makefile: add SpinButton example

Mon Feb  8 12:50:06 GMT 1999 Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml:
	  - Heavily edited GtkCombo section initially from
	    Christopher T. Lansdown <lansdoct@screech.cs.alfred.edu>.

	  - Cleanups and some glib stuff from
	    David Wheeler <wheeler@ida.org>

	* Makefile.am: update to include the latest Tutorial examples.

Sat Feb  6 11:20:16 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
	entire draw_data_list back to the free list, not
	just the last element.

Sat Feb  6 00:21:14 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (draw_row): 
	* gtk/gtkclist.c (draw_row) (new_column_width) (scroll_horizontal)
	(title_focus): search last visible column instead of
	using clist->columns.

Fri Feb  5 13:23:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_move_resize): Adjust
	saved positions of children when resizing a 
	guffaw_gravity = TRUE window.

	* gtk/gtkdnd.c (gtk_drag_highlight): Rework the
	 highlighting so that it is done in callbacks for
	 draw and expose. This should solve problems with
         multiple highlights for the same GdkWindow.

	* gtk/gtkdnd.c (gtk_drag_highlight): Fix bug where
	the highlight was being drawn with an incorrect
	width/height for !NO_WINDOW widgets.

Tue Feb  2 11:06:02 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c (gtk_range_style_set): Fixes
	 to account for the changed structure of the windows
	 of range widgets.

1999-02-05  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): 
	Don't assume any more that the gtkwidget.c code
	will queue a redraw on us during a size_allocate -
	queue clear/draws as appropriate for our groove.

1999-02-04  Christopher Blizzard  <blizzard@redhat.com>

	* gtk+.spec (Packager): Change my email address.

Thu Feb  4 05:42:34 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* INSTALL
	  NEWS
	  README
	  configure.in
	  gtk+.spec
	  docs/gtk-config.1: version=1.1.15

	* Makefile.am: example files where incorrect for
	  menu directory.

	* Released GTK+ 1.1.15

Wed Feb  3 17:29:57 PST 1999 Manish Singh <yosh@gimp.org>

	* gtk/gtkclist.h: spelling fix in comment from
	joey@kuolema.Infodrom.North.DE (Martin Schulze)

Tue Feb  2 12:39:42 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c: Make sure we set the icon window position 
	 before it is shown to prevent annoying flicking to 0,0.
	 Make it consistent that info->cur_x/y do not include
	 info->hot_x/y displacement.

Tue Feb  2 08:59:16 GMT 1999 Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml: new sections on Layout and
	  SpinButton [nice widget]

	* examples/spinbutton/*: example code

Mon Feb  1 19:25:54 1999  Owen Taylor  <otaylor@redhat.com>

	* docs/gtk-config.txt (testinput_SOURCES): Put
	in some information about 'gtk-config --libs gthread'.

	* docs/Changes-1.2.txt: Updated section on threads.

Tue Feb  2 00:28:44 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_insert_node): in case of
	GTK_SELECTION_BROWSE select first inserted row.
	(resync_selection): select rows in correct order.

	* gtk/gtkclist.c (real_insert_row): in case of GTK_SELECTION_BROWSE
 	select first inserted row.
	(resync_selection): select rows in correct order.

	* gtk/gtklist.c (gtk_list_end_selection): select rows in correct order.

Mon Feb  1 16:47:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk.m4: Pass gthread on to gtk-config.

	* configure.in gtk-config.in: Support gthread flag to 
	  add thread cflags/libraries into the output of 
	  gtk-config.

Mon Feb  1 15:14:56 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_size_allocate): 
	 Fixed problem with uints resulting in huge child
	 allocations.

Mon Feb  1 14:54:28 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_expose): Cast uints
	 to ints in geometry calculations. This should
	 prevent FP exceptions on FreeBSD when quantities
	 become negative. [ Actually, this is probably
	 a workaround with a gcc bug with handling of
	 bitfields, according to Ben Jackson <ben@ben.com> ]

Mon Feb  1 13:35:14 GMT 1999 Tony Gale  <gale@gtk.org>

	* examples/Makefile: update to new examples

	* examples/menu/itemfactory.c: I must have forgotten to
	  'cvs add' this file

Mon Feb  1 09:16:03 GMT 1999 Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml:
	  - Complete documentation of Label widget API
	  - New sections for the following:
		* Arrows
		* Alignment
		* Button Boxes
		* Viewports

	* examples/arrow/*, examples/buttonbox/*, examples/label/*
	  - New code examples

Fri Jan 29 09:44:37 GMT 1999 Tony Gale  <gale@gtk.org>

	* examples/fixed/*, examples/frame/*
	  - Examples from the Tutorial

Fri Jan 29 09:18:41 GMT 1999 Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml:
	  - New sections on the Fixed and Frame containers
	  - Rearrange the Containers section so the easier ones
	    are first
	  - Move the List widget section to an appendix

Thu Jan 28 12:14:12 GMT 1999 Tony Gale  <gale@gtk.org>

	* docs/package_tutorial.sh: script to convert and
	  package up the tutorial - stick it here so I don't lose
	  it when I accidentally delete it again.
 
Thu Jan 28 10:16:28 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - Replace all uses of deprecated functions.
          - Replace menufactory example with itemfactory example
            from Nick Scott <mendigo@geocities.com>
          - Minor bug fixes in the examples.

1999-01-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gdk/gdkim.c:
	s/XIM_INSTANTIATE_IS_MISSING_OR_STRANGE/XIM_INST_IS_MISSING_OR_STRANGE/

Thu Jan 28 01:57:06 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* INSTALL
	  NEWS
	  README
	  configure.in
	  gtk+.spec
	  docs/gtk-config.1: version=1.1.14

	* Released GTK+ 1.1.14

Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>

	* gtkfontsel.c gtkcolorsel.c: When translating
	N_() strings, use _(), not gettext(), since we
	really need to call dgettext().

Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>

	* acinclude.m4: Xsed isn't valid here, don't use it

	* ltmain.sh
	* ltconfig: better file magic regexp for Linux libs

Wed Jan 27 23:05:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklayout.[ch] (gtk_layout_realize): Move 
	gravity_works back to a static global variable,
	since it is a global constant, and this way we
	keep structure sizes uniform.

Wed Jan 27 22:59:07 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am (static_SOURCES): Move gtkintl.h
	from $source_headers to $static_sources since
	it should not be installed.

Wed Jan 27 22:51:23 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c (expose_predicate): Allow exposure
	 compression across GravityNotify events to improve
 	 the appearance of a GTK+ window unshading.

Wed Jan 27 21:56:07 1999  Owen Taylor  <otaylor@redhat.com>

        [ patch from Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp> ]
	
	* acconfig.h configure.in gdk/gdkim.c: Add configure 
	flag for disabling XRegisterIMInstantiateCallback(), default
	it to off for Solaris. Always try to open the
	input method immediately, and only if that fails,
	register than instantiate callback.

	* gtk/gtkentry.c: Some tweaks to make sure that we
	only get and set the IC attributes when appropriate.
	
Wed Jan 27 20:08:54 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (open_user_dir): Patch from
	Sebastian Wilhelmi  <wilhelmi@ira.uka.de> to
	use g_get_home_dir() instead of calling getpwuid() 
	ourselves.

Wed Jan 27 20:06:06 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklayout .c (gtk_layout_adjustment_changed):
	Removed some g_print()'s

Wed Jan 27 18:57:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h gdk/gdkdnd.c: Change signatures for 
	gdk_drag_begin() and gdk_drag_motion() so that the set 
	of possible actions is passed on each motion, not just at
	the beginning of the drag. We do this so that
	we can restrict the set of possible drag events
	when the user presses a modifier key during a 
	drag.

	* gdk/gdkdnd.c: Send a motif Operation-changed
	message when the set of possible actions change,
	as well as when the suggested action change.

	* gdk/gdkdnd.c: Change the XdndActionList whenever
	the set of actions change.

	* gdk/gdkdnd.c: Add a filter to catch changes to
	the XdndActionList property for the source widget.

	* gtk/gtkdnd.c: Change the set of possible actions
	when the user presses Control, Shift, or Control-Shift,
	to only include the corresponding action.
	
	* gtk/gtkdnd.c (gtk_drag_button_release_cb):
	Disconnect button signals before we possibly
	free info structure.

Wed Jan 27 18:40:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_main_do_event): Hack scrollwheel
	support into the eventloop, by treating button 4-5
	presses on scrolled windows and scrollbars specially. 
	Put it here to keep the ugliness small and confined.
	(We need to intercept the normal propagation in any case
	to have this work reliably right now, since some
	subwidgets will trap the button presses)
	
	* gtk/gtkviewport.c (gtk_viewport_realize): Select for 
	BUTTON_PRESS to	support the above hack.
	
Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
	checks for already being mapped or hidden. See
	the ICCCM's section on state changes for why this
	is a bad idea.

Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>

	* Separate out GLIB_LIBS and GLIB_DEPLIBS. This
	may fix the --with-glib option. GLIB_LIBS are
	the libs to link example programs against, while
	GLIB_DEPLIBS are dependency libraries.

Wed Jan 20 11:19:00 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c: Use floor() instead of truncating
	to integer values so we get translation invariance.

	* gtk/gtklayout.c (gtk_layout_size_allocate): Set upper
	and lower values for adjustments in size_allocate().

	* gdk/gdkwindow.c gdk/gdk.h gdk/gdkprivate.h: New
	function gdk_window_set_static_gravities() to set
	up a window for guffaw scrolling.
	
	* gdk/gdkwindow.c (gdk_window_internal_destroy): Set flags
	indicating destroyed state before cleanup.

	* gtk/gtkprivate.h gtk/gtkwidget.c: Add a new
	private flag IS_OFFSCREEN. If set, this indicates
	to GTK+ that the widget is not to be considered
	viewable regardless of its map state. Queued draws
	on offscreen widgets are suppressed.

	Added new function static gtk_widget_is_offscreen() to
	check this flag on a widget and its ancestors.

	* gtk/gtklayout.[ch]: Major revisions.

	- Use gdk_window_set_static_gravities to set static gravity 
	on all child windows, and thus avoid having to create a window
	for NO_WINDOW children.

	- Adjust allocations of children as we scroll them
	so queued draws work correctly.

	- Don't allocate our children directly in a put()
	or move(); just queue a resize() like every other
	widget.

	* gtk/testgtk.c: Make the arrows on the scrollbars
	work, create a larger and more demanding test.
	
Wed Jan 27 09:19:07 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdkcolor.c (gdk_colormap_unref): assert ref_count>0.

Mon Jan 25 20:05:22 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_{visual,colormap}): 
	New functions to set the colormap or visual
	of an existing widget. These functions should not
	be called on a widget that has previosly been
	realized.

	* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init):
	Set the visual and colormap on the toplevel dialog,
	then push them for the child widgets. As opposed
	to push/pop in _new(), this way, things will work
	properly with gtk_widget_new().
	
Mon Jan 25 19:41:56 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_page_allocate): Queue
	a redraw on the tab area when a tab changes size.
	(Includes improvements from Lars Hamann)

Mon Jan 25 19:00:13 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (gtk_color_selection_value_events): 
	 Back out the last solution to updating problem. And
	 try a different one that is less dependent on
	 the state of the widget. Just redraw the value_marker
	 when it gets mapped. Somebody needs to analyze
	 this widget more carefully and figure out when
	 it should be setting the contents of the previews
	 with more care.

Mon Jan 25 17:48:03 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
	tests - we need to update the value bar's contents
	even when the widget is unmapped.

Mon Jan 25 15:47:46 1999  Owen Taylor  <otaylor@redhat.com>

	* acinclude.m4 (ac_result): Don't define ENABLE_NLS
	 unless we have a working NLS. (This should keep
	 libintl.h from being included when it doesn't
	 exist).

Mon Jan 25 11:05:10 1999  George Lebl  <jirka@5z.com>

	* gtk/gtkbutton.c: set RECEIVES_DEFAULT on init, and a
	  button press on the widget doesn't grab default anymore

	* gtk/gtkcheckbutton.c,gtk/gtkoptionmenu.c,gtk/gtkradiobutton.c:
	  unset RECEIVES_DEFAULT on init

	* gtk/gtkwidget.[ch]: add a RECEIVES_DEFAULT flag to widget
	  flags

	* gtk/gtkwindow.c,gtk/gtkplug.c: on pressing <enter>, activate
	  the focused widget if it is a RECEIVES_DEFAULT widget,
	  no matter what the current default_widget is

	* gtk/gtkwindow.c: on focus change, migrate the HAS_DEFAULT
	  flag to CAN_DEFAULT widgets if they RECEIVE_DEFAULT as well
	  or migrate it back to the default_widget if the focus widget
	  doesn't "RECEIVE_DEFAULT"

Sun Jan 24 18:09:24 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (motif_read_initiator_info): Byteswap
	the MotifInitiatorInfo structure _before_ using it.

Sun Jan 24 12:17:39 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix 
	 reversed assertion. 
	 (Pointed out by Austin Donnelly <austin@greenend.org.uk>)

	* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
	 and harmful call to gtk_paint_box(). We are going
	 to paint onto the backing store later anyways.

Sat Jan 23 11:15:39 1999  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
	 longs, not uint32 for XChangeProperty, when 
	 format == 32.

	* gdk/gdkdnd.c (motif_read_initiator_info): Byte-swap
	 the MotifInitiatorInfo structure if necessary.

 	* gdk/gdkdnd.c: When extracting and constructing
         Motif DND messages, don't use data.s[], data.l[]
	 since on 64bit architectures, these won't necessarily
	 be in the same place with data.b[]. 

 	* gtk/testdnd.c (target_drag_drop): Return TRUE for
	 drag_drop within the drop zone.
 
	* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Only send
	 a XmTRANSFER_FAILURE if no drop site is found, not
	 on every drop!

Fri Jan 22 19:22:39 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkeditable.c: Add flags field to 
	 GtkTargetEntry table.
	
	* gdk/gdkwindow.c (gdk_window_is_viewable): Treat foreign
	 windows as always viewable, since we can't track their
	 map-state reliably without speed problems. (Fixes
	 problem where updating didn't occur properly within
	 GtkPlug)

Sat Jan 23 13:41:00 1999  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtkctree.c
	(tree_delete): Don't search selection list twice.
	(real_select_row): Remove extra ';', add default for clarity.

Sat Jan 23 01:44:43 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
	(gtk_spin_button_get_value_as_float): removed extra
 	gtk_spin_button_update calls again.
	* gtk/gtkclist.c (gtk_clist_unmap): unblock dnd signal handler if
	neccessary
	* gtk/gtknotebook.c (gtk_notebook_button_press): grab_focus before
	switch_page
	(gtk_notebook_set_shape): don't use cur_page if it's NULL.

Fri Jan 22 12:20:54 1999  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtktooltips.c:
	Fix recent change to match existing coding style.

Fri Jan 22 07:33:44 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
	account for GTK_POS_LEFT.

	* gtk/gtkradiobutton.c (gtk_radio_button_set_group): use
	gtk_toggle_button_set_active () to set the new state.
	(gtk_radio_button_new): only _set_group if group != NULL.
	(gtk_radio_button_clicked): reference the widget.
	(gtk_radio_button_init): make radio buttons active upon
	startup.

Thu Jan 21 17:13:12 1999  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtkselection.c:
	(gtk_selection_property_notify): Check args for NULL.
	(gtk_selection_default_handler):
	Replace manual list count with call to g_list_length.
	Remove signedness of temp var 'count' to agree with usage.
	Slight spacing adjustment for readability.

	* gtk/gtkbox.c, gtk/gtklayout.c, gtk/gtkselection.c:
	Init a few ptrs to NULL, to quiet warnings.

Thu Jan 21 16:03:02 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbutton.c (gtk_button_expose): Code cleanup.

	* gtk/gtktreeitem.c: Add a paint routine, fix up bugs
	in drawing where if the expose area was contained
	completely in the right side of the tree the background
	wasn't redraw, etc.

	* gtk/gtkwidget.c (gtk_widget_clip_rect): Fix a bug
	in clipping draw regions while propagating them
	upwards.

Thu Jan 21 12:20:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (gtk_color_selection_dialog_new): 
	Pushing	and popping the visual/cmap in the init() 
	function does no good, because the window itself needs
	to be create with that visual/cmap.

	So do it in the new() function instead. 

	This will require people doing gtk_widget_new() to do 
	the push/pop themselves, but I don't see any way around
	it other than digging in and tweaking the window
	widget's colormap and visual ourselves, which
	is highly non-kosher, but would be safe...

Thu Jan 21 16:04:35 1999  Timur Bakeyev <mc@bat.ru>

	* gtk/gtkrc.c (gtk_rc_init): It was reported by Owen Taylor 
	<otaylor@redhat.com>, that LC_ALL produce unparsable garbage
	on some glibc'ed systems and HP/UX. So, falling to LC_CTYPE.

Thu Jan 21 02:11:44 1999  Owen Taylor  <otaylor@redhat.com>

	* Set and read the XdndActionList property defined
	in the Xdnd spec. We do this always, not just for
	XdndActionAsk like the spec says, but if we don't
	find it, we fall back to actions = suggested_action,
	which is compatible with the language of the spec.

Thu Jan 21 01:15:28 1999  Jeff Garzik  <jgarzik@pobox.com>

	* gdk/gdkdnd.c (gdk_drag_context_unref):
	Move not-null assertion before pointer de-ref.

	* gdk/gdkevents.c (gdk_event_queue_find_first):
	Fix infinite loop bug.  Someone should look at this further to
	make sure the events_pending tests are correct.

Thu Jan 21 00:44:47 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
	for drops should be keyed on GTK_DRAG_DEFAULT_DROP
	not GTK_DRAG_DEFAULT_MOTION.

Wed Jan 20 21:52:51 1999  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtkclist.c (real_remove_row):
	Don't search entire row list twice for element being removed.

	* gtk/gtkmenushell.c (gtk_menu_shell_insert):
	Replaced hand-coded implementation of g_list_insert with
	call to g_list_insert.

	* gtk/gtktooltips.c
	  (gtk_tooltips_destroy_data, gtk_tooltips_layout_text):
	tooltipsdata->row test not-null test now properly encompasses
	both g_list_* calls.

Thu Jan 21 02:47:36 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_focus): few cleanups.
	(gtk_notebook_key_press): call select page function for
	GDK_DOWN key in case of tab_pos == TOP. Changed other
	positions accordingly.

Wed Jan 20 19:57:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin): Start off with the
	cursor for "no drop" since if we'll get a status
	if we are over a drag window, but none if we aren't
	over one. 

1999-01-20  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtkcombo.c (gtk_combo_entry_key_press):
	Free 'nprefix', closing a memory leak.
	Spaced out the code a bit to make it more readable.

	* gtk/gtkhbox.[ch] (gtk_hbox_new),
	  gtk/gtkvbox.[ch] (gtk_vbox_new):
	Change 'homogenous' arg from gint to gboolean.

	* gtk/gtktogglebutton.[ch]:
	New function gtk_toggle_button_get_active().

1999-01-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkdnd.c (gtk_drag_get_event_action): Allow button 2 to act
	as GDK_ACTION_ASK.  Also, allow MOD1 to specify GDK_ACTION_ASK
	only if that action is enabled in the actions argument.

1999-01-20  Raja R Harinath  <harinath@cs.umn.edu>

	* configure.in (gtklocaledir): New variable.  Define to
	$prefix/$DATADIRNAME/locale.  This will point to the directory
	where po/Makefile actually installs the message translation
	tables. 
	* gtk/Makefile.am (INCLUDES): Define GTK_LOCALEDIR to
	$(gtklocaledir) rather than $prefix/share/locale.

Wed Jan 20 21:07:45 1999  Timur Bakeyev <mc@bat.ru>

	* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
	LC_MESSAGES in locale.h. As a last resort for such systems, set locale
	according to LC_ALL.

Wed Jan 20 13:06:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
	a background pixmap in with gdk_draw_pixmap(), set
	it as a tile pixmap for a GC. This should speed
	up things considerably and also will hide a bug
	where text->first_onscreen_ver_pixel is being
	corrupted, causing the bg pixmap drawing code to generate
	graphics exposes.

Tue Jan 19 22:15:10 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtklist.c
	(gtk_list_button_press):  only call grab_add if pointer_grab succeeds.
	(gtk_list_unmap): remove pointer/widget grabs if needed.
	(gtk_list_signal_focus_lost): removed.
	(gtk_list_focus) (gtk_list_set_focus_child): set last_focus_child.
	(gtk_list_remove_items_internal) (gtk_list_clear_items): unset
 	undo_focus_child if neccessary. In case of SELECTION_BROWSE/EXTENDED
 	select a new item if selection is empty.

Tue Jan 19 00:21:15 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcompat.h: add compatibility define for
	gtk_ctree_set_reorderable.

Tue Jan 19 00:02:10 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_node_set_row_data_full): 
	add a sanity check [from Todd Dukes <todddukes@netscape.net>]
	
Mon Jan 18 22:54:11 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press): only call grab_add
	if pointer_grab succeeds.
	(gtk_clist_unmap): remove pointer/widget grabs if needed.

Mon Jan 18 15:46:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_init): Initialize
	label->label_wc. (We allocate labels from
	a memchunk)

Mon Jan 18 18:53:08 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a
	meaningfull range (we need to stay below a certain limit anyways
	to avoid string buffer overflows).

	* gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background
	area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM.
	* gtk/gtkhscale.c (gtk_hscale_pos_background): likewise.
	(gtk_hscale_draw_value): safety CLAMP the value's x position for
	GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of
	our allocation.

	* gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value
	and GtkScale::value_pos arguments.

Mon Jan 18 14:26:17 1999  Owen Taylor  <otaylor@redhat.com>

	* docs/Changes-1.2.txt: Some editing, a little more
	detail.

Mon Jan 18 13:25:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to
	set the title of a menu in the torn-off state.

	* gtk/gtkthemes.c (gtk_theme_engine_get): When loading
	of theme engine fails, just warn and do without -
	don't error out.

	* gtk/gtkmain.c (gtk_check_version): s/to/too/.

Mon Jan 18 01:21:03 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (draw_row): fixed auto resize bug.

Sun Jan 17 17:35:28 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.13

	* README:
	  INSTALL:
	  docs/gtk-config.1: ver=1.1.13

Mon Jan 18 00:22:54 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release):
	block drag source signal handler during column resizes.
	(gtk_clist_set_column_visibility): resize clist if needed.
	(gtk_clist_map): raise resize windows to make resize
 	cursor visible again.

Sun Jan 17 22:47:15 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.[hc]: 
	* gtk/gtkspinbutton.[hc]: 
	* gtk/gtkscrolledwindow.[hc]:
	* gtk/gtkprogressbar.[hc]:
	* gtk/gtkpreview.[hc]: 
	* gtk/gtkobject.[hc]:
	* gtk/gtkentry.[hc]: 
	* gtk/gtkctree.[hc]:
	* gtk/gtkcontainer.[hc]:
	* gtk/gtkclist.[hc]:
	removed deprecated functions: gtk_clist_set_border,
	gtk_container_block_resize, gtk_container_unblock_resize,
	gtk_container_need_resize, gtk_ctree_set_reorderable,
	gtk_ctree_show_stub, gtk_ctree_set_use_drag_icons,
	gtk_entry_adjust_scroll, gtk_object_class_add_user_signal,
	gtk_preview_put_row, gtk_progress_bar_construct,
	gtk_scrolled_window_construct, gtk_spin_button_construct,
	gtk_widget_freeze_accelerators,	gtk_widget_thaw_accelerators.

	* gtk/gtkcheckmenuitem.c: removed binary variant of
	gtk_check_menu_item_set_state, this is still defined in gtkcompat.h
	though.

	* docs/Changes-1.2.txt:
	removed section about gtk_idle_remove_by_data vs.
	gtk_timeout_remove_by_data, we actually don't even provide a
	gtk_timeout_remove_by_data() function.
	added a table with removed functions and their replacements.
	
	* NEWS: updates for 1.1.13.

Sun Jan 17 17:56:33 1999  Owen Taylor  <otaylor@redhat.com>

	Patch from Felix Bellaby <felix@pooh.u-net.com>

	* gdk/gdk.c: Use XmbSetWMProperties to set
	the class/command on the loader window so that the
	client machine is also set in the same place.
	(For X11R5 sesssion management compatibility)

	* gdk/gdk.c: (gdk_set_sm_client_id) Implementation
	of function to set the session manager client ID.

	* gdk/gdkwindow.c (gdk_window_new): Set 
	WM_CLIENT_LEADER propertiy on all windows pointing
	back to GDK's leader window.

Sun Jan 17 12:01:57 1999  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkrc.c (gtk_rc_style_init): Allow a bg_pixmap
	of "<none>", as there was no way to set the background
	on all widget but some widgets. This is important
	because Text widgets with background images are
	slow and possibly ugly.

1999-01-17  Nat Friedman  <nat@nat.org>

	* gtk/gtkscrolledwindow.c (DEFAULT_SCROLLBAR_SPACING): New macro.
  	Changed the spacing from 5 to 3.

	* gtk/gtkmenubar.c (BORDER_SPACING): Changed the extra spacing on
 	the menubar from 2 to 0.

Sun Jan 17 11:51:17 1999  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c (gtk_text_move_cursor): Fix typo
	[ gtk-mailund-990116-0: Thomas Mailund Jensen <mailund@daimi.au.dk> ]

Sun Jan 17 11:15:05 1999 Christopher Blizzard  <blizzard@appliedtheory.com>

	* gtk+.spec: Update to version 1.1.13, change packager address.

Sun Jan 17 14:52:29 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkcompat.h:
	* gtk/gtkcheckmenuitem.[hc]:
	deprecated gtk_check_menu_item_set_state, people should use
	gtk_check_menu_item_set_active instead.
	
	* gtk/testgtk.c:
	 s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.

Sun Jan 17 05:19:14 1999  Tim Janik  <timj@gtk.org>

        * configure.in: incremented version number to 1.1.13, bin age 0,
	interface age 0.

	* gtk/gtkmain.c (gtk_idle_remove_by_data): use g_idle_remove_by_data to
	remove idles, so `data' cannot conflict with other sources.

	* gtk/gtkcompat.h: define gtk_style_apply_default_pixmap here.

	* gtk/gtkstyle.[hc]: removed gtk_style_apply_default_pixmap.
	(struct _GtkStyle): reordered GtkStyleClass*klass; member.

Sat Jan 16 19:42:48 1999  George Lebl  <jirka@5z.com>

	* gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
	  to the position of the tooltip. This fixes tooltip positioning
	  problems with some widgets such as a checkbox.

Sat Jan 16 14:01:53 1999  Stuart Parmenter <pavlov@gtk.org>

	* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL

Sat Jan 16 05:02:22 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.

Fri Jan 15 19:16:42 1999  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk
	code.

	* gtk/gtkrc.c (gtk_rc_style_unref): added an assertment.

	* gtk/gtkcompat.h:
	* gtk/gtklabel.h: 
	don't provide compatibility defines if GTK_DISABLE_COMPAT_H is defined.

	* gtk/gtkstyle.h:
	* gtk/gtkstyle.c: coding style, indentation and alignment fixups.
	(gtk_draw_string): 
	(gtk_paint_string): 
	(gtk_draw_polygon):
	(gtk_style_set_background): fixed assertments.
	(gtk_default_draw_ramp): 
	(gtk_default_draw_cross): 
	(gtk_default_draw_oval): issue warnings since these functions aren't
	yet implemented.

	* gdk/gdkwindow.c:
	(gdk_window_hide): only unmap window if already mapped.
	(gdk_window_show): only map window if !mapped.
	(gdk_window_internal_destroy): destroyed windows can't be mapped.

	* gtk/gtkwidget.c (gtk_widget_event): don't ignore expose events just
	because a resize is queued on a widget, we rely on the expose events
	now.

Fri Jan 15 10:22:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_class_init): 
	nparams for selection_get should be 3, not 2.
	[ From Damon Chaplin <damon@karuna.freeserve.co.uk> ]

	* gtk/gtkeventbox.c (gtk_event_box_paint): Add a paint
	routine so queued redraws work inside event boxes.

Thu Jan 14 17:47:37 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only
 	 redraw character under cursor when not displaying 
	highlighted selection.

	* gdk/gdkrgb.c (gdk_rgb_init): Add in a cast to
	gpointer to make IRIX cc happy.

Thu Jan 14 12:29:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcheckbutton.c (gtk_check_button_draw): Restructure
	the drawing code to remove a bit of duplication - 
	and to remove a call to gtk_widget_draw_focus()
	that queues a redraw when an expose occurs.

	* gtk/gtklabel.c (gtk_label_expose): Fix up handling
	  of ypadding.

	* gtk/gtknotebook.c (gtk_notebook_draw): If we redraw
	  the whole widget, also redraw the corresponding
	  areas of the child widget. (have_visible_child 
	  still has some problems)

	* gdk/gdkpixmap.c: Change some g_new's to g_new0 so
	  that fields unused for pixmaps get initialzized
	  sanely.

        * gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: Add new calls
	  gdk_window_is_visible() and gdk_window_is_viewable()
	  and a mapped flag to the window private structure.
	
        * gtk/gtkbin.c gtk/gtkclist.c gtk/gtkfixed.c gtk/gtkitem.c
	  gtk/gtklayout.c gtk/gtklist.c gtk/gtkmenushell.c
	  gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtktree.c
	  gtk/gtktreeitem.c gtk/gtkviewport.c: 
	Map windows after mapping children.
	
	* gtk/gtkwidget.c (gtk_widget_clip_rect): Handle 
	rectangles completely clipped away correctly.

	* gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
	call gtk_widget_draw if width or height is 0.

	* gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
	rely on GTK_REDRAW_PENDING after we've cleared
	it. (This was causing draw-combining to not
	happen at all).

	* gtk/gtkbin.c gtk/gtkscale.c: Remove uneccessary calls
	to gtk_widget_queue_draw() when mapping.

Thu Jan 14 11:29:53 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_get_event_action): Make
	MOD1-drag also do action ask.

	* gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
	button-release event we simulate to get grabs released,
	with a window of GDK_ROOT_PARENT instead of the actual 
	widget. This is a bad hack in some sense, but seems
	to work nicely. (It's sort of like what you would
	if you grabbed on button press, then the user 
	released outside of the widget.)

Thu Jan 14 20:29:16 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.[ch] (gtk_style_apply_default_background): 
	Change copy_area => !set_bg. Use tile instead of 
	gdk_window_copy_area when drawing without !set_bg.
	
	This does mess up timj's neat check-button example,
	but is consistent with how we interpret background
	pixmaps everywhere else in the default scheme.

	Restructure code for clarity.

Thu Jan 14 19:19:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c: Do all event processing in
	dispatch() instead of prepare() and check().

Wed Jan 13 22:34:29 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c
	gtk/gtkframe.c gtk/gtk[hv]box.c gtk[hv]paned.c gtk/gtklist.c
	gtkmenu.c gtkmenuitem.c gtkmenubar.c gtknotebook.c
	gtk/gtkscrolledwindow.c gtk/gtktable.c gtk/gtktree.c
	gtk/gtktreeeitem.c gtk/gtkviewport.c
	
	Fix up comparisons of signed and unsigned ints to avoid 
	assigning negative widths/heigths.

Wed Jan 13 21:18:41 1999  Owen Taylor  <otaylor@redhat.com>

	* acinclude.m4 (ac_result): Unset CATOBJEXT so
	that the macros and Makefiles correctly handle
	disabling NLS when no gettext is found.

Wed Jan 13 20:14:32 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkarg.c (gtk_arg_copy): in comparisions with GTK_TYPE_STRING, use
	the fundamental type to catch GTK_TYPE_IDENTIFIER as well.

	* gtk/gtkmenushell.c:
	(gtk_real_menu_shell_activate_current):
	(gtk_menu_shell_button_release): asure that we only activate sensitive
	menu items, reported by Dave Cole <dave@dccs.com.au>.

Wed Jan 13 13:28:00 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c: eliminate queue_clears or queue_draws where we know
	that expose events will be generated.
	(gtk_widget_map): only queue_draw for NO_WINDOW widgets.
	(gtk_widget_unmap): only queue_clear_child for NO_WINDOW widgets.
	(gtk_widget_size_allocate): we don't need a queue_clear on changing
	allocations of !NO_WINDOW widgets, we do still need a full redraw for
	them though.

	* gtk/gtklabel.c (gtk_label_set_text): check whether the new string
	actually differs from the original.

Tue Jan 12 22:50:44 PST 1999 Manish Singh <yosh@gimp.org>

	* acinclude.m4
	* ltconfig
	* ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)

Tue Jan 12 18:30:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testdnd.c (label_drag_data_received): Add 
	a drag_data_received handler for the label.

Tue Jan 12 15:01:50 1999  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkevents.c: Removed the putback_events queue, 
	since it was causing problems with event ordering -
	just keep a single queue. If we need it, we can
	add priorities to events.

	* gdk/gdkevents.c: Annotate events with flags - we allocate
	a GdkEventPrivate structure in gdk_event_new() and use these
	flags to mark an event being translated as "pending" -
	I.e., not yet ready to be dequeued. So we can put
	the event on the queue and get the order of the
	events right. (This solves the double-click problems)
	
	* gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
	of the next event on the event queue.
	
	* gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
	to check the next event without causing event queue
	reordering.

Tue Jan 12 15:41:20 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_expose): Minor fix
	to handling of misc->[x/y]pad

Tue Jan 12 14:31:43 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap): 
	Add back as wrapper function to restore source/binary 
	compatibility. grrrr.

Tue Jan 12 13:47:07 1999  Tim Janik  <timj@gtk.org>

	* reworked the redrawing heuristics somewhat, this fixed a bunch of
	existing redrawing problems and majorly reduces overall redrawing needs
	during normal operation. basically we now only queue redraws when
	neccessary and much rely on the draw_area coalescing code in gtkwidget.c
	to optimize the queued portions. widgets will now upon reallocation only
	get redrawed if their allocation has changed. upon hide/show only the
	area allocated by the child will be queued for the parent, this has the
	side effect that parents which change their appearance in dependance on
	the numer of visible children have to keep track of their children's
	visiblity and eventually fully redraw themselves. this is a minor
	constrain with great benefits in terms of redraw reduction, and only got
	triggered by the notebook widget.

	* gtk/gtkwidget.c:
	(gtk_widget_queue_clear): don't bother if width and height == 0.
	(gtk_widget_queue_clear_child): new static function to queue a redraw of
	the area obscured by a child on a parent.
	(gtk_widget_queue_resize): queue_clear the widget if it is drawable.
	(gtk_widget_show): queue resize on the widget before showing.
	(gtk_widget_hide): queue resize on the widget after hiding.
	(gtk_widget_map): queue_draw the widget after mapping.
	(gtk_widget_unmap): queue_clear_child the widget.
	(gtk_widget_size_allocate): queue_clear_child and queue_draw if the
	widget's allocation changed.
	(gtk_widget_unparent): queue_clear_child so the parent redraws obscured
	portions.
	(gtk_widget_real_show):
	(gtk_widget_real_hide):
	(gtk_widget_real_map):
	(gtk_widget_real_unmap):
	(gtk_widget_real_size_allocate): don't bother with redraw queueing,
	descendants that override these functions don't do either and we handle
	all redrawing/resizing related stuff before or after the signal emission
	now.

	* gtk/gtkcontainer.c:
	(gtk_container_resize_children): don't bother about redrawing anymore
	since gtk_widget_size_allocate handles that for us now.

	* gtk/gtknotebook.h:
	* gtk/gtknotebook.c:
	added a flag have_visible_child to indicate whether we need to draw
	non child related portions at all, e.g. shadows etc.
	(gtk_notebook_draw): if have_visible_child changed, do a full paint
	instead of updating a small area only.

Mon Jan 11 20:44:35 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to
	gtk_style_apply_default_background which takes an extra argument
	copy_area to determine NO_WINDOW widget pixmap copying.
	changed callers accordingly.

	* gtk/gtktogglebutton.c:
	(gtk_toggle_size_allocate): 
	(gtk_toggle_button_expose): 
	(gtk_toggle_button_paint): avoid messing with our parent's window if
	toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget.

	* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw
	the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active.

	* gtk/check-n.xpm:
	* gtk/check-y.xpm:
	* gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button
	bg_pixmaps.

Mon Jan 11 23:52:58 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtklist.c (gtk_list_signal_drag_begin)
	(gtk_list_drag_begin): end drag selections if necessary.

	* gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
	public. Manually force synchronization of spin button text and
 	adjustment value.

Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
	gtk_widget_set_state, since that cares about redrawing already.
	some code cleanups.

	* gtk/gtktogglebutton.[hc]:
	* gtk/gtkfontsel.c:
	* gtkgamma.c:
	s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
	set_state is already taken by gtkwidget.h.

	* gtk/gtkcompat.h: #define gtk_toggle_button_set_state
        gtk_toggle_button_set_active.
        
        * gtk/gtkstyle.c: some indentation cleanups.

Mon Jan 11 15:12:33 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktogglebutton.c (gtk_toggle_button_set_mode): take previous
	visibility state into account when unrealizing.

Mon Jan 11 10:45:28 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c: Only remove handlers for motion/button_release
	at drop, remove "selection_get" handler later.

Mon Jan 11 13:31:49 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
	again, since they 1) don't care about infinite recursion (likely
	to achive), 2) we are in feature freeze for 1.2. this definitely
	deserves a sane implementation in 1.3 though (but without a hook
	return value, without seq_id hackery and with recursion checks).

Mon Jan 11 13:18:37 1999  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c:
	(gtk_window_key_release_event): 
	(gtk_window_key_press_event): only pass key events to the focus widget
	if it is sensitive.

	* gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
	submenu if it isn't sensitive.
	(gtk_menu_item_paint): state_type doesn't need to be reset to
	GTK_STATE_INSENSITIVE if the widget is insensitive anyways.

	* gtk/gtkcontainer.c (gtk_container_real_focus): 
	* gtk/gtklist.c (gtk_list_focus): 
	* gtk/gtkmenushell.c (gtk_menu_shell_move_selected): 
	* gtk/gtknotebook.c (gtk_notebook_focus): 
	s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
	sensitivity is determined through the parent as well,
	GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
	else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
	sensitivity.

	* gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
	object if it is an insensitive widget.

Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org>

	* gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook().
	You can have a notification when a type is created.

1999-01-11  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_propagate_event): added an assertement.

Sun Jan 10 14:45:37 1999  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c (text_properties_equal): Fixed
	cut and paste bug when comparing text property
	bg colors.
	[ Matt Aubury <Matt.Aubury@comlab.ox.ac.uk> ]

1999-01-10  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
	to initialize the object class and reattempt the lookup, reported
	by Paolo Molaro <lupus@lettere.unipd.it>.

Sat Jan  9 17:36:20 1999  Owen Taylor  <otaylor@redhat.com>

	* configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS.

Sat Jan  9 17:27:49 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (gtk_file_selection_populate):
	Mark another string for internationalization.
	[ Stanislav Brabec <utx@k332.feld.cvut.cz> ]

Sat Jan  9 14:02:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set
	name "gtk-tooltips" on tip window so that a style
	can be set for tooltips.

Fri Jan  8 19:00:17 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
	some list-manipulation breakage.

	* gdk/gdkdnd.c (gdk_window_cache_destroy): Free 
	window cache structure.

	* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
	event mask on the drag window so clicking on it
	doesn't pop up root menus, etc.

	* gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
	signal handlers at button release.

Fri Jan  8 00:42:00 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
	(gtk_spin_button_get_value_as_float): call gtk_spin_button_update
	before returning a value

	* gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
	if clist is a drag source.
	(gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.

	* gtk/gtkctree.c (remove_grab): copy of clist function.
	(gtk_ctree_drag_begin): let clists drag_begin method set the
	source info struct.

Thu Jan  7 19:10:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
	to drawing the background of the bin window 
	so that clearing and redrawing of child
	widgets work properly.

	* gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
	data so that if somebody triggers more redraw queuing
	from a expose_event handler, it doesn't confuse the
	heck out of GTK+. (But is highly liable to cause 
	an infinite loop...)

Thu Jan  7 12:31:41 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_unref): Fix some
	more memory leaks.

Wed Jan  6 23:14:19 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
	by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
	widget.

Wed Jan 06 10:04:12 1999  Tristan Tarrant  <ttarrant@etnoteam.it>

	* configure.in,po/it.po: added Italian translations

Tue Jan 05 21:18:00 1999  George Lebl  <jirka@5z.com>

	* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the
	  event that was returned to us by gtk_get_current_event

Tue Jan  5 19:01:18 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
	GdkRGB's visual and colormap around the color selection
	dialog so that the window and the previews have the
	same colormap. If an app adds things to the colorsel
	dialog, it will have to take care of them itself.

Tue Jan  5 15:03:47 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_propagate_event): Make 
	gtk_propagate_event() non-static, we need it in gtkdnd.c 
	so that the button-release we synthesize gets propagated
	correctly.

	* gtk/gtkdnd.c: Use gtk_propagate_event() so
	release gets to a GtkList. But we can't really
	get this right without access to the windows
	event masks and doing X-style propagation ourselves.

Tue Jan  5 12:40:57 1999  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkpreview.c: Add a size_allocate() routine 
	and set the size of the preview window equal
	to the area we are going to draw on, instead 
	of the entire allocation. Do this to avoid having 
	to set a parent-relative background.
	
Tue Jan  5 11:51:32 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
	When redrawing the under-cursor character, don't
	redraw the terminating NULL.
	[ From: dov@imagic.weizmann.ac.il (Dov Grobgeld) ]

Tue Jan  5 11:31:55 1999  Owen Taylor  <otaylor@redhat.com>
	 
	* gtk/gtkselection.c (gtk_target_list_unref): Free
	memory allocated for target lists.

	* gtk/gtkdnd.c (gtk_drag_drop_finished): Release
	selections before destroying info structure.

	* gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add
	new value GDK_DRAG_PROTO_NONE, use it for non-drag
	targets, to quiet Purify.

	* gdk/gdkdnd.c (gdk_window_register_dnd): Set size
	of property properly.

Mon Jan  4 03:45:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.12

	* INSTALL:
	  NEWS:
	  README:
	  configure.in:
	  gtk+.spec:
	  docs/gtk-config.1:
	  gtk/gtkfeatures.h.in: version=1.1.12

1999-01-04  Sung-Hyun Nam  <namsh@lgic.co.kr>

	* configure.in (ALL_LINGUAS): Added 'ko'.

Sun Jan  3 17:41:22 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug

Sat Jan  2 03:54:30 1999  Tim Janik  <timj@gtk.org>

	* gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT.

	* gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with
 	a priority of GDK_PRIORITY_EVENTS.

1999-01-02  Jeff Garzik  <jgarzik@pobox.com>

	* configure.in, config.h.in, gdk/gdkimage.c:
	Removed features.h test.

	* gdk/gdkdnd.c:
	Guard public functions against NULL pointer derefs.

Fri Jan  1 18:41:09 PST 1999 Manish Singh <yosh@gimp.org>

	* gdk/gdk.c
	* gdk/gdkinputnone.h
	* gtk/gtkruler.c: casts to get rid of const warnings

	* gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
	cmp so people don't whine about rebuilds

	* gtk/gtknotebook.c: use g_snprintf on translated strings, so we
	don't get buffer overflows

	* gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
	Plug some memleaks.

1999-01-01  Jeff Garzik  <jgarzik@pobox.com>

	* configure.in, config.h.in:
	Check for features.h.

	* gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
	Fixed bug in linked list append logic by replacing hand-coded
	logic with a call to g_list_append.  Bug found by tml.

	* gdk/gdkimage.c:
	'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
	in sys/ipc.h, including one specific admonishment to use
	_SVID_SOURCE or _XOPEN_SOURCE.	Manually defined the latter, and
	included features.h if present to obtain the necessary
	side-effects.

	* gtk/gtkclist.c, gtk/gtkeditable.c:
	Eliminates comma-after-final-element warnings.

	* gtk/gtkfontsel.c (gtk_font_selection_init):
	Fixed bug where an intl string was declared as _("x") in
	local var initializer.

1998-12-31  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtklabel.c (gtk_label_split_text_wrapped):
	word->space is now initialized correctly.
	Reported by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>.

1998-12-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gtk/gtkmain.c (gtk_main_do_event): Fix memory leak.
	gdk_event_put would make a copy of next_event, and next_event was
	not being freed.

Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.11

	* INSTALL:
	  NEWS:
	  README:
	  configure.in:
	  gtk+.spec:
	  docs/gtk-config.1:
	  gtk/gtkfeatures.h.in: version=1.1.11
	
1998-12-29  Owen Taylor  <otaylor@srv-19-29.roc.ny.frontiernet.net>

	* gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one
	error when computing length.

Thu Dec 24 14:35:48 1998  Jeff Garzik  <jgarzik@pobox.com>

	* gdk/gdkevents.c, gdk/gdkim.c, gdk/gdkrgb.c, gdk/gdkwindow.c,
	  gtk/gtkprogressbar.c:
	Pull in string.h for various mem*() and str*() functions,
	in an autoconf-friendly way.

Thu Dec 24 12:40:45 1998  Jeff Garzik  <jgarzik@pobox.com>

	* gdk/gdkfont.c: removed unused var
	* gdk/gdkim.c: 64-bit cast
	* gtk/gtkaccelgroup.c: point to const data
	* gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
	  Made const-correct.
	* gtk/gtkfontsel.c: kill uninitialized var warning
	* gtk/gtkselection.[ch]: (gtk_target_list_new,
	  gtk_target_list_add_table, gtk_selection_add_targets):
	  Made const-correct.
	* gtk/testgtk.c: 64-bit cast

Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* INSTALL:
	  NEWS:
	  README:
	  configure.in:
	  gtk+.spec:
	  docs/gtk-config.1:
	  gtk/gtkfeatures.h.in: version=1.1.10

Wed Dec 23 20:31:40 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c: Fix problem where empty labels were 
	getting a requisition height of zero, and trailing 
	newlines were being ignored.

Wed Dec 23 13:58:14 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_parse_uline):
	label->label should be the mb text _after_ removing
	the underlines, not before.

	* gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
	title hack. If it deserves being done, it deserves
	being done right.
	
1998-12-23  Elliot Lee  <sopwith@redhat.com>

	* gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
 	"GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
 	it be recognized. If we're getting the title out of the GtkLabel,
 	then remove all underscores.

Tue Dec 22 17:01:43 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_dest_handle_event): 
	Request XmTRANFER_FAILURE on Motif drops not within
	a drop zone. I don't know why this is necessary,
	but it is.

	* gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
	Motif flag field in response was getting wrong
	values.

Tue Dec 22 15:55:39 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_button_press): 
	Return TRUE for button press events we handle.
	(Allows option menus in radio buttons to work...)

Tue Dec 22 14:50:25 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
	when we've already found a widget, skip all checks
	for subsequent children.

	* gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
	!MAPPED, not !VISIBLE, since a widget (like a notebook
	page), can be VISIBLE, but !REALIZED or !MAPPED.

	* gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
	not foreach().

Mon Dec 21 22:01:49 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug

Sun Dec 20 04:48:59 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
	events are processed.

	* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
	variants: gtk_container_foreach_interp, gtk_idle_add_interp,
 	gtk_timeout_add_interp, gtk_signal_connect_interp.

Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>

	* configure.in: added sv to ALL_LIGNUAS

Sat Dec 19 22:49:40 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug
	that caused this function to always return NULL (noticed by marius
 	vollmer).

Sat Dec 19 17:28:30 1998  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Don't add the gthread libs to 
	GLIB_LIBS either, or -lgthread -lpthread will get 
	pulled into all applications because of shlib deps.

	* gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk: 
	Use GLIB's priority #define. Revise scale of 
	priorities.

Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkmain.c: always run a g_main_iteration, even if
	there are no active main loops. This fixes the gimp splash
	screen.

Sat Dec 19 05:37:51 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtklabel.c (gtk_label_expose): removed return_if_fail
 	(label->words != NULL) since that's a valid case when the label
 	is empty, or just default constructed.
	fixed indentation prototype arguments and braces in some places.
	also, pointer comparisions and initializations are done with NULL
	not 0, there's a reason GLib defines NULL.

	* gdk/gdkevents.c (gdk_events_pending): return (queued_events ||
 	putback_events) so this again returns whether events are pending,
	not whether other sources like idles are pending.

	* gtk/gtkmain.c (gtk_main_iteration_do): 
	(gtk_main_iteration): return whether the loop is done, not whether
	something got dispatch to restore the original behaviour (yosh: this
 	fixes code like in GleSelector).

Fri Dec 18 19:20:45 PST 1998 Manish Singh <yosh@gimp.org>

	* gtkbutton.[ch]
	* gtktogglebutton.c: s/(enter|leave)_button/$1/g, since pthreads.h
	no longer conflicts
	
Sat Dec 19 01:56:13 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
 	bug.

Fri Dec 18 15:30:43 PST 1998 Manish Singh <yosh@gimp.org>

	* configure.in: add ja to ALL_LINGUAS

Fri Dec 18 15:19:54 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (gtk_socket_filter_func): Marked
	plug window as destroyed before destroying the 
	window.

Fri Dec 18 14:17:14 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
	tearoff window so when we reparent the window out,
	the window doesn't shrink down.

1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: do not export the glib flags for thread support to
	gtk-config.

Fri Dec 18 01:32:59 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we
 	get the original behaviour back, i.e. the event queue needs to be flushed
	after a main loop has been quitted.
	(gtk_main): add/remove the current main loop to/from the main loop
 	before/after init/quit functions have been exected to preserve the
 	original gtk_main_quit() behaviour.

Thu Dec 17 23:48:29 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdkevents.c (gdk_events_init): changed argument order in call
	to g_main_add_poll() to match recent glib changes.

Thu Dec 17 20:33:28 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk-config.in: Add @INTLLIBS@. 
	gtk-scier-981116-0.patch  Sean Cier <scier@PostHorizon.com>) ]

	* gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c
	  gtk/gtkgamma.c gtk/gtkinputdialog.c 
	  gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c
	  gtk/gtktipsquery.c: 
	
	Applied parts of gtk-egger-981215-1 [ Daniel Egger
	<Daniel.Egger@t-online.de> ] marking additional strings for
	internationalization.
	
	* po/nl.po: Added Dutch translation from 
	Paul Siegmann <pauls@euronet.nl>.
	
Thu Dec 17 18:25:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
	info tag from the context so if the source unexpectedly
	responds in the future, we do nothing properly.

Thu Dec 17 18:24:41 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
	the case where one side of the the pane is empty.

	* gtk/gtkfilesel.c (gtk_file_selection_init): Set
	dir_title before using it. (Pointed out by
	Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
	
Thu Dec 17 10:53:20 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_set_text): Free 
	previous label->label_wc.

	* gtk/testgtkrc: Leave font, not fontset commented
	in by default.

1998-12-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed
	unnecessary USE_XIM guard inside another. Made gdk_use_mb
	static. Compile gdk_set_locale also if not USE_XIM.	

Thu Dec 17 00:26:01 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.9

	* INSTALL:
	  NEWS:
	  README:
	  configure.in:
	  gtk+.spec:
	  gtk/gtkfeatures.h.in:
	  docs/gtk-config.1: version=1.1.9

Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>

	* autogen.sh: rm -rf intl breaks --disable-nls, put it back

	* gtkbutton.[ch]
	* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
	Digital: 1 GTK+: 0 (for now)

Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* gdk/gdkevents.c: updated call to g_main_add_poll
          instead of g_main_poll_add

Wed Dec 16 23:32:05 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_expose): Remove 
	unnecessary cast.

Wed Dec 16 22:50:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0 
	mb functions, and avoid them.

Wed Dec 16 16:57:55 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c (gdk_events_queue): Don't
	call XPending() if we have putback events.

Wed Dec 16 16:04:41 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_expose): Do nothing
	on empty string, quietly.

Wed Dec 16 15:36:19 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
	Redraw the character under the cursor when removing
	the cursor.

Wed Dec 16 13:06:17 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main
	thread lock back to GDK - we need it there for locking
	when translating events. Rename things appropriately.

Wed Dec 16 11:44:21 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo.

Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.8

	* ChangeLog:
	  INSTALL:
	  README:
	  gtk+.spec:
	  docs/gtk-config.1: version=1.1.8

1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.

Wed Dec 16 07:03:32 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: s/USER_DRAW/APP_PAINTABLE/. provided
	gtk_widget_set_app_paintable() which users can use to make
	a widget paintable for the application. changed other files accordingly.

Wed Dec 16 05:26:32 1998  Tim Janik  <timj@gtk.org>

        * configure.in: version bump to 1.1.8, binary age 0, interface age 0,
	depend on GLib 1.1.8.

	* gdk/gdkprivate.h:
	* gdk/gdkglobals.c: removed last Gdk threads specific bits.

	* gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.

	* gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
	to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
	honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
 	and GTK_THREADS_LEAVE(). changed callers accordingly.

Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* autogen.sh: warn if glib.m4 or gettext.m4 are not found 
          in aclocal's directory.

Tue Dec 15 21:36:14 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtk.c (create_layout): Create buttons,
	not combos again.

1998-12-15  Joel Becker  <jlbec@ocala.cs.miami.edu>

	* autogen.sh: reordered gettextize and aclocal, because
	gettextize was messing up aclocal.m4.

Tue Dec 15 22:30:44 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.h : 
	removed clist flag : GTK_CLIST_DRAG_SELECTION
	added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
	GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
	(GtkCListDragPos) : new enum for DND
 	(GtkButtonAction) : new enum of possible mouse button actions
	(struct _GtkCList): added button_actions array.
 	Added drag_button and click_cell struct, to store cell and
 	mouse button of last button_press_event
	
	(struct _GtkCListClass): new class method draw_drag_highlight.
	(gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
	new functions. Moved from gtkctree.h. Now clist is reorderable
	as well.
	(gtk_clist_set_button_actions) new function to customize mouse
	button actions.

	* gtk/gtkclist.c:
	(gtk_clist_drag_begin)
	(gtk_clist_drag_motion)
	(gtk_clist_drag_leave)
	(gtk_clist_drag_end)
	(gtk_clist_drag_drop)
	(gtk_clist_drag_data_get)
	(gtk_clist_drag_data_received) : new dnd widget methods to
	implement clists reorderability via DND

	(remove_grab) : new function. remove mouse grab if necessary.
	(draw_drag_highlight) : new method. Draw dnd highlight depending
	on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT

	(gtk_clist_class_init): added object args "reorderable" and
 	"use_drag_icons"

	(gtk_clist_button_press) (gtk_clist_button_release) :
	use button_actions array to decide which action to perform.
	(gtk_clist_motion) : start reorder operation if necessary.

	* gtk/gtkctree.h :
	(struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
	drag_row, drag_source, drag_target, reorderable, use_icons,
	in_drag, drag_rect
	(gtk_ctree_set_reorderable) :  deprecated function.
 	use gtk_clist_set_reorderable instead.
	(gtk_ctree_set_use_drag_icons) : deprecated function.
 	use gtk_clist_set_use_drag_icons instead.

	* gtk/gtkctree.c :
	(gtk_ctree_class_init): removed object args "reorderable" and
	and "use_drag_icons"

	(draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
	(tree_toggle_selection) (set_mouse_cursor) : removed
	
	(draw_drag_highlight) : new clist method. replacement for
	draw_xor_line and draw_xor_rect functions
	(check_drag) renamed check_cursor function

	(gtk_ctree_drag_begin)
	(gtk_ctree_drag_motion)
	(gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
	reorderability via DND

	(gtk_ctree_button_release)
	(gtk_ctree_button_motion) : removed.

	* gtk/testgtk.c:
	(create_clist) : added new reorderable toggle button
 	
Tue Dec 15 19:50:41 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use 
	base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
	used in detergent commercials.

Tue Dec 15 16:54:09 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.h: Moved gtk_label_set() compatiblity
	define from <gtkcompat.h> to <gtklabel.h> for
	compatibility.

1998-12-15  Jeff Garzik  <jgarzik@pobox.com>

	* configure.in, gdk/Makefile.am, gtk/Makefile.am:
	Removed last remaining thread-related configure bits 
	that have been moved into GLib.

1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>

	* gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
	as the mask for checking for GDK_INPUT_EXCEPTION events.

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

	* acinclude.m4: Make the gettext check for for libc5 systems.

	* autogen.sh: Not running gettextize fails on a fresh CVS checkout
	and we'll get a lot of bug reports tomorrow, so I add it back.

	* acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
	AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
	warnings.

Tue Dec 15 16:06:15 1998  Owen Taylor  <otaylor@redhat.com>

	* acinclude.m4: Provide a hacked version of the
	  gettext macros that never use the included gettext.
	 
	* Makefile.am configure.in: Remove references
	  to intl/
	
	* autogen.sh: Don't run gettextize.

Tue Dec 15 14:30:35 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()

        * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
	  to label. (Based on patch from Jeff Dairiki
	  <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)

	- Adds new function gtk_label_set_line_wrap()
	- implement GTK_JUSTIFY_FILL.
	- rename gtk_label_set to gtk_label_set_text() add
	   gtk_label_set() to gtkcompat.h.

	* Use an internal wc representation in the label, so
	  that we handle underlining and line breaks correctly
	  for multi-byte strings.

Tue Dec 15 13:32:28 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.h: Added GTK_USER_DRAW flag.

	* gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.

	* gtk/gtkdrawwindow.c gtk/Makefile.am: Removed 
	GtkDrawWindow, which GTK_USER_DRAW obsoletes.

Tue Dec 15 11:37:05 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c: Fixed up some warnings.

Tue Dec 15 10:32:01 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk{h,v,}paned.{c,h}: Add new functions 
	gtk_paned_set_position(),
	gtk_paned_pack1/2(). The latter take a
	shrink and resize parameters, that allows setting
	minimum sizes and getting 'relative' resizing.

Tue Dec 15 10:26:23 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c: Keep separate putback_events and 
	queued_events queues so that we get both FIFO and 
	preemptive behavior for	gdk_event_put().

Tue Dec 15 09:22:44 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkrc.c (gtk_rc_init): Removed unused 
	variable, fixed minor memory leak.

	* gdk/gdk.c: Fixed another merge problem.

Tue Dec 15 08:53:38 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
	which crept back in in last commit.

Tue Dec 15 01:38:53 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am: Commented out testthreads from
	the build process, since we won't have any idea
	how to create a thread.

	* configure.in (LIBS): use glib-config ... gthread
	so we always build a thread-compatible library.

        * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
	  gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
	  gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
	  gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
	  gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
	
	Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
	and idles to account for the fact that they are no
	longer called within the GTK+ lock.

	* gtk/gtkprivate.h: Added definitions for locking
	the main GTK+ mutex.
	
	* gtk/gtkmain.c: Re-implement the main loop 
	in terms of the GLib main loop.

	* gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading 
	functionality, as it seems better to subsume GDK within the 
	GTK+ lock than vice-versa.

        * gdk/gdkevents.c: New file, containing event handling bits 
	from gdk.c.

	* gdk/gdkevents.c: Implement event source for GDK
	events.
	
	* configure.in gdk/gdkevents.c: Removed attempts to 
	subtract base_id, which were already non-functional.

Mon Dec 14 23:05:20 PST 1998 Manish Singh <yosh@gimp.org>

	* acconfig.h
	* configure.in: removed IPC_RMID_DEFERRED_RELEASE check

	* gdk/gdk.c: remove signal handlers, since we do an IPC_RMID
	after XShmAttach, and nobody complained

Tue Dec 15 02:27:42 MET 1998 Sven Neumann <sven@gimp.org>

	* po/de.po: Replaced the crappy german po-file with a valid one.

Mon Dec 14 16:10:05 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_init): Append locale-specific
	suffixes to default rc file names, and look these
	up in addition to the base filename, to facilitate
	having the correct fontset per-locale.

	move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc

	* gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
	New function to set a function to translate menu paths.

	* gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
	results of g_strsplit().

1998-12-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* configure.in (ALL_LINGUAS): Added 'pt'.

	* po/pt.po: Added Portuguese translation.

Mon Dec 14 20:04:31 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkspinbutton.c: Only call gtk_spin_button_update if
 	the spinbutton is editable.

Mon Dec 14 12:24:13 1998  Owen Taylor  <otaylor@redhat.com>

	* HACKING: Added gettext-10.35

	* autogen.sh: Run gettextize.

Wed Dec  9 16:29:06 1998  Owen Taylor  <otaylor@redhat.com>

        Applied gtk-egger-981010-[12] 
	[ Daniel.Egger@t-online.de (Daniel Egger) ]

	* gtk/gtkintl.h: New file - defines for localization.

	* gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
	for internationalization.

	* gtk/gtkmain.c: call bindtextdomain

	* po/ - directory for translations. Initially includes
	German translation.

Mon Dec 14 02:42:11 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and
	RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into
	gtk_widget_real_grab_focus() so a signal is always emitted
	if the focus is grabbed on a widget.

Mon Dec 14 02:13:01 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or
	not to delay the submenu popup from a menu item deselection time stamp.
	the code looks even more hackish than before, but in practice "feels"
	very well.

1998-12-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
	signal for widgets.  When the signal is emitted, the widget will
	grab the focus.  This is needed to let the user press an
	accelerator key in a dialog box and have the corresponding widget
	be focused.

	* gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
	signal.  The default handler is simply gtk_widget_grab_focus().

Sun Dec 13 22:15:48 GMT 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml: Update the following sections to the
	  current API:
	    - Container Widgets
	    - CList Widget
	    - List Widget
	    - Tree Widget

Sat Dec 12 19:11:35 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal.

	* gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal.

	* gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8.

Sat Dec 12 17:46:55 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtklayout.c (gtk_layout_unrealize): Mark
	child->window as destroyed so we don't destroy
	it again.

Sat Dec 12 17:18:32 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkfont.c (gdk_text_extents): Corrections
	to computation of extents of text from a font set.
	(from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)
         and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
	
Fri Dec 11 08:59:12 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklistitem.c (gtk_list_item_style_set):
	* gtk/gtklist.c     (gtk_list_style_set):
	Added "style_set" handlers.

Fri Dec 11 05:49:30 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set"
	handler so that the background of the clist changes
	with the theme.

Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.7

	* INSTALL:
	  NEWS:
	  README:
	  configure.in:
	  gtk+.spec:
	  gtk/gtkfeatures.h.in: 
	  docs/gtk-config.1: Version to 1.1.7

Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkclist.c: avoid void pointer math

	* gtk/gtkhscale.c
	* gtk/gtkhscrollbar.c
	* gtk/gtkvscale.c
	* gtk/gtkvscrollbar.c: removed trailing , from enums

	* gtk/gtksignal.c: can't use enums as a bitfield type, use guint

	* gtk/testgtk.c: removed C++ comment added by owenpoo

Thu Dec 10 21:48:34 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()

Thu Dec 10 20:42:22 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use 
	gdk_window_get_origin() instead of gdk_window_get_position,
	because get_position is unreliable for plugs. 

	This is a bad hack, maybe we need GDK_WINDOW_PLUG?

Thu Dec 10 17:58:49 GMT 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml:
	  - re-write the GtkProgressBar section to the 1.1 API.
	  - add an Appendix listing all the signals
	    (apologies to TimJ for taking so long in using his hard work
	     in automating the extraction - thanx Tim). 
	* examples/*: bring them all upto the tutorial versions

Thu Dec 10 02:21:16 1998  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/testdnd.c: use g_snprintf, eliminate need for string.h
	* gtk/testrgb.c: include string.h, for strlen

Wed Dec  9 17:39:26 1998  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Add a case for success in 
	test for XUnregisterIMInstantiate, to prevent
	screwing up $LIBS.

Wed Dec  9 13:06:31 1998  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
 	* gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
 	list and return type for non-XIM fallback.
 
 	* configure.in: Only build XIM-support if available.
 
Wed Dec  9 12:23:30 1998  Owen Taylor  <otaylor@redhat.com>
	
	* gtk/testselection.c (main): Add in missing 'flags'
	field to target list.

	* gdk/gdkproperty.c (gdk_atom_intern): Actually
	add the atoms to the local cache.

Wed Dec  9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkprivate.h: put text after #endif in comment

	* gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl

	* gtk/testdnd.c: #include <string.h>

Mon Dec  7 10:27:09 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
	signals through the widget heirarchy. This is unpleasant, as it
	causes more X traffic, but is necessary, because we have to clean
	up our Input Contexts before destroying the X windows.
	(from matsu-981109-0.patch)
	
Mon Dec  7 10:18:18 1998  Owen Taylor  <otaylor@redhat.com>

	Applied gtk-a-higuti-981202-0 : 
	[ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
	
	* gdk/gdk.h gdk/gdk.c
		(gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
			implemented by a combination of Xlib functions, so
			it works even with X_LOCALE.
		(gdk_wcstombs): New function.
		(g_mbtowc): Removed. No longer needed.

	* gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c: 
	        Added _wc() variants to gdk_text_width(), 
		gdk_char_width(), gdk_draw_text(),
		
	* gdk/gdki18n.h
		(mblen, mbtowc, wctomb, mbstowcs, wcstombs,
		 wcslen, wcscpy, wcsncpy):
			Removed. No longer needed.
		(iswalnum): Removed.
		(gdk_iswalnum): New macro.
		(gdk_iswspace): New macro.
	* gdk/gdktype.h
		(GdkWChar): New typedef.
	
	* gtk/gtkentry.h, gtk/gtkentry.c
		There are many changes according to the change of the
		internal representation of text, from multibyte string
		to wide characters. 
	* gtk/gtkprivate.h, gtk/gtkmain.c
		Removed the variable gtk_use_mb and related codes.
	* gtk/gtkspinbutton.c
		Some changes according to the change of type of entry->text.
	* gtk/gtktext.h, gtk/gtktext.c
		Changed the internal representation of text. We use GdkWchar
		if a fontset is supplied. If not, we use guchar to save
		memory.
	
Tue Dec  1 15:20:39 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_new): When creating
	a window with a specified non-system visual, use
	a matching colormap.

Mon Nov 30 11:50:13 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c gdk/gdkim.c gdk/gdkprivate.h gdk/gdk.h
	  gdk/gdktypes.h gtk/gtkeditable.c gtk/gtkmain.c
	  gtk/gtkentry.c gtk/gtktext.c:

	 Applied matsu-981109-0
	 [ matsu@arch.comp.kyutech.ac.jp (Takashi Matsuda) ]
	
	 - Change system of setting input method values 
	   from varargs to a structure, similar to GC's
	   or window attributes.

	 - Various fixes to event handling.

	 Also:

	 * gdk/gdkim.c: Split of input method stuff into
	   a separate source file.

	 * Remove GdkIM typedef, change everything from
	   GdkIC to GdkIC * to be consistent with the
	   rest of GTK.
	
Wed Dec  9 00:41:41 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_add_initial_default_files): Allocate
	correct amount of memory for strings.

Tue Dec  8 18:29:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.6

	* NEWS: updated

        * gtk/Makefile.am:
          gtk/testgtk.c:
          gtk/gtkrc.h:
          gtk/gtkrc.c: Read in default files.

Wed Dec  9 00:49:12 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.h:
	* gtk/gtktypeutils.c: added gtk_type_query() which returns a newly
	allocated structure holding certain type specific informations.
	fixed the big bunch of `discards const' warnings with the
 	initialization of enum/flags values.

Tue Dec  8 15:10:17 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_transient_parent_realized):
	Fixed order of arguments to gdk_window_transient_for().

Tue Dec  8 18:02:57 GMT 1998  Tony Gale  <gale@gtk.org>

	* examples/Makefile: simple top level Makefile that invokes all
	  the sub-directory Makefiles.

1998-12-08  Andrew T. Veliath  <andrewtv@usa.net>

	* gtk/testgtk.c: Functions to test the toolbar space style.

	* gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of
	GtkToolbarChild to hold allocation. Set default space style to
	GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator
	fraction defaults.
	(gtk_toolbar_paint_space_line): New function; paints the separator
	line, using "toolbar" as the detail.
	(gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when
	style is set to SPACE_LINE.
	(gtk_toolbar_size_allocate): Store space allocations.
	(gtk_toolbar_insert_element): If we are a space, allocate and
	initialize a GtkToolbarChildSpace instead of a GtkToolbarChild.
	(gtk_toolbar_set_space_style): New function.

	* gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY
	and LINE. Add prototype for gtk_toolbar_set_space_style.

Mon Dec  7 16:03:55 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkthemes.h: Remove random unnecessary includes
	of standard headers.

1998-12-07  Damon Chaplin  <DAChaplin@msn.com>

	* gtk/gtkfontsel.c (gtk_font_selection_select_best_style): made sure
	we only try to match styles which are currently shown.

	(gtk_font_selection_init): set the notebook tabs homogeneous and set
	the border, so we don't need to set the size explicitly (bad for i18n).
	Used the clist auto-resize feature for the font and style lists on the
	main page and all the filters. Used padding for the 'Reset Filter'
	button instead of spaces around it (bad for i18n).

	(gtk_font_selection_find_font): when searching for
	a font, if we can't match both the family and foundry, we return any
	font where just	the family matches. (The foundry can even be '*'.)

	(gtk_font_selection_show_available_styles): 
	(gtk_font_selection_realize_list): don't set the style clist row
	colours (for the charset rows) until the clist is realized, since we
	use the clist style's insensitive colours.

Mon Dec  7 13:38:06 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkimage.c (gdk_image_new): Use IPC_RMID
	_after_ doing XShmAttach. This should work everywhere,
	and avoid the need for signal handlers or configure
	checks.

Thu Dec  3 19:58:45 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkinputdialog.c: Use _add_with_viewport() for
	scrolled window contents.

1998-12-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
	field in the structure.

Mon Dec  7 15:15:06 GMT 1998  Tony Gale <gale@gtk.org>

	* docs/gtk_tut.sgml: Start mass update for GTK 1.1
        * examples/extract.sh: Look for the best version of awk
        * examples/extract.awk: Fix FD leak
        * example/base: minimal example from Tutorial

Mon Dec  7 01:29:27 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkwindow.c: New functions
        gtk_window_set_transient_for() - set up a "transient for" relationship.
	gtk_window_set_default_size() - set the initial size of a window
	   distinct from its minimum size.
	gtk_window_set_geometry_hints() - Allow the user to set
	   minimum, maximum sizes, aspect rations, and gridded geometry, 
	   possibly all with respect to a subwidget of the window.
	These interfaces are still a wee bit experimental.

	* gdk/gdk.c: Added gdk_window_set_transient_for(),
	gdk_window_set_geometry_hints(), and gdk_window_set_role().

	* gdk/gdktypes.h: Added new types for find-grained specification
	of WM hints.

	* gtk/testgtk.c: Various changes to tests to test the
	above new functions.

	* gtk/gtkfontsel.c: Squash a few 'const' warnings.
	
	* gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored
	call to gtk_style_set_background() to prevent egregious
	flashing to black.

Mon Dec  7 03:52:01 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_handlers_run): when marshalling connect_object
	signals, don't pass the data pointer twice, but swap it with the
	object pointer (proposed on Nov 30 1998 on gtk-devel-list).

Mon Dec  7 03:08:39 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c: reverted Marius's change to expose the type systems
	internal type info data to the user. if such functionality is required
	we should provide wrapping accessors, ala gtk_signal_query(). also the
	GtkTypeInfo structures are dynamically allocated memory portions, so
	only the type system is really allowed to access that stuff.

	* gtk/gtksignal.c (gtk_signal_connect_by_type): reverted marius change,
	since it destroys the possibility to implement automatic marshaller
	lookups some day, and it also disables third party code's ability to
	connect to any signal.

Mon Dec  7 01:32:18 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkfilesel.c (gtk_file_selection_key_press): always intercept the
	Tab key on the entry. the focus shouldn't get lost even if completion
	is attempted from an empty entry, since an empty entry string does
	indeed have a valid completion meaning (complete all).
	(gtk_file_selection_init): cast the gchar array parameter in calls to
	gtk_clist_new_with_titles() to quit compiler warnings.
	(check_dir): the no_stat_dirs struct must not be const, since we do
	indeed modify its contents.

	* gtk/testgtk.c (event_watcher): adapted prototype to fit new emission
	hook semantics.

	* gtk/gtksignal.h:
	* gtk/gtksignal.c:
	changed emission allocation, so we don't use a doubly linked list
	but link ourselfs (singly linked).
	changed emission hooks, they get the emision parameters passed as
	well now and are emitted during the actuall signal emission (after
	the RUN_FIRST class method, but prior to RUN_FIRST handlers).
	the existing restrictions do still apply to signal emission hooks,
 	i.e. an emission may not be stopped or restarted from an emission hook.
	due to possibly huge perfomance impacts, frequent use of emision hooks
	is also not recommended.
 	(gtk_signal_next_and_invalidate): added an
 	assertments which explicits what the code assumes anyways: a
	maximum amount of 65535 signals.

	* gtk/gtkcontainer.h: deprecated gtk_container_foreach_interp(),
	gtk_container_foreach_full() should be used instead.

	* gtk/gtkmain.h:
	deprecated gtk_timeout_add_interp and gtk_idle_add_interp, since
	we provide _full variants.

	* gtk/gtksignal.h: deprecated gtk_signal_connect_interp(), we provide
	gtk_signal_connect_full() for long enough now.

1998-12-06  Marius Vollmer  <mvo@zagadka.ping.de>

	* gtk/gtksignal.c (gtk_signal_newv): Allow a NULL marshaller.
	(gtk_signal_connect_by_type): Allow only no_marshal handlers to
	connect to signals with a NULL marshaller.

	* gtk/gtktypeutils.c (gtk_type_get_info): New.
	gtk/gtktypeutils.h (gtk_type_get_info): New prototype.

Sun Dec  6 14:27:35 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): Grey out
	arrows if wrap == FALSE and interval borders are reached.

Sat Dec  5 21:07:09 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
	long-standing typo in aspect ratio computation code.
	(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)

Fri Dec  4 01:20:06 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
	valid row numbers only
	(toggle_row): check if clist_row != NULL

Fri Dec  4 00:50:12 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_export_to_gnode): fixed for-loop.

	* gtk/gtkclist.c 
	(gtk_clist_set_column_visibility)
	(gtk_clist_column_titles_active)
 	(gtk_clist_column_titles_active)
	(gtk_clist_column_title_passive)
 	(gtk_clist_column_title_active): few additional tests whether
 	column->button != NULL

Thu Dec  3 16:49:18 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (DROP_ABORT_TIME): Changed to 5 min
	from 10 seconds, so it doesn't abort while users
	have an ACTION_ASK menu up.

	* gtk/gtkdnd.c: Hide the icon window between sending a a 
	drop event to the destination and displaying the
	snapback animation, so that it doesn't hang around
	during ACTION_ASK.

Thu Dec  3 16:37:42 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (get_cell_style): Use GTK_STATE_INSENSITIVE
	for the foreground of cells for CLists in the insensitive
	state, instead of GTK_STATE_PRELIGHT.

Thu Dec  3 06:20:59 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwindow.c: moved checks upon focus setting from
 	gtk_window_real_set_focus to gtk_window_set_focus, so we don't
	emit the signal if unneccessary.

	* gtk/gtkwidget.c (gtk_widget_grab_focus): clear up the old focus
	containers when grabbing focus on a new widget. this is based on
	a patch from Alexis Mikhailov, submitted to gtk-list on 4 Nov 1998.

	* gtk/gtkclist.c (gtk_clist_focus_out): set CLIST_CHILD_HAS_FOCUS
	flag, so we take the buttons into consideration upon the next focus
	request.

	* gtk/gtkcontainer.c (gtk_container_set_focus_child): fixed an
 	assertment.

Wed Dec  2 17:45:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkpixmap.c: Fixes for low-color displays and a slight
	  enhancement for true-color displays.

	* INSTALL:
	  README:
	  configure.in:
	  gtk+.spec:
	  docs/gtk-config.1: up to version 1.1.6

Wed Dec  2 01:36:49 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkfeatures.h.in: lets #define GTK_HAVE_FEATURES_1_1_6 before
	we release it this time

Wed Dec  2 01:39:02 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtknotebook.h: 
	* gtk/gtknotebook.c: s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/.

	* incremented version number to 1.1.6 and made Gtk
 	dependant on GLib 1.1.6.

	* gtk/gtkwidget.h (struct _GtkRequisition): changed width and height
 	from guint16 to gint16, since sizes bigger than 32767 are not supported
 	anyways, and aritmethics with intermediate negative values are possible
 	now.

Tue Dec  1 00:00:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkscrolledwindow.c:
	implementation of GTK_POLICY_NEVER functionality, added rationales
	on the policy and size requisition handling at the top.
	(gtk_scrolled_window_size_request):
	we assume a default minimum for our child's width and height
	if [hv]scrollbar_policy != GTK_POLICY_NEVER, except when the user
	specified the dimension explicitely.
 	(gtk_scrolled_window_size_allocate): 
	do not show scrollbars if [hv]scrollbar_policy == GTK_POLICY_NEVER.

	* gtk/gtkviewport.c (gtk_viewport_size_request): report the real
	size we require (including the child).

        * gtk/gtkclist.c:
	(gtk_clist_size_request): report the real size required.

	* gtk/gtkenums.h (enum GtkPolicyType): added GTK_POLICY_NEVER.

	* gtk/gtkobject.c (gtk_object_init_type): object_type doesn't
	need to be a static variable.

Mon Nov 30 22:41:25 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.h: 
	* gtk/gtkclist.c: 
	* gtk/gtkviewport.h:
	* gtk/gtkviewport.c:
	* gtk/gtktext.h:
	* gtk/gtktext.c:
	* gtk/gtklayout.h:
	* gtk/gtklayout.c:
	* gtk/gtkwidget.h:
	* gtk/gtkwidget.c:
	* gtk/gtkscrolledwindow.h:
	* gtk/gtkscrolledwindow.c:
	s/scroll_adjustements/scroll_adjustments/
	s/scroll_adjustments/set_scroll_adjustments/g

Tue Dec  1 22:45:58 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.h (struct _GtkCListClass): new class method/signal
	row_move.
	* gtk/gtkclist.c (gtk_clist_row_move): new public function.
	emit a row_move signal
	(real_row_move): move source_row to dest_row
	(gtk_clist_swap_rows): use gtk_clist_row_move calls.
	(gtk_clist_columns_autosize): resize all columns to their optimal
	width
	* gtk/gtkctree.c (real_row_move): use gtk_ctree_move to move
	entire sub-tree.
	* gtk/gtknotebook.c (gtk_notebook_nth_page): get nth page widget.

Tue Dec  1 02:40:22 PST 1998 Manish Singh <yosh@gimp.org>

	* configure.in
	* gdk/Makefile.am
	* gtk/Makefile.am: Put -DFOO stuff into Makefile.am INCLUDES.
	Separate vars for each, for granularity.

Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkenums.h: fixed a stupid error of mine about the run type
	values.

1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>

	* {gdk,gtk}/*.c: Make read-only data structures "static const" to
	allow them to be shared, mainly including (but not limited to) the
	GtkTypeInfo structures for each class.

	* gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.

Mon Nov 30 12:17:10 1998  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtksignal.c:
	Surround debug variable with #ifdef to silence gcc.

	* gtk/gtknotebook.c (gtk_notebook_reorder_child):
	Added initializer to quiet gcc warning.
	Added assertion to check for null pointer deref.

Mon Nov 30 10:11:29 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtkrc: merged testgtkrc with the pre-themes one, removed
 	system specific includes.

	* gtk/gtksignal.c: asured that stop and restart emissions are also
 	checked and processed for not connected objects. fixed up restart
	emission administration. invoke emission hooks after emission, hooks
	are not supposed to muck around with the current emission, and
	may also not cause emission restarts. fixed up stop emission
	administration.

Mon Nov 30 06:20:36 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c: added an event watcher for enter/leave based on
	signal emission hooks.

	* gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a
	GTK_RUN_NO_HOOKS signal.

	* gtk/gtksignal.h: 
	* gtk/gtksignal.c: implemented emission hooks, new hooks can be added
	to a signal with gtk_signal_add_emission_hook or
	gtk_signal_add_emission_hook_full, and can be removed again with
	gtk_signal_remove_emission_hook.

	* gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent
	an appropriate mask for signal runtypes for a long time now.
	added GTK_RUN_NO_HOOKS value, which is used to flag signals
	that do not allow the running of signal hooks.

1998-11-26  Michael Krause  <m.krause@tu-harburg.de>

        * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
        argument a gint: switch_page signal delivers valid page numbers
        again.

Sun Nov 29 06:12:01 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment): 
	set composite names.

	* gtk/gtktypeutils.c (gtk_type_unique): removed default initialization
	check, people must use gtk_type_init().
	fixed up type allocation for foreign fundamentals.

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant
	for internal use by containers, that want to assign specific composite
	names to their composite children.
	added gtk_widget_get_composite_name() which will return a newly
 	allocated string, containing the composite name of a widget. valid
	composite names can only be retrived from widgets that have a parent
	assigned and are flagged as GTK_COMPOSITE_CHILD.

	* gtk/gtkcontainer.h:
	* gtk/gtkcontainer.c: added a new function
 	gtk_container_child_default_composite_name() which will return a
	newly allocated string, holding the composite name of a containers
	child. a default implementation is provided which will compose the
	composite name out of the widgets type and its sequential children
 	id. this implementation can be overidden through a new class function
	*(composite_name)().

Sat Nov 28 10:57:59 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
	expose_event handler - we had two expose_event
	handlers!

Sat Nov 28 03:13:42 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkscrolledwindow.h: 
	* gtk/gtkscrolledwindow.c: changed scrolled window inheritance,
	it inherits from GtkBin now.

	* gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for
	visibility of child.
	(gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE().
	added check so a child gets only drawn if it's visible.

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: removed gtk_widget_draw_children().

	* gtk/gtkstyle.h: 
	* gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes.

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child().
	added internal function gtk_widget_reset_shapes() from gtkstyle.c.

	* gtk/gtkrc.h:
	* gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner
	argument, changed callers.

	* gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time,
	it will issue a warning now.

	* gtk/gtkcompat.h: new file to #define aliases for historic
 	function names.

	* changed 8 function names for consistency and provided aliases to keep
	source compatibility in gtkcompat.h:
	(gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width
	(gtk_container_set_border_width): renamed from gtk_container_border_width
	(gtk_notebook_get_current_page): renamed from gtk_notebook_current_page
	(gtk_packer_configure): renamed from gtk_packer_set_child_packing
	(gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size
	(gtk_paned_set_handle_size): renamed from gtk_paned_handle_size
	(gtk_scale_get_value_width): renamed from gtk_scale_value_width
	(gtk_window_set_position): renamed from gtk_window_position

	* renamed a few recently added funtions for consistency:
	(gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label.
	(gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label.
        (gtk_progress_configure): renamed from gtk_progress_reconfigure.

Fri Nov 27 18:57:20 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_add_with_viewport):
	check for existing viewport first, and don't add one if there
	already is one

Sat Nov 28 00:06:49 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
	gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
	and gtk_widget_unlock_accelerators.

	* gtk/gtklayout.h:
	* gtk/gtklayout.c: implemented incremental freezing facility.

	* gtk/gtktext.h: 
	* gtk/gtktext.c: implemented incremental freezing facility.

	* gtk/gtkenums.h:
	* gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.

	* gtk/gtkentry.h:
	* gtk/gtkentry.c:
 	deprecated gtk_entry_adjust_scroll().
 	
 	* random GtkType, macro and indentation fixes.

Fri Nov 27 22:50:15 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.h: 
	* gtk/gtkclist.c: implemented incremental freezing facility, added
	a new class member (*refresh)() which takes over the thaw
 	functionality. the clist FROZEN flag got removed on the way.
	* gtk/gtkctree.c: adaptions to feature the clist refresh functionality
	and incremental freezing.

	* gtk/gtkcalendar.c: implemented incremental freezing facility.

Fri Nov 27 11:41:27 1998  Raph Levien  <raph@gimp.org>

	* gdk/gdkinputcommon.h (gdk_input_common_init): Fixed it so that
	it still includes the core pointer in gdk_input_devices even
	if the XInput extension is not present in the X server.

Fri Nov 27 12:17:15 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to
	get the source widget of a drag.

	* gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP]
	to restrict certain targets to the same widget or to
	the same application.

	* gtk/testdnd.c: Test gtk_drag_get_source_widget().
	
Thu Nov 26 19:11:46 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtk-boxed.defs (GtkCTreeNode): define GtkCTreeNode as boxed type
	* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_CTREE_NODE_TYPE
	instead of GTK_TYPE_POINTER in signal definitions.
	(patch from James Henstridge <james@daa.com.au>)

Thu Nov 26 18:48:44 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (set_cell_contents)
	* gtk/gtkctree.c (set_cell_contents): call column_auto_resize only
 	if auto.resize == TRUE

	* gtk/gtknotebook.c (gtk_notebook_set_shape) (gtk_notebook_expose):
 	don't draw tab, if show_tabs == FALSE
 	(bug reports from Alexis Mikhailov / Dave Cole)
 	(gtk_notebook_focus_changed) (gtk_notebook_draw_focus): draw only
 	the focus rectangle, not the hole tab.

Thu Nov 26 03:18:08 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.h: 
	* gtk/gtkctree.h: 
	* gtk/gtkclist.c:
	* gtk/gtkctree.c: reverted bogus and undocumented!!! changes from
	Jay Cox (98/11/23 13:53:26) which `const' qualified char* arrays.

	* gtk/maketypes.awk: changed underline substitution, so we get
	GTK_TYPE_CTREE_POS instead of the broken GTK_TYPE_C_TREE_POS.
	* gtk/makeenums.pl: likewise.
	* gtk/gtkctree.c: adapted type names accordingly.

Tue Nov 24 11:31:06 1998  Owen Taylor  <otaylor@redhat.com>

	* docs/Changes-1.2.txt: Edited section on the ScrolledWindow.

	* gtk/gtklayout.c (gtk_layout_set_[hv]adjustment): Remove
	some code duplication.

	* gtk/gtklayout.[ch] Fixed mapping and unmapping of child windows
	and child widgets when scrolling greater than 32k pixels.

	* testgtk.c: Modified layout test to test scrolling over 
	long distances.

	* gtk/gtkplug.c: Added a few blank lines.

Tue Nov 24 11:11:05 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklayout.[ch]: Fixed up copyright message.

	* gdk/gdkrgb.c (DM): Make the dither matrix constant
	so it can be shared.

	* gtk/gtkdnd.c: Make cursor bitmaps const.

	* gdk/gdk.h gdk/gdkpixmap.c: Added const to 
	gdk_pixmap/bitmap_create_from_data.

Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>

	* docs/Changes-1.2.txt: added a section on scrolled windows and
	scrollable widgets.

1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>

	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
	buttons when setting relief for button items.
	(gtk_toolbar_set_button_relief): Same.

1998-11-23  Jeff Garzik  <jgarzik@pobox.com>

	* gdk/Makefile.am, gtk/Makefile.am:
	Removed DEFS "+=" mess that breaks recent automakes.
	INCLUDES is the correct way to add to CFLAGS from Makefile.am.

	* gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
	gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
	gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
	gtk/testthreads.c:
	Include "config.h" instead of "../config.h".
	Now that DEFS works again, automake will automatically pass us
	the location of config.h in -I.

Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
	gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:

	Added layout widget for scrolling arbitrarily big areas.
	Added plug/socket widgets for interprocess embedding.

	These widgets still, at some point, need to be
	made more pure in their use of GDK, as opposed
	to raw X.

	* gtk/testgtk.c: Added test for layout widget.
	
1998-11-23  Jeff Garzik  <jgarzik@pobox.com>

	* gtk/gtkclist.c: (gtk_clist_swap_rows):  Bugfix from
	Brandon Long <blong@fiction.net> - do the right thing with first
	and last, which are the absolute values of row arguments row1
	and row2.

Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
	default adjustment (from 0 to 100) instead. I'm not sure if this
	is the correct level for the fix, but gtk_progress_bar_new()'s
	original default behavior is restored.

1998-11-23  Martin Baulig  <martin@home-of-linux.org>

	* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
	we can check for latest GTK features.

1998-11-23  Havoc Pennington  <hp@pobox.com>

	* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
	(gtk_toolbar_insert_element): When setting relief, also affect
	toggle buttons.

Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkobject.h: remove extraneous comma

Mon Nov 23 05:21:50 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c:
 	(gtk_container_add_with_args): 
	(gtk_container_addv): 
	(gtk_container_add): removed assertements for constructed containers
	again, since this essentially breaks the "child" arg.

	* gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
	reference count, we don't need to reference toplevels that already have
	destroy notifiers.

	* gtk/gtkscrolledwindow.c: check for the composites existance in
	_forall since we might not be already constructed.

Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.5

	* configure.in: require GLib 1.1.5

Mon Nov 23 03:21:17 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
	2 * hadj.
	(gtk_text_finalize): only unref the current_font if we have
	been realized.

Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* configure.in:
	  INSTALL:
	  NEWS:
	  README:
	  gtk+.spec:
	  docs/gtk-config.1: Version incremented to 1.1.5

Sun Nov 22 16:21:28 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkprogress.c: added args ::show_text, ::text_xalign,
 	::text_yalign, ::activity_mode.

	* gtk/gtkprogressbar.c: added construct arg ::adjustment. added args
 	::bar_style, ::orientation, ::discrete_blocks, ::activity_step,
 	::activity_blocks.
	(gtk_progress_bar_new):
	(gtk_progress_bar_new_with_adjustment): use gtk_widget_new().
	(gtk_progress_bar_construct): deprecated.

	* gtk/gtkvscrollbar.c:
	(gtk_vscrollbar_draw_step_back): 
	(gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for
 	gtk_paint_arrow, to be consistent with hscrollbar.

	* gtk/gtktext.c
	added construct args ::hadjustment, ::vadjustment.
	added args ::line_wrap, ::word_wrap.
	(gtk_text_class_init): added scroll_adjustments signal.
	(gtk_text_new): use gtk_widget_new.
	(gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments,
	so we don't screw the reference counts and don't leave signals connected.
 	(gtk_text_destroy): disconnect adjustments signals.
 	(gtk_text_finalize): unref adjustments.

	* gtk/gtkctree.c: added construct args ::n_columns and ::tree_column.
	added args ::indent, ::spacing, ::show_stub, ::reorderable,
 	::use_drag_icons, ::line_style and ::expander_style.
	(gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is
	deprecated now.

	* gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag.
	* gtk/gtkclist.c:
 	removed ::vadjustment and ::hadjustment args, introduced
 	::scroll_adjustments signal.
	added ::shadow_type, ::selection_mode and ::row_height args.
	added n_columns construct arg.
	(gtk_clist_construct): call gtk_object_constructed().
 	(gtk_clist_set_row_height): if height is passed as 0,
	revert to automatic height calculation.
	(gtk_clist_destroy): before unrefing the adjustments, disconnect our
	signal handlers.

Fri Nov 21 22:34:58 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct
	like gtk_object_new.
	(gtk_widget_destroy): assert that we only destroy constructed widgets.

	* gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY
	to identify args that may only be used for construction.
	GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction
	time.
	* gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct
	at the end if the object is not fully constructed.
	(gtk_object_newv): likewise.
	(gtk_object_destroy): assert that we only destroy constructed objects.
 	(gtk_object_init): setup GTK_CONSTRUCTED from the
	objects real klass.
	(gtk_object_default_construct): new function to complete default
	construction of an object by applying missing construtor args with
	default values of 0, 0.0 or NULL.
	(gtk_object_constructed): new function to mark an object as being
	constructed (used from within constructors).

	* gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer
	so it is immediatedly available for the caller.

	* gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to
	the object initilizer (GtkObjectInitFunc takes a second arg now, the
 	real klass), and asure that object initializers may temporarily alter
	the class pointer.

Fri Nov 20 08:00:30 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c: change all occourances of gtk_container_add (
	scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...)
	for widget!=(clist, ctree, text, viewport).

	* gtk/gtkcombo.c:
 	(gtk_combo_init): use gtk_scrolled_window_add_with_viewport()
	to add children to the scrolled window.

	* gtk/gtkscrolledwindow.h:
	* gtk/gtkscrolledwindow.c:
	changed scrolled_window->viewport to scrolled_window->child, and use
	gtk_widget_scroll_adjustements() to set the scroll adjustments for the
	widget, we do not create an additional viewport anymore.
	added ::hadjustment and ::vadjustment constructor args.
 	(gtk_scrolled_window_new): use gtk_widget_new() to create the widget.
	(gtk_scrolled_window_set_hadjustment):
	(gtk_scrolled_window_set_vadjustment): new functions that superceed
	gtk_scrolled_window_construct.
	(gtk_scrolled_window_construct): deprecated this function.
	
	* gtk/gtkhscrollbar.c:
	* gtk/gtkvscrollbar.c:
	* gtk/gtkhscale.c:
	* gtk/gtkvscale.c:
	support a constructor arg "::adjustment", and use gtk_widget_new() for
	the widget creation.

	* gtk/gtkrange.c: added ::update_policy arg.
 	(gtk_range_set_adjustment): if adjustment is passed in as NULL, create
 	a default adjustment so this function can be used for derived widgets
 	that depend on the adjustment's existance.
	(gtk_range_destroy): disconnect the adjustment signal, so we don't
	get called after we got destroyed, we don't destroy the adjustment
	in here, because it might have been provided from another widget.

	* gtk/gtkviewport.c: introduced ::scroll_adjustments signal.
	(gtk_viewport_destroy): same as gtk_range_destroy.

	* gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy.

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: changed gtk_widget_activate() to return a
	gboolean, indicating whether this widget supports activation.
	added gtk_widget_scroll_adjustements() to set the scrolling
	adjustments of a widget.

Wed Nov 19 01:22:42 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkoptionmenu.c:
 	(gtk_option_menu_remove_contents):
	(gtk_option_menu_update_contents): removed
 	gtk_container_[un]block_resize() pairs.

	* gtk/gtknotebook.h: 
	* gtk/gtknotebook.c: removed the tab_border field, since it shouldn't
	be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a
	wrtie-only argument.

	* *.c: made deprecated functions issue a message:
	gtk_clist_set_border, gtk_container_block_resize,
 	gtk_container_unblock_resize, gtk_container_need_resize,
 	gtk_object_class_add_user_signal, gtk_spin_button_construct,
	gtk_scrolled_window_construct.
	removed non-functional functions:
	gtk_container_disable_resize, gtk_container_enable_resize,
	gtk_clist_set_policy.

Wed Nov 18 22:54:36 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbox.c (gtk_box_init): 
	* gtk/gtkdrawingarea.c (gtk_drawing_area_init): 
	* gtk/gtkeventbox.c (gtk_event_box_init): 
	* gtk/gtkfixed.c (gtk_fixed_init): 
	* gtk/gtkframe.c (gtk_frame_init): 
	* gtk/gtkhandlebox.c (gtk_handle_box_init): 
	* gtk/gtkpacker.c (gtk_packer_init): 
	* gtk/gtkmisc.c (gtk_misc_init): 
	* gtk/gtkpreview.c (gtk_preview_init): 
	* gtk/gtkprogress.c (gtk_progress_init): 
	* gtk/gtkprogressbar.c (gtk_progress_bar_init): 
	* gtk/gtkseparator.c (gtk_separator_init): 
	* gtk/gtktable.c (gtk_table_init): 
	* gtk/gtkviewport.c (gtk_viewport_init): 
	* gtk/gtkalignment.c (gtk_alignment_init): 
	removed setting of the GTK_BASIC flag.

	* gtk/gtkwidget.h:
	* gtk/gtkwidget.c:
	removed GTK_BASIC, GTK_WIDGET_BASIC and	gtk_widget_basic.

	* miscellaneous GtkType and macro fixups.

Sat Nov 21 18:53:13 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_get_deskrelative_origin): 
	Fixed so it at least works with window managers other
	than Enlightenment, though it probably needs to be
	removed altogether.

1998-11-21  Andrew T. Veliath  <andrewtv@usa.net>

	* gtk/gtkhandlebox.[ch]: Add shadow_type and
	gtk_handle_box_set_shadow_type function (plus a
	GtkHandleBox::shadow arg) to allow configuration of shadow in the
	bin window.

Thu Nov 19 23:47:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkcalendar.c: Fix for marking days from 
	  Dan Reish <dreish@izzy.net>.

Thu Nov 19 00:15:27 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode
	in row_list. (from Samuel Solon <ssolon@usa.net>)
	
	* gtk/gtkclist.c (gtk_clist_get_column_title): return column title
	(gtk_clist_get_column_widget): return column widget

Wed Nov 18 11:54:57 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops
	that are sent to a toplevel but are not within the
	toplevels bounds.

	* gdk/gdkdnd.c gdk/gdk.h: Added support for a
	XdndProxy atom which proxies the drag to another window.

1998-11-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, now
	that it is not needed.

Tue Nov 17 1998 The Rasterman <raster@redhat.com>
	* gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin
	  function to correctly determine gdk window position relative to
	  its "root window" - contains check for an Enlightenment
	  virtual root window.
	* gtk/gtkhandlebox.c: changed gdk_window_get_origin ->
	  gdk_window_get_deskrelative_origin to get the origin of dragged
	  handleboxes correctly. Now it works correctly with E.
	  
Tue Nov 17 1998  Tuomas Lukka <lukka@iki.fi>

	* gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
 	  getting types even though we were not using real type names,
	  just the index.  This caused random crashes when more than 
	  256 types were defined.

1998-11-17  Martin Baulig  <martin@home-of-linux.org>

	* gtk/genmarshal.pl: Put output files in the current directory
	and not in the $(srcdir) since the VPATH is ignored for built
	sources.

Tue Nov 17 01:37:53 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/genmarshal.pl
	* gtk/Makefile.am: check for unchanged autogenerated files, so
	we don't rebuild everything just for adding a new function

Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkpixmap.h
	  gtk/gtkpixmap.c: Pixmaps now grey out when insensitive,
	  code thanks to GNOME stock by Eckehard Berns.  New function
	  gtk_pixmap_set_build_insensitive to provide ability to turn 
	  this off.

Tue Nov 17 00:06:29 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous;
	new guints : tab_hborder, tab_vborder; marked tab_border deprecated
	(struct _GtkNotebookPage): new flags : expand, fill, pack

	* gtk/gtknotebook.h/c
	(gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous
 	tabs
	(gtk_notebook_set_tab_border): set tab_h/vborder to tab_border
	(gtk_notebook_set_tab_hborder): new function. set tab_hborder
	(gtk_notebook_set_tab_vborder): new function. set tab_vborder
	(gtk_notebook_query_tab_label): new function. get tab_label widget.
	(gtk_notebook_set_tab_label): new function. set tab_label widget.
	(gtk_notebook_set_tab_label_text): new function. set tab_label text.
	(gtk_notebook_query_menu_label): new function. get tab_label widget.
	(gtk_notebook_set_menu_label): new function. set tab_label widget.
	(gtk_notebook_set_menu_label_text): new function. set tab_label text.
	(gtk_notebook_set_tab_label_packing): new function. set tab_label
 	fill, expand, fill_type
	(gtk_notebook_query_tab_label_packing): new function. get tab_label
 	fill, expand, fill_type

	(gtk_notebook_real_page_position): return logic page number
	(gtk_notebook_search_page) search next/prev logic page
	(gtk_notebook_update_labels): set logic page number.
	(gtk_notebook_page_compare): renamed gtk_notebook_find_page
	(gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND,
 	CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK
 	(gtk_notebook_button_press) (gtk_notebook_key_press)
 	(gtk_notebook_focus) (gtk_notebook_pages_allocate)
	(gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab)
 	use gtk_notebook_search_page
	(gtk_notebook_page_allocate): fixed allocation bug
	(gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER.
	(gtk_notebook_init): unset GTK_NO_WINDOW flag
	(gtk_notebook_size_request): check whether page->child is visible.
 	changes due to tab h/vborder, homogeneous tabs
	(gtk_notebook_paint): don't draw invisible tabs
	(gtk_notebook_switch_page): calculate page_num if it's less than 0
 	(gtk_notebook_append_*) (gtk_notebook_prepend_*)
 	(gtk_notebook_insert_page): removed sanity checks

	* gtk/testgtk.c (create_notebook): extended Notebook sample a bit.

Mon Nov 16 15:10:33 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c: Optimizations for [advance/decrement]_mark_n.
	(gtk-mailund-980718-0, Thomas Mailund Jensen <mailund@daimi.aau.dk>)

	* gtk/gtkfixed.c: Removed gtk_fixed_umap, which was 
	broken. (GtkWidget's default unmap handler should work fine).
	Pointed out by Patrice Fortier <Patrice.Fortier@aquarel.fr>

Mon Nov 16 00:59:26 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkmenubar.[ch]: added shadow_type setting and
	gtk_menu_bar_set_shadow_type function to allow shadow
	configurability for menubars

	* gtk/gtkviewport.h: use GtkShadowType enum instead of generic
	guint

Mon Nov 16 00:17:53 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_new): relookup type node after
	class creation and parent class' object initializer.

1998-11-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkpaned.c (gtk_paned_realize): Destroy the cursor after we
	have assigned it to the window -- there is no point in keeping it around.
	(gtk_paned_unrealize): No need to destroy the cursor here.

	* gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, as
	it is not needed.

Fri Nov 13 11:22:38 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new().
	(gtk-blizzard-981005-0. 
	 Christopher Blizzard <blizzard@applied-theory.com)

	* gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and
	gdk_pixmap_foreign_new to gdkx.h.

Fri Nov 13 16:06:48 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/Makefile.am: Added rules to generate an empty
	GTK+ theme called "Default" upon installation.
	
	* gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance
	of fonts and fontsets. 
	(gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp)

	* gtk/gtkmain.c: Change test to detect glibc's
	utf8 based mb* functions to be more specific.

	* gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation 
	cleanups.

Fri Nov 13 16:43:36 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtktogglebutton.c	(gtk_toggle_button_realize): don't
	show event_window
 	(gtk_toggle_button_map) (gtk_toggle_button_unmap): show/hide
	event_window if draw_indicator is set
	(gtk_toggle_button_set_mode):

Thu Nov 12 15:33:54 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkitemfactory.c: cast NULL to GtkItemFactoryCallback to
	ensure proper type (SunPro cc complains)

	* gtk/gtklist.c: removed bogus '*' from "*GTK_CONTAINER_CLASS"

	* gtk/gtktogglebutton.c: use our own draw method so we get proper
	redraws on active state

Thu Nov 12 00:26:13 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkstyle.c (gtk_default_draw_box_gap): use GtkPositionType
	defines.

	* gtk/gtknotebook.c (gtk_notebook_draw_tab): fixed gap_side for
	GTP_POS_RIGHT

Wed Nov 11 19:54:58 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init)
	(gtk_scrolled_window_set_arg) (gtk_scrolled_window_get_arg):
 	added ARG_WINDOW_PLACEMENT

	* gtk/gtkclist.c (size_allocate_columns): resize column if column
 	button > column width and auto_resize is set
	(real_clear) (column_auto_resize) (gtk_clist_optimal_column_width):
 	consider column button width of auto resized columns
	(gtk_clist_parent_set): removed 

	* gtk/gtkctree.c (gtk_ctree_insert_node): call column_auto_resize.
	(auto_resize_columns): auto_resize all columns
	(real_tree_collapse) (gtk_ctree_remove_node): call auto_resize_columns
	(column_auto_resize): respect column button width of auto resized
 	columns

1998-11-10  Martin Baulig  <baulig@merkur.uni-trier.de>

	* gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_4): Define this so
	we can check for latest GTK features.

Mon Nov  9 00:39:20 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkenums.h : new enum GtkCornerType 
	* gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added
        window_placement.
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement): 
        new method to set window_placement.
        (gtk_scrolled_window_viewport_allocate)
        (gtk_scrolled_window_size_allocate): few changes due to
        window_placement.
	* gtk/testgtk.c (remove_selection): fixed while loop.

Sat Nov  7 21:55:00 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkclist.c: check if column[i].button is valid before calling
	gtk_widget_intersect on it in gtk_clist_draw

	* gtk/gtkdnd.c: removed unused variable empty_bits

	* gtk/gtkrc.c: we should use gslist_* functions with GSLists...

	* gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return
	a boolean (thanks to Elrond for noticing this)

1998-11-07  Jay Cox  <jaycox@earthlink.net>

	* gtk/gtkwindow.c: forward declaration for gtk_window_paint
	* gdk/gdkxid.c: declare xid_ht static
	* examples/*/Makefile: get the link ordering right.

Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkclist.c (gtk_clist_realize): Set background of
	title button window to GTK_STATE_NORMAL instead of
	GTK_STATE_SELECTED to avoid ugly flicker.

Fri Nov  6 23:29:40 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
 	if adjustments are NULL and list size has changed
	(gtk_clist_size_request): return real list requsition,
 	if adjustments are NULL.
	(size_allocate_columns): use button->requisition.with, if column
 	width is not set.
	(list_requisition_width): new function. return full list width.
	(gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
	auto create adjustments.
	(gtk_clist_motion) (move_vertical) (move_horizontal):
 	check adjustment != NULL.

Thu Nov  5 12:06:16 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcheckbutton.c (gtk_check_button_draw_focus): Queue
	a clear/redraw, not just a redraw, so the focus
	gets undrawn properly.

	* gtk/gtktogglebutton.c (gtk_toggle_button_unrealize): 
	Chain to gtk_widget_unrealize() instead of duplicating
	code.

Wed Nov  4 14:34:51 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c gdk/gdkprivate.h gdk/gdkwindow.c: Removed
	last vestiges of old DND.

Tue Nov  3 12:27:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c: Restored inner border to entries,
	erase cursors to background image.

Fri Oct 30 12:09:21 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c gtk/gtkstyle.[ch]: removed paint_entry() -
	it was identical to paint_flat_box().

	* gtk/gtkstyle.c: Coding style fixups.

	* gtk/gtkwindow.c (gtk_window_move_resize): removed useless
	test.

	* gtk/gtkframe.c gtkstyle.[ch] gtknotebook.c: 
	Change 'side' for paint_[box/shadow]_gap and paint_extension
	to be GtkPositionType instead of a random int.

	* gtk/gtkaspectframe.c (gtk_aspect_frame_paint): Use 
	"frame" as detail - an aspectframe should draw identical
	to a frame.

Tue Oct 27 09:58:11 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_merge_child_shapes): renamed
	from combine_child_shapes().

	* gdk/gdkwindow.c: Merge propagate_shapes() and
	propagate_combine_shapes() to remove code duplication.

Thu Nov  5 14:31:57 PST 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdk.c: sometimes we get a KeyRelease before a KeyPress in
	gdk_event_translate, and the USE_XIM buffer isn't allocated yet.
	So allocate some mem if it's not already done.

	* clist scrollbar merges from HEAD

Tue Nov  3 13:16:36 PST 1998 Manish Singh <yosh@gimp.org>

	* gtk/Makefile.am: remove explict -ldl, gmodule takes care of that

	* gtk/gtkdnd.c: start TARGET_MOTIF_SUCCESS from 0x40000000 instead
	of 0x80000000, so we stay within the bounds of a postive signed
	int (it broke some compilers)

	* gtk/gtkmenushell.c
	* gtk/gtkoptionmenu.c: merges from HEAD to make option menus work
	when some of the menuitems are hidden

	* gtk/gtkthemes.h: don't include dlfcn.h explictly, gmodule takes
	care of that

	* gtk/gtkwidget.c: add a dummy continue after the line label
	next_rect, since some compilers don't like label: }

Sun Nov  1 20:05:55 PST 1998 Manish Singh <yosh@gimp.org>

	* Okay, so we need the X11R6 keysyms so programs don't have to
	worry about them. They don't conflict anyway. Reverted the #ifdef
	changes to gtk/*.c

	* gdk/Makefile.am: remove the BUILT_SOURCES rule, and make a
	special rule for them (X-derived-headers)

Sun Nov  1 05:30:32 PST 1998 Manish Singh <yosh@gimp.org>

	* gdk/Makefile.am: changed the awk scripts to generate gdkcursors.h
	and gdkkeysyms.h into sed scripts, since the awk scripts weren't
	portable, and we really shouldn't be using awk anyway.

	* makecursors.awk
	* makekeysyms.awk: bye bye

	* gtk/gtkaccelgroup.c
	* gtk/gtkclist.c
	* gtk/gtknotebook.c
	* gtk/gtkwindow.c: don't use X11R6 keysyms if they aren't there

Sat Oct 31 15:22:14 PST 1998 Manish Singh <yosh@gimp.org>

	* gdk/Makefile.am: do the same built sources trick for gdkcursors.h
	and gdkkeysyms.h. Remove those files from CVS.

Sat Oct 31 14:44:01 PST 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdk.c: move prototype of gdk_wm_protocols_filter outside
	of the USE_XIM #ifdef

	* gtk/Makefile.am: cause the built sources to be rebuild when possible,
        even with --include-deps. Slightly different from timj's fix, to avoid
	circular dependency with gtkmarshal.c

	* autogen.sh
	* gtk/gtkclist.[ch]
	* gtk/gtkctree.c
	* gtk/gtkfontsel.[ch]
	* gtk/gtklist.c
	* gtk/gtklistitem.c
	* gtk/gtkobject.[ch]
	* gtk/testgtk.c: merges from HEAD

	* gtk/gtkmenubar.c
	* gtk/gtkradiomenuitem.c
	* gtk/gtktreeitem.c: cleanups

Wed Oct 28 23:32:19 PST 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkrgb.c: Oops. s/BIGENDIAN/BIG_ENDIAN/

Wed Oct 28 19:04:49 PST 1998 Manish Singh <yosh@gimp.org>

	* configure.in: AIX has libpthreads, to make sure you can have
	more than one thread. Also add -D_THREAD_SAFE, and reorder
	configure.in so CFLAGS doesn't get clobbered when we actually
	want to modify it

	* gdk/gdkimage.c: initialize the bpp and byte_order fields properly
	in gdk_image_get

	* gtk/testdnd.c: removed unused variable "buf"

Mon Oct 26 16:46:15 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcontainer.c (gtk_container_unregister_toplevel): 
	remove_link(), not remove()

Thu Oct 22 02:27:30 PDT 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkrgb.c: use glib endian stuff

	* configure.in: don't need to check for endianness anymore

	* gtk/gtkstyle.h: removed #pragma }, causing a silly warning

Wed Oct 21 17:44:27 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset
	all toplevel widgets, not toplevel windows. (I.e.,
	plugs should be reset)

	* gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we
	_do_ need to notify the other toplevels - by the time
	the get the client messages, the RC file dates will
	have been updated.

	* gtk/gtkcontainer.h: Added a function call to list
	every toplevel widget.

	* gdk/gdk.c (gdk_event_send_client_message_to_all_recurse): 
	Don't send client messages to _every_ window on display!
	
Tue Oct 20 16:21:04 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags 
	when dragging across widgets, only in drags
	starting in widget.

Tue Oct 20 15:59:49 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_source_info_destroy): 
	Emit "drag_end" signal at end of drag.

Tue Oct 20 13:07:54 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_read_rcfiles): Look
	for "gtk-embedded" data currently set by 
	GtkSocket, and use that to forward client message
	on to embedded windows. Only reset our own toplevel -
	the others will handle themselves. (Now that
	GtkMenus live in GtkWindows)

Mon Oct 19 16:40:40 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify
	client window finding code so that it works with
	WM's other than fvwm.
 
Sun Oct 18 22:48:27 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
	the "GtkDrawWindow" class, which is a descendent
	of the Window class which leaves its background alone.
	Essentially, a toplevel drawing area, though it does
	allow adding a child.

Sat Oct 17 00:40:51 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when
	merging RC styles. Report new share/themes path for
	themes directory. Deref theme engines when appropriate.

	* gtk/gtkclist.c: Set all backgrounds in _style_set().
	Make sure that pixel for xor_gc is never 0.

	* gtk/gtkctree.c: Choose colors for plus/minus more
	carefully, in a hopefully style-independent fashion.
	(Still needs a bit more work)

	* gtk/gtkwidget.c: Don't send expose events to widgets
	which are about to be resized and redrawn. (Needs a
	bit more thought.)

	* gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid
	drawing on tabs for newly allocated, un-sized
	pages - we'll get the size wrong.

Thu Oct  1 17:38:07 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_redraw_queue_remove): Fixed
 	up stupidities in last commit.

Thu Oct  1 14:25:43 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c: When handling queued resizes, account
	for handleboxes, where the widget heirarchy is different
	than the window heirarchy by just queueing a resize on
	the entire handlebox if the detached child is changed.

	- Remove widgets from the redraw queue when reparenting,
	even if not unrealizing. We queue a resize/redraw in
	any case.

Mon Sep 28 21:07:01 EDT 1998 The Rasterman <raster@redhat.com>
	* gtk/gtkstyle.c: added check to see if the widget has been shaped
	byt the app via gtk_widget_shape_combine_mask and if it has does
	not reset the shape on theme change.
	
Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c: Keep a list of directories in which we never
	want to stat the entries (like /afs), and assume everything in
	those directories is a subdirectory.

	- When following a path, try to open components even when
	we don't find them in their parent's directory to
	support automounters.

Fri Sep 11 15:36:33 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully
	now at least compiles again.

	* gdk/gdk.c (gdk_event_translate): Don't pass events
	on destroyed widgets to the gdk_input layer.

Thu Sep  3 19:45:34 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkthemes.c: Use g_module instead of dlopen()

Thu Sep  3 19:30:11 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_expose): Check
	if we've changed widgets since the expose event
	was queued.

Mon Aug 31 15:33:13 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit
	to restore approximate bin compatibility with the
	non-themes branch. (This does break bin compat
	within the themes branch.)

Sun Aug 30 16:48:27 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtklabel.c (gtk_label_set): Eliminate a 
	gdk_window_clear_area() that snuck in with the
	menu underlines merge.

Mon Aug 24 23:37:26 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c: Fixed some remaining background drawing,
	  merges from main branch, cleanups.

Mon Aug 24 10:55:51 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
	  dereference NULL focus tab.

	* gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
	  functions since we need to both show/hide and 
	  queue a redraw. (There's some duplication of drawing here, 
	  we probably should only be queuing a redraw on the
	  "value" portion of the scale.)

Fri Aug 21 19:02:30 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
	  into the theme-drawing framework. We do this by making them,
	  like check/radio-buttons, no-window widgets with subwindows. We
	  then move the value by calling gtk_widget_queue_clear() and only
	  redraw the value in our draw() / expose() handler.  A virtual
	  function clear_background is added which queues a clear on the
	  "background" portion of the widget.

Fri Aug 21 13:04:27 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (mark_bg_gc): Make background colors work
	  again. (We can't always paint the background with a
	  paint() function - only do that for selected text)

Mon Aug 17 20:31:01 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
	  gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.

	* Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
	  the themes can't be built as part of the same build since
	  they depend on gdk_imlib.

Fri Aug 14 12:44:30 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
	  from gtkthemes.c.
		
	* configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
	  gtk/

	  - Upgrade to libtool-1.2b + patch to add shared library dependencies
	    for Linux. (Needs to be extended to other platforms where they
	    are safe)

	 - Check for -ldl so this branch should build on all platforms, though
	   themes will work on all platforms they could work on.

	 - Use -version and -release simultaneously: sonames stay as they are
	   in the current scheme, but -lgtk-1.1 changes to -lgtk.

	 - Added in extra -l flags to library LDFLAGS so we get shared library
	   dependencies against X libs and -ldl. (But not libgtk against 
	   libgdk or libglib yet, since dependencies against uninstalled
	   libraries aren't portable)

Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
	* gtkrc.c - added api calls to find module and theme paths from gtk.
	  nuked gtk_install_prefix global.
	
Fri Aug 21 12:36:46 EDT 1998 The Rasterman <raster@redhat.com>
	* fixed gtk_install_prefix global.
	  
Thu Aug 20 19:27:49 EDT 1998 The Rasterman <raster@redhat.com>
	* added gtk_install_prefix global const variabel to find where gtk is
	  installed.
	  
Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
	* added ~/.gtk/lib/themes/engines/ to the default searchpath for
	  gtk theme engines
	
Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
	* made gtkrc scanner append dir that gtkrc is read from to pixmap path.

Mon Aug 10 23:03:55 1998  The Rasterman <raster@redhat.com>
	* Fixed minor problem in gtkhandlebox.c with drawing, and some
	  notebook stuff. Also pixmap theme is now "clean" again.
	  
Mon Aug 10 23:03:55 1998  Owen Taylor  <otaylor@redhat.com>
	* gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up 
	  queued area resizing once more.

Mon Aug 10 23:09:30 EDT 1998
	* Added a few drawing fixes for notebook and other widgets. finished
	  pixmap theme up to the level that can be supported so far. (need to
	  add path discovery 9ie where is the rc fiel from - add to pixmap 
	  path so we can get theimages from there too). then we can package 
	  themes. After that need to add to theme seartch path stuff in users 
	  home dir.
	  
Thu Aug  6 16:49:25 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
	  drawing area, draw in an expose handler.

	* gtk/gtknotebook.c (gtk_notebook_expose): Check for
	  empty current page.

Wed Aug  5 16:13:15 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
	  creation of GC's so that they will be set before
	  they are used for map events (why are they used there?)

	* gtk/gtkwidget.c: Fixed mistake that caused widgets to
	  be queued in multiple times in the queue.

Wed Aug  5 14:23:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_default_draw_shadow): Don't set
	  clip rects (or do anything) for shadow_none.

Wed Aug  5 13:14:57 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbutton.c (gtk_button_paint): Restored paint function.
	  Yes, it was needed. draw() and expose() are _not_
	  identical.

Sat Aug  1 17:44:31 EDT 1998 EDT 1998 The Rasterman <raster@redhat.com>
	* Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.

Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
	* YES YES YES YES YES clist borders work again! YES! YES YES! gimme 
	  more baby oooh yeah more more MORE YES YES.

Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
	* hopefully fixed problem wiht togglebuttons acting like
          radiobuttons in gtktogglebutton.c

Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
	* fixed another drawing buglet in the frame drawing code (actually
	  in the clearing code but anyway in gtkstyle.c)

Thu Jul 30 19:23:48 EDT 1998 The Rasterman <raster@redhat.com>
	* Fixed warning from colorsel widget...

Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
	* Fixed defautl drawing code to no longer clobber the original style
	  pixmap bgs as it did and added a helper funciton og gtkstyle.c to
	  help with this.

Thu Jul 30 18:09:21 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups

	* gtk/gtktooltips.c: Pass a widget (the window) to the
	  drawing function instead of the GtkTooltips.

Thu Jul 30 17:27:10 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c: Abstract out checking for shape
	  extension into a function.

	* gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
	  Remove extra callls to gtk_window_draw().

Thu Jul 30 11:18:43 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.

	* themes/th_main.c: Moved messages around so they are
	  printed before destroying strings.

Wed Jul 29 16:56:07 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c: Fairly simple implementation of expose compression.
	  (No GraphicsExpose compression yet, always compress
	  with the equivalent of XtCompressMultiple - no compression
	  of Expose events across non-Expose events)
	
	* gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
	  Find rectangle bounding two rectangles.

	* gtk/gtkstyle.c: Set clip rects for a few extra GC's
	  in gdk_default_draw_shadow()
	
Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
	* Fixed drawing functions to handle switching themes on the fly 
	  gracefully and look decent.
	  
Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
	* Added all the theme drawing code to all widgets, fixed up minor
          nigglies in some widgets when it comes to themes, seem to be
          running into some funky behavior with clipping rects in GC's. Too
          many files to list here. (all files that now use gtk_paint_* are
	  affected).

Tue Jul 28 22:49:16 1998  Owen Taylor  <otaylor@redhat.com>

	* themes/th_main.c themes/th_draw.c gtk/testgtkrc: 
	  Set up the demo theme so it is loaded from the RC file.

	* themes/th_draw.c: Alleviate the hardcoded paths a wee
	  bit. (use $HOME/themes/)

	* gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in 
	  the RC file via dlopen()

Tue Jul 28 20:30:56 1998  Owen Taylor  <otaylor@redhat.com>

	Internal handling of styles and RC styles pretty much
	completely reworked for Theme work.

	* gtkthemes.[ch]: 
	 - Added routines for virtualization of RcStyle and Style handling.
	 - Temporary "sample" inline theme-engine. (Does nothing
	   but print out a few messages.
	
	* gtkrc.[ch]
	 - Made GtkRcStyle public, added flags to tell if particular
	   colors have been set.
	 - RC Styles are "transparent", and the final style for
	   a widget is the composition of all matching styles
	 - Added pointer to GtkThemeEngine, and gpointer engine_data
	   to RC style and style.
	 - Parse "engine" keyword, load the appropriate theme engine
	   and call the engine's parser.
	
	*  gtkstyle.[ch]
	 - Keep a GtkRcStyle * in styles created from Rc Styles.
	 - Load up images from RC file at style attachment time.
         - Call ->engine->foo() at appropriate times.
	 - Don't use a GCache. All incarnations for a style are
	   just linked together in a list, depend on the RC style 
	   code to find the existing copy.

Tue Jul 28 14:41:54 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.[ch]: Added the concept of queued redraws
	  of partial areas. This can be done either relative
	  to the existing windows (gtk_widget_queue_clear[_area]())
	  or relative to the future allocation of the widget
	  (gtk_widget_queue_draw[_area]). 

	  The initial implementation is pretty braindead, but
	  can be improved.

	* gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
	  in favor of gtk_widget_queue_clear().
	
	* gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
	  flags in favor of gtk_widget_queue_clear()
	
Tue Aug  4 19:12:14 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
	  handling of partially clipped areas.

Thu Nov  5 18:52:35 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.h (struct _GtkCListClass)
	* gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing.

Thu Nov  5 16:00:32 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
 	vscrollbar_policy, hscrollbar_policy. added h/vadjustment.

	* gtk/gtkclist.c (gtk_clist_class_init): added new args types
  	"hadjustment" & "vadjustment"
 	 (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
  	set/get_arg functions
 	(gtk_clist_construct): don't create/adjust scrollbars.
 	(gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
 	to set h/vadjustments
  	(gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
 	to query h/vadjustments
 	(create_scrollbars): removed.
 	(create_adjustments): replacement for create_scrollbars
 	(gtk_clist_new): call gtk_clist_new_with_titles
 	(gtk_clist_new_with_titles): don't warn on titles == NULL
 	(move_horizontal): use CLAMP instead
 	(gtk_clist_set_policy): deprecated method.
  	use gtk_scrolled_window_set_policy instead.
 	(vadjustment_value_changed): use clist->vadj.
 	(adjust_scrollbars): renamed to adjust_adjustments
 	(adjust_adjustments): former adjust_scrollbars
 	(gtk_clist_destroy): unref adjustments
 	(gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
  	(gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
  	(gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
 	(gtk_clist_thaw) (real_insert_row) (real_remove_row)
 	(gtk_clist_set_row_height) (real_resize_column):
 	call adjust_adjustments
 	(gtk_clist_moveto): return if clist has no adjustments yet.
 	(gtk_clist_parent_set): new GtkWidget::parent_set function.
 	Autogenerate h/vadjustments if needed.	
 	(move_horizontal) (move_vertical): some cleanups

	* gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
  	call only gtk_viewport_set_h/vadjustment and let these functions
  	do the work.
 	(gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
 	generate a new adjustment if needed

	* gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
  	use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
	
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
  	queue_resize if visibility of scrollbars changes
  	(gtk_scrolled_window_remove): only call container_remove with
  	scrolled_window->viewport automatically if viewport was autogenerated
 	(gtk_scrolled_window_add): add widget as scrolled_window->viewport.
 	auto create a viewport only if widget does not take h/vadjustments.
 	(gtk_scrolled_window_construct): don't generate a viewport
  	automatically.
 	(gtk_scrolled_window_forall): call callback with viewport in any case
 	(gtk_scrolled_window_set_arg): call gtk_container_add in case of
  	ARG_VIEWPORT
 	(gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
 	(gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
  	viewport != NULL

	* gtk/testgtk.c 
 	(create_ctree) (export_ctree) (create_clist): use a scrolled_window
  	in conjunction with clists/ctrees

	* gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
 	in conjunction with clists

	* gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
 	in conjunction with clists

Wed Nov  4 21:52:57 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment
	(gtk_ctree_remove_node): select focus_row if needed
	(cell_size_request): only get pixmap size if pixmap != NULL

Wed Nov  4 04:30:37 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c: added a bunch of checks for widget != NULL and
	GTK_IS_WIDGET (widget):

Wed Nov  4 02:02:07 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (real_remove_row) (sync_selection): set correct
	focus_row after a remove_row call.

Sun Nov  1 21:00:06 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* gtk/gtkoptionmenu.c
	* gtk/gtkmenushell.c: make option menus work when some of the
	menuitems are hidden - previously, option menu would popup too
	high.

1998-10-31  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/gtkfeatures.h.in: Remove `#pragma }'.

	* gdk/gdki18n.h: Update to use new `glib' widechar defines.

	* configure.in (CFLAGS): Don't use test -z "echo .. | grep".  Use
	case instead.
	(wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'.
	(GDK_WLIBS): New variable.  Lists extra libraries needed to use
	widechar functions.
	* gtk-config.in (--libs): List $GDK_WLIBS, too.

Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.3
	
	* INSTALL:
	* NEWS:
	* README:
 	* gtk+.spec:
	* docs/gtk-config.1: updated for v1.1.3

	* Makefile.am
	* sanity_check
	* docs/Makefile.am: Includes new 'make release' as well as
	  'make sanity'.  Also handles html and text creation from html,
	  and puts them into the distribution

	* docs/Makefile.sgml: removed, similar functionality is now in 
	  the Makefile.am file

	* docs/.cvsignore: ignore html and text directories
	* docs/glib.texi: removed (now in glib dist)

Fri Oct 30 20:02:36 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtklist.c (gtk_list_remove_items_internal): 
	free undo_un/selection, unselect list_item before disconnect
	signal functions
	(gtk_list_destroy): removed. gtk_list_shutdown clears the list
	already
	(gtk_list_signal_item_select) (gtk_list_signal_item_deselect)
	(gtk_list_signal_item_toggle)	(gtk_list_signal_scroll_horizontal)
 	(gtk_list_signal_toggle_focus_row) (gtk_list_signal_select_all)
 	(gtk_list_signal_unselect_all) (gtk_list_signal_undo_selection)
 	(gtk_list_signal_start_selection) (gtk_list_signal_end_selection)
 	(gtk_list_signal_toggle_add_mode) (gtk_list_signal_scroll_vertical)
 	(gtk_list_signal_extend_selection) (gtk_list_signal_focus_lost):
 	new functions. These functions are signal connected to inserted
 	list_items, to handle key bindings and GtkItem::de/select/toggle
 	signals.

	* gtk/gtklistitem.c (gtk_list_item_class_init): added missing
	gtk_object_class_add_signals call.
	(gtk_list_item_toggle_focus_row) (gtk_list_item_select_all)
	(gtk_list_item_unselect_all) (gtk_list_item_undo_selection)
	(gtk_list_item_start_selection) (gtk_list_item_end_selection)
	(gtk_list_item_extend_selection) (gtk_list_item_scroll_horizontal)
	(gtk_list_item_scroll_vertical) (gtk_list_item_toggle_add_mode):
 	removed. These functions are handled via connected
 	gtk_list_signal_* functions now

Fri Oct 30 05:24:43 1998  Tim Janik  <timj@gtk.org>

	* gtk/Makefile.am: cause the built sources to be rebuild when possible,
 	even with --include-deps:
	$(libgtk_la_SOURCES): $(BUILT_SOURCES)

Fri Oct 30 01:56:08 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.c (gtk_object_remove_no_notify): renamed from
	gtk_object_data_set_destroy to fit the gtkobject.h API.

	* applied patch from Damon Chaplin <DAChaplin@email.msn.com>:
	* gtk/gtkfontsel.h:
	* gtk/gtkfontsel.c:
	Added support for an extra 'base' filter which an application can
 	set to restrict the fonts available to the user (e.g. a terminal
 	program only wants the user to be able to select fixed-width fonts).
	The type of font (bitmap/scalable/scaled bitmap) is now
	also a part of the filter, so that an application can
	request that only scalable fonts are shown.
	There are new functions to set the base & user filters.
	I've also stopped the up/down key press signals getting
	to the clists since the font selection widget handles
	them itself. It acted a bit strangely before.

Sun Oct 25 20:27:02 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): support an environment variable
	GTK_MODULES= which takes a colon sperated list of module names
	automatically loaded at gtk_init() startup.

Sun Oct 25 08:04:33 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c: added more g_return_if_fail() statements.

Thu Oct 22 22:40:35 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy
	is sufficient

Thu Oct 22 16:22:55 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
	columns

Thu Oct 22 02:29:53 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkfilesel.h: GtkType and macro fixups
	* gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern
	for the file selection widget to try a completion on (set the
	initial filter).

Wed Oct 14 14:34:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c: implement idle functions via GHook. this gives a
 	slight speed improvement and lessens code duplication.

Tue Oct 20 14:53:28 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c: Always send "drag_leave" to dests
	without GTK_DEST_DEFAULT_MOTION. 

Tue Oct 20 11:55:24 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
	on destroyed windows so we clear the XID table properly.
	Finish up restructure of return value handling that
	was half-done before.

Tue Oct 20 12:57:10 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
	the window tree more comprehensively, so that we find
	client windows hidden under non-toplevels.

Tue Oct 20 12:43:04 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c (gtk_selection_data_set): 
	Maintain the null-termintation guarantee, even when 
	data = NULL, length = 0. (Warn on data = NULL, 
	length > 0)

Mon Oct 19 16:41:44 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
	into function prototype for drag_data_received. 

Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>

	* gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.

Mon Oct 19 23:44:41 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c: rearranged some functions
	(gtk_clist_set_column_auto_resize): new function. toggle auto_resize
 	flag of column
	(gtk_clist_set_column_resizeable): if resizeable disable auto_resize 
	(gtk_clist_set_border): deprecated function, use
 	gtk_clist_set_shadow_type instead.
	(gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
 	(adjust_scrollbars): some cleanups
	(select_row) (unselect_row): removed. replaced by equivalent
	gtk_signal_emit calls
	(add_style_data): removed, use gtk_clist_style_set instead
	(gtk_clist_style_set): fill in size data, after style was set. 
 	(set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
 	(gtk_clist_set_cell_style): auto_resize columns if needed
	(column_auto_resize): resize column if needed for auto_resize 
	(real_clear): disable auto_resize while list destroy
	(resize_column): removed

	* gtk/gtkctree.c : (gtk_ctree_remove_node)
	(gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
	(gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
 	(set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
	(real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
	(real_tree_collapse) (real_tree_expand) (column_auto_resize):
 	auto_resize columns if needed
	(gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
	(real_clear): disable auto_resize while processing the tree

	* gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
	for one column

Mon Oct 19 08:31:36 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
	typo - look for right atom on transfer failures.

Sun Oct 18 20:52:22 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkwidget.c gtkmarshal.list: Change signal 
	for drag_data_get to match the use that was being
	made of it everywhere else...

Sun Oct 18 18:16:39 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
	mechanism, that is used for the DND messages.

	  Removed all the old DND code.

	* gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
	get the visual of a given colormap.
	
	* gtk/gtkcolorsel.c: Conversion to new DND, drag 
	a color-swatch.

	* gdk/gdk.h gdk/gdkdnd.c: The low-level
	X oriented portions of drag and drop protocols.
	Sending and receiving client messages, and navigating
	window trees.

	* gdk/gdkimage.c: added a gdk_flush() when destroying
	SHM images to hopefully make it more likely that
        X will gracefully handle the segment being destroyed.

	* gdk/gdkprivate.h gtk/gtkdebug.h: Add new 
	DND debugging flags.

	* gtk/gtkeditable.[ch]: Updates for the selection handling
	changes.
	
	* gtk/gtkselection.[ch]: Added GtkTargetList, a 
	refcounted data structure for keeping track of lists
	of GdkAtom + information. Removed selection_handler_add
	in favor of a "drag_data_get" signal.

	* gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
	dependent) parts of the DND protocols, display of drag icons,
	drag-under highlighting, and the "default handlers".

	* gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
	windows that are used for reliable pointer grabs and
	selection handling in the DND code.

	* gtk/testdnd.c: New test program for new DND. (Old
	DND tests in testgtk still need to be converted.)

	* gtk/testselection.c: Use the new selection API.
	
	* docs/dnd_internals: Start at describing how
	all the new code works inside.

	* docs/Changes-1.2.txt: New file describing source-incompatible
	changes in GTK+-1.2.

Sat Oct 17 22:50:34 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkwindow.c (gdk_window_remove_filter): Free
	the right list node.

	* gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
	to the XID table so we can receive events on it.

Wed Oct 14 12:57:40 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
	to get the timestamp from a generic event.

Fri Oct  9 13:16:04 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_add_events): Added function
	that safely adds additional events to a widget's event 
	mask, even if the widget has previously been realized.
	(We can do this, but not remove events from the event
	 mask).

Fri Oct  2 17:35:35 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
	for AnyPropertyType.

Fri Oct  2 10:32:21 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkproperty.c (gdk_atom_intern): Add client-local
	hashing.

Thu Sep 24 20:33:54 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
	isn't a timestamp.

Thu Sep 17 14:23:03 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c (gdk_event_translate): Removed printing
	of unknown window lookup warnings. (Made it
	a GDK_NOTE) - they happen in many circumstances.

Tue Sep  8 12:38:43 1998  Owen Taylor  <otaylor@redhat.com>

	* Call XFilterEvent() on events we get for unknown
        windows, since it may be the window Xlib uses to
	communicate with the IM. 
	(From Yung-Ching Hsiao <yhsiao@cae.wisc.edu>)

Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkprogress.c (gtk_progress_finalize): Unref
	the adjustment.

Thu Aug 27 12:03:14 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksignal.c (gtk_signal_newv): Improve warning
	message for return_value + GTK_RUN_FIRST.

1998-10-18  Martin Baulig  <martin@home-of-linux.org>

	* gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
	line wrapping like gtk_text_set_word_wrap () toggles word wrapping.

Fri Oct 16 15:59:02 1998  Lars Hamann  <lars@gtk.org>

	* gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
	styles of inserted row
	(change_style): change style of focus_row

	* gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
	(gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
	to set/get row/cell styles.
	(gtk_clist_realize): attach row and cell style, allocate row colors.
	(gtk_clist_unrealize): detach row and cell styles.
	(get_cell_style): new function. get correct cell style.
	(draw_cell_pixmap): new function. 
	(draw_row): draw cells with row or cell styles.
	(row_new): set cell and row styles to NULL.
	(row_delete): detach & unref cell and row styles.

	* gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles): 
	new functions to attach/detach styles and allocate colors.
	(gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
	styles of invisible nodes.
	(draw_cell_pixmap): new function. 
	(get_cell_style):  new function. get correct cell style.
	(gtk_ctree_draw_expander): new function. draw tree expander.
	(gtk_ctree_draw_lines): new function.draw tree lines.
	(draw_row): draw cells with row or cell styles.
	(row_new): set cell and row styles to NULL.
	(row_delete): detach & unref cell and row styles.
	(gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style) 
	(gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style): 
	Analogons of GtkCList functions	
	(gtk_ctree_set_spacing): new function. set spacing between
	tree expander and cell contents
	(gtk_ctree_set_expander_style): new function. set expander style
	of ctree.
	(ctree_is_hot_spot): few changes due to draw_row modifications.

Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>

	* gtk/gtkcombo.c: try completion on MOD1-TAB.
	Handle case when the combo->list is empty.

Mon Oct 12 07:51:34 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
 	handlers that have not yet been disconnected (finally managed to
	trigger the gtk_signal_handler_unref() paranoid warning).

Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
	width and height which is -1 and not -2.

Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>

	* HACKING
	* autogen.sh: we need libtool 1.2b now

Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
 	and bottom attach arguments as mandatory and readjust the table size
	and opposing edge accordingly if required. this way the order in which
 	the arguments are set doesn't matter.

Thu Oct  8 15:53:59 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
	message to print out parent class name correctly.

Thu Oct  8 07:07:10 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.h: 
	* gtk/gtkobject.c:
	removed functions gtk_object_set_data_destroy and
 	gtk_object_set_data_destroy_by_id.
	added functions gtk_object_remove_no_notify and
 	gtk_object_remove_no_notify_by_id which will remove a certain data
 	portion without invokation of its destroy notifier, this should only
 	be used in very controled circumstances.

Wed Oct  7 23:59:37 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
	size_allocate_title_buttons call
	(gtk_clist_realize): changed initial column.window position

Wed Oct  7 20:27:28 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
	xor_gc instead
	* gtk/gtkctree.c (create_xor_gc): removed
	(gtk_ctree_button_press): set correct line_attributes for
 	clist->xor_gc on drag start
	(gtk_ctree_button_release): reset clist->xor_gc

Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtk*.h:
	* gdk/gdk.h: removed all occourances of #pragma } and #pragma {
	which were in place to fixup emacs' cc-mode indentation.
	putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
	proper way to achive this and doesn't produce problems for
	stupid pragma-related compiler bugs. ;)

Wed Oct  7 00:59:46 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.h: new signal GtkCList::resize_column.
	* gtk/gtkclist.c (draw_row): don't draw invisible columns
	(size_allocate_title_buttons) (size_allocate_columns):
	skip invisible columns
	(new_column_width): take min/max_width into account 
	(gtk_clist_button_release) (gtk_clist_motion):
 	changes due to changed new_column_width function
	(LIST_WIDTH): changed define to inline function.
	(real_resize_column): class function for resize_column signal
	(gtk_clist_motion): fixed autoscrolling for column resizes
	(gtk_clist_set_column_visibility): don't hide last visible column,
	changed visible arg to gboolean
	(gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
	new functions : set min/max width of a column
	(gtk_clist_set_column_resizeable): new function : enable/disable
	column resize operations by mouse

	* gtk/gtkctree.c (draw_row): don't draw invisible columns
	(ctree_is_hot_spot): return FALSE if tree_column is invisible
	(draw_xor_line)  (draw_xor_rect): draw full rectangle/line if
	tree_column is invisible
	(gtk_ctree_find_all_by_row_data)
	(gtk_ctree_find_all_by_row_data_custom):  new function from
	Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
 	GtkCTreeNodes with row->data == data.

Tue Oct  6 14:05:00 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
	memory (Martin Pool <mbp@wistful.humbug.org.au>).

Mon Oct  5 15:26:30 1998  Raph Levien  <raph@gimp.org>

	* gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
	should have been guint32. Thanks to Tristan Colgate for finding it.

Sun Oct  4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkcalendar.h:
	  gtk/gtkcalendar.c: More changes:
	  - The day with focus is now seperated from the day selected
	  - The day with focus has the xor's line around it
	  - The selected day is now standard selected style
	  - The week names and week numbers are now also drawn
	    with selected style
	  - Space now selects the day which has focus

Sun Oct  4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkcalendar.h:
	  gtk/gtkcalendar.c: Some significant changes, including:
	  - No longer draw focus around entire widget, only around
	    the day which has focus
	  - Draw relief around entire widget like originally planned
	  - Show header and day names by default 
	  - Move data private to the widget out of GtkCalendar struct
	    and only point to it with a gpointer
	  - Remove some old unused variables from GtkCalendar struct

Sun Oct  4 17:45:43 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml: update I've had sat around:
	  - Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
	  - Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
	  - New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>

1998-10-01  Martin Baulig  <martin@home-of-linux.org>

	* gtk/gtkclist.h (GtkCListColumn): Added `visible'.
	
	* gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
	Makes it possible to individually show and hide columns.
	(size_allocate_columns): Adapted to keep track of hidden columns.
	(size_allocate_title_buttons): Likewise.

Sat Oct  3 17:54:48 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
	fundamental types, collect an argument of the type returned from
	gtk_type_get_varargs_type(). removed the first macro argument which
	was just the same as the fundamental type of the *arg passed to
	the macro.
	* gtk/gtkarg.c (gtk_args_collect): 
	* gtk/gtksignal.c (gtk_signal_collect_params): changed callers.

	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
	gtk_type_get_varargs_type() to set and query the varargs collect
	type used for a fundamental type, registered outside of Gtk.

	* gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
	GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
	GTK_TYPE_FLOAT.

	* gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
	GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
	to GTK_TYPE_FLOAT.

Sat Oct  3 01:25:24 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
	(gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand): 
	fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV

	(real_tree_expand) (real_tree_collapse):
	don't expand/collapse a leaf

Fri Oct  2 16:10:36 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
	segfault when looking up a non-existant value name (reported by
	Pablo <pcj+gtk@primenet.com>).

Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.h (gtk_clist_prepend):
	* gtk/gtkclist.c (gtk_clist_prepend): new function.
	(gtk_clist_insert): added g_return_val_if_fail()
	statements. accept a row parameter < 0 or > clist->rows to indicate
	append mode.
	(real_clear): first clean up all internal pointers and lists (e.g.
	clist->row_list or clist->rows), then delete the distinct rows. this
	is required because of destroy notifiers, we need to have all internal
	structures updated and be reentrant.

	* gtk/gtkcalendar.h: 
	* gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
	GtkCalendarClass signal methods.
	GtkType and macro fixups, put `void' into () prototypes, avoid C++
	style comments, indentation fixes, fixed some g_return_if_fail()
 	statements.
	(gtk_calendar_paint_header):
	(gtk_calendar_paint_day_names): 
	(gtk_calendar_paint_week_numbers): 
	(gtk_calendar_paint_main): made these static functions.
	(gtk_calendar_select_month):
	(gtk_calendar_select_day):
	(gtk_calendar_mark_day):
	(gtk_calendar_unmark_day):
	(gtk_calendar_get_date): signedness corrections, use guints
 	rather than gints.
	(gtk_calendar_size_request): removed unused variables.

Wed Sep 30 13:11:09 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
	widgets in the ->widgets_by_action list that have a callback
	defined (not only those with a callback_action!=0).

Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkcalendar.h:
	  gtk/gtkcalendar.c:
	  examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff

Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkcalendar.h:
	  gtk/gtkcalendar.c:
	  examples/calendar: Added gtkcalendar widget and demo

Sat Sep 26 06:15:34 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.c (gtk_clist_sort): 
	(gtk_clist_clear): 
	(gtk_clist_unselect_all): 
	(gtk_clist_select_all): adde g_return_if_fail() statements.

Sat Sep 26 04:46:22 1998  Tim Janik  <timj@gtk.org>

	* configure.in: set binary age and interface age to 0.

	* gtk/gtkspinbutton.h: 
	* gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
	gtk_spin_button_configure. gtk_spin_button_construct is still defined
	as an alias for gtk_spin_button_configure for source compatibility,
 	but actuall use is deprecated.
	typeness corrections, i.e. gint->gboolean and gint->guint.
	added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
	GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
	GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
	GtkSpinButton::adjustment, GtkSpinButton::digits and
 	GtkSpinButton::climb_rate.
	GtkType and macro fixups.

Sat Sep 25 23:33:55 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
	the *real* geometry position of a window, taken possible window
	manager offsets into account.
	this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
 	olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
	it does fail though for amiwm which adds windows to a pseudo root
	window, and for icewm by a small offset because it defines the
	geometry position whithin its border.

	* gtk/testgtk.c: added "saved position" test to figure how
	gdk_window_get_root_origin() interacts with window managers (repopup
	this window to figure ;).

Wed Sep 23 06:09:19 1998  Tim Janik  <timj@gtk.org>

	* configure.in: update to Gtk+ version 1.1.3, binary age 1,
	interface age 1.

	* gtk/gtkobject.c
 	(gtk_object_ref): 
 	(gtk_object_unref): check for ->ref_count to be greater than 0 (the
	existing code was buggy in letting ->ref_count==0 pass through and
 	then failing the living_objs_ht assertion).

	* gtk/gtkclist.c (draw_row): fix chopping bug for right justified
 	pixtext fields (Roman Pozlevich <roma@botik.ru>).

Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.2

Mon Sep 21 01:12:44 1998  Jay Cox  (jaycox@earthlink.net)

	* gtk/Makefile.am: use $(PERL) instead of perl
	* gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
	also much faster to render.

Mon Sep 21 07:44:30 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
	the required memory block, rather than allocating it newly from
	scratch and doing a full-blown block copy on it.

Mon Sep 21 02:30:06 1998  Tim Janik  <timj@gtk.org>

        * NEWS file update for upcoming release of Gtk+ version 1.1.2,
        binary age 0, interface age 0.

       	* gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.

Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>

	* ltmain.sh: Patch to libtool-1.2b to make --disable-static
	work.

Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>

	* HACKING: indent other than GNU indent should be OK
	  now.

	* gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
	  instead of piping through indent. If indent wasn't
	  found in ./configure don't bother indenting at 
	  all.

Fri Sep 18 19:11:10 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.

Fri Sep 18 18:54:59 1998  Jay Cox  (jaycox@earthlink.net)

	* gtk/Makefile.am: use $(AWK) instead of awk

1998-09-18  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/Makefile.am (gdk_headers): 
	Remove references to $(top_srcdir). 
	(gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
	* gtk/makeenums.pl (parse_entries): Don't look for $srcdir.

Fri Sep 18 19:58:24 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
	GData*object_data to cure compiler warnings.

Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>

	* install-sh
	* missing
	* mkinstalldirs: updated to latest automake version

1998-09-17  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
	(gtkinclude_HEADERS): ... here.
	(gtk.defs): Pass `g' flag to sed, to replace all occurances.

Thu Sep 17 10:49:51 1998  Raph Levien  <raph@gimp.org>

	* HACKING: added GNU indent, as it is now required to successfully
	build gtk+. Should this be detected in autoconf, possibly?

Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am gtk-config.in l*: Update to libtool-1.2b,
	change library versioning scheme to drop LT_RELEASE
	from the -l line, while keeping it in the soname.

Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>

	* configure.in Makefile.in: define a MAINT-like variable REBUILD
	which is set if Perl and awk are found, and autogenerated sources
	can be rebuilt. Remove the auto-generated sources from
	CVS. 

	Add dependencies so that the autogenerated sources are 
	rebuilt if the files they depend on change. 
	(This unfortunately currently results in the entire
	gtk/ directory being rebuilt when any header changes.
	Moving all enums to gtkenums.h would fix this.)

Thu Sep 17 05:12:48 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.h: added gtk_object_set_data_destroy and
	gtk_object_set_data_destroy_by_id functions to set the destroy
	function pointer for an existing data portion.

	* gtk/gtkobject.c: removed the GtkObjectData implementation and
	made all gtk_object_*data* functions use the GLib equivalents.

1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
	is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
	(widget != NULL), otherwise radio button insertion will not work
	-- the widget argument is NULL for the first radio button in the
	group.

Tue Sep 15 13:09:24 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkimage.c (gdk_image_new): Reverted global changes
	of g_new to malloc(), added back in the one place where
	it actually mattered. #include <stdlib.h>.

	* gdk/gdkrgb.c: g_malloc() to malloc() as above.

Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c: Keep a list of directories in which we never
	want to stat the entries (like /afs), and assume everything in
	those directories is a subdirectory.

	- When following a path, try to open components even when
	we don't find them in their parent's directory to
	support automounters.

Tue Sep 15 11:06:13 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_move_resize): Don't request
	a new size from the WM if we asked for the same size
	before and our request was rejected.

	* gtk/gtkwindow.c (gtk_window_configure_event): If
	in response to a request, we get a configure event
	with unchanged dimensions, send a synthetic expose
	since ForgetGravity won't expose our window.

Mon Sep 14 14:28:24 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (adjust_adj): Change the way we
	set the adjustments on resize so that it tries to
	keep the beginning of the text in approximately
	the same place. 

	Removed assertion that the above change made invalid.

Thu Sep 10 22:19:35 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c: - Save first_cut_pixels when switching
	sizes, so that if we switch to the _same_ size,
	we don't move lines around.

	- Make sure that the text area always has a size of at
	least 1x1, then do all computations when realized.

        - When fetching lines in recompute_geometry, make
	sure we fetch enough lines to cover the screen.
	
Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gdk/gdkimage.c: changed g_new()s to malloc()s and 
	  g_free()s to free()s to avoid mixing g_new()s with 
	  free()s.  X itself uses free() on some of the 
	  malloced memory.

Sat Sep 12 10:44:06 1998  Owen Taylor  <otaylor@redhat.com>

	* gtkfilesel.c: Maintain a list of directories like
	/afs we know contain only directories, and avoid
	stat'ing files in those directories. (Because
	stat'ing all files in /afs is extremely expensive)

	To support automounters, try to open directories,
	even if we couldn't find them when reading their
	parent directory.

Thu Sep  3 10:29:03 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk.m4: Conditionalize check for GTK_MAJOR_VERSION,
	to allow the same gtk.m4 to work for 1.0.x and
	1.1.x.

Fri Sep 11 15:25:10 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_set_selectable): new function
	to set/unset the selectable flag of a single row.
	(gtk_clist_get_selectable): new function 
	to get the state of the selectable flag

	* gtk/gtkctree.c (gtk_ctree_node_set_selectable)
	(gtk_ctree_node_get_selectable): clist analogons
	
Thu Sep 10 17:04:03 1998  Raph Levien  <raph@gimp.org>

	* gtk/testrgb.c (testrgb_rgb_test): Small changes to the test
	pattern.

	* gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment
	bugs in the 4bit gray cases.

Wed Sep  9 02:48:44 PDT 1998 Manish Singh <yosh@gimp.org>

	* configure.in: added -posix check for NeXTStep

	* gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
	a unique buffer for each thread.

	* docs/gtk-config.1: clarified copyright

Tue Sep  8 05:19:51 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.

	* gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.

	* gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
	ATEXIT.
	
	* ltconfig: use GLib's ltconfig which honours lcc.

Mon Sep  7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>

	* configure.in: comment the -std1 check and save LIBS properly

Sun Sep  6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/testrgb.c: #include <stdlib.h>

Sat Sep  5 16:01:19 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
	When the pointer is grabbed on an input window,
	either explicitely, or through press-grab, and
	then grabbed on a non-input window, ungrab the
	devices.

Sat Sep  5 07:13:19 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.h: don't include any gdk headers.
	added structure definitions for GtkTypeObject and GtkTypeClass,
	which cover the very basic fields of GtkObject and GtkObjectClass,
	which are actually used by the type system.
	
	* gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
	we only refer to our own structures. improved class inheritance
	sanity checking a bit.

	* gtk/gtkobject.h: placed appropriate comments at the beginnings
	of the GtkObject and GtkObjectClass structures, which explain
	their relationship to GtkTypeObject and GtkTypeClass.

	* gtk/gtktypeutils.h:
	* gtk/gtkobject.h:
	moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
	GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
 	gtkobject.h to gtktypeutils.h.

	* gtk/gtkobject.h:
	* gtk/gtkobject.c:
	removed gtk_object_check_cast() and gtk_object_check_class_cast()
	functions. to keep source compatibility, we can provide macro aliases
 	for the corresponding gtk_type_* functions. but then again, people
 	shouldn't have been using these functions anyways since they were part
 	of Gtk's internal API.

	* gtk/gtktypeutils.h:
	* gtk/gtktypeutils.c:
	implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
	functions to check GtkTypeObject and GtkTypeClass types.

Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkctree.h:
	* gtk/gtkctree.c: `const' fixups.

	* gtk/gtkclist.h:
	* gtk/gtkclist.c: `const' fixups and some coding style adaptions.

	* gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
	if it is passed as NULL.

Wed Sep  2 22:41:40 1998  Raph Levien  <raph@gimp.org>

	* gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
	big-endian cases. Added a 4bpp packed gray mode (somewhat
	incorrectly hardwired to MSB), which should take care of
	Stric's hardware.

Thu Sep  3 04:45:57 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
	GtkSIgnalQuery leak.

Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
 	GTK_MENU_DIR_CHILD: check for the existance of
 	menu_shell->active_menu_item before accessing its child.
	GTK_MENU_DIR_PREV:
	GTK_MENU_DIR_NEXT: if we haven't had an active item and still
	don't, make a default selection.

Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
	the children with _forall for sensitivity changes and with
	_foreach on pure state changes. this fixes a lot of the
	old inclusions of internal widgets into _foreach calls.

	* gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
	do the work. don't walk the subtrees of first level children.

	* gtk/gtktreeitem.c: provide a _forall implementation,
	which walks the subtrees as well for include_internals.

	* gtk/gtkmenuitem.c: provide a _forall implementation, which walks
	the submenus as well for include_internals.

	* gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
	implemented gtk_scrolled_window_forall, which will iterate over
	the viewport and the scrollbars for gtk_container_forall or
	iterate over the viewports children for gtk_container_foreach.

	* gtk/gtktoolbar.c: 
	* gtk/gtktable.c: 
	* gtk/gtkpaned.c:
	* gtk/gtkpacker.c:
	* gtk/gtkmenushell.c: 
	* gtk/gtklist.c: 
	* gtk/gtkfixed.c:
	* gtk/gtkclist.c:
	* gtk/gtkbox.c: 
	* gtk/gtkbin.c: 
	* gtk/gtknotebook.c:
	removed the old gtk_*_foreach functions and provided gtk_*_forall.

	* gtk/gtknotebook.c:
 	(gtk_notebook_real_switch_page): expose tabs.
	(gtk_notebook_page_num): new function to return the page number
	of a distinct child.
	(gtk_notebook_focus): minor fixups. foxus handling is still screwed
 	under some circumstances.

	* gtk/gtktreeitem.c:
 	(gtk_real_tree_item_select):
	(gtk_real_tree_item_deselect): major fixes.
	some general fixups wrt queue_redraw, and tree items not being
 	NO_WINDOW widgets.

	* gtk/gtklistitem.c:
 	(gtk_real_list_item_select): 
	(gtk_real_list_item_deselect): 
	(gtk_real_list_item_toggle): 
	removed unneccessary queue_redraw calls.

Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
	automatically popup the menu on space bar.

Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.h:
	* gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
	method), which acts similar to gtk_container_foreach(), but iterates
	over internal children. the GtkContainer::foreach signal vanished in
 	favour of a new class method ->forall() that optionally includes
 	internal widgets.

	* gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
	but a _forall implementation, since all child widgets we have are
	internal ones.
	(column_button_create): set the	parent window prior
 	to gtk_widget_set_parent().

	* gtk/gtkwidget.c:
	exchanged all calls to gtk_container_foreach() with
 	gtk_container_forall().

	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
	the GtkWidget::composite_child argument. to have a widget created
	with the flag initially, two new functions got added to wrap a widgets
	creation:
 	gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().

Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktooltips.h:
	* gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
	gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
	prior to the first tip being set.
	don't put an extra reference on the window, since it is a toplevel,
 	it wont get destroyed from anywhere else.

	* overall macro and GtkType fixups.

1998-09-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
	constructs by more forgiving ones.  (Does anyone else feel like
	the color selector need rewriting?).

Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkprogress.c (gtk_progress_finalize): Unref
	the adjustment.

	* gtk/gtkmenu.c: Modified reference counting so
	that the reference count from the toplevel that
	the menu creates to the menu is invisible to the
	application.

Mon Aug 31 21:36:31 1998  Raph Levien  <raph@gimp.org>

	* gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
	conversion selection logic, so Suns and other big-endian
	machines should get faster conv routines. This is also the
	point where 4bpp gray and 1bpp are checked in, although I
	wouldn't be surprised if 1bpp is a little buggy. This is
	synchronized with the 0.0.7 release of GdkRgb.

	* gtk/Makefile.am: 
	* gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
	appropriate change to the Makefile.am

Mon Aug 31 15:18:19 1998  Raph Levien  <raph@gimp.org>

	* gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
	which is good for images that scroll (makes the dither patterns
	align correctly)

Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkcolor.c:
	(gdk_colormap_new) (gdk_colormap_get_system):
	quell some warnings with g_hash_table_new

	* gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
	when we're done with it

	* gtk/itemfactory.c:
	(gtk_item_factory_from_path):
	(gtk_item_factory_create_item): free some strings

	* gtk/gtklabel.c:
	(gtk_label_finalize): free label->pattern when done
	(gtk_label_parse_uline): null terminate pattern string, delete
	some duplicated code

	* gtk/testthreads.c: add #include <unistd.h> for sleep()

Tue Aug 25 16:52:47 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (recompute_geometry): Make sure the
	mark we pass to line start is the beginning of a 
	real line, not a wrapped one.

Mon Aug 24 18:37:15 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c: Reference count the fonts used in
	the text widget.

	* gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
	freeing functions to be more consistent, and more 
	convenient; leave the old names in for backwards compatibility.

	* gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
	allocations in pseudo-color colormaps to greatly reduce
	calls to XAllocColor. Keep a per-colormap hashtable to
	speed up finding if there is an already-allocated matching
	color.

	* gdk/gdkcolor.c: Don't just match read the system colormap
	when the colormap is created, but synchronize our copy
	with the system colormap periodically.
	
	* gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c: 
	Change XIM constants names to match GDK conventions

	* gtk/testinput.c: Allow the drawing area to get the focus.

	* gtk/testgtk.c: Change around the Text test to demonstrates
	multiple fonts, use more colors.

	* gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
	so they work after a widget is unrealized.

	* gtk/gtktext.[ch]: Remove the requirement that the text
	widget be realized before adding text (!) Allocate colors
	ourself, instead of requiring the caller allocate them.
	Allow changing styles to work properly by keeping track
	of the values for a certain property are default or
	set explicitely.

	* gtk/gtkmenu.h: Added some comments.

	* gtk/gtkentry.c: Changes to match XIM constants.

	* gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
	for adding keyed data to drawables. (Uses g_dataset
	internally)

	* gdk/gdkpixmap.c: Keep track of the colors we allocate,
	when creating an XPM - store them as user data for the GdkPixmap,
	so we don't leak colors when we create pixmaps from XPM's.

	Allocate memory for color information in large blocks instead of 
	as many little pieces.
	
Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkrgb.c: removed some unused variables

	* gtk/gtkclist.c
	* gtk/gtkmain.c: #if 0'd out some unused code

	* gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug

Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkarg.h:
	* gtk/gtkarg.c:
	* gtk/gtkwidget.h: 
	* gtk/gtkwidget.c: 
	* gtk/gtkobject.h:
	* gtk/gtkobject.c:
	* gtk/gtkcontainer.h: 
	* gtk/gtkcontainer.c: 
	(gtk_object_new):
	(gtk_object_set):
	(gtk_widget_new):
	(gtk_widget_set): 
	(gtk_container_add_with_args):
	(gtk_container_child_set):
	begin the parameter elipsis (...) after the first argument name. this
	change is source compatible, since it was always required, even as NULL.
 	(gtk_args_collect): 
	(gtk_object_args_collect): 
	(gtk_container_child_args_collect):
 	changed prototypes to pass first_arg_name, also, pass va_list variable
	by value (portability concerns). callers changed.

	* gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
	a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
 	can't pass va_list variables by reference for portability reasons.

Fri Aug 21 22:40:00  Raph Levien  <raph@gtk.org>

	* gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
	get_visual calls, so that it gets implicitly initialized.

Fri Aug 21 13:06:04 1998  Stuart Parmenter  <pavlov@gimp.org>
	* gtk/gtkfeatures.h.in:  added GTK_HAVE_FEATURES_1_1_2 for changes
	such as GtkCTree function name changes
	
Fri Aug 21 02:31:26 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.h:
	* gtk/gtkmain.c (gtk_check_version): added a function to perform a
	binary version check, returning a static string for error descriptions,
	or NULL on success.

Thu Aug 20 20:08:15 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c ([un]draw_cursor): Check to see if we've
	computed our geometry yet, and if not, ignore the request.

	* gtk/gtktext.c (correct_cache_insert): Fiddled around
	some more. All the bug-test codes seem to work at once
	now. (fingers crossed...)

Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkrgb.c: silly visual fixes

	* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
	works

1998-08-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
	anything if the event's window is not the bin window.
	(gtk_handle_box_motion): Likewise.

1998-08-19  Raph Levien  <raph@gimp.org>

	* gtk/testgtk.c (create_color_preview): pushed the colormap and
	visual so it would work better with GdkRgb.

1998-08-19  Raph Levien  <raph@gimp.org>

	* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
	4bpp static_color mode (for vga displays). Also fixed a '64' value
	in the dither matrix, which was causing one pixel out of 16k to be
	dithered wrong.

	* gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
	most of the contents. This is an API change - any apps that relied
	on the internal structure of GtkPreview will need some change -
	most notably in the use of reserved colors. The Gimp needed
	changes in this regard.

Wed Aug 19 00:11:14 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
	G_ENABLE_DEBUG being defined (specifically --gtk-module= and
	--g-fatal-warnings), noticed by miguel.

Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
	getcwd().

 	* gdk/gdkprivate.h:
	* gdk/gdkglobals.c:
 	* gdk/gdkwindow.c:
	* gdk/gdk.c:
	* gtk/gtkwindow.c: 
	* gtk/gtkitemfactory.c: 
	dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.

	* gtk/gtkselection.c:
	* gtk/gtkpreview.c:
	* gtk/gtkobject.c: 
	* gtk/gtkmain.c: 
	* gtk/gtktypeutils.c: indentation fixes due to g_message() use.

	* gdk/gdkrgb.c: exchanged occourances of g_print with g_message.

Tue Aug 18 17:22:22 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): 
	* gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
	in case of show_tabs == NULL

Tue Aug 18 03:54:43 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c	(gtk_init): restricted the --g*fatal-* arguments
	to --g-fatal-warnings again. this option now causes log levels of
	WARNING and CRITICAL to abort().

	* gdk/gdk.c: 
	* gdk/gdkdnd.c: 
	* gdk/gdkcc.c: 
	* gdk/gdkfont.c: 
	* gdk/gdkwindow.c:
	* gdk/gdkvisual.c:
	* gtk/gtkwidget.c:
	* gtk/gtktypeutils.c:
	* gtk/gtktree.c:
	* gtk/gtkfontsel.c:
	* gtk/gtkmain.c:
	* gtk/gtkobject.c:
	* gtk/gtkpreview.c:
	* gtk/gtkselection.c:
	* gtk/gtktext.c:
	* gtk/gtktree.c:
	* gtk/gtktreeitem.c:
	did a global search&replace to substitute g_print() calls with
 	g_message(). libraries shouldn't use printf(), g_print() or
	g_printerr() at all.
	a bunch of the replacements should probably be wrapped into the
	G{D|T}K_NOTE() macros, so they are special cased for debugging
	purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
	things.

	* gdk/gdkdnd.c: added copyright notice.

Mon Aug 17 17:28:00  Raph Levien  <raph@gtk.org>

	* gdk/gdkrgb.c: Further speedups of the 565_d case. It's
	impressively fast now - about 4.65 Mpix/s on an IBM TP 600
	running a PII 233. It's synced with the 0.0.5 release of
	GdkRgb.

Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkclist.h:
        (struct _GtkCListClass): new class methods:
        (sort_list) (insert_row) (remove_row) (set_cell_contents)

        * gtk/gtkclist.c :
        (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
        removed and replaced by (set_cell_contents)
        (set_cell_contents): function for class method set_cell_contents
        (real_insert_row): function for class method insert_row
        (real_remoce_row): function for class method remove_row
        (real_sort_list): function for class method sort_list
        (default_compare): fix to avoid problems with cell types != CELL_TEXT

        * gtk/gtkctree.h :
        (gtk_ctree_export_to_gnode): new function to export a ctree as gnode 
        (gtk_ctree_node_is_visible): new function to return visibility state
        of a node
	(gtk_ctree_show_stub): new function to set visibility of root stub

        renamed functions :
        (gtk_ctree_insert) -> (gtk_ctree_insert_node)
        (gtk_ctree_remove) -> (gtk_ctree_remove_node)
        (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
        (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
        (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
        (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
        (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
        (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
        (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
        (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
        (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
        (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
        (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
        (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
        (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
        (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
        (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
        (gtk_ctree_sort) -> (gtk_ctree_sort_node)
	(gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)

        * gtk/gtkctree.c :
        (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
        removed and replaced by (set_cell_contents)
        (set_cell_contents): function for class method set_cell_contents
        (real_insert_row): function for class method insert_row
        (real_remoce_row): function for class method remove_row
        (real_sort_list): function for class method sort_list
        (default_compare): removed. CTree now also compares two GtkCTreeRows
        instead of two GtkCTreeNodes.
        (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
        unlinking the node
        (real_tree_expand) (real_tree_collapse): fix for refcounting of
        node pixmaps
        (set_node_info): call gtk_ctree_node_set_pixtext instead of
        manipulating the row itself
        
        * gtk/testgtk.c: use renamed functions of GtkCTree.
        new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
        at work.

Mon Aug 17 15:31:38 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c: removed gtk_input_add_interp.

	* gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
	keyword.
	(gtk_editable_get_event_time): fix default: case.

	* gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.

	* gdk/gdkpixmap.c: made a bunch of unexported functions static.

	* gdk/gdkcolor.c:
	* gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
	of our functions.

	* various minor compilation cleanups, such as bogus commas in
	enums and similar things.

Mon Aug 17 07:47:43 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat()
	(thanx raph).

Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* NEWS: updated for 1.1.2
	* gtk+.spec: version = 1.1.2

Mon Aug 17 05:10:29 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): don't call module initializers multiple
	times. changed --gtk-with-module to --gtk-module at owen's request.

Mon Aug 17 03:47:55 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): feature a new commandline option
	--gtk-with-module=<module> that allows additional loading and
	initialization of modules (e.g. GLE).

Mon Aug 17 01:40:00 1998  Tim Janik  <timj@gtk.org>

	* configure.in: version bump to 1.1.2, binary age 0, interface age 0.
	pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now.

	* gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log
	with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks",
	"--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six
	different *-fatal-* arguments now. this needs to be revised and
 	compressed to a reasonable amount of arguments.

Sun Aug 16 20:51:59 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
	"--g-fatal-warnings" causes fatal warnings in GLib,
 	"--gdk-fatal-warnings" causes fatal warnings in Gdk,
 	"--gtk-fatal-warnings" causes fatal warnings in Gtk.

	* gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
	* gdk/Makefile.am: define G_LOG_DOMAIN for gdk.

	* gtk/testgtk.c: 
	* gdk/gxid.c:
 	we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
 	since automake doesn't support per target _CFLAGS yet.

	* configure.in: require GLib 1.1.3.

Sat Aug 15 03:19:30 1998  John Ellis  <johne@bellatlantic.net>

	* gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function
	to set a callback to test if a node in drag can be dropped onto
	it's currrent location.
	* gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions
	to change the pointer when a drag destination is not allowed.

Thu Aug 13 21:06:00 1998  Raph Levien  <raph@gtk.org>

	* gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that
	speeds up the 565_d case by about 25% total. Thanks Ray!

Thu Aug 13 16:47:44 1998  Owen Taylor  <otaylor@redhat.com>

	* Changed GtkSignalFunc back to () from (void). (again!)

	* Added file README.cvs-commits
	
Thu Aug 13 09:11:11 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - Tidy up of the menufactory example from
            Andy Kahn <kahn@zk3.dec.com>
          - New section on Range Widgets from
            David Huggins-Daines <bn711@freenet.carleton.ca>
          - Started a new section on 'Advanced Event and Signal
            Handling' - used an email from Owen.
          - New appendix on Gdk Event Types
          - Added the tictactoe full example code to the
            'Code Examples' appendix

Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() - 
	  to calculate all the metrics at once of a string, including
	  things which weren't calculated before.

	* gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
	  MenuItem type, that when put as the first thing in a
	  menu, makes the menu tearoff. Currently drawn as a
	  dashed line.

	* gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
	  "hide_on_activate" to the MenuItem class structure to allow
	  check and radio buttons to be changed with <Space> without
	  hiding the menu.

	* gtk/gtkitemfactory.c: 
	  - Create a AccelGroup for each MenuShell we create.
	  - If an '_' appears before a  character 'c' in the path,
	    then make 'c' an accelerator in the menu's accel group,
	    and if the menuitem is menubar <alt>C an accelerator 
	    in the itemfactory's accel group. Double '__' inserts
	    a literal '_'

	* gtk/gtklabel.[ch]: Add support for a pattern arg - 
          which is a string. If an '_' appears in this string,
	  the corresponding position in the label is underlined.

          Add gtk_label_parse_uline() convenience function which
	  takes a string with embedded underlines, sets the
	  pattern and label, and returns the accelerator keyval.

	* gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
	  Instead, they create a GtkWindow and add themselves
	  to that. (When torn off, another new feature, they
	  create another GtkWindow to hold the torn off menu)

	  New function gtk_menu_set_tearoff_state()
	
	* gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h: 
	  Added action signals  for keyboard navigation of menus.

	* gtk/gtkmenushell.c: Key press handler which activates
          bindings for navigation, and accelerators, for handling
	  underline accelerators. Exported functions to select 
	  and activate menu items in a menushell.

	* gtk/testgtk.c: Added a new "Item Factory" test which
	  tests GtkItemFactory and the new keyboard navigation
	  of menus.

Tue Aug 11 20:52:58 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
	external functions have been called. also relookup nodes after
	this function has been invoked.

Tue Aug 11 15:04:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.[ch]: Removed has_cursor, set the cursor
	  beginning of Text when creating the Text widget.

	* gtk/testgtk.c: Grab the focus on the text widget so
	  as to test out the above.

Tue Aug 11 14:55:00 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkeditable.c: Reverted part of timj's change of Jul 16. 
	  ::changed is a notification signal and should have no default
	  handler. A complete redraw of the Text widget does _not_ need to
	  be done on every text insertion.

Tue Aug 11 13:07:29 1998  Owen Taylor  <otaylor@redhat.com>
	(gtk-abilleira-072198-patch)

	* gtk/gtkwindow.[ch]: 
	  Add gtk_window_set_modal() which sets a flag; when
	  set the window does a gtk_grab_add() when the window
	  is shown, and a gtk_grab_remove() when the window
	  is hidden. 

	* gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
	  that case will run "Create Dir","Delete File" and "Rename File" 
	  dialogs as modal too.

	* gtk/testgtk.c: Added a button with an example of creating modal 
	  dialog boxes. Including file selection and color selection standard
	  dialogs.
	
Tue Aug 11 00:44:47 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
	  Removed CAN_FOCUS by default from scrollbars, button
	  children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children)
	  (Scrollbar definitely good change, toolbar bit more questionable)

Tue Aug 11 17:49:33 1998  Tim Janik  <timj@gtk.org>

	* examples/packbox/packbox.c: #include fixes (reported by Asbjoern
 	Pettersen).

Tue Aug 11 00:35:56 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0; 
	  added all logical operations to gc->function.

Sun Aug  9 23:31:59 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
 	gtk_widget_size_allocate instead of gtk_widget_queue_resize
	if the visibility state of a scrollbar changes.

Mon Aug 10 12:49:54 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).

Thu Aug  6 22:37:21 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkclist.c: Renamed my_merge and my_mergesort to
 	gtk_clist_merge and gtk_clist_mergesort. :)

1998-08-06  Martin Baulig  <martin@home-of-linux.org>

	* gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
	`mergesort' -> `my_mergesort'.

Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkenums.h: new enum GtkSortType.
 	
	* gtk/gtkclist.h:
	* gtk/gtkclist.c:
	Added sorting capabilities to GtkCList. New APIs :
	gtk_clist_set_compare_func, gtk_clist_set_sort_column,
	gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort. 
	New internal functions : default_compare, merge, mergesort.

	(gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
	
	(gtk_clist_insert): Modified to handle gtk_clist_append and the
	auto sort flag. Changed the return value from void to gint to
	return the row number where the element was actually inserted.

	(gtk_clist_swap_rows): Return immediately if auto sort flag is set.
	
	* gtk/gtkctree.h:
	* gtk/gtkctree.c:
	Removed the auto_sort flag, replaced ctree->node_compare with
	clist->compare all over the place, modified default_compare to
	match clist's needs. Removed APIs : gtk_ctree_set_auto_sort,
	gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.

	* gtk/testgtk.c: Modified clist/ctree samples to demonstrate
	sorting. The lists can be sorted by a column by clicking the 
	corresponding title button.
	
Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.1

Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.h:
	* gtk/gtkctree.c:
 	(gtk_ctree_find): changed to return a gboolean
	(gtk_ctree_insert_gnode): new function for recursive insertion of a
	GNode tree.
	(gtk_ctree_real_select_recursive): fix for extended selection
	(gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
	(gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag

Tue Aug  4 16:18:26 1998  Tim Janik  <timj@gtk.org>

	* configure.in: version bump to 1.1.1, binary age 0, interface age 0.
	GLib version 1.1.1 is now required at minimum.

	* docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
	of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.

Mon Aug  3 19:24:48 1998  Owen Taylor  <otaylor@redhat.com>
 
 	* gtk/gtktext.c (gtk_text_forward_delete): Undraw the
 	  cursor before (possibly) deleting the cursor's text
 	  property.
 
 	* gtk/gtktext.c (correct_cache_delete): More attempts
 	  to clean the line-start cache up after inserting
 	  a property. Among other things, make sure to
 	  fix up text->current_line, since it is used to 
 	  refetch the changed lines.
 
Tue Aug  4 10:59:19 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktable.[ch]: Empty rows/columns of the table
        should not have been marked as being able to shrink.
	(Fixes problem with shrinking scrollbarless GIMP canvases)

1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
	function to find a row by its data pointer using a custom
	comparison function.

Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>

	* gtk/gtkclist.c: draw the buttons during a "draw" as well,
	  this fixes a bug when the whole widget is made non-sesitive
	  the buttons weren't redrawn

Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
	* gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
	* gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning

Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkwindow.c (gdk_window_reparent): Change 
	  window_private->parent pointer when reparenting.

Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>

	* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
	with the standalone release.

Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
	(gtk_clist_button_release) (new_column_width): Few fixes for
	column resize. Store resize column in clist->drag_pos.

Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.h 
	* gtk/gtkctree.c 
	* gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
	to GtkCTreeNode *node.

	* gtk/gtklist.h : added extended selection mode and auto scrolling.
	(struct _GtkList): removed unneeded variables timer, button,
	selection_start_pos, selection_end_pos, scroll_direction, have_grab.
 	Added new variables undo_selection, undo_unselection, last_focus_child,
 	undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
 	drag_selection, add_mode.
 
 	New functions :
 	(gtk_list_extend_selection), (gtk_list_start_selection),
 	(gtk_list_end_selection), (gtk_list_select_all),
 	(gtk_list_unselect_all), (gtk_list_scroll_horizontal),
 	(gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
 	(gtk_list_toggle_focus_row), (gtk_list_toggle_row),
 	(gtk_list_undo_selection), (gtk_list_end_drag_selection)
        
	* gtk/gtklist.c : 
 	(gtk_list_enter_notify): removed, because auto scrolling now works
 	with gtk_list_motion_notify
 
 	New functions, needed for auto scrolling :
 	(gtk_list_motion_notify) (gtk_list_move_focus_child)
 
 	New functions for extended selection support :
 	(gtk_list_set_anchor), (gtk_list_fake_unselect_all),
 	(gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
 	(gtk_list_focus_lost)
 	
 	(gtk_list_set_focus_child): modified gtk_container_set_focus_child
 	function to support auto scrolling, and avoid out-of-sync errors in
 	case auf GTK_SELECTION_BROWSE
 	(gtk_list_focus): modified gtk_container_focus function to avoid out
 	off sync errors	in case auf GTK_SELECTION_EXTENDED

	* gtk/gtklistitem.h 
	* gtk/gtklistitem.c :
 	New signal functions for key binding support :
 	(toggle_focus_row), (select_all), (list_item), (unselect_all)
 	(list_item), (undo_selection), (start_selection), (end_selection)
 	(extend_selection), (scroll_horizontal), (scroll_vertical),
 	(toggle_add_mode)
 	(gtk_list_item_realize): added	GDK_KEY_PRESS_MASK |
 	GDK_KEY_RELEASE_MASK
 	(gtk_list_item_draw_focus): modify gc if parent has add_mode set.
 
 	* gtk/gtkcombo.c :
 	(gtk_combo_popup_button_press):  grab pointer for combo->list
 	(gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
 	(gtk_combo_list_key_press): take care of which child HAS_GRAB
 	(gtk_comb_init): don't connect combo->button with button_release_event

Thu Jul 30 12:39:36 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines

Wed Jul 29 23:31:50 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_motion): column resize now works with
	horizontal autoscrolling, GtkCTree's 'reorder ability' now works
	with horizontal and vertical autoscrolling.

Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/docs/man: new directory
	* gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page

Tue Jul 28 00:03:20 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
	bug

Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml: GtkTree section from
	  David Huggins-Daines <bn711@freenet.carleton.ca>,
	  add a GtkText widget example
	* examples/text/* example/tree/* : new examples for the
	  GtkTree and GtkText widgets
	* docs/gtk_tut.sgml: added an appendix to hold complete code
	  examples that aren't in a full form elsewhere in the
	  tutorial (e.g. scribble)

Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.1.0

Mon Jul 27 04:18:26 1998  Tim Janik  <timj@gtk.org>

	* gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
	the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.

Mon Jul 27 03:11:20 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
	values are looked up.

	* gtk/gtktypeutils.h:
	* gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
	gtk_type_enums_find_value to lookup enum values.

	* gtk/gtkctree.h: 
	* gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
 	GtkCTreeExpansionType. fixed signal creations to pass the enum
	types not just the base type GTK_TYPE_ENUM.

	* gtk/gtkclist.h: 
	* gtk/gtkclist.c: fixed signal creations to pass the real enum
	types not just the base type GTK_TYPE_ENUM.

Sun Jul 26 14:50:07 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/testgtk.c : 
	Began cleanup, e.g. use gtk_widget_show_all instead of many 
	gtk_widget_show's. Completely rewrote the button box sample
 	(only one window now). Removed "miscellaneous" button.

Sun Jul 26 14:48:14 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): 
	Fixed wrong allocation for GTK_BUTTONBOX_END.
 	(allocation->x  =>  allocation->y)

Sun Jul 26 14:06:37 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
	(abort_column_resize) (gtk_clist_key_press): fix for pointer grab
	
	* gtk/gtkctree.c (real_tree_select): added check to avoid double
	selected rows
	(gtk_ctree_button_press)
 	(gtk_ctree_button_release): fix for pointer grab

Sat Jul 25 13:16:00 1998 Damon Chaplin  <DAChaplin@msn.com>

	* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): 
	Fixed initialization problem - dirty memory could cause problems.
	Also checked that bitmapped fonts can be scaled when showing the
	available sizes.

Sat Jul 25 02:25:03 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_sort_recursive)
	(gtk_ctree_sort_recursive): test for node != NULL
	(gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
	(gtk_ctree_last) : added sanity checks
	* gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"

Fri Jul 24 18:15:49 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (toggle_focus_row): mini code cleanup

Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>

	* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.

Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
 	to check out binding priorities. someone should really write
	gtkrc-mode for emacs.

	* gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
	* gtk/testgtk.c (main): and move it here ;). this test says something
	on release of C-9. (this works only if the mouse pointer is on a
	spinbutton and there is no focus widget).

	* gtk/gtkrc.h:
	* gtk/gtkrc.c:
	export gtk_rc_parse_color, gtk_rc_parse_state and a new function
	gtk_rc_parse_priority to parse path priority types.
	export rc tokens.
	feature binding parsing.

Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbindings.h: 
	* gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
	feature binding parsing in rc files.
	* gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
	* gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
	order the bindings with lowest priority first.

Wed Jul 22 15:21:08 PDT 1998 Manish Singh <yosh@gimp.org>

	* gdk/gdkrgb.c: actually builds and runs properly on big
	endian machines now, because we #include config.h. Also
	fixed up a compile error in the WORDS_BIGENDIAN case in
	gdk_rgb_convert_565_gray. I made the fix by looking at
	patterns in the other code; Raph can you verify this?

	* gdk/gdkthreads.c: #include <unistd.h> to quell compiler
	warnings

Wed Jul 22 23:00:44 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse) 
	(tree_toggle_expansion) (real_select/unselect_row)
	(gtk_ctree_select/unselect) : few fixes for gtk_signal_emits

Wed Jul 15 17:44:47 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (new_text_property): We free things from
	the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.

	* Fix up line start cache when splitting a property
	during an insert.

Wed Jul 15 21:15:52 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c: restauration => restoration

Thu Jul 16 20:11:36 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
	hasn't been created yet, don't do the lookup.

1998-07-20  Raph Levien  <raph@acm.org>

	* gdk/gdkrgb.c: More cleanups in the config process.

1998-07-20  Raph Levien  <raph@acm.org>

	* gdkrgb.c: Fixed minor config bug preventing big-endian
	architectures from working.

Tue Jul 21 06:32:43 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
 	activity indicator. It is settable now as a fraction of the
	total width/height using gtk_progress_bar_set_activity_blocks.
	Renamed gtk_progress_bar_set_number_of_blocks to
	gtk_progress_bar_set_discrete_blocks.

Mon Jul 20 21:28:18 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
 	(gtk_ctree_pre_recursive_to_depth): new functions, recursive process
	tree to specified depth
	(gtk_ctree_expand_to_depth): expand tree to specified depth
 	(gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth

Sun Jul 19 23:51:05 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
	of GTK_CLIST_ADD_MOD
	* gtk/testgtk.c (add1000_clist): changed pixmap

Sat Jul 18 22:59:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.h: 
	* gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.

	* gtk/gtktypeutils.h:
	* gtk/gtkitemfactory.h: remove "void" from prototypes again.

Sat Jul 18 00:54:01 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
  	CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
	(gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
	CHILD_ARG_POSITION
	(gtk_notebook_reorder_child): new funktion to change position of a
	notebook page
	(gtk_notebook_draw_arrow): draw left/right arrow with
	GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.

	* gtk/gtkstyle.c (gtk_default_draw_arrow):
	added GTK_SHADOW_ETCHED_IN/OUT

Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
	  gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
	Introduced generic GtkProgress widget. Derived GtkProgressBar from
	GtkProgress. Made GtkProgressBar much more flexible (see testgtk).

Fri Jul 17 23:49:28 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtktypeutils.h
	* gtk/gtkitemfactory.h: explicitly specify void in prototype

Fri Jul 17 17:54:02 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
	of list

Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
	sropped the approach of copying all signal specific data into a
 	GtkHandlerInfo structure. we rather keep the signal data on the stack
	in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
	avoids multiple lookups of the signal pointer and works savely together
	with destroy notifiers of handlers.

	* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
	someone destroys the entry on the ::activate signal.

Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
	instead of ypad (typo).
	(gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
 	border around the allocation).
	(gtk_arrow_init): the static requisition needs to be setup in this
	function rather than gtk_widget_new(), so arrow creation works without
	the gtk_arrow_new() constructing.
	(gtk_arrow_expose): return TRUE, since we actually handled the expose.

	* gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
 	implementation for GtkWidget::size_request, so size requisition for
 	simple statically sized widgets like GtkArrow works.

Thu Jul 16 14:16:16 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk-config.in: minor changes to gtk-config: --cflags doesn't
	prepend -I@libdir@/glib/include anymore, since glib-config handles
	it; --libs strips out redundant -L<path>'s properly (there was
	code in there to do it before, but it didn't work)

Thu Jul 16 18:24:41 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtknotebook.h: 
	* gtk/gtknotebook.c: signdness corrections all ove the place.
	implementation of object arguments: GtkNotebook::enable_popup,
 	GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
	GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
	begun implementation of child args, we have GtkNotebook::tab_label, but
	GtkNotebook::menu_label and GtkNotebook::position still lack the
	implementation.
	(gtk_notebook_remove_page):
	(gtk_notebook_current_page): allow negative indices (-1) as alias for
	the last page.

	* gtk/gtkentry.h:
	* gtk/gtkentry.c: GtkType and macro fixups. implementation of object
	arguments GtkEntry::max_length and GtkEntry::visibility.
	(gtk_entry_adjust_scroll): queue a redraw.

	* gtk/gtkeditable.h:
	* gtk/gtkeditable.c: GtkType und macro fixups. implementation of
	object arguments GtkEditable::text_position and GtkEditable::editable.
 	new (action) signal GtkEditable::set_editable.
	provide a default handler for GtkEditable::changed that queues a redraw.

	* gtk/gtktext.h: 
	* gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
	set_editable.

Thu Jul 16 14:42:11 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
	case of drag_target == NULL
	* gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
	Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
	* gtk/gtkfilesel.c (gtk_file_selection_file_button,
	gtk_dir_selection_file_button): fix due to changes in clist's
	select_row signal.

Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.h:
	* gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
	similar to gtk_widget_set_uposition(). that is: -1=unspecified,
	-2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
	to be gint16s rather than guint16s, since that's what the code expected
	(for a long time actually).

	* gtk/gtkviewport.c:
	added support for object arguments: GtkViewport::shadow_type,
 	GtkViewport::vadjustment and GtkViewport::hadjustment.
 	(gtk_viewport_add): chain gtk_bin_add.

	* gtk/gtkscrolledwindow.c: 
	added support for object argument: GtkScrolledWindow::hscrollbar_policy,
	GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.

	* gtk/gtkadjustment.h: 
	* gtk/gtkadjustment.c: 
	* gtk/gtkctree.h: 
	* gtk/gtkclist.h: 
	* gtk/gtkctree.c: 
	* gtk/gtkclist.c:
	* gtk/gtkscrolledwindow.h:
	* gtk/gtkscrolledwindow.c:
	* gtk/gtkviewport.h:
	* gtk/gtkviewport.c:
	GtkType and macro fixups.

Thu Jul 16 01:10:02 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.h :
	* gtk/gtkctree.c :
	Added focus handling, horizontal and vertical autoscrolling,
	extended Selection Mode, key bindings
	Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
	Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
	Removed gtk_ctree_clear.
	
	* gtk/gtkclist.h :
	* gtk/gtkclist.c : 
	Added focus handling, horizontal and vertical autoscrolling,
	extended Selection Mode, key bindings

Wed Jul 15 12:39:27 1998  Raph Levien  <raph@acm.org>

	* This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1
	source tree. For more information on GdkRgb, please see:
	http://www.levien.com/gdkrgb/

	* gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It
	bothers me slightly that the feature is in gdk, and this file is
	in gtk, but it's probably ok.

	* gdk/gdk.h: Added an #include of <gdk/gdkrgb.h>

	* gdk/gdkrgb.c:
	* gdk/gdkrgb.h: Added this module.

	* Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files.

	* configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb).

Wed Jul 15 14:20:10 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
	to this function. it needs to relookup the signal multiple times.
	this fixes spurious segfaults that could show up with signal intensive
	code, when classes are created during a pending emission (which is
	normal case).

Tue Jul 14 19:12:12 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
	child if it isn't a label.

Tue Jul 14 11:41:38 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkdialog.h: 
	* gtk/gtkseparator.h: 
	* gtk/gtkhseparator.h: 
	* gtk/gtkvseparator.h: macro and GtkType fixups.

Tue Jul 14 06:25:46 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c (create_cursors): display the current cursor name.

	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
	the fundamental type definition. the GtkArg union now only covers
	the required storage types for argument values. adapted the GTK_VALUE_*
	macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.

	* gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
	code, fixed int/float collection. fixed a bug in the sanity checking
	code for GtkObjects.

	* gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
	argument collection code.

	* gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
	macros when distinguishing the return type.

Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>

	* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
	  is not NULL before trying to g_list_remove the child. A patch
	  from Michael Lausch.

Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
	collection (always casted to doubles upon argument passing).

Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
 	object_init_func for derived objects with the object's ->klass field
 	still pointing to the corresponding base class, otherwise overridden
 	class functions could get called with partly-initialized objects.
	(change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).

Sun Jul 12 02:47:35 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.h:
	* gtk/gtkobject.c:
 	(gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().

	* gtk/gtkcontainer.h:
	* gtk/gtkcontainer.c:
 	(gtk_container_child_arg_get_info): new function which wraps
 	gtk_arg_get_info().

Fri Jul 10 13:29:53 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c:
	(gtk_container_arg_get): 
	(gtk_container_arg_set): 
	* gtk/gtkobject.c:
	(gtk_object_arg_set): 
	(gtk_object_arg_get):
	strictly check for the associated get/set arg functions. if an
	arg is readable or writable, the associated class functions *must*
	be provided.

Fri Jul 10 09:37:50 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
 	padding into account if there is an accelerator.

Fri Jul 10 05:51:44 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c:
 	(gtk_container_add_with_args): collect the arguments with
 	gtk_container_child_args_collect, not through gtk_object_args_collect.
	(gtk_container_child_set): likewise.

Fri Jul 10 04:20:35 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
	which is derived from GTK_TYPE_STRING.

	* gtk/gtkbindings.c: reworked the argument type handling.

Thu Jul  9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
	  so that it seems to allow normal operation in those modes,
	  although you will only see black  (GIMP toolbar now pops up,
	  just don't create a new image and GIMP now works in 4 bit.)

Thu Jul  9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gdk/gdkvisuals.c: 4 bit support, increased available_depths
	  array, which was too low (?)

Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.h: 
	* gtk/gtkcontainer.c: deleted most of the argument handling code, since
	that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
	we now export a new function gtk_container_child_args_collect().
	for consistency with the object arguments, a few functions got renamed:
	gtk_container_child_arg_get -> gtk_container_child_get,
	gtk_container_child_arg_set -> gtk_container_child_set,
	gtk_container_child_arg_getv -> gtk_container_child_getv,
	gtk_container_child_arg_setv -> gtk_container_child_setv,
	gtk_container_add_with_argv -> gtk_container_addv.
	note, gtk_container_add_with_args() remained, because its equivalent
	would be gtk_container_add(,, ...) which would break all existing code.
	(gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
	we expect the `arg_name' argument to be a const static string now.
	(gtk_container_get_child_arg_type): function removed.

Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
	this is a static inline function that collects command line arguments
	from a va_list. this file can just be included in all places that
	need this functionality.

	* gtk/gtkarg.h: 
	* gtk/gtkarg.c: new files which implement most of the argument
	handling stuff from gtkobject.c. also collected a few more
	gtk_arg_* utility functions from else places.

	* gtk/gtkobject.h: 
	* gtk/gtkobject.c: moved most of the argument handling code into
 	gtkarg.c. we now export gtk_object_args_collect() as a non-public
	method with a blind va_list pointer.
	(gtk_object_add_arg_type): the `arg_name' argument is required to be a
	const static string now.
	(gtk_object_get_arg_type): function got removed.

	* gtk/gtkwidget.c: 
	(gtk_widget_set): 
	(gtk_widget_new): adaptions for gtk_object_args_collect().

	* gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
 	fundamental type name so as to have a valid prefix, e.g. "bool"->
	"gboolean", "string"->"GtkString" and somesuch, left "void" as is,
	though that should probably be something like GtkNone since the
	type itself is called GTK_TYPE_NONE.
	even the internal type names need to avoid name clashes and must live
	in their own namespace, several code portions rely on that.
	we should relly have typedefs such as typedef gchar* GtkString; so the
	fundamental type names can be used for code dumpers just like with all
	the Gtk/Gdk types.

Wed Jul  8 15:31:28 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
	keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
	to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
	(GTK_RELIEF_HALF).
	(gtk_button_paint): set the background for prelighted buttons with
	GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
 	(gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
	the shadow type (otherwise we get strange shadows for coloured buttons).
	(gtk_button_set_relief): queue a redraw after changing
	the relief.
	(gtk_button_class_init): 
	(gtk_button_set_arg): 
	(gtk_button_get_arg): added object argument "GtkButton::relief".

	* gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.

Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbutton.h:
	* gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
	GTK_BIN (button)->child to button->child to keep source compatibility.

	* gtk/gtkoptionmenu.c:
	* gtk/gtkclist.c:
	* gtkcheckbutton.c: don't refer to button->child, but
 	GTK_BIN (button)->child instead.

Mon Jul  6 12:06:23 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtkfaq.sgml: update anon CVS info

Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>

	* gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
 	functions.

	* gdk/gdkwindow.c:
	* gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
	to XFree() calls.

1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
	I seem to have erroneously added it to gtkfeatures.h (not .h.in).

Fri Jul  3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE

Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.h:
	* gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"

	* gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
	error that prevented signal to entry addition for signals with
 	parameters.

Wed Jul  1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>

	* ltconfig: fix for properly detecting shared lib support on
	SunPro cc (taken from libtool 1.2.a)

Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkrc.c: implementation of the "class" keyword for styles.

Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
	rc set pattern is favoured, this is needed for overriding of style
	patterns with subsequently parsed rc files.

Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkrc.c: code overhaul for simplicity and more descriptive
	error messages.

Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
	modifier as well.
	(gtk_accelerator_name): add "<Release>" to the accelerator name if
	neccessary.

	* gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
 	account.

	* gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
	default handler for key-release events, which checks for activation
	of GDK_RELEASE_MASK key bindings.

	* gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.

Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkarrow.h: GtkType and macro fixups.
	* gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
	"GtkArrow::shadow_type".

Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkalignment.h:
	* gtk/gtkbin.h: GtkType and macro fixups.
	
	* gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
	implementation: GtkAlignment::xalign, GtkAlignment::yalign,
	GtkAlignment::xscale, GtkAlignment::yscale.

Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
	fucntions from all parent types upon class initialization.

	* gtk/gtkcontainer.c:
 	(gtk_container_get_type): announce gtk_container_base_class_init to
 	the type system.
	(gtk_container_base_class_init): new function to feature base class
	initialization.
	(gtk_container_get_child_arg): 
	(gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
	and set_child_arg methods of the class indicated through the argument
	name.

	* gtk/gtkobject.c:
	(gtk_object_base_class_init): new function to feature base class
 	initialization.
	(gtk_object_init_type): announce gtk_object_base_class_init to the type
	system.
	(gtk_object_class_init): setup the get_arg and set_arg pointers for
	GtkObjectClass.
	(gtk_object_setv): 
 	(gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
 	instead of bothering the type system with this.

	* gtk/gtkaccellabel.c: 
	* gtk/gtkbutton.c: 
	* gtk/gtkradiobutton.c: 
	* gtk/gtktable.c:
	* gtk/gtktogglebutton.c: 
	* gtk/gtktipsquery.c: 
	* gtk/gtkbox.c: 
	* gtk/gtkpacker.c: 
	* gtk/gtkwidget.c: 
	* gtk/gtkwindow.c: 
	* gtk/gtkframe.c: 
	* gtk/gtkmisc.c:
	* gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
	corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
	functions wrt GtkTypeInfo initialization. changed a lot of the set/get
	arg functions to take a GtkObject argument.

	gtk/gtkadjustment.c:
	gtk/gtkalignment.c:
	gtk/gtkarrow.c:
	gtk/gtkaspectframe.c:
	gtk/gtkbbox.c:
	gtk/gtkbin.c:
	gtk/gtkcheckbutton.c:
	gtk/gtkcheckmenuitem.c:
	gtk/gtkclist.c:
	gtk/gtkcolorsel.c:
	gtk/gtkcombo.c:
	gtk/gtkctree.c:
	gtk/gtkcurve.c:
	gtk/gtkdata.c:
	gtk/gtkdialog.c:
	gtk/gtkdrawingarea.c:
	gtk/gtkeditable.c:
	gtk/gtkentry.c:
	gtk/gtkeventbox.c:
	gtk/gtkfilesel.c:
	gtk/gtkfixed.c:
	gtk/gtkfontsel.c:
	gtk/gtkgamma.c:
	gtk/gtkhandlebox.c:
	gtk/gtkhbbox.c:
	gtk/gtkhbox.c:
	gtk/gtkhpaned.c:
	gtk/gtkhruler.c:
	gtk/gtkhscale.c:
	gtk/gtkhscrollbar.c:
	gtk/gtkhseparator.c:
	gtk/gtkimage.c:
	gtk/gtkinputdialog.c:
	gtk/gtkitem.c:
	gtk/gtkitemfactory.c:
	gtk/gtklist.c:
	gtk/gtklistitem.c:
	gtk/gtkmenu.c:
	gtk/gtkmenubar.c:
	gtk/gtkmenuitem.c:
	gtk/gtkmenushell.c:
	gtk/gtknotebook.c:
	gtk/gtkoptionmenu.c:
	gtk/gtkpaned.c:
	gtk/gtkpixmap.c:
	gtk/gtkpreview.c:
	gtk/gtkprogressbar.c:
	gtk/gtkradiomenuitem.c:
	gtk/gtkrange.c:
	gtk/gtkruler.c:
	gtk/gtkscale.c:
	gtk/gtkscrollbar.c:
	gtk/gtkscrolledwindow.c:
	gtk/gtkseparator.c:
	gtk/gtkspinbutton.c:
	gtk/gtkstatusbar.c:
	gtk/gtktext.c:
	gtk/gtktoolbar.c:
	gtk/gtktooltips.c:
	gtk/gtktree.c:
	gtk/gtktreeitem.c:
	gtk/gtkvbbox.c:
	gtk/gtkvbox.c:
	gtk/gtkviewport.c:
	gtk/gtkvpaned.c:
	gtk/gtkvruler.c:
	gtk/gtkvscale.c:
	gtk/gtkvscrollbar.c:
	gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
	match the modified GtkTypeInfo structure.

Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/testgtk.c: use rand() instead of random() for portability

Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>

	* configure.in
	* acconfig.h
	* gdk/gdk.c: use native Xlib XConvertCase if it's available

Sat Jun 27 15:44:46 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
	XConvertCase() functionality from X11R6 on X11R5 systems.

Thu Jun 25 10:50:34 1998  Stefan Jeske  <stefan@gtk.org>

	* gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
 	gdk_string_height, gdk_char_height to retrieve the exact
	height of a text.

Thu Jun 25 07:53:51 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml: add section on GtkCList widget, contributed
	  by Stefan Mars <mars@lysator.liu.se>
	* examples/clist/clist.c examples/clist/Makefile: example code
	  for GtkCList widget from the Tutorial

Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
	if the container is not visible, we might be a toplevel! this holds
	for all other base container implementations as well, that are
 	candidates to derive toplevels from. in general the resizing code will
	care about visibility itself.
	* gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
	* gtk/gtkbox.c (gtk_box_remove): likewise.

	* gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
	gtk_window_set_hints(), since we haven't calculated the new position
	yet.

	* gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
	*mask are alway initialized in a sane way, regardless of the return
 	value.

Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
	to gtk_container_child_arg_setv, but takes a variable argument list.
	new function gtk_container_get_child_arg_type, which is needed by
	gtk_object_collect_args.

	* gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
	take a function pointer to figure the argument type.
	adapted callers to pass gtk_object_get_arg_type.
	* gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
	gtk_object_get_arg_type..

	* gtk/gtkpacker.h: 
	* gtk/gtkpacker.c:
 	(gtk_packer_reorder_child): new function to change the packing order
	of a child.
	(gtk_packer_size_request): 
	(gtk_packer_size_allocate): take container->border_width into acount.

	* gtk/gtkpacker.c: implemented widget arguments:
	"GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
	"GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
	implemented child arguments:
	"GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
	"GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
	"GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
	"GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".

	* gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
	not the alignment.

	* gtk/gtkeventbox.h:
	* gtk/gtkeventbox.c: GtkType and macro fixups.

	* gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
	sensitivity of an entry.

	* gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
	for insensitive base and text.

	* gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
	widget state dependent.
	(gtk_entry_style_set): likewise.
	(gtk_entry_state_changed): set background color on state changes.
	(gtk_entry_draw_text): for non selected text, use state dependent
	colors.

	* gtk/gtktogglebutton.c: support for widget arguments
 	"GtkToggleButton::active" and "GtkToggleButton::draw_indicator".

Wed Jun 24 08:35:45 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility 
	code for 1.0.x-like parameters. Changed internal interface of
	gtk_spin_button_real_spin. Several fixes to avoid emission of
	"value_changed" where possible.

Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk-boxed.defs: s/GkWidget/GtkWidget/

Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>

	* gtk/testgtk.c (create_idle_test): added a frame with radio buttons
	to select the resize_mode for the idle-labels container.

	* gtk/gtkframe.h: 
	* gtk/gtkframe.c: GtkType and macro corrections.

	* gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
 	support widget argument "GtkRadioButton::group".

Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
	unconditionally if resize_mode has changed.

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
 	GTK_RESIZE_QUEUE on the scrolled window.
	(gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.

Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.h:
	* gtk/gtkcontainer.c:
 	(GTK_IS_RESIZE_CONTAINER): new macro to find out if
	a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
	(gtk_container_queue_resize): new function to queue a container for
	a *size* reallocation (doesn't affect its position, and thus its
	parent is left untouched usually).
	(gtk_container_get_resize_container): new function to retrive the next
	most resize container which is not itself queued for a resize.
	(gtk_container_idle_sizer): new function to carefully process the
 	container_resize_queue since it can change during invokation of
 	gtk_container_check_resize().
	(gtk_container_resize_children): total rework of this function to
	properly handle resize containers. makes a lot of assumptions whitch
	are stated in the comments.

	* gtk/gtkcontainer.c:
 	(gtk_container_real_check_resize): only requeue ourselves if we are not
 	a resize container.
	(gtk_container_clear_resize_widgets): care for automatic deletion of our
	resize_widgets list on size_allocate through a handler connection.

	* gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
 	focus and default widget of a window, so to take the burden from
	gtk_widget_unparent.

	* gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
	to be clever, but actually messed up the resize_children logic and
	caused unneccessary allocations on its whole branch. besides this,
	it messed up the display by not invoking a redraw after the allocation.

	* gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
 	that it is the child again that is queued for a resize.
	(gtk_table_attach): likewise.
	(gtk_table_remove): likewise.

1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gtk/gtkentry.h, gtk/gtkentry.c: Export the
	gtk_entry_adjust_scroll.  Required if you change the cursor
	position and want to sync it up with your code (Midnight Commander
	gtk front end needs this).

	* gtk/gtktable.c: Deal with tables that have size 0, 0.

Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>

	* examples/README.1ST: new file to explain how the
	  code examples should be extracted from the tutorial.

Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (draw_row): added new "line style"
	GTK_CTREE_LINES_TABBED 
	* gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
	search the glist pointer of an GtkCTreeRow

1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
 
	* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
	from, and clean up, the dependencies.  Generate to intermediate
	files to prevent problems with Ctrl-C.

	* gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.

Fri Jun 19 14:46:56 1998  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
        - Bug fix for precision problem causing occasional double emission 
	  of "value_changed" signal (hopefully works now).
        - API change (should be binary compatible) : 
	  new enum GtkSpinType; modified gtk_spin_button_spin to use it.
	  Modified cursor example appropriately.
	  To spin by something other than step_/page_increment, use
	  gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
	- Made GTK_SHADOW_NONE the default. ;)
	- Fixed casting of GtkAdjustment* to GtkWidget* in
	  gtk_spin_button_value_changed.

Fri Jun 19 06:18:19 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
	for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
 	resize widget list before queuing the container for a new reize.
	(gtk_container_need_resize): changed return value to FALSE, since this
	used to indicate that no further resizes are needed.
	(gtk_container_set_arg): 
	(gtk_container_get_arg): 
	(gtk_container_class_init): implemented GtkContainer::resize_mode
 	argument.

	(gtk_container_resize_children): when we walk up the tree of a resize
	widget we need to stop if we are the current parent.

	* gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
	GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
	(gtk_widget_hide_all): retrive the toplevel widget from via
	gtk_widget_get_resize_container().

Thu Jun 18 23:08:36 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtklist.c (gtk_list_button_press): Only respond
	  to selection with button 1. This allows context-sensitive
	  menus to work correctly.

Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelgroup.c: 
	* gtk/gtkbindings.c: 
	* gtk/gtkcontainer.c:
	* gtk/gtkitemfactory.c:
	* gtk/gtkobject.c: 
	* gtk/gtksignal.c:
	* gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
	g_quark_from_static_string calls to save memory.

	* gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
 	function _after_ the new data has been setup.
	minor changes to object data functions to feature the GQuark type.

Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
	  from argv.

Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/genmarshal.pl: Modified to be more idiomatic Perl,
	  to be more readable perl, to spit out stuff that looks
	  more like readable C, and to pipe output through indent
	  so output looks a lot like readable C. No functional
	  changes.

Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
	  necessary when switching to a masked pixmap. (Based on a patch
	  from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)

Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkeditable.[ch]: Added action signals for keyboard
   	  bindings. (move_cursor, kill_word, etc, etc, etc). 

          removed the time argument from
	  gtk_editable_cut/copy/paste_clipboard (source but not
          binary incompatible...) Instead get time from
	  gtk_get_current_event ().
	
	* gtk/gtktext.c gtk/gtkentry.c: Support the new editable
	  signals.

Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>

	Patches from Damon Chaplin <DAChaplin@email.msn.com>:

        gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
	     parent class to GtkNotebookClass when splitting the widget in
	     two.  Also updated some comments.

        gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
               button without a font selected.

             Fixed bug in set_font_name - I hadn't updated the code to
               search for the style in the font_style clist - it was
               still assuming the style row was equal to its index,
               but it isn't any more.
	
             Changed 'Reset' button on filter page to 'Clear Filter'.
             Deleted old code relating to the old 'Filter Fonts' toggle
             Updated some comments.
             Cleared 'Actual Fontname' if no font is set.

        gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
	     destroying the GtkFontSelection instead of the
             GtkFontSelectionDialog.

Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
	  flag to make all warnings fatal errors.

	* gtk/testthreads.c: moved <pthreads.h> include inside 
	  #ifdef USE_PTHREADS

Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c 
	  gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:

	- Added new function gtk_container_set_resize_mode() for
	  fine-grained control of where resize-queueing is done.

	- Removed GtkContainer::need_resize and GtkWindow::move_resize
	- Added GtkContainer::check_resize to replace need_resize.

	- Added function gtk_container_check_resize() to trigger
	  queued resizes, and gtk_container_resize_children() to
	  Figure which children need to be size-allocated. (logic
	  moved from gtkwindow.c)

	- Reorganized code in gtkwindow.c
	
	- Set the resize-mode for viewports so that resizes within
	  a viewport don't propagate out of it. 
	
1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.

	* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
	g_return_val_if_fail, because the function *does* return a value.

Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccellabel.h:
	* gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
	request the size of the accelerator portion of an accel label.
	(gtk_accel_label_size_request): don't request for the accelerators size.
	(gtk_accel_label_expose_event): only draw the accelerator if we got
 	enough extra space.

	* gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
	width from children.

	* gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
	object (after removal has been requested) check if there is still an
	accelerator remaining to avoid adding two accelerators on an object.
	this can happen for locked accelerators (or accelerator-frozen widgets).
	(gtk_menu_size_request): feature childrens accelerator width in size
 	requests.

	* gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
	gtk_widget_freeze_accelerators() for dynamically created menu items.

	* gtk/gtksignal.h: 
	* gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
	which will return a handler_id > 0 if the specified function is pending
	for `signal_id'.

	* gtk/gtkwidget.h:
	* gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
	a signal handler function to stop accelerator addition.
	added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
	which will prevent (undo) any accelerators from being added to or
 	removed from a widget.

Wed Jun 17 21:59:09 1998  Stefan Jeske  <stefan@gtk.org>

	* gtkspinbutton.h gtkspinbutton.c testgtk.c:
 	Changed GtkSpinButtonUpdatePolicy enum, added keyboard
	acceleration, new API gtk_spin_button_set_snap_to_ticks.

Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdk.h:
	* gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
	the current GdkWindow the pointer is on if there is any.
	
	* gtk/gtktable.c (gtk_table_init): preallocate a table with one row
	and one column, so we don't construction logic at all. changed a few
	(x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
	unsigned int wraps.

	* gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
 	portion, added an additional check for parent != widget.

	* more GtkType and macro fixups.

1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
	"clip" parameter, which is the clipping rectangle to use.  This
	eliminates the extremely annoying flicker when exposing parts of
	the handlebox.

Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtktable.c: fix from TimJ for off-by-one error in table
	resizing

Tue Jun 16 06:29:57 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
	!= 0 on the argument.

	* gtk/gtktable.h: 
	* gtk/gtktable.c: new function gtk_table_resize() which allowes
 	shrinking and expanding of tables. implementation of widget arguments
	and child arguments. many signedness corrections.

Mon Jun 15 04:15:03 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
	not only the child, otherwise we might end up taking away other
 	childrens space after the resize.

	* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
	an unknown menu path from any source, that path must always be flagged
 	as "modified", since we don't really know whether it has its default
	value or not.

	* gtk/gtktree.c:
	* gtk/gtkpacker.c:
	* gtk/gtknotebook.c:
	* gtk/gtkmenushell.c:
	* gtk/gtklist.c:
	* gtk/gtkpaned.c:
	* gtk/gtkfixed.c: 
	* gtk/gtkbutton.c: implement gtk_*_child_type functions.

	* gtk/gtkbox.h: 
	* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
	arguments. implemented child arguments.

	* more GtkType and macro fixups.

Sun Jun 14 16:30:02 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcheckbutton.h: GtkType and macro fixups.

	* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
	and gtk_clist_get_hadjustment.

	* gtk/gtkcontainer.c:
 	implementation of children arguments, new class member functions
	(child_type), (get_child_arg) and (set_child_arg) plus a new field
	n_child_args.
	(gtk_container_child_type): new function which returns the type of a
 	child that the container expects for its next addition.
	(gtk_container_add_child_arg_type): new function to introduce a new
 	child argument at class creation time.
	(gtk_container_query_child_args): new function to query all child
 	arguments that are supported by a container class.
	(gtk_container_child_arg_getv): new fucntion to retrive the value of a
 	child argument.
	(gtk_container_child_arg_setv): new function to set a child argument for
	a certain container and child combination.
	(gtk_container_add_with_args):
	(gtk_container_add_with_argv): new functions to feature addition of a
 	new child in combination with the setting of certain child arguments.

	* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
 	GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
	this should really be done through class cretion hooks some day.

	* gtk/gtkcontainer.c: changed type of border_width from gint16 to
 	guint : 16.

	* gtk/gtkpacker.h:
	* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
 	follow the gtk convention for lower case variable names (important
	for language wrappers and widget arguments), and made them guint : 16.

	* examples/packer/pack.c: adaptions for the case converted GtkPacker
 	fields.

Fri Jun 12 16:33:23 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
	change the character pair for single line comments.
	(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
	GtkItemFactoryClass.
	(gtk_item_factory_parse_rc_string): likewise.

Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
	lists from the klass structure to a static structure
	in gtkfontsel.c; cleans up global the namespace.

Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/makeenums.pl (parse_entries): Fix (untriggered)
	bug with /*< skip >*/ and remove warning.
	
Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/Makefile.am: Made the gtkmarshal.* generation
	rules maintainer-only.

Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h 
	  gtk/Makefile.am gtk/makenums.pl 

	Removed out the G_ENUM/FLAGS mechanism in favor
	of a perl script that parses the standard headers
	(with occasional /*< nick=foo >*/ style overrides)
	and extracts the enumerations.

	  gtk/maketypes.awk: Small improvments to the
	  translation of names. (Avoid splitting gc into
	  g_c_.)
	
Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtk.h gtk/gtkfontsel.[ch]: 
	Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
	
Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkentry.c:
	- Restored gtk_entry_adjust_scroll to static 
	- Changed text positioning code so that we always
	  display as large a portion of the text as possible.

Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c (gtk_text_finalize): Free internal
	structures of text widget. Also, unreference pixmaps
	when unrealizing.
	
Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkinputcommon.h (gdk_input_device_new): Change
	3.3.1 bug workaround to number keys starting at 1.

Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>

	* docs/gtk_tut.sgml: Fixed urls for complete example
	source for scribble+widget-writing examples.

Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkpixmap.c (gdk_pixmap_extract_color): 
	Patch from Tom Bech <tomb@ii.uib.no>, to handle color
	specs of the form c #abcdef [ more keys ] properly.

Sat Jun 13 10:51:56 1998  Stefan Jeske  <stefan@gtk.org>

	* gtkspinbutton.h gtkspinbutton.c testgtk.c 
	(gtk_spin_button_set_shadow_type):
	New API to set the shadow type of the arrow panel.

Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
	code for drawing the child in two places at once. Unfortunately,
	not only does it not work anymore (because reparenting has
	been fixed), but it also triggers reparent/expose loops
	in some cases.

	* gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
	an unecessary unrealize.

Fri Jun 12 21:18:56 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkwindow.c (gdk_window_reparent): Update the
	  old and new parents' child window lists properly.

Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkpacker.h:
	* gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
 	and GtkSideType, to be consistent with the rest of Gtk's enum
 	definitions. wrapped the enum definitions with the G_ eunm wrappers.
	spelled out the GTK_ANCHOR_* enum values, since single letters don't
	work out corectly as nick-names (left the old values as aliases).
	some signdness corrections (border-width, spacing), could stand more.

Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: 
	  Added gtkpacker

	* examples/packer/pack.c, examples/packer/Makefile: Added
	  gtkpacker example

Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c (remove_cache_line): Fixed broken
	list-removal code.

	* gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
	Check bounds before deleting.

Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>

	* autogen.sh: Support ACLOCAL_FLAGS

Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk-config.in: Added missing quotes.

Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP

1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>

	* acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
	G_COMPILED_WITH_DEBUGGING.

	* configure.in (fd_set): Explain check better.

	* acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
        the version from which gtk+'s libtool forked.  Needed for people
        who use post-1.2 alphas of libtool.

Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>

	* glib/* Moved to glib module

	* INSTALL Makefile.am acconfig.h autogen.sh configure.in
	  gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am

	  configuration changes for the above:
	 
	  - Use AM_PATH_GLIB by default to find glib; also accept
	    a --with-glib option for using an uninstalled glib.
	 
	  - Put --enable-debug information into config.h so
	    that we rebuild when it changes. (was in glibconfig.h)

Wed Jun 10 22:23:27 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (draw_row): adapted clist pixmap clipping

	* gtk/gtknotebook.h (struct _GtkNotebookClass):
	* gtk/gtknotebook.c (gtk_real_notebook_switch_page): 
	added missing argument (according to Joseph Coleman's bug report)

	* gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
	function to fix notebook focus handling
	
Wed Jun 10 12:57:03 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
          glib/gutils.c glib/testglib.c glib/gdataset.c
          gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
          gtk/gtktext.c gtk/gtkbindings.c:

	 renamed g_const_pointer => gconstpointer

Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
	invoked with (NULL, NULL); (this worked sometime ago).

	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c: enum and flags type creation can now be done
	through gtk_type_register_enum() and gtk_type_register_flags(),
	which allow to specify the enum value arrays directly.
	the NULL terminated value arrays can be retrived through
	gtk_type_enum_get_values() and gtk_type_flags_get_values();
	(gtk_type_children_types): new function to query derived types.

1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>

	* gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
	environment to genmarshal.pl.
	(gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
	rule), and removed it where not needed (in the dependencies).

	* gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.

Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkobject.c: Removed g_object_pointer_hash, which
	was just g_direct_hash.

Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in: x_libs=, not $x_libs=. Enough said.
          (Case only hit for --disable-xshm)
	
Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
	  when testing for X libraries, don't replace them. Because
	  the user might have specified the path to the X libraries
	  themself before running configure.

	* examples/**.c: Changed all gpointer * to gpointer
	
1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
	fleur_cursor field.  Now the cursor is created/destroyed on demand
	by the routines that need it.

	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): 
	(gtk_handle_box_motion): The fleur cursor is created and destroyed
	only when needed.

Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
	gtk_enum_set_values to gtk_type_enum_get_values and
 	gtk_type_enum_set_values respectively, since they are actually type
 	system features.

	* gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
	my last commit. ;)

Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkselection.h: 
	* gtk/gtkselection.c: new functions gtk_selection_data_copy and
	gtk_selection_data_free.

	* gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
	for "selection_received", which was completely bogus.
	* other fixups to gtk_signal_new() calls all over the place.

	* gtk/gtktypebuiltins.h: types as variables (formerly macros).
	* gtk/gtktypebuiltins_vars.c: type variable implementations.
	* gtk/gtktypebuiltins_ids.c: array entries for builtin type
 	declarations.
	* gtk/gtktypebuiltins_evals.c: enum value arrays.
	* gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
	gtk.defs.
	* gtk/gtk.defs: generated file with scheme syntax for type definitions
	of gtk and gdk structures and enums.
	* gtk/gtktypeutils.h: 
	* gtk/gtktypeutils.c: reworked type ids, so they are variables not
 	macros anymore (this fixes binary incompatibility with new enum
 	definitions).

	* gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
	key bindings for this widget.
	* gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
 	handler.

	* gtk/gtkobject.h:
	* gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
	again. new functions gtk_object_class_user_signal_new () and
	gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
 	flag on the signal creation.

Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.

Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>

	* gdk/gdkprivate.h: 
	* gdk/gdktypes.h: 
	* gtk/gtkprivate.h: 
	* gtk/gtkwidget.h: 
	* gtk/gtkobject.h: wrapped enum definitions with glib macros.

	* reworked enum value array generation code. gtk.defs is a generated
	file now.

Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
	check menu items in the compatibility code (this required me to remove
	the "<check>" part from the menu item name, grrr).

1998-06-07  Marius Vollmer  <mvo@zagadka.ping.de>

	* gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
	* gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
	
Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.h: 
	* gtk/gtkitemfactory.c: further additions to fit the gimp's code.
	additions to the dumping code to feature GtkPatternSpec.
	even found a bug to fix in the original code ;)
	
Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkitemfactory.c: support different types of callbacks, to
	maintain existing code.

Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.

	* gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
	this should eventually be done by gentypeinfo.el somewhen.
	* gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.

	* gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
	enum values of an enum type.

	* gtk/gtk.defs:
	* gtk/gtkcurve.h: 
	* gtk/gtkobject.h: 
	* gtk/gtkprivate.h: 
	* gtk/gtkwidget.h:
	* gtk/gtkenums.h: 
	brought enum/flags definitions in sync, added a few more enum
 	definitions for bindings and pattern matching.

	* some more macro and GtkType fixups in various places.

	* gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
	as a key-release modifier for the binding system.

Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
	was a stale list pointer that is already present in GtkMenuShell.

	* gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
	GtkMenuShell::selection_done which is emitted after the menu shell
 	poped down again and all possible menu items have been activated.

Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
	before activation of the menuitem, so the menu is actually taken off the
	screen prior to any menu item activation.

	* gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
	for NULL nodes.

	* gtk/gtkwidget.h:
	* gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
	the emission of the "add-accelerator" signal on a widget. this is
	usefull to prevent accelerator installation on certain widgets.

	* gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
	labels left justified, by setting their alignment. stop accelerator
	installation for the menu items, since we use dynamic menus.

Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
	should *really* use GtkItemFactory. this is only for preserving source
	compatibility where possible, use of GtkMenuFactory is deprecated as of
 	now.

	* gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
	to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
	missed this possibility when i added gtk_object_class_add_user_signal
	in late january.

	* gtk/gtkmain.c (gtk_init): ignore subsequent function calls.

Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelgroup.h: 
	* gtk/gtkaccelgroup.c: new implementation of the accelerator concept.

	* gtk/gtkaccellabel.h: 
	* gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
	display of the accelerators associated with a certain widget.

	* gtk/gtkitemfactory.h: 
	* gtk/gtkitemfactory.c: new widget, item factory with automatic rc
 	parsing and accelerator handling.

	* gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
	positioning a menu.
	(gtk_menu_map): removed the allocation code.
	(gtk_menu_size_allocate): care for redrawing of children and resize
	our widget->window correctly.
	(gtk_menu_key_press): feature the new accelerator groups.

	* gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
 	submenu if neccessary.

	* gtk/gtkmenuitem.c:
	* gtk/gtkcheckmenuitem.c:
	* gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
 	function variants.

	* gdk/gdk.c:
 	(gdk_keyval_from_name): 
	(gdk_keyval_name): new functions for keyval<->key-name associations.
	(gdk_keyval_to_upper): 
	(gdk_keyval_to_lower): 
	(gdk_keyval_is_upper): 
	(gdk_keyval_is_lower): new functions to check/translate keyvalues with
 	regards to their cases.

Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
	widget's class path.
	(gtk_widget_path): new function to calculate a widget's name path.

	* gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
	pattern matching, features reversed pattern matches.

Thu Jun  4 12:12:11 BST 1998  Tony Gale  <gale@gtk.org>

	* examples/extract.sh, examples/extract.awk:
	  New files to automagically extract code examples from the
	  tutorial.

Tue Jun  2 20:04:45 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
	* gtk/gtkcontainer.c (gtk_container_focus_move):
	reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER

Tue Jun  2 13:04:06 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml: minor changes to support auto
	  extraction of example code

Mon Jun  1 12:47:56 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut_it.sgml: Update of Italian Tutorial
	  to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>

Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>

	* docs/gtk_tut.sgml:
	  - new section on Events
	  - change all delete_event callbacks to include
	    a GdkEvent parameter
	  - clean up the formatting

	* examples - helloworld.c, helloworld2.c, notebook.c,
	  packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
	  rulers.c, table.c, wheelbarrow.c: change all delete_event
	   callbacks to include a GdkEvent parameter.

1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
	field of crossing events.
	(struct _GdkEventCrossing): Added the following fields: time, x,
	y, x_root, y_root, mode, focus, state.

	* gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
	crossing event structure.

	* gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
	changes to the crossing event structure.

Tue May 26 15:51:28 1998  Radek Doulik  <gis@academy.cas.cz>

	* gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)

Sun May 24 12:11:38 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
           - GtkTooltips, update to current API
           - change all 'gpointer *data' to 'gpointer data'
           - other minor changes

Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in (LDFLAGS): Bomb out with a moderately
	  helpful message if detection of X libraries fails.

Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>

  [ Combination of:
     gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
     gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]

	* gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
	  gtk/gtksignal.c gtk/gtktext.c: 

	  Fixups for warnings from adding const to type of GHashFunc,
	  GCompareFunc
	
	* gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
	  ansi-warnings fixups.

Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkeventbox.c (gtk_event_box_size_allocate): 
        Locate child at (border_width,border_width), not
	(2*border_width,2*border_width). [ The border is _outside_
	widget->window ]
	
	* gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
	  functions. [From: Alexander Larsson <alla@lysator.liu.se> ]

1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
	used in gnome-libs

1998-05-22    <sopwith@redhat.com>

	* gtk/gtkeventbox.c: Pass size_allocate on to the child
	regardless of whether it is visible or not. Also
        locate child at (border_width,border_width), not (0,0)

Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkhandlebox.c: Added style_set handler.

Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
 [ From: Chris Lahey  <clahey@umich.edu> ]
	
	* gtk/gtkeditable.c, gtk/gtkeditable.h,
	  gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
	  and set_position functions to get and set the cursor position.

        * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
	  signal status. Make GtkText do user-controlled insertion
	  and deletion through the Editable widget so that these
	  signals are properly emitted.

	* gtk/gtkentry.c: Changed gtk_entry_set_visibility to 
	  display asterisks instead of empty space when visible = FALSE)

Fri May 22 08:51:10 CEST 1998  Paolo Molaro <lupus@debian.org>

	* gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
	signal.

1998-05-21    <sopwith@redhat.com>

	* gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
	custom routine for loading images specified in gtkrc's.

Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in: Use pthread_attr_init() as a test function,
	since most of the rest of -lpthread is macros on DU4.

Tue, 19 May 1998 09:03:03 +0200  Paolo Molaro <lupus@debian.org>

	* gtk/gtkcombo.c: implemented completion in the entry.

1998-05-18    <sopwith@moebuis.labs.redhat.com>

	* gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals

Mon May 18 04:01:41 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
        "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
        to be of runtype GTK_RUN_LAST.

        * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
        "need-resize".

        * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
        "widget-selected".

Sat May 16 09:04:32 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
	text retrived from GtkEntry. only intercept the Tab key if there
	was some text to complete.

Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>

	Basic thread-awareness:

	* acconfig.h configure.in: New option --with-threads=[yes/posix/no]

	* gdk/Makefile.am gdk/gdkthreads.c: Added new functions 
	gdk_threads_[init/enter/leave] for applications, plus
	gdk_threads_wake to wake the mainloop thread out of
	the select().

	* gtk/Makefile.am: gtk/testthreads.c: Test program for threads

Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/testgtk.c (list_clear): Account for the fact
	that gtk_list_clear_items is not inclusive. (Clears
	[start, end))

Fri May 15 12:31:27 1998  rodo  <doulik@karlin.mff.cuni.cz>

	* gdk/gdk.c: include gdkkeysyms.h always
	

Fri May 15 09:44:10 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
	the visibility_notify_event method and changed method order.

1998-05-14    <sopwith@moebuis.labs.redhat.com>

	* gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget

Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
	from Olli Helenius <ollhel@batman.jytol.fi>.

	* gtk/gtktypeutils.c (gtk_type_free): new function to take care about
	freeing types.
	(gtk_type_set_chunk_alloc): new function to allow allocation of new
 	types from a mem_chunk of certain size (n_chunks==0 indicates allocation
	thorugh g_malloc).

	* gtk/gtkobject.c (gtk_object_finalize): free an object through
 	gtk_type_free().

	* gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
	GtkButtons to 16.
	* gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
	* gtk/gtklabel.c (gtk_label_get_type): likewise (32).

Wed May 13 00:53:52 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more 
	  GPOINTER_TO_UINT fixes.

	* gtk/gtksignal.c: Include <string.h> for memset.

Tue May 12 23:10:53 1998  Owen Taylor  <otaylor@gtk.org>
	(Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)

	* gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h: 
	Cleanups, comments and the ability to have rulers with 
	a reversed direction.

Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
	that Sopwith missed when changing stat => lstat.

Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
	  gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
	GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.

	* gdk/gdk.c: Print sizeof() results
	as g_print("%ld", (glong)sizeof(foo)), to deal with
	sizeof() being long on Alpha's.

	* gtk/testgtk.c: include <string.h> for strlen

Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
	(James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
	
	* gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
	Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>

	* gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass

Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
	(From: Christopher James Lahey <clahey@umich.edu>)
	
	* gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
	  gtk/testgtk.c:

	Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
	(old style), or GTK_RELIEF_NONE - no relief in the NORMAL
	state. Added gtk_toolbar_{set,get}_button_relief, which set/get
	the default relief for the toolbars buttons. Added an
	toggle for the toolbar test in testgtk.c.

Tue May 12 00:24:59 1998  Owen Taylor  <otaylor@gtk.org>

	* docs/gtk-config.1: Rewritten and hopefully improved.

Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>

	* docs/Makefile.am
	* docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield

1998-05-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkpreview.c (gtk_preview_realize): Create the window using
	GtkPreview's visual and colormap, otherwise things can BadMatch.

	* gtk/testgtk.c (create_color_preview): 
	(create_gray_preview): Removed pushing/popping of visual/colormap
	now that GtkPreview does things correctly.

	* gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): 
	(gtk_color_selection_draw_wheel): Pick the style from the correct
	place (the colorsel->wheel_area widget) so that the GCs will match
	with where we are going to paint to.

	* gtk/testgtk.c (create_color_selection): Removed pushing/popping
	of visual/colormap now that GtkColorSelection does things the
	right way.

Mon May 11 21:04:51 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
	previously unused window->need_resize flag to mark if a window's
	descendents changed size while the window was not visible. In this
	case, when the window becomes visible, we reallocate everything,
	since we didn't keep track of what actually changed.

	(Fixes bug where changing the popdown strings of a
	combo to something of the same length caused them to
	blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)

Tue May 12 02:31:57 1998  Tim Janik  <timj@gtk.org>

	[security audit by Alan Cox]

	* gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
	exceed maximum assumed size.

	* gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
	not exceed maximum assumed size.
	(gtk_menu_factory_remove): likewise.
	(gtk_menu_factory_find_recurse): likewise.

Mon May 11 23:53:38 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
	GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
	redrawn if that is still neccessary. don't allow queueing of already
	destructed objects.
	(gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
	widgets which are in the queue can be destroyed safely, handle
	requeueing properly.
	(gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
	widgets which are in the queue can be destroyed/unrealized safely.

Mon May 11 17:54:44 BST 1998 Tony Gale	<gale@gtk.org>

	* gtkfaq.sgml: add question on multi-threading,
	  minor URL cleanups.

Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>

	* configure.in (cflags_set): preserve automake CFLAGS.

	* Makefile.am: fully rename the created libraries to libgtk-1.1.la
	and libgdk-1.1.la. this means we need to change certain portions of
	the Makefile.am on major/minor version bumps.

	* ltmain.sh: the -release option is not required anymore.
	
	* gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
	of the first argument to be of type GtkObject. unconditionally compile
	this function. removed __GNUC__ dependancy of the gtk_object_ref and
	gtk_object_unref macro wrappers for this function.

Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.h:
	* gtk/gtkobject.c:
	(gtk_object_data_try_key):
	(gtk_object_data_force_id): these are now macros substituting the old
	functions. we just use the corresponding g_dataset_* functions for
	key->id associations. (this is to assure unique key<->id associations).

1998-05-10  Stefan Jeske  <stefan@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
	to gboolean.

	* docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.

Sat May	 9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in (LIBS): Try to figure out if this
	is Digital Unix and we need -std1 to get the
	right prototypes.

Sat May	 9 16:30:33 BST 1998 Tony Gale	<gale@gtk.org>

	* docs/gtk_tut_it.sgml: update of Italian tutorial
	  translation from Daniele Canazza <dcanazz@tin.it>

Sat May	 9 02:34:41 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkfeatures.h.in: new file used as template for
	* gtk/gtkfeatures.h: new file to define macros indicating newly
	introduced features, such as GTK_HAVE_SIGNAL_INIT.

	* gtk/gtksignal.c:
	(gtk_signal_emitv_by_name):
	(gtk_signal_emitv):
	new functions to emit signals with an already provided parameter set.
	(provided by Kenneth Albanowski <kjahds@kjahds.com>).
	(gtk_signal_real_emit): prototype changes, so this functions always
	gets its parameters and signal structure as arguments.
	(gtk_signal_emit): provide the signal structure and parameter list for
	gtk_signal_real_emit.
	(gtk_signal_emit_by_name): likewise.

Sat May	 9 00:03:12 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
	signal connections through unsetting GTK_CONNECTED.
	(gtk_signal_handler_insert): reflect the presence of signal connections
	through setting GTK_CONNECTED.
	(gtk_signal_real_emit): only check for handler emissions if the object
	has the GTK_CONNECTED flag set.
	(gtk_signal_handler_pending): don't check for pending handlers if the
	GTK_CONNECTED flag is not set for this object.

	* gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
	a GtkObject has signal handler connections.

	* gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
	set for this object call gtk_signal_handlers_destroy().
	
	* gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
	multiple processing of macro args.

	* gtk/gtktypeutils.c:
	* gtk/gtkobject.c:
	* gtk/gtkwidget.c:
	* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.

Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
	draw-queue when we are done. 

	(gtk_widget_queue_draw/_queu_resize): Always return
	FALSE and avoid having two idles at the same time.
	
Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c: Various fixes to make sure cache
	lines are freed if line_start_cache doesn't point to the
	beginning of the cache.

Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>

	* style_set improvements for GtkText and GtkEntry

Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
	been initialized.

Thu May  7 12:52:45 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
	data chunks through a global object data structure list. unlink
	object data before invoking its destroy function.
	(gtk_object_finalize): slight modification to allow usage of object
	data during object finalization.

Thu May  7 10:29:24 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
	signal names, e.g. "signal-name" is now an alias for "signal_name".
	(gtk_signal_handler_new): allocate handlers through a global handler
	structure list, that's faster than memchunks.
	(gtk_emission_new): allocate emissions through a global emission
	structure list, that's faster than memchunks.

Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>

	* gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.

	* ltmain.sh: added a new commandline flag -postfix similar to -release,
 	but will immediately change the library name.

	* gdk/Makefile.am:
	* gtk/Makefile.am: specify -postfix and -version-info

	* configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
	GTK_BINARY_AGE. calculate LT_* variables for libtool.

1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
	background (fg_set -> bg_set confusion).

1998-05-06  Stefan Jeske  <stefan@gtk.org>

	* gtk/testgtk.c (unselect_all): Removed code that caused an
	endless loop.

Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c: reimplemented the signal storage system to use a
	linear array rather than a hash table.
 	be carefull *not* to keep any GtkSignal pointers across invokations
 	of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
	general code cleanups, made all allocations through memchunks.
	(gtk_signal_lookup): we now do the lookup of signals through a key_id
	for the signal names to avoid multiple hashing of the signal name on
	lookups for the several hirarchy levels of an object.

Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
	to speed things up and remove code duplication.

	Reintegrated buffer overflow patches, and added
	some extra paranoia.
	
Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdk.c (gdk_event_translate): A guint * was
	being passed where X expected a Keysym *, and
	keysyms are long's on Alpha Linux. This was causing
	segfaults in Xlib, apparently because of alignment.
	(Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
	
Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
	set GDK_EXPOSURE_MASK for DrawingAreas

Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
	(superceded by RC file reparsing capabilities)

	* gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
	events. (Shouldn't be sent to the InputOnly leader, which
	it is now by gdk_event_send_clientmessage_toall

	* gtk/testgtk.c: Added extra button to rcfiles test
	to send out _GDK_READ_RCFILES events.
	
Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkselection.c (gtk_selection_clear): Fixed
	reversed conditionals that caused segfault on some
	platforms.

Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
	cast to GTK_OBJECT for gtk_object_ref.

Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
	checking for signal initialization in gtksignal.c.

	* gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
	a long debugging period ;)

1998-05-05  Stefan Jeske  <stefan@gtk.org>

	* gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
	New function to wrap XSetDashes; modified gtkctree.c to use it.

1998-05-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* configure.in: Added $x_libs in the other_libraries field in the
	check for XShapeCombineMask.

Mon May  4 00:30:11 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
 	gtk_type_is_a().
 	* gtk/gtktypeutils.c: reimplemented the type storage system to use a
	linear array rather than a hash table. it actually speeded up testgtk
	for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
 	pointers across invokations of gtk_type_node_next_and_invalidate() and
 	therefore gtk_type_unique()!

	* gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
	inheritance of a class pointer.
	(GTK_OBJECT): modifications for speedups.
	(GTK_IS_OBJECT): likewise.
	(GTK_OBJECT_CLASS): likewise.
	(suggested by owen).

	* gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.

	* gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.

	* gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
	since its derivation changed 4 month ago ;(. showed up with the unique
	type name checking code in gtk_type_unique().

	* random guint->GtkType and macro fixups.

Sat May  2 23:14:34 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
	Configure events that would result in a negative
	size.

Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>

	* docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
	"glibconfig.h" and another about writing another IRC
	client.

Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
	parameters to log are doubles. Digital Unix apparently
	is missing the argument in its prototype.

Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtklabel.c (gtk_label_state_changed): Don't
	force a clear until the widget is actually on
	screen.

Sun May  3 21:32:35 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
	to make this consistent with the gtk-1-0 tree.

Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in acheader.h gdk/gdkwindow.c 
	Check for Shape extension both on the client and server
	side. (And, more importantly, check for the shape extension
	so we may include -lXext even when compiling with --disable-xshm)

	Don't set override_redirect on all shaped windows. It isn't
	necessary.

	* gdk/gdkwindow.c: Set ->colormap to NULL for root 
	and foreign windows. Use this to check if we
	need to get the colormap from X.

Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkbutton.c (gtk_button_paint): Draw the areas
	between the default and the button always in GTK_STATE_NORMAL.

	* gtk/gtkrange.c (gtk_range_style_set): Added a style_set
	callback.

Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
	  Fix a buffer overflow on pixmaps that claim to have
	  more than 31 characters per pixel.

	  (gdk_pixmap_read_string): Don't wrap around strings longer
 	  than half of address space ;-)

	* gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
	that were used for printing integers.

	* */* (almost):

	Style: All 
	  int foo () { ... }
	changed to
	  int foo (void) { ... }

	Even where there were proper prototypes elsewhere.

	* gdk/gxid.c (handle_claim_device): Some extra checks.
	It isn't safe against being fed bad X id's, but at
	least it should be safe against deleting all your
	files.

Sun May  3 19:45:09 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
	to set the adjustments value when there is no current emission.
	[ Removed by mutual agreement owt 5/3/1998 ]

	* gtk/gtksignal.c: added new functions to retrive the number of
	existing emissions for a certain signal.
 	(gtk_signal_n_emissions): new function.
	(gtk_signal_n_emissions_by_name): new function.

Sun May  3 16:55:43 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
	set the current focus_child of a container, does proper referencing and
	adjusts the vadjustment/hadjustment associated with the focus widget.

	* gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
	containers via gtk_container_set_focus_child.

	* gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
 	where appropriate.

	* gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
 	child since not every child removal goes through this function (this
	showed up after gtk_container_set_focus_child() started to reference the
 	focus_child of a container).

	* gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
	of a container from gtk_container_remove into this place.

Sat May  2 22:33:45 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtksignal.c: added new functions to operate on intermediate
 	function pointers. implemented incremental blocking.
	(gtk_signal_disconnect_by_func): new function.
	(gtk_signal_handler_block_by_func): new function.
	(gtk_signal_handler_unblock_by_func): new function

Fri May  1 22:45:55 1998  Owen Taylor  <otaylor@gtk.org>

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
        Always show the scrollbars when the policy is
        GTK_POLICY_ALWAYS...

Sat May  2 20:19:03 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
 	"value_changed" if we really passed a new value.
	(gtk_adjustment_changed): new function to emit the "changed" signal.
	(gtk_adjustment_set_value): new function to emit the "value_changed"
	signal.

Fri May  1 12:28:35 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkcombo.c: Further changes to the way the window
	is popped up so that it will be compatible with 
	auto-scrolling in the future.

Fri May  1 20:25:29 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
	the combo-list is empty since that will cause the combo to operate
	on a non existing GtkList window.
	(gtk_combo_get_pos): provide the combo list with a usfull default
 	height if empty.
	(gtk_combo_popup_button_press): grab the focus.
	(gtk_combo_activate): grab the focus.

Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
	function to reset the RC styles for a heirarchy

        Clear the window background if necessary in
	gtk_window_style_set.

	* gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
	rereads all previously read RC files.

	* gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
	(Should it just be called gdk_get_toplevels?)

	* gtk/testgtk.c: New test to reload RC files.

Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkclist.h:
	* gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
 	clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
	GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
	the GTK_ prefix (this solution involved less changes in the
 	gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
	the mem_chunk==NULL test in gtk_clist_construct. merged in changes
	from lars & stefan to support the derivation of GtkCtree.

	* gtkctree.h:
	* gtkctree.c:
	initial import of a tree widget derived from gtkclist, courtesy
	of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
	it just damn rocks!

Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
	for us.
	(gtk_list_insert_items):
	(gtk_list_remove_items_internal): 
	(gtk_list_clear_items): 
 	remove a possible pointer grab, we might get thrown into a loop
	otherwise.
	(gtk_list_button_press): grab the pointer *before* selecting the child,
	because selection of items may cause the lists children to change,
 	resulting in a grab release.
	(gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
	children.
	(gtk_list_shutdown): remove all children from the list.
	(gtk_real_list_unselect_child): 
	(gtk_real_list_select_child): *always* put our internal structures into
 	sane state *before* signal emisions (i.e. list->selection updates prior
 	to gtk_list_item_[de]select() calls).

	* gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
	focused child walks out of the window.
	removed CAN_FOCUS for the combo arrow's button since it doesn't react
	to keyboard events ("clicked" connection is missing).

Fri May  1 00:42:25 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
	getting colormap for FOREIGN windows to go along with
	Raster's fix for visuals.

Merges from gtk-1-0
===================
	
Thu Apr 30 23:32:51 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
	Check to catch the case when the viewport fits in either
 	direction or both, instead of flip-flopping infinitely.

	Only show/hide the scrollbars once at the end.

Thu Apr 30 21:56:07 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): 
	Include the scrollbars in the foreach call.
	(gtk-fortier-980405-0.patch; 
 	 Patrice Fortier <Patrice.Fortier@aquarel.fr>). 

	The notebook widget
	really should also include its tabs, but that might cause
	problems for programs if they

Thu Apr 30 21:51:52 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
	resize if the size actually changed. 
	(gtk-johannes-980414-0.patch ;	
	 johannes@nada.kth.se (Johannes Keukelaar) )

Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>

	* glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
	  ltmain.sh ltconfig config.sub config.guess:

	Reverted back to libtool-1.2 (plus minor patches) so as not to
	force the issue for everyone else.

Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>

	* glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
	Updated to libtool 1.2a.

	* gtk/gtkclist.c: Draw the in-between lines with style->base
	instead of style->white.
	
Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: 
	Cache the colormap and children of a window locally
	instead of fetching them from the server when needed.
	Huge performance difference for creating/destroying
	windows.

	* gtk/gtkstyle.c: Find the depth from the cached
	visual, instead of asking the server.

	* gtk.m4: Distribute the new version which tries to
	figure out what went wrong and give helpful error
	messages.

	* ltmain.sh ltconfig config.sub config.sh: 
	Updated to libtool 1.2a

	* gtk/gtktext.c: Fixed a bug where the drawn level
	was being messed up when the text was scrolled
	during a deletion.
	
Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>

	* gtk/gtkfilesel.c: don't die when naughty people remove parts of
	the filesystem under you (fix from Josh)

Thu Apr 30 09:49:14 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
	if the viewport already exists before iterating over it, maybe we
	haven't been constructed yet.

Thu Apr 30 01:51:00 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
	the GtkBin widget already has a child.

	* gtk/gtkbox.c (gtk_box_pack_{start|end}):
 	check that child->parent == NULL;

Tue Apr 28 22:13:54 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkselection.c (gtk_selection_clear): Only return
	FALSE when the clear event is been rejected, not when
	widget has already lost the selection. (Which should
	only happen when we are setting the selection to another
	widget ourself.)
	
Fri Apr 24 19:07:32 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:

	Removed the "check visibility after gtk_widget_unparent" bug 
	in hopefully the last three places.

Tue Apr 28 15:46:41 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
	rc-files.

Mon Apr 27 15:11:52 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
	for CAN_FOCUS widgets.

	* gtk/testgtk.c (create_scrolled_windows): feature h/v focus
	adjustments for the table.
	(create_list): feature automatic adjustment of the scrolled window to
	always contain the focused child.
	(create_main_window): keep the focussed button always inside of the
	scrolled windoww.

	* gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
	adjustments, to contain the allocation of the currently focused child.
	(gtk_container_set_focus_hadjustment): new functin to set the
 	horizontal focus adjustment.
	(gtk_container_set_focus_vadjustment): new functin to set the vertical
 	focus adjustment.

	* gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
 	clamp the currents adjustment page into a specific range.

	* random GtkType fixups for gtk_*_get_type() functions.

Fri Apr 24 18:37:16 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): 
	Account for the fact that gtk_tree_item_remove_subtree
	will be called recursively. 

	Handle removing a collapsed subtree.

	(From Andy Dustman <adustman@comstar.net>)
	
	* gtk/gtktree.c (gtk_tree_remove_items): Look for the
	root tree when removing items from a non-previously
	mapped tree.

	* gtk/testgtk.c: Added a remove_subtree button.
	
Thu Apr 23 23:44:17 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
	before object removing data. This change fixes a bug where 
	removing the last weak references would cause it to be 
	triggered.

Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>

	* gdk/Makefile.am: Removed mostly useless dependency that
	was causing problems for SGI's make, when used with
	the 'make dist' form of GTK+. (Dependency caused dependencies
        to be redone when BUILT_SOURCES changed)

Thu Apr 30 11:18:00 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkcombo.[ch]: Allow the user to use the popup list
	like a menu.
	
	* gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
	to gtkitem.c so dragging can also work in lists.

	* gtk/gtklist.[ch]: Track child enter events and use
	those to allow dragging the selection. 

Thu Apr 30 11:16:06 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c: Try enabling background pixmaps for editable text
	widgets.  There is a bit of flashing, but not too bad. If you
	don't want the flashing, you can always not set a background
	pixmap.

Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtktext.c: Fixed a bug where the drawn level
	was being messed up when the text was scrolled
	during a deletion.
	
1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
	bug:  There is no need to set the ExposureMask in the XGrabPointer
	(this caused DnD programs to crash).

Fri Apr 24 01:29:04 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
	field to be of type guint.
	* gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
	ref_count>0;
	(gtk_accelerator_table_install): keep a per object list of accelerator
	tables that refer to this object.
	(gtk_accelerator_table_remove): remove the accelerator table from the
	per object list.
	(gtk_accelerator_table_clean): warn if there are any object references
 	left in an accelerator table upon destruction.
	(gtk_accelerator_tables_delete): new function to delete object
	references from the accelerator tables associated with this object.

	* gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
	GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
	of an accelerator can be prevented by gtk_signal_emit_stop().
	(gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
	so there are no stale pointers in accelerator tables left.

1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
	visible before we unparent it.

Wed Apr 22 04:15:26 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
 	running_timeouts list with the tmp_list link itself, not with a new
	GList structure pointing to our link. that would fill up memory and
	causes the GList.data fields of the running_timeouts list to point to
	GList structures and not GtkTimeoutFunction structures which is a
 	*really* bad thing.
	(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
	the above entry ;).

Sat Apr 18 22:18:12 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtkradiomenuitem.h: 
	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
	ala gtk_radio_button_set_group.
	(gtk_radio_menu_item_init): assure that we always have at least a group
	that points to self.

	* gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
 	added g_return_if_fail() statements.
	(gtk_radio_button_init): assure that we always have at least a group
	that points to self.

Fri Apr 17 03:05:05 1998  Tim Janik  <timj@gtk.org>

	* ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.

Wed Apr 15 05:13:09 1998  Tim Janik  <timj@gtk.org>

	* gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
	(Damon Chaplin), which i got wrong when applying Damon's patch the last
 	time.

Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>

        * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
        that when we are running with a non-installed colormap,
        in 8-bit pseudo-color, we actually are using the system
        visual. (Fixes *Bad Match* errors on Digital Unix machines
        with multiple 8-bit pseudo-color visuals)

1998-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
	by whoever thought that randomly changing ints to unsigned int
	without reviewing the code was a good idea.  It is, btw not
	mentioned in the ChangeLog as usual, but I know it was not Elliot
	the culprit this time. 

Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>

	* Released GTK+ 1.0.0