1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
|
2002-02-22 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returns
that should have been breaks instead. Corrected .pw configure
handling for insufficient args. [Patch #521436] (boudaillier)
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h:
* win/tkWinDefault.h: changed panedwindow default relief to flat,
a more natural outer relief.
* library/panedwindow.tcl (ReleaseSash): changed to not pass x and
y args at all (they aren't used).
2002-02-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/widget: New section "Paned Windows"
* library/demos/paned2.tcl, library/demos/paned1.tcl: New files.
* library/panedwindow.tcl (ReleaseSash): Added missing arguments.
* library/tk.tcl: Bindings for paned window were not being loaded
by default.
* unix/tkUnixMenu.c (GetMenuLabelGeometry,DrawMenuEntryLabel):
Stop meaningless GCC warnings.
2002-02-21 Jeff Hobbs <jeffh@ActiveState.com>
* doc/panedwindow.n (new):
* generic/tkPanedWindow.c (new):
* generic/tkInt.h:
* generic/tkWindow.c:
* library/panedwindow.tcl (new):
* mac/tkMacDefault.h:
* tests/panedwindow.test (new):
* unix/Makefile.in:
* unix/tkUnixDefault.h:
* win/Makefile.in:
* win/makefile.vc:
* win/tkWinDefault.h: added implementation of TIP #41, panedwindow
widget. [Patch #512503] (melski)
* generic/tkOption.c (ReadOptionFile): fixed Tcl_Seek casting to
remove warnings (we expect no option files with be > 2GB).
* unix/configure: regenerated
* unix/tcl.m4: updated to sync with Tcl's tcl.m4
Added --enable-64bit support for AIX-4 using IBM's xlc (-q64 flag).
2002-02-19 Don Porter <dgp@users.sourceforge.net>
* changes: First draft of updated changes for 8.4a4 release.
2002-02-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tkImgPhoto.c (MatchFileFormat): Tcl_Seek takes
Tcl_WideInt offset (three places.)
* generic/tkImgPPM.c (FileReadPPM): Tcl_Seek takes Tcl_WideInt offset.
* generic/tkFrame.c (ConfigureFrame): Stop GCC warning.
* generic/tkImgGIF.c: Made file meet the formatting rules from the
Tcl Engineering Manual better; mostly differences in whitespace.
2002-02-18 Jeff Hobbs <jeffh@ActiveState.com>
* unix/configure: regen'd
* unix/tcl.m4:
* unix/configure.in: added macros and calls to SC_TCL_EARLY_FLAGS
and SC_TCL_64BIT_FLAGS, part of TIP #72.
2002-02-14 Mo DeJong <mdejong@users.sourceforge.net>
* library/entry.tcl:
* library/text.tcl: Adjust <Double-1> and <Triple-1> bindings
so that no anchor point is set and the insertion cursor is
set to the last character in the selection. [Bug 220943]
* tests/event.test: Add test cases for double click and
drag as well as triple click and drag in the text and
entry widgets.
2002-02-14 Mo DeJong <mdejong@users.sourceforge.net>
* tests/event.test (_text_ind_to_x_y, _get_selection): Fix
incorrect use of results from bbox invocation so that
y center point for a give index is calculated correctly.
Add new method to return the selection and use it in
test cases. Always lappend to the result list to avoid
case where initial result includes a space.
2002-02-07 Don Porter <dgp@users.sourceforge.net>
* generic/tkMain.c:
* mac/tkMacInit.c:
* mac/tkMacKeyboard.c:
* win/tkWinDialog.c:
* win/tkWinTest.c: modified some callers of Tcl routines that
were restored to return (char *) pointing into Tcl_DStrings.
2002-02-03 eric melski <ericm@interwoven.com>
* generic/tkImage.c (Tk_ImageObjCmd): Clean up bogus for loop in
[image inuse] subcommand [Bug #485803].
2002-02-01 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as it
conflicts with the C99 spec. [Bug #511956] (ingham)
2002-02-01 David Gravereaux <davygrvy@pobox.com>
* win/makefile.vc: unset macro located in the tktest target
caused a failure to build. [Bug 511652]
2002-01-30 Don Porter <dgp@users.sourceforge.net>
* win/stubs.c (XSetCommand): Overlooked CONSTification.
2002-02-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/photo.n: Documented transparency subcommand.
* tests/imgPhoto.test (imgPhoto-4.40...imgPhoto-4.68): Tests for
the transparency subcommand.
* generic/tkImgPhoto.c (ImgPhotoCmd): Added transparency
subcommand (see TIP #14.)
2002-01-31 Todd Helfter <tmh@users.sourceforge.net>
* generic/tkMenu.c (ConfigureMenuCloneEntries)
* tests/menu.test (menu3.68)
Correct and test for logic error when cloning menus. [Bug #508988]
2002-01-30 Don Porter <dgp@users.sourceforge.net>
* generic/tk.decls: The POTENTIAL INCOMPATIBILITY in the changing
interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST
compiler flag.
* generic/tkDecls.h: make genstubs
2002-01-29 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now does
not write into the CONST path returned by "argv0" and
Tcl_SplitPath anymore.
2002-01-28 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure: Regen.
* unix/configure.in: Don't set TCL_LIB_SPEC and
TCL_STUB_LIB_SPEC variables since this breaks
the AIX build. This was used in the past to
support linking with Tcl from the build dir
or the install dir, but it is no longer needed.
2002-01-28 Mo DeJong <mdejong@users.sourceforge.net>
* unix/Makefile.in: Remove commented out vars.
* unix/configure: Regen.
* unix/configure.in: Don't subst vars that are already
taken care of in SC_LOAD_TCLCONFIG.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
2001-01-27 Daniel Steffen <das@users.sourceforge.net>
* generic/tkFileFilter.c:
* mac/tkMacInit.c:
* mac/tkMacKeyboard.c:
* mac/tkMacMenus.c: TIP 27 CONSTification induced changes
2002-01-25 Don Porter <dgp@users.sourceforge.net>
* All changes below are Patch 505159
* doc/AddOption.3:
* doc/CanvTkWin.3:
* doc/GetPixels.3:
* doc/Name.3:
* doc/ParseArgv.3:
* generic/tk.decls (Tk_AddOption,Tk_CanvasGetCoord,Tk_GetPixels,
Tk_GetScreenMM,Tk_NameToWindow,Tk_ParseArgv):
* generic/tkArgv.c (Tk_ParseArgv):
* generic/tkCanvLine.c (ParseArrowShape):
* generic/tkCanvUtil.c (Tk_CanvasGetCoord,Tk_CanvasTagsParseProc,
Tk_CanvasTagsPrintProc,Tk_GetDash):
* generic/tkCanvas.c (ConfigureCanvas):
* generic/tkGet.c (Tk_GetPixels,Tk_GetScreenMM):
* generic/tkImgPhoto.c (ImgPhotoCmd):
* generic/tkMain.c (Tk_MainEx):
* generic/tkOldConfig.c (FormatConfigInfo):
* generic/tkOption.c (Tk_AddOption):
* generic/tkText.c (TextWidgetCmd,TkTextGetTabs,DumpSegment):
* generic/tkText.h (TkTextCreateTag):
* generic/tkTextTag.c (TkTextCreateTag):
* generic/tkWindow.c (Tk_NameToWindow,Initialize):
* mac/tkMacCursor.c (FindCursorByName,TkGetCursorByName):
* mac/tkMacWm.c (Tk_WmCmd):
* unix/tkUnixCursor.c (TkGetCursorByName):
* unix/tkUnixSend.c (ValidateName):
* unix/tkUnixWm.c (Tk_WmCmd):
* win/tkWinCursor.c (TkGetCursorByName):
* win/tkWinWm.c (Tk_WmCmd): Updated callers of Tcl_SplitList and
Tcl_Merge.
* generic/tkDecls.h: make genstubs
***POTENTIAL INCOMPATIBILITY***
Includes a source incompatibility in the argv argument of Tcl_ParseArgv.
* generic/tkBind.c (DeleteVirtualEvent):
* generic/tkCanvas.c (ScrollFractions,CanvasWidgetCmd,
CanvasUpdateScrollbars):
* generic/tkTestTag.c (TkTextTagCmd): Updated callers of
Tcl_GetStringResult. Rewrote PrintScrollFractions to
ScrollFractions to stop scribbling directly on interp->result.
* generic/tkInt.decls (TkGetDefaultScreenName,TkpDisplayWarning,
TkpOpenDisplay):
* generic/tkCanvPs.c (Tk_PostscriptColor,Tk_PostscriptFont):
* generic/tkEntry.c (EntrySetValue,EntryValidateChange,ExpandPercents,
EntryValueChanged,Tk_EntryObjCmd,DestroyEntry,ConfigureEntry,
EntryComputeGeometry,InsertChars,DeleteChars,EntryFetchSelection,
EntryTextVarProc,Tk_SpinBoxObjCmd,SpinboxWidgetObjCmd):
* generic/tkMain.c (Prompt):
* generic/tkMenu.c (MenuVarProc):
* generic/tkMenubutton.c (ConfigureMenuButton,MenuButtonTextVarProc):
* generic/tkMessage.c (ConfigureMessage,MessageTextVarProc):
* generic/tkWindow.c (GetScreen,Initialize):
* mac/tkMacInit.c (TkpInit,TkpDisplayWarning):
* mac/tkMacXStubs.c (TkGetDefaultScreenName,TkpOpenDisplay):
* unix/tkUnix.c (TkGetDefaultScreenName):
* unix/tkUnixEvent.c (TkpOpenDisplay):
* unix/tkUnixInit.c (TkpGetAppName,TkpDisplayWarning):
* unix/tkUnixSend.c (SendEventProc):
* win/tkWinInit.c (TkpGetAppName,TkpDisplayWarning):
* win/tkWinX.c (TkGetDefaultScreenName,TkpOpenDisplay): Updated
callers of Tcl_GetVar, Tcl_GetVar2
* generic/tkIntDecls.h: make genstubs
* generic/tkCanvPs.c (TkCanvPostscriptCmd):
* generic/tkImgBmap.c (TkGetBitmapData):
* generic/tkOption.c (ReadOptionFile):
* mac/tkMacInit.c (TkpInit,TkpGetAppName):
* win/tkWinInit.c (TkpGetAppName): Updated callers of
Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
2002-01-18 Mo DeJong <mdejong@users.sourceforge.net>
* tests/wm.test: Rewrite stackorder tests that
deal with toplevels that have the overrideredirect
flag set. [Tk bug 492259]
2002-01-18 Don Porter <dgp@users.sourceforge.net>
* win/tkWinDialog.c: Overlooked Tcl_GetIndexFromObj callers.
2001-01-18 Daniel Steffen <das@users.sourceforge.net>
* mac/tkMacDialog.c:
* mac/tkMacSend.c: TIP 27 CONSTification broke the mac
build in a few places.
2002-01-16 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkListbox.c (ChangeListboxOffset): improved tracking
when scrolling on x axis with entry/text. [Bug #225025] (voskuil)
2002-01-16 Don Porter <dgp@users.sourceforge.net>
* generic/tk3d.c (Tk_GetReliefFromObj):
* generic/tkBind.c (Tk_EventObjCmd,HandleEventGenerate):
* generic/tkButton.c (ButtonWidgetObjCmd):
* generic/tkCanvas.c (CanvasWidgetCmd,FindItems):
* generic/tkClipboard.c (Tk_ClipboardObjCmd):
* generic/tkCmds.c (Tk_BellObjCmd,Tk_TkObjCmd,Tk_TkwaitObjCmd,
Tk_UpdateObjCmd,Tk_WinfoObjCmd,Tk_WmObjCmd):
* generic/tkConfig.c (DoObjConfig):
* generic/tkEntry.c (EntryWidgetObjCmd,SpinboxWidgetObjCmd):
* generic/tkFocus.c (Tk_FocusObjCmd):
* generic/tkFont.c (Tk_FocusObjCmd,ConfigAttributesObj):
* generic/tkFrame.c (Tk_FrameObjCmd):
* generic/tkGet.c (Tk_GetAnchorFromObj,Tk_GetJustifyFromObj):
* generic/tkGrab.c (Tk_GrabObjCmd):
* generic/tkGrid.c (Tk_GridObjCmd,GridRowColumnConfigureCommand,
GridSlavesCommand,ConfigureSlaves):
* generic/tkImage.c (Tk_ImageObjCmd):
* generic/tkImgBmap.c (ImgBmapCmd):
* generic/tkImgGIF.c (FileReadGIF):
* generic/tkImgPhoto.c (ImgPhotoCmd):
* generic/tkListbox.c (ListboxWidgetObjCmd,ListboxSelectionSubCmd,
GetListboxIndex):
* generic/tkMenu.c (MenuWidgetObjCmd,MenuAddOrInsert,MenuCmd,
ConfigureMenu,CloneMenu):
* generic/tkMenubutton.c (MenuButtonWidgetObjCmd):
* generic/tkMessage.c (MessageWidgetObjCmd):
* generic/tkOption.c (Tk_OptionObjCmd):
* generic/tkPack.c (Tk_PackObjCmd,ConfigureSlaves):
* generic/tkPlace.c (Tk_PlaceObjCmd):
* generic/tkScale.c (ScaleWidgetObjCmd):
* generic/tkSelect.c (Tk_SelectionObjCmd):
* generic/tkSquare.c (SquareWidgetObjCmd):
* generic/tkTest.c (TestobjconfigObjCmd,TrivialConfigObjCmd,
TestfontObjCmd): Updates to handle change in type of tablePtr
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
* generic/tkCanvText.c (GetSelText):
* generic/tkEntry.c (Entry{FetchSelection,Setvalue},ExpandPercents):
* generic/tkSelect.c (HandleTclCommand):
* generic/tkText.c (TextSearchCmd):
* generic/tkTextIndex.c (TkTextMakeByteIndex,TkTextIndexBackChars):
* mac/tkMacFont.c (Tk_MeasureChars,BreakLine):
* unix/tkUnixMenu.c (DrawMenuUnderline):
* win/tkWinMenu.c (GetEntryText,DrawMenuUnderline): Updated
callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27 API
changes (see Tcl Patch 471509). [Patch 471513]
2002-01-16 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
2002-01-04 Don Porter <dgp@users.sourceforge.net>
* generic/tkMain.c (Tk_MainEx): Updated callers of CONSTified
Tcl interfaces Tcl_EvalFile and TclGetStartupScriptFileName.
* generic/tkConsole.c (ConsoleOutputProc,TkConsolePrint):
* generic/tkInt.h (TkConsolePrint):
* mac/tkMacAppInit.c (TkConsolePrint): Updated Tk's console to
CONSTified channel driver interface. [Tcl Patch 503565, Tk Patch
503983]
2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370]
* unix/configure: Regen.
* unix/configure.in: Define and use libdir.
* win/configure: Regen.
* win/configure.in: Define libdir.
2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
* unix/Makefile.in: Burn Tcl and Tk build
directories into tktest executable to avoid crashes
caused by ld loading a previously installed version
of the tcl or tk shared libraries. Remove setting
of LD_LIBRARY_PATH, LIBPATH, and SHLIB_PATH
before running tktest since it should no
longer be required.
2002-01-11 Mo DeJong <mdejong@users.sourceforge.net>
Enable use of Tcl stubs when building Tk as
a shared library. This should fix the build
under AIX. [Bugs 220858, 220955, 220921]
* unix/Makefile.in: Add TCL_STUB_LIB_SPEC and
TCL_STUB_LIB_FLAG variables.
* unix/configure: Regen.
* unix/configure.in: Pass TCL_STUB_LIB_SPEC into
Makefile and use it when linking the tk shared library.
Define USE_TCL_STUBS when building shared. Subst
TCL_STUB_LIB_SPEC and TCL_STUB_LIB_FLAG.
2002-01-08 D. Richard Hipp <drh@hwaci.com>
* win/tkWinMenu.c: Fix the following bug: If you select an entry
on a cascade menu then the next time the parent menu is posted, the
cascade entry was active. Also, if you traverse to a disabled entry
using keystrokes and press ENTER on the disabled entry, then that
entry appears active the next time the menu is posted. The same
patch fixes both problems.
2002-01-04 Don Porter <dgp@users.sourceforge.net>
* generic/tkBind.c (TkBindFree):
* generic/tkGrid.c (ResolveConstraints,CheckSlotData,DestroyGrid):
* generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced
Tcl_Free calls with ckfree so that memory debugging is fully supported.
2001-12-28 Jeff Hobbs <jeffh@ActiveState.com>
* test/winButton.test:
* win/tkWinButton.c: added updated patch #463234 which returns the
default sizing behavior (not so native), but enables native L&F
with negative sizing (-11 for example).
* library/text.tcl (tk::TextButton1): made text receive focus even
in disabled state for Windows to show selection and allow
mouse-wheel scrolling.
* win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFree's
* win/tkWinInt.h:
* win/tkWinX.c: added TkWinProcs that represent a function table
to switch between unicode and ansi procs on Windows. This is
analogous to the TclWinProcs. Using Tcl_WinUtfToTChar, we can
easily take advantage of using unicode functions where available
without having to switch on the platform id each time.
* win/tkWinWm.c (InitWindowClass): corrected init routines to
allow unicode in window titles on Windows (for Win2K/XP).
(TkWmStackorderToplevel): Corrected casts to enable debug compile
* win/configure: regen'ed
* win/tcl.m4: added shell32.lib to link libs, as these are
necessary for new directory chooser (when enabled).
* win/tkWinDialog.c (Tk_MessageBoxObjCmd): use MessageBoxW for
proper display of unicode errors.
Added patch which uses new OLE based directory chooser. This
still has some issues, so is disabled by default. [Patch #468139]
(ColorDlgHookProc) Corrected ability to use unicode chars in
tk_chooseColor -title.
2001-12-27 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case the
error displayed has unicode chars. [Bug #485986]
2001-12-27 Daniel Steffen <das@users.sourceforge.net>
* mac/tkMacInit.c:
* mac/tkMacResource.r: synced up tkInit features to unix/win:
use existing tkInit proc if defined. Added spinbox.tcl resource.
Used TclGetEnv() instead of Tcl_GetVar2(interp, env)
* mac/tkMacApplication.r:
* mac/tkMacLibrary.r: minor version resources cleanup
2001-12-27 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkButton.c (ButtonTextVarProc): guard against being
called while the *button/label is being deleted. [Bug #490051]
* library/entry.tcl:
* library/spinbox.tcl:
* library/text.tcl: added extra checks against bug #220269 and
made spinbox reuse more of the entry procedure code.
2001-12-20 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
2001-12-19 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
2001-12-18 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure: Regen.
* unix/configure.in: Move EXP file changes over from
Tcl configure script to fix AIX build with gcc. [Bug 220955]
2001-12-18 Mo DeJong <mdejong@users.sourceforge.net>
* unix/Makefile.in:
* win/Makefile.in: Use $(MAKE) instead of make
in the tcltest rule.
2001-12-18 Don Porter <dgp@users.sourceforge.net>
* tests/event.test (event-click-drag-1.2): Corrected test that
failed on Solaris/CDE due to text scrolling. [Bug 413735]
2001-12-18 Jeff Hobbs <jeffh@ActiveState.com>
* library/spinbox.tcl (ButtonDown): added catch to ignore
possible error in after cancel when Priv(afterId) isn't defined.
* doc/spinbox.n: corrected spin(up|down) -> button(up|down)
2001-12-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/getOpenFile.n: Documented change.
* library/tkfbox.tcl (SetFilter): Added code to guess the correct
default extension from whatever value was selected in the
filetypes option menu. Adapted from code by Chris Nelson
submitted in Patch #492220.
2001-12-12 Jeff Hobbs <jeffh@ActiveState.com>
* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap): added static
2001-12-05 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkText.c:
* generic/tkText.h: changed TkTextEditType enums to be prefaced
with TK_EDIT_ to prevent name collision.
2001-12-05 Daniel Steffen <das@users.sourceforge.net>
* mac/tkMacWm.c: mac implementation of wm stackorder
(patch 481148, TIP 74)
2001-12-03 Mo DeJong <mdejong@users.sourceforge.net>
Add TK patch 481148 to implement TIP 74, the
wm stackorder command.
* doc/winfo.n: Update documentation for the winfo
children command to indicate that top-level windows
are not returned in stacking order.
* doc/wm.n: Add documentation for wm stackorder.
* generic/tkInt.decls (TkWmStackorderToplevel):
Add decl for new function.
* generic/tkIntDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* tests/unixWm.test: Add stackorder command to test
for wm command usage message.
* tests/wm.test: Add new set of tests for generic
window manager methods.
* unix/tkUnixWm.c (Tk_WmCmd,
TkWmStackorderToplevelWrapperMap,
TkWmStackorderToplevel): Add unix implementation of
new wm stackorder command.
* win/tkWinWm.c (Tk_WmCmd,
TkWmStackorderToplevelEnumProc,
TkWmStackorderToplevelWrapperMap,
TkWmStackorderToplevel): Add windows implementation
of new wm stackorder command.
2001-12-03 David Gravereaux <davygrvy@pobox.com>
* win/makefile.vc: install target changes by request from
Ryan Casey <scfiead@hotmail.com>.
2001-11-30 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/widget: Further overhauling; shrank fonts, made
better use of fonts, added an icon, fixed the About box. Prompted
by Bug #487442 from Vincent Wartelle.
2001-11-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/palette.tcl (tk_setPalette): Added heuristic to guess
from the background whether to use black or white for the
foreground when not told specifically. Suggested by Chris Nelson,
this makes the command fit the documentation better!
2001-11-27 David Gravereaux <davygrvy@pobox.com>
* win/makefile.vc: Fixed CAT32 target. cat.c is located in the Tcl
source, not the Tk source.
2001-11-27 D. Richard Hipp <drh@hwaci.com>
* library/menu.tcl: Do not allow keyboard traversal of torn-off
menus to visit the (invisible) tearoff bar.
2001-11-26 D. Richard Hipp <drh@hwaci.com>
* win/tkWinMenu.c: disabled menu items show the activebackground
color in their background. This change makes menu behavior
consistent with what native windows does.
2001-11-24 Mo DeJong <mdejong@users.sourceforge.net>
* unix/Makefile.in: Add comments to better describe
TCL_EXE and when it should be available. Add
rule that prints message about running `make genstubs`
when tkStubInit.c is out of date.
* win/Makefile.in: Add TCL_TOOL_DIR and TCL_EXE
variables to better match the Tcl Makefile. Add
genstubs rule so tkSTubInit.c can be regenerated.
2001-11-24 Mo DeJong <mdejong@users.sourceforge.net>
* win/configure: Regen.
* win/configure.in: Don't AC_SUBST CFLAGS_DEBUG, CFLAGS_OPTIMIZE,
or CFLAGS_WARNING since it is now done in SC_CONFIG_CFLAGS.
* win/tcl.m4 (SC_CONFIG_CFLAGS): AC_SUBST DL_LIBS, CFLAGS_DEBUG,
CFLAGS_OPTIMIZE, and CFLAGS_WARNING.
2001-11-23 Daniel Steffen <das@users.sourceforge.net>
Up-port to 8.4 of mac code changes for 8.3.3 & various new
changes for 8.4, some already backported to 8.3.4 (patch #435660)
* library/tk.tcl: added <Key-F1> binding for <<Undo>> on the mac (TIP26)
* library/button.tcl: fixed undefined $Priv(repeated) error for button
without -repeatdelay support
* generic/tkConsole.c:
* library/console.tcl:
* mac/tkMacInit.c:
* mac/tkMacResource.r: corrected how mac deals with tcl library
files present both in resources and in $tk_library directory.
* generic/tkConsole.c: crashing bug fix when printing to console
at program exit after the console has already been closed.
Now setting gStdoutInterp=NULL in ConsoleClose().
* mac/tkMacInit.c: correct use of Tcl_JoinPath in tk_library
initialization
* mac/tkMacMenu.c: special MDEF_PROC_OFFSET only needed for
exactly one specific version of the MWERKS 68k compiler .
* mac/tkMacShLib.exp: removed file
* unix/Makefile.in: removed reference to .exp files
* mac/MWTkBuildLibHeader.h:
* mac/MW_TkBuildLibHeader.pch:
* mac/MW_TkHeaderCommon.h:
* mac/MW_TkOldImgStaticHeader.h:
* mac/MW_TkStaticHeader.h:
* mac/MW_TkStaticHeader.pch: new precompiled header files
* mac/MW_TkHeader.pch:
* mac/MW_TkOldImgHeader.h:
* mac/MW_TkTestHeader.pch: revised precompiled header handling: now
include a common header file 'MW_TkHeaderCommon.h' from all .pch files,
the .pch files themselves now only setup #defines (e.g. BUILD_tk,
STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on other
platforms.
* mac/tkMac.h:
* mac/tkMacPort.h:
* mac/tkMacInt.h: use of BUILD_tk and TCL_STORAGE_CLASS like on other
platforms, standardize #include'd files to what's done on other
platforms, removed use of #pragma export, changed extern to EXTERN
where appropriate to enable DLL export via the TCL_STORAGE_CLASS
mechanism.
* mac/tkMacAppearanceStubs.c: removed use of #pragma export
* mac/widget.r: new resource file for 'Widget Demos'
* mac/tkMacProjects.sea.hqx: updated mac build project files:
build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime
libraries (see Tcl ChangeLog for details).
changed weak linking so that CFM68k binaries now work on all OS
versions from the free 7.5.5 onwards, with or without AppearanceMgr
and/or NavigationMgr installed.
added target to automatically build 'Widget Demos'
included XML versions of the projects for CW Pro5 or Pro7 users.
use compat/strtod.c instead of MSL's strtod()
* generic/tkInt.decls:
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkStubInit.c:
* mac/tkMacInt.h: MAC_TCL tk stub support was badly broken due to
multiply defined (mac specific) names in tk.decls and tkInt.decls,
removed the duplicates from the internal unsupported interfaces
"interface tkInt" and "interface tkIntPlat"; moved declaration of
TkpIsWindowFloating from tkMacInt.h to tkInt.decls: interface tkIntPlat.
- these changes to the stub tables might require you to recompile your
Tk extensions if they turn out to reference one of the removed routines
in the wrong table (should be unlikely).
* generic/tkMain.c: MAC_TCL: workaround for broken/non-standard isatty
on MW Pro6, #include <unistd.h> instead of defining isatty
* generic/tkPointer.c: MAC_TCL: #include tkMacInt.h
* generic/tkStubLib.c: MAC_TCL: removed obsolete special casing of mac
headers, standardize #include'd files to what's done on other platforms
* mac/tclets.r:
* mac/tkMacWindowMgr.c:
* mac/tkMacScrlbr.c:
* mac/tkMacMenu.c:
* mac/tkMacMenus.c:
* mac/tkMacFont.c:
* mac/tkMacDialog.c:
* mac/tkMacButton.c: renamed obsolete apple API names to modern
equivalents; UH3.4 support: added #include <ControlDefinitions.h>;
fixed munged non-ASCII chars in sources due to bungled latin1<->mac
roman encoding in CVS repository.
* mac/tkMacDialog.c: added support for -filetypes option (fix for bug
tcl #221636); added update event handling for background windows while
in a NavigationMgr dialog; fixed nasty bug when calling CustomGetFile
(missing addr operator) (fix for bug tk #220911 & tcl #219367); renamed
routines conflicting with standard MoreFiles headers (see Tcl ChangeLog
for details)
* mac/tkMacApplication.r:
* mac/tkMacLibrary.r:
* mac/tkMacResource.r: fixed obsolete copyrights/dates in version
strings, updated version strings to standard usage, added support for
'(Support Libraries)' subfolder for shared runtime libraries in
unmerged binaries, commented out demo setting of "Tcl Environment
Variables"; reorganized resources among these files to avoid
multiple copies in applications and shared libraries, the script
libraries/Xcursors etc are now no longer duplicated in Wish but are
only included in the resources of Tk.shlb.
* mac/tkMacMenu.c:
* mac/tkMacMDEF.r: changes to support MW Pro 6 68k (vers 0x2400 only)
compiler producing different offset to start of MDEF; fix to static 68k
presence testing when calling the custom MDEF
* mac/tkMacWm.c.c:
* mac/tkMacWindowMgr.c: added/fixed AppearanceMgr checks; override
AppearanceMgr version detection on static 68k to ensure static 68k Wish
runs on PPCs with recent AppearanceMgr
* mac/tkMacButton.c: fixed misplaced/missing variable initialization.
2001-11-20 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkText.c (TextGetText): reworked to use DString for
improved speed. (callewaert, darley)
(DestroyText): plugged mem leak when not clearing stack (callewaert)
(TextGetText): more efficient string size calculation (darley)
2001-11-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/entry3.tcl: New demo showing off validation and
password entry.
* library/demos/widget: Some reorganization to make the code
simpler, plus a new entry demo.
2001-11-17 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinButton.c (TkpComputeButtonGeometry): corrected the
default size of Windows buttons to conform to the Windows style.
This changes the default size of buttons on Windows.
[Patch #463234] (nelson)
**** POTENTIAL VISUAL INCOMPATABILITY ****
2001-11-16 Jeff Hobbs <jeffh@ActiveState.com>
* library/menu.tcl: corrected menu traversal code on Unix to
better handle entering cascades. [Patch #481219] (oleinick)
2001-11-16 David Gravereaux <davygrvy@pobox.com>
* win/makefile.vc: Install target repaired.
2001-11-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/image2.tcl: Many improvements to this
image-viewing demo; now uses labelframes and tk_chooseDirectory
* library/palette.tcl (::tk::RecolorTree): Made this work better
with CDE, which does some extremely annoying things with the
option database that interact badly with Tk's way of handling
options.
* doc/text.n: Overhauled the documentation of undo to make it
easier to understand.
* library/tk.tcl (::tk::EventMotifBindings): Added Emacs-like undo
binding, but not behaviour (we separate undo and redo.)
* library/demos/text.tcl: Show off our undo capability!
2001-11-12 David Gravereaux <davygrvy@pobox.com>
* win/mkd.bat:
* win/rmd.bat: Removed -kb CVS attribute and added changes
from Llyod Lim for better stability. [Patch #456761]
* win/rules.vc(new):
* win/buildall.vc.bat(new):
* win/makefile.vc: large rewrite following Tcl's makefile.vc as
a guide and Patch #456761. Appears BugFree(tm).
2001-11-12 Jeff Hobbs <jeffh@ActiveState.com>
* doc/text.n:
* generic/tkText.c:
* generic/tkText.h:
* generic/tkTextTag.c:
* library/text.tcl:
* library/tk.tcl:
* mac/tkMacDefault.h:
* tests/text.test:
* unix/tkUnixDefault.h:
* win/tkWinDefault.h: added TIP #26 implementation of simple
built-in undo/redo of text editing in the text widget.
[Patch #458879] (callewaert)
2001-11-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/menu.tcl: Show off -compound support in menus.
* library/demos/radio.tcl: Added some code to both show off the
extra capabilities of the buttons and also show what can be done
with compound images on the sly.
2001-11-10 Mo DeJong <mdejong@users.sourceforge.net>
* unix/Makefile.in:
* win/Makefile.in: Add "make gdb" target. This target
can run wish inside either gdb or insight.
2001-11-09 Jeff Hobbs <jeffh@ActiveState.com>
* library/clrpick.tcl: changed a few parameters so that the full
0..255 range could be accessed via the mouse. [Bug #478498]
* unix/configure:
* unix/tcl.m4: added -lc to AIX libs, fixed path to ldAix
* win/configure:
* win/tcl.m4:
* win/makefile.vc: add comctl32.lib to build libs.
* win/tkWinX.c (TkWinXInit): added InitCommonControlsEx call.
* win/rc/tk.rc:
* win/rc/wish.rc:
* win/rc/wish.exe.manifest: added resources that specify using v6
of the MS Common Controls library when available (WinXP+). This
enables use of the themeable widgets (like scrollbars) to be used
in Tk. [Patch #478933]
2001-11-09 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure:
* unix/tcl.m4: Update from Tcl.
2001-11-08 Mo DeJong <mdejong@users.sourceforge.net>
* unix/Makefile.in:
Avoid adding libc to the LIBS and WISH_LIBS
variables since it is not needed when linking with CC.
If required when linking with LD it should be done
on a case by case basis in tcl.m4.
2001-11-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/dialog2.tcl: Typo-fix.
* library/demos/browse, library/demos/ixset, library/demos/rolodex:
Installation does version number fixup, so we shouldn't. Thanks
to wohnivec@iol.cz for pointing these (thankfully minor) problems
out.
2001-10-30 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/widget: Integrated labelframe item into the labels
section and added a spinbox demo to the (retitled) entry section.
* library/demos/labelframe.tcl: Adjusted so as to show off the
labelframe widget to better effect and have a better description.
* library/demos/spin.tcl: New demo to show off spinbox capabilities.
* library/demos/rolodex: Changes up-ported from core-8-3-1-branch
to make the script use more 8.*-isms, but not menus due to the way
the context help system works.
* library/demos/ixset: Changed to use the labelframe widget and
the grid geometry manager.
2001-10-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/browse: Changes up-ported from core-8-3-1-branch
to make the script much more robust, particularly when neither the
current version of wish or the script are on the path.
* library/demos/hello: Added emacs trailing tag-line.
* library/demos/tcolor: Changes up-ported from core-8-3-1-branch
to make the script compliant with current good practise, as well
as extensive use of the new labelframe widget.
* library/demos/timer: Changes up-ported from core-8-3-1-branch to
make the script look and work better.
* library/demos/rmt: Changes up-ported from core-8-3-1-branch to
use more 8.* features and make the demo script more generally
useful to people.
2001-10-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tkCursor.c (Tk_GetCursorFromData): Fixed uninit nextPtr
field. [adapted from Patch 473875]
(GetCursor): Removed double-assignment to nextPtr field.
2001-10-19 Jeff Hobbs <jeffh@ActiveState.com>
* library/console.tcl: removed transpose ability until the console
can get a proper rewrite of tag handling.
2001-10-18 Jeff Hobbs <jeffh@ActiveState.com>
* tests/defs.tcl: removed threaded build warning under X.
* library/console.tcl (ConsoleOutput): fixed undefined widget
argument.
2001-10-16 Jeff Hobbs <jeffh@ActiveState.com>
* library/xmfbox.tcl: fixed filtering in motif file dialog.
[Patch #469670] (nelson)
* generic/tkWindow.c (OpenIM): Added simple XIM patch to enable
basic XIM input on Unix. [Patch #412727] (fabian)
2001-10-15 Jeff Hobbs <jeffh@ActiveState.com>
* unix/configure:
* unix/configure.in:
* win/configure:
* win/configure.in:
* win/tkConfig.sh.in: reworked to be a little cleaner in
comparison to each other, and to AC_SUBST even empty vars for
win/tkConfig.sh
2001-10-12 Todd M. Helfter <tmh@purdue.edu>
* ChangeLog:
* doc/menu.n:
* generic/tkMenu.c:
* generic/tkMenu.h:
* generic/tkMenubutton.c:
* generic/tkMenubutton.h:
* mac/tkMacDefault.h:
* mac/tkMacMenu.c:
* mac/tkMacMenubutton.c:
* tests/menu.test:
* unix/tkUnixDefault.h:
* unix/tkUnixMenu.c:
* win/makefile.vc:
* win/tkWinDefault.h:
* win/tkWinMenu.c:
* win/tkWinWm.c: Implementation of TIP #63, the addition of
a -compound option to menu entries allowing text and an image to
be displayed at the same time.
2001-10-09 Jeff Hobbs <jeffh@ActiveState.com>
* library/console.tcl: added more smarts extracted from tkcon to
the default console.
2001-10-01 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinTest.c: better error reporting from testclipboard
* win/tkWinDialog.c: minor cast changes to support Win64
* win/tkWinWindow.c: made use of standard Tk_GetHWND instead of
older, private TkWinGetHWND.
* win/configure: regen'ed
* win/tcl.m4:
* win/makefile.vc: updated for Win64 SDK RC1 compilation support
2001-09-30 Peter Spjuth <peter.spjuth@space.se>
* doc/grid.n:
* generic/tkGrid.c:
* tests/grid.test: Added -uniform option to grid's row/column-
configure. [TIP 37] [Patch 459343]
2001-09-26 Peter Spjuth <peter.spjuth@space.se>
* win/tkWinFont.c (Tk_DrawChars): Added support for clipping text.
* doc/frame.n:
* doc/labelframe.n:
* doc/toplevel.n:
* generic/tkFrame.c:
* generic/tkInt.h:
* generic/tkWindow.c:
* library/demos/radio.tcl:
* library/demos/labelframe.tcl:
* library/demos/widget:
* mac/tkMacDefault.h:
* tests/frame.test:
* unix/tkUnixDefault.h:
* win/tkWinDefault.h: Added labelframe widget. Added -padx/y
options to frame and toplevel.
* tests/grid.test:
* tests/pack.test:
* tests/place.test: Used labelframe to test geometry manager changes.
[TIP 18] [Patch 429164]
2001-09-26 Peter Spjuth <peter.spjuth@space.se>
* doc/GeomReq.3:
* doc/WindowId.3:
* generic/tk.decls:
* generic/tk.h:
* generic/tkDecls.h:
* generic/tkGeometry.c:
* generic/tkGrid.c (ArrangeGrid):
* generic/tkInt.h:
* generic/tkPack.c (ArrangePacking):
* generic/tkPlace.c (RecomputePlacement):
* generic/tkStubInit.c:
* generic/tkUtil.c (TkComputeAnchor):
* generic/tkWindow.c (TkAllocWindow):
* unix/mkLinks: Geometry manager changes to support TIP#18.
Allows a widget to set different internal border widths on
different sides, and to set a minimum requested size.
POTENTIAL INCOMPATIBILITY. [Patch 429164]
2001-09-25 Don Porter <dgp@users.sourceforge.net>
* generic/tkBind.c:
* generic/tkInt.decls (TkpScanWindowId):
* unix/tkUnixPort.h (Tkp{Print,Scan}WindowId):
* unix/tkUnixXId.c (TkpScanWindowId):
* win/tkWinWindow.c (TkpScanWindowId): Corrected definition of
TkpScanWindowId to handle situation where types Window and int
do not have the same number of bits. CONST-ified too.
* generic/tkIntPlatDecls.h:
* generic/tkStubInit.c: make genstubs
2001-09-24 Don Porter <dgp@users.sourceforge.net>
* generic/tkMain.c (StdinProc): Update to handle change in
return type of Tcl_DStringAppend() from (char *) to (CONST char *).
[TIP 27]
2001-09-23 Peter Spjuth <peter.spjuth@space.se>
* generic/tkPack.c (ConfigureSlaves):
* tests/pack.test:
* tests/grid.test: Pack accepted asymmetric values for -ipadx/y.
Only -padx/y supports asymmetry. [Bug #462348]
2001-09-21 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinWindow.c (TkpPrintWindowId, TkpScanWindowId): fixed to
work on Win64 with 64bit XIDs.
* generic/tkWindow.c (Tk_CreateAnonymousWindow):
* generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns.
* win/tkWinX.c (TkGetServerInfo): added recognition of Win64.
* xlib/X11/X.h: made XID __int64 type for Win64.
* unix/tkUnixPort.h:
* mac/tkMacPort.h: add (int*) cast to TkpScanWindowId.
These may need to be changed to Window* (ulong).
* generic/tkCmds.c (Tk_WinfoObjCmd):
* generic/tkBind.c (NameToWindow):
correct Window id's to be of type Window
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkInt.decls (TkpScanWindowId): changed decl to use
Window* instead of int*.
* xlib/xcolors.c:
* generic/tkPack.c,tkWindow.c:
* win/tkWinFont.c,tkWinMenu.c:
* unix/tkUnixScale.c: minor cast fixes to prevent 64bit warnings.
* tests/scrollbar.test (scrollbar-6.27): marked knownBug because
it is skewed by bad dimensions returned by Windows.
* tests/textDisp.test (textDisp-4.12): corrected test to work
properly on Windows.
* tests/id.test,macFont.test,macMenu.test,macscrollbar.test:
* tests/send.test,winClipboard.test,winDialog.test,winFont.test:
improved use of test constraints
* win/tkWinWm.c (WinSetIcon): fixed SetClassLong for 64bit support.
2001-09-20 Jeff Hobbs <jeffh@ActiveState.com>
* unix/configure: regen'ed
* unix/tcl.m4: added --enable-64bit support for HP-11 with the
64-bit kernel.
2001-09-17 Don Porter <dgp@users.sourceforge.net>
* generic/tkGrid.c (ConfigureSlaves):
* generic/tkPack.c (PackAfter): Corrected type definition of
argument passed to Tcl_GetStringFromObj() from size_t to int.
Incorrect type broke [pack] and [grid] on systems where
sizeof(size_t) != sizeof(int). [Bugs 462375, 462342, 462338]
2001-09-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/choosedir.tcl (DblClick):
* library/tkfbox.tcl (OkCmd, ListInvoke): Rewrote so as to avoid
the highly confusing string "text" and to be consistent about what
is and what is not a list. [Bug 459895, reported by fandom]
2001-09-14 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* generic/tkImgGIF.c:
* generic/tkImgPPM.c:
* generic/tkImgPhoto.c:
* generic/tkMenu.c: Applied patch [461578], provided by Vincent
Darley. This fixes several memory leaks in the image code. They
happen if there are errors during the initialization of the
channel the image is supposed to be read from.
2001-09-12 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure:
* unix/tcl.m4: Update from Tcl.
2001-09-12 D. Richard Hipp <drh@hwaci.com>
* library/tkfbox.tcl: fixed error that appeared when you would
click on the canvas while viewing an empty directory.
2001-09-10 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure:
* unix/tcl.m4: Update from Tcl.
2001-09-09 Mo DeJong <mdejong@users.sourceforge.net>
* win/Makefile.in: Fix Windows Makefile so that
tcltest will automatically be compiled if the
user tries to build tktest.
2001-09-09 Mo DeJong <mdejong@users.sourceforge.net>
* win/Makefile.in: Use TKTEST variable directly
instead of depending on the tktest alias.
2001-09-08 Mo DeJong <mdejong@users.sourceforge.net>
* win/mkd.bat:
* win/rmd.bat:
Apply binary property (cvs admin -kb) to files and convert
to CRLF linefeed format to fix the VC++ build. [Tcl Bug #219409]
2001-08-29 Jeff Hobbs <jeffh@ActiveState.com>
* tests/menu.test:
* tests/send.test:
* tests/select.test: corrected to use testConfig constraints in
the TK_ALT_DISPLAY case
* tests/unixSend.test: removed test file completely identical to
send.test. Removed platform specific named file in case somebody
gets send working on Win/Mac in the future.
* tests/config.test: added config-14.1 to test namespace import
evaluation of widgets.
* generic/tkButton.c (ButtonCreate):
* generic/tkFrame.c (CreateFrame):
* generic/tkMenubutton.c (Tk_MenubuttonObjCmd):
* generic/tkPlace.c (Tk_PlaceObjCmd):
* generic/tkScale.c (Tk_ScaleObjCmd):
* generic/tkMessage.c (Tk_MessageObjCmd):
* generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd):
* generic/tkSquare.c (SquareObjCmd): redid the handling of
optionTables in widgets to allow them to be imported into other
namespaces. [Bug #456632]
2001-08-28 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinDialog.c (ChooseDirectoryHookProc): work-around for MS
bug that caused crashing in tk_chooseDirectory on Win95.
[Bug #224936] (baker)
* unix/tkUnixWm.c (TkWmRestackToplevel): reworked how
ConfigureNotify requests were handled in relation to the parent to
avoid the problem with potential 'raise' delays on some wms.
[Bug #220260] (baker) wms that were affected should notice the
difference in tests unixWm-51.* not failing that failed before.
2001-08-26 Don Porter <dgp@users.sourceforge.net>
* library/text.tcl (<Shift-Up> binding): Corrected TIP 44 typo
that broke binding. Thanks to "Michal" for the fix.
[Bug 455468]
2001-08-23 Jeff Hobbs <jeffh@ActiveState.com>
* unix/configure:
* unix/tcl.m4: added QNX-6 build support. [Bug #219410] (loverso)
* doc/CrtPhImgFmt.3: removed bogus note about including tkPhoto.h
2001-08-22 Peter Spjuth <peter.spjuth@space.se>
* generics/tkGrid.c (ConfigureSlaves):
* tests/grid.test: Fixed a bug where adjacent 'x' and '^' where
not handled properly. [Bug #452040]
2001-08-22 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkPack.c (TkParsePadAmount): added lint init for sepChar.
* tests/dialog.test (HitReturn): fixed failing dialog-2.1 test
because it wasn't always getting focus properly.
2001-08-21 Jeff Hobbs <jeffh@ActiveState.com>
* tests/unixFont.test (unixFont-2.[234]): fixed to be more
sensitive on systems that have more installed fonts.
* library/dialog.tcl (tk_dialog): changed dialog to show bar on
Windows as well and added some y padding between the buttons and
the bar. [Patch #442835] (harrismh)
2001-08-20 Peter Spjuth <peter.spjuth@space.se>
* generic/tkInt.h:
* generic/tkWindow.c:
* generic/tkGrid.c:
* generic/tkPack.c:
* tests/grid.test:
* tests/oldpack.test:
* tests/pack.test: Objectified grid and pack commands.
2001-08-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tkObj.c (TkGetWindowFromObj): Rewrote window code to
reuse a previously worked-out set of window information exactly
when the reference window is the same and no window deletions have
occurred since the object was allocated (display has same epoch
counter.) Required changing the internal rep of the window quite
a bit as now need to save three words-worth of information in the
internal rep (this window, reference window, display epoch.)
* generic/tkObj.c (SetWindowFromAny, DupWindowInternalRep,
FreeWindowInternalRep): Code to support new internal rep for
window objects.
* generic/tkInt.h: Added epoch counter to TkDisplay structure
* generic/tkWindow.c (GetScreen, Tk_DestroyWindow): Epoch counter
is incremented every time a window is deleted.
2001-08-18 Peter Spjuth <peter.spjuth@space.se>
* doc/grid.n:
* tests/grid.test:
* generic/tkGrid.c: Grid configure rejected initial "x" and "^".
[Bug #418664]
2001-08-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tkObj.c (TkGetWindowFromObj): Was failing to reuse
cached window objects, forcing a call to Tcl_GetStringFromObj and
Tk_NameToWindow every time. This fault has been in there for
nearly three years...
2001-08-15 Don Porter <dgp@users.sourceforge.net>
* changes: Labelled the TIP 44 changes as "POTENTIAL INCOMPATIBILITY".
Although technically internal changes are not incompatible, they'll
be perceived as such by those who get bitten, and this will help
them find the cause of their trouble.
2001-08-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tk{Util,Font,Cursor,Color,Bitmap,3d}.c: Modified
objtype declarations so that they can be picked up in tkObj.c and
the names are now prefixed with "tk" too.
* generic/tkObj.c (TkRegisterObjTypes):
* generic/tkWindow.c (Initialize):
* generic/tkInt.h: Added code to register Tk's object types with
the Tcl runtime. [Tcl Bug 450545]
2001-08-12 Mo DeJong <mdejong@redhat.com>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
2001-08-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/image2.tcl (loadDir): Converted non-portable
[glob [file join $dirName *]] to [glob -directory $dirName *]
which is both fully portable and more reliable when directory
names contain glob-significant characters. [Bug 223313]
2001-08-08 Don Porter <dgp@users.sourceforge.net>
* tests/dialog.test: New file testing [tk_dialog].
* library/dialog.tcl:
* library/tkfbox.tcl: Corrections to problems introduced by
the TIP 44 changes. [Bug 449261]
* README:
* generic/tk.h:
* unix/configure:
* unix/configure.in:
* unix/tk.spec:
* win/configure:
* win/configure.in: Bumped up patchlevel to 8.4a4 to distinguish
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
2001-08-07 Jeff Hobbs <jeffh@ActiveState.com>
* unix/Makefile.in (dist): added {unix,win}/tcl.m4 and
library/msgs/*.msg to dist target. [Bug: #448802]
2001-08-06 Jeff Hobbs <jeffh@ActiveState.com>
8.4a3 RELEASE
* changes:
* README: updated for 8.4a3 release
* unix/configure: regenerated
* unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
[Patch: #442974]
2001-08-06 Don Porter <dgp@users.sourceforge.net>
* generic/tkConsole.c:
* generic/tkWindow.c:
* library/bgerror.tcl:
* library/dialog.tcl:
* library/msgbox.tcl:
* library/unsupported.tcl:
* mac/tclets.tcl:
* mac/tkMacHLEvents.c:
* mac/tkMacWm.c: TIP 44 changes specific to the Mac and
Windows platforms that were overlooked before: tkOpenDocument,
tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: .
Thanks to Vince Darley for prompting another look.
2001-08-03 Jeff Hobbs <jeffh@ActiveState.com>
* win/winMain.c (WishPanic): fixed CONST changes to go with
CONST-ification in Tcl.
* win/configure: regenerated
* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
This is necessary for TEA compliant builds that build shared
against a static-built Tk.
* win/Makefile.in ($(WISH)): added $(TK_STUB_LIB_FILE) to build
target, otherwise it wouldn't get generated in a static build.
2001-08-01 Don Porter <dgp@users.sourceforge.net>
* doc/console.n:
* doc/menu.n:
* doc/text.n:
* doc/tkvars.n:
* generic/tkBind.c:
* generic/tkMenu.c:
* library/bgerror.tcl:
* library/button.tcl:
* library/choosedir.tcl:
* library/clrpick.tcl:
* library/comdlg.tcl:
* library/console.tcl:
* library/dialog.tcl:
* library/entry.tcl:
* library/focus.tcl:
* library/listbox.tcl:
* library/menu.tcl:
* library/msgbox.tcl:
* library/optMenu.tcl:
* library/palette.tcl:
* library/scale.tcl:
* library/scrlbar.tcl:
* library/spinbox.tcl:
* library/tclIndex:
* library/tearoff.tcl:
* library/text.tcl:
* library/tk.tcl:
* library/tkfbox.tcl:
* library/unsupported.tcl:
* library/xmfbox.tcl:
* mac/tkMacMenu.c:
* tests/clrpick.test:
* tests/filebox.test:
* tests/macMenu.test:
* tests/menu.test:
* tests/menuDraw.test:
* tests/msgbox.test:
* tests/text.test:
* tests/unixMenu.test:
* tests/winMenu.test:
* tests/xmfbox.test:
* unix/mkLinks:
* unix/tkUnixDialog.c: Merged changes from feature branch
dgp-privates-into-namespace, implementing TIP 44. All
Tk commands and variables matching tk[A-Z]* are now in the
::tk namespace. See "BRANCH: dgp-privates-into-namespace"
entries below for details. [FR 220936]
2001-07-24 Mo DeJong <mdejong@redhat.com>
* generic/default.h: Include tkWinDefault.h
when built with Cygwin or Mingw.
2001-07-18 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace:
* doc/console.n: Updated names of private console commands.
2001-07-16 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace:
* library/console.tcl:
* library/unsupported.tcl: Renamed tk::histNum to tk::HistNum
as directed by the Tcl Style Guide.
2001-07-10 Mo DeJong <mdejong@redhat.com>
* unix/Makefile.in: Add AR and STLIB_LD variables.
* unix/configure:
* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
2001-07-06 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
2001-07-05 Mo DeJong <mdejong@redhat.com>
* win/Makefile.in: Subst DEPARG directly instead
of relying on a variable. This will make Cygwin
build faster since an extra exec will be avoided.
* win/configure: Regen.
* win/configure.in: Subst DEPARG.
* win/tcl.m4: Update from Tcl.
2001-07-04 Jeff Hobbs <jeffh@ActiveState.com>
* README:
* mac/README:
* unix/README:
* win/README: updated READMEs with purls
2001-07-03 Jeff Hobbs <jeffh@ActiveState.com>
* tests/canvas.test:
* generic/tkCanvPoly.c (PolygonToArea): Added patch that respects
the polygon difference of including points in the polygon even
when fill is empty. [Bug #226357]
2001-07-03 Mo DeJong <mdejong@redhat.com>
* win/Makefile.in: Remove PATHTYPE variable.
* win/configure: Regen.
* win/configure.in: Don't subst PATHTYPE.
* win/tcl.m4: Update from Tcl.
2001-07-03 Mo DeJong <mdejong@redhat.com>
* win/Makefile.in: Don't use VPSEP, instead just use :
in the VPATH.
* win/configure: Regen.
* win/configure.in: Don't subst VPSEP.
2001-07-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/xmfbox.tcl (tkMotifFDialog_ActivateSEnt): Added missing
backslash [Bug #438247]
2001-07-02 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tkWindow.c (Tk_DestroyWindow): changed to use
Tcl_EventuallyFree instead of ckfree so that widgets that have
references to a tkwin can use them.
* generic/tkCanvArc.c:
* generic/tkCanvBmap.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkRectOval.c: corrected argument handling in
Create<Item> functions that could lead to ABRs or FMRs and
corrected names of argc/argv to objc/objv.
* generic/tkImgGIF.c (Mgetc): corrected screwy use of ternary
operator and possible FMR.
* generic/tkEntry.c: corrected missing Tcl_Release that caused
font not freed complaints when trying valid cleanup calls.
* generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to
prevent FMR errors in Display functions.
* unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale
was deleted while calling its command.
* library/console.tcl:
* library/entry.tcl:
* library/spinbox.tcl:
* library/text.tcl:
* library/tk.tcl: added private ::tk::GetSelection command to
handle requesting selection. This is to support requesting
UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox,
Entry and Console to use this command.
* tests/select.test:
* generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler):
on Unix, a UTF8_STRING handler will be created when the user
requests a STRING handler (in addition to the STRING handler).
This provides implicit support for the new UTF8_STRING selection
target.
* unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added
support for UTF8_STRING target. [RFE #418653, Patch #433283]
* generic/tkInt.h: added utf8Atom to TkDisplay structure.
* tests/listbox.test: changed 'darkblue' to 'white' in a test
because it isn't a portable color name.
* generic/tkEntry.c (DestroyEntry): used Tcl_EventuallyFree
instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]
2001-06-26 Mo DeJong <mdejong@redhat.com>
* unix/Makefile.in:
* win/Makefile.in: Add `make shell` target. This target
will set the proper env vars before invoking wish
from the build directory.
2001-06-26 Mo DeJong <mdejong@redhat.com>
* win/configure:
* win/configure.in: Revert cross compiling change
accidently added during last checkin.
2001-06-26 Mo DeJong <mdejong@redhat.com>
* unix/configure: Regen.
* unix/configure.in: Fix last checkin by removing
export since that only works in bash.
* win/configure: Regen.
* win/configure.in: Ditto.
2001-06-26 Mo DeJong <mdejong@redhat.com>
* unix/configure: Regen.
* unix/configure.in: Set CFLAGS to "" if the user
did not set CFLAGS in the env. This keeps AC_PROG_CC
from adding "-g -O2" to the CFLAGS by default.
* win/configure: Regen.
* win/configure.in: Ditto.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/configure.in: Use RC_DEFINE flag from tcl.m4.
* win/tcl.m4: Update from Tcl.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the
imm32 library when building with mingw gcc.
* win/tkWinX.c: Include the imm.h header
to fix compiling with mingw gcc.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/configure.in: Add resource compiler fix from
8.3.3 to fix compiling with mingw.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/tcl.m4: Fix silly typo in last checkin.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use
new LDFLAGS variable in the Makefile instead of @LDFLAGS@.
* unix/configure: Regen.
* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG,
CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
Remove unused LD_FLAGS subst.
* unix/tcl.m4: Update from Tcl.
* win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
* win/configure: Regen.
* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
* win/tcl.m4: Update from Tcl.
2001-06-22 Mo DeJong <mdejong@redhat.com>
* win/configure:
* win/tcl.m4: Update From Tcl.
2001-06-21 eric melski <ericm@interwoven.com>
* doc/colors.n: Corrected bogus documentation with respect to
several shades of blue, all of which were listed as RGB 0 0 0.
[Bug #432104].
2001-06-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* library/demos/floor.tcl, library/demos/filebox.tcl,
* library/demos/clrpick.tcl, library/demos/vscale.tcl,
* library/demos/twind.tcl, library/demos/ruler.tcl,
* library/demos/plot.tcl, library/demos/items.tcl,
* library/demos/hscale.tcl, library/demos/ctext.tcl,
* library/demos/cscroll.tcl, library/demos/arrow.tcl,
* library/xmfbox.tcl, library/msgbox.tcl,
* library/clrpick.tcl, library/bgerror.tcl: Braced expressions.
2001-06-06 Mo DeJong <mdejong@redhat.com>
* win/configure: Regen.
* win/configure.in: Handle the --prefix option correctly
it should default to /usr/local like the unix version.
2001-06-03 Jeff Hobbs <jeffh@ActiveState.com>
* doc/selection.n:
* doc/clipboard.n: added SEE ALSOs to cross-reference selection
and clipboard, with extra note for clipboard command in selection
docs. [Patch #422256]
* unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode)
fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in
Tk on Unix that is used for those fonts (X11 requires
big-endianness). (welch) [Patch #406411; Bug #220890 #220899]
This differs from the 8.3.3 patch by not adding ucs-2be in the
preferred encodingList (seems works fine without).
Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]
2001-05-30 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinKey.c (TkpSetKeycodeAndState): removed old debug info
2001-05-29 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinX.c: moved the initialization of tkPlatformId from
TkWinXInit to TkWinGetPlatformId because static builds could call
it before it was initialized. [Bug #427278]
2001-05-28 Peter Spjuth <peter.spjuth@space.se>
* generic/tkFrame.c:
* generic/tkWindow.c:
* tests/frame.test: Upgraded frame to use the newer TK_OPTION
style when processing configuration options. Some cleanup of
bad comments and bad code. [part of patch #420861]
2001-05-23 Mo DeJong <mdejong@redhat.com>
* unix/configure:
* unix/tcl.m4:
* win/configure:
* win/tcl.m4: Sync from Tcl sources.
2001-05-21 Jeff Hobbs <jeffh@ActiveState.com>
* unix/tcl.m4: sync'ed up wih Tcl tcl.m4. [Bug #419812]
* doc/TkInitStubs.3:
* generic/tk.h:
* generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST
changes to Tcl_PkgRequireEx.
2001-05-21 Todd M. Helfter <tmh@purdue.edu>
* doc/menubutton.n:
* generic/tkMenubutton.c:
* generic/tkMenubutton.h:
* mac/tkMacMenubutton.c:
* tests/menubut.test:
* unix/tkUnixMenubu.c: Implementation of TIP #11, the addition of
a -compound option to the menubutton allowing text and an image to
be displayed at the same time. This behavior is identical to the
behavior of the button widget.
2001-05-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/console.n: Added - was erroneously placed in Tcl before...
2001-04-25 Mo DeJong <mdejong@redhat.com>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
2001-04-25 Mo DeJong <mdejong@redhat.com>
* unix/configure: Regen.
* unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB
commands instead of using a delayed subst variable. Replace
instances of STUB_LIB_FILE with TK_STUB_LIB_FILE.
2001-04-25 Mo DeJong <mdejong@redhat.com>
* unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
* unix/configure: Regen.
* unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
instead.
2001-04-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tkImage.c (Tk_ImageObjCmd,DeleteImage): Better detection
of deletion when world is falling apart. [Bug #220819]
2001-04-04 Jeff Hobbs <jeffh@ActiveState.com>
* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of
service mode to only occur when it was set. [Bug #220948]
2001-04-03 Jeff Hobbs <jeffh@ActiveState.com>
* tests/winClipboard.test: improved results for understanding when
tests fail.
* tests/winDialog.test: string totitle'd some results that
expected [pwd] to return a capital drive letter.
* tests/cursor.test: changed tests to use 'heart' cursor because
'arrow' on windows has a pre-skewed use count.
* win/tkWinDialog.c (GetFileNameA): initialize multi to 0.
2001-04-02 Jeff Hobbs <jeffh@ActiveState.com>
* win/configure:
* win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]
* generic/tkMenu.c (TkInvokeMenu): checked for menu deletion
before calling associated menu entry command. [Bug #220821]
* doc/image.n: added warning about names chosen for images.
* generic/tkImgPhoto.c (ImgPhotoCmd): corrected the src and dest
values for $imageName put when -format and -to are used.
[Bug #232741]
* tests/listbox.test: added test listbox-27.1, delete during
scrollbar update
* generic/tkListbox.c (DestroyListbox, ListboxEventProc):
corrected listbox to make proper use of Tcl_EventuallyFree and
protect against unusual listbox deletion.
* tests/entry.test: added tests entry-20.*, delete during widget
activity
* generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the
entry widget to survive deletion while processing scrollbar
updates and validation.
* tests/canvas.test: test of canvas delete during event
* generic/tkCanvas.c (DestroyCanvas, CanvasEventProc): fixed the
canvas to survive deletion during event processing. [Bug #228024]
2001-04-01 Jeff Hobbs <jeffh@ActiveState.com>
* README:
* mac/README: updated patchlevel to 8.4a3 and corrected links and
notes.
* generic/tk.h:
* unix/configure.in (TK_PATCH_LEVEL):
* unix/configure:
* unix/tk.spec:
* win/configure.in (TK_PATCH_LEVEL):
* win/configure: updated patchlevel to 8.4a3
2001-03-30 Jeff Hobbs <jeffh@ActiveState.com>
* tests/safe.test: added note about correcting failures in
safe.test.
* library/tk.tcl: moved package require msgcat inside if case to
not be used in safe interps.
* win/makefile.vc:
* win/configure:
* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
* win/tkWinInt.h:
* win/tkWinKey.c:
* win/tkWinX.c: added support for changing IME on the fly in
Windows (2000). (lam) [Patch #402993]
* tests/bind.test (bind-22.18):
* generic/tkBind.c (NameToWindow): handled the error case where a
valid-looking but invalid identifier could be passed in certain
event generate options causing a crash. [Bug #411307]
* win/tkWinWm.c (UpdateWrapper): ensured that the passed in winPtr
had an existent window to operate on. [Bug #409172]
* win/Makefile.in (install-*): improved install-* targets to use
their base build dependency.
* generic/tkImage.c (Tk_ImageObjCmd, EventuallyDeleteImage):
added casts to allow compiling on Windows with debbuging.
2001-03-29 Jeff Hobbs <jeffh@ActiveState.com>
* library/msgs/de.msg: fixed translations. [Patch #403525]
* doc/canvas.n: Noted ability to specify coords as a list in the
docs. (techentin) [Patch #403660]
* tests/canvas.test: added test case to check obj conversion
* generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better
obj-aware screen distances. (pgbaum, hobbs) [Patch #403327]
* library/bgerror.tcl (bgerror): allow focus into details window
for Windows C&P to work. [Bug #220929]
* library/tk.tcl: put a catch around adding <hpBackTab> to the
<<PrevWindow>> virtual event as it doesn't seem to work on all HP
systems. [Bug #411669]
* library/tkfbox.tcl: fixed selecting directories and single files
with spaces using tk_getOpenFile -multiple 1. [Bug #411640]
* win/tkWinDialog.c (GetFileNameA): added support for -multiple to
ascii-based tk_getOpenFile (Win9*). (haneef) [Patch #403047]
(GetFileNameW): increased number of files that could be returned
by tk_getOpenFile -multiple. [Patch #412042]
2001-03-29 Mo DeJong <mdejong@redhat.com>
* library/entry.tcl (tkEntryMouseSelect):
* library/text.tcl (tkTextSelectTo): When
the mouse is dragged with the button down,
move the insertion cursor to the current
mouse position.
* tests/event.test: Add a series of tests
for event generation. Add tests for selection,
check the position of the insertion cursor.
2001-03-28 Jeff Hobbs <jeffh@gimlet.activestate.com>
* unix/configure:
* unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
(english) [Patch 403626]
2001-03-28 Don Porter <dgp@users.sourceforge.net>
* tests/focus.test (focus-6.1):
* tests/macEmbed.test (unixEmbed-5.1):
* tests/macMenu.test (macMenu-21.3):
* tests/menu.test (menu-27.1):
* tests/unixEmbed.test (unixEmbed-8.2):
* tests/unixWm.test (unixWm-50.4): Replaced all [load {} tk]
in Tk test suite with [load {} Tk]. [Bug 220940, Patch 411952]
2001-03-12 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace:
* doc/menu.n:
* unix/mkLinks: Added documentation for [tk_menuSetFocus].
2001-03-12 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace:
* doc/text.n:
* doc/tkvars.n:
* unix/mkLinks: Added documentation for commands and variables
matching tk_text*.
2001-03-08 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace:
* generic/tkTextDisp.c:
* library/unsupported.tcl:
* tests/textDisp.test: Restored the global variables tk_textRedraw
and tk_textRelayout. Since they match tk_*, they should remain
publicly available until at least Tk 9.
2001-03-01 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace:
* library/unsupported.tcl: New file for Tk's unsupported
interfaces. Contains [tk::unsupported::ExposePrivateCommand]
and [tk::unsupported::ExposePrivateVariable] that restore the
availability of an old public name of one of Tk's private
commands and variables, respectively, for those applications
and extensions that depend on the old names against advice.
2001-02-28 Don Porter <dgp@users.sourceforge.net>
BRANCH dgp-privates-into-namespace: Feature branch to move all
of Tk's private commands and variable into the ::tk namespace
and its children.
* doc/tkvars.n: Documented private variable tkPriv renamed tk::Priv.
* generic/tkBind.c:
* generic/tkMenu.c:
* generic/tkTextDisp.c:
* library/bgerror.tcl:
* library/button.tcl:
* library/choosedir.tcl:
* library/clrpick.tcl:
* library/comdlg.tcl:
* library/console.tcl:
* library/dialog.tcl:
* library/entry.tcl:
* library/focus.tcl:
* library/listbox.tcl:
* library/menu.tcl:
* library/msgbox.tcl:
* library/optMenu.tcl:
* library/palette.tcl:
* library/scale.tcl:
* library/scrlbar.tcl:
* library/spinbox.tcl:
* library/tclIndex:
* library/tearoff.tcl:
* library/text.tcl:
* library/tk.tcl:
* library/tkfbox.tcl:
* library/xmfbox.tcl:
* mac/tkMacMenu.c:
* tests/clrpick.test:
* tests/filebox.test:
* tests/macMenu.test:
* tests/menu.test:
* tests/menuDraw.test:
* tests/msgbox.test:
* tests/text.test:
* tests/textDisp.test:
* tests/unixMenu.test:
* tests/winMenu.test:
* tests/xmfbox.test:
* unix/tkUnixDialog.c: All Tk commands matching ::tk[A-Z]* and
all Tk private variables in the global namespace were renamed to
live in the namespace ::tk or one of its children.
2001-02-13 Eric Melski <ericm@interwoven.com>
* doc/photo.n: [Bug 132213] Added clarification on interpretation
of ranges for "photoName data -from" subcommand.
2001-02-12 D. Richard Hipp <drh@hwaci.com>
TIP #21: Asymmetric padding in the pack and grid geometry managers.
With this changes, you can now say "-padx {10 20}" to put 10 pixels
of padding on the left and 20 on the right. Similar rules apply
for vertical padding. See the revised documentation for details.
2001-01-02 Andreas Kupries <a.kupries@westend.com>
* Everything below belongs together and implements TIP #8
(SF patch #102833).
* win/tkWinWm.c (line 56f): Added icon structures.
* win/tkWinWm.c (struct WmInfo, line 242): Added reference to
optional icon for titlebar.
* win/tkWinWm.c (struct ThreadSpecificData, line 335): Added
reference to optional default icon for toplevel windows.
* win/tkWinWm.c (line 387 ... 1169): All the new functions required
to deal with icon specifications, 'InitWm' changed.
* win/tkWinWm.c (TkWmNewWindow, UpdateWrapper, TkWmDeadWindow, Tk_WmCmd):
Added initialization and handling of the new fields.
* doc/wm.n: Documentation updated to explain the newly available
functionality.
2000-12-13 jeff hobbs <jhobbs@interwoven.com>
* generic/tkObj.c (SetMMFromAny): Added ability to recognize
double type object to speed up canvas coord calculations.
[Patch 403327]
2000-12-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/entry.n: Improved documentation of interplay between the
-state and -textvariable options.
2000-11-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* tests/image.test (image-1.10): Improved this test, which
previously only worked if the command failed to delete the root
window, and caused *major* trouble otherwise...
* generic/tkImage.c (EventuallyDeleteImage): Created this function
so that images that get deleted during the creation of an image
won't cause a nasty core dump. Properly fixes bug #120819.
2000-11-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/image.n:
* generic/tkImage.c (Tk_ImageObjCmd): Backed out previous change.
Bug #120819 is back again in force. Left the test in there
though.
2000-11-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/image.n:
* tests/image.test (image-1.10):
* generic/tkImage.c (Tk_ImageObjCmd): Prohibited image names that
start with "." since they can cause some really obscure
crashes. Fixes Bug #120819.
2000-11-21 Eric Melski <ericm@ajubasolutions.com>
Overall change: Implemented TIP 5, which exports
TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
adding a size field to Tk_ClassProcs to allow for future
expansion, and renaming the geometryProc to worldChangedProc,
which is more in keeping with the actual use of the callback.
* unix/mkLinks: Added link for Tk_SetClassProcs.
* doc/SetClassProcs.3: Documentation for
Tk_ClassProcs/Tk_SetClassProcs.
* generic/tkCanvas.c:
* generic/tkEntry.c:
* generic/tkFrame.c:
* generic/tkListbox.c:
* generic/tkMenu.c:
* generic/tkMessage.c:
* generic/tkScale.c:
* generic/tkText.c: Updated to use Tk_ClassProcs/Tk_SetClassProcs
instead of TkClassProcs/TkSetClassProcs.
* generic/tkMenubutton.c:
* generic/tkScrollbar.c:
* generic/tkButton.c: Updated to use Tk_SetClassProcs instead of
TkSetClassProcs.
* generic/tkMenubutton.h:
* generic/tkScrollbar.h:
* generic/tkButton.h:
* win/tkWinButton.c:
* win/tkWinScrlbr.c:
* mac/tkMacButton.c:
* mac/tkMacMenubutton.c:
* mac/tkMacScrlbr.c:
* unix/tkUnixButton.c:
* unix/tkUnixMenubu.c:
* unix/tkUnixScrlbr.c: Updated to use Tk_ClassProcs instead of
TkClassProcs.
* generic/tkDecls.h:
* generic/tkStubInit.c:
* generic/tkIntDecls.h: Regenned from tk.decls, tkInt.decls.
* generic/tk.h: Added declaration of Tk_ClassProcs, with size
field. Added typedef's for Tk_ClassCreateProc,
Tk_ClassWorldChangedProc, Tk_ClassModalProc. Added definition of
Tk_GetClassProc macro, shorthand for extracting a member of the
Tk_ClassProcs structure.
* generic/tkInt.h: Removed declaration of TkClassProcs,
TkClassGeometryProc, etc.
* generic/tkBind.c (Tk_BindEvent): Updated to use Tk_GetClassProc
macro to extract modalProc; added check that the modalProc is non-NULL.
* generic/tkFont.c (RecomputeWidgets): Updated to use
Tk_GetClassProc macro to extract worldChangedProc; added comment
about the choice of a recursive versus iterative algorithm for
propagating world changed messages.
* generic/tkWindow.c (Tk_MakeWindowExist): Updated to use
Tk_GetClassProc macro to extract createProc from Tk_ClassProcs.
* generic/tk.decls: Added declaration for Tk_SetClassProcs.
* generic/tkInt.decls: Commented out declaration for
TkSetClassProcs, which is made public by this change. The entry
is left in place, but commented, so that future developers will
know not to reuse it's stub number.
2000-11-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/ConfigWidg.3: Added deprecation note from Bug #120944 - use
Tk_SetOption() instead.
* generic/tkImgPhoto.c (TkPhotoGetValidRegion): Applied patch to
create this function and add it to tkInt stubs. Should now be
possible to write an extension that accesses the transparency data
in a photo image. Bug #120930
2000-11-03 Jeff Hobbs <hobbs@ajubasolutions.com>
8.4a2 RELEASE
* generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop.
This only has effect when tclsh is run (not wish), and then Tk is
loaded in interactively.
2000-11-02 Jeff Hobbs <hobbs@ajubasolutions.com>
* win/tkWinButton.c:
* win/tkWinDialog.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c: fixed up code for Win64 support. This mostly
remains in _WIN64 #ifdef's, until updated compilers are standard.
* win/tcl.m4:
* win/makefile.vc: updated for Win64 compile support
* unix/configure:
* win/configure: checked in configure scripts so people doing
CVS checkouts aren't required to have autoconf. Changes to
configure.in in the future will require the corresponding
configure script to also be re-autoconf'ed and checked in.
* doc/event.n: added note that key events require window focus.
2000-11-01 Jeff Hobbs <hobbs@ajubasolutions.com>
* win/tkWinDialog.c (GetFileNameW, GetFileNameA,
Tk_ChooseDirectoryObjCmd): created
work-around for change in NT5.0/98 that caused no initialdir
setting to open the browser up in the user's documents dir.
* tests/color.test: marked color-2.6 nonPortable as we can't
reliably assume what 'red' maps to.
2000-11-01 Eric Melski <ericm@ajubasolutions.com>
* tests/winDialog.test: Corrected expected results for bad option
tests (5.2, 5.5) to include -multiple option.
* win/tkWinDialog.c: Added branch for 0 return from
CommDlgExtendedError() switches; this was formerly treated as an
error, but it actually is not, since it just means the user hit
cancel or closed the dialog. (GetFileNameW): Added better smarts
such that -multiple is not considered a valid option for
tk_getSaveFile.
Removed CommDlgExtendedError() checks for color and choosedir
dialogs, and removed all except the explicit invalid filename
checks for the file dialogs.
2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/rc/tk.rc:
* win/rc/tk_base.rc (new):
* win/rc/wish.rc: Added logic to derive filenames better in the
resource scripts based on compile options along with better
support for building a static wish shell with cursor resources.
2000-10-27 Jeff Hobbs <hobbs@ajubasolutions.com>
* unix/tcl.m4: added support for AIX-5.
* tests/tk.test:
* doc/tk.n: updated to reflect default on status of useinputmethods.
* library/tk.tcl: tk useinputmethods is set to 1 by default. This
enables Kanji and dead-char input by default. Intro'd in
1999-12-16 with default off to avoid some problems with older X
servers that would slow down widget creation over time.
* win/Makefile.in (test, winhelp, tktest): corrected the
TCL_LIBRARY path specification.
2000-10-18 Eric Melski <ericm@ajubasolutions.com>
* win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368],
which corrects rendering of 1-pixel wide stippled lines on Windows.
* generic/tkCanvLine.c (DisplayLine): Applied patch from
[Bug: 6368], corrects bugs relating to use of active- and
disabledwidth values for displaying lines (disabledwidth was never
used, and activewidth/disablewidths would only possibly be used
when greater than default width, rather than when simply not equal
to default width).
* library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],
which adds safety for directory names containing spaces or which
are non-lists.
* win/tkWinDialog.c (GetFileNameW, GetFileNameA,
Tk_ChooseColorObjCmd, Tk_ChooseDirectoryObjCmd): Added error
checking for the return value from the common dialog functions, so
that the commands will not silently fail if the common dialog
returns an error. [Bug: 6369].
2000-10-10 Eric Melski <ericm@ajubasolutions.com>
* generic/tkConfig.c (Tk_InitOptions): Added
Tcl_IncrRefCount/Tcl_DecrRefCount calls on valuePtr, to prevent
memory leaks when the value object comes from the option
database. [Bug: 6275].
2000-10-06 Jeff Hobbs <hobbs@ajubasolutions.com>
* win/Makefile.in (cat32.${OBJEXT}): add win/ subdirectory to
cat32 target to correctly find the source file.
2000-10-05 Eric Melski <ericm@ajubasolutions.com>
* generic/tkCmds.c (Tk_WinfoObjCmd): Added check for
TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if
set, the window will not be printed in the list of children.
* doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow.
* generic/tkWindow.c
(Tk_CreateAnonymousWindow): New API for creating anonymous
windows. These windows are manipulable from C, but not from Tcl,
because they have no pathname associated with them. They are used
initially by widgets that do rubber-band resizing (panedwindow,
multi-column listbox, etc.), and may be useful for other widgets
as well (dropbox, combobox).
(Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when
determining whether to generate a DestroyNotify event.
* generic/tkStubInit.c:
* generic/tkDecls.h: Regen'd from tk.decls.
* generic/tk.decls: Added Tk_CreateAnonymousWindow declaration.
* generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
2000-10-04 Eric Melski <ericm@ajubasolutions.com>
* doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles direct
descendants properly.
* generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for
the case in which the slave window is a direct descendant of the
master window. In this case, we need not set up the additional
infrastructure normally provide by Tk_MaintainGeometry, because we
can rely on the parent/child relationship to handle it for us
implicitly. In this case, Tk_MaintainGeometry just calls directly
to Tk_MoveResizeWindow. This allows geometry managers to simply
always use Tk_MaintainGeometry to maintain geometry for slaves,
and avoid doing the direct descendant check themselves.
(Tk_UnmaintainGeometry): Added a matching check for the direct
descendant case; in this case, Tk_UnmaintainGeometry simply
returns immediately.
2000-10-01 Eric Melski <ericm@ajubasolutions.com>
* generic/tkButton.c (ConfigureButton): Added tests for -compound
option, so that when there is a textvariable and an image, and
-compound is not none, the button will display both the
textvariable and the image.
* doc/SetOptions.3: Added note that restoreProc and freeProc may
be NULL.
* generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options,
added test that the restoreProc is not NULL, to allow for custom
options that don't care about supporting Tk_RestoreSavedOptions.
2000-09-29 D. Richard Hipp <drh@hwaci.com>
* generic/tkBitmap.c: Changes to prevent a BadMatch error from the
Xserver when the same bitmap is used on two or more screens of the
same display.
* tests/menu.test: Print a warning if the TK_ALT_DISPLAY environment
variable is not configured so as to test for the bug fix above.
* library/tk.tcl (::tk::SetGrabFocus): "Catch" the grab in case
another application already holds the grab and the "grab" command
fails.
2000-09-29 Jeff Hobbs <hobbs@scriptics.com>
* win/Makefile.in: commented use of TESTFLAGS
* unix/Makefile.in: added TESTFLAGS to test and testlang targets to
conform with Windows makefile and TEA style.
2000-09-29 Eric Melski <ericm@ajubasolutions.com>
* generic/tkTest.c: Fixed tests to use updated API.
* doc/SetOptions.3:
* generic/tk.h:
* generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc
and Tk_CustomOptionGetProc; these now take a pointer to the start
of the widget record, and an integer offset to the slot for the
option value, instead of just a pointer to the slot. This allows
more sophisticated options to do interesting things based on other
data in the widget record.
2000-09-17 Eric Melski <ericm@ajubasolutions.com>
* generic/tk.h: Added declaration of Tk_ObjCustomOption structure,
used for TK_OPTION_CUSTOM, and typedef's of the functions
Tk_CustomOptionSetProc, Tk_CustomOptionGetProc,
Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for
TK_OPTION_CUSTOM.
* doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and
section "CUSTOM OPTION TYPES" explaining how to create and use
custom options.
* tests/config.test: Added tests for custom option type.
* generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to
TestobjconfigObjCmd. Added CustomOption* functions to implement a
test custom option.
* generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM,
which allows the definition of custom option types by creating
parsing, printing, freeing, and restoring procedures for a custom
option. This is needed by the text and canvas widgets if they are
to be fully objectified.
2000-09-07 Jeff Hobbs <hobbs@scriptics.com>
* doc/Tk_Init.3:
* doc/bell.n:
* doc/loadTk.n: minor doc cleanup
2000-09-06 Eric Melski <ericm@ajubasolutions.com>
* doc/HWNDToWindow.3:
* doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h
should be included, not tk.h.
* generic/tkPlatDecls.h: Removed #include <windows.h> for Windows,
a better solution for now is to update the docs and have extension
authors #include <tkPlatDecls.h>.
* generic/tk.h: Removed '#include "tkPlatDecls.h"', as the
incorrect inclusion order between windows.h/tkPlatDecls.h causes
build conflicts on Windows.
* generic/tkPlatDecls.h: Added #include <windows.h> for Windows,
so that HWND, etc., are defined properly.
2000-09-06 Jeff Hobbs <hobbs@scriptics.com>
* doc/canvas.n: fixed doc bug (ellson). [Bug: 6218]
* README:
* generic/tk.h:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in: updated to patchlevel 8.4a2
* generic/tkMessage.c (MessageWidgetObjCmd): initialized result to
avoid pedantic warning.
* generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t to
int to fix pedantic warning.
2000-09-01 Eric Melski <ericm@ajubasolutions.com>
* win/makefile.vc (install-libraries):
* win/Makefile.in (install-libraries):
* unix/Makefile.in (install-libraries): Added tkPlatDecls.h to
list of header files to install.
* generic/tk.h: Added #include "tkPlatDecls.h", which declares the
platform specific component of the public Tk stubs API's.
2000-08-29 Eric Melski <ericm@ajubasolutions.com>
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC
for determining the source's logical coordinates. Patch from
[Bug: 6134 (Markus Oberhumer)].
* win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[]
under Windows NT/2000 in the same way as under Windows 95/98.
Patch from [Bug: 6134 (Markus Oberhumer)].
* win/tkWinFont.c (GetScreenFont): Added a memset() to
pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)].
* library/tkfbox.tcl (::tk::dialog::file::Update): Corrected
handling of multi-pattern filters (eg, "* *.*"), which was broken
by the getOpenFile performance patches applied earlier.
2000-08-24 Eric Melski <ericm@ajubasolutions.com>
* doc/toplevel.n:
* doc/spinbox.n:
* doc/scrollbar.n:
* doc/scale.n:
* doc/menubutton.n:
* doc/menu.n:
* doc/listbox.n:
* doc/entry.n:
* doc/frame.n:
* doc/message.n:
* doc/checkbutton.n:
* doc/radiobutton.n:
* doc/button.n:
* doc/label.n:
* doc/canvas.n:
* doc/text.n: Fixed Standard Options section to make best use of
new tab settings in man.macros.
2000-08-24 Mo DeJong <mdejong@redhat.com>
* unix/README: Update to account for removal of --enable-gcc.
* unix/configure.in:
* unix/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
* win/configure.in:
* win/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
Remove quick hack that provided cross compile support for
windows builds.
2000-08-23 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkButton.c (ButtonTextVarProc): reversed change below,
it was not correct.
2000-08-22 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkButton.c (ButtonTextVarProc): changed order of
incr/decr of new value object, in case they are equal.
2000-08-18 Eric Melski <ericm@ajubasolutions.com>
* generic/tkImgPhoto.c (ImgPhotoGet): Removed redundant call to
DitherInstance; this call was formerly being made from
ImgPhotoGet->ImgPhotoConfigureInstance->DitherInstance, and
ImgPhotoGet->DitherInstance. The second call was removed.
2000-08-10 Jeff Hobbs <hobbs@scriptics.com>
* doc/SetOptions.3: added missing ')'.
2000-08-09 Eric Melski <ericm@ajubasolutions.com>
* doc/SetOptions.3: Updated documentation to reflect support for
TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS.
* generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for
TK_OPTION_DOUBLE and TK_OPTION_PIXELS.
* doc/place.n: Updated, reformatted manual entry.
* tests/place.test: Added many tests.
* generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk
widget-option management facilities to manage place options (-x,
-y, etc.), which simplifies the placer code. Added support for
[place configure pathName] and [place configure pathName -option],
similar to the behavior of the configure subcommand supported by
widgets.
2000-08-08 Eric Melski <ericm@ajubasolutions.com>
* tests/place.test: Extended test suite to test error returns from
[place].
* generic/tkInt.h: Replaced Tk_PlaceCmd prototype with
Tk_PlaceObjCmd prototype.
* generic/tkWindow.c: Updated [place] command entry to use new
Tcl_Obj interface.
* generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.
2000-08-07 Eric Melski <ericm@ajubasolutions.com>
* generic/tkWindow.c: Updated [selection] command entry to use
new Tcl_Obj interface.
* generic/tkInt.h: Replaced Tk_SelectionCmd prototype with
Tk_SelectionObjCmd prototype.
* tests/select.test: Updated test suite to recognize standardized
error messages.
* generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified
[selection] command.
2000-08-07 Jeff Hobbs <hobbs@scriptics.com>
* doc/cursors.n: changed .SS to more compatible macros.
2000-08-05 Jeff Hobbs <hobbs@scriptics.com>
* library/safetk.tcl: rationalized the setting of tk_library when
initialized Tk in a safe interpreter.
2000-08-03 Eric Melski <ericm@ajubasolutions.com>
* generic/tkWindow.c: Updated "grab" command entry to use
Tcl_Obj'ified command.
* generic/tkInt.h: Replaced Tk_GrabCmd prototype with
Tk_GrabObjCmd prototype.
* tests/grab.test: Initial suite of tests for [grab] command.
* generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command.
* generic/tkInt.h: Removed Tk_AfterCmd function prototype; the
function does not exist (since 4.0p3). Cleaned up some line
wrapping.
* generic/tk.h: Removed "#define Tk_AfterCmd Tcl_AfterCmd";
nothing in the core uses Tk_AfterCmd, and Tcl_AfterCmd doesn't exist
anymore anyway.
* generic/tkInt.h: Replace Tk_BindCmd prototype with
Tk_BindObjCmd prototype.
* generic/tkWindow.c: Updated "bind" command entry to use
Tcl_Obj'ified command.
* generic/tkCmds.c (Tk_BindObjCmd): Tcl_Obj'ified [bind] command.
* tests/bind.test: Tweaked expected error messages for [bindtags]
to comply with updated error messages.
* generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd
with equivalent calls to Tk_BindtagsObjCmd.
* generic/tkInt.h: Replace Tk_BindtagsCmd prototype with
Tk_BindtagsObjCmd prototype.
* generic/tkWindow.c: Updated "bindtags" command entry to use
Tcl_Obj'ified command.
* generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags]
command.
2000-08-02 Eric Melski <ericm@ajubasolutions.com>
* generic/tkCmds.c (Tk_TkwaitObjCmd): Tcl_Obj'ified [tkwait] command.
* generic/tkWindow.c: Updated "tkwait" command entry to use
Tcl_Obj'ified command.
* generic/tkInt.h: Replace Tk_TkwaitCmd prototype with
Tk_TkwaitObjCmd prototype.
* generic/tkGrid.c (Tk_GridCmd): Split [grid] subcommands into
separate functions instead of inlining them all in Tk_GridCmd.
2000-08-01 Eric Melski <ericm@ajubasolutions.com>
* generic/tkInt.h: Replaced prototype for Tk_MessageCmd with
prototype for Tk_MessageObjCmd.
* generic/tkWindow.c: Marked message command as using the new
MessageObjCmd instead of the old MessageCmd.
* tests/message.test: Added tests for the message widget.
* generic/tkMessage.c: Obj'ified the message widget.
* generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added
prototype for Tk_ClipboardObjCmd.
* generic/tkWindow.c: Updated function pointers for clipboard
command to use Tcl_Obj version.
* tests/clipboard.test: Updated tests to expect standard error
messages.
* generic/tkClipboard.c (Tk_ClipboardObjCmd): Obj'ified
Tk_ClipboardCmd -> Tk_ClipboardObjCmd.
2000-07-28 Eric Melski <ericm@ajubasolutions.com>
* unix/tkUnixButton.c (TkpDisplayButton): Added bits to change
the indicator color when radio-/check-buttons are disabled. This
reduces the visual incongruity when a group of these controls are
disabled together.
* win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit
for disabled menu entries, to ensure that those which are drawn by
the system are shown grayed (such as entries on menubars) [Bug: 4372].
* doc/label.n: Added -disabledforeground to list of options [Bug:
6053].
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h: Added default values for listbox
disabledforeground and state.
* win/tkWinDefault.h: Changed default listbox background color to
white and listbox selection borderwidth to 0, in keeping with the
"Microsoft Windows User Experience"; added default values for
listbox disabledforeground and listbox state.
* doc/listbox.n: Added documentation for -state option.
* generic/tkListbox.c: Added support for -state to listbox. [RFE:
6052].
* tests/listbox.test: Tests for listbox disabled state.
2000-07-27 Mo DeJong <mdejong@redhat.com>
* win/configure.in: TCL_STUB_LIB_FLAG and
TK_STUB_LIB_FLAG should not include ${TCL_DBGX}
in win/tkConfig.sh, fix that.
2000-07-25 Joe English <jenglish@flightlab.com>
* doc: CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3,
FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n:
Documentation fix: Replaced references to XFontStruct *
and Tk_FontStruct with Tk_Font.
2000-07-24 Eric Melski <ericm@ajubasolutions.com>
* tests/text.test: Added tests for -regexp -nocase searches with
backslash character classes.
* generic/tkText.c (TextSearchCmd): Text search did not work
properly when -regexp and -nocase were used, in combination with
backslash character classes represented by capital letters (ie,
\W, \M); altered implementation of -regexp -nocase searches to use
new regexp interfaces to fix this problem. [Bug: 5988].
2000-07-21 Eric Melski <ericm@ajubasolutions.com>
* tests/text.test: Added tests for searching when text is elided.
* generic/tkText.c (TextSearchCmd): Text search was not returning
the correct index when the search covered (but did not search)
elided characters; corrected this by adjusting the match index by
the number of elided characters preceeding the start of the match,
just as is done with embedded windows, etc. [Bug: 5470].
2000-07-21 Mo DeJong <mdejong@redhat.com>
* win/configure.in: Add TK_STUB_LIB_FLAG and
TK_BUILD_STUB_LIB_SPEC. These are needed to build a stub enabled
extension.
2000-07-20 Eric Melski <ericm@ajubasolutions.com>
* unix/tkUnixDraw.c (TkScrollWindow): Replaced a use of a trinary
operator with an if/else, to avoid build problems on some
platforms [Bug: 5819].
* win/makefile.vc: Applied patch from Don Porter to enhance nmake
support on NT/Alpha [RFE: 5939].
2000-07-19 Eric Melski <ericm@ajubasolutions.com>
* library/text.tcl: Enhanced <Tab> binding to behave like normal
<Tab> bindings when the text widget is disabled (ie, it advances
focus to the next widget).
* generic/tkText.c (TextSearchCmd): Added a test for a NULL
segment pointer when doing backwards searches for "" on an empty
text widget. [Bug: 6007].
2000-07-18 Mo DeJong <mdejong@redhat.com>
* unix/aclocal.m4: Use tcl.m4.
* unix/configure.in: Properly quote LOCALES variable. Properly quote
argument to m4 macro.
* unix/tcl.m4: Add updated file from tcl.
* win/tcl.m4: Updated file from tcl.
2000-07-18 Eric Melski <ericm@ajubasolutions.com>
* library/tkfbox.tcl: Fixed keyboard navigation in the iconlist.
* unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIB
for shared builds, with patch from Mike Hopkirk.
2000-07-18 Mo DeJong <mdejong@redhat.com>
* win/Makefile.in: Fix TCL_GENERIC_DIR variable
so that it uses the TK_SRC_DIR in the same way
as the unix version.
2000-07-17 David Gravereaux <davygrvy@ajubasolutions.com>
* generic/tkConsole.c: Added comments for a Win2K OS bug with
GetStdHandle(STD_OUTPUT_HANDLE). No change was done to the code
as the resulting behaviour of ShouldUseConsoleChannel() was
correct, anyways. [BUG: 5971]
2000-07-17 Eric Melski <ericm@scriptics.com>
* generic/tkStubImg.c (Tk_InitImageArgs): Applied patch from [Bug:
5990], from Anselm Lingnau, which correctly sets the value of
useNewImage to 0 when the new image system is not to be used,
instead of leaving it at -1, which causes the check to be
performed more times than is really necessary.
* library/bgerror.tcl: Fixed a typo in one of the bgerror dialog
label.
* library/msgs/it.msg: Italian message catalog, from Paolo
Brutti. [RFE: 6012].
2000-07-07 Eric Melski <ericm@ajubasolutions.com>
* library/msgs/el.msg: Greek message catalog, from George Petasis.
2000-07-07 Mo DeJong <mdejong@redhat.com>
* win/configure.in: Fix subst of TK_SHARED_BUILD
variable in tkConfig.sh.in. Fix definition of
TK_SRC_DIR variable so that it matches the
unix version.
2000-07-05 Mo DeJong <mdejong@redhat.com>
* generic/tkFileFilter.c (AddClause): Cast to match function prototype.
* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
Remove unused declarations.
* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
function declarations.
* win/tkWinDialog.c (TrySetDirectory): Remove unused function
declaration.
* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function
prototype.
* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused
declaration.
* win/tkWinWindow.c (StackWindow): Remove unused declaration.
* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
* win/tkWinX.c (winXMutex): Remove unused declaration.
* xlib/ximage.c (XCreateBitmapFromData): Cast to match function
prototype.
2000-07-05 Eric Melski <ericm@ajubasolutions.com>
* tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823].
* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
problem with the GIF writing code [Bug: 5823].
* generic/tkCursor.c: Added initialization for nextPtr field of
TkCursor, patch from Nijtmans/Howlett.
2000-07-05 Eric Melski <ericm@ajubasolutions.com>
* library/msgs/nl.msg: Dutch message catalog for dialogs, from Jan
Nijtmans.
2000-06-30 Eric Melski <ericm@scriptics.com>
* doc/keysyms.n:
* doc/colors.n: Added extra .CE/.CS pairs to break up the large
text block, so that the generated Windows help file could
accomodate the manual entry. [Bug: 5862]
* tests/filebox.test: Adjusted tests to accomodate -multiple.
* library/xmfbox.tcl: Adjusted arguments list construction such
that -multiple is not presented as an option for tk_getSaveFile.
* library/tk.tcl: Added test for safe interpreter status before
attempting to load message catalogs (which is impossible in a
standard safe interpreter). This means that SafeTk will not have
localized dialogs, unless a means is found for loading the message
catalog files.
2000-06-29 Eric Melski <ericm@scriptics.com>
* library/msgs/de.msg: German message catalog.
* library/msgs/en.msg: English message catalog.
* library/msgs/es.msg: Spanish message catalog.
* library/msgs/fr.msg: French message catalog.
* unix/Makefile.in:
* unix/configure.in:
* library/tk.tcl:
* library/clrpick.tcl:
* library/choosedir.tcl:
* library/console.tcl:
* library/msgbox.tcl:
* library/tkfbox.tcl:
* library/xmfbox.tcl:
* library/bgerror.tcl: Applied patches from Laurent Duperval to
provide localization of Tk dialogs. [RFE: 2671].
2000-06-27 Eric Melski <ericm@scriptics.com>
* generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from
[Bug: 5275], which corrected a segfault-causing indexing problem
when deleting entries from torn-off menus.
2000-06-22 Eric Melski <ericm@ajubasolutions.com>
* doc/getOpenFile.n: Updated with information about -multiple.
* library/choosedir.tcl: Tweaked to handle modified tkIconList API's.
* library/tkfbox.tcl: Preliminary implementation of multiple
selection; based on patch from [RFE: 604]. Some of the tkIconList
functions changed to support this and to make the dialog faster.
* library/xmfbox.tcl: Added support for multiple selection, from
patch in [RFE: 4999].
2000-06-21 Eric Melski <ericm@scriptics.com>
* library/text.tcl: Corrected behavior of text widget with respect
to this sequence of events: click, shift-click. Previously, the
shift-click just moved the cursor and anchor; now, the shift-click
will select the text between the click and the shift-click, which
is the behavior most users expect. [Bug: 5929].
2000-06-19 Eric Melski <ericm@scriptics.com>
* library/bgerror.tcl: Added auto-truncation for long error
messages (more than 30 characters wide, or more than 4 lines
long), so that the dialog remains a manageable size. [RFE: 5782]
2000-06-15 Eric Melski <ericm@scriptics.com>
* win/tkWinDialog.c: Patched to support tk_getOpenFile
-multiple. [RFE: 604].
2000-06-13 Eric Melski <ericm@scriptics.com>
* win/aclocal.m4:
* win/configure.in:
* win/Makefile.in: Applied patch from [RFE: 5844], to provide
support for the mingw compile environment for Windows.
2000-06-06 Jeff Hobbs <hobbs@scriptics.com>
8.4a1 RELEASE
2000-06-03 Jeff Hobbs <hobbs@scriptics.com>
* doc/CrtCmHdlr.3: new doc for ClientMessage handler procs
* generic/tk.h: added typdef for Tk_ClientMessageProc
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: Added Tk_CreateClientMessageHandler and
Tk_DeleteClientMessageHandler declarations.
* generic/tkEvent.c (Tk_HandleEvent): Added
Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to
allow adding event handlers that invoke for ClientMessage events.
This is necessary to support unix dnd protocols.
2000-06-02 Jeff Hobbs <hobbs@scriptics.com>
* canvas.test: added test for 5783.
* generic/tkCanvPoly.c (DisplayPolygon): added checks for the
polygon fillGC not being empty to prevent segfault. [Bug: 5783]
2000-05-31 Eric Melski <ericm@scriptics.com>
* library/bgerror.tcl: Improved bgerror based on work by Donal
K. Fellows; no longer dependant on tk_dialog; features a
Windows-esque "Details" button, and a customizable extra function
button that allows the user to (for example) save the stack trace
to a file.
2000-05-30 Eric Melski <ericm@scriptics.com>
* generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be
static char arrays with integer initialization, to address EBCIDIC
vs. ASCII encoding issues and to handle compilers that don't deal
with "\xAB" syntax for specifying hex values in strings.
2000-05-28 Jeff Hobbs <hobbs@scriptics.com>
* doc/spinbox.n: (new file) docs for spinbox widget
* generic/tkInt.h: added Tk_SpinboxObjCmd declaration
* generic/tkEntry.c: added 'spinbox' widget - an extension of the
entry widget type.
* generic/tkWindow.c: added 'spinbox' to core Tk commands
* library/spinbox.tcl: (new file) binding and helper procs for spinbox
* library/tk.tcl: added spinbox.tcl to list of files to source
* tests/entry.test: updated changed error messages
* tests/spinbox.test: (new file) test suite for spinbox
* generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave
table init'n to prevent seg fault when using place on multiple
displays.
* generic/tk.h: added comments ot Tk_FakeWin structure
2000-05-26 Eric Melski <ericm@scriptics.com>
* generic/tkOption.c (Tk_GetOption): Extended Tk_GetOption to
support a new syntax for option names in option tables. If the
option name has an embedded ".", it indicates that the name field
contains both an option name and an overriding widget class, in
the form "class.option". The lookup for the option value will be
performed as though the widget class is that specified, rather
than the actual widget class.
(SetupStacks): Replaced several lines of array element copying
with a for loop for conciseness.
2000-05-25 Eric Melski <ericm@scriptics.com>
* library/button.tcl: Tweaks for -overrelief handling on Windows.
* doc/radiobutton.n: Added documentation for -overrelief option.
* doc/checkbutton.n: Added documentation for -overrelief option.
* doc/label.n: Added documentation for -state option.
* generic/tkButton.c: Added -overrelief option for checkbuttons,
and radiobuttons.
* library/button.tcl (tkButtonDown, macintosh version): Added
protection against querying the -repeatdelay option from a widget
that doesn't support it (ie, checkbuttons, radiobuttons, etc).
Other platforms use a different binding script for checkbuttons
and radiobuttons, so they don't have this issue.
(tkCheckRadioEnter, windows version): Added code to handle
-overrelief for check/radiobuttons on windows.
2000-05-22 Eric Melski <ericm@scriptics.com>
* generic/tkButton.c: Added -activeforeground, -activebackground
for labels, for the -state option.
* doc/label.n: Added documentation for -state option,
-activeforeground, -activebackground.
2000-05-22 Jeff Hobbs <hobbs@scriptics.com>
* win/Makefile.in (install-libraries): corrected to install X
headers [Bug: 5516]
* doc/bind.n:
* doc/canvas.n:
* doc/entry.n:
* doc/listbox.n:
* doc/photo.n: doc fix-ups [Bug: 5396]
2000-05-17 Jeff Hobbs <hobbs@scriptics.com>
* doc/bell.n:
* tests/bell.test:
* generic/tkCmds.c (Tk_BellObjCmd): added -nice option to
optionally avoid resetting screen saver [Bug: 4279]
2000-05-15 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idle
callback to calling restack and focus code immediately.
2000-05-17 Eric Melski <ericm@scriptics.com>
Overall change: Added "-readonlybackground" option for entries,
to enable a visual change when state goes to readonly.
* mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
DEF_ENTRY_READONLY_BG_COLOR):
* win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
DEF_ENTRY_READONLY_BG_COLOR):
* unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry
-readonlybackground option.
* generic/tkEntry.c: Added -readonlybackground option, cleaned up
excessive use of graphics contexts.
* tests/entry.test: Added configuration test for
-readonlybackground option.
* doc/entry.n: Added documentation for -readonlybackground option.
Overall change: changed implementation of "link" relief for
buttons. Instead of a new relief style (-relief link), there is a
new option, -overrelief, which if set is used when the mouse is
over the button.
* doc/SetOptions.3: Added information about TK_OPTION_NULL_OK with
TK_OPTION_RELIEF.
* win/tkWinButton.c: Removed bits about TK_RELIEF_LINK.
* tests/button.test: Added tests for -overrelief; removed tests
for -relief link.
* mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK.
* generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK.
* generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added
support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF.
* library/button.tcl: Added binding support for -overrelief.
* generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL.
* generic/tkButton.c: Added -overrelief option; removed
Enter/Leave EventProc masks and handlers.
* generic/tk.h: Added TK_RELIEF_NULL definition, removed
TK_RELIEF_LINK.
* mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF):
* win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF):
* unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default
value for the -overrelief option.
2000-05-16 Eric Melski <ericm@scriptics.com>
* win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the
MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes
separator entries on the system menu to be drawn correctly [Bug: 5451].
2000-05-15 Eric Melski <ericm@scriptics.com>
* doc/image.n: Added documentation for [image inuse] command.
* tests/image.test: Added tests for [image inuse] command.
* generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command,
which provides a means for programmers to determine if a given
image is in use by any widgets. [RFE: 3327].
2000-05-14 Eric Melski <ericm@scriptics.com>
* doc/clipboard.n: Added documentation for "clipboard get".
* generic/tkClipboard.c (Tk_ClipboardCmd): Added "clipboard get"
subcommand [RFE: 4628].
* tests/clipboard.test: Updated to use "clipboard get" instead of
"selection get -s CLIPBOARD".
* library/entry.tcl: Adjusted Button-1 binding to set focus to the
entry when it is readonly or normal.
* doc/entry.n: Added documentation for readonly state,
-disabledforeground, -disabledbackground.
* tests/entry.test: Added tests for readonly state.
* generic/tkEntry.c: Added support for "readonly" state, and
redefined "disabled" state. A disabled entry will display its
text in a dimmed color and possibly with a different background,
and will be completely unusable (no selection, no editing). A
readonly entry will look like a normal entry, but it will not be
editable; selection is still allowed. [RFE: 4239]. To support the
new disabled state properly, "-disabledforeground" and
"-disabledbackground" options were added.
*** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE ***
* win/tkWinDefault.h:
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG,
DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
2000-05-12 Eric Melski <ericm@scriptics.com>
* unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
* mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
* win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
Added code for drawing compound buttons.
* tests/button.test: Added configuration tests for -repeatdelay,
-repeatinterval, -compound.
* library/button.tcl: Added support for -repeatedelay,
-repeatinterval options.
* generic/tkOldConfig.c: Changed handling of link relief so that
proper error messages are used.
* generic/tkButton.h: Added -compound, -repeatdelay,
-repeatinterval options.
* generic/tkButton.c: Added event watchers for enter/leave events,
for link relief support.
* generic/tk3d.c: Changed handling of link relief so that proper
error messages are used.
* generic/tk.h: Changed values of
TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.
2000-05-12 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinFont.c (LoadFontRanges): improved support for all chars
in 0-255 range for bitmap ANSI fonts. May be improved to handle
bitmap non-ANSI fonts in the future. [Bug: 2172]
* win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOW
to flag check to prevent timing related core dump. [Bug: 5438]
2000-05-11 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinTest.c (TestclipboardObjCmd): ensured CloseClipboard
would always get called for each OpenClipboard.
* tests/focus.test (focusSetupAlt): removed wm withdraw from proc
as it would cause a hang for tkwait visibility
* tests/menu.test:
* generic/tk3d.c:
* generic/tkColor.c:
* generic/tkCursor.c: corrected handling of 3DBorder, Cursor and
Color objects on multiple screens. [Bug: 5454]
2000-05-09 Eric Melski <ericm@scriptics.com>
* doc/button.n: Added documentation for link relief.
* tests/button.test: Added tests for link relief for buttons.
* generic/tk.h (TK_CONFIG_LINK_OK): Added definition of
TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348]
* generic/tk3d.c: Added support for link relief. [RFE: 4348]
* mac/tkMacButton.c (TkpDisplayButton):
* unix/tkUnixButton.c (TkpDisplayButton): Added support for link
relief. [RFE: 4348]
* generic/tkOldConfig.c (Tk_ConfigureWidget):
* generic/tkConfig.c (DoObjConfig): Added understanding of link
relief, which is allowed only for widgets that have
TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief"
option. [RFE: 4348]
* generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option
for buttons. [RFE: 4348]
* win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW
style bit, so that transient windows have full-size titlebars
(like the tk_getOpenFile dialog).
* win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height
requested for separator bars to be (linespace - (2*descent))
instead of just (linespace); this makes the separator occupy a
more correct amount of vertical space. [Bug: 5303].
2000-05-09 Jeff Hobbs <hobbs@scriptics.com>
* library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372]
2000-05-02 Jeff Hobbs <hobbs@scriptics.com>
* README:
* generic/tk.h:
* library/tk.tcl:
* mac/README:
* unix/README:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/aclocal.m4:
* win/configure.in:
* win/makefile.vc: updated patchlevel to 8.4a1
* unix/Makefile.in: added tk.spec to dist target
2000-04-27 Eric Melski <ericm@scriptics.com>
* doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].
* doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
* doc/colors.n: Man page enumerating valid color names [RFE: 1645].
* doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645].
* library/msgbox.tcl: Corrected Unix tk_messageBox implementation
to make the first button the default when no default is specified
[Bug: 2218].
* doc/messageBox.n: Updated documentation with regards to
selection of default button when none is specified (now it will
use the first button as the default in that case) [Bug: 2218].
2000-04-26 Jeff Hobbs <hobbs@scriptics.com>
8.3.1 RELEASE
* README:
* mac/README:
* unix/README:
* unix/tk.spec:
* win/README: Updating URLs to reference dev.scriptics.com
2000-04-25 Jeff Hobbs <hobbs@scriptics.com>
* unix/Makefile.in:
* win/Makefile.in: makefile cleanup
2000-04-25 Eric Melski <ericm@scriptics.com>
* generic/tkMain.c: Fixed function header comment for Tk_MainEx.
* unix/mkLinks:
* doc/GetScroll.3: Added information about Tk_GetScrollInfoObj
[Bug: 1866].
2000-04-24 Eric Melski <ericm@scriptics.com>
* unix/mkLinks:
* doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
* unix/mkLinks:
* doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
* unix/mkLinks:
* doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].
2000-04-24 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkImage.c (Tk_PostscriptImage): added check to create
necessary prolog for photos
* generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for
photo images
* generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that
in as ps proc in tkPhotoImageType.
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: added Tk_PostscriptPhoto
* generic/tkConfig.c (DoObjConfig): removed direct setting of
interp->result.
* mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in
colormapwindows case (bug found by Reasoning, Inc's automated code
testing).
2000-04-24 Eric Melski <ericm@scriptics.com>
* unix/mkLinks:
* doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
* unix/mkLinks:
* doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
* unix/mkLinks:
* doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
2000-04-22 Jim Ingham <jingham@cygnus.com>
* mac/tkMacDialog.c (Tk_MacGetOpenFile): Add empty bodies for the
"-initialfile" and "-defaultextension" options.
* mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up
into a list if multiple is true.
* mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile"
instead of hand-coding the dialog with StandardGetFile. This way
we get the Navigation dialogs for free.
* doc/getOpenFile.n: Document the -multiple and -message flags
which are only implemented on the Mac. Also note that the -title
works on the Mac with Nav Services installed.
2000-04-19 Eric Melski <ericm@scriptics.com>
* doc/WinViewable.3:
* unix/mkLinks: Removed docs for Tk_IsViewable.
* win/tkWinDialog.c: Removed calls to Tk_IsViewable.
* generic/tkUtil.c:
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tkCmds.c:
* generic/tk.decls: Removed Tk_IsViewable function (it was not
actually needed).
2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
* win/aclocal.m4: made SC_PROG_TCLSH search specifically for
tclsh*.exe type files to find an executable.
* win/Makefile.in: fixed up cleanup, winhelp, cat32 targets
* library/console.tcl: made console use systemfixed font on Win
* generic/tkEntry.c: removed unnecessary ENTRY_VALIDATE #define
2000-04-19 Eric Melski <ericm@scriptics.com>
* generic/tkRectOval.c (ConfigureRectOval): Added checks for valid
outline settings before creating of outline GC; this means that it
is really possible now to have an oval or rectangle with no
outline. [Bug: 5029].
2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
* library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):
* library/tkfbox.tcl (::tk::dialog::file::Config): removed the
extraneous glob on -initialdir after file isdir already returned 1
and moved cd trick into this case as the else already uses [pwd].
[Bug: 5181]
* win/winMain.c: moved extern call out of WinMain func
* README:
* generic/tk.h:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in: bumped to version 8.3.1
* library/msgbox.tcl (tkMessageBox): changed to use grid in some
places, realign icon to anchor nw.
* mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it
was accidentally bumped forward).
2000-04-18 Eric Melski <ericm@scriptics.com>
* win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState to
ALT_MASK, to fix some event problems [Bugs: 1160, 5088].
* win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix
some event problems [Bugs: 1160, 5088].
* generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here
so that it would be accessible from other modules than tkBind.c.
* generic/tkBind.c: Added code in BindEvent to check for ALT_MASK
and META_MASK in the event state field, as this field may not be
set up with the correct display modifier mask bits if the XEvent
structure was created by [event generate] or by the Windows X
emulation. [Bugs: 1160, 5088].
2000-04-18 Scott Redman <redman@HILO>
* win/tk.rc:
* win/wish.rc:
* win/wish.ico: Modified copyright dates in Windows resource
files. Updated the icon for wish.exe.
2000-04-17 Eric Melski <ericm@scriptics.com>
* win/tkWinDialog.c: Added checks for visibility of parent window
before creating MessageBox and ChooseColor dialogs; this prevents
the application from locking when the parent is withdrawn and the
message box is created. In these cases, the window will be
created without a parent.
* unix/mkLinks: Added WinViewable.3.
* tests/msgbox.test: Added tests for patch from [Bug: 4997].
* library/msgbox.tcl:
* library/dialog.tcl: Applied patch from [Bug: 4997]; detaches
dialog window from parent if parent is not viewable.
* library/bgerror.tcl: Removed workaround from [Bug: 4370]; this
is superceeded by patches to dialog.tcl.
* generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable
function to determine visibility of windows instead of inlining
the code.
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: Added Tk_IsViewable declaration.
2000-04-17 Eric Melski <ericm@scriptics.com>
* library/text.tcl: Tweaked double-/triple-click selection;
previously, anchor and insert marks were placed in unexpected
locations following a double or triple click. Now they are placed
logically. Also tweaked the extension of selection via
shift-double-clicks so that it no longer selects the contiguous
whitespace on the side of the selection opposite the
double-click. [RFE: 4253].
* doc/menu.n: Added note regarding rendering of
checkbuttons/radiobuttons in menubars on different platforms --
some systems do not draw indicators for check/radiobuttons in
menubars.
* library/menu.tcl: Corrected behavior of
checkbuttons/commands/radiobuttons in menubars [Bug: 630].
* tests/grid.test: Added test for [grid propagate . 0] to not toggle.
* generic/tkGrid.c: Fixed bogus logic in [grid propagate] that
caused [grid propagate . 0] to act as a toggle instead of an
absolute set. [Bug: 2286].
2000-04-16 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinColor.c (FindSystemColor): correct calculation of
colors when shifting value. [Bug: 4919]
2000-04-16 Jim Ingham <jingham@cygnus.com>
* mac/tkMacPort.h: protect against strncasecmp already defined -
it is in the Pro5 version of MSL.
* mac/tkMacWindowMgr.c (GenerateKeyEvent): Check for a null tkWin.
If the hidden window we use for double-buffering controls manages
to percolate to the top (should never happen, but...) this will
keep us from crashing.
* mac/tkMacButton.c (InitSampleControls): Hide the
double-buffering window BEHIND the first "." window you can find.
This will keep it from ever being the front window, and thus a
black hole for events. * mac/tkMacButton.c (ButtonEventProc):
Disable the controls when the window is in the background. This
is required by the MacOS HIG. This doesn't always get called when
it should, it still needs more work.
* mac/tkMacDialog.c: Pretty substantial rewrite to include
Navigation Services support for systems which have it.
2000-04-14 Eric Melski <ericm@scriptics.com>
* win/tkWinKey.c: Added check for ASCII delete character in
KeycodeToKeysym, to fix [Bug: 5090]. See comment in code for more
information.
* generic/ks_names.h: Added Scroll_Lock and Sys_Req definitions.
* win/tkWinKey.c: Changed implementation of KeycodeToKeysym,
et. al., to use a keycode table for lookups; this will result in
faster keycode -> keysym translations for non-ASCII keys like
Control, Alt, etc.
2000-04-14 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so we
correctly activate native menus when clicking in when we didn't
have focus [Bug: 2272]
* generic/tkCanvas.c (CanvasEventProc:2451): corrected cast
* generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error
cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK
* tests/scale.test:
* generic/tkScale.c:
* generic/tkScale.h:
* unix/tkUnixScale.c:
* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
to tkScale.c. Caused an associated variable to be immediately set
[Bug: 4833]
* library/scale.tcl (tkScaleActivate): reduced number of scale
redisplays by checking current value of state before setting it
again. [Bug: 4191]
* tests/winDialog.test: tk_chooseDirectory seems to get a noop
from GetOpenFileName in the static build, hanging some tests.
The tests were fixed to timeout (noop cause unknown).
* unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of
pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
--enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
2000-04-13 Eric Melski <ericm@scriptics.com>
* win/tkWinKey.c: Added smarts to check whether the left or right
Control, Shift, or Alt key was pressed. [Bug: 870].
* win/tkWinMenu.c: Corrected code that created separator items on
menus; originally, it requested that the system be responsible for
drawing those items, so it would ignore configuration items like
the widget background. Now, we draw the separators ourselves (as
we do with every other kind of menu item already). [Bug: 1166].
* win/tkWin3d.c:
* unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more
sophisticated smarts to TkpGetShadows, so that the highlight of a
very bright color is actually distinguishable from the color, and
the shadow of a very dark color is similarly distinguishable from
the color.
* generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a check
for NULL tkwin in Tk_CanvasEventuallyRedraw.
2000-04-12 Jeff Hobbs <hobbs@scriptics.com>
* test/winClipboard.test:
* win/tkWinInt.h:
* win/tkWinClipboard.c (UpdateClipboard):
* win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
TkWinUpdatingClipboard accessor function to allow us to flag
ourselves when we are the ones updating the clipboard. This
corrected inability to create our own clipboard types within a Tk
application. [Bug: 2338 4318]
* win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
with better error handling and obj'ification
2000-04-11 Eric Melski <ericm@scriptics.com>
* msgcat.n: Added docs for new behavior from patch in [Bug: 4158].
* msgcat.test: Added tests for new behavior from patch in [Bug:
4158].
* msgcat.tcl: Applied patch from [Bug: 4158], which enables
msgcat::mc to search the entire namespace ancestry chain for
message translations (ie, first it checks the current namespace,
then the parent, then the parent's parent, etc). Also allows the
specification of additional args for msgcat::mc; if extra args are
given, the [format] command is used to substitute the additional
args in the translated message.
* library/bgerror.tcl: Moved check for withdrawn state after check
for tkerror; this was causing problems when tkerror was used.
2000-04-10 Eric Melski <ericm@scriptics.com>
* library/bgerror.tcl: Added check for withdrawn state of . and
unsetting of transient bit for .bgerrorDialog if . is not
viewable; this protects against the application hanging on systems
like Windows, where transient windows are withdrawn with their
parents. [Bug: 4370].
* tests/event.test: Added test for [event generate $widget
<Alt-z>] [Bug: 4611].
* tests/choosedir.test: Changed "namespace import ::tcltest" to
"namespace import -force ::tcltest".
* win/tkWinKey.c:
* unix/tkUnixKey.c:
* mac/tkMacKeyboard.c: Changed InitKeymapInfo to
TkpInitKeymapInfo. [Bug: 4611].
* generic/tkStubInit.c:
* generic/tkIntDecls.h: Re-gen'd from tkInt.decls.
* generic/tkInt.decls: Added TkpInitKeymapInfo to list of function
decls.
* generic/tkBind.c (HandleEventGenerate): Added code to initialize
keymap info if necessary, and to correctly set modifier bits in
XEvent structure create to handle [event generate] calls.
Previously, the alt/meta bits were not set correctly, so [event
generate $widget <Alt-z>] would always fail. [Bug: 4611]
2000-04-07 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkGrid.c (InitMasterData): fixed uninit'd data in
GridMaster struct [Bug: 4387]
* library/safetk.tcl (disallowTk): made disallowTk work in the
simple case.
* library/comdlg.tcl (tkFocusGroup_In): fixed key navigation
problems in dialogs under CDE [Bug: 2960]
* tests/winDialog.test: removed knownBug constraint from 5.16
* win/tkWinFont.c (GetScreenFont): corrected adjustment against
LC_FACESIZE limitation for NT [Bug: 4931]
* win/makefile.vc (TKTEST_OBJS):
* win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal
objs to TKTEST_OBJS where it belonged.
2000-04-03 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkTest.c: fixed incorrect platform inclusion for
TkplatformtestInit (it would never get called).
* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
correctly [Bug: 4085]
* library/clrpick.tcl (tkColorDialog_Config): error now thrown
when -initialcolor "" specified. [Bug: 4198]
2000-03-31 Jeff Hobbs <hobbs@scriptics.com>
* doc/DrawFocHlt.3: doc name correction
* generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option
and removed #ifdef ENTRY_VALIDATE expressions
* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
[Bug: 4506]
* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be
called in tkIconList_Select. This causes the entry to be set
properly when using the type-in-name-in-listbox bindings.
* win/tkWinDialog.c: added unicode-aware open/save file dialogs
* win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
to TkWinGetPlatformId
* win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
to TkWinGetPlatformId and removed all code for
(versionInfo.dwMajorVersion < 4) (== Win32s)
* win/tkWinX.c:
* win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
* win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
called for static Windows shells. [Bug: 3647]
* win/tkWinInt.h:
* win/tkWinX.c:
* win/tkWinDraw.c (SetUpGraphicsPort):
* win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s
* win/tkWinInt.h (TkWinDCState struct): added bkmode value
* win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
properly transparent dashed lines on Windows. [Bug: 4617]
2000-03-30 Eric Melski <ericm@scriptics.com>
* generic/tkImgGIF.c: Fixed some ANSI specific bits to avoid
compile problems with non-ANSI compilers (ie, replace const with
CONST, etc). [Bug: 4223].
* unix/configure.in: Applied patch from [Bug: 4237]; ensures that
srcdir is fully qualified.
* unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was
not compiled, make test/tktest failed. Now it has a rule to build
tcltest if it has not been built.
2000-03-28 Eric Melski <ericm@scriptics.com>
* library/tkfbox.tcl: Moved an overlooked tkFDialog* function in
::tk::dialog::file namespace.
* tests/unixWm.test: Added tests for memory leak conditions in
tkUnixWm.c.
* tests/canvas.test: Added test for bad configuration options on
empty and non-empty canvas.
* generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of
CanvasWidgetCmd; this was causing non-empty canvases to improperly
handle bad configuration options [Bug: 4456].
2000-03-27 Eric Melski <ericm@scriptics.com>
* unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memory
leak in Unix wm command.
2000-03-24 Eric Melski <ericm@scriptics.com>
* tests/filebox.test:
* tests/choosedir.test: Updated tests.
* library/xmfbox.tcl: Updated to stash data array in
::tk::dialog::file namespace instead of in global namespace.
* library/tkfbox.tcl: Extended some functions to support creation
of a choosedir dialog, to allow greater code reuse between the two
dialogs. Moved tkFDialog* functions into a namespace
(::tk::dialog::file). Because these are private Tk functions (and
should thus not be used directly by users), this should not impact
anybody (the tk_getOpenFile and tk_getSaveFile commands still
exist at the global scope).
* library/tk.tcl:
* library/tclIndex: Updated function names for tkFDialog*
functions and choosedir functions.
* library/choosedir.tcl: New and improved implementation of
tk_chooseDirectory dialog. Based on tk_getOpenFile dialog.
2000-03-23 Eric Melski <ericm@scriptics.com>
* generic/tkWindow.c:
* generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd
* generic/tkOption.c: Tcl_Obj'ectified the "option" command.
2000-03-22 Eric Melski <ericm@scriptics.com>
* library/listbox.tcl (tkListboxCancel): Added a check for empty
string value for tkPriv(listboxPrev). Without this check, it's
possible to get a stack trace under certain conditions. [Bug: 4373].
2000-03-15 Sven Delmas <sven@scriptics.com>
* win/tkWinDialog.c: Changed the behavior for the
tk_chooseDirectory dialog under Windows. Instead of trying to
return the currently selected listbox entry (which didn't work in
case the user selected the initial directory anyway), we now
return the value shown in the entry. This seems to be in
accordance with the expected behavior for this dialog.
2000-03-14 Eric Melski <ericm@scriptics.com>
* tests/choosedir.test: Marked test 3.1 and 3.2 as bad until the
issue with those tests on IRIX can be determined.
2000-03-10 Eric Melski <ericm@scriptics.com>
* library/menu.tcl: Applied patch from [Bug: 4155]; protects
against grabs on non-viewable windows.
2000-03-08 Eric Melski <ericm@scriptics.com>
* tests/choosedir.test: Modified test 3.1 (-mustexist works) to be
more careful about cleaning up its potentially troublesome after
events.
2000-03-07 Eric Melski <ericm@scriptics.com>
* tests/button.test:
* generic/tkButton.c: Added -disabledforeground/-state to labels.
2000-03-07 Jeff Hobbs <hobbs@scriptics.com>
* tests/entry.test:
* generic/tkEntry.c (EntrySetValue): malloc the value when
validating because validation could cause the pointer to become
invalid. Also fixed configure to not trigger focus-based
validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
2000-03-06 Eric Melski <ericm@scriptics.com>
* library/menu.tcl: Added a check in tkMenuFirstEntry that changes
menu behavior to only auto-post an immediate child cascade if we
are currently on a menubar menu. This prevents massive
auto-cascading in cases where the first entry of the cascade is
itself a cascade, and the first entry of that cascade is a
cascade, and the first entry of that cascade is a cascade
... [Bug: 676].
* generic/tkOldConfig.c: Added check for NULL tkwin value in
Tk_ConfigureWidget [Bug: 4079]
* generic/tkWindow.c: Added check for NULL tkwin value in
Tk_NameToWindow [Bug: 4079]
2000-03-02 Jeff Hobbs <hobbs@scriptics.com>
* tests/color.test:
* xlib/xcolors.c (XParseColor FindColor):
* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
return "correct" values for color mapping. [Bug: 4282]
* unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/'
* unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
* win/tkWinInt.h: change extern to EXTERN for TkWinChildProc
declaration with extra #defs. [Bug: 4240]
* library/focus.tcl: fixed tkFocusOK to protect $w in
uplevel with list. [Bug: 4208]
* doc/CrtItemType.3: fixed docs for Tk_CreateItemType to reflect
changes made in 8.3.0 (but old style would still work as well).
[Bug: 4252]
* tests/config.test: extra test to check object cleanup when
destroying the widget
* generic/tkListbox.c (DestroyListbox): fixed crash in
DestroyListbox due to null tkwin. [Bug: 4207]
* tests/entry.test: added test suite for entry validation
* doc/entry.n: improved docs discussing caveats and gotchas when
mixing textvar with widget validation
* generic/tkEntry.c (EntryValidateChange): improved handling of
validation with relation to -textvariable. Previously, it would
turn off whenever the textvar was set. Now it will it will turn
off only when the textvar is set and validation returns 0. Added
%V (type of validation occuring) to %-subs to help work with
trickier validation.
2000-03-01 Eric Melski <ericm@scriptics.com>
* tests/clrpick.test:
* library/clrpick.tcl: Added code to make color chooser dialog
inherit screen setting from parent (bug #2334)
2000-02-25 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibility
that the window could be destroyed (can occur with
wm deiconify .toplevel; destroy .toplevel).
2000-02-25 Eric Melski <ericm@scriptics.com>
* generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (the
submitted patch was more complicated than necessary and did not
extend to writing GIF's, only reading), to allow reading/writing
of GIF files on EBCDIC and other non-ASCII based systems.
2000-02-14 Eric Melski <ericm@scriptics.com>
* unix/tk.spec: RPM specification for producing a binary Tk RPM
for Linux.
* unix/Makefile.in: Added rpm target to generate Tk
binary RPM.
2000-02-10 Jeff Hobbs <hobbs@scriptics.com>
8.3.0 RELEASE
* changes: updated for 8.3.0 release
* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer
* generic/tkIntXlibDecls.h:
* generic/tkInt.decls: declared some Xlib emulation calls for
the Mac
* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
inform user of bad call when framePtr is NULL [Bug: 2530]
* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
menu name objects before trying to incr the ref. [Bug: 3402]
* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
* library/listbox.tcl:
* library/text.tcl: added support for <4> and <5> for mousewheel
style scrolling on Unix for mice that map to these buttons.
* tests/scrollbar.test: fixed check of testmetrics command to
allow unix tests to run (testmetrics is mac/pc only)
* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error
handler as the goto label is reached from above and below.
* unix/configure.in:
* unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
* unix/README:
* unix/Makefile.in (dist): removed porting.notes and porting.old
from distribution and CVS. The information was very outdated. Now
refer to http://dev.scriptics.com/services/support/platforms.html
* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
some extra include info for the Mac
2000-02-09 Jim Ingham <jingham@cygnus.com>
* mac/tkMacButton.c: Stop removing the appearance window from the
Window List. It is not clear why Ray did this, and it causes the
Appearance manager to crash at random times.
* mac/tkMacWM.c: Add support in unsupported1 style for the Appearance
specification of window styles, including floating window support.
* mac/tkMacWindowMgr.c: Operate on the front non-floating window,
unless the mouse is directly over the floating window. Also,
keystrokes go to the front non-floating window.
* mac/tkMacAppInit.c: Initialize floating window support.
* mac/tkMacScrlbr.c:
* mac/tkMacmenu.c: Fixes for floating windows - operate on the
FrontNonFloatingWindow.
* mac/tkMacLibrary.r: Fix typo in File info string.
* mac/tkMacApplication.r: Fix typo in file info string. Add
Finder balloon help for no apparent reason.
* mac/tkMacSubwindows.c: Change panic in tkMacGetDrawablePort to
Debugger. This is only a temporary fix. The panic is only
triggered when a safeTk interpreter is torn down, and ignoring it
does no harm. I haven't figured out how to avoid it yet, however.
Also use the Appearance MoveWindowStructure call when available.
New Files:
* MW_TkOldImageHeader.h: Handle #defining USE_OLD_IMAGE for tkImgPPM.c.
* MW_TkTestHeader.h:
* MW_TkTestHeader.pch:
* MW_TkHeader.h: Add separate prefix files for test & release
versions of Tk, so we can just have separate targets w/o having to
edit files.
* tclets.r: The D&D Tclets icon in rez form so we can have a
target for this.
The above are curtesy of Daniel Steffen (steffen@math.mq.edu.au)
* tkMacAppearanceStubs.c: Stubs of the Mac Appearance calls I use
so I can link the static 68K Shell without putting ifdef's all
over the code.
2000-02-08 Jeff Hobbs <hobbs@scriptics.com>
* generic/tk.decls:
* generic/tkBind.c:
* generic/tkInt.decls:
* generic/tkIntDecls.h:
* generic/tkStubInit.c:
* mac/tkMacKeyboard.c:
* unix/tkUnixKey.c:
* win/tkWinKey.c: Fix for keyboard handling of "dead" keys and
caps lock from Peter Spjuth. [Bug: 4105 3359 2493]
Split functions into platform specific files:
Static functions GetKeySym(), SetKeycodeAndState() and InitKeymapInfo()
from tkBind.c moved into platform files tkWinKey.c tkUnixKey.c and
tkMacKeyboard.c. GetKeySym() and SetKeycodeAndState() renamed to
Tkp* and made public (as private functions) in tkInt.decls.
Step 2, fixes in tkWinKey.c
New static function: KeycodeToKeysym(), based on XKeycodeToKeysym()
but with different arguments, and a lot of improvements.
TkpGetString() changed to use KeycodeToKeysym() + other fixes.
TkpGetKeySym() changed to use KeycodeToKeysym() + other fixes.
InitKeymapInfo() changed to use KeycodeToKeysym().
TkpSetKeycodeAndState() rewritten, mostly by copying code from
XKeysymToKeycode().
XKeycodeToKeysym() rewritten. Preferably it should be removed.
EXPLANATION: The main problem is ToAscii() which has a lot of side
effects, and also that XKeycodeToKeysym() is not provided enough
input to do a proper job. The changes' main goal is to avoid
calling ToAscii() if not necessary, and to provide it with as
correct information as possible when called. Also some attempts
to clean up what ToAscii() did are done. See the code for details.
BUGS FIXED: Typing shifted (and AltGr) dead keys did not work.
Keyboard lock lamps did not work on Win98.
Events regarding AltGr-keys behaved badly.
Example: On a Swedish keyboard, $ is typed with AltGr-4.
That keyboard event would get the keysym '4' not 'dollar'.
Also, doing [event generete . <Key-dollar>] would send keysym '4'.
Translation to ascii in TkpGetString did not handle return and
tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A
* generic/tkDecls.h:
* generic/tk.decls:
* generic/tk.h: moved new public functions created in dash patch
to the stubs interface [Bug: 4062]
* generic/tk.h:
* doc/CrtImgType.3:
* doc/CrtPhImgFmt.3:
* generic/tk.h:
* generic/tkImgGIF.c:
* generic/tkImgPhoto.c:
* generic/tkStubImg.c (new file):
* generic/tkTest.c:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: improved support for moving from the old style
image C API to the new obj'ified one with new Tk_InitImageArgs
command and stub'ing of image code. See docs for how to make the
transition. [Bug: 4060]
* library/tk.tcl: wrapped check for tcl_platform(os) around info
exists because it won't in safe interpreters
* win/tkWinFont.c: corrected symbol font use to only work on 8-bit
characters [Bug: 2406]
* unix/aclocal.m4: changed all -fpic to -fPIC
* README:
* unix/configure.in:
* win/configure.in:
* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
2000-02-07 Eric Melski <ericm@scriptics.com>
* library/tkfbox.tcl: Applied patch from bug #4117,
tk_getOpenFile/getSaveFile doesn't do the right thing when user
types a directory name in the entry and a default extension is
specified.
2000-02-05 Jeff Hobbs <hobbs@scriptics.com>
* unix/tkUnixScale.c (TkpDestroyScale): changed ckfree to
Tcl_EventuallyFree to behave with Tcl_Preserve in TkpDisplayScale
(prevents possible segfault).
2000-02-03 Eric Melski <ericm@scriptics.com>
* tests/canvText.test: test for fix for bug #2525.
* generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting
the width of newline-only text display chunks to some arbitrary
huge number, instead of 0; this was interfering with things like
the canvas find enclosed feature. (bug #2525).
* tests/text.test:
* generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to
take a TkTextIndex instead of two integer offsets, so that it
could use TkTextPrintIndex to format the offsets into an index,
which makes it UTF smart (bug #2582).
2000-02-01 Eric Melski <ericm@scriptics.com>
* library/tk.tcl:
* library/tclIndex:
* library/choosedir.tcl: Moved choosedir functions into the
::tk::dialog::chooseDir namespace instead of a toplevel
::tkChooseDirectory namespace. Additional cleanup on the
chooseDir dialog.
2000-02-01 Jeff Hobbs <hobbs@scriptics.com>
* doc/text.n: clarified docs on what happens during a search with
-count when images/windows are embedded
* win/Makefile.in (install-*): reduced verbosity of install
* win/tkWinPixmap.c (XGetGeometry): added support for windows in
XGetGeometry [Bug: 4069]
* win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with
long font names [Bug: 4108]
* win/tkWinDialog.c: added EnableWindow calls to dialogs to
correct for possible loss of control in parent Tk toplevel
[Bug: 1212 et al]
* generic/tkRectOval.c (ConfigureRectOval):
* generic/tkCanvLine.c (ConfigureLine):
* generic/tkCanvPoly.c (ConfigurePoly):
* generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for
negative dash values [Bug: 4104]
* generic/tkScale.c (TkRoundToResolution): fixed incorrect
assumption that (N+1)*delta = N*delta + delta with floating point
math [Bug: 3689, 4099]
(DestroyScale) Fixed check for cancelling TkpDisplayScale (was
REDRAW_ALL, is now REDRAW_PENDING)
* tests/listbox.test: corrected test case for listbox itemconfigure
* unix/aclocal.m4: added *BSD ELF recognition for
SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4)
2000-01-27 Eric Melski <ericm@scriptics.com>
* generic/tkImgPhoto.c: Removed unneccesary object translation in
MatchStringFormat (bug #4103).
2000-01-27 Eric Melski <ericm@scriptics.com>
* generic/tkImgGIF.c: Additional code cleanup (now we only have
one decoder! neat!)
2000-01-26 Eric Melski <ericm@scriptics.com>
* doc/getOpenFile.n:
* doc/chooseDirectory.n: Man page/cross links for
tk_chooseDirectory (bug #1786).
* library/tk.tcl:
* library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786)
* library/choosedir.tcl: tk_chooseDirectory implementation for
Unix/Mac (bug #1786).
* generic/tkImgPhoto.c: Added some comments regarding slow
processing of transparent images.
* generic/tkImgGIF.c: Improved GIF decoder for ~60% speed
increase. Added some comments on how to further improve the
implementation, time permitting.
* doc/photo.n: Added a description of what the -data string can
contain (base64 or binary data).
* generic/tkImgPhoto.c: Fixed bug with use of binary data for
"-data" option to "image create" command.
2000-01-21 Eric Melski <ericm@scriptics.com>
* library/tkfbox.tcl: Fixed bug relating to incorrect parent
values for error message boxes displayed by the file dialog (bug
#3616).
* tests/text.test:
* generic/tkText.c: Fixed bug relating to regexp searching for
empty lines; previously, the starting line was ignored. (bug #1643).
2000-01-20 Jeff Hobbs <hobbs@scriptics.com>
* library/text.tcl: fixed double-click selection behavior where
there were embedded windows/widgets in the same line. [Bug: 3989]
* win/tkWinWm.c (TkWmProtocolEventProc): cached atom name as the
window could get destroyed during eval [Bug: 2513]
* generic/tkCanvLine.c (LineCoords): fixed segfault when too few
coords were passed to a line with certain options set (it should
always have thrown an error anyway). [Bug: 4042]
* tests/text.test:
* generic/tkText.c: fixed missing " in error case and missing
'dump' in subcommand listing [Bug: 4036]
* generic/tkListbox.c: adjusted use of basic string concatenation
in (non-K&R behavior) [Bug: 4027]
Swapped bg/fg class for -select(bg|fg) for listbox and their
items [Bug: 4039]
* unix/mkLinks:
* doc/WindowId.3: added docs for Tk_IsContainer and Tk_IsEmbedded
* doc/text.n: clarified mark gravity definition and usage of
``word'' in binding definitions. [Bug: 2004 2277 1388]
* generic/tkInt.h: moved new TkDisplay useInputMethods structure
element to end to not disturb position of previous elements in
the structure (as compared to Tk <=8.2).
2000-01-20 Eric Melski <ericm@scriptics.com>
* tests/grid.test: Added a test for the consecutive ^ and multiple
widget case (bug #1386).
* generic/tkGrid.c: Fixed interpretation of consecutive ^
characters in grid command. Previously, ^ ^ was interpreted as
meaning that there must be a 2-column widget above to extend,
neglecting the case where there was actually 2 1-column widgets
above. Now, ^ ^ is interpreted as a possible width; the gridder
will consume as many ^'s as there are columns in the widget, and
leave the rest for the extension of other widgets. (bug #1386).
2000-01-19 Eric Melski <ericm@scriptics.com>
* library/tk.tcl: Created a virtual event <<PrevWindow>> for
reverse tab traversals, with one default binding <Shift-Tab>, and
OS specific bindings for Linux, HP-UX, and IRIX. (bug #3163)
2000-01-13 Jeff Hobbs <hobbs@scriptics.com>
* changes: updated changes file to reflect 8.3b2 mods
* README:
* generic/tk.h:
* unix/configure.in:
* win/configure.in: updated to patchlevel 8.3b2
* win/tkWinWm.c: added visibility event handler to make sure
that transient window wrappers would be updated when the master
was initially mapped.
2000-01-12 Jeff Hobbs <hobbs@scriptics.com>
* tests/text.test: changed test to reflect change of -hidden
to -elide in search options.
* win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProc
to avoid crash when building statically
* doc/event.n:
* generic/tkBind.c: prevented core with event -warp on Windows
when window wasn't mapped [Bug: 4004] and added docs stating
the requirement for mapped windows.
* generic/tkCanvas.c: fixed mem leak with TagSearchExprInit
[Bug: 3977]
* generic/tkStubInit.c:
* generic/tkDecls.h: remove non-existent
Tk_(Get|Create)CanvasVisitor prototypes
* generic/tkText.c:
* generic/tkEntry.c: fixed cursor to not blink when widget was
disabled [Bug: 1807]
* generic/tkRectOval.c: added note about change to bloat for
RectOval bounds calculation for WIN32 only
* library/dialog.tcl: improved handling of $default arg to allow
for name of given button, as well as bounds checking
* doc/wm.n:
* tests/winWm.test:
* tests/unixWm.test:
* mac/tkMacWm.c:
* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
and fixed mapping of transient window [Bug: 572]
Also, for all wm's, extended 'wm state' command to allow setting
of the state, and added official support of 'zoomed' state on Win.
* unix/aclocal.m4: strtod bug on Tru64 [Bug: 3378]
* unix/Makefile.in: added tests to prevent unnecessary chmod +x
in source dirs while installing [Bug: 3367]
* unix/configure.in: properly sub'ed in TK_SHARED_BUILD [Bug: 3385]
2000-01-05 Jeff Hobbs <hobbs@scriptics.com>
* doc/text.n:
* generic/tkText.c:
* generic/tkText.h:
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextTag.c: removed the -state option for text tags,
and reoriented it around -elide, as -state disabled was never
implemented, and -state hidden is better as -elide.
* mac/tkMacClipboard.c: fixed i18n problems with clipboard [Bug: 3544]
* library/entry.tcl:
* library/focus.tcl:
* library/listbox.tcl:
* library/scale.tcl:
* library/scrlbar.tcl:
* library/tearoff.tcl:
* library/text.tcl:
* library/tkfbox.tcl:
* library/xmfbox.tcl: fixed unprotected arg parsing through eval/after
[Bug: 3943]
* unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938]
* unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC
* win/tkWinImage.c: added static declaration to function
1999-12-22 Jeff Hobbs <hobbs@scriptics.com>
* changes: updated changes file
* generic/tkScale.c:
* generic/tkScale.h:
* mac/tkMacScale.c:
* unix/tkUnixScale.c: fixed potential segv from patch in 3897
* tests/unixWm.test: nonPOrtable -> nonPortable
1999-12-21 Jeff Hobbs <hobbs@scriptics.com>
* generic/tk.h:
* unix/configure.in:
* win/configure.in:
* win/aclocal.m4:
* README: updated for patch level 8.3b1
* unix/tkUnixWm.c: fixed panic in Tk_CoordsToWindow to print error
and continue instead (for Tix) [Bug: 716 et al]
* scale.test:
* generic/tkScale.c:
* generic/tkScale.h: fixed possible core when freeing options
(cursor) associated with scale widget [Bug: 3897]
* doc/MeasureChar.3: fixed docs for Tk_MeasureChars to reflect code
* doc/listbox.n: fixed formatting problem
* generic/tk3d.c: added extra calculations to ensure that thin
frames get refreshed too [Bug: 3596]
* unix/tkUnixMenu.c:
* unix/tkUnixFont.c:
* generic/tkCanvText.c:
* generic/tkEntry.c:
* generic/tkFont.c:
* generic/tkImgPPM.c: removed extranneous vars that were set but
never used.
* mac/tclMacHLEvents.c: fixed applescript for I18N [Bug: 3644]
* unix/aclocal.m4: removed -O flag for AIX when using the IBM
compiler (several versions have a bug that crops up in the text
widget). [Bug: 2316]
* unix/Makefile.in: removed extra slash in SCRIPT_INSTALL_DIR
[Bug: 3896]
* library/listbox.tcl: added extra checks for existence of
tkPriv(listboxSelection) before it was used. [Bug: 3892]
1999-12-16 Jeff Hobbs <hobbs@scriptics.com>
* doc/GetCursor.3:
* win/tkWinCursor.c: added support for Windows cursors to
TkGetCursorByName (.ani, .cur) using -cursor @<filename>
(Ascher) [Bug: 1350]
* win/tkWinWm.c: fixed 'wm deiconify' to update position of the
toplevel if event is waiting before mapping. (Mao) [Bug: 3687]
This removes the need for 'update idle' before 'wm deiconify' on
Windows.
* doc/listbox.n: added doc for <<ListboxSelect>> [Bug: 3500]
* doc/getOpenFile.n: removed note that -initialfile didn't work
for tk_getOpenFile
* library/tkfbox.tcl: updated tk_get*File to better match the
Windows file box it emulates, give proper support to -initialfile,
and fixes lack of global tkPriv call. [Bug: 3735 3882]
* doc/tk.n: added doc for 'tk useinputmethods ...'
* tests/tk.test:
* unix/tkUnixKey.c:
* generic/tkCmds.c:
* generic/tkEvent.c:
* generic/tkWindow.c:
* generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?'
call to provide support for disabling/enabling the use of XIM on
X. This was previously all done at compile time, and always on.
Now it is turned off by default, even when available, and the user
must turn it on to use XIM (per display).
* generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed
mem it shouldn't.
* generic/tkFont.c: added "bitstream cyberbit" (popular Windows
CJK font) to list of font fallbacks. (kenny) [Bug: 2407]
* mac/tkMacMenu.c: finished bug 3075 by changing the char values of
what was checked (verified correctness on Mac).
1999-12-13 Jeff Hobbs <hobbs@scriptics.com>
* doc/canvas.n: added docs for items added by dash patch (-*dash*,
-state, -active*, -disabled*, -offset, essentially rewrote the
man patch for completely updated 8.3 canvas widget.
* doc/entry.n: added docs for entry widget validation
* doc/event.n: added docs for -warp
* doc/text.n: doc'ed new -state value 'hidden'
* doc/GetDash.3: (new file) man page explaining Tk_GetDash
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkInt.decls: added XSetDashes and XWarpPointer
* generic/tk.decls: added Tk_CreateSmoothMethod, and reserved
two spots
* generic/tk.h: added Tk_SmoothMethod struct,
state item to canvas record, #defines for item state,
support for using old char*-based canvas item C creation
procedures with -DUSE_OLD_CANVAS,
Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs,
decls for dash, outline and postscript routines
* generic/tkBind.c: added support for Quadruple clicks, and added
the -warp option to 'event' with pointer warping routines
* xlib/xgc.c:
* generic/tkRectOval.c:
* generic/tkCanvArc.c:
* generic/tkCanvBmap.c:
* generic/tkCanvImg.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvPs.c:
* generic/tkCanvText.c:
* generic/tkCanvUtil.c:
* generic/tkCanvWind.c:
* generic/tkCanvas.c:
* generic/tkCanvas.h: Canvas and items received overhaul to with
the addition of the dash patch (Nijtmans, et al) This includes
objectification of the 'canvas' command, as well as support for
(where appropriate) dashes in items, extended stipple support,
state for all items, and postscript generation of images and
windows. See the new canvas man page for related docs.
* generic/tkEntry.c: added entry widget validation, see entry.n
* generic/tkEvent.c: on simulated events, ButtonPress should
be matched with ButtonRelease to be correct
* generic/tkFont.c: corrected possible null reference
* generic/tkFrame.c: made frame a Tcl_Obj based command
* generic/tkGet.c: added TkGetDoublePixels
* generic/tkImage.c: bug fixes from Img patch and new
Tk_PostscriptImage and Tk_SetTSOrigin functions
* generic/tkImgBmap.c: new ImgBmapPostscript function
* generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto
* generic/tkInt.h: declarations for some new functions
* generic/tkMessage.c: reworked relief drawing
* generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style
ConfigureWidget calls can pass in Tcl_Obj arrays
* generic/tkScrollbar.c:
* generic/tkScrollbar.h: made -orient use an option table
* generic/tkText.c:
* generic/tkText.h: made -wrap and -state use option tables
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextImage.c:
* generic/tkTextMark.c:
* generic/tkTextTag.c:
* generic/tkTextWind.c: added support for -elide and -state hidden
* generic/tkTrig.c: changed TkMakeBezierCurve to support returning
the upper limit of points needed for spline
* generic/tkUtil.c: new option table parsing routines
* generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
related bug ids for the fixes:
[Bug: 648 1541 1540 1779 2168 2311 2297 2340 2348 2578 3386]
* tests/bind.test:
* tests/canvImg.test:
* tests/canvPsArc.tcl:
* tests/canvPsImg.tcl: (new file)
* tests/canvRect.test:
* tests/canvText.test:
* tests/canvas.test:
* tests/defs.tcl:
* tests/entry.test:
* tests/event.test:
* tests/font.test:
* tests/frame.test:
* tests/imgPhoto.test:
* tests/safe.test:
* tests/scale.test:
* tests/scrollbar.test:
* tests/select.test:
* tests/text.test:
* tests/textDisp.test:
* tests/textTag.test:
* tests/unixFont.test:
* tests/unixWm.test:
* tests/visual_bb.test:
* tests/winClipboard.test: tests for the dash patch changes
* unix/mkLinks: added GetDash.3 into the mkLink step
* mac/tkMacDraw.c: mac still needs pointer warping routine
* mac/tkMacXStubs.c:
* win/tkWinDraw.c:
* win/tkWinPointer.c: added support for pointer warping and
platform specific support for dash patch items
1999-12-12 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkText.c: fixed bug in TextSearchCmd for multibyte chars
(Darley) [Bug: 3839]
* unix/aclocal.m4: added warning when configuring with
--enable-threads that Tk may have problems
1999-12-09 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkImgGIF.c: updated casting
* win/makefile.vc: removed 16bit stuff, simplified makefile.
1999-12-06 Scott Redman <redman@scriptics.com>
* generic/tkMain.c: need to include tclInt.h for new hook
functions that are internal-use-only.
1999-12-06 Jeff Hobbs <hobbs@scriptics.com>
* library/comdlg.tcl: removed tclVerifyInteger and tclSortNoCase,
they weren't used, and were not actually correct
* mac/tkMacFont.c:
* mac/tkMacMenu.c:
* mac/tkMacWindowMgr.c: fixed greyed out menu items, handling of
... elipsis, font mapping problem, and enabled generated menu
posting [Bug: 3705]
1999-12-02 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkInt.h:
* generic/tkWindow.c:
* generic/tkCmds.c: converted Tk_DestroyCmd, Tk_LowerCmd and
Tk_RaiseCmd to their ObjCmd equivalent.
* library/msgbox.tcl: added color icons for tk_messageBox on Unix
and Mac when tk_strictMotif isn't set. (Hipp)
* library/tk.tcl: added window bounds checking to ::tk::PlaceWindow
* tests/imgPPM.test: fixed test 2.2 to use -format ppm (since
we know have GIF write capability)
1999-12-01 Scott Redman <redman@scriptics.com>
* generic/tkMain.c :
* unix/tkAppInit.c:
* win/winMain.c: Added added hooks into the main() code for
supporting TclPro and other "big" shells more easily without
requiring a copy of the main() code.
1999-11-29 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkImgGIF.c: added GIF writing that uses miGIF RLE
[Bug: 2039, new patch]
* library/entry.tcl: fixed up tkEntrySeeInsert (Nemthi)
* generic/tkListbox.c: fixed 'get' of listbox to return a string
when only one item is requested.
* tests/clrpick.test:
* tests/filebox.test: minor whitespace cleanup
* library/tk.tcl: fixed missing $w in ::tk::PlaceWindow
1999-11-24 Jeff Hobbs <hobbs@scriptics.com>
* library/clrpick.tcl:
* library/msgbox.tcl:
* library/tk.tcl:
* library/tkfbox.tcl:
* library/xmfbox.tcl: fixed dialogs to center over -parent,
added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab,
::tk::RestoreFocusGrab to tk.tcl to help
1999-11-23 Eric Melski <ericm@scriptics.com>
* tests/listbox.test: Added a test to check that the topIndex is
update when items are removed from the listvar variable.
* generic/tkListbox.c: Added a check the updates the topIndex when
items are removed from the listvar variable.
* tests/listbox.test: Added a test to check that the vertical
scrollbar is updated when the listvar changes.
* generic/tkListbox.c (ListboxListVarProc): added a check that
sets the UPDATE_V_SCROLLBAR flag if the length of the listvar has
changed.
1999-11-23 Jeff Hobbs <hobbs@scriptics.com>
* generic/tk.h:
* generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT
as equiv for TK_CONFIG_DONT_SET_DEFAULT
* generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the
item specs
1999-11-19 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkColor.c:
* generic/tkColor.h: fixed Tk_NameOfColor to work correctly,
with minor change to TkColor struct.
* generic/tkConsole.c: added static declaration to
ConsoleDeleteProc function (proto already had it)
* win/tkWinInt.h: removed TkFontAttributes typedef (was
redundant with tkFont.h).
* win/tkWinPort.h: put #ifndef __GNUC__ around redefinition
of str[n]casecmp, as cygwin uses the originals.
* win/tkWinX.c: changed GetCurrentTime to GetTickCount (the
former is deprecated). [Bug: 2053]
1999-11-19 Eric Melski <ericm@scriptics.com>
* tests/listbox.test: Added tests for itemcget and itemconfigure.
* doc/listbox.n: Added documentation for -listvar option and for
itemconfigure and itemcget commands.
* generic/tkListbox.c: Added support for itemconfigure/itemcget
listbox subcommands (addresses rfe #936)
1999-11-17 Eric Melski <ericm@scriptics.com>
* tests/listbox.test: Updated tests for new error messages.
* generic/tkListbox.c: Improved error messages for bad -listvar's.
* tests/listbox.test: Added tests for bad -listvar's.
* generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad
lists)
* tests/listbox.test: Added tests for ListboxUpdateHScrollbar.
* generic/tkListbox.c: Changed some old static buffers to base
size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
* tests/listbox.test: New tests for -listvar functionality, and an
odd extra case that wasn't covered before.
* generic/tkListbox.c: Tests exposed some bugs, now fixed.
1999-11-16 Eric Melski <ericm@scriptics.com>
* tests/listbox.test: Fixed tests to comply with new objectified
error messages. No -listvar specific tests yet.
* win/tkWinDefault.h:
* unix/tkUnixDefault.h:
* mac/tkMacDefault.h: Added default value for -listvar option.
* generic/tkWindow.c: Changed "listbox" mapping from old-school to
new-school objectified command.
* generic/tkListbox.c: Objectified listbox; added support for
-listvar option. Converted internal structure to use a Tcl list
object to store the data.
* generic/tkInt.h: Changed reference to Tk_ListboxCmd to
Tk_ListboxObjCmd.
1999-11-09 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkGrid.c: changed Tcl_Alloc to ckalloc
* generic/tkEntry.c: fixed C expr error in destroy of entry
that could lead to 'malformed bucket chain' error
* win/winMain.c: corrected winMain to not do a DebugBreak when
returning an error message from the top level
1999-10-30 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinKey.c: fixed XKeysymToKeycode to handle mapping of
symbolic keysyms (Left, Home, ...) with event generate
* library/entry.tcl: change tkEntrySeeInsert to avoid the use
of a while loop that could eat CPU tremendously. Behavior of
moving the cursor at the right edge changes slightly (previously
it tried to keep the cursor at the right edge, now it moves the
cursor to a "central right" location - better IMHO).
1999-10-28 Jeff Hobbs <hobbs@scriptics.com>
* doc/CrtImgType.3:
* doc/CrtPhImgFmt.3:
* doc/FindPhoto.3:
* doc/photo.n:
* generic/tk.h:
* generic/tkCmds.c:
* generic/tkImage.c:
* generic/tkImgBmap.c:
* generic/tkImgGIF.c:
* generic/tkImgPPM.c:
* generic/tkImgPhoto.c:
* generic/tkInt.h:
* generic/tkTest.c:
* generic/tkWindow.c:
* tests/imgPhoto.test: added Img patch (Nijtmans) with docs,
headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to
Tcl_Obj API, adds alpha channel (images are now 32 bpp)
* makefile.vc: changed 'c:/program files' to c:/progra~1
1999-10-19 Jeff Hobbs <hobbs@scriptics.com>
* library/scrlbar.tcl: changed tkScrollButtonUp to check for
existence of tkPriv(relief) in order to avoid spurious release
events
* unix/Makefile.in: added ChangeLog to dist archive
1999-09-24 Jeff Hobbs <hobbs@scriptics.com>
* */README:
* win/makefile.vc:
* */configure.in:
* generic/tk.h:
* library/tk.tcl: up'd to 8.3a1
* unix/Makefile.in: changed 'mkdir' to 'mkdir -p'
* library/dialog.tcl: changed {Times 18} to {Times 12} for
dialog font.
1999-09-16 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkFont.c: fixed processing of font options and error
returned [Bug: 2075]
* win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the
wrong toplevel, and changed it to not set focus on overridden
toplevels
1999-09-15 Jeff Hobbs <hobbs@scriptics.com>
* unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070]
and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX
version check (readjust from 8-21 fix) and several other config
fixes for AIX
* mac/tkMacMenubutton.c:
* unix/tkUnixMenubu.c: fixed permanently stippled menubutton image
* win/tkWinButton.c: fixed possible pointer smash [Bug: 2733]
1999-09-14 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]
1999-09-01 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinDraw.c:
* unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder
* generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c
(from code added to support TkpDrawHighlightBorder) [Bug: 2676]
* unix/aclocal.m4: added -bnoentry to the AIX-* flags
* library/msgbox.tcl: changed the behavior of tk_messageBox on
Unix to be more Windows like in handling of <Return> and the
default button
* library/button.tcl:
* library/clrpick.tcl:
* library/comdlg.tcl:
* library/console.tcl:
* library/dialog.tcl:
* library/entry.tcl:
* library/focus.tcl:
* library/listbox.tcl:
* library/menu.tcl:
* library/msgbox.tcl:
* library/palette.tcl:
* library/safetk.tcl:
* library/scale.tcl:
* library/scrlbar.tcl:
* library/tearoff.tcl:
* library/text.tcl:
* library/tk.tcl:
* library/tkfbox.tcl:
* library/xmfbox.tcl: updated commands to use [string] ops
instead of expr equality operators
1999-08-21 Jeff Hobbs <hobbs@scriptics.com>
* unix/aclocal.m4: Changed AIX-4.[2-9] check to AIX-4.[1-9]
[Bug: 1909]
1999-08-20 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkCursor.c: fixed bug in GetCursorFromObj that caused
panic [Bug: 2562]
* TK 8.2.0 RELEASED
1999-08-13 Jim Ingham <jingham@cygnus.com>
* mac/tkMacMenu.c: Tk_DrawChars ends up setting the menu background
wrong. There is no clean way to stop it, so I use lower level routines
here to draw the text.
* mac/tkMacProjects.sea.hqx: Rearrange the projects so that the build
directory is separate from the sources. Much more convenient!
1999-08-10 Jeff Hobbs <hobbs@scriptics.com>
* win/tkWinWm.c: changed "wm deiconify" on Windows to raise and
force the focus on the deiconified window (behavioral change from
8.1 to comply better with Windows style) [Bug: 1609]
* doc/wm.n: clarified behavior of "wm deiconify".
* generic/tkInt.decls: added TkSetFocusWin
* generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
* library/clrpick.tcl:
* library/console.tcl:
* library/tk.tcl: fixed code where abbreviations where used
in calling widget methods (confuses iWidgets) [Bug: 2422]
1999-08-09 Jeff Hobbs <hobbs@scriptics.com>
* library/button.tcl: cleaned up programming (config -> configure)
and fixed Windows relief bug [Bug: 664]
* library/entry.tcl: changed Entry C/C/P to not use global data
(now uses tkPriv(data)) [Bug: 1475]
* library/listbox.tcl: fixed extended mode script error [Bug: 866]
* doc/options.n: clarified that -troughcolor doesn't work on Windows
* doc/wm.n: fixed wm positionfrom docs [Bug: 2284]
1999-08-01 Jeff Hobbs <hobbs@scriptics.com>
* mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid
compiler errors when used with stubs-#defines, from Vince Darley.
[Bug: 2389]
1999-07-31 Scott Redman <redman@scriptics.com>
* xlib/X11/Xlib.h: Remove XFillRectangle since it is now in the
stub tables.
1999-07-30 Jeff Hobbs <hobbs@scriptics.com>
* generic/tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]
1999-07-30 <redman@scriptics.com>
* win/makefile.vc: Corrected building threaded tktest.exe on
Windows. Needed to link in .obj files from Tcl, needs to change
later so that code is in Tk and doesn't require a Tcl build.
Also added runtest target.
1999-07-29 <redman@scriptics.com>
* generic/tkConsole.c: Allow tcl to open CON and NUL, even for std
channels. Checking for bad/unusable std channels was moved to Tk
since its only purpose was to check whether to use the Tk Console
Window for the std channels. [Bug: 2393 2392 2209 2458]
* win/Makefile.in: Corrected building threaded tktest.exe on
Windows. Needed to link in .obj files from Tcl, needs to change
later so that code is in Tk and doesn't require a Tcl build.
1999-07-22 <redman@scriptics.com>
* Changed version to 8.2b2
* win/tkWinPort.h: Block out include of sys/stat.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]
* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x). [Bug: 2413]
* library/menu.tcl: Applied patch from Jeff Hobbs to fix typo.
[Bug: 2425]
1999-07-21 <redman@scriptics.com>
* unix/Makefile.in: Add Windows configure script to distribution.
1999-07-16 <redman@scriptics.com>
* unix/Makefile.in:
* win/Makefile.in: Copy the prolog.ps from the generic directory
for install-libraries.
* unix/aclocal.m4: Check for Alpha/Linux to set the IEEE flag to
the compiler to be -mieee. Patch from Don Porter.
1999-07-08 <stanton@scriptics.com>
* tests/unixSelect.test: Fixed broken test.
* win/makefile.vc: Added special case target to ensure that
tkStubLib.obj is built with -DSTATIC_BUILD.
* win/tkWinX.c (TkWinChildProc): Changed to pass
WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL
sub-windows happy. This allows Windows to generate the WM_SIZE
and WM_MOVE messages.
1999-07-08 <redman@scriptics.com>
* unix/configure.in: Fix Tk stub lib file names and flags.
1999-06-30 <redman@scriptics.com>
* generic/tkGrid.c: removed deprecated functions (applied patch
from Jan Nijtmans). [Bug: 2080]
* generic/tkImgGIF.c:
* generic/tkImgPPM.c:
* generic/tkImgPhoto.c: Applied patch to allow Img extension to
work with 8.2, from Jan Nijtmans. [Bug: 2068]
* win/tkWinWm.c: Applied patch from Don Porter to prevent the
windows code from calling the Tcl functions when the stub table
has not been initialized in TkWinWmCleanup. [Bug: 2269]
1999-06-16 <wart@scriptics.com>
* unix/configure.in:
* unix/Makefile.in:
* unix/aclocal.m4: Numerous build changes to make Tk conform to
the proposed TEA spec
* tkConsole.c: changed some variable types from (int) to (size_t)
to prevent compiler warnings. Cast return value from strlen()
to (int) in one place for the same reason.
1999-06-03 <stanton@scriptics.com>
* unix/tkUnixSelect.c:
* tests/unixSelect.test:
* generic/tkSelect.c: Fixed selection code to handle Unicode data
in COMPOUND_TEXT and STRING selections. [Bug: 1791]
1999-06-02 <stanton@scriptics.com>
* generic/tkIntXlibDecls.h:
* xlib/X11/Xlib.h: Added Mac specific defines to help with
compilation.
* generic/tkFont.c: lint
1999-06-01 <stanton@scriptics.com>
* unix/tkUnixSelect.c: Improved I18N selection support.
COMPOUND_TEXT is converted to/from iso2022, and STRING is
converted to/from iso8859-1. There are still a few loose ends to
tie up before this is completely done.
* unix/tkUnixFont.c: Eliminated redundant case folding code.
* generic/tkFont.c: Eliminated use of isupper/tolower in favor of
Unicode variants.
1999-05-24 <stanton@scriptics.com>
* generic/tkStubLib.c:
* generic/tkStubInit.c:
* generic/tkIntXlibDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntDecls.h:
* generic/tkInt.decls:
* generic/tkConsole.c: Various changes to try to get the Mac
builds working.
1999-05-21 <stanton@scriptics.com>
* win/tkWinClipboard.c: Fixed clipboard code to handle lack of
CF_LOCALE information (e.g. from command.com).
1999-05-20 <redman@scriptics.com>
* library/console.tcl: Changed copyright string to read 1999
Scriptics Corp. in wish console about box.
1999-05-19 <redman@scriptics.com>
* generic/tk.h: Add extern "C" block around entire header file for
C++ compilers to fix linkage issues. Submitted by Don Porter and
Paul Duffin.
1999-05-18 <stanton@scriptics.com>
* tests/winClipboard.test:
* win/tkWinClipboard.c: Fixed clipboard code so it handles Unicode
data properly on Windows NT and 95. [Bug: 1791]
1999-05-07 <stanton@scriptics.com>
* library/menu.tcl: Fixed bug where tk_popup fails when called too
quickly. [Bug: 2009]
1999-04-30 <stanton@scriptics.com>
* Changed version number to 8.1.1.
1999-04-30 <stanton@scriptics.com>
* Merged changes from 8.1.0 branch:
* generic/tkDecls.h:
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
* generic/tkStubInit.c: Changed to avoid the need for forward
declarations in stub initializers. Added extern "C" blocks around
stub table pointer declarations so the stubs can be used from C++
code. [Bug: 1934]
* generic/tkInt.decls: Added TkClipBox, XDrawSegments, and
XForceScreenSaver to stubs.
* generic/tkStubLib.c: Reordered declarations to avoid
circularities and forward references.
* generic/tkStubInit.c: Added includes for Mac.
* generic/tkMenubutton.c: lint
* generic/tkEntry.c: Fixed bad option table entry.
* generic/tkImgBmap.c:
* generic/tkImgPPM.c:
* generic/tkImgPhoto.c: Set the -translation and -encoding options
to binary for image files. (reported by Marco Gazzetta)
1999-04-23 <stanton@scriptics.com>
* generic/tkInt.decls: Added TkClipBox, XDrawSegments, and
XForceScreenSaver to stubs.
* generic/tkStubLib.c: Reordered declarations to avoid
circularities and forward references.
* generic/tkStubInit.c: Added includes for Mac.
* generic/tkMenubutton.c: lint
* generic/tkEntry.c: Fixed bad option table entry.
1999-04-22 <redman@scriptics.com>
* generic/tkImgBmap.c:
* generic/tkImgPPM.c:
* generic/tkImgPhoto.c: Set the -translation and -encoding options
to binary for image files. (reported by Marco Gazzetta)
1999-04-20 <redman@scriptics.com>
* xlib/X11/Xlib.h: changed definition of Status type to use a
typedef instead of a #define to avoid conflicting with the cygwin
win32 headers [Bug 1804]
1999-04-15 <stanton@scriptics.com>
* Merged 8.1 branch into the main trunk
1999-04-09 <redman@scriptics.com>
* generic/tkWindow.c: Fixed deadlock situation when the Initialize()
function returns without releasing the mutex. Found while testing
Bug 1700, during safe.test (tk).
1999-04-06 <stanton@scriptics.com>
* generic/tkMain.c (Tk_MainEx): Changed to reset result before
calling Tcl_EvalFile. The ensures that error messages will be
generated cleanly.
* tests/winfo.test: Enabled tests that previously failed.
1999-04-05 <stanton@scriptics.com>
* library/bgerror.tcl:
* library/button.tcl:
* library/clrpick.tcl:
* library/console.tcl:
* library/dialog.tcl:
* library/entry.tcl:
* library/focus.tcl:
* library/listbox.tcl:
* library/menu.tcl:
* library/msgbox.tcl:
* library/palette.tcl:
* library/scale.tcl:
* library/scrlbar.tcl:
* library/tearoff.tcl:
* library/text.tcl:
* library/tk.tcl: Lots of minor performance improvements
contributed by Jeffrey Hobbs. [Bug: 1118]
* win/tkWinWm.c (Tk_WmCmd): Fixed bad code in tracing
suboption. [Bug: 1519]
* library/tkfbox.tcl: Change to restore button text after an
action to avoid the sticky "Open" button in a save dialog.
[Bug: 1640]
* library/entry.tcl: Fixed so selection is returned using the
-show character during cut and paste operations. [Bug: 1687]
1999-04-5 <redman@scriptics.com>
* generic/tkInt.decls:
* generic/tkIntXlibDecls.h:
* generic/tkStubInit.c:
* xlib/xgc.c:
* xlib/X11/Xlib.h:
* xlib/X11/Xutil.h: Added more X functions to the Win & Mac stubs
tables.
1999-04-05 <stanton@scriptics.com>
* unix/configure.in:
* generic/tkCanvPs.c: Added configure test for pw_gecos field in
pwd to support OS/390. [Bug: 1724]
1999-04-02 <stanton@scriptics.com>
* tests/text.test:
* generic/tkText.c: Fixed handling of Unicode in text searches.
The -count option was returning byte counts instead of character
counts. [Bug: 1056, 1148, 1666]
1999-04-01 <redman@scriptics.com>
* generic/tk.decls:
* generic/tk.h:
* generic/tkStubInit.c:
* generic/tkWindow.c:
* unix/Makefile.in:
* win/makefile.vc: Tk now uses its own stub library to store
pointers to its own stubs table.
* doc/dde.n: (removed)
* doc/send.n:
* generic/tk.decls:
* tests/winSend.test:
* generic/tkPlatDecls.h:
* win/tkWinSend.c: Removed the DDE-based send and dde commands,
they were causing Tk to lock up when any window on the system was
not processing its message queue (more importantly, windows in Tcl
and Tk). The send command needs to be rewritten to prevent the
deadlock situation (soon). The dde command is being pushed into
its own package and will provide almost all of the capabilities
that send did before (using a "dde eval" command), not yet
completed.
1999-03-31 <redman@scriptics.com>
* win/tkWinSend.c: Modified dde/send code to work properly on
Win95/Win98. String lengths are not returned properly by DDE, so
NULL terminate all strings going in and ignore the string length
coming back out. Do not destroy handles until all necessary work
on those handles (and child handles) is done.
1999-03-30 <stanton@scriptics.com>
* generic/tkWindow.c (Tk_DestroyWindow): Image handlers are now
finalized before the font subsystem since complex image handlers
may contain references to fonts (e.g. Tix compound images).
[Bug: 1603]
1999-03-29 <stanton@scriptics.com>
* doc/MeasureChar.3:
* doc/TextLayout.3:
* generic/tk.decls:
* generic/tkCanvText.c:
* generic/tkEntry.c:
* generic/tkFont.c:
* generic/tkListbox.c:
* generic/tkMessage.c:
* mac/tkMacFont.c:
* unix/tkUnixButton.c:
* unix/tkUnixFont.c:
* unix/tkUnixMenu.c:
* win/tkWinFont.c:
* win/tkWinMenu.c: Standardized text layout and font interfaces
so they are consistent with respect to byte versus character
oriented indices. The layout functions all manipulate character
oriented values while the lower level measurement functions all
operate on byte oriented values. This distinction was not clear
and so the functions were being used improperly in a number of
places. [Bug: 1053, 747, 749, 1646]
* generic/tk.decls: Eliminated uses of C++ STL types string and
list from declarations.
* generic/tkFont.c: Changes to named fonts were not being
propagated in some cases. [Bug: 1144]
* xlib/X11/Xlib.h:
* generic/tkInt.decls: Added XParseColor to xlib stub
tables. [Bug: 1574]
* doc/GetBitmap.3:
* generic/tkBitmap.c (BitmapInit): Eliminated use of Tk_Uid's in
bitmaps. Added a few CONST declarations.
1999-03-29 <redman@scriptics.com>
* unix/configure.in:
* unix/Makefile.in:
* win/makefile.vc:
* generic/tkDecls.h:
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkPlatDecls.h:
* generic/tkIntXlibDecls.h: Removed stub functions. Always use the
Tcl stubs when building with --enable-shared.
1999-03-26 <redman@scriptics.com>
* generic/tkTextIndex.c:
* tests/testIndex.test: Avoid looking past the beginning of the
array storing data for the text widget (.t index end-2c). Added
test case to check for the bug. [Bug 991]
* generic/tkConsole.c: Copy static strings into a Tcl_DString
before passing to Tcl_Eval, in case the compiler puts static
strings into read-only memory.
1999-03-26 <suresh@scriptics.com>
* unix/configure.in:
--nameble-shared is now the default and builds Tk as a shared
library; specify --disable-shared to build a static Tk library
and shell.
1999-03-26 <surles@scriptics.com>
* library/menu.tcl: Fixed bug reported by Bryan Oakley in the
menubutton bindings. There was a false assumption that there was
always a menu attached to the button. [Bug 1116]
1999-03-26 <redman@scriptics.com>
* unix/configure.in: Removed --enable-tcl-stub. Linking Tk to Tcl
stubs is causing too many problems when linking executables like wish.
Until the Tk is a fully loadable extension, linking against the Tcl
stubs is not supported in Tk.
1999-03-19 <redman@scriptics.com>
* generic/tkBitmap.c:
* generic/tkCursor.c:
* generic/tkGC.c: When creating hash tables that key off of XID
handles, make sure to pass TCL_ONE_WORD_KEYS. XIDs are guaranteed
to be 32bit numbers, although on some 64bit systems (including 64bit
Solaris 7) they are packed into a 64bit value where the upper 32bits
are zero. The normal method of sizeof(XID)/sizeof(int) causes the
hash table code to assume that the XID is a pointer to an array of
two ints, which it is not. Tk now supports 64bit Solaris 7.
1999-03-17 <stanton@scriptics.com>
* win/makefile.vc:
* generic/tk.h: Changed to use TCL_BETA_RELEASE macro, and fixed
so this works in rc files.
* win/makefile.vc:
* win/makefile.bc:
* win/README:
* unix/configure.in:
* generic/tk.h:
* README: Updated version to 8.1b3.
1999-03-14 <stanton@GASPODE>
* unix/configure.in: Added missing stub related definitions.
* unix/Makefile.in: Install tkDecls.h in addition to tk.h.
* generic/tkStubLib.c: Added flags to ensure we are using Tcl
stub macros.
1999-03-11 <stanton@GASPODE>
* generic/tkInt.decls: Added reserved slot for XSetDashes for use
by the dash patch.
1999-03-10 <redman@scriptics.com>
* xlib/xdraw.c:
* xlib/X11/Xlib.h:
* mac/tkMac.h:
* mac/tkMacInt.h:
* mac/tkMacPort.h:
* mac/tkMacXStubs.c:
* mac/tkMacAppInit.c:
* mac/tkMacCursor.c:
* win/makefile.vc:
* win/tkWin.h:
* win/tkWinInt.h:
* win/tkWinPort.h:
* win/winMain.c:
* generic/tk.h:
* generic/tkInt.h:
* generic/tk.decls:
* generic/tkInt.decls:
* generic/tkDecls.h:
* generic/tkPlatDecls.h:
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkStubs.c:
* generic/tkPlatStubs.c:
* generic/tkIntStubs.c:
* generic/tkIntPlatStubs.c:
* generic/tkIntXlibStubs.c:
* generic/tkStubInit.c:
* generic/tkStubLib.c:
* generic/tkBind.c:
* generic/tkCmds.c:
* generic/tkConfig.c:
* generic/tkConsole.c:
* generic/tkCursor.c:
* generic/tkGrab.c:
* generic/tkImgPhoto.c:
* generic/tkMain.c:
* generic/tkMenu.c:
* generic/tkPointer.c:
* generic/tkTextDisp.c:
* generic/tkWindow.c:
* unix/tkUnixInt.h:
* unix/tkUnixPort.h:
* unix/Makefile.in:
* unix/configure.in:
* unix/tkConfig.sh.in:
* unix/tkUnix.c:
* unix/tkUnix3d.c:
* unix/tkUnixDraw.c:
* unix/tkUnixFont.c:
* unix/tkUnixMenubu.c: Stubs implementation for 8.1. Tk_Main() is
replaced with a macro which calls Tk_MainEx(). Tk can link to the Tcl
stubs library, wish links directly to Tcl and Tk. Use
--enable-tcl-stubs to link Tk to the Tcl stubs library (Unix), on
by default on Windows. Exported all public functions through the
stubs mechanism (see the *.decls files) and many of the internal
functions. Most of the changes dealt with shifting around the
function declarations in the header files. Mac code may not
compile, but it shouldn't take much work to fix this.
* mac/tkMacMenu.c: Added dummy TkpMenuThreadInit for Mac to be
consistent with Unix and Windows versions.
1999-03-08 <lfb@scriptics.com>
* win/tkWinWm.c: Toplevel class no longer shared between
threads.
* win/tkWinX.c: Multiple threads no longer share the same
TkDisplay structure. Required because TkDisplay stores much
thread-specific data for a given thread.
* win/tkWinSend.c: Moved application instance handle out
out thread-local storage. DDE was failing to initialize
when the instance handles were different between threads.
* win/makefile.vc: Added THREADDEFINES for building with
threads enabled.
* generic/tkMenu.c:
* win/tkWinMenu.c:
* unix/tkUnixMenu.c: Added TkpMenuThreadInit for initializing
thread-specific Menu state.
1999-03-01 <redman@scriptics.com>
* win/tkWinWm.c:
* win/tkWinPointer.c:
* win/tkWinInt.h: Fix "focus -force" for Windows. The Win32 API
function SetForegroundWindow() does not work unless the window
handle is a toplevel window (a Windows toplevel). The handle
being passed was a Tk toplevel, which is a child of the Windows
toplevel.
1999-02-26 <redman@scriptics.com>
* win/cat.c: Remove this file, use the one in the Tcl source directory.
* win/makefile.vc: Remove the wishc.exe from the default targets. Add
a separate console-wish target to build it. The need for a
console-wish will go away soon, so we don't want to encourage its
use.
1999-02-25 <redman@scriptics.com>
* win/tkWinWm.c: Properly initialize the tsdPtr->firstWindow field.
* win/cat.c: Code for cat32.exe, copied from the Tcl sources. Required
in order to run the test suite from the makefile
* win/winMain.c: Add main() for a console-based wishc.exe, which meant
adding code to disable the call to Tk_ConsoleInit().
* generic/tkConsole.c: Check the standard handles before creating the
new standard channels. This allows a windows app that has stdin,
stdout, or stderr to correctly connect to them.
* generic/tkMain.c: Add a proper check for the interactive mode, since
the standard channels may actually be connected in windows mode or
even in the console-based wish.
* win/makefile.vc: Add targets for wishc.exe (console-based wish) and
cat32.exe (for testing). Fix the test suite target so it can be run
from the makefile (which can happen since the standard handles have
been fixed).
1999-02-12 <lfb@scriptics.com>
* generic/tkMenuButton.h:
* generic/tkMenuButton.c:
* mac/tkMacMenubutton.c:
* mac/tkMacDefault.h
* unix/tkUnixMenubu.c: Eliminated Tk_Uids used by -state option.
* unix/tkUnixDefault.h
* win/tkWinDefault.h
* generic/tk.h:
* generic/tkScale.h:
* generic/tkScale.c:
* generic/tkWindow.c:
* unix/tkUnixScale.c:
* unix/tkUnixDefault.h:
* unix/tkWinDefault.h:
* mac/tkMacDefault.h: Objectified scale widget.
* win/tkWinX.c: Removed Thread-specific data from process
initialization code that was stopping the Tk Dll from
loading.
1999-02-11 <stanton@GASPODE>
* README:
* generic/tk.h:
* unix/configure.in:
* win/README:
* win/makefile.bc:
* win/makefile.vc: Updated version to 8.1b2.
* unix/tkUnixSend.c: Fixed one more Tcl_*ObjVar instance.
1999-02-04 <stanton@GASPODE>
* Various cleanup related to the Tcl_Eval and Tcl_ObjSetVar
changes in Tcl.
INTEGRATED PATCHES FROM 8.0.5b2:
* win/tkWinMenu.c (TkpDestroyMenu): Changed so modalMenuPtr is
cleared when it is being destroyed.
* generic/tkImgPhoto.c: Changed so color tables are freed
immediately instead of being delayed. This ensures that color
tables are properly disposed at process exit.
* library/prolog.ps: Changed string that determines font height to
include European character with an umlaut.
* generic/tkImgBmap.c (ImgBmapConfigureInstance): If an image
mask changed but ended up with the same XID, the GC failed to be
updated and so the new mask was not used. [Bug: 970]
* generic/tkFocus.c (SetFocus): Changed so focus window is always
set if -force is specified. This fixes the problem on Windows
where Tk does not activate the window if it already has focus.
* generic/tkConsole.c: Fixed so errors in console eval are
reported properly. Eliminated duplicate result messages. [Bug: 973]
* win/tkWinWm.c: Changed so windows that aren't resizable don't
have resize handles and the zoom box is disabled.
* win/tkWinInt.h:
* win/tkWinPointer.c: Changed to cancel the mouse timer when a
user initiated move/resize loop begins.
* unix/configure.in: TK_LD_SEARCH_FLAGS was set incorrectly if
SHLIB_LD_LIBS='${LIBS}', and shared linking is performed through
the C compiler. Systems affected are Linux, MP-RAS and NEXTSTEP,
but also with gcc on many more systems. [Bug: 908]
* win/makefile.vc: First stab at install target. Fixed quoting so
paths with spaces work.
* tests/main.test:
* tests/unixWm.test: Better cleanup of temporary files.
* mac/tkMacAppInit.c:
* generic/tkTest.c:
* generic/tkAppInit.c:
* win/winMain.c: Changed some EXTERN declarations to extern
since they are not defining exported interfaces. This avoids
generating useless declspec() attributes and makes the windows
makefile simpler.
* library/menu.tcl (tkMenuFind): Changed so keyboard shortcuts
will only be found in the current toplevel. Previously, they
might be found in menus attached to other toplevels that might not
even be mapped. [Bug: 924]
* generic/tkCanvLine.c: Changed to treat zero width lines like
they have width 1 for purposes of selection. [Bug: 925]
* win/tkWinFont.c (Tk_MeasureChars): Added a workaround for a bug
in GetTextExtentExPoint on Win NT 4.0/Japanese. [Bug: 1006]
* unix/tkUnixSend.c (Tk_SetAppName): Fixed uninitialized memory
access bug. [Bug: 919]
1999-1-28 <stanton@GASPODE>
* generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancel
pending idle handlers, resulting in a crash in a few odd cases.
1999-01-06 <lfb@JUSTICE>
* generic/tk.h, generic/tkGet.c, generic/tkConfig.c,
* generic/tkOldConfig.c, generic/tkEntry.c, generic/tkMenubutton.c,
* generic/tkMenubutton.h, generic/tkScale.c, generic/tkScale.h,
* generic/tkTextDisplay.c, generic/tkText.c, unix/tkUnixMenubu.c,
* unix/tkUnixScale.c, mac/tkMacMenu.c, mac/tkMacMenubutton.c,
Removed global Tk_Uids dealing with "-state" configuration option
and added new TK_CONFIG_STATE configSpec that doesn't use
Tk_Uids.
1998-12-11 === Tk 8.1b1 Release ===
1998-12-11 <stanton@GASPODE>
* generic/tkMain.c (Tk_Main): Fixed improper command line encoding
handling.
1998-12-08 <stanton@GASPODE>
* win/tkWinClipboard.c (TkSelGetSelection, TkWinClipboardRender):
Changed to handle multibyte characters properly. [Bug: 935]
1998-12-07 <stanton@GASPODE>
* library/xmfbox.tcl (tkMotifFDialog_Create): In the cached case,
the data array was not being initialized with the correct set of
widgets.
1998-12-4 <welch@SAGE>
* Changed patchLevel to 8.1b1
* generic/tkMenu.c (ConfigureMenuCloneEntries): The -menu configuration
option was being incorrectly specified as just "menu".
1998-11-30 <stanton@GASPODE>
* generic/tkButton.c (ConfigureButton): The error result was
getting lost when restoring configuration options. [Bug: 619]
1998-11-25 <stanton@GASPODE>
* unix/tkUnixFont.c (GetFontAttributes): Initialize an unspecified
family to an empty string.
(FontMapLoadPage): if the font included characters below 32, the
index computation was incorrect because the range was shifted up
to 32.
(CreateClosestFont): check for empty locale as well as NULL.
* generic/tkFont.c (TkFontParseXLFD): initialize charset to
iso8859-1 if no charset is specified.
* mac/tkMacHLEvents.c (OdocHandler): added conversion from
external string to UTF [Bug: 869]
* integrated tk8.0.4 changes.
* generic/tkBind.c: fixed deletion order bug where a crash would
result if a binding deleted "."
* generic/tkMenu.c (MenuWidgetObjCmd): disabled menu entries were
getting reenabled whenever the mouse passed over the entry [Bug: 860]
* unix/tkUnixMenu.c (TkpComputeStandardMenuGeometry): hidemargin
option was not honored properly in menus [Bug: 859]
1998-11-24 <stanton@GASPODE>
* tkMacMenu.c, tkUnixMenu.c, tkWinMenu.c, tkMenuDraw.c, tkMenu.h,
* tkMenu.c: Backed out the previous fix for bug 620 and
eliminated a bunch of code that created unnecessary objects.
Changed back to using internal types instead of objects for many
configuration options. There are many more fixes like this that
could be made, but some require a little restructuring of the
code. In any case the leaks are fixed and there is a lot less
allocation happening. [Bug: 620]
1998-11-19 <stanton@GASPODE>
* tkMenu.c (DestroyMenuEntry): fixed memory leaks [Bug: 620]
* tkWinX.c (GetTranslatedKey): fixed bad code merge
* tkWinWm.c, tkWinMenu.c: fixed titles and menus so they properly
display Unicode [Bug: 819]
|