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
|
commit 9fd7b9a9652ecebb8eb533c2a30b9fa7bb186b90
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 7 13:32:11 2011 +1000
libXi 1.4.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7bdaa3635b7eb4bd993c317922d35cad7ed0cab9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 3 15:10:27 2011 +1000
man: Fix typo in XIChangeProperty
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 938ef832b892fdefe0d5c2bb4510c91bbbccca9f)
commit 63027b24113b349720f1612a4426933c1364ea28
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 3 15:02:35 2011 +1000
man: Fix wrong event names in XIGrabButton.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 597a6a51721d30c4354d1133bb6da6bd2e12446e)
commit 9affea8cfd3f583647e9c6ea2b5debb97e6904c5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 2 16:21:59 2011 +1000
Use Data, not Data32 in XIPassiveGrabDevice
Data32 takes and iterates over an array of longs, thus skipping every 4
bytes on LP64. Here we only have arrays of ints, use the normal Data macro
instead.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit 9faab2bc0bdd4d98a04e572a7a5201bfcd3bdc70)
commit 641d1e9943208a8b2c2aef843bd17cb22f833b06
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 2 14:17:44 2011 +1000
man: fix missing comma in XIGrabEnter man page
(cherry picked from commit 67441d30df756eb715a262d3439865dedd4055e8)
commit f37dee93cb288f11d286c7bc4222b2f571ccfd65
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 5 09:43:32 2011 +1000
man: fix typo, layout in XGetExtensionVersion.man
Fix a typo and move from MPX to XI2. Add a linebreak to make the
depreciation separate from the function description. Changes in the second
paragraph are just realignment due to the linebreak.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit aa2432240ad02c54280f2d11c007969c3eb9b79f)
commit 89c7eff322c60d78c814693ecb28fa6c65159d3e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 3 14:34:22 2011 +1000
XIChangeHierarchy: Return Success early if no actual changes are requested.
Do the same for negative num_changes.
Found by static analyzer.
Reported-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit cc6feecae23b321952921cf927bc965386844c8c)
commit 7c6003718458ede0542233a213e05d67731d3e28
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 3 13:21:02 2011 +1000
Allocate enough memory for raw events + extra data.
Necessary space was calculated, but not actually used to allocate memory. As
a result, valuator data would overwrite the allocated memory.
==4166== Invalid write of size 1
==4166== at 0x4C29F04: memcpy (mc_replace_strmem.c:497)
==4166== by 0x8F39180: ??? (in /usr/lib/libXi.so.6.1.0)
==4166== by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0)
==4166== by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0)
==4166== by 0x49C3E3: process_key (x11_be.c:1065)
==4166== by 0x49EA5C: event_key_release (x11_be.c:2201)
==4166== by 0x49DD6E: x11_be_process_events (x11_be.c:1892)
==4166== by 0x4A38F4: x11_be_main_loop (x11_be.c:4353)
==4166== by 0x4A39E1: x11_be_thread_main (x11_be.c:4385)
==4166== by 0x87549C9: start_thread (pthread_create.c:300)
==4166== by 0x8A516FC: clone (clone.S:112)
==4166== Address 0x168afe80 is 0 bytes after a block of size 96 alloc'd
==4166== at 0x4C284A8: malloc (vg_replace_malloc.c:236)
==4166== by 0x8F390BD: ??? (in /usr/lib/libXi.so.6.1.0)
==4166== by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0)
==4166== by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0)
==4166== by 0x49C3E3: process_key (x11_be.c:1065)
==4166== by 0x49EA5C: event_key_release (x11_be.c:2201)
==4166== by 0x49DD6E: x11_be_process_events (x11_be.c:1892)
==4166== by 0x4A38F4: x11_be_main_loop (x11_be.c:4353)
==4166== by 0x4A39E1: x11_be_thread_main (x11_be.c:4385)
==4166== by 0x87549C9: start_thread (pthread_create.c:300)
Reported-by: Roger Cruz <roger.cruz@virtualcomputer.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit af65475b1f6b7209750220a74aaad9968d54aaf7)
commit 8abdde71b83ff37b8500282e4856c323be508f67
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Fri Apr 1 22:49:09 2011 +0200
Fix XISelectEvents on 64 bits, strict alignement architectures.
Use Data() to send the struct xXIEventMask on the wire instead of
Data32() which expects a pointer to a 64bits value on LP64
architectures.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 18177afd4fb3934d0a9083c599fb96701eec2ad9)
commit 32236a7779f721d252d633d06ade306f246421a3
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Fri Mar 18 16:30:13 2011 -0700
configure.ac: 1.4.2
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 2d638fc37b0dbf28e5c826f74f68ada83a8c3e2b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 15 10:55:10 2011 +1000
Force alignment with sizeof(Atom) for XIButtonClassInfo
The memory layout of an XIButtonClassInfo is
[struct XIButtonClassInfo][mask][labels]
With the mask being currently 4-byte aligned and labels a list of Atoms. On
LP64, Atoms are 8 byte, leading to unaligned access for some mask lengths.
Force the alignment to be sizeof(Atom).
Reported-by: Christian Weisgerber <naddy@mips.inka.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Christian Weisgerber <naddy@mips.inka.de>
Reviewed-by: Adam Jackson <ajax@redhat.com>
commit 477f922fb07eea629f16c55b0a022e836ede6d41
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 8 14:44:10 2011 +1000
Don't discard extra data for passive grabs.
Failed modifier data was discarded, causing assertions inside xcb.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f0a352412920d9989323c7d33ca75c3646ee3f35
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 8 14:01:35 2011 +1000
man: describe return value for XI2 passive grabbing calls.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 11b1e8ea7bc160cf9a42231742eedb0e7fefa222
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Sep 9 14:43:03 2010 +1000
Rename XSetCPtr.c to XISetCPtr.c.
XISetClientPointer is an XI2.0 call and should be named accordingly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 19ac7ef23e7ff07068a63d1553159e7cb3ad2576
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Sep 9 14:43:02 2010 +1000
Require XI 2 for all XI 2 calls.
Each XI2 call should check _XiCheckExtInit for XI version 2.0 or higher.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 536bd44c513ede7e61e112c82a80fb9197f261f7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 23 10:53:21 2011 +1000
Fix typo in comment.
Reported-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4ca8be9f3ffbafe9515e50d784f4ff83f6993be0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 23 09:30:59 2011 +1000
Fix invalid read in XIGrabDevice.
Miscalculation of length caused Data() to memcpy too many bytes.
==2865== Invalid read of size 1
==2865== at 0x4A07480: memcpy (mc_replace_strmem.c:602)
==2865== by 0x544271E: XIGrabDevice (XIGrabDevice.c:69)
==2865== by 0x400B0A: main (gnome642481.c:56)
==2865== Address 0x642f614 is 0 bytes after a block of size 20 alloc'd
==2865== at 0x4A04896: calloc (vg_replace_malloc.c:418)
==2865== by 0x54425D3: XIGrabDevice (XIGrabDevice.c:65)
==2865== by 0x400B0A: main (gnome642481.c:56)
SetReqLen() expects 4-byte units.
Data() expects bytes.
Gnome Bug 642481 <https://bugzilla.gnome.org/show_bug.cgi?id=642481>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4db3db2b38d8eb9024170633d3bf7c5050272dd0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 14 08:48:07 2011 +1000
Mark sourceid in Raw events as bug and force to 0..
The protocol does not provide a source ID for raw events, so this value is
always 0. It shouldn't really be there, but the past is so hard to change.
Reported-by: Mark Dokter <dokter@icg.tugraz.at>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d79a9b174a79e89ca2507a61f2e12af25102313f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 1 07:36:08 2011 +1000
man: note that callers of XIQueryPointer must free the button mask.
buttons_return->mask is allocated by the library and must be freed by the
caller to avoid leaking.
Reported-by: Matthias Clasen <mclasen@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1b376f371c2f866cd1cdf047e50210a5c69772b9
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Feb 2 11:43:43 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.
Use AC_PROG_LIBTOOL to replace the deprecated AM_PROG_LIBTOOL
Remove redundant AC_SUBST(*_CFLAGS) and/or *_LIBS
Remove redundant AC_PROG_MAKE_SET included with AM_INIT_AUTOMAKE
Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS
Add AC_CONFIG_SRCDIR([Makefile.am]) where missing
Update minimum version of util-macros to at least 1.8.
One or more of the above actions were applied
No functional configuration changes
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 faff510fed9733b2860e14490d5a40d70b840eae
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Jan 28 19:41:37 2011 -0500
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 3776075264024af7eca93f689305d46302e88536
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Jan 28 12:07:46 2011 -0500
config: remove already included AC_PROG_SED statement
Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
Use the appropriate platform version of sed
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 5283e87ca909304d3e1820ef877bf3587a9c8724
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Jan 27 18:50:15 2011 -0500
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: Gaetan Nadon <memsize@videotron.ca>
commit be2a1b33c9394dcab52622bde53c83f1dd840ea0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jan 26 07:42:53 2011 +1000
libXi 1.4.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e0c95ce2348a9c9afaa4862368c7a5ae6913457c
Author: Carlos Garnacho <carlosg@gnome.org>
Date: Mon Jan 24 12:35:04 2011 +0100
Fill in mods/group->effective in XIQueryPointer()
the other XIModifierState/XIGroupState fields are being set correctly,
but the "effective" field was being left as undefined memory.
Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a5961a8459614fcaa801a47cda07d3ee8246b16f
Author: Philipp Reh <sefi@s-e-f-i.de>
Date: Mon Jan 10 17:35:57 2011 +0100
Fix passive grabs.
_XIPassiveGrabDevice, which is called by alle the passive grab functions,
wrongly returns an error when it shouldn't.
The attached patch adds the missing "not" to properly test the error
condition of _XReply.
Signed-off-by: Philipp Reh <sefi@s-e-f-i.de>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 408db9e86a92c897390129ef27a804d7cf6ba6fb
Author: Paulo Zanoni <pzanoni@mandriva.com>
Date: Thu Dec 16 14:10:05 2010 -0200
Use docbookx.dtd version 4.3 for all docs
Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 9419fe9f0b21232d342885a693fbf9222b5844e4
Author: Daniel Stone <daniel@fooishbar.org>
Date: Mon Dec 13 19:49:58 2010 +0000
WireToEvent: Set display member of all events as well
All events were getting random uninitialised garbage for display; fix
that.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit 549dd5f470148df74e65ce7bb1af316a2848a71d
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Nov 9 13:04:55 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 ea7e12eaf84ada28f4933e85ecf51a47c9db0b93
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Nov 2 14:26:34 2010 +1000
libXi 1.4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 556246beaffb42e1f58d816542d91e360ea02080
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Nov 2 11:22:01 2010 +1000
man: XGetDeviceProperty(3) has no parameter 'pending'.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit ccbebb111fb2084716fce67cb44b5bd8b86adbbc
Author: Jesse Adkins <jesserayadkins@gmail.com>
Date: Tue Sep 28 13:30:03 2010 -0700
Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit f237427f897d1dc527494653735d4bb93d740546
Author: Carlos Garnacho <carlosg@gnome.org>
Date: Wed Oct 6 11:04:21 2010 +0200
Fix typo when converting raw events from the wire.
The raw values were being miscalculated, containing only the integral part
of the FP3232, meanwhile normal valuators were mistakenly added the fractional
part of its corresponding raw value.
Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit abc26c71b6032683b89085a7ebcd40ca81cdf3f2
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Oct 3 17:04:57 2010 +0200
man: fix typo in XIQueryDevice doc
Don't pretend this is XIQueryPointer.
Debian bug#598964
Reported-by: Joachim Breitner <nomeata@debian.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit a00926cd16a0b6ddb9f7b074dce88e3fb840831c
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Wed Aug 25 22:21:55 2010 +0200
Fix build with gcc 2.95
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3f2814a0f9193cb33b44ef53059a4b349cf4cabc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 2 15:40:32 2010 +1000
man: improve readability of XAllowDeviceEvents.
Parse the options to event-mode as a list. This requires un-indenting the
rest, otherwise the asciidoc/xmlto conversion will indent the trailing
paragraphs more than the list
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d3eb99478ca96fdfc4ceb2a9809f19f803bba6c7
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Aug 15 18:05:13 2010 -0400
man: add $(AM_V_GEN) for silent rules where missing
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit dbcca7e1296ae671964c55be13bfbb9113a600a0
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Aug 15 17:46:52 2010 -0400
man: whitespace management
This style should make it easier to read filenames
in a large list.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit bc9f68de51ec7d3d88330ff843eccd6cbf9a93ad
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Aug 15 12:53:04 2010 -0400
man: Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 20b843c820dd147a0f8f7e6d06da7a0c18d40f1c
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Aug 15 09:33:17 2010 -0400
man: add/change comments regarding the 3 step conversion from text source
In the hope of making it easier to learn.
This makefile may serve as a reference.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit e7b4e33a3ea1a3cce074da2d91bda7258e01652a
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Aug 15 07:54:39 2010 -0400
man: rename libman_pre to libman_PRE
To be consistent with all other man pages makefiles.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit d854293a63be4a983e3e8fe8a1110a5ea1ffba2a
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Aug 15 07:32:10 2010 -0400
man: use "shadows" terminology in variable names.
For man pages that are just links to a main man page.
This is how they are referred to in all other librairies.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9fe6bfec833a66a3a8ca70b8769eada91a320bf7
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Aug 14 21:41:51 2010 -0400
man: remove used LIB_MAN_DIR_SUFFIX (part of an unrequired broken fix)
Local fix in CVS for bug 5628 is not required
as the problem has been fixed in
util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 8daf961d0fe6a1433c8248d984618a7e22ff88b8
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date: Fri Jun 18 11:32:36 2010 +0300
Always unlock display correctly
XISelectEvents and XIGetSelectedEvents were not unlocking display in all
return paths.
Reported-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
commit 3a6839b4a229aa59188025c9b285023110a20aad
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date: Mon Jun 14 10:37:56 2010 +0300
Use single error path in XGetDeviceControl
This reduces code duplication and fixes possible leak of d. d would leak if
allocation of Device fails.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 850288fee663c07fbd491859629543f78bbadd3c
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date: Mon Jun 14 10:37:56 2010 +0300
Use single error path in XGetFeedbackControl
This reduces code duplication and fixes possible leak of f. f would leak if
allocation of Feedback fails.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 9ca839742b49d49e98a17baa40c9662ee76c397f
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date: Mon Jun 14 10:16:22 2010 +0300
Use single error path in XQueryDeviceState
This reduces code duplication and fixes possible leak of data. data would
leak if allocation of state fails.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit b953bf7b9775e5970776a21ae3f7919592289c92
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date: Mon Jun 14 10:05:36 2010 +0300
Fix memory leak in XIGetSelectedEvents
mask_in was leaking for every successfull XIGetSelectedEvents.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 6199f89992e2b6ba5f96833f4f4087b61ca61ac5
Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Date: Fri Jun 11 17:30:44 2010 +0300
Fix usage of uninitialized value
In error case length of extra data could be uninitialized. This would
result randomly sized request later in function.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit d364aaaa47a69789b7acfd54b625caa299780480
Author: Matt Dew <matt@osource.org>
Date: Sat Jul 10 09:48:13 2010 -0400
specs: convert input .ms specs from xorg-docs module to DocBook XML
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 30b076ea0b761c4a94c275be273accf311dc81c2
Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
Date: Thu Jul 1 06:58:28 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 54fbe5759aa961dccc618b35573845f847675570
Author: Jamey Sharp <jamey@minilop.net>
Date: Fri Apr 9 17:31:00 2010 -0700
Don't unlock the Display twice.
_xiQueryVersion's caller must wrap it in a LockDisplay/UnlockDisplay
pair, so it shouldn't call UnlockDisplay itself.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
commit f7c3b023f04e06dfe380dce488f80943a10be57e
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Mar 29 16:50:34 2010 -0400
config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit e48a8569f854237f2fead7c7a75e90b6c5fe8693
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 93aca1583dcdd21d79c7ab75d81a49359523a0e2
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Mar 11 10:16:51 2010 -0500
doc: specify minimum version for xmlto and ascidoc
Specify 0.0.20 as the minimum version for xmlto.
Older versions do not have fop backend.
Specify 8.4.5 as the minimum version for ascidooc.
Older versions stop with errors.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 299de21b2ab3cfa2078823215f84da67e7b3d1a3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 9 13:59:57 2009 +1000
Initialize extension with the right number of events.
If the server supports a lower XI version than the client, the Xlib-internal
event vector may be smashed. See libXext for more details.
http://cgit.freedesktop.org/xorg/lib/libXext/commit/?id=83fdb27df4ddc2fb088ddf2ec65f0db6b7c57287
This patch queries the server for the supported XI extension before
registering the extension with Xlib. The number of events registered depends
on the server version.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 4debc545611edd35f8fd35a52f4adf4263e49200
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.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit d7e421f97db74332783ae885f6835f84133c92b5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 18 16:52:12 2010 +1000
man: fix types for XGetSelectedExtensionEvents.
The return values are of type XEventClass** and int*, respectively.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
commit b75b8fa4bda0fb18872fa82a04fe7f609a147f8b
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Tue Jan 26 09:17:12 2010 -0800
Need both xmlto and asciidoc to install man pages from a checkout
The check for whether to build the pages looked for both xmlto and
asciidoc, but the check to install didn't. Refactor a bit so that the
check is done only once.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Christian Hartmann <cornogle@googlemail.com>
commit f10f6f2fd420786cddac875d1b6de2004ba8c9d4
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Jan 23 14:46:59 2010 -0500
man: remove redundant nodist prefix to libman_DATA
The final, macro substituded, man pages (with file extension .3
on my platform), are installed, but not distributed. There is no
need to override the correct default behaviour.
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit c183e15263787af913bf8eb7be707e0f2e974824
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Jan 23 10:04:38 2010 -0500
man: allow installing prebuilt man pages from tarball
The man pages source may be supplied in the tarball or built
from git. The makefile needs to take that into consideration
and adjust the targets accordingly.
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit c94494c144c634b7fa3187c55458cafa0e06a69c
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jan 19 13:44:49 2010 -0500
config: replace custom code with reusable macro XORG_WITH_XMLTO
XORG_WITH_XMLTO provides additional functions like a configure
option which allow platform builders to control the usage of
the xmlto program.
This is a requirement from platforms that do not have such doc tool.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit bb07265cfbd919de4903dadbfe42d1779c20225c
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Jan 14 09:22:08 2010 -0500
COPYING: add missing copyright notice
Refer to: XiAllowEvents.c
Copyright © 2009 Red Hat, Inc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 20f1b09cfdeeb2e4536e82a09b32693de65f3566
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Thu Jan 14 21:39:47 2010 -0800
Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit d42cdd631728eae399287b666f0f445e7af47ad3
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Jan 1 13:43:03 2010 -0500
man: ignore generated .man from .txt files in this directory
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9620cfa989d214a4d97c74767c218d06ed2ac792
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Nov 27 20:56:04 2009 -0500
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
commit d157e3b4ac31710fb1d4d62f1cc4fa743ec61522
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 847b72d9de8dd839c391321b50312368e63e7305
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 f1c7f651838c7f2f33c0c9f9306d8d6df36206c7
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Oct 26 22:08:43 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 a9a766f9dd0e8cf32e576c040d1604422193ab07
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 63621888d6e36a2f9e41e81c14728d70beeff5ee
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Oct 2 12:09:17 2009 +1000
libXi 1.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9dc825a3dede81d2425770662daefe7e19644d6d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Oct 2 12:08:30 2009 +1000
Require macros 1.3 for XORG_DEFAULT_OPTIONS
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3530845c70b0d7f9f853b29337c9397a3a599e52
Author: Julien Cristau <jcristau@debian.org>
Date: Tue Sep 29 14:15:06 2009 +0200
Don't export sizeDeviceClassType, size_classes and copy_classes
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit 801d77d035a10250dab728c046a6e9b2775e6dfb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Sep 24 14:14:48 2009 +1000
XQueryDeviceState: correct length of XValuatorState
The length is suppposed to be the complete class size, not just the struct
size. Since XValuatorState is followed by multiple valuator values the
size of the class is variable and dependent on the number of valuators.
The server assembles the valuator state last. This bug is unlikely to affect
clients as they should never go past the last class anyway.
Tested-by: Thomas Jaeger
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bff36ef5797d7da11972ee22ea224e207af77455
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Sep 24 13:10:26 2009 +1000
man: correct XQueryDeviceState return value.
And one indentation fix in the same man page.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9c5ba6ff3fcff30507f285f2e67afbdb296a2318
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 14 16:34:18 2009 +1000
Declare _xibad* functions before the Bad* macros.
Reported-by: Christian Beier
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 369600cf37cd884793c4802a56c8355bc1812dc6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 7 12:22:06 2009 +1000
mask_len in XIGrabDevice is in 4-byte units (#23708)
X.Org Bug 23708 <http://bugs.freedesktop.org/show_bug.cgi?id=23708>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fa09375a69a02cd789c70d60970a669700eaeb20
Author: Arkadiusz Miśkiewicz <arekm@maven.pl>
Date: Sat Sep 5 20:39:47 2009 +0200
libXi: Man page files end with LIB_MAN_SUFFIX not LIB_MAN_DIR_SUFFIX.
Using LIB_MAN_DIR_SUFFIX as man page files suffix is invalid since
there can be files ending with eg. 5x while being in man5 dir
(share/man/man5/man.5x) as required by FHS 2.3.
Man page files and with LI
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 693d9a43f16d4ffd085099b532a10467aa095c17
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Sep 1 16:42:38 2009 +1000
Initialize send_event for cookie events. (#23609)
X.Org Bug 23609 <http://bugs.freedesktop.org/show_bug.cgi?id=23609>
commit eb9a2d63487641faa97d88cef3fa1c892a8f342f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 25 11:03:04 2009 +1000
Bump to 1.2.99.4
commit 2ce629c30745fc4027d2a95745bf21e8d8c7b893
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 25 09:55:23 2009 +1000
Remove the asciidoc warning from configure.
This warning was put in when the released version of asciidoc required an
additional patch to build libXi.
The release of asciidoc 8.4.5 included this patch thus we don't need this
explicit warning anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 17bbc8c30fb34c7130b71e5cc0b0e17093271266
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 24 15:54:09 2009 +1000
man: fix XIQueryPointer parameter ordering.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 207a7f3d5bd559ffb67de2910795d7cd6508ce09
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 24 15:31:55 2009 +1000
Update XIWarpPointer to take doubles (inputproto >= 1.9.99.902)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a8a8b40fa447c85eb5d1d61ef416d3cf198c72c1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 18 15:21:56 2009 +1000
man: XIDefineCursor can generate BadDevice errors.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 326a0c01ef6e3c1f0577e185c23eec80ecf59192
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 18 15:08:50 2009 +1000
man: typo fixes in XIUndefineCursor, add BadCursor note.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 42a718457d183aab42778fbb127fafbae6b3e6d8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 5 16:00:44 2009 +1000
man: point out temporary detachment of slave devices.
Affects XIGrabDevice, XIGrabButton/Key and XIGrabEnter/GrabFocusIN
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1a5f4fd2fa3ac7cfa1671d5cf0975ff365294f29
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 5 15:58:57 2009 +1000
man: fix XIGrabEnter man page - text with needed to be reduced.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0d19a3ec942aedf5432a9bda1e80f29f7186ce5b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 5 15:34:10 2009 +1000
Update library version for new symbols.
XI2 adds a whole lot of new symbols but leaves the existing ones. Minor bump
only.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 936f4993a9ece131aff03cf789b8c21cadaed47e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 5 08:50:20 2009 +1000
man: correct XListInputDevices description of the name field.
A device's name is the identifier set either by the server the
xorg.conf/HAL. The preconfigured device types (XI_MOUSE, XI_KEYBOARD, etc.)
are atoms listed in the type field only.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bc3900ea706438005f8b5613de4d9fb6bd954f62
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 4 14:03:44 2009 +1000
Cosmetic fix, move a 'char* name' to 'char *name'
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 30de3da4c87322a73b2ab72e6ac83f689ec42adf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 4 13:26:45 2009 +1000
Allow foreign automake, remove empty AUTHORS and NEWS.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4d8676a859a2a8ebde03d8a9fe6bd79060f16cf5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 4 11:45:53 2009 +1000
man: add XIQueryDevice and XIFreeDeviceInfo man page.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c5a5d1800566b0ec073418a827ed5bc8195dd24e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 4 10:48:50 2009 +1000
Remove leftover RCS tags.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit aa8272dd31b69f84d19dbe2c45889b806df8260e
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Mon Aug 3 06:09:12 2009 -0700
man: missing .man suffixes in prereq rules breaks parallel make
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
commit 888f6c238de6f09cc5b079ae22c6f37496083007
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 22 14:16:11 2009 +1000
Bump to 1.2.99.3
commit c439c39cc0f985743fbc464849f6caa805b1a1a9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 21 11:41:43 2009 +1000
Replace keysym grabs with keycode grabs.
Keysym grabs are tricky to get right for applications that are more
complicated than demo applications. otoh, we know keycode grabs are
working.
So let's go with keycode grabs for now and add keysym grabs later
when we've sorted out the details.
Requires inputproto 1.9.99.15
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4f224f4da1405959b74c05d6b15469cf6c0c498f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 15 10:27:21 2009 +1000
Fix wrong raw_valuator wire copy, add fractional parts.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 550a33ed79925501d9a5e8b73ef256fd9e0937b5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 14 15:28:00 2009 +1000
man: fix wrong parameter in XIGrabKeysym man pages.
XIGrabKeysym doesn't provide a cursor argument.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 504a5a770bd1d34ea7edc3b94815b2b98a61afc0
Author: Daniel Stone <daniel@fooishbar.org>
Date: Mon Jul 13 16:53:57 2009 +1000
Add flags to XIDeviceEvent and XIRawEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 94bfb0cc3ebbefe548b440f8c5e14154c3a76440
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 15:37:32 2009 +1000
Cater for new event-specific raw event types.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e600e6cf47abd61bd3554967c4fdb0f78cc68f41
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 15:37:59 2009 +1000
Fix broken formatting, remove empty comment.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1fc161f058eecb61d37135fd024703a385769417
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 09:14:03 2009 +1000
Bump to 1.2.99.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 386283e4a6653eef5e92bad8867b64a3e10a5138
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 11:34:20 2009 +1000
Reshuffle deviceid + sourceid in XI2 events to allow for common typecasting.
Except for two events, all events include a deviceid. Place it at the same
position in the struct for these events to allow quick checking with common
typecasts.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d02c85fbd2a204a78a9d515960d817ed37e3d492
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 11:24:35 2009 +1000
Add the deviceid to XI2 property events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 07d7fc323367ac93c3c26eaf130284e31aa961ea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 11:05:33 2009 +1000
Plug memory leak in XIHierarchyEvent copy.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 753fb6afb13a7ce154cd24261eadb56c3f4243c5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 10:05:33 2009 +1000
Fix segfault in XIDeviceChangedEvent wire parsing.
Introduced by 225071e2e67fb65a0258397212f9826c9b25e078.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9d92265081830b700926b4a7b73975dd65217551
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 9 13:46:52 2009 +1000
Remove padding from XIEvent.
The padding was originally to force the same size as the XEvent struct. This
only works on 32 bit however, the 64-bit XEvent struct is larger.
Let's just ignore the padding, there's no point to it anyway, all the Xlib
functions require XEvents anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4dacd34cc05054a0ab26621aaec8125b2ffe5bbf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 8 16:00:57 2009 +1000
Add event copying for raw events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 79b1ee174bb08722198e6d00c9d1a1e9e9352b8a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 8 15:42:58 2009 +1000
Switch to new XIEvent structures - no need for pointers anymore.
This removes all those pointers from event structures that were just there
due to the pre-cookie struct size limit. Pointers remaining are only those
that are of variable length (e.g. masks and valuator states).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 64a106509ba18506e88989571c1392d48ae18a54
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 8 15:18:57 2009 +1000
Remove XIFreeEventData - obsolete with cookie events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ba0407100fd1314feb8dc0eace4352d00709cab3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 24 11:18:10 2009 +1000
Add effective modifiers/group to events - require inputproto 1.9.99.13
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d6439bc4c5c26577d0c839555a85bd1a9db784f3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 24 10:09:42 2009 +1000
Change floats to doubles in DeviceEvents and EnterEvents.
All the other bits use doubles, there's no reason to use floats here.
commit 225071e2e67fb65a0258397212f9826c9b25e078
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 7 16:46:22 2009 +1000
Split copy_classes and size_classes to avoid memory leak
The switch to cookie events introduced a memory leak in
XIDeviceChangedEvents.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 55157345c261653160e0f55841dcb32910ae4106
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 2 11:41:40 2009 +1000
Use cookie events for XI2 events.
Instead of squashing the events directly into the XEvent use the new libX11
cookie events. This allows us to have larger events without the 96 byte
restriction.
Requires libX11 1.2.99.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0e2be045663045dc087f21df95de91f824322915
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 8 11:07:56 2009 +1000
Add next_block() call to advance pointers over memory.
Simple call to get the pointer to the next field when operating on a wire
protocol struct or on a single-memory-block Xlib structure.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c81a383f11c87976454200805b4b5416a414b4c5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 24 10:06:29 2009 +1000
Add typedefs for focus in/out events.
The events themselves are the same as enter/leave events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d3d00ddb93f01690ba81ce9ec504c1b352f5539d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 19 15:48:32 2009 +1000
man: add some missing XI2 refpages
These missing pages may cause parallel builds to fail.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 47aeafbbd30800fa9a7a1136cb4fdb50cebe005f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 17 09:15:48 2009 +1000
Require inputproto 1.9.99.12
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a514d16c4535890e5aa2b5835d9a571155830251
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 17 09:00:10 2009 +1000
Axis and button labels should be called labels, not names.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 099e6f77482e971103570cfd38092c3839f94927
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 16 14:20:30 2009 +1000
Protect button label copying against 64-bit Atom madness.
Datatype Atom is 8 bytes on 64 bit architectures, but it's always 4 bytes on
the wire.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bd2a3ad028a87f76ad244efe3650d7efd3a700dd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 16 13:24:34 2009 +1000
Include the current valuator state in XIQueryDevice.
commit 1ca170b8d19b1170356a1edf4717cd4a95671a13
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Jun 14 08:40:59 2009 +1000
XIButtonClass now includes a XIButtonState struct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4ec5f70a813ba08bfcea7b2ff90f7647a94a95d7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 12 16:34:13 2009 +1000
Fix a few wrong 'evtype' comments.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e018af45b7d0db784272fc9fc548bce382799144
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Jun 7 17:56:17 2009 +1000
Add sourceid to device classes.
commit 5f217c70a42b743e7260035bd02065eca39bc268
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 12 15:51:58 2009 +1000
XISelectEvents and XIGetSelectedEvents use "win" now instead of "window"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 92e5ad0a641d84cf4464f37ac372724a808a785f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 8 15:43:24 2009 +1000
Require inputproto 1.9.99.11.
commit 467bfbc6598c8c30ab9b703160cc42ae82e75f1c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 8 14:21:58 2009 +1000
XIHierarchyEvent should list num_info, not num_devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0254852c8fb0793401368c7afc6041f807ee1d87
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 8 13:34:50 2009 +1000
Rename XICreateMaster to XIAddMaster for consistency.
add/remove is used for slave devices and for flags, so we should use it in
XIChangeHierarchy as well.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4a61fe9f05b8e7214303722dd12195488df9c599
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 8 13:37:38 2009 +1000
Silence warning: missing prototype for copy_classes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 05531681e5175b823935e6bdfc53c9b5f63efc9d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Jun 7 15:00:40 2009 +1000
Remove CamelCase use from XIChangeHierarchy.
Everything else uses underscore notation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 45d35bcfbe2acd4dd2b560dbc21266e915cbb1e6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Jun 7 14:59:19 2009 +1000
man: XIChangeHierarchy uses device ids, not XDevice*
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 199dd64b809c7622b0f0bd94e1c5551c931ea1e5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Jun 7 14:55:42 2009 +1000
Hierarchy changes should use "deviceid", not device.
Every other call/interface uses deviceid, so change for consistency.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 27d39fdbfddec6bb92ee3d3b7ef6c21ab3026926
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Thu Jun 4 07:33:29 2009 -0700
Fix typo in man/XGetDeviceProperty.txt (wether->whether)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit e43d88541e815aa64108a6c5bc3dae5816c822dc
Author: Matthias Hopf <mhopf@suse.de>
Date: Thu Jun 4 16:29:20 2009 +0200
Fix building if asciidoc or xmlto is not installed.
commit 5975cb9e6f89bf71b1740cee951fc583d7b7cfc1
Merge: 8ea9ebc 279a8c3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 4 15:49:07 2009 +1000
Merge branch 'master' into xi2
Conflicts:
man/XI.xml
commit 8ea9ebcedcb99480a5774c7755329a2ca8fda07b
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Wed Jun 3 10:25:40 2009 +1000
configure: Search for sed as required by the man pages.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d5a69432887ba79495e58bef45ec8fc2f5dfbe1e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 2 14:54:03 2009 +1000
Fix typo in Makefile.am, leading to the XI2 source skipping compilation.
Introduced with 59dc570e6ad4adab8066c7b8d2bff77cbf70bed4.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5500d5b6f9fe3b94d68046529fbf6c80e5a4f518
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 2 12:49:40 2009 +1000
man: resurrect XGetDeviceProperty man pages (and associates)
These man pages got lost in the asciidoc conversion.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d0be870ee7798deb8cb50cdf350892c9dfc64538
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 2 12:18:58 2009 +1000
Add XI2 property man pages.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8439d93ef77a934fab171ff9385277f3f2f46213
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 2 11:46:56 2009 +1000
man: fix copy/paste errors in XListDeviceProperties.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 59dc570e6ad4adab8066c7b8d2bff77cbf70bed4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 2 11:38:35 2009 +1000
Rename remaining XI2 sources to XI<foobar>.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2174d35d5cdc475699be968a0c1b1aa82566171f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun May 31 21:29:47 2009 +1000
Return BadRequest from XIQueryVersion if XI2 isn't supported.
XIQueryVersion (like all other calls) makes sure XGetExtensionVersion is
called beforehand anyway. So if that doesn't match 2.0 or higher, return
BadRquest before issuing the real request (which would trigger a BadRequest
error). This way, clients can use XIQueryVersion without having to set up
the error handler.
XIQueryVersion is now guaranteed to return the server-supported version.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b1dedc1293a854360d44856cd603d339ce95c777
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 1 09:54:03 2009 +1000
Use Dont_Check for most XI2 requests.
If a client issues an XI2 request against a non-XI2 server it should
generate a BadRequest error from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4d962ed1841f35aa255bbec89e37f396612cfd96
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 25 16:34:01 2009 +1000
Add support for Enter/FocusIn passive grabs.
commit 7922430e0d063b0c3617050320d613d9dc7de7ba
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 27 14:15:49 2009 +1000
Require inputproto 1.9.99.10
commit a2a09f6a4fb2dcd36f89fccc8efd8386eca7d804
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 27 14:13:54 2009 +1000
Fix wrong pointer argument in _XIPassiveUngrabDevice.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9b9f9373f32ebe9a15f286d16b6ba880b44a9c22
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 25 12:45:52 2009 +1000
Add XIGetSelectedEvents.
commit 13ce4a03824a7c5ac0270198d265b02b18786e1f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 19 13:54:33 2009 +1000
XIPassiveGrab: take the address of modifiers for memcpy, not the value.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7f1f0b9cf8ad17b5a4694406137a1c2114918a67
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 18 16:18:27 2009 +1000
XIQueryPointer: fix wrong reply extra data reading.
libXi does it differently than the server, so don't try to access &reply[1],
instead use _XRead as it should be.
Reported-by: Mark Dokter
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit db94dc37529fc3e5e3decad67d312ea108e860d2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 18 15:14:03 2009 +1000
XIQueryPointer should return doubles for the FP1616 wire data.
commit 615545f9cba36ab7732d2325970a7c84b2fa6e8c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 15 14:16:31 2009 +1000
Switch man pages to asciidoc.
The docbook xml is unreadable and unwritable. Switch everything to asciidoc,
at least thay we we can write man pages without losing sanity.
asciidoc seems to have some issues with __libmansuffix__, so instead we just
use libmansuffix (without underscores).
The current asciidoc version is buggy for multiple man targets (more than
one man page in a single file), so stick a big warning into configure that a
patch is required to the the right asciidoc->docbook conversion.
Many thanks to Dan Nicholson for the Makefile.am.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9966ab40b850c780e439f86e165188919f884b64
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sat May 16 12:34:01 2009 +1000
Require inputproto 1.9.99.9
commit eaf40d1bd1a5737afa5f00c4bc2208fd1562417b
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri May 15 06:21:49 2009 -0400
Remove duplicated code paths in XIGetProperty.
XIGetProperty always returns in the specified format (8, 16, 32) and never in
the Xlib's 64-bit long hackery. So we can clean this code up a bit.
This doesn't affect XListProperties, it still returns an Atom list.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 04bf8fe62832a38f56041d860a717f13fd3a7295
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 14 16:56:17 2009 +1000
Return failed modifiers for passive XI2 grabs.
commit 68da471cd7ad3b5d76bfc1207083f892b15dd34a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 14 16:34:55 2009 +1000
Update XIQueryPointer to include full modifier state.
commit 3017a5124fe98eb0d1f0e4d0bdce35df06ea751b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 14 16:26:17 2009 +1000
Update man pages for XI2.
Shuffling device properties up before all XI2 calls and adding all XI2 calls
(bar device property calls). Needs proofreading.
commit ea377ea55b2014310fb0777e41ae7044396e25a3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 14 14:19:44 2009 +1000
Label major/minor version in XIQueryVersion as _inout.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0dd26fd87571c1e87ca6e8734e2c55f21e53ceb8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 14 11:31:28 2009 +1000
Xinput2.h: nmasks should be num_masks in XISelectEvents
commit b4d74eebcec3080fa4ac33c74835246457b00de3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 12 19:25:15 2009 +1000
Adust to new device names (less "Device" in function names)
commit eebdca00c416924b0423879a62498df8afed633e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 12 17:33:48 2009 +1000
XISelectEvents, not the singular version
commit 23246e5788a01091ed666539359614cd5c100a9b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 12 16:14:23 2009 +1000
Support per-device flags for XIDeviceHierarchyEvents
commit 9451d09d2b9cdbe2deff7986a4c5553ba922989c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 16:25:13 2009 +1000
Use the new prefixed constants for XI2 and require inputproto 1.99.9.8
commit 92cfef2cebfa85bdb0c1b3b6ee2f78520b003eb7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 11:41:46 2009 +1000
Add XI2 property requests.
Without Xlib's 64-bit hilarity. A property claiming to be 32 bit is treated
as 32 bit value.
commit 130774c208a2f331d6110b255676ad6cb8a1a414
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 11:02:02 2009 +1000
Add property event conversion.
commit 70d9a55c86f15b71ff8b53a61b8fb0e1723e0824
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 4 19:05:06 2009 +1000
Add XIPassiveGrabDevice.
commit 279a8c3a6466d885fa618cccb0b12f6c45608982
Author: Bernhard R. Link <brlink@debian.org>
Date: Tue Apr 28 19:45:52 2009 +0200
man: fix a number of return/parameter types
Debian bug#525546 <http://bugs.debian.org/525546>
[jcristau: also fixed the window parameter of
X{Change,Get}DeviceDontPropagateList]
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit 6e4b80a35e5b763d4a854f1c10443b95e6ad51bd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:57:42 2009 +1000
Silence a compiler warning by using a uchar instead of a char.
commit 1c777e3c1127dec35166007c6e3ca65e34735eb5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:56:29 2009 +1000
Type-cast before passing into wireToFooBarEvent.
commit 443a69833a29b557f78ec09f9eef395f52a64e10
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:53:17 2009 +1000
Convert FP1616 from int32_t to double.
commit 516a52f9a5b095ab60086426a1945d30a44e7ef2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:41:35 2009 +1000
XIQueryVersion: ensure we unlock in all cases and return the status.
commit 76c9ba562bb012790636913ea6c5a6e96af578ff
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 20:09:02 2009 +1000
Add missing eventtype to XIRawDeviceEvent.
Reported-by: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
commit 8487030472914230bec6ecb95e58cf621e69b608
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 19:58:39 2009 +1000
Add a bunch of missing LockDisplay() calls.
Reported-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
commit 3a699cda35a7c190010e5a974cd7a4e7be9df049
Author: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Date: Sun Apr 19 06:52:30 2009 +1000
libxi: Unlock display after XIQueryVersion
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6ad47bc1338ba96c4a43a33ee3633f41e9543bd6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 16 22:16:06 2009 +1000
Add XIAllowEvents
commit b3da79aba9cd8c615e953ee08d69f44c23fe3ab5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 15 21:39:30 2009 +1000
Add XIGrabDevice
commit 01a029e597a25f10d00accafb04d72dad39e82cf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 12 17:44:19 2009 +1000
parse subpixels
commit 6c1d6174a0ba33ff377cb74adf6c0bbe0279f93b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 26 16:37:49 2009 +1000
XIint.h only needs XI.h as include, not the rest.
This fixes 64bit compilation issues.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2bc4ebba78056eecf76a294f1c3edff892b286f7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 26 16:30:45 2009 +1000
Remove public declarations for SizeClassInfo and ParseClassInfo.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 20629761be39493b650f48e120d5c970bca5e796
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 12 16:25:02 2009 +1000
Add XISetDeviceFocus and XIGetDeviceFocus
commit 190035dbb9e74668f7965967a9529fec51d42d14
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 12 15:56:07 2009 +1000
man: note that XListInputDevices does not list other MDs.
commit 8730fa24af5a344876f0c5bfd840d856b5d2b038
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 11 16:32:23 2009 +1000
Handle XI2 focus events.
These events are identical to enter/leave events.
commit ffa8a602e7ae20c7430090360818d635f13b392d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 11 14:20:05 2009 +1000
Add support for XI2 Enter/Leave events
commit 5ff39db5c98a9e7e0e85ead6f4ffc59f6f071bd6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 10 16:24:44 2009 +1000
Remove if 0 code block
commit c6985e7651636d75ad7f7ed1b3ef434e123a8492
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 10 15:42:51 2009 +1000
Add support for Raw events.
commit 2712dbc2609ad75674c77df04d42899844968e10
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 8 21:16:54 2009 +1000
Add support for XIHierarchyEvent.
commit 30c2e3f9398f3d9cbae70150e4bb5cec6dfcc0a1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 8 21:16:33 2009 +1000
Add support for XIDeviceChangedEvent
commit 0cac1faccebdd317e889d2ae1a1570dc9430725f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 6 12:02:45 2009 +1000
Add XIFreeEventData
commit 35a9ea79fc97bf80bfc4aea7f98ae97ac8cff762
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 5 17:01:58 2009 +1000
Add support for XIDeviceEvents.
commit f00f4dccba7f109dd6ec00be34543766f38264e9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 6 11:55:18 2009 +1000
Add Generic XIEvent struct.
commit 13445f170c80f9e2c48e78aa1ec14e956b75c297
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 3 15:29:25 2009 +1000
XIint.h fix compile error, include XInput.h
commit b42809a2e9a8fa821ce6b43e5aba374e922aab39
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 3 15:17:54 2009 +1000
XExtInt compile fix - include XI2.h
commit c6da12b3965f60d893c3fabad4f95dac10ebe7d9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 21:01:58 2009 +1000
XInput2.h: Get rid of the /* foo */ in the declarations.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 65dbec3d82259bd7bbde5b7a2cdba44727a5606a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 6 11:55:41 2009 +1000
include: Move events up to before function definitions.
commit 13ed59c032b74d106acd08d8893c2708ef5564c5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sat Feb 28 10:32:54 2009 +1000
Add XIQueryDevice implementation.
commit 88fcb0938a898ef6c9f48fce2874c37e3788fe9c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 16:49:45 2009 +1000
Add XIQueryVersion() - query and announce the supported XI version.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2780363f96d07f8ca62507246bb04f6894e3b13d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 5 15:53:02 2009 +1000
XISelectEvent: make sure padding is zeroed out.
commit ee1a0b4f507f32c7abe07b3324dc3a6c210964c4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jan 16 13:36:59 2009 +1000
Replace XiSelectEvent() with XISelectEvent().
commit 5f4058db225d7cb4455fd27b11dff10422e94748
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 3 14:39:28 2009 +1000
Replace all XDevice* with ints.
There's no reason to have XDevice structs. It's not as if they carry useful
information.
commit 2d5bdbe0fad5f22f153aa74e38aa3a1ca09d4192
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 3 14:53:23 2009 +1000
Change XIGetClientPtr to take an int, not an XID
commit 6be974ec5597ef37fbd3a6057d52a38356f544e0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 15:53:29 2009 +1000
Fix the already existing XI2 calls to the new XI2 protocol. FIXME
FIXME: not bisectable due to XiSelectInput.
This includes namespacing them with an XI2 prefix.
Affected calls:
XIGetClientPointer
XISetClientPointer
XIDefineDeviceCursor
XIUndefineDeviceCursor
XIWarpDevicePointer
XIQueryDevicePointer
XIChangeDeviceHierarchy (+ event)
commit 60b2d114d06617ca60c2905373829299dc051c7f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 15:32:53 2009 +1000
Move current XI2 stuff out of XInput.h, into XInput2.h
This means XInput2.h is rather messy, but it also means we can leave XInput.h
untouched for the XI2 rework.
commit c0e3fef8cc7f1953377f61b80d9b8a5ce2fcf2b7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 15:23:57 2009 +1000
Require inputproto 1.9.99.7.
commit 660b0abdb8dbc7959f9d97b83ac48110a56fd216
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 16:24:56 2009 +1000
XIint.h: include XIproto.h for xAnyClassPtr.
commit 3e38a82102975670d490d95f595a410f38f4e221
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 16:02:07 2009 +1000
Disable generic event handling for now to allow bisecting.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c56b75732f4506bae234a5cda474c837bb274d6b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 16:33:24 2009 +1000
Back out the XQueryInputVersion hack, restore previous state.
XI2 should use a separate request to query the version rather than piggy-back
on an existing badly defined request.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5ead375009f53c9a4634dc8f1939463ac8ef510a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 15:58:41 2009 +1000
Remove XExtendedGrabDevice.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3992afdd5593f391bcff1eb39d7e975886d817e3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 16:12:35 2009 +1000
Remove DeviceEnter/LeaveNotify handling.
This will be replaced by XI2 GenericEvents.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 62858c426e6de1b99df660251737233afd335302
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 16:04:16 2009 +1000
Remove AttachClass handling from ListDevices.
If you want attachment information, use XI2 and XQueryDevice().
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cbdc33d903ec6f90a42ec3c31905eeaef9ecf0a2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 17:00:16 2009 +1000
XGetDeviceControl: size the libXi structs, not the wire structs (#20293)
X.Org Bug 20293 <http://bugs.freedesktop.org/show_bug.cgi?id=20293>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 78f64722c57ff5ec5d0ae35da0c8f151598e6d6b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 16:59:04 2009 +1000
XGetDeviceControl: Add a missing break leading to wrong length calculation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8f174b7f5e57c6b3e123476f384ce9164cda11b7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 15:28:28 2009 +1000
Remove leftover WindowAccess function declarations.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6e1159a9059d762d6b5d24455237a088e839fe2c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Mon Feb 2 20:34:34 2009 -0800
Add README with pointers to mailing list, bugzilla & git repos
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit ba2546a51d5f9087ec54fba7cae46ea1f210198a
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Thu Jan 29 19:30:30 2009 -0200
Return NULL on error, and match LockDisplay with UnlockDisplay.
commit 4a1d1ff1195a2ed43ace1a33e429f2272f1331af
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Thu Jan 29 19:22:47 2009 -0200
Janitor: make distcheck, compile warnings, extra .gitignore files.
commit d0326fe8cdbb08d4f52d79fd3fd4e1b2a0951d5e
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Tue Jan 13 15:54:35 2009 -0800
Fix build when xmlto is not available
When xmlto is not available, make bombs since it has no way to generate
the man pages from the XI.xml. This returns the man page installation to
only occuring when xmlto is available. Unfortunately, this means they
will also not be installed when the generated pages are distributed.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
commit 9911b7846ca2cedf08a963c84efe7907438975c1
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Tue Dec 16 16:45:16 2008 -0800
Be smarter about generating man pages
With the current rules, the man pages will be generated repeatedly if you
have xmlto installed. This is because make always thinks they are out of
date with respect to their prerequisite, do_xmlto_stage. They are changed
here to handle the multiple output files as described in the automake
manual.
distcheck has been confirmed to still work such that building from the
tarball does not require xmlto. On the other hand, if the user wants to
rebuild the man pages, they'll have to explicitly touch XI.xml.
It may be better to split the xml into per-page files so that xmlto only
generates one output at a time. A toplevel XI.xml can still pull together
all the pieces with XInclude.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9e9bf1e477e764b596eb89119c0497b274b87897
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Dec 21 16:08:08 2008 +0100
Hide private functions
commit db1215bf4785acb20610a7f1302e8dc3ec4d19e0
Author: Julien Cristau <jcristau@debian.org>
Date: Fri Dec 19 16:06:50 2008 +0100
COPYING: add Peter's copyright notice and license
commit dd89e1187114ba7ece2e4bcc9c25ea5139ea4f0a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Dec 8 08:34:53 2008 +1000
Restore XAllowDeviceEvents()
Got accidentally removed as part of
f938c524f74fa8828a Purge device-based window access code.
XAllowDeviceEvents is the XI equivalent to XAllowEvents, required to thaw devices
after grabs, not related to the access control code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 13dee4565b509ed1ef2fbc78b1987a69f10b02e7
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Nov 17 11:34:44 2008 +1000
Bump to 1.2.99.1
We need libXi 1.2 for the property support, so let's bump this one up by one.
commit 74b2cb0be98057a522c543b5259396ec1b456794
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Nov 12 22:26:43 2008 +1000
man: fix out of source builds.
As pointed out by johnflux on IRC.
commit f938c524f74fa8828a954bed51d0f3c4c7eb0fad
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Oct 31 18:02:02 2008 +1030
Purge device-based window access code.
Requires inputproto 1.9.99.6.
commit e5c529813b04327babc20e51ca56006210cb0c37
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Sep 29 16:40:21 2008 +0930
Add XI_JOYSTICK to list of defined types.
commit e179b124aac13387c6f730197b8852c1f69eb9e3
Author: Shunichi Fuji <palglowr@gmail.com>
Date: Fri Sep 26 14:47:49 2008 +0930
Build fix: remove dropped man pages for Conrigure/QueryDeviceProperty.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit ec2665e6ba0e71a1726816054b40f71782874373
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 10:13:57 2008 +0930
Require inputproto 1.9.99.5.
commit f9a5371d43b2c6023745f766d0e8ceff2acdff60
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 10:12:31 2008 +0930
Adjust to new property API.
XConfigureDeviceProperty is gone.
XQueryDeviceProperty is gone.
XGetDeviceProperty doesn't have "pending" anymore.
commit 822bff60ea26c0b509fd4de35099b4d94e9e99de
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 15 15:08:07 2008 +0930
Require inputproto 1.9.99.4.
commit bec02767629ed795582ba3f645299d7036093511
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Aug 13 12:03:29 2008 +0930
Backport device property code to XI 1.5.
Ditching generic events, using normal XI events instead.
commit c5179577ddf0680dffb480d27db9036e9bd27716
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Aug 13 10:27:03 2008 +0930
Remove RCS tags.
commit bfd2e08f3530091fbcd8c078f684e9aab9057df0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 9 15:38:57 2008 +0930
Update man pages to include new device properties calls.
commit 0211e3e8277c590349903989f1676f6af4baa44b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 9 16:54:32 2008 +0930
Add XDevicePropertyNotifyEvent support.
commit 7d5bb99ffce3200f82420c5a5ebac3b445aac633
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 9 16:53:46 2008 +0930
Add support for input device properties requests.
commit 908ac35ebb25e2f55945825e6256d1848e17cc38
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu May 29 13:19:06 2008 +0930
Bump to 1.1.99.1
commit f4739e18bb44e7a04ed0ea6ec87d53ae5fb13e7d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu May 29 13:18:38 2008 +0930
Update required packages again, needs updated libX11, libXext, etc.
commit 9831db88ee8e69dc6cf8fad0ac83d40bedd5c463
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu May 29 12:45:57 2008 +0930
Don't fail man build when missing xmlto.
If xmlto is missing during configure, print out a warning and just do an empty
man build with no man pages at all. Better than failing with obscure errors.
commit fd8198513c865f616be8059907550db7f777b089
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed May 28 17:14:17 2008 +0930
Reguire inputproto 1.9.99.
commit 135b25157ee3e44467264a6df2e1f92f3a785643
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri May 23 10:30:56 2008 +0930
Add .PHONY build target to fix parallel builds.
Copied from libXtst.
commit 74cc34496d6ed23d8dad259c036bbfaa63b8eb15
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu May 22 12:58:55 2008 +0930
Ansify the XI 2 functions.
commit 50990b8deb8b8484e9e02e313387ea4d2ddbd242
Merge: 26dde5a 145947e
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu May 22 12:48:40 2008 +0930
Merge branch 'master' into mpx
commit 145947ed603207e85a7fcb502f88717a22dfec55
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Fri Feb 29 18:14:00 2008 -0300
libXi ansification.
Thre are still two remaining compiler warnings, because of non matching
function prototypes and function pointer arguments prototypes:
src/XSndExEv.c:XSendExtensionEvent()
variable register Status(**fp) (Display *, XEvent*, xEvent **, int *)
doesn't match struct _XDisplay's:
Status (*wire_vec[128])( /* vector for event to wire */
Display * /* dpy */,
XEvent * /* re */,
xEvent * /* event */
);
and
src/XExtInt.c:xinput_extension_hooks field event_to_wire of type
XExtensionHooks that has the prototype Status (*event_to_wire)(
Display* /* display */,
XEvent* /* re */,
xEvent* /* event */
);
does not match Status
_XiEventToWire(
register Display *dpy, /* pointer to display structure */
register XEvent *re, /* pointer to client event */
register xEvent **event, /* wire protocol event */
register int *count);
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 26dde5aaf4bbc89140cc4e3d13fe18036041022d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Apr 30 10:35:12 2008 +0930
Fix up AM_CFLAGS, pulled in the system-includes before the local ones.
commit d68d321c0692848dd5eb67a3713676498c1c646b
Merge: 7d0977b 3e99cc2
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Apr 28 14:35:11 2008 +0930
Merge branch 'master' into mpx
Conflicts:
.gitignore
man/XGrabDeviceKey.man
man/XListInputDevices.man
commit 7d0977bc02ce4f29c0ed335fcdcce4ed7c328259
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Apr 28 11:24:40 2008 +0930
man: more formatting changes (indentation, whitespaces, linewidth).
commit 2e4cb17b0354fb424f841431a4a20cf6a3e3059c
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 19:46:21 2008 +0930
man: formatting changes in XI.xml
commit 212fb41a101833c817195ef02d20248523929ef3
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 19:26:55 2008 +0930
man: fix up use of <function> tag and some whitespaces.
commit 4ce9781be5f3468d184e34bf36329aa220c726bb
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 19:11:06 2008 +0930
man: add old HP, Ardent Computer copyright, plus my new one.
commit 36f17efe0a4b0278fd442c0bcd97a9d762d96011
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 19:01:39 2008 +0930
.gitignore: add man pages.
commit ea09ee20525e4e6a0a6517654ed12fd419f00b23
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 19:01:03 2008 +0930
man: switch over to using xmlto to generate man pages.
Removing all nroff man pages.
commit b620f6995b76742c95b32db054d0b5d9fef7a33d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 18:57:48 2008 +0930
man: fixes in XI.xml
Some global whitespace replacements (e.g. space before comma)
Splitting refnames where two functions are listed.
Adding refmiscinfo tags (see libXtst)
commit 51886a38dd42bb62bf3ffcadbf73472e6d2b514f
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Apr 27 16:33:00 2008 +0930
man: add XI.xml. Contains all libXi man pages in docbook.format.
Note that conversion was half-automated and half-manual. There's a lot of
little things to be fixed up.
commit c142891001e53b3c9d1d4a0cfcb0ff555c2f0070
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sat Apr 26 17:07:39 2008 +0930
Deprecate XGetExtensionVersion(), replace with XQueryInputVersion().
We need XI to be able to do some sort of versioning support.
commit 94284e40f5fc9bf30cc2cc5915f6adb22de7bffe
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Apr 25 18:07:36 2008 +0930
Add XInput.h file from inputproto package.
This file only belongs to libXi, it shouldn't have been in the inputproto
package in the first place. For a revision history of this file refer to
git://anongit.freedesktop.org/git/xorg/proto/inputproto
commit 166083c09a96b1b7e612bdbb1515d79c3bf57185
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Apr 25 18:05:37 2008 +0930
Removing previously removed man pages from Makefile.am as well...
commit c1c8a0e585089b3c18ddbd9039f0053a40dbe6cb
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Apr 25 17:58:16 2008 +0930
Extend XListInputDevices man page to include MPX details.
commit 064f0ec80c6e3cd2f05dd104ca17359b2f7ab833
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Apr 25 17:37:24 2008 +0930
Remove XChangePointerKeyboardPairing call.
commit ef953b30eb212a65e2aa841c8ccdbbe9127b3b56
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Apr 25 17:34:57 2008 +0930
Remove XChangePointerKeyboardPairing and XGetPairedPointer man pages.
Calls don't exist anymore.
commit 3e99cc281509c70c9240e71ae55cf4e62c6569ba
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Sun Mar 9 08:30:32 2008 +0100
nuke RCS Ids
commit df2cf307c365feea924f2c907d8109cf53461a75
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Feb 26 15:47:25 2008 +1030
Remove XGetPairedPointer(), was removed from the protocol.
The information needed is in the attached field of ListInputDevices.
commit 5ca4f620883c63e57edd409b139d82092679010a
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Feb 26 15:45:46 2008 +1030
Remove XExtendedUngrabDevice. XUngrabDevice does the same.
commit 2b25e823d3c0820b135fb42584be462dba342aa7
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 14 18:30:09 2008 +1030
XChangeDeviceHiearchy has changed to take a array of unions.
And the parameters were swapped around too.
commit 80159390595f9a8970c114c66190db371d585da1
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 14 09:24:29 2008 +1030
XQueryDevicePointer: remove unused variables.
commit e3492c8385b2d0cce0c6e3e862f43a63f3e8917b
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 14 09:23:03 2008 +1030
XQueryDevicePointer: "shared" parameter removed.
commit aa6c7a07d7f3f73980ad3b6c537b5f83bc3ddd30
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 14 09:21:26 2008 +1030
Remove XFakeDeviceData call.
This call needs to be better refined and tested before we put it in.
commit d97dcf6896a1c16b46068d16d3d689a3720cce46
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 14 09:20:53 2008 +1030
Remove RawDeviceEvent parsing. These events have been removed.
commit 447441f4dfdd114ce1f738ccfda097ca1f4d609a
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 14 09:19:35 2008 +1030
Remove XGrabAccessControl and XUngrabAccessControl calls.
commit 1b15f1bc3b8b33da3a30b7ee23c728dce9e48929
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sat Jan 26 10:50:28 2008 +1030
XiSelectEvent: add additional device parameter.
commit 411340ccb7070e2e966a36f64f2fb3019ea0242a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Thu Nov 29 13:49:21 2007 -0800
Coverity #743/744: Returned without freeing storage bufp/savp
If either bufp or savp failed to malloc, we returned without freeing the other.
commit 5ac8f5dcfb2cf5f695c903179a5a95ac6bd4303e
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Nov 27 10:47:56 2007 +1030
GetDeviceControl: calculate the length field correctly.
Length field should indicate the length of the struct in bytes. Not the length
of the pointer to the struct...
(cherry picked from commit ddcc71df2a273a410cb5a933aef5501fa56d84cf)
commit ddcc71df2a273a410cb5a933aef5501fa56d84cf
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Nov 27 10:47:56 2007 +1030
GetDeviceControl: calculate the length field correctly.
Length field should indicate the length of the struct in bytes. Not the length
of the pointer to the struct...
commit a9191fcf42a4f5ef5022450b327afe2562c9a0e2
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Nov 14 10:11:15 2007 +1030
Remove XRegisterPairingClient and XUnregisterPairingClient.
Deprecated with the introduction of the device hierarchy.
commit 16dc064bf997dfa9226a574e5989d8cd1209a5b0
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Nov 13 11:39:54 2007 +1030
Add XDeviceClassesChangedEvent parsing.
Some stuff from XListInputDevices moved into separate functions to be re-used
in the event parsing.
commit 0e6331a2c8494cd24d75ab80443f9f071be47334
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Nov 8 17:47:06 2007 +1030
Remove PKPairingChangedEvent, replace with DeviceHierarchyChangedNotify event.
Remove leftovers of RandomStringEvent as well.
commit a7f53f26ac83257f594058c484ecd19e009e142c
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Oct 19 14:27:58 2007 +0930
Add XChangeDeviceHierarchy.
Used to create/remove master devices or change attachment of slave devices.
commit d1f92d6c14d7c9b553b8530a1daf0a77a8babccf
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Oct 18 12:22:37 2007 +0930
Create AttachInfo class for all devices, containing attachment info.
Thanks to Xlib's braindead design we can't just add the field to XDeviceInfo.
So we just fake up a new class, add it to all devices and let clients deal
with it.
commit fbd0431546c3ede8d606559fdd7a18f4cce05743
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Oct 18 10:39:21 2007 +0930
Add XI_2_Major and XI_2_Minor to versions.
commit 0239ef13d66113024066b7db8ade3942af563656
Author: Eric Anholt <eric@anholt.net>
Date: Wed Sep 5 09:45:20 2007 -0700
Bump version to 1.1.3.
commit 235b283ef6eda4591c95b4749d0a8cd0181783a6
Author: James Cloos <cloos@jhcloos.com>
Date: Mon Sep 3 05:53:41 2007 -0400
Add *~ to .gitignore to skip patch/emacs droppings
commit 89d7e38124cdb34c55f8c28680725b5b645fe106
Author: Eric S. Raymond <esr@thyrsus.com>
Date: Sun Jan 14 10:51:00 2007 -0800
Bug #9659: Bad markup on XListInputDevices.3x
X.Org Bugzilla #9659 <https://bugs.freedesktop.org/show_bug.cgi?id=9659>
commit bf01e98979e6fa500f74d882c1b21746c60d5d31
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Aug 1 05:16:45 2007 +0300
XSetDeviceFocus: Add missing extension check
Actually check for Xi existing before we try to do anything fancy.
commit 8f5f7e9d6fc288a5cc00df3a7fec44211cdbe8f4
Author: David Weinehall <tao@debian.org>
Date: Wed Aug 1 05:12:21 2007 +0300
XGetSelectedExtensionEvents: Still more locking bugs
Fix a couple more return-without-unlocks.
commit a07c3cc1eec0427a056414ef44ef6ee4204df383
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Aug 1 03:03:44 2007 +0300
XChangeDeviceControl: Fix completely broken locking
Drop the display lock when we exit from XChangeDeviceControl(), instead of
leaking it.
commit 7f1b5257b7eb0c873988c33453c110fc5f9996dd
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Aug 1 01:59:17 2007 +0300
Bump to 1.1.2
commit 257345a0500ef0b7cf8e56f19a8bf93721408673
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Aug 1 01:37:05 2007 +0300
DevicePresenceNotify: Don't make non-static function, static
I wish that there was a better way to do this, but c'est la vie. It's our
exposed API, so we've just got to deal for now.
commit 3da6998ef89c99ad01f20a8f37e3c26c0b7c1ced
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Jul 27 01:30:13 2007 +0930
XChangePointerKeyboardPairing, XGetPairedPointer, XSetClientPointer man pages.
Use XID instead of int for XGetPairedPointer.
commit 25c023f91851a4b32b295b6d5633f6ee87d0ba14
Author: Paulo Ricardo Zanoni <prz05@c3sl.ufpr.br>
Date: Tue Jul 10 10:14:47 2007 +0930
Access control: change calls to use XID* instead of char*.
X{Deny|Perm}Devices: clear perm/deny list if called with no devices.
commit 9d0aa39742a0d1d4221ad4104708b0f8f60c14c7
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Jul 5 10:47:45 2007 +0930
Bump to version 1.1.1.
commit ddc3b9cbbcc892a48dce2bd441e6d404cd44d943
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Jun 13 15:36:01 2007 +0930
Bug 9657: Bad markup on XGrabDeviceKey.3x
<https://bugs.freedesktop.org/show_bug.cgi?id=9657>
commit caa4ab9a959140119c6c2fd12a379b55b0dff258
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Jun 13 15:36:01 2007 +0930
Bug 9657: Bad markup on XGrabDeviceKey.3x
<https://bugs.freedesktop.org/show_bug.cgi?id=9657>
commit f128ce2d1f8dcd841185c728a6c2b44bb64108f6
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu May 17 20:16:49 2007 +0930
Squish flag and same_screen into the upper bits of mode (DeviceEnterLeave).
commit 12e3d8b1db94feecf27ed98c8ac523f755c59e45
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon May 14 18:09:38 2007 +0930
Add XExtendedGrabDevice and XExtendedUngrabDevice.
commit f8215ada9c1f3e8f001c77362005168492e35cf4
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon May 7 14:13:40 2007 +0930
Add XiSelectEvent call.
Should have been part of 44ccc08bb19d9d55fb9ff6bfb0592d5d79b9b712.
commit d76c4412c9fab7dae6b0283feb847174fb19d1fe
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed May 2 18:17:34 2007 +0930
Add XFakeDeviceData call.
commit fe33724ed6cdaad6b13a7ca1c9f03dbb98d93982
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed May 2 09:44:37 2007 +0930
Add deviceid and ev-to-wire conversion for RawDeviceEvent.
commit 44ccc08bb19d9d55fb9ff6bfb0592d5d79b9b712
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue May 1 22:30:04 2007 +0930
Add XGE support. Supporting RawDeviceEvents and PairingChangedNotifies.
commit 656b31865bf44b5e9bb9603bed6115d497d94796
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Mar 22 21:15:00 2007 +1030
Change XSetClientPointer API to use XDevice argument instead of deviceid.
commit 6476513b250a4ea4de1e93bfe00046e9b6a46732
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Mar 22 17:28:54 2007 +1030
Add XGetClientPointer call.
Add XGetPairedPointer call.
commit e3ddf2f58a0e9822c248a362a975bf7bb786e23d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Fri Mar 9 15:47:36 2007 +1030
Add XSetClientPointer call.
commit f1df9eb1ffc23b83418f9a9ce31d8b2ec748fbd4
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 22 20:07:11 2007 +1030
Add calls to allow per-device window access control
Cosmetic change, error return value in XQueryDevicePointer.
commit 21765b25a938cf6c8302415d5d15e9a08c7bed98
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Feb 21 10:02:46 2007 +1030
Adding XRegisterPairingClient and XUnregisterPairingClient calls.
commit 1ab0fa01391156d96cf6d3adc1076ad5216ac23d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Feb 15 14:28:17 2007 +1030
Use flags byte in deviceEnterNotify and XDeviceCrossingEvents.
commit 6a123cbfed985382f5b0c209d880dabeb8ee9733
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Jan 29 18:20:47 2007 +1030
Adding XChangePointerKeyboardPairing call.
commit bfd533c3a7e854d893a06e6a7fe2b3f079508a4d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Jan 10 14:53:44 2007 +1030
Adding DeviceEnterNotify and DeviceLeaveNotify calls
New XI version using Add_MPX_Major/Minor
commit ebc24f1fad85281a1e9e795ec261eea111f40304
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Jan 8 12:32:27 2007 +1030
Adding XDefineDeviceCursor and XUndefDeviceCursor calls
Fix casting typo in XWarpDevicePointer and XQueryDevicePointer
Reverting useless whitespace commit in XExtInt.c
commit 448def03e88d3460ce97a49df0816dedd609c1e3
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Dec 20 13:08:29 2006 +1030
Adding XWarpDevicePointer and XQueryDevicePointer calls.
commit c8696a5230c565f8999fea136a85a875b04e7b9a
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Dec 6 18:56:56 2006 +0200
Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
commit 60dccd9a7be95e35b4b8c90934888efedfde84cc
Author: Jamey Sharp <jamey@minilop.net>
Date: Sun Nov 19 01:04:26 2006 -0800
Bug #8663: _XiCheckExtInit must drop the Display lock in all error cases.
commit 41710257257939b181a1615937610550b40621b9
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Nov 8 16:19:58 2006 +0200
DevicePresenceNotify: remove verbosity, fill out all fields
Don't throw a printf every time we get a DPN, and fill in all the fields
when copying the structure.
commit eeebae55766bd4c0121479a7b7188d6a0545f66c
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Oct 21 12:08:21 2006 +0300
re-enable iscore in DEVICE_CORE, re-enable DEVICE_ENABLE
commit 50c88082ba2ee4785f4beaa351f2b772f1a381ad
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Sat Oct 21 04:01:46 2006 -0400
Comment out DEVICE_ENABLE, and use of iscore in the DEVICE_CORE control.
(We now compile again.)
Track the DEVICE_TOUCHSCREEN -> DEVICE_ABS_CALIB and new DEVICE_ABS_AREA
changes to the input protocol.
commit 2a3f042241bb63601f5745f397bb1b66ecc5a592
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Oct 20 00:39:50 2006 +0300
add DEVICE_ENABLE control, add iscore to DEVICE_CORE
Add DEVICE_ENABLE for enabling/disabling devices, and an 'iscore'
flag to DEVICE_CORE that specifies whether or not the device is a
virtual core device.
commit c27e00ceceed3fea011c98c0e70ab568bf0687c6
Author: Jamey Sharp <jamey@minilop.net>
Date: Sun Oct 15 00:26:21 2006 -0700
Don't call XInput_find_display in _XiCheckExtInit, while the Display lock is held.
All callers of _XiCheckExtInit have already called XInput_find_display
first outside the lock, so just pass their copy of the XExtDisplayInfo
structure down. Besides being more correct, this should be slightly
faster. :-)
Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for identifying
the bug and proposing a workaround.
commit 5dda1e1509d40ef64ebc816ce538cef462a4fa51
Author: Jamey Sharp <jamey@minilop.net>
Date: Sun Oct 15 00:03:57 2006 -0700
Don't call XInput_find_display in _XiGetExtensionVersion, while the Display lock is held.
_XiGetExtensionVersion has two callers. One had already called
XInput_find_display, and the other could easily do so outside the
Display lock. So I change the _XiGetExtensionVersion interface to
accept a previously-computed XExtDisplayInfo from the caller.
Besides being more correct, this should be slightly faster. :-)
Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for identifying
the bug and proposing a workaround.
commit 8e317d390d1ef8f2c072957355b5d71db3b89c43
Author: Jamey Sharp <jamey@minilop.net>
Date: Sat Oct 14 23:56:20 2006 -0700
Add *.o to .gitignore.
commit 6e08a76fd8e356f98d2d6913f0c1b1401090768d
Merge: ba84e84 360ceac
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Sep 24 20:02:24 2006 +0300
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libXi
commit ba84e84575b4167b0c6298e86a860b0741e2d2a3
Merge: 93d3c2c 576c579
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Sep 24 19:58:56 2006 +0300
Merge branch 'input-hotplug'
commit 360ceacb2a3cbad1652d1b02d79b24469db2980a
Author: Drew Parsons <dparsons@debian.org>
Date: Mon Aug 14 14:10:52 2006 -0700
Bug 7855/Patch 6530: incorrect manpage section suffix
Bug 7855 <https://bugs.freedesktop.org/show_bug.cgi?id=7855>
Patch 6530 <https://bugs.freedesktop.org/attachment.cgi?id=6530>
Based on patch by Fabio M. Di Nitto c/- Colin Watson, Debian Bug#377204.
commit 576c5794cf4b786dfc183c9b6f0a387cad4a5460
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jul 18 11:46:02 2006 -0400
bump version to 1.1.0, require inputproto 1.4
Bump the version to 1.1.0, and make sure we build with inputproto 1.4,
for the DEVICE_{TOUCHSCREEN,CORE} controls, and DevicePresenceNotify.
commit b22d8d0e1519d3f86474f4a79f3c4b27b46c662a
Author: Daniel Stone <krh@redhat.com>
Date: Tue Jul 18 11:45:07 2006 -0400
add DevicePresenceNotify event
Add a DevicePresenceNotify event, which notes that something about the
device list changed.
commit 878d9e76764d27f5af861817b46b2caf2d89d7c4
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jul 18 11:43:24 2006 -0400
add sensible DEVICE_TOUCHSCREEN and DEVICE_CORE controls
Add a more sensible DEVICE_TOUCHSCREEN control, which allows you to
clip the x and y values.
Add a DEVICE_CORE control, which toggles the sending of core events
by extended devices.
commit 93d3c2c45ccd9a806342746c4df33c684a284dd6
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jul 18 11:39:16 2006 -0400
remove ChangeLog, add dist hook
Remove ChangeLog from the tree, and add a git dist hook to generate
it automatically.
commit 8f0d3c6d1f64fdc3b20d0beb831fa457214d5188
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jul 18 11:28:58 2006 -0400
fix indentation on function declarations
Another brief run with indent.
commit 2d9a57cd77575ca9850d226c79a897cbe88d06e9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Thu Jul 13 14:58:59 2006 -0700
renamed: .cvsignore -> .gitignore
commit 5693a8da9bdf553e1c9a8ebd50d0d75018cc5c0e
Author: Adam Jackson <ajax@nwnk.net>
Date: Thu Apr 27 00:14:32 2006 +0000
Bump to 1.0.1
commit f50ac4deec13dfd070715f636887e12f6301070f
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Mar 31 14:50:24 2006 +0000
Mass reindent. Sorry.
commit 6b055729fd0f89eedd2bf00befd8e42804f12b4a
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Mar 20 19:54:58 2006 +0000
Bug #6286: Fix build on Cygwin. (Yaakov Selkowitz)
commit 48ad6d382f6fdc9fba416cc5ee9d49324b515b68
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Sun Feb 12 18:19:22 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 04debb347c80f9487b4b507e5202d323d6b2d05a
Author: Kevin E Martin <kem@kem.org>
Date: Thu Dec 15 00:24:30 2005 +0000
Update package version number for final X11R7 release candidate.
commit 2c3bffb3e4ba665da6a9a152a65ac94b7eb8421e
Author: Kevin E Martin <kem@kem.org>
Date: Tue Dec 6 22:48:43 2005 +0000
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
commit 82059b8d9f29e140a9abd40e93bb9f66f0963638
Author: Kevin E Martin <kem@kem.org>
Date: Sat Dec 3 05:49:44 2005 +0000
Update package version number for X11R7 RC3 release.
commit f8652da907e902e4ee0b682851e2918a363f0d3d
Author: Kevin E Martin <kem@kem.org>
Date: Sat Dec 3 04:41:49 2005 +0000
Add check and cflags for malloc(0) returning NULL.
commit 5401f8a75cdc9ef218acda9a25f440ff136d2543
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Nov 28 22:03:05 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 fcbf0710165e6f87633e5a044229172c81a90341
Author: Kevin E Martin <kem@kem.org>
Date: Sat Nov 19 07:15:41 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 ef419a10f278e3fc66f2e4166c895e7ffcaab58d
Author: Kevin E Martin <kem@kem.org>
Date: Wed Oct 19 02:48:10 2005 +0000
Update package version number for RC1 release.
commit 367dcdc269e67130569ad4665a50fe053070afe7
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 8ec9b7efc4f3d9fca2ba25f090b282469c996145
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Oct 17 21:13:21 2005 +0000
Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a
suffix rule (reported by Matthieu Herrb)
commit 6967e23708c1411c3ce0fd832f811bb769c99626
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Thu Oct 13 04:25:46 2005 +0000
Add generated man pages to .cvsignores
commit 7e777d014ec5b9c768f9c0d5a6dc27ff7e89135b
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Wed Oct 12 01:01:29 2005 +0000
Use sed to put version number in man page Add shadow man pages for man
pages that document multiple functions.
commit af2031f4df3080f91ff258b92a4d373b5f28ef48
Author: Kevin E Martin <kem@kem.org>
Date: Wed Oct 5 19:55:52 2005 +0000
Added missing file to EXTRA_DIST
commit 403868cc906504c2339a7e204dad39b735b53440
Author: Kevin E Martin <kem@kem.org>
Date: Fri Jul 29 21:22:51 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 e715500a2a4e21adc162bbc0bb3edb60a131831a
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Jul 16 07:10:44 2005 +0000
Set soversion to 6.0.0 using -version-number.
commit 8603538c6ab5488e70179bdfcf46196b7defe253
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jul 12 07:59:16 2005 +0000
Change version to 1.3.0 and soversion to 6.0.0; add XIint.h to distfiles.
commit da5d2fbc2d5ed6ebe09d69816e5d9ac9972a04b2
Author: Keith Packard <keithp@keithp.com>
Date: Sat Jul 9 06:40:48 2005 +0000
Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directory
commit 411d59f535e4b5bda9c0fed9384506500c2c18ca
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date: Fri Jul 1 20:09:11 2005 +0000
xtrap.pc.in: s/Xfixes/XTrap/ xi.pc.in: s/Xt/Xi/ Xv/src/Makefile.am: remove
whitespace after backslash modularizeapp.sh: s/destkop/desktop/
modular/symlink.sh: Add bitmaps for xeyes, system.xsm for xsm, and
Xvidtune.cpp for xvidtune. Also comment out non-existing mga_bios.h
Check in buildsystems for xsetroot, xsm, xstdcmap, xtrap, and xvinfo
commit 42f0c4cae76a67e6684b3b3e76d61780a197c798
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Fri Jul 1 16:16:15 2005 +0000
spell freedesktop.org correctly
commit b50e6e06f22d3c653166e1817d75c3f4a98b2748
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Sun May 22 19:37:27 2005 +0000
Autotool libXi
commit c1990aed3deb74e3bec72a99bf43debe53d8506a
Author: Egbert Eich <eich@suse.de>
Date: Fri Apr 23 18:43:44 2004 +0000
Merging XORG-CURRENT into trunk
commit 1ca71687d852a2aba9389f71af0c9df396bbb4b3
Author: Egbert Eich <eich@suse.de>
Date: Sun Mar 14 08:32:12 2004 +0000
Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
commit e1cf8e198c35b65c95d54a5dfe888e054f4b7056
Author: Egbert Eich <eich@suse.de>
Date: Wed Mar 3 12:11:28 2004 +0000
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
commit 07b3ed21a6223e9d913e8222bf3a94174a82383a
Author: Egbert Eich <eich@suse.de>
Date: Thu Feb 26 13:35:33 2004 +0000
readding XFree86's cvs IDs
commit 52336bb78203b3ee478404ba8bf680ae305a0d31
Author: Egbert Eich <eich@suse.de>
Date: Thu Feb 26 09:22:43 2004 +0000
Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
commit 1b4f7c4f6dbbc62db74f433a73d129ae507642cd
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Tue Nov 25 19:28:15 2003 +0000
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
commit 3986f13c9319b4f64c7b2ec56391370735e7d51d
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 16:48:49 2003 +0000
XFree86 4.3.0.1
commit 6b1f87ebe718c9c745d5f4b26343ee3cf34ff5cc
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 16:48:49 2003 +0000
Initial revision
commit 981020ce68e4c8d9c0dafba631b0fd3328d7fc59
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 15:54:38 2003 +0000
R6.6 is the Xorg base-line
|