1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
|
2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
first call base before processing the event. Fixes #77279
2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
that the stride for the GDI bitmap would match the stride of
a DIB or a Cursor.
2006-01-19 Alexander Olk <alex.olk@googlemail.com>
* ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2006-01-19 Jackson Harper <jackson@ximian.com>
* ComboBox.cs: Hookup the text controls keydown event so we get
those when the text control has the focus.
2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
* Label.cs: Now using the base events instead of defining new ones;
this allows us to just call the base properties without having to
duplicate all base property logic
2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
* Label.cs: A label by default is not a tabstop (Fixes one of our
failing nunit tests)
2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
* XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
* Cursor.cs: Reimplemented creating cursor bitmaps without using
the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
This fixes #77218
* XplatUIWin32.cs:
- Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
constructor creates images that can't be saved. Part of the fix
for #76103
- Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
- SetWindowState: Switched ShowWindow flags (part of an upcoming
bug fix for handling window state in forms properly)
2006-01-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeGtk.cs: Simplify ScrollBar drawing
2006-01-18 Jackson Harper <jackson@ximian.com>
* Splitter.cs: Set the default dock style for the splitter control
in the constructor.
2006-01-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeGtk.cs: Corrected StateType and ShadowType for
gtk_paint_box
2006-01-18 Alexander Olk <alex.olk@googlemail.com>
* Control.cs: Make use of Theme.DoubleBufferingSupported
* ThemeGtk.cs:
- Added drawing for flat style buttons
- Added ScrollBar drawing
2006-01-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Removed some unneeded code.
* ThemeGtk.cs: First part of ThemeGtk enhancements.
2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
* LinkLabel.cs: We need to update the hover drawing when
leaving the control as well.
2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs: Clicking on non empty areas in the columns
area was giving an exception
2006-01-17 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs:
* ListView.cs: Do not draw/clip the headers when the header style
is None.
2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs: Fixes 77260
2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs: Clicking on a column on a empty grid was giving
an exception
2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
* DataGrid.cs (OnKeyDown): Don't use the array if it's empty
or any keypress will crash the grid.
2006-01-17 Mike Kestner <mkestner@novell.com>
* MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
* ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
invisible/previously-visible items.
[Fixes #76909]
2006-01-17 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Added CL_Draw_Button method; now other theme controls that are
not derived from button or do not have a button can draw buttons
too
- Updated ComboBox drawing
- Beautified RadioButton drawing
- Corrected drawing of bottom and left tabs
- Beautified DateTimePicker and MonthCalendar
- Added CPDrawButton and CPDrawRadioButton
2006-01-16 Jackson Harper <jackson@ximian.com>
* ComboBox.cs: Set the initial value of the scrollbar to the
current index. Reduce the numbers of refreshs and IndexOfs called.
2006-01-14 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: When the file listview is focused hitting the
backspace key moves the fileview to the parent directory
2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs:
- Added RecreateHandle call when changing taskbar visibility to
trigger reparenting in Win32 driver (Fixes #75719)
- If a window has minimize or maximize buttons, it cannot have
a help button
* XplatUIWin32.cs:
- CreateWindow: When no WS_EX_APPWINDOW style is found we parent
the toplevel form with FosterParent (A toolwindow not on the
taskbar) (Fixes #75719)
- Made FosterParent a toolwindow
2006-01-13 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2006-01-13 Alexander Olk <alex.olk@googlemail.com>
* ToolTip.cs: If SetToolTip is called from a control and the mouse
is currently over that control, make sure that tooltip_window.Text
gets updated
2006-01-13 Mike Kestner <mkestner@novell.com>
* MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2006-01-13 Jackson Harper <jackson@ximian.com>
* TreeView.cs: On MS GetNodeAt never actually factors in the X
value passed. Also redraw the selected node when we recieve
focus, so tabbing between trees works correctly.
2006-01-13 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: GnomeHandler: older gnome versions don't have
~/.gconf/%gconf-tree.xml, so use
.gconf/desktop/gnome/interface/%gconf.xml
2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Draw text in gray if control is disabled
2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
* TreeView.cs: Draw the focus rectangle outside the highlight, to
make sure it's always visible. Fixes #76680.
2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
* TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
* PageSetupDialog.cs: Added.
* PrintDialog.cs: Attributes.
* PrintPreviewControl.cs: Updates.
* PrintPreviewDialog.cs: Updates.
2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Undid my selection check fix, since it's not needed
* TextBoxBase.cs:
- Now considering the presence of hscroll/vscroll when sizing
vscroll/hscroll respectively. Fixed bug #77077
- Added Left/Up/Down/Right to IsInputKey list to prevent
ContainerControl from stealing them. This fixes what I broke
with my last checkin.
2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
* ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
I finally understand how the property can be set without a setter :-)
2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
* Application.cs:
- Switched RunLoop to use static Message.Create to create a
Message object
- Added PreProcessMessage call in runloop for keyboard events; this
is part of the fix for #77219, I overlooked this originally in the
MSDN doc for PreProcessMessage
* Control.cs:
- Removed call to PreProcessMessage from handling of keyboard
messages; it's supposed to be done in the message pump
- Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
per MSDN documentation.
- IsInputChar: All chars are input chars by default; removed the
parent calling chain, MS does not document that
- PreProcessMessage: If IsInputChar is true, we want to return false
to allow dispatching of the message
- When selecting the next control, now also check that we're not
selecting ourselves again and therefore return a false positive.
* TextBoxBase.cs:
- Tried to match return values for IsInputKey and ProcessDialogKey
to what MS returns; moved processing of our special keys outside
ProcessDialogKey since MS does not seem to return true on those.
- Moved code that previously was in ProcessDialogKey into new private
ProcessKey method, which gets called upon receipt of WM_KEYDOWN
- Reworked handling of WM_CHAR to not have to duplicate code from
Control.cs anymore, instead we simply call down to base.
2006-01-12 Jackson Harper <jackson@ximian.com>
* ComboBox.cs: We always need to refresh the text area when
EndUpdate is called. Fixes the combobox in the file dialog.
* Control.cs: Don't create the creator_thread until the controls
handle is created. Also in InvokeRequired we check if the
creator_thread is null. This gives the effect of InvokeRequired
returning true if the controls handle is not created yet, and
matches MS.
2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs:
- Added StartLoop() driver method. This is used to allow drivers to
prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
loop for a particular thread
- Added EndLoop() driver method. This is called once the message
pump for the thread is shut down
- Added SupportsTransparency method to allow the driver to indicate
opacity support for windows
* Form.cs:
- Removed TODO attribute, completed AllowTransparency property
- Added documented logic to Opacity
* GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
versions of CompatibleTextRendering
* X11Structs.cs: Added opacity atom to our atom enumeration
* Hwnd.cs: Added opacity tracking (we need to track since the opacity
of a form might be set before it's reparented by the WM, and we need
the opacity value without calling up to Form)
* XplatUIDriver.cs: Added StartLoop(), EndLoop() and
SupportsTransparency() driver methods
* Application.cs: Now calling StartLoop and EndLoop driver methods
* XplatUIX11.cs:
- Added opacity atom registration
- Added StartLoop()/EndLoop() methods. They're empty right now but
will need to get implemented when we switch to a per-thread queue
- Implemented SupportsTransparency() method
- Implemented SetWindowTransparency() method
- Added support for setting the opacity value when a window is
reparented (since the opacity needs to be set on the WM frame)
* XplatUIOSX.cs, XplatUIWin32.cs:
- Added SupportsTransparency(), StartLoop() and EndLoop() methods
2006-01-12 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2006-01-12 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Added ToolTip for MWFFileView
* MimeIcon.cs: Rewrote GnomeHandler.
- Get currently used gnome icon theme from
($HOME)/.gconf/%gconf-tree.xml
- Make use of inherited icon themes
- Support SVG icon themes like Tango via librsvg
2006-01-12 Miguel de Icaza <miguel@novell.com>
Revert's Jackson's revert which broke 2.0 builds. Fix both
builds.
* Application.cs: Move the use_compatible_text_rendering outside
the NET_2_0 define. If we ever need to use the
use_compatible_text_rendering on the individual controls they will
access the variable from the common shared code paths.
2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs:
- Added more granular debug options
- Added method to print both window text and id
- Switched debug output to use new Window() debug method
- Added IsEnabled() driver method
- Added EnableWindow() driver method
* Form.cs:
- Removed end_modal; no longer needed, new loop handles termination
via 'closing' variable
- If form is modal, setting DialogResult will now initiate loop
termination via 'closing' variable
- Added support for is_enabled/WS_DISABLED to CreateParams
- Close() now just send the WM_CLOSE message; the WM_CLOSE handler
does all the work
- Removed code that's now in RunLoop from ShowDialog()
- Added various documented sanity checks to ShowDialog()
- Added handling of WM_DESTROY message; we set 'closing' on getting
the message to indicate the message pump to terminate
- Added handling of new internal WM_CLOSE_INTERNAL message - it's
send by the Application.ExitThread method. (We send the message
to destroy the window after all other events have been
processed through the queue, instead of destroying the handle
directly)
- Moved code from Close() method to WM_CLOSE handler; added logic
to only send close-related events if the form is not displayed
modal
* Splitter.cs (..ctor): Fixed typo in resource name
* Control.cs:
- DrawBackgroundImage: Explicitly selecting the wrap mode for the
brush now
- set_Cursor: Now only setting calling into XplatUI if the handle for
the control is already created; this avoids implict handle creation
or crashes if it's not created
- set_Enabled: Now setting the enabled state via the new driver method
instead of just tracking it
- CreateParams: Added logic to set WS_DISABLED based on enabled state
- CreateControl: Reordered event firing and method calls to more
closely fire events in the order MS does. Now setting the
enabled state in the driver when creating the control.
- SetVisibleCore: Moved when the OnVisibleChanged event is fired to
match MS order
* FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
* XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
* Hwnd.cs:
- Added tracking of window enabled state (get_Enabled/set_Enabled)
- Added EnabledHwnd property to easily allow a driver to find the
handle of the first enabled window in the parent chain (this is
used by drivers to pass up input events of disabled windows)
* XplatUIDriver.cs: Added IsEnabled() method
* Application.cs:
- Removed crude and obsolete exiting tracking variable
- Removed internal ModalRun(); replaced by RunLoop()
- Implemented private CloseForms() method to allow closing all
windows owned by a particular (or all) threads
- Exit() now properly closes all windows without forcing the message
pump to quit
- Removed obsolete InternalExit() method
- Changed Run() methods to use new RunLoop() message pump
- Implemented new RunLoop() method for both modal and non-modal forms
* CommonDialog.cs:
- get_CreateParams: Added setting of WS_DISABLED
- Simplified ShowDialog(); now all the work is done in RunLoop(),
invoked via Form.ShowDialog()
* NativeWindow.cs: We don't remove the window from the collection when
the handle is destroyed; there might still be messages for it in the
queue (mainly the resulting WM_DESTROY); instead it will be removed
when Control calls InvalidateHandle in the WM_DESTROY handler
* XplatUIX11.cs:
- CreateWindow: Added logic to handle the WS_DISABLED window style
- EnableWindow: Implemented based on Hwnd.Enabled
- GetMessage: Reset PostQuitState so the method can be called again
- Implemented support for disabled windows (passing messages to the
first enabled parent) in handling all input messages
- Added optimizations for handling Expose events
- Implemeted new driver method IsEnabled()
- Now always resetting paint pending tracking vars when we start paint
- Re-implemented UpdateWindow via just sending a WM_PAINT message
* XplatUIOSX.cs: Added IsEnabled method stub
* XplatUIWin32.cs: Implemented new IsEnabled() method
2006-01-11 Jackson Harper <jackson@ximian.com>
* ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
variables a little.
* ColorDialog.cs: Clear out the old form before adding the new
panel.
2006-01-11 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Make sure to add all the text formats when adding
strings to the data object.
* TreeNodeCollection.cs: When adding to a sorted tree we need to
do some redrawing too. Also change the UpdateNode to an
UpdateBelow so the newly added node gets painted.
2006-01-11 Miguel de Icaza <miguel@novell.com>
* ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
LinkLabel.cs, PropertyGrid.cs: Implement the
UseCompatibleTextRendering property for 2.x
* Application.cs (SetCompatibleTextRenderingDefault): Add.
2006-01-11 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Use the property for setting the selected node so
the correct events get raised.
* TreeNode.cs: Update the tree when the fore/back colours of a
node are set.
2006-01-10 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Allow setting SelectedNode to null.
2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
* Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
* PrintControllerWithStatusDialog.cs: Update page number in dialog.
2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
* PrintDialog.cs: Added attributes and set default property values.
2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
* PrintControllerWithStatusDialog.cs:
Added PrintControllerWithStatusDialog.
2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
* XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
* ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
* ComboBox.cs: Added KeyDown event handler for processing arrow keys
and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2006-01-08 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Added internal class SVGUtil.
2006-01-08 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Don't crash if there are two files with the
same name but different locations.
2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs: Fixed annoying rendering bug when selecting
dates across multiple month grids. Used to not highlight entire
month, but does now.
2006-01-06 Jackson Harper <jackson@ximian.com>
* MonthCalendar.cs: Removed DoEvents call to prevent a running
message loop. Change timer intervals to numbers that seem more
natural.
2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
* DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
object for location info since screen object is now implemented.
2006-01-05 Jackson Harper <jackson@ximian.com>
* AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
* AsyncMethodResult.cs: We no longer use a WeakReference for the
AsyncMethodResult, this is because we ALWAYS want the
ManualResetEvent to get set.
* Control.cs: When disposing use an async invoke to call shutdown
code, so that thigns don't block on the finalizer thread. Also
check if we even have a message loop before trying to send
messages, if we don't then don't bother sending messages.
- No more weak references for async methods
* XplatUIDriver.cs: No more weak references for async methods.
2006-01-04 Alexander Olk <alex.olk@googlemail.com>
* FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
returns two FontFamily with the same name
2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
drawing disabled text. Instead using the ColorGrayText color
2006-01-04 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: redraw the node when its image index is changed.
2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Same fix as last, just for SelectionColor. This
time I checked there are no others like it.
2006-01-04 Jackson Harper <jackson@ximian.com>
* AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
this gives the behavoir I was looking for.
* Control.cs: Special case Invoking EventHandlers, this matches MS
and fixes part of bug #76326.
2006-01-04 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs, FileDialog.cs:
- Reflect the latest Theme class changes
- Remove Mono.Unix.Syscall.time in FileDialg and replace it
with DateTime
2006-01-04 Alexander Olk <alex.olk@googlemail.com>
* Theme.cs: Cache UI resource images and resize them if needed
2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
is called. This fixes the crash in Nexxia when setting the font
attributes in the chat. [However, RTF needs a look-over to make sure
that all SelectionXXX methods handle the special case that selection
is empty and therefore the change must be applied to all text starting
at the cursor/selection start]
2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
XplatUIOSX.cs: Added SendMessage and PostMessage methods
* X11Keyboard.cs: Switched to new way of calling PostMessage
2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
* Theme.cs: Added theme interface for images to allow the theme to
control what images are used for things like FileDialog, MessageBox
icons, etc.
* MessageBox.cs: Now uses the new Theme icon/image interfaces
2006-01-03 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs:
- Removed some dead code
- Opening a recently used file does work now
- Small UI enhancements
- Refactoring
2006-01-02 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Forgot too add __MonoCS__
2006-01-02 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: We are able to read recently used files now let's
go on and write them.
2006-01-01 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Breathe some life into "last open"/"recently used"
button
* MimeIcon.cs: Do a check for the top level media type also
2005-12-31 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Added CPDrawStringDisabled
- ButtonBase_DrawText: Workaround for a DrawString bug; cut off
some chars if the text doesn't fit into text_rect
- DrawListViewItem: If View = View.LargeIcon center the image;
rewrote the drawing of ListViewItem.Text if View =
View.LargeIcon
2005-12-31 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Use default KDE icon theme if there is no
"48x48" directory for the current icon theme, fixes #77114
* Mime.cs: Disable not working and actually not used code.
* ThemeWin32Classic.cs:
- Replace "new SolidBrush" in GetControlBackBrush and
GetControlForeBrush with ResPool.GetSolidBrush
- Changed DrawListViewItem from private to protected virtual
* FileDialog.cs:
- Added form.MaximizeBox = true
- Don't throw an exception if there is a broken symbolic link
2005-12-23 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Give the panels focus, keyboard navigation is
fixed so this works correctly now.
- We need these key events also.
* ToolBar.cs: Remove some of the poor mans double buffering.
2005-12-24 Alexander Olk <alex.olk@googlemail.com>
* ComboBox.cs: The internal TextBox now returns the focus.
2005-12-23 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Draw the text for all tab appearances.
2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Removed debug code
* XplatUIX11.cs: Changed DestroyChildWindows to also consider
implicit children
2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: When creating the control, update the Z-order after
all it's children are created, too. (Fixes nexxia not showing
picturebox bug)
2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Do not update the anchoring distances if layout is
suspended, instead do it once layout is resumed
2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- After many hours of debugging, for both Jackson and
myself, it turns out that it helps to set the parent of a control
if you want to actually see it onscreen. In the spirit of that
discovery, we're now setting the parent of the control and
it's children when the control's handle is created. This fix
will make Lutz Roeder's Reflector run happily.
- now just creating the handle instead of the whole control when
getting a graphics context for the control.
2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
* ScrollableControl.cs: When calculating the canvas, don't consider
the scrollbar widths. Instead, predict if horizontal scrollbar
will affect canvas when deciding on vertical display and vice versa.
2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Set default RTF font for documents that don't
have a font table (Fixes #77076)
2005-12-22 Jackson Harper <jackson@ximian.com>
* TextBoxBase.cs: It's difficult to do, but you can have an empty
clipboard. This prevents a NullRef in that case.
* XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
clipboard. PRIMARY is for the currently selected text only. (We
should implement PRIMARY at some point.
2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
a Unicode function with a structure that was defined in Ansi way.
This fixes #76942.
2005-12-21 Jackson Harper <jackson@ximian.com>
* StatusBar.cs: Statusbar handles its fore/back colours on it's
on. Because thats how it rolls. (and this avoids it using ambient
colours).
* ThemeWin32Classic.cs: Use the proper back color for filling.
* Menu.cs: Use the system menu bar color for drawing menu
bars. Using the window back color will bring ambient colours into
the picture.
2005-12-21 Alexander Olk <alex.olk@googlemail.com>
* ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
Bitmaps were created and not disposed.
2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (CreateControl): Don't do anything if the control is
already created, otherwise we'd fire the OnCreated event more than
once
2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
* ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
will always match. Instead return -1. Fixes #76464.
2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs (RecalculateLine): Only wrap if the wrap point is
neither the beginning nor the end of the line (Fixes bug #76479)
2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- ControlNativeWindow.ControlFromHandle(): Now handling situation
where handle is invalid
- FromHandle(): Now using hashtable-based ControlFromHandle() lookup
instead of slower linear search
* NativeWindow.cs: Don't remove the window from the hashtable until
after the driver has destroyed it (since the driver might use
Control.FromHandle to lookup the control object
* Hwnd.cs: Added DestroyPending property to track if a window is
already destroyed as far as the driver is concerned and only hasn't
yet notified the control
* XplatUIX11.cs:
- Activate(): Check if the window is still valid before using the
handle
- Implemented DestroyChildWindow() method to mark child windows as
destroyed when a window is destroyed. This prevents situations
where we might call an X method based on queued events for a
window that already has been destroyed but we haven't yet pulled
the destroy method from the queue.
- Added a call to the new DestroyChildWindow() method to the drivers
DestroyWindow code. Also now marking the destroyed window itself
as pending
2005-12-20 Jackson Harper <jackson@ximian.com>
* StatusBar.cs:
* StatusBarPanel.cs: Don't calculate panel sizes on draw
anymore. Just do them when needed, also track the rects of panels
so that we can optimize refreshing more in the future.
2005-12-20 Alexander Olk <alex.olk@googlemail.com>
* ColorDialog.cs: Fixed focus drawing in small color controls
2005-12-19 Jackson Harper <jackson@ximian.com>
* InternalWindowManager.cs:
* MdiWindowManager.cs: Cleanup some coordinate system changes so
moving windows works properly.
2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Removed call to InitLayout() from SetBoundsCore(); doc says
it's only called when a control is added to a container
- Split InitLayout logic, moved to separate UpdateDistances() method
since we need to perform those calculations more often than just
when adding the control to a container. (Needed to fix #77022)
- Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
- Reduced the OnBindingContextChanged events count, don't send them
unless the control is created, we still aren't totally matching
MS, but I can't quite figure out some of their rules
2005-12-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Corrected distance between ProgressBar
stripes
2005-12-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Updated ProgressBar drawing
- Corrected drawing of ScrollBars and scroll buttons
- Some temporary fixes for minor pixel artefacts
2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Reworked Controls.Add(), Controls.Remove() and set_Parent() to
cause events to be sent in the same order as MS does.
- Added ChangeParent() method to trigger various OnXXXChanged events
that need to be fired when a parent changes (This is a reworking
of the patch from r54254, with the X11 errors fixed)
- Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
since on MS we get OnLayoutChanged events when calling Clear()
- Changed Enabled property to consider parent state as well, if a
parent is not enabled, the control will not be either
- Changed Parent property to simply call Controls.Add() since that
now does all the work required, this way we avoid code duplication
- Threw in a few OnBindingsContextChanged calls to try and match
when MS sends them. We seem to send a few too many, though.
- Added call to CreateControl when adding the control to a parent.
We were never calling CreateControl. Still needs some work, in
some places we treat HandleCreated and ControlCreated as equal,
which is wrong
- Removed obsolete commented out code from UpdateZOrder()
2005-12-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Updated TrackBar drawing.
2005-12-17 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2005-12-17 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Add the Help button and the open readonly
checkbox only if needed
2005-12-16 Jackson Harper <jackson@ximian.com>
* Control.cs: Make sure we have an active menu before trying to
process commands on it. Prevents menu-less forms from crashing
when Alt is pressed.
* TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
Dieter Bremes.
* RichTextBox.cs: Expand statement to help out gmcs and fix the
2.0 build.
2005-12-16 Jackson Harper <jackson@ximian.com>
* InternalWindowManager.cs: Don't translate tool windows screen
coordinates. This fixes windows 'bouncing' around when being moved.
2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- MaxLength now treats 2^31-1 equal to unlimited length (this is
not quite MS compatible, MS uses that number only for single line
and 2^32-1 for multi-line, but I figure it won't hurt keeping
the limit at 2GB)
- Now enforcing the MaxLength limit when entering characters
- Added argument to internal Paste() method to track if it's called
from programatically or via keyboard, since keyboard driven pastes
need to enforce max-length
- Added logic to Paste to only paste as many chars as MaxLength
allows
* RichTextBox.cs: Updated to use new obey argument for internal Paste()
* TextControl.cs:
- Added Length property to return number of characters in document
- Added private CharCount property which only tracks actual chars
in the document (no linefeeds) and fires event when CharCount
changes
- Added tracking of character count to all methods that alter it
- Added LengthChanged event to allow applications to subscribe
to any changes to the document
2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
* TextBox.cs:
- Removed local password_char field (moved to TextBoxBase)
- Now setting the document's password var when password is
set
* TextBoxBase.cs:
- Added password_char field (needed here so MultiLine can
access it)
- Added logic to MultiLine property setter to set the document's
variable when password display is allowed
- Removed debug code and made some debug code conditional
* TextControl.cs:
- Added RecalculatePasswordLine() method to handle special password
char only lines
- Added PasswordChar property, also added related tracking vars
- Draw() method now uses local text var for grabbing text to draw,
this var is set to line.text unless we're doing password display,
then it is set to the pre-generated all-password-chars line
- Added calling RecalculatePasswordLine() method for password lines
2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs:
- Added Reparented property to allow tracking of Window Manager
reparenting actions (which affect X/Y calculations of toplevel
windows)
- Made ToString() print window handles in hex
* XplatUIX11.cs:
- AddConfigureNotify(): Now uses reparented state off Hwnd to
determine if X/Y needs offsetting
- AddConfigureNotify(): Fixed offset calculations
- Now adds ReparentNotify messages into the queue
- Now processes ReparentNotify messages and causes a
WM_WINDOWPOSCHANGED message to be sent upstream if a window
is reparented (as most likely it's X/Y coordinates are changed
due to that)
2005-12-14 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Tool windows still need to respek focus.
2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Undid 54254 (causing XConfigure errors) so we can
have a working release
2005-12-13 Jackson Harper <jackson@ximian.com>
* Form.cs: Update styles after setting the border style regardless
of whether or not the window is using a window manager.
2005-12-13 Jackson Harper <jackson@ximian.com>
* Form.cs: We now hook into an internal window manager instead of just an
MDI subsystem, this is so we can have properly behaving tool windows.
* MdiClient.cs: Naming change, MdiChildContext is now WindowManager
* InternalWindowManager.cs: New internal class that acts as a
window manager for tool windows and as a base for mdi windows.
* MdiWindowManager.cs: New class that acts as a window manager for
mdi windows.
2005-12-12 Jackson Harper <jackson@ximian.com>
* Control.cs: Updates so we match behavoir for for implicit
controls. Fixes explosions in MDI.
2005-12-12 Jackson Harper <jackson@ximian.com>
* Control.cs: Implement Invalidate (Region).
2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Changed handling of Controls.Add/Controls.Remove to fire (almost)
the same events as MS does. MS fires events for each property
except, for unknown reasons, Cursor, when the control is reparented.
I can't seem to totally match add/remove since MS also fires some
VisibleChanged events, which makes no sense. Consolidated the
parenting code into a separate method so it can be called from
both Add and Remove. set_Parent no longer needs any special logic
as it calls the parent's add method which implicitly fires
all events
- Removed some obsolete code and debug output
- Enabled state is inherited from parents, if this is enabled
2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs: Removed commented out code
2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Added internal version of Invoke, with additional argument
indicating if we're calling it from a Dispose() handler. That
way we can avoid BeginInvoke throwing an exception if we're
calling for an already destroyed window.
- Added a dispose argument to BeginInvokeInternal, and made the
check if a valid window handle chain exists conditional on
it not being a dispose call
- Removed code in DestroyHandle to destroy our children. Since we
now handle the WM_DESTROY message we will catch all our children
being destroyed.
- Now calling OnHandleDestroyed from our new WM_DESTROY handler
* Form.cs:
- Added a field to track the application context of the form.
- No need to set closing variable as response to WM_CLOSE, instead
we destroy the window. We also call PostQuitMessage if the form
has an application context (which makes it the main app form,
which, when closed terminates the app)
* XplatUI.cs:
- Dropped Exit() method, it's naming was confusing
- Added PostQuitMessage() which causes GetMessage to return false
once the message queue is empty
* XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
PostQuitMessage()
* XplatUIOSX.cs: Switched signature for Exit method since Exit() is
no longer a valid XplatUI method, but left it in since it's used
internally. Added empty PostQuitMessage() method.
* MenuAPI.cs: Replaced call to Exit() with call to
PostQuitMessage, even though this is probably no longer needed.
* Hwnd.cs: Added 'pretty' ToString() to support debugging.
* X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
* Application.cs:
- Replaced call to XplatUI.Exit() with PostQuitMessage()
- Removed old debug code that would call XplatUI for exception
display, enabled standard exception handling (Still not enabled
though, until NativeWindow's ExternalExceptionHandler define
is removed
* NativeWindow.cs:
- Added internal method to allow control to update NativeWindow
after a window has been destroyed
- Added handling of already destroyed windows when calling i
DestroyWindow
- Added removal of handle from list on ReleaseHandle
* XplatUIX11.cs:
- Dropped GetMessageResult var and related code
- Added PostQuitState to field to track if PostQuitMessage has been
called
- Dropped Exit() method
- Added PostQuitMessage() method
- GetMessage now will return false if PostQuitState is set and no
more messages are in the queue.
- Expose handler will no longer generate WM_PAINT messages if we are
in PostQuitState since it's very likely any windows have already
been destroyed, and since Hwnd won't get updated until we have
processed the DestroyNotify we'd be causing X errors.
2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs(WndProc): Apparently I'm suffering from brain cloud.
Thanks to Mike for pointing out the err of my ways.
2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs(PreProcessMessage): Moved menu handling back, but
after all other key handling, to match MS (who handles Menu in
DefWndProc)
* Menu.cs (WndProc): Removed my brainfart
2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs(PreProcessMessage): Removed special menu handling
* Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
2005-12-07 Mike Kestner <mkestner@novell.com>
* Control.cs : special case SYSKEYUP so that we can adjust keynav
state according in tracker.
* Menu.cs : promote tracker field to base class and provide a tracker
lookup capability. Add/Remove shortcuts dynamically if the top menu
has a tracker. Unparent items that are removed from the collection.
* MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
* Theme*.cs: add always_show_hotkeys field to support configurability
of mnemonic display. win32 doesn't show mnemonics until Alt is
pressed.
2005-12-07 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Use Control.ResetCursor.
* Control.cs: ResetCursor needs to set the property so that the
correct XplatUI call gets made.
2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: More fixes to make our key events match MS. We
were not setting the modifier state on KeyData, and we were
not generating any events when Alt was pressed with a key
since handling of WM_SYSxxx was missing for the OnKey methods.
2005-12-07 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: reenable the sizing code.
- When the mouse leaves a window reset its cursor.
2005-12-07 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Reflect latest Hwnd changes
2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs: Now using the theme 3d bordersize to calculate
widths of Fixed3D borders
2005-12-07 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Fix warnings. Earn Mike's love.
2005-12-07 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Adjusted mouse over button color
- Added first parts of CheckBox drawing
- Added correct color for selected text background
- Fixed ComboBox drawing
- Added CPDrawBorder3D and CPDrawBorder
2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Added call to XBell for AudibleAlert
2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
XplatUIOSX.cs: Added AudibleAlert() method to have a means to
alert users via sound. We could add an enum arg with different
types of alerts in the future
2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Fix behaviour problems pointed out by Mike
2005-12-05 Mike Kestner <mkestner@novell.com>
* StatusBarPanel.cs: add Invalidate method and hook it into all the
prop setters. Calls parent.Refresh for now, but could be maybe be
optimized with an internal method on StatusBar at some point.
[Fixes #76513]
2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Implemented get_SelectionColor
2005-12-05 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Removed dead code
- Draw black button border only if button is Form.AcceptButton
- Draw correct button color for pressed RadioButton if the mouse
has entered the button
- Updated ProgressBar drawing!
- Updated CPDrawSizeGrip drawing
- Updated StatusBarPanel drawing
2005-12-05 Mike Kestner <mkestner@novell.com>
* Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
* X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
2005-12-04 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Initial check-in, activate with
export MONO_THEME=clearlooks
* ThemeEngine.cs: Added ThemeClearlooks
2005-12-03 Mike Kestner <mkestner@novell.com>
* MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
[Fixes #76897]
2005-12-02 Jackson Harper <jackson@ximian.com>
* Form.cs: If the child form has no menu the default main menu is
used as the active menu.
2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
* ListBox.cs: Check if any items exist before trying to resolve
coordinates into items
2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
as the second color for the background hatch
2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
* RichTextBox.cs: FormatText position arguments are 1-based, now making
sure that what we pass to FormatText is always 1-based. Fixes #76885
2005-11-29 Miguel de Icaza <miguel@novell.com>
* NumericUpDown.cs (EndInit): When we are done initializing,
reflect any updates on the UI.
2005-12-02 Jackson Harper <jackson@ximian.com>
* ImplicitHScrollBar.cs:
* ImplicitVScrollBar.cs: New scrollbars that don't take focus from
their container controls.
* TreeView.cs: Use the new implicit scrollbars.
2005-12-02 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Make top_node internal so the TreeNodeCollections
can play with it.
* TreeNodeCollection.cs: If we remove the topnode we need to
update topnode to the next node in line.
- When clearing nodes go through the same process as removing
them, so they get depareneted and checked if they are top node.
2005-12-01 Jackson Harper <jackson@ximian.com>
* TreeView.cs: When imagelists are used the image area is
selectable as well as the text.
- If there are no selected nodes select the first one.
* TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
so don't do it more then we need to.
2005-12-01 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
that arrows can be scaled.
2005-12-01 Jackson Harper <jackson@ximian.com>
* TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
fail. Patch by Dieter Bremes
2005-11-30 Jackson Harper <jackson@ximian.com>
* Form.cs: Property is 2.0 only
* PrintDialog.cs: Signature fix.
2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- No longer artificially moves text 2 pixels down (now that we have
borders this is no longer needed)
- Added calcs for left, hanging and right indent
2005-11-23 Mike Kestner <mkestner@novell.com>
* Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
2005-11-30 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Set the cloned menus forms, as these don't
get cloned as part of CloneMenu ().
* Menu.cs: Make sure the parent of the items get set correctly
when they are added. And the owners are notified of the changes.
* Form.cs: Create an ActiveMenu property, so that when MDI is used
we can change the menu being displayed/handled by the form without
changing the menu assosciated with the form.
- Don't let Mdi children draw/handle menus.
2005-11-30 Jackson Harper <jackson@ximian.com>
* Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
a MenuChanged event. Just to make the API a little more
consistent.
* MainMenu.cs:
* MenuItem.cs: Use the new OnMenuChanged
* MdiChildContext.cs: Handle menu merging.
* Form.cs: Implement MergedMenu.
2005-11-30 Jackson Harper <jackson@ximian.com>
* Menu.cs: We were misusing Add. Add goes behind the specified
index according to the docs, and does not replace the specified
index. So I added an Insert method.
2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
is for Jackson
* RichTextBox.cs: Added calls to base for DnD events
2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- Fixed drag-selection related crash; style fixes
- Implemented undo class
o Implemented method to capture document state for specified
range in document tree
o Implemented method to restore captured document state
o Implemented cursor tracking
o Implemented basic undo stack
- Added undo cursor tracking to methods altering cursor location
- Added undo tracking to selection deletion (still missing
other text-altering hookups)
* RichTextBox.cs:
- Added SelectionLength property
- Implemented CanPaste()
- Implemented Paste()
- Added missing protected methods
- Fixed RTF->Document conversion; now uses font index 0 and color
index 0 as the default font for the parsed text
- Fixed RTF<->Document font size translation
- Fixed RTF generation, now properly handles cross-tag boundaries
for single line selection
- No longer always appends blank line to generated RTF
- Removed TODOs
- Added missing attributes
- Hooked up undo-related methods
* TextBoxBase.cs:
- Implemented Copy()
- Implemented Paste()
- Implemented Cut()
- Fixed caret mis-behaviour on backspace across line-boundaries
2005-11-29 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Add a method for activating mdi children. Very
basic right now. I imagine someday it might need more girth.
* MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
children windows names are added to the menu item.
* ThemeWin32Classic.cs: Draw the arrow if the item is an
mdilist. This happens regardless of whether or not there are any
mdi windows to see in the list, and according to my tests happens
before the items are even added. Also happens if there isn't even
an mdi client to get windows from.
2005-11-29 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
* ThemeNice.cs: Fix drawing of flatstyle radiobuttons
2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGridTableStyle.cs:
- Create always the styles for the missing columns even if they are
provided by the user (not default table style)
* DataGrid.cs:
- Fixes bug 76770
- Fixes SetDataBinding (always re-attach source)
- Fixes SetNewDataSource (only clear styles if they are not for
this source)
- Expands OnTableStylesCollectionChanged to handle style refresh
and remove properly
2005-11-29 Jackson Harper <jackson@ximian.com>
* FileDialog.cs: Implement missing bits, remove some dead
code.
* FontDialog.cs: Implement missing Apply stuff, and ToString. Move
creation of the panel so that the options set on the dialog are
seen when the panel is created.
* TreeView.cs: raise a click when items are clicked.
2005-11-29 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Pass some signature methods through to base.
2005-11-28 Jackson Harper <jackson@ximian.com>
* ListView.cs: Raise the click event when items are clicked.
2005-11-28 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Make this algorithm even more beautiful. And fix
a nullref.
2005-11-27 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: - Removed 1 pixel bitmaps
- Use SmoothingMode.AntiAlias where it makes sense
(ScrollButton arrow for example)
- Enhanced Button focus drawing
- Fixed ComboBox drawing (no artefacts anymore, focus
rectangle is back again, reduced size of ComboButton, etc.)
- Fixed RadioButton focus drawing for Appearence.Button
- Slight ScrollButton redesign
- Some LinearGradientBrush size fixes
- GroupBoxes have now rounded edges
- Fixed StatusBar drawing
2005-11-25 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: - Remove dead code
- use correct background colors for menus, etc.
- Fake pixel drawing with 1 pixel bitmaps
2005-11-24 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Size the scrollbars when resizing the window.
- Resize the maximized windows when the client is resized
* Form.cs: Make the child context available
2005-11-23 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Don't size windows if they are maximized.
2005-11-23 Mike Kestner <mkestner@novell.com>
* ContextMenu.cs: use MenuTracker.
* Control.cs: remove menu handle usage.
* Form.cs: remove menu handle usage.
* Hwnd.cs: remove menu handle usage.
* MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
motion and clicks to the new Tracker handlers.
* Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
and handle usage.
* MenuAPI.cs: refactored to combine popup and menubar event handling.
Killed the MENU and MENUITEM data types and associated collections
since we now keep the info on Menu and MenuItem. Expanded TRACKER into
MenuTracker class that exposes the leftovers from the old MenuAPI
static methods. Restructured Capture handling so that only one grab is
done for the entire menu hierarchy instead of handing off grabs to
submenus. Tracker now has an invisible control to Capture when active.
* MenuItem.cs: add sizing accessors, kill Create
and handle usage.
* Theme.cs: remove menu handle and MENU(ITEM) usage.
* ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
MENU(ITEM). remove menu handle usage, use Menu directly.
* XplatUIDriver.cs: remove menu handle usage.
* XplatUIOSX.cs: remove menu handle usage.
* XplatUIWin32.cs: remove menu handle usage.
* XplatUIX11.cs: remove menu handle usage.
2005-11-22 Jackson Harper <jackson@ximian.com>
* Hwnd.cs: Don't compute the menu size for
DefaultClientRectangle.
- Reenable menu sizes being computed for GetClienRectangle.
* Form.cs: Remove comment of trechery
2005-11-22 Jackson Harper <jackson@ximian.com>
* Hwnd.cs: The adjustments for the menu bar are made when it is
attached to the form.
2005-11-19 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
(just like on windows).
2005-11-19 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Handle all the buttons ourselves. We can't
use real buttons anymore because they are in non client area. The
one TODO here is that I need to somehow invalidate a section of
the non client area.
2005-11-18 Jackson Harper <jackson@ximian.com>
* Control.cs: Put the enum check back in now that MDI doesnt have
to use this to set border styles.
* Form.cs: Only set mdi child windows borders if the handle has
been created.
* MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
this directly on to the driver.
- Get the move start position before adjusting for the titlebar
height, this fixes the windows "skipping" when they are first
moved.
2005-11-18 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Just compute the mdi borders separately as they
don't totally match up with normal form borders.
2005-11-18 Jackson Harper <jackson@ximian.com>
* Control.cs: Set WS_ styles for borders, so that the driver does
not have to retrieve the control instance to figure out what kind
of borders it should have.
* Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
driver can know its an mdi child easily.
* XplatUIX11.cs: Get the border styles and whether the window is
MDI from the Styles and ExStyles params instead of having to get a
control. This prevents a chicken and egg problem.
2005-11-18 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Fix typo so scrollbars show up correctly.
2005-11-18 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: Calculate when to add and remove scrollbars
correctly.
* MdiChildContext.cs: Adjust the y position to take the titlebar
into account.
- No height for FormBorderStyle.None
2005-11-18 Jackson Harper <jackson@ximian.com>
* Control.cs: Allow non enum values to be used for
InternalBorderStyle. MDI does this to set a special border style.
- New utility methods for converting points to/from client coords
- Add the newly created control to the Controls collection before
updating its style. This way UpdateStyle can walk the control
heirarchy to find the control if needed.
so I don't need to create a new Point object all the time.
* Form.cs: Let MDI windows handle their border styles.
- Set styles on MDI windows so the correct title style is derived.
* MdiChildContext.cs: Move all the painting and window handling
into the non client area.
- Use correct sizing and put correct buttons on frames based on
the FormBorderStyle.
- Notify the mdi client about scrolling
- Need to handle the buttons ourselves now, because they are all
in non client areas and we can't add controls there.
* MdiClient.cs: Halfway to scrolling, this implementation is
somewhat broken though, we need to check to make sure other
windows aren't causing scrolling before removing the bars. Also
the bars need to be drawn on top, maybe I can switch implicit
controls to be on top.
* Hwnd.cs: caption_height and tool_caption_height are now
properties of an hwnd, this way they can be set by the driver
based on the type of window they are. In X11 the window manager
handles the decorations so caption_height is zero unless its an
MDI window.
- Add 3 pixel borders for MDI windows (0xFFFF).
- Get rid of some code duplication, have DefaultClientRectanle
just call GetClientRectangle.
* XplatUIX11.cs: Pass caption_height and tool_caption_height to
Hwnd now.
- Set border styles differently for mdi windows.
* XplatUIOSX.cs: Pass caption_height and tool_caption_height to
Hwnd now.
2005-11-15 Mike Kestner <mkestner@novell.com>
* Menu.cs: when adding an item to the collection, if item is already
parented, remove it from the parent.
2005-11-13 Alexander Olk <alex.olk@googlemail.com>
* X11DesktopColors.cs: Added KDE support
2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs:
- Clipboard methods now can translate Rtf format
- No longer removes clipboard contents whenever a new format is added
to allow placing multiple formats on the clipboard
* Clipboard.cs: Clipboard now supports getting a IDataObject and
will place all formats contained in it onto the clipboard. Also
now cleans the clipboard before placing a new object onto it
* RichTextBox.cs:
- Implemented set_Rtf
- Implemented set_SelectedRtf
- Created InsertRTFFromStream() method to allow single code base
for all properties and methods that insert RTF into document
- Removed debug output
* TextControl.cs:
- Fixed Delete(int) to fix up line numbers
- Fixed ReplaceSelection to combine start and end line
- Fixed serious DeleteChars bug that would leave the document tree
broken
- Improved DumpTree with several logic checks to detect broken
document trees
- Removed debug lines
- Fixed Caret.WordForward/WordBack moving code, now always also
updates caret.tag (fixes crash when word-selecting across tag
boundaries via keyboard)
- Added Insert() method for inserting multiline text into documents
- Fixed DeleteChars() calculation errors that would cause a broken
tag chain with multiple tag lines
- DeleteChars() no longer crashes on multi-tag lines if not all tags
- Split() no longer moves caret if split is at caret location
- ReplaceSelection() now updates the cursor and re-displays it
- ReplaceSelection() now uses new Insert() method to avoid code
duplication
- FormatText() can now handle formatting partial lines
* TextBoxBase.cs:
- Append now uses new TextControl.Insert() method (this avoids
duplicate code)
- Implemented Ctrl-X (Cut) (
- Implemented Ctrl-C (Copy)
- Implemented Ctrl-V (Paste) (Still some bugs related to screen
regeneration when pasting text; roundtripping Copy&Paste within
edit control still fails due to some calculation bugs in GenerateRTF)
- The Delete key will now remove the current selection if it is visible
* TextBox.cs: Removed debug lines
* XplatUI.cs: Trigger initialization of DataFormats (which requires the
driver to be initialized and can't therefore be done via a static ctor)
2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Added backend code for finding char arrays and strings
* TextBoxBase.cs:
- Added mouse wheel scroll support
- Added support for VScroll and HScroll events
* RichTextBox.cs:
- Implemented all seven Find() variants
- Implemented GetCharFromPosition()
- Implemented GetCharIndexFromPosition()
- Implemented GetLineFromIndex()
- Implemented GetPositionFromCharIndex();
- Implemented SaveFile for PlainText and UnicodeText
- Fixed set_Font, now setting a new font applies that font to
the whole document
- Implemented generic Document to RTF converter
- Implemented SaveFile for RichText format (still missing unicode
conversion for non-ansi chars)
- Implemented get_Rtf
- Implemented get_SelectedRtf
2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
to allow any captures to be released before triggering OnClick. This
way a click handler may capture the mouse without interference.
* XplatUIX11.cs: Always send mouse messages to grab window if one exists.
This way we send them even though X may not allow a grab (if the window
isn't visible, for example)
2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
* DataGridViewRowEventArgs.cs: DataGridView implementation
* DataGridViewElement.cs: DataGridView implementation
* DataGridViewComboBoxCell.cs: DataGridView implementation
* DataGridViewDataErrorContexts.cs: DataGridView implementation
* DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
* DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
* ImageLayout.cs: DataGridView implementation
* DataGridViewComboBoxColumn.cs: DataGridView implementation
* DataGridViewCellMouseEventHandler.cs: DataGridView implementation
* DataGridViewSelectionMode.cs: DataGridView implementation
* IDataGridViewEditingControl.cs: DataGridView implementation
* DataGridViewSortCompareEventHandler.cs: DataGridView implementation
* DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
* DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
* DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
* DataGridViewColumnSortMode.cs: DataGridView implementation
* DataGridView.cs: DataGridView implementation
* DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
* DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
* DataGridViewDataErrorEventArgs.cs: DataGridView implementation
* Padding.cs: DataGridView implementation
* DataGridViewCellParsingEventArgs.cs: DataGridView implementation
* DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
* DataGridViewRowEventHandler.cs: DataGridView implementation
* DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
* DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
* DataGridViewButtonCell.cs: DataGridView implementation
* DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
* DataGridViewEditMode.cs: DataGridView implementation
* DataGridViewCellValueEventArgs.cs: DataGridView implementation
* DataGridViewRowCancelEventArgs.cs: DataGridView implementation
* DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
* DataGridViewCheckBoxColumn.cs: DataGridView implementation
* DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
* DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
* DataGridViewCellEventHandler.cs: DataGridView implementation
* DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
* DataGridViewCellStyleConverter.cs: DataGridView implementation
* DataGridViewSelectedRowCollection.cs: DataGridView implementation
* DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
* DataGridViewColumnEventArgs.cs: DataGridView implementation
* DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
* DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
* QuestionEventArgs.cs: DataGridView implementation
* IDataGridViewEditingCell.cs: DataGridView implementation
* DataGridViewTriState.cs: DataGridView implementation
* DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
* DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
* DataGridViewColumnCollection.cs: DataGridView implementation
* DataGridViewCellValueEventHandler.cs: DataGridView implementation
* DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
* DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
* DataGridViewColumn.cs: DataGridView implementation
* DataGridViewCellBorderStyle.cs: DataGridView implementation
* DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
* DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
* DataGridViewRow.cs: DataGridView implementation
* DataGridViewImageCellLayout.cs: DataGridView implementation
* DataGridViewImageCell.cs: DataGridView implementation
* DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
* DataGridViewCheckBoxCell.cs: DataGridView implementation
* DataGridViewHeaderCell.cs: DataGridView implementation
* DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
* DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
* DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
* DataGridViewTextBoxColumn.cs: DataGridView implementation
* QuestionEventHandler.cs: DataGridView implementation
* DataGridViewCellStyleScopes.cs: DataGridView implementation
* DataGridViewSortCompareEventArgs.cs: DataGridView implementation
* DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
* DataGridViewCell.cs: DataGridView implementation
* DataGridViewCellEventArgs.cs: DataGridView implementation
* DataGridViewClipboardCopyMode.cs: DataGridView implementation
* DataGridViewCellStyle.cs: DataGridView implementation
* DataGridViewColumnHeaderCell.cs: DataGridView implementation
* DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
* DataGridViewRowCancelEventHandler.cs: DataGridView implementation
* TextFormatFlags.cs: DataGridView implementation
* DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
* DataGridViewDataErrorEventHandler.cs: DataGridView implementation
* DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
* DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
* DataGridViewButtonColumn.cs: DataGridView implementation
* DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
* HandledMouseEventArgs.cs: DataGridView implementation
* DataGridViewCellParsingEventHandler.cs: DataGridView implementation
* DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
* DataGridViewCellMouseEventArgs.cs: DataGridView implementation
* DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
* DataGridViewRowCollection.cs: DataGridView implementation
* DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
* DataGridViewCellCancelEventHandler.cs: DataGridView implementation
* DataGridViewHitTestType.cs: DataGridView implementation
* DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
* DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
* DataGridViewColumnEventHandler.cs: DataGridView implementation
* DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
* DataGridViewAutoSizeRowMode.cs: DataGridView implementation
* DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
* DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
* DataGridViewTextBoxEditingControl.cs: DataGridView implementation
* DataGridViewContentAlignment.cs: DataGridView implementation
* DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
* DataGridViewComboBoxEditingControl.cs: DataGridView implementation
* DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
* DataGridViewSelectedColumnCollection.cs: DataGridView implementation
* DataGridViewPaintParts.cs: DataGridView implementation
* DataGridViewCellCollection.cs: DataGridView implementation
* DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
* DataGridViewImageColumn.cs: DataGridView implementation
* DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
* DataGridViewElementStates.cs: DataGridView implementation
* DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
* DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
* DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
* DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
* DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
* DataGridViewCellCancelEventArgs.cs: DataGridView implementation
* DataGridViewRowHeaderCell.cs: DataGridView implementation
* DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
* DataGridViewTextBoxCell.cs: DataGridView implementation
* DataGridViewBand.cs: DataGridView implementation
* DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
* DataGridViewHeaderBorderStyle.cs: DataGridView implementation
* DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
* DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
* DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
* DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
* DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
* DataGridViewSelectedCellCollection.cs: DataGridView implementation
* DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
* DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
* DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs:
- Draw the outside focus rectangle around buttons
- Use CPDrawFocusRectangle to draw focus rectangles until Cairo
doesn't use end caps for every dash of a line anymore. This
workaround ignores the forecolor.
2005-11-08 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
endian safe.
2005-11-07 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
2005-11-07 Jackson Harper <jackson@ximian.com>
* ScrollableControl.cs: Calculate the maximum and change vars
(more) correctly so that scrollbars appear as a sensible size.
2005-11-04 Jackson Harper <jackson@ximian.com>
* TreeNodeCollection.cs: Refresh when nodes are cleared from the
collection.
* TreeView.cs: When the tree is sorted null out the top_node so
that it is recalculated.
- Use dotted lines instead of dashed lines to match MS better.
2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
* ListView.cs:
- Implements key search for items. Useful when browsing files with FileDialog
- When changing view mode or when clear the items reset scrollbar positions
2005-11-04 Jackson Harper <jackson@ximian.com>
* CurrencyManager.cs: Implement the MetaDataChanged event, the
Reset method, and the CheckEmpty. CheckEmpty is just a total guess
as to what the method may do as there is no real way of creating a
derived CurrencyManager and calling the method.
2005-11-03 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
* TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
method which seems to just be used internally to refresh the tabs.
2005-11-03 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Implement the remove method. Fix some broken
comments.
2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
* DateTimePicker.cs:
- Added missing DateTimePickerAccessibleObject class
- Added missing events
- Added OnFontChanged method
* Form.cs: Added missing attributes
* TreeView.cs: Added missing attributes
2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
* GridItemCollection.cs: Fix signatures
2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs: Updated build rev/date
* ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
* Application.cs: Trigger context-specific ExitThread events
2005-11-03 Jackson Harper <jackson@ximian.com>
* Menu.cs:
* MainMenu.cs:
* GridTableStylesCollection.cs:
* Timer.cs:
* TabPage.cs:
* HelpProvider.cs:
* StatusBar.cs:
* MonthCalendar.cs: Signature fixes
2005-11-03 Jackson Harper <jackson@ximian.com>
* TreeNodeCollection.cs: Remove should not be virtual.
* TreeView.cs: Implement the last of the missing methods.
2005-11-03 Jackson Harper <jackson@ximian.com>
* TreeNodeConverter.cs: Implement to get off my class-status back.
2005-11-03 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Hookup the bits for drag and drop.
* TreeNode.cs: Don't cache the tree_view or index anymore, now
that nodes can be moved from tree to tree easily this just causes
all sorts of problems.
* TreeNodeCollection: Don't need to give treenodes an index and
treeview anymore when they are added, these are computed on the
fly. Also make sure to remove a node before its added.
2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- Added CaretSelection enum
- Added comparison methods to Marker struct, makes selection code
more readable
- Added SelectionStart and SelectionEnd as 'moveable' location for
the CaretDirection enum and handler
- Added selection_prev variable to track optimized invalidation for
word and line selection
- Added SelectionVisible property (returns true if there is a valid
selection)
- Switched CaretHasFocus to only display the caret if there is no
visible selection
- Avoiding StringBuilder.ToString to retrieve a single char, instead
using the direct character index; should be much faster
- Added various conditional debug statements
- Fixed invalidation calculation for selection ranges
- Added ExpandSelection() method to support word and line selection
- Switched SetSelectionToCaret to use new Marker compare overloads
- Added central IsWordSeparator() method to determine word
separators/whitespace and FindWordSeparator() to streamline common
usage of IsWordSeparator()
* TextBoxBase.cs:
- Removed unneeded grabbed variable, it was just mirroring
Control.Capture
- No longer firing OnTextChanged event when Text setter is called,
since the base will fire the event for us
- Added handling of Ctrl-Up/Down selection
- Added handling of Shift-Cursorkey selection
- Added handling for Ctrl-Delete and Ctrl-Backspace to remove
words
- Added handling of Shift and Ctrl-Shift-Home/End selection
- Removed some debug output
- Added handling for single/double/tripple-click to place caret/
select word/select line respectively (Fixes bug #76031)
- Added support for drag expansion of word/line selection
* RichTextBox.cs: Handle GotFocus event to trigger redrawing of
current selection
2005-11-02 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: If the drag is going to and from a MWF window just
copy the data instead of sending it out through the X Selection
mechanism.
2005-11-02 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs:
* XplatUIX11.cs: When in a drag we don't want motion notify
messages to get passed on to the other controls. This prevents
mouse move messages from showing up in the drag source.
2005-11-02 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
the correct button is release to end a drag.
* XplatUIX11.cs: Make the button state internal so the drag system
can access it. Dragging needs to know about all button releases,
not just left button.
2005-11-02 Miguel de Icaza <miguel@novell.com>
* Form.cs (Icon): If the icon is null, reset the icon to the
default value.
* Cursor.cs: When writing the AND-mask bitmap do not include the
number of colors, but hardcode those to two (black and white),
fixes the loading of color cursors (Paint Dot Net).
* Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
turn off autoscaling.
* Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
2005-11-02 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Make sure to send a status message if the pointer
enters a control that can not accept a drop, otherwise the cursor
isn't updated correctly. Also tried to compress the lines of code
a bit.
2005-11-02 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Change cursors based on drag action. Also attempt to
set actions correctly. This isn't perfect as XDND and win32 have
some differences on how you allow actions. I'll clear this up by
adding a path for drag from MWF to MWF windows.
* XplatUIX11.cs: Hook into the dnd system.
2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
* ListView.cs: Fixes scroll bar visibility. Hide them if they were
previously shown but they are no longer need it. Very obvious when
browsing files with FileDialog.
2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: We always need to call OnPaintBackground. We pretty much
ignore AllPaintingInWmPaint and always do the painting there, whether
it's set or not, since we always ignore the WM_ERASEBKGND message
(which we don't generate on X11). This fixes #76616.
* Panel.cs: Removed unneeded background painting. This happens properly
in Control.cs already
2005-10-31 Mike Kestner <mkestner@novell.com>
* Menu.cs: Add items to collection before setting their index.
* MenuItem.cs : add range checking with ArgumentException like MS.
[Fixes #76510]
2005-10-31 Jackson Harper <jackson@ximian.com>
* ListBox.cs: Invalidate if the area is visible at all not just
contained in the visible rect. Fixes unselection of semi visible
items.
2005-10-31 Jackson Harper <jackson@ximian.com>
* Control.cs: Consistently name the dnd methods. Make them
internal so we can override them to match some MS behavoir
internally.
* Win32DnD.cs: Use the new consistent names.
2005-10-31 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Don't draw the selected node when we lose focus.
2005-10-31 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: We still need to reset the state even though a full
reset isn't being done, otherwise status's still get sent all over
the place.
2005-10-31 Jackson Harper <jackson@ximian.com>
* Control.cs: Make the dnd_aware flag internal so the dnd
subsystem can check it. Catch exceptions thrown in dnd handlers to
match MS behavoir.
* Hwnd.cs: Add a flag for whether or not a window is dnd aware.
* X11Dnd.cs: Handle null data in the converters. Set the XDND
version when sending a XdndEnter. Use the control/hwnd dnd_aware
flags to reduce the number of dnd enters/status's sent.
2005-10-31 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
* PictureBox.cs: Fixes 76512
2005-10-28 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Early implementation to support winforms being a drag
source for data on X11. Also restructured the converters so they
can go both ways now.
* XplatUIX11.cs: Tie ins to the the Dnd stuff.
2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
clipboard requests
2005-10-27 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Implement serialization so my DnD examples will work.
2005-10-24 Kornél Pál <kornelpal@hotmail.com>
* ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
TreeView.cs: Don't dispose objects that are not owned.
2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
* Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
should retrieve the current cursor and report that, but XplatUI
doesn't (yet) have an interface for that (and I'm not sure I even
can, on X11)
* XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
until any message loop processing is done (and the WM_SETCURSOR
replaces the cursor to the proper one)
* XplatUIX11.cs:
- Fixed override behaviour, we can't set the cursor globally on X11,
just for our windows.
- Invalidating the System.Drawing X11 display handle when we are
shutting down
* Control.cs: Fix to make csc happy
2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- get_Text: Add last line (without trailing newline) to returned
value (Fixes 76212)
- get_TextLength: Count last line in returned length
- ToString: Call Text property instead of duplicating code
2005-10-23 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Dispose ImageAttributes objects.
2005-10-22 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Use attribute constructors with less arguments where
possible.
2005-10-22 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
Use typeof instead of strings when assembly is referenced. Added
some more comments.
2005-10-21 Jackson Harper <jackson@ximian.com>
* ListView.cs: Raise a double click event. Also tried to somewhat
fix when the selectedindexchanged event is raised. Its still
broken though.
2005-10-21 Jackson Harper <jackson@ximian.com>
* TreeView.cs: New method to invalidate the plus minus area of a
node without invalidating the whole node (maybe this can be used
in some more places).
* TreeNodeCollection.cs: When adding to an empty node we need to
invalidate its plus minus area so the little block shows up.
2005-10-21 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Make sure that when we invalidate a node the bounds
are big enough to cover the selected box and the focus
rectangle. Use a different colour for the lines connecting nodes
so they show up with all themes.
2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
* NativeWindow.cs: Don't call anything that could call into the driver,
we might be on a different thread.
2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs(Dispose): Since Dispose might run on a different thread,
make sure that we call methods that could call into the driver via
invoke, to avoid thread issues
2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs: Removed finalizer
* XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
not allowing to be called on the finalizer thread.
2005-10-21 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs:
- Reverted r51889 and r51891.
- Added ImageListItem class that stores unmodified image items and image
properties required to create list images until handle is created.
- Added AddItem and moved image creation logic to AddItemInternal.
- Added CreateHandle method that creates images based on unmodified items.
- Added DestroyHandle that changes state to store unmodified items.
- Add and AddStrip methods no more create handle.
- ReduceColorDepth has no return value.
- Dispose destroys handle.
- Modified other methods to reflect the above changes.
- Implemented key support.
- Added profile 2.0 members and attributes.
- Added private Reset and ShouldSerialize methods that provide the same
behavior as MS.NET but the Visual Studio .NET designer seems to ignore
them as they are private.
- Added some more comments about implementation details.
2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGrid.cs: Adds support for vertical scrolling using the mousewheel
2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
* Binding.cs: No PushData/PullData if there is no binding (fixes crash)
2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridDrawingLogic.cs: Fixes column hit calcultation
* DataGridColumnStyle.cs: Remove debug message
2005-10-20 Jackson Harper <jackson@ximian.com>
* TreeView.cs: We can always get input keys regardless of whether
or not editing is enabled. They are used for navigation.
2005-10-20 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Use the viewport rect for determining if a node
needs to be moved for visibility. Don't use Begin/End edit. This
calls a full refresh when its done.
* TreeView.cs: New SetBottom works correctly. Make the viewport
rect property internal so the treenodes can see it. When clicking
on a node we need to ensure that its visible because it might just
be partly visible when clicked.
2005-10-20 Jackson Harper <jackson@ximian.com>
* TreeNodeCollection.cs: Remove debug code.
2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
* Datagrid.cs: Implements column sorting in Datagrid
* DataGridColumnStyle.cs: Implements column sorting in Datagrid
2005-10-20 Jackson Harper <jackson@ximian.com>
* TreeNodeCollection.cs: Remove items properly. Update the correct
area after removing them.
2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
* Datagrid.cs: Should not call base.OnPaintBackground
2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (GetMessage):
- Now properly calculates NC_xBUTTONDOWN coordinates off the whole
window instead of client window
- Now properly calculates NC_xBUTTONUP message coordinates
- ScreenToMenu now properly calculates it's coordinates of whole
window, since menus are in the whole window, not in the client
window
- Added WholeToScreen coordinate translation method
2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (GetMessage): Don't return in situations where we don't
want to return a message, loop back to the beginning of the function
and grab the next real message to process instead.
2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs: Properly set limits if no filler control is used
2005-10-19 Jackson Harper <jackson@ximian.com>
* ColorDialog.cs: Don't show the help button if it is not enabled
instead of disabling it (this is what MS does). Don't create the
panel until the dialog is run, otherwise the vars (such as
ShowHelp) are not set yet.
2005-10-19 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
are reduced when adding nodes.
* TreeNode.cs:
* TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
tree.
2005-10-19 Jackson Harper <jackson@ximian.com>
* FolderBrowserDialog.cs: End editing our treeview so the window
actually gets refreshed.
2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Fixed logic flip on when to call OnPaintBackground.
Obsoleted handling of WM_ERASEBKGND, now always draws our background
inside of WM_PAINT
2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuAPI.cs: Returns after Hidding window
* XplatUIX11.cs: Added TODO found while debugging menu issues
2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Do not re-map the whole window when it's size
becomes non-zero unless it's supposed to be actually visible
2005-10-18 Jackson Harper <jackson@ximian.com>
* TreeView.cs: We don't need to keep a count anymore.
* TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
use the Grow method.
2005-10-18 Jackson Harper <jackson@ximian.com>
* TreeNodeCollection.cs: Insert is not supported on arrays, so
implement it manually here.
2005-10-18 Jackson Harper <jackson@ximian.com>
* ImageList.cs: Dont kill the list when the colour depth is
changed, just change the colour depth of all the images.
- Same goes for setting the image size. Just resize them all
instead of killing the list softly.
2005-10-18 Jackson Harper <jackson@ximian.com>
* Control.cs: Don't invalidate empty rectangles.
2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
* ListViewItem.cs:
- Adds checked item to the Checked/Item lists (where empty before)
- Do not add items to the Selected lists if they are already present
* ListView.cs:
- Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
- When deleting items make sure that we delete them for the Selected
and Checked list also.
2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
* Label.cs: Dispose objects no longer used
* ThemeWin32Classic.cs: Dispose objects no longer used
2005-10-18 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Don't refresh the whole control when the tabs are
scrolled, we just need to refresh the tab area.
2005-10-17 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Compress code a little bit. Only calculate the
after handle when we need it.
2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: When the parent size changes, recalculate anchor
positions. Partial fix for #76462
2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs: Make sure the picturebox has it's background
drawn. Fixes #76462
2005-10-17 Jackson Harper <jackson@ximian.com>
* MonthCalendar.cs: Don't create the numeric up down until our
handle is created. Otherwise our handle is created in the
constructor and we don't know if we are a WS_CHILD or WS_POPUP
yet.
2005-10-17 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Merge in patch by Rafael Teixeira to align strings
correctly.
2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* TreeNode.cs : small logical fix (was using local var instead of field)
2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Re-implemented anchoring code. My first version was really broken.
This fixes bug #76033. Unlike the previous implementation we will
no longer have round errors since all numbers are calculated from
scratch every time. Removed various anchor-related obsolete vars.
- InitLayout no longer causes layout event firing and layout to be
performed
2005-10-16 Jackson Harper <jackson@ximian.com>
* Hwnd.cs: Compute invalid area correctly (fixes my last commit
which was broken).
2005-10-16 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Remove debug code.
2005-10-16 Jackson Harper <jackson@ximian.com>
* XEventQueue.cs: Increase the default queue size (very simple
apps needed to grow the queue).
* Hwnd.cs: No finalizer so we don't need to suppress
finalization. Compute the invalid area manually so a new rectangle
does not newto be created.
* ScrollableControl.cs: Don't set any params (otherwise visibility
isn't set correctly).
* MdiChildContext.cs: New constructor takes the mdi parent so it
doesn't have to be computed and avoids a crash on windows. Draw
the window icon properly, and allow the text to be seen.
* Form.cs: Use new MdiChildContext constructor. Make sure the
child context isn't null in wndproc.
* TabControl.cs: Don't set focus, this is muddling keyboard
behavoir. Expand the tab rows when a window size increase will
allow extra tabs to be seen. Don't allow tabs smaller than the
width of a window to be scrolled out of view.
* TreeNode.cs:
* TreeView.cs: Use measure string to calculate a nodes width, the
width is cached and only updated when the text or the font is
changed. Don't check for expand/collapse clicks on the first level
nodes if root lines are disabled.
2005-10-16 Ritvik Mayank <mritvik@novell.com>
* TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridBoolColumn.cs: fixes warning
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
to match more to match more precisely the MS Net behavior
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs: Added field to track if window is mapped
* XplatUIX11.cs:
- Unmap windows if they become 0-size, re-map when
they are >0 again; fixes #76035
- Re-set our error handler after initializing X11Desktop
to override any error handlers Gtk or whatever was called
may have set.
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* CheckedListBox.cs: Removed unused vars
* ListView.cs: Fixed signatures
* RichTextBox.cs: Removed unused vars
* TextBoxBase.cs: Removed unused vars
* XplatUIWin32.cs: Removed unused vars
* XplatUIX11.cs: Removed unused vars
* XplatUI.cs: Updated version and date to latest published
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* Cursor.cs: Added private .ctor to work around a bug in
resourceset (Thanks to Geoff Norton for the help on this)
* SplitterEventArgs.cs: Made fields accessible so we don't
waste boatloads of objects and can reuse the same one
in Splitter
* XplatUIWin32.cs(DrawReversibleLine): Now also considers
any captions and borders when generating screen coordinates
* Splitter.cs: Reimplemented control, now fully complete, uses
rubberband drawing, supports and obeys all properties, has
proper cursors
2005-10-13 Miguel de Icaza <miguel@novell.com>
* Form.cs (Form): Setup default values for autoscale and
autoscale_base_size; Make these instance variables, not static
variables.
(OnLoad): on the first load, adjust the size of the form.
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
width argument to DrawReversibleRectangle()
* XplatUIWin32.cs, XplatUIX11.cs:
- Implemented width for DrawReversibleRectangle()
- Added logic to DrawReversibleRectangle that recognizes a zero
width or height and only draws a line in that situation
2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
* XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
* XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
method (it uses our FosterParent window to get a graphics context)
2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
and SetWindowBackground methods
* Control.cs:
- Setting proper ControlStyles
- We no longer call XplatUI.SetWindowBackground and XplatUI.
EraseWindowBackground, instead we draw the window background
ourselves in PaintControlBackground. This behaviour is
required to match MS, where, when OnPaintBackground is not
called, the background is not drawn.
- Removed unneeded Refresh() in set_Text
* Hwnd.cs: Dropped the ErasePending support. No longer needed
* XplatUIX11.cs:
- Created DeriveStyles method to translate from CreateParams to
FormBorderStyle and TitleStyle, also handles BorderStyle (which
matches FormBorderStyle enum values)
- Consolidated SetHwndStyles and CalculateWindowRect border/title
style calculations into single DeriveStyles method
- Fixed CreateWindow to (finally) use Gravity. This prevents X11
from redrawing the whole window on any resize or expose.
- Fixed CreateWindow usage of SetWindowValuemask. Before not
all styles were applied to our whole/client window appropriately
- Removed EraseWindowBackground() and SetWindowBackground() methods
- Removed handling of WM_ERASEBKGND message from DefWndProc, we
no longer clear/redraw the background through X
- Removed handling of erase_pending bit, we have no use for it (or
so it seems)
* XplatUIOSX.cs:
- Removed generation and handling of WM_ERASEBKGND message
- Removed EraseWindowBackground() and SetWindowBackground() methods
- Removed handling of hwnd.ErasePending flag
* XplatUIWin32.cs:
- Removed EraseWindowBackground() and SetWindowBackground() methods
- We no longer call EraseWindowBackground on PaintEventStart, we
ignore the fErase flag, erasing is handled in Control in the
background handler
* Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrids.cs: Get sub properties
* PropertyGridView.cs: Fix drawing code
2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: Fixes 76383
2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: Sets location and size before attachment
* ThemeWin32Classic.cs: Fixes border drawing and calculations
* DataGridDrawingLogic.cs: Fixes border drawing and calculations
2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Fixes border drawing
2005-10-10 Miguel de Icaza <miguel@novell.com>
* MimeIcon.cs: Ignore errors if the file can not be read.
2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
* Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
- Fixed border calculations
- Fixed horizontal scrolling in single column listboxes
- Fixed drawing issues
2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
FormBorderStyle enum
* XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
code to determine FormBorderStyles from CreateParams
* Form.cs:
- Fixed bug where we'd set the wrong window styles if we were
not creating an MDI window
- Added call to XplatUI.SetBorderStyle when form borders are set
* Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
* Hwnd.cs:
- Removed obsolete edge style
- Switched from BorderStyle to FormBorderStyle
2005-10-10 Jackson Harper <jackson@ximian.com>
* Form.cs: Use the property to get the window handle instead of
accessing it directly. Prevents a null reference exception.
2005-10-10 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Don't adjust the rect given to DrawString now that
our libgdiplus draws correctly.
2005-10-08 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Don't try to find the clicked on node if there are
no nodes in the tree.
2005-10-08 Alexander Olk <alex.olk@googlemail.com>
* RichTextBox.cs:
restore
2005-10-08 Alexander Olk <alex.olk@googlemail.com>
* ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
ErrorProvider.cs:
Use ResPool for brushes and dispose System.Drawing objects that
are not used anymore.
2005-10-07 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Use the new borders instead of drawing them
ourselves.
2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
* Calling UpdateBounds after changing the window's BorderStyle
since the style can change the ClientSize
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Made PaintControlBackground virtual
* Panel.cs: Overriding PaintControlBackground instead of using paint
event; paint event method was interfering with 'real' users of the
event.
2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: remove border drawing since it is handled
by the base control class now and was causing double border drawing.
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Panel.cs: Redraw our background on paint. Not a pretty solution,
but it does seem to match MS behaviour. This fixes bug #75324
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: A better DrawReversibleRectangle version, however
somewhat hackish looking
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- We now accept Enter even if AcceptEnter is false, if the containing
form does not have an AcceptButton configured (fixes bug #76355)
- Calculations are now fixed to no longer use Width/Height, but
ClientSize.Width/Height, since we now support borders (this was
a result of fixing borders and therefore bug #76166)
- We no longer show the horizontal scrollbar if TextBox.WordWrap is
true (fixes bug #76354)
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Defaulting BorderStyle and setting it in XplatUI when our window
is created
- Added enum check to InternalBorderStyle setter
* XplatUIX11.cs:
- Added drawing of window borders
- Now properly calculates WM decorations offset for toplevel
windows (fixes bug #74763)
* XplatUIWin32.cs:
- Implemented BorderStyles for windows (we're letting win32 draw
the border for us)
- Fixed the signature for SetWindowLong
* PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
setting borders
* UpDownBase.cs: Remove drawing of borders, this is handled by
the driver, outside the client area
* ListView.cs: Removed bogus border calculations. The control should
be oblivious to borders, since those are not part of the client
area.
* X11DesktopColors.cs: Commented out (currently) unneeded variables
* ThemeWin32Classic.cs: Removed border calculations from ListView
drawing code
2005-10-06 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Clear out the old virtual position remove
all the unneeded calls to CreateGraphics.
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Use proper color for highlighted text; fixes #76350
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs:
- Added loading and setting of our new default icon
- Only set icon if window is already created
2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
* Label.cs:
- Do not explicitly set the foreground and background colors, to
allow inheriting from parents (fixes #76302)
- Use Control's InternalBorderStyle property to deal with borders
2005-10-06 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Use the new xplatui function to draw a
reversible rect.
2005-10-06 Jackson Harper <jackson@ximian.com>
* Form.cs: Add the parent before creating the child context cause
we need the parent when setting up the child.
2005-10-06 Jackson Harper <jackson@ximian.com>
* FolderBrowserDialog.cs: redo the tree population code so a
second thread isn't used. Should be a lot faster and more stable
now.
2005-10-05 Jackson Harper <jackson@ximian.com>
* TreeView.cs: There are no expand/collapse boxes if the node has
no children.
2005-10-05 Jackson Harper <jackson@ximian.com>
* X11DesktopColors.cs: Get menu colours for the gtk theme.
2005-10-05 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Fix InitialDirectory
2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs:
- Fixes changing between styles
- Fixes simple mode
- Fixes last item crashing when navigating with keyboard
2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
* LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
2005-10-05 Jackson Harper <jackson@ximian.com>
* TreeView.cs: If updating the root node do a full refresh.
* TreeNode.cs: The root node should be expanded by default. Also
added a utility prop to tell if we are the root node.
* TreeNodeCollection.cs: Only refresh if the node we are being
added to is expanded. Also added a comment on a potential
optimization.
2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
* Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
in dispose method. Fixes #76330
2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
* ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
- Implements vertical and horizontal scrolling using XplatUI
- Fixes keyboard navagation
- Fixes EnsureVisible
- Drawing fixes
- Handles and draws focus properly
2005-10-04 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Use upper case initials for internal fields. ImageStream:
Create handle. NET_2_0: Destroy handle when value is null.
2005-10-03 Jackson Harper <jackson@ximian.com>
* ScrollBar.cs: My last scrollbar patch was broken. This is a
revert and a new patch to prevent the thumb from refreshing so
much.
2005-10-02 Jackson Harper <jackson@ximian.com>
* ScrollBar.cs: Don't update position if it hasn't actually
changed. This occurs when you hold down the increment/decrement
buttons and the thumb gets to the max/min.
2005-10-01 Jackson Harper <jackson@ximian.com>
* Form.cs:
* MdiChildContext.cs:
* MdiClient.cs: Implement ActiveMdiChild in Form.
2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Include ComboBoxEdit flag for the edit item
2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
* X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
be found
2005-09-30 Jackson Harper <jackson@ximian.com>
* ListBox.cs: Don't do a full refresh unless some data has
actually changed.
2005-09-30 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Make sure that the checkboxes size is factored in
even when not visible.
2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
* FileDialog.cs: Fix Jordi's build break
2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
* FileDialog.cs:
- Use standard the Windows colours for the combobox as espected
- Dispose objects that use resouces when no longer need them
2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
* X11DesktopColors.cs: Initial incomplete implementation
* XplatUIX11.cs: Added call to initialize X11DesktopColors
2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
* Theme.cs:
- Switched Theme color names to match the names defined in
System.Drawing.KnownColors. Life's hard enough, no need to make
it harder.
- Added setters to all theme color properties so themes can set
their color schemes. The setters also propagate the color changes
to System.Drawing.KnownColors via reflection
* ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
use the new, more logical theme color names
* XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
post-NT colors
* ThemeWin32Classic.cs:
- Removed code to set the old classic Windows colors. Instead it
now relies on the colors returned by System.Drawing.KnownColors
which will be either modern static colors (Unix) or colors
read from the user's configuration (Win32)
- Updated to use the new, more logical theme color names
- Switched DataGrid drawing code to use only Theme colors instead of
a mix of System.Drawing.KnownColors and Theme colors
- DrawFrameControl(): Removed code that fills the button area, the
fill would overwrite any previous fill done by a control. This
fixes bug #75338
- Added DrawReversibleRectangle() stub
* ScrollableControl.cs: Set visible state to false when scrollbars
are removed (pdn fix)
* XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
DrawReversibleRectangle() method to allow drawing primitive
'rubber bands'
* XplatUIX11.cs: Implemented DrawReversibleRectangle()
2005-09-30 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Add(Icon): Create handle.
2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
* ListView.cs:
* ThemeWin32Classic.cs:
- Fixes detail mode
- Sets clippings
- Issues with drawing
2005-09-30 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Moved RecreateHandle back to ImageList as event
source has to be the ImageList.
2005-09-30 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
2005-09-30 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: ReduceColorDepth: Clean up pointer operations.
2005-09-30 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: ImageCollection: Removed owner field as it is no more used.
2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
* GridItem.cs: Fixed TODOs
* GridItemCollection.cs: Added ICollection interface
2005-09-30 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Resize icons when needed.
2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
* ListViewItem.cs
- Fixes GetBounds and returns on screen rects
* ListView.cs:
- Fixes vertical and horzintal scrolling of items
* ThemeWin32Classic.cs:
- Fixes drawing
2005-09-29 Raja R Harinath <harinath@gmail.com>
* ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
2005-09-29 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Added comments about handle creation. Moved Handle,
HandleCreated and OnRecreateHandle implementations to ImageCollection.
Handle is created in Add methods.
2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridDrawingLogic.cs:
- Takes rows into account on Colum calculations
- Returns the column when clickig
* DataGrid.cs:
- Fixes default HitTestInfo values
- Fixes HitTestInfo.ToString
- Fixes ResetBackColor
2005-09-28 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs: Obey rules for fixed sized windows (no
sizing or cursor changes). Also added some temp code to draw the
titlebars text (Makes dev a little easier).
2005-09-28 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: Fixes bug 76253
2005-09-28 Kornél Pál <kornelpal@hotmail.com>
* ImageList.cs: Added comments about the current implementation. Added
ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
Format32bppArgb to preserve transparency and can use Graphics.FromImage
while using the specified ColorDepth. ReduceColorDepth uses unsafe code
with Bitmap.LockBits for better performance. Revised the whole file to
match MS.NET behaviour and provide better performance. Non-public
interface members are calling public members even when they throw
NotSupportedException for better maintainability. Moved ColorDepth,
ImageSize, ImageStream and TransparentColor implementations to
ImageCollection for better performance as these properties are not used
by ImageList.
* ImageListStreamer.cs: Added a new internal constructor that takes an
ImageList.ImageCollection and serializes Images based on
ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
match ImageList property name.
2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
* ListBox.cs: Fixes IndexFromPoint for last item
2005-09-27 Jackson Harper <jackson@ximian.com>
* Form.cs: Set the position of new mdi children correctly.
2005-09-27 Jackson Harper <jackson@ximian.com>
* MdiClient.cs: New mdi children need to be added to the back of
the controls collection so the zorder is set correctly. Also add a
count of all the child windows that have been created.
2005-09-27 Jackson Harper <jackson@ximian.com>
* Form.cs (CreateParams): Setup MDI forms correctly.
2005-09-27 Jackson Harper <jackson@ximian.com>
* MdiChildContext.cs:
* MonthCalendar.cs:
* UpDownBase.cs:
* ListBox.cs:
* ListView.cs:
* TextBoxBase.cs:
* TreeView.cs:
* ScrollableControl.cs:
* ComboBox.cs: Add implicit controls using the new implict control
functionality in ControlCollection. Also try to block multiple
control add in a suspend/resume layout to save some cycles.
2005-09-27 Jackson Harper <jackson@ximian.com>
* Control.cs: Add functionality to the controls collection to add
'implicit controls' these are controls that are created by the
containing control but should not be exposed to the user. Such as
scrollbars in the treeview.
* Form.cs: The list var of the ControlsCollection is no longer
available because of the potential of implicit controls getting
ignored by someone accessing the list directly.
2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Fixed SetChildIndex; it no longer causes a child to
loose it's parent. (Fixed bug introduced in r49103 when we added
setting the child parent to null on Remove)
2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
* DataGridBoolColumn.cs: Marked CheckState private to fix public API.
* Splitter.cs: Added missing attributes for BorderStyle property.
* TextBoxBase.cs: Marked Calculate* methods internal.
* TextBox.cs: Fixed DefaultValue for PasswordChar property to match
MS.NET.
2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: Fixes navigation to the last item in multicolumn lists
2005-09-25 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Update the node bounds correctly regardless of
whether the node is visible.
2005-09-25 Jackson Harper <jackson@ximian.com>
* ImageList.cs: Don't dispose the image after it is added to the
image list. Only reformat images that need to be resized.
2005-09-25 Jackson Harper <jackson@ximian.com>
* ImageList.cs: Don't set the format when changing the image.
2005-09-25 Jackson Harper <jackson@ximian.com>
* TreeView.cs: We can't just assume the node has a font. Use the
treeviews font if no node font is available.
2005-09-25 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Allow the scrollbars to be reset with negative
values.
- Don't add scrollbars to negative sized windows.
2005-09-23 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
old Mono.Posix. Also remove some stray code that shouldn't have
been committed.
2005-09-23 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Attempt at proper sizing of the horizontal
scrollbar. Also don't resize the scrollbars unless they are
visible.
2005-09-23 Jackson Harper <jackson@ximian.com>
* TreeView.cs: We don't need to expand the invalid area when the
selection changes, as this is all drawn in the node's bounding
box. The area needs to be expanded (previous typo was contracting
it) when the focus rect moves.
2005-09-23 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Display the selection box under the correct
circumstances. We were rendering white text with no selection box
before.
2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs(Split): Now updates selection start/end if it points
into a line that's being split. Fixes a FIXME and bug #75258
2005-09-23 Jackson Harper <jackson@ximian.com>
* Binding.cs:
* ListControl.cs: Don't use the path when retrieving binding
managers from the binding context. My bat sense tells me that the
path is only used on insertion.
2005-09-22 Jackson Harper <jackson@ximian.com>
* Splitter.cs: Set the cursor an easier way. (Thanks peter).
2005-09-22 Jackson Harper <jackson@ximian.com>
* Splitter.cs: There are special cursors used for splitting.
* XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
2005-09-22 Jackson Harper <jackson@ximian.com>
* Splitter.cs: Change the cursor appropriately when the splitter
is moused over, so the user actually knows there is a splitter
there.
2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
* Label.cs : Fix ToString method to give same output as MS.NET
2005-09-22 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Create the scrollbars when the handle is created
and add them right away, just make them invisble. Also account for
the window being shrunk vertically to the point that the vert
scrollbar needs to be added.
- Remove some 0.5 adjustments to get around anti aliasing issues.
2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
* MainMenu.cs: Fixes default value
* MenuItem.cs: Fixes default value
2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
* AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
2005-09-21 Jackson Harper <jackson@ximian.com>
* Control.cs: Don't try to set the border style on the window if
it hasn't been created. When the window is created the border
style will be used.
2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (Update): Don't call XplatUI if we don't have a
window handle yet
2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
* ContainerControl.cs: Instead of throwing an exception, print
a one-time warning about Validate not being implemented
* XplatUIWin32.cs: Removed debug output
2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Only set XplatUI background if we expect the windowing
system to handle the background. This stops controls that draw their
own background from flickering
* XplatUIX11.cs: Support custom visuals and colormaps for window
creation. This allows, amongst other things, using MWF X11 windows
with OpenGL.
2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
* OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
GridColumnStylesCollection.cs,
IDataGridColumnStyleEditingNotificationService.cs,
PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
TreeNodeCollection.cs, AmbientProperties.cs,
RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
DataObject.cs, ErrorProvider.cs, Splitter.cs,
DataGridLineStyle.cs, Shortcut.cs, Control.cs,
FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
2005-09-21 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Call Before/After Expand not Collapse when
expanding.
2005-09-20 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Use the more hand looking hand (in most themes).
2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ListViewItem.cs:
- Fixes bug 76120
- Fixes proper storing of subitems
- Fixes not updated items
2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
things if our window handle isn't created yet. Also disabled
debug for TextBoxBase
2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
* MenuAPI.cs: Remove filtering of events to allow menu usage
2005-09-20 Miguel de Icaza <miguel@novell.com>
* Cursor.cs: Allow null to be passed to Cursor.Current.
2005-09-20 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs:
- Change some private methods/fields to protected virtual so that
they can be accessed and overriden in derived classes
- First refactoring of some methods. Derived themes now don't
need to duplicate the complete code from ThemeWin32Classic
* ThemeNice.cs:
- Added nice StatusBar
- Derive from ThemeWin32Classic and not Theme
- Removed duplicate ThemeWin32Classic code
2005-09-20 Miguel de Icaza <miguel@novell.com>
* Control.cs (ControlCollection.Add): If the value null is passed
the control is ignored.
Optimize this loop.
2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
* MenuAPI.cs: Replaced Application.Run() with a loop that tracks
PostQuitMessage state.
* XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
* Application.cs: Our constructor will never get called, move
initialization to fields; fixes bug #75933
2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
* FileDialog.cs :
- Allow files to be selected properly using file name
combo box.
- Add ability to change diretory (absolute / relative)
using file name combo box.
2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs:
- Fixes Multicolumn listboxes item wrong calculations
- Allows to click when only one item is in the listbox
- Fixes crash when no items using keyboard navigation
2005-09-16 Alexander Olk <alex.olk@googlemail.com>
* ComboBox.cs: Reverted almost everything from the latest patch which
broke ComboBox
2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
* ToolTip.cs:
- Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
* ComboBox.cs:
- When DropDownStyle is Simple, it does not show scrollbar
to the last item of the list.
- When DropDownStyle is Simple, it crashed when the list was
scrolled down with the down cursor key.
- Fixed a bug that when DropDownStyle is DropDownList, the
selected item was not shown.
- The position of the selected item was not preserved when
the next dropdown happened.
* ThemeWin32Classic.cs:
- Items were wrapped at the right end.
* CheckedListBox.cs:
- Fixed Add method
* ListBox.cs:
- Items should be fully shown.
- When resizing and vertical scrollbar disappeared, the item
of index 0 should be on the top of the list.
- GetItemRectangle should consider the size of ver. scrollbar
* StatusBar.cs:
- SizingGrip area should not be allocated when it is not
displayed.
- Now it reflects MinWidth of the containing panel and
fixed a crash that happens when its width becomes so small.
2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
* CheckedListBox.cs: Fixes bug 76028
* ListBox.cs: Fixes bug 76028
2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
* DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
* XplatUIX11.cs: fixes System.NullReferenceException in some situations
2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
* IRootGridEntry.cs: Changed namespace to PropertyGridInternal
2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
* IRootGridEntry.cs: Added
* PropertyGridCommands.cs: Added
* PropertiesTab.cs: Added missing methods and property
* PropertyGridView.cs: Made class internal
* PropertyGridTextBox.cs: Made class internal
2005-09-09 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Try to check some other environment variables
if "DESKTOP_SESSION" returns "default"
2005-09-09 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: Corrected background colors (e.g. menus)
* ColorDialog.cs: Use correct background colors for controls
2005-09-09 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: Merged r49535 from ThemeWin32Classic
2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Added initial implementation
* lang.cs: Removed. Was accidentally checked in long time ago
* TODO: Removed. Contents were obsolete
2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertiesTab.cs : Added
2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs : Update
* PropertyGridView.cs : Update
* System.Windows.Forms.resx : Added images and strings
2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
* ThemeNice.cs: Do not dispose Pens retrieved from ResPool
2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
a busy loop right after the Ungrab the X11 display is otherwise
blocked
2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Optimise the use of clipping
2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGrid.cs: fixes recursion bug
2005-09-03 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs:
- Draw RadioButton and CheckBox Buttons with DrawButtonBase
- Cleanup
2005-09-02 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: Draw nice ProgressBars
2005-09-01 Miguel de Icaza <miguel@novell.com>
* VScrollBar.cs: Another buglet found by Aaron's tool.
* ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
bug finder.
2005-08-30 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs:
- Added nicer menu drawing
- Updated DrawTab
- some refactoring
2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
* CreateParams.cs (ToString): Made output match MS
* Control.cs (Text): Don't set Text or Focus via XplatUI unless
handle is already created (to avoid forcing window creation)
* XplatUIX11.cs: Set window text to caption after creating window,
in case Text was set before window was created
* Form.cs: Use this.Text instead of a static string as caption
2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
* NotifyIcon.cs: Don't set the window to visible; this screws
up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
OnPaint without a bitmap)
* XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
happen very often anyway; we could add the check to the WM_PAINT
event generation code
2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
* NotifyIcon.cs: Fill the icon area with a background color, to
avoid 'residue' when transparent icons are drawn
* XplatUIX11.cs:
- Handle whole_window == client_window when destroying windows
- SystrayAdd(): Set client_window to whole_window value to
get mouse and other events passed to NotifyIcon
2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs: Set proper default for Opacity property
* NotifyIcon.cs:
- ShowSystray(): Don't bother creating telling the OS
about the systray item if no icon is provided
- Now handles WM_NCPAINT message to deal with whole/client window
split
- Create window as visible to not get caught by Expose optimization
* Hwnd.cs: Removed debug message
* ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
PaintEventStart/End to use new client argument
* TextBoxBase.cs:
- Commented out debug messages
- Switched PaintEventStart/End to use new client argument
* XplatUI.cs: Added client window bool to PaintEventStart()/
PaintEventEnd() calls, to support drawing in non-client areas
* XplatUIDriver.cs:
- Added client window bool to PaintEventStart()/PaintEventEnd()
calls, to support drawing in non-client areas
- Added conditional compile to allow using MWF BeginInvoke
on MS runtime
* XplatUIX11.cs:
- Added some conditional debug output
- Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
whole/client window split
- Implemented handling of client argument to PaintEventStart()/End()
* Control.cs:
- Throw exception if BeginInvoke() is called and the window handle
or one of the window's parent handles is not created
- Added conditional compile to allow using MWF BeginInvoke on
MS runtime
- get_Parent(): Only sets parent if handle is created. This avoids
forcing window handle creation when parent is set.
- Now fires Layout and Parent changed events in proper order
- Switched to use Handle instead of window.Handle for Z-Order setting,
the get_Parent() patch above causes us to possibly get null for 'window'
- Implemented handling of client argument to PaintEventStart()/End()
- Now reports back to windows that WM_SETCURSOR was handled (to avoid
default handling)
- Now sends a Refresh() to all child windows when Refresh() is called
2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs: Added (non-functional) Opacity property
* XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
* ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
use export MONO_THEME=nice to activate it.
Currently supported controls:
- Button
- ComboBox
- ScrollBar
- TabControl (TabAlignment.Top only, other will follow)
* ThemeEngine.cs: Add theme nice
* ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
if enabled
2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
* Splitter.cs: Resize docked control and its neighbor.
2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
-- Making Windows with Menus layout correctly --
* Form.cs : The first leg of the fix
Menu setter - adjust Client Size as needed to make space for the menu
SetClientSizeCore - doesn't call base version to be able to pass the
menu handle to XplatUI.CalculateWindowRect
* Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
* XplatUIX11.cs: The critical second leg of the fix
GetWindowPos needs to use a recalculated client_rect
so that resizing the window doesn't break layout of child controls.
Also a more complete rule to avoid X Server roundtrips in SetWindowPos
Lots of \t\n killed
2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
* Label.cs: Now properly recalculates width and height on Font and Text
changes if AutoSize is set
2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* TreeView.cs : Revamped drawing logic, and support for FullRowSelect
2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
* ImageList.cs: Makes ToString method compatible with MS
2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuAPI.cs: fixes bug 75716
2005-08-11 Umadevi S <sumadevi@novell.com>
* Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
2005-08-11 Umadevi S <sumadevi@novell.com>
* Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
2005-08-10 Umadevi S <sumadevi@novell.com>
* CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
* Menu.cs: fixes bug 75700
* MenuAPI.cs: fixes navigation issues
2005-08-09 Umadevi S <sumadevi@novell.com>
* CheckedListBox.cs - simple fix for GetItemChecked.
2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Serveral fixes
* ListBox.cs: Serveral fixes
2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Fixes FindString methods and GetItemHeight
* ListBox.cs: Fixes FindString methods
2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGrid.cs: fixes bugs exposed by new tests
2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
* Mime.cs: Compile Mono assembly references only if compiling
with Mono (Allows to build with VS.Net again)
2005-07-28 Marek Safar <marek.safar@seznam.cz>
* Control.cs (PaintControlBackground): Draw background image
corrrectly.
(CheckForIllegalCrossThreadCalls): Stubbed.
* Form.cs (OnCreateControl): Center when should be centered.
* ThemeWin32Classic.cs (DrawPictureBox): Pass size.
2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
* Binding.cs: Binding to properties should be case unsensitive
2005-07-18 vlindos@nucleusys.com
* DataGrid.cs: fixes setmember order
2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
* MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
* FileDialog.cs: FileDialog is now resizable and uses the new
MimeIconEngine
2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: default value
* GridColumnStylesCollection.cs: fixes event firing, checking MappingName
* GridTableStylesCollection.cs: fixes checking MappingName
* DataGridDrawingLogic.cs: fixes drawing logic issues
* DataSourceHelper.cs: rewritten to make compatible with more data sources
* DataGrid.cs: fixes
2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
* MimeGenerated.cs: Use case sensitive comparer for
NameValueCollections
2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: bug fixes, code refactoring
* ThemeWin32Classic.cs: bug fixes, code refactoring
* DataGridDrawingLogic.cs: bug fixes, code refactoring
* DataGrid.cs: bug fixes, code refactoring
* DataGridTextBox.cs: bug fixes, code refactoring
* DataGridColumnStyle.cs: bug fixes, code refactoring
* Theme.cs: bug fixes, code refactoring
2005-07-01 Peter Bartok <pbartok@novell.com>
* TextControl.cs: Quick fix for the reported crash on ColorDialog
and other text box usage
2005-07-01 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Make sure the bottom of the tab covers the pages
border.
2005-06-30 Peter Bartok <pbartok@novell.com>
* Form.cs (ShowDialog): Assign owner of the dialog
* TextBoxBase.cs: Always refresh caret size when deleting, caret
might have been moved to a tag with different height
2005-06-30 Jackson Harper <jackson@ximian.com>
* Form.cs: Don't create an infinite loop when setting focus
* MenuItem.cs: Don't dirty the parents if we don't have any
2005-06-29 Ben Maurer <bmaurer@ximian.com>
* LibSupport.cs: Rename
2005-06-29 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs: Re-align caret after deleting a character
* TextControl.cs:
- DeleteChars(): Ensure that tag covers the provided position
- StreamLine(): Drop reference for dropped tag
2005-06-29 Peter Bartok <pbartok@novell.com>
* TextControl.cs:
- Selections now work properly, anchoring at the initial location
and properly extending in either direction (SetSelectionToCaret(),
SetSelectionStart() and SetSelectionEnd())
- No longer redraws the whole control on selection change, now
calculates delta between previous and new selection and only
invalidates/redraws that area
- Fixed FindPos() math off-by-one errors
- Changed DeleteChars() to verify the provided tag covers the
provided position, selections may have a tag that doesn't cover
the position if the selection is at a tag border
- Fixed off-by-one errors in DeleteChars()
- Added missing streamlining check in DeleteChars() to remove
zero-length tags
- Implemented Invalidate() method, now properly calculates exposures
between two given lines/positions
- Implemented SetSelection()
- Obsoleted and removed FixupSelection()
- Improved RecalculateDocument() logic, removing code duplication
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LibSupport.cs: changes to match different input/output arguments.
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LibSupport.cs: added libsupport.so init routine.
2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlBindingsCollection.cs
- Throws an exception on null datasource when adding
- Checks for duplicated bindings when adding
2005-06-28 Jackson Harper <jackson@ximian.com>
* TreeView.cs (OnKeyDown): Support left and right properly
(navigates as well as expanding and collapsing.
- Add support for Multiply, this expands all the selected nodes
children.
- Fix some tabbing.
2005-06-28 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Implement keyboard navigation, currently supports,
LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
support for toggling checkboxes with the space bar.
2005-06-28 Jackson Harper <jackson@ximian.com>
* OpenTreeNodeEnumerator.cs: Don't move past the begining of the
tree.
2005-06-28 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Add missing event.
2005-06-27 Peter Bartok <pbartok@novell.com>
* TextControl.cs:
- Made line ending size configurable (now allows for counting
lineendings as \n or \r\n)
- Added margin to viewport to keep caret visible on right side
- Fixed translation routines for line/pos to documentpos to consider
cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
- Fixed some line-endings to be unix style
- Fixed Document.FormatText to perform it's calculations 1-based
- Added descriptions for a few methods that might otherwise get
used wrong
- Added NOTE section with some basic conventions to remember at
the top of the file
- Major fixup for RichTextBox selection drawing:
* Fixed crashes when multiple tags on a single line were selected
* fixed selection box drawing not overlaying text
* fixed bogus offset calculation for tags not starting at index 1
* Switched behaviour from using multiple Substrings of a
StringBuilder.ToString() to using multiple
StringBuilder.ToString(start, length) statements, hoping this is
faster (kept original version commented out in the code, in case
original version was faster)
* TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
alignment != Left
* TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
call it as well
2005-06-27 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Move to the left and right with the arrow
keys. These keys don't cycle beyond first and last like
tab. Refresh all the tabs when scrolling them to the left or
right.
2005-06-27 Jackson Harper <jackson@ximian.com>
* TabControl.cs:
- ToString: Added method
- CreateParams: Remove TODO and comment
- OnKeyDown: Cycle through bounds properly.
- SelectedIndex: Scroll to the right or left if we need to
display the newly selected tab.
2005-06-23 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Stay in bounds when cycling. Make sure Handled is
set.
2005-06-23 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Keyboard handling. We now support CTRL-TAB,
CTRL-SHIFT-TAB, and HOME, END are there any others?
2005-06-23 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Get the modifier keys from the keyboard driver.
2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: fixes and enhancements
* ThemeWin32Classic.cs: fixes and enhancements
* DataGridBoolColumn.cs: fixes and enhancements
* DataGridDrawingLogic.cs: fixes and enhancements
* CurrencyManager.cs: fixes and enhancements
* DataGrid.cs: fixes and enhancements
* DataGridColumnStyle.cs: fixes and enhancements
2005-06-22 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Add some missing methods that just call into the
base. Make the TabPageCollection's IList interface behave in the
same manner as the MS implementation.
2005-06-22 Peter Bartok <pbartok@novell.com>
* TextControl.cs: Added sanity check
* TextBoxBase.cs:
- Fixed wrapping behaviour, don't set wrap on single line controls
(this fixes the breakage of colordialog introduced in an earlier
checkin)
- Added rudimentary support for autoscrolling right-aligned controls
(still needs fixing, also, center alignment scroll is missing)
2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
* ScrollBar.cs: Fixes thumbpos on Maximum values
2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGridView.cs: Pass context information to UITypeEditors
2005-06-21 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- Now calling PositionCaret with absolute space coordinates
- Enabled vertical scrolling
- Better tracking of scrollbar changes, tied into WidthChange
event
- Improved cursor tracking
- Removed debug output
* TextControl.cs:
- PositionCaret coordinates are now works in absolute space, not
the canvas
- Improved tracking of document size
- Added events for width and height changes
2005-06-21 Peter Bartok <pbartok@novell.com>
* Form.cs: Set focus to active control when form is activated
* TextControl.cs:
- Added word-wrap functionality to RecalculateLine()
- Added some short function descriptions for VS.Net to aid in
writing dependent controls
- Added Caret property, returning the current coords of the caret
- Added ViewPortWidth and ViewPortHeight properties
- Added Wrap property
- Added CaretMoved event
- Removed some old debug code
- Split() can now create soft splits
- Added PreviousTag()/NextTag() to allow walking "tag-lists"
- Added method to format existing text
- Fixed size/alignment calculations to use viewport
- RecalculateDocument now can handle changing line-numbers while
calculating lines
* TextBox.cs:
- Added some wrap logic, we don't wrap if alignment is not left
- Added casts for scrollbar var, base class switched types to
also support RichTextBoxA
- Implemented handling of scrollbar visibility flags
* TextBoxBase.cs:
- Switched scrollbars type to RichTextBoxScrollBars to support
RichTextBox
- Added tracking of canvas width/height
- Switched scrollbars to be not selectable (to keep focus on text)
- Added central CalculateDocument() method to handle all redraw
requirements
- Added ReadOnly support
- Added WordWrap support
- Fixed handling of Enter key (we now treat it as a DialogKey)
- Fixed caret positioning when h or v scroll is not zero
- Fixed placing/generation of vertical scrollbar
- Added CalculateScrollBars() method to allow updating scrollbar
limits and visibility
- Fixed handling of horizontal scroll
- Added handling of vertical scroll
- Implemented auto-'jump' when caret moves to close to a left or
right border and there is text to be scrolled into view (currently
there's the potential for a stack overflow, until a bug in
scrollbar is fixed)
2005-06-21 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
* Mime.cs:
- added inodes.
- return application/x-zerosize for files with size zero
(if no extension pattern matches).
- check matches collection for strings too.
- return only the first mime type if the name value
collection has more than one mime type.
2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs: Cleaned up some TODOs
* PropertyGridView.cs: Added support for UITypeEditors
2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGrid.cs: clears cached value
2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
* DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
* DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
* DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: fixes colour
2005-06-15 Peter Bartok <pbartok@novell.com>
* MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
* MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
* ButtonBase.cs: Added MWFCategory and MWFDescription attributes
* Control.cs: Added some MWFCategory and MWFDescription attributes
* ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
* Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
usage
2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
* DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
* DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
* DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
* DataGrid.cs: default datagrid settings for Default Styles, fixes
* DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
2005-06-13 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
isn't printed when the user enables dropping. (X11 does accept
drops).
2005-06-13 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Remove some TODOS.
2005-06-13 Jackson Harper <jackson@ximian.com>
* Form.cs: Hook into the mdi framework.
* MdiClient.cs: Use the base control collections add method so
parents get setup correctly. Set the default back colour and dock
style.
* MdiChildContext.cs: New class, this bad actor handles an
instance of an MDI window. Right now there is only basic
support. You can drag, close, and resize windows. Minimize and
Maximize are partially implemented.
2005-06-13 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Mash numbers together properly, otherwise we get
freaky when both vals are negative. NOTE: There are probably other
places in XplatUIX11 that this needs to be done.
2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGrid.cs: implement missing methods, move KeyboardNavigation
* DataGridColumnStyle.cs: fixes signature
2005-06-12 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Use sizing cursors similar to the ones on
windows.
2005-06-11 Jackson Harper <jackson@ximian.com>
* StatusBarPanel.cs: Signature cleanups. Implement
BeginInit/EndInit.
2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: Honors aligment
* GridColumnStylesCollection.cs: Contains is case unsensitive
* GridTableStylesCollection.cs: several fixes
* DataGridTableStyle.cs: default column creation
* DataGridDrawingLogic.cs: fixes
* CurrencyManager.cs: ListName property
* DataGrid.cs: multiple styles support
* DataGridColumnStyle.cs: fixes
2005-06-10 Peter Bartok <pbartok@novell.com>
* Control.cs(Select): Moved SetFocus call to avoid potential
loops if controls change the active control when getting focus
* UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
the up/down buttons
2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
* ImageListConverter.cs: Implemented
2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs: Wired in NumericUpDown control for year
2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs: Removed MonoTodo attributes on Click and
DoubleClick events, since they are not meant to be fired.
2005-06-09 Peter Bartok <pbartok@novell.com>
* UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
Jonathan's standalone controls into MWF, implemented missing
events, attributes and methods; added xxxAccessible classes
* AccessibleObject.cs: Made fields internal so other classes
can change them if needed
2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
* UpDownBase.cs: Complete implementation
* NumericUpDown.cs: Complete implementation
* DomainUpDown.cs: Complete implementation
2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: drawing fixes
* DataGridCell.cs: fixes ToString method to match MSNet
* DataGridTableStyle.cs: fixes
* DataGridBoolColumn.cs: fixes, drawing
* DataGridDrawingLogic.cs: fixes, new methods
* DataGridTextBox.cs: Keyboard and fixes
* DataGrid.cs:
- Keyboard navigation
- Scrolling fixes
- Row selection (single, multiple, deletion, etc)
- Lots of fixes
2005-06-07 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Clear the background area when drawing
buttons.
2005-06-06 Peter Bartok <pbartok@novell.com>
* ImageListStreamer.cs: Fixed signature for GetData
* CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
* ComboBox.cs:
- Added missing ChildAccessibleObject class
- Added missing OnXXXFocus overrides, switched to using those
instead of the event handler
* Control.cs:
- Added Parent property for ControlAccessibleObject
- Fixed signatures
- Fixed attributes
- Added ResetBindings()
* ListBindingConverter.cs: Implemented some methods
* ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
* ImageList.cs: Implemented basic handle scheme, removed TODOs
* ContainerControl.cs: Fixed signature, now subscribing to the
ControlRemoved event instead of overriding the handler, LAMESPEC
* CurrencyManager.cs: Added missing attribute
* MonthCalendar.cs: Added missing properties
2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridColumnStyle.cs: fixes for DataGridColumnStyle
2005-06-06 Gaurav Vaish and Ankit Jain
* DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
* DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
* Control.cs: fixes CreateParams Width / Height.
2005-06-05 Peter Bartok <pbartok@novell.com>
* Win32DnD.cs: Removed compilation warnings
2005-06-05 Peter Bartok <pbartok@novell.com>
* Control.cs (CreateParams): Since we don't know if one of the
properties we use is overridden, lets make sure if we fail accessing
we continue with a backup plan
2005-06-05 Peter Bartok <pbartok@novell.com>
* Win32DnD.cs:
- Removed debug output
- Added MarshalAs attribute to ensure proper marshalling of FORMATETC
struct
- Plugged resource leak
* XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
MS size
2005-06-05 Peter Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Removed DnD code
* Win32DnD.cs: Implemented drop source and drop target functionality
2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UpDownBase.cs: remove duplicate addition of event, enable some code
that was commented out.
* NumericUpDown.cs: added missing attributes and Hexadecimal property.
Validate input when a key is pressed. It works fine now for every
combination of Hexadecimal. Only missing some drawing love when sharing
space with other controls.
2005-06-04 Peter Bartok <pbartok@novell.com>
* Control.cs:
- We need to pass a window for DragDrop, so enable callback events
- Added DnD callback events when being a DragSource
* XplatUI.cs (StartDrag): Added window handle argument
* XplatUIDriver.cs (StartDrag): Added window handle argument
* QueryContinueDragEventArgs: Made fields internally accessible so
drivers can set them
* GiveFeedbackEventArgs: Made fields internally accessible so drivers
can set them
2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: column text editing
* DataGridTableStyle.cs: Respect columns styles created by the user
* DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
* DataGridBoolColumn.cs: bool column editing
* DataGrid.cs: fixes to scrolling, properties, etc
* DataGridTextBox.cs: handle keyboard
* DataGridColumnStyle.cs: fixes
2005-06-02 Jackson Harper <jackson@ximian.com>
* ImageListStreamer.cs: Somewhat broken implementation of
GetObjectData. The RLE needs some work to match MS properly.
2005-06-02 Jackson Harper <jackson@ximian.com>
* X11Dnd.cs: Attempting to keep at least one file in MWF
monostyled.
2005-06-02 Peter Bartok <pbartok@novell.com>
* X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
that way
2005-06-02 Peter Bartok <pbartok@novell.com>
* Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
* XplatUI.cs: Added DoDragDrop() method
* XplatUIDriver.cs: Added DoDragDrop() method
2005-06-02 Jackson Harper <jackson@ximian.com>
* Splitter.cs: Implement BorderStyle.
2005-06-02 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Tie into the X11Dnd subsystem.
* X11Dnd.cs: New file. A subsystem that handles drag and drop on
X11 using XDND.
2005-06-02 Peter Bartok <pbartok@novell.com>
* DataObject.cs:
- Added Data setter
- Fixed broken insertion code for SetData, now also
overwrites any existing entry of the same format name
* Hwnd.cs: Added list of pointers that automatically gets
freed when the window is disposed
* XplatUI.cs: Call driver initialization method when loading
a driver
* Control.cs:
- OnDragLeave takes EventArgs, not DragEventArgs
- Added setting of WS_EX_ACCEPTFILES style when dropping is
supported
- Forces style update when drop state changes
* XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
not perfect since we cannot (yet) call the IDataObject.GetData()
method, we keep getting 0x80004005 error, dunno why)
2005-06-02 Peter Bartok <pbartok@novell.com>
* DragEventArgs.cs: Make fields internal so we can cache the
object and re-set the fields from XplatUI
2005-06-02 Jackson Harper <jackson@ximian.com>
* Control.cs: Add some internal methods so the DnD subsystem can
raise DnD events. Also call into the driver when AllowDrop is set.
* XplatUI.cs:
* XplatUIDriver.cs: New method for setting whether or not a window
is allowed to accept drag and drop messages.
2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
* ScrollBar.cs: Make sure that values sent in Scroll events
are always between Maximum and Minimum.
2005-06-01 Marek Safar <marek.safar@seznam.cz>
* Menu.cs: Call MenuChanged when menuitem visibility has been
changed.
* MenuItem.cs: Rebuild menu when item is (not) visible.
* MainMenu.cs: MainMenu has special MenuChanged.
* Theme.cs: Caption and FrameBorderSize are not fixed.
* XplatUI.cs: Added CaptionHeight,FrameBorderSize.
* XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
* XplatUIX11.cs,
* XplatUIOSX: Caption and FrameBorderSize not implemented yet.
* XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
2005-05-30 Jackson Harper <jackson@ximian.com>
* DataFormat.cs: We can't statically initialize this stuff because
it calls into the xplatui and could create a loop. So we lazy init
it.
2005-05-28 Jackson Harper <jackson@ximian.com>
* Control.cs: Proper implementation of Product(Name/Version).
2005-05-27 Jackson Harper <jackson@ximian.com>
* DataObject.cs: Dont crash if no data is found.
2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
as per status page, guessing it should be set to true
2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: Draws text and basic text formatting
* DataGridTableStyle.cs: set proper formatting text, def header text
* ThemeWin32Classic.cs: new themable paramaters
* DataGridBoolColumn.cs: paint check box, get data, fixes
* DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
* DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
* DataGridColumnStyle.cs: fixes
* Theme.cs: new themable paramaters
2005-05-26 Peter Bartok <pbartok@novell.com>
* ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
* Control.cs: Fixed LowOrder and HighOrder to preserve sign.
2005-05-24 Peter Bartok <pbartok@novell.com>
* OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
missing attributes, etc
* DataGridPreferredColumnWidthTypeConverter.cs: Added
2005-05-24 Peter Bartok <pbartok@novell.com>
* Help.cs: Added, implemented trivial functions, throws up MessageBox
when user tries to get help
* DataObject.cs, DataFormats.cs, LinkArea.cs,
SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
to suppress warnings
* XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
avoid unreachable code warning
2005-05-20 Peter Bartok <pbartok@novell.com>
* CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: Basic painting methods
* DataGridTableStyle.cs: Set table style in the column
* ThemeWin32Classic.cs: Use Theme for colors
* DataGridDrawingLogic.cs: Implement more drawing
* DataGrid.cs: drawing, theming, enhacements, fixes
* DataGridColumnStyle.cs: fixes, drawing
* Theme.cs: theming for Datagrid
2005-05-20 Peter Bartok <pbartok@novell.com>
* Cursor.cs: Implemented GetObjectData() method
2005-05-20 Peter Bartok <pbartok@novell.com>
* Cursors.cs: Added setting of cursor name
* Cursor.cs:
- Implemented constructors
- Implemented Draw and DrawStretched
- Implemented Current property
- Implemented == and != operators
- Implemented Dispose()
- Implemented ToString
- Added missing attributes
* XplatUIX11.cs:
- Added missing reset for OverrideCursor when DoEvents is called
- Fixed creation of cursor, logic was wrong
* XplatUIWin32.cs:
- Added missing reset for OverrideCursor when DoEvents is called
- Fixed creation of cursor, bit arrays were swapped
* Clipboard.cs: Removed obsolete MonoTODO attribute
2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: fixes OnSelectedItemChanged
* ControlBindingsCollection.cs: fixes item range check
2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
* UpDownBase.cs:
- Calc preferred height properly
- Implement missing properties
* NumericUpDown.cs: Implement missing events
2005-05-19 Jackson Harper <jackson@ximian.com>
* TabControl.cs: New method that resizes the tab pages before
redrawing them. This as needed as the control is double buffered
and sizing will not be recalculated unless ResizeTabPages is
called.
* TabPage.cs: Set base.Text instead of Text in the constructor so
that UpdateOwner does not get called. Use the new Redraw method of
TabControl instead of Refresh so the sizing is recalculated.
* ThemeWin32Classic.cs: Draw the text for button tabs.
2005-05-19 Jackson Harper <jackson@ximian.com>
* Control.cs: Paint control background images. Fix typo where
PaintControlBackground was not getting called correctly.
2005-05-19 Peter Bartok <pbartok@novell.com>
* ScrollableControl.cs (DisplayRectangle): Undid my last change until
I can investigate, apparently I broke FileDialog
2005-05-19 Marek Safar <marek.safar@seznam.cz>
* AxHost.cs: Some simple properties.
* Control.cs: window must be accessible after ctor.
* Form.cs: Added TransparencyKey property.
* TextBoxBase.cs: Implemented Clear. Text property can be null.
* XplatUIWin32.cs: SetBorderStyle implemented.
2005-05-18 Peter Bartok <pbartok@novell.com>
* DataObject.cs: Entries are not global but particular to the
DataObject, now it behaves that way
* XplatUIWin32.cs: Implemented Clipboard methods
* Clipboard.cs: Implemented
* ScrollableControl.cs (DisplayRectangle): Fixed calculation
* XplatUIOSX.cs: Updated to final clipboard prototypes
* XplatUIX11.cs: Implemented Clipboard methods
* XplatUIDriver.cs: Updated to final clipboard prototypes
* XplatUIStructs.cs:
- Added BITMAPINFOHEADER struct
- Added ClipboardFormats enum
* X11Structs.cs:
- Added ClipboardStruct
- Added Atom enum items for clipboard types
- Fixed atom types for Selection event structures
* DataFormats.cs:
- Added internal properties and methods for drivers to enumerate
all known formats
- Switched initialization method to allow drivers to assign their
own IDs even for the MS predefined clipboard IDs
* XplatUI.cs: Updated to final clipboard interface
2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
* PropertyGridView.cs: Fixed compiler warnings.
2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs: Added some event calls
* PropertyGridView.cs: Change drawing code to use double buffering
* PropertyGridTextBox.cs: Changed Text property name
* GridItem.cs: Added Bounds property.
* GridEntry.cs: Added Bounds property.
2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
* Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.
2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
* TreeNodeCollection.cs: fixes get/set item ranges
2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Fix item range comparation
* ListView.cs: Fix item range comparation
2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
* FontDialog.cs:
- Clear example panel when OnPaint is called
- Better solution for displaying the example panel text
- Select default indexes in the ListBoxes
2005-05-11 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
2005-05-11 Peter Bartok <pbartok@novell.com>
* LinkArea.cs: Added and implemented LinkAreaTypeConverter class
* SelectionRangeConverter.cs: Implemented
* PropertyGrid.cs: Fixed attribute value
* Control.cs:
- Invoke(): Don't call Begin/EndInvoke if it is not neccessary
- Added Sebastien Pouliot's CAS Stack Propagation fixes
* XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
that's common to all drivers. First methods to go there are
Sebastien Pouliot's CAS Stack Propagation helper methods
* XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
Sebastien Pouliot for CAS Stack Propagation
2005-05-11 Geoff Norton <gnorton@customerdna.com>
* OSXStructs.cs:
XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: fixed some members
* GridColumnStylesCollection.cs: indexed column is case insensitive
* DataGridTableStyle.cs: fixes
* ThemeWin32Classic.cs: add new theme parameter
* Theme.cs: add new theme parameter
* DataGridDrawingLogic.cs: Datagrid's drawing logic
* DataGrid.cs: fixes, new internal properties, etc.
* DataGridColumnStyle.cs: allows to set grid value
*
2005-05-10 Peter Bartok <pbartok@novell.com>
* AccessibleObject.cs:
- Removed MonoTODO attribute on help, method is correct
- Fixed Bounds property
* AxHost.cs: Moved MonoTODO
* ButtonBase.cs: Now setting AccessibleObject properties
* RadioButton.cs: Setting proper AccessibleObject role
* CheckBox.cs: Setting proper AccessibleObject role
* ControlBindingsCollection.cs: Added properties, methods and attributes
* DataFormats.cs: Fixed awkward internal API, and changed to enable
userdefined DataFormats.Format items as well
* ListControl.cs: Removed data_member from the public eye
* OpenFileDialog.cs:
- Made class sealed
- Added missing attributes
* SaveFileDialog.cs: Added missing attributes
* ImageListStreamer.cs: Fixed code that caused warnings
* LinkLabel.cs: Removed unreachable code
* TreeView.cs: Fixed code that caused warnings
* PropertyGridView.cs: Fixed code that caused warnings
* GridColumnStylesCollection.cs: Added missing attributes
* GridTableStylesCollection: Added missing attribute
* PropertyManager: Added .ctor
* SecurityIDType: Added
* DataObject.cs: Implemented class
* LinkArea.cs: Added missing attribute
2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
* RadioButton.cs: call base method to allow to fire OnClick event
* UpDownBase.cs: OnMouseUp call base method
* CheckedListBox.cs: call base method before returning
* TrackBar.cs: call base method before returning
2005-05-10 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fix for #74902, check pending timers when peeking
for messages
2005-05-10 Peter Bartok <pbartok@novell.com>
* DataFormats.cs: Implemented
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
XplatUIX11.cs: Added Clipboard APIs
* XplatUIWin32.cs: Implemented Clipboard APIs
* FolderBrowserDialog.cs: Added missing event, attributes
2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
* CheckBox.cs: call base method to allow to fire OnClick event
2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
* XplatUI.cs: Use PlatformID.Unix under NET_2_0.
2005-05-06 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
* Screen.cs: Implemented
* HelpNavigator.cs: Added
* XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
property
* HelpProvider.cs: Implemented all we can do until we have a CHM
help library (which means that "What's This" does work now)
2005-05-06 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Fix waking up the main loop.
2005-05-05 Peter Bartok <pbartok@novell.com>
* XplatUI.cs: Updated revision
* Form.cs: Removed enless loop
* GroupBox.cs (OnPaint): Added call to base.OnPaint()
* Label.cs (OnPaint): Added call to base.OnPaint()
* ToolTip.cs: Made ToolTipWindow reusable for other controls
* LinkLabel.cs (OnPaint): Added call to base.OnPaint()
* UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
* AxHost.cs: Added
* ButtonBase.cs: Moved base.OnPaint() call to end of method
* ThemeWin32Classic.cs: Replaced references to ToolTip with references
to ToolTip.ToolTipWindow for drawing and size methods; this allows
reuse of ToolTipWindow by other controls
* SizeGrip.cs: Moved base.OnPaint() call to end of method
* XplatUIX11.cs: Now clipping drawing area (experimental)
* PictureBox.cs: Moved base.OnPaint() call to end of method
* Theme.cs: Fixed ToolTip abstracts to match new format
* ErrorProvider.cs: Implemented
2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
* Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
* LinkLabel.cs:
- Adds cursors
- Handles focus
- Implements LinkBehavior
- Fixes many issues
2005-05-03 Jackson Harper <jackson@ximian.com>
* ListView.cs: Calculate the scrollbar positioning on resize and
paint, so they get put in the correct place.
2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
* ColorDialogs.cs: The small color panels are now handled by
SmallColorControl. This fixes drawing of the focus rectangle
and adds a 3D border.
2005-05-03 Peter Bartok <pbartok@novell.com>
* Control.cs: Modified version of Jonathan Chamber's fix for
double-buffering
2005-05-03 Jackson Harper <jackson@ximian.com>
* ListView.cs: Remove redraw variable. Control now handles whether
or not a redraw needs to be done, and will only raise the paint
event if redrawing is needed.
2005-05-03 Jackson Harper <jackson@ximian.com>
* Splitter.cs: No decorations for the splitter form. Cache the
hatch brush.
2005-05-03 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Use dashed lines to connect nodes. Use the
ControlPaint method for drawing the focus rect instead of doing
that in treeview.
2005-05-02 Peter Bartok <pbartok@novell.com>
* LinkLabel.cs: Fixed the fixes from r43566 and 43521
2005-04-29 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Don't clear the GC that will clear the
entire image buffer. Just clear the clipping rectangle.
2005-04-29 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Don't draw list view items that are
outside the clipping rectangle.
2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: added horizontal item scroll
2005-04-29 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Remove some old debug code that was
causing flicker with the new double buffering code.
2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
behave like combobox and comboboxlist (still not sure if this is
correct though).
2005-04-28 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Don't fill the middle of progress
bars. This fills areas outside of the clip bounds that don't need
to be filled.
2005-04-28 Jackson Harper <jackson@ximian.com>
* Control.cs: Don't expose functionality to touch the image buffers.
* ProgressBar.cs:
* ListView.cs: We do not need to (and no longer can) manipulate
the image buffers directly. All of this is handled by Control.
2005-04-28 Peter Bartok <pbartok@novell.com>
* RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
* Combobox:
- Adjust control's height for non-simple comboboxes (bug fix)
- Remove dead code
* MenuAPI.cs: remove unused var
* ScrollBar.cs: remove unsed var
* ListBox.cs: unselect items when clearing
2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
* ListControl.cs: honors OnPositionChanged and default Selected Item
* ListBox.cs: unselect items when clearing
2005-04-27 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Initialize a default keyboard and give a warning
if a "correct" keyboard is not found. This will make us not crash,
but might give some users bad keyboard layouts...seems to be the
same thing rewind does.
2005-04-27 Jackson Harper <jackson@ximian.com>
* BindingManagerBase.cs: Attach the current/position changed
handlers to their respective events.
2005-04-27 Jackson Harper <jackson@ximian.com>
* Control.cs: Make sure that the first WM_PAINT does a full draw,
not just a blit.
* ThemeWin32Classic.cs: Don't fill the background for picture
boxes. This could overright user drawing.
* ComboBox.cs: Just fill the clipping rect not the entire client
rect when drawing the background. This prevents pieces of the
image buffer from getting overwritten and is theoretically faster.
2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Databinding support fixes, fire missing events
* ListControl.cs: implement missing methods and properties, fixes
* ThemeWin32Classic.cs: Databiding support on Drawing
* CheckedListBox.cs: Databinding support fixes, fire missing events
* ListBox.cs: Databinding support fixes, fire missing events
2005-04-25 Peter Bartok <pbartok@novell.com>
* LinkLabel.cs: Length of LinkArea is not allowed to be negative
2005-04-25 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Use the horizontal scrollbars height not width when
determining how much of the client area is available.
2005-04-25 Jackson Harper <jackson@ximian.com>
* Control.cs: Double buffering is handled differently now. As per
the spec, the extra buffer is created in the WM_PAINT message and
passed down to the control's drawing code.
* GroupBox.cs:
* Label.cs:
* CheckBox.cs:
* ProgressBar.cs:
* RadioButton.cs:
* ColorDialog.cs:
* ComboBox.cs:
* PropertyGridView.cs:
* UpDownBase.cs:
* MessageBox.cs:
* MenuAPI.cs:
* ListView.cs:
* ButtonBase.cs:
* SizeGrip.cs:
* ScrollBar.cs:
* ListBox.cs:
* TrackBar.cs:
* ToolBar.cs:
* PictureBox.cs:
* DateTimePicker.cs:
* StatusBar.cs:
* TreeView.cs: Update to new double buffering system.
* MonthCalendar.cs: Uncomment block, as Capture is now
working. Update to new double buffering
* LinkLabel.cs: Lazy init the link collection. Update to new double buffering
* PaintEventArgs.cs: New internal method allows us to set the
graphics object. This is used for double buffering.
* ThemeWin32Classic.cs: Give the picture box drawing code a clip
rectangle. The internal paint_area var has been removed from
StatusBar. The clipping rect should be used instead.
* Theme.cs: Give the PictureBox drawing method a clipping rect.
* TabPage.cs: The RefreshTabs method was removed, so just call the
tab controls Refresh method now.
* TabControl.cs: Update to new double buffering. Make sure the
handle is created before sizing the tab pages, otherwise we will
get stuck in a loop.
2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
* LinkLabel.cs: Fix typo, bug #74719; patch
from Borja Sanchez Zamorano
2005-04-22 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Implement Handle stuff.
* TreeView.cs: Utility methods so nodes can get/lookup by handle.
2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: call base constructors, fixes
* GridColumnStylesCollection.cs: missing events, methods, and functionality
* GridTableStylesCollection.cs: fixes, check duplicate mapping names
* DataGridTableStyle.cs: implements create default column styles
* DataGridBoolColumn.cs: which types can handle
* DataGrid.cs: missing methods, fixes, new functionality
* DataGridColumnStyle.cs: fixes
2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
* FolderBrowserDialog.cs:
- Use a thread to fill the TreeView
- Adjusted some sizes
2005-04-19 Peter Bartok <pbartok@novell.com>
* LinkLabel.cs: (Re-)create the pieces when setting the Text
property. Fixes #74360.
2005-04-19 Jackson Harper <jackson@ximian.com>
* XEventQueue.cs: Lock when getting the lockqueue size.
* PictureBox.cs: Call base OnPaint
2005-04-19 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
messages were no longer being processed (this broke BeginInvoke)
2005-04-18 Jackson Harper <jackson@ximian.com>
* TreeView.cs: buglet that caused node images to get drawn
regardless of whether or not they were in the clipping rectangle.
2005-04-18 Jackson Harper <jackson@ximian.com>
* CurrencyManager.cs: There are four rules for GetItemProperties:
- If the type is an array use the element type of the array
- If the type is a typed list, use the type
- If the list contains an Item property that is not an object, use
that property
- use the first element of the list if there are any elements in
the list.
2005-04-17 Jackson Harper <jackson@ximian.oom>
* TreeView.cs: Calculate plus minus and checkbox bounds when there is a
click. This handles offsets for scrolling properly and reduces
memory. Also fixed GetNode to not offset now that TopNode works
properly.
* TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
2005-04-17 Jackson Harper <jackson@ximian.com>
* CursorConverter.cs: Initial implementation.
2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
* ListControl.cs: work towards complex data binding support on ListControl
* CurrencyManager.cs: work towards complex data binding support on ListControl
* ListBox.cs: work towards complex data binding support on ListControl
2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
* GridTableStylesCollection.cs: fixes name and constructor
* DataGridTableStyle.cs: fixes
* DataGridBoolColumn.cs: fixes names and constructors
* DataGrid.cs: define methods and properties. Some init implementations
* DataGridCell.cs: define methods and properties. Some init implementations
* GridTablesFactory.cs: Define methods and properties
2005-04-15 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Handle proper mouse tracking even if the current
graphics port changes. We still want the coordinates in global screen
coordinates.
2005-04-14 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Handle clicks when plus minus is disabled. Don't
check plus minus or checkbox clicks unless those features are enabled.
2005-04-14 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Add methods for setting the top and bottom visible
nodes. TreeNode::EnsureVisible uses these methods.
* TreeNode.cs: Implement EnsureVisible
2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs: Pospone menu assignation if the window has not been created yet
* XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
size and position
2005-04-12 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Set the TopNode properly when scrolling
occurs. This has the added benifit of reducing the amount of
walking that needs to be done when drawing. Also removed an old
misleading TODO.
* OpenTreeNodeEnumerator.cs: Fix moving backwards.
2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
* Timer.cs: fixes interval setting when the timer is already enabled
2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
* FolderBrowserDialog.cs: First approach
2005-04-09 Peter Bartok <pbartok@novell.com>
* FolderBrowserDialog: Added
2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
* LinkLabel.cs: move drawing code into the theme
* ThemeWin32Classic.cs: drawing code and painting background bugfix
* Theme.cs: define DrawLinkLabel method
2005-04-05 Jackson Harper <jackson@ximian.com>
* BindingContext.cs: Use weak references so these bad actors don't
stay alive longer then they need to.
2005-04-05 Jackson Harper <jackson@ximian.com>
* ListControl.cs: Basic implementation of complex databinding.
* ComboBox.cs:
* ListBox.cs: Add calls to ListControl databinding methods.
2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs:
- Don't change PopupButtonState to Normal when the
PopupButton gets pressed several times.
- Renamed ButtonPanel to PopupButtonPanel
2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
* ColorDialog.cs: Use cached objects instead of creating them
* LinkLabel.cs: Use cached objects instead of creating them
* Splitter.cs: Use cached objects instead of creating them
* FontDialog.cs: Use cached objects instead of creating them
* PropertyGridView.cs: Use cached objects instead of creating them
* MessageBox.cs: Use cached objects instead of creating them
* FileDialog.cs: Use cached objects instead of creating them
* ThemeWin32Classic.cs: Use cached objects instead of creating them
* TreeView.cs: Use cached objects instead of creating them
2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
* Control.cs: use Equals to compare the font since no == op
* ScrollBar.cs: use Equals to compare the font since no == op
2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
* SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
2005-04-01 Jackson Harper <jackson@ximian.com>
* Binding.cs: Implement IsBinding.
* BindingManagerBase.cs:
* PropertyManager.cs:
* CurrencyManager.cs: Add IsSuspended property.
2005-04-01 Jackson Harper <jackson@ximian.com>
* Binding.cs: Had some IsAssignableFrom calls backwards.
2005-04-01 Jackson Harper <jackson@ximian.com>
* Binding.cs: Handle null data members when pulling data.
* PropertyManager.cs: Handle the data member being a property that
does not exist.
2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: fixes signature
* DataGrid.cs: calls right constructor
2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
* GridColumnStylesCollection.cs: implements GridColumnStylesCollection
* GridTableStylesCollection.cs: implements GridTableStylesCollection
* DataGridTableStyle.cs: implements DataGridTableStyle
* DataGridBoolColumn.cs: implements DataGridBoolColumn
* DataGridTextBox.cs: implements DataGridTextBox
* DataGridColumnStyle.cs: implements DataGridColumnStyle
2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs: Added simple PopupButton class for ButtonPanel
2005-03-29 Peter Bartok <pbartok@novell.com>
* Application.cs:
- Properly implemented CompanyName property
- Fixed LocalUserAppDataPath and UserAppDataPath, now properly
returns a path that includes CompanyName, ProductName and
Version (fixes bug #70330)
2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
* TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
fixes bug #72588.
2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
- Added ReadOnly CheckBox
- Further refactoring: moved some code from Open-/SaveFileDialog
to FileDialog
2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
* OpenFileDialog.cs: Fixed CheckFileExists
* FileDialog.cs:
Moved FileView and DirComboBox outside FileDialog class.
They can now be used outside FileDialog
2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
* SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
- Added missing CreatePrompt property in SaveDialog
- Overall SaveDialog handling should be better now
- Added non standard ShowHiddenFiles property
- Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
- Added InitialDirectory and RestoreDirectory support
2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs: Made dirComboBox usable
2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs: Added Filter support (case sensitiv)
2005-03-24 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Need a couple more pixels for the lines.
2005-03-23 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Give the tab page focus when it is selected.
2005-03-23 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Account for the drawing of tabs borders when
invalidating. If the slider was clicked dont do click detection on
the tabs.
2005-03-23 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Fix typo, emilinates an unneeded expose event.
2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
* CategoryGridEntry.cs: Added
* GridItem.cs: Added helper properties
* PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
* GridEntry.cs: Updated code for collection
* PropertyGrid.cs: Cleaned up some formatting
* PropertyGridView.cs: Added drop down functionality for enums.
* GridItemCollection.cs: Added enumerator logic
* PropertyGridEntry.cs: Added
2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs:
- Removed unnecessary commented code
- Fixed handling for entering the filename manually in the combobox
2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
2005-03-18 Peter Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
them being touching the border
2005-03-18 Peter Bartok <pbartok@novell.com>
* TextControl.cs: Quick hack to center text better
2005-03-18 Peter Bartok <pbartok@novell.com>
* ControlPaint.cs:
- Don't throw NotImplemented exceptions, just print a notice once
instead (requested by Miguel). This makes running existing SWF
apps a bit easier
* Control.cs:
- Commented out Drag'N'Drop XplatUI call (no driver support yet)
- Added context menu trigger on right click
* Panel.cs: Trigger invalidate on resize
* StatusBar.cs:
- Removed old double-buffer drawing
- Added ResizeRedraw style to force proper update of statusbar
* ListView.cs:
- Removed debug output
* ThemeWin32Classic.cs:
- Fixed drawing of status bar, now draws Text property if there
are no defined panels
2005-03-18 Jackson Harper <jackson@ximian.com>
* ImageList.cs: When the image stream is set pull all the images
from it.
* ImageListStreamer.cs: Implement reading image list streams.
2005-03-18 Peter Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs (DrawPictureBox):
- Fixed calculations for centered drawing
- Fixed drawing for normal mode, not scaling the image on normal
2005-03-18 Peter Bartok <pbartok@novell.com>
* ComboBox.cs: Now also firing the OnKeyPress events for the embedded
textbox
* FileDialog.cs:
- Made Open/Save button the accept button for FileDialog
- Tied the cancel button to the IButtonControl cancel button
- Save/Open now properly builds the pathname
- Now handles user-entered text
- Preventing crash on right-click if no item is selected
- Fixed Text property, now uses contents of textbox
- Fixed SelectedText property, now just returns the text part that
is selected in the text box
2005-03-18 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Use the proper func for drawing the focus
rect, make sure to de-adjust the interior rect after drawing the
tab text.
2005-03-18 Peter Bartok <pbartok@novell.com>
* MenuAPI.cs: Remove menu *before* executing selected action to
prevent the menu from 'hanging around'
2005-03-17 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Implemented WorkingArea property
2005-03-17 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fixed menu coord calculations
* MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
for calculating offsets
2005-03-17 Peter Bartok <pbartok@novell.com>
* Hwnd.cs: Do not consider menu presence for default client
rectangle location/size
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
translation functions
* FileDialog.cs: Fixed (what I presume is a) typo
2005-03-17 Jonathan Gilbert <logic@deltaq.org>
* XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
X access (avoids X-Async errors)
2005-03-16 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Raise the SelectedIndexChanged event.
2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
* FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
- Removed vertical ToolBar and replaced it with a custom panel
(desktop and home button already work)
- Added Help button (some controls get resized or relocated then)
- Draw correct text depending on Open or Save.
- Fixed some typos...
2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ScrollBar.cs:
- Only change Maximum and Minimum when need it (bug fix)
2005-03-15 Peter Bartok <pbartok@novell.com>
* Form.cs: Use Handle for icon, to trigger creation if
the window does not yet exist
* Control.cs:
- CanSelect: Slight performance improvement
- Focus(): Preventing possible recursion
- Invalidate(): Removed ControlStyle based clear flag setting
- WM_PAINT: fixed logic for calling OnPaintBackground
- WM_ERASEBKGND: Fixed logic, added call to new driver method
EraseWindowBackground if the control doesn't paint background
* XplatUIWin32.cs:
- Moved EraseWindowBackground() method to internal methods
- Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
is sent via SendMessage on BeginPaint call on Win32
* XplatUIX11.cs:
- Added EraseWindowBackground() method
- No longer sends WM_ERASEBKGND on .Expose, but on call to
PaintEventStart, which more closely matches Win32 behaviour
- Fixed Invalidate() call, now updates new ErasePending Hwnd property
- Fixed SetFocus() to properly deal with client and whole windows
* Hwnd.cs: Added ErasePending property
* XplatUIOSX.cs: Stubbed EraseWindowBackground() method
* XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
2005-03-12 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs:
- Fix hard loop when timers exist.
- Fix bugs with middle and right click for 3 button mice.
2005-03-11 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- get_WorkingArea: Need to call X directly, GetWindowPos only
returns cached data now
- Added sanity check to GetWindowPos hwnd usage
2005-03-11 Jackson Harper <jackson@ximian.com>
* BindingManagerBase.cs: This method isn't used anymore as
PullData now updates the data in the control.
2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs: fixes menu drawing on X11
* MenuAPI.cs: fixes menu drawing on X11
2005-03-11 Peter Bartok <pbartok@novell.com>
* Control.cs: Changed OnCreateControl behaviour based on a suggestion
from Jonathan Gilbert; should fix bug #73606
* XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
in Screen coordinates. Thanks, Jordi.
* Form.cs: Added missing attribute
2005-03-11 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Rudimentary Mdi support
- Removed outdated FormParent code
- Implemented lots of missing properties and methods, still missing
transparency support
- Added missing attributes
- Implemented support for MaximumBounds
- Added firing of various events
* XplatUI.cs: Added SetIcon() method
* XplatUIDriver.cs: Added SetIcon() abstract
* XplatUIOSX.cs: Stubbed out SetIcon() method
* XplatUIX11.cs:
- Implemented SetIcon() support
- Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
- Switched to unix line endings
* XplatUIWin32.cs:
- Made POINT internal so for can access it as part of MINMAX
- Implemented SetIcon() support
- Implemented support for CLIENTCREATESTRUCT (but might have to drop
native Mdi support again, might have to go managed)
* Control.cs: Now fires the StyleChanged event
* MdiClient.cs: Added; still mostly empty
2005-03-10 Peter Bartok <pbartok@novell.com>
* SaveFileDialog.cs: Added emtpy file
2005-03-08 Peter Bartok <pbartok@novell.com>
* Control.cs: Fixed bug #73190; now invokes CreateControl (which
in turn triggers OnCreateContro) when creating a handle for the
first time.
* TextControl.cs: Fixed endless loop in certain cases when
replacing the current selection
2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
* ScrollBar.cs:
- Honors NewValue changes in Scroll events allowing apps to change it
- Adds First and Last Scroll events
- Fixes Thumb events
2005-03-07 Peter Bartok <pbartok@novell.com>
* Hwnd.cs: Added DefaultClientRectangle property
* XplatUI.cs: Now using the X11 driver Where() method, which provides
more detailed debug information
* XplatUIX11.cs:
- Fixed size-change feedback loop, where we would pull an old size
off the queue and mistakenly change our window's size to an
earlier value
- Now compressing ConfigureNotify events, to reduce looping and
redraw issues
* TextBoxBase.cs: Preventing crash when no text is set and ToString()
is called
2005-03-07 Jackson Harper <jackson@ximian.com>
* Binding.cs: Push data pushes from data -> property. Check if the
property is readonly when attempting to set it.
2005-03-07 Jackson Harper <jackson@ximian.com>
* Binding.cs: Format and parse data correctly. Use ASsignableFrom
instead of IsSubclassOf. Pulling data now sets the value on the
control.
* PropertyManager.cs:
* CurrencyManager.cs: Just need to pull data when updating now,
because PullData will set the value on the control.
2005-03-04 Jackson Harper <jackson@ximian.com>
* Binding.cs: Implement data type parsing and converting on pulled
data. TODO: Are there more ways the data can be converted?
2005-03-04 Jackson Harper <jackson@ximian.com>
* Binding.cs: Support <Property>IsNull checks. Also bind to the
controls Validating method so we can repull the data when the
control loses focus.
2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
* ColumnHeader.cs:
- Fixes null string format
* ListView.cs:
- Adds enum type checks
- Fixes redrawing and recalc need after changing some properties
- Fixes on focus_item set after the event
- Fixes adding columns after the control has been created
* ThemeWin32Classic.cs:
- Fixes CheckBox focus rectangle
- Fixes ColumnHeader drawing
2005-03-03 Jackson Harper <jackson@ximian.com>
* Binding.cs: Bind to <Property>Changed events so we can detect
when properties are changed and update the data.
2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
* ImageList.cs:
- Changes 32-bit pixel format to Format32bppArgb to allow transparency
- Fixes ImageList constructor with ImageList container
- Fixes image scaling (wrong parameters at DrawImage)
2005-02-02 Jackson Harper <jackson@ximian.com>
* Binding.cs: Make property searches case-insensitive. Eliminate
some duplicated code.
2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs:
- Handle focus event
- Fix scrollbar events
- Discard highlighted item if remove it
- Fixes SelectedItem with strings
2005-03-01 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Fixed Visible property, now follows (once again) parent chain
to return false if any control in the chain is visible=false
- Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
- Fixed several places where is_visible instead of Visible was used
- Implemented FIXME related to focus selection when setting focused
control to be invisible
* XplatUIWin32.cs: Now using proper method to find out if window is
visible. Thanks to Jordi for pointing it out
2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: show/hide scrollbar instead of creating it
2005-02-27 Jackson Harper <jackson@ximian.com>
* CurrencyManager.cs: Add PositionChanged stuff.
2005-02-27 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
* XplatUIOSX.cs: Added GetMenuOrigin() stub
* XplatUIWin32.cs: Implemented GetMenuOrigin()
* XplatUIX11.cs:
- Implemented GetMenuDC()
- Implemented GetMenuOrigin()
- Implemented ReleaseMenuDC()
- Implemented generation of WM_NCPAINT message
- Implemented generation and handling of WM_NCCALCSIZE message
* Form.cs: Added debug helper message for Jordi's menu work
* Hwnd.cs:
- Modified ClientRect property; added setter, fixed getter to handle
setting of ClientRect
- Added MenuOrigin property
2005-02-26 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- Destroys the caret if a window that's being destroyed contains it
- Ignores expose events coming from the X11 queue for windows that
already are destroyed
- Now uses the proper variable for handling DestroyNotify, before we
marked the wrong window as destroyed
- Improved/added some debug output
2005-02-26 Peter Bartok <pbartok@novell.com>
* X11Keyboard.cs: Fixes to work on 64bit systems
2005-02-26 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Now calling OnHandleDestroyed from DestroyHandle()
instead of Dispose()
- Removed bogus call to controls.Remove() from DestroyHandle()
2005-02-26 Peter Bartok <pbartok@novell.com>
* Control.cs: Properly destroy child windows when our handle is
destroyed
2005-02-25 Peter Bartok <pbartok@novell.com>
* XplatUI.cs:
- Added 'DriverDebug' define to allow tracing XplatUI API calls
- Alphabetized Static Methods and Subclasses
* XplatUIX11.cs:
- Added XException class to allow custom handling of X11 exceptions
- Created custom X11 error handler, tied into XException class
- Added support for MONO_XEXCEPTIONS env var to allow the user
to either throw an exception on X errors or continue running
after displaying the error
- Added handling of DestroyNotify message
- Added handler for CreateNotify message (still disabled)
- Improved (tried to at least) Where method to provide file and lineno
* X11Structs.cs:
- Added XErrorHandler delegate
- Added XRequest enumeration (to suppor translation of errors)
2005-02-25 Jackson Harper <jackson@ximian.com>
* PropertyManager.cs: Implement editing features
* CurrencyManager.cs:
* Binding.cs: First attempt at UpdateIsBinding
* BindingManagerBase.cs: Call UpdateIsBinding before
pushing/pulling data.
2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuAPI.cs: Respect disabled items
* ThemeWin32Classic.cs
- Caches ImageAttributes creation for DrawImageDisabled
- Fixes vertical menu line drawing
- Draws disabled arrows in disable menu items
2005-02-24 Peter Bartok <pbartok@novell.com>
* Hwnd.cs:
- Added UserData property to allow associating arbitrary objects
with the handle
- Fixed leak; now removing Hwnd references from static windows array
* XplatUIWin32.cs:
- Fixed Graphics leak in PaintEventEnd
- Removed usage of HandleData, switched over to Hwnd class
* HandleData.cs: Removed, obsoleted by Hwnd.cs
2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
* ScrollBar.cs: Fixes bug
* TrackBar.cs: removes death code, clipping, mimize refreshes,
keyboard navigation enhancements
2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
* Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
* GroupBox.cs: Add control styles
* Label.cs: Add control styles
* UpDownBase.cs: Add control styles
* ListBox.cs: Add control styles
* XplatUIWin32.cs: Fixes wrong parameter order
2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
* ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
2005-02-23 Jackson Harper <jackson@ximian.com>
* PropertyManager.cs: Implement property binding. This doesn't
seem to work yet though as (I think) there are some bugs in
System.ComponentModel.PropertyDescriptor.
* BindingContext.cs: Use new PropertyManager constructor.
2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
* ProgressBar.cs: use clip region in ProgressBar
* ThemeWin32Classic.cs: use clip region in ProgressBar
2004-02-22 Jackson Harper <jackson@ximian.com>
* BindingsCollection.cs: Remove some debug code.
2005-02-22 Jackson Harper <jackson@ximian.com>
* BindingContext.cs:
* ControlBindingsCollection.cs:
* CurrencyManager.cs:
* Binding.cs:
* BindingManagerBase.cs: Initial implementation
* BindingsCollection.cs: Add an internal contains method that the
BindingManagerBase uses to ensure bindings aren't added twice to
the collection.
* PropertyManager.cs: Stubbed out.
* Control.cs:
* ContainerControl.cs: Hook up databinding
2005-02-22 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs:
OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
Fixed Invalidate/Update chain.
Fixed tons of other minor bugs (this is almost a complete rewrite).
2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: do subcontrol creation when the control is created
2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
* Label.cs: fixes image drawing (image and imagelist)
* ThemeWin32Classic.cs: cache brushes
2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs: Move menu drawing code to Theme class
* ComboBox.cs: Move ComboBox drawing code to Theme class
* MenuItem.cs: Move menu drawing code to Theme class
* MenuAPI.cs: Move menu drawing code to Theme class
* ThemeWin32Classic.cs: New methods
* CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
* ListBox.cs: Move Listbox drawing code to Theme class
* Theme.cs: New methods
2005-02-20 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
only process mnemonics on those)
- Fixed event sequence for key handling; first calling
ProcessKeyEventArgs now
* TextBoxBase.cs:
- Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
for processing non-character keys
- Fixed WM_CHAR to generate proper event sequence before processing
* XplatUIWin32.cs: Added ALT key state to ModifierKeys property
generation
2005-02-19 Peter Bartok <pbartok@novell.com>
* UserControl.cs: Added TextChanged event; added attributes
* SizeGrip.cs: Implemented resizing and optional display of grip
* Form.cs: Fixed attribute
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
Changed meaning of ScrollWindow bool argument; instead of the
clear attribute (which will be true usually anyway), it gives the
option of moving child controls as well.
* XplatUIX11.cs:
- Changed to match new ScrollWindow argument
- Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
now handles the implicit parent window a WM puts around us
* ScrollableControl.cs: Implemented (not the prettiest, but it seems
to work)
* TextBoxBase.cs: Adjusted to new ScrollWindow arguments
* TreeView.cs: Adjusted to new ScrollWindow arguments
2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs: Menu integration with non-client area
* MenuItem.cs: Menu integration with non-client area
* MenuAPI.cs: Menu integration with non-client area
2005-02-18 Peter Bartok <pbartok@novell.com>
* MethodInvoker.cs: Added
* MdiLayout.cs: Added
* SendKeys.cs: Started implementation
* ErrorIconAlignment.cs: Added
2005-02-18 Peter Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
* Form.cs: Added handling for Menu-related Non-client messages
2005-02-17 Peter Bartok <pbartok@novell.com>
* UpDownBase.cs: Fixed typo, compilation errors
* DomainUpDown.cs: Fixed attribute value
2005-02-16 Miguel de Icaza <miguel@novell.com>
* UpDownBase.cs: Attach entry events.
Propagate events.
Add ForeColor property, Focused, InterceptArrowKeys (interception
does not work yet).
2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs:
- Redraw non client are on Setmenu
- Calc proper menu starting point
2005-02-17 Peter Bartok <pbartok@novell.com>
* Application.cs: Fixed message_filter check
2005-02-17 Peter Bartok <pbartok@novell.com>
* Application.cs: Now calls registered message filters
* DockStyle.cs: Fixed attribute
* Form.cs: Fixed attribute
* Menu.cs: Fixed attribute
* ToolTip.cs: Fixed attribute
* TreeNode.cs: Added missing attributes and arranged in regions
* PropertyGrid.cs: Fixed signatures
* TreeNodeCollection.cs: Added attributes
* Splitter.cs: Added missing attributes; arranged into regions
* TabPage.cs: Added missing attributes; arranged into regions
* TextBoxBase.cs: Added missing attributes
* TextBox.cs: Added missing attributes
* ArrangeDirection.cs: Added missing attributes
* TreeNodeConverter.cs: Added stub (needed for TreeNode)
* ToolBarButton.cs: Fixed attributes
* AnchorStyles.cs: Fixed attribute
* TrackBar.cs: Fixed attributes
* TabControl.cs: Added missing attributes and arranged into regions
* ToolBar.cs: Fixed attribute
* StatusBar.cs: Fixed signature, organized into regions and added
attributes
* StatusBarPanel.cs: Fixed attributes
* ContentsResizedEventArgs.cs: Implemented
* ContentsResizedEventHandler.cs: Implemented
* DateBoldEventArgs.cs: Implemented
* DateBoldEventHandler.cs: Implemented
* UpDownEventArgs.cs: Implemented
* UpDownEventHandler.cs: Implemented
2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs: first Menu NC refactoring
* MenuAPI.cs: first Menu NC refactoring
2005-02-16 Peter Bartok <pbartok@novell.com>
* ImeMode.cs: Added missing attributes
* Menu.cs: Fixed attribute
* GroupBox.cs: Fixed attribute
* Label.cs: Fixed attribute
* ColorDialog.cs (RunDialog): Removed TODO attribute
* ComboBox.cs: Fixed attributes
* ListControl.cs: Added missing attributes
* PropertyGrid.cs: Fixed attributes
* Control.cs: Fixed attributes
* ListViewItem.cs: Added TypeConverter attribute
* NotifyIcon.cs: Fixed attributes
* ListView.cs: Fixed attributes
* ButtonBase.cs: Fixed attribute
* ImageList.cs: Added missing attributes
* ContainerControl.cs: Fixed signature
* CheckedListBox.cs: Fixed attribute; added missing attributes
* Panel.cs: Fixed attributes
* PropertyTabChangedEventArgs.cs: Added missing attribute
* PropertyValueChangedEventArgs.cs: Added missing attribute
* Binding.cs: Fixed attribute
* ListViewItemConverter: Implemented ListViewSubItemConverter class
* ListBox.cs: Fixed attribute; added missing attributes;
* ScrollableControl.cs: Added missing attributes
* PictureBox.cs: Added missing attributes; implemented missing property
* DateTimePicker.cs: Added missing attributes
* Theme.cs (ToolWindowCaptionHeight): Fixed type
* MonthCalendar.cs: Fixed attributes
* StatusBarPanel.cs: Added missing attributes
* SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
2005-02-16 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs: The previous method to enforce height yet remember
the requested high was less than ideal, this is an attempt to do
it better.
* Control.cs: Added comment about possible problem
* Copyright: Updated format
* GridItemType.cs: Fixed swapped values
2005-02-15 Jackson Harper <jackson@ximian.com>
* BaseCollection.cs: Use property so we never access an
uninitialized list. Also initialize the list in the property.
2005-02-15 Peter Bartok <pbartok@novell.com>
* GroupBox.cs (ProcessMnemonic): Implemented
* Label.cs (ProcessMnemonic): Implemented
* ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
hotkeys
2005-02-15 Peter Bartok <pbartok@novell.com>
* RadioButton.cs (ProcessMnemonic): Implemented
* CheckBox.cs (ProcessMnemonic): Implemented
* Control.cs:
- Added handling of WM_SYSxxx keyboard messages to support mnemonic
handling
- Added internal method to allow calling ProcessMnemonic from other
controls
* ContainerControl.cs:
- Started support for handling validation chain handling
- Implemented ProcessMnemonic support
- Added Select() call to Active, to make sure the active control
receives focus
* Form.cs: Setting toplevel flag for Forms (this was lost in the
FormParent rewrite)
* ThemeWin32Classic.cs:
- DrawCheckBox(): Fixed stringformat to show hotkeys
- DrawRadioButton(): Fixed stringformat to show hotkeys
* CommonDialog.cs: Removed WndProc override, not needed
2005-02-14 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
missed those in the rewrite
2005-02-14 Miguel de Icaza <miguel@novell.com>
* NumericUpDown.cs (Increment, ToString): Add.
(DecimalPlaces): implement.
Add attributes.
* UpDownBase.cs: Add the designer attributes.
2005-02-13 Peter Bartok <pbartok@novell.com>
* Panel.cs: Removed border_style, now in Control
* XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
2005-02-13 Peter Bartok <pbartok@novell.com>
* MouseButtons.cs: Added missing attributes
* XplatUIStructs.cs: Added enumeration for title styles
* LeftRightAlignment.cs: Added missing attributes
* Hwnd.cs: Switched to use client_window as handle (slower, but makes
it compatible with Graphics.FromHwnd()
* SelectedGridItemChangedEventArgs.cs: Fixed property type
* Keys.cs: Added missing attributes
* SelectionRange.cs: Added missing attributes
* SelectionRangeConverter.cs: Added
* XplatUI.cs:
- Introduced SetBorderStyle, SetMenu, GetMenuDC and
ReleaseMenuDC methods
- Renamed ReleaseWindow to UngrabWindow
- Added proper startup notice to allow version identification
* Form.cs:
- Added missing attributes
- Removed FormParent concept
* Label.cs: Removed border_style field, now in Control
* RadioButton.cs: Now properly selects RadioButton when focus is
received
* ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
* Control.cs:
- Added missing attributes
- Added borderstyle handling
- Removed FormParent concept support
- Fixed calls to XplatUI to match changed APIs
- Fixed bug that would case us to use disposed Graphics objects
- Removed unneeded internal methods
- PerformLayout(): Fixed to handle DockStyle.Fill properly
- SelectNextControl(): Fixed to properly check common parents
* TextBoxBase.cs: Removed border_style field (now in Control)
* MessageBox.cs:
- Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
fixed calculations for form size
- Added support for localized strings and icons
- Improved form size calculations, added border
* ListView.cs: Removed border_style field (now in Control)
* X11Structs.cs: Moved several structs from X11 driver here
* X11Keyboard.cs: Changed debug message
* Application.cs: Removed FormParent concept support
* CommonDialog.cs:
- Resetting end_modal flag
- Removed FormParent concept support
* NativeWindow.cs: Removed FormParent concept support
* XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
Client area and Non-Client whole window to allow support for WM_NC
messages
* XplatUIOSX.cs: Updated to match latest driver spec; added exception
prevent using it until it supports Hwnd as per Geoff Norton's request
* ToolBar.cs: Fixed drawing, was not doing proper drawing
* PictureBox.cs: Removed border_style field, now in Control
* XplatUIWin32.cs: Added new driver methods
2005-02-12 Peter Bartok <pbartok@novell.com>
* OpacityConverter.cs: Implemented
* Hwnd.cs: Internal class to support drivers that need to emulate
client area/non-client area window behaviour
2005-02-11 Peter Bartok <pbartok@novell.com>
* KeysConverter.cs: Implemented
2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
* Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
* LinkLabel: Added missing attributes
* MainMenu.cs: fixes ToString
* MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
* ListBox.cs: fixes event position
* TrackBar.cs: adds missing attributes and events
2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuItem.cs: Use SystemInformation and bug fixes
* MenuAPI.cs: Use SystemInformation and bug fixes
2005-02-09 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: We ignore some keys, but still need to set/reset
their keystate otherwise things like VK_MENU get stuck "on".
2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
* ListBox.cs: Fixes AddRange bug
2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
* ProgressBar.cs
- Add missing attributes
- Add missing method
* CheckedListBox.cs: Added missing attributes
- Add missing attributes
- Remove extra method
* ComboBox.cs: Added missing attributes
* VScrollBar.cs: Added missing attributes
* ScrollBar.cs: Added missing attributes
* ListBox.cs: Fixes signature, add missing consts
* LinkArea.cs: Added missing attributes
2005-02-08 Peter Bartok <pbartok@novell.com>
* Menu.cs: Added missing attributes
* MainMenu.cs: Added missing attributes
* GroupBox.cs: Added missing attributes
* Label.cs: Added missing attributes
* CheckBox.cs: Implemented CheckBoxAccessibleObject class
* ColorDialog.cs:
- Added Instance and Options properties
- Added missing attributes
* Cursor.cs: Made Serializable
* NotifyIcon: Added missing attributes
* MenuItem.cs: Added missing attributes
* TextBoxBase.cs: Implemented AppendText() and Select() methods
* Panel.cs: Added Missing attributes
* MonthCalendar.cs: Fixed CreateParams
2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
* LinkLabel.cs:
- Fixes signature
- Fixes issues with links
- Adds the class attributes
2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs:
- Fixes button when no items available in dropdown
- Fixes repainting problems
- Adds the class attributes
2005-02-07 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Detect the menu bar and title bar height from
the current theme. Cache these on startup.
2005-02-07 Jackson Harper <jackson@ximian.com>
* ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
the scrollbar buttons when they are depressed.
2005-02-07 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
Get the display size from the main displayid. We currently dont
support multiple display configurations.
2005-02-07 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
2005-02-07 Miguel de Icaza <miguel@novell.com>
* UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs: Updated. Patch by Jonathan Chambers
2005-02-04 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Respect the clipping rect when
drawing. Only fill the intersection of clips and rects so there
isn't a lot of large fills.
* ScrollBar.cs: Pass the correct clipping rect to the theme
engine. Remove some debug code.
2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
* DateTimePicker.cs:
- Fixed crash on DateTime.Parse, use Constructor instead
2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuItem.cs:
* MenuAPI.cs:
- Owner draw support (MeasureItem and DrawItem)
2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
* Menu.cs:
- Implements FindMergePosition and MergeMenu functions (very poor documented)
- Fixes MenuItems.Add range
* MenuItem.cs:
- MergeMenu and Clone and CloneMenu functions
2005-02-03 Jackson Harper <jackson@ximian.com>
* ScrollBar.cs: Make abstract
* ScrollableControl.cs: Create H/V scrollbars now that scrollbar
is abstract.
2005-02-03 Jackson Harper <jackson@ximian.com>
* ScrollBar.cs: First part of my scrollbar fixups. This removes
all the unneeded refreshes and uses invalidates with properly
computed rects.
2005-02-03 Peter Bartok <pbartok@novell.com>
* ComponentModel.cs: Added
* IDataGridEditingService.cs: Added
* Timer.cs: Added missing attributes
* ToolTip.cs: Added missing attributes
2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGridView.cs: Added. Patch by Jonathan Chambers
2005-02-03 Peter Bartok <pbartok@novell.com>
* ListBox.cs: Added missing attributes
2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs:
- Fixes font height after font change
- Avoid generating unnecesary OnSelectedIndexChanged on clearing
2005-02-02 Peter Bartok <pbartok@novell.com>
* HandleData.cs: Introduced static methods to allow class
to be more self-contained and track it's own HandleData objects
* XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
HandleData to use new static methods
2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
* Combobox.cs:
- Fixes default size and PreferredHeight
- Missing events
- ObjectCollection.Insert implementation
* ListControl.cs
- Fixes signature
* ListBox.cs:
- Several fixes
- ObjectCollection.Insert implementation
- No selection after clean
- Small fixes
2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
* ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
* Combobox.cs:
- Caches ItemHeight calculation for OwnerDrawVariable
- Handles dropdown properly
- Fixes several minor bugs
2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs:
- Fixes 71946 and 71950
- Fixes changing Multicolumn on the fly
- Fixes keyboard navigation on Multicolumn listboxes
2005-01-31 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
crash reporter log.
2005-01-31 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Allow applications to actually exit.
2005-01-31 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
their parent at creation time rather than lazily later. Fixes a major
regression we were experiencing.
2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
* ThemeWin32Classic.cs: more date time picker painting fixes
* DateTimePicker.cs: more monthcalendar drop down fixes
* MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
* ScrollBar.cs:
- When moving the thumb going outside the control should stop the moving
- Adds the firing of missing events
- Fixes no button show if Size is not specified
- End / Home keys for keyboard navigation
2005-01-30 Peter Bartok <pbartok@novell.com>
* NotifyIcon.cs (CalculateIconRect): Removed debug output and added
sanity check to prevent theoretical loop
* XplatUIWin32.cs (SetVisible): Removed debug output
* XplatUIX11.cs (SystrayChange): Added sanity check
* ScrollableControl.cs (OnVisibleChanged): Now calls base method
* Control.cs (OnVisibleChanged): Added workaround for ParentForm
behaviour, valid until the X11 client window rewrite is done
* TextBox.cs (ctor): Setting proper default foreground and background
colors
2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
* Theme: Added DrawDateTimePicker to interface
* ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
* DateTimePicker.cs: Created (still needs keys and painting code)
* DateTimePickerFormat.cs: added
* MonthCalendar.cs: fixed CreateParams for popup window mode
2005-01-29 Peter Bartok <pbartok@novell.com>
* ControlPaint.cs: Fixed luminace value returned on achromatic colors,
this should also the calculations for ligher/darker
* Theme.cs: Fixed defaults for ScrollBar widths/heights
2005-01-29 Peter Bartok <pbartok@novell.com>
* ArrangeDirection.cs: Added
* ArrangeStartingPositon.cs: Added
* SystemInformation.cs: Implemented
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
XplatUIX11.cs, Theme.cs: Added/implemented new static properties
used by SystemInformation class
* X11Strucs.cs: Added XSizeHints structure
* MenuAPI.cs:
- Fixed CreateParams to make sure the menu window is always visible
- TrackPopupMenu: Added check to make sure we don't draw the
menu offscreen
2005-01-29 Peter Bartok <pbartok@novell.com>
* HandleData.cs: Added method for altering invalid area
* TextBoxBase.cs: Implemented TextLength
2005-01-28 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Improvement over last patch, not sending
the WM_PAINT directly anymore, instead we scroll any pending
exposed areas and let the system pick out the WM_PAINT later
2005-01-28 Peter Bartok <pbartok@novell.com>
* SWF.csproj: Deleted, no longer used. Instead,
Managed.Windows.Forms/SWF.csproj should be used
* XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
directly, to avoid a potential race condition with the next
scroll
2005-01-28 Peter Bartok <pbartok@novell.com>
* XplatUI.cs: Made class internal
2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
* CheckedListBox.cs:
- Draw focus
- Fixed Drawing
- Missing methods and events
2005-01-27 Peter Bartok <pbartok@novell.com>
* Application.cs (Run): Don't use form if we don't have one
2005-01-27 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs (get_Lines): Fixed index off by one error
2005-01-27 Peter Bartok <pbartok@novell.com>
* GridEntry.cs: Added; Patch by Jonathan S. Chambers
* GridItem.cs: Added; Patch by Jonathan S. Chambers
* GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
* GridItemType.cs: Added; Patch by Jonathan S. Chambers
* PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
* PropertySort.cs: Added; Patch by Jonathan S. Chambers
* PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
* PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
* PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
* PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
* SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
* SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
* Combobox.cs:
- Draw focus on Simple Combobox
- Fixes drawing issues
- fixes 71834
2005-01-27 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Place window in default location, instead of hardcoded 0/0
- Send initial LocationChanged event
* Control.cs:
- UpdateBounds after creation to find out where the WM placed us
- Make sure that if the ParentForm changes location the Form
is notified
* XplatUIX11.cs: XGetGeometry will not return the coords relative
to the root, but to whatever the WM placed around us.
Translate to root coordinates before returning toplevel
coordinates
* XplatUIWin32.cs: Removed debug output
* XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
flag to GetWindowPos, to allow translation of coordinates on X11
2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: connect LostFocus Event
2005-01-27 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
XplatUIX11.cs: Extended the Systray API
* Form.cs: Removed debug output
* Application.cs: Fixed focus assignment, always need to call
XplatUI.Activate() since Form.Activate() has rules that may
prevent activation
* NotifyIcon.cs: Should be complete now
* ToolTip.cs: Worked around possible timer bug
2005-01-27 Jackson Harper <jackson@ximian.com>
* TabControl.cs:
- Only invalidate the effected tabs when the
selected index changes. This reduces drawing and gets rid of some
flicker.
- Only refresh if the tabs need to be shifted, otherwise only
invalidate the slider button.
- On windows the tabs are not filled to right if the slider is
visible.
2005-01-27 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Only refresh on mouseup if we are showing the
slider. Also only invalidate the button whose state has changed.
2005-01-26 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Added Systray methods
* XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
and SystrayRemove() methods
* XplatUIOSX.cs: Stubbed Systray methods
* XplatUIX11.cs:
- Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
methods
- Fixed broken XChangeProperty calls (marshalling messed up things)
* X11Structs.cs: Added enums and structs required for Size hinting
* NotifyIcon.cs: Added & implemented
2005-01-26 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Space vertically layed out tabs properly.
2005-01-26 Peter Bartok <pbartok@novell.com>
* Form.cs (CreateClientParams): Always set the location to 0,0
since we're a child window.
* Control.cs (SetVisibleCore): Always explicitly setting the location
of a toplevel window, apparently X11 doesn't like to move windows
while they're not mapped.
2005-01-26 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Implement FillToRight size mode with vertically
rendered tabs.
2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlPaint.cs, ThemeWin32Classic.cs
- Fixes DrawFocusRectangle
2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
* MenuAPI.cs:
- MenuBar tracking only starts when item is first clicked
- Fixes menu hidding for multiple subitems
- Unselect item in MenuBar when item Executed
- Fixes bug 71495
2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
* ListControl.cs:
- IsInputKey for ListBox
* ListBox.cs:
- Focus item
- Shift and Control item selection
- Implement SelectionMode.MultiExtended
- Fixes RightToLeft
* ComboBox.cs:
- IsInputKey implemented
- Do not generate OnTextChangedEdit on internal txt changes
2005-01-23 Peter Bartok <pbartok@novell.com>
* AccessibleObject.cs: Partially implemented Select()
* MonthCalendar.cs: Added missing attributes and events
* Form.cs: Fixed CreateParams behaviour, now controls derived from
form can properly override CreateParams.
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
XplatUIX11.cs: Dropped RefreshWindow method, not needed if
Control performs Invalidate & Update
* NativeWindow (CreateHandle): Added special handling for Form
and Form.FormParent classes to allow overriding of From.CreateParams
* Control.cs:
- ControlNativeWindow: Renamed 'control' variable to more intuitive
name 'owner'
- ControlNativeWindow: Added Owner property
- Removed usage of Refresh() on property changes, changed into
Invalidate(), we need to wait until the queue is processed for
updates, direct calls might cause problems if not all vars for
Paint are initialized
- Added call to UpdateStyles() when creating the window, to set any
styles that CreateWindow might have ignored.
- Added support for Form CreateParent overrides to UpdateStyles()
* MessageBox.cs: Removed no longer needed FormParent override stuff,
CreateParams are now properly overridable
* CommonDialog.cs: Removed no longer needed FormParent override stuff,
CreateParams are now properly overridable
2005-01-23 Miguel de Icaza <miguel@ximian.com>
* UpDownBase.cs (ctor): Connect TextChanged in the entry to the
OnTextBoxChanged.
Capture LostFocus and OnTextBoxChanged. The later introduces a
recursive invocation that I have not figured out yet.
Reset the timer when not using (it was accumulating).
(OnTextBoxChanged): Set UserEdit to true here to track whether the
user has made changes that require validation.
Reset changing to avoid loops.
2005-01-22 Miguel de Icaza <miguel@ximian.com>
* NumericUpDown.cs: Display value at startup.
* UpDownBase.cs (Text): Do not call UpdateEditText here, only call
ValidateEditText.
* NumericUpDown.cs: Minimum, Maximum, Text, Value properties
filled in. Added some basic parsing of text.
Still missing the OnXXX method overrides, and figuring out the
events that must be emitted.
* UpDownBase.cs: Handle UserEdit on the Text property.
2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs:
- Fixes IntegralHeight
- ToString method
2005-01-21 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Set the SelectedIndex property when SelectedTab
is set so that the page visibility is updated and the tabs are
sized correctly.
2005-01-21 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Use cliping rectangle for blitting. Give the
theme the clipping rect so we can do clipping while
drawing. Remove some debug code.
2005-01-21 Jackson Harper <jackson@ximian.com>
* TabPage.cs: Add a new method so tab pages can force the tab
control to recalculate the tab page sizes.
* TabControl.cs: UpdateOwner needs to make the tab control recalc
sizes.
2005-01-20 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
2005-01-20 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Set the bounds for nodes properly. They were
getting screwed up when checkboxes were not enabled, but images
were.
2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs:
- Owner draw support
- Fixes
2005-01-20 Jackson Harper <jackson@ximian.com>
* XplatUIStructs.cs: More misc keys
* X11Keyboard.cs: Ignore some control keys.
2005-01-20 Jackson Harper <jackson@ximian.com>
* X11Structs.cs: Add the modmaps to the keymask struct and tabify.
* X11Keyboard.cs: Set the AltGr mask when we get a key event.
2005-01-19 Peter Bartok <pbartok@novell.com>
* Control.cs: Un-selecting the control when it is loosing focus
2005-01-19 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Hook up to the text controls leave event so we can
end editing when the users clicks outside the text box.
2005-01-19 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
get set in the conversion array.
2005-01-19 Peter Bartok <pbartok@novell.com>
* Application.cs (ModalRun): Added a call to CreateControl to ensure
focus is properly set
* Button.cs:
- Added missing attributes
- removed styles, those are already set in the base class
* ButtonBase.cs:
- Added missing attributes
- Added clip window styles
* CheckBox.cs: Added missing attributes
* CommonDialog.cs:
- FormParentWindow.CreateParams: Added required clip styles
* Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
also filters modifier keys
* MessageBox.cs:
- Added assignment of Accept and Cancel button to enable Enter
and Esc keys in MessageBox dialogs
- FormParentWindow.CreateParams: Added required clip styles
* RadioButton.cs: Added missing attributes
* TextControl.cs: No longer draws selection if control does not
have focus
* TextBoxBase.cs:
- Now draws simple rectangle around test area to make it obvious
there's a control. This is a hack until we properly support borders
- A few simple fixes to support selections better, now erases selected
text when typing, and resets selection when using movement keys
2005-01-19 Miguel de Icaza <miguel@ximian.com>
* UpDownBase.cs: Added some new properties.
* DomainUpDown.cs: Implement a lot to get my test working.
2005-01-19 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Fix a minor bug to bring the close box back
2005-01-19 Geoff Norton <gnorton@customerdna.com>
* OSXStructs (WindowAttributes): Fixed csc complaints
2005-01-19 Geoff Norton <gnorton@customerdna.com>
* XplayUIOSX.cs:
OSXStructs.cs: Initial refactor to move enums and consts into
OSXStructs and use them in the driver for greater readability.
2005-01-19 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Initial support for Standard Cursors.
* OSXStructs.cs: Move our structs here; added ThemeCursor enum
2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: ability to change style when the ctrl is already
created, missing methods and events, bug fixes, signature fixes
2005-01-19 Peter Bartok <pbartok@novell.com>
* Cursors.cs (ctor): Added ctor to fix signature
2005-01-18 Peter Bartok <pbartok@novell.com>
* Button.cs: Implemented DoubleClick event
* ButtonBase.cs:
- Fixed keyboard handling to behave like MS, where the press of
Spacebar is equivalent to a mousedown, and the key release is
equivalent to mouseup. Now a spacebar push will give the same
visual feedback like a mouse click.
- Added missing attributes
- Added ImeModeChanged event
- Added support for generating DoubleClick event for derived classes
* CheckBox.cs:
- Implemented DoubleClick event
- Added missing attributes
* CommonDialog.cs: Added missing attribute
* ContextMenu.cs: Added missing attributes
* RadioButton.cs:
- AutoChecked buttons do not allow to be unselected when clicked
(otherwise we might end up with no selected buttons in a group)
- Added missing attributes
- Implemented DoubleClickEvent
* ThreadExceptionDialog.cs: Enabled TextBox code
2005-01-18 Peter Bartok <pbartok@novell.com>
* Form.cs: Removed debug output
* Button.cs: Added support for DoubleClick method
2005-01-18 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Added method to parent window that allows triggering size
calculations when a menu is added/removed
- set_Menu: Cleaned up mess from early days of Form and Control,
now properly triggers a recalc when a menu is added/removed
- Added case to select form itself as focused form if no child
controls exist
- Added PerformLayout call when showing dialog, to ensure properly
placed controls
* Control.cs:
- Select(): Made internal so Form can access it
- Focus(): Only call Xplat layer if required (avoids loop), and sets
status
* Application.cs (Run): Removed hack and calls PerformLayout instead
to trigger calculation when Form becomes visible
2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: fixes for ownerdraw
2005-01-18 Peter Bartok <pbartok@novell.com>
* TextControl.cs:
- Sentinel is no longer static, each Document gets it's own, this
avoids locking or alternatively overwrite problems when more
than one text control is used simultaneously.
- Switched to use Hilight and HilightText brushes for text selection
* TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
2005-01-18 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Hooked up the following events:
o ControlAdded
o ControlRemoved
o HandleDestroyed
o ImeModeChanged
o ParentChanged
o TabStopChanged
o Invalidated
o SystemColorsChanged
o ParentFontChanged
o Move
- Removed debug output
- Added a call to the current theme's ResetDefaults when a color change
is detected
* Form.cs: Now setting the proper ImeMode
* Theme.cs: Defined a method to force recreation of cached resources
and rereading of system defaults (ResetDefaults())
* ThemeWin32Classic.cs: Added ResetDefaults() stub
2005-01-17 Peter Bartok <pbartok@novell.com>
* Control.cs: Added missing attributes
2005-01-17 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Implement editing. Add missing properties selected
and visible.
* TreeView.cs: Implement node editing. Also some fixes to use
Invalidate (invalid area) instead of Refresh when selecting.
2005-01-17 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Implemented InvokeGotFocus() method
- Implemented InvokeLostFocus() method
- Implemented InvokePaint() method
- Implemented InvokePaintBackground() method
- Implemented InvokeClick() method
- Implemented FindForm() method
- Implemented RectangleToClient() method
- Implemented ClientToRectangle() method
- Implemented ResetBackColor() method
- Implemented ResetCursor() method
- Implemented ResetFont() method
- Implemented ResteForeColor() method
- Implemented ResetImeMode() method
- Implemented ResetLeftToRight() method
- Implemented ResetText() method
- Implemented Scale() methods
- Implemented ScaleCore() method
- Implemented Update() method
- Removed unused variables
- Stubbed AccessibilityNotifyClients and
ControlAccessibleObject.NotifyClients() methods (dunno what to do
with those yet)
- Now setting proper default for RightToLeft property
- Fixed bug in SetClientSizeCore that would cause windows to get
really big
- Now sending Click/DoubleClick events
- Now selecting controls when left mouse button is clicked on
selectable control
* AccessibleEvents.cs: Added
* XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
* XplatUIOSX.cs: Stubbed UpdateWindow() method
* XplatUIWin32.cs: Implemented UpdateWindow() method
* XplatUIX11.cs: Implemented UpdateWindow() method
* Form.cs: Removed stray semicolon causing CS0162 warning
* ThemeWin32Classic.cs: Fixed unused variable warnings
* ScrollableControl.cs: Now calls base method for ScaleCore
* ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
style to avoid interference with internal click handler (which is
different than standard Control click handling)
* RadioButton.cs:
- Now unchecks all sibling radio buttons when control is
selected (Fixes #68756)
- Removed internal tabstop variable, using the one inherited from
Control
2005-01-17 Jackson Harper <jackson@ximian.com>
* NavigateEventArgs.cs: Fix base type.
* LinkLabel.cs: Sig fix
2005-01-17 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Only invalidate the effected nodes bounds when
selecting nodes.
2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
* XplatUIWin32.cs: fixes Win32 marshaling
* XplatUIX11.cs: fixes method signature
2005-01-17 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Clean up resources when we no longer need them
2005-01-17 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
and DestroyCursor() methods.
* Cursor.cs: Partially implemented, now supports standard cursors;
still contains some debug code
* Cursors.cs: Implemented class
* Control.cs:
- WndProc(): Added handling of WM_SETCURSOR message, setting the
appropriate cursor
- Implemented Cursor property
- Replaced break; with return; more straightforwar and possibly
faster
- Now properly setting the result for WM_HELP
* X11Structs.cs: Added CursorFontShape enum
* XplatUIStructs.cs:
- Added StdCursor enum (to support DefineStdCursor() method)
- Added HitTest enum (to support sending WM_SETCURSOR message)
* XplatUIX11.cs:
- Now sends the WM_SETCURSOR message
- Implemented new cursor methods
* XplatUIOSX.cs: Stubbed new cursor methods
* XplatUIWin32.cs:
- Implemented new cursor methods
- Added GetSystemMetrics function and associated enumeration
2005-01-15 Peter Bartok <pbartok@novell.com>
* Control.cs:
- WndProc(): Now handles EnableNotifyMessage
- SelectNextControl(): Fixed bug where if no child or sibling
controls exist we looped endlessly
2005-01-14 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Recalculate the tab pages when a new one is added
so that the proper bounding rects are created.
2005-01-14 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Draw a gray box instead of a grip in the lower
right hand corner when there are both horizontal and vertical
scroll bars.
2005-01-14 Jackson Harper <jackson@ximian.com>
* Control.cs: When erasing backgrounds use FromHwnd instead of
FromHdc when there is a NULL wparam. This occurs on the X driver.
* XplatUIX11.cs: Set the wparam to NULL.
2005-01-13 Jackson Harper <jackson@ximian.com>
* PictureBox.cs: Implement missing methods (except ToString, need
to test that on windows) and events. When visibility is changed we
need to redraw the image because the buffers are killed. When size
is changed refresh if the sizemode needs it.
2005-01-13 Peter Bartok <pbartok@novell.com>
* Control.cs (SelectNextControl): Was using wrong method to select
a control
2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: fixes dropstyle
2005-01-13 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Implemented Select() override
- Now handles WM_SETFOCUS/WM_KILLFOCUS messages
- Now sets keyboard focus on startup
* Control.cs (SelectNextControl): Now properly handles directed=true
* TextBoxBase.cs:
- WndProc: Now passes tab key on to base if AcceptTabChar=false
- Added (really bad) focus rectangle (mostly for testing)
* TextBox.cs: Added code to handle getting/loosing focus and invalidating
to enforce redraw on focus changes
* ContainerControl.cs:
- Fixed detection of Shift-Tab key presses
- Fixed traversal with arrow keys
* XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
gonna keep this or if it's complete yet
2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: missing properties, fixes
2005-01-13 Peter Bartok <pbartok@novell.com>
* Panel.cs (ctor): Setting Selectable window style to off
* Splitter.cs (ctor): Setting Selectable window style to off
* GroupBox.cs (ctor): Setting Selectable window style to off
* Label.cs (ctor): Setting Selectable window style to off
2005-01-12 Miguel de Icaza <miguel@ximian.com>
* UpDownBase.cs (InitTimer): If the timer has been already
created, enable it.
Use a TextBox instead of a Label.
2005-01-12 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Refresh the tree after sorting the nodes. Always
draw the connecting node lines (when ShowLines is true).
* TreeNode.cs: The nodes index can now be updated. This is used
when a node collection is sorted.
* TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
insert or an existing unsorted node collection can be sorted.
2005-01-12 Peter Bartok <pbartok@novell.com>
* ContainerControl.cs: Implemented ProcessDialogKeys()
2005-01-12 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Implemented SelectNextControl() method
- Several focus related bug fixes
- Fixed Docking calculations to match MS documentation and
behaviour
2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
* ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
bug fixes
2005-01-12 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Fixed broken Contains() method
- Implemented GetNextControl() method. Finally. This is the pre-
requisite for focus handling.
2005-01-12 Peter Bartok <pbartok@novell.com>
* OSXStrucs.cs: Added
2005-01-12 Peter Bartok <pbartok@novell.com>
* XplatUIWin32.cs:
- Removed PeekMessageFlags
- Implemented SetWindowStyle() method
* XplatUIStructs.cs: Added PeekMessageFlags
* X11Structs: Added missing border_width field to XWindowChanges struct
* XplatUIX11.cs:
- PeekMessage: Now throws exception if flags which are not yet
supported are passed
- Implemented SetWindowStyle() method
- Fixed SetZOrder to handle AfterHwnd properly
* XplatUI.cs: Added SetWindowStyle() method
* XplatUIDriver.cs: Added SetWindowStyle() abstract
* Control.cs:
- Implemented UpdateStyles() method
- Implemented UpdateZOrder() method
* XplatUIOSX.cs: Added SetWindowStyle() stub
2005-01-12 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
button mouse).
2005-01-11 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Still need to draw lines to siblings even if out of
the current node is out of the clip.
2005-01-11 Jackson Harper <jackson@ximian.com>
* TreeView.cs: When setting the hbar/vbar/grip position use
SetBounds so that perform layout is only called once. Also suspend
and resume layout so layout is only done once for all controls.
- Removed some debug fluff
* SizeGrip.cs: Call base implmentation in overriding methods.
- When visibility is changed the drawing buffers are killed so we
need to redraw.
2005-01-11 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Calculate the open node count while drawing. This
saves us an entire tree traversal for every paint operation. Use
a member var for the open node count so less vars are passed around.
2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- fixed selection to use mousemove, not mouse polling on timer
* ThemeWin32Classic.cs
- removed redundant unused variable "no_more_content"
2005-01-11 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs (DoEvents): Needs to return when no more events
are pending, so it now calls PeekMessage instead of GetMessage;
implemented a incomplete version of PeekMessage
2005-01-11 Peter Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
I18n issues
* TextBoxBase.cs: Added sending of TextChanged event
2005-01-10 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Try not to draw outside the clipping rectangle on
each node element.
2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: keyboard navigation, item navigation, bug fixes
2005-01-10 Jackson Harper <jackson@ximian.com>
* TreeView.cs:
- Implement fast scrolling. Now only the newly
exposed nodes are drawn and the old image is moved using the
XplatUI::ScrollWindow method.
- Factor in height of nodes when calculating whether or not the
node is in the clipping rect.
2005-01-10 Jackson Harper <jackson@ximian.com>
* TreeNodeCollection.cs: Refresh the tree when a new node is added.
2005-01-10 Peter Bartok <pbartok@novell.com>
* Application.cs: Added temporary hack to resolve all our resize
required issues on startup. This will get fixed properly at
some point in the future
2005-01-10 Jackson Harper <jackson@ximian.com>
* SizeGrip.cs: New internal class that is used as a sizing
grip control...hence the name.
2005-01-10 Peter Bartok <pbartok@novell.com>
* Control.cs: Implemented proper TabIndex handling, now assigning
a tabindex when a control is added to a container
* GroupBox.cs (ctor): Now sets the Container style bit, required
for Control.GetNextControl()
2005-01-09 Jackson Harper <jackson@ximian.com>
* TextBoxBase.cs: Clear window when scrolling (fixes build).
2005-01-09 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
XplatUIX11.cs: Added ability to control ScrollWindow expose and
an overload for ScrollWindow to allow only scrolling a rectangle
2005-01-09 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Implemented SetDesktopBounds method
- Implemented SetDesktopLocation method
2005-01-08 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Only set the vbar's Maximum and LargeChange when
the node count has changed, this removes to VScroll::Refresh calls
when drawing.
2005-01-08 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Fix GetWindowState & SetWindowState
2005-01-07 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Just update the single node when it is
checked. Don't refresh after toggling, the Expand/Collapse already
handles this.
* TreeView.cs: Respect clipping a little more when drawing. Try
not to redraw things that don't need to be redrawn. Just hide the
scrollbars when they are no longer needed instead of removing
them, so they don't have to be created again and again.
2005-01-07 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs (SetCaretPos): We need to translate the view
coordinates to window space to place the caret properly, FIXED.
Implement GetWindowState & SetWindowState
2005-01-06 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Implemented ClientSize property
- Implemented DesktopBounds property
- Implemented DesktopLocation property
- Implemented IsRestrictedWindow property
- Implemented Size property
- Implemented TopLevel property
- Implemented FormWindowState property
* Control.cs:
- Implemented GetTopLevel() method
- Implemented SetTopLevel() method
* X11Structs.cs (Atom):
- Added AnyPropertyType definition
- Added MapState definiton and updated XWindowAttribute struct
* XplatUI.cs: Added GetWindowState() and SetWindowState() methods
* XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
* XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
* XplatUIWin32.cs:
- Implemented GetWindowState() and SetWindowState() methods
- Fixed Win32GetWindowLong return type
* XplatUIX11.cs:
- Introduced central function for sending NET_WM messages
- Implemented GetWindowState() and SetWindowState() methods
* TextBoxBase.cs (set_Lines):
- Now uses Foreground color for text added via Text property (Duh!)
- Added code to remember programmatically requested size (fixes
behaviour when Multiline is set after Size)
- Added AutoSize logic
2005-01-06 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
2005-01-06 Jackson Harper <jackson@ximian.com>
* ListBox.cs: Don't allow the horizontal scrollbars maximum to be
set to less then 0.
2005-01-06 Jackson Harper <jackson@ximian.com>
* ScrollableControl.cs: Lazy init the scrollbars.
2005-01-06 Jackson Harper <jackson@ximian.com>
* Theme.cs: Speed up getting pens and solid brushes, by using
their ARGB as a hash instead of tostring and not calling Contains.
2005-01-06 Peter Bartok <pbartok@novell.com>
* Form.cs:
- Implemented OnActivated and OnDeactivate event trigger
- Implemented Activate() method
- Fixed ShowDialog() to activate the form that was active before
the dialog was shown
* XplatUIX11.cs:
- Added global active_window var that tracks the currently active
X11 window
- Now always grabs Property changes from the root window to always
catch changes on the active window property
- Added code to PropertyNotify handler to send Active/Inactive
messages when state changes. This puts X11 and Win32 en par on
WM_ACTIVATE notifications (except for double notifications when
the user clicks away from our modal window to another one of our
windows)
2005-01-05 Jackson Harper <jackson@ximian.com>
* ImageList.cs: Implment ctor
2005-01-05 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Implement Activate/SetTopmost
2005-01-05 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Implement SetZOrder, minor cleanup
2005-01-05 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Implement GetActive/SetFocus.
2005-01-05 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
XplatUIOSX.cs: Added GetActive method to return the currently
active window for the application (or null, if none is active)
* Form.cs:
- Implemented ActiveForm
- Commented out owner assignment for modal dialogs (causes problems
on Win32, since the owner will be disabled)
- Reworked some Active/Focus handling (still incomplete)
* CommonDialog.cs: Commented out owner assignment for modal dialogs
(causes problems on Win32, since the owner will be disabled)
* IWin32Window: Added ComVisible attribute
2005-01-05 Peter Bartok <pbartok@novell.com>
* ToolTip.cs (WndProc): Enable setting focus now that we have the
required XplatUI functions.
2005-01-05 Peter Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
to implement focus and activation handling; still incomplete and
with debug output
2005-01-04 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs: Changed access level for Document property to
match switch to internal for TextControl
2005-01-04 Peter Bartok <pbartok@novell.com>
* AccessibleObject: Added ComVisible attribute
2005-01-04 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Remove unneeded var.
2005-01-04 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
but PAINT.
* XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
ClientMessage. This makes apps exit cleanly (more often).
2005-01-04 Jackson Harper <jackson@ximian.com>
* TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
handling focus, return correct colors and fonts,
* TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
handle selection, horizontal scrolling, and mouse interaction.
2005-01-04 Peter Bartok <pbartok@novell.com>
* ICommandExecutor.cs: Added
* IDataGridColumnStyleEditingNotificationService.cs: Added
* IFeatureSupport.cs: Added
* IFileReaderService.cs: Added
* IDataObject.cs: Added ComVisible attribute
* AmbientProperties.cs: Added
* BaseCollection.cs: Added missing attributes
* ListBindingConverter.cs: Added (stubbed, required for certain attributes)
* BaseCollection.cs: Added missing attributes
* Binding.cs: Added TypeConverter attribute
* BindingContext.cs: Added DefaultEvent attribute
* BindingsCollection.cs: Added DefaultEvent attribute
* Button.cs: Added DefaultValue attribute
* DragEventArgs.cs: Added ComVisible attribute
* GiveFeedbackEventArgs.cs: Added ComVisible attribute
* KeyEventArgs.cs: Added ComVisible attribute
* KeyPressEventArgs.cs: Added ComVisible attribute
* MouseEventArgs.cs: Added ComVisible attribute
* NavigateEventArgs.cs: Added
* NavigateEventHandler.cs: Added
* FeatureSupport.cs: Added
* OSFeature.cs: Added
* Theme.cs: Added abstract Version property to support OSFeature
* ThemeWin32Classic.cs: Added Version property to
support OSFeature.Themes
* ProgressBar.cs: Removed OnPaintBackground override, not required since
the proper styles to avoid background drawing are set, also doesn't
match MS signature
* QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
* QueryContinueDragEventArgs.cs: Added ComVisible attribute
* ScrollEventArgs.cs: Added ComVisible attribute
* SplitterEventArgs.cs: Added ComVisible attribute
* AccessibleSelection.cs: Added Flags attribute
* Appearance.cs: Added ComVisible attribute
* Border3DSide.cs: Added ComVisible attribute
* Border3DStyle.cs: Added ComVisible attribute
* BorderStyle.cs: Added ComVisible attribute
* DragAction.cs: Added ComVisible attribute
* ErrorBlinkStyle.cs: Added
* ScrollEventType.cs: Added ComVisible attribute
* AnchorStyles.cs: Added Editor attribute
* DockStyle.cs: Added Editor attribute
* HorizontalAlignment.cs: Added ComVisible attribute
* HelpEventArgs.cs: Added ComVisible attribute
* PaintEventArgs.cs: Added IDisposable
2005-01-04 Peter Bartok <pbartok@novell.com>
* TextControl.cs: Switched Line, LineTag and Document classes to
internal
2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
Simple mode, fixes, IntegralHeight, etc.
2005-01-04 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs: Using proper font variable now
2005-01-04 Peter Bartok <pbartok@novell.com>
* Form.cs (ShowDialog): Set parent to owner, if provided
* GroupBox.cs: Removed unused vars
* TextControl.cs:
- Added GetHashCode() for Document and LineTag classes
- Removed unused variables
- Added CharIndexToLineTag() and LineTagToCharIndex() methods
to allow translation between continuous char position and line/pos
* CheckBox.cs: Removed vars that are provided by base class
* RadioButton.cs: Removed vars that are provided by base class, added
new keyword where required
* LinkLabel.cs: Added new keyword where required
* Control.cs (WndProc): Removed unused variable
* TextBoxBase.cs:
- Finished SelectionLength property
- Implemented SelectionStart property
- Implemented Text property
- Removed unused vars
* MessageBox.cs: Added new keyword where required
* TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
WndProc signature
* MenuAPI.cs: Added new keyword where required
* ButtonBase.cs: Removed vars that are provided by base class, added
new keyword where required
* ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
argument to double, to allow compiling with csc 2.0 (Atsushi ran
into this)
* Application.cs (Run): Now triggers the ThreadExit event
* CommonDialog.cs: Added new keyword where required; now properly sets
parent (owner) for dialog
* XplatUIX11.cs: Commented out unused vars
* StatusBar.cs: Fixed signature for Text property
* TabPage.cs: Undid Jordi's removal of unused var, now using the var
2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
TrackBar.cs, MonthCalendar.cs: remove unused vars
2005-01-03 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs:
* X11Keyboard.cs: Remove unused vars.
2005-01-03 Peter Bartok <pbartok@novell.com>
* TextBox.cs:
- set_Text: Tied into TextControl
- set_TextAlignment: Tied into TextControl
* TextControl.cs:
- Added alignment properties and implemented alignment handling
and drawing (still has a bug, not generating proper expose events)
- Added new Line() constructor to allow passing the line alignment
- Fixed selection setting, properly handling end<start now
- Added aligment considerations to RecalculateDocument()
* TextBoxBase.cs:
- Now properly enforces control height for single line controls
- Added support for CharacterCasing
- Added IsInputKey override
- Fixed Keys.Enter logic
- Added SetBoundsCore override
- Fixed mouse selection handling
2005-01-03 Jackson Harper <jackson@ximian.com>
* TreeView.cs:
- Collapse and uncheck all nodes when CheckBoxes is disabled.
- Checkboxes are always aligned to the bottom of the node,
regardless of item height.
- Use the node bounds to draw the text so we can center it when
the item height is greater then the font height.
- Node::Bounds are only the text part of the node.
* TreeNode.cs: New method to combine collapsing and unchecking all
nodes recursively.
2005-01-02 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Draw checkmarks, handle detecting check mark clicks
* TreeNode.cs: Add a bounding box for the checkbox, refresh the
tree when a check is changed. TODO: Only refresh the checked node.
2004-12-30 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
* TreeNode.cs: When collapsing make sure to never collapse the
root node.
2004-12-29 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Align lines to the bottom of plus minus boxes properly.
2004-12-28 Zoltan Varga <vargaz@freemail.hu>
* X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
2004-12-28 Peter Bartok <pbartok@novell.com>
* MessageBox.cs (get_CreateParams): Don't use owner var if it's
not yet assigned
2004-12-28 Peter Bartok <pbartok@novell.com>
* Control.cs (WndProc): Added WM_HELP handler, now generates
HelpRequested event
* Form.cs: Added HelpButton property and required support code
* XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
2004-12-28 Peter Bartok <pbartok@novell.com>
* CommonDialog.cs:
- Made DialogForm.owner variable internal
- Added check to ensure owner form is set before setting
owner properties in CreateParams
2004-12-28 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
swizzling. Implement ClientToScreen and ScreenToClient. Implement
GetCursorPos. Fix major visibility issues. Rework the windowing
system to support borderless/titleless windows (implements menus).
Fix GetWindowPos. Implement initial background color support for
views.
2004-12-28 Peter Bartok <pbartok@novell.com>
* Form.cs (get_CreateParams): Make sure we have an owner before using
the owner variable. Implement proper default if no owner exists
2004-12-28 Peter Bartok <pbartok@novell.com>
* In preparation for making Managed.Windows.Forms the default build target
for System.Windows.Forms, the following stubbed files were added.
Dialogs are currently being implemented by contributors and are only
short-term place holders.
* ColorDialog.cs: Initial check-in (minmal stub)
* DataGrid.cs: Initial check-in (minimal stub)
* DataGridLineStyle.cs: Initial check-in (minimal stub)
* DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
* DataGridTableStyle.cs: Initial check-in (minimal stub)
* FontDialog.cs: Initial check-in (minimal stub)
* FileDialog.cs: Initial check-in (minimal stub)
* GridColumnStylesCollection.cs: Initial check-in (minimal stub)
* GridTableStylesCollection.cs: Initial check-in (minimal stub)
* OpenFileDialog: Initial check-in (minimal stub)
* IComponentEditorPageSite.cs: Initial check-in
* Splitter.cs: Initial check-in (for Jackson)
* SplitterEventArgs.cs: Initial check-in (for Jackson)
* SplitterEventHandler.cs: Initial check-in (for Jackson)
* TextBox.cs: Initial check-in; still needs some wiring to
TextControl backend
* Form.cs: Implemented ControlBox property
* MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
* CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
* TextControl.cs: Added selection functionality; added todo header
* TextBoxBase.cs:
- Implemented Lines property
- Implemented TextHeight property
- Implemented SelectedText property
- Implemented SelectionLength property
- Implemented SelectAll method
- Implemented ToString method
- Removed and cleaned up some debug code
- Implemented (still buggy) mouse text selection
2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Complete DropDownList implementation, fixes.
2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic, Theme.cs: ComboBox drawing methods
* ComboBoxStyle.cs: ComboBoxStyle enum
* ComboBox.cs: Initial work on ComboBox control
2004-12-21 Peter Bartok <pbartok@novell.com>
* Control.cs (ctor, CreateParams): Moved setting of is_visible
forward so that anything that creates a window gets the default,
also no longer uses Visible property in CreateParams to avoid
walking up the parent chain and possibly get the wrong visible
status. Fixed IsVisible to no longer walk up to the parent.
2004-12-21 Peter Bartok <pbartok@novell.com>
* Form.cs (ShowDialog): Unset modality for the proper window
2004-12-20 Peter Bartok <pbartok@novell.com>
* CommonDialog.cs: Initial check-in
2004-12-20 Peter Bartok <pbartok@novell.com>
* Control.cs (Visible): Now uses the parent window instead of the
client area window for the property
* Form.cs
- ShowDialog(): Now uses the proper window for modality
- The default visibility state for the form parent is now false. This
will prevent the user from seeing all the changes to the form and
its controls before the application hits Application.Run()
- Removed some stale commented out code
* NativeWindow.cs:
- Added FindWindow() method to have a method to check for existence
of a window handle
- Added ability to override default exception handling (for example
when debugging with VS.Net; to do this the ExternalExceptionHandler
define must be set
- Removed some useless debug output
* XplatUIX11.cs:
- Removed r37929 (SetModal patch from Ashwin Bharambe), was
not working as expected
- Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
property to allow switching back to the modal window if focus is
given to another one of our windows (Application Modal)
- Now only sets override_redirect if we create a window
without WS_CAPTION
- Moved EventMask selection before mapping of newly created window
so we can catch the map event as well
- Implemented Activate() method via the _WM_ACTIVE_WINDOW property
- Added various Atom related DllImports
- Implemented Exit() method
- .ctor() : No longer shows window if WS_VISIBLE is not defined
in the CreateParams
* MessageBox.cs: Now properly deals with the FormParent window by
providing an override the FormParent CreateParams property to
set as POPUP instead of OVERLAPPED window.
2004-12-19 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
Minor code cleanup.
2004-12-19 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs (SetModal): Implement this method on OSX.
2004-12-18 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
implementing SetModal() method
2004-12-18 Peter Bartok <pbartok@novell.com>
* X11Structs.cs (XGCValues): Fixed type of function element
* XplatUI.cs: Added ScrollWindow() method
* XplatUIDriver.cs: Added ScrollWindow() abstract
* XplatUIWin32.cs: Implemented ScrollWindow() method
* XplatUIX11.cs: Implemented ScrollWindow() method
* XplatUIOSX.cs: Stubbed out ScrollWindow() method
2004-12-17 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
Some more keyboard support (INCOMPLETE)
2004-12-17 Peter Bartok <pbartok@novell.com>
* TextControl.cs:
- Added color attribute to line tags.
- Added color argument to all functions dealing with tags
- Added color argument support to various functions
- Fixed miss-calculation of baseline/shift in certain circumstances
* TextBoxBase.cs: Added new color option to test code
2004-12-17 Jackson Harper <jackson@ximian.com>
* TreeNode.cs:
* MonthCalendar.cs: Signature fixes
2004-12-17 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
keyboard event moved it. Create a new graphics context for each paint resolves this
2004-12-17 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
Make caret exist and go blink blink. Initial keyboard support.
Fix exception handler, Add Invalidate support. Change way RefreshWindow
works.
2004-12-17 Jackson Harper <jackson@ximian.com>
* XplatUIStructs.cs: Updated set of virtual keycodes.
* KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
2004-12-17 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Prune old keyboard code.
2004-12-17 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: When generating mouse wparams get the modifier
keys from the ModifierKeys property.
2004-12-17 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Send up/down input when generating
messages. Remove some unused vars.
2004-12-17 Jackson Harper <jackson@ximian.com>
* TabControl.cs:
* TreeView.cs: get rid of warnings.
2004-12-17 Jackson Harper <jackson@ximian.com>
* XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: bug fixes, changes for CheckedListBox.cs
CheckedListBox.cs: Implementation
2004-12-17 Peter Bartok <pbartok@novell.com>
* TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
2004-12-16 Peter Bartok <pbartok@novell.com>
* TextControl.cs:
- InsertCharAtCaret(): Fixed start pos fixup
- CaretLine_get: No longer derives the line from the tag, the tag
could be stale if lines in the document have been added or deleted
- RebalanceAfterDelete(): Fixed bug in balancing code
- RebalanceAfterAdd(): Fixed really stupid bug in balancing code
- Line.Streamline(): Now can also elminate leading empty tags
- DumpTree(): Added a few more tests and prevented exception on
uninitialized data
- Added Debug section for Combining lines
- Delete(): Now copies all remaining properties of a line
* TextBoxBase.cs:
- Left mousebutton now sets the caret (and middle button still acts
as formatting tester, which must go away soon)
- Added Debug section for Deleting/Combining lines
- Fixed calculations for UpdateView after Combining lines
2004-12-16 Peter Bartok <pbartok@novell.com>
* TextControl.cs: Now properly aligns text on a baseline, using the
new XplatUI.GetFontMetrics() method. Simplified several calculations
* TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
defined
2004-12-16 Peter Bartok <pbartok@novell.com>
* XplatUI.cs: Added GetFontMetrics() method
* XplatUIDriver.cs: Added GetFontMetrics() abstract
* XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
into libgdiplus, our private GetFontMetrics function
* XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
* XplatUIWin32.cs: Implemented GetFontMetrics() method
2004-12-16 Jackson Harper <jackson@ximain.com>
* XplatUIStruct.cs: Add enum for dead keys
* X11Keyboard.cs: Map and unmap dead keys.
2004-12-16 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Detect and use the num lock mask.
2004-12-16 Peter Bartok <pbartok@novell.com>
* Control.cs (CreateGraphics): Added check to make sure the
handle of the window exists before calling Graphics.FromHwnd()
2004-12-16 Peter Bartok <pbartok@novell.com>
* TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
contains a lot of code that's not supposed to be there for the
real thing, but required for developing/testing the textbox
backend.
2004-12-16 Peter Bartok <pbartok@novell.com>
* TextControl.cs:
- Fixed Streamline method
- Added FindTag method to Line
- Added DumpTree method for debugging
- Added DecrementLines() method for deleting lines
- Fixed UpdateView to update the cursor to end-of-line on single-line
updates
- Added PositionCaret() method
- Fixed MoveCaret(LineDown) to move into the last line, too
- Added InsertChar overload
- Fixed InsertChar tag offset calculations
- Added DeleteChar() method
- Added Combine() method for folding lines
- Fixed Delete() method, no longer allocates wasted Line object and
now copies all properties when swapping nodes
- Delete() method now updates document line counter
2004-12-15 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Get the modifier keys from the keyboard driver
* X11Keyboard.cs: Expose the currently selected modifier keys
through a property.
2004-12-15 Peter Bartok <pbartok@novell.com>
* TextControl.cs: Initial check-in. Still incomplete
2004-12-15 Jackson Harper <jackson@ximian.com>
* TreeNode.cs:
* TreeView.cs: Fix build on csc (second time today ;-))
2004-12-15 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Store the treenodes plus/minus box bounds when it
is calculated and use this for click testing.
* TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
2004-12-15 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Pass the nodes image index to the image list when
drawing that image.
2004-12-15 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Set messages hwnd.
* XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
post_message calls.
2004-12-15 Jackson Harper <jackson@ximian.com>
* X11Keyboard.cs: Fix to compile with csc.
2004-12-15 Jackson Harper <jackson@ximian.com>
* X11Structs.cs: Add key mask values
* XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
* X11Keyboard.cs: New file - Extrapolates and interpolates key
down/up foo into WM_CHAR foo
* KeyboardLayouts.cs: Common keyboard layouts
* XplatUIX11.cs: Add the keyboard driver. Add functionality to
post messages into the main queue.
2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
* Button.cs: implement ProcessMnemonic
* ThemeWin32Classic.cs: use ResPool (caching) instead of creating
brushes everytime
* Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
* ButtonBase.cs: Show HotkeyPrefix (not the &)
2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
* MonthCalendar.cs: Implemented click-hold for next/previous month
and date selection
2004-12-11 Peter Bartok <pbartok@novell.com>
* X11Structs.cs:
- Added XKeyboardState (moved from XplatUIX11.cs)
- Added XCreateGC related enums and structures
- Added GXFunction for XSetFunction
* XplatUIStructs.cs: Added missing WS_EX_xxx definitions
* XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
CaretVisible() calls
* ToolTip.cs: Added code to prevent stealing focus from app windows
* XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
DestroyCaret, SetCaretPos and CaretVisible)
* XplatUIX11.cs:
- Added implementation for caret functions
- Moved hover variables into a struct, to make it a bit easier
on the eyes and to debug
- Removed XKeyboardState (moved to XplatUIX11.cs)
- Moved Keyboard properties into the properties region
* Control.cs (get_Region): Control.CreateGraphics is the appropriate
call to get a graphics context for our control
* XplatUIOSX.cs: Added empty overrides for the new caret functions
* TreeView.cs: Fixed bug. No matter what color was set it would always
return SystemColors.Window
* XplatUIWin32.cs: Implemented caret overrides
2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: fire events, implement missing methods and properties,
sorting.
2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs: invalidation bug fixing
* ThemeWin32Classic.cs: paint fixing
2004-12-09 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
prepare the CGContextRef there now.
2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- optimisationL only invalidate areas that have changed
* ThemeWin32Classic.cs:
- only paint parts that intersect with clip_area
2004-12-09 Peter Bartok <pbartok@novell.com>
* Application.cs: Undid changes from r37004 which cause problems
on X11
2004-12-09 Ravindra <rkumar@novell.com>
* ToolBar.cs: Added support for displaying ContextMenu
attached to a button on ToolBar.
* ToolBarButton.cs: Uncomment/fixed the DropDownMenu
property.
2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
* Label.cs: autosize works in text change and removes unnecessary
invalidate
2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
remove warnings
2004-12-08 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Added mouse move/click/grab support
Remove some debugging WriteLines not needed anymore.
Add window resizing/positioning.
Fix visibility on reparenting.
2004-12-08 Peter Bartok <pbartok@novell.com>
* XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
2004-12-07 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Initial checkin
* XplatUI.cs: Use the Quartz driver if the environment is set to use it
2004-12-03 Ravindra <rkumar@novell.com>
* ListView.cs: Added some keybindings and fixed scrolling.
ScrollBars listen to ValueChanged event instead of Scroll
Event. This would let us take care of all changes being
done in the scrollbars' values programmatically or manually.
* ListView.cs (CanMultiselect): Added a check for shift key.
* ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
* ListViewItem.cs (Clone): Fixed. We need to make a copy
of ListViewSubItemCollection as well.
2004-12-06 Peter Bartok <pbartok@novell.com>
* Control.cs (Parent): Added check and exception to prevent
circular parenting
2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: implemented clipping, selection single and multiple,
bug fixing
2004-12-03 Ravindra <rkumar@novell.com>
* ListView.cs (ListView_KeyDown):
* ListView.cs (ListView_KeyUp): Fixed multiple selection handling
when CTRL key is pressed.
* ListViewItem.cs (Selected): Fixed setting the property.
2004-12-03 Marek Safar <marek.safar@seznam.cz>
* Application.cs (OnThreadException): Use ThreadExceptionDialog.
* Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
MinimizeBox, ShowInTaskbar, TopMost properties.
* ThreadExceptionDialog.cs: Implemented (disabled TextBox until
will be implemented).
2004-12-03 Marek Safar <marek.safar@seznam.cz>
* OwnerDrawPropertyBag.cs: New internal parameterless ctor.
* TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
tests.
* TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
* TreeView.cs: BackColor is Colors.Window.
2004-12-01 Jackson Harper <jackson@ximian.com>
* TreeView.cs: When resizing the tree if the user is making it
smaller we don't get expose events, so we need to handle adding
the horizontal scrollbar in the size changed handler as well as
the expose handler.
2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
* DrawItemState.cs: fixes wrong enum values
2004-12-01 Jackson Harper <jackson@ximian.com>
* TreeView.cs: Resize the hbar as well as the vbar on resize.
2004-12-01 Jackson Harper <jackson@ximian.com>
* NodeLabelEditEventArgs.cs:
* NodeLabelEditEventHandler.cs:
* OpenTreeNodeEnumerator.cs:
* TreeNode.cs:
* TreeNodeCollection.cs:
* TreeView.cs:
* TreeViewAction.cs:
* TreeViewCancelEventArgs.cs:
* TreeViewCancelEventHandler.cs:
* TreeViewEventArgs.cs:
* TreeViewEventHandler.cs: Initial implementation.
2004-12-01 Ravindra <rkumar@novell.com>
* ListView.cs (CalculateListView): Fixed scrolling related
calculations. Also, removed some debug statements from other
places.
* ListViewItem.cs: Changed access to 'selected' instance variable
from private to internal.
* ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: remove cache of brush and pens for
specific controls and use the global system, fixes scrollbutton
bugs (for small sizes, disabled, etc)
* ScrollBar.cs: does not show the thumb for very small controls
(as MS) and allow smaller buttons that the regular size
2004-12-01 Miguel de Icaza <miguel@ximian.com>
* UpDownBase.cs: Add abstract methods for the interface.
Add new virtual methods (need to be hooked up to TextEntry when it
exists).
Add override methods for most features.
Computes the size, forces the height of the text entry.
* NumericUpDown.cs: Put here the current testing code.
* Set eol-style property on all files that do not have mixed line
endings, to minimize the future problems. There are still a few
files with mixed endings, and someone should choose whether they
want to move it or not.
2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
* MonthCalendar.cs, ListView.cs: use Theme colours instead of
System.Colors
2004-11-30 Ravindra <rkumar@novell.com>
* ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
drawing and replaced use of SystemColors by theme colors.
* ListView.cs (ListView_Paint): Fixed painting done during scrolling.
* ListView.cs (ListViewItemCollection.Add): Throw exception when
same ListViewItem is being added more than once.
2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- ControlStyles love to make the control not flicker
2004-11-30 Peter Bartok <pbartok@novell.com>
* CharacterCasing.cs: Added
2004-11-29 Peter Bartok <pbartok@novell.com>
* TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
I am removing these files as they conflict with already completed
work. While it is fantastic to get contributions to MWF, I
respectfully ask that everyone please coordinate their contributions
through mono-winforms-list or #mono-winforms at this time. We're
explicitly avoiding stubbing and don't want controls that don't have
their basic functionality implemented in svn. Please also see
http://www.mono-project.com/contributing/winforms.html
2004-11-29 Marek Safar <marek.safar@seznam.cz>
* Application.cs (ModalRun): Don't hang after exit.
* Theme.cs: New TreeViewDefaultSize property.
* ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
with less hardcoded SystemColors constant.
Implemented TreeViewDefaultSize.
* TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
TreeViewAction.cs, TreeViewEventArgs.cs: New files.
2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- Fix NextMonthDate and PrevMonthDate click moving calendar
2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- Fix usage of ScrollChange Property when scrolling months
2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
* Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
- Fixes menu destroying
- Support adding and removing items on already created menus
2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- Re-worked all bolded dates handling to match win32
* ThemeWin32Classic.cs:
- Fixed rendering with bolded dates
2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
- Horizontal scroolbar
- Multicolumn
- Fixes
2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs:
- Fix Usage of MaxSelectionCount from SelectionRange
- Fixed Shift + Cursor Selection
- Fixed Shift + (Pg up/Pg dn, Home/End) selection
- Fixed normal cursor selection to be compat with win32
- Fixed Shift + Mouse Click selection
2004-11-24 Peter Bartok <pbartok@novell.com>
* XplatUI.cs (DispatchMessage): Switched to return IntPtr
* XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
* XplatUIX11.cs:
- CreatedKeyBoardMsg now updates keystate with Alt key
- Added workaround for timer crash to CheckTimers, Jackson will
develop a proper fix and check in later
- Implemented DispatchMessage
- Removed calling the native window proc from GetMessage (call
now moved to DispatchMessage)
* KeyEventArgs.cs (Constructor): Now combines modifierkeys into
the keydata (Fixes bug #69831)
* XplatUIWin32.cs:
- (DispatchMessage): Switched to return IntPtr
- Added DllImport for SetFocus
2004-11-24 Ravindra <rkumar@novell.com>
* ThemeWin32Classic.cs: Fixed ListView border and checkbox
background drawing.
* ListViewItem.cs: Fixed various properties, calculations
and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
* ListView.cs: Fixed calculations, BackColor, ForeColor properties
and some internal properties. Fixed MouseDown handler and Paint
method.
2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
* MonthCalendar.cs: Add TitleMonth ContextMenu handling
2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
* ContainerControl.cs: correct accidental check in of local changes
2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
* ThemeWin32Classic.cs:
- Fixed Drawing Last month in grid (sometimes not showing)
* MonthCalendar.cs:
- Fixed title width calculation bug (makeing title small)
2004-11-23 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- Added generation of WM_MOUSEHOVER event
- Added missing assignment of async_method atom
- Fixed WM_ERASEBKGND; now only redraws the exposed area
2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
* ThemeWin32Classic.cs:
- Fixed Drawing of today circle when showtodaycircle not set
- fixed drawing of first and last month in the grid (gay dates)
* MonthCalendar.cs:
- Fixed Drawing of today circle
- Fixed drawing of grady dates
- Fixed HitTest for today link when ShowToday set to false
- Fixed DefaultSize to obey ShowToday
2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
* ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
* System.Windows.Forms/Theme.cs
* MonthCalendar.cs: added for MonthCalendar
* SelectionRange.cs: added for MonthCalendar
* Day.cs: added for MonthCalendar: added for MonthCalendar
* DateRangeEventArgs.cs: added for MonthCalendar
* DateRangeEventHandler.cs: added for MonthCalendar
2004-11-22 Ravindra <rkumar@novell.com>
* ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
property.
2004-11-22 Miguel de Icaza <miguel@ximian.com>
* UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
event handler.
* NumericUpDown.cs: Added new implementation.
* UpDownBase.cs: Added new implementation.
* XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
implementations.
* XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
implementations.
* XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
methods.
2004-11-21 Miguel de Icaza <miguel@ximian.com>
* Timer.cs (Dispose): Should call the base dispose when
overriding.
2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
* ScrollBar.cs: updates thumb position when max, min or increment
is changed
2004-11-21 Ravindra <rkumar@novell.com>
* ListView.cs: Implemented item selection, activation and
column header style. Fixed properties to do a redraw, if
required. Added support for MouseHover, DoubleClick, KeyDown
and KeyUp event handling and some minor fixes.
* ListViewItem.cs: Fixed constructor.
* ThemeWin32Classic.cs: Improved drawing for ListView.
2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: initial listbox drawing code
* DrawMode.cs: new enumerator
* ListControl.cs: stubbed class
* ListBox.cs: initial implementation
* Theme.cs: new methods definitions
* SelectionMode.cs: new enumerator
2004-11-17 Peter Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Added double-click events to the class style
* Control.cs (WndProc):
- Added handling of click-count to MouseDown/ MouseUp events.
- Added handling of middle and right mouse buttons
- Removed old debug code
2004-11-17 Jackson Harper <jackson@ximian.com>
* XplatUIX11.cs: Use the new Mono.Unix namespace.
2004-11-17 Ravindra <rkumar@novell.com>
* ListView.cs: Added event handling for MouseMove/Up/Down.
* ColumnHeader.cs: Added a read-only internal property 'Pressed'.
* ThemeWin32Classic.cs: We need to clear the graphics context and
draw column header in a proper state.
2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
* Menu.cs: fixes signature
2004-11-16 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs (GetMessage): Implemented generation of
double click mouse messages
2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
not by menu
2004-11-11 Peter Bartok <pbartok@novell.com>
* HandleData.cs: Added Visible property
* XplatUIX11.cs (IsVisible): Now uses Visible property from
HandleData
* XplatUIX11.cs: Removed old debug leftovers
* XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
* Control.cs (WndProc): Removed old debug leftovers,
streamlined handling of WM_WINDOWPOSCHANGED, removed un-
needed WM_SIZE handling
2004-11-11 Jackson Harper <jackson@ximian.com>
* OwnerDrawPropertyBag.cs:
* TreeViewImageIndexConverter.cs: Initial implementation
2004-11-10 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs:
* TabControl.cs: instead of moving tabs by the slider pos just
start drawing at the tab that is offset by the slider. This way
scrolling always moves by exactly one tab.
2004-11-10 Jackson Harper <jackson@ximian.com>
* TabControl.cs: You can only scroll left when the slider has
already ben moved right.
2004-11-10 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Do not draw the selected tab if its not in
the clip area.
2004-11-10 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
clip area.
2004-11-09 Jackson Harper <jackson@ximian.com>
* TabControl.cs (CalcXPos): New helper method so we can determine
the proper place to start drawing vertical tabs.
* ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
2004-11-09 Jackson Harper <jackson@ximian.com>
* TabControl.cs: Calculate sizing and rects for left aligned tabs.
* ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
and Bottom, left and right are illegal values for this and
multiline is enabled when the alignment is set to left or right.
(DrawTab): Each alignment block should draw the text itself now
because Left requires special love. Also add rendering for Left
aligned tabs.
2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
does not destroy the windows, removes debugging messages
2004-11-09 jba <jba-mono@optusnet.com.au>
* ThemeWin32Classic.cs
(DrawButtonBase): Fix verticle text rect clipping in windows
(DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
rendering and incorrect text rect clipping
(DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
rendering and incorrect text rect clipping
2004-11-08 Jackson Harper <jackson@ximian.com>
* ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
bottom when they are bottom aligned so the bottoms of the tabs get
displayed.
* TabControl.cs (DropRow): Move rows up instead of down when the
tab control is bottom aligned.
2004-11-08 13:59 pbartok
* XplatUIX11.cs:
- Added handling for various window styles
- Added handling for popup windows
- Added SetTopmost handling
2004-11-08 13:55 pbartok
* XplatUIWin32.cs:
- Added argument to SetTopmost method
- Fixed broken ClientToScreen function
2004-11-08 13:53 pbartok
* XplatUIStructs.cs:
- Added missing WS_EX styles
2004-11-08 13:53 pbartok
* XplatUI.cs, XplatUIDriver.cs:
- Added argument to SetTopmost
2004-11-08 13:52 pbartok
* X11Structs.cs:
- Added XSetWindowAttributes structure
- Improved XWindowAttributes structure
- Added SetWindowValuemask enum
- Added window creation arguments enum
- Added gravity enum
- Added Motif hints structure
- Added various Motif flags and enums
- Added PropertyMode enum for property functions
2004-11-08 13:50 pbartok
* Form.cs:
- Fixed arguments for updated SetTopmost method
2004-11-08 13:49 pbartok
* ToolTip.cs:
- Fixed arguments for updated SetTopmost function
- Fixed usage of PointToClient
2004-11-08 13:44 pbartok
* MenuAPI.cs:
- Added Clipping of children and siblings
2004-11-08 13:41 pbartok
* MainMenu.cs:
- Removed SetMenuBarWindow call. We do this in Form.cs
2004-11-08 13:40 jackson
* TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
scrolling jimmi in the correct location with bottom aligned tabs
2004-11-08 13:36 pbartok
* ContainerControl.cs:
- Implemented BindingContext
- Implemented ParentForm
2004-11-08 12:46 jackson
* TabControl.cs: Put bottom rendered tabs in the right location
2004-11-08 07:15 jordi
* ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
removes dead code
2004-11-05 17:30 jackson
* TabControl.cs: When selected tabs are expanded make sure they
don't go beyond the edges of the tab control
2004-11-05 14:57 jackson
* TabControl.cs: Reset show_slider so if the control is resized to
a size where it is no longer needed it's not displayed anymore
2004-11-05 13:16 jackson
* TabControl.cs: Make tab pages non visible when added to the
control
2004-11-05 12:42 jackson
* TabControl.cs: Implement SizeMode.FillToRight
2004-11-05 12:16 jackson
* Control.cs: Do not call CreateHandle if the handle is already
created
2004-11-05 11:46 jackson
* TabControl.cs: Remove superflous call to CalcTabRows
2004-11-05 09:07 jackson
* XplatUIX11.cs: Update for Mono.Posix changes
2004-11-05 07:00 ravindra
* ListView.cs, ListViewItem.cs: Implemented some methods and fixed
scrolling.
2004-11-04 22:47 jba
* ThemeWin32Classic.cs:
- Fix Button rendering for FlatStyle = Flat or Popup
- Fix RadioButton and CheckBox rendering when Appearance = Button
(normal and flatstyle).
- Correct outer rectangle color when drawing focus rectangle
- Adjust button bounds to be 1 px smaller when focused
- Make button not draw sunken 3d border when pushed (windows compat)
- Fix CPDrawBorder3D to not make bottom right hand corner rounded
- Offset the text in RadioButton and Checkbox when being rendered as
a button.
- Hover and Click behaviour for Colored FlatStyle.Flat and Popup
radiobuttons
- Fixed disabled rendering for colored flatstyle radiobuttons (both)
- Fixed disabled text rendering for normally rendered radiobuttons
2004-11-04 10:26 jackson
* TabControl.cs: Recalculate tab rows when resizing
2004-11-04 07:47 jordi
* Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
collection completion, drawing issues, missing features
2004-11-04 05:03 ravindra
* ScrollBar.cs:
- We need to recalculate the Thumb area when
LargeChange/maximum/minimum values are changed.
- We set the 'pos' in UpdatePos() method to minimum, if it's less
than minimum. This is required to handle the case if large_change is
more than max, and use LargeChange property instead of large_change
variable.
- We return max+1 when large_change is more than max, like MS does.
2004-11-04 04:29 ravindra
* ColumnHeader.cs, ListView.cs, ListViewItem.cs:
- Changed default value signatures (prefixed all with ListView).
- Fixed/implemented layout LargeIcon, SmallIcon and List views for
ListView.
- Fixed calculations for ListViewItem and implemented Clone()
method.
2004-11-04 04:26 ravindra
* Theme.cs, ThemeWin32Classic.cs:
- Changed default ListView values signatures (prefixed all with
ListView).
- Fixed default size values for VScrollBar and HScrollBar.
- Fixed DrawListViewItem method.
2004-11-04 04:05 ravindra
* ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
2004-11-04 04:04 ravindra
* ImageList.cs: Implemented the missing overload for Draw method.
2004-11-03 19:29 jackson
* TabControl.cs: Handle dropping rows on selection properly
2004-11-03 11:59 jackson
* TabControl.cs: remove debug code
2004-11-03 11:52 jackson
* TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
the scrolly widgerywoo
2004-11-02 13:52 jackson
* TabControl.cs: Resize the tab pages and tabs when the tab control
is resized
2004-11-02 13:40 jackson
* TabControl.cs, ThemeWin32Classic.cs: Move the row with the
selected tab to the bottom
2004-11-02 13:39 jackson
* TabPage.cs: Store the tab pages row
2004-11-02 12:33 jordi
* MenuItem.cs: fixes handle creation
2004-11-02 11:42 jackson
* TabControl.cs: signature fix
2004-11-02 08:56 jackson
* TabControl.cs: Calculate whether the tab is on an edge properly.
Remove top secret debugging code
2004-11-01 19:57 jackson
* TabControl.cs: Add click handling, and proper sizing
2004-11-01 19:47 jackson
* Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
tab controls
2004-11-01 19:39 jackson
* TabPage.cs: add internal property to store the bounds of a tab
page
2004-10-30 04:23 ravindra
* Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
values.
2004-10-30 04:21 ravindra
* ListView.cs, ListViewItem.cs: Added support for scrolling and
fixed calculations.
2004-10-30 03:06 pbartok
* XplatUIX11.cs:
- Removed extension of DllImported libs
2004-10-29 09:55 jordi
* Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
navigation, itemcollection completion, menu fixes
2004-10-27 22:58 pbartok
* XplatUIX11.cs:
- Now throws a nice error message when no X display could be opened
2004-10-26 13:51 jordi
* ListView.cs: removes warning
2004-10-26 03:55 ravindra
* ColumnHeader.cs, ListView.cs, ListViewItem.cs,
ThemeWin32Classic.cs: Some formatting for my last checkins.
2004-10-26 03:36 ravindra
* ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
control and default values.
2004-10-26 03:35 ravindra
* Theme.cs: Added some default values for ListView control.
2004-10-26 03:33 ravindra
* ToolBar.cs: ToolBar should use the user specified button size, if
there is any. Added a size_specified flag for the same.
2004-10-26 03:33 ravindra
* ColumnHeader.cs: Added some internal members and calculations for
ColumnHeader.
2004-10-26 03:32 ravindra
* ListViewItem.cs: Calculations for ListViewItem.
2004-10-26 03:31 ravindra
* ListView.cs: Added some internal members and calculations for
ListView.
2004-10-22 13:31 jordi
* MenuAPI.cs: speedup menus drawing
2004-10-22 13:16 jackson
* XplatUIX11.cs: Make sure to update exposed regions when adding an
expose event
2004-10-22 11:49 jackson
* Control.cs: oops
2004-10-22 11:41 jackson
* Control.cs: Check to see if the window should have its background
repainted by X when drawing.
2004-10-22 11:31 jackson
* XplatUIX11.cs: When invalidating areas only use XClearArea if
clear is true, this way we do not get flicker from X repainting the
background
2004-10-22 11:28 jackson
* XEventQueue.cs: Queue properly
2004-10-21 09:38 jackson
* XEventQueue.cs: Fix access modifier
2004-10-21 09:36 jackson
* XEventQueue.cs: Don't loose messages
2004-10-21 09:22 jackson
* XEventQueue.cs: Don't loose messages
2004-10-20 04:15 jordi
* BootMode.cs: enum need it by SystemInfo
2004-10-19 21:58 pbartok
* XplatUIWin32.cs:
- Small sanity check
2004-10-19 21:56 pbartok
* Form.cs:
- Added private FormParentWindow class which acts as the container
for our form and as the non-client area where menus are drawn
- Added/Moved required tie-ins to Jordi's menus
- Fixed/Implemented the FormStartPosition functionality
2004-10-19 21:52 pbartok
* Control.cs:
- Removed unneeded locals
- Added code to all size and location properties to understand and
deal with the parent container of Form
2004-10-19 21:33 pbartok
* Application.cs:
- Fixed to deal with new Form subclasses for menus
2004-10-19 17:48 jackson
* XEventQueue.cs: commit correct version of file
2004-10-19 16:50 jackson
* XEventQueue.cs, XplatUIX11.cs: New optimized event queue
2004-10-19 16:15 jordi
* MenuAPI.cs: MenuBarCalcSize returns the height
2004-10-19 08:31 pbartok
* Control.cs:
- Added missing call to PreProcessMessage before calling OnXXXKey
methods
2004-10-19 00:04 ravindra
* ToolTip.cs: Fixed constructor.
2004-10-18 09:31 jordi
* MenuAPI.cs: menuitems in menubars do not have shortcuts
2004-10-18 09:26 jordi
* MenuItem.cs: fixes MenuItem class signature
2004-10-18 08:56 jordi
* MenuAPI.cs: prevents windows from showing in the taskbar
2004-10-18 00:28 ravindra
* ToolTip.cs: Suppressed a warning message.
2004-10-18 00:27 ravindra
* Control.cs: Default value of visible property must be true.
2004-10-17 23:19 pbartok
* ToolTip.cs:
- Complete implementation
2004-10-17 23:19 pbartok
* XplatUIX11.cs:
- Added EnableWindow method
- Added SetModal stub
- Added generation of WM_ACTIVATE message (still needs testing)
- Added SetTopMost stub
- Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
2004-10-17 23:17 pbartok
* XplatUIWin32.cs:
- Removed VirtualKeys to XplatUIStructs
- Implemented SetTopMost method
- Implemented EnableWindow method
- Bugfix in ScreenToClient()
- Bugfixes in ClientToScreen()
2004-10-17 22:51 pbartok
* XplatUIStructs.cs:
- Added WS_EX styles to WindowStyles enumeration
2004-10-17 22:50 pbartok
* XplatUI.cs, XplatUIDriver.cs:
- Added method for enabling/disabling windows
- Added method for setting window modality
- Added method for setting topmost window
2004-10-17 22:49 pbartok
* ThemeWin32Classic.cs:
- Added ToolTip drawing code
2004-10-17 22:49 pbartok
* Theme.cs:
- Added ToolTip abstracts
2004-10-17 22:47 pbartok
* Form.cs:
- Fixed Form.ControlCollection to handle owner relations
- Added Owner/OwnedForms handling
- Implemented Z-Ordering for owned forms
- Removed unneeded private overload of ShowDialog
- Fixed ShowDialog, added the X11 incarnation of modal handling (or
so I hope)
- Fixed Close(), had wrong default
- Added firing of OnLoad event
- Added some commented out debug code for Ownership handling
2004-10-17 22:16 pbartok
* Control.cs:
- Fixed/implemented flat list of controls
2004-10-17 22:14 pbartok
* Application.cs:
- Added code to simulate modal dialogs on Win32
2004-10-17 16:11 jordi
* ScrollBar.cs: disabled scrollbar should not honor any keyboard or
mouse event
2004-10-17 13:39 jordi
* MenuAPI.cs: menu drawing fixes
2004-10-15 09:10 ravindra
* StructFormat.cs: General Enum.
2004-10-15 09:09 ravindra
* SizeGripStyle.cs: Enum for Form.
2004-10-15 09:08 ravindra
* Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
in Theme for ListView.
2004-10-15 09:06 ravindra
* ColumnHeader.cs: Flushing some formatting changes.
2004-10-15 09:05 ravindra
* ListViewItem.cs: Implemented GetBounds method and fixed coding
style.
2004-10-15 09:03 ravindra
* ListView.cs: Implemented Paint method and fixed coding style.
2004-10-15 07:34 jordi
* MenuAPI.cs: fix for X11
2004-10-15 07:32 ravindra
* ButtonBase.cs, CheckBox.cs, RadioButton.cs:
- Renamed Paint() method to Draw() for clarity. Also, moved
DrawImage() to OnPaint().
2004-10-15 07:25 ravindra
* CheckBox.cs, RadioButton.cs:
- Removed Redraw (), we get it from ButtonBase.
- Implemented Paint (), to do class specific painting.
2004-10-15 07:16 ravindra
* ButtonBase.cs:
- Redraw () is not virtual now.
- Added an internal virtual method Paint (), so that
derived classes can do their painting on their own.
- Modified OnPaint () to call Paint ().
2004-10-15 06:43 jordi
* ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
2004-10-15 00:30 ravindra
* MessageBox.cs:
- MessageBox on windows does not have min/max buttons.
This change in CreateParams fixes this on Windows. We
still need to implement this windowstyle behavior in
our X11 driver.
2004-10-14 05:14 ravindra
* ToolBar.cs:
- Changed Redraw () to do a Refresh () always.
- Fixed the MouseMove event handling when mouse is pressed,
ie drag event handling.
- Replaced the usage of ToolBarButton.Pressed property to
ToolBarButton.pressed internal variable.
2004-10-14 05:10 ravindra
* ToolBarButton.cs:
- Added an internal member 'inside' to handle mouse move
with mouse pressed ie mouse drag event.
- Changed 'Pressed' property to return true only when
'inside' and 'pressed' are both true.
- Some coding style love.
2004-10-14 00:17 ravindra
* Form.cs: Fixed class signature. ShowDialog (Control) is not a
public method.
2004-10-14 00:15 ravindra
* ButtonBase.cs: Redraw () related improvements.
2004-10-14 00:14 ravindra
* MessageBox.cs: Moved InitFormSize () out of Paint method and
removed unnecessary calls to Button.Show () method.
2004-10-13 17:50 pbartok
* XplatUIX11.cs:
- Formatting fix
- Removed destroying of window until we solve the problem of X
destroying the window before us on shutdown
2004-10-13 16:32 pbartok
* ButtonBase.cs:
- Now Redraws on MouseUp for FlatStyle Flat and Popup
2004-10-13 14:18 pbartok
* XplatUIX11.cs:
- Added code to destroy the X window
2004-10-13 14:18 pbartok
* XplatUIWin32.cs:
- Added code to destroy a window
2004-10-13 14:12 pbartok
* ButtonBase.cs:
- Added the Redraw on Resize that got dropped in the last rev
2004-10-13 09:06 pbartok
* ThemeWin32Classic.cs:
- Path from John BouAntoun:
* Fix check rendering (centre correctly for normal style, offset
correctly for FlatStyle).
* Fix border color usage (use backcolor) for FlatStyle.Popup
* Use checkbox.Capture instead of checkbox.is_pressed when
rendering flatstyle states.
2004-10-12 21:48 pbartok
* ThemeWin32Classic.cs:
- Removed all occurences of SystemColors and replaced them with the
matching theme color
2004-10-12 21:41 pbartok
* ThemeWin32Classic.cs:
- From John BouAntoun: Added an overload to CPDrawBorder3D to allow
him using the function for flatstyle drawing
- Changed functions to use the new version of CPDrawBorder3D
2004-10-12 21:15 pbartok
* ControlPaint.cs:
- Fixed Dark(), DarkDark(), Light() and LightLight() methods to
match MS documentation. They need to return defined colors if the
passed color matches the configured control color. Thanks to John
BouAntoun for pointing this out.
2004-10-12 20:57 pbartok
* Control.cs:
- Fix from John BouAntoun: Raise ForeColorChanged event when text
color is changed
2004-10-12 20:46 pbartok
* CheckBox.cs:
- Fix from John BouAntoun: Now properly sets the Appearance property
2004-10-12 20:45 pbartok
* ThemeWin32Classic.cs:
- Fixes from John BouAntoun: now handles forecolors and backcolors
for flatstyle rendered controls much better; It also fixes normal
checkbox rendering when pushed or disabled.
2004-10-08 02:50 jordi
* Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
work
2004-10-07 08:56 jordi
* ThemeWin32Classic.cs: Removes deletion of cached brushes
2004-10-06 03:59 jordi
* Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
XplatUIWin32.cs: removes warnings from compilation
2004-10-05 12:23 jackson
* RadioButton.cs: Fix ctor
2004-10-05 11:10 pbartok
* MessageBox.cs:
- Partial implementation by Benjamin Dasnois
2004-10-05 10:15 jackson
* ThemeWin32Classic.cs: Improve rendering of the radio button patch
by John BouAntoun
2004-10-05 03:07 ravindra
* ToolBar.cs:
- Removed a private method, Draw ().
- Fixed the ButtonDropDown event handling.
- Fixed MouseMove event handling.
2004-10-05 03:04 ravindra
* ThemeWin32Classic.cs:
- Added DrawListView method and ListViewDefaultSize property.
- Changed ControlPaint method calls to CPDrawXXX wherever possible.
- Changed DOS style CRLF to Unix format (dos2unix).
2004-10-05 03:03 ravindra
* Theme.cs:
- Added DrawListView method and ListViewDefaultSize property.
2004-10-05 02:42 ravindra
* ToolBarButton.cs: Added an internal member dd_pressed to handle
clicks on DropDown arrow.
2004-10-04 22:56 jackson
* ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
Control handle the buffers, derived classes should not have to
CreateBuffers themselves.
2004-10-04 21:20 jackson
* StatusBar.cs: The control handles resizing the buffers now.
2004-10-04 21:18 jackson
* Control.cs: When resizing the buffers should be invalidated. This
should be handled in Control not in derived classes.
2004-10-04 14:45 jackson
* TabPage.cs: oops
2004-10-04 02:14 pbartok
* LeftRightAlignment.cs:
- Initial check-in
2004-10-04 01:09 jordi
* ThemeWin32Classic.cs: fixes right button position causing right
button not showing on horizontal scrollbars
2004-10-02 13:12 pbartok
* XplatUIX11.cs:
- Simplified the Invalidate method by using an X call instead of
generating the expose ourselves
- Added an expose when the window background is changed
- Implemented ClientToScreen method
2004-10-02 13:08 pbartok
* XplatUIWin32.cs:
- Added Win32EnableWindow method (test for implementing modal
dialogs)
- Added ClientToScreen method and imports
2004-10-02 13:07 pbartok
* XplatUI.cs, XplatUIDriver.cs:
- Added ClientToScreen coordinate translation method
2004-10-02 13:06 pbartok
* KeyPressEventArgs.cs:
- Fixed access level for constructor
2004-10-02 13:06 pbartok
* NativeWindow.cs:
- Changed access level for the window_collection hash table
2004-10-02 13:05 pbartok
* Form.cs:
- Added KeyPreview property
- Added Menu property (still incomplete, pending Jordi's menu work)
- Implemented ProcessCmdKey
- Implemented ProcessDialogKey
- Implemented ProcessKeyPreview
2004-10-02 13:02 pbartok
* Control.cs:
- Added private method to get the Control object from the window
handle
- Implemented ContextMenu property
- Implemented PointToScreen
- Implemented PreProcessMessage
- Implemented IsInputChar
- Implemented IsInputKey
- Implemented ProcessCmdKey
- Completed ProcessKeyEventArgs
- Fixed message loop to call the proper chain of functions on key
events
- Implemented ProcessDialogChar
- Implemented ProcessDialogKey
- Implemented ProcessKeyMessage
- Implemented ProcessKeyPreview
- Added RaiseDragEvent stub (MS internal method)
- Added RaiseKeyEvent stub (MS internal method)
- Added RaiseMouseEvent stub (MS Internal method)
- Added RaisePaintEvent stub (MS Internal method)
- Added ResetMouseEventArgs stub (MS Internal method)
- Implemented RtlTranslateAlignment
- Implemented RtlTranslateContent
- Implemented RtlTranslateHorizontal
- Implemented RtlTranslateLeftRight
- Added generation of KeyPress event
2004-10-02 05:57 ravindra
* ListViewItem.cs: Added attributes.
2004-10-02 05:32 ravindra
* ListView.cs: Added attributes.
2004-10-01 11:53 jackson
* Form.cs: Implement the Close method so work on MessageBox can
continue.
2004-09-30 14:06 pbartok
* XplatUIX11.cs:
- Bug fixes
2004-09-30 11:34 jackson
* RadioButton.cs: Fix typo. Patch by John BouAntoun.
2004-09-30 07:26 ravindra
* ListViewItemConverter.cs: Converter for ListViewItem.
2004-09-30 07:26 ravindra
* SortOrder.cs: Enum for ListView control.
2004-09-30 07:25 ravindra
* ColumnHeader.cs: Supporting class for ListView control.
2004-09-30 07:24 ravindra
* ListView.cs, ListViewItem.cs: Initial implementation.
2004-09-30 07:20 ravindra
* ItemActivation.cs: Enum for ListView Control.
2004-09-29 20:29 pbartok
* XplatUIX11.cs:
- Added lookup of pixel value for background color; tries to get a
color 'close' to the requested color, it avoids having to create a
colormap. Depending on the display this could mean the used color
is slightly off the desired color. Might have to change it to a more
resource intensive colormap approach, but it will work as a
workaround to avoid red screens.
2004-09-29 14:27 jackson
* XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
2004-09-28 12:44 pbartok
* ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
TrackBar.cs, VScrollBar.cs:
- Streamlined Theme interfaces:
* Each DrawXXX method for a control now is passed the object for
the control to be drawn in order to allow accessing any state the
theme might require
* ControlPaint methods for the theme now have a CP prefix to avoid
name clashes with the Draw methods for controls
* Every control now retrieves it's DefaultSize from the current
theme
2004-09-28 12:17 jackson
* Button.cs: Do not redraw OnClick MouseUp/Down will handle the
drawing
2004-09-24 14:57 jackson
* XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
Gives us a nice little performance boost.
2004-09-24 12:02 jackson
* TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
Control and supporting classes. Initial checkin
2004-09-23 13:08 jackson
* Form.cs: Temp build fixage
2004-09-23 01:39 ravindra
* ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
ItemDragEventArgs.cs, ItemDragEventHandler.cs,
LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
EventHandlers needed by ListView Control.
2004-09-22 14:12 pbartok
* ScrollableControl.cs:
- Implemented DockPadding property
- Implemented AutoScroll property
- Implemented AutoScrollMargin property
- Implemented AutoScrollMinSize property
- Implemented AutoScrollPosition property
- Implemented DisplayRectangle property (still incomplete)
- Implemented CreateParams property
- Implemented HScroll property
- Implemented VScroll property
- Implemented OnVisibleChanged property
2004-09-22 14:09 pbartok
* Form.cs:
- Added Form.ControllCollection class
- Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
RemoveOwnedForm (still incomplete, missing on-top and common
minimize/maximize behaviour)
- Added StartPosition property (still incomplete, does not use when
creating the form)
- Added ShowDialog() methods (still incomplete, missing forcing the
dialog modal)
2004-09-22 14:05 pbartok
* Application.cs:
- Added message loop for modal dialogs
2004-09-22 14:02 pbartok
* GroupBox.cs:
- Fixed wrong types for events
2004-09-22 14:00 pbartok
* Shortcut.cs, FormWindowState.cs:
- Fixed wrong values
2004-09-22 12:01 jackson
* Control.cs: Text is never null
2004-09-20 22:14 pbartok
* XplatUIWin32.cs:
- Fixed accessibility level for Idle handler
2004-09-20 18:54 jackson
* Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
XplatUIX11.cs: New message loop that uses poll so we don't get a
busy loop
2004-09-17 10:43 pbartok
* ScrollBar.cs:
- Fixed behaviour of arrow buttons. Now properly behaves like
Buttons (and like Microsoft's scrollbar arrow buttons)
2004-09-17 10:14 pbartok
* ScrollBar.cs:
- Added missing release of keyboard/mouse capture
2004-09-17 06:18 jordi
* ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
Theme.cs: Very early menu support
2004-09-16 17:45 pbartok
* XplatUIWin32.cs:
- Fixed sending a window to the front
- Added overload for SetWindowPos to avoid casting
2004-09-16 17:44 pbartok
* Control.cs:
- Added SendToBack and BringToFront methods
2004-09-16 07:00 ravindra
* Copyright: Added Novell URL.
2004-09-16 07:00 ravindra
* ToolBar.cs: Invalidate should be done before redrawing.
2004-09-15 21:19 ravindra
* ColumnHeaderStyle.cs: Enum for ListView Control.
2004-09-15 21:18 ravindra
* ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
ListView Control.
2004-09-13 18:26 jackson
* Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
properly
2004-09-13 18:13 jackson
* Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
a second thread and post messages into the main threads message
queue. This makes timing much more consistent. Both win2K and XP
have a minimum timer value of 15 milliseconds, so we now do this
too.
2004-09-13 15:18 pbartok
* X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
XplatUIX11.cs:
- Added Z-Ordering methods
2004-09-13 10:56 pbartok
* Form.cs:
- Fixed #region names
- Moved properties and methods into their proper #regions
2004-09-13 10:51 pbartok
* Form.cs:
- Added Accept and CancelButton properties
- Added ProcessDialogKey() method
2004-09-13 08:18 pbartok
* IWindowTarget.cs:
- Initial check-in
2004-09-10 21:50 pbartok
* Control.cs:
- Added DoDragDrop() [incomplete]
- Properly implemented 'Visible' handling
- Added SetVisibleCore()
- Implemented FindChildAtPoint()
- Implemented GetContainerControl()
- Implemented Hide()
2004-09-10 19:28 pbartok
* Control.cs:
- Moved methods into their appropriate #regions
- Reordered methods within regions alphabetically
2004-09-10 18:57 pbartok
* XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
- Added method to retrieve text from window
2004-09-10 18:56 pbartok
* Control.cs:
- Moved some internal functions into the internal region
- Implemented FontHeight
- Implemented RenderRightToLeft
- Implemented ResizeRedraw
- Implemented ShowFocusCues
- Implemented ShowKeyboardCues
- Implemented FromChildHandle
- Implemented FromHandle
- Implemented IsMnemonic
- Implemented ReflectMessage
- All public and protected Static Methods are now complete
2004-09-10 16:54 pbartok
* Control.cs:
- Implemented remaining missing public instance properties
- Alphabetized some out of order properties
2004-09-10 05:51 ravindra
* PictureBox.cs: Added a check for null image.
2004-09-10 00:59 jordi
* GroupBox.cs: remove cvs tag
2004-09-09 05:25 ravindra
* ToolBar.cs: Make redraw accessible from ToolBarButton.
2004-09-09 05:23 ravindra
* ToolBarButton.cs: Changes in ToolBarButton need to make it's
parent redraw.
2004-09-09 02:28 pbartok
* ThemeWin32Classic.cs:
- Improve disabled string look
2004-09-09 01:15 jordi
* MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
args and handler
2004-09-08 23:56 ravindra
* ItemBoundsPortion.cs: It's enum, not a class!
2004-09-08 23:47 ravindra
* FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
Enums for Form.
2004-09-08 21:13 ravindra
* ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
ListView control.
2004-09-08 21:03 ravindra
* ThemeWin32Classic.cs: PictureBox would not draw a null image to
avoid crash.
2004-09-08 21:01 ravindra
* ScrollableControl.cs: Removed unreachable code.
2004-09-08 06:45 jordi
* MenuMerge.cs, Shortcut.cs: enumerations need it by menus
2004-09-08 01:00 jackson
* XplatUIX11.cs: Only run the timers when updating the message
queue. This effectively gives X messages a higher priority then
timer messages. Timers still need love though
2004-09-07 14:01 jackson
* XplatUIX11.cs: Do not call XDestroyWindow, X has already done
this for us and the handle is no longer valid.
2004-09-07 13:59 jackson
* HandleData.cs, XplatUIX11.cs: First steps towards a new X event
loop that manages to not crash. TODO: Add poll and cleanup timers
2004-09-07 11:12 jordi
* GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
2004-09-07 03:40 jordi
* Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
fixes, methods, multiple links
2004-09-06 06:55 jordi
* Control.cs: Caches ClientRectangle rectangle value
2004-09-05 02:03 jordi
* ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
certain situations
2004-09-04 11:10 jordi
* Label.cs: Refresh when font changed
2004-09-02 16:24 pbartok
* Control.cs:
- Added sanity check to creation of double buffer bitmap
2004-09-02 16:24 pbartok
* ButtonBase.cs:
- Fixed selection of text color
- Fixed handling of resize event; now properly recreates double
buffering bitmap
- Added missing assignment of TextAlignment
- Added proper default for TextAlignment
2004-09-02 14:26 pbartok
* RadioButton.cs:
- Added missing RadioButton.RadioButtonAccessibleObject class
2004-09-02 14:26 pbartok
* Control.cs:
- Added missing Control.ControlAccessibleObject class
- Started to implement Select()ion mechanisms, still very incomplete
2004-09-02 14:25 pbartok
* AccessibleObject.cs:
- Added missing methods
2004-09-02 14:23 pbartok
* AccessibleNavigation.cs, AccessibleSelection.cs:
- Initial check-in
2004-09-02 10:32 jordi
* Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
pool for pens, brushes, and hatchbruses
2004-09-01 15:30 jackson
* StatusBar.cs: Fix typo
2004-09-01 14:44 pbartok
* RadioButton.cs:
- Fixed state
2004-09-01 14:39 pbartok
* Button.cs, RadioButton.cs:
- Functional initial check-in
2004-09-01 14:01 pbartok
* CheckBox.cs:
- Added missing default
- Added missing region mark
2004-09-01 09:10 jordi
* Label.cs: fixes method signatures, new methods, events, fixes
autosize
2004-09-01 07:19 jordi
* Control.cs: Init string variables with an empty object
2004-09-01 04:20 jordi
* Control.cs: fires OnFontChanged event
2004-08-31 20:07 pbartok
* ButtonBase.cs:
- Enabled display of strings
2004-08-31 20:05 pbartok
* Form.cs:
- Added (partial) implementation of DialogResult; rest needs to be
implemented when the modal loop code is done
2004-08-31 19:55 pbartok
* CheckBox.cs:
- Fixed to match the removal of the needs_redraw concept
2004-08-31 19:55 pbartok
* ButtonBase.cs:
- Removed the rather odd split between 'needs redraw' and redrawing
- Now handles the events that require regeneration (ambient
properties and size)
2004-08-31 19:41 pbartok
* Control.cs:
- Added firing of BackColorChanged event
- Added TopLevelControl property
- Fixed handling of WM_ERASEBKGRND message
2004-08-31 12:49 pbartok
* ButtonBase.cs:
- Removed debug
- Minor fixes
2004-08-31 12:48 pbartok
* CheckBox.cs:
- Finished (famous last words)
2004-08-31 04:35 jordi
* ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
scrolling bugs, adds new methods
2004-08-30 14:42 pbartok
* CheckBox.cs:
- Implemented CheckBox drawing code
2004-08-30 14:42 pbartok
* ButtonBase.cs:
- Made Redraw() and CheckRedraw() virtual
- Improved mouse up/down/move logic to properly track buttons
2004-08-30 09:44 pbartok
* CheckBox.cs:
- Updated to fix broken build. Not complete yet.
2004-08-30 09:28 pbartok
* CheckState.cs:
- Initial checkin
2004-08-30 09:17 pbartok
* Appearance.cs:
- Initial check-in
2004-08-27 16:12 ravindra
* ToolBarButton.cs: Added TypeConverter attribute.
2004-08-27 16:07 ravindra
* ImageIndexConverter.cs: Implemented.
2004-08-27 14:17 pbartok
* Control.cs:
- Removed unneeded stack vars
- First attempt to fix sizing issues when layout is suspended
2004-08-25 15:35 jordi
* ScrollBar.cs: more fixes to scrollbar
2004-08-25 14:04 ravindra
* Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
Added the missing divider code and grip for ToolBar Control.
2004-08-25 13:20 pbartok
* Control.cs:
- Control now properly passes the ambient background color to child
controls
2004-08-25 13:20 jordi
* ScrollBar.cs: small bug fix regarding bar position
2004-08-25 12:33 pbartok
* Timer.cs:
- Now only calls SetTimer or KillTimer if the enabled state has
changed
2004-08-25 12:33 pbartok
* XplatUIWin32.cs:
- Fixed timer handling, now seems to work
- Improved error message for window creation
2004-08-25 12:32 pbartok
* Control.cs:
- Fixed generation of MouseUp message
2004-08-25 12:29 jordi
* ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
and fixes for progressbar
2004-08-24 18:43 ravindra
* ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
in ToolBar control.
2004-08-24 17:15 pbartok
* Panel.cs:
- Added #region
- Added missing events
- Alphabetized
2004-08-24 17:14 pbartok
* StatusBar.cs, PictureBox.cs:
- Now uses Control's CreateParams
2004-08-24 16:36 pbartok
* XplatUIX11.cs:
- Fixed background color handling
- Fixed sending of enter/leave events on a grab
2004-08-24 16:35 pbartok
* X11Structs.cs:
- Refined definitions for CrossingEvent
2004-08-24 12:37 jordi
* ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
formmating, methods signature, and adds missing events
2004-08-24 12:24 jordi
* Control.cs: fire OnEnabledChanged event
2004-08-24 11:17 pbartok
* XplatUIWin32.cs:
- Implemented SetTimer() and KillTimer()
2004-08-24 11:16 pbartok
* XplatUIX11.cs:
- Now uses Remove instead of Add to kill the timer
2004-08-24 10:16 jackson
* PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
picture boxes in the theme now. Draw picture box borders and obey
sizing modes
2004-08-24 05:49 jackson
* Timer.cs: Remove top secret debugging code
2004-08-24 05:34 jackson
* PictureBox.cs: Temp hack to make picture boxes draw their full
image
2004-08-24 05:29 jackson
* Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
XplatUIX11.cs: Move timers to the driver level. On X they are
queued by the driver and checked on idle.
2004-08-24 01:07 jackson
* XplatUIX11.cs: Use a queue for async messages instead of passing
them as ClientMessages since that was totally broken. Also simply
check for events and return an idle message if none are found. This
gives us an idle handler, and prevents deadlocking when no messages
are in the queue.
2004-08-23 18:19 ravindra
* XplatUIWin32.cs: Removed the unwanted destructor.
2004-08-23 17:27 pbartok
* ButtonBase.cs:
- Finishing touches. Works now, just needs some optimizations.
2004-08-23 16:53 jordi
* ScrollBar.cs: small fix
2004-08-23 16:45 pbartok
* Application.cs:
- Removed debug output
- Simplifications
2004-08-23 16:43 jordi
* ScrollBar.cs: [no log message]
2004-08-23 16:10 pbartok
* Form.cs:
- Fixed handling of WM_CLOSE message
- Removed debug output
2004-08-23 16:09 pbartok
* Application.cs:
- Added handling of Idle event
- Added handling of form closing
- Fixed reporting of MessageLoop property
- Removed some unneeded code, should provide a bit of a speedup
2004-08-23 15:22 pbartok
* Control.cs:
- Added InitLayout() method
- Added code to properly perform layout when Anchor or Dock property
is changed
- Changed 'interpretation' of ResumeLayout. MS seems to have a
LAMESPEC, tried to do it in a way that makes sense
2004-08-23 14:10 jordi
* HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
properties and methods
2004-08-23 13:55 pbartok
* Control.cs:
- Properly fixed Jordi's last fix
- Now uses Cursor's Position property instead of calling XplatUI
directly
2004-08-23 13:44 jordi
* PaintEventHandler.cs: Adding missing attribute
2004-08-23 13:39 pbartok
* Cursor.cs:
- Implemented Position property
2004-08-23 13:39 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
- Added method to move mouse cursor
2004-08-23 13:39 pbartok
* XplatUIX11.cs:
- Fixed setting of background color
- Added method to move mouse cursor
2004-08-23 13:16 jordi
* Control.cs: avoids null exception
2004-08-22 17:46 jackson
* PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
PictureBox
2004-08-22 17:40 jackson
* XplatUIX11.cs: Add some missing locks
2004-08-22 15:10 pbartok
* Control.cs, Form.cs:
- Removed OverlappedWindow style from Control, instead it's default
now is child
- Made form windows OverlappedWindow by default
2004-08-22 13:34 jackson
* ScrollBar.cs: Update the position through the Value property so
the OnValueChanged event is raised.
2004-08-22 12:04 pbartok
* SWF.csproj:
- Added Cursor.cs and UserControl.cs
2004-08-22 12:03 pbartok
* Cursor.cs:
- Started implementation, not usable yet
2004-08-22 12:00 pbartok
* UserControl.cs:
- Implemented UserControl (complete)
2004-08-21 19:20 ravindra
* ToolBar.cs: Correcting the formatting mess of VS.NET.
2004-08-21 18:49 ravindra
* ToolBar.cs: Probably this completes the missing attributes in
toolbar control.
2004-08-21 18:03 ravindra
* ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
Fixed toolbar control signatures.
2004-08-21 16:32 pbartok
* LinkLabel.cs:
- Signature Fixes
2004-08-21 16:30 pbartok
* Label.cs:
- Signature fixes
2004-08-21 16:19 pbartok
* Control.cs, Label.cs:
- Signature fixes
2004-08-21 15:57 pbartok
* ButtonBase.cs:
- Added loads of debug output for development
- Fixed typo in method name
2004-08-21 15:52 pbartok
* ToolBarButtonClickEventArgs.cs:
- Added missing base class
2004-08-21 14:53 pbartok
* Control.cs:
- Updated to match new GrabWindow signature
2004-08-21 14:51 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Added method to get default display size
2004-08-21 14:23 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Added method to query current grab state
- Added argument to allow confining a grab to a window
2004-08-21 14:22 pbartok
* Keys.cs:
- Added [Flags] attribute so that modifiers can be used in bitwise
ops
2004-08-21 14:21 pbartok
* TrackBar.cs, ScrollBar.cs:
- Replaced direct XplatUI calls with their Control counterpart
2004-08-21 13:32 pbartok
* Control.cs:
- Implemented Created property
2004-08-21 13:28 pbartok
* Control.cs:
- Implemented ContainsFocus
2004-08-21 13:26 pbartok
* Control.cs:
- Implemented CausesValidation
2004-08-21 13:21 pbartok
* Control.cs:
- Implemented CanFocus
- Implemented CanSelect
- Implemented Capture
2004-08-21 12:35 pbartok
* XplatUIWin32.cs:
- Fixed bug with Async message handling
- Implemented getting the ModifierKeys
2004-08-21 12:32 jackson
* AsyncMethodResult.cs: Make sure we have the mutex before we
release it. Fixes BeginInvoke on windows
2004-08-21 11:31 pbartok
* XplatUIWin32.cs, XplatUIX11.cs:
- Drivers now return proper mouse state
2004-08-21 10:54 jackson
* Control.cs: Implement EndInvoke
2004-08-21 10:48 jackson
* Timer.cs: Remove unneeded finalizer
2004-08-20 19:52 ravindra
* ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
in mouse event handling in the ToolBar control.
2004-08-20 19:50 ravindra
* ImageList.cs: Changed draw method to use the arguments passed in
to draw the image.
2004-08-20 18:58 pbartok
* XplatUIStructs.cs:
- Added private message for async communication
2004-08-20 17:38 ravindra
* Control.cs: Made RightToLeft property virtual and removed a
Console.WriteLine.
2004-08-20 14:39 jordi
* ThemeGtk.cs: use style_attach
2004-08-20 14:39 pbartok
* XplatUIWin32.cs:
- Added jackson's Async code from X11 to Win32
2004-08-20 14:09 pbartok
* SWF.csproj:
- Added all new files
2004-08-20 14:09 pbartok
* Control.cs:
- Added call to set window background color
2004-08-20 14:03 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
- Added method for setting the window background
2004-08-20 14:02 pbartok
* XplatUIWin32.cs:
- Added method for setting the background color
- Added handling for erasing the window background
2004-08-20 13:45 jordi
* TrackBar.cs: fixes timer, new properties and methods
2004-08-20 13:34 jackson
* ScrollBar.cs: Use the SWF timer so callbacks are run in the
correct thread
2004-08-20 13:22 jackson
* Timer.cs: Timer Tick events are now handed through Controls Async
mechanism so the callbacks are executed in the same thread as X
2004-08-20 13:19 jackson
* XplatUIDriver.cs: Expose functionality to send async messages
through the driver
2004-08-20 13:18 jackson
* Control.cs: Implement Begininvoke
2004-08-20 13:14 jackson
* XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
messages through the driver
2004-08-20 13:12 jackson
* XplatUIX11.cs: Lock before all X operations. Also added Async
method functionality through XSendEvent
2004-08-20 13:11 jackson
* X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
This will screw up on 64 bit systems)
2004-08-20 13:10 jackson
* AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
Async messages through X/Win32
2004-08-19 19:39 pbartok
* XplatUIX11.cs:
- Updated code to match new HandleData.DeviceContext type
2004-08-19 19:38 pbartok
* HandleData.cs:
- Made DeviceContext a generic object to allow usage from various
drivers
- Added support for queueing Windows messages
2004-08-19 19:37 pbartok
* XplatUIWin32.cs:
- Added generation of MouseEnter, MouseLeave and MouseHover events
- Added cleanup on EndPaint
2004-08-19 19:17 pbartok
* Control.cs:
- Added handling of WM_MOUSEHOVER
- Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
code
2004-08-19 18:55 jordi
* ThemeGtk.cs: fixes button order
2004-08-19 18:12 jordi
* Theme.cs, ThemeWin32Classic.cs: fixes methods signature
2004-08-19 17:09 pbartok
* Control.cs:
- Added Right property
- Added RightToLeft property
2004-08-19 16:27 jordi
* ThemeGtk.cs: experimental GTK theme support
2004-08-19 16:26 jordi
* ITheme.cs, Theme.cs: move themes from an interface to a class
2004-08-19 16:25 jordi
* Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
theme enhancaments
2004-08-19 16:04 pbartok
* XplatUIX11.cs:
- Added colormap basics
- Added a way to re-initialize with a different display handle
- Fixed setting of the window background color
- Added various X11 imports related to colors and colormaps
2004-08-19 15:51 pbartok
* X11Structs.cs:
- Removed packing hints (Paolo suggested this a while back)
- fixed colormap type
- Added default Atom types
- Added Screen and color structs and enums
2004-08-19 15:39 pbartok
* ImageList.cs:
- Added missing Draw() method
- Added missing RecreateHandle event
2004-08-19 15:30 pbartok
* Form.cs:
- Added handling of WM_CLOSE
2004-08-18 13:16 jordi
* ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
a table
2004-08-18 09:56 jordi
* ScrollBar.cs: fixes to scrollbar: steps and multiple timers
2004-08-17 15:31 ravindra
* SWF.csproj: Updated project.
2004-08-17 15:25 pbartok
* Control.cs:
- Drawing improvement; don't call UpdateBounds if we are not visible
(or have been minimized)
2004-08-17 15:24 pbartok
* XplatUIWin32.cs:
- Finished IsVisible
- Added Win32GetWindowPlacement
2004-08-17 15:08 jackson
* Panel.cs: Initial checkin of the Panel
2004-08-17 14:25 pbartok
* Control.cs:
- Fixed broken handling of default window sizes
2004-08-17 13:29 jackson
* ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
has a large startup time.
2004-08-17 10:25 jackson
* HandleData.cs: union areas properly
2004-08-17 10:12 jackson
* HandleData.cs: union areas properly
2004-08-16 20:00 ravindra
* ToolBar.cs, ToolBarButton.cs: Added attributes.
2004-08-16 18:48 ravindra
* ToolBar.cs: Added attributes.
2004-08-16 17:17 ravindra
* SWF.csproj: Updated project.
2004-08-16 17:16 jackson
* XplatUIX11.cs: Check for more expose events before sending a
WM_PAINT so they can all be grouped together. This makes dragging a
window across another window redraw in a sane way.
2004-08-16 15:47 pbartok
* Control.cs:
- Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
support OnMouseEnter/Leave()
- Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
exposure handling
2004-08-16 15:46 pbartok
* XplatUIStructs.cs, XplatUIX11.cs:
- Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
OnMouseEnter/Leave()
2004-08-16 15:34 jackson
* XplatUIX11.cs: Group multiple expose events in HandleData, make
sure messages get the message field set to WM_NULL if they are not
handled.
2004-08-16 15:24 jackson
* HandleData.cs: HandleData is used for storing message information
for window handles
2004-08-15 17:23 ravindra
* ColorDepth.cs: Added attribute.
2004-08-15 17:23 ravindra
* SWF.csproj: Updated project for ToolBar Control.
2004-08-15 17:20 ravindra
* ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
control and also dos2unix format.
2004-08-15 17:13 ravindra
* ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
ToolBarButtonClickEventArgs.cs,
ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
ToolBarTextAlign.cs: First Implementation of ToolBar control.
2004-08-15 15:31 pbartok
* ButtonBase.cs:
- First (mostly) working version
2004-08-13 16:15 pbartok
* Control.cs:
- Fixed Anchor default
2004-08-13 15:43 pbartok
* Control.cs:
- Changed GetCursorPos signature
2004-08-13 15:42 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
- Changed signature for GetCursorPos
2004-08-13 15:25 pbartok
* XplatUIX11.cs:
- Cleanup
- Fixed resizing/exposure handling
2004-08-13 15:22 jordi
* ThemeWin32Classic.cs: removes redundant code and fixes issues
with tickposition
2004-08-13 14:55 jordi
* TrackBar.cs: change from wndproc to events
2004-08-13 13:00 jordi
* Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
XplatUIX11.cs: implements PointToClient (ScreenToClient)
2004-08-13 12:53 pbartok
* XplatUIWin32.cs:
- Changed GetWindowPos to also provide client area size
- Fixed broken prototypes for several win32 functions
2004-08-13 12:53 pbartok
* XplatUI.cs, XplatUIDriver.cs:
- Changed GetWindowPos to also provide client area size
2004-08-13 12:52 pbartok
* XplatUIX11.cs:
- Added generation of WM_POSCHANGED
- Changed GetWindowPos to also provide client area size
2004-08-13 12:52 pbartok
* Control.cs:
- Added Dispose() and destructor
- Fixed resizing and bounds calculation
- Fixed Layout
- Added memory savings for invisible windows
2004-08-13 12:46 jordi
* TrackBar.cs: adds timer and grap window
2004-08-13 10:25 jackson
* Timer.cs: SWF Timer
2004-08-12 16:59 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Implemented method to get current mouse position
2004-08-12 14:29 jordi
* ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
enhancement, fix mouse problems, highli thumb, etc
2004-08-12 13:31 pbartok
* Control.cs:
- Fixed Anchoring bugs
2004-08-12 13:01 jackson
* StatusBar.cs: Don't forget things
2004-08-12 12:54 jackson
* ThemeWin32Classic.cs: Handle owner draw status bars
2004-08-12 12:54 jackson
* StatusBar.cs: Implement missing properties, events, and methods.
Handle mouse clicking
2004-08-12 10:19 jackson
* StatusBarPanelClickEventArgs.cs,
StatusBarPanelClickEventHandler.cs: Classes for handling status
bar panel click events
2004-08-12 10:10 jackson
* Control.cs: Add missing properties
2004-08-12 09:46 pbartok
* BindingsManagerBase.cs:
- Name changed to BindingManagerBase.cs
2004-08-12 09:25 jordi
* ScrollableControl.cs: calls ctrlbase instead of exeception
2004-08-11 16:28 pbartok
* InputLanguageChangingEventArgs.cs:
- Never check in before compiling. Fixes the last check-in
2004-08-11 16:26 pbartok
* InputLanguageChangingEventArgs.cs:
- More signature fixes
2004-08-11 16:20 pbartok
* BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
ImageListStreamer.cs, InputLanguage.cs,
InputLanguageChangedEventArgs.cs,
InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Signature fixes
2004-08-11 16:16 pbartok
* Application.cs:
- Fixed Signature
- Added .Net 1.1 method
2004-08-11 15:25 pbartok
* SWF.csproj:
- Fixed BindingManagerBase.cs filename
2004-08-11 15:22 pbartok
* BindingManagerBase.cs:
- Was checked in with wrong filename
2004-08-11 14:50 pbartok
* SWF.csproj:
- Updated
2004-08-11 13:41 jordi
* XplatUIWin32.cs: Fixes ClientRect
2004-08-11 13:19 pbartok
* Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
XplatUIX11.cs:
- We had SetWindowPos and MoveWindow to set window positions and
size, removed MoveWindow. We have GetWindowPos, so it made sense to
keep SetWindowPos as matching counterpart
- Added some X11 sanity checking
2004-08-11 12:59 pbartok
* Control.cs:
- Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
(It seems that SetBounds is just a front for SetBoundsCore and
SetBoundsCore updates the underlying window system and
UpdateBounds is responsible for updating the variables associated
with the Control and sending the events)
- Major cleanup of Size handling; we now have two sizes, client_size
and bounds. Bounds defines the window with decorations, client_size
without them.
2004-08-11 12:55 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Added method to calculate difference between decorated window and
raw client area
2004-08-11 12:54 pbartok
* Label.cs:
- Forcing redraw on resize
2004-08-11 11:43 pbartok
* ImageList.cs:
- Removed disposing of the actual images when the list is disposed
2004-08-11 09:13 pbartok
* Control.cs:
- Now properly reparents windows
2004-08-11 08:37 pbartok
* Control.cs:
- Duh!
2004-08-11 07:47 pbartok
* Control.cs:
- Rewrote the collection stuff. Might not be as fast now, not
keeping the number of children around and accessible directly, but
it's more straightforward
2004-08-11 07:44 pbartok
* AccessibleObject.cs:
- Fixed to match ControlCollection rewrite
2004-08-11 07:43 pbartok
* ImageList.cs:
- Added missing creation of the collection list
2004-08-10 20:08 jackson
* StatusBar.cs: Get the paint message from WndProc
2004-08-10 19:31 jackson
* ThemeWin32Classic.cs: Create Brushes as little as possible
2004-08-10 19:20 jackson
* UICues.cs: Add Flags attribute
2004-08-10 19:19 jackson
* StatusBarPanel.cs: Signature cleanup
2004-08-10 19:10 jackson
* StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
Initial implementation of status bar item drawing
2004-08-10 17:27 jordi
* TrackBar.cs: add missing methods, properties, and restructure to
hide extra ones
2004-08-10 16:24 jackson
* AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
attribute
2004-08-10 13:21 jordi
* ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
enhancements and standarize on win colors defaults
2004-08-10 12:52 jackson
* DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
ThemeWin32Classic.cs: Implement DrawItem functionality
2004-08-10 12:47 jordi
* XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
2004-08-10 12:32 jordi
* Control.cs: throw ontextchange event
2004-08-10 11:43 pbartok
* Control.cs:
- Added more to the still unfinished Dock/Anchor layout code
2004-08-10 11:39 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
- Added GetWindowPos method
2004-08-10 11:36 pbartok
* XplatUIWin32.cs:
- Implemented several methods
2004-08-10 09:47 jackson
* TrackBar.cs: Allow control to handle buffering
2004-08-10 09:41 jackson
* ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
2004-08-10 09:24 jackson
* Label.cs, LinkLabel.cs: Let Control handle buffering.
2004-08-10 09:09 jackson
* StatusBar.cs: Let Control handle all the buffering.
2004-08-10 09:08 jackson
* Control.cs: Control will now handle the buffering code, so each
control does not have to implement this.
2004-08-10 08:34 jackson
* XplatUIDriver.cs: Use default colors from the theme
2004-08-09 17:12 pbartok
* ImageList.cs:
- Fixed several bugs Ravindra pointed out
2004-08-09 16:11 pbartok
* Control.cs:
- Added incomplete dock layout code
- Added support for mouse wheel
2004-08-09 16:09 pbartok
* XplatUIX11.cs:
- Added handling for middle and right mousebutton
- Added handling for mouse wheel
- Added handling for key state and mouse state and position
- Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
messages
2004-08-09 15:40 jackson
* StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
checkin
2004-08-09 15:37 jackson
* StatusBar.cs: Initial implementation of StatusBar
2004-08-09 15:36 jackson
* ITheme.cs: Add support for drawing status bar and getting status
bar item sizes
2004-08-09 15:35 pbartok
* MouseButtons.cs:
- Fixed values
2004-08-09 15:34 jackson
* ThemeWin32Classic.cs: Add support for drawing status bar and get
status bar item sizes
2004-08-09 15:21 jackson
* ThemeWin32Classic.cs: Use known colors for default control
colours
2004-08-09 15:12 jackson
* ThemeWin32Classic.cs: Make the default font static, it is static
in control so this doesn't change functionality and creating fonts
is sloooooow.
2004-08-09 14:56 pbartok
* X11Structs.cs:
- Added GrabMode enum
2004-08-09 14:55 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Removed Run method, was only required for initial development
2004-08-09 14:51 pbartok
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
- Implemented GrabWindow/ReleaseWindow methods to allow pointer
capture
2004-08-09 13:48 pbartok
* XplatUIX11.cs:
- Fixed default sizing for child windows
2004-08-09 12:56 pbartok
* XplatUIX11.cs:
- Added generation of WM_DESTROY message
- Added handling of window manager induced shutdown
2004-08-09 11:31 jackson
* ThemeWin32Classic.cs: New names for control properties
2004-08-09 11:25 jackson
* Control.cs: Use new color names
2004-08-09 11:02 jackson
* XplatUI.cs: Get default window properties from the theme
2004-08-09 11:01 jackson
* ITheme.cs: The theme engine now controls default window
properties
2004-08-09 11:00 jackson
* ThemeWin32Classic.cs: Add default window color properties
2004-08-09 10:17 jackson
* ThemeWin32Classic.cs: Use correct default back color
2004-08-09 10:05 jackson
* XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
the theme now.
2004-08-09 09:56 jackson
* XplatUI.cs: Remove defaults, these are handled by the theme now.
2004-08-09 09:54 jackson
* Control.cs: Get default properties from the theme.
2004-08-09 09:53 jackson
* ITheme.cs: Themes now handle default control properties
2004-08-09 09:53 jackson
* ThemeWin32Classic.cs: Themes now handle default control
properties so coloring will be consistent
2004-08-08 16:54 jordi
* ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
2004-08-08 15:08 jordi
* XplatUIX11.cs: fixes keyboard crash
2004-08-08 13:47 jordi
* Label.cs: add cvs header info
2004-08-08 12:09 jackson
* ThemeWin32Classic.cs: Add pen_buttonface
2004-08-08 11:52 jordi
* Label.cs, LinkLabel.cs: [no log message]
2004-08-08 11:34 jordi
* ThemeWin32Classic.cs: Use Windows Standard Colours
2004-08-07 17:32 jordi
* TrackBar.cs: throw exceptions of invalid enums values
2004-08-07 17:31 jordi
* Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
draw method name
2004-08-07 16:56 jackson
* HorizontalAlignment.cs: Initial checkin
2004-08-07 13:16 jordi
* Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
methods
2004-08-07 13:05 jordi
* ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
GetSysColor defines
2004-08-06 18:01 pbartok
* ThemeWin32Classic.cs:
- Fixed some rounding issues with float/int
2004-08-06 18:00 jackson
* DockStyle.cs, AnchorStyles.cs:
Add flags and serializable attributes.
2004-08-06 17:46 pbartok
* XplatUIX11.cs:
- Implemented GetParent
2004-08-06 17:18 pbartok
* TrackBar.cs:
- Fixed some rounding issues with float/int
2004-08-06 17:17 pbartok
* X11Structs.cs, XplatUIX11.cs:
- Fixed Refresh and Invalidate
2004-08-06 15:30 pbartok
* Control.cs, X11Structs.cs, XplatUIX11.cs:
- Fixed recursive loop when resizing
- Improved/fixed redrawing on expose messages
2004-08-06 09:53 jordi
* Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
keyboard navigation
2004-08-06 08:02 pbartok
* X11Structs.cs, XplatUIX11.cs:
- Fixed reparenting
- Fixed window border creation
2004-08-05 15:38 pbartok
* XplatUIX11.cs:
- Attempted fix for reparenting problems
2004-08-04 15:14 pbartok
* Control.cs:
- Fixed Invalidation bug (calculated wrong client area)
- Added ClientSize setter
2004-08-04 15:13 pbartok
* Form.cs:
- Added AutoScale properties
2004-08-04 15:13 pbartok
* SWF.csproj:
- Added latest files
2004-08-04 14:11 pbartok
* Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
XplatUIX11.cs:
- Added Invalidate handling
2004-08-03 17:09 jordi
* XplatUIDriver.cs: fixes spelling mistake
2004-07-27 09:53 jordi
* TrackBar.cs: fixes trackbar events, def classname, methods
signature
2004-07-27 09:29 jordi
* ScrollBar.cs: fixes scrollbar events
2004-07-27 04:38 jordi
* Control.cs: changes to be able to run winforms samples
2004-07-26 11:42 jordi
* ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
2004-07-26 05:41 jordi
* MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
implementation
2004-07-22 09:22 jordi
* LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
check link overlapping, implement events, and fixes
2004-07-21 10:28 jordi
* DialogResult.cs, IButtonControl.cs: fixes comments filenames
2004-07-21 10:19 jordi
* DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
LinkLabelLinkClickedEventArgs.cs,
LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
implementation
2004-07-19 13:09 jordi
* Control.cs, Label.cs: label control re-written: added missing
functionlity, events, and properties
2004-07-19 10:49 jordi
* Control.cs: fixes SetBounds logic
2004-07-19 01:29 jordi
* Control.cs: Call RefreshWindow only if the window has created
2004-07-15 14:05 pbartok
* ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
- Implemented ImageList and ImageList.ImageCollection classes
- Added ColorDepth enumeration
- Updated SWF VS.Net project
2004-07-15 11:06 jordi
* XplatUIStructs.cs: added MsgButons enum
2004-07-15 11:03 jordi
* Control.cs: added basic mouse handeling events
2004-07-15 03:38 jordi
* Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
Vertical TrackBar control implementation
2004-07-13 09:33 jordi
* HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
2004-07-13 09:31 jordi
* Control.cs, Form.cs: commit: new properties and fixes form size
problems
2004-07-09 14:13 miguel
* ProgressBar.cs: Spelling
2004-07-09 11:25 pbartok
* ProgressBar.cs:
- Removed usage of Rectangle for drawing. Miguel pointed out it's
faster
2004-07-09 11:17 miguel
* ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
* ProgressBar.cs: Fixed spelling for `block'
drawProgressBar: renamed to `DrawProgressBar' to follow the coding
style guidelines.
Avoid using the += on rect.X, that exposed a bug in the compiler.
2004-07-08 23:21 pbartok
* AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
AnchorStyles.cs, Application.cs, ApplicationContext.cs,
BaseCollection.cs, Binding.cs, BindingContext.cs,
BindingMemberInfo.cs, BindingsCollection.cs,
BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
ButtonState.cs, CaptionButton.cs, CheckBox.cs,
ContainerControl.cs, Control.cs, ControlEventArgs.cs,
ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
FrameStyle.cs, GiveFeedbackEventArgs.cs,
GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
InputLanguageChangedEventArgs.cs,
InputLanguageChangedEventHandler.cs,
InputLanguageChangingEventArgs.cs,
InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
InvalidateEventArgs.cs, InvalidateEventHandler.cs,
KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
QueryAccessibilityHelpEventArgs.cs,
QueryAccessibilityHelpEventHandler.cs,
QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
XplatUIX11.cs, lang.cs:
- Initial check-in
|