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
|
2010-05-31 Joe English <jenglish@users.sourceforge.net>
* generic/tkBind.c(Tk_CreateBinding): Silently ignore empty
scripts (Fixes [Bug 3006842]).
2010-05-27 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkTreeview.c, tests/ttk/treeview.test:
[$tv tag bind $tag <...> {}] now removes binding completely.
Fixes [Bug 3006842] (although there's still a problem somewhere
in Tk_CreateBinding()).
2010-05-26 Jan Nijtmans <nijtmans@users.sf.net>
* tests/wm.test: Fix 3 tests on Ubuntu 10.4, two of them timing dependent,
one wm-dependent.
* generic/tkText.c Fix some gcc strict-aliasing warnings (discovered
* unix/tkUnixFont.c with "-Wstrict-aliasing=2"
* unix/tkUnixSelect.c
2010-05-20 Donal K. Fellows <dkf@users.sf.net>
* win/tkWinX.c (HandleIMEComposition): [Bug 2992129]: Ensure that all
places that generate key events zero them out first; Tk relies on that
being true for the generic parts of the fix for Bug 1924761.
2010-05-17 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinDialog.c: Fix [Bug 3002230]: tk_chooseDirectory returns
garbage on cancel
2010-05-17 Joe English <jenglish@users.sourceforge.net>
* generic/tkBind.c: Revert [Patch 2999920], as it entails an
incompatible change to the C API is and is the cause of [Bug 3002768].
2010-05-17 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkBind.c: [Patch 2999920]: Optimize Internal Virtual event
string operations.
* win/tkWinDialog.c: [Bug 2987995]: Tk_getOpenFile returns garbage
under described circumstances
2010-05-11 Jan Nijtmans <nijtmans@users.sf.net>
* doc/RestrictEv.3: Consistent use of variable names in RestrictEvent
* generic/tkGrab.c: API documentation and implementation: Use 'prev'
* unix/tkUnixDraw.c: instead of 'old', and 'arg' instead of
* unix/tkUnixSend.c: 'clientData' everywhere, just as in tkEvent.c.
* unix/tkUnixWm.c
2010-05-10 Jan Nijtmans <nijtmans@users.sf.net>
* doc/BindTable.3: Bring in line with actual implementation.
* generic/tk.decls: Change Tk_CreateBinding param name, as in doc
* generic/tkInt.decls: CONSTify TkCopyAndGlobalEval,
* generic/tkBind.c: TkpSetMainMenubar, TkpMenuNotifyToplevelCreate,
* generic/tkMenu.c: and TkSetWindowMenuBar
* generic/tkDecls.h: (regenerated)
* generic/tkIntDecls.h: (regenerated)
* carbon/tkMacOSXMenu.c:
* macosx/tkMacOSXMenu.c:
* unix/tkUnixMenu.c:
* win/tkWinMenu.c:
2010-05-03 Don Porter <dgp@users.sourceforge.net>
* generic/tk.h: Bump patchlevel to 8.6b1.2 to distinguish
* library/tk.tcl: CVS snapshots from earlier snapshots as well
* unix/configure.in: as the 8.6b1 and 8.6b2 releases.
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2010-05-03 Donal K. Fellows <dkf@users.sf.net>
* library/button.tcl (CheckInvoke, CheckEnter): [Patch 1530276 redux]:
Apply a bit more care to ensure that things continue to work correctly
even when there is no -selectcolor defined.
2010-04-29 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWin.h: Unnecessary TCL_STORAGE_CLASS re-definition
* win/tkWinInt.h: Make various functions MODULE_SCOPE
* win/tkWinButton.c: TCHAR-related fixes, making al those
* win/tkWinFont.c: files compile fine when TCHAR != char.
* win/tkWinScrlbr.c:
* win/tkWinWindow.c:
* win/tkWinWm.c:
* win/tkWinX.c:
* win/ttkWinMonitor.c:
* win/ttkWinXPTheme.c:
2010-04-25 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPNG.c (ReadIDAT, DecodePNG): Move the check for overall
termination of the compressed stream until after the final IDAT has
been read, so that multi-segment images will work right. Reported by
Andy Goth on the Wiki.
2010-04-23 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkImgGIF.c: Formatting
* generic/tkListbox.c: fix typo;
* generic/tkTrig.c: fix typo;
* generic/tkInt.h: fix typo; remove not existing tkDisplayList;
* generic/*.h: Useless re-definitions of TCL_STORAGE_CLASS
2010-04-20 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkPort.h: Make sure that tkWinPort.h is always
* generic/tkIntXlibDecls.h: included before tcl.h, otherwise the
* win/tkWinPort.h: fallback for TCHAR might go off before the
inclusion of <tchar.h>
* win/tkWinDialog.c: Define OPENFILENAME_SIZE_VERSION_400 if
needed.
* compat/stdlib.h: Include <tcl.h> only when not already
* compat/unistd.h: done.
* generic/tkInt.h: tkPort.h already includes tk.h, which
includes tcl.h.
* generic/tk3d.h: Always use #include "tkInt.h", not
* generic/tkColor.h: <tkInt.h>
* xlib/xcolors.c:
* xlib/xgc.c:
2010-04-19 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinDialog.c: Fix [Bug 2987995]: Tk_GetOpenFile returns garbage
under described circumstances.
* win/tkWinDialog.c: [Patch 2898255]: Filenames limit with
Tk_GetFileName().
Assure modern style dialogs where available
2010-04-13 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinPort.h Fix [Patch 2986105]: conditionally defining
strcasecmp/strncasecmp
2010-04-12 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPNG.c (WriteIDAT): [Bug 2984787]: Use the correct
flushing semantics when handling the last data from the image. Without
this, many PNG readers (notably including Firefox) refuse to show the
image and instead complain about errors.
(ReadIDAT): Added sanity checks to ensure that when we've got bad data
of the sorts of forms we were previously generating, we detect it and
error out rather than silently failing.
(WriteExtraChunks): New function to write in some basic metadata.
2010-04-09 Jan Nijtmans <nijtmans@users.sf.net>
* doc/photo.n: Follow-up to [Bug 2983824]: update doc.
2010-04-09 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPhoto.c (ImgPhotoCmd): [Bug 2983824]: Use the file
extension to guess the output format to use if one isn't specified.
2010-04-08 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinPort.h: Add <wchar.h> to tkWinPort.h, and
* win/tkWinSend.c: remove some earlier CYGWIN-related
* win/tkWinSendCom.c: hacks which are no longer necessary.
2010-04-06 Jan Nijtmans <nijtmans@users.sf.net>
* win/tcl.m4: Sync with Tcl version
* unix/tcl.m4:
* win/configure: (regenerate with autoconf-2.59)
* unix/configure: [Bug 2982540]: configure and install* script
files should always have LF
2010-03-29 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tcl.m4: Only test for -visibility=hidden with gcc
(Second remark in [Bug 2976508])
* unix/configure: regen
2010-03-29 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixRFont.c (GetFont): [Bug 2978410]: Do not use non-constant
initializers for structures, since HP-UX cc doesn't like it.
2010-03-28 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c,
* generic/ttk/ttkTheme.h, generic/ttk/ttkTreeview.c,
* generic/ttk/ttkWidget.h, doc/ttk_treeview.n,
* tests/ttk/treetags.test: ttk::treeview widget: add 'tag names',
'tag add', and 'tag remove' methods.
2010-03-23 Donal K. Fellows <dkf@users.sf.net>
* unix/configure.in, unix/Makefile.in: [Bug 2965133]: Get rid of the
spurious NONE and some pointless quotes that were causing problems
with building Tk on OSX. Overall bug might not yet be solved.
2010-03-17 Donal K. Fellows <dkf@users.sf.net>
* library/entry.tcl: [Bug 2971663]: Make the <Up> and <Down> keys
* library/ttk/entry.tcl: explicitly do nothing, since Tk-on-Cocoa will
generate (invisible zero-width) characters for them otherwise. The
explicitly empty bindings are harmless on other platforms.
2010-03-16 Jan Nijtmans <nijtmans@users.sf.net>
* unix/.cvsignore: Ignore .a and .so
2010-03-12 Jan Nijtmans <nijtmans@users.sf.net>
* win/rules.vc: Fix [Tcl Bug 2967340]: Static build failure
* win/makefile.vc:
* win/.cvsignore:
2010-03-12 Donal K. Fellows <dkf@users.sf.net>
* library/iconlist.tcl: Factor out some of the machinery for
* library/megawidget.tcl: making a megawidget framework. Not a
public API at the moment.
2010-03-11 Donal K. Fellows <dkf@users.sf.net>
* generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,
there can be unnamed marks present during a dump. Ignore them as they
will just be for the peers' insert and current marks, which aren't
very important.
(DumpLine): Removed lame reliance on the leading letters of the names
of segment types. Entailed expanding the scope of the declarations of
the types of embedded images and windows.
2010-03-08 Don Porter <dgp@users.sourceforge.net>
* generic/tkPlatDecls.h: [Bug 2965600]: Correct broken 2886635 fix.
2010-03-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/menu.tcl: [Bug 2949774]: When using the non-ClickToFocus
menu mode cascade menus should popdown once the pointer moves to
another entry to be compatible with current X desktop usage.
2010-03-04 Jan Nijtmans <nijtmans@users.sf.net>
* unix/configure.in: Don't use -fvisibility=hidden
* unix/tcl.m4: for cygwin.
* win/tkWinTest.c: Make tkTestWinProcs const
2010-03-04 Donal K. Fellows <dkf@users.sf.net>
* doc/clipboard.n: Added note about STRING vs. UTF8_STRING types.
2010-03-02 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tcl.m4: [Tcl FRQ 2959069]: Support for -fvisibility=hidden
* unix/configure: (regenerated with autoconf-2.59)
2010-02-23 Jan Nijtmans <nijtmans@users.sf.net>
* unix/configure.in: Use @EXEEXT@ in stead of @EXT_SUFFIX@
* unix/tcl.m4:
* unix/Makefile.in: Use -DBUILD_tk
* unix/configure: (regenerated)
* generic/tkConfig.c: Make internal Tk_ObjCustomOption const
* generic/tkPanedWindow.c:
* generic/tkTest.c:
* generic/tkText.c:
2010-02-21 Donal K. Fellows <dkf@users.sf.net>
* generic/tkText.c (TextEditCmd): [Bug 1799782]: Refix this, so that
<<Modified>> events are issued when things change.
2010-02-20 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkTreeview.c: Cache the result of the last call to
EndPosition() to avoid quadratic-time behavior in the common cases
where the treeview is populated in depth-first or breadth-first
order.
2010-02-19 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinColor.c: remove unused "dataKey" variable
2010-02-19 Donal K. Fellows <dkf@users.sf.net>
* unix/configure.in, unix/Makefile.in: [Bug 2415437]: Corrections to
allow installation of Tcl and Tk to different directories, especially
when neither is a system standard location. Also [Tcl Bug 2307398].
* unix/installManPage: [Tcl Bug 2954638]: Correct behaviour of manual
page installer. Also added armouring to check that assumptions about
the initial state are actually valid (e.g., look for existing input
file).
2010-02-19 Stuart Cassoff <stwo@users.sourceforge.net>
* tcl.m4: Correct compiler/linker flags for threaded builds on
OpenBSD.
* configure: (regenerated).
2010-02-18 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkButton.h: Put all Tk_OptionSpec for buttons and labels
* generic/tkButton.c: in const memory. With some changes to win32
* win/tkWinButton.c: and macosx, preventing direct writes to
* unix/tkUnixPort.h: read-only memory.
* carbon/tkMacOSXPort.h:
* macosx/tkMacOSXButton.c:
2010-02-17 Joe English <jenglish@users.sourceforge.net>
* generic/tkMenu.c: [Bug 2952745]: Defer TkMenuOptionTables cleanup to
CallWhenDeleted() time, to ensure that the record doesn't get freed
until after all widget instance commands have been deleted.
2010-02-17 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.decls: CONSTify everything related to Tk_ConfigSpec
* generic/tk.h:
* generic/tkCanvArc.c: Many tables can now be put in const memory
* generic/tkCanvas.c:
* generic/tkCanvBmap.c:
* generic/tkCanvImg.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvPs.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkImgBmap.c:
* generic/tkImgPhoto.c:
* generic/tkOldConfig.c:
* generic/tkRectOval.c:
* generic/tkScrollbar.c:
* generic/tkScrollbar.h:
* generic/tkDecls.h: (regenerated)
* doc/CanvTkwin.3:
* doc/ConfigWidg.3:
* doc/CrtItemType.3:
* win/tkWinScrlbr.c:
* carbon/tkMacOSXScrlbr.c:
* macosx/tkMacOSXScrlbr.c:
2010-02-16 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkWindow.c: Reverted rename from tkStubs to tkConstStubs
* generic/tkStubInit.c: (regenerated)
* generic/tkArgv.c: make defaultTable const
* generic/tkScrollbar.c:Store default for "-with" in static non-const
space
* win/tkWinInt.h: Make tkWinProcs const, and 5 procs
* win/tkWinX.c: MODULE_SCOPE.
* win/tkWinColor.c: Make sysColors const.
* win/tkWinKey.c: Make keymap const.
* win/tkWinScrlbr.c: Simplify copying of "-with" default value.
* unix/tkUnixWm.c: Make TkSetTransientFor static.
* tests/textImage.test: textImage-1.13 depends on hash-order
2010-02-12 Jan Nijtmans <nijtmans@users.sf.net>
* win/tcl.m4: Use -pipe for gcc on win32
* win/configure: (mingw/cygwin) (regenerated)
* unix/tkUnixColor.c: Make sure that TkpCmapStressed is exported
* generic/tkImgPhoto.c: Clean up unused Tk_CreatePhotoOption
* generic/tkBind.c: Make more internal arrays "const"
* generic/tkBusy.c:
* generic/tkButton.c:
* generic/tkEvent.c:
* generic/tkGrab.c:
* generic/tkImgBmap.c:
* generic/tkObj.c:
* generic/tkOption.c:
* generic/tkPanedWindow.c:
* generic/tkPointer.c:
* generic/tkWindow.c:
* generic/tkImgPhoto.c: Eliminate never used Tk_CreatePhotoOption()
2010-02-05 Jan Nijtmans <nijtmans@users.sf.net>
* carbon/tkMacOSXDialog.c: Make more internal tables "const"
* macosx/tkMacOSXDialog.c:
* unix/tkUnixButton.c:
* unix/tkUnixWm.c:
* win/tkWinDialog.c:
* generic/tkWindow.c:
* generic/tk*Decls.h: (regenerated with new
* generic/tkStubInit.c: genStubs.tcl from Tcl)
2010-02-05 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/*.[ch]: Revert contravariant const qualifiers added by
the previous commit to keep codebase in sync with the Tile extension,
which must remain 8.4 compatible.
2010-02-05 Jan Nijtmans <nijtmans@users.sf.net>
* generic/ttk/ttkGenStubs.tcl: Follow-up to [2010-01-29] commit:
prevent space within stub table function parameters if the
parameter type is a pointer. Make the various stub tables and
hook pointers const, just as Tcl and Tk.
* generic/ttk/ttkDecls.h: (regenerated)
* generic/ttk/ttkStubInit.c: (regenerated)
* generic/ttk/ttk.decls: Minor formatting
* generic/ttk/ttkButton.c: Make more internal tables "const"
* generic/ttk/ttkDefaultTheme.c:
* generic/ttk/ttkEntry.c:
* generic/ttk/ttkImage.c:
* generic/ttk/ttkInit.c:
* generic/ttk/ttkLayout.c:
* generic/ttk/ttkNotebook.c:
* generic/ttk/ttkPanedWindow.c:
* generic/ttk/ttkProgress.c:
* generic/ttk/ttkStubLib.c:
* generic/ttk/ttkTheme.c:
* generic/ttk/ttkTreeview.c:
* generic/ttk/ttkWidget.c:
* generic/ttk/ttkWidget.h:
2010-01-31 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkTheme.h, generic/ttk/ttkWidget.h, generic/ttk/*.c:
Change signature of widget subcommand procedures to match
Tcl_ObjCmdProc. Merge now-redundant ensemble dispatch code.
2010-01-29 Jan Nijtmans <nijtmans@users.sf.net>
* generic/ttk/ttkGenStubs.tcl: No longer generate a space after "*"
and immediately after a function name, so the
format of function definitions in *Decls.h
match all other *.h header files.
* generic/ttk/ttkDecls.h: (re-generated)
* generic/tk.decls: Formatting
* generic/tkDecls.h: (re-generated)
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
* generic/tkBind.c: Little simplification
2010-01-19 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkInt.h: Don't depend on <stdio.h> from tcl.h any
* generic/tkOldConfig.c: more.
* generic/ttk/ttkClamTheme.c: Fix more gcc warnings: missing
* generic/ttk/ttkClassicTheme.c: initializer.
* generic/ttk/ttkDefaultTheme.c:
* generic/ttk/ttkElements.c:
* generic/ttk/ttkEntry.c:
* generic/ttk/ttkInit.c:
* generic/ttk/ttkLabel.c:
* generic/ttk/ttkNotebook.c:
* generic/ttk/ttkPanedwindow.c:
* generic/ttk/ttkSquare.c:
* generic/ttk/ttkTreeview.c:
* win/ttkWinTheme.c:
* win/tkWinMenu.c: Add missing #include <string.h>
* win/tkWinPort.h: Fix include files for CYGWIN
* win/tkWinSend.c:
* win/tkWinSendCom.c:
* win/tkWinTest.c: Fix gcc warning
* win/winMain.c: Eliminate use of __argc and __argv for CYGWIN
* win/tcl.m4: Make cygwin configuration error into
* win/configure.in: a warning: CYGWIN compilation works
* win/configure: although there still are test failures.
2010-01-19 Donal K. Fellows <dkf@users.sf.net>
* generic/tkCanvas.c (TagSearchScanExpr): [Bug 2931374]: Stop overflow
of working buffer during construction of long tag expressions.
2010-01-19 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/bgerror.tcl: [TIP 359]: Extended Window Manager Hints
* library/clrpick.tcl: following the freedesktop.org specification
* library/demos/widget: are now supported on X11 using a new
* library/dialog.tcl: wm attribute called '-type'
* library/msgbox.tcl: This feature is now used in the Tk library
* library/tkfbox.tcl: functions where appropriate.
* library/ttk/combobox.tcl:
* tests/unixWm.test:
* tests/wm.test:
* unix/tkUnixWm.c:
2010-01-18 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkCanvArc.c: Fix more gcc warnings: missing initializer
* generic/tkCanvBmap.c:
* generic/tkCanvImg.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvPs.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkCmds.c:
* generic/tkImgBmap.c:
* generic/tkImgGIF.c:
* generic/tkImgPhoto.c:
* generic/tkImgPNG.c:
* generic/tkImgPPM.c:
* generic/tkMenu.c:
* generic/tkMenubutton.c:
* generic/tkMessage.c:
* generic/tkOldTest.c:
* generic/tkPanedWindow.c:
* generic/tkRectOval.c:
* generic/tkScrollbar.c:
* generic/tkSquare.c:
* generic/tkTest.c:
* generic/tkText.c:
* generic/tkTextImage.c:
* generic/tkTextTag.c:
* generic/tkTextWind.c:
* generic/tkTrig.c:
* generic/tkCanvas.c: [Patch 2932808]: Canvas items not updating
on widget state change.
2010-01-13 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkMenubutton.h: Eliminate tkpMenubuttonClass
* generic/tkButton.h make tkpButtonProcs CONST
* generic/tkBusy.c: fix gcc warning: missing initializer
* generic/tkButton.c
* generic/tkCanvas.c
* generic/tkConsole.c
* generic/tkEntry.c
* generic/tkFrame.c
* generic/tkListbox.c
* generic/tkMenu.c
* generic/tkMenubutton.c
* generic/tkMessage.c
* generic/tkScale.c
* generic/tkScrollbar.h
* generic/tkText.c
* generic/ttk/ttkWidget.c
* carbon/tkMacOSXButton.c
* carbon/tkMacOSXMenubutton.c
* carbon/tkMacOSXScrlbr.c
* macosx/tkMacOSXButton.c
* macosx/tkMacOSXMenubutton.c
* macosx/tkMacOSXScrlbr.c
* unix/tkUnixButton.c
* unix/tkUnixMenubu.c
* unix/tkUnixScrolbr.c
* win/tkWinButton.c
* win/tkWinDialog.c
* win/tkWinEmbed.c
* win/tkWinFont.c
* win/tkWinInit.c
* win/tkWinKey.c
* win/tkWinScrlbr.c
* win/tkWinInt.h Add SPI_SETKEYBOARDCUES definition, needed for
original VC++ 6.0.
2010-01-10 Jan Nijtmans <nijtmans@users.sf.net>
* doc/SetClassProcs.3: CONSTify Tk_SetClassProcs
* generic/tk.decls
* generic/tkInt.h
* generic/tkWindow.c
* generic/tkDecls.h: (regenerated)
* unix/tcl.m4 Sync with Tcl version
* unix/configure (regenerated)
2010-01-09 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/menu.n: [TIP 360]: Remove special handling of
* library/obsolete.tcl: the .help menu on X11.
* unix/tkUnixMenu.c:
* library/menu.tcl: [TIP 360]: Make Tk menu activation
* library/obsolete.tcl: follow mouse movements.
2010-01-08 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/photo.n: [Bug 2927569]: Multiple edits have peverted the
original meaning of the phrase 'image file data' to reference
a filename option that does not exist.
2010-01-07 Donal K. Fellows <dkf@users.sf.net>
* generic/tkTextDisp.c (AsyncUpdateLineMetrics): [Bug 2677890]: Fix
odd text widget update problem that had scrollbars being unable to
cover the whole widget. Fix is to reify the range to update sooner.
2010-01-06 Donal K. Fellows <dkf@users.sf.net>
* library/tk.tcl: Centralize the definition of keys that
* library/entry.tcl: do common movement in entry and text
* library/spinbox.tcl: widgets. This is because they are
* library/text.tcl: subtlely different on the different
* library/ttk/entry.tcl: platforms. Lets Tk code work more
* doc/event.n (PREDEFINED VIRTUAL EVENTS): correctly with platform
conventions "out of the box".
* generic/tkBind.c (HandleEventGenerate, DoWarp): [Bug 2926819]:
* generic/tkInt.h (TkDisplay): Factor out the pointer
* generic/tkWindow.c (GetScreen): warping code a bit
* carbon/tkMacOSXMouseEvent.c (TkpWarpPointer): better and extend it
* macosx/tkMacOSXMouseEvent.c (TkpWarpPointer): to work on OSX too.
* unix/tkUnixEvent.c (TkpWarpPointer):
* win/tkWinPointer.c (TkpWarpPointer):
* unix/tkUnixWm.c (TkWmMapWindow): [Bug 1163496]: Allow windows to be
* tests/wm.test (wm-transient-8.1): set to be transients for withdrawn
masters correctly.
2010-01-05 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinDialog.c: [Patch 2898255]: Enable unlimited multiple file
selection from the open files dialog. (pawlak,fellows,thoyts)
2010-01-05 Donal K. Fellows <dkf@users.sf.net>
* generic/tkMenu.c (MenuWidgetObjCmd): [Bug 220950]: Do not delete
menu entries if the first index to delete is explicitly after the last
index of existing entries.
* generic/tkFont.h (ROUND16): [Bug 2824916]: Use a correct rounding
* unix/tkUnixFont.c (TkpDrawAngledChars): macro for converting a
* unix/tkUnixRFont.c (TkpDrawAngledChars): double to a short. This
* win/tkWinFont.c (GetScreenFont): stops a number of small
visual artefacts from happening and reduces the effect of others. The
ROUND16 macro is now shared across all the font code (though some
platforms do not need it specially).
2010-01-04 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/TkInitStubs.3: [Bug 2192104]: Mention USE_TK_STUBS macro.
* library/dialog.tcl: [Bug 2811266]: <Return> binding should invoke
the button with the focus.
* library/fontchooser.tcl: [Bug 2727476]: Fix default size of font
chooser dialog and assigned minimum sizes for the lists.
* library/console.tcl: [Bug 580361]: Fix console <<Cut>> binding.
* library/console.tcl: Fix keyboard access to console menu.
* library/demos/filebox.tcl: Make prettier using ttk.
* library/demos/fontchoose.tcl: Fix display of demo code.
* library/tk.tcl: Correctly handle quoted ampersands in AmpMenuArgs
2010-01-03 Donal K. Fellows <dkf@users.sf.net>
* unix/tcl.m4 (SC_CONFIG_CFLAGS): [Bug 1636685]: Use the configuration
for modern FreeBSD suggested by the FreeBSD porter.
2010-01-03 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkMenu.h: [Patch 2848897]: Support the system keyboard
* win/tkWinMenu.c: cues option on Windows. This system parameter
hides the underlines on menu items unless the keyboard is used to
open the menu. (kovalenko, thoyts)
2010-01-03 Donal K. Fellows <dkf@users.sf.net>
* generic/tkFont.c (Tk_TextLayoutToPostscript): Simplified the code to
* generic/tkCanvPs.c (TkCanvPostscriptCmd): generate the preamble
* library/mkpsenc.tcl: for PS generation and
also simplify the code to output text following the observation that
it effectively only produces ASCII anyway, even when it might have the
option to do otherwise in theory.
2010-01-03 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/tearoff.tcl: Tearoff menus should be transient and use the
toolwindow style on Windows.
* tests/menu.test: Menu tests using 'tkwait visibility' are unix only.
2010-01-02 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixEvent.c (TransferXEventsToTcl): [Bug 1924761]: Use the
new cache mechanism to force the extraction of the string of a key
event from XIM at the right time rather than after queueing when it
can be quashed by a race condition centered on the limited amount of
state in some XIM implementations.
* unix/tkUnixKey.c (TkpGetString): [Bug 1373712]: Cache the value that
* generic/tkInt.h (TkKeyEvent): will be substituted via %A so
* generic/tkEvent.c (CleanUpTkEvent): that we do not need to make it
* doc/HandleEvent.3 (ARGUMENTS): fresh each time, which causes
* doc/QWinEvent.3 (ARGUMENTS): trouble with some input
* carbon/tkMacOSXKeyEvent.c (InitKeyEvent): methods. Also includes the
* macosx/tkMacOSXKeyEvent.c (tkProcessKeyEvent): factoring out of some
* win/tkWinX.c (GenerateXEvent): code and update of
documentation to describe the slightly increased constraints on
how Tk_HandleEvent can be used.
2010-01-01 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixEvent.c (TransferXEventsToTcl): [Bug 1924761]: Move the
* generic/tkEvent.c (Tk_HandleEvent): passing of key events to
XFilterEvent to the low level point where all other events are
handled, where it should have been all along. This makes more input
methods work, stops [event generate] from interfering with input
methods, and allows the simplification of tkEvent.c by removing half
of InvokeInputMethods and allowing the rest - which was not full input
method handling - to be rolled back into Tk_HandleEvent. Introduces a
small potential bug when a focus change and input method handling are
too close together in the Tk event queue, but that should be less
deadly to usability than the previous problems where input methods
could fail completely or reorder key presses...
2009-12-30 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkMenu.c: [Patch 2879789]: Torn off menu items are only
* tests/menu.tcl: activated over a limited region of the window.
Fixed to make the whole width of a menu item activate the entry.
2009-12-27 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinMenu.c: [Bug 2879927]: Highlight for cascade items in
torn-off menus is incorrect on Windows.
2009-12-25 Joe English <jenglish@users.sourceforge.net>
* library/ttk/utils.tcl, library/notebook.tcl: [Bugs 2917688,2546779]:
Reworked ActivateTab focus selection logic.
2009-12-25 Donal K. Fellows <dkf@users.sf.net>
* doc/option.n: [Bug 2914943]: Correct the first example.
Also define what the format of option patterns is; that's a much less
commonly known fact than it used to be.
2009-12-22 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tcl.m4: Sync with current Tcl version.
* unix/Makefile.in: Use EXE_SUFFIX for Cygwin, and install
libtk8.6.dll in bin directory.
* unix/configure: (regenerated)
2009-12-22 Joe English <jenglish@users.sourceforge.net>
* library/ttk/sizegrip.tcl: [Bug 2912356]: Patch to avoid bizarro
behavior under compiz.
2009-12-20 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixSend.c (ServerSecure): [Patch 2917663]: Better support
for server-interpreted access control addreses.
2009-12-16 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkListbox.c: Fix gcc warning: ignoring return value of
"strtol", declared with attribute
warn_unused_result.
* unix/tkUnixEvent.c: Fix gcc warning: dereferencing pointer
"xgePtr" does break strict-aliasing rules.
* generic/tkInt.decls: CONSTify return values of TkKeysymToString,
* generic/tkBind.c TkFindStateString, TkpGetString, TkpGetChar,
* generic/tkIntDecls.h which are all not supposed to be modified by
* generic/tkUtil.c the caller. In tkUtil.c this gets rid of a
* carbon/tkMacOSXKeyboard.c dangerous type cast.
* macosx/tkMacOSXKeyboard.c
* unix/tkUnixKey.c
* win/tkWinKey.c
2009-12-15 Don Porter <dgp@users.sourceforge.net>
* generic/tkConfig.c: Added another dimension of refCounting to the
* generic/tkInt.c: "option" Tcl_ObjType to improve memory troubles
* generic/tkObj.c: detailed in [Bug 2492179]. Also removed
registration of the "option" Tcl_ObjType.
*** POTENTIAL INCOMPATIBILITY *** for callers of
Tcl_GetObjType("option") which must now handle a NULL return.
2009-12-15 Donal K. Fellows <dkf@users.sf.net>
* library/demos/unicodeout.tcl (usePresentationFormsFor): Split out
the code to decide whether to use presentation forms for clarity, and
add some more languages (though only in natural uncomposed form for
Devanagari script).
2009-12-14 Kevin B. Kenny <kennykb@acm.org>
* library/demos/unicodeout.tcl: Added code to check for right-to-left
support on Windows and adjust Hebrew and Arabic character strings
accordingly. Changed the Hebrew string to 'ktb ebryt' (ktav Ivrit,
"Hebrew writing") to be consistent with at least the Greek and Russian
strings. Thanks to Rodrigo Readi for calling the inconsistency to our
attention.
2009-12-02 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkInt.decls: [Bugs 220600, 220690]: Comment that TkWinChildProc
is exported through the stubs table since 8.5.9
2009-12-11 Jan Nijtmans <nijtmans@users.sf.net>
* win/makefile.vc: Fix dependancies on ${TKSTUBLIB} when
TCL_USE_STATIC_PACKAGES is defined
* generic/tkWindow.c: Fix gcc warning, using gcc-4.3.4 on cygwin
warning: array subscript has type 'char'
2009-12-11 Donal K. Fellows <dkf@users.sf.net>
* library/tk.tcl (::tk::ScreenChanged): [Bug 2912473]: Stop problems
caused by display names with a double colon in.
2009-12-10 Donal K. Fellows <dkf@users.sf.net>
* library/demos/ttkscale.tcl: Added demo of [ttk::scale] widget.
2009-12-09 Donal K. Fellows <dkf@users.sf.net>
* generic/tkColor.c (Tk_GetColorByValue): [Bug 2911570]: Ensure that
hash keys of color values are zeroed first, so that they hash properly
on 64-bit systems (where X structures are not tightly packed).
* unix/tkUnixWm.c (TkpMakeMenuWindow): Improve the determining of what
* generic/tkMenu.c (ConfigureMenu): EWMH hint to use so that we
distinguish between dropdown menus (children of menubars) and what are
presumably popup menus.
2009-12-08 Pat Thoyts <patthoyts@users.sourceforge.net>
* unix/tkUnixWm.c: [Bug 2864685]: Apply suitable extended window
manager hints to the menus so that modern unix window managers can use
the correct animation modes.
2009-12-02 Jan Nijtmans <nijtmans@users.sf.net>
* win/configure: (regenerated)
* win/Makefile.in: Use tktest86.dll for all tests.
* win/tkWinInt.h: Mark various functions MODULE_SCOPE
* generic/tkInt.decls: [Bugs 220600, 220690]: Make TkWinChildProc
available in private stub table.
* generic/tkIntPlatDecls.h: (regenerated)
* generic/tkStubInit.c: (regenerated)
2009-11-30 Jan Nijtmans <nijtmans@users.sf.net>
* win/Makefile.in: Better dependancies in case of static build.
Generate tktest86.dll and tktest86.lib.
2009-11-29 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkInt.h: Make all internal initialization
* generic/tkTest.c: routines MODULE_SCOPE
* generic/tkOldTest.c:
* generic/tkSquare.c:
* carbon/tkMaxOSXTest.c:
* macosx/tkMaxOSXTest.c:
* win/tkWinTest.c:
* win/tcl.m4: (copied from Tcl 8.6)
* win/configure: (regenerated)
2009-11-25 Stuart Cassoff <stwo@users.sf.net>
* unix/tcl.m4: [Patch 2892871]: Remove unneeded
AC_STRUCT_TIMEZONE.
* unix/configure: Regenerated with autoconf-2.59.
2009-11-24 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixWm.c (WmIconphotoCmd): [Bug 2902814]: Use the correct
type for the array of data passed into X. It's wrong, but "right"
because of a mistake in the X11 specification.
2009-11-23 Andreas Kupries <andreask@activestate.com>
* library/safetk.tcl (::safe::loadTk): [Bug 2902573]: Fixed access
to the cleanupHook of the safe base. The code used the old
internal commands which have been removed since 2009-11-05/06. See
Tcl's ChangeLog.
2009-11-23 Donal K. Fellows <dkf@users.sf.net>
* unix/Makefile.in: Added .PHONY lines to stop make from getting
confused when someone makes an error in a rule.
2009-11-22 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/winWm.test: [Bug 2899949]: Make sure the window is still
* win/tkWinWm.c: present when handling delayed activation.
* win/Makefile.vc: Include tk stubs in the tktest link
2009-11-21 Donal K. Fellows <dkf@users.sf.net>
* generic/tkUtil.c: Remove some anachronistic techniques (pointless
casts, mixed assignments and tests, etc.)
* generic/tk3d.c, generic/tkBitmap.c, generic/tkColor.c:
* generic/tkCursor.c, generic/tkFont.c, generic/tkTextIndex.c:
[Tcl Bug 2857044]: Corrections following audit of Tcl_ObjType freeing
practises; the typePtr field is now cleared when an object ceases to
be of the type.
2009-11-19 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkCanvas.c: [Bug 2899685]: Fix the redraw logic of [imove]
2009-11-19 Jan Nijtmans <nijtmans@users.sf.net>
* doc/GetHINSTANCE.3: Fix mentioned header file
* generic/tkTest.c: Compile with Stubs
* generic/tkOldTest.c
* generic/tkSquare.c
* win/tcl.m4: Should have been checked in together with the
2009-08-09 check in of "win/configure"
* win/tkWinTest.c: Don't access tkWinProcs from Tk dll any more
* unix/tcl.m4: [Patch 2883533]: tcl.m4 support for Haiku OS
* unix/configure (regenerated)
* unix/Makefile.in: Fix library order in X11_LIB_SWITCHES
2009-11-19 Donal K. Fellows <dkf@users.sf.net>
* generic/tkCanvLine.c (LineDeleteCoords): [Bug 2900121]: Get sense of
test for drawing optimization correct.
2009-11-15 Donal K. Fellows <dkf@users.sf.net>
* doc/ttk_treeview.n (detach): Added note that the 'move' operation
restores detached nodes.
2009-11-12 Joe English <jenglish@users.sourceforge.net>
* library/ttk/button.tcl, library/ttk/combobox.tcl,
* library/ttk/notebook.tcl, library/ttk/treeview.tcl:
[update] hygiene.
+ Where possible, replace [a; update; b] with [a ; after 0 b].
+ Where not possible, use [update idletasks] instead of full [update].
+ Use [after 0] in favor of [after idle] for delayed work, to reduce
likelihood of reentrancy issues in [update idletasks].
2009-11-11 Don Porter <dgp@users.sourceforge.net>
* generic/tkPlatDecls.h: [Bug 2886635]: Restore C++
friendliness to the tkPlatDecls.h header file, which we insist
extensions #include to gain access to the Tk_*HWND*() routines.
2009-11-10 Andreas Kupries <andreask@activestate.com>
* unix/Makefile.in: Partially reverted Don Porter's 2009-10-20 commit.
The OSX Cocoa code branch still needs tclInt.h and the internal
headers, thus the TCL_PLATFORM directory. See tclMacOSXNotify.c for
example.
2009-11-09 Donal K. Fellows <dkf@users.sf.net>
* generic/tkFileFilter.c (TkFreeFileFilters): Simplify the code in
this file by consolidating the deletion code together into a single
function rather than scattering it over four.
2009-11-01 Joe Mistachkin <joe@mistachkin.com>
* win/tkWinButton.c: [Bug 1739613]: The default width being stored
in TSD cannot be put into the process-wide options table. This fix
allocates storage for the default width from the heap and frees it
using an exit handler.
2009-11-01 Joe Mistachkin <joe@mistachkin.com>
* doc/loadTk.n: Minor fix for htmlhelp target.
2009-11-01 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkWidget.c, doc/ttk_widget.n: Uniform, extensible
syntax for [$w identify] methods: [$w identify $component $x $y]. All
ttk::* widgets support [$w identify element $x $y]; widgets with other
identifiable parts may have additional subcommands.
* generic/ttk/ttkNotebook.c, doc/ttk_notebook.n: Notebook widgets
support [$nb identify tab].
* generic/ttk/ttkPanedwindow.c, doc/ttk_panedwindow.n: Panedwindow
widgets support [$w identify sash]. Older 2-argument form [$w
identify $x $y] still supported, though it does different things
depending on the widget.
2009-10-29 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinFont.c: [Bug 1825353]: This patch reverts a previous
attempt to fix tiny fonts on Russian Windows. It fixes the issue by
requesting a suitable fixed font instead of decoding the system stock
font.
2009-10-26 Don Porter <dgp@users.sourceforge.net>
* unix/Makefile.in: Remove $(PACKAGE).* and prototype from the
`make distclean` target. Completes 2009-10-20 commit.
2009-10-25 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixColor.c (TkpGetColor): [Bug 2809525]: Impose a maximum
X11 color name length so that it becomes impossible to blow things up
that way.
* library/text.tcl: [Bug 1854913]: Stop <Delete> actions from ever
deleting backwards, even when the insertion cursor is "at the end" of
the text widget.
2009-10-24 Donal K. Fellows <dkf@users.sf.net>
* library/button.tcl, unix/tkUnixButton.c (TkpDisplayButton):
[Patch 1530276]: Make -selectcolor handling work better for both
checkbuttons and radiobuttons when they don't have indicators.
2009-10-22 Donal K. Fellows <dkf@users.sf.net>
* generic/tkText.c (CreateWidget, TextEditUndo, TextEditRedo)
(TextEditCmd, UpdateDirtyFlag):
* generic/tkText.h: [Patch 1469210]: Corrected handling of marking as
dirty when inserting after an undo from a non-dirty state.
* win/tkWinDialog.c (GetFileNameA): Make the handling of the filter
index the same as in GetFileNameW.
* library/tkfbox.tcl (::tk::dialog::file::, Done):
* library/xmfbox.tcl (MotifFDialog_FileTypes)
(MotifFDialog_ActivateSEnt):
* macosx/tkMacOSXDialog.c (Tk_GetOpenFileObjCmd):
* win/tkWinDialog.c (GetFileNameW, GetFileNameA):
* doc/getOpenFile.n: [Patch 2168768]: Corrected handling of the
-typevariable option to be consistently global; it's the only way it
can work even close to the same on all platforms.
* macosx/ttkMacOSXTheme.c (RangeToFactor): [Bug 2883712]: Factor out
some common code and make sure that it is 64-bit correct.
2009-10-21 Jan Nijtmans <nijtmans@users.sf.net>
* win/Makefile.in: [Bug 2875562]: Make sure that winMain.c and
* win/winMain.c: tkAppInit.c are never compiled with stubs.
* unix/tkAppInit.c:
2009-10-20 Don Porter <dgp@users.sourceforge.net>
* unix/Makefile.in: Compiling Tk no longer requires header files
* win/Makefile.in: from the TCL_PLATFORM DIR. Baby step in
pursuit of [Bug 1712098]. Also removed the long outdated and broken
targets package-* that were for building Solaris packages. Appears
that the pieces needed for these targets to function have never been
present in the current era of Tcl development and belong completely
to Tcl pre-history.
2009-10-20 Andreas Kupries <andreask@activestate.com>
* library/msgs/pl.msg: Applied patch to Polish message catalog created
and submitted by Pawel Pawlak <morris@elysium.pl> (via JeffH).
2009-10-18 Donal K. Fellows <dkf@users.sf.net>
* doc/menu.n: Reorganized for readability, and added a note describing
some subtleties of the -variable entry configuration option following
some discussion with Joe Mistachkin.
2009-10-10 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixRFont.c (InitFont, TkpGetFontFromAttributes)
(Tk_DrawChars, TkpDrawAngledChars): [Bug 1961455]: Draw underlines and
overstrikes when using Xft for font rendering.
* generic/tkFont.c (TkDrawAngledTextLayout): Optimize the zero-angle
case better.
2009-10-08 Donal K. Fellows <dkf@users.sf.net>
* library/iconlist.tcl (Create): [Patch 2870648]: Corrected cursor
used in file/directory dialogs.
2009-10-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/vistaTheme.tcl: [Bug 2787164]: Fix size of dropdown
arrow on combobox and menubutton for Windows 7.
2009-10-07 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixScrlbr.c (TkpComputeScrollbarGeometry): [Patch 2088597]:
Stop scrollbars from getting too small at the end.
2009-10-05 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinButton.c: [Bug 2860827]: Avoid 3D effects with
user-specified backgrounds. The default disabled text is embossed on
Windows. But this looks poor when a non-default background color is in
use. This patch disables the embossed effect for buttons and labels
when the background is non- standard.
2009-09-30 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/winWm.test: [Bug 2799589]: Grab on deleted window.
2009-09-25 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPhoto.c (ImgGetPhoto): Correct generation of grayscale
data from an image. Reported by Keith Vetter on comp.lang.tcl.
2009-09-19 Peter Spjuth <peter.spjuth@gmail.com>
* generic/tkGrid.c: [Bug 2859912]: Bug fix in grid/pack collision
* generic/tkPack.c: detect. Faulty slave was not properly blocked
* tests/packgrid.test: from slave list.
2009-09-14 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkMenuDraw.c (TkPostSubmenu): [Bug 873613]: Fix reposting of
* win/tkWinMenu.c (TkWinHandleMenuEvent): submenu in torn off Windows
menu.
(DrawMenuEntryArrow): [Bug 873608]: Draw Win menu arrow after being
torn off.
2009-09-09 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixRFont.c (InitFont): Move pattern disposal in error case
to callers so they have more options when they come to recovering from
the failure.
(TkpGetFontFromAttributes): If the default attributes don't work, try
adding a setting to turn off use of XRender. That seems to work for
some people for unexplained reasons (possibly local misconfiguration).
* generic/tkFont.c (Tk_AllocFontFromObj): Stop this function from
keeling over in a heap when the low-level font allocation fails. An
error beats a crash! (Issue reported on comp.lang.tcl by Denis
Berezhnoy.)
2009-09-07 Daniel Steffen <das@users.sourceforge.net>
* generic/tkFocus.c: Fix potential null dereference flagged by clang
* generic/tkMenu.c: static analyzer.
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextIndex.c:
* generic/tkConsole.c: Silence false positives from clang static
* generic/tkTest.c: analyzer about potential null dereference.
* generic/tkText.c:
* generic/tkTextBTree.c:
* generic/tkTextTag.c:
* generic/tkVisual.c:
2009-09-04 Donal K. Fellows <dkf@users.sf.net>
* generic/tkInt.h (TkDisplay): Remove fields that are never read from.
* generic/tkWindow.c (Tk_DestroyWindow): Remove code to write to
write-only fields of TkDisplay. This follows on from [Bug 2039720].
2009-08-25 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixSend.c (ServerSecure): [Bug 1909931]: Added some support
for server-interpreted access control addreses.
2009-08-24 Donal K. Fellows <dkf@users.sf.net>
* library/msgbox.tcl (::tk::MessageBox): Correct bindings so that they
work with ttk::buttons. Reported by Hans-Christoph Steiner.
2009-08-24 Daniel Steffen <das@users.sourceforge.net>
* generic/tkInt.h: Annotate Tcl_Panic as noreturn for clang static
analyzer in PURIFY builds, replacing preprocessor/assert technique.
* generic/tkBind.c (HandleEventGenerate): Don't generate events for
windows that don't exist yet (fixes TkAqua testsuite crash).
* macosx/tkMacOSXWindowEvent.c: [Bug 2821084]: Allow WM_DELETE_WINDOW
handlers to prevent window closure by generating WM destroy event
earlier (from window delegate's -windowShouldClose:).
* macosx/tkMacOSXDraw.c (TkMacOSX{Setup,Restore}DrawingContext):
Disable window flushing during Tk drawing to avoid immediate flush of
NSView-based native widgets on draw. (fixes drawing performance issue
reported by Youness Alaoui on tcl-mac)
* macosx/tkMacOSXHLEvents.c (ScriptHandler): Fix "do script" apple
* carbon/tkMacOSXHLEvents.c (ScriptHandler): event handler issues
on recent OS X releases by using AE coercion to 'utf8' for text data
and to 'fsrf' for alias data. (reported by Youness Alaoui on tcl-mac)
* macosx/Wish.sdef (new file): Install and enable sdef file
* macosx/Wish-Info.plist.in: into Wish application bundle,
* macosx/Tk.xcode/project.pbxproj: describing TkAqua apple event
* macosx/Tk.xcodeproj/project.pbxproj: support for use by AppleScript.
* unix/Makefile.in: (replaces functionality of
* unix/configure.in: 'aete' resource removed with
Cocoa port & fixes AppleScript
issues reported on tcl-mac)
* unix/configure: autoconf-2.59
* carbon/Wish.xcode/project.pbxproj: Remove references to obsolete
* carbon/Wish.xcodeproj/project.pbxproj: prolog.ps file.
2009-08-19 Peter Spjuth <peter.spjuth@gmail.com>
* generic/tk.h
* generic/tkGeometry.c
* generic/tkGrid.c
* generic/tkInt.h
* generic/tkPack.c
* generic/tkWindow.c
* tests/grid.test
* tests/packgrid.test
* tests/textIndex.test: [Patch 2475855]: Give an error if grid and
pack are used in the same master.
2009-08-14 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXDraw.c: Avoid exception in XCopyArea() when copying
from toplevel that has never been mapped. (Reported by Youness Alaoui
on tcl-mac)
* macosx/tkMacOSXWm.c: Workaround for textured windows being draggable
from opaque content areas. [Bug 2824538] (walzer)
2009-08-10 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinPixmap.c: Eliminate more gcc warnings
* win/tkWinWm.c:
* win/tkWinTest.c
2009-08-09 Jan Nijtmans <nijtmans@users.sf.net>
* generic/ttk/ttkInit.c: Eliminate gcc warning
* generic/tkBind.c
* generic/tkText.c
* generic/tkUtil.c
* win/ttkWinXPTheme.c: Include <vssym32.h> only when available
* win/configure.in: check for vssym32.h, available in newer SDK's
* win/configure: (regenerated)
2009-08-08 Donal K. Fellows <dkf@users.sf.net>
* library/demos/pendulum.tcl: Make the display handle being resized
more gracefully.
2009-08-04 Donal K. Fellows <dkf@users.sf.net>
* generic/tkTextDisp.c (TkTextCharLayoutProc): Make the line breaking
algorithm (in the word-wrap case) do the right thing with non-breaking
spaces by restricting what we break on to ASCII spaces, which is good
enough for most purposes.
2009-08-02 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinClipboard.c Correct check for winNT
* win/tkWinDialog.c Eliminate many gcc warnings
* win/tkWinImage.c:
* win/tkWinMenu.c:
* win/tkWinWm.c:
* win/tkWinX.c:
* win/ttkWinXPTheme.c: Eliminate msvc warnings
* win/tcl.m4:
* win/configure
* win/.cvsignore: Prevent files from being checked in by accident
2009-08-01 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixWm.c (WmIconphotoCmd): [Bug 2830420]: Assemble the image
for the window manager in a way that doesn't assume we're on a little-
endian system.
2009-07-27 Donal K. Fellows <dkf@users.sf.net>
* doc/GetScroll.3: Reworded and reordered so as to indicate that the
Tcl_Obj forms are preferred.
2009-07-26 Donal K. Fellows <dkf@users.sf.net>
* doc/canvas.n: Corrected description of acceptable join styles.
Spotted by Emiliano Gavilan.
2009-07-23 Donal K. Fellows <dkf@users.sf.net>
* generic/tkSelect.c (HandleTclCommand): [Bug 2441988]: Stop losing
reports of errors in selection handlers; that's what the background
error handling code is for.
*** POTENTIAL INCOMPATIBILITY *** if your code was relying on erroring
selection scripts being silent.
(LostSelection, Tk_SelectionObjCmd): Stop using the vastly inefficient
TkCopyAndGlobalEval; better to use Tcl_Obj refcount management.
2009-07-22 Donal K. Fellows <dkf@users.sf.net>
* generic/tkFocus.c (TkFocusDeadWindow): [Bug 2496114]: Ensure that
focus desynchronization doesn't cause a crash.
2009-07-21 Donal K. Fellows <dkf@users.sf.net>
* generic/tkFont.c (TkUnderlineAngledTextLayout): [Bug 2356057]:
Corrected drawing of rotated underlines.
2009-07-21 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkFont.c: [Bug 2328657]: Explicitly exclude hacky zero-char
chunks from intersection computation. Might deserve generalization to
other tests.
2009-07-20 Donal K. Fellows <dkf@users.sf.net>
* tests/clipboard.test (clipboard-6.2): [Bug 2824378]: Corrected
result of test in light of changes to binary selection retrieval.
2009-07-18 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixSelect.c (SelCvtFromX32, SelCvtFromX8): Make the
incremental transfer of binary selections work get deserialized
correctly. Thanks to Emiliano Gavilan for detecting.
2009-07-18 Daniel Steffen <das@users.sourceforge.net>
* unix/Makefile.in: Define NDEBUG in optimized (non-
symbols) build to disable assert()s.
* macosx/tkMacOSXBitmap.c: [Bug 2821318]: Fix tk::mac::iconBitmap
crash due to off-by-one ckalloc error.
2009-07-15 Daniel Steffen <das@users.sourceforge.net>
* macosx/ttkMacOSXTheme.c: [Patch 2819620]: Update notebook tab
* library/ttk/aquaTheme.tcl: appearance to modern L&F; adjust tab &
notebook padding and tabmargins;
correct appearance of selected tree
header; add support for native tree
header sort arrows via user1 state.
* library/demos/mclist.tcl: Use native sort arrows with aqua theme
2009-07-15 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixSelect.c (TkSelEventProc, SelRcvIncrProc, SelCvtFromX8):
[Bug 2821962]: Make byte sequence selection transfers possible.
2009-07-14 Donal K. Fellows <dkf@users.sf.net>
* doc/canvas.n (WINDOW ITEMS): [Bug 2326602]: Corrected definition of
the -height and -width options for these items.
* unix/configure.in: [Bug 2496018]: Allow the disabling of the use of
XScreenSaver at configuration time, so as to permit better control of
dependencies in the embedded case.
2009-07-11 Donal K. Fellows <dkf@users.sf.net>
* doc/grid.n: [Bug 2818455]: Corrected example.
2009-07-02 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkInt.h: Avoid using C++ reserved word in header.
2009-06-30 Daniel Steffen <das@users.sourceforge.net>
* generic/tkInt.h: Add assert macros for clang static
analyzer and redefine Tcl_Panic to
assert after panic in clang PURIFY
builds.
* generic/tkImgPhInstance.c: Small fixes to make clang static
* generic/tkTextDisp.c: analyzer happier.
* generic/tkConfig.c: Add clang assert for false positives
* generic/tkUndo.c: from static analyzer.
2009-06-29 Daniel Steffen <das@users.sourceforge.net>
Merge of TkAqua Cocoa port <http://github.com/das/tcltk/tree/de-carbon>
*** POTENTIAL INCOMPATIBILITY ***
* macosx/tkMacOSX.h: Large-scale rewrite of TkAqua migrating
* macosx/tkMacOSXBitmap.c: all use of deprecated Carbon API to
* macosx/tkMacOSXButton.c: Cocoa API; now supports 64bit
* macosx/tkMacOSXClipboard.c: architecture and requires Mac OS X 10.5
* macosx/tkMacOSXColor.c: or later; with TkAqua enabled, all Tk
* macosx/tkMacOSXConfig.c: sources are now built with the
* macosx/tkMacOSXCursor.c: Objective-C compiler and running in
* macosx/tkMacOSXDebug.c: Objective-C garbage collection mode as
* macosx/tkMacOSXDebug.h: well as in retain-release mode is
* macosx/tkMacOSXDefault.h: supported; detailed development history
* macosx/tkMacOSXDialog.c: is available in github repository.
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXEmbed.c: There should be no script-visible
* macosx/tkMacOSXEntry.c: changes to existing Tk functionality,
* macosx/tkMacOSXEvent.c: but there are a few aqua-specific
* macosx/tkMacOSXEvent.h: additions, see macosx/README for
* macosx/tkMacOSXFont.c: details; extensions using only public
* macosx/tkMacOSXFont.h: Tk API should continue to work
* macosx/tkMacOSXHLEvents.c: unchanged but extensions that rely on
* macosx/tkMacOSXInit.c: platform-specific internal Tk API or
* macosx/tkMacOSXInt.h: make assumptions about the inner
* macosx/tkMacOSXKeyEvent.c: workings of TkAqua (in particular
* macosx/tkMacOSXKeyboard.c: presence of QuickDraw) will require
* macosx/tkMacOSXMenu.c: porting.
* macosx/tkMacOSXMenubutton.c:
* macosx/tkMacOSXMenus.c: Configure Tk with --enable-aqua=carbon
* macosx/tkMacOSXMouseEvent.c: to fallback to now-deprecated previous
* macosx/tkMacOSXNotify.c: TkAqua implementation in tk/carbon.
* macosx/tkMacOSXPort.h:
* macosx/tkMacOSXPrivate.h:
* macosx/tkMacOSXRegion.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXScrlbr.c:
* macosx/tkMacOSXSend.c:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXTest.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXWm.h:
* macosx/tkMacOSXXStubs.c:
* macosx/ttkMacOSXTheme.c:
* macosx/tkMacOSXCarbonEvents.c (removed):
* macosx/tkMacOSXCursors.h (new): Move cursor data from resources
* macosx/tkMacOSXXCursors.h (new): to compiled-in const array;
* macosx/tkMacOSXCursors.r (removed): remove obsolete Rez source
* macosx/tkMacOSXXCursors.r (removed): files for resource data.
* macosx/tkAboutDlg.r (removed):
* macosx/tkMacOSXAETE.r (removed):
* macosx/Tk.tiff (new): Rename and update icon to blue feather;
* macosx/Tk.icns (new): add tiff version for about dialog.
* macosx/Wish.icns (removed):
* macosx/Tk-Info.plist.in: Update copyright; adjust minimum system
* macosx/Wish-Info.plist.in: version requirement.
* generic/tkEntry.h:
* license.terms: Sync list of entities with those in the
tcl license.terms, add Apple Inc.
* generic/tk.h: Update comment with list of source
files containing tk version numbers.
* generic/tkButton.c: On aqua, recompute button geometry on
secondary image change to enable cache
of native img format in geom compute.
* generic/tkGrab.c: On aqua, make all grabs global, the
Mac OS X windowserver forces all grabs
to be application-local only anyway.
* generic/tkSelect.c: Enable utf8 atom on aqua.
* generic/tk.decls: Replace carbon types in public and
* generic/tkInt.decls: internal platform stubs interfaces with
void* resp. generic Tk types.
* xlib/xgc.c: Add support for managing a platform-
specific cache appended to a GC.
* tests/dialog.test: Change name of undefined bit to avoid
match with OSType native bitmap name.
* doc/cursors.n: Update list of cursors mapped to native
cursors and add new native cursors.
* doc/menu.n: Add documentation of new aqua-specific
.window menu, document new constraints
on .apple menu.
* library/console.tcl: Add aqua window and help menus.
* unix/Makefile.in: Add support for TkAqua-implementation-
specific sources determined at
configure-time. Update dist target for
new/removed files.
* unix/configure.in: Add libraries & compiler flags for
Cocoa and Objective-C; update build
support for new/removed files; add
support for configure-time choice of
TkAqua implementation.
* macosx/Tk-Common.xcconfig (new): Rename Xcode projects and
* macosx/Tk-Debug.xcconfig (new): related files; update for Xcode
* macosx/Tk-Release.xcconfig (new): 3.1 and 3.2; update for Cocoa,
* macosx/Tk.xcode/* (new): Objective-C & GC; update with
* macosx/Tk.xcodeproj/* (new): new/removed source files;
* macosx/Wish.xcode/* (removed): standardize on gcc 4.2; remove
* macosx/Wish.xcodeproj/* (removed): obsolete configurations and
* macosx/Wish-Debug.xcconfig (removed): pre-Xcode project.
* macosx/Wish-Common.xcconfig (removed):
* macosx/Wish-Release.xcconfig (removed):
* macosx/Wish.pbproj/* (removed):
* macosx/README: Document new Cocoa-port features and
constraints; update project docs;
cleanup.
* carbon/tkMacOSXInt.h: Add dummy defines for empty GC cache.
* carbon/tkMacOSXColor.c: Update for type changes in platform
* carbon/tkMacOSXDraw.c: stubs interfaces.
* carbon/tkMacOSXHLEvents.c:
* carbon/tkMacOSXMouseEvent.c:
* carbon/tkMacOSXSubwindows.c:
* carbon/tkMacOSXWm.c:
* carbon/tkMacOSXButton.c: Fix warning.
* generic/tkPlatDecls.h: regen.
* generic/tkIntPlatDecls.h:
* unix/configure: autoconf-2.59
2009-06-27 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkInt.decls (added TkSmooth(Parse|Print)Proc,
removed TkTile(Parse|Print)Proc which don't exist):
Follow-up to [Bug 2804935]: Expose these functions through the
internal stub table as they are useful to existing third-party code.
2009-06-26 Daniel Steffen <das@users.sourceforge.net>
* carbon/ (new directory): Copy of current state of 'macosx'
source directory, to preserve legacy TkAqua implementation based on
Carbon API (with support for Mac OS X releases older than 10.5).
* unix/Makefile.in: Add support for --enable-aqua=carbon
* unix/configure.in: configure option (legacy fallback for
pre-Mac OS X 10.5 releases).
* unix/configure: autoconf-2.59
2009-06-22 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkCanvUtil.c: [Bug 220935]: canvas dash update problem
2009-06-12 Donal K. Fellows <dkf@users.sf.net>
* generic/tkInt.decls (TkOrientParseProc, TkOrientPrintProc):
[Bug 2804935]: Expose these functions through the internal stub table
as they are useful to existing third-party code.
2009-06-02 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinWm.c: [Bug 2799589]: Avoid setting the focus on a
* tests/winWm.test: deleted window during delayed activation.
2009-05-21 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinMenu.c: [Bug 2794778]: Calls to CallWindowProc can lead to
other functions overwriting the event strucure. Therefore preserve a
local copy of the XKeyEvent while looping over the key events.
2009-05-17 Joe English <jenglish@users.sourceforge.net>
* generic/ttkNotebook.c: [Bug 1470246]: More flexible tab placement.
2009-05-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkButton.c: [Bug 1923684]: If a checkbutton offvalue is the
same as the tristate value we should use the off state in
preference. (andrey gusev)
2009-05-13 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinSend.c: FormatMessage should always use the ignore-inserts
* win/tkWinTest.c: flag when processing system errors.
* generic/tkFont.c: [Bug 2791352]: Handle parsing of type 5 font
* tests/font.test: descriptions with hyphenated family name.
2009-05-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/images/lamp.svg: Added an SVG version of the Tk lamp and
* library/images/lamp.png: a pre-rendered PNG version.
* win/rc/wish.ico: Wish gets a new icon using the SVG lamp and the tk
* win/rc/tk.ico: dll gets the tcl rendered feather. This provides
improved icons for Vista/Windows 7.
2009-05-05 Donal K. Fellows <dkf@users.sf.net>
* doc/MainWin.3 (Tk_GetNumMainWindows): [Bug 487220]: Clarified that
this function works per-thread, not per-process.
* doc/canvas.n (scale): [Bug 1832015]: Clarified that [$c scale] only
affects item coordinates.
2009-05-04 Donal K. Fellows <dkf@users.sf.net>
* doc/3DBorder.3, doc/BindTable.3, doc/CanvPsY.3, doc/Clipboard.3:
* doc/ConfigWidg.3, doc/CrtWindow.3, doc/GetBitmap.3:
* doc/GetCapStyl.3, doc/GetImage.3, doc/GetJoinStl.3, doc/GetScroll.3:
* doc/GetSelect.3, doc/GetVisual.3, doc/MainWin.3, doc/Name.3:
* doc/ParseArgv.3, doc/TextLayout.3, doc/Tk_Init.3: [Bug 2431507]:
Purge all mention of the now-obsolete 'interp->result'.
2009-05-03 Donal K. Fellows <dkf@users.sf.net>
* win/tkWinWm.c (UpdateWrapper): [Bug 2785744]: Manipulate flag bit
correctly so that menubar updates can't smash other attributes.
2009-05-01 Donal K. Fellows <dkf@users.sf.net>
* library/mkpsenc.tcl (DrawText): [Bug 2777019]: Corrected point of
application of rotation transform so rotation is about the anchor
point of the text.
* generic/tkCanvPs.c (Tk_PostscriptPhoto):
* library/mkpsenc.tcl: Factor out the postscript code for converting
images into postscript so that the code bits are in the prolog and not
emitted at runtime if a non-thread-safe static says to...
2009-04-30 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinWm.c: [Patch 2504402]: Create icon bitmaps as device
independent bitmaps. This ensures the icon can be drawn properly on
various colour depth surfaces - in particular it fixes a problem with
remote desktop and looks better in the vista task switching overlay.
(cjmcdonald)
2009-04-30 Donal K. Fellows <dkf@users.sf.net>
* win/tkWinPixmap.c (Tk_GetPixmap): [Bug 2080533]: Added patch that
allows Tk to keep working even when the graphics card is stressed.
2009-04-28 Jeff Hobbs <jeffh@ActiveState.com>
* unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): Harden the check
to add _r to CC on AIX with threads.
2009-04-27 Donal K. Fellows <dkf@users.sf.net>
* generic/tkInt.decls: [Bug 2768945]: Expose (as "private") a set of
functions needed for easily building canvas items that work like
existing standard ones.
2009-04-24 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinDialog.c (ChooseDirectoryValidateProc): No need to set cwd
on selchange. Prevents delete of selected folder in dialog.
2009-04-24 Stuart Cassoff <stwo@users.sf.net>
* unix/Makefile.in: Assorted issues:
[Bug 2764263]: Removed stray @ from Makefile.in test target.
[Bug 1945073]: Don't chmod+x square demo.
[Patch 2764272]: Adjustable demo install location.
2009-04-24 Stuart Cassoff <stwo@users.sf.net>
* unix/Makefile.in: [Patch 2769530]: Don't chmod/exec installManPage.
2009-04-23 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): [Bug 2779910]: Enable
the new style choosedir that has a "New Folder" button, with
::tk::winChooseDirFlags override for new behavior.
2009-04-14 Donal K. Fellows <dkf@users.sf.net>
* library/xmfbox.tcl (MotifFDialog_ActivateSEnt): Ensure that the
* library/tkfbox.tcl (Done): dialogs have the
correct levels for [upvar] for accessing the -typevariable var.
2009-04-13 Donal K. Fellows <dkf@users.sf.net>
* library/tk.tcl: Corrected another problem; can't determine the exact
type of OS - needed for figuring out how to guess the correct binding
in some circumstances - in a safe interpreter.
* library/tkfbox.tcl: [Bug 2759119]: Corrected level handling for the
* library/xmfbox.tcl: -typevariable option following updates to tk.tcl
[Patch 2739360]: Use more modern images from Tango set for the non-
Motif file dialog. Thanks to Emiliano for bring this to my attention.
2008-04-10 Joe English <jenglish@users.sourceforge.net
* library/palette.tcl (tk_setPalette): Don't set *selectColor:
#b03060; this makes radio- and checkbuttons look wrong post-TIP#109.
2009-04-10 Daniel Steffen <das@users.sourceforge.net>
* unix/configure.in (Darwin): Use Darwin SUSv3 extensions if
available.
* unix/configure: autoconf-2.59
* unix/tkConfig.h.in: autoheader-2.59
* library/demos/filebox.tcl: Only show "Motif Style Dialog"
checkbutton on X11 windowingsystem.
* library/demos/widget: GOOBE: use ttk::cursor
* library/demos/knightstour.tcl: Fix knightstour demo not running from
interactive wish.
* library/console.tcl (::tk::ConsoleInit): Remove redundant TkAqua
Quit menu item.
* generic/tkPointer.c (Tk_UpdatePointer): Use all 5 buttons.
* generic/tkMenu.c (PostProcessEntry): Delay call to
TkpConfigureMenuEntry() until all menu entry attributes are setup.
* library/menu.tcl (::tk::MbPost): Fix error thrown in y position
computation with indicatoron.
* generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/
* generic/tkUtil.c (TkBackgroundEvalObjv): Use Tcl_BackgroundException
* generic/tkTextBTree.c (TkBTreeDeleteIndexRange): Add bounds check
to startEnd array access (fixes testsuite crash).
* tests/unixFont.test: Only use xlsfonts with X11 windowingsystem.
2009-04-10 Donal K. Fellows <dkf@users.sf.net>
* library/tk.tcl: [Bug 2116837]: Add event definitions to handle the
standard virtual events when Caps Lock is on.
2009-04-08 Donal K. Fellows <dkf@users.sf.net>
* library/demos/widget (addFormattedText): Stop marking demonstrations
as new for 8.6; that label is for wholly new demos.
2009-04-04 Donal K. Fellows <dkf@users.sf.net>
* doc/messageBox.n: [Bug 1881896]: Reworded to be clearer on what the
platform restrictions really are.
2009-04-03 Joe English <jenglish@users.sourceforge.net>
* unix/tkUnixWm.c: [Bug 1789819]: Don't panic when the window manager
does something unexpected with the stacking order.
2009-04-03 Donal K. Fellows <dkf@users.sf.net>
* doc/TextLayout.3: [Bug 974421]: Clarified description of how result
of lookup of a point after end of layout relates to the underlying
string's length.
2009-04-02 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/textTag.test: Ensure the pointer begins outside the window for
all the tests checking Enter/Leave motion events.
* library/demos/pendulum.tcl: Use unicode labels
* library/demos/knightstour.tcl: Use polygon knight on x11.
2009-03-31 Donal K. Fellows <dkf@users.sf.net>
* library/demos/mclist.tcl: Added support for arrow indicators to show
which way a column is being sorted. Corrected determination of which
fonts to use for measurements.
2009-03-25 Jan Nijtmans <nijtmans@users.sf.net>
* doc/wish.1: Bring doc and demos in line with
* library/demos/hello: http://wiki.tcl.tk/812
* library/demos/rmt
* library/demos/square
* library/demos/tcolor
* library/demos/timer
* library/demos/widget
* win/tkWinMenu.c: Eliminate a few compiler warnings on mingw
* win/ttkWinXPTheme.c: Spacing
2009-03-25 Donal K. Fellows <dkf@users.sf.net>
* generic/ttk/ttkTheme.c (BuildOptionMap, NewElementClass):
[Bug 2178820]: Ensure that zero-size allocations don't happen; some
malloc implementations don't like it at all.
* win/wish.exe.manifest.in: [Bug 1871101]: Add magic to make Tk not be
blurred on Vista with large fonts.
2009-03-14 Donal K. Fellows <dkf@users.sf.net>
* unix/tk.pc.in (new file): [Patch 2243962] (hat0)
* unix/configure.in, unix/Makefile.in: Added support for reporting
Tk's public build configuration via the pkg-config system. TEA is
still the official mechanism though, in part because pkg-config is not
universally supported across all Tk's supported platforms.
2009-03-10 Donal K. Fellows <dkf@users.sf.net>
* doc/event.n: Tidy up and improve examples.
2009-03-09 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
* tkMacOSXFont.c (GetFontFamilyName): [Bug 2548661]: Handle NULL
return from CFStringCreate.
2009-02-27 Jan Nijtmans <nijtmans@users.sf.net>
* doc/GetBitmap.3 [Feature Request 2636558]: Tk_DefineBitmap
* generic/tk.decls and Tk_GetBitmapFromData signature problem
* generic/tkInt.decls
* generic/tkBitmap.c
* generic/tkInt.h
* generic/tkStubInit.c
* generic/tkDecls.h: (regenerated)
* generic/tkIntDecls.h: (regenerated)
* macosx/tkMacOSXBitmap.c
2009-02-27 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkWindow.c: [Bug 2645457]: Check for dead windows after
calling Tk_MakeWindowExist to avoid a crash when mapping dead windows.
2009-02-23 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/rc/*.cur: [Patch 2513104]: Fix cursor hotspots (cjmcdonald)
* win/tkWinMenu.c: Applied patch for menu image display bug.
[Bug 1329198, 456299] [Patch 2507419] (cjmcdonald)
2009-02-22 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinCursor.c: Applied patch to support stock Win32 help arrow
cursor when question_arrow requested [Patch 2542828] (danckaert)
2009-02-21 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/vistaTheme.tcl: Correct the ttk::treeview border on
* win/ttkWinXpTheme.c: XP and vista.
* library/console.tcl: [Bug 2546087]: In 2004 a fix to Tcl channels
prevented the exposure of the internal UTF-8 representation of the
ASCII NUL character (\uc080). Since then strings in the console have
been truncated at NUL. This restores the older behaviour.
2009-02-17 Jeff Hobbs <jeffh@ActiveState.com>
* win/tcl.m4, win/configure: Check if cl groks _WIN64 already to avoid
CC manipulation that can screw up later configure checks. Use 'd'ebug
runtime in 64-bit builds.
2009-02-16 Jeff Hobbs <jeffh@ActiveState.com>
* win/configure.in, win/configure: Align better with tcl version.
Ensures finding correct CPP for Win64.
2009-02-16 Donal K. Fellows <dkf@users.sf.net>
* doc/ttk_intro.n: [Bug 2604420]: Improve wording so that this page
feels less obviously incomplete.
2009-02-12 Donal K. Fellows <dkf@users.sf.net>
* library/iconlist.tcl: Split out the IconList megawidget from
tkfbox.tcl into its own file so as to make it easier to maintain. Also
cleans up the API for the megawidget, making it more like a
conventional Tk widget.
2009-02-11 Donal K. Fellows <dkf@users.sf.net>
* library/demos/items.tcl, .../label.tcl, .../twind.tcl:
* library/demos/images/ouster.png: [Bug 2588919]: Demo GOOBE. Added
new image of John Ousterhout that does not look quite so massively out
of date, and also showed off a bit of how we can adjust PNG images
when loading them. Also labeled JO as the creator; it's the TCT who
are the proprietors now.
2009-02-10 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tcl.m4: [Bug 2502365]: Building of head on HPUX was broken when
using the native CC.
* unix/configure (autoconf-2.59)
2008-02-08 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/*.[ch]: Renamed several internal data structures and
functions: ElementImpl -> ElementClass, LayoutNode -> Element. Remove
more unnecessary casts. Add function Ttk_ClientRegion, common factor
of entry, scale, progress, and treeview widgets.
* generic/ttk/ttkTrack.c: Fix [Bug 2431428].
2008-02-06 Daniel Steffen <das@users.sourceforge.net>
* generic/tkImgPhInstance.c: Fix numerous leaks discovered with the
* generic/tkMenu.c: Mac OS X Instruments.app Leaks tool.
* generic/tkText.c:
* generic/tkTextImage.c:
* generic/tkTextIndex.c:
* generic/tkUndo.c:
* generic/tkUtil.c:
* generic/ttk/ttkFrame.c:
* macosx/tkMacOSXWm.c:
2009-01-29 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkCanvArc.c - eliminate some unnessary type casts
* generic/tkCanvBmap.c - some internal const decorations
* generic/tkCanvImg.c - spacing
* generic/tkCanvWind.c
* generic/tkCmds.c
* generic/tkConfig.c
* generic/tkEntry.c
* generic/tkFocus.c
* generic/tkFont.c
* generic/tkFrame.c
* generic/tkGrab.c
* generic/tkGrid.c
* generic/tkImage.c
* generic/tkListbox.c
* generic/tkObj.c
* generic/tkOption.c
* generic/tkPack.c
* generic/tkPanedWindow.c
* generic/tkRectOval.c
* generic/tkSelect.c
* generic/tkText.c
* generic/tkTextMark.c
* generic/tkTextTag.c
2009-01-28 Jan Nijtmans <nijtmans@users.sf.net>
* generic/ttk/ttkCache.c: - eliminate some unnessary type casts
* generic/ttk/ttkLayout.c - some internal const decorations
* generic/ttk/ttkState.c - spacing
* generic/ttk/ttkTheme.c
* macosx/tkMacOSXMenu.c
* macosx/tkMacOSXPrivate.h
* unix/tkUnixFont.c
* unix/tkUnixMenu.c
* unix/tkUnixWm.c
* win/tkWinColor.c
* win/tkWinDialog.c
* win/tkWinFont.c
* win/tkWinMenu.c
* win/tkWinSend.c
* win/tkWinWindow.c
* win/tkWinWM.c
2009-01-22 Kevin B. Kenny <kennykb@acm.org>
* unix/tcl.m4: Corrected a typo ($(SHLIB_VERSION) should be
${SHLIB_VERSION}).
* unix/configure: Autoconf 2.59
2009-01-19 Kevin B. Kenny <kennykb@acm.org>
* unix/Makefile.in: Added a CONFIG_INSTALL_DIR parameter so that
* unix/tcl.m4: distributors can control where tclConfig.sh goes.
Made the installation of 'ldAix' conditional upon actually being on an
AIX system. Allowed for downstream packagers to customize
SHLIB_VERSION on BSD-derived systems.
Thanks to Stuart Cassoff for [Patch 907924].
* unix/configure: Autoconf 2.59
2009-01-16 Don Porter <dgp@users.sourceforge.net>
* generic/tk.h: Bump patchlevel to 8.6b1.1 to distinguish
* library/tk.tcl: CVS snapshots from the 8.6b1 and 8.6b2
* unix/configure.in: releases.
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2009-01-14 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkImgPhoto.c: [Bug 2507326]: Fix for aMSN compatibility
* generic/tkMenu.h: CONSTify Tk(Create|Find)MenuReferences
* generic/tkMenu.c: various internal "const" decorations.
2009-01-13 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tcl.m4: [Bug 2502365]: Building of head on HPUX was broken when
using the native CC
* unix/configure (autoconf-2.59)
2009-01-13 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/constraints.tcl: Made the tests more independent of the
* tests/*.test: presence of images in the interpreter.
2009-01-11 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/bind.test: Fixed keysym bind tests for unix [Bug 2336454]
2009-01-11 George Peter Staplin <georgeps@users.sourceforge.net>
* generic/tkEvent.c: Fix a possible segv due to a NULL pointer
dereference that occurs when XCreateIC fails.
2009-01-11 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/bgerror.tcl: Pretty up the unix tk_messageBox icons with PNG
* library/icons.tcl: images and grouped all the stock icons in one
* library/msgbox.tcl: file.
* library/tk.tcl:
2009-01-11 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkNotebook.c (NotebookCleanup): [Bug 2496162]: Don't
call Tk_DeleteOptionTable(), it's unnecessary and quite possibly
harmful.
2009-01-08 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk3d.c: CONSTify TkDebugBorder
* generic/tkBind.c: CONSTify TkStringToKeysym
* generic/tkBitmap.c: CONSTify TkDebugBitmap
* generic/tkColor.c: CONSTify TkDebugColor
* generic/tkCursor.c: CONSTify TkDebugCursor
* generic/tkFont.c: CONSTify TkDebugFont
* generic/tkInt.decls All those mods TIP #27 complient,
no incompatibility risks.
* generic/tkIntDecls.h (regenerated)
2009-01-08 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/bgerror.tcl: Theme the bgerror dialog and make use of our
PNG support to improve the icon.
2009-01-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/tkfbox.tcl: [Bug 2473120]: Mis-ordered messagebox args.
* win/tkWinWm.c: [Bug 1847002]: Prevent grabs being bypassed on
Windows.
2009-01-06 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: A few const -> CONST86 modifications,
* generic/tkCanvas.c: improving backwards compatibility. Change
* generic/tkCanvLine.c: Tk_ItemIndexProc and Tk_ItemInsertProc
* generic/tkCanvPoly.c: signature to have a Tcl_Obj parameter instead
* generic/tkCanvText.c: of a string parameter. This is binary and
* doc/CrtItemType.3: source compatible with previous API, it just
* doc/Clipboard.3: prevents the need for a type cast in the
* doc/ConfigWidg.3: Tk_ItemType table construction. Bring doc in
* doc/ParseArgv.3: line with API.
2009-01-06 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPhoto.c (Tk_PhotoPutBlock): Optimize a common case for
photo image building. [Patch 1539990] (jepler)
2009-01-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinDialog.c: Use task modal for messagebox instead of system
modal. [Bug 2484771] (ferrieux,thoyts,mjanssen)
2009-01-03 Donal K. Fellows <dkf@users.sf.net>
* doc/canvas.n: [Bug 1836621]: Improve the documentation of the
-offset and -outlineoffset item options.
2009-01-03 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.decls: CONSTify Tk_ClipboardAppend
* generic/tkClipboard.c:
* generic/tkDecls.h: (regenerated)
2008-12-31 David Gravereaux <davygrvy@pobox.com>
* win/rules.vc: Small bug not setting SYMBOLS macro fixed.
2008-12-31 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkDefaultTheme.c: Fix color palette for radiobutton and
checkbutton indicators. Fixes [Bug 2003310]; also makes "alt" theme
check/radiobuttons look like Windows 98, as intended.
* library/ttk/altTheme.tcl: Specify dark gray -bordercolor to soften
edges.
* tests/ttk/{checkbutton,radiobutton}.test: Split out of ttk.test.
2008-12-28 Donal K. Fellows <dkf@users.sf.net>
TIP #171 IMPLEMENTATION
* library/listbox.tcl, library/scrlbar.tcl, library/text.tcl: Adjust
users of the <MouseWheel> event to do the right thing horizontally as
well as vertically.
* win/tkWinX.c (GenerateXEvent): Redirect <MouseWheel> to the window
that contains the mouse.
* generic/tkEvent.c (InvokeFocusHandlers): Do not direct <MouseWheel>
through the focus mechanism.
*** POTENTIAL INCOMPATIBILITY *** for anyone counting on shift-wheel
to do something else (or nothing at all) or for the wheel events to be
following the keyboard on Win.
* generic/tkImgPNG.c (ReadIDAT): Corrected code to transfer blocks of
compressed data into the Tcl_ZlibStream. Allows the reading of all
images from PngSuite set. Thanks to Michael Kirkham for fix/testing.
TIP #244 IMPLEMENTATION
* generic/tkImgPNG.c, tests/imgPNG.test, doc/photo.n: Adaptation of
tkpng to the Tk core, proving support for PNG image reading and
writing, based on Tcl's zlib support.
2008-12-27 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkTreeview.c: Fix inconsistent use of treeArea /
headingArea; fixes [Bug 2381555]. ([$tv identify] didn't work when
horizontally scrolled).
2008-12-21 Donal K. Fellows <dkf@users.sf.net>
* doc/canvas.n (postscript): Regularized documentation of -channel
option.
2008-12-19 Don Porter <dgp@users.sourceforge.net>
*** 8.6b1 TAGGED FOR RELEASE ***
* changes: Updates for 8.6b1 release.
* tests/clrpick.test: Eliminate duplicate test names.
* tests/embed.test:
* tests/text.test:
* tests/textMark.test:
* README: Bump version number to 8.6b1
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2008-12-18 Don Porter <dgp@users.sourceforge.net>
* library/msgs/de.msg: Updated German messages. Thanks to Ruediger
Haertel. [Patch 2442309].
2008-12-17 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: VOID --> void
* unix/tkUnixPort.h:
* macosx/tkMacOSXPort.h:
2008-12-17 Donal K. Fellows <dkf@users.sf.net>
* doc/selection.n: Assorted small fixes. [Bugs 2441817,2441884]
2008-12-16 Jan Nijtmans <nijtmans@users.sf.net>
* win/tkWinDialog.c: Remove unused variables
2008-12-15 Don Porter <dgp@users.sourceforge.net>
TIP #338 IMPLEMENTATION
* doc/Tk_Main.c: Removed the last two '#include "tclInt.h"'.
* generic/tkMain.c: Tk is now limited to Tcl's public interface.
* macosx/tkMacOSXInit.c:
2008-12-12 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/demos/fontchoose.tcl: Simple fontchooser demo.
* library/demos/widget:
2008-12-11 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk3d.c: Make error message from Tk_GetRelief the same
as for Tk_GetReliefFromObj.
* tests/canvas.test: Adapt test cases for changed error message.
* tests/scrollbar.test
* tests/textTag.test
2008-12-11 Joe English <jenglish@users.sourceforge.net>
* library/demos/*.tcl: Omit contraindicated [package require Ttk].
Remove logic that switches [ttk::scrollbar]s to [tk::scrollbar]s
based on [tk windowingsystem]; this is already handled in
library/ttk/scrollbar.tcl.
2008-12-10 Daniel Steffen <das@users.sourceforge.net>
TIP #324 IMPLEMENTATION
* generic/tkCmds.c: Implementation of [tk fontchooser] as
* generic/tkInt.h: a Ttk dialog for X11 and as a native
* win/tkWinDialog.c: platform dialog on Mac OS X & Windows.
* win/tkWinInt.h: (thoyts, vetter, robert, steffen)
* win/tkWinTest.c: [Patch 1477426]
* win/tkWinX.c:
* macosx/tkMacOSXCarbonEvents.c:
* macosx/tkMacOSXDialog.c:
* macosx/tkMacOSXEvent.c:
* macosx/tkMacOSXEvent.h:
* macosx/tkMacOSXFont.c:
* macosx/tkMacOSXFont.h:
* macosx/Wish.xcodeproj/project.pbxproj:
* library/fontchooser.tcl (new):
* library/tclIndex:
* library/msgs/de.msg:
* library/msgs/en.msg:
* tests/fontchooser.test (new):
* tests/winDialog.test:
* doc/fontchooser.n (new):
* doc/tk.n:
* library/console.tcl: Let user select console font via
[tk fontchooser].
* library/demos/text.tcl: Add [tk fontchooser] demo.
* generic/tkUtil.c: Add TkBackgroundEvalObjv() and
TkSendVirtualEvent() utility functions
(used by TIP #324 code).
* generic/tkInt.h: Turn [tk] into an ensemble.
* generic/tkBusy.c: (thoyts, steffen)
* generic/tkCmds.c:
* generic/tkWindow.c:
* macosx/tkMacOSXInit.c (TkpInit): Unconditionally show Tk console if
TK_CONSOLE env var is set.
2008-12-09 Don Porter <dgp@users.sourceforge.net>
TIP #337 IMPLEMENTATION
* generic/tkBind.c: Updated callers of Tcl_BackgroundError() to
* generic/tkCanvas.c: use the new routine
* generic/tkEntry.c: Tcl_BackgroundException() as appropriate.
* generic/tkImgBmap.c:
* generic/tkListbox.c:
* generic/tkSelect.c:
* generic/tkTextDisp.c:
* generic/tkTextWind.c:
* macosx/tkMacOSXHLEvents.c:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXWindowEvent.c:
* unix/tkUnixScale.c:
* unix/tkUnixWm.c:
* win/tkWinButton.c:
* win/tkWinMenu.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c:
2008-12-07 Joe English <jenglish@users.sourceforge.net>
* macosx/ttkMacOSXTheme.c: Add native aqua elements for
ttk::spinbox [Bug 2219588]
* generic/ttk/ttkEntry.c, library/ttk/spinbox.tcl,
* tests/ttk/spinbox.test: Moved most spinbox "business logic" out of
ttkEntry.c into Tcl bindings.
* library/ttk/clamTheme.tcl: Minor spinbox appearance improvements.
* library/ttk/combobox.tcl, library/ttk/utils.tcl:
Factor out ttk::bindMouseWheel procedure.
* library/ttk/spinbox.tcl: Add cross-platform MouseWheel bindings.
2008-12-06 Donal K. Fellows <dkf@users.sf.net>
TIP #197 IMPLEMENTATION
* generic/tkText.c (insertUnfocussedStrings, optionSpecs):
* generic/tkText.h (TkText, TkTextInsertUnfocussed):
* doc/text.n, tests/text.test:
Added definitions/tests/docs for "-insertunfocussed" field.
* generic/tkTextMark.c (TkTextInsertDisplayProc):
* generic/tkText.c (TextBlinkProc):
Added user-controlledrendering of insertion cursor when focus is not
in the text widget.
2008-12-05 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/ttk.tcl: Added vista theme to iron out the visual
* library/ttk/vistaTheme.tcl: differences between vista and XP.
* library/ttk/xpTheme.tcl:
* win/ttkWinXPTheme.c:
2008-12-05 Donal K. Fellows <dkf@users.sf.net>
* generic/tkCanvPs.c (Tk_PostscriptFont): Ensure that font sizes can
ever be negative; it triggers a really strange case that is definitely
not what is wanted. [Bug 2107938]
* library/mkpsenc.tcl: Corrected and improved generation of postscript
* library/prolog.ps: prolog. Removed prolog.ps, which wasn't used and
was misleading.
2008-12-04 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkInt.decls: Move 10 functions from tkText.h to
* generic/tkText.h: stub table [Feature Request 220906]
* generic/tkStubInit.c (regenerated)
* generic/tkIntDecls.h (regenerated)
2008-12-04 Donal K. Fellows <dkf@users.sf.net>
* doc/ttk_button.n, doc/ttk_checkbutton.n, doc/ttk_menubutton.n:
* doc/ttk_radiobutton.n: Added mention of the Toolbutton style to all
widgets that can sensibly make use of it.
2008-12-03 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkState.c, generic/ttk/ttkTheme.h,
* generic/ttk/ttkWidget.c, doc/ttk_widget.n:
Add new "hover" state (patch from Pat Thoyts; needed to support proper
visual feedback on Vista).
2008-11-29 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/altTheme.tcl: Use a styled frame around the popdown
* library/ttk/clamTheme.tcl: listbox so we can adjust the border
* library/ttk/classicTheme.tcl: for each theme as needed.
* library/ttk/combobox.tcl:
* library/ttk/defaults.tcl:
* library/ttk/winTheme.tcl:
* library/ttk/xpTheme.tcl:
* tests/ttk/combobox.test:
2008-11-28 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkCanvUtil.c: Millimeter patch. Fixes [1813597,2218964]
* generic/tkInt.h: by eliminating the functional redundancy
* generic/tkObj.c: and unnecessary loss of precision of the
* generic/tkText.c: {pixel,mm}ObjType tandem.
2008-11-27 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkCanvLine.c: Replace Tcl_SetResult(interp, NULL, ....)
* generic/tkEntry.c: calls with Tcl_ResetResult(interp)
* generic/tkMenu.c
* generic/tkOldConfig.c
* win/tkWinTest.c: Eliminate warning: unused variable 'tkwin'
2008-11-23 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkBind.c: [Bug 1389270]: event generate silently ignored
* generic/tkFocus.c: focus events. These can now be generated.
* generic/tkGrab.c:
* generic/tkInt.h:
* tests/bind.test: Fixed some locale dependencies in various
tests to reduce the noise on non-English windows systems.
2008-11-22 Donal K. Fellows <dkf@users.sf.net>
* library/demos/ctext.tcl: Extended to show off what you can do with
angled text; there is now a pie selector to change the orientation.
2008-11-22 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/combobox.tcl: [Bug 1939129,1991930]: combobox dropdown
was drawn behind topmost toplevels.
* generic/tkCanvText.c: Fixed up complaints from MSVC engendered
* generic/tkFont.c: by the last commit. In particular replaced
* win/tkWinDraw.c: round() which is a C99 function.
* win/tkWinFont.c:
2008-11-22 Donal K. Fellows <dkf@users.sf.net>
TIP #119 IMPLEMENTATION
* generic/tkCanvText.c: Added -angle configuration option to canvas
* generic/tkFont.c: text items. This required reengineering the
* library/prolog.ps: whole text rendering engine to be able to
* macosx/tkMacOSXFont.c: handle an angle! No change to any external
* unix/tkUnixFont.c: API. Note, this feature was originally
* unix/tkUnixRFont.c: approved for Tk 8.5, but it has proved much
* win/tkWinFont.c: harder to implement than originally
* generic/tkInt.h: estimated. [Patch 1611359]
* tests/canvText.test:
2008-11-22 Pat Thoyts <patthoyts@users.sourceforge.net>
* test/winDialog.test: Avoid some locale-dependent failures by using
* win/tkWinTest.c: id's or an english constraint. [Bug 2307837]
2008-11-19 Joe English <jenglish@users.sourceforge.net>
* doc/ttk_panedwindow.n: Remove inoperative text stating that slave
windows must be direct children of the master. [Bug 1824996]
2008-11-19 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkImgPhoto.c Minor simplification in fix for [Bug 2312027]
no need to malloc and copy photo type name
because it is a constant to begin with.
* generic/tkOldConfig.c Convert Tcl_SetResult(......, TCL_DYNAMIC) to
* mac/tkMacOSXWm.c Tcl_SetResult(......, TCL_VOLATILE), in
* unix/tkUnixWm.c preparation for TIP #340
* unix/tkUnixSend.c
* win/tkWinWm.c
2008-11-16 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkWidget.c: Widget self-destruction is not necessarily
an error. [Bug 2298720]
2008-11-16 Donal K. Fellows <dkf@users.sf.net>
* doc/wm.n: Added note about [wm overrideredirect] so that users will
avoid making unwarranted assumptions about how magical it is.
Triggered by [Bug 2282861] discussion.
2008-11-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tk.h: The TIP 125 implementation permits the
* generic/tkFrame.c: [wm manage] command to manage any widget but
* macosx/tkMacOSXWm.c: only those with Frame instance data should be
* unix/tkUnixWm.c: permitted. We now check for the suitability and
* win/tkWinWm.c: raise an error for non-frame widgets. Updated
* test/wm.test: the tests and documentation. See also [Bug
* doc/wm.n: 2239034]
2008-11-12 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkWidget.c: Reworked widget construction and
destruction sequence; fixes [Bug 2207435] and several other problems
discovered during investigation of same.
* generic/ttk/ttkButton.c (CheckbuttonInitialize): Account for
initializeProc being called earlier in the construction sequence now.
* tests/ttk/ttk.test: Updated test suite.
2008-11-12 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/text.tcl: Handle windows with funky names by avoiding use of
* test/text.test: the window path for anchors. [Bug 1777362]
2008-11-11 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkImgPhoto.c Fix [Bug 2265860] new test failures
2008-11-11 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkWidget.c(BeginDrawing): Don't crash when application
uses nondefault visual. [Bug 2264732]
2008-11-11 Jan Nijtmans <nijtmans@users.sf.net>
* win/tcl.m4: Reverted change from 2008-11-06 (was under the
impression that "-Wno-implicit-int" added an extra
warning)
* win/configure (regenerated)
* unix/tcl.m4: Use -O2 as gcc optimization compiler flag, and get
rid of -Wno-implicit-int for UNIX
* unix/configure (regenerated)
* generic/tk.decls Modify Tk_Create(Old)ImageType signature,
* generic/tk.h relaxing the constraint that every Tk_ImageType
* generic/tkImage.c can only be passed to this function once. This
* generic/tkImgBmap.c lets tkImg be loaded in multiple interpreters
* generic/tkImgPhoto.c in a thread-enabled build of Tk. [Bug 2312027]
* generic/tkTest.c This CONSTification complies with TIP #27. It
* doc/CrtImgType.3 is binary compatible with the old interface,
but not fully source compatible (although tkImg
does not suffer).
* generic/tkDecls.h (regenerated)
*** POTENTIAL INCOMPATIBILITY ***
2008-11-09 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkWidget.c: Remove unnecessary casts.
* generic/ttk/ttkWidget.h, generic/ttk/ttkWidget.c: Ttk widget
initializeProc()s now return void instead of a status code, and are no
longer allowed to fail. (Fix for [Bug 2207435] in progress).
* generic/ttk/ttkButton.c, generic/ttk/ttkEntry.c,
* generic/ttk/ttkFrame.c, generic/ttk/ttkNotebook.c,
* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c,
* generic/ttk/ttkScale.c, generic/ttk/ttkScrollbar.c,
* generic/ttk/ttkTreeview.c: Adjustments for the above.
2008-11-09 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkCanvas.c: Make all Tk_CustomOption tables const and
* generic/tkCanvBmap.c: remove unnecessary type cast.
* generic/tkCanvImg.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkRectOval.c:
* generic/tkScrollbar.c:
* generic/tk.decls: Two more (hopefully the last) signature
* generic/tkInt.h: changes in Tk_CreateSmoothMethod and
* generic/tkCanvLine.c: Tk_CreatePhotoImageFormat
* generic/tkCanvUtil.c:
* generic/tkImgPhoto.c:
* generic/tkDecls.h: (regenerated)
* doc/CrtImgType.3: doc updates
* doc/CrtPhImgFmt.3:
2008-11-06 Jan Nijtmans <nijtmans@users.sf.net>
* win/tcl.m4: Add "-Wno-implicit-int" flag for gcc, as on UNIX
* win/configure: (regenerated)
* generic/default.h: Use tkUnixDefault.h under CygWin. With this
change, at least the X11 version of Tk can be
built with cygwin.
2008-11-06 Donal K. Fellows <dkf@users.sf.net>
* unix/configure.in: Work around the fact that the HP-UX system
compiler cannot handle 'inline'. [Bug 2229999]
2008-11-05 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tkUnixFont.c: Fix [Bug 2226093] const changes not all correct
* unix/tkUnixButton.c: More internal -Wwrite-strings warning fixes
* unix/tkUnixCursor.c:
* unix/tkUnixSend.c:
* unix/tkUnixRFont.c:
* generic/tkInt.h: No need to use CONST in internal header files
* generic/tkFont.h
* generic/tkInt.decls: CONSTify string and fileName parameters of
* generic/tkImgBmap.c: TkGetBitmapData
* generic/tkBitmap.c: Remove unneccessary type cast
* generic/tkIntDecls.h: (regenerated)
* doc/GetCursor.3: Fix documentation about obsolete X10 bitmaps
* doc/GetBitmap.3: [Bug 1866774] Remove X10 references from docs
2008-11-03 Jan Nijtmans <nijtmans@users.sf.net>
* generic/ttk/ttkEntry.c: Fix warning: unused variable `currentValue'
* generic/tkOldTest.c: Fix warning: assignment discards qualifiers
* win/tkWinTest.c: from pointer target type
2008-11-03 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/winClipboard.test: testclipboard no longer returns strings
with embedded \r but now returns Tcl strings
* tests/winfo.test: Fixed embedding test broken during upgrade
* tests/busy.test: Default wait cursor on windows is 'wait'
* win/tkWinFont.c: const fixes for the windows code.
2008-11-02 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkFont.h: More internal -Wwrite-strings warning fixes
* generic/tkFont.c
* generic/ttk/ttkTheme.h
* generic/ttk/ttkDefaultTheme.c
* generic/ttk/ttkState.c
* macosx/tkMacOSXFont.c
* unix/tkUnixFont.c
* win/tkWinFont.c
2008-11-01 Donal K. Fellows <dkf@users.sf.net>
TIP #97 IMPLEMENTATION
* generic/tkCanvas.c (CanvasWidgetCmd): Implementation of the 'imove'
and 'rchars' subcommands.
* generic/tk.h (TK_MOVABLE_POINTS): New flag to allow items to state
whether they support finding and moving individual coordinates.
* doc/canvas.n, tests/canvas.test: Docs 'n' tests.
2008-11-01 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/ttk/ttkEntry.c: Implemented the themed spinbox
* library/ttk/altTheme.tcl: widget.
* library/ttk/clamTheme.tcl:
* library/ttk/classicTheme.tcl:
* library/ttk/defaults.tcl:
* library/ttk/entry.tcl:
* library/ttk/ttk.tcl:
* library/ttk/winTheme.tcl:
* library/ttk/xpTheme.tcl:
* library/ttk/spinbox.tcl:
* win/ttkWinTheme.c:
* win/ttkWinXPTheme.c:
* doc/ttk_spinbox.n:
* tests/ttk/spinbox.test:
2008-10-31 Joe English <jenglish@users.sourceforge.net>
* generic/widget.c: Temporary workaround for [Bug 2207435]
2008-10-30 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkAtom.c: more internal -Wwrite-strings warning fixes
* generic/tkBusy.c
* generic/tkButton.c
* generic/tkCanvPoly.c
* generic/tkCanvText.c
* generic/tkCmds.c
* generic/tkListbox.c
* generic/tkMenu.c
* generic/tkOldConfig.c
* generic/tkOption.c
* generic/tkPanedWindow.c
* generic/tkPlace.c
* generic/tkScale.c
* generic/tkTest.c
* generic/tkText.c
* generic/tkTextImage.c
2008-10-30 Don Porter <dgp@users.sourceforge.net>
* tests/unixSelect.test: Revise the unixSelect-1.* tests so that
they test the ability of Tk's selection mechanism to faithfully pass
valid Tcl values without corruption, and stop testing details of
Tcl's internal encoding scheme. With this change, the Tk test suite
no longer uses the identity encoding or [string bytelength].
2008-10-30 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: CONSTify return value of
* generic/tkInt.h Tk_OptionPrintProc, and customPtr
* generic/tk.decls field of Tk_ConfigSpec.
* generic/tkCanvArc.c See [Bug 2190619]: Warnings due to
* generic/tkCanvLine.c Tk_SmoothMethod name constness change
* generic/tkCanvUtil.c
* generic/tkUtil.c
* generic/tkDecls.h: (regenerated)
2008-10-29 Joe English <jenglish@users.sourceforge.net>
* generic/tkAtom.c(Tk_GetAtomName): Remove incorrect 'const' qualifier.
Remove useless 'register' declarations too, while we're at it.
2008-10-28 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: Add "const" to a few struct member fields.
* generic/tkInt.h: CONSTify TkPrintPadAmount
* generic/tkSelect.h: Move TkSelGetSelection to tkInt.decls
* generic/tk.decls: CONSTify Tk_ParseArgv
* generic/tkInt.decls: CONSTify TkCreateFrame and TkCreateMainWindow
* generic/tkDecls.h: (regenerated)
* generic/tkIntDecls.h: (regenerated)
* generic/tkArgv.c:
* generic/tkAtom.c:
* generic/tkEntry.c:
* generic/tkFrame.c:
* generic/tkImgPhoto.c:
* generic/tkPack.c:
* generic/tkSelect.c:
* generic/tkVisual.c:
* generic/tkWindow.c:
* win/tkWinTest.c: Fix compilation under mingw32
2008-10-28 Joe English <jenglish@users.sourceforge.net>
* library/ttk/cursors.tcl, library/ttk/combobox.tcl,
library/ttk/entry.tcl, library/ttk/paned.tcl, library/ttk/sizegrip.tcl,
library/treeview.tcl:
Add correct platform-specific cursors for OSX [Bug 2054562]
Expanded set of symbolic cursors. Use correct cursor for
ttk::entry and ttk::combobox widgets [Bug 1534835]
2008-10-28 Don Porter <dgp@users.sourceforge.net>
* win/tkWinTest.c: Revise [testclipboard] to form that
* tests/winClipboard.test: handles encodings. [Bug 2191960]
* tests/constraints.tcl: [tcltest::bytestring] no longer used.
2008-10-24 Joe English <jenglish@users.sourceforge.net>
* tests/ttk/ttk.test: Disable test ttk-6.3, it's not applicable. [Bug
2175411]
* generic/ttk/ttkTheme.c: Use different Tcl_AssocData key so the tile
extension can be loaded into an 8.6 interp, in the off-chance that
anyone wants to do this.
2008-10-24 Donal K. Fellows <dkf@users.sf.net>
* generic/tkCanvUtil.c (TkSmoothPrintProc): Corrected 'const'ness to
quell warning. [Bug 2190619]
2008-10-23 Don Porter <dgp@users.sourceforge.net>
* README: Bump version number to 8.6a4
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2008-10-22 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: CONST -> const and white-spacing
* generic/tk.decls
* generic/tkInt.decls
* generic/tkDecls.h: (regenerated)
* generic/tkIntDecls.h: (regenerated)
* generic/tkIntPlatDecls.h: (regenerated)
* generic/tkIntXlibDecls.h: (regenerated)
* generic/tkPlatDecls.h: (regenerated)
* generic/ttk/tk.decls
* generic/ttk/ttkDecls.h (regenerated)
* generic/ttk/ttkGenStubs.tcl
2008-10-20 Donal K. Fellows <dkf@users.sf.net>
* generic/tkBusy.c, macosx/tkMacOSXEmbed.c, unix/tkUnixEmbed.c:
* win/tkWinWindow.c: Factor out the platform-specific parts into the
platform directories. [Bug 2180919]
2008-10-18 Donal K. Fellows <dkf@users.sf.net>
TIP #321 IMPLEMENTATION
* generic/tkBusy.c, doc/busy.n, tests/busy.test: Implementation of the
[tk busy] command. [Patch 1997907]
2008-10-18 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinFont.c: [Bug 1825353] To fix a problem with tiny fonts on
Russian versions of Windows we will avoid removing the internal
leading for fixed width fonts.
2008-10-15 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: Add "const" to many internal const tables, so
* generic/tkBind.c: those will be put by the C-compiler in the
* generic/tkButton.c: TEXT segment instead of the DATA segment.
* generic/tkCanvas.c: This makes those tables as being shareable in
* generic/tkClipboard.c: shared libraries.
* generic/tkCmds.c:
* generic/tkConsole.c:
* generic/tkEntry.c:
* generic/tkFocus.c:
* generic/tkFrame.c:
* generic/tkGet.c:
* generic/tkGrab.c:
* generic/tkGrid.c:
* generic/tkImage.c:
* generic/tkImgBmap.c:
* generic/tkImgGIF.c:
* generic/tkImgPhoto.c:
* generic/tkListbox.c:
* generic/tkMenu.c:
* generic/tkMenu.h:
* generic/tkMenubutton.c:
* generic/tkMessage.c:
* generic/tkOption.c:
* generic/tkPack.c:
* generic/tkPanedWindow.c:
* generic/tkPlace.c:
* generic/tkScale.c:
* generic/tkSelect.c:
* generic/tkSquare.c:
* generic/tkTest.c:
* generic/tkText.c:
* generic/tkTextDisp.c:
* generic/tkTextMark.c:
* generic/tkTextTag.c:
* generic/tkTextWind.c:
* macosx/tkMacOSXDialog.c:
* macosx/tkMacOSXSend.c:
* macosx/tkMacOSXWin.c:
* unix/tkUnixFont.c:
* unix/tkUnixWm.c:
* win/tkWinButton.c:
* win/tkWinColor.c:
* win/tkWinDialog.c:
* win/tkWinMenu.c:
* win/tkWinSend.c:
* win/tkWinWm.c:
* xlib/xcolors.c:
2008-10-17 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/scale.tcl: Implemented keyboard bindings for ttk::scale
2008-10-15 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tkInt.h: Add "const" to many internal const tables, so
* generic/tk3d.c: those will be put by the C-compiler in the
* generic/tkBitmap.c: TEXT segment instead of the DATA segment.
* generic/tkColor.c: This makes those tables as being shareable in
* generic/tkConfig.c: shared libraries.
* generic/tkCursor.c:
* generic/tkFont.c:
* generic/tkObj.c:
* generic/tkStyle.c:
* generic/tkTextIndex.c:
* generic/tkUtil.c:
2008-10-14 Donal K. Fellows <dkf@users.sf.net>
* generic/tkObj.c (TkNewWindowObj): Added utility function for making
a Tcl_Obj from a Tk_Window reference. Candidate for future exposure to
third-party code I suppose, but useful internal to Tk for sure.
2008-10-11 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* generic/tkCanvas.c (CanvasWidgetCmd): Corrected result generation.
2008-10-10 Don Porter <dgp@users.sourceforge.net>
*** 8.6a3 TAGGED FOR RELEASE ***
* changes: Updates for 8.6a3 release.
2008-10-09 Don Porter <dgp@users.sourceforge.net>
* generic/tkListbox.c: Make literal return values consistent with
those generated by Tcl_PrintDouble().
* tests/entry.test: Restore test naming consistency with Tk 8.5.
* tests/listbox.test: Remove some more dependency on precision in
* tests/spinbox.test: test results.
2008-10-08 Jan Nijtmans <nijtmans@users.sf.net>
* unix/tcl.m4: Fix for bug [2073255]
* unix/configure: regenerated
2008-10-08 Don Porter <dgp@users.sourceforge.net>
* tests/textDisp.test (textDisp-16.34): Update test that tested string
equality of double values based on an assumption of tcl_precision==12.
Test now does its own formatting.
* tests/scrollbar.test: Revised testing of the cget subcommand so that
it tests consistency with the configure subcommand and not agreement
with a hardcoded value that will change as tastes in GUIs evolve.
* tests/canvText.test (canvText-17.1): Update expected result to match
revised PostScript output due to more predictable formatting of
floating point values.
* unix/tkUnixWm.c: Restored consistency of error messages from
* macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across
* tests/unixWm.test: all platforms. [Bug 2021443]
2008-10-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/canvImg.test: Removed dependency on precision in results
* tests/canvRect.test:
* tests/canvText.test:
* tests/entry.test:
* tests/listbox.test:
* tests/scrollbar.test:
* tests/spinbox.test:
* tests/winWm.test: Fixed incorrect error strings
* tests/wm.test:
2008-10-06 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/winDialog.test: Fixed tests for Vista+
* win/tkWinWm.c: corrected some errors from the previous commit
2008-10-05 Donal K. Fellows <dkf@users.sf.net>
* win/tkWinWm.c (WmAttributesCmd, WmOverrideredirectCmd)
(WmStackorderCmd):
* win/tkWinSendCom.c (Async):
* win/tkWinSend.c (Tk_SendObjCmd):
* win/tkWinFont.c (TkpGetFontFamilies, TkpGetSubFonts):
* unix/tkUnixWm.c (WmOverrideredirectCmd, WmStackorderCmd):
* unix/tkUnixFont.c (TkpGetFontFamilies, TkpGetSubFonts):
* macosx/tkMacOSXWm.c (WmOverrideredirectCmd, WmStackorderCmd):
* generic/tkTextIndex.c (SetTextIndexFromAny):
* generic/tkTest.c (TrivialConfigObjCmd):
* generic/tkSelect.c (HandleTclCommand):
* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd)
(PanedWindowSashCommand, PanedWindowProxyCommand):
* generic/tkMenubutton.c (Tk_MenubuttonObjCmd):
* generic/tkMenu.c (MenuWidgetObjCmd):
* generic/tkListbox.c (ListboxWidgetObjCmd):
* generic/tkImgPhoto.c (ImgPhotoCmd): (mostly)
* generic/tkImage.c (Tk_ImageObjCmd):
* generic/tkFont.c (Tk_FontObjCmd, GetAttributeInfoObj):
* generic/tkEntry.c (EntryWidgetObjCmd, SpinboxWidgetObjCmd):
* generic/tkConfig.c (SetOptionFromAny, Tk_SetOptions):
* generic/tkCmds.c (Tk_TkObjCmd, Tk_WinfoObjCmd, TkGetDisplayOf):
* generic/tkButton.c (ButtonCreate): Get rid of code that insists on
non-idiomatically writing to the object in the interpreter result.
2008-10-03 Donal K. Fellows <dkf@users.sf.net>
* generic/tkArgv.c, generic/tkCanvText.c, generic/tkEntry.c:
* generic/tkListbox.c, generic/tkScrollbar.c, macosx/tkMacOSXScrlbr.c:
* win/tkWinScrlbr.c: Convert use of %g to Tcl_PrintDouble to create
string versions of floats so as to avoid trouble with some locales.
[Bug 2112563]
2008-10-02 Joe Mistachkin <joe@mistachkin.com>
* doc/canvas.n: Fix unmatched font change.
* win/buildall.vc.bat: Prefer the HtmlHelp target over the WinHelp
target.
2008-10-01 Donal K. Fellows <dkf@users.sf.net>
TIP #236 IMPLEMENTATION
* doc/canvas.n, generic/tkCanvas.c (CanvasWidgetCmd)
* tests/canvMoveto.test: Added 'moveto' subcommand to canvases to
allow items to be easily moved to a particular place.
2008-09-23 Donal K. Fellows <dkf@users.sf.net>
* doc/listbox.n (SEE ALSO): Redirected this to ttk::treeview(n) which
is far more useful (it does multicolumn listbox duties). [Bug 2123813]
* doc/*.n: Make sure that the initial line of the manpage includes
nothing that chokes old versions of man. [Bug 2118116]
2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net>
* library/menu.tcl: Additional fix for [Bug 1023955]
2008-09-08 Todd M. Helfter <tmh@users.sourceforge.net>
* doc/menu.n: Fix typo in docs. [Bug 2098425]
2008-09-03 Don Porter <dgp@users.sourceforge.net>
* generic/tk.h: Dropped use of _ANSI_ARGS_ macro to preserve
* generic/tkSelect.h: Tk's TCL_NO_DEPRECATED build.
2008-08-30 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/textWind.test: Update to tcltest2
* tests/unixSelect.test:
* tests/visual_bb.test:
* tests/visual.test:
* tests/window.test:
* tests/winfo.test:
* tests/xmfbox.test:
* tests/winButton.test:
* tests/winDialog.test:
* tests/winFont.test:
* tests/winMenu.test:
* tests/winMsbox.test:
* tests/winWm.test:
2008-08-28 Don Porter <dgp@users.sourceforge.net>
* unix/tkConfig.sh.in: Added @XFT_LIBS@ to the definition of TK_LIBS
to avoid link failures when a "big wish" program links against a
--disable-shared build of libtk. (Discovered building expectTk.)
* generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so that
we don't create new dependencies on Tcl internals.
* unix/tkUnixPort.h: Removed #include of tclInt.h that has been
* win/tkWinPort.h: disabled for three years. If we needed this
we'd have noticed by now.
* README: Bump version number to 8.6a3
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2008-08-28 Donal K. Fellows <dkf@users.sf.net>
* tests/imgPhoto.test: Fix failures. [Bug 2080587]
2008-08-28 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/option.test: Update to tcltest2
* tests/place.test:
* tests/scale.test:
* tests/select.test:
* tests/textBTree.test:
* tests/textImage.test:
* tests/textMark.test:
* tests/textTag.test:
* tests/unixMenu.test:
2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net>
* library/menu.tcl: Fix typo from [Bug 1023955]
2008-08-27 Peter Spjuth <peter.spjuth@gmail.com>
* tests/grid.test: Added a "knownBug"-marked test to show a problem
identified in the grid implementation. [Bug 2075285]
2008-08-26 Donal K. Fellows <dkf@users.sf.net>
* tests/imgPhoto.test: More style improvements.
2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net>
* library/menu.tcl: Do not flip to the arrow cursor on menus. This was
a Motif convention. Current behavior is maintained iff tk_strictMotif
is enabled. [Bug 1023955]
2008-08-25 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPhoto.c (ImgPhotoConfigureMaster): Ensure that uses of
TclStackAlloc and TclStackFree balance.
2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net>
* library/tkfbox.tcl: Fix the multiple selection error for
tk_getOpenFile -multiple 1 which fails on all unix platforms since the
adoption of ttk widgets. [Bug 1936220]
2008-08-25 Donal K. Fellows <dkf@users.sf.net>
* generic/tkImgPhoto.c: Split the implementation of the core of
* generic/tkImgPhoto.h: photo images into two pieces, the photo
* generic/tkImgPhInstance.c: master (which manages the data model and
the interaction with the script level) and the photo instances (which
handle display).
2008-08-22 Don Porter <dgp@users.sourceforge.net>
*** 8.6a2 TAGGED FOR RELEASE ***
* changes: Updates for 8.6a2 release.
2008-08-21 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/menuDraw.test: Update to tcltest2
* tests/msgbox.test:
* tests/oldpack.test:
* tests/pack.test:
* tests/panedwindow.test:
2008-08-21 Donal K. Fellows <dkf@users.sf.net>
* generic/tkOption.c (ExtendArray): Rework so that the code uses
ckrealloc (idiomatically) rather than its home-brewed version.
2008-08-19 George Peter Staplin <georgeps@users.sourceforge.net>
After some discussion with Joe English and subsequently the X.org
developers (Keith Packard in particular), it was discovered that Tk is
doing management of XIDs that it shouldn't need to do. The very common
XC-MISC extension which has come with every version of X for the last
15 years is used with Xlib now, to retrieve the information about the
used/unused XIDs. The public Tk_FreeXId is now a no-op. [Bug 2039720]
* generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted.
* generic/tkInt.decls: Update the declarations for the now unused
internal stubs.
* generic/tkIntDecls.h: Regenerated based on tkInt.decls.
* generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls.
* generic/tkStubInit.c
* generic/tkWindow.c: Remove the calls to TkInitXId, and
TkFreeWindowId.
* macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro
definitions.
* macosx/tkMacOSXXStubs.c: Remove the no-op
TkpWindowWasRecentlyDeleted.
* unix/tkUnixEvent.c: Remove call to TkFreeXId.
* unix/tkUnixXId.c: Remove a lot of unnecessary code (see above).
* win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId.
* win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
* tests/id.test: Remove this unnecessary test.
2008-08-19 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floating
point numbers in -[xy]scrollcommand callbacks or [xy]view methods.
Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0".
* tests/ttk/entry.test, tests/ttk/treeview.test: Updated to account
for above change.
2008-08-19 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXFont.c (SetFontFeatures): Disable antialiasing of
fixed-width fonts with
size <= 10.
2008-08-18 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/canvWind.test: Update to tcltest2
* tests/menubut.test:
* tests/raise.test:
* tests/unixButton.test:
* tests/unixEmbed.test:
* tests/winClipboard.test:
2008-08-17 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/focus.test: Update to tcltest2
* tests/focusTcl.test:
* tests/geometry.test:
* tests/grab.test:
* tests/grid.test:
* tests/imgBmap.test:
* tests/imgPhoto.test:
* tests/imgPPM.test:
* tests/listbox.test:
* tests/safe.test:
* tests/tk.test:
* tests/util.test:
2008-08-15 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/clrpick.test: Update to tcltest2
* tests/frame.test:
* tests/font.test:
* tests/image.test:
2008-08-14 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/event.test: Update to tcltest2
* tests/id.test:
* tests/menu.test:
2008-08-14 Daniel Steffen <das@users.sourceforge.net>
* unix/tcl.m4 (SC_PATH_X): Check for libX11.dylib in addition to
libX11.so et al.
* unix/configure: autoconf-2.59
2008-08-12 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/choosedir.test: Update to tcltest2
* tests/clipboard.test:
* tests/embed.test:
* tests/main.test:
2008-08-12 Don Porter <dgp@users.sourceforge.net>
* README: Bump version number to 8.6a2
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
* changes: Updates for 8.6a2 release.
2008-08-11 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/canvImg.test: Update to tcltest2
* tests/canvRect.test:
* tests/canvText.test:
* tests/obj.test:
2008-08-07 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/canvPs.test: Update to tcltest2
* tests/config.test:
* tests/canvas.test:
2008-08-05 Joe English <jenglish@users.sourceforge.net>
* generic/tk.h, generic/tkEvent.c: Fix for [Bug 2010422] "no event
type or button # or keysym while executing "bind Listbox
<MouseWheel> [...]".
2008-08-03 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/cmds.test: Update to tcltest2
* tests/dialog.test:
* tests/get.test:
* tests/text.test: Update to tcltest2; report: 33.11 fails
2008-08-01 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinWm.c: Check wmPtr is valid in TopLevelReqProc to fix
* tests/wm.test: [Bug 2028703]
2008-07-31 Don Porter <dgp@users.sourceforge.net>
* generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheck
declaration to fix inability to embed non-stub-enabled Tk on Windows.
2008-07-29 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/constraints.tcl: -highlightthickness entry's option (fonts
constraint)
2008-07-28 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/cursor.test: Update to tcltest2
* tests/message.test:
2008-07-26 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/options.n: Direct to the font manual for -font. [Bug 1686012]
* tests/constraints.tcl: Add a nonwin contraint.
* tests/listbox.test: Conform to testing policy. [Bug 2024753]
* win/tkWinWm.c: Check that the parent has been mapped before
* tests/wm.test: calling RemapWindows. [Bug 2009788]
* win/tkWinWindow.c: Check for 0x prefix in sprintf %p. Bug [2026405]
2008-07-25 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/bind.test: Update to tcltest2
2008-07-24 Jan Nijtmans <nijtmans@users.sf.net>
* generic/*.c: Fix inconsistant "wrong # args" messages. [Bug 2021443]
* macosx/tkMacOSXSend.c
* macosx/tkMacOSXWm.c
* unix/tkUnixSend.c
* unix/tkUnixWm.c
* tests/*.test
2008-07-22 Ania Pawelczyk <aniap@users.sourceforge.net>
* tests/bell.test: Update to tcltest2
* tests/bgerror.test:
* tests/bitmap.test:
* tests/border.test:
* tests/button.test:
* tests/entry.test:
* tests/spinbox.test:
2008-07-22 Daniel Steffen <das@users.sourceforge.net>
* library/ttk/aquaTheme.tcl: Use system color names and TIP145 named
font instead of hardcoded color values and deprecated native font name
* macosx/tkMacOSXHLEvents.c: Factor out common code; formatting.
2008-07-08 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/*.n: Fixed broken line endings from last doc commit.
2008-07-04 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkDefaultTheme.c, generic/ttk/ttkClamTheme.c,
* generic/ttk/ttkClassicTheme.c, generic/ttk/ttkElements.c: Audit:
ensure that output arguments to Tk_Get*FromObj() are initialized, in
case of erroneous style specifications. [Bug 2009213]
2008-07-02 Donal K. Fellows <dkf@users.sf.net>
* macosx/tkMacOSXHLEvents.c: Some tidying up of this file. Make sure
that failing handling callbacks get reported as background errors.
2008-06-30 Donal K. Fellows <dkf@users.sf.net>
* doc/*.1, doc/*.3, doc/*.n: Remove out of date changebars, make
formatting of typedefs consistent, other small changes.
2008-06-25 Don Porter <dgp@users.sourceforge.net>
*** 8.6a1 TAGGED FOR RELEASE ***
* changes: Updates for 8.6a1 release.
2008-06-24 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/demos/ttkpane.tcl: Work around missing timezones
* doc/text.n: Fix documentation of text tag options. [Bug 1997293]
2008-06-19 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.6a1 release.
* generic/tk.h: TIP 285 additions make Tk 8.6 call the new
* library/tk.tcl: Tcl_Canceled() routine, available only in Tcl
8.6, so bump our Tcl dependencies to version 8.6. Tk 8.6a1 will no
longer [load] into a Tcl 8.5 interp.
* README: Bump version number to 8.6a1
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2008-06-18 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXCarbonEvents.c: Fix debug carbon event tracing.
(InstallStandardApplicationEventHandler): Replace needless use of
TkMacOSXInitNamedDebugSymbol() by standard TkMacOSXInitNamedSymbol().
* macosx/tkMacOSXDebug.c: Revert 2007-11-09 commit making
* macosx/tkMacOSXDebug.h: TkMacOSXInitNamedDebugSymbol()
available outside of debug builds.
* macosx/tkMacOSXEmbed.c (TkpMakeWindow): Fix bug with missing
* macosx/tkMacOSXSubwindows.c (XMapWindow): focus on first map by
only sending VisibilityNotify events once windows are mapped (rather
than when they are created).
* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessWindowEvent): Fix
return value.
* macosx/tkMacOSXInit.c: Add helper to efficiently convert from
* macosx/tkMacOSXPrivate.h: CFString to Tcl_Obj.
* macosx/tkMacOSXFont.c (TkpGetFontFromAttributes, InitFont): Fix
incorrect conversion to points of font sizes already in points; factor
out retrieval of font family name from font family ID.
2008-06-13 Jeff Hobbs <jeffh@ActiveState.com>
* win/configure, win/configure.in (TK_WIN_VERSION): Fix handling of
interim a/b versioning for manifest usage.
2008-06-13 Joe Mistachkin <joe@mistachkin.com>
TIP #285 IMPLEMENTATION
* generic/tkCmds.c: During [tkwait] and [update], always cooperatively
check for script cancellation.
* win/makefile.vc: Added 'pdbs' option for Windows build rules to
* win/rules.vc: allow for non-debug builds with full symbols.
2008-06-12 Daniel Steffen <das@users.sourceforge.net>
* generic/tkPointer.c (Tk_UpdatePointer): Fix failure to restore a
global grab capture and to release the restrict window capture when
releasing a button grab. Fixes segfault due to dangling reference to
restrict window inside TkpSetCapture() implementation. [Bug 1991932]
* generic/ttk/ttkTreeview.c: Fix warning.
* unix/tcl.m4 (SunOS-5.11): Fix 64bit amd64 support with gcc & Sun cc.
* unix/configure: autoconf-2.59
* macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): Use UsrActivity
instead of OverallAct (which may be ignored in some circumstances).
* macosx/Wish.xcodeproj/project.pbxproj: Add tclIORTrans.c; add tclOO
* macosx/Wish.xcodeproj/default.pbxuser: files to tktest-X11 target;
add debug configs for 64bit and with corefoundation disabled; updates
and cleanup for Xcode 3.1 and for Leopard; sync with Tcl.xcodeproj.
* macosx/Wish.xcode/project.pbxproj: Sync Wish.xcodeproj changes.
* macosx/Wish.xcode/default.pbxuser:
* macosx/README: Document new build configs.
2008-06-10 Joe English <jenglish@users.sourceforge.net>
* unix/tkUnixKey.c: Use Xutf8LookupString if available. This should
fix problems (like [Bug 1908443]) where Xlib's idea of the system
encoding does not match Tcl's. [Patch 1986818]
2008-06-01 Daniel Steffen <das@users.sourceforge.net>
* macosx/Wish.xcodeproj/project.pbxproj: Add new tclOO files; add
* macosx/README: debug configs with gcov;
update to Xcode 3.1.
2008-05-27 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/ttk/ttkTheme.c: [ttk::style theme use] without an argument
* doc/ttk_style.n: now returns the current theme.
2008-05-23 Joe English <jenglish@users.sourceforge.net>
* doc/ttk_treeview.n, generic/ttk/ttkTreeview.c,
* generic/ttk/ttkTagSet.c, generic/ttk/ttkLayout.c,
* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h,
* generic/ttk/ttkThemeInt.h, generic/ttk/ttkWidget.h:
Added [$tv identify region], [$tv identify element], and [$tv identify
item] subcommands. Simplified bindings. Added [$tv tag has]
subcommand. Tag-related display improvements; setting a tag
-background or -foreground no longer overrides selection feedback.
* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl,
* library/ttk/clamTheme.tcl, library/ttk/classicTheme.tcl,
* library/ttk/defaults.tcl, library/ttk/treeview.tcl,
* library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl:
Don't need separate 'Item', 'Cell', and 'Row' style settings anymore,
only the base "Treeview" style is used.
2008-05-23 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkLabel.c: Avoid passing width or height <= 0 to
Tk_RedrawImage, as this leads to a panic on Windows. [Bug 1967576]
2008-05-16 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/xpTheme.tcl: Add correct border to combobox on Vista
2008-05-15 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: We should use the thread allocator for threaded
* win/rules.vc: builds. Added 'tclalloc' option to disable.
2008-05-14 Donal K. Fellows <dkf@users.sf.net>
* generic/tkPanedWindow.c (PanedWindowProxyCommand)
(DisplayPanedWindow): Ensure that a zero width never gets fed to the
underlying window system. [Bug 1639824]
2008-05-13 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/console.tcl: Support pixel sized font in +/- keybinding.
* tests/listbox.test: -activestyle default is underline on windows.
* tests/winDialog.test: Fixed hanging tk_chooseColor tests.
2008-05-11 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/tk.tcl: Support for ttk widgets in AmpWidget
* doc/button.n: Note negative widths for button. [Patch 1883418]
2008-05-09 Pat Thoyts <patthoyts@users.sourceforge.net>
* doc/ttk_*: 'identify' widget command is on all ttk widgets.
2008-05-04 Joe English <jenglish@users.sourceforge.net>
* macosx/ttkMacOSAquaTheme.c: "default" and "focus" adornments should
not be disjoint [Bug 1942785]
2008-04-27 Donal K. Fellows <dkf@users.sf.net>
* */*.c: A large tranche of getting rid of pre-C89-isms; if your
compiler doesn't support things like proper function declarations,
'void' and 'const', borrow a proper one when building Tcl. (The header
files allow building things that link against Tcl with really ancient
compilers still; the requirement is just when building Tcl itself.)
2008-04-25 Joe English <jenglish@users.sourceforge.net>
* library/ttk/treeview.tcl: BUGFIX: [$tv selection] takes a list of
items, not a single item. [Bug 1951733]
2008-04-20 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Include ws2_32 in the link list. [Bug 1900872]
* doc/menu.n: Minor change regarding the system menu. [Bug 1887169]
* doc/button.n: Minor clarification of button flash. [Bug 1926223]
2008-04-17 Donal K. Fellows <dkf@cspool38.cs.man.ac.uk>
* doc/text.n: Correct description of when -relief option is ignored on
a tag. Thanks to emiliano for spotting.
2008-04-17 Don Porter <dgp@users.sourceforge.net>
* generic/tkCanvas.c: Fix logic that determines when canvas item
<Enter> event should fire. Thanks to Sebastian Wangnick. [Bug 1327482]
2008-04-16 Daniel Steffen <das@users.sourceforge.net>
* generic/tkStubInit.c: Make stubs tables static const
* generic/tkWindow.c (Initialize): and export only a module-scope
pointer to to the main stubs table (for package init). [Patch 1938497]
2008-04-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/tkWinDialog.c: Fix [tk_chooseColor -title]. [Bug 1941740]
* win/tkWinTest.c: Added parent to testgetwininfo
* tests/winDialog.test: Created some tk_chooseColor win tests.
2008-04-09 Jan Nijtmans <nijtmans@users.sourceforge.net>
* generic/tkImgGIF.c: Let the GIF writer use a real LZW compressor.
2008-04-08 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/ttkWinXpTheme.c: Provide a visual-styles API element engine
* tests/ttk/vsapi.test: to permit scripts to create any available
* doc/ttk_vsapi.n: windows xp/vista element. Plus basic tests.
2008-04-08 Daniel Steffen <das@users.sourceforge.net>
* generic/tkDecls.h: make genstubs (genStubs.tcl changes).
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
2008-04-08 Kevin Kenny <kennykb@acm.org>
* tkWinEmbed.c: Removed #if 0 code. Trust the revision control
system, if you need it again, you can find it.
* tkWinSend.c: Added conditional compilation to silence several
compiler warnings.
2008-04-07 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkWindow.c (Initialize): Fix double-free on Tk_ParseArgv
* tests/main.test (main-3.*): error. [Bug 1937135]
* generic/tkArgv.c: Fix -help mem explosion. [Bug 1936238] (kenny)
2008-04-04 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/ttk/sizegrip.tcl: Don't resize if the toplevel is not
resizable or the sizegrip has been disabled.
2008-04-03 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Fixed stubs usage
* library/ttk/xpTheme.tcl: fix the colour of labelframe in xp
2008-04-02 Daniel Steffen <das@users.sourceforge.net>
* generic/tk.decls: Remove 'export' declarations of symbols now
only in libtkstub and no longer in libtk.
* generic/tkStubLib.c: Make symbols in libtkstub.a MODULE_SCOPE to
avoid exporting them from libraries that link
with -ltkstub; constify tk*StubsPtr and stub
table hook pointers. [Bug 1819422]
* generic/tkStubLib.c: Undef USE_TCL_STUBS before defining it
* generic/ttk/ttkStubLib.c: unconditionally; remove needless #ifdef
* generic/tkDecls.h: make genstubs
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
* generic/tkStubInit.c:
* unix/configure.in (Darwin): Remove now unnecessary unexporting of
libtclstub symbols from libtk.
* unix/configure: autoconf-2.59
2008-04-01 Don Porter <dgp@users.sourceforge.net>
* generic/tkStubLib.c (Tk_InitStubs): Added missing error
* generic/tkWindow.c (Tk_PkgInitStubsCheck): message and removed
needless #ifdef complexity.
* generic/tkWindow.c: Revised package initialization so that
* unix/Makefile.in: "tkStubsPtr" is not present in libtk.so, but
* win/Makefile.in: is present only in libtkstub.a. This tightens
* win/makefile.bc: up the rules for users of the stubs interfaces
* win/makefile.vc: [Tcl Bug 1819422]
* README: Bump version number to 8.6a0
* generic/tk.h:
* library/tk.tcl:
* macosx/Wish-Common.xcconfig:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/configure.in:
* win/tcl.m4:
* unix/configure: autoconf-2.59
* win/configure:
* generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6
* generic/tkMain.c: might [load] into a Tcl 8.5 interp.
* generic/tkWindow.c:
* generic/tkDecls.h: make genstubs
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
2008-03-28 Don Porter <dgp@users.sourceforge.net>
*** 8.5.2 TAGGED FOR RELEASE ***
* README: Bump to 8.5.2 for release.
* generic/tk.h:
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
* changes: Updates for 8.5.2 release.
2008-03-27 Jeff Hobbs <jeffh@ActiveState.com>
* library/safetk.tcl (::safe::tkInterpInit): Make sure tk_library and
its subdirs (eg, ttk) are on the "safe" access path.
2008-03-27 Daniel Steffen <das@users.sourceforge.net>
* unix/tcl.m4 (SunOS-5.1x): Fix 64bit support for Sun cc. [Bug
1921166]
* unix/configure: autoconf-2.59
2008-03-27 Daniel Steffen <das@users.sourceforge.net>
* generic/ttk/ttkStubLib.c: Ensure tcl stubs are used in libtkstub
even in a static build of Tk.
* generic/ttk/ttkDecls.h: Fix incorrect number of arguments in
Ttk_InitStubs macro definition.
2008-03-26 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.5.2 release.
* unix/tkUnixCursor.c: Stop crash in [. configure -cursor] on X11.
Thanks to emiliano gavilan. [Bug 1922466]
2008-03-26 Joe English <jenglish@users.sourceforge.net>
* generic/tkInt.h, generic/tkEvent.c, unix/tkUnixEvent.c,
* unix/tkUnixKey.c: XIM reorganization and cleanup; see
[Patch 1919791] for details.
2008-03-21 Joe English <jenglish@users.sourceforge.net>
* generic/tk.decls, generic/ttk/ttkStubLib.c, unix/Makefile.in: Keep
ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030]
2008-03-20 Donal K. Fellows <dkf@users.sf.net>
* tests/wm.test: Rewrote so that tests clean up after themselves
rather than leaving that to the following test. Makes it easier to
catch problems where they originate. Inspired by [Bug 1852338]
2008-03-19 Donal K. Fellows <dkf@users.sf.net>
* doc/GetClrmap.3: Documented Tk_PreserveColormap. [Bug 220809]
2008-03-17 Joe English <jenglish@users.sourceforge.net>
* unix/Makefile.in, win/Makefile.in, win/makefile.vc: Put ttkStubLib.o
in libtkstub instead of libtk. [Bug 1863007]
2008-03-16 Donal K. Fellows <dkf@users.sf.net>
* library/demos/goldberg.tcl: Made work when run twice in the same
session. [Bug 1899664] Also made the control panel use Ttk widgets.
2008-03-13 Daniel Steffen <das@users.sourceforge.net>
* unix/configure.in: Use backslash-quoting instead of double-quoting
* unix/tcl.m4: for lib paths in tkConfig.sh. [Bug 1913622]
* unix/configure: autoconf-2.59
2008-03-13 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.5.2 release.
2008-03-12 Daniel Steffen <das@users.sourceforge.net>
* macosx/Wish.xcodeproj/project.pbxproj: Add support for Xcode 3.1
* macosx/Wish.xcodeproj/default.pbxuser: CODE_SIGN_IDENTITY and
* macosx/Wish-Common.xcconfig: 'xcodebuild install'.
2008-03-12 Joe English <jenglish@users.sourceforge.net>
* unix/tkUnixRFont.c: Try a fallback font if XftFontOpenPattern()
fails in GetFont (workaround for [Bug 1090382]).
2008-03-11 Daniel Steffen <das@users.sourceforge.net>
* library/demos/knightstour.tcl: Aqua GOOBE.
* library/demos/widget:
* macosx/Wish.xcodeproj/project.pbxproj: Add support for Xcode 3.1 and
* macosx/Wish.xcodeproj/default.pbxuser: configs for building with
* macosx/Wish-Common.xcconfig: gcc-4.2 and llvm-gcc-4.2.
* generic/tkCanvUtil.c: Fix gcc-4.2 warnings.
* macosx/GNUmakefile: Fix quoting to allow paths to
* macosx/Wish-Common.xcconfig: ${builddir}, ${INSTALL_ROOT}
* unix/Makefile.in: and ${TCL_BIN_DIR} to contain
* unix/configure.in: spaces.
* unix/install-sh:
* unix/tcl.m4:
* unix/configure: autoconf-2.59
* unix/Makefile.in (install-strip): Strip non-global symbols from
dynamic library.
2008-03-10 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.5.2 release.
2008-03-07 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/colors.n: Reworked to produce nicer HTML output.
2008-03-06 Joe English <jenglish@users.sourceforge.net>
* doc/ttk_notebook.n: Move "TAB IDENTIFIERS" section above "WIDGET
COMMAND" section. [Bug 1882011]
2008-02-29 Pat Thoyts <patthoyts@users.sourceforge.net>
* library/demos/widget: Added a Knight's tour canvas demo.
* library/demos/knightstour.tcl:
2008-02-27 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXDraw.c: Workaround leak in Carbon SetPortPenPixPat()
API [Bug 1863346]; avoid repeated PixPat allocation/deallocation.
2008-02-23 Joe English <jenglish@users.sourceforge.net>
* library/ttk/combobox.tcl, doc/ttk_combobox.n,
* tests/ttk/combobox.test: Arrange to deliver <<ComboboxSelected>>
event after listbox is unposted, as intended [Bug 1890211]. Clarified
documentation.
2008-02-23 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkPanedWindow.c: Don't enforce minimum sash thickness
of 5 pixels, just use 5 as a default. [FR 1898288]
2008-02-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* unix/README: Documented missing configure flags.
2008-02-06 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/ttk_scale.n (new file): Added basic documentation. [Bug 1881925]
2008-02-04 Don Porter <dgp@users.sourceforge.net>
*** 8.5.1 TAGGED FOR RELEASE ***
* generic/tk.h: Bump to 8.5.1 for release.
* library/tk.tcl:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
2008-02-04 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/MeasureChar.3, doc/FontId.3: Minor improvements (formatting,
keywords).
2008-02-02 Daniel Steffen <das@users.sourceforge.net>
* macosx/Wish-Info.plist.in: Add CFBundleLocalizations key, listing
* unix/configure.in (Darwin): all library/msgs locales.
* unix/configure.in (Darwin): Correct Info.plist year substitution
in non-framework builds.
* unix/configure: autoconf-2.59
2008-02-01 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.5.1 release.
2008-02-01 Reinhard Max <max@suse.de>
* generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2008-0553).
* tests/imgPhoto.test: Added a test for the above.
2008-01-31 Jeff Hobbs <jeffh@ActiveState.com>
* library/msgbox.tcl (::tk::MessageBox): Don't use ttk::label in low
depth/aqua fallback, as it doesn't support -bitmap.
* win/tkWinDialog.c (Tk_MessageBoxObjCmd): Pass "" instead of NULL
when -title isn't set. [Bug 1881892]
2008-01-31 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/panedwindow.n: Added proper description of -height and -width
options, which aren't "standard". Last of fallout from [Bug 1882495].
2008-01-30 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/canvas.n, doc/listbox.n, doc/message.n: Fix erroneous listing of
"standard" options. [Bug 1882495]
2008-01-29 Joe English <jenglish@users.sourceforge.net>
* library/treeview.tcl: Fix bug in Shift-ButtonPress-1 binding (error
if no current focus item; reported on c.l.t.)
2008-01-29 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/ttk_*.n: Adjusted handling of the standard options part of the
Ttk manual pages so that they are documented in the correct location.
[Bug 1876493]
2008-01-28 Joe English <jenglish@users.sourceforge.net>
* unix/tkUnixRFont.c: Re-fix strict-aliasing warnings reintroduced by
last patch.
2008-01-27 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkNotebook.c: Make sure to schedule a redisplay when
adding and/or hiding tabs. [Bug 1878298]
2008-01-27 Joe English <jenglish@users.sourceforge.net>
* unix/tkUnixRFont.c: Merged common code from InitFont() and
TkpGetFontAttrsForChar(), factored into GetTkFontAttributes() and
GetTkFontMetrics(). Removed write-only struct UnixFtFont member
'drawable'. Removed unneeded double-pointer indirections. Ensure that
TkFontAttributes.family member is a Tk_Uid, as specified. Use
FcTypeDouble for XFT_SIZE attribute. Finally: fix [Bug 1835848]
2008-01-25 Don Porter <dgp@users.sourceforge.net>
* changes: Updates for 8.5.1 release.
2008-01-08 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkFrame.c: BUGFIX: fix crash in [ttk::labelframe] when
-style option specified. [Bug 1867122]
2008-01-08 Joe English <jenglish@users.sourceforge.net>
* win/ttkWinTheme.c: Add tristate support to checkbuttons and
radiobuttons. [Bug 1865898]
Fix check and radio indicator size. [Bug 1679067]
2008-01-06 Joe English <jenglish@users.sourceforge.net>
* generic/ttk/ttkWidget.c, generic/ttk/ttkWidget.h: Call
Tk_MakeWindowExist() in widget constructor. Removed now-unnecessary
initial ConfigureNotify processing.
2008-01-06 Joe English <jenglish@users.sourceforge.net>
* library/ttk/treeview.tcl, library/ttk/utils.tcl: Fix MouseWheel
bindings for ttk::treeview widget. [Bugs 1442006, 1821939, 1862692]
2008-01-02 Don Porter <dgp@users.sourceforge.net>
* generic/tk.h: Bump version number to 8.5.1b1 to distinguish
* library/tk.tcl: CVS development snapshots from the 8.5.0 and
* unix/configure.in: 8.5.1 releases.
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf (2.59)
* win/configure:
******************************************************************
*** CHANGELOG ENTRIES FOR 2005 TO 2007 IN "ChangeLog.2007" ***
*** CHANGELOG ENTRIES FOR 2004 AND 2003 IN "ChangeLog.2004" ***
*** CHANGELOG ENTRIES FOR 2002 AND EARLIER IN "ChangeLog.2002" ***
******************************************************************
|