12002-12-27  David Gravereaux <davygrvy@pobox.com>
2
3	* generic/tkText.h: ANSI unfriendly typedef for TkTextBTree
4	repaired for C++ compilers.
5
62002-12-27  Joe English  <jenglish@users.sourceforge.net>
7
8	* unix/tkUnixWm.c (WaitForEvent): process Map and Unmap events
9	as well as Configure events during WaitFor{Configure|Map}Notify.
10	Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap
11	events out of order, making Tk think a window was unmapped when
12	it really wasn't).
13
142002-12-18  Todd M. Helfter  <tmh@purdue.edu>
15
16	* doc/label.n: Fixed documentation of the -compound option to
17	the label widget.  The option was simply missing from the
18	man page [Bug 577540]
19
202002-12-17  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
21
22	* doc/photo.n: Fixed documentation of the put subcommand to no
23	longer talk about files and to mention that you can use colour
24	names for working with solid colours.  [Bug 640026]
25
262002-12-13  Don Porter <dgp@users.sf.net>
27
28	* generic/tkMain.c (Tk_Main):  Call on Tcl*StartupScript*() routines
29	to store the startup script, if any.  [Bug 616245].
30
312002-12-10  David Gravereaux  <davygrvy@pobox.com>
32
33	* win/makefile.vc: tclThreadTest.obj not required to link
34	tktest.exe [Bug 651396]
35
362002-12-08  Jeff Hobbs  <jeffh@ActiveState.com>
37
38	* generic/tkEntry.c (ConfigureEntry): keep a flag to indicate when
39	a var is traced to prevent double-traces caused by configuring the
40	widget in traces with validation on. (dejong)
41
422002-12-07  Jeff Hobbs  <jeffh@ActiveState.com>
43
44	* generic/tkInt.decls: add TkWinSetHINSTANCE decl
45	* generic/tkIntPlatDecls.h: regen
46	* generic/tkStubInit.c: regen
47	* win/tkWinInit.c (TkpInit):  While init and cleanup aren't correct
48	* win/tkWinX.c (TkWinXInit):  in DllMain, we had to specify the
49	* win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a
50	dynamic Tk weren't being loaded correctly.  Created a new function
51	TkWinSetHINSTANCE for this purpose.
52
532002-12-06  Jeff Hobbs  <jeffh@ActiveState.com>
54
55	* win/tkWinX.c (TkWinXInit):      Move cleanup into an exit handler
56	* win/tkWin32Dll.c (DllMain):     to ensure that it will be called
57	* win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll.
58	Also reset the static int initialized on cleanup to allow reinit.
59
602002-12-01  Mo DeJong  <mdejong@users.sourceforge.net>
61
62	* tests/event.test (_keypress, _text_ind_to_x_y): Force focus to
63	widget in _keypress method to avoid problems with window managers
64	that use focus follows mouse. [Bug 526209]
65
662002-12-01  Mo DeJong  <mdejong@users.sourceforge.net>
67
68	* tests/wm.test: Add wm-transient-6.3 to check that a transient
69	remains withdrawn when it is first withdrawn and then turned into
70	a transient.
71	* unix/tkUnixWm.c:
72	* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN
73	and set this flag whenever a window is explicitly withdrawn. This
74	fixes the test case added above. [Bug 644356]
75
762002-11-22  Jeff Hobbs  <jeffh@ActiveState.com>
77
78	* tests/textDisp.test:
79	* generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped
80	text displays. [Bug #641778]
81
822002-11-19  Jim Ingham <jingham@apple.com>
83
84	* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the
85	scrollbar width is set to 12 or less (but 12 is what you
86	should use) use the small metric scrollbar.
87
88	(UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for
89	the place geometry manager.
90
912002-11-19  Jeff Hobbs  <jeffh@ActiveState.com>
92
93	* unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl in
94	particular) to the dist target.
95
962002-11-14  Mo DeJong  <mdejong@users.sourceforge.net>
97
98	* generic/tkWindow.c (Tk_DestroyWindow, DeleteWindowsExitProc):
99	Add TkHalfdeadWindow type and halfdeadWindowList to keep track of
100	windows that were only partially deallocated before a call to
101	exit. Finish cleaning up these windows in DeleteWindowsExitProc.
102	Keep track of cleanup status in Tk_DestroyWindow so that a window
103	with a Destroy binding which calls exit will get fully destroyed.
104	* tests/window.test: Add Tk_DestroyWindow tests for an assortment
105	of half dead window cases. [Bug 630533]
106
1072002-11-10  Daniel Steffen  <das@users.sourceforge.net>
108
109	* macosx/Wish.pbproj/project.pbxproj: fixed erroneous
110	removal of libtkstub before Wish was built.
111
1122002-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
113
114	* tests/unixWm.test: Add short delay to test unixWm-51.7
115	to account for raise/lower changes in TIP 107. This allows
116	the test case to pass under Window Maker on Linux.
117
1182002-11-07  Peter Spjuth  <peter.spjuth@space.se>
119
120	* tests/place.test:
121	* generic/tkPlace.c: place info did not return all settings,
122	and didn't make sure the result was a proper list.
123	Put '-in' first in result to be more consistent with how
124	grid/pack info behaves. [Bug #635025][Bug #532022]
125
1262002-11-07  Daniel Steffen  <das@users.sourceforge.net>
127
128	* unix/Makefile.in: added macosx/README to dist target.
129	* macosx/Wish.pbproj/project.pbxproj: fix to 'wish' script
130	to allow it to work when not installed into '/'.
131
1322002-11-06  Mo DeJong  <mdejong@users.sourceforge.net>
133
134	* unix/configure: Regen.
135	* unix/tcl.m4: Update from Tcl.
136	* win/configure: Regen.
137	* win/configure.in: Check that AR, RANLIB, and RC
138	are found on the path when building with gcc.
139
1402002-11-04  Daniel Steffen  <das@users.sourceforge.net>
141
142	* macosx/Wish.pbproj/project.pbxproj: added Wish linker flag
143	-headerpad_max_install_names to allow use of 'install_name_tool'.
144	fixed tkConfig.sh generation and redo_prebinding in the case where
145	Tk is not installed alongside Tcl.
146
1472002-11-03  David Gravereaux <davygrvy@pobox.com>
148
149	* win/winMain.c (Tcl_AppInit): Calls Registry_Init() and
150	Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros
151	are set.
152
153	* win/makefile.vc:  linkexten option now sets the
154	TCL_USE_STATIC_PACKAGES	macro which also adds the registry and
155	dde static lib files to the link of the shell. [Patch 479697]
156
157	* win/rules.vc: Matches the one from Tcl.
158
159	* win/buildall.vc.bat: More useful commentary.
160
1612002-11-01  Andreas Kupries  <andreask@activestate.com>
162
163	* win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1.
164
1652002-10-29  Daniel Steffen  <das@users.sourceforge.net>
166
167	* macosx/README: added info on new package searching in
168	Frameworks directories.
169
1702002-10-22  Jeff Hobbs  <jeffh@ActiveState.com>
171
172	*** 8.4.1 TAGGED FOR RELEASE ***
173
174	* changes: updated for 8.4.1 release
175
1762002-10-21  Daniel Steffen  <das@users.sourceforge.net>
177
178	* macosx/README: revised according to Jim's suggestions
179	* macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
180
1812002-10-18  Jeff Hobbs  <jeffh@ActiveState.com>
182
183	* win/winMain.c (WinMain, main): remove obsolete SetMessageQueue call
184
185	* win/configure: Regen.
186	* win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
187	of windres and work around that case by passing a POSIX path
188	instead of a Windows native path. One can't always pass a POSIX
189	path because the mingw native toolchain accepts only Windows
190	native paths. (dejong)
191
192	* win/tkWinPort.h: define OPEN_MAX only if not defined.
193	[Patch #625472] (howell)
194
1952002-10-18  Daniel Steffen  <das@users.sourceforge.net>
196
197	* mac/tkMacAppInit.c: removed tcltest dependency.
198	[Bug #592639] (porter)
199
2002002-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
201
202	* tests/imgPhoto.test:
203	* generic/tkImgPhoto.c (ImgPhotoConfigureMaster): fix arg handling
204	for missing -format or -data options. [Bug #624974]
205
206	* tests/text.test:		      properly return the number of
207	* unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
208
2092002-10-17  Daniel Steffen  <das@users.sourceforge.net>
210
211	* macosx/README: info specific to building and running
212	TclTk on Mac OS X, answers to tcl-mac list FAQs.
213	* macosx/Makefile: permission fix after embedded install.
214	* macosx/Wish.pbproj/project.pbxproj: after install, fix
215	permissions of uninstalled products.
216
2172002-10-17  Daniel Steffen  <das@users.sourceforge.net>
218
219	* macosx/Wish.pbproj/project.pbxproj: added TEXT document
220	type to plist so that files can be dragged onto Wish Shell.
221
222	* macosx/tkMacOSXInt.h:
223	* macosx/tkMacOSXInit.c:
224	* macosx/tkMacOSXFont.c: added private proc
225	TkMacOSXUseAntialiasedText() to enable/disable quickdraw
226	text antialiasing where available, default is enabled.
227	Added a linked boolean ::tk::mac::antialiasedtext with
228	write trace to allow control of antialiasing from tcl.
229
2302002-10-16  Vince Darley  <vincentdarley@users.sourceforge.net>
231
232	* macosx/tkMacOSXMenu.c: fix to accelerators shown in menus
233	with non-alphanumeric keys.
234	* macosx/tkMacOSXKeyEvent.c:
235	* macosx/tkMacOSXKeyboard.c: applied first patch from [Patch
236	#622582] to fix some of [Bug #616988].  Further work is needed
237	in this area, but this will let foreign keyboards at least work
238	reasonably with Tk.
239
2402002-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
241
242	* unix/configure:
243	* unix/tcl.m4: add AIX-5 ppc build support. Remove unused
244	SC_ENABLE_MEMDEBUG.
245
246	* win/configure:
247	* win/tcl.m4: Add --enable-shared=mem support.
248
2492002-10-10  Peter Spjuth  <peter.spjuth@space.se>
250
251	* tests/grid.test:
252	* generic/tkGrid.c: The grid size was not updated properly
253	when removing a widget from a grid. [Bug #621241] (forssen)
254
2552002-10-10  Jeff Hobbs  <jeffh@ActiveState.com>
256
257	* tests/canvPs.test: tests for canvas embedded window ps generation
258	* generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop.
259	* generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c
260	* generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of
261	TkColormapData on Windows (Windows now requires RGB pixel data
262	from image).
263	* win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
264	for generating ps for embedded widgets on canvases on Windows,
265	tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
266
267	* library/tk.tcl: simplified the adding of extra <ISO_Left_Tab>
268	and <hpBackTab> events to <<PrevWindow>>.
269
2702002-10-09  Jeff Hobbs  <jeffh@ActiveState.com>
271
272	* unix/README: doc'ed --enable-symbols options.
273	* unix/Makefile.in: comment docs
274	* unix/configure: regen
275	* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
276	SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
277
2782002-10-09  Don Porter <dgp@users.sf.net>
279
280	* generic/tk.h:  Added reminder comment to edit
281	macosx/Wish.pbproj/project.pbxproj when version number changes.
282
2832002-10-09  Daniel Steffen  <das@users.sourceforge.net>
284
285	* macosx/Makefile: don't remove tclsh after building embedded.
286
287	* macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1;
288	added missing library/mkpsenc.tcl to framework.
289
2902002-10-09  Daniel Steffen  <das@users.sourceforge.net>
291
292	* generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for
293	mac & aqua, since it's now called from ParentXId via Tk_HandleEvent.
294	* generic/tkIntXlibDecls.h:
295	* generic/tkStubInit.c: regen.
296	* mac/tkMacXStubs.c: added XQueryTree stub
297
298	* mac/tkMacEmbed.c (TkpUseWindow): check that container window
299	has -container option set (sync with other platforms).
300
301	* mac/tkMacBitmap.c:
302	* mac/tkMacFont.c:
303	* mac/tkMacSend.c:
304	* mac/tkMacTest.c:
305	* mac/tkMacWm.c: CONSTification.
306
307	* mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to
308	tk library projects.
309
3102002-10-09  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
311
312	* generic/tkImgPhoto.c (ImgPhotoSetSize): Only error-out if we
313	fail to allocate a non-empty buffer; getting a NULL when we
314	allocate an empty buffer is no problem since nothing will look at
315	the value anyway. [Bug 619544]
316	Also tidied up file to take into account the fact that we're using
317	32 bits per pixel in the master to accommodate the alpha channel
318	as well as RGB.
319
3202002-10-08  Jeff Hobbs  <jeffh@ActiveState.com>
321
322	* tests/winButton.test: add option clear to top to prevent option
323	leakage from other tests causing problems. [Bug #582382]
324
325	* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): leave the
326	DestroyPanedWindow proc to free the pwPtr, add a Preserve
327	reference to the pwPtr->tkwin.
328	(DestroyPanedWindow): Release the pwPtr->tkwin.
329
330	* generic/tkFocus.c (TkFocusFilterEvent): Ignore event if we are
331	focusing into a dead window. [Bug #588831] (griffin)
332
3332002-10-02  Jim Ingham  <jingham@apple.com>
334
335	* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar
336	pointer into the control reference data for the Mac scrollbar, so we
337	can get it out again in the ScrollbarActionProc.
338
3392002-10-02  Jeff Hobbs  <jeffh@ActiveState.com>
340
341	* generic/tkText.c (TextBlinkProc): don't blink the cursor unless
342	it is visible. [Bug #616791] [Patch #614474] (bonfield)
343
344	* tests/entry.test: added entry-20.7
345	* generic/tkEntry.c (EntryTextVarProc): check if the entry is
346	being deleted before handling an associated textvariable.
347	[Bug #607390 #617446]
348
3492002-10-01  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
350
351	* tests/unixSelect.test (unixSelect-1.1[89]): Altered these tests
352	to work around [Bug #616923]
353	* unix/tkUnixSelect.c (SelRcvIncrProc,TkSelPropProc): It turns out
354	a much simpler and more robust solution is possible if we leverage
355	Tcl's encoding engine by using the same code path as for the
356	normal string selection.  It might be a bit slower, but it should
357	be a lot more correct.  [Bug #614650]
358
3592002-09-30  Jeff Hobbs  <jeffh@ActiveState.com>
360
361	* tests/panedwindow.test: added panedwindow-28.[12]
362	* generic/tkPanedWindow.c (PanedWindowCmdDeletedProc):
363	(Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy
364	the proxy before the parent to avoid dependency conflicts.
365	[Bug #616589]
366
3672002-09-30  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
368
369	* tests/unixSelect.test: Test for various things that can fail to
370	work in 8.4.0...
371	* unix/tkUnixSelect.c (TkSelPropProc,SelRcvIncrProc): Incremental
372	transfers of UTF8_STRING selections should now work; Tk will now
373	tag them with the right size and only transfer complete UTF8
374	characters.  Previously, things only worked when the transfer
375	could only happen in one go, and even then not always. [Bug 614650]
376
377	* doc/bind.n: Doc-fix to mention that %A substitutes UNICODE
378	characters rather than ASCII ones.  Tk's done this ever since 8.1
379	in any case; after all, it is the right thing to do.
380
3812002-09-27  Don Porter <dgp@users.sf.net>
382
383	* README:		Bumped to version 8.4.1 to avoid confusion
384	* generic/tk.h:		of CVS snapshots with release 8.4.0.
385	* unix/README:
386	* unix/configure.in:
387	* unix/tk.spec
388	* win/configure.in:
389
390	* unix/configure:	autoconf
391	* win/configure:
392
3932002-09-26  Jeff Hobbs  <jeffh@ActiveState.com>
394
395	* unix/configure: regen.
396	* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
397
398	* unix/Makefile.in: add macosx subdir to dist target.
399	Do not generate .Z, only .gz and .zip in alldist target.
400
4012002-09-18  Mumit Khan  <khan@nanotech.wisc.edu>
402
403	Added basic Cygwin support.
404
405	* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
406	(SC_PATH_TKCONFIG): Likewise.
407	(SC_PROG_TCLSH): Likewise.
408	(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
409	flags.  Add -mwin32 to extra_cflags and extra_ldflags.
410	Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
411	* win/configure: Regenerate.
412
413	* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
414	(_T): Define for Cygwin.
415	* win/winMain.c (main): Conditionally define.
416
4172002-09-26  Daniel Steffen  <das@users.sourceforge.net>
418
419	* macosx/Makefile: preserve environment value of INSTALL_ROOT.
420	When embedding only use deployment build. Force relink before
421	embedded build to ensure new linker flags are picked up.
422
423	* macosx/buildTkConfig.tcl (new):
424	* macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh
425	based on tclConfig.sh in Tcl.framework and tkConfig.sh.in.
426	Add symbolic links to debug lib, stub libs and tkConfig.sh
427	in framework toplevel. Made tkIntXlibDecls.h a public header
428	since Headers/X11/Xlib.h includes it. Install wish8.4 script
429	that runs "Wish Shell.app" and corresponding wish link.
430	Use tcl headers from built Tcl.framework instead of from tcl
431	source directory.
432
433	* macosx/tkMacOSXPort.h: added missing standard unix includes
434	and defines, similarly to tkUnixPort.h.
435	* macosx/tkMacOSXNotify.c: removed dependency on internal tcl
436	header "tclPort.h"
437
438	* unix/Makefile.in:
439	* unix/install-sh: copied support for 'install-strip' target
440	over from tcl/unix/{Makefile.in,install-sh}
441
4422002-09-22  Jim Ingham <jingham@apple.com>
443
444	* macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl
445	doesn't give the proper "nothing to scroll" look on Mac OS X.
446	You have to set the min value greater than the max value to
447	get this.
448
4492002-09-15  Mo DeJong  <mdejong@users.sourceforge.net>
450
451	* unix/configure: Regen.
452	* unix/tcl.m4: Update from Tcl.
453	* unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM
454	to examine the input context queue before invoking
455	XCloseIM. Generate an assert if there is an input
456	context that has not been freed.
457	[Patch 570902]
458
4592002-09-13  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
460
461	* generic/tk.h: Moved RC_INVOKED down so that tcl.h is still
462	included when running the resource compiler. <tcl.h> excludes the
463	unnecessary parts on its own. This reenables the Windows build. It
464	failed because the non-inclusion of tcl.h caused the resource
465	compiler to miss some vital macro definitions (TCL_FINAL_RELEASE,
466	STRINGIFY, ...).
467
4682002-09-12  Daniel Steffen  <das@users.sourceforge.net>
469
470	* generic/tk.h:
471	* mac/tkMacApplication.r:
472	* mac/tkMacLibrary.r:
473	* mac/tkMacResource.r:
474	* macosx/tkAboutDlg.r:
475	* macosx/tkMacOSXApplication.r:
476	* macosx/tkMacOSXLibrary.r:
477	* macosx/tkMacOSXResource.r: unified use of the two equivalent
478	resource compiler header inclusion defines RC_INVOKED and
479	RESOURCE_INCLUDED, now use RC_INVOKED throughout.
480
481	* macosx/tkMacOSXAppInit.c: improved detection of Wish startup
482	by the finder (by checking if stdin is /dev/null), in which
483	case we want to bring up the Tk console window.
484
485	* macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
486
4872002-09-12  Daniel Steffen  <das@users.sourceforge.net>
488
489	* macosx/Wish.pbproj/project.pbxproj: reference & install
490	tk/generic/prolog.ps instead of tk/library/prolog.ps.
491
4922002-09-10  Daniel Steffen  <das@users.sourceforge.net>
493
494	* macosx/Wish.pbproj/project.pbxproj: added backwards
495	compatibility for OSX 10.1 ProjectBuilder 2.0.
496
4972002-09-10  Daniel Steffen  <das@users.sourceforge.net>
498
499	* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwin
500	and set it to default value ${LIB_RUNTIME_DIR}
501	* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
502	LIB_RUNTIME_DIR in the -install_name argument to ld.
503	* unix/configure: regen.
504
505	* macosx/Wish.pbproj/project.pbxproj:
506	* macosx/Makefile: added support for building Tcl as an embedded
507	framework, i.e. using an dyld install_name containing
508	@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
509	unix/Makefile variable.
510
5112002-09-10  Jeff Hobbs  <jeffh@ActiveState.com>
512
513	*** 8.4.0 TAGGED FOR RELEASE ***
514
5152002-09-09  Jeff Hobbs  <jeffh@ActiveState.com>
516
517	* macosx/tkMacOSXNotify.c (Tk_MacOSXSetupTkNotifier): corrected
518	Mac Jaguar event loop issue.
519
520	* library/tk.tcl: use command instead of control on Aqua bindings.
521	Force dialogs to appear below fixed native Mac menubar.
522	* macosx/tkMacOSXKeyEvent.c:
523	* macosx/tkMacOSXKeyboard.c: Keypress/release events for pure
524	modifier keys were not being passed to Tk.
525	Deadkey presses were inserting null characters into text windows.
526	Now they do nothing. (Still not ideal, but better than before!)
527	* macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist -
528	increased to 2000.
529	* macosx/tkMacOSXMouseEvent.c: Bad interactions between floating
530	windows and ordinary ones.  Ensure that local<->global coordinate
531	transformations are wrt to the correct window.
532	* macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'.
533	Remove crash in 'wm transient'.
534	Add 'noActivates' and 'noUpdates' flags to unsupported command.
535	[Patch #606658] (darley)
536
537	* library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): corrected
538	msgcat code with XPG specifier. [Patch #606719] (miller)
539
5402002-09-06  Don Porter <dgp@users.sf.net>
541
542	* tests/unixWm.test (unixWm-50.3):  Constrained test that hangs
543	on Windows.
544
5452002-09-05  Daniel Steffen  <das@users.sourceforge.net>
546
547	* macosx/Wish.pbproj/project.pbxproj: added overlooked missing
548	TK_PATCH_LEVEL version bump to 8.4.0.
549
5502002-09-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
551
552	* win/Makefile.in (install-libraries): Added code section to
553	install the message catalogs. Copied same section from
554	unix/Makefile.in and adapted it to the slightly different
555	environment.
556
5572002-09-03  Jeff Hobbs  <jeffh@ActiveState.com>
558
559	* library/button.tcl: further restrict buttons to not resetting
560	the "original" relief if it has changed in the interim.  This
561	prevents code that simulated overrelief buttons from not working
562	in 8.4.  [Bug #604270]
563
5642002-09-03  Daniel Steffen  <das@users.sourceforge.net>
565
566	* macosx/Wish.pbproj/project.pbxproj: Bumped version number to
567	8.4.0 and updated copyright info.
568
5692002-09-03  Vince Darley  <vincentdarley@users.sourceforge.net>
570
571	* macosx/tkMacOSXWm.c: fix to 'wm attributes' error-handling bug.
572
5732002-09-03  Don Porter <dgp@users.sf.net>
574
575	* changes: Updated for 8.4.0 release
576
5772002-09-02  Jeff Hobbs  <jeffh@ActiveState.com>
578
579	* tests/cursor.test: reverted 2002-08-31 change for OS X to use
580	'heart' cursor because 'arrow' on windows has a pre-skewed use
581	count. [Bug #602667]
582
583	* tests/button.test: added button-14.1
584	* win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button
585	sizing to be equal for one-line buttons with -height of 0 or 1, as
586	well as -height 0 buttons with empty text and no image, which
587	should be the same as single-line text buttons. [Bug #565485]
588
589	* library/button.tcl (::tk::ButtonLeave): correctly restore state
590	of button to normal for unix bindings. [Bug #597920]
591
592	* doc/tk.n: added tk windowingsystem docs.
593
594	* tests/wm.test:
595	* unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
596	[Patch #601518] (english) TIP #107
597
598	* unix/tcl.m4: add support for 64-bit builds on HP-11 with gcc.
599	* unix/configure.in: make sure to substitute LD_LIBRARY_PATH_VAR.
600	* unix/configure: regend
601
602	* README:		Bumped version number to 8.4.0
603	* generic/tk.h:
604	* unix/configure:
605	* unix/configure.in:
606	* unix/tk.spec:
607	* win/configure:
608	* win/configure.in:
609
610	* generic/tkCmds.c:
611	* generic/tkWindow.c: made 'tk' available in safe interpreters,
612	but only the caret and windowingsystem subcommands may be called.
613	* tests/safe.test (safe-1.2): noted that tk is now available in
614	safe interps, but not the appname/scaling subcommands.
615
616	* tests/tk.test (tk-1.2): noted new tk windowingsystem subcommand
617
6182002-08-31  Daniel Steffen  <das@users.sourceforge.net>
619
620	* unix/tcl.m4: update from Tcl
621
622	* unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library
623	specific linker settings. Added use of new LD_LIBRARY_PATH_VAR.
624
625	* unix/configure: regen
626
6272002-08-31  Daniel Steffen  <das@users.sourceforge.net>
628
629	*** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***
630
631	* generic/tk.decls:
632	* generic/tkInt.decls: added new "aqua" specific entries to the
633	stubs tables. Changed all "unix" entries to "x11" to allow us to
634	distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.
635
636	* generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can
637	be passed to the resource compiler.
638
639	* generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem]
640	subcommand: returns "x11" when running on X11, "win32" on Windows,
641	"classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)
642
643	* generic/tkFont.c (TkFontGetFirstTextLayout): new private function
644	returning the first chunk of a Tk_TextLayout, i.e. until the first
645	font change on the first line (or the whole first line if there is
646	no such font change).
647
648	* generic/tkMain.c: made Tcl_ThreadDataKey static
649
650	* library/demos/puzzle.tcl: fixed button metrics for aqua
651
652	* tests/cursor.test: check for presence of arrow cursor instead of
653	heart cursor
654
655	* xlib/xcolors.c: changed xColors static initialization to more
656	standard C
657
658	* macosx/Wish.pbproj/jingham.pbxuser (new):
659	* macosx/Wish.pbproj/project.pbxproj (new): project for Apple's
660	ProjectBuilder IDE.
661
662	* macosx/Makefile (new): simple makefile for building the project
663	from the command line via the ProjectBuilder tool 'pbxbuild'.
664
665	* macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking
666	for a AppMain.tcl file in its bundled Resources/Scripts folder. If
667	present, argv[1] is set to that file and the Scripts folder is
668	added to the auto_path. This allows tk apps to embed scripts within
669	their bundle directory structure.
670
671	* macosx/tkMacOSXInit.c (new): macosx adapted version of
672	tkUnixInit.c: we initialize & cache the Carbon native encoding
673	(e.g. 'macRoman') and try to find the tk script library files
674	inside Tk packaged as a framework.
675
676	* macosx/tkMacOSXNotify.c (new): new macosx specific merged
677	Carbon/select-based notifier.
678
679	* macosx/tkMacOSXEvent.c (new):
680	* macosx/tkMacOSXEvent.h (new):
681	* macosx/tkMacOSXKeyEvent.c (new):
682	* macosx/tkMacOSXMouseEvent.c (new):
683	* macosx/tkMacOSXWindowEvent.c (new): new macosx specific event
684	handling functionality.
685
686	* macosx/tkMacOSX.h (new):
687	* macosx/tkMacOSXBitmap.c (new):
688	* macosx/tkMacOSXButton.c (new):
689	* macosx/tkMacOSXClipboard.c (new):
690	* macosx/tkMacOSXColor.c (new):
691	* macosx/tkMacOSXConfig.c (new):
692	* macosx/tkMacOSXCursor.c (new):
693	* macosx/tkMacOSXDefault.h (new):
694	* macosx/tkMacOSXDialog.c (new):
695	* macosx/tkMacOSXDraw.c (new):
696	* macosx/tkMacOSXEmbed.c (new):
697	* macosx/tkMacOSXFont.c (new):
698	* macosx/tkMacOSXHLEvents.c (new):
699	* macosx/tkMacOSXInt.h (new):
700	* macosx/tkMacOSXKeyboard.c (new):
701	* macosx/tkMacOSXMenu.c (new):
702	* macosx/tkMacOSXMenubutton.c (new):
703	* macosx/tkMacOSXMenus.c (new):
704	* macosx/tkMacOSXPort.h (new):
705	* macosx/tkMacOSXRegion.c (new):
706	* macosx/tkMacOSXScale.c (new):
707	* macosx/tkMacOSXScrlbr.c (new):
708	* macosx/tkMacOSXSubwindows.c (new):
709	* macosx/tkMacOSXTest.c (new):
710	* macosx/tkMacOSXUtil.c (new):
711	* macosx/tkMacOSXUtil.h (new):
712	* macosx/tkMacOSXWm.c (new):
713	* macosx/tkMacOSXWm.h (new):
714	* macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk
715	implementation in tk/mac.
716
717	* macosx/tkMacOSXSend.c (new): only send to local interp
718	implemented currently.
719
720	* macosx/tkMacOSXDebug.h (new):
721	* macosx/tkMacOSXDebug.c (new): new macosx specific functions for
722	debugging MacOS events, regions, etc.
723
724	* macosx/tkAboutDlg.r (new):
725	* macosx/tkMacOSXApplication.r (new):
726	* macosx/tkMacOSXCursors.r (new):
727	* macosx/tkMacOSXLibrary.r (new):
728	* macosx/tkMacOSXMenu.r (new):
729	* macosx/tkMacOSXResource.r (new):
730	* macosx/tkMacOSXXCursors.r (new):
731	* macosx/tclets.r (new): sources for Rez resource compiler.
732
733	* macosx/Wish.icns (new): Wish application icon.
734
735	* generic/tk.h:
736	* generic/default.h:
737	* generic/tkBind.c:
738	* generic/tkCmds.c:
739	* generic/tkGrab.c:
740	* generic/tkPointer.c:
741	* generic/tkPort.h:
742	* generic/tkSelect.c:
743	* generic/tkStubLib.c:
744	* generic/tkTest.c:
745	* generic/tkText.c:
746	* generic/tkWindow.c:
747	* unix/tkUnix3d.c:
748	* xlib/xgc.c:
749	* xlib/X11/X.h:
750	* xlib/X11/Xlib.h:
751	* xlib/X11/Xutil.h: added #includes and #ifdefs for macosx
752
753	* library/bgerror.tcl:
754	* library/button.tcl:
755	* library/console.tcl:
756	* library/dialog.tcl:
757	* library/entry.tcl:
758	* library/listbox.tcl:
759	* library/menu.tcl:
760	* library/msgbox.tcl:
761	* library/scrlbar.tcl:
762	* library/spinbox.tcl:
763	* library/text.tcl:
764	* library/tk.tcl:
765	* library/demos/menu.tcl:
766	* library/demos/menubu.tcl:
767	* library/demos/widget: check [tk windowingsystem] instead of
768	and/or in addition to $tcl_platform(platform).
769
770	* generic/tkInt.h:
771	* mac/tkMacBitmap.c:
772	* mac/tkMacWm.c: added missing CONSTification
773
774	* generic/tkIntDecls.h:
775	* generic/tkIntPlatDecls.h:
776	* generic/tkIntXlibDecls.h:
777	* generic/tkPlatDecls.h:
778	* generic/tkStubInit.c: regen
779
7802002-08-27  D. Richard Hipp <drh@hwaci.com>
781
782	* doc/checkbutton.n:      [Bug 582457] Fix the -offrelief option so
783	* doc/radiobutton.n:      that when -offrelief is flat and -relief is
784	* mac/tkMacButton.c:      sunken and -overrelief is raised, buttons
785	* unix/tkUnixButton.c:    work look toolbar buttons under Windows.
786	* win/tkWinButton.c:      See also: TIP #82.
787
7882002-08-26  Don Porter <dgp@users.sf.net>
789
790	* win/Makefile.in:	Removed dependence on the (parts of) the
791	* win/winMain.c:	tcltest executable on Windows.  It was not
792	used, and the dependency complicated the Makefile.  [Bug 592638].
793
7942002-08-20  Don Porter <dgp@users.sf.net>
795
796	* README:		Bumped version number to 8.4b3 to distinguish
797	* generic/tk.h:		HEAD from the 8.4b2 release.
798	* unix/configure.in:
799	* win/configure.in:
800	* unix/tk.spec:
801
802	* unix/configure:	autoconf
803	* win/configure:
804
805	* generic/tk.h:	Added compile-time check that the tcl.h header file
806	#included by Tk 8.4 is one from Tcl 8.4.  This is needed to be sure
807	that new #defines like CONST84 are available. [Bug 597432].
808
8092002-08-16  Jeff Hobbs  <jeffh@ActiveState.com>
810
811	* unix/Makefile.in (install-binaries): simplified pkgIndex.tcl
812	file created on installation.
813	* win/Makefile.in (install-binaries): corrected and simplified
814	creation of pkgIndex.tcl file on installation.
815
8162002-08-14  Vince Darley  <vincentdarley@users.sourceforge.net>
817
818	* win/tkWinDialog.c:
819	* win/makefile.vc: broken compilation and link from changes
820	Hobbs-08-07 fixed.
821	* win/tkWinTest.c: CONST problem resolved.
822
8232002-08-13  Jeff Hobbs  <jeffh@ActiveState.com>
824
825	* library/button.tcl: change the bindings to use Priv($w,relief)
826	instead of just Priv(relief).  This ensures that neighboring
827	buttons don't confuse (over)relief settings.
828
8292002-08-13  Reinhard Max  <max@suse.de>
830
831	* unix/tkUnixSend.c (Tk_SetAppName): Fixed a compiler warning.
832
8332002-08-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
834
835	* library/demos/image2.tcl: Tweaked the behaviour of the directory
836	box on resize, as resizing of the overall window tends to be
837	common given the sample images.
838
8392002-08-08  Mo DeJong  <mdejong@users.sourceforge.net>
840
841	* unix/tkUnixWm.c (WmTransientCmd): Apply fix for
842	wm transient assertion error that was applied
843	to tkWinWm.c for Tk Bug #592201.
844
8452002-08-08  Mo DeJong  <mdejong@users.sourceforge.net>
846
847	* tests/wm.test: Add deleteWindows at start of
848	new transient tests so they do not fail if the
849	toplevels already exist.
850	* unix/tkUnixWm.c: Revert patch for Tk Bug #592201
851	which incorrectly removed numTransients member.
852
8532002-08-08  Joe English  <jenglish@users.sourceforge.net>
854
855	* unix/tkUnixWm.c:
856	* win/tkWinWm.c:
857	* tests/wm.test: Fix for Tk Bug #592201 "wm transient fails with
858	two masters"; fixes panic after a transient window is reassigned
859	to new master and either master is subsequently destroyed.
860
8612002-08-08  Don Porter <dgp@users.sf.net>
862
863	* tests/unixWm.test:  Corrected packaging of unixWm-50.3 so that
864	[setupbg] and [cleanupbg] always balance, no matter what tests
865	are skipped.
866
8672002-08-08  Reinhard Max  <max@suse.de>
868
869	* unix/Makefile.in: Fixed typos in DISTNAME, and ZIPNAME.
870
8712002-08-08  Jeff Hobbs  <jeffh@ActiveState.com>
872
873	*** 8.4b2 TAGGED FOR RELEASE ***
874
875	* generic/tkButton.c (TkButtonWorldChanged): added GCFont handling
876	to the disabledGc of buttons when compound != none.  The drawing
877	appears to be incorrect across platforms still.  [Bug #477740]
878
879	* generic/tkImgGIF.c (FileReadGIF): fixed -from handling for gifs
880	[Bug #467524] (obermeier)
881
8822002-08-07  Jeff Hobbs  <jeffh@ActiveState.com>
883
884	* generic/tkCanvUtil.c (TkSmoothParseProc): recognize the built-in
885	bezier method by name. [Bug #578654]
886	* doc/canvas.n: update to note that -smooth really doesn't take
887	or return just booleans.
888
889	* win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when
890	to idle call ReconfigureWindowsMenu.
891
892	* doc/GetBitmap.3: removed doc refs to deprecated
893	Tk_GetBitmapFromData. [Bug #590379]
894
895	* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):
896	* library/panedwindow.tcl: changed class from PanedWindow to
897	Panedwindow to not conflict with existing bwidgets, but also to be
898	more regular with other names used in the core.
899
900	* tests/panedwindow.test: added -text foobar to some test buttons
901	to enable correct testing of panedwindow across platforms.
902	[Bug #582370]
903
904	* win/tkWinDialog.c: enabled use of the updated native Windows
905	directory browser (tk_chooseDirectory).  This does require
906	shell32.dll v4.71 or greater. [Patch #468139]
907
908	* win/configure:
909	* win/tcl.m4: added shell32 to libs for updated native Windows
910	tk_chooseDirectory dialog.
911
9122002-08-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
913
914	* generic/tkPanedWindow.c (RESIZE_PENDING): Separated out flag for
915	indicating that a resize needs to be issued.
916	(PanedWindowReqProc): Do the old behaviour when the panedwindow is
917	not mapped; easiest way of making the test suite pass while still
918	preserving improved behaviour in the face of children whose size
919	is not known immediately.
920
9212002-08-06  Don Porter <dgp@users.sf.net>
922
923	* tests/defs.tcl: removed file.  No longer needed now that Tk is
924	using the tcltest package to do its testing.
925
9262002-08-05  Don Porter <dgp@users.sf.net>
927
928	* win/tkWinFont.c:	Additional changes to fix CONST warnings on
929	* win/tkWinWM.c:	Windows due to latest patch.  Tks Vince Darley.
930
931	* doc/3DBorder.3:	Applied companion patch for Tcl Patch 585105,
932	* doc/BindTable.3:	updating Tk to use Tcl 8.4's fully CONST-ified
933	* doc/ConfigWidg.3:	interface, and fully CONSTifying Tk at the
934	* doc/CrtImgType.3:	same time.
935	* doc/CrtWindow.3:
936	* doc/DeleteImg.3:	This patch includes purging Tk of its last
937	* doc/FindPhoto.3:	direct access to interp->result.  [Bug 589853]
938	* doc/GetAnchor.3:
939	* doc/GetBitmap.3:	The substantial changes include copying
940	* doc/GetCapStyl.3:	event sequence strings into Tcl_DStrings
941	* doc/GetClrmap.3:	in tkBind.c, and copying [text] indices into
942	* doc/GetColor.3:	Tcl_DStrings because parsing them involved
943	* doc/GetCursor.3:	overwriting them.  If this causes performance
944	* doc/GetFont.3:	trouble, that can be resolved by further
945	* doc/GetImage.3:	converting them to Tcl_Obj's.
946	* doc/GetJoinStl.3:
947	* doc/GetJustify.3:	The #defines USE_NON_CONST and USE_COMPAT_CONST
948	* doc/GetOption.3:	have the same effect for Tk as they do for Tcl.
949	* doc/GetRelief.3:	(They actually change tcl.h)
950	* doc/GetScroll.3:
951	* doc/GetVisual.3:
952	* doc/InternAtom.3:
953	* doc/NameOfImg.3:
954	* doc/SetAppName.3:
955	* doc/WindowId.3:
956	* generic/tk.decls:
957	* generic/tk.h:
958	* generic/tk3d.c:
959	* generic/tkAtom.c:
960	* generic/tkBind.c:
961	* generic/tkBitmap.c:
962	* generic/tkButton.c:
963	* generic/tkCanvArc.c:
964	* generic/tkCanvBmap.c:
965	* generic/tkCanvImg.c:
966	* generic/tkCanvLine.c:
967	* generic/tkCanvPoly.c:
968	* generic/tkCanvPs.c:
969	* generic/tkCanvText.c:
970	* generic/tkCanvUtil.c:
971	* generic/tkCanvWind.c:
972	* generic/tkCanvas.c:
973	* generic/tkCanvas.h:
974	* generic/tkClipboard.c:
975	* generic/tkCmds.c:
976	* generic/tkColor.c:
977	* generic/tkConfig.c:
978	* generic/tkConsole.c:
979	* generic/tkCursor.c:
980	* generic/tkDecls.h:
981	* generic/tkEntry.c:
982	* generic/tkFont.c:
983	* generic/tkFrame.c:
984	* generic/tkGet.c:
985	* generic/tkGrid.c:
986	* generic/tkImage.c:
987	* generic/tkImgBmap.c:
988	* generic/tkImgPhoto.c:
989	* generic/tkInt.decls:
990	* generic/tkInt.h:
991	* generic/tkIntDecls.h:
992	* generic/tkIntPlatDecls.h:
993	* generic/tkListbox.c:
994	* generic/tkMenu.c:
995	* generic/tkMenubutton.c:
996	* generic/tkMessage.c:
997	* generic/tkOldConfig.c:
998	* generic/tkOption.c:
999	* generic/tkRectOval.c:
1000	* generic/tkScale.c:
1001	* generic/tkScrollbar.c:
1002	* generic/tkSelect.c:
1003	* generic/tkStyle.c:
1004	* generic/tkTest.c:
1005	* generic/tkText.c:
1006	* generic/tkText.h:
1007	* generic/tkTextBTree.c:
1008	* generic/tkTextDisp.c:
1009	* generic/tkTextImage.c:
1010	* generic/tkTextIndex.c:
1011	* generic/tkTextMark.c:
1012	* generic/tkTextTag.c:
1013	* generic/tkTextWind.c:
1014	* generic/tkUtil.c:
1015	* generic/tkVisual.c:
1016	* generic/tkWindow.c:
1017	* mac/tkMacConfig.c:
1018	* mac/tkMacCursor.c:
1019	* mac/tkMacEmbed.c:
1020	* mac/tkMacSend.c:
1021	* unix/tkUnixConfig.c:
1022	* unix/tkUnixCursor.c:
1023	* unix/tkUnixEmbed.c:
1024	* unix/tkUnixFont.c:
1025	* unix/tkUnixSelect.c:
1026	* unix/tkUnixSend.c:
1027	* unix/tkUnixWm.c:
1028	* win/tkWinConfig.c:
1029	* win/tkWinCursor.c:
1030	* win/tkWinEmbed.c:
1031	* win/tkWinMenu.c:
1032	* win/tkWinSend.c:
1033
10342002-08-02  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1035
1036	* generic/tkPanedWindow.c (DestroyPanedWindow): Idle calls need to
1037	be deleted on destruction of the window, or things can *really* go
1038	pear-shaped.
1039
10402002-07-31  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1041
1042	* generic/tkPanedWindow.c (PanedWindowReqProc): Postpone pane
1043	arrangement until idle, as is done in other window managers, to
1044	fix problems with size calculations when the children don't
1045	already know their sizes anyway.
1046
1047	* unix/configure: Regen.
1048	* unix/tcl.m4: Update from Tcl.
1049
10502002-07-29  Mo DeJong  <mdejong@users.sourceforge.net>
1051
1052	* unix/configure: Regen.
1053	* unix/configure.in: Remove code that was setting
1054	CC_SEARCH_FLAGS and LD_SEARCH_FLAGS to try to
1055	account for cc vs ld linking. Tcl now handles this.
1056	* unix/tcl.m4: Update from Tcl.
1057
10582002-07-27  Mo DeJong  <mdejong@users.sourceforge.net>
1059
1060	* unix/Makefile.in: Add MAJOR_VERSION, MINOR_VERSION,
1061	PATCH_LEVEL, INSTALL_LIBRARY, STUB_LIB_FILE, and LIB_FILE
1062	to support changes in tcl.m4 related to library builds.
1063	Use MAKE_LIB macro to avoid dealing with RANLIB issues.
1064	Rename TK_CC_SEARCH_FLAGS to CC_SEARCH_FLAGS and
1065	rename TK_LD_SEARCH_FLAGS to LD_SEARCH_FLAGS.
1066	Use new INSTALL_LIB and INSTALL_STUB_LIB substs to
1067	deal with ranlib issues when install libraries.
1068	* unix/configure: Regen.
1069	* unix/configure.in: Remove AC_PROG_RANLIB since
1070	this is done by tcl.m4 now. Define CC_SEARCH_FLAGS
1071	instead of TK_CC_SEARCH_FLAGS and so on.
1072	Use MAKE_LIB and MAKE_STUB_LIB from tcl.m4.
1073	Remove AC_SUBST calls that are no done in tcl.m4.
1074	* unix/tcl.m4: Update from Tcl.
1075	* unix/tkConfig.sh.in: Subst CC_SEARCH_FLAGS and
1076	LD_SEARCH_FLAGS.
1077
10782002-07-25  Peter Spjuth  <peter.spjuth@space.se>
1079
1080	* generic/tkInt.h:
1081	* generic/tkWindow.c:
1082	* mac/tkMacWm.c:
1083	* unix/tkUnixWm.c:
1084	* win/tkWinWm.c:
1085	* tests/wm.test:
1086	* tests/winWm.test:
1087	* tests/unixWm.test: Objectifed wm. [Patch #564521]
1088	Note: At this point the Mac file is completely untested
1089	and may not even compile.
1090
10912002-07-25  Jeff Hobbs  <jeffh@ActiveState.com>
1092
1093	* tests/spinbox.test: added spinbox-22.[1-3]
1094	* generic/tkEntry.c (ConfigureEntry): made the textvariable value
1095	take precedence over changed -from/-to values, unless it must be
1096	constrained.  [Bug #559078]
1097
1098	* library/spinbox.tcl (MouseSelect): when not in the entry, just
1099	return instead of invoking - ButtonUp handles invoking already.
1100	[Bug #499168]
1101
1102	* library/tk.tcl (RestoreFocusGrab): handle the case where the
1103	FocusGrab info is not set. [Bug #553283]
1104
11052002-07-24  Jeff Hobbs  <jeffh@ActiveState.com>
1106
1107	* tests/canvas.test: added canvas-14.[1-6]
1108	* generic/tkCanvas.c (CanvasWidgetCmd): corrected handling of
1109	'scan' subcommand args.  Also removed early return cases to goto
1110	done instead where the canvasPtr would be Tcl_Release'd.  This may
1111	solve other problems with unreleased canvasPtr's. [Bug #581560]
1112
1113	* win/tkWinButton.c (TkpDisplayButton): corrected display of focus
1114	ring around the actual text when the button is a compound button.
1115	[Bug #583691]
1116
1117	* unix/README: Corrected notes about running user interactive Tk
1118	tests. [Bug #462320]
1119
1120	* generic/tkText.c (TextEditUndo): set isDirtyIncrement to -1 when
1121	reverting to note proper "dirtiness". [Bug #580362] (callewaert)
1122
1123	* generic/tkEntry.c (DisplayEntry): correct cursor position before
1124	calling Tk_SetCaretPos. (yamamoto)
1125
11262002-07-23  Mo DeJong  <mdejong@users.sourceforge.net>
1127
1128	* unix/configure: Regen.
1129	* unix/tcl.m4: Update from Tcl.
1130
11312002-07-22  Mo DeJong  <mdejong@users.sourceforge.net>
1132
1133	* library/choosedir.tcl (tk::dialog::file::chooseDir):
1134	* library/clrpick.tcl (tk::dialog::file::chooseDir):
1135	* library/msgbox.tcl (tk::MessageBox):
1136	* library/tkfbox.tcl (tk::dialog::file):
1137	* library/xmfbox.tcl (tk::MotifFDialog):
1138	Revert [Tk patch 568278]. The transient window workaround
1139	is no longer needed since the fix for [Tk bug 570764]
1140	solved the problem for withdrawn transients.
1141
11422002-07-19  Mo DeJong  <mdejong@users.sourceforge.net>
1143
1144	* unix/configure:
1145	* unix/configure.in:
1146	* win/configure:
1147	* win/configure.in: Add AC_PREREQ(2.13) in an attempt
1148	to make it more clear that the configure scripts
1149	must be generated with autoconf version 2.13.
1150	[Tcl Bug 583573]
1151
11522002-07-19  D. Richard Hipp  <drh@hwaci.com>
1153
1154	* library/mkpsec.tcl: Fix a bug that was causing postscript generation
1155	to fail under Win2K.
1156
11572002-07-18  Reinhard Max  <max@suse.de>
1158
1159	* unix/tkUnixSend.c: Using Tcl_GetTime instead of TclpGetTime.
1160
11612002-07-17  Reinhard Max  <max@suse.de>
1162
1163	* library/unsupported.tcl: Extended ExposePrivateVariable, and
1164	ExposePrivateCommand to accept patterns as well.
1165
11662002-07-17  Don Porter <dgp@users.sf.net>
1167
1168	* generic/tkFont.c: Corrected reversed logic in assert -> panic
1169	conversion.  [Bug 582799]
1170
11712002-07-16  Mo DeJong  <mdejong@users.sourceforge.net>
1172
1173	* generic/tkFont.c (TkFontPkgFree): Call panic instead
1174	of assert since assert is not used in the rest of Tk.
1175	[Tk bug 579651]
1176
11772002-07-16  Mo DeJong  <mdejong@users.sourceforge.net>
1178
1179	* unix/Makefile.in:
1180	* win/Makefile.in: Add a more descriptive warning
1181	in the event `make genstubs` needs to be rerun.
1182
11832002-07-16  Vince Darley  <vincentdarley@users.sourceforge.net>
1184
1185	* win/tkWinWm.c:
1186	* doc/wm.n: fix for part of [Bug 581627], and made iconbitmap
1187	code on Windows more flexible about reading in icons [Bug
1188	220800].
1189
11902002-07-15  David Gravereaux <davygrvy@pobox.com>
1191
1192	* win/makefile.bc (new): re-add of the borland makefile.  Submitted
1193	by Helmut Giese <hgiese@ratiosoft.com>.  This needs testing, still.
1194
11952002-07-15  Don Porter <dgp@users.sf.net>
1196
1197	* Fixes for [Bug 581627, 581795].
1198	* generic/tkTest.c:		Test commands not supported on non-Unix
1199	platforms should not be defined there in the first place.
1200	* tests/constraints.tcl:	Fixed "secureserver" constraint.
1201	* tests/unixWm.test:		Some tests needed "unix" constraint.
1202	* win/tkWinWm.c:		Typo in error message.
1203
12042002-07-14  Don Porter <dgp@users.sf.net>
1205
1206	* tests/event.test:	Fixes to enable testing of only userInteraction
1207	* tests/visual_bb.test:	tests.
1208
1209	* README:		Bumped HEAD to version 8.4b2 in order to
1210	* generic/tk.h:		distinguish it from the 8.4b1 release.
1211	* unix/configure*:	Also extended LOCALES to cover all message
1212	* unix/tk.spec:		catalogs.
1213	* win/configure*:
1214
1215	* tests/focustTcl.test:	Conversion bug: Corrected backwards logic.
1216	* tests/imgPhoto.test:	Conversion bug: overwrote unix/README.
1217
1218	* tests/all.tcl:		Completed conversion of Tk test suite
1219	* tests/constraints.tcl:	to use tcltest.
1220	* tests/[b-v]*.test:
1221	* unix/Makefile.in:
1222
12232002-07-12  Don Porter <dgp@users.sf.net>
1224
1225	* tests/constraints.tcl:	Converted more files to tcltest and
1226	* tests/[g-x]*.test:		factored out common code.
1227
12282002-07-11  Don Porter <dgp@users.sf.net>
1229
1230	* tests/canvPsImg.tcl:			Converted several files in the
1231	* tests/constraints.tcl (new file):	Tk test suite for testing by
1232	* tests/[r-x]*.test:			tcltest 2.1.
1233	* unix/Makefile.in:
1234
12352002-07-11  Jeff Hobbs  <jeffh@ActiveState.com>
1236
1237	* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initialize
1238	utfTitle to NULL, add a few more notes about limitations of
1239	possible new Tk_ChooseDirectoryObjCmd function.
1240
12412002-07-11  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1242
1243	* tests/imgPhoto.test (imgPhoto-15.1): Added test of mem-alloc
1244	failure, but this is non-portable.
1245	* generic/tkImgPhoto.c (ImgPhotoSetSize): Allowed this function to
1246	fail when it can't allocate enough memory.  Note that not all the
1247	places that call it can fail nicely without API changes; some
1248	still panic but at least some of the potential failures are now
1249	handled gracefully.
1250
1251	* tests/visual_bb.test (lpr): Stopped this from relying on
1252	external files; direct piping is much more flexible for this
1253	application.
1254
12552002-07-09  Don Porter <dgp@users.sf.net>
1256
1257	* generic/tkTest.c:	Removed unused dependence on TclThread_Init()
1258	* tests/defs.tcl:	and [testthread].  [Bug 578165, Tcl Bug 531413]
1259
12602002-07-08  David Gravereaux <davygrvy@pobox.com>
1261
1262	* unix/Makefile.in: Added missing win/lamp.bmp to the dist
1263	target.
1264
12652002-07-05  Jeff Hobbs  <jeffh@ActiveState.com>
1266
1267	*** 8.4b1 TAGGED FOR RELEASE ***
1268
12692002-07-04  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1270
1271	* library/bgerror.tcl (bgerror): Stopped the bgerror dialog from
1272	getting wider than the screen; in theory really long messages
1273	could make it become taller than the screen now, but that's much
1274	less likely to happen.  Also trimmed a little bit of internal
1275	space so that the icon-message gap is the same as the icon-frame
1276	and message-frame gaps.
1277
12782002-07-01  Don Porter <dgp@users.sf.net>
1279
1280	* unix/configure:
1281	* unix/tcl.m4: Updated to latest tcl.m4 from Tcl.
1282
12832002-06-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1284
1285	* library/msgbox.tcl (MessageBox): Force all non-button widgets to
1286	have the same background as the containing toplevel.  [Bug #552515]
1287
12882002-06-27  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1289
1290	* win/Makefile.in (install-binaries): Fix of troubled Makefile
1291	quoting introduced by [Patch 521356] causing the installed to
1292	fail.
1293
12942002-06-25  Don Porter <dgp@users.sf.net>
1295
1296	* unix/tkUnixFont.c: (Tk_DrawChars) silence compiler warning.
1297
12982002-06-26  David Gravereaux <davygrvy@pobox.com>
1299
1300	* generic/tkStyle.c: <eol> of the committing cvs client didn't
1301	match the <eol> of the file itself.  Windows users where getting
1302	\r\r\n.  Problem fixed.
1303
13042002-06-26  Anton Kovalenko <a_kovalenko@users.sourceforge.net>
1305
1306	* generic/tkFont.c (TkTextLayoutToPostscript): fixed potential
1307	buffer overflow which could be intentionally triggered from
1308	within safe interpreter -- malicious applet could modify
1309	tk::psglyphs array.
1310
13112002-06-26  Anton Kovalenko <a_kovalenko@users.sourceforge.net>
1312
1313	* tests/font.test (font-32.1): updated this test
1314	to expect the new behavior of canvas postscript.
1315
13162002-06-25  Don Porter <dgp@users.sf.net>
1317
1318	* unix/Makefile.in:	Expanded install-binaries target to create
1319	* win/Makefile.in:	and install a pkgIndex.tcl file to enable
1320	Tk as a loadable package [Patch 521356]
1321
13222002-06-25  Anton Kovalenko <a_kovalenko@users.sourceforge.net>
1323
1324	* library/mkpsenc.tcl: (added) utilities to generate
1325	Postscript prolog for current system encoding.
1326	* generic/tkCanvPs.c (TkCanvPostscriptCmd): now
1327	uses mkpsenc.tcl to generate Postscript prolog.
1328	* generic/tkFont.c (TkTextLayoutToPostscript): modified
1329	according to patch #546910. Now outputs system-encoded
1330	characters (for unibyte) or Adobe glyph names (for
1331	multibyte or outside-locale).
1332	* tests/canvText.test (canvText-17.1): updated this test
1333	to expect the new behavior of canvas postscript.
1334
13352002-06-25  Reinhard Max  <max@suse.de>
1336
1337	* unix/tcl.m4:       New macro SC_CONFIG_MANPAGES.
1338	* unix/configure.in: Added support for symlinks and compression
1339	* unix/Makefile.in:  when installing the manpages. [Patch 518052]
1340	Default is still hardlinks and no compression.
1341
1342	* unix/mkLinks:      generated
1343	* unix/configure:
1344
1345	* unix/README:       Added documentation for the new features.
1346
1347	* unix/configure:                  Replaced ${exec_prefix}/lib
1348	* unix/tcl.m4 (SC_PATH_TCLCONFIG): by ${libdir}.
1349
13502002-06-24  Mo DeJong  <mdejong@users.sourceforge.net>
1351
1352	* tests/winWm.test: Verify that both an unmapped
1353	and already mapped toplevel are raised and receive
1354	the focus when deiconified.
1355	* tests/wm.test: Add wm deiconify tests. Check that
1356	a toplevel that has never been mapped is not mapped
1357	by the deiconify command since it should be done
1358	at idle by MapFrame.
1359	* win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
1360	flag while processing the wm deiconify command.
1361	The WM_UPDATE_PENDING flag should never be set when
1362	WM_NEVER_MAPPED is set, but double check so that
1363	the implementation is more explicit and matches
1364	the comment just above.
1365	Return without invoking TkWmRestackToplevel or
1366	TkSetFocusWin on a toplevel that has never been
1367	mapped. This fixes a bug where a toplevel is mapped
1368	with the wrong size and is then resized by the
1369	idle call to MapFrame. [Tk bug 233150]
1370
13712002-06-23  Jeff Hobbs  <jeffh@ActiveState.com>
1372
1373	* win/tkWinWm.c (UpdateGeometryInfo): remove the check for a null
1374	wrapper introduced in r1.41 on 2002-06-15 because it prevented
1375	geometry setting from taking effect if the window was not on the
1376	screen.  Another check may go in it's place as IsIconic and
1377	IsZoomed should not be passed NULL.
1378
13792002-06-22  Mo DeJong  <mdejong@users.sourceforge.net>
1380
1381	* tests/wm.test: Remove invalid minsize test. Add update
1382	calls to wm transient tests so that idle handlers get
1383	run. This is needed to get the tests to pass under Win32.
1384	* unix/tkUnixWm.c (WmWaitMapProc): Move the special
1385	transient withdrawn check into the if body to
1386	make it easier to set a breakpoint on this test
1387	inside a debugger. No functional changes.
1388	* win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
1389
13902002-06-22  Jeff Hobbs  <jeffh@ActiveState.com>
1391
1392	* doc/wm.n:                   TIP #95 Windows implementation and
1393	* mac/tkMacWm.c (Tk_WmCmd):   docs with mac and unix stubs.
1394	* unix/tkUnixWm.c (Tk_WmCmd):
1395	* win/tkWinWm.c (Tk_WmCmd):
1396	* tests/unixWm.test:
1397	* tests/winWm.test: more wm attr tests will be needed.
1398
1399	* generic/tkGrid.c (GridReqProc): check that gridPtr is not NULL
1400	(may be when embedded). [Bug #548791] (halliday)
1401
1402	* generic/tkFont.c (TkFontPkgFree): changed panic on freeing fonts
1403	to an assert, and wrapped panic in #ifdef PURIFY. [Bug #568701]
1404
1405	* library/menu.tcl: corrected menus from being posted offscreen
1406	on Windows. [Bug #464451] (darley)
1407
1408	* library/console.tcl: corrected the defaultPrompt substitution
1409	[Bug #553207] and made Tab a default expansion key (like Escape).
1410
1411	* win/tkWinEmbed.c (EmbedWindowDeleted): added a check for a null
1412	containerPtr.  The core of this bug is likely elsewhere. [Bug #476176]
1413
1414	* doc/text.n:                             TIP #93 implementation that
1415	* generic/tkText.c (TextWidgetCmd):       enhances the text get and
1416	* generic/tkTextIndex.c (TkTextGetIndex): delete methods to accept
1417	* tests/text.test:                        multiple range pairs.
1418	This handles the delete case in an atomic, fixed-index fashion.
1419
14202002-06-21  Mo DeJong  <mdejong@users.sourceforge.net>
1421
1422	* tests/wm.test: Add tests to make sure a withdrawn
1423	transient does not get remapped by state changes
1424	in the master.
1425	* unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc):
1426	* win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc):
1427	Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the
1428	withdraw, deiconify, or state wm subcommands. Check
1429	this flag before mapping a transient when processing
1430	a MapNotify event. [Tk bug 570764]
1431
14322002-06-21  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1433
1434	* unix/tk.spec (version), README, win/configure.in, unix/configure.in:
1435	* generic/tk.h (TK_RELEASE_*, TK_PATCH_LEVEL): Bumped to beta1.
1436
14372002-06-21  Jeff Hobbs  <jeffh@ActiveState.com>
1438
1439	* doc/text.n:          TIP #104 implementation which generalizes the
1440	* generic/tkText.c:    undo/redo stack to not be tied solely to the
1441	* generic/tkText.h:    text widget.  The APIs are still private.
1442	* generic/tkUndo.c:    This also adds a stack limiting ability and
1443	* generic/tkUndo.h:    a -maxundo option to the text widget (in
1444	* library/text.tcl:    addition to the options from TIP #26) should
1445	* mac/tkMacDefault.h:  users want to limit the undo/redo stack
1446	* tests/text.test:     (should not be necessary in most cases).
1447	* unix/Makefile.in:    [Patch #554763] (callewart)
1448	* unix/tkUnixDefault.h:
1449	* win/Makefile.in:
1450	* win/makefile.vc:
1451	* win/tkWinDefault.h:
1452
14532002-06-21  Don Porter <dgp@users.sf.net>
1454
1455	* unix/Makefile.in:	Removed unnecessary dependence of tktest
1456	* unix/tkAppInit.c:	executable on the tcltest executable on
1457	Unix.  If there are similar dependencies on other platforms, they
1458	can probably be removed as well.  [Bug 572134].
1459
14602002-06-20  Jeff Hobbs  <jeffh@ActiveState.com>
1461
1462	* doc/listbox.n:
1463	* generic/tkListbox.c (DisplayListbox):
1464	* mac/tkMacDefault.h:   TIP #94 implementation adding -activestyle
1465	* tests/listbox.test:   option to the listbox.  This adds the ability
1466	* unix/tkUnixDefault.h: to have listboxes look native on Windows, and
1467	* win/tkWinDefault.h:   "nicer" elsewhere using the 'dotbox' style.
1468
14692002-06-20  Peter Spjuth  <peter.spjuth@space.se>
1470
1471	* generic/tkGrid.c: Corrected the test for grid propagate change.
1472	[Bug #571433]
1473
14742002-06-19  Jeff Hobbs  <jeffh@ActiveState.com>
1475
1476	* tests/panedwindow.test:
1477	* generic/tkPanedWindow.c: ensure that sash index is lower bounds
1478	checked. [Bug #548727]
1479
14802002-06-19  Mo DeJong  <mdejong@users.sourceforge.net>
1481
1482	* generic/tkClipboard.c (TkClipCleanup): Add code
1483	to set dispPtr->clipWindow to NULL, this was
1484	accidently removed by last commit. Fixes
1485	a crash while running the tests under win32.
1486
14872002-06-19  Mo DeJong  <mdejong@users.sourceforge.net>
1488
1489	* generic/tkBind.c (TkBindDeadWindow):
1490	Handle case where Tk_DestroyWindow is invoked
1491	on clipboard and send windows.
1492	* generic/tkClipboard.c (TkClipCleanup):
1493	Invoke Tk_DestroyWindow to cleanup the
1494	dispPtr->clipWindow. Call Tcl_Preserve
1495	and Tcl_Release on the window to avoid an
1496	invalid memory ref on shutdown.
1497	* generic/tkEvent.c (Tk_HandleEvent):
1498	Panic if XCreateIC is invoked twice for
1499	the same window. This should never happen,
1500	the check were just added to make sure it
1501	does not since this could lead to crashes
1502	in XCloseIM.
1503	* generic/tkFocus.c (TkFocusDeadWindow):
1504	Handle case where Tk_DestroyWindow is invoked
1505	on clipboard and send windows.
1506	* generic/tkOption.c (TkOptionDeadWindow): Ditto.
1507	* generic/tkWindow.c (TkCloseDisplay): Move
1508	deletion of dispPtr->winTable after TkpCloseDisplay
1509	call since Tk_DestroyWindow uses it and could
1510	be called by TkpCloseDisplay for clipboard/send windows.
1511	Also invoke ckfree for the dispPtr instead of
1512	doing it in TkpCloseDisplay.
1513	(Tk_DestroyWindow): Check for a null winPtr->mainPtr
1514	before doing certain cleanup tasks so the we can
1515	invoke Tk_DestroyWindow on clipboard and send windows.
1516	We need to do this so that XDestroyIC will get invoked
1517	for the input contexts of each window.
1518	* mac/tkMacXStubs.c (TkpCloseDisplay): Don't free
1519	the displayPtr since this is now done in TkCloseDisplay.
1520	* unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove
1521	conditional compilation around calls to XCloseIM
1522	since I am confident that the crashes related to
1523	input contexts has been fixed. Don't free
1524	the displayPtr since this is now done in TkCloseDisplay.
1525	* unix/tkUnixSend.c (TkSendCleanup): Invoke the
1526	Tk_DestroyWindow method to cleanup the special
1527	send window. This will call XDestroyIC and thereby
1528	avoid a crash in XCloseIM. The send window needs
1529	to be Tcl_Preserve and Tcl_Release to avoid an
1530	invalid memory ref on shutdown.
1531	* win/tkWinX.c (TkpCloseDisplay): Don't free
1532	the displayPtr since this is now done in TkCloseDisplay.
1533	[Tk patch 570902]
1534
15352002-06-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1536
1537	* generic/tkStyle.c: TIP#48 style engine.
1538	See http://purl.org/tcl/tip/48.html for details.
1539
1540	* generic/tkConfig.c (GetOptionFromObj): Split to allow for access
1541	to option tables via name as well as via object.
1542	(TkGetOptionSpec): Semi-public interface to GetOption functionality.
1543	(DoObjConfig, Tk_RestoreSavedOptions, FreeResources)
1544	(GetObjectForOption): Basic style support for configure.
1545
1546	* generic/tkWindow.c (TkCreateMainWindow, Tk_DestroyWindow): Added
1547	calls to set up and tear down the style subsystem.
1548
1549	* generic/tk.decls, generic/tk.h: Many declarations forming TIP#48
1550	public interface.
1551
1552	* generic/tkInt.decls (TkStylePkgInit,TkStylePkgFree):
1553	* generic/tkInt.h (TkGetOptionSpec): Supporting declarations.
1554
1555	* unix/Makefile.in, win/Makefile.in, win/makefile.vc: Added
1556	tkStyle.c to list of generic source files.
1557
15582002-06-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1559
1560	* tests/defs.tcl (makeFile): Defined the return value of this
1561	procedure to be the filename of the created file, as in the real
1562	tcltest package...
1563
15642002-06-17  Mo DeJong  <mdejong@users.sourceforge.net>
1565
1566	* generic/tkImage.c (Tk_ImageObjCmd, DeleteImage): Call
1567	Tcl_Preserve and Tcl_Release for the masterPtr->winPtr
1568	window to avoid accessing memory that had already
1569	been deallocated in DeleteImage.
1570
15712002-06-17  David Gravereaux <davygrvy@pobox.com>
1572
1573	Trims to support the removal of RESOURCE_INCLUDED from rc
1574	scripts from Tcl's accepted FR #565088.
1575
1576	* generic/tk.h: Changed RESOURCE_INCLUDED to be RC_INVOKED
1577	as the RC tool defines this already by default.
1578
1579	* win/rc/tk.rc:
1580	* win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines.
1581
15822002-06-17  Jeff Hobbs  <jeffh@ActiveState.com>
1583
1584	* unix/Makefile.in (dist): correct installation of
1585	wish.exe.manifest to DISTDIR target directory.
1586
1587	* generic/tkCmds.c (Tk_TkObjCmd):
1588	* generic/tkInt.h (struct TkCaret):
1589	* mac/tkMacXStubs.c (Tk_SetCaretPos):
1590	* unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos):
1591	* win/tkWinX.c (Tk_SetCaretPos):
1592	* tests/tk.test:        Added 'tk caret' implementation of TIP#96
1593	* doc/SetCaret.3 (new): which adds a TkCaret structure element to
1594	* doc/tk.n:             TkDisplay for maintaining state.
1595
1596	* unix/tkUnixSend.c (TkSendCleanup): special cleanup of
1597	inputContext to avoid bug in XCloseIM. (dejong)
1598
15992002-06-17  Don Porter <dgp@users.sf.net>
1600
1601	* library/msgs/en_gb.msg:  Added catalog for UK English.
1602	Currently includes only Color -> Colour translation.
1603
16042002-06-17  D. Richard Hipp  <drh@hwaci.com>
1605
1606	* doc/checkbutton.n:
1607	* doc/radiobutton.n:
1608	* generic/tkButton.c:
1609	* generic/tkButton.h:
1610	* mac/tkMacButton.c:
1611	* tests/button.test:
1612	* unix/tkUnixButton.c:
1613	* win/tkWinButton.c: Implementation of TIP#82 - Added the
1614	-offrelief option to checkbutton and radiobutton.
1615
16162002-06-14  Mo DeJong  <mdejong@users.sourceforge.net>
1617
1618	* generic/tkWindow.c (Tk_DestroyWindow): Set the pathName
1619	component of a window to NULL after its memory has been
1620	deallocated to avoid a possible illegal memory access
1621	as a result of a call to Tk_PathName() on a Tk_Window
1622	structure of a window that has already been destroyed.
1623	[Tk bug 521946]
1624
16252002-06-14  Mo DeJong  <mdejong@users.sourceforge.net>
1626
1627	* generic/tkOption.c (Tk_GetOption): Allocate
1628	memory with ckalloc not malloc. This keeps
1629	Tk from erroring out when built with
1630	TCL_MEM_DEBUG.
1631
16322002-06-14  Jeff Hobbs  <jeffh@ActiveState.com>
1633
1634	* generic/tkBind.c (HandleEventGenerate):
1635	* generic/tkInt.h: changed warpInProgress boolean from int to a
1636	bit in the flags variable (TK_DISPLAY_IN_WARP)
1637
1638	* generic/tkCmds.c (Tk_TkObjCmd):
1639	* unix/tkUnixKey.c (TkpGetString):
1640	* generic/tkEvent.c (Tk_HandleEvent):
1641	* generic/tkInt.h: changed useInputMethods boolean from int to a
1642	bit in the flags variable (TK_DISPLAY_USE_IM)
1643
1644	* generic/tkInt.h:
1645	* generic/tkCmds.c (Tk_WmObjCmd):
1646	* unix/tkUnixWm.c (Tk_WmCmd):
1647	* win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to
1648	just a bit in the flags variable (TK_DISPLAY_WM_TRACING)
1649
1650	* generic/tkEvent.c (Tk_HandleEvent):
1651	* unix/tkUnixEvent.c (OpenIM):
1652	* unix/tkUnixKey.c (TkpGetString):
1653	* generic/tkInt.h: added TK_DISPLAY_XIM_SPOT flag bit for TkDisplay
1654	and used this to allow a runtime check to see if over-the-spot XIM
1655	is possible.  If not it will try and fallback to the old-style
1656	input context, which handles things like dead keys input.
1657
1658	* generic/tk.decls:     added TIP #84 implementation that adds a
1659	* generic/tkDecls.h:    Tk_CollapseMotionEvents API which controls Tk's
1660	* generic/tkEvent.c:    collapsing of incoming motion events on its
1661	* generic/tkInt.h:      windows.  The default remains to do collapsing.
1662	* generic/tkStubInit.c: Added a flags parameter to the internal display
1663	* generic/tkWindow.c:   structure to support this and be used in the
1664	* doc/QWinEvent.3:      future for other bits. [Tk patch 564642]
1665
1666	* unix/mkLinks: updated from current docs
1667
16682002-06-14  Mo DeJong  <mdejong@users.sourceforge.net>
1669
1670	* generic/tkEvent.c (TkXErrorHandler): Declare static
1671	function to avoid compiler error with VC++.
1672	* generic/tkBind.c (ExpandPercents): Cast argument to
1673	Tk_GetAtomName in order to avoid compiler warning.
1674
16752002-06-14  Joe English  <jenglish@users.sf.net>
1676
1677	* doc/bind.n:
1678	* generic/tk.h:
1679	* generic/tkBind.c:
1680	* generic/tkCanvWind.c:
1681	* generic/tkCmds.c:
1682	* generic/tkEvent.c:
1683	* generic/tkFocus.c:
1684	* generic/tkGrab.c:
1685	* generic/tkGrid.c:
1686	* generic/tkImage.c:
1687	* generic/tkPack.c:
1688	* generic/tkPlace.c:
1689	* generic/tkPointer.c:
1690	* generic/tkTextWind.c:
1691	* generic/tkWindow.c:
1692	* mac/tkMacSubwindows.c:
1693	* mac/tkMacWindowMgr.c
1694	* mac/tkMacWm.c:
1695	* unix/Makefile.in:
1696	* unix/tkUnixEmbed.c:
1697	* unix/tkUnixWm.c:
1698	* win/tkWinScrlbr.c:
1699	* win/tkWinWindow.c:
1700	* win/tkWinWm.c: Implementation of TIP #47 by Neil McKay
1701	"Modifying Tk to Allow Writing X Window managers".
1702	Add CirculateRequest, Create, MapRequest, ResizeRequest,
1703	and ConfigureRequest event types;
1704	Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER,
1705	TK_WIN_MANAGED, and TK_TOP_HIERARCHY. [Tk patch 572978]
1706
17072002-06-14  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1708
1709	* unix/tkAppInit.c: Removed now unneeded and erroneous reference
1710	to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter.
1711
17122002-06-14  David Gravereaux <davygrvy@pobox.com>
1713
1714	* win/rules.vc: The test for compiler optimizations was in error.
1715	Thanks goes to Roy Terry <royterry@earthlink.net> for his
1716	assistance with this.
1717
17182002-06-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1719
1720	Implement TIP 98  [Tk patch 566765]
1721
1722	* doc/FindPhoto.3, generic/tk.h, generic/tk.decls:
1723	* generic/tkImgPhoto.c: Changed *_Old to *_NoComposite and
1724	USE_OLD_PHOTO_PUT_BLOCK to USE_COMPOSITELESS_PHOTO_PUT_BLOCK
1725	following a suggestion from Don Porter.
1726
1727	* tests/imgPhoto.test: Added tests of -compositingrule
1728
1729	* doc/photo.n: Added documentation for "-compositingrule".
1730	* generic/tkImgPhoto.c (ImgPhotoCmd, ParseSubcommandOptions): New
1731	"-compositingrule" option for [$photo copy] subcommand, using
1732	OPT_COMPOSITE flag and compositingRule field in SubcommandOptions
1733	structure.
1734
1735	* doc/FindPhoto.3: Documented the extra argument for the
1736	compositing rule and the action to take if anyone wants to
1737	maintain total backward-compatability.
1738
1739	* generic/tk.h (TK_PHOTO_COMPOSITE_*): Defined values for use as
1740	compositing rules.
1741	(USE_OLD_PHOTO_PUT_BLOCK): Added a way for users to select the old
1742	interface to Tk_PhotoPutBlock to provide an easier upgrade path.
1743
1744	* generic/tk.decls: Alter Tk_PhotoPut*Block to Tk_PhotoPut*Block_Old
1745	and introduce new slots for the old name of function with an extra
1746	argument at the end for the compositing rule.
1747
1748	* generic/tkImgPhoto.c (ImgPhotoCmd): Updated "transparency set"
1749	subcommand to use TkSubtractRegion().
1750
1751	* win/tkWinRegion.c (TkSubtractRegion):
1752	* mac/tkMacRegion.c (TkSubtractRegion):
1753	* generic/tkInt.decls (TkSubtractRegion):
1754	* unix/tkUnixPort.h (TkSubtractRegion): Added function to perform
1755	the set-difference operation on regions; it seems all platforms
1756	can support it, and it makes removing rectangular bits from
1757	regions much easier.
1758
1759	* generic/tkImgPPM.c (FileReadPPM): Reading a PPM/PGM always uses
1760	the SET compositing rule because it is faster and the format does
1761	not have any transparency information.
1762
1763	* generic/tkImgGIF.c (FileReadGIF): Reading a GIF always uses the
1764	SET compositing rule because GIF files model transparency as a
1765	single special colour.
1766
1767	* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):
1768	Added a compositing rule to allow better control over what happens
1769	to transparent pixels when inserting data into a photo image.
1770
17712002-06-13  Mo DeJong  <mdejong@users.sourceforge.net>
1772
1773	* tests/winfo.test: Add basic tests for winfo ismapped.
1774
17752002-06-13  Mo DeJong  <mdejong@users.sourceforge.net>
1776
1777	* tests/unixWm.test:
1778	* tests/wm.test: Move wm minsize and wm maxsize
1779	usage tests into the cross platform wm tests.
1780
17812002-06-13  Don Porter <dgp@users.sf.net>
1782
1783	* tests/cursor.test:  corrected error after cursor-2.2.
1784	* tests/defs.tcl: Added enhancements to Tk's fake version of
1785	tcltest required by recent cursor.test changes.
1786
17872002-06-13  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1788
1789	* tests/cursor.test (cursor-2.[34]): Tests added to ensure that
1790	cursor specs really are well-behaved lists.  Also some general
1791	clean-up...
1792	* win/tkWinCursor.c (TkGetCursorByName): Undone Jeff's back-off
1793	and fixed things so that they should work now.  Cursor specs are
1794	lists first and foremost.
1795
17962002-06-12  Mo DeJong  <mdejong@users.sourceforge.net>
1797
1798	* changes: Clearly label wm transient changes as
1799	a POTENTIAL INCOMPATIBILITY.
1800	* doc/wm.n: Remove "some window managers will" text
1801	and explicitly state what behavior a transient
1802	window will display. Also mention that it is an
1803	error to make a window a transient of itself.
1804
18052002-06-12  Mo DeJong  <mdejong@users.sourceforge.net>
1806
1807	* library/choosedir.tcl (tk::dialog::file::chooseDir):
1808	* library/clrpick.tcl (tk::dialog::file::chooseDir):
1809	* library/msgbox.tcl (tk::MessageBox):
1810	* library/tkfbox.tcl (tk::dialog::file):
1811	* library/xmfbox.tcl (tk::MotifFDialog): Remove the
1812	transient property on dialogs after they have been
1813	dismissed to insulate them from further state changes
1814	in the master. This keeps a withdrawn dialog from
1815	being mapped when the master is deiconified. [Tk patch 568278]
1816
18172002-06-12  Jeff Hobbs  <jeffh@ActiveState.com>
1818
1819	* win/tkWinCursor.c (TkGetCursorByName): reverted fix from
1820	2002-06-06 because it broke the ability to use built-in cursors
1821	like left_ptr.
1822
18232002-06-12  Mo DeJong  <mdejong@users.sourceforge.net>
1824
1825	* library/choosedir.tcl (tk::dialog::file::chooseDir):
1826	* library/clrpick.tcl (tk::dialog::color):
1827	* library/dialog.tcl (tk_dialog):
1828	* library/msgbox.tcl (tk::MessageBox):
1829	* library/tkfbox.tcl (tk::dialog::file):
1830	* library/xmfbox.tcl (tk::MotifFDialog_Create):
1831	Only make the dialog window a transient if
1832	the master is visible. This check already
1833	appeared in some of the dialogs. This patch
1834	just copies the check into those that were
1835	lacking. [Tk patch 568253]
1836
18372002-06-12  Mo DeJong  <mdejong@users.sourceforge.net>
1838
1839	* changes: Add note about new transient behavior.
1840	* tests/unixWm.test: Check that the WM_TRANSIENT_FOR
1841	property for a transient window is being cleared
1842	when the master is destroyed.
1843	* tests/wm.test: Source defs.tcl instead of using
1844	tcltest to match the rest of Tk's test files.
1845	Add new tests that ensure that a transient's state
1846	mirrors the state of the master.
1847	* unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow)
1848	(TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients
1849	member to WmInfo structure. Keep state of master and
1850	transient in sync using a callback that tracks MapNotify
1851	and UnmapNotify events. When the master is mapped, map
1852	the transient. When the master is unmapped or iconified,
1853	withdraw the transient.
1854	* win/tkWinWm.c (TkWmMapWindow, TkpWmSetState)
1855	(TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc):
1856	Keep state of master and transient in sync using a
1857	callback that tracks MapNotify and UnmapNotify events.
1858	Move masterPtr check from TkpWmSetState into TkWmMapWindow
1859	to deal with WM_NEVER_MAPPED transients. Cleanup
1860	numTransients and the callback in TkWmDeadWindow.
1861	Cleanup numTransients and the callback only after
1862	deleting a master in wm transient command to avoid
1863	deleting the callback when an error is raised.
1864	Add support for MapNotify and UnmapNotify events
1865	to the master callback. [Tk patch 561708]
1866
18672002-06-11  Joe English  <jenglish@users.sf.net>
1868
1869	* library/menu.tcl: fix for bug report #530212 "Bad Window Path
1870	Name in tkMenuFind"
1871
18722002-06-10  David Gravereaux <davygrvy@pobox.com>
1873
1874	* win/makefile.vc: Fixed a win98 issue where the /exclude option
1875	for xcopy is unsupported.
1876	Reported by Roy Terry <royterry@earthlink.net>.
1877
18782002-06-10  Anton Kovalenko <a_kovalenko@users.sourceforge.net>
1879
1880	* library/tk.tcl: added utility functions to get "-underline" and
1881	"-text" for labels and buttons from translatable string containing
1882	"magic ampersand" [patch #566605]
1883	* library/clrpick.tcl:
1884	* library/msgbox.tcl:
1885	* library/tkfbox.tcl:
1886	* library/xmfbox.tcl: some places where msgcat is used to get
1887	translated label are modified to handle labels with magic ampersand.
1888	* library/msgs/ru.msg: russian translations added
1889	* library/msgs/cs.msg:
1890	* library/msgs/de.msg:
1891	* library/msgs/el.msg:
1892	* library/msgs/es.msg:
1893	* library/msgs/fr.msg:
1894	* library/msgs/it.msg:
1895	* library/msgs/nl.msg: all translation files now have labels with
1896	'magic ampersand' where appropriate. In el.msg some ampersands are
1897	missing, as I don't know which underline positions seems natural
1898	to "el" users.
1899
19002002-06-09  Mo DeJong  <mdejong@users.sourceforge.net>
1901
1902	* library/bgerror.tcl (tk::dialog::error::bgerror):
1903	Don't set the bgerror dialog as a transient of
1904	itself since this operation is ill defined.
1905
19062002-06-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1907
1908	* win/tkWinCursor.c (TkGetCursorByName): Fixed so that the reading
1909	of cursors from a file with a cursor spec was built using [list]
1910	works when the file has a space in instead of requiring fiddling
1911	with backslashes.
1912
19132002-06-06  Anton Kovalenko <a_kovalenko@users.sourceforge.net>
1914
1915	* library/msgbox.tcl (MessageBox): Add -default normal
1916	when creating non-default buttons for message box.
1917	They already get -default normal when they're
1918	unfocused, and dialog window size used to change suddenly
1919	in such cases.
1920
19212002-06-05  Anton Kovalenko <a_kovalenko@users.sourceforge.net>
1922
1923	* unix/tkUnixFont.c (Tk_DrawChars): Don't assume that
1924	one char is always one byte, and that required
1925	subfont for the last character in any string is
1926	the same as for the previous character
1927	[Bug #559435] [Patch #559437]
1928
19292002-05-27  Mo DeJong  <mdejong@users.sourceforge.net>
1930
1931	* changes: Document [wm transient .t .t] error.
1932	* tests/wm.test: Check that setting a window
1933	as a transient of itself raises an error. Check
1934	that passing a non-toplevel window to the wm
1935	transient command uses the enclosing toplevel.
1936	* unix/tkUnixWm.c (Tk_WmCmd): Raise an error
1937	if the user tries to make a toplevel a
1938	transient of itself.
1939	* win/tkWinWm.c (Tk_WmCmd): Raise an error
1940	if the user tries to make a toplevel a
1941	transient of itself. Test for other error
1942	before checking for the transient self error.
1943
19442002-05-27  Mo DeJong  <mdejong@users.sourceforge.net>
1945
1946	* unix/tkUnixWm.c (WmInfo, TkWmCleanup, TkWmNewWindow)
1947	(TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd): Replace
1948	WmInfo's master and masterWindowName members with
1949	a masterPtr member. This implementation is much
1950	simpler and mirrors the Win32 implementation. This
1951	change makes it easy to check the flags of the
1952	master window. No user visible changes.
1953
19542002-05-27  Mo DeJong  <mdejong@users.sourceforge.net>
1955
1956	* generic/tkInt.decls: Add unix decl for TkpWmSetState.
1957	* generic/tkIntPlatDecls.h: Regen.
1958	* generic/tkStubInit.c: Regen.
1959	* tests/wm.test: Test state changes between iconic,
1960	normal, and withdrawn both before and after initial
1961	mapping.
1962	* unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move
1963	state change code into TkpWmSetState to more closely
1964	match the Win32 implementation. No user visible changes.
1965
19662002-05-27  Mo DeJong  <mdejong@users.sourceforge.net>
1967
1968	* tests/embed.test: Added cross platform embed tests.
1969	Check that window passed to -use has the -container
1970	option set.
1971	* tests/wm.test: Remove useless catch call. Deiconify
1972	. just in case, stackorder tests will not pass unless
1973	it is in the normal state. Add -container flag to
1974	embedded stackorder test.
1975	* unix/tkUnixEmbed.c (TkpUseWindow):
1976	* win/tkWinEmbed.c (TkpUseWindow): Lookup Tk window
1977	based on the id passed in as the value for -use.
1978	Generate an error if the Tk window did not have
1979	the -container option set.
1980
19812002-05-26  Peter Spjuth <peter.spjuth@space.se>
1982
1983	* generic/tkButton.c (ConfigureButton): When creating
1984	a radiobutton with -value "" it was not drawn properly
1985	if the -variable was created by the radiobutton.
1986	[Bug #548765]
1987
19882002-05-26  Peter Spjuth <peter.spjuth@space.se>
1989
1990	* generic/tkCanvText.c (ComputeTextBbox): Negative
1991	coordinates were rounded badly causing a 1 pixel
1992	displacement. [Bug #556526]
1993
19942002-05-24  Mo DeJong  <mdejong@users.sourceforge.net>
1995
1996	* mac/tkMacWm.c (Tk_WmCmd):
1997	* tests/unixWm.test: Move wm transient checks over
1998	to wm.test so they will be run on all systems.
1999	* tests/wm.test: Add tests to check for error when
2000	an iconwindow is passed to the wm transient command.
2001	* unix/tkUnixWm.c (Tk_WmCmd):
2002	* win/tkWinWm.c (Tk_WmCmd): Raise an error if one
2003	of the windows passed to the wm transient command
2004	is an iconwindow for another toplevel.
2005
20062002-05-23  Mo DeJong  <mdejong@users.sourceforge.net>
2007
2008	* mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap):
2009	* tests/wm.test: Add embedded Window test case for
2010	the stackorder command.
2011	* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap):
2012	* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap):
2013	Ignore embedded windows during wm stackorder command.
2014
20152002-05-21  Mo DeJong  <mdejong@users.sourceforge.net>
2016
2017	* unix/configure: Regen.
2018	* unix/configure.in: Invoke SC_ENABLE_SHARED before
2019	calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
2020	variable can be checked inside SC_CONFIG_CFLAGS.
2021	* unix/tcl.m4: Update from Tcl.
2022
20232002-05-20  Don Porter  <dgp@users.sourceforge.net>
2024
2025	* library/tk.tcl:  A little namespace cleanup on Daniel Steffen's
2026	latest revisions to avoid defining new global commands.
2027
20282002-05-20  Daniel Steffen  <das@users.sourceforge.net>
2029
2030	* mac/tkMacInit.c:
2031	* mac/tkMacTclCode.r: include msgcat package in resources
2032	as bgerror depends on it. Restores ability of mac static
2033	build to run standalone (except for encoding file issues).
2034
2035	* mac/tkMacInit.c:
2036	* library/console.tcl:
2037	* library/tk.tcl: fix tk.tcl not sourcing library files
2038	that define bindings at startup on mac. (independent of
2039	tk library files being in resources or on auto_path)
2040
20412002-05-08  Don Porter  <dgp@users.sourceforge.net>
2042
2043	* library/bgerror.tcl:
2044	* library/tclIndex:  Cleaned up namespace usage of the bgerror
2045	dialog.  Completes soft dependence on msgcat.  [FR 539309]
2046
20472002-05-07  David Gravereaux  <davygrvy@pobox.com>
2048	* win/makefile.vc: Problem with TCLDIR macro not accepting
2049	forward slash path seperators resolved.  Added the same logic
2050	to INSTALLDIR, too. [Bug #553208]
2051
20522002-04-26  Jeff Hobbs  <jeffh@ActiveState.com>
2053
2054	* unix/configure:
2055	* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
2056	that the .sl knows its dependent libs.
2057
20582002-04-24  Daniel Steffen  <das@users.sourceforge.net>
2059
2060	* mac/tkMacTclCode.r:
2061	* mac/tkMacResource.r: added check of
2062	TCLTK_NO_LIBRARY_TEXT_RESOURCES #define to allow disabling the
2063	inclusion of the tk library code in the resource fork of Tk
2064	executables and shared libraries.
2065	Moved tk library code inclusion to separate file like in tcl.
2066	Added 'panedwindow' resource.
2067
20682002-04-22  Jeff Hobbs  <jeffh@ActiveState.com>
2069
2070	* library/button.tcl (ButtonLeave): corrected the 3
2071	implementations of ButtonLeave to check for Priv(relief) existing
2072	before trying to use it. [Patch #541849]
2073
2074	* generic/tkTextDisp.c (DisplayLineBackground):
2075	* unix/tkUnix3d.c (Tk_3DHorizontalBevel):
2076	* unix/tkUnixFont.c (Tk_DrawChars): applied fixes to not overrun
2077	the X window 16-bit size limit. [Patch #541999] (bonfield)
2078
20792002-04-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2080
2081	* generic/tkTextDisp.c (GetXView, GetYView): Comparison with
2082	previous values of scrollbar range are now done in a way that is
2083	sensitive to the bizarreness of floating-point on architectures
2084	where IEEE-FP is not used on the processor.  Also increased the
2085	size of the temporary buffer to take account of the fact that
2086	TCL_DOUBLE_SPACE is meant to only imply enough space to take a
2087	printed double and trailing '\0', and no more.  [Bug #223739]
2088	(FP_EQUAL_SCALE): New macro to help compare floating-point numbers
2089	for equality in a sane way, used in GetXView and GetYView.
2090
20912002-04-12  Jeff Hobbs  <jeffh@ActiveState.com>
2092
2093	* generic/tkWindow.c (TkCloseDisplay): Added to centralize where a
2094	display was closed.  This handles freeing memory associated with a
2095	display and closing it.
2096	(DeleteWindowsExitProc): actually close displays.  This would also
2097	ideally be done in Tk_DestroyWindow when the last window on the
2098	display has been closed, but that still has unresolved order of
2099	cleanup problems.
2100	(Tk_DestroyWindow): added TkFocusFree call.
2101
2102	* generic/tkStubInit.c:
2103	* generic/tkIntPlatDecls.h:
2104	* generic/tkIntDecls.h:
2105	* generic/tkInt.decls: added TkFocusFree, TkClipCleanup and
2106	TkGCCleanup generic private procs, and TkWmCleanup, TkSendCleanup
2107	and TkFreeXId unix private procs.
2108
2109	* generic/tkInt.h:
2110	* unix/tkUnixXId.c (TkFreeXId): frees XID resources.
2111	Made idCleanupScheduled a Tcl_TimerToken (was int) in TkDisplay
2112	structure to allow us to delete the timer scheduled for it.
2113
2114	* unix/tkUnixWm.c (TkWmStackorderToplevel): ensure children
2115	structure is freed.
2116	(ConfigureEvent, ComputeReparentGeometry): Add extra wm tracing info
2117	(TkWmRestackToplevel): initialize changes to 0 to prevent UMR.
2118	Use WaitForConfigureNotify on all windows.  This part still
2119	requires fixing as it is the root of the 2 second raise delay on
2120	some window managers (those that use extra wrapper windows of
2121	their own).
2122
2123	* unix/tkUnixSend.c (TkSendCleanup): free send-related resources
2124
2125	* unix/tkUnixEvent.c (TkpCloseDisplay): call TkSendCleanup and
2126	TkWmCleanup.
2127
2128	* unix/tkUnixSelect.c (SelRcvIncrProc): added missing Tcl_Release
2129	of interp
2130
2131	* generic/tkGet.c (FreeUidThreadExitProc): free thread-specific
2132	resources on thread exit
2133
2134	* generic/tkFocus.c (TkFocusFree): frees TkMainInfo data
2135	* generic/tkClipboard.c (TkClipCleanup): frees TkDisplay data
2136	* generic/tkGC.c (TkGCCleanup): frees TkDisplay data
2137
2138	* unix/tkUnixFont.c (FontPkgCleanup): cleanup thread specific font
2139	resources on thread exit.
2140
2141	* mac/tkMacXStubs.c (TkpOpenDisplay): memset the initial display
2142	structures to 0.
2143
2144	* generic/tkOption.c (OptionThreadExitProc): freed tsd option
2145	stacks on thread exit.
2146	(Tk_GetOption): free mem used to get Tk_Uid
2147
2148	* generic/tkMenu.c (ConfigureMenu): freed saved options in all
2149	error cases.
2150
2151	* win/tkWinInt.h: declaration for TkWinGetUnicodeEncoding
2152	* win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding
2153	* win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding
2154	* win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static
2155	unicodeEncoding.
2156
2157	* win/tkWinX.c (Tk_SetCaretPos): remove WM_IME_STARTCOMPOSITION
2158	and place the IME position within Tk_SetCaretPos.  Cache results in
2159	Tk_SetCaretPos to reduce unnecessary repositioning.  Also call
2160	DestroyCaret if we receive WM_KILLFOCUS.
2161	(TkpOpenDisplay): ZeroMemory the initial display structures.
2162	(TkWinGetUnicodeEncoding): Added so that Windows only needs to
2163	cache this value one, and then free it in TkWinXCleanup.
2164	(HandleIMEComposition): add support for Win98 and ATOK13
2165	IME. (yamamoto)
2166
2167	* generic/tkConsole.c (ConsoleCmd): correct return that should
2168	have just set result code.
2169
2170	* generic/tkImgPhoto.c: Added PhotoFormatThreadExitProc to clean
2171	up on thread exit. (Tk_PhotoPutBlock) slight code updates
2172
2173	* generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves):
2174	fix mem leaks in not freeing slave info
2175
2176	* win/configure:
2177	* win/tcl.m4: Enabled COFF as well as CV style debug info with
2178	--enable-symbols to allow Dr. Watson users to see function info.
2179	More info on debugging levels can be obtained at:
2180	http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
2181
21822002-04-10  Mo DeJong  <mdejong@users.sourceforge.net>
2183
2184	* doc/wm.n:
2185	* mac/tkMacWm.c:
2186	* tests/wm.test:
2187	* unix/tkUnixWm.c:
2188	* win/tkWinWm.c: Update wm stackorder usage message
2189	to make it clear that either 1 or 3 arguments are
2190	required. [Bug 540013]
2191
21922002-04-08  Daniel Steffen  <das@users.sourceforge.net>
2193
2194	* mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects
2195	* mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the
2196	TkConsole when using shared MSL libraries; fix for crashing
2197	bug on exit: writing to stdin/sterr when console has already
2198	been destroyed. (both fixes need support in MSL, see
2199	'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx)
2200	* mac/tkMacDialog.c: fixes to Navigation Services Dialog filter.
2201	* mac/tkMacDraw.c: add panic for overwide TkImages that would
2202	crash Tk on mac otherwise.
2203
22042002-04-05  Jeff Hobbs  <jeffh@ActiveState.com>
2205
2206	* mac/tkMacXStubs.c: added Tk_SetCaretPos stub (does nothing).
2207	* win/tkWinX.c: added Tk_SetCaretPos code to position IME windows
2208	correctly when WM_IME_STARTCOMPOSITION is received.
2209	* unix/tkUnixKey.c: added Tk_SetCaretPos and code for setting
2210	XIM caret in TkpGetString.
2211
2212	* generic/tkStubInit.c:
2213	* generic/tkDecls.h:
2214	* generic/tk.decls: added Tk_SetCaretPos declaration.  This command
2215	allows users to indicate the cursor position and is used by XIM
2216	(Unix) or IME (Windows) to place the caret box correctly.  It is
2217	also part of correct Accessibility style on Windows to make the
2218	magnifier jump to the focus point.
2219
2220	* win/tkWinButton.c (TkpDisplayButton):
2221	* generic/tkTextMark.c (TkTextInsertDisplayProc):
2222	* generic/tkCanvText.c (DisplayCanvText):
2223	* generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls
2224
2225	* generic/tkInt.h: added TK_XIM_SPOT #define (default 1).
2226	Added XFontSet attribute to TkDisplay when TK_XIM_SPOT is true.
2227	* generic/tkEvent.c (Tk_HandleEvent): made sure inputContexts are
2228	not getting created on DestroyNotify events (for dead windows).
2229	Added over-the-spot support if TK_XIM_SPOT is defined (default).
2230	The is the nicer XIM behavior, but uses a bit more memory.
2231
2232	* unix/tkUnixEvent.c:
2233	* generic/tkWindow.c: moved OpenIM over to tkUnixEvent.c.
2234	Removed setting inputContext to null in Tk_MakeWindowExist as it
2235	was redundant.
2236
2237	* unix/tkUnixWm.c (CreateWrapper): Removed redundat setting of
2238	inputContext to null.
2239
2240	* win/Makefile.in: changed gdb and shell targets to properly build
2241	all binaries before running (otherwise an error often occurred).
2242
22432002-03-28  David Gravereaux <davygrvy@pobox.com>
2244
2245	* win/.cvsignore (new):
2246	* win/lamp.bmp (new):
2247	* win/makefile.vc:
2248	* win/nmakehlp.c (new):
2249	* win/rules.vc:  Brought the makefile up-to-date with Tcl's one.
2250	This now has support for Win9x issues and the winhelp target now
2251	exists.  Color scheme can be changed.  I'm just imparting a first
2252	suggestion using orange :)  I'll have to think about the install
2253	portion of the helpfile as I'll need to do some tricks to insert
2254	tk's contents file into Tcl's using some special winhlp32.exe
2255	switches.  [Bug 533862 527941]
2256
2257	* win/makefile.vc:  Tk helpfile is now installing itself into Tcl's
2258	contents file as part of the install target and rebuilding the
2259	contents table as desired.  [Bug 527941]
2260
2261	* doc/console.n:  Changed topic from "Tcl Built-In Commands" to
2262	"Tk Built-In Commands"
2263
2264	* win/buildall.vc.bat:  Update to match Tcl.
2265
22662002-03-26  Andreas Kupries  <andreask_kupries@users.sourceforge.net>
2267
2268	* unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixes
2269	a GCC/HPUX problem with missing a "htons". See also
2270	"tclUnixPort.h" for equivalent code.
2271
22722002-03-21  David Gravereaux <davygrvy@pobox.com>
2273
2274	* win/makefile.vc: Changed optimize flag to -0ti instead of -02.
2275	[Bug 528441]
2276
22772002-03-20  Don Porter  <dgp@users.sourceforge.net>
2278
2279	* generic/tkButton.c (ButtonTextVarProc,ButtonVarProc):
2280	* generic/tkCmds.c (WaitVariableProc):
2281	* generic/tkEntry.c (EntryTextVarProc):
2282	* generic/tkListbox.c (ListboxListVarProc):
2283	* generic/tkMenu.c (MenuVarProc):
2284	* generic/tkMenubutton.c (MenuButtonTextVarProc):
2285	* generic/tkMessage.c (MessageTextVarProc):
2286	* generic/tkScale.c (ScaleVarProc): Updates to handle change in
2287	type of part2 argument of Tcl_VarTraceProc typedef. [TIP 27]
2288	[Patch 532644].
2289
22902002-03-19  Jeff Hobbs  <jeffh@ActiveState.com>
2291
2292	* generic/tkOldConfig.c (Tk_ConfigureValue): prevent leaving
2293	interp->result as NULL.
2294
22952002-03-07  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2296
2297	* library/text.tcl (TextPasteSelection): Renaming of TextPaste to
2298	prevent confusion with tk_textPaste.  Stopped code from inserting
2299	selections twice, which seems to have happened with TIP#26, and
2300	reorganized code to reduce amount of stuff protected by catch
2301	which is tricky to maintain.
2302	(tk_textPaste): Reduce amount of code protected by catch.
2303
23042002-03-06  Mo DeJong  <mdejong@users.sourceforge.net>
2305
2306	* win/tkWinX.c: Define _WIN32_IE as 0x0300
2307	before including commctrl.h so that we can
2308	access the InitCommonControlsEx API when
2309	building Tk with mingw.
2310
23112002-03-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2312
2313	* README, generic/tk.h, unix/configure.in, unix/tk.spec:
2314	* win/configure.in: Bumped patchlevel; this might need to change
2315	in the future, but it will help us distinguish between the CVS
2316	version and the most recent released version.
2317
23182002-03-05  Jeff Hobbs  <jeffh@ActiveState.com>
2319
2320	*** 8.4a4 TAGGED FOR RELEASE ***
2321
2322	* unix/README: updated --* options docs.
2323
2324	* unix/tk.spec: fixed URL refs to use www.tcl.tk or SF.
2325
23262002-03-04  Jeff Hobbs  <jeffh@ActiveState.com>
2327
2328	* README:
2329	* mac/README:
2330	* unix/README:
2331	* win/README: updated to use www.tcl.tk URL.
2332
23332002-03-03  Jeff Hobbs  <jeffh@ActiveState.com>
2334
2335	* library/entry.tcl: added catch around Triple-1 binding use of
2336	sel.last
2337
23382002-02-28  Don Porter  <dgp@users.sourceforge.net>
2339
2340	* library/console.tcl (ConsoleBind): Corrected console <<Paste>>
2341	binding on Unix platforms.
2342
23432002-02-26  Jeff Hobbs  <jeffh@ActiveState.com>
2344
2345	* unix/configure: Regen.
2346	* unix/tcl.m4: Update from Tcl.
2347
2348	* generic/tkWindow.c (Tk_MainWindow, Tk_GetNumMainWindows):
2349	protect against being called before Tcl stubs are init'ed.
2350	[Bug #220916] (porter)
2351
23522002-02-25  Jeff Hobbs  <jeffh@ActiveState.com>
2353
2354	* generic/tkText.c (ConfigureText): reenable the blinking cursor
2355	on state change where necessary. [Bug #503772]
2356
2357	* tests/listbox.test:
2358	* generic/tkListbox.c: corrected error handling when setting to an
2359	invalid listvar value. [Bug #503613]
2360
2361	* library/scale.tcl: mirror B2 bindings to B3 on Windows to better
2362	accomodate two button mice. [Patch #493145]
2363
2364	* library/panedwindow.tcl: improved proxy sash handling. (boudaillier)
2365
23662002-02-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2367
2368	* tests/filebox.test: Reorganised and fixed so that tests are
2369	executed fewer times (!) and the automatic extension adding
2370	behaviour of tk_getSaveFile is tested.
2371
23722002-02-23  Mo DeJong  <mdejong@users.sourceforge.net>
2373
2374	* unix/configure: Regen.
2375	* unix/tcl.m4: Update from Tcl.
2376
23772002-02-22  Jeff Hobbs  <jeffh@ActiveState.com>
2378
2379	* generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returns
2380	that should have been breaks instead.  Corrected .pw configure
2381	handling for insufficient args.  [Patch #521436] (boudaillier)
2382
2383	* mac/tkMacDefault.h:
2384	* unix/tkUnixDefault.h:
2385	* win/tkWinDefault.h: changed panedwindow default relief to flat,
2386	a more natural outer relief.
2387
2388	* library/panedwindow.tcl (ReleaseSash): changed to not pass x and
2389	y args at all (they aren't used).
2390	Added proc comments.  Made configuring sash cursor more efficient.
2391	Added Cursor timer that restores the default cursor when pointer
2392	is no longer over the sash.  This is necessary because Leave
2393	events won't be seen when moving into a paned child.
2394
23952002-02-22  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2396
2397	* library/demos/widget: New section "Paned Windows"
2398	* library/demos/paned2.tcl, library/demos/paned1.tcl: New files.
2399
2400	* library/panedwindow.tcl (ReleaseSash): Added missing arguments.
2401	* library/tk.tcl: Bindings for paned window were not being loaded
2402	by default.
2403
2404	* unix/tkUnixMenu.c (GetMenuLabelGeometry,DrawMenuEntryLabel):
2405	Stop meaningless GCC warnings.
2406
24072002-02-21  Jeff Hobbs  <jeffh@ActiveState.com>
2408
2409	* doc/panedwindow.n (new):
2410	* generic/tkPanedWindow.c (new):
2411	* generic/tkInt.h:
2412	* generic/tkWindow.c:
2413	* library/panedwindow.tcl (new):
2414	* mac/tkMacDefault.h:
2415	* tests/panedwindow.test (new):
2416	* unix/Makefile.in:
2417	* unix/tkUnixDefault.h:
2418	* win/Makefile.in:
2419	* win/makefile.vc:
2420	* win/tkWinDefault.h: added implementation of TIP #41, panedwindow
2421	widget. [Patch #512503] (melski)
2422
2423	* generic/tkOption.c (ReadOptionFile): fixed Tcl_Seek casting to
2424	remove warnings (we expect no option files with be > 2GB).
2425
2426	* unix/configure: regenerated
2427	* unix/tcl.m4: updated to sync with Tcl's tcl.m4
2428	Added --enable-64bit support for AIX-4 using IBM's xlc (-q64 flag).
2429
24302002-02-19  Don Porter  <dgp@users.sourceforge.net>
2431
2432	* changes: First draft of updated changes for 8.4a4 release.
2433
24342002-02-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2435
2436	* generic/tkImgPhoto.c (MatchFileFormat):  Tcl_Seek takes
2437	Tcl_WideInt offset (three places.)
2438	* generic/tkImgPPM.c (FileReadPPM): Tcl_Seek takes Tcl_WideInt offset.
2439	* generic/tkFrame.c (ConfigureFrame): Stop GCC warning.
2440
2441	* generic/tkImgGIF.c: Made file meet the formatting rules from the
2442	Tcl Engineering Manual better; mostly differences in whitespace.
2443
24442002-02-18  Jeff Hobbs  <jeffh@ActiveState.com>
2445
2446	* unix/configure: regen'd
2447	* unix/tcl.m4:
2448	* unix/configure.in: added macros and calls to SC_TCL_EARLY_FLAGS
2449	and SC_TCL_64BIT_FLAGS, part of TIP #72.
2450
24512002-02-14  Mo DeJong  <mdejong@users.sourceforge.net>
2452
2453	* library/entry.tcl:
2454	* library/text.tcl: Adjust <Double-1> and <Triple-1> bindings
2455	so that no anchor point is set and the insertion cursor is
2456	set to the last character in the selection. [Bug 220943]
2457	* tests/event.test: Add test cases for double click and
2458	drag as well as triple click and drag in the text and
2459	entry widgets.
2460
24612002-02-14  Mo DeJong  <mdejong@users.sourceforge.net>
2462
2463	* tests/event.test (_text_ind_to_x_y, _get_selection): Fix
2464	incorrect use of results from bbox invocation so that
2465	y center point for a give index is calculated correctly.
2466	Add new method to return the selection and use it in
2467	test cases. Always lappend to the result list to avoid
2468	case where initial result includes a space.
2469
24702002-02-07  Don Porter  <dgp@users.sourceforge.net>
2471
2472	* generic/tkMain.c:
2473	* mac/tkMacInit.c:
2474	* mac/tkMacKeyboard.c:
2475	* win/tkWinDialog.c:
2476	* win/tkWinTest.c: modified some callers of Tcl routines that
2477	were restored to return (char *) pointing into Tcl_DStrings.
2478
24792002-02-03  eric melski  <ericm@interwoven.com>
2480
2481	* generic/tkImage.c (Tk_ImageObjCmd): Clean up bogus for loop in
2482	[image inuse] subcommand [Bug #485803].
2483
24842002-02-01  Jeff Hobbs  <jeffh@ActiveState.com>
2485
2486	* generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as it
2487	conflicts with the C99 spec. [Bug #511956] (ingham)
2488
24892002-02-01  David Gravereaux <davygrvy@pobox.com>
2490
2491	* win/makefile.vc: unset macro located in the tktest target
2492	caused a failure to build.  [Bug 511652]
2493
24942002-01-30  Don Porter  <dgp@users.sourceforge.net>
2495
2496	* win/stubs.c (XSetCommand):  Overlooked CONSTification.
2497
24982002-02-01  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2499
2500	* doc/photo.n: Documented transparency subcommand.
2501	* tests/imgPhoto.test (imgPhoto-4.40...imgPhoto-4.68): Tests for
2502	the transparency subcommand.
2503	* generic/tkImgPhoto.c (ImgPhotoCmd): Added transparency
2504	subcommand (see TIP #14.)
2505
25062002-01-31  Todd Helfter <tmh@users.sourceforge.net>
2507	* generic/tkMenu.c (ConfigureMenuCloneEntries)
2508	* tests/menu.test (menu3.68)
2509	Correct and test for logic error when cloning menus. [Bug #508988]
2510
25112002-01-30  Don Porter  <dgp@users.sourceforge.net>
2512
2513	* generic/tk.decls:  The POTENTIAL INCOMPATIBILITY in the changing
2514	interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST
2515	compiler flag.
2516	* generic/tkDecls.h: make genstubs
2517
25182002-01-29  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
2519
2520	* win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now does
2521	not write into the CONST path returned by "argv0" and
2522	Tcl_SplitPath anymore.
2523
25242002-01-28  Mo DeJong  <mdejong@users.sourceforge.net>
2525
2526	* unix/configure: Regen.
2527	* unix/configure.in: Don't set TCL_LIB_SPEC and
2528	TCL_STUB_LIB_SPEC variables since this breaks
2529	the AIX build. This was used in the past to
2530	support linking with Tcl from the build dir
2531	or the install dir, but it is no longer needed.
2532
25332002-01-28  Mo DeJong  <mdejong@users.sourceforge.net>
2534
2535	* unix/Makefile.in: Remove commented out vars.
2536	* unix/configure: Regen.
2537	* unix/configure.in: Don't subst vars that are already
2538	taken care of in SC_LOAD_TCLCONFIG.
2539	* unix/tcl.m4: Update from Tcl.
2540	* win/configure: Regen.
2541	* win/tcl.m4: Update from Tcl.
2542
25432001-01-27  Daniel Steffen  <das@users.sourceforge.net>
2544
2545	* generic/tkFileFilter.c:
2546	* mac/tkMacInit.c:
2547	* mac/tkMacKeyboard.c:
2548	* mac/tkMacMenus.c: TIP 27 CONSTification induced changes
2549
25502002-01-25  Don Porter  <dgp@users.sourceforge.net>
2551
2552	* All changes below are Patch 505159
2553
2554	* doc/AddOption.3:
2555	* doc/CanvTkWin.3:
2556	* doc/GetPixels.3:
2557	* doc/Name.3:
2558	* doc/ParseArgv.3:
2559	* generic/tk.decls (Tk_AddOption,Tk_CanvasGetCoord,Tk_GetPixels)
2560	(Tk_GetScreenMM,Tk_NameToWindow,Tk_ParseArgv):
2561	* generic/tkArgv.c (Tk_ParseArgv):
2562	* generic/tkCanvLine.c (ParseArrowShape):
2563	* generic/tkCanvUtil.c (Tk_CanvasGetCoord,Tk_CanvasTagsParseProc)
2564	(Tk_CanvasTagsPrintProc,Tk_GetDash):
2565	* generic/tkCanvas.c (ConfigureCanvas):
2566	* generic/tkGet.c (Tk_GetPixels,Tk_GetScreenMM):
2567	* generic/tkImgPhoto.c (ImgPhotoCmd):
2568	* generic/tkMain.c (Tk_MainEx):
2569	* generic/tkOldConfig.c (FormatConfigInfo):
2570	* generic/tkOption.c (Tk_AddOption):
2571	* generic/tkText.c (TextWidgetCmd,TkTextGetTabs,DumpSegment):
2572	* generic/tkText.h (TkTextCreateTag):
2573	* generic/tkTextTag.c (TkTextCreateTag):
2574	* generic/tkWindow.c (Tk_NameToWindow,Initialize):
2575	* mac/tkMacCursor.c (FindCursorByName,TkGetCursorByName):
2576	* mac/tkMacWm.c (Tk_WmCmd):
2577	* unix/tkUnixCursor.c (TkGetCursorByName):
2578	* unix/tkUnixSend.c (ValidateName):
2579	* unix/tkUnixWm.c (Tk_WmCmd):
2580	* win/tkWinCursor.c (TkGetCursorByName):
2581	* win/tkWinWm.c (Tk_WmCmd): Updated callers of Tcl_SplitList and
2582	Tcl_Merge.
2583	* generic/tkDecls.h: make genstubs
2584	***POTENTIAL INCOMPATIBILITY***
2585	Includes a source incompatibility in the argv argument of Tcl_ParseArgv.
2586
2587	* generic/tkBind.c (DeleteVirtualEvent):
2588	* generic/tkCanvas.c (ScrollFractions, CanvasWidgetCmd)
2589	(CanvasUpdateScrollbars):
2590	* generic/tkTestTag.c (TkTextTagCmd): Updated callers of
2591	Tcl_GetStringResult.  Rewrote PrintScrollFractions to
2592	ScrollFractions to stop scribbling directly on interp->result.
2593
2594	* generic/tkInt.decls (TkGetDefaultScreenName, TkpDisplayWarning)
2595	(TkpOpenDisplay):
2596	* generic/tkCanvPs.c (Tk_PostscriptColor, Tk_PostscriptFont):
2597	* generic/tkEntry.c (EntrySetValue, EntryValidateChange)
2598	(ExpandPercents, EntryValueChanged, Tk_EntryObjCmd, DestroyEntry)
2599	(ConfigureEntry, EntryComputeGeometry, InsertChars, DeleteChars)
2600	(EntryFetchSelection, EntryTextVarProc, Tk_SpinBoxObjCmd)
2601	(SpinboxWidgetObjCmd):
2602	* generic/tkMain.c (Prompt):
2603	* generic/tkMenu.c (MenuVarProc):
2604	* generic/tkMenubutton.c (ConfigureMenuButton, MenuButtonTextVarProc):
2605	* generic/tkMessage.c (ConfigureMessage, MessageTextVarProc):
2606	* generic/tkWindow.c (GetScreen, Initialize):
2607	* mac/tkMacInit.c (TkpInit, TkpDisplayWarning):
2608	* mac/tkMacXStubs.c (TkGetDefaultScreenName, TkpOpenDisplay):
2609	* unix/tkUnix.c (TkGetDefaultScreenName):
2610	* unix/tkUnixEvent.c (TkpOpenDisplay):
2611	* unix/tkUnixInit.c (TkpGetAppName, TkpDisplayWarning):
2612	* unix/tkUnixSend.c (SendEventProc):
2613	* win/tkWinInit.c (TkpGetAppName, TkpDisplayWarning):
2614	* win/tkWinX.c (TkGetDefaultScreenName,TkpOpenDisplay): Updated
2615	callers of Tcl_GetVar, Tcl_GetVar2
2616	* generic/tkIntDecls.h: make genstubs
2617
2618	* generic/tkCanvPs.c (TkCanvPostscriptCmd):
2619	* generic/tkImgBmap.c (TkGetBitmapData):
2620	* generic/tkOption.c (ReadOptionFile):
2621	* mac/tkMacInit.c (TkpInit, TkpGetAppName):
2622	* win/tkWinInit.c (TkpGetAppName): Updated callers of
2623	Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
2624
26252002-01-18  Mo DeJong  <mdejong@users.sourceforge.net>
2626
2627	* tests/wm.test: Rewrite stackorder tests that
2628	deal with toplevels that have the overrideredirect
2629	flag set. [Tk bug 492259]
2630
26312002-01-18  Don Porter  <dgp@users.sourceforge.net>
2632
2633	* win/tkWinDialog.c: Overlooked Tcl_GetIndexFromObj callers.
2634
26352001-01-18  Daniel Steffen  <das@users.sourceforge.net>
2636
2637	* mac/tkMacDialog.c:
2638	* mac/tkMacSend.c: TIP 27 CONSTification broke the mac
2639	build in a few places.
2640
26412002-01-16  Jeff Hobbs  <jeffh@ActiveState.com>
2642
2643	* generic/tkListbox.c (ChangeListboxOffset): improved tracking
2644	when scrolling on x axis with entry/text.  [Bug #225025] (voskuil)
2645
26462002-01-16  Don Porter  <dgp@users.sourceforge.net>
2647
2648	* generic/tk3d.c (Tk_GetReliefFromObj):
2649	* generic/tkBind.c (Tk_EventObjCmd, HandleEventGenerate):
2650	* generic/tkButton.c (ButtonWidgetObjCmd):
2651	* generic/tkCanvas.c (CanvasWidgetCmd, FindItems):
2652	* generic/tkClipboard.c (Tk_ClipboardObjCmd):
2653	* generic/tkCmds.c (Tk_BellObjCmd, Tk_TkObjCmd, Tk_TkwaitObjCmd)
2654	(Tk_UpdateObjCmd, Tk_WinfoObjCmd, Tk_WmObjCmd):
2655	* generic/tkConfig.c (DoObjConfig):
2656	* generic/tkEntry.c (EntryWidgetObjCmd, SpinboxWidgetObjCmd):
2657	* generic/tkFocus.c (Tk_FocusObjCmd):
2658	* generic/tkFont.c (Tk_FocusObjCmd, ConfigAttributesObj):
2659	* generic/tkFrame.c (Tk_FrameObjCmd):
2660	* generic/tkGet.c (Tk_GetAnchorFromObj, Tk_GetJustifyFromObj):
2661	* generic/tkGrab.c (Tk_GrabObjCmd):
2662	* generic/tkGrid.c (Tk_GridObjCmd, GridRowColumnConfigureCommand)
2663	(GridSlavesCommand, ConfigureSlaves):
2664	* generic/tkImage.c (Tk_ImageObjCmd):
2665	* generic/tkImgBmap.c (ImgBmapCmd):
2666	* generic/tkImgGIF.c (FileReadGIF):
2667	* generic/tkImgPhoto.c (ImgPhotoCmd):
2668	* generic/tkListbox.c (ListboxWidgetObjCmd, ListboxSelectionSubCmd)
2669	(GetListboxIndex):
2670	* generic/tkMenu.c (MenuWidgetObjCmd, MenuAddOrInsert, MenuCmd)
2671	(ConfigureMenu, CloneMenu):
2672	* generic/tkMenubutton.c (MenuButtonWidgetObjCmd):
2673	* generic/tkMessage.c (MessageWidgetObjCmd):
2674	* generic/tkOption.c (Tk_OptionObjCmd):
2675	* generic/tkPack.c (Tk_PackObjCmd, ConfigureSlaves):
2676	* generic/tkPlace.c (Tk_PlaceObjCmd):
2677	* generic/tkScale.c (ScaleWidgetObjCmd):
2678	* generic/tkSelect.c (Tk_SelectionObjCmd):
2679	* generic/tkSquare.c (SquareWidgetObjCmd):
2680	* generic/tkTest.c (TestobjconfigObjCmd, TrivialConfigObjCmd)
2681	(TestfontObjCmd): Updates to handle change in type of tablePtr
2682	argument of Tcl_GetIndexFromObj(Struct) from (char **) to
2683	(CONST char **).  [TIP 27] [Patch 504705]
2684
2685	* generic/tkCanvText.c (GetSelText):
2686	* generic/tkEntry.c (Entry{FetchSelection,Setvalue},ExpandPercents):
2687	* generic/tkSelect.c (HandleTclCommand):
2688	* generic/tkText.c (TextSearchCmd):
2689	* generic/tkTextIndex.c (TkTextMakeByteIndex, TkTextIndexBackChars):
2690	* mac/tkMacFont.c (Tk_MeasureChars, BreakLine):
2691	* unix/tkUnixMenu.c (DrawMenuUnderline):
2692	* win/tkWinMenu.c (GetEntryText, DrawMenuUnderline):  Updated
2693	callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27 API
2694	changes (see Tcl Patch 471509). [Patch 471513]
2695
26962002-01-16  Mo DeJong  <mdejong@users.sourceforge.net>
2697
2698	* unix/configure: Regen.
2699	* unix/tcl.m4: Update from Tcl.
2700	* win/configure: Regen.
2701	* win/tcl.m4: Update from Tcl.
2702
27032002-01-04  Don Porter  <dgp@users.sourceforge.net>
2704
2705	* generic/tkMain.c (Tk_MainEx):  Updated callers of CONSTified
2706	Tcl interfaces Tcl_EvalFile and TclGetStartupScriptFileName.
2707
2708	* generic/tkConsole.c (ConsoleOutputProc, TkConsolePrint):
2709	* generic/tkInt.h (TkConsolePrint):
2710	* mac/tkMacAppInit.c (TkConsolePrint): Updated Tk's console to
2711	CONSTified channel driver interface.  [Tcl Patch 503565, Tk Patch
2712	503983]
2713
27142002-01-11  Mo DeJong  <mdejong@users.sourceforge.net>
2715
2716	Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370]
2717
2718	* unix/configure: Regen.
2719	* unix/configure.in: Define and use libdir.
2720	* win/configure: Regen.
2721	* win/configure.in: Define libdir.
2722
27232002-01-11  Mo DeJong  <mdejong@users.sourceforge.net>
2724
2725	* unix/Makefile.in: Burn Tcl and Tk build
2726	directories into tktest executable to avoid crashes
2727	caused by ld loading a previously installed version
2728	of the tcl or tk shared libraries. Remove setting
2729	of LD_LIBRARY_PATH, LIBPATH, and SHLIB_PATH
2730	before running tktest since it should no
2731	longer be required.
2732
27332002-01-11  Mo DeJong  <mdejong@users.sourceforge.net>
2734
2735	Enable use of Tcl stubs when building Tk as
2736	a shared library. This should fix the build
2737	under AIX. [Bugs 220858, 220955, 220921]
2738
2739	* unix/Makefile.in: Add TCL_STUB_LIB_SPEC and
2740	TCL_STUB_LIB_FLAG variables.
2741	* unix/configure: Regen.
2742	* unix/configure.in: Pass TCL_STUB_LIB_SPEC into
2743	Makefile and use it when linking the tk shared library.
2744	Define USE_TCL_STUBS when building shared. Subst
2745	TCL_STUB_LIB_SPEC and TCL_STUB_LIB_FLAG.
2746
27472002-01-08  D. Richard Hipp  <drh@hwaci.com>
2748
2749	* win/tkWinMenu.c: Fix the following bug: If you select an entry
2750	on a cascade menu then the next time the parent menu is posted, the
2751	cascade entry was active.  Also, if you traverse to a disabled entry
2752	using keystrokes and press ENTER on the disabled entry, then that
2753	entry appears active the next time the menu is posted.  The same
2754	patch fixes both problems.
2755
27562002-01-04  Don Porter  <dgp@users.sourceforge.net>
2757
2758	* generic/tkBind.c (TkBindFree):
2759	* generic/tkGrid.c (ResolveConstraints,CheckSlotData,DestroyGrid):
2760	* generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced
2761	Tcl_Free calls with ckfree so that memory debugging is fully supported.
2762
27632001-12-28  Jeff Hobbs  <jeffh@ActiveState.com>
2764
2765	* test/winButton.test:
2766	* win/tkWinButton.c: added updated patch #463234 which returns the
2767	default sizing behavior (not so native), but enables native L&F
2768	with negative sizing (-11 for example).
2769
2770	* library/text.tcl (tk::TextButton1): made text receive focus even
2771	in disabled state for Windows to show selection and allow
2772	mouse-wheel scrolling.
2773
2774	* win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFree's
2775
2776	* win/tkWinInt.h:
2777	* win/tkWinX.c: added TkWinProcs that represent a function table
2778	to switch between unicode and ansi procs on Windows.  This is
2779	analogous to the TclWinProcs.  Using Tcl_WinUtfToTChar, we can
2780	easily take advantage of using unicode functions where available
2781	without having to switch on the platform id each time.
2782
2783	* win/tkWinWm.c (InitWindowClass): corrected init routines to
2784	allow unicode in window titles on Windows (for Win2K/XP).
2785	(TkWmStackorderToplevel): Corrected casts to enable debug compile
2786
2787	* win/configure: regen'ed
2788	* win/tcl.m4: added shell32.lib to link libs, as these are
2789	necessary for new directory chooser (when enabled).
2790
2791	* win/tkWinDialog.c (Tk_MessageBoxObjCmd): use MessageBoxW for
2792	proper display of unicode errors.
2793	Added patch which uses new OLE based directory chooser.  This
2794	still has some issues, so is disabled by default. [Patch #468139]
2795	(ColorDlgHookProc) Corrected ability to use unicode chars in
2796	tk_chooseColor -title.
2797
27982001-12-27  Jeff Hobbs  <jeffh@ActiveState.com>
2799
2800	* win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case the
2801	error displayed has unicode chars. [Bug #485986]
2802
28032001-12-27  Daniel Steffen <das@users.sourceforge.net>
2804
2805	* mac/tkMacInit.c:
2806	* mac/tkMacResource.r: synced up tkInit features to unix/win:
2807	use existing tkInit proc if defined. Added spinbox.tcl resource.
2808	Used TclGetEnv() instead of Tcl_GetVar2(interp, env)
2809	* mac/tkMacApplication.r:
2810	* mac/tkMacLibrary.r: minor version resources cleanup
2811
28122001-12-27  Jeff Hobbs  <jeffh@ActiveState.com>
2813
2814	* generic/tkButton.c (ButtonTextVarProc): guard against being
2815	called while the *button/label is being deleted. [Bug #490051]
2816
2817	* library/entry.tcl:
2818	* library/spinbox.tcl:
2819	* library/text.tcl: added extra checks against bug #220269 and
2820	made spinbox reuse more of the entry procedure code.
2821
28222001-12-20  Mo DeJong  <mdejong@users.sourceforge.net>
2823
2824	* unix/configure: Regen.
2825	* unix/tcl.m4: Update from Tcl.
2826
28272001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
2828
2829	* unix/configure: Regen.
2830	* unix/tcl.m4: Update from Tcl.
2831
28322001-12-18  Mo DeJong  <mdejong@users.sourceforge.net>
2833
2834	* unix/configure: Regen.
2835	* unix/configure.in: Move EXP file changes over from
2836	Tcl configure script to fix AIX build with gcc. [Bug 220955]
2837
28382001-12-18  Mo DeJong  <mdejong@users.sourceforge.net>
2839
2840	* unix/Makefile.in:
2841	* win/Makefile.in: Use $(MAKE) instead of make
2842	in the tcltest rule.
2843
28442001-12-18  Don Porter  <dgp@users.sourceforge.net>
2845
2846	* tests/event.test (event-click-drag-1.2): Corrected test that
2847	failed on Solaris/CDE due to text scrolling.  [Bug 413735]
2848
28492001-12-18  Jeff Hobbs  <jeffh@ActiveState.com>
2850
2851	* library/spinbox.tcl (ButtonDown): added catch to ignore
2852	possible error in after cancel when Priv(afterId) isn't defined.
2853
2854	* doc/spinbox.n: corrected spin(up|down) -> button(up|down)
2855
28562001-12-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2857
2858	* doc/getOpenFile.n: Documented change.
2859	* library/tkfbox.tcl (SetFilter): Added code to guess the correct
2860	default extension from whatever value was selected in the
2861	filetypes option menu.  Adapted from code by Chris Nelson
2862	submitted in Patch #492220.
2863
28642001-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
2865
2866	* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap): added static
2867
28682001-12-05  Jeff Hobbs  <jeffh@ActiveState.com>
2869
2870	* generic/tkText.c:
2871	* generic/tkText.h: changed TkTextEditType enums to be prefaced
2872	with TK_EDIT_ to prevent name collision.
2873
28742001-12-05  Daniel Steffen <das@users.sourceforge.net>
2875
2876	* mac/tkMacWm.c: mac implementation of wm stackorder
2877	(patch 481148, TIP 74)
2878
28792001-12-03  Mo DeJong  <mdejong@users.sourceforge.net>
2880
2881	Add TK patch 481148 to implement TIP 74, the
2882	wm stackorder command.
2883
2884	* doc/winfo.n: Update documentation for the winfo
2885	children command to indicate that top-level windows
2886	are not returned in stacking order.
2887	* doc/wm.n: Add documentation for wm stackorder.
2888	* generic/tkInt.decls (TkWmStackorderToplevel):
2889	Add decl for new function.
2890	* generic/tkIntDecls.h: Regen.
2891	* generic/tkStubInit.c: Regen.
2892	* tests/unixWm.test: Add stackorder command to test
2893	for wm command usage message.
2894	* tests/wm.test: Add new set of tests for generic
2895	window manager methods.
2896	* unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap)
2897	(TkWmStackorderToplevel): Add unix implementation of
2898	new wm stackorder command.
2899	* win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc)
2900	(TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add
2901	windows implementation of new wm stackorder command.
2902
29032001-12-03  David Gravereaux <davygrvy@pobox.com>
2904
2905	* win/makefile.vc: install target changes by request from
2906	Ryan Casey <scfiead@hotmail.com>.
2907
29082001-11-30  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2909
2910	* library/demos/widget: Further overhauling; shrank fonts, made
2911	better use of fonts, added an icon, fixed the About box.  Prompted
2912	by Bug #487442 from Vincent Wartelle.
2913
29142001-11-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2915
2916	* library/palette.tcl (tk_setPalette): Added heuristic to guess
2917	from the background whether to use black or white for the
2918	foreground when not told specifically.  Suggested by Chris Nelson,
2919	this makes the command fit the documentation better!
2920
29212001-11-27  David Gravereaux <davygrvy@pobox.com>
2922
2923	* win/makefile.vc: Fixed CAT32 target.  cat.c is located in the Tcl
2924	source, not the Tk source.
2925
29262001-11-27  D. Richard Hipp <drh@hwaci.com>
2927
2928	* library/menu.tcl: Do not allow keyboard traversal of torn-off
2929	menus to visit the (invisible) tearoff bar.
2930
29312001-11-26  D. Richard Hipp <drh@hwaci.com>
2932
2933	* win/tkWinMenu.c: disabled menu items show the activebackground
2934	color in their background.  This change makes menu behavior
2935	consistent with what native windows does.
2936
29372001-11-24  Mo DeJong  <mdejong@users.sourceforge.net>
2938
2939	* unix/Makefile.in: Add comments to better describe
2940	TCL_EXE and when it should be available. Add
2941	rule that prints message about running `make genstubs`
2942	when tkStubInit.c is out of date.
2943	* win/Makefile.in: Add TCL_TOOL_DIR and TCL_EXE
2944	variables to better match the Tcl Makefile. Add
2945	genstubs rule so tkSTubInit.c can be regenerated.
2946
29472001-11-24  Mo DeJong  <mdejong@users.sourceforge.net>
2948
2949	* win/configure: Regen.
2950	* win/configure.in: Don't AC_SUBST CFLAGS_DEBUG, CFLAGS_OPTIMIZE,
2951	or CFLAGS_WARNING since it is now done in SC_CONFIG_CFLAGS.
2952	* win/tcl.m4 (SC_CONFIG_CFLAGS): AC_SUBST DL_LIBS, CFLAGS_DEBUG,
2953	CFLAGS_OPTIMIZE, and CFLAGS_WARNING.
2954
29552001-11-23  Daniel Steffen <das@users.sourceforge.net>
2956
2957	Up-port to 8.4 of mac code changes for 8.3.3 & various new
2958	changes for 8.4, some already backported to 8.3.4 (patch #435660)
2959
2960	* library/tk.tcl: added <Key-F1> binding for <<Undo>> on the mac (TIP26)
2961
2962	* library/button.tcl: fixed undefined $Priv(repeated) error for button
2963	without -repeatdelay support
2964
2965	* generic/tkConsole.c:
2966	* library/console.tcl:
2967	* mac/tkMacInit.c:
2968	* mac/tkMacResource.r: corrected how mac deals with tcl library
2969	files present both in resources and in $tk_library directory.
2970
2971	* generic/tkConsole.c: crashing bug fix when printing to console
2972	at program exit after the console has already been closed.
2973	Now setting gStdoutInterp=NULL in ConsoleClose().
2974
2975	* mac/tkMacInit.c: correct use of Tcl_JoinPath in tk_library
2976	initialization
2977
2978	* mac/tkMacMenu.c: special MDEF_PROC_OFFSET only needed for
2979	exactly one specific version of the MWERKS 68k compiler .
2980
2981	* mac/tkMacShLib.exp: removed file
2982
2983	* unix/Makefile.in: removed reference to .exp files
2984
2985	* mac/MWTkBuildLibHeader.h:
2986	* mac/MW_TkBuildLibHeader.pch:
2987	* mac/MW_TkHeaderCommon.h:
2988	* mac/MW_TkOldImgStaticHeader.h:
2989	* mac/MW_TkStaticHeader.h:
2990	* mac/MW_TkStaticHeader.pch: new precompiled header files
2991
2992	* mac/MW_TkHeader.pch:
2993	* mac/MW_TkOldImgHeader.h:
2994	* mac/MW_TkTestHeader.pch: revised precompiled header handling: now
2995	include a common header file 'MW_TkHeaderCommon.h' from all .pch files,
2996	the .pch files themselves now only setup #defines (e.g. BUILD_tk,
2997	STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on other
2998	platforms.
2999
3000	* mac/tkMac.h:
3001	* mac/tkMacPort.h:
3002	* mac/tkMacInt.h: use of BUILD_tk and TCL_STORAGE_CLASS like on other
3003	platforms, standardize #include'd files to what's done on other
3004	platforms, removed use of #pragma export, changed extern to EXTERN
3005	where appropriate to enable DLL export via the TCL_STORAGE_CLASS
3006	mechanism.
3007
3008	* mac/tkMacAppearanceStubs.c: removed use of #pragma export
3009
3010	* mac/widget.r: new resource file for 'Widget Demos'
3011
3012	* mac/tkMacProjects.sea.hqx: updated mac build project files:
3013	build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime
3014	libraries (see Tcl ChangeLog for details).
3015	changed weak linking so that CFM68k binaries now work on all OS
3016	versions from the free 7.5.5 onwards, with or without AppearanceMgr
3017	and/or NavigationMgr installed.
3018	added target to automatically build 'Widget Demos'
3019	included XML versions of the projects for CW Pro5 or Pro7 users.
3020	use compat/strtod.c instead of MSL's strtod()
3021
3022	* generic/tkInt.decls:
3023	* generic/tkIntDecls.h:
3024	* generic/tkIntPlatDecls.h:
3025	* generic/tkStubInit.c:
3026
3027	* mac/tkMacInt.h: MAC_TCL tk stub support was badly broken due to
3028	multiply defined (mac specific) names in tk.decls and tkInt.decls,
3029	removed the duplicates from the internal unsupported interfaces
3030	"interface tkInt" and "interface tkIntPlat"; moved declaration of
3031	TkpIsWindowFloating from tkMacInt.h to tkInt.decls: interface tkIntPlat.
3032	- these changes to the stub tables might require you to recompile your
3033	Tk extensions if they turn out to reference one of the removed routines
3034	in the wrong table (should be unlikely).
3035
3036	* generic/tkMain.c: MAC_TCL: workaround for broken/non-standard isatty
3037	on MW Pro6, #include <unistd.h> instead of defining isatty
3038
3039	* generic/tkPointer.c: MAC_TCL: #include tkMacInt.h
3040
3041	* generic/tkStubLib.c: MAC_TCL: removed obsolete special casing of mac
3042	headers, standardize #include'd files to what's done on other platforms
3043
3044	* mac/tclets.r:
3045	* mac/tkMacWindowMgr.c:
3046	* mac/tkMacScrlbr.c:
3047	* mac/tkMacMenu.c:
3048	* mac/tkMacMenus.c:
3049	* mac/tkMacFont.c:
3050	* mac/tkMacDialog.c:
3051	* mac/tkMacButton.c: renamed obsolete apple API names to modern
3052	equivalents; UH3.4 support: added #include <ControlDefinitions.h>;
3053	fixed munged non-ASCII chars in sources due to bungled latin1<->mac
3054	roman encoding in CVS repository.
3055
3056	* mac/tkMacDialog.c: added support for -filetypes option (fix for bug
3057	tcl #221636); added update event handling for background windows while
3058	in a NavigationMgr dialog; fixed nasty bug when calling CustomGetFile
3059	(missing addr operator) (fix for bug tk #220911 & tcl #219367); renamed
3060	routines conflicting with standard MoreFiles headers (see Tcl ChangeLog
3061	for details)
3062
3063	* mac/tkMacApplication.r:
3064	* mac/tkMacLibrary.r:
3065	* mac/tkMacResource.r: fixed obsolete copyrights/dates in version
3066	strings, updated version strings to standard usage, added support for
3067	'(Support Libraries)' subfolder for shared runtime libraries in
3068	unmerged binaries, commented out demo setting of "Tcl Environment
3069	Variables"; reorganized resources among these files to avoid
3070	multiple copies in applications and shared libraries, the script
3071	libraries/Xcursors etc are now no longer duplicated in Wish but are
3072	only included in the resources of Tk.shlb.
3073
3074	* mac/tkMacMenu.c:
3075	* mac/tkMacMDEF.r: changes to support MW Pro 6 68k (vers 0x2400 only)
3076	compiler producing different offset to start of MDEF; fix to static 68k
3077	presence testing when calling the custom MDEF
3078
3079	* mac/tkMacWm.c.c:
3080	* mac/tkMacWindowMgr.c: added/fixed AppearanceMgr checks; override
3081	AppearanceMgr version detection on static 68k to ensure static 68k Wish
3082	runs on PPCs with recent AppearanceMgr
3083
3084	* mac/tkMacButton.c: fixed misplaced/missing variable initialization.
3085
30862001-11-20  Jeff Hobbs  <jeffh@ActiveState.com>
3087
3088	* generic/tkText.c (TextGetText): reworked to use DString for
3089	improved speed. (callewaert, darley)
3090	(DestroyText): plugged mem leak when not clearing stack (callewaert)
3091	(TextGetText): more efficient string size calculation (darley)
3092
30932001-11-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3094
3095	* library/demos/entry3.tcl: New demo showing off validation and
3096	password entry.
3097
3098	* library/demos/widget: Some reorganization to make the code
3099	simpler, plus a new entry demo.
3100
31012001-11-17  Jeff Hobbs  <jeffh@ActiveState.com>
3102
3103	* win/tkWinButton.c (TkpComputeButtonGeometry): corrected the
3104	default size of Windows buttons to conform to the Windows style.
3105	This changes the default size of buttons on Windows.
3106	[Patch #463234] (nelson)
3107	**** POTENTIAL VISUAL INCOMPATABILITY ****
3108
31092001-11-16  Jeff Hobbs  <jeffh@ActiveState.com>
3110
3111	* library/menu.tcl: corrected menu traversal code on Unix to
3112	better handle entering cascades.  [Patch #481219] (oleinick)
3113
31142001-11-16  David Gravereaux <davygrvy@pobox.com>
3115
3116	* win/makefile.vc:  Install target repaired.
3117
31182001-11-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3119
3120	* library/demos/image2.tcl: Many improvements to this
3121	image-viewing demo; now uses labelframes and tk_chooseDirectory
3122
3123	* library/palette.tcl (::tk::RecolorTree): Made this work better
3124	with CDE, which does some extremely annoying things with the
3125	option database that interact badly with Tk's way of handling
3126	options.
3127
3128	* doc/text.n: Overhauled the documentation of undo to make it
3129	easier to understand.
3130	* library/tk.tcl (::tk::EventMotifBindings): Added Emacs-like undo
3131	binding, but not behaviour (we separate undo and redo.)
3132	* library/demos/text.tcl: Show off our undo capability!
3133
31342001-11-12  David Gravereaux <davygrvy@pobox.com>
3135
3136	* win/mkd.bat:
3137	* win/rmd.bat:  Removed -kb CVS attribute and added changes
3138	from Llyod Lim for better stability.  [Patch #456761]
3139
3140	* win/rules.vc(new):
3141	* win/buildall.vc.bat(new):
3142	* win/makefile.vc:  large rewrite following Tcl's makefile.vc as
3143	a guide and Patch #456761.  Appears BugFree(tm).
3144
31452001-11-12  Jeff Hobbs  <jeffh@ActiveState.com>
3146
3147	* doc/text.n:
3148	* generic/tkText.c:
3149	* generic/tkText.h:
3150	* generic/tkTextTag.c:
3151	* library/text.tcl:
3152	* library/tk.tcl:
3153	* mac/tkMacDefault.h:
3154	* tests/text.test:
3155	* unix/tkUnixDefault.h:
3156	* win/tkWinDefault.h: added TIP #26 implementation of simple
3157	built-in undo/redo of text editing in the text widget.
3158	[Patch #458879] (callewaert)
3159
31602001-11-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3161
3162	* library/demos/menu.tcl: Show off -compound support in menus.
3163
3164	* library/demos/radio.tcl: Added some code to both show off the
3165	extra capabilities of the buttons and also show what can be done
3166	with compound images on the sly.
3167
31682001-11-10  Mo DeJong  <mdejong@users.sourceforge.net>
3169
3170	* unix/Makefile.in:
3171	* win/Makefile.in: Add "make gdb" target. This target
3172	can run wish inside either gdb or insight.
3173
31742001-11-09  Jeff Hobbs  <jeffh@ActiveState.com>
3175
3176	* library/clrpick.tcl: changed a few parameters so that the full
3177	0..255 range could be accessed via the mouse. [Bug #478498]
3178
3179	* unix/configure:
3180	* unix/tcl.m4: added -lc to AIX libs, fixed path to ldAix
3181
3182	* win/configure:
3183	* win/tcl.m4:
3184	* win/makefile.vc: add comctl32.lib to build libs.
3185	* win/tkWinX.c (TkWinXInit): added InitCommonControlsEx call.
3186	* win/rc/tk.rc:
3187	* win/rc/wish.rc:
3188	* win/rc/wish.exe.manifest: added resources that specify using v6
3189	of the MS Common Controls library when available (WinXP+).  This
3190	enables use of the themeable widgets (like scrollbars) to be used
3191	in Tk. [Patch #478933]
3192
31932001-11-09  Mo DeJong  <mdejong@users.sourceforge.net>
3194
3195	* unix/configure:
3196	* unix/tcl.m4: Update from Tcl.
3197
31982001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
3199
3200	* unix/Makefile.in:
3201	Avoid adding libc to the LIBS and WISH_LIBS
3202	variables since it is not needed when linking with CC.
3203	If required when linking with LD it should be done
3204	on a case by case basis in tcl.m4.
3205
32062001-11-05  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3207
3208	* library/demos/dialog2.tcl: Typo-fix.
3209	* library/demos/browse, library/demos/ixset, library/demos/rolodex:
3210	Installation does version number fixup, so we shouldn't.  Thanks
3211	to wohnivec@iol.cz for pointing these (thankfully minor) problems
3212	out.
3213
32142001-10-30  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3215
3216	* library/demos/widget: Integrated labelframe item into the labels
3217	section and added a spinbox demo to the (retitled) entry section.
3218
3219	* library/demos/labelframe.tcl: Adjusted so as to show off the
3220	labelframe widget to better effect and have a better description.
3221
3222	* library/demos/spin.tcl: New demo to show off spinbox capabilities.
3223
3224	* library/demos/rolodex: Changes up-ported from core-8-3-1-branch
3225	to make the script use more 8.*-isms, but not menus due to the way
3226	the context help system works.
3227
3228	* library/demos/ixset: Changed to use the labelframe widget and
3229	the grid geometry manager.
3230
32312001-10-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3232
3233	* library/demos/browse: Changes up-ported from core-8-3-1-branch
3234	to make the script much more robust, particularly when neither the
3235	current version of wish or the script are on the path.
3236
3237	* library/demos/hello: Added emacs trailing tag-line.
3238
3239	* library/demos/tcolor: Changes up-ported from core-8-3-1-branch
3240	to make the script compliant with current good practise, as well
3241	as extensive use of the new labelframe widget.
3242
3243	* library/demos/timer: Changes up-ported from core-8-3-1-branch to
3244	make the script look and work better.
3245
3246	* library/demos/rmt: Changes up-ported from core-8-3-1-branch to
3247	use more 8.* features and make the demo script more generally
3248	useful to people.
3249
32502001-10-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3251
3252	* generic/tkCursor.c (Tk_GetCursorFromData): Fixed uninit nextPtr
3253	field.  [adapted from Patch 473875]
3254	(GetCursor): Removed double-assignment to nextPtr field.
3255
32562001-10-19  Jeff Hobbs  <jeffh@ActiveState.com>
3257
3258	* library/console.tcl: removed transpose ability until the console
3259	can get a proper rewrite of tag handling.
3260
32612001-10-18  Jeff Hobbs  <jeffh@ActiveState.com>
3262
3263	* tests/defs.tcl: removed threaded build warning under X.
3264
3265	* library/console.tcl (ConsoleOutput): fixed undefined widget
3266	argument.
3267
32682001-10-16  Jeff Hobbs  <jeffh@ActiveState.com>
3269
3270	* library/xmfbox.tcl: fixed filtering in motif file dialog.
3271	[Patch #469670] (nelson)
3272
3273	* generic/tkWindow.c (OpenIM): Added simple XIM patch to enable
3274	basic XIM input on Unix. [Patch #412727] (fabian)
3275
32762001-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
3277
3278	* unix/configure:
3279	* unix/configure.in:
3280	* win/configure:
3281	* win/configure.in:
3282	* win/tkConfig.sh.in: reworked to be a little cleaner in
3283	comparison to each other, and to AC_SUBST even empty vars for
3284	win/tkConfig.sh
3285
32862001-10-12  Todd M. Helfter <tmh@purdue.edu>
3287
3288	* ChangeLog:
3289	* doc/menu.n:
3290	* generic/tkMenu.c:
3291	* generic/tkMenu.h:
3292	* generic/tkMenubutton.c:
3293	* generic/tkMenubutton.h:
3294	* mac/tkMacDefault.h:
3295	* mac/tkMacMenu.c:
3296	* mac/tkMacMenubutton.c:
3297	* tests/menu.test:
3298	* unix/tkUnixDefault.h:
3299	* unix/tkUnixMenu.c:
3300	* win/makefile.vc:
3301	* win/tkWinDefault.h:
3302	* win/tkWinMenu.c:
3303	* win/tkWinWm.c: Implementation of TIP #63, the addition of
3304	a -compound option to menu entries allowing text and an image to
3305	be displayed at the same time.
3306
33072001-10-09  Jeff Hobbs  <jeffh@ActiveState.com>
3308
3309	* library/console.tcl: added more smarts extracted from tkcon to
3310	the default console.
3311
33122001-10-01  Jeff Hobbs  <jeffh@ActiveState.com>
3313
3314	* win/tkWinTest.c: better error reporting from testclipboard
3315
3316	* win/tkWinDialog.c: minor cast changes to support Win64
3317
3318	* win/tkWinWindow.c: made use of standard Tk_GetHWND instead of
3319	older, private TkWinGetHWND.
3320
3321	* win/configure: regen'ed
3322	* win/tcl.m4:
3323	* win/makefile.vc: updated for Win64 SDK RC1 compilation support
3324
33252001-09-30  Peter Spjuth <peter.spjuth@space.se>
3326
3327	* doc/grid.n:
3328	* generic/tkGrid.c:
3329	* tests/grid.test: Added -uniform option to grid's row/column-
3330	configure. [TIP 37] [Patch 459343]
3331
33322001-09-26  Peter Spjuth <peter.spjuth@space.se>
3333
3334	* win/tkWinFont.c (Tk_DrawChars): Added support for clipping text.
3335
3336	* doc/frame.n:
3337	* doc/labelframe.n:
3338	* doc/toplevel.n:
3339	* generic/tkFrame.c:
3340	* generic/tkInt.h:
3341	* generic/tkWindow.c:
3342	* library/demos/radio.tcl:
3343	* library/demos/labelframe.tcl:
3344	* library/demos/widget:
3345	* mac/tkMacDefault.h:
3346	* tests/frame.test:
3347	* unix/tkUnixDefault.h:
3348	* win/tkWinDefault.h: Added labelframe widget. Added -padx/y
3349	options to frame and toplevel.
3350
3351	* tests/grid.test:
3352	* tests/pack.test:
3353	* tests/place.test: Used labelframe to test geometry manager changes.
3354	[TIP 18] [Patch 429164]
3355
33562001-09-26  Peter Spjuth <peter.spjuth@space.se>
3357
3358	* doc/GeomReq.3:
3359	* doc/WindowId.3:
3360	* generic/tk.decls:
3361	* generic/tk.h:
3362	* generic/tkDecls.h:
3363	* generic/tkGeometry.c:
3364	* generic/tkGrid.c (ArrangeGrid):
3365	* generic/tkInt.h:
3366	* generic/tkPack.c (ArrangePacking):
3367	* generic/tkPlace.c (RecomputePlacement):
3368	* generic/tkStubInit.c:
3369	* generic/tkUtil.c (TkComputeAnchor):
3370	* generic/tkWindow.c (TkAllocWindow):
3371	* unix/mkLinks: Geometry manager changes to support TIP#18.
3372	Allows a widget to set different internal border widths on
3373	different sides, and to set a minimum requested size.
3374	POTENTIAL INCOMPATIBILITY.  [Patch 429164]
3375
33762001-09-25  Don Porter  <dgp@users.sourceforge.net>
3377
3378	* generic/tkBind.c:
3379	* generic/tkInt.decls (TkpScanWindowId):
3380	* unix/tkUnixPort.h (Tkp{Print,Scan}WindowId):
3381	* unix/tkUnixXId.c (TkpScanWindowId):
3382	* win/tkWinWindow.c (TkpScanWindowId): Corrected definition of
3383	TkpScanWindowId to handle situation where types Window and int
3384	do not have the same number of bits.  CONST-ified too.
3385
3386	* generic/tkIntPlatDecls.h:
3387	* generic/tkStubInit.c: make genstubs
3388
33892001-09-24  Don Porter  <dgp@users.sourceforge.net>
3390
3391	* generic/tkMain.c (StdinProc): Update to handle change in
3392	return type of Tcl_DStringAppend() from (char *) to (CONST char *).
3393	[TIP 27]
3394
33952001-09-23  Peter Spjuth  <peter.spjuth@space.se>
3396	* generic/tkPack.c (ConfigureSlaves):
3397	* tests/pack.test:
3398	* tests/grid.test:  Pack accepted asymmetric values for -ipadx/y.
3399	Only -padx/y supports asymmetry. [Bug #462348]
3400
34012001-09-21  Jeff Hobbs  <jeffh@ActiveState.com>
3402
3403	* win/tkWinWindow.c (TkpPrintWindowId, TkpScanWindowId): fixed to
3404	work on Win64 with 64bit XIDs.
3405
3406	* generic/tkWindow.c (Tk_CreateAnonymousWindow):
3407	* generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns.
3408
3409	* win/tkWinX.c (TkGetServerInfo): added recognition of Win64.
3410
3411	* xlib/X11/X.h: made XID __int64 type for Win64.
3412
3413	* unix/tkUnixPort.h:
3414	* mac/tkMacPort.h: add (int*) cast to TkpScanWindowId.
3415	These may need to be changed to Window* (ulong).
3416
3417	* generic/tkCmds.c (Tk_WinfoObjCmd):
3418	* generic/tkBind.c (NameToWindow):
3419	correct Window id's to be of type Window
3420
3421	* generic/tkIntDecls.h:
3422	* generic/tkIntPlatDecls.h:
3423	* generic/tkInt.decls (TkpScanWindowId): changed decl to use
3424	Window* instead of int*.
3425
3426	* xlib/xcolors.c:
3427	* generic/tkPack.c,tkWindow.c:
3428	* win/tkWinFont.c,tkWinMenu.c:
3429	* unix/tkUnixScale.c: minor cast fixes to prevent 64bit warnings.
3430
3431	* tests/scrollbar.test (scrollbar-6.27): marked knownBug because
3432	it is skewed by bad dimensions returned by Windows.
3433
3434	* tests/textDisp.test (textDisp-4.12): corrected test to work
3435	properly on Windows.
3436
3437	* tests/id.test,macFont.test,macMenu.test,macscrollbar.test:
3438	* tests/send.test,winClipboard.test,winDialog.test,winFont.test:
3439	improved use of test constraints
3440
3441	* win/tkWinWm.c (WinSetIcon): fixed SetClassLong for 64bit support.
3442
34432001-09-20  Jeff Hobbs  <jeffh@ActiveState.com>
3444
3445	* unix/configure: regen'ed
3446	* unix/tcl.m4: added --enable-64bit support for HP-11 with the
3447	64-bit kernel.
3448
34492001-09-17  Don Porter  <dgp@users.sourceforge.net>
3450
3451	* generic/tkGrid.c (ConfigureSlaves):
3452	* generic/tkPack.c (PackAfter):  Corrected type definition of
3453	argument passed to Tcl_GetStringFromObj() from size_t to int.
3454	Incorrect type broke [pack] and [grid] on systems where
3455	sizeof(size_t) != sizeof(int).  [Bugs 462375, 462342, 462338]
3456
34572001-09-17  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3458
3459	* library/choosedir.tcl (DblClick):
3460	* library/tkfbox.tcl (OkCmd, ListInvoke): Rewrote so as to avoid
3461	the highly confusing string "text" and to be consistent about what
3462	is and what is not a list.  [Bug 459895, reported by fandom]
3463
34642001-09-14  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3465
3466	* generic/tkImgGIF.c:
3467	* generic/tkImgPPM.c:
3468	* generic/tkImgPhoto.c:
3469	* generic/tkMenu.c: Applied patch [461578], provided by Vincent
3470	Darley. This fixes several memory leaks in the image code. They
3471	happen if there are errors during the initialization of the
3472	channel the image is supposed to be read from.
3473
34742001-09-12  Mo DeJong  <mdejong@users.sourceforge.net>
3475
3476	* unix/configure:
3477	* unix/tcl.m4: Update from Tcl.
3478
34792001-09-12  D. Richard Hipp  <drh@hwaci.com>
3480
3481	* library/tkfbox.tcl: fixed error that appeared when you would
3482	click on the canvas while viewing an empty directory.
3483
34842001-09-10  Mo DeJong  <mdejong@users.sourceforge.net>
3485
3486	* unix/configure:
3487	* unix/tcl.m4: Update from Tcl.
3488
34892001-09-09  Mo DeJong  <mdejong@users.sourceforge.net>
3490
3491	* win/Makefile.in: Fix Windows Makefile so that
3492	tcltest will automatically be compiled if the
3493	user tries to build tktest.
3494
34952001-09-09  Mo DeJong  <mdejong@users.sourceforge.net>
3496
3497	* win/Makefile.in: Use TKTEST variable directly
3498	instead of depending on the tktest alias.
3499
35002001-09-08  Mo DeJong  <mdejong@users.sourceforge.net>
3501
3502	* win/mkd.bat:
3503	* win/rmd.bat:
3504	Apply binary property (cvs admin -kb) to files and convert
3505	to CRLF linefeed format to fix the VC++ build. [Tcl Bug #219409]
3506
35072001-08-29  Jeff Hobbs  <jeffh@ActiveState.com>
3508
3509	* tests/menu.test:
3510	* tests/send.test:
3511	* tests/select.test: corrected to use testConfig constraints in
3512	the TK_ALT_DISPLAY case
3513
3514	* tests/unixSend.test: removed test file completely identical to
3515	send.test.  Removed platform specific named file in case somebody
3516	gets send working on Win/Mac in the future.
3517
3518	* tests/config.test: added config-14.1 to test namespace import
3519	evaluation of widgets.
3520	* generic/tkButton.c (ButtonCreate):
3521	* generic/tkFrame.c (CreateFrame):
3522	* generic/tkMenubutton.c (Tk_MenubuttonObjCmd):
3523	* generic/tkPlace.c (Tk_PlaceObjCmd):
3524	* generic/tkScale.c (Tk_ScaleObjCmd):
3525	* generic/tkMessage.c (Tk_MessageObjCmd):
3526	* generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd):
3527	* generic/tkSquare.c (SquareObjCmd): redid the handling of
3528	optionTables in widgets to allow them to be imported into other
3529	namespaces. [Bug #456632]
3530
35312001-08-28  Jeff Hobbs  <jeffh@ActiveState.com>
3532
3533	* win/tkWinDialog.c (ChooseDirectoryHookProc): work-around for MS
3534	bug that caused crashing in tk_chooseDirectory on Win95.
3535	[Bug #224936] (baker)
3536
3537	* unix/tkUnixWm.c (TkWmRestackToplevel): reworked how
3538	ConfigureNotify requests were handled in relation to the parent to
3539	avoid the problem with potential 'raise' delays on some wms.
3540	[Bug #220260] (baker) wms that were affected should notice the
3541	difference in tests unixWm-51.* not failing that failed before.
3542
35432001-08-26  Don Porter  <dgp@users.sourceforge.net>
3544
3545	* library/text.tcl (<Shift-Up> binding):  Corrected TIP 44 typo
3546	that broke binding.  Thanks to "Michal" for the fix.
3547	[Bug 455468]
3548
35492001-08-23  Jeff Hobbs  <jeffh@ActiveState.com>
3550
3551	* unix/configure:
3552	* unix/tcl.m4: added QNX-6 build support. [Bug #219410] (loverso)
3553
3554	* doc/CrtPhImgFmt.3: removed bogus note about including tkPhoto.h
3555
35562001-08-22  Peter Spjuth  <peter.spjuth@space.se>
3557
3558	* generics/tkGrid.c (ConfigureSlaves):
3559	* tests/grid.test: Fixed a bug where adjacent 'x' and '^' where
3560	not handled properly. [Bug #452040]
3561
35622001-08-22  Jeff Hobbs  <jeffh@ActiveState.com>
3563
3564	* generic/tkPack.c (TkParsePadAmount): added lint init for sepChar.
3565
3566	* tests/dialog.test (HitReturn): fixed failing dialog-2.1 test
3567	because it wasn't always getting focus properly.
3568
35692001-08-21  Jeff Hobbs  <jeffh@ActiveState.com>
3570
3571	* tests/unixFont.test (unixFont-2.[234]): fixed to be more
3572	sensitive on systems that have more installed fonts.
3573
3574	* library/dialog.tcl (tk_dialog): changed dialog to show bar on
3575	Windows as well and added some y padding between the buttons and
3576	the bar. [Patch #442835] (harrismh)
3577
35782001-08-20  Peter Spjuth  <peter.spjuth@space.se>
3579
3580	* generic/tkInt.h:
3581	* generic/tkWindow.c:
3582	* generic/tkGrid.c:
3583	* generic/tkPack.c:
3584	* tests/grid.test:
3585	* tests/oldpack.test:
3586	* tests/pack.test: Objectified grid and pack commands.
3587
35882001-08-20  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3589
3590	* generic/tkObj.c (TkGetWindowFromObj): Rewrote window code to
3591	reuse a previously worked-out set of window information exactly
3592	when the reference window is the same and no window deletions have
3593	occurred since the object was allocated (display has same epoch
3594	counter.)  Required changing the internal rep of the window quite
3595	a bit as now need to save three words-worth of information in the
3596	internal rep (this window, reference window, display epoch.)
3597	* generic/tkObj.c (SetWindowFromAny, DupWindowInternalRep)
3598	(FreeWindowInternalRep): Code to support new internal rep for
3599	window objects.
3600	* generic/tkInt.h: Added epoch counter to TkDisplay structure
3601	* generic/tkWindow.c (GetScreen, Tk_DestroyWindow): Epoch counter
3602	is incremented every time a window is deleted.
3603
36042001-08-18  Peter Spjuth <peter.spjuth@space.se>
3605
3606	* doc/grid.n:
3607	* tests/grid.test:
3608	* generic/tkGrid.c: Grid configure rejected initial "x" and "^".
3609	[Bug #418664]
3610
36112001-08-17  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3612
3613	* generic/tkObj.c (TkGetWindowFromObj): Was failing to reuse
3614	cached window objects, forcing a call to Tcl_GetStringFromObj and
3615	Tk_NameToWindow every time.  This fault has been in there for
3616	nearly three years...
3617
36182001-08-15  Don Porter <dgp@users.sourceforge.net>
3619
3620	* changes: Labelled the TIP 44 changes as "POTENTIAL INCOMPATIBILITY".
3621	Although technically internal changes are not incompatible, they'll
3622	be perceived as such by those who get bitten, and this will help
3623	them find the cause of their trouble.
3624
36252001-08-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3626
3627	* generic/tk{Util,Font,Cursor,Color,Bitmap,3d}.c: Modified
3628	objtype declarations so that they can be picked up in tkObj.c and
3629	the names are now prefixed with "tk" too.
3630	* generic/tkObj.c (TkRegisterObjTypes):
3631	* generic/tkWindow.c (Initialize):
3632	* generic/tkInt.h: Added code to register Tk's object types with
3633	the Tcl runtime.  [Tcl Bug 450545]
3634
36352001-08-12  Mo DeJong  <mdejong@redhat.com>
3636
3637	* unix/configure: Regen.
3638	* unix/tcl.m4: Update from Tcl.
3639
36402001-08-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3641
3642	* library/demos/image2.tcl (loadDir): Converted non-portable
3643	[glob [file join $dirName *]] to [glob -directory $dirName *]
3644	which is both fully portable and more reliable when directory
3645	names contain glob-significant characters.  [Bug 223313]
3646
36472001-08-08  Don Porter <dgp@users.sourceforge.net>
3648
3649	* tests/dialog.test:  New file testing [tk_dialog].
3650
3651	* library/dialog.tcl:
3652	* library/tkfbox.tcl: Corrections to problems introduced by
3653	the TIP 44 changes.  [Bug 449261]
3654
3655	* README:
3656	* generic/tk.h:
3657	* unix/configure:
3658	* unix/configure.in:
3659	* unix/tk.spec:
3660	* win/configure:
3661	* win/configure.in: Bumped up patchlevel to 8.4a4 to distinguish
3662	CVS snapshots from the 8.4a3 release.  This does not necessarily
3663	mean there will be an 8.4a4 release.  [Bug 448938].
3664
36652001-08-07  Jeff Hobbs  <jeffh@ActiveState.com>
3666
3667	* unix/Makefile.in (dist): added {unix,win}/tcl.m4 and
3668	library/msgs/*.msg to dist target.  [Bug: #448802]
3669
36702001-08-06  Jeff Hobbs  <jeffh@ActiveState.com>
3671
3672	8.4a3 RELEASE
3673
3674	* changes:
3675	* README: updated for 8.4a3 release
3676
3677	* unix/configure: regenerated
3678	* unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
3679	[Patch: #442974]
3680
36812001-08-06  Don Porter  <dgp@users.sourceforge.net>
3682
3683	* generic/tkConsole.c:
3684	* generic/tkWindow.c:
3685	* library/bgerror.tcl:
3686	* library/dialog.tcl:
3687	* library/msgbox.tcl:
3688	* library/unsupported.tcl:
3689	* mac/tclets.tcl:
3690	* mac/tkMacHLEvents.c:
3691	* mac/tkMacWm.c:  TIP 44 changes specific to the Mac and
3692	Windows platforms that were overlooked before: tkOpenDocument,
3693	tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: .
3694	Thanks to Vince Darley for prompting another look.
3695
36962001-08-03  Jeff Hobbs  <jeffh@ActiveState.com>
3697
3698	* win/winMain.c (WishPanic): fixed CONST changes to go with
3699	CONST-ification in Tcl.
3700
3701	* win/configure: regenerated
3702	* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
3703	This is necessary for TEA compliant builds that build shared
3704	against a static-built Tk.
3705	* win/Makefile.in ($(WISH)): added $(TK_STUB_LIB_FILE) to build
3706	target, otherwise it wouldn't get generated in a static build.
3707
37082001-08-01  Don Porter  <dgp@users.sourceforge.net>
3709
3710	* doc/console.n:
3711	* doc/menu.n:
3712	* doc/text.n:
3713	* doc/tkvars.n:
3714	* generic/tkBind.c:
3715	* generic/tkMenu.c:
3716	* library/bgerror.tcl:
3717	* library/button.tcl:
3718	* library/choosedir.tcl:
3719	* library/clrpick.tcl:
3720	* library/comdlg.tcl:
3721	* library/console.tcl:
3722	* library/dialog.tcl:
3723	* library/entry.tcl:
3724	* library/focus.tcl:
3725	* library/listbox.tcl:
3726	* library/menu.tcl:
3727	* library/msgbox.tcl:
3728	* library/optMenu.tcl:
3729	* library/palette.tcl:
3730	* library/scale.tcl:
3731	* library/scrlbar.tcl:
3732	* library/spinbox.tcl:
3733	* library/tclIndex:
3734	* library/tearoff.tcl:
3735	* library/text.tcl:
3736	* library/tk.tcl:
3737	* library/tkfbox.tcl:
3738	* library/unsupported.tcl:
3739	* library/xmfbox.tcl:
3740	* mac/tkMacMenu.c:
3741	* tests/clrpick.test:
3742	* tests/filebox.test:
3743	* tests/macMenu.test:
3744	* tests/menu.test:
3745	* tests/menuDraw.test:
3746	* tests/msgbox.test:
3747	* tests/text.test:
3748	* tests/unixMenu.test:
3749	* tests/winMenu.test:
3750	* tests/xmfbox.test:
3751	* unix/mkLinks:
3752	* unix/tkUnixDialog.c: Merged changes from feature branch
3753	dgp-privates-into-namespace, implementing TIP 44.  All
3754	Tk commands and variables matching tk[A-Z]* are now in the
3755	::tk namespace.  See "BRANCH: dgp-privates-into-namespace"
3756	entries below for details.  [FR 220936]
3757
37582001-07-24  Mo DeJong  <mdejong@redhat.com>
3759
3760	* generic/default.h: Include tkWinDefault.h
3761	when built with Cygwin or Mingw.
3762
37632001-07-18  Don Porter	<dgp@users.sourceforge.net>
3764
3765	BRANCH dgp-privates-into-namespace:
3766	* doc/console.n:  Updated names of private console commands.
3767
37682001-07-16  Don Porter	<dgp@users.sourceforge.net>
3769
3770	BRANCH dgp-privates-into-namespace:
3771	* library/console.tcl:
3772	* library/unsupported.tcl: Renamed tk::histNum to tk::HistNum
3773	as directed by the Tcl Style Guide.
3774
37752001-07-10  Mo DeJong  <mdejong@redhat.com>
3776
3777	* unix/Makefile.in: Add AR and STLIB_LD variables.
3778	* unix/configure:
3779	* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
3780	and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR.
3781	* unix/tcl.m4: Update from Tcl.
3782	* win/configure: Regen.
3783	* win/tcl.m4: Update from Tcl.
3784
37852001-07-06  Mo DeJong  <mdejong@redhat.com>
3786
3787	* win/configure: Regen.
3788	* win/tcl.m4: Update from Tcl.
3789
37902001-07-05  Mo DeJong  <mdejong@redhat.com>
3791
3792	* win/Makefile.in: Subst DEPARG directly instead
3793	of relying on a variable. This will make Cygwin
3794	build faster since an extra exec will be avoided.
3795	* win/configure: Regen.
3796	* win/configure.in: Subst DEPARG.
3797	* win/tcl.m4: Update from Tcl.
3798
37992001-07-04  Jeff Hobbs  <jeffh@ActiveState.com>
3800
3801	* README:
3802	* mac/README:
3803	* unix/README:
3804	* win/README: updated READMEs with purls
3805
38062001-07-03  Jeff Hobbs  <jeffh@ActiveState.com>
3807
3808	* tests/canvas.test:
3809	* generic/tkCanvPoly.c (PolygonToArea): Added patch that respects
3810	the polygon difference of including points in the polygon even
3811	when fill is empty.  [Bug #226357]
3812
38132001-07-03  Mo DeJong  <mdejong@redhat.com>
3814
3815	* win/Makefile.in: Remove PATHTYPE variable.
3816	* win/configure: Regen.
3817	* win/configure.in: Don't subst PATHTYPE.
3818	* win/tcl.m4: Update from Tcl.
3819
38202001-07-03  Mo DeJong  <mdejong@redhat.com>
3821
3822	* win/Makefile.in: Don't use VPSEP, instead just use :
3823	in the VPATH.
3824	* win/configure: Regen.
3825	* win/configure.in: Don't subst VPSEP.
3826
38272001-07-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3828
3829	* library/xmfbox.tcl (tkMotifFDialog_ActivateSEnt): Added missing
3830	backslash [Bug #438247]
3831
38322001-07-02  Jeff Hobbs  <jeffh@ActiveState.com>
3833
3834	* generic/tkWindow.c (Tk_DestroyWindow): changed to use
3835	Tcl_EventuallyFree instead of ckfree so that widgets that have
3836	references to a tkwin can use them.
3837
3838	* generic/tkCanvArc.c:
3839	* generic/tkCanvBmap.c:
3840	* generic/tkCanvLine.c:
3841	* generic/tkCanvPoly.c:
3842	* generic/tkCanvText.c:
3843	* generic/tkCanvWind.c:
3844	* generic/tkRectOval.c: corrected argument handling in
3845	Create<Item> functions that could lead to ABRs or FMRs and
3846	corrected names of argc/argv to objc/objv.
3847
3848	* generic/tkImgGIF.c (Mgetc): corrected screwy use of ternary
3849	operator and possible FMR.
3850
3851	* generic/tkEntry.c: corrected missing Tcl_Release that caused
3852	font not freed complaints when trying valid cleanup calls.
3853	* generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to
3854	prevent FMR errors in Display functions.
3855
3856	* unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale
3857	was deleted while calling its command.
3858
3859	* library/console.tcl:
3860	* library/entry.tcl:
3861	* library/spinbox.tcl:
3862	* library/text.tcl:
3863	* library/tk.tcl: added private ::tk::GetSelection command to
3864	handle requesting selection.  This is to support requesting
3865	UTF8_STRING before generic STRING on Unix.  Changed Text, Spinbox,
3866	Entry and Console to use this command.
3867
3868	* tests/select.test:
3869	* generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler):
3870	on Unix, a UTF8_STRING handler will be created when the user
3871	requests a STRING handler (in addition to the STRING handler).
3872	This provides implicit support for the new UTF8_STRING selection
3873	target.
3874	* unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added
3875	support for UTF8_STRING target. [RFE #418653, Patch #433283]
3876
3877	* generic/tkInt.h: added utf8Atom to TkDisplay structure.
3878
3879	* tests/listbox.test: changed 'darkblue' to 'white' in a test
3880	because it isn't a portable color name.
3881
3882	* generic/tkEntry.c (DestroyEntry): used Tcl_EventuallyFree
3883	instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]
3884
38852001-06-26  Mo DeJong  <mdejong@redhat.com>
3886
3887	* unix/Makefile.in:
3888	* win/Makefile.in: Add `make shell` target. This target
3889	will set the proper env vars before invoking wish
3890	from the build directory.
3891
38922001-06-26  Mo DeJong  <mdejong@redhat.com>
3893
3894	* win/configure:
3895	* win/configure.in: Revert cross compiling change
3896	accidently added during last checkin.
3897
38982001-06-26  Mo DeJong  <mdejong@redhat.com>
3899
3900	* unix/configure: Regen.
3901	* unix/configure.in: Fix last checkin by removing
3902	export since that only works in bash.
3903	* win/configure: Regen.
3904	* win/configure.in: Ditto.
3905
39062001-06-26  Mo DeJong  <mdejong@redhat.com>
3907
3908	* unix/configure: Regen.
3909	* unix/configure.in: Set CFLAGS to "" if the user
3910	did not set CFLAGS in the env. This keeps AC_PROG_CC
3911	from adding "-g -O2" to the CFLAGS by default.
3912	* win/configure: Regen.
3913	* win/configure.in: Ditto.
3914
39152001-06-22  Mo DeJong  <mdejong@redhat.com>
3916
3917	* win/configure: Regen.
3918	* win/configure.in: Use RC_DEFINE flag from tcl.m4.
3919	* win/tcl.m4: Update from Tcl.
3920
39212001-06-22  Mo DeJong  <mdejong@redhat.com>
3922
3923	* win/configure: Regen.
3924	* win/tcl.m4: Update from Tcl.
3925
39262001-06-22  Mo DeJong  <mdejong@redhat.com>
3927
3928	* win/configure: Regen.
3929	* win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the
3930	imm32 library when building with mingw gcc.
3931	* win/tkWinX.c: Include the imm.h header
3932	to fix compiling with mingw gcc.
3933
39342001-06-22  Mo DeJong  <mdejong@redhat.com>
3935
3936	* win/configure: Regen.
3937	* win/configure.in: Add resource compiler fix from
3938	8.3.3 to fix compiling with mingw.
3939
39402001-06-22  Mo DeJong  <mdejong@redhat.com>
3941
3942	* win/configure: Regen.
3943	* win/tcl.m4: Fix silly typo in last checkin.
3944
39452001-06-22  Mo DeJong  <mdejong@redhat.com>
3946
3947	* unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
3948	Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
3949	and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use
3950	new LDFLAGS variable in the Makefile instead of @LDFLAGS@.
3951	* unix/configure: Regen.
3952	* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
3953	subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG,
3954	CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
3955	Remove unused LD_FLAGS subst.
3956	* unix/tcl.m4: Update from Tcl.
3957	* win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
3958	Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
3959	* win/configure: Regen.
3960	* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
3961	CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
3962	* win/tcl.m4: Update from Tcl.
3963
39642001-06-22  Mo DeJong  <mdejong@redhat.com>
3965
3966	* win/configure:
3967	* win/tcl.m4: Update From Tcl.
3968
39692001-06-21  eric melski  <ericm@interwoven.com>
3970
3971	* doc/colors.n: Corrected bogus documentation with respect to
3972	several shades of blue, all of which were listed as RGB 0 0 0.
3973	[Bug #432104].
3974
39752001-06-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3976
3977	* library/demos/floor.tcl, library/demos/filebox.tcl,
3978	* library/demos/clrpick.tcl, library/demos/vscale.tcl,
3979	* library/demos/twind.tcl, library/demos/ruler.tcl,
3980	* library/demos/plot.tcl, library/demos/items.tcl,
3981	* library/demos/hscale.tcl, library/demos/ctext.tcl,
3982	* library/demos/cscroll.tcl, library/demos/arrow.tcl,
3983	* library/xmfbox.tcl, library/msgbox.tcl,
3984	* library/clrpick.tcl, library/bgerror.tcl: Braced expressions.
3985
39862001-06-06  Mo DeJong  <mdejong@redhat.com>
3987
3988	* win/configure: Regen.
3989	* win/configure.in: Handle the --prefix option correctly
3990	it should default to /usr/local like the unix version.
3991
39922001-06-03  Jeff Hobbs  <jeffh@ActiveState.com>
3993
3994	* doc/selection.n:
3995	* doc/clipboard.n: added SEE ALSOs to cross-reference selection
3996	and clipboard, with extra note for clipboard command in selection
3997	docs.  [Patch #422256]
3998
3999	* unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode)
4000	fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in
4001	Tk on Unix that is used for those fonts (X11 requires
4002	big-endianness). (welch) [Patch #406411; Bug #220890 #220899]
4003	This differs from the 8.3.3 patch by not adding ucs-2be in the
4004	preferred encodingList (seems works fine without).
4005	Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]
4006
40072001-05-30  Jeff Hobbs  <jeffh@ActiveState.com>
4008
4009	* win/tkWinKey.c (TkpSetKeycodeAndState): removed old debug info
4010
40112001-05-29  Jeff Hobbs  <jeffh@ActiveState.com>
4012
4013	* win/tkWinX.c: moved the initialization of tkPlatformId from
4014	TkWinXInit to TkWinGetPlatformId because static builds could call
4015	it before it was initialized. [Bug #427278]
4016
40172001-05-28  Peter Spjuth  <peter.spjuth@space.se>
4018
4019	* generic/tkFrame.c:
4020	* generic/tkWindow.c:
4021	* tests/frame.test: Upgraded frame to use the newer TK_OPTION
4022	style when processing configuration options. Some cleanup of
4023	bad comments and bad code. [part of patch #420861]
4024
40252001-05-23  Mo DeJong  <mdejong@redhat.com>
4026
4027	* unix/configure:
4028	* unix/tcl.m4:
4029	* win/configure:
4030	* win/tcl.m4: Sync from Tcl sources.
4031
40322001-05-21  Jeff Hobbs  <jeffh@ActiveState.com>
4033
4034	* unix/tcl.m4: sync'ed up wih Tcl tcl.m4. [Bug #419812]
4035
4036	* doc/TkInitStubs.3:
4037	* generic/tk.h:
4038	* generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST
4039	changes to Tcl_PkgRequireEx.
4040
40412001-05-21  Todd M. Helfter  <tmh@purdue.edu>
4042
4043	* doc/menubutton.n:
4044	* generic/tkMenubutton.c:
4045	* generic/tkMenubutton.h:
4046	* mac/tkMacMenubutton.c:
4047	* tests/menubut.test:
4048	* unix/tkUnixMenubu.c: Implementation of TIP #11, the addition of
4049	a -compound option to the menubutton allowing text and an image to
4050	be displayed at the same time.  This behavior is identical to the
4051	behavior of the button widget.
4052
40532001-05-16  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4054
4055	* doc/console.n: Added - was erroneously placed in Tcl before...
4056
40572001-04-25  Mo DeJong  <mdejong@redhat.com>
4058
4059	* unix/configure: Regen.
4060	* unix/tcl.m4: Update from Tcl.
4061	* win/configure: Regen.
4062	* win/tcl.m4: Update from Tcl.
4063
40642001-04-25  Mo DeJong  <mdejong@redhat.com>
4065
4066	* unix/configure: Regen.
4067	* unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB
4068	commands instead of using a delayed subst variable. Replace
4069	instances of STUB_LIB_FILE with TK_STUB_LIB_FILE.
4070
40712001-04-25  Mo DeJong  <mdejong@redhat.com>
4072
4073	* unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
4074	* unix/configure: Regen.
4075	* unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
4076	instead.
4077
40782001-04-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4079
4080	* generic/tkImage.c (Tk_ImageObjCmd,DeleteImage): Better detection
4081	of deletion when world is falling apart. [Bug #220819]
4082
40832001-04-04  Jeff Hobbs  <jeffh@ActiveState.com>
4084
4085	* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of
4086	service mode to only occur when it was set. [Bug #220948]
4087
40882001-04-03  Jeff Hobbs  <jeffh@ActiveState.com>
4089
4090	* tests/winClipboard.test: improved results for understanding when
4091	tests fail.
4092
4093	* tests/winDialog.test: string totitle'd some results that
4094	expected [pwd] to return a capital drive letter.
4095
4096	* tests/cursor.test: changed tests to use 'heart' cursor because
4097	'arrow' on windows has a pre-skewed use count.
4098
4099	* win/tkWinDialog.c (GetFileNameA): initialize multi to 0.
4100
41012001-04-02  Jeff Hobbs  <jeffh@ActiveState.com>
4102
4103	* win/configure:
4104	* win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]
4105
4106	* generic/tkMenu.c (TkInvokeMenu): checked for menu deletion
4107	before calling associated menu entry command.  [Bug #220821]
4108
4109	* doc/image.n: added warning about names chosen for images.
4110
4111	* generic/tkImgPhoto.c (ImgPhotoCmd): corrected the src and dest
4112	values for $imageName put when -format and -to are used.
4113	[Bug #232741]
4114
4115	* tests/listbox.test: added test listbox-27.1, delete during
4116	scrollbar update
4117	* generic/tkListbox.c (DestroyListbox, ListboxEventProc):
4118	corrected listbox to make proper use of Tcl_EventuallyFree and
4119	protect against unusual listbox deletion.
4120
4121	* tests/entry.test: added tests entry-20.*, delete during widget
4122	activity
4123	* generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the
4124	entry widget to survive deletion while processing scrollbar
4125	updates and validation.
4126
4127	* tests/canvas.test: test of canvas delete during event
4128	* generic/tkCanvas.c (DestroyCanvas, CanvasEventProc): fixed the
4129	canvas to survive deletion during event processing. [Bug #228024]
4130
41312001-04-01  Jeff Hobbs  <jeffh@ActiveState.com>
4132
4133	* README:
4134	* mac/README: updated patchlevel to 8.4a3 and corrected links and
4135	notes.
4136
4137	* generic/tk.h:
4138	* unix/configure.in (TK_PATCH_LEVEL):
4139	* unix/configure:
4140	* unix/tk.spec:
4141	* win/configure.in (TK_PATCH_LEVEL):
4142	* win/configure: updated patchlevel to 8.4a3
4143
41442001-03-30  Jeff Hobbs  <jeffh@ActiveState.com>
4145
4146	* tests/safe.test: added note about correcting failures in
4147	safe.test.
4148	* library/tk.tcl: moved package require msgcat inside if case to
4149	not be used in safe interps.
4150
4151	* win/makefile.vc:
4152	* win/configure:
4153	* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
4154	* win/tkWinInt.h:
4155	* win/tkWinKey.c:
4156	* win/tkWinX.c: added support for changing IME on the fly in
4157	Windows (2000).  (lam) [Patch #402993]
4158
4159	* tests/bind.test (bind-22.18):
4160	* generic/tkBind.c (NameToWindow): handled the error case where a
4161	valid-looking but invalid identifier could be passed in certain
4162	event generate options causing a crash. [Bug #411307]
4163
4164	* win/tkWinWm.c (UpdateWrapper): ensured that the passed in winPtr
4165	had an existent window to operate on. [Bug #409172]
4166
4167	* win/Makefile.in (install-*): improved install-* targets to use
4168	their base build dependency.
4169
4170	* generic/tkImage.c (Tk_ImageObjCmd, EventuallyDeleteImage):
4171	added casts to allow compiling on Windows with debbuging.
4172
41732001-03-29  Jeff Hobbs  <jeffh@ActiveState.com>
4174
4175	* library/msgs/de.msg: fixed translations. [Patch #403525]
4176
4177	* doc/canvas.n: Noted ability to specify coords as a list in the
4178	docs. (techentin) [Patch #403660]
4179
4180	* tests/canvas.test: added test case to check obj conversion
4181	* generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better
4182	obj-aware screen distances.  (pgbaum, hobbs) [Patch #403327]
4183
4184	* library/bgerror.tcl (bgerror): allow focus into details window
4185	for Windows C&P to work. [Bug #220929]
4186
4187	* library/tk.tcl: put a catch around adding <hpBackTab> to the
4188	<<PrevWindow>> virtual event as it doesn't seem to work on all HP
4189	systems. [Bug #411669]
4190
4191	* library/tkfbox.tcl: fixed selecting directories and single files
4192	with spaces using tk_getOpenFile -multiple 1. [Bug #411640]
4193
4194	* win/tkWinDialog.c (GetFileNameA): added support for -multiple to
4195	ascii-based tk_getOpenFile (Win9*). (haneef) [Patch #403047]
4196	(GetFileNameW): increased number of files that could be returned
4197	by tk_getOpenFile -multiple. [Patch #412042]
4198
41992001-03-29  Mo DeJong  <mdejong@redhat.com>
4200
4201	* library/entry.tcl (tkEntryMouseSelect):
4202	* library/text.tcl (tkTextSelectTo): When
4203	the mouse is dragged with the button down,
4204	move the insertion cursor to the current
4205	mouse position.
4206	* tests/event.test: Add a series of tests
4207	for event generation. Add tests for selection,
4208	check the position of the insertion cursor.
4209
42102001-03-28  Jeff Hobbs  <jeffh@gimlet.activestate.com>
4211
4212	* unix/configure:
4213	* unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
4214	(english) [Patch 403626]
4215
42162001-03-28  Don Porter  <dgp@users.sourceforge.net>
4217
4218	* tests/focus.test (focus-6.1):
4219	* tests/macEmbed.test (unixEmbed-5.1):
4220	* tests/macMenu.test (macMenu-21.3):
4221	* tests/menu.test (menu-27.1):
4222	* tests/unixEmbed.test (unixEmbed-8.2):
4223	* tests/unixWm.test (unixWm-50.4):  Replaced all [load {} tk]
4224	in Tk test suite with [load {} Tk].  [Bug 220940, Patch 411952]
4225
42262001-03-12  Don Porter  <dgp@users.sourceforge.net>
4227
4228	BRANCH dgp-privates-into-namespace:
4229	* doc/menu.n:
4230	* unix/mkLinks: Added documentation for [tk_menuSetFocus].
4231
42322001-03-12  Don Porter  <dgp@users.sourceforge.net>
4233
4234	BRANCH dgp-privates-into-namespace:
4235	* doc/text.n:
4236	* doc/tkvars.n:
4237	* unix/mkLinks: Added documentation for commands and variables
4238	matching tk_text*.
4239
42402001-03-08  Don Porter  <dgp@users.sourceforge.net>
4241
4242	BRANCH dgp-privates-into-namespace:
4243	* generic/tkTextDisp.c:
4244	* library/unsupported.tcl:
4245	* tests/textDisp.test: Restored the global variables tk_textRedraw
4246	and tk_textRelayout.  Since they match tk_*, they should remain
4247	publicly available until at least Tk 9.
4248
42492001-03-01  Don Porter  <dgp@users.sourceforge.net>
4250
4251	BRANCH dgp-privates-into-namespace:
4252	* library/unsupported.tcl: New file for Tk's unsupported
4253	interfaces.  Contains [tk::unsupported::ExposePrivateCommand]
4254	and [tk::unsupported::ExposePrivateVariable] that restore the
4255	availability of an old public name of one of Tk's private
4256	commands and variables, respectively, for those applications
4257	and extensions that depend on the old names against advice.
4258
42592001-02-28  Don Porter  <dgp@users.sourceforge.net>
4260
4261	BRANCH dgp-privates-into-namespace:  Feature branch to move all
4262	of Tk's private commands and variable into the ::tk namespace
4263	and its children.
4264
4265	* doc/tkvars.n:  Documented private variable tkPriv renamed tk::Priv.
4266
4267	* generic/tkBind.c:
4268	* generic/tkMenu.c:
4269	* generic/tkTextDisp.c:
4270	* library/bgerror.tcl:
4271	* library/button.tcl:
4272	* library/choosedir.tcl:
4273	* library/clrpick.tcl:
4274	* library/comdlg.tcl:
4275	* library/console.tcl:
4276	* library/dialog.tcl:
4277	* library/entry.tcl:
4278	* library/focus.tcl:
4279	* library/listbox.tcl:
4280	* library/menu.tcl:
4281	* library/msgbox.tcl:
4282	* library/optMenu.tcl:
4283	* library/palette.tcl:
4284	* library/scale.tcl:
4285	* library/scrlbar.tcl:
4286	* library/spinbox.tcl:
4287	* library/tclIndex:
4288	* library/tearoff.tcl:
4289	* library/text.tcl:
4290	* library/tk.tcl:
4291	* library/tkfbox.tcl:
4292	* library/xmfbox.tcl:
4293	* mac/tkMacMenu.c:
4294	* tests/clrpick.test:
4295	* tests/filebox.test:
4296	* tests/macMenu.test:
4297	* tests/menu.test:
4298	* tests/menuDraw.test:
4299	* tests/msgbox.test:
4300	* tests/text.test:
4301	* tests/textDisp.test:
4302	* tests/unixMenu.test:
4303	* tests/winMenu.test:
4304	* tests/xmfbox.test:
4305	* unix/tkUnixDialog.c:  All Tk commands matching ::tk[A-Z]* and
4306	all Tk private variables in the global namespace were renamed to
4307	live in the namespace ::tk or one of its children.
4308
43092001-02-13  Eric Melski  <ericm@interwoven.com>
4310
4311	* doc/photo.n: [Bug 132213] Added clarification on interpretation
4312	of ranges for "photoName data -from" subcommand.
4313
43142001-02-12  D. Richard Hipp  <drh@hwaci.com>
4315
4316	TIP #21: Asymmetric padding in the pack and grid geometry managers.
4317	With this changes, you can now say "-padx {10 20}" to put 10 pixels
4318	of padding on the left and 20 on the right.  Similar rules apply
4319	for vertical padding.  See the revised documentation for details.
4320
43212001-01-02  Andreas Kupries  <a.kupries@westend.com>
4322
4323	Everything below belongs together and implements TIP#8 (SF patch#102833)
4324
4325	* win/tkWinWm.c (line 56f): Added icon structures.
4326	* win/tkWinWm.c (struct WmInfo, line 242): Added reference to
4327	optional icon for titlebar.
4328	* win/tkWinWm.c (struct ThreadSpecificData, line 335): Added
4329	reference to optional default icon for toplevel windows.
4330	* win/tkWinWm.c (line 387 ... 1169): All the new functions required
4331	to deal with icon specifications, 'InitWm' changed.
4332	* win/tkWinWm.c (TkWmNewWindow, UpdateWrapper, TkWmDeadWindow, Tk_WmCmd):
4333	Added initialization and handling of the new fields.
4334	* doc/wm.n: Documentation updated to explain the newly available
4335	functionality.
4336
43372000-12-13  jeff hobbs  <jhobbs@interwoven.com>
4338
4339	* generic/tkObj.c (SetMMFromAny): Added ability to recognize
4340	double type object to speed up canvas coord calculations.
4341	[Patch 403327]
4342
43432000-12-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4344
4345	* doc/entry.n: Improved documentation of interplay between the
4346	-state and -textvariable options.
4347
43482000-11-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4349
4350	* tests/image.test (image-1.10): Improved this test, which
4351	previously only worked if the command failed to delete the root
4352	window, and caused *major* trouble otherwise...
4353	* generic/tkImage.c (EventuallyDeleteImage): Created this function
4354	so that images that get deleted during the creation of an image
4355	won't cause a nasty core dump.  Properly fixes bug #120819.
4356
43572000-11-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4358
4359	* doc/image.n:
4360	* generic/tkImage.c (Tk_ImageObjCmd): Backed out previous change.
4361	Bug #120819 is back again in force.  Left the test in there
4362	though.
4363
43642000-11-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4365
4366	* doc/image.n:
4367	* tests/image.test (image-1.10):
4368	* generic/tkImage.c (Tk_ImageObjCmd): Prohibited image names that
4369	start with "." since they can cause some really obscure crashes.
4370	Fixes Bug #120819.
4371
43722000-11-21  Eric Melski  <ericm@ajubasolutions.com>
4373
4374	Overall change:  Implemented TIP 5, which exports
4375	TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
4376	adding a size field to Tk_ClassProcs to allow for future
4377	expansion, and renaming the geometryProc to worldChangedProc,
4378	which is more in keeping with the actual use of the callback.
4379
4380	* unix/mkLinks: Added link for Tk_SetClassProcs.
4381
4382	* doc/SetClassProcs.3: Documentation for
4383	Tk_ClassProcs/Tk_SetClassProcs.
4384
4385	* generic/tkCanvas.c:
4386	* generic/tkEntry.c:
4387	* generic/tkFrame.c:
4388	* generic/tkListbox.c:
4389	* generic/tkMenu.c:
4390	* generic/tkMessage.c:
4391	* generic/tkScale.c:
4392	* generic/tkText.c: Updated to use Tk_ClassProcs/Tk_SetClassProcs
4393	instead of TkClassProcs/TkSetClassProcs.
4394
4395	* generic/tkMenubutton.c:
4396	* generic/tkScrollbar.c:
4397	* generic/tkButton.c: Updated to use Tk_SetClassProcs instead of
4398	TkSetClassProcs.
4399
4400	* generic/tkMenubutton.h:
4401	* generic/tkScrollbar.h:
4402	* generic/tkButton.h:
4403	* win/tkWinButton.c:
4404	* win/tkWinScrlbr.c:
4405	* mac/tkMacButton.c:
4406	* mac/tkMacMenubutton.c:
4407	* mac/tkMacScrlbr.c:
4408	* unix/tkUnixButton.c:
4409	* unix/tkUnixMenubu.c:
4410	* unix/tkUnixScrlbr.c: Updated to use Tk_ClassProcs instead of
4411	TkClassProcs.
4412
4413	* generic/tkDecls.h:
4414	* generic/tkStubInit.c:
4415	* generic/tkIntDecls.h: Regenned from tk.decls, tkInt.decls.
4416
4417	* generic/tk.h: Added declaration of Tk_ClassProcs, with size
4418	field.  Added typedef's for Tk_ClassCreateProc,
4419	Tk_ClassWorldChangedProc, Tk_ClassModalProc.  Added definition of
4420	Tk_GetClassProc macro, shorthand for extracting a member of the
4421	Tk_ClassProcs structure.
4422
4423	* generic/tkInt.h: Removed declaration of TkClassProcs,
4424	TkClassGeometryProc, etc.
4425
4426	* generic/tkBind.c (Tk_BindEvent): Updated to use Tk_GetClassProc
4427	macro to extract modalProc; added check that the modalProc is non-NULL.
4428
4429	* generic/tkFont.c (RecomputeWidgets): Updated to use
4430	Tk_GetClassProc macro to extract worldChangedProc; added comment
4431	about the choice of a recursive versus iterative algorithm for
4432	propagating world changed messages.
4433
4434	* generic/tkWindow.c (Tk_MakeWindowExist): Updated to use
4435	Tk_GetClassProc macro to extract createProc from Tk_ClassProcs.
4436
4437	* generic/tk.decls: Added declaration for Tk_SetClassProcs.
4438
4439	* generic/tkInt.decls: Commented out declaration for
4440	TkSetClassProcs, which is made public by this change.  The entry
4441	is left in place, but commented, so that future developers will
4442	know not to reuse it's stub number.
4443
44442000-11-21  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
4445
4446	* doc/ConfigWidg.3: Added deprecation note from Bug #120944 - use
4447	Tk_SetOption() instead.
4448
4449	* generic/tkImgPhoto.c (TkPhotoGetValidRegion): Applied patch to
4450	create this function and add it to tkInt stubs.  Should now be
4451	possible to write an extension that accesses the transparency data
4452	in a photo image.  Bug #120930
4453
44542000-11-03  Jeff Hobbs  <hobbs@ajubasolutions.com>
4455
4456	8.4a2 RELEASE
4457
4458	* generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop.
4459	This only has effect when tclsh is run (not wish), and then Tk is
4460	loaded in interactively.
4461
44622000-11-02  Jeff Hobbs  <hobbs@ajubasolutions.com>
4463
4464	* win/tkWinButton.c:
4465	* win/tkWinDialog.c:
4466	* win/tkWinScrlbr.c:
4467	* win/tkWinWm.c: fixed up code for Win64 support.  This mostly
4468	remains in _WIN64 #ifdef's, until updated compilers are standard.
4469
4470	* win/tcl.m4:
4471	* win/makefile.vc: updated for Win64 compile support
4472
4473	* unix/configure:
4474	* win/configure: checked in configure scripts so people doing
4475	CVS checkouts aren't required to have autoconf.  Changes to
4476	configure.in in the future will require the corresponding
4477	configure script to also be re-autoconf'ed and checked in.
4478
4479	* doc/event.n: added note that key events require window focus.
4480
44812000-11-01  Jeff Hobbs  <hobbs@ajubasolutions.com>
4482
4483	* win/tkWinDialog.c (GetFileNameW, GetFileNameA)
4484	(Tk_ChooseDirectoryObjCmd): created
4485	work-around for change in NT5.0/98 that caused no initialdir
4486	setting to open the browser up in the user's documents dir.
4487
4488	* tests/color.test: marked color-2.6 nonPortable as we can't
4489	reliably assume what 'red' maps to.
4490
44912000-11-01  Eric Melski  <ericm@ajubasolutions.com>
4492
4493	* tests/winDialog.test: Corrected expected results for bad option
4494	tests (5.2, 5.5) to include -multiple option.
4495
4496	* win/tkWinDialog.c: Added branch for 0 return from
4497	CommDlgExtendedError() switches; this was formerly treated as an
4498	error, but it actually is not, since it just means the user hit
4499	cancel or closed the dialog.  (GetFileNameW): Added better smarts
4500	such that -multiple is not considered a valid option for
4501	tk_getSaveFile.
4502	Removed CommDlgExtendedError() checks for color and choosedir
4503	dialogs, and removed all except the explicit invalid filename
4504	checks for the file dialogs.
4505
45062000-10-30  David Gravereaux  <davygrvy@ajubasolutions.com>
4507
4508	* win/configure.in:
4509	* win/Makefile.in:
4510	* win/makefile.vc:
4511	* win/rc/tk.rc:
4512	* win/rc/tk_base.rc (new):
4513	* win/rc/wish.rc: Added logic to derive filenames better in the
4514	resource scripts based on compile options along with better
4515	support for building a static wish shell with cursor resources.
4516
45172000-10-27  Jeff Hobbs  <hobbs@ajubasolutions.com>
4518
4519	* unix/tcl.m4: added support for AIX-5.
4520
4521	* tests/tk.test:
4522	* doc/tk.n: updated to reflect default on status of useinputmethods.
4523	* library/tk.tcl: tk useinputmethods is set to 1 by default.  This
4524	enables Kanji and dead-char input by default.  Intro'd in
4525	1999-12-16 with default off to avoid some problems with older X
4526	servers that would slow down widget creation over time.
4527
4528	* win/Makefile.in (test, winhelp, tktest): corrected the
4529	TCL_LIBRARY path specification.
4530
45312000-10-18  Eric Melski  <ericm@ajubasolutions.com>
4532
4533	* win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368],
4534	which corrects rendering of 1-pixel wide stippled lines on Windows.
4535
4536	* generic/tkCanvLine.c (DisplayLine): Applied patch from
4537	[Bug: 6368], corrects bugs relating to use of active- and
4538	disabledwidth values for displaying lines (disabledwidth was never
4539	used, and activewidth/disablewidths would only possibly be used
4540	when greater than default width, rather than when simply not equal
4541	to default width).
4542
4543	* library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],
4544	which adds safety for directory names containing spaces or which
4545	are non-lists.
4546
4547	* win/tkWinDialog.c (GetFileNameW, GetFileNameA)
4548	(Tk_ChooseColorObjCmd, Tk_ChooseDirectoryObjCmd): Added error
4549	checking for the return value from the common dialog functions, so
4550	that the commands will not silently fail if the common dialog
4551	returns an error. [Bug: 6369].
4552
45532000-10-10  Eric Melski  <ericm@ajubasolutions.com>
4554
4555	* generic/tkConfig.c (Tk_InitOptions): Added
4556	Tcl_IncrRefCount/Tcl_DecrRefCount calls on valuePtr, to prevent
4557	memory leaks when the value object comes from the option
4558	database.  [Bug: 6275].
4559
45602000-10-06  Jeff Hobbs  <hobbs@ajubasolutions.com>
4561
4562	* win/Makefile.in (cat32.${OBJEXT}): add win/ subdirectory to
4563	cat32 target to correctly find the source file.
4564
45652000-10-05  Eric Melski  <ericm@ajubasolutions.com>
4566
4567	* generic/tkCmds.c (Tk_WinfoObjCmd): Added check for
4568	TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if
4569	set, the window will not be printed in the list of children.
4570
4571	* doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow.
4572
4573	* generic/tkWindow.c
4574	(Tk_CreateAnonymousWindow): New API for creating anonymous
4575	windows.  These windows are manipulable from C, but not from Tcl,
4576	because they have no pathname associated with them.  They are used
4577	initially by widgets that do rubber-band resizing (panedwindow,
4578	multi-column listbox, etc.), and may be useful for other widgets
4579	as well (dropbox, combobox).
4580	(Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when
4581	determining whether to generate a DestroyNotify event.
4582
4583	* generic/tkStubInit.c:
4584	* generic/tkDecls.h: Regen'd from tk.decls.
4585
4586	* generic/tk.decls: Added Tk_CreateAnonymousWindow declaration.
4587
4588	* generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
4589
45902000-10-04  Eric Melski  <ericm@ajubasolutions.com>
4591
4592	* doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles direct
4593	descendants properly.
4594
4595	* generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for
4596	the case in which the slave window is a direct descendant of the
4597	master window.  In this case, we need not set up the additional
4598	infrastructure normally provide by Tk_MaintainGeometry, because we
4599	can rely on the parent/child relationship to handle it for us
4600	implicitly.  In this case, Tk_MaintainGeometry just calls directly
4601	to Tk_MoveResizeWindow.  This allows geometry managers to simply
4602	always use Tk_MaintainGeometry to maintain geometry for slaves,
4603	and avoid doing the direct descendant check themselves.
4604	(Tk_UnmaintainGeometry): Added a matching check for the direct
4605	descendant case; in this case, Tk_UnmaintainGeometry simply
4606	returns immediately.
4607
46082000-10-01  Eric Melski  <ericm@ajubasolutions.com>
4609
4610	* generic/tkButton.c (ConfigureButton): Added tests for -compound
4611	option, so that when there is a textvariable and an image, and
4612	-compound is not none, the button will display both the
4613	textvariable and the image.
4614
4615	* doc/SetOptions.3: Added note that restoreProc and freeProc may
4616	be NULL.
4617
4618	* generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options,
4619	added test that the restoreProc is not NULL, to allow for custom
4620	options that don't care about supporting Tk_RestoreSavedOptions.
4621
46222000-09-29  D. Richard Hipp <drh@hwaci.com>
4623
4624	* generic/tkBitmap.c: Changes to prevent a BadMatch error from the
4625	Xserver when the same bitmap is used on two or more screens of the
4626	same display.
4627
4628	* tests/menu.test: Print a warning if the TK_ALT_DISPLAY environment
4629	variable is not configured so as to test for the bug fix above.
4630
4631	* library/tk.tcl (::tk::SetGrabFocus): "Catch" the grab in case
4632	another application already holds the grab and the "grab" command
4633	fails.
4634
46352000-09-29  Jeff Hobbs  <hobbs@scriptics.com>
4636
4637	* win/Makefile.in: commented use of TESTFLAGS
4638	* unix/Makefile.in: added TESTFLAGS to test and testlang targets to
4639	conform with Windows makefile and TEA style.
4640
46412000-09-29  Eric Melski  <ericm@ajubasolutions.com>
4642
4643	* generic/tkTest.c: Fixed tests to use updated API.
4644
4645	* doc/SetOptions.3:
4646	* generic/tk.h:
4647	* generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc
4648	and Tk_CustomOptionGetProc; these now take a pointer to the start
4649	of the widget record, and an integer offset to the slot for the
4650	option value, instead of just a pointer to the slot.  This allows
4651	more sophisticated options to do interesting things based on other
4652	data in the widget record.
4653
46542000-09-17  Eric Melski  <ericm@ajubasolutions.com>
4655
4656	* generic/tk.h: Added declaration of Tk_ObjCustomOption structure,
4657	used for TK_OPTION_CUSTOM, and typedef's of the functions
4658	Tk_CustomOptionSetProc, Tk_CustomOptionGetProc,
4659	Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for
4660	TK_OPTION_CUSTOM.
4661
4662	* doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and
4663	section "CUSTOM OPTION TYPES" explaining how to create and use
4664	custom options.
4665
4666	* tests/config.test: Added tests for custom option type.
4667
4668	* generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to
4669	TestobjconfigObjCmd.  Added CustomOption* functions to implement a
4670	test custom option.
4671
4672	* generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM,
4673	which allows the definition of custom option types by creating
4674	parsing, printing, freeing, and restoring procedures for a custom
4675	option.  This is needed by the text and canvas widgets if they are
4676	to be fully objectified.
4677
46782000-09-07  Jeff Hobbs  <hobbs@scriptics.com>
4679
4680	* doc/Tk_Init.3:
4681	* doc/bell.n:
4682	* doc/loadTk.n: minor doc cleanup
4683
46842000-09-06  Eric Melski  <ericm@ajubasolutions.com>
4685
4686	* doc/HWNDToWindow.3:
4687	* doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h
4688	should be included, not tk.h.
4689
4690	* generic/tkPlatDecls.h: Removed #include <windows.h> for Windows,
4691	a better solution for now is to update the docs and have extension
4692	authors #include <tkPlatDecls.h>.
4693
4694	* generic/tk.h: Removed '#include "tkPlatDecls.h"', as the
4695	incorrect inclusion order between windows.h/tkPlatDecls.h causes
4696	build conflicts on Windows.
4697
4698	* generic/tkPlatDecls.h: Added #include <windows.h> for Windows,
4699	so that HWND, etc., are defined properly.
4700
47012000-09-06  Jeff Hobbs  <hobbs@scriptics.com>
4702
4703	* doc/canvas.n: fixed doc bug (ellson). [Bug: 6218]
4704
4705	* README:
4706	* generic/tk.h:
4707	* unix/configure.in:
4708	* unix/tk.spec:
4709	* win/configure.in: updated to patchlevel 8.4a2
4710
4711	* generic/tkMessage.c (MessageWidgetObjCmd): initialized result to
4712	avoid pedantic warning.
4713
4714	* generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t to
4715	int to fix pedantic warning.
4716
47172000-09-01  Eric Melski  <ericm@ajubasolutions.com>
4718
4719	* win/makefile.vc (install-libraries):
4720	* win/Makefile.in (install-libraries):
4721	* unix/Makefile.in (install-libraries): Added tkPlatDecls.h to
4722	list of header files to install.
4723
4724	* generic/tk.h: Added #include "tkPlatDecls.h", which declares the
4725	platform specific component of the public Tk stubs API's.
4726
47272000-08-29  Eric Melski  <ericm@ajubasolutions.com>
4728
4729	* win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC
4730	for determining the source's logical coordinates.  Patch from
4731	[Bug: 6134 (Markus Oberhumer)].
4732
4733	* win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[]
4734	under Windows NT/2000 in the same way as under Windows 95/98.
4735	Patch from [Bug: 6134 (Markus Oberhumer)].
4736
4737	* win/tkWinFont.c (GetScreenFont): Added a memset() to
4738	pacify memory checkers.  Patch from [Bug: 6134 (Markus Oberhumer)].
4739
4740	* library/tkfbox.tcl (::tk::dialog::file::Update): Corrected
4741	handling of multi-pattern filters (eg, "* *.*"), which was broken
4742	by the getOpenFile performance patches applied earlier.
4743
47442000-08-24  Eric Melski  <ericm@ajubasolutions.com>
4745
4746	* doc/toplevel.n:
4747	* doc/spinbox.n:
4748	* doc/scrollbar.n:
4749	* doc/scale.n:
4750	* doc/menubutton.n:
4751	* doc/menu.n:
4752	* doc/listbox.n:
4753	* doc/entry.n:
4754	* doc/frame.n:
4755	* doc/message.n:
4756	* doc/checkbutton.n:
4757	* doc/radiobutton.n:
4758	* doc/button.n:
4759	* doc/label.n:
4760	* doc/canvas.n:
4761	* doc/text.n: Fixed Standard Options section to make best use of
4762	new tab settings in man.macros.
4763
47642000-08-24  Mo DeJong  <mdejong@redhat.com>
4765
4766	* unix/README: Update to account for removal of --enable-gcc.
4767	* unix/configure.in:
4768	* unix/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
4769	* win/configure.in:
4770	* win/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
4771	Remove quick hack that provided cross compile support for
4772	windows builds.
4773
47742000-08-23  Jeff Hobbs  <hobbs@scriptics.com>
4775
4776	* generic/tkButton.c (ButtonTextVarProc): reversed change below,
4777	it was not correct.
4778
47792000-08-22  Jeff Hobbs  <hobbs@scriptics.com>
4780
4781	* generic/tkButton.c (ButtonTextVarProc): changed order of
4782	incr/decr of new value object, in case they are equal.
4783
47842000-08-18  Eric Melski  <ericm@ajubasolutions.com>
4785
4786	* generic/tkImgPhoto.c (ImgPhotoGet): Removed redundant call to
4787	DitherInstance; this call was formerly being made from
4788	ImgPhotoGet->ImgPhotoConfigureInstance->DitherInstance, and
4789	ImgPhotoGet->DitherInstance.  The second call was removed.
4790
47912000-08-10  Jeff Hobbs  <hobbs@scriptics.com>
4792
4793	* doc/SetOptions.3: added missing ')'.
4794
47952000-08-09  Eric Melski  <ericm@ajubasolutions.com>
4796
4797	* doc/SetOptions.3: Updated documentation to reflect support for
4798	TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS.
4799
4800	* generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for
4801	TK_OPTION_DOUBLE and TK_OPTION_PIXELS.
4802
4803	* doc/place.n: Updated, reformatted manual entry.
4804
4805	* tests/place.test: Added many tests.
4806
4807	* generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk
4808	widget-option management facilities to manage place options (-x,
4809	-y, etc.), which simplifies the placer code.  Added support for
4810	[place configure pathName] and [place configure pathName -option],
4811	similar to the behavior of the configure subcommand supported by
4812	widgets.
4813
48142000-08-08  Eric Melski  <ericm@ajubasolutions.com>
4815
4816	* tests/place.test: Extended test suite to test error returns from
4817	[place].
4818
4819	* generic/tkInt.h: Replaced Tk_PlaceCmd prototype with
4820	Tk_PlaceObjCmd prototype.
4821
4822	* generic/tkWindow.c: Updated [place] command entry to use new
4823	Tcl_Obj interface.
4824
4825	* generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.
4826
48272000-08-07  Eric Melski  <ericm@ajubasolutions.com>
4828
4829	* generic/tkWindow.c: Updated [selection] command entry to use
4830	new Tcl_Obj interface.
4831
4832	* generic/tkInt.h: Replaced Tk_SelectionCmd prototype with
4833	Tk_SelectionObjCmd prototype.
4834
4835	* tests/select.test: Updated test suite to recognize standardized
4836	error messages.
4837
4838	* generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified
4839	[selection] command.
4840
48412000-08-07  Jeff Hobbs  <hobbs@scriptics.com>
4842
4843	* doc/cursors.n: changed .SS to more compatible macros.
4844
48452000-08-05  Jeff Hobbs  <hobbs@scriptics.com>
4846
4847	* library/safetk.tcl: rationalized the setting of tk_library when
4848	initialized Tk in a safe interpreter.
4849
48502000-08-03  Eric Melski  <ericm@ajubasolutions.com>
4851
4852	* generic/tkWindow.c: Updated "grab" command entry to use
4853	Tcl_Obj'ified command.
4854
4855	* generic/tkInt.h: Replaced Tk_GrabCmd prototype with
4856	Tk_GrabObjCmd prototype.
4857
4858	* tests/grab.test: Initial suite of tests for [grab] command.
4859
4860	* generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command.
4861
4862	* generic/tkInt.h: Removed Tk_AfterCmd function prototype; the
4863	function does not exist (since 4.0p3).  Cleaned up some line
4864	wrapping.
4865
4866	* generic/tk.h: Removed "#define Tk_AfterCmd Tcl_AfterCmd";
4867	nothing in the core uses Tk_AfterCmd, and Tcl_AfterCmd doesn't exist
4868	anymore anyway.
4869
4870	* generic/tkInt.h: Replace Tk_BindCmd prototype with
4871	Tk_BindObjCmd prototype.
4872
4873	* generic/tkWindow.c: Updated "bind" command entry to use
4874	Tcl_Obj'ified command.
4875
4876	* generic/tkCmds.c (Tk_BindObjCmd): Tcl_Obj'ified [bind] command.
4877
4878	* tests/bind.test: Tweaked expected error messages for [bindtags]
4879	to comply with updated error messages.
4880
4881	* generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd
4882	with equivalent calls to Tk_BindtagsObjCmd.
4883
4884	* generic/tkInt.h: Replace Tk_BindtagsCmd prototype with
4885	Tk_BindtagsObjCmd prototype.
4886
4887	* generic/tkWindow.c: Updated "bindtags" command entry to use
4888	Tcl_Obj'ified command.
4889
4890	* generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags]
4891	command.
4892
48932000-08-02  Eric Melski  <ericm@ajubasolutions.com>
4894
4895	* generic/tkCmds.c (Tk_TkwaitObjCmd): Tcl_Obj'ified [tkwait] command.
4896
4897	* generic/tkWindow.c: Updated "tkwait" command entry to use
4898	Tcl_Obj'ified command.
4899
4900	* generic/tkInt.h: Replace Tk_TkwaitCmd prototype with
4901	Tk_TkwaitObjCmd prototype.
4902
4903	* generic/tkGrid.c (Tk_GridCmd): Split [grid] subcommands into
4904	separate functions instead of inlining them all in Tk_GridCmd.
4905
49062000-08-01  Eric Melski  <ericm@ajubasolutions.com>
4907
4908	* generic/tkInt.h: Replaced prototype for Tk_MessageCmd with
4909	prototype for Tk_MessageObjCmd.
4910
4911	* generic/tkWindow.c: Marked message command as using the new
4912	MessageObjCmd instead of the old MessageCmd.
4913
4914	* tests/message.test: Added tests for the message widget.
4915
4916	* generic/tkMessage.c: Obj'ified the message widget.
4917
4918	* generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added
4919	prototype for Tk_ClipboardObjCmd.
4920
4921	* generic/tkWindow.c: Updated function pointers for clipboard
4922	command to use Tcl_Obj version.
4923
4924	* tests/clipboard.test: Updated tests to expect standard error
4925	messages.
4926
4927	* generic/tkClipboard.c (Tk_ClipboardObjCmd): Obj'ified
4928	Tk_ClipboardCmd -> Tk_ClipboardObjCmd.
4929
49302000-07-28  Eric Melski  <ericm@ajubasolutions.com>
4931
4932	* unix/tkUnixButton.c (TkpDisplayButton): Added bits to change
4933	the indicator color when radio-/check-buttons are disabled.  This
4934	reduces the visual incongruity when a group of these controls are
4935	disabled together.
4936
4937	* win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit
4938	for disabled menu entries, to ensure that those which are drawn by
4939	the system are shown grayed (such as entries on menubars) [Bug: 4372].
4940
4941	* doc/label.n: Added -disabledforeground to list of options [Bug:
4942	6053].
4943
4944	* mac/tkMacDefault.h:
4945	* unix/tkUnixDefault.h: Added default values for listbox
4946	disabledforeground and state.
4947
4948	* win/tkWinDefault.h: Changed default listbox background color to
4949	white and listbox selection borderwidth to 0, in keeping with the
4950	"Microsoft Windows User Experience"; added default values for
4951	listbox disabledforeground and listbox state.
4952
4953	* doc/listbox.n: Added documentation for -state option.
4954
4955	* generic/tkListbox.c: Added support for -state to listbox. [RFE:
4956	6052].
4957
4958	* tests/listbox.test: Tests for listbox disabled state.
4959
49602000-07-27  Mo DeJong  <mdejong@redhat.com>
4961
4962	* win/configure.in: TCL_STUB_LIB_FLAG and
4963	TK_STUB_LIB_FLAG should not include ${TCL_DBGX}
4964	in win/tkConfig.sh, fix that.
4965
49662000-07-25  Joe English  <jenglish@flightlab.com>
4967
4968	* doc: CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3,
4969	FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n:
4970	Documentation fix: Replaced references to XFontStruct *
4971	and Tk_FontStruct with Tk_Font.
4972
49732000-07-24  Eric Melski  <ericm@ajubasolutions.com>
4974
4975	* tests/text.test: Added tests for -regexp -nocase searches with
4976	backslash character classes.
4977
4978	* generic/tkText.c (TextSearchCmd): Text search did not work
4979	properly when -regexp and -nocase were used, in combination with
4980	backslash character classes represented by capital letters (ie,
4981	\W, \M); altered implementation of -regexp -nocase searches to use
4982	new regexp interfaces to fix this problem.  [Bug: 5988].
4983
49842000-07-21  Eric Melski  <ericm@ajubasolutions.com>
4985
4986	* tests/text.test: Added tests for searching when text is elided.
4987
4988	* generic/tkText.c (TextSearchCmd): Text search was not returning
4989	the correct index when the search covered (but did not search)
4990	elided characters; corrected this by adjusting the match index by
4991	the number of elided characters preceeding the start of the match,
4992	just as is done with embedded windows, etc. [Bug: 5470].
4993
49942000-07-21  Mo DeJong  <mdejong@redhat.com>
4995
4996	* win/configure.in: Add TK_STUB_LIB_FLAG and
4997	TK_BUILD_STUB_LIB_SPEC. These are needed to build a stub enabled
4998	extension.
4999
50002000-07-20  Eric Melski  <ericm@ajubasolutions.com>
5001
5002	* unix/tkUnixDraw.c (TkScrollWindow): Replaced a use of a trinary
5003	operator with an if/else, to avoid build problems on some
5004	platforms [Bug: 5819].
5005
5006	* win/makefile.vc: Applied patch from Don Porter to enhance nmake
5007	support on NT/Alpha [RFE: 5939].
5008
50092000-07-19  Eric Melski  <ericm@ajubasolutions.com>
5010
5011	* library/text.tcl: Enhanced <Tab> binding to behave like normal
5012	<Tab> bindings when the text widget is disabled (ie, it advances
5013	focus to the next widget).
5014
5015	* generic/tkText.c (TextSearchCmd): Added a test for a NULL
5016	segment pointer when doing backwards searches for "" on an empty
5017	text widget. [Bug: 6007].
5018
50192000-07-18  Mo DeJong  <mdejong@redhat.com>
5020
5021	* unix/aclocal.m4: Use tcl.m4.
5022
5023	* unix/configure.in: Properly quote LOCALES variable. Properly quote
5024	argument to m4 macro.
5025
5026	* unix/tcl.m4: Add updated file from tcl.
5027
5028	* win/tcl.m4: Updated file from tcl.
5029
50302000-07-18  Eric Melski  <ericm@ajubasolutions.com>
5031
5032	* library/tkfbox.tcl: Fixed keyboard navigation in the iconlist.
5033
5034	* unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIB
5035	for shared builds, with patch from Mike Hopkirk.
5036
50372000-07-18  Mo DeJong  <mdejong@redhat.com>
5038
5039	* win/Makefile.in: Fix TCL_GENERIC_DIR variable
5040	so that it uses the TK_SRC_DIR in the same way
5041	as the unix version.
5042
50432000-07-17  David Gravereaux  <davygrvy@ajubasolutions.com>
5044
5045	* generic/tkConsole.c: Added comments for a Win2K OS bug with
5046	GetStdHandle(STD_OUTPUT_HANDLE).  No change was done to the code
5047	as the resulting behaviour of ShouldUseConsoleChannel() was
5048	correct, anyways. [BUG: 5971]
5049
50502000-07-17  Eric Melski  <ericm@scriptics.com>
5051
5052	* generic/tkStubImg.c (Tk_InitImageArgs): Applied patch from [Bug:
5053	5990], from Anselm Lingnau, which correctly sets the value of
5054	useNewImage to 0 when the new image system is not to be used,
5055	instead of leaving it at -1, which causes the check to be
5056	performed more times than is really necessary.
5057
5058	* library/bgerror.tcl: Fixed a typo in one of the bgerror dialog
5059	label.
5060
5061	* library/msgs/it.msg: Italian message catalog, from Paolo
5062	Brutti. [RFE: 6012].
5063
50642000-07-07  Eric Melski  <ericm@ajubasolutions.com>
5065
5066	* library/msgs/el.msg: Greek message catalog, from George Petasis.
5067
50682000-07-07  Mo DeJong  <mdejong@redhat.com>
5069
5070	* win/configure.in: Fix subst of TK_SHARED_BUILD
5071	variable in tkConfig.sh.in. Fix definition of
5072	TK_SRC_DIR variable so that it matches the
5073	unix version.
5074
50752000-07-05  Mo DeJong  <mdejong@redhat.com>
5076
5077	* generic/tkFileFilter.c (AddClause): Cast to match function prototype.
5078	* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
5079	* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
5080	Remove unused declarations.
5081	* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
5082	function declarations.
5083	* win/tkWinDialog.c (TrySetDirectory): Remove unused function
5084	declaration.
5085	* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function
5086	prototype.
5087	* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused
5088	declaration.
5089	* win/tkWinWindow.c (StackWindow): Remove unused declaration.
5090	* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
5091	* win/tkWinX.c (winXMutex): Remove unused declaration.
5092	* xlib/ximage.c (XCreateBitmapFromData): Cast to match function
5093	prototype.
5094
50952000-07-05  Eric Melski  <ericm@ajubasolutions.com>
5096
5097	* tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823].
5098
5099	* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
5100	problem with the GIF writing code [Bug:	5823].
5101
5102	* generic/tkCursor.c: Added initialization for nextPtr field of
5103	TkCursor, patch from Nijtmans/Howlett.
5104
51052000-07-05  Eric Melski  <ericm@ajubasolutions.com>
5106
5107	* library/msgs/nl.msg: Dutch message catalog for dialogs, from Jan
5108	Nijtmans.
5109
51102000-06-30  Eric Melski  <ericm@scriptics.com>
5111
5112	* doc/keysyms.n:
5113	* doc/colors.n: Added extra .CE/.CS pairs to break up the large
5114	text block, so that the generated Windows help file could
5115	accomodate the manual entry. [Bug: 5862]
5116
5117	* tests/filebox.test: Adjusted tests to accomodate -multiple.
5118
5119	* library/xmfbox.tcl: Adjusted arguments list construction such
5120	that -multiple is not presented as an option for tk_getSaveFile.
5121
5122	* library/tk.tcl: Added test for safe interpreter status before
5123	attempting to load message catalogs (which is impossible in a
5124	standard safe interpreter).  This means that SafeTk will not have
5125	localized dialogs, unless a means is found for loading the message
5126	catalog files.
5127
51282000-06-29  Eric Melski  <ericm@scriptics.com>
5129
5130	* library/msgs/de.msg: German message catalog.
5131
5132	* library/msgs/en.msg: English message catalog.
5133
5134	* library/msgs/es.msg: Spanish message catalog.
5135
5136	* library/msgs/fr.msg: French message catalog.
5137
5138	* unix/Makefile.in:
5139	* unix/configure.in:
5140	* library/tk.tcl:
5141	* library/clrpick.tcl:
5142	* library/choosedir.tcl:
5143	* library/console.tcl:
5144	* library/msgbox.tcl:
5145	* library/tkfbox.tcl:
5146	* library/xmfbox.tcl:
5147	* library/bgerror.tcl: Applied patches from Laurent Duperval to
5148	provide localization of Tk dialogs. [RFE: 2671].
5149
51502000-06-27  Eric Melski  <ericm@scriptics.com>
5151
5152	* generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from
5153	[Bug: 5275], which corrected a segfault-causing indexing problem
5154	when deleting entries from torn-off menus.
5155
51562000-06-22  Eric Melski  <ericm@ajubasolutions.com>
5157
5158	* doc/getOpenFile.n: Updated with information about -multiple.
5159
5160	* library/choosedir.tcl: Tweaked to handle modified tkIconList API's.
5161
5162	* library/tkfbox.tcl: Preliminary implementation of multiple
5163	selection; based on patch from [RFE: 604].  Some of the tkIconList
5164	functions changed to support this and to make the dialog faster.
5165
5166	* library/xmfbox.tcl: Added support for multiple selection, from
5167	patch in [RFE: 4999].
5168
51692000-06-21  Eric Melski  <ericm@scriptics.com>
5170
5171	* library/text.tcl: Corrected behavior of text widget with respect
5172	to this sequence of events:  click, shift-click.  Previously, the
5173	shift-click just moved the cursor and anchor; now, the shift-click
5174	will select the text between the click and the shift-click, which
5175	is the behavior most users expect. [Bug: 5929].
5176
51772000-06-19  Eric Melski  <ericm@scriptics.com>
5178
5179	* library/bgerror.tcl: Added auto-truncation for long error
5180	messages (more than 30 characters wide, or more than 4 lines
5181	long), so that the dialog remains a manageable size. [RFE: 5782]
5182
51832000-06-15  Eric Melski  <ericm@scriptics.com>
5184
5185	* win/tkWinDialog.c: Patched to support tk_getOpenFile
5186	-multiple. [RFE: 604].
5187
51882000-06-13  Eric Melski  <ericm@scriptics.com>
5189
5190	* win/aclocal.m4:
5191	* win/configure.in:
5192	* win/Makefile.in: Applied patch from [RFE: 5844], to provide
5193	support for the mingw compile environment for Windows.
5194
51952000-06-06  Jeff Hobbs  <hobbs@scriptics.com>
5196
5197	8.4a1 RELEASE
5198
51992000-06-03  Jeff Hobbs  <hobbs@scriptics.com>
5200
5201	* doc/CrtCmHdlr.3: new doc for ClientMessage handler procs
5202	* generic/tk.h: added typdef for Tk_ClientMessageProc
5203	* generic/tkStubInit.c:
5204	* generic/tkDecls.h:
5205	* generic/tk.decls: Added Tk_CreateClientMessageHandler and
5206	Tk_DeleteClientMessageHandler declarations.
5207	* generic/tkEvent.c (Tk_HandleEvent): Added
5208	Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to
5209	allow adding event handlers that invoke for ClientMessage events.
5210	This is necessary to support unix dnd protocols.
5211
52122000-06-02  Jeff Hobbs  <hobbs@scriptics.com>
5213
5214	* canvas.test: added test for 5783.
5215	* generic/tkCanvPoly.c (DisplayPolygon): added checks for the
5216	polygon fillGC not being empty to prevent segfault. [Bug: 5783]
5217
52182000-05-31  Eric Melski  <ericm@scriptics.com>
5219
5220	* library/bgerror.tcl: Improved bgerror based on work by Donal
5221	K. Fellows; no longer dependent on tk_dialog; features a
5222	Windows-esque "Details" button, and a customizable extra function
5223	button that allows the user to (for example) save the stack trace
5224	to a file.
5225
52262000-05-30  Eric Melski  <ericm@scriptics.com>
5227
5228	* generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be
5229	static char arrays with integer initialization, to address EBCIDIC
5230	vs. ASCII encoding issues and to handle compilers that don't deal
5231	with "\xAB" syntax for specifying hex values in strings.
5232
52332000-05-28  Jeff Hobbs  <hobbs@scriptics.com>
5234
5235	* doc/spinbox.n: (new file) docs for spinbox widget
5236	* generic/tkInt.h: added Tk_SpinboxObjCmd declaration
5237	* generic/tkEntry.c: added 'spinbox' widget - an extension of the
5238	entry widget type.
5239	* generic/tkWindow.c: added 'spinbox' to core Tk commands
5240	* library/spinbox.tcl: (new file) binding and helper procs for spinbox
5241	* library/tk.tcl: added spinbox.tcl to list of files to source
5242	* tests/entry.test: updated changed error messages
5243	* tests/spinbox.test: (new file) test suite for spinbox
5244
5245	* generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave
5246	table init'n to prevent seg fault when using place on multiple
5247	displays.
5248
5249	* generic/tk.h: added comments ot Tk_FakeWin structure
5250
52512000-05-26  Eric Melski  <ericm@scriptics.com>
5252
5253	* generic/tkOption.c (Tk_GetOption): Extended Tk_GetOption to
5254	support a new syntax for option names in option tables.  If the
5255	option name has an embedded ".", it indicates that the name field
5256	contains both an option name and an overriding widget class, in
5257	the form "class.option".  The lookup for the option value will be
5258	performed as though the widget class is that specified, rather
5259	than the actual widget class.
5260	(SetupStacks): Replaced several lines of array element copying
5261	with a for loop for conciseness.
5262
52632000-05-25  Eric Melski  <ericm@scriptics.com>
5264
5265	* library/button.tcl: Tweaks for -overrelief handling on Windows.
5266
5267	* doc/radiobutton.n: Added documentation for -overrelief option.
5268
5269	* doc/checkbutton.n: Added documentation for -overrelief option.
5270
5271	* doc/label.n: Added documentation for -state option.
5272
5273	* generic/tkButton.c: Added -overrelief option for checkbuttons,
5274	and radiobuttons.
5275
5276	* library/button.tcl (tkButtonDown, macintosh version): Added
5277	protection against querying the -repeatdelay option from a widget
5278	that doesn't support it (ie, checkbuttons, radiobuttons, etc).
5279	Other platforms use a different binding script for checkbuttons
5280	and radiobuttons, so they don't have this issue.
5281	(tkCheckRadioEnter, windows version):  Added code to handle
5282	-overrelief for check/radiobuttons on windows.
5283
52842000-05-22  Eric Melski  <ericm@scriptics.com>
5285
5286	* generic/tkButton.c: Added -activeforeground, -activebackground
5287	for labels, for the -state option.
5288
5289	* doc/label.n: Added documentation for -state option,
5290	-activeforeground, -activebackground.
5291
52922000-05-22  Jeff Hobbs  <hobbs@scriptics.com>
5293
5294	* win/Makefile.in (install-libraries): corrected to install X
5295	headers [Bug: 5516]
5296
5297	* doc/bind.n:
5298	* doc/canvas.n:
5299	* doc/entry.n:
5300	* doc/listbox.n:
5301	* doc/photo.n: doc fix-ups [Bug: 5396]
5302
53032000-05-17  Jeff Hobbs  <hobbs@scriptics.com>
5304
5305	* doc/bell.n:
5306	* tests/bell.test:
5307	* generic/tkCmds.c (Tk_BellObjCmd): added -nice option to
5308	optionally avoid resetting screen saver [Bug: 4279]
5309
53102000-05-15  Jeff Hobbs  <hobbs@scriptics.com>
5311
5312	* win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idle
5313	callback to calling restack and focus code immediately.
5314
53152000-05-17  Eric Melski  <ericm@scriptics.com>
5316
5317	Overall change:  Added "-readonlybackground" option for entries,
5318	to enable a visual change when state goes to readonly.
5319
5320	* mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR)
5321	(DEF_ENTRY_READONLY_BG_COLOR):
5322	* win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR)
5323	(DEF_ENTRY_READONLY_BG_COLOR):
5324	* unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR)
5325	(DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry
5326	-readonlybackground option.
5327
5328	* generic/tkEntry.c: Added -readonlybackground option, cleaned up
5329	excessive use of graphics contexts.
5330
5331	* tests/entry.test: Added configuration test for
5332	-readonlybackground option.
5333
5334	* doc/entry.n: Added documentation for -readonlybackground option.
5335
5336	Overall change:  changed implementation of "link" relief for
5337	buttons.  Instead of a new relief style (-relief link), there is a
5338	new option, -overrelief, which if set is used when the mouse is
5339	over the button.
5340
5341	* doc/SetOptions.3: Added information about TK_OPTION_NULL_OK with
5342	TK_OPTION_RELIEF.
5343
5344	* win/tkWinButton.c: Removed bits about TK_RELIEF_LINK.
5345
5346	* tests/button.test: Added tests for -overrelief; removed tests
5347	for -relief link.
5348
5349	* mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK.
5350
5351	* generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK.
5352
5353	* generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added
5354	support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF.
5355
5356	* library/button.tcl: Added binding support for -overrelief.
5357
5358	* generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL.
5359
5360	* generic/tkButton.c: Added -overrelief option; removed
5361	Enter/Leave EventProc masks and handlers.
5362
5363	* generic/tk.h: Added TK_RELIEF_NULL definition, removed
5364	TK_RELIEF_LINK.
5365
5366	* mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF):
5367	* win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF):
5368	* unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default
5369	value for the -overrelief option.
5370
53712000-05-16  Eric Melski  <ericm@scriptics.com>
5372
5373	* win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the
5374	MF_SEPARATOR bit for SEPARATOR_ENTRY menu items.  This causes
5375	separator entries on the system menu to be drawn correctly [Bug: 5451].
5376
53772000-05-15  Eric Melski  <ericm@scriptics.com>
5378
5379	* doc/image.n: Added documentation for [image inuse] command.
5380
5381	* tests/image.test: Added tests for [image inuse] command.
5382
5383	* generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command,
5384	which provides a means for programmers to determine if a given
5385	image is in use by any widgets. [RFE: 3327].
5386
53872000-05-14  Eric Melski  <ericm@scriptics.com>
5388
5389	* doc/clipboard.n: Added documentation for "clipboard get".
5390
5391	* generic/tkClipboard.c (Tk_ClipboardCmd): Added "clipboard get"
5392	subcommand [RFE: 4628].
5393
5394	* tests/clipboard.test: Updated to use "clipboard get" instead of
5395	"selection get -s CLIPBOARD".
5396
5397	* library/entry.tcl: Adjusted Button-1 binding to set focus to the
5398	entry when it is readonly or normal.
5399
5400	* doc/entry.n: Added documentation for readonly state,
5401	-disabledforeground, -disabledbackground.
5402
5403	* tests/entry.test: Added tests for readonly state.
5404
5405	* generic/tkEntry.c: Added support for "readonly" state, and
5406	redefined "disabled" state.  A disabled entry will display its
5407	text in a dimmed color and possibly with a different background,
5408	and will be completely unusable (no selection, no editing).  A
5409	readonly entry will look like a normal entry, but it will not be
5410	editable; selection is still allowed. [RFE: 4239].  To support the
5411	new disabled state properly, "-disabledforeground" and
5412	"-disabledbackground" options were added.
5413	*** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE ***
5414
5415	* win/tkWinDefault.h:
5416	* mac/tkMacDefault.h:
5417	* unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG,
5418	DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
5419
54202000-05-12  Eric Melski  <ericm@scriptics.com>
5421
5422	* unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
5423	* mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
5424	* win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
5425	Added code for drawing compound buttons.
5426
5427	* tests/button.test: Added configuration tests for -repeatdelay,
5428	-repeatinterval, -compound.
5429
5430	* library/button.tcl: Added support for -repeatedelay,
5431	-repeatinterval options.
5432
5433	* generic/tkOldConfig.c: Changed handling of link relief so that
5434	proper error messages are used.
5435
5436	* generic/tkButton.h: Added -compound, -repeatdelay,
5437	-repeatinterval options.
5438
5439	* generic/tkButton.c: Added event watchers for enter/leave events,
5440	for link relief support.
5441
5442	* generic/tk3d.c: Changed handling of link relief so that proper
5443	error messages are used.
5444
5445	* generic/tk.h: Changed values of
5446	TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.
5447
54482000-05-12  Jeff Hobbs  <hobbs@scriptics.com>
5449
5450	* win/tkWinFont.c (LoadFontRanges): improved support for all chars
5451	in 0-255 range for bitmap ANSI fonts.  May be improved to handle
5452	bitmap non-ANSI fonts in the future. [Bug: 2172]
5453
5454	* win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOW
5455	to flag check to prevent timing related core dump. [Bug: 5438]
5456
54572000-05-11  Jeff Hobbs  <hobbs@scriptics.com>
5458
5459	* win/tkWinTest.c (TestclipboardObjCmd): ensured CloseClipboard
5460	would always get called for each OpenClipboard.
5461
5462	* tests/focus.test (focusSetupAlt): removed wm withdraw from proc
5463	as it would cause a hang for tkwait visibility
5464
5465	* tests/menu.test:
5466	* generic/tk3d.c:
5467	* generic/tkColor.c:
5468	* generic/tkCursor.c: corrected handling of 3DBorder, Cursor and
5469	Color objects on multiple screens. [Bug: 5454]
5470
54712000-05-09  Eric Melski  <ericm@scriptics.com>
5472
5473	* doc/button.n: Added documentation for link relief.
5474
5475	* tests/button.test: Added tests for link relief for buttons.
5476
5477	* generic/tk.h (TK_CONFIG_LINK_OK): Added definition of
5478	TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348]
5479
5480	* generic/tk3d.c: Added support for link relief. [RFE: 4348]
5481
5482	* mac/tkMacButton.c (TkpDisplayButton):
5483	* unix/tkUnixButton.c (TkpDisplayButton): Added support for link
5484	relief. [RFE: 4348]
5485
5486	* generic/tkOldConfig.c (Tk_ConfigureWidget):
5487	* generic/tkConfig.c (DoObjConfig): Added understanding of link
5488	relief, which is allowed only for widgets that have
5489	TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief"
5490	option. [RFE: 4348]
5491
5492	* generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option
5493	for buttons. [RFE: 4348]
5494
5495	* win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW
5496	style bit, so that transient windows have full-size titlebars
5497	(like the tk_getOpenFile dialog).
5498
5499	* win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height
5500	requested for separator bars to be (linespace - (2*descent))
5501	instead of just (linespace); this makes the separator occupy a
5502	more correct amount of vertical space. [Bug: 5303].
5503
55042000-05-09  Jeff Hobbs  <hobbs@scriptics.com>
5505
5506	* library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372]
5507
55082000-05-02  Jeff Hobbs  <hobbs@scriptics.com>
5509
5510	* README:
5511	* generic/tk.h:
5512	* library/tk.tcl:
5513	* mac/README:
5514	* unix/README:
5515	* unix/configure.in:
5516	* unix/tk.spec:
5517	* win/README:
5518	* win/aclocal.m4:
5519	* win/configure.in:
5520	* win/makefile.vc: updated patchlevel to 8.4a1
5521
5522	* unix/Makefile.in: added tk.spec to dist target
5523
55242000-04-27  Eric Melski  <ericm@scriptics.com>
5525
5526	* doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].
5527
5528	* doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
5529
5530	* doc/colors.n: Man page enumerating valid color names [RFE: 1645].
5531
5532	* doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645].
5533
5534	* library/msgbox.tcl: Corrected Unix tk_messageBox implementation
5535	to make the first button the default when no default is specified
5536	[Bug: 2218].
5537
5538	* doc/messageBox.n: Updated documentation with regards to
5539	selection of default button when none is specified (now it will
5540	use the first button as the default in that case) [Bug: 2218].
5541
55422000-04-26  Jeff Hobbs  <hobbs@scriptics.com>
5543
5544	8.3.1 RELEASE
5545
5546	* README:
5547	* mac/README:
5548	* unix/README:
5549	* unix/tk.spec:
5550	* win/README: Updating URLs to reference dev.scriptics.com
5551
55522000-04-25  Jeff Hobbs  <hobbs@scriptics.com>
5553
5554	* unix/Makefile.in:
5555	* win/Makefile.in: makefile cleanup
5556
55572000-04-25  Eric Melski  <ericm@scriptics.com>
5558
5559	* generic/tkMain.c: Fixed function header comment for Tk_MainEx.
5560
5561	* unix/mkLinks:
5562	* doc/GetScroll.3: Added information about Tk_GetScrollInfoObj
5563	[Bug: 1866].
5564
55652000-04-24  Eric Melski  <ericm@scriptics.com>
5566
5567	* unix/mkLinks:
5568	* doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
5569
5570	* unix/mkLinks:
5571	* doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
5572
5573	* unix/mkLinks:
5574	* doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].
5575
55762000-04-24  Jeff Hobbs  <hobbs@scriptics.com>
5577
5578	* generic/tkImage.c (Tk_PostscriptImage): added check to create
5579	necessary prolog for photos
5580	* generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for
5581	photo images
5582	* generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that
5583	in as ps proc in tkPhotoImageType.
5584	* generic/tkStubInit.c:
5585	* generic/tkDecls.h:
5586	* generic/tk.decls: added Tk_PostscriptPhoto
5587
5588	* generic/tkConfig.c (DoObjConfig): removed direct setting of
5589	interp->result.
5590
5591	* mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in
5592	colormapwindows case (bug found by Reasoning, Inc's automated code
5593	testing).
5594
55952000-04-24  Eric Melski  <ericm@scriptics.com>
5596
5597	* unix/mkLinks:
5598	* doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
5599
5600	* unix/mkLinks:
5601	* doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
5602
5603	* unix/mkLinks:
5604	* doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
5605
56062000-04-22  Jim Ingham	<jingham@cygnus.com>
5607
5608	* mac/tkMacDialog.c (Tk_MacGetOpenFile): Add empty bodies for the
5609	"-initialfile" and "-defaultextension" options.
5610
5611	* mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up
5612	into a list if multiple is true.
5613
5614	* mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile"
5615	instead of hand-coding the dialog with StandardGetFile.  This way
5616	we get the Navigation dialogs for free.
5617
5618	* doc/getOpenFile.n: Document the -multiple and -message flags
5619	which are only implemented on the Mac.  Also note that the -title
5620	works on the Mac with Nav Services installed.
5621
56222000-04-19  Eric Melski  <ericm@scriptics.com>
5623
5624	* doc/WinViewable.3:
5625	* unix/mkLinks: Removed docs for Tk_IsViewable.
5626
5627	* win/tkWinDialog.c: Removed calls to Tk_IsViewable.
5628
5629	* generic/tkUtil.c:
5630	* generic/tkStubInit.c:
5631	* generic/tkDecls.h:
5632	* generic/tkCmds.c:
5633	* generic/tk.decls: Removed Tk_IsViewable function (it was not
5634	actually needed).
5635
56362000-04-19  Jeff Hobbs  <hobbs@scriptics.com>
5637
5638	* win/aclocal.m4: made SC_PROG_TCLSH search specifically for
5639	tclsh*.exe type files to find an executable.
5640
5641	* win/Makefile.in: fixed up cleanup, winhelp, cat32 targets
5642
5643	* library/console.tcl: made console use systemfixed font on Win
5644
5645	* generic/tkEntry.c: removed unnecessary ENTRY_VALIDATE #define
5646
56472000-04-19  Eric Melski  <ericm@scriptics.com>
5648
5649	* generic/tkRectOval.c (ConfigureRectOval): Added checks for valid
5650	outline settings before creating of outline GC; this means that it
5651	is really possible now to have an oval or rectangle with no
5652	outline.  [Bug: 5029].
5653
56542000-04-19  Jeff Hobbs  <hobbs@scriptics.com>
5655
5656	* library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):
5657	* library/tkfbox.tcl (::tk::dialog::file::Config): removed the
5658	extraneous glob on -initialdir after file isdir already returned 1
5659	and moved cd trick into this case as the else already uses [pwd].
5660	[Bug: 5181]
5661
5662	* win/winMain.c: moved extern call out of WinMain func
5663
5664	* README:
5665	* generic/tk.h:
5666	* unix/configure.in:
5667	* unix/tk.spec:
5668	* win/configure.in: bumped to version 8.3.1
5669
5670	* library/msgbox.tcl (tkMessageBox): changed to use grid in some
5671	places, realign icon to anchor nw.
5672
5673	* mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it
5674	was accidentally bumped forward).
5675
56762000-04-18  Eric Melski  <ericm@scriptics.com>
5677
5678	* win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState to
5679	ALT_MASK, to fix some event problems [Bugs: 1160, 5088].
5680
5681	* win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix
5682	some event problems [Bugs: 1160, 5088].
5683
5684	* generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here
5685	so that it would be accessible from other modules than tkBind.c.
5686
5687	* generic/tkBind.c: Added code in BindEvent to check for ALT_MASK
5688	and META_MASK in the event state field, as this field may not be
5689	set up with the correct display modifier mask bits if the XEvent
5690	structure was created by [event generate] or by the Windows X
5691	emulation. [Bugs: 1160, 5088].
5692
56932000-04-18  Scott Redman  <redman@HILO>
5694
5695	* win/tk.rc:
5696	* win/wish.rc:
5697	* win/wish.ico:  Modified copyright dates in Windows resource
5698	files.  Updated the icon for wish.exe.
5699
57002000-04-17  Eric Melski  <ericm@scriptics.com>
5701
5702	* win/tkWinDialog.c: Added checks for visibility of parent window
5703	before creating MessageBox and ChooseColor dialogs; this prevents
5704	the application from locking when the parent is withdrawn and the
5705	message box is created.  In these cases, the window will be
5706	created without a parent.
5707
5708	* unix/mkLinks: Added WinViewable.3.
5709
5710	* tests/msgbox.test: Added tests for patch from [Bug: 4997].
5711
5712	* library/msgbox.tcl:
5713	* library/dialog.tcl: Applied patch from [Bug: 4997]; detaches
5714	dialog window from parent if parent is not viewable.
5715
5716	* library/bgerror.tcl: Removed workaround from [Bug: 4370]; this
5717	is superceeded by patches to dialog.tcl.
5718
5719	* generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable
5720	function to determine visibility of windows instead of inlining
5721	the code.
5722
5723	* generic/tkStubInit.c:
5724	* generic/tkDecls.h:
5725	* generic/tk.decls: Added Tk_IsViewable declaration.
5726
57272000-04-17  Eric Melski  <ericm@scriptics.com>
5728
5729	* library/text.tcl: Tweaked double-/triple-click selection;
5730	previously, anchor and insert marks were placed in unexpected
5731	locations following a double or triple click.  Now they are placed
5732	logically.  Also tweaked the extension of selection via
5733	shift-double-clicks so that it no longer selects the contiguous
5734	whitespace on the side of the selection opposite the
5735	double-click. [RFE: 4253].
5736
5737	* doc/menu.n: Added note regarding rendering of
5738	checkbuttons/radiobuttons in menubars on different platforms --
5739	some systems do not draw indicators for check/radiobuttons in
5740	menubars.
5741
5742	* library/menu.tcl: Corrected behavior of
5743	checkbuttons/commands/radiobuttons in menubars [Bug: 630].
5744
5745	* tests/grid.test: Added test for [grid propagate . 0] to not toggle.
5746
5747	* generic/tkGrid.c: Fixed bogus logic in [grid propagate] that
5748	caused [grid propagate . 0] to act as a toggle instead of an
5749	absolute set. [Bug: 2286].
5750
57512000-04-16  Jeff Hobbs  <hobbs@scriptics.com>
5752
5753	* win/tkWinColor.c (FindSystemColor): correct calculation of
5754	colors when shifting value. [Bug: 4919]
5755
57562000-04-16  Jim Ingham  <jingham@cygnus.com>
5757
5758	* mac/tkMacPort.h: protect against strncasecmp already defined -
5759	it is in the Pro5 version of MSL.
5760
5761	* mac/tkMacWindowMgr.c (GenerateKeyEvent): Check for a null tkWin.
5762	If the hidden window we use for double-buffering controls manages
5763	to percolate to the top (should never happen, but...) this will
5764	keep us from crashing.
5765
5766	* mac/tkMacButton.c (InitSampleControls): Hide the
5767	double-buffering window BEHIND the first "." window you can find.
5768	This will keep it from ever being the front window, and thus a
5769	black hole for events.  * mac/tkMacButton.c (ButtonEventProc):
5770	Disable the controls when the window is in the background.  This
5771	is required by the MacOS HIG. This doesn't always get called when
5772	it should, it still needs more work.
5773
5774	* mac/tkMacDialog.c: Pretty substantial rewrite to include
5775	Navigation Services support for systems which have it.
5776
57772000-04-14  Eric Melski  <ericm@scriptics.com>
5778
5779	* win/tkWinKey.c: Added check for ASCII delete character in
5780	KeycodeToKeysym, to fix [Bug: 5090].  See comment in code for more
5781	information.
5782
5783	* generic/ks_names.h: Added Scroll_Lock and Sys_Req definitions.
5784
5785	* win/tkWinKey.c: Changed implementation of KeycodeToKeysym,
5786	et. al., to use a keycode table for lookups; this will result in
5787	faster keycode -> keysym translations for non-ASCII keys like
5788	Control, Alt, etc.
5789
57902000-04-14  Jeff Hobbs  <hobbs@scriptics.com>
5791
5792	* win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so we
5793	correctly activate native menus when clicking in when we didn't
5794	have focus [Bug: 2272]
5795
5796	* generic/tkCanvas.c (CanvasEventProc:2451): corrected cast
5797
5798	* generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error
5799	cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK
5800
5801	* tests/scale.test:
5802	* generic/tkScale.c:
5803	* generic/tkScale.h:
5804	* unix/tkUnixScale.c:
5805	* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
5806	to tkScale.c.  Caused an associated variable to be immediately set
5807	[Bug: 4833]
5808
5809	* library/scale.tcl (tkScaleActivate): reduced number of scale
5810	redisplays by checking current value of state before setting it
5811	again.  [Bug: 4191]
5812
5813	* tests/winDialog.test: tk_chooseDirectory seems to get a noop
5814	from GetOpenFileName in the static build, hanging some tests.
5815	The tests were fixed to timeout (noop cause unknown).
5816
5817	* unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of
5818	pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
5819	--enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
5820
58212000-04-13  Eric Melski  <ericm@scriptics.com>
5822
5823	* win/tkWinKey.c: Added smarts to check whether the left or right
5824	Control, Shift, or Alt key was pressed.  [Bug: 870].
5825
5826	* win/tkWinMenu.c: Corrected code that created separator items on
5827	menus; originally, it requested that the system be responsible for
5828	drawing those items, so it would ignore configuration items like
5829	the widget background.  Now, we draw the separators ourselves (as
5830	we do with every other kind of menu item already). [Bug: 1166].
5831
5832	* win/tkWin3d.c:
5833	* unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more
5834	sophisticated smarts to TkpGetShadows, so that the highlight of a
5835	very bright color is actually distinguishable from the color, and
5836	the shadow of a very dark color is similarly distinguishable from
5837	the color.
5838
5839	* generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a check
5840	for NULL tkwin in Tk_CanvasEventuallyRedraw.
5841
58422000-04-12  Jeff Hobbs  <hobbs@scriptics.com>
5843
5844	* test/winClipboard.test:
5845	* win/tkWinInt.h:
5846	* win/tkWinClipboard.c (UpdateClipboard):
5847	* win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
5848	TkWinUpdatingClipboard accessor function to allow us to flag
5849	ourselves when we are the ones updating the clipboard.  This
5850	corrected inability to create our own clipboard types within a Tk
5851	application.  [Bug: 2338 4318]
5852	* win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
5853	with better error handling and obj'ification
5854
58552000-04-11  Eric Melski  <ericm@scriptics.com>
5856
5857	* msgcat.n: Added docs for new behavior from patch in [Bug: 4158].
5858
5859	* msgcat.test: Added tests for new behavior from patch in [Bug:
5860	4158].
5861
5862	* msgcat.tcl: Applied patch from [Bug: 4158], which enables
5863	msgcat::mc to search the entire namespace ancestry chain for
5864	message translations (ie, first it checks the current namespace,
5865	then the parent, then the parent's parent, etc).  Also allows the
5866	specification of additional args for msgcat::mc; if extra args are
5867	given, the [format] command is used to substitute the additional
5868	args in the translated message.
5869
5870	* library/bgerror.tcl: Moved check for withdrawn state after check
5871	for tkerror; this was causing problems when tkerror was used.
5872
58732000-04-10  Eric Melski  <ericm@scriptics.com>
5874
5875	* library/bgerror.tcl: Added check for withdrawn state of . and
5876	unsetting of transient bit for .bgerrorDialog if . is not
5877	viewable; this protects against the application hanging on systems
5878	like Windows, where transient windows are withdrawn with their
5879	parents. [Bug: 4370].
5880
5881	* tests/event.test: Added test for [event generate $widget
5882	<Alt-z>] [Bug: 4611].
5883
5884	* tests/choosedir.test: Changed "namespace import ::tcltest" to
5885	"namespace import -force ::tcltest".
5886
5887	* win/tkWinKey.c:
5888	* unix/tkUnixKey.c:
5889	* mac/tkMacKeyboard.c: Changed InitKeymapInfo to
5890	TkpInitKeymapInfo. [Bug: 4611].
5891
5892	* generic/tkStubInit.c:
5893	* generic/tkIntDecls.h: Re-gen'd from tkInt.decls.
5894
5895	* generic/tkInt.decls: Added TkpInitKeymapInfo to list of function
5896	decls.
5897
5898	* generic/tkBind.c (HandleEventGenerate): Added code to initialize
5899	keymap info if necessary, and to correctly set modifier bits in
5900	XEvent structure create to handle [event generate] calls.
5901	Previously, the alt/meta bits were not set correctly, so [event
5902	generate $widget <Alt-z>] would always fail. [Bug: 4611]
5903
59042000-04-07  Jeff Hobbs  <hobbs@scriptics.com>
5905
5906	* generic/tkGrid.c (InitMasterData): fixed uninit'd data in
5907	GridMaster struct [Bug: 4387]
5908
5909	* library/safetk.tcl (disallowTk): made disallowTk work in the
5910	simple case.
5911
5912	* library/comdlg.tcl (tkFocusGroup_In): fixed key navigation
5913	problems in dialogs under CDE [Bug: 2960]
5914
5915	* tests/winDialog.test: removed knownBug constraint from 5.16
5916
5917	* win/tkWinFont.c (GetScreenFont): corrected adjustment against
5918	LC_FACESIZE limitation for NT [Bug: 4931]
5919
5920	* win/makefile.vc (TKTEST_OBJS):
5921	* win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal
5922	objs to TKTEST_OBJS where it belonged.
5923
59242000-04-03  Jeff Hobbs  <hobbs@scriptics.com>
5925
5926	* generic/tkTest.c: fixed incorrect platform inclusion for
5927	TkplatformtestInit (it would never get called).
5928
5929	* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
5930	correctly [Bug: 4085]
5931
5932	* library/clrpick.tcl (tkColorDialog_Config): error now thrown
5933	when -initialcolor "" specified. [Bug: 4198]
5934
59352000-03-31  Jeff Hobbs  <hobbs@scriptics.com>
5936
5937	* doc/DrawFocHlt.3: doc name correction
5938
5939	* generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option
5940	and removed #ifdef ENTRY_VALIDATE expressions
5941
5942	* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
5943	[Bug: 4506]
5944
5945	* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be
5946	called in tkIconList_Select.  This causes the entry to be set
5947	properly when using the type-in-name-in-listbox bindings.
5948
5949	* win/tkWinDialog.c: added unicode-aware open/save file dialogs
5950
5951	* win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
5952	to TkWinGetPlatformId
5953
5954	* win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
5955	to TkWinGetPlatformId and removed all code for
5956	(versionInfo.dwMajorVersion < 4) (== Win32s)
5957
5958	* win/tkWinX.c:
5959	* win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
5960	* win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
5961	called for static Windows shells. [Bug: 3647]
5962
5963	* win/tkWinInt.h:
5964	* win/tkWinX.c:
5965	* win/tkWinDraw.c (SetUpGraphicsPort):
5966	* win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s
5967
5968	* win/tkWinInt.h (TkWinDCState struct): added bkmode value
5969	* win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
5970	properly transparent dashed lines on Windows. [Bug: 4617]
5971
59722000-03-30  Eric Melski  <ericm@scriptics.com>
5973
5974	* generic/tkImgGIF.c: Fixed some ANSI specific bits to avoid
5975	compile problems with non-ANSI compilers (ie, replace const with
5976	CONST, etc).  [Bug: 4223].
5977
5978	* unix/configure.in: Applied patch from [Bug: 4237]; ensures that
5979	srcdir is fully qualified.
5980
5981	* unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was
5982	not compiled, make test/tktest failed.  Now it has a rule to build
5983	tcltest if it has not been built.
5984
59852000-03-28  Eric Melski  <ericm@scriptics.com>
5986
5987	* library/tkfbox.tcl: Moved an overlooked tkFDialog* function in
5988	::tk::dialog::file namespace.
5989
5990	* tests/unixWm.test: Added tests for memory leak conditions in
5991	tkUnixWm.c.
5992
5993	* tests/canvas.test: Added test for bad configuration options on
5994	empty and non-empty canvas.
5995
5996	* generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of
5997	CanvasWidgetCmd; this was causing non-empty canvases to improperly
5998	handle bad configuration options [Bug: 4456].
5999
60002000-03-27  Eric Melski  <ericm@scriptics.com>
6001
6002	* unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memory
6003	leak in Unix wm command.
6004
60052000-03-24  Eric Melski  <ericm@scriptics.com>
6006
6007	* tests/filebox.test:
6008	* tests/choosedir.test: Updated tests.
6009
6010	* library/xmfbox.tcl: Updated to stash data array in
6011	::tk::dialog::file namespace instead of in global namespace.
6012
6013	* library/tkfbox.tcl: Extended some functions to support creation
6014	of a choosedir dialog, to allow greater code reuse between the two
6015	dialogs.  Moved tkFDialog* functions into a namespace
6016	(::tk::dialog::file).  Because these are private Tk functions (and
6017	should thus not be used directly by users), this should not impact
6018	anybody (the tk_getOpenFile and tk_getSaveFile commands still
6019	exist at the global scope).
6020
6021	* library/tk.tcl:
6022	* library/tclIndex: Updated function names for tkFDialog*
6023	functions and choosedir functions.
6024
6025	* library/choosedir.tcl: New and improved implementation of
6026	tk_chooseDirectory dialog.  Based on tk_getOpenFile dialog.
6027
60282000-03-23  Eric Melski  <ericm@scriptics.com>
6029
6030	* generic/tkWindow.c:
6031	* generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd
6032
6033	* generic/tkOption.c: Tcl_Obj'ectified the "option" command.
6034
60352000-03-22  Eric Melski  <ericm@scriptics.com>
6036
6037	* library/listbox.tcl (tkListboxCancel): Added a check for empty
6038	string value for tkPriv(listboxPrev).  Without this check, it's
6039	possible to get a stack trace under certain conditions. [Bug: 4373].
6040
60412000-03-15  Sven Delmas  <sven@scriptics.com>
6042
6043	* win/tkWinDialog.c: Changed the behavior for the
6044	tk_chooseDirectory dialog under Windows. Instead of trying to
6045	return the currently selected listbox entry (which didn't work in
6046	case the user selected the initial directory anyway), we now
6047	return the value shown in the entry. This seems to be in
6048	accordance with the expected behavior for this dialog.
6049
60502000-03-14  Eric Melski  <ericm@scriptics.com>
6051
6052	* tests/choosedir.test: Marked test 3.1 and 3.2 as bad until the
6053	issue with those tests on IRIX can be determined.
6054
60552000-03-10  Eric Melski  <ericm@scriptics.com>
6056
6057	* library/menu.tcl: Applied patch from [Bug: 4155]; protects
6058	against grabs on non-viewable windows.
6059
60602000-03-08  Eric Melski  <ericm@scriptics.com>
6061
6062	* tests/choosedir.test: Modified test 3.1 (-mustexist works) to be
6063	more careful about cleaning up its potentially troublesome after
6064	events.
6065
60662000-03-07  Eric Melski  <ericm@scriptics.com>
6067
6068	* tests/button.test:
6069	* generic/tkButton.c: Added -disabledforeground/-state to labels.
6070
60712000-03-07  Jeff Hobbs  <hobbs@scriptics.com>
6072
6073	* tests/entry.test:
6074	* generic/tkEntry.c (EntrySetValue): malloc the value when
6075	validating because validation could cause the pointer to become
6076	invalid.  Also fixed configure to not trigger focus-based
6077	validation.  Improved use of Tcl_WrongNumArgs. [Bug: 4320]
6078
60792000-03-06  Eric Melski  <ericm@scriptics.com>
6080
6081	* library/menu.tcl: Added a check in tkMenuFirstEntry that changes
6082	menu behavior to only auto-post an immediate child cascade if we
6083	are currently on a menubar menu.  This prevents massive
6084	auto-cascading in cases where the first entry of the cascade is
6085	itself a cascade, and the first entry of that cascade is a
6086	cascade, and the first entry of that cascade is a cascade
6087	... [Bug: 676].
6088
6089	* generic/tkOldConfig.c: Added check for NULL tkwin value in
6090	Tk_ConfigureWidget [Bug: 4079]
6091
6092	* generic/tkWindow.c: Added check for NULL tkwin value in
6093	Tk_NameToWindow [Bug: 4079]
6094
60952000-03-02  Jeff Hobbs  <hobbs@scriptics.com>
6096
6097	* tests/color.test:
6098	* xlib/xcolors.c (XParseColor FindColor):
6099	* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
6100	return "correct" values for color mapping. [Bug: 4282]
6101
6102	* unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/'
6103	* unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
6104
6105	* win/tkWinInt.h: change extern to EXTERN for TkWinChildProc
6106	declaration with extra #defs. [Bug: 4240]
6107
6108	* library/focus.tcl: fixed tkFocusOK to protect $w in
6109	uplevel with list. [Bug: 4208]
6110
6111	* doc/CrtItemType.3: fixed docs for Tk_CreateItemType to reflect
6112	changes made in 8.3.0 (but old style would still work as well).
6113	[Bug: 4252]
6114
6115	* tests/config.test: extra test to check object cleanup when
6116	destroying the widget
6117	* generic/tkListbox.c (DestroyListbox): fixed crash in
6118	DestroyListbox due to null tkwin.  [Bug: 4207]
6119
6120	* tests/entry.test: added test suite for entry validation
6121	* doc/entry.n: improved docs discussing caveats and gotchas when
6122	mixing textvar with widget validation
6123	* generic/tkEntry.c (EntryValidateChange): improved handling of
6124	validation with relation to -textvariable.  Previously, it would
6125	turn off whenever the textvar was set.  Now it will it will turn
6126	off only when the textvar is set and validation returns 0.  Added
6127	%V (type of validation occuring) to %-subs to help work with
6128	trickier validation.
6129
61302000-03-01  Eric Melski  <ericm@scriptics.com>
6131
6132	* tests/clrpick.test:
6133	* library/clrpick.tcl: Added code to make color chooser dialog
6134	inherit screen setting from parent (bug #2334)
6135
61362000-02-25  Jeff Hobbs  <hobbs@scriptics.com>
6137
6138	* win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibility
6139	that the window could be destroyed (can occur with
6140	wm deiconify .toplevel; destroy .toplevel).
6141
61422000-02-25  Eric Melski  <ericm@scriptics.com>
6143
6144	* generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (the
6145	submitted patch was more complicated than necessary and did not
6146	extend to writing GIF's, only reading), to allow reading/writing
6147	of GIF files on EBCDIC and other non-ASCII based systems.
6148
61492000-02-14  Eric Melski  <ericm@scriptics.com>
6150
6151	* unix/tk.spec: RPM specification for producing a binary Tk RPM
6152	for Linux.
6153
6154	* unix/Makefile.in: Added rpm target to generate Tk
6155	binary RPM.
6156
61572000-02-10  Jeff Hobbs  <hobbs@scriptics.com>
6158
6159	8.3.0 RELEASE
6160
6161	* changes: updated for 8.3.0 release
6162
6163	* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer
6164
6165	* generic/tkIntXlibDecls.h:
6166	* generic/tkInt.decls: declared some Xlib emulation calls for
6167	the Mac
6168
6169	* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
6170	inform user of bad call when framePtr is NULL [Bug: 2530]
6171
6172	* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
6173	menu name objects before trying to incr the ref.  [Bug: 3402]
6174
6175	* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
6176
6177	* library/listbox.tcl:
6178	* library/text.tcl: added support for <4> and <5> for mousewheel
6179	style scrolling on Unix for mice that map to these buttons.
6180
6181	* tests/scrollbar.test: fixed check of testmetrics command to
6182	allow unix tests to run (testmetrics is mac/pc only)
6183
6184	* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error
6185	handler as the goto label is reached from above and below.
6186
6187	* unix/configure.in:
6188	* unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
6189	added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
6190
6191	* unix/README:
6192	* unix/Makefile.in (dist): removed porting.notes and porting.old
6193	from distribution and CVS.  The information was very outdated.  Now
6194	refer to http://dev.scriptics.com/services/support/platforms.html
6195
6196	* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
6197	some extra include info for the Mac
6198
61992000-02-09  Jim Ingham  <jingham@cygnus.com>
6200
6201	* mac/tkMacButton.c: Stop removing the appearance window from the
6202	Window List.  It is not clear why Ray did this, and it causes the
6203	Appearance manager to crash at random times.
6204
6205	* mac/tkMacWM.c: Add support in unsupported1 style for the Appearance
6206	specification of window styles, including floating window support.
6207	* mac/tkMacWindowMgr.c: Operate on the front non-floating window,
6208	unless the mouse is directly over the floating window.  Also,
6209	keystrokes go to the front non-floating window.
6210	* mac/tkMacAppInit.c: Initialize floating window support.
6211	* mac/tkMacScrlbr.c:
6212	* mac/tkMacmenu.c: Fixes for floating windows - operate on the
6213	FrontNonFloatingWindow.
6214	* mac/tkMacLibrary.r: Fix typo in File info string.
6215	* mac/tkMacApplication.r: Fix typo in file info string.  Add
6216	Finder balloon help for no apparent reason.
6217
6218	* mac/tkMacSubwindows.c: Change panic in tkMacGetDrawablePort to
6219	Debugger.  This is only a temporary fix.  The panic is only
6220	triggered when a safeTk interpreter is torn down, and ignoring it
6221	does no harm.  I haven't figured out how to avoid it yet, however.
6222	Also use the Appearance MoveWindowStructure call when available.
6223
6224	New Files:
6225	* MW_TkOldImageHeader.h: Handle #defining USE_OLD_IMAGE for tkImgPPM.c.
6226	* MW_TkTestHeader.h:
6227	* MW_TkTestHeader.pch:
6228	* MW_TkHeader.h: Add separate prefix files for test & release
6229	versions of Tk, so we can just have separate targets w/o having to
6230	edit files.
6231
6232	* tclets.r: The D&D Tclets icon in rez form so we can have a
6233	target for this.
6234
6235	The above are curtesy of Daniel Steffen (steffen@math.mq.edu.au)
6236
6237	* tkMacAppearanceStubs.c: Stubs of the Mac Appearance calls I use
6238	so I can link the static 68K Shell without putting ifdef's all
6239	over the code.
6240
62412000-02-08  Jeff Hobbs  <hobbs@scriptics.com>
6242
6243	* generic/tk.decls:
6244	* generic/tkBind.c:
6245	* generic/tkInt.decls:
6246	* generic/tkIntDecls.h:
6247	* generic/tkStubInit.c:
6248	* mac/tkMacKeyboard.c:
6249	* unix/tkUnixKey.c:
6250	* win/tkWinKey.c: Fix for keyboard handling of "dead" keys and
6251	caps lock from Peter Spjuth. [Bug: 4105 3359 2493]
6252	Split functions into platform specific files:
6253	Static functions GetKeySym(), SetKeycodeAndState() and InitKeymapInfo()
6254	from tkBind.c moved into platform files tkWinKey.c tkUnixKey.c and
6255	tkMacKeyboard.c.  GetKeySym() and SetKeycodeAndState() renamed to
6256	Tkp* and made public (as private functions) in tkInt.decls.
6257
6258	Step 2, fixes in tkWinKey.c
6259	New static function: KeycodeToKeysym(), based on XKeycodeToKeysym()
6260	but with different arguments, and a lot of improvements.
6261	TkpGetString() changed to use KeycodeToKeysym() + other fixes.
6262	TkpGetKeySym() changed to use KeycodeToKeysym() + other fixes.
6263	InitKeymapInfo() changed to use KeycodeToKeysym().
6264	TkpSetKeycodeAndState() rewritten, mostly by copying code from
6265	XKeysymToKeycode().
6266	XKeycodeToKeysym() rewritten. Preferably it should be removed.
6267
6268	EXPLANATION: The main problem is ToAscii() which has a lot of side
6269	effects, and also that XKeycodeToKeysym() is not provided enough
6270	input to do a proper job.  The changes' main goal is to avoid
6271	calling ToAscii() if not necessary, and to provide it with as
6272	correct information as possible when called.  Also some attempts
6273	to clean up what ToAscii() did are done.  See the code for details.
6274
6275	BUGS FIXED: Typing shifted (and AltGr) dead keys did not work.
6276	Keyboard lock lamps did not work on Win98.
6277	Events regarding AltGr-keys behaved badly.
6278	Example: On a Swedish keyboard, $ is typed with AltGr-4.
6279	That keyboard event would get the keysym '4' not 'dollar'.
6280	Also, doing [event generete . <Key-dollar>] would send keysym '4'.
6281	Translation to ascii in TkpGetString did not handle return and
6282	tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A
6283
6284	* generic/tkDecls.h:
6285	* generic/tk.decls:
6286	* generic/tk.h: moved new public functions created in dash patch
6287	to the stubs interface [Bug: 4062]
6288
6289	* generic/tk.h:
6290	* doc/CrtImgType.3:
6291	* doc/CrtPhImgFmt.3:
6292	* generic/tk.h:
6293	* generic/tkImgGIF.c:
6294	* generic/tkImgPhoto.c:
6295	* generic/tkStubImg.c (new file):
6296	* generic/tkTest.c:
6297	* unix/Makefile.in:
6298	* win/Makefile.in:
6299	* win/makefile.vc: improved support for moving from the old style
6300	image C API to the new obj'ified one with new Tk_InitImageArgs
6301	command and stub'ing of image code.  See docs for how to make the
6302	transition. [Bug: 4060]
6303
6304	* library/tk.tcl: wrapped check for tcl_platform(os) around info
6305	exists because it won't in safe interpreters
6306
6307	* win/tkWinFont.c: corrected symbol font use to only work on 8-bit
6308	characters [Bug: 2406]
6309
6310	* unix/aclocal.m4: changed all -fpic to -fPIC
6311
6312	* README:
6313	* unix/configure.in:
6314	* win/configure.in:
6315	* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
6316
63172000-02-07  Eric Melski  <ericm@scriptics.com>
6318
6319	* library/tkfbox.tcl: Applied patch from bug #4117,
6320	tk_getOpenFile/getSaveFile doesn't do the right thing when user
6321	types a directory name in the entry and a default extension is
6322	specified.
6323
63242000-02-05  Jeff Hobbs  <hobbs@scriptics.com>
6325
6326	* unix/tkUnixScale.c (TkpDestroyScale): changed ckfree to
6327	Tcl_EventuallyFree to behave with Tcl_Preserve in TkpDisplayScale
6328	(prevents possible segfault).
6329
63302000-02-03  Eric Melski  <ericm@scriptics.com>
6331
6332	* tests/canvText.test: test for fix for bug #2525.
6333
6334	* generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting
6335	the width of newline-only text display chunks to some arbitrary
6336	huge number, instead of 0; this was interfering with things like
6337	the canvas find enclosed feature. (bug #2525).
6338
6339	* tests/text.test:
6340	* generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to
6341	take a TkTextIndex instead of two integer offsets, so that it
6342	could use TkTextPrintIndex to format the offsets into an index,
6343	which makes it UTF smart (bug #2582).
6344
63452000-02-01  Eric Melski  <ericm@scriptics.com>
6346
6347	* library/tk.tcl:
6348	* library/tclIndex:
6349	* library/choosedir.tcl: Moved choosedir functions into the
6350	::tk::dialog::chooseDir namespace instead of a toplevel
6351	::tkChooseDirectory namespace.  Additional cleanup on the
6352	chooseDir dialog.
6353
63542000-02-01  Jeff Hobbs  <hobbs@scriptics.com>
6355
6356	* doc/text.n: clarified docs on what happens during a search with
6357	-count when images/windows are embedded
6358
6359	* win/Makefile.in (install-*): reduced verbosity of install
6360
6361	* win/tkWinPixmap.c (XGetGeometry): added support for windows in
6362	XGetGeometry [Bug: 4069]
6363
6364	* win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with
6365	long font names [Bug: 4108]
6366
6367	* win/tkWinDialog.c: added EnableWindow calls to dialogs to
6368	correct for possible loss of control in parent Tk toplevel
6369	[Bug: 1212 et al]
6370
6371	* generic/tkRectOval.c (ConfigureRectOval):
6372	* generic/tkCanvLine.c (ConfigureLine):
6373	* generic/tkCanvPoly.c (ConfigurePoly):
6374	* generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for
6375	negative dash values [Bug: 4104]
6376
6377	* generic/tkScale.c (TkRoundToResolution): fixed incorrect
6378	assumption that (N+1)*delta = N*delta + delta with floating point
6379	math [Bug: 3689, 4099]
6380	(DestroyScale) Fixed check for cancelling TkpDisplayScale (was
6381	REDRAW_ALL, is now REDRAW_PENDING)
6382
6383	* tests/listbox.test: corrected test case for listbox itemconfigure
6384
6385	* unix/aclocal.m4: added *BSD ELF recognition for
6386	SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4)
6387
63882000-01-27  Eric Melski  <ericm@scriptics.com>
6389
6390	* generic/tkImgPhoto.c: Removed unneccesary object translation in
6391	MatchStringFormat (bug #4103).
6392
63932000-01-27  Eric Melski  <ericm@scriptics.com>
6394
6395	* generic/tkImgGIF.c: Additional code cleanup (now we only have
6396	one decoder!  neat!)
6397
63982000-01-26  Eric Melski  <ericm@scriptics.com>
6399
6400	* doc/getOpenFile.n:
6401	* doc/chooseDirectory.n: Man page/cross links for
6402	tk_chooseDirectory (bug #1786).
6403
6404	* library/tk.tcl:
6405	* library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786)
6406
6407	* library/choosedir.tcl: tk_chooseDirectory implementation for
6408	Unix/Mac (bug #1786).
6409
6410	* generic/tkImgPhoto.c: Added some comments regarding slow
6411	processing of transparent images.
6412
6413	* generic/tkImgGIF.c: Improved GIF decoder for ~60% speed
6414	increase.  Added some comments on how to further improve the
6415	implementation, time permitting.
6416
6417	* doc/photo.n: Added a description of what the -data string can
6418	contain (base64 or binary data).
6419
6420	* generic/tkImgPhoto.c: Fixed bug with use of binary data for
6421	"-data" option to "image create" command.
6422
64232000-01-21  Eric Melski  <ericm@scriptics.com>
6424
6425	* library/tkfbox.tcl: Fixed bug relating to incorrect parent
6426	values for error message boxes displayed by the file dialog (bug
6427	#3616).
6428
6429	* tests/text.test:
6430	* generic/tkText.c: Fixed bug relating to regexp searching for
6431	empty lines; previously, the starting line was ignored. (bug #1643).
6432
64332000-01-20  Jeff Hobbs  <hobbs@scriptics.com>
6434
6435	* library/text.tcl: fixed double-click selection behavior where
6436	there were embedded windows/widgets in the same line. [Bug: 3989]
6437
6438	* win/tkWinWm.c (TkWmProtocolEventProc): cached atom name as the
6439	window could get destroyed during eval [Bug: 2513]
6440
6441	* generic/tkCanvLine.c (LineCoords): fixed segfault when too few
6442	coords were passed to a line with certain options set (it should
6443	always have thrown an error anyway). [Bug: 4042]
6444
6445	* tests/text.test:
6446	* generic/tkText.c: fixed missing " in error case and missing
6447	'dump' in subcommand listing [Bug: 4036]
6448
6449	* generic/tkListbox.c: adjusted use of basic string concatenation
6450	in (non-K&R behavior) [Bug: 4027]
6451	Swapped bg/fg class for -select(bg|fg) for listbox and their
6452	items [Bug: 4039]
6453
6454	* unix/mkLinks:
6455	* doc/WindowId.3: added docs for Tk_IsContainer and Tk_IsEmbedded
6456
6457	* doc/text.n: clarified mark gravity definition and usage of
6458	``word'' in binding definitions.  [Bug: 2004 2277 1388]
6459
6460	* generic/tkInt.h: moved new TkDisplay useInputMethods structure
6461	element to end to not disturb position of previous elements in
6462	the structure (as compared to Tk <=8.2).
6463
64642000-01-20  Eric Melski  <ericm@scriptics.com>
6465
6466	* tests/grid.test: Added a test for the consecutive ^ and multiple
6467	widget case (bug #1386).
6468
6469	* generic/tkGrid.c: Fixed interpretation of consecutive ^
6470	characters in grid command.  Previously, ^ ^ was interpreted as
6471	meaning that there must be a 2-column widget above to extend,
6472	neglecting the case where there was actually 2 1-column widgets
6473	above.  Now, ^ ^ is interpreted as a possible width; the gridder
6474	will consume as many ^'s as there are columns in the widget, and
6475	leave the rest for the extension of other widgets.  (bug #1386).
6476
64772000-01-19  Eric Melski  <ericm@scriptics.com>
6478
6479	* library/tk.tcl: Created a virtual event <<PrevWindow>> for
6480	reverse tab traversals, with one default binding <Shift-Tab>, and
6481	OS specific bindings for Linux, HP-UX, and IRIX. (bug #3163)
6482
64832000-01-13  Jeff Hobbs  <hobbs@scriptics.com>
6484
6485	* changes: updated changes file to reflect 8.3b2 mods
6486	* README:
6487	* generic/tk.h:
6488	* unix/configure.in:
6489	* win/configure.in: updated to patchlevel 8.3b2
6490
6491	* win/tkWinWm.c: added visibility event handler to make sure
6492	that transient window wrappers would be updated when the master
6493	was initially mapped.
6494
64952000-01-12  Jeff Hobbs  <hobbs@scriptics.com>
6496
6497	* tests/text.test: changed test to reflect change of -hidden
6498	to -elide in search options.
6499
6500	* win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProc
6501	to avoid crash when building statically
6502
6503	* doc/event.n:
6504	* generic/tkBind.c: prevented core with event -warp on Windows
6505	when window wasn't mapped [Bug: 4004] and added docs stating
6506	the requirement for mapped windows.
6507
6508	* generic/tkCanvas.c: fixed mem leak with TagSearchExprInit
6509	[Bug: 3977]
6510
6511	* generic/tkStubInit.c:
6512	* generic/tkDecls.h: remove non-existent
6513	Tk_(Get|Create)CanvasVisitor prototypes
6514
6515	* generic/tkText.c:
6516	* generic/tkEntry.c: fixed cursor to not blink when widget was
6517	disabled [Bug: 1807]
6518
6519	* generic/tkRectOval.c: added note about change to bloat for
6520	RectOval bounds calculation for WIN32 only
6521
6522	* library/dialog.tcl: improved handling of $default arg to allow
6523	for name of given button, as well as bounds checking
6524
6525	* doc/wm.n:
6526	* tests/winWm.test:
6527	* tests/unixWm.test:
6528	* mac/tkMacWm.c:
6529	* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
6530	* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
6531	fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
6532	and fixed mapping of transient window [Bug: 572]
6533	Also, for all wm's, extended 'wm state' command to allow setting
6534	of the state, and added official support of 'zoomed' state on Win.
6535
6536	* unix/aclocal.m4: strtod bug on Tru64 [Bug: 3378]
6537
6538	* unix/Makefile.in: added tests to prevent unnecessary chmod +x
6539	in source dirs while installing [Bug: 3367]
6540
6541	* unix/configure.in: properly sub'ed in TK_SHARED_BUILD [Bug: 3385]
6542
65432000-01-05  Jeff Hobbs  <hobbs@scriptics.com>
6544
6545	* doc/text.n:
6546	* generic/tkText.c:
6547	* generic/tkText.h:
6548	* generic/tkTextBTree.c:
6549	* generic/tkTextDisp.c:
6550	* generic/tkTextTag.c: removed the -state option for text tags,
6551	and reoriented it around -elide, as -state disabled was never
6552	implemented, and -state hidden is better as -elide.
6553
6554	* mac/tkMacClipboard.c: fixed i18n problems with clipboard [Bug: 3544]
6555
6556	* library/entry.tcl:
6557	* library/focus.tcl:
6558	* library/listbox.tcl:
6559	* library/scale.tcl:
6560	* library/scrlbar.tcl:
6561	* library/tearoff.tcl:
6562	* library/text.tcl:
6563	* library/tkfbox.tcl:
6564	* library/xmfbox.tcl: fixed unprotected arg parsing through eval/after
6565	[Bug: 3943]
6566
6567	* unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938]
6568	* unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC
6569
6570	* win/tkWinImage.c: added static declaration to function
6571
65721999-12-22  Jeff Hobbs  <hobbs@scriptics.com>
6573
6574	* changes: updated changes file
6575
6576	* generic/tkScale.c:
6577	* generic/tkScale.h:
6578	* mac/tkMacScale.c:
6579	* unix/tkUnixScale.c: fixed potential segv from patch in 3897
6580
6581	* tests/unixWm.test: nonPOrtable -> nonPortable
6582
65831999-12-21  Jeff Hobbs  <hobbs@scriptics.com>
6584
6585	* generic/tk.h:
6586	* unix/configure.in:
6587	* win/configure.in:
6588	* win/aclocal.m4:
6589	* README: updated for patch level 8.3b1
6590
6591	* unix/tkUnixWm.c: fixed panic in Tk_CoordsToWindow to print error
6592	and continue instead (for Tix) [Bug: 716 et al]
6593
6594	* scale.test:
6595	* generic/tkScale.c:
6596	* generic/tkScale.h: fixed possible core when freeing options
6597	(cursor) associated with scale widget [Bug: 3897]
6598
6599	* doc/MeasureChar.3: fixed docs for Tk_MeasureChars to reflect code
6600	* doc/listbox.n: fixed formatting problem
6601
6602	* generic/tk3d.c: added extra calculations to ensure that thin
6603	frames get refreshed too [Bug: 3596]
6604
6605	* unix/tkUnixMenu.c:
6606	* unix/tkUnixFont.c:
6607	* generic/tkCanvText.c:
6608	* generic/tkEntry.c:
6609	* generic/tkFont.c:
6610	* generic/tkImgPPM.c: removed extranneous vars that were set but
6611	never used.
6612
6613	* mac/tclMacHLEvents.c: fixed applescript for I18N [Bug: 3644]
6614
6615	* unix/aclocal.m4: removed -O flag for AIX when using the IBM
6616	compiler (several versions have a bug that crops up in the text
6617	widget). [Bug: 2316]
6618
6619	* unix/Makefile.in: removed extra slash in SCRIPT_INSTALL_DIR
6620	[Bug: 3896]
6621
6622	* library/listbox.tcl: added extra checks for existence of
6623	tkPriv(listboxSelection) before it was used. [Bug: 3892]
6624
66251999-12-16  Jeff Hobbs  <hobbs@scriptics.com>
6626
6627	* doc/GetCursor.3:
6628	* win/tkWinCursor.c: added support for Windows cursors to
6629	TkGetCursorByName (.ani, .cur) using -cursor @<filename>
6630	(Ascher) [Bug: 1350]
6631
6632	* win/tkWinWm.c: fixed 'wm deiconify' to update position of the
6633	toplevel if event is waiting before mapping. (Mao) [Bug: 3687]
6634	This removes the need for 'update idle' before 'wm deiconify' on
6635	Windows.
6636
6637	* doc/listbox.n: added doc for <<ListboxSelect>> [Bug: 3500]
6638
6639	* doc/getOpenFile.n: removed note that -initialfile didn't work
6640	for tk_getOpenFile
6641	* library/tkfbox.tcl: updated tk_get*File to better match the
6642	Windows file box it emulates, give proper support to -initialfile,
6643	and fixes lack of global tkPriv call.  [Bug: 3735 3882]
6644
6645	* doc/tk.n: added doc for 'tk useinputmethods ...'
6646	* tests/tk.test:
6647	* unix/tkUnixKey.c:
6648	* generic/tkCmds.c:
6649	* generic/tkEvent.c:
6650	* generic/tkWindow.c:
6651	* generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?'
6652	call to provide support for disabling/enabling the use of XIM on
6653	X.  This was previously all done at compile time, and always on.
6654	Now it is turned off by default, even when available, and the user
6655	must turn it on to use XIM (per display).
6656
6657	* generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed
6658	mem it shouldn't.
6659
6660	* generic/tkFont.c: added "bitstream cyberbit" (popular Windows
6661	CJK font) to list of font fallbacks. (kenny) [Bug: 2407]
6662
6663	* mac/tkMacMenu.c: finished bug 3075 by changing the char values of
6664	what was checked (verified correctness on Mac).
6665
66661999-12-13  Jeff Hobbs  <hobbs@scriptics.com>
6667
6668	* doc/canvas.n: added docs for items added by dash patch (-*dash*,
6669	-state, -active*, -disabled*, -offset, essentially rewrote the
6670	man patch for completely updated 8.3 canvas widget.
6671	* doc/entry.n: added docs for entry widget validation
6672	* doc/event.n: added docs for -warp
6673	* doc/text.n: doc'ed new -state value 'hidden'
6674	* doc/GetDash.3: (new file) man page explaining Tk_GetDash
6675	* generic/tkStubInit.c:
6676	* generic/tkDecls.h:
6677	* generic/tkIntXlibDecls.h:
6678	* generic/tkInt.decls: added XSetDashes and XWarpPointer
6679	* generic/tk.decls: added Tk_CreateSmoothMethod, and reserved
6680	two spots
6681	* generic/tk.h: added Tk_SmoothMethod struct,
6682	state item to canvas record, #defines for item state,
6683	support for using old char*-based canvas item C creation
6684	procedures with -DUSE_OLD_CANVAS,
6685	Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs,
6686	decls for dash, outline and postscript routines
6687	* generic/tkBind.c: added support for Quadruple clicks, and added
6688	the -warp option to 'event' with pointer warping routines
6689	* xlib/xgc.c:
6690	* generic/tkRectOval.c:
6691	* generic/tkCanvArc.c:
6692	* generic/tkCanvBmap.c:
6693	* generic/tkCanvImg.c:
6694	* generic/tkCanvLine.c:
6695	* generic/tkCanvPoly.c:
6696	* generic/tkCanvPs.c:
6697	* generic/tkCanvText.c:
6698	* generic/tkCanvUtil.c:
6699	* generic/tkCanvWind.c:
6700	* generic/tkCanvas.c:
6701	* generic/tkCanvas.h: Canvas and items received overhaul to with
6702	the addition of the dash patch (Nijtmans, et al)  This includes
6703	objectification of the 'canvas' command, as well as support for
6704	(where appropriate) dashes in items, extended stipple support,
6705	state for all items, and postscript generation of images and
6706	windows.  See the new canvas man page for related docs.
6707	* generic/tkEntry.c: added entry widget validation, see entry.n
6708	* generic/tkEvent.c: on simulated events, ButtonPress should
6709	be matched with ButtonRelease to be correct
6710	* generic/tkFont.c: corrected possible null reference
6711	* generic/tkFrame.c: made frame a Tcl_Obj based command
6712	* generic/tkGet.c: added TkGetDoublePixels
6713	* generic/tkImage.c: bug fixes from Img patch and new
6714	Tk_PostscriptImage and Tk_SetTSOrigin functions
6715	* generic/tkImgBmap.c: new ImgBmapPostscript function
6716	* generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto
6717	* generic/tkInt.h: declarations for some new functions
6718	* generic/tkMessage.c: reworked relief drawing
6719	* generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style
6720	ConfigureWidget calls can pass in Tcl_Obj arrays
6721	* generic/tkScrollbar.c:
6722	* generic/tkScrollbar.h: made -orient use an option table
6723	* generic/tkText.c:
6724	* generic/tkText.h: made -wrap and -state use option tables
6725	* generic/tkTextBTree.c:
6726	* generic/tkTextDisp.c:
6727	* generic/tkTextImage.c:
6728	* generic/tkTextMark.c:
6729	* generic/tkTextTag.c:
6730	* generic/tkTextWind.c: added support for -elide and -state hidden
6731	* generic/tkTrig.c: changed TkMakeBezierCurve to support returning
6732	the upper limit of points needed for spline
6733	* generic/tkUtil.c: new option table parsing routines
6734	* generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
6735
6736	related bug ids for the fixes:
6737	[Bug: 648 1541 1540 1779 2168 2311 2297 2340 2348 2578 3386]
6738
6739	* tests/bind.test:
6740	* tests/canvImg.test:
6741	* tests/canvPsArc.tcl:
6742	* tests/canvPsImg.tcl: (new file)
6743	* tests/canvRect.test:
6744	* tests/canvText.test:
6745	* tests/canvas.test:
6746	* tests/defs.tcl:
6747	* tests/entry.test:
6748	* tests/event.test:
6749	* tests/font.test:
6750	* tests/frame.test:
6751	* tests/imgPhoto.test:
6752	* tests/safe.test:
6753	* tests/scale.test:
6754	* tests/scrollbar.test:
6755	* tests/select.test:
6756	* tests/text.test:
6757	* tests/textDisp.test:
6758	* tests/textTag.test:
6759	* tests/unixFont.test:
6760	* tests/unixWm.test:
6761	* tests/visual_bb.test:
6762	* tests/winClipboard.test: tests for the dash patch changes
6763
6764	* unix/mkLinks: added GetDash.3 into the mkLink step
6765
6766	* mac/tkMacDraw.c: mac still needs pointer warping routine
6767	* mac/tkMacXStubs.c:
6768	* win/tkWinDraw.c:
6769	* win/tkWinPointer.c: added support for pointer warping and
6770	platform specific support for dash patch items
6771
67721999-12-12  Jeff Hobbs  <hobbs@scriptics.com>
6773
6774	* generic/tkText.c: fixed bug in TextSearchCmd for multibyte chars
6775	(Darley) [Bug: 3839]
6776
6777	* unix/aclocal.m4: added warning when configuring with
6778	--enable-threads that Tk may have problems
6779
67801999-12-09  Jeff Hobbs  <hobbs@scriptics.com>
6781
6782	* generic/tkImgGIF.c: updated casting
6783
6784	* win/makefile.vc: removed 16bit stuff, simplified makefile.
6785
67861999-12-06  Scott Redman  <redman@scriptics.com>
6787
6788	* generic/tkMain.c: need to include tclInt.h for new hook
6789	functions that are internal-use-only.
6790
67911999-12-06  Jeff Hobbs  <hobbs@scriptics.com>
6792
6793	* library/comdlg.tcl: removed tclVerifyInteger and tclSortNoCase,
6794	they weren't used, and were not actually correct
6795
6796	* mac/tkMacFont.c:
6797	* mac/tkMacMenu.c:
6798	* mac/tkMacWindowMgr.c: fixed greyed out menu items, handling of
6799	... elipsis, font mapping problem, and enabled generated menu
6800	posting [Bug: 3705]
6801
68021999-12-02  Jeff Hobbs  <hobbs@scriptics.com>
6803
6804	* generic/tkInt.h:
6805	* generic/tkWindow.c:
6806	* generic/tkCmds.c: converted Tk_DestroyCmd, Tk_LowerCmd and
6807	Tk_RaiseCmd to their ObjCmd equivalent.
6808
6809	* library/msgbox.tcl: added color icons for tk_messageBox on Unix
6810	and Mac when tk_strictMotif isn't set. (Hipp)
6811	* library/tk.tcl: added window bounds checking to ::tk::PlaceWindow
6812
6813	* tests/imgPPM.test: fixed test 2.2 to use -format ppm (since
6814	we know have GIF write capability)
6815
68161999-12-01  Scott Redman <redman@scriptics.com>
6817
6818	* generic/tkMain.c :
6819	* unix/tkAppInit.c:
6820	* win/winMain.c: Added added hooks into the main() code for
6821	supporting TclPro and other "big" shells more easily without
6822	requiring a copy of the main() code.
6823
68241999-11-29  Jeff Hobbs  <hobbs@scriptics.com>
6825
6826	* generic/tkImgGIF.c: added GIF writing that uses miGIF RLE
6827	[Bug: 2039, new patch]
6828
6829	* library/entry.tcl: fixed up tkEntrySeeInsert (Nemthi)
6830
6831	* generic/tkListbox.c: fixed 'get' of listbox to return a string
6832	when only one item is requested.
6833
6834	* tests/clrpick.test:
6835	* tests/filebox.test: minor whitespace cleanup
6836
6837	* library/tk.tcl: fixed missing $w in ::tk::PlaceWindow
6838
68391999-11-24  Jeff Hobbs  <hobbs@scriptics.com>
6840
6841	* library/clrpick.tcl:
6842	* library/msgbox.tcl:
6843	* library/tk.tcl:
6844	* library/tkfbox.tcl:
6845	* library/xmfbox.tcl: fixed dialogs to center over -parent,
6846	added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab,
6847	::tk::RestoreFocusGrab to tk.tcl to help
6848
68491999-11-23  Eric Melski  <ericm@scriptics.com>
6850
6851	* tests/listbox.test: Added a test to check that the topIndex is
6852	update when items are removed from the listvar variable.
6853
6854	* generic/tkListbox.c: Added a check the updates the topIndex when
6855	items are removed from the listvar variable.
6856
6857	* tests/listbox.test: Added a test to check that the vertical
6858	scrollbar is updated when the listvar changes.
6859
6860	* generic/tkListbox.c (ListboxListVarProc): added a check that
6861	sets the UPDATE_V_SCROLLBAR flag if the length of the listvar has
6862	changed.
6863
68641999-11-23  Jeff Hobbs  <hobbs@scriptics.com>
6865
6866	* generic/tk.h:
6867	* generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT
6868	as equiv for TK_CONFIG_DONT_SET_DEFAULT
6869	* generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the
6870	item specs
6871
68721999-11-19  Jeff Hobbs  <hobbs@scriptics.com>
6873
6874	* generic/tkColor.c:
6875	* generic/tkColor.h: fixed Tk_NameOfColor to work correctly,
6876	with minor change to TkColor struct.
6877
6878	* generic/tkConsole.c: added static declaration to
6879	ConsoleDeleteProc function (proto already had it)
6880
6881	* win/tkWinInt.h: removed TkFontAttributes typedef (was
6882	redundant with tkFont.h).
6883	* win/tkWinPort.h: put #ifndef __GNUC__ around redefinition
6884	of str[n]casecmp, as cygwin uses the originals.
6885	* win/tkWinX.c: changed GetCurrentTime to GetTickCount (the
6886	former is deprecated).  [Bug: 2053]
6887
68881999-11-19  Eric Melski  <ericm@scriptics.com>
6889
6890	* tests/listbox.test: Added tests for itemcget and itemconfigure.
6891
6892	* doc/listbox.n: Added documentation for -listvar option and for
6893	itemconfigure and itemcget commands.
6894
6895	* generic/tkListbox.c: Added support for itemconfigure/itemcget
6896	listbox subcommands (addresses rfe #936)
6897
68981999-11-17  Eric Melski  <ericm@scriptics.com>
6899
6900	* tests/listbox.test: Updated tests for new error messages.
6901
6902	* generic/tkListbox.c: Improved error messages for bad -listvar's.
6903
6904	* tests/listbox.test: Added tests for bad -listvar's.
6905
6906	* generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad
6907	lists)
6908
6909	* tests/listbox.test: Added tests for ListboxUpdateHScrollbar.
6910
6911	* generic/tkListbox.c: Changed some old static buffers to base
6912	size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
6913
6914	* tests/listbox.test: New tests for -listvar functionality, and an
6915	odd extra case that wasn't covered before.
6916
6917	* generic/tkListbox.c: Tests exposed some bugs, now fixed.
6918
69191999-11-16  Eric Melski  <ericm@scriptics.com>
6920
6921	* tests/listbox.test: Fixed tests to comply with new objectified
6922	error messages.  No -listvar specific tests yet.
6923
6924	* win/tkWinDefault.h:
6925	* unix/tkUnixDefault.h:
6926	* mac/tkMacDefault.h: Added default value for -listvar option.
6927
6928	* generic/tkWindow.c: Changed "listbox" mapping from old-school to
6929	new-school objectified command.
6930
6931	* generic/tkListbox.c: Objectified listbox; added support for
6932	-listvar option.  Converted internal structure to use a Tcl list
6933	object to store the data.
6934
6935	* generic/tkInt.h: Changed reference to Tk_ListboxCmd to
6936	Tk_ListboxObjCmd.
6937
69381999-11-09  Jeff Hobbs  <hobbs@scriptics.com>
6939
6940	* generic/tkGrid.c: changed Tcl_Alloc to ckalloc
6941
6942	* generic/tkEntry.c: fixed C expr error in destroy of entry
6943	that could lead to 'malformed bucket chain' error
6944
6945	* win/winMain.c: corrected winMain to not do a DebugBreak when
6946	returning an error message from the top level
6947
69481999-10-30  Jeff Hobbs  <hobbs@scriptics.com>
6949
6950	* win/tkWinKey.c: fixed XKeysymToKeycode to handle mapping of
6951	symbolic keysyms (Left, Home, ...) with event generate
6952
6953	* library/entry.tcl: change tkEntrySeeInsert to avoid the use
6954	of a while loop that could eat CPU tremendously.  Behavior of
6955	moving the cursor at the right edge changes slightly (previously
6956	it tried to keep the cursor at the right edge, now it moves the
6957	cursor to a "central right" location - better IMHO).
6958
69591999-10-28  Jeff Hobbs  <hobbs@scriptics.com>
6960
6961	* doc/CrtImgType.3:
6962	* doc/CrtPhImgFmt.3:
6963	* doc/FindPhoto.3:
6964	* doc/photo.n:
6965	* generic/tk.h:
6966	* generic/tkCmds.c:
6967	* generic/tkImage.c:
6968	* generic/tkImgBmap.c:
6969	* generic/tkImgGIF.c:
6970	* generic/tkImgPPM.c:
6971	* generic/tkImgPhoto.c:
6972	* generic/tkInt.h:
6973	* generic/tkTest.c:
6974	* generic/tkWindow.c:
6975	* tests/imgPhoto.test: added Img patch (Nijtmans) with docs,
6976	headers #def'd with USE_OLD_IMAGE.  Upgrades image stuff to
6977	Tcl_Obj API, adds alpha channel (images are now 32 bpp)
6978
6979	* makefile.vc: changed 'c:/program files' to c:/progra~1
6980
69811999-10-19  Jeff Hobbs  <hobbs@scriptics.com>
6982
6983	* library/scrlbar.tcl: changed tkScrollButtonUp to check for
6984	existence of tkPriv(relief) in order to avoid spurious release
6985	events
6986
6987	* unix/Makefile.in: added ChangeLog to dist archive
6988
69891999-09-24  Jeff Hobbs  <hobbs@scriptics.com>
6990
6991	* */README:
6992	* win/makefile.vc:
6993	* */configure.in:
6994	* generic/tk.h:
6995	* library/tk.tcl: up'd to 8.3a1
6996
6997	* unix/Makefile.in: changed 'mkdir' to 'mkdir -p'
6998
6999	* library/dialog.tcl: changed {Times 18} to {Times 12} for
7000	dialog font.
7001
70021999-09-16  Jeff Hobbs  <hobbs@scriptics.com>
7003
7004	* generic/tkFont.c: fixed processing of font options and error
7005	returned [Bug: 2075]
7006
7007	* win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the
7008	wrong toplevel, and changed it to not set focus on overridden
7009	toplevels
7010
70111999-09-15  Jeff Hobbs  <hobbs@scriptics.com>
7012
7013	* unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070]
7014	and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX
7015	version check (readjust from 8-21 fix) and several other config
7016	fixes for AIX
7017	* mac/tkMacMenubutton.c:
7018	* unix/tkUnixMenubu.c: fixed permanently stippled menubutton image
7019	* win/tkWinButton.c: fixed possible pointer smash [Bug: 2733]
7020
70211999-09-14  Jeff Hobbs  <hobbs@scriptics.com>
7022
7023	* win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]
7024
70251999-09-01  Jeff Hobbs  <hobbs@scriptics.com>
7026
7027	* win/tkWinDraw.c:
7028	* unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder
7029	* generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c
7030	(from code added to support TkpDrawHighlightBorder) [Bug: 2676]
7031	* unix/aclocal.m4: added -bnoentry to the AIX-* flags
7032	* library/msgbox.tcl: changed the behavior of tk_messageBox on
7033	Unix to be more Windows like in handling of <Return> and the
7034	default button
7035	* library/button.tcl:
7036	* library/clrpick.tcl:
7037	* library/comdlg.tcl:
7038	* library/console.tcl:
7039	* library/dialog.tcl:
7040	* library/entry.tcl:
7041	* library/focus.tcl:
7042	* library/listbox.tcl:
7043	* library/menu.tcl:
7044	* library/msgbox.tcl:
7045	* library/palette.tcl:
7046	* library/safetk.tcl:
7047	* library/scale.tcl:
7048	* library/scrlbar.tcl:
7049	* library/tearoff.tcl:
7050	* library/text.tcl:
7051	* library/tk.tcl:
7052	* library/tkfbox.tcl:
7053	* library/xmfbox.tcl: updated commands to use [string] ops
7054	instead of expr equality operators
7055
70561999-08-21  Jeff Hobbs  <hobbs@scriptics.com>
7057
7058	* unix/aclocal.m4: Changed AIX-4.[2-9] check to AIX-4.[1-9]
7059	[Bug: 1909]
7060
70611999-08-20  Jeff Hobbs  <hobbs@scriptics.com>
7062
7063	* generic/tkCursor.c: fixed bug in GetCursorFromObj that caused
7064	panic [Bug: 2562]
7065
7066	* TK 8.2.0 RELEASED
7067
70681999-08-13  Jim Ingham  <jingham@cygnus.com>
7069
7070	* mac/tkMacMenu.c: Tk_DrawChars ends up setting the menu background
7071	wrong.	There is no clean way to stop it, so I use lower level routines
7072	here to draw the text.
7073	* mac/tkMacProjects.sea.hqx: Rearrange the projects so that the build
7074	directory is separate from the sources.  Much more convenient!
7075
70761999-08-10  Jeff Hobbs  <hobbs@scriptics.com>
7077
7078	* win/tkWinWm.c: changed "wm deiconify" on Windows to raise and
7079	force the focus on the deiconified window (behavioral change from
7080	8.1 to comply better with Windows style) [Bug: 1609]
7081	* doc/wm.n: clarified behavior of "wm deiconify".
7082	* generic/tkInt.decls: added TkSetFocusWin
7083	* generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
7084
7085	* library/clrpick.tcl:
7086	* library/console.tcl:
7087	* library/tk.tcl: fixed code where abbreviations where used
7088	in calling widget methods (confuses iWidgets) [Bug: 2422]
7089
70901999-08-09  Jeff Hobbs  <hobbs@scriptics.com>
7091
7092	* library/button.tcl: cleaned up programming (config -> configure)
7093	and fixed Windows relief bug [Bug: 664]
7094	* library/entry.tcl: changed Entry C/C/P to not use global data
7095	(now uses tkPriv(data)) [Bug: 1475]
7096	* library/listbox.tcl: fixed extended mode script error [Bug: 866]
7097	* doc/options.n: clarified that -troughcolor doesn't work on Windows
7098	* doc/wm.n: fixed wm positionfrom docs [Bug: 2284]
7099
71001999-08-01  Jeff Hobbs  <hobbs@scriptics.com>
7101
7102	* mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid
7103	compiler errors when used with stubs-#defines, from Vince Darley.
7104	[Bug: 2389]
7105
71061999-07-31  Scott Redman  <redman@scriptics.com>
7107
7108	* xlib/X11/Xlib.h: Remove XFillRectangle since it is now in the
7109	stub tables.
7110
71111999-07-30  Jeff Hobbs  <hobbs@scriptics.com>
7112
7113	* generic/tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]
7114
71151999-07-30  Scott Redman  <redman@scriptics.com>
7116
7117	* win/makefile.vc: Corrected building threaded tktest.exe on
7118	Windows.  Needed to link in .obj files from Tcl, needs to change
7119	later so that code is in Tk and doesn't require a Tcl build.
7120	Also added runtest target.
7121
71221999-07-29  Scott Redman  <redman@scriptics.com>
7123
7124	* generic/tkConsole.c: Allow tcl to open CON and NUL, even for std
7125	channels.  Checking for bad/unusable std channels was moved to Tk
7126	since its only purpose was to check whether to use the Tk Console
7127	Window for the std channels.  [Bug: 2393 2392 2209 2458]
7128
7129	* win/Makefile.in: Corrected building threaded tktest.exe on
7130	Windows.  Needed to link in .obj files from Tcl, needs to change
7131	later so that code is in Tk and doesn't require a Tcl build.
7132
71331999-07-22  Scott Redman  <redman@scriptics.com>
7134
7135	* Changed version to 8.2b2
7136
7137	* win/tkWinPort.h: Block out include of sys/stat.h in order to
7138	build extensions with MetroWerks compiler for Win32. [Bug: 2385]
7139
7140	* unix/Makefile.in: Need to make install-sh executable before
7141	calling (with chmod +x).  [Bug: 2413]
7142
7143	* library/menu.tcl: Applied patch from Jeff Hobbs to fix typo.
7144	[Bug: 2425]
7145
71461999-07-21  Scott Redman  <redman@scriptics.com>
7147
7148	* unix/Makefile.in: Add Windows configure script to distribution.
7149
71501999-07-16  Scott Redman  <redman@scriptics.com>
7151
7152	* unix/Makefile.in:
7153	* win/Makefile.in:  Copy the prolog.ps from the generic directory
7154	for install-libraries.
7155
7156	* unix/aclocal.m4: Check for Alpha/Linux to set the IEEE flag to
7157	the compiler to be -mieee.  Patch from Don Porter.
7158
71591999-07-08  Scott Stanton  <stanton@scriptics.com>
7160
7161	* tests/unixSelect.test: Fixed broken test.
7162
7163	* win/makefile.vc: Added special case target to ensure that
7164	tkStubLib.obj is built with -DSTATIC_BUILD.
7165
7166	* win/tkWinX.c (TkWinChildProc): Changed to pass
7167	WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL
7168	sub-windows happy.  This allows Windows to generate the WM_SIZE
7169	and WM_MOVE messages.
7170
71711999-07-08  Scott Redman  <redman@scriptics.com>
7172
7173	* unix/configure.in: Fix Tk stub lib file names and flags.
7174
71751999-06-30  Scott Redman  <redman@scriptics.com>
7176
7177	* generic/tkGrid.c: removed deprecated functions (applied patch
7178	from Jan Nijtmans). [Bug: 2080]
7179
7180	* generic/tkImgGIF.c:
7181	* generic/tkImgPPM.c:
7182	* generic/tkImgPhoto.c: Applied patch to allow Img extension to
7183	work with 8.2, from Jan Nijtmans. [Bug: 2068]
7184
7185	* win/tkWinWm.c: Applied patch from Don Porter to prevent the
7186	windows code from calling the Tcl functions when the stub table
7187	has not been initialized in TkWinWmCleanup.  [Bug: 2269]
7188
71891999-06-16  Michael Thomas  <wart@scriptics.com>
7190
7191	* unix/configure.in:
7192	* unix/Makefile.in:
7193	* unix/aclocal.m4: Numerous build changes to make Tk conform to
7194	the proposed TEA spec
7195
7196	* tkConsole.c: changed some variable types from (int) to (size_t)
7197	to prevent compiler warnings.  Cast return value from strlen()
7198	to (int) in one place for the same reason.
7199
72001999-06-03  Scott Stanton  <stanton@scriptics.com>
7201
7202	* unix/tkUnixSelect.c:
7203	* tests/unixSelect.test:
7204	* generic/tkSelect.c: Fixed selection code to handle Unicode data
7205	in COMPOUND_TEXT and STRING selections. [Bug: 1791]
7206
72071999-06-02  Scott Stanton  <stanton@scriptics.com>
7208
7209	* generic/tkIntXlibDecls.h:
7210	* xlib/X11/Xlib.h: Added Mac specific defines to help with
7211	compilation.
7212
7213	* generic/tkFont.c: lint
7214
72151999-06-01  Scott Stanton  <stanton@scriptics.com>
7216
7217	* unix/tkUnixSelect.c: Improved I18N selection support.
7218	COMPOUND_TEXT is converted to/from iso2022, and STRING is
7219	converted to/from iso8859-1.  There are still a few loose ends to
7220	tie up before this is completely done.
7221
7222	* unix/tkUnixFont.c: Eliminated redundant case folding code.
7223
7224	* generic/tkFont.c: Eliminated use of isupper/tolower in favor of
7225	Unicode variants.
7226
72271999-05-24  Scott Stanton  <stanton@scriptics.com>
7228
7229	* generic/tkStubLib.c:
7230	* generic/tkStubInit.c:
7231	* generic/tkIntXlibDecls.h:
7232	* generic/tkIntPlatDecls.h:
7233	* generic/tkIntDecls.h:
7234	* generic/tkInt.decls:
7235	* generic/tkConsole.c: Various changes to try to get the Mac
7236	builds working.
7237
72381999-05-21  Scott Stanton  <stanton@scriptics.com>
7239
7240	* win/tkWinClipboard.c: Fixed clipboard code to handle lack of
7241	CF_LOCALE information (e.g. from command.com).
7242
72431999-05-20  Scott Redman  <redman@scriptics.com>
7244
7245	* library/console.tcl: Changed copyright string to read 1999
7246	Scriptics Corp. in wish console about box.
7247
72481999-05-19  Scott Redman  <redman@scriptics.com>
7249
7250	* generic/tk.h: Add extern "C" block around entire header file for
7251	C++ compilers to fix linkage issues.  Submitted by Don Porter and
7252	Paul Duffin.
7253
72541999-05-18  Scott Stanton  <stanton@scriptics.com>
7255
7256	* tests/winClipboard.test:
7257	* win/tkWinClipboard.c: Fixed clipboard code so it handles Unicode
7258	data properly on Windows NT and 95. [Bug: 1791]
7259
72601999-05-07  Scott Stanton  <stanton@scriptics.com>
7261
7262	* library/menu.tcl: Fixed bug where tk_popup fails when called too
7263	quickly. [Bug: 2009]
7264
72651999-04-30  Scott Stanton  <stanton@scriptics.com>
7266
7267	* Changed version number to 8.1.1.
7268
72691999-04-30  Scott Stanton  <stanton@scriptics.com>
7270
7271	* Merged changes from 8.1.0 branch:
7272
7273	* generic/tkDecls.h:
7274	* generic/tkIntDecls.h:
7275	* generic/tkIntPlatDecls.h:
7276	* generic/tkIntXlibDecls.h:
7277	* generic/tkPlatDecls.h:
7278	* generic/tkStubInit.c: Changed to avoid the need for forward
7279	declarations in stub initializers.  Added extern "C" blocks around
7280	stub table pointer declarations so the stubs can be used from C++
7281	code. [Bug: 1934]
7282
7283	* generic/tkInt.decls: Added TkClipBox, XDrawSegments, and
7284	XForceScreenSaver to stubs.
7285
7286	* generic/tkStubLib.c: Reordered declarations to avoid
7287	circularities and forward references.
7288
7289	* generic/tkStubInit.c: Added includes for Mac.
7290
7291	* generic/tkMenubutton.c: lint
7292
7293	* generic/tkEntry.c: Fixed bad option table entry.
7294
7295	* generic/tkImgBmap.c:
7296	* generic/tkImgPPM.c:
7297	* generic/tkImgPhoto.c: Set the -translation and -encoding options
7298	to binary for image files. (reported by Marco Gazzetta)
7299
73001999-04-23  Scott Stanton  <stanton@scriptics.com>
7301
7302	* generic/tkInt.decls: Added TkClipBox, XDrawSegments, and
7303	XForceScreenSaver to stubs.
7304
7305	* generic/tkStubLib.c: Reordered declarations to avoid
7306	circularities and forward references.
7307
7308	* generic/tkStubInit.c: Added includes for Mac.
7309
7310	* generic/tkMenubutton.c: lint
7311
7312	* generic/tkEntry.c: Fixed bad option table entry.
7313
73141999-04-22  Scott Redman  <redman@scriptics.com>
7315
7316	* generic/tkImgBmap.c:
7317	* generic/tkImgPPM.c:
7318	* generic/tkImgPhoto.c: Set the -translation and -encoding options
7319	to binary for image files. (reported by Marco Gazzetta)
7320
73211999-04-20  Scott Redman  <redman@scriptics.com>
7322
7323	* xlib/X11/Xlib.h: changed definition of Status type to use a
7324	typedef instead of a #define to avoid conflicting with the cygwin
7325	win32 headers [Bug 1804]
7326
73271999-04-15  Scott Stanton  <stanton@scriptics.com>
7328
7329	* Merged 8.1 branch into the main trunk
7330
73311999-04-09  Scott Redman  <redman@scriptics.com>
7332
7333	* generic/tkWindow.c: Fixed deadlock situation when the Initialize()
7334	function returns without releasing the mutex.  Found while testing
7335	Bug 1700, during safe.test (tk).
7336
73371999-04-06  Scott Stanton  <stanton@scriptics.com>
7338
7339	* generic/tkMain.c (Tk_MainEx): Changed to reset result before
7340	calling Tcl_EvalFile.  The ensures that error messages will be
7341	generated cleanly.
7342
7343	* tests/winfo.test: Enabled tests that previously failed.
7344
73451999-04-05  Scott Stanton  <stanton@scriptics.com>
7346
7347	* library/bgerror.tcl:
7348	* library/button.tcl:
7349	* library/clrpick.tcl:
7350	* library/console.tcl:
7351	* library/dialog.tcl:
7352	* library/entry.tcl:
7353	* library/focus.tcl:
7354	* library/listbox.tcl:
7355	* library/menu.tcl:
7356	* library/msgbox.tcl:
7357	* library/palette.tcl:
7358	* library/scale.tcl:
7359	* library/scrlbar.tcl:
7360	* library/tearoff.tcl:
7361	* library/text.tcl:
7362	* library/tk.tcl: Lots of minor performance improvements
7363	contributed by Jeffrey Hobbs. [Bug: 1118]
7364
7365	* win/tkWinWm.c (Tk_WmCmd): Fixed bad code in tracing
7366	suboption. [Bug: 1519]
7367
7368	* library/tkfbox.tcl: Change to restore button text after an
7369	action to avoid the sticky "Open" button in a save dialog.
7370	[Bug: 1640]
7371
7372	* library/entry.tcl: Fixed so selection is returned using the
7373	-show character during cut and paste operations. [Bug: 1687]
7374
73751999-04-5   Scott Redman  <redman@scriptics.com>
7376
7377	* generic/tkInt.decls:
7378	* generic/tkIntXlibDecls.h:
7379	* generic/tkStubInit.c:
7380	* xlib/xgc.c:
7381	* xlib/X11/Xlib.h:
7382	* xlib/X11/Xutil.h: Added more X functions to the Win & Mac stubs
7383	tables.
7384
73851999-04-05  Scott Stanton  <stanton@scriptics.com>
7386
7387	* unix/configure.in:
7388	* generic/tkCanvPs.c: Added configure test for pw_gecos field in
7389	pwd to support OS/390. [Bug: 1724]
7390
73911999-04-02  Scott Stanton  <stanton@scriptics.com>
7392
7393	* tests/text.test:
7394	* generic/tkText.c: Fixed handling of Unicode in text searches.
7395	The -count option was returning byte counts instead of character
7396	counts. [Bug: 1056, 1148, 1666]
7397
73981999-04-01  Scott Redman  <redman@scriptics.com>
7399
7400	* generic/tk.decls:
7401	* generic/tk.h:
7402	* generic/tkStubInit.c:
7403	* generic/tkWindow.c:
7404	* unix/Makefile.in:
7405	* win/makefile.vc: Tk now uses its own stub library to store
7406	pointers to its own stubs table.
7407
7408	* doc/dde.n: (removed)
7409	* doc/send.n:
7410	* generic/tk.decls:
7411	* tests/winSend.test:
7412	* generic/tkPlatDecls.h:
7413	* win/tkWinSend.c:  Removed the DDE-based send and dde commands,
7414	they were causing Tk to lock up when any window on the system was
7415	not processing its message queue (more importantly, windows in Tcl
7416	and Tk).  The send command needs to be rewritten to prevent the
7417	deadlock situation (soon).  The dde command is being pushed into
7418	its own package and will provide almost all of the capabilities
7419	that send did before (using a "dde eval" command), not yet
7420	completed.
7421
74221999-03-31  Scott Redman  <redman@scriptics.com>
7423
7424	* win/tkWinSend.c: Modified dde/send code to work properly on
7425	Win95/Win98. String lengths are not returned properly by DDE, so
7426	NULL terminate all strings going in and ignore the string length
7427	coming back out.  Do not destroy handles until all necessary work
7428	on those handles (and child handles) is done.
7429
74301999-03-30  Scott Stanton  <stanton@scriptics.com>
7431
7432	* generic/tkWindow.c (Tk_DestroyWindow): Image handlers are now
7433	finalized before the font subsystem since complex image handlers
7434	may contain references to fonts (e.g. Tix compound images).
7435	[Bug: 1603]
7436
74371999-03-29  Scott Stanton  <stanton@scriptics.com>
7438
7439	* doc/MeasureChar.3:
7440	* doc/TextLayout.3:
7441	* generic/tk.decls:
7442	* generic/tkCanvText.c:
7443	* generic/tkEntry.c:
7444	* generic/tkFont.c:
7445	* generic/tkListbox.c:
7446	* generic/tkMessage.c:
7447	* mac/tkMacFont.c:
7448	* unix/tkUnixButton.c:
7449	* unix/tkUnixFont.c:
7450	* unix/tkUnixMenu.c:
7451	* win/tkWinFont.c:
7452	* win/tkWinMenu.c: Standardized text layout and font interfaces
7453	so they are consistent with respect to byte versus character
7454	oriented indices.  The layout functions all manipulate character
7455	oriented values while the lower level measurement functions all
7456	operate on byte oriented values.  This distinction was not clear
7457	and so the functions were being used improperly in a number of
7458	places.  [Bug: 1053, 747, 749, 1646]
7459
7460	* generic/tk.decls: Eliminated uses of C++ STL types string and
7461	list from declarations.
7462
7463	* generic/tkFont.c: Changes to named fonts were not being
7464	propagated in some cases. [Bug: 1144]
7465
7466	* xlib/X11/Xlib.h:
7467	* generic/tkInt.decls: Added XParseColor to xlib stub
7468	tables. [Bug: 1574]
7469
7470	* doc/GetBitmap.3:
7471	* generic/tkBitmap.c (BitmapInit): Eliminated use of Tk_Uid's in
7472	bitmaps.  Added a few CONST declarations.
7473
74741999-03-29  Scott Redman  <redman@scriptics.com>
7475
7476	* unix/configure.in:
7477	* unix/Makefile.in:
7478	* win/makefile.vc:
7479	* generic/tkDecls.h:
7480	* generic/tkIntDecls.h:
7481	* generic/tkIntPlatDecls.h:
7482	* generic/tkPlatDecls.h:
7483	* generic/tkIntXlibDecls.h: Removed stub functions. Always use the
7484	Tcl stubs when building with --enable-shared.
7485
74861999-03-26  Scott Redman  <redman@scriptics.com>
7487
7488	* generic/tkTextIndex.c:
7489	* tests/testIndex.test: Avoid looking past the beginning of the
7490	array storing data for the text widget (.t index end-2c).  Added
7491	test case to check for the bug.  [Bug 991]
7492
7493	* generic/tkConsole.c: Copy static strings into a Tcl_DString
7494	before passing to Tcl_Eval, in case the compiler puts static
7495	strings into read-only memory.
7496
74971999-03-26  Suresh Ankolekar  <suresh@scriptics.com>
7498
7499	* unix/configure.in:
7500	--nameble-shared is now the default and builds Tk as a shared
7501	library; specify --disable-shared to build a static Tk library
7502	and shell.
7503
75041999-03-26  Bryan Surles  <surles@scriptics.com>
7505
7506	* library/menu.tcl: Fixed bug reported by Bryan Oakley in the
7507	menubutton bindings.  There was a false assumption that there was
7508	always a menu attached to the button.  [Bug 1116]
7509
75101999-03-26  Scott Redman  <redman@scriptics.com>
7511
7512	* unix/configure.in: Removed --enable-tcl-stub.  Linking Tk to Tcl
7513	stubs is causing too many problems when linking executables like wish.
7514	Until the Tk is a fully loadable extension, linking against the Tcl
7515	stubs is not supported in Tk.
7516
75171999-03-19  Scott Redman  <redman@scriptics.com>
7518
7519	* generic/tkBitmap.c:
7520	* generic/tkCursor.c:
7521	* generic/tkGC.c: When creating hash tables that key off of XID
7522	handles, make sure to pass TCL_ONE_WORD_KEYS.  XIDs are guaranteed
7523	to be 32bit numbers, although on some 64bit systems (including 64bit
7524	Solaris 7) they are packed into a 64bit value where the upper 32bits
7525	are zero. The normal method of sizeof(XID)/sizeof(int) causes the
7526	hash table code to assume that the XID is a pointer to an array of
7527	two ints, which it is not.  Tk now supports 64bit Solaris 7.
7528
75291999-03-17  Scott Stanton  <stanton@scriptics.com>
7530
7531	* win/makefile.vc:
7532	* generic/tk.h: Changed to use TCL_BETA_RELEASE macro, and fixed
7533	so this works in rc files.
7534
7535	* win/makefile.vc:
7536	* win/makefile.bc:
7537	* win/README:
7538	* unix/configure.in:
7539	* generic/tk.h:
7540	* README: Updated version to 8.1b3.
7541
75421999-03-14  Scott Stanton  <stanton@GASPODE>
7543
7544	* unix/configure.in: Added missing stub related definitions.
7545
7546	* unix/Makefile.in: Install tkDecls.h in addition to tk.h.
7547
7548	* generic/tkStubLib.c: Added flags to ensure we are using Tcl
7549	stub macros.
7550
75511999-03-11  Scott Stanton  <stanton@GASPODE>
7552
7553	* generic/tkInt.decls: Added reserved slot for XSetDashes for use
7554	by the dash patch.
7555
75561999-03-10  Scott Redman  <redman@scriptics.com>
7557
7558	* xlib/xdraw.c:
7559	* xlib/X11/Xlib.h:
7560	* mac/tkMac.h:
7561	* mac/tkMacInt.h:
7562	* mac/tkMacPort.h:
7563	* mac/tkMacXStubs.c:
7564	* mac/tkMacAppInit.c:
7565	* mac/tkMacCursor.c:
7566	* win/makefile.vc:
7567	* win/tkWin.h:
7568	* win/tkWinInt.h:
7569	* win/tkWinPort.h:
7570	* win/winMain.c:
7571	* generic/tk.h:
7572	* generic/tkInt.h:
7573	* generic/tk.decls:
7574	* generic/tkInt.decls:
7575	* generic/tkDecls.h:
7576	* generic/tkPlatDecls.h:
7577	* generic/tkIntDecls.h:
7578	* generic/tkIntPlatDecls.h:
7579	* generic/tkIntXlibDecls.h:
7580	* generic/tkStubs.c:
7581	* generic/tkPlatStubs.c:
7582	* generic/tkIntStubs.c:
7583	* generic/tkIntPlatStubs.c:
7584	* generic/tkIntXlibStubs.c:
7585	* generic/tkStubInit.c:
7586	* generic/tkStubLib.c:
7587	* generic/tkBind.c:
7588	* generic/tkCmds.c:
7589	* generic/tkConfig.c:
7590	* generic/tkConsole.c:
7591	* generic/tkCursor.c:
7592	* generic/tkGrab.c:
7593	* generic/tkImgPhoto.c:
7594	* generic/tkMain.c:
7595	* generic/tkMenu.c:
7596	* generic/tkPointer.c:
7597	* generic/tkTextDisp.c:
7598	* generic/tkWindow.c:
7599	* unix/tkUnixInt.h:
7600	* unix/tkUnixPort.h:
7601	* unix/Makefile.in:
7602	* unix/configure.in:
7603	* unix/tkConfig.sh.in:
7604	* unix/tkUnix.c:
7605	* unix/tkUnix3d.c:
7606	* unix/tkUnixDraw.c:
7607	* unix/tkUnixFont.c:
7608	* unix/tkUnixMenubu.c: Stubs implementation for 8.1.  Tk_Main() is
7609	replaced with a macro which calls Tk_MainEx(). Tk can link to the Tcl
7610	stubs library, wish links directly to Tcl and Tk. Use
7611	--enable-tcl-stubs to link Tk to the Tcl stubs library (Unix), on
7612	by default on Windows. Exported all public functions through the
7613	stubs mechanism (see the *.decls files) and many of the internal
7614	functions. Most of the changes dealt with shifting around the
7615	function declarations in the header files.  Mac code may not
7616	compile, but it shouldn't take much work to fix this.
7617
7618	* mac/tkMacMenu.c: Added dummy TkpMenuThreadInit for Mac to be
7619	consistent with Unix and Windows versions.
7620
76211999-03-08  Lee Bernhard  <lfb@scriptics.com>
7622
7623	* win/tkWinWm.c: Toplevel class no longer shared between
7624	threads.
7625
7626	* win/tkWinX.c: Multiple threads no longer share the same
7627	TkDisplay structure.  Required because TkDisplay stores much
7628	thread-specific data for a given thread.
7629
7630	* win/tkWinSend.c: Moved application instance handle out
7631	out thread-local storage.  DDE was failing to initialize
7632	when the instance handles were different between threads.
7633
7634	* win/makefile.vc: Added THREADDEFINES for building with
7635	threads enabled.
7636
7637	* generic/tkMenu.c:
7638	* win/tkWinMenu.c:
7639	* unix/tkUnixMenu.c: Added TkpMenuThreadInit for initializing
7640	thread-specific Menu state.
7641
76421999-03-01  Scott Redman  <redman@scriptics.com>
7643
7644	* win/tkWinWm.c:
7645	* win/tkWinPointer.c:
7646	* win/tkWinInt.h: Fix "focus -force" for Windows.  The Win32 API
7647	function SetForegroundWindow() does not work unless the window
7648	handle is a toplevel window (a Windows toplevel).  The handle
7649	being passed was a Tk toplevel, which is a child of the Windows
7650	toplevel.
7651
76521999-02-26  Scott Redman  <redman@scriptics.com>
7653
7654	* win/cat.c: Remove this file, use the one in the Tcl source directory.
7655
7656	* win/makefile.vc: Remove the wishc.exe from the default targets.  Add
7657	a separate console-wish target to build it.  The need for a
7658	console-wish will go away soon, so we don't want to encourage its
7659	use.
7660
76611999-02-25  Scott Redman  <redman@scriptics.com>
7662
7663	* win/tkWinWm.c: Properly initialize the tsdPtr->firstWindow field.
7664
7665	* win/cat.c: Code for cat32.exe, copied from the Tcl sources. Required
7666	in order to run the test suite from the makefile
7667
7668	* win/winMain.c: Add main() for a console-based wishc.exe, which meant
7669	adding code to disable the call to Tk_ConsoleInit().
7670
7671	* generic/tkConsole.c: Check the standard handles before creating the
7672	new standard channels.	This allows a windows app that has stdin,
7673	stdout, or stderr to correctly connect to them.
7674
7675	* generic/tkMain.c: Add a proper check for the interactive mode, since
7676	the standard channels may actually be connected in windows mode or
7677	even in the console-based wish.
7678
7679	* win/makefile.vc: Add targets for wishc.exe (console-based wish) and
7680	cat32.exe (for testing). Fix the test suite target so it can be run
7681	from the makefile (which can happen since the standard handles have
7682	been fixed).
7683
76841999-02-12  Lee Bernhard  <lfb@scriptics.com>
7685
7686	* generic/tkMenuButton.h:
7687	* generic/tkMenuButton.c:
7688	* mac/tkMacMenubutton.c:
7689	* mac/tkMacDefault.h
7690	* unix/tkUnixMenubu.c: Eliminated Tk_Uids used by -state option.
7691	* unix/tkUnixDefault.h
7692	* win/tkWinDefault.h
7693
7694	* generic/tk.h:
7695	* generic/tkScale.h:
7696	* generic/tkScale.c:
7697	* generic/tkWindow.c:
7698	* unix/tkUnixScale.c:
7699	* unix/tkUnixDefault.h:
7700	* unix/tkWinDefault.h:
7701	* mac/tkMacDefault.h:  Objectified scale widget.
7702
7703	* win/tkWinX.c: Removed Thread-specific data from process
7704	initialization code that was stopping the Tk Dll from
7705	loading.
7706
77071999-02-11  Scott Stanton  <stanton@GASPODE>
7708
7709	* README:
7710	* generic/tk.h:
7711	* unix/configure.in:
7712	* win/README:
7713	* win/makefile.bc:
7714	* win/makefile.vc: Updated version to 8.1b2.
7715
7716	* unix/tkUnixSend.c: Fixed one more Tcl_*ObjVar instance.
7717
77181999-02-04  Scott Stanton  <stanton@GASPODE>
7719
7720	* Various cleanup related to the Tcl_Eval and Tcl_ObjSetVar
7721	changes in Tcl.
7722
7723	INTEGRATED PATCHES FROM 8.0.5b2:
7724
7725	* win/tkWinMenu.c (TkpDestroyMenu): Changed so modalMenuPtr is
7726	cleared when it is being destroyed.
7727
7728	* generic/tkImgPhoto.c: Changed so color tables are freed
7729	immediately instead of being delayed.  This ensures that color
7730	tables are properly disposed at process exit.
7731
7732	* library/prolog.ps: Changed string that determines font height to
7733	include European character with an umlaut.
7734
7735	* generic/tkImgBmap.c (ImgBmapConfigureInstance): If an image
7736	mask changed but ended up with the same XID, the GC failed to be
7737	updated and so the new mask was not used. [Bug: 970]
7738
7739	* generic/tkFocus.c (SetFocus): Changed so focus window is always
7740	set if -force is specified.  This fixes the problem on Windows
7741	where Tk does not activate the window if it already has focus.
7742
7743	* generic/tkConsole.c: Fixed so errors in console eval are
7744	reported properly.  Eliminated duplicate result messages. [Bug: 973]
7745
7746	* win/tkWinWm.c: Changed so windows that aren't resizable don't
7747	have resize handles and the zoom box is disabled.
7748
7749	* win/tkWinInt.h:
7750	* win/tkWinPointer.c: Changed to cancel the mouse timer when a
7751	user initiated move/resize loop begins.
7752
7753	* unix/configure.in: TK_LD_SEARCH_FLAGS was set incorrectly if
7754	SHLIB_LD_LIBS='${LIBS}', and shared linking is performed through
7755	the C compiler. Systems affected are Linux, MP-RAS and NEXTSTEP,
7756	but also with gcc on many more systems. [Bug: 908]
7757
7758	* win/makefile.vc: First stab at install target.  Fixed quoting so
7759	paths with spaces work.
7760
7761	* tests/main.test:
7762	* tests/unixWm.test: Better cleanup of temporary files.
7763
7764	* mac/tkMacAppInit.c:
7765	* generic/tkTest.c:
7766	* generic/tkAppInit.c:
7767	* win/winMain.c: Changed some EXTERN declarations to extern
7768	since they are not defining exported interfaces.  This avoids
7769	generating useless declspec() attributes and makes the windows
7770	makefile simpler.
7771
7772	* library/menu.tcl (tkMenuFind): Changed so keyboard shortcuts
7773	will only be found in the current toplevel.  Previously, they
7774	might be found in menus attached to other toplevels that might not
7775	even be mapped. [Bug: 924]
7776
7777	* generic/tkCanvLine.c: Changed to treat zero width lines like
7778	they have width 1 for purposes of selection. [Bug: 925]
7779
7780	* win/tkWinFont.c (Tk_MeasureChars): Added a workaround for a bug
7781	in GetTextExtentExPoint on Win NT 4.0/Japanese. [Bug: 1006]
7782
7783	* unix/tkUnixSend.c (Tk_SetAppName): Fixed uninitialized memory
7784	access bug. [Bug: 919]
7785
77861999-1-28  Scott Stanton  <stanton@GASPODE>
7787
7788	* generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancel
7789	pending idle handlers, resulting in a crash in a few odd cases.
7790
77911999-01-06  Lee Bernhard  <lfb@JUSTICE>
7792
7793	* generic/tk.h, generic/tkGet.c, generic/tkConfig.c,
7794	* generic/tkOldConfig.c, generic/tkEntry.c, generic/tkMenubutton.c,
7795	* generic/tkMenubutton.h, generic/tkScale.c, generic/tkScale.h,
7796	* generic/tkTextDisplay.c, generic/tkText.c, unix/tkUnixMenubu.c,
7797	* unix/tkUnixScale.c, mac/tkMacMenu.c, mac/tkMacMenubutton.c,
7798
7799	Removed global Tk_Uids dealing with "-state" configuration option
7800	and added new TK_CONFIG_STATE configSpec that doesn't use
7801	Tk_Uids.
7802
78031998-12-11    === Tk 8.1b1 Release ===
7804
78051998-12-11  Scott Stanton  <stanton@GASPODE>
7806
7807	* generic/tkMain.c (Tk_Main): Fixed improper command line encoding
7808	handling.
7809
78101998-12-08  Scott Stanton  <stanton@GASPODE>
7811
7812	* win/tkWinClipboard.c (TkSelGetSelection, TkWinClipboardRender):
7813	Changed to handle multibyte characters properly. [Bug: 935]
7814
78151998-12-07  Scott Stanton  <stanton@GASPODE>
7816
7817	* library/xmfbox.tcl (tkMotifFDialog_Create): In the cached case,
7818	the data array was not being initialized with the correct set of
7819	widgets.
7820
78211998-12-4  Brent Welch  <welch@SAGE>
7822
7823	* Changed patchLevel to 8.1b1
7824
7825	* generic/tkMenu.c (ConfigureMenuCloneEntries): The -menu configuration
7826	option was being incorrectly specified as just "menu".
7827
78281998-11-30  Scott Stanton  <stanton@GASPODE>
7829
7830	* generic/tkButton.c (ConfigureButton): The error result was
7831	getting lost when restoring configuration options. [Bug: 619]
7832
78331998-11-25  Scott Stanton  <stanton@GASPODE>
7834
7835	* unix/tkUnixFont.c (GetFontAttributes): Initialize an unspecified
7836	family to an empty string.
7837	(FontMapLoadPage): if the font included characters below 32, the
7838	index computation was incorrect because the range was shifted up
7839	to 32.
7840	(CreateClosestFont): check for empty locale as well as NULL.
7841
7842	* generic/tkFont.c (TkFontParseXLFD): initialize charset to
7843	iso8859-1 if no charset is specified.
7844
7845	* mac/tkMacHLEvents.c (OdocHandler): added conversion from
7846	external string to UTF [Bug: 869]
7847
7848	* integrated tk8.0.4 changes.
7849
7850	* generic/tkBind.c: fixed deletion order bug where a crash would
7851	result if a binding deleted "."
7852
7853	* generic/tkMenu.c (MenuWidgetObjCmd): disabled menu entries were
7854	getting reenabled whenever the mouse passed over the entry [Bug: 860]
7855
7856	* unix/tkUnixMenu.c (TkpComputeStandardMenuGeometry): hidemargin
7857	option was not honored properly in menus [Bug: 859]
7858
78591998-11-24  Scott Stanton  <stanton@GASPODE>
7860
7861	* tkMacMenu.c, tkUnixMenu.c, tkWinMenu.c, tkMenuDraw.c, tkMenu.h,
7862	* tkMenu.c: Backed out the previous fix for bug 620 and
7863	eliminated a bunch of code that created unnecessary objects.
7864	Changed back to using internal types instead of objects for many
7865	configuration options.	There are many more fixes like this that
7866	could be made, but some require a little restructuring of the
7867	code. In any case the leaks are fixed and there is a lot less
7868	allocation happening. [Bug: 620]
7869
78701998-11-19  Scott Stanton  <stanton@GASPODE>
7871
7872	* tkMenu.c (DestroyMenuEntry): fixed memory leaks [Bug: 620]
7873
7874	* tkWinX.c (GetTranslatedKey): fixed bad code merge
7875
7876	* tkWinWm.c, tkWinMenu.c: fixed titles and menus so they properly
7877	display Unicode [Bug: 819]
7878