-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.2004
3653 lines (2641 loc) · 131 KB
/
ChangeLog.2004
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
2004-12-29 Jeff Hobbs <[email protected]>
* win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, remove -Gs
(included in -O2) and -GD (outdated). Use "link -lib" instead of "lib"
binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer
for gcc OPT compiles. [Bug 1092952, 1091967]
2004-12-21 Donal K. Fellows <[email protected]>
* library/demos/*.tcl: Add [package require Tk] to all the widget demo
scripts so they follow standard practice better. [FRQ 815118]
2004-12-20 Vince Darley <[email protected]>
* generic/tkFileFilter.c:
* generic/tkFileFilter.h:
* macosx/tkMacOSXDialog.c:
* win/tkWinDialog.c:
* tests/filebox.test:
* tests/winDialog.test: Corrected handling of MacOS file types in
tk_*file dialogs [Bug 1083878].
2004-12-20 Donal K. Fellows <[email protected]>
* doc/panedwindow.n: Fix silly typo. [Bug 1087842]
2004-12-19 Chengye Mao <[email protected]>
* win/tkWin.h, win/tkWinEmbed.h: Make embedding work better on Windows.
* win/tkWinWm.c, win/tkWinX.c: [Bugs 222677, 831627, 842945, 1024364]
2004-12-17 Chengye Mao <[email protected]>
* generic/tkFrame.c: Make container windows display their
* generic/tkWindow.c: background when they don't have content.
2004-12-10 Donal K. Fellows <[email protected]>
* unix/tk.spec, macosx/Tk-Info.plist, macosx/Wish-Info.plist:
* macosx/Wish.pbproj/project.pbxproj, README, win/configure.in:
* unix/configure.in, generic/tk.h: Bump version to 8.5a3.
2004-12-09 Daniel Steffen <[email protected]>
* unix/tcl.m4: synced with tcl/unix/tcl.m4
* unix/configure: regen
2004-12-09 Donal K. Fellows <[email protected]>
* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):
Added guards so that rescanning for the complex-alpha check is not done
in the common case of creating a simple image a bit at a time, or any
other time where the image was simple before and the input data has no
alpha channel. [Bug 1081966]
2004-12-07 Don Porter <[email protected]>
* tests/canvPs.test: Cleaned up the matching of [makeFile] and
* tests/choosedir.test: [removeFile] commands as indicated by the
* tests/filebox.test: results of a -debug 1 run of the test suite.
* tests/imgPPM.test: Tk test suite is now -debug 1 clean. This
* tests/imgPhoto.test: completes fixing [1078648].
* tests/listbox.test:
* tests/main.test:
2004-12-07 Donal K. Fellows <[email protected]>
* tests/bind.test, tests/button.test, tests/canvas.test:
* tests/cursor.test, tests/scrollbar.test: Eliminate all duplicate test
names. [Bug 1078648 again]
2004-12-06 Jeff Hobbs <[email protected]>
*** 8.5a2 TAGGED FOR RELEASE ***
2004-12-06 Don Porter <[email protected]>
* tests/safe.test: Trim auto_path to improve performance [1080039]
2004-12-05 Jeff Hobbs <[email protected]>
* changes: updated for 8.5a2 release
2004-12-04 Donal K. Fellows <[email protected]>
* tests/*.test: Resolve duplicate test names. [Bug 1078648]
2004-12-03 Donal K. Fellows <[email protected]>
* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Make
overlay compositing where the target is empty no longer set the target
to magical gray, and also make sure that the complex-alpha flag is
toggled when necessary. [Patch 848161]
2004-12-01 Jeff Hobbs <[email protected]>
* unix/tkUnixButton.c (TkpDisplayButton): constrain coords to
Tk_RedrawImage to display only portion that is valid.
* generic/tkImgPhoto.c (ImgPhotoDisplay): add X error suppression
around XGetImage to prevent app abort. [Bug 979239]
2004-11-28 Joe English <[email protected]>
* unix/tkUnixRFont.c(Tk_DrawChars): Check for short integer overflow in
x,y coordinates [Fixes: Bug 942320 "Tk, Xft, text and long lines"]
2004-11-26 David Gravereaux <[email protected]>
* win/makefile.vc: Shell targets needed more stack space. [Bug 1066755]
2004-11-20 Vince Darley <[email protected]>
* tests/text.test: fix to test's platform sensitivities [Bug 1025871]
* tests/textDisp.test: made test less timing sensitive [Bug 1034171],
and fixed a platform-sensitive test [Bug 966845]
2004-11-19 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: reverted earlier changes for
tclConfig.h changes to tcl, since those have been reverted for now.
Note that newly added macosx/Wish.xcode will not work without
tclConfig.h, this project has not been removed again.
2004-11-18 Reinhard Max <[email protected]>
* unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of
* unix/configure.in: [Patch 996085], that introduces
* unix/Makefile.in: --enable-man-suffix.
* unix/installManPage: added
* unix/mkLinks.tcl: removed
* unix/mkLinks: removed
* unix/configure: generated
2004-11-17 Jeff Hobbs <[email protected]>
* generic/tkCanvWind.c (ConfigureWinItem): unmap windows immediately
when state hidden is requested. [Bug 982248]
* generic/tkCanvImg.c (ImageToPostscript): don't try ps generation of
canvas image item without image specified. [Bug 1032300]
* library/console.tcl (::tk::console::ExpandVariable): correct array
keyname expansion. [Bug 1004508] (bold)
* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under X attr
to prevent expose events when moving sash. [Bug 1036963]
2004-11-16 Vince Darley <[email protected]>
* doc/text.n: clarified documentation on use of -tabs option.
2004-11-16 Don Porter <[email protected]>
* library/msgs/it.msg: Updated Italian message catalog. Thanks to
Roberto Ugoccioni [Bug 1063675].
2004-11-16 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj:
* macosx/buildTkConfig.tcl: fixes for tclConfig.h changes.
* macosx/Wish.pbproj/project.pbxproj: fixed references to renamed
bitmap files.
* macosx/Wish.xcode/project.pbxproj (new):
* macosx/Wish.xcode/default.pbxuser (new):
* macosx/Wish-Info.plist (new):
* macosx/Tk-Info.plist (new): added new Xcode 1.5 project using native
targets, made possible by tclConfig.h changes.
* generic/tk.h: added version number change comments for new files.
2004-11-15 Vince Darley <[email protected]>
* generic/tkText.c: fix to multi-line search problem and removed
* tests/text.test: 'knownBug' from one test.
2004-11-15 Donal K. Fellows <[email protected]>
* unix/tcl.m4, unix/configure.in: Expanded all AC_DEFINE calls to the
three-argument form and ported recent changes to the tcl.m4 from the
Tcl distribution. *No* call to AC_CONFIG_HEADERS has been added; this
change should be virtually entirely cosmetic.
2004-11-12 Daniel Steffen <[email protected]>
* macosx/tkMacOSXXStubs.c: implemented XGetGeometry().
2004-11-12 Jeff Hobbs <[email protected]>
* generic/tkCmds.c (Tk_TkObjCmd): use correct screen data when
-displayof arg is passed to [tk scaling]. [Bug 800178]
2004-11-12 Daniel Steffen <[email protected]>
* doc/SetOptions.3:
* doc/text.n: fixed *roff errors uncovered by running 'make html'.
* macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure
that the lastSubFontPtr remains valid even when the subfont array is
reallocated. [Bug 618872]
2004-11-11 Reinhard Max <[email protected]>
* generic/tkEvent.c (InvokeInputMethods): Call XSetICFocus whenever the
window receives focus. This fixes [Bug 905830] but avoids [Bug 1000051]
2004-11-11 Daniel Steffen <[email protected]>
* generic/tkMain.c:
* macosx/tkMacOSXAppInit.c (removed):
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable,
enabling [package require Tk] from tclsh. Startup code from
tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies
the window server that an unbundled executable is a full GUI
application after loading Tk. [Patch 1035348]
* doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665]
* macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on
Mac OS X. [Patch 892194]
WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath].
* macosx/tkMacOSXSubwindows.c: synced spacing/formatting with
core-8-4-branch.
* generic/tkRectOval.c:
* macosx/README:
* macosx/tkMacOSXDefault.h:
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's and
my changes for CG drawing and [wm attributes] (corresponds to 8.4
changes dating from 09-18, 07-27, 07-24).
* macosx/tkMacOSXMouseEvent.c: endianness fixes.
* macosx/Wish.pbproj/project.pbxproj: corrected path to html help
inside framework.
* macosx/Makefile: prevent parallel make from building several targets
at the same time.
2004-11-09 Vince Darley <[email protected]>
* macosx/tkMacOSXButton.c: fix to dynamic reconfiguration of button
'-compound' options (cosmetic problem), [Bug 1055023]
* tests/text.test: added 'knownBug' 20.172.1 in text widget multiline
search routines.
2004-11-08 Donal K. Fellows <[email protected]>
* library/demos/goldberg.tcl: Added slightly adapted version of Keith
Vetter's tkGoldberg as the final animation demo. Many many thanks to
Keith for giving his permission! [FRQ 627466]
2004-11-07 Peter Spjuth <[email protected]>
* doc/frame.n: Added some info for -width/-height options. [Bug
1055423]
2004-11-07 Peter Spjuth <[email protected]>
* tests/grid.test:
* generic/tkGrid.c: Made handling of ^ a bit more consistent in corner
cases. This makes ^ work without any widgets in the same command. [Bug
962589]
2004-11-07 Donal K. Fellows <[email protected]>
* library/demos/pendulum.tcl: Added demonstrations of how to do
* library/demos/aniwave.tcl: animations using Tcl/Tk to the widget
* library/demos/anilabel.tcl: demo.
2004-11-03 Don Porter <[email protected]>
* tests/button.test: Update expected results to account for more
verbose errorinfo from errors in variable traces [Tcl Bug 572164]
2004-11-01 Don Porter <[email protected]>
* tests/dialog.test (dialog-1.1): Update expected result to changes in
the error messages produced by procs.
2004-10-29 Mo DeJong <[email protected]>
* tests/wm.test: Add Win32 test cases for attributes subcommand.
* win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic
for attributes subcommand.
2004-10-28 Mo DeJong <[email protected]>
* win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler): Rework
pushing of exception handler function pointer so that compiling with
gcc -O3 works. Remove empty function call to avoid compiler warning.
Mark the DllMain function as noinline to avoid compiler error from
duplicated asm labels in generated code.
2004-10-28 Pat Thoyts <[email protected]>
* unix/tkUnixScale.c (DisplayHorizontalValue): Fix for [Bug 220927] by
Michael Schlenker to keep the labels within the window.
2004-10-28 Donal K. Fellows <[email protected]>
* doc/*.n: Assorted minor documentation fixes.
2004-10-26 David Gravereaux <[email protected]>
* win/tkWinX.c: Signature for tkWinXCleanup needed to be
* generic/tkInt.decls: changed so it matches the Tcl_ExitProc
* generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast.
* win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
2004-10-26 Pat Thoyts <[email protected]>
* win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax error
* generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars.
2004-10-26 Donal K. Fellows <[email protected]>
* macosx/tkMacOSXRegion.c (TkpBuildRegionFromAlphaData):
* win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Factor out the
* unix/tkUnix.c (TkpBuildRegionFromAlphaData): building of region
* generic/tkImgPhoto.c (Tk_PhotoPutBlock): data to permit
better implementations on particular platforms. [Bug 919066]
2004-10-24 Donal K. Fellows <[email protected]>
TIP#177 AND TIP#179 IMPLEMENTATIONS
* doc/panedwindow.n: Docs for -hide and -stretch options.
* tests/panedwindow.test: Basic tests of -hide and -stretch options.
* generic/tkPanedWindow.c (Slave,slaveOptionSpecs,ComputeGeometry):
(DisplayPanedWindow,ArrangePanes,MoveSash,PanedWindowIdentifyCoords):
Add hide flag and stretch setting to list of options supported on a
panedwindow's slaves. [Patch 983886] Much thanks to Brian Griffin for
these options.
2004-10-20 Jeff Hobbs <[email protected]>
* win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER to SetWindowPos
when maintaining win Z order, to prevent parent from flashing (when
adjusting Z order).
2004-10-19 Joe English <[email protected]>
TIP#204 IMPLEMENTATION
* library/tk.tcl, library/entry.tcl, library/spinbox.tcl:
TIP #204 "Virtual Events for Keyboard Traversal" [Patch 976928]
2004-10-19 Donal K. Fellows <[email protected]>
* tests/canvPsImg.tcl, tests/canvPsBmap.tcl:
* generic/tkBitmap.c, bitmaps/*.bmp:
* library/demos/icon.tcl, library/demos/items.tcl:
* library/demos/label.tcl, library/demos/menu.tcl:
* library/demos/ruler.tcl, library/demos/twind.tcl:
* library/demos/images/*.bmp: Renamed all X bitmap files files to have
an .xbm extension so Windows users won't get confused when wandering
around the Tcl source tree. [Bug 733835]
2004-10-11 Miguel Bañon <[email protected]>
* library/msgs/sv.msg: Swedish message catalog from Mats Bengtsson.
2004-10-09 Donal K. Fellows <[email protected]>
* doc/wm.n: Recorded what attribute values are supported on OSX though
I don't know what they do.
2004-10-08 Joe English <[email protected]>
TIP#205 IMPLEMENTATION
* unix/tkUnixRFont.c: TIP #205 "Use pkgconfig Database to Register Xft
Support".
2004-10-05 Jeff Hobbs <[email protected]>
TIP#159 IMPLEMENTATION
* doc/wm.n (iconphoto): Added support for Tk photo images as
* generic/tkInt.h (TkDisplay): title-bar icons. TIP #159
* win/tkWinWm.c (WmIconphotoCmd): "wm iconphoto ?-default? image1 ..."
* macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix,
* unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X.
* tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
2004-10-04 Jeff Hobbs <[email protected]>
* generic/tkTextWind.c (EmbWinDelayedUnmap): Fix init warnings
* generic/tkTextTag.c (TkTextCreateTag):
* generic/tkTextMark.c (TkTextSetMark):
* generic/tkTextIndex.c (GetIndex):
* generic/tkUndo.c (EvaluateActionList):
2004-09-24 Don Porter <[email protected]>
* generic/tkCursor.c: Add missing initialization in debug routine.
2004-09-24 Vince Darley <[email protected]>
* library/text.tcl: corrected mousewheel scrolling [Bug 960190]
* tests/textDisp.test: made some tests more robust to slowness in
asynchronous height calculation callbacks [Bug 1025781]
2004-09-24 Pat Thoyts <[email protected]>
* win/tkWinX.c: Added declaration for advapi32 now that this file uses
the Reg* functions (req'd for nmake build system).
2004-09-23 Vince Darley <[email protected]>
* generic/tkTest.c
* tests/text.test: fix and tests for [Bug 1026485] - negative text
search ranges should not lead to any matches.
2004-09-22 Jeff Hobbs <[email protected]>
* win/tkWinInt.h (TkWinDisplayChanged): added decl
* win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly handle
* win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): color and screen
resolution changes. Tested for 16/24/32 bpp changes on XP. May need
more fixes for 8bpp switch, use of special colormaps, or other special
palette handling cases. [Bug 223689]
2004-09-21 Mo DeJong <[email protected]>
* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme. It is only
defined under Win32.
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw
a disabled 3D text highlight for the accelerator only with the Win95/98
look. Same goes for the menu entry text.
* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
Automatically detect the Windows theme in use and return either
TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme
function is invoked. [Patch 866194]
2004-09-21 Mo DeJong <[email protected]>
* win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA defines so that
compiling with mingw works again.
2004-09-20 Jeff Hobbs <[email protected]>
* win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute
settings prior to window mapping and resort to more forceful wrapper
update again for -toolwindow (to remove it from taskbar).
2004-09-19 Donal K. Fellows <[email protected]>
* doc/*: Standardize style of references to manual sections and public
Tcl symbols along the lines of what I set out in [Tcl Patch 1022527].
2004-09-18 Jeff Hobbs <[email protected]>
* win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 setting and
round the value.
(UpdateWrapper): don't adjust Z order of TOPMOST window.
(WmAttributesCmd): don't call UpdateWrapper for -disabled or
-toolwindow attr changes.
2004-09-17 Jeff Hobbs <[email protected]>
TIP#222 IMPLEMENTATION
* doc/wm.n:
* tests/winWm.test: Add 'wm attributes -alpha' to control toplevel
* win/tkWinInt.h: alpha transparency on Win2K/XP+.
* win/tkWinWm.c: TIP #222 [Patch 892194]
* win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z order and
* tests/winWm.test: focus of preexisting window when
replacing the wrapper window.
2004-09-16 David Gravereaux <[email protected]>
* win/makefile.vc : added VC7-safe environment check as used in the Tcl
makefile.vc [Bug 1029349]
2004-09-16 Jeff Hobbs <[email protected]>
* generic/tkMenu.c (MenuWorldChanged): ensure that we recompute the
menu geometry on WorldChanged to handle font size changes. [Bug 607649]
2004-09-16 Peter Spjuth <[email protected]>
* tests/place.test:
* generic/tkPlace.c: Fixed a memory leak when a placed widget was
forgotten. [Bug 1028888]
2004-09-14 Mo DeJong <[email protected]>
* win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to
XWithdrawWindow with proper code. This avoids a "couldn't send withdraw
message to window manager" error when the iconwindow is already mapped.
The wm iconwindow command does not seem to do much under Win32, but at
least this avoids an error message.
2004-09-13 Jeff Hobbs <[email protected]>
* win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the right size
for both icons ('?:' order of precedence mistake).
2004-09-10 Donal K. Fellows <[email protected]>
* library/tkfbox.tcl (::tk::dialog::file::): Make sure that the state
is reset properly when starting to run the dialog. [Bug 845189]
* library/demos/filebox.tcl: Stop the use of tk_strictMotif from
poisoning the rest of the widget demo. [Bug 1013942]
2004-09-10 Jeff Hobbs <[email protected]>
* win/tkWinWm.c (ActivateWindow): SetFocus to grab window when clicking
outside the grab window hierarchy. [Bug 220908]
(UpdateWrapper): update to 2004-06-12 Kovalenko to account for whether
the override window has a transient parent, and apply WS_POPUP in the
correct case. The makes splash screens pop up as well as making
dropdowns not grab focus away from the parent.
2004-09-10 Vince Darley <[email protected]>
TIP#169 IMPLEMENTATION
* doc/text.n, generic/tkTest.c, generic/tkText.c, generic/tkText.h:
* generic/tkTextBTree.c, generic/tkTextDisp.c, generic/tkTextImage.c:
* generic/tkTextIndex.c, generic/tkTextMark.c, generic/tkTextTag.c:
* generic/tkTextWind.c, generic/tkUndo.c, generic/tkUndo.h:
* library/text.tcl, library/demos/twind.tcl, library/demos/widget:
* tests/text.test, tests/textImage.test, tests/textIndex.test:
* tests/textWind.test: implementation of TIP#169, which provides the
new '$text peer' widget subcommand. This includes new documentation,
tests, and an extension to the text widget demos to illustrate some of
the new features. Many thanks also to Brian Griffin for the initial
implementation.
2004-09-09 Jeff Hobbs <[email protected]>
* tests/panedwindow.test: bulletproof 23.2 result [Bug 1019100]
* win/tkWinWm.c (ReadIconFromFile): when using SHGetFileInfo to
retrieve icon, get regular icon as well for correct Alt-Tab icon.
2004-09-09 Donal K. Fellows <[email protected]>
* doc/wish.1: Added note that the -use option is linked to the frame's
-container option to help with [Bug 1024364]
2004-09-06 Jeff Hobbs <[email protected]>
* library/tkfbox.tcl (::tk::dialog::file::Create): use label instead of
button for "File of type", as it properly handles -state disabled now.
2004-09-06 Pat Thoyts <[email protected]>
* win/makefile.vc: Set TK_LIBRARY when execing Tk apps (test, runtest,
rundemo).
2004-09-03 Donal K. Fellows <[email protected]>
* macosx/tkMacOSXMenus.c (GenerateEditEvent):
* macosx/tkMacOSXMenu.c (MenuSelectEvent):
* win/tkWinMenu.c (MenuSelectEvent): Make sure everywhere that needs to
NULL-out the user_data field does actually do so. (Code that uses
bzero() or memset() for the task just needs to be rebuilt to work).
[Bug 1021812]
2004-09-01 Donal K. Fellows <[email protected]>
* tests/bind.test (bind-22.163): Fix inadvertent minor breakage from
TIP#165. [Bug 1019085]
* doc/toplevel.n, doc/loadTk.n: More spelling/abbreviation fixes from
Mikhail Kolesnitchenko.
2004-08-29 Donal K. Fellows <[email protected]>
TIP#165 IMPLEMENTATION
* generic/tk.h (XVirtualEvent): Added user_data field to structure.
* generic/tkBind.c (ExpandPercents, HandleEventGenerate):
* generic/tkEvent.c (Tk_HandleEvent): Handle putting data into the
user_data field, passing it to scripts as %d substitution, and
releasing the field's contents once the event has been processed.
* doc/bind.n, doc/event.n, tests/bind.test: Docs + tests.
2004-08-26 Jeff Hobbs <[email protected]>
* library/text.tcl (::tk::TextTranspose): Ensure that Transpose is an
atomic op to undo.
2004-08-25 Don Porter <[email protected]>
* macosx/tkMacOSXWm.c: Made use of Tcl_WrongNumArgs in a few
* win/tkWinMenu.c: appropriate spots.
2004-08-22 Donal K. Fellows <[email protected]>
* doc/SetOptions.3, doc/SetClassProcs.3, doc/MeasureChar.3:
* doc/GetVRoot.3, doc/GetHWND.3, doc/GetDash.3, doc/GetBitmap.3:
* doc/FontId.3, doc/CrtItemType.3, doc/ConfigWidg.3, doc/GetCursor.3:
More doc fixes from Mikhail Kolesnitchenko. [Patch 1013520]
2004-08-20 Donal K. Fellows <[email protected]>
* doc/TkInitStubs.3, doc/photo.n, doc/ParseArgv.3, doc/options.n:
* doc/keysyms.n, doc/font.n: More doc fixes. [Patch 1012837]
* doc/place.n, doc/pack.n, doc/grid.n, doc/getOpenFile.n:
* doc/event.n, doc/chooseDirectory.n, doc/bind.n:
Spelling and grammar fixes from Mikhail Kolesnitchenko. [Patch 1012083]
* tests/canvas.test (canvas-17.1): Report the result of the test so
that it can be compared. [Bug 1012331]
2004-08-19 Jeff Hobbs <[email protected]>
* win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon from the
* win/tkWinInt.h: -parent window for the
* win/tkWinWm.c (TkWinGetIcon): MessageBox.
2004-08-19 Joe English <[email protected]>
* unix/tkUnixWm.c: Cast argument 7 of XChangeProperty to 'const
unsigned char *' (from 'const char *') to satisfy Solaris 8 Forte C
compiler [Bug 1012325]
2004-08-19 Don Porter <[email protected]>
* tests/safe.test (safe-1.3): Made test less sensitve to the full set
of existing aliases in an interp, so the it only tests whether the
tested ones are present.
* unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell`
target to other similar targets so that just built libraries are
tested, rather than previous installations.
2004-08-19 Donal K. Fellows <[email protected]>
TIP#168 IMPLEMENTATION
* generic/tkTrig.c (TkMakeRawCurve, TkMakeRawCurvePostscript):
* generic/tkInt.decls: New functions to handle the geometry for "raw"
bezier curves.
* generic/tkCanvUtil.c (tkRawSmoothMethod, InitSmoothMethods)
(TkSmoothParseProc): Add new type of smoothing method, simplify the
method initialization, and change the old smoothing method to be called
"true" and just keep "bezier" as an alias.
* tests/canvas.test (canvas-17.1): Basic test of built-in smoothing
method support.
* doc/canvas.n: Documentation updates.
2004-08-18 Donal K. Fellows <[email protected]>
* generic/tkPanedWindow.c (optionSpecs): Add missing GEOMETRY flag to
-handlepad option. [Bug 1010938]
2004-08-17 Donal K. Fellows <[email protected]>
* doc/menu.n, doc/text.n: Assorted fixes, including spelling fixes from
Mikhail Kolesnitschenko. [Patch 1010083]
* doc/spinbox.n, doc/scrollbar.n, doc/scale.n, doc/panedwindow.n:
* doc/message.n, doc/listbox.n, doc/entry.n, doc/button.n:
More spelling fixes from Mikhail Kolesnitschenko. [Patch 1010607]
2004-08-16 Donal K. Fellows <[email protected]>
* doc/button.n, doc/checkbutton.n, doc/label.n, doc/menubutton.n:
* doc/radiobutton.n: Added cross-reference to new standard option.
* doc/options.n: Added standard documentation for the -compound
option. [Bug 712588]
* doc/canvas.n: Spelling and grammar fixes from Mikhail
Kolesnitschenko. [Bug 1009636]
2004-08-11 Donal K. Fellows <[email protected]>
* library/tkfbox.tcl (ResolveFile): Added some environment variable
handling; this isn't perfect, but should do what most people want most
of the time. [FRQ 979101]
* library/xmfbox.tcl (MotifFDialog_BuildUI): Fix [Bug 987169] in the
Motif file dialogs as well.
2004-08-10 Joe English <[email protected]>
* unix/tkUnixWm.c: Fix for [Bug 1006686] "wm resizable command not
working on Solaris/CDE" (patch from Colin McDonald).
2004-08-09 Mo DeJong <[email protected]>
* tests/canvText.test:
* win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that
appeared using canvas text under Win32. A long wrapping string that had
leading spaces was being incorrectly wrapped. This change makes the
Win32 implementation behave the same as the Unix implementation. [Patch
1006286]
2004-08-05 Donal K. Fellows <[email protected]>
* library/clrpick.tcl (BuildDialog):
* library/msgbox.tcl (MessageBox): Add scheme for cancelling dialog
boxes with Escape and also handle what happens when the window gets
nuked from outside. [Bug 987169]
2004-08-04 Donal K. Fellows <[email protected]>
* generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): Clean the code up a
bit and add a few more comments.
(Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Clarified the code,
corrected the compositing rule now that I have looked up what the right
thing to do is, and factorized out the compositing rule code into a few
simpler macros.
2004-07-30 Daniel Steffen <[email protected]>
* unix/configure:
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
2004-07-29 George Peter Staplin <[email protected]>
* generic/tkEvent.c (TkQueueEventForAllChildren): Code from the
core-8-4-branch to not queue events for unmapped windows was added.
2004-07-27 Daniel Steffen <[email protected]>
* generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard
Max: in case of premature end of image data, return error instead of
passing nil buffer to Tk_PhotoPutBlock().
2004-07-22 Jeff Hobbs <[email protected]>
* library/tkfbox.tcl (::tk::dialog::file::Update): use -directory [pwd]
(instead of .) to get around some VFS edge case bugs. Correct args
passes to tk_messageBox when failing to cd. Add -force back to
namespace import of msgcat.
2004-07-20 Jeff Hobbs <[email protected]>
* generic/tkEvent.c (InvokeInputMethods): ensure IC focus is set after
creation. [Bug 905830]
2004-07-20 Daniel Steffen <[email protected]>
* macosx/Makefile: added support to tk framework build to optionally
install tk manpages in addition to html help, similarly to
tcl/macosx/Makefile.
* macosx/Wish.pbproj/project.pbxproj: fixes for building with
non-default SYMROOT/OBJROOT/SRCROOT, added support for using a
Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added
optional support for building html help without tcl sources present by
giving explicit location of tcltk-man2html script.
* macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.
* unix/Makefile.in:
* win/Makefile.in: added 'install-private-headers' makefile target to
allow optionally installing private tk headers. [Tcl FR 922727]
2004-07-16 Jeff Hobbs <[email protected]>
* unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after their
* unix/configure.in, unix/configure: _DEFAULT to allow for env setting
to override m4 switches.
Consolidate header checks to limit redundancy in configure.
(CFLAGS_WARNING): Remove -Wconversion
(SC_ENABLE_THREADS): Set m4 to force threaded build when built against
a threaded Tcl core.
Reorder configure.in for better 64-bit build configuration, replacing
EXTRA_CFLAGS with CFLAGS. [Bug 874058]
2004-07-14 Jim Ingham <[email protected]>
* macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not reset the
cursor more often than necessary was getting fooled when the current
cursor was nulled out when the current cursor gets freed. So in the
case where the input cursor was NULL, we have to just always set it.
[Bug 894550]
2004-07-13 Don Porter <[email protected]>
* library/tkfbox.tcl: Corrected coding errors in most recent change.
Use [bind $w], not [$w configure] to modify bindings.
2004-07-11 Donal K. Fellows <[email protected]>
* library/tkfbox.tcl (::tk::dialog::file::Create): Watch out for users
destroying the dialog indirectly. [Bug 987169]
2004-07-07 Donal K. Fellows <[email protected]>
* doc/canvas.n: Add paragraph to make clearer what is going on with the
default canvas origin. [Bug 956681]
2004-07-05 George Peter Staplin <[email protected]>
* generic/tkEvent.c: TK_XIM_SPOT preprocessor usage was modified
slightly to fix a bug that occured when TK_XIM_SPOT was defined as 0.
Thanks to Joe Mistachkin for reporting this bug.
2004-07-05 Donal K. Fellows <[email protected]>
TIP#158 IMPLEMENTATION
* tests/bind.test: Allow Win apps to distinguish keys
* win/tkWinX.c (GetState): on the keypad using the Extended
* generic/tkInt.h (EXTENDED_MASK): modifier. Thanks to Wolfgang
* generic/tkBind.c: Grossbauer and Kevin Kenny for
* doc/bind.n: developing this patch [Patch 797404]
2004-07-05 Joe English <[email protected]>
* unix/tkUnixWm.c: Set _NET_WM_NAME and _NET_WM_ICON_NAME
(freedesktop.org) in addition to WM_NAME and WM_ICON_NAME (ICCCM). This
allows the full Unicode character set to be used in window manager
strings (but only for newer WMs that support the EWMH spec). [Bug
959973]
2004-07-02 George Peter Staplin <[email protected]>
* generic/tkEvent.c: Tk_HandleEvent was refactored to be more readable,
and during this process two bugs were found.
1) Button 4 and 5 masks will now be synchronized with the TkDisplay.
2) ClientMessage handlers will use the proper last pointer rather than
writing to the last GenericHandler pointer.
Thanks to Joe English for his help and encouragement, and DKF for
review.
2004-07-01 Donal K. Fellows <[email protected]>
* doc/place.n, doc/pack.n: Doc fixes. [Tcl Bug 983146]
2004-06-30 Donal K. Fellows <[email protected]>
TIP#153 IMPLEMENTATION
* generic/tkCmds.c (GetTopHierarchy): Modified from GetToplevel so
* doc/winfo.n: that [winfo toplevel] does not
assume that it is really working with toplevels. Occasionally this is
important. Thanks to Neil McKay for this patch!
2004-06-29 Jeff Hobbs <[email protected]>
* generic/tkCmds.c (Tk_WinfoObjCmd): refetch interp result obj for
'winfo id' as it can change when making the window exist.
2004-06-26 Joe Mistachkin <[email protected]>
* generic/tkConsole.c (ConsoleDeleteProc): Set tsdPtr->gStdoutInterp to
NULL when the console command is deleted [Bug 756840]. Also, added
Tcl_Preserve/Tcl_Release for consoleInterp in InterpreterCmd in case it
gets deleted during the calls to Tcl_GlobalEval and Tcl_RecordAndEval.
2004-06-24 Donal K. Fellows <[email protected]>
* tests/canvPs.test, etc: Use standard tcltest constraint names.
2004-06-19 Daniel Steffen <[email protected]>
* unix/tcl.m4: autoconf 2.5 fixes in Darwin section.
* unix/configure: autoconf-2.57
2004-06-17 Donal K. Fellows <[email protected]>
* tests/constraints.tcl, tests/*.test: Systematization of test
constraints so many common and basic constraints are defined once with
a single name.
2004-06-16 Joe English <[email protected]>
* unix/tkUnixWm.c, win/tkWinWm.c, macosx/tkMacOSXWm.c, tests/wm.test
* tests/unixWm.test: Fix for [Bug 742882] "Potential division by zero
in gridded wm geometry"
2004-06-15 Anton Kovalenko <[email protected]>
* win/tkWinButton.c: Add a 3D highlight to disabled *buttons and
labels, the same way as it's now done for disabled menu entries.
2004-06-15 Donal K. Fellows <[email protected]>
* doc/image.n: Enhanced the documentation to take into account the
concerns raised in [RFE 803060]
* tests/canvas.test: Updated tests affected by the change to
ScrollFractions, which is now clean about result generation.
* generic/tkCanvas.c: Make tag search subsystem use symbolic names for
type flags for easier maintenance.
(FIRST_CANVAS_ITEM_MATCHING,FOR_EVERY_CANVAS_ITEM_MATCHING): Factorize
out searching idioms into macros to reduce the #ifdef count and make
braces match.
(ScrollFractions): Really create a list Tcl_Obj.
2004-06-12 Anton Kovalenko <[email protected]>
* win/tkWinWm.c (UpdateWrapper): Let overrideredirect'ed window's
wrapper be the child of desktop window, thus making it to behave more
similarly to X11 Override Redirect. Esp. useful for combobox-like
megawidgets.
2004-06-09 Vince Darley <[email protected]>
* generic/tkText.c:
* tests/text.test: fix to multi-line regexp search bugs in text widget
(reported against Alphatk editor, not on sf). Addded 3 new tests.
2004-06-09 Donal K. Fellows <[email protected]>
* generic/tkUndo.c (TkUndoSetDepth): Delete the unlinked element and
not the next element. Stops a crash in some situations and a memory
leak in others. Thanks to Jiang Wu for spotting this. [Bug 969358]
2004-06-08 Mo DeJong <[email protected]>
* generic/tkCanvText.c (DisplayCanvText): Fix text rendering problem
with canvas text items that have a selected region. The previous
implementation would render the whole line and then redraw the
selected text if it was a different color. This caused problems when
the selected text foreground differs from the normal text foreground,
the anti-aliasing alpha pixels for the two text strings would blend
together resulting in strange looking text. The fix is to draw the
normal text and the selected text separately. This problem has only
been observed under Windows, with anti-aliased text. [Patch 968725]
2004-06-07 Vince Darley <[email protected]>
* generic/tkTextDisp.c:
* generic/tkTextBTree.c: fix to (Bug 965186) in which the text widget's
record of partial-line-height calculations (for very long wrapped
lines) was being incorrectly reused. This resulted in confusing
scrollbar-text interactions.
2004-06-06 Pat Thoyts <[email protected]>
* tests/frame.test: Fix frame-2.8 for ![info exists env(DISPLAY)]
2004-06-04 Don Porter <[email protected]>
* tests/filebox.test: A few typo corrections in dkf's recent style
* tests/frame.test: upgrade for the test suite.
* tests/select.test:
* tests/visual.test:
2004-06-04 Vince Darley <[email protected]>
* generic/tkTextIndex.c:
* generic/tkText.c:
* generic/tkTextDisp.c:
* doc/text.n: fix to shimmering infinite loop scrolling problem in text
widget under some rare circumstances (Bug 965398). Improved comments
and documentation.
* tests/textDisp.test: corrected rounding from float to int in test,
fixing occasional failures
* library/text.tcl: corrected mousewheel bindings for TkAqua
2004-05-29 Joe English <[email protected]>
* doc/messageBox.n: Fix minor markup errors (backslash is \e, not \b).
2004-05-24 Donal K. Fellows <[email protected]>
* doc/messageBox.n: Added documentation for the -detail option.
* tests/msgbox.test: Updated test suite with correct list of options.
* win/tkWinDialog.c (Tk_MessageBoxObjCmd): Added "support" for the
-detail option by concatenating it onto the end of the message.
2004-05-24 Jim Ingham <[email protected]>
* tkMacOSXDialog.c (Tk_MessageBoxObjCmd): Turn on the -detail option
for Mac OS X.
2004-05-23 Donal K. Fellows <[email protected]>
* ChangeLog.2002: Split older ChangeLog entries off into a separate
file.
* doc/bindtags.n: Added example.
* tests/*.test: Many minor fixes aiming towards making the Tk test
suite have better style. (A very large fraction of test files were
modified.)