forked from tcltk/tk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.2002
7877 lines (5872 loc) · 270 KB
/
ChangeLog.2002
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
2002-12-27 David Gravereaux <[email protected]>
* generic/tkText.h: ANSI unfriendly typedef for TkTextBTree
repaired for C++ compilers.
2002-12-27 Joe English <[email protected]>
* unix/tkUnixWm.c (WaitForEvent): process Map and Unmap events
as well as Configure events during WaitFor{Configure|Map}Notify.
Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap
events out of order, making Tk think a window was unmapped when
it really wasn't).
2002-12-18 Todd M. Helfter <[email protected]>
* doc/label.n: Fixed documentation of the -compound option to
the label widget. The option was simply missing from the
man page [Bug 577540]
2002-12-17 Donal K. Fellows <[email protected]>
* doc/photo.n: Fixed documentation of the put subcommand to no
longer talk about files and to mention that you can use colour
names for working with solid colours. [Bug 640026]
2002-12-13 Don Porter <[email protected]>
* generic/tkMain.c (Tk_Main): Call on Tcl*StartupScript*() routines
to store the startup script, if any. [Bug 616245].
2002-12-10 David Gravereaux <[email protected]>
* win/makefile.vc: tclThreadTest.obj not required to link
tktest.exe [Bug 651396]
2002-12-08 Jeff Hobbs <[email protected]>
* generic/tkEntry.c (ConfigureEntry): keep a flag to indicate when
a var is traced to prevent double-traces caused by configuring the
widget in traces with validation on. (dejong)
2002-12-07 Jeff Hobbs <[email protected]>
* generic/tkInt.decls: add TkWinSetHINSTANCE decl
* generic/tkIntPlatDecls.h: regen
* generic/tkStubInit.c: regen
* win/tkWinInit.c (TkpInit): While init and cleanup aren't correct
* win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the
* win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a
dynamic Tk weren't being loaded correctly. Created a new function
TkWinSetHINSTANCE for this purpose.
2002-12-06 Jeff Hobbs <[email protected]>
* win/tkWinX.c (TkWinXInit): Move cleanup into an exit handler
* win/tkWin32Dll.c (DllMain): to ensure that it will be called
* win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll.
Also reset the static int initialized on cleanup to allow reinit.
2002-12-01 Mo DeJong <[email protected]>
* tests/event.test (_keypress, _text_ind_to_x_y): Force focus to
widget in _keypress method to avoid problems with window managers
that use focus follows mouse. [Bug 526209]
2002-12-01 Mo DeJong <[email protected]>
* tests/wm.test: Add wm-transient-6.3 to check that a transient
remains withdrawn when it is first withdrawn and then turned into
a transient.
* unix/tkUnixWm.c:
* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN
and set this flag whenever a window is explicitly withdrawn. This
fixes the test case added above. [Bug 644356]
2002-11-22 Jeff Hobbs <[email protected]>
* tests/textDisp.test:
* generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped
text displays. [Bug #641778]
2002-11-19 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the
scrollbar width is set to 12 or less (but 12 is what you
should use) use the small metric scrollbar.
(UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for
the place geometry manager.
2002-11-19 Jeff Hobbs <[email protected]>
* unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl in
particular) to the dist target.
2002-11-14 Mo DeJong <[email protected]>
* generic/tkWindow.c (Tk_DestroyWindow, DeleteWindowsExitProc):
Add TkHalfdeadWindow type and halfdeadWindowList to keep track of
windows that were only partially deallocated before a call to
exit. Finish cleaning up these windows in DeleteWindowsExitProc.
Keep track of cleanup status in Tk_DestroyWindow so that a window
with a Destroy binding which calls exit will get fully destroyed.
* tests/window.test: Add Tk_DestroyWindow tests for an assortment
of half dead window cases. [Bug 630533]
2002-11-10 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: fixed erroneous
removal of libtkstub before Wish was built.
2002-11-07 Mo DeJong <[email protected]>
* tests/unixWm.test: Add short delay to test unixWm-51.7
to account for raise/lower changes in TIP 107. This allows
the test case to pass under Window Maker on Linux.
2002-11-07 Peter Spjuth <[email protected]>
* tests/place.test:
* generic/tkPlace.c: place info did not return all settings,
and didn't make sure the result was a proper list.
Put '-in' first in result to be more consistent with how
grid/pack info behaves. [Bug #635025][Bug #532022]
2002-11-07 Daniel Steffen <[email protected]>
* unix/Makefile.in: added macosx/README to dist target.
* macosx/Wish.pbproj/project.pbxproj: fix to 'wish' script
to allow it to work when not installed into '/'.
2002-11-06 Mo DeJong <[email protected]>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/configure.in: Check that AR, RANLIB, and RC
are found on the path when building with gcc.
2002-11-04 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: added Wish linker flag
-headerpad_max_install_names to allow use of 'install_name_tool'.
fixed tkConfig.sh generation and redo_prebinding in the case where
Tk is not installed alongside Tcl.
2002-11-03 David Gravereaux <[email protected]>
* win/winMain.c (Tcl_AppInit): Calls Registry_Init() and
Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros
are set.
* win/makefile.vc: linkexten option now sets the
TCL_USE_STATIC_PACKAGES macro which also adds the registry and
dde static lib files to the link of the shell. [Patch 479697]
* win/rules.vc: Matches the one from Tcl.
* win/buildall.vc.bat: More useful commentary.
2002-11-01 Andreas Kupries <[email protected]>
* win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1.
2002-10-29 Daniel Steffen <[email protected]>
* macosx/README: added info on new package searching in
Frameworks directories.
2002-10-22 Jeff Hobbs <[email protected]>
*** 8.4.1 TAGGED FOR RELEASE ***
* changes: updated for 8.4.1 release
2002-10-21 Daniel Steffen <[email protected]>
* macosx/README: revised according to Jim's suggestions
* macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
2002-10-18 Jeff Hobbs <[email protected]>
* win/winMain.c (WinMain, main): remove obsolete SetMessageQueue call
* win/configure: Regen.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
of windres and work around that case by passing a POSIX path
instead of a Windows native path. One can't always pass a POSIX
path because the mingw native toolchain accepts only Windows
native paths. (dejong)
* win/tkWinPort.h: define OPEN_MAX only if not defined.
[Patch #625472] (howell)
2002-10-18 Daniel Steffen <[email protected]>
* mac/tkMacAppInit.c: removed tcltest dependency.
[Bug #592639] (porter)
2002-10-17 Jeff Hobbs <[email protected]>
* tests/imgPhoto.test:
* generic/tkImgPhoto.c (ImgPhotoConfigureMaster): fix arg handling
for missing -format or -data options. [Bug #624974]
* tests/text.test: properly return the number of
* unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
2002-10-17 Daniel Steffen <[email protected]>
* macosx/README: info specific to building and running
TclTk on Mac OS X, answers to tcl-mac list FAQs.
* macosx/Makefile: permission fix after embedded install.
* macosx/Wish.pbproj/project.pbxproj: after install, fix
permissions of uninstalled products.
2002-10-17 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: added TEXT document
type to plist so that files can be dragged onto Wish Shell.
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXFont.c: added private proc
TkMacOSXUseAntialiasedText() to enable/disable quickdraw
text antialiasing where available, default is enabled.
Added a linked boolean ::tk::mac::antialiasedtext with
write trace to allow control of antialiasing from tcl.
2002-10-16 Vince Darley <[email protected]>
* macosx/tkMacOSXMenu.c: fix to accelerators shown in menus
with non-alphanumeric keys.
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXKeyboard.c: applied first patch from [Patch
#622582] to fix some of [Bug #616988]. Further work is needed
in this area, but this will let foreign keyboards at least work
reasonably with Tk.
2002-10-15 Jeff Hobbs <[email protected]>
* unix/configure:
* unix/tcl.m4: add AIX-5 ppc build support. Remove unused
SC_ENABLE_MEMDEBUG.
* win/configure:
* win/tcl.m4: Add --enable-shared=mem support.
2002-10-10 Peter Spjuth <[email protected]>
* tests/grid.test:
* generic/tkGrid.c: The grid size was not updated properly
when removing a widget from a grid. [Bug #621241] (forssen)
2002-10-10 Jeff Hobbs <[email protected]>
* tests/canvPs.test: tests for canvas embedded window ps generation
* generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop.
* generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c
* generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of
TkColormapData on Windows (Windows now requires RGB pixel data
from image).
* win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
for generating ps for embedded widgets on canvases on Windows,
tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
* library/tk.tcl: simplified the adding of extra <ISO_Left_Tab>
and <hpBackTab> events to <<PrevWindow>>.
2002-10-09 Jeff Hobbs <[email protected]>
* unix/README: doc'ed --enable-symbols options.
* unix/Makefile.in: comment docs
* unix/configure: regen
* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
2002-10-09 Don Porter <[email protected]>
* generic/tk.h: Added reminder comment to edit
macosx/Wish.pbproj/project.pbxproj when version number changes.
2002-10-09 Daniel Steffen <[email protected]>
* macosx/Makefile: don't remove tclsh after building embedded.
* macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1;
added missing library/mkpsenc.tcl to framework.
2002-10-09 Daniel Steffen <[email protected]>
* generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for
mac & aqua, since it's now called from ParentXId via Tk_HandleEvent.
* generic/tkIntXlibDecls.h:
* generic/tkStubInit.c: regen.
* mac/tkMacXStubs.c: added XQueryTree stub
* mac/tkMacEmbed.c (TkpUseWindow): check that container window
has -container option set (sync with other platforms).
* mac/tkMacBitmap.c:
* mac/tkMacFont.c:
* mac/tkMacSend.c:
* mac/tkMacTest.c:
* mac/tkMacWm.c: CONSTification.
* mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to
tk library projects.
2002-10-09 Donal K. Fellows <[email protected]>
* generic/tkImgPhoto.c (ImgPhotoSetSize): Only error-out if we
fail to allocate a non-empty buffer; getting a NULL when we
allocate an empty buffer is no problem since nothing will look at
the value anyway. [Bug 619544]
Also tidied up file to take into account the fact that we're using
32 bits per pixel in the master to accommodate the alpha channel
as well as RGB.
2002-10-08 Jeff Hobbs <[email protected]>
* tests/winButton.test: add option clear to top to prevent option
leakage from other tests causing problems. [Bug #582382]
* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): leave the
DestroyPanedWindow proc to free the pwPtr, add a Preserve
reference to the pwPtr->tkwin.
(DestroyPanedWindow): Release the pwPtr->tkwin.
* generic/tkFocus.c (TkFocusFilterEvent): Ignore event if we are
focusing into a dead window. [Bug #588831] (griffin)
2002-10-02 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar
pointer into the control reference data for the Mac scrollbar, so we
can get it out again in the ScrollbarActionProc.
2002-10-02 Jeff Hobbs <[email protected]>
* generic/tkText.c (TextBlinkProc): don't blink the cursor unless
it is visible. [Bug #616791] [Patch #614474] (bonfield)
* tests/entry.test: added entry-20.7
* generic/tkEntry.c (EntryTextVarProc): check if the entry is
being deleted before handling an associated textvariable.
[Bug #607390 #617446]
2002-10-01 Donal K. Fellows <[email protected]>
* tests/unixSelect.test (unixSelect-1.1[89]): Altered these tests
to work around [Bug #616923]
* unix/tkUnixSelect.c (SelRcvIncrProc,TkSelPropProc): It turns out
a much simpler and more robust solution is possible if we leverage
Tcl's encoding engine by using the same code path as for the
normal string selection. It might be a bit slower, but it should
be a lot more correct. [Bug #614650]
2002-09-30 Jeff Hobbs <[email protected]>
* tests/panedwindow.test: added panedwindow-28.[12]
* generic/tkPanedWindow.c (PanedWindowCmdDeletedProc):
(Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy
the proxy before the parent to avoid dependency conflicts.
[Bug #616589]
2002-09-30 Donal K. Fellows <[email protected]>
* tests/unixSelect.test: Test for various things that can fail to
work in 8.4.0...
* unix/tkUnixSelect.c (TkSelPropProc,SelRcvIncrProc): Incremental
transfers of UTF8_STRING selections should now work; Tk will now
tag them with the right size and only transfer complete UTF8
characters. Previously, things only worked when the transfer
could only happen in one go, and even then not always. [Bug 614650]
* doc/bind.n: Doc-fix to mention that %A substitutes UNICODE
characters rather than ASCII ones. Tk's done this ever since 8.1
in any case; after all, it is the right thing to do.
2002-09-27 Don Porter <[email protected]>
* README: Bumped to version 8.4.1 to avoid confusion
* generic/tk.h: of CVS snapshots with release 8.4.0.
* unix/README:
* unix/configure.in:
* unix/tk.spec
* win/configure.in:
* unix/configure: autoconf
* win/configure:
2002-09-26 Jeff Hobbs <[email protected]>
* unix/configure: regen.
* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
* unix/Makefile.in: add macosx subdir to dist target.
Do not generate .Z, only .gz and .zip in alldist target.
2002-09-18 Mumit Khan <[email protected]>
Added basic Cygwin support.
* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
(SC_PATH_TKCONFIG): Likewise.
(SC_PROG_TCLSH): Likewise.
(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
flags. Add -mwin32 to extra_cflags and extra_ldflags.
Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
* win/configure: Regenerate.
* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
(_T): Define for Cygwin.
* win/winMain.c (main): Conditionally define.
2002-09-26 Daniel Steffen <[email protected]>
* macosx/Makefile: preserve environment value of INSTALL_ROOT.
When embedding only use deployment build. Force relink before
embedded build to ensure new linker flags are picked up.
* macosx/buildTkConfig.tcl (new):
* macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh
based on tclConfig.sh in Tcl.framework and tkConfig.sh.in.
Add symbolic links to debug lib, stub libs and tkConfig.sh
in framework toplevel. Made tkIntXlibDecls.h a public header
since Headers/X11/Xlib.h includes it. Install wish8.4 script
that runs "Wish Shell.app" and corresponding wish link.
Use tcl headers from built Tcl.framework instead of from tcl
source directory.
* macosx/tkMacOSXPort.h: added missing standard unix includes
and defines, similarly to tkUnixPort.h.
* macosx/tkMacOSXNotify.c: removed dependency on internal tcl
header "tclPort.h"
* unix/Makefile.in:
* unix/install-sh: copied support for 'install-strip' target
over from tcl/unix/{Makefile.in,install-sh}
2002-09-22 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl
doesn't give the proper "nothing to scroll" look on Mac OS X.
You have to set the min value greater than the max value to
get this.
2002-09-15 Mo DeJong <[email protected]>
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
* unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM
to examine the input context queue before invoking
XCloseIM. Generate an assert if there is an input
context that has not been freed.
[Patch 570902]
2002-09-13 Andreas Kupries <[email protected]>
* generic/tk.h: Moved RC_INVOKED down so that tcl.h is still
included when running the resource compiler. <tcl.h> excludes the
unnecessary parts on its own. This reenables the Windows build. It
failed because the non-inclusion of tcl.h caused the resource
compiler to miss some vital macro definitions (TCL_FINAL_RELEASE,
STRINGIFY, ...).
2002-09-12 Daniel Steffen <[email protected]>
* generic/tk.h:
* mac/tkMacApplication.r:
* mac/tkMacLibrary.r:
* mac/tkMacResource.r:
* macosx/tkAboutDlg.r:
* macosx/tkMacOSXApplication.r:
* macosx/tkMacOSXLibrary.r:
* macosx/tkMacOSXResource.r: unified use of the two equivalent
resource compiler header inclusion defines RC_INVOKED and
RESOURCE_INCLUDED, now use RC_INVOKED throughout.
* macosx/tkMacOSXAppInit.c: improved detection of Wish startup
by the finder (by checking if stdin is /dev/null), in which
case we want to bring up the Tk console window.
* macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
2002-09-12 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: reference & install
tk/generic/prolog.ps instead of tk/library/prolog.ps.
2002-09-10 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: added backwards
compatibility for OSX 10.1 ProjectBuilder 2.0.
2002-09-10 Daniel Steffen <[email protected]>
* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwin
and set it to default value ${LIB_RUNTIME_DIR}
* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
LIB_RUNTIME_DIR in the -install_name argument to ld.
* unix/configure: regen.
* macosx/Wish.pbproj/project.pbxproj:
* macosx/Makefile: added support for building Tcl as an embedded
framework, i.e. using an dyld install_name containing
@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
unix/Makefile variable.
2002-09-10 Jeff Hobbs <[email protected]>
*** 8.4.0 TAGGED FOR RELEASE ***
2002-09-09 Jeff Hobbs <[email protected]>
* macosx/tkMacOSXNotify.c (Tk_MacOSXSetupTkNotifier): corrected
Mac Jaguar event loop issue.
* library/tk.tcl: use command instead of control on Aqua bindings.
Force dialogs to appear below fixed native Mac menubar.
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXKeyboard.c: Keypress/release events for pure
modifier keys were not being passed to Tk.
Deadkey presses were inserting null characters into text windows.
Now they do nothing. (Still not ideal, but better than before!)
* macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist -
increased to 2000.
* macosx/tkMacOSXMouseEvent.c: Bad interactions between floating
windows and ordinary ones. Ensure that local<->global coordinate
transformations are wrt to the correct window.
* macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'.
Remove crash in 'wm transient'.
Add 'noActivates' and 'noUpdates' flags to unsupported command.
[Patch #606658] (darley)
* library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): corrected
msgcat code with XPG specifier. [Patch #606719] (miller)
2002-09-06 Don Porter <[email protected]>
* tests/unixWm.test (unixWm-50.3): Constrained test that hangs
on Windows.
2002-09-05 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: added overlooked missing
TK_PATCH_LEVEL version bump to 8.4.0.
2002-09-04 Andreas Kupries <[email protected]>
* win/Makefile.in (install-libraries): Added code section to
install the message catalogs. Copied same section from
unix/Makefile.in and adapted it to the slightly different
environment.
2002-09-03 Jeff Hobbs <[email protected]>
* library/button.tcl: further restrict buttons to not resetting
the "original" relief if it has changed in the interim. This
prevents code that simulated overrelief buttons from not working
in 8.4. [Bug #604270]
2002-09-03 Daniel Steffen <[email protected]>
* macosx/Wish.pbproj/project.pbxproj: Bumped version number to
8.4.0 and updated copyright info.
2002-09-03 Vince Darley <[email protected]>
* macosx/tkMacOSXWm.c: fix to 'wm attributes' error-handling bug.
2002-09-03 Don Porter <[email protected]>
* changes: Updated for 8.4.0 release
2002-09-02 Jeff Hobbs <[email protected]>
* tests/cursor.test: reverted 2002-08-31 change for OS X to use
'heart' cursor because 'arrow' on windows has a pre-skewed use
count. [Bug #602667]
* tests/button.test: added button-14.1
* win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button
sizing to be equal for one-line buttons with -height of 0 or 1, as
well as -height 0 buttons with empty text and no image, which
should be the same as single-line text buttons. [Bug #565485]
* library/button.tcl (::tk::ButtonLeave): correctly restore state
of button to normal for unix bindings. [Bug #597920]
* doc/tk.n: added tk windowingsystem docs.
* tests/wm.test:
* unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
[Patch #601518] (english) TIP #107
* unix/tcl.m4: add support for 64-bit builds on HP-11 with gcc.
* unix/configure.in: make sure to substitute LD_LIBRARY_PATH_VAR.
* unix/configure: regend
* README: Bumped version number to 8.4.0
* generic/tk.h:
* unix/configure:
* unix/configure.in:
* unix/tk.spec:
* win/configure:
* win/configure.in:
* generic/tkCmds.c:
* generic/tkWindow.c: made 'tk' available in safe interpreters,
but only the caret and windowingsystem subcommands may be called.
* tests/safe.test (safe-1.2): noted that tk is now available in
safe interps, but not the appname/scaling subcommands.
* tests/tk.test (tk-1.2): noted new tk windowingsystem subcommand
2002-08-31 Daniel Steffen <[email protected]>
* unix/tcl.m4: update from Tcl
* unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library
specific linker settings. Added use of new LD_LIBRARY_PATH_VAR.
* unix/configure: regen
2002-08-31 Daniel Steffen <[email protected]>
*** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***
* generic/tk.decls:
* generic/tkInt.decls: added new "aqua" specific entries to the
stubs tables. Changed all "unix" entries to "x11" to allow us to
distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.
* generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can
be passed to the resource compiler.
* generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem]
subcommand: returns "x11" when running on X11, "win32" on Windows,
"classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)
* generic/tkFont.c (TkFontGetFirstTextLayout): new private function
returning the first chunk of a Tk_TextLayout, i.e. until the first
font change on the first line (or the whole first line if there is
no such font change).
* generic/tkMain.c: made Tcl_ThreadDataKey static
* library/demos/puzzle.tcl: fixed button metrics for aqua
* tests/cursor.test: check for presence of arrow cursor instead of
heart cursor
* xlib/xcolors.c: changed xColors static initialization to more
standard C
* macosx/Wish.pbproj/jingham.pbxuser (new):
* macosx/Wish.pbproj/project.pbxproj (new): project for Apple's
ProjectBuilder IDE.
* macosx/Makefile (new): simple makefile for building the project
from the command line via the ProjectBuilder tool 'pbxbuild'.
* macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking
for a AppMain.tcl file in its bundled Resources/Scripts folder. If
present, argv[1] is set to that file and the Scripts folder is
added to the auto_path. This allows tk apps to embed scripts within
their bundle directory structure.
* macosx/tkMacOSXInit.c (new): macosx adapted version of
tkUnixInit.c: we initialize & cache the Carbon native encoding
(e.g. 'macRoman') and try to find the tk script library files
inside Tk packaged as a framework.
* macosx/tkMacOSXNotify.c (new): new macosx specific merged
Carbon/select-based notifier.
* macosx/tkMacOSXEvent.c (new):
* macosx/tkMacOSXEvent.h (new):
* macosx/tkMacOSXKeyEvent.c (new):
* macosx/tkMacOSXMouseEvent.c (new):
* macosx/tkMacOSXWindowEvent.c (new): new macosx specific event
handling functionality.
* macosx/tkMacOSX.h (new):
* macosx/tkMacOSXBitmap.c (new):
* macosx/tkMacOSXButton.c (new):
* macosx/tkMacOSXClipboard.c (new):
* macosx/tkMacOSXColor.c (new):
* macosx/tkMacOSXConfig.c (new):
* macosx/tkMacOSXCursor.c (new):
* macosx/tkMacOSXDefault.h (new):
* macosx/tkMacOSXDialog.c (new):
* macosx/tkMacOSXDraw.c (new):
* macosx/tkMacOSXEmbed.c (new):
* macosx/tkMacOSXFont.c (new):
* macosx/tkMacOSXHLEvents.c (new):
* macosx/tkMacOSXInt.h (new):
* macosx/tkMacOSXKeyboard.c (new):
* macosx/tkMacOSXMenu.c (new):
* macosx/tkMacOSXMenubutton.c (new):
* macosx/tkMacOSXMenus.c (new):
* macosx/tkMacOSXPort.h (new):
* macosx/tkMacOSXRegion.c (new):
* macosx/tkMacOSXScale.c (new):
* macosx/tkMacOSXScrlbr.c (new):
* macosx/tkMacOSXSubwindows.c (new):
* macosx/tkMacOSXTest.c (new):
* macosx/tkMacOSXUtil.c (new):
* macosx/tkMacOSXUtil.h (new):
* macosx/tkMacOSXWm.c (new):
* macosx/tkMacOSXWm.h (new):
* macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk
implementation in tk/mac.
* macosx/tkMacOSXSend.c (new): only send to local interp
implemented currently.
* macosx/tkMacOSXDebug.h (new):
* macosx/tkMacOSXDebug.c (new): new macosx specific functions for
debugging MacOS events, regions, etc.
* macosx/tkAboutDlg.r (new):
* macosx/tkMacOSXApplication.r (new):
* macosx/tkMacOSXCursors.r (new):
* macosx/tkMacOSXLibrary.r (new):
* macosx/tkMacOSXMenu.r (new):
* macosx/tkMacOSXResource.r (new):
* macosx/tkMacOSXXCursors.r (new):
* macosx/tclets.r (new): sources for Rez resource compiler.
* macosx/Wish.icns (new): Wish application icon.
* generic/tk.h:
* generic/default.h:
* generic/tkBind.c:
* generic/tkCmds.c:
* generic/tkGrab.c:
* generic/tkPointer.c:
* generic/tkPort.h:
* generic/tkSelect.c:
* generic/tkStubLib.c:
* generic/tkTest.c:
* generic/tkText.c:
* generic/tkWindow.c:
* unix/tkUnix3d.c:
* xlib/xgc.c:
* xlib/X11/X.h:
* xlib/X11/Xlib.h:
* xlib/X11/Xutil.h: added #includes and #ifdefs for macosx
* library/bgerror.tcl:
* library/button.tcl:
* library/console.tcl:
* library/dialog.tcl:
* library/entry.tcl:
* library/listbox.tcl:
* library/menu.tcl:
* library/msgbox.tcl:
* library/scrlbar.tcl:
* library/spinbox.tcl:
* library/text.tcl:
* library/tk.tcl:
* library/demos/menu.tcl:
* library/demos/menubu.tcl:
* library/demos/widget: check [tk windowingsystem] instead of
and/or in addition to $tcl_platform(platform).
* generic/tkInt.h:
* mac/tkMacBitmap.c:
* mac/tkMacWm.c: added missing CONSTification
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
* generic/tkStubInit.c: regen
2002-08-27 D. Richard Hipp <[email protected]>
* doc/checkbutton.n: [Bug 582457] Fix the -offrelief option so
* doc/radiobutton.n: that when -offrelief is flat and -relief is
* mac/tkMacButton.c: sunken and -overrelief is raised, buttons
* unix/tkUnixButton.c: work look toolbar buttons under Windows.
* win/tkWinButton.c: See also: TIP #82.
2002-08-26 Don Porter <[email protected]>
* win/Makefile.in: Removed dependence on the (parts of) the
* win/winMain.c: tcltest executable on Windows. It was not
used, and the dependency complicated the Makefile. [Bug 592638].
2002-08-20 Don Porter <[email protected]>
* README: Bumped version number to 8.4b3 to distinguish
* generic/tk.h: HEAD from the 8.4b2 release.
* unix/configure.in:
* win/configure.in:
* unix/tk.spec:
* unix/configure: autoconf
* win/configure:
* generic/tk.h: Added compile-time check that the tcl.h header file
#included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure
that new #defines like CONST84 are available. [Bug 597432].
2002-08-16 Jeff Hobbs <[email protected]>
* unix/Makefile.in (install-binaries): simplified pkgIndex.tcl
file created on installation.
* win/Makefile.in (install-binaries): corrected and simplified
creation of pkgIndex.tcl file on installation.
2002-08-14 Vince Darley <[email protected]>
* win/tkWinDialog.c:
* win/makefile.vc: broken compilation and link from changes
Hobbs-08-07 fixed.
* win/tkWinTest.c: CONST problem resolved.
2002-08-13 Jeff Hobbs <[email protected]>
* library/button.tcl: change the bindings to use Priv($w,relief)
instead of just Priv(relief). This ensures that neighboring
buttons don't confuse (over)relief settings.
2002-08-13 Reinhard Max <[email protected]>
* unix/tkUnixSend.c (Tk_SetAppName): Fixed a compiler warning.
2002-08-12 Donal K. Fellows <[email protected]>
* library/demos/image2.tcl: Tweaked the behaviour of the directory
box on resize, as resizing of the overall window tends to be
common given the sample images.
2002-08-08 Mo DeJong <[email protected]>
* unix/tkUnixWm.c (WmTransientCmd): Apply fix for
wm transient assertion error that was applied
to tkWinWm.c for Tk Bug #592201.
2002-08-08 Mo DeJong <[email protected]>
* tests/wm.test: Add deleteWindows at start of
new transient tests so they do not fail if the
toplevels already exist.
* unix/tkUnixWm.c: Revert patch for Tk Bug #592201
which incorrectly removed numTransients member.
2002-08-08 Joe English <[email protected]>
* unix/tkUnixWm.c:
* win/tkWinWm.c:
* tests/wm.test: Fix for Tk Bug #592201 "wm transient fails with
two masters"; fixes panic after a transient window is reassigned
to new master and either master is subsequently destroyed.
2002-08-08 Don Porter <[email protected]>
* tests/unixWm.test: Corrected packaging of unixWm-50.3 so that
[setupbg] and [cleanupbg] always balance, no matter what tests
are skipped.
2002-08-08 Reinhard Max <[email protected]>
* unix/Makefile.in: Fixed typos in DISTNAME, and ZIPNAME.
2002-08-08 Jeff Hobbs <[email protected]>
*** 8.4b2 TAGGED FOR RELEASE ***
* generic/tkButton.c (TkButtonWorldChanged): added GCFont handling
to the disabledGc of buttons when compound != none. The drawing
appears to be incorrect across platforms still. [Bug #477740]
* generic/tkImgGIF.c (FileReadGIF): fixed -from handling for gifs
[Bug #467524] (obermeier)
2002-08-07 Jeff Hobbs <[email protected]>
* generic/tkCanvUtil.c (TkSmoothParseProc): recognize the built-in
bezier method by name. [Bug #578654]
* doc/canvas.n: update to note that -smooth really doesn't take
or return just booleans.
* win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when
to idle call ReconfigureWindowsMenu.
* doc/GetBitmap.3: removed doc refs to deprecated
Tk_GetBitmapFromData. [Bug #590379]
* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):
* library/panedwindow.tcl: changed class from PanedWindow to
Panedwindow to not conflict with existing bwidgets, but also to be
more regular with other names used in the core.
* tests/panedwindow.test: added -text foobar to some test buttons
to enable correct testing of panedwindow across platforms.
[Bug #582370]
* win/tkWinDialog.c: enabled use of the updated native Windows
directory browser (tk_chooseDirectory). This does require
shell32.dll v4.71 or greater. [Patch #468139]
* win/configure:
* win/tcl.m4: added shell32 to libs for updated native Windows
tk_chooseDirectory dialog.
2002-08-06 Donal K. Fellows <[email protected]>
* generic/tkPanedWindow.c (RESIZE_PENDING): Separated out flag for
indicating that a resize needs to be issued.
(PanedWindowReqProc): Do the old behaviour when the panedwindow is
not mapped; easiest way of making the test suite pass while still
preserving improved behaviour in the face of children whose size
is not known immediately.
2002-08-06 Don Porter <[email protected]>
* tests/defs.tcl: removed file. No longer needed now that Tk is
using the tcltest package to do its testing.
2002-08-05 Don Porter <[email protected]>
* win/tkWinFont.c: Additional changes to fix CONST warnings on
* win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
* doc/3DBorder.3: Applied companion patch for Tcl Patch 585105,
* doc/BindTable.3: updating Tk to use Tcl 8.4's fully CONST-ified
* doc/ConfigWidg.3: interface, and fully CONSTifying Tk at the
* doc/CrtImgType.3: same time.
* doc/CrtWindow.3:
* doc/DeleteImg.3: This patch includes purging Tk of its last
* doc/FindPhoto.3: direct access to interp->result. [Bug 589853]
* doc/GetAnchor.3:
* doc/GetBitmap.3: The substantial changes include copying
* doc/GetCapStyl.3: event sequence strings into Tcl_DStrings
* doc/GetClrmap.3: in tkBind.c, and copying [text] indices into
* doc/GetColor.3: Tcl_DStrings because parsing them involved
* doc/GetCursor.3: overwriting them. If this causes performance
* doc/GetFont.3: trouble, that can be resolved by further
* doc/GetImage.3: converting them to Tcl_Obj's.
* doc/GetJoinStl.3:
* doc/GetJustify.3: The #defines USE_NON_CONST and USE_COMPAT_CONST
* doc/GetOption.3: have the same effect for Tk as they do for Tcl.
* doc/GetRelief.3: (They actually change tcl.h)
* doc/GetScroll.3:
* doc/GetVisual.3:
* doc/InternAtom.3:
* doc/NameOfImg.3:
* doc/SetAppName.3:
* doc/WindowId.3:
* generic/tk.decls:
* generic/tk.h:
* generic/tk3d.c:
* generic/tkAtom.c:
* generic/tkBind.c:
* generic/tkBitmap.c:
* generic/tkButton.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:
* generic/tkClipboard.c:
* generic/tkCmds.c:
* generic/tkColor.c:
* generic/tkConfig.c:
* generic/tkConsole.c:
* generic/tkCursor.c:
* generic/tkDecls.h:
* generic/tkEntry.c:
* generic/tkFont.c:
* generic/tkFrame.c:
* generic/tkGet.c:
* generic/tkGrid.c:
* generic/tkImage.c:
* generic/tkImgBmap.c:
* generic/tkImgPhoto.c:
* generic/tkInt.decls:
* generic/tkInt.h:
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkListbox.c:
* generic/tkMenu.c:
* generic/tkMenubutton.c:
* generic/tkMessage.c:
* generic/tkOldConfig.c:
* generic/tkOption.c:
* generic/tkRectOval.c:
* generic/tkScale.c: