summaryrefslogtreecommitdiff
path: root/lib/libX11/ChangeLog
blob: dec14a1bfd4d3227f52d4e6b80058886b60ba8bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
commit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1
Author: Matt Turner <mattst88@gmail.com>
Date:   Sun Apr 3 10:15:30 2022 -0700

    libX11 1.7.5
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e
Author: Simon McVittie <smcv@debian.org>
Date:   Sun Apr 3 14:23:36 2022 +0100

    Don't try to destroy NULL condition variables
    
    This avoids a segfault during error-unwinding if an invalid display name
    is passed to XOpenDisplay().
    
    Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()"
    Resolves: #155
    Signed-off-by: Simon McVittie <smcv@debian.org>

commit 80b30d12519ac54fc5b2b05500521d9c8269be9c
Author: Matt Turner <mattst88@gmail.com>
Date:   Wed Mar 30 13:54:13 2022 -0700

    libX11 1.7.4
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 8a368d808fec166b5fb3dfe6312aab22c7ee20af
Author: Hodong <hodong@yozmos.com>
Date:   Thu Jan 20 00:57:41 2022 +0900

    Fix two memory leaks in _XFreeX11XCBStructure()
    
    Even when XCloseDisplay() was called, some memory was leaked.
    
    XCloseDisplay() calls _XFreeDisplayStructure(), which calls
    _XFreeX11XCBStructure().
    
    However, _XFreeX11XCBStructure() did not destroy the condition variables,
    resulting in the leaking of some 40 bytes.
    
    Signed-off-by: Hodong <hodong@yozmos.com>

commit da97120f2322882a17f14e5d7da00c1e772679e8
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Mar 22 14:32:49 2022 -0400

    xcb: Clarify the XInitThreads error message
    
    XInitThreads has been called if _Xglobal_lock != NULL, we may as well
    check that before printing a misleading error message.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 257927c51b08242aa5bf239346717fc817b2b286
Author: Giovanni Mascellani <gmascellani@codeweavers.com>
Date:   Fri Feb 4 10:49:25 2022 +0100

    xcb_io: Allow jumps backwards when widening the request number.
    
    Request numbers are not always seen in the numeric order by widen(),
    for example due to Mesa directly calling _XError(). When this happens,
    widen() adds 2^32 to the reported widened number, triggering failed
    assertions and bad behavior.
    
    With this commit, wrapping of the lower dword is detected in a more
    robust way, by requiring that a skip of at least 2^31 is seen.
    
    This fixes issue #152.
    
    Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>

commit 918063298cb893bee98040c9dca45ccdb2864773
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu Mar 3 12:00:45 2022 +0100

    nls: add a compose sequence for the peace symbol
    
    As the thing in the circle looks a bit like an upside-down Y,
    use <O> <Y> as the sequence, similar to <O> <A> for anarchism.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Feb 25 12:45:06 2022 +0100

    nls: remove obsolete locale aliases with uppercase in the language code
    
    (These aliases may have been useful on some systems twenty years ago,
    but nowadays all should have settled on lowercase language code plus
    uppercase country code.)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Feb 25 12:35:28 2022 +0100

    nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit cfddb79981f23650feb0f9a0f4442c9cad584b33
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Feb 25 12:12:05 2022 +0100

    nls: remove the mistaken eo_EO names -- EO is not a valid country code
    
    (Debian has had several of these lines commented out for years.)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit eb5885245a1ba6955d058a03e31894c23b9f5490
Author: iyzana <iyzana@protonmail.com>
Date:   Mon Feb 21 13:20:23 2022 +0100

    nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8
    
    There is no matching locale in the locale.dir and compose.dir files for
    the locale eo.UTF-8. Setting it as the locale resulted in compose files
    not being loaded.
    
    Signed-off-by: iyzana <iyzana@protonmail.com>

commit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu Feb 3 17:19:05 2022 +0100

    nls: group the compose sequences for tilde, degree, and cedilla together
    
    Also, correct the comment for the double quote character ("), and move
    the soft hyphen and the interrobangs to a special punctuation group.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit c0191f020f94907770937bc8ae67ea8acd7d63be
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu Feb 3 16:33:05 2022 +0100

    nls: use shape-based compose sequences for hammer-and-sickle instead
    
    Using a misspelled abbreviation (CCCP) of an obsolete country's name
    to compose a fairly general communist symbol does not seem right.
    
        https://en.wikipedia.org/wiki/Hammer_and_sickle
    
    Many compose sequences instead combine characters that together look
    similar to the target character.  Do the same here: question mark (?)
    plus backslash (\) look a bit like ☭ .
    
    In the bargain, this fixes issue #63.
    
    Reported-by: Marc Mezzarobba
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Feb 20 11:49:42 2022 -0800

    gitlab CI: enable Static Application Security Testing (SAST)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 336e8f72559b489396c5cd503c4586ef800c2a8f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Feb 20 15:06:02 2022 +0100

    nls: add compose sequences for leftward, upward and downward double arrow
    
    These sequences follow the logic of: the arrow shaft (=) first, the
    arrow head (< or > or ^ or v) second.  This is so because the sequence
    <= is already taken for ≤, and there is no obvious ASCII character for
    a double vertical line, so we have to make do with a horizontal one.
    
    Since commit 6101b967b6 from eight years ago, there is a compose sequence
    for the rightward double arrow, but not for the other three directions.
    
    This fixes issue #138.
    
    Requested-by: Mélanie Chauvel
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon Feb 14 11:33:25 2022 +0100

    imDefLkup: verify that a pointer isn't NULL before using it
    
    It is possible for _XimICOfXICID() to return NULL, so it is necessary
    to check this isn't actually the case before dereferencing the pointer.
    All other callers of _XimICOfXICID() do this check too.
    
    (The check itself is ugly, but it follows the style of the code in the
    rest of the module.)
    
    Fixes issue #45.
    
    Reported-by: Bhavi Dhingra
    
    Original-patch-by: Bhavi Dhingra
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit b83938f7f97aa6210b00835002e6e7d614b2374a
Author: Christopher Chavez <chrischavez@gmx.us>
Date:   Mon Feb 14 01:00:45 2022 +0000

    Xlib.h: fix spelling in comment
    
    Signed-off-by: Christopher Chavez <chrischavez@gmx.us>

commit 4791055682552b4cc8e775479700fb06980d0b59
Author: Christopher Chavez <chrischavez@gmx.us>
Date:   Sun Feb 13 05:26:14 2022 +0000

    Xlib.h: spelling fix in comment

commit 9304e645bdcdd3a71ff449a1157c4815e6304d7a
Author: Denis Drakhnia <numas13@gmail.com>
Date:   Wed Feb 2 11:54:43 2022 +0200

    nls: Add ru_UA.utf8 locale alias.
    
    Signed-off-by: Denis Drakhnia <numas13@gmail.com>

commit 9ef2551f0c201f9163b66d17189a98076b5be07a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Feb 2 16:50:35 2022 +0100

    nls: do some manual adjustment of whitespace in the compose sequences
    
    This achieves a more consistent vertical alignment (per group) of the
    target character and the trailing comments.
    
    (Most blocks were aligned in some fashion, except the "Greek Extended"
    block, which has lines of greatly varying lengths.)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 0dad289ead6eb3412027c9365192441cc539d747
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Feb 2 14:08:22 2022 +0100

    nls: among the compose sequences, replace all runs of spaces with tabs
    
    It was done with this script:
    
        cat nls/en_US.UTF-8/Compose.pre |
        sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' |
        sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' |
        sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' |
        sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' |
        sed 's!\(: ".*"\)\s*!\1\t!' |
        sed 's!\(\s*# \)! # !' > trimmed &&
        mv  trimmed  nls/en_US.UTF-8/Compose.pre
    
    This saves 37 kilobytes of whitespace.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit fc79e39c236501357e1fdbe8964882864eeef5d3
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Feb 2 14:06:29 2022 +0100

    docs: add missing word, wrap line, fix typo, and trim an excess space
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 93446455c46dfc019984ab822ffa662cf6e2949c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu Jan 27 15:01:18 2022 +0100

    KeyBind: reshuffle two ifs into the general order of ascending codes
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 93f15f5f29378ec4cc1dd011b155104e9a52b058
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu Jan 27 14:27:41 2022 +0100

    KeyBind: slightly speed up some case conversions by adding missing returns
    
    This avoids pointlessly tumbling through several more ifs when the
    conversion has aleady been done.
    
    Also remove two redundant conditions (as lower codes have already
    been handled) and fold two other conditions together.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 317c7abbcc848011393d1336b9d020af8cabb000
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu Jan 27 13:54:29 2022 +0100

    KeyBind: update the Greek case-conversion tables to Unicode Data 14.0
    
    A few symbols, like Heta and Sampi and dotted lunate Sigma, have been
    assigned code points since Unicode Data 4.0, and need their entries.
    
    This fixes issue #132.
    
    Reported-by: Ray Vine
    
    Original-patch-by: Ray Vine
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 402b843fa72166d9ceefd887f5cea4728cbc6995
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 26 17:20:28 2022 +0100

    remove a commented-out code fragment, and remove a stray blank line
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit fbbc3cf8b8b03f74f778772d4703fc4fec242282
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 26 16:55:50 2022 +0100

    XKBCvt: remove an if that never gets triggered
    
    The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols
    from the numeric keypad and some control symbols to pass -- XK_hyphen
    is not among them, so the check for XK_hyphen in the later 'if' will
    always be false.
    
    (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was
    removed in March 1994.)
    
    (Also, several keyboard layouts nowadays contain the 'hyphen' symbol,
    allowing the user to enter soft hyphens into a document.  So we really
    don't want to remap this symbol.)
    
    Fixes issue #48.
    
    Reported-by: Bhavi Dhingra
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 6786744f636b3fc545157a13cb2f6169b5be9fa5
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Jan 23 17:12:03 2022 +0100

    nls: add the es_CU locale name, for Cuba
    
    It was added to glibc ten years ago.
    
    This fixes issue #57.
    
    Reported-by: Dominique Michel
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit d241d8af7f24e95949c2cf7ce791e35df7665e98
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Jan 23 16:44:03 2022 +0100

    nls: remove some obsolete Norwegian and Yugoslavian locale names
    
    They have not existed in glibc for more than fifteen years.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 32dd7c03e92e01015744867b9b3148c250cc159a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat Jan 22 17:56:32 2022 +0100

    nls: put some entries in their alphabetical order, and adjust alignment
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 46a066f25103bb909259baea25de8dd5c4a2b338
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat Jan 22 18:00:20 2022 +0100

    nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment
    
    The typo was only partially fixed in commit 22a5255b80 sixteen years ago,
    and the internet shows that there was at least one user frustrated that
    bg_BG.utf8 didn't work but bg_BG.UTF-8 did.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 19 15:32:15 2022 +0100

    nls: remove the compose sequences with the deviant KP_Space symbol
    
    Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make
    sense.  It looks like a mistake, or as if someone had a broken keyboard
    and used KP_Space as a substitute for 2.
    
    Also, no keyboard layout in the last fifteen years has contained the
    KP_Space symbol, so I don't see how anyone could type it.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit b76e661ca223489da9027b0ab1ca1586efd0a280
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 19 13:49:56 2022 +0100

    nls: move the block of Jamo to its logical place (ascending Unicodes)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 19 13:40:56 2022 +0100

    nls: delete some ineffective compose sequences (that were commented out)
    
    They have never worked; there is no point in keeping them in the file.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 6cc31eafa8095d2117ff1906d7c14c1c01173248
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 19 12:18:21 2022 +0100

    nls: group some compose sequences better, and add some comments
    
    Also, align a few trailing comments more consistently, and change
    some comments so they will be excluded from the installed file --
    there is no need for those comments there.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit d60ede7843612f3c2967f83d629bf8272ba09ff1
Author: ArenaL5 <arenal5@protonmail.com>
Date:   Thu Jan 13 01:13:56 2022 +0100

    nls: add a compose sequence for the copyleft symbol
    
    Probably not used anywhere yet, let alone seriously, as stated in
    https://en.wikipedia.org/wiki/Copyleft#Symbol
    
    Signed-off-by: ArenaL5 <arenal5@protonmail.com>

commit df4dcdf9125c595f6df3a302356647cb8df38553
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon Jan 17 17:31:08 2022 +0100

    nls: remove redundant compose sequences with deprecated Hebrew symbols
    
    The compose sequences with the valid Hebrew key symbols are right there.
    
    Also, no keyboard layout in the past seventeen years has contained these
    deprecated symbols on any key.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 4268472bd11a07a799716fb5833ea46cad3dd479
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Jan 16 17:51:29 2022 +0100

    nls: remove redundant compose sequences with the deprecated 'underbar'
    
    The key symbol 'underbar' is equivalent to 'underscore' -- the mirror
    compose sequences with the latter symbol continue to exist.
    
    Also, no keyboard layout in the past fifteen years has contained the
    symbol 'underbar' on any key -- except a Telugu layout since a few
    years, but that will be corrected soon.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 86e9749ef37189486c205ee7f77e43fed655ac70
Author: ArenaL5 <arenal5@protonmail.com>
Date:   Sat Jan 15 16:20:56 2022 +0100

    nls: add a compose sequence for the middle dot (·) using dead_circumflex
    
    This makes the middle dot compose sequences consistent with others that
    begin with <dead_circumflex> and <Multi_key> <asciicircum>, e.g.
    superscripted 3 (³)
    
    Signed-off-by: ArenaL5 <arenal5@protonmail.com>

commit 1adb531cd5be2b6489c2a8106e850e7418fae056
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Jan 14 13:06:10 2022 +0100

    docs: unwrap the comments of structure elements in the man pages
    
    It doesn't matter that these lines get wider than 80 columns, as it's
    easy enough to make the pager scroll a bit to the right, or to have a
    terminal that is a 100 or more columns wide.  It looks better to not
    hard-wrap these comments.
    
    Also, fix the layout of two table elements.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit da330a1644f10f9669c8dd9ee06489c40f9f0bd1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Jan 14 12:33:23 2022 +0100

    docs: unwrap some mistakenly wrapped lines, and correct a comment
    
    The wrapped lines messed up the table.  Also, add some blank lines
    to make the table more readable.
    
    Elsewhere, add spaces around an operator (for consistency),
    and correct a copy-paste error.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit b9e0346abebb0c9e5c80c780bba4372419e63bde
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Jan 14 15:57:56 2022 +0100

    XKBMAlloc: use the correct first-key variable when extending a key range
    
    When extending the range of changed virtual-modifier keys, one should
    pass the two variables relevant to that range.
    
    These two mistakes were found by grepping for 'modmap_key' and then
    looking for asymmetries between the handling of the plain modmap thing
    and the virtual modmap thing.  Inspired by issue #76.
    
    (I suspect these mistakes were at the base of some intractable bugs
    reported against xkeyboard-config where virtual modifiers refused
    to work and had to be worked around by making other changes too.)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Jan 12 11:34:23 2022 +0100

    lcUTF8: remove two unneeded ifs and two elses that are never reached
    
    When there is a break at the end of the while loop, it means that the
    loop will finish the first time that _XlcGetCharSetWithSide() returns
    a non-NULL result, which means that the first '(last_charset == NULL)'
    will always be true and the else part is redundant.
    
    Fixes issue #46.
    
    Reported-by: Bhavi Dhingra
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 033f37d507801645a8251fd33c25ebd145d22cce
Author: Antti Savolainen <antti.savo@gmail.com>
Date:   Wed Jan 12 16:10:21 2022 +0000

    nls: add two compose sequences for an upwards arrow using dead_circumflex
    
    Signed-off-by: Antti Savolainen <antti.savo@gmail.com>

commit b7d724df615311c35418afc733e1fcc68c740aba
Author: Hodong <hodong@nimfsoft.com>
Date:   Fri Jan 7 10:41:15 2022 +0000

    specs/XIM: fix a missing "EXT" in the documentation
    
    There was an "EXT" in the original text, but it seems to be missing.
    
    See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693
    
    Signed-off-by: Hodong Kim <hodong@nimfsoft.com>

commit 4c96f3567a8d045ee57b886fddc9618b71282530
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 9 19:51:52 2021 -0800

    libX11 1.7.3.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c1710589bb00d6f442a383fc41f0d6496b436c88
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Dec 7 08:29:43 2021 -0800

    specs/XIM: Fix "encording" typos
    
    Fixes: #145
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e30771b4bbdd84fc7ff64a1cda483a46edb5707b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 6 17:04:14 2021 -0800

    libX11 1.7.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb
Author: Liang Chang <l-chang@users.sourceforge.net>
Date:   Tue Sep 7 18:54:10 2021 +0800

    Make Xutf8DrawString works correctly with ISO10646 fonts.
    
    Signed-off-by: Liang Chang <l-chang@users.sourceforge.net>

commit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 2 17:48:55 2021 -0800

    Build xz tarballs instead of bzip2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e
Author: Tatu Frisk <tatu.frisk@ge.com>
Date:   Tue Mar 14 14:41:27 2017 +0200

    Fix hanging issue in _XReply
    
    Assume event queue is empty if another thread is blocking waiting for event.
    
    If one thread was blocking waiting for an event and another thread sent a
    reply to the X server, both threads got blocked until an event was
    received.
    
    Signed-off-by: Tatu Frisk <tatu.frisk@ge.com>
    Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>

commit 8382253010267b93c9aeffc769e3f5e43d698094
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Mon Aug 30 21:47:09 2021 +0200

    Avoid NULL pointer deref. Fixes issue #47.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit 58d7b540c453601faf942c6f19f8277a5c5f78cc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Dec 1 14:31:16 2021 +1000

    gitlab CI: update to use the ci-fairy image
    
    Let's use the pre-prepared image instead of building our own.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 150154c994829f9f3734a560f99f70b21d86b49c
Author: Hodong <hodong@nimfsoft.com>
Date:   Sun Nov 14 06:36:42 2021 +0000

    Fix a typo

commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e
Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Date:   Sun Sep 5 10:25:38 2021 +0300

    libX11: do not crash in GetResReq() macro
    
    When _XGetRequest() detects that requested length exceeds remaining display
    output buffer capacity it would return NULL. GetResReq() macro obtains "req"
    pointer from a call to _XGetRequest() and then proceeds to assign request id
    through "req" pointer which leads to NULL pointer dereference in this case.
    
    Fix this by checking if "req" is valid before assigning request id.
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>

commit e92efc63acd7b377faa9e534f4bf52aaa86be2a9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jul 27 11:46:19 2021 +1000

    makekeys: handle the new _EVDEVK xorgproto symbols
    
    These keys are all defined through a macro in the form:
       #define XF86XK_BrightnessAuto                _EVDEVK(0x0F4)
    
    The _EVDEVK macro is simply an offset of 0x10081000.
    Let's parse these lines correctly so those keysyms end up in our
    hashtables.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit d01d23374107f6fc55511f02559cf75be7bdf448
Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Date:   Wed Jun 16 12:17:04 2021 +0100

    Avoid undefined behaviour after realloc()
    
    Adding the offset between the realloc result and the old allocation to
    update pointers into the new allocation is undefined behaviour: the
    old pointers are no longer valid after realloc() according to the C
    standard. While this works on almost all architectures and compilers,
    it causes  problems on architectures that track pointer bounds (e.g.
    CHERI or Arm's Morello): the value_list pointers will still have the
    bounds of the previous allocation and therefore any dereference will
    result in a run-time trap.
    
    I found this due to a crash (dereferencing an invalid capability) while
    trying to run `xev` over SSH on a CHERI-RISC-V system. With these two
    realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41
    I am able to succesfully run `xev` compiled for CHERI-RISC-V.
    
    Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>

commit 1c845834a32421abb59408aee259ac0bef054d30
Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Date:   Tue Jun 15 08:46:53 2021 +0100

    Fix cross-compilation from macOS
    
    We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible
    with the expressions in nls/ (`sed: RE error: illegal byte sequence`).
    To fix this use $(SED) instead which autotools will set to a GNU
    version of sed (usually /usr/local/bin/gsed) on macOS.
    
    Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>

commit 401f58f8ba258d4e7ce56a8f756595b72e544c15
Author: Lev Korol <epicatsupercell@gmail.com>
Date:   Sun Apr 11 21:57:45 2021 +0300

    nls: Add en_IL locale
    
    Signed-off-by: Lev Korol <epicatsupercell@gmail.com>

commit f906fe8e9769e4313294b68e61c402610ade69da
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jun 5 09:12:13 2021 -0700

    libX11 1.7.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Sun May 23 15:05:17 2021 +0200

    Protect against overly long strings
    
    Checking against upper limit of USHRT_MAX must happen before truncating
    size_t to int. On 64 bit systems with strings larger than 2 GB this
    could otherwise lead to negative ints or ints smaller than USHRT_MAX.
    
    In XParseColor this could lead to out of boundary access with strings
    starting with a # (color sequence). A modulo 12 operation is performed
    to validate the string length, but with an overflown length, the for
    loop would eventually read behind terminating '\0' character.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>

commit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Sun May 30 16:33:48 2021 +0200

    Check for NULL strings before getting their lengths
    
    Problem reported by Karsten Trulsen
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit a8216e8653a246db664e1443ecf707b27de65067
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Sat May 22 17:35:47 2021 +0200

    include <limits.h> always, not if HAVE_CONFIG_H is set.
    
    via Matthew Green from the NetBSD project
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit 6953a586df4819143c4d55e011b3a5e5377981b8
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Tue May 18 15:27:58 2021 +0200

    Version 1.7.1
    
    Release notes in README.md, version bump in configure.ac

commit 8d2e02ae650f00c4a53deb625211a0527126c605
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Fri Feb 19 15:30:39 2021 +0100

    Reject string longer than USHRT_MAX before sending them on the wire
    
    The X protocol uses CARD16 values to represent the length so
    this would overflow.
    
    CVE-2021-31535
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit 838ea5a5a0267c25b20c095c9a70684edeeefba4
Author: Gaurav Ujjwal <gujjwal00@gmail.com>
Date:   Sun May 9 05:04:36 2021 +0000

    Fix out-of-bound access in KeySymToUcs4()
    
    Array `keysym_to_unicode_590_5fe` is only valid for range  [0x590, 0x5fe] but current lower-bound is checked against 0x589.
    
    So invalid values from 0x58a to 0x58f are being allowed by current check.
    
    If any of these invalid value is passed as `keysym`,    `keysym - 0x590` would underflow.
    
    Signed-off-by: Gaurav Ujjwal <gujjwal00@gmail.com>

commit 32491b02c76ac22f99dc433a32466e22bdc181a7
Author: Christopher Chavez <chrischavez@gmx.us>
Date:   Mon May 3 15:46:44 2021 +0000

    Xlib.h: spelling fix in comment

commit 5faa8dc0b364f55f19034c370436074646d9ad54
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue Nov 24 18:54:24 2020 +0100

    nls: adjust three comments about the APL compose sequences
    
    Commit 0bbc0d5e605e (from eight years ago) removed the lines that two
    of these comments referred to.  Without those lines, the comments don't
    make sense any more.  Reword and shorten them.
    
    Also reword a comment about two sequences that don't work.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit b126bfd7fe990b8c1df088f55c31d9b3fd440cde
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue Nov 24 12:23:32 2020 +0100

    nls: allow composing all breved letters also with a lowercase "u"
    
    The letters ă and ŭ can already be composed with "u a" and "u u", but
    ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U.  Emancipate
    the latter four and understand also a lowercase "u" to mean 'breve'.
    
    (Yesterday I needed ğ and was annoyed that "u g" did not work.)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 78027fdb7aa07621a3b7cdf37050bae39012f2fb
Author: Walter Harms <wharms@bfs.de>
Date:   Sat Nov 28 21:05:33 2020 +0100

    fix same roff code
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7
Author: Walter Harms <wharms@bfs.de>
Date:   Sat Nov 28 20:56:35 2020 +0100

    Fix some roff code add see also
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit daa106927f78e6c5c9c36558a4b951d7cb58a8d1
Author: Walter Harms <wharms@bfs.de>
Date:   Sat Nov 28 17:49:25 2020 +0100

    fix broken nroff coding for code comments
    
    the comments /* */ are code as /\(**  */ that does not work.
    the coding in other X11 man pages is /\&* */ so we do the same here.

commit 7bdeae239b17db002964ac73d06f43f216d1cf86
Author: Walter Harms <wharms@bfs.de>
Date:   Fri Nov 27 22:43:21 2020 +0100

    FIX: warning: macro `hN' not defined
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit b7ec67d3ea78ab68857328d8f72d923324e68cc2
Author: Walter Harms <wharms@bfs.de>
Date:   Fri Nov 27 22:26:15 2020 +0100

    FIX: warning: macro `IN' not defined
    
    just remove an other dead macro use.

commit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df
Author: Walter Harms <wharms@bfs.de>
Date:   Fri Nov 27 21:58:04 2020 +0100

    fix warning: macro `s' not defined
    
    this is caused by bad nroff coding, fix some more issues on the fly

commit 14fb4e535626ba934cad5bc4308f511524cd1103
Author: Walter Harms <wharms@bfs.de>
Date:   Fri Nov 27 20:04:22 2020 +0100

    FIX: warning: macro `hN' not defined
    
    this was found by checking man pages with
     groff -t -mandoc -Z  -wmac -Tutf8 $FILE >/dev/null
    
    In most cases .hN could be replaced with .BR
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit cb03da4447aa53e8e5382f124917d89b50148036
Author: Walter Harms <wharms@bfs.de>
Date:   Fri Nov 27 19:00:00 2020 +0100

    FIX: warning: macro `Pn' not defined
    
    The missing macro is found via:
    roff -t -mandoc -Z  -wmac -Tutf8 XAnyEvent.man >/dev/null
    
    To fix the problem the macro is replaced with .RB.
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed Nov 25 16:58:27 2020 +0100

    nls: add 'C.utf8' as an alias for 'en_US.UTF-8'
    
    The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild.
    
    Fixes #102.
    
    Reported-by: Tomas Korbar
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit ca8115186f810eccb7d86b0979980eff3ba95f0b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 19 11:30:41 2020 -0800

    Version 1.7.0
    
    Release notes in README.md, version bump in configure.ac
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 325ac177fb6d38f4c7689d9ce059792eaef388ef
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 16 15:48:40 2020 -0800

    Update libX11 .so version to 6.4.0
    
    There have been API additions since the previous release, so the
    .so version needs to change.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 31 09:24:01 2020 -0700

    Don't leave dangling pointers in Free functions
    
    While these are mostly called during teardown of larger structures
    that are about to themselves be freed, there's no guarantee that
    will always be the case, so try to be safer here.
    
    [ This bug was found by the Parfait 4.0 bug checking tool.
      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
    
    v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies
        as suggested by @keithp
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7d70e302218e2ec8518548ddcdc02d828e7889af
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 31 08:56:34 2020 -0700

    XimProto.h: wrap XIM_HEADER_SIZE definition in parens
    
    Resolves parfait warning of potential macro misinterpretation if
    expanded in the midst of other arithmetic operations with higher
    precedence.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 17 13:15:18 2020 -0800

    Copy locale modifiers when creating XimInstCallback [v2]
    
    Locale modifiers may be freed whenever XSetLocaleModifiers gets
    called, even if the locale hasn't changed. This means that we cannot
    save a pointer to those modifiers in the XimInstCallback record and
    must, instead, make a copy of them instead.
    
    This fixes a problem uncovered when running wish under libasan as
    follows (on current Debian unstable):
    
            $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish
    
    Reported-by: Vittorio Zecca <zeccav@gmail.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    v2:
            Remove incorrect 'else' token found by @alanc

commit 960e2e0cfac12c3477c672d0d40818a0dc74aca5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Nov 16 09:34:57 2020 +1000

    gitlab CI: add a basic build test
    
    Using Arch as base distribution here because we can expect our dependencies to
    be up-to-date. We rely on the Arch for our dependencies rather than building
    those from git (notably: xorg-macros, xtrans and libxcb).
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit dbb55e1a5e82870466b095097d9e46046680ec25
Author: Frediano Ziglio <fziglio@redhat.com>
Date:   Wed Jan 29 09:06:54 2020 +0000

    Fix poll_for_response race condition
    
    In poll_for_response is it possible that event replies are skipped
    and a more up to date message reply is returned.
    This will cause next poll_for_event call to fail aborting the program.
    
    This was proved using some slow ssh tunnel or using some program
    to slow down server replies (I used a combination of xtrace and strace).
    
    How the race happens:
    - program enters into poll_for_response;
    - poll_for_event is called but the server didn't still send the reply;
    - pending_requests is not NULL because we send a request (see call
      to  append_pending_request in _XSend);
    - xcb_poll_for_reply64 is called from poll_for_response;
    - xcb_poll_for_reply64 will read from server, at this point
      server reply with an event (say sequence N) and the reply to our
      last request (say sequence N+1);
    - xcb_poll_for_reply64 returns the reply for the request we asked;
    - last_request_read is set to N+1 sequence in poll_for_response;
    - poll_for_response returns the response to the request;
    - poll_for_event is called (for instance from another poll_for_response);
    - event with sequence N is retrieved;
    - the N sequence is widen, however, as the "new" number computed from
      last_request_read is less than N the number is widened to N + 2^32
      (assuming last_request_read is still contained in 32 bit);
    - poll_for_event enters the nested if statement as req is NULL;
    - we compare the widen N (which now does not fit into 32 bit) with
      request (which fits into 32 bit) hitting the throw_thread_fail_assert.
    
    To avoid the race condition and to avoid the sequence to go back
    I check again for new events after getting the response and
    return this last event if present saving the reply to return it
    later.
    
    To test the race and the fix it's helpful to add a delay (I used a
    "usleep(5000)") before calling xcb_poll_for_reply64.
    
    Original patch written by Frediano Ziglio, see
    https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34
    
    Reworked primarily for readability by Peter Hutterer, see
    https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 7 22:22:47 2020 -0800

    Avoid recursing through _XError due to sequence adjustment
    
    This patch is based on research done by Dmitry Osipenko to uncover the
    cause of a large class of Xlib lockups.
    
    _XError must unlock and re-lock the display around the call to the
    user error handler function. When re-locking the display, two
    functions are called to ensure that the display is ready to generate a request:
    
        _XIDHandler(dpy);
        _XSeqSyncFunction(dpy);
    
    The first ensures that there is at least one XID available to use
    (possibly calling _xcb_generate_id to do so). The second makes sure a
    reply is received at least every 65535 requests to keep sequence
    numbers in sync (possibly generating a GetInputFocus request and
    synchronously awaiting the reply).
    
    If the second of these does generate a GetInputFocus request and wait
    for the reply, then a pending error will cause recursion into _XError,
    which deadlocks the display.
    
    One seemingly easy fix is to have _XError avoid those calls by
    invoking InternalLockDisplay instead of LockDisplay. That function
    does everything that LockDisplay does *except* call those final two
    functions which may end up receiving an error.
    
    However, that doesn't protect the system from applications which call
    some legal Xlib function from within their error handler. Any Xlib
    function which cannot generate protocol or wait for events is valid,
    including many which invoke LockDisplay.
    
    What we need to do is make LockDisplay skip these two function calls
    precisely when it is called from within the _XError context for the
    same display.
    
    This patch accomplishes this by creating a list of threads in the
    display which are in _XError, and then having LockDisplay check the
    current thread against those list elements.
    
    Inspired-by: Dmitry Osipenko <digetx@gmail.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Tested-by: Dmitry Osipenko <digetx@gmail.com>
    Reviewed-by: Dmitry Osipenko <digetx@gmail.com>

commit c9c4d6efbf92ab51695e2e740319503221d68eed
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Nov 13 11:34:04 2020 +0100

    nls: improve the comments for the Serbian compose sequences
    
    Also put an extra space before the lone combining characters
    so they have some room to breathe.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 3497dae3d9c52a252110b2a0983b82000be0fe8e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Nov 13 11:23:09 2020 +0100

    nls: remove mistaken Serbian compose sequences with combining diacritics
    
    Combining characters are not dead keys -- they have an immediate effect
    and combine with the preceding character.  So they cannot be used in
    compose sequences.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 5cd60398b7787297008b13a848ed3cfbd7ef178d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon Nov 2 16:34:39 2020 +0100

    nls: rename the obsolete sr_CS locale to sr_RS
    
    Fixes #107, for the most part.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 7cf1729590534e257b851899cf03421b65c538e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 7 17:02:56 2020 -0800

    Don't attempt to unload locale context data
    
    Most locale context users call _XlcCurrentLC, which returns a pointer
    which never needs to be passed to _XCloseLC, meaning it has unbounded
    lifetime, so that locale data can never be freed.
    
    Remove all reference counting and just leave all locales that were
    ever used in memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Acked-by: Martin Peres <martin.peres@mupuf.org>

commit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d
Author: Jacek Caban <jacek@codeweavers.com>
Date:   Mon Aug 14 19:20:19 2017 +0200

    Don't cache last lcd in _XlcCurrentLC.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088
    
    The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway.
    
    Signed-off-by: Jacek Caban <jacek@codeweavers.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Acked-by: Martin Peres <martin.peres@mupuf.org>

commit 7a38c09b82ee2522d987c3da4af8af186e562c61
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 7 16:59:37 2020 -0800

    Don't cache converters in _Xlcmbtowc and Xlcwctomb
    
    These functions were caching encoding conversion functions in static
    variables which is not thread safe. Let the conversion loader do its
    job and cache locale to converters there. It's less efficient, but
    it's also (now) thread safe.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Acked-by: Martin Peres <martin.peres@mupuf.org>

commit b52ba5c209165fc2c533b77b86147b31763299f3
Author: Jacek Caban <jacek@codeweavers.com>
Date:   Mon Aug 14 19:20:20 2017 +0200

    Make conv_list thread safe.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088
    Signed-off-by: Jacek Caban <jacek@codeweavers.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Acked-by: Martin Peres <martin.peres@mupuf.org>

commit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956
Author: Antti Savolainen <antti.savo@gmail.com>
Date:   Wed Sep 16 07:47:26 2020 +0000

    Added DOWNWARD ARROW support

commit 7138826dccba9d538dfb142ce9af1a40d64ea849
Author: Antti Savolainen <antti.savo@gmail.com>
Date:   Tue Sep 8 00:54:23 2020 +0300

    Added support for UPWARDS ARROW and ALMOST EQUAL TO
    
    Signed-off-by: Antti Savolainen <antti.savo@gmail.com>

commit 56d59299f7433cdeb88bac970b06eb7df44df5bb
Author: Jonathan Belsewir <jonbel@jonasund.de>
Date:   Thu Nov 5 22:57:50 2020 +0000

    Add less and greater to characters that are difficult to access on some keyboards

commit 5caf45f8d3bebad5b72ac88545adc156ccfd754d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri Oct 23 17:12:22 2020 +0200

    nls: Allow all letters with a caron to be composed also with v.
    
    It was strange that the accented letters Ž and ž can be composed with
    sequences that start with "v" ("v Z" and "v z"), but not Č and č and
    Š and š (and other letters with a caron).  For these letters, compose
    sequences that start with a "c" had to be used, which was frustrating
    because it is hard to remember that "c" stands for "caron", AND the
    graphically more obvious "v" is right next to it.
    
    (Unfortunately, the sequence "v l" is already taken for vertical line.
    Maybe the compose sequences for vertical line could be reduced to just
    "V L" and "L V"?)
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 62de4ac9025e2cb3f62a890241c06ebc75acce62
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Nov 1 20:23:55 2020 +0100

    nls: vertically align the target column of aliases
    
    Also improve the grammar of the initial comment.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit f5b26a16ef959fc6860e9cf58b97a042600900b4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Nov 1 20:17:05 2020 +0100

    nls: remove some twenty aliases that have been obsolete for fifteen years
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 3e61f3b49660e081108f06bc514366f1784cb2e0
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Nov 1 19:50:56 2020 +0100

    nls: remove country-specific aliases for two constructed languages
    
    These artificial languages are meant to be international and are
    thus not specific to any country.  If one would want to support
    aliases like ia_FR or ia_CH, then one would also have to support
    ia_AU, ia_DE, ia_ES, et cetera, et cetera.  That would be silly.
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun Nov 1 17:28:24 2020 +0100

    nls: remove four aliases where the name is identical to the definition
    
    They were found with:
    
        while read one two; do
            if [[ $one == $two: ]]; then echo $two; fi;
        done  <nls/locale.alias.pre
    
    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>

commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7
Author: Carlos Garnacho <carlosg@gnome.org>
Date:   Fri Jun 14 17:55:14 2019 +0200

    Add XSetIOErrorExitHandler() function
    
    This function complements XSetIOErrorHandler(), allowing to override
    the default behavior that trusts on I/O errors never coming back
    (i.e. exit()ing the process).
    
    This is meant as a mechanism for Wayland compositors (that are too
    a X11 client + compositing manager) to unfasten seatbelts and jump
    through the car window. It might get lucky and land on a stack of
    pillows.
    
    In consequence, some functions labeled as _X_NORETURN can as a
    matter of fact return. So those hints were removed.
    
    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
    Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>

commit 4cb758019e374fa7c022fe79d28444e13441717b
Author: Carlos Garnacho <carlosg@gnome.org>
Date:   Fri Jun 14 17:54:47 2019 +0200

    Prepare for _XIOError() possibly returning
    
    Ensure current state is cut short on _XIOError(), possible reentrancy
    should be skipped through the XlibDisplayIOError flag checks.
    
    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
    Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>

commit a37986f7a7d4ae9b8292b132dbb0da2885ea919c
Author: Ross Burton <ross.burton@intel.com>
Date:   Wed Jan 22 17:11:23 2020 +0000

    cpprules.in: squash whitespace in generated files
    
    CPP is used to generate files, but as cpp reads files from the build host the
    output has a number of blank lines at the beginning which varies depending on
    what GCC and friends is used.
    
    Pathalogical example:
    
     $ cpp -undef -traditional /dev/null
     # 1 "/dev/null"
     # 1 "<built-in>"
     # 1 "<command-line>"
     # 31 "<command-line>"
     # 1 "/usr/include/stdc-predef.h" 1 3 4
    
     # 17 "/usr/include/stdc-predef.h" 3 4
    
     [ 40 blank line ]
    
     # 32 "<command-line>" 2
     # 1 "/dev/null"
    
    So depending on the content of stdc-predef.h and what other headers CPP will
    load, the amount of whitespace in the generates files varies. This can result in
    differences in reproducible environments, and file conflicts in multilib
    environments.
    
    As whitespace is irrelevant to these machine-readable files, extend the sed to
    just delete blank lines.

commit 16192ce2a7e462e09f95aa45ce9eaa180e483c43
Author: Carmina16 <mistresssilvara@hotmail.com>
Date:   Sun Jun 16 02:54:25 2019 +0000

    Adding ia and ie locales

commit caa71668af7fd3ebdd56353c8f0ab90824773969
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Sep 28 16:16:07 2020 -0700

    Use __builtin_popcountl if available to replace Ones() in GetImage.c
    
    If the compiler knows of a better algorithm for counting the number of
    bits set in a word for the target CPU, let it use that, instead of the
    classic algorithm optimized for PDP-6.
    
    Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1a9269a95c353e3de9f4d33bab9f1363d84e79db
Author: Krzesimir Nowak <qdlacz@gmail.com>
Date:   Mon Jun 1 12:58:30 2020 +0000

    Fix leaking modifiers string.
    
    Reported by valgrind:
    
    ```
    ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675
    ==118175==    at 0x483A809: malloc (vg_replace_malloc.c:307)
    ==118175==    by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0)
    ==118175==    by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0)
    ==118175==    by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324)
    ==118175==    by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455)
    ==118175==    by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532)
    ==118175==    by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206)
    ==118175==    by 0x402634: main (fade.cc:35)
    ```

commit d127217f26df1bf7566c1f372d8b5329a06754ea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 16 17:03:24 2020 -0700

    Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings
    
    Gets rid of:
    src/xkb/XKBBind.c: In function ‘XLookupKeysym’:
    src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated
    [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]
      234 |     return XKeycodeToKeysym(dpy, event->keycode, col);
          |     ^~~~~~
    src/xkb/XKBBind.c:96:1: note: declared here
       96 | XKeycodeToKeysym(Display *dpy,
          | ^~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 16 16:50:43 2020 -0700

    lcUTF8: Increase string buffer size from 20 to 32 bytes
    
    While we don't expect large enough ints to need it, we don't
    enforce a maximum size, so gcc assumes the worst and warns:
    
    ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’:
    ../../../src/xlibi18n/lcUTF8.c:1736:34: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=]
     1736 |  snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
          |                                  ^~~~~~~~~~~~~
    ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20
     1736 |  snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
     1739 |      snprintf(buf, sizeof(buf), "fs%d.charset", i);
          |                                              ^
    ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20
     1739 |      snprintf(buf, sizeof(buf), "fs%d.charset", i);
          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../src/xlibi18n/lcUTF8.c:1754:41: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=]
     1754 |         snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
          |                                         ^~~~~~~~~~~~~
    ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20
     1754 |         snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
     1757 |             snprintf(buf, sizeof(buf), "fs%d.charset", i);
          |                                                     ^
    ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20
     1757 |             snprintf(buf, sizeof(buf), "fs%d.charset", i);
          |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 54925250ad9c825bea671dcade5c913bad88abee
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 16 16:33:59 2020 -0700

    i18n: use memcpy instead of strncpy on unterminated char arrays
    
    Avoids gcc warnings that we're using strncpy wrong to copy a known-length
    set of characters without a terminating '\0' to a buffer whose length we
    are checking separately.  (Should also be imperceptibly faster since we
    no longer check if each byte is '\0' when we already know it won't be.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8754868dbbbc5fa096282df0504aa7880488eeb9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 16 16:02:01 2020 -0700

    Mark FreeBlueTblElements label unused in LRGB.c
    
    Quiets gcc 10.2 warning of:
    src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’:
    src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined
     but not used
    [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]
      798 | FreeBlueTblElements:
          | ^~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 16 14:54:47 2020 -0700

    Raise minimum required xproto version to 7.0.25 (released 2013-11-23)
    
    Allows us to depend on _X_COLD directly instead of having to check for it.
    
    (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required
     already but not checked for.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit deafb99fd8faf8b044eaee13d072440ce4db76af
Author: Maya Rashish <maya@NetBSD.org>
Date:   Sun Aug 23 21:19:33 2020 +0300

    Avoid the use of "register" keyword in public headers.
    
    This causes issues when compiling code for C++17.

commit 505420662577749e36640db48f6b6b9ae0236e09
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Mon Aug 24 15:42:25 2020 +0200

    libX11 1.6.12
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Thu Aug 13 18:02:58 2020 +0200

    Fix an integer overflow in init_om()
    
    CVE-2020-14363
    
    This can lead to a double free later, as reported by Jayden Rivers.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b
Author: Niclas Zeising <zeising@daemonic.se>
Date:   Tue Aug 11 13:44:38 2020 +0200

    Fix input clients connecting to server
    
    Fix a bug where some input clients can't connect to the input server.
    This fixes #117.
    
    FreeBSD bugzilla reference:
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549
    
    Signed-off-by: Niclas Zeising <zeising@daemonic.se>

commit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c
Author: Maya Rashish <maya@NetBSD.org>
Date:   Sat Aug 15 00:48:56 2020 +0300

    Avoid the use of "register" keyword in XkbTranslateKeySym.
    
    This causes issues when compiling code for C++17.
    While here, make function prototype match the header with regards
    to removal of another register keyword.

commit 780d222343098b4bfe3ec529b4a0dc2aadea19bf
Author: Christopher Chavez <chrischavez@gmx.us>
Date:   Mon Aug 10 17:08:39 2020 +0000

    Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage

commit 29a8251a456bb7dc10146b4713f499a624d6dacd
Author: Felix Yan <felixonmars@archlinux.org>
Date:   Thu Aug 6 16:03:38 2020 +0000

    Correct a typo in GetStCmap.c

commit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Aug 6 08:07:57 2020 -0700

    libX11 1.6.11
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b
Author: Yichao Yu <yyc1992@gmail.com>
Date:   Sun Aug 2 13:43:58 2020 -0400

    Fix size calculation in `_XimAttributeToValue`.
    
    The check here guards the read below.
    For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers`
    these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`.
    (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this
    function and doesn't need to be checked.)
    
    The old code here used the native datatype size instead of the wire protocol size causing
    the check to always fail.
    
    Also fix the size calculation for the header (size). It is 2 x CARD16 for both types
    despite the unused `CARD16` for `XimType_XIMStyles`.
    
    [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles
    
    This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10.
    
    Fix #116

commit 9949364ea761ab7efa2a9930ec7718f966a740c0
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Thu Jul 30 21:36:22 2020 +0200

    libX11 1.6.10
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Fri Jul 24 21:09:10 2020 +0200

    Change the data_len parameter of _XimAttributeToValue() to CARD16
    
    It's coming from a length in the protocol (unsigned) and passed
    to functions that expect unsigned int parameters (_XCopyToArg()
    and memcpy()).
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Todd Carson <toc@daybefore.net>

commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2
Author: Todd Carson <tc@daybefore.net>
Date:   Fri Jul 24 20:59:32 2020 +0200

    Zero out buffers in functions
    
    It looks like uninitialized stack or heap memory can leak
    out via padding bytes.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60
Author: Todd Carson <tc@daybefore.net>
Date:   Fri Jul 24 20:22:44 2020 +0200

    Fix more unchecked lengths
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 388b303c62aa35a245f1704211a023440ad2c488
Author: Todd Carson <tc@daybefore.net>
Date:   Fri Jul 24 19:36:51 2020 +0200

    fix integer overflows in _XimAttributeToValue()
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e
Author: Todd Carson <tc@daybefore.net>
Date:   Fri Jul 24 19:33:30 2020 +0200

    Fix signed length values in _XimGetAttributeID()
    
    The lengths are unsigned according to the specification. Passing
    negative values can lead to data corruption.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 2b7598221d87049d03e9a95fcb541c37c8728184
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 22 15:19:58 2020 -0700

    Fix spelling/wording issues
    
    Found by using:
        codespell --builtin clear,rare,usage,informal,code,names
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f9e3378ebcfc79ff00591b8617a68e97580a741e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jul 19 22:19:24 2020 +0200

    xlibi18n: Fix converting horizline keysyms to UCS
    
    U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is
    unified with scan line 5.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit 4385a84c4a79c1b60bf12839899a1544198de975
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Jun 4 02:19:13 2020 +0200

    Braille: Fix default lookup
    
    cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that
    translates Braille keysym patterns to Braille Unicode patterns since it
    rightfully clears brl_committing, but then we do not have it any more to
    fill brl_committed.
    
    This change saves the committed pattern so we can return it in the
    default lookup.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit fb65b67169105c82c243f265e0f993cf72efdacd
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Fri Feb 28 13:59:36 2020 +0200

    Update Finnish compose sequences for SFS 5966:2019 standard
    
    U0219, U0218, U021B, U021A are now part of the standard.
    
    Fixes #70 which was printed incorrectly in the earlier standard version.

commit 07724ce046348a21cc82a874853b14b9a285df75
Author: Tristan Miller <psychonaut@nothingisreal.com>
Date:   Wed Sep 25 13:34:01 2019 +0200

    Add acute accent compose sequences for Russian vowels.
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104
    
    Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com>

commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Sat Apr 25 14:40:54 2020 -0400

    document an ancient performance problem (see Debian #954845).
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 791c93816ce0520d54925b0b3ccbc29823370041
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Sat Apr 25 14:22:11 2020 -0400

    update/correct function prototypes in manpages to match headers
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 844271305a28e87031562dfeb43defbea02960a2
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Apr 21 20:53:35 2020 -0400

    reduce gcc-normal warnings using casts (no object change)
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Apr 21 18:13:22 2020 -0400

    reduce gcc-normal warnings using casts (no object change)
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 68c72a7341b114277ab232f2499ee3bd035af8a0
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Dec 11 11:53:11 2019 -0500

    Fix XTS regression in XCopyColormapAndFree
    
    XCopyColormapAndFree/5 threw an assertion:
    
        520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A)
        520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap,
        520|4 5 00014017 1 4|then a BadColor error occurs.
        520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap.
        520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument.
        520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs.
        520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received
        220|4 5 2 15:05:53|UNRESOLVED
        410|4 5 1 15:05:53|IC End
        510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV)
    
    More specifically:
    
        lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed.
    
    This bug was introduced (by following my advice, d'oh) in:
    
        commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d
        Author: Tapani Pälli <tapani.palli@intel.com>
        Date:   Mon May 13 08:29:49 2019 +0300
    
            Protect colormap add/removal with display lock
    
    In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the
    display lock. The problem is said routine has side effects, including
    trying to implicitly create a colormap in some cases. Since we don't run
    the XID handler until SyncHandle() we would see inconsistent internal
    xlib state, triggering the above assert.
    
    Fix this by dropping and re-taking the display lock before calling into
    XCMS.
    
    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>

commit 7f46a38139f66fda734f3a6c445b84ea89c8f310
Author: Alex Henrie <alexhenrie24@gmail.com>
Date:   Wed Jan 1 14:54:06 2020 -0700

    Handle small final sigma in XConvertCase
    
    lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2)
    uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3)
    
    This mapping was correct in UCSConvertCase, but the "legacy" mapping
    must also be correct for Caps Lock to work with the final sigma key.
    
    https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5
    
    Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>

commit a48787d3d155c8a09cead345f5055da30c1db537
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Dec 11 14:12:27 2019 +1000

    Handle ssharp in XConvertCase()
    
    lowercase: LATIN SMALL LETTER SHARP S (U+00DF)
    uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E)
    
    The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode
    but was added to the relevant keyboard layouts in xkeyboard-config-2.25
    (d1411e5e95c)
    https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144
    
    Alas, the CapsLock behavior was broken on the finnish layout (maybe others).
    This was due to xkbcomp using XConvertCase() to determine whether a key
    requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC.
    
    Let's make this function return the right lower/upper symbols for the sharp s
    and hope that the world won't get any worse because of it.
    
    https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit b8766a438461e20b5c6f7a6111b703d4cb71501f
Author: Raul Fernandes <rgfernandes@gmail.com>
Date:   Wed Oct 9 18:39:26 2019 +0000

    Use memcmp and memcpy

commit db7cca17ad7807e92a928da9d4c68a00f4836da2
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Oct 9 13:41:29 2019 -0400

    libX11 1.6.9
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit f5ba2c632a4c84279bdd48c687271292f5dc4f87
Author: Dmitry Osipenko <digetx@gmail.com>
Date:   Sat May 18 19:10:32 2019 +0300

    Fix lockup in _XReply() caused by recursive synchronization
    
    This patch is based on a suggestion made by Uli Schlachter in a comment
    to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93.
    
    Explanation of the bug (given by Uli Schlachter as well):
    
    An error was received and handled. Since there was an error callback set,
    Xlib unlocks the display, runs the error callback, and then locks the display
    again. This goes through _XLockDisplay and then calls _XSeqSyncFunction.
    On this "lock the thing"-path, Xlib notices that sequence numbers are close to
    wrap-around and tries to send a GetInputFocus request. However, the earlier
    calls already registered themselves as "we are handling replies/errors, do
    not interfere!" and so the code here waits for "that other thread" to be done
    before it continues. Only that there is no other thread, but it is this thread
    itself and thus a deadlock follows.
    
    The bug is relatively easy to reproduce on any desktop environment by
    using actively a touchscreen input that supports multitouch, i.e. practically
    all mobile devices are affected.
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93
    Suggested-by: Uli Schlachter <psychon@znc.in>
    Tested-by: Dmitry Osipenko <digetx@gmail.com>
    Reported-by: Dmitry Osipenko <digetx@gmail.com>
    Signed-off-by: Dmitry Osipenko <digetx@gmail.com>

commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905
Author: Adam Jackson <ajax@redhat.com>
Date:   Fri Sep 13 16:44:32 2019 -0400

    xkb: Provide <X11/extensions/XKBgeom.h> ourselves
    
    This header refers to libX11 types, it doesn't belong in xorgproto and
    has been moved to legacy in 2019.2. Supply it ourselves.

commit edc7680ed5a03cedb5facf14693823455e12c29c
Author: Ross Burton <ross.burton@intel.com>
Date:   Tue Aug 6 14:53:43 2019 +0100

    src/util/Makefile: explicitly reset LINK to not use libtool
    
    Simply looking at libtool redefines LINK globally to use libtool, which when
    you're trying to cross-compile to Windows can cause complications.
    
    As in src/util/ we're simply building a small binary for the build host, reset
    LINK to the automake default so that the traditional compile/link steps occur
    without libtool.
    
    Also remove -all-static from LDFLAGS as that is a libtool-specific argument
    intended to solve this problem.
    
    Closes: #100
    Signed-off-by: Ross Burton <ross.burton@intel.com>

commit f111bf3ac091a3a6d1f094172621d9d033c3833c
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Jul 30 16:53:27 2019 -0400

    improve some formatting
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Jul 30 15:49:09 2019 -0400

    fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/"
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Jul 30 05:07:40 2019 -0400

    split lines at sentence endings
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Jul 30 04:52:25 2019 -0400

    trim trailing whitespace from manpages
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Jul 30 04:36:24 2019 -0400

    another fake-quote fix
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit c0f0651f2b4dfa9fef86d1374689220125631993
Author: Thomas E. Dickey <dickey@invisible-island.net>
Date:   Tue Jul 30 04:34:54 2019 -0400

    the last commit overlooked some fake-quote pairs
    
    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>

commit ef31143c9decda54b3ab2937d3300fcf5b493fd6
Author: Walter Harms <wharms@bfs.de>
Date:   Mon Jul 29 18:50:19 2019 +0200

    fix ``fake quotes'' in text
    
    to remove the fake quotes replace them with propper
    predefined macros \*(lq and \*(rq. this will allow
    nroff to choose the propper characters when using ps etc.
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5
Author: Walter Harms <wharms@bfs.de>
Date:   Mon Jul 29 18:27:12 2019 +0200

    get rid of ``fake quotes''
    
    these fake quotes are inside a comment and can be replaced with
    some double quotes
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit fe46eb287106ad05538e896783a5cf877a4138df
Author: Walter Harms <wharms@bfs.de>
Date:   Mon Jul 29 17:57:02 2019 +0200

    remove all private macro defines
    
    after converting everything to st. man page macros there is
    no need to maintain X11 private nroff macros, so remove them.
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764
Author: Walter Harms <wharms@bfs.de>
Date:   Mon Jul 29 17:47:35 2019 +0200

    Replace home-grown .Ds .De macro with man page .EX/.EE macro
    
    Same pages use the man page .EX/.EE macro. Replace all occurences
    of .De/.Ds with the std. macros to make the code better to maintain.
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f
Author: Walter Harms <wharms@bfs.de>
Date:   Wed Jul 3 18:23:51 2019 +0200

    fix TBL format
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e
Author: Walter Harms <wharms@bfs.de>
Date:   Wed Jul 3 18:18:09 2019 +0200

    replace home grown .ZN with std, .B and .BR
    
    Replace the home grown macro .ZN with std. macros
    from man macro paket. So we can get rid of the
    definition an get a clean header.
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458
Author: Walter Harms <wharms@bfs.de>
Date:   Sat Jun 22 18:33:48 2019 +0200

    remove in-text macros
    
    remove in-text macros an fix a few typos on the way.
    hopefuly that will make maintenance more easy.
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit cb0e894fe9927b07bd9d97c067fd0d007accb105
Author: Walter Harms <wharms@bfs.de>
Date:   Fri Jun 21 18:01:16 2019 +0200

    note that we can handle kbd==NULL
    
    Signed-off-by: Walter Harms <wharms@bfs.de>

commit 0327c427d62f671eced067c6d9b69f4e216a8cac
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Jun 17 13:36:08 2019 -0400

    makekeys: Detach ourselves from X headers entirely
    
    Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer
    building makekeys with enough -I/foo/bar to find the X11 headers, so if
    they're not in a system include path, things fail. Since this utility is
    only needed at build time, there's no real reason to demand the X
    headers be installed for both the build and target machines if cross-
    compiling, we can just assume a vaguely ANSI environment instead.
    
    Tested-by: Niclas Zeising <zeising@daemonic.se>
    Reviewed-by: Keith Packard <keithp@keithp.com>
    Reviewed-by: Matt Turner <mattst88@gmail.com>

commit 57f0d421a1320090d3a4948181fe228d86cc8977
Author: Matt Turner <mattst88@gmail.com>
Date:   Mon Jun 17 10:45:45 2019 -0400

    libX11 1.6.8
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668
Author: Matt Turner <mattst88@gmail.com>
Date:   Sun Jun 9 14:00:15 2019 -0700

    Use AC_SYS_LARGEFILE
    
    ... and include config.h in makekeys.c to get the definition of
    _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file
    system with 64-bit inode numbers.
    
    Bug: https://bugs.gentoo.org/550502
    Bug: https://bugs.gentoo.org/616140
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 33b9148a833ab2ea46e44871da3c031bf1b78f77
Author: Ran Benita <ran234@gmail.com>
Date:   Thu Feb 13 20:55:08 2014 +0200

    Compose.man: fix escaped hexadecimal char description
    
    The man page says:
        Strings may be direct text encoded in the locale for which the
        compose file is to be used, or an escaped octal or hexadecimal
        character code.   Octal codes are specified as "\123" and
        hexadecimal codes as "\0x123a".
    
    But the grammar in the parser and the implementation say:
        ESCAPED_CHAR  ::= ('\\' | '\"' | OCTAL | HEX )
        HEX           ::= '\' (x|X) HEX_CHAR [HEX_CHAR]]
        HEX_CHAR      ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f)
    
    So "\0x123a" -> "\x3a".
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0
Author: ojab <ojab@ojab.ru>
Date:   Mon Apr 24 20:12:17 2017 +0000

    Compose sequences for rouble sign
    
    Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout.
    
    Signed-off-by: Slava Kardakov <ojab@ojab.ru>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3f211616f6414bd9958566c0ca137e87a2b6df95
Author: Pavel Labath <pavelo@centrum.sk>
Date:   Fri Nov 30 20:45:04 2012 +0100

    Fix a leak in XCreateFontSet
    
    a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks,
    as evidenced by the following valgrind output:
    ==983== HEAP SUMMARY:
    ==983==     in use at exit: 39,409 bytes in 341 blocks
    ==983==   total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated
    ==983==
    ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record
    40 of 46
    ==983==    at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==983==    by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0)
    ==983==    by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746)
    ==983==    by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602)
    ==983==    by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92)
    ==983==
    ==983== LEAK SUMMARY:
    ==983==    definitely lost: 136 bytes in 1 blocks
    ==983==    indirectly lost: 1,552 bytes in 34 blocks
    ==983==      possibly lost: 0 bytes in 0 blocks
    ==983==    still reachable: 37,721 bytes in 306 blocks
    ==983==         suppressed: 0 bytes in 0 blocks
    
    This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still
    reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is
    destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using
    code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the
    correct code path, and I'm pretty sure this is correct (the object was constructed using
    _XlcCreateLC, it make sense to destroy it using its conterpart).
    
    So far I haven't observed any strange behaviour on my system caused by this change (although, I'm
    not sure, how many programs actually use this function).
    
    Signed-off-by: Pavel Labath <pavelo@centrum.sk>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4645e219133458781e3fb48eaea6a74cccb1b9aa
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Apr 30 14:39:06 2019 +0100

    Avoid using libtool wrapper for makekeys
    
    For Windows targets, libtool uses a wrapper executable, not a wrapper
    script (see [1]), which it compiles with the host compiler.  This
    doesn't work when cross-compiling.
    
    Since we don't actually need to link with anything, use the libtool flag
    -all-static to tell it to stay completely out of this.
    
    [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html

commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Apr 24 12:50:41 2019 +0100

    Use EXEEXT_FOR_BUILD for makekeys
    
    Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from
    EXEEXT_FOR_BUILD, such as when building for Windows from unix.
    
    (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when
    cross-compiling.  There could be some elaborate autodetection for
    EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from
    Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...)

commit a121b7b0c210efe10bf93453b29050282324c906
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Apr 30 14:30:41 2019 +0100

    Remove makekeys dependency on X headers
    
    This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669
    by Pierre Ossman, reworked for master.
    
    Avoid using LIBS (which are for host, but we don't need) and rewrite
    makekeys slightly to avoid needing to include any X headers, which
    avoids potentially having -I with host paths in CFLAGS, which can cause
    standard headers e.g. stdio.h for the host to also be used, which can
    break things...

commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Jun 7 23:35:33 2019 +0200

    Braille: Fix typing quickly
    
    On finishing releasing Braille keys, we should clear the just-commited
    pattern, to reset the state to initial state, and avoid having to wait for
    0.3s before typing the next pattern.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr>

commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d
Author: Tapani Pälli <tapani.palli@intel.com>
Date:   Mon May 13 08:29:49 2019 +0300

    Protect colormap add/removal with display lock
    
    This fixes a bug where concurrent threads call XCreateColormap and
    XFreeColormap corrupting a linked list where colormap structures
    are stored.
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94
    
    v2: handle XCopyColormapAndFree also (Adam Jackson)
    
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>

commit fea80d03c381a4de379863c0d41f6d4c00f15e1e
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Mar 13 13:12:20 2019 +0000

    Add autoconf checks for headers we include for FIONREAD
    
    Add autoconf checks for the extra headers we include to define FIONREAD.
    This needs sys/socket.h on Cygwin, and none of the alternatives on
    Windows.

commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7
Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org>
Date:   Mon Mar 11 14:19:52 2019 +0000

    locale.alias.pre - add the de_IT locale
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 568f77f414072506bbe48646637c872987c97e63
Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org>
Date:   Mon Mar 11 14:17:10 2019 +0000

    locale.dir.pre - add the de_IT locale
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 38c0c92feaef7dc4a72920b1dd79872e6578086c
Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org>
Date:   Mon Mar 11 14:12:07 2019 +0000

    compose.dir.pre - add de_IT locale
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 49f835611ba6ab82e68b7b851507931c142db7a5
Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org>
Date:   Tue Jan 29 15:34:34 2019 +0000

    Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ed669234d0cd5933618aa5fd2da697b59845b9be
Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org>
Date:   Tue Jan 29 15:28:18 2019 +0000

    locale.dir.pre - fix the de_LI latin15 locale
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 82b5c1454a49333b4d94984d40db79cff386d37f
Author: Josh Triplett <josh@joshtriplett.org>
Date:   Sun Feb 3 08:31:41 2019 +0100

    compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences
    
    Signed-off-by: Josh Triplett <josh@joshtriplett.org>

commit 603c3ab25a692194805fd4b0c62afac8093897fe
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 9 20:58:07 2019 -0800

    Add missing close paren to XrmGetStringDatabase synopsis in man page
    
    Fixes: commit 0642e99ac05afb0c
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 11:12:27 2019 -0800

    Include reallocarray.h in tarballs so "make distcheck" passes
    
    Fixes: commit bcf7b5aa06c23aee
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a4a7df06351ce9565d298a84547ff71f2d220fbf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 11:04:41 2019 -0800

    XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris
    
    Fixes: commit 5538b3e4ae6dee
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 10:48:26 2019 -0800

    specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys()
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86
    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 74f2f26811ae82b15dede31504b0eb541f7a3293
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 10:46:05 2019 -0800

    specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys()
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85
    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 66b039a41690f076e962ac6bd46cca017360a7d1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 10:44:15 2019 -0800

    specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows()
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84
    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cdea0e840315171f8390adc63a2397ddf111eea4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 10:38:08 2019 -0800

    specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry()
    
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82
    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c72d17ada98723cd9e03ddf06680a0e54b2c3089
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 10:30:32 2019 -0800

    XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 05002b8aef9544c8545e0823a02cf14f335d2b68
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Feb 17 15:13:25 2019 -0800

    Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask
    
    Reported-by: Daniel Hahler <git@thequod.de>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c
Author: Adam Jackson <ajax@redhat.com>
Date:   Fri Mar 24 11:07:36 2017 -0400

    _XDefaultIOError: Do better at detecting explicit shutdown
    
    Currently, when the X server crashes or a client is disconnected with
    XKillClient, you get a somewhat confusing error message from libX11
    along the lines of:
    
    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
          after 98 requests (40 known processed) with 0 events remaining.
    
    What's happening here is the previous recvmsg has thrown EAGAIN, since
    the socket is non-blocking. In this case, check whether the socket has
    any more data to read, and if not treat it like EPIPE.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2
Author: Adam Jackson <ajax@redhat.com>
Date:   Fri Mar 24 11:07:35 2017 -0400

    _XDefaultIOError: Reformat to be less ugly
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 003e30a66a249f5c70b30d1c187385124cd4cdad
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jan 1 14:34:04 2019 -0800

    Avoid use-after-free in _XimProtoSetIMValues()
    
    Fixes gitlab issue #49
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 30656fd66ad47aeaca0bfc237a818f189554f07e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jan 1 12:21:04 2019 -0800

    Fix implicit conversion warnings in _XlcCreateDefaultCharSet
    
    lcCharSet.c:187:50: warning: implicit conversion changes signedness:
          'int' to 'unsigned long' [-Wsign-conversion]
        tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1);
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
    ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc'
                           ~~~~~~  ^~~~
    lcCharSet.c:192:31: warning: implicit conversion changes signedness:
          'int' to 'unsigned long' [-Wsign-conversion]
        memcpy(tmp, name, name_len+1);
        ~~~~~~            ~~~~~~~~^~
    lcCharSet.c:216:45: warning: implicit conversion changes signedness:
          'int' to 'unsigned long' [-Wsign-conversion]
        memcpy(tmp, ct_sequence, ct_sequence_len+1);
        ~~~~~~                   ~~~~~~~~~~~~~~~^~
    lcCharSet.c:183:16: warning: implicit conversion loses integer precision:
          'unsigned long' to 'int' [-Wshorten-64-to-32]
        name_len = strlen(name);
                 ~ ^~~~~~~~~~~~
    lcCharSet.c:184:23: warning: implicit conversion loses integer precision:
          'unsigned long' to 'int' [-Wshorten-64-to-32]
        ct_sequence_len = strlen(ct_sequence);
                        ~ ^~~~~~~~~~~~~~~~~~~
    lcCharSet.c:198:37: warning: implicit conversion loses integer precision:
         'long' to 'unsigned int' [-Wshorten-64-to-32]
            unsigned int length = colon - charset->name;
                         ~~~~~~   ~~~~~~^~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jan 1 11:41:47 2019 -0800

    Remove no-longer-used name variable in _XGetAtomName
    
    Fixes gcc warning:
    GetAtomNm.c: In function ‘_XGetAtomName’:
    GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable]
         char *name;
               ^~~~
    
    Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f077871c2a12cf098b0c50572e112c6dc5e04de0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 29 11:39:29 2018 -0800

    Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb
    
    In-tree builds found reallocarray.h in $(top_builddir)/src but the
    out-of-tree build didn't find it at all.
    
    Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ba7f7cc783672784bebc6e69349b55c6c75c1973
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 27 18:35:27 2015 -0700

    Convert src/xlibi18n to use reallocarray()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Sep 26 11:12:47 2015 -0700

    Replace Xmalloc+strcpy pairs with strdup calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 258a8ced681dc1bc50396be7439fce23f9807e2a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 19 11:58:50 2015 -0700

    Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray
    
    Makes resizing & clearing more consistent and gets rid of some weird
    quirks like always subtracting 1 from the size passed to _XkbClearElems
    so it could always add 1 to the size passed in.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f94273e2f4284040306b888e5ca0381ee00591af
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 19 09:47:29 2015 -0700

    Add some missing allocation failure checks in src/xcms
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 76850471b4a5a6d30f5660234e87ec2772e7b426
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 19 09:33:21 2015 -0700

    Convert src/xcms to use reallocarray()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8a62e26515e528bb47917ec4a55cc2b492419eeb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 19 09:24:02 2015 -0700

    Convert src/XKB to use reallocarray()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 4 23:30:43 2015 -0700

    Convert main src directory to use reallocarray()

commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 4 23:18:23 2015 -0700

    Import reallocarray() from OpenBSD
    
    Wrapper for realloc() that checks for overflow when multiplying
    arguments together, so we don't have to add overflow checks to
    every single call.  For documentation on usage, see:
    http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Nov 19 21:26:23 2018 -0800

    Update README for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c8bcc19970a2cc4ad337de1338c63a07325eefcd
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Nov 9 22:24:52 2018 +0100

    locale.dir: Add ast_ES.UTF-8
    
    With this patch xev properly reports
       XLookupString gives 2 bytes: (c2 b4) "´"
    for the dead_acute key when using the Asturian locale

commit 117bb310b44ce03802c91a70949eb58dcc702a3c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Nov 9 22:18:43 2018 +0100

    compose.dir: Add ast_ES.UTF-8
    
    With this patch one can properly type dead keys like á when using the
    Asturian locale

commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 10 13:30:47 2018 -0800

    Remove documentation of obsolete B16 & B32 tags in specs/libX11
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f3c978476e0be6813268af494efb7ac507451116
Author: Matt Turner <mattst88@gmail.com>
Date:   Tue Oct 9 10:26:05 2018 -0400

    libX11 1.6.7
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Fri Sep 28 17:24:17 2018 +0200

    poll_for_event: Allow using xcb_poll_for_queued_event
    
    It avoids reading from the display connection again in cases where that
    was already done.
    
    Suggested-by: Uli Schlachter <psychon@znc.in>
    Reviewed-by: Uli Schlachter <psychon@znc.in>

commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Tue Sep 25 17:10:58 2018 +0200

    poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails
    
    If xcb_poll_for_reply fails to find a reply, poll_for_response would
    always return NULL. However, xcb_poll_for_reply may have read events
    from the display connection while looking for a reply. In that case,
    returning NULL from poll_for_response is wrong and can result in the
    client hanging, e.g. because it returns to waiting for the display
    connection file descriptor becoming readable after XPending incorrectly
    returned 0 pending events.
    
    The solution is to call poll_for_event again after xcb_poll_for_reply
    returned 0. This will return the first of any events read by
    xcb_poll_for_reply.
    
    Fixes issue #79.
    
    Reported-by: Yuxuan Shui <yshuiv7@gmail.com>
    Bugzilla: https://bugs.freedesktop.org/108008
    Bugzilla: https://bugs.freedesktop.org/107992
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f
Author: Bhavi Dhingra <b.dhingra@samsung.com>
Date:   Mon Sep 28 08:33:40 2015 +0000

    XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB
    
    Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44
    aka https://bugs.freedesktop.org/show_bug.cgi?id=92154
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Tue Aug 21 16:54:50 2018 +0200

    libX11 1.6.6
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit 173704243fbcbea0b6de2068b4fb403c7408fb54
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Tue Aug 21 16:53:40 2018 +0200

    Remove statement with no effect.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit e83722768fd5c467ef61fa159e8c6278770b45c2
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Fri Jul 27 16:38:00 2018 +0200

    Fixed crash on invalid reply (CVE-2018-14598).
    
    If the server sends a reply in which even the first string would
    overflow the transmitted bytes, list[0] (or flist[0]) will be set to
    NULL and a count of 0 is returned.
    
    If the resulting list is freed with XFreeExtensionList or
    XFreeFontPath later on, the first Xfree call:
    
        Xfree (list[0]-1)
     turns into
        Xfree (NULL-1)
    
    which will most likely trigger a segmentation fault.
    
    I have modified the code to return NULL if the first string would
    overflow, thus protecting the freeing functions later on.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>

commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Fri Jul 27 16:37:17 2018 +0200

    Fixed out of boundary write (CVE-2018-14600).
    
    The length value is interpreted as signed char on many systems
    (depending on default signedness of char), which can lead to an out of
    boundary write up to 128 bytes in front of the allocated storage, but
    limited to NUL byte(s).
    
    Casting the length value to unsigned char fixes the problem and allows
    string values with up to 255 characters.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>

commit b469da1430cdcee06e31c6251b83aede072a1ff0
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Fri Jul 27 16:36:34 2018 +0200

    Fixed off-by-one writes (CVE-2018-14599).
    
    The functions XGetFontPath, XListExtensions, and XListFonts are
    vulnerable to an off-by-one override on malicious server responses.
    
    The server replies consist of chunks consisting of a length byte
    followed by actual string, which is not NUL-terminated.
    
    While parsing the response, the length byte is overridden with '\0',
    thus the memory area can be used as storage of C strings later on. To
    be able to NUL-terminate the last string, the buffer is reserved with
    an additional byte of space.
    
    For a boundary check, the variable chend (end of ch) was introduced,
    pointing at the end of the buffer which ch initially points to.
    Unfortunately there is a difference in handling "the end of ch".
    
    While chend points at the first byte that must not be written to,
    the for-loop uses chend as the last byte that can be written to.
    
    Therefore, an off-by-one can occur.
    
    I have refactored the code so chend actually points to the last byte
    that can be written to without an out of boundary access. As it is not
    possible to achieve "ch + length < chend" and "ch + length + 1 > chend"
    with the corrected chend meaning, I removed the inner if-check.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>

commit d81da209fd4d0c2c9ad0596a8078e58864479d0d
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Tue Jul 3 22:31:37 2018 +0200

    Validation of server response in XListHosts.
    
    If a server sends an incorrect length in its response, a client is prone
    to perform an out of boundary read while processing the data.
    
    The length field of xHostEntry is used to specify the amount of bytes
    used to represent the address. It is 16 bit, which means that it is not
    possible to perform an arbitrary memory access, but it might be enough
    to read sensitive information, e.g. malloc-related pointers and offsets.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit b676e62377483df77bcb6472d26b24f901323fa9
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Jun 13 15:46:58 2018 +0200

    XkbOpenDisplay.3: fix typo
    
    XkbOpenDisplay returns a pointer to Display, not a Display.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca
Author: Martin Natano <natano@natano.net>
Date:   Sat Oct 8 19:57:50 2016 +0200

    Don't rebuild ks_tables.h if nothing changed.
    
    ks_tables.h is always considered out of date due to the forced rebuild
    of the makekeys util. This means the file is also rebuilt during 'make
    install', which is usually performed as root, which can to lead
    permission problems later on.
    
    Signed-off-by: Martin Natano <natano@natano.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 796f754cba6d75b676a0fc39b97802198fceda4f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat May 5 14:43:30 2018 -0700

    Change fall through comment in lcDB.c to match gcc's requirements
    
    Needs to match one of the regexps shown under
    https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 24 19:45:14 2018 -0700

    Use size_t for buffer sizes in SetHints.c
    
    These variables store values returned from strlen() as a size_t
    and are passed to Xmalloc, which expects a size_t, so lets stop
    converting back and forth to int along the way.
    
    Reported by: Konstantin SKliarov
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 50a5a98984097d614227d22a49265e12b172cac7
Author: Bhavi Dhingra <b.dhingra@samsung.com>
Date:   Tue Jul 5 11:37:50 2016 +0530

    Fix possible memory leak in cmsProp.c:140
    
    https://bugs.freedesktop.org/show_bug.cgi?id=96814
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83
Author: Michal Srb <msrb@suse.com>
Date:   Thu Mar 15 09:50:58 2018 +0100

    Use flexible array member instead of fake size.
    
    The _XimCacheStruct structure is followed in memory by two strings containing
    fname and encoding. The memory was accessed using the last member of the
    structure `char fname[1]`. That is a lie, prohibits us from using sizeof and
    confuses checkers. Lets declare it properly as a flexible array, so compilers
    don't complain about writing past that array. As bonus we can replace the
    XOffsetOf with regular sizeof.
    
    Fixes GCC8 error:
      In function 'strcpy',
          inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5,
          inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2,
          inlined from '_XimLocalOpenIM' at imLcIm.c:700:5:
      /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy'
      forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds]
         return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
    
    Caused by this line seemingly writing past the fname[1] array:
      imLcIm.c:479:  strcpy (m->fname+strlen(name)+1, encoding);
    
    Reviewed-by: Keith Packard <keithp@keithp.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Mar 6 11:42:27 2018 -0800

    If XGetImage fails to create image, don't dereference it to bounds check
    
    Reported by gcc 7.3:
    
    GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference]
      if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 ||
                        ~~~~~^~~~~~~~
    
    Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit e835a9dcc3362b5e92893be756dd7ae361e64ced
Author: wharms <wharms@bfs.de>
Date:   Sun Sep 3 14:17:45 2017 +0200

    silence gcc warning assignment discards 'const' qualifier from pointer target type

commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b
Author: wharms <wharms@bfs.de>
Date:   Sun Aug 20 21:51:57 2017 +0200

    remove empty line

commit e02dfe54f32b4165351d2712a9d2e0584906a3ce
Author: wharms <wharms@bfs.de>
Date:   Sun Aug 20 21:50:33 2017 +0200

    add _X_UNUSED to avoid unused variable warnings

commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9
Author: walter harms <wharms@bfs.de>
Date:   Sat Jun 4 17:19:59 2016 +0200

    Fixes: warning: variable 'req' set but not,used
    
    Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable]
           by marking req _X_UNUSED
            Solution was discussed on xorg-devel ML
           Peter Hutter, Alan Coopersmith
            Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign]
    
    Signed-off-by: harms wharms@bfs.de

commit bf82ec0402479fd8399d69e7d62fc17d7956699a
Author: walter harms <wharms@bfs.de>
Date:   Sat Jun 4 17:22:07 2016 +0200

    mark _XDefaultIOError as no_return
    
    mark _XDefaultIOError as no_return. No one comes back from exit() ...
    
    Signed-off-by: harms wharms@bfs.de

commit 9abe8380074edea3ac4e72466ec47e921ca05e47
Author: walter harms <wharms@bfs.de>
Date:   Sat Jun 4 17:21:52 2016 +0200

    no need to check XFree arguments
    
    You can save a bit of code. The is no need to check XFree arguments bring  free_fontdataOM in line with other free function and check for NULL arg
    
    Signed-off-by: harms wharms@bfs.de

commit 433477fcb7e07d0c26a22ba78aae88827ed1f440
Author: walter harms <wharms@bfs.de>
Date:   Tue Apr 26 16:32:20 2016 +0200

    fix memleak in error path
    
    free all mem on error
    Signed-off-by: walter harms <wharms@bfs.de>

commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a
Author: walter harms <wharms@bfs.de>
Date:   Tue Apr 26 17:58:16 2016 +0200

    fix memleak in error path
    
    V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com)
    
    fix mem leak in error path
    Signed-off-by: walter harms <wharms@bfs.de>

commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0
Author: walter harms <wharms@bfs.de>
Date:   Tue Apr 26 16:34:11 2016 +0200

    no need to check args for Xfree()
    
    simplify code
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit c1c14af441ae73d1a8e67a971fafcf967e45ac48
Author: walter harms <wharms@bfs.de>
Date:   Tue Apr 26 16:23:46 2016 +0200

    remove stray extern
    
    remove stray extern
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit 714921f041a245dc5f37a689268b584226a2ccb9
Author: walter harms <wharms@bfs.de>
Date:   Mon Apr 11 18:26:52 2016 +0200

    no need to check argument for _XkbFree()
    
    simplify code by removing unneeded checks
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit d02c2466f65063a03c97dbcee05071c12a3676e6
Author: walter harms <wharms@bfs.de>
Date:   Mon Apr 11 18:22:38 2016 +0200

    fix more shadow warning
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit 0355c3926d5372f9762f235071dbd94a89bbbdad
Author: walter harms <wharms@bfs.de>
Date:   Thu Mar 31 19:16:33 2016 +0200

    fix shadow char_size
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit 916dffadf052135df3398651be873c353da629e1
Author: walter harms <wharms@bfs.de>
Date:   Thu Mar 31 19:14:32 2016 +0200

    remove argument check for free() adjust one inden
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit 6ec901ebca3fea6a762e22090dc35b1b90911133
Author: walter harms <wharms@bfs.de>
Date:   Thu Mar 31 19:12:17 2016 +0200

    _XIOError(dpy); will never return so remore dead
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit 83107a677b2ed458e4d62ea4a601e8181d3683d8
Author: walter harms <wharms@bfs.de>
Date:   Thu Mar 31 19:10:49 2016 +0200

    fix shadow warning
    
    Signed-off-by: walter harms <wharms@bfs.de>

commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f
Author: Ryan C. Gordon <icculus@icculus.org>
Date:   Wed Aug 2 02:41:03 2017 -0400

    Valgrind fix for XStoreColor and XStoreColors.
    
    If the "pad" field isn't set, Valgrind will report it as uninitialized
    memory accesses when the struct is copied into the Display's send buffer.
    
    In practice, this is (probably) harmless, but Valgrind is correct in
    believing it's a bug.
    
    https://bugs.freedesktop.org/attachment.cgi?id=133189
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7d2010fec25c2f52b873ad0572479eb43128b038
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Apr 7 00:13:03 2017 -0700

    Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages
    
    Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page
    contains some malformed text" caused by extra whitespace after .TE macros
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b856d5d929047d1ea169814d56e43784ea404c83
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Mar 16 00:05:49 2017 -0700

    Clarify state parameter to XkbSetNamedDeviceIndicator
    
    Checking a Bool to see if it's NULL does not work well in C.
    Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Mar 15 23:50:26 2017 -0700

    Make Xkb{Get,Set}NamedIndicator spec & manpages match code
    
    The XKB Library spec and the man pages for XkbGetNamedIndicator &
    XkbSetNamedIndicator included a device_spec argument neither function
    takes, and do not include the XkbGetNamedDeviceIndicator &
    XkbSetNamedDeviceIndicator variants that do take it (along with two
    other arguments).
    
    This updates them to match the interfaces the code has provided for
    decades.
    
    This has been reported multiple times, so this fixes:
    https://bugs.freedesktop.org/show_bug.cgi?id=251
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812
    Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong
      (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506)
    X.Org Group Defect Id #9418
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6
Author: Arthur Huillet <ahuillet@nvidia.com>
Date:   Wed Feb 1 15:02:41 2017 +0100

    _XDefaultError: set XlibDisplayIOError flag before calling exit
    
    _XReply isn't reentrant, and it can lead to deadlocks when the default error
    handler is called: _XDefaultError calls exit(1). It is called indirectly by
    _XReply when a X protocol error comes in that isn't filtered/handled by an
    extension or the application. This means that if the application (or one of its
    loaded shared libraries such as the NVIDIA OpenGL driver) has registered any
    _fini destructor, _fini will get called while still on the call stack of
    _XReply. If the destructor interacts with the X server and calls _XReply, it
    will hit a deadlock, looping on the following in _XReply:
    
        ConditionWait(dpy, dpy->xcb->reply_notify);
    
    It is legal for an application to make Xlib calls during _fini, and that is
    useful for an OpenGL driver to avoid resource leaks on the X server side, for
    example in the dlopen/dlclose case. However, the driver can not readily tell
    whether its _fini is being called because Xlib called exit, or for another
    reason (dlclose), so it is hard to cleanly work around this issue in the driver.
    
    This change makes it so _XReply effectively becomes a no-op when called after
    _XDefaultError was called, as though an XIOError had happened. The dpy
    connection isn't broken at that point, but any call to _XReply is going to hang.
    This is a bit of a kludge, because the more correct solution would be to make
    _XReply reentrant, maybe by broadcasting the reply_notify condition before
    calling the default error handler. However, such a change would carry a grater
    risk of introducing regressions in Xlib.
    
    This change will drop some valid requests on the floor, but this should not
    matter, as it will only do so in the case where the application is dying: X will
    clean up after it once exit() is done running. There is the case of
    XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing
    to clean up resources in _fini would currently be hitting a deadlock, which is
    hardly a better situation.
    
    Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9
Author: Matt Turner <mattst88@gmail.com>
Date:   Sat Feb 25 21:54:22 2017 -0800

    libX11 1.6.5
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit a0da5835e8078445947c828fe2d86c1a31439012
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Feb 14 15:33:29 2017 -0500

    Revert "Compose sequences for rouble sign"
    
    This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0.
    
    Reported to break 'make check':
    
    https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html

commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Fri Feb 10 18:48:18 2017 +0500

    Compose sequences for rouble sign
    
    Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout.
    Also add Cyrillic sequences for hryvnia sign.
    
    Submitted-by: Victor V. Kustov <coyote@bks.tv>
    Reviewed-by: Victor V. Kustov <coyote@bks.tv>
    Signed-off-by: Mihail Konev <k.mvc@ya.ru>

commit 23d9623c661694aba8cf1e8f277dffa7a86cf065
Author: Petr Písař <petr.pisar@atlas.cz>
Date:   Sun Oct 30 12:49:11 2016 +0100

    Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8
    
    The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8
    locale and reporting this error:
    
    Warning: locale not supported by Xlib, locale set to C
    
    Therefore this patch reverts to the en_US.UTF-8 definition file that was used
    before. This patch also deduplicates the cs_CZ.UTF-8 entry.
    
    <https://bugs.freedesktop.org/show_bug.cgi?id=98219>
    
    This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Thu Jan 26 13:52:49 2017 +1000

    autogen: add default patch prefix
    
    Signed-off-by: Mihail Konev <k.mvc@ya.ru>

commit 2979011bc170c55894b9185b26376f8efc6db7d4
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Mar 9 12:00:52 2015 +0000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 4a0082a1b6affa65d38294f0e13511525cd8ad15
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jan 24 10:32:07 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit c74b070f2712c95f0db7c320a10232b0e5c83049
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat Jan 7 16:20:31 2017 +0100

    Fix wrong Xfree in XListFonts failure path
    
    'ch' gets moved inside the allocated buffer as we're looping through
    fonts, so keep a reference to the start of the buffer so we can pass
    that to Xfree in the failure case.
    
    Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak"
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 663f47075fe67bab4f99bc5d186c49175d4a4334
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 1 20:57:58 2017 -0800

    specs/libX11: Update Portability Considerations for the 21st century
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 1 20:39:53 2017 -0800

    specs/libX11: Fix broken synopsis for Data/Data16/Data32
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 382561951e3460b09c21a1a23748cde0315fbb19
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 1 20:31:54 2017 -0800

    specs/libX11: Add missing parameter types for XGetWindowProperty()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2beaecdb66965b861d6b790d151ba947f65f0a22
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 1 20:16:08 2017 -0800

    specs/libX11: Make paramdef spacing more consistent
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4c436c6c14cfd4c397b011563bf13c2872861133
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 1 20:02:53 2017 -0800

    specs/libX11: Fix paramdef entries listing multiple parameters
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 1 19:38:40 2017 -0800

    specs/libX11: More synopsis fixes
    
    Mostly transforming macro definitions and functions taking void arguments
    from undecorated <para> tags to use <funcsynopsis> tags to get decorations.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9
Author: Lucien Gentis <lucien.gentis@waika9.com>
Date:   Wed Jun 1 17:02:47 2016 +0200

    Typos in "Xlib - C Language X Interface" document - Chapter 02
    
    This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02.
    
    Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 20a3f99eba5001925b8b313da3accb7900eb1927
Author: Emilio Pozuelo Monfort <pochu@debian.org>
Date:   Tue Oct 25 21:30:15 2016 +0200

    Plug a memory leak
    
    This was introduced in 8ea762f.
    
    Reported-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 8f349feac24aacc958bd816afcc52380764e3d92
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Tue Oct 4 21:01:39 2016 +0200

    libX11 1.6.4
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 8ea762f94f4c942d898fdeb590a1630c83235c17
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Sun Sep 25 21:25:25 2016 +0200

    Validation of server responses in XGetImage()
    
    Check if enough bytes were received for specified image type and
    geometry. Otherwise GetPixel and other functions could trigger an
    out of boundary read later on.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Sun Sep 25 21:22:57 2016 +0200

    The validation of server responses avoids out of boundary accesses.
    
    v2: FontNames.c  return a NULL list whenever a single
    length field from the server is incohent.
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 78851f6a03130e3c720b60c3cbf96f8eb216d741
Author: walter harms <wharms@bfs.de>
Date:   Mon Aug 15 19:18:14 2016 +0200

    XFree will accept NULL as argument
    
    since Xfree is a define for free():
      Xlibint.h:#define Xfree(ptr) free((ptr))
    
    Xfree will accept NULL and do nothing.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>

commit 83adf3d1e3d0d6602244381334f75c216da4ab6e
Author: Matthew D. Fuller <fullermd@over-yonder.net>
Date:   Sat Jun 4 11:24:01 2016 -0500

    Fixup param specification for XChangeProperty()
    
    Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c
Author: Mats Blakstad <mats.gbproject@gmail.com>
Date:   Sun Feb 28 13:22:03 2016 -0500

     New compose keys for local languages in Togo
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9
Author: Daniel Albers <daniel@lbe.rs>
Date:   Wed Mar 9 14:35:48 2016 +0100

    Add Compose sequence for U+1F4A9.
    
    Signed-off-by: Daniel Albers <daniel@lbe.rs>

commit 6d7bb040c928485f2557c2c914b95cffb2354179
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 6 14:18:32 2016 -0800

    xcms: use size_t for pointer offsets passed to strncmp
    
    instead of converting to int and back
    
    Fixes clang warnings of the form:
    HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to
          'unsigned long' [-Wsign-conversion]
              if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) {
                  ~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a9266804eed38a83897ab5f0f9f8a8ab82a98882
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 6 13:32:44 2016 -0800

    xcms: use unsigned indexes when looping through unsigned values
    
    Clears many gcc warnings of the form:
    
    uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’:
    uvY.c:263:19: warning: comparison between signed and unsigned integer
      expressions [-Wsign-compare]
         for (i = 0; i < nColors; i++, pColor++) {
                       ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 6 13:01:25 2016 -0800

    xcms: use size_t for strlen/sizeof values instead of converting to int & back
    
    Fixes gcc warnings of the form:
    
    IdOfPr.c: In function ‘XcmsFormatOfPrefix’:
    IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if ((len = strlen(prefix)) >= sizeof(string_buf)) {
                                    ^
    IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (len >= sizeof(string_buf)) Xfree(string_lowered);
               ^
    IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (len >= sizeof(string_buf)) Xfree(string_lowered);
               ^
    IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (len >= sizeof(string_buf)) Xfree(string_lowered);
                 ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d
Author: Dominik Muth <nxdomainuser-muth@yahoo.com>
Date:   Thu Mar 26 07:52:58 2015 +0100

    Xlib.h: Fix macros imitating C functions.
    
    The basic rule "put parantheses around macro parameters" should be
    observed where possible. Otherwise code like
    
        ConnectionNumber(foo = bar);
    
    fails to compile. (It obviously passes if ConnectionNumber is a C
    function.) There are several other macros amended for the same reason.
    
    This bug appeared while building http://ioccc.org/1993/cmills.c, so
    historically it was not present.
    
    Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3706b0f2b14cc97578a6bee620266edca2722ebf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 15 18:03:25 2013 -0800

    Don't need to link libX11-xcb against libX11
    
    libX11-xcb only accesses data structures defined in X11 headers,
    it doesn't call any functions or reference any global variables
    in libX11 itself.  (Seems to have been left from previous XCL
    implementation.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit eddf1bbd18872b286a9f939140f0cd9ba4e93804
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 22 11:44:25 2016 -0800

    Stop checking for preferred order of local transports
    
    Removes --with-local-transport-order=... flag to configure.
    
    Code which used this ordered list was removed in commit 15e5eaf6289
    which outsourced X11 connection handling & authentication to libxcb.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 22 09:39:28 2016 -0800

    Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them
    
    Removes --enable-secure-rpc & --disable-secure-rpc flags to configure
    
    Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289
    which outsourced X11 connection handling & authentication to libxcb.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 7eb724dc24505f1591ef32620fa63f079b540646
Author: Olivier Fourdan <ofourdan@redhat.com>
Date:   Thu Jan 21 11:54:19 2016 +0100

    XKB: fix XkbGetKeyboardByName with Xming server
    
    XkbGetKeyboardByName relies on flags to read the data from the server.
    
    If the X server sends us the wrong flags or if a subreply is smaller
    than it should be, XkbGetKeyboardByName will not read all the available
    data and leave data in the buffer, which will cause the next _XReply()
    to fail with:
    
    [xcb] Extra reply data still left in queue
    [xcb] This is most likely caused by a broken X extension library
    [xcb] Aborting, sorry about that.
    xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed.
    Aborted
    
    Check if there is some extra data left at the end of
    XkbGetKeyboardByName() and discard that data if any is found.
    
    Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the
    root cause of the issue and Adam Jackson <ajax@redhat.com> for helping
    with the analysis!
    
    Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
    Reviewed-by: Daniel Stone <daniels@collabora.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 18:03:41 2015 -0800

    lcPubWrap: replace malloc(strlen) + strcpy with strdup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 10:21:04 2015 -0800

    XlcDL.c: reduce code duplication
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit f7ecc0856be58608881d2086954cb71857ad64e1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 10:19:25 2015 -0800

    XlcDL.c: replace strcpy+strcat sequences with snprintf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 10:05:42 2015 -0800

    XDefaultOMIF: Remove comments referring to ancient Sun bug ids
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit b738a104ae80e4270dd1d215ad0c6a80016982c2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 10:00:22 2015 -0800

    XDefaultOMIF: additional code simplification
    
    Don't need to test for a case that we already returned for, don't need
    to store a count that will only ever be 1 if we didn't return, don't
    need to increment pointers to allow storing more than one item when we
    can only ever possibly do one.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 31011cf100419269eae7409581c784638be503cf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 09:46:31 2015 -0800

    XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup
    
    Code seems to have been originally written to handle appending multiple
    strings, but only ever operates on a single string.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 19 09:20:55 2015 -0800

    Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 4359dfabc04af082872d2bc2d5b52e26d6d93290
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Dec 4 22:20:53 2015 -0800

    Delete #if 0 hunks of code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a2f9dfac286f37e54eb47d4736cc3f0150224a84
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 3 23:38:07 2015 -0800

    Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths
    
    Rework code to store allocations directly into XIM struct instead of
    temporary local variables, so we can use _XCloseIM to unwind instead
    of duplicating it, and consistently jump to error handler on failure,
    instead of sometimes leaking and sometimes freeing.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 07a97b3944467dce085a1efd24706cc851d2caf2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 3 23:19:48 2015 -0800

    Bug 93184: read_EncodingInfo invalid free
    
    Free the correct bits of memory if we run out and need to unwind
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 28 13:18:11 2015 -0800

    Remove unused definition of XCONN_CHECK_FREQ
    
    The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179
    when we dropped the old Xlib connection handling in favor of xcb's.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit 5f0da8311a61498edf073cc877f5b467bfd5f863
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Dec 3 18:24:44 2015 -0500

    Fix another missing update in cf4d5989383a
    
    Reported in:
    
       https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Dec 3 18:15:40 2015 -0500

    Fix missing update in cf4d5989383a
    
    Reported in:
    
       https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 27 18:38:32 2015 -0700

    Get rid of some extraneous ; at the end of C source lines
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>

commit 121a1bad334459f66f78bfca6df53dc841cf97f8
Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
Date:   Wed Sep 23 11:44:55 2015 -0400

    Add compose file for pt_PT similar to pt_BR
    
    This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056
    
    One of the conclusions from the discussion on that bug report, which
    basically is about typing the ccedilla character easily on a non-
    Portuguese keyboard, is that X11 should include a compose file for
    pt_PT.UTF-8 similar to the file for pt_BR.UTF-8.
    
    FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300
    
    Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri May 1 13:50:15 2015 +0200

    Mark _XNextRequest as hidden
    
    It's only used inside XNextRequest(), so doesn't need to be exported.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a72d2d06c002b644b7040a0a9936c8525e092ba8
Author: Christian Linhart <chris@demorecorder.com>
Date:   Mon Sep 7 17:17:32 2015 +0200

    fix for Xlib 32-bit request number issues
    
    Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid
    the 32-bit sequence number wrap in libX11.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338
    Signed-off-by: Christian Linhart <chris@demorecorder.com>
    Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 58af066a764305c506efea7065ef7679369a1a98
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jul 19 10:23:21 2015 +0200

    Ignore test-driver (used by newer autoconf).
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 80b9a346b9ba200fa4652560282e80d249519287
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jul 19 10:22:45 2015 +0200

    Do not return() after exit().
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c827edcd1c4a7f920aa25208083b5b58d60d2b44
Author: Ross Burton <ross.burton@intel.com>
Date:   Mon May 18 14:49:01 2015 +0100

    Add missing NULL checks to ICWrap
    
    ICWrap.c dereferences the xim parameter passed in from client code without a
    NULL check.  I have seen mplayer trigger this resulting in a segfault.  In this
    case mplayer had called XOpenIM and NULL was returned which was later passed
    into XCreateIC.
    
    Patch originally by Drew Moseley <drew_moseley@mentor.com>.
    
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 4 20:51:17 2015 -0700

    Replace Xmalloc+memset pairs with Xcalloc calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f0286b2770ece10aef5e2e8c004260217f12fd25
Author: Bhavi Dhingra <b.dhingra@samsung.com>
Date:   Thu Jun 4 19:07:12 2015 -0700

    omGeneric.c: Correct the parameter usage of sizeof
    
    Incorrect parameter usage with sizeof. Earlier passed argument FontData
    will be 4 bytes always as its a pointer hence the change is needed and
    FontDataRec should be used for memset.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 47da70d75f9e48e800719c0db752f9ccd2d77aea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 19 12:30:22 2015 +1000

    Fix three "use of uninitialized variable" coverity warnings
    
    False positive, if rlen/nbytes are unset we quit early before using it. Still,
    initialize it so we don't have to deal with these warnings again.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 19a30f17f30e9ae9641a7c0634fc52134208b060
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon May 18 07:56:22 2015 +1000

    Fix an indentation issue
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 013ccece124b990217ad3bcf2c41688e8fda1df8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon May 18 07:55:17 2015 +1000

    Fix potential memory leak
    
    If we hit the depth limit, filename leaks. Move the depth check up before we
    allocate filename.
    Introduced in 226622349a4b1e16064649d4444a34fb4be4f464.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d3415d1f052530760b4617db45affcb984cfe35c
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Mon Apr 20 17:59:30 2015 +0200

    Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93
    
    Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN
    locales fixed it only partly, I introduced a new spelling mistake
    in the sd_IN locales. This patch fixes this.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 748d47e69f5c12d8557d56a8a8ec166588da7b93
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Wed Feb 19 11:46:45 2014 +0100

    fix spelling mistakes in ks_IN and sd_IN devanagari locales
    
    The codeset must be *before* the modifier.
    
    See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html
    
    opengroup> The syntax for these environment variables is thus defined as:
    opengroup>
    opengroup> [language[_territory][.codeset][@modifier]]
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Wed Feb 19 11:50:55 2014 +0100

    add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir
    
    See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910
    
    If these are not in locale.dir,
    
        $ LANG=sr_RS.UTF-8@latin xterm
    
    and
    
        $ LANG=sr_RS@latin xterm
    
    give the warning:
    
        Warning: locale not supported by Xlib, locale set to C
    
    and some programs (like xmms) fail to find translations for Serbian
    in Latin because of this.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit c85be01b006126c4407eebd1eb6e01a17312b7b4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Mar 22 16:46:45 2015 -0700

    Move Compose \ o / to be with other emoji compose sequences
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Mar 9 15:28:29 2015 -0700

    libX11 1.6.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c8e19b393defd53f046ddc2da3a16881221b3c34
Author: Joonas Javanainen <joonas.javanainen@gmail.com>
Date:   Thu Feb 5 17:31:04 2015 +0200

    Fix XErrorEvent struct field order in man page
    
    In the man page the field "resourceid" was in a different place than
    in the actual struct layout in Xlib.h
    
    Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f
Author: Ran Benita <ran234@gmail.com>
Date:   Tue Feb 3 13:23:50 2015 -0500

    compose: fix the description of modifiers in compose sequences
    
    The Compose format has a feature which allows specifying certain
    modifiers must (or must not) be present with a given keysym in the
    sequence.
    
    The grammar in imLcPrs.c and the Compose man page both do not match what
    the code actually does (see the handling of the variables
    `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are
    eventually matched as `ev->state & modifier_mask == modifier`).
    
    Also explicitly list the accepted modifier names, since they are
    not standard (e.g. "Ctrl" instead of "Control").
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb
Author: Ran Benita <ran234@gmail.com>
Date:   Tue Feb 3 13:23:49 2015 -0500

    xkb: fix misleading comment about consumed modifiers
    
    In the spec and the man page the `mods_rtrn` argument is described as
    "backfilled with unconsumed modifiers" but actually it is backfilled
    with the *consumed* modifiers. This is also mentioned a few lines below
    in each case.
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2
Author: Ingo Schwarze <schwarze@usta.de>
Date:   Tue Dec 9 10:44:13 2014 +0100

    Fix pasto in XkbGetKeyBehaviors(3) manual
    
    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit f3831dde6972e4da9e018c6a5f4013d8756a5e78
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun Nov 23 21:35:36 2014 +0100

    nls: Sorting compose sequences rigorously in mirroring pairs, as is custom.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>

commit a51681b60c84109fe19f5d449e13080522499324
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu Sep 19 16:42:01 2013 +0200

    nls: Remove a duplicate locale name, and sort some others more strictly.
    
    Also improve the grammar of the initial comment.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 426b7f850f5376db96a4b12420ee141603fcc3cd
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri Sep 20 12:37:29 2013 +0200

    nls: Add a comment to the block of accented Hebrew letters.
    
    And align them in a nicer manner.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri Sep 20 12:05:09 2013 +0200

    nls: Add one lowercase compose variant for ®, to mirror those for ©.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 18dcd13514fa538afefa78c93523d9dbd4688e74
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sat Sep 7 20:10:43 2013 +0200

    nls: Adding the visual composing characters to two comment lines.
    
    The lines around them also contain the characters in the comments.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 18d8307575af748913d5da17e3de45da2a22ede4
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sat Sep 7 20:09:32 2013 +0200

    nls: Grouping a lone superscript minus together with its mates.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 33301cc45e6a2b8aa841ed6325547af970f8c4db
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sat Sep 7 19:53:38 2013 +0200

    nls: Grouping the compose sequences for Dstroke/dstroke together.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a
Author: Gioele Barabucci <gioele@svario.it>
Date:   Sun Sep 21 23:05:55 2014 +0200

    Add compose sequence for U+20B9 INDIAN RUPEE SIGN
    
    The compose sequence for the new Indian Rupee sign is modelled after
    the sequence for the Euro sign.
    
    Signed-off-by: Gioele Barabucci <gioele@svario.it>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68
Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
Date:   Thu Jul 31 22:23:28 2014 -0300

    Add double-arrow compose sequence
    
    Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri Aug 1 18:30:42 2014 -0400

    Add cs_CZ.UTF-8 locale to configure.ac
    
    Commit cf4d5989383a should have included this.
    
    Reported-by: Colin Harrison <colin.harrison@virgin.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit cf4d5989383acc4ed1b7eebadde9f380f2129766
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Jul 29 15:02:56 2014 -0400

    Add nls for cs_CZ.UTF-8
    
    Based on the iso8859-2 compose, and a bug report by Vladimír Marek,
    override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead
    to enter »ů«, and likewise for the majuscule, for the Czech locale.
    
    This evidently is the norm for Czech keyboards.
    
    Fixes bz#81875.
    
    The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for
    several other locales.  That may require an update.
    
    Reported-by:  Vladimír Marek <vlmarek@volny.cz>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit d9f569572bd14db31921471e7b877523b5cf1e4c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 26 12:17:47 2014 -0700

    Fix source paths for out-of-tree lintlib builds
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0885cad1e4a9ed57266582be320be55259c881bf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 20 09:21:20 2014 -0700

    specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis>
    
    Matches the way they were styled in original doc, before conversion
    to DocBook.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0a9e9d56bb003315787201ee525b4d00fd54e06
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 23:55:47 2014 -0700

    specs/XKB: acknowledge my contributions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 23:53:48 2014 -0700

    specs/XKB: Trim leading spaces off text lines
    
    perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 20:30:55 2014 -0700

    specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5009621799444e9d1d284719f871d00be13e7330
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 12:34:28 2014 -0700

    specs/XKB: Fix miscelleanous typos & spelling errors
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 00:46:41 2014 -0700

    specs/XKB: add some more indexterms by hand
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 00:48:02 2014 -0700

    specs/XKB: fixup various formatting issues in <programlisting>s
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 23:56:29 2014 -0700

    specs/XKB: fixup various formatting issues in <literallayout>s
    
    Including translating some that are really just lists into
    <simplelist> markup.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 94b56774784ac00b9db02403aecea10bb0814c10
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 23:18:52 2014 -0700

    specs/XKB: add some more links by hand
    
    random bits where a link looked handy
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 23:16:31 2014 -0700

    specs/XKB: add links for terms in definition list under figure 1.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 22:52:16 2014 -0700

    specs/XKB: add links to more tables listing section references
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 22:49:34 2014 -0700

    specs/XKB: Table 4.1: remove page numbers & unnecessary para tags
    
    Page numbers refer to old doc format, didn't translate to new one
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 11:55:51 2014 -0700

    specs/XKB: remove unwanted white space around C -&gt; struct references
    
    perl -i -0 -p -e 's{\s*-&gt;\s*}{-&gt;}g' *xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2be0cc0b2abbcc98cfd150210dea415a04787251
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 22:26:20 2014 -0700

    specs/XKB: replace -&gt; with &rarr; when used as arrow, not in C structs
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bf1f3d6f6f995303624679ae546f507c70967dc0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 22:21:10 2014 -0700

    specs/XKB: replace =&gt; with &rArr; for double arrows
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 11:33:35 2014 -0700

    specs/XKB: Markup some ranges with &ndash; instead of -

commit ec4075303c6c0d1d64bfe378e585968f9a137da7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 22:10:45 2014 -0700

    specs/XKB: Markup some subtractions with &minus; instead of -
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 441a267e461132a38abed205245f028686526f1d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 22:04:40 2014 -0700

    specs/XKB: make sure all files have DOCTYPEs so standard entities work
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 88fd70bee410f290b4f540405fdc7ecd85c26f25
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 21:55:41 2014 -0700

    specs/XKB: Markup quoted terms as <quote> instead of with ""
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 19 09:01:26 2014 -0700

    specs/XKB: fixup newlines between tags and punctuation
    
    Get rid of unwanted whitespace before punctuation by moving them to the
    lines with the tags, instead of before & after.
    
    perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6d5ec492cd28c206423337f926503349702af5a6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 21:29:33 2014 -0700

    specs/XKB: fixup newlines between tags and parens
    
    Get rid of unwanted whitespace inside parens by moving them to the
    lines with the tags, instead of before & after.
    
    perl -i -0 -p \
         -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \
         -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 59d688f4c787250e0b401a92b1db0437d8c60f2d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 18 21:09:24 2014 -0700

    specs/XKB: Markup key terms as <firstterm> instead of <emphasis>
    
    Also add <indexterm> entries for most of them, to make their definitions
    or introductions easy to find from the index.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 861f3087ee0f501362a67501f384c2ca4c7bfe73
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 20:00:53 2014 -0700

    specs/XKB: Manual fixup of type markup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6b96259dabe52701fd1bcaa0625b574180c4e769
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 15:00:30 2014 -0700

    specs/XKB: Manual fixup of parameter markup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 13:40:40 2014 -0700

    specs/XKB: Manual fixup of struct name/field markup
    
    Handles typos that caused the scripts to miss matches, misnamed structs, etc.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 9 23:26:37 2014 -0700

    specs/XKB: Manual fixup of symbol name markup
    
    Handles typos that caused the scripts to miss matches, misnamed masks, etc.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit eb1453a0c69606b8af96b90ddccf1b93a069fb35
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 9 00:03:23 2014 -0700

    specs/XKB: Manual fixup of function name markup
    
    Handles typos that caused the scripts to miss matches, functions like
    malloc & free from other libraries, function name patterns, etc.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 19:42:31 2014 -0700

    specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis>
    
    No great fit in DocBook, so follow what we used in Xlib spec.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ed60df10aad15057577d5714c955d22d2a446e51
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 15:45:57 2014 -0700

    specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis>
    
    Also uses <guilabel> for LED names/labels, for lack of a better fit
    in DocBook.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f57b91ee497414083cc1bf481d28eb9ad9f965fb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 15:41:19 2014 -0700

    specs/XKB: Markup characters & strings as <literal> instead of <emphasis>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cfd4279c9b59d7e87c9f7c67692c87973adb7667
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 10 11:08:14 2014 -0700

    specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 9 23:30:54 2014 -0700

    specs/XKB: Markup symbol names in table entries too
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 23:35:48 2014 -0700

    specs/XKB: Markup *Ptr as <type> instead of <emphasis>
    
    perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9f6c00629fd4b713082cc11f9150f7aafd272c89
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 23:34:29 2014 -0700

    specs/XKB: Markup *Rec as <structname> instead of <emphasis>
    
    perl -i -p -e \
     's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 83839e37802b8b752c77859a95de60ad757feb79
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 23:29:49 2014 -0700

    specs/XKB: Markup XKB macros as <symbol> instead of <emphasis>
    
    Performed via:
     perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \
      /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \
      | sort -u > xkb-defines.pl
     perl -i -p -f xkb-defines.pl *.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9e397ed37ce4cc70621de347de3a795df88d4506
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 22:53:12 2014 -0700

    specs/XKB: Use ° instead of o for degrees.
    
    Conversion from framemaker turned superscripted "o" into plain "o".
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 22:46:03 2014 -0700

    specs/XKB: Markup keysyms as <keysym> instead of <emphasis>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 33bef065683c8f910f3722730503c0c0699ee8be
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 22:26:56 2014 -0700

    specs/XKB: Markup NULL as <symbol> instead of <emphasis>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f10aa1e09468bd28454d85ac8ab55d9dc7178029
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 22:22:29 2014 -0700

    specs/XKB: Markup function args as <parameter> instead of <emphasis>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 79ba58cceb69521fcb313c69233cf93a9fcb177f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 23:56:13 2014 -0700

    specs/XKB: Convert remaining error names to errorname tags
    
    Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad*
    are XKB-specific.   (Plus some were badly split across tag boundaries.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 42b2f5388c399949ece377f9cc9c479c06964972
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 23:16:56 2014 -0700

    specs/XKB: manually fixup some more emphasis tagging mismatches
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 23:02:31 2014 -0700

    specs/XKB: re-normalize <emphasis> layout in xml files
    
    Same script as before, just with <!-- xref --> comments out of the way
    now.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ce95f152eda509263874c53fb7c6b4a6bdab2c29
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 22:59:25 2014 -0700

    specs/XKB: Remove remaining xref comments
    
    All the places marked by these have been turned into the appropriate
    link, xref, or olink tags now.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6590b66e19af8dff68888ac403ac82f5d585b4e2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 22:56:36 2014 -0700

    specs/XKB: make olinks to xkbproto for references in section 10.13
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit fcda446877a62e7443d7bc704ba3610e90d1e755
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 22:22:28 2014 -0700

    specs/XKB: Add <figure> tags and make Figure references link to them
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 7 21:30:01 2014 -0700

    specs/XKB: Turn Table references into links
    
    Adds id attributes to all table tags so we can link to them
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 135fa07b74cb50172c6a75768d499cd87ddb336e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 21:29:59 2014 -0700

    specs/XKB: Turn section references into xref links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 21:17:18 2014 -0700

    specs/XKB: Turn Chapter references into xref links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 20:40:18 2014 -0700

    specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b00a7ddff2744238fbfe31c2298b02028a45a6ff
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 20:34:51 2014 -0700

    specs/XKB: Markup function names as <function> instead of <emphasis>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bfbb58b7679221cb5c9212665209ea9099ad079a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 20:25:46 2014 -0700

    specs/XKB: normalize <emphasis> layout in xml files
    
    - Stop placing <emphasis> on empty space, commas, and periods.
    - Move periods & commas after closing </emphasis> tag
    - move <emphasis> open & close tags to same line, instead of mirroring
      nroff layout.
    
    Simplifies automating further transformations of these tags.
    
    Performed via:
     perl -i -0 -p \
        -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \
        -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \
        -e 's{\n([\.,])\s*}{\1\n}msg;' \
        -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \
        -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b16ee69a0103109a661a88140a1765dcd7bda634
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 15:57:41 2014 -0700

    specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 19:29:38 2014 -0700

    specs/XKB: Add index
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 72ae1d793be078db521dda60af578ece71f364de
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 13:21:40 2014 -0700

    specs/XKB: Fix various markup issues in functiondecl tables
    
    - Merge some functionargdecl entries incorrectly split across rows
    - Add missing parameter name markup to some functionargdecls
    - Add missing function prototype markup to a functiondecl
    - Remove stray emphasis tags in a functiondecl
    
    Allows them to correctly convert to funcsynopsis markup in next step.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 12:15:23 2014 -0700

    specs/XKB: Convert header filenames to filename tags
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5525e8433f93bce464412f27cffa203ea628f368
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 8 00:05:32 2014 -0700

    specs/libX11: disengender a user reference
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d8679eae9317b389ad4acb0430360ee0663e2af8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 11 18:41:42 2014 -0700

    specs/libX11: Correct value of IconicState to match Xutil.h
    
    Xutil.h has always had a value of 3 for IconicState, since 2 was
    previously used for the long-obsolete ZoomState, so make the spec
    match what programs have used for decades.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 11 10:34:08 2014 -0700

    Use C99 named initializers to fill in events passed to XSendEvent
    
    Forces compiler to zero-fill unset fields in the struct (fixing bug 81236)
    and allows optimizer to order field initialization to best fit cache layout
    or other considerations.
    
    Before & after output of gcc -S on AMD64 shows insertion of "rep stosq"
    instructions to rapidly zero-fill structs.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 11:13:49 2014 -0700

    Fix validation of ctrls parameter to XkbGetPerClientControls()
    
    Nothing in the XKB spec states that the memory pointed to by ctrls has to
    be initialized to any given value when passed to the function, only that
    it is set by the function to the values returned by the X server:
    http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls
    
    The check for the incoming value seems to be copied from
    XkbSetPerClientControls without explanation.
    
    Instead change it to checking if ctrls is non-NULL, since there's no
    point asking the X server to return a value the caller won't even see.
    
    Found while investigating report from cppcheck-1.65:
    [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer
     dereference: ctrls - otherwise it is redundant to check it against null.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1e362fac92c6688fb42b195ccad16d7a337a34c1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 10:54:57 2014 -0700

    Fix map->num_types check in XkbAddKeyType()
    
    Check is intended to ensure we allocate at least XkbNumRequiredTypes
    in map, but was accidentally marked with a ! causing the wrong check.
    
    Reported-by: Harms <wharms@bfs,de>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 15:08:21 2014 -0700

    specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a06ea86773568926c36ae650b188fc818d540db7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 15:04:27 2014 -0700

    specs/libX11: Fix height & width in parameter lists to be two separate entries
    
    "unsigned int width, unsigned int height", not a single parameter "height"
    of type "unsignedintwidth,".
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 6 14:38:10 2014 -0700

    specs/libX11: Fix x & y in parameter lists to be two separate parameters
    
    "int x, int y" not a single parameter y of type "intx"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9
Author: walter harms <wharms@bfs.de>
Date:   Sat Jun 7 12:03:17 2014 +0200

    lcDefConv.c: fix use before check
    
    * Do not use variables before checked for NULL.
    * remove some superfluid spaces (Mark Kettenis)
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c0670e5d3ae330e611ecb05303d579a4f8a3d114
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 16 15:16:10 2014 -0700

    Start adding Unicode 7.0 support to compose table
    
    New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a4679baaa18142576d42d423afe816447f08336c
Author: walter harms <wharms@bfs.de>
Date:   Sat Jun 7 11:54:34 2014 +0200

    rm redundant null checks
    
    remove more redundant NULL checks
    note that _XkbFree() is really Xfree()
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df
Author: walter harms <wharms@bfs.de>
Date:   Sat Jun 7 15:17:27 2014 +0200

    libX11: rm redundante NULL checks
    
    This patch removes the last remaining  NULL checks for Xfree()
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4
Author: walter harms <wharms@bfs.de>
Date:   Fri Jun 6 22:53:05 2014 +0200

    Remove more redundant null checks before Xfree()
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0b7fd7dbec136bae317bd9a329309eaa089beee3
Author: walter harms <wharms@bfs.de>
Date:   Thu Jun 5 18:37:40 2014 +0200

    Remove redundant null checks before free
    
    This patch removes some redundant null checks before free.
    It should not change the code otherwise. Be aware that this
    is only the first series.
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7d452fad5068ba92b964e92bc46708046f4044aa
Author: walter harms <wharms@bfs.de>
Date:   Wed Jun 4 17:12:31 2014 +0200

    libX11/lcUTF8.c fix: dereferenced before check
    
    * Do not use variables before checked for NULL.
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a3808f51517a720e7ff738208af60865779dd6ef
Author: walter harms <wharms@bfs.de>
Date:   Wed Jun 4 17:10:20 2014 +0200

    libX11/XKBNames.c fix: dereferenced before check
    
    * Do not use variables before checked for NULL.
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78
Author: walter harms <wharms@bfs.de>
Date:   Wed Jun 4 17:08:12 2014 +0200

    libX11/lcGenConv.c fix: dereferenced before check
    
    * Do not use variables before checked for NULL.
    
    Signed-off-by: Harms <wharms@bfs,de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c6bc28d433243c32b3f74955f1478451b4fd27b5
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Sun Jan 19 16:59:13 2014 +0100

    Restore lost tabs in sed commands
    
    Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu Sep 19 11:01:11 2013 +0200

    nls: Transform Brazilian compose file to an include plus three overrides.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri Sep 6 12:10:01 2013 +0200

    nls: Adding the missing compose sequences with <comma> for O with ogonek.
    
    All other vowels with ogoneks can already be composed using <comma>.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 655b60f48376069750b151c46da836fdd411c83b
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri Sep 6 12:04:24 2013 +0200

    nls: Adding the missing postfix sequences for composing vowels with ogoneks.
    
    It existed for lowercase i, but not for uppercase I nor the other vowels.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 7f8f9a36ef901f31279c385caf960a22daeb33fe
Author: Owen W. Taylor <otaylor@fishsoup.net>
Date:   Fri May 9 18:21:05 2014 -0400

    Fix XNextRequest() after direct usage of XCB
    
    When XCB owns the X socket, dpy->request is not updated, so
    NextRequest() and XNextRequest() return the wrong value. There's
    nothing we can do to fix NextRequest() while retaining ABI compat,
    but change XNextRequest() to grab the socket back from XCB,
    updating dpy->request.
    
    Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
    Reviewed-by: Uli Schlachter <psychon@znc.in>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun May 4 11:54:59 2014 -0700

    Add missing .TE tags to end tables in Xkb man pages
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 280274e5292e013b43e552274111fab434f5ed4e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun May 4 11:23:17 2014 -0700

    XCreateGC.man: simplify table to work with Solaris tbl
    
    Having every table cell be a text diversion (T{...T}) was too much for
    Solaris tbl to handle, and thus "man XCreateGC" would print the error
    /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions
    tbl quits
    and not display the table of mask bits or any text in the man page after
    that table.   Since the #define column doesn't need special handling,
    making it not use text diversions brings the table under the tbl limit.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 93bb325a54025dd15f4744abce54b358960420f9
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue May 20 17:30:10 2014 -0400

    Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has."
    
    Parenleft is already in use for sequences of the form <(> <letter> <)>
    to generate circled letters.
    
    Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ.
    
    This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 060707851be918f2f507a26d17b016f764ddf2b4
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri Sep 6 11:42:59 2013 +0200

    nls: Adding accessible compose sequences for Ș and Ț (with comma below).
    
    Compose sequences with <dead_belowcomma> exist, but very few keyboard
    layouts contain that symbol.  So a more usual character is needed to be
    able to easily compose Ș, ș, Ț and ț.  The semicolon is normally only
    used for composing letters with ogoneks -- but only vowels take ogoneks,
    so the character is free for consonants, and thus <semicolon> is used
    here to compose commas below.  It is somewhat fitting, because on most
    Romanian keyboards the Ș is placed on that key, and the Ț next to it.
    
    (Oh -- the more obvious sequences with <comma> were already taken for
    composing S and T with cedillas.)
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit ca435c2f753aa2961fb35ac448cdb2cc77112755
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue Sep 3 21:10:33 2013 +0200

    nls: Ordering some compose sequences in a more customary way.
    
    The custom seems to be: pairing the ones that have only the sequence of
    two keys reversed, and putting the one with the diacritic first first.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit f020235f4bd91fb6eade82f8c9f7b85a57981768
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue Sep 3 20:44:42 2013 +0200

    nls: Adding compose sequences (with <parenleft> first) that GTK also has.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit bda0b3b5bd19154206dc40166364e73d4b6b1374
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue Sep 3 11:14:16 2013 +0200

    nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 8be4610939b833587954957f5963eb4191b43d19
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Mar 13 23:22:48 2014 -0700

    Fix "follwing" typo in en_US.UTF-8/Compose comment
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a
Author: Reuben Thomas <rrt@sc3d.org>
Date:   Mon Jan 27 14:18:24 2014 +0000

    en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d6bd988bc00494914b38b95ee5df77ac4f32f19f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Mar 3 12:38:48 2014 +1000

    man: fix man page for XkbGetMap
    
    Returned structure must be freed with XkbFreeKeyboard().
    
    Reported-by: Morten Bøgeskov <mb@dbc.dk>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit a6dcf2201a05adbff54122df05a1e6325936abb6
Author: Ran Benita <ran234@gmail.com>
Date:   Tue Feb 11 13:26:16 2014 +0200

    Remove dead USE_OWN_COMPOSE-protected code
    
    The build doesn't provide any way to define this option. It also refers
    to files (imComp.h) and functions (e.g. XimCompInitTables(),
    XimCompProcessSym()) which are not found anywhere, and the ordinary
    Compose implementation in xim doesn't use any of it.
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0
Author: Ran Benita <ran234@gmail.com>
Date:   Sun Feb 16 15:24:58 2014 +0200

    nls: always use XCOMM instead of # for comments in Compose.pre files
    
    Lines starting with # are considered as preprocessor directives in the
    .pre files.
    
    Fixes warnings like:
    <stdin>:3:0: error: invalid preprocessing directive #Khmer
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Feb 6 13:48:08 2014 -0800

    Fix typos in Xrm.c comments
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aacf95dacc7c598e7297894580d4d655593813b2
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Mon Jan 13 16:43:18 2014 +0200

    Annotate Finnish Compose map with Unicode code points
    
    Scripted annotation, no functional changes.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 20fdccd81b54678376d49e00edfebbbe94951f07
Author: Teemu Likonen <tlikonen@iki.fi>
Date:   Fri Jul 20 19:21:04 2012 +0300

    Fix "RING ABOVE" key in the Finnish compose file
    
    The Finnish keyboard standard defines that <dead_abovering> <space> must
    insert the character U+02DA RING ABOVE. Currently the Finnish Compose
    file inserts U+00B0 DEGREE SIGN even though the line's comment says
    "RING ABOVE". This commit changes the character to U+02DA RING ABOVE.
    
    Signed-off-by: Teemu Likonen <tlikonen@iki.fi>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7
Author: Ran Benita <ran234@gmail.com>
Date:   Wed Jan 29 02:11:47 2014 +0200

    nls: remove duplicate 'ohorn' and 'uhorn' compose sequences
    
    Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to
    keysyms:
    
     #define XK_Ohorn                      0x10001a0  /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */
     #define XK_ohorn                      0x10001a1  /* U+01A1 LATIN SMALL LETTER O WITH HORN */
    
    (and similarly for uhorn), there is no need to have both names. Remove
    the unicode literal ones.
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 18 22:35:18 2014 -0800

    Add RANDR 1.4 requests & events to XErrorDB
    
    Checked against randrproto.txt & randr.h
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 321392ded15a7ee9d177d4ebe8846336ba76741c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 3 20:04:33 2014 -0800

    Remove unused ETEST & ESZTEST macros from XlibInt.c
    
    Left behind when 15e5eaf62897 removed support for building without XCB.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>

commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 26 09:26:13 2013 -0800

    _XkbReadGeomOverlay: check for NULL first, then use pointer
    
    Flagged by cppcheck 1.62:
    [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]:
     (warning) Possible null pointer dereference: row - otherwise it is
     redundant to check it against null.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 26 09:22:49 2013 -0800

    XkbSelectEventDetails: remove unnecessary assignments
    
    clear & selectAll are set to 0 already a few lines earlier,
    affectWhich is set to XkbMapNotifyMask a few lines later.
    None are used between the other assignments and the removed ones.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Thu Oct 7 18:46:08 2010 +0100

    Don't try so hard to find a matching font with the given encoding
    
    See http://sourceware.org/bugzilla/show_bug.cgi?id=10948
    
    Currently, if the locale is UTF-8, no CJK fonts are installed, and someone
    does XCreateFontSet() with a font name of "*", we end up asking the server
    to list the (non-existent) fonts 11 times for each CJK encoding, which can
    take a while.
    
    A * wildcard can match multiple components in a XLFD name in XListFonts(),
    so there's no need to try adding more than one to get a match.
    
    We do try once with a leading '*-' in case the fontname isn't a full
    well-formed XLFD name, maybe even that isn't needed?
    
    (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus)
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7e163300735d4bcd3386b86eec112acdad139c59
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 2 21:51:27 2013 -0800

    unifdef -UISC
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu Sep 19 13:20:05 2013 +0200

    nls: Fix transposed locale identifier for Khmer.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0e45f64766c0557c8e99a979c70ca6f55664dae7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 16 20:21:54 2013 -0800

    Drop X_LOCALE fallback for OS'es without setlocale()
    
    C89 or bust!   This was documented as being needed for "only Lynx,
    Linux-libc5, OS/2" and has never been enabled in modular builds,
    since none of those platforms have had anyone step up to add support
    since the X11R7 conversion to autotools.
    
    Mostly performed with unifdef -UX_LOCALE, followed by removal of files
    left without any purpose, and manual cleanup of remaining references.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Oct 23 10:37:53 2013 -0700

    Xcms file parsing should not require the impossible to succeed
    
    The field2 helper function, to split lines from Xcms.txt files into
    two tab delimited fields, contained a check:
    
        if ((*pBuf != '\n') || (*pBuf != '\0')) {
            return(XcmsFailure);
    
    which would cause it to return failure unless *pBuf had a value that
    was simultaneously equal to both \n & \0, and no one wants to live in
    a world where that could ever be true.
    
    This has gone unnoticed since 1991, since this only caused lines
    in Xcms.txt that started with whitespace to be rejected, but now
    gcc -Wlogicalop has brought it to our attention, and
    https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed.
    
    Now that we see it, and cannot unsee it, we change it to use the
    same logic as the check at other points in this function, to return
    failure only if we hit \n or \0 before we find the first non-whitespace
    character, so that lines starting with whitespace will have the space
    skipped over to get to the color name to be defined.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

commit 18a5278b008e9faa59b346fcab18a8d74b875fda
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Sep 28 17:33:52 2013 -0400

    makekeys: don't need to use target-specific CFLAGS
    
    It's the only thing built in that directory, so we can use AM_CFLAGS
    and AM_CPPFLAGS as usual.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Sep 17 12:50:42 2013 -0400

    nls/en_US.UTF-8/Compose.pre: Fix typo.
    
    Fix typo added in 215ce6a67863, s/actute/acute/.
    
    Fixes bug #69476.  Reported by Jean Krohn.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit cb107760df33ffc8630677e66e2e50aa37950a5c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 8 18:37:01 2013 -0700

    libX11 1.6.2

commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun Sep 1 12:38:30 2013 +0200

    nls: Adding more accessible compose sequences for J́ and j́.
    
    Few keyboards have an <acute> key, so this adds the much more
    accessible and usual compose sequences with <apostrophe>, ánd
    the most comfortable ones with <dead_acute>.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 24 17:27:43 2013 -0700

    Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size
    
    Pass *new* size to realloc, not old size.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c2b8e30790c21d6386767265263b3294ce1b1f9a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 16 21:04:02 2013 -0700

    Stop checking for HAVE_DIX_CONFIG_H on the client side
    
    Leftover from when these XKB files were shared with the server sources
    and could be compiled in either the client or server, with the different
    autoconf config files in each.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 84276609b2f0aec74fb464c428c7db5714b0fcfc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 16 18:27:28 2013 -0700

    Rearrange some variable declarations & initializations in XKB
    
    Little things noticed during XKB restyling that seemed to make the
    code easier to read.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 11 13:29:33 2013 -0700

    Reindent XKB code to X.Org standard style
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c0a0f78eb49c2e4ad956209de77475c85b9314ea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 16 18:14:14 2013 -0700

    Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created
    
    We were checking to make sure that the largest keysym value was within
    the range of the allocated buffer, but checking against different limits
    in the not-yet-allocated vs. the already-allocated branches.
    
    The check should be the same in both, and reflect the size used for the
    allocation, which is based on the maximum key code value, so we move it
    to be a common check, before we branch, instead of duplicating in each
    branch.
    
    map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code]
    map->syms is the array for which num_syms is recorded, hence is not the
    right value to check for ensuring our key_sym_map accesses are in range.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reported-by: Barry Kauler <bkauler@gmail.com>
    Tested-by: Barry Kauler <bkauler@gmail.com>

commit bea6cbd027973142fc64532274e1d16861b47190
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 11 17:02:21 2013 -0700

    Remove long unused src/udcInf.c
    
    I can find no record of what this file was for.  Neither the X11R6.8.2
    monolith Imakefile nor any modular release Makefile.am have ever built
    it and nothing else references it.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bf3501e0395abe890acfea98fdd9f50a6966f118
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 11 00:07:33 2013 -0700

    Remove unnecessary casts of pointers to (char *) in calls to Xfree()
    
    Left one cast behind that is necessary to change from const char *
    to char * in src/xlibi18n/lcCharSet.c.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 23:57:55 2013 -0700

    Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc
    
    sizeof() returns size_t, malloc() & calloc() expect sizes in size_t,
    don't strip down to unsigned int and re-expand unnecessarily.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 25a7a329def672fc8d26078538173777850c6390
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 23:51:08 2013 -0700

    Remove even more casts of return values from Xmalloc/Xrealloc
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f8fa16092a148b74ca35b4beb182053352606f2f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 23:05:13 2013 -0700

    xlibi18n: fix argsize argument to _XlcParsePath
    
    The array is defined as having NUM_LOCALEDIR entries, so use that
    instead of hardcoded 256 value (the other two calls already did this).
    
    Reported by parfait:
       Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc
          Pointer size is 64 elements (of 8 bytes each), index is 255
            at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'.
            called at line 178 in function '_XlcParsePath' with argv = argv.
            called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256.
            at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'.
            called at line 178 in function '_XlcParsePath' with argv = argv.
            called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256.
    
    [ This bug was found by the Parfait 1.2.0 bug checking tool.
      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e7d46c6452c0b90fd66ae9f538546b968e0dd608
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 22:32:42 2013 -0700

    i18n modules: Fix some const cast warnings
    
    imRm.c: In function '_XimSetICMode':
    imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    lcGenConv.c: In function 'byteM_parse_codeset':
    lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 22:21:54 2013 -0700

    xlibi18n: Fix a bunch of const cast warnings
    
    Add const qualifiers to casts where needed, remove other casts that
    are no longer needed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 22:18:00 2013 -0700

    Fix const handling in XSetLocaleModifiers
    
    Instead of reusing the input parameter to store the output, make a
    result variable instead, so that there's less const confusion.
    
    Fixes gcc warnings:
    lcWrap.c: In function 'XSetLocaleModifiers':
    lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8ebbffa98563960910152e4f2e31cb032375d871
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 21:46:37 2013 -0700

    Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()
    
    Makes code considerably less crufty and clears gcc warnings:
    XlcDL.c: In function '_XlcDynamicLoad':
    XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier
     from pointer target type [-Wcast-qual]
    XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier
     from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 07e4e864107b38c2f393564fdacc90f4e858f23f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 13:37:53 2013 -0700

    init_om: remove unneeded extra copy of string to local buffer
    
    Strings from the supported_charset_list[] were being copied one by
    one to a stack buffer, and then strdup called on that buffer.
    
    Instead, just strdup the original string, without the local copy,
    and use a more traditional for loop, so it's easier to figure out
    what the code is doing (cleaning up a gcc const-cast warning in
    the process).
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 1cec14dad904ba21a861f4af131be5982ecb83dd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 12:34:53 2013 -0700

    Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 5f32182c7c4045540ff3833c48ee24a3a25726e2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 12:19:17 2013 -0700

    miRegionOp(): ensure region size is not updated if realloc fails
    
    This function performs operations on a region, and when finished,
    checks to see if it should compact the rectangle list.  If the
    number of rectangles for which memory is allocated in the list is
    more than twice the number used, it tries to shrink.   realloc()
    should not fail in this case, but if it does, might as well keep
    the correct value for the number of allocated rectangles, so we
    don't try to grow it unnecessarily later if adding to the region.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 12:19:17 2013 -0700

    miRegionCopy(): handle realloc failure better
    
    Zero out the region size when freeing the region so callers don't think
    there's anything there.   (Pointer is already set to NULL from the realloc
    result itself.)  Return 0 to the callers, and have them cascade that back
    to their callers to indicate failure, instead of their usual return value
    of 1 on success.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5dc8b5385d513bbda88697c2372db750d23f46d4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 11:27:22 2013 -0700

    Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 453c4ee436ef32d91501d7736d7a91c1aeafc565
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 12:07:51 2013 -0700

    Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 12:30:39 2013 -0700

    lcDB.c: ensure buffer size is updated correctly if realloc fails
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 10 11:07:47 2013 -0700

    Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object()
    
    Previously, if realloc failed to increase the size, we'd still
    record that we had allocated the larger size, but the pointer
    to it would be NULL, causing future calls to be broken, and the
    previous allocation to be lost/leaked.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 5d47a39978e92bb34ec928b1b15d71c0c2434870
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 23:33:03 2013 -0700

    omGeneric.c: convert sprintf calls to snprintf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 23:30:30 2013 -0700

    ximcp/imRm.c: convert sprintf calls to snprintf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 4fadae243fb485628c9a137f5da3489ed6214b21
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 23:02:12 2013 -0700

    xlibi18n: convert sprintf calls to snprintf
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 23:02:12 2013 -0700

    lcfile: skip over any null entries in args list
    
    Previous code seemed to assume that printf("%s", NULL) would result
    in a 0-length string, not "(null)" or similar, but since there's no
    point looking for files in "(null)/filepath...", instead we just
    skip over NULL entries in search paths when generating file names.
    
    In the *DirName() functions, this effectively just moves the "bail on
    NULL in arg[i]" check up from the later code that assigned it to targetdir
    and then bailed if that was NULL.
    
    Not sure how there ever could be a NULL in arg[i], given the current
    implementation of XlcParsePath, but it's easy enough to check once and
    reject up front instead of on every reference.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 9 22:00:09 2013 -0700

    Fix file leak on malloc error in XlcDL.c:resolve_object()
    
    File Leak: Leaked File fp
       at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'.
          fp initialized at line 198 with fopen
    
    [ This bug was found by the Parfait 1.2.0 bug checking tool.
      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 9b291044a240e5b9b031ed814e0c84e53a1c3084
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat Jun 15 18:02:21 2013 +0200

    Add missing locales to configure.ac
    
    Commits 40761898692e5063957bfa2518cca3d35b2e354a and
    f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales
    (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac,
    meaning they're not included in tarballs.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4
Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp>
Date:   Tue Dec 18 15:28:05 2012 +0000

    Fix bogus timestamp generated by XIM
    
    Fix bogus timestamp generted by XIM due to uninitialized
    data field. Also set appropriate serial, too.
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367
    
    Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e7fd6f0eda57300df4d6b695b7064610ca5dec57
Author: Egbert Eich <eich@freedesktop.org>
Date:   Thu Jun 16 18:47:49 2011 +0200

    XIM: Fix sync problem on focus change.
    
    XSetICFocus() and XUnsetICFocus() are both asynchronous events.
    This is a pretty stupid idea: those functions may undo certain
    settings on the client side for which requests from the server
    may still be in the queue unprocessed. Thus things may be set
    in the wrong order ie instead of set -> unest it will be unset -> set.
    Moreover there is no way for either the client or the server to
    cause the event queue to be flushed - which is pretty bad as
    XIM is bidirectional.
    The scenario is as follows:
    Two ICs are created:
            ic1 = XCreateIC(im,
                XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks,
                XNClientWindow, window,
                XNPreeditAttributes, preedit_attr,
                XNStatusAttributes, status_attr,
                NULL);
            ic2 = XCreateIC(im, XNInputStyle,
                           XIMPreeditNothing | XIMStatusNothing,
                           XNClientWindow, window, NULL);
    Then the focus is removed from ic2:
            XUnsetICFocus(ic2);
    If SCIM is used as the input server it will send a bunch of requests
    following an XCreateIC(). One of the requests registers a key release
    filter. XUnsetICFocus() unsets both key press and release filters.
    Since it is asynchronous, the input server requests to register key
    press and release filters may not have been processed, when XUnsetICFocus()
    is called. Since there is no explicite way for client programs to enforce
    the request queue to be flushed explicitely before an X[Set/Unset]ICFocus()
    call it would be safest to make those two calls synchronous in the sense
    that they ensure the request queue has been handled before they execute.
    The easiest way to do this from Xlib is thru a call to XGetICValues()
    which sends a request to the server and subsequently reads the queue
    from the server to the client. This will cause all outstanding requests
    in the queue to be read and handled.
    This is an ugly hack and this could be fixed directly in the client,
    however it seems to be easier to fix Xlib than to fix numerous clients.
    This problem arose since there is no well documented way how to handle
    and synchronize XIM requests and not all input servers send requests
    when an IC is created.
    This has been discussed extensively in:
     https://bugzilla.novell.com/show_bug.cgi?id=221326
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>

commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e
Author: Egbert Eich <eich@freedesktop.org>
Date:   Thu Jun 16 17:28:39 2011 +0200

    XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place.
    
    When synthesized key events are sent on commit XIM sets the 'fabricated'
    flag so that the keypress handler knows that these were not real events.
    This also happens when committing due to the loss of focus. However in this
    case the keypress/release filters which consume and unset this flag are no
    longer in the filter chain.
    So the flag is erronously set when a real keyboard event is received after
    focus has been regained. So the first event is wrongly treated as a
    fabricated key in the keypress handler which will at the same time reset
    the flag so the second key event is treated correctly.
    This fix only sets the flag when at least one of the keyboard filters is in
    place.
    How to reproduce this bug: run scim, choose a Japanese input method start
    two instances of xterm: start typing in one xterm (this should pop up an
    IM window). Without comitting (hitting 'enter') move focus to the other
    xterm, then move focus back. Start typing again. The first character will
    be committed immediately without popping up an input window.
    With this fix this behavior is gone.
    
    See also: https://bugzilla.novell.com/show_bug.cgi?id=239698
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>

commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 29 21:29:49 2013 -0700

    libX11 1.6.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d19cfaca15826943d3c637ef7fa5db0a23d5feed
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 27 12:19:00 2013 -0700

    Fix undefined XCMSDIR error when building lint library
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3083cd43d7dcd59da587975e7cadda681cd8a103
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 27 00:36:08 2013 -0700

    Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir
    
    Upstreaming from changes originally integrated into OpenSolaris
    under Sun bug id 6882572.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>

commit 208e586c808e88a2ee819e4450dc27f557afc2bf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 27 01:03:18 2013 -0700

    omGeneric: remove space between struct name & member name
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 23 22:18:46 2013 -0700

    Refactor common code from XAddHost & XRemoveHost into single function
    
    On the Xlib side, the only real difference is the mode flag we send
    to the server with the address, so just make that an argument to the
    function with the common code for packing the address into the request.
    
    (Aside from labels, gcc 4.7.2 generates identical code before & after
     this change due to inlining, verified via diff of gcc -S output.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3292195a64a9ce4f0d27134cd544651ec647e728
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jul 23 22:11:34 2013 -0700

    XSetModifierMapping: Use Data instead of GetReqExtra
    
    Handle arbitrary length data in the same fashion as other calls,
    avoiding need to ensure it fits all in the request buffer.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit feb131b18aee31c2c125dc3275b0260940245882
Author: Kees Cook <kees@outflux.net>
Date:   Sun Jun 9 11:13:43 2013 -0700

    libX11: check "req" when calling GetReqExtra
    
    This fixes the two callers of GetReqExtra to check that "req" is non-NULL
    to avoid crashing now that GetReqExtra does internal bounds-checking on
    the resulting buffer sizes.
    
    Additionally updates comment describing return values to use names
    instead of only literal values.
    
    Signed-off-by: Kees Cook <kees@outflux.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 54540d7cba0c2bfe9176221c7bca910058d304df
Author: Kees Cook <kees@outflux.net>
Date:   Sun Jun 9 11:13:42 2013 -0700

    libX11: check size of GetReqExtra after XFlush
    
    Two users of GetReqExtra pass arbitrarily sized allocations from the
    caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra
    macro) to double-check the requested length and invalidate "req" when
    this happens. Users of GetReqExtra passing lengths greater than the Xlib
    buffer size (normally 16K) must check "req" and fail gracefully instead
    of crashing.
    
    Any callers of GetReqExtra that do not check "req" for NULL
    will experience this change, in the pathological case, as a NULL
    dereference instead of a buffer overflow. This is an improvement, but
    the documentation for GetReqExtra has been updated to reflect the need
    to check the value of "req" after the call.
    
    Bug that manifested the problem:
    https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628
    
    Signed-off-by: Kees Cook <kees@outflux.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 25 22:35:29 2013 +0200

    Tighten out-of-range comparisons.
    
    [For all of these, LONG_MAX was the correct value to prevent overflows
     for the recent CVEs.   Lowering to INT_MAX catches buggy replies from
     the server that 32-bit clients would reject but 64-bit would accept,
     so we catch bugs sooner, and really, no sane & working server should
     ever report more than 2gb of extension names, font path entries,
     key modifier maps, etc.  -alan- ]
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 25 18:34:32 2013 +0200

    Fix out-of-range comparison in _XF86BigfontQueryFont
    
    clang complained (correctly):
    warning: comparison of constant 768614336404564650 with expression
    of type 'CARD32' (aka 'unsigned int') is always true
    [-Wtautological-constant-out-of-range-compare]
    
    [While LONG_MAX is correct, since it's used in size_t math, the
     numbers have to be limited to 32-bit range to be usable by 32-bit
     clients, and values beyond that range are far more likely to be
     bugs in the data from the server than valid numbers of characters
     in a font.   -alan- ]
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 383e2b0d029482a0f4c39fe00e15397538576fc1
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 25 18:33:56 2013 +0200

    Check for symbol existence with #ifdef, not #if
    
    Reviewed-by: Jamey Sharp <jamey@minilop.net>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9955d1c8de994a90fe7f2e3187e7362611d7d265
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 25 18:33:07 2013 +0200

    Use newer callback-based API for XIM.
    
    Let libX11 load and make available the newer (X11R6) callback-based
    API for XIM (expected by emacs).
    
    This patch updates the files to match the other nls/ files.
    
    Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org
    following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>.
    
    Reviewed-by: James Cloos <cloos@jhcloos.com>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a17ceb7100bd36c2db210473ee701deb5d515731
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 25 18:31:32 2013 +0200

    Stop truncating source to destination length if it is larger.
    
    It seems useless to do that since the code tests for both source
    length and destination to be non-zero. This fixes a cut'n'paste
    problem in xterm where the paste length was limited to 1024 (BUFSIZ)
    in button.c.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a336db9a0add3ae0783dda6e52459236622a12af
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 24 23:02:05 2013 -0700

    Require ANSI C89 pre-processor, drop pre-C89 token pasting support
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 7 11:30:11 2013 -0700

    troff macro expansion in specs/libX11
    
    Many of the custom nroff macros (.ds <macro> <contents>) were left
    unsubstituted in the nroff->docbook conversion.   This substitution
    is now performed, via the following perl script:
    
    #! /usr/bin/perl -w -i
    
    use Text::Wrap;
    
    while ($_ = <>) {
        while ($_ =~ m/\((\w+)\b/g) {
            my $m = $1;
            if (exists $macro{$m}) {
                $_ =~ s/\($m/$macro{$m}/;
                $_ = wrap('', '', $_);
                $_ =~ s/[ \t]+$//;
            }
        }
    
        if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) {
            my ($m, $s) = ($1, $2);
            $macro{$m} = $s;
            while ($macro{$m} =~ /\\\s*$/) {
                $macro{$m} =~ s/\\\s*$//ms;
                $macro{$m} .= <>;
                chomp($macro{$m});
            }
            $macro{$m} =~ s/\\ / /g;
        } else {
            print $_;
        }
    }
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 20c17bd9ebf767a24643279e45866dddcb57b5ce
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 7 09:27:26 2013 -0700

    specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
    
    The XListPixmapFormats arguments was being shown with XImageByteOrder's
    name and return types.   Appears to have been a glitch in the nroff ->
    docbook conversion.
    
    Reported-by: ZHANG Zhaolong <zhangzl2013@126.com>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ed3d830243c8a0eefaf24e15b11823272ffe5049
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jun 2 20:49:55 2013 +0200

    Deal with the limited range of VAX floating point numbers when compiling for VAX.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0a48235d63639fb917c44d27c86e928e79fbac66
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Jun 6 16:43:56 2013 -0400

    Remove call to undefined macro.

commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Jun 6 16:42:20 2013 -0400

    Remove call to undefined macro.

commit 8496122eb00ce6cd5d2308ee54f64b68c378e455
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 3 20:06:43 2013 -0700

    Update README to reflect where to find the Xlib specs now
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 655d631e86c95b14888758b27ed2836ca3e3ce86
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 3 19:21:06 2013 -0700

    libX11 1.6.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4a89b7ea908554628f374537a79931c8006a2de3
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jun 2 11:49:54 2013 -0700

    cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jun 2 20:49:48 2013 +0200

    XCreateGC man page: Avoid .TS H and .TH macros
    
    Avoid .TS H and .TH for now as it doesn't alter the output in this case,
    and improve the output with mandoc(1).
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 95a388158c9d73df7d24016d6a3d61506d7d53a4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu May 23 19:43:35 2013 -0700

    libX11 1.5.99.902 (1.6 RC2)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a3bdd2b090915fe0163b062f0e6576fe05dd332e
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu May 23 20:39:46 2013 +0200

    xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap
    
    The size of the arrays is max_key_code + 1.  This makes these functions
    consistent with the other checks added for CVE-2013-1997.
    
    Also check the XkbGetNames reply when names->keys was just allocated.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Tested-by: Colin Walters <walters@verbum.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7e30056e78e4b7979ff47f102e00327617266019
Author: Niveditha Rau <Niveditha.Rau@Oracle.COM>
Date:   Fri May 17 15:26:21 2013 -0700

    Make sure internal headers include required headers
    
    Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no
    longer ignores *.h files, but complains when they reference undefined
    typedefs or macros.
    
    Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2820100bf8ba130b94253f415e7fa5ac28bb2037
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu May 16 23:05:36 2013 -0700

    Free fs->properties in _XF86BigfontQueryFont overflow error path
    
    Fixes small memory leak introduced in commit 5669a22081
    
    Reported-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3131740513133a9ff7cb12123d29ceb18584fc38
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Wed May 8 19:33:09 2013 +0200

    XListFontsWithInfo: Re-decrement flist[0] before calling free() on it.
    
    Freeing a pointer that wasn't returned by malloc() is undefined
    behavior and produces an error with OpenBSD's implementation.
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Apr 19 14:30:40 2013 -0700

    Give GNU & Solaris Studio compilers hints about XEatData branches
    
    Try to offset the cost of all the recent checks we've added by giving
    the compiler a hint that the branches that involve us eating data
    are less likely to be used than the ones that process it.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e1b457beb8d4e831ef44279dada6c475cb955738
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Mar 31 12:22:35 2013 -0700

    _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode
    
    Various other bounds checks in the code assume this is true, so
    enforce it when we first get the data from the X server.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 12ad4c6432496897ff000eb7cfecd0fb4b290331
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 16 10:03:13 2013 -0700

    Use calloc in XOpenDisplay to initialize structs containing pointers
    
    Prevents trying to free uninitialized pointers if we have to bail out
    partway through setup, such as if we receive a corrupted or incomplete
    connection setup block from the server.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d38527e25f8b6e2f1174ecc21260c5c5416f972e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Mar 7 23:46:05 2013 -0800

    Remove more unnecessary casts from Xmalloc/calloc calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 16:56:16 2013 -0800

    Convert more _XEatData callers to _XEatDataWords
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 9 11:04:37 2013 -0800

    Make XGetWindowProperty() always initialize returned values
    
    Avoids memory corruption and other errors when callers access them
    without checking to see if XGetWindowProperty() returned an error value.
    
    Callers are still required to check for errors, this just reduces the
    damage when they don't.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit db1b1c871da29aa0545182bf888df81627f165a5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 15:08:21 2013 -0800

    Avoid overflows in XListExtensions() [CVE-2013-1997 15/15]
    
    Ensure that when breaking the returned list into individual strings,
    we don't walk past the end of allocated memory to write the '\0' bytes
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 8d5936594993921acdfec778dd8f41b555e2543a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 15:08:21 2013 -0800

    Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15]
    
    Ensure that when breaking the returned list into individual strings,
    we don't walk past the end of allocated memory to write the '\0' bytes
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 0c404db6a92dc2c198328bf586c02d8abbe02013
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 15:08:21 2013 -0800

    Avoid overflows in XListFonts() [CVE-2013-1997 13/15]
    
    Ensure that when breaking the returned list into individual strings,
    we don't walk past the end of allocated memory to write the '\0' bytes
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 15:08:21 2013 -0800

    integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13]
    
    Ensure that we don't underallocate when the server claims a very large reply
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit a351b8103b2ba78882e1c309e85893ca3abe2073
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 15:08:21 2013 -0800

    integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13]
    
    Ensure that we don't underallocate when the server claims a very large reply
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 15:08:21 2013 -0800

    integer overflow in XGetImage() [CVE-2013-1981 11/13]
    
    Ensure that we don't underallocate when the server claims to have sent a
    very large reply.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 8 22:25:35 2013 -0800

    integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13]
    
    If the reported number of properties is too large, the calculations
    to allocate memory for them may overflow, leaving us returning less
    memory to the caller than implied by the value written to *nitems.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 13:18:48 2013 -0800

    integer overflows in TransFileName() [CVE-2013-1981 9/13]
    
    When trying to process file paths the tokens %H, %L, & %S are expanded
    to $HOME, the standard compose file path & the xlocaledir path.
    If enough of these tokens are repeated and values like $HOME are set to
    very large values, the calculation of the total string size required to
    hold the expanded path can overflow, resulting in allocating a smaller
    string than the amount of data we'll write to it.
    
    Simply restrict all of these values, and the total path size to PATH_MAX,
    because really, that's all you should need for a filename path.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 18:37:37 2013 -0800

    integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13]
    
    Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE")
    to specify filename.
    
    If the size of off_t is larger than the size of unsigned long (as in
    32-bit builds with large file flags), a file larger than 4 gigs could
    have its size truncated, leading to data from that file being written
    past the end of the undersized buffer allocated for it.
    
    While configure.ac does not use AC_SYS_LARGEFILE to set large file mode,
    builders may have added the large file compilation flags to CFLAGS on
    their own.
    
    size is left limited to an int, because if your Xim file is
    larger than 2gb, you're doing it wrong.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 226622349a4b1e16064649d4444a34fb4be4f464
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 12:39:58 2013 -0800

    Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2]
    
    parseline() can call _XimParseStringFile() which can call parseline()
    which can call _XimParseStringFile() which can call parseline() ....
    eventually causing recursive stack overflow and crash.
    
    Limit is set to a include depth of 100 files, which should be enough
    for all known use cases, but could be adjusted later if necessary.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 236b603d235dc264d1c6250dca09c745458a9088
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 12:01:39 2013 -0800

    Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2]
    
    GetIncludeFile() can call GetDatabase() which can call GetIncludeFile()
    which can call GetDatabase() which can call GetIncludeFile() ....
    eventually causing recursive stack overflow and crash.
    
    Easily reproduced with a resource file that #includes itself.
    
    Limit is set to a include depth of 100 files, which should be enough
    for all known use cases, but could be adjusted later if necessary.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 076428918e6c35f66b9b55c3fa097ff06496d155
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 18:37:37 2013 -0800

    integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13]
    
    Called from XrmGetFileDatabase() which gets called from InitDefaults()
    which gets the filename from getenv ("XENVIRONMENT")
    
    If file is exactly 0xffffffff bytes long (or longer and truncates to
    0xffffffff, on implementations where off_t is larger than an int),
    then size may be set to a value which overflows causing less memory
    to be allocated than is written to by the following read() call.
    
    size is left limited to an int, because if your Xresources file is
    larger than 2gb, you're very definitely doing it wrong.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 90fd5abac2faca86f9f100353a3c9c7b89f31484
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 11:44:19 2013 -0800

    Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13]
    
    LoadColornameDB() calls stringSectionSize() to do a first pass over the
    file (which may be provided by the user via XCMSDB environment variable)
    to determine how much memory needs to be allocated to read in the file,
    then allocates the returned sizes and calls ReadColornameDB() to load the
    data from the file into that newly allocated memory.
    
    If stringSectionSize() overflows the signed ints used to calculate the
    file size (say if you have an xcmsdb with ~4 billion lines in or a
    combined string length of ~4 gig - which while it may have been
    inconceivable when Xlib was written, is quite possible today), then
    LoadColornameDB() may allocate a memory buffer much smaller than the
    amount of data ReadColornameDB() will write to it.
    
    The total size is left limited to an int, because if your xcmsdb file
    is larger than 2gb, you're doing it wrong.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit b9ba832401734e1cbd30a930c0d11d850293f3f9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 11:25:25 2013 -0800

    unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15]
    
    Check the provided buffer size against the amount of data we're going to
    write into it, not against the reported length from the ClientMessage.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit de2e6c322c4aca22856b380f67f8e488e7510015
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 11:11:08 2013 -0800

    unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15]
    
    If the X server returns key name indexes outside the range of the number
    of keys it told us to allocate, out of bounds memory writes could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 2df882eeb3a70256170127a746a9ba26376599a1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 11:01:04 2013 -0800

    unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15]
    
    If the X server returns modifier map indexes outside the range of the number
    of keys it told us to allocate, out of bounds memory writes could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 4d7c422a37eb9617fb22f8e37527c2b34b105665
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 11:04:44 2013 -0800

    unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15]
    
    If the X server returns key indexes outside the range of the number of
    keys it told us to allocate, out of bounds memory writes could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 10:51:51 2013 -0800

    unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15]
    
    If the X server returns modifier map indexes outside the range of the number
    of keys it told us to allocate, out of bounds memory writes could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 10:39:21 2013 -0800

    unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15]
    
    If the X server returns key behavior indexes outside the range of the number
    of keys it told us to allocate, out of bounds memory writes could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 00626c3830b869259098985afa38933d77ccec72
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 09:40:22 2013 -0800

    unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15]
    
    If the X server returns key action indexes outside the range of the number
    of keys it told us to allocate, out of bounds memory access could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 09:28:33 2013 -0800

    unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15]
    
    If the X server returns keymap indexes outside the range of the number of
    keys it told us to allocate, out of bounds memory access could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 59ae16a00d18588e98af57d26e442af8ea42b7aa
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 09:18:26 2013 -0800

    unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15]
    
    If the X server returns color indexes outside the range of the number of
    colors it told us to allocate, out of bounds memory access could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit bff938b9fe1629cbacb726509edfa2a3840b7207
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 09:12:47 2013 -0800

    unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15]
    
    If the X server returns shape indexes outside the range of the number
    of shapes it told us to allocate, out of bounds memory access could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit f293659d5a4024bda386305bb7ebeb4647c40934
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 22:49:01 2013 -0800

    unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15]
    
    If the X server returns more buttons than are allocated in the XKB
    device info structures, out of bounds writes could occur.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 19:30:09 2013 -0800

    unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15]
    
    If a broken server returned larger than requested values for nPixels or
    nMasks, XAllocColorCells would happily overflow the buffers provided by
    the caller to write the results into.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 22:49:01 2013 -0800

    integer overflow in XListHosts() [CVE-2013-1981 5/13]
    
    If the reported number of host entries is too large, the calculations
    to allocate memory for them may overflow, leaving us writing beyond the
    bounds of the allocation.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 22:49:01 2013 -0800

    integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13]
    
    If the reported number of motion events is too large, the calculations
    to allocate memory for them may overflow, leaving us writing beyond the
    bounds of the allocation.
    
    v2: Ensure nEvents is set to 0 when returning NULL events pointer
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 39515b7c3ba8cae9021bf6695e378ae19487082f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 22:49:01 2013 -0800

    integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13]
    
    If the reported number of remaining fonts is too large, the calculations
    to allocate memory for them may overflow, leaving us writing beyond the
    bounds of the allocation.
    
    v2: Fix reply_left calculations, check calculated sizes fit in reply_left
    v3: On error cases, also set values to be returned in pointer args to 0/NULL
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5669a220816b7d58fcaf0c302ead16fbe5c87817
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 21:05:27 2013 -0800

    integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13]
    
    Similar to _XQueryFont, but with more ways to go wrong and overflow.
    Only compiled if libX11 is built with XF86BigFont support.
    
    v2: Fix reply_left calculations, check calculated sizes fit in reply_left
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6df8a63d34b7514077188e2062a13774f920c085
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 21:05:27 2013 -0800

    integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13]
    
    If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an
    unsigned long, then too small of a buffer will be allocated for the
    data copied in from the reply.
    
    v2: Fix reply_left calculations, check calculated sizes fit in reply_left
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9f5d83706543696fc944c1835a403938c06f2cc5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 20:54:24 2013 -0800

    Add _XEatDataWords to discard a given number of 32-bit words of reply data
    
    Matches the units of the length field in X protocol replies, and provides
    a single implementation of overflow checking to avoid having to replicate
    those checks in every caller.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit d7f04c340ade3834e603c23d543132e1ee4e0c63
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 13:03:55 2013 -0800

    Move repeated #ifdef magic to find PATH_MAX into a common header
    
    Lets stop duplicating the mess all over
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1
Author: Pander <pander@users.sourceforge.net>
Date:   Tue May 7 18:38:14 2013 -0400

    Add compose sequences for J́ and j́.
    
    The resulting sequences are:
    
      U+004A LATIN CAPITAL LETTER J  U+0301 COMBINING ACUTE ACCENT
      U+006A LATIN SMALL LETTER J    U+0301 COMBINING ACUTE ACCENT
    
    Used in Dutch, per:
    
      http://lists.x.org/archives/xorg-devel/2013-February/035514.html
      https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling
    
    Signed-off-by: Pander <pander@users.sourceforge.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 16 18:30:56 2013 -0700

    Move big request comment in XOpenDisplay to the right place
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 9 19:16:03 2013 -0800

    libX11 1.5.99.901 (1.6 RC1)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 8 22:33:28 2013 -0800

    Fix very weird indenting in src/GetFProp.c
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 8 15:37:33 2013 -0800

    XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL
    
    While the C standard technically allows for the compiler to translate
    pointer = 0 or pointer = NULL into something other than filling the
    pointer address with 0 bytes, the rest of the Xlib code already assumes
    that calloc initializes any pointers in the struct to NULL, and there
    are no known systems supported by X.Org where this is not true.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 39547d600a13713e15429f49768e54c3173c828d
Author: Karl Tomlinson <xmail@karlt.net>
Date:   Mon Feb 18 01:25:34 2013 +0000

    MakeBigReq: don't move the last word, already handled by Data32
    
    MakeBigReq inserts a length field after the first 4 bytes of the request
    (after req->length), pushing everything else back by 4 bytes.
    
    The current memmove moves everything but the first 4 bytes back.
    If a request aligns to the end of the buffer pointer when MakeBigReq is
    invoked for that request, this runs over the buffer.
    Instead, we need to memmove minus the first 4 bytes (which aren't moved),
    minus the last 4 bytes (so we still align to the previous tail).
    
    The 4 bytes that fell out are already handled with Data32, which will
    handle the buffermax correctly.
    
    The case where req->length = 1 was already not functional.
    
    Reported by Abhishek Arya <inferno@chromium.org>.
    
    https://bugzilla.mozilla.org/show_bug.cgi?id=803762
    
    Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e
Author: Quentin Glidic <sardemff7+git@sardemff7.net>
Date:   Tue Jan 15 21:07:17 2013 +0000

    nls/Makefile.am: Use LOG_COMPILER
    
    TESTS_ENVIRONMENT is deprecated
    
    Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit df66d7a98e2bc7f44fb5583b645df87d525f07f1
Author: Quentin Glidic <sardemff7+git@sardemff7.net>
Date:   Tue Jan 15 21:07:16 2013 +0000

    nls/Makefile.am: Remove unneeded $(srcdir)
    
    Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 2 12:01:39 2013 -0800

    Add <X11/Xresource.h> hint to all Xrm* man pages
    
    Help users figure out which header file they need to #include
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 8 17:13:09 2013 -0800

    _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 47d2eff64d167b3245d346d7f38ca703be645e26
Author: Ken Moffat <ken@linuxfromscratch.org>
Date:   Thu Mar 7 18:27:54 2013 -0500

    dead_double_grave and dead_inverted_breve should only have one underscore.
    
    Correct instances of dead_double_grave and dead_inverted_breve to
    dead_doublegrave and dead_invertedbreve.
    
    Signed-off-by: Ken Moffat <ken@linuxfromscratch.org>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit c23d61d1b84dca3740bf4786978c7908d0065fb9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 18:10:27 2013 -0800

    Assume size_t is always available, since it was defined in C89
    
    Don't provide a fallback definition #ifdef X_NOT_POSIX anymore.
    We already use size_t throughout the rest of Xlib, just had this
    one instance left in XKBGAlloc.c of a fallback definition.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 1 18:09:07 2013 -0800

    unifdef XKB_IN_SERVER
    
    Leftovers from XKB files that were previously shared between the client
    and server code, but aren't any more.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 769a0efa2298040fe8316a89fc9e75fb61e288e5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Feb 28 20:04:25 2013 -0800

    unifdef CRAY & _CRAY
    
    (mostly performed with unifdef, followed by some manual cleanup of
     the remaining code)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit ca106eb03e5f5468df8033300c5caae3d3c6936b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Feb 28 20:04:25 2013 -0800

    unifdef WORD64
    
    WORD64 seems to have only been defined in <X11/Xmd.h> when building for
    CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having
    64-bit alignment requirements.
    
    It hadn't been fully supported even before autotooling, as can be
    seen by removed code such as:
    
     #ifdef WORD64
     _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
     #endif
    
    (mostly performed with unifdef, followed by some manual cleanup of
     the remaining code)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Feb 28 20:04:25 2013 -0800

    unifdef MUSTCOPY
    
    MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for
    CRAY, to handle missing some sizes of integer type.
    
    (mostly performed with unifdef, followed by some manual cleanup of
     spacing/indenting in the remaining code)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit b687440c28c7da6ee0ae44514d20248db5161606
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 16 10:42:23 2013 -0800

    Convert more sprintf calls to snprintf
    
    You could analyze most of these and quickly recognize that there was no
    chance of buffer overflow already, but why make everyone spend time doing
    that when we can just make it obviously safe?
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b092dabbd712d7b656abcf572d253b9b206c0237
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 15 23:43:12 2013 -0800

    XKeysymToString: move variable declarations to the scope of their usage
    
    Makes it easier for readers to understand scope of variable usage, and
    clears up gcc warning:
    
    KeysymStr.c: In function 'XKeysymToString':
    KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow]
    KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f0b171c8ea7b055ba520272ea9a2604e18841ac7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 15 23:34:40 2013 -0800

    Preserve constness in casting arguments through the Data*() routines
    
    Casts were annoying gcc by dropping constness when changing types,
    when routines simply either copy data into the request buffer or
    send it directly to the X server, and never modify the input.
    
    Fixes gcc warnings including:
    ChProp.c: In function 'XChangeProperty':
    ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    SetHints.c: In function 'XSetStandardProperties':
    SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    SetPntMap.c: In function 'XSetPointerMapping':
    SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    StBytes.c: In function 'XStoreBuffer':
    StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    StName.c: In function 'XStoreName':
    StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    StName.c: In function 'XSetIconName':
    StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6c558ee357292dd9dfc6d9006f4525f625327c52
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 15 22:58:54 2013 -0800

    Fix comment typo & confusing indentation levels in Data() macro definition
    
    The final } matches the one on the #define line, not one that doesn't
    appear after the else statement it was lined up with
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit afd6593da90e51234d59f8921c411317f91ab48b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 15 23:25:38 2013 -0800

    XStringToKeysym: preserve constness when casting off unsignedness for strcmp
    
    Fixes gcc warning:
    StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 15 23:14:40 2013 -0800

    XRebindKeysym: Drop unnecessary const-removing cast
    
    C89 defines memcpy as taking a const void *, so casting from
    const unsigned char * to char * simply angers gcc for no benefit:
    
    KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 54527eab93d46055cf11eb6c18abb353a03ae544
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 15 22:45:19 2013 -0800

    cmsColNm.c: maintain constness of arguments to qsort helper function
    
    Fixes gcc warning:
    
    cmsColNm.c: In function 'FirstCmp':
    cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit deedeada53676ee529d700bf96fde0b29a3a1def
Author: Nickolai Zeldovich <nickolai@csail.mit.edu>
Date:   Tue Jan 22 10:03:00 2013 -0500

    XListFontsWithInfo: avoid accessing realloc'ed memory
    
    If exactly one of the two reallocs in XListFontsWithInfo() fails, the
    subsequent code accesses memory freed by the other realloc.
    
    Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f57fd760cba92ad846917f21e94e73e9c846185f
Author: Colin Walters <walters@verbum.org>
Date:   Wed Jan 4 17:37:06 2012 -0500

    autogen.sh: Implement GNOME Build API
    
    http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jan 15 14:28:48 2013 -0500

    configure: Remove AM_MAINTAINER_MODE
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Dec 26 22:57:39 2012 -0800

    Remove unused DECnet ("DNETCONN") code from Xlib
    
    Has never been converted to build in modular builds, so has been unusable
    since X11R7.0 release in 2005.  DNETCONN support was removed from xtrans
    back in 2008.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Dec 26 22:56:38 2012 -0800

    Remove unused TLI ("STREAMSCONN") code from Xlib
    
    Has never been converted to build in modular builds, so has been unusable
    since X11R7.0 release in 2005.  All known platforms with TLI/XTI support
    that X11R7 & later releases run on also have (and mostly prefer) BSD
    socket support for their networking API.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 59c9ee8cd58857c5769b643611cbe526005a9e45
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Dec 16 17:44:42 2012 -0800

    Tell clang not to report -Wpadded warnings on public headers we can't fix
    
    Better to silence the compiler warning than break ABI.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0b148750027fd0557c5ed93afda861ddf4b92e0f
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Mon Nov 12 17:27:52 2012 +0000

    Fix config check for loadable modules
    
    The config check of the results of testing for dlfcn.h or dl.h just tests the
    value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking
    it is 'yes', so loadable module support would always be detected.
    
    This is necessary for successful compilation for the MinGW target without the
    optional dlfcn-win32 library.
    
    v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works
    correctly when dlfcn.h is available
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

commit cd25cab4b5b957641183ce72dd1ae0424aff1663
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 18:27:02 2011 +0200

    Install Xcms.txt in $(datadir) rather than $(libdir).
    
    This file is an architecture independent data and should be where
    other databases are.
    This is the Xlib provided sample file, applications are free to
    use a different one specifying its location in the XCMSDB env
    variable.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 18:25:24 2011 +0200

    Don't hard code path to Xcms.txt file.
    
    The path to this file is configurable at build time. The source
    however contains a hard coded path.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9833489e6c3829a1e835bc0a11f028fc180809e4
Author: Colin Walters <walters@verbum.org>
Date:   Fri Dec 7 08:51:21 2012 -0500

    Fix build after dropping locales
    
    They also needed to be removed from configure.ac
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 0a740a574aaf0c0eec78859b773a532cff3b74c3
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 13:04:11 2011 +0200

    i18n: Uppercased all occurances if 'iso8859' in the full locale name.
    
    Making all occurances of iso8859 upper case in the full local name
    makes the alias entries more consistent and match the entries on
    locale.dir.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5e7d589697755a70fb22d85c6a1ae82b39843e53
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 17:55:49 2011 +0200

    i18n: Remove ja.S90 and ja.U90 locales.
    
    Both locales carry a copyright notice and a prorietary statement:
    
    Copyright 1995 by FUJITSU LIMITED
    This is source code modified by FUJITSU LIMITED under the Joint
    Development Agreement for the CDEnext PST.
    This is unpublished proprietary source code of FUJITSU LIMITED
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 16:46:15 2011 +0200

    i18n: Bring locale.dir and compose.dir in sync.
    
    Some entries for locale/encoding combinations were missing from
    either file or just misspelled, some entries were wrong or just
    aliases.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d1e6baa4e290b758e430077cb74e7c03ad850771
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 14:02:39 2011 +0200

    i18n: Treat 'a3_AZ' as an alias for 'az_AZ'.
    
    locale.alias contains a comment:
    XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3".
    Thus lets treat 'a3' as an alias for 'az'.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net>

commit fa2aab0bea18efa26a56977d3166277582ab7b07
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 13:09:38 2011 +0200

    i18n: Fixed typos in full locale names.
    
    Fixing those typos those names actually match entries in
    locale.dir.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b88dd95005dce4c40f9b4d5f938f945e7955fd04
Author: Egbert Eich <eich@freedesktop.org>
Date:   Sat May 21 07:29:38 2011 +0200

    i18n: Remove duplicates and aliases to oneself.
    
    Aliases to itself don't make much sense.
    This changes occurances of:
    xy_UV.UTF-8:                    xy_UV.UTF-8
    to
    xy_UV:                  xy_UV.UTF-8
    where applicable.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit f198c6aa98f88ff285d903175a3c4c0fd33a4575
Author: Jens Herden <jens.herden@email.de>
Date:   Fri May 20 17:29:03 2011 +0200

    i18n: Add support for Khmer locale and compose table.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 40761898692e5063957bfa2518cca3d35b2e354a
Author: Kalman Kemenczy <kkemenczy@novell.com>
Date:   Fri May 20 17:03:24 2011 +0200

    i18n: Add support for Serbian specific compose table entries.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 14:00:35 2011 +0200

    i18n: Adding and removing comments.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 7754d68976106183751243c2c35a84134be17b34
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 13:45:31 2011 +0200

    i18n: Add missing locales which existed in locale.alias.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 952eccd0d25ba66023acfd31873eee2e71c38c42
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri May 20 10:57:57 2011 +0200

    i18n: Consolidate compose handling for locales with UTF-8 encoding.
    
    - add an entry to include the default en_US compose file
      for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales.
    - add missing entries for zh_CN. and zh_HK and am_ET.
    - change entries for the UTF-8 encoding for ru_RU, ja_JP,
      ko_KR, th_TH and zh_TW to point to their native directory
      entries.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit d14b6a250f004fa405179db7020f6953001d17b9
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Mon Oct 22 13:54:11 2012 -0500

    XIM: remove Private and Public macros
    
    Private is a struct member name in mingw-w64 <winioctl.h>, causing this
    useless define in a private header to break the build.
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>

commit f2a8def423a46d52e834cf7ea49fa0079427663a
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Oct 17 14:40:43 2012 -0400

    XErrorDB: Add GLXBadProfileARB
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit d45b3fc19fbe95c41afc4e51d768df6d42332010
Author: Ross Burton <ross.burton@intel.com>
Date:   Wed Sep 12 14:39:40 2012 +0100

    Allow overriding location of keysymdef.h
    
    Currently keysymdef.h is found by using the includedir of xproto.  This doesn't
    work when cross-compiling with a sysroot as that ends up being /usr/include/X11,
    not a path into the cross-build environment.
    
    So, add an option to allow explicitly specifying the location of keysymdef.h,
    and verify that the specified or found path exists.
    
    (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself)
    
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit 44cdc0dc2c68d67654023ec707b807145d3a38c0
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 19:15:07 2012 -0400

    Renove some unnecessary low-level markup.
    
    Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter.
    This appears to have been somebody's thinko, it's only in a few of the files.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit b686600ab5ca93b5750f827786e79c329ab2db4d
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 10:53:33 2012 -0400

    The .NT/.NE macro pair is no longer used.  Remove it.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit b83f2898528c5dd683acd2a2143879a760a8dad5
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 10:42:46 2012 -0400

    Remove the one and only use of the .NT/.NE pair.
    
    The problem with these macros is that they rely on being able to
    center the note label.  That doesn't play well with modern HTML,
    not anyway without coomplications like CSS.  This use was just a cute
    trick, not adding enough value to be kept.

commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 10:23:45 2012 -0400

    The .C{ and .C} macros are never used.  Remove them.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 10:08:08 2012 -0400

    The .FN macro, paired with .FD, is also never used. Remove it.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit cac6572701c976542da562b2b277b07ffb892a6f
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 10:03:00 2012 -0400

    The ".FD" macro is never used.  Remove it.
    
    It was a temptation to presentation-level klugery and is best gone.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit 6e27a828f39f7028bc7f4a8736e7262fca250632
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 09:54:25 2012 -0400

    Clean up, my last commit missed four cases.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Thu Aug 23 08:24:17 2012 -0400

    Eliminate all uses of tab stops in the libX11 man pages.
    
    Two steps: First, expand tabs to 8 spaces in code and structure
    listings.  Second, make the .Ds used to wrap code listings switch to
    constant-width font (CW) rather than numeric font position 1, which
    maps to R on most systems.
    
    It is possible some archaic systems won't know what CW is, but the
    only risk is that code listings won't look quite right on troff
    devices; the PostScript and DVI drivers definitely grok it, so those
    important cases are OK.
    
    The purpose of these changes is to get rid of presentation-level
    markup so these pages will lift clean to DocBook.
    
    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>

commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5
Author: Will Thompson <will@willthompson.co.uk>
Date:   Mon Jul 9 18:00:27 2012 +0100

    Add compose sequences for "therefore" and "because".
    
    These sequences look sensible to me. I added them to the APL-related
    section of Mathematical Operators—they're in that section of Unicode
    anyway.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=51922
    
    Signed-off-by: Will Thompson <will@willthompson.co.uk>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit 65358ea5079236b2508f787ac2fb2024a477e36d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 29 23:08:04 2012 -0700

    Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 29 22:57:13 2012 -0700

    XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails
    
    Fixes leaks in error paths found by Parfait 1.0.0:
    
    Error: X Resource Leak
       Leaked X Resource pix
            at line 62 of CrBFData.c in function 'XCreateBitmapFromData'.
              pix initialized at line 60 with XCreatePixmap
    Error: X Resource Leak
       Leaked X Resource pix
            at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'.
              pix initialized at line 66 with XCreatePixmap
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Aaron Plattner <aplattner@nvidia.com>

commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jun 6 13:31:16 2012 -0700

    libX11 spec: Correct prototype for XConvertSelection
    
    selection & target parameters were accidentally run together
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 1 23:37:09 2012 -0700

    libX11 1.5.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 05c587ec3be880721131a17c1dd4366e458fdd8b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat May 26 14:37:28 2012 -0700

    libX11 1.4.99.902 (1.5 RC2)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d817834d9772e3500d5102e2eae868b04a33c31f
Author: Pander <pander@users.sourceforge.net>
Date:   Sat May 5 19:02:10 2012 +0200

    Compose: Reassigned squences with minus and a or o
    
    Reassigned squences with minus and a or o (vice versa and lower and
    upper case) to conform existing series and not resulting in tilde.
    Also added noe missing underscore sequence.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00
Author: Pander <pander@users.sourceforge.net>
Date:   Sat May 5 16:56:05 2012 +0200

    Compose: Removed <slash> <U> and vice versa
    
    Combination with lower case u suffices
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3a8b1637132d1e36eb5e11f52dfb284081772d14
Author: Pander <pander@users.sourceforge.net>
Date:   Sat May 5 16:44:31 2012 +0200

    Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit fd514d7a35119dd4413b51c84f2a536f2ca501a6
Author: Pander <pander@users.sourceforge.net>
Date:   Sat May 5 16:40:20 2012 +0200

    Compose: Removed <S> in combination with a numeral for superscript
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d
Author: Pander <pander@users.sourceforge.net>
Date:   Sat May 5 16:28:01 2012 +0200

    Compose: Reassigned <o> <apostrophe> to oacute, also for upper case.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu May 10 12:27:28 2012 -0400

    Remove duplicate compose sequences from commit e51e37c118ae.
    
    The compose-check script only handles compiled Compose files, not
    the Compose.pre files.  One must remember to use:
    
        ./autogen.sh; make; make check
    
    when reviewing patches to the Compose.pre files....
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit e51e37c118ae6cb9ced8244ce1c410677e0279ce
Author: Geoff Streeter <geoff@dyalog.com>
Date:   Thu Mar 22 15:02:00 2012 +0000

    Add APL support to compose
    
    Signed-off-by: Geoff Streeter <geoff@dyalog.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit dac90324cee224df977a428afe80d960dceca769
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat May 5 16:05:07 2012 +0200

    configure: make previous change work with older autoconf
    
    autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC.  So do
    the tests separately.
    
    Reported-by: Dave Airlie
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit f5b50af4324186962e258ffe9be78d5ee4681982
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Apr 29 16:43:09 2012 +0200

    configure: check if issetugid is declared
    
    GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't
    declare it anywhere, causing gcc to error out with
    -Werror=implicit-function-declaration.  Use AC_CHECK_DECL in addition to
    AC_CHECK_FUNC so we disable this code instead of failing to build it.
    
    Debian bug#669670 <http://bugs.debian.org/669670>
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Apr 30 16:36:47 2012 +1000

    Typo fix
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit b64969f0e510d5d3300cf968741a3726a6409577
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 17 18:12:02 2012 -0700

    Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 17 18:01:36 2012 -0700

    Add olinks from libX11 & localedb specs to ICCCM spec
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b3c1b8cdab7d14220426c9b997ac362dc16318fc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 17 17:49:44 2012 -0700

    Add olinks from libX11 spec to ICCCM spec
    
    Also convert ICCCM title mentions from <emphasis> to <citetitle>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ebebb65e753007ad01966dccc90bd6ca9a826488
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Apr 14 23:40:01 2012 -0700

    libX11 AppC: Fix section headers that didn't translate from nroff properly
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>

commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Apr 14 23:13:05 2012 -0700

    Add olinks from libX11 spec to x11protocol spec
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 83878a0e34fffd255597300dd3e6cd43fcd645b0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Apr 14 22:28:53 2012 -0700

    libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit abc523fce31fcf2687229697a8eb656e343ecb0c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Mar 15 22:14:45 2012 -0700

    libX11 1.4.99.901 (1.5 RC1)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b2cc5905a4a6d519957223e8ba2caef71520040c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Mar 15 22:03:21 2012 -0700

    Remove "register" qualifier that annoys Solaris Studio compiler
    
    Fixes warning:
    "Xrm.c", line 1094: warning: storage class after type is obsolescent
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 62d42953893f93a98db0504eaf06d650ceaf5811
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed Mar 14 17:25:46 2012 -0400

    Fix the gtk+ additions
    
    (Some of) the Dstroke and dstroke entries already were present as U011[01],
    even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h.
    
    The addition of <Multi_key> <o> <apostrophe> as a postfix version of
    <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ.
    That prevents its and <Multi_key> <O> <apostrophe>’s addition.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 91bcce48d94792f78333d2aea73961cc2e739d2e
Author: Pander <pander@users.sourceforge.net>
Date:   Wed Mar 14 12:54:53 2012 -0400

    Complete compose key sequences for musical symbols
    
    Signed-off-by: Pander <pander@users.sourceforge.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit cf040016d455bc37f7665d6714337c5eafd8ea94
Author: Pander <pander@users.sourceforge.net>
Date:   Wed Mar 14 12:46:25 2012 -0400

    Add compose sequences from gtk+ to X.Org
    
    Signed-off-by: Pander <pander@users.sourceforge.net>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit a4c591ced5cac9301b9abfa0e521be2d0b267882
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 4 02:00:13 2012 -0800

    Block for other threads in _XUserLockDisplay
    
    Wait for all other threads to release the user-level lock when
    acquiring it. This ensures that only one thread at a time holds the
    user-level lock, necessary as it is a nesting lock and a single
    variable is used to determine when the lock is nesting and when it is
    contended.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit ed00b460acb08787b695f27b864e96102dfd4867
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Fri Oct 28 11:09:20 2011 -0500

    Don't use caddr_t casts
    
    (caddr_t) isn't used anywhere else in xcb or libX11.
    Cast to (char *) for consistency.
    
    Removing this cast allows building for MinGW without patching.
    
    v2: Cast to (char *) rather than just dropping the cast
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Feb 19 13:27:38 2012 +0100

    Revert "xcb: Add TCP fallback"
    
    This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6.
    
    The TCP fallback ended up falling back to UNIX socket connection if
    $DISPLAY was set to e.g. some.host:0 and the initial attempt failed.
    
    Debian bug#659558 <http://bugs.debian.org/659558>
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    
    Conflicts:
    
            src/OpenDis.c

commit f4378193619baa9bb973c1b5b718721bbcbe92c7
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed Feb 22 14:13:20 2012 -0500

    Make the compose sequence for ẞ work.
    
    There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S,
    so use the U1e9e symbol in the Compose sequence.
    
    (Compose sequences do not work when the target symbol is unknown.)
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 2ca641c3a506dcbee97e279b67990d5387389f36
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Mon Feb 20 17:04:59 2012 +0200

    Use ezh/EZH in compose maps
    
    Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687
    
    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
    Reviewed-by: Matt Dew <marcoz@osource.org>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 61725822f20f47684a545c1797183ee7075243ac
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Sun Feb 20 17:09:43 2011 +0200

    Provide translation from XK_permille (ad5) to Unicode (U2030)
    
    https://bugs.freedesktop.org/show_bug.cgi?id=19687
    
    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
    Reviewed-by: Matt Dew <marcoz@osource.org>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit d2cce0abba0fa0143f49026442c8cab5ed721625
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Feb 12 19:01:43 2012 -0800

    nls: Use LC_CTYPE=C for sed magic
    
    Stricter versions of sed can trip up if the input does not match
    LC_CTYPE
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit f180e043f55531933bedfa6e0ff36a00a9ec07f3
Author: Frédéric Boiteux <fboiteux@calistel.com>
Date:   Wed Nov 30 12:47:31 2011 +0000

    Compositions with the dead greek symbol
    
    FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475>
    
    Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit d58e8f8e27790017fcfdeca0843b7318d541c189
Author: Ryan Pavlik <rpavlik@iastate.edu>
Date:   Sun Jan 1 21:04:52 2012 +0000

    Use pthreads on MinGW also
    
    Use pthreads (provided by the pthreads-win32 compatability library which implements
    them using native Win32 threading) on MinGW
    
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>

commit bf15ccb6821664746ec23d769d757edf8059007e
Author: Ryan Pavlik <rpavlik@iastate.edu>
Date:   Mon Jan 23 14:18:02 2012 +0000

    Add XWindows.h include to Xxcbint.h
    
    This avoids some conflicting type re-definition errors which occur if
    we attempt to include Windows headers after Xmd.h
    
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>

commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a
Author: Matt Dew <marcoz@osource.org>
Date:   Sat Jan 21 17:59:51 2012 -0700

    informaltable & table cleanup
    
    On certain tables, add top and bottom borders to table header
    and a bottom border to the table. This matches what those
    tables in the old pdfs looked like.
    
    the <?dbfo keep-together='always'> prevents tables from
    splitting across pages. Useful for tiny tables.
    
    Converting the colwidth to a floating point, IE, 1* -> 1.0*
    cleans up these build errors:
    WARNING: table-layout="fixed" and column-width unspecified =>
    falling back to proportional-column-width(1)
    
    Signed-off-by: Matt Dew <marcoz@osource.org>

commit bb551f654df8f647c867f79252241964521e689e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Dec 28 21:22:41 2011 -0800

    Add more Xkb man pages to the See Also lists for core keyboard functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit b7bb23fe7c8b8a17128e5bc98a05f68595190438
Author: Gaetan Nadon <nadon@memsize.(none)>
Date:   Fri Dec 30 17:08:14 2011 -0500

    docbook.am: embed css styles inside the HTML HEAD element
    
    Rather than referring to the external xorg.css stylesheet, embed the content
    of the file in the html output produced. This is accomplished by using
    version 1.10 of xorg-xhtml.xsl.
    
    This makes the whole html docs tree much more relocatable.
    In addition, it eliminates xorg.css as a runtime file which makes
    xorg-sgml-doctools a build time only package.
    
    Signed-off-by: Gaetan Nadon <nadon@memsize.(none)>

commit 70505468b7c4a7068cc39be42e421dcee34ec595
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Dec 13 19:58:30 2011 -0800

    makekeys: move buf declaration from global to main to silence gcc -Wshadow
    
    The global was only referenced in the main() function, which passes it
    as an argument of the same name to the parse_line() function, leading
    to gcc -Wshadow warnings:
    
    makekeys.c: In function ‘parse_line’:
    makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration
    makekeys.c:54:13: warning: shadowed declaration is here
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66
Author: Kusanagi Kouichi <slash@ac.auone-net.jp>
Date:   Wed Dec 14 02:17:55 2011 -0500

    XQueryColors: Split a request into multiple requests if necessary
    
    https://bugs.freedesktop.org/show_bug.cgi?id=9160
    
    Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit d3b3570592e9b9e57f270a0bd86762fd205a2833
Author: Andreas Wettstein <wettstein509@solnet.ch>
Date:   Tue Nov 8 20:18:09 2011 +0000

    XIM: Allow modifier releases in compose sequences (#26705)
    
    Currently, only non-modifier keys (actually, keysyms) can be part of a compose
    sequence, and they are matched against the defined compose sequences at the
    time the key is pressed.  The patch allows to use modifier keys an well, but
    matches them on key release, and only if no other key has been pressed after
    the modifier.
    
    Releasing a non-matched modifier during an ongoing compose sequence only aborts
    the sequence if any modifier release would have matched.  In particular, if no
    compose sequences with modifiers are specified, the compose mechanism works
    exactly as without this patch.
    
    Even if modifiers are part of a compose sequence, they are not filtered.  This
    is because modifiers affect the keyboard state no matter what we do here and,
    therefore, filtering them only could confuse clients.
    
    The purpose is this extension to the compose mechanism is to allow to make
    better use of keys in convenient reach for touch typing.
    
    Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Nov 29 23:56:57 2011 -0800

    Reject negative string counts in copy_string_list
    
    Silences parfait warning of a potential memory leak:
       Memory leak of pointer 'dst' allocated with malloc(length)
            at line 160 of FSWrap.c in function 'copy_string_list'.
              'dst' allocated at line 145 with malloc(length).
              dst leaks when count <= 0 at line 154.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bf2d7c8c6d70539c72560b1921e18df2610acf29
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Nov 11 14:56:36 2011 +1000

    libX11 1.4.99.1
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 24283d40b1e4314c6647dda49d2a159833341a8b
Author: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Date:   Thu Sep 22 18:44:13 2011 -0400

    makekeys: Fix build/target word size mismatch when cross-compiling
    
    Since makekeys is built using build environment's gcc and
    runs natively, we have to make sure that the size of the
    Signature type is the same on both the native environment
    and the target, otherwise we get mismatches upon running X,
    and some LSB test failures (xts5).
    
    Use an unsigned 32-bit integer on all platforms. Also,
    eliminate the redundant multiple typedefs for the
    Signature type.
    
    Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 9 21:00:36 2011 -0800

    XlcSL.c: convert old-style function definitions to ANSI C89 style
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f6dad6aaa384bf836baa28ccb72b476a85c40eff
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Oct 27 13:53:22 2011 +1000

    Use GetReqSized for GetReq and GetReqExtra
    
    GetEmptyReq and GetResReq cannot do this due to the final typecast -
    typically requests that need either of those do not have their own typedef
    in the protocol headers.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit c9c99058b9d98789c0b2d7e78a23443c2b57a047
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Oct 14 14:51:06 2011 +1000

    include: Add GetReqSized() for request buffers of specific size
    
    Some XI2 requests change in size over different versions and libXi would
    need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the
    library can explicitly specify the size of the request in 4-byte units.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit ba8a7a19165e30d14bc165f43f67c19b6a115585
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Oct 27 13:24:10 2011 +1000

    Switch GetEmptyReq and GetResReq to call _XGetRequest
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit 4a060f993bf676cf21ad9784e010f54134da7b40
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Oct 17 09:45:15 2011 +1000

    Add _XGetRequest as substitute for GetReq/GetReqExtra
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit d8956520deb79c1cbb5e974c175bf8493859b22b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 14 17:53:00 2011 -0700

    Fix "nomal" -> "normal" typo in several comments
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 002b36e308a26a152504f9b40aa08a0dce9a7991
Author: Xue Wei <Wei.Xue@Sun.COM>
Date:   Fri Oct 14 17:39:21 2011 -0700

    mbtocs should not truncate input
    
    Fixes pasting more than 1024 bytes into xterm, as described in
    https://bugs.freedesktop.org/show_bug.cgi?id=25209
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Mon Oct 10 09:41:13 2011 +0300

    Add new compose sequences
    
    This patch adds few new compose sequences to the en_US map, ligatures
    common in typesetting and sequences already in use in the fi_FI map.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=30621
    https://bugs.freedesktop.org/show_bug.cgi?id=34523
    
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 738f7b867341c1da87ee667d48815822715c3e75
Author: Choe Hwanjin <choe.hwanjin@gmail.com>
Date:   Thu Oct 13 07:58:02 2011 +0900

    XIM: Make Xim handle NEED_SYNC_REPLY flag
    
    NEED_SYNC_REPLY flag should be in Xim not in Xic.
    Because the focused Xic can be changed before sending sync reply.
    After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY
    flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet.
    
    This patch adds sync reply flag to Xim and removes sync reply
    from Xic.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869
    
    Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 50e15379331c436851abb194251cde96999e67b3
Author: Bodo Graumann <mail@bodograumann.de>
Date:   Mon Oct 10 16:40:52 2011 +0200

    libX11: Fixing modifier key range in Xutil.h (Bug #21910)
    
    IsModifierKey, defined in include/X11/Xutil.h, is a macro determining,
    which keys are regarded as modifiers. The constants ISO_Level5_Shift,
    ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving
    some Neo2 modifiers functionless in combination with compose.
    This patch adjusts the range to include the correct, full range of
    modifier constants.
    
    Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277>
    
    X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910>
    
    Signed-off-by: Bodo Graumann <mail@bodograumann.de>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit b5a108624331fabf393223c0891914cc54d4caf4
Author: Yann Droneaud <yann@droneaud.fr>
Date:   Tue Oct 11 17:27:59 2011 +0200

    Return name instead of False in XSetICValues()
    
    In case of error, XSetICValues() must return the first argument
    that failed to be set.
    
    But in some error paths, it returns False, which is converted to NULL,
    so the function returns OK in case of error.
    
    Signed-off-by: Yann Droneaud <yann@droneaud.fr>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba
Author: Yann Droneaud <yann@droneaud.fr>
Date:   Sun Oct 9 17:56:45 2011 +0200

    Return name instead of value in XGetIMValues() and XSetIMValues()
    
    As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3),
    XGetIMValues() and XSetImValues() "returns the name of the first argument
    that could not be obtained."
    
    But currently,
    
      err = XGetIMValues(im, "invalid", &arg, NULL);
    
    returns &arg instead of "invalid".
    
    This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897
    
    Signed-off-by: Yann Droneaud <yann@droneaud.fr>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit f2651e03f3295a453a2965c3749bc8b6e66f1c09
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Mon Oct 10 14:09:17 2011 -0700

    Mark XKeycodeToKeysym as _X_DEPRECATED
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Oct 9 02:38:28 2011 -0700

    Fix nobreakspace for pt_BR.UTF-8
    
    https://bugs.freedesktop.org/show_bug.cgi?id=31334
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 913603660c17ec59a4d39d3e3b9d60469ee5c060
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Oct 9 02:26:45 2011 -0700

    Fix potential uninitialized variable access in _XimMakeICAttrIDList
    
    Found by clang static analysis
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Oct 9 02:25:50 2011 -0700

    Remove self-resolving aliases
    
    https://bugs.freedesktop.org/show_bug.cgi?id=30112
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e
Author: Matt Dew <marcoz@osource.org>
Date:   Fri Oct 7 22:52:30 2011 -0600

    Cleanup IDs and links in doc
    
    1 - fix the capitalization of the ID attributes to match either the
         <title> or <funcdef> string it goes with.
    2 - fix any <linkend>'s that were affected by 1.
    3 - any <function> in the docs that has an actual funcdef,
    will become an olink.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>

commit f858f3326adbc0c5711669b92a64a84a9083a055
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Oct 4 17:11:11 2011 -0400

    [nls] Fix typo/synco.
    
    The iso8859-1 Compose table includes an optional section which uses
    Ctrl<T> as a substitute for <Multi_key>.  In that section the sequence
    to generate an @ (at) either was incorrectly copied from the Multi_key
    section or was not kept in sync with the Multi_key section.
    
    Fixing this eliminates the warning from compose-check.pl:
    
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    ┃ Clash with existing sequence in iso8859-1/Compose.pre
    ┃  on line 661: Ctrl<T> <A> <A>
    ┃    line #661: Ctrl<T> <A> <A>         : "\305"        Aring
    ┃    line #480: Ctrl<T> <A> <A>         : "@"   at
    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 7f35f7efc23234b3f8529fee31a802c21846d9ab
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Mon Sep 26 11:32:56 2011 -0700

    Remove conflicting compose sequences for cent and colon
    
    Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4
    Found by tinderbox
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Sep 25 16:29:17 2011 -0700

    Add additional compose sequences for pound sterling, yen, and cent (mixed case)
    
    https://bugs.freedesktop.org/show_bug.cgi?id=1013
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Sep 24 16:44:04 2011 -0700

    Use a configure check for seteuid
    
    HP-UX doesn't have seteuid
    
    https://bugs.freedesktop.org/show_bug.cgi?id=1497
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 79594b4d66344f248eb4314ecb78eb81f632c3ab
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Sep 20 16:06:10 2011 -0400

    localedb specs: use <copyright> for first holder of multi license
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 154430268cf004b06920edde2f1812dc16d71fae
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Sep 20 16:01:52 2011 -0400

    libX11 specs: use <copyright> for first holder of multi license
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f
Author: Tollef Fog Heen <tfheen@err.no>
Date:   Tue Sep 20 13:07:37 2011 -0400

    NLS: Add more vulgar fractions
    
    Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions.
    
    Signed-off-by: Tollef Fog Heen <tfheen@err.no>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit e37a6da814b5653be46000a9a76902729660a2e6
Author: Alexander Polakov <polachok@gmail.com>
Date:   Sat Sep 17 20:54:58 2011 +0400

    XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also
    
    There is no XAllowAccess man page to see.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a23f3323f269b33a43d16dce01395cd28bc41b45
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 15:27:44 2011 -0400

    XKB: provide adequate quotes for the license text
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit a9c7a5cad91d968f5536ef8fc735036e921832a3
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 15:18:53 2011 -0400

    XIM: refactor the multi licensing legal text
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit c46f934ed89e7de79746a0387c9f998d91994ea6
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 10:33:30 2011 -0400

    xim trans: restore Fujitsu copyright legal text
    
    Somehow lost during docbook conversion. text from x.org ftp R7.5.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 10:11:46 2011 -0400

    xtrans: restore X Consortium original legal text
    
    Asking X Consortium permission to use The Open Group name makes no sense.
    Even more so in 1994 before X Window System was passed on to the Open Group.
    
    Using original text from xorg-docs/general/License
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 136a381585a4a9686c11bad1a6130837978e677f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 10:03:21 2011 -0400

    Framework: restore X Consortium copyright
    
    Somewhat dammaged during docbook conversion.
    Also restore pasrt of the original license text
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 33f346878406762704a0c13cdc018111c666f3c1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 09:50:00 2011 -0400

    localedb: restore X Consortium original legal text
    
    Asking X Consortium permission to use The Open Group name makes no sense.
    Even more so in 1994 before X Window System was passed on to the Open Group.
    
    Using original text from xorg-docs/general/License
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit e99c9338e413efca026210b9d830efb5c74d34e5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 08:23:18 2011 -0400

    specs: support multi licensed copyright notice and license text
    
    For documentation having multiple licenses, the copyright and legalnotice
    elements sequence cannot instantiated multiple times.
    The copyright notice and license text are therefore coded inside a
    legalnotice element. The role attribute on the paragraph is used to allow
    styling of the copyright notice text which should not be italicized.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b9dedc757e667333ce899115d618f25cdaa4dd5e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 08:17:50 2011 -0400

    localedb: add release info to spec
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4519c89a87ddce01e599542737a27c26030fe4ff
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 08:05:32 2011 -0400

    specs: fix The Open Group license text
    
    The warranty referred to the X Consortium
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 08ac378423e7be72e340197ba5559a1a36f1783c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 19 08:03:39 2011 -0400

    specs: The strandard name is still "X Consortium Standard"
    
    This spec, and fsproto spec, are the only two docs with a different
    standard name.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 18 13:22:34 2011 -0400

    specs: support multi licensed copyright notice and license text
    
    For documentation having multiple licenses, the copyright and legalnotice
    elements sequence cannot instantiated multiple times.
    The copyright notice and license text are therefore coded inside a legalnotice
    element. The role attribute on the paragraph is used to allow styling of the
    copyright notice text which should not be italicized.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 278ca8947c1dabb2b819527dca0fa6190c034f67
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 16 11:45:56 2011 -0400

    docs: merge copyright holder under the same copyright notice
    
    As per the docbook markup dtd.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7ff012bb433109a622ac122ade71669e842ebdcf
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 16 10:09:57 2011 -0400

    specs: handle multiple sets of copyright notice/license/warranty
    
    Docbook groups all the <copyright> elements together and all the
    <legalnotice> elements together.
    
    We cannot have a sequence:
    <copyright> <legalnotice> <copyright> <legalnotice> [...]
    
    A workaround, which was done in some documents, is to put the copyright
    notice inside the legalnotice in plain text without the <copyright> element.
    A formal paragraph title is added here which makes the copyright notice bold,
    and makes it much easier to locate.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4a550c71b8221c37b1a9378d5a170da9eaa03405
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Sep 14 15:55:42 2011 -0400

    specs: remove orphan affiliation.
    
    Authors affiliation are correct.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 0cc02a6df65214560b7575e89cebee741d6d2469
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Sep 13 17:39:02 2011 -0400

    specs: use appropriate markup for Copyright statements
    
    Also move <releaseinfo> to match order of appearance
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit afe13e19ebf0fc4e3460644164433af016f0add7
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 12 16:54:45 2011 -0400

    docs: use the &fullrelvers; entity to set X11 release information
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 22a2153282db13e9d94881022b8c979539841a2c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 11 19:49:53 2011 -0400

    docs: remove <productnumber> which is not used by default
    
    This element is not rendered by default on the title. A template
    customization is required to display it.
    X Window System does not have a product number.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 11 17:40:21 2011 -0400

    docs: use the &fullrelvers; entity to set X11 release information
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit a6b2992f50b571d612ea9ade631c432c3099bc12
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 11 17:38:42 2011 -0400

    docs: remove orphan <affiliation>
    
    Somehow created during the conversion from roff. Unable to locate
    the author to which it belongs.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit c7420060b6e47b8467ba50c796ec3c1bab090bc7
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 11 17:38:05 2011 -0400

    docs: remove <productnumber> which is not used by default
    
    This element is not rendered by default on the title. A template
    customization is required to display it.
    X Window System does not have a product number.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7d5b718c1edbc43c54b7001be548e515a49540ea
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 9 14:46:39 2011 -0400

    docbook.am: embed css styles inside the HTML HEAD element
    
    Rather than referring to the external xorg.css stylesheet, embed the content
    of the file in the html output produced. This is accomplished by using
    version 1.10 of xorg-xhtml.xsl.
    
    This makes the whole html docs tree much more relocatable.
    In addition, it eliminates xorg.css as a runtime file which makes
    xorg-sgml-doctools a build time only package.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 24632d280491c465dfe208ef788815890892e326
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 5 12:53:12 2011 -0400

    compose: upgrade makefile to support olinking on chunked html
    
    The essential differences over the regular docbook.am are:
    Adding root.filename parameter for naming of chapters html files.
    Using xhtml xmlto format and xorg-chunk.xsl stylesheet
    Set olink.base.uri for pdf but not for chunked html
    Olink is not applicable to ps and txt formats.
    
    Html chapters are added to shelf_DATA as they are also installed.
    The xml is generated from a perl script and not distributed.
    
    Requires version 1.10 of xorg-sgml-doctools.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Aug 31 19:46:20 2011 -0400

    docbook.am: refactor common flags for xmlto and xsltproc
    
    Maximize reuse and reduce risk of setting the wrong flag
    at the wrong place.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Aug 31 10:46:59 2011 -0400

    docbook.am: add search path for local entities
    
    Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities.
    A module may want to add entities that apply only to itself and
    not to all modules, like the xserver does.
    
    This feature may or may not be used in this module, but all modules
    share a copy of docbook.am.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b5ed2d368d47f244d43d2513329fa2758bc4ef54
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Aug 25 14:39:20 2011 -0400

    docbook.am: explicitly list xmlto flags for each target
    
    Normal evolution of make targets make it impractical to factor out
    common command flags for xmlto.
    
    The targets now list each command option as its presence or absence
    needs to be justified.
    
    xorg.ss is only needed by xmlto for html.
    masterdb is only needed by xmlto.
    img.src.path must not be used by html.
    xsltproc need to use customization layer xorg-*.xsl.
    txt format is not required to search masterdb.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d5b3605f3b0639452e892e9ff3afb18bb7442069
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Aug 25 13:12:49 2011 -0400

    docbook.am: do not generate docs if docbook customization layer is missing
    
    The stylesheets used to be only about style, fonts or colors.
    Complex features are now used like olink and chunked html which
    may cause a build break when stylesheets are missing or lead to hard
    to find problem.
    
    Some modules may be built when stylesheets are present while others
    are built without. There is no requirement to build crippled docs.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7f23c72c94d9d14122426b0d8c66054f1402769a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Aug 5 14:33:32 2011 -0400

    libX11 specs: review doclifter generated tables
    
    Many tables had a questionnable layout and some had information dropped.
    Each table was cross-referenced with a pre-docbook version
    to ensure semantic integrity.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 20 15:28:47 2011 -0400

    credits.xml: remove toc from Acknowledgments
    
    There should be no toc for a simple preface with only one
    Acknowledgments section.
    
    Use <simplesect> markup rather than sect1.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Aug 4 19:59:37 2011 -0400

    libX11 specs: move </para> above <varaiablelist>
    
    Many, but not all, function synopsis have a paragraph that
    nests the variable list. The code was generated by doclifter
    and there is no apprent reasons as to why it was done this way.
    Found while investigating a spacing issue.
    
    Before the patch:
    <para>Some blurb about the function
    <funcsynopsis>
    </funcsynopsis>
    <variablelist>
    </variablelist>
    </para>
    
    After the patch:
    <para>Some blurb about the function</para>
    <funcsynopsis>
    </funcsynopsis>
    <variablelist>
    </variablelist>
    
    There are no noticable differences when reading the doc
    other than than the removed few pixels of spacing between
    the function sysnopsis and the variable list block.
    
    In some cases, there are no "blurb about the fucntion"
    and the empty paragraph is removed.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jul 28 19:46:14 2011 -0400

    compose specs: generate chunked html
    
    For large 600 page documents such as this one, chunked html
    provide faster browser load time and better navigation.
    
    Simply click on the locale of your choice in the toc and
    the browser loads just that one file. Being a DocBook,
    it benefits from all of the usual features and can be
    integrated with the rest of the documentation.
    
    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 23 15:16:47 2011 -0400

    specs: build compose keys tables in specs/i18n/compose
    
    Build the tables article together with the rest of the specs.
    Make it transparent that the source in generated in nls.
    Reuse docbook.am and get all the features such as olink.
    
    The docbook article file stem and id must be the same. The new name
    for the main article is libX11-keys. The new installation location
    is $docdir/libX11/i18n/compose.
    
    The nls dir retains the role of generating the DocBook/XML source
    but does not build neither installs output formats or generated source.
    
    The tables article now has to specify that each included locale
    section is a dependency. It did not matter before as they were web links.
    
    The xorg-sgml-doctools masterdb shall be updated to include this new doc.
    Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose.
    
    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 23 14:43:31 2011 -0400

    nls: restructure charts as a single article with sections
    
    Looks more like a real article with a toc rather than individual
    web pages. Looks nicer in pdf.
    
    Each locale is a "section" rather than an "article".
    Using XInclude to aggregate xml source files gets you the toc for free.
    
    The single document is over 600 pages while there were 62 separate
    documents previously. FOP version 1.0 is required to handle missing
    character like capital sharp s.
    
    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 28 19:32:40 2011 -0700

    libX11 1.4.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ab1f30231755d99ed123af6873b981834640f01d
Author: Matt Dew <marcoz@osource.org>
Date:   Wed Jul 13 12:33:40 2011 -0600

    Add id attributes to error codes to allow linking from other docs.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Acked-by: Gaetan Nadon <memsize@videotron.ca>

commit 5c831fef402914ccf2ec14005c25be48852f119b
Author: David Coppa <dcoppa@gmail.com>
Date:   Tue Jul 12 10:05:47 2011 +0200

    Fix libpthread linkage on OpenBSD.
    
    OpenBSD prefers to use the -pthread to fetch pthread libs when needed.
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 22 20:46:26 2011 -0400

    config: use XORG_WITH_PERL macro to replace custom program check
    
    New in version util-macros 1.15, the macro does the usual checking
    for program path and provides an interface for makefile variables.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 47d99a324db9232029a22dd523e3bc3ed0936aca
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 22 20:41:18 2011 -0400

    config: update XORG_WITH_FOP macro usage
    
    A new feature to test for a minimum version has been added.
    
    The parameter position changed. Due to limited usage
    and requiring 1.15, it turns out to be backward compatible.
    
    There is no functional change to how docs are build.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 22 11:48:49 2011 -0400

    Remove unused xmlrules.in in specs, now in /nls
    
    The specs dir has been converted to docbook.am
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 9992092609bd83a0db778e9a9ac1e879d445e637
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Mar 31 10:23:22 2011 -0400

    nls: move xmlrules.in from specs to nls
    
    It is no longer used in the specs dir.
    Remove html from CLEANFILES as it breaks. Make do not clean directories
    Remove SUFFIXES as pattern rules are used rather than suffix rules.
    
    Other improvements are possible, the first priority is to move it out
    of the specs dir.
    
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jun 5 16:27:36 2011 -0400

    Install target dbs alongside generated documents
    
    This matches a change in xorg-sgml-docs whereby the masterdb will look for
    the target dbs into the same location as the generated documents.
    
    The target dbs are now installed alongside the generated documents.
    Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
    has the potential of installing outside the package prefix and cause
    distcheck to fail when user does not have write permission in this package.
    
    Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11

commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 7 18:41:30 2011 -0700

    specs/libX11: Turn appendix references into links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 7 18:37:41 2011 -0700

    specs/libX11: Turn chapter references into links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 7 00:52:32 2011 -0700

    specs/libX11: Turn many "see section ..." into links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 02d4c08dead2f266809b3f93ec72377783423ac7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jun 5 22:50:37 2011 -0700

    specs/libX11: Convert some header filenames to filename tags
    
    perl -i -p -e 's{^&lt;(.*\.h)&gt;\ *}{<filename class="headerfile">&lt;\1&gt;</filename>}' *.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c51a011329afa6e5b9d2b285349c132683ecf9fb
Author: Matt Dew <marcoz@osource.org>
Date:   Tue May 31 20:03:23 2011 -0600

    Add id attributes to funcsynopsis to allow other docs to olink to them.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri May 27 20:14:36 2011 -0700

    Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html
    
    https://bugs.freedesktop.org/show_bug.cgi?id=37624
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b
Author: Matt Dew <marcoz@osource.org>
Date:   Sat May 21 00:23:06 2011 -0600

    Add id's to functions, to make clickable links.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 5c06bc594473f6ab234724cd90db32e7b57fe811
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri May 20 15:38:08 2011 -0700

    libX11 spec: fix monospaced column alignment after deligaturization
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ef0019c714c273cb9b4ad3eba52d0b905109826b
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri May 20 15:51:46 2011 -0400

    Expand latin ligatures out to their NFKC equivalents.
    
    Ligatures should be done by the typesetting system.
    Manuscripts should not bother with them.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>
    Reviewed-by: Keith Packard <keithp@keithp.com>

commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Thu May 12 16:21:50 2011 +0200

    XCB: Add more friendly error messages for common asserts
    
    This patch adds more friendly error messages for three common classes of
    assertion:
        - missed sequence numbers due to being griefed by another thread
        - unknown requests in queue due to being griefed by another thread
        - extensions dequeuing too much or too little reply data
    
    It adds error messages offering advice (e.g. call XInitThreads() first)
    on stderr, but still generates actual assertions.  Hopefully this means
    it's a little more Googleable and a little less frightening.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 159bf292477048b9a2f074735afc516f52c93d80
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu May 19 20:22:11 2011 -0400

    Remove misplaced hyphens in libX11 DocBook/XML #37364
    
    Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue May 17 20:49:59 2011 -0700

    Fix man page and comment references to use XFreeModifiermap (lowercase map)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue May 17 20:30:54 2011 -0700

    XKB man pages: Fix coordinantes typo in multiple pages
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue May 17 16:27:32 2011 -0700

    DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ae39d82b01359b07dd1fe092d867f79ea95a5438
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun May 8 09:08:07 2011 -0700

    Silence clang static analysis warnings for SetReqLen
    
    This provides a simplified version of the SetReqLen macro when using clang for
    static analysis.  Prior to this change, we would see many Idempotent operation
    warnings inside this macro due to the common case of calling with arg2 and
    arg3 being the same variable.  This has no effect on code produced during
    compilation, but it silences a number of false positives in static analysis.
    
    XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value
        SetReqLen(req, num_modifiers, num_modifiers);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from XIPassiveGrab.c:26:
    .../include/X11/Xlibint.h:580:8: note: instantiated from:
                n = badlen; \
                  ^
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 130af2bc02090ee2526adb2f9803fc07019b8f1f
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed May 4 15:34:31 2011 -0700

    XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case
    
    XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
            _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
                                   ^~~~~~~
    
    Found-by: clang static analyzer
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit c987ef04bea345d5810e60cf6c53b747ddbe910e
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed May 4 15:31:17 2011 -0700

    Revert "XKB: Avoid a possible NULL dereference"
    
    Sorry for the noise.  I accidentally pushed and didn't mean to. =(
    
    This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08.

commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed May 4 11:35:31 2011 -0700

    Dead code removal
    
    XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value
        for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) {
                           ~~~^~~~
    XKBGeom.c:115:5: warning: Value stored to 'pos' is never read
        pos= 0;
        ^    ~
    
    Found-by: clang static analyzer
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 4024091678ea07e0d898b798df9b29f3bf68eb08
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed May 4 11:34:53 2011 -0700

    XKB: Avoid a possible NULL dereference
    
    XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
            _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
                                   ^~~~~~~
    
    Found-by: clang static analyzer
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 626e5e34be55b7cf734d745bd40a7ee3359029f8
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed May 4 11:21:41 2011 -0700

    Annotate _XIOError as _X_NORETURN
    
    Found-by: clang static analyzer
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit d3d7896408b435ab42656398839ff4351a37724d
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue May 3 09:32:53 2011 -0700

    clang analyzer: Don't warn about Xmalloc(0)
    
    This will prevent a number of false positives in where clang's
    static analysis reports about calls to malloc(0).
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 393921cf2188b2b0713cc157effaf17d0abab783
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Apr 21 16:21:04 2011 -0700

    Delete special case code to append "/sparcv9" to i18n module path
    
    Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit.
    Inconsistent with all other platforms, and a bit overcomplicated.
    
    Should anyone need to continue using that path, simply build with
    a #define POSTLOCALELIBDIR "sparcv9" to get the same result.
    
    Fixes Solaris bug 7038737:
     sparcv9 Xlib looking in wrong path for i18n loadable modules
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Apr 14 13:47:12 2011 -0700

    specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244]
    
    Was incorrectly showing AllPlanes() instead when describing XOpenDisplay()
    
    https://bugs.freedesktop.org/show_bug.cgi?id=36244
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b850adbdebcf500c659f85285d4d7374e15857f5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 12 22:30:45 2011 -0700

    Convert malloc(strlen()); strcpy() sets to strdup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 12 21:27:45 2011 -0700

    Replace Xmalloc+bzero pairs with Xcalloc calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit ac1e2bff7121987fd768500a11d428d9fb9447c5
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Fri Mar 25 14:47:35 2011 +0200

    om: Fix memory leaks on get_font_name error paths.
    
    While at it, remove unneeded check for NULL before Xfree.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7c362e275c93c92b4e68fe862e73ee36665de703
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Wed Mar 30 15:06:10 2011 +0300

    xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path.
    
    pScreenData is replaced when building per visual intensity tables. If
    malloc failed the old value of pScreenData (stored also in
    pScreenDefaultData) was being leaked. Also, property_return wasn't
    free'd in that case.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Wed Mar 30 15:19:28 2011 +0300

    xcms: Fix error on LINEAR_RGB_InitSCCData error path.
    
    Due to what looks like a copy & paste error, pScreenData->pBlueTbl would
    be accessed after being free'd.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d749948f9492fd9b61c74655a08e32c595e0e3a5
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Fri Mar 25 16:06:15 2011 +0200

    om: Fix potential memory leak in init_om.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 20:40:41 2011 +0200

    om: Fix memory leak on read_EncodingInfo error path.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 19:55:33 2011 +0200

    Fix memory leaks on _XimCbDispatch error path.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 19:52:05 2011 +0200

    Fix memory leak on _XimCommitRecv error path.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 19:48:44 2011 +0200

    Fix memory leaks on _XimWriteCachedDefaultTree error paths.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e29be94edbb58b3b8dab545377a710d1f73b61e0
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 19:42:36 2011 +0200

    Fix memory leaks on _XimGetAttributeID error paths.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d144a50512466766f55ce61e3884925334b08f0d
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 19:36:56 2011 +0200

    Fix memory leaks on _XimProtoCreateIC error paths.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 16:24:29 2011 +0200

    Fix leaks in _XimEncodingNegotiation error paths.
    
    name_ptr and detail_ptr weren't free'd in some cases before returning
    False.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 396e5a452a59c1f121220ba72167b720a863b30f
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Thu Mar 24 14:17:44 2011 +0200

    FSWrap: fix potential leak in copy_string_list
    
    If list_count is 0, dst would be allocated and leaked.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1a944260182bb552b954d69f6355c2760d4415df
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Wed Mar 23 14:36:22 2011 +0200

    Fix memory leak with broken bitmap files in XReadBitmapFileData
    
    Bitmap file data is read looping through the lines in the input file. If
    there is extra data after the bitmap, these lines will be processed and
    if this data represents another bitmap it will replace the one read
    before causing the memory allocated for bits to leak.
    
    This changes the code to stop processing the file once a bitmap was
    read.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 12 20:50:42 2011 -0700

    Fix "attrinute" typo in comments in ximcp
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7103b83a88edb9c93acfa68f3b556595b087baff
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Apr 8 21:36:11 2011 -0700

    Make doc install subdirectories more like the pre-docbook.am paths
    
    Haven't restored the "specs" path in the install path, but have restored
    libX11 & i18n subdirectories in the path for better logical grouping.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Apr 8 13:24:28 2011 -0700

    Install xml versions of specs even if HAVE_XMLTO is false
    
    Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour
    from before docbook.am changes (commit e8c76407d2f6e3)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Apr 5 13:29:04 2011 -0700

    libX11 1.4.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e8c76407d2f6e3b11babdb84426e43e780c859c3
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 25 09:23:54 2011 -0500

    Documentation: add Docbook external references support
    
    When writing technical documentation, it is often necessary to cross
    reference to other information. When that other information is not in the
    current document, additional support is needed, namely <olink>.
    
    A new feature with version 1.7 of xorg-sgml-doctools adds references to
    other documents within or outside this package.
    
    This patch adds technical support for this feature but does not change
    the content of the documentation as seen by the end user.
    
    Each book or article must generate a database containing the href
    of sections that can be referred to from another document. This database
    is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
    the value of DATAROOTDIR for xorg-sgml-doctools and for the package
    documentation is the same. This forms a virtual document tree.
    
    This database is consulted by other documents while they are being generated
    in order to fulfill the missing information for linking.
    Refer to the xorg-sgml-doctools for further technical information.
    
    Co-authored-by: Matt Dew <marcoz@osource.org>
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 25eb76b3d2726f2f1de759901971ae53b2539dc4
Author: Harshula Jayasuriya <harshula@gmail.com>
Date:   Mon Mar 21 14:49:37 2011 +0000

    Add #define XK_SINHALA
    
    Add #define XK_SINHALA so that the Sinhala keysyms can be used by
    the lk xkb keymap.
    
    Signed-off-by: Harshula Jayasuriya <harshula@gmail.com>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit db8b20b789112717ac0590b40f0b4dc2171797d0
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Thu Mar 17 16:15:00 2011 -0700

    configure.ac: Bump version to 1.4.2
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Mar 15 16:48:07 2011 -0700

    Call _XErrorFunction without holding the Display lock.
    
    Historically, Xlib dropped the Display lock around the upcall to any
    user-supplied _XErrorFunction, but somewhere along the way I quit doing
    that if you built with XCB. The reasons are lost somewhere in the
    pre-git history of Xlib/XCB, and I can't now see any reason to hold the
    lock.
    
    The documentation for XSetErrorHandler still applies though:
    
        Because this condition is not assumed to be fatal, it is acceptable
        for your error handler to return; the returned value is ignored.
        However, the error handler should not call any functions (directly
        or indirectly) on the display that will generate protocol requests
        or that will look for input events.
    
    So while you are now once again permitted to re-enter Xlib from the
    error handler, you're only allowed to call non-protocol functions.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit fd85aca7a616c595fc17b2520f84316a11e8906f
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Mar 14 14:45:35 2011 -0700

    Ignore user locks after sleeping in _XReply and _XReadEvents.
    
    This bug appears as a hang in applications that wait for replies from
    multiple threads, where one such thread has taken a user lock using
    XLockDisplay.
    
    Prior to this fix, the code could deadlock in this way: If thread 1 goes
    to sleep waiting for a reply, and then thread 2 takes a user lock and
    waits for a reply, then thread 2 will wait for thread 1 to process its
    reply (because responses must be processed in order), but thread 1 will
    wait for thread 2 to drop its user lock.
    
    Fixed by making thread 1 not wait for thread 2 to drop its user lock.
    This makes the semantics of user locks hard to define, but they were
    already hard to define. The new behavior appears to be consistent with
    the way Xlib worked historically, anyway.
    
    Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html
    
    There was a similar potential for deadlock in _XReadEvents, fixed the
    same way, with the same caveats about user-lock semantics.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Tue Jan 18 15:58:20 2011 +0200

    xkb: XkbPropertyPtr determined allocation success from wrong variables
    
    Cannot reach dead statement "return NULL;"
    
    Check for the NULLness of prop->name and prop->value instead of
    name and value, which was checked earlier anyway. Decided against
    using strdup due to curious memory allocation functions and the
    rest of the xkb not using it either.
    
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6a4d027284e7bb5dd458157947bbb1ff580ad071
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 10 16:37:22 2011 +0200

    keyBind: Use Xcalloc to initialize allocated _XKeytrans
    
    Using uninitialized value "p->modifiers"
    
    Small fix by using Xcalloc instead of Xmalloc
    
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit b993d73bb3214ecc24646f5427c8003b816c6921
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 10 16:22:45 2011 +0200

    im/ximcp: release modifiermap before returning
    
    Variable "map" goes out of scope
    
    Release modifiermap before returning. Reordered code to call
    XGetModifierMapping after the first return from the function.
    
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>

commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 25 09:23:54 2011 -0500

    Docbook: change the book id to match the xml file basename
    
    This is required for the up-coming external references support.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Feb 21 21:54:17 2011 +0100

    Make the Local XIM request key releases for braille
    
    Braille chords management needs key release events. We need to explicitly
    request then, else GTK would not pass them throught XFilterEvent and braille
    wouldn't work.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit c97c42c49cd5095462abecdf908b416fb0b540b6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Feb 21 17:27:38 2011 +0100

    Match braille patterns with compose tree
    
    Braille patterns should also be usable in Compose.  This combines the
    implementation of braille chords and compose tree: only emit the braille
    pattern if it can not be found in the compose tree, if any.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Feb 21 15:56:54 2011 +0100

    Fix status reporting for braille patterns
    
    _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't
    convert to the current MB charset.
    _XimLocalUtf8LookupString needs to set the braille keysym and status too.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit 993abe751f4141f54d8d28b8b73588a1c9085970
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 11 14:49:17 2011 -0800

    Clean up memory when first XCreateRegion succeeds and second fails
    
    Error: Memory leak (CWE 401)
       Memory leak of pointer 's' allocated with XCreateRegion()
            at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'.
              's' allocated at line 387 with XCreateRegion().
              s leaks when s != 0 at line 387.
    Error: Memory leak (CWE 401)
       Memory leak of pointer 'tra' allocated with XCreateRegion()
            at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'.
              'tra' allocated at line 1451 with XCreateRegion().
              tra leaks when tra != 0 at line 1451.
    
    [ This bug was found by the Parfait 0.3.6 bug checking tool.
      For more information see http://labs.oracle.com/projects/parfait/ ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Feb 11 14:20:24 2011 -0800

    ximcp: Prevent memory leak & double free if multiple %L in string
    
    In the highly unlikely event that TransFileName was passed a path
    containing multiple %L entries, for each entry it would call
    _XlcFileName, leaking the previous results, and then for each entry it
    would copy from that pointer and free it, resulting in invalid pointers
    & possible double frees for each use after the first one freed it.
    
    Error: Use after free (CWE 416)
       Use after free of pointer 'lcCompose'
            at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
              Previously freed at line 360 with free.
    Error: Use after free (CWE 416)
       Use after free of pointer 'lcCompose'
            at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
              Previously freed at line 360 with free.
    Error: Double free (CWE 415)
       Double free of pointer 'lcCompose'
            at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
              Previously freed at line 360 with free.
    
    [ This bug was found by the Parfait 0.3.6 bug checking tool.
      For more information see http://labs.oracle.com/projects/parfait/ ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 502d414118c97d35a44f8e295709682022876331
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Thu Feb 3 17:08:57 2011 +0200

    xcms/cmsProp: don't deal with uninitialized values, fail instead
    
    Properly handle the return value of XGetWindowProperty by considering
    if after the loop as well.
    
    Using freed pointer "prop_ret"
    
    There were numerous things wrong in how this function interacted with
    XGetWindowProperty.
    
    None of the local variables were initialized and remained that way if
    the call to XGetWindowProperty returned 1 (not Succeed). That doesn't
    result in after_ret being initialized in which case if it happens to
    be 0, the loop was exited. In that case format_ret and nitems_ret were
    uninitialized and the function might return with success (but with
    uninitialized pointer in prop_ret) or XcmsFailure.
    
    As the buffer enlarging code was called only when XGetWindowProperty
    failed (returned not Success), after_ret would not have been
    initialized. It would have been initialized only if the
    XGetWindowProperty has returned Success earlier, but in that case the
    code fragment would not have been reached.
    
    This patch alters the function to return XcmsFailure if the call to
    XGetWindowProperty fails.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>

commit c37e278993b9e5b3d7025ef4c434373a011996ec
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Mon Jan 31 14:02:07 2011 +0200

    xcms/LRGB: don't double-free property_return
    
    property_return was free'd before and in the case the conditional is true,
    the call to XcmsGetProperty failed which means that property_return wasn't
    set so there is no need to free it again.
    
    Double free of pointer "property_return" in call to "free"
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>

commit 50f4107811249806718a100f9d34f996c58e5e25
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 2 08:58:45 2011 -0800

    Xrm.c: ReadInFile: refactor fstat error handling
    
    We can simplify the fstat failure case now that the GetFileSize macro
    has been expanded inline.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>

commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 2 08:56:00 2011 -0800

    Expand GetSizeOfFile() macro at the one place it's called
    
    Removes XrmI.h header that only contained this single macro
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>

commit 450e17422c0e374d25c643f343ea268cec68da38
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:01:57 2011 +0200

    XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size
    
    Possible overrun of 8192 byte fixed size buffer "buffer" by copying
    "ext->name" without length checking
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Mon Jan 31 14:02:13 2011 +0200

    lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory
    
    Fixed by zero'ing conv on allocation with Xcalloc. Then
    close_converter works properly.
    
    Using uninitialized value "conv->state" in call to function "close_converter"
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 03f81ad8fb9783986cf9b17661dd31e95c396681
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:16 2011 +0200

    xlibi18n/lcFile: Removed superfluous check for NULL target_dir
    
    The situation is already handled before this code.
    
    Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..."
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:15 2011 +0200

    ximcp/imLckup: Handle negative return value from _Xlcwctomb
    
    Fixed by negative value to memcpy by checking for the negative return
    value of _Xlcwctomb and returning 0/XLookupNone in that case.
    
    a negative value was passed to memcpy
    
    Unfortunately the other return values for *status don't fit into the
    error (which appears to indicate some internal error or running out of
    memory). The other valid status codes are XBufferOverflow,
    XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of
    these has a specific meaning attached.
    
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 79a5c86e020f08cc108184298a72e2777036de39
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:14 2011 +0200

    ximcp/imTrX: Handle failing XGetWindowProperty
    
    Checked return value of XGetWindowProperty and return false if it fails.
    
    Return value of "XGetWindowProperty(im->core.display, spec->lib_connect_wid, prop, 0L, (length + bytes_after_ret + 3UL) / 4UL, 1, 0UL, &type_ret, &format_ret, &nitems, &bytes_after_ret, &prop_ret)" is not checked
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Mon Jan 31 14:02:12 2011 +0200

    XlibInt: info_list->watch_data was reallocated, but result was discarded
    
    info_list->watch_data was being reallocated, but the return value of
    the reallocation was stored only into a local variable. This might
    cause some funky behavior and crashes.
    
    Variable "wd_array" goes out of scope
    Value "wd_array" is overwritten in "wd_array = (XPointer*)realloc((char*)info_list->watch_data, (((dpy->watcher_count + 1) * 4U == 0U) ? 1U : ((dpy->watcher_count + 1) * 4U)))"
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:10 2011 +0200

    GetProp: Zero-initialized error so its resourceID field is initialized
    
    Using uninitialized value "error.resourceID" in call to function "_XError"
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 85e9f38e016137f0ff2791eb0d092ab027382d2c
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Tue Feb 1 11:07:25 2011 +0200

    xcms/LRGB: Add a label for freeing property_return.
    
    The rest of the code uses goto's to free memory allocated later
    and prevent memory leaks, but there were several paths were
    property_return was free'd just before a goto.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3161dc57d4e9b70f852f05e5e474455e121b06ab
Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Date:   Mon Jan 31 14:02:08 2011 +0200

    xcms/LRGB: Fix potential resource leak.
    
    property_return was not free'd if the allocation of pRedTbl failed.
    
    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit be3e6c205d94dedc1cdebf5d17b987f0f828377a
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:06 2011 +0200

    Xrm: Handle the extremely unlikely situation of fstat failing
    
    Tracked variable "size" was passed to a negative sink.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:05 2011 +0200

    Xrm: NEWTABLE had a memory leak after a memory allocation error
    
    The NEWTABLE macro missed freeing its allocated memory on subsequent
    memory allocation errors. Added call to Xfree.
    
    Variable "table" goes out of scope
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7110ac653349a23c80c365f11f6270dc27c8975a
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:03 2011 +0200

    ImUtil: Handle a memory leak in one early return branch
    
    Fixed memory leak by adding Xfree for image
    
    Variable "image" goes out of scope
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d695f5da9f5b778e54b6987d9177048e32818c4d
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:02:01 2011 +0200

    ximcp/imRm: Handle leaking colormap_ret
    
    Fixed memory leak by adding Xfree for colormap_ret
    
    Variable "colormap_ret" goes out of scope
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:01:59 2011 +0200

    ximcp/imRmAttr: Handle leaking missing_list
    
    Fixed memory leak by adding Xfree and initializing missing_list with NULL
    
    Variable "missing_list" goes out of scope
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:01:58 2011 +0200

    ximcp/imRmAttr: Handle leaking colormap_ret
    
    XFree colormap_ret and initialize it when appropriate.
    
    Variable "colormap_ret" goes out of scope
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f66a032a937030f2d9baa81744d36dc585bb085c
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:01:56 2011 +0200

    xlibi18n/lcGeneric: Initialize uninitialized local variable
    
    Using uninitialized value "new"
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0266e06d38110ec908ca28379014eff743630b7
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 31 14:01:54 2011 +0200

    xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions)
    
    Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 1 12:30:56 2011 +0200

    XDefaultOMIF.c: Fix memory leaks in get_font_name
    
    Instead of copying the value returned by get_prop_name and then releasing it,
    directly use the return value of get_prop_name, which allocates memory for the
    name.
    
    If get_prop_name returns NULL, continue on to XFreeFont to release the font
    before returning the NULL via the normal function return.
    
    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 95796351435d81eaef8166d49ba3a6e7b633d70a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Jan 31 14:50:19 2011 -0500

    config: comment, minor upgrade, quote and layout configure.ac
    
    Group statements per section as per Autoconf standard layout
    Quote statements where appropriate.
    Autoconf recommends not using dnl instead of # for comments
    
    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
    Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS
    
    This helps automated maintenance and release activities.
    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit e994ab227ed28655565c3193e63733630105e7f9
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Tue Jan 18 12:49:48 2011 +0200

    Comparing array against NULL is not useful "&xkb->server->vmods != NULL"
    
    Removed superfluous comparison.
    
    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>

commit 4115f051e62f9b098efce691e070d44f09f30f1c
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Wed Jan 12 15:51:11 2011 +0200

    Variable "entry" tracked as NULL was dereferenced.
    
    Check entry for non-nullness before dereferencing it
    
    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>

commit 0edb76d1d5fdca5a2543332699be2e72386dab24
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Thu Jan 27 09:54:00 2011 +0200

    Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.)
    
    If _XkbGetReadBufferPtr returns NULL, goto BAILOUT
    
    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>

commit 59da8a211ef723909d0530c0331d541db8e63378
Author: Erkki Seppälä <erkki.seppala@vincit.fi>
Date:   Mon Jan 10 16:17:47 2011 +0200

    Using freed pointer "e"
    
    Reordered code to first to do the comparison and then to release data
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>

commit 0f11c229f7099f7c5aeed4691b358dca151dac7d
Author: Matt Dew <marcoz@osource.org>
Date:   Thu Jan 27 00:31:23 2011 -0700

    Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens.
    
    Signed-off-by: Matt Dew <marcoz@osource.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 16:07:07 2011 -0500

    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
    
    This silences an Automake warning.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 14:59:04 2011 -0500

    config: remove unrequired AC_HEADER_STDC
    
    Autoconf says:
    "This macro is obsolescent, as current systems have conforming
    header files. New programs need not use this macro".

commit d4483375e37a72631d5821413cb75a423e990ffe
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jan 18 19:37:02 2011 -0800

    config: Use correct AC_CONFIG_HEADERS macro
    
    Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

commit c6405fe931f313a0d159bdad00244fc8aae12468
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 16 11:55:23 2011 -0800

    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
    
    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
    AC_PROG_C_C99. This sets gcc with -std=gnu99.
    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 17aa1f2305da0952ad594c7329d08aba21f13ac8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 16 11:40:59 2011 -0800

    Update to xf86bigfontproto >= 1.2.0 header name
    
    Clears compile-time warning of:
    "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future."
    "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines."
    
    Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not
    passed to configure.
    
    Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS
    that PKG_CHECK_MODULES does automatically
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>

commit a9228fcc676aacf9a760dd94891c89f9bc82b20d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jan 11 17:55:22 2011 -0800

    libX11 1.4.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 92fa96451af37a7a0f2592de07643fdaed7a9efd
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date:   Mon Jan 3 12:25:28 2011 -0500

    Initialize event type
    
    If we receive unsupported event closing connection triggers valgrind
    error.
    
    ==12017== Conditional jump or move depends on uninitialised value(s)
    ==12017==    at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607)
    ==12017==    by 0x486857B: XCloseDisplay (ClDisplay.c:72)
    *snip*
    ==12017==  Uninitialised value was created by a heap allocation
    ==12017==    at 0x4834C48: malloc (vg_replace_malloc.c:236)
    ==12017==    by 0x4894147: _XEnq (XlibInt.c:877)
    ==12017==    by 0x4891BF3: handle_response (xcb_io.c:335)
    ==12017==    by 0x4892263: _XReply (xcb_io.c:626)
    *snip*
    
    Problem is that XFreeDisplaySturture is checking for qelt->event.type ==
    GenericEvent while _XUnknownWireEvent doesn't store the type.
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>

commit fa9747b9d4443eef9b1687b8b1208801f5c585da
Author: Fernando Carrijo <fcarrijo.lists@gmail.com>
Date:   Tue Dec 28 16:18:57 2010 -0500

    specs: convert images from gif to svg format.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c
Author: Philipp Reh <sefi@s-e-f-i.de>
Date:   Wed Dec 22 15:14:05 2010 +0000

    Events: Store event cookie when dequeuing event
    
    When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent,
    make sure to store the corresponding cookie too.
    
    Signed-off-by: Philipp Reh <sefi@s-e-f-i.de>
    Reviewed-by: Daniel Stone <daniel@fooishbar.org>

commit d2714d65e85b44abedf5f82e1a31506dba397ef2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Dec 21 18:47:16 2010 -0800

    Revert "Mark atom names argument to XInternAtoms as const"
    
    This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5.
    
    The constification of a pointer to a pointer caused unexpected issues,
    and xorg-devel was unable to come up with a clean, safe, reasonable way
    to handle them, so we're chalking this up for now as yet another mistake
    in the Xlib API definition we'll be living with.
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6459f9a48a82de3bc0235bd36acab2df11e436d5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 20 20:54:07 2010 -0800

    specs/XKB: make acknowlegement section <preface> instead of <chapter>
    
    Fixes numbering of actual chapters to match their filenames and to
    make the table/figure numbering match the references in the text.
    
    Reported-by: jelmd on freenode irc
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Dec 19 23:53:02 2010 -0800

    Add XKBlib spec images to dist_spec_DATA for distribution & installation
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d
Author: Matt Dew <matt@osource.org>
Date:   Tue Nov 30 10:52:07 2010 -0500

    specs: convert XKBlib spec from Framemaker to DocBook.xml
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit c8701115462b482d99ecff24d9de0f2806084ba5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 21 20:49:05 2010 -0800

    Mark atom names argument to XInternAtoms as const
    
    Updates code & docs for XInternAtoms.
    
    The single atom name argument to XInternAtom was already const char *
    in the code, but not the docs, so updated it in the docs too.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 21 14:04:32 2010 -0800

    libX11 1.4.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Sat Nov 6 21:58:10 2010 +0000

    config: Check host string when deciding architecture to build for
    
    When checking for the OS/2 platform, $target_os is used. However, unless
    building a cross compiler, the $host* strings contain the platform
    details for the build system. See:
    
    http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation
    
    $host_os is already being used to determine the transport and threading
    options.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Sat Nov 6 21:58:09 2010 +0000

    config: Fix architecture check for OS/2 to skip nios2 cpu
    
    The OS/2 platform requires some utility functions as well as having a
    non-32 bit wchar_t. Fix the configure check so that it doesn't also
    affect the nios2 cpu, which wouldn't influence these operating system
    issues.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Nov 9 13:04:44 2010 -0500

    config: HTML file generation: use the installed copy of xorg.css
    
    Currenlty the xorg.css file is copied in each location
    where a DocBook/XML file resides. This produces about
    70 copies in the $(docdir) install tree.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3e8907305e1818369aef5a5c0da61f09e20de4f8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 29 22:02:10 2010 -0700

    libX11 1.3.99.903 (1.4.0 RC3)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5d245d8013289b13e0c42100951b26166c7fada4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 29 22:01:39 2010 -0700

    Require xorg-macros 1.11 now that it is released
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1ec89689fc771f116a6165226b9e076f54254a40
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Fri Oct 22 19:09:07 2010 -0700

    docs: Disable fop documentation by default
    
    fop is used to generate the pdf and ps formats of the documentation.
    This can significantly slow down the build, especially when creating all
    the compose key charts. Since few people probably want the full set of
    doc formats, set the default to 'no'.
    
    The default parameter for XORG_WITH_FOP is only available in recent
    macros. Users generating configure from older macros will just get
    'auto' as the default.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 03877bda911b72ac60a7144d6eced7d5be4b4d72
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Wed Apr 14 13:38:18 2010 +0100

    Add C.UTF-8 and C.ASCII locale aliases
    
    Add C.UTF-8 locale as an alias for en_US.UTF-8
    Add C.ASCII locale as an alias for C
    
    (C.UTF-8 is the default locale for cygwin.  It also exists in debian,
    although I don't think it's intended for use by humans.)
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Acked-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 81d1d9a6bdca779a44f931730b866eea75777c00
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Sat Oct 9 16:00:47 2010 -0700

    docs: Remove directory prerequisites from make rules
    
    Make expects prerequisites to be files with valid timestamps, and
    directories are treated as always being out of date. Thus, any targets
    depending on directories will always be rebuilt.
    
    Instead, the doc rules are changed to always create the target's leading
    directory. This should prevent the documentation from being rebuilt when
    "make install" is run.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0cbf388919364fe6b5b9127f36426eb744090a0
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Sep 26 21:21:16 2010 -0700

    Add an "X11_" string to header guards to avoid possible collision
    
    This addresses a build failure which can result from <X11/Xlocale.h> and
    <xlocale.h> being included in the same code since they both used the same
    _XLOCALE_H_ protection.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Sep 21 19:53:03 2010 -0700

    libX11 1.3.99.902 (1.4.0 RC2)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 986bb6d1d54368fe91e3ea24f518d43ce6179782
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Sep 14 00:10:31 2010 -0700

    Bug 19379 - Provide docs with overview of all compose key combinations
    
    Adds compose-chart.pl to generate DocBook/XML documents listing compose
    keys, and Makefile rules to generate HTML & PDF output from them if xmlto
    is present.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=19379
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
    Reviewed-by: James Cloos <cloos@jhcloos.com>
    Tested-by: Gaetan Nadon <memsize@videotron.ca>

commit 3eb064071695ebf0f371163ed818a428dfeba8e6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Sep 11 00:49:21 2010 -0700

    Make locale data build non-recursive / parallelizable
    
    On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time,
    plus this simplifies the next set of changes.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
    Reviewed-by: James Cloos <cloos@jhcloos.com>
    Tested-by: Gaetan Nadon <memsize@videotron.ca>

commit a3fc78ac352e5a70a958996ef6aec50f653974d1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 17 17:38:11 2010 -0400

    config: remove man page suffix from bottom summary
    
    The man page suffix is the same for all libraries on a given
    platform and is not configurable. It should have been removed
    in commit 09edc6de6.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit a52b0068f36c739eb7e426214cd72a8d9bb776ca
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 17 17:29:30 2010 -0400

    config: remove unhelpful comment in .gitignore
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 10dd881e7818be9074da4ab3a68577adcdaf71d2
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Sep 8 10:44:23 2010 -0400

    Zero buffer data in BufAlloc()
    
    Inspired by a pattern in NoMachine's NX.  Consistently zeroed buffers
    compress better with ssh and friends.  Note that you'll need to rebuild
    all your protocol libraries to take advantage of this.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b
Author: James Cloos <cloos@jhcloos.com>
Date:   Sun Sep 12 17:00:54 2010 -0400

    Revert “Dolt-ify"
    
    Libtool’s is now sufficiently fast that DOLT is no longer
    worth the bother, even on those few systems where is works.
    
    This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60
    and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c.
    
    It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214
    which moved dolt from configure.ac to m4/dolt.m4.
    
    And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Sep 9 19:24:29 2010 -0700

    XIM spec title page minor formatting cleanup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752
Author: Jens Petersen <petersen@redhat.com>
Date:   Mon Aug 23 18:08:10 2010 -0700

    Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8
    
    <https://bugs.freedesktop.org/show_bug.cgi?id=29773>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 3 23:11:53 2010 -0700

    Sun's copyrights are now owned by Oracle
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7742bf62b1fa652da4270587e280249945367cae
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 3 18:31:44 2010 -0700

    libX11 1.3.99.901 (1.4.0 RC1)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586
Author: Jeroen Hoek <mail@jeroenhoek.nl>
Date:   Sun Aug 29 09:47:06 2010 -0400

    libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S
    
    Add LATIN CAPITAL LETTER SHARP S
    (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale)
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 09edc6de6619a2eabda3b808ebff4165550664f1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Aug 13 14:21:08 2010 -0400

    config: remove man-pages configuration option
    
    This option was added in commit 6e752ea120 with no explanation.
    The section number is provoded by XORG_MANPAGE_SECTIONS
    There is no case where libX11 should be different than other libs
    The option was also used to disable building of the man pages,
    which build in 14 secs. No indication this is required.
    
    If there is a requirement from system builders to disable building
    of man pages, it could be done consistently for all modules.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f92e754297ec5fdb81068b56a4435026666224fa
Author: Aaron Plattner <aplattner@nvidia.com>
Date:   Sun Aug 15 21:51:38 2010 -0700

    XOpenDisplay: save the correct display_name value
    
    The X Test Suite's XDisplayString test checks the invariant
    XDisplayString(XOpenDisplay(str)) == str.  The Xlib XOpenDisplay violates this
    invariant by expanding str to the canonical form "host:display.scrn" (unless
    HAVE_LAUNCHD is set and it starts with "/tmp/launch").  E.g., this expands ":1"
    to ":1.0":
    
      400|26 1 1 19:26:41|IC Start
      200|26 1 19:26:41|TP Start
      520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1
      520|26 1 00032625 1 2|Assertion XDisplayString-1.(A)
      520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used
      520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the
      520|26 1 00032625 1 5|value used as the display argument.
      520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay.
      520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString.
      520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay.
      520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay.
      520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1".
      220|26 1 1 19:26:41|FAIL
      410|26 1 1 19:26:41|IC End
    
    Fix this by deleting all of the code to construct the canonical path and just
    stashing a copy of the original display_name in dpy->display_name.
    
    Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 1dc401f678469d0235e6d0b28eb4356f03327c9f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Aug 13 13:06:51 2010 -0400

    man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit cbe9eebd11e5ebab4280d25b57b4cd4001241619
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Aug 13 11:42:29 2010 -0400

    man: simplify building of shadow man pages
    
    Store the shadow files in git as any other man page.
    Move man pages to man dir and use the common makefile
    
    Local fix in CVS for bug 5628 is not required
    as the problem has been fixed in
    util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit bfd899c9af2318ecbe84cb69007dba4223fdb502
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Aug 9 09:39:26 2010 -0400

    config: reinstate XORG_PROG_RAWCPP erroneoulsy removed
    
    in commit 76e07ef6911734eac418e399b114f1b544512736.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 76e07ef6911734eac418e399b114f1b544512736
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Aug 6 14:01:51 2010 -0400

     man: using the C preprocessor is not required for man pages.
    
    There were no special symbols needing cpp.
    Everything can be handled by the default MAN_SUBSTS in util-macros.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Aug 6 15:51:56 2010 -0700

    Fix use-after-free in _XReply on X errors.
    
    _XReply would always call dequeue_pending_request on errors.  When it
    got an error for the current request, it would call dequeue, then break
    out of the loop; then, if it had an error in the event queue, it would
    compare it with the sequence number of the now-freed pending request.
    _XReply already stored that sequence number in dpy->last_request_read
    before freeing it, so look at that instead.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Josh Triplett <josh@joshtriplett.org>

commit 9fa146b30046396b70d64986e50d6617b3a8ac48
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Jul 31 16:15:35 2010 -0400

    specs: xsl stylesheet requires abs path to images
    
    Using abs_builddir requires automake 1.10 or later.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Aug 1 14:13:07 2010 -0400

    specs: update .gitignore now that all groff generated files are gone
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f70527f05677aaf6a493ba42d2d95f738aaebafa
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Jul 29 11:11:21 2010 -0400

    nls: Switch one of the interrobang sequences to gnaborretni
    
    Since gnaborretni is primarily used in LTR locales, the ? part of the
    sequence reflects the position of the bulge in the ?.  When scanning an
    inverted interrobang left-to-right, you see the bulge first, so the
    compose sequence ?! is used; upright interrobang shows the bulge
    last, so it's !?.
    
    This is a change in behaviour, but I was unable to come up with anything
    better.  ??!! or !!?? would match the patterns for ¿ and ¡, but they
    would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit
    Q.  Likewise ?!?! and !?!? would delay showing the interrobang itself.
    ~!? and ~?! were considered but are arguably less intuitive.
    
    Reviewed-by: James Cloos <cloos@jhcloos.com>
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 28 10:27:39 2010 -0400

    specs: move indexterm from glossdef to glossterm
    
    This move fixes a Java class cast exception in the glossary.
    The problem was introduced in commit
    26f4f0d50840fe5ba4c46aae0a8e68db0059434b
    
    It may not happen on all versions of the doc toolchain.
    There is no reason why indexterm cannot appear in glossdef,
    this is a workaround to an implementation problem found by
    trial and error.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 87a108f3aa565aa803dacb3a53b811f45025b609
Author: Matt Dew <matt@osource.org>
Date:   Sat Jul 24 14:46:57 2010 -0400

    specs: replace troff source with docbook-xml source
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 8e603413586ff42b1351688f6f99318cbe243bca
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat Jul 24 22:13:07 2010 +0200

    Compose.man: default user compose file is .XCompose, not .Xcompose
    
    The path was correct in the DESCRIPTION section, but not in FILES.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 554da76ece85d0fc0cada45a86860e69c2107e9a
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Jul 20 12:34:48 2010 +0100

    NLS: Add \o/ Compose sequence
    
    Unicode is even more pointlessly awesome! Add a binding for Compose-\o/
    to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>

commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jul 9 18:13:13 2010 +0100

    XStringToKeysym: Cope with 0x1234cafe-style input
    
    If we get input in the style of 0xdeadbeef, just return that exact
    keysym.  Introduces a dependency on strtoul, which I'm told is OK on all
    the systems we care about.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>

commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 19 17:58:27 2010 -0700

    specs/libX11: Fix column count of Gravity Attributes table
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 19 14:43:38 2010 -0700

    specs/libX11: Convert \- to &minus; and \^ to either &hairsp; or removed
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 19 11:28:50 2010 -0700

    specs/libX11: Manual cleanup pass over Ch. 1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 21567992958a6f12b3d0186f2f27a5b2a41b8448
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 19 14:51:10 2010 -0700

    specs/libX11: make sure all files have DOCTYPEs so standard entities work
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c944a8521f5760b485192658b921145159cdb439
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 18 13:12:20 2010 -0700

    specs/libX11: Fix up list of header files in Ch.1 & add index entries
    
    Combination of manual editing and automatic substitution via:
    
    perl -i -p -00 -e 's{<varlistentry>(\s+)<term>&lt;X11/([^&]+)&gt;</term>(\s+)<listitem>(\s+)<para>}{<varlistentry id="Standard_Header_Files:$2">$1<term><filename class="headerfile">&lt;X11/$2&gt;</filename></term>$3<listitem>$4<indexterm type="file"><primary><filename class="headerfile">X11/$2</filename></primary></indexterm>$4<indexterm><primary>Files</primary><secondary>&lt;X11/$2&gt;</secondary></indexterm>$4<indexterm><primary>Headers</primary><secondary>&lt;X11/$2&gt;</secondary></indexterm>$4<para>}g' CH01.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jul 18 12:47:27 2010 -0700

    specs/libX11: Add indexterms for headerfiles that .hN used to provide
    
    Automatic substitution performed via:
    perl -i -p -e 's{^&lt;<filename class="headerfile">([^<]+)</filename>&gt;(.*)$}{<filename class="headerfile">&lt;$1&gt;</filename>$2\n<indexterm type="file"><primary><filename class="headerfile">$1</filename></primary></indexterm>\n<indexterm><primary>Files</primary><secondary><filename class="headerfile">&lt;$1&gt;</filename></secondary></indexterm>\n<indexterm><primary>Headers</primary><secondary><filename class="headerfile">&lt;$1&gt;</filename></secondary></indexterm>}' *.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0b0d215cb85da48b323b1392149ce181e7ef5ec
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 16 21:15:13 2010 -0700

    specs/libX11: convert multicolumn lists from tables to <simplelist>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e679f80c6210c0aefe3669f8f536353619097a4b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 16 20:51:52 2010 -0700

    specs/libX11: Tag WM_* as <property>
    
    Mass substitution done by:
     perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c7b7e59b3b22221d0be6286c540001c360308f69
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 16 20:41:33 2010 -0700

    specs/libX11: Convert simpler eqn markup to docbook tags
    
    Mostly "sup" to <superscript>
    
    There's several more complicated equations that will probably need
    MathML or SVG to solve.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 897486c54c6a54771867d667441aaf9a4b9c35ca
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 16 00:50:39 2010 -0700

    specs/libX11: App. D: convert literallayouts to synopsis or programlisting
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 692906c3b3d8aa8b8927fbc230c3050d633785d2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 16 00:36:43 2010 -0700

    specs/libX11: Fix section headers in Appendix D
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 14 07:22:26 2010 -0700

    specs/libX11: Explicitly tag document as English
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6783544706ff370e900c137f951e90230586d6dc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 12 22:03:18 2010 -0700

    specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting
    
    Fixes display of a bunch of function prototypes and sample code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8834cd9285e6aaf437aee56292c508d99a090fa9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 12 18:37:16 2010 -0700

    xmlrules.in: Add chunked-html rule to manually generate smaller files
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 12 18:35:59 2010 -0700

    specs/libX11: Convert Appendix A tables to real tables
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 705a1257a8a47f4a1f94979aee09a837500ede7d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 12 18:38:09 2010 -0700

    specs/libX11: Fix out-of-place text in Chapter 1
    
    DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a151346a2b7810e988f1de4b1e00b37672dc587a
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Mon Jul 12 16:52:12 2010 -0700

    launchd: Explicitly search /sbin
    
    Previously, launchd wasn't found if /sbin wasn't in the user's PATH.
    https://bugs.freedesktop.org/show_bug.cgi?id=29028
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 12 13:38:04 2010 -0700

    Replace untranslated .hN macros with <filename> tags to show header names
    
    Translation performed by:
     perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->}
                     {&lt;<filename class="headerfile">$1</filename>&gt;$2}' *.xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 75480440946603b8efdbbf78b88d59c641b6d2c8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 10 00:06:13 2010 -0700

    specs/libX11: Mass substitution of <function> tags with more specific tags
    
    Matched names from X headers & "nm libX11.so" output to names in spec to
    map to more specific tags.   Tags used:
    
                        <code>   code fragments
                    <constant>   enum values
                   <errorname>   X protocol errors
                    <filename>   filenames
                    <function>   functions
                    <function>   function-like macros (#define foo(a,b)...)
                 <returnvalue>   function return codes
                 <structfield>   struct members
                  <structname>   struct names (even when typedefed)
                      <symbol>   simple value #defines (#define NAME value)
                  <systemitem>   X protocol requests
    <systemitem class="event">   X protocol events
                        <type>   non-struct typedefs
                     <varname>   global variables
    
    (Also fixed a couple typos detected by failures of this matching, such as
     XESSetPrintErrorValues -> XESetPrintErrorValues.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jul 9 00:37:23 2010 -0700

    specs/libX11: Glossary cross-reference links
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 8 21:19:08 2010 -0700

    specs/libX11: Make whitespace around <function> tags more uniform
    
    Simplifies regular expressions for further mass substitutions.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 730ce6b8aca77b77385aa894d234cbde5fcbce37
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jul 9 20:10:37 2010 -0400

    specs: use pattern rules rather than suffix rules
    
    This allows target to rebuild when included .xml files are changed.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 5527b4bc8ce7de60123eb28789ddef54aa48a378
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 8 20:56:41 2010 -0700

    specs/libX11: Move punctuation outside of the <function> tags
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 8 20:42:50 2010 -0700

    specs/libX11: Mark a number of <acronym>s
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d5bbb12f55ac9f691eab6242cedc53207275131b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 8 19:31:36 2010 -0700

    specs/libX11: Glossary terms should not be marked as functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 8 19:28:18 2010 -0700

    specs/libX11: Clean up author list & acknowledgements a little
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 8 17:30:34 2010 -0700

    specs/libX11: Convert troff .IN macros to docbook <indexterm> tags
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jul 8 17:29:21 2010 -0400

    specs: specdir is required to install xml files
    
    The source is installed as well as the targets.
    This failed when configuring with --without-xmlto
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit e14273f44c1501ab51db4adcb83b18a1073787d8
Author: Matt Dew <matt@osource.org>
Date:   Thu Jul 8 14:42:32 2010 -0400

    specs: replace troff source with docbook-xml source
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit bea0873caf50e9ed1b89255775d9ab912cbecd45
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Thu Jul 8 16:49:51 2010 +0100

    XStringToKeysym: Check strdup() return value
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Keith Packard <keithp@keithp.com>

commit cffa71b4a5743e2b6675b9a917d15aef4177d513
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Mon Jun 28 15:08:05 2010 +0300

    Fix two typos in SFS 5966 Annex 3
    
    X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792>
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit eb023c0f8919e809b8b609e1467b14d20a290aa7
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Jun 15 18:49:43 2010 +0100

    Delete now-redundant XKeysymDB
    
    Since XStringToKeysym now supports all the vendor keysyms, just delete
    our XKeysymDB, which was incomplete at best, misleading at worst, and
    always an annoyance.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 00175397480b76d32bf82b0c7c94c91a2a95954e
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Jun 15 18:48:48 2010 +0100

    makekeys: Scan vendor keysyms as well as core
    
    Since we can't really live without vendor keysyms, scan them all in to
    generate ks_tables.h, rather than only doing the core ones, and leaving
    the vendor syms to be manually synchronised with XKeysymDB.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Jun 15 18:47:37 2010 +0100

    XStringToKeysym: Special case for XF86 keysyms
    
    Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being
    XF86foo.  So, if we get to the bottom of XStringToKeysym and haven't
    found our XF86_foo, try it again as XF86foo.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Jun 15 17:20:48 2010 +0100

    configure.ac: Change from deprecated AC_DEFINE_DIR to AX_
    
    AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin
    namespace, so start using the more proper AX_DEFINE_DIR instead.
    
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d
Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
Date:   Thu Jul 1 06:50:47 2010 -0300

    Purge macros NEED_EVENTS and NEED_REPLIES
    
    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
    Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0b724231be17f19538ee115a03b82b221b1f83c0
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Jun 30 16:30:49 2010 -0400

    Use -version-number consistently instead of -version-info
    
    The latter is libtool braindamage.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 241a990afcf9c967c587ad6fd245df21b68b1ad9
Author: Juliusz Chroboczek <jch@pps.jussieu.fr>
Date:   Tue Jun 29 18:32:42 2010 +0200

    Make Compose-comma map to ogonek for I and U in UTF-8 locales.
    
    With the preceding patch, it makes the UTF-8 compose map consistent with
    the ISO 8859-4 and -13 maps.

commit af55e582f485a668c2bf43129be972bc65f03c60
Author: Juliusz Chroboczek <jch@pps.jussieu.fr>
Date:   Tue Jun 29 18:20:18 2010 +0200

    Make Compose-comma map to Ogonek for A and E in UTF-8 locales.
    
    This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file
    as far as Polish is concerned.  We only sacrifice one pair of characters,
    e-cedilla, which is not used in any language.

commit d6ba13009fc9ef876a104b907ffef73c6e405d4b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 24 13:13:11 2010 -0700

    Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 978c7238789037de917b9423ea9adfb006da1260
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 19 10:44:55 2010 -0700

    poll_for_response: Really handle xcb_poll_for_reply getting a reply.
    
    Don't lose async replies. That's bad.
    
    `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the
    _XReply path worked; that path waited for replies, rather than polling.
    
    However, XRecordProcessReplies, which does nothing but call XPending,
    relied on the event-handling path to process async replies, and that was
    busted.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit ef67486c5a8aada24fd95b2991a3c4979f53805f
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Jun 21 13:34:15 2010 -0700

    Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request."
    
    This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as
    a matter of fact, if poll_for_response returns NULL when we know
    dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending
    request.

commit 301ec5b41e9d253a446db656e1789ac7345dc433
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Jun 21 13:24:24 2010 -0700

    Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply."
    
    This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do*
    need to check poll_for_event every time through the loop in
    poll_for_response, so the commit did too much.

commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Jun 21 10:54:02 2010 -0700

    xcb_io.c: poll_for_response doesn't guarantee there's a pending request.
    
    Fixes the second bug reported in:
    https://bugs.freedesktop.org/show_bug.cgi?id=28595
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit c115095d7f2bc4f5a4fb26380e3698fefdad7611
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 19 10:44:55 2010 -0700

    poll_for_response: Really handle xcb_poll_for_reply getting a reply.
    
    Don't lose async replies. That's bad.
    
    `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the
    _XReply path worked; that path waited for replies, rather than polling.
    
    However, XRecordProcessReplies, which does nothing but call XPending,
    relied on the event-handling path to process async replies, and that was
    busted.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Josh Triplett <josh@joshtriplett.org>

commit a25ae169862ab9b76daf259613b37c6b07bc2ef2
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Sun Jun 13 19:23:05 2010 +0300

    Implement SFS 5966 Annex 4 for Finland
    
    This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in
    Annex 3 (which were actually copied verbatim from the standard text).
    
    The implementation of the standard is now complete.
    
    X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498>
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 4 13:20:17 2010 -0700

    LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits
    
    One of the malloc failure checks had a goto to the wrong spot in the
    list of cleanup free() calls to unwind at the end, and was freeing
    bits that hadn't been initialized/allocated yet, since they would be
    stored in the struct that just failed to be allocated.
    
    Error: Null pointer dereference (CWE 476)
       Read from pointer that could be constant 'NULL'
            at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'.
              Pointer checked against constant 'NULL' at line 754 but does not protect the dereference.
    
    [ This bug was found by the Parfait bug checking tool.
      For more information see http://research.sun.com/projects/parfait ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aebbf3623888119b43893b253195d93b613a6e1e
Author: Josh Triplett <josh@joshtriplett.org>
Date:   Sun Jun 6 19:11:55 2010 -0700

    Mark the rest of Xprivate.h as _X_HIDDEN.
    
    None of the functions in Xprivate.h should have any callers outside of
    Xlib, by definition.
    
    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
    Suggested-by: Jamey Sharp <jamey@minilop.net>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit abcd1b67c8135ad652833e5a60d818837c39fce1
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri Jun 4 13:57:45 2010 +0200

    Hide _XSeqSyncFunction
    
    Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction
    non-static, but we don't need to export it.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8
Author: Josh Triplett <josh@joshtriplett.org>
Date:   Thu Jun 3 09:41:01 2010 -0700

    Remove support for building without XCB
    
    And there was much rejoicing.
    
    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>
    
    Consensus on #xorg-devel agrees with removing --without-xcb; in
    particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg,
    Julien Cristau, and Rémi Cardona.

commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 3 15:21:40 2010 -0700

    libX11 1.3.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 3 13:08:17 2010 -0700

    Workaround bug in groff flag processing that breaks distcheck
    
    At least with the groff 1.19.2 package I have installed, groff passes
    on the -I flags for the include path to grohtml, which if they come
    after the -P-I... flag we pass to grohtml to specify the image file
    name pattern cause it to override that flag and put the images in
    the wrong place, breaking "make distcheck" - changing the flag order
    works around this.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 3 11:25:33 2010 -0700

    Fix typo that made configure always report "none" for man page suffix
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce
Author: Paul Bender <pebender@gmail.com>
Date:   Thu Jun 3 11:20:26 2010 -0700

    Bug 22591 - configure does not obey the --enable-*-transport options
    
    https://bugs.freedesktop.org/show_bug.cgi?id=22591
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d7f35946d673bb00f2768e025b6e1017422b2174
Author: Paul Bender <pebender@gmail.com>
Date:   Thu Jun 3 11:17:45 2010 -0700

    Bug 22590 - libX11 1.2.1 has broken abstract namespace support
    
    https://bugs.freedesktop.org/show_bug.cgi?id=22590
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b2487d07f7b355f230a56e32c763acd08862735c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 3 11:06:15 2010 -0700

    Bug 22584 - libX11 does not cross compile
    
    Adaptation of patch submitted by Paul Bender in attachment 27301 to
    https://bugs.freedesktop.org/show_bug.cgi?id=22584
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

commit 4378219ff8c1418418c70086085358b69d574e74
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 1 18:55:48 2010 -0700

    Clarify requirements in XRestackWindows man page
    
    The required common parent window is not specified in the arguments,
    just implied as the parent of the first window in the list.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f09c5299a381e2729e800a0ac43f1c0e371f65f6
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed May 12 16:42:18 2010 -0700

    xcb: Add TCP fallback
    
    If we fail to connect to a UNIX socket and the transport isn't specified,
    fallback on TCP.  This matches behavior with the xtrans codepath and the
    Xlib spec.
    
    http://lists.x.org/archives/xorg-devel/2010-April/007915.html
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Jamey Sharp <jamey@minilop.net>

commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e
Merge: aae2a4a7 933aee1d
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon May 10 16:51:24 2010 -0700

    Merge branch 'xlib-xcb-thread-fixes'

commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Apr 23 21:50:29 2010 -0700

    Don't append the screen number when using a launchd socket
    
    ssh gets confused by this.  XQuartz is the only DDX using this
    functionality, and it doesn't support different screens, so
    let's just not include this until most ssh know how to handle
    this.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit adcd0ec209abf832a769d52db660fb37eaad6e0c
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Apr 23 16:33:44 2010 -0700

    Remove launchd logic from _XConnectXCB as it's handled in XCB
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit d232b259c36fdde1f4179822809fec1480867dc5
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Feb 2 17:01:28 2010 -0800

    Fix various build warnings
    
    imLcIm.c: In function '_XimCachedFileName':
    imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
    imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
    
    imRm.c: In function '_XimDefaultArea':
    imRm.c:597: warning: cast from pointer to integer of different size
    imRm.c: In function '_XimDefaultColormap':
    imRm.c:626: warning: cast from pointer to integer of different size
    
    lcFile.c:224: warning: no previous prototype for 'xlocaledir'
    
    lcUTF8.c: In function 'iconv_cstombs':
    lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type
    lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
    lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
    lcUTF8.c: In function 'iconv_mbstocs':
    lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
    lcUTF8.c: In function 'iconv_mbtocs':
    lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
    lcUTF8.c: In function 'iconv_mbstostr':
    lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
    lcUTF8.c: In function 'iconv_strtombs':
    lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
    lcUTF8.c: In function '_XlcAddGB18030LocaleConverters':
    lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
    
    XlibInt.c: In function '_XGetHostname':
    XlibInt.c:3441: warning: implicit declaration of function 'gethostname'
    XlibInt.c:3441: warning: nested extern declaration of 'gethostname'
    
    ConnDis.c: In function '_XDisconnectDisplay':
    ConnDis.c:540: warning: old-style function definition
    ConnDis.c: In function '_XSendClientPrefix':
    ConnDis.c:554: warning: old-style function definition
    ConnDis.c: In function 'XSetAuthorization':
    ConnDis.c:677: warning: old-style function definition
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 3e11c73187acb2e2be9a812840bbbea947527ccb
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date:   Fri Apr 23 00:01:54 2010 +0200

    Allow X11 users to compose anarchism
    
    I can easily compose the hammer and sickle (the symbol representative
    of communism) by pressing the key sequence:
    
      <Compose> <C> <C> <C> <P> -> ☭
    
    But i can't easily make the circled A (the symbol representative of
    anarchism).
    
    I'd like to be able to use <Compose> <O> <A> (this is a
    currently unused key sequence) to generate the symbol:  Ⓐ
    
    Debian bug#555938 <http://bugs.debian.org/555938>
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 933aee1d5c53b0cc7d608011a29188b594c8d70b
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Apr 16 20:18:28 2010 -0700

    Fix Xlib/XCB for multi-threaded applications (with caveats).
    
    Rather than trying to group all response processing in one monolithic
    process_responses function, let _XEventsQueued, _XReadEvents, and
    _XReply each do their own thing with a minimum of code that can all be
    reasoned about independently.
    
    Tested with `ico -threads 20`, which seems to be able to make many
    icosahedrons dance at once quite nicely now.
    
    Caveats:
    
    - Anything that was not thread-safe in Xlib before XCB probably still
      isn't. XListFontsWithInfo, for instance.
    
    - If one thread is waiting for events and another thread tries to read a
      reply, both will hang until an event arrives. Previously, if this
      happened it might work sometimes, but otherwise would trigger either
      an assertion failure or a permanent hang.
    
    - Versions of libxcb up to and including 1.6 have a bug that can cause
      xcb_wait_for_event or xcb_wait_for_reply to hang if they run
      concurrently with xcb_writev or other writers. So you'll want that fix
      as well.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Reviewed-by: Josh Triplett <josh@freedesktop.org>

commit aab43278ae619eb57d2dd9c7396f460f078588fc
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Apr 16 22:24:16 2010 -0700

    Use InternalLockDisplay on code paths called from LockDisplay.
    
    It's easier to reason about the code when we can't re-enter the
    Xlib-private sync-handlers while they're already running.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Reviewed-by: Josh Triplett <josh@freedesktop.org>

commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Apr 16 19:45:11 2010 -0700

    Fix _XSend to enqueue the right range of pending requests.
    
    _XSend was off-by-one on both ends. It should not re-enqueue the last
    request that was already flushed, but it should enqueue the last request
    currently being flushed.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Reviewed-by: Josh Triplett <josh@freedesktop.org>

commit f2735889908d6e5a7f8dbee42f00c54a52665191
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Apr 16 19:45:11 2010 -0700

    Pending requests are always added in-order.
    
    Replace insert_pending_request, which did an in-order search of the
    queue to find the right insertion point, with a simpler
    append_pending_request, and use that in _XSend as well.
    
    Includes assertions to check that the list of pending requests is in
    order by sequence number and does not have duplicates.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Reviewed-by: Josh Triplett <josh@freedesktop.org>

commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6
Author: Markus Duft <markus.duft@salomon.at>
Date:   Fri Apr 16 08:39:34 2010 -0700

    Bug 26839: Fix build problem on Interix (POSIX layer on Windows)
    
    https://bugs.freedesktop.org/show_bug.cgi?id=26839
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a
Author: Josh Triplett <josh@freedesktop.org>
Date:   Thu Apr 15 14:24:21 2010 -0700

    Stop returning an int from _XIDHandler and _XSeqSyncFunction
    
    _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and
    thus had to return an int.  Now, they only run from _XPrivSyncHandler or
    LockDisplay, neither of which needs to check their return value since they
    always returned 0.  Make them both void.
    
    Signed-off-by: Josh Triplett <josh@freedesktop.org>
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Apr 15 13:05:08 2010 -0700

    Move XID and sync handling from SyncHandle to LockDisplay to fix races.
    
    XID and sync handling happened via _XPrivSyncHandler, assigned to
    dpy->synchandler and called from SyncHandle.  _XPrivSyncHandler thus ran
    without the Display lock, so manipulating the Display caused races, and
    these races led to assertions in multithreaded code (demonstrated via
    ico).
    
    In the XTHREADS case, after you've called XInitThreads, we can hook
    LockDisplay and UnlockDisplay.  Use that to run _XIDHandler and
    _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know
    that we hold the lock, and thus we can avoid races.  We think it makes
    sense to do these both from LockDisplay rather than UnlockDisplay, so
    that you know you have valid sync and a valid XID before you start
    setting up the request you locked to prepare.
    
    In the !XTHREADS case, or if you haven't called XInitThreads, you don't
    get to use Xlib from multiple threads, so we can use the logic we have
    now (with synchandler and savedsynchandler) without any concern about
    races.
    
    This approach gets a bit exciting when the XID and sequence sync
    handlers drop and re-acquire the Display lock. Reacquisition will re-run
    the handlers, but they return immediately unless they have work to do,
    so they can't recurse more than once.  In the worst case, if both of
    them have work to do, we can nest the Display lock three deep.  In the
    case of the _XIDHandler, we drop the lock to call xcb_generate_id, which
    takes the socket back if it needs to request more XIDs, and taking the
    socket back will reacquire the lock; we take care to avoid letting
    _XIDHandler run again and re-enter XCB from the return_socket callback
    (which causes Very Bad Things, and is Not Allowed).
    
    Tested with ico (with 1 and 20 threads), and with several test programs
    for XID and sequence sync.  Tested with and without XInitThreads(), and
    with and without XCB.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Josh Triplett <josh@freedesktop.org>

commit b089b53b697c2851db2985d32af3b29f1da5e31e
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Apr 14 12:59:11 2010 -0700

    Honest. Extensions get to filter async errors too.
    
    Under some circumstances, errors are picked up by calling
    xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued
    the requests with the XCB_REQUEST_CHECKED flag. That happens when either
    an async handler is queued at the time the requests are flushed, or when
    XSetEventQueueOwner has been used to prevent Xlib from processing XCB's
    event queue.
    
    This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover
    those cases.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit a15c31274650e391bc6de5d0951eb4464c228139
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Apr 14 12:10:34 2010 -0700

    _XError already runs async handlers; only call them directly for replies.
    
    The previous behavior probably would have triggered bug reports someday.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit 405132dab64bf2375f8e57d02b1b53da2311933a
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Apr 13 12:12:36 2010 -0700

    Extensions get to filter async errors too.
    
    Apparently I misread XlibInt.c:_XReply and thought that handlers set
    with XESetError should be consulted only for the sequence number that
    _XReply is currently looking for. In fact, the error handlers are also
    consulted when an error arrives for a request that was not expected to
    have a reply.
    
    However, in an odd twist, the error handlers are *not* consulted outside
    of _XReply--that is, when looking for events, or waiting to be able to
    flush the output queue. So this patch takes some small pains to preserve
    that behavior, though it seems likely to have been unintentional.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Apr 13 12:49:59 2010 -0700

    Prefer the xcb_generic_error_t we already have over casting to xEvent.
    
    Just a minor cleanup.
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit 75ea8c37935ccc911557d16a303ba595b8ab106b
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Apr 12 11:30:20 2010 -0700

    Run the user's synchandler as well as any internal synchandlers.
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595
    
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit c3f3e4a9e531d010312c97e753d6e543e607094d
Author: Kusanagi Kouichi <slash@ac.auone-net.jp>
Date:   Fri Feb 12 17:16:10 2010 +0900

    Fix manual typos.
    
    Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 75c6c5595408caba9ef8233839d77021d02f86f2
Author: Dirk Wallenstein <dirkwallenstein@t-online.de>
Date:   Fri Feb 5 20:42:46 2010 +0100

    man: Correct the XkbAllAccessXEventsMask mask name
    
    This mask has probably been renamed but not been updated in the manuals.
    
    Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9262aceaff24c954cab8c252690032bc2ec25e7d
Author: Dirk Wallenstein <dirkwallenstein@t-online.de>
Date:   Fri Feb 5 20:42:45 2010 +0100

    man: Add missing geometry component flag
    
    Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 50cf134465f6fd263f37acecac94518468ef1c6d
Author: Dirk Wallenstein <halsmit@t-online.de>
Date:   Tue Feb 2 21:24:32 2010 +0100

    man: Return value of XkbGetState is Status and not Bool
    
    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641
Author: Dirk Wallenstein <halsmit@t-online.de>
Date:   Tue Feb 2 21:24:30 2010 +0100

    man: Fix return value specification of XkbKeyActionEntry
    
    The XkbKeyActionEntry macro expands to a pointer.
    
    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
    Reviewed-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e9884d4a05a5661ec343ea8a2aa0562b6419e086
Author: Dirk Wallenstein <halsmit@t-online.de>
Date:   Tue Feb 2 21:24:29 2010 +0100

    man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732
    
    XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2
    groups with 2 levels each. It wraps the index into the next group.
    This behavior confuses the unaware user, and therefore this will add a
    reference to XkbKeycodeToKeysym in the corresponding man paragraph.
    
    Another bug had that issue, too. #5349
    
    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Apr 8 19:59:55 2010 -0700

    Fix typo in new fi_FI.UTF-8 that was reported by "make check"
    
    Unrecognized pattern in Compose on line #154:
      <dead_diaeresis> <space>                " "¨"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd
Author: Marko Myllynen <myllynen@redhat.com>
Date:   Thu Apr 8 19:52:42 2010 -0700

    Bug 27465 - Rewritten fi_FI.UTF-8 Compose file
    
    I've rewritten the fi_FI.UTF-8 Compose file so that it
    
    - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any
    possible additions to en_US.UTF-8/Compose automatically included)
    - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose
    definitions (thus making it safe to include en_US.UTF-8/Compose)
    - lists all the definitions specified in the SFS 5966 standard (thus making it
    easy to verify that the implementation is valid and complete)
    - adds a header about the file itself as required by the standard
    
    The rewritten version is ~320 lines compared to over 5000 lines of the previous
    version.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=27465

commit f6a4fd0c7615684d08e848245849dea4017a5214
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Apr 1 21:46:12 2010 -0400

    config: update and relocate AC_DEFINE_DIR macro
    
    Remove deprecated acinclude.m4 macro container file
    Use separate macro files as per autoconf recommendation
    Use the latest macro from GNU (ax) which replaces
    the non-gnu version (ac)
    This preserves the Autoconf macro AC namespace.
    
    Also moved out of acinclude.m4 is the DOLT macro
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 61d5231db418cec51bd718633c3bba39b18689d6
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 29 14:53:48 2010 -0400

    config: remove the pkgconfig pc.in file from EXTRA_DIST
    
    Automake always includes it in the tarball.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e
Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
Date:   Wed Mar 17 23:53:16 2010 -0300

    No need for req->firstKeyCode to be set twice.
    
    There is no reason to set req->firstKeyCode twice when a client, wishful
    for changing keyboard mappings, calls XChangeKeyboardMapping. This patch
    fixes the mistake by making no functional changes to libX11 whatsoever.
    
    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit b5797597f83ee62228abfb88f026ef92163e07a5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 16 10:37:21 2010 -0500

    config: move CWARNFLAGS from configure.ac to Makefile.am
    
    Compiler warning flags should be explicitly set in the makefile
    rather than being merged with other packages compiler flags.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 052c4d7995b0e52a038933beb85cd544571c6b7e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 16 14:28:21 2010 -0500

    specs: change install cmd due to automake 1.11
    
    specData_INSTALL is defined in 1.9 and 1.10 but not 1.11
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 9 17:27:08 2010 -0500

    doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6
    
    $(MKDIR_P) is not defined in automake 1.9.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit e66eda95b520727969d721416d4ea49b54ef2b03
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 2 16:29:26 2010 -0500

    specs: install html images in $docdir with html files
    
    The images required by the html files have been omitted.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jan 31 14:16:20 2010 -0500

    doc: use new macros to control doc generation
    
    Namely XORG_WITH_GROFF for the groff generation tool
    XORG_WITH_PS2PDF for the conversion of PS docs to PDF
    XORG_ENABLE_SPECS for the generation of specs
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Jan 26 19:41:08 2010 -0500

    doc: clean-up generated html images
    
    Generate images in /images as is the convention
    Provide a base file name for images rather than process ID
    Remove images directory when running make clean
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit eb289b34bfc9978eef724e0f268975938334c06c
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Thu Jan 21 13:39:17 2010 -0500

    XErrorDB: Add new DRI2 request names

commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat Jan 16 22:47:03 2010 +0000

    man: Fix typo in Makefile
    
    Missing line continuation was preventing the XCompose alias from being
    generated.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 68530599e61cf9fef3fcc91650e7cef21837fce7
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jan 16 11:41:32 2010 -0800

    libX11 1.3.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 14 18:33:39 2010 -0800

    Update COPYING file with actual licenses from libX11 code & docs
    
    COPYING was previously a years out-of-date copy of the LICENSES
    doc summarizing all licenses for all XFree86 components, many of
    which did not apply to libX11.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit ddb1786720d6136b1b28be599c75c10ad1b76a2a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 14 17:38:26 2010 -0800

    Purge CVS/RCS id tags
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit c1db9ddcfa7091f173478dca45bf720badedfca4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 14 15:39:14 2010 -0800

    Update Sun license notices to current X.Org standard form
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 14 08:28:22 2010 -0800

    Add %S substitutions to Compose man page
    
    Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S
    in Compose file include statements - this documents it in the Compose
    file man page.
    
    Also changes the existing substitution documentation to list format
    instead of a paragraph format to allow easier adding of %S.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 94b45db93058cffa25598fe27dd3e385ace9d305
Author: Richard Purdie <rpurdie@linux.intel.com>
Date:   Thu Jan 14 08:04:28 2010 -0800

    Fix configure.ac PKG_ macro calls
    
    If the first call to PKG_CHECK_MODULES() may not be called during execution
    which is the case here since its inside a case statement, call
    PKG_PROG_PKG_CONFIG() to ensure things worked correctly.
    
    Fixes a configure failure introduced by commit
    87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled.
    
    http://bugs.freedesktop.org/show_bug.cgi?id=26041
    
    Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jan 12 09:18:15 2010 -0800

    Raise xorg-macros requirement to 1.4
    
    Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2
    depend on the INSTALL file delivered in xorg-macros 1.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 9df349a7894725f9469b106af645f57f7f3f9af3
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed Jan 13 11:04:38 2010 -0500

    Allow inclusion of system level compose files.
    
    With the release of XFree86 4.4 an inclusion system of compose files was
    added to Xlib to allow inclusion of the default compose file (with %L),
    any compose files from user’s home directory (with %H), or a compose
    file with a hard coded path¹. However, even today including system level
    compose files is not possible in a platform independent manner although
    the machinery for including compose files and overriding previously
    defined compositions is already in place.
    
    With the ability to include system level compose files one could greatly
    reduce the need for compose file rule duplication and the work needed to
    propagate changes in one compose file to others. For example, currently
    the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it
    is almost identical with en_US.UTF-8 except for perhaps half a dozen
    compositions.
    
    This commit allows one to include system level compose files with the
    following kind of syntax:
    
    include "%S/en_US.UTF-8/Compose"
    
    1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42
    2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre
    
    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date:   Tue Dec 1 10:31:47 2009 +0100

    libX11: Fix comment: Invert polarity (direction) of reformat description.
    
    Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369
Author: Osamu Sayama <osamu.sayama@sun.com>
Date:   Tue Jan 5 17:26:40 2010 -0800

    set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7
    
    - In set_fontset_extents, check font_data is not NULL before running
      loop that may increment it to a non-NULL invalid pointer.
    - Make sure get_rotate_fontname counts the final field
    
    Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit 87529c039050ce3336ff9ce00f1b5a21d15690da
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jan 5 18:02:37 2010 -0800

    Merge X11, XKBPROTO, & XPROTO pkg-config lists
    
    Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS
    in configure.ac anyway, might as well combine the lists passed to
    PKG_CHECK_MODULES to reduce duplication in the flags.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jan 5 17:56:58 2010 -0800

    Add XCompose man page shadow for Compose man page
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 02543bba816e065c02cd36e0c9e21519a9ee9c96
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jan 5 17:47:44 2010 -0800

    Add $(AM_V_GEN) to silence lint rules too
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jan 5 17:42:42 2010 -0800

    Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Nov 29 10:44:24 2009 -0500

    configure.ac: restore correct order for XORG_DEFAULT_OPTIONS
    
    It must be following AC_USE_SYSTEM_EXTENSION

commit 3dbaa11d1c8705e1b309c6686f354766b651ad20
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Nov 29 10:01:44 2009 -0500

    Add .gitignore in /specs for generated files
    
    Being in /specs, it will apply for all 3 subdirs

commit f45d39d37aab04742e44cd8c3c993aad7587e40c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Nov 27 20:56:03 2009 -0500

    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
    
    Now that the INSTALL file is generated.
    Allows running make maintainer-clean.

commit 464390f16d7ed4aa5bf80f89863ba92273075ec2
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Oct 28 14:09:10 2009 -0400

    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
    
    Add missing INSTALL file. Use standard GNU file on building tarball
    README may have been updated
    Remove AUTHORS file as it is empty and no content available yet.
    Remove NEWS file as it is empty and no content available yet.

commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Oct 27 15:07:25 2009 -0400

    Deploy the new XORG_DEFAULT_OPTIONS #24242
    
    This macro aggregate a number of existing macros that sets commmon
    X.Org components configuration options. It shields the configuration file from
    future changes.

commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Oct 26 22:08:42 2009 -0400

    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
    
    ChangeLog filename is known to Automake and requires no further
    coding in the makefile.

commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Oct 22 12:34:19 2009 -0400

    .gitignore: use common defaults with custom section # 24239
    
    Using common defaults will reduce errors and maintenance.
    Only the very small or inexistent custom section need periodic maintenance
    when the structure of the component changes. Do not edit defaults.

commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Nov 12 23:05:40 2009 -0800

    Add compose-check.pl to EXTRA_DIST
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu Oct 29 17:17:24 2009 +0100

    man: fix XCopyGC argument order
    
    Ubuntu bug#408337

commit aad10032651cdc2a53b359035954454a28d6db67
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Oct 23 13:55:14 2009 -0700

    libX11 1.3.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6303ada89cb228c0f9656036f798703afb42fc29
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Oct 21 12:42:07 2009 +1000

    Add smiley faces to compose sequences.
    
    I wonder how we could have lasted that long without them.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Acked-by: Daniel Stone <daniel@fooishbar.org>
    Acked-By: James Cloos <cloos@jhcloos.com>

commit 0e104ebd8628803c27e36b16922ad1edd891325a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Oct 22 23:12:30 2009 -0700

    Add man page for Compose file format
    
    Based on grammar description in modules/im/ximcp/imLcPrs.c and
    note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date:   Tue Oct 20 12:46:03 2009 -0700

    Add extra configuration and sanity checks for groff and ps2pdf
    
    1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these
       environment variables.
    2) Check that groff -ms works
    
    Some distributions ship the ms macros as a separate package which may
    not be installed together with groff, so we need to make sure that groff
    works and the required macros are actually installed before attempting
    to build the specs.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

commit d3f801fd2f9198eaad6797414dba652f9c006c6d
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Sun Oct 18 17:34:53 2009 -0500

    Fix VPATH build of libX11 specs
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

commit ad15e1a89d30ccc11d80745897b83def1448e8c0
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Oct 17 16:14:34 2009 -0700

    libX11 1.3.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Oct 17 16:28:25 2009 -0700

    Fix make distcheck
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Oct 16 19:25:35 2009 -0700

    Use $(AM_V_GEN) to silence echo commands for generating shadow man pages
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Oct 14 16:18:24 2009 -0700

    Move libX11 & XIM/locale specs from xorg-docs
    
    If groff is found, and --disable-specs is not passed to configure,
    specs will be converted to text, html and ps (or pdf if ps2pdf is
    found) and installed to $(docdir)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Tue Oct 13 19:15:51 2009 -0500

    Provide _Xsetlocale compat wrappers on Cygwin
    
    Previous versions of Cygwin did not have proper locale support, so Cygwin/X
    defined X_LOCALE, using _Xsetlocale instead.  Cygwin 1.7 has added locale
    support, but we can't remove the _Xsetlocale entry point without breaking
    ABI.
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Tue Oct 13 19:15:49 2009 -0500

    dolt: add Cygwin to supported platforms
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

commit a2c8e3e34b15b57ff881a52101fc961a602f35e4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Oct 14 13:23:30 2009 -0700

    Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris
    
    Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Tue Feb 10 17:47:25 2009 +0000

    Include sys/select.h for select() and struct timeval, if it exists
    
    This is a cygwin build fix

commit 383165916ddac91740d4c780174d4c0d07cdb994
Author: Xake <xake@rymdraket.net>
Date:   Sun Sep 27 11:16:36 2009 +0200

    Use AM_V_GEN instead of customized macros for AM_SILENT_RULES
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 854269d55cdda8caf425515bfed2855e211a5ada
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Oct 6 16:11:24 2009 +0200

    configure: quote argument to m4_pattern_forbid
    
    Without this, configure spits out
    ../configure: line 12364: ac_fn_c_check_member: command not found
    ../configure: line 12378: ac_fn_c_check_type: command not found
    
    Also anchor the pattern to make it stricter.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date:   Thu Oct 1 22:20:38 2009 -0700

    Split CFLAGS into CPPFLAGS and CFLAGS
    
    On some build systems, CPPFLAGS is set to "-I/some/prefix/include".  If older
    X11 headers are in /some/prefix/include, they will be preferred over the
    shipped headers.  This corrects that problem.

commit d54caf1c9c55af8247621b7ba6afb20b23699839
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Oct 2 10:59:08 2009 +1000

    libX11 1.3
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit dd201bcf9e7f8863b7ef32273a5ef021678133c1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Oct 2 12:10:29 2009 +1000

    nls: remove duplicate Compose sequences from pt_BR.UTF-8
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit a293ae9e83739067fc92db1a39c262857bc2283e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Sep 25 11:19:41 2009 +1000

    Add XF86TouchpadToggle to XKeysymDB
    
    Lenovo laptops provide a key to enable or disable the touchpad and the
    trackstick. This key is usually located on Fn + F8.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Acked-by: Adam Jackson <ajax@redhat.com>

commit 69839f8903a24eab08f17a781b3797fb64dce9cf
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sun Sep 27 10:34:16 2009 -0700

    Bug 24173: libX11 from git fails to build with automake older then 1.11
    
    AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the
    Makefiles, instead of after.
    <http://bugs.freedesktop.org/show_bug.cgi?id=24173>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit f5effd041f58ef07703cca2b4f396758811e1eec
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Apr 15 10:59:23 2009 -0700

    Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 3843778358d3a0cd6a2d07dba5dd061248053ac9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Apr 15 10:56:09 2009 -0700

    Add perl script to check for duplicate or conflicting compose file entries
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Sep 18 17:10:04 2009 -0700

    Use make rules instead of shell for loops to generate shadow man pages
    
    Allows parallel make and simpler build logs/error reporting
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Sep 18 16:58:53 2009 -0700

    Add AM_SILENT_RULES support for cpp rules for man & nls files
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit bfa19cddd8546b4930a773f3bbd81137c362d82b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Sep 18 16:58:16 2009 -0700

    Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 51396066c8003a96a6399c9a4bed2a81e512b582
Author: Mikko Niskanen <mikko.niskanen@iki.fi>
Date:   Fri Sep 4 10:11:15 2009 +1000

    Fix wrong typedef on HP-UX (#18998)
    
    shl_dt doesn't exist, the type is shl_t.
    
    X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998>
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 615220a312b9430a580fe6dcf51703c6ef244f66
Author: Paul Bender <pebender@gmail.com>
Date:   Fri Sep 4 09:57:10 2009 +1000

    Don't require xdmcp in configure.ac (#22583)
    
    X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583>
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Sep 3 14:02:44 2009 +1000

    man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499)
    
    X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499>
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Sep 3 12:05:25 2009 +1000

    man: XQueryTree may return BadWindow. (#23416)
    
    X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX>
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Aug 28 23:07:58 2009 +0800

    Fix version tag in .TH line of several XKB man pages
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Aug 28 23:04:38 2009 +0800

    XkbSetDeviceButtonActions.man: remove non-existent actions argument
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 53affa9335116f2d367f041e6502a411d4619e47
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Aug 28 23:00:17 2009 +0800

    XkbQueryExtension.man: Arguments should be pointers
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6233948885acc5873a5abddfff235afec555f3c2
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Aug 28 22:53:03 2009 +0800

    XkbSAActionSetCtrls.man: Fix typo in formatting macro
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Aug 28 22:49:31 2009 +0800

    Convert Xkb API man pages to ANSI prototypes
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit fa2eecca85baab9616f7143cc1a853a594b4a90c
Author: James Cloos <cloos@jhcloos.com>
Date:   Mon Aug 24 06:35:17 2009 -0400

    Add some (Serbian) Cyrillic NFD sequences.
    
    A number of characters in use in the various countries which use the
    Cyrillic script do not appear as pre-composed characters in The UCS
    or Unicode; they are only available as combining-character sequences.
    
    This commit adds support for using (prefix) dead keys and Multi_key-
    initiated sequences to enter a number of these combining-character
    sequences.  This ensures that users can enter these scripts even
    when using the current Cyrillic keymaps, which lack support for
    the combining characters.
    
    Please see the discussions on the xkb mailing list.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Aug 5 18:14:23 2009 +0200

    man/xkb: delete spurious newline in .TH headers

commit ee723b83b24682db833a2f0abd96cd319b8a62af
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Aug 5 16:45:19 2009 +0200

    man: use __libmansuffix__ instead of 3X11 for references to other pages

commit 595e204feb82c798a92eea41fea03be6476ac181
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Aug 5 16:43:36 2009 +0200

    man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections

commit 9da7e230d5320e1556ad2084fcd06ee7994385ea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Aug 5 14:15:02 2009 +1000

    Bump to 1.2.99.901 (1.3 RC1)
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8
Author: Filippo Giunchedi <filippo@debian.org>
Date:   Sat Jun 6 16:56:54 2009 +0200

    nls: add {left,right}wards arrow to compose table
    
    Debian bug#532117 <http://bugs.debian.org/532117>
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 7949bfa00390241d994f32463e50d4bd78920568
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri Jul 31 13:33:52 2009 +0200

    Update library version for new symbols
    
    Commit 554f755e5545f63d3c8f299297927238da155773 added generic event
    cookie handling.  Bump libX11 version number accordingly.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Aug 2 17:18:31 2009 +0200

    Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h
    
    X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252>
    
    Reported-by: Riku Salminen <rsalmin2@cc.hut.fi>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jul 29 08:44:09 2009 +1000

    Fix compiler warning 'unused variable qelt'
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 03f4907e14f5755e72309f08742977b871e81e33
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jul 29 08:34:57 2009 +1000

    Add utlist.h to the Makefile.am
    
    utlist.h contains the linked list macros, it was added with the recent
    addition of event cookies but utlist.h wasn't added to the Makefile.am. As a
    result, make dist failed.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 554f755e5545f63d3c8f299297927238da155773
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 26 11:27:43 2009 +1000

    Add generic event cookie handling to libX11.
    
    Generic events require more bytes than Xlib provides in the standard XEvent.
    Memory allocated by the extension and stored as pointers inside the event is
    prone to leak by simple 'while (1) { XNextEvent(...); }' loops.
    
    This patch adds cookie handling for generic events. Extensions may register
    a cookie handler in addition to the normal event vectors. If an extension
    has registered a cookie handler, _all_ generic events for this extensions
    must be handled through cookies. Otherwise, the default event handler is
    used.
    
    The cookie handler must return an XGenericEventCookie with a pointer to the
    data.The rest of the event (type, serialNumber, etc.) are to be filled as
    normal. When a client retrieves such a cookie event, the data is stored in
    an internal queue (the 'cookiejar'). This data is freed on the next call to
    XNextEvent().
    
    New extension interfaces:
        XESetWireToEventCookie(display, extension_number, cookie_handler)
    
    Where cookie_handler must set cookie->data. The data pointer is of arbitray
    size and type but must be a single memory block. This memory block
    represents the actual extension's event.
    
    New client interfaces:
        XGetEventData(display, *cookie);
        XFreeEventData(display, *cookie);
    
    If the client needs the actual event data, it must call XGetEventData() with
    the cookie. This returns the data pointer (and removes it from the cookie
    jar) and the client is then responsible for freeing the event with
    XFreeEventData(). It is safe to call either function with a non-cookie
    event. Events unclaimed or not handled by the XGetEventData() are cleaned up
    automatically.
    
    Example client code:
        XEvent event;
        XGenericEventCookie *cookie = &ev;
    
        XNextEvent(display, &event);
        if (XGetEventData(display, cookie)) {
            XIEvent *xievent = cookie->data;
            ...
        } else if (cookie->type == GenericEvent) {
            /* handle generic event */
        } else {
            /* handle extension/core event */
        }
        XFreeEventData(display, cookie);
    
    Cookies are not multi-threading safe. Clients that use XGetEventData() must
    lock between XNextEvent and XGetEventData to avoid other threads freeing
    cookies.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit d7675cb8fa7155e7aff1459636a117a97aa1bf28
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Jul 6 13:17:35 2009 +1000

    Bump to 1.2.99.1
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 75fe48e7a42a685d7098e8d7108b9b956c471563
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jul 10 14:07:34 2009 +1000

    Bump to 1.2.2
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jul 2 09:10:25 2009 +1000

    XMaskEvent/XCheckMaskedEvents must not check for GenericEvents.
    
    GenericEvent cannot be selected for in the core event masks and they must
    thus be treated like extension events.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jul 2 09:06:05 2009 +1000

    XWindowEvent/XCheckWindowEvent must not return GenericEvents.
    
    GenericEvents have no fixed position for the window, so they must be treated
    like extension events.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 38f9054554d63525d2dd51aafb5eb57821158ab9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jun 15 19:00:43 2009 -0700

    Drop ancient USG SysV #ifdefs
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42
Author: Adam Jackson <ajax@redhat.com>
Date:   Fri Jun 12 12:44:01 2009 -0400

    Remove X_NOT_STDC_ENV usage. (#6527)

commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri May 29 11:18:11 2009 +0200

    nls: remove more duplicated aliases
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit e4b0899f516da224010e68bd2d953d5293d94993
Author: parag <parag@rawhideTM.pnq.redhat.com>
Date:   Thu May 28 11:29:35 2009 +0530

    nls: Add pa_PK locale information and make pa_IN as default for pa.
    
    X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954>
    
    [jcristau: removed the pa_PK.UTF-8 alias to itself]
    
    Signed-off-by: parag <pnemade@redhat.com>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit f0ea1f6d51145592f8617854f9320ec5dbff3299
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri May 29 10:58:20 2009 +0200

    nls: remove broken sd_IN.UTF-8 alias
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit e29e010dabdb17d6498f2ef1786f69b8830c18ca
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri May 29 10:57:43 2009 +0200

    nls: remove duplicated en_US* aliases
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit a89a300d87852c84389ad97db66dcb8930cb45dd
Author: Caolan McNamara <caolanm@redhat.com>
Date:   Thu May 21 18:41:05 2009 +0200

    man: missing space in XAllocColor man page
    
    X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854>

commit c1c001e36504fd304f76f69bf6af3643225c49ea
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed May 13 13:03:54 2009 -0400

    [nls] Replace remaining UCS Combining Characters in Compose sequences.
    
    The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>,
    where the keysym is used as a dead_key, with an actual dead_key symbol.
    
    The only remaining instances of UCS combining characters in the
    compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY
    used as a suffix in Multi_key-initiated sequences to create
    mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF
    from ∈ U+2208 ELEMENT OF.

commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed May 13 09:58:59 2009 -0400

    [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences.
    
    This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>,
    where the matching keysym is used as a dead_key, and for which alternative
    compose sequences exist.

commit 79f47e6dff2f0a0b673bbfecc47528edca814baa
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri May 8 20:11:54 2009 -0400

    [nls] Remove combining_ keysyms from the Compose files
    
    Some of the UTF-8 Compose tables included combining_ keysyms in
    the compose sequences as though they were dead symbols.  This
    is contrary to how combining characters are used in the UCS.
    Therefore, those lines have been removed from the Compose tables.
    
    There were also some combining_ keysyms as targets.  As those
    are not included in x11proto’s keysymdef.h, and as those do
    exist there as Uxxxx keysyms, they are replaced with the Uxxxx
    keysym names.
    
    This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107
    and is based on attachment 25644 by samuel.thibault@ens-lyon.org.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9
Author: parag <pnemade@redhat.com>
Date:   Tue May 5 16:50:47 2009 +0530

    libX11: Add new Indic language information to nls directory files. #21560
    
    Signed-off-by: parag <pnemade@redhat.com>

commit aaf81096eb44b4c2812108721ba02738391884da
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat May 2 01:38:14 2009 -0700

    Correct return type in XkbGetKeyboard man page
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 2bef065b70f70af520b5de8fb23529254d15f003
Author: Christoph Pfister <christophpfister@gmail.com>
Date:   Mon Apr 27 22:32:57 2009 -0700

    X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c)
    
    http://bugs.freedesktop.org/show_bug.cgi?id=21117
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 5c1cde105db10df24d3c532f032cbc59050c7313
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Apr 17 22:14:47 2009 -0700

    Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE
    
    Raises minimum autoconf version required to 2.60
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 84b7a91ef84f345384e4b0e13907385ca3ca3255
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Apr 14 15:59:57 2009 +0100

    Fix fi_FI.UTF-8, again
    
    Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose
    file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file.
    This reverts it back to using the en_US.UTF-8 one.

commit 128daff4422f973ea40dd1e31b2db230e643549e
Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
Date:   Thu Apr 9 12:01:07 2009 +0700

    Thai XIM not retrieve MB surrounding on UTF-8 LC
    
    On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps
    that use X Input Method.
    
    This is because GTK+ imxim immodule passes surrounding text in locale encoding,
    which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the
    multi-byte StringConversionText response for the StringConversionCallback to
    always be TIS-620, by retrieving a single byte and using it as-is.
    
    If the Thai XIM tries to convert the multi-byte text based on locale codeset
    before using it, it will work again.
    
    X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759>
    
    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit e09f0d227fbf95b6252759af9d426efd57686f9f
Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
Date:   Thu Apr 9 11:47:55 2009 +0700

    Thai XIM not filters when NumLock or CapsLock is on
    
    The Thai XIM component in libx11 activated on 'th*' locales normally filters
    input sequence according to orthographic rules. However, when NumLock/CapsLock
    is on, this stops working. All sequences are passed through.
    
    This is caused by missing masks in _XimThaiFilter(), which normally screens out
    certain special keys from entering orthographic rules. Unfortunately, this
    included events with NumLock/CapsLock on. Negating the masks from the check
    allows the events to be tested by the rules.
    
    X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517>
    
    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit d108d3c706af3502820b5202564488ea19908b77
Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
Date:   Thu Apr 9 11:25:25 2009 +0700

    CharSet-to-CompoundText Conversion Failed for Thai Locales
    
    SCIM fails to commit Thai input characters on Thai locales, because it commits
    string in compound text form, which was converted via
    XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8
    declares cs1's ct_encoding as TIS620-0:GR, which was commented out in
    src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence.
    So, declaring cs1 as ISO8859-11:GR instead makes it work.
    
    Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds
    support for UTF-8 input.
    
    And, along discussion in the bug, a similar problem was found for fontset, too,
    by causing delays on X apps startups on systems without tis620-0 fonts. This
    is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries
    by default for Thai X fonts. So, Thai fontset charset is also patched.
    
    X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475>
    
    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit fd62d3318c846cd43d66a505946e94704d7d83dc
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Apr 8 19:42:25 2009 -0700

    Revert "Change masculine to ordmasculine in Compose file comments"
    
    This reverts commit 892b401d5acc055803a20e349ede0d64490f2230.
    
    As Julien Cristau correctly points out, I misread the Compose file grammar
    in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and
    the keysym is named XK_masculine in keysymdef.h.   This change is thus a
    bug in the Solaris compose tables to be fixed, not an improvement to bring
    upstream.

commit eac57c77afdf44f50692225b8b0345a7c927bc84
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Apr 7 15:38:45 2009 -0700

    Version bump: 1.2.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit bfbec08baec33c5024510b0bcbbee6e4a8473e79
Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net>
Date:   Tue Apr 7 13:46:57 2009 -0700

    Bug 20773: Xcursor dynamic loading on Cygwin
    
    X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773>
    Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit c8c41614911be4fa222fa22478677d263b41c751
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Apr 6 16:52:46 2009 -0700

    Fix a several sparse warnings: Using plain integer as NULL pointer
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit b336c3d0cc2aefc8926500cff5f76b5a3e803886
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Apr 6 16:32:05 2009 -0700

    Further ansify prototypes & reduce #ifdefs in locking.c
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 892b401d5acc055803a20e349ede0d64490f2230
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Apr 6 10:50:09 2009 -0700

    Change masculine to ordmasculine in Compose file comments
    
    Matches the ordfeminine name used for the matching character,
    and the ordmasculine name used in many font descriptions of the glyph.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit e3198b55dc16ec57346cc28aa8d34165ce8cde96
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri Mar 13 13:52:33 2009 +0100

    Add a ru_RU.UTF-8 locale
    
    Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0.
    
    Debian bug#330144 <http://bugs.debian.org/330144>
    X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887>

commit d239de9452691d6f875e6e5ace3d499ec3bf14d9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Mar 25 17:59:09 2009 -0700

    Delete some unused "#ifdef notdef" static functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 4281892e31058ef3aecc96a5767824b34d88d415
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Mar 25 17:52:48 2009 -0700

    Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c
    
    This copy of Xrm.c is never compiled into the Xprint server any more, so
    this old code-sharing #ifdef from the monolith tree isn't needed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Mar 17 18:38:58 2009 -0700

    makekeys: combine malloc(strlen)+strcpy into strdup
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Mar 17 15:42:19 2009 -0700

    When makekeys fails to find a good hash, print error instead of divide-by-zero
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Mar 17 14:59:16 2009 -0700

    Remove ifdef checks for macII left over from ancient A/UX 3.0 support
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 16 18:37:49 2009 -0700

    XErrorDB additions for DRI2 requests
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 273f45af1441be9d2135e4cac8c46ceb33470236
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 16 18:35:44 2009 -0700

    XErrorDB additions for XInput errors and new XInput 1.5 requests
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 90ef36f6336068183bf9d13ca972202db35b1202
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 16 18:23:05 2009 -0700

    XErrorDB additions for RANDR 1.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 124a4efaccf329f1a44f6b824e70278bdd1cad83
Author: Lubos Lunak <l.lunak@suse.cz>
Date:   Mon Mar 16 18:03:36 2009 -0700

    XErrorDB updates for XTEST, RANDR, DAMAGE extensions
    
    From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 80811846e37b805fddb37c71589fd5f6f6037b3f
Author: Lubos Lunak <l.lunak@suse.cz>
Date:   Mon Mar 16 17:57:52 2009 -0700

    XGetErrorText() fails for extension error codes equal to the error base
    
    From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd
Author: Milos Komarcevic <miloskomarcevic@netscape.net>
Date:   Mon Mar 16 17:43:26 2009 -0700

    Bug 11456: Serbian locale updates (sr_RS and sr_ME)
    
    X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456>
    Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 934a6c0519a9e32505beee55b004f36c2a710217
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 16 14:55:22 2009 -0700

    Bug 10082: Compose entries for some standard mathematical operators
    
    X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit abf4da1ed0f735ca7ce471dc13a0ec3677391486
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 16 14:27:46 2009 -0700

    Bug 14651: We need to add new locale specification for Belarusian Latin locale
    
    X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 837703c8651e1321a50147a8311c56e4758ce08a
Author: Caolan McNamara <caolanm@redhat.com>
Date:   Mon Mar 16 14:15:50 2009 -0700

    Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature
    
    X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575>
    Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 22199018879055d8653e59d8236bef57164fac66
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 16 13:28:18 2009 -0700

    Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Mar 12 18:57:20 2009 -0700

    Bug 9953: Please provide locale alias hu_HU.utf8
    
    X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953>
    Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 501f4e0ada1690783ada05ad412e4b191ad55336
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Mar 12 17:38:21 2009 -0700

    Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error
    
    X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820>
    Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 7b9c543e7210c7da204871c31a160e79d3a949b6
Author: Paul Bender <pebender@gmail.com>
Date:   Thu Mar 12 17:11:42 2009 -0700

    Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb
    
    X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664>
    Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06
Author: Xue Wei <Wei.Xue@Sun.COM>
Date:   Wed Mar 4 19:32:29 2009 -0800

    Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA
    
    Sun bug 6809309 Add new utf8 locales supported by Xlib
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit cb70c9bc43267577859a3674ca9de9be396ba69e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Feb 23 19:29:15 2009 -0800

    Add --with-locale-lib-dir configure option to set locale lib install dir
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Feb 23 18:33:51 2009 -0800

    Incorporate more locale names/aliases from Solaris libX11
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 83ce4daefdf544f801c7d666c89162690a36ce41
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Feb 23 18:32:34 2009 -0800

    Incorporate char range comments from Solaris version of ksc5601.h
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764
Author: Chris Ball <cjb@laptop.org>
Date:   Sat Feb 21 14:48:42 2009 -0500

    Fix fi_FI locale install directory.
    
    fi_FI was setting "x11thislocaledir" to en_US, with the result that its
    locale data was written in that locale dir.
    
    Signed-off-by: Chris Ball <cjb@laptop.org>

commit da6bbca07c796c69172a649405474f03bee66754
Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es>
Date:   Sat Feb 21 20:17:23 2009 +0100

    xcb_io: Avoid datatype overflow on AMD64 and friends.

commit 4ef6491afa69e8441caee7bbebc583e6e796275e
Author: Chris Ball <cjb@laptop.org>
Date:   Sat Feb 21 12:51:03 2009 -0500

    Build fix for fi_FI.
    
    Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no
    Makefile is written there by configure.
    
    Signed-off-by: Chris Ball <cjb@laptop.org>

commit 642c4e928e770e012379539a6ce09e11c02f09a6
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat Feb 21 03:12:05 2009 +0100

    nls: actually use the fi_FI.UTF-8 files
    
    The subdir wasn't added to nls/Makefile.am

commit 9bad8309ef289bb943651abf6967b24fa2252aac
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Feb 20 14:45:54 2009 -0800

    flags member of Display structure needs to be marked volatile
    
    Since the Xlib multithreaded code checks the flags variable in _XFlushInt
    to see if the other threads are done yet, it has to be marked volatile so
    the compiler doesn't optimize out re-loading it on each trip through the
    while loop and end up in an impossible-to-exit infinite loop of CPU chewing.
    
    Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit ef5c446395aa30d7b1096a112e241a81c5b358e7
Author: Xue Wei <Wei.Xue@Sun.COM>
Date:   Fri Feb 20 15:12:35 2009 -0800

    Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk
    
    Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 3822f2654e9630167f0c6cae317b472c09771672
Author: Xue Wei <Wei.Xue@Sun.COM>
Date:   Fri Feb 20 15:03:51 2009 -0800

    Add locale aliases for no_NO & sh_BA locale variants
    
    Fixes Sun bug id 6691219: xterm refuses to start in some locales
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 63b6b5b5f522c0a606b32163c643edb64ca91d54
Author: Xue Wei <Wei.Xue@Sun.COM>
Date:   Fri Feb 20 14:23:11 2009 -0800

    Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan
    
    Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications
     changing keyboard layout with gimlet does not work")
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit d497301707962f3b94542e999a36abffcfbd303d
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Feb 17 16:09:41 2009 +0100

    Bump to 1.2

commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Feb 17 15:23:40 2009 +0100

    Check Xmalloc return value in _XConnectXCB
    
    X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137>
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Feb 14 12:35:56 2009 -0500

    dolt: allow older versions of bash to compile the library
    
    Cf xserver commit 7be6520d and bugzilla #19031.

commit 20982d6866e24453642b0b592fa0f13a88aa747c
Author: Will Thompson <will@willthompson.co.uk>
Date:   Thu Feb 5 02:53:06 2009 +1100

    NLS: Compose: Non-aliasing CCCP
    
    Oops, cccp aliased cc for question mark.  Upper-case it to avoid fail.
    
    Signed-off-by: Will Thompson <will@willthompson.co.uk>
    Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry)

commit f052665394f3f0319e93a98f1d5d4ea287e1dd07
Author: Will Thompson <will@willthompson.co.uk>
Date:   Wed Feb 4 14:51:11 2009 +0000

    Add two essential compose sequences
    
    Signed-off-by: Will Thompson <will@willthompson.co.uk>
    Signed-off-by: Daniel Stone <daniel@fooishbar.org>

commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Feb 2 20:34:31 2009 -0800

    Add README with pointers to mailing list, bugzilla & git repos
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit f682c27e93512773122887d2cbabb1657af45d2e
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Mon Feb 2 16:36:39 2009 -0200

    Check if a function argument is NULL.
    
      This was an addition to patch (also by me)
    https://bugs.freedesktop.org/attachment.cgi?id=14660
    that was not added when rediscovering/correcting the problem.

commit 427e9d45d424b84efd9fc499aebf8d72392844c5
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Feb 28 15:58:12 2008 -0300

    Allow multiple inclusions of cursorfont.h, cosmetic patch.

commit b91524a53e691f6a5d278fd8972b48a14ebeedeb
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Feb 28 15:54:43 2008 -0300

    Don't add prototypes for functions that don't exist.
    
    Note that a full review was not done, only for functions that receive
    char/short arguments, or one of it's parameters is a function pointer
    that requires char/short arguments.

commit 537eb52fe266ac439c4b383bb04a70017b709911
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Feb 28 15:50:27 2008 -0300

    WORD64 compile fix. This bug catched on a overview of the code.
    
    The code is wrong since the first git revision, so it seens that it has
    not been compiled with WORD64 for quite some time, there is also another
    interesting code in xkb/XKBRdBuf.c:
      <hash>ifdef WORD64
      _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
      <hash>endif
    and possibly there are other similar problems.

commit ffd0300fb74c6183208ae599133f2ded09e08d97
Author: Brian Rogers <brian@xyzw.org>
Date:   Sat Jan 31 10:37:51 2009 -0800

    Initialize event_notify after allocating the memory for it.
    
    An uninitialized or otherwise invalid condition variable can apparently
    cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine
    at least are freezing as a result of event_notify never being initialized.
    
    Signed-off-by: Brian Rogers <brian@xyzw.org>
    Signed-off-by: Bart Massey <bart@cs.pdx.edu>

commit 97fc6babd4ccaf300e25708868aa2a738893dc30
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Jan 29 20:10:41 2009 -0500

    NLS: Add UTF-8 compose file for Finnish
    
    From bug report:
    
      https://bugs.freedesktop.org/show_bug.cgi?id=18747

commit 1bd2966ed88f83479a066c6ca7da23a515979550
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Jan 29 20:25:15 2009 -0200

    patches to avoid gcc warnings for libX11 (#4)
    
    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
    Bug #17946, attachment #19443
    
    This patch avoids the gcc warning
            ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type
    (same as already done at other places)
    
    BTW: what is the difference between XIM (the type of ic->core.im)
    and Xim ?

commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Jan 29 20:22:21 2009 -0200

    patches to avoid gcc warnings for libX11 (#3)
    
    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
    Bug #17946, attachment #19441
    
    This patch avoids the two gcc warnings
            ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type
            ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type
    
    Note, that this as a rather crude fix of the problem (and it is really a
    shame to cast name_table to non-const).
    
    The right solution would be to declare XIMValuesList.supported_values
    (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **').
    This will, however, require extensive modifications in various places.

commit cce75c5dce73fe1f8626ed9e6798138ada09a860
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Jan 29 20:20:18 2009 -0200

    patches to avoid gcc warnings for libX11 (#2)
    
    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
    Bug #17946, attachment #19440
    
    Avoid a preprocessor message
            <stdin>:194: warning: no newline at end of file
    
    Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man)
    seem to be caused by a truncated (or otherwise incomplete)
    manpage.

commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Jan 29 20:12:24 2009 -0200

    patches to avoid gcc warnings for libX11 (#1)
    
    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
    Bug #17946, attachment #19439
    
    Define as 1 (one) as done by autoconf and the command line
    option, e.g. -DX11_t, not as empty.
    
    This avoids the gcc (3.4.6) warnings:
            ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined
            <command line>:7:1: warning: this is the location of the previous definition
            ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined
            <command line>:8:1: warning: this is the location of the previous definition
    
    Similarly, follow the autoconf convention to define XTHREADS
    and XUSE_MTSAFE_API as one.
    
    This avoids analogous warnings when compiling libXcomposite,
    libXcursor, and libXdamage.
    
    No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused).

commit a1977883c9f5ef0e515569d6e2ebccb07411f98c
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Thu Jan 29 15:01:06 2009 -0200

    Janitor: Correct some gcc/sparse warnings.
    
      Most remaining warnings are about XIM/Xim to/from conversion
    and discarding const from pointers.

commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Wed Jan 28 20:31:42 2009 -0200

    Janitor: ansification, make distcheck, compiler warnings.
    
      Only convert to use "ansi prototypes" the functions warned from
    compilation with "./autogen.sh --prefix=/usr", on a Linux computer.
    
      Also, only address "trivial" compiler warning fixes in this commit.
    
      The new .gitignore is the output of a command like:
    % find . -name .gitignore -exec cat {} \; | sort | uniq
    and only the toplevel .gitignore file was kept.

commit 091c1624fd2f9d933329d6152e4ecd865aa7903a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jan 13 12:05:54 2009 +1000

    Fix wrong implies symbol.
    
    Quote Simos Xenitellis:
    > I checked the gtk+ commit logs that go back to 2000, and I see that still it
    > was
    >
    >   { 0x08ce, 0x21d2 }, /*                     implies ⇒ RIGHTWARDS
    > DOUBLE ARROW */
    >
    > In XFree86, it appears there was an error when they converted the
    > original table to
    > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup
    > and the problem still shows up there (November 2000).
    
    http://lists.freedesktop.org/archives/xorg/2008-October/039743.html
    
    Reported by Erik Streb del Toro.

commit e32521f19e0b07649b7e3a03d56a2bd556b138fb
Author: James Cloos <cloos@jhcloos.com>
Date:   Sun Dec 7 04:13:34 2008 -0500

    [i18n] s/U00DC/Udiaeresis/g
    
    The xkeyboard-config keyboards generate the symbol Udiaeresis, not
    U00DC.  Make sure the relevant Compose sequences expect the symbol
    which the keyboards actually send.

commit b7502abfe22f8dc009b21cda1172af221d8f9f32
Author: James Cloos <cloos@jhcloos.com>
Date:   Sun Dec 7 04:09:46 2008 -0500

    Revert "For nls/*.pre, allow people to comment lines by starting them with '##'."
    
    As of commit c9d20e3 the initial double-hashes are replaced with proper C comments.
    
    This reverts commit a225a0be48770beb689d5ac5da97073634f7deab.

commit c9d20e3f697c9cfae5511412023362c1db7449b1
Author: James Cloos <cloos@jhcloos.com>
Date:   Sun Dec 7 04:08:23 2008 -0500

    Use C comments rather than initial doubled hashes to exclude lines from .pre files

commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25
Author: vehemens <vehemens@verizon.net>
Date:   Sun Dec 7 01:18:26 2008 -0500

    [i18n] Distribute new headers which were added for gb18030 support.
    
    big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to
    make it into the tar.
    
    Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51.
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 418819558d2c60e58b4e3022ce0fadf2143488ac
Author: Stefan Dirsch <sndirsch@suse.de>
Date:   Sat Nov 22 22:01:07 2008 +0100

    Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299).

commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a
Author: Stefan Dirsch <sndirsch@suse.de>
Date:   Sat Nov 22 19:40:54 2008 +0100

    Added remaining xlib patch required for gb18030 support (#1573).

commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf
Author: Stefan Dirsch <sndirsch@suse.de>
Date:   Sat Nov 22 17:53:06 2008 +0100

    Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182).

commit c859446c500c883a67f7a86cab1a44844e24dade
Author: Ken Thomases <ken@codeweavers.com>
Date:   Fri Nov 21 13:58:10 2008 -0500

    [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202)
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date:   Mon Nov 17 20:47:26 2008 -0800

    Force local transport when using the launchd socket.
    
    Fixes a regression due to
    bf53987eaf0fbd7f7627783fc39e7ee99e8361ba

commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date:   Fri Nov 14 10:32:50 2008 +1000

    Add XF86Suspend, XF86Hibernate to KeysymDB.

commit d16b11f25f8265e651def8d80bcd430c0448e664
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Nov 11 19:43:39 2008 -0500

    [nls] Annotate the Bépo compose sequences
    
    Add comments with the UCS names.
    Add utf-8 strings for each result.
    Format for easy reading.

commit 730298464240be6f65b32416b3f9b20062c61825
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Nov 11 16:41:34 2008 -0500

    [nls]  Add some UTF-8 Compose sequences
    
    As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/).
    
    Cf. bugs:
    
      https://bugs.freedesktop.org/show_bug.cgi?id=17821
      https://bugs.freedesktop.org/show_bug.cgi?id=17822

commit ad6008a0c92733826983eb93f063d3d6276007d8
Author: Colin Harrison <colin.harrison@virgin.net>
Date:   Thu Nov 6 17:48:21 2008 -0500

    Fix copy/paste typo in imLcPrs
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Nov 6 14:54:13 2008 -0500

    Fix leak in _XimXGetReadData
    
    Spotted by Denis Dzyubenko

commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Nov 5 22:09:37 2008 +0100

    Bump to 1.1.99.2

commit d31e644c65c52828ea3e7abd94a8cf9aee12265c
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Nov 5 21:33:13 2008 +0100

    Fix distcheck

commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Oct 29 14:00:33 2008 -0700

    Support multiple independent internal sync handlers
    
    Xlib has several independent tasks that need to be performed with the
    display unlocked. It does this by replacing the existing sync handler with
    one of a variety of internal sync handlers. However, if multiple internal
    sync handlers need to run, then the last one registering wins and
    previously registered internal sync handlers are never invoked. This
    manifested as a bug with DRI applications on Xlib/XCB as that requires
    both an XID handler after every XID allocation, and the periodic sequence
    number handler. The XID handler would win, and the sequence number handler
    would never be invoked.
    
    Fix this by unifying the internal sync handler mechanism into a single
    function that calls all of the known internal sync handlers. They all need
    to deal with being called when not strictly necessary now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Signed-off-by: Jamey Sharp <jamey@minilop.net>
    Signed-off-by: Josh Triplett <josh@freedesktop.org>

commit 2dbaaab9c4e3894b33dcae850551dee5473431d5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 11 21:44:21 2008 -0700

    Ensure that _XReadEvents always leaves an event in the queue on return
    
    XNextEvent assumes that the event queue will be non-empty on return from
    _XReadEvents, but with multiple event readers running, the previous change
    could leave the queue empty on return from process_responses. Re-invoke
    process_responses until the queue is non-empty.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bedfe68259037c5564fe52758c92b9c97729640a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 11 21:10:23 2008 -0700

    Permit only one Xlib thread to block waiting for events
    
    As Xlib queues events internally, we must prevent multiple Xlib threads from
    entering XCB to wait for an event in case the queued event is to be
    delivered to the thread which didn't manage to read it. In other words, let
    only one Xlib thread into xcb_wait_for_event at a time.
    
    Jamey Sharp looked over my shoulder while making this fix and, while hating
    my whitespace conventions, appears happy enough with the actual code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Mar 23 16:33:50 2008 -0700

    Fix XAllocID race: hold the user display lock until we have a new XID.
    
    Xlib built --without-xcb is also vulnerable to this race, and a similar
    fix might work there too.
    
    Also, use an XID that's truly invalid while waiting for the next XID to be
    requested.

commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b
Author: Josh Triplett <josh@freedesktop.org>
Date:   Sat Mar 15 17:22:23 2008 -0700

    Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock.
    
    Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending
    requests between calls to Xlib's LockDisplay and UnlockDisplay macros.
    Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and
    had to flush its requests when unlocking the display.
    
    XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket.  Replace
    much of the existing Xlib/XCB implementation with the use of
    xcb_take_socket to take ownership of the write side of the X connection
    socket, and a return_socket callback which writes any outstanding requests
    with xcb_writev.  This approach allows Xlib/XCB to use the same buffering
    as traditional Xlib did.  In particular, programs which use Xlib/XCB and
    never make XCB calls will never need to hand the socket back to XCB, and
    vice versa.
    
    This allows us to discard large quantities of synchronization code from
    Xlib/XCB, together with the synchronization bugs present in that code.
    Several test cases which previously failed now work perfectly, including
    multi-threaded ico.  In addition, the infamous locking correctness
    assertions, triggered when double-locking or when unlocking without a
    previous lock, no longer exist, because Xlib/XCB no longer has any reason
    to care more about application locking than traditional Xlib does.
    
    Furthermore, the handoff approach provides great improvements to
    performance.  Results from x11perf's XNoOp test, which represented the
    worst case for the lock-based Xlib/XCB:
    
    Traditional Xlib:       average 19100000/sec
    Lock-based Xlib/XCB:    average  3350000/sec
    Handoff-based Xlib/XCB: average 17400000/sec
    
    Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to
    Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op
    performance.  Of course, real-world workloads do not use no-op, so your
    mileage may vary.  In particular, since no-ops represent the worst case,
    we expect real workloads to more closely match the performance of
    traditional Xlib.
    
    While removing synchronization code, we changed _XReply to not drop any
    locks when calling xcb_wait_for_reply; previously, we had to carefully
    avoid a deadlock between the Display lock and the XCB Xlib lock. Holding
    the locks reduces implementation complexity and should not impact
    applications.
    
    Commit by Jamey Sharp and Josh Triplett.
    XCB's handoff mechanism inspired by Keith Packard.

commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75
Author: Chris Ball <cjb@laptop.org>
Date:   Mon Nov 3 22:57:29 2008 -0500

    Remove configure check for xcb-xlib.
    
    xcb-xlib has been intentionally removed from libxcb; stop checking for
    it at configure-time.

commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b
Author: Josh Triplett <josh@freedesktop.org>
Date:   Wed Oct 29 14:37:44 2008 -0700

    .gitignore: Add dolt files

commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date:   Tue Oct 28 11:56:55 2008 +1030

    man: fix formatting error in XkbGetIndicatorState man page.

commit b1022fa6d7e97640049e93ffa108083fc8d71b05
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Oct 25 09:13:08 2008 -0400

    Increase size of working arrays in the makekeys utility program.
    
    Makekeys is used to create an optimal hash of the keysyms defined
    in x11proto’s keysymdef.h.
    
    The recent addition of new keysyms there has triggered a bug in
    makekeys where it tries to use a zero on the rhs of the % (mod)
    operator (resulting in a divide by zero error) whenever it fails
    to find a solution within its constraints.
    
    Increasing the size of the arrays allows it to find a solution for
    the current set of keysyms.
    
    Makekeys is only run durring the build process, so this has no impact
    on users of libX11, only on the amount of VM needed to build it.
    
    It still needs a more complete fix, but this allows compiles to
    progress until that is completed.

commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Oct 11 01:03:14 2008 -0400

    Dolt-ify
    
    Add dolt to acinclude.m4 and call it it configure.ac to speed compiles.

commit 39c0b266cac8cbc15bf501d7869186862f01d823
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date:   Wed Oct 15 14:30:20 2008 +1030

    Add more keysyms for PS3 BD remotes, Ericsson Phones #16519
    
    X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519>

commit d23aad31338e7d869d878d5aa1b6b91d20287005
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date:   Mon Oct 13 09:41:59 2008 +1030

    Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb.

commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jul 24 15:44:26 2008 +0930

    xkb: fix out-by-1 error in _XkbWriteKeyExplicit.
    
    Thanks to Michael Meeks, Novell Bug 369263.
    https://bugzilla.novell.com/show_bug.cgi?id=369263

commit e7ece39afc8e0adc3b6b1e70b337b98376754462
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Oct 7 15:41:38 2008 -0700

    Sun bug #6739431: double free in _X11TransConnectDisplay()
    
    Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
    After copying original_hostname to phostname, set original_hostname
    to NULL, so we don't free the same pointer twice when we free both
    original_hostname and phostname.
    
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431>

commit 0877bc916afbd1ff8f1833edc930b765ea783576
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Sep 23 19:02:02 2008 +0300

    configure.ac: Fix CC_FOR_BUILD logic error
    
    Turns out we were accidentally smashing it so that you couldn't set it
    externally at all.  Oops.

commit 58bf3aa746908f01c37be7045699e43a4e270944
Author: John Tapsell <johnflux@gmail.com>
Date:   Tue Sep 23 17:30:13 2008 +0300

    Build: Use native compiler for makekeys
    
    makekeys needs to be run during the build process, as opposed to on the
    target, so build it with either of gcc or cc to fix cross-compiling.
    This can be overridden by setting $CC_FOR_BUILD.

commit 340422a5c7a413faef18666cada27cee14615250
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Sep 17 12:54:34 2008 -0400

    Fix the previous patch for the BadFont case.

commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Wed Sep 17 10:43:52 2008 -0400

    Bug #17616: Fix an XCB leak when the client has a non-fatal error handler.

commit db0b85db29699be6bf7e78dede655d59ba926dfc
Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
Date:   Sun Sep 14 19:15:26 2008 -0400

    Fix problem with <dead_acute> <c> in pt_BR.UTF-8
    
    The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8
    Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the
    ISO 8859 pt_BR Compose file) as the string but specify the keysym
    and comment for Ć and ć (c with acute accent).
    
    This commit normalizes those two lines to match the specified string.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit b065c011baa69b69e3ea77c30d5e153c0d103e2d
Author: Michael Verret <michael.verret@gmail.com>
Date:   Mon Sep 8 16:33:35 2008 -0400

    Fix documentation typo
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 4213ea95185377bdd1b51e82933f331fc0f52e5b
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Sep 6 04:19:19 2008 -0400

    Remove extraneous <angle brackets> from the Ethiopic Compose file.
    
    The am_ET.UTF-8 Compose file submitted in:
    
    https://bugs.freedesktop.org/show_bug.cgi?id=11307
    
    for the OLCP project used incorrect syntax.  (It has angle brackets around the
    Uxxxx symbols on the right hand side rather than only on the left hand side).
    
    This bug is noted in OLPC’s ticket:
    
    http://dev.laptop.org/ticket/7474
    http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch

commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918
Author: James Cloos <cloos@jhcloos.com>
Date:   Mon Sep 1 17:49:33 2008 -0400

    Complete the set of vulgar fractions
    
    Unicode 1.1 added thirds, fifths, sixths and eights;
    we might as well catch up.
    
    (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152)
    and 0/3 (U2189) in their pipelines, but those four can be added
    here after they are published.)

commit a788792e9de95f8db0639557859722a35087481d
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed Aug 20 15:28:07 2008 -0400

    nls (en_US) Re-remove long compositions that override shorter
    
    As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>:
    
      Commit a6f4bbf7
        nls (en_US): remove long compositions that override shorter [...]
        removed some longer compose sequences because there are shorter
        ones which take preference over the longer. For example the
        sequences:
    
          <Multi_key> <apostrophe> <comma> <c>   : U1E09 # ḉ
          <Multi_key> <apostrophe> <comma> <C>   : U1E08 # Ḉ
    
        were removed becase there already was:
    
          <Multi_key> <apostrophe> <comma>       : U201A # ‚
    
      Then commit 4ba09125
        Work on making the en_US and pt_BR UTF-8 Compose as similar as
        possible added exactly the same key sequences again. Obviusly
        they won't work.

commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Jul 17 21:01:42 2008 -0400

    Add more <Multi_key> <cedilla> Compose tuples
    
    The last commit missed the el_GR UTF-8 Compose.pre as well as
    the various ISO 8859 locales which have compose sequences
    generating ‘WITH CEDILLA’ characters.
    
    (Interestingly, some of the 8859 locales already supported
    <Multi_key> <cedilla> for some CEDILLA characters, but not
    for Ç or ç.)
    
    This is further work on bug 10397.

commit 4ba091255bb953d53078ba5619d6751052c739f7
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Jul 17 17:16:50 2008 -0400

    Work on making the en_US and pt_BR UTF-8 Compose as similar as possible.
    
    The eventual goal here is to have a single primary UTF-8 Compose
    file which the locale-specific UTF-8 Compose.pre files can #include.

commit 254522d3c24e0590732fc03cdd61ff4564819d94
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Jul 17 17:13:36 2008 -0400

    Add <Multi_key> <cedilla> Compose tuples
    
    The en_US and pt_BR UTF-8 Compose tables had support for using <comma>
    with <Multi_key> to enter CEDILLA characters.  Bug 10397 requests
    support for using <cedilla> instead of <comma> in said sequences.
    
    This commit makes both styles work.

commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Jun 28 15:25:23 2008 -0400

    Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01
    
    The new block was added twice to the en_US.UTF-8 Compose.pre;
    delete the duplicate.

commit 596e081b7457dcd1c4ad555ac140e6999239bc0d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Sat Jun 28 20:14:05 2008 +0930

    Fix unbalanced parenthesis in XKBlib.h # 16551
    
    X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551>

commit f6af6dd2f76c12b56ec166bb771457b9f08fe246
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jun 24 13:16:53 2008 -0400

    Bug #14898: Don't abuse the sprintf() implementation.
    
    The thing you're printing into should not itself appear in the list of
    things to print from, that's bad juju.  Just use strcat().

commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01
Author: Khaled Hosny <khaledhosny@eglug.org>
Date:   Thu Jun 19 18:26:11 2008 -0400

    NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426)
    
    Add some Arabic digraphs to utf-8 locales with a Compose.pre
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 18 20:00:25 2008 -0700

    Rework code to choose local connection types and fallback to others
    
    Adds --with-local-transport-order configure flag if you don't like the
    default ordering (which is platform dependent)
    
    Includes fixes for these Sun/Solaris bug ids:
    6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250>
    6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481>

commit cf49e537014c3cb5aaee07e57400933e0bb72b6b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jun 17 14:41:17 2008 -0700

    Strip whitespace from end of lines in source files

commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3
Author: Jeff Smith <whydoubt@yahoo.com>
Date:   Sun Jun 15 23:52:20 2008 -0500

    Fix memory leak in XOpenDisplay
    
    Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>

commit fca0b0ba3f72b7284601d4690bba99fc80a92614
Author: Jens Herden <jens@khmeros.info>
Date:   Tue Jun 10 20:07:30 2008 +0300

    NLS: Add Khmer compose sequences (bug #5706)
    
    Add some Khmer digraphs to all locales with a Compose.pre.

commit e54cffb649b1622c17457e470cfab8cc56d38c97
Merge: 19802ccd 721b574d
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Tue Jun 10 20:04:30 2008 +0300

    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11

commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Thu May 29 10:57:21 2008 +0930

    Bump to 1.1.99.1

commit 631d32d13247d1cf52c0833d438c5b38b01b17a4
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Wed May 28 17:31:59 2008 +0930

    Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents)

commit e9195db7257e418f83707233baeeb84b225caf4f
Merge: c34f76f4 a7f85567
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Thu May 22 12:14:28 2008 +0930

    Merge branch 'master' into xge

commit 19802ccd3909145e3ba2f6c073271cb5f3701685
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Mon May 19 19:22:31 2008 +0300

    gitignore: Update with loads more bits from server

commit a7f85567a3e850fba0c44571453d2852ab1a09be
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue May 13 10:28:39 2008 -0400

    Bug #15884: Remove useless sleep()'s from the connection code.
    
    For network transports, there's enough delay in the network layer
    already without adding more.  For local transports, just hurry up
    and fail if the server isn't there.

commit c34f76f475bc632490122e67b5a82575d69d5569
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Mon May 12 21:46:24 2008 +0930

    Pull down extra bytes when reading a GenericEvent (non-xcb).
    
    I refuse to take any responsibily for this code. It works, I guess.
    But - all the flushing is done somewhere before that, so we might need to
    flush here. Under some circumstances anyway. Don't ask me, I'm an optical
    illusion.
    
    Build with xcb as transport layer highly recommended.

commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3
Merge: 17d7dcbf 9129057b
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Mon May 12 17:58:37 2008 +0930

    Merge branch 'master' into xge

commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb
Author: Teemu Likonen <tlikonen@iki.fi>
Date:   Wed May 7 21:44:22 2008 +0300

    Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01
    
    Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot>
    <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and
    U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused
    duplicate compose sequences since these have already been defined. Also,
    using <dead_belowring> is more logical since the diacritic is indeed
    a "RING BELOW".

commit 01a9cb58888d290cc3d319feec4ee4a0297a844c
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed May 7 20:04:44 2008 +0300

    NLS: Make UTF-8 the default for Russian
    
    No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the
    only other possible answer would be KOI8-R.
    
    Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com>

commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8
Author: Ross Burton <ross@burtonini.com>
Date:   Tue Apr 29 13:38:10 2008 +0300

    NLS: Add interrobang to UTF-8 compose tables (bug #15653)
    
    It is what it says on the box.

commit 0b6682303e9c61fefc3818acfda616b1e3691abf
Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
Date:   Mon Apr 28 11:51:25 2008 +0300

    IM: Respect XMODIFIERS for Thai locale (bug #15719)
    
    When looking at Thai input methods, make sure XMODIFIERS is checked
    before jumping straight into built-in Thai processing, so external XIM
    servers such as SCIM can be used with Thai.

commit c13aded1b2f830ba5004abb0ec5518f9ea16087e
Author: Colin Harrison <colin.harrison-at-virgin.net>
Date:   Sat Apr 26 18:56:05 2008 +0100

    Fix missing error condition

commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083
Author: Colin Harrison <colin.harrison-at-virgin.net>
Date:   Mon Apr 21 17:24:33 2008 +0100

    Xlib warning fixes

commit 6b6caeea830a977bdb54688cfb648d879821e752
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri Apr 18 02:50:55 2008 -0400

    Add some dead_key sequences to en_US.UTF-8 Compose table
    
    Make use of the new dead key symbols added to x11proto’s
    commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which
    was in responce to bug #15446).

commit 8f9b039580deaf658e464b7d6254064fcf183df6
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Apr 14 19:09:42 2008 -0700

    Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version

commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Apr 14 18:21:14 2008 -0700

    Fix mismatched brace indenting

commit a19f9c65ee9e5e5d783feaa84998c36439b0288b
Author: Bart Massey <bart@cs.pdx.edu>
Date:   Fri Apr 4 18:58:45 2008 -0700

    added error check in Xcms color file parser; closes bug #15305

commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f
Author: Christian Weisgerber <naddy@mips.inka.de>
Date:   Tue Mar 18 07:30:05 2008 +0100

    ConnDis: properly cast 'addr' before accessing it as a byte array.
    
    If you use XDM-AUTHORIZATION-1 authorization keys for remote X11
    clients over IPv6, the clients are liable to segfaults.

commit 64325f38bab082a8e0e9ce779a8e582de5c8588e
Author: Josh Triplett <josh@freedesktop.org>
Date:   Sat Mar 15 12:29:33 2008 -0700

    Fix fd.o bug 15023: make Xlib sync correctly given many void requests
    
    If given many requests without replies, Xlib may not sync until it flushes
    the output buffer.  Thus, if Xlib can fit enough requests in the buffer to
    pass by the number of requests it would normally sync after (65536 -
    BUFSIZE/sizeof(xReq)), it will sync too late.  The test case in bug 15023
    demonstrated this by issuing a request with a reply (ListExtensions) at
    just the right time to get confused with the GetInputFocus reply issued in
    response to the sync 65,536 requests later; the test case used an async
    handler to watch the replies, since otherwise it could not issue a request
    without waiting for the response.  When the test case failed, Xlib's sync
    handler would eat the ListExtensions reply, and the test case's async
    handler would see the GetInputFocus reply.
    
    Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the
    buffer size to figure out when the sequence numbers could potentially wrap
    before the next flush.
    
    With this commit, the test case consistently passed, and the async reply
    handler always saw the ListExtensions reply.
    
    Commit by Jamey Sharp and Josh Triplett.

commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e
Author: Colin Harrison <colin.harrison@virgin.net>
Date:   Sat Mar 15 13:39:13 2008 -0400

    Fix typo
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit f07585ca27a8487bc66dfe41486c823f0fdcea7d
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Sat Mar 15 17:32:57 2008 +0200

    configure.ac: Don't search for legacy X11 headers
    
    This can actually break cross-compiles, so don't do it anymore.

commit bf69541238c7df6606340c0f389e5c47149b29c7
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Mar 9 09:08:07 2008 +0100

    nuke RCS Ids

commit 5e98aed13e529638df744e45893c471d5f2014fb
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Mar 6 16:10:33 2008 -0500

    libX11 1.1.4

commit 8e085971dc661da9f80ff6b67747459c0fb15c08
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Feb 28 20:17:41 2008 -0800

    Man page typo fixes

commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb
Author: Søren Sandmann Pedersen <sandmann@redhat.com>
Date:   Sun Feb 24 20:03:35 2008 -0500

    XIM: Fix a hand when switching input context.
    
    Red Hat bug #201284.

commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2
Author: Adam Jackson <ajax@redhat.com>
Date:   Sun Feb 24 20:00:43 2008 -0500

    Bug #14029: Don't LockDisplay() recursively.
    
    See also Red Hat bugzilla #326461.

commit e5892467ae3308c8651be76e06db322dcbc08522
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Feb 15 17:27:53 2008 -0800

    Add support for building lint library with --enable-lint-library

commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Feb 11 20:11:43 2008 -0800

    Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from #

commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Feb 8 16:46:46 2008 -0800

    Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment

commit 416a812200f24d19149dcc497e5c51a0608120f6
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Feb 8 15:31:31 2008 -0800

    XErrorDB updates for Render 0.9 & XFixes 4.0

commit 16a76091cd632e5a3708e235ff864b58f3e4613e
Author: Kim Woelders <kim@woelders.dk>
Date:   Sat Dec 22 21:45:23 2007 +0100

    Fix bs_BA entries in locale.dir.pre
    
    X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786>

commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea
Merge: 8f0bd3f4 e8d4cefa
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri Dec 14 22:43:47 2007 -0500

    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11

commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri Dec 14 22:42:59 2007 -0500

    add a comment to en_US.UTF-8/Compose

commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b
Author: James Cloos <cloos@jhcloos.com>
Date:   Fri Dec 14 22:40:13 2007 -0500

    Add <dead_stroke> compose sequences
    
    The added sequences match the existing <Multi_key> <slash> sequences.
    
    This is related to bug #12765¹.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=12765

commit e8d4cefa0837afa149a10e981528b368485a9e38
Author: Jeremy Huddleston <jeremy@yuffie.local>
Date:   Mon Dec 10 23:00:44 2007 -0800

    Added launchd support.

commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242
Merge: 5dfefd38 13ac8046
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Thu Dec 6 14:08:29 2007 +1030

    Merge branch 'master' into xge

commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5
Merge: a68a1cd7 eff33ae5
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Thu Dec 6 13:57:09 2007 +1030

    Merge branch 'master' into xge
    
    Conflicts:
    
            src/xcb_io.c

commit 13ac80469f6958cabac596834e203bd9cb6d4c94
Author: James Cloos <cloos@jhcloos.com>
Date:   Wed Dec 5 20:14:03 2007 -0500

    Update the currency symbols block of en_US.UTF-8/Compose.pre
    Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for
    the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI,
    AUSTRAL, HRYVNIA and CEDI SIGNs.

commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e
Author: Anton Zinoviev <anton@lml.bas.bg>
Date:   Wed Dec 5 19:56:03 2007 -0500

    Additions to the Compose file for UTF-8
    From bug #5371¹
    
    Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change
    from those in attachment #4122².  The post³ on xorg resulted in only
    a positive reply⁴ from Daniel, so this block is now also commited.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=5371
    2] https://bugs.freedesktop.org/attachment.cgi?id=4122
    3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628
    4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>
    Acked-by:  Daniel Stone <daniel@fooishbar.org>

commit 438d02ebc08ee171cf1d3936f4c81050d428ab92
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Dec 4 17:25:39 2007 -0500

    Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file
    
    Based on src/KeysymStr.c and src/StrKeysym.c and comments in
    bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid;
    those should be in the form U plus the hex of the UCS Code Point.
    
    The 0x01000000 is ORed in by the code.
    
    This update fixes all of those.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
    2] https://bugs.freedesktop.org/show_bug.cgi?id=5129

commit 02e04059c89e175f51647e3b031344f743286b34
Merge: 1254c57d b57129ef
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Dec 4 06:55:04 2007 -0500

    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11

commit 1254c57dd3a8d6ea87041b2f63024f99094f290f
Author: James Cloos <cloos@jhcloos.com>
Date:   Tue Dec 4 06:53:55 2007 -0500

    Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11
    Inspired by bug 11930¹:
    
    Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili
    and dead_dasia keysyms.  Make use of them in the en_US.UTF-8 and el_GR.UTF-8
    Compose files.
    
    This was done with a pair of perl scripts based on the one quoted in the
    log for commit c76d30253f1483ac8200ad5c032a818907e65030.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=11930

commit b57129ef324c73ee91c2a796b800c4b45f4d4855
Author: Jeremy Huddleston <jeremy@yuffie.local>
Date:   Mon Dec 3 20:04:19 2007 -0800

    Use __APPLE__ instead of __DARWIN__

commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e
Author: Jeremy Huddleston <jeremy@yuffie.local>
Date:   Wed Nov 28 16:43:49 2007 -0800

    Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c

commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Nov 21 16:50:04 2007 -0800

    X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page
    
    X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312>
    
    Protect /* sequences from cpp pre-processor removal without transforming
    to Unicode mathematical asterisk character

commit 2af660c2fcd15c86c66459bfc074c190ea1462e6
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Oct 29 10:46:20 2007 -0700

    Two threads can request sequence sync and XID fetch simultaneously.
    
    So don't assert that they can't.
    
    This makes the Xlib/XCB implementation of _XAllocID more closely
    resemble the traditional Xlib version.

commit 6e5485e0a5e3ab738becad12193e760c5fee83a4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Oct 28 04:44:00 2007 -0800

    X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man
    
    <http://bugs.freedesktop.org/show_bug.cgi?id=12983>

commit 24527c92fd1f433ea135e85ec876a94a529fe500
Author: Yann Droneaud <ydroneaud@mandriva.com>
Date:   Wed Oct 24 19:26:07 2007 +0300

    XIM: Properly initialise client event
    
    Make sure all ClientMessage fields are initialised to 0 before we send it.

commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Oct 24 19:22:22 2007 +0300

    Colours: Fix --disable-xcms
    
    Disable large tracts of colour management code when passing
    --disable-xcms.

commit 11ea09745efa8de7dc82fe30ebd2393f08390957
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Aug 31 17:30:33 2007 -0700

    Bug #2081: Note the range limitation of XSetScreenSaver arguments.

commit 31540f1438ec63faf37044f2fd654b335ddf80f0
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Aug 29 19:50:57 2007 -0400

    Add GLX 1.4 requests and errors.

commit 7c996f78914c77fe17e9f4feede980d895d9df51
Author: Eric Anholt <eric@anholt.net>
Date:   Tue Aug 28 15:15:11 2007 -0700

    Add XF86 keyboard/monitor brightness keysyms to the keysymbdb.

commit fa4effe82759f864a22a2dc6c920fa72ddb175a8
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:48:00 2007 -0800

    Bug #9658: Bad markup on XIfEvent.3x
    
    X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658>

commit 74cba78daa738ef4d92096107d95c1a585933666
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:43:00 2007 -0800

    Bug #9655: Bad markup in XrmUniqueQuark.3x
    
    X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655>

commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:43:00 2007 -0800

    Bug #9654: Bad markup in XrmGetFileDatabase.3x
    
    X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654>

commit 2db713252090cae08f0200fecad4fc25fb64c8b1
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:40:00 2007 -0800

    Bug #9653: Bad markup in XQueryColor.3x
    
    X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653>

commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:40:00 2007 -0800

    Bug #9652: Bad markup in XDrawArc.3x
    
    X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652>

commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:39:00 2007 -0800

    Bug #9651: Bad markup in XcmsColor.3x
    
    X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651>

commit c316aaf0aab06951db9dc5c9c1148bfea835d885
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Sun Jan 14 10:38:00 2007 -0800

    Bug #9650: Bad markup in XLoadFont.3x manual page
    
    X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650>

commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Tue Jan 2 10:18:00 2007 -0800

    Bug 9523: Markup problems in XQueryExtension.3x
    
    X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523>

commit fe713c616e29ba19c179b43c18eca1035079ce18
Author: Ian Romanick <idr@us.ibm.com>
Date:   Tue Aug 21 14:56:33 2007 -0700

    Make sure nls/am_ET.UTF-8/Makefile is created by configure.

commit e3430616f26b68e1439143cbe10732f3fc329d20
Author: Eric S. Raymond <esr@thyrsus.com>
Date:   Tue Jan 2 08:40:00 2007 -0800

    Bug #9516: Markup error in XAllocWMHints.3x
    
    X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516>

commit d8fe979fc929833e8c754aed32641786d5a0622b
Merge: 21ca9533 4ec1723f
Author: James Cloos <cloos@jhcloos.com>
Date:   Mon Aug 20 15:34:50 2007 -0400

    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11

commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2
Author: James Cloos <cloos@jhcloos.com>
Date:   Mon Aug 20 15:34:03 2007 -0400

    Fix typo
    The code <U1000000D> was used where <U10000DC> was obviously intended.
    
    It is possible that <Udiaeresis> should be used instead, if that will
    not break anyone’s setup.

commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf
Author: James Cloos <cloos@jhcloos.com>
Date:   Mon Aug 20 15:25:48 2007 -0400

    Add compose file for Ethiopic to match new keyboard in xkeyboard-config
    From bug report:
    
      https://bugs.freedesktop.org/show_bug.cgi?id=11307

commit eff33ae525337ce2026be135a26464c7b1237113
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Aug 18 17:58:23 2007 -0400

    Patch for Catalan locales
    From bugzilla bug 10943¹:
    
      There are several Catalan locale codes which presently can
      be used in X11 systems; especially after they were accepted
      in belocs-locale-data².
    
      In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan
      locale codes.  For instance, without this, using ca_AD (actually
      a quite used locale⁴) some applications (eg. Emacs or Skype)
      cannot display Catalan diacritic marks as you type them.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=10943
    2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html
    3] Toni Hermoso Pulido <toniher@softcatala.org>
    4] https://launchpad.net/~ubuntu.cat/+members

commit 1f980cb7d022f53d0aee9e793b08203fb888e86e
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Aug 18 17:47:04 2007 -0400

    Add additional Euro signs to compose
    Inspired by bug 7419¹ make all of:
    
        C=, =C, c=, =c, E=, =E, e=, E=
    
    after <Multi_key> generate € U+20AC EURO SIGN.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=7419

commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Aug 18 17:29:08 2007 -0400

    Compose fix for Latin-1 (from Debian)
    The description from bugzilla bug 7417¹ is:
    
      We've been shipping this patch for some time in Debian now. The
      problem description from the patch header is reproduced below. You
      may want to note the licensing issue mentioned below, but we've been
      shipping it because the method by which this particular patch was
      generated and updated was also given below.
    
      This patch by Denis Barbier.
    
      The X11 protocol states that Unicode keysyms are in the range
      0x01000100 - 0x0110FFFF.  If the result of composing characters is a
      Unicode codepoint, X returns the corresponding Unicode keysym, which
      is its Unicode codepoint augmented by 0x01000000.  Latin-1
      characters must not appear with their Unicode codepoints in compose
      files, otherwise the returned composed character lies in the range
      0x01000000 - 0x010000FF which is not valid.
    
      There are two solutions: either fix composing routines to return
      0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or
      replace U00ZZ by their corresponding keysyms in compose files.  The
      latter is more logical and less error prone, so compose files will
      be patched.  Many applications accept these invalid Unicode keysyms,
      but few of them don't, most notably xemacs.  Only UTF-8 locales are
      affected.
    
      This has been fixed very recently in XFree86 CVS (but not xorg), but
      for licensing reasons, this patch is not grabbed.  Instead automatic
      conversion is performed by:
    
        sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \
        | grep -v deprecated | grep 0x0 \
        | sed -e 's/0x0/U0/' -e 's/XK_//' \
        | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile
        for f in nls/*.UTF-8/Compose.pre
        do
          sed -f sedfile $f > $f.tmp && mv $f.tmp $f
        done
    
    [I edited the quoted script to update it for the current location of
    the installed keysymdef.h and the current layout of the libX11
    repo. -JimC]
    
    I applied the script, not the patch attached to the bugreport.
    
    1] https://bugs.freedesktop.org/show_bug.cgi?id=7417

commit 5cf5bc76642bfece7cb5b76faf414bf445f14489
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Aug 18 17:13:41 2007 -0400

    Add some compose sequences
    
    Add some compose sequences from the patch in bug 5371 (attachment 4122).
    
    Cf:
    
    https://bugs.freedesktop.org/show_bug.cgi?id=5371
    https://bugs.freedesktop.org/attachment.cgi?id=4122

commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8
Author: James Cloos <cloos@jhcloos.com>
Date:   Sat Aug 18 13:57:31 2007 -0400

    Fix SMP Compose targets
    The compose targets from the SMP (plane 1) were incorrect.
    
    At some point the 0x10000 bit had been lost.

commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d
Author: Jeremy C. Reed <reed@glacier.reedmedia.net>
Date:   Thu Aug 16 17:37:22 2007 -0500

    Fix a mutex reference-counting bug.
    
    I was told that some systems have a much more permissive libpthread.
    I was asked to commit this. This is from NetBSD's X source.
    (I didn't receive any feedback on xorg list for over two weeks
    about this.)

commit ac00a44b4875de70382da5a40dd87f976e5b9327
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed Aug 1 20:36:03 2007 +0200

    Bumped version to 1.1.3.

commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0
Author: Joerg Sonnenberger <joerg@netbsd.org>
Date:   Fri Jul 27 11:15:47 2007 -0700

    Fail properly on errors in recursive make.

commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177
Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
Date:   Thu Jul 26 23:31:15 2007 +0200

    Add missing override parameter in XrmCombineDatabase prototype in the manpage
    
    Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
    in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434
    and https://bugs.freedesktop.org/show_bug.cgi?id=9948
    
    Also add the type of the second argument in XrmMergeDatabases.

commit 6f0764d4b56f64786b4980839ca262f10a51af6f
Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
Date:   Thu Jul 26 22:53:52 2007 +0200

    Clarify return value of XGetCommand in case of error in the manpage
    
    Reported by Sean Perry <shalehperry@attbi.com>
    in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348
    and https://bugs.freedesktop.org/show_bug.cgi?id=9828

commit b8bef57342632cc2d25580bb7daa3839bae04d89
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jul 25 17:44:06 2007 -0700

    Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4

commit 590cde811a79375231c59ed8583e02b111ed567c
Author: Kean Johnston <kean@armory.com>
Date:   Thu Jul 19 16:44:20 2007 -0700

    Reset hostname when falling back from :0 to hostname/localhost:0 as well

commit d334665e619e9db657a2ea2764a8b852401d4a3f
Author: Kean Johnston <kean@armory.com>
Date:   Tue Jul 17 16:34:30 2007 -0700

    LOCALCONN fallback changes DisplayString() output, breaks KDE
    
    See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html>

commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72
Author: Olivier Blin <blino@mandriva.org>
Date:   Mon Jun 11 18:32:09 2007 +1000

    fix XGetMotionEvents arguments order - Fixes bug 11222

commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Jun 10 16:19:59 2007 -0700

    Fix locking in _XimGetWindowEventmask.
    
    Now that XFilterEvent drops the Display lock before invoking callback
    functions, _XimGetWindowEventmask is called without the lock held. So
    when it called _XGetWindowAttributes, a variant of XGetWindowAttributes
    that does not lock the Display, Xlib/XCB would assert:
    
    xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
    
    Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others?

commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Jun 3 21:41:47 2007 -0700

    Move security fixes to the top of NEWS, and fix spacing.
    
    Commit by Josh Triplett and Jamey Sharp.

commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Jun 3 21:29:40 2007 -0700

    Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c.
    
    Commit by Josh Triplett and Jamey Sharp

commit 5123b77a3d32d3ad479462f319762c328278aed9
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Jun 3 21:24:54 2007 -0700

    Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now.
    
    Commit by Josh Triplett and Jamey Sharp.

commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Jun 3 20:59:12 2007 -0700

    Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs
    
    Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that
    _XReadEvents always enqueues at least one event even if an error occurred,
    because the one call to xcb_wait_for_event would then return an error, not an
    event, and nothing else ensured that process_responses would obtain an event.
    Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and
    f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix.  In
    process_responses, wait_for_first_event now serves as a flag, cleared when
    actually handling an event.
    
    Commit by Josh Triplett and Jamey Sharp.

commit e2c1d788d1fe7bd2d34756493951552441e59b8c
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Jun 3 17:33:23 2007 -0700

    Xlib/XCB: Only remove pending_requests when there are provably no more responses.

commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab
Author: Josh Triplett <josh@freedesktop.org>
Date:   Sun Jun 3 15:39:39 2007 -0700

    Bump version number to 1.1.2, and add NEWS entry for 1.1.2
    
    Signed-off-by: Josh Triplett <josh@freedesktop.org>

commit 416f38f2e67ee1979b3d2feac6f06b3670238804
Author: Josh Triplett <josh@freedesktop.org>
Date:   Sun Jun 3 12:13:44 2007 -0700

    Revert "Revert "include: don't distribute XlibConf.h""
    
    This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd.
    
    Re-revert the XlibConf.h change, which prevented distribution, not
    installation.

commit 79fa3d8070d95b960ba486f2439225872471dadd
Author: Josh Triplett <josh@freedesktop.org>
Date:   Sat Jun 2 22:05:16 2007 -0700

    Revert "include: don't distribute XlibConf.h"
    
    This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c.
    
    The installed XlibInt.h includes XlibConf.h , so libX11 should ship
    XlibConf.h.  (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually
    prevent automake from shipping XlibConf.h, because it used
    nodist_x11include_HEADERS rather than nodist_HEADERS.)

commit f417570735aac865eb6b576d1ea76b5bfcd8573b
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 2 17:59:15 2007 -0700

    Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller.
    
    Commit by Josh Triplett and Jamey Sharp.

commit c337f9de7cfd89f983f83956b7457a274dd412f3
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 2 17:46:41 2007 -0700

    Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event.
    
    Commit by Jamey Sharp and Josh Triplett.

commit 7f66c897f04806b75e574b55b48921b48045e3f9
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 2 16:43:39 2007 -0700

    Update _XReply's copy of _XCBUnlockDisplay's guts.
    
    We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5.
    
    Also add a comment in _XCBUnlockDisplay to discourage this problem from
    respawning.
    
    Commit by Josh Triplett and Jamey Sharp.

commit 740ead23512f8d2eaafaa69e514f1ebafad475b9
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 2 16:01:01 2007 -0700

    Xlib/XCB: Avoid re-crashing after _XIOError.
    
    Commit by Josh Triplett and Jamey Sharp.

commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 2 12:30:30 2007 -0700

    Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held.
    
    An Xlib client can query Display state, such as with NextRequest, while
    it holds only the Xlib user lock (between XLockDisplay and
    XUnlockDisplay), so XCB requests in other threads should be blocked when
    the Xlib user lock is held.
    
    We acquire the lock even when XInitThreads was not called, so that pure
    XCB code can use multiple threads even in an otherwise single-threaded
    Xlib application.
    
    Commit by Josh Triplett and Jamey Sharp.

commit 95523387d619af5b400748898d722e080b5ce1a6
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Jun 2 11:57:39 2007 -0700

    Allow re-entrant Xlib calls from _XIOError.
    
    Some libraries try to clean up X resources from atexit handlers, _fini,
    or C++ destructors. To make these work, the Display lock should be
    downgraded to a user lock (as in XLockDisplay) before calling exit(3).
    This blocks Xlib calls from threads other than the one calling exit(3)
    while still allowing the exit handlers to call Xlib.
    
    This assumes that the thread calling exit will call any atexit handlers.
    If this does not hold, then an alternate solution would involve
    registering an atexit handler to take over the lock, which would only
    assume that the same thread calls all the atexit handlers.
    
    Commit by Josh Triplett and Jamey Sharp.

commit 91b02b8064f4e0bcc56019f0722914850008a597
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Thu May 17 19:07:34 2007 +0200

    More constification.

commit a4f3841940158351f9424c3f59b305cce877177d
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Thu May 17 00:29:43 2007 +0200

    Constified composite text charset table.

commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed May 16 23:19:22 2007 +0200

    Have the compiler fill in hexTable so we don't have to do it at runtime.

commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed May 16 19:36:23 2007 +0200

    More constification.

commit 6d2bed8f04942b4de086a519ac693e729c9fdeea
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed May 16 19:18:20 2007 +0200

    Constify and clean up token table.

commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed May 16 18:24:42 2007 +0200

    Constified more tables.

commit e699c4231c205ef00d687b6412308d031b99806b
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed May 16 18:01:23 2007 +0200

    Constified error list.

commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Tue May 15 16:54:01 2007 +0930

    Add XGenericEvent definition and handling for long events.

commit c76d30253f1483ac8200ad5c032a818907e65030
Author: Jan Willem Stumpel <jstumpel@planet.nl>
Date:   Fri May 4 12:00:49 2007 -0700

    Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs
    
    Cf:
    
      https://bugs.freedesktop.org/show_bug.cgi?id=10851
      https://bugs.freedesktop.org/show_bug.cgi?id=10824
      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385
    
    The greek keyboard definition was changed to replace dead_horn and
    dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314
    COMBINING REVERSED COMMA ABOVE (aka Dasia).
    
    This patch modifies the Greek Compose.pre to match.
    
    It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl>
    posted to 386385@bugs.debian.org:
    
    #!/usr/bin/perl
    while (<>) {
      print $_;
      if (/dead_horn/) {
        s/dead_horn/U0313/;
        print $_;
      }
      elsif (/dead_ogonek/) {
        s/dead_ogonek/U0314/;
        print $_;
      }
    }

commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date:   Tue May 1 15:20:08 2007 +0200

    Switched function definitions from K&R to ANSI style.

commit 605d357074d556a05a3fba2e85cbea36a3204248
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Tue May 1 14:47:03 2007 +0200

    Tweaked configure output about the man pages suffix.

commit 9824b40d2af4ca2376512c1be7743da0d5065900
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Apr 28 00:42:18 2007 -0700

    Fix typo in nroff macro in XkbAddGeomOverlayKey.man

commit f93849dcc68bd5042ea0884e5190dc7c35b31d68
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Apr 28 00:30:55 2007 -0700

    Protect C comments and #defines in XKB man pages from being mangled by cpp

commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Apr 28 00:14:50 2007 -0700

    Add Makefile to process/install XKB man pages

commit d9954c6f6f3a8c406b946acd0d034ff83c656156
Author: Dennis Arellano <Dennis.Arellano@Sun.COM>
Date:   Thu Aug 19 00:00:00 1999 -0700

    Add man pages for XKB API's
    
    Man pages originally written for X11R6.4 integration to Solaris 7 11/99
    Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344>
    
    (Volunteer needed to convert prototypes in man pages to ANSI C style...)

commit f640a49b5e2ebf29f9d655df544c63bf826f619a
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Fri Apr 20 18:39:59 2007 +0200

    Markup tweak for XOpenIM.

commit e972b0bb255af4f3258217852542faf5afa60b28
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri Apr 20 18:35:09 2007 +0200

    Bug #9695: Fixed a few argument types in the XOpenIM manpage.

commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri Apr 20 18:28:52 2007 +0200

    Bug #9697: Fixed documentation of XVisualInfo struct.
    
    The "depth" member was said to be unsigned int, but it's signed.

commit 4068f3dae01c630f825002673b1d3a047ad61863
Author: Julien Cristau <jcristau@debian.org>
Date:   Fri Apr 20 16:41:21 2007 +0200

    Bug #9696: refer to XDefineCursor() instead of XDefineCusor().

commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Sat Apr 7 14:42:55 2007 +0200

    Use unistd.h to get getresuid() and friends.
    
    This works since we now have _GNU_SOURCE defined.

commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Sat Apr 7 14:27:12 2007 +0200

    Bug #10562: Define _GNU_SOURCE on glibc systems.

commit a225a0be48770beb689d5ac5da97073634f7deab
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Fri Apr 6 12:46:25 2007 +0200

    For nls/*.pre, allow people to comment lines by starting them with '##'.
    
    This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre.
    Fixing that file would have been a larger diff, and using ## may be
    nicer to use anyway.

commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Fri Apr 6 11:59:31 2007 +0200

    Bug #10475: Fixed lots of char*/const char* mixups.
    
    I didn't fix all of them, as that would require touching
    public headers.

commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54
Author: Matthias Hopf <mhopf@suse.de>
Date:   Thu Apr 5 11:53:18 2007 +0200

    Fix 64bit issues with reallocation.

commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed Apr 4 18:41:18 2007 +0200

    Fixed a few warnings.

commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a
Author: Matthieu Herrb <matthieu@roadrock.(none)>
Date:   Tue Apr 3 15:39:52 2007 +0200

    Multiple integer overflows in the XGetPixel() and XInitImage functions
    
    CVE-2007-1667

commit 0284b144340a455a4b5b5011d81ac5a610372291
Author: David Baron <dbaron@dbaron.org>
Date:   Fri Mar 30 17:07:46 2007 +0200

    Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data.
    
    Now only those fields of the respective hint struct are set that
    are actually valid in the input data.
    The changed functions are:
    XSetSizeHints(), XSetWMHints() and XSetWMSizeHints().

commit 0994faa0c76c45b106442db461b8a30a3e1c9395
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Thu Mar 29 17:31:25 2007 +0200

    Fixed the change from the previous SendEvent commit.
    
    Testing a different patch than the one you commit is bad, right?

commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Wed Mar 28 22:23:44 2007 +0200

    Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code.

commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe
Author: David Baron <dbaron@dbaron.org>
Date:   Wed Mar 28 22:21:40 2007 +0200

    Bug #7713: Initialize all of the event's fields before sending it.

commit bc80f9fe3ccce40ee41246b97470c4f0519756ad
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Mar 18 13:14:48 2007 +0100

    Bug #9279: Fixed a file descriptor leak.

commit c9e28e05ae01ce8a29bea09df759b6271865b44c
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Sat Dec 16 00:45:19 2006 +0200

    include: don't distribute XlibConf.h
    
    Since XlibConf.h is built by configure, don't distribute it.

commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376
Merge: 129bbb9f 769b9854
Author: Jeremy C. Reed <reed@glacier.reedmedia.net>
Date:   Thu Dec 14 14:23:20 2006 -0600

    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11

commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de
Author: Jeremy C. Reed <reed@glacier.reedmedia.net>
Date:   Thu Dec 14 14:21:19 2006 -0600

    For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS.

commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Dec 6 18:53:00 2006 +0200

    Makefile.am: make ChangeLog hook safer
    
    Make ChangeLog hook as safe as possible.
    (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit)

commit 8a8185a649e93b90ffa820387ffdca831227f5a9
Author: Josh Triplett <josh@freedesktop.org>
Date:   Thu Nov 30 18:33:13 2006 -0800

    Add autogen.sh to EXTRA_DIST.

commit efe817f95ef8d05e863c83147e903140bc860de4
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Nov 30 17:58:35 2006 -0800

    Release libX11 1.1.1.

commit f637a5b03164263a3af2e644cf655e52b015f1bb
Author: Ross Combs <rocombs@cs.nmsu.edu>
Date:   Sat Nov 25 14:45:17 2006 -0800

    Debian bug #354315: Clarify return value in XGetWindowAttributes man page
    
    This man page does not discuss the actual return values of the
    function, but says they are of type "Status".  One might assume
    that this means you could compare it with the "Success" macro.
    One would be wrong.
    
    The X functions seem to have two three types representing status.
    If it is an "int" there are a number of error codes or "Success"
    which can be compared against.  If it is a bool, the result can be
    compared with "True" or "False".  If the return type is "Status" it
    appears that the return type is either 0 or 1.  Unfortunately the
    value for Success is zero, so it is important to distinguish
    between the first two types of return values and the third;
    otherwise the conditional will be inverted.
    
    XGetWindowAttributes() is one of the functions which returns zero
    for failure.  The man page should make this clear.

commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Nov 25 14:23:45 2006 -0800

    Bug #9154: Always process an event for _XReadEvents, even if an error occurs
    
    Previously, process_responses (in the wait_for_first_event case called
    from _XReadEvents) considered any return from xcb_wait_for_event
    sufficient to think it had processed an event. If xcb_wait_for_event
    returned an error, and no more events occurred before process_responses
    called xcb_poll_for_event, process_responses would try to return with
    dpy->head NULL, and would fail an assertion for the _XReadEvents
    postcondition. Now, process_responses continues using xcb_wait_for_event
    until it gets an event.

commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8
Author: Tilman Sauerbeck <tilman@code-monkey.de>
Date:   Sat Nov 25 05:29:31 2006 -0800

    Bug #9153: Fix access to freed memory.
    
    The fix for bug #8622 introduced a smaller bug where _XReply would
    read memory shortly after freeing it. This patch caches the needed
    value in a stack-allocated variable before the heap-allocated memory
    is freed.

commit 934ca763bbc0dd7ae460469bfc000ba101602bcc
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Nov 24 19:57:58 2006 -0800

    libx11 doesn't use inputproto in public headers; don't require it in x11.pc
    
    Based on a Debian patch.

commit 4255997ef2d92740d51f6e63e9eabcfa089683f0
Author: Josh Triplett <josh@freedesktop.org>
Date:   Thu Nov 23 07:19:32 2006 -0800

    Release libX11 1.1

commit a1168e11ec9377307c51a7271faec3bf88a63a66
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Nov 21 17:52:34 2006 -0800

    Add note in man-page that XListFontsWithInfo is not thread-safe.
    
    _XReply drops the Display lock, so the value of dpy->request may change
    before _XReply is called again.
    
    I discovered this by inspection a year or two ago. I'm pretty confident
    in the claim, and nobody has come up with an argument for why it's safe
    despite appearances.

commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Nov 18 15:39:26 2006 -0800

    Bug #8622: Fix response processing order for threaded apps
    
    Previously, process_responses (the common code for _XReply,
    _XReadEvents, and _XEventsQueued) took the current request sequence
    number as an argument, and did some highly complicated processing to
    attempt to process responses in order across threads.  This didn't
    actually work.
    
    Now, process_responses handles responses in order, by adding condition
    variables to the list of outstanding requests in
    dpy->xcb->pending_requests, and blocking on them when those requests
    should get processed to allow _XReply to process them; if actually
    called from _XReply, it returns when _XReply's request should get
    processed.  _XReply broadcasts on the condition variable after it has
    read its reply and re-acquired the display lock.
    
    Another great commit brought to you by Jamey Sharp, Josh Triplett, the
    Gobby collaborative text editor, conspy, and ridiculous amounts of SSH
    forwarding.
    
    Signed-off-by: Josh Triplett <josh@freedesktop.org>
    Signed-off-by: Jamey Sharp <jamey@minilop.net>

commit 941f02ede63baa46f93ed8abccebe76fb29c0789
Author: Lars Knoll <lars@trolltech.com>
Date:   Wed Nov 8 12:17:41 2006 -0800

    Don't hold the display lock around callbacks to the application.
    
    This fixes an XCB locking assertion failure, particularly with emacs.

commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358
Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Date:   Tue Nov 7 09:32:00 2006 -0800

    Add xcb-xlib dependency to x11.pc when built against XCB.

commit 2302008a3793eb4df8ede777d54fe06505c47eaf
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Nov 6 17:11:42 2006 -0800

    XCB: Allocate the right amount of memory for dpy->lock_fns.
    
    Fixes a crash I was experiencing on startup of anything using gdk.

commit 5f860655be88108b03ccd97470a0814819254bf0
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Nov 2 17:55:31 2006 -0800

    Release libX11 1.1 RC2 (1.0.99.2).

commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun Oct 29 03:10:30 2006 +0300

    nls (en_US): remove long compositions that override shorter (bug #2286)
    Remove long compositions that override (or get overriden by) later shorter
    compositions, e.g. a four-key compose sequence that gets overriden by a
    later three-key compose sequence.

commit 0280bf11ef88673a9b5bba3a91a599260f1f0949
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun Oct 29 03:08:36 2006 +0300

    nls: remove shadowed compose entries (bug #2286)
    Remove compose entries shadowed by others later on.

commit d118f2b1ef10997194b281524177dea7396da7dd
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun Oct 29 03:07:15 2006 +0300

    nls: remove duplicate compose entries (bug #2286)
    Remove a bunch of duplicate entries from various Compose files.

commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb
Author: Caolan McNamara <caolanm@redhat.com>
Date:   Sun Oct 29 02:46:15 2006 +0300

    XKB geometry: fix leaks in GetKeyboardByName (bug #8099)
    Don't leak the name and value of every property we parse, as well as the
    name of every colour.

commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19
Author: Matthias Hopf <mhopf@suse.de>
Date:   Wed Oct 18 14:25:04 2006 +0200

    Fix double open of compose file.
    
    Issue found by Kees Cook <kees@canonical.com>.

commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Oct 14 21:25:10 2006 -0700

    XCB: check for and handle I/O errors in _XGetXCBBuffer.

commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Oct 11 00:06:50 2006 -0700

    XKB bugfix: SyncHandle must be called after UnlockDisplay, not before.

commit 1eedf1bd033e496843cfde42ae4ae5a119298605
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Oct 10 23:03:28 2006 -0700

    Add correct Display locking to XKB functions.
    
    Some XKB functions didn't correctly call LockDisplay or UnlockDisplay.
    This patch fixes at least some instances of that problem.
    
    Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs
    and proposing a fix, which this patch is based on.

commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd
Author: David Nusinow <dnusinow@debian.org>
Date:   Tue Oct 10 22:11:05 2006 -0400

    Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11

commit e53557da969b706dbc843f6fde3db31ffe382e0f
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Oct 7 21:00:36 2006 -0700

    Release libX11 1.1 RC1 (1.0.99.1).

commit bf237409c5fce32c557d298f62f44d456c2b5bc8
Merge: ba477191 2d426d1f
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Oct 7 21:07:16 2006 -0700

    As XCB support is about to be released in libX11, stable is now subsumed by master.

commit ba477191c67ce93e61423cc1abe35275704cce50
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sat Oct 7 03:48:13 2006 -0700

    XCB: Don't rely on having the definition of struct xcb_setup_t available.

commit 117b55cbd0b0ce51362df88363ed83d44a493ac7
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Oct 6 16:27:31 2006 -0700

    xcb_poll_for_event no longer takes an 'int *error' out-parameter.

commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 16:26:11 2006 -0700

    Actually ship Xxcbint.h

commit 7b027e53b5e393082f4f515c8ba18077eb97163f
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 16:25:50 2006 -0700

    Clean ChangeLog only in "make maintainer-clean", not "make clean"
    
    ChangeLog requires a git repo to generate; make clean and make distclean
    shouldn't get rid of it.

commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 16:24:58 2006 -0700

    Add ChangeLog and "make dist"-generated files to .gitignore

commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 15:53:27 2006 -0700

    Add manual pages for XGetXCBConnection and XSetEventQueueOwner

commit 688224cea95e453f94c5a602dc6fce84bc93dfc0
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 13:41:16 2006 -0700

    Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c

commit ab728ca372288d0db1b486c265e34c1376f29104
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 12:36:39 2006 -0700

    XCL is dead; long live Xlib/XCB
    
    Rename all instances of "XCL" to Xlib/XCB-derived names.
    
    The only user-visible change: rename the include file <X11/xcl.h> to
    <X11/Xlib-xcb.h>; programs will need to change their #include lines to match.
    
    Remove the XCL cast inlines from Xlib-xcb.h.

commit 5b73093203039d307eb7ab3845c3ced207e9e26c
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 11:33:49 2006 -0700

    Add XCB developers to AUTHORS

commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 11:21:28 2006 -0700

    Fix email addresses in README

commit 12f038669278019594ca0ed53dadcf4e84092422
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Oct 6 02:13:05 2006 -0700

    XCB: Handle all responses in order of monotonically increasing sequence number.

commit f392680273278b43079302206897f794e60f3c70
Author: Josh Triplett <josh@freedesktop.org>
Date:   Fri Oct 6 01:11:08 2006 -0700

    Actually install x11-xcb.pc, and ship x11-xcb.pc.in

commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Oct 5 18:32:29 2006 -0700

    XCB: correctly handle failure to connect to X server.

commit e754b3b078d556c7861da56aad47d244e9199e06
Author: Josh Triplett <josh@freedesktop.org>
Date:   Thu Oct 5 17:44:22 2006 -0700

    Split public Xlib/XCB functions into libX11-xcb
    
    We can never change the libX11 soname, and we don't want to commit to never
    changing the public Xlib/XCB functions, so split them into a separate library
    libX11-xcb.  This also means that a program linked solely against libX11
    should work with either Xlib or Xlib/XCB, which will make life easier for
    package maintainers.
    
    Signed-off-by: Josh Triplett <josh@freedesktop.org>
    Acked-by: Jamey Sharp <jamey@minilop.net>

commit ffd367f708b295abaedf3a23a1bfd4710d171d6f
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Oct 4 17:16:46 2006 -0700

    No longer #include Xmd from xcl.h: we do not need it.

commit 3aff149d42ba8ed620091971b3766bdf96c62aaf
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Oct 4 16:58:32 2006 -0700

    XCB: Revert locking to simple wrapper around libX11's normal locks.
    
    No more recursive mutexes, no more banging XCB's I/O lock in-place, and
    reduces the differences between the previous stable release and an
    XCB-enabled one. Sadly, Xlib's pluggable thread functions work again
    too, now. I apologize to the world.

commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Sep 25 04:54:52 2006 -0700

    Link explicitly against XCB's Xlib compatibility functions.

commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Sep 25 04:13:20 2006 -0700

    libxcb now installs header files in <xcb>, not <X11/XCB>.

commit 87d00207f5a1f25a45a153618739cd6481814f89
Author: Ian Osgood <iano@quirkster.com>
Date:   Sun Sep 24 23:39:01 2006 -0700

    Track XCB's "Great Renaming".

commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Sep 12 23:02:42 2006 -0700

    Quit using XCBGetQueuedRequestRead.

commit a61936fc4e9bd93b108764bbacd5b8f786e51915
Author: Tollef Fog Heen <tfheen@err.no>
Date:   Wed Aug 30 00:05:54 2006 +0300

    nls: use _XlcUtf8Loader for en_US (bug #7982)
    Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with
    every other locale.

commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Aug 23 18:49:30 2006 -0700

    When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN
    
    Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to
    connect on a named pipe, try a Unix socket first, to better support people who
    replace their X servers with ones that don't support named pipe transport.
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225>

commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1
Author: Mark Brown <mark.brown@sun.com>
Date:   Thu Jul 27 19:17:10 2006 -0700

    Sun bug 1149809: Document event delivery when grab is terminated.

commit 171107b03ac89d94f9006c7cda242aeefb9ecd16
Author: Dennis Arellano <Dennis.Arellano@Sun.COM>
Date:   Thu Jul 27 18:47:06 2006 -0700

    Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description
    
    Document that 32-bit format properties are always returned in arrays of type
    long, even on systems where long is 64-bits.
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271>

commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jul 24 15:52:00 2006 -0700

    Add support for "make lint" to check code with lint/sparse/etc.

commit 931e02fbd1acd09aae2b0954c34342c86c72dff6
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jul 24 15:50:52 2006 -0700

    ANSIfy some static function definitions

commit 20b7abcaac324d90454de63f32f4a2b398e69e63
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jul 24 15:01:40 2006 -0700

    Fix sparse warning: Using plain integer as NULL pointer

commit d158ab29930513c4097f5b67e7bea08ed2bfd62c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jul 24 14:00:24 2006 -0700

    Remove unused variable

commit 30377000375bdb958042dcb1f38503c94ef21eaf
Author: Eric Anholt <anholt@FreeBSD.org>
Date:   Fri Jul 21 18:55:36 2006 -0400

    Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint).

commit 4eba45879aea4e415ab550ee56b900d060099110
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Jul 16 10:55:39 2006 +0200

    set GIT_DIR=${srcdir}/.git for git-log

commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60
Author: Aaron Plattner <aplattner@nvidia.com>
Date:   Tue Jul 11 13:27:49 2006 -0700

    Add a .PHONY to ensure the ChangeLog isn't stale.
    
    Setting the ChangeLog rule as phony forces it to be re-run even when the
    ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
    Solaris make.
    (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit)

commit b8a98809ed81e1226775e6447ef219ffc01334b5
Author: Aaron Plattner <aplattner@nvidia.com>
Date:   Tue Jul 11 13:27:49 2006 -0700

    Add a .PHONY to ensure the ChangeLog isn't stale.
    
    Setting the ChangeLog rule as phony forces it to be re-run even when the
    ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
    Solaris make.

commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3
Author: Mayank Jain <majain@redhat.com>
Date:   Tue Jul 11 19:42:47 2006 +0100

    add Indian language locales
    Add as, kn, ml, or, ur, and te locales.

commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0
Author: Matthias Hopf <mhopf@suse.de>
Date:   Tue Jul 4 12:16:30 2006 +0200

    Fix for autoconf 2.60 issue.
    
    Updated AC_DEFINE_DIR.
    Reverted datarootdir change.

commit 644f4828b15bce42b597eb123ba0bbc372c46c03
Author: Keith Packard <keithp@neko.keithp.com>
Date:   Sat Jul 1 21:31:23 2006 -0700

    Work around recent autoconf (2.59?) changes in directory expansion.
    
    Recent autoconf versions have changed how directory names are managed in the
    configure.ac script; automatic 'eval' invocations now occur as a part of the
    AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed
    before the variables are used in further macro definitions. Also, ${datadir}
    is apparantly an old name for ${datarootdir} as ${datadir} doesn't get
    expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it
    is easy to work around by just using ${datarootdir} instead of ${datadir}.

commit be70a31229aa106aff0a09d78c00812682cd3475
Author: Keith Packard <keithp@neko.keithp.com>
Date:   Sat Jul 1 01:56:05 2006 -0700

    Xlib/XCB: handle 32-bit sequence wrap.
    
    Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from
    XCB).
    Account for XCB sequence 0 handling.

commit 99c711707ad08e1396e123b1c7df687c560a489a
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Thu Jun 29 19:43:20 2006 -0700

    Bump version to 1.0.3.

commit cde3c0dd72af2b490e80cffca962e3487dd31be4
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Thu Jun 29 19:39:36 2006 -0700

    Bug #7349: Missed one of the setuid fixes.
    (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit)

commit df3fef8983d96c59d481c4cdaf1f271d54a116d2
Author: Matthias Hopf <mhopf@suse.de>
Date:   Thu Jun 29 18:59:57 2006 +0200

    Update to final Compose cache directory location.
    (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit)

commit 912ef198292d3053daa810f842510e5d62ded0f0
Author: Matthias Hopf <mhopf@suse.de>
Date:   Thu Jun 29 17:41:41 2006 +0200

    Fix alignment of trees and wide chars in the cache.
    (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit)

commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9
Author: Matthias Hopf <mhopf@suse.de>
Date:   Wed Jun 28 19:17:03 2006 +0200

    First (dummy) entry of compose caches was not initialized and thus contained varying garbage.
    (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit)

commit e9614c963b532f46a7932c2305a4b177a996a222
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Thu Jun 29 19:39:36 2006 -0700

    Bug #7349: Missed one of the setuid fixes.

commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a
Author: Matthias Hopf <mhopf@suse.de>
Date:   Thu Jun 29 18:59:57 2006 +0200

    Update to final Compose cache directory location.

commit 40a64c61f8bc33d497e1224e02c41dea2d424d97
Author: Matthias Hopf <mhopf@suse.de>
Date:   Thu Jun 29 17:41:41 2006 +0200

    Fix alignment of trees and wide chars in the cache.

commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3
Author: Matthias Hopf <mhopf@suse.de>
Date:   Wed Jun 28 19:17:03 2006 +0200

    First (dummy) entry of compose caches was not initialized and thus contained varying garbage.

commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Thu Jun 22 23:59:03 2006 -0700

    Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
    add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
    ChangeLog.
    (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit)

commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295
Author: Donnie Berkholz <donnie@comet.(none)>
Date:   Thu Jun 22 23:47:38 2006 -0700

    Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
    add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
    ChangeLog.

commit dd54981aa76e9dfdc4c3302d6105b4b229447c84
Author: Donnie Berkholz <donnie@comet.(none)>
Date:   Thu Jun 22 15:47:38 2006 -0700

    Bump version to 1.0.2.

commit c93539d974a67f596a5eb5b65042d26602546c72
Author: Matthieu Herrb <matthieu@deville.herrb.com>
Date:   Tue Jun 20 21:04:03 2006 +0200

    Check setuid() return value.
    (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit)

commit 605533f814ab7892991578706a6458f61a89ca4d
Author: Derek Wang <derek.wang@sun.com>
Date:   Mon Jun 19 11:05:37 2006 -0700

    Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded
    (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit)

commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4
Author: Scott Revelt <scott.revelt@sun.com>
Date:   Fri Jun 16 19:11:13 2006 -0700

    Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators
    based on locale that doesn't match those used in the Xcms.txt
    (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit)

commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3
Author: Alan Coopersmith <alanc@alf.(none)>
Date:   Fri Jun 16 18:53:33 2006 -0700

    Add *~ to ignore emacs droppings
    (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit)

commit 214658b76b56768f69c3959a11525aae7813f448
Author: Matthias Hopf <mhopf@suse.de>
Date:   Fri Jun 16 15:36:40 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts.
    (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit)

commit 13968a23aaea838ba4b69e42e8900f803499e091
Author: Matthias Hopf <mhopf@suse.de>
Date:   Tue Jun 13 20:23:46 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts.
    (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit)

commit e7f8bca08f5476d0ca262097639ac7d424bb4d10
Author: Lubos Lunak <llunak@suse.de>
Date:   Mon Jun 12 18:48:08 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts.
    (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit)

commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641
Author: Matthias Hopf <mhopf@suse.de>
Date:   Fri Jun 9 18:24:02 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure.
    (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit)

commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Jun 7 20:29:05 2006 -0700

    Fix bug #7035: unnecessary memmove in XOpenDisplay.
    Using memmove on the connection setup data causes a problem for XCB, but making
    Xlib stop doing that should be harmless for non-XCB as well.
    (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit)

commit cd7328c46ae72903ed02832828891b2dab4d5ee0
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Sat Jun 3 13:51:51 2006 +0300

    Fix threading support on GNU/kFreeBSD systems.  (Robert Millan)
    (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit)

commit c336eb6b80a6f91da1d0b3d28634a2cfde324670
Merge: 33556ca8 ad9ebbd2
Author: Donnie Berkholz <donnie@comet.(none)>
Date:   Thu Jun 22 14:25:35 2006 -0700

    Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable

commit 213dacad21740466e7ab31b01d3fc513fe4b3e74
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Thu Jun 22 17:20:59 2006 +0300

    Bump to 1.0.99.0 to avoid confusion.

commit efedfd68e31bcee2d21ac340be8dc9e1825ec890
Merge: e3acee88 4b8eb5d4
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Thu Jun 22 16:53:45 2006 +0300

    Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11

commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5
Merge: 5169d0e0 eff50c94
Author: Matthieu Herrb <matthieu@deville.herrb.com>
Date:   Tue Jun 20 21:05:15 2006 +0200

    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11

commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f
Author: Matthieu Herrb <matthieu@deville.herrb.com>
Date:   Tue Jun 20 21:04:03 2006 +0200

    Check setuid() return value.

commit eff50c94a07194297e705da53d9fbb3a40fb9ad4
Author: Derek Wang <derek.wang@sun.com>
Date:   Mon Jun 19 11:05:37 2006 -0700

    Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded

commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa
Author: Scott Revelt <scott.revelt@sun.com>
Date:   Fri Jun 16 19:11:13 2006 -0700

    Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators
    based on locale that doesn't match those used in the Xcms.txt

commit c33d7b8282ac196b36229be26442296768c16f3e
Author: Alan Coopersmith <alanc@alf.(none)>
Date:   Fri Jun 16 18:53:33 2006 -0700

    Add *~ to ignore emacs droppings

commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e
Author: Matthias Hopf <mhopf@suse.de>
Date:   Fri Jun 16 15:36:40 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts.

commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa
Author: Matthias Hopf <mhopf@suse.de>
Date:   Tue Jun 13 20:23:46 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts.

commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be
Author: Lubos Lunak <llunak@suse.de>
Date:   Mon Jun 12 18:48:08 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts.

commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9
Author: Matthias Hopf <mhopf@suse.de>
Date:   Fri Jun 9 18:24:02 2006 +0200

    Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure.

commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed Jun 7 20:29:05 2006 -0700

    Fix bug #7035: unnecessary memmove in XOpenDisplay.
    Using memmove on the connection setup data causes a problem for XCB, but making
    Xlib stop doing that should be harmless for non-XCB as well.

commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Sat Jun 3 12:57:55 2006 +0300

    Bug #2186: Add cs_CZ.iso8859-2 alias.

commit 9e7765e0b1cbaae6643072d91066ba1201b36227
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 02:46:29 2006 +0300

    nls: Serbian (sr_CS) update (#5575)
    
    Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
    corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
    and locale.dir.pre.  (Milos Komarcevic)

commit a4ac2242b588da23044a20aa999ae84d4de7b2d8
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 02:24:25 2006 +0300

    im: add Braille input method (#6296)
    
    Bug #6296: Add a Braille input method.  (Samuel Thibault)

commit 90de1e2e141ec591048a76cb695579ef809a28d3
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 02:22:17 2006 +0300

    xkb support: small typo

commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:50:24 2006 +0300

    en_US.UTF-8 Compose.pre: updates from Simos (#5129)
    
    Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
    adding Unicode character names, removing duplicate entries, et al.

commit 0c6473dd329c7334ae511884bcb6e73e632c784f
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:44:53 2006 +0300

    nls: fix use of non-keysym dead_space (#5107)
    
    Bug #5107: Change users of dead_space to space.

commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:41:18 2006 +0300

    optional XKB support fix
    
    Fix compilation with --disable-xkb.

commit 217d43ed44ced901122093af3ef1294e1736bb77
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:39:12 2006 +0300

    i18n: separate data and lib directories
    
    Break out locale data into separate data and library directories, under
    $(datadir) and $(libdir), respectively, by default.

commit 92fa7fcde8df22830fca7c0275ab201033f7909c
Author: Adam Jackson <ajax@benzedrine.nwnk.net>
Date:   Thu May 11 14:04:48 2006 -0400

    libXcursor.so.1, not libXcursor.so

commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Wed May 10 18:06:03 2006 +0300

    XKBMisc.c: use Xfree, not xfree
    
    Use Xfree() instead of xfree() when freeing interps.

commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Wed May 10 14:51:37 2006 +0300

    locale.alias.pre: bg_BG typo fix
    
    Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.

commit cc533db60cb64dc163c66451933a9bf77c519062
Author: Daniel Stone <daniels@endtroducing.localdomain>
Date:   Sun Apr 9 22:22:03 2006 +0300

    Coverity #203, #204: Fix potential NULL dereferences.

commit b83adf7dfd6157694fe4f232012fef36cd9666da
Author: Daniel Stone <daniels@endtroducing.localdomain>
Date:   Sun Apr 9 22:20:25 2006 +0300

    Coverity #205: Fix potential NULL dereference.

commit 2d0cd10ad907864d0136739eaac459779c9a5332
Author: Daniel Stone <daniels@endtroducing.localdomain>
Date:   Sun Apr 9 22:18:20 2006 +0300

    Coverity #209: Fix potential NULL dereference. (Alan Coopersmith)

commit dc2f3966068d66a564aa452cab9f0c26657fa1df
Author: Daniel Stone <daniels@preemptive.research.nokia.com>
Date:   Fri Apr 7 18:11:52 2006 +0300

    Coverity #826: Fix potential memory leak.

commit 23df609ec451a01c77e8f31ecc85c5af7c62efed
Author: Daniel Stone <daniels@preemptive.research.nokia.com>
Date:   Fri Apr 7 17:49:41 2006 +0300

    Bug #1625: Include keysym.h from Xutil.h.

commit 5262a1945c543a3419ed626e1deb09ef5b4584c1
Author: Eric Anholt <anholt@leguin.anholt.net>
Date:   Wed Apr 5 17:12:15 2006 -0700

    Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more
    
    cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
    of Coverity #599, #600.

commit 8b42635f577468bb143ca593cdd9fb3450ad712c
Author: Eric Anholt <anholt@leguin.anholt.net>
Date:   Wed Apr 5 16:42:26 2006 -0700

    Coverity #558: Free newly-allocated Database in error path.

commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f
Author: Eric Anholt <anholt@leguin.anholt.net>
Date:   Wed Apr 5 16:38:52 2006 -0700

    Coverity #582: Free newly-allocated region in error path.

commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a
Author: Daniel Stone <daniels@preemptive.research.nokia.com>
Date:   Fri Mar 17 15:58:39 2006 +0200

    Properly clip bounds when only one point is defining an outline.

commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9
Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
Date:   Sat Mar 11 15:39:15 2006 +0100

    Fix prototype of XConfigureWindow(). Bugzilla #6023.

commit 1da8bd904f1fc79d63d368473531b438d08bfe37
Author: Jeremy C. Reed <reed@reedmedia.net>
Date:   Tue Feb 21 14:10:22 2006 -0800

    Set XTHREADLIB correctly for dragonfly platforms.

commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 19 12:29:27 2006 -0800

    Update .gitignores for *.o and nls/locale.dir*.

commit efcbde6ba0b770bb0d4c7818e307712161011f10
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 19 12:28:41 2006 -0800

    Move .cvsignore to .gitignore.

commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Sat Jun 3 13:51:51 2006 +0300

    Fix threading support on GNU/kFreeBSD systems.  (Robert Millan)

commit f1bd3152359ddfadd0d043006036c239f3e2907b
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Sat Jun 3 12:57:55 2006 +0300

    Bug #2186: Add cs_CZ.iso8859-2 alias.

commit 2b1b79d90db1d7f0472718b8c010c36275994195
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 02:46:29 2006 +0300

    nls: Serbian (sr_CS) update (#5575)
    Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
    corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
    and locale.dir.pre.  (Milos Komarcevic)

commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 02:24:25 2006 +0300

    im: add Braille input method (#6296)
    Bug #6296: Add a Braille input method.  (Samuel Thibault)

commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 02:22:17 2006 +0300

    xkb support: small typo

commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:50:24 2006 +0300

    en_US.UTF-8 Compose.pre: updates from Simos (#5129)
    Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
    adding Unicode character names, removing duplicate entries, et al.

commit 332d45fce9fdbf59168d90a133af1f580a589e54
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:44:53 2006 +0300

    nls: fix use of non-keysym dead_space (#5107)
    Bug #5107: Change users of dead_space to space.

commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:41:18 2006 +0300

    optional XKB support fix
    Fix compilation with --disable-xkb.

commit c5940a0b85edec4003f91a59fc3c44f538accfe1
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 2 01:39:12 2006 +0300

    i18n: separate data and lib directories
    Break out locale data into separate data and library directories, under
    $(datadir) and $(libdir), respectively, by default.

commit 33556ca81db2419b9d2a37664c4cea2069414b37
Author: Adam Jackson <ajax@benzedrine.nwnk.net>
Date:   Fri May 12 14:49:17 2006 -0400

    Bump to 1.0.1

commit 80d88557626fae9debc404de33d7fb5d69a6049d
Author: Adam Jackson <ajax@benzedrine.nwnk.net>
Date:   Thu May 11 14:06:28 2006 -0400

    libXcursor.so.1, not libXcursor.so

commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6
Author: Adam Jackson <ajax@benzedrine.nwnk.net>
Date:   Thu May 11 14:04:48 2006 -0400

    libXcursor.so.1, not libXcursor.so

commit 01f4d433eed6b70c6e9636157acac022054fdeb6
Author: Jamey Sharp <jamey@minilop.net>
Date:   Wed May 10 17:02:52 2006 -0700

    Count any partial request towards the current Xlib sequence number.

commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Wed May 10 18:06:03 2006 +0300

    XKBMisc.c: use Xfree, not xfree
    Use Xfree() instead of xfree() when freeing interps.

commit 22a5255b80b80772612279bc840a953edd0e3442
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Wed May 10 14:51:37 2006 +0300

    locale.alias.pre: bg_BG typo fix
    Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.

commit 9cac8c9824874ca7d835f001a4efa910b7fdd822
Merge: 19b8840a e514bc87
Author: Daniel Stone <daniels@preemptive.fooishbar.org>
Date:   Wed May 10 14:50:37 2006 +0300

    Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11

commit e514bc875f27f4bf197b06b8315eeca526195915
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue May 9 12:41:59 2006 -0700

    Assert that dpy->request does not go backwards. Catches #5839 earlier.

commit fc1159137365a599bf611ee001f439416952c4e0
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun May 7 17:40:01 2006 -0700

    In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available.

commit c394480a4247213239822808e3f6e7c6cd6decd9
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun May 7 16:58:13 2006 -0700

    Update for XCB ConnSetupSuccessRep name change.

commit 7672bf93bc1200905461aeb0a2dc2c2696410b93
Author: Daniel Stone <daniels@endtroducing.localdomain>
Date:   Sun Apr 9 22:22:03 2006 +0300

    Coverity #203, #204: Fix potential NULL dereferences.

commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3
Author: Daniel Stone <daniels@endtroducing.localdomain>
Date:   Sun Apr 9 22:20:25 2006 +0300

    Coverity #205: Fix potential NULL dereference.

commit b6771501feea98d037032f82117b6d4f15779f07
Author: Daniel Stone <daniels@endtroducing.localdomain>
Date:   Sun Apr 9 22:18:20 2006 +0300

    Coverity #209: Fix potential NULL dereference.  (Alan Coopersmith)

commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc
Author: Daniel Stone <daniels@preemptive.research.nokia.com>
Date:   Fri Apr 7 18:11:52 2006 +0300

    Coverity #826: Fix potential memory leak.

commit 3a16f262abe48b44ed641525e894bc22e13bf72a
Author: Daniel Stone <daniels@preemptive.research.nokia.com>
Date:   Fri Apr 7 17:49:41 2006 +0300

    Bug #1625: Include keysym.h from Xutil.h.

commit 2481b767ae96e2f2503c0390545932c8397b090f
Author: Eric Anholt <anholt@leguin.anholt.net>
Date:   Wed Apr 5 17:12:15 2006 -0700

    Check if visualList == NULL, not nVisualsMatched == 0.  NULL happens in more
    cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
    of Coverity #599, #600.

commit 152b17e47d878c2d928eb74581aa69d925a29123
Author: Eric Anholt <anholt@leguin.anholt.net>
Date:   Wed Apr 5 16:42:26 2006 -0700

    Coverity #558: Free newly-allocated Database in error path.

commit bc62b99ef36edb34035911c42104be7f6f9d2333
Author: Eric Anholt <anholt@leguin.anholt.net>
Date:   Wed Apr 5 16:38:52 2006 -0700

    Coverity #582: Free newly-allocated region in error path.

commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Mar 31 22:53:07 2006 -0800

    Fix buggy interaction with XCB when running out of XIDs.

commit e3f452571824d6a875bbf582946de185de9e01e9
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Mar 31 22:52:14 2006 -0800

    Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously.

commit 2363b74ca795c1b3a73c9e572532ba5191adec5b
Author: Daniel Stone <daniels@preemptive.research.nokia.com>
Date:   Fri Mar 17 15:58:39 2006 +0200

    Properly clip bounds when only one point is defining an outline.

commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7
Merge: be266b20 f71ea0bc
Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
Date:   Sat Mar 11 15:40:35 2006 +0100

    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11

commit be266b201dc13530a302a7572283ccd3f32aad87
Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
Date:   Sat Mar 11 15:39:15 2006 +0100

    Fix prototype of XConfigureWindow(). Bugzilla #6023.

commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Mar 3 11:08:41 2006 -0800

    Update for XCBSendRequest sequence number API changes.

commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b
Author: Jamey Sharp <jamey@minilop.net>
Date:   Fri Mar 3 01:42:49 2006 -0800

    Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version.

commit d8ba4ae7045b227f8b675628b9094dded02f1c08
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Mar 2 23:43:26 2006 -0800

    Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array.

commit f9afb5a54435c30961306080e9358d4240ecb844
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Mar 2 23:34:19 2006 -0800

    assert() that we will not infinite loop or read uninitialized memory.

commit d3512ef3aae5b036a8ce6579318108f1ec20ee22
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Mar 2 15:58:52 2006 -0800

    Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves.

commit fb590c15a740264ee867d15a2547072e43b21eed
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Mar 2 12:06:04 2006 -0800

    Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature.

commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695
Author: Jamey Sharp <jamey@minilop.net>
Date:   Mon Feb 27 11:51:47 2006 -0800

    Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted.

commit 07bdf1fbbf2418f866df1a2140d514dd3f035139
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 26 15:46:01 2006 -0800

    Update for new XCBSendRequest API.

commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Feb 23 18:12:31 2006 -0800

    Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls.

commit ec30a27341b97620b07dd886f98d1d7664a67685
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Feb 23 18:01:46 2006 -0800

    Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot.

commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e
Author: Jamey Sharp <jamey@minilop.net>
Date:   Thu Feb 23 11:46:09 2006 -0800

    XCBFlush used to return non-positive on failure, and this test did not catch 0. Now it returns boolean: 0 or 1. Testing <= 0 covers both cases. I probably want to switch to a boolean test eventually.

commit 41c0121a8718b530feaf7fe315b673d9b8defce2
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 21:25:41 2006 -0800

    Refactor the code that passes requests down to XCB into a separate issue_complete_request function.

commit 67d06e0fe468dca22847aa14d3f917128f89f9cf
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 15:33:05 2006 -0800

    If we have not actually put the buffer back, deferred invariants may not hold. This is OK.

commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1
Author: Jeremy C. Reed <reed@reedmedia.net>
Date:   Tue Feb 21 14:10:22 2006 -0800

    Set XTHREADLIB correctly for dragonfly platforms.

commit b24834762e975bd319f9ab5c7cf790b2a02a9474
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 14:03:26 2006 -0800

    Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay.

commit 99b8defd0d5e6993071e21638128c9de2574b37d
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 13:04:21 2006 -0800

    Execute BeforeFlush hooks on complete buffers, not request-at-a-time.
    Traditional Xlib worked this way; I dunno why I changed it.

commit 9b01e7849775749182052fe324df9d8e6ceeee99
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 12:51:44 2006 -0800

    Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer.

commit 7ce7ac882de128955751a5307889db9d712d8a72
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 12:44:30 2006 -0800

    Quit using a triple-pointer. Almost as if I were a sensible person.

commit 35a858be218cdbfa4593d44a67663d5c25297016
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 21 12:21:01 2006 -0800

    Remove the XCL_PAD macro.

commit e741b70ed2542c5463c57dac44bc37328616733b
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 19 12:29:27 2006 -0800

    Update .gitignores for *.o and nls/locale.dir*.

commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 19 12:28:41 2006 -0800

    Move .cvsignore to .gitignore.

commit c7cda56eebaf6ab11403363be14d4948d7d8be38
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 19 11:49:15 2006 -0800

    Land XCB support on X.org HEAD.

commit 881467b3032261791ef5ec61b3879bb68d0a3d8c
Author: Jamey Sharp <jamey@minilop.net>
Date:   Sun Feb 19 02:14:11 2006 +0000

    Merge the X11 and BIGREQS package sets: they were used in exactly the same places.

commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146
Author: Jamey Sharp <jamey@minilop.net>
Date:   Tue Feb 14 19:37:36 2006 +0000

    Refactor _XFlush and _XSend code that sets dpy->synchandler to _XSeqSyncFunction into a new function, _XSetSeqSyncFunction. It makes the patch for XCB cleaner, but is arguably a good idea anyway.

commit 010c3acbb3a6993d39274f42d88c00849acb0fb0
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sun Feb 12 18:19:17 2006 +0000

    Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match.

commit fe8c01c80263457f01b70dc1511b2bd9466b7c96
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Feb 3 23:34:43 2006 +0000

    Fix typo in .TH line

commit b091c217f3c3f60dde78b09a95c150df6c83d7ba
Author: Kevin E Martin <kem@kem.org>
Date:   Thu Dec 15 00:24:28 2005 +0000

    Update package version number for final X11R7 release candidate.

commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a
Author: Kevin E Martin <kem@kem.org>
Date:   Tue Dec 6 22:48:41 2005 +0000

    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.

commit b5c495854d5270e64e6d588388ffa906bfcaac22
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Dec 3 05:49:42 2005 +0000

    Update package version number for X11R7 RC3 release.

commit 9e96dbc343c7f27ff47607acd75378ab23903e2a
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Dec 3 04:41:47 2005 +0000

    Add check and cflags for malloc(0) returning NULL.

commit 649c37b47909620ccafde3e983de8321cddd74ce
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Nov 28 22:03:04 2005 +0000

    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)

commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Nov 23 22:33:06 2005 +0000

    Bug #5003 <https://bugs.freedesktop.org/show_bug.cgi?id=5003> Patch #3763 <https://bugs.freedesktop.org/attachment.cgi?id=3763> Xorg code misuses S_IF* macros

commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078
Author: Eric Anholt <anholt@freebsd.org>
Date:   Sun Nov 20 23:17:39 2005 +0000

    Add/improve libs .cvsignores.

commit fa1f4a08112bfa14d3758f4702733dd3892966c3
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Nov 19 07:15:39 2005 +0000

    Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots.

commit 7012f9b56c594cf40855ba0dbf93af1263417a8c
Author: Kevin E Martin <kem@kem.org>
Date:   Mon Nov 14 21:51:07 2005 +0000

    Fix xf86bigfont pkgconfig dep typo.

commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca
Author: Kevin E Martin <kem@kem.org>
Date:   Wed Nov 9 21:19:12 2005 +0000

    Update package version number for X11R7 RC2 release.

commit 6bb0c3796b6e1beddc376a896e865704886e1462
Author: Kean Johnson <kean@armory.com>
Date:   Tue Nov 8 06:33:25 2005 +0000

    See ChangeLog entry 2005-11-07 for details.

commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780
Author: Kevin E Martin <kem@kem.org>
Date:   Tue Nov 1 15:11:50 2005 +0000

    Update pkgcheck dependencies to work with separate build roots.

commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Fri Oct 28 10:44:03 2005 +0000

    Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares.

commit be627a39fe373e2e81fdc263780e70a271d9e0c5
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Fri Oct 28 08:28:08 2005 +0000

    Add dependency on inputproto for XI.h.

commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082
Author: Adam Jackson <ajax@nwnk.net>
Date:   Fri Oct 21 18:44:24 2005 +0000

    Bug #4736: Error decoding for Damage extension. (Jonathan Lennox)

commit 1171fa9dc77413f0e90933a565ec07068052afb4
Author: Kevin E Martin <kem@kem.org>
Date:   Wed Oct 19 02:48:08 2005 +0000

    Update package version number for RC1 release.

commit 2a2d905706308b9d5a1c16af1067fb390f43850c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Oct 18 00:00:08 2005 +0000

    Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make

commit 66d35b6971fb26762392a2a8e2c47db46c11116a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 17 21:13:15 2005 +0000

    Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb)

commit a316995a17c084e98ef1b7f25d287c2c08b6d749
Author: Donnie Berkholz <spyderous@gentoo.org>
Date:   Sun Oct 16 03:03:35 2005 +0000

    Change '==' to portable '='.

commit b76a072530e884bcbea6ed8fed5aef39361dcfc0
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Oct 12 00:04:50 2005 +0000

    configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions.

commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0
Author: Eric Anholt <anholt@freebsd.org>
Date:   Tue Oct 11 02:18:36 2005 +0000

    Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others.

commit 41ff3b9d1f194a7b56437b650d5f589225c078c6
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sun Oct 9 22:28:39 2005 +0000

    Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox)

commit 91ed79852e790049ab54e68f288afb3c953194c9
Author: Kevin E Martin <kem@kem.org>
Date:   Fri Oct 7 15:00:00 2005 +0000

    Clean up generated files
    Add missing dist tarball files

commit 440399b470c97b159a530602fff11c315aca8d97
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Wed Oct 5 18:27:10 2005 +0000

    Add el_GR.UTF-8 compose file

commit 010f0647e25ac617d0f92c8d2b8dda684da545db
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Sep 30 07:52:46 2005 +0000

    Bug #2609: Add Kyrgyz locale (Ilyas Bakirov).

commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Sep 30 07:47:55 2005 +0000

    Bug #1640: Kinyarwanda locale support. (Steve Murphy)

commit 4ae0decabe0960870df0ec165f495166c10a053c
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Sep 30 07:40:03 2005 +0000

    Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy.

commit 3f79eb4c99844f618f1889741d1631c2ffe5385f
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Sep 30 07:11:19 2005 +0000

    Generate locale.alias and compose.dir exactly like we do in the monolith, which fixes non-UTF-8 locales in particular (so we get foo: bar, as well as foo bar). Switch to generating locale.dir the same way.

commit d1237d1483ff972c76a0ac344ec97d5280db0007
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Sep 29 21:27:12 2005 +0000

    Add Xcms.txt to lib/X11

commit 4a86f299693f7376cbe98175f0b0c44d691802b3
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Sep 24 20:11:06 2005 +0000

    Add XQueryExtension.man

commit a057a66e2041d45198a13a4ece7c07068f76f21b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Sep 24 00:16:32 2005 +0000

    Add XTHREAD_CFLAGS for platforms that need special defines like
    -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests.

commit 3e920a65a7c376ad63eae2240fd06904d25d18bf
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Sep 2 23:00:30 2005 +0000

    Issue an error if XTRANS macros were not found when generating configure from configure.ac to flag errors early, instead of when people wonder why libX11 can't talk to an Xserver because it has no transports defined

commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Thu Sep 1 19:24:13 2005 +0000

    Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time.

commit 7afa64325183b78d2d6a4862821f8b3e9866105c
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Aug 28 19:45:48 2005 +0000

    OpenBSD needs -lpthread for threaded applications too.

commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Aug 26 05:16:46 2005 +0000

    Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf)

commit 07066da0902df91c71f2adb81d1a17ec29165553
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Aug 21 15:45:04 2005 +0000

    update

commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Aug 21 15:38:39 2005 +0000

    Threads support for BSD systems:
    - need to check for gewtpwuid_r to define mtsafeapi
    - build UIThrstubs if needed.

commit 60217fdb918bafb2082519efe5cba3b13ad3082a
Author: Adam Jackson <ajax@nwnk.net>
Date:   Wed Aug 17 19:46:08 2005 +0000

    Add xthreadlib variable to x11.pc. Bump to 0.99.1.

commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Aug 17 01:27:08 2005 +0000

    Fix more broken multi-line .ds macros. Remove extraneous ;'s .

commit 1909786f4a7d686369edcfc05a938df115fab37c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Aug 16 19:23:15 2005 +0000

    Bugzilla #4112 <https://bugs.freedesktop.org/show_bug.cgi?id=4112> Patch #2687 <https://bugs.freedesktop.org/attachment.cgi?id=2897> Fix multi-line macros in XPutImage man page. (Debian bug #323210, fix by David Mart?nez Moreno)

commit 83406d69c62070d2eeef23eb47f1ca887f711ee5
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Aug 15 19:53:37 2005 +0000

    Move RAWCPP macro to xorg-macros.m4 so other modules can use it Add check for whether or not RAWCPP needs -traditional instead of hardcoding it, so non-gcc cpp's can be used

commit 5bb43de17de8e71d967488a713bf2b3448533444
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Aug 6 18:59:49 2005 +0000

    Typo fix in output message

commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Aug 4 02:55:49 2005 +0000

    //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3005 <https://bugs.freedesktop.org/attachment.cgi?id=3005> libX11 locale defs severely adrift from glibc: adding new aliases (From Debian via Nathanael Nerode)

commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Aug 4 02:51:30 2005 +0000

    //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3002 <https://bugs.freedesktop.org/attachment.cgi?id=3002> libX11 locale defs severely adrift from glibc: locales bugfix for bs_BA (From Debian via Nathanael Nerode)

commit 34b454df192f4563499c453ccdb8c079f4a20cbe
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jul 30 20:30:46 2005 +0000

    Include config.h so Xtrans knows which transport types to build code for

commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jul 30 19:15:16 2005 +0000

    Add -D flags to clear various warnings (Stefan Dirsch)

commit e7fef67b4531faddd805d8f2157903006d3117ed
Author: Kevin E Martin <kem@kem.org>
Date:   Fri Jul 29 21:22:50 2005 +0000

    Various changes preparing packages for RC0:
    - Verify and update package version numbers as needed
    - Implement versioning scheme
    - Change bug address to point to bugzilla bug entry form
    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it)
    - Fix makedepend to use pkgconfig and pass distcheck
    - Update build script to build macros first
    - Update modular Xorg version

commit 2ebb00244928237088e68325b1032b3550455ce9
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sat Jul 23 20:19:31 2005 +0000

    remove orphan TAB at begin of line

commit dd7a9cdecda73e024ca84c5b9a22b18688038d94
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Jul 23 18:09:39 2005 +0000

    Modify modular libs to use Xregion.h instead of region.h

commit 6d635a88d91647b1b63611c3591f74916f88cd1c
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Jul 23 18:06:16 2005 +0000

    lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>.

commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Sat Jul 16 06:25:35 2005 +0000

    Set soversion to 6.2.0.

commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 15 04:27:32 2005 +0000

    Add missing Makefile.am to lib/X11/modules

commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 15 04:08:51 2005 +0000

    Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable).
    Link i18n modules against xlib to resolve Xlib symbols used by them.

commit 45f40126a73295345bb5eb187b1167874842ab6e
Author: Alexander Gottwald <ago@freedesktop.org>
Date:   Thu Jul 14 19:50:00 2005 +0000

    Add $(top_srcdir)/src to include list

commit 0aed7d91f5928d09d541617aad03709b5090658d
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Thu Jul 14 17:04:49 2005 +0000

    Build fix for non-GNU make.

commit b79422ccb02ab44548d1038956ab0cd4e2638645
Author: Adam Jackson <ajax@nwnk.net>
Date:   Thu Jul 14 15:12:44 2005 +0000

    typo fixes (Matthieu Herrb)

commit 419304cde2fda19457c667870edefc0b227651b3
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jul 13 02:41:36 2005 +0000

    Add missing backslashes to xlocale_la_SOURCES

commit d14cc5c8964c4539b57c6cb51ef653292e410b79
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 11 20:32:55 2005 +0000

    Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this.

commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb
Author: Lars Knoll <lars@trolltech.com>
Date:   Mon Jul 11 15:24:32 2005 +0000

    compile

commit de9784eb1bde46efc316da279e3da27c6cc288a7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 11 09:26:40 2005 +0000

    Ignore built man page files

commit 0c258c36d1523113790c599b16d2947d7aa6469a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 11 09:18:31 2005 +0000

    Minor changes to help modular Xlib build i18n modules

commit 6e752ea1203b786423e40f43340bce15ca3de0f0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 11 08:29:18 2005 +0000

    Enable loadable i18n modules, making them configurable on the configure command line.
    Clean up conditionals for XKB, XCMS, XLOCALEDIR
    Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path.
    Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data.
    Split out xcms, xkb, xlibi18n sources from main xlib bits so they can be conditionally included more easily. Lots of source files have been moved with this step; the result seems like it might be easier to maintain.
    Display message at end of configure script with selected options.
    Fix manual building with cpp to add -traditional in cpprules.in. This isn't conditionalized at all, so it will break on systems not using GNU cpp.

commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Sun Jul 10 22:37:33 2005 +0000

    Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan)

commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jul 9 20:06:04 2005 +0000

    Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages

commit 3939ac4410446b46071c9d714f4270c12bf904fe
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jul 9 18:44:14 2005 +0000

    - Since all but one line of all the nls/*/Makefile.am files are identical, move common bits to nls/localerules.in for easier updating and use automake includes to include in all the nls/*/Makefile.am files
    - Don't assume $(CPP) can take gcc-only -traditional flag
    - CPP process man pages as is done in the monolithic tree

commit 19ba9d0df86c688319377467254b9ea9c4b0eccc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 9 06:01:49 2005 +0000

    Clean up .cvsignore files

commit f4bba6fa9b9ce637be7662754750054567e9250a
Author: Adam Jackson <ajax@nwnk.net>
Date:   Sat Jul 9 02:53:29 2005 +0000

    typo fix. i suck.

commit 3305da61a61695e24c1ea11d3f59dddb52873d47
Author: Adam Jackson <ajax@nwnk.net>
Date:   Sat Jul 9 02:41:18 2005 +0000

    Check for bigfont proto headers via pkgconfig (Arwed von Merkatz)

commit afdae2e8ccb93de2987b5a5e850695af15ece7e0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 8 07:11:56 2005 +0000

    Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions

commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 8 06:57:06 2005 +0000

    Create and install XlibConf.h to provide external users of Xlibint.h the defines necessary to correctly use the library. Xlibint.h should #include this new file.
    Add a bunch of .cvsignore files

commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c
Author: Chris Less <clee@c133.org>
Date:   Mon Jul 4 23:01:48 2005 +0000

    Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList.

commit 55328bb6caabd37885cd19d7a5821ed425daf321
Author: Eric Anholt <anholt@freebsd.org>
Date:   Sun Jul 3 10:17:38 2005 +0000

    Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am.

commit 726538ba21b631bfb0b8094a5546acdaf57379ff
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Sun Jul 3 07:37:33 2005 +0000

    Fix more include paths; add dix-config.h to XKB code.

commit 8c7677138e70e14eca0255f2168583f0ecc21994
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Sun Jul 3 07:00:55 2005 +0000

    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
    Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
    Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.

commit 197697c92a63091a4cc3cc04dcb7fa29d2655758
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jul 1 22:13:35 2005 +0000

    Fix objdir != srcdir, as well as make distcheck.
    Don't attempt to create Compose.pre files; formatting fixes.
    Added if not already present.

commit c162d60ad8f124563f94a2a266de59373936266c
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Wed Jun 22 22:46:31 2005 +0000

    Apply these patches from Theo van Klaveren:
    lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch
    to make the libraries distcheck.

commit 9ee8abdab03ea605a6327118ab7dacab6adf8876
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jun 18 07:48:43 2005 +0000

    Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them

commit 12afc57b7d455781eee305e9ed6a899ceec8729e
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Jun 15 16:50:47 2005 +0000

    Typo fix to locale/error/keysym location declarations.

commit 9a895777e30762f61b98d25be3b5d8b1169baa17
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Jun 15 13:37:43 2005 +0000

    Typo in ImUtil.h commit -- I AM CAPTAIN SKILL.

commit add49285663684875ab7a5c58ec7a2cf8b775f67
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Jun 15 13:32:35 2005 +0000

    Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end.
    Move ImUtil.h from src/ to include/X11/.

commit 845dfc6b42b950890866ee4df27761e086f50dca
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Jun 15 13:27:48 2005 +0000

    Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file.

commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 10 14:11:36 2005 +0000

    Remove pointless include of Xlib.h.
    Fix #include path to bigreqstr.h.

commit 1a0de49da1274882bab05b0f7240936b37955e5c
Author: Alexander Gottwald <ago@freedesktop.org>
Date:   Thu Jun 9 21:30:15 2005 +0000

    Use $(srcdir) for Compose.pre and XLC_LOCALE.pre

commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37
Author: Alexander Gottwald <ago@freedesktop.org>
Date:   Thu Jun 9 15:55:33 2005 +0000

    Replace <X11/transport.c> with <X11/Xtrans/transport.c>

commit fd5f58e0baf692e34b9b622286f18762cc2500d3
Author: Alexander Gottwald <ago@freedesktop.org>
Date:   Thu Jun 9 15:52:02 2005 +0000

    Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
    Copy Xtrans.h to exports/include/X11/Xtrans only

commit 44538f9940f969d46c0e5e4b201c684cde2ba611
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sun Jun 5 03:29:33 2005 +0000

    Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT

commit 588e30e9ec65fa6205a34be650b79d5e2243edec
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jun 4 22:53:21 2005 +0000

    Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method

commit a547afee2ef49cc41bbb67f9cff5a52a283c0854
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Jun 4 21:20:20 2005 +0000

    Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3436> Conndis.c uses incorrect type for args to XdmcpWrap() (Mike Harris - mharris@www.linux.org.uk)

commit ca93c761559ae464189c7ea7cf11c6a6679f2431
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sat May 28 01:02:32 2005 +0000

    Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383>

commit 09ebb349359e3dd9131fa2fa8b07559faa173654
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sun May 22 19:05:11 2005 +0000

    Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext

commit 761219b1ef9befc350c8a35b6f96d047e5f008cc
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat May 21 23:07:48 2005 +0000

    xtrans:
    Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports
    ICE:
    Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro.
    X11:
    Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans.

commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat May 21 04:26:12 2005 +0000

    Quote $ac_cv_search_* variables to prevent errors from test when they are set to "none required" (as happens on Solaris since dlopen is in libc)
    Comment out "override CC = gcc" line as it breaks builds with non-GNU makes, and its incorrect to force a specific compiler. Change LINK line from gcc to $(CC).

commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819
Author: Adam Jackson <ajax@nwnk.net>
Date:   Thu May 19 00:22:32 2005 +0000

    revert last change, didn't do right thing at all, sorry for the noise

commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2
Author: Adam Jackson <ajax@nwnk.net>
Date:   Thu May 19 00:10:07 2005 +0000

    Require automake 1.7 in AM_INIT_AUTOMAKE

commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Tue May 17 22:32:09 2005 +0000

    - Check for xproto as its CFLAGS are needed in the .pc file

commit 46e8d8a65430dd87c10b066b5cff99a689c22241
Author: Egbert Eich <eich-at-freedesktop-dot-org>
Date:   Tue May 17 08:10:10 2005 +0000

    gcc4 allows to check if sentinels are correct (a sentinel is the terminating element in a varargs list). A sentinel needs to be NULL, not 0 - which doesn't make a difference on 32bit but matters on 64bit. Furthermore it can be told that functions have a printf-like format string and argument list so that they can verify that both match. To use these features certain attributes need to be set - which are compiler specific. To do this we define macros which are expanded depending on the compiler version. For now we put those in include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h which however is not visible outside the DDX) (Bugzilla #3268).

commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1
Author:  <ssp@aware-of-vacuity.boston.redhat.com>
Date:   Mon May 16 22:35:27 2005 +0000

    Make Xdmcp unconditionally required, require various protocol modules.
    Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
    Check for kbproto if using XKB.
    Require xextproto rather than xextensions
    Remove the entries from the xlibs tree, as they are not relevant here.

commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Mon May 16 21:48:36 2005 +0000

    Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
    Check for kbproto if using XKB.

commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa
Author:  <ssp@aware-of-vacuity.boston.redhat.com>
Date:   Mon May 16 21:27:35 2005 +0000

    Require xextproto rather than xextensions
    Remove the entries from the xlibs tree, as they are not relevant here.

commit 7eee605e3aeed549d1053325a03027c5e8cbf71b
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Fri May 13 22:53:36 2005 +0000

    - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>
    - For Xcomposite and Xdamage, don't link the build system out of the xc tree
    - Link the public X11 headers into their own directory
    - Add links to XKeysymDB and XErrorDB
    - Add links to all the Xlib man pages
    - Add links to the lcUniConv subdirectory
    - Conditionally include config.h in Xlib source

commit 6769ccda88caf27d1441d335ef2b318a047a612b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Mar 21 04:58:21 2005 +0000

    xc/lib/X11/ErrDes.c
    //bugs.freedesktop.org/show_bug.cgi?id=132) Patch #2168 (https://bugs.freedesktop.org/attachment.cgi?id=2168) Replace a couple of BUFSIZE uses with better values to check against. Fixes by Stuart Anderson <anderson@netsweng.com>

commit 3b9e8ece93b916c55a82df53e85f097418edf471
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Sat Mar 19 22:04:55 2005 +0000

    xc/nls/Compose/iso8859-2
    xc/nls/Compose/iso8859-3
    xc/nls/Compose/iso8859-9
    //bugs.freedesktop.org/show_bug.cgi?id=2592) attachment #2156 (https://bugs.freedesktop.org/attachment.cgi?id=2156) Fix a couple of typos in ISO8859-* Compose files ("asciicircum" instead "of asciicirum"). Patch by Matthias Hopf <mhopf@suse.de>.

commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Mar 8 02:53:36 2005 +0000

    Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006) Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031) XEmbed client doesn't receive key events from XIM: Use | to set a bit, not &. Patch by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.

commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Tue Feb 1 03:12:28 2005 +0000

    xc/nls/Compose/pt_BR.UTF-8
    //bugs.freedesktop.org/show_bug.cgi?id=2400) attachment #1762 (https://bugs.freedesktop.org/attachment.cgi?id=1762): Fix build bustage caused by broken patch for brazillian locale support (see Bugzilla #1896). Patch by Kevin E. Martin <kem@freedesktop.org>.

commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10
Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Date:   Fri Jan 28 18:31:31 2005 +0000

    cleaned up boundary-case handling for Uxxxx Unicode keysym notation

commit f234188a4c1e6b655aef0e3957ccad20d4c5847f
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Wed Jan 19 01:53:55 2005 +0000

    xc/nls/compose.dir
    xc/nls/locale.dir
    xc/nls/Compose/Imakefile
    xc/nls/Compose/pt_BR.UTF-8
    xc/nls/XI18N_OBJS/Imakefile
    xc/nls/XI18N_OBJS/pt_BR.UTF-8
    xc/nls/XLC_LOCALE/Imakefile
    xc/nls/XLC_LOCALE/pt_BR.UTF-8
    //bugs.freedesktop.org/show_bug.cgi?id=1896) attachment #1675 (https://bugs.freedesktop.org/attachment.cgi?id=1675): Add support for pt_BR.UTF-8 locale. Patch by Gustavo Noronha Silva, Branden Robinson, Julien Lafon.

commit 7448ea7ef425d35cfc31eb41d46f4d879774f376
Author: Egbert Eich <eich-at-freedesktop-dot-org>
Date:   Fri Jan 14 18:03:09 2005 +0000

    Made some security enhancements:
    - no writing past end of buffer caused by bogus locale.
    - explicitely add a \0 character at end of string. (Bugzilla #2262)

commit 5557d47fcf22a6f3adf327691158f2270e3d5094
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Fri Jan 14 04:59:05 2005 +0000

    xc/nls/compose.dir
    xc/nls/locale.alias
    xc/nls/locale.dir
    //bugs.freedesktop.org/show_bug.cgi?id=1830) attachment #1674 (https://bugs.freedesktop.org/attachment.cgi?id=1674): Adding support for the bs_BA (bs, bs_BA, bs_BA.iso88592, bs_BA.ISO-8859-2, bs_BA.ISO_8859-2, bs_BA.UTF-8) locale. Patch by Vedran Ljubovic <vljubovic@smartnet.ba>.

commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824
Author: Egbert Eich <eich-at-freedesktop-dot-org>
Date:   Tue Jan 11 17:37:57 2005 +0000

    'Normalize' locale names (ie. remove any '-' and '_' and convert to lower case after the <language>_<territory> part) before matching against locale.alias (Bugzilla #2262). This needs adequate testing that we don't accidentally introduce undesirable side effects.

commit 642cd269f94a234aa470a1d43385bd42625d89a1
Author: Egbert Eich <eich-at-freedesktop-dot-org>
Date:   Tue Dec 14 08:59:20 2004 +0000

    Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out.
    Fixed typo.
    Added comment to a changed that's been committed with one of the previous commits.

commit a07ccae36e629741d2e48de7730114d30a975a41
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Dec 12 08:42:50 2004 +0000

    Fix missing XChangeProperty() prototype missing in synopsis section.

commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c
Author: Alexander Gottwald <ago at freedesktop dot org>
Date:   Wed Dec 8 13:42:01 2004 +0000

    Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform

commit d5e7ab194103e22fd6c5094aaa107d90210bb600
Author: Jim Gettys <jg@freedesktop.org>
Date:   Thu Dec 2 16:18:16 2004 +0000

    fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor.

commit 03940d7330cb1bbf93d49c650aefb19de457da7c
Author: Alexander Gottwald <ago at freedesktop dot org>
Date:   Wed Dec 1 13:06:55 2004 +0000

    Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable

commit 11a03ab908bfcfab8a3492684e8e9320e492d552
Author: Alexander Gottwald <ago at freedesktop dot org>
Date:   Wed Dec 1 12:42:17 2004 +0000

    Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory

commit f3d83ee153f42e8899b844377e6b842d93411e62
Author: Alexander Gottwald <ago@freedesktop.org>
Date:   Mon Nov 15 15:06:54 2004 +0000

    Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port

commit b798ea11911ac58a8e6e7d15a2a643b023859749
Author: Alexander Gottwald <ago at freedesktop dot org>
Date:   Mon Nov 15 13:29:56 2004 +0000

    Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory

commit 436108cd6c84053698e5ca629096f59b34f50c2a
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Thu Nov 11 15:37:01 2004 +0000

    Fix #1818

commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Tue Nov 9 00:56:56 2004 +0000

    xc/nls/compose.dir
    xc/nls/locale.alias
    xc/nls/locale.dir
    //freedesktop.org/bugzilla/show_bug.cgi?id=1544): Adding support for the si_LK (si, sinhala, si_LK, si_LK.UTF-8) locale. Patch by Anuradha Ratnaweera <gnu.slash.linux@gmail.com>.

commit 443890ceefbd6dafe68e30d103ec4f9d316ed655
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Fri Nov 5 00:58:49 2004 +0000

    xc/nls/compose.dir
    xc/nls/locale.alias
    xc/nls/locale.dir
    Adding some of the major indic locales (bn_IN.UTF-8, bn_IN.utf8, gu_IN.UTF-8, gu_IN.utf8, pa_IN.UTF-8, pa_IN.utf8) to X. Patch by Leon Ho <llch@redhat.com>.

commit af7467ec734321f127b957921cce7792902b6794
Author: Egbert Eich <eich-at-freedesktop-dot-org>
Date:   Mon Oct 18 17:29:03 2004 +0000

    Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su).

commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206
Author: Egbert Eich <eich-at-freedesktop-dot-xorg>
Date:   Mon Oct 18 14:21:45 2004 +0000

    Made handling of DevelDrivers for x86-64 more conformant to other platforms.
    Compress all font encodings (Stefan Dirsch).
    Fixed warnings.
    Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su).
    Added another compose key combination for the Euro symbol (Stefan Dirsch).
    Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian).
    Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian). This is the encoding that is also used by glibc. We may break other libcs - lets see who complains.
    Added explanation for DESTDIR to install to a different directory than /.
    Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11.
    XV support doesn't depend on 2D acceleration any more. This patch removes this limitation from the NSC driver. This is a patch that I have committed to XFree86 a while ago but never ported over to X.Org. Matthieu Herrb contributed some build fixes.
    Fixing SetDPMSTimers() so that DPMS*Time == 0 disables the appropriate timer. This takes advantage of the fact that TimerSet() with a timeout argument 0 behaves like TimerCanel().
    Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink).
    Create missing links for backward compatibility to XFree86 (Stefan Dirsch).
    Changed comment to mention xorg.
    Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If you don't like it we can change it back (original author unkown).
    Added 'pic' to the man page rendering command pipeline (Werner Fink).
    Added missing return value (Stefan Dirsch, Roland Mainz)

commit 1ba103c3cad2329db3a31f88d7798b913affc570
Author: Eric Anholt <anholt@freebsd.org>
Date:   Wed Oct 13 07:38:00 2004 +0000

    Use attributes instead of pragmas for weak symbols on gcc 2.95 as well. Using pragmas may result in the symbols being undefined with big -O. (FreeBSD ports/69708, Masakazu HIGAKI <higamasa@dream.com>)

commit d80237db627bf71ad5615ff4ba05e6ab436aa740
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Fri Oct 8 22:57:56 2004 +0000

    Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com>
    Move iso10646 last so the "fallback" fonts will actually be used if they are better matches.

commit d1f76d17ecf418396627b1a58319f2b9b255548a
Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Date:   Sun Sep 26 22:54:57 2004 +0000

    bug fix for previous patch

commit 48932d9b71d10e15812f47d5b842ab6aa8dac625
Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Date:   Sun Sep 26 20:46:17 2004 +0000

    The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn)

commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543
Author: Egbert Eich <eich@freedesktop.org>
Date:   Wed Sep 15 09:05:22 2004 +0000

    Unregistering events in XSelectInput() when unregistering IM filter callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak).
    Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab).

commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3
Author: Egbert Eich <eich@freedesktop.org>
Date:   Tue Aug 31 11:37:03 2004 +0000

    Fixed some lockups in XIM code when the application is running with multi thread support. These lockups occur deep down in XFilterEvents() which itself locks when another Xlib function gets called that also locks. This fixes two instances by separating those Xlib functions into an internal (non-locking) call and a locking wrapper that is used as an external function. There may be several other such instances therefore another more general patch is eventually required (Bugzilla #1182).

commit e689746c8d0e21e9011e8b91a3071d235d3a2a74
Author: Kevin E Martin <kem@kem.org>
Date:   Thu Aug 19 06:48:06 2004 +0000

    Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure.

commit d558a53a6f57eecfcaadce5141fe3a08860defcb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 14 07:12:36 2004 +0000

    Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing.
    Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly.
    Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version.
    Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default)

commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55
Author: Alexander Gottwald <ago@freedesktop.org>
Date:   Fri Aug 13 16:28:19 2004 +0000

    Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki)
    Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe)

commit c4d56e4e288d4e48b84b021a61638f46e9a45e27
Author: Adam Jackson <ajax@nwnk.net>
Date:   Wed Aug 11 05:25:13 2004 +0000

    Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik.

commit 92487437173f600f208d825f65756d3ad14a4f7e
Author: Kevin E Martin <kem@kem.org>
Date:   Mon Aug 9 22:37:22 2004 +0000

    Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald).
    Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes).
    Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson).
    HP-PA build fix (Bug #828, Guy Martin, Paul Anderson).
    Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine).
    Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris).
    Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris).
    Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris).
    Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor).
    Fix several render problems:
    - MMIO mode support
    - Hang on IGP chips
    - VT switching hang
    - 3D render corruption (Bug #922, Hui Yu).

commit 55c2ee568e7d3903258286a13bdf96ce5348ffda
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Tue Jul 27 06:06:05 2004 +0000

    - remove remaining AMOEBA references.
    - remove unused file.

commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date:   Tue Jul 20 17:48:09 2004 +0000

    Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk>
    Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera).
    Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk>
    Use /dev/urandom on Linux.(#761).

commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1
Author: Eric Anholt <anholt@freebsd.org>
Date:   Fri May 28 23:26:44 2004 +0000

    Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this.

commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0
Author: Egbert Eich <eich@pdx.freedesktop.org>
Date:   Mon May 24 19:02:11 2004 +0000

    Improve 'uniqueness' of authorization cookie sent by client for XDM-AUTHORIZATION-1. Old 'uniquness' consisted of the PID of the client, a time stamp (in seconds) and a number obtained by starting to count down from 0xffff. When a client did an XOpenDisplay() then execv'ed a child and did XOpenDisplay() again within the same second, the cookie was identical to the previous one (as the PID did not change but the static 'count down' variable was reinitialized) and thus refused by the server.

commit 720702da29769d80ad1254d92edbad5b30f8a8da
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat May 22 03:47:42 2004 +0000

    Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure)

commit 3aed873292424b497d9a7dcee2975b95bf5ac966
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Sat Apr 24 23:39:25 2004 +0000

    XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183).
    Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH).
    xc/config/cf/sunLib.tmpl
    xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris

commit c6349f43193b74a3c09945f3093a871b0157ba47
Author: Egbert Eich <eich@freedesktop.org>
Date:   Fri Apr 23 18:42:09 2004 +0000

    Merging XORG-CURRENT into trunk

commit c3c4ddc682950a01b80825021f3e2503ab01ea7f
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date:   Tue Nov 25 19:28:07 2003 +0000

    Initial revision

commit dc4268a7dadc8da0d561757a68461246728613d3
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date:   Fri Nov 14 16:48:47 2003 +0000

    Initial revision

commit deae12c6b683898f5213992d561a59d4ea889cca
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date:   Fri Nov 14 15:54:30 2003 +0000

    R6.6 is the Xorg base-line